Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
bootstrap: [
RootCmp
],
declarations: [
RootCmp
],
imports: [
/* Ng Modules */
BrowserModule,
CommonModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule, //angular5
HttpModule, //Angular2
JsonpModule,
NgbTypeaheadModule.forRoot(),
UpgradeModule,
/* User Generated Modules */
AccountSettingsNg2Module,
AdminActionsNg2Module,
AffiliationNg2Module,//Aproved
AffiliationDeleteNg2Module,//Aproved
AffiliationFormNg2Module,//Aproved
AlertBannerNg2Module,
AllConsortiumContactsNg2Module,
AuthorizeDelegateResultNg2Module,
BiographyNg2Module, //Approved
ClaimNg2Module,
ClientEditNg2Module,
DelegatorsNg2Module,
EmailsFormNg2Module,//Aproved
EmailsNg2Module,//Aproved
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
BrowserModule,
DynamicFormsCoreModule,
DynamicFormsNGBootstrapUIModule,
FormsModule,
ReactiveFormsModule,
NgbButtonsModule,
NgbModule.forRoot(),
NgbDatepickerModule.forRoot(),
NgbTimepickerModule.forRoot(),
NgbTypeaheadModule.forRoot(),
TextMaskModule,
DynamicFormsCoreModule.forRoot(),
InfiniteScrollModule
],
declarations: [
DsDynamicScrollableDropdownComponent,
DsDynamicTypeaheadComponent,
DsDynamicFormComponent,
DsDynamicFormControlComponent
]
}).compileComponents().then(() => {
fixture = TestBed.createComponent(DsDynamicFormControlComponent);
component = fixture.componentInstance;
} from './builder/ds-dynamic-form-ui/ds-dynamic-form.component';
import { DsDynamicTypeaheadComponent } from './builder/model/typeahead/dynamic-typeahead.component';
import { DsDynamicScrollableDropdownComponent } from './builder/model/scrollable-dropdown/dynamic-scrollable-dropdown.component';
import { FormService } from './form.service';
import { FormBuilderService } from './builder/form-builder.service';
@NgModule({
imports: [
BrowserModule,
FormsModule,
InfiniteScrollModule,
ReactiveFormsModule,
NgbModule.forRoot(),
NgbDatepickerModule.forRoot(),
NgbTimepickerModule.forRoot(),
NgbTypeaheadModule.forRoot(),
DynamicFormsCoreModule.forRoot(),
DynamicFormsNGBootstrapUIModule,
TextMaskModule
],
declarations: [
DsDynamicFormComponent,
DsDynamicFormControlComponent,
DsDynamicScrollableDropdownComponent,
DsDynamicTypeaheadComponent,
FormComponent,
],
exports: [
DsDynamicFormComponent,
DsDynamicFormControlComponent,
DsDynamicScrollableDropdownComponent,
DsDynamicTypeaheadComponent,