@das-fed/upf-ui 6.4.0-dev.209 → 6.4.0-dev.210
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/front-end/i18n/front-end-page/dasui_en-US.js +4 -4
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +4 -4
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +4 -4
- package/package.json +5 -5
- package/packages/business-components/ai-panel/index-B4pMosXu.js +143 -0
- package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-BybM3Q9u.js → index-BgyMyjJo.js} +711 -700
- package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-CwdJKHy0.js → index-Bw7rNZmA.js} +9 -9
- package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/device-panel/index.js +8873 -8773
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/echarts/index.js +2056 -2049
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +50 -50
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +149 -149
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +60 -60
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +130 -128
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +904 -896
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +249 -246
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +1 -0
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +12 -6
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/calendar/index.js +104 -104
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +27 -27
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +54 -54
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +459 -459
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +63 -61
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +23 -22
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +224 -223
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +44 -42
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +67 -63
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +32 -32
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +51 -51
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-number/index.js +44 -44
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +834 -832
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +437 -431
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/index.js +6 -6
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +33 -33
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +4586 -4556
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +135 -135
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +2 -2
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/index.js +88 -88
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +10 -6
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +16 -14
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +53 -51
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +35 -35
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +102 -101
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +604 -599
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/time-line/index.js +1 -1
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tree/index.js +182 -173
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +110 -110
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +2 -2
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1240 -1208
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js +0 -142
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/tree-select/style.css';
|
|
2
|
-
import { ref as P, computed as T, watch as ve, nextTick as K, unref as
|
|
2
|
+
import { ref as P, computed as T, watch as ve, nextTick as K, unref as a, onMounted as Ne, onBeforeUnmount as Pe, defineComponent as Ve, useAttrs as xe, withDirectives as he, openBlock as H, createElementBlock as ue, normalizeClass as Oe, normalizeStyle as me, createVNode as de, withCtx as j, withModifiers as fe, mergeProps as ce, isRef as U, createTextVNode as Be, toDisplayString as Re, createElementVNode as Me, createBlock as be, createSlots as ye, renderSlot as O } from "vue";
|
|
3
3
|
import { withInstall as Ee } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { ElPopover as We } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/popover/style/css";
|
|
@@ -21,7 +21,7 @@ function Ke(e) {
|
|
|
21
21
|
var i = typeof e;
|
|
22
22
|
return e != null && (i == "object" || i == "function");
|
|
23
23
|
}
|
|
24
|
-
var $e = Ke, _e = typeof _ == "object" && _ && _.Object === Object && _, et = _e, tt = et,
|
|
24
|
+
var $e = Ke, _e = typeof _ == "object" && _ && _.Object === Object && _, et = _e, tt = et, lt = typeof self == "object" && self && self.Object === Object && self, at = tt || lt || Function("return this")(), Le = at, rt = Le, nt = function() {
|
|
25
25
|
return rt.Date.now();
|
|
26
26
|
}, ot = nt, it = /\s/;
|
|
27
27
|
function st(e) {
|
|
@@ -152,8 +152,8 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
152
152
|
const C = t[r], x = C[S.label];
|
|
153
153
|
if (o.push(x), x === n) return o.join("/");
|
|
154
154
|
if (C.children && C.children.length > 0) {
|
|
155
|
-
const
|
|
156
|
-
if (
|
|
155
|
+
const l = M(C[S.children], n, o);
|
|
156
|
+
if (l) return l;
|
|
157
157
|
}
|
|
158
158
|
o.pop();
|
|
159
159
|
}
|
|
@@ -213,8 +213,8 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
213
213
|
b.value || (u.value || u.value === 0) && (y.value && await ((n = p.value) == null ? void 0 : n.lazyDataNextTick(u.value)), t = D.value.filter((r) => r[c.value] === u.value)), b.value && (u.value || u.value.length) && (y.value && await ((o = p.value) == null ? void 0 : o.lazyDataNextTick(u.value)), t = D.value.filter((r) => u.value.includes(r[c.value]))), i("change", u.value, t);
|
|
214
214
|
}, W = P(!1), te = async () => {
|
|
215
215
|
w.value = !1, u.value = b.value ? [] : "", z(), W.value = !0;
|
|
216
|
-
},
|
|
217
|
-
var n, o, r, C, x,
|
|
216
|
+
}, le = async (t) => {
|
|
217
|
+
var n, o, r, C, x, l;
|
|
218
218
|
if (!W.value && b.value) {
|
|
219
219
|
if (!y.value && !$.value) {
|
|
220
220
|
let f = (o = (n = p.value) == null ? void 0 : n.treeRef) == null ? void 0 : o.getNode(t);
|
|
@@ -226,13 +226,13 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
226
226
|
const h = await p.value.getGrandChildrenFn(f);
|
|
227
227
|
if (h && h.length) {
|
|
228
228
|
const A = h.map((se) => se[c.value]);
|
|
229
|
-
u.value && ((
|
|
229
|
+
u.value && ((l = u.value) != null && l.length) && (u.value = u.value.filter((se) => !A.includes(se)));
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
z();
|
|
234
234
|
}
|
|
235
|
-
},
|
|
235
|
+
}, ae = (t) => {
|
|
236
236
|
if (!e.filter) return;
|
|
237
237
|
const n = t && (t == null ? void 0 : t.trim());
|
|
238
238
|
V.value = n, w.value || (w.value = !0);
|
|
@@ -255,8 +255,8 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
255
255
|
var o, r;
|
|
256
256
|
const n = (o = g.value) == null ? void 0 : o.querySelector(".ant-select-arrow>.das-icon");
|
|
257
257
|
t ? n.style.transform = "rotate(180deg)" : n.style.transform = "", (r = m.value) == null || r.toChangeMaxCount(t), K(() => {
|
|
258
|
-
var C, x,
|
|
259
|
-
(
|
|
258
|
+
var C, x, l;
|
|
259
|
+
(l = (x = (C = a(N)) == null ? void 0 : C.popperRef) == null ? void 0 : x.popperInstanceRef) == null || l.update();
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
);
|
|
@@ -277,7 +277,7 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
277
277
|
t && (F.value = Xe((n) => {
|
|
278
278
|
K(() => {
|
|
279
279
|
var o, r, C;
|
|
280
|
-
(C = (r = (o =
|
|
280
|
+
(C = (r = (o = a(N)) == null ? void 0 : o.popperRef) == null ? void 0 : r.popperInstanceRef) == null || C.update(), Y();
|
|
281
281
|
});
|
|
282
282
|
}, t));
|
|
283
283
|
}), Pe(() => {
|
|
@@ -301,8 +301,8 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
301
301
|
poppverHide: X,
|
|
302
302
|
treeChange: z,
|
|
303
303
|
nodeChange: re,
|
|
304
|
-
deselect:
|
|
305
|
-
selectSearch:
|
|
304
|
+
deselect: le,
|
|
305
|
+
selectSearch: ae,
|
|
306
306
|
selectClear: te,
|
|
307
307
|
popoverVisible: w,
|
|
308
308
|
selectMouseDown: J,
|
|
@@ -313,14 +313,14 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
313
313
|
textHide: s,
|
|
314
314
|
showCheckbox: b
|
|
315
315
|
};
|
|
316
|
-
},
|
|
316
|
+
}, el = {
|
|
317
317
|
key: 1,
|
|
318
318
|
class: "das-tree-select__selct-text-content"
|
|
319
|
-
},
|
|
319
|
+
}, tl = {
|
|
320
320
|
name: "DasTreeSelect",
|
|
321
321
|
inheritAttrs: !1
|
|
322
|
-
},
|
|
323
|
-
...
|
|
322
|
+
}, ll = /* @__PURE__ */ Ve({
|
|
323
|
+
...tl,
|
|
324
324
|
props: {
|
|
325
325
|
data: { default: () => [] },
|
|
326
326
|
mode: { default: void 0 },
|
|
@@ -358,10 +358,10 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
358
358
|
setup(e, { expose: i, emit: c }) {
|
|
359
359
|
const d = e, y = c, $ = xe(), g = T(() => d.placeholder || Ge("请选择")), m = T(() => $.nodeKey ?? $["node-key"] ?? "id"), p = T(() => d.load ?? void 0), N = T(() => d.search ?? void 0), w = T(() => d.getGrandChildren ?? void 0), k = T(() => $.lazy ?? !!p.value), B = T(() => k.value ? !1 : d.defaultExpandAll), b = T(() => d.selectAttrs ? d.selectAttrs : {}), S = T(() => !!(d.disabled || d.isView)), E = T(() => d.parentLinkChildrenStrictly || d.childLinkParentStrictly ? !0 : !!(d.checkStrictly ?? k.value)), u = {
|
|
360
360
|
fn: () => {
|
|
361
|
-
F.value = !1;
|
|
361
|
+
console.log("click-out"), F.value = !1;
|
|
362
362
|
}
|
|
363
|
-
}, V = (
|
|
364
|
-
|
|
363
|
+
}, V = (l) => {
|
|
364
|
+
l.key === "Enter" && l.stopPropagation();
|
|
365
365
|
}, {
|
|
366
366
|
dasTreeSelectRef: G,
|
|
367
367
|
$tree: M,
|
|
@@ -376,8 +376,8 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
376
376
|
treePath: z,
|
|
377
377
|
treeProps: W,
|
|
378
378
|
selectOptions: te,
|
|
379
|
-
currentLabel:
|
|
380
|
-
popoverRef:
|
|
379
|
+
currentLabel: le,
|
|
380
|
+
popoverRef: ae,
|
|
381
381
|
deselect: re,
|
|
382
382
|
poppverShow: Q,
|
|
383
383
|
poppverHide: Y,
|
|
@@ -399,218 +399,218 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
399
399
|
$tree: M,
|
|
400
400
|
/** 设置默认值,当默认值为动态设置时使用(兼容老版本) */
|
|
401
401
|
resetDefaultVal: oe
|
|
402
|
-
}), (
|
|
402
|
+
}), (l, f) => he((H(), ue("div", {
|
|
403
403
|
ref_key: "dasTreeSelectRef",
|
|
404
404
|
ref: G,
|
|
405
|
-
class: Oe({ "das-ui-tree-select": !0, "is-lazy": k.value, "text-hide":
|
|
406
|
-
style: me({ width:
|
|
405
|
+
class: Oe({ "das-ui-tree-select": !0, "is-lazy": k.value, "text-hide": a(o), "show-select": l.showSelectDom }),
|
|
406
|
+
style: me({ width: a(L) })
|
|
407
407
|
}, [
|
|
408
|
-
de(
|
|
408
|
+
de(a(We), {
|
|
409
409
|
ref_key: "popoverRef",
|
|
410
|
-
ref:
|
|
411
|
-
visible:
|
|
410
|
+
ref: ae,
|
|
411
|
+
visible: a(F),
|
|
412
412
|
"popper-class": "das-tree-select-popper",
|
|
413
413
|
placement: "bottom-start",
|
|
414
414
|
"show-arrow": !1,
|
|
415
|
-
width:
|
|
415
|
+
width: a(I),
|
|
416
416
|
disabled: S.value,
|
|
417
417
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
418
|
-
onShow:
|
|
419
|
-
onHide:
|
|
418
|
+
onShow: a(Q),
|
|
419
|
+
onHide: a(Y)
|
|
420
420
|
}, {
|
|
421
421
|
reference: j(() => [
|
|
422
|
-
|
|
422
|
+
l.showSelectDom ? (H(), ue("div", {
|
|
423
423
|
key: 0,
|
|
424
424
|
class: "das-tree-select__select-content",
|
|
425
425
|
onMousedown: f[1] || (f[1] = fe(
|
|
426
426
|
//@ts-ignore
|
|
427
|
-
(...h) =>
|
|
427
|
+
(...h) => a(Z) && a(Z)(...h),
|
|
428
428
|
["stop"]
|
|
429
429
|
))
|
|
430
430
|
}, [
|
|
431
|
-
de(
|
|
431
|
+
de(a(Ie), ce({
|
|
432
432
|
ref_key: "$select",
|
|
433
433
|
ref: D,
|
|
434
|
-
class: { "is-active":
|
|
434
|
+
class: { "is-active": a(F) },
|
|
435
435
|
dropdownClassName: "das-tree-select-dropdown",
|
|
436
|
-
modelValue:
|
|
436
|
+
modelValue: a(v),
|
|
437
437
|
"onUpdate:modelValue": f[0] || (f[0] = (h) => U(v) ? v.value = h : null)
|
|
438
438
|
}, b.value, {
|
|
439
|
-
searchValue:
|
|
440
|
-
options:
|
|
441
|
-
disabled:
|
|
442
|
-
isView:
|
|
443
|
-
size:
|
|
444
|
-
mode:
|
|
445
|
-
borderType:
|
|
439
|
+
searchValue: a(s),
|
|
440
|
+
options: a(te),
|
|
441
|
+
disabled: l.disabled,
|
|
442
|
+
isView: l.isView,
|
|
443
|
+
size: l.size,
|
|
444
|
+
mode: l.mode,
|
|
445
|
+
borderType: l.borderType,
|
|
446
446
|
placeholder: g.value,
|
|
447
|
-
"show-search":
|
|
448
|
-
filterOption:
|
|
449
|
-
width:
|
|
447
|
+
"show-search": l.filter,
|
|
448
|
+
filterOption: l.filter,
|
|
449
|
+
width: a(L),
|
|
450
450
|
fieldNames: {
|
|
451
451
|
value: m.value,
|
|
452
|
-
label:
|
|
452
|
+
label: l.showFullPath ? a(W).pathName : a(W).label
|
|
453
453
|
},
|
|
454
454
|
isTooltip: x.value,
|
|
455
|
-
errorMode:
|
|
456
|
-
error:
|
|
457
|
-
errorLabel:
|
|
455
|
+
errorMode: l.errorMode,
|
|
456
|
+
error: l.error,
|
|
457
|
+
errorLabel: l.errorLabel,
|
|
458
458
|
autoClearSearchValue: !1,
|
|
459
459
|
isExterControlCount: "",
|
|
460
|
-
onDeselect:
|
|
461
|
-
onSearch:
|
|
460
|
+
onDeselect: a(re),
|
|
461
|
+
onSearch: a(ne),
|
|
462
462
|
onInputKeyDown: V,
|
|
463
|
-
onFocus:
|
|
464
|
-
onBlur:
|
|
465
|
-
onClear:
|
|
463
|
+
onFocus: a(t),
|
|
464
|
+
onBlur: a(n),
|
|
465
|
+
onClear: a(ie)
|
|
466
466
|
}), {
|
|
467
467
|
suffixIcon: j(() => [
|
|
468
|
-
de(
|
|
468
|
+
de(a(Ue), {
|
|
469
469
|
size: "medium",
|
|
470
470
|
style: { transition: "transform 0.5s" },
|
|
471
|
-
iconColor:
|
|
471
|
+
iconColor: a(F) ? "#5582F3" : "currentColor"
|
|
472
472
|
}, null, 8, ["iconColor"])
|
|
473
473
|
]),
|
|
474
474
|
_: 1
|
|
475
475
|
}, 16, ["class", "modelValue", "searchValue", "options", "disabled", "isView", "size", "mode", "borderType", "placeholder", "show-search", "filterOption", "width", "fieldNames", "isTooltip", "errorMode", "error", "errorLabel", "onDeselect", "onSearch", "onFocus", "onBlur", "onClear"])
|
|
476
|
-
], 32)) : he((H(), ue("div",
|
|
477
|
-
Be(Re(
|
|
476
|
+
], 32)) : he((H(), ue("div", el, [
|
|
477
|
+
Be(Re(a(le)), 1)
|
|
478
478
|
])), [
|
|
479
|
-
[
|
|
479
|
+
[a(qe)]
|
|
480
480
|
])
|
|
481
481
|
]),
|
|
482
482
|
default: j(() => [
|
|
483
483
|
Me("div", {
|
|
484
484
|
class: "das-tree-select__tree-content",
|
|
485
|
-
style: me(
|
|
485
|
+
style: me(a(R)),
|
|
486
486
|
onClick: f[6] || (f[6] = fe(() => {
|
|
487
487
|
}, ["stop"])),
|
|
488
488
|
onMousedown: f[7] || (f[7] = fe(() => {
|
|
489
489
|
}, ["stop"]))
|
|
490
490
|
}, [
|
|
491
|
-
|
|
491
|
+
l.virtual ? (H(), be(a(ze), ce({
|
|
492
492
|
key: 1,
|
|
493
493
|
ref_key: "$tree",
|
|
494
494
|
ref: M
|
|
495
|
-
},
|
|
496
|
-
data:
|
|
497
|
-
modelValue:
|
|
495
|
+
}, a($), {
|
|
496
|
+
data: l.data,
|
|
497
|
+
modelValue: a(v),
|
|
498
498
|
"onUpdate:modelValue": f[4] || (f[4] = (h) => U(v) ? v.value = h : null),
|
|
499
|
-
"filter-value":
|
|
499
|
+
"filter-value": a(s),
|
|
500
500
|
"onUpdate:filterValue": f[5] || (f[5] = (h) => U(s) ? s.value = h : null),
|
|
501
|
-
"show-checkbox":
|
|
502
|
-
"is-filter":
|
|
501
|
+
"show-checkbox": a(C),
|
|
502
|
+
"is-filter": l.filter,
|
|
503
503
|
"show-filter-input": !1,
|
|
504
504
|
"filter-mode": "input",
|
|
505
505
|
lazy: k.value,
|
|
506
506
|
load: p.value,
|
|
507
507
|
"batch-load": d.batchLoad,
|
|
508
508
|
search: N.value,
|
|
509
|
-
path:
|
|
509
|
+
path: a(z),
|
|
510
510
|
"default-expand-all": B.value,
|
|
511
511
|
"check-strictly": k.value ? !0 : E.value,
|
|
512
|
-
parentLinkChildrenStrictly:
|
|
512
|
+
parentLinkChildrenStrictly: l.parentLinkChildrenStrictly,
|
|
513
513
|
getGrandChildren: w.value,
|
|
514
|
-
childLinkParentStrictly:
|
|
515
|
-
onChange:
|
|
516
|
-
onNodeChange:
|
|
514
|
+
childLinkParentStrictly: l.childLinkParentStrictly,
|
|
515
|
+
onChange: a(X),
|
|
516
|
+
onNodeChange: a(J)
|
|
517
517
|
}), ye({
|
|
518
518
|
default: j(({ node: h, data: A }) => [
|
|
519
|
-
O(
|
|
519
|
+
O(l.$slots, "default", {
|
|
520
520
|
node: h,
|
|
521
521
|
data: A
|
|
522
522
|
})
|
|
523
523
|
]),
|
|
524
524
|
_: 2
|
|
525
525
|
}, [
|
|
526
|
-
|
|
526
|
+
l.$slots.prefix ? {
|
|
527
527
|
name: "prefix",
|
|
528
528
|
fn: j(() => [
|
|
529
|
-
O(
|
|
529
|
+
O(l.$slots, "prefix")
|
|
530
530
|
]),
|
|
531
531
|
key: "0"
|
|
532
532
|
} : void 0,
|
|
533
|
-
|
|
533
|
+
l.$slots.suffix ? {
|
|
534
534
|
name: "suffix",
|
|
535
535
|
fn: j(() => [
|
|
536
|
-
O(
|
|
536
|
+
O(l.$slots, "suffix")
|
|
537
537
|
]),
|
|
538
538
|
key: "1"
|
|
539
539
|
} : void 0,
|
|
540
|
-
|
|
540
|
+
l.$slots.prepend ? {
|
|
541
541
|
name: "prepend",
|
|
542
542
|
fn: j(() => [
|
|
543
|
-
O(
|
|
543
|
+
O(l.$slots, "prepend")
|
|
544
544
|
]),
|
|
545
545
|
key: "2"
|
|
546
546
|
} : void 0,
|
|
547
|
-
|
|
547
|
+
l.$slots.append ? {
|
|
548
548
|
name: "append",
|
|
549
549
|
fn: j(() => [
|
|
550
|
-
O(
|
|
550
|
+
O(l.$slots, "append")
|
|
551
551
|
]),
|
|
552
552
|
key: "3"
|
|
553
553
|
} : void 0
|
|
554
|
-
]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "batch-load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])) : (H(), be(
|
|
554
|
+
]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "batch-load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])) : (H(), be(a(He), ce({
|
|
555
555
|
key: 0,
|
|
556
556
|
ref_key: "$tree",
|
|
557
557
|
ref: M
|
|
558
|
-
},
|
|
559
|
-
data:
|
|
560
|
-
modelValue:
|
|
558
|
+
}, a($), {
|
|
559
|
+
data: l.data,
|
|
560
|
+
modelValue: a(v),
|
|
561
561
|
"onUpdate:modelValue": f[2] || (f[2] = (h) => U(v) ? v.value = h : null),
|
|
562
|
-
"filter-value":
|
|
562
|
+
"filter-value": a(s),
|
|
563
563
|
"onUpdate:filterValue": f[3] || (f[3] = (h) => U(s) ? s.value = h : null),
|
|
564
|
-
"show-checkbox":
|
|
565
|
-
"is-filter":
|
|
564
|
+
"show-checkbox": a(C),
|
|
565
|
+
"is-filter": l.filter,
|
|
566
566
|
"show-filter-input": !1,
|
|
567
567
|
"filter-mode": "input",
|
|
568
568
|
lazy: k.value,
|
|
569
569
|
load: p.value,
|
|
570
570
|
"batch-load": d.batchLoad,
|
|
571
571
|
search: N.value,
|
|
572
|
-
path:
|
|
572
|
+
path: a(z),
|
|
573
573
|
"default-expand-all": B.value,
|
|
574
574
|
"check-strictly": k.value ? !0 : E.value,
|
|
575
|
-
parentLinkChildrenStrictly:
|
|
575
|
+
parentLinkChildrenStrictly: l.parentLinkChildrenStrictly,
|
|
576
576
|
getGrandChildren: w.value,
|
|
577
|
-
childLinkParentStrictly:
|
|
578
|
-
onChange:
|
|
579
|
-
onNodeChange:
|
|
577
|
+
childLinkParentStrictly: l.childLinkParentStrictly,
|
|
578
|
+
onChange: a(X),
|
|
579
|
+
onNodeChange: a(J)
|
|
580
580
|
}), ye({
|
|
581
581
|
default: j(({ node: h, data: A }) => [
|
|
582
|
-
O(
|
|
582
|
+
O(l.$slots, "default", {
|
|
583
583
|
node: h,
|
|
584
584
|
data: A
|
|
585
585
|
})
|
|
586
586
|
]),
|
|
587
587
|
_: 2
|
|
588
588
|
}, [
|
|
589
|
-
|
|
589
|
+
l.$slots.prefix ? {
|
|
590
590
|
name: "prefix",
|
|
591
591
|
fn: j(() => [
|
|
592
|
-
O(
|
|
592
|
+
O(l.$slots, "prefix")
|
|
593
593
|
]),
|
|
594
594
|
key: "0"
|
|
595
595
|
} : void 0,
|
|
596
|
-
|
|
596
|
+
l.$slots.suffix ? {
|
|
597
597
|
name: "suffix",
|
|
598
598
|
fn: j(() => [
|
|
599
|
-
O(
|
|
599
|
+
O(l.$slots, "suffix")
|
|
600
600
|
]),
|
|
601
601
|
key: "1"
|
|
602
602
|
} : void 0,
|
|
603
|
-
|
|
603
|
+
l.$slots.prepend ? {
|
|
604
604
|
name: "prepend",
|
|
605
605
|
fn: j(() => [
|
|
606
|
-
O(
|
|
606
|
+
O(l.$slots, "prepend")
|
|
607
607
|
]),
|
|
608
608
|
key: "2"
|
|
609
609
|
} : void 0,
|
|
610
|
-
|
|
610
|
+
l.$slots.append ? {
|
|
611
611
|
name: "append",
|
|
612
612
|
fn: j(() => [
|
|
613
|
-
O(
|
|
613
|
+
O(l.$slots, "append")
|
|
614
614
|
]),
|
|
615
615
|
key: "3"
|
|
616
616
|
} : void 0
|
|
@@ -620,17 +620,17 @@ const Zt = /* @__PURE__ */ Ze(Yt), Kt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
620
620
|
_: 3
|
|
621
621
|
}, 8, ["visible", "width", "disabled", "onShow", "onHide"])
|
|
622
622
|
], 6)), [
|
|
623
|
-
[
|
|
623
|
+
[a(Qe), u]
|
|
624
624
|
]);
|
|
625
625
|
}
|
|
626
|
-
}),
|
|
626
|
+
}), al = {
|
|
627
627
|
"--das-ui-tree-select-keyword-input-active": "#5582F3",
|
|
628
628
|
"--das-ui-tree-select-search-no-data": "#999999"
|
|
629
629
|
};
|
|
630
|
-
Ye(
|
|
631
|
-
const
|
|
630
|
+
Ye(al);
|
|
631
|
+
const yl = Ee(ll), gl = () => P(null), kl = { title: "tree-select 树选择" };
|
|
632
632
|
export {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
633
|
+
yl as DasTreeSelect,
|
|
634
|
+
gl as DasTreeSelectRef,
|
|
635
|
+
kl as default
|
|
636
636
|
};
|
|
Binary file
|
|
@@ -53,7 +53,7 @@ const we = (s, B, r, a, v, E, b) => ({ linkCheck: (T, k, g, y, p) => {
|
|
|
53
53
|
});
|
|
54
54
|
}, b.value && b.value.length) {
|
|
55
55
|
const i = Ce(b.value, (u) => u[s.nodeKey] === T);
|
|
56
|
-
d && d(i);
|
|
56
|
+
console.log("tree===", i), d && d(i);
|
|
57
57
|
}
|
|
58
58
|
} }), pe = { class: "table-header" }, Le = { class: "title table-label" }, Ie = {
|
|
59
59
|
key: 0,
|
|
@@ -161,7 +161,7 @@ const we = (s, B, r, a, v, E, b) => ({ linkCheck: (T, k, g, y, p) => {
|
|
|
161
161
|
}[a.linkageType](e, t, l, n, f), z = (e, t) => {
|
|
162
162
|
v("all-check", e, t), h.value[t] = e, o.value[t] = !1;
|
|
163
163
|
const l = Z();
|
|
164
|
-
if (l)
|
|
164
|
+
if (console.log("nodes===", l), l)
|
|
165
165
|
for (let n in l)
|
|
166
166
|
!d(l[n].data, t) && !u(l[n].data) && (l[n].data[a.checkboxLabels[t]] = e, delete l[n].data[a.checkboxLabels[t] + "-targetId"]);
|
|
167
167
|
if (a.twoLinkFirstCheck) {
|
|
Binary file
|