UNPKG

yoyo-ng-modulewindy

Version:

服务于52ABP模板的前端开源的相关组件内容。整合了ng-alain和你NG ZORRO的内容

30 lines 1.34 kB
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { DelonUtilModule } from 'yoyo-ng-module/util'; import { SimpleTableComponent } from './simple-table.component'; import { SimpleTableRowDirective } from './simple-table-row.directive'; import { AdSimpleTableConfig } from './simple-table.config'; var COMPONENTS = [SimpleTableComponent, SimpleTableRowDirective]; // region: zorro modules import { NgZorroAntdModule } from 'ng-zorro-antd'; var ZORROMODULES = [NgZorroAntdModule]; // endregion var AdSimpleTableModule = /** @class */ (function () { function AdSimpleTableModule() { } AdSimpleTableModule.forRoot = function () { return { ngModule: AdSimpleTableModule, providers: [AdSimpleTableConfig] }; }; AdSimpleTableModule.decorators = [ { type: NgModule, args: [{ schemas: [NO_ERRORS_SCHEMA], imports: [CommonModule, FormsModule, DelonUtilModule].concat(ZORROMODULES), declarations: COMPONENTS.slice(), exports: COMPONENTS.slice(), },] }, ]; return AdSimpleTableModule; }()); export { AdSimpleTableModule }; //# sourceMappingURL=simple-table.module.js.map