cnhis-design-vue 3.1.16-beta.5 → 3.1.16-beta.8
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/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +2 -1
- package/es/packages/fabric-chart/src/hooks/constant.js +4 -4
- package/es/packages/fabric-chart/src/hooks/useCenter.js +20 -23
- package/es/packages/fabric-chart/src/hooks/useDraw.js +11 -4
- package/es/packages/fabric-chart/src/hooks/useEvent.js +11 -3
- package/es/packages/fabric-chart/src/hooks/useLeft.js +8 -4
- package/es/packages/fabric-chart/src/hooks/useTop.js +5 -8
- package/es/packages/form-config/index.d.ts +38 -24
- package/es/packages/form-config/src/FormConfig.vue.d.ts +38 -24
- package/es/packages/form-config/src/components/FormConfigCreator.vue.d.ts +10 -3
- package/es/packages/form-config/src/components/FormConfigEdit.vue.d.ts +15 -8
- package/es/packages/form-config/src/hooks/useSortable.d.ts +1 -0
- package/es/packages/form-render/index.d.ts +10 -3
- package/es/packages/form-render/src/FormRender.js +1 -0
- package/es/packages/form-render/src/FormRender.vue.d.ts +11 -4
- package/es/packages/form-render/src/components/renderer/cascader.d.ts +2 -14
- package/es/packages/form-render/src/components/renderer/cascader.js +2 -2
- package/es/packages/form-render/src/components/renderer/date.d.ts +20 -4
- package/es/packages/form-render/src/components/renderer/date.js +36 -20
- package/es/packages/form-render/src/components/renderer/select.d.ts +1 -10
- package/es/packages/form-render/src/components/renderer/select.js +11 -8
- package/es/packages/form-render/src/components/renderer/slider.d.ts +8 -344
- package/es/packages/form-render/src/components/renderer/slider.js +23 -1
- package/es/packages/form-render/src/hooks/useAnchor.js +7 -4
- package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -2
- package/es/packages/form-render/src/hooks/useBusinessBinding.js +9 -5
- package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +3 -3
- package/es/packages/form-render/src/hooks/useFormContext.js +1 -1
- package/es/packages/form-render/src/hooks/useFormValidator.js +13 -3
- package/es/packages/form-render/src/hooks/useInitialData.d.ts +1 -1
- package/es/packages/form-render/src/hooks/useInitialData.js +9 -4
- package/es/packages/form-render/src/types/fieldItem.d.ts +11 -12
- package/es/packages/form-render/src/types/index.d.ts +7 -0
- package/es/packages/form-render/src/utils/business.js +15 -2
- package/es/packages/form-render/src/utils/index.d.ts +1 -1
- package/es/packages/form-render/src/utils/index.js +5 -2
- package/es/packages/form-render/src/utils/schema.d.ts +1 -0
- package/es/packages/form-render/src/utils/schema.js +12 -1
- package/es/packages/shortcut-setter/index.d.ts +15 -8
- package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +15 -8
- package/package.json +1 -1
|
@@ -7,12 +7,12 @@ const TEMPERATURE_MENU = [
|
|
|
7
7
|
{
|
|
8
8
|
label: "\u836F\u7269\u964D\u6E29",
|
|
9
9
|
value: void 0,
|
|
10
|
-
type: "
|
|
10
|
+
type: "drugReduce"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
label: "\u7269\u7406\u964D\u6E29",
|
|
14
14
|
value: void 0,
|
|
15
|
-
type: "
|
|
15
|
+
type: "physicsReduce"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
label: "\u4E0D\u5347",
|
|
@@ -24,12 +24,12 @@ const PAIN_MENU = [
|
|
|
24
24
|
{
|
|
25
25
|
label: "\u836F\u7269\u964D\u75DB",
|
|
26
26
|
value: void 0,
|
|
27
|
-
type: "
|
|
27
|
+
type: "drugReduce"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
label: "\u7269\u7406\u964D\u75DB",
|
|
31
31
|
value: void 0,
|
|
32
|
-
type: "
|
|
32
|
+
type: "physicsReduce"
|
|
33
33
|
}
|
|
34
34
|
];
|
|
35
35
|
|
|
@@ -234,19 +234,19 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
234
234
|
lineAttr = {},
|
|
235
235
|
noRiseStyle = {},
|
|
236
236
|
verifiedStyle = {},
|
|
237
|
-
|
|
237
|
+
reduceStyle = {},
|
|
238
238
|
type = "circle"
|
|
239
239
|
} = item;
|
|
240
240
|
const pointList = [];
|
|
241
241
|
const lineList = [];
|
|
242
242
|
const otherList = [];
|
|
243
243
|
item.list.forEach((v, index) => {
|
|
244
|
-
var _a;
|
|
244
|
+
var _a, _b;
|
|
245
245
|
const points = getPointer(v, scaleValue);
|
|
246
246
|
const nextV = item.list[index + 1];
|
|
247
247
|
const nextPoint = getPointer(nextV, scaleValue);
|
|
248
|
-
let
|
|
249
|
-
if (points && scaleValue.type === "temperature") {
|
|
248
|
+
let reduceLine, reducePoint, noRiseText, arrowGroup, verifiedText;
|
|
249
|
+
if ((points == null ? void 0 : points.length) && (scaleValue.type === "temperature" || scaleValue.type === "pain")) {
|
|
250
250
|
if (v.noRise) {
|
|
251
251
|
if (typeof v.noRise === "string") {
|
|
252
252
|
noRiseText = drawText([points[0], points[1] + 5], {
|
|
@@ -285,24 +285,21 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
285
285
|
});
|
|
286
286
|
otherList.push(verifiedText);
|
|
287
287
|
}
|
|
288
|
-
if (v.
|
|
289
|
-
const
|
|
288
|
+
if (v.physicsReduce || v.drugReduce) {
|
|
289
|
+
const reduceY = cumputedY(scaleValue.type, scaleValue.list, v.physicsReduce || v.drugReduce);
|
|
290
|
+
reduceLine = drawLine([...points, points[0], reduceY], {
|
|
290
291
|
...lineAttr,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
};
|
|
294
|
-
const coolY = cumputedY(scaleValue.type, scaleValue.list, v.physicalCooling || v.drugCooling);
|
|
295
|
-
coolLine = drawLine([...points, points[0], coolY], {
|
|
296
|
-
...coolingLineStyle
|
|
292
|
+
...reduceStyle.line,
|
|
293
|
+
...defaultStyle
|
|
297
294
|
});
|
|
298
|
-
|
|
295
|
+
reducePoint = drawPoint(((_a = reduceStyle == null ? void 0 : reduceStyle.point) == null ? void 0 : _a.type) || "circle", {
|
|
299
296
|
left: points[0],
|
|
300
|
-
top:
|
|
301
|
-
...
|
|
297
|
+
top: reduceY,
|
|
298
|
+
...reduceStyle.point,
|
|
302
299
|
...defaultStyle
|
|
303
300
|
});
|
|
304
|
-
|
|
305
|
-
|
|
301
|
+
reduceLine && otherList.push(reduceLine);
|
|
302
|
+
reducePoint && otherList.push(reducePoint);
|
|
306
303
|
}
|
|
307
304
|
}
|
|
308
305
|
let point;
|
|
@@ -312,7 +309,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
312
309
|
...lineAttr
|
|
313
310
|
});
|
|
314
311
|
} else if (points && !nextPoint && !v.breakpoint && scaleValue.type === "temperature" && dataIndex < scaleValue.dataList.length - 1 && index === item.list.length - 1) {
|
|
315
|
-
const nextV2 = (
|
|
312
|
+
const nextV2 = (_b = scaleValue.dataList[dataIndex + 1].list) == null ? void 0 : _b[0];
|
|
316
313
|
const nextLinePoint = getPointer(nextV2, scaleValue);
|
|
317
314
|
line = nextLinePoint ? drawLine([...points, ...nextLinePoint], {
|
|
318
315
|
...lineAttr
|
|
@@ -338,8 +335,8 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
338
335
|
verifiedText,
|
|
339
336
|
leftLine: previousLine,
|
|
340
337
|
rightLine: line,
|
|
341
|
-
|
|
342
|
-
|
|
338
|
+
reduceLine,
|
|
339
|
+
reducePoint,
|
|
343
340
|
lockMovementX: true,
|
|
344
341
|
...pointAttr,
|
|
345
342
|
...propItems.event
|
|
@@ -456,9 +453,9 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
456
453
|
point.rightLine.setCoords();
|
|
457
454
|
point.rightLine.set({ x1: point.left, y1: point.top });
|
|
458
455
|
}
|
|
459
|
-
if (point.
|
|
460
|
-
point.
|
|
461
|
-
point.
|
|
456
|
+
if (point.reduceLine) {
|
|
457
|
+
point.reduceLine.setCoords();
|
|
458
|
+
point.reduceLine.set({ x1: point.left, y1: point.top });
|
|
462
459
|
}
|
|
463
460
|
if (point.noRiseText) {
|
|
464
461
|
point.noRiseText.setCoords();
|
|
@@ -44,12 +44,19 @@ function drawTextGroup(rectStyle, fontStyle, groupStyle) {
|
|
|
44
44
|
...defaultRectStyle,
|
|
45
45
|
...rectStyle
|
|
46
46
|
});
|
|
47
|
-
const
|
|
47
|
+
const { value = "\u6807\u9898", textAlign = "center", verticalAlign = "center" } = fontStyle;
|
|
48
|
+
const textLeft = rectStyle.width / 2;
|
|
49
|
+
const textTop = rectStyle.height / 2;
|
|
50
|
+
const texts = new fabric.Text(String(value), {
|
|
48
51
|
...defaultTextStyle,
|
|
49
52
|
...fontStyle,
|
|
50
|
-
...
|
|
51
|
-
originX:
|
|
52
|
-
left: -
|
|
53
|
+
...textAlign == "left" || textAlign == "right" ? {
|
|
54
|
+
originX: textAlign,
|
|
55
|
+
left: textAlign == "left" ? -textLeft : textLeft
|
|
56
|
+
} : {},
|
|
57
|
+
...verticalAlign == "top" || verticalAlign == "bottom" ? {
|
|
58
|
+
originY: verticalAlign,
|
|
59
|
+
top: verticalAlign == "top" ? -textTop : textTop
|
|
53
60
|
} : {}
|
|
54
61
|
});
|
|
55
62
|
return new fabric.Group([rect, texts], {
|
|
@@ -47,12 +47,20 @@ function useCanvasEvent(canvas, propItems, emits) {
|
|
|
47
47
|
if (index > 0) {
|
|
48
48
|
topY += propItems[`${topList[index - 1].key}Height`];
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
left: iconsWidth,
|
|
50
|
+
const commonOptions = {
|
|
52
51
|
top: topY + 1,
|
|
53
|
-
width: endX - iconsWidth,
|
|
54
52
|
height: propItems[`${item.key}Height`] - 1
|
|
53
|
+
};
|
|
54
|
+
selections2.push(drawRect({
|
|
55
|
+
left: iconsWidth,
|
|
56
|
+
width: originX - iconsWidth,
|
|
57
|
+
...commonOptions
|
|
55
58
|
}, item.key));
|
|
59
|
+
selections2.push(drawRect({
|
|
60
|
+
left: originX,
|
|
61
|
+
width: endX - originX,
|
|
62
|
+
...commonOptions
|
|
63
|
+
}, item.key + "Title"));
|
|
56
64
|
});
|
|
57
65
|
selections2.push(drawRect({
|
|
58
66
|
left: originX,
|
|
@@ -65,12 +65,14 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
65
65
|
const list = [];
|
|
66
66
|
if (item.showScale || item.showNumber) {
|
|
67
67
|
const { lineXMain, textLeft } = getScaleInfo(item.position, iconsWidth, originX - iconsWidth);
|
|
68
|
+
const listLen = item.list.length;
|
|
68
69
|
item.list.forEach((v, i) => {
|
|
69
70
|
let top = painOriginY.endY - i * yCellHeight * item.spaceGridNumber;
|
|
70
71
|
if (i === 0) {
|
|
71
72
|
top = endY - 5;
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
const isMaxMinNumber = i === 0 || i === listLen - 1;
|
|
75
|
+
if (item.showNumber && (isMaxMinNumber ? item.showMaxMinNumber : true)) {
|
|
74
76
|
list.push(drawScaleNumber(v, item, textLeft, top));
|
|
75
77
|
}
|
|
76
78
|
if (item.showScale && i !== 0) {
|
|
@@ -117,20 +119,22 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
117
119
|
const spaceScale = spaceGridNumber * yCellHeight / 5;
|
|
118
120
|
const position = item.position || "center";
|
|
119
121
|
const { lineXMain, lineXSub, textLeft } = getScaleInfo(item.position, rectLeft, rectWidth);
|
|
122
|
+
const listLen = item.list.length;
|
|
120
123
|
item.list.forEach((v, i) => {
|
|
121
124
|
const top = vitalSignsOriginY.endY - i * yCellHeight * spaceGridNumber;
|
|
122
|
-
|
|
125
|
+
const isMaxMinNumber = i === 0 || i === listLen - 1;
|
|
126
|
+
if (item.showNumber && (isMaxMinNumber ? item.showMaxMinNumber : true)) {
|
|
123
127
|
const text = drawScaleNumber(v, item, textLeft, i === 0 ? top - 5 : top);
|
|
124
128
|
list.push(text);
|
|
125
129
|
}
|
|
126
|
-
if (item.showScale && i !==
|
|
130
|
+
if (item.showScale && i !== listLen - 1) {
|
|
127
131
|
for (let j = 0; j < 5; j++) {
|
|
128
132
|
if (j > 0 || !item.showNumber || position !== "center") {
|
|
129
133
|
const x1 = j == 0 ? lineXMain[0] : lineXSub[0];
|
|
130
134
|
const x2 = j == 0 ? lineXMain[1] : lineXSub[1];
|
|
131
135
|
const y = top - j * spaceScale;
|
|
132
136
|
createLine([x1, y, x2, y]);
|
|
133
|
-
if (i ==
|
|
137
|
+
if (i == listLen - 2 && j == 4) {
|
|
134
138
|
createLine([lineXMain[0], y - spaceScale, lineXMain[1], y - spaceScale]);
|
|
135
139
|
}
|
|
136
140
|
}
|
|
@@ -24,7 +24,7 @@ function useTop(canvas, propItems) {
|
|
|
24
24
|
topY += propItems[`${topList[index - 1].key}Height`];
|
|
25
25
|
}
|
|
26
26
|
if (item.key == "xScalevalue") {
|
|
27
|
-
drawDay(list, topY);
|
|
27
|
+
drawDay(item, list, topY);
|
|
28
28
|
drawTime(item, list, topY);
|
|
29
29
|
} else {
|
|
30
30
|
propItems[`${item.key}Height`] && drawDate(item, list, topY);
|
|
@@ -35,7 +35,6 @@ function useTop(canvas, propItems) {
|
|
|
35
35
|
group && canvas.value.add(group);
|
|
36
36
|
}
|
|
37
37
|
function drawTime(item, list, topY) {
|
|
38
|
-
var _a;
|
|
39
38
|
const dayHeight = top.xScalevalue.show ? top.dayHeight || 0 : 0;
|
|
40
39
|
const height = xScalevalueHeight - dayHeight;
|
|
41
40
|
const title = drawTextGroup({
|
|
@@ -45,7 +44,7 @@ function useTop(canvas, propItems) {
|
|
|
45
44
|
}, {
|
|
46
45
|
value: top.xScalevalue.title,
|
|
47
46
|
...defaultTextStyle,
|
|
48
|
-
...
|
|
47
|
+
...item.style || {},
|
|
49
48
|
...item.titleStyle || {}
|
|
50
49
|
}, {
|
|
51
50
|
left: iconsWidth,
|
|
@@ -57,7 +56,6 @@ function useTop(canvas, propItems) {
|
|
|
57
56
|
timeList.push(top.xScalevalue.list);
|
|
58
57
|
}
|
|
59
58
|
timeList.flat().forEach((v, i) => {
|
|
60
|
-
var _a2;
|
|
61
59
|
const left = originX + i * xCellWidth;
|
|
62
60
|
const textGroup = drawTextGroup({
|
|
63
61
|
width: xCellWidth,
|
|
@@ -65,7 +63,7 @@ function useTop(canvas, propItems) {
|
|
|
65
63
|
}, {
|
|
66
64
|
value: v,
|
|
67
65
|
...defaultTextStyle,
|
|
68
|
-
...
|
|
66
|
+
...item.style || {}
|
|
69
67
|
}, {
|
|
70
68
|
left,
|
|
71
69
|
top: topY + dayHeight
|
|
@@ -73,8 +71,7 @@ function useTop(canvas, propItems) {
|
|
|
73
71
|
list.push(textGroup);
|
|
74
72
|
});
|
|
75
73
|
}
|
|
76
|
-
function drawDay(list, topY) {
|
|
77
|
-
var _a;
|
|
74
|
+
function drawDay(item, list, topY) {
|
|
78
75
|
if (!top.dayHeight)
|
|
79
76
|
return false;
|
|
80
77
|
const height = top.dayHeight;
|
|
@@ -89,7 +86,7 @@ function useTop(canvas, propItems) {
|
|
|
89
86
|
}, {
|
|
90
87
|
value,
|
|
91
88
|
...defaultTextStyle,
|
|
92
|
-
...
|
|
89
|
+
...item.style || {}
|
|
93
90
|
}, {
|
|
94
91
|
left,
|
|
95
92
|
top: topY
|
|
@@ -14,9 +14,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14
14
|
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
15
15
|
}>>;
|
|
16
16
|
commonConfig: {
|
|
17
|
-
onMove: ({ to, from }:
|
|
18
|
-
onChoose: ({ target, item }:
|
|
19
|
-
onUnchoose: ({ from, to, target, item }:
|
|
17
|
+
onMove: ({ to, from }: import("sortablejs").SortableEvent) => void;
|
|
18
|
+
onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
|
|
19
|
+
onUnchoose: ({ from, to, target, item }: import("sortablejs").SortableEvent) => void;
|
|
20
20
|
tag: string;
|
|
21
21
|
animation: string;
|
|
22
22
|
'item-key': string;
|
|
@@ -91,16 +91,16 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
91
91
|
date_format?: string | undefined;
|
|
92
92
|
step_length?: string | number | undefined;
|
|
93
93
|
urlConfig?: {
|
|
94
|
-
url
|
|
95
|
-
method?: "
|
|
94
|
+
url: string;
|
|
95
|
+
method?: import("..").FormRequestType | undefined;
|
|
96
|
+
nameKey?: string | undefined;
|
|
97
|
+
valueKey?: string | undefined;
|
|
98
|
+
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
96
99
|
dependKey?: string | Record<string, string> | (string | {
|
|
97
100
|
paramName: string;
|
|
98
101
|
paramValue?: string | undefined;
|
|
99
102
|
required?: boolean | undefined;
|
|
100
103
|
})[] | undefined;
|
|
101
|
-
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
102
|
-
nameKey?: string | undefined;
|
|
103
|
-
valueKey?: string | undefined;
|
|
104
104
|
} | undefined;
|
|
105
105
|
suffixConfig?: any | any[] | undefined;
|
|
106
106
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -1744,16 +1744,16 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1744
1744
|
date_format?: string | undefined;
|
|
1745
1745
|
step_length?: string | number | undefined;
|
|
1746
1746
|
urlConfig?: {
|
|
1747
|
-
url
|
|
1748
|
-
method?: "
|
|
1747
|
+
url: string;
|
|
1748
|
+
method?: import("..").FormRequestType | undefined;
|
|
1749
|
+
nameKey?: string | undefined;
|
|
1750
|
+
valueKey?: string | undefined;
|
|
1751
|
+
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
1749
1752
|
dependKey?: string | Record<string, string> | (string | {
|
|
1750
1753
|
paramName: string;
|
|
1751
1754
|
paramValue?: string | undefined;
|
|
1752
1755
|
required?: boolean | undefined;
|
|
1753
1756
|
})[] | undefined;
|
|
1754
|
-
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
1755
|
-
nameKey?: string | undefined;
|
|
1756
|
-
valueKey?: string | undefined;
|
|
1757
1757
|
} | undefined;
|
|
1758
1758
|
suffixConfig?: any | any[] | undefined;
|
|
1759
1759
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -3498,16 +3498,16 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3498
3498
|
date_format?: string | undefined;
|
|
3499
3499
|
step_length?: string | number | undefined;
|
|
3500
3500
|
urlConfig?: {
|
|
3501
|
-
url
|
|
3502
|
-
method?: "
|
|
3501
|
+
url: string;
|
|
3502
|
+
method?: import("..").FormRequestType | undefined;
|
|
3503
|
+
nameKey?: string | undefined;
|
|
3504
|
+
valueKey?: string | undefined;
|
|
3505
|
+
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
3503
3506
|
dependKey?: string | Record<string, string> | (string | {
|
|
3504
3507
|
paramName: string;
|
|
3505
3508
|
paramValue?: string | undefined;
|
|
3506
3509
|
required?: boolean | undefined;
|
|
3507
3510
|
})[] | undefined;
|
|
3508
|
-
params?: import("../../../es/src/types").AnyObject | undefined;
|
|
3509
|
-
nameKey?: string | undefined;
|
|
3510
|
-
valueKey?: string | undefined;
|
|
3511
3511
|
} | undefined;
|
|
3512
3512
|
suffixConfig?: any | any[] | undefined;
|
|
3513
3513
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -7038,6 +7038,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7038
7038
|
type: NumberConstructor;
|
|
7039
7039
|
default: number;
|
|
7040
7040
|
};
|
|
7041
|
+
businessFormatter: {
|
|
7042
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
7043
|
+
};
|
|
7041
7044
|
schema: {
|
|
7042
7045
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
7043
7046
|
[key: symbol]: any;
|
|
@@ -7150,6 +7153,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7150
7153
|
type: NumberConstructor;
|
|
7151
7154
|
default: number;
|
|
7152
7155
|
};
|
|
7156
|
+
businessFormatter: {
|
|
7157
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
7158
|
+
};
|
|
7153
7159
|
schema: {
|
|
7154
7160
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
7155
7161
|
[key: symbol]: any;
|
|
@@ -7239,9 +7245,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7239
7245
|
}>>;
|
|
7240
7246
|
emit: (event: "formChange", ...args: any[]) => void;
|
|
7241
7247
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
7242
|
-
formModel: import("@formily/core").Form<
|
|
7243
|
-
[x: string]: any;
|
|
7244
|
-
}>;
|
|
7248
|
+
formModel: import("@formily/core").Form<any>;
|
|
7245
7249
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
7246
7250
|
businessCollector: import("..").BusinessCollector;
|
|
7247
7251
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
@@ -8649,6 +8653,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8649
8653
|
type: NumberConstructor;
|
|
8650
8654
|
default: number;
|
|
8651
8655
|
};
|
|
8656
|
+
businessFormatter: {
|
|
8657
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
8658
|
+
};
|
|
8652
8659
|
schema: {
|
|
8653
8660
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
8654
8661
|
[key: symbol]: any;
|
|
@@ -12116,6 +12123,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12116
12123
|
type: NumberConstructor;
|
|
12117
12124
|
default: number;
|
|
12118
12125
|
};
|
|
12126
|
+
businessFormatter: {
|
|
12127
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
12128
|
+
};
|
|
12119
12129
|
schema: {
|
|
12120
12130
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
12121
12131
|
[key: symbol]: any;
|
|
@@ -12228,6 +12238,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12228
12238
|
type: NumberConstructor;
|
|
12229
12239
|
default: number;
|
|
12230
12240
|
};
|
|
12241
|
+
businessFormatter: {
|
|
12242
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
12243
|
+
};
|
|
12231
12244
|
schema: {
|
|
12232
12245
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
12233
12246
|
[key: symbol]: any;
|
|
@@ -12317,9 +12330,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12317
12330
|
}>>;
|
|
12318
12331
|
emit: (event: "formChange", ...args: any[]) => void;
|
|
12319
12332
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
12320
|
-
formModel: import("@formily/core").Form<
|
|
12321
|
-
[x: string]: any;
|
|
12322
|
-
}>;
|
|
12333
|
+
formModel: import("@formily/core").Form<any>;
|
|
12323
12334
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
12324
12335
|
businessCollector: import("..").BusinessCollector;
|
|
12325
12336
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
@@ -13727,6 +13738,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13727
13738
|
type: NumberConstructor;
|
|
13728
13739
|
default: number;
|
|
13729
13740
|
};
|
|
13741
|
+
businessFormatter: {
|
|
13742
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
13743
|
+
};
|
|
13730
13744
|
schema: {
|
|
13731
13745
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
13732
13746
|
[key: symbol]: any;
|
|
@@ -16,9 +16,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
17
17
|
}>>;
|
|
18
18
|
commonConfig: {
|
|
19
|
-
onMove: ({ to, from }:
|
|
20
|
-
onChoose: ({ target, item }:
|
|
21
|
-
onUnchoose: ({ from, to, target, item }:
|
|
19
|
+
onMove: ({ to, from }: import("sortablejs").SortableEvent) => void;
|
|
20
|
+
onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
|
|
21
|
+
onUnchoose: ({ from, to, target, item }: import("sortablejs").SortableEvent) => void;
|
|
22
22
|
tag: string;
|
|
23
23
|
animation: string;
|
|
24
24
|
'item-key': string;
|
|
@@ -93,16 +93,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
93
|
date_format?: string | undefined;
|
|
94
94
|
step_length?: string | number | undefined;
|
|
95
95
|
urlConfig?: {
|
|
96
|
-
url
|
|
97
|
-
method?: "
|
|
96
|
+
url: string;
|
|
97
|
+
method?: import("../../../../es/packages/form-render").FormRequestType | undefined;
|
|
98
|
+
nameKey?: string | undefined;
|
|
99
|
+
valueKey?: string | undefined;
|
|
100
|
+
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
98
101
|
dependKey?: string | Record<string, string> | (string | {
|
|
99
102
|
paramName: string;
|
|
100
103
|
paramValue?: string | undefined;
|
|
101
104
|
required?: boolean | undefined;
|
|
102
105
|
})[] | undefined;
|
|
103
|
-
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
104
|
-
nameKey?: string | undefined;
|
|
105
|
-
valueKey?: string | undefined;
|
|
106
106
|
} | undefined;
|
|
107
107
|
suffixConfig?: any | any[] | undefined;
|
|
108
108
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -1746,16 +1746,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1746
1746
|
date_format?: string | undefined;
|
|
1747
1747
|
step_length?: string | number | undefined;
|
|
1748
1748
|
urlConfig?: {
|
|
1749
|
-
url
|
|
1750
|
-
method?: "
|
|
1749
|
+
url: string;
|
|
1750
|
+
method?: import("../../../../es/packages/form-render").FormRequestType | undefined;
|
|
1751
|
+
nameKey?: string | undefined;
|
|
1752
|
+
valueKey?: string | undefined;
|
|
1753
|
+
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
1751
1754
|
dependKey?: string | Record<string, string> | (string | {
|
|
1752
1755
|
paramName: string;
|
|
1753
1756
|
paramValue?: string | undefined;
|
|
1754
1757
|
required?: boolean | undefined;
|
|
1755
1758
|
})[] | undefined;
|
|
1756
|
-
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
1757
|
-
nameKey?: string | undefined;
|
|
1758
|
-
valueKey?: string | undefined;
|
|
1759
1759
|
} | undefined;
|
|
1760
1760
|
suffixConfig?: any | any[] | undefined;
|
|
1761
1761
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -3500,16 +3500,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3500
3500
|
date_format?: string | undefined;
|
|
3501
3501
|
step_length?: string | number | undefined;
|
|
3502
3502
|
urlConfig?: {
|
|
3503
|
-
url
|
|
3504
|
-
method?: "
|
|
3503
|
+
url: string;
|
|
3504
|
+
method?: import("../../../../es/packages/form-render").FormRequestType | undefined;
|
|
3505
|
+
nameKey?: string | undefined;
|
|
3506
|
+
valueKey?: string | undefined;
|
|
3507
|
+
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
3505
3508
|
dependKey?: string | Record<string, string> | (string | {
|
|
3506
3509
|
paramName: string;
|
|
3507
3510
|
paramValue?: string | undefined;
|
|
3508
3511
|
required?: boolean | undefined;
|
|
3509
3512
|
})[] | undefined;
|
|
3510
|
-
params?: import("../../../../es/src/types").AnyObject | undefined;
|
|
3511
|
-
nameKey?: string | undefined;
|
|
3512
|
-
valueKey?: string | undefined;
|
|
3513
3513
|
} | undefined;
|
|
3514
3514
|
suffixConfig?: any | any[] | undefined;
|
|
3515
3515
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
@@ -7040,6 +7040,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7040
7040
|
type: NumberConstructor;
|
|
7041
7041
|
default: number;
|
|
7042
7042
|
};
|
|
7043
|
+
businessFormatter: {
|
|
7044
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
7045
|
+
};
|
|
7043
7046
|
schema: {
|
|
7044
7047
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
7045
7048
|
[key: symbol]: any;
|
|
@@ -7152,6 +7155,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7152
7155
|
type: NumberConstructor;
|
|
7153
7156
|
default: number;
|
|
7154
7157
|
};
|
|
7158
|
+
businessFormatter: {
|
|
7159
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
7160
|
+
};
|
|
7155
7161
|
schema: {
|
|
7156
7162
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
7157
7163
|
[key: symbol]: any;
|
|
@@ -7241,9 +7247,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7241
7247
|
}>>;
|
|
7242
7248
|
emit: (event: "formChange", ...args: any[]) => void;
|
|
7243
7249
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
7244
|
-
formModel: import("@formily/core").Form<
|
|
7245
|
-
[x: string]: any;
|
|
7246
|
-
}>;
|
|
7250
|
+
formModel: import("@formily/core").Form<any>;
|
|
7247
7251
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
7248
7252
|
businessCollector: import("../../../../es/packages/form-render").BusinessCollector;
|
|
7249
7253
|
formItemDepsCollector: import("../../../../es/packages/form-render").FormItemDepsCollector;
|
|
@@ -8651,6 +8655,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8651
8655
|
type: NumberConstructor;
|
|
8652
8656
|
default: number;
|
|
8653
8657
|
};
|
|
8658
|
+
businessFormatter: {
|
|
8659
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
8660
|
+
};
|
|
8654
8661
|
schema: {
|
|
8655
8662
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
8656
8663
|
[key: symbol]: any;
|
|
@@ -12118,6 +12125,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12118
12125
|
type: NumberConstructor;
|
|
12119
12126
|
default: number;
|
|
12120
12127
|
};
|
|
12128
|
+
businessFormatter: {
|
|
12129
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
12130
|
+
};
|
|
12121
12131
|
schema: {
|
|
12122
12132
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
12123
12133
|
[key: symbol]: any;
|
|
@@ -12230,6 +12240,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12230
12240
|
type: NumberConstructor;
|
|
12231
12241
|
default: number;
|
|
12232
12242
|
};
|
|
12243
|
+
businessFormatter: {
|
|
12244
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
12245
|
+
};
|
|
12233
12246
|
schema: {
|
|
12234
12247
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
12235
12248
|
[key: symbol]: any;
|
|
@@ -12319,9 +12332,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12319
12332
|
}>>;
|
|
12320
12333
|
emit: (event: "formChange", ...args: any[]) => void;
|
|
12321
12334
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
12322
|
-
formModel: import("@formily/core").Form<
|
|
12323
|
-
[x: string]: any;
|
|
12324
|
-
}>;
|
|
12335
|
+
formModel: import("@formily/core").Form<any>;
|
|
12325
12336
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
12326
12337
|
businessCollector: import("../../../../es/packages/form-render").BusinessCollector;
|
|
12327
12338
|
formItemDepsCollector: import("../../../../es/packages/form-render").FormItemDepsCollector;
|
|
@@ -13729,6 +13740,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13729
13740
|
type: NumberConstructor;
|
|
13730
13741
|
default: number;
|
|
13731
13742
|
};
|
|
13743
|
+
businessFormatter: {
|
|
13744
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
13745
|
+
};
|
|
13732
13746
|
schema: {
|
|
13733
13747
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
13734
13748
|
[key: symbol]: any;
|
|
@@ -3370,6 +3370,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3370
3370
|
type: NumberConstructor;
|
|
3371
3371
|
default: number;
|
|
3372
3372
|
};
|
|
3373
|
+
businessFormatter: {
|
|
3374
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3375
|
+
};
|
|
3373
3376
|
schema: {
|
|
3374
3377
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3375
3378
|
[key: symbol]: any;
|
|
@@ -3482,6 +3485,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3482
3485
|
type: NumberConstructor;
|
|
3483
3486
|
default: number;
|
|
3484
3487
|
};
|
|
3488
|
+
businessFormatter: {
|
|
3489
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3490
|
+
};
|
|
3485
3491
|
schema: {
|
|
3486
3492
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3487
3493
|
[key: symbol]: any;
|
|
@@ -3571,9 +3577,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3571
3577
|
}>>;
|
|
3572
3578
|
emit: (event: "formChange", ...args: any[]) => void;
|
|
3573
3579
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
3574
|
-
formModel: import("@formily/core").Form<
|
|
3575
|
-
[x: string]: any;
|
|
3576
|
-
}>;
|
|
3580
|
+
formModel: import("@formily/core").Form<any>;
|
|
3577
3581
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3578
3582
|
businessCollector: import("../../../../../es/packages/form-render").BusinessCollector;
|
|
3579
3583
|
formItemDepsCollector: import("../../../../../es/packages/form-render").FormItemDepsCollector;
|
|
@@ -4981,6 +4985,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4981
4985
|
type: NumberConstructor;
|
|
4982
4986
|
default: number;
|
|
4983
4987
|
};
|
|
4988
|
+
businessFormatter: {
|
|
4989
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
4990
|
+
};
|
|
4984
4991
|
schema: {
|
|
4985
4992
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
4986
4993
|
[key: symbol]: any;
|