@delon/theme 17.2.0 → 17.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/compact.css +142 -123
- package/compact.min.css +1 -1
- package/dark.css +143 -124
- package/dark.min.css +1 -1
- package/default.css +142 -123
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm2022/src/services/modal/modal.helper.mjs +3 -3
- 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 +25 -25
- package/fesm2022/setting-drawer.mjs +11 -11
- package/fesm2022/theme-btn.mjs +7 -7
- package/fesm2022/theme.mjs +67 -67
- package/fesm2022/theme.mjs.map +1 -1
- package/package.json +6 -4
- package/system/utils/_other.less +1 -1
package/fesm2022/theme.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DOCUMENT, isPlatformServer, CommonModule, registerLocaleData } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { inject, PLATFORM_ID, InjectionToken, Injectable, DestroyRef, Injector, Pipe, Inject, Optional, SkipSelf, NgModule, importProvidersFrom, LOCALE_ID, ENVIRONMENT_INITIALIZER, makeEnvironmentProviders, Version } from '@angular/core';
|
|
4
|
-
import { filter, BehaviorSubject, share, Subject, map,
|
|
4
|
+
import { filter, BehaviorSubject, share, Subject, map, of, delay, isObservable, switchMap, Observable, take, tap, finalize, throwError, catchError } from 'rxjs';
|
|
5
5
|
import { ACLService } from '@delon/acl';
|
|
6
6
|
import * as i1 from '@delon/util/config';
|
|
7
7
|
import { AlainConfigService, ALAIN_CONFIG } from '@delon/util/config';
|
|
@@ -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: "17.
|
|
124
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
124
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18nBaseService }); }
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", 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: "17.
|
|
139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
|
|
142
142
|
type: Injectable,
|
|
143
143
|
args: [{ providedIn: 'root' }]
|
|
144
144
|
}] });
|
|
@@ -424,10 +424,10 @@ class MenuService {
|
|
|
424
424
|
this._change$.unsubscribe();
|
|
425
425
|
this.i18n$?.unsubscribe();
|
|
426
426
|
}
|
|
427
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
428
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
427
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
428
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: MenuService, providedIn: 'root' }); }
|
|
429
429
|
}
|
|
430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: MenuService, decorators: [{
|
|
431
431
|
type: Injectable,
|
|
432
432
|
args: [{ providedIn: 'root' }]
|
|
433
433
|
}], ctorParameters: () => [] });
|
|
@@ -525,10 +525,10 @@ class SettingsService {
|
|
|
525
525
|
getUser() {
|
|
526
526
|
return this._user;
|
|
527
527
|
}
|
|
528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
529
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
|
|
530
530
|
}
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SettingsService, decorators: [{
|
|
532
532
|
type: Injectable,
|
|
533
533
|
args: [{ providedIn: 'root' }]
|
|
534
534
|
}] });
|
|
@@ -575,10 +575,10 @@ class ResponsiveService {
|
|
|
575
575
|
clsMap.push(`${antColClass}-xxl-${paddingSpan(rule.xxl)}`);
|
|
576
576
|
return clsMap;
|
|
577
577
|
}
|
|
578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
579
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
579
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ResponsiveService, providedIn: 'root' }); }
|
|
580
580
|
}
|
|
581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
582
582
|
type: Injectable,
|
|
583
583
|
args: [{ providedIn: 'root' }]
|
|
584
584
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -664,10 +664,10 @@ class RTLService {
|
|
|
664
664
|
this.delon.set(name, { direction: this.dir });
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
668
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: RTLService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
668
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: RTLService, providedIn: 'root' }); }
|
|
669
669
|
}
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: RTLService, decorators: [{
|
|
671
671
|
type: Injectable,
|
|
672
672
|
args: [{ providedIn: 'root' }]
|
|
673
673
|
}], ctorParameters: () => [] });
|
|
@@ -792,10 +792,10 @@ class TitleService {
|
|
|
792
792
|
ngOnDestroy() {
|
|
793
793
|
this.tit$?.unsubscribe();
|
|
794
794
|
}
|
|
795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
795
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
796
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: TitleService, providedIn: 'root' }); }
|
|
797
797
|
}
|
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: TitleService, decorators: [{
|
|
799
799
|
type: Injectable,
|
|
800
800
|
args: [{ providedIn: 'root' }]
|
|
801
801
|
}], ctorParameters: () => [] });
|
|
@@ -807,10 +807,10 @@ class I18nPipe {
|
|
|
807
807
|
transform(key, params) {
|
|
808
808
|
return this.i18n.fanyi(key, params);
|
|
809
809
|
}
|
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
811
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: I18nPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
811
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: I18nPipe, isStandalone: true, name: "i18n" }); }
|
|
812
812
|
}
|
|
813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: I18nPipe, decorators: [{
|
|
814
814
|
type: Pipe,
|
|
815
815
|
args: [{ name: 'i18n', standalone: true }]
|
|
816
816
|
}] });
|
|
@@ -827,10 +827,10 @@ class AlainI18NGuardService {
|
|
|
827
827
|
}
|
|
828
828
|
return of(true);
|
|
829
829
|
}
|
|
830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
831
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NGuardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NGuardService, providedIn: 'root' }); }
|
|
832
832
|
}
|
|
833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainI18NGuardService, decorators: [{
|
|
834
834
|
type: Injectable,
|
|
835
835
|
args: [{ providedIn: 'root' }]
|
|
836
836
|
}] });
|
|
@@ -992,10 +992,10 @@ class ModalHelper {
|
|
|
992
992
|
};
|
|
993
993
|
return this.create(comp, params, { ...options, modalOptions });
|
|
994
994
|
}
|
|
995
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
996
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ModalHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
996
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ModalHelper, providedIn: 'root' }); }
|
|
997
997
|
}
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: ModalHelper, decorators: [{
|
|
999
999
|
type: Injectable,
|
|
1000
1000
|
args: [{ providedIn: 'root' }]
|
|
1001
1001
|
}] });
|
|
@@ -1097,10 +1097,10 @@ class DrawerHelper {
|
|
|
1097
1097
|
};
|
|
1098
1098
|
return this.create(title, comp, params, { ...options, drawerOptions });
|
|
1099
1099
|
}
|
|
1100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1101
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
1100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DrawerHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1101
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DrawerHelper, providedIn: 'root' }); }
|
|
1102
1102
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DrawerHelper, decorators: [{
|
|
1104
1104
|
type: Injectable,
|
|
1105
1105
|
args: [{ providedIn: 'root' }]
|
|
1106
1106
|
}] });
|
|
@@ -1246,10 +1246,10 @@ class _HttpClient {
|
|
|
1246
1246
|
// Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
|
|
1247
1247
|
delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
|
|
1248
1248
|
}
|
|
1249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
1249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: _HttpClient, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1250
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: _HttpClient, providedIn: 'root' }); }
|
|
1251
1251
|
}
|
|
1252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: _HttpClient, decorators: [{
|
|
1253
1253
|
type: Injectable,
|
|
1254
1254
|
args: [{ providedIn: 'root' }]
|
|
1255
1255
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -1265,10 +1265,10 @@ class BaseApi {
|
|
|
1265
1265
|
constructor() {
|
|
1266
1266
|
this.injector = inject(Injector);
|
|
1267
1267
|
}
|
|
1268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1269
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
1268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: BaseApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1269
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: BaseApi }); }
|
|
1270
1270
|
}
|
|
1271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: BaseApi, decorators: [{
|
|
1272
1272
|
type: Injectable
|
|
1273
1273
|
}] });
|
|
1274
1274
|
const paramKey = `__api_params`;
|
|
@@ -1605,10 +1605,10 @@ class DelonLocaleService {
|
|
|
1605
1605
|
getData(path) {
|
|
1606
1606
|
return (this._locale[path] || {});
|
|
1607
1607
|
}
|
|
1608
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1609
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
1608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1609
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleService }); }
|
|
1610
1610
|
}
|
|
1611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleService, decorators: [{
|
|
1612
1612
|
type: Injectable
|
|
1613
1613
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1614
1614
|
type: Inject,
|
|
@@ -1624,11 +1624,11 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
|
|
1626
1626
|
class DelonLocaleModule {
|
|
1627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1628
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
1629
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
1627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1628
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleModule }); }
|
|
1629
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] }); }
|
|
1630
1630
|
}
|
|
1631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DelonLocaleModule, decorators: [{
|
|
1632
1632
|
type: NgModule,
|
|
1633
1633
|
args: [{
|
|
1634
1634
|
providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
@@ -2685,10 +2685,10 @@ class DatePipe {
|
|
|
2685
2685
|
transform(value, formatString) {
|
|
2686
2686
|
return formatDate(value, formatString ?? this.defFormat, this.nzI18n.getDateLocale());
|
|
2687
2687
|
}
|
|
2688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2689
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
2688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2689
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "_date" }); }
|
|
2690
2690
|
}
|
|
2691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: DatePipe, decorators: [{
|
|
2692
2692
|
type: Pipe,
|
|
2693
2693
|
args: [{ name: '_date', standalone: true }]
|
|
2694
2694
|
}] });
|
|
@@ -2704,10 +2704,10 @@ class KeysPipe {
|
|
|
2704
2704
|
});
|
|
2705
2705
|
return ret;
|
|
2706
2706
|
}
|
|
2707
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2708
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
2707
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2708
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" }); }
|
|
2709
2709
|
}
|
|
2710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: KeysPipe, decorators: [{
|
|
2711
2711
|
type: Pipe,
|
|
2712
2712
|
args: [{ name: 'keys', standalone: true }]
|
|
2713
2713
|
}] });
|
|
@@ -2744,10 +2744,10 @@ class YNPipe {
|
|
|
2744
2744
|
const html = yn(value, { yes, no, mode });
|
|
2745
2745
|
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2746
2746
|
}
|
|
2747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2748
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
2747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: YNPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2748
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: YNPipe, isStandalone: true, name: "yn" }); }
|
|
2749
2749
|
}
|
|
2750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: YNPipe, decorators: [{
|
|
2751
2751
|
type: Pipe,
|
|
2752
2752
|
args: [{ name: 'yn', standalone: true }]
|
|
2753
2753
|
}] });
|
|
@@ -2759,10 +2759,10 @@ class HTMLPipe {
|
|
|
2759
2759
|
transform(html) {
|
|
2760
2760
|
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2761
2761
|
}
|
|
2762
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2763
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
2762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: HTMLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2763
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: HTMLPipe, isStandalone: true, name: "html" }); }
|
|
2764
2764
|
}
|
|
2765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: HTMLPipe, decorators: [{
|
|
2766
2766
|
type: Pipe,
|
|
2767
2767
|
args: [{ name: 'html', standalone: true }]
|
|
2768
2768
|
}] });
|
|
@@ -2774,10 +2774,10 @@ class URLPipe {
|
|
|
2774
2774
|
transform(url) {
|
|
2775
2775
|
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2776
2776
|
}
|
|
2777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2778
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
2777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: URLPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2778
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: URLPipe, isStandalone: true, name: "url" }); }
|
|
2779
2779
|
}
|
|
2780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: URLPipe, decorators: [{
|
|
2781
2781
|
type: Pipe,
|
|
2782
2782
|
args: [{ name: 'url', standalone: true }]
|
|
2783
2783
|
}] });
|
|
@@ -2804,11 +2804,11 @@ class AlainThemeModule {
|
|
|
2804
2804
|
providers: HELPERS
|
|
2805
2805
|
};
|
|
2806
2806
|
}
|
|
2807
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2808
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
2809
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
2807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$1.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2808
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: AlainThemeModule, imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] }); }
|
|
2809
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainThemeModule, providers: [ALAIN_SETTING_DEFAULT], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, DelonLocaleModule] }); }
|
|
2810
2810
|
}
|
|
2811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: AlainThemeModule, decorators: [{
|
|
2812
2812
|
type: NgModule,
|
|
2813
2813
|
args: [{
|
|
2814
2814
|
imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule, ...PIPES],
|
|
@@ -2876,7 +2876,7 @@ class PreloadOptionalModules {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
2878
|
|
|
2879
|
-
const VERSION = new Version('17.
|
|
2879
|
+
const VERSION = new Version('17.3.1');
|
|
2880
2880
|
|
|
2881
2881
|
/**
|
|
2882
2882
|
* Generated bundle index. Do not edit.
|