@8wave/ai-elements 0.119.0-beta.60 → 0.119.0-beta.62
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/_chunks/{PkChatbotFilePreview-Bdi4_IFu.js → PkChatbotFilePreview-C0uMvUlV.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-Bdi4_IFu.js.map → PkChatbotFilePreview-C0uMvUlV.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-eNPFmmdh.js → PkHeldImage-CBvcNMEM.js} +2 -2
- package/dist/_chunks/{PkHeldImage-eNPFmmdh.js.map → PkHeldImage-CBvcNMEM.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-DHPPSq3N.js → PkLazyImg-COy3jb6W.js} +2 -2
- package/dist/_chunks/{PkLazyImg-DHPPSq3N.js.map → PkLazyImg-COy3jb6W.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-Ct9pdQJ1.js → PkToolEditSpreadsheet-C8PN08y2.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-Ct9pdQJ1.js.map → PkToolEditSpreadsheet-C8PN08y2.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DzhrY8bg.js → PkToolRequestGeolocation-Cu1TSjHl.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DzhrY8bg.js.map → PkToolRequestGeolocation-Cu1TSjHl.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CzRKRGoG.js → PkToolRequestOAuthConnection-Bc2UX4MZ.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-CzRKRGoG.js.map → PkToolRequestOAuthConnection-Bc2UX4MZ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-D6ZTw5vh.js → PkToolShowArtifact-B1YYNKqc.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-D6ZTw5vh.js.map → PkToolShowArtifact-B1YYNKqc.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-D8DMh3-P.js → PkToolShowCalendarEvent-r0SuzJDT.js} +3 -3
- package/dist/_chunks/{PkToolShowCalendarEvent-D8DMh3-P.js.map → PkToolShowCalendarEvent-r0SuzJDT.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-DLC22e1W.js → PkToolShowComparison-Bsh6iiIQ.js} +3 -3
- package/dist/_chunks/{PkToolShowComparison-DLC22e1W.js.map → PkToolShowComparison-Bsh6iiIQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-CW7gKQ7h.js → PkToolShowContactForm-B2UzmoDw.js} +4 -4
- package/dist/_chunks/{PkToolShowContactForm-CW7gKQ7h.js.map → PkToolShowContactForm-B2UzmoDw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-WregKAJO.js → PkToolShowDiagram-iQRTxxLw.js} +3 -3
- package/dist/_chunks/{PkToolShowDiagram-WregKAJO.js.map → PkToolShowDiagram-iQRTxxLw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-C7mUCqGL.js → PkToolShowEmail-1pyuWnuN.js} +3 -3
- package/dist/_chunks/{PkToolShowEmail-C7mUCqGL.js.map → PkToolShowEmail-1pyuWnuN.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-D_2FmDwq.js → PkToolShowForm-BRt9i4aW.js} +5 -5
- package/dist/_chunks/{PkToolShowForm-D_2FmDwq.js.map → PkToolShowForm-BRt9i4aW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-KmMO4UuQ.js → PkToolShowImageGallery-BZ3uOhQq.js} +3 -3
- package/dist/_chunks/{PkToolShowImageGallery-KmMO4UuQ.js.map → PkToolShowImageGallery-BZ3uOhQq.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-jRZtqoBO.js → PkToolShowLocation-BIAPTY0s.js} +3 -3
- package/dist/_chunks/{PkToolShowLocation-jRZtqoBO.js.map → PkToolShowLocation-BIAPTY0s.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-vw4XS4TR.js → PkToolShowMessage-BM3TU9SP.js} +3 -3
- package/dist/_chunks/{PkToolShowMessage-vw4XS4TR.js.map → PkToolShowMessage-BM3TU9SP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-cld-FOFb.js → PkToolShowProductList-C4a7R9yQ.js} +4 -4
- package/dist/_chunks/{PkToolShowProductList-cld-FOFb.js.map → PkToolShowProductList-C4a7R9yQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-BhcAUXSZ.js → PkToolShowQrCode-6zjcD50R.js} +3 -3
- package/dist/_chunks/{PkToolShowQrCode-BhcAUXSZ.js.map → PkToolShowQrCode-6zjcD50R.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-DyzheirE.js → PkToolShowSources-CgZRJ1gU.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-DyzheirE.js.map → PkToolShowSources-CgZRJ1gU.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-xUBuqStM.js → PkToolShowSuggestedReply-nHsdJfbX.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-xUBuqStM.js.map → PkToolShowSuggestedReply-nHsdJfbX.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-KDNxItWl.js → PkToolShowVideo-BxHrmc_4.js} +3 -3
- package/dist/_chunks/{PkToolShowVideo-KDNxItWl.js.map → PkToolShowVideo-BxHrmc_4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-DTrZ7r1t.js → PkToolShowWeather-CNvVC6nZ.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-DTrZ7r1t.js.map → PkToolShowWeather-CNvVC6nZ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-D35B7GzS.js → PkToolShowWebPages-CRM3rPp6.js} +4 -4
- package/dist/_chunks/{PkToolShowWebPages-D35B7GzS.js.map → PkToolShowWebPages-CRM3rPp6.js.map} +1 -1
- package/dist/_chunks/{VvButtonLocalized-DV-zbH9b.js → VvButtonLocalized-PfbIEwav.js} +2 -2
- package/dist/_chunks/{VvButtonLocalized-DV-zbH9b.js.map → VvButtonLocalized-PfbIEwav.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-VtDFxWJM.js → VvCheckbox.es-CtWUn81l.js} +3 -3
- package/dist/_chunks/VvCheckbox.es-CtWUn81l.js.map +1 -0
- package/dist/_chunks/{VvCheckboxGroup.es-D7MifHZN.js → VvCheckboxGroup.es-DjcwsgD8.js} +3 -3
- package/dist/_chunks/VvCheckboxGroup.es-DjcwsgD8.js.map +1 -0
- package/dist/_chunks/{VvCombobox.es-Brn06uOj.js → VvCombobox.es-DKR6Fb2W.js} +339 -304
- package/dist/_chunks/VvCombobox.es-DKR6Fb2W.js.map +1 -0
- package/dist/_chunks/{VvInputText.es-Co9NrR4l.js → VvInputText.es-6IlsXl00.js} +315 -275
- package/dist/_chunks/VvInputText.es-6IlsXl00.js.map +1 -0
- package/dist/_chunks/{VvRadio.es-BxHgVeVy.js → VvRadio.es-GQuMOlYC.js} +3 -3
- package/dist/_chunks/VvRadio.es-GQuMOlYC.js.map +1 -0
- package/dist/_chunks/{VvRadioGroup.es-DZtXJGCi.js → VvRadioGroup.es-ct4eQCRN.js} +3 -3
- package/dist/_chunks/VvRadioGroup.es-ct4eQCRN.js.map +1 -0
- package/dist/_chunks/{VvSelect.es-BR8f0LUN.js → VvSelect.es-CQ2SG0HY.js} +3 -3
- package/dist/_chunks/VvSelect.es-CQ2SG0HY.js.map +1 -0
- package/dist/_chunks/{VvTextarea.es-TXhUgEuG.js → VvTextarea.es-BcMLwglK.js} +225 -190
- package/dist/_chunks/VvTextarea.es-BcMLwglK.js.map +1 -0
- package/dist/_chunks/{index.es-dTcgyeM4.js → index.es-D7jsz1j2.js} +254 -210
- package/dist/_chunks/index.es-D7jsz1j2.js.map +1 -0
- package/dist/_chunks/{index.es-DkFMpDsf.js → index.es-DmG03ICf.js} +10 -10
- package/dist/_chunks/{index.es-DkFMpDsf.js.map → index.es-DmG03ICf.js.map} +1 -1
- package/dist/ai-elements.es.js +37 -37
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/_chunks/{PkChatbot-Bgw5K9w1.js → PkChatbot-BRfoWvHX.js} +2 -2
- package/dist-vue/_chunks/{PkChatbot-Bgw5K9w1.js.map → PkChatbot-BRfoWvHX.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-CHoEXxmg.js → PkChatbotAuth-BsxfxDgR.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAuth-CHoEXxmg.js.map → PkChatbotAuth-BsxfxDgR.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-B5cYsWBr.js → PkChatbotFeedbackForm-pQc2JrQT.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-B5cYsWBr.js.map → PkChatbotFeedbackForm-pQc2JrQT.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-B2e1MQ_d.js → PkChatbotMessages-B6EEvqZy.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-B2e1MQ_d.js.map → PkChatbotMessages-B6EEvqZy.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DEpMIiic.js → PkChatbotViewChat-PdHUXyCz.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-DEpMIiic.js.map → PkChatbotViewChat-PdHUXyCz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BjE4mrDv.js → PkToolShowContactForm-CBuw96Vr.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BjE4mrDv.js.map → PkToolShowContactForm-CBuw96Vr.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-C1u3kP7i.js → index.es-CY6tu8qg.js} +2 -2
- package/dist-vue/_chunks/{index.es-C1u3kP7i.js.map → index.es-CY6tu8qg.js.map} +1 -1
- package/dist-vue/index.js +8 -8
- package/dist-vue/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/_chunks/VvCheckbox.es-VtDFxWJM.js.map +0 -1
- package/dist/_chunks/VvCheckboxGroup.es-D7MifHZN.js.map +0 -1
- package/dist/_chunks/VvCombobox.es-Brn06uOj.js.map +0 -1
- package/dist/_chunks/VvInputText.es-Co9NrR4l.js.map +0 -1
- package/dist/_chunks/VvRadio.es-BxHgVeVy.js.map +0 -1
- package/dist/_chunks/VvRadioGroup.es-DZtXJGCi.js.map +0 -1
- package/dist/_chunks/VvSelect.es-BR8f0LUN.js.map +0 -1
- package/dist/_chunks/VvTextarea.es-TXhUgEuG.js.map +0 -1
- package/dist/_chunks/index.es-dTcgyeM4.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, C as r, Ct as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, St as y, T as b, Tt as x, U as ee, V as S, W as
|
|
1
|
+
import { $ as e, A as t, B as n, C as r, Ct as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, St as y, T as b, Tt as x, U as ee, V as S, W as C, X as w, _ as T, b as E, bt as D, c as te, ct as ne, d as O, et as re, g as k, h as A, it as ie, j, k as M, l as ae, m as N, mt as P, o as F, q as oe, r as se, s as ce, t as le, u as ue, v as I, vt as L, w as de, wt as fe, x as pe, y as me, yt as he, z as ge } from "./vue.runtime.esm-bundler-DKVd2gci.js";
|
|
2
2
|
import { a as _e, i as R, t as ve } from "./iconify-CgyW1o4B.js";
|
|
3
|
-
import { _ as ye, c as
|
|
4
|
-
import { a as
|
|
5
|
-
import { t as
|
|
6
|
-
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.
|
|
3
|
+
import { _ as ye, c as be, f as xe, g as Se, l as z, n as Ce, o as we, r as Te, t as Ee, u as De } from "./dist-DxtbpUdI.js";
|
|
4
|
+
import { a as Oe, c as ke, i as Ae, l as B, n as je, o as Me, r as Ne, s as Pe, t as Fe } from "./floating-ui.vue-B6fUB9cU.js";
|
|
5
|
+
import { t as V } from "./dot-prop-B2dazUQ6.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.25_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_6457cdc65e61a009108dae6427ee3925/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
|
|
7
7
|
h(), se(), ie(), i();
|
|
8
|
-
var
|
|
8
|
+
var Ie = {
|
|
9
9
|
showPassword: "eye-on",
|
|
10
10
|
hidePassword: "eye-off",
|
|
11
11
|
showDatePicker: "calendar",
|
|
@@ -16,25 +16,25 @@ var Fe = {
|
|
|
16
16
|
remove: "trash",
|
|
17
17
|
edit: "edit",
|
|
18
18
|
download: "download"
|
|
19
|
-
},
|
|
19
|
+
}, H = { prefix: "normal" }, Le = /* @__PURE__ */ (function(e) {
|
|
20
20
|
return e.local = "local", e.session = "session", e;
|
|
21
|
-
})({}),
|
|
21
|
+
})({}), Re = /* @__PURE__ */ (function(e) {
|
|
22
22
|
return e.absolute = "absolute", e.fixed = "fixed", e;
|
|
23
|
-
})({}),
|
|
23
|
+
})({}), U = /* @__PURE__ */ (function(e) {
|
|
24
24
|
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
25
|
-
})({}), Re = /* @__PURE__ */ (function(e) {
|
|
26
|
-
return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
|
|
27
25
|
})({}), ze = /* @__PURE__ */ (function(e) {
|
|
28
|
-
return e.
|
|
26
|
+
return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
|
|
29
27
|
})({}), Be = /* @__PURE__ */ (function(e) {
|
|
28
|
+
return e.before = "before", e.after = "after", e;
|
|
29
|
+
})({}), Ve = /* @__PURE__ */ (function(e) {
|
|
30
30
|
return e.button = "button", e.submit = "submit", e.reset = "reset", e;
|
|
31
|
-
})({}),
|
|
31
|
+
})({}), W = /* @__PURE__ */ (function(e) {
|
|
32
32
|
return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
|
|
33
|
-
})({}),
|
|
33
|
+
})({}), He = /* @__PURE__ */ (function(e) {
|
|
34
34
|
return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
|
|
35
|
-
})({}),
|
|
35
|
+
})({}), G = /* @__PURE__ */ (function(e) {
|
|
36
36
|
return e.listbox = "listbox", e.menu = "menu", e;
|
|
37
|
-
})({}),
|
|
37
|
+
})({}), K = /* @__PURE__ */ (function(e) {
|
|
38
38
|
return e.option = "option", e.presentation = "presentation", e;
|
|
39
39
|
})({}), Ue = /* @__PURE__ */ Symbol.for("volver"), We = /* @__PURE__ */ Symbol.for("buttonGroup"), q = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Ge = /* @__PURE__ */ Symbol.for("dropdownItem"), Ke = /* @__PURE__ */ Symbol.for("dropdownAction"), qe = {
|
|
40
40
|
to: { type: [String, Object] },
|
|
@@ -93,7 +93,7 @@ var Fe = {
|
|
|
93
93
|
},
|
|
94
94
|
iconClear: {
|
|
95
95
|
type: [String, Object],
|
|
96
|
-
default:
|
|
96
|
+
default: Ie.clear
|
|
97
97
|
},
|
|
98
98
|
labelClear: {
|
|
99
99
|
type: String,
|
|
@@ -163,8 +163,8 @@ var Fe = {
|
|
|
163
163
|
},
|
|
164
164
|
iconPosition: {
|
|
165
165
|
type: String,
|
|
166
|
-
default:
|
|
167
|
-
|
|
166
|
+
default: Be.before,
|
|
167
|
+
validator: (e) => Object.values(Be).includes(e)
|
|
168
168
|
}
|
|
169
169
|
}, st = { tabindex: {
|
|
170
170
|
type: [String, Number],
|
|
@@ -178,13 +178,13 @@ var Fe = {
|
|
|
178
178
|
} }, ut = { id: [String, Number] }, dt = {
|
|
179
179
|
placement: {
|
|
180
180
|
type: String,
|
|
181
|
-
default:
|
|
182
|
-
validator: (e) => Object.values(
|
|
181
|
+
default: U.bottom,
|
|
182
|
+
validator: (e) => Object.values(U).includes(e) || Object.values(ze).includes(e)
|
|
183
183
|
},
|
|
184
184
|
strategy: {
|
|
185
185
|
type: String,
|
|
186
186
|
default: void 0,
|
|
187
|
-
validator: (e) => Object.values(
|
|
187
|
+
validator: (e) => Object.values(Re).includes(e)
|
|
188
188
|
},
|
|
189
189
|
transitionName: {
|
|
190
190
|
type: String,
|
|
@@ -298,8 +298,8 @@ var ht = {
|
|
|
298
298
|
...qe,
|
|
299
299
|
type: {
|
|
300
300
|
type: String,
|
|
301
|
-
default:
|
|
302
|
-
validator: (e) => Object.values(
|
|
301
|
+
default: Ve.button,
|
|
302
|
+
validator: (e) => Object.values(Ve).includes(e)
|
|
303
303
|
},
|
|
304
304
|
ariaLabel: {
|
|
305
305
|
type: String,
|
|
@@ -307,10 +307,10 @@ var ht = {
|
|
|
307
307
|
},
|
|
308
308
|
defaultTag: {
|
|
309
309
|
type: String,
|
|
310
|
-
default:
|
|
310
|
+
default: W.button
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
|
|
313
|
+
Le.local;
|
|
314
314
|
var gt = {
|
|
315
315
|
...ft,
|
|
316
316
|
...st,
|
|
@@ -508,7 +508,7 @@ function Tt(e) {
|
|
|
508
508
|
return Array.isArray(e) ? e.filter((e) => wt(e)).join(" ") : e;
|
|
509
509
|
}
|
|
510
510
|
function Et(e, t) {
|
|
511
|
-
let n = N(() =>
|
|
511
|
+
let n = N(() => ne(e) ? e.value : e), i = N(() => Tt(n.value.invalidLabel)), a = N(() => Tt(n.value.validLabel)), s = N(() => n.value.loadingLabel), c = N(() => n.value.hintLabel), l = N(() => !!(n.value.loading && (t.loading || s.value))), u = N(() => !l.value && !!(n.value.invalid && (t.invalid || i.value))), d = N(() => !l.value && !u.value && !!(n.value.valid && (t.valid || a.value))), f = N(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = N(() => u.value || d.value || l.value || f.value);
|
|
512
512
|
return {
|
|
513
513
|
hasInvalidLabelOrSlot: u,
|
|
514
514
|
hasHintLabelOrSlot: f,
|
|
@@ -581,7 +581,7 @@ var kt = /* @__PURE__ */ r({
|
|
|
581
581
|
onLoad: { type: Function },
|
|
582
582
|
svg: {},
|
|
583
583
|
modifiers: {}
|
|
584
|
-
},
|
|
584
|
+
}, H),
|
|
585
585
|
setup(e) {
|
|
586
586
|
let t = e, n = N(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = P(!0), i = Dt(), { modifiers: a } = he(t), o = Ot("vv-icon", a), s = N(() => t.provider || i?.iconsProvider), c = N(() => {
|
|
587
587
|
let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
|
|
@@ -620,17 +620,17 @@ var kt = /* @__PURE__ */ r({
|
|
|
620
620
|
rotate: y(n),
|
|
621
621
|
color: e.color,
|
|
622
622
|
icon: y(c)
|
|
623
|
-
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) :
|
|
623
|
+
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : T("v-if", !0);
|
|
624
624
|
}
|
|
625
625
|
});
|
|
626
626
|
function At(e, t) {
|
|
627
|
-
let n = N(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = N(() => t?.value ===
|
|
627
|
+
let n = N(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = N(() => t?.value === Be.before ? n.value : void 0), i = N(() => t?.value === Be.after ? n.value : void 0);
|
|
628
628
|
return {
|
|
629
629
|
hasIcon: n,
|
|
630
|
-
hasIconLeft: N(() => t?.value ===
|
|
631
|
-
hasIconRight: N(() => t?.value ===
|
|
632
|
-
hasIconTop: N(() => t?.value ===
|
|
633
|
-
hasIconBottom: N(() => t?.value ===
|
|
630
|
+
hasIconLeft: N(() => t?.value === U.left ? n.value : void 0),
|
|
631
|
+
hasIconRight: N(() => t?.value === U.right ? n.value : void 0),
|
|
632
|
+
hasIconTop: N(() => t?.value === U.top ? n.value : void 0),
|
|
633
|
+
hasIconBottom: N(() => t?.value === U.bottom ? n.value : void 0),
|
|
634
634
|
hasIconBefore: r,
|
|
635
635
|
hasIconAfter: i
|
|
636
636
|
};
|
|
@@ -687,7 +687,7 @@ var jt = r({
|
|
|
687
687
|
props: Mt,
|
|
688
688
|
setup(e) {
|
|
689
689
|
let { modifiers: t } = he(e), r = Ot("vv-badge", t);
|
|
690
|
-
return (e, t) => (f(), I("span", { class: fe(y(r)) }, [n(e.$slots, "default", {}, () => [
|
|
690
|
+
return (e, t) => (f(), I("span", { class: fe(y(r)) }, [n(e.$slots, "default", {}, () => [E(a(e.value), 1)])], 2));
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
693
|
function Pt(e) {
|
|
@@ -727,8 +727,8 @@ var Ft = ["update:modelValue"], It = {
|
|
|
727
727
|
...ot,
|
|
728
728
|
iconPosition: {
|
|
729
729
|
type: String,
|
|
730
|
-
default:
|
|
731
|
-
validator: (e) => Object.values(
|
|
730
|
+
default: U.left,
|
|
731
|
+
validator: (e) => Object.values(U).includes(e)
|
|
732
732
|
},
|
|
733
733
|
loadingIcon: {
|
|
734
734
|
type: String,
|
|
@@ -806,14 +806,14 @@ var Ht = /* @__PURE__ */ r({
|
|
|
806
806
|
let o = t, s = i, c = de(), l = Dt(), d = P(null);
|
|
807
807
|
r({ $el: d });
|
|
808
808
|
let { reference: m, bus: h, aria: g, expanded: _ } = zt();
|
|
809
|
-
|
|
809
|
+
w(() => d.value, (e) => {
|
|
810
810
|
m && (m.value = e);
|
|
811
811
|
});
|
|
812
812
|
let v = N(() => o.pressed || _?.value), { role: b } = Vt(), x = N(() => {
|
|
813
813
|
switch (!0) {
|
|
814
|
-
case o.disabled: return
|
|
815
|
-
case o.to !== void 0: return l?.nuxt ? S(
|
|
816
|
-
case o.href !== void 0: return
|
|
814
|
+
case o.disabled: return W.button;
|
|
815
|
+
case o.to !== void 0: return l?.nuxt ? S(W.nuxtLink) : W.routerLink;
|
|
816
|
+
case o.href !== void 0: return W.a;
|
|
817
817
|
default: return o.defaultTag;
|
|
818
818
|
}
|
|
819
819
|
}), ee = N(() => {
|
|
@@ -824,19 +824,19 @@ var Ht = /* @__PURE__ */ r({
|
|
|
824
824
|
role: b?.value
|
|
825
825
|
};
|
|
826
826
|
switch (x.value) {
|
|
827
|
-
case
|
|
827
|
+
case W.a: return {
|
|
828
828
|
...e,
|
|
829
829
|
href: o.href,
|
|
830
830
|
target: o.target,
|
|
831
831
|
rel: o.rel
|
|
832
832
|
};
|
|
833
|
-
case
|
|
834
|
-
case
|
|
833
|
+
case W.routerLink:
|
|
834
|
+
case W.nuxtLink: return {
|
|
835
835
|
...e,
|
|
836
836
|
to: o.to,
|
|
837
837
|
target: o.target
|
|
838
838
|
};
|
|
839
|
-
case
|
|
839
|
+
case W.button: return {
|
|
840
840
|
...e,
|
|
841
841
|
type: o.type,
|
|
842
842
|
disabled: o.disabled
|
|
@@ -844,13 +844,13 @@ var Ht = /* @__PURE__ */ r({
|
|
|
844
844
|
default: return e;
|
|
845
845
|
}
|
|
846
846
|
});
|
|
847
|
-
function
|
|
847
|
+
function C(e) {
|
|
848
848
|
o.disabled ? e.preventDefault() : c?.vnode.props?.onClick ? s("click", e) : h?.emit("click", e);
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function T(e) {
|
|
851
851
|
c?.vnode.props?.onMouseover ? s("mouseover", e) : h?.emit("mouseover", e);
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function D(e) {
|
|
854
854
|
c?.vnode.props?.onMouseleave ? s("mouseleave", e) : h?.emit("mouseleave", e);
|
|
855
855
|
}
|
|
856
856
|
return (t, r) => (f(), k(u(y(x)), p(y(ee), {
|
|
@@ -862,11 +862,11 @@ var Ht = /* @__PURE__ */ r({
|
|
|
862
862
|
disabled: t.disabled,
|
|
863
863
|
current: t.current
|
|
864
864
|
},
|
|
865
|
-
onClickPassive:
|
|
866
|
-
onMouseoverPassive:
|
|
867
|
-
onMouseleavePassive:
|
|
865
|
+
onClickPassive: C,
|
|
866
|
+
onMouseoverPassive: T,
|
|
867
|
+
onMouseleavePassive: D
|
|
868
868
|
}), {
|
|
869
|
-
default: e(() => [n(t.$slots, "default", {}, () => [
|
|
869
|
+
default: e(() => [n(t.$slots, "default", {}, () => [E(a(t.label), 1)])]),
|
|
870
870
|
_: 3
|
|
871
871
|
}, 16, ["class"]));
|
|
872
872
|
}
|
|
@@ -887,13 +887,13 @@ var Wt = {
|
|
|
887
887
|
props: It,
|
|
888
888
|
emits: Ft,
|
|
889
889
|
setup(t, { expose: r, emit: i }) {
|
|
890
|
-
let o = t, s = i, c =
|
|
891
|
-
r({ $el: N(() =>
|
|
892
|
-
let
|
|
893
|
-
reverse: [
|
|
894
|
-
column: [
|
|
890
|
+
let o = t, s = i, c = C(), l = oe(), { id: u, modifiers: d, iconPosition: m, icon: h, label: g, modelValue: _, disabled: v, toggle: b, unselectable: x } = Lt(o, s), ee = Ut(u), S = N(() => c?.name || ee.value), w = P(null);
|
|
891
|
+
r({ $el: N(() => w.value?.$el) });
|
|
892
|
+
let D = N(() => b.value ? Array.isArray(_.value) ? Ct(S.value, _.value) : vt(S.value, _.value) : o.pressed), te = Ot("vv-button", d, N(() => ({
|
|
893
|
+
reverse: [U.right, U.bottom].includes(m.value),
|
|
894
|
+
column: [U.top, U.bottom].includes(m.value),
|
|
895
895
|
"icon-only": !(!h?.value || g?.value || l.default)
|
|
896
|
-
}))), { hasIcon:
|
|
896
|
+
}))), { hasIcon: ne } = At(h), re = N(() => o.value === void 0 ? S.value : o.value), A = N(() => {
|
|
897
897
|
if (b.value) return { onClick: ie };
|
|
898
898
|
});
|
|
899
899
|
function ie() {
|
|
@@ -917,7 +917,7 @@ var Wt = {
|
|
|
917
917
|
...y(c),
|
|
918
918
|
...y(A),
|
|
919
919
|
disabled: y(v),
|
|
920
|
-
pressed: y(
|
|
920
|
+
pressed: y(D),
|
|
921
921
|
active: t.active,
|
|
922
922
|
type: t.type,
|
|
923
923
|
to: t.to,
|
|
@@ -928,17 +928,17 @@ var Wt = {
|
|
|
928
928
|
}, {
|
|
929
929
|
id: y(ee),
|
|
930
930
|
ref_key: "rootEl",
|
|
931
|
-
ref:
|
|
932
|
-
class: y(
|
|
931
|
+
ref: w,
|
|
932
|
+
class: y(te)
|
|
933
933
|
}), {
|
|
934
934
|
default: e(() => [n(t.$slots, "default", {}, () => [t.loading ? n(t.$slots, "loading", {}, () => [t.loadingIcon ? (f(), k(kt, {
|
|
935
935
|
key: 0,
|
|
936
936
|
class: "vv-button__loading-icon",
|
|
937
937
|
name: t.loadingIcon
|
|
938
|
-
}, null, 8, ["name"])) :
|
|
938
|
+
}, null, 8, ["name"])) : T("v-if", !0), t.loadingLabel ? (f(), I("span", Wt, a(t.loadingLabel), 1)) : T("v-if", !0)], void 0, 0) : (f(), I(O, { key: 1 }, [
|
|
939
939
|
n(t.$slots, "before"),
|
|
940
|
-
y(
|
|
941
|
-
y(g) ? (f(), I("span", Gt, [n(t.$slots, "label", {}, () => [
|
|
940
|
+
y(ne) ? (f(), k(kt, p({ key: 0 }, y(ne), { class: "vv-button__icon" }), null, 16)) : T("v-if", !0),
|
|
941
|
+
y(g) ? (f(), I("span", Gt, [n(t.$slots, "label", {}, () => [E(a(y(g)), 1)])])) : T("v-if", !0),
|
|
942
942
|
n(t.$slots, "after")
|
|
943
943
|
], 64))])]),
|
|
944
944
|
_: 3
|
|
@@ -958,8 +958,8 @@ var Wt = {
|
|
|
958
958
|
},
|
|
959
959
|
role: {
|
|
960
960
|
type: String,
|
|
961
|
-
default:
|
|
962
|
-
validator: (e) => Object.values(
|
|
961
|
+
default: G.menu,
|
|
962
|
+
validator: (e) => Object.values(G).includes(e)
|
|
963
963
|
}
|
|
964
964
|
}, Jt = { focusOnHover: {
|
|
965
965
|
type: Boolean,
|
|
@@ -978,7 +978,7 @@ var Wt = {
|
|
|
978
978
|
}
|
|
979
979
|
};
|
|
980
980
|
function Xt(e, t) {
|
|
981
|
-
let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = N(() => n &&
|
|
981
|
+
let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = N(() => n && D(t)), i = N(() => r.value ? "manual" : void 0);
|
|
982
982
|
function a() {
|
|
983
983
|
return (n && e.value?.matches(":popover-open")) ?? !1;
|
|
984
984
|
}
|
|
@@ -1000,7 +1000,7 @@ function Xt(e, t) {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
}
|
|
1002
1002
|
function Zt({ reference: e, id: t, expanded: n, aria: i }) {
|
|
1003
|
-
let a =
|
|
1003
|
+
let a = B();
|
|
1004
1004
|
return {
|
|
1005
1005
|
bus: a,
|
|
1006
1006
|
component: r({
|
|
@@ -1021,7 +1021,7 @@ function Zt({ reference: e, id: t, expanded: n, aria: i }) {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
function Qt({ role: e, ...t }) {
|
|
1024
|
-
let n = N(() => e.value ===
|
|
1024
|
+
let n = N(() => e.value === G.listbox ? K.option : K.presentation);
|
|
1025
1025
|
return v(Ge, {
|
|
1026
1026
|
role: n,
|
|
1027
1027
|
...t
|
|
@@ -1029,7 +1029,7 @@ function Qt({ role: e, ...t }) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
function $t({ expanded: e }) {
|
|
1031
1031
|
v(Ke, {
|
|
1032
|
-
role: P(
|
|
1032
|
+
role: P(He.menuitem),
|
|
1033
1033
|
expanded: e
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
@@ -1060,129 +1060,164 @@ var en = ["popover"], tn = [
|
|
|
1060
1060
|
"leaveCancelled"
|
|
1061
1061
|
],
|
|
1062
1062
|
setup(t, { expose: r, emit: i }) {
|
|
1063
|
-
let a = t, o = i, { id: l } = he(a), u = Ut(l), d =
|
|
1064
|
-
get: () => a.reference ??
|
|
1063
|
+
let a = t, o = i, { id: l } = he(a), u = Ut(l), d = C(), h = P(), g = P(), v = P(), S = P(), E = N({
|
|
1064
|
+
get: () => a.reference ?? h.value,
|
|
1065
1065
|
set: (e) => {
|
|
1066
|
-
|
|
1066
|
+
h.value = e;
|
|
1067
1067
|
}
|
|
1068
|
-
}), { isTopLayer:
|
|
1068
|
+
}), { isTopLayer: D, popover: ne, show: k, hide: ie } = Xt(g, () => a.topLayer), j = N(() => D.value ? Re.fixed : a.strategy), M = P(!1);
|
|
1069
1069
|
c(() => {
|
|
1070
|
-
|
|
1071
|
-
|
|
1070
|
+
xe(g.value, () => {
|
|
1071
|
+
M.value = globalThis.getComputedStyle(g.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
|
|
1072
1072
|
}, {
|
|
1073
1073
|
attributeFilter: ["style"],
|
|
1074
1074
|
window: globalThis.window
|
|
1075
1075
|
});
|
|
1076
1076
|
});
|
|
1077
|
-
function
|
|
1077
|
+
function ae(e, t, n) {
|
|
1078
1078
|
return typeof e == "boolean" ? t() : n(e);
|
|
1079
1079
|
}
|
|
1080
|
-
|
|
1080
|
+
function F(e) {
|
|
1081
|
+
return !e.width && !e.height;
|
|
1082
|
+
}
|
|
1083
|
+
let oe = {
|
|
1084
|
+
name: "uncap",
|
|
1085
|
+
fn({ elements: e, rects: t, middlewareData: n }) {
|
|
1086
|
+
let { style: r } = e.floating, i = t.floating.height >= Number.parseFloat(r.maxHeight) - 1 || t.floating.width >= Number.parseFloat(r.maxWidth) - 1;
|
|
1087
|
+
return n.uncap || !i || F(t.floating) ? {} : (r.maxHeight = "", r.maxWidth = "", {
|
|
1088
|
+
data: { uncapped: !0 },
|
|
1089
|
+
reset: { rects: !0 }
|
|
1090
|
+
});
|
|
1091
|
+
}
|
|
1092
|
+
}, se = N(() => {
|
|
1081
1093
|
let e = [];
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1094
|
+
a.size && e.push(oe), a.offset && e.push(["string", "number"].includes(typeof a.offset) ? Me(Number(a.offset)) : Me(a.offset));
|
|
1095
|
+
let t = typeof a.size == "object" ? a.size.padding : void 0;
|
|
1096
|
+
if (a.autoPlacement ? e.push(ae(a.autoPlacement, () => Ne(), (e) => Ne(e))) : a.flip && e.push(ae(a.flip, () => Oe({
|
|
1097
|
+
fallbackStrategy: "initialPlacement",
|
|
1098
|
+
padding: t
|
|
1099
|
+
}), (e) => Oe({
|
|
1100
|
+
padding: t,
|
|
1101
|
+
...e
|
|
1102
|
+
}))), a.shift && e.push(ae(a.shift, () => Pe(), (e) => Pe(e))), a.size) {
|
|
1103
|
+
let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
|
|
1104
|
+
if (F(r.floating) || M.value) return;
|
|
1105
|
+
let { style: i } = n.floating;
|
|
1106
|
+
i.maxWidth = a.triggerWidth && E.value ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
|
|
1085
1107
|
};
|
|
1086
|
-
e.push(
|
|
1108
|
+
e.push(ae(a.size, () => ke({ apply: t }), (e) => ke({
|
|
1087
1109
|
...e,
|
|
1088
|
-
apply: t
|
|
1110
|
+
apply: (n) => (t(n), e?.apply?.(n))
|
|
1089
1111
|
})));
|
|
1090
1112
|
}
|
|
1091
|
-
return a.
|
|
1092
|
-
}), { x: ce, y: ue, middlewareData: L, placement: de, strategy: me } =
|
|
1093
|
-
whileElementsMounted: (...e) => ke(...e, { animationFrame: ae.value === Le.fixed }),
|
|
1113
|
+
return a.arrow && e.push(Fe({ element: v })), e;
|
|
1114
|
+
}), { x: ce, y: ue, middlewareData: L, placement: de, strategy: me, update: ge } = je(E, g, {
|
|
1094
1115
|
placement: N(() => a.placement),
|
|
1095
|
-
strategy:
|
|
1116
|
+
strategy: j,
|
|
1096
1117
|
middleware: se
|
|
1097
|
-
}),
|
|
1098
|
-
if (
|
|
1099
|
-
let e = a.triggerWidth &&
|
|
1118
|
+
}), _e = N(() => {
|
|
1119
|
+
if (M.value) return;
|
|
1120
|
+
let e = a.triggerWidth && E.value ? `${E.value?.offsetWidth}px` : void 0;
|
|
1100
1121
|
return {
|
|
1101
1122
|
position: me.value,
|
|
1102
1123
|
top: `${ue.value ?? 0}px`,
|
|
1103
1124
|
left: `${ce.value ?? 0}px`,
|
|
1104
|
-
maxWidth: e ? void 0 : h.value,
|
|
1105
|
-
maxHeight: g.value,
|
|
1106
1125
|
width: e
|
|
1107
1126
|
};
|
|
1108
|
-
}),
|
|
1109
|
-
if (
|
|
1127
|
+
}), R = N(() => de.value.split("-")[0]), ve = N(() => {
|
|
1128
|
+
if (M.value) return;
|
|
1110
1129
|
let e = {
|
|
1111
|
-
[
|
|
1112
|
-
[
|
|
1113
|
-
[
|
|
1114
|
-
[
|
|
1115
|
-
}[
|
|
1130
|
+
[U.top]: U.bottom,
|
|
1131
|
+
[U.right]: U.left,
|
|
1132
|
+
[U.bottom]: U.top,
|
|
1133
|
+
[U.left]: U.right
|
|
1134
|
+
}[R.value];
|
|
1116
1135
|
return {
|
|
1117
1136
|
left: L.value.arrow?.x === void 0 ? void 0 : `${L.value.arrow?.x}px`,
|
|
1118
1137
|
top: L.value.arrow?.y === void 0 ? void 0 : `${L.value.arrow?.y}px`,
|
|
1119
|
-
[e]: `${-(
|
|
1138
|
+
[e]: `${-(v.value?.offsetWidth ?? 0) / 2}px`
|
|
1120
1139
|
};
|
|
1121
|
-
}),
|
|
1122
|
-
get: () =>
|
|
1140
|
+
}), ye = Se(a, "modelValue", o), be = P(!1), z = N({
|
|
1141
|
+
get: () => ye.value ?? be.value,
|
|
1123
1142
|
set: (e) => {
|
|
1124
|
-
|
|
1143
|
+
ye.value === void 0 ? be.value = e : ye.value = e;
|
|
1125
1144
|
}
|
|
1126
1145
|
});
|
|
1127
|
-
|
|
1128
|
-
z
|
|
1146
|
+
w([
|
|
1147
|
+
z,
|
|
1148
|
+
E,
|
|
1149
|
+
g,
|
|
1150
|
+
j
|
|
1151
|
+
], ([e, t, n, r], i, a) => {
|
|
1152
|
+
!e || !t || !n || a(Ae(t, n, ge, { animationFrame: r === Re.fixed }));
|
|
1153
|
+
}, {
|
|
1154
|
+
flush: "post",
|
|
1155
|
+
immediate: !0
|
|
1156
|
+
}), xe(S, () => {
|
|
1157
|
+
z.value && ge();
|
|
1158
|
+
}, {
|
|
1159
|
+
childList: !0,
|
|
1160
|
+
subtree: !0,
|
|
1161
|
+
characterData: !0
|
|
1162
|
+
}), _(() => {
|
|
1163
|
+
z.value && k();
|
|
1129
1164
|
});
|
|
1130
|
-
function
|
|
1165
|
+
function Ee() {
|
|
1131
1166
|
z.value = !0;
|
|
1132
1167
|
}
|
|
1133
|
-
function
|
|
1168
|
+
function B() {
|
|
1134
1169
|
z.value = !1;
|
|
1135
1170
|
}
|
|
1136
1171
|
function V() {
|
|
1137
1172
|
z.value = !z.value;
|
|
1138
1173
|
}
|
|
1139
|
-
function
|
|
1140
|
-
|
|
1174
|
+
function Ie(e) {
|
|
1175
|
+
E.value = e;
|
|
1141
1176
|
}
|
|
1142
|
-
|
|
1177
|
+
Ce(g, () => {
|
|
1143
1178
|
!a.keepOpen && z.value && (z.value = !1);
|
|
1144
|
-
}, { ignore: [
|
|
1145
|
-
let
|
|
1179
|
+
}, { ignore: [E] });
|
|
1180
|
+
let H = N(() => E.value?.getAttribute?.("id") ?? void 0), Le = N(() => ({
|
|
1146
1181
|
"aria-controls": u.value,
|
|
1147
1182
|
"aria-haspopup": !0,
|
|
1148
1183
|
"aria-expanded": z.value
|
|
1149
|
-
})), { component:
|
|
1150
|
-
reference:
|
|
1184
|
+
})), { component: ze, bus: Be } = Zt({
|
|
1185
|
+
reference: E,
|
|
1151
1186
|
id: u,
|
|
1152
1187
|
expanded: z,
|
|
1153
|
-
aria:
|
|
1188
|
+
aria: Le
|
|
1154
1189
|
});
|
|
1155
|
-
|
|
1156
|
-
let { role:
|
|
1157
|
-
function
|
|
1190
|
+
Be.on("click", V);
|
|
1191
|
+
let { role: Ve, modifiers: W } = he(a), He = Ot("vv-dropdown", W, N(() => ({ arrow: a.arrow }))), { focused: G } = De(g);
|
|
1192
|
+
function K(e) {
|
|
1158
1193
|
return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
|
|
1159
1194
|
}
|
|
1160
|
-
function
|
|
1195
|
+
function Ue() {
|
|
1161
1196
|
m(() => {
|
|
1162
|
-
let e =
|
|
1197
|
+
let e = K(g.value);
|
|
1163
1198
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
1164
1199
|
});
|
|
1165
1200
|
}
|
|
1166
|
-
function
|
|
1201
|
+
function We() {
|
|
1167
1202
|
m(() => {
|
|
1168
|
-
let e =
|
|
1203
|
+
let e = K(S.value);
|
|
1169
1204
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
1170
1205
|
});
|
|
1171
1206
|
}
|
|
1172
|
-
function
|
|
1207
|
+
function q() {
|
|
1173
1208
|
m(() => {
|
|
1174
|
-
if (
|
|
1175
|
-
let e =
|
|
1209
|
+
if (G.value) {
|
|
1210
|
+
let e = K(g.value);
|
|
1176
1211
|
if (e.length === 0 || !document.activeElement) return;
|
|
1177
1212
|
let t = e.indexOf(document.activeElement);
|
|
1178
1213
|
t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
|
|
1179
1214
|
}
|
|
1180
1215
|
});
|
|
1181
1216
|
}
|
|
1182
|
-
function
|
|
1217
|
+
function Ge() {
|
|
1183
1218
|
m(() => {
|
|
1184
|
-
if (
|
|
1185
|
-
let e =
|
|
1219
|
+
if (G.value) {
|
|
1220
|
+
let e = K(g.value);
|
|
1186
1221
|
if (e.length === 0 || !document.activeElement) return;
|
|
1187
1222
|
let t = e.indexOf(document.activeElement);
|
|
1188
1223
|
if (t > 0) {
|
|
@@ -1193,53 +1228,53 @@ var en = ["popover"], tn = [
|
|
|
1193
1228
|
}
|
|
1194
1229
|
});
|
|
1195
1230
|
}
|
|
1196
|
-
|
|
1197
|
-
e && a.autofocusFirst &&
|
|
1231
|
+
w(z, (e) => {
|
|
1232
|
+
e && a.autofocusFirst && Ue();
|
|
1198
1233
|
}), r({
|
|
1199
1234
|
toggle: V,
|
|
1200
|
-
show:
|
|
1201
|
-
hide:
|
|
1202
|
-
init:
|
|
1203
|
-
focusFirst:
|
|
1204
|
-
focusFirstListElement:
|
|
1205
|
-
focusNext:
|
|
1206
|
-
focusPrev:
|
|
1207
|
-
customPosition:
|
|
1235
|
+
show: Ee,
|
|
1236
|
+
hide: B,
|
|
1237
|
+
init: Ie,
|
|
1238
|
+
focusFirst: Ue,
|
|
1239
|
+
focusFirstListElement: We,
|
|
1240
|
+
focusNext: q,
|
|
1241
|
+
focusPrev: Ge,
|
|
1242
|
+
customPosition: M
|
|
1208
1243
|
});
|
|
1209
|
-
let { itemRole:
|
|
1210
|
-
role:
|
|
1244
|
+
let { itemRole: Ke } = Qt({
|
|
1245
|
+
role: Ve,
|
|
1211
1246
|
expanded: z,
|
|
1212
|
-
focused:
|
|
1213
|
-
hovered:
|
|
1247
|
+
focused: G,
|
|
1248
|
+
hovered: we(g)
|
|
1214
1249
|
});
|
|
1215
|
-
|
|
1216
|
-
z.value && (e.preventDefault(),
|
|
1217
|
-
}),
|
|
1218
|
-
z.value &&
|
|
1219
|
-
}),
|
|
1220
|
-
z.value &&
|
|
1221
|
-
}),
|
|
1250
|
+
Te("Escape", (e) => {
|
|
1251
|
+
z.value && (e.preventDefault(), B());
|
|
1252
|
+
}), Te("ArrowDown", (e) => {
|
|
1253
|
+
z.value && G.value && (e.preventDefault(), q());
|
|
1254
|
+
}), Te("ArrowUp", (e) => {
|
|
1255
|
+
z.value && G.value && (e.preventDefault(), Ge());
|
|
1256
|
+
}), Te([" ", "Enter"], (e) => {
|
|
1222
1257
|
let t = e.target;
|
|
1223
|
-
z.value &&
|
|
1258
|
+
z.value && G.value && t && t?.click();
|
|
1224
1259
|
});
|
|
1225
|
-
let
|
|
1260
|
+
let qe = {
|
|
1226
1261
|
"before-enter": () => {
|
|
1227
|
-
o(
|
|
1262
|
+
o("beforeExpand"), o("beforeEnter");
|
|
1228
1263
|
},
|
|
1229
1264
|
"after-leave": () => {
|
|
1230
|
-
z.value ||
|
|
1265
|
+
z.value || ie(), o("afterCollapse"), o("afterLeave");
|
|
1231
1266
|
},
|
|
1232
1267
|
enter: () => {
|
|
1233
1268
|
o("enter");
|
|
1234
1269
|
},
|
|
1235
1270
|
"after-enter": () => {
|
|
1236
|
-
o("afterEnter");
|
|
1271
|
+
o("afterExpand"), o("afterEnter");
|
|
1237
1272
|
},
|
|
1238
1273
|
"enter-cancelled": () => {
|
|
1239
1274
|
o("enterCancelled");
|
|
1240
1275
|
},
|
|
1241
1276
|
"before-leave": () => {
|
|
1242
|
-
o("beforeLeave");
|
|
1277
|
+
o("beforeCollapse"), o("beforeLeave");
|
|
1243
1278
|
},
|
|
1244
1279
|
leave: () => {
|
|
1245
1280
|
o("leave");
|
|
@@ -1248,59 +1283,59 @@ var en = ["popover"], tn = [
|
|
|
1248
1283
|
o("leaveCancelled");
|
|
1249
1284
|
}
|
|
1250
1285
|
};
|
|
1251
|
-
return (t, r) => (f(), I(O, null, [pe(y(
|
|
1286
|
+
return (t, r) => (f(), I(O, null, [pe(y(ze), null, {
|
|
1252
1287
|
default: e(() => [n(t.$slots, "default", x(b({
|
|
1253
|
-
init:
|
|
1254
|
-
show:
|
|
1255
|
-
hide:
|
|
1288
|
+
init: Ie,
|
|
1289
|
+
show: Ee,
|
|
1290
|
+
hide: B,
|
|
1256
1291
|
toggle: V,
|
|
1257
1292
|
expanded: y(z),
|
|
1258
|
-
aria: y(
|
|
1293
|
+
aria: y(Le)
|
|
1259
1294
|
})))]),
|
|
1260
1295
|
_: 3
|
|
1261
|
-
}), pe(le, p({ name: t.transitionName }, ee(
|
|
1296
|
+
}), pe(le, p({ name: t.transitionName }, ee(qe), { persisted: "" }), {
|
|
1262
1297
|
default: e(() => [re(A("div", {
|
|
1263
1298
|
ref_key: "floatingEl",
|
|
1264
|
-
ref:
|
|
1265
|
-
popover: y(
|
|
1266
|
-
style: s(y(
|
|
1267
|
-
class: fe(y(
|
|
1299
|
+
ref: g,
|
|
1300
|
+
popover: y(ne),
|
|
1301
|
+
style: s(y(_e)),
|
|
1302
|
+
class: fe(y(He))
|
|
1268
1303
|
}, [
|
|
1269
1304
|
a.arrow ? (f(), I("div", {
|
|
1270
1305
|
key: 0,
|
|
1271
1306
|
ref_key: "arrowEl",
|
|
1272
|
-
ref:
|
|
1273
|
-
style: s(y(
|
|
1307
|
+
ref: v,
|
|
1308
|
+
style: s(y(ve)),
|
|
1274
1309
|
class: "vv-dropdown__arrow"
|
|
1275
|
-
}, null, 4)) :
|
|
1310
|
+
}, null, 4)) : T("v-if", !0),
|
|
1276
1311
|
n(t.$slots, "before", x(b({
|
|
1277
|
-
show:
|
|
1278
|
-
hide:
|
|
1312
|
+
show: Ee,
|
|
1313
|
+
hide: B,
|
|
1279
1314
|
toggle: V,
|
|
1280
1315
|
expanded: y(z)
|
|
1281
1316
|
}))),
|
|
1282
1317
|
A("div", p(y(d), {
|
|
1283
1318
|
id: y(u),
|
|
1284
1319
|
ref_key: "listEl",
|
|
1285
|
-
ref:
|
|
1320
|
+
ref: S,
|
|
1286
1321
|
tabindex: y(z) ? void 0 : -1,
|
|
1287
|
-
role: y(
|
|
1288
|
-
"aria-labelledby": y(
|
|
1322
|
+
role: y(Ve),
|
|
1323
|
+
"aria-labelledby": y(H),
|
|
1289
1324
|
class: "vv-dropdown__list"
|
|
1290
1325
|
}), [n(t.$slots, "items", x(b({
|
|
1291
|
-
show:
|
|
1292
|
-
hide:
|
|
1326
|
+
show: Ee,
|
|
1327
|
+
hide: B,
|
|
1293
1328
|
toggle: V,
|
|
1294
1329
|
expanded: y(z),
|
|
1295
|
-
role: y(
|
|
1330
|
+
role: y(Ke)
|
|
1296
1331
|
})))], 16, tn),
|
|
1297
1332
|
n(t.$slots, "after", x(b({
|
|
1298
|
-
show:
|
|
1299
|
-
hide:
|
|
1333
|
+
show: Ee,
|
|
1334
|
+
hide: B,
|
|
1300
1335
|
toggle: V,
|
|
1301
1336
|
expanded: y(z)
|
|
1302
1337
|
})))
|
|
1303
|
-
], 14, en), [[
|
|
1338
|
+
], 14, en), [[te, y(z)]])]),
|
|
1304
1339
|
_: 3
|
|
1305
1340
|
}, 16, ["name"])], 64));
|
|
1306
1341
|
}
|
|
@@ -1313,7 +1348,7 @@ var en = ["popover"], tn = [
|
|
|
1313
1348
|
props: { ...$e },
|
|
1314
1349
|
setup(e) {
|
|
1315
1350
|
let t = e;
|
|
1316
|
-
return (e, r) => (f(), I("li", rn, [n(e.$slots, "default", {}, () => [
|
|
1351
|
+
return (e, r) => (f(), I("li", rn, [n(e.$slots, "default", {}, () => [E(a(t.label), 1)])]));
|
|
1317
1352
|
}
|
|
1318
1353
|
}), on = /* @__PURE__ */ r({
|
|
1319
1354
|
name: "VvDropdownItem",
|
|
@@ -1321,8 +1356,8 @@ var en = ["popover"], tn = [
|
|
|
1321
1356
|
setup(e) {
|
|
1322
1357
|
let t = e, { role: r, expanded: i } = Bt(), a = P(null);
|
|
1323
1358
|
$t({ expanded: i });
|
|
1324
|
-
let o =
|
|
1325
|
-
return
|
|
1359
|
+
let o = we(a), { focused: s } = z(a), { focused: c } = De(a);
|
|
1360
|
+
return w(o, (e) => {
|
|
1326
1361
|
e && t.focusOnHover && (s.value = !0);
|
|
1327
1362
|
}), (e, t) => (f(), I("div", p({ role: y(r) }, {
|
|
1328
1363
|
ref_key: "element",
|
|
@@ -1353,7 +1388,7 @@ var en = ["popover"], tn = [
|
|
|
1353
1388
|
disabled: t.disabled,
|
|
1354
1389
|
selected: t.selected,
|
|
1355
1390
|
unselectable: t.unselectable
|
|
1356
|
-
})), () => [
|
|
1391
|
+
})), () => [E(a(y(s)), 1)])], 8, sn)]),
|
|
1357
1392
|
_: 3
|
|
1358
1393
|
}, 8, [
|
|
1359
1394
|
"class",
|
|
@@ -1437,8 +1472,8 @@ function fn(e, t, n) {
|
|
|
1437
1472
|
});
|
|
1438
1473
|
}
|
|
1439
1474
|
function pn(e, t) {
|
|
1440
|
-
let { focused: n } =
|
|
1441
|
-
return
|
|
1475
|
+
let { focused: n } = z(e);
|
|
1476
|
+
return w(n, (n) => {
|
|
1442
1477
|
t(n ? "focus" : "blur", y(e));
|
|
1443
1478
|
}), { focused: n };
|
|
1444
1479
|
}
|
|
@@ -1446,9 +1481,9 @@ function mn(e) {
|
|
|
1446
1481
|
let { options: t, labelKey: n, valueKey: r, disabledKey: i } = he(e);
|
|
1447
1482
|
return {
|
|
1448
1483
|
options: t,
|
|
1449
|
-
getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ?
|
|
1450
|
-
getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ?
|
|
1451
|
-
isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!
|
|
1484
|
+
getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? V(e, n.value) : e),
|
|
1485
|
+
getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? V(e, r.value) : e,
|
|
1486
|
+
isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!V(e, i.value) : !1,
|
|
1452
1487
|
getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
|
|
1453
1488
|
};
|
|
1454
1489
|
}
|
|
@@ -1472,41 +1507,41 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1472
1507
|
function _(e) {
|
|
1473
1508
|
return typeof e != "string" && e.options?.length;
|
|
1474
1509
|
}
|
|
1475
|
-
let { id: v, modifiers: ee, disabled: S, readonly:
|
|
1510
|
+
let { id: v, modifiers: ee, disabled: S, readonly: C, loading: E, icon: D, iconPosition: te, invalid: ie, valid: j, floating: M, multiple: ae } = he(i), se = Ut(v), ce = N(() => `${se.value}-hint`), le = N(() => i.disabled || i.readonly), ue = N(() => le.value ? -1 : i.tabindex), L = N({
|
|
1476
1511
|
get: () => i.modelValue,
|
|
1477
1512
|
set: (e) => {
|
|
1478
1513
|
Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !i.unselectable && l.value) ? l.value.value = String(i.modelValue) : o("update:modelValue", e);
|
|
1479
1514
|
}
|
|
1480
|
-
}), de = N(() => Array.isArray(L.value) ? L.value.length > 0 : L.value !== void 0 && L.value !== null), _e = N(() => !le.value && i.unselectable), R =
|
|
1481
|
-
|
|
1515
|
+
}), de = N(() => Array.isArray(L.value) ? L.value.length > 0 : L.value !== void 0 && L.value !== null), _e = N(() => !le.value && i.unselectable), R = be(l);
|
|
1516
|
+
w(R, (e) => {
|
|
1482
1517
|
e && i.autofocus && (g.value = !0);
|
|
1483
1518
|
});
|
|
1484
|
-
let { hasIconBefore: ve, hasIconAfter: ye } = At(
|
|
1519
|
+
let { hasIconBefore: ve, hasIconAfter: ye } = At(D, te), xe = N(() => {
|
|
1485
1520
|
if (i.invalid === !0) return !0;
|
|
1486
1521
|
if (i.valid === !0) return !1;
|
|
1487
|
-
}),
|
|
1522
|
+
}), Se = Ot("vv-select", ee, N(() => ({
|
|
1488
1523
|
valid: j.value,
|
|
1489
1524
|
invalid: ie.value,
|
|
1490
|
-
loading:
|
|
1525
|
+
loading: E.value,
|
|
1491
1526
|
disabled: S.value,
|
|
1492
|
-
readonly:
|
|
1527
|
+
readonly: C.value,
|
|
1493
1528
|
"icon-before": ve.value !== void 0,
|
|
1494
1529
|
"icon-after": ye.value !== void 0,
|
|
1495
1530
|
dirty: de.value,
|
|
1496
1531
|
focus: g.value && !le.value,
|
|
1497
1532
|
floating: M.value,
|
|
1498
1533
|
multiple: ae.value
|
|
1499
|
-
}))), { getOptionLabel:
|
|
1500
|
-
|
|
1534
|
+
}))), { getOptionLabel: z, getOptionValue: Ce, isOptionDisabled: we, getOptionGrouped: Te } = mn(i);
|
|
1535
|
+
w(() => i.options, (e) => {
|
|
1501
1536
|
if (e?.length && i.autoselectFirst && !de.value) {
|
|
1502
|
-
let t =
|
|
1537
|
+
let t = Ce(e[0]);
|
|
1503
1538
|
L.value = i.multiple ? [t] : t;
|
|
1504
1539
|
}
|
|
1505
1540
|
}, { immediate: !0 });
|
|
1506
|
-
function
|
|
1541
|
+
function Ee() {
|
|
1507
1542
|
Array.isArray(L.value) ? L.value = [] : L.value = void 0, o("clear");
|
|
1508
1543
|
}
|
|
1509
|
-
let
|
|
1544
|
+
let De = N(() => ({
|
|
1510
1545
|
name: i.name,
|
|
1511
1546
|
tabindex: ue.value,
|
|
1512
1547
|
disabled: le.value,
|
|
@@ -1516,46 +1551,46 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1516
1551
|
multiple: i.multiple,
|
|
1517
1552
|
"aria-label": i.ariaLabel || void 0,
|
|
1518
1553
|
"aria-labelledby": i.ariaLabelledby || void 0,
|
|
1519
|
-
"aria-invalid":
|
|
1554
|
+
"aria-invalid": xe.value,
|
|
1520
1555
|
"aria-describedby": [i.ariaDescribedby, d.value ? ce.value : void 0].filter(Boolean).join(" ") || void 0,
|
|
1521
1556
|
"aria-errormessage": m.value ? ce.value : void 0
|
|
1522
|
-
})),
|
|
1557
|
+
})), Oe = N(() => ({
|
|
1523
1558
|
valid: i.valid,
|
|
1524
1559
|
invalid: i.invalid,
|
|
1525
1560
|
modelValue: i.modelValue
|
|
1526
1561
|
}));
|
|
1527
|
-
return (t, r) => (f(), I("div", { class: fe(y(
|
|
1562
|
+
return (t, r) => (f(), I("div", { class: fe(y(Se)) }, [
|
|
1528
1563
|
t.label ? (f(), I("label", {
|
|
1529
1564
|
key: 0,
|
|
1530
1565
|
for: y(se)
|
|
1531
|
-
}, a(t.label), 9, hn)) :
|
|
1566
|
+
}, a(t.label), 9, hn)) : T("v-if", !0),
|
|
1532
1567
|
A("div", gn, [
|
|
1533
|
-
t.$slots.before ? (f(), I("div", _n, [n(t.$slots, "before", x(b(y(
|
|
1568
|
+
t.$slots.before ? (f(), I("div", _n, [n(t.$slots, "before", x(b(y(Oe))))])) : T("v-if", !0),
|
|
1534
1569
|
A("div", vn, [
|
|
1535
|
-
y(ve) ? (f(), k(kt, p({ key: 0 }, y(ve), { class: "vv-select__icon" }), null, 16)) :
|
|
1570
|
+
y(ve) ? (f(), k(kt, p({ key: 0 }, y(ve), { class: "vv-select__icon" }), null, 16)) : T("v-if", !0),
|
|
1536
1571
|
re(A("select", p({
|
|
1537
1572
|
id: y(se),
|
|
1538
1573
|
ref_key: "selectEl",
|
|
1539
1574
|
ref: l
|
|
1540
|
-
}, y(
|
|
1575
|
+
}, y(De), { "onUpdate:modelValue": r[0] ||= (e) => ne(L) ? L.value = e : null }), [t.placeholder ? (f(), I("option", {
|
|
1541
1576
|
key: 0,
|
|
1542
1577
|
value: void 0,
|
|
1543
1578
|
disabled: !y(_e),
|
|
1544
1579
|
hidden: !y(_e)
|
|
1545
|
-
}, a(t.placeholder), 9, bn)) :
|
|
1580
|
+
}, a(t.placeholder), 9, bn)) : T("v-if", !0), (f(!0), I(O, null, ge(t.options, (e, t) => (f(), I(O, null, [_(e) ? (f(), I("optgroup", {
|
|
1546
1581
|
key: `group-${t}`,
|
|
1547
|
-
disabled: y(
|
|
1548
|
-
label: y(
|
|
1549
|
-
}, [(f(!0), I(O, null, ge(y(
|
|
1582
|
+
disabled: y(we)(e),
|
|
1583
|
+
label: y(z)(e)
|
|
1584
|
+
}, [(f(!0), I(O, null, ge(y(Te)(e), (e, n) => (f(), I("option", {
|
|
1550
1585
|
key: `group-${t}-item-${n}`,
|
|
1551
|
-
disabled: y(
|
|
1552
|
-
value: y(
|
|
1553
|
-
}, a(y(
|
|
1586
|
+
disabled: y(we)(e),
|
|
1587
|
+
value: y(Ce)(e)
|
|
1588
|
+
}, a(y(z)(e)), 9, Cn))), 128))], 8, Sn)) : (f(), I("option", {
|
|
1554
1589
|
key: t,
|
|
1555
|
-
disabled: y(
|
|
1556
|
-
value: y(
|
|
1557
|
-
}, a(y(
|
|
1558
|
-
y(ye) ? (f(), k(kt, p({ key: 1 }, y(ye), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) :
|
|
1590
|
+
disabled: y(we)(e),
|
|
1591
|
+
value: y(Ce)(e)
|
|
1592
|
+
}, a(y(z)(e)), 9, xn))], 64))), 256))], 16, yn), [[F, y(L)]]),
|
|
1593
|
+
y(ye) ? (f(), k(kt, p({ key: 1 }, y(ye), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : T("v-if", !0)
|
|
1559
1594
|
]),
|
|
1560
1595
|
y(_e) && y(c).showClearAction ? (f(), k(y(jt), {
|
|
1561
1596
|
key: 1,
|
|
@@ -1563,13 +1598,13 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1563
1598
|
label: t.labelClear,
|
|
1564
1599
|
icon: t.iconClear,
|
|
1565
1600
|
disabled: !y(de),
|
|
1566
|
-
onClear:
|
|
1601
|
+
onClear: Ee
|
|
1567
1602
|
}, null, 8, [
|
|
1568
1603
|
"label",
|
|
1569
1604
|
"icon",
|
|
1570
1605
|
"disabled"
|
|
1571
|
-
])) :
|
|
1572
|
-
t.$slots.after ? (f(), I("div", wn, [n(t.$slots, "after", x(b(y(
|
|
1606
|
+
])) : T("v-if", !0),
|
|
1607
|
+
t.$slots.after ? (f(), I("div", wn, [n(t.$slots, "after", x(b(y(Oe))))])) : T("v-if", !0)
|
|
1573
1608
|
]),
|
|
1574
1609
|
pe(y(u), {
|
|
1575
1610
|
id: y(ce),
|
|
@@ -1645,39 +1680,39 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1645
1680
|
"change:search"
|
|
1646
1681
|
], ["update:search"]),
|
|
1647
1682
|
setup(t, { emit: r }) {
|
|
1648
|
-
let i = t, o = r, s = oe(), c = fn("VvCombobox", _t(), i), l = P(null), u = P(null), m = P(null), h = P(), { HintSlot: _, hasHintLabelOrSlot: v, hasInvalidLabelOrSlot: ee, hintSlotScope: S } = Et(c, s), { focused:
|
|
1683
|
+
let i = t, o = r, s = oe(), c = fn("VvCombobox", _t(), i), l = P(null), u = P(null), m = P(null), h = P(), { HintSlot: _, hasHintLabelOrSlot: v, hasInvalidLabelOrSlot: ee, hintSlotScope: S } = Et(c, s), { focused: C } = pn(l, o), { focused: D } = De(m), te;
|
|
1649
1684
|
function ie() {
|
|
1650
|
-
clearTimeout(
|
|
1651
|
-
!
|
|
1685
|
+
clearTimeout(te), te = setTimeout(() => {
|
|
1686
|
+
!C.value && !D.value && F.value && L();
|
|
1652
1687
|
}, 50);
|
|
1653
1688
|
}
|
|
1654
|
-
g(() => clearTimeout(
|
|
1689
|
+
g(() => clearTimeout(te)), w(C, (e) => {
|
|
1655
1690
|
if (i.autoOpen) {
|
|
1656
1691
|
if (e && !F.value) {
|
|
1657
|
-
clearTimeout(
|
|
1692
|
+
clearTimeout(te), le();
|
|
1658
1693
|
return;
|
|
1659
1694
|
}
|
|
1660
|
-
!e && F.value && !
|
|
1695
|
+
!e && F.value && !D.value && ie();
|
|
1661
1696
|
}
|
|
1662
|
-
}),
|
|
1663
|
-
e ? clearTimeout(
|
|
1697
|
+
}), w(D, (e) => {
|
|
1698
|
+
e ? clearTimeout(te) : !C.value && F.value && ie();
|
|
1664
1699
|
});
|
|
1665
1700
|
let j = d(t, "search"), M = ye(j, N(() => Number(i.debounceSearch)));
|
|
1666
|
-
|
|
1701
|
+
w(M, () => {
|
|
1667
1702
|
o("update:search", M.value), o("change:search", M.value);
|
|
1668
1703
|
});
|
|
1669
1704
|
let F = P(!1);
|
|
1670
1705
|
function se() {
|
|
1671
|
-
|
|
1706
|
+
V.value || (F.value = !F.value);
|
|
1672
1707
|
}
|
|
1673
1708
|
function le() {
|
|
1674
|
-
|
|
1709
|
+
V.value || F.value || (F.value = !0);
|
|
1675
1710
|
}
|
|
1676
1711
|
function L() {
|
|
1677
|
-
|
|
1712
|
+
V.value || !F.value || (F.value = !1);
|
|
1678
1713
|
}
|
|
1679
1714
|
function de() {
|
|
1680
|
-
c.value.searchable && u.value && u.value.focus({ preventScroll: !0 });
|
|
1715
|
+
c.value.searchable && u.value && (u.value.closest(".vv-dropdown")?.contains(document.activeElement) || u.value.focus({ preventScroll: !0 }));
|
|
1681
1716
|
}
|
|
1682
1717
|
function _e() {
|
|
1683
1718
|
c.value.keepSearch || (j.value = "");
|
|
@@ -1685,23 +1720,23 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1685
1720
|
function R(e) {
|
|
1686
1721
|
return typeof e != "string" && e.options?.length;
|
|
1687
1722
|
}
|
|
1688
|
-
let { id: ve, icon:
|
|
1723
|
+
let { id: ve, icon: be, iconPosition: xe, modifiers: Se, disabled: z, required: Ce, readonly: we, loading: Te, valid: Oe, invalid: ke, floating: Ae } = he(i), B = Ut(ve), je = N(() => `${B.value}-hint`), Me = N(() => `${B.value}-dropdown`), Ne = N(() => `${B.value}-search`), Pe = N(() => `${B.value}-label`), Fe = N(() => [i.ariaDescribedby, v.value ? je.value : void 0].filter(Boolean).join(" ") || void 0), V = N(() => i.disabled || i.readonly), Ie = N(() => V.value ? -1 : i.tabindex), H = N({
|
|
1689
1724
|
get: () => Array.isArray(i.modelValue) ? i.modelValue : i.modelValue !== void 0 && i.modelValue !== null ? [i.modelValue] : [],
|
|
1690
1725
|
set: (e) => {
|
|
1691
1726
|
o("update:modelValue", i.multiple || Array.isArray(i.modelValue) ? e : e.pop());
|
|
1692
1727
|
}
|
|
1693
|
-
}),
|
|
1694
|
-
disabled:
|
|
1695
|
-
required:
|
|
1696
|
-
loading:
|
|
1697
|
-
readonly:
|
|
1698
|
-
"icon-before":
|
|
1699
|
-
"icon-after":
|
|
1700
|
-
valid:
|
|
1701
|
-
invalid:
|
|
1702
|
-
dirty:
|
|
1703
|
-
focus: (
|
|
1704
|
-
floating:
|
|
1728
|
+
}), Le = N(() => H.value.length), Re = N(() => Le.value > 0), U = N(() => i.multiple ? i.maxValues === void 0 ? 1 / 0 : Number(i.maxValues) : 1), ze = N(() => V.value || !i.unselectable ? !1 : Number(i.minValues) === 0 || Le.value > Number(i.minValues)), Be = N(() => V.value ? !1 : !i.multiple || Le.value < U.value), Ve = P(!1), W = N(() => Ve.value || Te.value), { hasIconBefore: He, hasIconAfter: K } = At(be, xe), Ue = Ot("vv-select", Se, N(() => ({
|
|
1729
|
+
disabled: z.value,
|
|
1730
|
+
required: Ce.value,
|
|
1731
|
+
loading: W.value,
|
|
1732
|
+
readonly: we.value,
|
|
1733
|
+
"icon-before": He.value !== void 0,
|
|
1734
|
+
"icon-after": K.value !== void 0,
|
|
1735
|
+
valid: Oe.value,
|
|
1736
|
+
invalid: ke.value,
|
|
1737
|
+
dirty: Re.value,
|
|
1738
|
+
focus: (C.value || D.value || F.value) && !V.value,
|
|
1739
|
+
floating: Ae.value,
|
|
1705
1740
|
badges: i.badges
|
|
1706
1741
|
}))), We = P(/* @__PURE__ */ new Set()), { getOptionLabel: q, getOptionValue: Ge, getOptionGrouped: Ke, isOptionDisabled: qe } = mn(i), Je = N(() => {
|
|
1707
1742
|
let e = [...We.value];
|
|
@@ -1709,23 +1744,23 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1709
1744
|
return e;
|
|
1710
1745
|
}), J = N(() => {
|
|
1711
1746
|
let e = [...i.options, ...We.value];
|
|
1712
|
-
for (let t of
|
|
1747
|
+
for (let t of H.value) Je.value.some((e) => {
|
|
1713
1748
|
let n = Ge(e);
|
|
1714
1749
|
return typeof n == "object" && typeof t == "object" ? JSON.stringify(n) === JSON.stringify(t) : n === t;
|
|
1715
1750
|
}) || e.push(t);
|
|
1716
1751
|
return e;
|
|
1717
1752
|
});
|
|
1718
|
-
|
|
1753
|
+
w(We, (e) => {
|
|
1719
1754
|
e.size > 0 && o("update:options", J.value);
|
|
1720
1755
|
});
|
|
1721
1756
|
function Y(e) {
|
|
1722
|
-
return qe(e) || !
|
|
1757
|
+
return qe(e) || !Be.value && !Z(e);
|
|
1723
1758
|
}
|
|
1724
|
-
let X =
|
|
1759
|
+
let X = Ee(async () => {
|
|
1725
1760
|
if (c.value.searchFunction) {
|
|
1726
|
-
|
|
1761
|
+
Ve.value = !0;
|
|
1727
1762
|
let e = await Promise.resolve(c.value.searchFunction(M.value, J.value));
|
|
1728
|
-
return
|
|
1763
|
+
return Ve.value = !1, e;
|
|
1729
1764
|
}
|
|
1730
1765
|
let e = M.value.toLowerCase().trim();
|
|
1731
1766
|
return e ? J.value?.reduce((t, n) => {
|
|
@@ -1746,7 +1781,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1746
1781
|
});
|
|
1747
1782
|
function Z(e) {
|
|
1748
1783
|
let t = Ge(e);
|
|
1749
|
-
return typeof t == "object" ?
|
|
1784
|
+
return typeof t == "object" ? H.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : H.value.includes(t);
|
|
1750
1785
|
}
|
|
1751
1786
|
let Ye = N(() => J.value.reduce((e, t) => R(t) ? [...e, ...Ke(t)] : [...e, t], []).filter((e) => Z(e))), Xe = N(() => Ye.value.map((e) => q(e)).join(i.separator));
|
|
1752
1787
|
function Ze() {
|
|
@@ -1754,13 +1789,13 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1754
1789
|
}
|
|
1755
1790
|
function Q(e) {
|
|
1756
1791
|
let t = Z(e), n = Ge(e);
|
|
1757
|
-
t &&
|
|
1792
|
+
t && ze.value ? H.value = H.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && Be.value && (i.multiple ? H.value = [...H.value, n] : H.value = [n]), !i.multiple && !i.keepOpen && L();
|
|
1758
1793
|
}
|
|
1759
1794
|
function Qe() {
|
|
1760
|
-
|
|
1795
|
+
H.value = [], o("update:search", ""), o("clear");
|
|
1761
1796
|
}
|
|
1762
|
-
|
|
1763
|
-
if (e?.length && i.autoselectFirst && !
|
|
1797
|
+
w(J, (e) => {
|
|
1798
|
+
if (e?.length && i.autoselectFirst && !Re.value) {
|
|
1764
1799
|
let t = e.find((e) => !R(e));
|
|
1765
1800
|
if (t) {
|
|
1766
1801
|
Q(t);
|
|
@@ -1774,18 +1809,18 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1774
1809
|
}
|
|
1775
1810
|
}, { immediate: !0 });
|
|
1776
1811
|
let $e = N(() => ({
|
|
1777
|
-
id:
|
|
1812
|
+
id: B.value,
|
|
1778
1813
|
name: i.name,
|
|
1779
|
-
tabindex:
|
|
1780
|
-
valid:
|
|
1814
|
+
tabindex: Ie.value,
|
|
1815
|
+
valid: Oe.value,
|
|
1781
1816
|
validLabel: c.value.validLabel,
|
|
1782
|
-
invalid:
|
|
1817
|
+
invalid: ke.value,
|
|
1783
1818
|
invalidLabel: c.value.invalidLabel,
|
|
1784
1819
|
hintLabel: c.value.hintLabel,
|
|
1785
|
-
loading:
|
|
1820
|
+
loading: W.value,
|
|
1786
1821
|
loadingLabel: c.value.loadingLabel,
|
|
1787
|
-
disabled:
|
|
1788
|
-
readonly:
|
|
1822
|
+
disabled: z.value,
|
|
1823
|
+
readonly: we.value,
|
|
1789
1824
|
modifiers: c.value.modifiers,
|
|
1790
1825
|
options: c.value.options,
|
|
1791
1826
|
labelKey: c.value.labelKey,
|
|
@@ -1793,7 +1828,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1793
1828
|
icon: c.value.icon,
|
|
1794
1829
|
iconPosition: c.value.iconPosition,
|
|
1795
1830
|
floating: c.value.floating,
|
|
1796
|
-
unselectable:
|
|
1831
|
+
unselectable: ze.value,
|
|
1797
1832
|
autoselectFirst: c.value.autoselectFirst,
|
|
1798
1833
|
multiple: c.value.multiple,
|
|
1799
1834
|
label: c.value.label,
|
|
@@ -1803,7 +1838,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1803
1838
|
placeholder: c.value.placeholder,
|
|
1804
1839
|
modelValue: i.modelValue
|
|
1805
1840
|
})), et = N(() => ({
|
|
1806
|
-
id:
|
|
1841
|
+
id: Me.value,
|
|
1807
1842
|
reference: m.value,
|
|
1808
1843
|
placement: c.value.placement,
|
|
1809
1844
|
strategy: c.value.strategy,
|
|
@@ -1823,7 +1858,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1823
1858
|
modelValue: i.modelValue
|
|
1824
1859
|
}));
|
|
1825
1860
|
function $(e) {
|
|
1826
|
-
e.key !== " " && e.key !== "Enter" || i.autoOpen || !F.value &&
|
|
1861
|
+
e.key !== " " && e.key !== "Enter" || i.autoOpen || !F.value && C.value && (e.preventDefault(), e.stopImmediatePropagation(), se());
|
|
1827
1862
|
}
|
|
1828
1863
|
function nt() {
|
|
1829
1864
|
if (X.value?.length) {
|
|
@@ -1846,14 +1881,14 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1846
1881
|
}
|
|
1847
1882
|
return (t, r) => t.native ? (f(), k(Tn, p({ key: 1 }, y($e), { "onUpdate:modelValue": r[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (f(), I("div", {
|
|
1848
1883
|
key: 0,
|
|
1849
|
-
id: y(
|
|
1884
|
+
id: y(B),
|
|
1850
1885
|
class: fe(y(Ue))
|
|
1851
1886
|
}, [
|
|
1852
1887
|
t.label ? (f(), I("label", {
|
|
1853
1888
|
key: 0,
|
|
1854
|
-
id: y(
|
|
1855
|
-
for: y(c).searchable ? y(
|
|
1856
|
-
}, a(t.label), 9, Dn)) :
|
|
1889
|
+
id: y(Pe),
|
|
1890
|
+
for: y(c).searchable ? y(Ne) : void 0
|
|
1891
|
+
}, a(t.label), 9, Dn)) : T("v-if", !0),
|
|
1857
1892
|
A("div", {
|
|
1858
1893
|
ref_key: "wrapperEl",
|
|
1859
1894
|
ref: m,
|
|
@@ -1862,29 +1897,29 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1862
1897
|
ref_key: "dropdownEl",
|
|
1863
1898
|
ref: h,
|
|
1864
1899
|
modelValue: y(F),
|
|
1865
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
1900
|
+
"onUpdate:modelValue": r[2] ||= (e) => ne(F) ? F.value = e : null
|
|
1866
1901
|
}, y(et), {
|
|
1867
|
-
role: y(
|
|
1902
|
+
role: y(G).listbox,
|
|
1868
1903
|
onAfterExpand: de,
|
|
1869
1904
|
onAfterCollapse: _e
|
|
1870
1905
|
}), me({
|
|
1871
1906
|
default: e(({ aria: r }) => [
|
|
1872
|
-
t.$slots.before ? (f(), I("div", kn, [n(t.$slots, "before", x(b(y(tt))))])) :
|
|
1907
|
+
t.$slots.before ? (f(), I("div", kn, [n(t.$slots, "before", x(b(y(tt))))])) : T("v-if", !0),
|
|
1873
1908
|
A("div", An, [
|
|
1874
|
-
y(
|
|
1909
|
+
y(He) ? (f(), k(kt, p({ key: 0 }, y(He), { class: "vv-select__icon" }), null, 16)) : T("v-if", !0),
|
|
1875
1910
|
A("div", p({
|
|
1876
1911
|
ref_key: "inputEl",
|
|
1877
1912
|
ref: l
|
|
1878
1913
|
}, r, {
|
|
1879
1914
|
class: "vv-select__input",
|
|
1880
1915
|
role: "combobox",
|
|
1881
|
-
"aria-controls": y(
|
|
1916
|
+
"aria-controls": y(Me),
|
|
1882
1917
|
"aria-expanded": y(F),
|
|
1883
1918
|
"aria-label": t.ariaLabel || void 0,
|
|
1884
|
-
"aria-labelledby": t.ariaLabelledby || (t.label ? y(
|
|
1885
|
-
"aria-describedby": y(
|
|
1886
|
-
"aria-errormessage": y(ee) ? y(
|
|
1887
|
-
tabindex: y(
|
|
1919
|
+
"aria-labelledby": t.ariaLabelledby || (t.label ? y(Pe) : void 0),
|
|
1920
|
+
"aria-describedby": y(Fe),
|
|
1921
|
+
"aria-errormessage": y(ee) ? y(je) : void 0,
|
|
1922
|
+
tabindex: y(Ie),
|
|
1888
1923
|
onClickPassive: Ze,
|
|
1889
1924
|
onKeydown: $
|
|
1890
1925
|
}), [y(Xe) ? n(t.$slots, "value", x(b({
|
|
@@ -1895,40 +1930,40 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1895
1930
|
modifiers: t.badgeModifiers,
|
|
1896
1931
|
class: "vv-select__badge"
|
|
1897
1932
|
}, {
|
|
1898
|
-
default: e(() => [
|
|
1933
|
+
default: e(() => [E(a(y(q)(n)) + " ", 1), y(ze) ? (f(), I("button", {
|
|
1899
1934
|
key: 0,
|
|
1900
1935
|
"aria-label": y(c).deselectActionLabel,
|
|
1901
1936
|
type: "button",
|
|
1902
1937
|
onClick: ue((e) => Q(n), ["stop"])
|
|
1903
|
-
}, [pe(kt, { name: "close" })], 8, Nn)) :
|
|
1938
|
+
}, [pe(kt, { name: "close" })], 8, Nn)) : T("v-if", !0)]),
|
|
1904
1939
|
_: 2
|
|
1905
|
-
}, 1032, ["modifiers"]))), 128)) : (f(), I("div", Mn, a(y(Xe)), 1))], void 0, 0) : n(t.$slots, "placeholder", {}, () => [
|
|
1906
|
-
y(
|
|
1940
|
+
}, 1032, ["modifiers"]))), 128)) : (f(), I("div", Mn, a(y(Xe)), 1))], void 0, 0) : n(t.$slots, "placeholder", {}, () => [E(a(t.placeholder), 1)], void 0, 1)], 16, jn),
|
|
1941
|
+
y(K) ? (f(), k(kt, p({ key: 1 }, y(K), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : T("v-if", !0)
|
|
1907
1942
|
]),
|
|
1908
|
-
y(
|
|
1943
|
+
y(ze) && y(c).showClearAction ? (f(), k(y(jt), {
|
|
1909
1944
|
key: 1,
|
|
1910
1945
|
"input-type": "select",
|
|
1911
1946
|
label: t.labelClear,
|
|
1912
1947
|
icon: t.iconClear,
|
|
1913
|
-
disabled: !y(
|
|
1948
|
+
disabled: !y(Re),
|
|
1914
1949
|
onClear: Qe
|
|
1915
1950
|
}, null, 8, [
|
|
1916
1951
|
"label",
|
|
1917
1952
|
"icon",
|
|
1918
1953
|
"disabled"
|
|
1919
|
-
])) :
|
|
1920
|
-
t.$slots.after ? (f(), I("div", Pn, [n(t.$slots, "after", x(b(y(tt))))])) :
|
|
1954
|
+
])) : T("v-if", !0),
|
|
1955
|
+
t.$slots.after ? (f(), I("div", Pn, [n(t.$slots, "after", x(b(y(tt))))])) : T("v-if", !0)
|
|
1921
1956
|
]),
|
|
1922
|
-
items: e(() => [!y(
|
|
1957
|
+
items: e(() => [!y(z) && y(X)?.length ? (f(!0), I(O, { key: 0 }, ge(y(X), (r, i) => (f(), I(O, { key: i }, [R(r) ? (f(), I(O, { key: 0 }, [pe(an, { label: y(q)(r) }, {
|
|
1923
1958
|
default: e(() => [n(t.$slots, "option-group", p({ ref_for: !0 }, {
|
|
1924
1959
|
option: r,
|
|
1925
1960
|
selectedOptions: y(Ye)
|
|
1926
|
-
}), () => [
|
|
1961
|
+
}), () => [E(a(y(q)(r)), 1)])]),
|
|
1927
1962
|
_: 2
|
|
1928
1963
|
}, 1032, ["label"]), (f(!0), I(O, null, ge(y(Ke)(r), (r, i) => (f(), k(cn, p({ ref_for: !0 }, {
|
|
1929
1964
|
selected: Z(r),
|
|
1930
1965
|
disabled: Y(r),
|
|
1931
|
-
unselectable: y(
|
|
1966
|
+
unselectable: y(ze),
|
|
1932
1967
|
deselectHintLabel: y(c).deselectHintLabel,
|
|
1933
1968
|
selectHintLabel: y(c).selectHintLabel,
|
|
1934
1969
|
selectedHintLabel: y(c).selectedHintLabel,
|
|
@@ -1943,7 +1978,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1943
1978
|
selectedOptions: y(Ye),
|
|
1944
1979
|
selected: Z(r),
|
|
1945
1980
|
disabled: Y(r)
|
|
1946
|
-
}), () => [
|
|
1981
|
+
}), () => [E(a(y(q)(r)), 1)])]),
|
|
1947
1982
|
_: 2
|
|
1948
1983
|
}, 1040, ["onClickPassive"]))), 128))], 64)) : (f(), k(cn, p({
|
|
1949
1984
|
key: 1,
|
|
@@ -1951,7 +1986,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1951
1986
|
}, {
|
|
1952
1987
|
selected: Z(r),
|
|
1953
1988
|
disabled: Y(r),
|
|
1954
|
-
unselectable: y(
|
|
1989
|
+
unselectable: y(ze),
|
|
1955
1990
|
deselectHintLabel: y(c).deselectHintLabel,
|
|
1956
1991
|
selectHintLabel: y(c).selectHintLabel,
|
|
1957
1992
|
selectedHintLabel: y(c).selectedHintLabel,
|
|
@@ -1965,19 +2000,19 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1965
2000
|
selectedOptions: y(Ye),
|
|
1966
2001
|
selected: Z(r),
|
|
1967
2002
|
disabled: Y(r)
|
|
1968
|
-
}), () => [
|
|
2003
|
+
}), () => [E(a(y(q)(r)), 1)])]),
|
|
1969
2004
|
_: 2
|
|
1970
2005
|
}, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (f(), k(cn, {
|
|
1971
2006
|
key: 2,
|
|
1972
2007
|
modifiers: "inert"
|
|
1973
2008
|
}, {
|
|
1974
|
-
default: e(() => [n(t.$slots, "no-results", {}, () => [
|
|
2009
|
+
default: e(() => [n(t.$slots, "no-results", {}, () => [E(a(y(c).addable ? y(c).addOptionHintLabel : y(c).noResultsLabel), 1)])]),
|
|
1975
2010
|
_: 3
|
|
1976
2011
|
})) : (f(), k(cn, {
|
|
1977
2012
|
key: 1,
|
|
1978
2013
|
modifiers: "inert"
|
|
1979
2014
|
}, {
|
|
1980
|
-
default: e(() => [n(t.$slots, "no-options", {}, () => [
|
|
2015
|
+
default: e(() => [n(t.$slots, "no-options", {}, () => [E(a(y(c).addable && j.value.length ? y(c).addOptionHintLabel : y(c).noOptionsLabel), 1)])]),
|
|
1981
2016
|
_: 3
|
|
1982
2017
|
}))]),
|
|
1983
2018
|
after: e(() => [n(t.$slots, "dropdown::after", {}, () => [y(h)?.customPosition ? (f(), k(Kt, {
|
|
@@ -1985,29 +2020,29 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1985
2020
|
label: y(c).closeLabel,
|
|
1986
2021
|
modifiers: "secondary",
|
|
1987
2022
|
onClick: r[1] ||= (e) => y(h).hide()
|
|
1988
|
-
}, null, 8, ["label"])) :
|
|
2023
|
+
}, null, 8, ["label"])) : T("v-if", !0)])]),
|
|
1989
2024
|
_: 2
|
|
1990
2025
|
}, [y(c).searchable || t.$slots["dropdown::before"] ? {
|
|
1991
2026
|
name: "before",
|
|
1992
|
-
fn: e(() => [n(t.$slots, "dropdown::before"), y(c).searchable && !y(
|
|
2027
|
+
fn: e(() => [n(t.$slots, "dropdown::before"), y(c).searchable && !y(z) ? re((f(), I("input", {
|
|
1993
2028
|
key: 0,
|
|
1994
|
-
id: y(
|
|
2029
|
+
id: y(Ne),
|
|
1995
2030
|
ref_key: "inputSearchEl",
|
|
1996
2031
|
ref: u,
|
|
1997
2032
|
"onUpdate:modelValue": r[0] ||= (e) => j.value = e,
|
|
1998
2033
|
"aria-autocomplete": "list",
|
|
1999
|
-
"aria-controls": y(
|
|
2034
|
+
"aria-controls": y(Me),
|
|
2000
2035
|
autocomplete: "off",
|
|
2001
2036
|
spellcheck: "false",
|
|
2002
2037
|
type: "search",
|
|
2003
2038
|
class: "vv-dropdown__search",
|
|
2004
2039
|
placeholder: y(c).searchPlaceholder,
|
|
2005
2040
|
onKeyup: ae(nt, ["enter"])
|
|
2006
|
-
}, null, 40, On)), [[ce, j.value]]) :
|
|
2041
|
+
}, null, 40, On)), [[ce, j.value]]) : T("v-if", !0)]),
|
|
2007
2042
|
key: "0"
|
|
2008
2043
|
} : void 0]), 1040, ["modelValue", "role"])], 512),
|
|
2009
2044
|
pe(y(_), {
|
|
2010
|
-
id: y(
|
|
2045
|
+
id: y(je),
|
|
2011
2046
|
class: "vv-select__hint"
|
|
2012
2047
|
}, me({ _: 2 }, [
|
|
2013
2048
|
t.$slots.hint ? {
|
|
@@ -2037,4 +2072,4 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2037
2072
|
//#endregion
|
|
2038
2073
|
export { Fn as default };
|
|
2039
2074
|
|
|
2040
|
-
//# sourceMappingURL=VvCombobox.es-
|
|
2075
|
+
//# sourceMappingURL=VvCombobox.es-DKR6Fb2W.js.map
|