cnhis-design-vue 3.1.33-beta.2 → 3.1.33-beta.20
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/index.d.ts +2 -2
- package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
- package/es/components/big-table/src/BigTable.vue2.js +11 -14
- package/es/components/big-table/src/components/edit-form/edit-input.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-time.js +7 -4
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +2 -1
- package/es/components/big-table/src/components/edit-form/useCommon.js +7 -3
- package/es/components/big-table/src/hooks/useFormat.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -2
- package/es/components/button-print/src/utils/print.js +7 -4
- package/es/components/fabric-chart/index.d.ts +389 -181
- package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +181 -0
- package/es/components/fabric-chart/src/BirthProcessChart.vue.js +172 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +390 -182
- package/es/components/fabric-chart/src/FabricChart.vue.js +21 -327
- package/es/components/fabric-chart/src/TemperatureChart.vue.d.ts +214 -0
- package/es/components/fabric-chart/src/TemperatureChart.vue.js +359 -0
- package/es/components/fabric-chart/src/components/PopupMenu.js +2 -2
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +3 -2
- package/es/components/fabric-chart/src/hooks/index.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/index.js +2 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +26 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +419 -0
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/useCenter.js +22 -42
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +8 -0
- package/es/components/fabric-chart/src/hooks/useCommon.js +31 -0
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +9 -2
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +34 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useGrid.js +28 -18
- package/es/components/fabric-chart/src/hooks/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +11 -7
- package/es/components/fabric-chart/src/interface.d.ts +24 -6
- package/es/components/fabric-chart/src/interface.js +0 -3
- package/es/components/fabric-chart/src/utils/utils.d.ts +11 -0
- package/es/components/fabric-chart/src/utils/utils.js +27 -0
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +14 -8
- package/es/components/iho-table/index.d.ts +1 -0
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +1 -0
- package/es/components/iho-table/src/IhoTable.vue.js +7 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.js +3 -1
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +11 -0
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +26 -0
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -1
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +17 -12
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +16 -5
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +8 -22
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +8 -16
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +7 -4
- package/es/components/iho-table/src/types/index.d.ts +9 -1
- package/es/components/iho-table/src/types/index.js +1 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +4 -0
- package/es/components/iho-table/src/types/pluginType.js +3 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +2 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -0
- package/es/components/info-header/src/InfoHeader.vue.js +72 -56
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +62 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +62 -1
- package/es/components/keyboard/src/Keyboard.vue.js +4 -1
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +67 -5
- package/es/components/keyboard/src/components/NumberPanel.vue.js +48 -26
- package/es/components/keyboard/style/index.css +1 -1
- package/es/components/shortcut-provider/src/utils/index.d.ts +0 -1
- package/es/components/shortcut-provider/src/utils/index.js +26 -3
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +3 -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/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/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -2,36 +2,46 @@ import { onMounted, nextTick } from 'vue';
|
|
|
2
2
|
import { fabric } from '../utils/index.js';
|
|
3
3
|
import { drawLine, defaultBorderStyle } from './useDraw.js';
|
|
4
4
|
|
|
5
|
-
function useGrid(canvas, propItems) {
|
|
6
|
-
var _a, _b;
|
|
5
|
+
function useGrid(canvas, propItems, isBirthProcess = false) {
|
|
6
|
+
var _a, _b, _c, _d;
|
|
7
7
|
const { gridYNumber, originY, grid, originX, endX, xCellWidth, yCellHeight, gridXNumber, endY } = propItems;
|
|
8
8
|
const yList = [];
|
|
9
9
|
const xList = [];
|
|
10
10
|
const mainList = /* @__PURE__ */ new Set();
|
|
11
11
|
for (let i = 0; i <= gridYNumber; i++) {
|
|
12
12
|
const y = originY + parseInt(String(yCellHeight * (gridYNumber - i)));
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if (i % grid.subYCell === 0) {
|
|
16
|
-
mainList.add(line);
|
|
17
|
-
} else {
|
|
13
|
+
if (isBirthProcess) {
|
|
14
|
+
const line = drawLine([originX, y, endX, y], { ...defaultBorderStyle, ...((_a = grid.mainLineStyle) == null ? void 0 : _a.x) || {} });
|
|
18
15
|
yList.push(line);
|
|
16
|
+
} else {
|
|
17
|
+
const style = i % grid.subYCell === 0 ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.x) || {} : grid.subLineStyle || {};
|
|
18
|
+
const line = drawLine([originX, y, endX, y], style);
|
|
19
|
+
if (i % grid.subYCell === 0) {
|
|
20
|
+
mainList.add(line);
|
|
21
|
+
} else {
|
|
22
|
+
yList.push(line);
|
|
23
|
+
}
|
|
19
24
|
}
|
|
20
25
|
}
|
|
21
26
|
for (let i = 0; i <= gridXNumber; i++) {
|
|
22
27
|
const x = originX + parseInt(String(xCellWidth * i));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
style = grid.subSecondLineStyle || {};
|
|
26
|
-
}
|
|
27
|
-
if (i % grid.subXCell === 0) {
|
|
28
|
-
style = i !== 0 && i !== gridXNumber ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {} : defaultBorderStyle;
|
|
29
|
-
}
|
|
30
|
-
const line = drawLine([x, originY, x, endY], style);
|
|
31
|
-
if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
|
|
32
|
-
mainList.add(line);
|
|
33
|
-
} else {
|
|
28
|
+
if (isBirthProcess) {
|
|
29
|
+
const line = drawLine([x, originY, x, endY], { ...defaultBorderStyle, ...((_c = grid.mainLineStyle) == null ? void 0 : _c.y) || {} });
|
|
34
30
|
xList.push(line);
|
|
31
|
+
} else {
|
|
32
|
+
let style = grid.subLineStyle || {};
|
|
33
|
+
if (i % grid.subSecondXCell === 0) {
|
|
34
|
+
style = grid.subSecondLineStyle || {};
|
|
35
|
+
}
|
|
36
|
+
if (i % grid.subXCell === 0) {
|
|
37
|
+
style = i !== 0 && i !== gridXNumber ? ((_d = grid.mainLineStyle) == null ? void 0 : _d.y) || {} : defaultBorderStyle;
|
|
38
|
+
}
|
|
39
|
+
const line = drawLine([x, originY, x, endY], style);
|
|
40
|
+
if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
|
|
41
|
+
mainList.add(line);
|
|
42
|
+
} else {
|
|
43
|
+
xList.push(line);
|
|
44
|
+
}
|
|
35
45
|
}
|
|
36
46
|
}
|
|
37
47
|
const group = new fabric.Group([...xList, ...yList, ...mainList], {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { fabric } from '../utils';
|
|
3
3
|
import { IPropItems } from '../interface';
|
|
4
|
-
export declare function useLeft(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: any, setPopup: Function, pointTipProps: any,
|
|
4
|
+
export declare function useLeft(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: any, setPopup: Function, pointTipProps: any, cumputedX: Function, cumputedY: Function, getXValue: Function, getYValue: Function, isAddPoint: Function, updateData: Function): {
|
|
5
5
|
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
6
6
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { onMounted, nextTick } from 'vue';
|
|
2
2
|
import { fabric } from '../utils/index.js';
|
|
3
3
|
import { defaultBorderStyle, defaultTextStyle, defaultStyle, defaultRectStyle, drawPoint, drawTextGroup } from './useDraw.js';
|
|
4
|
+
import useCommmon from './useCommon.js';
|
|
4
5
|
|
|
5
|
-
function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, getYValue,
|
|
6
|
+
function useLeft(canvas, propItems, emits, setPopup, pointTipProps, cumputedX, cumputedY, getXValue, getYValue, isAddPoint, updateData) {
|
|
7
|
+
const { getEqualXTypes, repeatTip } = useCommmon(canvas);
|
|
6
8
|
const {
|
|
7
9
|
originY,
|
|
8
10
|
endY,
|
|
@@ -19,8 +21,7 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
19
21
|
right,
|
|
20
22
|
canvasWidth,
|
|
21
23
|
canvasHeight,
|
|
22
|
-
getRightInfo
|
|
23
|
-
hospitalizationDate
|
|
24
|
+
getRightInfo
|
|
24
25
|
} = propItems;
|
|
25
26
|
const mainScaleWidth = 9;
|
|
26
27
|
const subScaleWidth = 5;
|
|
@@ -230,7 +231,8 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
230
231
|
unit: item.unit,
|
|
231
232
|
type: item.bigType,
|
|
232
233
|
dataIndex: item.dataIndex,
|
|
233
|
-
key: item.key
|
|
234
|
+
key: item.key,
|
|
235
|
+
isMenu: true
|
|
234
236
|
},
|
|
235
237
|
originLeft: leftX,
|
|
236
238
|
originTop: topY - (text.height || 30) / 2 - 1,
|
|
@@ -270,7 +272,11 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
270
272
|
pointTipProps.show = false;
|
|
271
273
|
if (event.e.button === 0) {
|
|
272
274
|
if (isLimit(point)) {
|
|
273
|
-
|
|
275
|
+
const isRepeat = getEqualXTypes(point.left).includes(point.origin.type);
|
|
276
|
+
const isLimitAdd = isAddPoint(point.left);
|
|
277
|
+
if (!isLimitAdd || isRepeat) {
|
|
278
|
+
isRepeat && isLimitAdd && repeatTip();
|
|
279
|
+
} else {
|
|
274
280
|
const params = {
|
|
275
281
|
data: {
|
|
276
282
|
time: getXValue(point.left),
|
|
@@ -281,8 +287,6 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
281
287
|
};
|
|
282
288
|
emits("add", params);
|
|
283
289
|
updateData(params);
|
|
284
|
-
} else {
|
|
285
|
-
console.log("\u5F53\u524D\u65F6\u95F4\u6BB5\u5185\u65E0\u53EF\u65B0\u589E\u8282\u70B9");
|
|
286
290
|
}
|
|
287
291
|
}
|
|
288
292
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InjectionKey, Ref } from 'vue';
|
|
2
1
|
import { fabric } from './utils';
|
|
3
2
|
import { AnyObject } from '../../../../es/shared/types';
|
|
3
|
+
export declare type IMode = 'temperature' | 'birthProcess' | undefined;
|
|
4
4
|
interface IEvent {
|
|
5
5
|
selectable: boolean;
|
|
6
6
|
evented: boolean;
|
|
@@ -107,15 +107,15 @@ export interface IData {
|
|
|
107
107
|
width: number;
|
|
108
108
|
height: number;
|
|
109
109
|
borderStyle?: fabric.ILineOptions;
|
|
110
|
-
selectionStyle?:
|
|
110
|
+
selectionStyle?: AnyObject;
|
|
111
111
|
hospitalizationDate: string;
|
|
112
112
|
grid: IGrid;
|
|
113
113
|
other?: IOther;
|
|
114
114
|
top: ITop;
|
|
115
115
|
left: ILeft;
|
|
116
116
|
right?: IRight;
|
|
117
|
-
bottom:
|
|
118
|
-
config?:
|
|
117
|
+
bottom: AnyObject;
|
|
118
|
+
config?: AnyObject;
|
|
119
119
|
}
|
|
120
120
|
export interface ICoordinateValue {
|
|
121
121
|
x: number;
|
|
@@ -128,6 +128,24 @@ export interface ILineOptions extends fabric.ILineOptions {
|
|
|
128
128
|
export interface ITextOptions extends fabric.ITextOptions {
|
|
129
129
|
[key: string]: any;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
interface IBirthProcessOther {
|
|
132
|
+
fetalPresentationPositionLine?: fabric.ILineOptions;
|
|
133
|
+
alertLine?: fabric.ILineOptions;
|
|
134
|
+
processLine?: fabric.ILineOptions;
|
|
135
|
+
}
|
|
136
|
+
interface IBirthProcessXAxis {
|
|
137
|
+
time: AnyObject;
|
|
138
|
+
processTime: AnyObject;
|
|
139
|
+
}
|
|
140
|
+
export interface IBirthProcessData {
|
|
141
|
+
width: number;
|
|
142
|
+
height: number;
|
|
143
|
+
borderStyle?: fabric.ILineOptions;
|
|
144
|
+
selectionStyle?: AnyObject;
|
|
145
|
+
grid: AnyObject;
|
|
146
|
+
other?: IBirthProcessOther;
|
|
147
|
+
xAxis: IBirthProcessXAxis;
|
|
148
|
+
scaleValues: AnyObject[];
|
|
149
|
+
}
|
|
150
|
+
export declare type IObject = fabric.Object & AnyObject;
|
|
133
151
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IPoint } from '../interface';
|
|
2
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
3
|
+
export declare function isEffectiveNode(node: IPoint): string | number | boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @description: 根据断点分割数组
|
|
6
|
+
* @param {any} arr
|
|
7
|
+
* @return {[number, number][][]}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getPointArr(arr: AnyObject[]): AnyObject;
|
|
10
|
+
export declare function deleteProperty(data: AnyObject, list: AnyObject[]): void;
|
|
11
|
+
export declare function getIndex(time: string, list: AnyObject[]): number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function isEffectiveNode(node) {
|
|
2
|
+
return (node == null ? void 0 : node.time) && ((node == null ? void 0 : node.value) || (node == null ? void 0 : node.value) === 0);
|
|
3
|
+
}
|
|
4
|
+
function getPointArr(arr) {
|
|
5
|
+
let _arr = [];
|
|
6
|
+
return arr.reduce((pre, cur, index) => {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
_arr.push([cur.left, cur.top]);
|
|
9
|
+
if (((_b = (_a = cur.origin) == null ? void 0 : _a.data) == null ? void 0 : _b.breakpoint) || arr.length - 1 === index) {
|
|
10
|
+
pre.push(_arr);
|
|
11
|
+
_arr = [];
|
|
12
|
+
}
|
|
13
|
+
return pre;
|
|
14
|
+
}, []);
|
|
15
|
+
}
|
|
16
|
+
function deleteProperty(data, list) {
|
|
17
|
+
list.map((v) => v.type).forEach((key) => {
|
|
18
|
+
if (Reflect.has(data, key))
|
|
19
|
+
Reflect.deleteProperty(data, key);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function getIndex(time, list) {
|
|
23
|
+
const index = list.findIndex((v) => new Date(v.time).getTime() > new Date(time).getTime());
|
|
24
|
+
return !~index ? list.length : index;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { deleteProperty, getIndex, getPointArr, isEffectiveNode };
|
|
@@ -32,10 +32,8 @@ export declare function useAutographOptions(props: {
|
|
|
32
32
|
lazyRequest?: boolean;
|
|
33
33
|
options?: AnyObject[];
|
|
34
34
|
}, valueRef: Ref): {
|
|
35
|
-
valueRef: Ref<any>;
|
|
36
|
-
options: import("vue").ComputedRef<AnyObject[]>;
|
|
37
|
-
fetchData: (content?: string) => Promise<void>;
|
|
38
35
|
labelKey: import("vue").ComputedRef<string>;
|
|
39
36
|
valueKey: import("vue").ComputedRef<string>;
|
|
40
|
-
|
|
37
|
+
options: import("vue").ComputedRef<AnyObject[]>;
|
|
38
|
+
fetchData: (content?: string) => Promise<null | undefined>;
|
|
41
39
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsonParse } from '../../../../shared/utils/index.js';
|
|
2
2
|
import { useDebounceFn } from '@vueuse/core';
|
|
3
3
|
import { isString, isEqual, omit, isFunction } from 'lodash-es';
|
|
4
|
-
import { computed, inject, ref, watch
|
|
4
|
+
import { computed, inject, getCurrentInstance, ref, watch } from 'vue';
|
|
5
5
|
import '../../index.js';
|
|
6
6
|
import { InjectionAsyncQueue, InjectionFormItemDepsCollector } from '../constants/index.js';
|
|
7
7
|
import { createUrlConfigParams, formRenderLog, optionMatcherWithKeyword } from '../utils/index.js';
|
|
@@ -115,6 +115,9 @@ function useRecommendOptions(props, options, emit, valueKey) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function useUrlConfigOptions(props, valueRef) {
|
|
118
|
+
if (!getCurrentInstance())
|
|
119
|
+
throw new Error("can't use this hook out of setup environment");
|
|
120
|
+
const asyncQueue = inject(InjectionAsyncQueue);
|
|
118
121
|
const labelKey = computed(() => {
|
|
119
122
|
var _a, _b;
|
|
120
123
|
return (_b = (_a = props.urlConfig) == null ? void 0 : _a.nameKey) != null ? _b : "text";
|
|
@@ -123,10 +126,9 @@ function useUrlConfigOptions(props, valueRef) {
|
|
|
123
126
|
var _a, _b;
|
|
124
127
|
return (_b = (_a = props.urlConfig) == null ? void 0 : _a.valueKey) != null ? _b : "value";
|
|
125
128
|
});
|
|
129
|
+
const remoteOptions = ref(null);
|
|
126
130
|
const lastSearch = ref("");
|
|
127
131
|
const { field, fieldKey } = useFormField();
|
|
128
|
-
const remoteOptions = ref(null);
|
|
129
|
-
const asyncQueue = inject(InjectionAsyncQueue);
|
|
130
132
|
const fetchData = useDebounceFn(async function(content) {
|
|
131
133
|
lastSearch.value = content || "";
|
|
132
134
|
if (!props.urlConfig) {
|
|
@@ -188,9 +190,10 @@ function useAutographOptions(props, valueRef) {
|
|
|
188
190
|
const { fieldKey } = useFormField();
|
|
189
191
|
const { getSearchRequestInfo } = useFormRequest();
|
|
190
192
|
const fetchData = useDebounceFn(async function(content) {
|
|
191
|
-
if (!props.autograph || !props.wordbook)
|
|
192
|
-
return;
|
|
193
193
|
lastSearch.value = content || "";
|
|
194
|
+
if (!props.autograph || !props.wordbook) {
|
|
195
|
+
return remoteOptions.value = null;
|
|
196
|
+
}
|
|
194
197
|
try {
|
|
195
198
|
remoteOptions.value = await asyncQueue.addAsync(createParams(props.wordbook, props.autograph, fieldKey.value));
|
|
196
199
|
} catch (e) {
|
|
@@ -209,8 +212,11 @@ function useAutographOptions(props, valueRef) {
|
|
|
209
212
|
}
|
|
210
213
|
}, 300);
|
|
211
214
|
const options = computed(() => {
|
|
212
|
-
|
|
213
|
-
|
|
215
|
+
if (remoteOptions.value)
|
|
216
|
+
return optionMatcherWithKeyword(remoteOptions.value, lastSearch.value, labelKey.value);
|
|
217
|
+
if (!Array.isArray(props.options))
|
|
218
|
+
return [];
|
|
219
|
+
return optionMatcherWithKeyword(props.options, lastSearch.value, labelKey.value);
|
|
214
220
|
});
|
|
215
221
|
watch(
|
|
216
222
|
() => props.wordbook,
|
|
@@ -224,7 +230,7 @@ function useAutographOptions(props, valueRef) {
|
|
|
224
230
|
},
|
|
225
231
|
{ immediate: true }
|
|
226
232
|
);
|
|
227
|
-
return {
|
|
233
|
+
return { labelKey, valueKey, options, fetchData };
|
|
228
234
|
}
|
|
229
235
|
|
|
230
236
|
export { useAutographOptions, useRecommendOptions, useUrlConfigOptions };
|
|
@@ -111,6 +111,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
111
111
|
dataHooks: import("../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
112
112
|
setupHooks: import("../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
113
113
|
domInsertHooks: import("../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
114
|
+
exposeHooks: import("../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
114
115
|
}>;
|
|
115
116
|
configRef: import("vue").Ref<{
|
|
116
117
|
[x: string]: unknown;
|
|
@@ -15,7 +15,7 @@ import '../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
|
15
15
|
import '../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
16
16
|
import '../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
17
17
|
import '../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
18
|
-
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractFieldHooks, AbstractSetupHooks } from './src/types/pluginType.js';
|
|
18
|
+
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractExposeHooks, AbstractFieldHooks, AbstractSetupHooks } from './src/types/pluginType.js';
|
|
19
19
|
import { useTablePlugin } from './src/hooks/useTablePlugin.js';
|
|
20
20
|
export { defineTablePlugin, useTablePlugin } from './src/hooks/useTablePlugin.js';
|
|
21
21
|
export { useColumnConfigAdaptor } from './src/hooks/useColumnConfigAdaptor.js';
|
|
@@ -110,6 +110,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
dataHooks: import("../../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
111
111
|
setupHooks: import("../../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
112
112
|
domInsertHooks: import("../../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
113
|
+
exposeHooks: import("../../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
113
114
|
}>;
|
|
114
115
|
configRef: import("vue").Ref<{
|
|
115
116
|
[x: string]: unknown;
|
|
@@ -90,7 +90,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
_updateFieldListRef();
|
|
91
91
|
_updateTableDataRef();
|
|
92
92
|
const { header, footer } = createDomInsertComponent(hooks);
|
|
93
|
-
expose({
|
|
93
|
+
expose({
|
|
94
|
+
$table,
|
|
95
|
+
setFilter(fieldName, value) {
|
|
96
|
+
return { fieldName, value };
|
|
97
|
+
},
|
|
98
|
+
...hooks.exposeHooks.expose.call({}, configRef)
|
|
99
|
+
});
|
|
94
100
|
hooks.setupHooks.setup.call(configRef, fieldListRef);
|
|
95
101
|
return (_ctx, _cache) => {
|
|
96
102
|
const _component_vxe_table = resolveComponent("vxe-table");
|
|
@@ -10,6 +10,7 @@ export declare const createTableHooks: () => Readonly<{
|
|
|
10
10
|
dataHooks: import("../../../../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
11
11
|
setupHooks: import("../../../../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
12
12
|
domInsertHooks: import("../../../../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
13
|
+
exposeHooks: import("../../../../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
13
14
|
}>;
|
|
14
15
|
export declare function applyTableConfigHooks(hooks: TableHooks, config: IhoTableConfig): IhoTableConfig;
|
|
15
16
|
export declare function applyTableFieldHooks(hooks: TableHooks, fieldList: IhoTableFieldItem[], config: IhoTableConfig): IhoTableFieldItem[];
|
|
@@ -5,6 +5,7 @@ import { VxeEventListenerNameList } from '../../constants/index.js';
|
|
|
5
5
|
import { useDataHooks } from './useDataHooks.js';
|
|
6
6
|
import { useDomInsertHooks } from './useDomInsertHooks.js';
|
|
7
7
|
import { useEventHooks } from './useEventHooks.js';
|
|
8
|
+
import { useExposeHooks } from './useExposeHooks.js';
|
|
8
9
|
import { useSetupHooks } from './useSetupHooks.js';
|
|
9
10
|
import { getEventName } from '../../utils/index.js';
|
|
10
11
|
import { useConfigHooks } from './useConfigHooks.js';
|
|
@@ -19,7 +20,8 @@ const createTableHooks = (() => {
|
|
|
19
20
|
eventHooks: useEventHooks().create(),
|
|
20
21
|
dataHooks: useDataHooks().create(),
|
|
21
22
|
setupHooks: useSetupHooks().create(),
|
|
22
|
-
domInsertHooks: useDomInsertHooks().create()
|
|
23
|
+
domInsertHooks: useDomInsertHooks().create(),
|
|
24
|
+
exposeHooks: useExposeHooks().create()
|
|
23
25
|
});
|
|
24
26
|
}
|
|
25
27
|
return () => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Func } from '../../../../../../es/shared/types';
|
|
2
|
+
import { SyncWaterfallHook } from '../../../../../../es/shared/utils/tapable';
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
import { AbstractExposeHooks, IhoTableConfig } from '../../../../../../es/components/iho-table/src/types';
|
|
5
|
+
declare class ExposeHooks extends AbstractExposeHooks {
|
|
6
|
+
readonly expose: SyncWaterfallHook<[Record<string, Func<any[], any>>, Ref<IhoTableConfig>], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
7
|
+
}
|
|
8
|
+
export declare function useExposeHooks(): {
|
|
9
|
+
create: () => ExposeHooks;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
+
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
+
import SyncWaterfallHook from '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
+
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
+
import '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
+
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
+
import { AbstractExposeHooks } from '../../types/pluginType.js';
|
|
12
|
+
|
|
13
|
+
class ExposeHooks extends AbstractExposeHooks {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.expose = new SyncWaterfallHook(["expose", "config"]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function useExposeHooks() {
|
|
20
|
+
function create() {
|
|
21
|
+
return new ExposeHooks();
|
|
22
|
+
}
|
|
23
|
+
return { create };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { useExposeHooks };
|
|
@@ -139,7 +139,11 @@ function useColumnConfigAdaptor() {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
result.componentProps =
|
|
142
|
+
result.componentProps = Object.assign(
|
|
143
|
+
{},
|
|
144
|
+
result.componentProps,
|
|
145
|
+
pick(result, ["options", "multiple", "isDateDisabled"])
|
|
146
|
+
);
|
|
143
147
|
return result;
|
|
144
148
|
function valueTransfer(value, rule) {
|
|
145
149
|
var _a, _b;
|
|
@@ -53,8 +53,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
text: string;
|
|
54
54
|
}[];
|
|
55
55
|
setSortStatus: (value: IHO_TABLE_FILTER_STATUS) => void;
|
|
56
|
+
iconActive: import("vue").ComputedRef<number>;
|
|
56
57
|
toggleFilter: () => void;
|
|
57
|
-
|
|
58
|
+
FunnelSharp: 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<{}>>, {}>;
|
|
58
59
|
ref: typeof ref;
|
|
59
60
|
NButton: any;
|
|
60
61
|
NButtonGroup: any;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent, inject, toRefs, ref, onDeactivated, computed, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList,
|
|
1
|
+
import { defineComponent, inject, toRefs, ref, onDeactivated, computed, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, normalizeClass, createElementVNode, Fragment, renderList, isRef, normalizeStyle } from 'vue';
|
|
2
2
|
import { widthAppend } from '../../../../../shared/utils/index.js';
|
|
3
|
-
import {
|
|
3
|
+
import { FunnelSharp } from '@vicons/ionicons5';
|
|
4
4
|
import { useVirtualList } from '@vueuse/core';
|
|
5
5
|
import { InjectionIhoTableUUID, InjectionIhoTableEmits } from '../../constants/index.js';
|
|
6
6
|
import { IHO_TABLE_FILTER_STATUS } from './types.js';
|
|
7
7
|
import { NEllipsis, NPopover, NIcon, NInput, NCheckboxGroup, NCheckbox, NButtonGroup, NButton } from 'naive-ui';
|
|
8
8
|
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
9
9
|
|
|
10
|
-
const _hoisted_1 = {
|
|
11
|
-
const _hoisted_2 =
|
|
12
|
-
const _hoisted_3 =
|
|
10
|
+
const _hoisted_1 = { style: { "display": "flex", "align-items": "center" } };
|
|
11
|
+
const _hoisted_2 = { class: "iho-table__filterWrapper" };
|
|
12
|
+
const _hoisted_3 = ["onClick"];
|
|
13
|
+
const _hoisted_4 = { class: "iho-table__filterFooter" };
|
|
13
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
15
|
__name: "filter",
|
|
15
16
|
props: {
|
|
@@ -75,6 +76,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
76
|
close();
|
|
76
77
|
globEmit("sortChange", { type: "sort", value: sortStatus.value });
|
|
77
78
|
}
|
|
79
|
+
const iconActive = computed(() => {
|
|
80
|
+
var _a, _b;
|
|
81
|
+
return ((_a = props.filterState) == null ? void 0 : _a.checked.length) || ((_b = props.filterState) == null ? void 0 : _b.sortStatus);
|
|
82
|
+
});
|
|
78
83
|
function toggleFilter() {
|
|
79
84
|
filterVisible.value = !filterVisible.value;
|
|
80
85
|
if (filterVisible.value) {
|
|
@@ -85,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
90
|
}
|
|
86
91
|
}
|
|
87
92
|
return (_ctx, _cache) => {
|
|
88
|
-
return openBlock(), createElementBlock("section",
|
|
93
|
+
return openBlock(), createElementBlock("section", _hoisted_1, [
|
|
89
94
|
createVNode(unref(NEllipsis), { style: { "max-width": "calc(100% - 22px)" } }, {
|
|
90
95
|
default: withCtx(() => [
|
|
91
96
|
createTextVNode(toDisplayString(__props.payload.column.title), 1)
|
|
@@ -98,19 +103,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
103
|
}, {
|
|
99
104
|
trigger: withCtx(() => [
|
|
100
105
|
createVNode(unref(NIcon), {
|
|
101
|
-
class: "iho-table__filterIcon",
|
|
102
|
-
component: unref(
|
|
106
|
+
class: normalizeClass(["iho-table__filterIcon", { "is-active": unref(iconActive) }]),
|
|
107
|
+
component: unref(FunnelSharp),
|
|
103
108
|
onClick: toggleFilter
|
|
104
|
-
}, null, 8, ["component"])
|
|
109
|
+
}, null, 8, ["class", "component"])
|
|
105
110
|
]),
|
|
106
111
|
default: withCtx(() => [
|
|
107
|
-
createElementVNode("section",
|
|
112
|
+
createElementVNode("section", _hoisted_2, [
|
|
108
113
|
(openBlock(), createElementBlock(Fragment, null, renderList(sortStatusList, (item) => {
|
|
109
114
|
return createElementVNode("div", {
|
|
110
115
|
key: item.status,
|
|
111
116
|
class: normalizeClass(["iho-table__filterButton", { "iho-table__filterButton--active": unref(sortStatus) === item.status }]),
|
|
112
117
|
onClick: ($event) => setSortStatus(item.status)
|
|
113
|
-
}, toDisplayString(item.text), 11,
|
|
118
|
+
}, toDisplayString(item.text), 11, _hoisted_3);
|
|
114
119
|
}), 64)),
|
|
115
120
|
createVNode(unref(NInput), {
|
|
116
121
|
value: searchFilterText.value,
|
|
@@ -146,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
151
|
]),
|
|
147
152
|
_: 1
|
|
148
153
|
}, 8, ["value"]),
|
|
149
|
-
createElementVNode("footer",
|
|
154
|
+
createElementVNode("footer", _hoisted_4, [
|
|
150
155
|
createElementVNode("section", null, toDisplayString(`\u5DF2\u9009\u62E9${unref(checked).length}\u9879`), 1),
|
|
151
156
|
createVNode(unref(NButtonGroup), { size: "tiny" }, {
|
|
152
157
|
default: withCtx(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isObject, isArray } from 'lodash-es';
|
|
1
|
+
import { isObject, pick, isArray } from 'lodash-es';
|
|
2
2
|
import { h, onBeforeUnmount } from 'vue';
|
|
3
3
|
import '../../../index.js';
|
|
4
4
|
import { IHO_TABLE_NUMBER_STATUS, IHO_TABLE_STRING_STATUS } from '../../constants/index.js';
|
|
@@ -10,14 +10,14 @@ import { defineTablePlugin } from '../../hooks/useTablePlugin.js';
|
|
|
10
10
|
function filterPlugin() {
|
|
11
11
|
const pluginName = "filterPlugin";
|
|
12
12
|
const { getItemFromUUID, removeItemFromUUID } = useUUIDMap(() => /* @__PURE__ */ new Map());
|
|
13
|
-
function initFilterState(uuid, fieldName) {
|
|
13
|
+
function initFilterState(uuid, fieldName, initValue = {}) {
|
|
14
14
|
const stateMap = getItemFromUUID(uuid);
|
|
15
15
|
return stateMap.set(
|
|
16
16
|
fieldName,
|
|
17
17
|
stateMap.get(fieldName) || {
|
|
18
18
|
options: [],
|
|
19
|
-
checked: [],
|
|
20
|
-
sortStatus: IHO_TABLE_FILTER_STATUS.DEFAULT
|
|
19
|
+
checked: initValue.checked || [],
|
|
20
|
+
sortStatus: initValue.sortStatus || IHO_TABLE_FILTER_STATUS.DEFAULT
|
|
21
21
|
}
|
|
22
22
|
).get(fieldName);
|
|
23
23
|
}
|
|
@@ -38,7 +38,7 @@ function filterPlugin() {
|
|
|
38
38
|
if (isCompatibleColumn(lowCodeField)) {
|
|
39
39
|
options = (_f = (_e = lowCodeField.options) == null ? void 0 : _e.map((option) => ({ ...option, key: option.label }))) != null ? _f : [];
|
|
40
40
|
}
|
|
41
|
-
const filterState = initFilterState(uuid, fieldItem.field);
|
|
41
|
+
const filterState = initFilterState(uuid, fieldItem.field, lowCodeField.filterDefaultValue);
|
|
42
42
|
filterState.options = options;
|
|
43
43
|
const oldHeader = (_g = fieldItem.slots) == null ? void 0 : _g.header;
|
|
44
44
|
fieldItem.slots = {
|
|
@@ -55,6 +55,17 @@ function filterPlugin() {
|
|
|
55
55
|
hooks.setupHooks.setup.tap(pluginName, (config) => {
|
|
56
56
|
onBeforeUnmount(() => config.value.uuid && removeItemFromUUID(config.value.uuid));
|
|
57
57
|
});
|
|
58
|
+
hooks.exposeHooks.expose.tap(pluginName, (expose, configRef) => {
|
|
59
|
+
return {
|
|
60
|
+
...expose,
|
|
61
|
+
setFilter(fieldName, value) {
|
|
62
|
+
if (!configRef.value.uuid)
|
|
63
|
+
return;
|
|
64
|
+
const state = initFilterState(configRef.value.uuid, fieldName);
|
|
65
|
+
Object.assign(state, pick(value, ["checked", "sortStatus"]));
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
});
|
|
58
69
|
function isCompatibleColumn(field) {
|
|
59
70
|
const filterTypes = ["SEARCH", "SELECT", "RADIO", "CHECKBOX"];
|
|
60
71
|
const notParticipatingSearch = field.notParticipatingSearch || "";
|
|
@@ -17,6 +17,7 @@ function lowCodeFieldAdaptorPlugin() {
|
|
|
17
17
|
showOverflow: Reflect.has(_field, "showOverflow") ? _field.showOverflow : "tooltip",
|
|
18
18
|
visible: _field.isShow !== IHO_TABLE_NUMBER_STATUS.NEGATIVE,
|
|
19
19
|
width: _field.colWidth,
|
|
20
|
+
slots: { ..._field.slots, default: _field.slotFn, header: _field.headerSlotFn },
|
|
20
21
|
...pick(_field, ["title", "treeNode", "resizable"])
|
|
21
22
|
};
|
|
22
23
|
settingObjAdaptor(result, _field);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import '../../../../../index.js';
|
|
3
3
|
import { EDITABLE_WIDGET_TYPE } from '../../../../constants/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { IhoTableRenderHelper } from '../../../../utils/index.js';
|
|
5
5
|
import EditDate from './editDate.vue.js';
|
|
6
6
|
import { defineTablePlugin } from '../../../../hooks/useTablePlugin.js';
|
|
7
7
|
|
|
@@ -11,38 +11,24 @@ function dateRendererPlugin() {
|
|
|
11
11
|
name: pluginName,
|
|
12
12
|
vxe(instance) {
|
|
13
13
|
instance.renderer.add(EDITABLE_WIDGET_TYPE.DATE, {
|
|
14
|
-
renderCell(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
column
|
|
19
|
-
}) {
|
|
20
|
-
return [createVNode("span", null, [row[column.field]])];
|
|
21
|
-
},
|
|
22
|
-
renderEdit({
|
|
23
|
-
props
|
|
24
|
-
}, {
|
|
14
|
+
renderCell: IhoTableRenderHelper.createDefaultRenderCell(),
|
|
15
|
+
renderEdit: IhoTableRenderHelper.createRenderEdit(({
|
|
16
|
+
fieldItem,
|
|
17
|
+
emitFormClick,
|
|
25
18
|
row,
|
|
26
19
|
column,
|
|
27
20
|
$rowIndex
|
|
28
|
-
}) {
|
|
29
|
-
const {
|
|
30
|
-
emitFormClick
|
|
31
|
-
} = useIhoTableFormEvent({
|
|
32
|
-
row,
|
|
33
|
-
column,
|
|
34
|
-
$rowIndex
|
|
35
|
-
});
|
|
21
|
+
}) => {
|
|
36
22
|
return [createVNode(EditDate, mergeProps({
|
|
37
23
|
"value": row[column.field],
|
|
38
24
|
"onUpdate:value": ($event) => row[column.field] = $event
|
|
39
|
-
},
|
|
25
|
+
}, fieldItem.componentProps, {
|
|
40
26
|
"column": column,
|
|
41
27
|
"row": row,
|
|
42
28
|
"index": $rowIndex,
|
|
43
29
|
"onClick": emitFormClick
|
|
44
30
|
}), null)];
|
|
45
|
-
}
|
|
31
|
+
})
|
|
46
32
|
});
|
|
47
33
|
}
|
|
48
34
|
});
|