hys-ui 0.1.0 → 0.1.1
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/CHANGELOG.md +26 -1
- package/README.md +16 -6
- package/dist/components/HysAlert/HysAlert.vue.js +14 -14
- package/dist/components/HysAnimatedNumber/HysAnimatedNumber.vue.js +23 -20
- package/dist/components/HysBadge/HysBadge.vue.js +1 -1
- package/dist/components/HysBadge/HysBadge2.vue.js +20 -19
- package/dist/components/HysCalendar/HysCalendar.vue.js +48 -40
- package/dist/components/HysCard/HysCard.vue.js +2 -2
- package/dist/components/HysCard/HysCard2.vue.js +9 -9
- package/dist/components/HysCascader/HysCascader.vue.js +88 -76
- package/dist/components/HysCheckbox/HysCheckbox.vue.js +5 -39
- package/dist/components/HysCheckbox/HysCheckbox2.vue.js +85 -2
- package/dist/components/HysCommandPalette/HysCommandPalette.vue.js +52 -51
- package/dist/components/HysCommentEditor/HysCommentEditor.vue.js +17 -17
- package/dist/components/HysDataGrid/HysDataGrid2.vue.js +22 -22
- package/dist/components/HysDrawer/HysDrawer.vue.js +1 -1
- package/dist/components/HysDrawer/HysDrawer2.vue.js +55 -54
- package/dist/components/HysFileManager/HysFileManager.vue.js +5 -63
- package/dist/components/HysFileManager/HysFileManager2.vue.js +85 -2
- package/dist/components/HysForm/HysForm.vue.js +2 -2
- package/dist/components/HysForm/HysForm2.vue.js +66 -64
- package/dist/components/HysFormItem/HysFormItem.vue.js +53 -37
- package/dist/components/HysGantt/HysGantt.vue.js +5 -264
- package/dist/components/HysGantt/HysGantt2.vue.js +302 -2
- package/dist/components/HysInput/HysInput.vue.js +1 -1
- package/dist/components/HysInput/HysInput2.vue.js +42 -41
- package/dist/components/HysModal/HysModal.vue.js +2 -2
- package/dist/components/HysModal/HysModal2.vue.js +35 -35
- package/dist/components/HysNotificationCenter/HysNotificationCenter.vue.js +37 -36
- package/dist/components/HysNumberInput/HysNumberInput.vue.js +2 -2
- package/dist/components/HysNumberInput/HysNumberInput2.vue.js +49 -40
- package/dist/components/HysOrgTree/HysOrgTree.vue.js +34 -32
- package/dist/components/HysPagination/HysPagination.vue.js +2 -2
- package/dist/components/HysPagination/HysPagination2.vue.js +91 -91
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix.vue.js +5 -41
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix2.vue.js +100 -2
- package/dist/components/HysRadioGroup/HysRadioGroup.vue.js +5 -40
- package/dist/components/HysRadioGroup/HysRadioGroup2.vue.js +80 -2
- package/dist/components/HysResizablePanel/HysResizablePanel.vue.js +46 -28
- package/dist/components/HysRichTextEditor/HysRichTextEditor.vue.js +2 -2
- package/dist/components/HysRichTextEditor/HysRichTextEditor2.vue.js +86 -67
- package/dist/components/HysSearch/HysSearch.vue.js +49 -38
- package/dist/components/HysSegmented/HysSegmented.vue.js +39 -34
- package/dist/components/HysSelect/HysSelect.vue.js +2 -2
- package/dist/components/HysSelect/HysSelect2.vue.js +130 -109
- package/dist/components/HysSlider/HysSlider.vue.js +2 -2
- package/dist/components/HysSlider/HysSlider2.vue.js +40 -40
- package/dist/components/HysSplitPane/HysSplitPane.vue.js +48 -42
- package/dist/components/HysSteps/HysSteps.vue.js +2 -2
- package/dist/components/HysSteps/HysSteps2.vue.js +15 -14
- package/dist/components/HysSwitch/HysSwitch.vue.js +2 -2
- package/dist/components/HysSwitch/HysSwitch2.vue.js +38 -27
- package/dist/components/HysTable/HysTable.vue.js +2 -2
- package/dist/components/HysTable/HysTable2.vue.js +42 -38
- package/dist/components/HysTabs/HysTabs.vue.js +1 -1
- package/dist/components/HysTabs/HysTabs2.vue.js +8 -6
- package/dist/components/HysTextarea/HysTextarea.vue.js +58 -48
- package/dist/components/HysToast/HysToast.vue.js +2 -2
- package/dist/components/HysToast/HysToast2.vue.js +121 -38
- package/dist/components/HysTour/HysTour.vue.js +47 -42
- package/dist/components/HysTransfer/HysTransfer.vue.js +159 -143
- package/dist/components/HysTree/HysTree.vue.js +2 -2
- package/dist/components/HysTree/HysTree2.vue.js +62 -61
- package/dist/components/HysTreeSelect/HysTreeSelect.vue.js +64 -57
- package/dist/components/HysUpload/HysUpload.vue.js +2 -2
- package/dist/components/HysUpload/HysUpload2.vue.js +95 -77
- package/dist/composables/formContext.js +9 -3
- package/dist/composables/toastEscape.js +16 -0
- package/dist/composables/useDialog.js +16 -16
- package/dist/composables/useFloating.js +40 -40
- package/dist/composables/useHysToast.js +148 -0
- package/dist/config.js +18 -15
- package/dist/index.js +10 -7
- package/dist/style.css +1 -1
- package/dist/types/components/HysCalendar/HysCalendar.vue.d.ts +2 -0
- package/dist/types/components/HysCard/HysCard.vue.d.ts +5 -1
- package/dist/types/components/HysCheckbox/HysCheckbox.vue.d.ts +21 -4
- package/dist/types/components/HysDrawer/HysDrawer.vue.d.ts +1 -0
- package/dist/types/components/HysFileManager/HysFileManager.vue.d.ts +6 -2
- package/dist/types/components/HysGantt/HysGantt.vue.d.ts +6 -0
- package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +2 -0
- package/dist/types/components/HysOrgTree/HysOrgTree.vue.d.ts +3 -1
- package/dist/types/components/HysPermissionMatrix/HysPermissionMatrix.vue.d.ts +8 -1
- package/dist/types/components/HysRadioGroup/HysRadioGroup.vue.d.ts +40 -17
- package/dist/types/components/HysResizablePanel/HysResizablePanel.vue.d.ts +6 -0
- package/dist/types/components/HysSelect/HysSelect.vue.d.ts +7 -1
- package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +6 -0
- package/dist/types/components/HysSteps/HysSteps.vue.d.ts +1 -0
- package/dist/types/components/HysSwitch/HysSwitch.vue.d.ts +1 -1
- package/dist/types/components/HysTextarea/HysTextarea.vue.d.ts +1 -1
- package/dist/types/components/HysToast/HysToast.vue.d.ts +55 -7
- package/dist/types/components/HysTour/HysTour.vue.d.ts +3 -1
- package/dist/types/components/HysTransfer/HysTransfer.vue.d.ts +11 -1
- package/dist/types/composables/formContext.d.ts +5 -0
- package/dist/types/composables/toastEscape.d.ts +1 -0
- package/dist/types/composables/useFloating.d.ts +1 -1
- package/dist/types/composables/useHysToast.d.ts +50 -0
- package/dist/types/index.d.ts +5 -0
- package/package.json +46 -11
|
@@ -1,209 +1,225 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as Z, ref as y, computed as q, onDeactivated as R, openBlock as d, createElementBlock as V, mergeProps as _, unref as c, createElementVNode as r, normalizeClass as k, toDisplayString as o, createBlock as w, createCommentVNode as L, createVNode as f, TransitionGroup as F, withCtx as h, Fragment as O, renderList as P, renderSlot as U, createTextVNode as j } from "vue";
|
|
2
|
+
import I from "../HysCheckbox/HysCheckbox.vue.js";
|
|
3
|
+
import x from "../HysSearch/HysSearch.vue.js";
|
|
4
|
+
import J from "../HysButton/HysButton.vue.js";
|
|
5
|
+
import { useHysRootAttrs as ee } from "../../config.js";
|
|
6
|
+
import { GripVertical as M, ChevronRight as ae, ChevronLeft as le } from "lucide-vue-next";
|
|
7
|
+
const se = { class: "hys-ui-pf-transfer-header" }, te = { class: "hys-ui-v4-move" }, re = { class: "hys-ui-pf-transfer-header" }, ne = {
|
|
8
8
|
class: "hys-ui-pf-transfer-status",
|
|
9
9
|
role: "status"
|
|
10
|
-
},
|
|
10
|
+
}, ce = /* @__PURE__ */ Z({
|
|
11
11
|
__name: "HysTransfer",
|
|
12
12
|
props: {
|
|
13
13
|
modelValue: {},
|
|
14
14
|
options: {},
|
|
15
15
|
disabled: { type: Boolean },
|
|
16
|
-
filterable: { type: Boolean },
|
|
16
|
+
filterable: { type: Boolean, default: !0 },
|
|
17
17
|
titles: {}
|
|
18
18
|
},
|
|
19
|
-
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
function
|
|
19
|
+
emits: ["update:modelValue", "change", "checkChange"],
|
|
20
|
+
setup(n, { emit: Q }) {
|
|
21
|
+
const W = ee(), s = n, T = Q, m = y([]), b = y([]), C = y(""), z = q(() => s.options.filter((l) => !s.modelValue.includes(l.value) && l.label.toLowerCase().includes(C.value.toLowerCase()))), S = q(() => s.options.filter((l) => s.modelValue.includes(l.value))), X = Symbol("empty-available"), Y = Symbol("empty-selected"), g = y(null), p = y(null), N = y("");
|
|
22
|
+
function B(l, a = l ? m.value : b.value) {
|
|
23
23
|
if (s.disabled) return;
|
|
24
|
-
const
|
|
25
|
-
|
|
24
|
+
const t = a.filter((e) => s.options.some((u) => u.value === e && !u.disabled)), i = l ? [.../* @__PURE__ */ new Set([...s.modelValue, ...t])] : s.modelValue.filter((e) => !t.includes(e));
|
|
25
|
+
if (i.length !== s.modelValue.length) {
|
|
26
|
+
const e = t.filter((u) => l ? !s.modelValue.includes(u) : s.modelValue.includes(u));
|
|
27
|
+
T("update:modelValue", i), T("change", i, l ? "right" : "left", e), N.value = l ? "已移入已选择区域" : "已移回待选择区域";
|
|
28
|
+
}
|
|
29
|
+
m.value = [], b.value = [];
|
|
30
|
+
}
|
|
31
|
+
function $(l, a, t) {
|
|
32
|
+
if (s.disabled) return;
|
|
33
|
+
const i = a ? b : m;
|
|
34
|
+
i.value = t ? [...i.value, l] : i.value.filter((e) => e !== l), T("checkChange", a ? "right" : "left", [...i.value]);
|
|
26
35
|
}
|
|
27
|
-
function
|
|
36
|
+
function A(l, a, t) {
|
|
28
37
|
if (s.disabled || a.disabled || !l.dataTransfer) {
|
|
29
38
|
l.preventDefault();
|
|
30
39
|
return;
|
|
31
40
|
}
|
|
32
|
-
|
|
41
|
+
g.value = { value: a.value, fromSelected: t }, l.dataTransfer.effectAllowed = "move", l.dataTransfer.setData("text/plain", a.value);
|
|
33
42
|
}
|
|
34
|
-
function
|
|
35
|
-
const a =
|
|
36
|
-
return !s.disabled && !!a && a.fromSelected !== l && s.modelValue.includes(a.value) === a.fromSelected && s.options.some((
|
|
43
|
+
function E(l) {
|
|
44
|
+
const a = g.value;
|
|
45
|
+
return !s.disabled && !!a && a.fromSelected !== l && s.modelValue.includes(a.value) === a.fromSelected && s.options.some((t) => t.value === a.value && !t.disabled);
|
|
37
46
|
}
|
|
38
|
-
function
|
|
39
|
-
|
|
47
|
+
function H(l, a) {
|
|
48
|
+
E(a) && (l.preventDefault(), l.dataTransfer && (l.dataTransfer.dropEffect = "move"), p.value = a);
|
|
40
49
|
}
|
|
41
|
-
function
|
|
42
|
-
l.relatedTarget instanceof Node && l.currentTarget.contains(l.relatedTarget) || (
|
|
50
|
+
function G(l) {
|
|
51
|
+
l.relatedTarget instanceof Node && l.currentTarget.contains(l.relatedTarget) || (p.value = null);
|
|
43
52
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
53
|
+
function D() {
|
|
54
|
+
g.value = null, p.value = null;
|
|
46
55
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!
|
|
49
|
-
|
|
56
|
+
function K(l, a) {
|
|
57
|
+
if (!E(a)) {
|
|
58
|
+
D();
|
|
50
59
|
return;
|
|
51
60
|
}
|
|
52
|
-
l.preventDefault(),
|
|
61
|
+
l.preventDefault(), B(a, [g.value.value]), D();
|
|
53
62
|
}
|
|
54
|
-
return
|
|
55
|
-
var
|
|
56
|
-
return
|
|
57
|
-
|
|
58
|
-
class: k(["hys-ui-v4-pane", { "hys-ui-is-drop-target":
|
|
63
|
+
return R(D), (l, a) => {
|
|
64
|
+
var t, i;
|
|
65
|
+
return d(), V("div", _(c(W), { class: "hys-ui-v4-transfer hys-ui-pf-transfer" }), [
|
|
66
|
+
r("section", {
|
|
67
|
+
class: k(["hys-ui-v4-pane", { "hys-ui-is-drop-target": p.value === !1 }]),
|
|
59
68
|
"aria-label": "待选择",
|
|
60
|
-
onDragover: a[
|
|
61
|
-
onDragleave:
|
|
62
|
-
onDrop: a[
|
|
69
|
+
onDragover: a[1] || (a[1] = (e) => H(e, !1)),
|
|
70
|
+
onDragleave: G,
|
|
71
|
+
onDrop: a[2] || (a[2] = (e) => K(e, !1))
|
|
63
72
|
}, [
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
73
|
+
r("header", se, [
|
|
74
|
+
r("strong", null, o(((t = n.titles) == null ? void 0 : t[0]) || "待选择"), 1),
|
|
75
|
+
r("span", null, o(z.value.length), 1)
|
|
67
76
|
]),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
])
|
|
80
|
-
])) : z("", !0),
|
|
81
|
-
p(G, {
|
|
77
|
+
n.filterable ? (d(), w(x, {
|
|
78
|
+
key: 0,
|
|
79
|
+
modelValue: C.value,
|
|
80
|
+
"onUpdate:modelValue": a[0] || (a[0] = (e) => C.value = e),
|
|
81
|
+
class: "hys-ui-pf-transfer-search",
|
|
82
|
+
placeholder: "筛选成员",
|
|
83
|
+
"aria-label": "筛选成员",
|
|
84
|
+
disabled: n.disabled,
|
|
85
|
+
delay: 0
|
|
86
|
+
}, null, 8, ["modelValue", "disabled"])) : L("", !0),
|
|
87
|
+
f(F, {
|
|
82
88
|
name: "hys-ui-transfer-motion",
|
|
83
89
|
tag: "div",
|
|
84
90
|
class: "hys-ui-pf-transfer-list"
|
|
85
91
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
(
|
|
88
|
-
var
|
|
89
|
-
return
|
|
92
|
+
default: h(() => [
|
|
93
|
+
(d(!0), V(O, null, P(z.value, (e) => {
|
|
94
|
+
var u;
|
|
95
|
+
return d(), w(I, {
|
|
96
|
+
"model-value": m.value.includes(e.value),
|
|
97
|
+
disabled: n.disabled || e.disabled,
|
|
98
|
+
"aria-label": e.label,
|
|
99
|
+
onChange: (v) => $(e.value, !1, v),
|
|
90
100
|
key: e.value,
|
|
91
|
-
class: k(["hys-ui-v4-option", { "hys-ui-is-checked":
|
|
92
|
-
draggable: !
|
|
101
|
+
class: k(["hys-ui-v4-option", { "hys-ui-is-checked": m.value.includes(e.value), "hys-ui-is-disabled": e.disabled, "hys-ui-is-dragging": ((u = g.value) == null ? void 0 : u.value) === e.value }]),
|
|
102
|
+
draggable: !n.disabled && !e.disabled,
|
|
93
103
|
title: e.disabled ? void 0 : "拖动到已选择区域",
|
|
94
|
-
onDragstart: (
|
|
95
|
-
onDragend:
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
])
|
|
104
|
+
onDragstart: (v) => A(v, e, !1),
|
|
105
|
+
onDragend: D
|
|
106
|
+
}, {
|
|
107
|
+
default: h(() => [
|
|
108
|
+
r("span", null, [
|
|
109
|
+
U(l.$slots, "option", { option: e }, () => [
|
|
110
|
+
j(o(e.label), 1)
|
|
111
|
+
])
|
|
112
|
+
]),
|
|
113
|
+
f(c(M), {
|
|
114
|
+
class: "hys-ui-pf-transfer-grip",
|
|
115
|
+
size: 12,
|
|
116
|
+
"aria-hidden": "true"
|
|
117
|
+
})
|
|
109
118
|
]),
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
size: 12,
|
|
113
|
-
"aria-hidden": "true"
|
|
114
|
-
})
|
|
115
|
-
], 42, se);
|
|
119
|
+
_: 2
|
|
120
|
+
}, 1032, ["model-value", "disabled", "aria-label", "onChange", "class", "draggable", "title", "onDragstart"]);
|
|
116
121
|
}), 128)),
|
|
117
|
-
|
|
118
|
-
key:
|
|
122
|
+
z.value.length ? L("", !0) : (d(), V("p", {
|
|
123
|
+
key: c(X),
|
|
119
124
|
class: "hys-ui-pf-transfer-empty"
|
|
120
|
-
},
|
|
125
|
+
}, o(C.value ? "无匹配成员" : "暂无待选成员"), 1))
|
|
121
126
|
]),
|
|
122
127
|
_: 3
|
|
123
128
|
})
|
|
124
129
|
], 34),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
130
|
+
r("div", te, [
|
|
131
|
+
f(J, {
|
|
132
|
+
variant: "secondary",
|
|
133
|
+
size: "sm",
|
|
128
134
|
class: "hys-ui-v4-control",
|
|
129
|
-
disabled:
|
|
130
|
-
onClick: a[
|
|
135
|
+
disabled: n.disabled || !m.value.length,
|
|
136
|
+
onClick: a[3] || (a[3] = (e) => B(!0)),
|
|
131
137
|
"aria-label": "添加选中项"
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
}, {
|
|
139
|
+
default: h(() => [
|
|
140
|
+
f(c(ae), {
|
|
141
|
+
size: 16,
|
|
142
|
+
"aria-hidden": "true"
|
|
143
|
+
})
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}, 8, ["disabled"]),
|
|
147
|
+
f(J, {
|
|
148
|
+
variant: "secondary",
|
|
149
|
+
size: "sm",
|
|
140
150
|
class: "hys-ui-v4-control",
|
|
141
|
-
disabled:
|
|
142
|
-
onClick: a[
|
|
151
|
+
disabled: n.disabled || !b.value.length,
|
|
152
|
+
onClick: a[4] || (a[4] = (e) => B(!1)),
|
|
143
153
|
"aria-label": "移除选中项"
|
|
144
|
-
},
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
154
|
+
}, {
|
|
155
|
+
default: h(() => [
|
|
156
|
+
f(c(le), {
|
|
157
|
+
size: 16,
|
|
158
|
+
"aria-hidden": "true"
|
|
159
|
+
})
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
}, 8, ["disabled"])
|
|
150
163
|
]),
|
|
151
|
-
|
|
152
|
-
class: k(["hys-ui-v4-pane", { "hys-ui-is-drop-target":
|
|
164
|
+
r("section", {
|
|
165
|
+
class: k(["hys-ui-v4-pane", { "hys-ui-is-drop-target": p.value === !0 }]),
|
|
153
166
|
"aria-label": "已选择",
|
|
154
|
-
onDragover: a[
|
|
155
|
-
onDragleave:
|
|
156
|
-
onDrop: a[
|
|
167
|
+
onDragover: a[5] || (a[5] = (e) => H(e, !0)),
|
|
168
|
+
onDragleave: G,
|
|
169
|
+
onDrop: a[6] || (a[6] = (e) => K(e, !0))
|
|
157
170
|
}, [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
171
|
+
r("header", re, [
|
|
172
|
+
r("strong", null, o(((i = n.titles) == null ? void 0 : i[1]) || "已选择"), 1),
|
|
173
|
+
r("span", null, o(S.value.length), 1)
|
|
161
174
|
]),
|
|
162
|
-
|
|
175
|
+
f(F, {
|
|
163
176
|
name: "hys-ui-transfer-motion",
|
|
164
177
|
tag: "div",
|
|
165
178
|
class: "hys-ui-pf-transfer-list"
|
|
166
179
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
(
|
|
169
|
-
var
|
|
170
|
-
return
|
|
180
|
+
default: h(() => [
|
|
181
|
+
(d(!0), V(O, null, P(S.value, (e) => {
|
|
182
|
+
var u;
|
|
183
|
+
return d(), w(I, {
|
|
184
|
+
"model-value": b.value.includes(e.value),
|
|
185
|
+
disabled: n.disabled || e.disabled,
|
|
186
|
+
"aria-label": e.label,
|
|
187
|
+
onChange: (v) => $(e.value, !0, v),
|
|
171
188
|
key: e.value,
|
|
172
|
-
class: k(["hys-ui-v4-option", { "hys-ui-is-checked": b.value.includes(e.value), "hys-ui-is-disabled": e.disabled, "hys-ui-is-dragging": ((
|
|
173
|
-
draggable: !e.disabled,
|
|
189
|
+
class: k(["hys-ui-v4-option", { "hys-ui-is-checked": b.value.includes(e.value), "hys-ui-is-disabled": e.disabled, "hys-ui-is-dragging": ((u = g.value) == null ? void 0 : u.value) === e.value }]),
|
|
190
|
+
draggable: !n.disabled && !e.disabled,
|
|
174
191
|
title: e.disabled ? void 0 : "拖动到待选择区域",
|
|
175
|
-
onDragstart: (
|
|
176
|
-
onDragend:
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
192
|
+
onDragstart: (v) => A(v, e, !0),
|
|
193
|
+
onDragend: D
|
|
194
|
+
}, {
|
|
195
|
+
default: h(() => [
|
|
196
|
+
r("span", null, [
|
|
197
|
+
U(l.$slots, "option", { option: e }, () => [
|
|
198
|
+
j(o(e.label), 1)
|
|
199
|
+
])
|
|
200
|
+
]),
|
|
201
|
+
f(c(M), {
|
|
202
|
+
class: "hys-ui-pf-transfer-grip",
|
|
203
|
+
size: 12,
|
|
204
|
+
"aria-hidden": "true"
|
|
205
|
+
})
|
|
185
206
|
]),
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
class: "hys-ui-pf-transfer-grip",
|
|
189
|
-
size: 12,
|
|
190
|
-
"aria-hidden": "true"
|
|
191
|
-
})
|
|
192
|
-
], 42, de);
|
|
207
|
+
_: 2
|
|
208
|
+
}, 1032, ["model-value", "disabled", "aria-label", "onChange", "class", "draggable", "title", "onDragstart"]);
|
|
193
209
|
}), 128)),
|
|
194
|
-
|
|
195
|
-
key:
|
|
210
|
+
S.value.length ? L("", !0) : (d(), V("p", {
|
|
211
|
+
key: c(Y),
|
|
196
212
|
class: "hys-ui-pf-transfer-empty"
|
|
197
213
|
}, "暂无已选成员"))
|
|
198
214
|
]),
|
|
199
|
-
_:
|
|
215
|
+
_: 3
|
|
200
216
|
})
|
|
201
217
|
], 34),
|
|
202
|
-
|
|
218
|
+
r("span", ne, o(N.value), 1)
|
|
203
219
|
], 16);
|
|
204
220
|
};
|
|
205
221
|
}
|
|
206
222
|
});
|
|
207
223
|
export {
|
|
208
|
-
|
|
224
|
+
ce as default
|
|
209
225
|
};
|
|
@@ -2,7 +2,7 @@ import o from "./HysTree2.vue.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f89ec88e"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
f as default
|
|
8
8
|
};
|