@delon/theme 16.2.1 → 16.3.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 (50) hide show
  1. package/compact.css +69 -0
  2. package/compact.min.css +1 -1
  3. package/dark.css +69 -0
  4. package/dark.min.css +1 -1
  5. package/default.css +69 -0
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  8. package/esm2022/layout-default/layout-header-item.component.mjs +3 -3
  9. package/esm2022/layout-default/layout-header.component.mjs +3 -3
  10. package/esm2022/layout-default/layout-nav.component.mjs +3 -3
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +3 -3
  12. package/esm2022/layout-default/layout.component.mjs +3 -3
  13. package/esm2022/layout-default/layout.module.mjs +4 -4
  14. package/esm2022/layout-default/layout.service.mjs +3 -3
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +3 -3
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +3 -3
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +4 -4
  18. package/esm2022/src/locale/locale.module.mjs +4 -4
  19. package/esm2022/src/locale/locale.service.mjs +3 -3
  20. package/esm2022/src/pipes/date/date.pipe.mjs +6 -11
  21. package/esm2022/src/pipes/keys/keys.pipe.mjs +3 -3
  22. package/esm2022/src/pipes/safe/html.pipe.mjs +3 -3
  23. package/esm2022/src/pipes/safe/url.pipe.mjs +3 -3
  24. package/esm2022/src/pipes/yn/yn.pipe.mjs +25 -20
  25. package/esm2022/src/services/drawer/drawer.helper.mjs +32 -9
  26. package/esm2022/src/services/http/http.client.mjs +3 -3
  27. package/esm2022/src/services/http/http.decorator.mjs +4 -4
  28. package/esm2022/src/services/i18n/i18n-url.guard.mjs +3 -3
  29. package/esm2022/src/services/i18n/i18n.mjs +6 -6
  30. package/esm2022/src/services/i18n/i18n.pipe.mjs +3 -3
  31. package/esm2022/src/services/menu/menu.service.mjs +3 -3
  32. package/esm2022/src/services/modal/modal.helper.mjs +12 -9
  33. package/esm2022/src/services/responsive/responsive.mjs +3 -3
  34. package/esm2022/src/services/rtl/rtl.service.mjs +3 -3
  35. package/esm2022/src/services/settings/settings.service.mjs +3 -3
  36. package/esm2022/src/services/title/title.service.mjs +3 -3
  37. package/esm2022/src/theme.module.mjs +4 -4
  38. package/esm2022/src/version.mjs +1 -1
  39. package/esm2022/theme-btn/theme-btn.component.mjs +3 -3
  40. package/esm2022/theme-btn/theme-btn.module.mjs +4 -4
  41. package/fesm2022/layout-default.mjs +25 -25
  42. package/fesm2022/setting-drawer.mjs +10 -10
  43. package/fesm2022/theme-btn.mjs +7 -7
  44. package/fesm2022/theme.mjs +125 -99
  45. package/fesm2022/theme.mjs.map +1 -1
  46. package/package.json +3 -3
  47. package/src/pipes/yn/yn.pipe.d.ts +6 -0
  48. package/src/services/drawer/drawer.helper.d.ts +7 -2
  49. package/src/services/http/http.decorator.d.ts +2 -1
  50. package/src/services/modal/modal.helper.d.ts +2 -2
@@ -18,8 +18,7 @@ import * as i2 from '@angular/cdk/drag-drop';
18
18
  import * as i1$6 from 'ng-zorro-antd/drawer';
19
19
  import * as i1$7 from '@angular/common/http';
20
20
  import { HttpParams, HttpContextToken } from '@angular/common/http';
21
- import { formatDistanceToNow, format } from 'date-fns';
22
- import { toDate } from '@delon/util/date-time';
21
+ import { formatDate } from '@delon/util/date-time';
23
22
  import * as i1$8 from 'ng-zorro-antd/i18n';
24
23
  import { NzI18nModule } from 'ng-zorro-antd/i18n';
25
24
  import { OverlayModule } from '@angular/cdk/overlay';
@@ -115,10 +114,10 @@ class AlainI18nBaseService {
115
114
  }
116
115
  return content;
117
116
  }
118
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
119
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
118
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18nBaseService }); }
120
119
  }
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18nBaseService, decorators: [{
122
121
  type: Injectable
123
122
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
124
123
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -130,10 +129,10 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
130
129
  getLangs() {
131
130
  return [];
132
131
  }
133
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
134
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
133
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
135
134
  }
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
137
136
  type: Injectable,
138
137
  args: [{ providedIn: 'root' }]
139
138
  }] });
@@ -419,10 +418,10 @@ class MenuService {
419
418
  this._change$.unsubscribe();
420
419
  this.i18n$.unsubscribe();
421
420
  }
422
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
423
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, providedIn: 'root' }); }
421
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
422
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: MenuService, providedIn: 'root' }); }
424
423
  }
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, decorators: [{
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: MenuService, decorators: [{
426
425
  type: Injectable,
427
426
  args: [{ providedIn: 'root' }]
428
427
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -519,10 +518,10 @@ class SettingsService {
519
518
  getUser() {
520
519
  return this._user;
521
520
  }
522
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable }); }
523
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
521
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable }); }
522
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
524
523
  }
525
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, decorators: [{
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: SettingsService, decorators: [{
526
525
  type: Injectable,
527
526
  args: [{ providedIn: 'root' }]
528
527
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -572,10 +571,10 @@ class ResponsiveService {
572
571
  clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
573
572
  return clsMap;
574
573
  }
575
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
576
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
574
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
575
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
577
576
  }
578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, decorators: [{
577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ResponsiveService, decorators: [{
579
578
  type: Injectable,
580
579
  args: [{ providedIn: 'root' }]
581
580
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -661,10 +660,10 @@ class RTLService {
661
660
  this.delon.set(name, { direction: this.dir });
662
661
  });
663
662
  }
664
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: RTLService, deps: [{ token: i1$3.Directionality }, { token: SettingsService }, { token: i3.NzConfigService }, { token: i1.AlainConfigService }, { token: i1$2.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
665
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: RTLService, providedIn: 'root' }); }
663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: RTLService, deps: [{ token: i1$3.Directionality }, { token: SettingsService }, { token: i3.NzConfigService }, { token: i1.AlainConfigService }, { token: i1$2.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
664
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: RTLService, providedIn: 'root' }); }
666
665
  }
667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: RTLService, decorators: [{
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: RTLService, decorators: [{
668
667
  type: Injectable,
669
668
  args: [{ providedIn: 'root' }]
670
669
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -792,10 +791,10 @@ class TitleService {
792
791
  ngOnDestroy() {
793
792
  this.tit$?.unsubscribe();
794
793
  }
795
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: TitleService, deps: [{ token: i0.Injector }, { token: i1$4.Title }, { token: MenuService }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
796
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: TitleService, providedIn: 'root' }); }
794
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: TitleService, deps: [{ token: i0.Injector }, { token: i1$4.Title }, { token: MenuService }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
795
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: TitleService, providedIn: 'root' }); }
797
796
  }
798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: TitleService, decorators: [{
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: TitleService, decorators: [{
799
798
  type: Injectable,
800
799
  args: [{ providedIn: 'root' }]
801
800
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -815,10 +814,10 @@ class I18nPipe {
815
814
  transform(key, params) {
816
815
  return this.i18n.fanyi(key, params);
817
816
  }
818
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
819
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, name: "i18n" }); }
817
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
818
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: I18nPipe, name: "i18n" }); }
820
819
  }
821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, decorators: [{
820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: I18nPipe, decorators: [{
822
821
  type: Pipe,
823
822
  args: [{ name: 'i18n' }]
824
823
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -838,10 +837,10 @@ class AlainI18NGuardService {
838
837
  }
839
838
  return of(true);
840
839
  }
841
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
842
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
840
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NGuardService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
841
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
843
842
  }
844
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainI18NGuardService, decorators: [{
845
844
  type: Injectable,
846
845
  args: [{ providedIn: 'root' }]
847
846
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -980,10 +979,10 @@ class DelonLocaleService {
980
979
  getData(path) {
981
980
  return (this._locale[path] || {});
982
981
  }
983
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
984
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService }); }
982
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
983
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleService }); }
985
984
  }
986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService, decorators: [{
985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleService, decorators: [{
987
986
  type: Injectable
988
987
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
989
988
  type: Inject,
@@ -999,11 +998,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
999
998
  };
1000
999
 
1001
1000
  class DelonLocaleModule {
1002
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1003
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule }); }
1004
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
1001
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1002
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleModule }); }
1003
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
1005
1004
  }
1006
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, decorators: [{
1005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DelonLocaleModule, decorators: [{
1007
1006
  type: NgModule,
1008
1007
  args: [{
1009
1008
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -2022,9 +2021,12 @@ class ModalHelper {
2022
2021
  if (typeof size === 'number') {
2023
2022
  width = `${size}px`;
2024
2023
  }
2025
- else {
2024
+ else if (['sm', 'md', 'lg', 'xl'].includes(size)) {
2026
2025
  cls = `modal-${size}`;
2027
2026
  }
2027
+ else {
2028
+ width = size;
2029
+ }
2028
2030
  }
2029
2031
  if (includeTabs) {
2030
2032
  cls += ' modal-include-tabs';
@@ -2043,14 +2045,14 @@ class ModalHelper {
2043
2045
  };
2044
2046
  cls += ` ${this.dragClsPrefix} ${dragWrapCls}`;
2045
2047
  }
2046
- const defaultOptions = {
2048
+ const subject = this.srv.create({
2047
2049
  nzWrapClassName: cls,
2048
2050
  nzContent: comp,
2049
2051
  nzWidth: width ? width : undefined,
2050
2052
  nzFooter: null,
2051
- nzData: params
2052
- };
2053
- const subject = this.srv.create({ ...defaultOptions, ...modalOptions });
2053
+ nzData: params,
2054
+ ...modalOptions
2055
+ });
2054
2056
  // 保留 nzComponentParams 原有风格,但依然可以通过 @Inject(NZ_MODAL_DATA) 获取
2055
2057
  if (useNzData !== true) {
2056
2058
  Object.assign(subject.componentInstance, params);
@@ -2097,10 +2099,10 @@ class ModalHelper {
2097
2099
  };
2098
2100
  return this.create(comp, params, { ...options, modalOptions });
2099
2101
  }
2100
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2101
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2103
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2102
2104
  }
2103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, decorators: [{
2105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: ModalHelper, decorators: [{
2104
2106
  type: Injectable,
2105
2107
  args: [{ providedIn: 'root' }]
2106
2108
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }, { type: i2.DragDrop }, { type: undefined, decorators: [{
@@ -2124,8 +2126,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImpor
2124
2126
  * this.NzDrawerRef.close(false);
2125
2127
  */
2126
2128
  class DrawerHelper {
2127
- constructor(srv) {
2129
+ get openDrawers() {
2130
+ return this.parentDrawer ? this.parentDrawer.openDrawers : this.openDrawersAtThisLevel;
2131
+ }
2132
+ constructor(srv, parentDrawer) {
2128
2133
  this.srv = srv;
2134
+ this.parentDrawer = parentDrawer;
2135
+ this.openDrawersAtThisLevel = [];
2129
2136
  }
2130
2137
  /**
2131
2138
  * 构建一个抽屉
@@ -2161,8 +2168,9 @@ class DrawerHelper {
2161
2168
  'padding-bottom.px': footerHeight + 24
2162
2169
  };
2163
2170
  }
2164
- const subject = this.srv.create({ ...defaultOptions, ...drawerOptions });
2165
- const afterClose$ = subject.afterClose.subscribe((res) => {
2171
+ const ref = this.srv.create({ ...defaultOptions, ...drawerOptions });
2172
+ this.openDrawers.push(ref);
2173
+ const afterClose$ = ref.afterClose.subscribe((res) => {
2166
2174
  if (options.exact === true) {
2167
2175
  if (res != null) {
2168
2176
  observer.next(res);
@@ -2173,9 +2181,22 @@ class DrawerHelper {
2173
2181
  }
2174
2182
  observer.complete();
2175
2183
  afterClose$.unsubscribe();
2184
+ this.close(ref);
2176
2185
  });
2177
2186
  });
2178
2187
  }
2188
+ close(ref) {
2189
+ const idx = this.openDrawers.indexOf(ref);
2190
+ if (idx === -1)
2191
+ return;
2192
+ this.openDrawers.splice(idx, 1);
2193
+ }
2194
+ closeAll() {
2195
+ let i = this.openDrawers.length;
2196
+ while (i--) {
2197
+ this.openDrawers[i].close();
2198
+ }
2199
+ }
2179
2200
  /**
2180
2201
  * 构建一个抽屉,点击蒙层不允许关闭
2181
2202
  */
@@ -2186,13 +2207,17 @@ class DrawerHelper {
2186
2207
  };
2187
2208
  return this.create(title, comp, params, { ...options, drawerOptions });
2188
2209
  }
2189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2190
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2210
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }, { token: DrawerHelper, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
2211
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2191
2212
  }
2192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, decorators: [{
2213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DrawerHelper, decorators: [{
2193
2214
  type: Injectable,
2194
2215
  args: [{ providedIn: 'root' }]
2195
- }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
2216
+ }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }, { type: DrawerHelper, decorators: [{
2217
+ type: Optional
2218
+ }, {
2219
+ type: SkipSelf
2220
+ }] }]; } });
2196
2221
 
2197
2222
  /* eslint-disable @typescript-eslint/no-explicit-any */
2198
2223
  /**
@@ -2333,10 +2358,10 @@ class _HttpClient {
2333
2358
  // Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
2334
2359
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2335
2360
  }
2336
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2337
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2361
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2362
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2338
2363
  }
2339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, decorators: [{
2364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: _HttpClient, decorators: [{
2340
2365
  type: Injectable,
2341
2366
  args: [{ providedIn: 'root' }]
2342
2367
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2352,10 +2377,10 @@ class BaseApi {
2352
2377
  constructor(injector) {
2353
2378
  this.injector = injector;
2354
2379
  }
2355
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2356
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi }); }
2380
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2381
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: BaseApi }); }
2357
2382
  }
2358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi, decorators: [{
2383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: BaseApi, decorators: [{
2359
2384
  type: Injectable
2360
2385
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2361
2386
  type: Inject,
@@ -2593,16 +2618,12 @@ class DatePipe {
2593
2618
  this.nzI18n = nzI18n;
2594
2619
  }
2595
2620
  transform(value, formatString = 'yyyy-MM-dd HH:mm') {
2596
- value = toDate(value);
2597
- if (isNaN(value))
2598
- return '';
2599
- const langOpt = { locale: this.nzI18n.getDateLocale() };
2600
- return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2621
+ return formatDate(value, formatString, this.nzI18n.getDateLocale());
2601
2622
  }
2602
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2603
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, name: "_date" }); }
2623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2624
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: DatePipe, name: "_date" }); }
2604
2625
  }
2605
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, decorators: [{
2626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: DatePipe, decorators: [{
2606
2627
  type: Pipe,
2607
2628
  args: [{ name: '_date' }]
2608
2629
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2618,10 +2639,10 @@ class KeysPipe {
2618
2639
  });
2619
2640
  return ret;
2620
2641
  }
2621
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2622
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, name: "keys" }); }
2642
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2643
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: KeysPipe, name: "keys" }); }
2623
2644
  }
2624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, decorators: [{
2645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: KeysPipe, decorators: [{
2625
2646
  type: Pipe,
2626
2647
  args: [{ name: 'keys' }]
2627
2648
  }] });
@@ -2630,33 +2651,38 @@ const ICON_YES = `<svg viewBox="64 64 896 896" fill="currentColor" width="1em" h
2630
2651
  const ICON_NO = `<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>`;
2631
2652
  const CLS_YES = `class="yn__yes"`;
2632
2653
  const CLS_NO = `class="yn__no"`;
2654
+ function yn(value, opt) {
2655
+ let html = '';
2656
+ let { yes, no, mode } = { ...opt };
2657
+ yes = yes || '是';
2658
+ no = no || '否';
2659
+ switch (mode) {
2660
+ case 'full':
2661
+ html = value
2662
+ ? `<i ${CLS_YES}>${ICON_YES}<span>${yes}</span></i>`
2663
+ : `<i ${CLS_NO}>${ICON_NO}<span>${no}</span></i>`;
2664
+ break;
2665
+ case 'text':
2666
+ html = value ? `<i ${CLS_YES}>${yes}</i>` : `<i ${CLS_NO}>${no}</i>`;
2667
+ break;
2668
+ default:
2669
+ html = value ? `<i ${CLS_YES} title="${yes}">${ICON_YES}</i>` : `<i ${CLS_NO} title="${no}">${ICON_NO}</i>`;
2670
+ break;
2671
+ }
2672
+ return html;
2673
+ }
2633
2674
  class YNPipe {
2634
2675
  constructor(dom) {
2635
2676
  this.dom = dom;
2636
2677
  }
2637
2678
  transform(value, yes, no, mode, isSafeHtml = true) {
2638
- let html = '';
2639
- yes = yes || '是';
2640
- no = no || '否';
2641
- switch (mode) {
2642
- case 'full':
2643
- html = value
2644
- ? `<i ${CLS_YES}>${ICON_YES}<span>${yes}</span></i>`
2645
- : `<i ${CLS_NO}>${ICON_NO}<span>${no}</span></i>`;
2646
- break;
2647
- case 'text':
2648
- html = value ? `<i ${CLS_YES}>${yes}</i>` : `<i ${CLS_NO}>${no}</i>`;
2649
- break;
2650
- default:
2651
- html = value ? `<i ${CLS_YES} title="${yes}">${ICON_YES}</i>` : `<i ${CLS_NO} title="${no}">${ICON_NO}</i>`;
2652
- break;
2653
- }
2679
+ const html = yn(value, { yes, no, mode });
2654
2680
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2655
2681
  }
2656
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2657
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, name: "yn" }); }
2682
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2683
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: YNPipe, name: "yn" }); }
2658
2684
  }
2659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, decorators: [{
2685
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: YNPipe, decorators: [{
2660
2686
  type: Pipe,
2661
2687
  args: [{ name: 'yn' }]
2662
2688
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2668,10 +2694,10 @@ class HTMLPipe {
2668
2694
  transform(html) {
2669
2695
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2670
2696
  }
2671
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2672
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, name: "html" }); }
2697
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2698
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: HTMLPipe, name: "html" }); }
2673
2699
  }
2674
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, decorators: [{
2700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: HTMLPipe, decorators: [{
2675
2701
  type: Pipe,
2676
2702
  args: [{ name: 'html' }]
2677
2703
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2683,10 +2709,10 @@ class URLPipe {
2683
2709
  transform(url) {
2684
2710
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2685
2711
  }
2686
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2687
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, name: "url" }); }
2712
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2713
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: URLPipe, name: "url" }); }
2688
2714
  }
2689
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, decorators: [{
2715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: URLPipe, decorators: [{
2690
2716
  type: Pipe,
2691
2717
  args: [{ name: 'url' }]
2692
2718
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2713,9 +2739,9 @@ class AlainThemeModule {
2713
2739
  providers: HELPERS
2714
2740
  };
2715
2741
  }
2716
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2717
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2718
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, providers: [
2742
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2743
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.3", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2744
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainThemeModule, providers: [
2719
2745
  {
2720
2746
  provide: ALAIN_SETTING_KEYS,
2721
2747
  useValue: {
@@ -2726,7 +2752,7 @@ class AlainThemeModule {
2726
2752
  }
2727
2753
  ], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] }); }
2728
2754
  }
2729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, decorators: [{
2755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: AlainThemeModule, decorators: [{
2730
2756
  type: NgModule,
2731
2757
  args: [{
2732
2758
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2765,11 +2791,11 @@ class PreloadOptionalModules {
2765
2791
  }
2766
2792
  }
2767
2793
 
2768
- const VERSION = new Version('16.2.1');
2794
+ const VERSION = new Version('16.3.0');
2769
2795
 
2770
2796
  /**
2771
2797
  * Generated bundle index. Do not edit.
2772
2798
  */
2773
2799
 
2774
- export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NGuardService, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, CUSTOM_ERROR, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, I18nPipe, IGNORE_BASE_URL, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, RAW_BODY, REP_MAX, RTL, RTLService, RTL_DELON_COMPONENTS, RTL_DIRECTION, RTL_NZ_COMPONENTS, ResponsiveService, SPAN_MAX, SettingsService, TitleService, URLPipe, VERSION, YNPipe, _HttpClient, alainI18nCanActivate, alainI18nCanActivateChild, elGR as el_GR, enUS as en_US, esES as es_ES, frFR as fr_FR, hrHR as hr_HR, itIT as it_IT, jaJP as ja_JP, koKR as ko_KR, plPL as pl_PL, preloaderFinished, slSI as sl_SI, trTR as tr_TR, zhCN as zh_CN, zhTW as zh_TW };
2800
+ export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NGuardService, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, CUSTOM_ERROR, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, I18nPipe, IGNORE_BASE_URL, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, RAW_BODY, REP_MAX, RTL, RTLService, RTL_DELON_COMPONENTS, RTL_DIRECTION, RTL_NZ_COMPONENTS, ResponsiveService, SPAN_MAX, SettingsService, TitleService, URLPipe, VERSION, YNPipe, _HttpClient, alainI18nCanActivate, alainI18nCanActivateChild, elGR as el_GR, enUS as en_US, esES as es_ES, frFR as fr_FR, hrHR as hr_HR, itIT as it_IT, jaJP as ja_JP, koKR as ko_KR, plPL as pl_PL, preloaderFinished, slSI as sl_SI, trTR as tr_TR, yn, zhCN as zh_CN, zhTW as zh_TW };
2775
2801
  //# sourceMappingURL=theme.mjs.map