/**
 * @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 "../cluster-selector/style.scss.shim.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "../../internals/namespace-list/component.ngfactory";
import * as i3 from "../../internals/namespace-list/component";
import * as i4 from "../../../../common-layout/context.service";
import * as i5 from "../../../../api/k8s-api.service";
import * as i6 from "../../context.service";
import * as i7 from "../../../../utils/k8s-util.service";
import * as i8 from "@angular/common";
import * as i9 from "../../../../translate/translate.pipe";
import * as i10 from "../../../../translate/translate.service";
import * as i11 from "../../../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i12 from "@alauda/ui";
import * as i13 from "./component";
import * as i14 from "../../internals/selector-popup/service";
var styles_NamespaceSelectorComponent = [i0.styles];
var RenderType_NamespaceSelectorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NamespaceSelectorComponent, data: {} });
export { RenderType_NamespaceSelectorComponent as RenderType_NamespaceSelectorComponent };
function View_NamespaceSelectorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-namespace-list", [], null, [[null, "selectItem"], [null, "clusterChange"], [null, "projectChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("selectItem" === en)) {
        var pd_0 = (_co.onSelect($event) !== false);
        ad = (pd_0 && ad);
    } if (("clusterChange" === en)) {
        var pd_1 = (_co.clusterChange.emit($event) !== false);
        ad = (pd_1 && ad);
    } if (("projectChange" === en)) {
        var pd_2 = (_co.projectChange.emit($event) !== false);
        ad = (pd_2 && ad);
    } return ad; }, i2.View_NamespaceListComponent_0, i2.RenderType_NamespaceListComponent)), i1.ɵdid(1, 245760, null, 0, i3.NamespaceListComponent, [i4.CommonLayoutContextService, i5.K8sApiService, i6.ResourceSelectContextService, i1.ChangeDetectorRef, i7.K8sUtilService], { context: [0, "context"], fields: [1, "fields"], disableFn: [2, "disableFn"], gridDisableFn: [3, "gridDisableFn"], value: [4, "value"] }, { selectItem: "selectItem", clusterChange: "clusterChange", projectChange: "projectChange" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = "popup"; var currVal_1 = (_co.fields || _co.displayFields); var currVal_2 = _co.disableFn; var currVal_3 = _co.gridDisableFn; var currVal_4 = _co.value; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }
export function View_NamespaceSelectorComponent_0(_l) { return i1.ɵvid(2, [i1.ɵqud(402653184, 1, { popupTemplate: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 25, "div", [["class", "acl-resource-selector"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.openPopup() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i1.ɵdid(2, 278528, null, 0, i8.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpod(3, { "acl-resource-selector--actived": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 7, "div", [["class", "acl-resource-selector__item project"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, "span", [["class", "icon-wrapper"], ["fxLayout", "row"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, "img", [["alt", ""]], [[8, "src", 4]], null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, "span", [["class", "with-colon"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [" ", " "])), i1.ɵpid(131072, i9.TranslatePipe, [i1.ChangeDetectorRef, i10.TranslateService]), (_l()(), i1.ɵeld(10, 0, null, null, 1, "span", [["class", "selected-name text-truncate"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, ["", ""])), (_l()(), i1.ɵeld(12, 0, null, null, 11, "div", [["class", "acl-resource-selector__item namespace"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, "span", [["class", "icon-wrapper"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, "img", [["alt", ""]], [[8, "src", 4]], null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, "span", [["class", "with-colon"]], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [" ", " "])), i1.ɵpid(131072, i9.TranslatePipe, [i1.ChangeDetectorRef, i10.TranslateService]), (_l()(), i1.ɵeld(18, 0, null, null, 5, "span", [["class", "selected-name text-truncate"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, ["", " ("])), (_l()(), i1.ɵeld(20, 0, null, null, 2, "span", [["class", "with-colon"]], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [" ", " "])), i1.ɵpid(131072, i9.TranslatePipe, [i1.ChangeDetectorRef, i10.TranslateService]), (_l()(), i1.ɵted(23, null, ["", ") "])), (_l()(), i1.ɵeld(24, 0, null, null, 2, "div", [["class", "acl-resource-selector__arrow"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, "aui-icon", [["icon", "caret_down_s"]], null, null, null, i11.View_IconComponent_0, i11.RenderType_IconComponent)), i1.ɵdid(26, 49152, null, 0, i12.IconComponent, [i12.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵand(0, [[1, 2], ["popup", 2]], null, 0, null, View_NamespaceSelectorComponent_1))], function (_ck, _v) { var _co = _v.component; var currVal_0 = "acl-resource-selector"; var currVal_1 = _ck(_v, 3, 0, _co.isActived); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_10 = "caret_down_s"; _ck(_v, 26, 0, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = (_co.isActived ? "icons/icon-project-small-white.svg" : "icons/icon-project-small.svg"); _ck(_v, 6, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform("project")); _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.value.project; _ck(_v, 11, 0, currVal_4); var currVal_5 = (_co.isActived ? "icons/icon-namespace-small-white.svg" : "icons/icon-namespace-small.svg"); _ck(_v, 14, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform("namespace")); _ck(_v, 16, 0, currVal_6); var currVal_7 = _co.value.name; _ck(_v, 19, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform("cluster")); _ck(_v, 21, 0, currVal_8); var currVal_9 = _co.value.cluster; _ck(_v, 23, 0, currVal_9); }); }
export function View_NamespaceSelectorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-namespace-selector", [], null, null, null, View_NamespaceSelectorComponent_0, RenderType_NamespaceSelectorComponent)), i1.ɵdid(1, 49152, null, 0, i13.NamespaceSelectorComponent, [i14.ResourceSelectorPopupService, i1.ChangeDetectorRef, i1.ElementRef, i7.K8sUtilService], null, null)], null, null); }
var NamespaceSelectorComponentNgFactory = i1.ɵccf("acl-namespace-selector", i13.NamespaceSelectorComponent, View_NamespaceSelectorComponent_Host_0, { disableFn: "disableFn", value: "value", fields: "fields", gridDisableFn: "gridDisableFn" }, { clusterChange: "clusterChange", projectChange: "projectChange", valueChange: "valueChange" }, []);
export { NamespaceSelectorComponentNgFactory as NamespaceSelectorComponentNgFactory };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FsYXVkYS1jb21tb24tbGliL3NyYy9idXNpbmVzcy9yZXNvdXJjZS1zZWxlY3QvZXhwb3J0cy9uYW1lc3BhY2Utc2VsZWN0b3IvY29tcG9uZW50Lm5nZmFjdG9yeS50cyIsIi4uL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