@delon/theme 18.0.2 → 18.2.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 +22 -0
- package/compact.min.css +1 -1
- package/dark.css +24 -2
- package/dark.min.css +1 -1
- package/default.css +22 -0
- package/default.min.css +1 -1
- package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +3 -3
- package/esm2022/layout-default/layout-header-item.component.mjs +3 -3
- package/esm2022/layout-default/layout-header.component.mjs +3 -3
- package/esm2022/layout-default/layout-nav.component.mjs +3 -3
- package/esm2022/layout-default/layout-top-menu-item.mjs +3 -3
- package/esm2022/layout-default/layout.component.mjs +5 -5
- package/esm2022/layout-default/layout.module.mjs +4 -4
- package/esm2022/layout-default/layout.service.mjs +3 -3
- package/esm2022/setting-drawer/setting-drawer-item.component.mjs +3 -3
- package/esm2022/setting-drawer/setting-drawer.component.mjs +3 -3
- package/esm2022/setting-drawer/setting-drawer.module.mjs +4 -4
- package/esm2022/src/locale/locale.module.mjs +4 -4
- package/esm2022/src/locale/locale.service.mjs +3 -3
- package/esm2022/src/pipes/date/date.pipe.mjs +10 -6
- package/esm2022/src/pipes/keys/keys.pipe.mjs +3 -3
- package/esm2022/src/pipes/safe/html.pipe.mjs +3 -3
- package/esm2022/src/pipes/safe/url.pipe.mjs +3 -3
- package/esm2022/src/pipes/yn/yn.pipe.mjs +3 -3
- package/esm2022/src/services/drawer/drawer.helper.mjs +3 -3
- package/esm2022/src/services/http/http.client.mjs +3 -3
- package/esm2022/src/services/http/http.decorator.mjs +3 -3
- package/esm2022/src/services/i18n/i18n-url.guard.mjs +3 -3
- package/esm2022/src/services/i18n/i18n.mjs +6 -6
- package/esm2022/src/services/i18n/i18n.pipe.mjs +3 -3
- package/esm2022/src/services/menu/menu.service.mjs +9 -6
- package/esm2022/src/services/modal/modal.helper.mjs +33 -12
- package/esm2022/src/services/responsive/responsive.mjs +3 -3
- package/esm2022/src/services/rtl/rtl.service.mjs +3 -3
- package/esm2022/src/services/settings/settings.service.mjs +3 -3
- package/esm2022/src/services/title/title.service.mjs +3 -3
- package/esm2022/src/theme.module.mjs +4 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/theme-btn/theme-btn.component.mjs +3 -3
- package/esm2022/theme-btn/theme-btn.module.mjs +4 -4
- package/fesm2022/layout-default.mjs +26 -26
- package/fesm2022/layout-default.mjs.map +1 -1
- package/fesm2022/setting-drawer.mjs +10 -10
- package/fesm2022/theme-btn.mjs +7 -7
- package/fesm2022/theme.mjs +105 -77
- package/fesm2022/theme.mjs.map +1 -1
- package/package.json +6 -6
- package/src/pipes/date/date.pipe.d.ts +1 -1
- package/src/services/menu/menu.service.d.ts +6 -0
- package/src/services/modal/modal.helper.d.ts +5 -1
- package/system/theme-dark.less +2 -0
- package/system/utils/_scrollbar.less +22 -0
- package/variable.css +22 -0
- package/variable.min.css +1 -1
package/fesm2022/theme-btn.mjs
CHANGED
|
@@ -80,10 +80,10 @@ class ThemeBtnComponent {
|
|
|
80
80
|
this.doc.body.removeChild(el);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
84
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
84
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: ThemeBtnComponent, isStandalone: true, selector: "theme-btn", inputs: { types: "types", devTips: "devTips", deployUrl: "deployUrl" }, outputs: { themeChange: "themeChange" }, host: { properties: { "class.theme-btn": "true", "class.theme-btn-rtl": "dir === 'rtl'" } }, ngImport: i0, template: "<div\n class=\"ant-avatar ant-avatar-circle ant-avatar-icon\"\n nz-dropdown\n nzPlacement=\"topCenter\"\n [nzDropdownMenu]=\"types.length > 0 ? menu : null\"\n>\n <svg\n nz-tooltip\n [nzTooltipTitle]=\"isDev ? devTips : null\"\n class=\"anticon\"\n role=\"img\"\n width=\"21\"\n height=\"21\"\n viewBox=\"0 0 21 21\"\n fill=\"currentColor\"\n >\n <g fill-rule=\"evenodd\">\n <g fill-rule=\"nonzero\">\n <path\n d=\"M7.02 3.635l12.518 12.518a1.863 1.863 0 010 2.635l-1.317 1.318a1.863 1.863 0 01-2.635 0L3.068 7.588A2.795 2.795 0 117.02 3.635zm2.09 14.428a.932.932 0 110 1.864.932.932 0 010-1.864zm-.043-9.747L7.75 9.635l9.154 9.153 1.318-1.317-9.154-9.155zM3.52 12.473c.514 0 .931.417.931.931v.932h.932a.932.932 0 110 1.864h-.932v.931a.932.932 0 01-1.863 0l-.001-.931h-.93a.932.932 0 010-1.864h.93v-.932c0-.514.418-.931.933-.931zm15.374-3.727a1.398 1.398 0 110 2.795 1.398 1.398 0 010-2.795zM4.385 4.953a.932.932 0 000 1.317l2.046 2.047L7.75 7 5.703 4.953a.932.932 0 00-1.318 0zM14.701.36a.932.932 0 01.931.932v.931h.932a.932.932 0 010 1.864h-.933l.001.932a.932.932 0 11-1.863 0l-.001-.932h-.93a.932.932 0 110-1.864h.93v-.931a.932.932 0 01.933-.932z\"\n />\n </g>\n </g>\n </svg>\n <nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu nzSelectable>\n @for (i of types; track $index) {\n <li nz-menu-item (click)=\"onThemeChange(i.key)\">{{ i.text }}</li>\n }\n </ul>\n </nz-dropdown-menu>\n</div>\n", dependencies: [{ kind: "directive", type: NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnComponent, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{ selector: 'theme-btn', host: {
|
|
89
89
|
'[class.theme-btn]': `true`,
|
|
@@ -101,11 +101,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImpor
|
|
|
101
101
|
|
|
102
102
|
const COMPONENTS = [ThemeBtnComponent];
|
|
103
103
|
class ThemeBtnModule {
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
105
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
106
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
105
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnModule, imports: [CommonModule, NzDropDownModule, NzToolTipModule, ThemeBtnComponent], exports: [ThemeBtnComponent] }); }
|
|
106
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnModule, imports: [CommonModule, NzDropDownModule, NzToolTipModule, COMPONENTS] }); }
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ThemeBtnModule, decorators: [{
|
|
109
109
|
type: NgModule,
|
|
110
110
|
args: [{
|
|
111
111
|
imports: [CommonModule, NzDropDownModule, NzToolTipModule, ...COMPONENTS],
|
package/fesm2022/theme.mjs
CHANGED
|
@@ -120,10 +120,10 @@ class AlainI18nBaseService {
|
|
|
120
120
|
(Array.isArray(params) ? params : [params]).forEach((item, index) => (content = content.replace(new RegExp(`\\{\\s?${index}\\s?\\}`, 'g'), `${item}`)));
|
|
121
121
|
return content;
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
124
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
124
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18nBaseService }); }
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18nBaseService, decorators: [{
|
|
127
127
|
type: Injectable
|
|
128
128
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
129
129
|
class AlainI18NServiceFake extends AlainI18nBaseService {
|
|
@@ -135,10 +135,10 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
|
|
|
135
135
|
getLangs() {
|
|
136
136
|
return [];
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
|
|
142
142
|
type: Injectable,
|
|
143
143
|
args: [{ providedIn: 'root' }]
|
|
144
144
|
}] });
|
|
@@ -298,7 +298,7 @@ class MenuService {
|
|
|
298
298
|
* 利用 `url` 或 `key` 查找菜单
|
|
299
299
|
*/
|
|
300
300
|
find(options) {
|
|
301
|
-
const opt = { recursive: false, ignoreHide: false, ...options };
|
|
301
|
+
const opt = { recursive: false, ignoreHide: false, last: false, ...options };
|
|
302
302
|
if (opt.key != null) {
|
|
303
303
|
return this.getItem(opt.key);
|
|
304
304
|
}
|
|
@@ -306,12 +306,15 @@ class MenuService {
|
|
|
306
306
|
let item = null;
|
|
307
307
|
while (!item && url) {
|
|
308
308
|
this.visit(opt.data ?? this.data, i => {
|
|
309
|
+
if (!opt.last && item != null) {
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
309
312
|
if (opt.ignoreHide && i.hide) {
|
|
310
313
|
return;
|
|
311
314
|
}
|
|
312
315
|
if (opt.cb) {
|
|
313
316
|
const res = opt.cb(i);
|
|
314
|
-
if (
|
|
317
|
+
if (typeof res === 'boolean' && res) {
|
|
315
318
|
item = i;
|
|
316
319
|
}
|
|
317
320
|
}
|
|
@@ -424,10 +427,10 @@ class MenuService {
|
|
|
424
427
|
this._change$.unsubscribe();
|
|
425
428
|
this.i18n$?.unsubscribe();
|
|
426
429
|
}
|
|
427
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
428
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
431
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MenuService, providedIn: 'root' }); }
|
|
429
432
|
}
|
|
430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MenuService, decorators: [{
|
|
431
434
|
type: Injectable,
|
|
432
435
|
args: [{ providedIn: 'root' }]
|
|
433
436
|
}], ctorParameters: () => [] });
|
|
@@ -525,10 +528,10 @@ class SettingsService {
|
|
|
525
528
|
getUser() {
|
|
526
529
|
return this._user;
|
|
527
530
|
}
|
|
528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
532
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
|
|
530
533
|
}
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SettingsService, decorators: [{
|
|
532
535
|
type: Injectable,
|
|
533
536
|
args: [{ providedIn: 'root' }]
|
|
534
537
|
}] });
|
|
@@ -575,10 +578,10 @@ class ResponsiveService {
|
|
|
575
578
|
clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
|
|
576
579
|
return clsMap;
|
|
577
580
|
}
|
|
578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
579
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
581
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
582
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
|
|
580
583
|
}
|
|
581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
582
585
|
type: Injectable,
|
|
583
586
|
args: [{ providedIn: 'root' }]
|
|
584
587
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -664,10 +667,10 @@ class RTLService {
|
|
|
664
667
|
this.delon.set(name, { direction: this.dir });
|
|
665
668
|
});
|
|
666
669
|
}
|
|
667
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
668
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: RTLService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
671
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: RTLService, providedIn: 'root' }); }
|
|
669
672
|
}
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: RTLService, decorators: [{
|
|
671
674
|
type: Injectable,
|
|
672
675
|
args: [{ providedIn: 'root' }]
|
|
673
676
|
}], ctorParameters: () => [] });
|
|
@@ -792,10 +795,10 @@ class TitleService {
|
|
|
792
795
|
ngOnDestroy() {
|
|
793
796
|
this.tit$?.unsubscribe();
|
|
794
797
|
}
|
|
795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
799
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TitleService, providedIn: 'root' }); }
|
|
797
800
|
}
|
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TitleService, decorators: [{
|
|
799
802
|
type: Injectable,
|
|
800
803
|
args: [{ providedIn: 'root' }]
|
|
801
804
|
}], ctorParameters: () => [] });
|
|
@@ -807,10 +810,10 @@ class I18nPipe {
|
|
|
807
810
|
transform(key, params) {
|
|
808
811
|
return this.i18n.fanyi(key, params);
|
|
809
812
|
}
|
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
811
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
813
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
814
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: I18nPipe, isStandalone: true, name: "i18n" }); }
|
|
812
815
|
}
|
|
813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nPipe, decorators: [{
|
|
814
817
|
type: Pipe,
|
|
815
818
|
args: [{ name: 'i18n', standalone: true }]
|
|
816
819
|
}] });
|
|
@@ -827,10 +830,10 @@ class AlainI18NGuardService {
|
|
|
827
830
|
}
|
|
828
831
|
return of(true);
|
|
829
832
|
}
|
|
830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
831
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NGuardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
834
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
|
|
832
835
|
}
|
|
833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainI18NGuardService, decorators: [{
|
|
834
837
|
type: Injectable,
|
|
835
838
|
args: [{ providedIn: 'root' }]
|
|
836
839
|
}] });
|
|
@@ -901,13 +904,14 @@ class ModalHelper {
|
|
|
901
904
|
* this.nzModalRef.destroy();
|
|
902
905
|
*/
|
|
903
906
|
create(comp, params, options) {
|
|
907
|
+
const isBuildIn = typeof comp === 'string';
|
|
904
908
|
options = deepMerge({
|
|
905
909
|
size: 'lg',
|
|
906
910
|
exact: true,
|
|
907
911
|
includeTabs: false
|
|
908
|
-
}, options);
|
|
912
|
+
}, isBuildIn && arguments.length === 2 ? params : options);
|
|
909
913
|
return new Observable((observer) => {
|
|
910
|
-
const { size, includeTabs, modalOptions, drag, useNzData } = options;
|
|
914
|
+
const { size, includeTabs, modalOptions, drag, useNzData, focus } = options;
|
|
911
915
|
let cls = [];
|
|
912
916
|
let width = '';
|
|
913
917
|
if (size) {
|
|
@@ -938,22 +942,42 @@ class ModalHelper {
|
|
|
938
942
|
};
|
|
939
943
|
cls.push(CLS_DRAG, dragWrapCls);
|
|
940
944
|
}
|
|
941
|
-
const
|
|
945
|
+
const mth = isBuildIn ? this.srv[comp] : this.srv.create;
|
|
946
|
+
const subject = mth.call(this.srv, {
|
|
942
947
|
nzWrapClassName: cls.join(' '),
|
|
943
|
-
nzContent: comp,
|
|
948
|
+
nzContent: isBuildIn ? undefined : comp,
|
|
944
949
|
nzWidth: width ? width : undefined,
|
|
945
950
|
nzFooter: null,
|
|
946
951
|
nzData: params,
|
|
947
952
|
...modalOptions
|
|
948
953
|
});
|
|
949
954
|
// 保留 nzComponentParams 原有风格,但依然可以通过 @Inject(NZ_MODAL_DATA) 获取
|
|
950
|
-
if (useNzData !== true) {
|
|
955
|
+
if (subject.componentInstance != null && useNzData !== true) {
|
|
951
956
|
Object.assign(subject.componentInstance, params);
|
|
952
957
|
}
|
|
953
958
|
subject.afterOpen
|
|
954
|
-
.pipe(take(1),
|
|
959
|
+
.pipe(take(1), tap(() => {
|
|
960
|
+
if (dragOptions != null) {
|
|
961
|
+
dragRef = this.createDragRef(dragOptions, `.${dragWrapCls}`);
|
|
962
|
+
}
|
|
963
|
+
}), filter(() => focus != null), delay(modalOptions?.nzNoAnimation ? 10 : 241))
|
|
955
964
|
.subscribe(() => {
|
|
956
|
-
|
|
965
|
+
const btns = subject
|
|
966
|
+
.getElement()
|
|
967
|
+
.querySelector('.ant-modal-confirm-btns, .modal-footer')
|
|
968
|
+
?.querySelectorAll('.ant-btn');
|
|
969
|
+
const btnSize = btns?.length ?? 0;
|
|
970
|
+
let el = null;
|
|
971
|
+
if (btnSize === 1) {
|
|
972
|
+
el = btns[0];
|
|
973
|
+
}
|
|
974
|
+
else if (btnSize > 1) {
|
|
975
|
+
el = btns[focus === 'ok' ? 1 : 0];
|
|
976
|
+
}
|
|
977
|
+
if (el != null) {
|
|
978
|
+
el.focus();
|
|
979
|
+
el.dataset.focused = focus;
|
|
980
|
+
}
|
|
957
981
|
});
|
|
958
982
|
subject.afterClose.pipe(take(1)).subscribe((res) => {
|
|
959
983
|
if (options.exact === true) {
|
|
@@ -992,10 +1016,10 @@ class ModalHelper {
|
|
|
992
1016
|
};
|
|
993
1017
|
return this.create(comp, params, { ...options, modalOptions });
|
|
994
1018
|
}
|
|
995
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
996
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ModalHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1020
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
|
|
997
1021
|
}
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ModalHelper, decorators: [{
|
|
999
1023
|
type: Injectable,
|
|
1000
1024
|
args: [{ providedIn: 'root' }]
|
|
1001
1025
|
}] });
|
|
@@ -1097,10 +1121,10 @@ class DrawerHelper {
|
|
|
1097
1121
|
};
|
|
1098
1122
|
return this.create(title, comp, params, { ...options, drawerOptions });
|
|
1099
1123
|
}
|
|
1100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1101
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DrawerHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1125
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
|
|
1102
1126
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DrawerHelper, decorators: [{
|
|
1104
1128
|
type: Injectable,
|
|
1105
1129
|
args: [{ providedIn: 'root' }]
|
|
1106
1130
|
}] });
|
|
@@ -1246,10 +1270,10 @@ class _HttpClient {
|
|
|
1246
1270
|
// Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
|
|
1247
1271
|
delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
|
|
1248
1272
|
}
|
|
1249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: _HttpClient, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1274
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
|
|
1251
1275
|
}
|
|
1252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: _HttpClient, decorators: [{
|
|
1253
1277
|
type: Injectable,
|
|
1254
1278
|
args: [{ providedIn: 'root' }]
|
|
1255
1279
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -1265,10 +1289,10 @@ class BaseApi {
|
|
|
1265
1289
|
constructor() {
|
|
1266
1290
|
this.injector = inject(Injector);
|
|
1267
1291
|
}
|
|
1268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1269
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1292
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1293
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseApi }); }
|
|
1270
1294
|
}
|
|
1271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseApi, decorators: [{
|
|
1272
1296
|
type: Injectable
|
|
1273
1297
|
}] });
|
|
1274
1298
|
const paramKey = `__api_params`;
|
|
@@ -1605,10 +1629,10 @@ class DelonLocaleService {
|
|
|
1605
1629
|
getData(path) {
|
|
1606
1630
|
return (this._locale[path] || {});
|
|
1607
1631
|
}
|
|
1608
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1609
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1633
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleService }); }
|
|
1610
1634
|
}
|
|
1611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleService, decorators: [{
|
|
1612
1636
|
type: Injectable
|
|
1613
1637
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1614
1638
|
type: Inject,
|
|
@@ -1624,11 +1648,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
|
|
|
1624
1648
|
};
|
|
1625
1649
|
|
|
1626
1650
|
class DelonLocaleModule {
|
|
1627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1628
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
1629
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
1651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1652
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleModule }); }
|
|
1653
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
|
|
1630
1654
|
}
|
|
1631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DelonLocaleModule, decorators: [{
|
|
1632
1656
|
type: NgModule,
|
|
1633
1657
|
args: [{
|
|
1634
1658
|
providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
@@ -2763,15 +2787,19 @@ var arSA = {
|
|
|
2763
2787
|
class DatePipe {
|
|
2764
2788
|
constructor() {
|
|
2765
2789
|
this.nzI18n = inject(NzI18nService);
|
|
2766
|
-
this.
|
|
2790
|
+
this.cog = inject(AlainConfigService).get('themePipe');
|
|
2767
2791
|
}
|
|
2768
2792
|
transform(value, formatString) {
|
|
2769
|
-
|
|
2793
|
+
const formatStr = formatString ?? this.cog?.dateFormat ?? 'yyyy-MM-dd HH:mm';
|
|
2794
|
+
return formatDate(value, formatStr, {
|
|
2795
|
+
locale: this.nzI18n.getDateLocale(),
|
|
2796
|
+
customFormat: this.cog?.dateFormatCustom
|
|
2797
|
+
});
|
|
2770
2798
|
}
|
|
2771
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2772
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
2799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2800
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: DatePipe, isStandalone: true, name: "_date" }); }
|
|
2773
2801
|
}
|
|
2774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DatePipe, decorators: [{
|
|
2775
2803
|
type: Pipe,
|
|
2776
2804
|
args: [{ name: '_date', standalone: true }]
|
|
2777
2805
|
}] });
|
|
@@ -2787,10 +2815,10 @@ class KeysPipe {
|
|
|
2787
2815
|
});
|
|
2788
2816
|
return ret;
|
|
2789
2817
|
}
|
|
2790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2791
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
2818
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2819
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" }); }
|
|
2792
2820
|
}
|
|
2793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KeysPipe, decorators: [{
|
|
2794
2822
|
type: Pipe,
|
|
2795
2823
|
args: [{ name: 'keys', standalone: true }]
|
|
2796
2824
|
}] });
|
|
@@ -2827,10 +2855,10 @@ class YNPipe {
|
|
|
2827
2855
|
const html = yn(value, { yes, no, mode });
|
|
2828
2856
|
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2829
2857
|
}
|
|
2830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2831
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
2858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: YNPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2859
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: YNPipe, isStandalone: true, name: "yn" }); }
|
|
2832
2860
|
}
|
|
2833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: YNPipe, decorators: [{
|
|
2834
2862
|
type: Pipe,
|
|
2835
2863
|
args: [{ name: 'yn', standalone: true }]
|
|
2836
2864
|
}] });
|
|
@@ -2842,10 +2870,10 @@ class HTMLPipe {
|
|
|
2842
2870
|
transform(html) {
|
|
2843
2871
|
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2844
2872
|
}
|
|
2845
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2846
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
2873
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: HTMLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2874
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: HTMLPipe, isStandalone: true, name: "html" }); }
|
|
2847
2875
|
}
|
|
2848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: HTMLPipe, decorators: [{
|
|
2849
2877
|
type: Pipe,
|
|
2850
2878
|
args: [{ name: 'html', standalone: true }]
|
|
2851
2879
|
}] });
|
|
@@ -2857,10 +2885,10 @@ class URLPipe {
|
|
|
2857
2885
|
transform(url) {
|
|
2858
2886
|
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2859
2887
|
}
|
|
2860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2861
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
2888
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: URLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2889
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: URLPipe, isStandalone: true, name: "url" }); }
|
|
2862
2890
|
}
|
|
2863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: URLPipe, decorators: [{
|
|
2864
2892
|
type: Pipe,
|
|
2865
2893
|
args: [{ name: 'url', standalone: true }]
|
|
2866
2894
|
}] });
|
|
@@ -2887,11 +2915,11 @@ class AlainThemeModule {
|
|
|
2887
2915
|
providers: HELPERS
|
|
2888
2916
|
};
|
|
2889
2917
|
}
|
|
2890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2891
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
2892
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
2918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$1.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2919
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: AlainThemeModule, imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
|
|
2920
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainThemeModule, providers: [ALAIN_SETTING_DEFAULT], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] }); }
|
|
2893
2921
|
}
|
|
2894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AlainThemeModule, decorators: [{
|
|
2895
2923
|
type: NgModule,
|
|
2896
2924
|
args: [{
|
|
2897
2925
|
imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, ...PIPES],
|
|
@@ -2959,7 +2987,7 @@ class PreloadOptionalModules {
|
|
|
2959
2987
|
}
|
|
2960
2988
|
}
|
|
2961
2989
|
|
|
2962
|
-
const VERSION = new Version('18.0
|
|
2990
|
+
const VERSION = new Version('18.2.0');
|
|
2963
2991
|
|
|
2964
2992
|
/**
|
|
2965
2993
|
* Generated bundle index. Do not edit.
|