/**
 * @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 "../../../../translate/translate.pipe";
import * as i3 from "../../../../translate/translate.service";
import * as i4 from "@angular/common";
import * as i5 from "../../internals/namespace-list/component.ngfactory";
import * as i6 from "../../internals/namespace-list/component";
import * as i7 from "../../../../common-layout/context.service";
import * as i8 from "../../../../api/k8s-api.service";
import * as i9 from "../../context.service";
import * as i10 from "../../../../utils/k8s-util.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_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["("])), (_l()(), i1.ɵeld(2, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, ["Istio ", ""])), (_l()(), i1.ɵted(-1, null, [")"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value.istioVersion; _ck(_v, 3, 0, currVal_0); }); }
function View_NamespaceSelectorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, "div", [["class", "acl-resource-selector__item namespace"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "span", [["class", "icon-wrapper"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, "img", [["alt", "serviceMesh"]], [[8, "src", 4]], null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, "span", [["class", "with-colon"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [" ", " "])), i1.ɵpid(131072, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.TranslateService]), (_l()(), i1.ɵeld(6, 0, null, null, 3, "span", [["class", "selected-name text-truncate"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, ["", " "])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NamespaceSelectorComponent_2)), i1.ɵdid(9, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.value.istioVersion; _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.isActived ? "icons/icon-servicemesh-small-white.svg" : "icons/icon-servicemesh-small.svg"); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform("service_mesh")); _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.value.servicemesh; _ck(_v, 7, 0, currVal_2); }); }
function View_NamespaceSelectorComponent_3(_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; }, i5.View_NamespaceListComponent_0, i5.RenderType_NamespaceListComponent)), i1.ɵdid(1, 245760, null, 0, i6.NamespaceListComponent, [i7.CommonLayoutContextService, i8.K8sApiService, i9.ResourceSelectContextService, i1.ChangeDetectorRef, i10.K8sUtilService], { context: [0, "context"], fields: [1, "fields"], disableFn: [2, "disableFn"], gridDisableFn: [3, "gridDisableFn"], value: [4, "value"], displayServiceMesh: [5, "displayServiceMesh"] }, { 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; var currVal_5 = _co.displayServiceMesh; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }, null); }
export function View_NamespaceSelectorComponent_0(_l) { return i1.ɵvid(2, [i1.ɵqud(402653184, 1, { popupTemplate: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 27, "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, i4.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", "project"]], [[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, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.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", "namespace"]], [[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, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.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, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.TranslateService]), (_l()(), i1.ɵted(23, null, ["", ") "])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NamespaceSelectorComponent_1)), i1.ɵdid(25, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(26, 0, null, null, 2, "div", [["class", "acl-resource-selector__arrow"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 1, "aui-icon", [["icon", "caret_down_s"]], null, null, null, i11.View_IconComponent_0, i11.RenderType_IconComponent)), i1.ɵdid(28, 49152, null, 0, i12.IconComponent, [i12.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵand(0, [[1, 2], ["popup", 2]], null, 0, null, View_NamespaceSelectorComponent_3))], 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 = _co.displayServiceMesh; _ck(_v, 25, 0, currVal_10); var currVal_11 = "caret_down_s"; _ck(_v, 28, 0, currVal_11); }, 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, i10.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", displayServiceMesh: "displayServiceMesh" }, { clusterChange: "clusterChange", projectChange: "projectChange", valueChange: "valueChange" }, []);
export { NamespaceSelectorComponentNgFactory as NamespaceSelectorComponentNgFactory };
//# sourceMappingURL=data:application/json;base64, 