@byteluck-fe/model-driven-shared 2.22.2-beta.14 → 2.22.2-beta.16
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/dist/esm/RulesMessage.js +18 -19
- package/dist/esm/locales/zh-CN.json +237 -237
- package/dist/esm/log.js +15 -25
- package/dist/index.umd.js +1 -45
- package/dist/types/RulesMessage.d.ts +2 -2
- package/package.json +3 -2
|
@@ -5,9 +5,9 @@ type Variable = {
|
|
|
5
5
|
[key in Keys]?: string | number;
|
|
6
6
|
};
|
|
7
7
|
export declare class RulesMessage {
|
|
8
|
-
static $i18n:
|
|
8
|
+
static $i18n: void;
|
|
9
9
|
static getMessage(messageKey: keyof Message, variable?: Variable): string;
|
|
10
|
-
static resetI18n(locale?: string):
|
|
10
|
+
static resetI18n(locale?: string): void;
|
|
11
11
|
static setLocale(locale: string, messagesI18n: any): void;
|
|
12
12
|
}
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "2.22.2-beta.
|
|
3
|
+
"version": "2.22.2-beta.16",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"@byteluck-fe/locale-message": "^1.0.14",
|
|
29
30
|
"fast-json-clone": "^1.0.2",
|
|
30
31
|
"humps": "^2.0.1"
|
|
31
32
|
},
|
|
32
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "4510e411209f256cc42178afbf0d5d071131d7d0"
|
|
33
34
|
}
|