@axewo/fin-locale 3.0.1 → 3.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 (35) hide show
  1. package/dist/types/create-i18n.d.ts +0 -1
  2. package/dist/types/entries/en.d.ts +0 -1
  3. package/dist/types/entries/zh-CN.d.ts +0 -1
  4. package/dist/types/index.d.ts +0 -1
  5. package/dist/types/locales/en/dashboard-additions.d.ts +0 -1
  6. package/dist/types/locales/en/dashboard-core-additions.d.ts +0 -1
  7. package/dist/types/locales/en/formula-additions.d.ts +0 -1
  8. package/dist/types/locales/en/index.d.ts +0 -1
  9. package/dist/types/locales/en/platform.d.ts +0 -1
  10. package/dist/types/locales/en/ui-additions.d.ts +0 -1
  11. package/dist/types/locales/zh-CN/dashboard-additions.d.ts +0 -1
  12. package/dist/types/locales/zh-CN/dashboard-core-additions.d.ts +0 -1
  13. package/dist/types/locales/zh-CN/formula-additions.d.ts +0 -1
  14. package/dist/types/locales/zh-CN/index.d.ts +0 -1
  15. package/dist/types/locales/zh-CN/platform.d.ts +0 -1
  16. package/dist/types/locales/zh-CN/ui-additions.d.ts +0 -1
  17. package/dist/types/storage.d.ts +0 -1
  18. package/package.json +5 -4
  19. package/dist/types/create-i18n.d.ts.map +0 -1
  20. package/dist/types/entries/en.d.ts.map +0 -1
  21. package/dist/types/entries/zh-CN.d.ts.map +0 -1
  22. package/dist/types/index.d.ts.map +0 -1
  23. package/dist/types/locales/en/dashboard-additions.d.ts.map +0 -1
  24. package/dist/types/locales/en/dashboard-core-additions.d.ts.map +0 -1
  25. package/dist/types/locales/en/formula-additions.d.ts.map +0 -1
  26. package/dist/types/locales/en/index.d.ts.map +0 -1
  27. package/dist/types/locales/en/platform.d.ts.map +0 -1
  28. package/dist/types/locales/en/ui-additions.d.ts.map +0 -1
  29. package/dist/types/locales/zh-CN/dashboard-additions.d.ts.map +0 -1
  30. package/dist/types/locales/zh-CN/dashboard-core-additions.d.ts.map +0 -1
  31. package/dist/types/locales/zh-CN/formula-additions.d.ts.map +0 -1
  32. package/dist/types/locales/zh-CN/index.d.ts.map +0 -1
  33. package/dist/types/locales/zh-CN/platform.d.ts.map +0 -1
  34. package/dist/types/locales/zh-CN/ui-additions.d.ts.map +0 -1
  35. package/dist/types/storage.d.ts.map +0 -1
@@ -35,4 +35,3 @@ export declare function useFinText(): (key: string) => string;
35
35
  * @returns 当前 App 独立的 i18n 实例;不创建模块级单例,不改变其他 App。
36
36
  */
37
37
  export declare function installFinI18n(app: App, options?: Partial<I18nOptions>): I18n | undefined;
38
- //# sourceMappingURL=create-i18n.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** 公开子路径转发完整内置词条,业务优先从包根命名导入 en。 */
2
2
  export { en as default } from '../create-i18n';
3
- //# sourceMappingURL=en.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** 公开子路径转发完整内置词条,业务优先从包根命名导入 zhCN。 */
2
2
  export { zhCN as default } from '../create-i18n';
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -5,4 +5,3 @@ export { createFinI18n, en, installFinI18n, useFinLocale, useFinText, zhCN, norm
5
5
  export { connectFinLocaleStorage } from './storage';
6
6
  export { default as zhCNFormulaAdditions } from './locales/zh-CN/formula-additions';
7
7
  export { default as enFormulaAdditions } from './locales/en/formula-additions';
8
- //# sourceMappingURL=index.d.ts.map
@@ -153,4 +153,3 @@ declare const _default: {
153
153
  };
154
154
  };
155
155
  export default _default;
156
- //# sourceMappingURL=dashboard-additions.d.ts.map
@@ -245,4 +245,3 @@ declare const _default: {
245
245
  };
246
246
  };
247
247
  export default _default;
248
- //# sourceMappingURL=dashboard-core-additions.d.ts.map
@@ -100,4 +100,3 @@ declare const _default: {
100
100
  };
101
101
  };
102
102
  export default _default;
103
- //# sourceMappingURL=formula-additions.d.ts.map
@@ -323,4 +323,3 @@ declare const _default: {
323
323
  };
324
324
  };
325
325
  export default _default;
326
- //# sourceMappingURL=index.d.ts.map
@@ -86,4 +86,3 @@ declare const _default: {
86
86
  };
87
87
  };
88
88
  export default _default;
89
- //# sourceMappingURL=platform.d.ts.map
@@ -50,4 +50,3 @@ declare const uiAdditions: {
50
50
  };
51
51
  };
52
52
  export default uiAdditions;
53
- //# sourceMappingURL=ui-additions.d.ts.map
@@ -153,4 +153,3 @@ declare const _default: {
153
153
  };
154
154
  };
155
155
  export default _default;
156
- //# sourceMappingURL=dashboard-additions.d.ts.map
@@ -246,4 +246,3 @@ declare const _default: {
246
246
  };
247
247
  };
248
248
  export default _default;
249
- //# sourceMappingURL=dashboard-core-additions.d.ts.map
@@ -100,4 +100,3 @@ declare const _default: {
100
100
  };
101
101
  };
102
102
  export default _default;
103
- //# sourceMappingURL=formula-additions.d.ts.map
@@ -323,4 +323,3 @@ declare const _default: {
323
323
  };
324
324
  };
325
325
  export default _default;
326
- //# sourceMappingURL=index.d.ts.map
@@ -86,4 +86,3 @@ declare const _default: {
86
86
  };
87
87
  };
88
88
  export default _default;
89
- //# sourceMappingURL=platform.d.ts.map
@@ -50,4 +50,3 @@ declare const uiAdditions: {
50
50
  };
51
51
  };
52
52
  export default uiAdditions;
53
- //# sourceMappingURL=ui-additions.d.ts.map
@@ -8,4 +8,3 @@ import { Ref } from 'vue';
8
8
  * 嵌入子应用应使用宿主偏好同步,不连接本地存储,避免覆盖宿主语言。
9
9
  */
10
10
  export declare function connectFinLocaleStorage(locale: Ref<string>, key: string): () => void;
11
- //# sourceMappingURL=storage.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axewo/fin-locale",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -57,8 +57,9 @@
57
57
  "access": "public"
58
58
  },
59
59
  "scripts": {
60
- "build": "vite build",
61
- "test": "vitest run",
62
- "clean": "rm -rf dist"
60
+ "build": "pnpm typecheck && vite build",
61
+ "clean": "node ../../scripts/clean.mjs",
62
+ "typecheck": "tsc --noEmit -p tsconfig.json",
63
+ "check:package": "node ../../scripts/check-packages.mjs locale"
63
64
  }
64
65
  }
@@ -1 +0,0 @@
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;AAC1F,OAAO,EAAsB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGlD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAQ/F,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAMtC,4BAA4B;AAC5B,eAAO,MAAM,IAAI,EAAE,WAAkG,CAAA;AACrH,eAAO,MAAM,EAAE,EAAE,WAA8F,CAAA;AAE/G;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,OAAiB,GAAG,MAAM,CAIlF;AA0BD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAYlE;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI;IAC9B,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAC1B,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACpC,CASA;AAED,uDAAuD;AACvD,wBAAgB,UAAU,IAAI,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAOpD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,CAiBzF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/entries/en.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,EAAE,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../src/entries/zh-CN.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9K,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/dashboard-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyJC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-core-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/dashboard-core-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqPC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"formula-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/formula-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoGC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAgTC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/platform.ts"],"names":[],"mappings":"AAAA,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACxB,wBAsFC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/ui-additions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/dashboard-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyJC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-core-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/dashboard-core-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsPC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"formula-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/formula-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoGC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA+SC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/platform.ts"],"names":[],"mappings":"AAAA,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAC/B,wBAqFC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/ui-additions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrC;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,IAAI,CA2BpF"}