@8wave/ai-elements 0.125.0-beta.36 → 0.125.0-beta.37

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 (114) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-DsRAk1js.js → PkChatbotFilePreview-Dt0ygdJM.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-DsRAk1js.js.map → PkChatbotFilePreview-Dt0ygdJM.js.map} +1 -1
  3. package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js → PkEditorRadioButtons-Br4c42KS.js} +2 -2
  4. package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js.map → PkEditorRadioButtons-Br4c42KS.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreview-Bic0SA47.js → PkFilePreview-BdqdC1ml.js} +5 -5
  6. package/dist/_chunks/{PkFilePreview-Bic0SA47.js.map → PkFilePreview-BdqdC1ml.js.map} +1 -1
  7. package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js → PkFilePreviewDialog-_pdW07pm.js} +3 -3
  8. package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js.map → PkFilePreviewDialog-_pdW07pm.js.map} +1 -1
  9. package/dist/_chunks/{PkHeldImage-CtIvSX8O.js → PkHeldImage-H7-q7WrE.js} +2 -2
  10. package/dist/_chunks/{PkHeldImage-CtIvSX8O.js.map → PkHeldImage-H7-q7WrE.js.map} +1 -1
  11. package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js → PkImageEditorDialog-D-ikpGo8.js} +5 -5
  12. package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js.map → PkImageEditorDialog-D-ikpGo8.js.map} +1 -1
  13. package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js → PkLazyImg-DTGucEQ9.js} +2 -2
  14. package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js.map → PkLazyImg-DTGucEQ9.js.map} +1 -1
  15. package/dist/_chunks/{PkSelectionActions-mna8QQGY.js → PkSelectionActions-CjAiM1G3.js} +2 -2
  16. package/dist/_chunks/{PkSelectionActions-mna8QQGY.js.map → PkSelectionActions-CjAiM1G3.js.map} +1 -1
  17. package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js → PkToolChatFile-39PrHVVm.js} +3 -3
  18. package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js.map → PkToolChatFile-39PrHVVm.js.map} +1 -1
  19. package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js → PkToolRequestGeolocation-CMSIJu4c.js} +2 -2
  20. package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js.map → PkToolRequestGeolocation-CMSIJu4c.js.map} +1 -1
  21. package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js → PkToolRequestOAuthConnection-ClVVaEuK.js} +3 -3
  22. package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js.map → PkToolRequestOAuthConnection-ClVVaEuK.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js → PkToolShareDocument-Bxm1pSpj.js} +3 -3
  24. package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js.map → PkToolShareDocument-Bxm1pSpj.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js → PkToolShowArtifact-D1AOFL1o.js} +2 -2
  26. package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js.map → PkToolShowArtifact-D1AOFL1o.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js → PkToolShowCalendarEvent-Bf1fBrjf.js} +4 -4
  28. package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js.map → PkToolShowCalendarEvent-Bf1fBrjf.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js → PkToolShowComparison-BURyhuOx.js} +3 -3
  30. package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js.map → PkToolShowComparison-BURyhuOx.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js → PkToolShowContactForm-CTitUxv_.js} +4 -4
  32. package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js.map → PkToolShowContactForm-CTitUxv_.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js → PkToolShowDiagram-CwINVecL.js} +3 -3
  34. package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js.map → PkToolShowDiagram-CwINVecL.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js → PkToolShowEmail-mGLOd6zf.js} +4 -4
  36. package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js.map → PkToolShowEmail-mGLOd6zf.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js → PkToolShowForm-YaDgT_04.js} +5 -5
  38. package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js.map → PkToolShowForm-YaDgT_04.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js → PkToolShowImageGallery-BVrcfe_b.js} +3 -3
  40. package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js.map → PkToolShowImageGallery-BVrcfe_b.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js → PkToolShowLocation-BYkY2CEF.js} +4 -4
  42. package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js.map → PkToolShowLocation-BYkY2CEF.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowMessage-BPugVukY.js → PkToolShowMessage-CvxABht3.js} +4 -4
  44. package/dist/_chunks/{PkToolShowMessage-BPugVukY.js.map → PkToolShowMessage-CvxABht3.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js → PkToolShowProductList-CYNh8YRF.js} +4 -4
  46. package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js.map → PkToolShowProductList-CYNh8YRF.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js → PkToolShowQrCode-DgnNA0rU.js} +3 -3
  48. package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js.map → PkToolShowQrCode-DgnNA0rU.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js → PkToolShowSources-BvH0el0N.js} +3 -3
  50. package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js.map → PkToolShowSources-BvH0el0N.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js → PkToolShowSuggestedReply-PHcre0Ff.js} +2 -2
  52. package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js.map → PkToolShowSuggestedReply-PHcre0Ff.js.map} +1 -1
  53. package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js → PkToolShowVideo-SiP-5Ekl.js} +3 -3
  54. package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js.map → PkToolShowVideo-SiP-5Ekl.js.map} +1 -1
  55. package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js → PkToolShowWeather-BMnvmUoO.js} +2 -2
  56. package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js.map → PkToolShowWeather-BMnvmUoO.js.map} +1 -1
  57. package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js → PkToolShowWebPages-Co_33g_K.js} +4 -4
  58. package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js.map → PkToolShowWebPages-Co_33g_K.js.map} +1 -1
  59. package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js → VvButtonLocalized-C8S7XJGv.js} +2 -2
  60. package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js.map → VvButtonLocalized-C8S7XJGv.js.map} +1 -1
  61. package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js → VvCheckbox.es-DXJ1UB8G.js} +2 -2
  62. package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js.map → VvCheckbox.es-DXJ1UB8G.js.map} +1 -1
  63. package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js → VvCheckboxGroup.es-ZWG2NV9b.js} +2 -2
  64. package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js.map → VvCheckboxGroup.es-ZWG2NV9b.js.map} +1 -1
  65. package/dist/_chunks/{VvCombobox.es-uAWL0Asj.js → VvCombobox.es-D516ShMF.js} +318 -307
  66. package/dist/_chunks/VvCombobox.es-D516ShMF.js.map +1 -0
  67. package/dist/_chunks/{VvInputText.es-Cw6GoyJS.js → VvInputText.es-Dzf_mjzr.js} +250 -239
  68. package/dist/_chunks/VvInputText.es-Dzf_mjzr.js.map +1 -0
  69. package/dist/_chunks/{VvRadio.es-Betfu_P8.js → VvRadio.es-CksG97Js.js} +2 -2
  70. package/dist/_chunks/{VvRadio.es-Betfu_P8.js.map → VvRadio.es-CksG97Js.js.map} +1 -1
  71. package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js → VvRadioGroup.es-Bo2Pf354.js} +2 -2
  72. package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js.map → VvRadioGroup.es-Bo2Pf354.js.map} +1 -1
  73. package/dist/_chunks/{VvSelect.es-BLMFR1iC.js → VvSelect.es-DpN2t0Oh.js} +3 -3
  74. package/dist/_chunks/{VvSelect.es-BLMFR1iC.js.map → VvSelect.es-DpN2t0Oh.js.map} +1 -1
  75. package/dist/_chunks/{VvTextarea.es-CFZHoQWF.js → VvTextarea.es-GlakViWr.js} +347 -336
  76. package/dist/_chunks/VvTextarea.es-GlakViWr.js.map +1 -0
  77. package/dist/_chunks/{iconify-oSMMdRMF.js → iconify-Cj-qXWYO.js} +175 -175
  78. package/dist/_chunks/{iconify-oSMMdRMF.js.map → iconify-Cj-qXWYO.js.map} +1 -1
  79. package/dist/_chunks/{index.es-DKgwv-Tl.js → index.es-0ah-ssIE.js} +10 -10
  80. package/dist/_chunks/{index.es-DKgwv-Tl.js.map → index.es-0ah-ssIE.js.map} +1 -1
  81. package/dist/_chunks/{index.es-D-aOuzzp.js → index.es-DIHz5I8K.js} +152 -141
  82. package/dist/_chunks/index.es-DIHz5I8K.js.map +1 -0
  83. package/dist/ai-elements.es.js +46 -46
  84. package/dist/ai-elements.es.js.map +1 -1
  85. package/dist-vue/PkChatbot.js +1 -1
  86. package/dist-vue/PkChatbotAuth.js +1 -1
  87. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  88. package/dist-vue/PkChatbotMessages.js +1 -1
  89. package/dist-vue/PkChatbotViewChat.js +1 -1
  90. package/dist-vue/_chunks/{PkChatbot-BtJsIn4h.js → PkChatbot-CfBea2qY.js} +2 -2
  91. package/dist-vue/_chunks/{PkChatbot-BtJsIn4h.js.map → PkChatbot-CfBea2qY.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js → PkChatbotAuth-Ci9NmbVb.js} +2 -2
  93. package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js.map → PkChatbotAuth-Ci9NmbVb.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js → PkChatbotFeedbackForm-D3YNMO7m.js} +2 -2
  95. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js.map → PkChatbotFeedbackForm-D3YNMO7m.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js → PkChatbotMessages-AkfEvXEN.js} +3 -3
  97. package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js.map → PkChatbotMessages-AkfEvXEN.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js → PkChatbotViewChat-CdcZrTJJ.js} +3 -3
  99. package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js.map → PkChatbotViewChat-CdcZrTJJ.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js → PkFilePreview-DJBrACR3.js} +2 -2
  101. package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js.map → PkFilePreview-DJBrACR3.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js → PkFilePreviewDialog-C-m04VEl.js} +2 -2
  103. package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js.map → PkFilePreviewDialog-C-m04VEl.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js → PkToolShowContactForm-CtJSjw8M.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js.map → PkToolShowContactForm-CtJSjw8M.js.map} +1 -1
  106. package/dist-vue/_chunks/{index.es-DSD1KzRg.js → index.es-MFxWj-L1.js} +2 -2
  107. package/dist-vue/_chunks/{index.es-DSD1KzRg.js.map → index.es-MFxWj-L1.js.map} +1 -1
  108. package/dist-vue/index.js +7 -7
  109. package/dist-vue/index.js.map +1 -1
  110. package/package.json +2 -2
  111. package/dist/_chunks/VvCombobox.es-uAWL0Asj.js.map +0 -1
  112. package/dist/_chunks/VvInputText.es-Cw6GoyJS.js.map +0 -1
  113. package/dist/_chunks/VvTextarea.es-CFZHoQWF.js.map +0 -1
  114. package/dist/_chunks/index.es-D-aOuzzp.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { A as e, B as t, D as n, Dt as r, E as i, Et as a, F as o, G as s, H as c, K as l, L as u, M as d, Ot as f, P as p, Q as m, S as ee, St as h, Tt as g, V as te, Y as ne, _, b as v, c as re, d as y, et as ie, f as ae, g as b, gt as x, h as S, k as C, kt as w, l as oe, nt as se, ot as ce, pt as le, q as ue, r as T, t as de, tt as E, ut as D, v as O, w as k, wt as A, x as j, xt as M, y as N, z as P } from "./vue.runtime.esm-bundler-C2U5uTqB.js";
2
- import { a as fe, i as pe, t as me } from "./iconify-oSMMdRMF.js";
3
- import { S as he, c as ge, f as _e, g as ve, n as ye, p as F, r as I, u as L, x as R } from "./dist-D6oUr4J_.js";
4
- import { a as be, c as z, i as xe, l as Se, n as Ce, o as we, r as Te, s as Ee, t as De } from "./floating-ui.vue-HobyB7z6.js";
5
- // ../../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/VvTextarea/VvTextarea.es.js
6
- C(), T(), ce(), g();
7
- var B = {
1
+ import { A as e, B as t, D as n, Dt as r, E as i, Et as a, F as o, G as s, H as c, K as l, L as u, M as d, Ot as f, P as p, Q as m, S as ee, St as h, Tt as g, V as te, Y as ne, _, b as v, c as re, d as ie, et as ae, f as oe, g as y, gt as b, h as x, k as S, kt as C, l as se, nt as ce, ot as le, pt as ue, q as de, r as w, t as fe, tt as T, ut as E, v as D, w as O, wt as k, x as pe, xt as me, y as A, z as j } from "./vue.runtime.esm-bundler-C2U5uTqB.js";
2
+ import { a as M, i as he, t as ge } from "./iconify-Cj-qXWYO.js";
3
+ import { S as _e, c as ve, f as ye, g as be, n as xe, p as N, r as P, u as Se, x as F } from "./dist-D6oUr4J_.js";
4
+ import { a as Ce, c as I, i as we, l as L, n as Te, o as Ee, r as De, s as Oe, t as ke } from "./floating-ui.vue-HobyB7z6.js";
5
+ // ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.26_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_57f9de4fe20b40601a5bcf5a7db572a3/node_modules/@volverjs/ui-vue/dist/components/VvTextarea/VvTextarea.es.js
6
+ S(), w(), le(), g();
7
+ var Ae = {
8
8
  showPassword: "eye-on",
9
9
  hidePassword: "eye-off",
10
10
  showDatePicker: "calendar",
@@ -15,27 +15,27 @@ var B = {
15
15
  remove: "trash",
16
16
  edit: "edit",
17
17
  download: "download"
18
- }, Oe = { prefix: "normal" }, V = /* @__PURE__ */ (function(e) {
18
+ }, je = { prefix: "normal" }, R = /* @__PURE__ */ (function(e) {
19
19
  return e.local = "local", e.session = "session", e;
20
- })({}), H = /* @__PURE__ */ (function(e) {
20
+ })({}), z = /* @__PURE__ */ (function(e) {
21
21
  return e.absolute = "absolute", e.fixed = "fixed", e;
22
- })({}), U = /* @__PURE__ */ (function(e) {
22
+ })({}), B = /* @__PURE__ */ (function(e) {
23
23
  return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
24
- })({}), ke = /* @__PURE__ */ (function(e) {
24
+ })({}), Me = /* @__PURE__ */ (function(e) {
25
25
  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;
26
- })({}), W = /* @__PURE__ */ (function(e) {
26
+ })({}), V = /* @__PURE__ */ (function(e) {
27
27
  return e.before = "before", e.after = "after", e;
28
- })({}), Ae = /* @__PURE__ */ (function(e) {
28
+ })({}), Ne = /* @__PURE__ */ (function(e) {
29
29
  return e.button = "button", e.submit = "submit", e.reset = "reset", e;
30
- })({}), G = /* @__PURE__ */ (function(e) {
30
+ })({}), H = /* @__PURE__ */ (function(e) {
31
31
  return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
32
- })({}), K = /* @__PURE__ */ (function(e) {
32
+ })({}), Pe = /* @__PURE__ */ (function(e) {
33
33
  return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
34
- })({}), q = /* @__PURE__ */ (function(e) {
34
+ })({}), U = /* @__PURE__ */ (function(e) {
35
35
  return e.listbox = "listbox", e.menu = "menu", e;
36
- })({}), J = /* @__PURE__ */ (function(e) {
36
+ })({}), W = /* @__PURE__ */ (function(e) {
37
37
  return e.option = "option", e.presentation = "presentation", e;
38
- })({}), Y = /* @__PURE__ */ Symbol.for("volver"), je = /* @__PURE__ */ Symbol.for("dropdownTrigger"), X = /* @__PURE__ */ Symbol.for("dropdownItem"), Me = /* @__PURE__ */ Symbol.for("dropdownAction"), Ne = {
38
+ })({}), G = /* @__PURE__ */ Symbol.for("volver"), K = /* @__PURE__ */ Symbol.for("dropdownTrigger"), q = /* @__PURE__ */ Symbol.for("dropdownItem"), J = /* @__PURE__ */ Symbol.for("dropdownAction"), Fe = {
39
39
  to: { type: [String, Object] },
40
40
  href: String,
41
41
  target: String,
@@ -43,7 +43,7 @@ var B = {
43
43
  type: String,
44
44
  default: "noopener noreferrer"
45
45
  }
46
- }, Pe = {
46
+ }, Ie = {
47
47
  valid: {
48
48
  type: Boolean,
49
49
  default: !1
@@ -52,7 +52,7 @@ var B = {
52
52
  type: [String, Array],
53
53
  default: void 0
54
54
  }
55
- }, Fe = {
55
+ }, Le = {
56
56
  invalid: {
57
57
  type: Boolean,
58
58
  default: !1
@@ -61,7 +61,7 @@ var B = {
61
61
  type: [String, Array],
62
62
  default: void 0
63
63
  }
64
- }, Ie = {
64
+ }, Y = {
65
65
  loading: {
66
66
  type: Boolean,
67
67
  default: !1
@@ -70,27 +70,27 @@ var B = {
70
70
  type: String,
71
71
  default: "Loading..."
72
72
  }
73
- }, Z = { disabled: {
73
+ }, X = { disabled: {
74
74
  type: Boolean,
75
75
  default: !1
76
- } }, Q = { required: {
76
+ } }, Re = { required: {
77
77
  type: Boolean,
78
78
  default: !1
79
- } }, Le = { selected: {
79
+ } }, Z = { selected: {
80
80
  type: Boolean,
81
81
  default: !1
82
- } }, Re = { active: {
82
+ } }, ze = { active: {
83
83
  type: Boolean,
84
84
  default: !1
85
- } }, ze = { current: {
85
+ } }, Be = { current: {
86
86
  type: Boolean,
87
87
  default: !1
88
88
  } };
89
- B.clear;
90
- var Be = { pressed: {
89
+ Ae.clear;
90
+ var Ve = { pressed: {
91
91
  type: Boolean,
92
92
  default: !1
93
- } }, Ve = { label: {
93
+ } }, Q = { label: {
94
94
  type: [String, Number],
95
95
  default: void 0
96
96
  } }, He = {
@@ -151,8 +151,8 @@ var Be = { pressed: {
151
151
  },
152
152
  iconPosition: {
153
153
  type: String,
154
- default: W.before,
155
- validator: (e) => Object.values(W).includes(e)
154
+ default: V.before,
155
+ validator: (e) => Object.values(V).includes(e)
156
156
  }
157
157
  }, Ye = { tabindex: {
158
158
  type: [String, Number],
@@ -166,13 +166,13 @@ var Be = { pressed: {
166
166
  } }, Qe = { id: [String, Number] }, $e = {
167
167
  placement: {
168
168
  type: String,
169
- default: U.bottom,
170
- validator: (e) => Object.values(U).includes(e) || Object.values(ke).includes(e)
169
+ default: B.bottom,
170
+ validator: (e) => Object.values(B).includes(e) || Object.values(Me).includes(e)
171
171
  },
172
172
  strategy: {
173
173
  type: String,
174
174
  default: void 0,
175
- validator: (e) => Object.values(H).includes(e)
175
+ validator: (e) => Object.values(z).includes(e)
176
176
  },
177
177
  transitionName: {
178
178
  type: String,
@@ -239,18 +239,18 @@ var Be = { pressed: {
239
239
  ...tt,
240
240
  ...nt,
241
241
  ...Ye,
242
- ...Z,
242
+ ...X,
243
243
  ...Ue,
244
- ...Pe,
245
- ...Fe,
246
- ...We,
247
244
  ...Ie,
245
+ ...Le,
246
+ ...We,
247
+ ...Y,
248
248
  ...$,
249
249
  ...Ke,
250
250
  ...qe,
251
251
  ...Je,
252
252
  ...Xe,
253
- ...Ve,
253
+ ...Q,
254
254
  ...He,
255
255
  minlength: {
256
256
  type: [String, Number],
@@ -264,44 +264,44 @@ var Be = { pressed: {
264
264
  type: String,
265
265
  default: void 0
266
266
  },
267
- ...Q
267
+ ...Re
268
268
  };
269
269
  ({
270
270
  ...et,
271
271
  ...Ye,
272
- ...Pe,
273
- ...Fe,
272
+ ...Ie,
273
+ ...Le,
274
274
  ...We,
275
- ...Z,
275
+ ...X,
276
276
  ...Ue,
277
277
  ...$,
278
- ...Ve,
278
+ ...Q,
279
279
  ...He,
280
- ...Ie
280
+ ...Y
281
281
  }), {
282
- ...Pe,
283
- ...Fe,
282
+ ...Ie,
283
+ ...Le,
284
284
  ...Ge,
285
285
  ...We,
286
- ...Z,
286
+ ...X,
287
287
  ...Ue,
288
288
  ...$,
289
- ...Ve,
290
- ...Ie,
291
- ...Q
289
+ ...Q,
290
+ ...Y,
291
+ ...Re
292
292
  }, {
293
- ...Z,
293
+ ...X,
294
+ ...Q,
294
295
  ...Ve,
295
- ...Be,
296
- ...Re,
297
296
  ...ze,
298
- ...Ne
299
- }, Ae.button, G.button;
297
+ ...Be,
298
+ ...Fe
299
+ }, Ne.button, H.button;
300
300
  var it = {
301
301
  storageType: {
302
302
  type: String,
303
- default: V.local,
304
- validator: (e) => Object.values(V).includes(e)
303
+ default: R.local,
304
+ validator: (e) => Object.values(R).includes(e)
305
305
  },
306
306
  storageKey: String
307
307
  }, at = {
@@ -340,7 +340,7 @@ var it = {
340
340
  },
341
341
  iconRemoveSuggestion: {
342
342
  type: [String, Object],
343
- default: B.remove
343
+ default: Ae.remove
344
344
  },
345
345
  labelRemoveSuggestion: {
346
346
  type: String,
@@ -358,7 +358,7 @@ var it = {
358
358
  topLayer: $e.topLayer
359
359
  };
360
360
  function lt(e) {
361
- return ((e) => e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0)(A(e));
361
+ return ((e) => e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0)(k(e));
362
362
  }
363
363
  function ut(e) {
364
364
  return typeof e == "string";
@@ -367,19 +367,19 @@ function dt(e) {
367
367
  return Array.isArray(e) ? e.filter((e) => ut(e)).join(" ") : e;
368
368
  }
369
369
  function ft(e, t) {
370
- let r = S(() => D(e) ? e.value : e), i = S(() => dt(r.value.invalidLabel)), a = S(() => dt(r.value.validLabel)), o = S(() => r.value.loadingLabel), s = S(() => r.value.hintLabel), c = S(() => !!(r.value.loading && (t.loading || o.value))), l = S(() => !c.value && !!(r.value.invalid && (t.invalid || i.value))), u = S(() => !c.value && !l.value && !!(r.value.valid && (t.valid || a.value))), d = S(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = S(() => l.value || u.value || c.value || d.value);
370
+ let r = x(() => E(e) ? e.value : e), i = x(() => dt(r.value.invalidLabel)), a = x(() => dt(r.value.validLabel)), o = x(() => r.value.loadingLabel), s = x(() => r.value.hintLabel), c = x(() => !!(r.value.loading && (t.loading || o.value))), l = x(() => !c.value && !!(r.value.invalid && (t.invalid || i.value))), u = x(() => !c.value && !l.value && !!(r.value.valid && (t.valid || a.value))), d = x(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = x(() => l.value || u.value || c.value || d.value);
371
371
  return {
372
372
  hasInvalidLabelOrSlot: l,
373
373
  hasHintLabelOrSlot: d,
374
374
  hasValidLabelOrSlot: u,
375
375
  hasLoadingLabelOrSlot: c,
376
- hintSlotScope: S(() => ({
376
+ hintSlotScope: x(() => ({
377
377
  modelValue: r.value.modelValue,
378
378
  valid: r.value.valid,
379
379
  invalid: r.value.invalid,
380
380
  loading: r.value.loading
381
381
  })),
382
- HintSlot: k({
382
+ HintSlot: O({
383
383
  name: "HintSlot",
384
384
  props: { tag: {
385
385
  type: String,
@@ -422,15 +422,15 @@ var pt = {
422
422
  },
423
423
  role: {
424
424
  type: String,
425
- default: q.menu,
426
- validator: (e) => Object.values(q).includes(e)
425
+ default: U.menu,
426
+ validator: (e) => Object.values(U).includes(e)
427
427
  }
428
428
  }, mt = { focusOnHover: {
429
429
  type: Boolean,
430
430
  default: !1
431
431
  } }, ht = {
432
+ ...X,
432
433
  ...Z,
433
- ...Le,
434
434
  ...Ze,
435
435
  ...$,
436
436
  deselectHintLabel: { type: String },
@@ -442,11 +442,11 @@ var pt = {
442
442
  }
443
443
  };
444
444
  function gt(e) {
445
- let t = ue();
446
- return S(() => String(e?.value || t));
445
+ let t = de();
446
+ return x(() => String(e?.value || t));
447
447
  }
448
448
  function _t(e, t) {
449
- let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = S(() => n && h(t)), i = S(() => r.value ? "manual" : void 0);
449
+ let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = x(() => n && h(t)), i = x(() => r.value ? "manual" : void 0);
450
450
  function a() {
451
451
  return (n && e.value?.matches(":popover-open")) ?? !1;
452
452
  }
@@ -468,13 +468,13 @@ function _t(e, t) {
468
468
  };
469
469
  }
470
470
  function vt({ reference: e, id: r, expanded: i, aria: a }) {
471
- let o = Se();
471
+ let o = L();
472
472
  return {
473
473
  bus: o,
474
- component: k({
474
+ component: O({
475
475
  name: "VvDropdownTriggerProvider",
476
476
  setup() {
477
- t(je, {
477
+ t(K, {
478
478
  reference: e,
479
479
  id: r,
480
480
  expanded: i,
@@ -483,31 +483,31 @@ function vt({ reference: e, id: r, expanded: i, aria: a }) {
483
483
  });
484
484
  },
485
485
  render() {
486
- return n(ae, {}, this.$slots.default?.());
486
+ return n(oe, {}, this.$slots.default?.());
487
487
  }
488
488
  })
489
489
  };
490
490
  }
491
491
  function yt({ role: e, ...n }) {
492
- let r = S(() => e.value === q.listbox ? J.option : J.presentation);
493
- return t(X, {
492
+ let r = x(() => e.value === U.listbox ? W.option : W.presentation);
493
+ return t(q, {
494
494
  role: r,
495
495
  ...n
496
496
  }), { itemRole: r };
497
497
  }
498
498
  function bt({ expanded: e }) {
499
- t(Me, {
500
- role: x(K.menuitem),
499
+ t(J, {
500
+ role: b(Pe.menuitem),
501
501
  expanded: e
502
502
  });
503
503
  }
504
504
  function xt(e, t, n) {
505
- return S(() => {
505
+ return x(() => {
506
506
  let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
507
507
  return i && Array.isArray(i) && i.forEach((t) => {
508
508
  t && (r[`${e}--${t}`] = !0);
509
509
  }), n && Object.keys(n.value).forEach((t) => {
510
- r[`${e}--${t}`] = A(n.value[t]);
510
+ r[`${e}--${t}`] = k(n.value[t]);
511
511
  }), r;
512
512
  });
513
513
  }
@@ -516,7 +516,7 @@ var St = ["popover"], Ct = [
516
516
  "tabindex",
517
517
  "role",
518
518
  "aria-labelledby"
519
- ], wt = /* @__PURE__ */ k({
519
+ ], wt = /* @__PURE__ */ O({
520
520
  name: "VvDropdown",
521
521
  inheritAttrs: !1,
522
522
  props: pt,
@@ -538,164 +538,175 @@ var St = ["popover"], Ct = [
538
538
  "leaveCancelled"
539
539
  ],
540
540
  setup(e, { expose: t, emit: n }) {
541
- let d = e, h = n, { id: g } = M(d), te = gt(g), ne = l(), _ = x(), v = x(), re = x(), y = x(), C = S({
541
+ let d = e, h = n, { id: g } = me(d), te = gt(g), ne = l(), _ = b(), v = b(), re = b(), ie = b(), S = x({
542
542
  get: () => d.reference ?? _.value,
543
543
  set: (e) => {
544
544
  _.value = e;
545
545
  }
546
- }), { isTopLayer: w, popover: ce, show: le, hide: ue } = _t(v, () => d.topLayer), T = S(() => w.value ? H.fixed : d.strategy), D = x(!1);
546
+ }), { isTopLayer: C, popover: le, show: ue, hide: de } = _t(v, () => d.topLayer), w = x(() => C.value ? z.fixed : d.strategy), E = b(!1);
547
547
  u(() => {
548
- ve(v.value, () => {
549
- D.value = globalThis.getComputedStyle(v.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
548
+ be(v.value, () => {
549
+ E.value = globalThis.getComputedStyle(v.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
550
550
  }, {
551
551
  attributeFilter: ["style"],
552
552
  window: globalThis.window
553
553
  });
554
554
  });
555
- function k(e, t, n) {
555
+ function O(e, t, n) {
556
556
  return typeof e == "boolean" ? t() : n(e);
557
557
  }
558
- function j(e) {
558
+ function pe(e) {
559
559
  return !e.width && !e.height;
560
560
  }
561
- let fe = {
561
+ let M = {
562
562
  name: "uncap",
563
563
  fn({ elements: e, rects: t, middlewareData: n }) {
564
564
  let { style: r } = e.floating, i = t.floating.height >= Number.parseFloat(r.maxHeight) - 1 || t.floating.width >= Number.parseFloat(r.maxWidth) - 1;
565
- return n.uncap || !i || j(t.floating) ? {} : (r.maxHeight = "", r.maxWidth = "", {
565
+ return n.uncap || !i || pe(t.floating) ? {} : (r.maxHeight = "", r.maxWidth = "", {
566
566
  data: { uncapped: !0 },
567
567
  reset: { rects: !0 }
568
568
  });
569
569
  }
570
- }, pe = S(() => {
570
+ };
571
+ function he(e) {
572
+ return d.triggerWidth && !E.value ? e.reference.width : 0;
573
+ }
574
+ let ge = {
575
+ name: "triggerWidth",
576
+ fn({ elements: e, rects: t, middlewareData: n }) {
577
+ let { style: r } = e.floating, i = he(t), a = Number.parseFloat(r.width) || 0;
578
+ return n.triggerWidth || Math.abs(i - a) < .01 ? {} : (r.width = i ? `${i}px` : "", { reset: { rects: !0 } });
579
+ }
580
+ }, ye = x(() => {
571
581
  let e = [];
572
- d.size && e.push(fe), d.offset && e.push(["string", "number"].includes(typeof d.offset) ? we(Number(d.offset)) : we(d.offset));
582
+ d.triggerWidth && e.push(ge), d.size && e.push(M), d.offset && e.push(["string", "number"].includes(typeof d.offset) ? Ee(Number(d.offset)) : Ee(d.offset));
573
583
  let t = typeof d.size == "object" ? d.size.padding : void 0;
574
- if (d.autoPlacement ? e.push(k(d.autoPlacement, () => Te(), (e) => Te(e))) : d.flip && e.push(k(d.flip, () => be({
584
+ if (d.autoPlacement ? e.push(O(d.autoPlacement, () => De(), (e) => De(e))) : d.flip && e.push(O(d.flip, () => Ce({
575
585
  fallbackStrategy: "initialPlacement",
576
586
  padding: t
577
- }), (e) => be({
587
+ }), (e) => Ce({
578
588
  padding: t,
579
589
  ...e
580
- }))), d.shift && e.push(k(d.shift, () => Ee(), (e) => Ee(e))), d.size) {
590
+ }))), d.shift && e.push(O(d.shift, () => Oe(), (e) => Oe(e))), d.size) {
581
591
  let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
582
- if (j(r.floating) || D.value) return;
592
+ if (pe(r.floating) || E.value) return;
583
593
  let { style: i } = n.floating;
584
- i.maxWidth = d.triggerWidth && C.value ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
594
+ i.maxWidth = he(r) ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
585
595
  };
586
- e.push(k(d.size, () => z({ apply: t }), (e) => z({
596
+ e.push(O(d.size, () => I({ apply: t }), (e) => I({
587
597
  ...e,
588
598
  apply: (n) => (t(n), e?.apply?.(n))
589
599
  })));
590
600
  }
591
- return d.arrow && e.push(De({ element: re })), e;
592
- }), { x: me, y: _e, middlewareData: L, placement: R, strategy: Se, update: B } = Ce(C, v, {
593
- placement: S(() => d.placement),
594
- strategy: T,
595
- middleware: pe
596
- }), Oe = S(() => {
597
- if (D.value) return;
598
- let e = d.triggerWidth && C.value ? `${C.value?.offsetWidth}px` : void 0;
599
- return {
600
- position: Se.value,
601
- top: `${_e.value ?? 0}px`,
602
- left: `${me.value ?? 0}px`,
603
- width: e
601
+ return d.arrow && e.push(ke({ element: re })), e;
602
+ }), { x: Se, y: F, middlewareData: L, placement: Ae, strategy: je, update: R } = Te(S, v, {
603
+ placement: x(() => d.placement),
604
+ strategy: w,
605
+ middleware: ye
606
+ }), Me = x(() => {
607
+ if (!E.value) return {
608
+ position: je.value,
609
+ top: `${F.value ?? 0}px`,
610
+ left: `${Se.value ?? 0}px`
604
611
  };
605
- }), V = S(() => R.value.split("-")[0]), ke = S(() => {
606
- if (D.value) return;
612
+ });
613
+ m(() => d.triggerWidth, (e) => {
614
+ !e && v.value && (v.value.style.width = "");
615
+ });
616
+ let V = x(() => Ae.value.split("-")[0]), Ne = x(() => {
617
+ if (E.value) return;
607
618
  let e = {
608
- [U.top]: U.bottom,
609
- [U.right]: U.left,
610
- [U.bottom]: U.top,
611
- [U.left]: U.right
619
+ [B.top]: B.bottom,
620
+ [B.right]: B.left,
621
+ [B.bottom]: B.top,
622
+ [B.left]: B.right
612
623
  }[V.value];
613
624
  return {
614
625
  left: L.value.arrow?.x === void 0 ? void 0 : `${L.value.arrow?.x}px`,
615
626
  top: L.value.arrow?.y === void 0 ? void 0 : `${L.value.arrow?.y}px`,
616
627
  [e]: `${-(re.value?.offsetWidth ?? 0) / 2}px`
617
628
  };
618
- }), W = he(d, "modelValue", h), Ae = x(!1), G = S({
619
- get: () => W.value ?? Ae.value,
629
+ }), H = _e(d, "modelValue", h), Pe = b(!1), U = x({
630
+ get: () => H.value ?? Pe.value,
620
631
  set: (e) => {
621
- W.value === void 0 ? Ae.value = e : W.value = e;
632
+ H.value === void 0 ? Pe.value = e : H.value = e;
622
633
  }
623
634
  });
624
635
  m([
625
- G,
626
- C,
636
+ U,
637
+ S,
627
638
  v,
628
- T
639
+ w
629
640
  ], ([e, t, n, r], i, a) => {
630
- e && t && n && a(xe(t, n, B, { animationFrame: r === H.fixed }));
641
+ e && t && n && a(we(t, n, R, { animationFrame: r === z.fixed }));
631
642
  }, {
632
643
  flush: "post",
633
644
  immediate: !0
634
- }), ve(y, () => {
635
- G.value && B();
645
+ }), be(ie, () => {
646
+ U.value && R();
636
647
  }, {
637
648
  childList: !0,
638
649
  subtree: !0,
639
650
  characterData: !0
640
- }), ie(() => {
641
- G.value && le();
651
+ }), ae(() => {
652
+ U.value && ue();
642
653
  });
643
- function K() {
644
- G.value = !0;
654
+ function W() {
655
+ U.value = !0;
645
656
  }
646
- function q() {
647
- G.value = !1;
657
+ function G() {
658
+ U.value = !1;
648
659
  }
649
- function J() {
650
- G.value = !G.value;
660
+ function K() {
661
+ U.value = !U.value;
651
662
  }
652
- function Y(e) {
653
- C.value = e;
663
+ function q(e) {
664
+ S.value = e;
654
665
  }
655
- ye(v, () => {
656
- !d.keepOpen && G.value && (G.value = !1);
657
- }, { ignore: [C] });
658
- let je = S(() => C.value?.getAttribute?.("id") ?? void 0), X = S(() => ({
666
+ xe(v, () => {
667
+ !d.keepOpen && U.value && (U.value = !1);
668
+ }, { ignore: [S] });
669
+ let J = x(() => S.value?.getAttribute?.("id") ?? void 0), Fe = x(() => ({
659
670
  "aria-controls": te.value,
660
671
  "aria-haspopup": !0,
661
- "aria-expanded": G.value
662
- })), { component: Me, bus: Ne } = vt({
663
- reference: C,
672
+ "aria-expanded": U.value
673
+ })), { component: Ie, bus: Le } = vt({
674
+ reference: S,
664
675
  id: te,
665
- expanded: G,
666
- aria: X
676
+ expanded: U,
677
+ aria: Fe
667
678
  });
668
- Ne.on("click", J);
669
- let { role: Pe, modifiers: Fe } = M(d), Ie = xt("vv-dropdown", Fe, S(() => ({ arrow: d.arrow }))), { focused: Z } = F(v);
670
- function Q(e) {
679
+ Le.on("click", K);
680
+ let { role: Y, modifiers: X } = me(d), Re = xt("vv-dropdown", X, x(() => ({ arrow: d.arrow }))), { focused: Z } = N(v);
681
+ function ze(e) {
671
682
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
672
683
  }
673
- function Le() {
684
+ function Be() {
674
685
  o(() => {
675
- let e = Q(v.value);
686
+ let e = ze(v.value);
676
687
  e.length > 0 && e[0].focus({ preventScroll: !0 });
677
688
  });
678
689
  }
679
- function Re() {
690
+ function Ve() {
680
691
  o(() => {
681
- let e = Q(y.value);
692
+ let e = ze(ie.value);
682
693
  e.length > 0 && e[0].focus({ preventScroll: !0 });
683
694
  });
684
695
  }
685
- function ze() {
696
+ function Q() {
686
697
  o(() => {
687
698
  if (Z.value) {
688
- let e = Q(v.value);
699
+ let e = ze(v.value);
689
700
  if (e.length === 0 || !document.activeElement) return;
690
701
  let t = e.indexOf(document.activeElement);
691
702
  t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
692
703
  }
693
704
  });
694
705
  }
695
- function Be() {
706
+ function He() {
696
707
  o(() => {
697
708
  if (Z.value) {
698
- let e = Q(v.value);
709
+ let e = ze(v.value);
699
710
  if (e.length === 0 || !document.activeElement) return;
700
711
  let t = e.indexOf(document.activeElement);
701
712
  if (t > 0) {
@@ -706,41 +717,41 @@ var St = ["popover"], Ct = [
706
717
  }
707
718
  });
708
719
  }
709
- m(G, (e) => {
710
- e && d.autofocusFirst && Le();
720
+ m(U, (e) => {
721
+ e && d.autofocusFirst && Be();
711
722
  }), t({
712
- toggle: J,
713
- show: K,
714
- hide: q,
715
- init: Y,
716
- focusFirst: Le,
717
- focusFirstListElement: Re,
718
- focusNext: ze,
719
- focusPrev: Be,
720
- customPosition: D
723
+ toggle: K,
724
+ show: W,
725
+ hide: G,
726
+ init: q,
727
+ focusFirst: Be,
728
+ focusFirstListElement: Ve,
729
+ focusNext: Q,
730
+ focusPrev: He,
731
+ customPosition: E
721
732
  });
722
- let { itemRole: Ve } = yt({
723
- role: Pe,
724
- expanded: G,
733
+ let { itemRole: Ue } = yt({
734
+ role: Y,
735
+ expanded: U,
725
736
  focused: Z,
726
- hovered: ge(v)
737
+ hovered: ve(v)
727
738
  });
728
- I("Escape", (e) => {
729
- G.value && (e.preventDefault(), q());
730
- }), I("ArrowDown", (e) => {
731
- G.value && Z.value && (e.preventDefault(), ze());
732
- }), I("ArrowUp", (e) => {
733
- G.value && Z.value && (e.preventDefault(), Be());
734
- }), I([" ", "Enter"], (e) => {
739
+ P("Escape", (e) => {
740
+ U.value && (e.preventDefault(), G());
741
+ }), P("ArrowDown", (e) => {
742
+ U.value && Z.value && (e.preventDefault(), Q());
743
+ }), P("ArrowUp", (e) => {
744
+ U.value && Z.value && (e.preventDefault(), He());
745
+ }), P([" ", "Enter"], (e) => {
735
746
  let t = e.target;
736
- G.value && Z.value && t && t?.click();
747
+ U.value && Z.value && t && t?.click();
737
748
  });
738
- let He = {
749
+ let $ = {
739
750
  "before-enter": () => {
740
751
  h("beforeExpand"), h("beforeEnter");
741
752
  },
742
753
  "after-leave": () => {
743
- G.value || ue(), h("afterCollapse"), h("afterLeave");
754
+ U.value || de(), h("afterCollapse"), h("afterLeave");
744
755
  },
745
756
  enter: () => {
746
757
  h("enter");
@@ -761,105 +772,105 @@ var St = ["popover"], Ct = [
761
772
  h("leaveCancelled");
762
773
  }
763
774
  };
764
- return (e, t) => (P(), N(ae, null, [ee(A(Me), null, {
765
- default: E(() => [c(e.$slots, "default", r(i({
766
- init: Y,
767
- show: K,
768
- hide: q,
769
- toggle: J,
770
- expanded: A(G),
771
- aria: A(X)
775
+ return (e, t) => (j(), A(oe, null, [ee(k(Ie), null, {
776
+ default: T(() => [c(e.$slots, "default", r(i({
777
+ init: q,
778
+ show: W,
779
+ hide: G,
780
+ toggle: K,
781
+ expanded: k(U),
782
+ aria: k(Fe)
772
783
  })))]),
773
784
  _: 3
774
- }), ee(de, p({ name: e.transitionName }, s(He), { persisted: "" }), {
775
- default: E(() => [se(b("div", {
785
+ }), ee(fe, p({ name: e.transitionName }, s($), { persisted: "" }), {
786
+ default: T(() => [ce(y("div", {
776
787
  ref_key: "floatingEl",
777
788
  ref: v,
778
- popover: A(ce),
779
- style: f(A(Oe)),
780
- class: a(A(Ie))
789
+ popover: k(le),
790
+ style: f(k(Me)),
791
+ class: a(k(Re))
781
792
  }, [
782
- d.arrow ? (P(), N("div", {
793
+ d.arrow ? (j(), A("div", {
783
794
  key: 0,
784
795
  ref_key: "arrowEl",
785
796
  ref: re,
786
- style: f(A(ke)),
797
+ style: f(k(Ne)),
787
798
  class: "vv-dropdown__arrow"
788
- }, null, 4)) : O("v-if", !0),
799
+ }, null, 4)) : D("v-if", !0),
789
800
  c(e.$slots, "before", r(i({
790
- show: K,
791
- hide: q,
792
- toggle: J,
793
- expanded: A(G)
801
+ show: W,
802
+ hide: G,
803
+ toggle: K,
804
+ expanded: k(U)
794
805
  }))),
795
- b("div", p(A(ne), {
796
- id: A(te),
806
+ y("div", p(k(ne), {
807
+ id: k(te),
797
808
  ref_key: "listEl",
798
- ref: y,
799
- tabindex: A(G) ? void 0 : -1,
800
- role: A(Pe),
801
- "aria-labelledby": A(je),
809
+ ref: ie,
810
+ tabindex: k(U) ? void 0 : -1,
811
+ role: k(Y),
812
+ "aria-labelledby": k(J),
802
813
  class: "vv-dropdown__list"
803
814
  }), [c(e.$slots, "items", r(i({
804
- show: K,
805
- hide: q,
806
- toggle: J,
807
- expanded: A(G),
808
- role: A(Ve)
815
+ show: W,
816
+ hide: G,
817
+ toggle: K,
818
+ expanded: k(U),
819
+ role: k(Ue)
809
820
  })))], 16, Ct),
810
821
  c(e.$slots, "after", r(i({
811
- show: K,
812
- hide: q,
813
- toggle: J,
814
- expanded: A(G)
822
+ show: W,
823
+ hide: G,
824
+ toggle: K,
825
+ expanded: k(U)
815
826
  })))
816
- ], 14, St), [[oe, A(G)]])]),
827
+ ], 14, St), [[se, k(U)]])]),
817
828
  _: 3
818
829
  }, 16, ["name"])], 64));
819
830
  }
820
831
  });
821
832
  function Tt() {
822
- return e(X, {});
833
+ return e(q, {});
823
834
  }
824
- var Et = /* @__PURE__ */ k({
835
+ var Et = /* @__PURE__ */ O({
825
836
  name: "VvDropdownItem",
826
837
  props: mt,
827
838
  setup(e) {
828
- let t = e, { role: n, expanded: r } = Tt(), i = x(null);
839
+ let t = e, { role: n, expanded: r } = Tt(), i = b(null);
829
840
  bt({ expanded: r });
830
- let a = ge(i), { focused: o } = _e(i), { focused: s } = F(i);
841
+ let a = ve(i), { focused: o } = ye(i), { focused: s } = N(i);
831
842
  return m(a, (e) => {
832
843
  e && t.focusOnHover && (o.value = !0);
833
- }), (e, t) => (P(), N("div", p({ role: A(n) }, {
844
+ }), (e, t) => (j(), A("div", p({ role: k(n) }, {
834
845
  ref_key: "element",
835
846
  ref: i,
836
- class: ["vv-dropdown__item", { "focus-visible": A(o) || A(s) }]
847
+ class: ["vv-dropdown__item", { "focus-visible": k(o) || k(s) }]
837
848
  }), [c(e.$slots, "default")], 16));
838
849
  }
839
- }), Dt = ["title"], Ot = /* @__PURE__ */ k({
850
+ }), Dt = ["title"], Ot = /* @__PURE__ */ O({
840
851
  name: "VvDropdownOption",
841
852
  props: ht,
842
853
  setup(e) {
843
- let t = e, { modifiers: n } = M(t), o = xt("vv-dropdown-option", n, S(() => ({
854
+ let t = e, { modifiers: n } = me(t), o = xt("vv-dropdown-option", n, x(() => ({
844
855
  disabled: t.disabled,
845
856
  selected: t.selected,
846
857
  unselectable: t.unselectable && t.selected
847
- }))), s = S(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
848
- return (e, t) => (P(), _(Et, {
849
- class: a(A(o)),
858
+ }))), s = x(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
859
+ return (e, t) => (j(), _(Et, {
860
+ class: a(k(o)),
850
861
  tabindex: e.disabled ? -1 : 0,
851
862
  "aria-selected": e.selected,
852
863
  "aria-disabled": e.disabled,
853
864
  "focus-on-hover": e.focusOnHover
854
865
  }, {
855
- default: E(() => [c(e.$slots, "default"), b("span", {
866
+ default: T(() => [c(e.$slots, "default"), y("span", {
856
867
  class: "vv-dropdown-option__hint",
857
- title: A(s)
868
+ title: k(s)
858
869
  }, [c(e.$slots, "hint", r(i({
859
870
  disabled: e.disabled,
860
871
  selected: e.selected,
861
872
  unselectable: e.unselectable
862
- })), () => [j(w(A(s)), 1)])], 8, Dt)]),
873
+ })), () => [pe(C(k(s)), 1)])], 8, Dt)]),
863
874
  _: 3
864
875
  }, 8, [
865
876
  "class",
@@ -871,9 +882,9 @@ var Et = /* @__PURE__ */ k({
871
882
  }
872
883
  });
873
884
  function kt() {
874
- return e(Y, void 0);
885
+ return e(G, void 0);
875
886
  }
876
- var At = /* @__PURE__ */ k({
887
+ var At = /* @__PURE__ */ O({
877
888
  name: "VvIcon",
878
889
  props: /* @__PURE__ */ d({
879
890
  name: {},
@@ -892,14 +903,14 @@ var At = /* @__PURE__ */ k({
892
903
  onLoad: { type: Function },
893
904
  svg: {},
894
905
  modifiers: {}
895
- }, Oe),
906
+ }, je),
896
907
  setup(e) {
897
- let t = e, n = S(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = x(!0), i = kt(), { modifiers: a } = M(t), o = xt("vv-icon", a), s = S(() => t.provider || i?.iconsProvider), c = S(() => {
908
+ let t = e, n = x(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = b(!0), i = kt(), { modifiers: a } = me(t), o = xt("vv-icon", a), s = x(() => t.provider || i?.iconsProvider), c = x(() => {
898
909
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
899
- if (fe(n)) return n;
910
+ if (M(n)) return n;
900
911
  let r = i?.iconsCollections.find((t) => {
901
912
  let n = `@${s.value}:${t.prefix}:${e}`;
902
- return fe(n);
913
+ return M(n);
903
914
  });
904
915
  return r ? `@${s.value}:${r.prefix}:${e}` : e;
905
916
  });
@@ -908,19 +919,19 @@ var At = /* @__PURE__ */ k({
908
919
  }
909
920
  function u(e) {
910
921
  let n = l(e), r = n?.innerHTML.trim() || "";
911
- n && r && pe(`@${s.value}:${t.prefix}:${t.name}`, {
922
+ n && r && he(`@${s.value}:${t.prefix}:${t.name}`, {
912
923
  body: r,
913
924
  height: n.viewBox.baseVal.height,
914
925
  width: n.viewBox.baseVal.width
915
926
  });
916
927
  }
917
- return i && t.src && !fe(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
928
+ return i && t.src && !M(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
918
929
  e && u(e), r.value = !0;
919
930
  }).catch((e) => {
920
931
  throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
921
- })), t.svg && u(t.svg), (t, i) => A(r) ? (P(), _(A(me), p({
932
+ })), t.svg && u(t.svg), (t, i) => k(r) ? (j(), _(k(ge), p({
922
933
  key: 0,
923
- class: A(o)
934
+ class: k(o)
924
935
  }, {
925
936
  inline: e.inline,
926
937
  width: e.width,
@@ -928,10 +939,10 @@ var At = /* @__PURE__ */ k({
928
939
  horizontalFlip: e.horizontalFlip,
929
940
  verticalFlip: e.verticalFlip,
930
941
  flip: e.flip,
931
- rotate: A(n),
942
+ rotate: k(n),
932
943
  color: e.color,
933
- icon: A(c)
934
- }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : O("v-if", !0);
944
+ icon: k(c)
945
+ }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : D("v-if", !0);
935
946
  }
936
947
  });
937
948
  function jt(e, t, n) {
@@ -947,10 +958,10 @@ function jt(e, t, n) {
947
958
  return r;
948
959
  }
949
960
  function Mt(e, t, n) {
950
- let r = kt(), i = S(() => {
961
+ let r = kt(), i = x(() => {
951
962
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
952
963
  });
953
- return S(() => {
964
+ return x(() => {
954
965
  if (i.value === void 0) return n;
955
966
  let e = i.value, r = t, a = n;
956
967
  return Object.keys(r).reduce((t, n) => {
@@ -960,7 +971,7 @@ function Mt(e, t, n) {
960
971
  });
961
972
  }
962
973
  function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
963
- let a, o, s = S(() => {
974
+ let a, o, s = x(() => {
964
975
  let e = h(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
965
976
  return Number.isNaN(t) ? 0 : t;
966
977
  });
@@ -972,8 +983,8 @@ function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
972
983
  let e = i(o.value);
973
984
  return c(), t("update:modelValue", e), e;
974
985
  }
975
- return le(c), {
976
- model: S({
986
+ return ue(c), {
987
+ model: x({
977
988
  get: () => r(e?.value),
978
989
  set: (e) => {
979
990
  s.value <= 0 ? (c(), t("update:modelValue", i(e))) : (o = { value: e }, a && clearTimeout(a), a = setTimeout(l, s.value));
@@ -984,46 +995,46 @@ function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
984
995
  };
985
996
  }
986
997
  function Pt(e, t) {
987
- let n = S(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = S(() => t?.value === W.before ? n.value : void 0), i = S(() => t?.value === W.after ? n.value : void 0);
998
+ let n = x(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = x(() => t?.value === V.before ? n.value : void 0), i = x(() => t?.value === V.after ? n.value : void 0);
988
999
  return {
989
1000
  hasIcon: n,
990
- hasIconLeft: S(() => t?.value === U.left ? n.value : void 0),
991
- hasIconRight: S(() => t?.value === U.right ? n.value : void 0),
992
- hasIconTop: S(() => t?.value === U.top ? n.value : void 0),
993
- hasIconBottom: S(() => t?.value === U.bottom ? n.value : void 0),
1001
+ hasIconLeft: x(() => t?.value === B.left ? n.value : void 0),
1002
+ hasIconRight: x(() => t?.value === B.right ? n.value : void 0),
1003
+ hasIconTop: x(() => t?.value === B.top ? n.value : void 0),
1004
+ hasIconBottom: x(() => t?.value === B.bottom ? n.value : void 0),
994
1005
  hasIconBefore: r,
995
1006
  hasIconAfter: i
996
1007
  };
997
1008
  }
998
1009
  function Ft(e, t) {
999
- let { focused: n } = _e(e);
1010
+ let { focused: n } = ye(e);
1000
1011
  return m(n, (n) => {
1001
- t(n ? "focus" : "blur", A(e));
1012
+ t(n ? "focus" : "blur", k(e));
1002
1013
  }), { focused: n };
1003
1014
  }
1004
1015
  function It(e, t) {
1005
- let n = S(() => (A(e) ?? "").length), r = S(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit === void 0 ? 0 : t.upperLimit - n.value);
1016
+ let n = x(() => (k(e) ?? "").length), r = x(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit === void 0 ? 0 : t.upperLimit - n.value);
1006
1017
  return {
1007
1018
  length: n,
1008
1019
  gap: r,
1009
- formatted: S(() => t?.mode === !1 ? "" : t?.mode === "limit" && t?.upperLimit ? `${n.value} / ${t.lowerLimit ? `${t.lowerLimit}-` : ""}${t.upperLimit}` : t?.mode === "countdown" ? r.value === 0 ? void 0 : r.value : n.value)
1020
+ formatted: x(() => t?.mode === !1 ? "" : t?.mode === "limit" && t?.upperLimit ? `${n.value} / ${t.lowerLimit ? `${t.lowerLimit}-` : ""}${t.upperLimit}` : t?.mode === "countdown" ? r.value === 0 ? void 0 : r.value : n.value)
1010
1021
  };
1011
1022
  }
1012
- function Lt(e, t = V.local, n) {
1013
- let r = x();
1023
+ function Lt(e, t = R.local, n) {
1024
+ let r = b();
1014
1025
  n && (r.value = n);
1015
1026
  let i;
1016
1027
  return u(() => {
1017
1028
  e && m(e, (e, n) => {
1018
- let a = A(t) === V.session ? sessionStorage : localStorage;
1019
- n && n !== e && a.removeItem(n), e ? (i = R(e, i?.value ?? r.value, a), i.value && (r.value = i.value)) : i = void 0;
1020
- }, { immediate: !0 }), D(t) && m(t, (t, n) => {
1029
+ let a = k(t) === R.session ? sessionStorage : localStorage;
1030
+ n && n !== e && a.removeItem(n), e ? (i = F(e, i?.value ?? r.value, a), i.value && (r.value = i.value)) : i = void 0;
1031
+ }, { immediate: !0 }), E(t) && m(t, (t, n) => {
1021
1032
  if (e?.value) {
1022
1033
  if (t) {
1023
- let n = t === V.session ? sessionStorage : localStorage;
1024
- i = R(e.value, i?.value ?? r.value, n);
1034
+ let n = t === R.session ? sessionStorage : localStorage;
1035
+ i = F(e.value, i?.value ?? r.value, n);
1025
1036
  }
1026
- n && n !== t && (n === V.session ? sessionStorage : localStorage).removeItem(e.value);
1037
+ n && n !== t && (n === R.session ? sessionStorage : localStorage).removeItem(e.value);
1027
1038
  }
1028
1039
  });
1029
1040
  }), m(r, (e) => {
@@ -1042,57 +1053,57 @@ var Rt = ["for"], zt = {
1042
1053
  }, Ut = {
1043
1054
  key: 2,
1044
1055
  class: "vv-textarea__limit"
1045
- }, Wt = { class: "flex-1" }, Gt = ["title", "onClick"], Kt = /* @__PURE__ */ k({
1056
+ }, Wt = { class: "flex-1" }, Gt = ["title", "onClick"], Kt = /* @__PURE__ */ O({
1046
1057
  name: "VvTextarea",
1047
1058
  props: ct,
1048
1059
  emits: st,
1049
1060
  setup(e, { expose: t, emit: n }) {
1050
- let o = e, s = n, l = ne(), u = kt(), d = Mt("VvTextarea", ct, o), f = x(), h = x(), g = x(), { id: ie, icon: C, iconPosition: oe, iconRemoveSuggestion: ce, labelRemoveSuggestion: le, label: ue, modelValue: T, count: de, valid: k, invalid: fe, loading: pe, modifiers: me, debounce: he, minlength: ge, maxlength: _e, storageType: ve } = M(o), ye = gt(ie), F = S(() => `${ye.value}-hint`), I = S(() => o.floating && lt(o.placeholder) ? " " : o.placeholder), { model: R, flush: be } = Nt(T, s, he);
1051
- t({ flush: be });
1052
- let { hasIconBefore: z, hasIconAfter: xe } = Pt(C, oe), { hasIcon: Se } = Pt(ce), { focused: Ce } = Ft(f, s), we = S(() => Ce.value && !o.disabled && !o.readonly);
1053
- m(we, (e) => {
1054
- let t = R.value;
1055
- if (e || (t = be() ?? t), e && d.value.selectOnFocus && f.value && f.value.select(), e && U.value?.size) g.value?.show();
1056
- else if (U.value && !lt(t)) {
1061
+ let o = e, s = n, l = ne(), u = kt(), d = Mt("VvTextarea", ct, o), f = b(), h = b(), g = b(), { id: ae, icon: S, iconPosition: se, iconRemoveSuggestion: le, labelRemoveSuggestion: ue, label: de, modelValue: w, count: fe, valid: O, invalid: M, loading: he, modifiers: ge, debounce: _e, minlength: ve, maxlength: ye, storageType: be } = me(o), xe = gt(ae), N = x(() => `${xe.value}-hint`), P = x(() => o.floating && lt(o.placeholder) ? " " : o.placeholder), { model: F, flush: Ce } = Nt(w, s, _e);
1062
+ t({ flush: Ce });
1063
+ let { hasIconBefore: I, hasIconAfter: we } = Pt(S, se), { hasIcon: L } = Pt(le), { focused: Te } = Ft(f, s), Ee = x(() => Te.value && !o.disabled && !o.readonly);
1064
+ m(Ee, (e) => {
1065
+ let t = F.value;
1066
+ if (e || (t = Ce() ?? t), e && d.value.selectOnFocus && f.value && f.value.select(), e && B.value?.size) g.value?.show();
1067
+ else if (B.value && !lt(t)) {
1057
1068
  let e = o.maxSuggestions;
1058
- U.value.size >= e && !U.value.has(t) && (U.value = new Set([...U.value].slice(U.value.size - e + 1))), U.value.add(t);
1069
+ B.value.size >= e && !B.value.has(t) && (B.value = new Set([...B.value].slice(B.value.size - e + 1))), B.value.add(t);
1059
1070
  }
1060
1071
  });
1061
- let Te = L(f);
1062
- m(Te, (e) => {
1063
- e && o.autofocus && (Ce.value = !0);
1072
+ let De = Se(f);
1073
+ m(De, (e) => {
1074
+ e && o.autofocus && (Te.value = !0);
1064
1075
  });
1065
- let { formatted: Ee } = It(R, {
1066
- mode: de?.value,
1067
- upperLimit: Number(_e?.value),
1068
- lowerLimit: Number(ge?.value)
1069
- }), De = S(() => !o.disabled && !o.readonly), B = S(() => De.value ? o.tabindex : -1), Oe = S(() => !lt(T)), V = S(() => {
1076
+ let { formatted: Oe } = It(F, {
1077
+ mode: fe?.value,
1078
+ upperLimit: Number(ye?.value),
1079
+ lowerLimit: Number(ve?.value)
1080
+ }), ke = x(() => !o.disabled && !o.readonly), Ae = x(() => ke.value ? o.tabindex : -1), je = x(() => !lt(w)), R = x(() => {
1070
1081
  if (o.invalid === !0) return !0;
1071
1082
  if (o.valid === !0) return !1;
1072
- }), H = S(() => o.storageKey ?? (u?.experimentalFeatures.forceInputSuggestions ? o.name : void 0)), U = Lt(H, ve, /* @__PURE__ */ new Set()), ke = S(() => U.value ? [...U.value].filter((e) => lt(R.value) || `${e}`.toLowerCase().includes(`${R.value}`.toLowerCase()) && e !== R.value).reverse() : []), W = S(() => H?.value && U.value && U.value.size > 0);
1073
- function Ae(e) {
1074
- R.value = e, g.value?.hide(), s("suggestion:selected", e);
1083
+ }), z = x(() => o.storageKey ?? (u?.experimentalFeatures.forceInputSuggestions ? o.name : void 0)), B = Lt(z, be, /* @__PURE__ */ new Set()), Me = x(() => B.value ? [...B.value].filter((e) => lt(F.value) || `${e}`.toLowerCase().includes(`${F.value}`.toLowerCase()) && e !== F.value).reverse() : []), V = x(() => z?.value && B.value && B.value.size > 0);
1084
+ function Ne(e) {
1085
+ F.value = e, g.value?.hide(), s("suggestion:selected", e);
1075
1086
  }
1076
- function G(e) {
1077
- U.value?.delete(e), s("suggestion:removed", e);
1087
+ function H(e) {
1088
+ B.value?.delete(e), s("suggestion:removed", e);
1078
1089
  }
1079
- let { HintSlot: K, hasHintLabelOrSlot: q, hasInvalidLabelOrSlot: J, hintSlotScope: Y } = ft(d, l), je = xt("vv-textarea", me, S(() => ({
1080
- valid: k.value,
1081
- invalid: fe.value,
1082
- loading: pe.value,
1090
+ let { HintSlot: Pe, hasHintLabelOrSlot: U, hasInvalidLabelOrSlot: W, hintSlotScope: G } = ft(d, l), K = xt("vv-textarea", ge, x(() => ({
1091
+ valid: O.value,
1092
+ invalid: M.value,
1093
+ loading: he.value,
1083
1094
  disabled: o.disabled,
1084
1095
  readonly: o.readonly,
1085
1096
  required: o.required,
1086
- "icon-before": z.value !== void 0,
1087
- "icon-after": xe.value !== void 0,
1097
+ "icon-before": I.value !== void 0,
1098
+ "icon-after": we.value !== void 0,
1088
1099
  floating: o.floating && !lt(o.label),
1089
- dirty: Oe.value,
1090
- focus: Ce.value,
1100
+ dirty: je.value,
1101
+ focus: Te.value,
1091
1102
  resizable: o.resizable
1092
- }))), X = S(() => ({
1103
+ }))), q = x(() => ({
1093
1104
  name: o.name,
1094
- placeholder: I.value,
1095
- tabindex: B.value,
1105
+ placeholder: P.value,
1106
+ tabindex: Ae.value,
1096
1107
  disabled: o.disabled,
1097
1108
  readonly: o.readonly,
1098
1109
  required: o.required,
@@ -1105,99 +1116,99 @@ var Rt = ["for"], zt = {
1105
1116
  spellcheck: o.spellcheck,
1106
1117
  "aria-label": o.ariaLabel || void 0,
1107
1118
  "aria-labelledby": o.ariaLabelledby || void 0,
1108
- "aria-invalid": V.value,
1109
- "aria-describedby": [o.ariaDescribedby, q.value ? F.value : void 0].filter(Boolean).join(" ") || void 0,
1110
- "aria-errormessage": J.value ? F.value : void 0
1111
- })), Me = S(() => ({
1119
+ "aria-invalid": R.value,
1120
+ "aria-describedby": [o.ariaDescribedby, U.value ? N.value : void 0].filter(Boolean).join(" ") || void 0,
1121
+ "aria-errormessage": W.value ? N.value : void 0
1122
+ })), J = x(() => ({
1112
1123
  valid: o.valid,
1113
1124
  invalid: o.invalid,
1114
1125
  modelValue: o.modelValue,
1115
1126
  hintLabel: o.hintLabel,
1116
1127
  maxlength: o.maxlength,
1117
1128
  minlength: o.minlength,
1118
- clear: Ne
1129
+ clear: Fe
1119
1130
  }));
1120
- function Ne() {
1121
- R.value = void 0;
1131
+ function Fe() {
1132
+ F.value = void 0;
1122
1133
  }
1123
- return (e, t) => (P(), N("div", { class: a(A(je)) }, [
1124
- A(ue) ? (P(), N("label", {
1134
+ return (e, t) => (j(), A("div", { class: a(k(K)) }, [
1135
+ k(de) ? (j(), A("label", {
1125
1136
  key: 0,
1126
- for: A(ye),
1137
+ for: k(xe),
1127
1138
  class: "vv-textarea__label"
1128
- }, w(A(ue)), 9, Rt)) : O("v-if", !0),
1129
- b("div", {
1139
+ }, C(k(de)), 9, Rt)) : D("v-if", !0),
1140
+ y("div", {
1130
1141
  ref_key: "wrapperEl",
1131
1142
  ref: h,
1132
1143
  class: "vv-textarea__wrapper"
1133
1144
  }, [
1134
- e.$slots.before ? (P(), N("div", zt, [c(e.$slots, "before", r(i(A(Me))))])) : O("v-if", !0),
1135
- b("div", Bt, [
1136
- A(z) ? (P(), _(At, p({ key: 0 }, A(z), { class: "vv-textarea__icon" }), null, 16)) : O("v-if", !0),
1137
- se(b("textarea", p({
1138
- id: A(ye),
1145
+ e.$slots.before ? (j(), A("div", zt, [c(e.$slots, "before", r(i(k(J))))])) : D("v-if", !0),
1146
+ y("div", Bt, [
1147
+ k(I) ? (j(), _(At, p({ key: 0 }, k(I), { class: "vv-textarea__icon" }), null, 16)) : D("v-if", !0),
1148
+ ce(y("textarea", p({
1149
+ id: k(xe),
1139
1150
  ref_key: "textareaEl",
1140
1151
  ref: f,
1141
- "onUpdate:modelValue": t[0] ||= (e) => D(R) ? R.value = e : null
1142
- }, A(X), { onKeyup: t[1] ||= (e) => s("keyup", e) }), null, 16, Vt), [[re, A(R)]]),
1143
- A(xe) ? (P(), _(At, p({ key: 1 }, A(xe), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : O("v-if", !0)
1152
+ "onUpdate:modelValue": t[0] ||= (e) => E(F) ? F.value = e : null
1153
+ }, k(q), { onKeyup: t[1] ||= (e) => s("keyup", e) }), null, 16, Vt), [[re, k(F)]]),
1154
+ k(we) ? (j(), _(At, p({ key: 1 }, k(we), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : D("v-if", !0)
1144
1155
  ]),
1145
- e.$slots.after ? (P(), N("div", Ht, [c(e.$slots, "after", r(i(A(Me))))])) : O("v-if", !0),
1146
- A(de) ? (P(), N("span", Ut, [c(e.$slots, "count", r(i(A(Me))), () => [j(w(A(Ee)), 1)])])) : O("v-if", !0)
1156
+ e.$slots.after ? (j(), A("div", Ht, [c(e.$slots, "after", r(i(k(J))))])) : D("v-if", !0),
1157
+ k(fe) ? (j(), A("span", Ut, [c(e.$slots, "count", r(i(k(J))), () => [pe(C(k(Oe)), 1)])])) : D("v-if", !0)
1147
1158
  ], 512),
1148
- ee(A(K), {
1149
- id: A(F),
1159
+ ee(k(Pe), {
1160
+ id: k(N),
1150
1161
  class: "vv-textarea__hint"
1151
1162
  }, v({ _: 2 }, [
1152
1163
  e.$slots.hint ? {
1153
1164
  name: "hint",
1154
- fn: E(() => [c(e.$slots, "hint", r(i(A(Y))))]),
1165
+ fn: T(() => [c(e.$slots, "hint", r(i(k(G))))]),
1155
1166
  key: "0"
1156
1167
  } : void 0,
1157
1168
  e.$slots.loading ? {
1158
1169
  name: "loading",
1159
- fn: E(() => [c(e.$slots, "loading", r(i(A(Y))))]),
1170
+ fn: T(() => [c(e.$slots, "loading", r(i(k(G))))]),
1160
1171
  key: "1"
1161
1172
  } : void 0,
1162
1173
  e.$slots.valid ? {
1163
1174
  name: "valid",
1164
- fn: E(() => [c(e.$slots, "valid", r(i(A(Y))))]),
1175
+ fn: T(() => [c(e.$slots, "valid", r(i(k(G))))]),
1165
1176
  key: "2"
1166
1177
  } : void 0,
1167
1178
  e.$slots.invalid ? {
1168
1179
  name: "invalid",
1169
- fn: E(() => [c(e.$slots, "invalid", r(i(A(Y))))]),
1180
+ fn: T(() => [c(e.$slots, "invalid", r(i(k(G))))]),
1170
1181
  key: "3"
1171
1182
  } : void 0
1172
1183
  ]), 1032, ["id"]),
1173
- A(W) ? (P(), _(wt, {
1184
+ k(V) ? (j(), _(wt, {
1174
1185
  key: 1,
1175
1186
  ref_key: "suggestionsDropdownEl",
1176
1187
  ref: g,
1177
- reference: A(h),
1188
+ reference: k(h),
1178
1189
  "autofocus-first": !1,
1179
1190
  "trigger-width": !0,
1180
- "top-layer": A(d).topLayer
1191
+ "top-layer": k(d).topLayer
1181
1192
  }, {
1182
- items: E(() => [(P(!0), N(ae, null, te(A(ke), (t) => (P(), _(Ot, {
1193
+ items: T(() => [(j(!0), A(oe, null, te(k(Me), (t) => (j(), _(Ot, {
1183
1194
  key: t,
1184
- onClick: y((e) => Ae(t), ["stop"])
1195
+ onClick: ie((e) => Ne(t), ["stop"])
1185
1196
  }, {
1186
- default: E(() => [b("div", Wt, [c(e.$slots, "suggestion", p({ ref_for: !0 }, { value: t }), () => [j(w(t), 1)])]), A(U) && A(Se) ? (P(), N("button", {
1197
+ default: T(() => [y("div", Wt, [c(e.$slots, "suggestion", p({ ref_for: !0 }, { value: t }), () => [pe(C(t), 1)])]), k(B) && k(L) ? (j(), A("button", {
1187
1198
  key: 0,
1188
1199
  type: "button",
1189
1200
  tabindex: "-1",
1190
1201
  class: "cursor-pointer",
1191
- title: A(le),
1192
- onClick: y((e) => G(t), ["stop"])
1193
- }, [ee(At, p({ ref_for: !0 }, A(Se)), null, 16)], 8, Gt)) : O("v-if", !0)]),
1202
+ title: k(ue),
1203
+ onClick: ie((e) => H(t), ["stop"])
1204
+ }, [ee(At, p({ ref_for: !0 }, k(L)), null, 16)], 8, Gt)) : D("v-if", !0)]),
1194
1205
  _: 2
1195
1206
  }, 1032, ["onClick"]))), 128))]),
1196
1207
  _: 3
1197
- }, 8, ["reference", "top-layer"])) : O("v-if", !0)
1208
+ }, 8, ["reference", "top-layer"])) : D("v-if", !0)
1198
1209
  ], 2));
1199
1210
  }
1200
1211
  });
1201
1212
  export { Kt as default };
1202
1213
 
1203
- //# sourceMappingURL=VvTextarea.es-CFZHoQWF.js.map
1214
+ //# sourceMappingURL=VvTextarea.es-GlakViWr.js.map