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.
@@ -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: () => "zh-TW" | "en-US";
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: () => "zh-TW" | "en-US";
336
+ getCurrentLocale: () => any;
334
337
  getCurrentLocaleConfig: () => {
335
338
  name: string;
336
339
  messages: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "1.3.24",
3
+ "version": "1.3.26",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",