@8wave/ai-elements 0.106.0-beta.2 → 0.106.0

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.
Files changed (81) hide show
  1. package/dist/_chunks/{PkLazyImg-BoH1s5ni.js → PkLazyImg-Beug40gC.js} +2 -2
  2. package/dist/_chunks/{PkLazyImg-BoH1s5ni.js.map → PkLazyImg-Beug40gC.js.map} +1 -1
  3. package/dist/_chunks/{PkToolRequestGeolocation-CNAtslfG.js → PkToolRequestGeolocation-DUHzWOSe.js} +2 -2
  4. package/dist/_chunks/{PkToolRequestGeolocation-CNAtslfG.js.map → PkToolRequestGeolocation-DUHzWOSe.js.map} +1 -1
  5. package/dist/_chunks/{PkToolRequestOAuthConnection-DNZHj2Kx.js → PkToolRequestOAuthConnection-CdtnIiy6.js} +2 -2
  6. package/dist/_chunks/{PkToolRequestOAuthConnection-DNZHj2Kx.js.map → PkToolRequestOAuthConnection-CdtnIiy6.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowArtifact-Kfm50DPr.js → PkToolShowArtifact-B0gZZGvT.js} +3 -3
  8. package/dist/_chunks/{PkToolShowArtifact-Kfm50DPr.js.map → PkToolShowArtifact-B0gZZGvT.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowCalendarEvent-KJXNC-E_.js → PkToolShowCalendarEvent-DpEWSENB.js} +3 -3
  10. package/dist/_chunks/{PkToolShowCalendarEvent-KJXNC-E_.js.map → PkToolShowCalendarEvent-DpEWSENB.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowComparison-C1GPvcNH.js → PkToolShowComparison-DkHRpM8n.js} +3 -3
  12. package/dist/_chunks/{PkToolShowComparison-C1GPvcNH.js.map → PkToolShowComparison-DkHRpM8n.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-Ws8DysdD.js → PkToolShowContactForm-B8YI2e0B.js} +3 -3
  14. package/dist/_chunks/{PkToolShowContactForm-Ws8DysdD.js.map → PkToolShowContactForm-B8YI2e0B.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowDiagram-CMuKde1V.js → PkToolShowDiagram-vmSzw6s0.js} +3 -3
  16. package/dist/_chunks/{PkToolShowDiagram-CMuKde1V.js.map → PkToolShowDiagram-vmSzw6s0.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowEmail-DvA69GLP.js → PkToolShowEmail-BtntDg5l.js} +3 -3
  18. package/dist/_chunks/{PkToolShowEmail-DvA69GLP.js.map → PkToolShowEmail-BtntDg5l.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowForm-CadrjzZx.js → PkToolShowForm-gD0MfOjQ.js} +104 -104
  20. package/dist/_chunks/PkToolShowForm-gD0MfOjQ.js.map +1 -0
  21. package/dist/_chunks/{PkToolShowImageGallery-CosOsHSh.js → PkToolShowImageGallery-DL-bFOKl.js} +2 -2
  22. package/dist/_chunks/{PkToolShowImageGallery-CosOsHSh.js.map → PkToolShowImageGallery-DL-bFOKl.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowLocation-BLSkytqC.js → PkToolShowLocation-DXPAEQCf.js} +3 -3
  24. package/dist/_chunks/{PkToolShowLocation-BLSkytqC.js.map → PkToolShowLocation-DXPAEQCf.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowMessage-Bb1fhAcX.js → PkToolShowMessage-WendSuVW.js} +3 -3
  26. package/dist/_chunks/{PkToolShowMessage-Bb1fhAcX.js.map → PkToolShowMessage-WendSuVW.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowProductList-DkaEOhxY.js → PkToolShowProductList-_ULcSOL_.js} +3 -3
  28. package/dist/_chunks/{PkToolShowProductList-DkaEOhxY.js.map → PkToolShowProductList-_ULcSOL_.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowQrCode-GaZJBhqE.js → PkToolShowQrCode-BIhYJSTf.js} +3 -3
  30. package/dist/_chunks/{PkToolShowQrCode-GaZJBhqE.js.map → PkToolShowQrCode-BIhYJSTf.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowSources-BcxmwOsZ.js → PkToolShowSources-BprUew-i.js} +2 -2
  32. package/dist/_chunks/{PkToolShowSources-BcxmwOsZ.js.map → PkToolShowSources-BprUew-i.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowSuggestedReply-4S7VvK7s.js → PkToolShowSuggestedReply-FJMsf1Ft.js} +2 -2
  34. package/dist/_chunks/{PkToolShowSuggestedReply-4S7VvK7s.js.map → PkToolShowSuggestedReply-FJMsf1Ft.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowVideo-CbSNJlH1.js → PkToolShowVideo-DXQo_Frk.js} +2 -2
  36. package/dist/_chunks/{PkToolShowVideo-CbSNJlH1.js.map → PkToolShowVideo-DXQo_Frk.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowWeather-Cr3NJEMI.js → PkToolShowWeather-Ca-ZrKx3.js} +2 -2
  38. package/dist/_chunks/{PkToolShowWeather-Cr3NJEMI.js.map → PkToolShowWeather-Ca-ZrKx3.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowWebPages-DLpd7Kg0.js → PkToolShowWebPages-DxxqCOav.js} +3 -3
  40. package/dist/_chunks/{PkToolShowWebPages-DLpd7Kg0.js.map → PkToolShowWebPages-DxxqCOav.js.map} +1 -1
  41. package/dist/_chunks/{VvCheckboxGroup.es-DLgx43U_.js → VvCheckboxGroup.es-6rXZzFDs.js} +2 -2
  42. package/dist/_chunks/{VvCheckboxGroup.es-DLgx43U_.js.map → VvCheckboxGroup.es-6rXZzFDs.js.map} +1 -1
  43. package/dist/_chunks/{VvCombobox.es-D5zLGtOy.js → VvCombobox.es-DgB4YbSj.js} +409 -409
  44. package/dist/_chunks/{VvCombobox.es-D5zLGtOy.js.map → VvCombobox.es-DgB4YbSj.js.map} +1 -1
  45. package/dist/_chunks/{VvInputText.es-DWwDzlwZ.js → VvInputText.es-UTEISDKU.js} +181 -181
  46. package/dist/_chunks/{VvInputText.es-DWwDzlwZ.js.map → VvInputText.es-UTEISDKU.js.map} +1 -1
  47. package/dist/_chunks/{VvRadioGroup.es-BZdnaITO.js → VvRadioGroup.es-CqMnxRGR.js} +2 -2
  48. package/dist/_chunks/{VvRadioGroup.es-BZdnaITO.js.map → VvRadioGroup.es-CqMnxRGR.js.map} +1 -1
  49. package/dist/_chunks/{VvSelect.es-BP6Gn5BZ.js → VvSelect.es-BLNrNcIi.js} +6 -6
  50. package/dist/_chunks/{VvSelect.es-BP6Gn5BZ.js.map → VvSelect.es-BLNrNcIi.js.map} +1 -1
  51. package/dist/_chunks/{VvTextarea.es-BuLyBuYz.js → VvTextarea.es-ChkbZSw6.js} +296 -296
  52. package/dist/_chunks/{VvTextarea.es-BuLyBuYz.js.map → VvTextarea.es-ChkbZSw6.js.map} +1 -1
  53. package/dist/_chunks/{dist-vbhhaYbZ.js → dist-Dhop5_et.js} +91 -28
  54. package/dist/_chunks/{dist-vbhhaYbZ.js.map → dist-Dhop5_et.js.map} +1 -1
  55. package/dist/_chunks/{index.es-DFq55nZZ.js → index.es-CNKCTfCu.js} +93 -93
  56. package/dist/_chunks/{index.es-DFq55nZZ.js.map → index.es-CNKCTfCu.js.map} +1 -1
  57. package/dist/_chunks/{index.es-DhjFGu5c.js → index.es-DB9_sQvG.js} +16 -16
  58. package/dist/_chunks/{index.es-DhjFGu5c.js.map → index.es-DB9_sQvG.js.map} +1 -1
  59. package/dist/ai-elements.es.js +2334 -2327
  60. package/dist/ai-elements.es.js.map +1 -1
  61. package/dist-vue/PkChatbot.js +1 -1
  62. package/dist-vue/PkChatbotMessages.js +1 -1
  63. package/dist-vue/PkChatbotViewChat.js +1 -1
  64. package/dist-vue/_chunks/{PkChatbot-a8Wh4tN4.js → PkChatbot-i_07-rvf.js} +76 -68
  65. package/dist-vue/_chunks/PkChatbot-i_07-rvf.js.map +1 -0
  66. package/dist-vue/_chunks/PkChatbotEmptyState-C7W0QgqW.js.map +1 -1
  67. package/dist-vue/_chunks/{PkChatbotMessages-D6rNh6PF.js → PkChatbotMessages-CZLj_OeK.js} +4 -4
  68. package/dist-vue/_chunks/PkChatbotMessages-CZLj_OeK.js.map +1 -0
  69. package/dist-vue/_chunks/{PkChatbotViewChat-DUn7M4SL.js → PkChatbotViewChat-B6MfjQIa.js} +3 -3
  70. package/dist-vue/_chunks/{PkChatbotViewChat-DUn7M4SL.js.map → PkChatbotViewChat-B6MfjQIa.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowDiagram-Bbqo6jm8.js → PkToolShowDiagram-D7jh-yIc.js} +2 -2
  72. package/dist-vue/_chunks/{PkToolShowDiagram-Bbqo6jm8.js.map → PkToolShowDiagram-D7jh-yIc.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowForm-CJtmt5yd.js → PkToolShowForm-BGp_gbtr.js} +54 -54
  74. package/dist-vue/_chunks/PkToolShowForm-BGp_gbtr.js.map +1 -0
  75. package/dist-vue/index.js +8 -8
  76. package/dist-vue/style.css +1 -1
  77. package/package.json +1 -1
  78. package/dist/_chunks/PkToolShowForm-CadrjzZx.js.map +0 -1
  79. package/dist-vue/_chunks/PkChatbot-a8Wh4tN4.js.map +0 -1
  80. package/dist-vue/_chunks/PkChatbotMessages-D6rNh6PF.js.map +0 -1
  81. package/dist-vue/_chunks/PkToolShowForm-CJtmt5yd.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { $ as e, A as t, B as n, C as r, Ct as i, E as a, F as o, G as s, H as c, K as l, L as u, M as d, N as f, O as p, P as ee, Q as m, R as h, St as g, T as _, Tt as v, U as te, V as ne, W as re, X as y, _ as b, _t as x, b as S, bt as C, c as w, ct as ie, d as T, et as ae, g as E, h as D, it as oe, j as O, k, l as se, m as A, o as j, pt as M, q as ce, r as N, s as le, t as P, u as ue, v as F, vt as I, w as de, wt as fe, x as pe, xt as L, y as me, yt as he, z as ge } from "./vue.runtime.esm-bundler-D6KKITU0.js";
2
- import { a as _e, i as R, t as ve } from "./iconify-tggsk9QV.js";
3
- import { c as ye, d as be, h as z, l as xe, m as Se, n as Ce, o as we, r as Te, s as Ee, t as De } from "./dist-vbhhaYbZ.js";
1
+ import { $ as e, A as t, B as n, C as r, Ct as i, E as a, F as o, G as s, H as c, K as l, L as u, M as d, N as f, O as p, P as ee, Q as m, R as h, St as te, T as g, Tt as _, U as ne, V as re, W as ie, X as v, _ as y, _t as b, b as x, bt as S, c as C, ct as ae, d as w, et as oe, g as T, h as E, it as se, j as D, k as O, l as ce, m as k, o as A, pt as j, q as le, r as M, s as ue, t as N, u as de, v as P, vt as F, w as fe, wt as pe, x as me, xt as I, y as he, yt as ge, z as _e } from "./vue.runtime.esm-bundler-D6KKITU0.js";
2
+ import { a as ve, i as L, t as ye } from "./iconify-tggsk9QV.js";
3
+ import { c as be, f as xe, g as R, h as Se, l as z, n as Ce, o as we, r as Te, t as Ee, u as De } from "./dist-Dhop5_et.js";
4
4
  import { a as Oe, c as ke, i as Ae, l as je, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./floating-ui.vue-DYDaUjxz.js";
5
5
  import { t as B } from "./dot-prop-BEIkPL0b.js";
6
6
  //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.20_@json-render+core@0.19.0_zod@4.5.4__@volverjs+style@0.1.27_@vue_f2b5a47152e93c3451249216f4e73d36/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
7
- p(), N(), oe(), L();
7
+ p(), M(), se(), I();
8
8
  var Le = {
9
9
  showPassword: "eye-on",
10
10
  hidePassword: "eye-off",
@@ -492,13 +492,13 @@ function Tt(e) {
492
492
  return Array.isArray(e) ? e.filter((e) => wt(e)).join(" ") : e;
493
493
  }
494
494
  function Et(e, t) {
495
- let n = A(() => ie(e) ? e.value : e), i = A(() => Tt(n.value.invalidLabel)), o = A(() => Tt(n.value.validLabel)), s = A(() => n.value.loadingLabel), c = A(() => n.value.hintLabel), l = A(() => !!(n.value.loading && (t.loading || s.value))), u = A(() => !l.value && !!(n.value.invalid && (t.invalid || i.value))), d = A(() => !l.value && !u.value && !!(n.value.valid && (t.valid || o.value))), f = A(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = A(() => u.value || d.value || l.value || f.value);
495
+ let n = k(() => ae(e) ? e.value : e), i = k(() => Tt(n.value.invalidLabel)), o = k(() => Tt(n.value.validLabel)), s = k(() => n.value.loadingLabel), c = k(() => n.value.hintLabel), l = k(() => !!(n.value.loading && (t.loading || s.value))), u = k(() => !l.value && !!(n.value.invalid && (t.invalid || i.value))), d = k(() => !l.value && !u.value && !!(n.value.valid && (t.valid || o.value))), f = k(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = k(() => u.value || d.value || l.value || f.value);
496
496
  return {
497
497
  hasInvalidLabelOrSlot: u,
498
498
  hasHintLabelOrSlot: f,
499
499
  hasValidLabelOrSlot: d,
500
500
  hasLoadingLabelOrSlot: l,
501
- hintSlotScope: A(() => ({
501
+ hintSlotScope: k(() => ({
502
502
  modelValue: n.value.modelValue,
503
503
  valid: n.value.valid,
504
504
  invalid: n.value.invalid,
@@ -534,15 +534,15 @@ function Et(e, t) {
534
534
  };
535
535
  }
536
536
  function Dt() {
537
- return k(Ge, void 0);
537
+ return O(Ge, void 0);
538
538
  }
539
539
  function Ot(e, t, n) {
540
- return A(() => {
540
+ return k(() => {
541
541
  let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
542
542
  return i && Array.isArray(i) && i.forEach((t) => {
543
543
  t && (r[`${e}--${t}`] = !0);
544
544
  }), n && Object.keys(n.value).forEach((t) => {
545
- r[`${e}--${t}`] = C(n.value[t]);
545
+ r[`${e}--${t}`] = S(n.value[t]);
546
546
  }), r;
547
547
  });
548
548
  }
@@ -567,12 +567,12 @@ var $ = /* @__PURE__ */ r({
567
567
  modifiers: {}
568
568
  }, V),
569
569
  setup(e) {
570
- let t = e, n = A(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = M(!0), i = Dt(), { modifiers: a } = I(t), o = Ot("vv-icon", a), s = A(() => t.provider || i?.iconsProvider), c = A(() => {
570
+ let t = e, n = k(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = j(!0), i = Dt(), { modifiers: a } = F(t), o = Ot("vv-icon", a), s = k(() => t.provider || i?.iconsProvider), c = k(() => {
571
571
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
572
- if (_e(n)) return n;
572
+ if (ve(n)) return n;
573
573
  let r = i?.iconsCollections.find((t) => {
574
574
  let n = `@${s.value}:${t.prefix}:${e}`;
575
- return _e(n);
575
+ return ve(n);
576
576
  });
577
577
  return r ? `@${s.value}:${r.prefix}:${e}` : e;
578
578
  });
@@ -581,19 +581,19 @@ var $ = /* @__PURE__ */ r({
581
581
  }
582
582
  function f(e) {
583
583
  let n = l(e), r = n?.innerHTML.trim() || "";
584
- n && r && R(`@${s.value}:${t.prefix}:${t.name}`, {
584
+ n && r && L(`@${s.value}:${t.prefix}:${t.name}`, {
585
585
  body: r,
586
586
  height: n.viewBox.baseVal.height,
587
587
  width: n.viewBox.baseVal.width
588
588
  });
589
589
  }
590
- return i && t.src && !_e(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
590
+ return i && t.src && !ve(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
591
591
  e && f(e), r.value = !0;
592
592
  }).catch((e) => {
593
593
  throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
594
- })), t.svg && f(t.svg), (t, i) => C(r) ? (u(), E(C(ve), d({
594
+ })), t.svg && f(t.svg), (t, i) => S(r) ? (u(), T(S(ye), d({
595
595
  key: 0,
596
- class: C(o)
596
+ class: S(o)
597
597
  }, {
598
598
  inline: e.inline,
599
599
  width: e.width,
@@ -601,20 +601,20 @@ var $ = /* @__PURE__ */ r({
601
601
  horizontalFlip: e.horizontalFlip,
602
602
  verticalFlip: e.verticalFlip,
603
603
  flip: e.flip,
604
- rotate: C(n),
604
+ rotate: S(n),
605
605
  color: e.color,
606
- icon: C(c)
607
- }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : b("v-if", !0);
606
+ icon: S(c)
607
+ }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : y("v-if", !0);
608
608
  }
609
609
  });
610
610
  function kt(e, t) {
611
- let n = A(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = A(() => t?.value === Ve.before ? n.value : void 0), i = A(() => t?.value === Ve.after ? n.value : void 0);
611
+ let n = k(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = k(() => t?.value === Ve.before ? n.value : void 0), i = k(() => t?.value === Ve.after ? n.value : void 0);
612
612
  return {
613
613
  hasIcon: n,
614
- hasIconLeft: A(() => t?.value === H.left ? n.value : void 0),
615
- hasIconRight: A(() => t?.value === H.right ? n.value : void 0),
616
- hasIconTop: A(() => t?.value === H.top ? n.value : void 0),
617
- hasIconBottom: A(() => t?.value === H.bottom ? n.value : void 0),
614
+ hasIconLeft: k(() => t?.value === H.left ? n.value : void 0),
615
+ hasIconRight: k(() => t?.value === H.right ? n.value : void 0),
616
+ hasIconTop: k(() => t?.value === H.top ? n.value : void 0),
617
+ hasIconBottom: k(() => t?.value === H.bottom ? n.value : void 0),
618
618
  hasIconBefore: r,
619
619
  hasIconAfter: i
620
620
  };
@@ -641,7 +641,7 @@ var At = r({
641
641
  },
642
642
  emits: ["clear"],
643
643
  setup(e, { emit: t }) {
644
- let { hasIcon: n } = kt(A(() => e.icon));
644
+ let { hasIcon: n } = kt(k(() => e.icon));
645
645
  function r(n) {
646
646
  n?.stopPropagation(), e.disabled || t("clear");
647
647
  }
@@ -670,15 +670,15 @@ var At = r({
670
670
  name: "VvBadge",
671
671
  props: jt,
672
672
  setup(e) {
673
- let { modifiers: t } = I(e), r = Ot("vv-badge", t);
674
- return (e, t) => (u(), F("span", { class: g(C(r)) }, [n(e.$slots, "default", {}, () => [S(v(e.value), 1)])], 2));
673
+ let { modifiers: t } = F(e), r = Ot("vv-badge", t);
674
+ return (e, t) => (u(), P("span", { class: te(S(r)) }, [n(e.$slots, "default", {}, () => [x(_(e.value), 1)])], 2));
675
675
  }
676
676
  });
677
677
  function Nt(e) {
678
- let t = k(e, void 0), n = A(() => t !== void 0);
678
+ let t = O(e, void 0), n = k(() => t !== void 0);
679
679
  function r(e, n, r) {
680
680
  let i = t?.[e];
681
- if (i) return A({
681
+ if (i) return k({
682
682
  get() {
683
683
  return i.value;
684
684
  },
@@ -686,8 +686,8 @@ function Nt(e) {
686
686
  i.value = e;
687
687
  }
688
688
  });
689
- let a = x(n, e);
690
- return A({
689
+ let a = b(n, e);
690
+ return k({
691
691
  get() {
692
692
  return a.value;
693
693
  },
@@ -748,19 +748,19 @@ var Pt = ["update:modelValue"], Ft = {
748
748
  }
749
749
  };
750
750
  function It(e, t) {
751
- let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Nt(Ke), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = I(e);
751
+ let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Nt(Ke), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = F(e);
752
752
  return {
753
753
  group: n,
754
754
  isInGroup: r,
755
755
  modelValue: i("modelValue", e, t),
756
756
  toggle: i("toggle", e),
757
757
  unselectable: i("unselectable", e),
758
- multiple: A(() => n?.multiple.value ?? !1),
759
- modifiers: A(() => {
758
+ multiple: k(() => n?.multiple.value ?? !1),
759
+ modifiers: k(() => {
760
760
  let t = e.modifiers, r = n?.modifiers.value, i = /* @__PURE__ */ new Set();
761
761
  return t && (Array.isArray(t) || (t = t.split(" ")), t.forEach((e) => i.add(e))), r && (Array.isArray(r) || (r = r.split(" ")), r.forEach((e) => i.add(e))), [...i];
762
762
  }),
763
- disabled: A(() => !!(e.disabled || n?.disabled.value)),
763
+ disabled: k(() => !!(e.disabled || n?.disabled.value)),
764
764
  id: a,
765
765
  pressed: l,
766
766
  iconPosition: o,
@@ -774,40 +774,40 @@ var Lt = [
774
774
  "mouseleave"
775
775
  ];
776
776
  function Rt() {
777
- return k(G, {});
777
+ return O(G, {});
778
778
  }
779
779
  function zt() {
780
- return k(qe, {});
780
+ return O(qe, {});
781
781
  }
782
782
  function Bt() {
783
- return k(K, {});
783
+ return O(K, {});
784
784
  }
785
785
  var Vt = /* @__PURE__ */ r({
786
786
  name: "VvAction",
787
787
  props: ht,
788
788
  emits: Lt,
789
789
  setup(t, { expose: r, emit: i }) {
790
- let a = t, o = i, s = de(), l = Dt(), f = M(null);
790
+ let a = t, o = i, s = fe(), l = Dt(), f = j(null);
791
791
  r({ $el: f });
792
792
  let { reference: p, bus: ee, aria: m, expanded: h } = Rt();
793
- y(() => f.value, (e) => {
793
+ v(() => f.value, (e) => {
794
794
  p && (p.value = e);
795
795
  });
796
- let g = A(() => a.pressed || h?.value), { role: _ } = Bt(), te = A(() => {
796
+ let te = k(() => a.pressed || h?.value), { role: g } = Bt(), ne = k(() => {
797
797
  switch (!0) {
798
798
  case a.disabled: return U.button;
799
- case a.to !== void 0: return l?.nuxt ? ne(U.nuxtLink) : U.routerLink;
799
+ case a.to !== void 0: return l?.nuxt ? re(U.nuxtLink) : U.routerLink;
800
800
  case a.href !== void 0: return U.a;
801
801
  default: return a.defaultTag;
802
802
  }
803
- }), re = A(() => {
803
+ }), ie = k(() => {
804
804
  let e = {
805
805
  ...m?.value,
806
- ariaPressed: g.value ? !0 : void 0,
806
+ ariaPressed: te.value ? !0 : void 0,
807
807
  ariaLabel: a.ariaLabel,
808
- role: _?.value
808
+ role: g?.value
809
809
  };
810
- switch (te.value) {
810
+ switch (ne.value) {
811
811
  case U.a: return {
812
812
  ...e,
813
813
  href: a.href,
@@ -828,7 +828,7 @@ var Vt = /* @__PURE__ */ r({
828
828
  default: return e;
829
829
  }
830
830
  });
831
- function b(e) {
831
+ function y(e) {
832
832
  if (a.disabled) {
833
833
  e.preventDefault();
834
834
  return;
@@ -839,40 +839,40 @@ var Vt = /* @__PURE__ */ r({
839
839
  }
840
840
  ee?.emit("click", e);
841
841
  }
842
- function x(e) {
842
+ function b(e) {
843
843
  if (s?.vnode.props?.onMouseover) {
844
844
  o("mouseover", e);
845
845
  return;
846
846
  }
847
847
  ee?.emit("mouseover", e);
848
848
  }
849
- function w(e) {
849
+ function C(e) {
850
850
  if (s?.vnode.props?.onMouseleave) {
851
851
  o("mouseleave", e);
852
852
  return;
853
853
  }
854
854
  ee?.emit("mouseleave", e);
855
855
  }
856
- return (t, r) => (u(), E(c(C(te)), d(C(re), {
856
+ return (t, r) => (u(), T(c(S(ne)), d(S(ie), {
857
857
  ref_key: "rootEl",
858
858
  ref: f,
859
859
  class: {
860
860
  active: t.active,
861
- pressed: C(g),
861
+ pressed: S(te),
862
862
  disabled: t.disabled,
863
863
  current: t.current
864
864
  },
865
- onClickPassive: b,
866
- onMouseoverPassive: x,
867
- onMouseleavePassive: w
865
+ onClickPassive: y,
866
+ onMouseoverPassive: b,
867
+ onMouseleavePassive: C
868
868
  }), {
869
- default: e(() => [n(t.$slots, "default", {}, () => [S(v(t.label), 1)])]),
869
+ default: e(() => [n(t.$slots, "default", {}, () => [x(_(t.label), 1)])]),
870
870
  _: 3
871
871
  }, 16, ["class"]));
872
872
  }
873
873
  });
874
874
  function Ht(e) {
875
- return A(() => String(e?.value || s()));
875
+ return k(() => String(e?.value || s()));
876
876
  }
877
877
  var Ut = {
878
878
  key: 1,
@@ -886,37 +886,37 @@ var Ut = {
886
886
  props: Ft,
887
887
  emits: Pt,
888
888
  setup(t, { expose: r, emit: i }) {
889
- let a = t, o = i, s = re(), c = ce(), { id: l, modifiers: f, iconPosition: p, icon: ee, label: m, modelValue: h, disabled: g, toggle: _, unselectable: te } = It(a, o), ne = Ht(l), y = A(() => s?.name || ne.value), x = M(null);
890
- r({ $el: A(() => x.value?.$el) });
891
- let w = A(() => _.value ? Array.isArray(h.value) ? Ct(y.value, h.value) : vt(y.value, h.value) : a.pressed), ie = Ot("vv-button", f, A(() => ({
889
+ let a = t, o = i, s = ie(), c = le(), { id: l, modifiers: f, iconPosition: p, icon: ee, label: m, modelValue: h, disabled: te, toggle: g, unselectable: ne } = It(a, o), re = Ht(l), v = k(() => s?.name || re.value), b = j(null);
890
+ r({ $el: k(() => b.value?.$el) });
891
+ let C = k(() => g.value ? Array.isArray(h.value) ? Ct(v.value, h.value) : vt(v.value, h.value) : a.pressed), ae = Ot("vv-button", f, k(() => ({
892
892
  reverse: [H.right, H.bottom].includes(p.value),
893
893
  column: [H.top, H.bottom].includes(p.value),
894
894
  "icon-only": !!(ee?.value && !m?.value && !c.default)
895
- }))), { hasIcon: ae } = kt(ee), D = A(() => a.value === void 0 ? y.value : a.value), oe = A(() => {
896
- if (_.value) return { onClick: O };
895
+ }))), { hasIcon: oe } = kt(ee), E = k(() => a.value === void 0 ? v.value : a.value), se = k(() => {
896
+ if (g.value) return { onClick: D };
897
897
  });
898
- function O() {
899
- if (_.value) {
898
+ function D() {
899
+ if (g.value) {
900
900
  if (Array.isArray(h.value)) {
901
- if (Ct(D.value, h.value)) {
902
- te.value && (h.value = h.value.filter((e) => e !== D.value));
901
+ if (Ct(E.value, h.value)) {
902
+ ne.value && (h.value = h.value.filter((e) => e !== E.value));
903
903
  return;
904
904
  }
905
- h.value.push(D.value);
905
+ h.value.push(E.value);
906
906
  return;
907
907
  }
908
- if (D.value === h.value && te.value) {
908
+ if (E.value === h.value && ne.value) {
909
909
  h.value = a.uncheckedValue;
910
910
  return;
911
911
  }
912
- h.value = D.value;
912
+ h.value = E.value;
913
913
  }
914
914
  }
915
- return (t, r) => (u(), E(Vt, d({
916
- ...C(s),
917
- ...C(oe),
918
- disabled: C(g),
919
- pressed: C(w),
915
+ return (t, r) => (u(), T(Vt, d({
916
+ ...S(s),
917
+ ...S(se),
918
+ disabled: S(te),
919
+ pressed: S(C),
920
920
  active: t.active,
921
921
  type: t.type,
922
922
  to: t.to,
@@ -925,19 +925,19 @@ var Ut = {
925
925
  rel: t.rel,
926
926
  ariaLabel: t.ariaLabel
927
927
  }, {
928
- id: C(ne),
928
+ id: S(re),
929
929
  ref_key: "rootEl",
930
- ref: x,
931
- class: C(ie)
930
+ ref: b,
931
+ class: S(ae)
932
932
  }), {
933
- default: e(() => [n(t.$slots, "default", {}, () => [t.loading ? n(t.$slots, "loading", {}, () => [t.loadingIcon ? (u(), E($, {
933
+ default: e(() => [n(t.$slots, "default", {}, () => [t.loading ? n(t.$slots, "loading", {}, () => [t.loadingIcon ? (u(), T($, {
934
934
  key: 0,
935
935
  class: "vv-button__loading-icon",
936
936
  name: t.loadingIcon
937
- }, null, 8, ["name"])) : b("v-if", !0), t.loadingLabel ? (u(), F("span", Ut, v(t.loadingLabel), 1)) : b("v-if", !0)], void 0, 0) : (u(), F(T, { key: 1 }, [
937
+ }, null, 8, ["name"])) : y("v-if", !0), t.loadingLabel ? (u(), P("span", Ut, _(t.loadingLabel), 1)) : y("v-if", !0)], void 0, 0) : (u(), P(w, { key: 1 }, [
938
938
  n(t.$slots, "before"),
939
- C(ae) ? (u(), E($, d({ key: 0 }, C(ae), { class: "vv-button__icon" }), null, 16)) : b("v-if", !0),
940
- C(m) ? (u(), F("span", Wt, [n(t.$slots, "label", {}, () => [S(v(C(m)), 1)])])) : b("v-if", !0),
939
+ S(oe) ? (u(), T($, d({ key: 0 }, S(oe), { class: "vv-button__icon" }), null, 16)) : y("v-if", !0),
940
+ S(m) ? (u(), P("span", Wt, [n(t.$slots, "label", {}, () => [x(_(S(m)), 1)])])) : y("v-if", !0),
941
941
  n(t.$slots, "after")
942
942
  ], 64))])]),
943
943
  _: 3
@@ -977,7 +977,7 @@ var Ut = {
977
977
  }
978
978
  };
979
979
  function Yt(e, t) {
980
- let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = A(() => n && he(t)), i = A(() => r.value ? "manual" : void 0);
980
+ let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = k(() => n && ge(t)), i = k(() => r.value ? "manual" : void 0);
981
981
  function a() {
982
982
  return (n && e.value?.matches(":popover-open")) ?? !1;
983
983
  }
@@ -1014,13 +1014,13 @@ function Xt({ reference: e, id: t, expanded: n, aria: i }) {
1014
1014
  });
1015
1015
  },
1016
1016
  render() {
1017
- return a(T, {}, this.$slots.default?.());
1017
+ return a(w, {}, this.$slots.default?.());
1018
1018
  }
1019
1019
  })
1020
1020
  };
1021
1021
  }
1022
1022
  function Zt({ role: e, ...t }) {
1023
- let n = A(() => e.value === Ue.listbox ? We.option : We.presentation);
1023
+ let n = k(() => e.value === Ue.listbox ? We.option : We.presentation);
1024
1024
  return h(qe, {
1025
1025
  role: n,
1026
1026
  ...t
@@ -1028,7 +1028,7 @@ function Zt({ role: e, ...t }) {
1028
1028
  }
1029
1029
  function Qt({ expanded: e }) {
1030
1030
  h(K, {
1031
- role: M(W.menuitem),
1031
+ role: j(W.menuitem),
1032
1032
  expanded: e
1033
1033
  });
1034
1034
  }
@@ -1059,123 +1059,123 @@ var $t = ["popover"], en = [
1059
1059
  "leaveCancelled"
1060
1060
  ],
1061
1061
  setup(t, { expose: r, emit: a }) {
1062
- let s = t, c = a, { id: l } = I(s), p = Ht(l), ee = re(), h = M("auto"), v = M("auto"), ne = M(), x = M(), S = M(), ie = M(), E = A({
1063
- get: () => s.reference ?? ne.value,
1062
+ let s = t, c = a, { id: l } = F(s), p = Ht(l), ee = ie(), h = j("auto"), _ = j("auto"), re = j(), b = j(), x = j(), ae = j(), T = k({
1063
+ get: () => s.reference ?? re.value,
1064
1064
  set: (e) => {
1065
- ne.value = e;
1065
+ re.value = e;
1066
1066
  }
1067
- }), { isTopLayer: oe, popover: O, show: k, hide: se } = Yt(x, () => s.topLayer), j = A(() => oe.value ? ze.fixed : s.strategy), ce = M(!1);
1067
+ }), { isTopLayer: se, popover: D, show: O, hide: ce } = Yt(b, () => s.topLayer), A = k(() => se.value ? ze.fixed : s.strategy), le = j(!1);
1068
1068
  o(() => {
1069
- be(x.value, () => {
1070
- ce.value = globalThis.getComputedStyle(x.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1069
+ xe(b.value, () => {
1070
+ le.value = globalThis.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1071
1071
  }, {
1072
1072
  attributeFilter: ["style"],
1073
1073
  window: globalThis.window
1074
1074
  });
1075
1075
  });
1076
- function N(e, t, n) {
1076
+ function M(e, t, n) {
1077
1077
  return typeof e == "boolean" ? t() : n(e);
1078
1078
  }
1079
- let le = A(() => {
1079
+ let ue = k(() => {
1080
1080
  let e = [];
1081
- if (s.autoPlacement ? e.push(N(s.autoPlacement, () => Pe(), (e) => Pe(e))) : s.flip && e.push(N(s.flip, () => Oe({ fallbackStrategy: "initialPlacement" }), (e) => Oe(e))), s.shift && e.push(N(s.shift, () => Fe(), (e) => Fe(e))), s.size) {
1081
+ if (s.autoPlacement ? e.push(M(s.autoPlacement, () => Pe(), (e) => Pe(e))) : s.flip && e.push(M(s.flip, () => Oe({ fallbackStrategy: "initialPlacement" }), (e) => Oe(e))), s.shift && e.push(M(s.shift, () => Fe(), (e) => Fe(e))), s.size) {
1082
1082
  let t = ({ availableWidth: e, availableHeight: t }) => {
1083
- h.value = `${e}px`, v.value = `${t}px`;
1083
+ h.value = `${e}px`, _.value = `${t}px`;
1084
1084
  };
1085
- e.push(N(s.size, () => ke({ apply: t }), (e) => ke({
1085
+ e.push(M(s.size, () => ke({ apply: t }), (e) => ke({
1086
1086
  ...e,
1087
1087
  apply: t
1088
1088
  })));
1089
1089
  }
1090
- return s.offset && e.push(["string", "number"].includes(typeof s.offset) ? Ne(Number(s.offset)) : Ne(s.offset)), s.arrow && e.push(Ie({ element: S })), e;
1091
- }), { x: ue, y: de, middlewareData: L, placement: me, strategy: he } = Me(E, x, {
1092
- whileElementsMounted: (...e) => Ae(...e, { animationFrame: j.value === ze.fixed }),
1093
- placement: A(() => s.placement),
1094
- strategy: j,
1095
- middleware: le
1096
- }), ge = A(() => {
1097
- if (ce.value) return;
1098
- let e = s.triggerWidth && E.value ? `${E.value?.offsetWidth}px` : void 0;
1090
+ return s.offset && e.push(["string", "number"].includes(typeof s.offset) ? Ne(Number(s.offset)) : Ne(s.offset)), s.arrow && e.push(Ie({ element: x })), e;
1091
+ }), { x: de, y: fe, middlewareData: I, placement: he, strategy: ge } = Me(T, b, {
1092
+ whileElementsMounted: (...e) => Ae(...e, { animationFrame: A.value === ze.fixed }),
1093
+ placement: k(() => s.placement),
1094
+ strategy: A,
1095
+ middleware: ue
1096
+ }), _e = k(() => {
1097
+ if (le.value) return;
1098
+ let e = s.triggerWidth && T.value ? `${T.value?.offsetWidth}px` : void 0;
1099
1099
  return {
1100
- position: he.value,
1101
- top: `${de.value ?? 0}px`,
1102
- left: `${ue.value ?? 0}px`,
1100
+ position: ge.value,
1101
+ top: `${fe.value ?? 0}px`,
1102
+ left: `${de.value ?? 0}px`,
1103
1103
  maxWidth: e ? void 0 : h.value,
1104
- maxHeight: v.value,
1104
+ maxHeight: _.value,
1105
1105
  width: e
1106
1106
  };
1107
- }), _e = A(() => me.value.split("-")[0]), R = A(() => {
1108
- if (ce.value) return;
1107
+ }), ve = k(() => he.value.split("-")[0]), L = k(() => {
1108
+ if (le.value) return;
1109
1109
  let e = {
1110
1110
  [H.top]: H.bottom,
1111
1111
  [H.right]: H.left,
1112
1112
  [H.bottom]: H.top,
1113
1113
  [H.left]: H.right
1114
- }[_e.value];
1114
+ }[ve.value];
1115
1115
  return {
1116
- left: L.value.arrow?.x === void 0 ? void 0 : `${L.value.arrow?.x}px`,
1117
- top: L.value.arrow?.y === void 0 ? void 0 : `${L.value.arrow?.y}px`,
1118
- [e]: `${-(S.value?.offsetWidth ?? 0) / 2}px`
1116
+ left: I.value.arrow?.x === void 0 ? void 0 : `${I.value.arrow?.x}px`,
1117
+ top: I.value.arrow?.y === void 0 ? void 0 : `${I.value.arrow?.y}px`,
1118
+ [e]: `${-(x.value?.offsetWidth ?? 0) / 2}px`
1119
1119
  };
1120
- }), ve = Se(s, "modelValue", c), ye = M(!1), z = A({
1121
- get: () => ve.value ?? ye.value,
1120
+ }), ye = Se(s, "modelValue", c), be = j(!1), R = k({
1121
+ get: () => ye.value ?? be.value,
1122
1122
  set: (e) => {
1123
- if (ve.value === void 0) {
1124
- ye.value = e;
1123
+ if (ye.value === void 0) {
1124
+ be.value = e;
1125
1125
  return;
1126
1126
  }
1127
- ve.value = e;
1127
+ ye.value = e;
1128
1128
  }
1129
1129
  });
1130
1130
  m(() => {
1131
- z.value && k();
1131
+ R.value && O();
1132
1132
  });
1133
- function Ee() {
1134
- z.value = !0;
1133
+ function z() {
1134
+ R.value = !0;
1135
1135
  }
1136
- function De() {
1137
- z.value = !1;
1136
+ function Ee() {
1137
+ R.value = !1;
1138
1138
  }
1139
1139
  function je() {
1140
- z.value = !z.value;
1140
+ R.value = !R.value;
1141
1141
  }
1142
1142
  function B(e) {
1143
- E.value = e;
1143
+ T.value = e;
1144
1144
  }
1145
- Ce(x, () => {
1146
- !s.keepOpen && z.value && (z.value = !1);
1147
- }, { ignore: [E] });
1148
- let Le = A(() => E.value?.getAttribute?.("id") ?? void 0), V = A(() => ({
1145
+ Ce(b, () => {
1146
+ !s.keepOpen && R.value && (R.value = !1);
1147
+ }, { ignore: [T] });
1148
+ let Le = k(() => T.value?.getAttribute?.("id") ?? void 0), V = k(() => ({
1149
1149
  "aria-controls": p.value,
1150
1150
  "aria-haspopup": !0,
1151
- "aria-expanded": z.value
1151
+ "aria-expanded": R.value
1152
1152
  })), { component: Re, bus: Be } = Xt({
1153
- reference: E,
1153
+ reference: T,
1154
1154
  id: p,
1155
- expanded: z,
1155
+ expanded: R,
1156
1156
  aria: V
1157
1157
  });
1158
1158
  Be.on("click", je);
1159
- let { role: Ve, modifiers: He } = I(s), U = Ot("vv-dropdown", He, A(() => ({ arrow: s.arrow }))), { focused: W } = xe(x);
1159
+ let { role: Ve, modifiers: He } = F(s), U = Ot("vv-dropdown", He, k(() => ({ arrow: s.arrow }))), { focused: W } = De(b);
1160
1160
  function Ue(e) {
1161
1161
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
1162
1162
  }
1163
1163
  function We() {
1164
1164
  f(() => {
1165
- let e = Ue(x.value);
1165
+ let e = Ue(b.value);
1166
1166
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1167
1167
  });
1168
1168
  }
1169
1169
  function Ge() {
1170
1170
  f(() => {
1171
- let e = Ue(ie.value);
1171
+ let e = Ue(ae.value);
1172
1172
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1173
1173
  });
1174
1174
  }
1175
1175
  function Ke() {
1176
1176
  f(() => {
1177
1177
  if (W.value) {
1178
- let e = Ue(x.value);
1178
+ let e = Ue(b.value);
1179
1179
  if (e.length === 0 || !document.activeElement) return;
1180
1180
  let t = e.indexOf(document.activeElement);
1181
1181
  t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
@@ -1185,7 +1185,7 @@ var $t = ["popover"], en = [
1185
1185
  function G() {
1186
1186
  f(() => {
1187
1187
  if (W.value) {
1188
- let e = Ue(x.value);
1188
+ let e = Ue(b.value);
1189
1189
  if (e.length === 0 || !document.activeElement) return;
1190
1190
  let t = e.indexOf(document.activeElement);
1191
1191
  if (t > 0) {
@@ -1196,41 +1196,41 @@ var $t = ["popover"], en = [
1196
1196
  }
1197
1197
  });
1198
1198
  }
1199
- y(z, (e) => {
1199
+ v(R, (e) => {
1200
1200
  e && s.autofocusFirst && We();
1201
1201
  }), r({
1202
1202
  toggle: je,
1203
- show: Ee,
1204
- hide: De,
1203
+ show: z,
1204
+ hide: Ee,
1205
1205
  init: B,
1206
1206
  focusFirst: We,
1207
1207
  focusFirstListElement: Ge,
1208
1208
  focusNext: Ke,
1209
1209
  focusPrev: G,
1210
- customPosition: ce
1210
+ customPosition: le
1211
1211
  });
1212
1212
  let { itemRole: qe } = Zt({
1213
1213
  role: Ve,
1214
- expanded: z,
1214
+ expanded: R,
1215
1215
  focused: W,
1216
- hovered: we(x)
1216
+ hovered: we(b)
1217
1217
  });
1218
1218
  Te("Escape", (e) => {
1219
- z.value && (e.preventDefault(), De());
1219
+ R.value && (e.preventDefault(), Ee());
1220
1220
  }), Te("ArrowDown", (e) => {
1221
- z.value && W.value && (e.preventDefault(), Ke());
1221
+ R.value && W.value && (e.preventDefault(), Ke());
1222
1222
  }), Te("ArrowUp", (e) => {
1223
- z.value && W.value && (e.preventDefault(), G());
1223
+ R.value && W.value && (e.preventDefault(), G());
1224
1224
  }), Te([" ", "Enter"], (e) => {
1225
1225
  let t = e.target;
1226
- z.value && W.value && t && t?.click();
1226
+ R.value && W.value && t && t?.click();
1227
1227
  });
1228
1228
  let K = {
1229
1229
  "before-enter": () => {
1230
- c(z.value ? "beforeExpand" : "beforeCollapse"), c("beforeEnter");
1230
+ c(R.value ? "beforeExpand" : "beforeCollapse"), c("beforeEnter");
1231
1231
  },
1232
1232
  "after-leave": () => {
1233
- z.value || se(), c(z.value ? "afterExpand" : "afterCollapse"), c("afterLeave");
1233
+ R.value || ce(), c(R.value ? "afterExpand" : "afterCollapse"), c("afterLeave");
1234
1234
  },
1235
1235
  enter: () => {
1236
1236
  c("enter");
@@ -1251,59 +1251,59 @@ var $t = ["popover"], en = [
1251
1251
  c("leaveCancelled");
1252
1252
  }
1253
1253
  };
1254
- return (t, r) => (u(), F(T, null, [pe(C(Re), null, {
1255
- default: e(() => [n(t.$slots, "default", i(_({
1254
+ return (t, r) => (u(), P(w, null, [me(S(Re), null, {
1255
+ default: e(() => [n(t.$slots, "default", i(g({
1256
1256
  init: B,
1257
- show: Ee,
1258
- hide: De,
1257
+ show: z,
1258
+ hide: Ee,
1259
1259
  toggle: je,
1260
- expanded: C(z),
1261
- aria: C(V)
1260
+ expanded: S(R),
1261
+ aria: S(V)
1262
1262
  })))]),
1263
1263
  _: 3
1264
- }), pe(P, d({ name: t.transitionName }, te(K), { persisted: "" }), {
1265
- default: e(() => [ae(D("div", {
1264
+ }), me(N, d({ name: t.transitionName }, ne(K), { persisted: "" }), {
1265
+ default: e(() => [oe(E("div", {
1266
1266
  ref_key: "floatingEl",
1267
- ref: x,
1268
- popover: C(O),
1269
- style: fe(C(ge)),
1270
- class: g(C(U))
1267
+ ref: b,
1268
+ popover: S(D),
1269
+ style: pe(S(_e)),
1270
+ class: te(S(U))
1271
1271
  }, [
1272
- s.arrow ? (u(), F("div", {
1272
+ s.arrow ? (u(), P("div", {
1273
1273
  key: 0,
1274
1274
  ref_key: "arrowEl",
1275
- ref: S,
1276
- style: fe(C(R)),
1275
+ ref: x,
1276
+ style: pe(S(L)),
1277
1277
  class: "vv-dropdown__arrow"
1278
- }, null, 4)) : b("v-if", !0),
1279
- n(t.$slots, "before", i(_({
1280
- show: Ee,
1281
- hide: De,
1278
+ }, null, 4)) : y("v-if", !0),
1279
+ n(t.$slots, "before", i(g({
1280
+ show: z,
1281
+ hide: Ee,
1282
1282
  toggle: je,
1283
- expanded: C(z)
1283
+ expanded: S(R)
1284
1284
  }))),
1285
- D("div", d(C(ee), {
1286
- id: C(p),
1285
+ E("div", d(S(ee), {
1286
+ id: S(p),
1287
1287
  ref_key: "listEl",
1288
- ref: ie,
1289
- tabindex: C(z) ? void 0 : -1,
1290
- role: C(Ve),
1291
- "aria-labelledby": C(Le),
1288
+ ref: ae,
1289
+ tabindex: S(R) ? void 0 : -1,
1290
+ role: S(Ve),
1291
+ "aria-labelledby": S(Le),
1292
1292
  class: "vv-dropdown__list"
1293
- }), [n(t.$slots, "items", i(_({
1294
- show: Ee,
1295
- hide: De,
1293
+ }), [n(t.$slots, "items", i(g({
1294
+ show: z,
1295
+ hide: Ee,
1296
1296
  toggle: je,
1297
- expanded: C(z),
1298
- role: C(qe)
1297
+ expanded: S(R),
1298
+ role: S(qe)
1299
1299
  })))], 16, en),
1300
- n(t.$slots, "after", i(_({
1301
- show: Ee,
1302
- hide: De,
1300
+ n(t.$slots, "after", i(g({
1301
+ show: z,
1302
+ hide: Ee,
1303
1303
  toggle: je,
1304
- expanded: C(z)
1304
+ expanded: S(R)
1305
1305
  })))
1306
- ], 14, $t), [[w, C(z)]])]),
1306
+ ], 14, $t), [[C, S(R)]])]),
1307
1307
  _: 3
1308
1308
  }, 16, ["name"])], 64));
1309
1309
  }
@@ -1316,47 +1316,47 @@ var $t = ["popover"], en = [
1316
1316
  props: { ...et },
1317
1317
  setup(e) {
1318
1318
  let t = e;
1319
- return (e, r) => (u(), F("li", nn, [n(e.$slots, "default", {}, () => [S(v(t.label), 1)])]));
1319
+ return (e, r) => (u(), P("li", nn, [n(e.$slots, "default", {}, () => [x(_(t.label), 1)])]));
1320
1320
  }
1321
1321
  }), an = /* @__PURE__ */ r({
1322
1322
  name: "VvDropdownItem",
1323
1323
  props: qt,
1324
1324
  setup(e) {
1325
- let t = e, { role: r, expanded: i } = zt(), a = M(null);
1325
+ let t = e, { role: r, expanded: i } = zt(), a = j(null);
1326
1326
  Qt({ expanded: i });
1327
- let o = we(a), { focused: s } = ye(a), { focused: c } = xe(a);
1328
- return y(o, (e) => {
1327
+ let o = we(a), { focused: s } = z(a), { focused: c } = De(a);
1328
+ return v(o, (e) => {
1329
1329
  e && t.focusOnHover && (s.value = !0);
1330
- }), (e, t) => (u(), F("div", d({ role: C(r) }, {
1330
+ }), (e, t) => (u(), P("div", d({ role: S(r) }, {
1331
1331
  ref_key: "element",
1332
1332
  ref: a,
1333
- class: ["vv-dropdown__item", { "focus-visible": C(s) || C(c) }]
1333
+ class: ["vv-dropdown__item", { "focus-visible": S(s) || S(c) }]
1334
1334
  }), [n(e.$slots, "default")], 16));
1335
1335
  }
1336
1336
  }), on = ["title"], sn = /* @__PURE__ */ r({
1337
1337
  name: "VvDropdownOption",
1338
1338
  props: Jt,
1339
1339
  setup(t) {
1340
- let r = t, { modifiers: a } = I(r), o = Ot("vv-dropdown-option", a, A(() => ({
1340
+ let r = t, { modifiers: a } = F(r), o = Ot("vv-dropdown-option", a, k(() => ({
1341
1341
  disabled: r.disabled,
1342
1342
  selected: r.selected,
1343
1343
  unselectable: r.unselectable && r.selected
1344
- }))), s = A(() => r.selected ? r.unselectable ? r.deselectHintLabel : r.selectedHintLabel : r.disabled ? "" : r.selectHintLabel);
1345
- return (t, r) => (u(), E(an, {
1346
- class: g(C(o)),
1344
+ }))), s = k(() => r.selected ? r.unselectable ? r.deselectHintLabel : r.selectedHintLabel : r.disabled ? "" : r.selectHintLabel);
1345
+ return (t, r) => (u(), T(an, {
1346
+ class: te(S(o)),
1347
1347
  tabindex: t.disabled ? -1 : 0,
1348
1348
  "aria-selected": t.selected,
1349
1349
  "aria-disabled": t.disabled,
1350
1350
  "focus-on-hover": t.focusOnHover
1351
1351
  }, {
1352
- default: e(() => [n(t.$slots, "default"), D("span", {
1352
+ default: e(() => [n(t.$slots, "default"), E("span", {
1353
1353
  class: "vv-dropdown-option__hint",
1354
- title: C(s)
1355
- }, [n(t.$slots, "hint", i(_({
1354
+ title: S(s)
1355
+ }, [n(t.$slots, "hint", i(g({
1356
1356
  disabled: t.disabled,
1357
1357
  selected: t.selected,
1358
1358
  unselectable: t.unselectable
1359
- })), () => [S(v(C(s)), 1)])], 8, on)]),
1359
+ })), () => [x(_(S(s)), 1)])], 8, on)]),
1360
1360
  _: 3
1361
1361
  }, 8, [
1362
1362
  "class",
@@ -1426,10 +1426,10 @@ function un(e, t, n) {
1426
1426
  return r;
1427
1427
  }
1428
1428
  function dn(e, t, n) {
1429
- let r = Dt(), i = A(() => {
1429
+ let r = Dt(), i = k(() => {
1430
1430
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
1431
1431
  });
1432
- return A(() => {
1432
+ return k(() => {
1433
1433
  if (i.value === void 0) return n;
1434
1434
  let e = i.value, r = t, a = n;
1435
1435
  return Object.keys(r).reduce((t, n) => {
@@ -1439,13 +1439,13 @@ function dn(e, t, n) {
1439
1439
  });
1440
1440
  }
1441
1441
  function fn(e, t) {
1442
- let { focused: n } = ye(e);
1443
- return y(n, (n) => {
1444
- t(n ? "focus" : "blur", C(e));
1442
+ let { focused: n } = z(e);
1443
+ return v(n, (n) => {
1444
+ t(n ? "focus" : "blur", S(e));
1445
1445
  }), { focused: n };
1446
1446
  }
1447
1447
  function pn(e) {
1448
- let { options: t, labelKey: n, valueKey: r, disabledKey: i } = I(e);
1448
+ let { options: t, labelKey: n, valueKey: r, disabledKey: i } = F(e);
1449
1449
  return {
1450
1450
  options: t,
1451
1451
  getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? B(e, n.value) : e),
@@ -1470,11 +1470,11 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1470
1470
  "clear"
1471
1471
  ],
1472
1472
  setup(t, { emit: r }) {
1473
- let a = t, o = r, s = ce(), c = dn("VvSelect", ln(), a), l = M(), { HintSlot: f, hasHintLabelOrSlot: p, hasInvalidLabelOrSlot: ee, hintSlotScope: m } = Et(c, s), { focused: h } = fn(l, o);
1474
- function te(e) {
1473
+ let a = t, o = r, s = le(), c = dn("VvSelect", ln(), a), l = j(), { HintSlot: f, hasHintLabelOrSlot: p, hasInvalidLabelOrSlot: ee, hintSlotScope: m } = Et(c, s), { focused: h } = fn(l, o);
1474
+ function ne(e) {
1475
1475
  return typeof e != "string" && e.options?.length;
1476
1476
  }
1477
- let { id: ne, modifiers: re, disabled: x, readonly: S, loading: w, icon: oe, iconPosition: O, invalid: k, valid: se, floating: N, multiple: le } = I(a), P = Ht(ne), ue = A(() => `${P.value}-hint`), de = A(() => a.disabled || a.readonly), fe = A(() => de.value ? -1 : a.tabindex), L = A({
1477
+ let { id: re, modifiers: ie, disabled: b, readonly: x, loading: C, icon: se, iconPosition: D, invalid: O, valid: ce, floating: M, multiple: ue } = F(a), N = Ht(re), de = k(() => `${N.value}-hint`), fe = k(() => a.disabled || a.readonly), pe = k(() => fe.value ? -1 : a.tabindex), I = k({
1478
1478
  get: () => a.modelValue,
1479
1479
  set: (e) => {
1480
1480
  if (Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !a.unselectable && l.value)) {
@@ -1483,120 +1483,120 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1483
1483
  }
1484
1484
  o("update:modelValue", e);
1485
1485
  }
1486
- }), he = A(() => Array.isArray(L.value) ? L.value.length > 0 : L.value !== void 0 && L.value !== null), _e = A(() => !de.value && a.unselectable), R = Ee(l);
1487
- y(R, (e) => {
1486
+ }), ge = k(() => Array.isArray(I.value) ? I.value.length > 0 : I.value !== void 0 && I.value !== null), ve = k(() => !fe.value && a.unselectable), L = be(l);
1487
+ v(L, (e) => {
1488
1488
  e && a.autofocus && (h.value = !0);
1489
1489
  });
1490
- let { hasIconBefore: ve, hasIconAfter: ye } = kt(oe, O), be = A(() => {
1490
+ let { hasIconBefore: ye, hasIconAfter: xe } = kt(se, D), R = k(() => {
1491
1491
  if (a.invalid === !0) return !0;
1492
1492
  if (a.valid === !0) return !1;
1493
- }), z = Ot("vv-select", re, A(() => ({
1494
- valid: se.value,
1495
- invalid: k.value,
1496
- loading: w.value,
1497
- disabled: x.value,
1498
- readonly: S.value,
1499
- "icon-before": ve.value !== void 0,
1500
- "icon-after": ye.value !== void 0,
1501
- dirty: he.value,
1502
- focus: h.value && !de.value,
1503
- floating: N.value,
1504
- multiple: le.value
1505
- }))), { getOptionLabel: xe, getOptionValue: Se, isOptionDisabled: Ce, getOptionGrouped: we } = pn(a);
1506
- y(() => a.options, (e) => {
1507
- if (e?.length && a.autoselectFirst && !he.value) {
1508
- let t = Se(e[0]);
1509
- L.value = a.multiple ? [t] : t;
1493
+ }), Se = Ot("vv-select", ie, k(() => ({
1494
+ valid: ce.value,
1495
+ invalid: O.value,
1496
+ loading: C.value,
1497
+ disabled: b.value,
1498
+ readonly: x.value,
1499
+ "icon-before": ye.value !== void 0,
1500
+ "icon-after": xe.value !== void 0,
1501
+ dirty: ge.value,
1502
+ focus: h.value && !fe.value,
1503
+ floating: M.value,
1504
+ multiple: ue.value
1505
+ }))), { getOptionLabel: z, getOptionValue: Ce, isOptionDisabled: we, getOptionGrouped: Te } = pn(a);
1506
+ v(() => a.options, (e) => {
1507
+ if (e?.length && a.autoselectFirst && !ge.value) {
1508
+ let t = Ce(e[0]);
1509
+ I.value = a.multiple ? [t] : t;
1510
1510
  }
1511
1511
  }, { immediate: !0 });
1512
- function Te() {
1513
- Array.isArray(L.value) ? L.value = [] : L.value = void 0, o("clear");
1512
+ function Ee() {
1513
+ Array.isArray(I.value) ? I.value = [] : I.value = void 0, o("clear");
1514
1514
  }
1515
- let De = A(() => ({
1515
+ let De = k(() => ({
1516
1516
  name: a.name,
1517
- tabindex: fe.value,
1518
- disabled: de.value,
1517
+ tabindex: pe.value,
1518
+ disabled: fe.value,
1519
1519
  required: a.required,
1520
1520
  size: a.size,
1521
1521
  autocomplete: a.autocomplete,
1522
1522
  multiple: a.multiple,
1523
- "aria-invalid": be.value,
1524
- "aria-describedby": p.value ? ue.value : void 0,
1525
- "aria-errormessage": ee.value ? ue.value : void 0
1526
- })), Oe = A(() => ({
1523
+ "aria-invalid": R.value,
1524
+ "aria-describedby": p.value ? de.value : void 0,
1525
+ "aria-errormessage": ee.value ? de.value : void 0
1526
+ })), Oe = k(() => ({
1527
1527
  valid: a.valid,
1528
1528
  invalid: a.invalid,
1529
1529
  modelValue: a.modelValue
1530
1530
  }));
1531
- return (t, r) => (u(), F("div", { class: g(C(z)) }, [
1532
- t.label ? (u(), F("label", {
1531
+ return (t, r) => (u(), P("div", { class: te(S(Se)) }, [
1532
+ t.label ? (u(), P("label", {
1533
1533
  key: 0,
1534
- for: C(P)
1535
- }, v(t.label), 9, mn)) : b("v-if", !0),
1536
- D("div", hn, [
1537
- t.$slots.before ? (u(), F("div", gn, [n(t.$slots, "before", i(_(C(Oe))))])) : b("v-if", !0),
1538
- D("div", _n, [
1539
- C(ve) ? (u(), E($, d({ key: 0 }, C(ve), { class: "vv-select__icon" }), null, 16)) : b("v-if", !0),
1540
- ae(D("select", d({
1541
- id: C(P),
1534
+ for: S(N)
1535
+ }, _(t.label), 9, mn)) : y("v-if", !0),
1536
+ E("div", hn, [
1537
+ t.$slots.before ? (u(), P("div", gn, [n(t.$slots, "before", i(g(S(Oe))))])) : y("v-if", !0),
1538
+ E("div", _n, [
1539
+ S(ye) ? (u(), T($, d({ key: 0 }, S(ye), { class: "vv-select__icon" }), null, 16)) : y("v-if", !0),
1540
+ oe(E("select", d({
1541
+ id: S(N),
1542
1542
  ref_key: "selectEl",
1543
1543
  ref: l
1544
- }, C(De), { "onUpdate:modelValue": r[0] ||= (e) => ie(L) ? L.value = e : null }), [t.placeholder ? (u(), F("option", {
1544
+ }, S(De), { "onUpdate:modelValue": r[0] ||= (e) => ae(I) ? I.value = e : null }), [t.placeholder ? (u(), P("option", {
1545
1545
  key: 0,
1546
1546
  value: void 0,
1547
- disabled: !C(_e),
1548
- hidden: !C(_e)
1549
- }, v(t.placeholder), 9, yn)) : b("v-if", !0), (u(!0), F(T, null, ge(t.options, (e, t) => (u(), F(T, null, [te(e) ? (u(), F("optgroup", {
1547
+ disabled: !S(ve),
1548
+ hidden: !S(ve)
1549
+ }, _(t.placeholder), 9, yn)) : y("v-if", !0), (u(!0), P(w, null, _e(t.options, (e, t) => (u(), P(w, null, [ne(e) ? (u(), P("optgroup", {
1550
1550
  key: `group-${t}`,
1551
- disabled: C(Ce)(e),
1552
- label: C(xe)(e)
1553
- }, [(u(!0), F(T, null, ge(C(we)(e), (e, n) => (u(), F("option", {
1551
+ disabled: S(we)(e),
1552
+ label: S(z)(e)
1553
+ }, [(u(!0), P(w, null, _e(S(Te)(e), (e, n) => (u(), P("option", {
1554
1554
  key: `group-${t}-item-${n}`,
1555
- disabled: C(Ce)(e),
1556
- value: C(Se)(e)
1557
- }, v(C(xe)(e)), 9, Sn))), 128))], 8, xn)) : (u(), F("option", {
1555
+ disabled: S(we)(e),
1556
+ value: S(Ce)(e)
1557
+ }, _(S(z)(e)), 9, Sn))), 128))], 8, xn)) : (u(), P("option", {
1558
1558
  key: t,
1559
- disabled: C(Ce)(e),
1560
- value: C(Se)(e)
1561
- }, v(C(xe)(e)), 9, bn))], 64))), 256))], 16, vn), [[j, C(L)]]),
1562
- C(ye) ? (u(), E($, d({ key: 1 }, C(ye), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : b("v-if", !0)
1559
+ disabled: S(we)(e),
1560
+ value: S(Ce)(e)
1561
+ }, _(S(z)(e)), 9, bn))], 64))), 256))], 16, vn), [[A, S(I)]]),
1562
+ S(xe) ? (u(), T($, d({ key: 1 }, S(xe), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : y("v-if", !0)
1563
1563
  ]),
1564
- C(_e) && C(c).showClearAction ? (u(), E(C(At), {
1564
+ S(ve) && S(c).showClearAction ? (u(), T(S(At), {
1565
1565
  key: 1,
1566
1566
  "input-type": "select",
1567
1567
  label: t.labelClear,
1568
1568
  icon: t.iconClear,
1569
- disabled: !C(he),
1570
- onClear: Te
1569
+ disabled: !S(ge),
1570
+ onClear: Ee
1571
1571
  }, null, 8, [
1572
1572
  "label",
1573
1573
  "icon",
1574
1574
  "disabled"
1575
- ])) : b("v-if", !0),
1576
- t.$slots.after ? (u(), F("div", Cn, [n(t.$slots, "after", i(_(C(Oe))))])) : b("v-if", !0)
1575
+ ])) : y("v-if", !0),
1576
+ t.$slots.after ? (u(), P("div", Cn, [n(t.$slots, "after", i(g(S(Oe))))])) : y("v-if", !0)
1577
1577
  ]),
1578
- pe(C(f), {
1579
- id: C(ue),
1578
+ me(S(f), {
1579
+ id: S(de),
1580
1580
  class: "vv-select__hint"
1581
- }, me({ _: 2 }, [
1581
+ }, he({ _: 2 }, [
1582
1582
  t.$slots.hint ? {
1583
1583
  name: "hint",
1584
- fn: e(() => [n(t.$slots, "hint", i(_(C(m))))]),
1584
+ fn: e(() => [n(t.$slots, "hint", i(g(S(m))))]),
1585
1585
  key: "0"
1586
1586
  } : void 0,
1587
1587
  t.$slots.loading ? {
1588
1588
  name: "loading",
1589
- fn: e(() => [n(t.$slots, "loading", i(_(C(m))))]),
1589
+ fn: e(() => [n(t.$slots, "loading", i(g(S(m))))]),
1590
1590
  key: "1"
1591
1591
  } : void 0,
1592
1592
  t.$slots.valid ? {
1593
1593
  name: "valid",
1594
- fn: e(() => [n(t.$slots, "valid", i(_(C(m))))]),
1594
+ fn: e(() => [n(t.$slots, "valid", i(g(S(m))))]),
1595
1595
  key: "2"
1596
1596
  } : void 0,
1597
1597
  t.$slots.invalid ? {
1598
1598
  name: "invalid",
1599
- fn: e(() => [n(t.$slots, "invalid", i(_(C(m))))]),
1599
+ fn: e(() => [n(t.$slots, "invalid", i(g(S(m))))]),
1600
1600
  key: "3"
1601
1601
  } : void 0
1602
1602
  ]), 1032, ["id"])
@@ -1630,7 +1630,7 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1630
1630
  VvDropdownOptgroup: rn,
1631
1631
  VvButton: Gt
1632
1632
  },
1633
- props: /* @__PURE__ */ O(_t(), {
1633
+ props: /* @__PURE__ */ D(_t(), {
1634
1634
  search: {
1635
1635
  type: String,
1636
1636
  default: "",
@@ -1638,7 +1638,7 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1638
1638
  },
1639
1639
  searchModifiers: {}
1640
1640
  }),
1641
- emits: /* @__PURE__ */ O([
1641
+ emits: /* @__PURE__ */ D([
1642
1642
  "update:modelValue",
1643
1643
  "update:search",
1644
1644
  "update:options",
@@ -1648,73 +1648,73 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1648
1648
  "change:search"
1649
1649
  ], ["update:search"]),
1650
1650
  setup(t, { emit: r }) {
1651
- let a = t, o = r, s = ce(), c = dn("VvCombobox", _t(), a), f = M(null), p = M(null), m = M(null), h = M(), { HintSlot: te, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: re, hintSlotScope: x } = Et(c, s), { focused: w } = fn(f, o), { focused: oe } = xe(m), O;
1652
- function k() {
1653
- clearTimeout(O), O = setTimeout(() => {
1654
- !w.value && !oe.value && P.value && L();
1651
+ let a = t, o = r, s = le(), c = dn("VvCombobox", _t(), a), f = j(null), p = j(null), m = j(null), h = j(), { HintSlot: ne, hasHintLabelOrSlot: re, hasInvalidLabelOrSlot: ie, hintSlotScope: b } = Et(c, s), { focused: C } = fn(f, o), { focused: se } = De(m), D;
1652
+ function O() {
1653
+ clearTimeout(D), D = setTimeout(() => {
1654
+ !C.value && !se.value && N.value && I();
1655
1655
  }, 50);
1656
1656
  }
1657
- ee(() => clearTimeout(O)), y(w, (e) => {
1657
+ ee(() => clearTimeout(D)), v(C, (e) => {
1658
1658
  if (a.autoOpen) {
1659
- if (e && !P.value) {
1660
- clearTimeout(O), fe();
1659
+ if (e && !N.value) {
1660
+ clearTimeout(D), pe();
1661
1661
  return;
1662
1662
  }
1663
- !e && P.value && !oe.value && k();
1663
+ !e && N.value && !se.value && O();
1664
1664
  }
1665
- }), y(oe, (e) => {
1665
+ }), v(se, (e) => {
1666
1666
  if (e) {
1667
- clearTimeout(O);
1667
+ clearTimeout(D);
1668
1668
  return;
1669
1669
  }
1670
- !w.value && P.value && k();
1670
+ !C.value && N.value && O();
1671
1671
  });
1672
- let j = l(t, "search"), N = z(j, A(() => Number(a.debounceSearch)));
1673
- y(N, () => {
1674
- o("update:search", N.value), o("change:search", N.value);
1672
+ let A = l(t, "search"), M = R(A, k(() => Number(a.debounceSearch)));
1673
+ v(M, () => {
1674
+ o("update:search", M.value), o("change:search", M.value);
1675
1675
  });
1676
- let P = M(!1);
1677
- function de() {
1678
- B.value || (P.value = !P.value);
1679
- }
1676
+ let N = j(!1);
1680
1677
  function fe() {
1681
- B.value || P.value || (P.value = !0);
1678
+ B.value || (N.value = !N.value);
1679
+ }
1680
+ function pe() {
1681
+ B.value || N.value || (N.value = !0);
1682
1682
  }
1683
- function L() {
1684
- B.value || !P.value || (P.value = !1);
1683
+ function I() {
1684
+ B.value || !N.value || (N.value = !1);
1685
1685
  }
1686
- function he() {
1686
+ function ge() {
1687
1687
  c.value.searchable && p.value && p.value.focus({ preventScroll: !0 });
1688
1688
  }
1689
- function _e() {
1690
- c.value.keepSearch || (j.value = "");
1689
+ function ve() {
1690
+ c.value.keepSearch || (A.value = "");
1691
1691
  }
1692
- function R(e) {
1692
+ function L(e) {
1693
1693
  return typeof e != "string" && e.options?.length;
1694
1694
  }
1695
- let { id: ve, icon: ye, iconPosition: be, modifiers: Se, disabled: Ce, required: we, readonly: Ee, loading: Oe, valid: ke, invalid: Ae, floating: je } = I(a), Me = Ht(ve), Ne = A(() => `${Me.value}-hint`), Pe = A(() => `${Me.value}-dropdown`), Fe = A(() => `${Me.value}-search`), Ie = A(() => `${Me.value}-label`), B = A(() => a.disabled || a.readonly), Le = A(() => B.value ? -1 : a.tabindex), V = A({
1695
+ let { id: ye, icon: be, iconPosition: xe, modifiers: Se, disabled: z, required: Ce, readonly: we, loading: Oe, valid: ke, invalid: Ae, floating: je } = F(a), Me = Ht(ye), Ne = k(() => `${Me.value}-hint`), Pe = k(() => `${Me.value}-dropdown`), Fe = k(() => `${Me.value}-search`), Ie = k(() => `${Me.value}-label`), B = k(() => a.disabled || a.readonly), Le = k(() => B.value ? -1 : a.tabindex), V = k({
1696
1696
  get: () => Array.isArray(a.modelValue) ? a.modelValue : a.modelValue !== void 0 && a.modelValue !== null ? [a.modelValue] : [],
1697
1697
  set: (e) => {
1698
1698
  o("update:modelValue", a.multiple || Array.isArray(a.modelValue) ? e : e.pop());
1699
1699
  }
1700
- }), Re = A(() => V.value.length), ze = A(() => Re.value > 0), H = A(() => a.multiple ? a.maxValues === void 0 ? 1 / 0 : Number(a.maxValues) : 1), Be = A(() => B.value || !a.unselectable ? !1 : Number(a.minValues) === 0 || Re.value > Number(a.minValues)), Ve = A(() => B.value ? !1 : !a.multiple || Re.value < H.value), He = M(!1), U = A(() => He.value || Oe.value), { hasIconBefore: W, hasIconAfter: We } = kt(ye, be), Ge = Ot("vv-select", Se, A(() => ({
1701
- disabled: Ce.value,
1702
- required: we.value,
1700
+ }), Re = k(() => V.value.length), ze = k(() => Re.value > 0), H = k(() => a.multiple ? a.maxValues === void 0 ? 1 / 0 : Number(a.maxValues) : 1), Be = k(() => B.value || !a.unselectable ? !1 : Number(a.minValues) === 0 || Re.value > Number(a.minValues)), Ve = k(() => B.value ? !1 : !a.multiple || Re.value < H.value), He = j(!1), U = k(() => He.value || Oe.value), { hasIconBefore: W, hasIconAfter: We } = kt(be, xe), Ge = Ot("vv-select", Se, k(() => ({
1701
+ disabled: z.value,
1702
+ required: Ce.value,
1703
1703
  loading: U.value,
1704
- readonly: Ee.value,
1704
+ readonly: we.value,
1705
1705
  "icon-before": W.value !== void 0,
1706
1706
  "icon-after": We.value !== void 0,
1707
1707
  valid: ke.value,
1708
1708
  invalid: Ae.value,
1709
1709
  dirty: ze.value,
1710
- focus: (w.value || oe.value || P.value) && !B.value,
1710
+ focus: (C.value || se.value || N.value) && !B.value,
1711
1711
  floating: je.value,
1712
1712
  badges: a.badges
1713
- }))), Ke = M(/* @__PURE__ */ new Set()), { getOptionLabel: G, getOptionValue: qe, getOptionGrouped: K, isOptionDisabled: Je } = pn(a), Ye = A(() => {
1713
+ }))), Ke = j(/* @__PURE__ */ new Set()), { getOptionLabel: G, getOptionValue: qe, getOptionGrouped: K, isOptionDisabled: Je } = pn(a), Ye = k(() => {
1714
1714
  let e = [...Ke.value];
1715
- for (let t of a.options) R(t) ? e.push(...K(t)) : e.push(t);
1715
+ for (let t of a.options) L(t) ? e.push(...K(t)) : e.push(t);
1716
1716
  return e;
1717
- }), q = A(() => {
1717
+ }), q = k(() => {
1718
1718
  let e = [...a.options, ...Ke.value];
1719
1719
  for (let t of V.value) Ye.value.some((e) => {
1720
1720
  let n = qe(e);
@@ -1722,21 +1722,21 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1722
1722
  }) || e.push(t);
1723
1723
  return e;
1724
1724
  });
1725
- y(Ke, (e) => {
1725
+ v(Ke, (e) => {
1726
1726
  e.size > 0 && o("update:options", q.value);
1727
1727
  });
1728
1728
  function J(e) {
1729
1729
  return Je(e) || !Ve.value && !X(e);
1730
1730
  }
1731
- let Y = De(async () => {
1731
+ let Y = Ee(async () => {
1732
1732
  if (c.value.searchFunction) {
1733
1733
  He.value = !0;
1734
- let e = await Promise.resolve(c.value.searchFunction(N.value, q.value));
1734
+ let e = await Promise.resolve(c.value.searchFunction(M.value, q.value));
1735
1735
  return He.value = !1, e;
1736
1736
  }
1737
- let e = N.value.toLowerCase().trim();
1737
+ let e = M.value.toLowerCase().trim();
1738
1738
  return e ? q.value?.reduce((t, n) => {
1739
- if (R(n)) {
1739
+ if (L(n)) {
1740
1740
  let r = G(n).toLowerCase(), i = K(n).filter((t) => G(t).toLowerCase().includes(e));
1741
1741
  if (r.includes(e)) t.push(n);
1742
1742
  else if (i.length > 0) {
@@ -1755,32 +1755,32 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1755
1755
  let t = qe(e);
1756
1756
  return typeof t == "object" ? V.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : V.value.includes(t);
1757
1757
  }
1758
- let Xe = A(() => q.value.reduce((e, t) => R(t) ? [...e, ...K(t)] : [...e, t], []).filter((e) => X(e))), Ze = A(() => Xe.value.map((e) => G(e)).join(a.separator));
1758
+ let Xe = k(() => q.value.reduce((e, t) => L(t) ? [...e, ...K(t)] : [...e, t], []).filter((e) => X(e))), Ze = k(() => Xe.value.map((e) => G(e)).join(a.separator));
1759
1759
  function Qe() {
1760
- a.autoOpen ? fe() : de();
1760
+ a.autoOpen ? pe() : fe();
1761
1761
  }
1762
1762
  function Z(e) {
1763
1763
  let t = X(e), n = qe(e);
1764
- t && Be.value ? V.value = V.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && Ve.value && (a.multiple ? V.value = [...V.value, n] : V.value = [n]), !a.multiple && !a.keepOpen && L();
1764
+ t && Be.value ? V.value = V.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && Ve.value && (a.multiple ? V.value = [...V.value, n] : V.value = [n]), !a.multiple && !a.keepOpen && I();
1765
1765
  }
1766
1766
  function $e() {
1767
1767
  V.value = [], o("update:search", ""), o("clear");
1768
1768
  }
1769
- y(q, (e) => {
1769
+ v(q, (e) => {
1770
1770
  if (e?.length && a.autoselectFirst && !ze.value) {
1771
- let t = e.find((e) => !R(e));
1771
+ let t = e.find((e) => !L(e));
1772
1772
  if (t) {
1773
1773
  Z(t);
1774
1774
  return;
1775
1775
  }
1776
- let n = e.find((e) => R(e));
1776
+ let n = e.find((e) => L(e));
1777
1777
  if (n) {
1778
1778
  let e = K(n);
1779
1779
  e.length && Z(e[0]);
1780
1780
  }
1781
1781
  }
1782
1782
  }, { immediate: !0 });
1783
- let et = A(() => ({
1783
+ let et = k(() => ({
1784
1784
  id: Me.value,
1785
1785
  name: a.name,
1786
1786
  tabindex: Le.value,
@@ -1791,8 +1791,8 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1791
1791
  hintLabel: c.value.hintLabel,
1792
1792
  loading: U.value,
1793
1793
  loadingLabel: c.value.loadingLabel,
1794
- disabled: Ce.value,
1795
- readonly: Ee.value,
1794
+ disabled: z.value,
1795
+ readonly: we.value,
1796
1796
  modifiers: c.value.modifiers,
1797
1797
  options: c.value.options,
1798
1798
  labelKey: c.value.labelKey,
@@ -1806,7 +1806,7 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1806
1806
  label: c.value.label,
1807
1807
  placeholder: c.value.placeholder,
1808
1808
  modelValue: a.modelValue
1809
- })), tt = A(() => ({
1809
+ })), tt = k(() => ({
1810
1810
  id: Pe.value,
1811
1811
  reference: m.value,
1812
1812
  placement: c.value.placement,
@@ -1821,19 +1821,19 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1821
1821
  triggerWidth: c.value.triggerWidth,
1822
1822
  topLayer: c.value.topLayer,
1823
1823
  modifiers: c.value.dropdownModifiers
1824
- })), Q = A(() => ({
1824
+ })), Q = k(() => ({
1825
1825
  valid: a.valid,
1826
1826
  invalid: a.invalid,
1827
1827
  modelValue: a.modelValue
1828
1828
  }));
1829
1829
  Te([" ", "Enter"], (e) => {
1830
- a.autoOpen || !P.value && w.value && (e.preventDefault(), e.stopImmediatePropagation(), de());
1830
+ a.autoOpen || !N.value && C.value && (e.preventDefault(), e.stopImmediatePropagation(), fe());
1831
1831
  }, { target: f });
1832
1832
  function nt() {
1833
1833
  if (Y.value?.length) {
1834
1834
  if (Y.value.length === 1) {
1835
1835
  let e = Y.value[0];
1836
- if (R(e)) {
1836
+ if (L(e)) {
1837
1837
  let t = K(e);
1838
1838
  t.length && Z(t[0]);
1839
1839
  return;
@@ -1845,97 +1845,97 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1845
1845
  return;
1846
1846
  }
1847
1847
  if (c.value.addable) {
1848
- let e = j.value.trim();
1848
+ let e = A.value.trim();
1849
1849
  if (!e || Ye.value.some((t) => G(t).toLowerCase() === e.toLowerCase())) return;
1850
1850
  Ke.value.add(e), Z(e);
1851
1851
  }
1852
1852
  }
1853
- return (t, r) => t.native ? (u(), E(wn, d({ key: 1 }, C(et), { "onUpdate:modelValue": r[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (u(), F("div", {
1853
+ return (t, r) => t.native ? (u(), T(wn, d({ key: 1 }, S(et), { "onUpdate:modelValue": r[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (u(), P("div", {
1854
1854
  key: 0,
1855
- id: C(Me),
1856
- class: g(C(Ge))
1855
+ id: S(Me),
1856
+ class: te(S(Ge))
1857
1857
  }, [
1858
- t.label ? (u(), F("label", {
1858
+ t.label ? (u(), P("label", {
1859
1859
  key: 0,
1860
- id: C(Ie),
1861
- for: C(c).searchable ? C(Fe) : void 0
1862
- }, v(t.label), 9, En)) : b("v-if", !0),
1863
- D("div", {
1860
+ id: S(Ie),
1861
+ for: S(c).searchable ? S(Fe) : void 0
1862
+ }, _(t.label), 9, En)) : y("v-if", !0),
1863
+ E("div", {
1864
1864
  ref_key: "wrapperEl",
1865
1865
  ref: m,
1866
1866
  class: "vv-select__wrapper"
1867
- }, [pe(tn, d({
1867
+ }, [me(tn, d({
1868
1868
  ref_key: "dropdownEl",
1869
1869
  ref: h,
1870
- modelValue: C(P),
1871
- "onUpdate:modelValue": r[2] ||= (e) => ie(P) ? P.value = e : null
1872
- }, C(tt), {
1873
- role: C(Ue).listbox,
1874
- onAfterExpand: he,
1875
- onAfterCollapse: _e
1876
- }), me({
1870
+ modelValue: S(N),
1871
+ "onUpdate:modelValue": r[2] ||= (e) => ae(N) ? N.value = e : null
1872
+ }, S(tt), {
1873
+ role: S(Ue).listbox,
1874
+ onAfterExpand: ge,
1875
+ onAfterCollapse: ve
1876
+ }), he({
1877
1877
  default: e(({ aria: r }) => [
1878
- t.$slots.before ? (u(), F("div", On, [n(t.$slots, "before", i(_(C(Q))))])) : b("v-if", !0),
1879
- D("div", kn, [
1880
- C(W) ? (u(), E($, d({ key: 0 }, C(W), { class: "vv-select__icon" }), null, 16)) : b("v-if", !0),
1881
- D("div", d({
1878
+ t.$slots.before ? (u(), P("div", On, [n(t.$slots, "before", i(g(S(Q))))])) : y("v-if", !0),
1879
+ E("div", kn, [
1880
+ S(W) ? (u(), T($, d({ key: 0 }, S(W), { class: "vv-select__icon" }), null, 16)) : y("v-if", !0),
1881
+ E("div", d({
1882
1882
  ref_key: "inputEl",
1883
1883
  ref: f
1884
1884
  }, r, {
1885
1885
  class: "vv-select__input",
1886
1886
  role: "combobox",
1887
- "aria-controls": C(Pe),
1888
- "aria-expanded": C(P),
1889
- "aria-labelledby": C(Ie),
1890
- "aria-describedby": C(ne) ? C(Ne) : void 0,
1891
- "aria-errormessage": C(re) ? C(Ne) : void 0,
1892
- tabindex: C(Le),
1887
+ "aria-controls": S(Pe),
1888
+ "aria-expanded": S(N),
1889
+ "aria-labelledby": S(Ie),
1890
+ "aria-describedby": S(re) ? S(Ne) : void 0,
1891
+ "aria-errormessage": S(ie) ? S(Ne) : void 0,
1892
+ tabindex: S(Le),
1893
1893
  onClickPassive: Qe
1894
- }), [C(Ze) ? n(t.$slots, "value", i(_({
1895
- selectedOptions: C(Xe),
1894
+ }), [S(Ze) ? n(t.$slots, "value", i(g({
1895
+ selectedOptions: S(Xe),
1896
1896
  onInput: Z
1897
- })), () => [t.badges ? (u(!0), F(T, { key: 1 }, ge(C(Xe), (n, r) => (u(), E(Mt, {
1897
+ })), () => [t.badges ? (u(!0), P(w, { key: 1 }, _e(S(Xe), (n, r) => (u(), T(Mt, {
1898
1898
  key: r,
1899
1899
  modifiers: t.badgeModifiers,
1900
1900
  class: "vv-select__badge"
1901
1901
  }, {
1902
- default: e(() => [S(v(C(G)(n)) + " ", 1), C(Be) ? (u(), F("button", {
1902
+ default: e(() => [x(_(S(G)(n)) + " ", 1), S(Be) ? (u(), P("button", {
1903
1903
  key: 0,
1904
- "aria-label": C(c).deselectActionLabel,
1904
+ "aria-label": S(c).deselectActionLabel,
1905
1905
  type: "button",
1906
- onClick: ue((e) => Z(n), ["stop"])
1907
- }, [pe($, { name: "close" })], 8, Mn)) : b("v-if", !0)]),
1906
+ onClick: de((e) => Z(n), ["stop"])
1907
+ }, [me($, { name: "close" })], 8, Mn)) : y("v-if", !0)]),
1908
1908
  _: 2
1909
- }, 1032, ["modifiers"]))), 128)) : (u(), F("div", jn, v(C(Ze)), 1))], void 0, 0) : n(t.$slots, "placeholder", {}, () => [S(v(t.placeholder), 1)], void 0, 1)], 16, An),
1910
- C(We) ? (u(), E($, d({ key: 1 }, C(We), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : b("v-if", !0)
1909
+ }, 1032, ["modifiers"]))), 128)) : (u(), P("div", jn, _(S(Ze)), 1))], void 0, 0) : n(t.$slots, "placeholder", {}, () => [x(_(t.placeholder), 1)], void 0, 1)], 16, An),
1910
+ S(We) ? (u(), T($, d({ key: 1 }, S(We), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : y("v-if", !0)
1911
1911
  ]),
1912
- C(Be) && C(c).showClearAction ? (u(), E(C(At), {
1912
+ S(Be) && S(c).showClearAction ? (u(), T(S(At), {
1913
1913
  key: 1,
1914
1914
  "input-type": "select",
1915
1915
  label: t.labelClear,
1916
1916
  icon: t.iconClear,
1917
- disabled: !C(ze),
1917
+ disabled: !S(ze),
1918
1918
  onClear: $e
1919
1919
  }, null, 8, [
1920
1920
  "label",
1921
1921
  "icon",
1922
1922
  "disabled"
1923
- ])) : b("v-if", !0),
1924
- t.$slots.after ? (u(), F("div", Nn, [n(t.$slots, "after", i(_(C(Q))))])) : b("v-if", !0)
1923
+ ])) : y("v-if", !0),
1924
+ t.$slots.after ? (u(), P("div", Nn, [n(t.$slots, "after", i(g(S(Q))))])) : y("v-if", !0)
1925
1925
  ]),
1926
- items: e(() => [!C(Ce) && C(Y)?.length ? (u(!0), F(T, { key: 0 }, ge(C(Y), (r, i) => (u(), F(T, { key: i }, [R(r) ? (u(), F(T, { key: 0 }, [pe(rn, { label: C(G)(r) }, {
1926
+ items: e(() => [!S(z) && S(Y)?.length ? (u(!0), P(w, { key: 0 }, _e(S(Y), (r, i) => (u(), P(w, { key: i }, [L(r) ? (u(), P(w, { key: 0 }, [me(rn, { label: S(G)(r) }, {
1927
1927
  default: e(() => [n(t.$slots, "option-group", d({ ref_for: !0 }, {
1928
1928
  option: r,
1929
- selectedOptions: C(Xe)
1930
- }), () => [S(v(C(G)(r)), 1)])]),
1929
+ selectedOptions: S(Xe)
1930
+ }), () => [x(_(S(G)(r)), 1)])]),
1931
1931
  _: 2
1932
- }, 1032, ["label"]), (u(!0), F(T, null, ge(C(K)(r), (r, i) => (u(), E(sn, d({ ref_for: !0 }, {
1932
+ }, 1032, ["label"]), (u(!0), P(w, null, _e(S(K)(r), (r, i) => (u(), T(sn, d({ ref_for: !0 }, {
1933
1933
  selected: X(r),
1934
1934
  disabled: J(r),
1935
- unselectable: C(Be),
1936
- deselectHintLabel: C(c).deselectHintLabel,
1937
- selectHintLabel: C(c).selectHintLabel,
1938
- selectedHintLabel: C(c).selectedHintLabel,
1935
+ unselectable: S(Be),
1936
+ deselectHintLabel: S(c).deselectHintLabel,
1937
+ selectHintLabel: S(c).selectHintLabel,
1938
+ selectedHintLabel: S(c).selectedHintLabel,
1939
1939
  focusOnHover: t.focusOnHover
1940
1940
  }, {
1941
1941
  key: i,
@@ -1944,21 +1944,21 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1944
1944
  }), {
1945
1945
  default: e(() => [n(t.$slots, "option", d({ ref_for: !0 }, {
1946
1946
  option: r,
1947
- selectedOptions: C(Xe),
1947
+ selectedOptions: S(Xe),
1948
1948
  selected: X(r),
1949
1949
  disabled: J(r)
1950
- }), () => [S(v(C(G)(r)), 1)])]),
1950
+ }), () => [x(_(S(G)(r)), 1)])]),
1951
1951
  _: 2
1952
- }, 1040, ["onClickPassive"]))), 128))], 64)) : (u(), E(sn, d({
1952
+ }, 1040, ["onClickPassive"]))), 128))], 64)) : (u(), T(sn, d({
1953
1953
  key: 1,
1954
1954
  ref_for: !0
1955
1955
  }, {
1956
1956
  selected: X(r),
1957
1957
  disabled: J(r),
1958
- unselectable: C(Be),
1959
- deselectHintLabel: C(c).deselectHintLabel,
1960
- selectHintLabel: C(c).selectHintLabel,
1961
- selectedHintLabel: C(c).selectedHintLabel,
1958
+ unselectable: S(Be),
1959
+ deselectHintLabel: S(c).deselectHintLabel,
1960
+ selectHintLabel: S(c).selectHintLabel,
1961
+ selectedHintLabel: S(c).selectedHintLabel,
1962
1962
  focusOnHover: t.focusOnHover
1963
1963
  }, {
1964
1964
  class: "vv-dropdown-option",
@@ -1966,72 +1966,72 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
1966
1966
  }), {
1967
1967
  default: e(() => [n(t.$slots, "option", d({ ref_for: !0 }, {
1968
1968
  option: r,
1969
- selectedOptions: C(Xe),
1969
+ selectedOptions: S(Xe),
1970
1970
  selected: X(r),
1971
1971
  disabled: J(r)
1972
- }), () => [S(v(C(G)(r)), 1)])]),
1972
+ }), () => [x(_(S(G)(r)), 1)])]),
1973
1973
  _: 2
1974
- }, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (u(), E(sn, {
1974
+ }, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (u(), T(sn, {
1975
1975
  key: 2,
1976
1976
  modifiers: "inert"
1977
1977
  }, {
1978
- default: e(() => [n(t.$slots, "no-results", {}, () => [S(v(C(c).addable ? C(c).addOptionHintLabel : C(c).noResultsLabel), 1)])]),
1978
+ default: e(() => [n(t.$slots, "no-results", {}, () => [x(_(S(c).addable ? S(c).addOptionHintLabel : S(c).noResultsLabel), 1)])]),
1979
1979
  _: 3
1980
- })) : (u(), E(sn, {
1980
+ })) : (u(), T(sn, {
1981
1981
  key: 1,
1982
1982
  modifiers: "inert"
1983
1983
  }, {
1984
- default: e(() => [n(t.$slots, "no-options", {}, () => [S(v(C(c).addable && j.value.length ? C(c).addOptionHintLabel : C(c).noOptionsLabel), 1)])]),
1984
+ default: e(() => [n(t.$slots, "no-options", {}, () => [x(_(S(c).addable && A.value.length ? S(c).addOptionHintLabel : S(c).noOptionsLabel), 1)])]),
1985
1985
  _: 3
1986
1986
  }))]),
1987
- after: e(() => [n(t.$slots, "dropdown::after", {}, () => [C(h)?.customPosition ? (u(), E(Gt, {
1987
+ after: e(() => [n(t.$slots, "dropdown::after", {}, () => [S(h)?.customPosition ? (u(), T(Gt, {
1988
1988
  key: 0,
1989
- label: C(c).closeLabel,
1989
+ label: S(c).closeLabel,
1990
1990
  modifiers: "secondary",
1991
- onClick: r[1] ||= (e) => C(h).hide()
1992
- }, null, 8, ["label"])) : b("v-if", !0)])]),
1991
+ onClick: r[1] ||= (e) => S(h).hide()
1992
+ }, null, 8, ["label"])) : y("v-if", !0)])]),
1993
1993
  _: 2
1994
- }, [C(c).searchable || t.$slots["dropdown::before"] ? {
1994
+ }, [S(c).searchable || t.$slots["dropdown::before"] ? {
1995
1995
  name: "before",
1996
- fn: e(() => [n(t.$slots, "dropdown::before"), C(c).searchable && !C(Ce) ? ae((u(), F("input", {
1996
+ fn: e(() => [n(t.$slots, "dropdown::before"), S(c).searchable && !S(z) ? oe((u(), P("input", {
1997
1997
  key: 0,
1998
- id: C(Fe),
1998
+ id: S(Fe),
1999
1999
  ref_key: "inputSearchEl",
2000
2000
  ref: p,
2001
- "onUpdate:modelValue": r[0] ||= (e) => j.value = e,
2001
+ "onUpdate:modelValue": r[0] ||= (e) => A.value = e,
2002
2002
  "aria-autocomplete": "list",
2003
- "aria-controls": C(Pe),
2003
+ "aria-controls": S(Pe),
2004
2004
  autocomplete: "off",
2005
2005
  spellcheck: "false",
2006
2006
  type: "search",
2007
2007
  class: "vv-dropdown__search",
2008
- placeholder: C(c).searchPlaceholder,
2009
- onKeyup: se(nt, ["enter"])
2010
- }, null, 40, Dn)), [[le, j.value]]) : b("v-if", !0)]),
2008
+ placeholder: S(c).searchPlaceholder,
2009
+ onKeyup: ce(nt, ["enter"])
2010
+ }, null, 40, Dn)), [[ue, A.value]]) : y("v-if", !0)]),
2011
2011
  key: "0"
2012
2012
  } : void 0]), 1040, ["modelValue", "role"])], 512),
2013
- pe(C(te), {
2014
- id: C(Ne),
2013
+ me(S(ne), {
2014
+ id: S(Ne),
2015
2015
  class: "vv-select__hint"
2016
- }, me({ _: 2 }, [
2016
+ }, he({ _: 2 }, [
2017
2017
  t.$slots.hint ? {
2018
2018
  name: "hint",
2019
- fn: e(() => [n(t.$slots, "hint", i(_(C(x))))]),
2019
+ fn: e(() => [n(t.$slots, "hint", i(g(S(b))))]),
2020
2020
  key: "0"
2021
2021
  } : void 0,
2022
2022
  t.$slots.loading ? {
2023
2023
  name: "loading",
2024
- fn: e(() => [n(t.$slots, "loading", i(_(C(x))))]),
2024
+ fn: e(() => [n(t.$slots, "loading", i(g(S(b))))]),
2025
2025
  key: "1"
2026
2026
  } : void 0,
2027
2027
  t.$slots.valid ? {
2028
2028
  name: "valid",
2029
- fn: e(() => [n(t.$slots, "valid", i(_(C(x))))]),
2029
+ fn: e(() => [n(t.$slots, "valid", i(g(S(b))))]),
2030
2030
  key: "2"
2031
2031
  } : void 0,
2032
2032
  t.$slots.invalid ? {
2033
2033
  name: "invalid",
2034
- fn: e(() => [n(t.$slots, "invalid", i(_(C(x))))]),
2034
+ fn: e(() => [n(t.$slots, "invalid", i(g(S(b))))]),
2035
2035
  key: "3"
2036
2036
  } : void 0
2037
2037
  ]), 1032, ["id"])
@@ -2041,4 +2041,4 @@ var mn = ["for"], hn = { class: "vv-select__wrapper" }, gn = {
2041
2041
  //#endregion
2042
2042
  export { Pn as default };
2043
2043
 
2044
- //# sourceMappingURL=VvCombobox.es-D5zLGtOy.js.map
2044
+ //# sourceMappingURL=VvCombobox.es-DgB4YbSj.js.map