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