cnhis-design-vue 3.1.20-beta.0 → 3.1.20-beta.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.
Files changed (43) hide show
  1. package/README.md +123 -123
  2. package/es/components/big-table/index.d.ts +1 -1
  3. package/es/components/big-table/src/BigTable.vue.d.ts +1 -1
  4. package/es/components/button-print/index.d.ts +1 -1
  5. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  6. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1 -1
  7. package/es/components/drag-layout/index.d.ts +1 -1
  8. package/es/components/drag-layout/src/DragLayout.vue.d.ts +1 -1
  9. package/es/components/fabric-chart/src/hooks/useOther2.js +23 -25
  10. package/es/components/form-config/index.d.ts +8 -8
  11. package/es/components/form-config/src/FormConfig.vue.d.ts +8 -8
  12. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  13. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +7 -7
  14. package/es/components/form-render/index.d.ts +1 -1
  15. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  16. package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -1
  17. package/es/components/form-render/src/components/renderer/search.d.ts +18 -3
  18. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  19. package/es/components/form-table/index.d.ts +1 -1
  20. package/es/components/form-table/src/FormTable.vue.d.ts +1 -1
  21. package/es/components/form-table/src/components/index.d.ts +1 -1
  22. package/es/components/form-table/src/components/table-age.vue.d.ts +1 -1
  23. package/es/components/info-header/index.d.ts +1 -1
  24. package/es/components/info-header/src/InfoHeader.vue.d.ts +1 -1
  25. package/es/components/scale-view/index.d.ts +1 -1
  26. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  27. package/es/components/scale-view/src/hooks/use-component.d.ts +2 -2
  28. package/es/components/select-label/index.d.ts +4 -4
  29. package/es/components/select-label/src/LabelFormContent.vue.d.ts +2 -2
  30. package/es/components/select-label/src/SelectLabel.vue.d.ts +2 -2
  31. package/es/components/select-person/index.d.ts +1 -1
  32. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  33. package/es/components/shortcut-setter/index.d.ts +7 -7
  34. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +7 -7
  35. package/es/components/time-line/index.d.ts +1 -1
  36. package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
  37. package/package.json +2 -2
  38. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  39. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  40. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  41. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  42. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  43. package/es/shared/utils/tapable/index.d.ts +0 -139
package/README.md CHANGED
@@ -1,123 +1,123 @@
1
- # 安装
2
-
3
- ```shell
4
- npm i cnhis-design-vue@[版本号]
5
- # or
6
- yarn add cnhis-design-vue@[版本号] #推荐
7
- ```
8
-
9
- ## 1.全局引入
10
-
11
- ```typescript
12
- // main.ts
13
- import { createApp } from 'vue';
14
- import App from './App.vue';
15
- import 'cnhis-design-vue/es/packages/index.css';
16
- import cui from 'cnhis-design-vue';
17
-
18
- const app = createApp(App);
19
- app.use(cui).mount('#app');
20
- ```
21
-
22
- ## 2. 按需引入
23
-
24
- 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
-
26
- ### 2.1 样式处理方式 1(按需引入样式)
27
-
28
- ```shell
29
- # 安装自动导入样式的插件
30
- npm i -d vite-plugin-style-import
31
- ```
32
-
33
- ```typescript
34
- // vite.config.ts
35
- import { defineConfig } from 'vite';
36
- import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
-
38
- export default defineConfig({
39
- plugins: [
40
- // ...otherPlugins
41
- createStyleImportPlugin({
42
- libs: [
43
- {
44
- libraryName: 'cnhis-design-vue',
45
- esModule: true,
46
- ensureStyleFile: true,
47
- resolveStyle: name => {
48
- return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
- }
50
- }
51
- ]
52
- })
53
- ]
54
- });
55
- ```
56
-
57
- ### 2.2 样式处理方式 2(全局引入样式)
58
-
59
- ```typescript
60
- // main.ts
61
- import 'cnhis-design-vue/es/components/index.css';
62
- ```
63
-
64
- ## 3. 注意
65
-
66
- 由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
67
-
68
- ```typescript
69
- // main.ts
70
- import { createApp } from 'vue';
71
- import App from './App.vue';
72
-
73
- import { CGrid } from 'cnhis-design-vue';
74
- // 或者
75
- import { CBigTable } from 'cnhis-design-vue';
76
-
77
- const app = createApp(App);
78
- app.use(CGrid);
79
- // 或者
80
- app.use(CBigTable);
81
- app.mount('#app');
82
- ```
83
-
84
- ## 4.FAQ
85
-
86
- ### 4.1 项目打包后样式丢失
87
-
88
- > 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
89
-
90
- ```typescript
91
- // vite.config.ts
92
- import { defineConfig } from 'vite';
93
-
94
- export default defineConfig({
95
- rollupOptions: {
96
- // ..otherOptions
97
- output: {
98
- dir: './dist',
99
- manualChunks(id: string) {
100
- if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
101
- return 'vendor';
102
- }
103
- }
104
- }
105
- }
106
- });
107
- ```
108
-
109
- ### 4.2 找不到文件
110
-
111
- > 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
112
-
113
- ```javascript
114
- // vite.config.ts
115
- const config = {
116
- // ...otherOptions
117
- resolve: {
118
- // ...otherOptions
119
- // 如果没有配置, 则不用考虑
120
- extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
121
- }
122
- };
123
- ```
1
+ # 安装
2
+
3
+ ```shell
4
+ npm i cnhis-design-vue@[版本号]
5
+ # or
6
+ yarn add cnhis-design-vue@[版本号] #推荐
7
+ ```
8
+
9
+ ## 1.全局引入
10
+
11
+ ```typescript
12
+ // main.ts
13
+ import { createApp } from 'vue';
14
+ import App from './App.vue';
15
+ import 'cnhis-design-vue/es/packages/index.css';
16
+ import cui from 'cnhis-design-vue';
17
+
18
+ const app = createApp(App);
19
+ app.use(cui).mount('#app');
20
+ ```
21
+
22
+ ## 2. 按需引入
23
+
24
+ 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
+
26
+ ### 2.1 样式处理方式 1(按需引入样式)
27
+
28
+ ```shell
29
+ # 安装自动导入样式的插件
30
+ npm i -d vite-plugin-style-import
31
+ ```
32
+
33
+ ```typescript
34
+ // vite.config.ts
35
+ import { defineConfig } from 'vite';
36
+ import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
+
38
+ export default defineConfig({
39
+ plugins: [
40
+ // ...otherPlugins
41
+ createStyleImportPlugin({
42
+ libs: [
43
+ {
44
+ libraryName: 'cnhis-design-vue',
45
+ esModule: true,
46
+ ensureStyleFile: true,
47
+ resolveStyle: name => {
48
+ return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
+ }
50
+ }
51
+ ]
52
+ })
53
+ ]
54
+ });
55
+ ```
56
+
57
+ ### 2.2 样式处理方式 2(全局引入样式)
58
+
59
+ ```typescript
60
+ // main.ts
61
+ import 'cnhis-design-vue/es/components/index.css';
62
+ ```
63
+
64
+ ## 3. 注意
65
+
66
+ 由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
67
+
68
+ ```typescript
69
+ // main.ts
70
+ import { createApp } from 'vue';
71
+ import App from './App.vue';
72
+
73
+ import { CGrid } from 'cnhis-design-vue';
74
+ // 或者
75
+ import { CBigTable } from 'cnhis-design-vue';
76
+
77
+ const app = createApp(App);
78
+ app.use(CGrid);
79
+ // 或者
80
+ app.use(CBigTable);
81
+ app.mount('#app');
82
+ ```
83
+
84
+ ## 4.FAQ
85
+
86
+ ### 4.1 项目打包后样式丢失
87
+
88
+ > 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
89
+
90
+ ```typescript
91
+ // vite.config.ts
92
+ import { defineConfig } from 'vite';
93
+
94
+ export default defineConfig({
95
+ rollupOptions: {
96
+ // ..otherOptions
97
+ output: {
98
+ dir: './dist',
99
+ manualChunks(id: string) {
100
+ if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
101
+ return 'vendor';
102
+ }
103
+ }
104
+ }
105
+ }
106
+ });
107
+ ```
108
+
109
+ ### 4.2 找不到文件
110
+
111
+ > 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
112
+
113
+ ```javascript
114
+ // vite.config.ts
115
+ const config = {
116
+ // ...otherOptions
117
+ resolve: {
118
+ // ...otherOptions
119
+ // 如果没有配置, 则不用考虑
120
+ extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
121
+ }
122
+ };
123
+ ```
@@ -883,7 +883,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
883
883
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
884
884
  class: import("vue").Ref<string | undefined>;
885
885
  mergedClsPrefix: import("vue").Ref<string>;
886
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
886
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
887
887
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
888
888
  [key: string]: any;
889
889
  }> | (() => import("vue").VNodeChild)>;
@@ -881,7 +881,7 @@ declare const _default: import("vue").DefineComponent<{
881
881
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
882
882
  class: import("vue").Ref<string | undefined>;
883
883
  mergedClsPrefix: import("vue").Ref<string>;
884
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
884
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
885
885
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
886
886
  [key: string]: any;
887
887
  }> | (() => import("vue").VNodeChild)>;
@@ -383,7 +383,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
383
383
  key: string;
384
384
  render: () => import("vue").VNodeChild;
385
385
  }[]>;
386
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
386
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
387
387
  readonly label: StringConstructor;
388
388
  readonly labelWidth: import("vue").PropType<string | number>;
389
389
  readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
@@ -387,7 +387,7 @@ declare const _default: import("vue").DefineComponent<{
387
387
  key: string;
388
388
  render: () => import("vue").VNodeChild;
389
389
  }[]>;
390
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
390
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
391
391
  readonly label: StringConstructor;
392
392
  readonly labelWidth: import("vue").PropType<string | number>;
393
393
  readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
210
210
  key: string;
211
211
  render: () => import("vue").VNodeChild;
212
212
  }[]>;
213
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
213
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
214
214
  readonly label: StringConstructor;
215
215
  readonly labelWidth: import("vue").PropType<string | number>;
216
216
  readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
@@ -205,7 +205,7 @@ declare const DragLayout: SFCWithInstall<import("vue").DefineComponent<{
205
205
  } | null>;
206
206
  validate: import("naive-ui/es/form/src/interface").FormItemValidate;
207
207
  restoreValidation: () => void;
208
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
208
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
209
209
  readonly label: StringConstructor;
210
210
  readonly labelWidth: import("vue").PropType<string | number>;
211
211
  readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
@@ -205,7 +205,7 @@ declare const _default: import("vue").DefineComponent<{
205
205
  } | null>;
206
206
  validate: import("naive-ui/es/form/src/interface").FormItemValidate;
207
207
  restoreValidation: () => void;
208
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
208
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
209
209
  readonly label: StringConstructor;
210
210
  readonly labelWidth: import("vue").PropType<string | number>;
211
211
  readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
@@ -29,29 +29,28 @@ function useOther(canvas, propItems, cumputedX) {
29
29
  let topY = vitalSignsOriginY.originY;
30
30
  let leftX = item.left;
31
31
  let textHeight = 0;
32
- item.vertical.forEach((v) => {
32
+ item.vertical.forEach((v, i) => {
33
+ var _a;
33
34
  const valueLenght = String(v.value).length;
34
- setPointer();
35
- const text = getText(v, leftX, topY);
36
- text && list.push(text);
37
- function checkNode() {
38
- const node = hasNode(leftX, topY, valueLenght);
39
- if (node) {
40
- topY += node.trueHeight + node.baseTop;
41
- }
35
+ const lastLeft = ((_a = list.at(-1)) == null ? void 0 : _a.left) || 0;
36
+ if (i === 0 && item.left <= lastLeft) {
37
+ leftX = lastLeft + xCellWidth;
42
38
  }
43
- function setPointer() {
44
- topY += (v.baseTop || 0) + textHeight;
45
- const valueHeight = valueLenght * yCellHeight;
46
- checkNode();
47
- if (topY + valueHeight > vitalSignsOriginY.endY) {
48
- leftX += xCellWidth;
49
- topY = (v.baseTop || 0) + vitalSignsOriginY.originY;
50
- textHeight = 0;
51
- setPointer();
52
- } else {
53
- textHeight = valueHeight || textHeight;
54
- }
39
+ topY += (v.baseTop || 0) + textHeight;
40
+ const valueHeight = valueLenght * yCellHeight;
41
+ const node = hasNode(leftX, topY, valueLenght);
42
+ if (node) {
43
+ topY += node.trueHeight + node.baseTop;
44
+ }
45
+ if (topY + valueHeight > vitalSignsOriginY.endY) {
46
+ leftX += xCellWidth;
47
+ topY = (v.baseTop || 0) + vitalSignsOriginY.originY;
48
+ textHeight = 0;
49
+ } else {
50
+ textHeight = valueHeight || textHeight;
51
+ }
52
+ if (String(v.value).length) {
53
+ list.push(getText(v, leftX, topY));
55
54
  }
56
55
  });
57
56
  item.horizontal.forEach((v, i) => {
@@ -63,8 +62,9 @@ function useOther(canvas, propItems, cumputedX) {
63
62
  if (node) {
64
63
  leftX = xCellWidth + node.left;
65
64
  }
66
- const text = getText(v, leftX, y);
67
- text && list.push(text);
65
+ if (String(v.value).length) {
66
+ list.push(getText(v, leftX, topY));
67
+ }
68
68
  });
69
69
  });
70
70
  const group = list.length > 0 ? new fabric.Group([...list], { ...defaultStyle }) : null;
@@ -89,8 +89,6 @@ function useOther(canvas, propItems, cumputedX) {
89
89
  });
90
90
  texts.push(text);
91
91
  });
92
- if (!texts.length)
93
- return null;
94
92
  return new fabric.Group(texts, {
95
93
  originX: "center",
96
94
  left: x,
@@ -609,7 +609,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
609
609
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
610
610
  class: import("vue").Ref<string | undefined>;
611
611
  mergedClsPrefix: import("vue").Ref<string>;
612
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
612
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
613
613
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
614
614
  [key: string]: any;
615
615
  }> | (() => import("vue").VNodeChild)>;
@@ -933,12 +933,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
933
933
  multi_select_value?: string | number | undefined;
934
934
  wordbook?: {
935
935
  level_num?: number | undefined;
936
- id: string;
937
- name: string;
938
- render_key: string[];
939
- search_key: string[];
940
- type: string;
941
- value_key: string;
936
+ id?: string | undefined;
937
+ name?: string | undefined;
938
+ render_key?: string[] | undefined;
939
+ search_key?: string[] | undefined;
940
+ type?: string | undefined;
941
+ value_key?: string | undefined;
942
942
  } | undefined;
943
943
  open?: {
944
944
  value?: any;
@@ -3029,7 +3029,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3029
3029
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
3030
3030
  class: import("vue").Ref<string | undefined>;
3031
3031
  mergedClsPrefix: import("vue").Ref<string>;
3032
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3032
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3033
3033
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3034
3034
  [key: string]: any;
3035
3035
  }> | (() => import("vue").VNodeChild)>;
@@ -611,7 +611,7 @@ declare const _default: import("vue").DefineComponent<{
611
611
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
612
612
  class: import("vue").Ref<string | undefined>;
613
613
  mergedClsPrefix: import("vue").Ref<string>;
614
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
614
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
615
615
  readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
616
616
  [key: string]: any;
617
617
  }> | (() => import("vue").VNodeChild)>;
@@ -935,12 +935,12 @@ declare const _default: import("vue").DefineComponent<{
935
935
  multi_select_value?: string | number | undefined;
936
936
  wordbook?: {
937
937
  level_num?: number | undefined;
938
- id: string;
939
- name: string;
940
- render_key: string[];
941
- search_key: string[];
942
- type: string;
943
- value_key: string;
938
+ id?: string | undefined;
939
+ name?: string | undefined;
940
+ render_key?: string[] | undefined;
941
+ search_key?: string[] | undefined;
942
+ type?: string | undefined;
943
+ value_key?: string | undefined;
944
944
  } | undefined;
945
945
  open?: {
946
946
  value?: any;
@@ -3031,7 +3031,7 @@ declare const _default: import("vue").DefineComponent<{
3031
3031
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
3032
3032
  class: import("vue").Ref<string | undefined>;
3033
3033
  mergedClsPrefix: import("vue").Ref<string>;
3034
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3034
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3035
3035
  readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3036
3036
  [key: string]: any;
3037
3037
  }> | (() => import("vue").VNodeChild)>;
@@ -471,7 +471,7 @@ declare const _default: import("vue").DefineComponent<{}, {
471
471
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
472
472
  class: import("vue").Ref<string | undefined>;
473
473
  mergedClsPrefix: import("vue").Ref<string>;
474
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
474
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
475
475
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
476
476
  [key: string]: any;
477
477
  }> | (() => import("vue").VNodeChild)>;
@@ -62,12 +62,12 @@ declare const _default: import("vue").DefineComponent<{}, {
62
62
  multi_select_value?: string | number | undefined;
63
63
  wordbook?: {
64
64
  level_num?: number | undefined;
65
- id: string;
66
- name: string;
67
- render_key: string[];
68
- search_key: string[];
69
- type: string;
70
- value_key: string;
65
+ id?: string | undefined;
66
+ name?: string | undefined;
67
+ render_key?: string[] | undefined;
68
+ search_key?: string[] | undefined;
69
+ type?: string | undefined;
70
+ value_key?: string | undefined;
71
71
  } | undefined;
72
72
  open?: {
73
73
  value?: any;
@@ -2158,7 +2158,7 @@ declare const _default: import("vue").DefineComponent<{}, {
2158
2158
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
2159
2159
  class: import("vue").Ref<string | undefined>;
2160
2160
  mergedClsPrefix: import("vue").Ref<string>;
2161
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2161
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2162
2162
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2163
2163
  [key: string]: any;
2164
2164
  }> | (() => import("vue").VNodeChild)>;
@@ -457,7 +457,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
457
457
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
458
458
  class: import("vue").Ref<string | undefined>;
459
459
  mergedClsPrefix: import("vue").Ref<string>;
460
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
460
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
461
461
  readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
462
462
  [key: string]: any;
463
463
  }> | (() => import("vue").VNodeChild)>;
@@ -457,7 +457,7 @@ declare const _default: import("vue").DefineComponent<{
457
457
  style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
458
458
  class: import("vue").Ref<string | undefined>;
459
459
  mergedClsPrefix: import("vue").Ref<string>;
460
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
460
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
461
461
  readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
462
462
  [key: string]: any;
463
463
  }> | (() => import("vue").VNodeChild)>;
@@ -4,7 +4,7 @@ export declare const INPUT_GROUP: import("vue").DefineComponent<{
4
4
  [x: symbol]: never;
5
5
  }, {
6
6
  mergedClsPrefix: import("vue").ComputedRef<string>;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  [x: string]: never;
9
9
  [x: number]: never;
10
10
  [x: symbol]: never;
@@ -1,5 +1,4 @@
1
1
  import { Func } from '../../../../../../es/shared/types';
2
- import { FormWordbook } from '../../types';
3
2
  import { PropType } from 'vue';
4
3
  export declare const SEARCH: import("vue").DefineComponent<{
5
4
  value: {
@@ -14,7 +13,15 @@ export declare const SEARCH: import("vue").DefineComponent<{
14
13
  default: boolean;
15
14
  };
16
15
  wordbook: {
17
- type: PropType<FormWordbook>;
16
+ type: PropType<Partial<{
17
+ level_num: number;
18
+ id: string;
19
+ name: string;
20
+ render_key: string[];
21
+ search_key: string[];
22
+ type: string;
23
+ value_key: string;
24
+ }>>;
18
25
  required: true;
19
26
  };
20
27
  onFocus: {
@@ -34,7 +41,15 @@ export declare const SEARCH: import("vue").DefineComponent<{
34
41
  default: boolean;
35
42
  };
36
43
  wordbook: {
37
- type: PropType<FormWordbook>;
44
+ type: PropType<Partial<{
45
+ level_num: number;
46
+ id: string;
47
+ name: string;
48
+ render_key: string[];
49
+ search_key: string[];
50
+ type: string;
51
+ value_key: string;
52
+ }>>;
38
53
  required: true;
39
54
  };
40
55
  onFocus: {
@@ -63,15 +63,15 @@ interface ReactionType {
63
63
  };
64
64
  [key: string]: any;
65
65
  }
66
- export interface FormWordbook {
67
- level_num?: number;
66
+ export declare type FormWordbook = Partial<{
67
+ level_num: number;
68
68
  id: string;
69
69
  name: string;
70
70
  render_key: string[];
71
71
  search_key: string[];
72
72
  type: string;
73
73
  value_key: string;
74
- }
74
+ }>;
75
75
  export declare type FieldItem = {
76
76
  /**
77
77
  * 字段的key
@@ -217,7 +217,7 @@ declare const FormTable: SFCWithInstall<import("vue").DefineComponent<{
217
217
  [x: symbol]: never;
218
218
  }, {
219
219
  mergedClsPrefix: import("vue").ComputedRef<string>;
220
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
220
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
221
221
  [x: string]: never;
222
222
  [x: number]: never;
223
223
  [x: symbol]: never;
@@ -217,7 +217,7 @@ declare const _default: import("vue").DefineComponent<{
217
217
  [x: symbol]: never;
218
218
  }, {
219
219
  mergedClsPrefix: import("vue").ComputedRef<string>;
220
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
220
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
221
221
  [x: string]: never;
222
222
  [x: number]: never;
223
223
  [x: symbol]: never;
@@ -170,7 +170,7 @@ export declare function useComponents(): {
170
170
  [x: symbol]: never;
171
171
  }, {
172
172
  mergedClsPrefix: import("vue").ComputedRef<string>;
173
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
173
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
174
174
  [x: string]: never;
175
175
  [x: number]: never;
176
176
  [x: symbol]: never;