You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
43 lines
1.4 KiB
2 years ago
|
import { RouterModule } from "@angular/router";
|
||
|
import { NgModule } from "@angular/core";
|
||
|
import { CommonModule } from "@angular/common";
|
||
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||
|
import { HttpClientModule } from "@angular/common/http";
|
||
|
import { ngZorroModules } from "./ng-zorro";
|
||
|
// import { AuthorizationLayoutComponent, BgBorderComponent } from "./components";
|
||
|
// import { DecCornerDirective } from "./directives";
|
||
|
import {
|
||
|
// DecModule,
|
||
|
FormErrorTipsComponent,
|
||
|
StorageModule,
|
||
|
TableListModule,
|
||
|
// InputSpaceErrorDirective,
|
||
|
// PublicPathPipe,
|
||
|
// TableListModule,
|
||
|
// StorageModule,
|
||
|
// QuickDateRangeComponent,
|
||
|
} from "@cdk/public-api";
|
||
|
// import { environment } from "@manage/environments/environment";
|
||
|
import { NgxPermissionsModule } from "ngx-permissions";
|
||
2 years ago
|
import { AppPageComponent } from "@cdk/app-page/app-page.component";
|
||
2 years ago
|
|
||
|
const ngModules = [CommonModule, HttpClientModule, FormsModule, RouterModule, ReactiveFormsModule];
|
||
|
const components: any = [];
|
||
|
const directives: any[] = [];
|
||
|
const cdks = [
|
||
|
// DecModule
|
||
|
FormErrorTipsComponent,
|
||
|
// InputSpaceErrorDirective,
|
||
|
// PublicPathPipe,
|
||
|
TableListModule,
|
||
|
StorageModule,
|
||
|
// QuickDateRangeComponent,
|
||
|
] as any;
|
||
|
|
||
|
@NgModule({
|
||
|
declarations: [...components, ...directives],
|
||
2 years ago
|
imports: [...ngZorroModules, ...ngModules, ...cdks, AppPageComponent],
|
||
|
exports: [...ngZorroModules, ...ngModules, ...components, ...directives, ...cdks, AppPageComponent],
|
||
2 years ago
|
})
|
||
|
export class SharedModule {}
|