@delon/theme 13.1.0 → 13.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 (64) hide show
  1. package/README.md +1 -1
  2. package/compact.css +9 -12
  3. package/compact.min.css +1 -1
  4. package/dark.css +13 -16
  5. package/dark.min.css +1 -1
  6. package/default.css +9 -12
  7. package/default.min.css +1 -1
  8. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  9. package/esm2020/layout-default/layout-header-item.component.mjs +3 -3
  10. package/esm2020/layout-default/layout-header.component.mjs +3 -3
  11. package/esm2020/layout-default/layout-nav.component.mjs +3 -3
  12. package/esm2020/layout-default/layout.component.mjs +3 -3
  13. package/esm2020/layout-default/layout.module.mjs +4 -4
  14. package/esm2020/public_api.mjs +2 -3
  15. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +3 -3
  16. package/esm2020/setting-drawer/setting-drawer.component.mjs +3 -3
  17. package/esm2020/setting-drawer/setting-drawer.module.mjs +4 -4
  18. package/esm2020/src/locale/locale.module.mjs +4 -4
  19. package/esm2020/src/locale/locale.service.mjs +3 -3
  20. package/esm2020/src/pipes/date/date.pipe.mjs +3 -3
  21. package/esm2020/src/pipes/keys/keys.pipe.mjs +3 -3
  22. package/esm2020/src/pipes/safe/html.pipe.mjs +3 -3
  23. package/esm2020/src/pipes/safe/url.pipe.mjs +3 -3
  24. package/esm2020/src/pipes/yn/yn.pipe.mjs +3 -3
  25. package/esm2020/src/services/drawer/drawer.helper.mjs +3 -3
  26. package/esm2020/src/services/http/http.client.mjs +3 -3
  27. package/esm2020/src/services/http/http.decorator.mjs +3 -3
  28. package/esm2020/src/services/i18n/i18n-url.guard.mjs +36 -0
  29. package/esm2020/src/services/i18n/i18n.mjs +8 -8
  30. package/esm2020/src/services/i18n/i18n.pipe.mjs +3 -3
  31. package/esm2020/src/services/i18n/index.mjs +4 -0
  32. package/esm2020/src/services/menu/menu.service.mjs +3 -3
  33. package/esm2020/src/services/modal/modal.helper.mjs +3 -3
  34. package/esm2020/src/services/responsive/responsive.mjs +3 -3
  35. package/esm2020/src/services/rtl/rtl.service.mjs +3 -3
  36. package/esm2020/src/services/settings/settings.service.mjs +3 -3
  37. package/esm2020/src/services/title/title.service.mjs +3 -3
  38. package/esm2020/src/theme.module.mjs +8 -8
  39. package/esm2020/src/version.mjs +1 -1
  40. package/esm2020/theme-btn/theme-btn.component.mjs +9 -5
  41. package/esm2020/theme-btn/theme-btn.module.mjs +4 -4
  42. package/fesm2015/layout-blank.mjs.map +1 -1
  43. package/fesm2015/layout-default.mjs +19 -19
  44. package/fesm2015/layout-default.mjs.map +1 -1
  45. package/fesm2015/setting-drawer.mjs +10 -10
  46. package/fesm2015/setting-drawer.mjs.map +1 -1
  47. package/fesm2015/theme-btn.mjs +12 -8
  48. package/fesm2015/theme-btn.mjs.map +1 -1
  49. package/fesm2015/theme.mjs +103 -69
  50. package/fesm2015/theme.mjs.map +1 -1
  51. package/fesm2020/layout-blank.mjs.map +1 -1
  52. package/fesm2020/layout-default.mjs +19 -19
  53. package/fesm2020/layout-default.mjs.map +1 -1
  54. package/fesm2020/setting-drawer.mjs +10 -10
  55. package/fesm2020/setting-drawer.mjs.map +1 -1
  56. package/fesm2020/theme-btn.mjs +12 -8
  57. package/fesm2020/theme-btn.mjs.map +1 -1
  58. package/fesm2020/theme.mjs +100 -69
  59. package/fesm2020/theme.mjs.map +1 -1
  60. package/package.json +4 -4
  61. package/public_api.d.ts +1 -2
  62. package/src/services/i18n/i18n-url.guard.d.ts +15 -0
  63. package/src/services/i18n/index.d.ts +3 -0
  64. package/theme-btn/theme-btn.component.d.ts +3 -2
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, inject, Injectable, Optional, Inject, Pipe, SkipSelf, NgModule, Injector, Version } from '@angular/core';
3
- import { BehaviorSubject, Subject, Observable, of, throwError } from 'rxjs';
3
+ import { BehaviorSubject, Subject, of, Observable, throwError } from 'rxjs';
4
4
  import { filter, share, map, delay, tap, switchMap, finalize, catchError } from 'rxjs/operators';
5
5
  import * as i1 from '@delon/util/config';
6
6
  import { AlainConfigService } from '@delon/util/config';
@@ -115,14 +115,14 @@ class AlainI18nBaseService {
115
115
  return content;
116
116
  }
117
117
  }
118
- AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
119
- AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService, decorators: [{
118
+ AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
119
+ AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18nBaseService });
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
121
  type: Injectable
122
122
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
123
123
  class AlainI18NServiceFake extends AlainI18nBaseService {
124
124
  use(lang, data) {
125
- this._data = this.flatData(data, []);
125
+ this._data = this.flatData(data ?? {}, []);
126
126
  this._currentLang = lang;
127
127
  this._change$.next(lang);
128
128
  }
@@ -130,9 +130,9 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
130
130
  return [];
131
131
  }
132
132
  }
133
- AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
134
- AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
133
+ AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
134
+ AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
136
  type: Injectable,
137
137
  args: [{ providedIn: 'root' }]
138
138
  }] });
@@ -369,9 +369,9 @@ class MenuService {
369
369
  this.i18n$.unsubscribe();
370
370
  }
371
371
  }
372
- MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
373
- MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, providedIn: 'root' });
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, decorators: [{
372
+ MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
373
+ MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: MenuService, providedIn: 'root' });
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: MenuService, decorators: [{
375
375
  type: Injectable,
376
376
  args: [{ providedIn: 'root' }]
377
377
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -469,9 +469,9 @@ class SettingsService {
469
469
  return this._user;
470
470
  }
471
471
  }
472
- SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
473
- SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, providedIn: 'root' });
474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, decorators: [{
472
+ SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
473
+ SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: SettingsService, providedIn: 'root' });
474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: SettingsService, decorators: [{
475
475
  type: Injectable,
476
476
  args: [{ providedIn: 'root' }]
477
477
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -515,9 +515,9 @@ class ResponsiveService {
515
515
  return clsMap;
516
516
  }
517
517
  }
518
- ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
519
- ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
520
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, decorators: [{
518
+ ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
519
+ ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ResponsiveService, decorators: [{
521
521
  type: Injectable,
522
522
  args: [{ providedIn: 'root' }]
523
523
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -604,9 +604,9 @@ class RTLService {
604
604
  });
605
605
  }
606
606
  }
607
- RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", 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 });
608
- RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: RTLService, providedIn: 'root' });
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: RTLService, decorators: [{
607
+ RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.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 });
608
+ RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RTLService, providedIn: 'root' });
609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RTLService, decorators: [{
610
610
  type: Injectable,
611
611
  args: [{ providedIn: 'root' }]
612
612
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -715,9 +715,9 @@ class TitleService {
715
715
  this.i18n$.unsubscribe();
716
716
  }
717
717
  }
718
- TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", 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 });
719
- TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TitleService, providedIn: 'root' });
720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TitleService, decorators: [{
718
+ TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.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 });
719
+ TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TitleService, providedIn: 'root' });
720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TitleService, decorators: [{
721
721
  type: Injectable,
722
722
  args: [{ providedIn: 'root' }]
723
723
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -738,9 +738,9 @@ class I18nPipe {
738
738
  return this.i18n.fanyi(key, params);
739
739
  }
740
740
  }
741
- I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
742
- I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, name: "i18n" });
743
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, decorators: [{
741
+ I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
742
+ I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: I18nPipe, name: "i18n" });
743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: I18nPipe, decorators: [{
744
744
  type: Pipe,
745
745
  args: [{ name: 'i18n' }]
746
746
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -748,6 +748,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
748
748
  args: [ALAIN_I18N_TOKEN]
749
749
  }] }]; } });
750
750
 
751
+ class AlainI18NGuard {
752
+ constructor(i18nSrv, cogSrv) {
753
+ this.i18nSrv = i18nSrv;
754
+ this.cogSrv = cogSrv;
755
+ }
756
+ resolve(route) {
757
+ const lang = route.params && route.params[this.cogSrv.get('themeI18n')?.paramNameOfUrlGuard ?? 'i18n'];
758
+ if (lang != null) {
759
+ this.i18nSrv.use(lang);
760
+ }
761
+ return of(true);
762
+ }
763
+ canActivateChild(childRoute, _) {
764
+ return this.resolve(childRoute);
765
+ }
766
+ canActivate(route, _) {
767
+ return this.resolve(route);
768
+ }
769
+ }
770
+ AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
771
+ AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainI18NGuard, decorators: [{
773
+ type: Injectable,
774
+ args: [{ providedIn: 'root' }]
775
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
776
+ type: Optional
777
+ }, {
778
+ type: Inject,
779
+ args: [ALAIN_I18N_TOKEN]
780
+ }] }, { type: i1.AlainConfigService }]; } });
781
+
751
782
  const DELON_LOCALE = new InjectionToken('delon-locale');
752
783
 
753
784
  var zhCN = {
@@ -856,9 +887,9 @@ class DelonLocaleService {
856
887
  return (this._locale[path] || {});
857
888
  }
858
889
  }
859
- DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
860
- DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService });
861
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService, decorators: [{
890
+ DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
891
+ DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleService });
892
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleService, decorators: [{
862
893
  type: Injectable
863
894
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
864
895
  type: Inject,
@@ -875,10 +906,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
875
906
 
876
907
  class DelonLocaleModule {
877
908
  }
878
- DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
879
- DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule });
880
- DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, decorators: [{
909
+ DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
910
+ DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleModule });
911
+ DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelonLocaleModule, decorators: [{
882
913
  type: NgModule,
883
914
  args: [{
884
915
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -1938,9 +1969,9 @@ class ModalHelper {
1938
1969
  return this.create(comp, params, { ...options, modalOptions });
1939
1970
  }
1940
1971
  }
1941
- ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
1942
- ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, decorators: [{
1972
+ ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
1973
+ ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ModalHelper, decorators: [{
1944
1975
  type: Injectable,
1945
1976
  args: [{ providedIn: 'root' }]
1946
1977
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
@@ -2024,9 +2055,9 @@ class DrawerHelper {
2024
2055
  return this.create(title, comp, params, { ...options, drawerOptions });
2025
2056
  }
2026
2057
  }
2027
- DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2028
- DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, decorators: [{
2058
+ DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2059
+ DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DrawerHelper, decorators: [{
2030
2061
  type: Injectable,
2031
2062
  args: [{ providedIn: 'root' }]
2032
2063
  }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
@@ -2171,9 +2202,9 @@ class _HttpClient {
2171
2202
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2172
2203
  }
2173
2204
  }
2174
- _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2175
- _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, decorators: [{
2205
+ _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2206
+ _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: _HttpClient, decorators: [{
2177
2208
  type: Injectable,
2178
2209
  args: [{ providedIn: 'root' }]
2179
2210
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2190,9 +2221,9 @@ class BaseApi {
2190
2221
  this.injector = injector;
2191
2222
  }
2192
2223
  }
2193
- BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2194
- BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi });
2195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi, decorators: [{
2224
+ BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2225
+ BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseApi });
2226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseApi, decorators: [{
2196
2227
  type: Injectable
2197
2228
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2198
2229
  type: Inject,
@@ -2400,9 +2431,9 @@ class DatePipe {
2400
2431
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2401
2432
  }
2402
2433
  }
2403
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2404
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, name: "_date" });
2405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, decorators: [{
2434
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2435
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DatePipe, name: "_date" });
2436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DatePipe, decorators: [{
2406
2437
  type: Pipe,
2407
2438
  args: [{ name: '_date' }]
2408
2439
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2419,9 +2450,9 @@ class KeysPipe {
2419
2450
  return ret;
2420
2451
  }
2421
2452
  }
2422
- KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2423
- KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, name: "keys" });
2424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, decorators: [{
2453
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2454
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: KeysPipe, name: "keys" });
2455
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: KeysPipe, decorators: [{
2425
2456
  type: Pipe,
2426
2457
  args: [{ name: 'keys' }]
2427
2458
  }] });
@@ -2454,9 +2485,9 @@ class YNPipe {
2454
2485
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2455
2486
  }
2456
2487
  }
2457
- YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2458
- YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, name: "yn" });
2459
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, decorators: [{
2488
+ YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2489
+ YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: YNPipe, name: "yn" });
2490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: YNPipe, decorators: [{
2460
2491
  type: Pipe,
2461
2492
  args: [{ name: 'yn' }]
2462
2493
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2469,9 +2500,9 @@ class HTMLPipe {
2469
2500
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2470
2501
  }
2471
2502
  }
2472
- HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2473
- HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, name: "html" });
2474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, decorators: [{
2503
+ HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2504
+ HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HTMLPipe, name: "html" });
2505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HTMLPipe, decorators: [{
2475
2506
  type: Pipe,
2476
2507
  args: [{ name: 'html' }]
2477
2508
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2484,9 +2515,9 @@ class URLPipe {
2484
2515
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2485
2516
  }
2486
2517
  }
2487
- URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2488
- URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, name: "url" });
2489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, decorators: [{
2518
+ URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2519
+ URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: URLPipe, name: "url" });
2520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: URLPipe, decorators: [{
2490
2521
  type: Pipe,
2491
2522
  args: [{ name: 'url' }]
2492
2523
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2504,19 +2535,19 @@ class AlainThemeModule {
2504
2535
  static forRoot() {
2505
2536
  return {
2506
2537
  ngModule: AlainThemeModule,
2507
- providers: [...HELPERS]
2538
+ providers: HELPERS
2508
2539
  };
2509
2540
  }
2510
2541
  static forChild() {
2511
2542
  return {
2512
2543
  ngModule: AlainThemeModule,
2513
- providers: [...HELPERS]
2544
+ providers: HELPERS
2514
2545
  };
2515
2546
  }
2516
2547
  }
2517
- AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2518
- AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
2519
- AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, providers: [
2548
+ AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2549
+ AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.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] });
2550
+ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainThemeModule, providers: [
2520
2551
  {
2521
2552
  provide: ALAIN_SETTING_KEYS,
2522
2553
  useValue: {
@@ -2526,11 +2557,11 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2526
2557
  }
2527
2558
  }
2528
2559
  ], imports: [[CommonModule, RouterModule, OverlayModule, NzI18nModule], DelonLocaleModule] });
2529
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, decorators: [{
2560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AlainThemeModule, decorators: [{
2530
2561
  type: NgModule,
2531
2562
  args: [{
2532
2563
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
2533
- declarations: [...PIPES],
2564
+ declarations: PIPES,
2534
2565
  providers: [
2535
2566
  {
2536
2567
  provide: ALAIN_SETTING_KEYS,
@@ -2565,11 +2596,11 @@ class PreloadOptionalModules {
2565
2596
  }
2566
2597
  }
2567
2598
 
2568
- const VERSION = new Version('13.1.0');
2599
+ const VERSION = new Version('13.3.0');
2569
2600
 
2570
2601
  /**
2571
2602
  * Generated bundle index. Do not edit.
2572
2603
  */
2573
2604
 
2574
- export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, I18nPipe, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, 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 };
2605
+ export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NGuard, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, I18nPipe, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, 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 };
2575
2606
  //# sourceMappingURL=theme.mjs.map