/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
 * tslint:disable
 */
import * as i0 from "./legend.component.scss.shim.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "@angular/common";
import * as i3 from "../../custom-template/dropdown-legend.ngfactory";
import * as i4 from "../../custom-template/dropdown-legend";
import * as i5 from "../../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i6 from "@alauda/ui";
import * as i7 from "@angular/cdk/a11y";
import * as i8 from "@angular/forms";
import * as i9 from "../../../translate/translate.pipe";
import * as i10 from "../../../translate/translate.service";
import * as i11 from "./legend.component";
import * as i12 from "../../chart.service";
var styles_ChartLegendComponent = [i0.styles];
var RenderType_ChartLegendComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ChartLegendComponent, data: {} });
export { RenderType_ChartLegendComponent as RenderType_ChartLegendComponent };
function View_ChartLegendComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "operation"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, null, null, null, null, null, null, null)), i1.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.leftOperation; _ck(_v, 2, 0, currVal_0); }, null); }
function View_ChartLegendComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, null, null, null, null, null, null, null)), i1.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v.parent.parent, 6); _ck(_v, 2, 0, currVal_0); }, null); }
function View_ChartLegendComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 2, null, null, null, null, null, null, null)), i1.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), i1.ɵpod(3, { context: 0 }), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.legendEntries); var currVal_1 = _co.template; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
function View_ChartLegendComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "acl-dropdown-legend", [["class", "legend-vertical"]], null, null, null, i3.View_DropdownLegendComponent_0, i3.RenderType_DropdownLegendComponent)), i1.ɵdid(1, 49152, null, 0, i4.DropdownLegendComponent, [], { data: [0, "data"], legendTemplate: [1, "legendTemplate"], noData: [2, "noData"], isCard: [3, "isCard"] }, null), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.legendEntries; var currVal_1 = i1.ɵnov(_v.parent.parent.parent.parent, 6); var currVal_2 = i1.ɵunv(_v, 1, 2, i1.ɵnov(_v, 2).transform(_co.context.noData$)); var currVal_3 = (_co.mode === "card"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }
function View_ChartLegendComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), i1.ɵdid(1, 16384, null, 0, i2.NgSwitch, [], { ngSwitch: [0, "ngSwitch"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_7)), i1.ɵdid(3, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, [2, i2.NgSwitch]], { ngSwitchCase: [0, "ngSwitchCase"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.template; _ck(_v, 1, 0, currVal_0); var currVal_1 = "dropdown"; _ck(_v, 3, 0, currVal_1); }, null); }
function View_ChartLegendComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_5)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), (_l()(), i1.ɵand(0, [["builtinTemplate", 2]], null, 0, null, View_ChartLegendComponent_6))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isTemplateRef(_co.template); var currVal_1 = i1.ɵnov(_v, 2); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
function View_ChartLegendComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, "div", [["class", "legend-wrap"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_3)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), (_l()(), i1.ɵand(0, [["custom", 2]], null, 0, null, View_ChartLegendComponent_4))], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.template; var currVal_1 = i1.ɵnov(_v, 3); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
function View_ChartLegendComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "operation"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, null, null, null, null, null, null, null)), i1.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.rightOperation; _ck(_v, 2, 0, currVal_0); }, null); }
function View_ChartLegendComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, "li", [["class", "select-all"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, "aui-checkbox", [], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ngModelChange" === en)) {
        var pd_0 = ((_co.allSelected = $event) !== false);
        ad = (pd_0 && ad);
    } if (("ngModelChange" === en)) {
        var pd_1 = (_co.allSelect($event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, i5.View_CheckboxComponent_0, i5.RenderType_CheckboxComponent)), i1.ɵdid(2, 4374528, null, 0, i6.CheckboxComponent, [i1.ChangeDetectorRef, [2, i6.CheckboxGroupComponent], i7.FocusMonitor], null, null), i1.ɵprd(1024, null, i8.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.CheckboxComponent]), i1.ɵdid(4, 671744, null, 0, i8.NgModel, [[8, null], [8, null], [8, null], [6, i8.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i8.NgControl, null, [i8.NgModel]), i1.ɵdid(6, 16384, null, 0, i8.NgControlStatus, [[4, i8.NgControl]], null, null), (_l()(), i1.ɵted(7, 0, [" ", " "])), i1.ɵpid(131072, i9.TranslatePipe, [i1.ChangeDetectorRef, i10.TranslateService])], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.allSelected; _ck(_v, 4, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 6).is("untouched"); var currVal_1 = i1.ɵnov(_v, 6).is("touched"); var currVal_2 = i1.ɵnov(_v, 6).is("pristine"); var currVal_3 = i1.ɵnov(_v, 6).is("dirty"); var currVal_4 = i1.ɵnov(_v, 6).is("valid"); var currVal_5 = i1.ɵnov(_v, 6).is("invalid"); var currVal_6 = i1.ɵnov(_v, 6).is("pending"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = (_co.selectAllName || i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform("select_all"))); _ck(_v, 7, 0, currVal_8); }); }
function View_ChartLegendComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, "li", [["class", "legend-label"]], [[2, "disable", null], [2, "forbid", null], [2, "hover", null]], [[null, "click"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.selected(_v.context.$implicit) !== false);
        ad = (pd_0 && ad);
    } if (("mouseenter" === en)) {
        var pd_1 = (_co.mouseenter(_v.context.$implicit) !== false);
        ad = (pd_1 && ad);
    } if (("mouseleave" === en)) {
        var pd_2 = (_co.mouseleave(_v.context.$implicit) !== false);
        ad = (pd_2 && ad);
    } return ad; }, null, null)), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 2, "span", [], [[4, "background", null]], null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, "ngClass"] }, null), i1.ɵpad(5, 2), (_l()(), i1.ɵeld(6, 0, null, null, 2, "span", [["class", "label-name"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, ["", ""])), i1.ɵpid(131072, i9.TranslatePipe, [i1.ChangeDetectorRef, i10.TranslateService])], function (_ck, _v) { var _co = _v.component; var currVal_4 = _ck(_v, 5, 0, _co.symbolName, "label-symbol"); _ck(_v, 4, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (!_v.context.$implicit.activate || i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.context.noData$))); var currVal_1 = i1.ɵunv(_v, 0, 1, i1.ɵnov(_v, 2).transform(_co.context.noData$)); var currVal_2 = (_v.context.$implicit.activate && _v.context.$implicit.hover); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _v.context.$implicit.color; _ck(_v, 3, 0, currVal_3); var currVal_5 = (_co.translation ? i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(_v.context.$implicit.name, i1.ɵEMPTY_MAP, true)) : _v.context.$implicit.name); _ck(_v, 7, 0, currVal_5); }); }
function View_ChartLegendComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, "ul", [["class", "legend-labels"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_ChartLegendComponent_10)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_11)), i1.ɵdid(5, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((!i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.context.noData$)) && _co.selectAllOperation) && (_co.template === "dropdown")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.legendEntries; _ck(_v, 5, 0, currVal_1); }, null); }
export function View_ChartLegendComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_2)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ChartLegendComponent_8)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(0, [["legendTemplate", 2]], null, 0, null, View_ChartLegendComponent_9))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isTemplateRef(_co.leftOperation); _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.hideLegend; _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.isTemplateRef(_co.rightOperation); _ck(_v, 5, 0, currVal_2); }, null); }
export function View_ChartLegendComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-legend", [], null, null, null, View_ChartLegendComponent_0, RenderType_ChartLegendComponent)), i1.ɵdid(1, 114688, null, 0, i11.ChartLegendComponent, [i12.ContextChartService, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var ChartLegendComponentNgFactory = i1.ɵccf("acl-legend", i11.ChartLegendComponent, View_ChartLegendComponent_Host_0, { symbol: "symbol", template: "template", mode: "mode", translation: "translation", leftOperation: "leftOperation", rightOperation: "rightOperation", hideLegend: "hideLegend", selectAllOperation: "selectAllOperation", selectAllName: "selectAllName" }, { labelClick: "labelClick", labelActivate: "labelActivate", labelDeactivate: "labelDeactivate" }, []);
export { ChartLegendComponentNgFactory as ChartLegendComponentNgFactory };
//# sourceMappingURL=data:application/json;base64, 