@delon/theme 13.4.2 → 13.5.2

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/compact.css +1609 -923
  2. package/compact.min.css +1 -1
  3. package/dark.css +1617 -930
  4. package/dark.min.css +1 -1
  5. package/default.css +1612 -926
  6. package/default.min.css +1 -1
  7. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +4 -4
  8. package/esm2020/layout-default/layout-header-item.component.mjs +4 -4
  9. package/esm2020/layout-default/layout-header.component.mjs +18 -15
  10. package/esm2020/layout-default/layout-nav.component.mjs +5 -6
  11. package/esm2020/layout-default/layout.component.mjs +5 -6
  12. package/esm2020/layout-default/layout.module.mjs +5 -5
  13. package/esm2020/layout-default/types.mjs +1 -1
  14. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +4 -4
  15. package/esm2020/setting-drawer/setting-drawer.component.mjs +5 -6
  16. package/esm2020/setting-drawer/setting-drawer.module.mjs +5 -5
  17. package/esm2020/src/locale/locale.module.mjs +5 -5
  18. package/esm2020/src/locale/locale.service.mjs +4 -4
  19. package/esm2020/src/pipes/date/date.pipe.mjs +4 -4
  20. package/esm2020/src/pipes/keys/keys.pipe.mjs +4 -4
  21. package/esm2020/src/pipes/safe/html.pipe.mjs +4 -4
  22. package/esm2020/src/pipes/safe/url.pipe.mjs +4 -4
  23. package/esm2020/src/pipes/yn/yn.pipe.mjs +4 -4
  24. package/esm2020/src/router/optional-preloader.mjs +2 -3
  25. package/esm2020/src/services/drawer/drawer.helper.mjs +4 -4
  26. package/esm2020/src/services/http/http.client.mjs +5 -6
  27. package/esm2020/src/services/http/http.decorator.mjs +5 -5
  28. package/esm2020/src/services/i18n/i18n-url.guard.mjs +4 -4
  29. package/esm2020/src/services/i18n/i18n.mjs +8 -9
  30. package/esm2020/src/services/i18n/i18n.pipe.mjs +4 -4
  31. package/esm2020/src/services/menu/menu.service.mjs +5 -6
  32. package/esm2020/src/services/modal/modal.helper.mjs +4 -4
  33. package/esm2020/src/services/responsive/responsive.mjs +4 -4
  34. package/esm2020/src/services/rtl/rtl.service.mjs +5 -5
  35. package/esm2020/src/services/settings/settings.service.mjs +4 -4
  36. package/esm2020/src/services/title/title.service.mjs +5 -5
  37. package/esm2020/src/theme.module.mjs +5 -5
  38. package/esm2020/src/version.mjs +1 -1
  39. package/esm2020/theme-btn/theme-btn.component.mjs +5 -6
  40. package/esm2020/theme-btn/theme-btn.module.mjs +5 -5
  41. package/fesm2015/layout-default.mjs +33 -30
  42. package/fesm2015/layout-default.mjs.map +1 -1
  43. package/fesm2015/setting-drawer.mjs +11 -12
  44. package/fesm2015/setting-drawer.mjs.map +1 -1
  45. package/fesm2015/theme-btn.mjs +8 -9
  46. package/fesm2015/theme-btn.mjs.map +1 -1
  47. package/fesm2015/theme.mjs +68 -69
  48. package/fesm2015/theme.mjs.map +1 -1
  49. package/fesm2020/layout-default.mjs +33 -30
  50. package/fesm2020/layout-default.mjs.map +1 -1
  51. package/fesm2020/setting-drawer.mjs +11 -12
  52. package/fesm2020/setting-drawer.mjs.map +1 -1
  53. package/fesm2020/theme-btn.mjs +8 -9
  54. package/fesm2020/theme-btn.mjs.map +1 -1
  55. package/fesm2020/theme.mjs +68 -69
  56. package/fesm2020/theme.mjs.map +1 -1
  57. package/layout-default/style/_aside.less +13 -0
  58. package/layout-default/style/fix/_reuse-tab.less +24 -2
  59. package/layout-default/types.d.ts +8 -0
  60. package/package.json +4 -4
  61. package/src/services/http/http.client.d.ts +4 -0
  62. package/src/services/http/http.decorator.d.ts +2 -1
  63. package/system/theme-dark.less +1 -2
  64. package/system/theme-default.less +50 -51
@@ -1,7 +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, of, Observable, throwError } from 'rxjs';
4
- import { filter, share, map, delay, tap, switchMap, finalize, catchError } from 'rxjs/operators';
3
+ import { BehaviorSubject, filter, share, Subject, map, of, Observable, delay, tap, switchMap, finalize, throwError, catchError } from 'rxjs';
5
4
  import * as i1 from '@delon/util/config';
6
5
  import { AlainConfigService } from '@delon/util/config';
7
6
  import * as i1$1 from '@delon/acl';
@@ -115,9 +114,9 @@ class AlainI18nBaseService {
115
114
  return content;
116
115
  }
117
116
  }
118
- AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
119
- AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18nBaseService });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18nBaseService, decorators: [{
117
+ AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
118
+ AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18nBaseService });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
120
  type: Injectable
122
121
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
123
122
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -130,9 +129,9 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
130
129
  return [];
131
130
  }
132
131
  }
133
- AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
134
- AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
132
+ AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
133
+ AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
135
  type: Injectable,
137
136
  args: [{ providedIn: 'root' }]
138
137
  }] });
@@ -369,9 +368,9 @@ class MenuService {
369
368
  this.i18n$.unsubscribe();
370
369
  }
371
370
  }
372
- MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: MenuService, providedIn: 'root' });
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MenuService, decorators: [{
371
+ MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
372
+ MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuService, providedIn: 'root' });
373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuService, decorators: [{
375
374
  type: Injectable,
376
375
  args: [{ providedIn: 'root' }]
377
376
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -469,9 +468,9 @@ class SettingsService {
469
468
  return this._user;
470
469
  }
471
470
  }
472
- SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: SettingsService, providedIn: 'root' });
474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SettingsService, decorators: [{
471
+ SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
472
+ SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SettingsService, providedIn: 'root' });
473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SettingsService, decorators: [{
475
474
  type: Injectable,
476
475
  args: [{ providedIn: 'root' }]
477
476
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -515,9 +514,9 @@ class ResponsiveService {
515
514
  return clsMap;
516
515
  }
517
516
  }
518
- ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
519
- ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
520
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, decorators: [{
517
+ ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
518
+ ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, decorators: [{
521
520
  type: Injectable,
522
521
  args: [{ providedIn: 'root' }]
523
522
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -604,9 +603,9 @@ class RTLService {
604
603
  });
605
604
  }
606
605
  }
607
- RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: RTLService, providedIn: 'root' });
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: RTLService, decorators: [{
606
+ RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
607
+ RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RTLService, providedIn: 'root' });
608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RTLService, decorators: [{
610
609
  type: Injectable,
611
610
  args: [{ providedIn: 'root' }]
612
611
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -715,9 +714,9 @@ class TitleService {
715
714
  this.i18n$.unsubscribe();
716
715
  }
717
716
  }
718
- TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: TitleService, providedIn: 'root' });
720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TitleService, decorators: [{
717
+ TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
718
+ TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleService, providedIn: 'root' });
719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleService, decorators: [{
721
720
  type: Injectable,
722
721
  args: [{ providedIn: 'root' }]
723
722
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -738,9 +737,9 @@ class I18nPipe {
738
737
  return this.i18n.fanyi(key, params);
739
738
  }
740
739
  }
741
- I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
742
- I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: I18nPipe, name: "i18n" });
743
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: I18nPipe, decorators: [{
740
+ I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
741
+ I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: I18nPipe, name: "i18n" });
742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: I18nPipe, decorators: [{
744
743
  type: Pipe,
745
744
  args: [{ name: 'i18n' }]
746
745
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -767,9 +766,9 @@ class AlainI18NGuard {
767
766
  return this.resolve(route);
768
767
  }
769
768
  }
770
- AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NGuard, decorators: [{
769
+ AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
770
+ AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NGuard, decorators: [{
773
772
  type: Injectable,
774
773
  args: [{ providedIn: 'root' }]
775
774
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -887,9 +886,9 @@ class DelonLocaleService {
887
886
  return (this._locale[path] || {});
888
887
  }
889
888
  }
890
- DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
891
- DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService });
892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService, decorators: [{
889
+ DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
890
+ DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService });
891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService, decorators: [{
893
892
  type: Injectable
894
893
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
895
894
  type: Inject,
@@ -906,10 +905,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
906
905
 
907
906
  class DelonLocaleModule {
908
907
  }
909
- DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
910
- DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule });
911
- DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
912
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule, decorators: [{
908
+ DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
909
+ DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule });
910
+ DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule, decorators: [{
913
912
  type: NgModule,
914
913
  args: [{
915
914
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -1969,9 +1968,9 @@ class ModalHelper {
1969
1968
  return this.create(comp, params, { ...options, modalOptions });
1970
1969
  }
1971
1970
  }
1972
- ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
1973
- ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ModalHelper, decorators: [{
1971
+ ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
1972
+ ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHelper, decorators: [{
1975
1974
  type: Injectable,
1976
1975
  args: [{ providedIn: 'root' }]
1977
1976
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
@@ -2055,9 +2054,9 @@ class DrawerHelper {
2055
2054
  return this.create(title, comp, params, { ...options, drawerOptions });
2056
2055
  }
2057
2056
  }
2058
- DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2059
- DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DrawerHelper, decorators: [{
2057
+ DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2058
+ DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerHelper, decorators: [{
2061
2060
  type: Injectable,
2062
2061
  args: [{ providedIn: 'root' }]
2063
2062
  }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
@@ -2202,9 +2201,9 @@ class _HttpClient {
2202
2201
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2203
2202
  }
2204
2203
  }
2205
- _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: _HttpClient, decorators: [{
2204
+ _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2205
+ _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: _HttpClient, decorators: [{
2208
2207
  type: Injectable,
2209
2208
  args: [{ providedIn: 'root' }]
2210
2209
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2221,9 +2220,9 @@ class BaseApi {
2221
2220
  this.injector = injector;
2222
2221
  }
2223
2222
  }
2224
- BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2225
- BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi });
2226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi, decorators: [{
2223
+ BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2224
+ BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi });
2225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi, decorators: [{
2227
2226
  type: Injectable
2228
2227
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2229
2228
  type: Inject,
@@ -2361,7 +2360,7 @@ function makeMethod(method) {
2361
2360
  headers['content-type'] = 'application/x-www-form-urlencoded';
2362
2361
  }
2363
2362
  const payload = getValidArgs(data, 'payload', args);
2364
- const supportedBody = method === 'POST' || method === 'PUT';
2363
+ const supportedBody = ['POST', 'PUT', 'PATCH', 'DELETE'].some(v => v === method);
2365
2364
  return http.request(method, requestUrl, {
2366
2365
  body: supportedBody ? genBody(getValidArgs(data, 'body', args), payload) : null,
2367
2366
  params: !supportedBody ? { ...params, ...payload } : params,
@@ -2431,9 +2430,9 @@ class DatePipe {
2431
2430
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2432
2431
  }
2433
2432
  }
2434
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2435
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DatePipe, name: "_date" });
2436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DatePipe, decorators: [{
2433
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2434
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePipe, name: "_date" });
2435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePipe, decorators: [{
2437
2436
  type: Pipe,
2438
2437
  args: [{ name: '_date' }]
2439
2438
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2450,9 +2449,9 @@ class KeysPipe {
2450
2449
  return ret;
2451
2450
  }
2452
2451
  }
2453
- KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2454
- KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, name: "keys" });
2455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, decorators: [{
2452
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2453
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, name: "keys" });
2454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, decorators: [{
2456
2455
  type: Pipe,
2457
2456
  args: [{ name: 'keys' }]
2458
2457
  }] });
@@ -2485,9 +2484,9 @@ class YNPipe {
2485
2484
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2486
2485
  }
2487
2486
  }
2488
- YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2489
- YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: YNPipe, name: "yn" });
2490
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: YNPipe, decorators: [{
2487
+ YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2488
+ YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YNPipe, name: "yn" });
2489
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YNPipe, decorators: [{
2491
2490
  type: Pipe,
2492
2491
  args: [{ name: 'yn' }]
2493
2492
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2500,9 +2499,9 @@ class HTMLPipe {
2500
2499
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2501
2500
  }
2502
2501
  }
2503
- HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2504
- HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HTMLPipe, name: "html" });
2505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HTMLPipe, decorators: [{
2502
+ HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2503
+ HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLPipe, name: "html" });
2504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLPipe, decorators: [{
2506
2505
  type: Pipe,
2507
2506
  args: [{ name: 'html' }]
2508
2507
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2515,9 +2514,9 @@ class URLPipe {
2515
2514
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2516
2515
  }
2517
2516
  }
2518
- URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2519
- URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: URLPipe, name: "url" });
2520
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: URLPipe, decorators: [{
2517
+ URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2518
+ URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: URLPipe, name: "url" });
2519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: URLPipe, decorators: [{
2521
2520
  type: Pipe,
2522
2521
  args: [{ name: 'url' }]
2523
2522
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2545,9 +2544,9 @@ class AlainThemeModule {
2545
2544
  };
2546
2545
  }
2547
2546
  }
2548
- AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2549
- AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", 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.3.1", ngImport: i0, type: AlainThemeModule, providers: [
2547
+ AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2548
+ AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
2549
+ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, providers: [
2551
2550
  {
2552
2551
  provide: ALAIN_SETTING_KEYS,
2553
2552
  useValue: {
@@ -2557,7 +2556,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2557
2556
  }
2558
2557
  }
2559
2558
  ], imports: [[CommonModule, RouterModule, OverlayModule, NzI18nModule], DelonLocaleModule] });
2560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainThemeModule, decorators: [{
2559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, decorators: [{
2561
2560
  type: NgModule,
2562
2561
  args: [{
2563
2562
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2596,7 +2595,7 @@ class PreloadOptionalModules {
2596
2595
  }
2597
2596
  }
2598
2597
 
2599
- const VERSION = new Version('13.4.2');
2598
+ const VERSION = new Version('13.5.2');
2600
2599
 
2601
2600
  /**
2602
2601
  * Generated bundle index. Do not edit.