@yelon/bis 12.0.19 → 13.2.0

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.
Files changed (102) hide show
  1. package/bis.d.ts +1 -0
  2. package/{esm2015/bis.js → esm2020/bis.mjs} +0 -0
  3. package/esm2020/layout/act.guard.mjs +108 -0
  4. package/{esm2015/layout/bis.config.js → esm2020/layout/bis.config.mjs} +0 -0
  5. package/esm2020/layout/contact/contact.component.mjs +492 -0
  6. package/esm2020/layout/contact/contact.service.mjs +146 -0
  7. package/esm2020/layout/layout.mjs +5 -0
  8. package/esm2020/layout/layout.module.mjs +73 -0
  9. package/{esm2015/layout/path-to-regexp.service.js → esm2020/layout/path-to-regexp.service.mjs} +9 -8
  10. package/{esm2015/layout/public_api.js → esm2020/layout/public_api.mjs} +3 -3
  11. package/esm2020/layout/stomp.config.mjs +18 -0
  12. package/{esm2015/layout/widgets/index.js → esm2020/layout/widgets/index.mjs} +0 -0
  13. package/esm2020/layout/widgets/yz.application.component.mjs +271 -0
  14. package/esm2020/layout/widgets/yz.clear-storage.component.mjs +45 -0
  15. package/esm2020/layout/widgets/yz.fullscreen.component.mjs +45 -0
  16. package/esm2020/layout/widgets/yz.i18n.component.mjs +115 -0
  17. package/esm2020/layout/widgets/yz.notify.component.mjs +184 -0
  18. package/esm2020/layout/widgets/yz.them-btn.component.mjs +196 -0
  19. package/esm2020/layout/widgets/yz.user.component.mjs +112 -0
  20. package/esm2020/layout/yz.auth.service.mjs +156 -0
  21. package/esm2020/layout/yz.basic.component.mjs +207 -0
  22. package/esm2020/layout/yz.default.interceptor.mjs +203 -0
  23. package/esm2020/layout/yz.i18n.service.mjs +93 -0
  24. package/esm2020/layout/yz.startup.service.mjs +140 -0
  25. package/esm2020/layout/yz.stomp.service.mjs +88 -0
  26. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  27. package/{esm2015/shared/public_api.js → esm2020/shared/public_api.mjs} +0 -0
  28. package/{esm2015/shared/shared-yelon.module.js → esm2020/shared/shared-yelon.module.mjs} +0 -0
  29. package/{esm2015/shared/shared-zorro.module.js → esm2020/shared/shared-zorro.module.mjs} +0 -0
  30. package/{esm2015/shared/shared.js → esm2020/shared/shared.mjs} +0 -0
  31. package/esm2020/shared/shared.module.mjs +116 -0
  32. package/{esm2015/shared/style-icons.js → esm2020/shared/style-icons.mjs} +0 -0
  33. package/fesm2015/{bis.js → bis.mjs} +1 -1
  34. package/fesm2015/bis.mjs.map +1 -0
  35. package/fesm2015/{layout.js → layout.mjs} +594 -282
  36. package/fesm2015/layout.mjs.map +1 -0
  37. package/fesm2015/{shared.js → shared.mjs} +101 -7
  38. package/fesm2015/shared.mjs.map +1 -0
  39. package/fesm2020/bis.mjs +6 -0
  40. package/fesm2020/bis.mjs.map +1 -0
  41. package/fesm2020/layout.mjs +2799 -0
  42. package/fesm2020/layout.mjs.map +1 -0
  43. package/fesm2020/shared.mjs +1106 -0
  44. package/fesm2020/shared.mjs.map +1 -0
  45. package/layout/act.guard.d.ts +3 -0
  46. package/layout/contact/contact.component.d.ts +4 -1
  47. package/layout/contact/contact.service.d.ts +4 -1
  48. package/layout/layout.d.ts +1 -3
  49. package/layout/layout.module.d.ts +18 -0
  50. package/layout/package.json +5 -6
  51. package/layout/path-to-regexp.service.d.ts +3 -0
  52. package/layout/public_api.d.ts +2 -0
  53. package/layout/widgets/yz.application.component.d.ts +3 -0
  54. package/layout/widgets/yz.clear-storage.component.d.ts +3 -0
  55. package/layout/widgets/yz.fullscreen.component.d.ts +3 -1
  56. package/layout/widgets/yz.i18n.component.d.ts +3 -0
  57. package/layout/widgets/yz.notify.component.d.ts +3 -0
  58. package/layout/widgets/yz.them-btn.component.d.ts +3 -0
  59. package/layout/widgets/yz.user.component.d.ts +3 -0
  60. package/layout/yz.auth.service.d.ts +3 -0
  61. package/layout/yz.basic.component.d.ts +3 -0
  62. package/layout/yz.default.interceptor.d.ts +3 -0
  63. package/layout/yz.i18n.service.d.ts +3 -0
  64. package/layout/yz.startup.service.d.ts +6 -1
  65. package/layout/yz.stomp.service.d.ts +6 -3
  66. package/package.json +46 -18
  67. package/shared/package.json +5 -6
  68. package/shared/shared-zorro.module.d.ts +2 -2
  69. package/shared/shared.d.ts +1 -0
  70. package/shared/shared.module.d.ts +93 -0
  71. package/bis.metadata.json +0 -1
  72. package/bundles/bis.umd.js +0 -18
  73. package/bundles/bis.umd.js.map +0 -1
  74. package/bundles/layout.umd.js +0 -2694
  75. package/bundles/layout.umd.js.map +0 -1
  76. package/bundles/shared.umd.js +0 -1249
  77. package/bundles/shared.umd.js.map +0 -1
  78. package/esm2015/layout/act.guard.js +0 -115
  79. package/esm2015/layout/contact/contact.component.js +0 -434
  80. package/esm2015/layout/contact/contact.service.js +0 -150
  81. package/esm2015/layout/layout.js +0 -8
  82. package/esm2015/layout/layout.module.js +0 -47
  83. package/esm2015/layout/stomp.config.js +0 -20
  84. package/esm2015/layout/widgets/yz.application.component.js +0 -200
  85. package/esm2015/layout/widgets/yz.clear-storage.component.js +0 -39
  86. package/esm2015/layout/widgets/yz.fullscreen.component.js +0 -36
  87. package/esm2015/layout/widgets/yz.i18n.component.js +0 -78
  88. package/esm2015/layout/widgets/yz.notify.component.js +0 -157
  89. package/esm2015/layout/widgets/yz.them-btn.component.js +0 -146
  90. package/esm2015/layout/widgets/yz.user.component.js +0 -81
  91. package/esm2015/layout/yz.auth.service.js +0 -158
  92. package/esm2015/layout/yz.basic.component.js +0 -123
  93. package/esm2015/layout/yz.default.interceptor.js +0 -204
  94. package/esm2015/layout/yz.i18n.service.js +0 -102
  95. package/esm2015/layout/yz.startup.service.js +0 -138
  96. package/esm2015/layout/yz.stomp.service.js +0 -91
  97. package/esm2015/shared/shared.module.js +0 -22
  98. package/fesm2015/bis.js.map +0 -1
  99. package/fesm2015/layout.js.map +0 -1
  100. package/fesm2015/shared.js.map +0 -1
  101. package/layout/layout.metadata.json +0 -1
  102. package/shared/shared.metadata.json +0 -1
@@ -1,46 +1,64 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Component, ChangeDetectionStrategy, Injector, Inject, Input, ChangeDetectorRef, Renderer2, Optional, HostListener, EventEmitter, ViewChild, Output, isDevMode, NgModule, APP_INITIALIZER } from '@angular/core';
2
+ import { Injectable, Component, ChangeDetectionStrategy, Inject, Input, Optional, HostListener, EventEmitter, ViewChild, Output, isDevMode, NgModule, APP_INITIALIZER } from '@angular/core';
3
+ import * as i1$2 from '@yelon/util';
4
+ import { WINDOW, log as log$1, deepCopy } from '@yelon/util';
3
5
  import * as i2$1 from '@yelon/cache';
4
6
  import { CacheService } from '@yelon/cache';
5
- import * as i1 from '@yelon/theme';
6
- import { zh_CN as zh_CN$1, zh_TW as zh_TW$1, en_US as en_US$1, YunzaiI18nBaseService, _HttpClient, SettingsService, YelonLocaleService, YUNZAI_I18N_TOKEN, MenuService, TitleService } from '@yelon/theme';
7
- import { WINDOW, YunzaiConfigService as YunzaiConfigService$1, log as log$1, deepCopy } from '@yelon/util';
8
- import * as i3 from '@angular/cdk/platform';
9
- import { Platform } from '@angular/cdk/platform';
7
+ import * as i9$1 from '@angular/common';
10
8
  import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
11
9
  import ngEn from '@angular/common/locales/en';
12
10
  import ngZh from '@angular/common/locales/zh';
13
11
  import ngZhTw from '@angular/common/locales/zh-Hant';
14
12
  import { zhCN, zhTW, enUS } from 'date-fns/locale';
15
- import * as i1$1 from '@yelon/util/config';
16
- import { YunzaiConfigService } from '@yelon/util/config';
13
+ import * as i1 from '@yelon/theme';
14
+ import { zh_CN as zh_CN$1, zh_TW as zh_TW$1, en_US as en_US$1, YunzaiI18nBaseService, YUNZAI_I18N_TOKEN, _HttpClient } from '@yelon/theme';
17
15
  import * as i2 from 'ng-zorro-antd/i18n';
18
- import { zh_CN, zh_TW, en_US, NzI18nService } from 'ng-zorro-antd/i18n';
16
+ import { zh_CN, zh_TW, en_US } from 'ng-zorro-antd/i18n';
17
+ import * as i3 from '@angular/cdk/platform';
18
+ import * as i4 from '@yelon/util/config';
19
+ import { YunzaiConfigService } from '@yelon/util/config';
20
+ import * as i4$1 from 'ng-zorro-antd/input';
21
+ import * as i5 from 'ng-zorro-antd/grid';
22
+ import * as i8 from 'ng-zorro-antd/core/transition-patch';
23
+ import * as i7 from '@angular/forms';
24
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
25
+ import * as i9 from 'ng-zorro-antd/icon';
19
26
  import { __decorate } from 'tslib';
20
27
  import { InputBoolean } from '@yelon/util/decorator';
28
+ import * as i2$2 from 'ng-zorro-antd/dropdown';
29
+ import * as i6 from 'ng-zorro-antd/menu';
21
30
  import { forkJoin, Subject, of, BehaviorSubject, throwError } from 'rxjs';
22
31
  import { map, takeUntil, mergeMap, mergeAll, filter, take, switchMap, catchError } from 'rxjs/operators';
23
32
  import { formatDistanceToNow } from 'date-fns';
24
33
  import { log } from '@yelon/util/other';
25
- import { NzMessageService } from 'ng-zorro-antd/message';
26
- import { Directionality } from '@angular/cdk/bidi';
34
+ import * as i1$1 from 'ng-zorro-antd/message';
35
+ import * as i4$2 from '@yelon/abc/notice-icon';
27
36
  import { YUNZAI_THEME_BTN_KEYS } from '@yelon/theme/theme-btn';
37
+ import * as i3$1 from '@angular/cdk/bidi';
38
+ import * as i5$1 from 'ng-zorro-antd/tooltip';
28
39
  import { YA_SERVICE_TOKEN, mergeConfig } from '@yelon/auth';
29
- import { NzModalService } from 'ng-zorro-antd/modal';
30
- import * as screenfull from 'screenfull';
40
+ import * as i4$3 from 'ng-zorro-antd/avatar';
41
+ import * as i1$3 from 'ng-zorro-antd/modal';
42
+ import screenfull from 'screenfull';
31
43
  import { HttpClientModule, HttpErrorResponse, HttpResponse, HttpResponseBase } from '@angular/common/http';
32
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
33
- import * as i4 from '@angular/router';
44
+ import * as i17 from '@angular/router';
34
45
  import { RouterModule, Router } from '@angular/router';
35
46
  import { YzSharedModule, ICONS } from '@yelon/bis/shared';
36
- import { LayoutService } from '@yelon/theme/layout-default';
47
+ import * as i2$3 from 'ng-zorro-antd/tabs';
48
+ import * as i3$2 from '@yelon/abc/sg';
49
+ import * as i5$2 from 'ng-zorro-antd/spin';
50
+ import * as i6$1 from 'ng-zorro-antd/tree';
51
+ import * as i7$1 from 'ng-zorro-antd/list';
52
+ import * as i8$1 from '@yelon/abc/st';
53
+ import * as i9$2 from 'ng-zorro-antd/button';
54
+ import * as i14 from 'ng-zorro-antd/core/wave';
37
55
  import { RxStomp } from '@stomp/rx-stomp';
38
- import * as i3$1 from 'ng-zorro-antd/notification';
56
+ import * as i3$3 from 'ng-zorro-antd/notification';
39
57
  import { NzNotificationService } from 'ng-zorro-antd/notification';
40
- import { ACLService } from '@yelon/acl';
41
- import { NzIconService } from 'ng-zorro-antd/icon';
58
+ import * as i3$4 from '@yelon/theme/layout-default';
59
+ import * as i13 from '@yelon/abc/reuse-tab';
60
+ import * as i3$5 from '@yelon/acl';
42
61
 
43
- // 请参考:https://ng.yunzainfo.com/docs/i18n
44
62
  const DEFAULT = 'zh-CN';
45
63
  const LANGS = {
46
64
  'zh-CN': {
@@ -114,18 +132,12 @@ class YzI18NService extends YunzaiI18nBaseService {
114
132
  return this._langs;
115
133
  }
116
134
  }
117
- YzI18NService.ɵprov = i0.ɵɵdefineInjectable({ factory: function YzI18NService_Factory() { return new YzI18NService(i0.ɵɵinject(i1._HttpClient), i0.ɵɵinject(i1.SettingsService), i0.ɵɵinject(i2.NzI18nService), i0.ɵɵinject(i1.YelonLocaleService), i0.ɵɵinject(i3.Platform), i0.ɵɵinject(i1$1.YunzaiConfigService)); }, token: YzI18NService, providedIn: "root" });
118
- YzI18NService.decorators = [
119
- { type: Injectable, args: [{ providedIn: 'root' },] }
120
- ];
121
- YzI18NService.ctorParameters = () => [
122
- { type: _HttpClient },
123
- { type: SettingsService },
124
- { type: NzI18nService },
125
- { type: YelonLocaleService },
126
- { type: Platform },
127
- { type: YunzaiConfigService }
128
- ];
135
+ YzI18NService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzI18NService, deps: [{ token: i1._HttpClient }, { token: i1.SettingsService }, { token: i2.NzI18nService }, { token: i1.YelonLocaleService }, { token: i3.Platform }, { token: i4.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
136
+ YzI18NService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzI18NService, providedIn: 'root' });
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzI18NService, decorators: [{
138
+ type: Injectable,
139
+ args: [{ providedIn: 'root' }]
140
+ }], ctorParameters: function () { return [{ type: i1._HttpClient }, { type: i1.SettingsService }, { type: i2.NzI18nService }, { type: i1.YelonLocaleService }, { type: i3.Platform }, { type: i4.YunzaiConfigService }]; } });
129
141
 
130
142
  var TOPIC;
131
143
  (function (TOPIC) {
@@ -241,10 +253,80 @@ class YzHeaderApplicationComponent {
241
253
  }
242
254
  }
243
255
  }
244
- YzHeaderApplicationComponent.decorators = [
245
- { type: Component, args: [{
246
- selector: 'yz-header-application',
247
- template: `
256
+ YzHeaderApplicationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderApplicationComponent, deps: [{ token: i0.Injector }, { token: i2$1.CacheService }, { token: YzI18NService }, { token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
257
+ YzHeaderApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderApplicationComponent, selector: "yz-header-application", ngImport: i0, template: `
258
+ <!-- template start-->
259
+ <ng-template #search>
260
+ <div nz-row class="yz-application-list-search">
261
+ <nz-input-group [nzPrefix]="prefixTemplate">
262
+ <input
263
+ type="text"
264
+ nz-input
265
+ placeholder="{{ 'application.search' | i18n }}"
266
+ [(ngModel)]="searchValue"
267
+ (ngModelChange)="onSearch()"
268
+ />
269
+ <ng-template #prefixTemplate>
270
+ <i nz-icon nzType="search" nzTheme="outline"></i>
271
+ </ng-template>
272
+ </nz-input-group>
273
+ </div>
274
+ </ng-template>
275
+ <ng-template #ld>
276
+ <div class="yz-application-list">
277
+ <ul>
278
+ <li *ngFor="let d of listData">
279
+ <h5>{{ d.name }}</h5>
280
+ <a href="javascript:;" *ngFor="let cd of d.children" (click)="open(cd)">{{ cd.name }}</a>
281
+ </li>
282
+ </ul>
283
+ </div>
284
+ </ng-template>
285
+ <!-- template end-->
286
+
287
+ <!-- button start-->
288
+ <div class="yunzai-default__nav-item" (click)="diffChange()"> {{ 'application.button' | i18n }}</div>
289
+ <!-- button end-->
290
+
291
+ <!-- header start-->
292
+ <div class="yz-application" nz-row *ngIf="active">
293
+ <div nz-col [nzSpan]="3" class="yz-application-topic">
294
+ <div class="yz-application-text" (click)="full()">{{ 'application.all' | i18n }}</div>
295
+ <div class="yz-application-text" (click)="own()">{{ 'application.mine' | i18n }}</div>
296
+ <div class="yz-application-text" *ngFor="let d of topicData" (click)="every(d)">
297
+ {{ d.name }}
298
+ </div>
299
+ </div>
300
+ <div nz-col [nzSpan]="21" [ngSwitch]="topic" class="yz-application-container">
301
+ <div *ngSwitchCase="T.FULL">
302
+ <ng-template [ngTemplateOutlet]="search"></ng-template>
303
+ <ng-template [ngTemplateOutlet]="ld"></ng-template>
304
+ </div>
305
+ <div *ngSwitchCase="T.OWN">
306
+ <ng-template [ngTemplateOutlet]="search"></ng-template>
307
+ <ng-template [ngTemplateOutlet]="ld"></ng-template>
308
+ </div>
309
+ <div *ngSwitchCase="T.EVERY" class="yz-application-list">
310
+ <div class="yz-application-list-item">
311
+ <ul>
312
+ <li *ngFor="let d of listData" (click)="open(d)">
313
+ <a href="javascript:;">
314
+ <h4>{{ d.name }}</h4>
315
+ <p>{{ d.intro }}</p>
316
+ </a>
317
+ </li>
318
+ </ul>
319
+ </div>
320
+ </div>
321
+ </div>
322
+ </div>
323
+ <!-- header end-->
324
+ `, isInline: true, components: [{ type: i4$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }], directives: [{ type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i4$1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { type: i4$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i9$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i9$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.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"] }, { type: i9$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i9$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i9$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderApplicationComponent, decorators: [{
326
+ type: Component,
327
+ args: [{
328
+ selector: 'yz-header-application',
329
+ template: `
248
330
  <!-- template start-->
249
331
  <ng-template #search>
250
332
  <div nz-row class="yz-application-list-search">
@@ -312,15 +394,9 @@ YzHeaderApplicationComponent.decorators = [
312
394
  </div>
313
395
  <!-- header end-->
314
396
  `,
315
- changeDetection: ChangeDetectionStrategy.OnPush
316
- },] }
317
- ];
318
- YzHeaderApplicationComponent.ctorParameters = () => [
319
- { type: Injector },
320
- { type: CacheService },
321
- { type: YzI18NService },
322
- { type: _HttpClient }
323
- ];
397
+ changeDetection: ChangeDetectionStrategy.OnPush
398
+ }]
399
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i2$1.CacheService }, { type: YzI18NService }, { type: i1._HttpClient }]; } });
324
400
 
325
401
  class YzHeaderI18NComponent {
326
402
  constructor(settings, i18n, doc) {
@@ -348,10 +424,8 @@ class YzHeaderI18NComponent {
348
424
  });
349
425
  }
350
426
  }
351
- YzHeaderI18NComponent.decorators = [
352
- { type: Component, args: [{
353
- selector: 'yz-header-i18n',
354
- template: `
427
+ YzHeaderI18NComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderI18NComponent, deps: [{ token: i1.SettingsService }, { token: YUNZAI_I18N_TOKEN }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
428
+ YzHeaderI18NComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderI18NComponent, selector: "yz-header-i18n", inputs: { showLangText: "showLangText" }, ngImport: i0, template: `
355
429
  <div *ngIf="showLangText" nz-dropdown [nzDropdownMenu]="langMenu" nzPlacement="bottomRight">
356
430
  <i nz-icon nzType="global"></i>
357
431
  {{ 'menu.lang' | i18n }}
@@ -378,21 +452,55 @@ YzHeaderI18NComponent.decorators = [
378
452
  </li>
379
453
  </ul>
380
454
  </nz-dropdown-menu>
381
- `,
382
- changeDetection: ChangeDetectionStrategy.OnPush
383
- },] }
384
- ];
385
- YzHeaderI18NComponent.ctorParameters = () => [
386
- { type: SettingsService },
387
- { type: YzI18NService, decorators: [{ type: Inject, args: [YUNZAI_I18N_TOKEN,] }] },
388
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
389
- ];
390
- YzHeaderI18NComponent.propDecorators = {
391
- showLangText: [{ type: Input }]
392
- };
455
+ `, isInline: true, components: [{ type: i2$2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }], directives: [{ type: i9$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i9$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
393
456
  __decorate([
394
457
  InputBoolean()
395
458
  ], YzHeaderI18NComponent.prototype, "showLangText", void 0);
459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderI18NComponent, decorators: [{
460
+ type: Component,
461
+ args: [{
462
+ selector: 'yz-header-i18n',
463
+ template: `
464
+ <div *ngIf="showLangText" nz-dropdown [nzDropdownMenu]="langMenu" nzPlacement="bottomRight">
465
+ <i nz-icon nzType="global"></i>
466
+ {{ 'menu.lang' | i18n }}
467
+ <i nz-icon nzType="down"></i>
468
+ </div>
469
+ <i
470
+ *ngIf="!showLangText"
471
+ nz-dropdown
472
+ [nzDropdownMenu]="langMenu"
473
+ nzPlacement="bottomRight"
474
+ nz-icon
475
+ nzType="global"
476
+ ></i>
477
+ <nz-dropdown-menu #langMenu="nzDropdownMenu">
478
+ <ul nz-menu>
479
+ <li
480
+ nz-menu-item
481
+ *ngFor="let item of langs"
482
+ [nzSelected]="item.code === curLangCode"
483
+ (click)="change(item.code)"
484
+ >
485
+ <span role="img" [attr.aria-label]="item.text" class="pr-xs">{{ item.abbr }}</span>
486
+ {{ item.text }}
487
+ </li>
488
+ </ul>
489
+ </nz-dropdown-menu>
490
+ `,
491
+ changeDetection: ChangeDetectionStrategy.OnPush
492
+ }]
493
+ }], ctorParameters: function () {
494
+ return [{ type: i1.SettingsService }, { type: YzI18NService, decorators: [{
495
+ type: Inject,
496
+ args: [YUNZAI_I18N_TOKEN]
497
+ }] }, { type: undefined, decorators: [{
498
+ type: Inject,
499
+ args: [DOCUMENT]
500
+ }] }];
501
+ }, propDecorators: { showLangText: [{
502
+ type: Input
503
+ }] } });
396
504
 
397
505
  class YzHeaderNotifyComponent {
398
506
  constructor(injector, msg, y18n, nzI18n, cdr, httpClient) {
@@ -515,10 +623,23 @@ class YzHeaderNotifyComponent {
515
623
  this.subs.forEach(a => a.unsubscribe());
516
624
  }
517
625
  }
518
- YzHeaderNotifyComponent.decorators = [
519
- { type: Component, args: [{
520
- selector: 'yz-header-notify',
521
- template: `
626
+ YzHeaderNotifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderNotifyComponent, deps: [{ token: i0.Injector }, { token: i1$1.NzMessageService }, { token: YUNZAI_I18N_TOKEN }, { token: i2.NzI18nService }, { token: i0.ChangeDetectorRef }, { token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
627
+ YzHeaderNotifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderNotifyComponent, selector: "yz-header-notify", ngImport: i0, template: `
628
+ <notice-icon
629
+ [data]="data"
630
+ [count]="count"
631
+ [loading]="loading"
632
+ btnClass="yunzai-default__nav-item"
633
+ btnIconClass="yunzai-default__nav-item-icon"
634
+ (select)="select($event)"
635
+ (clear)="clear($event)"
636
+ ></notice-icon>
637
+ `, isInline: true, components: [{ type: i4$2.NoticeIconComponent, selector: "notice-icon", inputs: ["data", "count", "loading", "popoverVisible", "btnClass", "btnIconClass"], outputs: ["select", "clear", "popoverVisibleChange"], exportAs: ["noticeIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderNotifyComponent, decorators: [{
639
+ type: Component,
640
+ args: [{
641
+ selector: 'yz-header-notify',
642
+ template: `
522
643
  <notice-icon
523
644
  [data]="data"
524
645
  [count]="count"
@@ -529,17 +650,14 @@ YzHeaderNotifyComponent.decorators = [
529
650
  (clear)="clear($event)"
530
651
  ></notice-icon>
531
652
  `,
532
- changeDetection: ChangeDetectionStrategy.OnPush
533
- },] }
534
- ];
535
- YzHeaderNotifyComponent.ctorParameters = () => [
536
- { type: Injector },
537
- { type: NzMessageService },
538
- { type: YzI18NService, decorators: [{ type: Inject, args: [YUNZAI_I18N_TOKEN,] }] },
539
- { type: NzI18nService },
540
- { type: ChangeDetectorRef },
541
- { type: _HttpClient }
542
- ];
653
+ changeDetection: ChangeDetectionStrategy.OnPush
654
+ }]
655
+ }], ctorParameters: function () {
656
+ return [{ type: i0.Injector }, { type: i1$1.NzMessageService }, { type: YzI18NService, decorators: [{
657
+ type: Inject,
658
+ args: [YUNZAI_I18N_TOKEN]
659
+ }] }, { type: i2.NzI18nService }, { type: i0.ChangeDetectorRef }, { type: i1._HttpClient }];
660
+ } });
543
661
 
544
662
  class YzHeaderThemBtnComponent {
545
663
  constructor(renderer, configSrv, platform, doc, directionality, KEYS) {
@@ -619,10 +737,52 @@ class YzHeaderThemBtnComponent {
619
737
  this.destroy$.complete();
620
738
  }
621
739
  }
622
- YzHeaderThemBtnComponent.decorators = [
623
- { type: Component, args: [{
624
- selector: 'yz-header-theme-btn',
625
- template: `
740
+ YzHeaderThemBtnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderThemBtnComponent, deps: [{ token: i0.Renderer2 }, { token: i4.YunzaiConfigService }, { token: i3.Platform }, { token: DOCUMENT }, { token: i3$1.Directionality, optional: true }, { token: YUNZAI_THEME_BTN_KEYS }], target: i0.ɵɵFactoryTarget.Component });
741
+ YzHeaderThemBtnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderThemBtnComponent, selector: "yz-header-theme-btn", inputs: { types: "types", devTips: "devTips", deployUrl: "deployUrl" }, ngImport: i0, template: `
742
+ <div
743
+ class="yunzai-default__nav-item"
744
+ nz-dropdown
745
+ [nzDropdownMenu]="iconMenu"
746
+ nzTrigger="click"
747
+ nzPlacement="bottomRight"
748
+ >
749
+ <svg nz-tooltip class="anticon" role="img" width="21" height="21" viewBox="0 0 21 21" fill="currentColor">
750
+ <g fill-rule="evenodd">
751
+ <g fill-rule="nonzero">
752
+ <path
753
+ d="M7.02 3.635l12.518 12.518a1.863 1.863 0 010 2.635l-1.317 1.318a1.863 1.863 0 01-2.635 0L3.068 7.588A2.795 2.795 0 117.02 3.635zm2.09 14.428a.932.932 0 110 1.864.932.932 0 010-1.864zm-.043-9.747L7.75 9.635l9.154 9.153 1.318-1.317-9.154-9.155zM3.52 12.473c.514 0 .931.417.931.931v.932h.932a.932.932 0 110 1.864h-.932v.931a.932.932 0 01-1.863 0l-.001-.931h-.93a.932.932 0 010-1.864h.93v-.932c0-.514.418-.931.933-.931zm15.374-3.727a1.398 1.398 0 110 2.795 1.398 1.398 0 010-2.795zM4.385 4.953a.932.932 0 000 1.317l2.046 2.047L7.75 7 5.703 4.953a.932.932 0 00-1.318 0zM14.701.36a.932.932 0 01.931.932v.931h.932a.932.932 0 010 1.864h-.933l.001.932a.932.932 0 11-1.863 0l-.001-.932h-.93a.932.932 0 110-1.864h.93v-.931a.932.932 0 01.933-.932z"
754
+ ></path>
755
+ </g>
756
+ </g>
757
+ </svg>
758
+ </div>
759
+ <nz-dropdown-menu #iconMenu="nzDropdownMenu">
760
+ <ul nz-menu>
761
+ <li
762
+ nz-menu-item
763
+ *ngFor="let theme of types"
764
+ (click)="onThemeChange(theme.key)"
765
+ [style]="{ color: theme.color }"
766
+ >
767
+ <i nz-icon nzType="bg-colors"></i>
768
+ {{ theme.text | i18n }}
769
+ </li>
770
+ </ul>
771
+ <!-- <div nz-menu class="wd-xl animated jello">-->
772
+ <!-- <div nz-row [nzJustify]="'space-between'" [nzAlign]="'middle'" class="app-icons">-->
773
+ <!-- <div nz-col [nzSpan]="4" *ngFor="let theme of types" (click)="onThemeChange(theme.key)">-->
774
+ <!-- <i nz-icon nzType="bg-colors" class="text-white" [style]="{ backgroundColor: theme.color }"></i>-->
775
+ <!-- <span [ngStyle]="{ color: theme.color }">{{ theme.text | i18n }}</span>-->
776
+ <!-- </div>-->
777
+ <!-- </div>-->
778
+ <!-- </div>-->
779
+ </nz-dropdown-menu>
780
+ `, isInline: true, components: [{ type: i2$2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }], directives: [{ type: i2$2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { type: i5$1.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { type: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i9$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderThemBtnComponent, decorators: [{
782
+ type: Component,
783
+ args: [{
784
+ selector: 'yz-header-theme-btn',
785
+ template: `
626
786
  <div
627
787
  class="yunzai-default__nav-item"
628
788
  nz-dropdown
@@ -662,22 +822,25 @@ YzHeaderThemBtnComponent.decorators = [
662
822
  <!-- </div>-->
663
823
  </nz-dropdown-menu>
664
824
  `,
665
- changeDetection: ChangeDetectionStrategy.OnPush
666
- },] }
667
- ];
668
- YzHeaderThemBtnComponent.ctorParameters = () => [
669
- { type: Renderer2 },
670
- { type: YunzaiConfigService },
671
- { type: Platform },
672
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
673
- { type: Directionality, decorators: [{ type: Optional }] },
674
- { type: String, decorators: [{ type: Inject, args: [YUNZAI_THEME_BTN_KEYS,] }] }
675
- ];
676
- YzHeaderThemBtnComponent.propDecorators = {
677
- types: [{ type: Input }],
678
- devTips: [{ type: Input }],
679
- deployUrl: [{ type: Input }]
680
- };
825
+ changeDetection: ChangeDetectionStrategy.OnPush
826
+ }]
827
+ }], ctorParameters: function () {
828
+ return [{ type: i0.Renderer2 }, { type: i4.YunzaiConfigService }, { type: i3.Platform }, { type: undefined, decorators: [{
829
+ type: Inject,
830
+ args: [DOCUMENT]
831
+ }] }, { type: i3$1.Directionality, decorators: [{
832
+ type: Optional
833
+ }] }, { type: undefined, decorators: [{
834
+ type: Inject,
835
+ args: [YUNZAI_THEME_BTN_KEYS]
836
+ }] }];
837
+ }, propDecorators: { types: [{
838
+ type: Input
839
+ }], devTips: [{
840
+ type: Input
841
+ }], deployUrl: [{
842
+ type: Input
843
+ }] } });
681
844
 
682
845
  const BUSINESS_DEFAULT_CONFIG = {
683
846
  baseUrl: '/backstage',
@@ -727,10 +890,36 @@ class YzHeaderUserComponent {
727
890
  }
728
891
  }
729
892
  }
730
- YzHeaderUserComponent.decorators = [
731
- { type: Component, args: [{
732
- selector: 'yz-header-user',
733
- template: `
893
+ YzHeaderUserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderUserComponent, deps: [{ token: i0.Injector }, { token: i1$1.NzMessageService }, { token: YA_SERVICE_TOKEN }, { token: i1$2.YunzaiConfigService }, { token: i2$1.CacheService }], target: i0.ɵɵFactoryTarget.Component });
894
+ YzHeaderUserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderUserComponent, selector: "yz-header-user", ngImport: i0, template: `
895
+ <div
896
+ class="yunzai-default__nav-item d-flex align-items-center px-sm"
897
+ nz-dropdown
898
+ nzPlacement="bottomRight"
899
+ [nzDropdownMenu]="userMenu"
900
+ >
901
+ <nz-avatar [nzSrc]="icon" nzSize="small" class="mr-sm"></nz-avatar>
902
+ {{ username }}
903
+ </div>
904
+ <nz-dropdown-menu #userMenu="nzDropdownMenu">
905
+ <div nz-menu class="width-sm">
906
+ <div nz-menu-item *ngFor="let m of menus" (click)="to(m.url)">
907
+ <i nz-icon [nzType]="m.icon" class="mr-sm"></i>
908
+ {{ m.name | i18n }}
909
+ </div>
910
+ <li nz-menu-divider></li>
911
+ <div nz-menu-item (click)="logout()">
912
+ <i nz-icon nzType="logout" class="mr-sm"></i>
913
+ {{ 'menu.account.logout' | i18n }}
914
+ </div>
915
+ </div>
916
+ </nz-dropdown-menu>
917
+ `, isInline: true, components: [{ type: i4$3.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { type: i2$2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }], directives: [{ type: i2$2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { type: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i9$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i6.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderUserComponent, decorators: [{
919
+ type: Component,
920
+ args: [{
921
+ selector: 'yz-header-user',
922
+ template: `
734
923
  <div
735
924
  class="yunzai-default__nav-item d-flex align-items-center px-sm"
736
925
  nz-dropdown
@@ -754,16 +943,14 @@ YzHeaderUserComponent.decorators = [
754
943
  </div>
755
944
  </nz-dropdown-menu>
756
945
  `,
757
- changeDetection: ChangeDetectionStrategy.OnPush
758
- },] }
759
- ];
760
- YzHeaderUserComponent.ctorParameters = () => [
761
- { type: Injector },
762
- { type: NzMessageService },
763
- { type: undefined, decorators: [{ type: Inject, args: [YA_SERVICE_TOKEN,] }] },
764
- { type: YunzaiConfigService$1 },
765
- { type: CacheService }
766
- ];
946
+ changeDetection: ChangeDetectionStrategy.OnPush
947
+ }]
948
+ }], ctorParameters: function () {
949
+ return [{ type: i0.Injector }, { type: i1$1.NzMessageService }, { type: undefined, decorators: [{
950
+ type: Inject,
951
+ args: [YA_SERVICE_TOKEN]
952
+ }] }, { type: i1$2.YunzaiConfigService }, { type: i2$1.CacheService }];
953
+ } });
767
954
 
768
955
  class YzHeaderClearStorageComponent {
769
956
  constructor(modalSrv, messageSrv) {
@@ -780,60 +967,67 @@ class YzHeaderClearStorageComponent {
780
967
  });
781
968
  }
782
969
  }
783
- YzHeaderClearStorageComponent.decorators = [
784
- { type: Component, args: [{
785
- selector: 'yz-header-clear-storage',
786
- template: `
970
+ YzHeaderClearStorageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderClearStorageComponent, deps: [{ token: i1$3.NzModalService }, { token: i1$1.NzMessageService }], target: i0.ɵɵFactoryTarget.Component });
971
+ YzHeaderClearStorageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderClearStorageComponent, selector: "yz-header-clear-storage", host: { listeners: { "click": "_click()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: `
972
+ <i nz-icon nzType="tool"></i>
973
+ {{ 'menu.clear.local.storage' | i18n }}
974
+ `, isInline: true, directives: [{ type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderClearStorageComponent, decorators: [{
976
+ type: Component,
977
+ args: [{
978
+ selector: 'yz-header-clear-storage',
979
+ template: `
787
980
  <i nz-icon nzType="tool"></i>
788
981
  {{ 'menu.clear.local.storage' | i18n }}
789
982
  `,
790
- host: {
791
- '[class.d-block]': 'true'
792
- },
793
- changeDetection: ChangeDetectionStrategy.OnPush
794
- },] }
795
- ];
796
- YzHeaderClearStorageComponent.ctorParameters = () => [
797
- { type: NzModalService },
798
- { type: NzMessageService }
799
- ];
800
- YzHeaderClearStorageComponent.propDecorators = {
801
- _click: [{ type: HostListener, args: ['click',] }]
802
- };
983
+ host: {
984
+ '[class.d-block]': 'true'
985
+ },
986
+ changeDetection: ChangeDetectionStrategy.OnPush
987
+ }]
988
+ }], ctorParameters: function () { return [{ type: i1$3.NzModalService }, { type: i1$1.NzMessageService }]; }, propDecorators: { _click: [{
989
+ type: HostListener,
990
+ args: ['click']
991
+ }] } });
803
992
 
804
993
  class YzHeaderFullScreenComponent {
805
994
  constructor() {
806
995
  this.status = false;
807
996
  }
808
- get sf() {
809
- return screenfull;
810
- }
811
997
  _resize() {
812
- this.status = this.sf.isFullscreen;
998
+ this.status = screenfull.isFullscreen;
813
999
  }
814
1000
  _click() {
815
- if (this.sf.isEnabled) {
816
- this.sf.toggle();
1001
+ if (screenfull.isEnabled) {
1002
+ screenfull.toggle();
817
1003
  }
818
1004
  }
819
1005
  }
820
- YzHeaderFullScreenComponent.decorators = [
821
- { type: Component, args: [{
822
- selector: 'yz-header-fullscreen',
823
- template: `
1006
+ YzHeaderFullScreenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderFullScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1007
+ YzHeaderFullScreenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzHeaderFullScreenComponent, selector: "yz-header-fullscreen", host: { listeners: { "window:resize": "_resize()", "click": "_click()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: `
1008
+ <i nz-icon [nzType]="status ? 'fullscreen-exit' : 'fullscreen'"></i>
1009
+ {{ (status ? 'menu.fullscreen.exit' : 'menu.fullscreen') | i18n }}
1010
+ `, isInline: true, directives: [{ type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzHeaderFullScreenComponent, decorators: [{
1012
+ type: Component,
1013
+ args: [{
1014
+ selector: 'yz-header-fullscreen',
1015
+ template: `
824
1016
  <i nz-icon [nzType]="status ? 'fullscreen-exit' : 'fullscreen'"></i>
825
1017
  {{ (status ? 'menu.fullscreen.exit' : 'menu.fullscreen') | i18n }}
826
1018
  `,
827
- host: {
828
- '[class.d-block]': 'true'
829
- },
830
- changeDetection: ChangeDetectionStrategy.OnPush
831
- },] }
832
- ];
833
- YzHeaderFullScreenComponent.propDecorators = {
834
- _resize: [{ type: HostListener, args: ['window:resize',] }],
835
- _click: [{ type: HostListener, args: ['click',] }]
836
- };
1019
+ host: {
1020
+ '[class.d-block]': 'true'
1021
+ },
1022
+ changeDetection: ChangeDetectionStrategy.OnPush
1023
+ }]
1024
+ }], propDecorators: { _resize: [{
1025
+ type: HostListener,
1026
+ args: ['window:resize']
1027
+ }], _click: [{
1028
+ type: HostListener,
1029
+ args: ['click']
1030
+ }] } });
837
1031
 
838
1032
  class ContactService {
839
1033
  constructor(http, cache) {
@@ -967,16 +1161,14 @@ class ContactService {
967
1161
  }));
968
1162
  }
969
1163
  }
970
- ContactService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ContactService_Factory() { return new ContactService(i0.ɵɵinject(i1._HttpClient), i0.ɵɵinject(i2$1.CacheService)); }, token: ContactService, providedIn: "root" });
971
- ContactService.decorators = [
972
- { type: Injectable, args: [{
973
- providedIn: 'root'
974
- },] }
975
- ];
976
- ContactService.ctorParameters = () => [
977
- { type: _HttpClient },
978
- { type: CacheService }
979
- ];
1164
+ ContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContactService, deps: [{ token: i1._HttpClient }, { token: i2$1.CacheService }], target: i0.ɵɵFactoryTarget.Injectable });
1165
+ ContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContactService, providedIn: 'root' });
1166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContactService, decorators: [{
1167
+ type: Injectable,
1168
+ args: [{
1169
+ providedIn: 'root'
1170
+ }]
1171
+ }], ctorParameters: function () { return [{ type: i1._HttpClient }, { type: i2$1.CacheService }]; } });
980
1172
 
981
1173
  class ContactComponent {
982
1174
  constructor(contact, changeDetectorRef) {
@@ -1001,6 +1193,7 @@ class ContactComponent {
1001
1193
  this.nzDeptClass = true;
1002
1194
  this.nzDeptClassHistory = true;
1003
1195
  this.nzDeptGrade = false;
1196
+ this.nzDeptGradeID = null;
1004
1197
  /**
1005
1198
  * 角色树
1006
1199
  */
@@ -1378,41 +1571,82 @@ class ContactComponent {
1378
1571
  this.subs.forEach(s => s.unsubscribe());
1379
1572
  }
1380
1573
  }
1381
- ContactComponent.decorators = [
1382
- { type: Component, args: [{
1383
- selector: 'contact',
1384
- template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n",
1385
- styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"]
1386
- },] }
1387
- ];
1388
- ContactComponent.ctorParameters = () => [
1389
- { type: ContactService },
1390
- { type: ChangeDetectorRef }
1391
- ];
1392
- ContactComponent.propDecorators = {
1393
- nzTabsetSearch: [{ type: Optional }, { type: Input }],
1394
- nzTabsetLoading: [{ type: Optional }, { type: Input }],
1395
- nzExpandAll: [{ type: Optional }, { type: Input }],
1396
- nzDepts: [{ type: Optional }, { type: Input }],
1397
- nzDeptTreeVirtualHeight: [{ type: Optional }, { type: Input }],
1398
- nzDeptClass: [{ type: Optional }, { type: Input }],
1399
- nzDeptClassHistory: [{ type: Optional }, { type: Input }],
1400
- nzDeptGrade: [{ type: Optional }, { type: Input }],
1401
- nzDeptGradeID: [{ type: Optional }, { type: Input }],
1402
- nzRoles: [{ type: Optional }, { type: Input }],
1403
- nzRoleTreeVirtualHeight: [{ type: Optional }, { type: Input }],
1404
- nzFriendGroups: [{ type: Optional }, { type: Input }],
1405
- st: [{ type: ViewChild, args: ['st', { static: false },] }],
1406
- defaultContacts: [{ type: Optional }, { type: Input }],
1407
- nzContacts: [{ type: Optional }, { type: Input }],
1408
- nzContactLoading: [{ type: Optional }, { type: Input }],
1409
- button: [{ type: Optional }, { type: Input }],
1410
- confirmed: [{ type: Output }]
1411
- };
1574
+ ContactComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContactComponent, deps: [{ token: ContactService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1575
+ ContactComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ContactComponent, selector: "contact", inputs: { nzTabsetSearch: "nzTabsetSearch", nzTabsetLoading: "nzTabsetLoading", nzExpandAll: "nzExpandAll", nzDepts: "nzDepts", nzDeptTreeVirtualHeight: "nzDeptTreeVirtualHeight", nzDeptClass: "nzDeptClass", nzDeptClassHistory: "nzDeptClassHistory", nzDeptGrade: "nzDeptGrade", nzDeptGradeID: "nzDeptGradeID", nzRoles: "nzRoles", nzRoleTreeVirtualHeight: "nzRoleTreeVirtualHeight", nzFriendGroups: "nzFriendGroups", defaultContacts: "defaultContacts", nzContacts: "nzContacts", nzContactLoading: "nzContactLoading", button: "button" }, outputs: { confirmed: "confirmed" }, viewQueries: [{ propertyName: "st", first: true, predicate: ["st"], descendants: true }], ngImport: i0, template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n", styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"], components: [{ type: i2$3.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { type: i2$3.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: i3$2.SGContainerComponent, selector: "sg-container, [sg-container]", inputs: ["gutter", "sg-container", "col"], exportAs: ["sgContainer"] }, { type: i3$2.SGComponent, selector: "sg", inputs: ["col"], exportAs: ["sg"] }, { type: i4$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { type: i5$2.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { type: i6$1.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckBoxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { type: i7$1.NzListComponent, selector: "nz-list, [nz-list]", inputs: ["nzDataSource", "nzBordered", "nzGrid", "nzHeader", "nzFooter", "nzItemLayout", "nzRenderItem", "nzLoading", "nzLoadMore", "nzPagination", "nzSize", "nzSplit", "nzNoResult"], exportAs: ["nzList"] }, { type: i7$1.NzListItemComponent, selector: "nz-list-item, [nz-list-item]", inputs: ["nzActions", "nzContent", "nzExtra", "nzNoFlex"], exportAs: ["nzListItem"] }, { type: i7$1.NzListItemMetaComponent, selector: "nz-list-item-meta, [nz-list-item-meta]", inputs: ["nzAvatar", "nzTitle", "nzDescription"], exportAs: ["nzListItemMeta"] }, { type: i7$1.NzListItemMetaTitleComponent, selector: "nz-list-item-meta-title", exportAs: ["nzListItemMetaTitle"] }, { type: i8$1.STComponent, selector: "st", inputs: ["req", "res", "page", "data", "columns", "contextmenu", "ps", "pi", "total", "loading", "loadingDelay", "loadingIndicator", "bordered", "size", "scroll", "singleSort", "multiSort", "rowClassName", "clickRowClassName", "widthMode", "widthConfig", "resizable", "header", "showHeader", "footer", "bodyHeader", "body", "expandRowByClick", "expandAccordion", "expand", "noResult", "responsive", "responsiveHideHeaderFooter", "virtualScroll", "virtualItemSize", "virtualMaxBufferPx", "virtualMinBufferPx", "customRequest", "virtualForTrackBy"], outputs: ["error", "change"], exportAs: ["st"] }, { type: i9$2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i5.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"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i4$1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { type: i4$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i9$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
1576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContactComponent, decorators: [{
1577
+ type: Component,
1578
+ args: [{ selector: 'contact', template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n", styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"] }]
1579
+ }], ctorParameters: function () { return [{ type: ContactService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { nzTabsetSearch: [{
1580
+ type: Optional
1581
+ }, {
1582
+ type: Input
1583
+ }], nzTabsetLoading: [{
1584
+ type: Optional
1585
+ }, {
1586
+ type: Input
1587
+ }], nzExpandAll: [{
1588
+ type: Optional
1589
+ }, {
1590
+ type: Input
1591
+ }], nzDepts: [{
1592
+ type: Optional
1593
+ }, {
1594
+ type: Input
1595
+ }], nzDeptTreeVirtualHeight: [{
1596
+ type: Optional
1597
+ }, {
1598
+ type: Input
1599
+ }], nzDeptClass: [{
1600
+ type: Optional
1601
+ }, {
1602
+ type: Input
1603
+ }], nzDeptClassHistory: [{
1604
+ type: Optional
1605
+ }, {
1606
+ type: Input
1607
+ }], nzDeptGrade: [{
1608
+ type: Optional
1609
+ }, {
1610
+ type: Input
1611
+ }], nzDeptGradeID: [{
1612
+ type: Optional
1613
+ }, {
1614
+ type: Input
1615
+ }], nzRoles: [{
1616
+ type: Optional
1617
+ }, {
1618
+ type: Input
1619
+ }], nzRoleTreeVirtualHeight: [{
1620
+ type: Optional
1621
+ }, {
1622
+ type: Input
1623
+ }], nzFriendGroups: [{
1624
+ type: Optional
1625
+ }, {
1626
+ type: Input
1627
+ }], st: [{
1628
+ type: ViewChild,
1629
+ args: ['st', { static: false }]
1630
+ }], defaultContacts: [{
1631
+ type: Optional
1632
+ }, {
1633
+ type: Input
1634
+ }], nzContacts: [{
1635
+ type: Optional
1636
+ }, {
1637
+ type: Input
1638
+ }], nzContactLoading: [{
1639
+ type: Optional
1640
+ }, {
1641
+ type: Input
1642
+ }], button: [{
1643
+ type: Optional
1644
+ }, {
1645
+ type: Input
1646
+ }], confirmed: [{
1647
+ type: Output
1648
+ }] } });
1412
1649
 
1413
- const ɵ0 = msg => {
1414
- log$1(msg);
1415
- };
1416
1650
  const STOMP_DEFAULT_CONFIG = {
1417
1651
  connectHeaders: {
1418
1652
  login: 'guest',
@@ -1422,7 +1656,9 @@ const STOMP_DEFAULT_CONFIG = {
1422
1656
  heartbeatIncoming: 1000 * 60,
1423
1657
  heartbeatOutgoing: 1000 * 60,
1424
1658
  reconnectDelay: 30000000,
1425
- debug: ɵ0
1659
+ debug: msg => {
1660
+ log$1(msg);
1661
+ }
1426
1662
  };
1427
1663
  function mergeStompConfig(srv) {
1428
1664
  return srv.merge('stomp', STOMP_DEFAULT_CONFIG);
@@ -1434,6 +1670,9 @@ class YzStompService {
1434
1670
  this.cache = cache;
1435
1671
  this.injector = injector;
1436
1672
  this.notification = notification;
1673
+ this.config = null;
1674
+ this.bisConfig = null;
1675
+ this.rxStomp = null;
1437
1676
  this.subs = [];
1438
1677
  if (!this.user) {
1439
1678
  this.user = this.cache.get('_yz_user', { mode: 'none' });
@@ -1496,16 +1735,12 @@ class YzStompService {
1496
1735
  return this.rxStomp.watch(destination, headers);
1497
1736
  }
1498
1737
  }
1499
- YzStompService.ɵprov = i0.ɵɵdefineInjectable({ factory: function YzStompService_Factory() { return new YzStompService(i0.ɵɵinject(i1$1.YunzaiConfigService), i0.ɵɵinject(i2$1.CacheService), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i3$1.NzNotificationService)); }, token: YzStompService, providedIn: "root" });
1500
- YzStompService.decorators = [
1501
- { type: Injectable, args: [{ providedIn: 'root' },] }
1502
- ];
1503
- YzStompService.ctorParameters = () => [
1504
- { type: YunzaiConfigService$1 },
1505
- { type: CacheService },
1506
- { type: Injector },
1507
- { type: NzNotificationService }
1508
- ];
1738
+ YzStompService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStompService, deps: [{ token: i1$2.YunzaiConfigService }, { token: i2$1.CacheService }, { token: i0.Injector }, { token: i3$3.NzNotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
1739
+ YzStompService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStompService, providedIn: 'root' });
1740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStompService, decorators: [{
1741
+ type: Injectable,
1742
+ args: [{ providedIn: 'root' }]
1743
+ }], ctorParameters: function () { return [{ type: i1$2.YunzaiConfigService }, { type: i2$1.CacheService }, { type: i0.Injector }, { type: i3$3.NzNotificationService }]; } });
1509
1744
 
1510
1745
  class YzLayoutBasicComponent {
1511
1746
  constructor(cacheService, yzStompService, layoutService) {
@@ -1550,10 +1785,76 @@ class YzLayoutBasicComponent {
1550
1785
  this.yzStompService.unListen();
1551
1786
  }
1552
1787
  }
1553
- YzLayoutBasicComponent.decorators = [
1554
- { type: Component, args: [{
1555
- selector: 'yz-layout-basic',
1556
- template: `
1788
+ YzLayoutBasicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzLayoutBasicComponent, deps: [{ token: i2$1.CacheService }, { token: YzStompService }, { token: i3$4.LayoutService }], target: i0.ɵɵFactoryTarget.Component });
1789
+ YzLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: YzLayoutBasicComponent, selector: "yz-layout-basic", ngImport: i0, template: `
1790
+ <layout-default [options]="options" [asideUser]="asideUserTpl" [content]="showReuseTab ? contentTpl : noneTpl">
1791
+ <layout-default-header-item direction="left">
1792
+ <yz-header-application></yz-header-application>
1793
+ </layout-default-header-item>
1794
+
1795
+ <layout-default-header-item direction="right" hidden="mobile">
1796
+ <yz-header-notify></yz-header-notify>
1797
+ </layout-default-header-item>
1798
+
1799
+ <layout-default-header-item direction="right" hidden="mobile">
1800
+ <yz-header-theme-btn></yz-header-theme-btn>
1801
+ </layout-default-header-item>
1802
+
1803
+ <layout-default-header-item direction="right" hidden="mobile">
1804
+ <div
1805
+ layout-default-header-item-trigger
1806
+ nz-dropdown
1807
+ [nzDropdownMenu]="settingsMenu"
1808
+ nzTrigger="click"
1809
+ nzPlacement="bottomRight"
1810
+ >
1811
+ <i nz-icon nzType="setting"></i>
1812
+ </div>
1813
+ <nz-dropdown-menu #settingsMenu="nzDropdownMenu">
1814
+ <div nz-menu style="width: 200px;">
1815
+ <div nz-menu-item>
1816
+ <yz-header-fullscreen></yz-header-fullscreen>
1817
+ </div>
1818
+ <div nz-menu-item>
1819
+ <yz-header-clear-storage></yz-header-clear-storage>
1820
+ </div>
1821
+ <div nz-menu-item>
1822
+ <yz-header-i18n></yz-header-i18n>
1823
+ </div>
1824
+ </div>
1825
+ </nz-dropdown-menu>
1826
+ </layout-default-header-item>
1827
+ <layout-default-header-item direction="right">
1828
+ <yz-header-user></yz-header-user>
1829
+ </layout-default-header-item>
1830
+ <ng-template #asideUserTpl>
1831
+ <div nz-dropdown nzTrigger="click" [nzDropdownMenu]="userMenu" class="yunzai-default__aside-user">
1832
+ <nz-avatar class="yunzai-default__aside-user-avatar" [nzSrc]="icon"></nz-avatar>
1833
+ <div class="yunzai-default__aside-user-info">
1834
+ <strong>{{ text }}</strong>
1835
+ <p class="mb0">{{ intro }}</p>
1836
+ </div>
1837
+ </div>
1838
+ <nz-dropdown-menu #userMenu="nzDropdownMenu">
1839
+ <ul nz-menu>
1840
+ <li nz-menu-item routerLink="/">{{ 'menu.backtohome' | i18n }}</li>
1841
+ </ul>
1842
+ </nz-dropdown-menu>
1843
+ </ng-template>
1844
+ <ng-template #contentTpl>
1845
+ <reuse-tab #reuseTab [ngStyle]="reuseStyleSheet"></reuse-tab>
1846
+ <router-outlet (activate)="reuseTab.activate($event)"></router-outlet>
1847
+ </ng-template>
1848
+ <ng-template #noneTpl>
1849
+ <router-outlet></router-outlet>
1850
+ </ng-template>
1851
+ </layout-default>
1852
+ `, isInline: true, components: [{ type: i3$4.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "nav", "content", "customError"], exportAs: ["layoutDefault"] }, { type: i3$4.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { type: YzHeaderApplicationComponent, selector: "yz-header-application" }, { type: YzHeaderNotifyComponent, selector: "yz-header-notify" }, { type: YzHeaderThemBtnComponent, selector: "yz-header-theme-btn", inputs: ["types", "devTips", "deployUrl"] }, { type: i2$2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { type: YzHeaderFullScreenComponent, selector: "yz-header-fullscreen" }, { type: YzHeaderClearStorageComponent, selector: "yz-header-clear-storage" }, { type: YzHeaderI18NComponent, selector: "yz-header-i18n", inputs: ["showLangText"] }, { type: YzHeaderUserComponent, selector: "yz-header-user" }, { type: i4$3.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { type: i13.ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: ["mode", "i18n", "debug", "max", "tabMaxWidth", "excludes", "allowClose", "keepingScroll", "keepingScrollContainer", "customContextMenu", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "tabType", "routeParamMatchMode", "disabled", "titleRender"], outputs: ["change", "close"], exportAs: ["reuseTab"] }], directives: [{ type: i3$4.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { type: i2$2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { type: i17.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i9$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i17.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], pipes: { "i18n": i1.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzLayoutBasicComponent, decorators: [{
1854
+ type: Component,
1855
+ args: [{
1856
+ selector: 'yz-layout-basic',
1857
+ template: `
1557
1858
  <layout-default [options]="options" [asideUser]="asideUserTpl" [content]="showReuseTab ? contentTpl : noneTpl">
1558
1859
  <layout-default-header-item direction="left">
1559
1860
  <yz-header-application></yz-header-application>
@@ -1617,14 +1918,9 @@ YzLayoutBasicComponent.decorators = [
1617
1918
  </ng-template>
1618
1919
  </layout-default>
1619
1920
  `,
1620
- changeDetection: ChangeDetectionStrategy.OnPush
1621
- },] }
1622
- ];
1623
- YzLayoutBasicComponent.ctorParameters = () => [
1624
- { type: CacheService },
1625
- { type: YzStompService },
1626
- { type: LayoutService }
1627
- ];
1921
+ changeDetection: ChangeDetectionStrategy.OnPush
1922
+ }]
1923
+ }], ctorParameters: function () { return [{ type: i2$1.CacheService }, { type: YzStompService }, { type: i3$4.LayoutService }]; } });
1628
1924
 
1629
1925
  /*
1630
1926
  * @Author: cui <devcui@outlook.com>
@@ -1649,19 +1945,44 @@ const COMPONENTS = [
1649
1945
  ];
1650
1946
  class YunzaiLayoutModule {
1651
1947
  }
1652
- YunzaiLayoutModule.decorators = [
1653
- { type: NgModule, args: [{
1654
- imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule],
1655
- providers: [
1656
- {
1657
- provide: YUNZAI_THEME_BTN_KEYS,
1658
- useValue: 'site-theme'
1659
- }
1660
- ],
1661
- declarations: [...COMPONENTS],
1662
- exports: [...COMPONENTS]
1663
- },] }
1664
- ];
1948
+ YunzaiLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1949
+ YunzaiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiLayoutModule, declarations: [ContactComponent,
1950
+ YzLayoutBasicComponent,
1951
+ YzHeaderApplicationComponent,
1952
+ YzHeaderNotifyComponent,
1953
+ YzHeaderThemBtnComponent,
1954
+ YzHeaderUserComponent,
1955
+ YzHeaderFullScreenComponent,
1956
+ YzHeaderClearStorageComponent,
1957
+ YzHeaderI18NComponent], imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule], exports: [ContactComponent,
1958
+ YzLayoutBasicComponent,
1959
+ YzHeaderApplicationComponent,
1960
+ YzHeaderNotifyComponent,
1961
+ YzHeaderThemBtnComponent,
1962
+ YzHeaderUserComponent,
1963
+ YzHeaderFullScreenComponent,
1964
+ YzHeaderClearStorageComponent,
1965
+ YzHeaderI18NComponent] });
1966
+ YunzaiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiLayoutModule, providers: [
1967
+ {
1968
+ provide: YUNZAI_THEME_BTN_KEYS,
1969
+ useValue: 'site-theme'
1970
+ }
1971
+ ], imports: [[HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule]] });
1972
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiLayoutModule, decorators: [{
1973
+ type: NgModule,
1974
+ args: [{
1975
+ imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule],
1976
+ providers: [
1977
+ {
1978
+ provide: YUNZAI_THEME_BTN_KEYS,
1979
+ useValue: 'site-theme'
1980
+ }
1981
+ ],
1982
+ declarations: [...COMPONENTS],
1983
+ exports: [...COMPONENTS]
1984
+ }]
1985
+ }] });
1665
1986
 
1666
1987
  class YzAuthService {
1667
1988
  constructor(injector) {
@@ -1802,13 +2123,12 @@ class YzAuthService {
1802
2123
  }));
1803
2124
  }
1804
2125
  }
1805
- YzAuthService.ɵprov = i0.ɵɵdefineInjectable({ factory: function YzAuthService_Factory() { return new YzAuthService(i0.ɵɵinject(i0.INJECTOR)); }, token: YzAuthService, providedIn: "root" });
1806
- YzAuthService.decorators = [
1807
- { type: Injectable, args: [{ providedIn: 'root' },] }
1808
- ];
1809
- YzAuthService.ctorParameters = () => [
1810
- { type: Injector }
1811
- ];
2126
+ YzAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzAuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2127
+ YzAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzAuthService, providedIn: 'root' });
2128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzAuthService, decorators: [{
2129
+ type: Injectable,
2130
+ args: [{ providedIn: 'root' }]
2131
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1812
2132
 
1813
2133
  const CODEMESSAGE = {
1814
2134
  200: '服务器成功返回请求的数据。',
@@ -1995,12 +2315,11 @@ class YzDefaultInterceptor {
1995
2315
  }), catchError((err) => this.handleData(err, newReq, next)));
1996
2316
  }
1997
2317
  }
1998
- YzDefaultInterceptor.decorators = [
1999
- { type: Injectable }
2000
- ];
2001
- YzDefaultInterceptor.ctorParameters = () => [
2002
- { type: Injector }
2003
- ];
2318
+ YzDefaultInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzDefaultInterceptor, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2319
+ YzDefaultInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzDefaultInterceptor });
2320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzDefaultInterceptor, decorators: [{
2321
+ type: Injectable
2322
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2004
2323
 
2005
2324
  function mapYzSideToYelonMenu(menus) {
2006
2325
  menus.forEach(menu => {
@@ -2033,9 +2352,10 @@ function generateAbility(menus, abilities, prefix) {
2033
2352
  });
2034
2353
  }
2035
2354
  class YzStartupService {
2036
- constructor(iconSrv, menuService, i18n, settingService, aclService, titleService, yzAuthService, cacheService, configService) {
2355
+ constructor(iconSrv, menuService, i18n, win, settingService, aclService, titleService, yzAuthService, cacheService, configService) {
2037
2356
  this.menuService = menuService;
2038
2357
  this.i18n = i18n;
2358
+ this.win = win;
2039
2359
  this.settingService = settingService;
2040
2360
  this.aclService = aclService;
2041
2361
  this.titleService = titleService;
@@ -2059,9 +2379,8 @@ class YzStartupService {
2059
2379
  // preloader finish
2060
2380
  this.systemInit();
2061
2381
  log$1('startup.service: preloader finish');
2062
- const win = window;
2063
- if (win && win.appBootstrap) {
2064
- win.appBootstrap();
2382
+ if (this.win && this.win.appBootstrap) {
2383
+ this.win.appBootstrap();
2065
2384
  }
2066
2385
  return of(v);
2067
2386
  }));
@@ -2100,20 +2419,19 @@ class YzStartupService {
2100
2419
  });
2101
2420
  }
2102
2421
  }
2103
- YzStartupService.decorators = [
2104
- { type: Injectable }
2105
- ];
2106
- YzStartupService.ctorParameters = () => [
2107
- { type: NzIconService },
2108
- { type: MenuService },
2109
- { type: YzI18NService, decorators: [{ type: Inject, args: [YUNZAI_I18N_TOKEN,] }] },
2110
- { type: SettingsService },
2111
- { type: ACLService },
2112
- { type: TitleService },
2113
- { type: YzAuthService },
2114
- { type: CacheService },
2115
- { type: YunzaiConfigService$1 }
2116
- ];
2422
+ YzStartupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStartupService, deps: [{ token: i9.NzIconService }, { token: i1.MenuService }, { token: YUNZAI_I18N_TOKEN }, { token: WINDOW }, { token: i1.SettingsService }, { token: i3$5.ACLService }, { token: i1.TitleService }, { token: YzAuthService }, { token: i2$1.CacheService }, { token: i1$2.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2423
+ YzStartupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStartupService });
2424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YzStartupService, decorators: [{
2425
+ type: Injectable
2426
+ }], ctorParameters: function () {
2427
+ return [{ type: i9.NzIconService }, { type: i1.MenuService }, { type: YzI18NService, decorators: [{
2428
+ type: Inject,
2429
+ args: [YUNZAI_I18N_TOKEN]
2430
+ }] }, { type: undefined, decorators: [{
2431
+ type: Inject,
2432
+ args: [WINDOW]
2433
+ }] }, { type: i1.SettingsService }, { type: i3$5.ACLService }, { type: i1.TitleService }, { type: YzAuthService }, { type: i2$1.CacheService }, { type: i1$2.YunzaiConfigService }];
2434
+ } });
2117
2435
  function YzStartupServiceFactory(startupService) {
2118
2436
  return () => startupService.load();
2119
2437
  }
@@ -2355,13 +2673,14 @@ class PathToRegexpService {
2355
2673
  return this.stringToRegexp(/** @type {string} */ path, keys, options);
2356
2674
  }
2357
2675
  }
2358
- PathToRegexpService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PathToRegexpService_Factory() { return new PathToRegexpService(); }, token: PathToRegexpService, providedIn: "root" });
2359
- PathToRegexpService.decorators = [
2360
- { type: Injectable, args: [{
2361
- providedIn: 'root'
2362
- },] }
2363
- ];
2364
- PathToRegexpService.ctorParameters = () => [];
2676
+ PathToRegexpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PathToRegexpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2677
+ PathToRegexpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PathToRegexpService, providedIn: 'root' });
2678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PathToRegexpService, decorators: [{
2679
+ type: Injectable,
2680
+ args: [{
2681
+ providedIn: 'root'
2682
+ }]
2683
+ }], ctorParameters: function () { return []; } });
2365
2684
 
2366
2685
  class ActGuard {
2367
2686
  constructor(configService, cacheService, pathToRegexp, router) {
@@ -2454,25 +2773,18 @@ class ActGuard {
2454
2773
  });
2455
2774
  }
2456
2775
  }
2457
- ActGuard.ɵprov = i0.ɵɵdefineInjectable({ factory: function ActGuard_Factory() { return new ActGuard(i0.ɵɵinject(i1$1.YunzaiConfigService), i0.ɵɵinject(i2$1.CacheService), i0.ɵɵinject(PathToRegexpService), i0.ɵɵinject(i4.Router)); }, token: ActGuard, providedIn: "root" });
2458
- ActGuard.decorators = [
2459
- { type: Injectable, args: [{
2460
- providedIn: 'root'
2461
- },] }
2462
- ];
2463
- ActGuard.ctorParameters = () => [
2464
- { type: YunzaiConfigService$1 },
2465
- { type: CacheService },
2466
- { type: PathToRegexpService },
2467
- { type: Router }
2468
- ];
2469
-
2470
- // export * from './contact/contact.component';
2471
- // export * from './contact/contact.service';
2776
+ ActGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActGuard, deps: [{ token: i1$2.YunzaiConfigService }, { token: i2$1.CacheService }, { token: PathToRegexpService }, { token: i17.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2777
+ ActGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActGuard, providedIn: 'root' });
2778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ActGuard, decorators: [{
2779
+ type: Injectable,
2780
+ args: [{
2781
+ providedIn: 'root'
2782
+ }]
2783
+ }], ctorParameters: function () { return [{ type: i1$2.YunzaiConfigService }, { type: i2$1.CacheService }, { type: PathToRegexpService }, { type: i17.Router }]; } });
2472
2784
 
2473
2785
  /**
2474
2786
  * Generated bundle index. Do not edit.
2475
2787
  */
2476
2788
 
2477
- export { ActGuard, BUSINESS_DEFAULT_CONFIG, PathToRegexpService, STOMP_DEFAULT_CONFIG, TOPIC, YZ_APPINIT_PROVIDES, YunzaiLayoutModule, YzAuthService, YzDefaultInterceptor, YzHeaderApplicationComponent, YzHeaderClearStorageComponent, YzHeaderFullScreenComponent, YzHeaderI18NComponent, YzHeaderNotifyComponent, YzHeaderThemBtnComponent, YzHeaderUserComponent, YzI18NService, YzLayoutBasicComponent, YzStartupService, YzStartupServiceFactory, YzStompService, generateAbility, mapYzSideToYelonMenu, mergeBisConfig, mergeStompConfig, ɵ0, ContactComponent as ɵa, ContactService as ɵb, YzHeaderApplicationComponent as ɵc, YzHeaderNotifyComponent as ɵd, YzHeaderThemBtnComponent as ɵe, YzHeaderUserComponent as ɵf, YzHeaderFullScreenComponent as ɵg, YzHeaderClearStorageComponent as ɵh, YzHeaderI18NComponent as ɵi };
2478
- //# sourceMappingURL=layout.js.map
2789
+ export { ActGuard, BUSINESS_DEFAULT_CONFIG, ContactComponent, ContactService, PathToRegexpService, STOMP_DEFAULT_CONFIG, TOPIC, YZ_APPINIT_PROVIDES, YunzaiLayoutModule, YzAuthService, YzDefaultInterceptor, YzHeaderApplicationComponent, YzHeaderClearStorageComponent, YzHeaderFullScreenComponent, YzHeaderI18NComponent, YzHeaderNotifyComponent, YzHeaderThemBtnComponent, YzHeaderUserComponent, YzI18NService, YzLayoutBasicComponent, YzStartupService, YzStartupServiceFactory, YzStompService, generateAbility, mapYzSideToYelonMenu, mergeBisConfig, mergeStompConfig };
2790
+ //# sourceMappingURL=layout.mjs.map