var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReadTextFieldComponent } from './text/read-text-field.component';
import { PaletteService } from './palette.service';
import { ReadNumberFieldComponent } from './number/read-number-field.component';
import { ReadEmailFieldComponent } from './email/read-email-field.component';
import { ReadPhoneUKFieldComponent } from './phone-uk/read-phone-uk-field.component';
import { ReadDateFieldComponent } from './date/read-date-field.component';
import { FixedListModule } from './fixed-list/fixed-list.module';
import { YesNoModule } from './yes-no/yes-no.module';
import { ComplexModule } from './complex/complex.module';
import { AddressModule } from './address/address.module';
import { BaseFieldModule } from './base-field/base-field.module';
import { WriteTextFieldComponent } from './text/write-text-field.component';
import { ReactiveFormsModule } from '@angular/forms';
import { UnsupportedFieldComponent } from './unsupported-field.component';
import { ReadCollectionFieldComponent } from './collection/read-collection-field.component';
import { PaletteUtilsModule } from './utils/utils.module';
import { WritePhoneUKFieldComponent } from './phone-uk/write-phone-uk-field.component';
import { WriteEmailFieldComponent } from './email/write-email-field.component';
import { WriteCollectionFieldComponent } from './collection/write-collection-field.component';
import { WriteNumberFieldComponent } from './number/write-number-field.component';
import { MoneyGbpModule } from './money-gbp/money-gbp.module';
import { ReadTextAreaFieldComponent } from './text-area/read-text-area-field.component';
import { WriteTextAreaFieldComponent } from './text-area/write-text-area-field.component';
import { MultiSelectListModule } from './multi-select-list/multi-select-list.module';
import { WriteDateFieldComponent } from './date/write-date-field.component';
import { DocumentModule } from './document/document.module';
import { MarkdownModule } from '../markdown/markdown.module';
import { FormValidatorsService } from '../../services/form/form-validators.service';
import { OrderSummaryModule } from './order-summary/order-summary.module';
import { PipesModule } from '../../pipes/pipes.module';
import { BannersModule } from '../../../components/banners/banners.module';
import { HeadersModule } from '../../../headers.module';
import { FootersModule } from '../../../footers.module';
import { BodyModule } from '../../../body.module';
import { FormModule } from '../../../components/form/form.module';
import { TabsModule } from '../../../components/tabs/tabs.module';
import { LabelFieldComponent } from './label';
import { LabelSubstitutorModule } from '../../directives/substitutor';
import { ReadCaseLinkFieldComponent } from './case-link/read-case-link-field.component';
import { WriteCaseLinkFieldComponent } from './case-link/write-case-link-field.component';
import { FixedRadioListModule } from './fixed-radio-list';
import { CaseHistoryViewerModule } from './history';
import { CaseLinkModule } from './case-link/case-link.module';
var PaletteModule = /** @class */ (function () {
    function PaletteModule() {
    }
    PaletteModule = __decorate([
        NgModule({
            imports: [
                CommonModule,
                BaseFieldModule,
                FixedListModule,
                FixedRadioListModule,
                YesNoModule,
                ComplexModule,
                MultiSelectListModule,
                MoneyGbpModule,
                ReactiveFormsModule,
                PaletteUtilsModule,
                DocumentModule,
                AddressModule,
                MarkdownModule,
                OrderSummaryModule,
                CaseHistoryViewerModule,
                PipesModule,
                BannersModule,
                HeadersModule,
                FootersModule,
                BodyModule,
                FormModule,
                TabsModule,
                LabelSubstitutorModule,
                CaseLinkModule
            ],
            declarations: [
                UnsupportedFieldComponent,
                LabelFieldComponent,
                // Read
                ReadTextFieldComponent,
                ReadTextAreaFieldComponent,
                ReadNumberFieldComponent,
                ReadEmailFieldComponent,
                ReadPhoneUKFieldComponent,
                ReadDateFieldComponent,
                ReadCollectionFieldComponent,
                // Write
                WriteCollectionFieldComponent,
                WriteTextFieldComponent,
                WriteTextAreaFieldComponent,
                WritePhoneUKFieldComponent,
                WriteNumberFieldComponent,
                WriteEmailFieldComponent,
                WriteDateFieldComponent
            ],
            entryComponents: [
                UnsupportedFieldComponent,
                LabelFieldComponent,
                // Read
                ReadTextFieldComponent,
                ReadTextAreaFieldComponent,
                ReadNumberFieldComponent,
                ReadEmailFieldComponent,
                ReadPhoneUKFieldComponent,
                ReadDateFieldComponent,
                ReadCollectionFieldComponent,
                ReadCaseLinkFieldComponent,
                // Write
                WriteCollectionFieldComponent,
                WriteTextFieldComponent,
                WriteTextAreaFieldComponent,
                WritePhoneUKFieldComponent,
                WriteNumberFieldComponent,
                WriteEmailFieldComponent,
                WriteDateFieldComponent,
                WriteCaseLinkFieldComponent,
            ],
            exports: [
                BaseFieldModule,
                PaletteUtilsModule,
                UnsupportedFieldComponent,
                LabelFieldComponent,
                // Read
                ReadTextFieldComponent,
                ReadTextAreaFieldComponent,
                ReadNumberFieldComponent,
                ReadEmailFieldComponent,
                ReadPhoneUKFieldComponent,
                ReadDateFieldComponent,
                ReadCollectionFieldComponent,
                // Write
                WriteCollectionFieldComponent,
                WriteTextFieldComponent,
                WriteTextAreaFieldComponent,
                WritePhoneUKFieldComponent,
                WriteNumberFieldComponent,
                WriteEmailFieldComponent,
                WriteDateFieldComponent,
            ],
            providers: [
                PaletteService,
                FormValidatorsService,
            ]
        })
    ], PaletteModule);
    return PaletteModule;
}());
export { PaletteModule };
//# sourceMappingURL=palette.module.js.map