@8wave/ai-elements 0.121.0-beta.41 → 0.121.0-beta.43

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 (120) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js → PkChatbotFilePreview-DxpEIFOG.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js.map → PkChatbotFilePreview-DxpEIFOG.js.map} +1 -1
  3. package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js → PkHeldImage-CztNY8OZ.js} +2 -2
  4. package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js.map → PkHeldImage-CztNY8OZ.js.map} +1 -1
  5. package/dist/_chunks/{PkLazyImg-BBFsS16D.js → PkLazyImg-BqbuNQgf.js} +2 -2
  6. package/dist/_chunks/{PkLazyImg-BBFsS16D.js.map → PkLazyImg-BqbuNQgf.js.map} +1 -1
  7. package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js → PkStreamingMarkdown-BlTH2AJX.js} +2 -2
  8. package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js.map → PkStreamingMarkdown-BlTH2AJX.js.map} +1 -1
  9. package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js → PkToolEditSpreadsheet-CDxglslA.js} +2 -2
  10. package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js.map → PkToolEditSpreadsheet-CDxglslA.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js → PkToolRequestGeolocation-CxMAoAv6.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js.map → PkToolRequestGeolocation-CxMAoAv6.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js → PkToolRequestOAuthConnection-DU1Y2odZ.js} +3 -3
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js.map → PkToolRequestOAuthConnection-DU1Y2odZ.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js → PkToolShareDocument-YrPrexhS.js} +5 -5
  16. package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js.map → PkToolShareDocument-YrPrexhS.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js → PkToolShowArtifact-jQeIv65U.js} +4 -4
  18. package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js.map → PkToolShowArtifact-jQeIv65U.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js → PkToolShowCalendarEvent-CAN5-qnM.js} +4 -4
  20. package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js.map → PkToolShowCalendarEvent-CAN5-qnM.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js → PkToolShowComparison-DGxHYpl3.js} +4 -4
  22. package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js.map → PkToolShowComparison-DGxHYpl3.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js → PkToolShowContactForm-D7wg3Jlu.js} +5 -5
  24. package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js.map → PkToolShowContactForm-D7wg3Jlu.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js → PkToolShowDiagram-BBs1rh96.js} +4 -4
  26. package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js.map → PkToolShowDiagram-BBs1rh96.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowEmail-C3jped-R.js → PkToolShowEmail-CeiSo-zx.js} +4 -4
  28. package/dist/_chunks/{PkToolShowEmail-C3jped-R.js.map → PkToolShowEmail-CeiSo-zx.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js → PkToolShowForm-BMVgXxzl.js} +4 -4
  30. package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js.map → PkToolShowForm-BMVgXxzl.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js → PkToolShowImageGallery-Ba0CfKt6.js} +3 -3
  32. package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js.map → PkToolShowImageGallery-Ba0CfKt6.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js → PkToolShowLocation-Cp95-u2H.js} +4 -4
  34. package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js.map → PkToolShowLocation-Cp95-u2H.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js → PkToolShowMessage-Bn8O_W0D.js} +4 -4
  36. package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js.map → PkToolShowMessage-Bn8O_W0D.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowProductList-BCmULLct.js → PkToolShowProductList-DbZfUUWe.js} +4 -4
  38. package/dist/_chunks/{PkToolShowProductList-BCmULLct.js.map → PkToolShowProductList-DbZfUUWe.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js → PkToolShowQrCode-D_9_c-Ws.js} +4 -4
  40. package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js.map → PkToolShowQrCode-D_9_c-Ws.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js → PkToolShowSources-Dkt4IId2.js} +4 -4
  42. package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js.map → PkToolShowSources-Dkt4IId2.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js → PkToolShowSuggestedReply-BF2sT3B1.js} +2 -2
  44. package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js.map → PkToolShowSuggestedReply-BF2sT3B1.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js → PkToolShowVideo-l8JoSKCj.js} +3 -3
  46. package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js.map → PkToolShowVideo-l8JoSKCj.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js → PkToolShowWeather-DifqBB7o.js} +2 -2
  48. package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js.map → PkToolShowWeather-DifqBB7o.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js → PkToolShowWebPages-DtcEmrYt.js} +4 -4
  50. package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js.map → PkToolShowWebPages-DtcEmrYt.js.map} +1 -1
  51. package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js → VvButtonLocalized-D7K9ZslZ.js} +2 -2
  52. package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js.map → VvButtonLocalized-D7K9ZslZ.js.map} +1 -1
  53. package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js → VvCheckboxGroup.es-BebSMBKU.js} +2 -2
  54. package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js.map → VvCheckboxGroup.es-BebSMBKU.js.map} +1 -1
  55. package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js → VvCombobox.es-BfiDcdcw.js} +481 -481
  56. package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js.map → VvCombobox.es-BfiDcdcw.js.map} +1 -1
  57. package/dist/_chunks/{VvInputText.es-CETcNKlr.js → VvInputText.es-DllQ2Tue.js} +435 -435
  58. package/dist/_chunks/{VvInputText.es-CETcNKlr.js.map → VvInputText.es-DllQ2Tue.js.map} +1 -1
  59. package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js → VvRadioGroup.es-D6uqf6a1.js} +2 -2
  60. package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js.map → VvRadioGroup.es-D6uqf6a1.js.map} +1 -1
  61. package/dist/_chunks/{VvSelect.es-B_MShGnJ.js → VvSelect.es-BR5Ci5VC.js} +2 -2
  62. package/dist/_chunks/{VvSelect.es-B_MShGnJ.js.map → VvSelect.es-BR5Ci5VC.js.map} +1 -1
  63. package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js → VvTextarea.es-Bwe5xjXl.js} +29 -29
  64. package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js.map → VvTextarea.es-Bwe5xjXl.js.map} +1 -1
  65. package/dist/_chunks/{dist-Do_Ac5Yv.js → dist-CB7v_M5z.js} +52 -46
  66. package/dist/_chunks/dist-CB7v_M5z.js.map +1 -0
  67. package/dist/_chunks/{index.es-BTDKU45u.js → index.es-CKF2q-ww.js} +26 -26
  68. package/dist/_chunks/{index.es-BTDKU45u.js.map → index.es-CKF2q-ww.js.map} +1 -1
  69. package/dist/_chunks/{index.es-BZS9Cscn.js → index.es-CoWhnabo.js} +16 -16
  70. package/dist/_chunks/{index.es-BZS9Cscn.js.map → index.es-CoWhnabo.js.map} +1 -1
  71. package/dist/ai-elements.es.js +4171 -3913
  72. package/dist/ai-elements.es.js.map +1 -1
  73. package/dist-vue/PkChatbot.js +1 -1
  74. package/dist-vue/PkChatbotInput.js +1 -1
  75. package/dist-vue/PkChatbotQueuedMessages.d.ts +2 -0
  76. package/dist-vue/PkChatbotQueuedMessages.js +1 -0
  77. package/dist-vue/PkChatbotViewChat.js +1 -1
  78. package/dist-vue/PkChatbotViewConversations.js +1 -1
  79. package/dist-vue/PkChatbotViewFiles.js +1 -1
  80. package/dist-vue/PkChatbotViewProfile.js +1 -1
  81. package/dist-vue/_chunks/PkChatbot-CObEhs2T.js +279 -0
  82. package/dist-vue/_chunks/PkChatbot-CObEhs2T.js.map +1 -0
  83. package/dist-vue/_chunks/{PkChatbotInput-BJHtmPR-.js → PkChatbotInput-CuEoeb_M.js} +47 -22
  84. package/dist-vue/_chunks/PkChatbotInput-CuEoeb_M.js.map +1 -0
  85. package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js +51 -0
  86. package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js.map +1 -0
  87. package/dist-vue/_chunks/{PkChatbotViewChat-BI_PtT72.js → PkChatbotViewChat-BZb-U7Ju.js} +246 -224
  88. package/dist-vue/_chunks/PkChatbotViewChat-BZb-U7Ju.js.map +1 -0
  89. package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js +210 -0
  90. package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js.map +1 -0
  91. package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js → PkChatbotViewFiles-BgqksCn0.js} +2 -2
  92. package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js.map → PkChatbotViewFiles-BgqksCn0.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js → PkChatbotViewProfile-B6tHWrqn.js} +2 -2
  94. package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js.map → PkChatbotViewProfile-B6tHWrqn.js.map} +1 -1
  95. package/dist-vue/_chunks/{createChatbotApiClient-DUz4dwzY.js → createChatbotApiClient-hcFAulTq.js} +12 -3
  96. package/dist-vue/_chunks/createChatbotApiClient-hcFAulTq.js.map +1 -0
  97. package/dist-vue/_chunks/{useChatbotStore-D7LcpA-6.js → useChatbotStore-Ct7G-voO.js} +953 -800
  98. package/dist-vue/_chunks/useChatbotStore-Ct7G-voO.js.map +1 -0
  99. package/dist-vue/api.js +1 -1
  100. package/dist-vue/composables.js +10 -6
  101. package/dist-vue/composables.js.map +1 -1
  102. package/dist-vue/index.js +94 -80
  103. package/dist-vue/index.js.map +1 -1
  104. package/dist-vue/locales.js +16 -2
  105. package/dist-vue/packages/components/src/chat/PkChatSidebarConversationItem.d.ts +2 -0
  106. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +17 -3
  107. package/dist-vue/packages/components/src/chat/PkChatbotQueuedMessages.d.ts +22 -0
  108. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -1
  109. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +37 -2
  110. package/dist-vue/style.css +1 -1
  111. package/package.json +1 -1
  112. package/dist/_chunks/dist-Do_Ac5Yv.js.map +0 -1
  113. package/dist-vue/_chunks/PkChatbot-DIqduIwr.js +0 -290
  114. package/dist-vue/_chunks/PkChatbot-DIqduIwr.js.map +0 -1
  115. package/dist-vue/_chunks/PkChatbotInput-BJHtmPR-.js.map +0 -1
  116. package/dist-vue/_chunks/PkChatbotViewChat-BI_PtT72.js.map +0 -1
  117. package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js +0 -199
  118. package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js.map +0 -1
  119. package/dist-vue/_chunks/createChatbotApiClient-DUz4dwzY.js.map +0 -1
  120. package/dist-vue/_chunks/useChatbotStore-D7LcpA-6.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as ee, K as f, M as p, N as m, Ot as h, P as g, R as _, S as v, T as y, Tt as te, U as ne, V as b, W as re, Z as x, _ as S, at as C, b as ie, bt as w, c as ae, d as oe, et as T, f as E, g as D, h as O, ht as k, j as se, k as ce, l as le, lt as ue, q as de, r as fe, s as pe, t as me, tt as he, u as ge, v as A, w as j, wt as _e, x as M, xt as ve, y as N, yt as P, z as ye } from "./vue.runtime.esm-bundler-BkvITeKg.js";
2
- import { a as be, i as F, t as xe } from "./iconify-Lm6SAZ2s.js";
3
- import { b as Se, c as Ce, l as I, n as we, o as L, p as Te, r as R, t as Ee, u as De, y as Oe } from "./dist-Do_Ac5Yv.js";
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-DgWctTmX.js";
5
- import { t as B } from "./dot-prop-B2dazUQ6.js";
1
+ import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as ee, K as f, M as p, N as m, Ot as h, P as g, R as _, S as v, T as y, Tt as te, U as ne, V as b, W as re, Z as x, _ as S, at as C, b as ie, bt as w, c as ae, d as oe, et as T, f as E, g as D, h as O, ht as k, j as se, k as ce, l as le, lt as ue, q as de, r as fe, s as pe, t as me, tt as he, u as ge, v as A, w as j, wt as _e, x as M, xt as ve, y as N, yt as P, z as F } from "./vue.runtime.esm-bundler-BkvITeKg.js";
2
+ import { a as ye, i as I, t as be } from "./iconify-Lm6SAZ2s.js";
3
+ import { b as xe, d as Se, l as Ce, m as we, n as Te, r as Ee, s as De, t as Oe, u as L, x as ke } from "./dist-CB7v_M5z.js";
4
+ import { a as Ae, c as je, i as Me, l as R, n as Ne, o as Pe, r as Fe, s as Ie, t as Le } from "./floating-ui.vue-DgWctTmX.js";
5
+ import { t as z } from "./dot-prop-B2dazUQ6.js";
6
6
  //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.25_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_6457cdc65e61a009108dae6427ee3925/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
7
7
  ce(), fe(), C(), _e();
8
- var Le = {
8
+ var Re = {
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
- }, V = { prefix: "normal" }, Re = /* @__PURE__ */ (function(e) {
19
+ }, B = { prefix: "normal" }, ze = /* @__PURE__ */ (function(e) {
20
20
  return e.local = "local", e.session = "session", e;
21
- })({}), ze = /* @__PURE__ */ (function(e) {
21
+ })({}), Be = /* @__PURE__ */ (function(e) {
22
22
  return e.absolute = "absolute", e.fixed = "fixed", e;
23
- })({}), H = /* @__PURE__ */ (function(e) {
23
+ })({}), V = /* @__PURE__ */ (function(e) {
24
24
  return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
25
- })({}), Be = /* @__PURE__ */ (function(e) {
26
- return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
27
25
  })({}), Ve = /* @__PURE__ */ (function(e) {
28
- return e.before = "before", e.after = "after", e;
26
+ return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
29
27
  })({}), He = /* @__PURE__ */ (function(e) {
28
+ return e.before = "before", e.after = "after", e;
29
+ })({}), Ue = /* @__PURE__ */ (function(e) {
30
30
  return e.button = "button", e.submit = "submit", e.reset = "reset", e;
31
- })({}), U = /* @__PURE__ */ (function(e) {
31
+ })({}), H = /* @__PURE__ */ (function(e) {
32
32
  return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
33
- })({}), Ue = /* @__PURE__ */ (function(e) {
33
+ })({}), We = /* @__PURE__ */ (function(e) {
34
34
  return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
35
- })({}), W = /* @__PURE__ */ (function(e) {
35
+ })({}), U = /* @__PURE__ */ (function(e) {
36
36
  return e.listbox = "listbox", e.menu = "menu", e;
37
- })({}), G = /* @__PURE__ */ (function(e) {
37
+ })({}), W = /* @__PURE__ */ (function(e) {
38
38
  return e.option = "option", e.presentation = "presentation", e;
39
- })({}), We = /* @__PURE__ */ Symbol.for("volver"), Ge = /* @__PURE__ */ Symbol.for("buttonGroup"), K = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Ke = /* @__PURE__ */ Symbol.for("dropdownItem"), q = /* @__PURE__ */ Symbol.for("dropdownAction"), qe = {
39
+ })({}), Ge = /* @__PURE__ */ Symbol.for("volver"), Ke = /* @__PURE__ */ Symbol.for("buttonGroup"), G = /* @__PURE__ */ Symbol.for("dropdownTrigger"), qe = /* @__PURE__ */ Symbol.for("dropdownItem"), K = /* @__PURE__ */ Symbol.for("dropdownAction"), Je = {
40
40
  to: { type: [String, Object] },
41
41
  href: String,
42
42
  target: String,
@@ -44,7 +44,7 @@ var Le = {
44
44
  type: String,
45
45
  default: "noopener noreferrer"
46
46
  }
47
- }, Je = {
47
+ }, Ye = {
48
48
  valid: {
49
49
  type: Boolean,
50
50
  default: !1
@@ -53,7 +53,7 @@ var Le = {
53
53
  type: [String, Array],
54
54
  default: void 0
55
55
  }
56
- }, J = {
56
+ }, q = {
57
57
  invalid: {
58
58
  type: Boolean,
59
59
  default: !1
@@ -62,7 +62,7 @@ var Le = {
62
62
  type: [String, Array],
63
63
  default: void 0
64
64
  }
65
- }, Y = {
65
+ }, J = {
66
66
  loading: {
67
67
  type: Boolean,
68
68
  default: !1
@@ -71,41 +71,41 @@ var Le = {
71
71
  type: String,
72
72
  default: "Loading..."
73
73
  }
74
- }, X = { disabled: {
74
+ }, Y = { disabled: {
75
75
  type: Boolean,
76
76
  default: !1
77
- } }, Z = { required: {
77
+ } }, X = { required: {
78
78
  type: Boolean,
79
79
  default: !1
80
- } }, Ye = { selected: {
80
+ } }, Xe = { selected: {
81
81
  type: Boolean,
82
82
  default: !1
83
- } }, Xe = { active: {
83
+ } }, Ze = { active: {
84
84
  type: Boolean,
85
85
  default: !1
86
- } }, Ze = { current: {
86
+ } }, Qe = { current: {
87
87
  type: Boolean,
88
88
  default: !1
89
- } }, Q = {
89
+ } }, Z = {
90
90
  showClearAction: {
91
91
  type: Boolean,
92
92
  default: !1
93
93
  },
94
94
  iconClear: {
95
95
  type: [String, Object],
96
- default: Le.clear
96
+ default: Re.clear
97
97
  },
98
98
  labelClear: {
99
99
  type: String,
100
100
  default: "Clear"
101
101
  }
102
- }, Qe = { pressed: {
102
+ }, $e = { pressed: {
103
103
  type: Boolean,
104
104
  default: !1
105
- } }, $e = { label: {
105
+ } }, et = { label: {
106
106
  type: [String, Number],
107
107
  default: void 0
108
- } }, et = {
108
+ } }, tt = {
109
109
  ariaLabel: {
110
110
  type: String,
111
111
  default: void 0
@@ -118,16 +118,16 @@ var Le = {
118
118
  type: String,
119
119
  default: void 0
120
120
  }
121
- }, tt = { readonly: {
121
+ }, nt = { readonly: {
122
122
  type: Boolean,
123
123
  default: !1
124
- } }, $ = { modifiers: {
124
+ } }, Q = { modifiers: {
125
125
  type: [String, Array],
126
126
  default: void 0
127
- } }, nt = { hintLabel: {
127
+ } }, rt = { hintLabel: {
128
128
  type: String,
129
129
  default: ""
130
- } }, rt = {
130
+ } }, it = {
131
131
  options: {
132
132
  type: Array,
133
133
  default: () => []
@@ -144,7 +144,7 @@ var Le = {
144
144
  type: [String, Function],
145
145
  default: "disabled"
146
146
  }
147
- }, it = { count: {
147
+ }, at = { count: {
148
148
  type: [Boolean, String],
149
149
  default: !1,
150
150
  validator: (e) => [
@@ -153,38 +153,38 @@ var Le = {
153
153
  "limit",
154
154
  "countdown"
155
155
  ].includes(e)
156
- } }, at = { debounce: {
156
+ } }, ot = { debounce: {
157
157
  type: [Number, String],
158
158
  default: void 0
159
- } }, ot = {
159
+ } }, st = {
160
160
  icon: {
161
161
  type: [String, Object],
162
162
  default: void 0
163
163
  },
164
164
  iconPosition: {
165
165
  type: String,
166
- default: Ve.before,
167
- validator: (e) => Object.values(Ve).includes(e)
166
+ default: He.before,
167
+ validator: (e) => Object.values(He).includes(e)
168
168
  }
169
- }, st = { tabindex: {
169
+ }, ct = { tabindex: {
170
170
  type: [String, Number],
171
171
  default: 0
172
- } }, ct = { floating: {
172
+ } }, lt = { floating: {
173
173
  type: Boolean,
174
174
  default: !1
175
- } }, lt = { unselectable: {
175
+ } }, ut = { unselectable: {
176
176
  type: Boolean,
177
177
  default: !0
178
- } }, ut = { id: [String, Number] }, dt = {
178
+ } }, dt = { id: [String, Number] }, ft = {
179
179
  placement: {
180
180
  type: String,
181
- default: H.bottom,
182
- validator: (e) => Object.values(H).includes(e) || Object.values(Be).includes(e)
181
+ default: V.bottom,
182
+ validator: (e) => Object.values(V).includes(e) || Object.values(Ve).includes(e)
183
183
  },
184
184
  strategy: {
185
185
  type: String,
186
186
  default: void 0,
187
- validator: (e) => Object.values(ze).includes(e)
187
+ validator: (e) => Object.values(Be).includes(e)
188
188
  },
189
189
  transitionName: {
190
190
  type: String,
@@ -234,72 +234,72 @@ var Le = {
234
234
  type: Boolean,
235
235
  default: !1
236
236
  }
237
- }, ft = {
238
- ...ut,
237
+ }, pt = {
238
+ ...dt,
239
239
  name: {
240
240
  type: String,
241
241
  required: !0
242
242
  }
243
- }, pt = { autofocus: {
243
+ }, mt = { autofocus: {
244
244
  type: Boolean,
245
245
  default: !1
246
- } }, mt = { autocomplete: {
246
+ } }, ht = { autocomplete: {
247
247
  type: String,
248
248
  default: "off"
249
249
  } };
250
250
  ({
251
- ...ft,
252
251
  ...pt,
253
252
  ...mt,
254
- ...st,
255
- ...X,
256
- ...tt,
257
- ...Je,
258
- ...J,
259
- ...nt,
253
+ ...ht,
254
+ ...ct,
260
255
  ...Y,
261
- ...$,
262
- ...it,
256
+ ...nt,
257
+ ...Ye,
258
+ ...q,
259
+ ...rt,
260
+ ...J,
261
+ ...Q,
263
262
  ...at,
264
263
  ...ot,
265
- ...ct,
266
- ...$e,
267
- ...et
268
- }), { ...Z }, {
269
- ...ft,
270
264
  ...st,
271
- ...Je,
272
- ...J,
273
- ...nt,
274
- ...X,
275
- ...tt,
276
- ...$,
277
- ...$e,
265
+ ...lt,
278
266
  ...et,
279
- ...Y
280
- }, {
281
- ...Je,
282
- ...J,
267
+ ...tt
268
+ }), { ...X }, {
269
+ ...pt,
270
+ ...ct,
271
+ ...Ye,
272
+ ...q,
283
273
  ...rt,
274
+ ...Y,
284
275
  ...nt,
285
- ...X,
276
+ ...Q,
277
+ ...et,
286
278
  ...tt,
287
- ...$,
288
- ...$e,
279
+ ...J
280
+ }, {
281
+ ...Ye,
282
+ ...q,
283
+ ...it,
284
+ ...rt,
289
285
  ...Y,
290
- ...Z
286
+ ...nt,
287
+ ...Q,
288
+ ...et,
289
+ ...J,
290
+ ...X
291
291
  };
292
- var ht = {
293
- ...X,
292
+ var gt = {
293
+ ...Y,
294
+ ...et,
294
295
  ...$e,
295
- ...Qe,
296
- ...Xe,
297
296
  ...Ze,
298
- ...qe,
297
+ ...Qe,
298
+ ...Je,
299
299
  type: {
300
300
  type: String,
301
- default: He.button,
302
- validator: (e) => Object.values(He).includes(e)
301
+ default: Ue.button,
302
+ validator: (e) => Object.values(Ue).includes(e)
303
303
  },
304
304
  ariaLabel: {
305
305
  type: String,
@@ -307,28 +307,28 @@ var ht = {
307
307
  },
308
308
  defaultTag: {
309
309
  type: String,
310
- default: U.button
310
+ default: H.button
311
311
  }
312
312
  };
313
- Re.local;
314
- var gt = {
315
- ...ft,
316
- ...st,
317
- ...Je,
313
+ ze.local;
314
+ var _t = {
315
+ ...pt,
316
+ ...ct,
317
+ ...Ye,
318
+ ...q,
319
+ ...rt,
318
320
  ...J,
319
- ...nt,
320
321
  ...Y,
321
- ...X,
322
- ...tt,
323
- ...$,
324
- ...rt,
325
- ...ot,
326
- ...ct,
327
- ...dt,
328
- ...$e,
322
+ ...nt,
323
+ ...Q,
324
+ ...it,
325
+ ...st,
326
+ ...lt,
327
+ ...ft,
329
328
  ...et,
329
+ ...tt,
330
+ ...X,
330
331
  ...Z,
331
- ...Q,
332
332
  transitionName: {
333
333
  type: String,
334
334
  default: "vv-dropdown--mobile-fade-block"
@@ -416,7 +416,7 @@ var gt = {
416
416
  default: "action sm"
417
417
  },
418
418
  triggerWidth: {
419
- ...dt.triggerWidth,
419
+ ...ft.triggerWidth,
420
420
  default: !0
421
421
  },
422
422
  dropdownModifiers: {
@@ -440,50 +440,50 @@ var gt = {
440
440
  default: !0
441
441
  }
442
442
  };
443
- function _t() {
443
+ function vt() {
444
444
  return {
445
- ...gt,
445
+ ..._t,
446
446
  options: {
447
- ...gt.options,
447
+ ..._t.options,
448
448
  type: Array
449
449
  },
450
450
  searchFunction: {
451
- ...gt.searchFunction,
451
+ ..._t.searchFunction,
452
452
  type: Function
453
453
  }
454
454
  };
455
455
  }
456
- function vt(e, t, n) {
457
- return n ? St(e, n) === St(t, n) : xt(e, t);
456
+ function yt(e, t, n) {
457
+ return n ? Ct(e, n) === Ct(t, n) : St(e, t);
458
458
  }
459
- function yt(e, t) {
459
+ function bt(e, t) {
460
460
  if (e.length !== t.length) return !1;
461
- for (let n = e.length; n-- !== 0;) if (!xt(e[n], t[n])) return !1;
461
+ for (let n = e.length; n-- !== 0;) if (!St(e[n], t[n])) return !1;
462
462
  return !0;
463
463
  }
464
- function bt(e, t) {
464
+ function xt(e, t) {
465
465
  let n = Object.keys(e), { length: r } = n;
466
466
  if (r !== Object.keys(t).length) return !1;
467
467
  for (let e = r; e-- !== 0;) if (!Object.hasOwn(t, n[e])) return !1;
468
468
  for (let i = r; i-- !== 0;) {
469
469
  let r = n[i];
470
- if (!xt(e[r], t[r])) return !1;
470
+ if (!St(e[r], t[r])) return !1;
471
471
  }
472
472
  return !0;
473
473
  }
474
- function xt(e, t) {
474
+ function St(e, t) {
475
475
  if (e === t) return !0;
476
476
  if (!e || !t || typeof e != "object" || typeof t != "object") return Number.isNaN(e) && Number.isNaN(t);
477
477
  let n = Array.isArray(e), r = Array.isArray(t);
478
478
  if (n !== r) return !1;
479
- if (n && r) return yt(e, t);
479
+ if (n && r) return bt(e, t);
480
480
  let i = e instanceof Date, a = t instanceof Date;
481
481
  if (i !== a) return !1;
482
482
  if (i && a) return e.getTime() === t.getTime();
483
483
  let o = e instanceof RegExp, s = t instanceof RegExp;
484
- return o === s ? o && s ? e.toString() === t.toString() : bt(e, t) : !1;
484
+ return o === s ? o && s ? e.toString() === t.toString() : xt(e, t) : !1;
485
485
  }
486
- function St(e, t) {
486
+ function Ct(e, t) {
487
487
  if (e && Object.keys(e).length && t) {
488
488
  if (!t.includes(".")) return e[t];
489
489
  let n = t.split("."), r = e;
@@ -495,20 +495,20 @@ function St(e, t) {
495
495
  }
496
496
  return null;
497
497
  }
498
- function Ct(e, t) {
498
+ function wt(e, t) {
499
499
  if (e != null && t?.length) {
500
- for (let n of t) if (vt(e, n)) return !0;
500
+ for (let n of t) if (yt(e, n)) return !0;
501
501
  }
502
502
  return !1;
503
503
  }
504
- function wt(e) {
504
+ function Tt(e) {
505
505
  return typeof e == "string";
506
506
  }
507
- function Tt(e) {
508
- return Array.isArray(e) ? e.filter((e) => wt(e)).join(" ") : e;
507
+ function Et(e) {
508
+ return Array.isArray(e) ? e.filter((e) => Tt(e)).join(" ") : e;
509
509
  }
510
- function Et(e, t) {
511
- let n = O(() => ue(e) ? e.value : e), r = O(() => Tt(n.value.invalidLabel)), a = O(() => Tt(n.value.validLabel)), o = O(() => n.value.loadingLabel), s = O(() => n.value.hintLabel), c = O(() => !!(n.value.loading && (t.loading || o.value))), l = O(() => !c.value && !!(n.value.invalid && (t.invalid || r.value))), u = O(() => !c.value && !l.value && !!(n.value.valid && (t.valid || a.value))), d = O(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), ee = O(() => l.value || u.value || c.value || d.value);
510
+ function Dt(e, t) {
511
+ let n = O(() => ue(e) ? e.value : e), r = O(() => Et(n.value.invalidLabel)), a = O(() => Et(n.value.validLabel)), o = O(() => n.value.loadingLabel), s = O(() => n.value.hintLabel), c = O(() => !!(n.value.loading && (t.loading || o.value))), l = O(() => !c.value && !!(n.value.invalid && (t.invalid || r.value))), u = O(() => !c.value && !l.value && !!(n.value.valid && (t.valid || a.value))), d = O(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), ee = O(() => l.value || u.value || c.value || d.value);
512
512
  return {
513
513
  hasInvalidLabelOrSlot: l,
514
514
  hasHintLabelOrSlot: d,
@@ -549,10 +549,10 @@ function Et(e, t) {
549
549
  })
550
550
  };
551
551
  }
552
- function Dt() {
553
- return t(We, void 0);
552
+ function Ot() {
553
+ return t(Ge, void 0);
554
554
  }
555
- function Ot(e, t, n) {
555
+ function kt(e, t, n) {
556
556
  return O(() => {
557
557
  let i = { [e]: !0 }, a = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
558
558
  return a && Array.isArray(a) && a.forEach((t) => {
@@ -562,7 +562,7 @@ function Ot(e, t, n) {
562
562
  }), i;
563
563
  });
564
564
  }
565
- var kt = /* @__PURE__ */ j({
565
+ var $ = /* @__PURE__ */ j({
566
566
  name: "VvIcon",
567
567
  props: /* @__PURE__ */ se({
568
568
  name: {},
@@ -581,14 +581,14 @@ var kt = /* @__PURE__ */ j({
581
581
  onLoad: { type: Function },
582
582
  svg: {},
583
583
  modifiers: {}
584
- }, V),
584
+ }, B),
585
585
  setup(e) {
586
- let t = e, n = O(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), i = k(!0), a = Dt(), { modifiers: o } = w(t), s = Ot("vv-icon", o), c = O(() => t.provider || a?.iconsProvider), l = O(() => {
586
+ let t = e, n = O(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), i = k(!0), a = Ot(), { modifiers: o } = w(t), s = kt("vv-icon", o), c = O(() => t.provider || a?.iconsProvider), l = O(() => {
587
587
  let e = t.name ?? "", n = `@${c.value}:${t.prefix}:${e}`;
588
- if (be(n)) return n;
588
+ if (ye(n)) return n;
589
589
  let r = a?.iconsCollections.find((t) => {
590
590
  let n = `@${c.value}:${t.prefix}:${e}`;
591
- return be(n);
591
+ return ye(n);
592
592
  });
593
593
  return r ? `@${c.value}:${r.prefix}:${e}` : e;
594
594
  });
@@ -597,17 +597,17 @@ var kt = /* @__PURE__ */ j({
597
597
  }
598
598
  function d(e) {
599
599
  let n = u(e), r = n?.innerHTML.trim() || "";
600
- n && r && F(`@${c.value}:${t.prefix}:${t.name}`, {
600
+ n && r && I(`@${c.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 a && t.src && !be(`@${c.value}:${t.prefix}:${t.name}`) && (i.value = !1, a.fetchIcon(t.src).then((e) => {
606
+ return a && t.src && !ye(`@${c.value}:${t.prefix}:${t.name}`) && (i.value = !1, a.fetchIcon(t.src).then((e) => {
607
607
  e && d(e), i.value = !0;
608
608
  }).catch((e) => {
609
609
  throw i.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
610
- })), t.svg && d(t.svg), (t, a) => r(i) ? (_(), S(r(xe), m({
610
+ })), t.svg && d(t.svg), (t, a) => r(i) ? (_(), S(r(be), m({
611
611
  key: 0,
612
612
  class: r(s)
613
613
  }, {
@@ -624,19 +624,19 @@ var kt = /* @__PURE__ */ j({
624
624
  }
625
625
  });
626
626
  function At(e, t) {
627
- let n = O(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = O(() => t?.value === Ve.before ? n.value : void 0), i = O(() => t?.value === Ve.after ? n.value : void 0);
627
+ let n = O(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = O(() => t?.value === He.before ? n.value : void 0), i = O(() => t?.value === He.after ? n.value : void 0);
628
628
  return {
629
629
  hasIcon: n,
630
- hasIconLeft: O(() => t?.value === H.left ? n.value : void 0),
631
- hasIconRight: O(() => t?.value === H.right ? n.value : void 0),
632
- hasIconTop: O(() => t?.value === H.top ? n.value : void 0),
633
- hasIconBottom: O(() => t?.value === H.bottom ? n.value : void 0),
630
+ hasIconLeft: O(() => t?.value === V.left ? n.value : void 0),
631
+ hasIconRight: O(() => t?.value === V.right ? n.value : void 0),
632
+ hasIconTop: O(() => t?.value === V.top ? n.value : void 0),
633
+ hasIconBottom: O(() => t?.value === V.bottom ? n.value : void 0),
634
634
  hasIconBefore: r,
635
635
  hasIconAfter: i
636
636
  };
637
637
  }
638
638
  var jt = j({
639
- components: { VvIcon: kt },
639
+ components: { VvIcon: $ },
640
640
  props: {
641
641
  inputType: {
642
642
  type: String,
@@ -667,7 +667,7 @@ var jt = j({
667
667
  };
668
668
  },
669
669
  render() {
670
- let e = this.hasIcon ? i(kt, {
670
+ let e = this.hasIcon ? i($, {
671
671
  ...this.hasIcon,
672
672
  class: `vv-${this.inputType}__icon`
673
673
  }) : void 0;
@@ -680,13 +680,13 @@ var jt = j({
680
680
  }, e);
681
681
  }
682
682
  }), Mt = {
683
- ...$,
683
+ ...Q,
684
684
  value: [String, Number]
685
685
  }, Nt = /* @__PURE__ */ j({
686
686
  name: "VvBadge",
687
687
  props: Mt,
688
688
  setup(e) {
689
- let { modifiers: t } = w(e), n = Ot("vv-badge", t);
689
+ let { modifiers: t } = w(e), n = kt("vv-badge", t);
690
690
  return (e, t) => (_(), N("span", { class: te(r(n)) }, [b(e.$slots, "default", {}, () => [M(h(e.value), 1)])], 2));
691
691
  }
692
692
  });
@@ -719,16 +719,16 @@ function Pt(e) {
719
719
  };
720
720
  }
721
721
  var Ft = ["update:modelValue"], It = {
722
- ...ht,
722
+ ...gt,
723
+ ...dt,
724
+ ...Q,
723
725
  ...ut,
724
- ...$,
725
- ...lt,
726
- ...Y,
727
- ...ot,
726
+ ...J,
727
+ ...st,
728
728
  iconPosition: {
729
729
  type: String,
730
- default: H.left,
731
- validator: (e) => Object.values(H).includes(e)
730
+ default: V.left,
731
+ validator: (e) => Object.values(V).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(Ge), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = w(e);
767
+ let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Pt(Ke), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = w(e);
768
768
  return {
769
769
  group: n,
770
770
  isInGroup: r,
@@ -790,20 +790,20 @@ var Rt = [
790
790
  "mouseleave"
791
791
  ];
792
792
  function zt() {
793
- return t(K, {});
793
+ return t(G, {});
794
794
  }
795
795
  function Bt() {
796
- return t(Ke, {});
796
+ return t(qe, {});
797
797
  }
798
798
  function Vt() {
799
- return t(q, {});
799
+ return t(K, {});
800
800
  }
801
801
  var Ht = /* @__PURE__ */ j({
802
802
  name: "VvAction",
803
- props: ht,
803
+ props: gt,
804
804
  emits: Rt,
805
805
  setup(e, { expose: t, emit: n }) {
806
- let i = e, a = n, o = y(), s = Dt(), c = k(null);
806
+ let i = e, a = n, o = y(), s = Ot(), c = k(null);
807
807
  t({ $el: c });
808
808
  let { reference: l, bus: d, aria: ee, expanded: f } = zt();
809
809
  x(() => c.value, (e) => {
@@ -811,9 +811,9 @@ var Ht = /* @__PURE__ */ j({
811
811
  });
812
812
  let p = O(() => i.pressed || f?.value), { role: g } = Vt(), v = O(() => {
813
813
  switch (!0) {
814
- case i.disabled: return U.button;
815
- case i.to !== void 0: return s?.nuxt ? u(U.nuxtLink) : U.routerLink;
816
- case i.href !== void 0: return U.a;
814
+ case i.disabled: return H.button;
815
+ case i.to !== void 0: return s?.nuxt ? u(H.nuxtLink) : H.routerLink;
816
+ case i.href !== void 0: return H.a;
817
817
  default: return i.defaultTag;
818
818
  }
819
819
  }), te = O(() => {
@@ -824,19 +824,19 @@ var Ht = /* @__PURE__ */ j({
824
824
  role: g?.value
825
825
  };
826
826
  switch (v.value) {
827
- case U.a: return {
827
+ case H.a: return {
828
828
  ...e,
829
829
  href: i.href,
830
830
  target: i.target,
831
831
  rel: i.rel
832
832
  };
833
- case U.routerLink:
834
- case U.nuxtLink: return {
833
+ case H.routerLink:
834
+ case H.nuxtLink: return {
835
835
  ...e,
836
836
  to: i.to,
837
837
  target: i.target
838
838
  };
839
- case U.button: return {
839
+ case H.button: return {
840
840
  ...e,
841
841
  type: i.type,
842
842
  disabled: i.disabled
@@ -889,9 +889,9 @@ var Wt = {
889
889
  setup(e, { expose: t, emit: n }) {
890
890
  let i = e, a = n, o = l(), s = ee(), { id: c, modifiers: u, iconPosition: d, icon: f, label: p, modelValue: g, disabled: v, toggle: y, unselectable: te } = Lt(i, a), ne = Ut(c), re = O(() => o?.name || ne.value), x = k(null);
891
891
  t({ $el: O(() => x.value?.$el) });
892
- let C = O(() => y.value ? Array.isArray(g.value) ? Ct(re.value, g.value) : vt(re.value, g.value) : i.pressed), ie = Ot("vv-button", u, O(() => ({
893
- reverse: [H.right, H.bottom].includes(d.value),
894
- column: [H.top, H.bottom].includes(d.value),
892
+ let C = O(() => y.value ? Array.isArray(g.value) ? wt(re.value, g.value) : yt(re.value, g.value) : i.pressed), ie = kt("vv-button", u, O(() => ({
893
+ reverse: [V.right, V.bottom].includes(d.value),
894
+ column: [V.top, V.bottom].includes(d.value),
895
895
  "icon-only": !(!f?.value || p?.value || s.default)
896
896
  }))), { hasIcon: w } = At(f), ae = O(() => i.value === void 0 ? re.value : i.value), oe = O(() => {
897
897
  if (y.value) return { onClick: D };
@@ -899,7 +899,7 @@ var Wt = {
899
899
  function D() {
900
900
  if (y.value) {
901
901
  if (Array.isArray(g.value)) {
902
- if (Ct(ae.value, g.value)) {
902
+ if (wt(ae.value, g.value)) {
903
903
  te.value && (g.value = g.value.filter((e) => e !== ae.value));
904
904
  return;
905
905
  }
@@ -931,13 +931,13 @@ var Wt = {
931
931
  ref: x,
932
932
  class: r(ie)
933
933
  }), {
934
- default: T(() => [b(e.$slots, "default", {}, () => [e.loading ? b(e.$slots, "loading", {}, () => [e.loadingIcon ? (_(), S(kt, {
934
+ default: T(() => [b(e.$slots, "default", {}, () => [e.loading ? b(e.$slots, "loading", {}, () => [e.loadingIcon ? (_(), S($, {
935
935
  key: 0,
936
936
  class: "vv-button__loading-icon",
937
937
  name: e.loadingIcon
938
938
  }, null, 8, ["name"])) : A("v-if", !0), e.loadingLabel ? (_(), N("span", Wt, h(e.loadingLabel), 1)) : A("v-if", !0)], void 0, 0) : (_(), N(E, { key: 1 }, [
939
939
  b(e.$slots, "before"),
940
- r(w) ? (_(), S(kt, m({ key: 0 }, r(w), { class: "vv-button__icon" }), null, 16)) : A("v-if", !0),
940
+ r(w) ? (_(), S($, m({ key: 0 }, r(w), { class: "vv-button__icon" }), null, 16)) : A("v-if", !0),
941
941
  r(p) ? (_(), N("span", Gt, [b(e.$slots, "label", {}, () => [M(h(r(p)), 1)])])) : A("v-if", !0),
942
942
  b(e.$slots, "after")
943
943
  ], 64))])]),
@@ -945,9 +945,9 @@ var Wt = {
945
945
  }, 16, ["id", "class"]));
946
946
  }
947
947
  }), qt = {
948
- ...ut,
949
948
  ...dt,
950
- ...$,
949
+ ...ft,
950
+ ...Q,
951
951
  modelValue: {
952
952
  type: Boolean,
953
953
  default: void 0
@@ -958,17 +958,17 @@ var Wt = {
958
958
  },
959
959
  role: {
960
960
  type: String,
961
- default: W.menu,
962
- validator: (e) => Object.values(W).includes(e)
961
+ default: U.menu,
962
+ validator: (e) => Object.values(U).includes(e)
963
963
  }
964
964
  }, Jt = { focusOnHover: {
965
965
  type: Boolean,
966
966
  default: !1
967
967
  } }, Yt = {
968
- ...X,
969
- ...Ye,
970
- ...lt,
971
- ...$,
968
+ ...Y,
969
+ ...Xe,
970
+ ...ut,
971
+ ...Q,
972
972
  deselectHintLabel: { type: String },
973
973
  selectHintLabel: { type: String },
974
974
  selectedHintLabel: { type: String },
@@ -1000,13 +1000,13 @@ function Xt(e, t) {
1000
1000
  };
1001
1001
  }
1002
1002
  function Zt({ reference: e, id: t, expanded: n, aria: r }) {
1003
- let a = z();
1003
+ let a = R();
1004
1004
  return {
1005
1005
  bus: a,
1006
1006
  component: j({
1007
1007
  name: "VvDropdownTriggerProvider",
1008
1008
  setup() {
1009
- ye(K, {
1009
+ F(G, {
1010
1010
  reference: e,
1011
1011
  id: t,
1012
1012
  expanded: n,
@@ -1021,15 +1021,15 @@ function Zt({ reference: e, id: t, expanded: n, aria: r }) {
1021
1021
  };
1022
1022
  }
1023
1023
  function Qt({ role: e, ...t }) {
1024
- let n = O(() => e.value === W.listbox ? G.option : G.presentation);
1025
- return ye(Ke, {
1024
+ let n = O(() => e.value === U.listbox ? W.option : W.presentation);
1025
+ return F(qe, {
1026
1026
  role: n,
1027
1027
  ...t
1028
1028
  }), { itemRole: n };
1029
1029
  }
1030
1030
  function $t({ expanded: e }) {
1031
- ye(q, {
1032
- role: k(Ue.menuitem),
1031
+ F(K, {
1032
+ role: k(We.menuitem),
1033
1033
  expanded: e
1034
1034
  });
1035
1035
  }
@@ -1065,9 +1065,9 @@ var en = ["popover"], tn = [
1065
1065
  set: (e) => {
1066
1066
  h.value = e;
1067
1067
  }
1068
- }), { isTopLayer: ie, popover: ae, show: oe, hide: se } = Xt(y, () => c.topLayer), ce = O(() => ie.value ? ze.fixed : c.strategy), ue = k(!1);
1068
+ }), { isTopLayer: ie, popover: ae, show: oe, hide: se } = Xt(y, () => c.topLayer), ce = O(() => ie.value ? Be.fixed : c.strategy), ue = k(!1);
1069
1069
  d(() => {
1070
- Te(y.value, () => {
1070
+ we(y.value, () => {
1071
1071
  ue.value = globalThis.getComputedStyle(y.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1072
1072
  }, {
1073
1073
  attributeFilter: ["style"],
@@ -1091,31 +1091,31 @@ var en = ["popover"], tn = [
1091
1091
  }
1092
1092
  }, ge = O(() => {
1093
1093
  let e = [];
1094
- c.size && e.push(pe), c.offset && e.push(["string", "number"].includes(typeof c.offset) ? Ne(Number(c.offset)) : Ne(c.offset));
1094
+ c.size && e.push(pe), c.offset && e.push(["string", "number"].includes(typeof c.offset) ? Pe(Number(c.offset)) : Pe(c.offset));
1095
1095
  let t = typeof c.size == "object" ? c.size.padding : void 0;
1096
- if (c.autoPlacement ? e.push(de(c.autoPlacement, () => Pe(), (e) => Pe(e))) : c.flip && e.push(de(c.flip, () => ke({
1096
+ if (c.autoPlacement ? e.push(de(c.autoPlacement, () => Fe(), (e) => Fe(e))) : c.flip && e.push(de(c.flip, () => Ae({
1097
1097
  fallbackStrategy: "initialPlacement",
1098
1098
  padding: t
1099
- }), (e) => ke({
1099
+ }), (e) => Ae({
1100
1100
  padding: t,
1101
1101
  ...e
1102
- }))), c.shift && e.push(de(c.shift, () => Fe(), (e) => Fe(e))), c.size) {
1102
+ }))), c.shift && e.push(de(c.shift, () => Ie(), (e) => Ie(e))), c.size) {
1103
1103
  let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
1104
1104
  if (fe(r.floating) || ue.value) return;
1105
1105
  let { style: i } = n.floating;
1106
1106
  i.maxWidth = c.triggerWidth && C.value ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
1107
1107
  };
1108
- e.push(de(c.size, () => Ae({ apply: t }), (e) => Ae({
1108
+ e.push(de(c.size, () => je({ apply: t }), (e) => je({
1109
1109
  ...e,
1110
1110
  apply: (n) => (t(n), e?.apply?.(n))
1111
1111
  })));
1112
1112
  }
1113
- return c.arrow && e.push(Ie({ element: ne })), e;
1114
- }), { x: j, y: _e, middlewareData: M, placement: ve, strategy: P, update: ye } = Me(C, y, {
1113
+ return c.arrow && e.push(Le({ element: ne })), e;
1114
+ }), { x: j, y: _e, middlewareData: M, placement: ve, strategy: P, update: F } = Ne(C, y, {
1115
1115
  placement: O(() => c.placement),
1116
1116
  strategy: ce,
1117
1117
  middleware: ge
1118
- }), be = O(() => {
1118
+ }), ye = O(() => {
1119
1119
  if (ue.value) return;
1120
1120
  let e = c.triggerWidth && C.value ? `${C.value?.offsetWidth}px` : void 0;
1121
1121
  return {
@@ -1124,100 +1124,100 @@ var en = ["popover"], tn = [
1124
1124
  left: `${j.value ?? 0}px`,
1125
1125
  width: e
1126
1126
  };
1127
- }), F = O(() => ve.value.split("-")[0]), xe = O(() => {
1127
+ }), I = O(() => ve.value.split("-")[0]), be = O(() => {
1128
1128
  if (ue.value) return;
1129
1129
  let e = {
1130
- [H.top]: H.bottom,
1131
- [H.right]: H.left,
1132
- [H.bottom]: H.top,
1133
- [H.left]: H.right
1134
- }[F.value];
1130
+ [V.top]: V.bottom,
1131
+ [V.right]: V.left,
1132
+ [V.bottom]: V.top,
1133
+ [V.left]: V.right
1134
+ }[I.value];
1135
1135
  return {
1136
1136
  left: M.value.arrow?.x === void 0 ? void 0 : `${M.value.arrow?.x}px`,
1137
1137
  top: M.value.arrow?.y === void 0 ? void 0 : `${M.value.arrow?.y}px`,
1138
1138
  [e]: `${-(ne.value?.offsetWidth ?? 0) / 2}px`
1139
1139
  };
1140
- }), Se = Oe(c, "modelValue", u), Ce = k(!1), I = O({
1141
- get: () => Se.value ?? Ce.value,
1140
+ }), Ce = xe(c, "modelValue", u), Oe = k(!1), L = O({
1141
+ get: () => Ce.value ?? Oe.value,
1142
1142
  set: (e) => {
1143
- Se.value === void 0 ? Ce.value = e : Se.value = e;
1143
+ Ce.value === void 0 ? Oe.value = e : Ce.value = e;
1144
1144
  }
1145
1145
  });
1146
1146
  x([
1147
- I,
1147
+ L,
1148
1148
  C,
1149
1149
  y,
1150
1150
  ce
1151
1151
  ], ([e, t, n, r], i, a) => {
1152
- !e || !t || !n || a(je(t, n, ye, { animationFrame: r === ze.fixed }));
1152
+ !e || !t || !n || a(Me(t, n, F, { animationFrame: r === Be.fixed }));
1153
1153
  }, {
1154
1154
  flush: "post",
1155
1155
  immediate: !0
1156
- }), Te(S, () => {
1157
- I.value && ye();
1156
+ }), we(S, () => {
1157
+ L.value && F();
1158
1158
  }, {
1159
1159
  childList: !0,
1160
1160
  subtree: !0,
1161
1161
  characterData: !0
1162
1162
  }), e(() => {
1163
- I.value && oe();
1163
+ L.value && oe();
1164
1164
  });
1165
- function Ee() {
1166
- I.value = !0;
1165
+ function ke() {
1166
+ L.value = !0;
1167
1167
  }
1168
- function z() {
1169
- I.value = !1;
1168
+ function R() {
1169
+ L.value = !1;
1170
1170
  }
1171
- function B() {
1172
- I.value = !I.value;
1171
+ function z() {
1172
+ L.value = !L.value;
1173
1173
  }
1174
- function Le(e) {
1174
+ function Re(e) {
1175
1175
  C.value = e;
1176
1176
  }
1177
- we(y, () => {
1178
- !c.keepOpen && I.value && (I.value = !1);
1177
+ Te(y, () => {
1178
+ !c.keepOpen && L.value && (L.value = !1);
1179
1179
  }, { ignore: [C] });
1180
- let V = O(() => C.value?.getAttribute?.("id") ?? void 0), Re = O(() => ({
1180
+ let B = O(() => C.value?.getAttribute?.("id") ?? void 0), ze = O(() => ({
1181
1181
  "aria-controls": f.value,
1182
1182
  "aria-haspopup": !0,
1183
- "aria-expanded": I.value
1184
- })), { component: Be, bus: Ve } = Zt({
1183
+ "aria-expanded": L.value
1184
+ })), { component: Ve, bus: He } = Zt({
1185
1185
  reference: C,
1186
1186
  id: f,
1187
- expanded: I,
1188
- aria: Re
1187
+ expanded: L,
1188
+ aria: ze
1189
1189
  });
1190
- Ve.on("click", B);
1191
- let { role: He, modifiers: U } = w(c), Ue = Ot("vv-dropdown", U, O(() => ({ arrow: c.arrow }))), { focused: W } = De(y);
1192
- function G(e) {
1190
+ He.on("click", z);
1191
+ let { role: Ue, modifiers: H } = w(c), We = kt("vv-dropdown", H, O(() => ({ arrow: c.arrow }))), { focused: U } = Se(y);
1192
+ function W(e) {
1193
1193
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
1194
1194
  }
1195
- function We() {
1195
+ function Ge() {
1196
1196
  g(() => {
1197
- let e = G(y.value);
1197
+ let e = W(y.value);
1198
1198
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1199
1199
  });
1200
1200
  }
1201
- function Ge() {
1201
+ function Ke() {
1202
1202
  g(() => {
1203
- let e = G(S.value);
1203
+ let e = W(S.value);
1204
1204
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1205
1205
  });
1206
1206
  }
1207
- function K() {
1207
+ function G() {
1208
1208
  g(() => {
1209
- if (W.value) {
1210
- let e = G(y.value);
1209
+ if (U.value) {
1210
+ let e = W(y.value);
1211
1211
  if (e.length === 0 || !document.activeElement) return;
1212
1212
  let t = e.indexOf(document.activeElement);
1213
1213
  t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
1214
1214
  }
1215
1215
  });
1216
1216
  }
1217
- function Ke() {
1217
+ function qe() {
1218
1218
  g(() => {
1219
- if (W.value) {
1220
- let e = G(y.value);
1219
+ if (U.value) {
1220
+ let e = W(y.value);
1221
1221
  if (e.length === 0 || !document.activeElement) return;
1222
1222
  let t = e.indexOf(document.activeElement);
1223
1223
  if (t > 0) {
@@ -1228,41 +1228,41 @@ var en = ["popover"], tn = [
1228
1228
  }
1229
1229
  });
1230
1230
  }
1231
- x(I, (e) => {
1232
- e && c.autofocusFirst && We();
1231
+ x(L, (e) => {
1232
+ e && c.autofocusFirst && Ge();
1233
1233
  }), n({
1234
- toggle: B,
1235
- show: Ee,
1236
- hide: z,
1237
- init: Le,
1238
- focusFirst: We,
1239
- focusFirstListElement: Ge,
1240
- focusNext: K,
1241
- focusPrev: Ke,
1234
+ toggle: z,
1235
+ show: ke,
1236
+ hide: R,
1237
+ init: Re,
1238
+ focusFirst: Ge,
1239
+ focusFirstListElement: Ke,
1240
+ focusNext: G,
1241
+ focusPrev: qe,
1242
1242
  customPosition: ue
1243
1243
  });
1244
- let { itemRole: q } = Qt({
1245
- role: He,
1246
- expanded: I,
1247
- focused: W,
1248
- hovered: L(y)
1244
+ let { itemRole: K } = Qt({
1245
+ role: Ue,
1246
+ expanded: L,
1247
+ focused: U,
1248
+ hovered: De(y)
1249
1249
  });
1250
- R("Escape", (e) => {
1251
- I.value && (e.preventDefault(), z());
1252
- }), R("ArrowDown", (e) => {
1253
- I.value && W.value && (e.preventDefault(), K());
1254
- }), R("ArrowUp", (e) => {
1255
- I.value && W.value && (e.preventDefault(), Ke());
1256
- }), R([" ", "Enter"], (e) => {
1250
+ Ee("Escape", (e) => {
1251
+ L.value && (e.preventDefault(), R());
1252
+ }), Ee("ArrowDown", (e) => {
1253
+ L.value && U.value && (e.preventDefault(), G());
1254
+ }), Ee("ArrowUp", (e) => {
1255
+ L.value && U.value && (e.preventDefault(), qe());
1256
+ }), Ee([" ", "Enter"], (e) => {
1257
1257
  let t = e.target;
1258
- I.value && W.value && t && t?.click();
1258
+ L.value && U.value && t && t?.click();
1259
1259
  });
1260
- let qe = {
1260
+ let Je = {
1261
1261
  "before-enter": () => {
1262
1262
  u("beforeExpand"), u("beforeEnter");
1263
1263
  },
1264
1264
  "after-leave": () => {
1265
- I.value || se(), u("afterCollapse"), u("afterLeave");
1265
+ L.value || se(), u("afterCollapse"), u("afterLeave");
1266
1266
  },
1267
1267
  enter: () => {
1268
1268
  u("enter");
@@ -1283,59 +1283,59 @@ var en = ["popover"], tn = [
1283
1283
  u("leaveCancelled");
1284
1284
  }
1285
1285
  };
1286
- return (e, t) => (_(), N(E, null, [v(r(Be), null, {
1286
+ return (e, t) => (_(), N(E, null, [v(r(Ve), null, {
1287
1287
  default: T(() => [b(e.$slots, "default", s(o({
1288
- init: Le,
1289
- show: Ee,
1290
- hide: z,
1291
- toggle: B,
1292
- expanded: r(I),
1293
- aria: r(Re)
1288
+ init: Re,
1289
+ show: ke,
1290
+ hide: R,
1291
+ toggle: z,
1292
+ expanded: r(L),
1293
+ aria: r(ze)
1294
1294
  })))]),
1295
1295
  _: 3
1296
- }), v(me, m({ name: e.transitionName }, re(qe), { persisted: "" }), {
1296
+ }), v(me, m({ name: e.transitionName }, re(Je), { persisted: "" }), {
1297
1297
  default: T(() => [he(D("div", {
1298
1298
  ref_key: "floatingEl",
1299
1299
  ref: y,
1300
1300
  popover: r(ae),
1301
- style: a(r(be)),
1302
- class: te(r(Ue))
1301
+ style: a(r(ye)),
1302
+ class: te(r(We))
1303
1303
  }, [
1304
1304
  c.arrow ? (_(), N("div", {
1305
1305
  key: 0,
1306
1306
  ref_key: "arrowEl",
1307
1307
  ref: ne,
1308
- style: a(r(xe)),
1308
+ style: a(r(be)),
1309
1309
  class: "vv-dropdown__arrow"
1310
1310
  }, null, 4)) : A("v-if", !0),
1311
1311
  b(e.$slots, "before", s(o({
1312
- show: Ee,
1313
- hide: z,
1314
- toggle: B,
1315
- expanded: r(I)
1312
+ show: ke,
1313
+ hide: R,
1314
+ toggle: z,
1315
+ expanded: r(L)
1316
1316
  }))),
1317
1317
  D("div", m(r(p), {
1318
1318
  id: r(f),
1319
1319
  ref_key: "listEl",
1320
1320
  ref: S,
1321
- tabindex: r(I) ? void 0 : -1,
1322
- role: r(He),
1323
- "aria-labelledby": r(V),
1321
+ tabindex: r(L) ? void 0 : -1,
1322
+ role: r(Ue),
1323
+ "aria-labelledby": r(B),
1324
1324
  class: "vv-dropdown__list"
1325
1325
  }), [b(e.$slots, "items", s(o({
1326
- show: Ee,
1327
- hide: z,
1328
- toggle: B,
1329
- expanded: r(I),
1330
- role: r(q)
1326
+ show: ke,
1327
+ hide: R,
1328
+ toggle: z,
1329
+ expanded: r(L),
1330
+ role: r(K)
1331
1331
  })))], 16, tn),
1332
1332
  b(e.$slots, "after", s(o({
1333
- show: Ee,
1334
- hide: z,
1335
- toggle: B,
1336
- expanded: r(I)
1333
+ show: ke,
1334
+ hide: R,
1335
+ toggle: z,
1336
+ expanded: r(L)
1337
1337
  })))
1338
- ], 14, en), [[le, r(I)]])]),
1338
+ ], 14, en), [[le, r(L)]])]),
1339
1339
  _: 3
1340
1340
  }, 16, ["name"])], 64));
1341
1341
  }
@@ -1345,7 +1345,7 @@ var en = ["popover"], tn = [
1345
1345
  tabindex: "-1"
1346
1346
  }, an = /* @__PURE__ */ j({
1347
1347
  name: "VvDropdownOptgroup",
1348
- props: { ...$e },
1348
+ props: { ...et },
1349
1349
  setup(e) {
1350
1350
  let t = e;
1351
1351
  return (e, n) => (_(), N("li", rn, [b(e.$slots, "default", {}, () => [M(h(t.label), 1)])]));
@@ -1356,7 +1356,7 @@ var en = ["popover"], tn = [
1356
1356
  setup(e) {
1357
1357
  let t = e, { role: n, expanded: i } = Bt(), a = k(null);
1358
1358
  $t({ expanded: i });
1359
- let o = L(a), { focused: s } = I(a), { focused: c } = De(a);
1359
+ let o = De(a), { focused: s } = L(a), { focused: c } = Se(a);
1360
1360
  return x(o, (e) => {
1361
1361
  e && t.focusOnHover && (s.value = !0);
1362
1362
  }), (e, t) => (_(), N("div", m({ role: r(n) }, {
@@ -1369,7 +1369,7 @@ var en = ["popover"], tn = [
1369
1369
  name: "VvDropdownOption",
1370
1370
  props: Yt,
1371
1371
  setup(e) {
1372
- let t = e, { modifiers: n } = w(t), i = Ot("vv-dropdown-option", n, O(() => ({
1372
+ let t = e, { modifiers: n } = w(t), i = kt("vv-dropdown-option", n, O(() => ({
1373
1373
  disabled: t.disabled,
1374
1374
  selected: t.selected,
1375
1375
  unselectable: t.unselectable && t.selected
@@ -1399,24 +1399,24 @@ var en = ["popover"], tn = [
1399
1399
  ]));
1400
1400
  }
1401
1401
  }), ln = {
1402
- ...ft,
1403
1402
  ...pt,
1404
1403
  ...mt,
1405
- ...st,
1406
- ...Je,
1404
+ ...ht,
1405
+ ...ct,
1406
+ ...Ye,
1407
+ ...q,
1408
+ ...rt,
1407
1409
  ...J,
1408
- ...nt,
1409
1410
  ...Y,
1410
- ...X,
1411
- ...tt,
1412
- ...$,
1413
- ...rt,
1414
- ...ot,
1415
- ...ct,
1411
+ ...nt,
1412
+ ...Q,
1413
+ ...it,
1414
+ ...st,
1416
1415
  ...lt,
1417
- ...$e,
1416
+ ...ut,
1418
1417
  ...et,
1419
- ...Q,
1418
+ ...tt,
1419
+ ...Z,
1420
1420
  multiple: Boolean,
1421
1421
  required: Boolean,
1422
1422
  size: [String, Number],
@@ -1459,7 +1459,7 @@ function dn(e, t, n) {
1459
1459
  return r;
1460
1460
  }
1461
1461
  function fn(e, t, n) {
1462
- let r = Dt(), i = O(() => {
1462
+ let r = Ot(), i = O(() => {
1463
1463
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
1464
1464
  });
1465
1465
  return O(() => {
@@ -1472,7 +1472,7 @@ function fn(e, t, n) {
1472
1472
  });
1473
1473
  }
1474
1474
  function pn(e, t) {
1475
- let { focused: n } = I(e);
1475
+ let { focused: n } = L(e);
1476
1476
  return x(n, (n) => {
1477
1477
  t(n ? "focus" : "blur", r(e));
1478
1478
  }), { focused: n };
@@ -1481,9 +1481,9 @@ function mn(e) {
1481
1481
  let { options: t, labelKey: n, valueKey: r, disabledKey: i } = w(e);
1482
1482
  return {
1483
1483
  options: t,
1484
- getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? B(e, n.value) : e),
1485
- getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? B(e, r.value) : e,
1486
- isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!B(e, i.value) : !1,
1484
+ getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? z(e, n.value) : e),
1485
+ getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? z(e, r.value) : e,
1486
+ isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!z(e, i.value) : !1,
1487
1487
  getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
1488
1488
  };
1489
1489
  }
@@ -1503,7 +1503,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1503
1503
  "clear"
1504
1504
  ],
1505
1505
  setup(e, { emit: t }) {
1506
- let i = e, a = t, c = ee(), l = fn("VvSelect", un(), i), u = k(), { HintSlot: d, hasHintLabelOrSlot: f, hasInvalidLabelOrSlot: p, hintSlotScope: g } = Et(l, c), { focused: y } = pn(u, a);
1506
+ let i = e, a = t, c = ee(), l = fn("VvSelect", un(), i), u = k(), { HintSlot: d, hasHintLabelOrSlot: f, hasInvalidLabelOrSlot: p, hintSlotScope: g } = Dt(l, c), { focused: y } = pn(u, a);
1507
1507
  function ne(e) {
1508
1508
  return typeof e != "string" && e.options?.length;
1509
1509
  }
@@ -1512,36 +1512,36 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1512
1512
  set: (e) => {
1513
1513
  Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !i.unselectable && u.value) ? u.value.value = String(i.modelValue) : a("update:modelValue", e);
1514
1514
  }
1515
- }), ye = O(() => Array.isArray(P.value) ? P.value.length > 0 : P.value !== void 0 && P.value !== null), be = O(() => !M.value && i.unselectable), F = Ce(u);
1516
- x(F, (e) => {
1515
+ }), F = O(() => Array.isArray(P.value) ? P.value.length > 0 : P.value !== void 0 && P.value !== null), ye = O(() => !M.value && i.unselectable), I = Ce(u);
1516
+ x(I, (e) => {
1517
1517
  e && i.autofocus && (y.value = !0);
1518
1518
  });
1519
- let { hasIconBefore: xe, hasIconAfter: Se } = At(ce, le), I = O(() => {
1519
+ let { hasIconBefore: be, hasIconAfter: xe } = At(ce, le), Se = O(() => {
1520
1520
  if (i.invalid === !0) return !0;
1521
1521
  if (i.valid === !0) return !1;
1522
- }), we = Ot("vv-select", C, O(() => ({
1522
+ }), we = kt("vv-select", C, O(() => ({
1523
1523
  valid: fe.value,
1524
1524
  invalid: de.value,
1525
1525
  loading: se.value,
1526
1526
  disabled: ae.value,
1527
1527
  readonly: oe.value,
1528
- "icon-before": xe.value !== void 0,
1529
- "icon-after": Se.value !== void 0,
1530
- dirty: ye.value,
1528
+ "icon-before": be.value !== void 0,
1529
+ "icon-after": xe.value !== void 0,
1530
+ dirty: F.value,
1531
1531
  focus: y.value && !M.value,
1532
1532
  floating: me.value,
1533
1533
  multiple: ge.value
1534
- }))), { getOptionLabel: L, getOptionValue: Te, isOptionDisabled: R, getOptionGrouped: Ee } = mn(i);
1534
+ }))), { getOptionLabel: Te, getOptionValue: Ee, isOptionDisabled: De, getOptionGrouped: Oe } = mn(i);
1535
1535
  x(() => i.options, (e) => {
1536
- if (e?.length && i.autoselectFirst && !ye.value) {
1537
- let t = Te(e[0]);
1536
+ if (e?.length && i.autoselectFirst && !F.value) {
1537
+ let t = Ee(e[0]);
1538
1538
  P.value = i.multiple ? [t] : t;
1539
1539
  }
1540
1540
  }, { immediate: !0 });
1541
- function De() {
1541
+ function L() {
1542
1542
  Array.isArray(P.value) ? P.value = [] : P.value = void 0, a("clear");
1543
1543
  }
1544
- let Oe = O(() => ({
1544
+ let ke = O(() => ({
1545
1545
  name: i.name,
1546
1546
  tabindex: ve.value,
1547
1547
  disabled: M.value,
@@ -1551,10 +1551,10 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1551
1551
  multiple: i.multiple,
1552
1552
  "aria-label": i.ariaLabel || void 0,
1553
1553
  "aria-labelledby": i.ariaLabelledby || void 0,
1554
- "aria-invalid": I.value,
1554
+ "aria-invalid": Se.value,
1555
1555
  "aria-describedby": [i.ariaDescribedby, f.value ? _e.value : void 0].filter(Boolean).join(" ") || void 0,
1556
1556
  "aria-errormessage": p.value ? _e.value : void 0
1557
- })), ke = O(() => ({
1557
+ })), Ae = O(() => ({
1558
1558
  valid: i.valid,
1559
1559
  invalid: i.invalid,
1560
1560
  modelValue: i.modelValue
@@ -1565,46 +1565,46 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1565
1565
  for: r(j)
1566
1566
  }, h(e.label), 9, hn)) : A("v-if", !0),
1567
1567
  D("div", gn, [
1568
- e.$slots.before ? (_(), N("div", _n, [b(e.$slots, "before", s(o(r(ke))))])) : A("v-if", !0),
1568
+ e.$slots.before ? (_(), N("div", _n, [b(e.$slots, "before", s(o(r(Ae))))])) : A("v-if", !0),
1569
1569
  D("div", vn, [
1570
- r(xe) ? (_(), S(kt, m({ key: 0 }, r(xe), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
1570
+ r(be) ? (_(), S($, m({ key: 0 }, r(be), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
1571
1571
  he(D("select", m({
1572
1572
  id: r(j),
1573
1573
  ref_key: "selectEl",
1574
1574
  ref: u
1575
- }, r(Oe), { "onUpdate:modelValue": t[0] ||= (e) => ue(P) ? P.value = e : null }), [e.placeholder ? (_(), N("option", {
1575
+ }, r(ke), { "onUpdate:modelValue": t[0] ||= (e) => ue(P) ? P.value = e : null }), [e.placeholder ? (_(), N("option", {
1576
1576
  key: 0,
1577
1577
  value: void 0,
1578
- disabled: !r(be),
1579
- hidden: !r(be)
1578
+ disabled: !r(ye),
1579
+ hidden: !r(ye)
1580
1580
  }, h(e.placeholder), 9, bn)) : A("v-if", !0), (_(!0), N(E, null, n(e.options, (e, t) => (_(), N(E, null, [ne(e) ? (_(), N("optgroup", {
1581
1581
  key: `group-${t}`,
1582
- disabled: r(R)(e),
1583
- label: r(L)(e)
1584
- }, [(_(!0), N(E, null, n(r(Ee)(e), (e, n) => (_(), N("option", {
1582
+ disabled: r(De)(e),
1583
+ label: r(Te)(e)
1584
+ }, [(_(!0), N(E, null, n(r(Oe)(e), (e, n) => (_(), N("option", {
1585
1585
  key: `group-${t}-item-${n}`,
1586
- disabled: r(R)(e),
1587
- value: r(Te)(e)
1588
- }, h(r(L)(e)), 9, Cn))), 128))], 8, Sn)) : (_(), N("option", {
1586
+ disabled: r(De)(e),
1587
+ value: r(Ee)(e)
1588
+ }, h(r(Te)(e)), 9, Cn))), 128))], 8, Sn)) : (_(), N("option", {
1589
1589
  key: t,
1590
- disabled: r(R)(e),
1591
- value: r(Te)(e)
1592
- }, h(r(L)(e)), 9, xn))], 64))), 256))], 16, yn), [[pe, r(P)]]),
1593
- r(Se) ? (_(), S(kt, m({ key: 1 }, r(Se), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
1590
+ disabled: r(De)(e),
1591
+ value: r(Ee)(e)
1592
+ }, h(r(Te)(e)), 9, xn))], 64))), 256))], 16, yn), [[pe, r(P)]]),
1593
+ r(xe) ? (_(), S($, m({ key: 1 }, r(xe), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
1594
1594
  ]),
1595
- r(be) && r(l).showClearAction ? (_(), S(r(jt), {
1595
+ r(ye) && r(l).showClearAction ? (_(), S(r(jt), {
1596
1596
  key: 1,
1597
1597
  "input-type": "select",
1598
1598
  label: e.labelClear,
1599
1599
  icon: e.iconClear,
1600
- disabled: !r(ye),
1601
- onClear: De
1600
+ disabled: !r(F),
1601
+ onClear: L
1602
1602
  }, null, 8, [
1603
1603
  "label",
1604
1604
  "icon",
1605
1605
  "disabled"
1606
1606
  ])) : A("v-if", !0),
1607
- e.$slots.after ? (_(), N("div", wn, [b(e.$slots, "after", s(o(r(ke))))])) : A("v-if", !0)
1607
+ e.$slots.after ? (_(), N("div", wn, [b(e.$slots, "after", s(o(r(Ae))))])) : A("v-if", !0)
1608
1608
  ]),
1609
1609
  v(r(d), {
1610
1610
  id: r(_e),
@@ -1662,7 +1662,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1662
1662
  VvDropdownOptgroup: an,
1663
1663
  VvButton: Kt
1664
1664
  },
1665
- props: /* @__PURE__ */ p(_t(), {
1665
+ props: /* @__PURE__ */ p(vt(), {
1666
1666
  search: {
1667
1667
  type: String,
1668
1668
  default: "",
@@ -1680,7 +1680,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1680
1680
  "change:search"
1681
1681
  ], ["update:search"]),
1682
1682
  setup(e, { emit: t }) {
1683
- let i = e, a = t, l = ee(), u = fn("VvCombobox", _t(), i), d = k(null), f = k(null), p = k(null), g = k(), { HintSlot: y, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: re, hintSlotScope: C } = Et(u, l), { focused: se } = pn(d, a), { focused: ce } = De(p), le;
1683
+ let i = e, a = t, l = ee(), u = fn("VvCombobox", vt(), i), d = k(null), f = k(null), p = k(null), g = k(), { HintSlot: y, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: re, hintSlotScope: C } = Dt(u, l), { focused: se } = pn(d, a), { focused: ce } = Se(p), le;
1684
1684
  function fe() {
1685
1685
  clearTimeout(le), le = setTimeout(() => {
1686
1686
  !se.value && !ce.value && j.value && P();
@@ -1697,75 +1697,75 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1697
1697
  }), x(ce, (e) => {
1698
1698
  e ? clearTimeout(le) : !se.value && j.value && fe();
1699
1699
  });
1700
- let pe = de(e, "search"), me = Se(pe, O(() => Number(i.debounceSearch)));
1700
+ let pe = de(e, "search"), me = ke(pe, O(() => Number(i.debounceSearch)));
1701
1701
  x(me, () => {
1702
1702
  a("update:search", me.value), a("change:search", me.value);
1703
1703
  });
1704
1704
  let j = k(!1);
1705
1705
  function _e() {
1706
- B.value || (j.value = !j.value);
1706
+ z.value || (j.value = !j.value);
1707
1707
  }
1708
1708
  function ve() {
1709
- B.value || j.value || (j.value = !0);
1709
+ z.value || j.value || (j.value = !0);
1710
1710
  }
1711
1711
  function P() {
1712
- B.value || !j.value || (j.value = !1);
1712
+ z.value || !j.value || (j.value = !1);
1713
1713
  }
1714
- function ye() {
1714
+ function F() {
1715
1715
  u.value.searchable && f.value && (f.value.closest(".vv-dropdown")?.contains(document.activeElement) || f.value.focus({ preventScroll: !0 }));
1716
1716
  }
1717
- function be() {
1717
+ function ye() {
1718
1718
  u.value.keepSearch || (pe.value = "");
1719
1719
  }
1720
- function F(e) {
1720
+ function I(e) {
1721
1721
  return typeof e != "string" && e.options?.length;
1722
1722
  }
1723
- let { id: xe, icon: Ce, iconPosition: I, modifiers: we, disabled: L, required: Te, readonly: R, loading: Oe, valid: ke, invalid: Ae, floating: je } = w(i), z = Ut(xe), Me = O(() => `${z.value}-hint`), Ne = O(() => `${z.value}-dropdown`), Pe = O(() => `${z.value}-search`), Fe = O(() => `${z.value}-label`), Ie = O(() => [i.ariaDescribedby, ne.value ? Me.value : void 0].filter(Boolean).join(" ") || void 0), B = O(() => i.disabled || i.readonly), Le = O(() => B.value ? -1 : i.tabindex), V = O({
1723
+ let { id: be, icon: xe, iconPosition: Ce, modifiers: we, disabled: Te, required: Ee, readonly: De, loading: L, valid: Ae, invalid: je, floating: Me } = w(i), R = Ut(be), Ne = O(() => `${R.value}-hint`), Pe = O(() => `${R.value}-dropdown`), Fe = O(() => `${R.value}-search`), Ie = O(() => `${R.value}-label`), Le = O(() => [i.ariaDescribedby, ne.value ? Ne.value : void 0].filter(Boolean).join(" ") || void 0), z = O(() => i.disabled || i.readonly), Re = O(() => z.value ? -1 : i.tabindex), B = O({
1724
1724
  get: () => Array.isArray(i.modelValue) ? i.modelValue : i.modelValue !== void 0 && i.modelValue !== null ? [i.modelValue] : [],
1725
1725
  set: (e) => {
1726
1726
  a("update:modelValue", i.multiple || Array.isArray(i.modelValue) ? e : e.pop());
1727
1727
  }
1728
- }), Re = O(() => V.value.length), ze = O(() => Re.value > 0), H = O(() => i.multiple ? i.maxValues === void 0 ? 1 / 0 : Number(i.maxValues) : 1), Be = O(() => B.value || !i.unselectable ? !1 : Number(i.minValues) === 0 || Re.value > Number(i.minValues)), Ve = O(() => B.value ? !1 : !i.multiple || Re.value < H.value), He = k(!1), U = O(() => He.value || Oe.value), { hasIconBefore: Ue, hasIconAfter: G } = At(Ce, I), We = Ot("vv-select", we, O(() => ({
1729
- disabled: L.value,
1730
- required: Te.value,
1731
- loading: U.value,
1732
- readonly: R.value,
1733
- "icon-before": Ue.value !== void 0,
1734
- "icon-after": G.value !== void 0,
1735
- valid: ke.value,
1736
- invalid: Ae.value,
1737
- dirty: ze.value,
1738
- focus: (se.value || ce.value || j.value) && !B.value,
1739
- floating: je.value,
1728
+ }), ze = O(() => B.value.length), Be = O(() => ze.value > 0), V = O(() => i.multiple ? i.maxValues === void 0 ? 1 / 0 : Number(i.maxValues) : 1), Ve = O(() => z.value || !i.unselectable ? !1 : Number(i.minValues) === 0 || ze.value > Number(i.minValues)), He = O(() => z.value ? !1 : !i.multiple || ze.value < V.value), Ue = k(!1), H = O(() => Ue.value || L.value), { hasIconBefore: We, hasIconAfter: W } = At(xe, Ce), Ge = kt("vv-select", we, O(() => ({
1729
+ disabled: Te.value,
1730
+ required: Ee.value,
1731
+ loading: H.value,
1732
+ readonly: De.value,
1733
+ "icon-before": We.value !== void 0,
1734
+ "icon-after": W.value !== void 0,
1735
+ valid: Ae.value,
1736
+ invalid: je.value,
1737
+ dirty: Be.value,
1738
+ focus: (se.value || ce.value || j.value) && !z.value,
1739
+ floating: Me.value,
1740
1740
  badges: i.badges
1741
- }))), Ge = k(/* @__PURE__ */ new Set()), { getOptionLabel: K, getOptionValue: Ke, getOptionGrouped: q, isOptionDisabled: qe } = mn(i), Je = O(() => {
1742
- let e = [...Ge.value];
1743
- for (let t of i.options) F(t) ? e.push(...q(t)) : e.push(t);
1741
+ }))), Ke = k(/* @__PURE__ */ new Set()), { getOptionLabel: G, getOptionValue: qe, getOptionGrouped: K, isOptionDisabled: Je } = mn(i), Ye = O(() => {
1742
+ let e = [...Ke.value];
1743
+ for (let t of i.options) I(t) ? e.push(...K(t)) : e.push(t);
1744
1744
  return e;
1745
- }), J = O(() => {
1746
- let e = [...i.options, ...Ge.value];
1747
- for (let t of V.value) Je.value.some((e) => {
1748
- let n = Ke(e);
1745
+ }), q = O(() => {
1746
+ let e = [...i.options, ...Ke.value];
1747
+ for (let t of B.value) Ye.value.some((e) => {
1748
+ let n = qe(e);
1749
1749
  return typeof n == "object" && typeof t == "object" ? JSON.stringify(n) === JSON.stringify(t) : n === t;
1750
1750
  }) || e.push(t);
1751
1751
  return e;
1752
1752
  });
1753
- x(Ge, (e) => {
1754
- e.size > 0 && a("update:options", J.value);
1753
+ x(Ke, (e) => {
1754
+ e.size > 0 && a("update:options", q.value);
1755
1755
  });
1756
- function Y(e) {
1757
- return qe(e) || !Ve.value && !Z(e);
1756
+ function J(e) {
1757
+ return Je(e) || !He.value && !X(e);
1758
1758
  }
1759
- let X = Ee(async () => {
1759
+ let Y = Oe(async () => {
1760
1760
  if (u.value.searchFunction) {
1761
- He.value = !0;
1762
- let e = await Promise.resolve(u.value.searchFunction(me.value, J.value));
1763
- return He.value = !1, e;
1761
+ Ue.value = !0;
1762
+ let e = await Promise.resolve(u.value.searchFunction(me.value, q.value));
1763
+ return Ue.value = !1, e;
1764
1764
  }
1765
1765
  let e = me.value.toLowerCase().trim();
1766
- return e ? J.value?.reduce((t, n) => {
1767
- if (F(n)) {
1768
- let r = K(n).toLowerCase(), i = q(n).filter((t) => K(t).toLowerCase().includes(e));
1766
+ return e ? q.value?.reduce((t, n) => {
1767
+ if (I(n)) {
1768
+ let r = G(n).toLowerCase(), i = K(n).filter((t) => G(t).toLowerCase().includes(e));
1769
1769
  if (r.includes(e)) t.push(n);
1770
1770
  else if (i.length > 0) {
1771
1771
  let e = typeof n == "object" ? {
@@ -1776,51 +1776,51 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1776
1776
  }
1777
1777
  return t;
1778
1778
  }
1779
- return K(n).toLowerCase().includes(e) && t.push(n), t;
1780
- }, []) : J.value;
1779
+ return G(n).toLowerCase().includes(e) && t.push(n), t;
1780
+ }, []) : q.value;
1781
1781
  });
1782
- function Z(e) {
1783
- let t = Ke(e);
1784
- return typeof t == "object" ? V.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : V.value.includes(t);
1782
+ function X(e) {
1783
+ let t = qe(e);
1784
+ return typeof t == "object" ? B.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : B.value.includes(t);
1785
1785
  }
1786
- let Ye = O(() => J.value.reduce((e, t) => F(t) ? [...e, ...q(t)] : [...e, t], []).filter((e) => Z(e))), Xe = O(() => Ye.value.map((e) => K(e)).join(i.separator));
1787
- function Ze() {
1786
+ let Xe = O(() => q.value.reduce((e, t) => I(t) ? [...e, ...K(t)] : [...e, t], []).filter((e) => X(e))), Ze = O(() => Xe.value.map((e) => G(e)).join(i.separator));
1787
+ function Qe() {
1788
1788
  i.autoOpen ? ve() : _e();
1789
1789
  }
1790
- function Q(e) {
1791
- let t = Z(e), n = Ke(e);
1792
- 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 && (i.multiple ? V.value = [...V.value, n] : V.value = [n]), !i.multiple && !i.keepOpen && P();
1790
+ function Z(e) {
1791
+ let t = X(e), n = qe(e);
1792
+ t && Ve.value ? B.value = B.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && He.value && (i.multiple ? B.value = [...B.value, n] : B.value = [n]), !i.multiple && !i.keepOpen && P();
1793
1793
  }
1794
- function Qe() {
1795
- V.value = [], a("update:search", ""), a("clear");
1794
+ function $e() {
1795
+ B.value = [], a("update:search", ""), a("clear");
1796
1796
  }
1797
- x(J, (e) => {
1798
- if (e?.length && i.autoselectFirst && !ze.value) {
1799
- let t = e.find((e) => !F(e));
1797
+ x(q, (e) => {
1798
+ if (e?.length && i.autoselectFirst && !Be.value) {
1799
+ let t = e.find((e) => !I(e));
1800
1800
  if (t) {
1801
- Q(t);
1801
+ Z(t);
1802
1802
  return;
1803
1803
  }
1804
- let n = e.find((e) => F(e));
1804
+ let n = e.find((e) => I(e));
1805
1805
  if (n) {
1806
- let e = q(n);
1807
- e.length && Q(e[0]);
1806
+ let e = K(n);
1807
+ e.length && Z(e[0]);
1808
1808
  }
1809
1809
  }
1810
1810
  }, { immediate: !0 });
1811
- let $e = O(() => ({
1812
- id: z.value,
1811
+ let et = O(() => ({
1812
+ id: R.value,
1813
1813
  name: i.name,
1814
- tabindex: Le.value,
1815
- valid: ke.value,
1814
+ tabindex: Re.value,
1815
+ valid: Ae.value,
1816
1816
  validLabel: u.value.validLabel,
1817
- invalid: Ae.value,
1817
+ invalid: je.value,
1818
1818
  invalidLabel: u.value.invalidLabel,
1819
1819
  hintLabel: u.value.hintLabel,
1820
- loading: U.value,
1820
+ loading: H.value,
1821
1821
  loadingLabel: u.value.loadingLabel,
1822
- disabled: L.value,
1823
- readonly: R.value,
1822
+ disabled: Te.value,
1823
+ readonly: De.value,
1824
1824
  modifiers: u.value.modifiers,
1825
1825
  options: u.value.options,
1826
1826
  labelKey: u.value.labelKey,
@@ -1828,7 +1828,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1828
1828
  icon: u.value.icon,
1829
1829
  iconPosition: u.value.iconPosition,
1830
1830
  floating: u.value.floating,
1831
- unselectable: Be.value,
1831
+ unselectable: Ve.value,
1832
1832
  autoselectFirst: u.value.autoselectFirst,
1833
1833
  multiple: u.value.multiple,
1834
1834
  label: u.value.label,
@@ -1837,8 +1837,8 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1837
1837
  ariaDescribedby: i.ariaDescribedby,
1838
1838
  placeholder: u.value.placeholder,
1839
1839
  modelValue: i.modelValue
1840
- })), et = O(() => ({
1841
- id: Ne.value,
1840
+ })), tt = O(() => ({
1841
+ id: Pe.value,
1842
1842
  reference: p.value,
1843
1843
  placement: u.value.placement,
1844
1844
  strategy: u.value.strategy,
@@ -1852,42 +1852,42 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1852
1852
  triggerWidth: u.value.triggerWidth,
1853
1853
  topLayer: u.value.topLayer,
1854
1854
  modifiers: u.value.dropdownModifiers
1855
- })), tt = O(() => ({
1855
+ })), nt = O(() => ({
1856
1856
  valid: i.valid,
1857
1857
  invalid: i.invalid,
1858
1858
  modelValue: i.modelValue
1859
1859
  }));
1860
- function $(e) {
1860
+ function Q(e) {
1861
1861
  e.key !== " " && e.key !== "Enter" || i.autoOpen || !j.value && se.value && (e.preventDefault(), e.stopImmediatePropagation(), _e());
1862
1862
  }
1863
- function nt() {
1864
- if (X.value?.length) {
1865
- if (X.value.length === 1) {
1866
- let e = X.value[0];
1867
- if (F(e)) {
1868
- let t = q(e);
1869
- t.length && Q(t[0]);
1863
+ function rt() {
1864
+ if (Y.value?.length) {
1865
+ if (Y.value.length === 1) {
1866
+ let e = Y.value[0];
1867
+ if (I(e)) {
1868
+ let t = K(e);
1869
+ t.length && Z(t[0]);
1870
1870
  return;
1871
1871
  }
1872
- Q(e);
1872
+ Z(e);
1873
1873
  return;
1874
1874
  }
1875
1875
  g.value?.focusFirstListElement();
1876
1876
  } else if (u.value.addable) {
1877
1877
  let e = pe.value.trim();
1878
- if (!e || Je.value.some((t) => K(t).toLowerCase() === e.toLowerCase())) return;
1879
- Ge.value.add(e), Q(e);
1878
+ if (!e || Ye.value.some((t) => G(t).toLowerCase() === e.toLowerCase())) return;
1879
+ Ke.value.add(e), Z(e);
1880
1880
  }
1881
1881
  }
1882
- return (e, t) => e.native ? (_(), S(Tn, m({ key: 1 }, r($e), { "onUpdate:modelValue": t[3] ||= (e) => a("update:modelValue", e) }), null, 16)) : (_(), N("div", {
1882
+ return (e, t) => e.native ? (_(), S(Tn, m({ key: 1 }, r(et), { "onUpdate:modelValue": t[3] ||= (e) => a("update:modelValue", e) }), null, 16)) : (_(), N("div", {
1883
1883
  key: 0,
1884
- id: r(z),
1885
- class: te(r(We))
1884
+ id: r(R),
1885
+ class: te(r(Ge))
1886
1886
  }, [
1887
1887
  e.label ? (_(), N("label", {
1888
1888
  key: 0,
1889
- id: r(Fe),
1890
- for: r(u).searchable ? r(Pe) : void 0
1889
+ id: r(Ie),
1890
+ for: r(u).searchable ? r(Fe) : void 0
1891
1891
  }, h(e.label), 9, Dn)) : A("v-if", !0),
1892
1892
  D("div", {
1893
1893
  ref_key: "wrapperEl",
@@ -1898,72 +1898,72 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1898
1898
  ref: g,
1899
1899
  modelValue: r(j),
1900
1900
  "onUpdate:modelValue": t[2] ||= (e) => ue(j) ? j.value = e : null
1901
- }, r(et), {
1902
- role: r(W).listbox,
1903
- onAfterExpand: ye,
1904
- onAfterCollapse: be
1901
+ }, r(tt), {
1902
+ role: r(U).listbox,
1903
+ onAfterExpand: F,
1904
+ onAfterCollapse: ye
1905
1905
  }), ie({
1906
1906
  default: T(({ aria: t }) => [
1907
- e.$slots.before ? (_(), N("div", kn, [b(e.$slots, "before", s(o(r(tt))))])) : A("v-if", !0),
1907
+ e.$slots.before ? (_(), N("div", kn, [b(e.$slots, "before", s(o(r(nt))))])) : A("v-if", !0),
1908
1908
  D("div", An, [
1909
- r(Ue) ? (_(), S(kt, m({ key: 0 }, r(Ue), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
1909
+ r(We) ? (_(), S($, m({ key: 0 }, r(We), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
1910
1910
  D("div", m({
1911
1911
  ref_key: "inputEl",
1912
1912
  ref: d
1913
1913
  }, t, {
1914
1914
  class: "vv-select__input",
1915
1915
  role: "combobox",
1916
- "aria-controls": r(Ne),
1916
+ "aria-controls": r(Pe),
1917
1917
  "aria-expanded": r(j),
1918
1918
  "aria-label": e.ariaLabel || void 0,
1919
- "aria-labelledby": e.ariaLabelledby || (e.label ? r(Fe) : void 0),
1920
- "aria-describedby": r(Ie),
1921
- "aria-errormessage": r(re) ? r(Me) : void 0,
1922
- tabindex: r(Le),
1923
- onClickPassive: Ze,
1924
- onKeydown: $
1925
- }), [r(Xe) ? b(e.$slots, "value", s(o({
1926
- selectedOptions: r(Ye),
1927
- onInput: Q
1928
- })), () => [e.badges ? (_(!0), N(E, { key: 1 }, n(r(Ye), (t, n) => (_(), S(Nt, {
1919
+ "aria-labelledby": e.ariaLabelledby || (e.label ? r(Ie) : void 0),
1920
+ "aria-describedby": r(Le),
1921
+ "aria-errormessage": r(re) ? r(Ne) : void 0,
1922
+ tabindex: r(Re),
1923
+ onClickPassive: Qe,
1924
+ onKeydown: Q
1925
+ }), [r(Ze) ? b(e.$slots, "value", s(o({
1926
+ selectedOptions: r(Xe),
1927
+ onInput: Z
1928
+ })), () => [e.badges ? (_(!0), N(E, { key: 1 }, n(r(Xe), (t, n) => (_(), S(Nt, {
1929
1929
  key: n,
1930
1930
  modifiers: e.badgeModifiers,
1931
1931
  class: "vv-select__badge"
1932
1932
  }, {
1933
- default: T(() => [M(h(r(K)(t)) + " ", 1), r(Be) ? (_(), N("button", {
1933
+ default: T(() => [M(h(r(G)(t)) + " ", 1), r(Ve) ? (_(), N("button", {
1934
1934
  key: 0,
1935
1935
  "aria-label": r(u).deselectActionLabel,
1936
1936
  type: "button",
1937
- onClick: oe((e) => Q(t), ["stop"])
1938
- }, [v(kt, { name: "close" })], 8, Nn)) : A("v-if", !0)]),
1937
+ onClick: oe((e) => Z(t), ["stop"])
1938
+ }, [v($, { name: "close" })], 8, Nn)) : A("v-if", !0)]),
1939
1939
  _: 2
1940
- }, 1032, ["modifiers"]))), 128)) : (_(), N("div", Mn, h(r(Xe)), 1))], void 0, 0) : b(e.$slots, "placeholder", {}, () => [M(h(e.placeholder), 1)], void 0, 1)], 16, jn),
1941
- r(G) ? (_(), S(kt, m({ key: 1 }, r(G), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
1940
+ }, 1032, ["modifiers"]))), 128)) : (_(), N("div", Mn, h(r(Ze)), 1))], void 0, 0) : b(e.$slots, "placeholder", {}, () => [M(h(e.placeholder), 1)], void 0, 1)], 16, jn),
1941
+ r(W) ? (_(), S($, m({ key: 1 }, r(W), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
1942
1942
  ]),
1943
- r(Be) && r(u).showClearAction ? (_(), S(r(jt), {
1943
+ r(Ve) && r(u).showClearAction ? (_(), S(r(jt), {
1944
1944
  key: 1,
1945
1945
  "input-type": "select",
1946
1946
  label: e.labelClear,
1947
1947
  icon: e.iconClear,
1948
- disabled: !r(ze),
1949
- onClear: Qe
1948
+ disabled: !r(Be),
1949
+ onClear: $e
1950
1950
  }, null, 8, [
1951
1951
  "label",
1952
1952
  "icon",
1953
1953
  "disabled"
1954
1954
  ])) : A("v-if", !0),
1955
- e.$slots.after ? (_(), N("div", Pn, [b(e.$slots, "after", s(o(r(tt))))])) : A("v-if", !0)
1955
+ e.$slots.after ? (_(), N("div", Pn, [b(e.$slots, "after", s(o(r(nt))))])) : A("v-if", !0)
1956
1956
  ]),
1957
- items: T(() => [!r(L) && r(X)?.length ? (_(!0), N(E, { key: 0 }, n(r(X), (t, i) => (_(), N(E, { key: i }, [F(t) ? (_(), N(E, { key: 0 }, [v(an, { label: r(K)(t) }, {
1957
+ items: T(() => [!r(Te) && r(Y)?.length ? (_(!0), N(E, { key: 0 }, n(r(Y), (t, i) => (_(), N(E, { key: i }, [I(t) ? (_(), N(E, { key: 0 }, [v(an, { label: r(G)(t) }, {
1958
1958
  default: T(() => [b(e.$slots, "option-group", m({ ref_for: !0 }, {
1959
1959
  option: t,
1960
- selectedOptions: r(Ye)
1961
- }), () => [M(h(r(K)(t)), 1)])]),
1960
+ selectedOptions: r(Xe)
1961
+ }), () => [M(h(r(G)(t)), 1)])]),
1962
1962
  _: 2
1963
- }, 1032, ["label"]), (_(!0), N(E, null, n(r(q)(t), (t, n) => (_(), S(cn, m({ ref_for: !0 }, {
1964
- selected: Z(t),
1965
- disabled: Y(t),
1966
- unselectable: r(Be),
1963
+ }, 1032, ["label"]), (_(!0), N(E, null, n(r(K)(t), (t, n) => (_(), S(cn, m({ ref_for: !0 }, {
1964
+ selected: X(t),
1965
+ disabled: J(t),
1966
+ unselectable: r(Ve),
1967
1967
  deselectHintLabel: r(u).deselectHintLabel,
1968
1968
  selectHintLabel: r(u).selectHintLabel,
1969
1969
  selectedHintLabel: r(u).selectedHintLabel,
@@ -1971,36 +1971,36 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
1971
1971
  }, {
1972
1972
  key: n,
1973
1973
  class: "vv-dropdown-option",
1974
- onClickPassive: (e) => Q(t)
1974
+ onClickPassive: (e) => Z(t)
1975
1975
  }), {
1976
1976
  default: T(() => [b(e.$slots, "option", m({ ref_for: !0 }, {
1977
1977
  option: t,
1978
- selectedOptions: r(Ye),
1979
- selected: Z(t),
1980
- disabled: Y(t)
1981
- }), () => [M(h(r(K)(t)), 1)])]),
1978
+ selectedOptions: r(Xe),
1979
+ selected: X(t),
1980
+ disabled: J(t)
1981
+ }), () => [M(h(r(G)(t)), 1)])]),
1982
1982
  _: 2
1983
1983
  }, 1040, ["onClickPassive"]))), 128))], 64)) : (_(), S(cn, m({
1984
1984
  key: 1,
1985
1985
  ref_for: !0
1986
1986
  }, {
1987
- selected: Z(t),
1988
- disabled: Y(t),
1989
- unselectable: r(Be),
1987
+ selected: X(t),
1988
+ disabled: J(t),
1989
+ unselectable: r(Ve),
1990
1990
  deselectHintLabel: r(u).deselectHintLabel,
1991
1991
  selectHintLabel: r(u).selectHintLabel,
1992
1992
  selectedHintLabel: r(u).selectedHintLabel,
1993
1993
  focusOnHover: e.focusOnHover
1994
1994
  }, {
1995
1995
  class: "vv-dropdown-option",
1996
- onClickPassive: (e) => Q(t)
1996
+ onClickPassive: (e) => Z(t)
1997
1997
  }), {
1998
1998
  default: T(() => [b(e.$slots, "option", m({ ref_for: !0 }, {
1999
1999
  option: t,
2000
- selectedOptions: r(Ye),
2001
- selected: Z(t),
2002
- disabled: Y(t)
2003
- }), () => [M(h(r(K)(t)), 1)])]),
2000
+ selectedOptions: r(Xe),
2001
+ selected: X(t),
2002
+ disabled: J(t)
2003
+ }), () => [M(h(r(G)(t)), 1)])]),
2004
2004
  _: 2
2005
2005
  }, 1040, ["onClickPassive"]))], 64))), 128)) : e.options.length ? (_(), S(cn, {
2006
2006
  key: 2,
@@ -2024,25 +2024,25 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
2024
2024
  _: 2
2025
2025
  }, [r(u).searchable || e.$slots["dropdown::before"] ? {
2026
2026
  name: "before",
2027
- fn: T(() => [b(e.$slots, "dropdown::before"), r(u).searchable && !r(L) ? he((_(), N("input", {
2027
+ fn: T(() => [b(e.$slots, "dropdown::before"), r(u).searchable && !r(Te) ? he((_(), N("input", {
2028
2028
  key: 0,
2029
- id: r(Pe),
2029
+ id: r(Fe),
2030
2030
  ref_key: "inputSearchEl",
2031
2031
  ref: f,
2032
2032
  "onUpdate:modelValue": t[0] ||= (e) => pe.value = e,
2033
2033
  "aria-autocomplete": "list",
2034
- "aria-controls": r(Ne),
2034
+ "aria-controls": r(Pe),
2035
2035
  autocomplete: "off",
2036
2036
  spellcheck: "false",
2037
2037
  type: "search",
2038
2038
  class: "vv-dropdown__search",
2039
2039
  placeholder: r(u).searchPlaceholder,
2040
- onKeyup: ge(nt, ["enter"])
2040
+ onKeyup: ge(rt, ["enter"])
2041
2041
  }, null, 40, On)), [[ae, pe.value]]) : A("v-if", !0)]),
2042
2042
  key: "0"
2043
2043
  } : void 0]), 1040, ["modelValue", "role"])], 512),
2044
2044
  v(r(y), {
2045
- id: r(Me),
2045
+ id: r(Ne),
2046
2046
  class: "vv-select__hint"
2047
2047
  }, ie({ _: 2 }, [
2048
2048
  e.$slots.hint ? {
@@ -2072,4 +2072,4 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
2072
2072
  //#endregion
2073
2073
  export { Fn as default };
2074
2074
 
2075
- //# sourceMappingURL=VvCombobox.es-SLzX9VnX.js.map
2075
+ //# sourceMappingURL=VvCombobox.es-BfiDcdcw.js.map