@dazhicheng/ui 1.6.55 → 1.6.57
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/dist/assets/svg/download.svg.js +1 -1
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-button/index.d.ts +28 -28
- package/dist/components/tt-button/index.vue.d.ts +16 -16
- package/dist/components/tt-custom-export-modal/src/assets/search.svg.js +5 -5
- package/dist/components/tt-custom-export-modal/src/assets/star.svg.js +3 -3
- package/dist/components/tt-custom-export-modal/src/assets/trash.svg.js +7 -7
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.js +1 -1
- package/dist/components/tt-drawer/index.d.ts +109 -109
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +60 -60
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-empty/index.d.ts +4 -4
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +10 -10
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-image/index.d.ts +29 -29
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +20 -20
- package/dist/components/tt-image/tt-image.d.ts +29 -29
- package/dist/components/tt-input-textarea/index.vue.d.ts +40 -40
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-modal/index.d.ts +150 -150
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +42 -42
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +17 -17
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +7 -5
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.js +120 -114
- package/dist/components/tt-panel-select/src/index.vue.d.ts +9 -5
- package/dist/components/tt-panel-select/src/index.vue.js +275 -229
- package/dist/components/tt-panel-select/src/types.d.ts +4 -0
- package/dist/components/tt-upload/index.d.ts +60 -60
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
- package/dist/components/tt-upload/src/typing.d.ts +17 -17
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { TtButton as
|
|
3
|
-
import { TtText as
|
|
4
|
-
import { Search as
|
|
5
|
-
import { useResizeObserver as
|
|
6
|
-
import { ElInput as
|
|
7
|
-
import { DEFAULT_PANEL_SELECT_SEPARATORS as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as ne, useTemplateRef as q, ref as m, computed as v, watch as M, nextTick as U, createElementBlock as p, openBlock as s, normalizeClass as n, createElementVNode as k, createCommentVNode as z, createVNode as h, createBlock as I, unref as i, withKeys as ie, withCtx as d, createTextVNode as S, normalizeStyle as P, Fragment as H, renderList as V, toDisplayString as E } from "vue";
|
|
2
|
+
import { TtButton as ue } from "../../../tt-button/index.js";
|
|
3
|
+
import { TtText as $ } from "../../../tt-text/index.js";
|
|
4
|
+
import { Search as de } from "@element-plus/icons-vue";
|
|
5
|
+
import { useResizeObserver as ce } from "@vueuse/core";
|
|
6
|
+
import { ElInput as fe, ElIcon as pe, ElCheckbox as F, ElScrollbar as he } from "element-plus";
|
|
7
|
+
import { DEFAULT_PANEL_SELECT_SEPARATORS as ve, splitPanelSelectText as me } from "../common.js";
|
|
8
|
+
const we = ["data-virtual-index", "data-flash-seed"], Y = 2, $e = /* @__PURE__ */ ne({
|
|
9
9
|
name: "PanelMiddle",
|
|
10
10
|
__name: "PanelMiddle",
|
|
11
11
|
props: {
|
|
12
|
+
allowCreate: { type: Boolean },
|
|
12
13
|
disabled: { type: Boolean, default: !1 },
|
|
13
14
|
prefixCls: {},
|
|
14
15
|
multiple: { type: Boolean },
|
|
@@ -25,245 +26,250 @@ const he = ["data-virtual-index", "data-flash-seed"], Y = 2, be = /* @__PURE__ *
|
|
|
25
26
|
groupIndeterminateMap: {},
|
|
26
27
|
scrollToGroupValue: { default: void 0 },
|
|
27
28
|
pasteSearch: { type: Boolean, default: !1 },
|
|
28
|
-
separator: { default: () => [...
|
|
29
|
+
separator: { default: () => [...ve] },
|
|
29
30
|
showAll: { type: Boolean },
|
|
30
31
|
middlePlaceholder: {}
|
|
31
32
|
},
|
|
32
|
-
emits: ["update:keyword", "checkAll", "allCheck", "groupCheck", "optionCheck", "optionsCheck"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
let
|
|
36
|
-
const Q =
|
|
33
|
+
emits: ["update:keyword", "checkAll", "allCheck", "groupCheck", "optionCheck", "optionsCheck", "selectCreatedOptions"],
|
|
34
|
+
setup(t, { expose: W, emit: j }) {
|
|
35
|
+
const l = t, c = j, g = q("scrollbarRef"), x = q("searchInputRef"), J = m(), T = m(0), D = m(0), w = m(""), b = m(), G = m(0), R = m(!1);
|
|
36
|
+
let B;
|
|
37
|
+
const Q = v(() => l.rows.length * l.rowHeight), X = v(() => Math.max(1, Math.ceil(D.value / l.rowHeight))), y = v(() => Math.max(0, Math.floor(T.value / l.rowHeight) - Y)), Z = v(() => Math.min(l.rows.length, y.value + X.value + Y * 2)), _ = v(() => y.value * l.rowHeight), ee = v(() => l.rows.slice(y.value, Z.value)), le = v(() => {
|
|
37
38
|
var e;
|
|
38
|
-
return ((e =
|
|
39
|
-
}), te =
|
|
40
|
-
() =>
|
|
39
|
+
return ((e = l.rows[0]) == null ? void 0 : e.type) === "group";
|
|
40
|
+
}), te = v(
|
|
41
|
+
() => l.rows.filter((e) => e.type === "options").flatMap((e) => e.options).filter((e) => !e.disabled)
|
|
41
42
|
);
|
|
42
43
|
M(
|
|
43
|
-
() =>
|
|
44
|
+
() => l.keyword,
|
|
44
45
|
(e) => {
|
|
45
46
|
w.value = e;
|
|
46
47
|
},
|
|
47
48
|
{ immediate: !0 }
|
|
48
49
|
);
|
|
49
|
-
function
|
|
50
|
+
function A() {
|
|
50
51
|
var a;
|
|
51
52
|
const e = (a = g.value) == null ? void 0 : a.wrapRef;
|
|
52
|
-
e && (J.value = e, D.value = e.clientHeight,
|
|
53
|
+
e && (J.value = e, D.value = e.clientHeight, T.value = e.scrollTop);
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
+
ce(
|
|
55
56
|
() => {
|
|
56
57
|
var e;
|
|
57
58
|
return (e = g.value) == null ? void 0 : e.wrapRef;
|
|
58
59
|
},
|
|
59
|
-
() =>
|
|
60
|
+
() => A()
|
|
60
61
|
);
|
|
61
|
-
function
|
|
62
|
+
function K() {
|
|
62
63
|
var a;
|
|
63
64
|
const e = (a = g.value) == null ? void 0 : a.wrapRef;
|
|
64
|
-
e && (
|
|
65
|
+
e && (T.value = e.scrollTop);
|
|
65
66
|
}
|
|
66
67
|
function ae(e) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
b.value = void 0, G.value += 1, requestAnimationFrame(() => {
|
|
69
|
+
b.value = e, B && clearTimeout(B), B = setTimeout(() => {
|
|
70
|
+
b.value = void 0;
|
|
70
71
|
}, 1400);
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
|
-
async function
|
|
74
|
-
var
|
|
75
|
-
await
|
|
76
|
-
const a =
|
|
74
|
+
async function L(e) {
|
|
75
|
+
var f;
|
|
76
|
+
await U(), A();
|
|
77
|
+
const a = l.rows.findIndex((r) => r.type === "group" && r.group.value === e);
|
|
77
78
|
if (a < 0) return;
|
|
78
|
-
const o = a *
|
|
79
|
-
(
|
|
80
|
-
|
|
79
|
+
const o = a * l.rowHeight;
|
|
80
|
+
(f = g.value) == null || f.setScrollTop(o), requestAnimationFrame(() => {
|
|
81
|
+
K(), ae(e);
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
84
|
function oe(e) {
|
|
84
|
-
var
|
|
85
|
-
if (
|
|
85
|
+
var N;
|
|
86
|
+
if (l.disabled)
|
|
86
87
|
return;
|
|
87
88
|
e.preventDefault();
|
|
88
|
-
const a = ((
|
|
89
|
-
w.value = a.trim(),
|
|
89
|
+
const a = ((N = e.clipboardData) == null ? void 0 : N.getData("text")) || "";
|
|
90
|
+
w.value = a.trim(), l.pasteSearch ? c("update:keyword", w.value) : (R.value = !0, requestAnimationFrame(() => {
|
|
90
91
|
R.value = !1;
|
|
91
92
|
}));
|
|
92
|
-
const o =
|
|
93
|
+
const o = me(a, l.separator), f = () => {
|
|
93
94
|
requestAnimationFrame(() => {
|
|
94
|
-
var
|
|
95
|
-
const u = (
|
|
95
|
+
var O;
|
|
96
|
+
const u = (O = x.value) == null ? void 0 : O.input;
|
|
96
97
|
u == null || u.focus(), u == null || u.select();
|
|
97
98
|
});
|
|
98
99
|
};
|
|
99
100
|
if (!o.length) {
|
|
100
|
-
|
|
101
|
+
f();
|
|
101
102
|
return;
|
|
102
103
|
}
|
|
103
104
|
const r = new Set(o), C = te.value.filter((u) => r.has(u.label) || r.has(String(u.value))).map((u) => u.value);
|
|
104
105
|
if (!C.length) {
|
|
105
|
-
|
|
106
|
+
f();
|
|
106
107
|
return;
|
|
107
108
|
}
|
|
108
|
-
if (
|
|
109
|
-
|
|
109
|
+
if (l.multiple) {
|
|
110
|
+
c("optionsCheck", C, !0), f();
|
|
110
111
|
return;
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
+
c("optionCheck", C.at(-1), !0), f();
|
|
113
114
|
}
|
|
114
115
|
function re(e) {
|
|
115
|
-
w.value = e, !R.value &&
|
|
116
|
+
w.value = e, !R.value && c("update:keyword", e);
|
|
117
|
+
}
|
|
118
|
+
function se(e) {
|
|
119
|
+
var a;
|
|
120
|
+
!l.allowCreate || l.disabled || e.isComposing || (a = x.value) != null && a.isComposing || (e.preventDefault(), e.stopPropagation(), c("update:keyword", w.value), c("selectCreatedOptions"));
|
|
116
121
|
}
|
|
117
122
|
return M(
|
|
118
|
-
() =>
|
|
123
|
+
() => l.scrollToGroupValue,
|
|
119
124
|
async (e) => {
|
|
120
|
-
e !== void 0 && await
|
|
125
|
+
e !== void 0 && await L(e);
|
|
121
126
|
},
|
|
122
127
|
{ flush: "post" }
|
|
123
128
|
), M(
|
|
124
|
-
() =>
|
|
129
|
+
() => l.rows.length,
|
|
125
130
|
async () => {
|
|
126
|
-
await
|
|
131
|
+
await U(), A();
|
|
127
132
|
},
|
|
128
133
|
{ immediate: !0 }
|
|
129
134
|
), W({
|
|
130
|
-
scrollToGroup:
|
|
135
|
+
scrollToGroup: L,
|
|
131
136
|
inputFocus: () => {
|
|
132
137
|
var e, a;
|
|
133
|
-
(a = (e =
|
|
138
|
+
(a = (e = x.value) == null ? void 0 : e.focus) == null || a.call(e);
|
|
134
139
|
}
|
|
135
|
-
}), (e, a) => (s(),
|
|
136
|
-
class: n(`${
|
|
140
|
+
}), (e, a) => (s(), p("div", {
|
|
141
|
+
class: n(`${t.prefixCls}__list`)
|
|
137
142
|
}, [
|
|
138
143
|
k("div", {
|
|
139
|
-
class: n(`${
|
|
144
|
+
class: n(`${t.prefixCls}__toolbar`)
|
|
140
145
|
}, [
|
|
141
|
-
|
|
146
|
+
h(i(fe), {
|
|
142
147
|
ref_key: "searchInputRef",
|
|
143
|
-
ref:
|
|
148
|
+
ref: x,
|
|
144
149
|
"model-value": w.value,
|
|
145
|
-
class: n(`${
|
|
146
|
-
placeholder:
|
|
150
|
+
class: n(`${t.prefixCls}__search`),
|
|
151
|
+
placeholder: l.allowCreate ? `${l.middlePlaceholder}(可创建)` : l.middlePlaceholder,
|
|
147
152
|
clearable: "",
|
|
148
153
|
"onUpdate:modelValue": re,
|
|
149
|
-
onPaste: oe
|
|
154
|
+
onPaste: oe,
|
|
155
|
+
onKeydown: ie(se, ["enter"])
|
|
150
156
|
}, {
|
|
151
157
|
prefix: d(() => [
|
|
152
|
-
|
|
158
|
+
h(i(pe), null, {
|
|
153
159
|
default: d(() => [
|
|
154
|
-
|
|
160
|
+
h(i(de))
|
|
155
161
|
]),
|
|
156
162
|
_: 1
|
|
157
163
|
})
|
|
158
164
|
]),
|
|
159
165
|
_: 1
|
|
160
166
|
}, 8, ["model-value", "class", "placeholder"]),
|
|
161
|
-
|
|
167
|
+
t.multiple && t.showMultiple ? (s(), I(i(ue), {
|
|
162
168
|
key: 0,
|
|
163
|
-
disabled:
|
|
169
|
+
disabled: t.disabled,
|
|
164
170
|
plain: "",
|
|
165
|
-
onClick: a[0] || (a[0] = () =>
|
|
171
|
+
onClick: a[0] || (a[0] = () => c("checkAll", !0))
|
|
166
172
|
}, {
|
|
167
173
|
default: d(() => [...a[2] || (a[2] = [
|
|
168
174
|
k("span", null, "全选", -1)
|
|
169
175
|
])]),
|
|
170
176
|
_: 1
|
|
171
|
-
}, 8, ["disabled"])) :
|
|
177
|
+
}, 8, ["disabled"])) : z("", !0)
|
|
172
178
|
], 2),
|
|
173
|
-
|
|
179
|
+
l.showAll ? (s(), p("div", {
|
|
174
180
|
key: 0,
|
|
175
|
-
class: n([`${
|
|
181
|
+
class: n([`${t.prefixCls}__panel-head`, le.value ? "is-standalone" : ""])
|
|
176
182
|
}, [
|
|
177
|
-
|
|
178
|
-
disabled:
|
|
179
|
-
"model-value":
|
|
180
|
-
onChange: a[1] || (a[1] = (o) =>
|
|
183
|
+
h(i(F), {
|
|
184
|
+
disabled: t.disabled,
|
|
185
|
+
"model-value": l.allChecked,
|
|
186
|
+
onChange: a[1] || (a[1] = (o) => c("allCheck", !!o))
|
|
181
187
|
}, {
|
|
182
188
|
default: d(() => [
|
|
183
|
-
|
|
189
|
+
h(i($), null, {
|
|
184
190
|
default: d(() => [...a[3] || (a[3] = [
|
|
185
|
-
|
|
191
|
+
S("全部", -1)
|
|
186
192
|
])]),
|
|
187
193
|
_: 1
|
|
188
194
|
})
|
|
189
195
|
]),
|
|
190
196
|
_: 1
|
|
191
197
|
}, 8, ["disabled", "model-value"])
|
|
192
|
-
], 2)) :
|
|
198
|
+
], 2)) : z("", !0),
|
|
193
199
|
k("div", {
|
|
194
|
-
class: n(`${
|
|
200
|
+
class: n(`${t.prefixCls}__checkbox-group`)
|
|
195
201
|
}, [
|
|
196
|
-
|
|
202
|
+
h(i(he), {
|
|
197
203
|
ref_key: "scrollbarRef",
|
|
198
204
|
ref: g,
|
|
199
|
-
class: n(`${
|
|
200
|
-
onScroll:
|
|
205
|
+
class: n(`${t.prefixCls}__middle-scrollbar`),
|
|
206
|
+
onScroll: K
|
|
201
207
|
}, {
|
|
202
208
|
default: d(() => [
|
|
203
209
|
k("div", {
|
|
204
|
-
class: n(`${
|
|
210
|
+
class: n(`${t.prefixCls}__middle-virtual-host`),
|
|
205
211
|
style: P({ height: `${Q.value}px` })
|
|
206
212
|
}, [
|
|
207
213
|
k("div", {
|
|
208
214
|
style: P({ transform: `translateY(${_.value}px)` })
|
|
209
215
|
}, [
|
|
210
|
-
(s(!0),
|
|
216
|
+
(s(!0), p(H, null, V(ee.value, (o, f) => (s(), p("div", {
|
|
211
217
|
key: o.key,
|
|
212
|
-
style: P({ height: `${
|
|
218
|
+
style: P({ height: `${t.rowHeight}px` }),
|
|
213
219
|
class: n([
|
|
214
|
-
`${
|
|
215
|
-
o.type === "group" ? `${
|
|
220
|
+
`${t.prefixCls}__middle-row`,
|
|
221
|
+
o.type === "group" ? `${t.prefixCls}__middle-group` : `${t.prefixCls}__middle-options`,
|
|
216
222
|
o.type === "options" && o.isLast ? "is-last" : "",
|
|
217
|
-
o.type === "options" && y.value +
|
|
218
|
-
|
|
223
|
+
o.type === "options" && y.value + f === 0 && !l.showAll ? "is-first" : "",
|
|
224
|
+
b.value === o.group.value ? `${t.prefixCls}__group-flash` : ""
|
|
219
225
|
]),
|
|
220
|
-
"data-virtual-index": y.value +
|
|
226
|
+
"data-virtual-index": y.value + f,
|
|
221
227
|
"data-flash-seed": G.value
|
|
222
228
|
}, [
|
|
223
|
-
o.type === "group" ? (s(),
|
|
229
|
+
o.type === "group" ? (s(), p("div", {
|
|
224
230
|
key: 0,
|
|
225
|
-
class: n(`${
|
|
231
|
+
class: n(`${t.prefixCls}__panel-head`)
|
|
226
232
|
}, [
|
|
227
|
-
|
|
233
|
+
l.multiple ? (s(), I(i(F), {
|
|
228
234
|
key: 0,
|
|
229
|
-
"model-value":
|
|
230
|
-
indeterminate:
|
|
231
|
-
disabled:
|
|
232
|
-
onChange: (r) =>
|
|
235
|
+
"model-value": t.groupCheckedMap[String(o.group.value)],
|
|
236
|
+
indeterminate: t.groupIndeterminateMap[String(o.group.value)],
|
|
237
|
+
disabled: t.disabled,
|
|
238
|
+
onChange: (r) => c("groupCheck", o.group.value, !!r)
|
|
233
239
|
}, {
|
|
234
240
|
default: d(() => [
|
|
235
|
-
|
|
241
|
+
h(i($), null, {
|
|
236
242
|
default: d(() => [
|
|
237
|
-
|
|
243
|
+
S(E(o.group.label), 1)
|
|
238
244
|
]),
|
|
239
245
|
_: 2
|
|
240
246
|
}, 1024)
|
|
241
247
|
]),
|
|
242
248
|
_: 2
|
|
243
|
-
}, 1032, ["model-value", "indeterminate", "disabled", "onChange"])) : (s(), I(i(
|
|
249
|
+
}, 1032, ["model-value", "indeterminate", "disabled", "onChange"])) : (s(), I(i($), { key: 1 }, {
|
|
244
250
|
default: d(() => [
|
|
245
|
-
|
|
251
|
+
S(E(o.group.label), 1)
|
|
246
252
|
]),
|
|
247
253
|
_: 2
|
|
248
254
|
}, 1024))
|
|
249
|
-
], 2)) : (s(),
|
|
255
|
+
], 2)) : (s(), p("div", {
|
|
250
256
|
key: 1,
|
|
251
|
-
class: n(`${
|
|
257
|
+
class: n(`${t.prefixCls}__option-row`)
|
|
252
258
|
}, [
|
|
253
|
-
(s(!0),
|
|
259
|
+
(s(!0), p(H, null, V(o.options, (r) => (s(), p("div", {
|
|
254
260
|
key: r.value,
|
|
255
|
-
class: n(`${
|
|
261
|
+
class: n(`${t.prefixCls}__option-cell`)
|
|
256
262
|
}, [
|
|
257
|
-
|
|
258
|
-
"model-value":
|
|
259
|
-
disabled:
|
|
260
|
-
class: n(`${
|
|
261
|
-
onChange: (C) =>
|
|
263
|
+
h(i(F), {
|
|
264
|
+
"model-value": l.selectedValueSet.has(r.value),
|
|
265
|
+
disabled: t.disabled || r.disabled,
|
|
266
|
+
class: n(`${t.prefixCls}__option`),
|
|
267
|
+
onChange: (C) => c("optionCheck", r.value, !!C)
|
|
262
268
|
}, {
|
|
263
269
|
default: d(() => [
|
|
264
|
-
|
|
270
|
+
h(i($), { "tool-tip-line": 2 }, {
|
|
265
271
|
default: d(() => [
|
|
266
|
-
|
|
272
|
+
S(E(r.label), 1)
|
|
267
273
|
]),
|
|
268
274
|
_: 2
|
|
269
275
|
}, 1024)
|
|
@@ -271,12 +277,12 @@ const he = ["data-virtual-index", "data-flash-seed"], Y = 2, be = /* @__PURE__ *
|
|
|
271
277
|
_: 2
|
|
272
278
|
}, 1032, ["model-value", "disabled", "class", "onChange"])
|
|
273
279
|
], 2))), 128)),
|
|
274
|
-
(s(!0),
|
|
280
|
+
(s(!0), p(H, null, V(t.optionPerRow - o.options.length, (r) => (s(), p("div", {
|
|
275
281
|
key: `empty-${o.key}-${r}`,
|
|
276
|
-
class: n(`${
|
|
282
|
+
class: n(`${t.prefixCls}__option-cell`)
|
|
277
283
|
}, null, 2))), 128))
|
|
278
284
|
], 2))
|
|
279
|
-
], 14,
|
|
285
|
+
], 14, we))), 128))
|
|
280
286
|
], 4)
|
|
281
287
|
], 6)
|
|
282
288
|
]),
|
|
@@ -287,5 +293,5 @@ const he = ["data-virtual-index", "data-flash-seed"], Y = 2, be = /* @__PURE__ *
|
|
|
287
293
|
}
|
|
288
294
|
});
|
|
289
295
|
export {
|
|
290
|
-
|
|
296
|
+
$e as default
|
|
291
297
|
};
|
|
@@ -26,6 +26,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
immediate: boolean;
|
|
28
28
|
params: import('../../../../../utils/src').Recordable;
|
|
29
|
+
allowCreate: boolean;
|
|
29
30
|
multiple: boolean;
|
|
30
31
|
options: PanelSelectOption[];
|
|
31
32
|
treeConfig: import('./types').PanelSelectTreeConfig;
|
|
@@ -53,6 +54,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
53
54
|
onGroupCheck?: ((groupValue: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
54
55
|
onOptionCheck?: ((value: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
55
56
|
onOptionsCheck?: ((values: PanelSelectValue[], checked: boolean) => any) | undefined;
|
|
57
|
+
onSelectCreatedOptions?: (() => any) | undefined;
|
|
56
58
|
}>, {
|
|
57
59
|
scrollToGroup: (groupValue: PanelSelectValue) => Promise<void>;
|
|
58
60
|
inputFocus: () => void;
|
|
@@ -63,6 +65,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
63
65
|
groupCheck: (groupValue: PanelSelectValue, checked: boolean) => any;
|
|
64
66
|
optionCheck: (value: PanelSelectValue, checked: boolean) => any;
|
|
65
67
|
optionsCheck: (values: PanelSelectValue[], checked: boolean) => any;
|
|
68
|
+
selectCreatedOptions: () => any;
|
|
66
69
|
}, import('vue').PublicProps, {
|
|
67
70
|
disabled: boolean;
|
|
68
71
|
showMultiple: boolean;
|
|
@@ -91,12 +94,12 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
91
94
|
readonly form?: string | undefined;
|
|
92
95
|
readonly readonly?: boolean | undefined;
|
|
93
96
|
readonly clearable?: boolean | undefined;
|
|
94
|
-
readonly clearIcon?: import('element-plus/es/utils/
|
|
97
|
+
readonly clearIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
95
98
|
readonly showPassword?: boolean | undefined;
|
|
96
99
|
readonly showWordLimit?: boolean | undefined;
|
|
97
100
|
readonly wordLimitPosition?: "inside" | "outside" | undefined;
|
|
98
|
-
readonly suffixIcon?: import('element-plus/es/utils/
|
|
99
|
-
readonly prefixIcon?: import('element-plus/es/utils/
|
|
101
|
+
readonly suffixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
102
|
+
readonly prefixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
100
103
|
readonly containerRole?: string | undefined;
|
|
101
104
|
readonly tabindex?: string | number | undefined;
|
|
102
105
|
readonly validateEvent?: boolean | undefined;
|
|
@@ -177,7 +180,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
177
180
|
disabled: boolean;
|
|
178
181
|
modelModifiers: import('element-plus').InputModelModifiers;
|
|
179
182
|
autocomplete: string;
|
|
180
|
-
clearIcon: import('element-plus/es/utils/
|
|
183
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
181
184
|
wordLimitPosition: "inside" | "outside";
|
|
182
185
|
tabindex: string | number;
|
|
183
186
|
validateEvent: boolean;
|
|
@@ -209,7 +212,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
209
212
|
disabled: boolean;
|
|
210
213
|
modelModifiers: import('element-plus').InputModelModifiers;
|
|
211
214
|
autocomplete: string;
|
|
212
|
-
clearIcon: import('element-plus/es/utils/
|
|
215
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
213
216
|
wordLimitPosition: "inside" | "outside";
|
|
214
217
|
tabindex: string | number;
|
|
215
218
|
validateEvent: boolean;
|
|
@@ -397,6 +400,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
397
400
|
onGroupCheck?: ((groupValue: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
398
401
|
onOptionCheck?: ((value: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
399
402
|
onOptionsCheck?: ((values: PanelSelectValue[], checked: boolean) => any) | undefined;
|
|
403
|
+
onSelectCreatedOptions?: (() => any) | undefined;
|
|
400
404
|
}>, {
|
|
401
405
|
scrollToGroup: (groupValue: PanelSelectValue) => Promise<void>;
|
|
402
406
|
inputFocus: () => void;
|