UNPKG

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

Version:

angular webapp : icpc.group.pms

60 lines 12.4 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("ng-zorro-antd"); var i2 = require("../../../../../../node_modules/ng-zorro-antd/antd.ngfactory"); var i3 = require("@angular/forms"); var i4 = require("@angular/common"); var i5 = require("./community-list.component"); var i6 = require("../../../service/data-source.helper"); var i7 = require("@wjya/ngx-webapp-fx/src/lib/core/service/user-storage.service"); var styles_CommunityListComponent = ["[_nghost-%COMP%] .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{\n margin-bottom:16px;\n height:80px\n }\n [_nghost-%COMP%] .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{\n line-height:80px;\n text-align: center;\n border: 1px solid #ccc;\n }\n [_nghost-%COMP%] .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{\n position: absolute;\n left: 16px;\n top: 31px;\n font-size: 18px;\n }\n [_nghost-%COMP%] .ant-modal-footer{\n display:none;\n }"]; var RenderType_CommunityListComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_CommunityListComponent, data: {} }); exports.RenderType_CommunityListComponent = RenderType_CommunityListComponent; function View_CommunityListComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["\u516C\u4F17\u53F7", "\u4E0B\u7ED1\u5B9A\u5C0F\u533A"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.name; _ck(_v, 1, 0, currVal_0); }); } function View_CommunityListComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 6, "div", [["nz-col", ""]], [[4, "padding-left", "px"], [4, "padding-right", "px"]], null, null, null, null)), i0.ɵdid(1, 606208, null, 0, i1.NzColDirective, [i0.ElementRef, [2, i1.NzRowComponent], i0.Renderer2], { nzSpan: [0, "nzSpan"] }, null), (_l()(), i0.ɵeld(2, 0, null, null, 3, "div", [], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, "i", [["class", "anticon anticon-home"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, ["", ""])), (_l()(), i0.ɵeld(6, 0, null, null, 0, "i", [["class", "anticon anticon-close"], ["style", "position: absolute;top: 5px;right: 10px;padding: 5px;cursor: pointer;"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.removeCommunity(_v.context.$implicit.id) !== false); ad = (pd_0 && ad); } return ad; }, null, null))], function (_ck, _v) { var currVal_2 = 6; _ck(_v, 1, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).paddingLeft; var currVal_1 = i0.ɵnov(_v, 1).paddingRight; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = _v.context.$implicit.name; _ck(_v, 5, 0, currVal_3); }); } function View_CommunityListComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["style", "height: 100%;cursor: pointer;"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = ((_co.isInsert = !_co.isInsert) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, "i", [["class", "anticon anticon-plus"], ["style", "position: initial; font-size: 40px; line-height: 80px;"]], null, null, null, null, null))], null, null); } function View_CommunityListComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "nz-option", [], null, null, null, i2.View_NzOptionComponent_0, i2.RenderType_NzOptionComponent)), i0.ɵdid(1, 245760, null, 1, i1.NzOptionComponent, [i1.NzSelectComponent], { nzValue: [0, "nzValue"], nzLabel: [1, "nzLabel"], nzDisabled: [2, "nzDisabled"] }, null), i0.ɵqud(335544320, 1, { nzOptionTemplate: 0 })], function (_ck, _v) { var currVal_0 = _v.context.$implicit; var currVal_1 = _v.context.$implicit.name; var currVal_2 = _v.context.$implicit.disabled; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); } function View_CommunityListComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, "div", [["style", "line-height: normal;height: 100%;"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 7, "nz-select", [["nzAllowClear", ""], ["style", "width: 100%;padding: 0 10px;margin-top: 15px;"]], [[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, "click"], [null, "keydown"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 2).onClick($event) !== false); ad = (pd_0 && ad); } if (("keydown" === en)) { var pd_1 = (i0.ɵnov(_v, 2).onKeyDown($event) !== false); ad = (pd_1 && ad); } if (("ngModelChange" === en)) { var pd_2 = ((_co.selectedOption = $event) !== false); ad = (pd_2 && ad); } return ad; }, i2.View_NzSelectComponent_0, i2.RenderType_NzSelectComponent)), i0.ɵdid(2, 3260416, null, 0, i1.NzSelectComponent, [i0.ElementRef, i0.Renderer2, i1.NzLocaleService], { nzAllowClear: [0, "nzAllowClear"], nzPlaceHolder: [1, "nzPlaceHolder"] }, null), i0.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.NzSelectComponent]), i0.ɵdid(4, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [2, i3.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i0.ɵdid(6, 16384, null, 0, i3.NgControlStatus, [i3.NgControl], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CommunityListComponent_6)), i0.ɵdid(8, 802816, null, 0, i4.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵeld(9, 0, null, null, 2, "div", [["style", "margin-top: 8px;font-size: 16px;text-align: right;padding-right: 6px;"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 0, "i", [["class", "anticon anticon-check"], ["style", "padding: 0 5px;cursor: pointer;"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.onSave() !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 0, "i", [["class", "anticon anticon-close"], ["style", "padding: 0 5px;cursor: pointer;"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = ((_co.isInsert = false) !== false); ad = (pd_0 && ad); } return ad; }, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_7 = ""; var currVal_8 = "\u8BF7\u9009\u62E9\u5C0F\u533A"; _ck(_v, 2, 0, currVal_7, currVal_8); var currVal_9 = _co.selectedOption; _ck(_v, 4, 0, currVal_9); var currVal_10 = _co.communityOptions; _ck(_v, 8, 0, currVal_10); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 6).ngClassValid; var currVal_5 = i0.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); } function View_CommunityListComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, "div", [["class", "row"], ["nz-row", ""]], null, null, null, i2.View_NzRowComponent_0, i2.RenderType_NzRowComponent)), i0.ɵdid(1, 114688, null, 0, i1.NzRowComponent, [i0.ElementRef, i0.Renderer2], { nzGutter: [0, "nzGutter"] }, null), (_l()(), i0.ɵand(16777216, null, 0, 1, null, View_CommunityListComponent_3)), i0.ɵdid(3, 802816, null, 0, i4.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵeld(4, 0, null, 0, 5, "div", [["nz-col", ""]], [[4, "padding-left", "px"], [4, "padding-right", "px"]], null, null, null, null)), i0.ɵdid(5, 606208, null, 0, i1.NzColDirective, [i0.ElementRef, [2, i1.NzRowComponent], i0.Renderer2], { nzSpan: [0, "nzSpan"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CommunityListComponent_4)), i0.ɵdid(7, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CommunityListComponent_5)), i0.ɵdid(9, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = 8; _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.data; _ck(_v, 3, 0, currVal_1); var currVal_4 = 6; _ck(_v, 5, 0, currVal_4); var currVal_5 = !_co.isInsert; _ck(_v, 7, 0, currVal_5); var currVal_6 = _co.isInsert; _ck(_v, 9, 0, currVal_6); }, function (_ck, _v) { var currVal_2 = i0.ɵnov(_v, 5).paddingLeft; var currVal_3 = i0.ɵnov(_v, 5).paddingRight; _ck(_v, 4, 0, currVal_2, currVal_3); }); } function View_CommunityListComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); } function View_CommunityListComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 5, "nz-modal", [], null, [[null, "nzOnCancel"], [null, "keydown.esc"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("keydown.esc" === en)) { var pd_0 = (i0.ɵnov(_v, 2).onEsc($event) !== false); ad = (pd_0 && ad); } if (("nzOnCancel" === en)) { var pd_1 = (_co.handleCancel() !== false); ad = (pd_1 && ad); } return ad; }, i2.View_NzModalComponent_0, i2.RenderType_NzModalComponent)), i0.ɵprd(8704, null, i1.NzModalSubject, i1.NzModalSubject, []), i0.ɵdid(2, 4440064, null, 0, i1.NzModalComponent, [i1.NzModalSubject, i0.ViewContainerRef, i1.NzLocaleService], { nzVisible: [0, "nzVisible"], nzWidth: [1, "nzWidth"], nzZIndex: [2, "nzZIndex"], nzTitle: [3, "nzTitle"], nzContent: [4, "nzContent"], nzFooter: [5, "nzFooter"] }, { nzOnCancel: "nzOnCancel" }), (_l()(), i0.ɵand(0, [["modalTitle", 2]], null, 0, null, View_CommunityListComponent_1)), (_l()(), i0.ɵand(0, [["modalContent", 2]], null, 0, null, View_CommunityListComponent_2)), (_l()(), i0.ɵand(0, [["modalFooter", 2]], null, 0, null, View_CommunityListComponent_7))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.modalIsVisible; var currVal_1 = 800; var currVal_2 = 999; var currVal_3 = i0.ɵnov(_v, 3); var currVal_4 = i0.ɵnov(_v, 4); var currVal_5 = i0.ɵnov(_v, 5); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }, null); } exports.View_CommunityListComponent_0 = View_CommunityListComponent_0; function View_CommunityListComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "zx-community-list", [], null, null, null, View_CommunityListComponent_0, RenderType_CommunityListComponent)), i0.ɵdid(1, 114688, null, 0, i5.CommunityListComponent, [i6.DataSourceHelper, i7.UserStorageService, i1.NzModalService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_CommunityListComponent_Host_0 = View_CommunityListComponent_Host_0; var CommunityListComponentNgFactory = i0.ɵccf("zx-community-list", i5.CommunityListComponent, View_CommunityListComponent_Host_0, {}, { reload: "reload" }, []); exports.CommunityListComponentNgFactory = CommunityListComponentNgFactory; //# sourceMappingURL=community-list.component.ngfactory.js.map