cnhis-design-vue 3.1.31-beta.8 → 3.1.31-beta.9
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/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/package.json +2 -2
- package/es/components/fabric-chart/index.d.ts +0 -207
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +0 -208
|
@@ -250,6 +250,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function drawPolyLine(item, dataIndex, scaleValue) {
|
|
253
|
+
var _a;
|
|
253
254
|
const {
|
|
254
255
|
type,
|
|
255
256
|
riseStyle = {},
|
|
@@ -264,7 +265,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
264
265
|
const pointList = [];
|
|
265
266
|
const lineList = [];
|
|
266
267
|
const otherList = [];
|
|
267
|
-
item.list.forEach((v, index) => {
|
|
268
|
+
(_a = item.list) == null ? void 0 : _a.forEach((v, index) => {
|
|
268
269
|
const _item = type !== "temperature" ? item : dataList.find((_v) => _v.key === v.key);
|
|
269
270
|
const points = getPointer(v, scaleValue);
|
|
270
271
|
const otherObj = {};
|
|
@@ -311,7 +312,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
311
312
|
};
|
|
312
313
|
}
|
|
313
314
|
function drawOther(points, v, _item, otherObj) {
|
|
314
|
-
var
|
|
315
|
+
var _a2;
|
|
315
316
|
if (!(points == null ? void 0 : points.length) || !["temperature", "pain"].includes(type))
|
|
316
317
|
return;
|
|
317
318
|
const { lineAttr = {} } = _item;
|
|
@@ -355,7 +356,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
355
356
|
...reduceStyle.line,
|
|
356
357
|
...defaultStyle
|
|
357
358
|
});
|
|
358
|
-
reducePoint = drawPoint(((
|
|
359
|
+
reducePoint = drawPoint(((_a2 = reduceStyle == null ? void 0 : reduceStyle.point) == null ? void 0 : _a2.type) || "circle", {
|
|
359
360
|
left: points[0],
|
|
360
361
|
top: reduceY,
|
|
361
362
|
...reduceStyle.point,
|
|
@@ -658,9 +659,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
658
659
|
}
|
|
659
660
|
function redrawPoints() {
|
|
660
661
|
var _a;
|
|
661
|
-
|
|
662
|
-
return;
|
|
663
|
-
(_a = canvas.value) == null ? void 0 : _a.remove(...getRemovePoints([...gridPoints]));
|
|
662
|
+
gridPoints.size && ((_a = canvas.value) == null ? void 0 : _a.remove(...getRemovePoints([...gridPoints])));
|
|
664
663
|
shadowPointCache = [];
|
|
665
664
|
gridPoints.clear();
|
|
666
665
|
maiboPoints.clear();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { onMounted, nextTick } from 'vue';
|
|
2
2
|
import { fabric } from '../utils/index.js';
|
|
3
|
-
import { drawLine } from './useDraw.js';
|
|
3
|
+
import { drawLine, defaultBorderStyle } from './useDraw.js';
|
|
4
4
|
|
|
5
5
|
function useGrid(canvas, propItems) {
|
|
6
6
|
var _a, _b;
|
|
@@ -25,10 +25,10 @@ function useGrid(canvas, propItems) {
|
|
|
25
25
|
style = grid.subSecondLineStyle || {};
|
|
26
26
|
}
|
|
27
27
|
if (i % grid.subXCell === 0) {
|
|
28
|
-
style = ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {};
|
|
28
|
+
style = i !== 0 && i !== gridXNumber ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {} : defaultBorderStyle;
|
|
29
29
|
}
|
|
30
30
|
const line = drawLine([x, originY, x, endY], style);
|
|
31
|
-
if (i % grid.subXCell === 0) {
|
|
31
|
+
if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
|
|
32
32
|
mainList.add(line);
|
|
33
33
|
} else {
|
|
34
34
|
xList.push(line);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.31-beta.
|
|
3
|
+
"version": "3.1.31-beta.9",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"iOS 7",
|
|
62
62
|
"last 3 iOS versions"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "6cedf15777e13fda86e997af70df605a7944c061"
|
|
65
65
|
}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
-
declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: null;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
addRenderItem: {
|
|
8
|
-
type: FunctionConstructor;
|
|
9
|
-
required: false;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
defaultHeight: number;
|
|
13
|
-
props: {
|
|
14
|
-
data: import("./src/interface").IData;
|
|
15
|
-
addRenderItem?: Function | undefined;
|
|
16
|
-
};
|
|
17
|
-
emits: (event: "change" | "add" | "select", ...args: any[]) => void;
|
|
18
|
-
select: import("vue").Ref<any>;
|
|
19
|
-
canvasRef: any;
|
|
20
|
-
canvas: import("vue").Ref<any>;
|
|
21
|
-
dateHeight: import("vue").ComputedRef<number>;
|
|
22
|
-
hospitalDaysHeight: import("vue").ComputedRef<number>;
|
|
23
|
-
operationDaysHeight: import("vue").ComputedRef<number>;
|
|
24
|
-
xScalevalueHeight: import("vue").ComputedRef<number>;
|
|
25
|
-
breathingHeight: import("vue").ComputedRef<any>;
|
|
26
|
-
gridXNumber: import("vue").ComputedRef<number>;
|
|
27
|
-
gridYNumber: import("vue").ComputedRef<number>;
|
|
28
|
-
endX: import("vue").ComputedRef<number>;
|
|
29
|
-
endXLimit: import("vue").ComputedRef<number>;
|
|
30
|
-
originX: import("vue").ComputedRef<any>;
|
|
31
|
-
endY: import("vue").ComputedRef<number>;
|
|
32
|
-
originY: import("vue").ComputedRef<number>;
|
|
33
|
-
originYLimit: import("vue").ComputedRef<number>;
|
|
34
|
-
xCellWidth: import("vue").ComputedRef<number>;
|
|
35
|
-
yCellHeight: import("vue").ComputedRef<number>;
|
|
36
|
-
iconsWidth: import("vue").ComputedRef<any>;
|
|
37
|
-
xScaleList: import("vue").ComputedRef<any[]>;
|
|
38
|
-
breatheYCell: import("vue").ComputedRef<number>;
|
|
39
|
-
pulseYCell: import("vue").ComputedRef<number>;
|
|
40
|
-
temperatureYCell: import("vue").ComputedRef<number>;
|
|
41
|
-
painYCell: import("vue").ComputedRef<number>;
|
|
42
|
-
event: import("vue").ComputedRef<any>;
|
|
43
|
-
itemList: import("vue").ComputedRef<any[]>;
|
|
44
|
-
painIndex: import("vue").ComputedRef<number>;
|
|
45
|
-
painHeight: import("vue").ComputedRef<number>;
|
|
46
|
-
painOriginY: import("vue").ComputedRef<{
|
|
47
|
-
originY: number;
|
|
48
|
-
endY: number;
|
|
49
|
-
}>;
|
|
50
|
-
vitalSignsOriginY: import("vue").ComputedRef<{
|
|
51
|
-
originY: number;
|
|
52
|
-
endY: number;
|
|
53
|
-
}>;
|
|
54
|
-
topList: import("vue").ComputedRef<import("./src/interface").IDate[]>;
|
|
55
|
-
getRightInfo: import("vue").ComputedRef<any>;
|
|
56
|
-
propItems: any;
|
|
57
|
-
computedYCell: (type: import("./src/interface").IPointType) => number;
|
|
58
|
-
cumputedX: (value: string | number, setAllCenter?: boolean) => any;
|
|
59
|
-
cumputedY: (type: import("./src/interface").IPointType, scaleValueList: number[], value: string | number) => number;
|
|
60
|
-
getXValue: (pointX: number) => string | undefined;
|
|
61
|
-
getYValue: (type: import("./src/interface").IPointType, pointY: number) => number;
|
|
62
|
-
pointTipProps: {
|
|
63
|
-
show: boolean;
|
|
64
|
-
point: {
|
|
65
|
-
x: number;
|
|
66
|
-
y: number;
|
|
67
|
-
};
|
|
68
|
-
list: string[];
|
|
69
|
-
};
|
|
70
|
-
pointMenuProps: {
|
|
71
|
-
show: boolean;
|
|
72
|
-
point: {
|
|
73
|
-
x: number;
|
|
74
|
-
y: number;
|
|
75
|
-
};
|
|
76
|
-
list: any[];
|
|
77
|
-
target: any;
|
|
78
|
-
};
|
|
79
|
-
clickMenu: ({ item, target }: {
|
|
80
|
-
item: any;
|
|
81
|
-
target: any;
|
|
82
|
-
}) => void;
|
|
83
|
-
setPopup: (point: any) => void;
|
|
84
|
-
getEqualXTypes: (pointX: number) => import("./src/interface").IPointType[];
|
|
85
|
-
isAddPoint: (x: number) => boolean;
|
|
86
|
-
updateData: (params: any, mode?: string) => void;
|
|
87
|
-
redrawPoints: () => void;
|
|
88
|
-
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
89
|
-
PopupTip: import("vue").DefineComponent<{
|
|
90
|
-
show: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
required: true;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
point: {
|
|
96
|
-
type: null;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
list: {
|
|
100
|
-
type: ArrayConstructor;
|
|
101
|
-
required: false;
|
|
102
|
-
default: () => never[];
|
|
103
|
-
};
|
|
104
|
-
propItems: {
|
|
105
|
-
type: null;
|
|
106
|
-
required: true;
|
|
107
|
-
};
|
|
108
|
-
}, {
|
|
109
|
-
props: {
|
|
110
|
-
show: boolean;
|
|
111
|
-
point: import("./src/interface").ICoordinateValue;
|
|
112
|
-
list: string[];
|
|
113
|
-
propItems: import("./src/interface").IPropItems;
|
|
114
|
-
};
|
|
115
|
-
pointStyle: import("vue").ComputedRef<{
|
|
116
|
-
top: string;
|
|
117
|
-
bottom: string;
|
|
118
|
-
left: string;
|
|
119
|
-
right: string;
|
|
120
|
-
'transform-origin': string;
|
|
121
|
-
}>;
|
|
122
|
-
Teleport: {
|
|
123
|
-
new (): {
|
|
124
|
-
$props: import("vue").VNodeProps & import("vue").TeleportProps;
|
|
125
|
-
};
|
|
126
|
-
__isTeleport: true;
|
|
127
|
-
};
|
|
128
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
show: {
|
|
130
|
-
type: BooleanConstructor;
|
|
131
|
-
required: true;
|
|
132
|
-
default: boolean;
|
|
133
|
-
};
|
|
134
|
-
point: {
|
|
135
|
-
type: null;
|
|
136
|
-
required: true;
|
|
137
|
-
};
|
|
138
|
-
list: {
|
|
139
|
-
type: ArrayConstructor;
|
|
140
|
-
required: false;
|
|
141
|
-
default: () => never[];
|
|
142
|
-
};
|
|
143
|
-
propItems: {
|
|
144
|
-
type: null;
|
|
145
|
-
required: true;
|
|
146
|
-
};
|
|
147
|
-
}>>, {
|
|
148
|
-
list: unknown[];
|
|
149
|
-
}>;
|
|
150
|
-
PopupMenu: import("vue").DefineComponent<{
|
|
151
|
-
show: {
|
|
152
|
-
type: BooleanConstructor;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
list: {
|
|
156
|
-
type: ArrayConstructor;
|
|
157
|
-
default: () => never[];
|
|
158
|
-
};
|
|
159
|
-
point: {
|
|
160
|
-
type: import("vue").PropType<import("./src/interface").ICoordinateValue>;
|
|
161
|
-
};
|
|
162
|
-
propItems: {
|
|
163
|
-
type: import("vue").PropType<import("./src/interface").IPropItems>;
|
|
164
|
-
};
|
|
165
|
-
target: {
|
|
166
|
-
type: import("vue").PropType<any>;
|
|
167
|
-
};
|
|
168
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "clickMenu")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
-
show: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
list: {
|
|
174
|
-
type: ArrayConstructor;
|
|
175
|
-
default: () => never[];
|
|
176
|
-
};
|
|
177
|
-
point: {
|
|
178
|
-
type: import("vue").PropType<import("./src/interface").ICoordinateValue>;
|
|
179
|
-
};
|
|
180
|
-
propItems: {
|
|
181
|
-
type: import("vue").PropType<import("./src/interface").IPropItems>;
|
|
182
|
-
};
|
|
183
|
-
target: {
|
|
184
|
-
type: import("vue").PropType<any>;
|
|
185
|
-
};
|
|
186
|
-
}>> & {
|
|
187
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
show: boolean;
|
|
191
|
-
list: unknown[];
|
|
192
|
-
}>;
|
|
193
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "add" | "select")[], "change" | "add" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
194
|
-
data: {
|
|
195
|
-
type: null;
|
|
196
|
-
required: true;
|
|
197
|
-
};
|
|
198
|
-
addRenderItem: {
|
|
199
|
-
type: FunctionConstructor;
|
|
200
|
-
required: false;
|
|
201
|
-
};
|
|
202
|
-
}>> & {
|
|
203
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
}, {}>>;
|
|
207
|
-
export default FabricChart;
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { IData, IDate, IPointType } from './interface';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
data: {
|
|
5
|
-
type: null;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
addRenderItem: {
|
|
9
|
-
type: FunctionConstructor;
|
|
10
|
-
required: false;
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
defaultHeight: number;
|
|
14
|
-
props: {
|
|
15
|
-
data: IData;
|
|
16
|
-
addRenderItem?: Function | undefined;
|
|
17
|
-
};
|
|
18
|
-
emits: (event: "change" | "add" | "select", ...args: any[]) => void;
|
|
19
|
-
select: import("vue").Ref<any>;
|
|
20
|
-
canvasRef: any;
|
|
21
|
-
canvas: import("vue").Ref<any>;
|
|
22
|
-
dateHeight: import("vue").ComputedRef<number>;
|
|
23
|
-
hospitalDaysHeight: import("vue").ComputedRef<number>;
|
|
24
|
-
operationDaysHeight: import("vue").ComputedRef<number>;
|
|
25
|
-
xScalevalueHeight: import("vue").ComputedRef<number>;
|
|
26
|
-
breathingHeight: import("vue").ComputedRef<any>;
|
|
27
|
-
gridXNumber: import("vue").ComputedRef<number>;
|
|
28
|
-
gridYNumber: import("vue").ComputedRef<number>;
|
|
29
|
-
endX: import("vue").ComputedRef<number>;
|
|
30
|
-
endXLimit: import("vue").ComputedRef<number>;
|
|
31
|
-
originX: import("vue").ComputedRef<any>;
|
|
32
|
-
endY: import("vue").ComputedRef<number>;
|
|
33
|
-
originY: import("vue").ComputedRef<number>;
|
|
34
|
-
originYLimit: import("vue").ComputedRef<number>;
|
|
35
|
-
xCellWidth: import("vue").ComputedRef<number>;
|
|
36
|
-
yCellHeight: import("vue").ComputedRef<number>;
|
|
37
|
-
iconsWidth: import("vue").ComputedRef<any>;
|
|
38
|
-
xScaleList: import("vue").ComputedRef<any[]>;
|
|
39
|
-
breatheYCell: import("vue").ComputedRef<number>;
|
|
40
|
-
pulseYCell: import("vue").ComputedRef<number>;
|
|
41
|
-
temperatureYCell: import("vue").ComputedRef<number>;
|
|
42
|
-
painYCell: import("vue").ComputedRef<number>;
|
|
43
|
-
event: import("vue").ComputedRef<any>;
|
|
44
|
-
itemList: import("vue").ComputedRef<any[]>;
|
|
45
|
-
painIndex: import("vue").ComputedRef<number>;
|
|
46
|
-
painHeight: import("vue").ComputedRef<number>;
|
|
47
|
-
painOriginY: import("vue").ComputedRef<{
|
|
48
|
-
originY: number;
|
|
49
|
-
endY: number;
|
|
50
|
-
}>;
|
|
51
|
-
vitalSignsOriginY: import("vue").ComputedRef<{
|
|
52
|
-
originY: number;
|
|
53
|
-
endY: number;
|
|
54
|
-
}>;
|
|
55
|
-
topList: import("vue").ComputedRef<IDate[]>;
|
|
56
|
-
getRightInfo: import("vue").ComputedRef<any>;
|
|
57
|
-
propItems: any;
|
|
58
|
-
computedYCell: (type: IPointType) => number;
|
|
59
|
-
cumputedX: (value: string | number, setAllCenter?: boolean) => any;
|
|
60
|
-
cumputedY: (type: IPointType, scaleValueList: number[], value: string | number) => number;
|
|
61
|
-
getXValue: (pointX: number) => string | undefined;
|
|
62
|
-
getYValue: (type: IPointType, pointY: number) => number;
|
|
63
|
-
pointTipProps: {
|
|
64
|
-
show: boolean;
|
|
65
|
-
point: {
|
|
66
|
-
x: number;
|
|
67
|
-
y: number;
|
|
68
|
-
};
|
|
69
|
-
list: string[];
|
|
70
|
-
};
|
|
71
|
-
pointMenuProps: {
|
|
72
|
-
show: boolean;
|
|
73
|
-
point: {
|
|
74
|
-
x: number;
|
|
75
|
-
y: number;
|
|
76
|
-
};
|
|
77
|
-
list: any[];
|
|
78
|
-
target: any;
|
|
79
|
-
};
|
|
80
|
-
clickMenu: ({ item, target }: {
|
|
81
|
-
item: any;
|
|
82
|
-
target: any;
|
|
83
|
-
}) => void;
|
|
84
|
-
setPopup: (point: any) => void;
|
|
85
|
-
getEqualXTypes: (pointX: number) => IPointType[];
|
|
86
|
-
isAddPoint: (x: number) => boolean;
|
|
87
|
-
updateData: (params: any, mode?: string) => void;
|
|
88
|
-
redrawPoints: () => void;
|
|
89
|
-
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
90
|
-
PopupTip: import("vue").DefineComponent<{
|
|
91
|
-
show: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
required: true;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
point: {
|
|
97
|
-
type: null;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
list: {
|
|
101
|
-
type: ArrayConstructor;
|
|
102
|
-
required: false;
|
|
103
|
-
default: () => never[];
|
|
104
|
-
};
|
|
105
|
-
propItems: {
|
|
106
|
-
type: null;
|
|
107
|
-
required: true;
|
|
108
|
-
};
|
|
109
|
-
}, {
|
|
110
|
-
props: {
|
|
111
|
-
show: boolean;
|
|
112
|
-
point: import("./interface").ICoordinateValue;
|
|
113
|
-
list: string[];
|
|
114
|
-
propItems: import("./interface").IPropItems;
|
|
115
|
-
};
|
|
116
|
-
pointStyle: import("vue").ComputedRef<{
|
|
117
|
-
top: string;
|
|
118
|
-
bottom: string;
|
|
119
|
-
left: string;
|
|
120
|
-
right: string;
|
|
121
|
-
'transform-origin': string;
|
|
122
|
-
}>;
|
|
123
|
-
Teleport: {
|
|
124
|
-
new (): {
|
|
125
|
-
$props: import("vue").VNodeProps & import("vue").TeleportProps;
|
|
126
|
-
};
|
|
127
|
-
__isTeleport: true;
|
|
128
|
-
};
|
|
129
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
-
show: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
required: true;
|
|
133
|
-
default: boolean;
|
|
134
|
-
};
|
|
135
|
-
point: {
|
|
136
|
-
type: null;
|
|
137
|
-
required: true;
|
|
138
|
-
};
|
|
139
|
-
list: {
|
|
140
|
-
type: ArrayConstructor;
|
|
141
|
-
required: false;
|
|
142
|
-
default: () => never[];
|
|
143
|
-
};
|
|
144
|
-
propItems: {
|
|
145
|
-
type: null;
|
|
146
|
-
required: true;
|
|
147
|
-
};
|
|
148
|
-
}>>, {
|
|
149
|
-
list: unknown[];
|
|
150
|
-
}>;
|
|
151
|
-
PopupMenu: import("vue").DefineComponent<{
|
|
152
|
-
show: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
list: {
|
|
157
|
-
type: ArrayConstructor;
|
|
158
|
-
default: () => never[];
|
|
159
|
-
};
|
|
160
|
-
point: {
|
|
161
|
-
type: PropType<import("./interface").ICoordinateValue>;
|
|
162
|
-
};
|
|
163
|
-
propItems: {
|
|
164
|
-
type: PropType<import("./interface").IPropItems>;
|
|
165
|
-
};
|
|
166
|
-
target: {
|
|
167
|
-
type: PropType<any>;
|
|
168
|
-
};
|
|
169
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "clickMenu")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
-
show: {
|
|
171
|
-
type: BooleanConstructor;
|
|
172
|
-
default: boolean;
|
|
173
|
-
};
|
|
174
|
-
list: {
|
|
175
|
-
type: ArrayConstructor;
|
|
176
|
-
default: () => never[];
|
|
177
|
-
};
|
|
178
|
-
point: {
|
|
179
|
-
type: PropType<import("./interface").ICoordinateValue>;
|
|
180
|
-
};
|
|
181
|
-
propItems: {
|
|
182
|
-
type: PropType<import("./interface").IPropItems>;
|
|
183
|
-
};
|
|
184
|
-
target: {
|
|
185
|
-
type: PropType<any>;
|
|
186
|
-
};
|
|
187
|
-
}>> & {
|
|
188
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
show: boolean;
|
|
192
|
-
list: unknown[];
|
|
193
|
-
}>;
|
|
194
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "add" | "select")[], "change" | "add" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
-
data: {
|
|
196
|
-
type: null;
|
|
197
|
-
required: true;
|
|
198
|
-
};
|
|
199
|
-
addRenderItem: {
|
|
200
|
-
type: FunctionConstructor;
|
|
201
|
-
required: false;
|
|
202
|
-
};
|
|
203
|
-
}>> & {
|
|
204
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
207
|
-
}, {}>;
|
|
208
|
-
export default _default;
|