@nmorph/nmorph-ui-kit 1.0.30 → 1.0.32
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.
|
@@ -1,3 +1,45 @@
|
|
|
1
1
|
import { TranslateType } from '../../../types';
|
|
2
2
|
|
|
3
|
+
export declare const zh: {
|
|
4
|
+
sun: string;
|
|
5
|
+
mon: string;
|
|
6
|
+
tue: string;
|
|
7
|
+
wed: string;
|
|
8
|
+
thu: string;
|
|
9
|
+
fri: string;
|
|
10
|
+
sat: string;
|
|
11
|
+
jan: string;
|
|
12
|
+
feb: string;
|
|
13
|
+
mar: string;
|
|
14
|
+
apr: string;
|
|
15
|
+
may: string;
|
|
16
|
+
jun: string;
|
|
17
|
+
jul: string;
|
|
18
|
+
aug: string;
|
|
19
|
+
sep: string;
|
|
20
|
+
oct: string;
|
|
21
|
+
nov: string;
|
|
22
|
+
dec: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const ru: {
|
|
25
|
+
sun: string;
|
|
26
|
+
mon: string;
|
|
27
|
+
tue: string;
|
|
28
|
+
wed: string;
|
|
29
|
+
thu: string;
|
|
30
|
+
fri: string;
|
|
31
|
+
sat: string;
|
|
32
|
+
jan: string;
|
|
33
|
+
feb: string;
|
|
34
|
+
mar: string;
|
|
35
|
+
apr: string;
|
|
36
|
+
may: string;
|
|
37
|
+
jun: string;
|
|
38
|
+
jul: string;
|
|
39
|
+
aug: string;
|
|
40
|
+
sep: string;
|
|
41
|
+
oct: string;
|
|
42
|
+
nov: string;
|
|
43
|
+
dec: string;
|
|
44
|
+
};
|
|
3
45
|
export declare const translate: TranslateType;
|
|
@@ -3,8 +3,6 @@ import { I18n } from 'vue-i18n';
|
|
|
3
3
|
|
|
4
4
|
export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
|
|
5
5
|
en: TranslateMessages;
|
|
6
|
-
ru
|
|
7
|
-
zh
|
|
8
|
-
} | {
|
|
9
|
-
en: TranslateMessages;
|
|
6
|
+
ru?: TranslateMessages;
|
|
7
|
+
zh?: TranslateMessages;
|
|
10
8
|
}, {}, {}, Locale | "en" | "ru" | "zh", true>;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -117,7 +117,9 @@ export declare enum Locale {
|
|
|
117
117
|
ru = "ru",
|
|
118
118
|
zh = "zh"
|
|
119
119
|
}
|
|
120
|
-
export type TranslateType = Record<keyof typeof Locale, TranslateMessages
|
|
120
|
+
export type TranslateType = Partial<Record<keyof typeof Locale, TranslateMessages>> & {
|
|
121
|
+
en: TranslateMessages;
|
|
122
|
+
};
|
|
121
123
|
export interface TranslateMessages {
|
|
122
124
|
[key: string]: TranslateMessages | string;
|
|
123
125
|
}
|