cnhis-design-vue 3.1.45-beta.3 → 3.1.45-beta.5

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 (67) hide show
  1. package/README.md +87 -87
  2. package/es/components/field-set/index.d.ts +157 -38
  3. package/es/components/field-set/src/FieldSet.vue.d.ts +160 -23
  4. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  5. package/es/components/field-set/src/components/Row.vue.d.ts +132 -0
  6. package/es/components/field-set/src/components/Row.vue.js +1 -0
  7. package/es/components/field-set/src/components/Row.vue2.js +1 -0
  8. package/es/components/field-set/src/types/index.d.ts +1 -0
  9. package/es/components/field-set/src/utils/index.d.ts +7 -0
  10. package/es/components/field-set/src/utils/index.js +1 -0
  11. package/es/components/field-set/style/index.css +1 -1
  12. package/es/components/form-config/index.d.ts +3478 -19
  13. package/es/components/form-config/src/FormConfig.vue.d.ts +3478 -19
  14. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  15. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +3 -3
  16. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
  17. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +5 -3
  18. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +11 -1
  19. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  20. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -0
  21. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
  22. package/es/components/form-config/src/constants/index.d.ts +1 -0
  23. package/es/components/form-config/src/constants/index.js +1 -1
  24. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  25. package/es/components/form-config/src/types/index.d.ts +2 -0
  26. package/es/components/form-config/style/index.css +1 -1
  27. package/es/components/form-render/index.d.ts +3 -3
  28. package/es/components/form-render/src/FormRender.vue.d.ts +3 -3
  29. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +3 -3
  30. package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
  31. package/es/components/index.css +1 -1
  32. package/es/components/info-header/index.d.ts +8 -8
  33. package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -8
  34. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +3 -3
  35. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +3 -3
  36. package/es/components/keyboard/index.d.ts +1 -1
  37. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  38. package/es/components/recommend-search/index.d.ts +2 -2
  39. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  40. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  41. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
  42. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  43. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  44. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  45. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  46. package/es/components/shortcut-setter/index.d.ts +3 -3
  47. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -3
  48. package/es/env.d.ts +25 -25
  49. package/es/shared/assets/img/failure.png.js +1 -1
  50. package/es/shared/assets/img/no-permission.png.js +1 -1
  51. package/es/shared/assets/img/nodata.png.js +1 -1
  52. package/es/shared/assets/img/notfound.png.js +1 -1
  53. package/es/shared/assets/img/qr.png.js +1 -1
  54. package/es/shared/assets/img/success.png.js +1 -1
  55. package/es/shared/assets/img/video.png.js +1 -1
  56. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  57. package/es/shared/assets/img/xb_big.png.js +1 -1
  58. package/es/shared/assets/img/xb_small.png.js +1 -1
  59. package/es/shared/package.json.js +1 -1
  60. package/package.json +2 -2
  61. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  62. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  63. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  64. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  65. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  66. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  67. package/es/shared/utils/tapable/index.d.ts +0 -139
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
+ ```
@@ -34,16 +34,14 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
34
34
  type: BooleanConstructor;
35
35
  default: boolean;
36
36
  };
37
+ showColumnNames: {
38
+ type: import("vue").PropType<import("./src/types").FieldSetColumnName[]>;
39
+ };
40
+ groupSetting: {
41
+ type: import("vue").PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("..").IhoTableRowGroupItem[]>> | undefined>;
42
+ };
37
43
  }, {
38
44
  fieldsMapping: Record<string, string>;
39
- fixedWayOptions: {
40
- label: string;
41
- value: string;
42
- }[];
43
- sortOptions: {
44
- label: string;
45
- value: string;
46
- }[];
47
45
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
48
46
  fields: {
49
47
  type: import("vue").PropType<Partial<{
@@ -78,6 +76,12 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
78
76
  type: BooleanConstructor;
79
77
  default: boolean;
80
78
  };
79
+ showColumnNames: {
80
+ type: import("vue").PropType<import("./src/types").FieldSetColumnName[]>;
81
+ };
82
+ groupSetting: {
83
+ type: import("vue").PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("..").IhoTableRowGroupItem[]>> | undefined>;
84
+ };
81
85
  }>> & {
82
86
  onReset?: ((...args: any[]) => any) | undefined;
83
87
  onClose?: ((...args: any[]) => any) | undefined;
@@ -86,47 +90,24 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
86
90
  emit: (event: "close" | "save" | "reset", ...args: any[]) => void;
87
91
  newFields: import("vue").Ref<import("../../../es/shared/types").AnyObject[]>;
88
92
  columns: import("vue").Ref<import("../../../es/shared/types").AnyObject[]>;
93
+ fieldList: import("vue").ComputedRef<import("../../../es/shared/types").AnyObject[]>;
89
94
  handleFieldSave: () => void;
90
95
  onCancle: () => void;
91
96
  reset: () => void;
92
- setOptions: (column: import("../../../es/shared/types").AnyObject) => {
93
- label: string;
94
- value: string;
95
- }[];
96
- setStyle: (column: import("../../../es/shared/types").AnyObject) => import("vue").CSSProperties;
97
97
  isShowColumn: (column: import("../../../es/shared/types").AnyObject) => boolean;
98
98
  initFields: () => import("../../../es/shared/types").AnyObject[];
99
+ handleGroup: (fields: import("../../../es/shared/types").AnyObject[]) => import("../../../es/shared/types").AnyObject[];
99
100
  getTableFields: () => import("../../../es/shared/types").AnyObject[];
100
101
  handleAllCheck: (checked: boolean, field: string) => void;
101
- handleCheck: (checked: boolean, column: import("../../../es/shared/types").AnyObject) => void;
102
- isDisable: (item: Partial<{
103
- [key: string]: any;
104
- id: string;
105
- name: string;
106
- show: boolean;
107
- sort: boolean;
108
- sortDirection: "NONE" | "ASC" | "DESC";
109
- title: string;
110
- alias: string;
111
- fixedShow: boolean;
112
- fixedWay: "NONE" | "LEFT" | "RIGHT";
113
- columnWidth: number | null;
114
- editable: boolean;
115
- editableDisable: boolean;
116
- required: boolean;
117
- requiredDisable: boolean;
118
- hide: boolean;
119
- }>, key: string) => any;
102
+ handleCheck: ({ checked, column }: {
103
+ checked: boolean;
104
+ column: import("../../../es/shared/types").AnyObject;
105
+ }) => void;
120
106
  initColumns: () => void;
121
107
  isNoAllCheck: (field: string) => boolean;
122
108
  NButton: any;
123
109
  NCheckbox: any;
124
- NSelect: any;
125
- NInput: any;
126
- NInputNumber: any;
127
- NTooltip: any;
128
110
  NPopconfirm: any;
129
- NIcon: any;
130
111
  Draggable: import("vue").DefineComponent<{
131
112
  list: {
132
113
  type: ArrayConstructor;
@@ -200,7 +181,139 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
200
181
  modelValue: unknown[];
201
182
  componentData: Record<string, any>;
202
183
  }>;
203
- ReorderTwoOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
184
+ Row: import("vue").DefineComponent<{
185
+ element: {
186
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
187
+ default: () => {};
188
+ };
189
+ columns: {
190
+ type: import("vue").PropType<Partial<{
191
+ [key: string]: any;
192
+ id: string;
193
+ name: string;
194
+ show: boolean;
195
+ sort: boolean;
196
+ sortDirection: "NONE" | "ASC" | "DESC";
197
+ title: string;
198
+ alias: string;
199
+ fixedShow: boolean;
200
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
201
+ columnWidth: number | null;
202
+ editable: boolean;
203
+ editableDisable: boolean;
204
+ required: boolean;
205
+ requiredDisable: boolean;
206
+ hide: boolean;
207
+ }>[]>;
208
+ default: () => never[];
209
+ };
210
+ }, {
211
+ fixedWayOptions: {
212
+ label: string;
213
+ value: string;
214
+ }[];
215
+ sortOptions: {
216
+ label: string;
217
+ value: string;
218
+ }[];
219
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
220
+ element: {
221
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
222
+ default: () => {};
223
+ };
224
+ columns: {
225
+ type: import("vue").PropType<Partial<{
226
+ [key: string]: any;
227
+ id: string;
228
+ name: string;
229
+ show: boolean;
230
+ sort: boolean;
231
+ sortDirection: "NONE" | "ASC" | "DESC";
232
+ title: string;
233
+ alias: string;
234
+ fixedShow: boolean;
235
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
236
+ columnWidth: number | null;
237
+ editable: boolean;
238
+ editableDisable: boolean;
239
+ required: boolean;
240
+ requiredDisable: boolean;
241
+ hide: boolean;
242
+ }>[]>;
243
+ default: () => never[];
244
+ };
245
+ }>> & {
246
+ onUpdateChecked?: ((...args: any[]) => any) | undefined;
247
+ }>>;
248
+ emit: (event: "updateChecked", ...args: any[]) => void;
249
+ setOptions: (column: import("../../../es/shared/types").AnyObject) => {
250
+ label: string;
251
+ value: string;
252
+ }[];
253
+ onUpdateChecked: (checked: boolean, column: import("../../../es/shared/types").AnyObject) => void;
254
+ NCheckbox: any;
255
+ NSelect: any;
256
+ NInput: any;
257
+ NInputNumber: any;
258
+ NTooltip: any;
259
+ NIcon: any;
260
+ setStyle: typeof import("./src/utils").setStyle;
261
+ isDisable: typeof import("./src/utils").isDisable;
262
+ ReorderTwoOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
263
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateChecked"[], "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
264
+ element: {
265
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
266
+ default: () => {};
267
+ };
268
+ columns: {
269
+ type: import("vue").PropType<Partial<{
270
+ [key: string]: any;
271
+ id: string;
272
+ name: string;
273
+ show: boolean;
274
+ sort: boolean;
275
+ sortDirection: "NONE" | "ASC" | "DESC";
276
+ title: string;
277
+ alias: string;
278
+ fixedShow: boolean;
279
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
280
+ columnWidth: number | null;
281
+ editable: boolean;
282
+ editableDisable: boolean;
283
+ required: boolean;
284
+ requiredDisable: boolean;
285
+ hide: boolean;
286
+ }>[]>;
287
+ default: () => never[];
288
+ };
289
+ }>> & {
290
+ onUpdateChecked?: ((...args: any[]) => any) | undefined;
291
+ }, {
292
+ columns: Partial<{
293
+ [key: string]: any;
294
+ id: string;
295
+ name: string;
296
+ show: boolean;
297
+ sort: boolean;
298
+ sortDirection: "NONE" | "ASC" | "DESC";
299
+ title: string;
300
+ alias: string;
301
+ fixedShow: boolean;
302
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
303
+ columnWidth: number | null;
304
+ editable: boolean;
305
+ editableDisable: boolean;
306
+ required: boolean;
307
+ requiredDisable: boolean;
308
+ hide: boolean;
309
+ }>[];
310
+ element: import("../../../es/shared/types").AnyObject;
311
+ }>;
312
+ isArray: {
313
+ (value?: any): value is any[];
314
+ <T>(value?: any): value is any[];
315
+ };
316
+ setStyle: typeof import("./src/utils").setStyle;
204
317
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
205
318
  fields: {
206
319
  type: import("vue").PropType<Partial<{
@@ -235,6 +348,12 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
235
348
  type: BooleanConstructor;
236
349
  default: boolean;
237
350
  };
351
+ showColumnNames: {
352
+ type: import("vue").PropType<import("./src/types").FieldSetColumnName[]>;
353
+ };
354
+ groupSetting: {
355
+ type: import("vue").PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("..").IhoTableRowGroupItem[]>> | undefined>;
356
+ };
238
357
  }>> & {
239
358
  onReset?: ((...args: any[]) => any) | undefined;
240
359
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,6 @@
1
- import { PropType, CSSProperties } from 'vue';
2
- import { FieldSetItem } from '../../../../es/components/field-set/src/types';
1
+ import { PropType } from 'vue';
2
+ import { setStyle, isDisable } from './utils';
3
+ import { FieldSetColumnName } from '../../../../es/components/field-set/src/types';
3
4
  import { AnyObject } from '../../../../es/shared/types';
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  fields: {
@@ -35,16 +36,14 @@ declare const _default: import("vue").DefineComponent<{
35
36
  type: BooleanConstructor;
36
37
  default: boolean;
37
38
  };
39
+ showColumnNames: {
40
+ type: PropType<FieldSetColumnName[]>;
41
+ };
42
+ groupSetting: {
43
+ type: PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("../../../../es/components/iho-table").IhoTableRowGroupItem[]>> | undefined>;
44
+ };
38
45
  }, {
39
46
  fieldsMapping: Record<string, string>;
40
- fixedWayOptions: {
41
- label: string;
42
- value: string;
43
- }[];
44
- sortOptions: {
45
- label: string;
46
- value: string;
47
- }[];
48
47
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
49
48
  fields: {
50
49
  type: PropType<Partial<{
@@ -79,6 +78,12 @@ declare const _default: import("vue").DefineComponent<{
79
78
  type: BooleanConstructor;
80
79
  default: boolean;
81
80
  };
81
+ showColumnNames: {
82
+ type: PropType<FieldSetColumnName[]>;
83
+ };
84
+ groupSetting: {
85
+ type: PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("../../../../es/components/iho-table").IhoTableRowGroupItem[]>> | undefined>;
86
+ };
82
87
  }>> & {
83
88
  onReset?: ((...args: any[]) => any) | undefined;
84
89
  onClose?: ((...args: any[]) => any) | undefined;
@@ -87,30 +92,24 @@ declare const _default: import("vue").DefineComponent<{
87
92
  emit: (event: "close" | "save" | "reset", ...args: any[]) => void;
88
93
  newFields: import("vue").Ref<AnyObject[]>;
89
94
  columns: import("vue").Ref<AnyObject[]>;
95
+ fieldList: import("vue").ComputedRef<AnyObject[]>;
90
96
  handleFieldSave: () => void;
91
97
  onCancle: () => void;
92
98
  reset: () => void;
93
- setOptions: (column: AnyObject) => {
94
- label: string;
95
- value: string;
96
- }[];
97
- setStyle: (column: AnyObject) => CSSProperties;
98
99
  isShowColumn: (column: AnyObject) => boolean;
99
100
  initFields: () => AnyObject[];
101
+ handleGroup: (fields: AnyObject[]) => AnyObject[];
100
102
  getTableFields: () => AnyObject[];
101
103
  handleAllCheck: (checked: boolean, field: string) => void;
102
- handleCheck: (checked: boolean, column: AnyObject) => void;
103
- isDisable: (item: FieldSetItem, key: string) => any;
104
+ handleCheck: ({ checked, column }: {
105
+ checked: boolean;
106
+ column: AnyObject;
107
+ }) => void;
104
108
  initColumns: () => void;
105
109
  isNoAllCheck: (field: string) => boolean;
106
110
  NButton: any;
107
111
  NCheckbox: any;
108
- NSelect: any;
109
- NInput: any;
110
- NInputNumber: any;
111
- NTooltip: any;
112
112
  NPopconfirm: any;
113
- NIcon: any;
114
113
  Draggable: import("vue").DefineComponent<{
115
114
  list: {
116
115
  type: ArrayConstructor;
@@ -184,7 +183,139 @@ declare const _default: import("vue").DefineComponent<{
184
183
  modelValue: unknown[];
185
184
  componentData: Record<string, any>;
186
185
  }>;
187
- ReorderTwoOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
186
+ Row: import("vue").DefineComponent<{
187
+ element: {
188
+ type: PropType<AnyObject>;
189
+ default: () => {};
190
+ };
191
+ columns: {
192
+ type: PropType<Partial<{
193
+ [key: string]: any;
194
+ id: string;
195
+ name: string;
196
+ show: boolean;
197
+ sort: boolean;
198
+ sortDirection: "NONE" | "ASC" | "DESC";
199
+ title: string;
200
+ alias: string;
201
+ fixedShow: boolean;
202
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
203
+ columnWidth: number | null;
204
+ editable: boolean;
205
+ editableDisable: boolean;
206
+ required: boolean;
207
+ requiredDisable: boolean;
208
+ hide: boolean;
209
+ }>[]>;
210
+ default: () => never[];
211
+ };
212
+ }, {
213
+ fixedWayOptions: {
214
+ label: string;
215
+ value: string;
216
+ }[];
217
+ sortOptions: {
218
+ label: string;
219
+ value: string;
220
+ }[];
221
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
222
+ element: {
223
+ type: PropType<AnyObject>;
224
+ default: () => {};
225
+ };
226
+ columns: {
227
+ type: PropType<Partial<{
228
+ [key: string]: any;
229
+ id: string;
230
+ name: string;
231
+ show: boolean;
232
+ sort: boolean;
233
+ sortDirection: "NONE" | "ASC" | "DESC";
234
+ title: string;
235
+ alias: string;
236
+ fixedShow: boolean;
237
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
238
+ columnWidth: number | null;
239
+ editable: boolean;
240
+ editableDisable: boolean;
241
+ required: boolean;
242
+ requiredDisable: boolean;
243
+ hide: boolean;
244
+ }>[]>;
245
+ default: () => never[];
246
+ };
247
+ }>> & {
248
+ onUpdateChecked?: ((...args: any[]) => any) | undefined;
249
+ }>>;
250
+ emit: (event: "updateChecked", ...args: any[]) => void;
251
+ setOptions: (column: AnyObject) => {
252
+ label: string;
253
+ value: string;
254
+ }[];
255
+ onUpdateChecked: (checked: boolean, column: AnyObject) => void;
256
+ NCheckbox: any;
257
+ NSelect: any;
258
+ NInput: any;
259
+ NInputNumber: any;
260
+ NTooltip: any;
261
+ NIcon: any;
262
+ setStyle: typeof setStyle;
263
+ isDisable: typeof isDisable;
264
+ ReorderTwoOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
265
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateChecked"[], "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
266
+ element: {
267
+ type: PropType<AnyObject>;
268
+ default: () => {};
269
+ };
270
+ columns: {
271
+ type: PropType<Partial<{
272
+ [key: string]: any;
273
+ id: string;
274
+ name: string;
275
+ show: boolean;
276
+ sort: boolean;
277
+ sortDirection: "NONE" | "ASC" | "DESC";
278
+ title: string;
279
+ alias: string;
280
+ fixedShow: boolean;
281
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
282
+ columnWidth: number | null;
283
+ editable: boolean;
284
+ editableDisable: boolean;
285
+ required: boolean;
286
+ requiredDisable: boolean;
287
+ hide: boolean;
288
+ }>[]>;
289
+ default: () => never[];
290
+ };
291
+ }>> & {
292
+ onUpdateChecked?: ((...args: any[]) => any) | undefined;
293
+ }, {
294
+ columns: Partial<{
295
+ [key: string]: any;
296
+ id: string;
297
+ name: string;
298
+ show: boolean;
299
+ sort: boolean;
300
+ sortDirection: "NONE" | "ASC" | "DESC";
301
+ title: string;
302
+ alias: string;
303
+ fixedShow: boolean;
304
+ fixedWay: "NONE" | "LEFT" | "RIGHT";
305
+ columnWidth: number | null;
306
+ editable: boolean;
307
+ editableDisable: boolean;
308
+ required: boolean;
309
+ requiredDisable: boolean;
310
+ hide: boolean;
311
+ }>[];
312
+ element: AnyObject;
313
+ }>;
314
+ isArray: {
315
+ (value?: any): value is any[];
316
+ <T>(value?: any): value is any[];
317
+ };
318
+ setStyle: typeof setStyle;
188
319
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
189
320
  fields: {
190
321
  type: PropType<Partial<{
@@ -219,6 +350,12 @@ declare const _default: import("vue").DefineComponent<{
219
350
  type: BooleanConstructor;
220
351
  default: boolean;
221
352
  };
353
+ showColumnNames: {
354
+ type: PropType<FieldSetColumnName[]>;
355
+ };
356
+ groupSetting: {
357
+ type: PropType<Partial<Record<"firstRowGroup" | "secondRowGroup" | "thirdRowGroup" | "fourthRowGroup" | "fifthRowGroup" | "sixthRowGroup" | "seventhRowGroup" | "eighthRowGroup" | "ninthRowGroup" | "tenthRowGroup", import("../../../../es/components/iho-table").IhoTableRowGroupItem[]>> | undefined>;
358
+ };
222
359
  }>> & {
223
360
  onReset?: ((...args: any[]) => any) | undefined;
224
361
  onClose?: ((...args: any[]) => any) | undefined;