@delon/theme 14.3.0 → 15.0.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/compact.css +60 -32
- package/compact.min.css +1 -1
- package/dark.css +60 -32
- package/dark.min.css +1 -1
- package/default.css +60 -32
- 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 +5 -5
- package/esm2020/layout-default/layout-nav.component.mjs +4 -4
- package/esm2020/layout-default/layout-top-menu-item.mjs +39 -0
- package/esm2020/layout-default/layout.component.mjs +4 -4
- package/esm2020/layout-default/layout.module.mjs +12 -8
- package/esm2020/layout-default/layout.service.mjs +4 -4
- package/esm2020/layout-default/public_api.mjs +2 -1
- package/esm2020/setting-drawer/setting-drawer-item.component.mjs +4 -4
- package/esm2020/setting-drawer/setting-drawer.component.mjs +5 -5
- 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/services/drawer/drawer.helper.mjs +4 -4
- package/esm2020/src/services/http/http.client.mjs +4 -4
- package/esm2020/src/services/http/http.decorator.mjs +4 -4
- package/esm2020/src/services/i18n/i18n-url.guard.mjs +4 -4
- package/esm2020/src/services/i18n/i18n.mjs +7 -7
- package/esm2020/src/services/i18n/i18n.pipe.mjs +4 -4
- package/esm2020/src/services/menu/menu.service.mjs +4 -51
- 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 +4 -4
- package/esm2020/src/services/settings/settings.service.mjs +4 -4
- package/esm2020/src/services/title/title.service.mjs +4 -4
- package/esm2020/src/theme.module.mjs +5 -5
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/theme-btn/theme-btn.component.mjs +4 -4
- package/esm2020/theme-btn/theme-btn.module.mjs +5 -5
- package/fesm2015/layout-default.mjs +65 -27
- package/fesm2015/layout-default.mjs.map +1 -1
- package/fesm2015/setting-drawer.mjs +11 -11
- package/fesm2015/setting-drawer.mjs.map +1 -1
- package/fesm2015/theme-btn.mjs +7 -7
- package/fesm2015/theme-btn.mjs.map +1 -1
- package/fesm2015/theme.mjs +66 -113
- package/fesm2015/theme.mjs.map +1 -1
- package/fesm2020/layout-default.mjs +65 -27
- package/fesm2020/layout-default.mjs.map +1 -1
- package/fesm2020/setting-drawer.mjs +11 -11
- package/fesm2020/setting-drawer.mjs.map +1 -1
- package/fesm2020/theme-btn.mjs +7 -7
- package/fesm2020/theme-btn.mjs.map +1 -1
- package/fesm2020/theme.mjs +66 -113
- package/fesm2020/theme.mjs.map +1 -1
- package/layout-default/layout-header-item-trigger.directive.d.ts +1 -1
- package/layout-default/layout-header-item.component.d.ts +1 -1
- package/layout-default/layout-header.component.d.ts +1 -1
- package/layout-default/layout-nav.component.d.ts +1 -1
- package/layout-default/layout-top-menu-item.d.ts +10 -0
- package/layout-default/layout.component.d.ts +1 -1
- package/layout-default/layout.module.d.ts +10 -9
- package/layout-default/public_api.d.ts +1 -0
- package/layout-default/style/_header.less +23 -1
- package/layout-default/style/theme-compact.less +2 -0
- package/layout-default/style/theme-default.less +3 -1
- package/package.json +4 -4
- package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
- package/setting-drawer/setting-drawer.component.d.ts +1 -1
- package/src/services/menu/menu.service.d.ts +0 -12
- package/theme-btn/theme-btn.component.d.ts +1 -1
package/fesm2015/theme.mjs
CHANGED
|
@@ -114,9 +114,9 @@ class AlainI18nBaseService {
|
|
|
114
114
|
return content;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
118
|
+
AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18nBaseService });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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: "
|
|
133
|
-
AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
132
|
+
AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
|
|
135
135
|
type: Injectable,
|
|
136
136
|
args: [{ providedIn: 'root' }]
|
|
137
137
|
}] });
|
|
@@ -412,57 +412,10 @@ class MenuService {
|
|
|
412
412
|
this._change$.unsubscribe();
|
|
413
413
|
this.i18n$.unsubscribe();
|
|
414
414
|
}
|
|
415
|
-
/**
|
|
416
|
-
* @deprecated Will be removed in 15.0.0, Pls used `find` instead
|
|
417
|
-
*/
|
|
418
|
-
getHit(data, url, recursive = false, cb = null) {
|
|
419
|
-
let item = null;
|
|
420
|
-
while (!item && url) {
|
|
421
|
-
this.visit(data, i => {
|
|
422
|
-
if (cb) {
|
|
423
|
-
cb(i);
|
|
424
|
-
}
|
|
425
|
-
if (i.link != null && i.link === url) {
|
|
426
|
-
item = i;
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
if (!recursive)
|
|
430
|
-
break;
|
|
431
|
-
if (/[?;]/g.test(url)) {
|
|
432
|
-
url = url.split(/[?;]/g)[0];
|
|
433
|
-
}
|
|
434
|
-
else {
|
|
435
|
-
url = url.split('/').slice(0, -1).join('/');
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
return item;
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
* @deprecated Will be removed in 15.0.0, Pls used `find` and `setItem` instead
|
|
442
|
-
*
|
|
443
|
-
* 根据URL设置菜单 `_open` 属性
|
|
444
|
-
* - 若 `recursive: true` 则会自动向上递归查找
|
|
445
|
-
* - 菜单数据源包含 `/ware`,则 `/ware/1` 也视为 `/ware` 项
|
|
446
|
-
*/
|
|
447
|
-
openedByUrl(url, recursive = false) {
|
|
448
|
-
if (!url)
|
|
449
|
-
return;
|
|
450
|
-
let findItem = this.getHit(this.data, url, recursive, (i) => {
|
|
451
|
-
i._selected = false;
|
|
452
|
-
i._open = false;
|
|
453
|
-
});
|
|
454
|
-
if (findItem == null)
|
|
455
|
-
return;
|
|
456
|
-
do {
|
|
457
|
-
findItem._selected = true;
|
|
458
|
-
findItem._open = true;
|
|
459
|
-
findItem = findItem._parent;
|
|
460
|
-
} while (findItem);
|
|
461
|
-
}
|
|
462
415
|
}
|
|
463
|
-
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
464
|
-
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
416
|
+
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: MenuService, providedIn: 'root' });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MenuService, decorators: [{
|
|
466
419
|
type: Injectable,
|
|
467
420
|
args: [{ providedIn: 'root' }]
|
|
468
421
|
}], ctorParameters: function () {
|
|
@@ -553,9 +506,9 @@ class SettingsService {
|
|
|
553
506
|
return this._user;
|
|
554
507
|
}
|
|
555
508
|
}
|
|
556
|
-
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
557
|
-
SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
509
|
+
SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: SettingsService, providedIn: 'root' });
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SettingsService, decorators: [{
|
|
559
512
|
type: Injectable,
|
|
560
513
|
args: [{ providedIn: 'root' }]
|
|
561
514
|
}], ctorParameters: function () {
|
|
@@ -601,9 +554,9 @@ class ResponsiveService {
|
|
|
601
554
|
return clsMap;
|
|
602
555
|
}
|
|
603
556
|
}
|
|
604
|
-
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
605
|
-
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
557
|
+
ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
558
|
+
ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
607
560
|
type: Injectable,
|
|
608
561
|
args: [{ providedIn: 'root' }]
|
|
609
562
|
}], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
|
|
@@ -690,9 +643,9 @@ class RTLService {
|
|
|
690
643
|
});
|
|
691
644
|
}
|
|
692
645
|
}
|
|
693
|
-
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
694
|
-
RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
646
|
+
RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: RTLService, providedIn: 'root' });
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RTLService, decorators: [{
|
|
696
649
|
type: Injectable,
|
|
697
650
|
args: [{ providedIn: 'root' }]
|
|
698
651
|
}], ctorParameters: function () {
|
|
@@ -827,9 +780,9 @@ class TitleService {
|
|
|
827
780
|
this.destroy$.complete();
|
|
828
781
|
}
|
|
829
782
|
}
|
|
830
|
-
TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
831
|
-
TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
783
|
+
TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: TitleService, providedIn: 'root' });
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TitleService, decorators: [{
|
|
833
786
|
type: Injectable,
|
|
834
787
|
args: [{ providedIn: 'root' }]
|
|
835
788
|
}], ctorParameters: function () {
|
|
@@ -852,9 +805,9 @@ class I18nPipe {
|
|
|
852
805
|
return this.i18n.fanyi(key, params);
|
|
853
806
|
}
|
|
854
807
|
}
|
|
855
|
-
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
856
|
-
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
808
|
+
I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
809
|
+
I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: I18nPipe, name: "i18n" });
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: I18nPipe, decorators: [{
|
|
858
811
|
type: Pipe,
|
|
859
812
|
args: [{ name: 'i18n' }]
|
|
860
813
|
}], ctorParameters: function () {
|
|
@@ -884,9 +837,9 @@ class AlainI18NGuard {
|
|
|
884
837
|
return this.resolve(route);
|
|
885
838
|
}
|
|
886
839
|
}
|
|
887
|
-
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
888
|
-
AlainI18NGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
840
|
+
AlainI18NGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: AlainI18NGuard, providedIn: 'root' });
|
|
842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainI18NGuard, decorators: [{
|
|
890
843
|
type: Injectable,
|
|
891
844
|
args: [{ providedIn: 'root' }]
|
|
892
845
|
}], ctorParameters: function () {
|
|
@@ -1006,9 +959,9 @@ class DelonLocaleService {
|
|
|
1006
959
|
return (this._locale[path] || {});
|
|
1007
960
|
}
|
|
1008
961
|
}
|
|
1009
|
-
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1010
|
-
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
962
|
+
DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
963
|
+
DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleService });
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleService, decorators: [{
|
|
1012
965
|
type: Injectable
|
|
1013
966
|
}], ctorParameters: function () {
|
|
1014
967
|
return [{ type: undefined, decorators: [{
|
|
@@ -1027,10 +980,10 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
|
|
|
1027
980
|
|
|
1028
981
|
class DelonLocaleModule {
|
|
1029
982
|
}
|
|
1030
|
-
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1031
|
-
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1032
|
-
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
983
|
+
DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
984
|
+
DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleModule });
|
|
985
|
+
DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DelonLocaleModule, decorators: [{
|
|
1034
987
|
type: NgModule,
|
|
1035
988
|
args: [{
|
|
1036
989
|
providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
@@ -2087,9 +2040,9 @@ class ModalHelper {
|
|
|
2087
2040
|
return this.create(comp, params, Object.assign(Object.assign({}, options), { modalOptions }));
|
|
2088
2041
|
}
|
|
2089
2042
|
}
|
|
2090
|
-
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2091
|
-
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2043
|
+
ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2044
|
+
ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ModalHelper, providedIn: 'root' });
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ModalHelper, decorators: [{
|
|
2093
2046
|
type: Injectable,
|
|
2094
2047
|
args: [{ providedIn: 'root' }]
|
|
2095
2048
|
}], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
|
|
@@ -2170,9 +2123,9 @@ class DrawerHelper {
|
|
|
2170
2123
|
return this.create(title, comp, params, Object.assign(Object.assign({}, options), { drawerOptions }));
|
|
2171
2124
|
}
|
|
2172
2125
|
}
|
|
2173
|
-
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2174
|
-
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2126
|
+
DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2127
|
+
DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
|
|
2128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerHelper, decorators: [{
|
|
2176
2129
|
type: Injectable,
|
|
2177
2130
|
args: [{ providedIn: 'root' }]
|
|
2178
2131
|
}], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
|
|
@@ -2298,9 +2251,9 @@ class _HttpClient {
|
|
|
2298
2251
|
delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
|
|
2299
2252
|
}
|
|
2300
2253
|
}
|
|
2301
|
-
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2302
|
-
_HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2254
|
+
_HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: _HttpClient, providedIn: 'root' });
|
|
2256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: _HttpClient, decorators: [{
|
|
2304
2257
|
type: Injectable,
|
|
2305
2258
|
args: [{ providedIn: 'root' }]
|
|
2306
2259
|
}], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
|
|
@@ -2317,9 +2270,9 @@ class BaseApi {
|
|
|
2317
2270
|
this.injector = injector;
|
|
2318
2271
|
}
|
|
2319
2272
|
}
|
|
2320
|
-
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2321
|
-
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2273
|
+
BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2274
|
+
BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseApi });
|
|
2275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseApi, decorators: [{
|
|
2323
2276
|
type: Injectable
|
|
2324
2277
|
}], ctorParameters: function () {
|
|
2325
2278
|
return [{ type: i0.Injector, decorators: [{
|
|
@@ -2561,9 +2514,9 @@ class DatePipe {
|
|
|
2561
2514
|
return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
|
|
2562
2515
|
}
|
|
2563
2516
|
}
|
|
2564
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2565
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2517
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2518
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: DatePipe, name: "_date" });
|
|
2519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DatePipe, decorators: [{
|
|
2567
2520
|
type: Pipe,
|
|
2568
2521
|
args: [{ name: '_date' }]
|
|
2569
2522
|
}], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
|
|
@@ -2580,9 +2533,9 @@ class KeysPipe {
|
|
|
2580
2533
|
return ret;
|
|
2581
2534
|
}
|
|
2582
2535
|
}
|
|
2583
|
-
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2584
|
-
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2536
|
+
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2537
|
+
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: KeysPipe, name: "keys" });
|
|
2538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KeysPipe, decorators: [{
|
|
2586
2539
|
type: Pipe,
|
|
2587
2540
|
args: [{ name: 'keys' }]
|
|
2588
2541
|
}] });
|
|
@@ -2615,9 +2568,9 @@ class YNPipe {
|
|
|
2615
2568
|
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2616
2569
|
}
|
|
2617
2570
|
}
|
|
2618
|
-
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2619
|
-
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2571
|
+
YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2572
|
+
YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: YNPipe, name: "yn" });
|
|
2573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: YNPipe, decorators: [{
|
|
2621
2574
|
type: Pipe,
|
|
2622
2575
|
args: [{ name: 'yn' }]
|
|
2623
2576
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2630,9 +2583,9 @@ class HTMLPipe {
|
|
|
2630
2583
|
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2631
2584
|
}
|
|
2632
2585
|
}
|
|
2633
|
-
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2634
|
-
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2586
|
+
HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2587
|
+
HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: HTMLPipe, name: "html" });
|
|
2588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HTMLPipe, decorators: [{
|
|
2636
2589
|
type: Pipe,
|
|
2637
2590
|
args: [{ name: 'html' }]
|
|
2638
2591
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2645,9 +2598,9 @@ class URLPipe {
|
|
|
2645
2598
|
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2646
2599
|
}
|
|
2647
2600
|
}
|
|
2648
|
-
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2649
|
-
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2601
|
+
URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2602
|
+
URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: URLPipe, name: "url" });
|
|
2603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: URLPipe, decorators: [{
|
|
2651
2604
|
type: Pipe,
|
|
2652
2605
|
args: [{ name: 'url' }]
|
|
2653
2606
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -2675,9 +2628,9 @@ class AlainThemeModule {
|
|
|
2675
2628
|
};
|
|
2676
2629
|
}
|
|
2677
2630
|
}
|
|
2678
|
-
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2679
|
-
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2680
|
-
AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2631
|
+
AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2632
|
+
AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: AlainThemeModule, providers: [
|
|
2681
2634
|
{
|
|
2682
2635
|
provide: ALAIN_SETTING_KEYS,
|
|
2683
2636
|
useValue: {
|
|
@@ -2687,7 +2640,7 @@ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
2687
2640
|
}
|
|
2688
2641
|
}
|
|
2689
2642
|
], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] });
|
|
2690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlainThemeModule, decorators: [{
|
|
2691
2644
|
type: NgModule,
|
|
2692
2645
|
args: [{
|
|
2693
2646
|
imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
|
|
@@ -2727,7 +2680,7 @@ class PreloadOptionalModules {
|
|
|
2727
2680
|
}
|
|
2728
2681
|
}
|
|
2729
2682
|
|
|
2730
|
-
const VERSION = new Version('
|
|
2683
|
+
const VERSION = new Version('15.0.0');
|
|
2731
2684
|
|
|
2732
2685
|
/**
|
|
2733
2686
|
* Generated bundle index. Do not edit.
|