@delon/theme 15.0.0 → 15.1.0
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/fesm2015/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.5", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
118
|
+
AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18nBaseService });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", 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.5", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
|
|
135
135
|
type: Injectable,
|
|
136
136
|
args: [{ providedIn: 'root' }]
|
|
137
137
|
}] });
|
|
@@ -413,9 +413,9 @@ class MenuService {
|
|
|
413
413
|
this.i18n$.unsubscribe();
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
417
|
-
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
416
|
+
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
417
|
+
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, providedIn: 'root' });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuService, decorators: [{
|
|
419
419
|
type: Injectable,
|
|
420
420
|
args: [{ providedIn: 'root' }]
|
|
421
421
|
}], ctorParameters: function () {
|
|
@@ -506,9 +506,9 @@ class SettingsService {
|
|
|
506
506
|
return this._user;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
510
|
-
SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
509
|
+
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
510
|
+
SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, providedIn: 'root' });
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SettingsService, decorators: [{
|
|
512
512
|
type: Injectable,
|
|
513
513
|
args: [{ providedIn: 'root' }]
|
|
514
514
|
}], ctorParameters: function () {
|
|
@@ -554,9 +554,9 @@ class ResponsiveService {
|
|
|
554
554
|
return clsMap;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
558
|
-
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
557
|
+
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
558
|
+
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
560
560
|
type: Injectable,
|
|
561
561
|
args: [{ providedIn: 'root' }]
|
|
562
562
|
}], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
|
|
@@ -568,16 +568,6 @@ const RTL_DELON_COMPONENTS = ['loading', 'onboarding'];
|
|
|
568
568
|
const LTR = 'ltr';
|
|
569
569
|
const RTL = 'rtl';
|
|
570
570
|
class RTLService {
|
|
571
|
-
constructor(d, srv, nz, delon, platform, doc) {
|
|
572
|
-
this.d = d;
|
|
573
|
-
this.srv = srv;
|
|
574
|
-
this.nz = nz;
|
|
575
|
-
this.delon = delon;
|
|
576
|
-
this.platform = platform;
|
|
577
|
-
this.doc = doc;
|
|
578
|
-
this._dir = LTR;
|
|
579
|
-
this.dir = srv.layout.direction === RTL ? RTL : LTR;
|
|
580
|
-
}
|
|
581
571
|
/**
|
|
582
572
|
* Get or Set the current text direction
|
|
583
573
|
*
|
|
@@ -613,6 +603,16 @@ class RTLService {
|
|
|
613
603
|
get change() {
|
|
614
604
|
return this.srv.notify.pipe(filter(w => w.name === RTL_DIRECTION), map(v => v.value));
|
|
615
605
|
}
|
|
606
|
+
constructor(d, srv, nz, delon, platform, doc) {
|
|
607
|
+
this.d = d;
|
|
608
|
+
this.srv = srv;
|
|
609
|
+
this.nz = nz;
|
|
610
|
+
this.delon = delon;
|
|
611
|
+
this.platform = platform;
|
|
612
|
+
this.doc = doc;
|
|
613
|
+
this._dir = LTR;
|
|
614
|
+
this.dir = srv.layout.direction === RTL ? RTL : LTR;
|
|
615
|
+
}
|
|
616
616
|
/**
|
|
617
617
|
* Toggle text direction
|
|
618
618
|
*
|
|
@@ -643,9 +643,9 @@ class RTLService {
|
|
|
643
643
|
});
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
647
|
-
RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
646
|
+
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", 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 });
|
|
647
|
+
RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RTLService, providedIn: 'root' });
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RTLService, decorators: [{
|
|
649
649
|
type: Injectable,
|
|
650
650
|
args: [{ providedIn: 'root' }]
|
|
651
651
|
}], ctorParameters: function () {
|
|
@@ -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.5", 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.5", ngImport: i0, type: TitleService, providedIn: 'root' });
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TitleService, decorators: [{
|
|
786
786
|
type: Injectable,
|
|
787
787
|
args: [{ providedIn: 'root' }]
|
|
788
788
|
}], ctorParameters: function () {
|
|
@@ -805,9 +805,9 @@ class I18nPipe {
|
|
|
805
805
|
return this.i18n.fanyi(key, params);
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
809
|
-
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
808
|
+
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
809
|
+
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, name: "i18n" });
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: I18nPipe, decorators: [{
|
|
811
811
|
type: Pipe,
|
|
812
812
|
args: [{ name: 'i18n' }]
|
|
813
813
|
}], ctorParameters: function () {
|
|
@@ -837,9 +837,9 @@ class AlainI18NGuard {
|
|
|
837
837
|
return this.resolve(route);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
841
|
-
AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
840
|
+
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
841
|
+
AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
|
|
842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainI18NGuard, decorators: [{
|
|
843
843
|
type: Injectable,
|
|
844
844
|
args: [{ providedIn: 'root' }]
|
|
845
845
|
}], ctorParameters: function () {
|
|
@@ -959,9 +959,9 @@ class DelonLocaleService {
|
|
|
959
959
|
return (this._locale[path] || {});
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
|
-
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
963
|
-
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
962
|
+
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
963
|
+
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService });
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleService, decorators: [{
|
|
965
965
|
type: Injectable
|
|
966
966
|
}], ctorParameters: function () {
|
|
967
967
|
return [{ type: undefined, decorators: [{
|
|
@@ -980,10 +980,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
|
|
|
980
980
|
|
|
981
981
|
class DelonLocaleModule {
|
|
982
982
|
}
|
|
983
|
-
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
984
|
-
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
985
|
-
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
983
|
+
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
984
|
+
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule });
|
|
985
|
+
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DelonLocaleModule, decorators: [{
|
|
987
987
|
type: NgModule,
|
|
988
988
|
args: [{
|
|
989
989
|
providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
@@ -2040,9 +2040,9 @@ class ModalHelper {
|
|
|
2040
2040
|
return this.create(comp, params, Object.assign(Object.assign({}, options), { modalOptions }));
|
|
2041
2041
|
}
|
|
2042
2042
|
}
|
|
2043
|
-
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2044
|
-
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2043
|
+
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2044
|
+
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, providedIn: 'root' });
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHelper, decorators: [{
|
|
2046
2046
|
type: Injectable,
|
|
2047
2047
|
args: [{ providedIn: 'root' }]
|
|
2048
2048
|
}], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
|
|
@@ -2123,9 +2123,9 @@ class DrawerHelper {
|
|
|
2123
2123
|
return this.create(title, comp, params, Object.assign(Object.assign({}, options), { drawerOptions }));
|
|
2124
2124
|
}
|
|
2125
2125
|
}
|
|
2126
|
-
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2127
|
-
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2126
|
+
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2127
|
+
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
|
|
2128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DrawerHelper, decorators: [{
|
|
2129
2129
|
type: Injectable,
|
|
2130
2130
|
args: [{ providedIn: 'root' }]
|
|
2131
2131
|
}], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
|
|
@@ -2251,9 +2251,9 @@ class _HttpClient {
|
|
|
2251
2251
|
delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
|
-
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2255
|
-
_HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2254
|
+
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2255
|
+
_HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, providedIn: 'root' });
|
|
2256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: _HttpClient, decorators: [{
|
|
2257
2257
|
type: Injectable,
|
|
2258
2258
|
args: [{ providedIn: 'root' }]
|
|
2259
2259
|
}], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
|
|
@@ -2270,9 +2270,9 @@ class BaseApi {
|
|
|
2270
2270
|
this.injector = injector;
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
|
-
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2274
|
-
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2273
|
+
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2274
|
+
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi });
|
|
2275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BaseApi, decorators: [{
|
|
2276
2276
|
type: Injectable
|
|
2277
2277
|
}], ctorParameters: function () {
|
|
2278
2278
|
return [{ type: i0.Injector, decorators: [{
|
|
@@ -2514,9 +2514,9 @@ class DatePipe {
|
|
|
2514
2514
|
return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2518
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2517
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2518
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, name: "_date" });
|
|
2519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DatePipe, decorators: [{
|
|
2520
2520
|
type: Pipe,
|
|
2521
2521
|
args: [{ name: '_date' }]
|
|
2522
2522
|
}], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
|
|
@@ -2533,9 +2533,9 @@ class KeysPipe {
|
|
|
2533
2533
|
return ret;
|
|
2534
2534
|
}
|
|
2535
2535
|
}
|
|
2536
|
-
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2537
|
-
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2536
|
+
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2537
|
+
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, name: "keys" });
|
|
2538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: KeysPipe, decorators: [{
|
|
2539
2539
|
type: Pipe,
|
|
2540
2540
|
args: [{ name: 'keys' }]
|
|
2541
2541
|
}] });
|
|
@@ -2568,9 +2568,9 @@ class YNPipe {
|
|
|
2568
2568
|
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
|
-
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2572
|
-
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2571
|
+
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2572
|
+
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, name: "yn" });
|
|
2573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: YNPipe, decorators: [{
|
|
2574
2574
|
type: Pipe,
|
|
2575
2575
|
args: [{ name: 'yn' }]
|
|
2576
2576
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2583,9 +2583,9 @@ class HTMLPipe {
|
|
|
2583
2583
|
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2584
2584
|
}
|
|
2585
2585
|
}
|
|
2586
|
-
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2587
|
-
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2586
|
+
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2587
|
+
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, name: "html" });
|
|
2588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HTMLPipe, decorators: [{
|
|
2589
2589
|
type: Pipe,
|
|
2590
2590
|
args: [{ name: 'html' }]
|
|
2591
2591
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2598,9 +2598,9 @@ class URLPipe {
|
|
|
2598
2598
|
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
|
-
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2602
|
-
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
2603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2601
|
+
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2602
|
+
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, name: "url" });
|
|
2603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: URLPipe, decorators: [{
|
|
2604
2604
|
type: Pipe,
|
|
2605
2605
|
args: [{ name: 'url' }]
|
|
2606
2606
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2628,9 +2628,9 @@ class AlainThemeModule {
|
|
|
2628
2628
|
};
|
|
2629
2629
|
}
|
|
2630
2630
|
}
|
|
2631
|
-
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2632
|
-
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
2633
|
-
AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
2631
|
+
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2632
|
+
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
|
|
2633
|
+
AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, providers: [
|
|
2634
2634
|
{
|
|
2635
2635
|
provide: ALAIN_SETTING_KEYS,
|
|
2636
2636
|
useValue: {
|
|
@@ -2640,7 +2640,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
2640
2640
|
}
|
|
2641
2641
|
}
|
|
2642
2642
|
], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
|
|
2643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AlainThemeModule, decorators: [{
|
|
2644
2644
|
type: NgModule,
|
|
2645
2645
|
args: [{
|
|
2646
2646
|
imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
|
|
@@ -2680,7 +2680,7 @@ class PreloadOptionalModules {
|
|
|
2680
2680
|
}
|
|
2681
2681
|
}
|
|
2682
2682
|
|
|
2683
|
-
const VERSION = new Version('15.
|
|
2683
|
+
const VERSION = new Version('15.1.0');
|
|
2684
2684
|
|
|
2685
2685
|
/**
|
|
2686
2686
|
* Generated bundle index. Do not edit.
|