/**
 * @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 "./header-notify.component.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 "../../../../../node_modules/@alauda/ui/alauda-ui.ngfactory";
import * as i5 from "@alauda/ui";
import * as i6 from "@angular/forms";
import * as i7 from "./notification-list/notification-list.component.ngfactory";
import * as i8 from "./notification-list/notification-list.component";
import * as i9 from "../../utils/k8s-util.service";
import * as i10 from "../../drawer/component/helper-directives";
import * as i11 from "../../drawer/component/drawer.component.ngfactory";
import * as i12 from "../../drawer/component/drawer.component";
import * as i13 from "@angular/cdk/overlay";
import * as i14 from "@angular/common";
import * as i15 from "./header-notify.component";
import * as i16 from "../notify.service";
var styles_HeaderNotifyComponent = [i0.styles];
var RenderType_HeaderNotifyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_HeaderNotifyComponent, data: {} });
export { RenderType_HeaderNotifyComponent as RenderType_HeaderNotifyComponent };
function View_HeaderNotifyComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, "div", [["class", "header"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, "span", [["class", "text"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [" ", ""])), i1.ɵpid(131072, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.TranslateService]), (_l()(), i1.ɵeld(4, 0, null, null, 9, "div", [["class", "header_push"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, "span", [["class", "label"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [" ", ""])), i1.ɵpid(131072, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.TranslateService]), (_l()(), i1.ɵeld(8, 0, null, null, 5, "aui-switch", [["name", "push"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ngModelChange" === en)) {
        var pd_0 = (_co.switchPush($event) !== false);
        ad = (pd_0 && ad);
    } if (("ngModelChange" === en)) {
        var pd_1 = ((_co.push = $event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, i4.View_SwitchComponent_0, i4.RenderType_SwitchComponent)), i1.ɵdid(9, 49152, null, 0, i5.SwitchComponent, [i1.ChangeDetectorRef], null, null), i1.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SwitchComponent]), i1.ɵdid(11, 671744, null, 0, i6.NgModel, [[8, null], [8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR]], { name: [0, "name"], model: [1, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i6.NgControl, null, [i6.NgModel]), i1.ɵdid(13, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = "push"; var currVal_10 = _co.push; _ck(_v, 11, 0, currVal_9, currVal_10); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform("message")); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform("notify_push")); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵnov(_v, 13).is("untouched"); var currVal_3 = i1.ɵnov(_v, 13).is("touched"); var currVal_4 = i1.ɵnov(_v, 13).is("pristine"); var currVal_5 = i1.ɵnov(_v, 13).is("dirty"); var currVal_6 = i1.ɵnov(_v, 13).is("valid"); var currVal_7 = i1.ɵnov(_v, 13).is("invalid"); var currVal_8 = i1.ɵnov(_v, 13).is("pending"); _ck(_v, 8, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }
function View_HeaderNotifyComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "acl-notification-list", [], null, null, null, i7.View_NotificationListComponent_0, i7.RenderType_NotificationListComponent)), i1.ɵdid(2, 49152, null, 0, i8.NotificationListComponent, [i9.K8sUtilService], { list: [0, "list"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.list; _ck(_v, 2, 0, currVal_0); }, null); }
function View_HeaderNotifyComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, "div", [["class", "noData"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, "img", [["src", "images/no-message.svg"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, "span", [["class", "noData_text"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [" ", " "])), i1.ɵpid(131072, i2.TranslatePipe, [i1.ChangeDetectorRef, i3.TranslateService])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform("no_message")); _ck(_v, 4, 0, currVal_0); }); }
function View_HeaderNotifyComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(0, [[3, 2]], null, 1, null, View_HeaderNotifyComponent_4)), i1.ɵdid(2, 16384, null, 0, i10.DrawerNoDataDirective, [], null, null)], null, null); }
export function View_HeaderNotifyComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "notify"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.openNotify() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "aui-icon", [["class", "notify__icon"], ["icon", "basic:global_message"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(2, 49152, null, 0, i5.IconComponent, [i5.IconRegisterService], { icon: [0, "icon"] }, null), (_l()(), i1.ɵeld(3, 16777216, null, null, 10, "acl-drawer", [], null, [[null, "close"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("close" === en)) {
        var pd_0 = (_co.close() !== false);
        ad = (pd_0 && ad);
    } return ad; }, i11.View_DrawerComponent_0, i11.RenderType_DrawerComponent)), i1.ɵdid(4, 4964352, null, 3, i12.DrawerComponent, [i1.ViewContainerRef, i13.Overlay, i1.Injector, i1.ChangeDetectorRef], { offsetY: [0, "offsetY"], visible: [1, "visible"] }, { close: "close" }), i1.ɵqud(603979776, 1, { titleTemplate: 0 }), i1.ɵqud(603979776, 2, { contentTemplate: 0 }), i1.ɵqud(603979776, 3, { noDataTemplate: 0 }), (_l()(), i1.ɵand(0, [[1, 2]], null, 1, null, View_HeaderNotifyComponent_1)), i1.ɵdid(9, 16384, null, 0, i10.DrawerHeaderDirective, [], null, null), (_l()(), i1.ɵand(0, [[2, 2]], null, 1, null, View_HeaderNotifyComponent_2)), i1.ɵdid(11, 16384, null, 0, i10.DrawerContentDirective, [], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderNotifyComponent_3)), i1.ɵdid(13, 16384, null, 0, i14.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = "basic:global_message"; _ck(_v, 2, 0, currVal_1); var currVal_2 = 50; var currVal_3 = _co.active; _ck(_v, 4, 0, currVal_2, currVal_3); var currVal_4 = !((_co.list == null) ? null : _co.list.length); _ck(_v, 13, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.active; _ck(_v, 0, 0, currVal_0); }); }
export function View_HeaderNotifyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "acl-header-notify", [], null, [["window", "beforeunload"]], function (_v, en, $event) { var ad = true; if (("window:beforeunload" === en)) {
        var pd_0 = (i1.ɵnov(_v, 1).beforeUnloadHandle() !== false);
        ad = (pd_0 && ad);
    } return ad; }, View_HeaderNotifyComponent_0, RenderType_HeaderNotifyComponent)), i1.ɵdid(1, 245760, null, 0, i15.HeaderNotifyComponent, [i16.NotifyService, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var HeaderNotifyComponentNgFactory = i1.ɵccf("acl-header-notify", i15.HeaderNotifyComponent, View_HeaderNotifyComponent_Host_0, {}, {}, []);
export { HeaderNotifyComponentNgFactory as HeaderNotifyComponentNgFactory };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLW5vdGlmeS5jb21wb25lbnQubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYWxhdWRhLWNvbW1vbi1saWIvc3JjL2hlYWRlci1ub3RpZnkvY29tcG9uZW50L2hlYWRlci1ub3RpZnkuY29tcG9uZW50Lm5nZmFjdG9yeS50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FsYXVkYS1jb21tb24tbGliL3NyYy9oZWFkZXItbm90aWZ5L2NvbXBvbmVudC9oZWFkZXItbm90aWZ5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O2dFQ0tFLGdHQWFNLEtBWkosOEZBQXNELEtBQW5DLGtIQUE0QixLQUcvQyxvR0FRTSxLQVBKLCtGQUEyRCxLQUF2QyxrSEFBZ0MsS0FDcEQseVVBS2EsWUFI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