cnhis-design-vue 3.1.37-beta.0 → 3.1.37-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -123
- package/es/components/big-table/src/BigTable.vue.d.ts +9 -3
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/form-config/index.d.ts +22 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +22 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +11 -0
- package/es/components/form-render/index.d.ts +11 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +12 -1
- package/es/components/form-render/src/FormRender.vue.js +11 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/formItem.js +16 -13
- package/es/components/form-render/src/constants/index.d.ts +12 -0
- package/es/components/form-render/src/constants/index.js +14 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +0 -4
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +7 -0
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +84 -0
- package/es/components/form-render/src/types/index.d.ts +17 -0
- package/es/components/iho-table/index.d.ts +9 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +9 -0
- package/es/components/iho-table/src/IhoTable.vue.js +9 -4
- package/es/components/iho-table/src/constants/index.js +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.js +15 -21
- package/es/components/iho-table/src/types/index.d.ts +2 -2
- package/es/components/iho-table/src/utils/index.d.ts +3 -2
- package/es/components/iho-table/src/utils/index.js +5 -2
- package/es/components/shortcut-setter/index.d.ts +11 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +11 -0
- package/es/shared/assets/img/failure.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- package/es/shared/assets/img/no-permission.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- package/es/shared/assets/img/xb_big.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/shared/utils/clickoutside.d.ts +0 -18
- package/es/shared/utils/clickoutside.js +0 -52
- package/es/shared/utils/state.d.ts +0 -29
- package/es/shared/utils/state.js +0 -44
|
@@ -292,6 +292,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
292
292
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
293
293
|
default: boolean;
|
|
294
294
|
};
|
|
295
|
+
lowCodeReactions: {
|
|
296
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
297
|
+
};
|
|
295
298
|
}, {
|
|
296
299
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
297
300
|
fieldList: {
|
|
@@ -414,6 +417,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
414
417
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
415
418
|
default: boolean;
|
|
416
419
|
};
|
|
420
|
+
lowCodeReactions: {
|
|
421
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
422
|
+
};
|
|
417
423
|
}>> & {
|
|
418
424
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
419
425
|
}>>;
|
|
@@ -422,6 +428,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
422
428
|
formModel: import("@formily/core").Form<{
|
|
423
429
|
[x: string]: any;
|
|
424
430
|
}>;
|
|
431
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
432
|
+
triggerAllReactionsHandler: () => void;
|
|
425
433
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
426
434
|
businessCollector: import("..").BusinessCollector;
|
|
427
435
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
@@ -792,6 +800,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
792
800
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
793
801
|
default: boolean;
|
|
794
802
|
};
|
|
803
|
+
lowCodeReactions: {
|
|
804
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
805
|
+
};
|
|
795
806
|
}>> & {
|
|
796
807
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
797
808
|
}, {
|
|
@@ -2778,6 +2789,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2778
2789
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
2779
2790
|
default: boolean;
|
|
2780
2791
|
};
|
|
2792
|
+
lowCodeReactions: {
|
|
2793
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
2794
|
+
};
|
|
2781
2795
|
}, {
|
|
2782
2796
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2783
2797
|
fieldList: {
|
|
@@ -2900,6 +2914,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2900
2914
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
2901
2915
|
default: boolean;
|
|
2902
2916
|
};
|
|
2917
|
+
lowCodeReactions: {
|
|
2918
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
2919
|
+
};
|
|
2903
2920
|
}>> & {
|
|
2904
2921
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2905
2922
|
}>>;
|
|
@@ -2908,6 +2925,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2908
2925
|
formModel: import("@formily/core").Form<{
|
|
2909
2926
|
[x: string]: any;
|
|
2910
2927
|
}>;
|
|
2928
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
2929
|
+
triggerAllReactionsHandler: () => void;
|
|
2911
2930
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
2912
2931
|
businessCollector: import("..").BusinessCollector;
|
|
2913
2932
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
@@ -3278,6 +3297,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3278
3297
|
type: import("vue").PropType<boolean | ((fieldItem: import("..").FieldItem) => boolean | void)>;
|
|
3279
3298
|
default: boolean;
|
|
3280
3299
|
};
|
|
3300
|
+
lowCodeReactions: {
|
|
3301
|
+
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
3302
|
+
};
|
|
3281
3303
|
}>> & {
|
|
3282
3304
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3283
3305
|
}, {
|
|
@@ -293,6 +293,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
294
294
|
default: boolean;
|
|
295
295
|
};
|
|
296
|
+
lowCodeReactions: {
|
|
297
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
298
|
+
};
|
|
296
299
|
}, {
|
|
297
300
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
298
301
|
fieldList: {
|
|
@@ -415,6 +418,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
415
418
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
416
419
|
default: boolean;
|
|
417
420
|
};
|
|
421
|
+
lowCodeReactions: {
|
|
422
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
423
|
+
};
|
|
418
424
|
}>> & {
|
|
419
425
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
420
426
|
}>>;
|
|
@@ -423,6 +429,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
423
429
|
formModel: import("@formily/core").Form<{
|
|
424
430
|
[x: string]: any;
|
|
425
431
|
}>;
|
|
432
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
433
|
+
triggerAllReactionsHandler: () => void;
|
|
426
434
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
427
435
|
businessCollector: import("../..").BusinessCollector;
|
|
428
436
|
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
@@ -793,6 +801,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
793
801
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
794
802
|
default: boolean;
|
|
795
803
|
};
|
|
804
|
+
lowCodeReactions: {
|
|
805
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
806
|
+
};
|
|
796
807
|
}>> & {
|
|
797
808
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
798
809
|
}, {
|
|
@@ -2779,6 +2790,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2779
2790
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
2780
2791
|
default: boolean;
|
|
2781
2792
|
};
|
|
2793
|
+
lowCodeReactions: {
|
|
2794
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
2795
|
+
};
|
|
2782
2796
|
}, {
|
|
2783
2797
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2784
2798
|
fieldList: {
|
|
@@ -2901,6 +2915,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2901
2915
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
2902
2916
|
default: boolean;
|
|
2903
2917
|
};
|
|
2918
|
+
lowCodeReactions: {
|
|
2919
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
2920
|
+
};
|
|
2904
2921
|
}>> & {
|
|
2905
2922
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2906
2923
|
}>>;
|
|
@@ -2909,6 +2926,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2909
2926
|
formModel: import("@formily/core").Form<{
|
|
2910
2927
|
[x: string]: any;
|
|
2911
2928
|
}>;
|
|
2929
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
2930
|
+
triggerAllReactionsHandler: () => void;
|
|
2912
2931
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
2913
2932
|
businessCollector: import("../..").BusinessCollector;
|
|
2914
2933
|
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
@@ -3279,6 +3298,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3279
3298
|
type: PropType<boolean | ((fieldItem: import("../..").FieldItem) => boolean | void)>;
|
|
3280
3299
|
default: boolean;
|
|
3281
3300
|
};
|
|
3301
|
+
lowCodeReactions: {
|
|
3302
|
+
type: PropType<import("../..").FormLowCodeReactions.Config[]>;
|
|
3303
|
+
};
|
|
3282
3304
|
}>> & {
|
|
3283
3305
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3284
3306
|
}, {
|
|
@@ -142,6 +142,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
142
142
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
143
143
|
default: boolean;
|
|
144
144
|
};
|
|
145
|
+
lowCodeReactions: {
|
|
146
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
147
|
+
};
|
|
145
148
|
}, {
|
|
146
149
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
147
150
|
fieldList: {
|
|
@@ -264,6 +267,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
264
267
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
265
268
|
default: boolean;
|
|
266
269
|
};
|
|
270
|
+
lowCodeReactions: {
|
|
271
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
272
|
+
};
|
|
267
273
|
}>> & {
|
|
268
274
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
269
275
|
}>>;
|
|
@@ -272,6 +278,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
272
278
|
formModel: import("../../../../../es/components/form-render").Form<{
|
|
273
279
|
[x: string]: any;
|
|
274
280
|
}>;
|
|
281
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
282
|
+
triggerAllReactionsHandler: () => void;
|
|
275
283
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
276
284
|
businessCollector: import("../../../../../es/components/form-render").BusinessCollector;
|
|
277
285
|
formItemDepsCollector: import("../../../../../es/components/form-render").FormItemDepsCollector;
|
|
@@ -642,6 +650,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
642
650
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
643
651
|
default: boolean;
|
|
644
652
|
};
|
|
653
|
+
lowCodeReactions: {
|
|
654
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
655
|
+
};
|
|
645
656
|
}>> & {
|
|
646
657
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
647
658
|
}, {
|
|
@@ -1862,6 +1862,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1862
1862
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
1863
1863
|
default: boolean;
|
|
1864
1864
|
};
|
|
1865
|
+
lowCodeReactions: {
|
|
1866
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
1867
|
+
};
|
|
1865
1868
|
}, {
|
|
1866
1869
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1867
1870
|
fieldList: {
|
|
@@ -1984,6 +1987,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1984
1987
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
1985
1988
|
default: boolean;
|
|
1986
1989
|
};
|
|
1990
|
+
lowCodeReactions: {
|
|
1991
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
1992
|
+
};
|
|
1987
1993
|
}>> & {
|
|
1988
1994
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
1989
1995
|
}>>;
|
|
@@ -1992,6 +1998,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1992
1998
|
formModel: import("../../../../../es/components/form-render").Form<{
|
|
1993
1999
|
[x: string]: any;
|
|
1994
2000
|
}>;
|
|
2001
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
2002
|
+
triggerAllReactionsHandler: () => void;
|
|
1995
2003
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
1996
2004
|
businessCollector: import("../../../../../es/components/form-render").BusinessCollector;
|
|
1997
2005
|
formItemDepsCollector: import("../../../../../es/components/form-render").FormItemDepsCollector;
|
|
@@ -2362,6 +2370,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2362
2370
|
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
2363
2371
|
default: boolean;
|
|
2364
2372
|
};
|
|
2373
|
+
lowCodeReactions: {
|
|
2374
|
+
type: import("vue").PropType<import("../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
2375
|
+
};
|
|
2365
2376
|
}>> & {
|
|
2366
2377
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2367
2378
|
}, {
|
|
@@ -129,6 +129,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
129
129
|
type: import("vue").PropType<boolean | ((fieldItem: import("./src/types").FieldItem) => boolean | void)>;
|
|
130
130
|
default: boolean;
|
|
131
131
|
};
|
|
132
|
+
lowCodeReactions: {
|
|
133
|
+
type: import("vue").PropType<import("./src/types").FormLowCodeReactions.Config[]>;
|
|
134
|
+
};
|
|
132
135
|
}, {
|
|
133
136
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
134
137
|
fieldList: {
|
|
@@ -251,6 +254,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
251
254
|
type: import("vue").PropType<boolean | ((fieldItem: import("./src/types").FieldItem) => boolean | void)>;
|
|
252
255
|
default: boolean;
|
|
253
256
|
};
|
|
257
|
+
lowCodeReactions: {
|
|
258
|
+
type: import("vue").PropType<import("./src/types").FormLowCodeReactions.Config[]>;
|
|
259
|
+
};
|
|
254
260
|
}>> & {
|
|
255
261
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
256
262
|
}>>;
|
|
@@ -259,6 +265,8 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
259
265
|
formModel: import("@formily/core/esm/models/Form").Form<{
|
|
260
266
|
[x: string]: any;
|
|
261
267
|
}>;
|
|
268
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
269
|
+
triggerAllReactionsHandler: () => void;
|
|
262
270
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
263
271
|
businessCollector: import("./src/hooks").BusinessCollector;
|
|
264
272
|
formItemDepsCollector: import("./src/hooks").FormItemDepsCollector;
|
|
@@ -629,6 +637,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
629
637
|
type: import("vue").PropType<boolean | ((fieldItem: import("./src/types").FieldItem) => boolean | void)>;
|
|
630
638
|
default: boolean;
|
|
631
639
|
};
|
|
640
|
+
lowCodeReactions: {
|
|
641
|
+
type: import("vue").PropType<import("./src/types").FormLowCodeReactions.Config[]>;
|
|
642
|
+
};
|
|
632
643
|
}>> & {
|
|
633
644
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
634
645
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../es/shared/types';
|
|
2
2
|
import { Component, FunctionalComponent, PropType } from 'vue';
|
|
3
3
|
import { RequestInstance } from './hooks';
|
|
4
|
-
import { FieldItem, FieldVisitor, FormBusinessFormatter } from './types';
|
|
4
|
+
import { FieldItem, FieldVisitor, FormBusinessFormatter, FormLowCodeReactions } from './types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
fieldList: {
|
|
7
7
|
type: PropType<FieldItem[]>;
|
|
@@ -123,6 +123,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
type: PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
124
124
|
default: boolean;
|
|
125
125
|
};
|
|
126
|
+
lowCodeReactions: {
|
|
127
|
+
type: PropType<FormLowCodeReactions.Config[]>;
|
|
128
|
+
};
|
|
126
129
|
}, {
|
|
127
130
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
128
131
|
fieldList: {
|
|
@@ -245,6 +248,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
245
248
|
type: PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
246
249
|
default: boolean;
|
|
247
250
|
};
|
|
251
|
+
lowCodeReactions: {
|
|
252
|
+
type: PropType<FormLowCodeReactions.Config[]>;
|
|
253
|
+
};
|
|
248
254
|
}>> & {
|
|
249
255
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
250
256
|
}>>;
|
|
@@ -253,6 +259,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
259
|
formModel: import("@formily/core").Form<{
|
|
254
260
|
[x: string]: any;
|
|
255
261
|
}>;
|
|
262
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
263
|
+
triggerAllReactionsHandler: () => void;
|
|
256
264
|
SchemaField: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
257
265
|
businessCollector: import("./hooks").BusinessCollector;
|
|
258
266
|
formItemDepsCollector: import("./hooks").FormItemDepsCollector;
|
|
@@ -623,6 +631,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
623
631
|
type: PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
624
632
|
default: boolean;
|
|
625
633
|
};
|
|
634
|
+
lowCodeReactions: {
|
|
635
|
+
type: PropType<FormLowCodeReactions.Config[]>;
|
|
636
|
+
};
|
|
626
637
|
}>> & {
|
|
627
638
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
628
639
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, onMounted, ref, watch, openBlock, createBlock, unref, withCtx, createElementBlock, createVNode, isRef, Fragment, renderList, createCommentVNode, createElementVNode, normalizeStyle, withKeys, withModifiers, toDisplayString, nextTick } from 'vue';
|
|
2
2
|
import { arrayed, findAncestor } from '../../../shared/utils/index.js';
|
|
3
3
|
import { createForm, onFieldValueChange, isField } from '@formily/core';
|
|
4
4
|
import { Path } from '@formily/path';
|
|
@@ -8,6 +8,7 @@ import { cloneDeep, isArray, isFunction } from 'lodash-es';
|
|
|
8
8
|
import { NForm, NTabs, NTabPane, NConfigProvider } from 'naive-ui';
|
|
9
9
|
import { NESTED_FORM_ITEM_TYPE, FormItemLineBarDepKeyPrepend } from './constants/index.js';
|
|
10
10
|
import { useFormRenderLifeCycle } from './hooks/useFormRenderLifeCycle.js';
|
|
11
|
+
import { useLowCodeReactions } from './hooks/useLowCodeReactions.js';
|
|
11
12
|
import { useNuiThemeOverrides } from './hooks/useNuiThemeOverrides.js';
|
|
12
13
|
import { validateMessageParser, combineExtendKey, splitExtendKey } from './utils/index.js';
|
|
13
14
|
import { useFieldListAdaptor } from './hooks/useFieldListAdaptor.js';
|
|
@@ -63,6 +64,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
64
|
enterToNextWidget: {
|
|
64
65
|
type: [Boolean, Function],
|
|
65
66
|
default: true
|
|
67
|
+
},
|
|
68
|
+
lowCodeReactions: {
|
|
69
|
+
type: Array
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
72
|
emits: [
|
|
@@ -87,9 +91,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
91
|
value: field.value,
|
|
88
92
|
context: changeContextCollector.getContext(fieldKey, field.value)
|
|
89
93
|
});
|
|
94
|
+
lowCodeReactionsHandler(fieldKey, field.value);
|
|
90
95
|
});
|
|
91
96
|
}
|
|
92
97
|
});
|
|
98
|
+
const { lowCodeReactionsHandler, triggerAllReactionsHandler } = useLowCodeReactions(
|
|
99
|
+
computed(() => props.lowCodeReactions),
|
|
100
|
+
formModel
|
|
101
|
+
);
|
|
102
|
+
onMounted(triggerAllReactionsHandler);
|
|
93
103
|
const { SchemaField, businessCollector, formItemDepsCollector, changeContextCollector, formUUID } = useFormContext(
|
|
94
104
|
props,
|
|
95
105
|
formModel
|
|
@@ -126,6 +126,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
126
126
|
type: import("vue").PropType<boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void)>;
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
|
+
lowCodeReactions: {
|
|
130
|
+
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
131
|
+
};
|
|
129
132
|
}, {
|
|
130
133
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
131
134
|
fieldList: {
|
|
@@ -248,6 +251,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
248
251
|
type: import("vue").PropType<boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void)>;
|
|
249
252
|
default: boolean;
|
|
250
253
|
};
|
|
254
|
+
lowCodeReactions: {
|
|
255
|
+
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
256
|
+
};
|
|
251
257
|
}>> & {
|
|
252
258
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
253
259
|
}>>;
|
|
@@ -256,6 +262,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
256
262
|
formModel: import("../../../../es/components/form-render").Form<{
|
|
257
263
|
[x: string]: any;
|
|
258
264
|
}>;
|
|
265
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
266
|
+
triggerAllReactionsHandler: () => void;
|
|
259
267
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
260
268
|
businessCollector: import("../../../../es/components/form-render").BusinessCollector;
|
|
261
269
|
formItemDepsCollector: import("../../../../es/components/form-render").FormItemDepsCollector;
|
|
@@ -626,6 +634,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
626
634
|
type: import("vue").PropType<boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void)>;
|
|
627
635
|
default: boolean;
|
|
628
636
|
};
|
|
637
|
+
lowCodeReactions: {
|
|
638
|
+
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
639
|
+
};
|
|
629
640
|
}>> & {
|
|
630
641
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
631
642
|
}, {
|
|
@@ -74,19 +74,22 @@ const script = defineComponent({
|
|
|
74
74
|
"message": props.remark
|
|
75
75
|
}, null)]) : null, showAnnotation.value ? renderAnnotation() : null]) : null]) : null;
|
|
76
76
|
}
|
|
77
|
-
return () =>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
77
|
+
return () => {
|
|
78
|
+
var _a;
|
|
79
|
+
return createVNode(NFormItem, mergeProps({
|
|
80
|
+
"class": "form-render__formItem",
|
|
81
|
+
"style": {
|
|
82
|
+
"--form-item-column": ((_a = props.span) != null ? _a : 3) * 2
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
id: id.value,
|
|
86
|
+
"widget-type": field.value.componentType,
|
|
87
|
+
"form-field": field.value.path.toString()
|
|
88
|
+
}), {
|
|
89
|
+
...slots,
|
|
90
|
+
label: renderLabel
|
|
91
|
+
});
|
|
92
|
+
};
|
|
90
93
|
}
|
|
91
94
|
});
|
|
92
95
|
const FORM_ITEM = connect(script, mapProps({
|
|
@@ -39,4 +39,16 @@ export declare enum FIELD_AGE_UNIT {
|
|
|
39
39
|
WEEK = "W",
|
|
40
40
|
MINUTE = "N"
|
|
41
41
|
}
|
|
42
|
+
export declare enum LOW_CODE_VALUE_RELATION {
|
|
43
|
+
EQ = "EQ",
|
|
44
|
+
NEQ = "NEQ",
|
|
45
|
+
CL = "CL",
|
|
46
|
+
NC = "NC",
|
|
47
|
+
NULL = "NULL",
|
|
48
|
+
NOT_NULL = "NOT_NULL",
|
|
49
|
+
BIG = "BIG",
|
|
50
|
+
BIGEQ = "BIGEQ",
|
|
51
|
+
LESS = "LESS",
|
|
52
|
+
LESSEQ = "LESSEQ"
|
|
53
|
+
}
|
|
42
54
|
export declare const NESTED_FORM_ITEM_TYPE: string[];
|
|
@@ -41,6 +41,19 @@ var FIELD_AGE_UNIT = /* @__PURE__ */ ((FIELD_AGE_UNIT2) => {
|
|
|
41
41
|
FIELD_AGE_UNIT2["MINUTE"] = "N";
|
|
42
42
|
return FIELD_AGE_UNIT2;
|
|
43
43
|
})(FIELD_AGE_UNIT || {});
|
|
44
|
+
var LOW_CODE_VALUE_RELATION = /* @__PURE__ */ ((LOW_CODE_VALUE_RELATION2) => {
|
|
45
|
+
LOW_CODE_VALUE_RELATION2["EQ"] = "EQ";
|
|
46
|
+
LOW_CODE_VALUE_RELATION2["NEQ"] = "NEQ";
|
|
47
|
+
LOW_CODE_VALUE_RELATION2["CL"] = "CL";
|
|
48
|
+
LOW_CODE_VALUE_RELATION2["NC"] = "NC";
|
|
49
|
+
LOW_CODE_VALUE_RELATION2["NULL"] = "NULL";
|
|
50
|
+
LOW_CODE_VALUE_RELATION2["NOT_NULL"] = "NOT_NULL";
|
|
51
|
+
LOW_CODE_VALUE_RELATION2["BIG"] = "BIG";
|
|
52
|
+
LOW_CODE_VALUE_RELATION2["BIGEQ"] = "BIGEQ";
|
|
53
|
+
LOW_CODE_VALUE_RELATION2["LESS"] = "LESS";
|
|
54
|
+
LOW_CODE_VALUE_RELATION2["LESSEQ"] = "LESSEQ";
|
|
55
|
+
return LOW_CODE_VALUE_RELATION2;
|
|
56
|
+
})(LOW_CODE_VALUE_RELATION || {});
|
|
44
57
|
const NESTED_FORM_ITEM_TYPE = ["COMPLEX", "COMBINATION"];
|
|
45
58
|
|
|
46
|
-
export { FIELD_AGE_UNIT, FIELD_BUSINESS_TYPE, FIELD_SEX_VALUE, FormItemLineBarDepKeyPrepend, InjectionAnnotation, InjectionAsyncQueue, InjectionBusinessCollector, InjectionChangeContextCollector, InjectionFormItemDepsCollector, InjectionFormUUID, InjectionSchemaField, NESTED_FORM_ITEM_TYPE };
|
|
59
|
+
export { FIELD_AGE_UNIT, FIELD_BUSINESS_TYPE, FIELD_SEX_VALUE, FormItemLineBarDepKeyPrepend, InjectionAnnotation, InjectionAsyncQueue, InjectionBusinessCollector, InjectionChangeContextCollector, InjectionFormItemDepsCollector, InjectionFormUUID, InjectionSchemaField, LOW_CODE_VALUE_RELATION, NESTED_FORM_ITEM_TYPE };
|
|
@@ -59,10 +59,6 @@ function useFieldNormalize() {
|
|
|
59
59
|
});
|
|
60
60
|
return fieldItem;
|
|
61
61
|
});
|
|
62
|
-
FieldNormalizeWaterfallHook.tap("__elem_width", (fieldItem) => {
|
|
63
|
-
fieldItem.elem_width = ~~((fieldItem.elem_width || 3) * 2);
|
|
64
|
-
return fieldItem;
|
|
65
|
-
});
|
|
66
62
|
return { FieldNormalizeWaterfallHook };
|
|
67
63
|
}
|
|
68
64
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Form } from '@formily/core';
|
|
2
|
+
import { MaybeRef } from '@vueuse/core';
|
|
3
|
+
import { FormLowCodeReactions } from '../../../../../es/components/form-render';
|
|
4
|
+
export declare function useLowCodeReactions(configListRef: MaybeRef<FormLowCodeReactions.Config[] | undefined>, formModel: Form): {
|
|
5
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
6
|
+
triggerAllReactionsHandler: () => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { isField } from '@formily/core';
|
|
2
|
+
import { isArray, isString, includes, isEmpty, negate, gt, gte, lt, lte } from 'lodash-es';
|
|
3
|
+
import { computed, unref } from 'vue';
|
|
4
|
+
import { Path } from '@formily/path';
|
|
5
|
+
|
|
6
|
+
function useLowCodeReactions(configListRef, formModel) {
|
|
7
|
+
const compareMap = {
|
|
8
|
+
EQ: (v1, v2) => `${v1}` === v2,
|
|
9
|
+
NEQ: (v1, v2) => `${v1}` !== v2,
|
|
10
|
+
CL: (v1, v2) => isArray(v1) || isString(v1) ? includes(v1, v2) : false,
|
|
11
|
+
NC: (v1, v2) => isArray(v1) || isString(v1) ? !includes(v1, v2) : true,
|
|
12
|
+
NULL: isEmpty,
|
|
13
|
+
NOT_NULL: negate(isEmpty),
|
|
14
|
+
BIG: gt,
|
|
15
|
+
BIGEQ: gte,
|
|
16
|
+
LESS: lt,
|
|
17
|
+
LESSEQ: lte
|
|
18
|
+
};
|
|
19
|
+
const triggerMap = {
|
|
20
|
+
hideField: createFieldHandler((field) => field.setDisplay("none")),
|
|
21
|
+
showField: createFieldHandler((field) => field.setDisplay("visible")),
|
|
22
|
+
requiredField: createFieldHandler((field) => field.required = true),
|
|
23
|
+
notRequiredField: createFieldHandler((field) => {
|
|
24
|
+
field.required = false;
|
|
25
|
+
field.validate();
|
|
26
|
+
}),
|
|
27
|
+
enabledField: createFieldHandler((field) => field.editable = true),
|
|
28
|
+
disabledField: createFieldHandler((field) => field.editable = false)
|
|
29
|
+
};
|
|
30
|
+
function createFieldHandler(cb) {
|
|
31
|
+
return (fields) => {
|
|
32
|
+
fields.forEach((field) => {
|
|
33
|
+
const state = formModel.query(field).take();
|
|
34
|
+
state && isField(state) && cb(state);
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
const reactionKeys = computed(() => {
|
|
39
|
+
if (!unref(configListRef))
|
|
40
|
+
return [];
|
|
41
|
+
return unref(configListRef).reduce((res, config) => {
|
|
42
|
+
isArray(config.conObj) && config.conObj.forEach((conObj) => res.push(conObj.field_key));
|
|
43
|
+
return res;
|
|
44
|
+
}, []);
|
|
45
|
+
});
|
|
46
|
+
function lowCodeReactionsHandler(field, value) {
|
|
47
|
+
const configList = unref(configListRef);
|
|
48
|
+
if (!configList || !reactionKeys.value.includes(field))
|
|
49
|
+
return;
|
|
50
|
+
const matchedConfig = configList.find((config) => reactionMatcher(field, value, config.conObj));
|
|
51
|
+
matchedConfig && trigger(matchedConfig);
|
|
52
|
+
}
|
|
53
|
+
function trigger(config) {
|
|
54
|
+
Object.entries(config).forEach(([k, v]) => triggerMap[k] && triggerMap[k](v));
|
|
55
|
+
}
|
|
56
|
+
function triggerAllReactionsHandler() {
|
|
57
|
+
const configList = unref(configListRef);
|
|
58
|
+
if (!configList)
|
|
59
|
+
return;
|
|
60
|
+
const values = formModel.getFormState().values;
|
|
61
|
+
configList.forEach((config) => {
|
|
62
|
+
if (!isArray(config.conObj))
|
|
63
|
+
return;
|
|
64
|
+
if (!config.conObj.every(matcher))
|
|
65
|
+
return;
|
|
66
|
+
trigger(config);
|
|
67
|
+
});
|
|
68
|
+
function matcher(conObj) {
|
|
69
|
+
return conObjMatcher(conObj.field_key, Path.getIn(values, conObj.field_key), conObj);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function reactionMatcher(field, value, conObjs) {
|
|
73
|
+
return conObjs.every((conObj) => conObjMatcher(field, value, conObj));
|
|
74
|
+
}
|
|
75
|
+
function conObjMatcher(field, value, conObj) {
|
|
76
|
+
if (conObj.field_key !== field)
|
|
77
|
+
return;
|
|
78
|
+
const relation = compareMap[conObj.con] || (() => false);
|
|
79
|
+
return relation(value, `${conObj.value}`);
|
|
80
|
+
}
|
|
81
|
+
return { lowCodeReactionsHandler, triggerAllReactionsHandler };
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export { useLowCodeReactions };
|
|
@@ -82,3 +82,20 @@ export declare type FormBusinessFormatter = (payload: {
|
|
|
82
82
|
value: unknown;
|
|
83
83
|
type: FIELD_BUSINESS_TYPE;
|
|
84
84
|
}) => unknown;
|
|
85
|
+
export declare namespace FormLowCodeReactions {
|
|
86
|
+
type ConObj = {
|
|
87
|
+
con: string;
|
|
88
|
+
field_key: string;
|
|
89
|
+
value: unknown;
|
|
90
|
+
};
|
|
91
|
+
type Config = {
|
|
92
|
+
conObj: ConObj[];
|
|
93
|
+
} & Partial<{
|
|
94
|
+
showField: string[];
|
|
95
|
+
hideField: string[];
|
|
96
|
+
requiredField: string[];
|
|
97
|
+
notRequiredField: string[];
|
|
98
|
+
enabledField: string[];
|
|
99
|
+
disabledField: string[];
|
|
100
|
+
}>;
|
|
101
|
+
}
|
|
@@ -101,6 +101,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
101
101
|
onFormClick?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
onKeyboard?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
}>>;
|
|
104
|
+
__emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd", ...args: any[]) => void;
|
|
104
105
|
emits: (event: "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd", ...args: any[]) => void;
|
|
105
106
|
uuid: string;
|
|
106
107
|
$table: import("vue").Ref<import("vxe-table").VxeTableInstance | undefined>;
|
|
@@ -2028,6 +2029,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2028
2029
|
adaptive?: boolean | undefined;
|
|
2029
2030
|
} | undefined;
|
|
2030
2031
|
params?: any;
|
|
2032
|
+
onFormChange?: ((payload_0: import("../../../es/components/iho-table/src/types").IhoTableFormChangePayload) => void) | undefined;
|
|
2031
2033
|
onCopy?: ((params: import("vxe-table").VxeTableDefines.CopyEventParams) => void) | undefined;
|
|
2032
2034
|
onCut?: ((params: import("vxe-table").VxeTableDefines.CutEventParams) => void) | undefined;
|
|
2033
2035
|
onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
|
|
@@ -2087,6 +2089,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2087
2089
|
onCellAreaArrowsEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaArrowsEndEventParams) => void) | undefined;
|
|
2088
2090
|
onActiveCellChangeStart?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeStartEventParams) => void) | undefined;
|
|
2089
2091
|
onActiveCellChangeEnd?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeEndEventParams) => void) | undefined;
|
|
2092
|
+
onSettingClick?: (() => void) | undefined;
|
|
2093
|
+
onFormClick?: ((payload_0: import("../../../es/components/iho-table/src/types").IhoTableFormChangePayload) => void) | undefined;
|
|
2094
|
+
onKeyboard?: ((payload_0: import("../../../es/components/iho-table/src/types").IHoTableKeyboardPayload) => void) | undefined;
|
|
2090
2095
|
uuid?: string | undefined;
|
|
2091
2096
|
isTree?: import("../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
2092
2097
|
isBatchSelect?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
|
|
@@ -4489,6 +4494,10 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4489
4494
|
adaptive?: boolean | undefined;
|
|
4490
4495
|
} | undefined;
|
|
4491
4496
|
params?: any;
|
|
4497
|
+
onFormChange?: ((payload_0: import("../../../es/components/iho-table/src/types").IhoTableFormChangePayload) => void) | undefined;
|
|
4498
|
+
onSettingClick?: (() => void) | undefined;
|
|
4499
|
+
onFormClick?: ((payload_0: import("../../../es/components/iho-table/src/types").IhoTableFormChangePayload) => void) | undefined;
|
|
4500
|
+
onKeyboard?: ((payload_0: import("../../../es/components/iho-table/src/types").IHoTableKeyboardPayload) => void) | undefined;
|
|
4492
4501
|
uuid?: string | undefined;
|
|
4493
4502
|
isTree?: import("../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
4494
4503
|
isBatchSelect?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
|