@delon/theme 15.1.0 → 15.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 +37 -3
  2. package/compact.min.css +1 -1
  3. package/dark.css +37 -3
  4. package/dark.min.css +1 -1
  5. package/default.css +37 -3
  6. package/default.min.css +1 -1
  7. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  8. package/esm2020/layout-default/layout-header-item.component.mjs +3 -3
  9. package/esm2020/layout-default/layout-header.component.mjs +3 -3
  10. package/esm2020/layout-default/layout-nav.component.mjs +3 -3
  11. package/esm2020/layout-default/layout-top-menu-item.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/layout-default/layout.service.mjs +3 -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 +3 -3
  29. package/esm2020/src/services/i18n/i18n.mjs +6 -6
  30. package/esm2020/src/services/i18n/i18n.pipe.mjs +3 -3
  31. package/esm2020/src/services/menu/menu.service.mjs +12 -6
  32. package/esm2020/src/services/modal/modal.helper.mjs +3 -3
  33. package/esm2020/src/services/responsive/responsive.mjs +3 -3
  34. package/esm2020/src/services/rtl/rtl.service.mjs +3 -3
  35. package/esm2020/src/services/settings/settings.service.mjs +3 -3
  36. package/esm2020/src/services/title/title.service.mjs +3 -3
  37. package/esm2020/src/theme.module.mjs +4 -4
  38. package/esm2020/src/version.mjs +1 -1
  39. package/esm2020/theme-btn/theme-btn.component.mjs +3 -3
  40. package/esm2020/theme-btn/theme-btn.module.mjs +4 -4
  41. package/fesm2015/layout-default.mjs +25 -25
  42. package/fesm2015/setting-drawer.mjs +10 -10
  43. package/fesm2015/theme-btn.mjs +7 -7
  44. package/fesm2015/theme.mjs +74 -68
  45. package/fesm2015/theme.mjs.map +1 -1
  46. package/fesm2020/layout-default.mjs +25 -25
  47. package/fesm2020/setting-drawer.mjs +10 -10
  48. package/fesm2020/theme-btn.mjs +7 -7
  49. package/fesm2020/theme.mjs +74 -68
  50. package/fesm2020/theme.mjs.map +1 -1
  51. package/package.json +4 -4
  52. package/src/services/menu/menu.service.d.ts +12 -1
  53. package/system/theme-dark.less +0 -1
  54. package/system/theme-default.less +0 -1
@@ -114,9 +114,9 @@ class AlainI18nBaseService {
114
114
  return content;
115
115
  }
116
116
  }
117
- AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
118
- AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18nBaseService });
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18nBaseService, decorators: [{
117
+ AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
118
+ AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18nBaseService });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18nBaseService, decorators: [{
120
120
  type: Injectable
121
121
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
122
122
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -129,9 +129,9 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
129
129
  return [];
130
130
  }
131
131
  }
132
- AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
133
- AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
132
+ AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
133
+ AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
135
135
  type: Injectable,
136
136
  args: [{ providedIn: 'root' }]
137
137
  }] });
@@ -291,7 +291,7 @@ class MenuService {
291
291
  * 利用 `url` 或 `key` 查找菜单
292
292
  */
293
293
  find(options) {
294
- const opt = { recursive: false, ...options };
294
+ const opt = { recursive: false, ignoreHide: false, ...options };
295
295
  if (opt.key != null) {
296
296
  return this.getItem(opt.key);
297
297
  }
@@ -299,8 +299,14 @@ class MenuService {
299
299
  let item = null;
300
300
  while (!item && url) {
301
301
  this.visit(opt.data ?? this.data, i => {
302
+ if (opt.ignoreHide && i.hide) {
303
+ return;
304
+ }
302
305
  if (opt.cb) {
303
- opt.cb(i);
306
+ const res = opt.cb(i);
307
+ if (!item && typeof res === 'boolean' && res) {
308
+ item = i;
309
+ }
304
310
  }
305
311
  if (i.link != null && i.link === url) {
306
312
  item = i;
@@ -412,9 +418,9 @@ class MenuService {
412
418
  this.i18n$.unsubscribe();
413
419
  }
414
420
  }
415
- MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
416
- MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, providedIn: 'root' });
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, decorators: [{
421
+ MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
422
+ MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MenuService, providedIn: 'root' });
423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MenuService, decorators: [{
418
424
  type: Injectable,
419
425
  args: [{ providedIn: 'root' }]
420
426
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -512,9 +518,9 @@ class SettingsService {
512
518
  return this._user;
513
519
  }
514
520
  }
515
- SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
516
- SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, providedIn: 'root' });
517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, decorators: [{
521
+ SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
522
+ SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SettingsService, providedIn: 'root' });
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SettingsService, decorators: [{
518
524
  type: Injectable,
519
525
  args: [{ providedIn: 'root' }]
520
526
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -558,9 +564,9 @@ class ResponsiveService {
558
564
  return clsMap;
559
565
  }
560
566
  }
561
- ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
562
- ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, decorators: [{
567
+ ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
568
+ ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ResponsiveService, decorators: [{
564
570
  type: Injectable,
565
571
  args: [{ providedIn: 'root' }]
566
572
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -647,9 +653,9 @@ class RTLService {
647
653
  });
648
654
  }
649
655
  }
650
- RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
651
- RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RTLService, providedIn: 'root' });
652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RTLService, decorators: [{
656
+ RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", 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
+ RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RTLService, providedIn: 'root' });
658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RTLService, decorators: [{
653
659
  type: Injectable,
654
660
  args: [{ providedIn: 'root' }]
655
661
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -780,9 +786,9 @@ class TitleService {
780
786
  this.destroy$.complete();
781
787
  }
782
788
  }
783
- TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
784
- TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TitleService, providedIn: 'root' });
785
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TitleService, decorators: [{
789
+ TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", 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
+ TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TitleService, providedIn: 'root' });
791
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TitleService, decorators: [{
786
792
  type: Injectable,
787
793
  args: [{ providedIn: 'root' }]
788
794
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -803,9 +809,9 @@ class I18nPipe {
803
809
  return this.i18n.fanyi(key, params);
804
810
  }
805
811
  }
806
- I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
807
- I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, name: "i18n" });
808
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, decorators: [{
812
+ I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
813
+ I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: I18nPipe, name: "i18n" });
814
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: I18nPipe, decorators: [{
809
815
  type: Pipe,
810
816
  args: [{ name: 'i18n' }]
811
817
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -832,9 +838,9 @@ class AlainI18NGuard {
832
838
  return this.resolve(route);
833
839
  }
834
840
  }
835
- AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
836
- AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, decorators: [{
841
+ AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
842
+ AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainI18NGuard, decorators: [{
838
844
  type: Injectable,
839
845
  args: [{ providedIn: 'root' }]
840
846
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -952,9 +958,9 @@ class DelonLocaleService {
952
958
  return (this._locale[path] || {});
953
959
  }
954
960
  }
955
- DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
956
- DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService });
957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService, decorators: [{
961
+ DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
962
+ DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleService });
963
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleService, decorators: [{
958
964
  type: Injectable
959
965
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
960
966
  type: Inject,
@@ -971,10 +977,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
971
977
 
972
978
  class DelonLocaleModule {
973
979
  }
974
- DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
975
- DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule });
976
- DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, decorators: [{
980
+ DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
981
+ DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleModule });
982
+ DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
983
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DelonLocaleModule, decorators: [{
978
984
  type: NgModule,
979
985
  args: [{
980
986
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -2034,9 +2040,9 @@ class ModalHelper {
2034
2040
  return this.create(comp, params, { ...options, modalOptions });
2035
2041
  }
2036
2042
  }
2037
- ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
2038
- ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, providedIn: 'root' });
2039
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, decorators: [{
2043
+ ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
2044
+ ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ModalHelper, providedIn: 'root' });
2045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ModalHelper, decorators: [{
2040
2046
  type: Injectable,
2041
2047
  args: [{ providedIn: 'root' }]
2042
2048
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
@@ -2120,9 +2126,9 @@ class DrawerHelper {
2120
2126
  return this.create(title, comp, params, { ...options, drawerOptions });
2121
2127
  }
2122
2128
  }
2123
- DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2124
- DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, decorators: [{
2129
+ DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2130
+ DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DrawerHelper, decorators: [{
2126
2132
  type: Injectable,
2127
2133
  args: [{ providedIn: 'root' }]
2128
2134
  }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
@@ -2267,9 +2273,9 @@ class _HttpClient {
2267
2273
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2268
2274
  }
2269
2275
  }
2270
- _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2271
- _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, decorators: [{
2276
+ _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2277
+ _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: _HttpClient, decorators: [{
2273
2279
  type: Injectable,
2274
2280
  args: [{ providedIn: 'root' }]
2275
2281
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2286,9 +2292,9 @@ class BaseApi {
2286
2292
  this.injector = injector;
2287
2293
  }
2288
2294
  }
2289
- BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2290
- BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi });
2291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi, decorators: [{
2295
+ BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2296
+ BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BaseApi });
2297
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BaseApi, decorators: [{
2292
2298
  type: Injectable
2293
2299
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2294
2300
  type: Inject,
@@ -2533,9 +2539,9 @@ class DatePipe {
2533
2539
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2534
2540
  }
2535
2541
  }
2536
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2537
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, name: "_date" });
2538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, decorators: [{
2542
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2543
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: DatePipe, name: "_date" });
2544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatePipe, decorators: [{
2539
2545
  type: Pipe,
2540
2546
  args: [{ name: '_date' }]
2541
2547
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2552,9 +2558,9 @@ class KeysPipe {
2552
2558
  return ret;
2553
2559
  }
2554
2560
  }
2555
- KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2556
- KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, name: "keys" });
2557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, decorators: [{
2561
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2562
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: KeysPipe, name: "keys" });
2563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: KeysPipe, decorators: [{
2558
2564
  type: Pipe,
2559
2565
  args: [{ name: 'keys' }]
2560
2566
  }] });
@@ -2587,9 +2593,9 @@ class YNPipe {
2587
2593
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2588
2594
  }
2589
2595
  }
2590
- YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2591
- YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, name: "yn" });
2592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, decorators: [{
2596
+ YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2597
+ YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: YNPipe, name: "yn" });
2598
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: YNPipe, decorators: [{
2593
2599
  type: Pipe,
2594
2600
  args: [{ name: 'yn' }]
2595
2601
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2602,9 +2608,9 @@ class HTMLPipe {
2602
2608
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2603
2609
  }
2604
2610
  }
2605
- HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2606
- HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, name: "html" });
2607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, decorators: [{
2611
+ HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2612
+ HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: HTMLPipe, name: "html" });
2613
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: HTMLPipe, decorators: [{
2608
2614
  type: Pipe,
2609
2615
  args: [{ name: 'html' }]
2610
2616
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2617,9 +2623,9 @@ class URLPipe {
2617
2623
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2618
2624
  }
2619
2625
  }
2620
- URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2621
- URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, name: "url" });
2622
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, decorators: [{
2626
+ URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2627
+ URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: URLPipe, name: "url" });
2628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: URLPipe, decorators: [{
2623
2629
  type: Pipe,
2624
2630
  args: [{ name: 'url' }]
2625
2631
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2647,9 +2653,9 @@ class AlainThemeModule {
2647
2653
  };
2648
2654
  }
2649
2655
  }
2650
- AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2651
- AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.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] });
2652
- AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, providers: [
2656
+ AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2657
+ AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
2658
+ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainThemeModule, providers: [
2653
2659
  {
2654
2660
  provide: ALAIN_SETTING_KEYS,
2655
2661
  useValue: {
@@ -2659,7 +2665,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2659
2665
  }
2660
2666
  }
2661
2667
  ], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
2662
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, decorators: [{
2668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AlainThemeModule, decorators: [{
2663
2669
  type: NgModule,
2664
2670
  args: [{
2665
2671
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2698,7 +2704,7 @@ class PreloadOptionalModules {
2698
2704
  }
2699
2705
  }
2700
2706
 
2701
- const VERSION = new Version('15.1.0');
2707
+ const VERSION = new Version('15.2.0');
2702
2708
 
2703
2709
  /**
2704
2710
  * Generated bundle index. Do not edit.