import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MaterialModule } from './modules/material.module'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { FileUploadModule } from '@iplab/ngx-file-upload'; import { FlexLayoutModule } from '@angular/flex-layout'; import { HttpClientModule } from '@angular/common/http'; import { DragDropModule } from '@angular/cdk/drag-drop'; // import { FormMaterialModule } from '@dr-angular/form-material'; import { FormMaterialBuilderComponent } from './form-material-builder.component'; import { ManageControlComponent } from './modals/manage-control/manage-control.component'; import { SaveFormComponent } from './modals/save-form/save-form.component'; import { SetOptionsComponent } from './modals/manage-control/set-options/set-options.component'; import { SetButtonLinkComponent } from './modals/manage-control/set-button-link/set-button-link.component'; import { TableComponent } from './common/table/table.component'; import { ConfirmDialogComponent } from './common/modals/alert/confirm/confirm.component'; import { InfoDialogComponent } from './common/modals/alert/info/info.component'; import { SetExpressionsComponent } from './modals/manage-control/set-expressions/set-expressions.component'; import { SetValidatorsComponent } from './modals/manage-control/set-validators/set-validators.component'; import { SetDisabledHiddenComponent } from './modals/manage-control/set-disabled-hidden/set-disabled-hidden.component'; import './utils/prototypes'; import { FormMaterialModule } from '../../../form-material/src/public-api'; const COMPONENTS = [ FormMaterialBuilderComponent, ManageControlComponent, SaveFormComponent, SetOptionsComponent, SetButtonLinkComponent, TableComponent, ConfirmDialogComponent, InfoDialogComponent, SetExpressionsComponent, SetValidatorsComponent, SetDisabledHiddenComponent ]; @NgModule({ declarations: [...COMPONENTS], imports: [ CommonModule, ReactiveFormsModule, FormsModule, FileUploadModule, FlexLayoutModule, HttpClientModule, DragDropModule, FormMaterialModule, MaterialModule ], exports: [COMPONENTS], entryComponents: [COMPONENTS] }) export class FormMaterialBuilderModule { }