@delon/theme 17.0.2 → 17.0.4
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 +3 -1
- package/compact.min.css +1 -1
- package/dark.css +3 -1
- package/dark.min.css +1 -1
- package/default.css +3 -1
- 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 +13 -9
- package/esm2022/src/services/i18n/i18n.pipe.mjs +8 -11
- 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 +10 -10
- package/fesm2022/theme-btn.mjs +7 -7
- package/fesm2022/theme.mjs +75 -74
- package/fesm2022/theme.mjs.map +1 -1
- package/package.json +3 -3
- package/src/services/i18n/i18n.d.ts +2 -2
- package/src/services/i18n/i18n.pipe.d.ts +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/theme",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.4",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"ng-zorro-antd": "^17.0.1",
|
|
25
|
-
"@delon/acl": "^17.0.
|
|
26
|
-
"@delon/util": "^17.0.
|
|
25
|
+
"@delon/acl": "^17.0.4",
|
|
26
|
+
"@delon/util": "^17.0.4",
|
|
27
27
|
"tslib": "^2.3.0"
|
|
28
28
|
},
|
|
29
29
|
"module": "fesm2022/theme.mjs",
|
|
@@ -43,7 +43,7 @@ export interface AlainI18NService {
|
|
|
43
43
|
* @param params 模板所需要的参数对象
|
|
44
44
|
* @param isSafe 是否返回安全字符,自动调用 `bypassSecurityTrustHtml`; Should be removed, If you need SafeHtml support, please use `| html` pipe instead.
|
|
45
45
|
*/
|
|
46
|
-
fanyi(path: string, params?: unknown): string;
|
|
46
|
+
fanyi(path: string, params?: unknown | unknown[]): string;
|
|
47
47
|
}
|
|
48
48
|
export declare const ALAIN_I18N_TOKEN: InjectionToken<AlainI18NService>;
|
|
49
49
|
export declare abstract class AlainI18nBaseService implements AlainI18NService {
|
|
@@ -78,7 +78,7 @@ export declare abstract class AlainI18nBaseService implements AlainI18NService {
|
|
|
78
78
|
flatData(data: Record<string, unknown>, parentKey: string[]): Record<string, string>;
|
|
79
79
|
abstract use(lang: string, data?: Record<string, unknown>): void;
|
|
80
80
|
abstract getLangs(): NzSafeAny[];
|
|
81
|
-
fanyi(path: string, params?:
|
|
81
|
+
fanyi(path: string, params?: unknown | unknown[]): string;
|
|
82
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlainI18nBaseService, never>;
|
|
83
83
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlainI18nBaseService>;
|
|
84
84
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { AlainI18NService } from './i18n';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class I18nPipe implements PipeTransform {
|
|
5
|
-
private i18n;
|
|
6
|
-
|
|
7
|
-
transform(key: string, params?: Record<string, unknown>): string;
|
|
4
|
+
private readonly i18n;
|
|
5
|
+
transform(key: string, params?: unknown | unknown[]): string;
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<I18nPipe, never>;
|
|
9
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<I18nPipe, "i18n", true>;
|
|
10
8
|
}
|