yh-i18n 2.0.0 → 2.0.2

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { I18n } from "vue-i18n";
2
+ import { Plugin, Component } from "vue";
2
3
  import { StoreDefinition } from "pinia";
3
4
 
4
5
  /**
@@ -24,3 +25,9 @@ export const ct: (key: string, args: any[]) => void;
24
25
 
25
26
  /** 国际化相关 Pinia Store 实例 */
26
27
  export const useI18nStore: StoreDefinition;
28
+
29
+ /** 力控远海 vue-i18n 插件封装 */
30
+ export const yhI18n: Plugin;
31
+
32
+ /** 多语言选择插件 */
33
+ export const Language: Component;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yh-i18n",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "对于国际化的封装",
5
5
  "main": "index.js",
6
6
  "scripts": {