嗨森逛PC管理端
high-web/src/app/app-common.module.ts

157 lines
3.7 KiB

4 years ago
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';
// 管道
4 years ago
import {
TimesPipe,
TextareaPipe,
SystemPipe,
CouponStatusPipe,
CouponCodePipe,
AuditTypePipe,
4 years ago
AuditStatusPipe,
PaymodelPipe,
PaytypePipe,
DiscountTypePipe,
OrderCouponStatusPipe,
DiscountStatusPipe,
DisplayAreaPipe,
4 years ago
DiscountCodeStatusPipe,
4 years ago
RechargePricePipe,
4 years ago
RechargeStatusPipe,
4 years ago
ChannelMarkPipe,
TypePipe,
StatusPipe,
RechargePayTypePipe,
RefundSourcePipe,
3 years ago
RefundStatusPipe,
PreOrderStatusPipe,
ButtonPipe,
DiscountPackageStatusPipe,
3 years ago
PriceShowPipe,
3 years ago
ShowTypePipe,
3 years ago
EnergyTypePipe,
CompanyAmountRecordTypePipe,
CompanyAmountRecordSourceTypePipe,
OilCardBindStatusPipe,
OilCardRecordTypePipe,
OilCardRecordSourceTypePipe,
RechargePlatformPipe,
PriceStatusPipe,
GasStaffStatusPipe,
PayStatusPipe,
ChlidRechargeStatusPipe,
SourceTypePipe,
GasClassGroupTaskStatusPipe,
GasOrderStatusPipe,
OrderStatusPipe,
OrderPayTypePipe,
OrderChildGoodsTypePipe,
OrderRefundStatusPipe
4 years ago
} from './pipes';
import {OilCardStatusPipe} from './pipes';
import {OilTypePipe} from './pipes/store/oil-type.pipe';
import {OilPriceTaskStatusPipe} from './pipes/gas-oil-price/oil-price-task-status.pipe';
import {OilPriceTaskExecutionTypePipe} from './pipes/gas-oil-price/oil-price-task-execution-type.pipe';
import {OilPriceTaskPriceTypePipe} from './pipes/gas-oil-price/oil-price-task-price-type.pipe';
import { PlatformPipe } from './pipes/recharge-pipe/platform.pipe';
import { IntegralTypePipe } from './pipes/integral/integral-type.pipe';
import { IntegralProductPipe } from './pipes/integral/integral-product.pipe';
3 years ago
import {OrderOilStatusPipe} from './pipes/order/order-oil-status.pipe';
4 years ago
const PIPES = [
4 years ago
TimesPipe,
TextareaPipe,
SystemPipe,
CouponStatusPipe,
CouponCodePipe,
AuditTypePipe,
AuditStatusPipe,
4 years ago
OrderCouponStatusPipe,
4 years ago
PaymodelPipe,
PaytypePipe,
DiscountTypePipe,
DiscountStatusPipe,
DisplayAreaPipe,
DiscountCodeStatusPipe,
4 years ago
RechargePricePipe,
4 years ago
RechargeStatusPipe,
4 years ago
ChannelMarkPipe,
ChannelMarkPipe,
TypePipe,
StatusPipe,
RechargePayTypePipe,
RefundSourcePipe,
RefundStatusPipe,
PreOrderStatusPipe,
ButtonPipe,
3 years ago
DiscountPackageStatusPipe,
3 years ago
ShowTypePipe,
3 years ago
PriceShowPipe,
3 years ago
EnergyTypePipe,
CompanyAmountRecordTypePipe,
CompanyAmountRecordSourceTypePipe,
3 years ago
OilCardStatusPipe,
3 years ago
OilCardBindStatusPipe,
OilCardRecordTypePipe,
OilCardRecordSourceTypePipe,
3 years ago
GasStaffStatusPipe,
OilTypePipe,
RechargePlatformPipe,
PriceStatusPipe,
3 years ago
OilPriceTaskStatusPipe,
OilPriceTaskExecutionTypePipe,
OilPriceTaskPriceTypePipe,
PayStatusPipe,
ChlidRechargeStatusPipe,
SourceTypePipe,
3 years ago
GasClassGroupTaskStatusPipe,
3 years ago
GasOrderStatusPipe,
PlatformPipe,
3 years ago
OrderOilStatusPipe,
OrderStatusPipe,
OrderPayTypePipe,
OrderChildGoodsTypePipe,
2 years ago
OrderRefundStatusPipe,
4 years ago
];
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
NgZorroAntdModule,
NgxNeditorModule
],
4 years ago
declarations: [
...PIPES,
IntegralTypePipe,
IntegralProductPipe,
4 years ago
],
4 years ago
4 years ago
exports: [
...PIPES,
IntegralTypePipe,
IntegralProductPipe,
4 years ago
],
4 years ago
})
export class AppCommonModule {
static forRoot() {
return {
ngModule: AppCommonModule,
providers: [],
};
}
}