cnhis-design-vue 3.4.0-beta.63 → 3.4.0-beta.66
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/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +51 -15
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +26 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.js +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +4 -3
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
function i18n(code, defaultValue) {
|
|
2
|
-
|
|
2
|
+
try {
|
|
3
|
+
return window.getLanguageByCode?.(code) || window.top?.getLanguageByCode?.(code) || defaultValue;
|
|
4
|
+
} catch (error) {
|
|
5
|
+
return defaultValue;
|
|
6
|
+
}
|
|
3
7
|
}
|
|
4
8
|
|
|
5
9
|
function i18nAbbr(code, defaultValue) {
|
|
@@ -3,6 +3,7 @@ import { defaultBorderStyle, defaultLineStyle, defaultTextStyle } from '../useDr
|
|
|
3
3
|
import '../../../../../shared/utils/fabricjs/index.js';
|
|
4
4
|
import 'date-fns';
|
|
5
5
|
import { cloneDeep, last, isNumber } from 'lodash-es';
|
|
6
|
+
import '../../utils/eventBus.js';
|
|
6
7
|
import '../useEvent.js';
|
|
7
8
|
import '../useShadow.js';
|
|
8
9
|
import '../useCommon.js';
|
|
@@ -17,6 +17,7 @@ import './useTop.js';
|
|
|
17
17
|
import './useOther.js';
|
|
18
18
|
import '../../../../../shared/utils/index.js';
|
|
19
19
|
import { useIntervalFn } from '@vueuse/core';
|
|
20
|
+
import { singlePointAddEventBus } from '../../utils/eventBus.js';
|
|
20
21
|
|
|
21
22
|
function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPopupTipRender) {
|
|
22
23
|
const {
|
|
@@ -248,6 +249,21 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
248
249
|
currentSelection && canvas.value.remove(currentSelection);
|
|
249
250
|
currentSelection = null;
|
|
250
251
|
}
|
|
252
|
+
function createChildrenMenuList(itemList2) {
|
|
253
|
+
return itemList2.map((item) => ({
|
|
254
|
+
key: item.key,
|
|
255
|
+
label: item.title,
|
|
256
|
+
mode: "add",
|
|
257
|
+
origin: {
|
|
258
|
+
title: item.title,
|
|
259
|
+
unit: item.unit,
|
|
260
|
+
type: item.bigType,
|
|
261
|
+
dataIndex: item.dataIndex,
|
|
262
|
+
key: item.key,
|
|
263
|
+
linkKey: item.linkKey
|
|
264
|
+
}
|
|
265
|
+
}));
|
|
266
|
+
}
|
|
251
267
|
function handleRightClick(event2) {
|
|
252
268
|
pointTipProps.show = false;
|
|
253
269
|
const {
|
|
@@ -261,6 +277,7 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
261
277
|
menuList = []
|
|
262
278
|
} = extraMenuConfig;
|
|
263
279
|
pointMenuProps.list = filter(OTHER_MENU, (o) => o.key === "add").concat(menuList);
|
|
280
|
+
pointMenuProps.list[0].children = createChildrenMenuList(itemList);
|
|
264
281
|
} else {
|
|
265
282
|
if (event2.target.__type !== "main")
|
|
266
283
|
return;
|
|
@@ -279,6 +296,11 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
279
296
|
}
|
|
280
297
|
};
|
|
281
298
|
});
|
|
299
|
+
const newChildren = itemList.filter((item) => {
|
|
300
|
+
const key = item.linkKey || item.key;
|
|
301
|
+
return !getEqualXTypes(getGridPoints(), point.left, "key", xCellWidth).includes(key);
|
|
302
|
+
});
|
|
303
|
+
pointMenuProps.list[0].children = createChildrenMenuList(newChildren);
|
|
282
304
|
}
|
|
283
305
|
}
|
|
284
306
|
function setPointMenuProps(point, target, list) {
|
|
@@ -295,29 +317,42 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
295
317
|
target,
|
|
296
318
|
pointer
|
|
297
319
|
}) {
|
|
298
|
-
var _a;
|
|
320
|
+
var _a, _b, _c;
|
|
299
321
|
const {
|
|
300
322
|
key,
|
|
301
|
-
origin
|
|
323
|
+
origin,
|
|
324
|
+
mode
|
|
302
325
|
} = item;
|
|
303
326
|
const params = {
|
|
304
327
|
...origin
|
|
305
328
|
};
|
|
306
|
-
if (
|
|
307
|
-
Object.assign(params, {
|
|
308
|
-
data: {
|
|
309
|
-
time: getXValue(pointer.x)
|
|
310
|
-
},
|
|
311
|
-
type: null
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
if (["add", "remove"].includes(key)) {
|
|
329
|
+
if (key === "remove" || mode === "add") {
|
|
315
330
|
if (key === "remove") {
|
|
316
331
|
updateData(params, "remove");
|
|
332
|
+
} else {
|
|
333
|
+
const pointKey = origin.linkKey || origin.key;
|
|
334
|
+
params.data = {
|
|
335
|
+
time: getXValue(pointer.x),
|
|
336
|
+
value: getYValue(origin.type, pointer.y),
|
|
337
|
+
...origin.linkKey && {
|
|
338
|
+
key: origin.key
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
updateData({
|
|
342
|
+
...params,
|
|
343
|
+
key: pointKey
|
|
344
|
+
}, "add");
|
|
345
|
+
const firstLeft = pointKey ? (_b = (_a = gridPointsMap.get(pointKey)) == null ? void 0 : _a[0]) == null ? void 0 : _b.left : void 0;
|
|
346
|
+
const minLeft = firstLeft != null ? firstLeft : pointer.x;
|
|
347
|
+
const limitRight = minLeft - xCellWidth;
|
|
348
|
+
singlePointAddEventBus.emit({
|
|
349
|
+
...origin,
|
|
350
|
+
limitRight
|
|
351
|
+
});
|
|
317
352
|
}
|
|
318
353
|
emits(key, params);
|
|
319
354
|
} else {
|
|
320
|
-
(
|
|
355
|
+
(_c = extraMenuConfig.click) == null ? void 0 : _c.call(extraMenuConfig, key, params);
|
|
321
356
|
}
|
|
322
357
|
}
|
|
323
358
|
function drawCordonLine(item, scaleValue) {
|
|
@@ -802,7 +837,7 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
802
837
|
});
|
|
803
838
|
}
|
|
804
839
|
function redrawPoints(ItemObj) {
|
|
805
|
-
var _a, _b, _c;
|
|
840
|
+
var _a, _b, _c, _d;
|
|
806
841
|
batchAddPoints.size && ((_a = canvas.value) == null ? void 0 : _a.remove(...doRemovePoints([...batchAddPoints])));
|
|
807
842
|
batchAddPoints.clear();
|
|
808
843
|
batchAddDatas = [];
|
|
@@ -812,12 +847,13 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
|
812
847
|
scaleValue
|
|
813
848
|
} = ItemObj;
|
|
814
849
|
const item = scaleValue.dataList[dataIndex];
|
|
815
|
-
(_b =
|
|
850
|
+
const points = (_b = gridPointsMap.get(item.key)) != null ? _b : [];
|
|
851
|
+
(_c = canvas.value) == null ? void 0 : _c.remove(...doRemovePoints(points));
|
|
816
852
|
gridPointsMap.delete(item.key);
|
|
817
853
|
drawPolyLine(item, dataIndex, scaleValue);
|
|
818
854
|
} else {
|
|
819
855
|
yScaleValue = cloneDeep(scaleValues);
|
|
820
|
-
gridPointsMap.size && ((
|
|
856
|
+
gridPointsMap.size && ((_d = canvas.value) == null ? void 0 : _d.remove(...doRemovePoints(getGridPoints())));
|
|
821
857
|
gridPointsMap.clear();
|
|
822
858
|
init();
|
|
823
859
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { onBeforeUnmount } from 'vue';
|
|
1
2
|
import { fabric } from '../../../../../shared/utils/fabricjs/index.js';
|
|
2
3
|
import { drawTextGroup, defaultRectStyle, drawTextAndIconGroup, drawText, defaultTextStyle, defaultStyle } from '../useDraw.js';
|
|
3
4
|
import { useBirthProcessCumputedPoint } from '../useCumputedPoint.js';
|
|
@@ -5,7 +6,6 @@ import '../useEvent.js';
|
|
|
5
6
|
import '../useShadow.js';
|
|
6
7
|
import { drawScaleNumber } from '../useScaleColumn.js';
|
|
7
8
|
import { useCommon } from '../useCommon.js';
|
|
8
|
-
import 'vue';
|
|
9
9
|
import { isEffectiveNode, getScaleNumberList } from '../../utils/index.js';
|
|
10
10
|
import { cloneDeep, omit, last } from 'lodash-es';
|
|
11
11
|
import 'date-fns';
|
|
@@ -16,6 +16,7 @@ import './useTop.js';
|
|
|
16
16
|
import '@vueuse/core';
|
|
17
17
|
import './useOther.js';
|
|
18
18
|
import '../../../../../shared/utils/index.js';
|
|
19
|
+
import { singlePointAddEventBus } from '../../utils/eventBus.js';
|
|
19
20
|
|
|
20
21
|
function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, updateData, getGridPoints) {
|
|
21
22
|
const { getYValue, getXValue, computedX } = useBirthProcessCumputedPoint(propItems);
|
|
@@ -36,6 +37,7 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
|
|
|
36
37
|
canvasHeight,
|
|
37
38
|
xCellWidth
|
|
38
39
|
} = propItems;
|
|
40
|
+
const icons = /* @__PURE__ */ new Set();
|
|
39
41
|
function drawTitle() {
|
|
40
42
|
if (!left)
|
|
41
43
|
return;
|
|
@@ -130,8 +132,15 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
|
|
|
130
132
|
}
|
|
131
133
|
});
|
|
132
134
|
icon.linkPoints = linkPoints;
|
|
135
|
+
icons.add(icon);
|
|
133
136
|
});
|
|
134
137
|
}
|
|
138
|
+
function listener(params) {
|
|
139
|
+
const { limitRight, key } = params;
|
|
140
|
+
const icon = Array.from(icons).find((_icon) => _icon.origin.key === key);
|
|
141
|
+
icon && setLimitRight(icon, limitRight);
|
|
142
|
+
}
|
|
143
|
+
singlePointAddEventBus.on(listener);
|
|
135
144
|
function setPointEvent(point) {
|
|
136
145
|
point.on("moving", () => {
|
|
137
146
|
point.set("originX", "center");
|
|
@@ -153,17 +162,17 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
|
|
|
153
162
|
handleAddPrevent("repeat");
|
|
154
163
|
} else {
|
|
155
164
|
const params = {
|
|
156
|
-
data:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
165
|
+
data: [
|
|
166
|
+
{
|
|
167
|
+
time: getXValue(point.left),
|
|
168
|
+
value: getYValue(point.origin.type, point.top),
|
|
169
|
+
...point.origin.linkKey && { key: point.origin.key }
|
|
170
|
+
}
|
|
171
|
+
],
|
|
161
172
|
...point.origin
|
|
162
173
|
};
|
|
163
174
|
const limitRight = point.left - xCellWidth;
|
|
164
|
-
point
|
|
165
|
-
_point.origin.limitRight = limitRight;
|
|
166
|
-
});
|
|
175
|
+
setLimitRight(point, limitRight);
|
|
167
176
|
emits("add", omit(params, ["limitRight"]));
|
|
168
177
|
updateData({ ...params, key });
|
|
169
178
|
}
|
|
@@ -172,6 +181,11 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
|
|
|
172
181
|
setRestore(point);
|
|
173
182
|
});
|
|
174
183
|
}
|
|
184
|
+
function setLimitRight(point, limitRight) {
|
|
185
|
+
point.linkPoints.forEach((_point) => {
|
|
186
|
+
_point.origin.limitRight = limitRight;
|
|
187
|
+
});
|
|
188
|
+
}
|
|
175
189
|
function setRestore(point) {
|
|
176
190
|
point.setCoords().set({ originX: "left", left: point.originLeft, top: point.originTop });
|
|
177
191
|
}
|
|
@@ -244,6 +258,9 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
|
|
|
244
258
|
drawYScale();
|
|
245
259
|
drawIcons();
|
|
246
260
|
drawBorder();
|
|
261
|
+
onBeforeUnmount(() => {
|
|
262
|
+
singlePointAddEventBus.off(listener);
|
|
263
|
+
});
|
|
247
264
|
}
|
|
248
265
|
|
|
249
266
|
export { useLeft };
|
|
@@ -2,6 +2,7 @@ import { fabric } from '../../../../../shared/utils/fabricjs/index.js';
|
|
|
2
2
|
import { drawTextGroup, defaultTextStyle, defaultStyle } from '../useDraw.js';
|
|
3
3
|
import 'date-fns';
|
|
4
4
|
import 'lodash-es';
|
|
5
|
+
import '../../utils/eventBus.js';
|
|
5
6
|
import '../useEvent.js';
|
|
6
7
|
import '../useShadow.js';
|
|
7
8
|
import '../useCommon.js';
|
|
@@ -2,6 +2,7 @@ import { fabric } from '../../../../../shared/utils/fabricjs/index.js';
|
|
|
2
2
|
import { drawLine, defaultStyle } from '../useDraw.js';
|
|
3
3
|
import { parse } from 'date-fns';
|
|
4
4
|
import { last, cloneDeep } from 'lodash-es';
|
|
5
|
+
import '../../utils/eventBus.js';
|
|
5
6
|
import '../useEvent.js';
|
|
6
7
|
import '../useShadow.js';
|
|
7
8
|
import '../useCommon.js';
|
|
@@ -2,6 +2,7 @@ import { fabric } from '../../../../../shared/utils/fabricjs/index.js';
|
|
|
2
2
|
import { drawLine, defaultStyle, drawTextGroup, defaultTextStyle } from '../useDraw.js';
|
|
3
3
|
import 'date-fns';
|
|
4
4
|
import { flatten } from 'lodash-es';
|
|
5
|
+
import '../../utils/eventBus.js';
|
|
5
6
|
import '../useEvent.js';
|
|
6
7
|
import '../useShadow.js';
|
|
7
8
|
import '../useCommon.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IPoint, ITreeItem } from '../interface';
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
|
+
export { singlePointAddEventBus } from './eventBus';
|
|
3
4
|
export declare function isEffectiveNode(node: IPoint): string | number | boolean;
|
|
4
5
|
/**
|
|
5
6
|
* @description: 判断yScaleValue数组内的项类型是否可以连成一条折线,比如温度线
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isNull, isNumber } from 'lodash-es';
|
|
2
|
+
export { singlePointAddEventBus } from './eventBus.js';
|
|
2
3
|
|
|
3
4
|
function isEffectiveNode(node) {
|
|
4
5
|
return (node == null ? void 0 : node.time) && ((node == null ? void 0 : node.value) || (node == null ? void 0 : node.value) === 0);
|
|
@@ -553,12 +553,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
553
553
|
hide: boolean;
|
|
554
554
|
}>;
|
|
555
555
|
draggable: boolean;
|
|
556
|
-
isHighlightRow: boolean;
|
|
557
|
-
idx: number;
|
|
558
|
-
isHighlight: boolean;
|
|
559
|
-
isFieldSet: boolean;
|
|
560
556
|
fieldDescribeMode: "column" | "tooltip";
|
|
557
|
+
isFieldSet: boolean;
|
|
561
558
|
hideExpressionOption: AnyObject[];
|
|
559
|
+
idx: number;
|
|
560
|
+
isHighlight: boolean;
|
|
561
|
+
isHighlightRow: boolean;
|
|
562
562
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
563
563
|
EditDialog: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
564
564
|
visible: {
|
|
@@ -594,12 +594,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
594
594
|
hide: boolean;
|
|
595
595
|
}>;
|
|
596
596
|
draggable: boolean;
|
|
597
|
-
isHighlightRow: boolean;
|
|
598
|
-
idx: number;
|
|
599
|
-
isHighlight: boolean;
|
|
600
|
-
isFieldSet: boolean;
|
|
601
597
|
fieldDescribeMode: "column" | "tooltip";
|
|
598
|
+
isFieldSet: boolean;
|
|
602
599
|
hideExpressionOption: AnyObject[];
|
|
600
|
+
idx: number;
|
|
601
|
+
isHighlight: boolean;
|
|
602
|
+
isHighlightRow: boolean;
|
|
603
603
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
604
604
|
readonly setStyle: typeof setStyle;
|
|
605
605
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -773,12 +773,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
773
773
|
hide: boolean;
|
|
774
774
|
}>;
|
|
775
775
|
draggable: boolean;
|
|
776
|
-
isHighlightRow: boolean;
|
|
777
|
-
idx: number;
|
|
778
|
-
isHighlight: boolean;
|
|
779
|
-
isFieldSet: boolean;
|
|
780
776
|
fieldDescribeMode: "column" | "tooltip";
|
|
777
|
+
isFieldSet: boolean;
|
|
781
778
|
hideExpressionOption: AnyObject[];
|
|
779
|
+
idx: number;
|
|
780
|
+
isHighlight: boolean;
|
|
781
|
+
isHighlightRow: boolean;
|
|
782
782
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
783
783
|
readonly isArray: {
|
|
784
784
|
(value?: any): value is any[];
|
|
@@ -918,9 +918,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
918
918
|
showSeq: boolean;
|
|
919
919
|
developMode: boolean;
|
|
920
920
|
footerFlag: boolean;
|
|
921
|
-
fieldDescribeMode: "column" | "tooltip";
|
|
922
921
|
customColumns: FieldSetColumnItem[];
|
|
923
922
|
showSortPriority: boolean;
|
|
924
923
|
showHeadFilter: boolean;
|
|
924
|
+
fieldDescribeMode: "column" | "tooltip";
|
|
925
925
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
926
926
|
export default _default;
|
|
@@ -384,11 +384,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
384
384
|
hide: boolean;
|
|
385
385
|
}>;
|
|
386
386
|
draggable: boolean;
|
|
387
|
-
isHighlightRow: boolean;
|
|
388
|
-
idx: number;
|
|
389
|
-
isHighlight: boolean;
|
|
390
|
-
isFieldSet: boolean;
|
|
391
387
|
fieldDescribeMode: "column" | "tooltip";
|
|
388
|
+
isFieldSet: boolean;
|
|
392
389
|
hideExpressionOption: AnyObject[];
|
|
390
|
+
idx: number;
|
|
391
|
+
isHighlight: boolean;
|
|
392
|
+
isHighlightRow: boolean;
|
|
393
393
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
394
394
|
export default _default;
|
|
@@ -166,6 +166,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
})]), range(currentGroupNum.value).map((_, idx) => createVNode("section", {
|
|
167
167
|
"class": "form-render__combinationContentJson"
|
|
168
168
|
}, [createVNode(FormRenderComponent, {
|
|
169
|
+
"lifeCycle": globProps == null ? void 0 : globProps.lifeCycle,
|
|
169
170
|
"ref": (_ref) => setFormRenderRef(idx, _ref),
|
|
170
171
|
"fieldList": props.properties,
|
|
171
172
|
"components": globProps == null ? void 0 : globProps.components,
|
|
@@ -383,7 +383,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
383
383
|
...props.searchFilter
|
|
384
384
|
};
|
|
385
385
|
const customTitles = searchFilter.customTitles || [""];
|
|
386
|
-
const values = [childList, parentList];
|
|
386
|
+
const values = props.onlyCheckChildNode ? [childList] : [childList, parentList];
|
|
387
387
|
searchData.value = customTitles.map((title, i) => ({
|
|
388
388
|
title,
|
|
389
389
|
data: values[i] || []
|
|
@@ -668,11 +668,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
668
668
|
})]), __props.multiple && !isSearch.value && treeData.value.length > 0 ? withDirectives((openBlock(), createBlock(unref(NCheckbox), {
|
|
669
669
|
key: 0,
|
|
670
670
|
checked: checkedAll.value,
|
|
671
|
-
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
|
|
671
|
+
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange],
|
|
672
|
+
disabled: __props.onlyCheckChildNode
|
|
672
673
|
}, {
|
|
673
674
|
default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(i18n("10010.1.37", "\u5168\u9009"), -1)])]),
|
|
674
675
|
_: 1
|
|
675
|
-
}, 8, ["checked"])), [[vShow, __props.forceShowSelectAll]]) : createCommentVNode("v-if", true), createCommentVNode(" \u540C\u65F6\u517C\u5BB9\u9009\u4EBA\u548C\u9009\u90E8\u95E8 "), isSearch.value && isShowGroupList.value ? (openBlock(), createBlock(SearchGroupList, {
|
|
676
|
+
}, 8, ["checked", "disabled"])), [[vShow, __props.forceShowSelectAll]]) : createCommentVNode("v-if", true), createCommentVNode(" \u540C\u65F6\u517C\u5BB9\u9009\u4EBA\u548C\u9009\u90E8\u95E8 "), isSearch.value && isShowGroupList.value ? (openBlock(), createBlock(SearchGroupList, {
|
|
676
677
|
key: 1,
|
|
677
678
|
class: "c-select-person__hide",
|
|
678
679
|
type: showType.value,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.4.0-beta.
|
|
3
|
+
"version": "3.4.0-beta.66",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"iOS 7",
|
|
74
74
|
"last 3 iOS versions"
|
|
75
75
|
],
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "ebc0b457ddea06a2b1a8abe4234e5c077782291f"
|
|
77
77
|
}
|