/**
 * @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 "./component.scss.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "@alauda/ui";
import * as i3 from "@angular/cdk/overlay";
import * as i4 from "../../translate/translate.pipe";
import * as i5 from "../../translate/translate.service";
import * as i6 from "../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i7 from "@angular/common";
import * as i8 from "../../utils/pure.pipe";
import * as i9 from "../../utils/k8s-util.pipe";
import * as i10 from "../../utils/k8s-util.service";
import * as i11 from "./component";
import * as i12 from "../store.service";
var styles_NamespaceSelectComponent = [i0.styles];
var RenderType_NamespaceSelectComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_NamespaceSelectComponent, data: {} });
export { RenderType_NamespaceSelectComponent as RenderType_NamespaceSelectComponent };
function View_NamespaceSelectComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 11, "a", [["auiDropdownActive", "acl-namespace-select--active"], ["href", "javascript:;"]], [[8, "title", 0]], [[null, "auiDropdownShow"], [null, "auiDropdownHide"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("auiDropdownShow" === en)) {
        var pd_0 = (_co.handleMenuOpen() !== false);
        ad = (pd_0 && ad);
    } if (("auiDropdownHide" === en)) {
        var pd_1 = (_co.handleMenuClose() !== false);
        ad = (pd_1 && ad);
    } return ad; }, null, null)), i1.ɵdid(1, 4407296, [[4, 4]], 0, i2.DropdownDirective, [i3.Overlay, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.ChangeDetectorRef, i1.NgZone], { class: [0, "class"], position: [1, "position"], menu: [2, "menu"] }, { show: "auiDropdownShow", hide: "auiDropdownHide" }), i1.ɵprd(2048, null, i2.BaseTooltip, null, [i2.DropdownDirective]), i1.ɵdid(3, 16384, null, 0, i2.DropdownActiveDirective, [i2.BaseTooltip, i1.ElementRef, i1.Renderer2], { customClass: [0, "customClass"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i1.ChangeDetectorRef, i5.TranslateService]), (_l()(), i1.ɵeld(5, 0, null, null, 1, "aui-icon", [["color", "#fff"], ["icon", "basic:namespace_s"], ["size", "16px"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(6, 49152, null, 0, i2.IconComponent, [i2.IconRegisterService], { icon: [0, "icon"], size: [1, "size"], color: [2, "color"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, ["", ""])), (_l()(), i1.ɵeld(10, 0, null, null, 1, "aui-icon", [["icon", "caret_down_s"], ["size", "16px"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(11, 49152, null, 0, i2.IconComponent, [i2.IconRegisterService], { icon: [0, "icon"], size: [1, "size"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_1 = "acl-namespace-select__menu"; var currVal_2 = "bottom start"; var currVal_3 = i1.ɵnov(_v.parent, 13); _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3); var currVal_4 = "acl-namespace-select--active"; _ck(_v, 3, 0, currVal_4); var currVal_5 = "basic:namespace_s"; var currVal_6 = "16px"; var currVal_7 = "#fff"; _ck(_v, 6, 0, currVal_5, currVal_6, currVal_7); var currVal_9 = "caret_down_s"; var currVal_10 = "16px"; _ck(_v, 11, 0, currVal_9, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(2, "", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 4).transform("namespace")), ": ", ((_co.selected == null) ? null : _co.selected.name), ""); _ck(_v, 0, 0, currVal_0); var currVal_8 = (_co.selected ? _co.selected.name : "-"); _ck(_v, 9, 0, currVal_8); }); }
function View_NamespaceSelectComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "span", [["class", "acl-namespace-select__display-name"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [" (", ") "])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent.parent, 1), _v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }
function View_NamespaceSelectComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, [[2, 0]], null, 10, "aui-menu-item", [], [[8, "title", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.onSelect(_v.parent.parent.context.$implicit, _v.context.$implicit) !== false);
        ad = (pd_0 && ad);
    } return ad; }, i6.View_MenuItemComponent_0, i6.RenderType_MenuItemComponent)), i1.ɵdid(1, 49152, [[6, 4]], 0, i2.MenuItemComponent, [], { actived: [0, "actived"] }, null), i1.ɵpod(2, { group: 0, groups: 1, i: 2, j: 3, focusedMenuItemIndex: 4 }), i1.ɵppd(3, 4), i1.ɵppd(4, 1), (_l()(), i1.ɵeld(5, 0, null, 0, 2, "span", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, ["", ""])), i1.ɵppd(7, 1), (_l()(), i1.ɵand(16777216, null, 0, 2, null, View_NamespaceSelectComponent_7)), i1.ɵdid(9, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵppd(10, 1)], function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 1, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.context.$implicit, _co.isActived, _co.selected, _ck(_v, 2, 0, _v.parent.parent.context.$implicit, _v.parent.parent.parent.parent.context.ngIf, _v.parent.parent.context.index, _v.context.index, _co.focusedMenuItemIndex))); _ck(_v, 1, 0, currVal_1); var currVal_3 = i1.ɵunv(_v, 9, 0, _ck(_v, 10, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 1), _v.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, "", i1.ɵunv(_v, 0, 0, _ck(_v, 4, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 2), _v.context.$implicit)), ""); _ck(_v, 0, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 2), _v.context.$implicit)); _ck(_v, 6, 0, currVal_2); }); }
function View_NamespaceSelectComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, "aui-menu-group", [], null, null, null, i6.View_MenuGroupComponent_0, i6.RenderType_MenuGroupComponent)), i1.ɵdid(1, 49152, null, 0, i2.MenuGroupComponent, [], null, null), (_l()(), i1.ɵeld(2, 0, null, 0, 3, "span", [["auiMenuGroupTitle", ""]], [[2, "aui-menu-group__title", null]], null, null, null, null)), i1.ɵdid(3, 16384, null, 0, i2.ɵk, [], null, null), (_l()(), i1.ɵted(4, null, ["", ""])), i1.ɵppd(5, 1), (_l()(), i1.ɵand(16777216, null, 1, 1, null, View_NamespaceSelectComponent_6)), i1.ɵdid(7, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"], ngForTrackBy: [1, "ngForTrackBy"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _v.parent.context.$implicit.namespaces; var currVal_3 = _co.trackFn; _ck(_v, 7, 0, currVal_2, currVal_3); }, function (_ck, _v) { var currVal_0 = true; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.cluster)); _ck(_v, 4, 0, currVal_1); }); }
function View_NamespaceSelectComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NamespaceSelectComponent_5)), i1.ɵdid(2, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.$implicit.namespaces == null) ? null : _v.context.$implicit.namespaces.length); _ck(_v, 2, 0, currVal_0); }, null); }
function View_NamespaceSelectComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "acl-namespace-select__options"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NamespaceSelectComponent_4)), i1.ɵdid(2, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"], ngForTrackBy: [1, "ngForTrackBy"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.parent.context.ngIf; var currVal_1 = _co.groupTrackFn; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
function View_NamespaceSelectComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_NamespaceSelectComponent_3)), i1.ɵdid(2, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), i1.ɵppd(3, 2), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent, 0), _v.context.ngIf, _co.hasResult)); var currVal_1 = i1.ɵnov(_v.parent, 25); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
function View_NamespaceSelectComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, "a", [["href", "javascript:;"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "aui-icon", [["color", "#fff"], ["icon", "basic:namespace_s"], ["size", "16px"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(2, 49152, null, 0, i2.IconComponent, [i2.IconRegisterService], { icon: [0, "icon"], size: [1, "size"], color: [2, "color"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, ["", ""])), i1.ɵpid(131072, i4.TranslatePipe, [i1.ChangeDetectorRef, i5.TranslateService]), (_l()(), i1.ɵeld(6, 0, null, null, 1, "aui-icon", [["color", "#999"], ["icon", "caret_down_s"], ["size", "16px"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(7, 49152, null, 0, i2.IconComponent, [i2.IconRegisterService], { icon: [0, "icon"], size: [1, "size"], color: [2, "color"] }, null)], function (_ck, _v) { var currVal_0 = "basic:namespace_s"; var currVal_1 = "16px"; var currVal_2 = "#fff"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_4 = "caret_down_s"; var currVal_5 = "16px"; var currVal_6 = "#999"; _ck(_v, 7, 0, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_3 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform("no_namespace")); _ck(_v, 4, 0, currVal_3); }); }
function View_NamespaceSelectComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "acl-namespace-select__no-result"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [" ", " "])), i1.ɵpid(131072, i4.TranslatePipe, [i1.ChangeDetectorRef, i5.TranslateService])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform("no_namespace")); _ck(_v, 1, 0, currVal_0); }); }
export function View_NamespaceSelectComponent_0(_l) { return i1.ɵvid(2, [i1.ɵpid(0, i8.PurePipe, []), i1.ɵpid(0, i9.K8sDisplayNamePipe, [i10.K8sUtilService]), i1.ɵpid(0, i9.K8sNamePipe, [i10.K8sUtilService]), i1.ɵqud(671088640, 1, { inputContainer: 0 }), i1.ɵqud(-1476395008, 2, { menuItems: 1 }), i1.ɵqud(671088640, 3, { menuItemsContainer: 0 }), i1.ɵqud(671088640, 4, { dropdown: 0 }), (_l()(), i1.ɵeld(7, 0, null, null, 4, "div", [["class", "acl-namespace-select"]], [[2, "disabled", null]], null, null, null, null)), i1.ɵpid(131072, i7.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_NamespaceSelectComponent_1)), i1.ɵdid(10, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), i1.ɵpid(131072, i7.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 11, "aui-menu", [], null, null, null, i6.View_MenuComponent_0, i6.RenderType_MenuComponent)), i1.ɵdid(13, 49152, [["menu", 4]], 2, i2.MenuComponent, [], null, null), i1.ɵqud(335544320, 5, { lazyContent: 0 }), i1.ɵqud(-1543503872, 6, { menuItems: 1 }), (_l()(), i1.ɵeld(16, 0, null, 0, 4, "div", [["class", "acl-namespace-select__input"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, [[1, 0]], null, 3, "aui-search", [], null, [[null, "keywordChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("keywordChange" === en)) {
        var pd_0 = (_co.keyword$$.next($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, i6.View_SearchComponent_0, i6.RenderType_SearchComponent)), i1.ɵdid(18, 49152, null, 0, i2.SearchComponent, [], { searchButton: [0, "searchButton"], placeholder: [1, "placeholder"], keyword: [2, "keyword"] }, { keywordChange: "keywordChange" }), i1.ɵpid(131072, i4.TranslatePipe, [i1.ChangeDetectorRef, i5.TranslateService]), i1.ɵpid(131072, i7.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, 0, 2, null, View_NamespaceSelectComponent_2)), i1.ɵdid(22, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵpid(131072, i7.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵand(0, [["empty", 2]], null, 0, null, View_NamespaceSelectComponent_8)), (_l()(), i1.ɵand(0, [["noResult", 2]], null, 0, null, View_NamespaceSelectComponent_9))], function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(_co.hasNamespace$)); var currVal_2 = i1.ɵnov(_v, 24); _ck(_v, 10, 0, currVal_1, currVal_2); var currVal_3 = false; var currVal_4 = i1.ɵunv(_v, 18, 1, i1.ɵnov(_v, 19).transform("filter_by_name")); var currVal_5 = i1.ɵunv(_v, 18, 2, i1.ɵnov(_v, 20).transform(_co.keyword$$)); _ck(_v, 18, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(_co.groups$)); _ck(_v, 22, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(_co.hasNamespace$)); _ck(_v, 7, 0, currVal_0); }); }
export function View_NamespaceSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-namespace-select", [], null, null, null, View_NamespaceSelectComponent_0, RenderType_NamespaceSelectComponent)), i1.ɵdid(1, 49152, null, 0, i11.NamespaceSelectComponent, [i12.CommonLayoutStoreService, i10.K8sUtilService, i1.ChangeDetectorRef], null, null)], null, null); }
var NamespaceSelectComponentNgFactory = i1.ɵccf("acl-namespace-select", i11.NamespaceSelectComponent, View_NamespaceSelectComponent_Host_0, { projectName: "projectName", selected: "selected" }, { selectedChange: "selectedChange" }, []);
export { NamespaceSelectComponentNgFactory as NamespaceSelectComponentNgFactory };
//# sourceMappingURL=data:application/json;base64, 