@delon/theme 16.2.0 → 16.2.1

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 (55) hide show
  1. package/compact.css +4 -1
  2. package/compact.min.css +1 -1
  3. package/dark.css +4 -1
  4. package/dark.min.css +1 -1
  5. package/default.css +4 -1
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  8. package/esm2022/layout-default/layout-header-item.component.mjs +6 -6
  9. package/esm2022/layout-default/layout-header.component.mjs +17 -21
  10. package/esm2022/layout-default/layout-nav.component.mjs +15 -15
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +5 -5
  12. package/esm2022/layout-default/layout.component.mjs +21 -26
  13. package/esm2022/layout-default/layout.module.mjs +4 -4
  14. package/esm2022/layout-default/layout.service.mjs +3 -3
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +5 -5
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +9 -12
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +4 -4
  18. package/esm2022/src/locale/locale.module.mjs +4 -4
  19. package/esm2022/src/locale/locale.service.mjs +3 -3
  20. package/esm2022/src/pipes/date/date.pipe.mjs +3 -3
  21. package/esm2022/src/pipes/keys/keys.pipe.mjs +3 -3
  22. package/esm2022/src/pipes/safe/html.pipe.mjs +3 -3
  23. package/esm2022/src/pipes/safe/url.pipe.mjs +3 -3
  24. package/esm2022/src/pipes/yn/yn.pipe.mjs +3 -3
  25. package/esm2022/src/services/drawer/drawer.helper.mjs +3 -3
  26. package/esm2022/src/services/http/http.client.mjs +3 -3
  27. package/esm2022/src/services/http/http.decorator.mjs +3 -3
  28. package/esm2022/src/services/i18n/i18n-url.guard.mjs +3 -3
  29. package/esm2022/src/services/i18n/i18n.mjs +6 -6
  30. package/esm2022/src/services/i18n/i18n.pipe.mjs +3 -3
  31. package/esm2022/src/services/menu/menu.service.mjs +3 -3
  32. package/esm2022/src/services/modal/modal.helper.mjs +3 -3
  33. package/esm2022/src/services/responsive/responsive.mjs +3 -3
  34. package/esm2022/src/services/rtl/rtl.service.mjs +3 -3
  35. package/esm2022/src/services/settings/settings.service.mjs +3 -3
  36. package/esm2022/src/services/title/title.service.mjs +11 -12
  37. package/esm2022/src/theme.module.mjs +4 -4
  38. package/esm2022/src/version.mjs +1 -1
  39. package/esm2022/theme-btn/theme-btn.component.mjs +12 -12
  40. package/esm2022/theme-btn/theme-btn.module.mjs +4 -4
  41. package/fesm2022/layout-default.mjs +65 -75
  42. package/fesm2022/layout-default.mjs.map +1 -1
  43. package/fesm2022/setting-drawer.mjs +16 -19
  44. package/fesm2022/setting-drawer.mjs.map +1 -1
  45. package/fesm2022/theme-btn.mjs +15 -15
  46. package/fesm2022/theme-btn.mjs.map +1 -1
  47. package/fesm2022/theme.mjs +73 -74
  48. package/fesm2022/theme.mjs.map +1 -1
  49. package/layout-default/layout-header.component.d.ts +2 -3
  50. package/layout-default/layout.component.d.ts +2 -4
  51. package/package.json +3 -3
  52. package/setting-drawer/setting-drawer.component.d.ts +3 -4
  53. package/src/services/title/title.service.d.ts +1 -1
  54. package/system/antd/_table.less +4 -1
  55. package/theme-btn/theme-btn.component.d.ts +5 -4
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Injectable, Optional, Inject, Pipe, SkipSelf, NgModule, Injector, Version } from '@angular/core';
3
- import { filter, BehaviorSubject, share, Subject, map, takeUntil, of, delay, isObservable, switchMap, Observable, take, tap, finalize, throwError, catchError } from 'rxjs';
2
+ import { InjectionToken, inject, Injectable, Optional, Inject, DestroyRef, Pipe, SkipSelf, NgModule, Injector, Version } from '@angular/core';
3
+ import { filter, BehaviorSubject, share, Subject, map, of, delay, isObservable, switchMap, Observable, take, tap, finalize, throwError, catchError } from 'rxjs';
4
4
  import * as i1 from '@delon/util/config';
5
5
  import { AlainConfigService } from '@delon/util/config';
6
6
  import * as i1$1 from '@delon/acl';
@@ -9,6 +9,7 @@ import * as i1$2 from '@angular/cdk/platform';
9
9
  import { DOCUMENT, CommonModule } from '@angular/common';
10
10
  import * as i1$3 from '@angular/cdk/bidi';
11
11
  import * as i3 from 'ng-zorro-antd/core/config';
12
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
12
13
  import { ActivatedRoute, Router, RouterModule } from '@angular/router';
13
14
  import * as i1$4 from '@angular/platform-browser';
14
15
  import { deepMerge } from '@delon/util/other';
@@ -114,10 +115,10 @@ class AlainI18nBaseService {
114
115
  }
115
116
  return content;
116
117
  }
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
118
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService }); }
118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
119
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService }); }
119
120
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
122
  type: Injectable
122
123
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
123
124
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -129,10 +130,10 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
129
130
  getLangs() {
130
131
  return [];
131
132
  }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
133
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
133
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
134
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
134
135
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
137
  type: Injectable,
137
138
  args: [{ providedIn: 'root' }]
138
139
  }] });
@@ -418,10 +419,10 @@ class MenuService {
418
419
  this._change$.unsubscribe();
419
420
  this.i18n$.unsubscribe();
420
421
  }
421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
422
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: MenuService, providedIn: 'root' }); }
422
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
423
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, providedIn: 'root' }); }
423
424
  }
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: MenuService, decorators: [{
425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: MenuService, decorators: [{
425
426
  type: Injectable,
426
427
  args: [{ providedIn: 'root' }]
427
428
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -518,10 +519,10 @@ class SettingsService {
518
519
  getUser() {
519
520
  return this._user;
520
521
  }
521
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable }); }
522
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
522
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable }); }
523
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
523
524
  }
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SettingsService, decorators: [{
525
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: SettingsService, decorators: [{
525
526
  type: Injectable,
526
527
  args: [{ providedIn: 'root' }]
527
528
  }], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -571,10 +572,10 @@ class ResponsiveService {
571
572
  clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
572
573
  return clsMap;
573
574
  }
574
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
575
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
575
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
576
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
576
577
  }
577
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ResponsiveService, decorators: [{
578
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ResponsiveService, decorators: [{
578
579
  type: Injectable,
579
580
  args: [{ providedIn: 'root' }]
580
581
  }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
@@ -660,10 +661,10 @@ class RTLService {
660
661
  this.delon.set(name, { direction: this.dir });
661
662
  });
662
663
  }
663
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RTLService, deps: [{ token: i1$3.Directionality }, { token: SettingsService }, { token: i3.NzConfigService }, { token: i1.AlainConfigService }, { token: i1$2.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
664
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RTLService, providedIn: 'root' }); }
664
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", 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 }); }
665
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: RTLService, providedIn: 'root' }); }
665
666
  }
666
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RTLService, decorators: [{
667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: RTLService, decorators: [{
667
668
  type: Injectable,
668
669
  args: [{ providedIn: 'root' }]
669
670
  }], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
@@ -678,11 +679,11 @@ class TitleService {
678
679
  this.menuSrv = menuSrv;
679
680
  this.i18nSrv = i18nSrv;
680
681
  this.doc = doc;
682
+ this.destroy$ = inject(DestroyRef);
681
683
  this._prefix = '';
682
684
  this._suffix = '';
683
685
  this._separator = ' - ';
684
686
  this._reverse = false;
685
- this.destroy$ = new Subject();
686
687
  this.DELAY_TIME = 25;
687
688
  /**
688
689
  * Set default title name
@@ -690,7 +691,7 @@ class TitleService {
690
691
  * 设置默认标题名
691
692
  */
692
693
  this.default = `Not Page Name`;
693
- this.i18nSrv.change.pipe(takeUntil(this.destroy$)).subscribe(() => this.setTitle());
694
+ i18nSrv.change.pipe(takeUntilDestroyed()).subscribe(() => this.setTitle());
694
695
  }
695
696
  /**
696
697
  * Set separator
@@ -766,13 +767,13 @@ class TitleService {
766
767
  setTitle(title) {
767
768
  this.tit$?.unsubscribe();
768
769
  this.tit$ = of(title)
769
- .pipe(switchMap(tit => (tit ? of(tit) : this.getByRoute())), switchMap(tit => (tit ? of(tit) : this.getByMenu())), switchMap(tit => (tit ? of(tit) : this.getByElement())), map(tit => tit || this.default), map(title => (!Array.isArray(title) ? [title] : title)), takeUntil(this.destroy$))
770
+ .pipe(switchMap(tit => (tit ? of(tit) : this.getByRoute())), switchMap(tit => (tit ? of(tit) : this.getByMenu())), switchMap(tit => (tit ? of(tit) : this.getByElement())), map(tit => tit || this.default), map(title => (!Array.isArray(title) ? [title] : title)), takeUntilDestroyed(this.destroy$))
770
771
  .subscribe(titles => {
771
772
  let newTitles = [];
772
773
  if (this._prefix) {
773
774
  newTitles.push(this._prefix);
774
775
  }
775
- newTitles.push(...titles);
776
+ newTitles.push(...titles.filter(title => !!title));
776
777
  if (this._suffix) {
777
778
  newTitles.push(this._suffix);
778
779
  }
@@ -790,13 +791,11 @@ class TitleService {
790
791
  }
791
792
  ngOnDestroy() {
792
793
  this.tit$?.unsubscribe();
793
- this.destroy$.next();
794
- this.destroy$.complete();
795
794
  }
796
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: TitleService, deps: [{ token: i0.Injector }, { token: i1$4.Title }, { token: MenuService }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
797
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: TitleService, providedIn: 'root' }); }
795
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", 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 }); }
796
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: TitleService, providedIn: 'root' }); }
798
797
  }
799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: TitleService, decorators: [{
798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: TitleService, decorators: [{
800
799
  type: Injectable,
801
800
  args: [{ providedIn: 'root' }]
802
801
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
@@ -816,10 +815,10 @@ class I18nPipe {
816
815
  transform(key, params) {
817
816
  return this.i18n.fanyi(key, params);
818
817
  }
819
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
820
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, name: "i18n" }); }
818
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe }); }
819
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, name: "i18n" }); }
821
820
  }
822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: I18nPipe, decorators: [{
821
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: I18nPipe, decorators: [{
823
822
  type: Pipe,
824
823
  args: [{ name: 'i18n' }]
825
824
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -839,10 +838,10 @@ class AlainI18NGuardService {
839
838
  }
840
839
  return of(true);
841
840
  }
842
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
843
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
841
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
842
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
844
843
  }
845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainI18NGuardService, decorators: [{
844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainI18NGuardService, decorators: [{
846
845
  type: Injectable,
847
846
  args: [{ providedIn: 'root' }]
848
847
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -981,10 +980,10 @@ class DelonLocaleService {
981
980
  getData(path) {
982
981
  return (this._locale[path] || {});
983
982
  }
984
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
985
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService }); }
983
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
984
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService }); }
986
985
  }
987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleService, decorators: [{
986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleService, decorators: [{
988
987
  type: Injectable
989
988
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
990
989
  type: Inject,
@@ -1000,11 +999,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
1000
999
  };
1001
1000
 
1002
1001
  class DelonLocaleModule {
1003
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1004
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule }); }
1005
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
1002
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1003
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule }); }
1004
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
1006
1005
  }
1007
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DelonLocaleModule, decorators: [{
1006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DelonLocaleModule, decorators: [{
1008
1007
  type: NgModule,
1009
1008
  args: [{
1010
1009
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -2098,10 +2097,10 @@ class ModalHelper {
2098
2097
  };
2099
2098
  return this.create(comp, params, { ...options, modalOptions });
2100
2099
  }
2101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2102
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2100
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }, { token: i2.DragDrop }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2101
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
2103
2102
  }
2104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalHelper, decorators: [{
2103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ModalHelper, decorators: [{
2105
2104
  type: Injectable,
2106
2105
  args: [{ providedIn: 'root' }]
2107
2106
  }], ctorParameters: function () { return [{ type: i1$5.NzModalService }, { type: i2.DragDrop }, { type: undefined, decorators: [{
@@ -2187,10 +2186,10 @@ class DrawerHelper {
2187
2186
  };
2188
2187
  return this.create(title, comp, params, { ...options, drawerOptions });
2189
2188
  }
2190
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2191
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2189
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2190
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
2192
2191
  }
2193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DrawerHelper, decorators: [{
2192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DrawerHelper, decorators: [{
2194
2193
  type: Injectable,
2195
2194
  args: [{ providedIn: 'root' }]
2196
2195
  }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
@@ -2334,10 +2333,10 @@ class _HttpClient {
2334
2333
  // Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
2335
2334
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2336
2335
  }
2337
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2338
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2336
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2337
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
2339
2338
  }
2340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: _HttpClient, decorators: [{
2339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: _HttpClient, decorators: [{
2341
2340
  type: Injectable,
2342
2341
  args: [{ providedIn: 'root' }]
2343
2342
  }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
@@ -2353,10 +2352,10 @@ class BaseApi {
2353
2352
  constructor(injector) {
2354
2353
  this.injector = injector;
2355
2354
  }
2356
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2357
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi }); }
2355
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2356
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi }); }
2358
2357
  }
2359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: BaseApi, decorators: [{
2358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: BaseApi, decorators: [{
2360
2359
  type: Injectable
2361
2360
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
2362
2361
  type: Inject,
@@ -2600,10 +2599,10 @@ class DatePipe {
2600
2599
  const langOpt = { locale: this.nzI18n.getDateLocale() };
2601
2600
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2602
2601
  }
2603
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2604
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, name: "_date" }); }
2602
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
2603
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, name: "_date" }); }
2605
2604
  }
2606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: DatePipe, decorators: [{
2605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: DatePipe, decorators: [{
2607
2606
  type: Pipe,
2608
2607
  args: [{ name: '_date' }]
2609
2608
  }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
@@ -2619,10 +2618,10 @@ class KeysPipe {
2619
2618
  });
2620
2619
  return ret;
2621
2620
  }
2622
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2623
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, name: "keys" }); }
2621
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2622
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, name: "keys" }); }
2624
2623
  }
2625
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: KeysPipe, decorators: [{
2624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: KeysPipe, decorators: [{
2626
2625
  type: Pipe,
2627
2626
  args: [{ name: 'keys' }]
2628
2627
  }] });
@@ -2654,10 +2653,10 @@ class YNPipe {
2654
2653
  }
2655
2654
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2656
2655
  }
2657
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2658
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, name: "yn" }); }
2656
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2657
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, name: "yn" }); }
2659
2658
  }
2660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: YNPipe, decorators: [{
2659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YNPipe, decorators: [{
2661
2660
  type: Pipe,
2662
2661
  args: [{ name: 'yn' }]
2663
2662
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2669,10 +2668,10 @@ class HTMLPipe {
2669
2668
  transform(html) {
2670
2669
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2671
2670
  }
2672
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2673
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, name: "html" }); }
2671
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2672
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, name: "html" }); }
2674
2673
  }
2675
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: HTMLPipe, decorators: [{
2674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: HTMLPipe, decorators: [{
2676
2675
  type: Pipe,
2677
2676
  args: [{ name: 'html' }]
2678
2677
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2684,10 +2683,10 @@ class URLPipe {
2684
2683
  transform(url) {
2685
2684
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2686
2685
  }
2687
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2688
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, name: "url" }); }
2686
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2687
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, name: "url" }); }
2689
2688
  }
2690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: URLPipe, decorators: [{
2689
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: URLPipe, decorators: [{
2691
2690
  type: Pipe,
2692
2691
  args: [{ name: 'url' }]
2693
2692
  }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
@@ -2714,9 +2713,9 @@ class AlainThemeModule {
2714
2713
  providers: HELPERS
2715
2714
  };
2716
2715
  }
2717
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2718
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2719
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, providers: [
2716
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2717
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
2718
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, providers: [
2720
2719
  {
2721
2720
  provide: ALAIN_SETTING_KEYS,
2722
2721
  useValue: {
@@ -2727,7 +2726,7 @@ class AlainThemeModule {
2727
2726
  }
2728
2727
  ], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] }); }
2729
2728
  }
2730
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AlainThemeModule, decorators: [{
2729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AlainThemeModule, decorators: [{
2731
2730
  type: NgModule,
2732
2731
  args: [{
2733
2732
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
@@ -2766,7 +2765,7 @@ class PreloadOptionalModules {
2766
2765
  }
2767
2766
  }
2768
2767
 
2769
- const VERSION = new Version('16.2.0');
2768
+ const VERSION = new Version('16.2.1');
2770
2769
 
2771
2770
  /**
2772
2771
  * Generated bundle index. Do not edit.