rayyy-vue-table-components 1.3.24 → 1.3.26
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/index.es.js +4254 -4191
- package/dist/index.umd.js +17 -17
- package/dist/src/plugins/i18n.d.ts +5 -2
- package/package.json +1 -1
|
@@ -86,6 +86,9 @@ export interface I18nPluginOptions {
|
|
|
86
86
|
fallbackLocale?: 'zh-TW' | 'en-US';
|
|
87
87
|
storageKey?: string;
|
|
88
88
|
autoInit?: boolean;
|
|
89
|
+
messages?: Record<string, Record<string, any>>;
|
|
90
|
+
mergeMessages?: boolean;
|
|
91
|
+
mergeStrategy?: 'override' | 'merge' | 'component';
|
|
89
92
|
}
|
|
90
93
|
export declare const i18n: import('vue-i18n').I18n<{
|
|
91
94
|
'zh-TW': {
|
|
@@ -164,7 +167,7 @@ export declare const i18n: import('vue-i18n').I18n<{
|
|
|
164
167
|
};
|
|
165
168
|
}, {}, {}, string, false>;
|
|
166
169
|
export declare const switchLanguage: (locale: "zh-TW" | "en-US") => void;
|
|
167
|
-
export declare const getCurrentLocale: () =>
|
|
170
|
+
export declare const getCurrentLocale: () => any;
|
|
168
171
|
export declare const getCurrentLocaleConfig: () => {
|
|
169
172
|
name: string;
|
|
170
173
|
messages: {
|
|
@@ -330,7 +333,7 @@ declare const _default: {
|
|
|
330
333
|
};
|
|
331
334
|
}, {}, {}, string, false>;
|
|
332
335
|
switchLanguage: (locale: "zh-TW" | "en-US") => void;
|
|
333
|
-
getCurrentLocale: () =>
|
|
336
|
+
getCurrentLocale: () => any;
|
|
334
337
|
getCurrentLocaleConfig: () => {
|
|
335
338
|
name: string;
|
|
336
339
|
messages: {
|