cnhis-design-vue 3.1.49-beta.0 → 3.1.49-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +4 -2
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +4 -2
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +4 -2
- package/es/components/classification/src/index.vue.d.ts +4 -2
- package/es/components/date-picker/index.d.ts +2 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +1630 -0
- package/es/components/expand-field/index.js +1 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.d.ts +54 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.js +1 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +841 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.js +1 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +1 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +777 -0
- package/es/components/expand-field/src/components/PersonModal.vue.js +1 -0
- package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +1502 -0
- package/es/components/expand-field/src/components/form.vue.js +1 -0
- package/es/components/expand-field/src/components/form.vue2.js +1 -0
- package/es/components/expand-field/src/constants/index.d.ts +3 -0
- package/es/components/expand-field/src/constants/index.js +1 -0
- package/es/components/expand-field/src/hooks/useAsyncData.d.ts +6 -0
- package/es/components/expand-field/src/hooks/useAsyncData.js +1 -0
- package/es/components/expand-field/src/index.vue.d.ts +1632 -0
- package/es/components/expand-field/src/index.vue.js +1 -0
- package/es/components/expand-field/src/index.vue2.js +1 -0
- package/es/components/expand-field/src/types/index.d.ts +1 -0
- package/es/components/expand-field/src/types/index.js +1 -0
- package/es/components/expand-field/src/utils/constant.d.ts +17 -0
- package/es/components/expand-field/src/utils/constant.js +1 -0
- package/es/components/expand-field/src/utils/index.d.ts +6 -0
- package/es/components/expand-field/src/utils/index.js +1 -0
- package/es/components/expand-field/src/utils/tool.d.ts +2 -0
- package/es/components/expand-field/src/utils/tool.js +1 -0
- package/es/components/expand-field/style/expand-field-iconfont.ttf +0 -0
- package/es/components/expand-field/style/index.css +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +5 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +2 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/field-set/index.d.ts +127 -7
- package/es/components/field-set/src/FieldSet.vue.d.ts +127 -7
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +110 -6
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/index.d.ts +1 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +29 -29
- package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +21 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +1 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +4 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +8 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +8 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +40 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -0
- package/es/shared/components/InputNumberSlash/index.d.ts +2 -0
- package/es/shared/components/InputNumberSlash/index.js +1 -0
- package/es/shared/hooks/useDateTime.d.ts +1 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/anime.d.ts +2 -1
- package/es/shared/utils/anime.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
3
|
import { setStyle, isDisable } from './utils';
|
|
3
4
|
import { FieldSetColumnName, FieldSetColumnItem } from '../../../../es/components/field-set/src/types';
|
|
@@ -46,6 +47,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
47
|
type: PropType<FieldSetColumnItem[]>;
|
|
47
48
|
default: () => never[];
|
|
48
49
|
};
|
|
50
|
+
showSeq: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
49
54
|
}, {
|
|
50
55
|
fieldsMapping: Record<string, string>;
|
|
51
56
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -92,6 +97,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
97
|
type: PropType<FieldSetColumnItem[]>;
|
|
93
98
|
default: () => never[];
|
|
94
99
|
};
|
|
100
|
+
showSeq: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
95
104
|
}>> & {
|
|
96
105
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
97
106
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -114,7 +123,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
123
|
isShowColumn: (column: AnyObject) => boolean;
|
|
115
124
|
initFields: () => AnyObject[];
|
|
116
125
|
handleGroup: (fields: AnyObject[]) => AnyObject[];
|
|
117
|
-
getTableFields: () =>
|
|
126
|
+
getTableFields: () => import("lodash").Omit<never, "uuid">[];
|
|
118
127
|
handleAllCheck: (checked: boolean, field: string) => void;
|
|
119
128
|
handleCheck: ({ checked, column }: {
|
|
120
129
|
checked: boolean;
|
|
@@ -125,6 +134,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
134
|
NButton: any;
|
|
126
135
|
NCheckbox: any;
|
|
127
136
|
NPopconfirm: any;
|
|
137
|
+
NIcon: any;
|
|
138
|
+
NTooltip: any;
|
|
128
139
|
Draggable: import("vue").DefineComponent<{
|
|
129
140
|
list: {
|
|
130
141
|
type: ArrayConstructor;
|
|
@@ -200,10 +211,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
211
|
}>;
|
|
201
212
|
Row: import("vue").DefineComponent<{
|
|
202
213
|
element: {
|
|
203
|
-
type: PropType<
|
|
214
|
+
type: PropType<Partial<{
|
|
215
|
+
[key: string]: any;
|
|
216
|
+
id: string;
|
|
217
|
+
name: string;
|
|
218
|
+
show: boolean;
|
|
219
|
+
sort: boolean;
|
|
220
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
221
|
+
title: string;
|
|
222
|
+
alias: string;
|
|
223
|
+
fixedShow: boolean;
|
|
224
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
225
|
+
columnWidth: number | null;
|
|
226
|
+
editable: boolean;
|
|
227
|
+
editableDisable: boolean;
|
|
228
|
+
required: boolean;
|
|
229
|
+
requiredDisable: boolean;
|
|
230
|
+
hide: boolean;
|
|
231
|
+
}>>;
|
|
204
232
|
default: () => {};
|
|
205
233
|
};
|
|
206
234
|
columns: {
|
|
235
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
236
|
+
default: () => never[];
|
|
237
|
+
};
|
|
238
|
+
idx: {
|
|
239
|
+
type: NumberConstructor;
|
|
240
|
+
default: number;
|
|
241
|
+
};
|
|
242
|
+
fieldList: {
|
|
207
243
|
type: PropType<Partial<{
|
|
208
244
|
[key: string]: any;
|
|
209
245
|
id: string;
|
|
@@ -235,10 +271,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
271
|
}[];
|
|
236
272
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
237
273
|
element: {
|
|
238
|
-
type: PropType<
|
|
274
|
+
type: PropType<Partial<{
|
|
275
|
+
[key: string]: any;
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
show: boolean;
|
|
279
|
+
sort: boolean;
|
|
280
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
281
|
+
title: string;
|
|
282
|
+
alias: string;
|
|
283
|
+
fixedShow: boolean;
|
|
284
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
285
|
+
columnWidth: number | null;
|
|
286
|
+
editable: boolean;
|
|
287
|
+
editableDisable: boolean;
|
|
288
|
+
required: boolean;
|
|
289
|
+
requiredDisable: boolean;
|
|
290
|
+
hide: boolean;
|
|
291
|
+
}>>;
|
|
239
292
|
default: () => {};
|
|
240
293
|
};
|
|
241
294
|
columns: {
|
|
295
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
296
|
+
default: () => never[];
|
|
297
|
+
};
|
|
298
|
+
idx: {
|
|
299
|
+
type: NumberConstructor;
|
|
300
|
+
default: number;
|
|
301
|
+
};
|
|
302
|
+
fieldList: {
|
|
242
303
|
type: PropType<Partial<{
|
|
243
304
|
[key: string]: any;
|
|
244
305
|
id: string;
|
|
@@ -263,11 +324,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
263
324
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
|
264
325
|
}>>;
|
|
265
326
|
emit: (event: "updateChecked", ...args: any[]) => void;
|
|
266
|
-
|
|
327
|
+
getSortPriorityOptions: () => {
|
|
328
|
+
label: string;
|
|
329
|
+
value: number;
|
|
330
|
+
}[];
|
|
331
|
+
getOptions: (column: AnyObject) => {
|
|
267
332
|
label: string;
|
|
268
333
|
value: string;
|
|
334
|
+
}[] | {
|
|
335
|
+
label: string;
|
|
336
|
+
value: number;
|
|
269
337
|
}[];
|
|
338
|
+
setDisabled: (column: AnyObject) => boolean;
|
|
270
339
|
onUpdateChecked: (checked: boolean, column: AnyObject) => void;
|
|
340
|
+
handleUpdateSelect: (value: string, column: AnyObject) => void;
|
|
271
341
|
NCheckbox: any;
|
|
272
342
|
NSelect: any;
|
|
273
343
|
NInput: any;
|
|
@@ -279,10 +349,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
349
|
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<{}>>, {}>;
|
|
280
350
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateChecked"[], "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
281
351
|
element: {
|
|
282
|
-
type: PropType<
|
|
352
|
+
type: PropType<Partial<{
|
|
353
|
+
[key: string]: any;
|
|
354
|
+
id: string;
|
|
355
|
+
name: string;
|
|
356
|
+
show: boolean;
|
|
357
|
+
sort: boolean;
|
|
358
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
359
|
+
title: string;
|
|
360
|
+
alias: string;
|
|
361
|
+
fixedShow: boolean;
|
|
362
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
363
|
+
columnWidth: number | null;
|
|
364
|
+
editable: boolean;
|
|
365
|
+
editableDisable: boolean;
|
|
366
|
+
required: boolean;
|
|
367
|
+
requiredDisable: boolean;
|
|
368
|
+
hide: boolean;
|
|
369
|
+
}>>;
|
|
283
370
|
default: () => {};
|
|
284
371
|
};
|
|
285
372
|
columns: {
|
|
373
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
374
|
+
default: () => never[];
|
|
375
|
+
};
|
|
376
|
+
idx: {
|
|
377
|
+
type: NumberConstructor;
|
|
378
|
+
default: number;
|
|
379
|
+
};
|
|
380
|
+
fieldList: {
|
|
286
381
|
type: PropType<Partial<{
|
|
287
382
|
[key: string]: any;
|
|
288
383
|
id: string;
|
|
@@ -306,7 +401,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
401
|
}>> & {
|
|
307
402
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
|
308
403
|
}, {
|
|
309
|
-
columns:
|
|
404
|
+
columns: FieldSetColumnItem[];
|
|
405
|
+
element: Partial<{
|
|
406
|
+
[key: string]: any;
|
|
407
|
+
id: string;
|
|
408
|
+
name: string;
|
|
409
|
+
show: boolean;
|
|
410
|
+
sort: boolean;
|
|
411
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
412
|
+
title: string;
|
|
413
|
+
alias: string;
|
|
414
|
+
fixedShow: boolean;
|
|
415
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
416
|
+
columnWidth: number | null;
|
|
417
|
+
editable: boolean;
|
|
418
|
+
editableDisable: boolean;
|
|
419
|
+
required: boolean;
|
|
420
|
+
requiredDisable: boolean;
|
|
421
|
+
hide: boolean;
|
|
422
|
+
}>;
|
|
423
|
+
idx: number;
|
|
424
|
+
fieldList: Partial<{
|
|
310
425
|
[key: string]: any;
|
|
311
426
|
id: string;
|
|
312
427
|
name: string;
|
|
@@ -324,13 +439,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
324
439
|
requiredDisable: boolean;
|
|
325
440
|
hide: boolean;
|
|
326
441
|
}>[];
|
|
327
|
-
element: AnyObject;
|
|
328
442
|
}>;
|
|
329
443
|
isArray: {
|
|
330
444
|
(value?: any): value is any[];
|
|
331
445
|
<T>(value?: any): value is any[];
|
|
332
446
|
};
|
|
333
447
|
setStyle: typeof setStyle;
|
|
448
|
+
HelpCircleSharp: 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<{}>>, {}>;
|
|
334
449
|
}, 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<{
|
|
335
450
|
fields: {
|
|
336
451
|
type: PropType<Partial<{
|
|
@@ -375,12 +490,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
375
490
|
type: PropType<FieldSetColumnItem[]>;
|
|
376
491
|
default: () => never[];
|
|
377
492
|
};
|
|
493
|
+
showSeq: {
|
|
494
|
+
type: BooleanConstructor;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
378
497
|
}>> & {
|
|
379
498
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
380
499
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
381
500
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
382
501
|
}, {
|
|
383
502
|
type: string;
|
|
503
|
+
showSeq: boolean;
|
|
384
504
|
fields: Partial<{
|
|
385
505
|
[key: string]: any;
|
|
386
506
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,computed as t,watch as i,openBlock as d,createElementBlock as o,createElementVNode as
|
|
1
|
+
import{defineComponent as e,ref as l,computed as t,watch as i,openBlock as d,createElementBlock as o,createElementVNode as s,Fragment as a,renderList as n,normalizeStyle as c,unref as r,createBlock as u,withCtx as f,createTextVNode as m,toDisplayString as h,createCommentVNode as p,createVNode as y,renderSlot as v}from"vue";import{NCheckbox as b,NTooltip as k,NIcon as x,NPopconfirm as g,NButton as A}from"naive-ui";import _ from"../../../shared/components/VueDraggable/src/vuedraggable.js";import w from"./components/Row.vue.js";import{isArray as S,cloneDeep as C,isString as W,omit as E}from"lodash-es";import{setStyle as q,getGroupTree as F,isDisable as N}from"./utils/index.js";import{uuidGenerator as R}from"../../../shared/utils/index.js";import{HelpCircleSharp as j}from"@vicons/ionicons5";const L={class:"c-field-set"},U={class:"c-field-set__table-header"},D=s("span",null,"数值越小,优先级越高",-1),P={class:"c-field-set__table-body"},V=["tabindex"],B={key:0,class:"c-field-set__table-footer"};var O=e({__name:"FieldSet",props:{fields:{type:Array,default:()=>[]},footerFlag:{type:Boolean,default:!0},type:{type:String,default:"old"},isEdit:{type:Boolean,default:!1},showColumnNames:{type:Array},groupSetting:{type:Object},customColumns:{type:Array,default:()=>[]},showSeq:{type:Boolean,default:!1}},emits:["save","close","reset"],setup(e,{expose:O,emit:T}){const G=e,H={sid:"id",columnName:"name",isShow:"show",isSort:"sort",isFixed:"fixedWay",colWidth:"columnWidth"},I=l([]),$=l([{title:"所有字段",type:"text",field:"title"},{title:"显示",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"show"},{title:"编辑",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"editable"},{title:"必填",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"required"},{title:"排序",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"sort"},{title:"加粗",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"bold"},{title:"默认排序",type:"select",field:"sortDirection"},{title:"排序优先级",type:"select",field:"sortPriority"},{title:"固定",type:"select",field:"fixedWay"},{title:"自定义标题",type:"input",field:"alias"},{title:"列宽",type:"inputNumber",field:"columnWidth"}]),z=t((()=>I.value.flat())),J=()=>{T("save",{tableFields:X()})},K=()=>{T("close")};function M(){I.value=Q(),Z(),T("reset")}function Q(){const e=C(G.fields).map((e=>({...e,uuid:R()})));return Object.keys(H).forEach((l=>{e.forEach((e=>{"old"==G.type&&Reflect.has(e,l)&&("isFixed"==l?e.fixedWay=1==e[l]?"LEFT":2==e[l]?"RIGHT":"NONE":["isShow","isSort"].includes(l)&&"boolean"!=typeof l?e[H[l]]=1==e[l]:e[H[l]]=e[l],Reflect.deleteProperty(e,l)),e.columnWidth=+e.columnWidth||null,Reflect.has(e,"alias")||(e.alias=""),Reflect.has(e,"bold")||(e.bold=!1)}))})),function(e){if(G.groupSetting){return F(G.groupSetting,e).reduce(((t,i)=>{const d=W(i)?e.find((e=>e.name===i)):l(i.children);return d&&t.push(d),t}),[])}return e;function l(t){const i=[];return t.forEach((t=>{if(t.children)i.push(...l(t.children));else{const l=e.find((e=>e.name===t));l&&i.push(l)}})),i}}(e)}const X=()=>{let e=[];return e="old"==G.type?z.value.map(((e,l)=>({id:e.id,field:e.name,visible:e.show,sequence:l,sortable:e.sort,title:e.alias,fixed:e.fixedWay,minWidth:e.columnWidth,bold:e.bold,sortDirection:e.sortDirection,...G.isEdit?{required:e.required,editable:e.editable}:{}}))):z.value,e.map((e=>E(e,["uuid"])))};function Y({checked:e,column:l}){const t=!e||ee(l.field);l.checkedAll=!t}function Z(){var e,l;(null==(e=G.showColumnNames)?void 0:e.length)&&($.value=$.value.filter((e=>{var l,t;return"title"===e.field||(null==(t=null==(l=G.showColumnNames)?void 0:l.includes)?void 0:t.call(l,e.field))}))),(null==(l=G.customColumns)?void 0:l.length)&&$.value.push(...G.customColumns),G.showSeq&&$.value.splice(1,0,{title:"排序",type:"text",field:"seq"}),$.value.forEach((e=>{if(function(e){const l=["editable","required"].includes(e.field);return l&&G.isEdit||!l}(e)&&(e.isShow=!0),"checkbox"===e.type){const l=I.value.flat().every((l=>!Reflect.has(l,e.field)));e.checkedAll=!ee(e.field)&&!l}}))}function ee(e){return I.value.flat().some((l=>!N(l,e)&&!l[e]&&"0001"!=l.id))}return i([()=>G.fields,()=>{var e;return null==(e=G.showColumnNames)?void 0:e.length}],(([e,l])=>{e.length>0&&(I.value=Q(),Z())}),{immediate:!0,deep:!0}),O({getTableFields:X}),(l,t)=>(d(),o("div",L,[s("div",U,[(d(!0),o(a,null,n($.value,((e,l)=>(d(),o(a,{key:l},[e.isShow?(d(),o("span",{key:0,class:"table-cell",style:c(r(q)(e))},["checkbox"===e.type?(d(),u(r(b),{key:0,checked:e.checkedAll,"onUpdate:checked":[l=>e.checkedAll=l,l=>{return t=l,i=e.field,void z.value.forEach((e=>{N(e,i)||(e[i]=t)}));var t,i}],disabled:e.disabledAll},{default:f((()=>[m(h(e.title),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])):p("v-if",!0),m(" "+h("checkbox"!==e.type?e.title:"")+" ",1),"sortPriority"===e.field?(d(),u(r(k),{key:1,trigger:"hover"},{trigger:f((()=>[y(r(x),{component:r(j),style:{top:"2px"}},null,8,["component"])])),default:f((()=>[D])),_:1})):p("v-if",!0)],4)):p("v-if",!0)],64)))),128))]),s("div",P,[y(r(_),{modelValue:I.value,"onUpdate:modelValue":t[0]||(t[0]=e=>I.value=e),animation:"150","item-key":"id",draggable:".item"},{item:f((({element:e,index:l})=>[e.hide?p("v-if",!0):(d(),o("div",{key:0,class:"item",tabindex:l},[r(S)(e)?(d(!0),o(a,{key:0},n(e,((e,t)=>(d(),u(w,{key:t,element:e,columns:$.value,idx:l+1,fieldList:r(z),onUpdateChecked:Y},null,8,["element","columns","idx","fieldList"])))),128)):(d(),u(w,{key:1,element:e,columns:$.value,idx:l+1,fieldList:r(z),onUpdateChecked:Y},null,8,["element","columns","idx","fieldList"]))],8,V))])),_:1},8,["modelValue"])]),e.footerFlag?(d(),o("div",B,[p(" 底部按钮插槽 "),v(l.$slots,"footer",{},(()=>[y(r(g),{onPositiveClick:M},{trigger:f((()=>[y(r(A),{style:{"margin-right":"8px"}},{default:f((()=>[m("恢复默认设置")])),_:1})])),default:f((()=>[m(" 确认要恢复系统默认设置吗? ")])),_:1}),y(r(A),{style:{"margin-right":"8px"},onClick:K},{default:f((()=>[m("取消")])),_:1}),y(r(A),{type:"primary",onClick:J},{default:f((()=>[m("保存")])),_:1})]))])):p("v-if",!0)]))}});export{O as default};
|
|
@@ -1,12 +1,38 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { AnyObject } from '../../../../../es/shared/types';
|
|
3
|
+
import { FieldSetColumnItem } from '../../../../../es/components/field-set';
|
|
3
4
|
import { setStyle, isDisable } from '../utils';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{
|
|
5
6
|
element: {
|
|
6
|
-
type: PropType<
|
|
7
|
+
type: PropType<Partial<{
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
show: boolean;
|
|
12
|
+
sort: boolean;
|
|
13
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
14
|
+
title: string;
|
|
15
|
+
alias: string;
|
|
16
|
+
fixedShow: boolean;
|
|
17
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
18
|
+
columnWidth: number | null;
|
|
19
|
+
editable: boolean;
|
|
20
|
+
editableDisable: boolean;
|
|
21
|
+
required: boolean;
|
|
22
|
+
requiredDisable: boolean;
|
|
23
|
+
hide: boolean;
|
|
24
|
+
}>>;
|
|
7
25
|
default: () => {};
|
|
8
26
|
};
|
|
9
27
|
columns: {
|
|
28
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
idx: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
fieldList: {
|
|
10
36
|
type: PropType<Partial<{
|
|
11
37
|
[key: string]: any;
|
|
12
38
|
id: string;
|
|
@@ -38,10 +64,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
64
|
}[];
|
|
39
65
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
40
66
|
element: {
|
|
41
|
-
type: PropType<
|
|
67
|
+
type: PropType<Partial<{
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
show: boolean;
|
|
72
|
+
sort: boolean;
|
|
73
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
74
|
+
title: string;
|
|
75
|
+
alias: string;
|
|
76
|
+
fixedShow: boolean;
|
|
77
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
78
|
+
columnWidth: number | null;
|
|
79
|
+
editable: boolean;
|
|
80
|
+
editableDisable: boolean;
|
|
81
|
+
required: boolean;
|
|
82
|
+
requiredDisable: boolean;
|
|
83
|
+
hide: boolean;
|
|
84
|
+
}>>;
|
|
42
85
|
default: () => {};
|
|
43
86
|
};
|
|
44
87
|
columns: {
|
|
88
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
89
|
+
default: () => never[];
|
|
90
|
+
};
|
|
91
|
+
idx: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
fieldList: {
|
|
45
96
|
type: PropType<Partial<{
|
|
46
97
|
[key: string]: any;
|
|
47
98
|
id: string;
|
|
@@ -66,11 +117,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
117
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
|
67
118
|
}>>;
|
|
68
119
|
emit: (event: "updateChecked", ...args: any[]) => void;
|
|
69
|
-
|
|
120
|
+
getSortPriorityOptions: () => {
|
|
121
|
+
label: string;
|
|
122
|
+
value: number;
|
|
123
|
+
}[];
|
|
124
|
+
getOptions: (column: AnyObject) => {
|
|
70
125
|
label: string;
|
|
71
126
|
value: string;
|
|
127
|
+
}[] | {
|
|
128
|
+
label: string;
|
|
129
|
+
value: number;
|
|
72
130
|
}[];
|
|
131
|
+
setDisabled: (column: AnyObject) => boolean;
|
|
73
132
|
onUpdateChecked: (checked: boolean, column: AnyObject) => void;
|
|
133
|
+
handleUpdateSelect: (value: string, column: AnyObject) => void;
|
|
74
134
|
NCheckbox: any;
|
|
75
135
|
NSelect: any;
|
|
76
136
|
NInput: any;
|
|
@@ -82,10 +142,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
142
|
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<{}>>, {}>;
|
|
83
143
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateChecked"[], "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
144
|
element: {
|
|
85
|
-
type: PropType<
|
|
145
|
+
type: PropType<Partial<{
|
|
146
|
+
[key: string]: any;
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
show: boolean;
|
|
150
|
+
sort: boolean;
|
|
151
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
152
|
+
title: string;
|
|
153
|
+
alias: string;
|
|
154
|
+
fixedShow: boolean;
|
|
155
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
156
|
+
columnWidth: number | null;
|
|
157
|
+
editable: boolean;
|
|
158
|
+
editableDisable: boolean;
|
|
159
|
+
required: boolean;
|
|
160
|
+
requiredDisable: boolean;
|
|
161
|
+
hide: boolean;
|
|
162
|
+
}>>;
|
|
86
163
|
default: () => {};
|
|
87
164
|
};
|
|
88
165
|
columns: {
|
|
166
|
+
type: PropType<FieldSetColumnItem[]>;
|
|
167
|
+
default: () => never[];
|
|
168
|
+
};
|
|
169
|
+
idx: {
|
|
170
|
+
type: NumberConstructor;
|
|
171
|
+
default: number;
|
|
172
|
+
};
|
|
173
|
+
fieldList: {
|
|
89
174
|
type: PropType<Partial<{
|
|
90
175
|
[key: string]: any;
|
|
91
176
|
id: string;
|
|
@@ -109,7 +194,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
194
|
}>> & {
|
|
110
195
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
|
111
196
|
}, {
|
|
112
|
-
columns:
|
|
197
|
+
columns: FieldSetColumnItem[];
|
|
198
|
+
element: Partial<{
|
|
199
|
+
[key: string]: any;
|
|
200
|
+
id: string;
|
|
201
|
+
name: string;
|
|
202
|
+
show: boolean;
|
|
203
|
+
sort: boolean;
|
|
204
|
+
sortDirection: "NONE" | "ASC" | "DESC";
|
|
205
|
+
title: string;
|
|
206
|
+
alias: string;
|
|
207
|
+
fixedShow: boolean;
|
|
208
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
209
|
+
columnWidth: number | null;
|
|
210
|
+
editable: boolean;
|
|
211
|
+
editableDisable: boolean;
|
|
212
|
+
required: boolean;
|
|
213
|
+
requiredDisable: boolean;
|
|
214
|
+
hide: boolean;
|
|
215
|
+
}>;
|
|
216
|
+
idx: number;
|
|
217
|
+
fieldList: Partial<{
|
|
113
218
|
[key: string]: any;
|
|
114
219
|
id: string;
|
|
115
220
|
name: string;
|
|
@@ -127,6 +232,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
127
232
|
requiredDisable: boolean;
|
|
128
233
|
hide: boolean;
|
|
129
234
|
}>[];
|
|
130
|
-
element: AnyObject;
|
|
131
235
|
}>;
|
|
132
236
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,openBlock as l,createElementBlock as t,Fragment as
|
|
1
|
+
import{defineComponent as e,openBlock as l,createElementBlock as t,Fragment as i,renderList as n,normalizeStyle as a,unref as r,createBlock as o,withCtx as u,createVNode as d,createCommentVNode as s,createTextVNode as f,toDisplayString as c,withDirectives as m,vShow as p,createElementVNode as v}from"vue";import{NTooltip as y,NIcon as b,NCheckbox as k,NSelect as h,NInput as x,NInputNumber as N}from"naive-ui";import{setStyle as g,isDisable as U}from"../utils/index.js";import{ReorderTwoOutline as E}from"@vicons/ionicons5";import{range as O}from"lodash-es";const P={class:"row"},w=["title"],C=v("span",null,"拖拽调整顺序",-1);var D=e({__name:"Row",props:{element:{type:Object,default:()=>({})},columns:{type:Array,default:()=>[]},idx:{type:Number,default:1},fieldList:{type:Array,default:()=>[]}},emits:["updateChecked"],setup(e,{emit:v}){const D=e,L=[{label:"不固定",value:"NONE"},{label:"左固定",value:"LEFT"},{label:"右固定",value:"RIGHT"}],S=[{label:"不排序",value:"NONE"},{label:"升序",value:"ASC"},{label:"降序",value:"DESC"}];function A(e){switch(e.field){case"fixedWay":return L;case"sortDirection":return S;case"sortPriority":return function(){const e=O(1,D.fieldList.length+1).map((e=>({label:e.toString(),value:e}))),l=D.fieldList.filter((e=>!!e.sortPriority&&e.uuid!==D.element.uuid)).map((e=>e.sortPriority));return e.filter((e=>!l.includes(e.value)))}();default:return[]}}function _(e){if("sortPriority"!==e.field)return!1;const{sortDirection:l}=D.element;return!l||"NONE"===l}return(O,L)=>(l(),t("div",P,[(l(!0),t(i,null,n(e.columns,((n,O)=>(l(),t(i,{key:O},[n.isShow?(l(),t("span",{key:0,class:"table-cell",title:e.element[n.field],style:a(r(g)(n))},["text"===n.type?(l(),t(i,{key:0},[0===O?(l(),o(r(y),{key:0,trigger:"hover"},{trigger:u((()=>[d(r(b),{style:{"margin-right":"5px",top:"2px"},component:r(E)},null,8,["component"])])),default:u((()=>[C])),_:1})):s("v-if",!0),f(" "+c("seq"===n.field?e.idx:e.element[n.field]),1)],64)):s("v-if",!0),"checkbox"===n.type?m((l(),o(r(k),{key:1,disabled:r(U)(e.element,n.field),checked:e.element[n.field],"onUpdate:checked":[l=>e.element[n.field]=l,e=>function(e,l){v("updateChecked",{checked:e,column:l})}(e,n)]},null,8,["disabled","checked","onUpdate:checked"])),[[p,"0001"!=e.element.id]]):s("v-if",!0),"select"===n.type?m((l(),o(r(h),{key:2,clearable:"",disabled:_(n),value:e.element[n.field],"onUpdate:value":[l=>e.element[n.field]=l,e=>function(e,l){"sortDirection"===l.field&&"NONE"===e&&(D.element.sortPriority=null)}(e,n)],options:A(n)},null,8,["disabled","value","onUpdate:value","options"])),[[p,"fixedWay"===n.field||"0001"!=e.element.id]]):s("v-if",!0),"input"===n.type?m((l(),o(r(x),{key:3,value:e.element[n.field],"onUpdate:value":l=>e.element[n.field]=l,clearable:""},null,8,["value","onUpdate:value"])),[[p,"0001"!=e.element.id]]):s("v-if",!0),"inputNumber"===n.type?(l(),o(r(N),{key:4,value:e.element[n.field],"onUpdate:value":l=>e.element[n.field]=l},null,8,["value","onUpdate:value"])):s("v-if",!0)],12,w)):s("v-if",!0)],64)))),128))]))}});export{D as default};
|
|
@@ -16,7 +16,7 @@ export declare type FieldSetItem = Partial<{
|
|
|
16
16
|
hide: boolean;
|
|
17
17
|
[key: string]: any;
|
|
18
18
|
}>;
|
|
19
|
-
export declare type FieldSetColumnName = 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'fixedWay' | 'alias' | 'columnWidth';
|
|
19
|
+
export declare type FieldSetColumnName = 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'sortPriority' | 'fixedWay' | 'alias' | 'columnWidth';
|
|
20
20
|
export declare type FieldSetColumnItem = {
|
|
21
21
|
title: string;
|
|
22
22
|
type: 'text' | 'checkbox' | 'select' | 'input' | 'inputNumber';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isArray as e,isObject as t}from"lodash-es";import{IhoTableRowGroupSequence as i}from"../../../iho-table/src/constants/index.js";function n(e){const t={flex:"1 1 90px"};switch(e.type){case"text":"title"===e.field&&Object.assign(t,{flex:"0 0 120px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"});break;case"checkbox":t.flex="1 1 60px";break;case"select":t.flex="1 1 80px";break;case"input":t.flex="1 1 100px"}return t}function s(e,t){return["editable","required"].includes(t)&&e[`${t}Disable`]||["sort"].includes(t)&&1==e.notParticipatingSort}function
|
|
1
|
+
import{isArray as e,isObject as t}from"lodash-es";import{IhoTableRowGroupSequence as i}from"../../../iho-table/src/constants/index.js";function n(e){const t={flex:"1 1 90px"};switch(e.type){case"text":"title"===e.field&&Object.assign(t,{flex:"0 0 120px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}),"seq"===e.field&&(t.flex="1 1 40px");break;case"checkbox":t.flex="1 1 60px";break;case"select":t.flex="1 1 80px";break;case"input":t.flex="1 1 100px"}return t}function s(e,t){return["editable","required"].includes(t)&&e[`${t}Disable`]||["sort"].includes(t)&&1==e.notParticipatingSort}function l(n,s,l=(e=>e.name)){const r=s.map((e=>l(e)));return i.some((i=>{const s=n[i];if(!e(s))return!0;s.forEach((i=>{if(!e(i.list)||!i.list.length)return;const n=[];let s=null;i.list.forEach(((e,l)=>{const c=function(e,i,n){return i.findIndex((i=>i!==n&&(t(i)?i.fieldName:i)===e))}(e,r,s);~c&&(n.push(r[c]),0===l?r.splice(c,1,s={fieldName:i.title,children:n}):r.splice(c,1))}))}))})),r}export{l as getGroupTree,s as isDisable,n as setStyle};
|
|
@@ -7052,7 +7052,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7052
7052
|
lineBreakFormRef: import("vue").Ref<import("..").FormRenderExpose | undefined>;
|
|
7053
7053
|
initialData: Partial<import("./src/types").FormConfigItem>;
|
|
7054
7054
|
emit: (event: "submit", payload: import("./src/types").FormConfigItem) => void;
|
|
7055
|
-
submit: (type: string, formRef?: import("..").FormRenderExpose | undefined) => Promise<void>;
|
|
7055
|
+
submit: (type: string, props?: import("../../../es/shared/types").AnyObject | undefined, formRef?: import("..").FormRenderExpose | undefined) => Promise<void>;
|
|
7056
7056
|
pick: {
|
|
7057
7057
|
<T extends object, U extends keyof T>(object: T, ...props: import("lodash").Many<U>[]): Pick<T, U>;
|
|
7058
7058
|
<T_1>(object: T_1 | null | undefined, ...props: import("lodash").Many<import("lodash").PropertyPath>[]): Partial<T_1>;
|
|
@@ -7054,7 +7054,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7054
7054
|
lineBreakFormRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
7055
7055
|
initialData: Partial<FormConfigItem>;
|
|
7056
7056
|
emit: (event: "submit", payload: FormConfigItem) => void;
|
|
7057
|
-
submit: (type: string, formRef?: FormRenderExpose | undefined) => Promise<void>;
|
|
7057
|
+
submit: (type: string, props?: import("../../../../es/shared/types").AnyObject | undefined, formRef?: FormRenderExpose | undefined) => Promise<void>;
|
|
7058
7058
|
pick: {
|
|
7059
7059
|
<T extends object, U extends keyof T>(object: T, ...props: import("lodash").Many<U>[]): Pick<T, U>;
|
|
7060
7060
|
<T_1>(object: T_1 | null | undefined, ...props: import("lodash").Many<import("lodash").PropertyPath>[]): Partial<T_1>;
|