@axewo/fin-locale 1.0.1 → 2.0.1
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { I18nOptions, I18n, Composer } from 'vue-i18n';
|
|
2
|
+
/**
|
|
3
|
+
* 创建财务组件库国际化实例
|
|
4
|
+
*/
|
|
5
|
+
export declare function createFinI18n(options?: Partial<I18nOptions>): I18n;
|
|
6
|
+
/**
|
|
7
|
+
* 获取翻译函数的 Composable
|
|
8
|
+
* 在组件中使用:const { t } = useFinLocale()
|
|
9
|
+
*/
|
|
10
|
+
export declare function useFinLocale(): {
|
|
11
|
+
t: Composer['t'];
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=create-i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-i18n.d.ts","sourceRoot":"","sources":["../../src/create-i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAuB,KAAK,WAAW,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAA;AAG1F;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAWlE;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI;IAAE,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAE,CAGnD"}
|