@delon/theme 16.1.0 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/compact.css +33 -6
  2. package/compact.min.css +1 -1
  3. package/dark.css +33 -6
  4. package/dark.min.css +1 -1
  5. package/default.css +33 -6
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +5 -6
  8. package/esm2022/layout-default/layout-header-item.component.mjs +5 -6
  9. package/esm2022/layout-default/layout-header.component.mjs +5 -6
  10. package/esm2022/layout-default/layout-nav.component.mjs +5 -6
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +5 -6
  12. package/esm2022/layout-default/layout.component.mjs +30 -10
  13. package/esm2022/layout-default/layout.module.mjs +6 -7
  14. package/esm2022/layout-default/layout.service.mjs +5 -6
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +5 -6
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +5 -6
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +6 -7
  18. package/esm2022/src/locale/locale.module.mjs +6 -7
  19. package/esm2022/src/locale/locale.service.mjs +5 -6
  20. package/esm2022/src/pipes/date/date.pipe.mjs +5 -6
  21. package/esm2022/src/pipes/keys/keys.pipe.mjs +5 -6
  22. package/esm2022/src/pipes/safe/html.pipe.mjs +5 -6
  23. package/esm2022/src/pipes/safe/url.pipe.mjs +5 -6
  24. package/esm2022/src/pipes/yn/yn.pipe.mjs +5 -6
  25. package/esm2022/src/services/drawer/drawer.helper.mjs +5 -6
  26. package/esm2022/src/services/http/http.client.mjs +5 -6
  27. package/esm2022/src/services/http/http.decorator.mjs +5 -6
  28. package/esm2022/src/services/i18n/i18n-url.guard.mjs +29 -14
  29. package/esm2022/src/services/i18n/i18n.mjs +9 -11
  30. package/esm2022/src/services/i18n/i18n.pipe.mjs +5 -6
  31. package/esm2022/src/services/menu/menu.service.mjs +5 -6
  32. package/esm2022/src/services/modal/modal.helper.mjs +11 -8
  33. package/esm2022/src/services/responsive/responsive.mjs +20 -14
  34. package/esm2022/src/services/rtl/rtl.service.mjs +5 -6
  35. package/esm2022/src/services/settings/settings.service.mjs +5 -6
  36. package/esm2022/src/services/title/title.service.mjs +5 -6
  37. package/esm2022/src/theme.module.mjs +6 -7
  38. package/esm2022/src/version.mjs +1 -1
  39. package/esm2022/theme-btn/theme-btn.component.mjs +5 -6
  40. package/esm2022/theme-btn/theme-btn.module.mjs +6 -7
  41. package/fesm2022/layout-default.mjs +49 -30
  42. package/fesm2022/layout-default.mjs.map +1 -1
  43. package/fesm2022/setting-drawer.mjs +10 -10
  44. package/fesm2022/setting-drawer.mjs.map +1 -1
  45. package/fesm2022/theme-btn.mjs +7 -7
  46. package/fesm2022/theme-btn.mjs.map +1 -1
  47. package/fesm2022/theme.mjs +112 -85
  48. package/fesm2022/theme.mjs.map +1 -1
  49. package/layout-default/layout.component.d.ts +8 -2
  50. package/package.json +4 -4
  51. package/src/services/i18n/i18n-url.guard.d.ts +27 -7
  52. package/src/services/menu/menu.service.d.ts +1 -1
  53. package/src/services/modal/modal.helper.d.ts +4 -0
  54. package/src/services/responsive/responsive.d.ts +2 -1
@@ -114,10 +114,10 @@ class AlainI18nBaseService {
114
114
  }
115
115
  return content;
116
116
  }
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
118
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18nBaseService }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
118
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18nBaseService, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
121
  type: Injectable
122
122
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
123
123
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -129,10 +129,10 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
129
129
  getLangs() {
130
130
  return [];
131
131
  }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
133
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
133
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
136
  type: Injectable,
137
137
  args: [{ providedIn: 'root' }]
138
138
  }] });
@@ -418,10 +418,10 @@ class MenuService {
418
418
  this._change$.unsubscribe();
419
419
  this.i18n$.unsubscribe();
420
420
  }
421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", 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.1.5", ngImport: i0, type: MenuService, providedIn: 'root' }); }
421
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", 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.1.6", ngImport: i0, type: MenuService, providedIn: 'root' }); }
423
423
  }
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: MenuService, decorators: [{
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: MenuService, decorators: [{
425
425
  type: Injectable,
426
426
  args: [{ providedIn: 'root' }]
427
427
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -518,10 +518,10 @@ class SettingsService {
518
518
  getUser() {
519
519
  return this._user;
520
520
  }
521
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", 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.1.5", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
521
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", 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.1.6", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
523
523
  }
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: SettingsService, decorators: [{
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SettingsService, decorators: [{
525
525
  type: Injectable,
526
526
  args: [{ providedIn: 'root' }]
527
527
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -530,6 +530,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
530
530
  }] }]; } });
531
531
 
532
532
  const REP_MAX = 6;
533
+ const SPAN_MAX = 24;
533
534
  class ResponsiveService {
534
535
  constructor(cogSrv) {
535
536
  this.cog = cogSrv.merge('themeResponsive', {
@@ -548,26 +549,32 @@ class ResponsiveService {
548
549
  throw new Error(`[theme] the responseive rule index value range must be 1-${REP_MAX}`);
549
550
  }
550
551
  }
551
- genCls(count) {
552
- const rule = this.cog.rules[count > REP_MAX ? REP_MAX : Math.max(count, 1)];
552
+ genCls(count, defaultCol = 1) {
553
+ const rule = { ...this.cog.rules[count > REP_MAX ? REP_MAX : Math.max(count, 1)] };
553
554
  const antColClass = 'ant-col';
554
- const clsMap = [`${antColClass}-xs-${rule.xs}`];
555
+ const itemMaxSpan = SPAN_MAX / defaultCol;
556
+ const paddingSpan = (value) => {
557
+ if (value == null || defaultCol <= 1 || count >= defaultCol)
558
+ return value;
559
+ return Math.max(value, count * itemMaxSpan);
560
+ };
561
+ const clsMap = [`${antColClass}-xs-${paddingSpan(rule.xs)}`];
555
562
  if (rule.sm)
556
- clsMap.push(`${antColClass}-sm-${rule.sm}`);
563
+ clsMap.push(`${antColClass}-sm-${paddingSpan(rule.sm)}`);
557
564
  if (rule.md)
558
- clsMap.push(`${antColClass}-md-${rule.md}`);
565
+ clsMap.push(`${antColClass}-md-${paddingSpan(rule.md)}`);
559
566
  if (rule.lg)
560
- clsMap.push(`${antColClass}-lg-${rule.lg}`);
567
+ clsMap.push(`${antColClass}-lg-${paddingSpan(rule.lg)}`);
561
568
  if (rule.xl)
562
- clsMap.push(`${antColClass}-xl-${rule.xl}`);
569
+ clsMap.push(`${antColClass}-xl-${paddingSpan(rule.xl)}`);
563
570
  if (rule.xxl)
564
- clsMap.push(`${antColClass}-xxl-${rule.xxl}`);
571
+ clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
565
572
  return clsMap;
566
573
  }
567
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
568
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
574
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
575
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
569
576
  }
570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ResponsiveService, decorators: [{
577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, decorators: [{
571
578
  type: Injectable,
572
579
  args: [{ providedIn: 'root' }]
573
580
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -653,10 +660,10 @@ class RTLService {
653
660
  this.delon.set(name, { direction: this.dir });
654
661
  });
655
662
  }
656
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", 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 }); }
657
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RTLService, providedIn: 'root' }); }
663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", 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.1.6", ngImport: i0, type: RTLService, providedIn: 'root' }); }
658
665
  }
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RTLService, decorators: [{
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RTLService, decorators: [{
660
667
  type: Injectable,
661
668
  args: [{ providedIn: 'root' }]
662
669
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -786,10 +793,10 @@ class TitleService {
786
793
  this.destroy$.next();
787
794
  this.destroy$.complete();
788
795
  }
789
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", 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 }); }
790
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: TitleService, providedIn: 'root' }); }
796
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", 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 }); }
797
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: TitleService, providedIn: 'root' }); }
791
798
  }
792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: TitleService, decorators: [{
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: TitleService, decorators: [{
793
800
  type: Injectable,
794
801
  args: [{ providedIn: 'root' }]
795
802
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -809,10 +816,10 @@ class I18nPipe {
809
816
  transform(key, params) {
810
817
  return this.i18n.fanyi(key, params);
811
818
  }
812
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
813
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: I18nPipe, name: "i18n" }); }
819
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
820
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, name: "i18n" }); }
814
821
  }
815
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: I18nPipe, decorators: [{
822
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, decorators: [{
816
823
  type: Pipe,
817
824
  args: [{ name: 'i18n' }]
818
825
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -820,28 +827,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
820
827
  args: [ALAIN_I18N_TOKEN]
821
828
  }] }]; } });
822
829
 
823
- class AlainI18NGuard {
830
+ class AlainI18NGuardService {
824
831
  constructor(i18nSrv, cogSrv) {
825
832
  this.i18nSrv = i18nSrv;
826
833
  this.cogSrv = cogSrv;
827
834
  }
828
- resolve(route) {
835
+ process(route) {
829
836
  const lang = route.params && route.params[this.cogSrv.get('themeI18n')?.paramNameOfUrlGuard ?? 'i18n'];
830
837
  if (lang != null) {
831
838
  this.i18nSrv.use(lang);
832
839
  }
833
840
  return of(true);
834
841
  }
835
- canActivateChild(childRoute, _) {
836
- return this.resolve(childRoute);
837
- }
838
- canActivate(route, _) {
839
- return this.resolve(route);
840
- }
841
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18NGuard, 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.5", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' }); }
842
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
843
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
843
844
  }
844
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainI18NGuard, decorators: [{
845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, decorators: [{
845
846
  type: Injectable,
846
847
  args: [{ providedIn: 'root' }]
847
848
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -850,6 +851,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
850
851
  type: Inject,
851
852
  args: [ALAIN_I18N_TOKEN]
852
853
  }] }, { type: i1.AlainConfigService }]; } });
854
+ /**
855
+ * Simple 路由守卫, [ACL Document](https://ng-alain.com/auth/guard).
856
+ *
857
+ * ```ts
858
+ * data: {
859
+ * path: 'home',
860
+ * canActivate: [ alainI18nCanActivate ]
861
+ * }
862
+ * ```
863
+ */
864
+ const alainI18nCanActivate = childRoute => inject(AlainI18NGuardService).process(childRoute);
865
+ /**
866
+ * Simple 路由守卫, [ACL Document](https://ng-alain.com/auth/guard).
867
+ *
868
+ * ```ts
869
+ * data: {
870
+ * path: 'home',
871
+ * canActivateChild: [ alainI18nCanActivateChild ]
872
+ * }
873
+ * ```
874
+ */
875
+ const alainI18nCanActivateChild = route => inject(AlainI18NGuardService).process(route);
853
876
 
854
877
  const DELON_LOCALE = new InjectionToken('delon-locale');
855
878
 
@@ -958,10 +981,10 @@ class DelonLocaleService {
958
981
  getData(path) {
959
982
  return (this._locale[path] || {});
960
983
  }
961
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
962
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleService }); }
984
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
985
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService }); }
963
986
  }
964
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleService, decorators: [{
987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService, decorators: [{
965
988
  type: Injectable
966
989
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
967
990
  type: Inject,
@@ -977,11 +1000,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
977
1000
  };
978
1001
 
979
1002
  class DelonLocaleModule {
980
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
981
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleModule }); }
982
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
1003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1004
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule }); }
1005
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
983
1006
  }
984
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DelonLocaleModule, decorators: [{
1007
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, decorators: [{
985
1008
  type: NgModule,
986
1009
  args: [{
987
1010
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -1993,7 +2016,7 @@ class ModalHelper {
1993
2016
  includeTabs: false
1994
2017
  }, options);
1995
2018
  return new Observable((observer) => {
1996
- const { size, includeTabs, modalOptions, drag } = options;
2019
+ const { size, includeTabs, modalOptions, drag, useNzData } = options;
1997
2020
  let cls = '';
1998
2021
  let width = '';
1999
2022
  if (size) {
@@ -2026,9 +2049,13 @@ class ModalHelper {
2026
2049
  nzContent: comp,
2027
2050
  nzWidth: width ? width : undefined,
2028
2051
  nzFooter: null,
2029
- nzComponentParams: params
2052
+ nzData: params
2030
2053
  };
2031
2054
  const subject = this.srv.create({ ...defaultOptions, ...modalOptions });
2055
+ // 保留 nzComponentParams 原有风格,但依然可以通过 @Inject(NZ_MODAL_DATA) 获取
2056
+ if (useNzData !== true) {
2057
+ Object.assign(subject.componentInstance, params);
2058
+ }
2032
2059
  subject.afterOpen
2033
2060
  .pipe(take(1), filter(() => dragOptions != null))
2034
2061
  .subscribe(() => {
@@ -2071,10 +2098,10 @@ class ModalHelper {
2071
2098
  };
2072
2099
  return this.create(comp, params, { ...options, modalOptions });
2073
2100
  }
2074
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2075
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2101
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2102
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2076
2103
  }
2077
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ModalHelper, decorators: [{
2104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, decorators: [{
2078
2105
  type: Injectable,
2079
2106
  args: [{ providedIn: 'root' }]
2080
2107
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }, { type: i2.DragDrop }, { type: undefined, decorators: [{
@@ -2160,10 +2187,10 @@ class DrawerHelper {
2160
2187
  };
2161
2188
  return this.create(title, comp, params, { ...options, drawerOptions });
2162
2189
  }
2163
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2164
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2191
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2165
2192
  }
2166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DrawerHelper, decorators: [{
2193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, decorators: [{
2167
2194
  type: Injectable,
2168
2195
  args: [{ providedIn: 'root' }]
2169
2196
  }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
@@ -2307,10 +2334,10 @@ class _HttpClient {
2307
2334
  // Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
2308
2335
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2309
2336
  }
2310
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2311
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2337
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2338
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2312
2339
  }
2313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: _HttpClient, decorators: [{
2340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, decorators: [{
2314
2341
  type: Injectable,
2315
2342
  args: [{ providedIn: 'root' }]
2316
2343
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2326,10 +2353,10 @@ class BaseApi {
2326
2353
  constructor(injector) {
2327
2354
  this.injector = injector;
2328
2355
  }
2329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2330
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: BaseApi }); }
2356
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2357
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi }); }
2331
2358
  }
2332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: BaseApi, decorators: [{
2359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi, decorators: [{
2333
2360
  type: Injectable
2334
2361
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2335
2362
  type: Inject,
@@ -2573,10 +2600,10 @@ class DatePipe {
2573
2600
  const langOpt = { locale: this.nzI18n.getDateLocale() };
2574
2601
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2575
2602
  }
2576
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2577
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: DatePipe, name: "_date" }); }
2603
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2604
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, name: "_date" }); }
2578
2605
  }
2579
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DatePipe, decorators: [{
2606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, decorators: [{
2580
2607
  type: Pipe,
2581
2608
  args: [{ name: '_date' }]
2582
2609
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2592,10 +2619,10 @@ class KeysPipe {
2592
2619
  });
2593
2620
  return ret;
2594
2621
  }
2595
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2596
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: KeysPipe, name: "keys" }); }
2622
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2623
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, name: "keys" }); }
2597
2624
  }
2598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KeysPipe, decorators: [{
2625
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, decorators: [{
2599
2626
  type: Pipe,
2600
2627
  args: [{ name: 'keys' }]
2601
2628
  }] });
@@ -2627,10 +2654,10 @@ class YNPipe {
2627
2654
  }
2628
2655
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2629
2656
  }
2630
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2631
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: YNPipe, name: "yn" }); }
2657
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2658
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, name: "yn" }); }
2632
2659
  }
2633
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: YNPipe, decorators: [{
2660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, decorators: [{
2634
2661
  type: Pipe,
2635
2662
  args: [{ name: 'yn' }]
2636
2663
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2642,10 +2669,10 @@ class HTMLPipe {
2642
2669
  transform(html) {
2643
2670
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2644
2671
  }
2645
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2646
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: HTMLPipe, name: "html" }); }
2672
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2673
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, name: "html" }); }
2647
2674
  }
2648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: HTMLPipe, decorators: [{
2675
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, decorators: [{
2649
2676
  type: Pipe,
2650
2677
  args: [{ name: 'html' }]
2651
2678
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2657,10 +2684,10 @@ class URLPipe {
2657
2684
  transform(url) {
2658
2685
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2659
2686
  }
2660
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2661
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: URLPipe, name: "url" }); }
2687
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2688
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, name: "url" }); }
2662
2689
  }
2663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: URLPipe, decorators: [{
2690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, decorators: [{
2664
2691
  type: Pipe,
2665
2692
  args: [{ name: 'url' }]
2666
2693
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2687,9 +2714,9 @@ class AlainThemeModule {
2687
2714
  providers: HELPERS
2688
2715
  };
2689
2716
  }
2690
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2691
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2692
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainThemeModule, providers: [
2717
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2718
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2719
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, providers: [
2693
2720
  {
2694
2721
  provide: ALAIN_SETTING_KEYS,
2695
2722
  useValue: {
@@ -2700,7 +2727,7 @@ class AlainThemeModule {
2700
2727
  }
2701
2728
  ], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] }); }
2702
2729
  }
2703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AlainThemeModule, decorators: [{
2730
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, decorators: [{
2704
2731
  type: NgModule,
2705
2732
  args: [{
2706
2733
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2739,11 +2766,11 @@ class PreloadOptionalModules {
2739
2766
  }
2740
2767
  }
2741
2768
 
2742
- const VERSION = new Version('16.1.0');
2769
+ const VERSION = new Version('16.2.0');
2743
2770
 
2744
2771
  /**
2745
2772
  * Generated bundle index. Do not edit.
2746
2773
  */
2747
2774
 
2748
- export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NGuard, 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, SettingsService, TitleService, URLPipe, VERSION, YNPipe, _HttpClient, 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 };
2775
+ 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 };
2749
2776
  //# sourceMappingURL=theme.mjs.map