/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 * @packageDocumentation
 * @module common-layout
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
 * tslint:disable
 */
import * as i0 from "./component.scss.shim.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "@angular/common";
import * as i3 from "../../translate/translate.pipe";
import * as i4 from "../../translate/translate.service";
import * as i5 from "../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i6 from "@alauda/ui";
import * as i7 from "../../utils/pure.pipe";
import * as i8 from "@angular/cdk/overlay";
import * as i9 from "./component";
import * as i10 from "../store.service";
import * as i11 from "../../utils/tokens";
import * as i12 from "@angular/router";
import * as i13 from "../../permission/k8s-permission.service";
var styles_ProductSelectComponent = [i0.styles];
var RenderType_ProductSelectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ProductSelectComponent, data: {} });
export { RenderType_ProductSelectComponent as RenderType_ProductSelectComponent };
function View_ProductSelectComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, "div", [["class", "menu__item"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.navigateToProduct(_v.context.$implicit, $event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵppd(2, 3), i1.ɵpod(3, { "menu__item--actived": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 2, "span", [["class", "menu__item-icon"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, "img", [], [[8, "src", 4]], null, null, null, null)), i1.ɵppd(6, 3), (_l()(), i1.ɵeld(7, 0, null, null, 6, "div", [["class", "menu__item-info"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 2, "div", [["class", "display-name"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [" ", " "])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(11, 0, null, null, 2, "div", [["class", "description"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [" ", " "])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(14, 0, null, null, 1, "aui-icon", [["class", "menu__item-selected-icon"], ["icon", "check_triangle_s"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(15, 49152, null, 0, i6.IconComponent, [i6.IconRegisterService], { icon: [0, "icon"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "menu__item"; var currVal_1 = _ck(_v, 3, 0, i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), _v.context.$implicit, _co.isProductActived, _co.current))); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_5 = "check_triangle_s"; _ck(_v, 15, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = (i1.ɵunv(_v, 5, 0, _ck(_v, 6, 0, i1.ɵnov(_v.parent.parent.parent, 0), _v.context.$implicit, _co.isProductActived, _co.current)) ? ((_co.productIconMap[_v.context.$implicit.metadata.name] == null) ? null : _co.productIconMap[_v.context.$implicit.metadata.name].actived) : ((_co.productIconMap[_v.context.$implicit.metadata.name] == null) ? null : _co.productIconMap[_v.context.$implicit.metadata.name].default)); _ck(_v, 5, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(_v.context.$implicit.spec.displayName, i1.ɵEMPTY_MAP, true)); _ck(_v, 9, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(_v.context.$implicit.spec.description, i1.ɵEMPTY_MAP, true)); _ck(_v, 12, 0, currVal_4); }); }
function View_ProductSelectComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, "div", [["class", "menu"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, "div", [["class", "menu__title"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, ["", ""])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(4, 0, null, null, 2, "div", [["class", "menu__list"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProductSelectComponent_3)), i1.ɵdid(6, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"], ngForTrackBy: [1, "ngForTrackBy"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _v.parent.context.ngIf; var currVal_2 = _co.trackFn; _ck(_v, 6, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform("product")); _ck(_v, 2, 0, currVal_0); }); }
function View_ProductSelectComponent_1(_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_ProductSelectComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = _v.context.ngIf.length; _ck(_v, 2, 0, currVal_0); }, null); }
function View_ProductSelectComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, "div", [["class", "menu__item"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.navigateToPlatform(_v.context.$implicit.href, $event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpod(2, { "menu__item--actived": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, "span", [["class", "menu__item-icon"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, "aui-icon", [], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(5, 49152, null, 0, i6.IconComponent, [i6.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 6, "div", [["class", "menu__item-info"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, "div", [["class", "display-name"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, ["", ""])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(10, 0, null, null, 2, "div", [["class", "description"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [" ", " "])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(13, 0, null, null, 1, "aui-icon", [["class", "menu__item-selected-icon"], ["icon", "check_triangle_s"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(14, 49152, null, 0, i6.IconComponent, [i6.IconRegisterService], { icon: [0, "icon"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "menu__item"; var currVal_1 = _ck(_v, 2, 0, _co.isPlatformActive(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit.icon; _ck(_v, 5, 0, currVal_2); var currVal_5 = "check_triangle_s"; _ck(_v, 14, 0, currVal_5); }, function (_ck, _v) { var currVal_3 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_v.context.$implicit.label)); _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(_v.context.$implicit.description)); _ck(_v, 11, 0, currVal_4); }); }
function View_ProductSelectComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, "div", [["class", "menu"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, "div", [["class", "menu__title"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, ["", ""])), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(4, 0, null, null, 2, "div", [["class", "menu__list"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProductSelectComponent_6)), i1.ɵdid(6, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null)], function (_ck, _v) { var currVal_1 = _v.parent.context.ngIf; _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform("platform_center")); _ck(_v, 2, 0, currVal_0); }); }
function View_ProductSelectComponent_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_ProductSelectComponent_5)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = _v.context.ngIf.length; _ck(_v, 2, 0, currVal_0); }, null); }
export function View_ProductSelectComponent_0(_l) { return i1.ɵvid(2, [i1.ɵpid(0, i7.PurePipe, []), (_l()(), i1.ɵeld(1, 16777216, null, null, 14, "button", [["class", "acl-product-select"]], [[8, "disabled", 0], [8, "title", 0]], null, null, null, null)), i1.ɵprd(6144, null, i6.BaseTooltip, null, [i6.DropdownDirective]), i1.ɵdid(3, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), i1.ɵpod(5, { "acl-product-select--disabled": 0 }), i1.ɵdid(6, 4407296, null, 0, i6.DropdownDirective, [i8.Overlay, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.ChangeDetectorRef, i1.NgZone], { class: [0, "class"], position: [1, "position"], menu: [2, "menu"], hideOnClick: [3, "hideOnClick"] }, null), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), (_l()(), i1.ɵeld(10, 16777216, null, null, 5, "aui-icon", [["auiTooltipPosition", "bottom start"], ["icon", "basic:menu_dot_s"], ["size", "16px"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵprd(6144, null, i6.BaseTooltip, null, [i6.TooltipDirective]), i1.ɵdid(12, 49152, null, 0, i6.IconComponent, [i6.IconRegisterService], { icon: [0, "icon"], size: [1, "size"] }, null), i1.ɵdid(13, 4341760, null, 0, i6.TooltipDirective, [i8.Overlay, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.ChangeDetectorRef, i1.NgZone], { content: [0, "content"], position: [1, "position"], disabled: [2, "disabled"] }, null), i1.ɵpid(131072, i3.TranslatePipe, [i1.ChangeDetectorRef, i4.TranslateService]), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(16, 0, null, null, 17, "aui-menu", [], null, null, null, i5.View_MenuComponent_0, i5.RenderType_MenuComponent)), i1.ɵdid(17, 49152, [["menu", 4]], 2, i6.MenuComponent, [], null, null), i1.ɵqud(335544320, 1, { lazyContent: 0 }), i1.ɵqud(-1543503872, 2, { menuItems: 1 }), (_l()(), i1.ɵeld(20, 0, null, 0, 6, "div", [["class", "menus"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_ProductSelectComponent_1)), i1.ɵdid(22, 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, 2, null, View_ProductSelectComponent_4)), i1.ɵdid(25, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵpid(131072, i2.AsyncPipe, [i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(27, 0, null, 0, 6, "div", [["class", "portal"]], null, null, null, null, null)), i1.ɵdid(28, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpod(29, { "portal--active": 0 }), (_l()(), i1.ɵeld(30, 0, null, null, 3, "a", [["href", "javascript:void(0);"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.navigateToPortal($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 1, "aui-icon", [["icon", "basic:home"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(32, 49152, null, 0, i6.IconComponent, [i6.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵted(33, null, [" ", " "]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = "acl-product-select"; var currVal_3 = _ck(_v, 5, 0, i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 4).transform(_co.disabled$))); _ck(_v, 3, 0, currVal_2, currVal_3); var currVal_4 = "acl-product-select__menu"; var currVal_5 = "bottom start"; var currVal_6 = i1.ɵnov(_v, 17); var currVal_7 = true; _ck(_v, 6, 0, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = "basic:menu_dot_s"; var currVal_9 = "16px"; _ck(_v, 12, 0, currVal_8, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform("no_product_and_contact_admin")); var currVal_11 = "bottom start"; var currVal_12 = !i1.ɵunv(_v, 13, 2, i1.ɵnov(_v, 15).transform(_co.disabled$)); _ck(_v, 13, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(_co.products$)); _ck(_v, 22, 0, currVal_13); var currVal_14 = i1.ɵunv(_v, 25, 0, i1.ɵnov(_v, 26).transform(_co.platformMenus$)); _ck(_v, 25, 0, currVal_14); var currVal_15 = "portal"; var currVal_16 = _ck(_v, 29, 0, _co.isPortal); _ck(_v, 28, 0, currVal_15, currVal_16); var currVal_17 = "basic:home"; _ck(_v, 32, 0, currVal_17); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(_co.disabled$)); var currVal_1 = (i1.ɵunv(_v, 1, 1, i1.ɵnov(_v, 8).transform(_co.disabled$)) ? "" : i1.ɵunv(_v, 1, 1, i1.ɵnov(_v, 9).transform("switch_product"))); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_18 = _co.portalMenu.displayName; _ck(_v, 33, 0, currVal_18); }); }
export function View_ProductSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-product-select", [], null, null, null, View_ProductSelectComponent_0, RenderType_ProductSelectComponent)), i1.ɵdid(1, 114688, null, 0, i9.ProductSelectComponent, [i10.CommonLayoutStoreService, i11.ID_TOKEN_KEY, i12.Router, i13.K8sPermissionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var ProductSelectComponentNgFactory = i1.ɵccf("acl-product-select", i9.ProductSelectComponent, View_ProductSelectComponent_Host_0, { platformPath: "platformPath", current: "current" }, {}, []);
export { ProductSelectComponentNgFactory as ProductSelectComponentNgFactory };
//# sourceMappingURL=data:application/json;base64, 