/**
 * @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], { visible: [0, "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 = _co.active; _ck(_v, 4, 0, currVal_2); var currVal_3 = !((_co.list == null) ? null : _co.list.length); _ck(_v, 13, 0, currVal_3); }, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLW5vdGlmeS5jb21wb25lbnQubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYWxhdWRhLWNvbW1vbi1saWIvc3JjL2hlYWRlci1ub3RpZnkvY29tcG9uZW50L2hlYWRlci1ub3RpZnkuY29tcG9uZW50Lm5nZmFjdG9yeS50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FsYXVkYS1jb21tb24tbGliL3NyYy9oZWFkZXItbm90aWZ5L2NvbXBvbmVudC9oZWFkZXItbm90aWZ5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O2dFQ0tFLGdHQWFNLEtBWkosOEZBQXNELEtBQW5DLGtIQUE0QixLQUcvQyxvR0FRTSxLQVBKLCtGQUEyRCxLQUF2QyxrSEFBZ0MsS0FDcEQseVVBS2EsWUFIWDs7d0JBQW9DO01BQ3BDOzt3QkFBa0I7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