formax_sgj-ui 1.1.2 → 1.1.3

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.d.ts CHANGED
@@ -35,48 +35,48 @@ declare const FormaxButton: FormaxComponent;
35
35
 
36
36
  declare const FormaxTableComponent: FormaxComponent;
37
37
 
38
- declare function install(app: any): void;
39
- declare const componentList: ComponentMeta[];
40
-
41
- declare const _default: {
42
- install: typeof install;
43
- componentList: ComponentMeta[];
44
- locales: {
45
- enUS: () => Promise<{
46
- default: {
47
- "03e59bb33c": string;
48
- "18c63459a2": string;
49
- "43e534acf9": string;
50
- "63b6c98032": string;
51
- "694fc5efa9": string;
52
- "1cdb193303": string;
53
- };
38
+ declare const localesObj: {
39
+ enUS: () => Promise<{
40
+ default: {
54
41
  "03e59bb33c": string;
55
42
  "18c63459a2": string;
56
43
  "43e534acf9": string;
57
44
  "63b6c98032": string;
58
45
  "694fc5efa9": string;
59
46
  "1cdb193303": string;
60
- }>;
61
- zhCN: () => Promise<{
62
- default: {
63
- "03e59bb33c": string;
64
- "18c63459a2": string;
65
- "43e534acf9": string;
66
- "63b6c98032": string;
67
- "694fc5efa9": string;
68
- "1cdb193303": string;
69
- };
47
+ };
48
+ "03e59bb33c": string;
49
+ "18c63459a2": string;
50
+ "43e534acf9": string;
51
+ "63b6c98032": string;
52
+ "694fc5efa9": string;
53
+ "1cdb193303": string;
54
+ }>;
55
+ zhCN: () => Promise<{
56
+ default: {
70
57
  "03e59bb33c": string;
71
58
  "18c63459a2": string;
72
59
  "43e534acf9": string;
73
60
  "63b6c98032": string;
74
61
  "694fc5efa9": string;
75
62
  "1cdb193303": string;
76
- }>;
77
- };
63
+ };
64
+ "03e59bb33c": string;
65
+ "18c63459a2": string;
66
+ "43e534acf9": string;
67
+ "63b6c98032": string;
68
+ "694fc5efa9": string;
69
+ "1cdb193303": string;
70
+ }>;
71
+ };
72
+ declare function install(app: any): void;
73
+ declare const componentList: ComponentMeta[];
74
+
75
+ declare const _default: {
76
+ install: typeof install;
77
+ componentList: ComponentMeta[];
78
78
  };
79
79
 
80
80
  declare const componentGoList: any[];
81
81
 
82
- export { ComponentMeta, EventMeta, FormaxButton, FormaxComponent, FormaxTableComponent as FormaxTable, PropMeta, SlotMeta, componentGoList, componentList, _default as default, install };
82
+ export { ComponentMeta, EventMeta, FormaxButton, FormaxComponent, FormaxTableComponent as FormaxTable, PropMeta, SlotMeta, componentGoList, componentList, _default as default, install, localesObj };
@@ -36623,7 +36623,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
36623
36623
  componentGoList: () => componentGoList,
36624
36624
  componentList: () => componentList,
36625
36625
  default: () => src_default3,
36626
- install: () => install
36626
+ install: () => install,
36627
+ localesObj: () => localesObj
36627
36628
  });
36628
36629
 
36629
36630
  // node_modules/vue/index.mjs
@@ -65066,7 +65067,7 @@ async function fetchTableData(params: Record<string, any>) {
65066
65067
  FormaxTableComponent.__doc_meta__ = meta2;
65067
65068
 
65068
65069
  // src/index.ts
65069
- var locales = {
65070
+ var localesObj = {
65070
65071
  enUS: () => Promise.resolve().then(() => __toESM(require_en())),
65071
65072
  zhCN: () => Promise.resolve().then(() => __toESM(require_zh_CN()))
65072
65073
  };
@@ -65082,8 +65083,7 @@ async function fetchTableData(params: Record<string, any>) {
65082
65083
  var componentList = Object.values(components).map((comp) => comp.__doc_meta__).filter((meta3) => !!meta3);
65083
65084
  var src_default3 = __spreadValues({
65084
65085
  install,
65085
- componentList,
65086
- locales
65086
+ componentList
65087
65087
  }, components);
65088
65088
  var __pkgLabelMap = {
65089
65089
  general: "\u901A\u7528\u7EC4\u4EF6",
package/dist/index.js CHANGED
@@ -103,7 +103,8 @@ __export(src_exports, {
103
103
  componentGoList: () => componentGoList,
104
104
  componentList: () => componentList,
105
105
  default: () => src_default,
106
- install: () => install
106
+ install: () => install,
107
+ localesObj: () => localesObj
107
108
  });
108
109
  module.exports = __toCommonJS(src_exports);
109
110
 
@@ -2585,7 +2586,7 @@ async function fetchTableData(params: Record<string, any>) {
2585
2586
  FormaxTableComponent.__doc_meta__ = meta2;
2586
2587
 
2587
2588
  // src/index.ts
2588
- var locales = {
2589
+ var localesObj = {
2589
2590
  enUS: () => Promise.resolve().then(() => __toESM(require_en())),
2590
2591
  zhCN: () => Promise.resolve().then(() => __toESM(require_zh_CN()))
2591
2592
  };
@@ -2601,8 +2602,7 @@ function install(app) {
2601
2602
  var componentList = Object.values(components).map((comp) => comp.__doc_meta__).filter((meta3) => !!meta3);
2602
2603
  var src_default = __spreadValues({
2603
2604
  install,
2604
- componentList,
2605
- locales
2605
+ componentList
2606
2606
  }, components);
2607
2607
  var __pkgLabelMap = {
2608
2608
  general: "\u901A\u7528\u7EC4\u4EF6",
@@ -2641,7 +2641,8 @@ var componentGoList = Object.values(components).reduce(
2641
2641
  FormaxTable,
2642
2642
  componentGoList,
2643
2643
  componentList,
2644
- install
2644
+ install,
2645
+ localesObj
2645
2646
  });
2646
2647
  /*! Bundled license information:
2647
2648
 
package/dist/index.mjs CHANGED
@@ -2490,7 +2490,7 @@ async function fetchTableData(params: Record<string, any>) {
2490
2490
  FormaxTableComponent.__doc_meta__ = meta2;
2491
2491
 
2492
2492
  // src/index.ts
2493
- var locales = {
2493
+ var localesObj = {
2494
2494
  enUS: () => import("./en-QOVHVNMV.mjs"),
2495
2495
  zhCN: () => import("./zh-CN-SCJLN47R.mjs")
2496
2496
  };
@@ -2506,8 +2506,7 @@ function install(app) {
2506
2506
  var componentList = Object.values(components).map((comp) => comp.__doc_meta__).filter((meta3) => !!meta3);
2507
2507
  var src_default = __spreadValues({
2508
2508
  install,
2509
- componentList,
2510
- locales
2509
+ componentList
2511
2510
  }, components);
2512
2511
  var __pkgLabelMap = {
2513
2512
  general: "\u901A\u7528\u7EC4\u4EF6",
@@ -2546,7 +2545,8 @@ export {
2546
2545
  componentGoList,
2547
2546
  componentList,
2548
2547
  src_default as default,
2549
- install
2548
+ install,
2549
+ localesObj
2550
2550
  };
2551
2551
  /*! Bundled license information:
2552
2552
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formax_sgj-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A cross-compatible Vue component library with metadata extraction",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ import { FormaxButton } from './components/general/button/FormaxButton'
2
2
  import { FormaxTableComponent as FormaxTable } from './components/data/table/FormaxTable'
3
3
  import { ComponentMeta, FormaxComponent } from './types'
4
4
  // 动态导入语言包,减少首次加载体积
5
- const locales = {
5
+ export const localesObj = {
6
6
  enUS: () => import('./locales/en.json'),
7
7
  zhCN: () => import('./locales/zh-CN.json'),
8
8
  }
@@ -28,7 +28,6 @@ export * from './types'
28
28
  export default {
29
29
  install,
30
30
  componentList,
31
- locales,
32
31
  ...components,
33
32
  }
34
33
  const __pkgLabelMap: Record<string, string> = {