@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 () {
@@ -462,9 +461,9 @@ class SettingsService {
462
461
  return this._user;
463
462
  }
464
463
  }
465
- 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 });
466
- SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SettingsService, providedIn: 'root' });
467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SettingsService, decorators: [{
464
+ 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 });
465
+ SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SettingsService, providedIn: 'root' });
466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SettingsService, decorators: [{
468
467
  type: Injectable,
469
468
  args: [{ providedIn: 'root' }]
470
469
  }], ctorParameters: function () {
@@ -510,9 +509,9 @@ class ResponsiveService {
510
509
  return clsMap;
511
510
  }
512
511
  }
513
- ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
514
- ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ResponsiveService, decorators: [{
512
+ ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
513
+ ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResponsiveService, decorators: [{
516
515
  type: Injectable,
517
516
  args: [{ providedIn: 'root' }]
518
517
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -599,9 +598,9 @@ class RTLService {
599
598
  });
600
599
  }
601
600
  }
602
- 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 });
603
- RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: RTLService, providedIn: 'root' });
604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: RTLService, decorators: [{
601
+ 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 });
602
+ RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RTLService, providedIn: 'root' });
603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RTLService, decorators: [{
605
604
  type: Injectable,
606
605
  args: [{ providedIn: 'root' }]
607
606
  }], ctorParameters: function () {
@@ -712,9 +711,9 @@ class TitleService {
712
711
  this.i18n$.unsubscribe();
713
712
  }
714
713
  }
715
- 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 });
716
- TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TitleService, providedIn: 'root' });
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TitleService, decorators: [{
714
+ 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 });
715
+ TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleService, providedIn: 'root' });
716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleService, decorators: [{
718
717
  type: Injectable,
719
718
  args: [{ providedIn: 'root' }]
720
719
  }], ctorParameters: function () {
@@ -737,9 +736,9 @@ class I18nPipe {
737
736
  return this.i18n.fanyi(key, params);
738
737
  }
739
738
  }
740
- 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 });
741
- I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: I18nPipe, name: "i18n" });
742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: I18nPipe, decorators: [{
739
+ 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 });
740
+ I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: I18nPipe, name: "i18n" });
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: I18nPipe, decorators: [{
743
742
  type: Pipe,
744
743
  args: [{ name: 'i18n' }]
745
744
  }], ctorParameters: function () {
@@ -769,9 +768,9 @@ class AlainI18NGuard {
769
768
  return this.resolve(route);
770
769
  }
771
770
  }
772
- 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 });
773
- AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainI18NGuard, decorators: [{
771
+ 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 });
772
+ AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainI18NGuard, decorators: [{
775
774
  type: Injectable,
776
775
  args: [{ providedIn: 'root' }]
777
776
  }], ctorParameters: function () {
@@ -891,9 +890,9 @@ class DelonLocaleService {
891
890
  return (this._locale[path] || {});
892
891
  }
893
892
  }
894
- DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
895
- DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService });
896
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleService, decorators: [{
893
+ DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
894
+ DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService });
895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleService, decorators: [{
897
896
  type: Injectable
898
897
  }], ctorParameters: function () {
899
898
  return [{ type: undefined, decorators: [{
@@ -912,10 +911,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
912
911
 
913
912
  class DelonLocaleModule {
914
913
  }
915
- DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
916
- DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule });
917
- 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] });
918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DelonLocaleModule, decorators: [{
914
+ DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
915
+ DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule });
916
+ 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] });
917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DelonLocaleModule, decorators: [{
919
918
  type: NgModule,
920
919
  args: [{
921
920
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -1972,9 +1971,9 @@ class ModalHelper {
1972
1971
  return this.create(comp, params, Object.assign(Object.assign({}, options), { modalOptions }));
1973
1972
  }
1974
1973
  }
1975
- 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 });
1976
- ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ModalHelper, decorators: [{
1974
+ 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 });
1975
+ ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHelper, decorators: [{
1978
1977
  type: Injectable,
1979
1978
  args: [{ providedIn: 'root' }]
1980
1979
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
@@ -2055,9 +2054,9 @@ class DrawerHelper {
2055
2054
  return this.create(title, comp, params, Object.assign(Object.assign({}, 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 }]; } });
@@ -2183,9 +2182,9 @@ class _HttpClient {
2183
2182
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2184
2183
  }
2185
2184
  }
2186
- _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 });
2187
- _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: _HttpClient, decorators: [{
2185
+ _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 });
2186
+ _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: _HttpClient, decorators: [{
2189
2188
  type: Injectable,
2190
2189
  args: [{ providedIn: 'root' }]
2191
2190
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2202,9 +2201,9 @@ class BaseApi {
2202
2201
  this.injector = injector;
2203
2202
  }
2204
2203
  }
2205
- BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2206
- BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi });
2207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BaseApi, decorators: [{
2204
+ BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2205
+ BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi });
2206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseApi, decorators: [{
2208
2207
  type: Injectable
2209
2208
  }], ctorParameters: function () {
2210
2209
  return [{ type: i0.Injector, decorators: [{
@@ -2344,7 +2343,7 @@ function makeMethod(method) {
2344
2343
  headers['content-type'] = 'application/x-www-form-urlencoded';
2345
2344
  }
2346
2345
  const payload = getValidArgs(data, 'payload', args);
2347
- const supportedBody = method === 'POST' || method === 'PUT';
2346
+ const supportedBody = ['POST', 'PUT', 'PATCH', 'DELETE'].some(v => v === method);
2348
2347
  return http.request(method, requestUrl, Object.assign({ body: supportedBody ? genBody(getValidArgs(data, 'body', args), payload) : null, params: !supportedBody ? Object.assign(Object.assign({}, params), payload) : params, headers: Object.assign(Object.assign({}, baseData.baseHeaders), headers) }, options));
2349
2348
  };
2350
2349
  return descriptor;
@@ -2409,9 +2408,9 @@ class DatePipe {
2409
2408
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2410
2409
  }
2411
2410
  }
2412
- 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 });
2413
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DatePipe, name: "_date" });
2414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: DatePipe, decorators: [{
2411
+ 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 });
2412
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePipe, name: "_date" });
2413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePipe, decorators: [{
2415
2414
  type: Pipe,
2416
2415
  args: [{ name: '_date' }]
2417
2416
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2428,9 +2427,9 @@ class KeysPipe {
2428
2427
  return ret;
2429
2428
  }
2430
2429
  }
2431
- KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2432
- KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, name: "keys" });
2433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: KeysPipe, decorators: [{
2430
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2431
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, name: "keys" });
2432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KeysPipe, decorators: [{
2434
2433
  type: Pipe,
2435
2434
  args: [{ name: 'keys' }]
2436
2435
  }] });
@@ -2463,9 +2462,9 @@ class YNPipe {
2463
2462
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2464
2463
  }
2465
2464
  }
2466
- 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 });
2467
- YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: YNPipe, name: "yn" });
2468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: YNPipe, decorators: [{
2465
+ 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 });
2466
+ YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YNPipe, name: "yn" });
2467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YNPipe, decorators: [{
2469
2468
  type: Pipe,
2470
2469
  args: [{ name: 'yn' }]
2471
2470
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2478,9 +2477,9 @@ class HTMLPipe {
2478
2477
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2479
2478
  }
2480
2479
  }
2481
- 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 });
2482
- HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HTMLPipe, name: "html" });
2483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HTMLPipe, decorators: [{
2480
+ 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 });
2481
+ HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLPipe, name: "html" });
2482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLPipe, decorators: [{
2484
2483
  type: Pipe,
2485
2484
  args: [{ name: 'html' }]
2486
2485
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2493,9 +2492,9 @@ class URLPipe {
2493
2492
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2494
2493
  }
2495
2494
  }
2496
- 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 });
2497
- URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: URLPipe, name: "url" });
2498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: URLPipe, decorators: [{
2495
+ 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 });
2496
+ URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: URLPipe, name: "url" });
2497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: URLPipe, decorators: [{
2499
2498
  type: Pipe,
2500
2499
  args: [{ name: 'url' }]
2501
2500
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2523,9 +2522,9 @@ class AlainThemeModule {
2523
2522
  };
2524
2523
  }
2525
2524
  }
2526
- 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 });
2527
- 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] });
2528
- AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainThemeModule, providers: [
2525
+ 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 });
2526
+ 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] });
2527
+ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, providers: [
2529
2528
  {
2530
2529
  provide: ALAIN_SETTING_KEYS,
2531
2530
  useValue: {
@@ -2535,7 +2534,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2535
2534
  }
2536
2535
  }
2537
2536
  ], imports: [[CommonModule, RouterModule, OverlayModule, NzI18nModule], DelonLocaleModule] });
2538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: AlainThemeModule, decorators: [{
2537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlainThemeModule, decorators: [{
2539
2538
  type: NgModule,
2540
2539
  args: [{
2541
2540
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2575,7 +2574,7 @@ class PreloadOptionalModules {
2575
2574
  }
2576
2575
  }
2577
2576
 
2578
- const VERSION = new Version('13.4.2');
2577
+ const VERSION = new Version('13.5.2');
2579
2578
 
2580
2579
  /**
2581
2580
  * Generated bundle index. Do not edit.