cnhis-design-vue 3.4.0-beta.52 → 3.4.0-beta.55

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 (28) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +4 -4
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
  4. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
  5. package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
  6. package/es/components/button-print/src/utils/print.js +2 -2
  7. package/es/components/callback/src/components/render/popupMaps.d.ts +24 -24
  8. package/es/components/form-config/index.d.ts +15 -0
  9. package/es/components/form-config/src/FormConfig.vue.d.ts +15 -0
  10. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +15 -0
  11. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +22 -3
  12. package/es/components/form-config/src/constants/index.d.ts +1 -0
  13. package/es/components/form-config/src/constants/index.js +1 -0
  14. package/es/components/form-config/src/hooks/useConfigurationField.js +8 -1
  15. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  16. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  17. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  18. package/es/components/iho-table/index.d.ts +24 -24
  19. package/es/components/iho-table/src/IhoTable.vue.d.ts +24 -24
  20. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  21. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -3
  22. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  23. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
  25. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
  26. package/es/env.d.ts +25 -25
  27. package/es/shared/package.json.js +1 -1
  28. package/package.json +2 -2
package/README.md CHANGED
@@ -1,87 +1,87 @@
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.FAQ
65
-
66
- ### 3.1 项目打包后样式丢失
67
-
68
- 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
-
70
- ```typescript
71
- // vite.config.ts
72
- import { defineConfig } from 'vite';
73
-
74
- export default defineConfig({
75
- build: {
76
- rollupOptions: {
77
- // ..otherOptions
78
- output: {
79
- dir: './dist',
80
- manualChunks: {
81
- 'cnhis-vendor': ['cnhis-design-vue']
82
- }
83
- }
84
- }
85
- }
86
- });
87
- ```
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.FAQ
65
+
66
+ ### 3.1 项目打包后样式丢失
67
+
68
+ 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
+
70
+ ```typescript
71
+ // vite.config.ts
72
+ import { defineConfig } from 'vite';
73
+
74
+ export default defineConfig({
75
+ build: {
76
+ rollupOptions: {
77
+ // ..otherOptions
78
+ output: {
79
+ dir: './dist',
80
+ manualChunks: {
81
+ 'cnhis-vendor': ['cnhis-design-vue']
82
+ }
83
+ }
84
+ }
85
+ }
86
+ });
87
+ ```
@@ -191,13 +191,13 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<import("vue
191
191
  }>> & Readonly<{
192
192
  onSuccess?: ((...args: any[]) => any) | undefined;
193
193
  onClose?: ((...args: any[]) => any) | undefined;
194
- onFail?: ((...args: any[]) => any) | undefined;
195
194
  onPause?: ((...args: any[]) => any) | undefined;
195
+ onFail?: ((...args: any[]) => any) | undefined;
196
196
  onResume?: ((...args: any[]) => any) | undefined;
197
197
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
198
198
  onHeightChange?: ((...args: any[]) => any) | undefined;
199
199
  }> & {}>;
200
- emit: (event: "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
200
+ emit: (event: "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
201
201
  loading: import("vue").Ref<boolean, boolean>;
202
202
  content: import("vue").Ref<string | {
203
203
  data: string;
@@ -283,7 +283,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<import("vue
283
283
  ContinueSvg: any;
284
284
  EnlargeSvg: any;
285
285
  WaveView: any;
286
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
286
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
287
287
  content: {
288
288
  type: import("vue").PropType<string | {
289
289
  data: string;
@@ -327,8 +327,8 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<import("vue
327
327
  }>> & Readonly<{
328
328
  onSuccess?: ((...args: any[]) => any) | undefined;
329
329
  onClose?: ((...args: any[]) => any) | undefined;
330
- onFail?: ((...args: any[]) => any) | undefined;
331
330
  onPause?: ((...args: any[]) => any) | undefined;
331
+ onFail?: ((...args: any[]) => any) | undefined;
332
332
  onResume?: ((...args: any[]) => any) | undefined;
333
333
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
334
334
  onHeightChange?: ((...args: any[]) => any) | undefined;
@@ -189,13 +189,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
189
189
  }>> & Readonly<{
190
190
  onSuccess?: ((...args: any[]) => any) | undefined;
191
191
  onClose?: ((...args: any[]) => any) | undefined;
192
- onFail?: ((...args: any[]) => any) | undefined;
193
192
  onPause?: ((...args: any[]) => any) | undefined;
193
+ onFail?: ((...args: any[]) => any) | undefined;
194
194
  onResume?: ((...args: any[]) => any) | undefined;
195
195
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
196
196
  onHeightChange?: ((...args: any[]) => any) | undefined;
197
197
  }> & {}>;
198
- emit: (event: "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
198
+ emit: (event: "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
199
199
  loading: import("vue").Ref<boolean, boolean>;
200
200
  content: import("vue").Ref<string | {
201
201
  data: string;
@@ -281,7 +281,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
281
281
  ContinueSvg: any;
282
282
  EnlargeSvg: any;
283
283
  WaveView: any;
284
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
284
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
285
285
  content: {
286
286
  type: PropType<string | {
287
287
  data: string;
@@ -325,8 +325,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
325
325
  }>> & Readonly<{
326
326
  onSuccess?: ((...args: any[]) => any) | undefined;
327
327
  onClose?: ((...args: any[]) => any) | undefined;
328
- onFail?: ((...args: any[]) => any) | undefined;
329
328
  onPause?: ((...args: any[]) => any) | undefined;
329
+ onFail?: ((...args: any[]) => any) | undefined;
330
330
  onResume?: ((...args: any[]) => any) | undefined;
331
331
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
332
332
  onHeightChange?: ((...args: any[]) => any) | undefined;
@@ -98,13 +98,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
98
98
  }>> & Readonly<{
99
99
  onSuccess?: ((...args: any[]) => any) | undefined;
100
100
  onClose?: ((...args: any[]) => any) | undefined;
101
- onFail?: ((...args: any[]) => any) | undefined;
102
101
  onPause?: ((...args: any[]) => any) | undefined;
102
+ onFail?: ((...args: any[]) => any) | undefined;
103
103
  onResume?: ((...args: any[]) => any) | undefined;
104
104
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
105
105
  onHeightChange?: ((...args: any[]) => any) | undefined;
106
106
  }> & {}>;
107
- emit: (event: "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
107
+ emit: (event: "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
108
108
  loading: import("vue").Ref<boolean, boolean>;
109
109
  content: import("vue").Ref<string | {
110
110
  data: string;
@@ -190,7 +190,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
190
190
  ContinueSvg: any;
191
191
  EnlargeSvg: any;
192
192
  WaveView: any;
193
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
193
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
194
194
  content: {
195
195
  type: import("vue").PropType<string | {
196
196
  data: string;
@@ -234,8 +234,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
234
234
  }>> & Readonly<{
235
235
  onSuccess?: ((...args: any[]) => any) | undefined;
236
236
  onClose?: ((...args: any[]) => any) | undefined;
237
- onFail?: ((...args: any[]) => any) | undefined;
238
237
  onPause?: ((...args: any[]) => any) | undefined;
238
+ onFail?: ((...args: any[]) => any) | undefined;
239
239
  onResume?: ((...args: any[]) => any) | undefined;
240
240
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
241
241
  onHeightChange?: ((...args: any[]) => any) | undefined;
@@ -86,13 +86,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
86
86
  }>> & Readonly<{
87
87
  onSuccess?: ((...args: any[]) => any) | undefined;
88
88
  onClose?: ((...args: any[]) => any) | undefined;
89
- onFail?: ((...args: any[]) => any) | undefined;
90
89
  onPause?: ((...args: any[]) => any) | undefined;
90
+ onFail?: ((...args: any[]) => any) | undefined;
91
91
  onResume?: ((...args: any[]) => any) | undefined;
92
92
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
93
93
  onHeightChange?: ((...args: any[]) => any) | undefined;
94
94
  }> & {}>;
95
- emit: (event: "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
95
+ emit: (event: "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", ...args: any[]) => void;
96
96
  loading: import("vue").Ref<boolean, boolean>;
97
97
  content: import("vue").Ref<string | {
98
98
  data: string;
@@ -178,7 +178,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
178
178
  ContinueSvg: any;
179
179
  EnlargeSvg: any;
180
180
  WaveView: any;
181
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "fail" | "pause" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
181
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange")[], "close" | "success" | "pause" | "fail" | "resume" | "toAnalyzing" | "heightChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
182
182
  content: {
183
183
  type: PropType<string | {
184
184
  data: string;
@@ -222,8 +222,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
222
222
  }>> & Readonly<{
223
223
  onSuccess?: ((...args: any[]) => any) | undefined;
224
224
  onClose?: ((...args: any[]) => any) | undefined;
225
- onFail?: ((...args: any[]) => any) | undefined;
226
225
  onPause?: ((...args: any[]) => any) | undefined;
226
+ onFail?: ((...args: any[]) => any) | undefined;
227
227
  onResume?: ((...args: any[]) => any) | undefined;
228
228
  onToAnalyzing?: ((...args: any[]) => any) | undefined;
229
229
  onHeightChange?: ((...args: any[]) => any) | undefined;
@@ -894,7 +894,7 @@ class Print {
894
894
  return false;
895
895
  try {
896
896
  const hideButtonsValue = hideButtons ? hideButtons : (formatItem == null ? void 0 : formatItem.previewCanExport) === void 0 || (formatItem == null ? void 0 : formatItem.previewCanExport) ? void 0 : "Export";
897
- const btnprintValue = btnprint != "1" ? btnprint : (formatItem == null ? void 0 : formatItem.previewCanPrint) === false ? "0" : "1";
897
+ const btnprintValue = btnprint != "1" && btnprint !== void 0 ? btnprint : (formatItem == null ? void 0 : formatItem.previewCanPrint) === false ? "0" : "1";
898
898
  const watermark = (formatItem == null ? void 0 : formatItem.showWatermark) ? "1" : void 0;
899
899
  const result = await this._handleEventDirect({
900
900
  templateId,
@@ -1081,7 +1081,7 @@ class Print {
1081
1081
  }
1082
1082
  this._notifyPrintQueueMap.callback.set(uuid, printQueueCallbackFn);
1083
1083
  }
1084
- const printdlgshowValue = printdlgshow != "0" ? printdlgshow : (formatItem == null ? void 0 : formatItem.showPrintDialog) ? "1" : "0";
1084
+ const printdlgshowValue = printdlgshow != "0" && printdlgshow !== void 0 ? printdlgshow : (formatItem == null ? void 0 : formatItem.showPrintDialog) ? "1" : "0";
1085
1085
  const watermark = (formatItem == null ? void 0 : formatItem.showWatermark) ? "1" : void 0;
1086
1086
  const result = await this._handleEventDirect({
1087
1087
  templateId,
@@ -1133,11 +1133,11 @@ export declare const CallbackMaps: Map<string, {
1133
1133
  onFilterChange?: ((...args: any[]) => any) | undefined;
1134
1134
  onScroll?: ((...args: any[]) => any) | undefined;
1135
1135
  onKeydown?: ((...args: any[]) => any) | undefined;
1136
- onKeydownStart?: ((...args: any[]) => any) | undefined;
1137
- onKeydownEnd?: ((...args: any[]) => any) | undefined;
1138
- onPaste?: ((...args: any[]) => any) | undefined;
1139
1136
  onCopy?: ((...args: any[]) => any) | undefined;
1140
1137
  onCut?: ((...args: any[]) => any) | undefined;
1138
+ onPaste?: ((...args: any[]) => any) | undefined;
1139
+ onKeydownStart?: ((...args: any[]) => any) | undefined;
1140
+ onKeydownEnd?: ((...args: any[]) => any) | undefined;
1141
1141
  onCurrentChange?: ((...args: any[]) => any) | undefined;
1142
1142
  onRadioChange?: ((...args: any[]) => any) | undefined;
1143
1143
  onCheckboxChange?: ((...args: any[]) => any) | undefined;
@@ -1173,7 +1173,7 @@ export declare const CallbackMaps: Map<string, {
1173
1173
  onKeyboard?: ((...args: any[]) => any) | undefined;
1174
1174
  onRowDrag?: ((...args: any[]) => any) | undefined;
1175
1175
  }> & {}>;
1176
- __emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydown" | "keydownStart" | "keydownEnd" | "paste" | "cut" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", ...args: any[]) => void;
1176
+ __emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "cut" | "keydown" | "paste" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", ...args: any[]) => void;
1177
1177
  $xeTable: import("vue").Ref<import("../../../../../components/iho-table").$VxeTable | undefined, import("../../../../../components/iho-table").$VxeTable | undefined>;
1178
1178
  loading: import("vue").Ref<boolean, boolean>;
1179
1179
  finalLoading: import("vue").ComputedRef<boolean>;
@@ -1185,7 +1185,7 @@ export declare const CallbackMaps: Map<string, {
1185
1185
  height: string;
1186
1186
  }>;
1187
1187
  eventListener: import("../../../../iho-table/src/hooks/tapHooks/useEventHooks").IhoTableEventListener;
1188
- emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydown" | "keydownStart" | "keydownEnd" | "paste" | "cut" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", ...args: any[]) => void;
1188
+ emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "cut" | "keydown" | "paste" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", ...args: any[]) => void;
1189
1189
  asyncQueue: import("../../../../../shared/hooks").AsyncQueue<import("../../../../../shared/hooks").FormRequestDefine.AsyncQueueItem, any, {
1190
1190
  label: string;
1191
1191
  value: unknown;
@@ -2502,7 +2502,7 @@ export declare const CallbackMaps: Map<string, {
2502
2502
  columnIndex: number;
2503
2503
  $columnIndex: number;
2504
2504
  _columnIndex: number;
2505
- type: "body" | "header" | "footer";
2505
+ type: "body" | "footer" | "header";
2506
2506
  cell: HTMLElement;
2507
2507
  $event: any;
2508
2508
  }) => string | void | null) | undefined;
@@ -3718,11 +3718,11 @@ export declare const CallbackMaps: Map<string, {
3718
3718
  onFilterChange?: ((params: import("vxe-table").VxeTableDefines.FilterChangeEventParams) => void) | undefined;
3719
3719
  onScroll?: ((params: import("vxe-table").VxeTableDefines.ScrollEventParams) => void) | undefined;
3720
3720
  onKeydown?: ((params: import("vxe-table").VxeTableDefines.KeydownEventParams) => void) | undefined;
3721
- onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
3722
- onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
3723
- onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
3724
3721
  onCopy?: ((params: import("vxe-table").VxeTableDefines.CopyEventParams) => void) | undefined;
3725
3722
  onCut?: ((params: import("vxe-table").VxeTableDefines.CutEventParams) => void) | undefined;
3723
+ onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
3724
+ onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
3725
+ onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
3726
3726
  onCurrentChange?: ((params: import("vxe-table").VxeTableDefines.CurrentChangeEventParams) => void) | undefined;
3727
3727
  onRadioChange?: ((params: import("vxe-table").VxeTableDefines.RadioChangeEventParams) => void) | undefined;
3728
3728
  onCheckboxChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxChangeEventParams) => void) | undefined;
@@ -5058,7 +5058,7 @@ export declare const CallbackMaps: Map<string, {
5058
5058
  columnIndex: number;
5059
5059
  $columnIndex: number;
5060
5060
  _columnIndex: number;
5061
- type: "body" | "header" | "footer";
5061
+ type: "body" | "footer" | "header";
5062
5062
  cell: HTMLElement;
5063
5063
  $event: any;
5064
5064
  }) => string | void | null) | undefined;
@@ -6274,11 +6274,11 @@ export declare const CallbackMaps: Map<string, {
6274
6274
  onFilterChange?: ((params: import("vxe-table").VxeTableDefines.FilterChangeEventParams) => void) | undefined;
6275
6275
  onScroll?: ((params: import("vxe-table").VxeTableDefines.ScrollEventParams) => void) | undefined;
6276
6276
  onKeydown?: ((params: import("vxe-table").VxeTableDefines.KeydownEventParams) => void) | undefined;
6277
- onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
6278
- onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
6279
- onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
6280
6277
  onCopy?: ((params: import("vxe-table").VxeTableDefines.CopyEventParams) => void) | undefined;
6281
6278
  onCut?: ((params: import("vxe-table").VxeTableDefines.CutEventParams) => void) | undefined;
6279
+ onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
6280
+ onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
6281
+ onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
6282
6282
  onCurrentChange?: ((params: import("vxe-table").VxeTableDefines.CurrentChangeEventParams) => void) | undefined;
6283
6283
  onRadioChange?: ((params: import("vxe-table").VxeTableDefines.RadioChangeEventParams) => void) | undefined;
6284
6284
  onCheckboxChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxChangeEventParams) => void) | undefined;
@@ -6772,11 +6772,11 @@ export declare const CallbackMaps: Map<string, {
6772
6772
  onFilterChange: import("vxe-table").VxeGridEvents.FilterChange | undefined;
6773
6773
  onScroll: import("vxe-table").VxeGridEvents.Scroll | undefined;
6774
6774
  onKeydown: import("vxe-table").VxeGridEvents.Keydown | undefined;
6775
- onKeydownStart: unknown;
6776
- onKeydownEnd: unknown;
6777
- onPaste: import("vxe-table").VxeGridEvents.Paste | undefined;
6778
6775
  onCopy: import("vxe-table").VxeGridEvents.Copy | undefined;
6779
6776
  onCut: import("vxe-table").VxeGridEvents.Cut | undefined;
6777
+ onPaste: import("vxe-table").VxeGridEvents.Paste | undefined;
6778
+ onKeydownStart: unknown;
6779
+ onKeydownEnd: unknown;
6780
6780
  onCurrentChange: import("vxe-table").VxeGridEvents.CurrentChange | undefined;
6781
6781
  onRadioChange: import("vxe-table").VxeGridEvents.RadioChange | undefined;
6782
6782
  onCheckboxChange: import("vxe-table").VxeGridEvents.CheckboxChange | undefined;
@@ -6813,11 +6813,11 @@ export declare const CallbackMaps: Map<string, {
6813
6813
  onFilterChange: import("vxe-table").VxeGridEvents.FilterChange | undefined;
6814
6814
  onScroll: import("vxe-table").VxeGridEvents.Scroll | undefined;
6815
6815
  onKeydown: import("vxe-table").VxeGridEvents.Keydown | undefined;
6816
- onKeydownStart: unknown;
6817
- onKeydownEnd: unknown;
6818
- onPaste: import("vxe-table").VxeGridEvents.Paste | undefined;
6819
6816
  onCopy: import("vxe-table").VxeGridEvents.Copy | undefined;
6820
6817
  onCut: import("vxe-table").VxeGridEvents.Cut | undefined;
6818
+ onPaste: import("vxe-table").VxeGridEvents.Paste | undefined;
6819
+ onKeydownStart: unknown;
6820
+ onKeydownEnd: unknown;
6821
6821
  onCurrentChange: import("vxe-table").VxeGridEvents.CurrentChange | undefined;
6822
6822
  onRadioChange: import("vxe-table").VxeGridEvents.RadioChange | undefined;
6823
6823
  onCheckboxChange: import("vxe-table").VxeGridEvents.CheckboxChange | undefined;
@@ -8147,7 +8147,7 @@ export declare const CallbackMaps: Map<string, {
8147
8147
  columnIndex: number;
8148
8148
  $columnIndex: number;
8149
8149
  _columnIndex: number;
8150
- type: "body" | "header" | "footer";
8150
+ type: "body" | "footer" | "header";
8151
8151
  cell: HTMLElement;
8152
8152
  $event: any;
8153
8153
  }) => string | void | null) | undefined;
@@ -9373,7 +9373,7 @@ export declare const CallbackMaps: Map<string, {
9373
9373
  slotPropertiesPicker: (args: import("../../../../../shared/types").AnyObject) => Pick<import("../../../../../shared/types").AnyObject, "row" | "column" | "rowIndex" | "checked" | "$rowIndex" | "disabled" | "indeterminate" | "columnIndex" | "$columnIndex" | "_columnIndex">;
9374
9374
  readonly useVersion: typeof import("../../../../../shared/hooks").useVersion;
9375
9375
  readonly NConfigProvider: any;
9376
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydown" | "keydownStart" | "keydownEnd" | "paste" | "cut" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange")[], "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydown" | "keydownStart" | "keydownEnd" | "paste" | "cut" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9376
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "cut" | "keydown" | "paste" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange")[], "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "sortChange" | "formChange" | "cut" | "keydown" | "paste" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "resizableChange" | "filterChange" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterVisible" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "pageChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9377
9377
  tableConfig: {
9378
9378
  type: import("vue").PropType<import("../../../../../components/iho-table").IhoTableConfig>;
9379
9379
  default: () => {};
@@ -9417,11 +9417,11 @@ export declare const CallbackMaps: Map<string, {
9417
9417
  onFilterChange?: ((...args: any[]) => any) | undefined;
9418
9418
  onScroll?: ((...args: any[]) => any) | undefined;
9419
9419
  onKeydown?: ((...args: any[]) => any) | undefined;
9420
- onKeydownStart?: ((...args: any[]) => any) | undefined;
9421
- onKeydownEnd?: ((...args: any[]) => any) | undefined;
9422
- onPaste?: ((...args: any[]) => any) | undefined;
9423
9420
  onCopy?: ((...args: any[]) => any) | undefined;
9424
9421
  onCut?: ((...args: any[]) => any) | undefined;
9422
+ onPaste?: ((...args: any[]) => any) | undefined;
9423
+ onKeydownStart?: ((...args: any[]) => any) | undefined;
9424
+ onKeydownEnd?: ((...args: any[]) => any) | undefined;
9425
9425
  onCurrentChange?: ((...args: any[]) => any) | undefined;
9426
9426
  onRadioChange?: ((...args: any[]) => any) | undefined;
9427
9427
  onCheckboxChange?: ((...args: any[]) => any) | undefined;
@@ -3814,6 +3814,21 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<import("v
3814
3814
  }[]>;
3815
3815
  onOptionModalCancel: () => void;
3816
3816
  onOptionModalConfirm: () => void;
3817
+ ColorPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3818
+ value: {
3819
+ type: StringConstructor;
3820
+ required: true;
3821
+ };
3822
+ onChange: {};
3823
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3824
+ [key: string]: any;
3825
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
3826
+ value: {
3827
+ type: StringConstructor;
3828
+ required: true;
3829
+ };
3830
+ onChange: {};
3831
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3817
3832
  readonly NModal: any;
3818
3833
  readonly NInput: any;
3819
3834
  readonly CFormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
@@ -3817,6 +3817,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3817
3817
  }[]>;
3818
3818
  onOptionModalCancel: () => void;
3819
3819
  onOptionModalConfirm: () => void;
3820
+ ColorPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3821
+ value: {
3822
+ type: StringConstructor;
3823
+ required: true;
3824
+ };
3825
+ onChange: {};
3826
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3827
+ [key: string]: any;
3828
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
3829
+ value: {
3830
+ type: StringConstructor;
3831
+ required: true;
3832
+ };
3833
+ onChange: {};
3834
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3820
3835
  readonly NModal: any;
3821
3836
  readonly NInput: any;
3822
3837
  readonly CFormRender: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
@@ -2209,6 +2209,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2209
2209
  }[]>;
2210
2210
  onOptionModalCancel: () => void;
2211
2211
  onOptionModalConfirm: () => void;
2212
+ ColorPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2213
+ value: {
2214
+ type: StringConstructor;
2215
+ required: true;
2216
+ };
2217
+ onChange: {};
2218
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2219
+ [key: string]: any;
2220
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2221
+ value: {
2222
+ type: StringConstructor;
2223
+ required: true;
2224
+ };
2225
+ onChange: {};
2226
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2212
2227
  readonly NModal: any;
2213
2228
  readonly NInput: any;
2214
2229
  readonly CFormRender: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
@@ -1,11 +1,11 @@
1
1
  import { i18n } from '../../../../_virtual/_virtual_i18n-methods.js';
2
- import { defineComponent, computed, ref, inject, watch, toRaw, openBlock, createElementBlock, Fragment, createVNode, unref, mergeProps, withCtx, createElementVNode, renderList, toDisplayString, h } from 'vue';
2
+ import { defineComponent, computed, ref, inject, watch, toRaw, h, openBlock, createElementBlock, Fragment, createVNode, unref, mergeProps, withCtx, createElementVNode, renderList, toDisplayString } from 'vue';
3
3
  import { cloneDeep, set, isEmpty, isArray } from 'lodash-es';
4
4
  import { InjectionActiveFieldItem, EditAbleField } from '../constants/index.js';
5
5
  import '../../../../shared/components/VueDraggable/src/vuedraggable.js';
6
6
  import { findFieldItemByKey } from '../utils/index.js';
7
7
  import '@vicons/ionicons5';
8
- import { NModal, NInput, NButton } from 'naive-ui';
8
+ import { NColorPicker, NModal, NInput, NButton } from 'naive-ui';
9
9
  import '../../../../shared/utils/index.js';
10
10
  import { useConfigurationField } from '../hooks/useConfigurationField.js';
11
11
  import '../../../index.js';
@@ -163,6 +163,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
163
163
  return (_a2 = formRenderRef.value) == null ? void 0 : _a2.validate();
164
164
  }
165
165
  });
166
+ const ColorPicker = defineComponent({
167
+ props: {
168
+ value: {
169
+ type: String,
170
+ required: true
171
+ },
172
+ onChange: {}
173
+ },
174
+ setup(props2) {
175
+ return () => h(NColorPicker, {
176
+ modes: ["hex"],
177
+ value: props2.value,
178
+ onUpdateValue: props2.onChange
179
+ });
180
+ }
181
+ });
166
182
  return (_ctx, _cache) => {
167
183
  return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(FormRender), mergeProps({
168
184
  size: "small"
@@ -170,11 +186,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
170
186
  column: 12,
171
187
  ref_key: "formRenderRef",
172
188
  ref: formRenderRef,
189
+ components: {
190
+ COLOR_PICKER: unref(ColorPicker)
191
+ },
173
192
  onFormChange,
174
193
  "field-visitor": visitor,
175
194
  "field-list": fieldList.value,
176
195
  "initial-data": initialData.value
177
- }), null, 16, ["field-list", "initial-data"]), createVNode(unref(NModal), {
196
+ }), null, 16, ["components", "field-list", "initial-data"]), createVNode(unref(NModal), {
178
197
  show: showOptionModal.value,
179
198
  "onUpdate:show": _cache[0] || (_cache[0] = ($event) => showOptionModal.value = $event),
180
199
  preset: "dialog",
@@ -17,6 +17,7 @@ export declare enum EditAbleField {
17
17
  SHOW = "show",
18
18
  ROWS = "initialHigh",
19
19
  TITLE_RED = "fieldTitleRed",
20
+ LABEL_COLOR = "labelColor",
20
21
  CONFIRM = "confirmBeforeValueChange",
21
22
  ALLOW_PARTIAL = "elementExtraSetting.allowPartial",
22
23
  PARTIAL_LEVEL = "elementExtraSetting.partialLevel",