@ebuilding/runtime 3.1.2 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/e-web-report-table.mjs +1 -1
- package/fesm2022/e-web-report-table.mjs.map +1 -1
- package/fesm2022/e-web.mjs +1 -1
- package/fesm2022/e-web.mjs.map +1 -1
- package/fesm2022/home.mjs +2 -2
- package/fesm2022/home.mjs.map +1 -1
- package/fesm2022/layout.mjs +243 -64
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/user-center.mjs +318 -0
- package/fesm2022/user-center.mjs.map +1 -0
- package/package.json +48 -44
- package/user-center/index.d.ts +3 -0
- package/user-center/src/detail/user-center-detail.component.d.ts +32 -0
- package/user-center/src/user-center-main.component.d.ts +43 -0
- package/user-center/src/user-center.constants.d.ts +6 -0
- package/user-center/src/user-center.module.d.ts +8 -0
package/fesm2022/layout.mjs
CHANGED
|
@@ -11,8 +11,10 @@ import * as i5$1 from '@delon/theme/layout-default';
|
|
|
11
11
|
import { LayoutDefaultModule } from '@delon/theme/layout-default';
|
|
12
12
|
import * as i8 from '@ebuilding/runtime/shared-imports';
|
|
13
13
|
import { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i6$2 from '@ebuilding/abc/header-user';
|
|
15
15
|
import { GramDeonHeaderUserModule } from '@ebuilding/abc/header-user';
|
|
16
|
+
import * as i11 from '@ebuilding/abc/notice-center';
|
|
17
|
+
import { GramNoticeCenterModule } from '@ebuilding/abc/notice-center';
|
|
16
18
|
import * as i5 from '@angular/forms';
|
|
17
19
|
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
18
20
|
import * as i1 from 'ng-zorro-antd/modal';
|
|
@@ -50,7 +52,7 @@ import { NzBadgeModule } from 'ng-zorro-antd/badge';
|
|
|
50
52
|
import _ from 'lodash';
|
|
51
53
|
import * as i10$1 from 'ng-zorro-antd/spin';
|
|
52
54
|
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
53
|
-
import * as i6$
|
|
55
|
+
import * as i6$3 from '@delon/theme/setting-drawer';
|
|
54
56
|
import { SettingDrawerModule } from '@delon/theme/setting-drawer';
|
|
55
57
|
import { ThemeBtnComponent } from '@delon/theme/theme-btn';
|
|
56
58
|
import * as i1$3 from '@delon/abc/notice-icon';
|
|
@@ -414,7 +416,7 @@ class NavUserComponent {
|
|
|
414
416
|
window.open(`/admin/home`, '_blank');
|
|
415
417
|
}
|
|
416
418
|
goToMessage() {
|
|
417
|
-
this.router.navigateByUrl('/message/list');
|
|
419
|
+
this.router.navigateByUrl('/message/list?type=notice');
|
|
418
420
|
}
|
|
419
421
|
goToChangeSetId() {
|
|
420
422
|
this.setIdIsVisible = true;
|
|
@@ -476,14 +478,14 @@ class NavUserComponent {
|
|
|
476
478
|
});
|
|
477
479
|
}
|
|
478
480
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NavUserComponent, deps: [{ token: i2.SettingsService }, { token: i1$1.Router }, { token: i2._HttpClient }, { token: i0.ChangeDetectorRef }, { token: i5.FormBuilder }, { token: i1.NzModalService }, { token: i4$1.NzMessageService }, { token: DA_SERVICE_TOKEN }, { token: i6.GramGlobalService }, { token: i7.AppFeatureConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
479
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: NavUserComponent, isStandalone: true, selector: "nav-user", ngImport: i0, template: "<div class=\"header\">\n <nz-avatar [nzSize]=\"96\" nzIcon=\"user\" [nzSrc]=\"avatar\"></nz-avatar>\n <label class=\"name\">{{user?.[\"empName\"]!!?user?.[\"empName\"]:user?.name}}</label>\n</div>\n<div class=\"waiting\">\n <div class=\"flow\" (click)=\"goToHome()\" [ngClass]=\"{'item-selected':itemKey=='home'}\">\n <span nz-icon nzType=\"home\"></span>\n <label>\u9996\u9875</label>\n </div>\n <!-- <div class=\"flow\" (click)=\"goToFlowApply()\" [ngClass]=\"{'item-selected':itemKey=='flow'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u6D41\u7A0B\u4E2D\u5FC3</label>\n </div> -->\n\n <div class=\"flow\" *ngIf=\"enableWorkflow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u5F85\u529E\u6D41\u7A0B</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div>\n <div class=\"msg\" *ngIf=\"enableMessageCenter\" (click)=\"goToMessage()\" [ngClass]=\"{'item-selected':itemKey=='message'}\">\n <span nz-icon nzType=\"message\"></span>\n <label>\u6D88\u606F\u4E2D\u5FC3</label>\n </div>\n\n <!-- <div class=\"flow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"book\"></span>\n <label>\u5F85\u529E\u4E8B\u9879</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div> -->\n</div>\n\n<div class=\"menu\"></div>\n\n<div class=\"footer\">\n <div (click)=\"goToChangeSetId()\" *ngIf=\"listEId!! && listEId.length>1\">\n <span nz-icon nzType=\"idcard\"></span>\n <label>\u8EAB\u4EFD\u5207\u6362</label>\n </div>\n <div (click)=\"goToAdmin()\" *aclIf=\"'SET'\">\n <span nz-icon nzType=\"setting\"></span>\n <label>\u540E\u53F0\u914D\u7F6E</label>\n </div>\n <div (click)=\"logout()\">\n <span nz-icon nzType=\"logout\"></span>\n <label>\u9000\u51FA\u7CFB\u7EDF</label>\n </div>\n</div>\n\n<ng-template #nzFooter></ng-template>\n<nz-modal [(nzVisible)]=\"setIdIsVisible\" nzTitle=\"\u8EAB\u4EFD\u5207\u6362\" (nzOnCancel)=\"setIdCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <form nz-form [formGroup]=\"validateEIdForm\" (ngSubmit)=\"submitSetIdForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\">\u5F53\u524D\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\"> {{defaultEName}} </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"eId\" nzRequired>\u5207\u6362\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <nz-select id=\"eId\" formControlName=\"eId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <ng-container *ngFor=\"let item of listEId\">\n <nz-option [nzValue]=\"item.id\" [nzLabel]=\"item.name\"></nz-option>\n </ng-container>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"setIdCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"setIdIsOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n</nz-modal>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;height:100%;padding:0;overflow:auto;overflow:hidden;font-size:14px}:host ::ng-deep .header{display:flex;flex-direction:column;align-items:center;padding:35px 0 0}:host ::ng-deep .header .name{margin-top:15px;font-weight:700;font-size:16px}:host ::ng-deep .waiting{margin-top:50px}:host ::ng-deep .waiting div{position:relative;display:flex;flex-direction:row;align-items:center;padding:10px 25px;cursor:pointer}:host ::ng-deep .waiting div span{margin-right:5px}:host ::ng-deep .waiting div label{cursor:pointer}:host ::ng-deep .waiting div:hover{background:#4f85ff}:host ::ng-deep .waiting nz-badge{position:absolute;top:10px;right:35px}:host ::ng-deep .waiting nz-badge nz-badge-sup{margin-left:4px;box-shadow:none}:host ::ng-deep .waiting nz-badge nz-badge-sup span{margin-right:0}:host ::ng-deep .waiting .flow{margin:0 0 12px}:host ::ng-deep .waiting .flow nz-badge-sup{background:#fdb02a}:host ::ng-deep .waiting .msg nz-badge-sup{background:#329afa}:host ::ng-deep .menu{position:relative;flex:1;padding:50px 20px 0}:host ::ng-deep .menu .item{height:44px;margin:0 0 15px;line-height:44px}:host ::ng-deep .menu .actived{width:120px;padding:0 0 0 15px;color:#1177fb;background:#fff;border-top-left-radius:22px;border-bottom-left-radius:22px}:host ::ng-deep .footer{display:flex;flex-direction:column;margin-bottom:30px}:host ::ng-deep .footer div{margin-top:15px;padding:10px 25px;cursor:pointer}:host ::ng-deep .footer div span{margin-right:6px}:host ::ng-deep .footer div label{cursor:pointer}:host ::ng-deep .footer div:hover{background:#4f85ff}:host ::ng-deep .item-selected{background:#4f85ff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i8.FormSubmitTouchDirective, selector: "form[formGroup]" }, { kind: "directive", type: i3.ACLIfDirective, selector: "[aclIf]", inputs: ["aclIf", "aclIfThen", "aclIfElse", "except"], exportAs: ["aclIf"] }, { kind: "component", type: i10.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i12.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i15.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i15.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i16.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i16.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i17.NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }, { kind: "component", type: i1.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i19.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i19.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i19.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i19.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i20.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }] });
|
|
481
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: NavUserComponent, isStandalone: true, selector: "nav-user", ngImport: i0, template: "<div class=\"header\">\n <nz-avatar [nzSize]=\"96\" nzIcon=\"user\" [nzSrc]=\"avatar\"></nz-avatar>\n <label class=\"name\">{{user?.[\"empName\"]!!?user?.[\"empName\"]:user?.name}}</label>\n</div>\n<div class=\"waiting\">\n <div class=\"flow\" (click)=\"goToHome()\" [ngClass]=\"{'item-selected':itemKey=='home'}\">\n <span nz-icon nzType=\"home\"></span>\n <label>\u9996\u9875</label>\n </div>\n <!-- <div class=\"flow\" (click)=\"goToFlowApply()\" [ngClass]=\"{'item-selected':itemKey=='flow'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u6D41\u7A0B\u4E2D\u5FC3</label>\n </div> -->\n\n <div class=\"flow\" *ngIf=\"enableWorkflow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u5F85\u529E\u6D41\u7A0B</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div>\n <div class=\"msg\" *ngIf=\"enableMessageCenter\" (click)=\"goToMessage()\" [ngClass]=\"{'item-selected':itemKey=='message'}\">\n <span nz-icon nzType=\"message\"></span>\n <label>\u6D88\u606F\u4E2D\u5FC3</label>\n </div>\n\n <!-- <div class=\"flow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"book\"></span>\n <label>\u5F85\u529E\u4E8B\u9879</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div> -->\n</div>\n\n<div class=\"menu\"></div>\n\n<div class=\"footer\">\n <div (click)=\"goToChangeSetId()\" *ngIf=\"listEId!! && listEId.length>1\">\n <span nz-icon nzType=\"idcard\"></span>\n <label>\u8EAB\u4EFD\u5207\u6362</label>\n </div>\n <div (click)=\"goToAdmin()\" *aclIf=\"'SET'\">\n <span nz-icon nzType=\"setting\"></span>\n <label>\u540E\u53F0\u914D\u7F6E</label>\n </div>\n <div (click)=\"logout()\">\n <span nz-icon nzType=\"logout\"></span>\n <label>\u9000\u51FA\u7CFB\u7EDF</label>\n </div>\n</div>\n\n<ng-template #nzFooter></ng-template>\n<nz-modal [(nzVisible)]=\"setIdIsVisible\" nzTitle=\"\u8EAB\u4EFD\u5207\u6362\" (nzOnCancel)=\"setIdCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <form nz-form [formGroup]=\"validateEIdForm\" (ngSubmit)=\"submitSetIdForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\">\u5F53\u524D\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\"> {{defaultEName}} </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"eId\" nzRequired>\u5207\u6362\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <nz-select id=\"eId\" formControlName=\"eId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <ng-container *ngFor=\"let item of listEId\">\n <nz-option [nzValue]=\"item.id\" [nzLabel]=\"item.name\"></nz-option>\n </ng-container>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"setIdCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"setIdIsOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n</nz-modal>", styles: [":host ::ng-deep{display:flex;flex-direction:column;height:100%;padding:0;overflow:auto;overflow:hidden;font-size:14px}:host ::ng-deep .header{display:flex;flex-direction:column;align-items:center;padding:35px 0 0}:host ::ng-deep .header .name{margin-top:15px;font-weight:700;font-size:16px}:host ::ng-deep .waiting{margin-top:50px}:host ::ng-deep .waiting div{position:relative;display:flex;flex-direction:row;align-items:center;padding:10px 25px;cursor:pointer}:host ::ng-deep .waiting div span{margin-right:5px}:host ::ng-deep .waiting div label{cursor:pointer}:host ::ng-deep .waiting div:hover{background:#4f85ff}:host ::ng-deep .waiting nz-badge{position:absolute;top:10px;right:35px}:host ::ng-deep .waiting nz-badge nz-badge-sup{margin-left:4px;box-shadow:none}:host ::ng-deep .waiting nz-badge nz-badge-sup span{margin-right:0}:host ::ng-deep .waiting .flow{margin:0 0 12px}:host ::ng-deep .waiting .flow nz-badge-sup{background:#fdb02a}:host ::ng-deep .waiting .msg nz-badge-sup{background:#329afa}:host ::ng-deep .menu{position:relative;flex:1;padding:50px 20px 0}:host ::ng-deep .menu .item{height:44px;margin:0 0 15px;line-height:44px}:host ::ng-deep .menu .actived{width:120px;padding:0 0 0 15px;color:#1177fb;background:#fff;border-top-left-radius:22px;border-bottom-left-radius:22px}:host ::ng-deep .footer{display:flex;flex-direction:column;margin-bottom:30px}:host ::ng-deep .footer div{margin-top:15px;padding:10px 25px;cursor:pointer}:host ::ng-deep .footer div span{margin-right:6px}:host ::ng-deep .footer div label{cursor:pointer}:host ::ng-deep .footer div:hover{background:#4f85ff}:host ::ng-deep .item-selected{background:#4f85ff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i8.FormSubmitTouchDirective, selector: "form[formGroup]" }, { kind: "directive", type: i3.ACLIfDirective, selector: "[aclIf]", inputs: ["aclIf", "aclIfThen", "aclIfElse", "except"], exportAs: ["aclIf"] }, { kind: "component", type: i10.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i12.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i15.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i15.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i16.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i16.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i17.NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }, { kind: "component", type: i1.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i19.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i19.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i19.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i19.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i20.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }] });
|
|
480
482
|
}
|
|
481
483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NavUserComponent, decorators: [{
|
|
482
484
|
type: Component,
|
|
483
485
|
args: [{ selector: 'nav-user', standalone: true, imports: [
|
|
484
486
|
CommonModule,
|
|
485
487
|
RuntimeSharedImportsModule
|
|
486
|
-
], template: "<div class=\"header\">\n <nz-avatar [nzSize]=\"96\" nzIcon=\"user\" [nzSrc]=\"avatar\"></nz-avatar>\n <label class=\"name\">{{user?.[\"empName\"]!!?user?.[\"empName\"]:user?.name}}</label>\n</div>\n<div class=\"waiting\">\n <div class=\"flow\" (click)=\"goToHome()\" [ngClass]=\"{'item-selected':itemKey=='home'}\">\n <span nz-icon nzType=\"home\"></span>\n <label>\u9996\u9875</label>\n </div>\n <!-- <div class=\"flow\" (click)=\"goToFlowApply()\" [ngClass]=\"{'item-selected':itemKey=='flow'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u6D41\u7A0B\u4E2D\u5FC3</label>\n </div> -->\n\n <div class=\"flow\" *ngIf=\"enableWorkflow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u5F85\u529E\u6D41\u7A0B</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div>\n <div class=\"msg\" *ngIf=\"enableMessageCenter\" (click)=\"goToMessage()\" [ngClass]=\"{'item-selected':itemKey=='message'}\">\n <span nz-icon nzType=\"message\"></span>\n <label>\u6D88\u606F\u4E2D\u5FC3</label>\n </div>\n\n <!-- <div class=\"flow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"book\"></span>\n <label>\u5F85\u529E\u4E8B\u9879</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div> -->\n</div>\n\n<div class=\"menu\"></div>\n\n<div class=\"footer\">\n <div (click)=\"goToChangeSetId()\" *ngIf=\"listEId!! && listEId.length>1\">\n <span nz-icon nzType=\"idcard\"></span>\n <label>\u8EAB\u4EFD\u5207\u6362</label>\n </div>\n <div (click)=\"goToAdmin()\" *aclIf=\"'SET'\">\n <span nz-icon nzType=\"setting\"></span>\n <label>\u540E\u53F0\u914D\u7F6E</label>\n </div>\n <div (click)=\"logout()\">\n <span nz-icon nzType=\"logout\"></span>\n <label>\u9000\u51FA\u7CFB\u7EDF</label>\n </div>\n</div>\n\n<ng-template #nzFooter></ng-template>\n<nz-modal [(nzVisible)]=\"setIdIsVisible\" nzTitle=\"\u8EAB\u4EFD\u5207\u6362\" (nzOnCancel)=\"setIdCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <form nz-form [formGroup]=\"validateEIdForm\" (ngSubmit)=\"submitSetIdForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\">\u5F53\u524D\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\"> {{defaultEName}} </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"eId\" nzRequired>\u5207\u6362\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <nz-select id=\"eId\" formControlName=\"eId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <ng-container *ngFor=\"let item of listEId\">\n <nz-option [nzValue]=\"item.id\" [nzLabel]=\"item.name\"></nz-option>\n </ng-container>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"setIdCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"setIdIsOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n</nz-modal
|
|
488
|
+
], template: "<div class=\"header\">\n <nz-avatar [nzSize]=\"96\" nzIcon=\"user\" [nzSrc]=\"avatar\"></nz-avatar>\n <label class=\"name\">{{user?.[\"empName\"]!!?user?.[\"empName\"]:user?.name}}</label>\n</div>\n<div class=\"waiting\">\n <div class=\"flow\" (click)=\"goToHome()\" [ngClass]=\"{'item-selected':itemKey=='home'}\">\n <span nz-icon nzType=\"home\"></span>\n <label>\u9996\u9875</label>\n </div>\n <!-- <div class=\"flow\" (click)=\"goToFlowApply()\" [ngClass]=\"{'item-selected':itemKey=='flow'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u6D41\u7A0B\u4E2D\u5FC3</label>\n </div> -->\n\n <div class=\"flow\" *ngIf=\"enableWorkflow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"node-index\"></span>\n <label>\u5F85\u529E\u6D41\u7A0B</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div>\n <div class=\"msg\" *ngIf=\"enableMessageCenter\" (click)=\"goToMessage()\" [ngClass]=\"{'item-selected':itemKey=='message'}\">\n <span nz-icon nzType=\"message\"></span>\n <label>\u6D88\u606F\u4E2D\u5FC3</label>\n </div>\n\n <!-- <div class=\"flow\" (click)=\"goToFlowWaiting()\" [ngClass]=\"{'item-selected':itemKey=='waiting'}\">\n <span nz-icon nzType=\"book\"></span>\n <label>\u5F85\u529E\u4E8B\u9879</label>\n <ng-container *ngIf=\"wkCnt!! && wkCnt>0\">\n <nz-badge nzStandalone [nzCount]=\"wkCnt\"></nz-badge>\n </ng-container>\n </div> -->\n</div>\n\n<div class=\"menu\"></div>\n\n<div class=\"footer\">\n <div (click)=\"goToChangeSetId()\" *ngIf=\"listEId!! && listEId.length>1\">\n <span nz-icon nzType=\"idcard\"></span>\n <label>\u8EAB\u4EFD\u5207\u6362</label>\n </div>\n <div (click)=\"goToAdmin()\" *aclIf=\"'SET'\">\n <span nz-icon nzType=\"setting\"></span>\n <label>\u540E\u53F0\u914D\u7F6E</label>\n </div>\n <div (click)=\"logout()\">\n <span nz-icon nzType=\"logout\"></span>\n <label>\u9000\u51FA\u7CFB\u7EDF</label>\n </div>\n</div>\n\n<ng-template #nzFooter></ng-template>\n<nz-modal [(nzVisible)]=\"setIdIsVisible\" nzTitle=\"\u8EAB\u4EFD\u5207\u6362\" (nzOnCancel)=\"setIdCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <form nz-form [formGroup]=\"validateEIdForm\" (ngSubmit)=\"submitSetIdForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\">\u5F53\u524D\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\"> {{defaultEName}} </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"eId\" nzRequired>\u5207\u6362\u8EAB\u4EFD</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <nz-select id=\"eId\" formControlName=\"eId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u8EAB\u4EFD\">\n <ng-container *ngFor=\"let item of listEId\">\n <nz-option [nzValue]=\"item.id\" [nzLabel]=\"item.name\"></nz-option>\n </ng-container>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"setIdCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"setIdIsOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n</nz-modal>", styles: [":host ::ng-deep{display:flex;flex-direction:column;height:100%;padding:0;overflow:auto;overflow:hidden;font-size:14px}:host ::ng-deep .header{display:flex;flex-direction:column;align-items:center;padding:35px 0 0}:host ::ng-deep .header .name{margin-top:15px;font-weight:700;font-size:16px}:host ::ng-deep .waiting{margin-top:50px}:host ::ng-deep .waiting div{position:relative;display:flex;flex-direction:row;align-items:center;padding:10px 25px;cursor:pointer}:host ::ng-deep .waiting div span{margin-right:5px}:host ::ng-deep .waiting div label{cursor:pointer}:host ::ng-deep .waiting div:hover{background:#4f85ff}:host ::ng-deep .waiting nz-badge{position:absolute;top:10px;right:35px}:host ::ng-deep .waiting nz-badge nz-badge-sup{margin-left:4px;box-shadow:none}:host ::ng-deep .waiting nz-badge nz-badge-sup span{margin-right:0}:host ::ng-deep .waiting .flow{margin:0 0 12px}:host ::ng-deep .waiting .flow nz-badge-sup{background:#fdb02a}:host ::ng-deep .waiting .msg nz-badge-sup{background:#329afa}:host ::ng-deep .menu{position:relative;flex:1;padding:50px 20px 0}:host ::ng-deep .menu .item{height:44px;margin:0 0 15px;line-height:44px}:host ::ng-deep .menu .actived{width:120px;padding:0 0 0 15px;color:#1177fb;background:#fff;border-top-left-radius:22px;border-bottom-left-radius:22px}:host ::ng-deep .footer{display:flex;flex-direction:column;margin-bottom:30px}:host ::ng-deep .footer div{margin-top:15px;padding:10px 25px;cursor:pointer}:host ::ng-deep .footer div span{margin-right:6px}:host ::ng-deep .footer div label{cursor:pointer}:host ::ng-deep .footer div:hover{background:#4f85ff}:host ::ng-deep .item-selected{background:#4f85ff}\n"] }]
|
|
487
489
|
}], ctorParameters: () => [{ type: i2.SettingsService }, { type: i1$1.Router }, { type: i2._HttpClient }, { type: i0.ChangeDetectorRef }, { type: i5.FormBuilder }, { type: i1.NzModalService }, { type: i4$1.NzMessageService }, { type: undefined, decorators: [{
|
|
488
490
|
type: Inject,
|
|
489
491
|
args: [DA_SERVICE_TOKEN]
|
|
@@ -735,7 +737,7 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
735
737
|
hideAside: false,
|
|
736
738
|
//hideLogo: true,
|
|
737
739
|
//title: null,
|
|
738
|
-
showHeaderCollapse: false
|
|
740
|
+
showHeaderCollapse: false,
|
|
739
741
|
};
|
|
740
742
|
this.initMenuData();
|
|
741
743
|
}
|
|
@@ -763,14 +765,39 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
763
765
|
toggleShowAll() { }
|
|
764
766
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutHomeComponent, deps: [{ token: i2._HttpClient }, { token: i1$1.Router }, { token: i2.MenuService }, { token: i2.SettingsService }, { token: i3.ACLService }], target: i0.ɵɵFactoryTarget.Component });
|
|
765
767
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutHomeComponent, isStandalone: true, selector: "layout-home", host: { classAttribute: "layout-basic" }, viewQueries: [{ propertyName: "menuContainer", first: true, predicate: ["menuContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
766
|
-
<nz-spin
|
|
767
|
-
|
|
768
|
+
<nz-spin
|
|
769
|
+
[nzSpinning]="loading"
|
|
770
|
+
nzTip="拼命加载中..."
|
|
771
|
+
class="deon-list-spin"
|
|
772
|
+
>
|
|
773
|
+
<layout-default
|
|
774
|
+
[options]="options"
|
|
775
|
+
[content]="contentTpl"
|
|
776
|
+
[nav]="asideUserTpl"
|
|
777
|
+
>
|
|
768
778
|
<layout-default-header-item direction="middle">
|
|
769
|
-
<ul
|
|
770
|
-
|
|
779
|
+
<ul
|
|
780
|
+
nz-menu
|
|
781
|
+
nzMode="horizontal"
|
|
782
|
+
class="header-item-ul"
|
|
783
|
+
#menuContainer
|
|
784
|
+
*ngIf="visibleMenuData!!"
|
|
785
|
+
>
|
|
786
|
+
<li
|
|
787
|
+
nz-menu-item
|
|
788
|
+
*ngFor="let item of visibleMenuData; let index = index"
|
|
789
|
+
[nzSelected]="item.selected"
|
|
790
|
+
(click)="menuClick(item)"
|
|
791
|
+
>
|
|
771
792
|
<div class="menu-text">
|
|
772
793
|
<div class="icon">
|
|
773
|
-
<span
|
|
794
|
+
<span
|
|
795
|
+
nz-icon
|
|
796
|
+
[ngClass]="'backgroup_' + index"
|
|
797
|
+
[nzType]="
|
|
798
|
+
item?.selected == true ? item.icon?.value : item.icon
|
|
799
|
+
"
|
|
800
|
+
></span>
|
|
774
801
|
</div>
|
|
775
802
|
<div class="text">{{ item.text }}</div>
|
|
776
803
|
</div>
|
|
@@ -778,7 +805,11 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
778
805
|
<li nz-menu-item *ngIf="hasMoreItems" (click)="toggleShowAll()">
|
|
779
806
|
<div class="menu-text" nz-dropdown [nzDropdownMenu]="menu">
|
|
780
807
|
<div class="icon">
|
|
781
|
-
<span
|
|
808
|
+
<span
|
|
809
|
+
nz-icon
|
|
810
|
+
nzType="ordered-list"
|
|
811
|
+
class="backgroup_more"
|
|
812
|
+
></span>
|
|
782
813
|
</div>
|
|
783
814
|
<div class="text">更多</div>
|
|
784
815
|
</div>
|
|
@@ -792,6 +823,9 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
792
823
|
</li>
|
|
793
824
|
</ul>
|
|
794
825
|
</layout-default-header-item>
|
|
826
|
+
<layout-default-header-item direction="right">
|
|
827
|
+
<gram-notice-center></gram-notice-center>
|
|
828
|
+
</layout-default-header-item>
|
|
795
829
|
<layout-default-header-item direction="right">
|
|
796
830
|
<header-user></header-user>
|
|
797
831
|
</layout-default-header-item>
|
|
@@ -803,19 +837,44 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
803
837
|
</ng-template>
|
|
804
838
|
</layout-default>
|
|
805
839
|
</nz-spin>
|
|
806
|
-
`, isInline: true, styles: [":host ::ng-deep .backgroup_more{background:#e8a0d6}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "component", type: NavUserComponent, selector: "nav-user" }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
840
|
+
`, isInline: true, styles: [":host ::ng-deep .backgroup_more{background:#e8a0d6}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "ngmodule", type: GramNoticeCenterModule }, { kind: "component", type: i11.GramNoticeCenterComponent, selector: "gram-notice-center" }, { kind: "component", type: NavUserComponent, selector: "nav-user" }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
807
841
|
}
|
|
808
842
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutHomeComponent, decorators: [{
|
|
809
843
|
type: Component,
|
|
810
844
|
args: [{ selector: 'layout-home', template: `
|
|
811
|
-
<nz-spin
|
|
812
|
-
|
|
845
|
+
<nz-spin
|
|
846
|
+
[nzSpinning]="loading"
|
|
847
|
+
nzTip="拼命加载中..."
|
|
848
|
+
class="deon-list-spin"
|
|
849
|
+
>
|
|
850
|
+
<layout-default
|
|
851
|
+
[options]="options"
|
|
852
|
+
[content]="contentTpl"
|
|
853
|
+
[nav]="asideUserTpl"
|
|
854
|
+
>
|
|
813
855
|
<layout-default-header-item direction="middle">
|
|
814
|
-
<ul
|
|
815
|
-
|
|
856
|
+
<ul
|
|
857
|
+
nz-menu
|
|
858
|
+
nzMode="horizontal"
|
|
859
|
+
class="header-item-ul"
|
|
860
|
+
#menuContainer
|
|
861
|
+
*ngIf="visibleMenuData!!"
|
|
862
|
+
>
|
|
863
|
+
<li
|
|
864
|
+
nz-menu-item
|
|
865
|
+
*ngFor="let item of visibleMenuData; let index = index"
|
|
866
|
+
[nzSelected]="item.selected"
|
|
867
|
+
(click)="menuClick(item)"
|
|
868
|
+
>
|
|
816
869
|
<div class="menu-text">
|
|
817
870
|
<div class="icon">
|
|
818
|
-
<span
|
|
871
|
+
<span
|
|
872
|
+
nz-icon
|
|
873
|
+
[ngClass]="'backgroup_' + index"
|
|
874
|
+
[nzType]="
|
|
875
|
+
item?.selected == true ? item.icon?.value : item.icon
|
|
876
|
+
"
|
|
877
|
+
></span>
|
|
819
878
|
</div>
|
|
820
879
|
<div class="text">{{ item.text }}</div>
|
|
821
880
|
</div>
|
|
@@ -823,7 +882,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
823
882
|
<li nz-menu-item *ngIf="hasMoreItems" (click)="toggleShowAll()">
|
|
824
883
|
<div class="menu-text" nz-dropdown [nzDropdownMenu]="menu">
|
|
825
884
|
<div class="icon">
|
|
826
|
-
<span
|
|
885
|
+
<span
|
|
886
|
+
nz-icon
|
|
887
|
+
nzType="ordered-list"
|
|
888
|
+
class="backgroup_more"
|
|
889
|
+
></span>
|
|
827
890
|
</div>
|
|
828
891
|
<div class="text">更多</div>
|
|
829
892
|
</div>
|
|
@@ -837,6 +900,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
837
900
|
</li>
|
|
838
901
|
</ul>
|
|
839
902
|
</layout-default-header-item>
|
|
903
|
+
<layout-default-header-item direction="right">
|
|
904
|
+
<gram-notice-center></gram-notice-center>
|
|
905
|
+
</layout-default-header-item>
|
|
840
906
|
<layout-default-header-item direction="right">
|
|
841
907
|
<header-user></header-user>
|
|
842
908
|
</layout-default-header-item>
|
|
@@ -855,8 +921,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
855
921
|
LayoutDefaultModule,
|
|
856
922
|
RuntimeSharedImportsModule,
|
|
857
923
|
GramDeonHeaderUserModule,
|
|
924
|
+
GramNoticeCenterModule,
|
|
858
925
|
NavUserComponent,
|
|
859
|
-
HeaderUserComponent$1
|
|
926
|
+
HeaderUserComponent$1,
|
|
860
927
|
], styles: [":host ::ng-deep .backgroup_more{background:#e8a0d6}\n"] }]
|
|
861
928
|
}], ctorParameters: () => [{ type: i2._HttpClient }, { type: i1$1.Router }, { type: i2.MenuService }, { type: i2.SettingsService }, { type: i3.ACLService }], propDecorators: { menuContainer: [{
|
|
862
929
|
type: ViewChild,
|
|
@@ -912,10 +979,10 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
912
979
|
//hideCollapse: true,
|
|
913
980
|
hideAside: false,
|
|
914
981
|
//hideLogo: true,
|
|
915
|
-
//title: null,
|
|
982
|
+
//title: null,
|
|
916
983
|
logoExpanded: `./assets/images/logo3.png`,
|
|
917
984
|
logoCollapsed: `./assets/images/logo3.png`,
|
|
918
|
-
showHeaderCollapse: false
|
|
985
|
+
showHeaderCollapse: false,
|
|
919
986
|
};
|
|
920
987
|
navMenuData = null;
|
|
921
988
|
constructor(router, activatedRoute, menuService, settingService, http, aclService) {
|
|
@@ -995,14 +1062,38 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
995
1062
|
}
|
|
996
1063
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: i2.MenuService }, { token: i2.SettingsService }, { token: i2._HttpClient }, { token: i3.ACLService }], target: i0.ɵɵFactoryTarget.Component });
|
|
997
1064
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutManageComponent, isStandalone: true, selector: "layout-manage", host: { classAttribute: "layout-basic" }, viewQueries: [{ propertyName: "menuContainer", first: true, predicate: ["menuContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
998
|
-
<nz-spin
|
|
999
|
-
|
|
1065
|
+
<nz-spin
|
|
1066
|
+
[nzSpinning]="loading"
|
|
1067
|
+
nzTip="拼命加载中..."
|
|
1068
|
+
class="deon-list-spin"
|
|
1069
|
+
>
|
|
1070
|
+
<layout-default
|
|
1071
|
+
[options]="options"
|
|
1072
|
+
[content]="contentTpl"
|
|
1073
|
+
[asideUser]="asideUserTpl"
|
|
1074
|
+
[nav]="navTpl"
|
|
1075
|
+
>
|
|
1000
1076
|
<layout-default-header-item direction="middle">
|
|
1001
|
-
<ul
|
|
1002
|
-
|
|
1077
|
+
<ul
|
|
1078
|
+
nz-menu
|
|
1079
|
+
nzMode="horizontal"
|
|
1080
|
+
class="header-item-ul"
|
|
1081
|
+
#menuContainer
|
|
1082
|
+
*ngIf="visibleMenuData!! && visibleMenuData != null"
|
|
1083
|
+
>
|
|
1084
|
+
<li
|
|
1085
|
+
nz-menu-item
|
|
1086
|
+
*ngFor="let item of visibleMenuData; let index = index"
|
|
1087
|
+
[nzSelected]="item.selected"
|
|
1088
|
+
(click)="menuClick(item)"
|
|
1089
|
+
>
|
|
1003
1090
|
<div class="menu-text">
|
|
1004
1091
|
<div class="icon">
|
|
1005
|
-
<span
|
|
1092
|
+
<span
|
|
1093
|
+
nz-icon
|
|
1094
|
+
[ngClass]="'backgroup_' + index"
|
|
1095
|
+
[nzType]="item?.selected == true ? item.icon : item.icon"
|
|
1096
|
+
></span>
|
|
1006
1097
|
</div>
|
|
1007
1098
|
<div class="text">{{ item.text }}</div>
|
|
1008
1099
|
</div>
|
|
@@ -1010,7 +1101,11 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
1010
1101
|
<li nz-menu-item *ngIf="hasMoreItems" (click)="toggleShowAll()">
|
|
1011
1102
|
<div class="menu-text" nz-dropdown [nzDropdownMenu]="menu">
|
|
1012
1103
|
<div class="icon">
|
|
1013
|
-
<span
|
|
1104
|
+
<span
|
|
1105
|
+
nz-icon
|
|
1106
|
+
nzType="ordered-list"
|
|
1107
|
+
class="backgroup_more"
|
|
1108
|
+
></span>
|
|
1014
1109
|
</div>
|
|
1015
1110
|
<div class="text">更多</div>
|
|
1016
1111
|
</div>
|
|
@@ -1024,6 +1119,9 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
1024
1119
|
</li>
|
|
1025
1120
|
</ul>
|
|
1026
1121
|
</layout-default-header-item>
|
|
1122
|
+
<layout-default-header-item direction="right">
|
|
1123
|
+
<gram-notice-center></gram-notice-center>
|
|
1124
|
+
</layout-default-header-item>
|
|
1027
1125
|
<layout-default-header-item direction="right">
|
|
1028
1126
|
<header-user></header-user>
|
|
1029
1127
|
</layout-default-header-item>
|
|
@@ -1042,28 +1140,52 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
1042
1140
|
</div>
|
|
1043
1141
|
</ng-template>
|
|
1044
1142
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1143
|
+
<ng-template #navTpl>
|
|
1144
|
+
<div class="nav-menu">
|
|
1145
|
+
<nav-menu [data]="navMenuData"></nav-menu>
|
|
1146
|
+
</div>
|
|
1147
|
+
</ng-template>
|
|
1050
1148
|
</layout-default>
|
|
1051
1149
|
</nz-spin>
|
|
1052
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "component", type: NavMenuComponent, selector: "nav-menu", inputs: ["data"] }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
1150
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "ngmodule", type: GramNoticeCenterModule }, { kind: "component", type: i11.GramNoticeCenterComponent, selector: "gram-notice-center" }, { kind: "component", type: NavMenuComponent, selector: "nav-menu", inputs: ["data"] }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
1053
1151
|
}
|
|
1054
1152
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageComponent, decorators: [{
|
|
1055
1153
|
type: Component,
|
|
1056
1154
|
args: [{
|
|
1057
1155
|
selector: 'layout-manage',
|
|
1058
1156
|
template: `
|
|
1059
|
-
<nz-spin
|
|
1060
|
-
|
|
1157
|
+
<nz-spin
|
|
1158
|
+
[nzSpinning]="loading"
|
|
1159
|
+
nzTip="拼命加载中..."
|
|
1160
|
+
class="deon-list-spin"
|
|
1161
|
+
>
|
|
1162
|
+
<layout-default
|
|
1163
|
+
[options]="options"
|
|
1164
|
+
[content]="contentTpl"
|
|
1165
|
+
[asideUser]="asideUserTpl"
|
|
1166
|
+
[nav]="navTpl"
|
|
1167
|
+
>
|
|
1061
1168
|
<layout-default-header-item direction="middle">
|
|
1062
|
-
<ul
|
|
1063
|
-
|
|
1169
|
+
<ul
|
|
1170
|
+
nz-menu
|
|
1171
|
+
nzMode="horizontal"
|
|
1172
|
+
class="header-item-ul"
|
|
1173
|
+
#menuContainer
|
|
1174
|
+
*ngIf="visibleMenuData!! && visibleMenuData != null"
|
|
1175
|
+
>
|
|
1176
|
+
<li
|
|
1177
|
+
nz-menu-item
|
|
1178
|
+
*ngFor="let item of visibleMenuData; let index = index"
|
|
1179
|
+
[nzSelected]="item.selected"
|
|
1180
|
+
(click)="menuClick(item)"
|
|
1181
|
+
>
|
|
1064
1182
|
<div class="menu-text">
|
|
1065
1183
|
<div class="icon">
|
|
1066
|
-
<span
|
|
1184
|
+
<span
|
|
1185
|
+
nz-icon
|
|
1186
|
+
[ngClass]="'backgroup_' + index"
|
|
1187
|
+
[nzType]="item?.selected == true ? item.icon : item.icon"
|
|
1188
|
+
></span>
|
|
1067
1189
|
</div>
|
|
1068
1190
|
<div class="text">{{ item.text }}</div>
|
|
1069
1191
|
</div>
|
|
@@ -1071,7 +1193,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1071
1193
|
<li nz-menu-item *ngIf="hasMoreItems" (click)="toggleShowAll()">
|
|
1072
1194
|
<div class="menu-text" nz-dropdown [nzDropdownMenu]="menu">
|
|
1073
1195
|
<div class="icon">
|
|
1074
|
-
<span
|
|
1196
|
+
<span
|
|
1197
|
+
nz-icon
|
|
1198
|
+
nzType="ordered-list"
|
|
1199
|
+
class="backgroup_more"
|
|
1200
|
+
></span>
|
|
1075
1201
|
</div>
|
|
1076
1202
|
<div class="text">更多</div>
|
|
1077
1203
|
</div>
|
|
@@ -1085,6 +1211,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1085
1211
|
</li>
|
|
1086
1212
|
</ul>
|
|
1087
1213
|
</layout-default-header-item>
|
|
1214
|
+
<layout-default-header-item direction="right">
|
|
1215
|
+
<gram-notice-center></gram-notice-center>
|
|
1216
|
+
</layout-default-header-item>
|
|
1088
1217
|
<layout-default-header-item direction="right">
|
|
1089
1218
|
<header-user></header-user>
|
|
1090
1219
|
</layout-default-header-item>
|
|
@@ -1103,11 +1232,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1103
1232
|
</div>
|
|
1104
1233
|
</ng-template>
|
|
1105
1234
|
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1235
|
+
<ng-template #navTpl>
|
|
1236
|
+
<div class="nav-menu">
|
|
1237
|
+
<nav-menu [data]="navMenuData"></nav-menu>
|
|
1238
|
+
</div>
|
|
1239
|
+
</ng-template>
|
|
1111
1240
|
</layout-default>
|
|
1112
1241
|
</nz-spin>
|
|
1113
1242
|
`,
|
|
@@ -1116,13 +1245,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1116
1245
|
},
|
|
1117
1246
|
imports: [
|
|
1118
1247
|
CommonModule,
|
|
1119
|
-
FormsModule,
|
|
1248
|
+
FormsModule,
|
|
1249
|
+
ReactiveFormsModule,
|
|
1120
1250
|
LayoutDefaultModule,
|
|
1121
1251
|
RuntimeSharedImportsModule,
|
|
1122
1252
|
GramDeonHeaderUserModule,
|
|
1253
|
+
GramNoticeCenterModule,
|
|
1123
1254
|
NavMenuComponent,
|
|
1124
|
-
HeaderUserComponent$1
|
|
1125
|
-
]
|
|
1255
|
+
HeaderUserComponent$1,
|
|
1256
|
+
],
|
|
1126
1257
|
}]
|
|
1127
1258
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i2.MenuService }, { type: i2.SettingsService }, { type: i2._HttpClient }, { type: i3.ACLService }], propDecorators: { menuContainer: [{
|
|
1128
1259
|
type: ViewChild,
|
|
@@ -1143,7 +1274,7 @@ class LayoutManageViewComponent extends LayoutBaseService {
|
|
|
1143
1274
|
hideAside: true,
|
|
1144
1275
|
//hideLogo: true,
|
|
1145
1276
|
// title: null,
|
|
1146
|
-
showHeaderCollapse: false
|
|
1277
|
+
showHeaderCollapse: false,
|
|
1147
1278
|
};
|
|
1148
1279
|
constructor(router, activatedRoute, menuService, settingService, http, aclService) {
|
|
1149
1280
|
super(http, router, menuService, settingService, aclService);
|
|
@@ -1162,20 +1293,38 @@ class LayoutManageViewComponent extends LayoutBaseService {
|
|
|
1162
1293
|
initModuleMenuData(parentInfo, e) { }
|
|
1163
1294
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageViewComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: i2.MenuService }, { token: i2.SettingsService }, { token: i2._HttpClient }, { token: i3.ACLService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1164
1295
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutManageViewComponent, isStandalone: true, selector: "layout-manage-view", host: { classAttribute: "layout-basic" }, usesInheritance: true, ngImport: i0, template: `
|
|
1165
|
-
<nz-spin
|
|
1296
|
+
<nz-spin
|
|
1297
|
+
[nzSpinning]="loading"
|
|
1298
|
+
nzTip="拼命加载中..."
|
|
1299
|
+
class="deon-list-spin"
|
|
1300
|
+
>
|
|
1166
1301
|
<layout-default [options]="options" [content]="contentTpl">
|
|
1167
1302
|
<layout-default-header-item direction="middle">
|
|
1168
1303
|
<ul nz-menu nzMode="horizontal" class="header-item-ul">
|
|
1169
|
-
<li
|
|
1304
|
+
<li
|
|
1305
|
+
nz-menu-item
|
|
1306
|
+
*ngFor="let item of menuData; let index = index"
|
|
1307
|
+
[nzSelected]="item.selected"
|
|
1308
|
+
(click)="menuClick(item)"
|
|
1309
|
+
>
|
|
1170
1310
|
<div class="menu-text">
|
|
1171
1311
|
<div class="icon">
|
|
1172
|
-
<span
|
|
1312
|
+
<span
|
|
1313
|
+
nz-icon
|
|
1314
|
+
[ngClass]="'backgroup_' + index"
|
|
1315
|
+
[nzType]="
|
|
1316
|
+
item?.selected == true ? item.icon?.value : item.icon
|
|
1317
|
+
"
|
|
1318
|
+
></span>
|
|
1173
1319
|
</div>
|
|
1174
1320
|
<div class="text">{{ item.text }}</div>
|
|
1175
1321
|
</div>
|
|
1176
1322
|
</li>
|
|
1177
1323
|
</ul>
|
|
1178
1324
|
</layout-default-header-item>
|
|
1325
|
+
<layout-default-header-item direction="right">
|
|
1326
|
+
<gram-notice-center></gram-notice-center>
|
|
1327
|
+
</layout-default-header-item>
|
|
1179
1328
|
<layout-default-header-item direction="right">
|
|
1180
1329
|
<header-user></header-user>
|
|
1181
1330
|
</layout-default-header-item>
|
|
@@ -1185,27 +1334,45 @@ class LayoutManageViewComponent extends LayoutBaseService {
|
|
|
1185
1334
|
</ng-template>
|
|
1186
1335
|
</layout-default>
|
|
1187
1336
|
</nz-spin>
|
|
1188
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
1337
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i6$1.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i10$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "ngmodule", type: GramNoticeCenterModule }, { kind: "component", type: i11.GramNoticeCenterComponent, selector: "gram-notice-center" }, { kind: "component", type: HeaderUserComponent$1, selector: "header-user" }] });
|
|
1189
1338
|
}
|
|
1190
1339
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageViewComponent, decorators: [{
|
|
1191
1340
|
type: Component,
|
|
1192
1341
|
args: [{
|
|
1193
1342
|
selector: 'layout-manage-view',
|
|
1194
1343
|
template: `
|
|
1195
|
-
<nz-spin
|
|
1344
|
+
<nz-spin
|
|
1345
|
+
[nzSpinning]="loading"
|
|
1346
|
+
nzTip="拼命加载中..."
|
|
1347
|
+
class="deon-list-spin"
|
|
1348
|
+
>
|
|
1196
1349
|
<layout-default [options]="options" [content]="contentTpl">
|
|
1197
1350
|
<layout-default-header-item direction="middle">
|
|
1198
1351
|
<ul nz-menu nzMode="horizontal" class="header-item-ul">
|
|
1199
|
-
<li
|
|
1352
|
+
<li
|
|
1353
|
+
nz-menu-item
|
|
1354
|
+
*ngFor="let item of menuData; let index = index"
|
|
1355
|
+
[nzSelected]="item.selected"
|
|
1356
|
+
(click)="menuClick(item)"
|
|
1357
|
+
>
|
|
1200
1358
|
<div class="menu-text">
|
|
1201
1359
|
<div class="icon">
|
|
1202
|
-
<span
|
|
1360
|
+
<span
|
|
1361
|
+
nz-icon
|
|
1362
|
+
[ngClass]="'backgroup_' + index"
|
|
1363
|
+
[nzType]="
|
|
1364
|
+
item?.selected == true ? item.icon?.value : item.icon
|
|
1365
|
+
"
|
|
1366
|
+
></span>
|
|
1203
1367
|
</div>
|
|
1204
1368
|
<div class="text">{{ item.text }}</div>
|
|
1205
1369
|
</div>
|
|
1206
1370
|
</li>
|
|
1207
1371
|
</ul>
|
|
1208
1372
|
</layout-default-header-item>
|
|
1373
|
+
<layout-default-header-item direction="right">
|
|
1374
|
+
<gram-notice-center></gram-notice-center>
|
|
1375
|
+
</layout-default-header-item>
|
|
1209
1376
|
<layout-default-header-item direction="right">
|
|
1210
1377
|
<header-user></header-user>
|
|
1211
1378
|
</layout-default-header-item>
|
|
@@ -1223,8 +1390,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1223
1390
|
RuntimeSharedImportsModule,
|
|
1224
1391
|
LayoutDefaultModule,
|
|
1225
1392
|
GramDeonHeaderUserModule,
|
|
1226
|
-
|
|
1227
|
-
|
|
1393
|
+
GramNoticeCenterModule,
|
|
1394
|
+
HeaderUserComponent$1,
|
|
1395
|
+
],
|
|
1228
1396
|
}]
|
|
1229
1397
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i2.MenuService }, { type: i2.SettingsService }, { type: i2._HttpClient }, { type: i3.ACLService }] });
|
|
1230
1398
|
|
|
@@ -1256,7 +1424,12 @@ class LayoutAdminComponent extends LayoutBaseService {
|
|
|
1256
1424
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutAdminComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: i2.MenuService }, { token: i2.SettingsService }, { token: i2._HttpClient }, { token: i3.ACLService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1257
1425
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutAdminComponent, isStandalone: true, selector: "layout-admin", usesInheritance: true, ngImport: i0, template: `
|
|
1258
1426
|
<layout-default [options]="options" [content]="contentTpl">
|
|
1259
|
-
<layout-default-header-item direction="middle">
|
|
1427
|
+
<layout-default-header-item direction="middle">
|
|
1428
|
+
</layout-default-header-item>
|
|
1429
|
+
|
|
1430
|
+
<layout-default-header-item direction="right">
|
|
1431
|
+
<gram-notice-center></gram-notice-center>
|
|
1432
|
+
</layout-default-header-item>
|
|
1260
1433
|
|
|
1261
1434
|
<layout-default-header-item direction="right">
|
|
1262
1435
|
<gram-header-user></gram-header-user>
|
|
@@ -1266,7 +1439,7 @@ class LayoutAdminComponent extends LayoutBaseService {
|
|
|
1266
1439
|
<router-outlet></router-outlet>
|
|
1267
1440
|
</ng-template>
|
|
1268
1441
|
</layout-default>
|
|
1269
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "component", type:
|
|
1442
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "ngmodule", type: GramNoticeCenterModule }, { kind: "component", type: i11.GramNoticeCenterComponent, selector: "gram-notice-center" }, { kind: "ngmodule", type: GramDeonHeaderUserModule }, { kind: "component", type: i6$2.GramHeaderUserComponent, selector: "gram-header-user" }] });
|
|
1270
1443
|
}
|
|
1271
1444
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutAdminComponent, decorators: [{
|
|
1272
1445
|
type: Component,
|
|
@@ -1274,7 +1447,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1274
1447
|
selector: 'layout-admin',
|
|
1275
1448
|
template: `
|
|
1276
1449
|
<layout-default [options]="options" [content]="contentTpl">
|
|
1277
|
-
<layout-default-header-item direction="middle">
|
|
1450
|
+
<layout-default-header-item direction="middle">
|
|
1451
|
+
</layout-default-header-item>
|
|
1452
|
+
|
|
1453
|
+
<layout-default-header-item direction="right">
|
|
1454
|
+
<gram-notice-center></gram-notice-center>
|
|
1455
|
+
</layout-default-header-item>
|
|
1278
1456
|
|
|
1279
1457
|
<layout-default-header-item direction="right">
|
|
1280
1458
|
<gram-header-user></gram-header-user>
|
|
@@ -1289,8 +1467,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1289
1467
|
CommonModule,
|
|
1290
1468
|
RouterModule,
|
|
1291
1469
|
LayoutDefaultModule,
|
|
1292
|
-
|
|
1293
|
-
|
|
1470
|
+
GramNoticeCenterModule,
|
|
1471
|
+
GramDeonHeaderUserModule,
|
|
1472
|
+
],
|
|
1294
1473
|
}]
|
|
1295
1474
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i2.MenuService }, { type: i2.SettingsService }, { type: i2._HttpClient }, { type: i3.ACLService }] });
|
|
1296
1475
|
|
|
@@ -2262,7 +2441,7 @@ class LayoutBasicComponent {
|
|
|
2262
2441
|
<setting-drawer />
|
|
2263
2442
|
}
|
|
2264
2443
|
<theme-btn />
|
|
2265
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i5$1.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzMenuModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i20.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: SettingDrawerModule }, { kind: "component", type: i6$
|
|
2444
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i5$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i5$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i5$1.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzMenuModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i20.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: SettingDrawerModule }, { kind: "component", type: i6$3.SettingDrawerComponent, selector: "setting-drawer", inputs: ["autoApplyColor", "compilingText", "devTips", "lessJs"] }, { kind: "component", type: ThemeBtnComponent, selector: "theme-btn", inputs: ["types", "devTips", "deployUrl"], outputs: ["themeChange"] }, { kind: "component", type: HeaderSearchComponent, selector: "header-search", inputs: ["toggleChange"], outputs: ["toggleChangeChange"] }, { kind: "component", type: HeaderNotifyComponent, selector: "header-notify" }, { kind: "component", type: HeaderTaskComponent, selector: "header-task" }, { kind: "component", type: HeaderIconComponent, selector: "header-icon" }, { kind: "component", type: HeaderRTLComponent, selector: "header-rtl" }, { kind: "component", type: HeaderI18nComponent, selector: "header-i18n", inputs: ["showLangText"] }, { kind: "component", type: HeaderClearStorageComponent, selector: "header-clear-storage" }, { kind: "component", type: HeaderFullScreenComponent, selector: "header-fullscreen" }, { kind: "component", type: HeaderUserComponent, selector: "header-user" }] });
|
|
2266
2445
|
}
|
|
2267
2446
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutBasicComponent, decorators: [{
|
|
2268
2447
|
type: Component,
|