@king-one/antdv 2.5.7 → 2.6.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 +12 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/dist/es/components/dept-selector/src/dept.mjs +162 -158
- package/dist/es/components/index.mjs +18 -16
- package/dist/es/components/pro-dynamic-tags/index.mjs +9 -0
- package/dist/es/components/pro-dynamic-tags/src/index.vue.mjs +7 -0
- package/dist/es/components/pro-dynamic-tags/src/index.vue2.mjs +215 -0
- package/dist/es/components/pro-dynamic-tags/src/index.vue3.mjs +1 -0
- package/dist/es/components/pro-dynamic-tags/src/style/index.mjs +2 -0
- package/dist/es/components/pro-dynamic-tags/src/types.mjs +1 -0
- package/dist/es/components/pro-selector-group/src/index.vue2.mjs +90 -106
- package/dist/es/components/role-selector/src/role.mjs +134 -127
- package/dist/es/index.mjs +26 -24
- package/dist/es/installer.mjs +6 -5
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/dist/lib/components/dept-selector/src/dept.js +1 -1
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/components/pro-dynamic-tags/index.js +1 -0
- package/dist/lib/components/pro-dynamic-tags/src/index.vue.js +1 -0
- package/dist/lib/components/pro-dynamic-tags/src/index.vue2.js +1 -0
- package/dist/lib/components/pro-dynamic-tags/src/index.vue3.js +1 -0
- package/dist/lib/components/pro-dynamic-tags/src/style/index.js +1 -0
- package/dist/lib/components/pro-dynamic-tags/src/types.js +1 -0
- package/dist/lib/components/pro-selector-group/src/index.vue2.js +1 -1
- package/dist/lib/components/role-selector/src/role.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/lib/installer.js +1 -1
- package/dist/theme-chalk/icon.css +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/theme-chalk/pro-dynamic-tags.css +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/pro-dynamic-tags/index.d.ts +157 -0
- package/dist/types/components/pro-dynamic-tags/src/index.vue.d.ts +154 -0
- package/dist/types/components/pro-dynamic-tags/src/types.d.ts +51 -0
- package/global.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,71 +1,72 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useNamespace as
|
|
1
|
+
import { defineComponent as X, ref as s, watch as E, computed as Y, createVNode as i, Fragment as Z } from "vue";
|
|
2
|
+
import { useNamespace as ee } from "../../../hooks/use-namespace/index.mjs";
|
|
3
3
|
import "../../index.mjs";
|
|
4
|
-
import { message as
|
|
5
|
-
import { GET_DEPT_TREE_URL as
|
|
6
|
-
import { KProModal as
|
|
7
|
-
import { KIcon as
|
|
8
|
-
|
|
4
|
+
import { message as le, FormItemRest as te, InputSearch as ae, Tree as ne, Empty as C } from "ant-design-vue";
|
|
5
|
+
import { GET_DEPT_TREE_URL as ue, deptSelectorEmits as ie, deptSelectorProps as de } from "./types.mjs";
|
|
6
|
+
import { KProModal as ce } from "../../pro-modal/index.mjs";
|
|
7
|
+
import { KIcon as V } from "../../icon/index.mjs";
|
|
8
|
+
import { KProDynamicTags as re } from "../../pro-dynamic-tags/index.mjs";
|
|
9
|
+
const h = ee("dept-selector"), ke = /* @__PURE__ */ X({
|
|
9
10
|
name: "KDeptSelector",
|
|
10
|
-
props:
|
|
11
|
-
emits:
|
|
12
|
-
setup(
|
|
11
|
+
props: de,
|
|
12
|
+
emits: ie,
|
|
13
|
+
setup(a, {
|
|
13
14
|
emit: f,
|
|
14
|
-
attrs:
|
|
15
|
-
slots:
|
|
15
|
+
attrs: R,
|
|
16
|
+
slots: x
|
|
16
17
|
}) {
|
|
17
|
-
const
|
|
18
|
+
const S = s(!0), N = s(!0), m = s([]), y = s([]), r = s([]), _ = s(!1), t = s(a.isBuiltInRequest ? {
|
|
18
19
|
children: "children",
|
|
19
20
|
title: "deptName",
|
|
20
21
|
key: "id"
|
|
21
|
-
} :
|
|
22
|
-
if (
|
|
23
|
-
if (!
|
|
22
|
+
} : a.fieldNames), A = s(""), o = s([]), p = s([]), v = s(a.treeData), k = s(!1), g = s("");
|
|
23
|
+
if (a.isBuiltInRequest) {
|
|
24
|
+
if (!a.http)
|
|
24
25
|
throw new Error("请传入http实例");
|
|
25
|
-
|
|
26
|
+
a.http.get(`${a.prefix}${ue}`).then((e) => {
|
|
26
27
|
e.status === 0 && (v.value = e.data, e.data && e.data.length > 0 && (m.value = [e.data[0].id]));
|
|
27
28
|
});
|
|
28
29
|
}
|
|
29
30
|
const w = () => {
|
|
30
|
-
if (
|
|
31
|
-
if (!Array.isArray(
|
|
32
|
-
const e =
|
|
33
|
-
|
|
31
|
+
if (a.type === "checkbox") {
|
|
32
|
+
if (!Array.isArray(a.modelValue)) return;
|
|
33
|
+
const e = a.modelValue.map((l) => l[t.value.key]);
|
|
34
|
+
S.value ? r.value = {
|
|
34
35
|
checked: e,
|
|
35
36
|
halfChecked: []
|
|
36
|
-
} :
|
|
37
|
+
} : r.value = e, m.value = e;
|
|
37
38
|
} else {
|
|
38
|
-
if (Array.isArray(
|
|
39
|
-
const e =
|
|
39
|
+
if (Array.isArray(a.modelValue)) return;
|
|
40
|
+
const e = a.modelValue[t.value.key];
|
|
40
41
|
y.value = [e], m.value = [e];
|
|
41
42
|
}
|
|
42
|
-
},
|
|
43
|
-
if (
|
|
44
|
-
return
|
|
45
|
-
|
|
43
|
+
}, D = (e) => {
|
|
44
|
+
if (k.value)
|
|
45
|
+
return k.value = !1;
|
|
46
|
+
a.type === "radio" ? o.value.length > 0 && (A.value = o.value[0][t.value.title] || "") : A.value = o.value.map((l) => l[t.value.title]).join(",");
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
E(() => a.visible, () => {
|
|
49
|
+
a.visible && w();
|
|
49
50
|
}, {
|
|
50
51
|
immediate: !0
|
|
51
|
-
}),
|
|
52
|
-
v.value.length > 0 && w();
|
|
52
|
+
}), E(() => a.modelValue, (e) => {
|
|
53
|
+
v.value.length > 0 && w(), k.value || (Array.isArray(e) ? p.value = [...e] : e ? p.value = [e] : p.value = []);
|
|
53
54
|
}, {
|
|
54
55
|
immediate: !0,
|
|
55
56
|
deep: !0
|
|
56
|
-
}),
|
|
57
|
+
}), E(v, () => {
|
|
57
58
|
v.value.length > 0 && w();
|
|
58
59
|
}, {
|
|
59
60
|
immediate: !0,
|
|
60
61
|
deep: !0
|
|
61
62
|
});
|
|
62
|
-
function
|
|
63
|
-
const l = (
|
|
64
|
-
for (const
|
|
65
|
-
if (
|
|
66
|
-
return
|
|
67
|
-
if (
|
|
68
|
-
const c = l(
|
|
63
|
+
function U(e) {
|
|
64
|
+
const l = (u, d) => {
|
|
65
|
+
for (const n of u) {
|
|
66
|
+
if (n[t.value.key] === d)
|
|
67
|
+
return n;
|
|
68
|
+
if (n.children && n.children.length) {
|
|
69
|
+
const c = l(n.children, d);
|
|
69
70
|
if (c) return c;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
@@ -73,197 +74,200 @@ const h = Q("dept-selector"), ve = /* @__PURE__ */ H({
|
|
|
73
74
|
};
|
|
74
75
|
return l(v.value, e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
-
return e ? e.map((l) =>
|
|
77
|
+
function I(e) {
|
|
78
|
+
return e ? e.map((l) => U(l)).filter(Boolean) : [];
|
|
78
79
|
}
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
E(r, () => {
|
|
81
|
+
a.type === "checkbox" && (S.value ? o.value = I(r.value.checked) : o.value = I(r.value), D("watch checkedKeys..."));
|
|
81
82
|
}, {
|
|
82
83
|
immediate: !0,
|
|
83
84
|
deep: !0
|
|
84
|
-
}),
|
|
85
|
-
|
|
85
|
+
}), E(y, () => {
|
|
86
|
+
a.type === "radio" && (o.value = I(y.value), D("watch selectedKeys..."));
|
|
86
87
|
}, {
|
|
87
88
|
immediate: !0,
|
|
88
89
|
deep: !0
|
|
89
|
-
}),
|
|
90
|
-
|
|
90
|
+
}), E(() => a.treeData, () => {
|
|
91
|
+
a.isBuiltInRequest || (v.value = a.treeData);
|
|
91
92
|
});
|
|
92
|
-
const
|
|
93
|
-
|
|
93
|
+
const O = () => {
|
|
94
|
+
k.value = !0;
|
|
94
95
|
}, B = () => {
|
|
95
|
-
|
|
96
|
-
},
|
|
96
|
+
k.value = !0;
|
|
97
|
+
}, M = () => {
|
|
97
98
|
f("update:visible", !1), f("cancel");
|
|
98
99
|
}, F = () => {
|
|
99
|
-
if (!
|
|
100
|
-
|
|
100
|
+
if (!o.value.length) {
|
|
101
|
+
le.warn("请选择部门");
|
|
101
102
|
return;
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
-
[
|
|
105
|
-
[
|
|
106
|
-
}) : f("update:modelValue",
|
|
107
|
-
[
|
|
108
|
-
[
|
|
109
|
-
}))), f("update:visible", !1), f("confirm",
|
|
110
|
-
},
|
|
111
|
-
if (
|
|
112
|
-
return
|
|
113
|
-
if (
|
|
114
|
-
|
|
104
|
+
p.value = [...o.value], a.type === "radio" ? f("update:modelValue", {
|
|
105
|
+
[t.value.key]: y.value[0],
|
|
106
|
+
[t.value.title]: o.value[0][t.value.title]
|
|
107
|
+
}) : f("update:modelValue", o.value.map((e) => ({
|
|
108
|
+
[t.value.key]: e[t.value.key],
|
|
109
|
+
[t.value.title]: e[t.value.title]
|
|
110
|
+
}))), f("update:visible", !1), f("confirm", o.value), D("handleConfirm ...");
|
|
111
|
+
}, L = (e) => {
|
|
112
|
+
if (k.value = !0, a.type === "radio")
|
|
113
|
+
return o.value = [], y.value = [], !1;
|
|
114
|
+
if (S.value)
|
|
115
|
+
r.value.checked = r.value.checked.filter((l) => l !== e[t.value.key]);
|
|
115
116
|
else {
|
|
116
|
-
const l = e.parentId,
|
|
117
|
-
|
|
118
|
-
const c =
|
|
119
|
-
c !== -1 &&
|
|
117
|
+
const l = e.parentId, u = r.value.indexOf(l);
|
|
118
|
+
u !== -1 && r.value.splice(u, 1), r.value = r.value.filter((n) => n !== e[t.value.key]), q(e.children).forEach((n) => {
|
|
119
|
+
const c = r.value.indexOf(n);
|
|
120
|
+
c !== -1 && r.value.splice(c, 1);
|
|
120
121
|
});
|
|
121
122
|
}
|
|
122
|
-
},
|
|
123
|
-
const l = [],
|
|
124
|
-
for (const
|
|
125
|
-
l.push(
|
|
123
|
+
}, q = (e) => {
|
|
124
|
+
const l = [], u = (d) => {
|
|
125
|
+
for (const n of d)
|
|
126
|
+
l.push(n[t.value.key]), n.children && n.children.length && u(n.children);
|
|
126
127
|
};
|
|
127
|
-
return
|
|
128
|
-
},
|
|
129
|
-
|
|
128
|
+
return u(e), l;
|
|
129
|
+
}, G = Y(() => p.value.map((e) => ({
|
|
130
|
+
label: e[t.value.title],
|
|
131
|
+
value: e[t.value.key],
|
|
132
|
+
closable: !0
|
|
133
|
+
}))), z = (e, l) => {
|
|
134
|
+
const u = p.value.filter((d, n) => n !== l);
|
|
135
|
+
p.value = u, a.type === "radio" ? f("update:modelValue", null) : f("update:modelValue", u.map((d) => ({
|
|
136
|
+
[t.value.key]: d[t.value.key],
|
|
137
|
+
[t.value.title]: d[t.value.title]
|
|
138
|
+
})));
|
|
139
|
+
}, $ = () => {
|
|
140
|
+
f("update:visible", !0);
|
|
141
|
+
}, j = () => i(Z, null, [i(ce, {
|
|
142
|
+
modelValue: a.visible,
|
|
130
143
|
modalProps: {
|
|
131
144
|
cancelText: "取消",
|
|
132
145
|
okText: "确定",
|
|
133
146
|
width: "700px",
|
|
134
|
-
...
|
|
147
|
+
...R
|
|
135
148
|
},
|
|
136
149
|
title: "选择部门",
|
|
137
|
-
onOnCancel:
|
|
150
|
+
onOnCancel: M,
|
|
138
151
|
onOnConfirm: F
|
|
139
152
|
}, {
|
|
140
|
-
default: () => [
|
|
153
|
+
default: () => [i("div", {
|
|
141
154
|
class: h.e("modal-content")
|
|
142
|
-
}, [
|
|
143
|
-
}, 8, ["modelValue", "modalProps", "onOnCancel", "onOnConfirm"])]),
|
|
144
|
-
let
|
|
145
|
-
for (let
|
|
146
|
-
const
|
|
147
|
-
if (
|
|
148
|
-
if (
|
|
149
|
-
|
|
155
|
+
}, [Q(), W()], 2)]
|
|
156
|
+
}, 8, ["modelValue", "modalProps", "onOnCancel", "onOnConfirm"])]), b = (e, l) => {
|
|
157
|
+
let u;
|
|
158
|
+
for (let d = 0; d < l.length; d++) {
|
|
159
|
+
const n = l[d];
|
|
160
|
+
if (n.children)
|
|
161
|
+
if (n.children.some((c) => c[t.value.key] === e)) {
|
|
162
|
+
u = n[t.value.key];
|
|
150
163
|
break;
|
|
151
|
-
} else
|
|
164
|
+
} else b(e, n.children) && (u = b(e, n.children));
|
|
152
165
|
}
|
|
153
|
-
return
|
|
154
|
-
},
|
|
166
|
+
return u;
|
|
167
|
+
}, H = (e) => {
|
|
155
168
|
if (!e.trim()) {
|
|
156
|
-
m.value = [],
|
|
169
|
+
m.value = [], g.value = "", N.value = !0;
|
|
157
170
|
return;
|
|
158
171
|
}
|
|
159
|
-
const l = /* @__PURE__ */ new Set(),
|
|
160
|
-
|
|
161
|
-
var
|
|
162
|
-
if ((
|
|
163
|
-
let
|
|
164
|
-
for (;
|
|
165
|
-
l.add(
|
|
166
|
-
l.add(c[
|
|
172
|
+
const l = /* @__PURE__ */ new Set(), u = (d, n) => {
|
|
173
|
+
d.forEach((c) => {
|
|
174
|
+
var P;
|
|
175
|
+
if ((P = c[t.value.title]) != null && P.includes(n)) {
|
|
176
|
+
let K = b(c[t.value.key], v.value);
|
|
177
|
+
for (; K; )
|
|
178
|
+
l.add(K), K = b(K, v.value);
|
|
179
|
+
l.add(c[t.value.key]);
|
|
167
180
|
}
|
|
168
|
-
c.children && c.children.length > 0 &&
|
|
181
|
+
c.children && c.children.length > 0 && u(c.children, n);
|
|
169
182
|
});
|
|
170
183
|
};
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
const l = e[
|
|
174
|
-
if (!
|
|
175
|
-
return
|
|
176
|
-
const
|
|
177
|
-
if (
|
|
178
|
-
return
|
|
179
|
-
const
|
|
180
|
-
return
|
|
184
|
+
u(v.value, e), m.value = Array.from(l), g.value = e, N.value = !0;
|
|
185
|
+
}, J = (e) => {
|
|
186
|
+
const l = e[t.value.title] || "";
|
|
187
|
+
if (!g.value)
|
|
188
|
+
return i("span", null, [l]);
|
|
189
|
+
const u = l.indexOf(g.value);
|
|
190
|
+
if (u === -1)
|
|
191
|
+
return i("span", null, [l]);
|
|
192
|
+
const d = l.substring(0, u), n = l.substring(u, u + g.value.length), c = l.substring(u + g.value.length);
|
|
193
|
+
return i("span", null, [d, i("span", {
|
|
181
194
|
style: "color: #f50; font-weight: bold"
|
|
182
|
-
}, [
|
|
183
|
-
},
|
|
195
|
+
}, [n]), c]);
|
|
196
|
+
}, Q = () => i("div", {
|
|
184
197
|
class: h.e("modal-content-left")
|
|
185
|
-
}, [
|
|
186
|
-
default: () => [
|
|
198
|
+
}, [i(te, null, {
|
|
199
|
+
default: () => [i(ae, {
|
|
187
200
|
placeholder: "请输入部门名称",
|
|
188
|
-
onSearch:
|
|
201
|
+
onSearch: H,
|
|
189
202
|
style: {
|
|
190
203
|
marginBottom: "10px"
|
|
191
204
|
},
|
|
192
205
|
allowClear: !0
|
|
193
206
|
}, null, 8, ["onSearch", "allowClear"])]
|
|
194
|
-
}), v.value.length > 0 ?
|
|
207
|
+
}), v.value.length > 0 ? i(ne, {
|
|
195
208
|
expandedKeys: m.value,
|
|
196
209
|
"onUpdate:expandedKeys": (e) => m.value = e,
|
|
197
210
|
selectedKeys: y.value,
|
|
198
211
|
"onUpdate:selectedKeys": (e) => y.value = e,
|
|
199
|
-
checkedKeys:
|
|
200
|
-
"onUpdate:checkedKeys": (e) =>
|
|
201
|
-
checkable:
|
|
202
|
-
checkStrictly:
|
|
212
|
+
checkedKeys: r.value,
|
|
213
|
+
"onUpdate:checkedKeys": (e) => r.value = e,
|
|
214
|
+
checkable: a.type === "checkbox",
|
|
215
|
+
checkStrictly: S.value,
|
|
203
216
|
"show-icon": !0,
|
|
204
|
-
autoExpandParent:
|
|
217
|
+
autoExpandParent: N.value,
|
|
205
218
|
blockNode: !0,
|
|
206
219
|
defaultExpandAll: !0,
|
|
207
|
-
fieldNames:
|
|
208
|
-
"show-line":
|
|
220
|
+
fieldNames: t.value,
|
|
221
|
+
"show-line": _.value,
|
|
209
222
|
"tree-data": v.value,
|
|
210
|
-
onCheck:
|
|
223
|
+
onCheck: O,
|
|
211
224
|
onSelect: B,
|
|
212
225
|
class: h.e("modal-content-left-tree")
|
|
213
226
|
}, {
|
|
214
227
|
icon: (e) => T(e),
|
|
215
|
-
title:
|
|
228
|
+
title: J,
|
|
216
229
|
_: 1
|
|
217
|
-
}, 8, ["expandedKeys", "onUpdate:expandedKeys", "selectedKeys", "onUpdate:selectedKeys", "checkedKeys", "onUpdate:checkedKeys", "checkable", "checkStrictly", "show-icon", "autoExpandParent", "blockNode", "defaultExpandAll", "fieldNames", "show-line", "tree-data", "onCheck", "onSelect", "class"]) :
|
|
230
|
+
}, 8, ["expandedKeys", "onUpdate:expandedKeys", "selectedKeys", "onUpdate:selectedKeys", "checkedKeys", "onUpdate:checkedKeys", "checkable", "checkStrictly", "show-icon", "autoExpandParent", "blockNode", "defaultExpandAll", "fieldNames", "show-line", "tree-data", "onCheck", "onSelect", "class"]) : i(C, {
|
|
218
231
|
description: "暂无数据",
|
|
219
232
|
image: C.PRESENTED_IMAGE_SIMPLE
|
|
220
|
-
}, null, 8, ["image"])], 2), T = (e) =>
|
|
233
|
+
}, null, 8, ["image"])], 2), T = (e) => i(V, {
|
|
221
234
|
name: e.parentId === "0" ? "qiye" : "bumen",
|
|
222
235
|
size: 16
|
|
223
|
-
}, null, 8, ["name"]),
|
|
236
|
+
}, null, 8, ["name"]), W = () => i("div", {
|
|
224
237
|
class: h.e("modal-content-right")
|
|
225
|
-
}, [
|
|
238
|
+
}, [o.value.length > 0 ? o.value.map((e) => i("div", {
|
|
226
239
|
class: h.e("modal-content-right-item")
|
|
227
|
-
}, [
|
|
240
|
+
}, [i("div", {
|
|
228
241
|
class: h.e("modal-content-right-item-label")
|
|
229
|
-
}, [T(e),
|
|
242
|
+
}, [T(e), i("span", null, [e[t.value.title]])], 2), i("div", {
|
|
230
243
|
class: h.e("modal-content-right-item-del"),
|
|
231
|
-
onClick: () =>
|
|
232
|
-
}, [
|
|
244
|
+
onClick: () => L(e)
|
|
245
|
+
}, [i(V, {
|
|
233
246
|
name: "shanchu",
|
|
234
247
|
size: 16
|
|
235
|
-
}, null)], 10, ["onClick"])], 2)) :
|
|
248
|
+
}, null)], 10, ["onClick"])], 2)) : i(C, {
|
|
236
249
|
description: "暂无数据",
|
|
237
250
|
image: C.PRESENTED_IMAGE_SIMPLE
|
|
238
251
|
}, null, 8, ["image"])], 2);
|
|
239
252
|
return () => {
|
|
240
253
|
var e;
|
|
241
|
-
return
|
|
254
|
+
return i("div", {
|
|
242
255
|
class: h.b()
|
|
243
|
-
}, [
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
style: {
|
|
256
|
-
cursor: "pointer"
|
|
257
|
-
},
|
|
258
|
-
name: "bumen",
|
|
259
|
-
size: 14,
|
|
260
|
-
color: "#606266"
|
|
261
|
-
}, null)], 8, ["onClick"]),
|
|
262
|
-
_: 1
|
|
263
|
-
}, 8, ["readonly", "value", "onUpdate:value", "onInput"])]), q()], 2);
|
|
256
|
+
}, [a.hideSlot ? null : (e = x.default) != null && e.call(x) ? x.default() : i("div", null, [i(re, {
|
|
257
|
+
modelValue: G.value,
|
|
258
|
+
showAdd: !0,
|
|
259
|
+
addText: "选择部门",
|
|
260
|
+
closable: !0,
|
|
261
|
+
onClose: z,
|
|
262
|
+
onAdd: $,
|
|
263
|
+
customStyle: {
|
|
264
|
+
width: "100%",
|
|
265
|
+
minHeight: "30px"
|
|
266
|
+
}
|
|
267
|
+
}, null, 8, ["modelValue", "onClose", "onAdd"])]), j()], 2);
|
|
264
268
|
};
|
|
265
269
|
}
|
|
266
270
|
});
|
|
267
271
|
export {
|
|
268
|
-
|
|
272
|
+
ke as default
|
|
269
273
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { KCollapseTranstion as t } from "./collapse-transtion/index.mjs";
|
|
2
|
-
import { KProModal as
|
|
3
|
-
import { KProTitle as
|
|
4
|
-
import { KScrollBar as
|
|
2
|
+
import { KProModal as m } from "./pro-modal/index.mjs";
|
|
3
|
+
import { KProTitle as x } from "./pro-title/index.mjs";
|
|
4
|
+
import { KScrollBar as l } from "./scroll-bar/index.mjs";
|
|
5
5
|
import { KCoverScrollBar as P } from "./cover-scroll-bar/index.mjs";
|
|
6
6
|
import { KScaleVirtualList as S } from "./scale-virtual-list/index.mjs";
|
|
7
7
|
import { KProTag as s } from "./pro-tag/index.mjs";
|
|
8
8
|
import { KProPicker as u } from "./pro-picker/index.mjs";
|
|
9
|
-
import { KProArea as
|
|
10
|
-
import { KProSignature as
|
|
9
|
+
import { KProArea as T } from "./pro-area/index.mjs";
|
|
10
|
+
import { KProSignature as g } from "./pro-signature/index.mjs";
|
|
11
11
|
import { KProTable as v } from "./pro-table/index.mjs";
|
|
12
12
|
import { KIcon as G } from "./icon/index.mjs";
|
|
13
13
|
import { KProUpload as b } from "./pro-upload/index.mjs";
|
|
14
|
-
import { KProContractView as
|
|
14
|
+
import { KProContractView as y } from "./pro-contract-view/index.mjs";
|
|
15
15
|
import "./pro-loading/index.mjs";
|
|
16
|
-
import { KPlusUpload as
|
|
17
|
-
import { KProOverlay as
|
|
16
|
+
import { KPlusUpload as D } from "./plus-upload/index.mjs";
|
|
17
|
+
import { KProOverlay as h } from "./pro-overlay/index.mjs";
|
|
18
18
|
import { KProSign as F } from "./pro-sign/index.mjs";
|
|
19
19
|
import { KUserSelector as L, KUserSelectorCheckbox as M } from "./pro-selector/index.mjs";
|
|
20
20
|
import { KProUserAvatar as j, KUserAvatar as q } from "./pro-user-avatar/index.mjs";
|
|
@@ -25,33 +25,35 @@ import { KFormRender as Y } from "./pro-form-render/index.mjs";
|
|
|
25
25
|
import { KProCell as _ } from "./pro-cell/index.mjs";
|
|
26
26
|
import { KProCellGroup as rr } from "./pro-cell-group/index.mjs";
|
|
27
27
|
import { KProSelectorGroup as er } from "./pro-selector-group/index.mjs";
|
|
28
|
+
import { KProDynamicTags as pr } from "./pro-dynamic-tags/index.mjs";
|
|
28
29
|
export {
|
|
29
30
|
t as KCollapseTranstion,
|
|
30
31
|
P as KCoverScrollBar,
|
|
31
32
|
N as KDeptSelector,
|
|
32
33
|
Y as KFormRender,
|
|
33
34
|
G as KIcon,
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
D as KPlusUpload,
|
|
36
|
+
T as KProArea,
|
|
36
37
|
_ as KProCell,
|
|
37
38
|
rr as KProCellGroup,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
y as KProContractView,
|
|
40
|
+
pr as KProDynamicTags,
|
|
41
|
+
m as KProModal,
|
|
42
|
+
h as KProOverlay,
|
|
41
43
|
u as KProPicker,
|
|
42
44
|
E as KProRoleSelector,
|
|
43
45
|
er as KProSelectorGroup,
|
|
44
46
|
F as KProSign,
|
|
45
|
-
|
|
47
|
+
g as KProSignature,
|
|
46
48
|
v as KProTable,
|
|
47
49
|
s as KProTag,
|
|
48
50
|
W as KProTagGroup,
|
|
49
|
-
|
|
51
|
+
x as KProTitle,
|
|
50
52
|
b as KProUpload,
|
|
51
53
|
j as KProUserAvatar,
|
|
52
54
|
H as KRoleSelector,
|
|
53
55
|
S as KScaleVirtualList,
|
|
54
|
-
|
|
56
|
+
l as KScrollBar,
|
|
55
57
|
q as KUserAvatar,
|
|
56
58
|
L as KUserSelector,
|
|
57
59
|
M as KUserSelectorCheckbox
|