@ebuilding/runtime 3.2.0 → 3.2.1
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/auth/login/login.component.d.ts +4 -2
- package/auth/login-cust/login.component.d.ts +4 -2
- package/core/app-feature-config.service.d.ts +5 -26
- package/fesm2022/auth.mjs +27 -18
- package/fesm2022/auth.mjs.map +1 -1
- package/fesm2022/core.mjs +9 -75
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/layout.mjs +43 -28
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/user-center.mjs +25 -9
- package/fesm2022/user-center.mjs.map +1 -1
- package/layout/basic/widgets/user.component.d.ts +1 -0
- package/layout/components/nav-user/index.d.ts +1 -0
- package/layout/components/user/user.component.d.ts +3 -1
- package/package.json +49 -49
- package/user-center/src/detail/user-center-detail.component.d.ts +3 -1
package/fesm2022/layout.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import * as i2 from '@delon/theme';
|
|
|
9
9
|
import { I18nPipe, SettingsService, ALAIN_I18N_TOKEN, RTLService } from '@delon/theme';
|
|
10
10
|
import * as i5$1 from '@delon/theme/layout-default';
|
|
11
11
|
import { LayoutDefaultModule } from '@delon/theme/layout-default';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i9 from '@ebuilding/runtime/shared-imports';
|
|
13
13
|
import { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
|
|
14
14
|
import * as i5$2 from '@ebuilding/abc/header-user';
|
|
15
15
|
import { GramDeonHeaderUserModule } from '@ebuilding/abc/header-user';
|
|
@@ -24,33 +24,35 @@ import { base64Encode } from '@ebuilding/base/shared.util/tool';
|
|
|
24
24
|
import * as i4$1 from 'ng-zorro-antd/message';
|
|
25
25
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
26
26
|
import * as i6 from '@ebuilding/base/shared.srv/global.event';
|
|
27
|
+
import * as i7 from '@ebuilding/base/shared.srv/app-feature-config.service';
|
|
28
|
+
import { AppFeatureConfigService } from '@ebuilding/base/shared.srv/app-feature-config.service';
|
|
27
29
|
import * as i3 from '@delon/acl';
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
30
|
+
import * as i11 from 'ng-zorro-antd/button';
|
|
31
|
+
import * as i12 from 'ng-zorro-antd/core/transition-patch';
|
|
32
|
+
import * as i13 from 'ng-zorro-antd/core/wave';
|
|
31
33
|
import * as i1$2 from 'ng-zorro-antd/menu';
|
|
32
34
|
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
|
33
35
|
import * as i2$1 from 'ng-zorro-antd/dropdown';
|
|
34
36
|
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
|
|
35
|
-
import * as
|
|
37
|
+
import * as i16 from 'ng-zorro-antd/grid';
|
|
36
38
|
import { NzGridModule } from 'ng-zorro-antd/grid';
|
|
37
|
-
import * as
|
|
39
|
+
import * as i17 from 'ng-zorro-antd/select';
|
|
38
40
|
import * as i3$1 from 'ng-zorro-antd/icon';
|
|
39
41
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
40
42
|
import * as i2$2 from 'ng-zorro-antd/input';
|
|
41
43
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
42
|
-
import * as
|
|
43
|
-
import * as
|
|
44
|
+
import * as i20 from 'ng-zorro-antd/form';
|
|
45
|
+
import * as i21 from 'ng-zorro-antd/avatar';
|
|
44
46
|
import { NzAvatarModule } from 'ng-zorro-antd/avatar';
|
|
45
47
|
import { filter } from 'rxjs/operators';
|
|
46
|
-
import * as i7 from '@ebuilding/runtime/core';
|
|
48
|
+
import * as i7$1 from '@ebuilding/runtime/core';
|
|
47
49
|
import { RUNTIME_CORE_ENVIRONMENT } from '@ebuilding/runtime/core';
|
|
48
|
-
import * as i17 from 'ng-zorro-antd/badge';
|
|
50
|
+
import * as i17$1 from 'ng-zorro-antd/badge';
|
|
49
51
|
import { NzBadgeModule } from 'ng-zorro-antd/badge';
|
|
50
52
|
import _ from 'lodash';
|
|
51
|
-
import * as i10
|
|
53
|
+
import * as i10 from 'ng-zorro-antd/spin';
|
|
52
54
|
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
53
|
-
import * as i6$
|
|
55
|
+
import * as i6$1 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';
|
|
@@ -60,7 +62,7 @@ import { NzI18nService } from 'ng-zorro-antd/i18n';
|
|
|
60
62
|
import * as i4$2 from 'ng-zorro-antd/auto-complete';
|
|
61
63
|
import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
|
|
62
64
|
import { BehaviorSubject, debounceTime, distinctUntilChanged, tap } from 'rxjs';
|
|
63
|
-
import * as i8
|
|
65
|
+
import * as i8 from 'ng-zorro-antd/card';
|
|
64
66
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
|
65
67
|
|
|
66
68
|
class LayoutAuthComponent {
|
|
@@ -115,6 +117,7 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
115
117
|
fb;
|
|
116
118
|
tokenService;
|
|
117
119
|
globalSrv;
|
|
120
|
+
featureConfig;
|
|
118
121
|
cdr;
|
|
119
122
|
get user() {
|
|
120
123
|
return this.settings.user;
|
|
@@ -129,7 +132,7 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
129
132
|
setIdIsOkLoading = false;
|
|
130
133
|
validateEIdForm;
|
|
131
134
|
myIsVisible = false;
|
|
132
|
-
constructor(modalService, settings, router, http, modal, msg, fb, tokenService, globalSrv, cdr) {
|
|
135
|
+
constructor(modalService, settings, router, http, modal, msg, fb, tokenService, globalSrv, featureConfig, cdr) {
|
|
133
136
|
this.modalService = modalService;
|
|
134
137
|
this.settings = settings;
|
|
135
138
|
this.router = router;
|
|
@@ -139,6 +142,7 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
139
142
|
this.fb = fb;
|
|
140
143
|
this.tokenService = tokenService;
|
|
141
144
|
this.globalSrv = globalSrv;
|
|
145
|
+
this.featureConfig = featureConfig;
|
|
142
146
|
this.cdr = cdr;
|
|
143
147
|
this.avatar = this.user?.avatar;
|
|
144
148
|
if (this.avatar == null) {
|
|
@@ -180,6 +184,7 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
180
184
|
if (res.success) {
|
|
181
185
|
this.isVisible = true;
|
|
182
186
|
this.msg.success('密码修改成功,请重新登录');
|
|
187
|
+
this.featureConfig.clear();
|
|
183
188
|
this.tokenService.clear();
|
|
184
189
|
this.router.navigateByUrl(this.tokenService.login_url);
|
|
185
190
|
}
|
|
@@ -219,6 +224,7 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
219
224
|
this.http.post(`${ModuleAPI.system}/auth/logout`, {
|
|
220
225
|
sourceType: "PC"
|
|
221
226
|
}).subscribe((res) => {
|
|
227
|
+
this.featureConfig.clear();
|
|
222
228
|
this.tokenService.clear();
|
|
223
229
|
this.router.navigateByUrl(this.tokenService.login_url);
|
|
224
230
|
});
|
|
@@ -290,8 +296,8 @@ let HeaderUserComponent$1 = class HeaderUserComponent {
|
|
|
290
296
|
});
|
|
291
297
|
}
|
|
292
298
|
}
|
|
293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderUserComponent, deps: [{ token: i1.NzModalService }, { token: i2.SettingsService }, { token: i1$1.Router }, { token: i2._HttpClient }, { token: i1.NzModalService }, { token: i4$1.NzMessageService }, { token: i5.FormBuilder }, { token: DA_SERVICE_TOKEN }, { token: i6.GramGlobalService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
294
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HeaderUserComponent, isStandalone: true, selector: "header-user", ngImport: i0, template: "<div class=\"alain-default__nav-item d-flex align-items-center px-sm\" nz-dropdown nzPlacement=\"bottomRight\"\n nzTrigger=\"click\" [nzDropdownMenu]=\"userMenu\">\n <nz-avatar [nzSrc]=\"avatar\" nzSize=\"small\" class=\"mr-sm\"></nz-avatar>\n {{ user?.name }}\n</div>\n<nz-dropdown-menu #userMenu=\"nzDropdownMenu\">\n <div nz-menu class=\"width-sm menu-user-dropdown\">\n <ng-container *ngIf=\"listEId!! && listEId.length > 1\">\n <div nz-menu-item (click)=\"goToChangeSetId()\">\n <span nz-icon nzType=\"idcard\"></span>\n \u8EAB\u4EFD\u5207\u6362\n </div>\n <div nz-menu-divider></div>\n </ng-container>\n <div nz-menu-item (click)=\"setScreenfull()\">\n <i nz-icon nzType=\"fullscreen\" class=\"mr-sm\"></i>\n \u5168\u5C4F\u663E\u793A\n </div>\n <div nz-menu-item (click)=\"showAdmin()\" *aclIf=\"'SET'\">\n <i nz-icon nzType=\"setting\" class=\"mr-sm\"></i>\n \u540E\u53F0\u8BBE\u7F6E\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item (click)=\"showModal()\">\n <i nz-icon nzType=\"eye\" class=\"mr-sm\"></i>\n \u5BC6\u7801\u4FEE\u6539\n </div>\n <div nz-menu-item (click)=\"logout()\">\n <i nz-icon nzType=\"logout\" class=\"mr-sm\"></i>\n \u9000\u51FA\u7CFB\u7EDF\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item>\n <i nz-icon nzType=\"number\" class=\"mr-sm\"></i>\n <label class=\"customerId\">\u4F01\u4E1AID</label>{{ customerId }}\n </div>\n </div>\n</nz-dropdown-menu>\n\n<nz-modal [(nzVisible)]=\"isVisible\" nzTitle=\"\u5BC6\u7801\u4FEE\u6539\" (nzOnCancel)=\"handleCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <ng-container *nzModalContent>\n <form nz-form [formGroup]=\"validateForm\" (ngSubmit)=\"submitForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"password\" nzRequired>\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u8F93\u5165\u5BC6\u7801\">\n <input nz-input type=\"password\" id=\"password\" formControlName=\"password\" maxLength=\"50\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"newPassword\" nzRequired>\u65B0\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801\">\n <input nz-input type=\"password\" id=\"newPassword\" formControlName=\"newPassword\" maxLength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"confirmPassword\" nzRequired>\u786E\u8BA4\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" [nzErrorTip]=\"errorTpl\">\n <input nz-input type=\"password\" formControlName=\"confirmPassword\" id=\"confirmPassword\" maxLength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n <ng-template #errorTpl let-control>\n <ng-container *ngIf=\"control.hasError('required')\">\u8BF7\u8F93\u5165\u786E\u8BA4\u5BC6\u7801</ng-container>\n <ng-container *ngIf=\"control.hasError('confirm')\"> \u60A8\u4FE9\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4 </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"handleCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"isOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n </ng-container>\n</nz-modal>\n\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\">\n {{ defaultEName }}\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"setId\" 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\n<nz-modal [(nzVisible)]=\"myIsVisible\" nzTitle=\"\u5173\u4E8E\u6211\u4EEC\" (nzOnCancel)=\"myCancel()\" nzClassName=\"modalMe\">\n <div *nzModalContent>\n <p>\n <label class=\"title\">\u7248\u672C\u53F7</label>\n <label>2.1.0</label>\n </p>\n <p>\n <label class=\"title\">\u8054\u7CFB\u4EBA</label>\n <label>Jack Ren</label>\n </p>\n <p>\n <label class=\"title\">\u8054\u7CFB\u90AE\u7BB1</label>\n <label>jackren0913@gmail.com</label>\n </p>\n <p>\n <label class=\"title\">\u4F01\u4E1A\u540D\u79F0</label>\n <label>\u897F\u5B89\u8398\u58A8\u79D1\u6280\u6709\u9650\u516C\u53F8</label>\n </p>\n </div>\n <div *nzModalFooter>\n <button nz-button nzType=\"default\" (click)=\"myCancel()\">\u5173\u95ED</button>\n </div>\n</nz-modal>", styles: [":host ::ng-deep{padding:0;overflow:auto;margin:auto}:host ::ng-deep header-user-pwd{display:flex;flex:1;width:100%;height:100%;padding:20px}:host ::ng-deep .alain-default__nav-item,:host ::ng-deep .alain-default__nav nz-badge{color:#262626}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: NzModalModule }, { 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: i1.NzModalFooterDirective, selector: "[nzModalFooter]", exportAs: ["nzModalFooter"] }, { kind: "directive", type: i1.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { 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: 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: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { 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: 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: "directive", type: i2$2.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
299
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderUserComponent, deps: [{ token: i1.NzModalService }, { token: i2.SettingsService }, { token: i1$1.Router }, { token: i2._HttpClient }, { token: i1.NzModalService }, { token: i4$1.NzMessageService }, { token: i5.FormBuilder }, { token: DA_SERVICE_TOKEN }, { token: i6.GramGlobalService }, { token: i7.AppFeatureConfigService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
300
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HeaderUserComponent, isStandalone: true, selector: "header-user", ngImport: i0, template: "<div class=\"alain-default__nav-item d-flex align-items-center px-sm\" nz-dropdown nzPlacement=\"bottomRight\"\n nzTrigger=\"click\" [nzDropdownMenu]=\"userMenu\">\n <nz-avatar [nzSrc]=\"avatar\" nzSize=\"small\" class=\"mr-sm\"></nz-avatar>\n {{ user?.name }}\n</div>\n<nz-dropdown-menu #userMenu=\"nzDropdownMenu\">\n <div nz-menu class=\"width-sm menu-user-dropdown\">\n <ng-container *ngIf=\"listEId!! && listEId.length > 1\">\n <div nz-menu-item (click)=\"goToChangeSetId()\">\n <span nz-icon nzType=\"idcard\"></span>\n \u8EAB\u4EFD\u5207\u6362\n </div>\n <div nz-menu-divider></div>\n </ng-container>\n <div nz-menu-item (click)=\"setScreenfull()\">\n <i nz-icon nzType=\"fullscreen\" class=\"mr-sm\"></i>\n \u5168\u5C4F\u663E\u793A\n </div>\n <div nz-menu-item (click)=\"showAdmin()\" *aclIf=\"'SET'\">\n <i nz-icon nzType=\"setting\" class=\"mr-sm\"></i>\n \u540E\u53F0\u8BBE\u7F6E\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item (click)=\"showModal()\">\n <i nz-icon nzType=\"eye\" class=\"mr-sm\"></i>\n \u5BC6\u7801\u4FEE\u6539\n </div>\n <div nz-menu-item (click)=\"logout()\">\n <i nz-icon nzType=\"logout\" class=\"mr-sm\"></i>\n \u9000\u51FA\u7CFB\u7EDF\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item>\n <i nz-icon nzType=\"number\" class=\"mr-sm\"></i>\n <label class=\"customerId\">\u4F01\u4E1AID</label>{{ customerId }}\n </div>\n </div>\n</nz-dropdown-menu>\n\n<nz-modal [(nzVisible)]=\"isVisible\" nzTitle=\"\u5BC6\u7801\u4FEE\u6539\" (nzOnCancel)=\"handleCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <ng-container *nzModalContent>\n <form nz-form [formGroup]=\"validateForm\" (ngSubmit)=\"submitForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"password\" nzRequired>\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u8F93\u5165\u5BC6\u7801\">\n <input nz-input type=\"password\" id=\"password\" formControlName=\"password\" maxLength=\"50\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"newPassword\" nzRequired>\u65B0\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801\">\n <input nz-input type=\"password\" id=\"newPassword\" formControlName=\"newPassword\" maxLength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"confirmPassword\" nzRequired>\u786E\u8BA4\u5BC6\u7801</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" [nzErrorTip]=\"errorTpl\">\n <input nz-input type=\"password\" formControlName=\"confirmPassword\" id=\"confirmPassword\" maxLength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n <ng-template #errorTpl let-control>\n <ng-container *ngIf=\"control.hasError('required')\">\u8BF7\u8F93\u5165\u786E\u8BA4\u5BC6\u7801</ng-container>\n <ng-container *ngIf=\"control.hasError('confirm')\"> \u60A8\u4FE9\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4 </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"handleCancel()\" type=\"button\">\u53D6\u6D88</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"isOkLoading\">\u786E\u5B9A</button>\n </div>\n </div>\n </form>\n </ng-container>\n</nz-modal>\n\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\">\n {{ defaultEName }}\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"setId\" 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\n<nz-modal [(nzVisible)]=\"myIsVisible\" nzTitle=\"\u5173\u4E8E\u6211\u4EEC\" (nzOnCancel)=\"myCancel()\" nzClassName=\"modalMe\">\n <div *nzModalContent>\n <p>\n <label class=\"title\">\u7248\u672C\u53F7</label>\n <label>2.1.0</label>\n </p>\n <p>\n <label class=\"title\">\u8054\u7CFB\u4EBA</label>\n <label>Jack Ren</label>\n </p>\n <p>\n <label class=\"title\">\u8054\u7CFB\u90AE\u7BB1</label>\n <label>jackren0913@gmail.com</label>\n </p>\n <p>\n <label class=\"title\">\u4F01\u4E1A\u540D\u79F0</label>\n <label>\u897F\u5B89\u8398\u58A8\u79D1\u6280\u6709\u9650\u516C\u53F8</label>\n </p>\n </div>\n <div *nzModalFooter>\n <button nz-button nzType=\"default\" (click)=\"myCancel()\">\u5173\u95ED</button>\n </div>\n</nz-modal>", styles: [":host ::ng-deep{padding:0;overflow:auto;margin:auto}:host ::ng-deep header-user-pwd{display:flex;flex:1;width:100%;height:100%;padding:20px}:host ::ng-deep .alain-default__nav-item,:host ::ng-deep .alain-default__nav nz-badge{color:#262626}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: NzModalModule }, { 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: i1.NzModalFooterDirective, selector: "[nzModalFooter]", exportAs: ["nzModalFooter"] }, { kind: "directive", type: i1.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: RuntimeSharedImportsModule }, { 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: i9.FormSubmitTouchDirective, selector: "form[formGroup]" }, { kind: "directive", type: i3.ACLIfDirective, selector: "[aclIf]", inputs: ["aclIf", "aclIfThen", "aclIfElse", "except"], exportAs: ["aclIf"] }, { kind: "component", type: i11.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i12.ɵ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: i13.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { 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: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { 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: i16.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: i16.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i17.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i17.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: "directive", type: i2$2.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "directive", type: i20.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i20.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i20.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i20.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i21.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
295
301
|
};
|
|
296
302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderUserComponent$1, decorators: [{
|
|
297
303
|
type: Component,
|
|
@@ -304,7 +310,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
304
310
|
}], ctorParameters: () => [{ type: i1.NzModalService }, { type: i2.SettingsService }, { type: i1$1.Router }, { type: i2._HttpClient }, { type: i1.NzModalService }, { type: i4$1.NzMessageService }, { type: i5.FormBuilder }, { type: undefined, decorators: [{
|
|
305
311
|
type: Inject,
|
|
306
312
|
args: [DA_SERVICE_TOKEN]
|
|
307
|
-
}] }, { type: i6.GramGlobalService }, { type: i0.ChangeDetectorRef }] });
|
|
313
|
+
}] }, { type: i6.GramGlobalService }, { type: i7.AppFeatureConfigService }, { type: i0.ChangeDetectorRef }] });
|
|
308
314
|
|
|
309
315
|
class NavUserComponent {
|
|
310
316
|
settings;
|
|
@@ -325,6 +331,7 @@ class NavUserComponent {
|
|
|
325
331
|
return this.settings.user;
|
|
326
332
|
}
|
|
327
333
|
subscription = null;
|
|
334
|
+
featureConfigSubscription = null;
|
|
328
335
|
itemKey = 'home';
|
|
329
336
|
listEId = [];
|
|
330
337
|
defaultEName = null;
|
|
@@ -363,12 +370,14 @@ class NavUserComponent {
|
|
|
363
370
|
this.validateEIdForm = this.fb.group({
|
|
364
371
|
eId: [null, [Validators.required]],
|
|
365
372
|
});
|
|
366
|
-
|
|
373
|
+
// 先订阅配置变化,再强制读取当前租户配置,避免浏览器沿用旧登录会话的缓存。
|
|
374
|
+
this.featureConfigSubscription = this.featureConfig.config$.subscribe(config => {
|
|
367
375
|
this.enableWorkflow = config.enableWorkflow;
|
|
368
376
|
this.enableMessageCenter = config.enableMessageCenter;
|
|
369
377
|
this.getWorkflowCnt();
|
|
370
378
|
this.cdr.detectChanges();
|
|
371
379
|
});
|
|
380
|
+
this.featureConfig.refresh().subscribe();
|
|
372
381
|
this.getPageItemKey();
|
|
373
382
|
this.subscription = this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
|
|
374
383
|
this.getPageItemKey();
|
|
@@ -378,6 +387,9 @@ class NavUserComponent {
|
|
|
378
387
|
if (this.subscription) {
|
|
379
388
|
this.subscription.unsubscribe();
|
|
380
389
|
}
|
|
390
|
+
if (this.featureConfigSubscription) {
|
|
391
|
+
this.featureConfigSubscription.unsubscribe();
|
|
392
|
+
}
|
|
381
393
|
}
|
|
382
394
|
getPageItemKey() {
|
|
383
395
|
const url = this.router.url.split('?')[0];
|
|
@@ -458,6 +470,7 @@ class NavUserComponent {
|
|
|
458
470
|
this.http.post(`${ModuleAPI.system}/auth/logout`, {
|
|
459
471
|
sourceType: "PC"
|
|
460
472
|
}).subscribe((res) => {
|
|
473
|
+
this.featureConfig.clear();
|
|
461
474
|
this.tokenService.clear();
|
|
462
475
|
this.router.navigateByUrl(this.tokenService.login_url);
|
|
463
476
|
});
|
|
@@ -476,8 +489,8 @@ class NavUserComponent {
|
|
|
476
489
|
}
|
|
477
490
|
});
|
|
478
491
|
}
|
|
479
|
-
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 });
|
|
480
|
-
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"] }] });
|
|
492
|
+
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$1.AppFeatureConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
493
|
+
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: i9.FormSubmitTouchDirective, selector: "form[formGroup]" }, { kind: "directive", type: i3.ACLIfDirective, selector: "[aclIf]", inputs: ["aclIf", "aclIfThen", "aclIfElse", "except"], exportAs: ["aclIf"] }, { kind: "component", type: i11.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i12.ɵ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: i13.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i16.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: i16.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i17.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i17.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$1.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: i20.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i20.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i20.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i20.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i21.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }] });
|
|
481
494
|
}
|
|
482
495
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NavUserComponent, decorators: [{
|
|
483
496
|
type: Component,
|
|
@@ -488,7 +501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
488
501
|
}], 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: [{
|
|
489
502
|
type: Inject,
|
|
490
503
|
args: [DA_SERVICE_TOKEN]
|
|
491
|
-
}] }, { type: i6.GramGlobalService }, { type: i7.AppFeatureConfigService }] });
|
|
504
|
+
}] }, { type: i6.GramGlobalService }, { type: i7$1.AppFeatureConfigService }] });
|
|
492
505
|
|
|
493
506
|
class LayoutBaseService {
|
|
494
507
|
http;
|
|
@@ -833,7 +846,7 @@ class LayoutHomeComponent extends LayoutBaseService {
|
|
|
833
846
|
</ng-template>
|
|
834
847
|
</layout-default>
|
|
835
848
|
</nz-spin>
|
|
836
|
-
`, 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:
|
|
849
|
+
`, 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: i12.ɵ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.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" }] });
|
|
837
850
|
}
|
|
838
851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutHomeComponent, decorators: [{
|
|
839
852
|
type: Component,
|
|
@@ -1136,7 +1149,7 @@ class LayoutManageComponent extends LayoutBaseService {
|
|
|
1136
1149
|
</ng-template>
|
|
1137
1150
|
</layout-default>
|
|
1138
1151
|
</nz-spin>
|
|
1139
|
-
`, 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:
|
|
1152
|
+
`, 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: i12.ɵ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.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" }] });
|
|
1140
1153
|
}
|
|
1141
1154
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageComponent, decorators: [{
|
|
1142
1155
|
type: Component,
|
|
@@ -1316,7 +1329,7 @@ class LayoutManageViewComponent extends LayoutBaseService {
|
|
|
1316
1329
|
</ng-template>
|
|
1317
1330
|
</layout-default>
|
|
1318
1331
|
</nz-spin>
|
|
1319
|
-
`, 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:
|
|
1332
|
+
`, 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: i12.ɵ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.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" }] });
|
|
1320
1333
|
}
|
|
1321
1334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutManageViewComponent, decorators: [{
|
|
1322
1335
|
type: Component,
|
|
@@ -1660,7 +1673,7 @@ class HeaderIconComponent {
|
|
|
1660
1673
|
</nz-spin>
|
|
1661
1674
|
</div>
|
|
1662
1675
|
</nz-dropdown-menu>
|
|
1663
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { 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: 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: "ngmodule", type: NzGridModule }, { kind: "directive", type:
|
|
1676
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { 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: 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: "ngmodule", type: NzGridModule }, { kind: "directive", type: i16.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: i16.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i10.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1664
1677
|
}
|
|
1665
1678
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderIconComponent, decorators: [{
|
|
1666
1679
|
type: Component,
|
|
@@ -2161,7 +2174,7 @@ class HeaderTaskComponent {
|
|
|
2161
2174
|
}
|
|
2162
2175
|
</div>
|
|
2163
2176
|
</nz-dropdown-menu>
|
|
2164
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { 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: NzBadgeModule }, { 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: "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: NzSpinModule }, { kind: "component", type: i10
|
|
2177
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { 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: NzBadgeModule }, { kind: "component", type: i17$1.NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }, { 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: NzSpinModule }, { kind: "component", type: i10.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "directive", type: i16.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: i16.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i21.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: NzCardModule }, { kind: "component", type: i8.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2165
2178
|
}
|
|
2166
2179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderTaskComponent, decorators: [{
|
|
2167
2180
|
type: Component,
|
|
@@ -2249,10 +2262,12 @@ class HeaderUserComponent {
|
|
|
2249
2262
|
settings = inject(SettingsService);
|
|
2250
2263
|
router = inject(Router);
|
|
2251
2264
|
tokenService = inject(DA_SERVICE_TOKEN);
|
|
2265
|
+
featureConfig = inject(AppFeatureConfigService);
|
|
2252
2266
|
get user() {
|
|
2253
2267
|
return this.settings.user;
|
|
2254
2268
|
}
|
|
2255
2269
|
logout() {
|
|
2270
|
+
this.featureConfig.clear();
|
|
2256
2271
|
this.tokenService.clear();
|
|
2257
2272
|
this.router.navigateByUrl(this.tokenService.login_url);
|
|
2258
2273
|
}
|
|
@@ -2283,7 +2298,7 @@ class HeaderUserComponent {
|
|
|
2283
2298
|
</div>
|
|
2284
2299
|
</div>
|
|
2285
2300
|
</nz-dropdown-menu>
|
|
2286
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: NzDropDownModule }, { 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: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { 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: NzMenuModule }, { 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: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type:
|
|
2301
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: NzDropDownModule }, { 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: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { 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: NzMenuModule }, { 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: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i21.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2287
2302
|
}
|
|
2288
2303
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HeaderUserComponent, decorators: [{
|
|
2289
2304
|
type: Component,
|
|
@@ -2410,7 +2425,7 @@ class LayoutBasicComponent {
|
|
|
2410
2425
|
<setting-drawer />
|
|
2411
2426
|
}
|
|
2412
2427
|
<theme-btn />
|
|
2413
|
-
`, 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:
|
|
2428
|
+
`, 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: i21.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$1.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" }] });
|
|
2414
2429
|
}
|
|
2415
2430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutBasicComponent, decorators: [{
|
|
2416
2431
|
type: Component,
|