@delon/theme 18.3.0 → 19.0.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 (103) hide show
  1. package/compact.css +882 -63
  2. package/compact.min.css +1 -1
  3. package/dark.css +882 -63
  4. package/dark.min.css +1 -1
  5. package/default.css +882 -63
  6. package/default.min.css +1 -1
  7. package/fesm2022/layout-default.mjs +118 -119
  8. package/fesm2022/layout-default.mjs.map +1 -1
  9. package/fesm2022/setting-drawer.mjs +59 -94
  10. package/fesm2022/setting-drawer.mjs.map +1 -1
  11. package/fesm2022/theme-btn.mjs +27 -29
  12. package/fesm2022/theme-btn.mjs.map +1 -1
  13. package/fesm2022/theme.mjs +168 -163
  14. package/fesm2022/theme.mjs.map +1 -1
  15. package/layout-default/layout.module.d.ts +2 -3
  16. package/layout-default/layout.service.d.ts +3 -0
  17. package/package.json +6 -16
  18. package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
  19. package/setting-drawer/setting-drawer.component.d.ts +1 -1
  20. package/setting-drawer/setting-drawer.module.d.ts +1 -13
  21. package/src/services/menu/menu.service.d.ts +8 -0
  22. package/system/ng/_drag.less +9 -0
  23. package/system/ng/index.less +1 -0
  24. package/variable.css +882 -63
  25. package/variable.min.css +1 -1
  26. package/esm2022/layout-blank/layout-blank.mjs +0 -5
  27. package/esm2022/layout-blank/public_api.mjs +0 -3
  28. package/esm2022/layout-default/layout-default.mjs +0 -5
  29. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +0 -16
  30. package/esm2022/layout-default/layout-header-item.component.mjs +0 -33
  31. package/esm2022/layout-default/layout-header.component.mjs +0 -138
  32. package/esm2022/layout-default/layout-nav.component.mjs +0 -280
  33. package/esm2022/layout-default/layout-top-menu-item.mjs +0 -33
  34. package/esm2022/layout-default/layout.component.mjs +0 -196
  35. package/esm2022/layout-default/layout.module.mjs +0 -71
  36. package/esm2022/layout-default/layout.service.mjs +0 -65
  37. package/esm2022/layout-default/public_api.mjs +0 -10
  38. package/esm2022/layout-default/types.mjs +0 -2
  39. package/esm2022/public_api.mjs +0 -9
  40. package/esm2022/setting-drawer/public_api.mjs +0 -4
  41. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +0 -34
  42. package/esm2022/setting-drawer/setting-drawer.component.mjs +0 -183
  43. package/esm2022/setting-drawer/setting-drawer.mjs +0 -5
  44. package/esm2022/setting-drawer/setting-drawer.module.mjs +0 -66
  45. package/esm2022/setting-drawer/setting-drawer.types.mjs +0 -193
  46. package/esm2022/src/config.mjs +0 -2
  47. package/esm2022/src/locale/index.mjs +0 -2
  48. package/esm2022/src/locale/languages/ar-SA.mjs +0 -83
  49. package/esm2022/src/locale/languages/el-GR.mjs +0 -83
  50. package/esm2022/src/locale/languages/en-US.mjs +0 -83
  51. package/esm2022/src/locale/languages/es-ES.mjs +0 -83
  52. package/esm2022/src/locale/languages/fr-FR.mjs +0 -83
  53. package/esm2022/src/locale/languages/hr-HR.mjs +0 -47
  54. package/esm2022/src/locale/languages/it-IT.mjs +0 -83
  55. package/esm2022/src/locale/languages/ja-JP.mjs +0 -83
  56. package/esm2022/src/locale/languages/ko-KR.mjs +0 -83
  57. package/esm2022/src/locale/languages/pl-PL.mjs +0 -83
  58. package/esm2022/src/locale/languages/sl-SI.mjs +0 -82
  59. package/esm2022/src/locale/languages/tr-TR.mjs +0 -83
  60. package/esm2022/src/locale/languages/vi-VI.mjs +0 -83
  61. package/esm2022/src/locale/languages/zh-CN.mjs +0 -83
  62. package/esm2022/src/locale/languages/zh-TW.mjs +0 -83
  63. package/esm2022/src/locale/locale.module.mjs +0 -17
  64. package/esm2022/src/locale/locale.service.mjs +0 -45
  65. package/esm2022/src/locale/locale.tokens.mjs +0 -3
  66. package/esm2022/src/locale/locale.types.mjs +0 -2
  67. package/esm2022/src/locale/public_api.mjs +0 -20
  68. package/esm2022/src/pipes/date/date.pipe.mjs +0 -25
  69. package/esm2022/src/pipes/index.mjs +0 -6
  70. package/esm2022/src/pipes/keys/keys.pipe.mjs +0 -21
  71. package/esm2022/src/pipes/safe/html.pipe.mjs +0 -18
  72. package/esm2022/src/pipes/safe/url.pipe.mjs +0 -18
  73. package/esm2022/src/pipes/yn/yn.pipe.mjs +0 -43
  74. package/esm2022/src/provide.mjs +0 -51
  75. package/esm2022/src/router/optional-preloader.mjs +0 -21
  76. package/esm2022/src/services/drawer/drawer.helper.mjs +0 -110
  77. package/esm2022/src/services/http/http.client.mjs +0 -154
  78. package/esm2022/src/services/http/http.decorator.mjs +0 -212
  79. package/esm2022/src/services/http/http.token.mjs +0 -38
  80. package/esm2022/src/services/http/index.mjs +0 -4
  81. package/esm2022/src/services/i18n/i18n-url.guard.mjs +0 -51
  82. package/esm2022/src/services/i18n/i18n.mjs +0 -100
  83. package/esm2022/src/services/i18n/i18n.pipe.mjs +0 -18
  84. package/esm2022/src/services/i18n/index.mjs +0 -4
  85. package/esm2022/src/services/index.mjs +0 -11
  86. package/esm2022/src/services/menu/index.mjs +0 -3
  87. package/esm2022/src/services/menu/interface.mjs +0 -2
  88. package/esm2022/src/services/menu/menu.service.mjs +0 -297
  89. package/esm2022/src/services/modal/modal.helper.mjs +0 -167
  90. package/esm2022/src/services/preloader/preloader.mjs +0 -27
  91. package/esm2022/src/services/responsive/responsive.mjs +0 -53
  92. package/esm2022/src/services/rtl/rtl.service.mjs +0 -98
  93. package/esm2022/src/services/settings/index.mjs +0 -3
  94. package/esm2022/src/services/settings/settings.service.mjs +0 -105
  95. package/esm2022/src/services/settings/types.mjs +0 -2
  96. package/esm2022/src/services/title/title.service.mjs +0 -137
  97. package/esm2022/src/theme.module.mjs +0 -57
  98. package/esm2022/src/version.mjs +0 -3
  99. package/esm2022/theme-btn/public_api.mjs +0 -3
  100. package/esm2022/theme-btn/theme-btn.component.mjs +0 -100
  101. package/esm2022/theme-btn/theme-btn.mjs +0 -5
  102. package/esm2022/theme-btn/theme-btn.module.mjs +0 -20
  103. package/esm2022/theme.mjs +0 -5
@@ -1,16 +1,16 @@
1
- import * as i1 from '@angular/common';
1
+ import * as i1$1 from '@angular/common';
2
2
  import { DOCUMENT, CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Component, ViewChild, Input, inject, Injectable, Renderer2, ChangeDetectorRef, NgZone, DestroyRef, EventEmitter, booleanAttribute, numberAttribute, ChangeDetectionStrategy, ViewEncapsulation, Output, Inject, ContentChildren, Directive, NgModule } from '@angular/core';
5
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
- import * as i1$1 from '@angular/router';
6
+ import * as i1$2 from '@angular/router';
7
7
  import { Router, NavigationEnd, RouteConfigLoadStart, NavigationError, NavigationCancel, RouteConfigLoadEnd, RouterModule } from '@angular/router';
8
8
  import { BehaviorSubject, filter } from 'rxjs';
9
9
  import { updateHostClass } from '@delon/util/browser';
10
10
  import * as i2$1 from 'ng-zorro-antd/message';
11
- import { NzMessageModule } from 'ng-zorro-antd/message';
12
11
  import * as i3$1 from '@delon/theme';
13
12
  import { SettingsService, MenuService } from '@delon/theme';
13
+ import * as i1 from '@angular/cdk/layout';
14
14
  import * as i3 from 'ng-zorro-antd/icon';
15
15
  import { NzIconModule } from 'ng-zorro-antd/icon';
16
16
  import { __decorate } from 'tslib';
@@ -26,18 +26,17 @@ import { NzAvatarModule } from 'ng-zorro-antd/avatar';
26
26
  import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
27
27
 
28
28
  class LayoutDefaultHeaderItemComponent {
29
- constructor() {
30
- this.hidden = 'none';
31
- this.direction = 'right';
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: { hidden: "hidden", direction: "direction" }, viewQueries: [{ propertyName: "host", first: true, predicate: ["host"], descendants: true, static: true }], ngImport: i0, template: `
29
+ host;
30
+ hidden = 'none';
31
+ direction = 'right';
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: LayoutDefaultHeaderItemComponent, isStandalone: false, selector: "layout-default-header-item", inputs: { hidden: "hidden", direction: "direction" }, viewQueries: [{ propertyName: "host", first: true, predicate: ["host"], descendants: true, static: true }], ngImport: i0, template: `
35
34
  <ng-template #host>
36
35
  <ng-content />
37
36
  </ng-template>
38
- `, isInline: true }); }
37
+ `, isInline: true });
39
38
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderItemComponent, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderItemComponent, decorators: [{
41
40
  type: Component,
42
41
  args: [{
43
42
  selector: 'layout-default-header-item',
@@ -45,7 +44,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
45
44
  <ng-template #host>
46
45
  <ng-content />
47
46
  </ng-template>
48
- `
47
+ `,
48
+ // eslint-disable-next-line @angular-eslint/prefer-standalone
49
+ standalone: false
49
50
  }]
50
51
  }], propDecorators: { host: [{
51
52
  type: ViewChild,
@@ -66,11 +67,9 @@ const DEFAULT = {
66
67
  hideHeader: false
67
68
  };
68
69
  class LayoutDefaultService {
69
- constructor() {
70
- this.settings = inject(SettingsService);
71
- this._options$ = new BehaviorSubject(DEFAULT);
72
- this._options = DEFAULT;
73
- }
70
+ settings = inject(SettingsService);
71
+ _options$ = new BehaviorSubject(DEFAULT);
72
+ _options = DEFAULT;
74
73
  get options() {
75
74
  return this._options;
76
75
  }
@@ -85,6 +84,16 @@ class LayoutDefaultService {
85
84
  }
86
85
  return `menu-${type}`;
87
86
  }
87
+ constructor(bm) {
88
+ const mobileMedia = 'only screen and (max-width: 767.99px)';
89
+ bm.observe(mobileMedia)
90
+ .pipe(takeUntilDestroyed())
91
+ .subscribe(state => this.checkMedia(state.matches));
92
+ this.checkMedia(bm.isMatched(mobileMedia));
93
+ }
94
+ checkMedia(value) {
95
+ this.settings.setLayout('collapsed', value);
96
+ }
88
97
  notify() {
89
98
  this._options$.next(this._options);
90
99
  }
@@ -109,41 +118,41 @@ class LayoutDefaultService {
109
118
  this.settings.setLayout('collapsed', status != null ? status : !this.settings.layout.collapsed);
110
119
  this.notify();
111
120
  }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
113
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultService, providedIn: 'root' }); }
121
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
122
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultService, providedIn: 'root' });
114
123
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultService, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultService, decorators: [{
116
125
  type: Injectable,
117
126
  args: [{ providedIn: 'root' }]
118
- }] });
127
+ }], ctorParameters: () => [{ type: i1.BreakpointObserver }] });
119
128
 
120
129
  const SHOWCLS = 'sidebar-nav__floating-show';
121
130
  const FLOATINGCLS = 'sidebar-nav__floating';
122
131
  class LayoutDefaultNavComponent {
123
- constructor() {
124
- this.doc = inject(DOCUMENT);
125
- this.win = inject(WINDOW);
126
- this.router = inject(Router);
127
- this.render = inject(Renderer2);
128
- this.menuSrv = inject(MenuService);
129
- this.settings = inject(SettingsService);
130
- this.cdr = inject(ChangeDetectorRef);
131
- this.ngZone = inject(NgZone);
132
- this.sanitizer = inject(DomSanitizer);
133
- this.directionality = inject(Directionality);
134
- this.destroy$ = inject(DestroyRef);
135
- this.dir = 'ltr';
136
- this.list = [];
137
- this.disabledAcl = false;
138
- this.autoCloseUnderPad = true;
139
- this.recursivePath = true;
140
- this.hideEmptyChildren = true;
141
- this.maxLevelIcon = 3;
142
- this.select = new EventEmitter();
143
- }
132
+ doc = inject(DOCUMENT);
133
+ win = inject(WINDOW);
134
+ router = inject(Router);
135
+ render = inject(Renderer2);
136
+ menuSrv = inject(MenuService);
137
+ settings = inject(SettingsService);
138
+ cdr = inject(ChangeDetectorRef);
139
+ ngZone = inject(NgZone);
140
+ sanitizer = inject(DomSanitizer);
141
+ directionality = inject(Directionality);
142
+ bodyEl;
143
+ destroy$ = inject(DestroyRef);
144
+ floatingEl;
145
+ dir = 'ltr';
146
+ list = [];
147
+ disabledAcl = false;
148
+ autoCloseUnderPad = true;
149
+ recursivePath = true;
150
+ hideEmptyChildren = true;
144
151
  set openStrictly(value) {
145
152
  this.menuSrv.openStrictly = value;
146
153
  }
154
+ maxLevelIcon = 3;
155
+ select = new EventEmitter();
147
156
  get collapsed() {
148
157
  return this.settings.layout.collapsed;
149
158
  }
@@ -346,19 +355,19 @@ class LayoutDefaultNavComponent {
346
355
  openAside(status) {
347
356
  this.settings.setLayout('collapsed', status);
348
357
  }
349
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
350
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: LayoutDefaultNavComponent, selector: "layout-default-nav", inputs: { disabledAcl: ["disabledAcl", "disabledAcl", booleanAttribute], autoCloseUnderPad: ["autoCloseUnderPad", "autoCloseUnderPad", booleanAttribute], recursivePath: ["recursivePath", "recursivePath", booleanAttribute], hideEmptyChildren: ["hideEmptyChildren", "hideEmptyChildren", booleanAttribute], openStrictly: ["openStrictly", "openStrictly", booleanAttribute], maxLevelIcon: ["maxLevelIcon", "maxLevelIcon", numberAttribute] }, outputs: { select: "select" }, host: { listeners: { "click": "_click()", "document:click": "closeSubMenu()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: "<ng-template #icon let-i>\n @if (i) {\n @switch (i.type) {\n @case ('icon') {\n <i\n class=\"sidebar-nav__item-icon\"\n nz-icon\n [nzType]=\"i.value\"\n [nzTheme]=\"i.theme\"\n [nzSpin]=\"i.spin\"\n [nzTwotoneColor]=\"i.twoToneColor\"\n [nzIconfont]=\"i.iconfont\"\n [nzRotate]=\"i.rotate\"\n ></i>\n }\n @case ('iconfont') {\n <i class=\"sidebar-nav__item-icon\" nz-icon [nzIconfont]=\"i.iconfont\"></i>\n }\n @case ('img') {\n <img [src]=\"i.value\" class=\"sidebar-nav__item-icon sidebar-nav__item-img\" />\n }\n @case ('svg') {\n <span class=\"sidebar-nav__item-icon sidebar-nav__item-svg\" [innerHTML]=\"i.value\"></span>\n }\n @default {\n <i class=\"sidebar-nav__item-icon {{ i.value }}\"></i>\n }\n }\n }\n</ng-template>\n<ng-template #tree let-ls>\n @for (i of ls; track $index) {\n @if (i._hidden !== true) {\n <li class=\"sidebar-nav__item\" [class.sidebar-nav__selected]=\"i._selected\" [class.sidebar-nav__open]=\"i.open\">\n <!-- link -->\n @if (i.children.length === 0) {\n <a\n (click)=\"to(i)\"\n [attr.data-id]=\"i._id\"\n class=\"sidebar-nav__item-link\"\n [ngClass]=\"{ 'sidebar-nav__item-disabled': i.disabled }\"\n (mouseenter)=\"closeSubMenu()\"\n >\n @if (i._needIcon) {\n @if (collapsed) {\n <span nz-tooltip nzTooltipPlacement=\"right\" [nzTooltipTitle]=\"i.text\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n }\n }\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n </a>\n }\n <!-- has children link -->\n @if (i.children.length > 0) {\n <a (click)=\"toggleOpen(i)\" (mouseenter)=\"showSubMenu($event, i)\" class=\"sidebar-nav__item-link\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n <i class=\"sidebar-nav__sub-arrow\"></i>\n </a>\n }\n <!-- badge -->\n @if (i.badge) {\n <nz-badge [nzCount]=\"i.badge\" [nzDot]=\"i.badgeDot\" nzStandalone [nzOverflowCount]=\"9\" />\n }\n @if (i.children.length > 0) {\n <ul class=\"sidebar-nav sidebar-nav__sub sidebar-nav__depth{{ i._depth }}\">\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: i.children }\" />\n </ul>\n }\n </li>\n }\n }\n</ng-template>\n<ul class=\"sidebar-nav\">\n @for (group of list; track $index) {\n @if (group.group) {\n <li class=\"sidebar-nav__item sidebar-nav__group-title\">\n <span [innerHTML]=\"group._text\"></span>\n </li>\n }\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: group.children }\" />\n }\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "directive", type: i3.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i4.NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
358
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
359
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: LayoutDefaultNavComponent, isStandalone: false, selector: "layout-default-nav", inputs: { disabledAcl: ["disabledAcl", "disabledAcl", booleanAttribute], autoCloseUnderPad: ["autoCloseUnderPad", "autoCloseUnderPad", booleanAttribute], recursivePath: ["recursivePath", "recursivePath", booleanAttribute], hideEmptyChildren: ["hideEmptyChildren", "hideEmptyChildren", booleanAttribute], openStrictly: ["openStrictly", "openStrictly", booleanAttribute], maxLevelIcon: ["maxLevelIcon", "maxLevelIcon", numberAttribute] }, outputs: { select: "select" }, host: { listeners: { "click": "_click()", "document:click": "closeSubMenu()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: "<ng-template #icon let-i>\n @if (i) {\n @switch (i.type) {\n @case ('icon') {\n <nz-icon\n class=\"sidebar-nav__item-icon\"\n [nzType]=\"i.value\"\n [nzTheme]=\"i.theme\"\n [nzSpin]=\"i.spin\"\n [nzTwotoneColor]=\"i.twoToneColor\"\n [nzIconfont]=\"i.iconfont\"\n [nzRotate]=\"i.rotate\"\n />\n }\n @case ('iconfont') {\n <nz-icon class=\"sidebar-nav__item-icon\" [nzIconfont]=\"i.iconfont\" />\n }\n @case ('img') {\n <img [src]=\"i.value\" class=\"sidebar-nav__item-icon sidebar-nav__item-img\" />\n }\n @case ('svg') {\n <span class=\"sidebar-nav__item-icon sidebar-nav__item-svg\" [innerHTML]=\"i.value\"></span>\n }\n @default {\n <i class=\"sidebar-nav__item-icon {{ i.value }}\"></i>\n }\n }\n }\n</ng-template>\n<ng-template #tree let-ls>\n @for (i of ls; track $index) {\n @if (i._hidden !== true) {\n <li class=\"sidebar-nav__item\" [class.sidebar-nav__selected]=\"i._selected\" [class.sidebar-nav__open]=\"i.open\">\n <!-- link -->\n @if (i.children.length === 0) {\n <a\n (click)=\"to(i)\"\n [attr.data-id]=\"i._id\"\n class=\"sidebar-nav__item-link\"\n [class.sidebar-nav__item-disabled]=\"i.disabled\"\n (mouseenter)=\"closeSubMenu()\"\n >\n @if (i._needIcon) {\n @if (collapsed) {\n <span nz-tooltip nzTooltipPlacement=\"right\" [nzTooltipTitle]=\"i.text\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n }\n }\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n </a>\n }\n <!-- has children link -->\n @if (i.children.length > 0) {\n <a (click)=\"toggleOpen(i)\" (mouseenter)=\"showSubMenu($event, i)\" class=\"sidebar-nav__item-link\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n <i class=\"sidebar-nav__sub-arrow\"></i>\n </a>\n }\n <!-- badge -->\n @if (i.badge) {\n <nz-badge [nzCount]=\"i.badge\" [nzDot]=\"i.badgeDot\" nzStandalone [nzOverflowCount]=\"9\" />\n }\n @if (i.children.length > 0) {\n <ul class=\"sidebar-nav sidebar-nav__sub sidebar-nav__depth{{ i._depth }}\">\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: i.children }\" />\n </ul>\n }\n </li>\n }\n }\n</ng-template>\n<ul class=\"sidebar-nav\">\n @for (group of list; track $index) {\n @if (group.group) {\n <li class=\"sidebar-nav__item sidebar-nav__group-title\">\n <span [innerHTML]=\"group._text\"></span>\n </li>\n }\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: group.children }\" />\n }\n</ul>\n", dependencies: [{ kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i4.NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
351
360
  }
352
361
  __decorate([
353
362
  ZoneOutside()
354
363
  ], LayoutDefaultNavComponent.prototype, "showSubMenu", null);
355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultNavComponent, decorators: [{
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultNavComponent, decorators: [{
356
365
  type: Component,
357
366
  args: [{ selector: 'layout-default-nav', host: {
358
367
  '(click)': '_click()',
359
368
  '(document:click)': 'closeSubMenu()',
360
369
  '[class.d-block]': `true`
361
- }, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template #icon let-i>\n @if (i) {\n @switch (i.type) {\n @case ('icon') {\n <i\n class=\"sidebar-nav__item-icon\"\n nz-icon\n [nzType]=\"i.value\"\n [nzTheme]=\"i.theme\"\n [nzSpin]=\"i.spin\"\n [nzTwotoneColor]=\"i.twoToneColor\"\n [nzIconfont]=\"i.iconfont\"\n [nzRotate]=\"i.rotate\"\n ></i>\n }\n @case ('iconfont') {\n <i class=\"sidebar-nav__item-icon\" nz-icon [nzIconfont]=\"i.iconfont\"></i>\n }\n @case ('img') {\n <img [src]=\"i.value\" class=\"sidebar-nav__item-icon sidebar-nav__item-img\" />\n }\n @case ('svg') {\n <span class=\"sidebar-nav__item-icon sidebar-nav__item-svg\" [innerHTML]=\"i.value\"></span>\n }\n @default {\n <i class=\"sidebar-nav__item-icon {{ i.value }}\"></i>\n }\n }\n }\n</ng-template>\n<ng-template #tree let-ls>\n @for (i of ls; track $index) {\n @if (i._hidden !== true) {\n <li class=\"sidebar-nav__item\" [class.sidebar-nav__selected]=\"i._selected\" [class.sidebar-nav__open]=\"i.open\">\n <!-- link -->\n @if (i.children.length === 0) {\n <a\n (click)=\"to(i)\"\n [attr.data-id]=\"i._id\"\n class=\"sidebar-nav__item-link\"\n [ngClass]=\"{ 'sidebar-nav__item-disabled': i.disabled }\"\n (mouseenter)=\"closeSubMenu()\"\n >\n @if (i._needIcon) {\n @if (collapsed) {\n <span nz-tooltip nzTooltipPlacement=\"right\" [nzTooltipTitle]=\"i.text\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n }\n }\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n </a>\n }\n <!-- has children link -->\n @if (i.children.length > 0) {\n <a (click)=\"toggleOpen(i)\" (mouseenter)=\"showSubMenu($event, i)\" class=\"sidebar-nav__item-link\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n <i class=\"sidebar-nav__sub-arrow\"></i>\n </a>\n }\n <!-- badge -->\n @if (i.badge) {\n <nz-badge [nzCount]=\"i.badge\" [nzDot]=\"i.badgeDot\" nzStandalone [nzOverflowCount]=\"9\" />\n }\n @if (i.children.length > 0) {\n <ul class=\"sidebar-nav sidebar-nav__sub sidebar-nav__depth{{ i._depth }}\">\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: i.children }\" />\n </ul>\n }\n </li>\n }\n }\n</ng-template>\n<ul class=\"sidebar-nav\">\n @for (group of list; track $index) {\n @if (group.group) {\n <li class=\"sidebar-nav__item sidebar-nav__group-title\">\n <span [innerHTML]=\"group._text\"></span>\n </li>\n }\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: group.children }\" />\n }\n</ul>\n" }]
370
+ }, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-template #icon let-i>\n @if (i) {\n @switch (i.type) {\n @case ('icon') {\n <nz-icon\n class=\"sidebar-nav__item-icon\"\n [nzType]=\"i.value\"\n [nzTheme]=\"i.theme\"\n [nzSpin]=\"i.spin\"\n [nzTwotoneColor]=\"i.twoToneColor\"\n [nzIconfont]=\"i.iconfont\"\n [nzRotate]=\"i.rotate\"\n />\n }\n @case ('iconfont') {\n <nz-icon class=\"sidebar-nav__item-icon\" [nzIconfont]=\"i.iconfont\" />\n }\n @case ('img') {\n <img [src]=\"i.value\" class=\"sidebar-nav__item-icon sidebar-nav__item-img\" />\n }\n @case ('svg') {\n <span class=\"sidebar-nav__item-icon sidebar-nav__item-svg\" [innerHTML]=\"i.value\"></span>\n }\n @default {\n <i class=\"sidebar-nav__item-icon {{ i.value }}\"></i>\n }\n }\n }\n</ng-template>\n<ng-template #tree let-ls>\n @for (i of ls; track $index) {\n @if (i._hidden !== true) {\n <li class=\"sidebar-nav__item\" [class.sidebar-nav__selected]=\"i._selected\" [class.sidebar-nav__open]=\"i.open\">\n <!-- link -->\n @if (i.children.length === 0) {\n <a\n (click)=\"to(i)\"\n [attr.data-id]=\"i._id\"\n class=\"sidebar-nav__item-link\"\n [class.sidebar-nav__item-disabled]=\"i.disabled\"\n (mouseenter)=\"closeSubMenu()\"\n >\n @if (i._needIcon) {\n @if (collapsed) {\n <span nz-tooltip nzTooltipPlacement=\"right\" [nzTooltipTitle]=\"i.text\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n }\n }\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n </a>\n }\n <!-- has children link -->\n @if (i.children.length > 0) {\n <a (click)=\"toggleOpen(i)\" (mouseenter)=\"showSubMenu($event, i)\" class=\"sidebar-nav__item-link\">\n <ng-template [ngTemplateOutlet]=\"icon\" [ngTemplateOutletContext]=\"{ $implicit: i.icon }\" />\n <span class=\"sidebar-nav__item-text\" [innerHTML]=\"i._text\" [attr.title]=\"i.text\"></span>\n <i class=\"sidebar-nav__sub-arrow\"></i>\n </a>\n }\n <!-- badge -->\n @if (i.badge) {\n <nz-badge [nzCount]=\"i.badge\" [nzDot]=\"i.badgeDot\" nzStandalone [nzOverflowCount]=\"9\" />\n }\n @if (i.children.length > 0) {\n <ul class=\"sidebar-nav sidebar-nav__sub sidebar-nav__depth{{ i._depth }}\">\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: i.children }\" />\n </ul>\n }\n </li>\n }\n }\n</ng-template>\n<ul class=\"sidebar-nav\">\n @for (group of list; track $index) {\n @if (group.group) {\n <li class=\"sidebar-nav__item sidebar-nav__group-title\">\n <span [innerHTML]=\"group._text\"></span>\n </li>\n }\n <ng-template [ngTemplateOutlet]=\"tree\" [ngTemplateOutletContext]=\"{ $implicit: group.children }\" />\n }\n</ul>\n" }]
362
371
  }], propDecorators: { disabledAcl: [{
363
372
  type: Input,
364
373
  args: [{ transform: booleanAttribute }]
@@ -382,15 +391,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
382
391
  }], showSubMenu: [] } });
383
392
 
384
393
  class LayoutDefaultHeaderComponent {
385
- constructor() {
386
- this.settings = inject(SettingsService);
387
- this.srv = inject(LayoutDefaultService);
388
- this.cdr = inject(ChangeDetectorRef);
389
- this.destroy$ = inject(DestroyRef);
390
- this.left = [];
391
- this.middle = [];
392
- this.right = [];
393
- }
394
+ settings = inject(SettingsService);
395
+ srv = inject(LayoutDefaultService);
396
+ cdr = inject(ChangeDetectorRef);
397
+ destroy$ = inject(DestroyRef);
398
+ items;
399
+ left = [];
400
+ middle = [];
401
+ right = [];
394
402
  get opt() {
395
403
  return this.srv.options;
396
404
  }
@@ -418,8 +426,8 @@ class LayoutDefaultHeaderComponent {
418
426
  toggleCollapsed() {
419
427
  this.srv.toggleCollapsed();
420
428
  }
421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
422
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: LayoutDefaultHeaderComponent, selector: "layout-default-header", inputs: { items: "items" }, host: { properties: { "class.alain-default__header": "true" } }, ngImport: i0, template: `
429
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
430
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: LayoutDefaultHeaderComponent, isStandalone: false, selector: "layout-default-header", inputs: { items: "items" }, host: { properties: { "class.alain-default__header": "true" } }, ngImport: i0, template: `
423
431
  <ng-template #render let-ls>
424
432
  @for (i of ls; track $index) {
425
433
  <li [class.hidden-mobile]="i.hidden === 'mobile'" [class.hidden-pc]="i.hidden === 'pc'">
@@ -442,7 +450,7 @@ class LayoutDefaultHeaderComponent {
442
450
  @if (!opt.hideAside && opt.showHeaderCollapse) {
443
451
  <li>
444
452
  <div class="alain-default__nav-item alain-default__nav-item--collapse" (click)="toggleCollapsed()">
445
- <span nz-icon [nzType]="collapsedIcon"></span>
453
+ <nz-icon [nzType]="collapsedIcon" />
446
454
  </div>
447
455
  </li>
448
456
  }
@@ -457,9 +465,9 @@ class LayoutDefaultHeaderComponent {
457
465
  <ng-template [ngTemplateOutlet]="render" [ngTemplateOutletContext]="{ $implicit: right }" />
458
466
  </ul>
459
467
  </div>
460
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
468
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
461
469
  }
462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderComponent, decorators: [{
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderComponent, decorators: [{
463
471
  type: Component,
464
472
  args: [{
465
473
  selector: 'layout-default-header',
@@ -486,7 +494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
486
494
  @if (!opt.hideAside && opt.showHeaderCollapse) {
487
495
  <li>
488
496
  <div class="alain-default__nav-item alain-default__nav-item--collapse" (click)="toggleCollapsed()">
489
- <span nz-icon [nzType]="collapsedIcon"></span>
497
+ <nz-icon [nzType]="collapsedIcon" />
490
498
  </div>
491
499
  </li>
492
500
  }
@@ -505,19 +513,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
505
513
  host: {
506
514
  '[class.alain-default__header]': `true`
507
515
  },
508
- changeDetection: ChangeDetectionStrategy.OnPush
516
+ changeDetection: ChangeDetectionStrategy.OnPush,
517
+ // eslint-disable-next-line @angular-eslint/prefer-standalone
518
+ standalone: false
509
519
  }]
510
520
  }], propDecorators: { items: [{
511
521
  type: Input
512
522
  }] } });
513
523
 
514
524
  class LayoutDefaultComponent {
525
+ msgSrv;
526
+ settings;
527
+ el;
528
+ renderer;
529
+ doc;
530
+ srv;
531
+ headerItems;
515
532
  get opt() {
516
533
  return this.srv.options;
517
534
  }
518
535
  set options(value) {
519
536
  this.srv.setOptions(value);
520
537
  }
538
+ asideUser = null;
539
+ asideBottom = null;
540
+ nav = null;
541
+ content = null;
542
+ customError;
543
+ fetchingStrictly = false;
544
+ fetching = false;
545
+ isFetching = false;
521
546
  get showFetching() {
522
547
  if (this.fetchingStrictly)
523
548
  return this.fetching;
@@ -539,13 +564,6 @@ class LayoutDefaultComponent {
539
564
  this.renderer = renderer;
540
565
  this.doc = doc;
541
566
  this.srv = srv;
542
- this.asideUser = null;
543
- this.asideBottom = null;
544
- this.nav = null;
545
- this.content = null;
546
- this.fetchingStrictly = false;
547
- this.fetching = false;
548
- this.isFetching = false;
549
567
  router.events
550
568
  .pipe(takeUntilDestroyed(), filter(() => !this.fetchingStrictly))
551
569
  .subscribe(ev => this.processEv(ev));
@@ -585,8 +603,8 @@ class LayoutDefaultComponent {
585
603
  });
586
604
  doc.body.classList[layout.colorWeak ? 'add' : 'remove']('color-weak');
587
605
  }
588
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultComponent, deps: [{ token: i1$1.Router }, { token: i2$1.NzMessageService }, { token: i3$1.SettingsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DOCUMENT }, { token: LayoutDefaultService }], target: i0.ɵɵFactoryTarget.Component }); }
589
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: LayoutDefaultComponent, selector: "layout-default", inputs: { options: "options", asideUser: "asideUser", asideBottom: "asideBottom", nav: "nav", content: "content", customError: "customError", fetchingStrictly: ["fetchingStrictly", "fetchingStrictly", booleanAttribute], fetching: ["fetching", "fetching", booleanAttribute] }, queries: [{ propertyName: "headerItems", predicate: LayoutDefaultHeaderItemComponent }], exportAs: ["layoutDefault"], ngImport: i0, template: `
606
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultComponent, deps: [{ token: i1$2.Router }, { token: i2$1.NzMessageService }, { token: i3$1.SettingsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DOCUMENT }, { token: LayoutDefaultService }], target: i0.ɵɵFactoryTarget.Component });
607
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: LayoutDefaultComponent, isStandalone: false, selector: "layout-default", inputs: { options: "options", asideUser: "asideUser", asideBottom: "asideBottom", nav: "nav", content: "content", customError: "customError", fetchingStrictly: ["fetchingStrictly", "fetchingStrictly", booleanAttribute], fetching: ["fetching", "fetching", booleanAttribute] }, queries: [{ propertyName: "headerItems", predicate: LayoutDefaultHeaderItemComponent }], exportAs: ["layoutDefault"], ngImport: i0, template: `
590
608
  @if (showFetching) {
591
609
  <div class="alain-default__progress-bar"></div>
592
610
  }
@@ -609,7 +627,7 @@ class LayoutDefaultComponent {
609
627
  <ng-container *ngTemplateOutlet="asideBottom" />
610
628
  } @else {
611
629
  <div class="alain-default__aside-link-collapsed" (click)="toggleCollapsed()">
612
- <span nz-icon [nzType]="collapsedIcon"></span>
630
+ <nz-icon [nzType]="collapsedIcon" />
613
631
  </div>
614
632
  }
615
633
  </div>
@@ -621,9 +639,9 @@ class LayoutDefaultComponent {
621
639
  <ng-container *ngTemplateOutlet="content" />
622
640
  <ng-content />
623
641
  </section>
624
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: LayoutDefaultNavComponent, selector: "layout-default-nav", inputs: ["disabledAcl", "autoCloseUnderPad", "recursivePath", "hideEmptyChildren", "openStrictly", "maxLevelIcon"], outputs: ["select"] }, { kind: "component", type: LayoutDefaultHeaderComponent, selector: "layout-default-header", inputs: ["items"] }] }); }
642
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: LayoutDefaultNavComponent, selector: "layout-default-nav", inputs: ["disabledAcl", "autoCloseUnderPad", "recursivePath", "hideEmptyChildren", "openStrictly", "maxLevelIcon"], outputs: ["select"] }, { kind: "component", type: LayoutDefaultHeaderComponent, selector: "layout-default-header", inputs: ["items"] }] });
625
643
  }
626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultComponent, decorators: [{
644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultComponent, decorators: [{
627
645
  type: Component,
628
646
  args: [{
629
647
  selector: 'layout-default',
@@ -651,7 +669,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
651
669
  <ng-container *ngTemplateOutlet="asideBottom" />
652
670
  } @else {
653
671
  <div class="alain-default__aside-link-collapsed" (click)="toggleCollapsed()">
654
- <span nz-icon [nzType]="collapsedIcon"></span>
672
+ <nz-icon [nzType]="collapsedIcon" />
655
673
  </div>
656
674
  }
657
675
  </div>
@@ -663,9 +681,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
663
681
  <ng-container *ngTemplateOutlet="content" />
664
682
  <ng-content />
665
683
  </section>
666
- `
684
+ `,
685
+ // eslint-disable-next-line @angular-eslint/prefer-standalone
686
+ standalone: false
667
687
  }]
668
- }], ctorParameters: () => [{ type: i1$1.Router }, { type: i2$1.NzMessageService }, { type: i3$1.SettingsService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
688
+ }], ctorParameters: () => [{ type: i1$2.Router }, { type: i2$1.NzMessageService }, { type: i3$1.SettingsService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
669
689
  type: Inject,
670
690
  args: [DOCUMENT]
671
691
  }] }, { type: LayoutDefaultService }], propDecorators: { headerItems: [{
@@ -692,28 +712,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
692
712
  }] } });
693
713
 
694
714
  class LayoutDefaultHeaderItemTriggerDirective {
695
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderItemTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
696
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]", host: { properties: { "class.alain-default__nav-item": "true" } }, ngImport: i0 }); }
715
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderItemTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
716
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.1", type: LayoutDefaultHeaderItemTriggerDirective, isStandalone: false, selector: "[layout-default-header-item-trigger]", host: { properties: { "class.alain-default__nav-item": "true" } }, ngImport: i0 });
697
717
  }
698
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultHeaderItemTriggerDirective, decorators: [{
718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultHeaderItemTriggerDirective, decorators: [{
699
719
  type: Directive,
700
720
  args: [{
701
721
  selector: '[layout-default-header-item-trigger]',
702
722
  host: {
703
723
  '[class.alain-default__nav-item]': `true`
704
- }
724
+ },
725
+ // eslint-disable-next-line @angular-eslint/prefer-standalone
726
+ standalone: false
705
727
  }]
706
728
  }] });
707
729
 
708
730
  class LayoutDefaultTopMenuItemComponent {
709
- constructor() {
710
- this.selected = false;
711
- this.disabled = false;
712
- }
713
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultTopMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
714
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.7", type: LayoutDefaultTopMenuItemComponent, selector: "layout-default-top-menu-item", inputs: { selected: ["selected", "selected", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, host: { properties: { "class.alain-default__nav-item": "true", "class.alain-default__top-menu-item": "true", "class.alain-default__top-menu-item-selected": "selected", "class.alain-default__top-menu-item-disabled": "disabled" } }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
731
+ selected = false;
732
+ disabled = false;
733
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultTopMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
734
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.1", type: LayoutDefaultTopMenuItemComponent, isStandalone: false, selector: "layout-default-top-menu-item", inputs: { selected: ["selected", "selected", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, host: { properties: { "class.alain-default__nav-item": "true", "class.alain-default__top-menu-item": "true", "class.alain-default__top-menu-item-selected": "selected", "class.alain-default__top-menu-item-disabled": "disabled" } }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
715
735
  }
716
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultTopMenuItemComponent, decorators: [{
736
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultTopMenuItemComponent, decorators: [{
717
737
  type: Component,
718
738
  args: [{
719
739
  selector: 'layout-default-top-menu-item',
@@ -726,7 +746,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
726
746
  },
727
747
  preserveWhitespaces: false,
728
748
  changeDetection: ChangeDetectionStrategy.OnPush,
729
- encapsulation: ViewEncapsulation.None
749
+ encapsulation: ViewEncapsulation.None,
750
+ // eslint-disable-next-line @angular-eslint/prefer-standalone
751
+ standalone: false
730
752
  }]
731
753
  }], propDecorators: { selected: [{
732
754
  type: Input,
@@ -745,47 +767,24 @@ const COMPONENTS = [
745
767
  LayoutDefaultTopMenuItemComponent
746
768
  ];
747
769
  class LayoutDefaultModule {
748
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
749
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultModule, declarations: [LayoutDefaultComponent,
770
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
771
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultModule, declarations: [LayoutDefaultComponent,
750
772
  LayoutDefaultNavComponent,
751
773
  LayoutDefaultHeaderComponent,
752
774
  LayoutDefaultHeaderItemComponent,
753
775
  LayoutDefaultHeaderItemTriggerDirective,
754
- LayoutDefaultTopMenuItemComponent], imports: [CommonModule,
755
- RouterModule,
756
- NzToolTipModule,
757
- NzIconModule,
758
- NzAvatarModule,
759
- NzDropDownModule,
760
- NzMessageModule,
761
- NzBadgeModule], exports: [LayoutDefaultComponent,
776
+ LayoutDefaultTopMenuItemComponent], imports: [CommonModule, RouterModule, NzToolTipModule, NzIconModule, NzAvatarModule, NzDropDownModule, NzBadgeModule], exports: [LayoutDefaultComponent,
762
777
  LayoutDefaultNavComponent,
763
778
  LayoutDefaultHeaderComponent,
764
779
  LayoutDefaultHeaderItemComponent,
765
780
  LayoutDefaultHeaderItemTriggerDirective,
766
- LayoutDefaultTopMenuItemComponent] }); }
767
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultModule, imports: [CommonModule,
768
- RouterModule,
769
- NzToolTipModule,
770
- NzIconModule,
771
- NzAvatarModule,
772
- NzDropDownModule,
773
- NzMessageModule,
774
- NzBadgeModule] }); }
781
+ LayoutDefaultTopMenuItemComponent] });
782
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultModule, imports: [CommonModule, RouterModule, NzToolTipModule, NzIconModule, NzAvatarModule, NzDropDownModule, NzBadgeModule] });
775
783
  }
776
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LayoutDefaultModule, decorators: [{
784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LayoutDefaultModule, decorators: [{
777
785
  type: NgModule,
778
786
  args: [{
779
- imports: [
780
- CommonModule,
781
- RouterModule,
782
- NzToolTipModule,
783
- NzIconModule,
784
- NzAvatarModule,
785
- NzDropDownModule,
786
- NzMessageModule,
787
- NzBadgeModule
788
- ],
787
+ imports: [CommonModule, RouterModule, NzToolTipModule, NzIconModule, NzAvatarModule, NzDropDownModule, NzBadgeModule],
789
788
  declarations: COMPONENTS,
790
789
  exports: COMPONENTS
791
790
  }]