@delon/theme 15.0.0 → 15.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.
- package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +3 -3
- package/esm2020/layout-default/layout-header-item.component.mjs +3 -3
- package/esm2020/layout-default/layout-header.component.mjs +13 -13
- package/esm2020/layout-default/layout-nav.component.mjs +10 -10
- package/esm2020/layout-default/layout-top-menu-item.mjs +3 -3
- package/esm2020/layout-default/layout.component.mjs +19 -19
- package/esm2020/layout-default/layout.module.mjs +4 -4
- package/esm2020/layout-default/layout.service.mjs +9 -9
- package/esm2020/setting-drawer/setting-drawer-item.component.mjs +3 -3
- package/esm2020/setting-drawer/setting-drawer.component.mjs +7 -7
- package/esm2020/setting-drawer/setting-drawer.module.mjs +4 -4
- package/esm2020/src/locale/locale.module.mjs +4 -4
- package/esm2020/src/locale/locale.service.mjs +3 -3
- package/esm2020/src/pipes/date/date.pipe.mjs +3 -3
- package/esm2020/src/pipes/keys/keys.pipe.mjs +3 -3
- package/esm2020/src/pipes/safe/html.pipe.mjs +3 -3
- package/esm2020/src/pipes/safe/url.pipe.mjs +3 -3
- package/esm2020/src/pipes/yn/yn.pipe.mjs +3 -3
- package/esm2020/src/services/drawer/drawer.helper.mjs +3 -3
- package/esm2020/src/services/http/http.client.mjs +3 -3
- package/esm2020/src/services/http/http.decorator.mjs +3 -3
- package/esm2020/src/services/i18n/i18n-url.guard.mjs +3 -3
- package/esm2020/src/services/i18n/i18n.mjs +16 -16
- package/esm2020/src/services/i18n/i18n.pipe.mjs +3 -3
- package/esm2020/src/services/menu/menu.service.mjs +3 -3
- package/esm2020/src/services/modal/modal.helper.mjs +3 -3
- package/esm2020/src/services/responsive/responsive.mjs +3 -3
- package/esm2020/src/services/rtl/rtl.service.mjs +14 -14
- package/esm2020/src/services/settings/settings.service.mjs +3 -3
- package/esm2020/src/services/title/title.service.mjs +3 -3
- package/esm2020/src/theme.module.mjs +4 -4
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/theme-btn/theme-btn.component.mjs +3 -3
- package/esm2020/theme-btn/theme-btn.module.mjs +4 -4
- package/fesm2015/layout-default.mjs +60 -60
- package/fesm2015/layout-default.mjs.map +1 -1
- package/fesm2015/setting-drawer.mjs +13 -13
- package/fesm2015/setting-drawer.mjs.map +1 -1
- package/fesm2015/theme-btn.mjs +7 -7
- package/fesm2015/theme.mjs +86 -86
- package/fesm2015/theme.mjs.map +1 -1
- package/fesm2020/layout-default.mjs +60 -60
- package/fesm2020/layout-default.mjs.map +1 -1
- package/fesm2020/setting-drawer.mjs +13 -13
- package/fesm2020/setting-drawer.mjs.map +1 -1
- package/fesm2020/theme-btn.mjs +7 -7
- package/fesm2020/theme.mjs +86 -86
- package/fesm2020/theme.mjs.map +1 -1
- package/layout-default/types.d.ts +2 -2
- package/package.json +4 -4
- package/src/pipes/yn/yn.pipe.d.ts +1 -1
- package/src/services/http/http.client.d.ts +2 -2
- package/src/services/http/http.decorator.d.ts +1 -1
- package/src/services/responsive/responsive.d.ts +1 -1
package/fesm2020/theme.mjs
CHANGED
|
@@ -1,6 +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 {
|
|
3
|
+
import { filter, BehaviorSubject, share, Subject, map, takeUntil, of, delay, isObservable, switchMap, Observable, 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';
|
|
@@ -50,15 +50,6 @@ const ALAIN_I18N_TOKEN = new InjectionToken('alainI18nToken', {
|
|
|
50
50
|
factory: () => new AlainI18NServiceFake(inject(AlainConfigService))
|
|
51
51
|
});
|
|
52
52
|
class AlainI18nBaseService {
|
|
53
|
-
constructor(cogSrv) {
|
|
54
|
-
this._change$ = new BehaviorSubject(null);
|
|
55
|
-
this._currentLang = '';
|
|
56
|
-
this._defaultLang = '';
|
|
57
|
-
this._data = {};
|
|
58
|
-
this.cog = cogSrv.merge('themeI18n', {
|
|
59
|
-
interpolation: ['{{', '}}']
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
53
|
get change() {
|
|
63
54
|
return this._change$.asObservable().pipe(filter(w => w != null));
|
|
64
55
|
}
|
|
@@ -71,6 +62,15 @@ class AlainI18nBaseService {
|
|
|
71
62
|
get data() {
|
|
72
63
|
return this._data;
|
|
73
64
|
}
|
|
65
|
+
constructor(cogSrv) {
|
|
66
|
+
this._change$ = new BehaviorSubject(null);
|
|
67
|
+
this._currentLang = '';
|
|
68
|
+
this._defaultLang = '';
|
|
69
|
+
this._data = {};
|
|
70
|
+
this.cog = cogSrv.merge('themeI18n', {
|
|
71
|
+
interpolation: ['{{', '}}']
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
74
|
/**
|
|
75
75
|
* Flattened data source
|
|
76
76
|
*
|
|
@@ -114,9 +114,9 @@ class AlainI18nBaseService {
|
|
|
114
114
|
return content;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
118
|
-
AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
117
|
+
AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
118
|
+
AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18nBaseService });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18nBaseService, decorators: [{
|
|
120
120
|
type: Injectable
|
|
121
121
|
}], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
|
|
122
122
|
class AlainI18NServiceFake extends AlainI18nBaseService {
|
|
@@ -129,9 +129,9 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
|
|
|
129
129
|
return [];
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
133
|
-
AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
132
|
+
AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
|
|
135
135
|
type: Injectable,
|
|
136
136
|
args: [{ providedIn: 'root' }]
|
|
137
137
|
}] });
|
|
@@ -412,9 +412,9 @@ class MenuService {
|
|
|
412
412
|
this.i18n$.unsubscribe();
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
416
|
-
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
415
|
+
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
416
|
+
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MenuService, providedIn: 'root' });
|
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MenuService, decorators: [{
|
|
418
418
|
type: Injectable,
|
|
419
419
|
args: [{ providedIn: 'root' }]
|
|
420
420
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -512,9 +512,9 @@ class SettingsService {
|
|
|
512
512
|
return this._user;
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
516
|
-
SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
515
|
+
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
516
|
+
SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: SettingsService, providedIn: 'root' });
|
|
517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: SettingsService, decorators: [{
|
|
518
518
|
type: Injectable,
|
|
519
519
|
args: [{ providedIn: 'root' }]
|
|
520
520
|
}], ctorParameters: function () { return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
|
|
@@ -558,9 +558,9 @@ class ResponsiveService {
|
|
|
558
558
|
return clsMap;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
562
|
-
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
561
|
+
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
562
|
+
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
564
564
|
type: Injectable,
|
|
565
565
|
args: [{ providedIn: 'root' }]
|
|
566
566
|
}], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
|
|
@@ -572,16 +572,6 @@ const RTL_DELON_COMPONENTS = ['loading', 'onboarding'];
|
|
|
572
572
|
const LTR = 'ltr';
|
|
573
573
|
const RTL = 'rtl';
|
|
574
574
|
class RTLService {
|
|
575
|
-
constructor(d, srv, nz, delon, platform, doc) {
|
|
576
|
-
this.d = d;
|
|
577
|
-
this.srv = srv;
|
|
578
|
-
this.nz = nz;
|
|
579
|
-
this.delon = delon;
|
|
580
|
-
this.platform = platform;
|
|
581
|
-
this.doc = doc;
|
|
582
|
-
this._dir = LTR;
|
|
583
|
-
this.dir = srv.layout.direction === RTL ? RTL : LTR;
|
|
584
|
-
}
|
|
585
575
|
/**
|
|
586
576
|
* Get or Set the current text direction
|
|
587
577
|
*
|
|
@@ -617,6 +607,16 @@ class RTLService {
|
|
|
617
607
|
get change() {
|
|
618
608
|
return this.srv.notify.pipe(filter(w => w.name === RTL_DIRECTION), map(v => v.value));
|
|
619
609
|
}
|
|
610
|
+
constructor(d, srv, nz, delon, platform, doc) {
|
|
611
|
+
this.d = d;
|
|
612
|
+
this.srv = srv;
|
|
613
|
+
this.nz = nz;
|
|
614
|
+
this.delon = delon;
|
|
615
|
+
this.platform = platform;
|
|
616
|
+
this.doc = doc;
|
|
617
|
+
this._dir = LTR;
|
|
618
|
+
this.dir = srv.layout.direction === RTL ? RTL : LTR;
|
|
619
|
+
}
|
|
620
620
|
/**
|
|
621
621
|
* Toggle text direction
|
|
622
622
|
*
|
|
@@ -647,9 +647,9 @@ class RTLService {
|
|
|
647
647
|
});
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
651
|
-
RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
650
|
+
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", 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 });
|
|
651
|
+
RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: RTLService, providedIn: 'root' });
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: RTLService, decorators: [{
|
|
653
653
|
type: Injectable,
|
|
654
654
|
args: [{ providedIn: 'root' }]
|
|
655
655
|
}], ctorParameters: function () { return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
|
|
@@ -780,9 +780,9 @@ class TitleService {
|
|
|
780
780
|
this.destroy$.complete();
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
|
-
TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
784
|
-
TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
783
|
+
TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", 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 });
|
|
784
|
+
TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TitleService, providedIn: 'root' });
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TitleService, decorators: [{
|
|
786
786
|
type: Injectable,
|
|
787
787
|
args: [{ providedIn: 'root' }]
|
|
788
788
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
|
|
@@ -803,9 +803,9 @@ class I18nPipe {
|
|
|
803
803
|
return this.i18n.fanyi(key, params);
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
807
|
-
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
806
|
+
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
807
|
+
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: I18nPipe, name: "i18n" });
|
|
808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: I18nPipe, decorators: [{
|
|
809
809
|
type: Pipe,
|
|
810
810
|
args: [{ name: 'i18n' }]
|
|
811
811
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -832,9 +832,9 @@ class AlainI18NGuard {
|
|
|
832
832
|
return this.resolve(route);
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
836
|
-
AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
835
|
+
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
836
|
+
AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
|
|
837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainI18NGuard, decorators: [{
|
|
838
838
|
type: Injectable,
|
|
839
839
|
args: [{ providedIn: 'root' }]
|
|
840
840
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -952,9 +952,9 @@ class DelonLocaleService {
|
|
|
952
952
|
return (this._locale[path] || {});
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
956
|
-
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
955
|
+
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
956
|
+
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleService });
|
|
957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleService, decorators: [{
|
|
958
958
|
type: Injectable
|
|
959
959
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
960
960
|
type: Inject,
|
|
@@ -971,10 +971,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
|
|
|
971
971
|
|
|
972
972
|
class DelonLocaleModule {
|
|
973
973
|
}
|
|
974
|
-
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
975
|
-
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
976
|
-
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
974
|
+
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
975
|
+
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleModule });
|
|
976
|
+
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DelonLocaleModule, decorators: [{
|
|
978
978
|
type: NgModule,
|
|
979
979
|
args: [{
|
|
980
980
|
providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
@@ -2034,9 +2034,9 @@ class ModalHelper {
|
|
|
2034
2034
|
return this.create(comp, params, { ...options, modalOptions });
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
|
-
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2038
|
-
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2037
|
+
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2038
|
+
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ModalHelper, providedIn: 'root' });
|
|
2039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ModalHelper, decorators: [{
|
|
2040
2040
|
type: Injectable,
|
|
2041
2041
|
args: [{ providedIn: 'root' }]
|
|
2042
2042
|
}], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
|
|
@@ -2120,9 +2120,9 @@ class DrawerHelper {
|
|
|
2120
2120
|
return this.create(title, comp, params, { ...options, drawerOptions });
|
|
2121
2121
|
}
|
|
2122
2122
|
}
|
|
2123
|
-
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2124
|
-
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2123
|
+
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2124
|
+
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
|
|
2125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DrawerHelper, decorators: [{
|
|
2126
2126
|
type: Injectable,
|
|
2127
2127
|
args: [{ providedIn: 'root' }]
|
|
2128
2128
|
}], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
|
|
@@ -2267,9 +2267,9 @@ class _HttpClient {
|
|
|
2267
2267
|
delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2271
|
-
_HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2270
|
+
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2271
|
+
_HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: _HttpClient, providedIn: 'root' });
|
|
2272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: _HttpClient, decorators: [{
|
|
2273
2273
|
type: Injectable,
|
|
2274
2274
|
args: [{ providedIn: 'root' }]
|
|
2275
2275
|
}], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
|
|
@@ -2286,9 +2286,9 @@ class BaseApi {
|
|
|
2286
2286
|
this.injector = injector;
|
|
2287
2287
|
}
|
|
2288
2288
|
}
|
|
2289
|
-
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2290
|
-
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2289
|
+
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2290
|
+
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: BaseApi });
|
|
2291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: BaseApi, decorators: [{
|
|
2292
2292
|
type: Injectable
|
|
2293
2293
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
2294
2294
|
type: Inject,
|
|
@@ -2533,9 +2533,9 @@ class DatePipe {
|
|
|
2533
2533
|
return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
|
|
2534
2534
|
}
|
|
2535
2535
|
}
|
|
2536
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2537
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2536
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2537
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: DatePipe, name: "_date" });
|
|
2538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DatePipe, decorators: [{
|
|
2539
2539
|
type: Pipe,
|
|
2540
2540
|
args: [{ name: '_date' }]
|
|
2541
2541
|
}], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
|
|
@@ -2552,9 +2552,9 @@ class KeysPipe {
|
|
|
2552
2552
|
return ret;
|
|
2553
2553
|
}
|
|
2554
2554
|
}
|
|
2555
|
-
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2556
|
-
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2555
|
+
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2556
|
+
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: KeysPipe, name: "keys" });
|
|
2557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: KeysPipe, decorators: [{
|
|
2558
2558
|
type: Pipe,
|
|
2559
2559
|
args: [{ name: 'keys' }]
|
|
2560
2560
|
}] });
|
|
@@ -2587,9 +2587,9 @@ class YNPipe {
|
|
|
2587
2587
|
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2588
2588
|
}
|
|
2589
2589
|
}
|
|
2590
|
-
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2591
|
-
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2590
|
+
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2591
|
+
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: YNPipe, name: "yn" });
|
|
2592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: YNPipe, decorators: [{
|
|
2593
2593
|
type: Pipe,
|
|
2594
2594
|
args: [{ name: 'yn' }]
|
|
2595
2595
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2602,9 +2602,9 @@ class HTMLPipe {
|
|
|
2602
2602
|
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
|
-
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2606
|
-
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2605
|
+
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2606
|
+
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: HTMLPipe, name: "html" });
|
|
2607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: HTMLPipe, decorators: [{
|
|
2608
2608
|
type: Pipe,
|
|
2609
2609
|
args: [{ name: 'html' }]
|
|
2610
2610
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2617,9 +2617,9 @@ class URLPipe {
|
|
|
2617
2617
|
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2618
2618
|
}
|
|
2619
2619
|
}
|
|
2620
|
-
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2621
|
-
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2620
|
+
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2621
|
+
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: URLPipe, name: "url" });
|
|
2622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: URLPipe, decorators: [{
|
|
2623
2623
|
type: Pipe,
|
|
2624
2624
|
args: [{ name: 'url' }]
|
|
2625
2625
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2647,9 +2647,9 @@ class AlainThemeModule {
|
|
|
2647
2647
|
};
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
|
-
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2651
|
-
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
2652
|
-
AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
2650
|
+
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2651
|
+
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
|
|
2652
|
+
AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainThemeModule, providers: [
|
|
2653
2653
|
{
|
|
2654
2654
|
provide: ALAIN_SETTING_KEYS,
|
|
2655
2655
|
useValue: {
|
|
@@ -2659,7 +2659,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
2659
2659
|
}
|
|
2660
2660
|
}
|
|
2661
2661
|
], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
|
|
2662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AlainThemeModule, decorators: [{
|
|
2663
2663
|
type: NgModule,
|
|
2664
2664
|
args: [{
|
|
2665
2665
|
imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
|
|
@@ -2698,7 +2698,7 @@ class PreloadOptionalModules {
|
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
2700
|
|
|
2701
|
-
const VERSION = new Version('15.0.
|
|
2701
|
+
const VERSION = new Version('15.0.1');
|
|
2702
2702
|
|
|
2703
2703
|
/**
|
|
2704
2704
|
* Generated bundle index. Do not edit.
|