Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
DsDynamicFormComponent
} 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,
export function mockBackendFactory(mockBackend: MockBackend, baseRequestOptions: BaseRequestOptions) {
return new Http(mockBackend, baseRequestOptions);
}
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
ReactiveFormsModule,
AppRoutingModule,
MatNativeDateModule,
MatCardModule,
NgbDatepickerModule.forRoot(),
NgbTimepickerModule.forRoot(),
//BsDatepickerModule.forRoot(),
DynamicFormsCoreModule.forRoot(),
DynamicFormsBasicUIModule,
DynamicFormsBootstrapUIModule,
DynamicFormsFoundationUIModule,
DynamicFormsKendoUIModule,
DynamicFormsMaterialUIModule,
DynamicFormsNGBootstrapUIModule,
DynamicFormsPrimeNGUIModule
],
declarations: [
BasicSampleFormComponent,
BootstrapSampleFormComponent,
FoundationSampleFormComponent,
KendoSampleFormComponent,
MaterialSampleFormComponent,
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);