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.
99 lines
2.0 KiB
99 lines
2.0 KiB
import {
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
} from '@angular/forms';
|
|
|
|
import {NgModule} from '@angular/core';
|
|
import {CommonModule} from '@angular/common';
|
|
import {NgZorroAntdModule} from 'ng-zorro-antd';
|
|
import {NgxNeditorModule} from '@notadd/ngx-neditor';
|
|
|
|
// 管道
|
|
import {
|
|
TimesPipe,
|
|
TextareaPipe,
|
|
SystemPipe,
|
|
CouponStatusPipe,
|
|
CouponCodePipe,
|
|
AuditTypePipe,
|
|
AuditStatusPipe,
|
|
PaymodelPipe,
|
|
PaytypePipe,
|
|
DiscountTypePipe,
|
|
OrderCouponStatusPipe,
|
|
DiscountStatusPipe,
|
|
DisplayAreaPipe,
|
|
DiscountCodeStatusPipe,
|
|
RechargePricePipe,
|
|
RechargeStatusPipe,
|
|
ChannelMarkPipe,
|
|
TypePipe,
|
|
StatusPipe,
|
|
RechargePayTypePipe,
|
|
RefundSourcePipe,
|
|
RefundStatusPipe
|
|
} from './pipes';
|
|
import { PreOrderStatusPipe } from './pipes/order/pre-order-status.pipe';
|
|
import { ButtonPipe } from './pipes/commons/button.pipe';
|
|
import { DiscountPackageStatusPipe } from './pipes/discount-package-status.pipe';
|
|
import { ShowTypePipe } from './pipes/show-type.pipe';
|
|
|
|
|
|
|
|
const PIPES = [
|
|
TimesPipe,
|
|
TextareaPipe,
|
|
SystemPipe,
|
|
CouponStatusPipe,
|
|
CouponCodePipe,
|
|
AuditTypePipe,
|
|
AuditStatusPipe,
|
|
OrderCouponStatusPipe,
|
|
PaymodelPipe,
|
|
PaytypePipe,
|
|
DiscountTypePipe,
|
|
DiscountStatusPipe,
|
|
DisplayAreaPipe,
|
|
DiscountCodeStatusPipe,
|
|
RechargePricePipe,
|
|
RechargeStatusPipe,
|
|
ChannelMarkPipe,
|
|
ChannelMarkPipe,
|
|
TypePipe,
|
|
StatusPipe,
|
|
RechargePayTypePipe,
|
|
RefundSourcePipe,
|
|
RefundStatusPipe,
|
|
PreOrderStatusPipe,
|
|
ButtonPipe,
|
|
DiscountPackageStatusPipe,
|
|
ShowTypePipe,
|
|
];
|
|
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
NgZorroAntdModule,
|
|
NgxNeditorModule
|
|
],
|
|
declarations: [
|
|
...PIPES,
|
|
|
|
],
|
|
|
|
exports: [
|
|
...PIPES,
|
|
],
|
|
})
|
|
|
|
export class AppCommonModule {
|
|
static forRoot() {
|
|
return {
|
|
ngModule: AppCommonModule,
|
|
providers: [],
|
|
};
|
|
}
|
|
}
|
|
|