@delon/theme 21.0.0-next.1 → 21.0.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.
@@ -10,7 +10,7 @@ import { NzConfigService } from 'ng-zorro-antd/core/config';
10
10
  import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
11
11
  import { Title, DomSanitizer } from '@angular/platform-browser';
12
12
  import { ActivatedRoute, Router, RouterModule } from '@angular/router';
13
- import { DragDrop } from '@angular/cdk/drag-drop';
13
+ import { createDragRef } from '@angular/cdk/drag-drop';
14
14
  import { SIGNAL } from '@angular/core/primitives/signals';
15
15
  import { deepMerge } from '@delon/util/other';
16
16
  import { NzModalService, NzModalModule } from 'ng-zorro-antd/modal';
@@ -133,10 +133,10 @@ class AlainI18nBaseService {
133
133
  (Array.isArray(params) ? params : [params]).forEach((item, index) => (content = content.replace(new RegExp(`\\{\\s?${index}\\s?\\}`, 'g'), `${item}`)));
134
134
  return content;
135
135
  }
136
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18nBaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
137
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18nBaseService });
136
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18nBaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
137
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18nBaseService });
138
138
  }
139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18nBaseService, decorators: [{
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18nBaseService, decorators: [{
140
140
  type: Injectable
141
141
  }], ctorParameters: () => [] });
142
142
  class AlainI18NServiceFake extends AlainI18nBaseService {
@@ -148,10 +148,10 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
148
148
  getLangs() {
149
149
  return [];
150
150
  }
151
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
152
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
152
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
153
153
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
155
155
  type: Injectable,
156
156
  args: [{ providedIn: 'root' }]
157
157
  }] });
@@ -460,10 +460,10 @@ class MenuService {
460
460
  this._change$.unsubscribe();
461
461
  this.i18n$?.unsubscribe();
462
462
  }
463
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
464
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MenuService, providedIn: 'root' });
463
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
464
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MenuService, providedIn: 'root' });
465
465
  }
466
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MenuService, decorators: [{
466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MenuService, decorators: [{
467
467
  type: Injectable,
468
468
  args: [{ providedIn: 'root' }]
469
469
  }], ctorParameters: () => [] });
@@ -548,10 +548,10 @@ class SettingsService {
548
548
  getUser() {
549
549
  return this.user;
550
550
  }
551
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
552
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SettingsService, providedIn: 'root' });
551
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
552
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SettingsService, providedIn: 'root' });
553
553
  }
554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SettingsService, decorators: [{
554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SettingsService, decorators: [{
555
555
  type: Injectable,
556
556
  args: [{ providedIn: 'root' }]
557
557
  }] });
@@ -600,10 +600,10 @@ class ResponsiveService {
600
600
  clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
601
601
  return clsMap;
602
602
  }
603
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ResponsiveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
604
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
603
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ResponsiveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
604
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
605
605
  }
606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ResponsiveService, decorators: [{
606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ResponsiveService, decorators: [{
607
607
  type: Injectable,
608
608
  args: [{ providedIn: 'root' }]
609
609
  }], ctorParameters: () => [] });
@@ -689,10 +689,10 @@ class RTLService {
689
689
  this.delon.set(name, { direction: this.dir });
690
690
  });
691
691
  }
692
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RTLService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
693
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RTLService, providedIn: 'root' });
692
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: RTLService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
693
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: RTLService, providedIn: 'root' });
694
694
  }
695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RTLService, decorators: [{
695
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: RTLService, decorators: [{
696
696
  type: Injectable,
697
697
  args: [{ providedIn: 'root' }]
698
698
  }], ctorParameters: () => [] });
@@ -824,10 +824,10 @@ class TitleService {
824
824
  ngOnDestroy() {
825
825
  this.tit$?.unsubscribe();
826
826
  }
827
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
828
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TitleService, providedIn: 'root' });
827
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
828
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TitleService, providedIn: 'root' });
829
829
  }
830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TitleService, decorators: [{
830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TitleService, decorators: [{
831
831
  type: Injectable,
832
832
  args: [{ providedIn: 'root' }]
833
833
  }], ctorParameters: () => [] });
@@ -837,10 +837,10 @@ class I18nPipe {
837
837
  transform(key, params) {
838
838
  return this.i18n.fanyi(key, params);
839
839
  }
840
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: I18nPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
841
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: I18nPipe, isStandalone: true, name: "i18n" });
840
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: I18nPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
841
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: I18nPipe, isStandalone: true, name: "i18n" });
842
842
  }
843
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: I18nPipe, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: I18nPipe, decorators: [{
844
844
  type: Pipe,
845
845
  args: [{ name: 'i18n' }]
846
846
  }] });
@@ -855,10 +855,10 @@ class AlainI18NGuardService {
855
855
  }
856
856
  return of(true);
857
857
  }
858
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NGuardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
859
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' });
858
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NGuardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
859
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' });
860
860
  }
861
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainI18NGuardService, decorators: [{
861
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainI18NGuardService, decorators: [{
862
862
  type: Injectable,
863
863
  args: [{ providedIn: 'root' }]
864
864
  }] });
@@ -895,17 +895,16 @@ const CLS_DRAG = 'MODAL-DRAG';
895
895
  */
896
896
  class ModalHelper {
897
897
  srv = inject(NzModalService);
898
- drag = inject(DragDrop);
898
+ injector = inject(Injector);
899
899
  doc = inject(DOCUMENT);
900
- createDragRef(options, wrapCls) {
900
+ buildDrag(options, wrapCls) {
901
901
  const wrapEl = this.doc.querySelector(wrapCls);
902
902
  const modalEl = wrapEl.firstChild;
903
903
  const handelEl = options.handleCls ? wrapEl.querySelector(options.handleCls) : null;
904
904
  if (handelEl) {
905
905
  handelEl.classList.add(`${CLS_DRAG}-HANDLE`);
906
906
  }
907
- return this.drag
908
- .createDrag(handelEl ?? modalEl)
907
+ return createDragRef(this.injector, handelEl ?? modalEl)
909
908
  .withHandles([handelEl ?? modalEl])
910
909
  .withBoundaryElement(wrapEl)
911
910
  .withRootElement(modalEl);
@@ -966,19 +965,22 @@ class ModalHelper {
966
965
  cls.push(CLS_DRAG, dragWrapCls);
967
966
  }
968
967
  const mth = isBuildIn ? this.srv[comp] : this.srv.create;
969
- const subject = mth.call(this.srv, {
968
+ const callOptions = {
970
969
  nzWrapClassName: cls.join(' '),
971
- nzContent: isBuildIn ? undefined : comp,
972
- nzWidth: width ? width : undefined,
973
970
  nzFooter: null,
974
971
  nzData: params,
975
972
  nzDraggable: false,
976
973
  ...modalOptions
977
- });
974
+ };
975
+ if (!isBuildIn)
976
+ callOptions.nzContent = comp;
977
+ if (width)
978
+ callOptions.nzWidth = width;
979
+ const modalRef = mth.call(this.srv, callOptions);
978
980
  // 保留 nzComponentParams 原有风格,但依然可以通过 @Inject(NZ_MODAL_DATA) 获取
979
- if (subject.componentInstance != null && useNzData !== true) {
981
+ if (modalRef.componentInstance != null && useNzData !== true && params != null) {
980
982
  Object.entries(params).forEach(([key, value]) => {
981
- const t = subject.componentInstance;
983
+ const t = modalRef.componentInstance;
982
984
  const s = t[key]?.[SIGNAL];
983
985
  if (s != null) {
984
986
  s.value = value;
@@ -988,14 +990,16 @@ class ModalHelper {
988
990
  }
989
991
  });
990
992
  }
991
- subject.afterOpen
992
- .pipe(take(1), tap(() => {
993
+ modalRef.afterOpen
994
+ .pipe(take(1), delay(modalOptions?.nzNoAnimation ? 10 : 341), tap(() => {
993
995
  if (dragOptions != null) {
994
- dragRef = this.createDragRef(dragOptions, `.${dragWrapCls}`);
996
+ dragRef = this.buildDrag(dragOptions, `.${dragWrapCls}`);
995
997
  }
996
- }), filter(() => focus != null), delay(modalOptions?.nzNoAnimation ? 10 : 241))
998
+ }))
997
999
  .subscribe(() => {
998
- const btns = subject
1000
+ if (focus == null)
1001
+ return;
1002
+ const btns = modalRef
999
1003
  .getElement()
1000
1004
  .querySelector('.ant-modal-confirm-btns, .modal-footer')
1001
1005
  ?.querySelectorAll('.ant-btn');
@@ -1012,7 +1016,7 @@ class ModalHelper {
1012
1016
  el.dataset.focused = focus;
1013
1017
  }
1014
1018
  });
1015
- subject.afterClose.pipe(take(1)).subscribe((res) => {
1019
+ modalRef.afterClose.pipe(take(1)).subscribe((res) => {
1016
1020
  if (options.exact === true) {
1017
1021
  if (res != null) {
1018
1022
  observer.next(res);
@@ -1049,10 +1053,10 @@ class ModalHelper {
1049
1053
  };
1050
1054
  return this.create(comp, params, { ...options, modalOptions });
1051
1055
  }
1052
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ModalHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1053
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1056
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ModalHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1057
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1054
1058
  }
1055
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ModalHelper, decorators: [{
1059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ModalHelper, decorators: [{
1056
1060
  type: Injectable,
1057
1061
  args: [{ providedIn: 'root' }]
1058
1062
  }] });
@@ -1152,10 +1156,10 @@ class DrawerHelper {
1152
1156
  };
1153
1157
  return this.create(title, comp, params, { ...options, drawerOptions });
1154
1158
  }
1155
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DrawerHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1156
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
1159
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DrawerHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1160
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
1157
1161
  }
1158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DrawerHelper, decorators: [{
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DrawerHelper, decorators: [{
1159
1163
  type: Injectable,
1160
1164
  args: [{ providedIn: 'root' }]
1161
1165
  }] });
@@ -1302,10 +1306,10 @@ class _HttpClient {
1302
1306
  // Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
1303
1307
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
1304
1308
  }
1305
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: _HttpClient, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1306
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: _HttpClient, providedIn: 'root' });
1309
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: _HttpClient, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1310
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: _HttpClient, providedIn: 'root' });
1307
1311
  }
1308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: _HttpClient, decorators: [{
1312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: _HttpClient, decorators: [{
1309
1313
  type: Injectable,
1310
1314
  args: [{ providedIn: 'root' }]
1311
1315
  }], ctorParameters: () => [] });
@@ -1319,10 +1323,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
1319
1323
  */
1320
1324
  class BaseApi {
1321
1325
  injector = inject(Injector);
1322
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1323
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseApi });
1326
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: BaseApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1327
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: BaseApi });
1324
1328
  }
1325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseApi, decorators: [{
1329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: BaseApi, decorators: [{
1326
1330
  type: Injectable
1327
1331
  }] });
1328
1332
  const paramKey = `__api_params`;
@@ -1684,10 +1688,10 @@ class DelonLocaleService {
1684
1688
  getData(key) {
1685
1689
  return (this._locale[key] ?? {});
1686
1690
  }
1687
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1688
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleService });
1691
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1692
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleService });
1689
1693
  }
1690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleService, decorators: [{
1694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleService, decorators: [{
1691
1695
  type: Injectable
1692
1696
  }], ctorParameters: () => [] });
1693
1697
  function DELON_LOCALE_SERVICE_PROVIDER_FACTORY(exist) {
@@ -1700,11 +1704,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
1700
1704
  };
1701
1705
 
1702
1706
  class DelonLocaleModule {
1703
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1704
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleModule });
1705
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
1707
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1708
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleModule });
1709
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
1706
1710
  }
1707
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DelonLocaleModule, decorators: [{
1711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DelonLocaleModule, decorators: [{
1708
1712
  type: NgModule,
1709
1713
  args: [{
1710
1714
  providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
@@ -3603,10 +3607,10 @@ class DatePipe {
3603
3607
  customFormat: this.cog?.dateFormatCustom
3604
3608
  });
3605
3609
  }
3606
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3607
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DatePipe, isStandalone: true, name: "_date" });
3610
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3611
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: DatePipe, isStandalone: true, name: "_date" });
3608
3612
  }
3609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DatePipe, decorators: [{
3613
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: DatePipe, decorators: [{
3610
3614
  type: Pipe,
3611
3615
  args: [{ name: '_date' }]
3612
3616
  }] });
@@ -3622,10 +3626,10 @@ class KeysPipe {
3622
3626
  });
3623
3627
  return ret;
3624
3628
  }
3625
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3626
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" });
3629
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3630
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" });
3627
3631
  }
3628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, decorators: [{
3632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: KeysPipe, decorators: [{
3629
3633
  type: Pipe,
3630
3634
  args: [{ name: 'keys' }]
3631
3635
  }] });
@@ -3660,10 +3664,10 @@ class YNPipe {
3660
3664
  const html = yn(value, { yes, no, mode });
3661
3665
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
3662
3666
  }
3663
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: YNPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3664
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: YNPipe, isStandalone: true, name: "yn" });
3667
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: YNPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3668
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: YNPipe, isStandalone: true, name: "yn" });
3665
3669
  }
3666
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: YNPipe, decorators: [{
3670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: YNPipe, decorators: [{
3667
3671
  type: Pipe,
3668
3672
  args: [{ name: 'yn' }]
3669
3673
  }] });
@@ -3673,10 +3677,10 @@ class HTMLPipe {
3673
3677
  transform(html) {
3674
3678
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
3675
3679
  }
3676
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: HTMLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3677
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: HTMLPipe, isStandalone: true, name: "html" });
3680
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3681
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: HTMLPipe, isStandalone: true, name: "html" });
3678
3682
  }
3679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: HTMLPipe, decorators: [{
3683
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLPipe, decorators: [{
3680
3684
  type: Pipe,
3681
3685
  args: [{ name: 'html' }]
3682
3686
  }] });
@@ -3686,10 +3690,10 @@ class URLPipe {
3686
3690
  transform(url) {
3687
3691
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
3688
3692
  }
3689
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: URLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3690
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: URLPipe, isStandalone: true, name: "url" });
3693
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: URLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3694
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: URLPipe, isStandalone: true, name: "url" });
3691
3695
  }
3692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: URLPipe, decorators: [{
3696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: URLPipe, decorators: [{
3693
3697
  type: Pipe,
3694
3698
  args: [{ name: 'url' }]
3695
3699
  }] });
@@ -3716,11 +3720,11 @@ class AlainThemeModule {
3716
3720
  providers: HELPERS
3717
3721
  };
3718
3722
  }
3719
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
3720
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: AlainThemeModule, imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
3721
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainThemeModule, providers: [ALAIN_SETTING_DEFAULT], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
3723
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
3724
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AlainThemeModule, imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
3725
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainThemeModule, providers: [ALAIN_SETTING_DEFAULT], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
3722
3726
  }
3723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AlainThemeModule, decorators: [{
3727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AlainThemeModule, decorators: [{
3724
3728
  type: NgModule,
3725
3729
  args: [{
3726
3730
  imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, ...PIPES],
@@ -3784,7 +3788,7 @@ class PreloadOptionalModules {
3784
3788
  }
3785
3789
  }
3786
3790
 
3787
- const VERSION = new Version('21.0.0-next.1');
3791
+ const VERSION = new Version('21.0.1');
3788
3792
 
3789
3793
  /**
3790
3794
  * Generated bundle index. Do not edit.