UNPKG

@wjya/ngx-webapp-icpc.group.pms

Version:

angular webapp : icpc.group.pms

86 lines 14.8 kB
"use strict"; /** * @fileoverview This file was generated by the Angular template compiler. Do not edit. * * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} * tslint:disable */ Object.defineProperty(exports, "__esModule", { value: true }); var i0 = require("@angular/core"); var i1 = require("../../../../../node_modules/@wjya/ngx-webapp-fx/src/lib/shared/component/tree-view/tree-view.component.ngfactory"); var i2 = require("@wjya/ngx-webapp-fx/src/lib/shared/component/tree-view/tree-view.component"); var i3 = require("@angular/router"); var i4 = require("@wjya/ngx-webapp-fx/src/lib/core/service/data-source.service"); var i5 = require("@wjya/ngx-webapp-fx/src/lib/core/service/user-context.service"); var i6 = require("ng-zorro-antd"); var i7 = require("../../../../../node_modules/ng-zorro-antd/antd.ngfactory"); var i8 = require("@wjya/ngx-webapp-fx/src/lib/shared/directive/nz-button-size.directive"); var i9 = require("@angular/forms"); var i10 = require("@angular/common"); var i11 = require("../../../../../node_modules/@wjya/ngx-webapp-fx/src/lib/shared/component/list-view/list-view.component.ngfactory"); var i12 = require("@wjya/ngx-webapp-fx/src/lib/shared/component/list-view/list-view.component"); var i13 = require("../../../../../node_modules/@wjya/ngx-webapp-fx/src/lib/shared/block/header/header-block.component.ngfactory"); var i14 = require("@wjya/ngx-webapp-fx/src/lib/shared/block/header/header-block.component"); var i15 = require("../../../../../node_modules/@wjya/ngx-webapp-fx/src/lib/shared/block/content/content-block.component.ngfactory"); var i16 = require("@wjya/ngx-webapp-fx/src/lib/shared/block/content/content-block.component"); var i17 = require("./department-dialog.component.ngfactory"); var i18 = require("./department-dialog.component"); var i19 = require("../../service/data-source.helper"); var i20 = require("@wjya/ngx-webapp-fx/src/lib/core/service/user-storage.service"); var i21 = require("./department.component"); var styles_DepartmentComponent = ["[_nghost-%COMP%] .ant-select-dropdown-menu-item{\n font-size:0 !important;\n }"]; var RenderType_DepartmentComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_DepartmentComponent, data: {} }); exports.RenderType_DepartmentComponent = RenderType_DepartmentComponent; function View_DepartmentComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "zx-tree-view", [], null, [[null, "dataLoaded"], [null, "headerClicked"], [null, "selectChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("dataLoaded" === en)) { var pd_0 = (_co.treeViewDataLoaded($event) !== false); ad = (pd_0 && ad); } if (("headerClicked" === en)) { var pd_1 = (_co.treeViewHeaderClick($event) !== false); ad = (pd_1 && ad); } if (("selectChange" === en)) { var pd_2 = (_co.treeViewSelectChange($event) !== false); ad = (pd_2 && ad); } return ad; }, i1.View_TreeViewComponent_0, i1.RenderType_TreeViewComponent)), i0.ɵdid(1, 114688, null, 2, i2.TreeViewComponent, [i3.Router, i4.DataSourceService, i5.UserContextService, i6.NzMessageService], { headerText: [0, "headerText"], headerIcon: [1, "headerIcon"], enableHeader: [2, "enableHeader"], enableCheckbox: [3, "enableCheckbox"], accordion: [4, "accordion"], dataUrl: [5, "dataUrl"] }, { headerClicked: "headerClicked", dataLoaded: "dataLoaded", selectChange: "selectChange" }), i0.ɵqud(335544320, 14, { tpl_header: 0 }), i0.ɵqud(335544320, 15, { tpl_itemTemplate: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = "\u90E8\u95E8"; var currVal_1 = "anticon anticon-layout ng-star-inserted"; var currVal_2 = true; var currVal_3 = false; var currVal_4 = true; var currVal_5 = _co.treeViewDataUrl; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }, null); } function View_DepartmentComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, "button", [["nz-button", ""]], [[2, "ant-btn-lg", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 1)._onClick() !== false); ad = (pd_0 && ad); } if (("click" === en)) { var pd_1 = (_co.insert() !== false); ad = (pd_1 && ad); } return ad; }, i7.View_NzButtonComponent_0, i7.RenderType_NzButtonComponent)), i0.ɵdid(1, 1097728, null, 0, i6.NzButtonComponent, [i0.ElementRef, i0.Renderer2], { nzType: [0, "nzType"] }, null), i0.ɵdid(2, 16384, null, 0, i8.NzButtonSizeDirective, [], null, null), (_l()(), i0.ɵeld(3, 0, null, 0, 0, "i", [["class", "anticon anticon-plus"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, 0, 1, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u6DFB\u52A0\u90E8\u95E8"]))], function (_ck, _v) { var currVal_1 = "primary"; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).buttonLarge; _ck(_v, 0, 0, currVal_0); }); } function View_DepartmentComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, "nz-input", [["style", "width: 250px;"]], [[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"], [null, "nzOnSearch"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("compositionstart" === en)) { var pd_0 = (i0.ɵnov(_v, 1).compositionStart($event) !== false); ad = (pd_0 && ad); } if (("compositionend" === en)) { var pd_1 = (i0.ɵnov(_v, 1).compositionEnd($event) !== false); ad = (pd_1 && ad); } if (("ngModelChange" === en)) { var pd_2 = ((_co.listView.params.queryString = $event) !== false); ad = (pd_2 && ad); } if (("nzOnSearch" === en)) { var pd_3 = (_co.search($event) !== false); ad = (pd_3 && ad); } return ad; }, i7.View_NzInputComponent_0, i7.RenderType_NzInputComponent)), i0.ɵdid(1, 5292032, null, 4, i6.NzInputComponent, [i0.ElementRef, i0.Renderer2], { nzPlaceHolder: [0, "nzPlaceHolder"], nzType: [1, "nzType"], nzSize: [2, "nzSize"] }, { nzOnSearch: "nzOnSearch" }), i0.ɵqud(335544320, 16, { _addOnContentBefore: 0 }), i0.ɵqud(335544320, 17, { _addOnContentAfter: 0 }), i0.ɵqud(335544320, 18, { _prefixContent: 0 }), i0.ɵqud(335544320, 19, { _suffixContent: 0 }), i0.ɵprd(1024, null, i9.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.NzInputComponent]), i0.ɵdid(7, 671744, null, 0, i9.NgModel, [[8, null], [8, null], [8, null], [2, i9.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i9.NgControl, null, [i9.NgModel]), i0.ɵdid(9, 16384, null, 0, i9.NgControlStatus, [i9.NgControl], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = "\u8BF7\u8F93\u5165\u90E8\u95E8\u7F16\u7801\u6216\u540D\u79F0\u641C\u7D22"; var currVal_8 = "search"; var currVal_9 = "large"; _ck(_v, 1, 0, currVal_7, currVal_8, currVal_9); var currVal_10 = _co.listView.params.queryString; _ck(_v, 7, 0, currVal_10); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 9).ngClassValid; var currVal_5 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); } function View_DepartmentComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 6, "div", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, "nz-tooltip", [], null, null, null, i7.View_NzToolTipComponent_0, i7.RenderType_NzToolTipComponent)), i0.ɵdid(2, 49152, null, 1, i6.NzToolTipComponent, [i0.ChangeDetectorRef], { nzTitle: [0, "nzTitle"], nzPlacement: [1, "nzPlacement"] }, null), i0.ɵqud(335544320, 27, { nzTemplate: 0 }), (_l()(), i0.ɵeld(4, 16777216, null, 0, 2, "span", [["nz-tooltip", ""]], [[2, "ant-tooltip-open", null]], null, null, null, null)), i0.ɵdid(5, 4210688, null, 0, i6.NzTooltipDirective, [i0.ElementRef, i0.ViewContainerRef, i0.ComponentFactoryResolver, i0.Renderer2, [2, i6.NzToolTipComponent]], { nzTitle: [0, "nzTitle"] }, null), (_l()(), i0.ɵted(6, null, ["", ""]))], function (_ck, _v) { var currVal_0 = _v.parent.context.dataRow.employeeNames.join("\uFF0C"); var currVal_1 = "top"; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_3 = ""; _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i0.ɵnov(_v, 5).isTooltipOpen; _ck(_v, 4, 0, currVal_2); var currVal_4 = _co.formateEmployeeNames(_v.parent.context.dataRow.employeeNames); _ck(_v, 6, 0, currVal_4); }); } function View_DepartmentComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_DepartmentComponent_6)), i0.ɵdid(1, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.field.name == "employeeNames"); _ck(_v, 1, 0, currVal_0); }, null); } function View_DepartmentComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [["class", "operation"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "a", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.dialog(_v.context.dataRow) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, ["\u4FEE\u6539"])), (_l()(), i0.ɵeld(3, 0, null, null, 1, "a", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.delete(_v.context.dataRow) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, ["\u5220\u9664"]))], null, null); } function View_DepartmentComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, "zx-list-view", [], null, [[null, "loadData"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("loadData" === en)) { var pd_0 = (_co.loadAll() !== false); ad = (pd_0 && ad); } return ad; }, i11.View_ListViewComponent_0, i11.RenderType_ListViewComponent)), i0.ɵdid(1, 114688, null, 7, i12.ListViewComponent, [i3.Router, i5.UserContextService], { listView: [0, "listView"] }, { loadData: "loadData" }), i0.ɵqud(335544320, 20, { tpl_dataTable: 0 }), i0.ɵqud(335544320, 21, { tpl_headRow: 0 }), i0.ɵqud(335544320, 22, { tpl_headColumn: 0 }), i0.ɵqud(335544320, 23, { tpl_headOperations: 0 }), i0.ɵqud(335544320, 24, { tpl_dataRow: 0 }), i0.ɵqud(335544320, 25, { tpl_dataColumn: 0 }), i0.ɵqud(335544320, 26, { tpl_dataOperations: 0 }), (_l()(), i0.ɵand(0, [[25, 2], ["dataColumn", 2]], null, 0, null, View_DepartmentComponent_5)), (_l()(), i0.ɵand(0, [[26, 2], ["dataOperations", 2]], null, 0, null, View_DepartmentComponent_7))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.listView; _ck(_v, 1, 0, currVal_0); }, null); } function View_DepartmentComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { departmentDialog: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 8, "zx-header-block", [], null, null, null, i13.View_HeaderBlockComponent_0, i13.RenderType_HeaderBlockComponent)), i0.ɵdid(2, 114688, null, 5, i14.HeaderBlockComponent, [], { showBreadcrumb: [0, "showBreadcrumb"], showBottomLine: [1, "showBottomLine"], title: [2, "title"] }, null), i0.ɵqud(335544320, 2, { tpl_icon: 0 }), i0.ɵqud(335544320, 3, { tpl_title: 0 }), i0.ɵqud(335544320, 4, { tpl_operations: 0 }), i0.ɵqud(335544320, 5, { tpl_breadcrumbExtra: 0 }), i0.ɵqud(335544320, 6, { tpl_contentExtra: 0 }), (_l()(), i0.ɵeld(8, 0, null, 0, 1, "p", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u672C\u673A\u6784\u90E8\u95E8\u8BBE\u7F6E"])), (_l()(), i0.ɵeld(10, 0, null, null, 12, "zx-content-block", [], null, null, null, i15.View_ContentBlockComponent_0, i15.RenderType_ContentBlockComponent)), i0.ɵdid(11, 49152, null, 7, i16.ContentBlockComponent, [], null, null), i0.ɵqud(335544320, 7, { tpl_title: 0 }), i0.ɵqud(335544320, 8, { tpl_titleExtra: 0 }), i0.ɵqud(335544320, 9, { tpl_sider: 0 }), i0.ɵqud(335544320, 10, { tpl_content: 0 }), i0.ɵqud(335544320, 11, { tpl_operations: 0 }), i0.ɵqud(335544320, 12, { tpl_extra: 0 }), i0.ɵqud(335544320, 13, { tpl_alerting: 0 }), (_l()(), i0.ɵand(0, [[9, 2], ["sider", 2]], 1, 0, null, View_DepartmentComponent_1)), (_l()(), i0.ɵand(0, [[11, 2], ["operations", 2]], 1, 0, null, View_DepartmentComponent_2)), (_l()(), i0.ɵand(0, [[12, 2], ["extra", 2]], 1, 0, null, View_DepartmentComponent_3)), (_l()(), i0.ɵand(0, [[10, 2], ["content", 2]], 1, 0, null, View_DepartmentComponent_4)), (_l()(), i0.ɵeld(23, 0, null, null, 1, "zx-department-dialog", [], null, [[null, "clickSave"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("clickSave" === en)) { var pd_0 = (_co.onSave($event) !== false); ad = (pd_0 && ad); } return ad; }, i17.View_DepartmentDialogComponent_0, i17.RenderType_DepartmentDialogComponent)), i0.ɵdid(24, 114688, [[1, 4], ["departmentDialog", 4]], 0, i18.DepartmentDialogComponent, [i9.FormBuilder, i19.DataSourceHelper, i20.UserStorageService], null, { clickSave: "clickSave" })], function (_ck, _v) { var currVal_0 = true; var currVal_1 = false; var currVal_2 = "\u90E8\u95E8\u8BBE\u7F6E"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); _ck(_v, 24, 0); }, null); } exports.View_DepartmentComponent_0 = View_DepartmentComponent_0; function View_DepartmentComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "zx-department", [], null, null, null, View_DepartmentComponent_0, RenderType_DepartmentComponent)), i0.ɵdid(1, 114688, null, 0, i21.DepartmentComponent, [i19.DataSourceHelper, i20.UserStorageService, i0.Injector, i6.NzModalService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_DepartmentComponent_Host_0 = View_DepartmentComponent_Host_0; var DepartmentComponentNgFactory = i0.ɵccf("zx-department", i21.DepartmentComponent, View_DepartmentComponent_Host_0, {}, {}, []); exports.DepartmentComponentNgFactory = DepartmentComponentNgFactory; //# sourceMappingURL=department.component.ngfactory.js.map