/**
 * @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/project-list/component.ngfactory";
import * as i3 from "../../internals/project-list/component";
import * as i4 from "../../../../common-layout/context.service";
import * as i5 from "../../context.service";
import * as i6 from "../../../../utils/k8s-util.service";
import * as i7 from "@angular/common";
import * as i8 from "../../../../translate/translate.pipe";
import * as i9 from "../../../../translate/translate.service";
import * as i10 from "../../../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i11 from "@alauda/ui";
import * as i12 from "./component";
import * as i13 from "../../internals/selector-popup/service";
var styles_ProjectSelectorComponent = [i0.styles];
var RenderType_ProjectSelectorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ProjectSelectorComponent, data: {} });
export { RenderType_ProjectSelectorComponent as RenderType_ProjectSelectorComponent };
function View_ProjectSelectorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-project-list", [], null, [[null, "selectItem"]], 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);
    } return ad; }, i2.View_ProjectListComponent_0, i2.RenderType_ProjectListComponent)), i1.ɵdid(1, 245760, null, 0, i3.ProjectListComponent, [i4.CommonLayoutContextService, i5.ResourceSelectContextService, i1.ChangeDetectorRef, i6.K8sUtilService], { context: [0, "context"], fields: [1, "fields"], value: [2, "value"] }, { selectItem: "selectItem" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = "popup"; var currVal_1 = (_co.fields || _co.displayFields); var currVal_2 = _co.value; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }
export function View_ProjectSelectorComponent_0(_l) { return i1.ɵvid(2, [i1.ɵqud(402653184, 1, { popupTemplate: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 13, "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, i7.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, i8.TranslatePipe, [i1.ChangeDetectorRef, i9.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, 2, "div", [["class", "acl-resource-selector__arrow"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, "aui-icon", [["icon", "caret_down_s"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(14, 49152, null, 0, i11.IconComponent, [i11.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵand(0, [[1, 2], ["popup", 2]], null, 0, null, View_ProjectSelectorComponent_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_5 = "caret_down_s"; _ck(_v, 14, 0, currVal_5); }, 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; _ck(_v, 11, 0, currVal_4); }); }
export function View_ProjectSelectorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-project-selector", [], null, null, null, View_ProjectSelectorComponent_0, RenderType_ProjectSelectorComponent)), i1.ɵdid(1, 49152, null, 0, i12.ProjectSelectorComponent, [i13.ResourceSelectorPopupService, i1.ChangeDetectorRef, i1.ElementRef], null, null)], null, null); }
var ProjectSelectorComponentNgFactory = i1.ɵccf("acl-project-selector", i12.ProjectSelectorComponent, View_ProjectSelectorComponent_Host_0, { value: "value", fields: "fields" }, { valueChange: "valueChange" }, []);
export { ProjectSelectorComponentNgFactory as ProjectSelectorComponentNgFactory };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FsYXVkYS1jb21tb24tbGliL3NyYy9idXNpbmVzcy9yZXNvdXJjZS1zZWxlY3QvZXhwb3J0cy9wcm9qZWN0LXNlbGVjdG9yL2NvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbGF1ZGEtY29tbW9uLWxpYi9zcmMvYnVzaW5lc3MvcmVzb3VyY2Utc2VsZWN0L2V4cG9ydHMvcHJvamVjdC1zZWxlY3Rvci90ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibW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