import { ButtonModule, CheckboxModule, DropdownModule, IconModule, TooltipModule, } from '@alauda/ui';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CoreModule } from '../core/public-api';
import { TranslateModule } from '../translate/public-api';
import { AxisLabelComponent, BarPathComponent, ChartAreaSeriesComponent, ChartBarSeriesComponent, ChartComponent, ChartLegendComponent, ChartLineSeriesComponent, ChartTooltipComponent, RangeAreaComponent, ReferenceAreaComponent, XAxisComponent, XAxisTicksComponent, XPlotLinesComponent, YAxisComponent, YAxisTicksComponent, YPlotLinesComponent, } from './common';
import { DropdownLegendComponent } from './custom-template/dropdown-legend';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../core/directives/resize.directive";
import * as i3 from "../core/directives/e2e-attribute-binding.directive";
import * as i4 from "@alauda/ui";
import * as i5 from "../scm/pure-pipe/pure.pipe";
import * as i6 from "../translate/translate.pipe";
import * as i7 from "@angular/forms";
const AUI_MODULES = [
    TranslateModule,
    DropdownModule,
    ButtonModule,
    IconModule,
    CheckboxModule,
    TooltipModule,
];
const EXPORTABLE = [
    ChartComponent,
    YAxisComponent,
    XAxisComponent,
    ChartTooltipComponent,
    ChartLegendComponent,
    BarPathComponent,
    XPlotLinesComponent,
    YPlotLinesComponent,
    RangeAreaComponent,
    ReferenceAreaComponent,
    ChartLineSeriesComponent,
    ChartAreaSeriesComponent,
    ChartBarSeriesComponent,
];
export class ChartModule {
}
ChartModule.ɵfac = function ChartModule_Factory(t) { return new (t || ChartModule)(); };
ChartModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ChartModule });
ChartModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, CoreModule, AUI_MODULES] });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChartModule, [{
        type: NgModule,
        args: [{
                imports: [CommonModule, FormsModule, CoreModule, ...AUI_MODULES],
                declarations: [
                    ...EXPORTABLE,
                    YAxisTicksComponent,
                    XAxisTicksComponent,
                    AxisLabelComponent,
                    DropdownLegendComponent,
                ],
                exports: EXPORTABLE,
            }]
    }], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ChartModule, { declarations: [ChartComponent,
        YAxisComponent,
        XAxisComponent,
        ChartTooltipComponent,
        ChartLegendComponent,
        BarPathComponent,
        XPlotLinesComponent,
        YPlotLinesComponent,
        RangeAreaComponent,
        ReferenceAreaComponent,
        ChartLineSeriesComponent,
        ChartAreaSeriesComponent,
        ChartBarSeriesComponent, YAxisTicksComponent,
        XAxisTicksComponent,
        AxisLabelComponent,
        DropdownLegendComponent], imports: [CommonModule, FormsModule, CoreModule, TranslateModule,
        DropdownModule,
        ButtonModule,
        IconModule,
        CheckboxModule,
        TooltipModule], exports: [ChartComponent,
        YAxisComponent,
        XAxisComponent,
        ChartTooltipComponent,
        ChartLegendComponent,
        BarPathComponent,
        XPlotLinesComponent,
        YPlotLinesComponent,
        RangeAreaComponent,
        ReferenceAreaComponent,
        ChartLineSeriesComponent,
        ChartAreaSeriesComponent,
        ChartBarSeriesComponent] }); })();
i0.ɵɵsetComponentScope(ChartComponent, [i1.NgIf, i1.NgTemplateOutlet, i2.ResizeDirective, RangeAreaComponent,
    ReferenceAreaComponent], []);
i0.ɵɵsetComponentScope(YAxisComponent, [i1.NgIf, YAxisTicksComponent,
    AxisLabelComponent], [i1.AsyncPipe]);
i0.ɵɵsetComponentScope(XAxisComponent, [i1.NgIf, XAxisTicksComponent,
    AxisLabelComponent], []);
i0.ɵɵsetComponentScope(ChartTooltipComponent, [i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i3.E2eAttributeBindingDirective, i4.TooltipDirective], [i5.PurePipe, i6.TranslatePipe]);
i0.ɵɵsetComponentScope(ChartLegendComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i7.NgControlStatus, i7.NgModel, i3.E2eAttributeBindingDirective, i4.CheckboxComponent, DropdownLegendComponent], [i1.AsyncPipe, i6.TranslatePipe]);
i0.ɵɵsetComponentScope(BarPathComponent, [i1.NgForOf, i1.NgIf], [i1.AsyncPipe, i5.PurePipe]);
i0.ɵɵsetComponentScope(ChartLineSeriesComponent, [i1.NgForOf], [i5.PurePipe]);
i0.ɵɵsetComponentScope(ChartAreaSeriesComponent, [i1.NgForOf], [i5.PurePipe]);
i0.ɵɵsetComponentScope(ChartBarSeriesComponent, [i1.NgForOf, BarPathComponent], [i5.PurePipe]);
i0.ɵɵsetComponentScope(YAxisTicksComponent, [i1.NgForOf, i1.NgIf], [i5.PurePipe]);
i0.ɵɵsetComponentScope(XAxisTicksComponent, [i1.NgForOf, i1.NgIf], [i6.TranslatePipe]);
i0.ɵɵsetComponentScope(DropdownLegendComponent, [i1.NgIf, i1.NgTemplateOutlet, i3.E2eAttributeBindingDirective, i4.ButtonComponent, i4.IconComponent, i4.TooltipDirective, i4.TooltipActiveDirective], [i6.TranslatePipe]);
//# sourceMappingURL=data:application/json;base64, 