@8wave/ai-elements 0.125.0-beta.36 → 0.125.0-beta.38
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-DsRAk1js.js → PkChatbotFilePreview-Dt0ygdJM.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-DsRAk1js.js.map → PkChatbotFilePreview-Dt0ygdJM.js.map} +1 -1
- package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js → PkEditorRadioButtons-Br4c42KS.js} +2 -2
- package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js.map → PkEditorRadioButtons-Br4c42KS.js.map} +1 -1
- package/dist/_chunks/{PkFilePreview-Bic0SA47.js → PkFilePreview-BdqdC1ml.js} +5 -5
- package/dist/_chunks/{PkFilePreview-Bic0SA47.js.map → PkFilePreview-BdqdC1ml.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js → PkFilePreviewDialog-_pdW07pm.js} +3 -3
- package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js.map → PkFilePreviewDialog-_pdW07pm.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-CtIvSX8O.js → PkHeldImage-H7-q7WrE.js} +2 -2
- package/dist/_chunks/{PkHeldImage-CtIvSX8O.js.map → PkHeldImage-H7-q7WrE.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js → PkImageEditorDialog-D-ikpGo8.js} +5 -5
- package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js.map → PkImageEditorDialog-D-ikpGo8.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js → PkLazyImg-DTGucEQ9.js} +2 -2
- package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js.map → PkLazyImg-DTGucEQ9.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-mna8QQGY.js → PkSelectionActions-CjAiM1G3.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-mna8QQGY.js.map → PkSelectionActions-CjAiM1G3.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js → PkToolChatFile-39PrHVVm.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js.map → PkToolChatFile-39PrHVVm.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js → PkToolRequestGeolocation-CMSIJu4c.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js.map → PkToolRequestGeolocation-CMSIJu4c.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js → PkToolRequestOAuthConnection-ClVVaEuK.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js.map → PkToolRequestOAuthConnection-ClVVaEuK.js.map} +1 -1
- package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js → PkToolShareDocument-Bxm1pSpj.js} +3 -3
- package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js.map → PkToolShareDocument-Bxm1pSpj.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js → PkToolShowArtifact-D1AOFL1o.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js.map → PkToolShowArtifact-D1AOFL1o.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js → PkToolShowCalendarEvent-Bf1fBrjf.js} +4 -4
- package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js.map → PkToolShowCalendarEvent-Bf1fBrjf.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js → PkToolShowComparison-BURyhuOx.js} +3 -3
- package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js.map → PkToolShowComparison-BURyhuOx.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js → PkToolShowContactForm-CTitUxv_.js} +4 -4
- package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js.map → PkToolShowContactForm-CTitUxv_.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js → PkToolShowDiagram-CwINVecL.js} +3 -3
- package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js.map → PkToolShowDiagram-CwINVecL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js → PkToolShowEmail-mGLOd6zf.js} +4 -4
- package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js.map → PkToolShowEmail-mGLOd6zf.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js → PkToolShowForm-YaDgT_04.js} +5 -5
- package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js.map → PkToolShowForm-YaDgT_04.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js → PkToolShowImageGallery-BVrcfe_b.js} +3 -3
- package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js.map → PkToolShowImageGallery-BVrcfe_b.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js → PkToolShowLocation-BYkY2CEF.js} +4 -4
- package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js.map → PkToolShowLocation-BYkY2CEF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-BPugVukY.js → PkToolShowMessage-CvxABht3.js} +4 -4
- package/dist/_chunks/{PkToolShowMessage-BPugVukY.js.map → PkToolShowMessage-CvxABht3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js → PkToolShowProductList-CYNh8YRF.js} +4 -4
- package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js.map → PkToolShowProductList-CYNh8YRF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js → PkToolShowQrCode-DgnNA0rU.js} +3 -3
- package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js.map → PkToolShowQrCode-DgnNA0rU.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js → PkToolShowSources-BvH0el0N.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js.map → PkToolShowSources-BvH0el0N.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js → PkToolShowSuggestedReply-PHcre0Ff.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js.map → PkToolShowSuggestedReply-PHcre0Ff.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js → PkToolShowVideo-SiP-5Ekl.js} +3 -3
- package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js.map → PkToolShowVideo-SiP-5Ekl.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js → PkToolShowWeather-BMnvmUoO.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js.map → PkToolShowWeather-BMnvmUoO.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js → PkToolShowWebPages-Co_33g_K.js} +4 -4
- package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js.map → PkToolShowWebPages-Co_33g_K.js.map} +1 -1
- package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js → VvButtonLocalized-C8S7XJGv.js} +2 -2
- package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js.map → VvButtonLocalized-C8S7XJGv.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js → VvCheckbox.es-DXJ1UB8G.js} +2 -2
- package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js.map → VvCheckbox.es-DXJ1UB8G.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js → VvCheckboxGroup.es-ZWG2NV9b.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js.map → VvCheckboxGroup.es-ZWG2NV9b.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-uAWL0Asj.js → VvCombobox.es-D516ShMF.js} +318 -307
- package/dist/_chunks/VvCombobox.es-D516ShMF.js.map +1 -0
- package/dist/_chunks/{VvInputText.es-Cw6GoyJS.js → VvInputText.es-Dzf_mjzr.js} +250 -239
- package/dist/_chunks/VvInputText.es-Dzf_mjzr.js.map +1 -0
- package/dist/_chunks/{VvRadio.es-Betfu_P8.js → VvRadio.es-CksG97Js.js} +2 -2
- package/dist/_chunks/{VvRadio.es-Betfu_P8.js.map → VvRadio.es-CksG97Js.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js → VvRadioGroup.es-Bo2Pf354.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js.map → VvRadioGroup.es-Bo2Pf354.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-BLMFR1iC.js → VvSelect.es-DpN2t0Oh.js} +3 -3
- package/dist/_chunks/{VvSelect.es-BLMFR1iC.js.map → VvSelect.es-DpN2t0Oh.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-CFZHoQWF.js → VvTextarea.es-GlakViWr.js} +347 -336
- package/dist/_chunks/VvTextarea.es-GlakViWr.js.map +1 -0
- package/dist/_chunks/{iconify-oSMMdRMF.js → iconify-Cj-qXWYO.js} +175 -175
- package/dist/_chunks/{iconify-oSMMdRMF.js.map → iconify-Cj-qXWYO.js.map} +1 -1
- package/dist/_chunks/{index.es-DKgwv-Tl.js → index.es-0ah-ssIE.js} +10 -10
- package/dist/_chunks/{index.es-DKgwv-Tl.js.map → index.es-0ah-ssIE.js.map} +1 -1
- package/dist/_chunks/{index.es-D-aOuzzp.js → index.es-DIHz5I8K.js} +152 -141
- package/dist/_chunks/index.es-DIHz5I8K.js.map +1 -0
- package/dist/ai-elements.es.js +46 -46
- 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-BtJsIn4h.js → PkChatbot-CfBea2qY.js} +2 -2
- package/dist-vue/_chunks/{PkChatbot-BtJsIn4h.js.map → PkChatbot-CfBea2qY.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js → PkChatbotAuth-Ci9NmbVb.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js.map → PkChatbotAuth-Ci9NmbVb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js → PkChatbotFeedbackForm-D3YNMO7m.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js.map → PkChatbotFeedbackForm-D3YNMO7m.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js → PkChatbotMessages-AkfEvXEN.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js.map → PkChatbotMessages-AkfEvXEN.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js → PkChatbotViewChat-CdcZrTJJ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js.map → PkChatbotViewChat-CdcZrTJJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js → PkFilePreview-DJBrACR3.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js.map → PkFilePreview-DJBrACR3.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js → PkFilePreviewDialog-C-m04VEl.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js.map → PkFilePreviewDialog-C-m04VEl.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js → PkToolShowContactForm-CtJSjw8M.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js.map → PkToolShowContactForm-CtJSjw8M.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-DSD1KzRg.js → index.es-MFxWj-L1.js} +2 -2
- package/dist-vue/_chunks/{index.es-DSD1KzRg.js.map → index.es-MFxWj-L1.js.map} +1 -1
- package/dist-vue/index.js +7 -7
- package/dist-vue/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/_chunks/VvCombobox.es-uAWL0Asj.js.map +0 -1
- package/dist/_chunks/VvInputText.es-Cw6GoyJS.js.map +0 -1
- package/dist/_chunks/VvTextarea.es-CFZHoQWF.js.map +0 -1
- package/dist/_chunks/index.es-D-aOuzzp.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, B as t, D as n, Dt as r, E as i, Et as a, F as o, G as s, H as c, I as l, J as u, K as d, L as ee, M as f, N as p, Ot as m, P as h, Q as g, S as _, St as te, T as ne, Tt as v, U as y, V as b, W as x, Y as re, _ as S, b as
|
|
2
|
-
import { a as
|
|
3
|
-
import { S as
|
|
1
|
+
import { A as e, B as t, D as n, Dt as r, E as i, Et as a, F as o, G as s, H as c, I as l, J as u, K as d, L as ee, M as f, N as p, Ot as m, P as h, Q as g, S as _, St as te, T as ne, Tt as v, U as y, V as b, W as x, Y as re, _ as S, b as C, bt as ie, c as ae, d as oe, et as se, f as w, g as ce, gt as T, h as E, k as le, kt as D, l as ue, nt as de, ot as fe, q as O, r as pe, s as me, t as he, tt as k, u as ge, ut as _e, v as A, w as j, wt as M, x as N, xt as P, y as F, z as I } from "./vue.runtime.esm-bundler-C2U5uTqB.js";
|
|
2
|
+
import { a as ve, i as L, t as ye } from "./iconify-Cj-qXWYO.js";
|
|
3
|
+
import { S as be, c as xe, f as Se, g as R, n as Ce, p as we, r as Te, t as Ee, u as De, w as Oe } from "./dist-D6oUr4J_.js";
|
|
4
4
|
import { a as ke, c as Ae, i as je, l as z, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./floating-ui.vue-HobyB7z6.js";
|
|
5
5
|
import { t as B } from "./dot-prop-Dmp6Zjqs.js";
|
|
6
|
-
// ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.
|
|
6
|
+
// ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.26_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_57f9de4fe20b40601a5bcf5a7db572a3/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
|
|
7
7
|
le(), pe(), fe(), v();
|
|
8
|
-
var
|
|
8
|
+
var V = {
|
|
9
9
|
showPassword: "eye-on",
|
|
10
10
|
hidePassword: "eye-off",
|
|
11
11
|
showDatePicker: "calendar",
|
|
@@ -16,27 +16,27 @@ var Le = {
|
|
|
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
|
-
})({}),
|
|
25
|
+
})({}), ze = /* @__PURE__ */ (function(e) {
|
|
26
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
|
-
})({}),
|
|
27
|
+
})({}), Be = /* @__PURE__ */ (function(e) {
|
|
28
28
|
return e.before = "before", e.after = "after", e;
|
|
29
|
-
})({}),
|
|
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
|
+
})({}), Ue = /* @__PURE__ */ (function(e) {
|
|
36
36
|
return e.listbox = "listbox", e.menu = "menu", e;
|
|
37
|
-
})({}),
|
|
37
|
+
})({}), We = /* @__PURE__ */ (function(e) {
|
|
38
38
|
return e.option = "option", e.presentation = "presentation", e;
|
|
39
|
-
})({}),
|
|
39
|
+
})({}), Ge = /* @__PURE__ */ Symbol.for("volver"), G = /* @__PURE__ */ Symbol.for("buttonGroup"), K = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Ke = /* @__PURE__ */ Symbol.for("dropdownItem"), q = /* @__PURE__ */ Symbol.for("dropdownAction"), qe = {
|
|
40
40
|
to: { type: [String, Object] },
|
|
41
41
|
href: String,
|
|
42
42
|
target: String,
|
|
@@ -93,7 +93,7 @@ var Le = {
|
|
|
93
93
|
},
|
|
94
94
|
iconClear: {
|
|
95
95
|
type: [String, Object],
|
|
96
|
-
default:
|
|
96
|
+
default: V.clear
|
|
97
97
|
},
|
|
98
98
|
labelClear: {
|
|
99
99
|
type: String,
|
|
@@ -163,8 +163,8 @@ var Le = {
|
|
|
163
163
|
},
|
|
164
164
|
iconPosition: {
|
|
165
165
|
type: String,
|
|
166
|
-
default:
|
|
167
|
-
validator: (e) => Object.values(
|
|
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 Le = {
|
|
|
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,
|
|
@@ -550,7 +550,7 @@ function Et(e, t) {
|
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
552
|
function Dt() {
|
|
553
|
-
return e(
|
|
553
|
+
return e(Ge, void 0);
|
|
554
554
|
}
|
|
555
555
|
function Ot(e, t, n) {
|
|
556
556
|
return E(() => {
|
|
@@ -581,14 +581,14 @@ var kt = /* @__PURE__ */ j({
|
|
|
581
581
|
onLoad: { type: Function },
|
|
582
582
|
svg: {},
|
|
583
583
|
modifiers: {}
|
|
584
|
-
},
|
|
584
|
+
}, H),
|
|
585
585
|
setup(e) {
|
|
586
|
-
let t = e, n = E(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = T(!0), i = Dt(), { modifiers: a } =
|
|
586
|
+
let t = e, n = E(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = T(!0), i = Dt(), { modifiers: a } = P(t), o = Ot("vv-icon", a), s = E(() => t.provider || i?.iconsProvider), c = E(() => {
|
|
587
587
|
let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
|
|
588
|
-
if (
|
|
588
|
+
if (ve(n)) return n;
|
|
589
589
|
let r = i?.iconsCollections.find((t) => {
|
|
590
590
|
let n = `@${s.value}:${t.prefix}:${e}`;
|
|
591
|
-
return
|
|
591
|
+
return ve(n);
|
|
592
592
|
});
|
|
593
593
|
return r ? `@${s.value}:${r.prefix}:${e}` : e;
|
|
594
594
|
});
|
|
@@ -597,17 +597,17 @@ var kt = /* @__PURE__ */ j({
|
|
|
597
597
|
}
|
|
598
598
|
function u(e) {
|
|
599
599
|
let n = l(e), r = n?.innerHTML.trim() || "";
|
|
600
|
-
n && r &&
|
|
600
|
+
n && r && L(`@${s.value}:${t.prefix}:${t.name}`, {
|
|
601
601
|
body: r,
|
|
602
602
|
height: n.viewBox.baseVal.height,
|
|
603
603
|
width: n.viewBox.baseVal.width
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
return i && t.src && !
|
|
606
|
+
return i && t.src && !ve(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
|
|
607
607
|
e && u(e), r.value = !0;
|
|
608
608
|
}).catch((e) => {
|
|
609
609
|
throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
|
|
610
|
-
})), t.svg && u(t.svg), (t, i) => M(r) ? (
|
|
610
|
+
})), t.svg && u(t.svg), (t, i) => M(r) ? (I(), S(M(ye), h({
|
|
611
611
|
key: 0,
|
|
612
612
|
class: M(o)
|
|
613
613
|
}, {
|
|
@@ -624,13 +624,13 @@ var kt = /* @__PURE__ */ j({
|
|
|
624
624
|
}
|
|
625
625
|
});
|
|
626
626
|
function At(e, t) {
|
|
627
|
-
let n = E(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = E(() => t?.value ===
|
|
627
|
+
let n = E(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = E(() => t?.value === Be.before ? n.value : void 0), i = E(() => t?.value === Be.after ? n.value : void 0);
|
|
628
628
|
return {
|
|
629
629
|
hasIcon: n,
|
|
630
|
-
hasIconLeft: E(() => t?.value ===
|
|
631
|
-
hasIconRight: E(() => t?.value ===
|
|
632
|
-
hasIconTop: E(() => t?.value ===
|
|
633
|
-
hasIconBottom: E(() => t?.value ===
|
|
630
|
+
hasIconLeft: E(() => t?.value === U.left ? n.value : void 0),
|
|
631
|
+
hasIconRight: E(() => t?.value === U.right ? n.value : void 0),
|
|
632
|
+
hasIconTop: E(() => t?.value === U.top ? n.value : void 0),
|
|
633
|
+
hasIconBottom: E(() => t?.value === U.bottom ? n.value : void 0),
|
|
634
634
|
hasIconBefore: r,
|
|
635
635
|
hasIconAfter: i
|
|
636
636
|
};
|
|
@@ -686,8 +686,8 @@ var jt = j({
|
|
|
686
686
|
name: "VvBadge",
|
|
687
687
|
props: Mt,
|
|
688
688
|
setup(e) {
|
|
689
|
-
let { modifiers: t } =
|
|
690
|
-
return (e, t) => (
|
|
689
|
+
let { modifiers: t } = P(e), n = Ot("vv-badge", t);
|
|
690
|
+
return (e, t) => (I(), F("span", { class: a(M(n)) }, [c(e.$slots, "default", {}, () => [N(D(e.value), 1)])], 2));
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
693
|
function Pt(t) {
|
|
@@ -702,7 +702,7 @@ function Pt(t) {
|
|
|
702
702
|
i.value = e;
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
|
-
let a =
|
|
705
|
+
let a = ie(t, e);
|
|
706
706
|
return E({
|
|
707
707
|
get() {
|
|
708
708
|
return a.value;
|
|
@@ -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,
|
|
@@ -764,7 +764,7 @@ var Ft = ["update:modelValue"], It = {
|
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
function Lt(e, t) {
|
|
767
|
-
let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Pt(
|
|
767
|
+
let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Pt(G), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = P(e);
|
|
768
768
|
return {
|
|
769
769
|
group: n,
|
|
770
770
|
isInGroup: r,
|
|
@@ -811,9 +811,9 @@ var Ht = /* @__PURE__ */ j({
|
|
|
811
811
|
});
|
|
812
812
|
let f = E(() => r.pressed || ee?.value), { role: p } = Vt(), m = E(() => {
|
|
813
813
|
switch (!0) {
|
|
814
|
-
case r.disabled: return
|
|
815
|
-
case r.to !== void 0: return o?.nuxt ? y(
|
|
816
|
-
case r.href !== void 0: return
|
|
814
|
+
case r.disabled: return W.button;
|
|
815
|
+
case r.to !== void 0: return o?.nuxt ? y(W.nuxtLink) : W.routerLink;
|
|
816
|
+
case r.href !== void 0: return W.a;
|
|
817
817
|
default: return r.defaultTag;
|
|
818
818
|
}
|
|
819
819
|
}), _ = E(() => {
|
|
@@ -824,19 +824,19 @@ var Ht = /* @__PURE__ */ j({
|
|
|
824
824
|
role: p?.value
|
|
825
825
|
};
|
|
826
826
|
switch (m.value) {
|
|
827
|
-
case
|
|
827
|
+
case W.a: return {
|
|
828
828
|
...e,
|
|
829
829
|
href: r.href,
|
|
830
830
|
target: r.target,
|
|
831
831
|
rel: r.rel
|
|
832
832
|
};
|
|
833
|
-
case
|
|
834
|
-
case
|
|
833
|
+
case W.routerLink:
|
|
834
|
+
case W.nuxtLink: return {
|
|
835
835
|
...e,
|
|
836
836
|
to: r.to,
|
|
837
837
|
target: r.target
|
|
838
838
|
};
|
|
839
|
-
case
|
|
839
|
+
case W.button: return {
|
|
840
840
|
...e,
|
|
841
841
|
type: r.type,
|
|
842
842
|
disabled: r.disabled
|
|
@@ -853,7 +853,7 @@ var Ht = /* @__PURE__ */ j({
|
|
|
853
853
|
function b(e) {
|
|
854
854
|
a?.vnode.props?.onMouseleave ? i("mouseleave", e) : u?.emit("mouseleave", e);
|
|
855
855
|
}
|
|
856
|
-
return (e, t) => (
|
|
856
|
+
return (e, t) => (I(), S(x(M(m)), h(M(_), {
|
|
857
857
|
ref_key: "rootEl",
|
|
858
858
|
ref: s,
|
|
859
859
|
class: {
|
|
@@ -890,32 +890,32 @@ var Wt = {
|
|
|
890
890
|
let r = e, i = n, a = d(), o = re(), { id: s, modifiers: l, iconPosition: u, icon: ee, label: f, modelValue: p, disabled: m, toggle: g, unselectable: _ } = Lt(r, i), te = Ut(s), ne = E(() => a?.name || te.value), v = T(null);
|
|
891
891
|
t({ $el: E(() => v.value?.$el) });
|
|
892
892
|
let y = E(() => g.value ? Array.isArray(p.value) ? Ct(ne.value, p.value) : vt(ne.value, p.value) : r.pressed), b = Ot("vv-button", l, E(() => ({
|
|
893
|
-
reverse: [
|
|
894
|
-
column: [
|
|
893
|
+
reverse: [U.right, U.bottom].includes(u.value),
|
|
894
|
+
column: [U.top, U.bottom].includes(u.value),
|
|
895
895
|
"icon-only": !(!ee?.value || f?.value || o.default)
|
|
896
|
-
}))), { hasIcon: x } = At(ee),
|
|
897
|
-
if (g.value) return { onClick:
|
|
896
|
+
}))), { hasIcon: x } = At(ee), C = E(() => r.value === void 0 ? ne.value : r.value), ie = E(() => {
|
|
897
|
+
if (g.value) return { onClick: ae };
|
|
898
898
|
});
|
|
899
|
-
function
|
|
899
|
+
function ae() {
|
|
900
900
|
if (g.value) {
|
|
901
901
|
if (Array.isArray(p.value)) {
|
|
902
|
-
if (Ct(
|
|
903
|
-
_.value && (p.value = p.value.filter((e) => e !==
|
|
902
|
+
if (Ct(C.value, p.value)) {
|
|
903
|
+
_.value && (p.value = p.value.filter((e) => e !== C.value));
|
|
904
904
|
return;
|
|
905
905
|
}
|
|
906
|
-
p.value.push(
|
|
906
|
+
p.value.push(C.value);
|
|
907
907
|
return;
|
|
908
908
|
}
|
|
909
|
-
if (
|
|
909
|
+
if (C.value === p.value && _.value) {
|
|
910
910
|
p.value = r.uncheckedValue;
|
|
911
911
|
return;
|
|
912
912
|
}
|
|
913
|
-
p.value =
|
|
913
|
+
p.value = C.value;
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
|
-
return (e, t) => (
|
|
916
|
+
return (e, t) => (I(), S(Ht, h({
|
|
917
917
|
...M(a),
|
|
918
|
-
...M(
|
|
918
|
+
...M(ie),
|
|
919
919
|
disabled: M(m),
|
|
920
920
|
pressed: M(y),
|
|
921
921
|
active: e.active,
|
|
@@ -931,14 +931,14 @@ var Wt = {
|
|
|
931
931
|
ref: v,
|
|
932
932
|
class: M(b)
|
|
933
933
|
}), {
|
|
934
|
-
default: k(() => [c(e.$slots, "default", {}, () => [e.loading ? c(e.$slots, "loading", {}, () => [e.loadingIcon ? (
|
|
934
|
+
default: k(() => [c(e.$slots, "default", {}, () => [e.loading ? c(e.$slots, "loading", {}, () => [e.loadingIcon ? (I(), S(kt, {
|
|
935
935
|
key: 0,
|
|
936
936
|
class: "vv-button__loading-icon",
|
|
937
937
|
name: e.loadingIcon
|
|
938
|
-
}, null, 8, ["name"])) : A("v-if", !0), e.loadingLabel ? (
|
|
938
|
+
}, null, 8, ["name"])) : A("v-if", !0), e.loadingLabel ? (I(), F("span", Wt, D(e.loadingLabel), 1)) : A("v-if", !0)], void 0, 0) : (I(), F(w, { key: 1 }, [
|
|
939
939
|
c(e.$slots, "before"),
|
|
940
|
-
M(x) ? (
|
|
941
|
-
M(f) ? (
|
|
940
|
+
M(x) ? (I(), S(kt, h({ key: 0 }, M(x), { class: "vv-button__icon" }), null, 16)) : A("v-if", !0),
|
|
941
|
+
M(f) ? (I(), F("span", Gt, [c(e.$slots, "label", {}, () => [N(D(M(f)), 1)])])) : A("v-if", !0),
|
|
942
942
|
c(e.$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: Ue.menu,
|
|
962
|
+
validator: (e) => Object.values(Ue).includes(e)
|
|
963
963
|
}
|
|
964
964
|
}, Jt = { focusOnHover: {
|
|
965
965
|
type: Boolean,
|
|
@@ -1015,13 +1015,13 @@ function Zt({ reference: e, id: r, expanded: i, aria: a }) {
|
|
|
1015
1015
|
});
|
|
1016
1016
|
},
|
|
1017
1017
|
render() {
|
|
1018
|
-
return n(
|
|
1018
|
+
return n(w, {}, this.$slots.default?.());
|
|
1019
1019
|
}
|
|
1020
1020
|
})
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
function Qt({ role: e, ...n }) {
|
|
1024
|
-
let r = E(() => e.value ===
|
|
1024
|
+
let r = E(() => e.value === Ue.listbox ? We.option : We.presentation);
|
|
1025
1025
|
return t(Ke, {
|
|
1026
1026
|
role: r,
|
|
1027
1027
|
...n
|
|
@@ -1029,7 +1029,7 @@ function Qt({ role: e, ...n }) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
function $t({ expanded: e }) {
|
|
1031
1031
|
t(q, {
|
|
1032
|
-
role: T(
|
|
1032
|
+
role: T(He.menuitem),
|
|
1033
1033
|
expanded: e
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
@@ -1060,15 +1060,15 @@ var en = ["popover"], tn = [
|
|
|
1060
1060
|
"leaveCancelled"
|
|
1061
1061
|
],
|
|
1062
1062
|
setup(e, { expose: t, emit: n }) {
|
|
1063
|
-
let l = e, u = n, { id: f } =
|
|
1063
|
+
let l = e, u = n, { id: f } = P(l), p = Ut(f), te = d(), ne = T(), v = T(), y = T(), b = T(), x = E({
|
|
1064
1064
|
get: () => l.reference ?? ne.value,
|
|
1065
1065
|
set: (e) => {
|
|
1066
1066
|
ne.value = e;
|
|
1067
1067
|
}
|
|
1068
|
-
}), { isTopLayer: re, popover: S, show:
|
|
1068
|
+
}), { isTopLayer: re, popover: S, show: C, hide: ie } = Xt(v, () => l.topLayer), ae = E(() => re.value ? Re.fixed : l.strategy), oe = T(!1);
|
|
1069
1069
|
ee(() => {
|
|
1070
|
-
|
|
1071
|
-
|
|
1070
|
+
R(v.value, () => {
|
|
1071
|
+
oe.value = globalThis.getComputedStyle(v.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
|
|
1072
1072
|
}, {
|
|
1073
1073
|
attributeFilter: ["style"],
|
|
1074
1074
|
window: globalThis.window
|
|
@@ -1089,9 +1089,19 @@ var en = ["popover"], tn = [
|
|
|
1089
1089
|
reset: { rects: !0 }
|
|
1090
1090
|
});
|
|
1091
1091
|
}
|
|
1092
|
-
}
|
|
1092
|
+
};
|
|
1093
|
+
function O(e) {
|
|
1094
|
+
return l.triggerWidth && !oe.value ? e.reference.width : 0;
|
|
1095
|
+
}
|
|
1096
|
+
let pe = {
|
|
1097
|
+
name: "triggerWidth",
|
|
1098
|
+
fn({ elements: e, rects: t, middlewareData: n }) {
|
|
1099
|
+
let { style: r } = e.floating, i = O(t), a = Number.parseFloat(r.width) || 0;
|
|
1100
|
+
return n.triggerWidth || Math.abs(i - a) < .01 ? {} : (r.width = i ? `${i}px` : "", { reset: { rects: !0 } });
|
|
1101
|
+
}
|
|
1102
|
+
}, me = E(() => {
|
|
1093
1103
|
let e = [];
|
|
1094
|
-
l.size && e.push(fe), l.offset && e.push(["string", "number"].includes(typeof l.offset) ? Ne(Number(l.offset)) : Ne(l.offset));
|
|
1104
|
+
l.triggerWidth && e.push(pe), l.size && e.push(fe), l.offset && e.push(["string", "number"].includes(typeof l.offset) ? Ne(Number(l.offset)) : Ne(l.offset));
|
|
1095
1105
|
let t = typeof l.size == "object" ? l.size.padding : void 0;
|
|
1096
1106
|
if (l.autoPlacement ? e.push(le(l.autoPlacement, () => Pe(), (e) => Pe(e))) : l.flip && e.push(le(l.flip, () => ke({
|
|
1097
1107
|
fallbackStrategy: "initialPlacement",
|
|
@@ -1101,9 +1111,9 @@ var en = ["popover"], tn = [
|
|
|
1101
1111
|
...e
|
|
1102
1112
|
}))), l.shift && e.push(le(l.shift, () => Fe(), (e) => Fe(e))), l.size) {
|
|
1103
1113
|
let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
|
|
1104
|
-
if (D(r.floating) ||
|
|
1114
|
+
if (D(r.floating) || oe.value) return;
|
|
1105
1115
|
let { style: i } = n.floating;
|
|
1106
|
-
i.maxWidth =
|
|
1116
|
+
i.maxWidth = O(r) ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
|
|
1107
1117
|
};
|
|
1108
1118
|
e.push(le(l.size, () => Ae({ apply: t }), (e) => Ae({
|
|
1109
1119
|
...e,
|
|
@@ -1111,102 +1121,103 @@ var en = ["popover"], tn = [
|
|
|
1111
1121
|
})));
|
|
1112
1122
|
}
|
|
1113
1123
|
return l.arrow && e.push(Ie({ element: y })), e;
|
|
1114
|
-
}), { x:
|
|
1124
|
+
}), { x: ge, y: _e, middlewareData: j, placement: N, strategy: ve, update: L } = Me(x, v, {
|
|
1115
1125
|
placement: E(() => l.placement),
|
|
1116
|
-
strategy:
|
|
1117
|
-
middleware:
|
|
1126
|
+
strategy: ae,
|
|
1127
|
+
middleware: me
|
|
1118
1128
|
}), ye = E(() => {
|
|
1119
|
-
if (
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
top: `${me.value ?? 0}px`,
|
|
1124
|
-
left: `${pe.value ?? 0}px`,
|
|
1125
|
-
width: e
|
|
1129
|
+
if (!oe.value) return {
|
|
1130
|
+
position: ve.value,
|
|
1131
|
+
top: `${_e.value ?? 0}px`,
|
|
1132
|
+
left: `${ge.value ?? 0}px`
|
|
1126
1133
|
};
|
|
1127
|
-
})
|
|
1128
|
-
|
|
1134
|
+
});
|
|
1135
|
+
g(() => l.triggerWidth, (e) => {
|
|
1136
|
+
!e && v.value && (v.value.style.width = "");
|
|
1137
|
+
});
|
|
1138
|
+
let Se = E(() => N.value.split("-")[0]), Ee = E(() => {
|
|
1139
|
+
if (oe.value) return;
|
|
1129
1140
|
let e = {
|
|
1130
|
-
[
|
|
1131
|
-
[
|
|
1132
|
-
[
|
|
1133
|
-
[
|
|
1134
|
-
}[
|
|
1141
|
+
[U.top]: U.bottom,
|
|
1142
|
+
[U.right]: U.left,
|
|
1143
|
+
[U.bottom]: U.top,
|
|
1144
|
+
[U.left]: U.right
|
|
1145
|
+
}[Se.value];
|
|
1135
1146
|
return {
|
|
1136
|
-
left:
|
|
1137
|
-
top:
|
|
1147
|
+
left: j.value.arrow?.x === void 0 ? void 0 : `${j.value.arrow?.x}px`,
|
|
1148
|
+
top: j.value.arrow?.y === void 0 ? void 0 : `${j.value.arrow?.y}px`,
|
|
1138
1149
|
[e]: `${-(y.value?.offsetWidth ?? 0) / 2}px`
|
|
1139
1150
|
};
|
|
1140
|
-
}),
|
|
1141
|
-
get: () =>
|
|
1151
|
+
}), De = be(l, "modelValue", u), Oe = T(!1), z = E({
|
|
1152
|
+
get: () => De.value ?? Oe.value,
|
|
1142
1153
|
set: (e) => {
|
|
1143
|
-
|
|
1154
|
+
De.value === void 0 ? Oe.value = e : De.value = e;
|
|
1144
1155
|
}
|
|
1145
1156
|
});
|
|
1146
1157
|
g([
|
|
1147
|
-
|
|
1158
|
+
z,
|
|
1148
1159
|
x,
|
|
1149
1160
|
v,
|
|
1150
|
-
|
|
1161
|
+
ae
|
|
1151
1162
|
], ([e, t, n, r], i, a) => {
|
|
1152
|
-
e && t && n && a(je(t, n,
|
|
1163
|
+
e && t && n && a(je(t, n, L, { animationFrame: r === Re.fixed }));
|
|
1153
1164
|
}, {
|
|
1154
1165
|
flush: "post",
|
|
1155
1166
|
immediate: !0
|
|
1156
|
-
}),
|
|
1157
|
-
|
|
1167
|
+
}), R(b, () => {
|
|
1168
|
+
z.value && L();
|
|
1158
1169
|
}, {
|
|
1159
1170
|
childList: !0,
|
|
1160
1171
|
subtree: !0,
|
|
1161
1172
|
characterData: !0
|
|
1162
|
-
}),
|
|
1163
|
-
|
|
1173
|
+
}), se(() => {
|
|
1174
|
+
z.value && C();
|
|
1164
1175
|
});
|
|
1165
|
-
function
|
|
1166
|
-
|
|
1176
|
+
function B() {
|
|
1177
|
+
z.value = !0;
|
|
1167
1178
|
}
|
|
1168
|
-
function
|
|
1169
|
-
|
|
1179
|
+
function V() {
|
|
1180
|
+
z.value = !1;
|
|
1170
1181
|
}
|
|
1171
|
-
function
|
|
1172
|
-
|
|
1182
|
+
function H() {
|
|
1183
|
+
z.value = !z.value;
|
|
1173
1184
|
}
|
|
1174
1185
|
function Le(e) {
|
|
1175
1186
|
x.value = e;
|
|
1176
1187
|
}
|
|
1177
|
-
|
|
1178
|
-
!l.keepOpen &&
|
|
1188
|
+
Ce(v, () => {
|
|
1189
|
+
!l.keepOpen && z.value && (z.value = !1);
|
|
1179
1190
|
}, { ignore: [x] });
|
|
1180
|
-
let
|
|
1191
|
+
let ze = E(() => x.value?.getAttribute?.("id") ?? void 0), Be = E(() => ({
|
|
1181
1192
|
"aria-controls": p.value,
|
|
1182
1193
|
"aria-haspopup": !0,
|
|
1183
|
-
"aria-expanded":
|
|
1184
|
-
})), { component:
|
|
1194
|
+
"aria-expanded": z.value
|
|
1195
|
+
})), { component: Ve, bus: W } = Zt({
|
|
1185
1196
|
reference: x,
|
|
1186
1197
|
id: p,
|
|
1187
|
-
expanded:
|
|
1188
|
-
aria:
|
|
1198
|
+
expanded: z,
|
|
1199
|
+
aria: Be
|
|
1189
1200
|
});
|
|
1190
|
-
|
|
1191
|
-
let { role: He, modifiers:
|
|
1201
|
+
W.on("click", H);
|
|
1202
|
+
let { role: He, modifiers: Ue } = P(l), We = Ot("vv-dropdown", Ue, E(() => ({ arrow: l.arrow }))), { focused: Ge } = we(v);
|
|
1192
1203
|
function G(e) {
|
|
1193
1204
|
return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
|
|
1194
1205
|
}
|
|
1195
|
-
function
|
|
1206
|
+
function K() {
|
|
1196
1207
|
o(() => {
|
|
1197
1208
|
let e = G(v.value);
|
|
1198
1209
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
1199
1210
|
});
|
|
1200
1211
|
}
|
|
1201
|
-
function
|
|
1212
|
+
function Ke() {
|
|
1202
1213
|
o(() => {
|
|
1203
1214
|
let e = G(b.value);
|
|
1204
1215
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
1205
1216
|
});
|
|
1206
1217
|
}
|
|
1207
|
-
function
|
|
1218
|
+
function q() {
|
|
1208
1219
|
o(() => {
|
|
1209
|
-
if (
|
|
1220
|
+
if (Ge.value) {
|
|
1210
1221
|
let e = G(v.value);
|
|
1211
1222
|
if (e.length === 0 || !document.activeElement) return;
|
|
1212
1223
|
let t = e.indexOf(document.activeElement);
|
|
@@ -1214,9 +1225,9 @@ var en = ["popover"], tn = [
|
|
|
1214
1225
|
}
|
|
1215
1226
|
});
|
|
1216
1227
|
}
|
|
1217
|
-
function
|
|
1228
|
+
function qe() {
|
|
1218
1229
|
o(() => {
|
|
1219
|
-
if (
|
|
1230
|
+
if (Ge.value) {
|
|
1220
1231
|
let e = G(v.value);
|
|
1221
1232
|
if (e.length === 0 || !document.activeElement) return;
|
|
1222
1233
|
let t = e.indexOf(document.activeElement);
|
|
@@ -1228,41 +1239,41 @@ var en = ["popover"], tn = [
|
|
|
1228
1239
|
}
|
|
1229
1240
|
});
|
|
1230
1241
|
}
|
|
1231
|
-
g(
|
|
1232
|
-
e && l.autofocusFirst &&
|
|
1242
|
+
g(z, (e) => {
|
|
1243
|
+
e && l.autofocusFirst && K();
|
|
1233
1244
|
}), t({
|
|
1234
|
-
toggle:
|
|
1235
|
-
show:
|
|
1236
|
-
hide:
|
|
1245
|
+
toggle: H,
|
|
1246
|
+
show: B,
|
|
1247
|
+
hide: V,
|
|
1237
1248
|
init: Le,
|
|
1238
|
-
focusFirst:
|
|
1239
|
-
focusFirstListElement:
|
|
1240
|
-
focusNext:
|
|
1241
|
-
focusPrev:
|
|
1242
|
-
customPosition:
|
|
1249
|
+
focusFirst: K,
|
|
1250
|
+
focusFirstListElement: Ke,
|
|
1251
|
+
focusNext: q,
|
|
1252
|
+
focusPrev: qe,
|
|
1253
|
+
customPosition: oe
|
|
1243
1254
|
});
|
|
1244
|
-
let { itemRole:
|
|
1255
|
+
let { itemRole: Je } = Qt({
|
|
1245
1256
|
role: He,
|
|
1246
|
-
expanded:
|
|
1247
|
-
focused:
|
|
1248
|
-
hovered:
|
|
1257
|
+
expanded: z,
|
|
1258
|
+
focused: Ge,
|
|
1259
|
+
hovered: xe(v)
|
|
1249
1260
|
});
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}),
|
|
1253
|
-
|
|
1254
|
-
}),
|
|
1255
|
-
|
|
1256
|
-
}),
|
|
1261
|
+
Te("Escape", (e) => {
|
|
1262
|
+
z.value && (e.preventDefault(), V());
|
|
1263
|
+
}), Te("ArrowDown", (e) => {
|
|
1264
|
+
z.value && Ge.value && (e.preventDefault(), q());
|
|
1265
|
+
}), Te("ArrowUp", (e) => {
|
|
1266
|
+
z.value && Ge.value && (e.preventDefault(), qe());
|
|
1267
|
+
}), Te([" ", "Enter"], (e) => {
|
|
1257
1268
|
let t = e.target;
|
|
1258
|
-
|
|
1269
|
+
z.value && Ge.value && t && t?.click();
|
|
1259
1270
|
});
|
|
1260
|
-
let
|
|
1271
|
+
let J = {
|
|
1261
1272
|
"before-enter": () => {
|
|
1262
1273
|
u("beforeExpand"), u("beforeEnter");
|
|
1263
1274
|
},
|
|
1264
1275
|
"after-leave": () => {
|
|
1265
|
-
|
|
1276
|
+
z.value || ie(), u("afterCollapse"), u("afterLeave");
|
|
1266
1277
|
},
|
|
1267
1278
|
enter: () => {
|
|
1268
1279
|
u("enter");
|
|
@@ -1283,59 +1294,59 @@ var en = ["popover"], tn = [
|
|
|
1283
1294
|
u("leaveCancelled");
|
|
1284
1295
|
}
|
|
1285
1296
|
};
|
|
1286
|
-
return (e, t) => (
|
|
1297
|
+
return (e, t) => (I(), F(w, null, [_(M(Ve), null, {
|
|
1287
1298
|
default: k(() => [c(e.$slots, "default", r(i({
|
|
1288
1299
|
init: Le,
|
|
1289
|
-
show:
|
|
1290
|
-
hide:
|
|
1291
|
-
toggle:
|
|
1292
|
-
expanded: M(
|
|
1293
|
-
aria: M(
|
|
1300
|
+
show: B,
|
|
1301
|
+
hide: V,
|
|
1302
|
+
toggle: H,
|
|
1303
|
+
expanded: M(z),
|
|
1304
|
+
aria: M(Be)
|
|
1294
1305
|
})))]),
|
|
1295
1306
|
_: 3
|
|
1296
|
-
}), _(he, h({ name: e.transitionName }, s(
|
|
1297
|
-
default: k(() => [de(
|
|
1307
|
+
}), _(he, h({ name: e.transitionName }, s(J), { persisted: "" }), {
|
|
1308
|
+
default: k(() => [de(ce("div", {
|
|
1298
1309
|
ref_key: "floatingEl",
|
|
1299
1310
|
ref: v,
|
|
1300
1311
|
popover: M(S),
|
|
1301
1312
|
style: m(M(ye)),
|
|
1302
|
-
class: a(M(
|
|
1313
|
+
class: a(M(We))
|
|
1303
1314
|
}, [
|
|
1304
|
-
l.arrow ? (
|
|
1315
|
+
l.arrow ? (I(), F("div", {
|
|
1305
1316
|
key: 0,
|
|
1306
1317
|
ref_key: "arrowEl",
|
|
1307
1318
|
ref: y,
|
|
1308
|
-
style: m(M(
|
|
1319
|
+
style: m(M(Ee)),
|
|
1309
1320
|
class: "vv-dropdown__arrow"
|
|
1310
1321
|
}, null, 4)) : A("v-if", !0),
|
|
1311
1322
|
c(e.$slots, "before", r(i({
|
|
1312
|
-
show:
|
|
1313
|
-
hide:
|
|
1314
|
-
toggle:
|
|
1315
|
-
expanded: M(
|
|
1323
|
+
show: B,
|
|
1324
|
+
hide: V,
|
|
1325
|
+
toggle: H,
|
|
1326
|
+
expanded: M(z)
|
|
1316
1327
|
}))),
|
|
1317
|
-
|
|
1328
|
+
ce("div", h(M(te), {
|
|
1318
1329
|
id: M(p),
|
|
1319
1330
|
ref_key: "listEl",
|
|
1320
1331
|
ref: b,
|
|
1321
|
-
tabindex: M(
|
|
1332
|
+
tabindex: M(z) ? void 0 : -1,
|
|
1322
1333
|
role: M(He),
|
|
1323
|
-
"aria-labelledby": M(
|
|
1334
|
+
"aria-labelledby": M(ze),
|
|
1324
1335
|
class: "vv-dropdown__list"
|
|
1325
1336
|
}), [c(e.$slots, "items", r(i({
|
|
1326
|
-
show:
|
|
1327
|
-
hide:
|
|
1328
|
-
toggle:
|
|
1329
|
-
expanded: M(
|
|
1330
|
-
role: M(
|
|
1337
|
+
show: B,
|
|
1338
|
+
hide: V,
|
|
1339
|
+
toggle: H,
|
|
1340
|
+
expanded: M(z),
|
|
1341
|
+
role: M(Je)
|
|
1331
1342
|
})))], 16, tn),
|
|
1332
1343
|
c(e.$slots, "after", r(i({
|
|
1333
|
-
show:
|
|
1334
|
-
hide:
|
|
1335
|
-
toggle:
|
|
1336
|
-
expanded: M(
|
|
1344
|
+
show: B,
|
|
1345
|
+
hide: V,
|
|
1346
|
+
toggle: H,
|
|
1347
|
+
expanded: M(z)
|
|
1337
1348
|
})))
|
|
1338
|
-
], 14, en), [[ue, M(
|
|
1349
|
+
], 14, en), [[ue, M(z)]])]),
|
|
1339
1350
|
_: 3
|
|
1340
1351
|
}, 16, ["name"])], 64));
|
|
1341
1352
|
}
|
|
@@ -1348,7 +1359,7 @@ var en = ["popover"], tn = [
|
|
|
1348
1359
|
props: { ...$e },
|
|
1349
1360
|
setup(e) {
|
|
1350
1361
|
let t = e;
|
|
1351
|
-
return (e, n) => (
|
|
1362
|
+
return (e, n) => (I(), F("li", rn, [c(e.$slots, "default", {}, () => [N(D(t.label), 1)])]));
|
|
1352
1363
|
}
|
|
1353
1364
|
}), on = /* @__PURE__ */ j({
|
|
1354
1365
|
name: "VvDropdownItem",
|
|
@@ -1356,10 +1367,10 @@ var en = ["popover"], tn = [
|
|
|
1356
1367
|
setup(e) {
|
|
1357
1368
|
let t = e, { role: n, expanded: r } = Bt(), i = T(null);
|
|
1358
1369
|
$t({ expanded: r });
|
|
1359
|
-
let a =
|
|
1370
|
+
let a = xe(i), { focused: o } = Se(i), { focused: s } = we(i);
|
|
1360
1371
|
return g(a, (e) => {
|
|
1361
1372
|
e && t.focusOnHover && (o.value = !0);
|
|
1362
|
-
}), (e, t) => (
|
|
1373
|
+
}), (e, t) => (I(), F("div", h({ role: M(n) }, {
|
|
1363
1374
|
ref_key: "element",
|
|
1364
1375
|
ref: i,
|
|
1365
1376
|
class: ["vv-dropdown__item", { "focus-visible": M(o) || M(s) }]
|
|
@@ -1369,19 +1380,19 @@ var en = ["popover"], tn = [
|
|
|
1369
1380
|
name: "VvDropdownOption",
|
|
1370
1381
|
props: Yt,
|
|
1371
1382
|
setup(e) {
|
|
1372
|
-
let t = e, { modifiers: n } =
|
|
1383
|
+
let t = e, { modifiers: n } = P(t), o = Ot("vv-dropdown-option", n, E(() => ({
|
|
1373
1384
|
disabled: t.disabled,
|
|
1374
1385
|
selected: t.selected,
|
|
1375
1386
|
unselectable: t.unselectable && t.selected
|
|
1376
1387
|
}))), s = E(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
|
|
1377
|
-
return (e, t) => (
|
|
1388
|
+
return (e, t) => (I(), S(on, {
|
|
1378
1389
|
class: a(M(o)),
|
|
1379
1390
|
tabindex: e.disabled ? -1 : 0,
|
|
1380
1391
|
"aria-selected": e.selected,
|
|
1381
1392
|
"aria-disabled": e.disabled,
|
|
1382
1393
|
"focus-on-hover": e.focusOnHover
|
|
1383
1394
|
}, {
|
|
1384
|
-
default: k(() => [c(e.$slots, "default"),
|
|
1395
|
+
default: k(() => [c(e.$slots, "default"), ce("span", {
|
|
1385
1396
|
class: "vv-dropdown-option__hint",
|
|
1386
1397
|
title: M(s)
|
|
1387
1398
|
}, [c(e.$slots, "hint", r(i({
|
|
@@ -1472,13 +1483,13 @@ function fn(e, t, n) {
|
|
|
1472
1483
|
});
|
|
1473
1484
|
}
|
|
1474
1485
|
function pn(e, t) {
|
|
1475
|
-
let { focused: n } =
|
|
1486
|
+
let { focused: n } = Se(e);
|
|
1476
1487
|
return g(n, (n) => {
|
|
1477
1488
|
t(n ? "focus" : "blur", M(e));
|
|
1478
1489
|
}), { focused: n };
|
|
1479
1490
|
}
|
|
1480
1491
|
function mn(e) {
|
|
1481
|
-
let { options: t, labelKey: n, valueKey: r, disabledKey: i } =
|
|
1492
|
+
let { options: t, labelKey: n, valueKey: r, disabledKey: i } = P(e);
|
|
1482
1493
|
return {
|
|
1483
1494
|
options: t,
|
|
1484
1495
|
getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? B(e, n.value) : e),
|
|
@@ -1507,38 +1518,38 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1507
1518
|
function te(e) {
|
|
1508
1519
|
return typeof e != "string" && e.options?.length;
|
|
1509
1520
|
}
|
|
1510
|
-
let { id: ne, modifiers: v, disabled: y, readonly: x, loading:
|
|
1521
|
+
let { id: ne, modifiers: v, disabled: y, readonly: x, loading: ie, icon: ae, iconPosition: oe, invalid: se, valid: le, floating: ue, multiple: fe } = P(n), O = Ut(ne), pe = E(() => `${O.value}-hint`), he = E(() => n.disabled || n.readonly), ge = E(() => he.value ? -1 : n.tabindex), j = E({
|
|
1511
1522
|
get: () => n.modelValue,
|
|
1512
1523
|
set: (e) => {
|
|
1513
1524
|
Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !n.unselectable && u.value) ? u.value.value = String(n.modelValue) : o("update:modelValue", e);
|
|
1514
1525
|
}
|
|
1515
|
-
}), N = E(() => Array.isArray(j.value) ? j.value.length > 0 : j.value !== void 0 && j.value !== null),
|
|
1516
|
-
g(
|
|
1526
|
+
}), N = E(() => Array.isArray(j.value) ? j.value.length > 0 : j.value !== void 0 && j.value !== null), ve = E(() => !he.value && n.unselectable), L = De(u);
|
|
1527
|
+
g(L, (e) => {
|
|
1517
1528
|
e && n.autofocus && (m.value = !0);
|
|
1518
1529
|
});
|
|
1519
|
-
let { hasIconBefore:
|
|
1530
|
+
let { hasIconBefore: ye, hasIconAfter: be } = At(ae, oe), xe = E(() => {
|
|
1520
1531
|
if (n.invalid === !0) return !0;
|
|
1521
1532
|
if (n.valid === !0) return !1;
|
|
1522
|
-
}),
|
|
1533
|
+
}), Se = Ot("vv-select", v, E(() => ({
|
|
1523
1534
|
valid: le.value,
|
|
1524
|
-
invalid:
|
|
1525
|
-
loading:
|
|
1535
|
+
invalid: se.value,
|
|
1536
|
+
loading: ie.value,
|
|
1526
1537
|
disabled: y.value,
|
|
1527
1538
|
readonly: x.value,
|
|
1528
|
-
"icon-before":
|
|
1529
|
-
"icon-after":
|
|
1539
|
+
"icon-before": ye.value !== void 0,
|
|
1540
|
+
"icon-after": be.value !== void 0,
|
|
1530
1541
|
dirty: N.value,
|
|
1531
1542
|
focus: m.value && !he.value,
|
|
1532
1543
|
floating: ue.value,
|
|
1533
1544
|
multiple: fe.value
|
|
1534
|
-
}))), { getOptionLabel:
|
|
1545
|
+
}))), { getOptionLabel: R, getOptionValue: Ce, isOptionDisabled: we, getOptionGrouped: Te } = mn(n);
|
|
1535
1546
|
g(() => n.options, (e) => {
|
|
1536
1547
|
if (e?.length && n.autoselectFirst && !N.value) {
|
|
1537
|
-
let t =
|
|
1548
|
+
let t = Ce(e[0]);
|
|
1538
1549
|
j.value = n.multiple ? [t] : t;
|
|
1539
1550
|
}
|
|
1540
1551
|
}, { immediate: !0 });
|
|
1541
|
-
function
|
|
1552
|
+
function Ee() {
|
|
1542
1553
|
Array.isArray(j.value) ? j.value = [] : j.value = void 0, o("clear");
|
|
1543
1554
|
}
|
|
1544
1555
|
let Oe = E(() => ({
|
|
@@ -1551,7 +1562,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1551
1562
|
multiple: n.multiple,
|
|
1552
1563
|
"aria-label": n.ariaLabel || void 0,
|
|
1553
1564
|
"aria-labelledby": n.ariaLabelledby || void 0,
|
|
1554
|
-
"aria-invalid":
|
|
1565
|
+
"aria-invalid": xe.value,
|
|
1555
1566
|
"aria-describedby": [n.ariaDescribedby, ee.value ? pe.value : void 0].filter(Boolean).join(" ") || void 0,
|
|
1556
1567
|
"aria-errormessage": f.value ? pe.value : void 0
|
|
1557
1568
|
})), ke = E(() => ({
|
|
@@ -1559,57 +1570,57 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1559
1570
|
invalid: n.invalid,
|
|
1560
1571
|
modelValue: n.modelValue
|
|
1561
1572
|
}));
|
|
1562
|
-
return (e, t) => (
|
|
1563
|
-
e.label ? (
|
|
1573
|
+
return (e, t) => (I(), F("div", { class: a(M(Se)) }, [
|
|
1574
|
+
e.label ? (I(), F("label", {
|
|
1564
1575
|
key: 0,
|
|
1565
1576
|
for: M(O)
|
|
1566
1577
|
}, D(e.label), 9, hn)) : A("v-if", !0),
|
|
1567
|
-
|
|
1568
|
-
e.$slots.before ? (
|
|
1569
|
-
|
|
1570
|
-
M(
|
|
1571
|
-
de(
|
|
1578
|
+
ce("div", gn, [
|
|
1579
|
+
e.$slots.before ? (I(), F("div", _n, [c(e.$slots, "before", r(i(M(ke))))])) : A("v-if", !0),
|
|
1580
|
+
ce("div", vn, [
|
|
1581
|
+
M(ye) ? (I(), S(kt, h({ key: 0 }, M(ye), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
|
|
1582
|
+
de(ce("select", h({
|
|
1572
1583
|
id: M(O),
|
|
1573
1584
|
ref_key: "selectEl",
|
|
1574
1585
|
ref: u
|
|
1575
|
-
}, M(Oe), { "onUpdate:modelValue": t[0] ||= (e) => _e(j) ? j.value = e : null }), [e.placeholder ? (
|
|
1586
|
+
}, M(Oe), { "onUpdate:modelValue": t[0] ||= (e) => _e(j) ? j.value = e : null }), [e.placeholder ? (I(), F("option", {
|
|
1576
1587
|
key: 0,
|
|
1577
1588
|
value: void 0,
|
|
1578
|
-
disabled: !M(
|
|
1579
|
-
hidden: !M(
|
|
1580
|
-
}, D(e.placeholder), 9, bn)) : A("v-if", !0), (
|
|
1589
|
+
disabled: !M(ve),
|
|
1590
|
+
hidden: !M(ve)
|
|
1591
|
+
}, D(e.placeholder), 9, bn)) : A("v-if", !0), (I(!0), F(w, null, b(e.options, (e, t) => (I(), F(w, null, [te(e) ? (I(), F("optgroup", {
|
|
1581
1592
|
key: `group-${t}`,
|
|
1582
|
-
disabled: M(
|
|
1583
|
-
label: M(
|
|
1584
|
-
}, [(
|
|
1593
|
+
disabled: M(we)(e),
|
|
1594
|
+
label: M(R)(e)
|
|
1595
|
+
}, [(I(!0), F(w, null, b(M(Te)(e), (e, n) => (I(), F("option", {
|
|
1585
1596
|
key: `group-${t}-item-${n}`,
|
|
1586
|
-
disabled: M(
|
|
1587
|
-
value: M(
|
|
1588
|
-
}, D(M(
|
|
1597
|
+
disabled: M(we)(e),
|
|
1598
|
+
value: M(Ce)(e)
|
|
1599
|
+
}, D(M(R)(e)), 9, Cn))), 128))], 8, Sn)) : (I(), F("option", {
|
|
1589
1600
|
key: t,
|
|
1590
|
-
disabled: M(
|
|
1591
|
-
value: M(
|
|
1592
|
-
}, D(M(
|
|
1593
|
-
M(
|
|
1601
|
+
disabled: M(we)(e),
|
|
1602
|
+
value: M(Ce)(e)
|
|
1603
|
+
}, D(M(R)(e)), 9, xn))], 64))), 256))], 16, yn), [[me, M(j)]]),
|
|
1604
|
+
M(be) ? (I(), S(kt, h({ key: 1 }, M(be), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
|
|
1594
1605
|
]),
|
|
1595
|
-
M(
|
|
1606
|
+
M(ve) && M(l).showClearAction ? (I(), S(M(jt), {
|
|
1596
1607
|
key: 1,
|
|
1597
1608
|
"input-type": "select",
|
|
1598
1609
|
label: e.labelClear,
|
|
1599
1610
|
icon: e.iconClear,
|
|
1600
1611
|
disabled: !M(N),
|
|
1601
|
-
onClear:
|
|
1612
|
+
onClear: Ee
|
|
1602
1613
|
}, null, 8, [
|
|
1603
1614
|
"label",
|
|
1604
1615
|
"icon",
|
|
1605
1616
|
"disabled"
|
|
1606
1617
|
])) : A("v-if", !0),
|
|
1607
|
-
e.$slots.after ? (
|
|
1618
|
+
e.$slots.after ? (I(), F("div", wn, [c(e.$slots, "after", r(i(M(ke))))])) : A("v-if", !0)
|
|
1608
1619
|
]),
|
|
1609
1620
|
_(M(d), {
|
|
1610
1621
|
id: M(pe),
|
|
1611
1622
|
class: "vv-select__hint"
|
|
1612
|
-
},
|
|
1623
|
+
}, C({ _: 2 }, [
|
|
1613
1624
|
e.$slots.hint ? {
|
|
1614
1625
|
name: "hint",
|
|
1615
1626
|
fn: k(() => [c(e.$slots, "hint", r(i(M(p))))]),
|
|
@@ -1680,22 +1691,22 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1680
1691
|
"change:search"
|
|
1681
1692
|
], ["update:search"]),
|
|
1682
1693
|
setup(e, { emit: t }) {
|
|
1683
|
-
let n = e, o = t, s = re(), d = fn("VvCombobox", _t(), n), ee = T(null), f = T(null), p = T(null), m = T(), { HintSlot: te, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: v, hintSlotScope: y } = Et(d, s), { focused: x } = pn(ee, o), { focused:
|
|
1694
|
+
let n = e, o = t, s = re(), d = fn("VvCombobox", _t(), n), ee = T(null), f = T(null), p = T(null), m = T(), { HintSlot: te, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: v, hintSlotScope: y } = Et(d, s), { focused: x } = pn(ee, o), { focused: ie } = we(p), se;
|
|
1684
1695
|
function le() {
|
|
1685
|
-
clearTimeout(
|
|
1686
|
-
!x.value && !
|
|
1696
|
+
clearTimeout(se), se = setTimeout(() => {
|
|
1697
|
+
!x.value && !ie.value && O.value && he();
|
|
1687
1698
|
}, 50);
|
|
1688
1699
|
}
|
|
1689
|
-
l(() => clearTimeout(
|
|
1700
|
+
l(() => clearTimeout(se)), g(x, (e) => {
|
|
1690
1701
|
if (n.autoOpen) {
|
|
1691
1702
|
if (e && !O.value) {
|
|
1692
|
-
clearTimeout(
|
|
1703
|
+
clearTimeout(se), me();
|
|
1693
1704
|
return;
|
|
1694
1705
|
}
|
|
1695
|
-
!e && O.value && !
|
|
1706
|
+
!e && O.value && !ie.value && le();
|
|
1696
1707
|
}
|
|
1697
|
-
}), g(
|
|
1698
|
-
e ? clearTimeout(
|
|
1708
|
+
}), g(ie, (e) => {
|
|
1709
|
+
e ? clearTimeout(se) : !x.value && O.value && le();
|
|
1699
1710
|
});
|
|
1700
1711
|
let ue = u(e, "search"), fe = Oe(ue, E(() => Number(n.debounceSearch)));
|
|
1701
1712
|
g(fe, () => {
|
|
@@ -1714,57 +1725,57 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1714
1725
|
function j() {
|
|
1715
1726
|
d.value.searchable && f.value && (f.value.closest(".vv-dropdown")?.contains(document.activeElement) || f.value.focus({ preventScroll: !0 }));
|
|
1716
1727
|
}
|
|
1717
|
-
function
|
|
1728
|
+
function ve() {
|
|
1718
1729
|
d.value.keepSearch || (ue.value = "");
|
|
1719
1730
|
}
|
|
1720
|
-
function
|
|
1731
|
+
function L(e) {
|
|
1721
1732
|
return typeof e != "string" && e.options?.length;
|
|
1722
1733
|
}
|
|
1723
|
-
let { id:
|
|
1734
|
+
let { id: ye, icon: be, iconPosition: xe, modifiers: Se, disabled: R, required: Ce, readonly: Te, loading: De, valid: ke, invalid: Ae, floating: je } = P(n), z = Ut(ye), Me = E(() => `${z.value}-hint`), Ne = E(() => `${z.value}-dropdown`), Pe = E(() => `${z.value}-search`), Fe = E(() => `${z.value}-label`), Ie = E(() => [n.ariaDescribedby, ne.value ? Me.value : void 0].filter(Boolean).join(" ") || void 0), B = E(() => n.disabled || n.readonly), V = E(() => B.value ? -1 : n.tabindex), H = E({
|
|
1724
1735
|
get: () => Array.isArray(n.modelValue) ? n.modelValue : n.modelValue !== void 0 && n.modelValue !== null ? [n.modelValue] : [],
|
|
1725
1736
|
set: (e) => {
|
|
1726
1737
|
o("update:modelValue", n.multiple || Array.isArray(n.modelValue) ? e : e.pop());
|
|
1727
1738
|
}
|
|
1728
|
-
}),
|
|
1729
|
-
disabled:
|
|
1730
|
-
required:
|
|
1731
|
-
loading:
|
|
1732
|
-
readonly:
|
|
1733
|
-
"icon-before":
|
|
1734
|
-
"icon-after":
|
|
1739
|
+
}), Le = E(() => H.value.length), Re = E(() => Le.value > 0), U = E(() => n.multiple ? n.maxValues === void 0 ? 1 / 0 : Number(n.maxValues) : 1), ze = E(() => B.value || !n.unselectable ? !1 : Number(n.minValues) === 0 || Le.value > Number(n.minValues)), Be = E(() => B.value ? !1 : !n.multiple || Le.value < U.value), Ve = T(!1), W = E(() => Ve.value || De.value), { hasIconBefore: He, hasIconAfter: We } = At(be, xe), Ge = Ot("vv-select", Se, E(() => ({
|
|
1740
|
+
disabled: R.value,
|
|
1741
|
+
required: Ce.value,
|
|
1742
|
+
loading: W.value,
|
|
1743
|
+
readonly: Te.value,
|
|
1744
|
+
"icon-before": He.value !== void 0,
|
|
1745
|
+
"icon-after": We.value !== void 0,
|
|
1735
1746
|
valid: ke.value,
|
|
1736
1747
|
invalid: Ae.value,
|
|
1737
|
-
dirty:
|
|
1738
|
-
focus: (x.value ||
|
|
1748
|
+
dirty: Re.value,
|
|
1749
|
+
focus: (x.value || ie.value || O.value) && !B.value,
|
|
1739
1750
|
floating: je.value,
|
|
1740
1751
|
badges: n.badges
|
|
1741
|
-
}))),
|
|
1742
|
-
let e = [...
|
|
1743
|
-
for (let t of n.options)
|
|
1752
|
+
}))), G = T(/* @__PURE__ */ new Set()), { getOptionLabel: K, getOptionValue: Ke, getOptionGrouped: q, isOptionDisabled: qe } = mn(n), Je = E(() => {
|
|
1753
|
+
let e = [...G.value];
|
|
1754
|
+
for (let t of n.options) L(t) ? e.push(...q(t)) : e.push(t);
|
|
1744
1755
|
return e;
|
|
1745
1756
|
}), J = E(() => {
|
|
1746
|
-
let e = [...n.options, ...
|
|
1747
|
-
for (let t of
|
|
1757
|
+
let e = [...n.options, ...G.value];
|
|
1758
|
+
for (let t of H.value) Je.value.some((e) => {
|
|
1748
1759
|
let n = Ke(e);
|
|
1749
1760
|
return typeof n == "object" && typeof t == "object" ? JSON.stringify(n) === JSON.stringify(t) : n === t;
|
|
1750
1761
|
}) || e.push(t);
|
|
1751
1762
|
return e;
|
|
1752
1763
|
});
|
|
1753
|
-
g(
|
|
1764
|
+
g(G, (e) => {
|
|
1754
1765
|
e.size > 0 && o("update:options", J.value);
|
|
1755
1766
|
});
|
|
1756
1767
|
function Y(e) {
|
|
1757
|
-
return qe(e) || !
|
|
1768
|
+
return qe(e) || !Be.value && !Z(e);
|
|
1758
1769
|
}
|
|
1759
|
-
let X =
|
|
1770
|
+
let X = Ee(async () => {
|
|
1760
1771
|
if (d.value.searchFunction) {
|
|
1761
|
-
|
|
1772
|
+
Ve.value = !0;
|
|
1762
1773
|
let e = await Promise.resolve(d.value.searchFunction(fe.value, J.value));
|
|
1763
|
-
return
|
|
1774
|
+
return Ve.value = !1, e;
|
|
1764
1775
|
}
|
|
1765
1776
|
let e = fe.value.toLowerCase().trim();
|
|
1766
1777
|
return e ? J.value?.reduce((t, n) => {
|
|
1767
|
-
if (
|
|
1778
|
+
if (L(n)) {
|
|
1768
1779
|
let r = K(n).toLowerCase(), i = q(n).filter((t) => K(t).toLowerCase().includes(e));
|
|
1769
1780
|
if (r.includes(e)) t.push(n);
|
|
1770
1781
|
else if (i.length > 0) {
|
|
@@ -1781,27 +1792,27 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1781
1792
|
});
|
|
1782
1793
|
function Z(e) {
|
|
1783
1794
|
let t = Ke(e);
|
|
1784
|
-
return typeof t == "object" ?
|
|
1795
|
+
return typeof t == "object" ? H.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : H.value.includes(t);
|
|
1785
1796
|
}
|
|
1786
|
-
let Ye = E(() => J.value.reduce((e, t) =>
|
|
1797
|
+
let Ye = E(() => J.value.reduce((e, t) => L(t) ? [...e, ...q(t)] : [...e, t], []).filter((e) => Z(e))), Xe = E(() => Ye.value.map((e) => K(e)).join(n.separator));
|
|
1787
1798
|
function Ze() {
|
|
1788
1799
|
n.autoOpen ? me() : pe();
|
|
1789
1800
|
}
|
|
1790
1801
|
function Q(e) {
|
|
1791
1802
|
let t = Z(e), r = Ke(e);
|
|
1792
|
-
t &&
|
|
1803
|
+
t && ze.value ? H.value = H.value.filter((e) => typeof r == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(r) : e !== r) : !t && Be.value && (n.multiple ? H.value = [...H.value, r] : H.value = [r]), !n.multiple && !n.keepOpen && he();
|
|
1793
1804
|
}
|
|
1794
1805
|
function Qe() {
|
|
1795
|
-
|
|
1806
|
+
H.value = [], o("update:search", ""), o("clear");
|
|
1796
1807
|
}
|
|
1797
1808
|
g(J, (e) => {
|
|
1798
|
-
if (e?.length && n.autoselectFirst && !
|
|
1799
|
-
let t = e.find((e) => !
|
|
1809
|
+
if (e?.length && n.autoselectFirst && !Re.value) {
|
|
1810
|
+
let t = e.find((e) => !L(e));
|
|
1800
1811
|
if (t) {
|
|
1801
1812
|
Q(t);
|
|
1802
1813
|
return;
|
|
1803
1814
|
}
|
|
1804
|
-
let n = e.find((e) =>
|
|
1815
|
+
let n = e.find((e) => L(e));
|
|
1805
1816
|
if (n) {
|
|
1806
1817
|
let e = q(n);
|
|
1807
1818
|
e.length && Q(e[0]);
|
|
@@ -1811,16 +1822,16 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1811
1822
|
let $e = E(() => ({
|
|
1812
1823
|
id: z.value,
|
|
1813
1824
|
name: n.name,
|
|
1814
|
-
tabindex:
|
|
1825
|
+
tabindex: V.value,
|
|
1815
1826
|
valid: ke.value,
|
|
1816
1827
|
validLabel: d.value.validLabel,
|
|
1817
1828
|
invalid: Ae.value,
|
|
1818
1829
|
invalidLabel: d.value.invalidLabel,
|
|
1819
1830
|
hintLabel: d.value.hintLabel,
|
|
1820
|
-
loading:
|
|
1831
|
+
loading: W.value,
|
|
1821
1832
|
loadingLabel: d.value.loadingLabel,
|
|
1822
|
-
disabled:
|
|
1823
|
-
readonly:
|
|
1833
|
+
disabled: R.value,
|
|
1834
|
+
readonly: Te.value,
|
|
1824
1835
|
modifiers: d.value.modifiers,
|
|
1825
1836
|
options: d.value.options,
|
|
1826
1837
|
labelKey: d.value.labelKey,
|
|
@@ -1828,7 +1839,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1828
1839
|
icon: d.value.icon,
|
|
1829
1840
|
iconPosition: d.value.iconPosition,
|
|
1830
1841
|
floating: d.value.floating,
|
|
1831
|
-
unselectable:
|
|
1842
|
+
unselectable: ze.value,
|
|
1832
1843
|
autoselectFirst: d.value.autoselectFirst,
|
|
1833
1844
|
multiple: d.value.multiple,
|
|
1834
1845
|
label: d.value.label,
|
|
@@ -1864,7 +1875,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1864
1875
|
if (X.value?.length) {
|
|
1865
1876
|
if (X.value.length === 1) {
|
|
1866
1877
|
let e = X.value[0];
|
|
1867
|
-
if (
|
|
1878
|
+
if (L(e)) {
|
|
1868
1879
|
let t = q(e);
|
|
1869
1880
|
t.length && Q(t[0]);
|
|
1870
1881
|
return;
|
|
@@ -1876,20 +1887,20 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1876
1887
|
} else if (d.value.addable) {
|
|
1877
1888
|
let e = ue.value.trim();
|
|
1878
1889
|
if (!e || Je.value.some((t) => K(t).toLowerCase() === e.toLowerCase())) return;
|
|
1879
|
-
|
|
1890
|
+
G.value.add(e), Q(e);
|
|
1880
1891
|
}
|
|
1881
1892
|
}
|
|
1882
|
-
return (e, t) => e.native ? (
|
|
1893
|
+
return (e, t) => e.native ? (I(), S(Tn, h({ key: 1 }, M($e), { "onUpdate:modelValue": t[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (I(), F("div", {
|
|
1883
1894
|
key: 0,
|
|
1884
1895
|
id: M(z),
|
|
1885
|
-
class: a(M(
|
|
1896
|
+
class: a(M(Ge))
|
|
1886
1897
|
}, [
|
|
1887
|
-
e.label ? (
|
|
1898
|
+
e.label ? (I(), F("label", {
|
|
1888
1899
|
key: 0,
|
|
1889
1900
|
id: M(Fe),
|
|
1890
1901
|
for: M(d).searchable ? M(Pe) : void 0
|
|
1891
1902
|
}, D(e.label), 9, Dn)) : A("v-if", !0),
|
|
1892
|
-
|
|
1903
|
+
ce("div", {
|
|
1893
1904
|
ref_key: "wrapperEl",
|
|
1894
1905
|
ref: p,
|
|
1895
1906
|
class: "vv-select__wrapper"
|
|
@@ -1899,15 +1910,15 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1899
1910
|
modelValue: M(O),
|
|
1900
1911
|
"onUpdate:modelValue": t[2] ||= (e) => _e(O) ? O.value = e : null
|
|
1901
1912
|
}, M(et), {
|
|
1902
|
-
role: M(
|
|
1913
|
+
role: M(Ue).listbox,
|
|
1903
1914
|
onAfterExpand: j,
|
|
1904
|
-
onAfterCollapse:
|
|
1905
|
-
}),
|
|
1915
|
+
onAfterCollapse: ve
|
|
1916
|
+
}), C({
|
|
1906
1917
|
default: k(({ aria: t }) => [
|
|
1907
|
-
e.$slots.before ? (
|
|
1908
|
-
|
|
1909
|
-
M(
|
|
1910
|
-
|
|
1918
|
+
e.$slots.before ? (I(), F("div", kn, [c(e.$slots, "before", r(i(M(tt))))])) : A("v-if", !0),
|
|
1919
|
+
ce("div", An, [
|
|
1920
|
+
M(He) ? (I(), S(kt, h({ key: 0 }, M(He), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
|
|
1921
|
+
ce("div", h({
|
|
1911
1922
|
ref_key: "inputEl",
|
|
1912
1923
|
ref: ee
|
|
1913
1924
|
}, t, {
|
|
@@ -1919,51 +1930,51 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1919
1930
|
"aria-labelledby": e.ariaLabelledby || (e.label ? M(Fe) : void 0),
|
|
1920
1931
|
"aria-describedby": M(Ie),
|
|
1921
1932
|
"aria-errormessage": M(v) ? M(Me) : void 0,
|
|
1922
|
-
tabindex: M(
|
|
1933
|
+
tabindex: M(V),
|
|
1923
1934
|
onClickPassive: Ze,
|
|
1924
1935
|
onKeydown: $
|
|
1925
1936
|
}), [M(Xe) ? c(e.$slots, "value", r(i({
|
|
1926
1937
|
selectedOptions: M(Ye),
|
|
1927
1938
|
onInput: Q
|
|
1928
|
-
})), () => [e.badges ? (
|
|
1939
|
+
})), () => [e.badges ? (I(!0), F(w, { key: 1 }, b(M(Ye), (t, n) => (I(), S(Nt, {
|
|
1929
1940
|
key: n,
|
|
1930
1941
|
modifiers: e.badgeModifiers,
|
|
1931
1942
|
class: "vv-select__badge"
|
|
1932
1943
|
}, {
|
|
1933
|
-
default: k(() => [N(D(M(K)(t)) + " ", 1), M(
|
|
1944
|
+
default: k(() => [N(D(M(K)(t)) + " ", 1), M(ze) ? (I(), F("button", {
|
|
1934
1945
|
key: 0,
|
|
1935
1946
|
"aria-label": M(d).deselectActionLabel,
|
|
1936
1947
|
type: "button",
|
|
1937
|
-
onClick:
|
|
1948
|
+
onClick: oe((e) => Q(t), ["stop"])
|
|
1938
1949
|
}, [_(kt, { name: "close" })], 8, Nn)) : A("v-if", !0)]),
|
|
1939
1950
|
_: 2
|
|
1940
|
-
}, 1032, ["modifiers"]))), 128)) : (
|
|
1941
|
-
M(
|
|
1951
|
+
}, 1032, ["modifiers"]))), 128)) : (I(), F("div", Mn, D(M(Xe)), 1))], void 0, 0) : c(e.$slots, "placeholder", {}, () => [N(D(e.placeholder), 1)], void 0, 1)], 16, jn),
|
|
1952
|
+
M(We) ? (I(), S(kt, h({ key: 1 }, M(We), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
|
|
1942
1953
|
]),
|
|
1943
|
-
M(
|
|
1954
|
+
M(ze) && M(d).showClearAction ? (I(), S(M(jt), {
|
|
1944
1955
|
key: 1,
|
|
1945
1956
|
"input-type": "select",
|
|
1946
1957
|
label: e.labelClear,
|
|
1947
1958
|
icon: e.iconClear,
|
|
1948
|
-
disabled: !M(
|
|
1959
|
+
disabled: !M(Re),
|
|
1949
1960
|
onClear: Qe
|
|
1950
1961
|
}, null, 8, [
|
|
1951
1962
|
"label",
|
|
1952
1963
|
"icon",
|
|
1953
1964
|
"disabled"
|
|
1954
1965
|
])) : A("v-if", !0),
|
|
1955
|
-
e.$slots.after ? (
|
|
1966
|
+
e.$slots.after ? (I(), F("div", Pn, [c(e.$slots, "after", r(i(M(tt))))])) : A("v-if", !0)
|
|
1956
1967
|
]),
|
|
1957
|
-
items: k(() => [!M(
|
|
1968
|
+
items: k(() => [!M(R) && M(X)?.length ? (I(!0), F(w, { key: 0 }, b(M(X), (t, n) => (I(), F(w, { key: n }, [L(t) ? (I(), F(w, { key: 0 }, [_(an, { label: M(K)(t) }, {
|
|
1958
1969
|
default: k(() => [c(e.$slots, "option-group", h({ ref_for: !0 }, {
|
|
1959
1970
|
option: t,
|
|
1960
1971
|
selectedOptions: M(Ye)
|
|
1961
1972
|
}), () => [N(D(M(K)(t)), 1)])]),
|
|
1962
1973
|
_: 2
|
|
1963
|
-
}, 1032, ["label"]), (
|
|
1974
|
+
}, 1032, ["label"]), (I(!0), F(w, null, b(M(q)(t), (t, n) => (I(), S(cn, h({ ref_for: !0 }, {
|
|
1964
1975
|
selected: Z(t),
|
|
1965
1976
|
disabled: Y(t),
|
|
1966
|
-
unselectable: M(
|
|
1977
|
+
unselectable: M(ze),
|
|
1967
1978
|
deselectHintLabel: M(d).deselectHintLabel,
|
|
1968
1979
|
selectHintLabel: M(d).selectHintLabel,
|
|
1969
1980
|
selectedHintLabel: M(d).selectedHintLabel,
|
|
@@ -1980,13 +1991,13 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1980
1991
|
disabled: Y(t)
|
|
1981
1992
|
}), () => [N(D(M(K)(t)), 1)])]),
|
|
1982
1993
|
_: 2
|
|
1983
|
-
}, 1040, ["onClickPassive"]))), 128))], 64)) : (
|
|
1994
|
+
}, 1040, ["onClickPassive"]))), 128))], 64)) : (I(), S(cn, h({
|
|
1984
1995
|
key: 1,
|
|
1985
1996
|
ref_for: !0
|
|
1986
1997
|
}, {
|
|
1987
1998
|
selected: Z(t),
|
|
1988
1999
|
disabled: Y(t),
|
|
1989
|
-
unselectable: M(
|
|
2000
|
+
unselectable: M(ze),
|
|
1990
2001
|
deselectHintLabel: M(d).deselectHintLabel,
|
|
1991
2002
|
selectHintLabel: M(d).selectHintLabel,
|
|
1992
2003
|
selectedHintLabel: M(d).selectedHintLabel,
|
|
@@ -2002,20 +2013,20 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2002
2013
|
disabled: Y(t)
|
|
2003
2014
|
}), () => [N(D(M(K)(t)), 1)])]),
|
|
2004
2015
|
_: 2
|
|
2005
|
-
}, 1040, ["onClickPassive"]))], 64))), 128)) : e.options.length ? (
|
|
2016
|
+
}, 1040, ["onClickPassive"]))], 64))), 128)) : e.options.length ? (I(), S(cn, {
|
|
2006
2017
|
key: 2,
|
|
2007
2018
|
modifiers: "inert"
|
|
2008
2019
|
}, {
|
|
2009
2020
|
default: k(() => [c(e.$slots, "no-results", {}, () => [N(D(M(d).addable ? M(d).addOptionHintLabel : M(d).noResultsLabel), 1)])]),
|
|
2010
2021
|
_: 3
|
|
2011
|
-
})) : (
|
|
2022
|
+
})) : (I(), S(cn, {
|
|
2012
2023
|
key: 1,
|
|
2013
2024
|
modifiers: "inert"
|
|
2014
2025
|
}, {
|
|
2015
2026
|
default: k(() => [c(e.$slots, "no-options", {}, () => [N(D(M(d).addable && ue.value.length ? M(d).addOptionHintLabel : M(d).noOptionsLabel), 1)])]),
|
|
2016
2027
|
_: 3
|
|
2017
2028
|
}))]),
|
|
2018
|
-
after: k(() => [c(e.$slots, "dropdown::after", {}, () => [M(m)?.customPosition ? (
|
|
2029
|
+
after: k(() => [c(e.$slots, "dropdown::after", {}, () => [M(m)?.customPosition ? (I(), S(Kt, {
|
|
2019
2030
|
key: 0,
|
|
2020
2031
|
label: M(d).closeLabel,
|
|
2021
2032
|
modifiers: "secondary",
|
|
@@ -2024,7 +2035,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2024
2035
|
_: 2
|
|
2025
2036
|
}, [M(d).searchable || e.$slots["dropdown::before"] ? {
|
|
2026
2037
|
name: "before",
|
|
2027
|
-
fn: k(() => [c(e.$slots, "dropdown::before"), M(d).searchable && !M(
|
|
2038
|
+
fn: k(() => [c(e.$slots, "dropdown::before"), M(d).searchable && !M(R) ? de((I(), F("input", {
|
|
2028
2039
|
key: 0,
|
|
2029
2040
|
id: M(Pe),
|
|
2030
2041
|
ref_key: "inputSearchEl",
|
|
@@ -2038,13 +2049,13 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2038
2049
|
class: "vv-dropdown__search",
|
|
2039
2050
|
placeholder: M(d).searchPlaceholder,
|
|
2040
2051
|
onKeyup: ge(nt, ["enter"])
|
|
2041
|
-
}, null, 40, On)), [[
|
|
2052
|
+
}, null, 40, On)), [[ae, ue.value]]) : A("v-if", !0)]),
|
|
2042
2053
|
key: "0"
|
|
2043
2054
|
} : void 0]), 1040, ["modelValue", "role"])], 512),
|
|
2044
2055
|
_(M(te), {
|
|
2045
2056
|
id: M(Me),
|
|
2046
2057
|
class: "vv-select__hint"
|
|
2047
|
-
},
|
|
2058
|
+
}, C({ _: 2 }, [
|
|
2048
2059
|
e.$slots.hint ? {
|
|
2049
2060
|
name: "hint",
|
|
2050
2061
|
fn: k(() => [c(e.$slots, "hint", r(i(M(y))))]),
|
|
@@ -2071,4 +2082,4 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2071
2082
|
});
|
|
2072
2083
|
export { Fn as default };
|
|
2073
2084
|
|
|
2074
|
-
//# sourceMappingURL=VvCombobox.es-
|
|
2085
|
+
//# sourceMappingURL=VvCombobox.es-D516ShMF.js.map
|