@yelon/bis 18.3.0 → 19.0.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.
Files changed (45) hide show
  1. package/fesm2022/bis.mjs +96 -82
  2. package/fesm2022/bis.mjs.map +1 -1
  3. package/fesm2022/layout.mjs +99 -110
  4. package/fesm2022/layout.mjs.map +1 -1
  5. package/fesm2022/yunzai-widgets.mjs +104 -114
  6. package/fesm2022/yunzai-widgets.mjs.map +1 -1
  7. package/layout/layout-basic.component.d.ts +1 -2
  8. package/layout/style/layout-website-01.less +1 -0
  9. package/package.json +12 -20
  10. package/src/helper.d.ts +3 -8
  11. package/src/refresh-token.d.ts +1 -2
  12. package/src/startup.service.d.ts +2 -2
  13. package/src/website/layout-website-01.component.d.ts +4 -5
  14. package/src/website/layout-website-02.component.d.ts +6 -7
  15. package/src/yunzai-analysis-addon.guard.d.ts +1 -2
  16. package/esm2022/bis.mjs +0 -5
  17. package/esm2022/config/bis.config.mjs +0 -15
  18. package/esm2022/config/config.mjs +0 -5
  19. package/esm2022/config/public_api.mjs +0 -2
  20. package/esm2022/layout/layout-basic.component.mjs +0 -518
  21. package/esm2022/layout/layout-nav-application.component.mjs +0 -372
  22. package/esm2022/layout/layout-nav-group.component.mjs +0 -166
  23. package/esm2022/layout/layout-nav-tile.component.mjs +0 -15
  24. package/esm2022/layout/layout.mjs +0 -5
  25. package/esm2022/layout/layout.module.mjs +0 -54
  26. package/esm2022/layout/public_api.mjs +0 -6
  27. package/esm2022/public_api.mjs +0 -11
  28. package/esm2022/src/bis.module.mjs +0 -17
  29. package/esm2022/src/helper.mjs +0 -45
  30. package/esm2022/src/provide.mjs +0 -8
  31. package/esm2022/src/refresh-token.mjs +0 -79
  32. package/esm2022/src/startup.service.mjs +0 -205
  33. package/esm2022/src/website/layout-website-01.component.mjs +0 -173
  34. package/esm2022/src/website/layout-website-02.component.mjs +0 -204
  35. package/esm2022/src/yunzai-act.guard.mjs +0 -88
  36. package/esm2022/src/yunzai-analysis-addon.guard.mjs +0 -99
  37. package/esm2022/src/yunzai-default.interceptor.mjs +0 -63
  38. package/esm2022/yunzai-widgets/public_api.mjs +0 -7
  39. package/esm2022/yunzai-widgets/yunzai-clear-storage.component.mjs +0 -47
  40. package/esm2022/yunzai-widgets/yunzai-fullscreen.component.mjs +0 -47
  41. package/esm2022/yunzai-widgets/yunzai-i18n.component.mjs +0 -139
  42. package/esm2022/yunzai-widgets/yunzai-notify.component.mjs +0 -180
  43. package/esm2022/yunzai-widgets/yunzai-user.component.mjs +0 -120
  44. package/esm2022/yunzai-widgets/yunzai-widget.module.mjs +0 -62
  45. package/esm2022/yunzai-widgets/yunzai-widgets.mjs +0 -5
@@ -10,7 +10,7 @@ import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
10
10
  import { NzFormModule } from 'ng-zorro-antd/form';
11
11
  import * as i2 from 'ng-zorro-antd/grid';
12
12
  import { NzGridModule } from 'ng-zorro-antd/grid';
13
- import * as i1$1 from 'ng-zorro-antd/icon';
13
+ import * as i5 from 'ng-zorro-antd/icon';
14
14
  import { NzIconModule } from 'ng-zorro-antd/icon';
15
15
  import * as i3 from 'ng-zorro-antd/input';
16
16
  import { NzInputModule } from 'ng-zorro-antd/input';
@@ -24,7 +24,7 @@ import { ReuseTabModule } from '@yelon/abc/reuse-tab';
24
24
  import * as i13 from '@yelon/bis/yunzai-widgets';
25
25
  import { YunzaiWidgetsModule } from '@yelon/bis/yunzai-widgets';
26
26
  import { StompService } from '@yelon/socket';
27
- import * as i1$2 from '@yelon/theme/layout-default';
27
+ import * as i1$1 from '@yelon/theme/layout-default';
28
28
  import { LayoutDisplayService, LayoutDefaultModule } from '@yelon/theme/layout-default';
29
29
  import * as i12 from '@yelon/theme/theme-btn';
30
30
  import { ThemeBtnModule } from '@yelon/theme/theme-btn';
@@ -42,21 +42,19 @@ import { mergeBisConfig } from '@yelon/bis/config';
42
42
  import * as i2$1 from 'ng-zorro-antd/menu';
43
43
 
44
44
  class YunzaiNavApplicationComponent {
45
- constructor() {
46
- this.config = mergeBisConfig(inject(YunzaiConfigService));
47
- this.http = inject(_HttpClient);
48
- this.win = inject(WINDOW);
49
- this.i18n = inject(YunzaiHttpI18NService);
50
- this.destroy$ = new Subject();
51
- this.state = {
52
- active: false,
53
- type: 'all',
54
- topic: undefined,
55
- topics: [],
56
- list: [],
57
- search: null
58
- };
59
- }
45
+ config = mergeBisConfig(inject(YunzaiConfigService));
46
+ http = inject(_HttpClient);
47
+ win = inject(WINDOW);
48
+ i18n = inject(YunzaiHttpI18NService);
49
+ destroy$ = new Subject();
50
+ state = {
51
+ active: false,
52
+ type: 'all',
53
+ topic: undefined,
54
+ topics: [],
55
+ list: [],
56
+ search: null
57
+ };
60
58
  get showAllMenu() {
61
59
  if (this.config.nav)
62
60
  return this.config.nav.all;
@@ -183,8 +181,8 @@ class YunzaiNavApplicationComponent {
183
181
  ngOnDestroy() {
184
182
  this.destroy$.complete();
185
183
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiNavApplicationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
187
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.11", type: YunzaiNavApplicationComponent, isStandalone: true, selector: "yunzai-layout-nav-application", ngImport: i0, template: `
184
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiNavApplicationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
185
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.5", type: YunzaiNavApplicationComponent, isStandalone: true, selector: "yunzai-layout-nav-application", ngImport: i0, template: `
188
186
  <ng-template #search>
189
187
  <div nz-row class="yz-application-list-search">
190
188
  <nz-input-group [nzPrefix]="prefixTemplate">
@@ -197,7 +195,7 @@ class YunzaiNavApplicationComponent {
197
195
  (ngModelChange)="onSearch()"
198
196
  />
199
197
  <ng-template #prefixTemplate>
200
- <i nz-icon nzType="search" nzTheme="outline"></i>
198
+ <nz-icon nzType="search" nzTheme="outline"></nz-icon>
201
199
  </ng-template>
202
200
  </nz-input-group>
203
201
  </div>
@@ -285,9 +283,9 @@ class YunzaiNavApplicationComponent {
285
283
  }
286
284
  </div>
287
285
  </div>
288
- `, isInline: true, dependencies: [{ kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.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: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NzGridModule }] }); }
286
+ `, isInline: true, dependencies: [{ kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.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: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
289
287
  }
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiNavApplicationComponent, decorators: [{
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiNavApplicationComponent, decorators: [{
291
289
  type: Component,
292
290
  args: [{
293
291
  selector: `yunzai-layout-nav-application`,
@@ -304,7 +302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
304
302
  (ngModelChange)="onSearch()"
305
303
  />
306
304
  <ng-template #prefixTemplate>
307
- <i nz-icon nzType="search" nzTheme="outline"></i>
305
+ <nz-icon nzType="search" nzTheme="outline"></nz-icon>
308
306
  </ng-template>
309
307
  </nz-input-group>
310
308
  </div>
@@ -393,20 +391,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
393
391
  </div>
394
392
  </div>
395
393
  `,
396
- standalone: true,
397
- imports: [I18nPipe, FormsModule, NzFormModule, NzInputModule, CommonModule, NzGridModule]
394
+ imports: [I18nPipe, FormsModule, NzFormModule, NzInputModule, CommonModule, NzGridModule, NzIconModule]
398
395
  }]
399
396
  }] });
400
397
 
401
398
  class YunzaiLayoutNavGroupComponent {
402
- constructor() {
403
- this.http = inject(_HttpClient);
404
- this.destroy$ = new Subject();
405
- this.win = inject(WINDOW);
406
- this.state = {
407
- topics: []
408
- };
409
- }
399
+ http = inject(_HttpClient);
400
+ destroy$ = new Subject();
401
+ win = inject(WINDOW);
402
+ state = {
403
+ topics: []
404
+ };
410
405
  ngOnInit() {
411
406
  const [, getTopics] = useLocalStorageHeader();
412
407
  this.state.topics = getTopics() || [];
@@ -439,8 +434,8 @@ class YunzaiLayoutNavGroupComponent {
439
434
  ngOnDestroy() {
440
435
  this.destroy$.complete();
441
436
  }
442
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutNavGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
443
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.11", type: YunzaiLayoutNavGroupComponent, isStandalone: true, selector: "yunzai-layout-nav-group", ngImport: i0, template: `
437
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutNavGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
438
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.5", type: YunzaiLayoutNavGroupComponent, isStandalone: true, selector: "yunzai-layout-nav-group", ngImport: i0, template: `
444
439
  <div class="yz-application-group">
445
440
  <nz-tabset>
446
441
  @for (menu of state.topics; track menu) {
@@ -455,11 +450,11 @@ class YunzaiLayoutNavGroupComponent {
455
450
  [nzOverlayClassName]="'yz-application-dropdown'"
456
451
  >
457
452
  @if (menu.icon) {
458
- <i nz-icon [nzType]="menu.icon" nzTheme="outline"></i>
453
+ <nz-icon [nzType]="menu.icon" nzTheme="outline"></nz-icon>
459
454
  }
460
455
  {{ menu.name | i18n }}
461
456
  @if (menu.children && menu.children.length > 0) {
462
- <i nz-icon nzType="down" nzTheme="outline"></i>
457
+ <nz-icon nzType="down" nzTheme="outline"></nz-icon>
463
458
  }
464
459
  </a>
465
460
  <nz-dropdown-menu #menuTpl="nzDropdownMenu">
@@ -475,7 +470,7 @@ class YunzaiLayoutNavGroupComponent {
475
470
  (click)="open(item)"
476
471
  >
477
472
  @if (item.icon) {
478
- <i nz-icon [nzType]="item.icon" nzTheme="outline"></i>
473
+ <nz-icon [nzType]="item.icon" nzTheme="outline"></nz-icon>
479
474
  }
480
475
  {{ item.name | i18n }}
481
476
  </li>
@@ -490,9 +485,9 @@ class YunzaiLayoutNavGroupComponent {
490
485
  }
491
486
  </nz-tabset>
492
487
  </div>
493
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "directive", type: i3$1.NzDropDownADirective, selector: "a[nz-dropdown]" }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4$1.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"] }, { kind: "component", type: i4$1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }] }); }
488
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "directive", type: i3$1.NzDropDownADirective, selector: "a[nz-dropdown]" }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4$1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4$1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }] });
494
489
  }
495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutNavGroupComponent, decorators: [{
490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutNavGroupComponent, decorators: [{
496
491
  type: Component,
497
492
  args: [{
498
493
  selector: `yunzai-layout-nav-group`,
@@ -511,11 +506,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
511
506
  [nzOverlayClassName]="'yz-application-dropdown'"
512
507
  >
513
508
  @if (menu.icon) {
514
- <i nz-icon [nzType]="menu.icon" nzTheme="outline"></i>
509
+ <nz-icon [nzType]="menu.icon" nzTheme="outline"></nz-icon>
515
510
  }
516
511
  {{ menu.name | i18n }}
517
512
  @if (menu.children && menu.children.length > 0) {
518
- <i nz-icon nzType="down" nzTheme="outline"></i>
513
+ <nz-icon nzType="down" nzTheme="outline"></nz-icon>
519
514
  }
520
515
  </a>
521
516
  <nz-dropdown-menu #menuTpl="nzDropdownMenu">
@@ -531,7 +526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
531
526
  (click)="open(item)"
532
527
  >
533
528
  @if (item.icon) {
534
- <i nz-icon [nzType]="item.icon" nzTheme="outline"></i>
529
+ <nz-icon [nzType]="item.icon" nzTheme="outline"></nz-icon>
535
530
  }
536
531
  {{ item.name | i18n }}
537
532
  </li>
@@ -547,55 +542,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
547
542
  </nz-tabset>
548
543
  </div>
549
544
  `,
550
- standalone: true,
551
545
  imports: [NzIconModule, NzDropDownModule, I18nPipe, NzTabsModule]
552
546
  }]
553
547
  }] });
554
548
 
555
549
  class YunzaiLayoutNavTileComponent {
556
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutNavTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
557
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: YunzaiLayoutNavTileComponent, isStandalone: true, selector: "yunzai-layout-nav-tile", ngImport: i0, template: `<ng-template />`, isInline: true }); }
550
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutNavTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
551
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: YunzaiLayoutNavTileComponent, isStandalone: true, selector: "yunzai-layout-nav-tile", ngImport: i0, template: `<ng-template />`, isInline: true });
558
552
  }
559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutNavTileComponent, decorators: [{
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutNavTileComponent, decorators: [{
560
554
  type: Component,
561
555
  args: [{
562
556
  selector: `yunzai-layout-nav-tile`,
563
- template: `<ng-template />`,
564
- standalone: true
557
+ template: `<ng-template />`
565
558
  }]
566
559
  }] });
567
560
 
568
561
  class YunzaiLayoutBasicComponent {
569
- constructor() {
570
- this.stomp = inject(StompService);
571
- this.win = inject(WINDOW);
572
- this.layoutDisplayService = inject(LayoutDisplayService);
573
- this.conf = inject(YUNZAI_CONFIG);
574
- this.NavType = NavType;
575
- this.state = {
576
- options: {
577
- logoExpanded: `./assets/logo-full.svg`,
578
- logoCollapsed: `./assets/logo.svg`
579
- },
580
- aside: {
581
- name: '',
582
- intro: '',
583
- icon: ''
584
- },
585
- display: {
586
- nav: true,
587
- aside: true,
588
- reusetab: true
589
- },
590
- navType: NavType.APPLICATION
591
- };
592
- this.headerStyleList = [];
593
- this.applicationModal = {
594
- isVisible: false,
595
- loading: false
596
- };
597
- this.httpClient = inject(HttpClient);
598
- }
562
+ stomp = inject(StompService);
563
+ win = inject(WINDOW);
564
+ layoutDisplayService = inject(LayoutDisplayService);
565
+ conf = inject(YUNZAI_CONFIG);
566
+ NavType = NavType;
567
+ state = {
568
+ options: {
569
+ logoExpanded: `./assets/logo-full.svg`,
570
+ logoCollapsed: `./assets/logo.svg`
571
+ },
572
+ aside: {
573
+ name: '',
574
+ intro: '',
575
+ icon: ''
576
+ },
577
+ display: {
578
+ nav: true,
579
+ aside: true,
580
+ reusetab: true
581
+ },
582
+ navType: NavType.APPLICATION
583
+ };
584
+ headerStyleList = [];
585
+ applicationInfo;
586
+ applicationModal = {
587
+ isVisible: false,
588
+ loading: false
589
+ };
590
+ httpClient = inject(HttpClient);
591
+ config;
599
592
  get options() {
600
593
  return this.state.options;
601
594
  }
@@ -710,10 +703,7 @@ class YunzaiLayoutBasicComponent {
710
703
  const name = urlArr[1].split('/')[0];
711
704
  this.applicationModal.isVisible = true;
712
705
  this.applicationModal.loading = true;
713
- // eslint-disable-next-line deprecation/deprecation
714
- this.httpClient.get(`/basic/api/app/aboutApp?name=${name}`).subscribe(
715
- // @ts-ignore
716
- (response) => {
706
+ this.httpClient.get(`/basic/api/app/aboutApp?name=${name}`).subscribe((response) => {
717
707
  this.applicationModal.loading = false;
718
708
  if (response.data) {
719
709
  this.applicationInfo = response.data;
@@ -723,8 +713,8 @@ class YunzaiLayoutBasicComponent {
723
713
  });
724
714
  }
725
715
  }
726
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutBasicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
727
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.11", type: YunzaiLayoutBasicComponent, isStandalone: true, selector: "yunzai-layout-basic", ngImport: i0, template: `
716
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutBasicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
717
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.5", type: YunzaiLayoutBasicComponent, isStandalone: true, selector: "yunzai-layout-basic", ngImport: i0, template: `
728
718
  <layout-default [options]="options" [asideUser]="asideUserTpl" [content]="displayReusetab ? contentTpl : noneTpl">
729
719
  <layout-default-header-item direction="left">
730
720
  <ng-container [ngSwitch]="navType">
@@ -759,7 +749,7 @@ class YunzaiLayoutBasicComponent {
759
749
  nzTrigger="click"
760
750
  nzPlacement="bottomRight"
761
751
  >
762
- <i nz-icon nzType="setting"></i>
752
+ <nz-icon nzType="setting" />
763
753
  </div>
764
754
  <nz-dropdown-menu #settingsMenu="nzDropdownMenu">
765
755
  <div nz-menu style="width: 200px;">
@@ -777,22 +767,22 @@ class YunzaiLayoutBasicComponent {
777
767
  >
778
768
  <ng-container [ngSwitch]="i.value">
779
769
  <ng-container *ngSwitchCase="NavType.APPLICATION">
780
- <i nz-icon nzType="appstore" class="mr-sm"></i>
770
+ <nz-icon nzType="appstore" class="mr-sm" />
781
771
  </ng-container>
782
772
  <ng-container *ngSwitchCase="NavType.GROUP">
783
- <i nz-icon nzType="group" class="mr-sm"></i>
773
+ <nz-icon nzType="group" class="mr-sm" />
784
774
  </ng-container>
785
775
  <ng-container *ngSwitchCase="NavType.TILE">
786
- <i nz-icon nzType="dash" class="mr-sm"></i>
776
+ <nz-icon nzType="dash" class="mr-sm" />
787
777
  </ng-container>
788
778
  <ng-container *ngSwitchCase="NavType.BLANK">
789
- <i nz-icon nzType="border" class="mr-sm"></i>
779
+ <nz-icon nzType="border" class="mr-sm" />
790
780
  </ng-container>
791
781
  <ng-container *ngSwitchCase="NavType.TABS">
792
- <i nz-icon nzType="insert-row-above" class="mr-sm"></i>
782
+ <nz-icon nzType="insert-row-above" class="mr-sm" />
793
783
  </ng-container>
794
784
  <ng-container *ngSwitchDefault>
795
- <i nz-icon nzType="appstore" class="mr-sm"></i>
785
+ <nz-icon nzType="appstore" class="mr-sm" />
796
786
  </ng-container>
797
787
  {{ 'mode.nav.' + i.value | i18n }}
798
788
  </ng-container>
@@ -836,7 +826,7 @@ class YunzaiLayoutBasicComponent {
836
826
  </nz-dropdown-menu>
837
827
  </ng-template>
838
828
  <ng-template #contentTpl>
839
- <reuse-tab #reuseTab [ngStyle]="reusetabCSS" />
829
+ <reuse-tab #reuseTab [style]="reusetabCSS" />
840
830
  <router-outlet (activate)="reuseTab.activate($event)" (attach)="reuseTab.activate($event)" />
841
831
  </ng-template>
842
832
  <ng-template #noneTpl>
@@ -872,9 +862,9 @@ class YunzaiLayoutBasicComponent {
872
862
  </nz-skeleton>
873
863
  </ng-container>
874
864
  </nz-modal>
875
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i1$2.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i1$2.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i1$2.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ReuseTabModule }, { kind: "component", type: i3$2.ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: ["mode", "i18n", "debug", "max", "tabMaxWidth", "excludes", "allowClose", "keepingScroll", "storageState", "keepingScrollContainer", "customContextMenu", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "tabType", "routeParamMatchMode", "disabled", "titleRender", "canClose"], outputs: ["change", "close"], exportAs: ["reuseTab"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: i4.DatePipe, name: "date" }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i7.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i9.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: i9.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: NzSkeletonModule }, { kind: "component", type: i10.NzSkeletonComponent, selector: "nz-skeleton", inputs: ["nzActive", "nzLoading", "nzRound", "nzTitle", "nzAvatar", "nzParagraph"], exportAs: ["nzSkeleton"] }, { kind: "ngmodule", type: NzDescriptionsModule }, { kind: "component", type: i11.NzDescriptionsComponent, selector: "nz-descriptions", inputs: ["nzBordered", "nzLayout", "nzColumn", "nzSize", "nzTitle", "nzExtra", "nzColon"], exportAs: ["nzDescriptions"] }, { kind: "component", type: i11.NzDescriptionsItemComponent, selector: "nz-descriptions-item", inputs: ["nzSpan", "nzTitle"], exportAs: ["nzDescriptionsItem"] }, { kind: "ngmodule", type: ThemeBtnModule }, { kind: "component", type: i12.ThemeBtnComponent, selector: "theme-btn", inputs: ["types", "devTips", "deployUrl"], outputs: ["themeChange"] }, { kind: "ngmodule", type: YunzaiWidgetsModule }, { kind: "component", type: i13.YunzaiHeaderClearStorageComponent, selector: "yunzai-header-clear-storage" }, { kind: "component", type: i13.YunzaiHeaderFullScreenComponent, selector: "yunzai-header-fullscreen" }, { kind: "component", type: i13.YunzaiHeaderNotifyComponent, selector: "yunzai-header-notify" }, { kind: "component", type: i13.YunzaiHeaderI18nComponent, selector: "yunzai-header-i18n", inputs: ["showLangText"] }, { kind: "component", type: i13.YunzaiHeaderUserComponent, selector: "yunzai-header-user" }, { kind: "component", type: YunzaiNavApplicationComponent, selector: "yunzai-layout-nav-application" }, { kind: "component", type: YunzaiLayoutNavGroupComponent, selector: "yunzai-layout-nav-group" }, { kind: "component", type: YunzaiLayoutNavTileComponent, selector: "yunzai-layout-nav-tile" }] }); }
865
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i1$1.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i1$1.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i1$1.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ReuseTabModule }, { kind: "component", type: i3$2.ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: ["mode", "i18n", "debug", "max", "tabMaxWidth", "excludes", "allowClose", "keepingScroll", "storageState", "keepingScrollContainer", "customContextMenu", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "tabType", "routeParamMatchMode", "disabled", "titleRender", "canClose"], outputs: ["change", "close"], exportAs: ["reuseTab"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: i4.DatePipe, name: "date" }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i7.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i9.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: i9.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: NzSkeletonModule }, { kind: "component", type: i10.NzSkeletonComponent, selector: "nz-skeleton", inputs: ["nzActive", "nzLoading", "nzRound", "nzTitle", "nzAvatar", "nzParagraph"], exportAs: ["nzSkeleton"] }, { kind: "ngmodule", type: NzDescriptionsModule }, { kind: "component", type: i11.NzDescriptionsComponent, selector: "nz-descriptions", inputs: ["nzBordered", "nzLayout", "nzColumn", "nzSize", "nzTitle", "nzExtra", "nzColon"], exportAs: ["nzDescriptions"] }, { kind: "component", type: i11.NzDescriptionsItemComponent, selector: "nz-descriptions-item", inputs: ["nzSpan", "nzTitle"], exportAs: ["nzDescriptionsItem"] }, { kind: "ngmodule", type: ThemeBtnModule }, { kind: "component", type: i12.ThemeBtnComponent, selector: "theme-btn", inputs: ["types", "devTips", "deployUrl"], outputs: ["themeChange"] }, { kind: "ngmodule", type: YunzaiWidgetsModule }, { kind: "component", type: i13.YunzaiHeaderClearStorageComponent, selector: "yunzai-header-clear-storage" }, { kind: "component", type: i13.YunzaiHeaderFullScreenComponent, selector: "yunzai-header-fullscreen" }, { kind: "component", type: i13.YunzaiHeaderNotifyComponent, selector: "yunzai-header-notify" }, { kind: "component", type: i13.YunzaiHeaderI18nComponent, selector: "yunzai-header-i18n", inputs: ["showLangText"] }, { kind: "component", type: i13.YunzaiHeaderUserComponent, selector: "yunzai-header-user" }, { kind: "component", type: YunzaiNavApplicationComponent, selector: "yunzai-layout-nav-application" }, { kind: "component", type: YunzaiLayoutNavGroupComponent, selector: "yunzai-layout-nav-group" }, { kind: "component", type: YunzaiLayoutNavTileComponent, selector: "yunzai-layout-nav-tile" }] });
876
866
  }
877
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutBasicComponent, decorators: [{
867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutBasicComponent, decorators: [{
878
868
  type: Component,
879
869
  args: [{
880
870
  selector: `yunzai-layout-basic`,
@@ -913,7 +903,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
913
903
  nzTrigger="click"
914
904
  nzPlacement="bottomRight"
915
905
  >
916
- <i nz-icon nzType="setting"></i>
906
+ <nz-icon nzType="setting" />
917
907
  </div>
918
908
  <nz-dropdown-menu #settingsMenu="nzDropdownMenu">
919
909
  <div nz-menu style="width: 200px;">
@@ -931,22 +921,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
931
921
  >
932
922
  <ng-container [ngSwitch]="i.value">
933
923
  <ng-container *ngSwitchCase="NavType.APPLICATION">
934
- <i nz-icon nzType="appstore" class="mr-sm"></i>
924
+ <nz-icon nzType="appstore" class="mr-sm" />
935
925
  </ng-container>
936
926
  <ng-container *ngSwitchCase="NavType.GROUP">
937
- <i nz-icon nzType="group" class="mr-sm"></i>
927
+ <nz-icon nzType="group" class="mr-sm" />
938
928
  </ng-container>
939
929
  <ng-container *ngSwitchCase="NavType.TILE">
940
- <i nz-icon nzType="dash" class="mr-sm"></i>
930
+ <nz-icon nzType="dash" class="mr-sm" />
941
931
  </ng-container>
942
932
  <ng-container *ngSwitchCase="NavType.BLANK">
943
- <i nz-icon nzType="border" class="mr-sm"></i>
933
+ <nz-icon nzType="border" class="mr-sm" />
944
934
  </ng-container>
945
935
  <ng-container *ngSwitchCase="NavType.TABS">
946
- <i nz-icon nzType="insert-row-above" class="mr-sm"></i>
936
+ <nz-icon nzType="insert-row-above" class="mr-sm" />
947
937
  </ng-container>
948
938
  <ng-container *ngSwitchDefault>
949
- <i nz-icon nzType="appstore" class="mr-sm"></i>
939
+ <nz-icon nzType="appstore" class="mr-sm" />
950
940
  </ng-container>
951
941
  {{ 'mode.nav.' + i.value | i18n }}
952
942
  </ng-container>
@@ -990,7 +980,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
990
980
  </nz-dropdown-menu>
991
981
  </ng-template>
992
982
  <ng-template #contentTpl>
993
- <reuse-tab #reuseTab [ngStyle]="reusetabCSS" />
983
+ <reuse-tab #reuseTab [style]="reusetabCSS" />
994
984
  <router-outlet (activate)="reuseTab.activate($event)" (attach)="reuseTab.activate($event)" />
995
985
  </ng-template>
996
986
  <ng-template #noneTpl>
@@ -1027,7 +1017,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
1027
1017
  </ng-container>
1028
1018
  </nz-modal>
1029
1019
  `,
1030
- standalone: true,
1031
1020
  imports: [
1032
1021
  LayoutDefaultModule,
1033
1022
  RouterModule,
@@ -1051,8 +1040,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImpo
1051
1040
 
1052
1041
  const COMPONENTS = [YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent];
1053
1042
  class YunzaiLayoutModule {
1054
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1055
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutModule, imports: [I18nPipe,
1043
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1044
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutModule, imports: [I18nPipe,
1056
1045
  FormsModule,
1057
1046
  NzFormModule,
1058
1047
  NzInputModule,
@@ -1060,17 +1049,17 @@ class YunzaiLayoutModule {
1060
1049
  NzGridModule,
1061
1050
  NzIconModule,
1062
1051
  NzDropDownModule,
1063
- NzTabsModule, YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent], exports: [YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] }); }
1064
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutModule, imports: [FormsModule,
1052
+ NzTabsModule, YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent], exports: [YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] });
1053
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutModule, imports: [FormsModule,
1065
1054
  NzFormModule,
1066
1055
  NzInputModule,
1067
1056
  CommonModule,
1068
1057
  NzGridModule,
1069
1058
  NzIconModule,
1070
1059
  NzDropDownModule,
1071
- NzTabsModule, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] }); }
1060
+ NzTabsModule, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] });
1072
1061
  }
1073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: YunzaiLayoutModule, decorators: [{
1062
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: YunzaiLayoutModule, decorators: [{
1074
1063
  type: NgModule,
1075
1064
  args: [{
1076
1065
  imports: [