@8wave/ai-elements 0.103.0-beta.3 → 0.103.0-beta.4

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 (128) hide show
  1. package/dist/_chunks/PkLazyImg-CyeqD59M.js +34 -0
  2. package/dist/_chunks/{PkLazyImg-_389yCnQ.js.map → PkLazyImg-CyeqD59M.js.map} +1 -1
  3. package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js → PkStreamingMarkdown-DIkusrTI.js} +28 -28
  4. package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js.map → PkStreamingMarkdown-DIkusrTI.js.map} +1 -1
  5. package/dist/_chunks/PkToolRequestGeolocation-Cgus94KF.js +69 -0
  6. package/dist/_chunks/{PkToolRequestGeolocation-T16QI-Uv.js.map → PkToolRequestGeolocation-Cgus94KF.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js → PkToolRequestOAuthConnection-DsUpUh97.js} +21 -21
  8. package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js.map → PkToolRequestOAuthConnection-DsUpUh97.js.map} +1 -1
  9. package/dist/_chunks/PkToolShowArtifact-griVx9w3.js +93 -0
  10. package/dist/_chunks/{PkToolShowArtifact-D15GjBm6.js.map → PkToolShowArtifact-griVx9w3.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js → PkToolShowCalendarEvent-DyiNmqqo.js} +43 -43
  12. package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js.map → PkToolShowCalendarEvent-DyiNmqqo.js.map} +1 -1
  13. package/dist/_chunks/PkToolShowComparison-RA72YL7R.js +66 -0
  14. package/dist/_chunks/{PkToolShowComparison-Bp2rP2Hx.js.map → PkToolShowComparison-RA72YL7R.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js → PkToolShowContactForm-BzDhv2yd.js} +41 -41
  16. package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js.map → PkToolShowContactForm-BzDhv2yd.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js → PkToolShowDiagram-DhXe8IPm.js} +79 -79
  18. package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js.map → PkToolShowDiagram-DhXe8IPm.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowEmail-DCSj4328.js → PkToolShowEmail-CBmfy_I9.js} +34 -34
  20. package/dist/_chunks/{PkToolShowEmail-DCSj4328.js.map → PkToolShowEmail-CBmfy_I9.js.map} +1 -1
  21. package/dist/_chunks/PkToolShowForm-CzIfm5de.js +365 -0
  22. package/dist/_chunks/{PkToolShowForm-ztQFyFd9.js.map → PkToolShowForm-CzIfm5de.js.map} +1 -1
  23. package/dist/_chunks/PkToolShowImageGallery-CSIiRuSC.js +74 -0
  24. package/dist/_chunks/{PkToolShowImageGallery-DiOR0vYa.js.map → PkToolShowImageGallery-CSIiRuSC.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js → PkToolShowLocation-BHoUqpx4.js} +4079 -4079
  26. package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js.map → PkToolShowLocation-BHoUqpx4.js.map} +1 -1
  27. package/dist/_chunks/PkToolShowMessage-CpDmPfCG.js +77 -0
  28. package/dist/_chunks/{PkToolShowMessage-BysjJ1oS.js.map → PkToolShowMessage-CpDmPfCG.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js → PkToolShowProductList-B8uuIvGo.js} +28 -28
  30. package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js.map → PkToolShowProductList-B8uuIvGo.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js → PkToolShowQrCode-CD2lo3O0.js} +23 -23
  32. package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js.map → PkToolShowQrCode-CD2lo3O0.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowSources-U7etupUP.js → PkToolShowSources-JxaTAEpc.js} +98 -98
  34. package/dist/_chunks/{PkToolShowSources-U7etupUP.js.map → PkToolShowSources-JxaTAEpc.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js → PkToolShowSuggestedReply-BTxqEwEm.js} +18 -18
  36. package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js.map → PkToolShowSuggestedReply-BTxqEwEm.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js → PkToolShowVideo-CVksKdPD.js} +17 -17
  38. package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js.map → PkToolShowVideo-CVksKdPD.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js → PkToolShowWeather-IDwTDozU.js} +68 -68
  40. package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js.map → PkToolShowWeather-IDwTDozU.js.map} +1 -1
  41. package/dist/_chunks/PkToolShowWebPages-D9Yst_2O.js +78 -0
  42. package/dist/_chunks/{PkToolShowWebPages-CPNgXzrS.js.map → PkToolShowWebPages-D9Yst_2O.js.map} +1 -1
  43. package/dist/_chunks/{PkUrl-C3gMPCjz.js → PkUrl-B3FTSURr.js} +19 -19
  44. package/dist/_chunks/{PkUrl-C3gMPCjz.js.map → PkUrl-B3FTSURr.js.map} +1 -1
  45. package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js → VvCheckbox.es-C_dlDzrr.js} +78 -78
  46. package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js.map → VvCheckbox.es-C_dlDzrr.js.map} +1 -1
  47. package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js → VvCheckboxGroup.es-hY0kWpC2.js} +197 -197
  48. package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js.map → VvCheckboxGroup.es-hY0kWpC2.js.map} +1 -1
  49. package/dist/_chunks/VvCombobox.es-DxhDF7ab.js +2044 -0
  50. package/dist/_chunks/{VvCombobox.es-CfRJtWOd.js.map → VvCombobox.es-DxhDF7ab.js.map} +1 -1
  51. package/dist/_chunks/{VvInputText.es-B0HHD6Th.js → VvInputText.es-CdpU8kvP.js} +460 -460
  52. package/dist/_chunks/{VvInputText.es-B0HHD6Th.js.map → VvInputText.es-CdpU8kvP.js.map} +1 -1
  53. package/dist/_chunks/{VvRadio.es-B3u8JJFF.js → VvRadio.es-BruZ5FHR.js} +144 -144
  54. package/dist/_chunks/{VvRadio.es-B3u8JJFF.js.map → VvRadio.es-BruZ5FHR.js.map} +1 -1
  55. package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js → VvRadioGroup.es-DSv6UdEy.js} +148 -148
  56. package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js.map → VvRadioGroup.es-DSv6UdEy.js.map} +1 -1
  57. package/dist/_chunks/{VvSelect.es-BfrDID0e.js → VvSelect.es-C244CAei.js} +155 -155
  58. package/dist/_chunks/{VvSelect.es-BfrDID0e.js.map → VvSelect.es-C244CAei.js.map} +1 -1
  59. package/dist/_chunks/VvTextarea.es-DbaPIcWl.js +1166 -0
  60. package/dist/_chunks/{VvTextarea.es-CAzFW944.js.map → VvTextarea.es-DbaPIcWl.js.map} +1 -1
  61. package/dist/_chunks/{dist-BvSGMyWS.js → dist-BgJVX4FG.js} +12 -12
  62. package/dist/_chunks/{dist-BvSGMyWS.js.map → dist-BgJVX4FG.js.map} +1 -1
  63. package/dist/_chunks/{dist-TFHdNK0W.js → dist-C5Y-NI3i.js} +230 -230
  64. package/dist/_chunks/{dist-TFHdNK0W.js.map → dist-C5Y-NI3i.js.map} +1 -1
  65. package/dist/_chunks/{esm-CUYQMpeA.js → esm-BTbGj6W3.js} +25 -25
  66. package/dist/_chunks/{esm-CUYQMpeA.js.map → esm-BTbGj6W3.js.map} +1 -1
  67. package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js → floating-ui.vue-CoA4oagI.js} +16 -16
  68. package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js.map → floating-ui.vue-CoA4oagI.js.map} +1 -1
  69. package/dist/_chunks/{iconify-BGSTR7vH.js → iconify-6ObncgfH.js} +36 -36
  70. package/dist/_chunks/{iconify-BGSTR7vH.js.map → iconify-6ObncgfH.js.map} +1 -1
  71. package/dist/_chunks/{index.es-B9rhQl9Z.js → index.es-BbyodRh9.js} +258 -258
  72. package/dist/_chunks/{index.es-B9rhQl9Z.js.map → index.es-BbyodRh9.js.map} +1 -1
  73. package/dist/_chunks/index.es-gbmOq0Nu.js +3124 -0
  74. package/dist/_chunks/index.es-gbmOq0Nu.js.map +1 -0
  75. package/dist/_chunks/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-CoeuCKPe.js} +4 -11
  76. package/dist/_chunks/{src-BjFv9Ag8.js → src-CIEdKLKO.js} +2 -2
  77. package/dist/_chunks/{src-BjFv9Ag8.js.map → src-CIEdKLKO.js.map} +1 -1
  78. package/dist/_chunks/useImageFallback-BAsLRsyg.js +19 -0
  79. package/dist/_chunks/{useImageFallback-8kfLDjXm.js.map → useImageFallback-BAsLRsyg.js.map} +1 -1
  80. package/dist/_chunks/{useLightbox-Bq6k-Wlt.js → useLightbox-Epg2fN87.js} +7 -7
  81. package/dist/_chunks/{useLightbox-Bq6k-Wlt.js.map → useLightbox-Epg2fN87.js.map} +1 -1
  82. package/dist/_chunks/useShortUrlResolver--HRa6Od3.js +72 -0
  83. package/dist/_chunks/{useShortUrlResolver-BTJM8XRw.js.map → useShortUrlResolver--HRa6Od3.js.map} +1 -1
  84. package/dist/_chunks/{vue-i18n-BJ7nxwO3.js → vue-i18n-t25g63Be.js} +81 -81
  85. package/dist/_chunks/{vue-i18n-BJ7nxwO3.js.map → vue-i18n-t25g63Be.js.map} +1 -1
  86. package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js +3747 -0
  87. package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js.map +1 -0
  88. package/dist/ai-elements.es.js +1861 -1861
  89. package/dist/ai-elements.es.js.map +1 -1
  90. package/dist-vue/PkChatbot.js +1 -1
  91. package/dist-vue/PkChatbotAuth.js +1 -1
  92. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  93. package/dist-vue/PkChatbotMessages.js +1 -1
  94. package/dist-vue/PkChatbotViewChat.js +1 -1
  95. package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js → PkChatbot-Ch8FlZjC.js} +2 -2
  96. package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js.map → PkChatbot-Ch8FlZjC.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js → PkChatbotAuth-DvnmIukc.js} +2 -2
  98. package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js.map → PkChatbotAuth-DvnmIukc.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js → PkChatbotFeedbackForm-D0RNa7bE.js} +2 -2
  100. package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js.map → PkChatbotFeedbackForm-D0RNa7bE.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js → PkChatbotMessages-DGO0WIqx.js} +4 -4
  102. package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js.map → PkChatbotMessages-DGO0WIqx.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js → PkChatbotViewChat-Dkz8dq8N.js} +3 -3
  104. package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js.map → PkChatbotViewChat-Dkz8dq8N.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js → PkToolShowContactForm-CkkWxSSz.js} +2 -2
  106. package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js.map → PkToolShowContactForm-CkkWxSSz.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js → PkToolShowDiagram-D0NBG-Gy.js} +2 -2
  108. package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js.map → PkToolShowDiagram-D0NBG-Gy.js.map} +1 -1
  109. package/dist-vue/_chunks/{index.es-BT6Jr2yi.js → index.es-BKxzs6Sh.js} +2 -2
  110. package/dist-vue/_chunks/{index.es-BT6Jr2yi.js.map → index.es-BKxzs6Sh.js.map} +1 -1
  111. package/dist-vue/index.js +10 -10
  112. package/package.json +2 -2
  113. package/dist/_chunks/PkLazyImg-_389yCnQ.js +0 -34
  114. package/dist/_chunks/PkToolRequestGeolocation-T16QI-Uv.js +0 -69
  115. package/dist/_chunks/PkToolShowArtifact-D15GjBm6.js +0 -93
  116. package/dist/_chunks/PkToolShowComparison-Bp2rP2Hx.js +0 -66
  117. package/dist/_chunks/PkToolShowForm-ztQFyFd9.js +0 -365
  118. package/dist/_chunks/PkToolShowImageGallery-DiOR0vYa.js +0 -74
  119. package/dist/_chunks/PkToolShowMessage-BysjJ1oS.js +0 -77
  120. package/dist/_chunks/PkToolShowWebPages-CPNgXzrS.js +0 -78
  121. package/dist/_chunks/VvCombobox.es-CfRJtWOd.js +0 -2044
  122. package/dist/_chunks/VvTextarea.es-CAzFW944.js +0 -1166
  123. package/dist/_chunks/index.es-DvV0VhDa.js +0 -9832
  124. package/dist/_chunks/index.es-DvV0VhDa.js.map +0 -1
  125. package/dist/_chunks/useImageFallback-8kfLDjXm.js +0 -19
  126. package/dist/_chunks/useShortUrlResolver-BTJM8XRw.js +0 -72
  127. package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js +0 -5007
  128. package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js.map +0 -1
@@ -1,67 +1,67 @@
1
- import { $ as e, A as t, B as n, D as r, E as i, G as a, Ht as o, I as s, J as c, K as l, N as u, P as d, R as f, S as ee, Ut as p, V as m, W as te, Wt as ne, Z as h, _ as g, at as re, b as ie, bt as ae, d as oe, dt as se, et as _, f as ce, g as v, h as y, j as b, k as le, kt as ue, l as de, lt as x, mt as S, qt as fe, r as pe, t as me, tt as he, v as C, w, x as ge, xt as T, y as E, yt as _e, z as D } from "./vue.runtime.esm-bundler-DF2of3lp.js";
2
- import { a as O, i as ve, t as k } from "./iconify-BGSTR7vH.js";
3
- import { c as ye, d as be, l as xe, m as Se, n as Ce, o as A, p as we, r as Te, s as Ee } from "./dist-TFHdNK0W.js";
4
- import { a as De, c as Oe, i as ke, l as Ae, n as j, o as M, r as je, s as Me, t as N } from "./floating-ui.vue-Br_zOLJv.js";
5
- import { t as Ne } from "./esm-CUYQMpeA.js";
6
- //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.17_@json-render+core@0.19.0_zod@4.4.3__@volverjs+style@0.1.25_@vue_ec33527ad3a6f0f0071872380d65ccd9/node_modules/@volverjs/ui-vue/dist/components/VvInputText/VvInputText.es.js
7
- le(), pe(), re(), ue();
8
- var P = (e) => e.toString().padStart(2, "0"), F = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
9
- function Pe(e) {
10
- if (typeof e != "string" || !F.test(e)) return !1;
1
+ import { $ as e, A as t, B as n, C as r, Ct as i, E as a, F as o, G as s, L as c, M as l, N as u, O as d, Q as f, R as p, St as ee, T as m, Tt as h, U as te, W as ne, X as g, _, b as re, bt as v, c as ie, ct as ae, d as oe, et as se, g as y, h as b, it as ce, k as x, m as S, pt as C, q as le, r as ue, t as de, u as w, ut as fe, v as T, vt as pe, wt as me, x as he, xt as ge, y as _e, yt as ve, z as ye } from "./vue.runtime.esm-bundler-B3bThTaf.js";
2
+ import { a as E, i as D, t as O } from "./iconify-6ObncgfH.js";
3
+ import { c as be, d as xe, l as Se, m as Ce, n as we, o as k, p as Te, r as Ee, s as De } from "./dist-C5Y-NI3i.js";
4
+ import { a as Oe, c as ke, i as Ae, l as je, n as A, o as j, r as Me, s as Ne, t as M } from "./floating-ui.vue-CoA4oagI.js";
5
+ import { t as Pe } from "./esm-BTbGj6W3.js";
6
+ //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.18_@json-render+core@0.19.0_zod@4.4.3__@volverjs+style@0.1.25_@vue_fb2fc569fa47f04da7f3d790d6448706/node_modules/@volverjs/ui-vue/dist/components/VvInputText/VvInputText.es.js
7
+ d(), ue(), ce(), ge();
8
+ var N = (e) => e.toString().padStart(2, "0"), P = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
9
+ function Fe(e) {
10
+ if (typeof e != "string" || !P.test(e)) return !1;
11
11
  let t = new Date(e);
12
12
  return !Number.isNaN(t.getTime()) && t.toISOString() === e;
13
13
  }
14
- function Fe(e, t = "date", n) {
15
- if (typeof e == "string" && !Pe(e)) return "";
14
+ function Ie(e, t = "date", n) {
15
+ if (typeof e == "string" && !Fe(e)) return "";
16
16
  let r = new Date(e);
17
17
  if (Number.isNaN(r.getTime())) return "";
18
- let i = `${r.getFullYear()}-${P(r.getMonth() + 1)}`;
19
- if (t === "month" || (i += `-${P(r.getDate())}`, t === "date")) return i;
20
- let a = n ? `${P(r.getHours())}:${P(r.getMinutes())}:${P(r.getSeconds())}` : `${P(r.getHours())}:${P(r.getMinutes())}`;
18
+ let i = `${r.getFullYear()}-${N(r.getMonth() + 1)}`;
19
+ if (t === "month" || (i += `-${N(r.getDate())}`, t === "date")) return i;
20
+ let a = n ? `${N(r.getHours())}:${N(r.getMinutes())}:${N(r.getSeconds())}` : `${N(r.getHours())}:${N(r.getMinutes())}`;
21
21
  return t === "time" ? a : `${i}T${a}`;
22
22
  }
23
- var Ie = /^\d{4}-\d{2}-\d{2}$/, I = /^\d{4}-\d{2}$/, L = /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/, R = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2})?$/;
24
- function z(e, t = "date") {
23
+ var Le = /^\d{4}-\d{2}-\d{2}$/, F = /^\d{4}-\d{2}$/, I = /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/, L = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2})?$/;
24
+ function R(e, t = "date") {
25
25
  if (!e?.trim()) return null;
26
26
  let n = /* @__PURE__ */ new Date(), r = n.getFullYear(), i = n.getMonth(), a = n.getDate();
27
27
  if (t === "date") {
28
- if (!Ie.test(e)) throw Error("Invalid date format. Expected: YYYY-MM-DD");
28
+ if (!Le.test(e)) throw Error("Invalid date format. Expected: YYYY-MM-DD");
29
29
  return /* @__PURE__ */ new Date(`${e}T00:00:00`);
30
30
  }
31
31
  if (t === "month") {
32
- if (!I.test(e)) throw Error("Invalid month format. Expected: YYYY-MM");
32
+ if (!F.test(e)) throw Error("Invalid month format. Expected: YYYY-MM");
33
33
  return /* @__PURE__ */ new Date(`${e}-01T00:00:00`);
34
34
  }
35
35
  if (t === "time") {
36
- if (!L.test(e)) throw Error("Invalid time format. Expected: HH:mm or HH:mm:ss");
37
- return e.length === 8 ? /* @__PURE__ */ new Date(`${r}-${P(i + 1)}-${P(a)}T${e}`) : /* @__PURE__ */ new Date(`${r}-${P(i + 1)}-${P(a)}T${e}:00`);
36
+ if (!I.test(e)) throw Error("Invalid time format. Expected: HH:mm or HH:mm:ss");
37
+ return e.length === 8 ? /* @__PURE__ */ new Date(`${r}-${N(i + 1)}-${N(a)}T${e}`) : /* @__PURE__ */ new Date(`${r}-${N(i + 1)}-${N(a)}T${e}:00`);
38
38
  }
39
- if (!R.test(e)) throw Error("Invalid datetime format. Expected: YYYY-MM-DDThh:mm or YYYY-MM-DDThh:mm:ss");
39
+ if (!L.test(e)) throw Error("Invalid datetime format. Expected: YYYY-MM-DDThh:mm or YYYY-MM-DDThh:mm:ss");
40
40
  return e.length === 16 ? /* @__PURE__ */ new Date(`${e}:00`) : /* @__PURE__ */ new Date(`${e}`);
41
41
  }
42
- function B(e) {
43
- return ((e) => e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0)(T(e));
42
+ function z(e) {
43
+ return ((e) => e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0)(v(e));
44
44
  }
45
- function V(e) {
45
+ function B(e) {
46
46
  return typeof e == "string";
47
47
  }
48
- function Le(e) {
49
- return Array.isArray(e) ? e.filter((e) => V(e)).join(" ") : e;
48
+ function V(e) {
49
+ return Array.isArray(e) ? e.filter((e) => B(e)).join(" ") : e;
50
50
  }
51
51
  function Re(e, t) {
52
- let n = y(() => x(e) ? e.value : e), i = y(() => Le(n.value.invalidLabel)), a = y(() => Le(n.value.validLabel)), o = y(() => n.value.loadingLabel), s = y(() => n.value.hintLabel), c = y(() => !!(n.value.loading && (t.loading || o.value))), l = y(() => !c.value && !!(n.value.invalid && (t.invalid || i.value))), u = y(() => !c.value && !l.value && !!(n.value.valid && (t.valid || a.value))), d = y(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = y(() => l.value || u.value || c.value || d.value);
52
+ let n = S(() => ae(e) ? e.value : e), i = S(() => V(n.value.invalidLabel)), o = S(() => V(n.value.validLabel)), s = S(() => n.value.loadingLabel), c = S(() => n.value.hintLabel), l = S(() => !!(n.value.loading && (t.loading || s.value))), u = S(() => !l.value && !!(n.value.invalid && (t.invalid || i.value))), d = S(() => !l.value && !u.value && !!(n.value.valid && (t.valid || o.value))), f = S(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = S(() => u.value || d.value || l.value || f.value);
53
53
  return {
54
- hasInvalidLabelOrSlot: l,
55
- hasHintLabelOrSlot: d,
56
- hasValidLabelOrSlot: u,
57
- hasLoadingLabelOrSlot: c,
58
- hintSlotScope: y(() => ({
54
+ hasInvalidLabelOrSlot: u,
55
+ hasHintLabelOrSlot: f,
56
+ hasValidLabelOrSlot: d,
57
+ hasLoadingLabelOrSlot: l,
58
+ hintSlotScope: S(() => ({
59
59
  modelValue: n.value.modelValue,
60
60
  valid: n.value.valid,
61
61
  invalid: n.value.invalid,
62
62
  loading: n.value.loading
63
63
  })),
64
- HintSlot: w({
64
+ HintSlot: r({
65
65
  name: "HintSlot",
66
66
  props: { tag: {
67
67
  type: String,
@@ -69,21 +69,21 @@ function Re(e, t) {
69
69
  } },
70
70
  setup() {
71
71
  return {
72
- isVisible: f,
72
+ isVisible: p,
73
73
  invalidLabel: i,
74
- validLabel: a,
75
- loadingLabel: o,
76
- hintLabel: s,
77
- hasInvalidLabelOrSlot: l,
78
- hasValidLabelOrSlot: u,
79
- hasLoadingLabelOrSlot: c,
80
- hasHintLabelOrSlot: d
74
+ validLabel: o,
75
+ loadingLabel: s,
76
+ hintLabel: c,
77
+ hasInvalidLabelOrSlot: u,
78
+ hasValidLabelOrSlot: d,
79
+ hasLoadingLabelOrSlot: l,
80
+ hasHintLabelOrSlot: f
81
81
  };
82
82
  },
83
83
  render() {
84
84
  if (this.isVisible) {
85
85
  let e;
86
- return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? r(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? r(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? r(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : r(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
86
+ return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? a(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? a(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? a(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : a(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
87
87
  }
88
88
  return null;
89
89
  }
@@ -409,10 +409,10 @@ var vt = {
409
409
  }
410
410
  };
411
411
  function St(e) {
412
- return y(() => String(e?.value || l()));
412
+ return S(() => String(e?.value || s()));
413
413
  }
414
414
  function Ct(e, t) {
415
- let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = y(() => n && ae(t)), i = y(() => r.value ? "manual" : void 0);
415
+ let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = S(() => n && ve(t)), i = S(() => r.value ? "manual" : void 0);
416
416
  function a() {
417
417
  return (n && e.value?.matches(":popover-open")) ?? !1;
418
418
  }
@@ -434,46 +434,46 @@ function Ct(e, t) {
434
434
  };
435
435
  }
436
436
  function wt({ reference: e, id: t, expanded: n, aria: i }) {
437
- let a = Ae();
437
+ let o = je();
438
438
  return {
439
- bus: a,
440
- component: w({
439
+ bus: o,
440
+ component: r({
441
441
  name: "VvDropdownTriggerProvider",
442
442
  setup() {
443
- D(Ke, {
443
+ p(Ke, {
444
444
  reference: e,
445
445
  id: t,
446
446
  expanded: n,
447
447
  aria: i,
448
- bus: a
448
+ bus: o
449
449
  });
450
450
  },
451
451
  render() {
452
- return r(ce, {}, this.$slots.default?.());
452
+ return a(oe, {}, this.$slots.default?.());
453
453
  }
454
454
  })
455
455
  };
456
456
  }
457
457
  function Tt({ role: e, ...t }) {
458
- let n = y(() => e.value === G.listbox ? We.option : We.presentation);
459
- return D(qe, {
458
+ let n = S(() => e.value === G.listbox ? We.option : We.presentation);
459
+ return p(qe, {
460
460
  role: n,
461
461
  ...t
462
462
  }), { itemRole: n };
463
463
  }
464
464
  function Et({ expanded: e }) {
465
- D(Je, {
466
- role: S(Ue.menuitem),
465
+ p(Je, {
466
+ role: C(Ue.menuitem),
467
467
  expanded: e
468
468
  });
469
469
  }
470
470
  function Dt(e, t, n) {
471
- return y(() => {
471
+ return S(() => {
472
472
  let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
473
473
  return i && Array.isArray(i) && i.forEach((t) => {
474
474
  t && (r[`${e}--${t}`] = !0);
475
475
  }), n && Object.keys(n.value).forEach((t) => {
476
- r[`${e}--${t}`] = T(n.value[t]);
476
+ r[`${e}--${t}`] = v(n.value[t]);
477
477
  }), r;
478
478
  });
479
479
  }
@@ -482,7 +482,7 @@ var Ot = ["popover"], kt = [
482
482
  "tabindex",
483
483
  "role",
484
484
  "aria-labelledby"
485
- ], At = /* @__PURE__ */ w({
485
+ ], At = /* @__PURE__ */ r({
486
486
  name: "VvDropdown",
487
487
  inheritAttrs: !1,
488
488
  props: yt,
@@ -503,124 +503,124 @@ var Ot = ["popover"], kt = [
503
503
  "leave",
504
504
  "leaveCancelled"
505
505
  ],
506
- setup(t, { expose: n, emit: r }) {
507
- let c = t, l = r, { id: g } = _e(c), re = St(g), ie = a(), ae = S("auto"), oe = S("auto"), se = S(), b = S(), le = S(), ue = S(), x = y({
508
- get: () => c.reference ?? se.value,
506
+ setup(t, { expose: r, emit: a }) {
507
+ let s = t, d = a, { id: p } = pe(s), h = St(p), re = ne(), ae = C("auto"), y = C("auto"), ce = C(), x = C(), le = C(), ue = C(), w = S({
508
+ get: () => s.reference ?? ce.value,
509
509
  set: (e) => {
510
- se.value = e;
510
+ ce.value = e;
511
511
  }
512
- }), { isTopLayer: fe, popover: pe, show: w, hide: ge } = Ct(b, () => c.topLayer), D = y(() => fe.value ? ze.fixed : c.strategy), O = S(!1);
513
- s(() => {
514
- be(b.value, () => {
515
- O.value = globalThis.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
512
+ }), { isTopLayer: fe, popover: ge, show: _e, hide: ve } = Ct(x, () => s.topLayer), ye = S(() => fe.value ? ze.fixed : s.strategy), E = C(!1);
513
+ o(() => {
514
+ xe(x.value, () => {
515
+ E.value = globalThis.getComputedStyle(x.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
516
516
  }, {
517
517
  attributeFilter: ["style"],
518
518
  window: globalThis.window
519
519
  });
520
520
  });
521
- function ve(e, t, n) {
521
+ function D(e, t, n) {
522
522
  return typeof e == "boolean" ? t() : n(e);
523
523
  }
524
- let k = y(() => {
524
+ let O = S(() => {
525
525
  let e = [];
526
- if (c.autoPlacement ? e.push(ve(c.autoPlacement, () => je(), (e) => je(e))) : c.flip && e.push(ve(c.flip, () => De({ fallbackStrategy: "initialPlacement" }), (e) => De(e))), c.shift && e.push(ve(c.shift, () => Me(), (e) => Me(e))), c.size) {
526
+ if (s.autoPlacement ? e.push(D(s.autoPlacement, () => Me(), (e) => Me(e))) : s.flip && e.push(D(s.flip, () => Oe({ fallbackStrategy: "initialPlacement" }), (e) => Oe(e))), s.shift && e.push(D(s.shift, () => Ne(), (e) => Ne(e))), s.size) {
527
527
  let t = ({ availableWidth: e, availableHeight: t }) => {
528
- ae.value = `${e}px`, oe.value = `${t}px`;
528
+ ae.value = `${e}px`, y.value = `${t}px`;
529
529
  };
530
- e.push(ve(c.size, () => Oe({ apply: t }), (e) => Oe({
530
+ e.push(D(s.size, () => ke({ apply: t }), (e) => ke({
531
531
  ...e,
532
532
  apply: t
533
533
  })));
534
534
  }
535
- return c.offset && e.push(["string", "number"].includes(typeof c.offset) ? M(Number(c.offset)) : M(c.offset)), c.arrow && e.push(N({ element: le })), e;
536
- }), { x: ye, y: we, middlewareData: Ee, placement: Ae, strategy: Ne } = j(x, b, {
537
- whileElementsMounted: (...e) => ke(...e, { animationFrame: D.value === ze.fixed }),
538
- placement: y(() => c.placement),
539
- strategy: D,
540
- middleware: k
541
- }), P = y(() => {
542
- if (O.value) return;
543
- let e = c.triggerWidth && x.value ? `${x.value?.offsetWidth}px` : void 0;
535
+ return s.offset && e.push(["string", "number"].includes(typeof s.offset) ? j(Number(s.offset)) : j(s.offset)), s.arrow && e.push(M({ element: le })), e;
536
+ }), { x: be, y: Te, middlewareData: De, placement: je, strategy: Pe } = A(w, x, {
537
+ whileElementsMounted: (...e) => Ae(...e, { animationFrame: ye.value === ze.fixed }),
538
+ placement: S(() => s.placement),
539
+ strategy: ye,
540
+ middleware: O
541
+ }), N = S(() => {
542
+ if (E.value) return;
543
+ let e = s.triggerWidth && w.value ? `${w.value?.offsetWidth}px` : void 0;
544
544
  return {
545
- position: Ne.value,
546
- top: `${we.value ?? 0}px`,
547
- left: `${ye.value ?? 0}px`,
545
+ position: Pe.value,
546
+ top: `${Te.value ?? 0}px`,
547
+ left: `${be.value ?? 0}px`,
548
548
  maxWidth: e ? void 0 : ae.value,
549
- maxHeight: oe.value,
549
+ maxHeight: y.value,
550
550
  width: e
551
551
  };
552
- }), F = y(() => Ae.value.split("-")[0]), Pe = y(() => {
553
- if (O.value) return;
552
+ }), P = S(() => je.value.split("-")[0]), Fe = S(() => {
553
+ if (E.value) return;
554
554
  let e = {
555
555
  [U.top]: U.bottom,
556
556
  [U.right]: U.left,
557
557
  [U.bottom]: U.top,
558
558
  [U.left]: U.right
559
- }[F.value];
559
+ }[P.value];
560
560
  return {
561
- left: Ee.value.arrow?.x === void 0 ? void 0 : `${Ee.value.arrow?.x}px`,
562
- top: Ee.value.arrow?.y === void 0 ? void 0 : `${Ee.value.arrow?.y}px`,
561
+ left: De.value.arrow?.x === void 0 ? void 0 : `${De.value.arrow?.x}px`,
562
+ top: De.value.arrow?.y === void 0 ? void 0 : `${De.value.arrow?.y}px`,
563
563
  [e]: `${-(le.value?.offsetWidth ?? 0) / 2}px`
564
564
  };
565
- }), Fe = Se(c, "modelValue", l), Ie = S(!1), I = y({
566
- get: () => Fe.value ?? Ie.value,
565
+ }), Ie = Ce(s, "modelValue", d), Le = C(!1), F = S({
566
+ get: () => Ie.value ?? Le.value,
567
567
  set: (e) => {
568
- if (Fe.value === void 0) {
569
- Ie.value = e;
568
+ if (Ie.value === void 0) {
569
+ Le.value = e;
570
570
  return;
571
571
  }
572
- Fe.value = e;
572
+ Ie.value = e;
573
573
  }
574
574
  });
575
- e(() => {
576
- I.value && w();
575
+ f(() => {
576
+ F.value && _e();
577
577
  });
578
+ function I() {
579
+ F.value = !0;
580
+ }
578
581
  function L() {
579
- I.value = !0;
582
+ F.value = !1;
580
583
  }
581
584
  function R() {
582
- I.value = !1;
585
+ F.value = !F.value;
583
586
  }
584
- function z() {
585
- I.value = !I.value;
587
+ function z(e) {
588
+ w.value = e;
586
589
  }
587
- function B(e) {
588
- x.value = e;
589
- }
590
- Ce(b, () => {
591
- !c.keepOpen && I.value && (I.value = !1);
592
- }, { ignore: [x] });
593
- let V = y(() => x.value?.getAttribute?.("id") ?? void 0), Le = y(() => ({
594
- "aria-controls": re.value,
590
+ we(x, () => {
591
+ !s.keepOpen && F.value && (F.value = !1);
592
+ }, { ignore: [w] });
593
+ let B = S(() => w.value?.getAttribute?.("id") ?? void 0), V = S(() => ({
594
+ "aria-controls": h.value,
595
595
  "aria-haspopup": !0,
596
- "aria-expanded": I.value
596
+ "aria-expanded": F.value
597
597
  })), { component: Re, bus: H } = wt({
598
- reference: x,
599
- id: re,
600
- expanded: I,
601
- aria: Le
598
+ reference: w,
599
+ id: h,
600
+ expanded: F,
601
+ aria: V
602
602
  });
603
- H.on("click", z);
604
- let { role: Be, modifiers: Ve } = _e(c), He = Dt("vv-dropdown", Ve, y(() => ({ arrow: c.arrow }))), { focused: W } = xe(b);
603
+ H.on("click", R);
604
+ let { role: Be, modifiers: Ve } = pe(s), He = Dt("vv-dropdown", Ve, S(() => ({ arrow: s.arrow }))), { focused: W } = Se(x);
605
605
  function Ue(e) {
606
606
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
607
607
  }
608
608
  function G() {
609
- d(() => {
610
- let e = Ue(b.value);
609
+ u(() => {
610
+ let e = Ue(x.value);
611
611
  e.length > 0 && e[0].focus({ preventScroll: !0 });
612
612
  });
613
613
  }
614
614
  function We() {
615
- d(() => {
615
+ u(() => {
616
616
  let e = Ue(ue.value);
617
617
  e.length > 0 && e[0].focus({ preventScroll: !0 });
618
618
  });
619
619
  }
620
620
  function Ge() {
621
- d(() => {
621
+ u(() => {
622
622
  if (W.value) {
623
- let e = Ue(b.value);
623
+ let e = Ue(x.value);
624
624
  if (e.length === 0 || !document.activeElement) return;
625
625
  let t = e.indexOf(document.activeElement);
626
626
  t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
@@ -628,9 +628,9 @@ var Ot = ["popover"], kt = [
628
628
  });
629
629
  }
630
630
  function Ke() {
631
- d(() => {
631
+ u(() => {
632
632
  if (W.value) {
633
- let e = Ue(b.value);
633
+ let e = Ue(x.value);
634
634
  if (e.length === 0 || !document.activeElement) return;
635
635
  let t = e.indexOf(document.activeElement);
636
636
  if (t > 0) {
@@ -641,160 +641,160 @@ var Ot = ["popover"], kt = [
641
641
  }
642
642
  });
643
643
  }
644
- h(I, (e) => {
645
- e && c.autofocusFirst && G();
646
- }), n({
647
- toggle: z,
648
- show: L,
649
- hide: R,
650
- init: B,
644
+ g(F, (e) => {
645
+ e && s.autofocusFirst && G();
646
+ }), r({
647
+ toggle: R,
648
+ show: I,
649
+ hide: L,
650
+ init: z,
651
651
  focusFirst: G,
652
652
  focusFirstListElement: We,
653
653
  focusNext: Ge,
654
654
  focusPrev: Ke,
655
- customPosition: O
655
+ customPosition: E
656
656
  });
657
657
  let { itemRole: qe } = Tt({
658
658
  role: Be,
659
- expanded: I,
659
+ expanded: F,
660
660
  focused: W,
661
- hovered: A(b)
661
+ hovered: k(x)
662
662
  });
663
- Te("Escape", (e) => {
664
- I.value && (e.preventDefault(), R());
665
- }), Te("ArrowDown", (e) => {
666
- I.value && W.value && (e.preventDefault(), Ge());
667
- }), Te("ArrowUp", (e) => {
668
- I.value && W.value && (e.preventDefault(), Ke());
669
- }), Te([" ", "Enter"], (e) => {
663
+ Ee("Escape", (e) => {
664
+ F.value && (e.preventDefault(), L());
665
+ }), Ee("ArrowDown", (e) => {
666
+ F.value && W.value && (e.preventDefault(), Ge());
667
+ }), Ee("ArrowUp", (e) => {
668
+ F.value && W.value && (e.preventDefault(), Ke());
669
+ }), Ee([" ", "Enter"], (e) => {
670
670
  let t = e.target;
671
- I.value && W.value && t && t?.click();
671
+ F.value && W.value && t && t?.click();
672
672
  });
673
673
  let Je = {
674
674
  "before-enter": () => {
675
- l(I.value ? "beforeExpand" : "beforeCollapse"), l("beforeEnter");
675
+ d(F.value ? "beforeExpand" : "beforeCollapse"), d("beforeEnter");
676
676
  },
677
677
  "after-leave": () => {
678
- I.value || ge(), l(I.value ? "afterExpand" : "afterCollapse"), l("afterLeave");
678
+ F.value || ve(), d(F.value ? "afterExpand" : "afterCollapse"), d("afterLeave");
679
679
  },
680
680
  enter: () => {
681
- l("enter");
681
+ d("enter");
682
682
  },
683
683
  "after-enter": () => {
684
- l("afterEnter");
684
+ d("afterEnter");
685
685
  },
686
686
  "enter-cancelled": () => {
687
- l("enterCancelled");
687
+ d("enterCancelled");
688
688
  },
689
689
  "before-leave": () => {
690
- l("beforeLeave");
690
+ d("beforeLeave");
691
691
  },
692
692
  leave: () => {
693
- l("leave");
693
+ d("leave");
694
694
  },
695
695
  "leave-cancelled": () => {
696
- l("leaveCancelled");
696
+ d("leaveCancelled");
697
697
  }
698
698
  };
699
- return (e, t) => (f(), E(ce, null, [ee(T(Re), null, {
700
- default: _(() => [m(e.$slots, "default", p(i({
701
- init: B,
702
- show: L,
703
- hide: R,
704
- toggle: z,
705
- expanded: T(I),
706
- aria: T(Le)
699
+ return (t, r) => (c(), T(oe, null, [he(v(Re), null, {
700
+ default: e(() => [n(t.$slots, "default", i(m({
701
+ init: z,
702
+ show: I,
703
+ hide: L,
704
+ toggle: R,
705
+ expanded: v(F),
706
+ aria: v(V)
707
707
  })))]),
708
708
  _: 3
709
- }), ee(me, u({ name: e.transitionName }, te(Je), { persisted: "" }), {
710
- default: _(() => [he(v("div", {
709
+ }), he(de, l({ name: t.transitionName }, te(Je), { persisted: "" }), {
710
+ default: e(() => [se(b("div", {
711
711
  ref_key: "floatingEl",
712
- ref: b,
713
- popover: T(pe),
714
- style: ne(T(P)),
715
- class: o(T(He))
712
+ ref: x,
713
+ popover: v(ge),
714
+ style: me(v(N)),
715
+ class: ee(v(He))
716
716
  }, [
717
- c.arrow ? (f(), E("div", {
717
+ s.arrow ? (c(), T("div", {
718
718
  key: 0,
719
719
  ref_key: "arrowEl",
720
720
  ref: le,
721
- style: ne(T(Pe)),
721
+ style: me(v(Fe)),
722
722
  class: "vv-dropdown__arrow"
723
- }, null, 4)) : C("v-if", !0),
724
- m(e.$slots, "before", p(i({
725
- show: L,
726
- hide: R,
727
- toggle: z,
728
- expanded: T(I)
723
+ }, null, 4)) : _("v-if", !0),
724
+ n(t.$slots, "before", i(m({
725
+ show: I,
726
+ hide: L,
727
+ toggle: R,
728
+ expanded: v(F)
729
729
  }))),
730
- v("div", u(T(ie), {
731
- id: T(re),
730
+ b("div", l(v(re), {
731
+ id: v(h),
732
732
  ref_key: "listEl",
733
733
  ref: ue,
734
- tabindex: T(I) ? void 0 : -1,
735
- role: T(Be),
736
- "aria-labelledby": T(V),
734
+ tabindex: v(F) ? void 0 : -1,
735
+ role: v(Be),
736
+ "aria-labelledby": v(B),
737
737
  class: "vv-dropdown__list"
738
- }), [m(e.$slots, "items", p(i({
739
- show: L,
740
- hide: R,
741
- toggle: z,
742
- expanded: T(I),
743
- role: T(qe)
738
+ }), [n(t.$slots, "items", i(m({
739
+ show: I,
740
+ hide: L,
741
+ toggle: R,
742
+ expanded: v(F),
743
+ role: v(qe)
744
744
  })))], 16, kt),
745
- m(e.$slots, "after", p(i({
746
- show: L,
747
- hide: R,
748
- toggle: z,
749
- expanded: T(I)
745
+ n(t.$slots, "after", i(m({
746
+ show: I,
747
+ hide: L,
748
+ toggle: R,
749
+ expanded: v(F)
750
750
  })))
751
- ], 14, Ot), [[de, T(I)]])]),
751
+ ], 14, Ot), [[ie, v(F)]])]),
752
752
  _: 3
753
753
  }, 16, ["name"])], 64));
754
754
  }
755
755
  });
756
756
  function jt() {
757
- return t(qe, {});
757
+ return x(qe, {});
758
758
  }
759
- var Mt = /* @__PURE__ */ w({
759
+ var Mt = /* @__PURE__ */ r({
760
760
  name: "VvDropdownItem",
761
761
  props: bt,
762
762
  setup(e) {
763
- let t = e, { role: n, expanded: r } = jt(), i = S(null);
764
- Et({ expanded: r });
765
- let a = A(i), { focused: o } = ye(i), { focused: s } = xe(i);
766
- return h(a, (e) => {
767
- e && t.focusOnHover && (o.value = !0);
768
- }), (e, t) => (f(), E("div", u({ role: T(n) }, {
763
+ let t = e, { role: r, expanded: i } = jt(), a = C(null);
764
+ Et({ expanded: i });
765
+ let o = k(a), { focused: s } = be(a), { focused: u } = Se(a);
766
+ return g(o, (e) => {
767
+ e && t.focusOnHover && (s.value = !0);
768
+ }), (e, t) => (c(), T("div", l({ role: v(r) }, {
769
769
  ref_key: "element",
770
- ref: i,
771
- class: ["vv-dropdown__item", { "focus-visible": T(o) || T(s) }]
772
- }), [m(e.$slots, "default")], 16));
770
+ ref: a,
771
+ class: ["vv-dropdown__item", { "focus-visible": v(s) || v(u) }]
772
+ }), [n(e.$slots, "default")], 16));
773
773
  }
774
- }), Nt = ["title"], Pt = /* @__PURE__ */ w({
774
+ }), Nt = ["title"], Pt = /* @__PURE__ */ r({
775
775
  name: "VvDropdownOption",
776
776
  props: xt,
777
- setup(e) {
778
- let t = e, { modifiers: n } = _e(t), r = Dt("vv-dropdown-option", n, y(() => ({
779
- disabled: t.disabled,
780
- selected: t.selected,
781
- unselectable: t.unselectable && t.selected
782
- }))), a = y(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
783
- return (e, t) => (f(), g(Mt, {
784
- class: o(T(r)),
785
- tabindex: e.disabled ? -1 : 0,
786
- "aria-selected": e.selected,
787
- "aria-disabled": e.disabled,
788
- "focus-on-hover": e.focusOnHover
777
+ setup(t) {
778
+ let r = t, { modifiers: a } = pe(r), o = Dt("vv-dropdown-option", a, S(() => ({
779
+ disabled: r.disabled,
780
+ selected: r.selected,
781
+ unselectable: r.unselectable && r.selected
782
+ }))), s = S(() => r.selected ? r.unselectable ? r.deselectHintLabel : r.selectedHintLabel : r.disabled ? "" : r.selectHintLabel);
783
+ return (t, r) => (c(), y(Mt, {
784
+ class: ee(v(o)),
785
+ tabindex: t.disabled ? -1 : 0,
786
+ "aria-selected": t.selected,
787
+ "aria-disabled": t.disabled,
788
+ "focus-on-hover": t.focusOnHover
789
789
  }, {
790
- default: _(() => [m(e.$slots, "default"), v("span", {
790
+ default: e(() => [n(t.$slots, "default"), b("span", {
791
791
  class: "vv-dropdown-option__hint",
792
- title: T(a)
793
- }, [m(e.$slots, "hint", p(i({
794
- disabled: e.disabled,
795
- selected: e.selected,
796
- unselectable: e.unselectable
797
- })), () => [ge(fe(T(a)), 1)])], 8, Nt)]),
792
+ title: v(s)
793
+ }, [n(t.$slots, "hint", i(m({
794
+ disabled: t.disabled,
795
+ selected: t.selected,
796
+ unselectable: t.unselectable
797
+ })), () => [re(h(v(s)), 1)])], 8, Nt)]),
798
798
  _: 3
799
799
  }, 8, [
800
800
  "class",
@@ -806,11 +806,11 @@ var Mt = /* @__PURE__ */ w({
806
806
  }
807
807
  });
808
808
  function Ft() {
809
- return t(Ge, void 0);
809
+ return x(Ge, void 0);
810
810
  }
811
- var Q = /* @__PURE__ */ w({
811
+ var Q = /* @__PURE__ */ r({
812
812
  name: "VvIcon",
813
- props: /* @__PURE__ */ b({
813
+ props: /* @__PURE__ */ t({
814
814
  name: {},
815
815
  color: {},
816
816
  width: {},
@@ -829,33 +829,33 @@ var Q = /* @__PURE__ */ w({
829
829
  modifiers: {}
830
830
  }, Ye),
831
831
  setup(e) {
832
- let t = e, n = y(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = S(!0), i = Ft(), { modifiers: a } = _e(t), o = Dt("vv-icon", a), s = y(() => t.provider || i?.iconsProvider), c = y(() => {
832
+ let t = e, n = S(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = C(!0), i = Ft(), { modifiers: a } = pe(t), o = Dt("vv-icon", a), s = S(() => t.provider || i?.iconsProvider), u = S(() => {
833
833
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
834
- if (O(n)) return n;
834
+ if (E(n)) return n;
835
835
  let r = i?.iconsCollections.find((t) => {
836
836
  let n = `@${s.value}:${t.prefix}:${e}`;
837
- return O(n);
837
+ return E(n);
838
838
  });
839
839
  return r ? `@${s.value}:${r.prefix}:${e}` : e;
840
840
  });
841
- function l(e) {
841
+ function d(e) {
842
842
  return globalThis.window === void 0 ? null : new globalThis.DOMParser().parseFromString(e, "text/html").querySelector("svg");
843
843
  }
844
- function d(e) {
845
- let n = l(e), r = n?.innerHTML.trim() || "";
846
- n && r && ve(`@${s.value}:${t.prefix}:${t.name}`, {
844
+ function f(e) {
845
+ let n = d(e), r = n?.innerHTML.trim() || "";
846
+ n && r && D(`@${s.value}:${t.prefix}:${t.name}`, {
847
847
  body: r,
848
848
  height: n.viewBox.baseVal.height,
849
849
  width: n.viewBox.baseVal.width
850
850
  });
851
851
  }
852
- return i && t.src && !O(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
853
- e && d(e), r.value = !0;
852
+ return i && t.src && !E(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
853
+ e && f(e), r.value = !0;
854
854
  }).catch((e) => {
855
855
  throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
856
- })), t.svg && d(t.svg), (t, i) => T(r) ? (f(), g(T(k), u({
856
+ })), t.svg && f(t.svg), (t, i) => v(r) ? (c(), y(v(O), l({
857
857
  key: 0,
858
- class: T(o)
858
+ class: v(o)
859
859
  }, {
860
860
  inline: e.inline,
861
861
  width: e.width,
@@ -863,10 +863,10 @@ var Q = /* @__PURE__ */ w({
863
863
  horizontalFlip: e.horizontalFlip,
864
864
  verticalFlip: e.verticalFlip,
865
865
  flip: e.flip,
866
- rotate: T(n),
866
+ rotate: v(n),
867
867
  color: e.color,
868
- icon: T(c)
869
- }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : C("v-if", !0);
868
+ icon: v(u)
869
+ }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : _("v-if", !0);
870
870
  }
871
871
  }), $ = {
872
872
  TEXT: "text",
@@ -1006,18 +1006,18 @@ var Q = /* @__PURE__ */ w({
1006
1006
  }
1007
1007
  };
1008
1008
  function Rt(e, t) {
1009
- let n = y(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = y(() => t?.value === Ve.before ? n.value : void 0), i = y(() => t?.value === Ve.after ? n.value : void 0);
1009
+ let n = S(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = S(() => t?.value === Ve.before ? n.value : void 0), i = S(() => t?.value === Ve.after ? n.value : void 0);
1010
1010
  return {
1011
1011
  hasIcon: n,
1012
- hasIconLeft: y(() => t?.value === U.left ? n.value : void 0),
1013
- hasIconRight: y(() => t?.value === U.right ? n.value : void 0),
1014
- hasIconTop: y(() => t?.value === U.top ? n.value : void 0),
1015
- hasIconBottom: y(() => t?.value === U.bottom ? n.value : void 0),
1012
+ hasIconLeft: S(() => t?.value === U.left ? n.value : void 0),
1013
+ hasIconRight: S(() => t?.value === U.right ? n.value : void 0),
1014
+ hasIconTop: S(() => t?.value === U.top ? n.value : void 0),
1015
+ hasIconBottom: S(() => t?.value === U.bottom ? n.value : void 0),
1016
1016
  hasIconBefore: r,
1017
1017
  hasIconAfter: i
1018
1018
  };
1019
1019
  }
1020
- var zt = w({
1020
+ var zt = r({
1021
1021
  components: { VvIcon: Q },
1022
1022
  props: {
1023
1023
  inputType: {
@@ -1039,7 +1039,7 @@ var zt = w({
1039
1039
  },
1040
1040
  emits: ["clear"],
1041
1041
  setup(e, { emit: t }) {
1042
- let { hasIcon: n } = Rt(y(() => e.icon));
1042
+ let { hasIcon: n } = Rt(S(() => e.icon));
1043
1043
  function r(n) {
1044
1044
  n?.stopPropagation(), e.disabled || t("clear");
1045
1045
  }
@@ -1049,11 +1049,11 @@ var zt = w({
1049
1049
  };
1050
1050
  },
1051
1051
  render() {
1052
- let e = this.hasIcon ? r(Q, {
1052
+ let e = this.hasIcon ? a(Q, {
1053
1053
  ...this.hasIcon,
1054
1054
  class: `vv-${this.inputType}__icon`
1055
1055
  }) : void 0;
1056
- return r("button", {
1056
+ return a("button", {
1057
1057
  disabled: this.disabled,
1058
1058
  class: `vv-${this.inputType}__action`,
1059
1059
  ariaLabel: this.label,
@@ -1061,7 +1061,7 @@ var zt = w({
1061
1061
  onClick: this.onClick
1062
1062
  }, e);
1063
1063
  }
1064
- }), Bt = w({
1064
+ }), Bt = r({
1065
1065
  components: { VvIcon: Q },
1066
1066
  props: {
1067
1067
  inputType: {
@@ -1091,7 +1091,7 @@ var zt = w({
1091
1091
  },
1092
1092
  emits: ["toggle-password"],
1093
1093
  setup(e, { emit: t }) {
1094
- let n = S(!1), r = y(() => n.value ? e.iconHide : e.iconShow), { hasIcon: i } = Rt(r);
1094
+ let n = C(!1), r = S(() => n.value ? e.iconHide : e.iconShow), { hasIcon: i } = Rt(r);
1095
1095
  function a(r) {
1096
1096
  r?.stopPropagation(), e.disabled || (n.value = !n.value, t("toggle-password", n.value));
1097
1097
  }
@@ -1103,11 +1103,11 @@ var zt = w({
1103
1103
  };
1104
1104
  },
1105
1105
  render() {
1106
- let e = this.hasIcon ? r(Q, {
1106
+ let e = this.hasIcon ? a(Q, {
1107
1107
  ...this.hasIcon,
1108
1108
  class: `vv-${this.inputType}__icon`
1109
1109
  }) : void 0;
1110
- return r("button", {
1110
+ return a("button", {
1111
1111
  disabled: this.disabled,
1112
1112
  class: `vv-${this.inputType}__action`,
1113
1113
  ariaLabel: this.active ? this.labelHide : this.labelShow,
@@ -1115,7 +1115,7 @@ var zt = w({
1115
1115
  onClick: this.onClick
1116
1116
  }, e);
1117
1117
  }
1118
- }), Vt = w({
1118
+ }), Vt = r({
1119
1119
  components: { VvIcon: Q },
1120
1120
  props: {
1121
1121
  inputType: {
@@ -1135,7 +1135,7 @@ var zt = w({
1135
1135
  },
1136
1136
  emits: ["step-up", "step-down"],
1137
1137
  setup(e, { emit: t }) {
1138
- let n = y(() => e.mode === "up");
1138
+ let n = S(() => e.mode === "up");
1139
1139
  return {
1140
1140
  isUp: n,
1141
1141
  onClick: (r) => {
@@ -1144,7 +1144,7 @@ var zt = w({
1144
1144
  };
1145
1145
  },
1146
1146
  render() {
1147
- return r("button", {
1147
+ return a("button", {
1148
1148
  class: [
1149
1149
  `vv-${this.inputType}__action`,
1150
1150
  `vv-${this.inputType}__action-chevron`,
@@ -1169,7 +1169,7 @@ function Ht(e, t, n) {
1169
1169
  setup() {
1170
1170
  return {
1171
1171
  isDirty: n,
1172
- isDisabled: y(() => t.disabled || t.readonly),
1172
+ isDisabled: S(() => t.disabled || t.readonly),
1173
1173
  labelStepUp: t.labelStepUp,
1174
1174
  labelStepDown: t.labelStepDown,
1175
1175
  labelShowPassword: t.labelShowPassword,
@@ -1184,7 +1184,7 @@ function Ht(e, t, n) {
1184
1184
  switch (e) {
1185
1185
  case $.SEARCH: {
1186
1186
  let { onClear: e } = this.$attrs;
1187
- n = [r(zt, {
1187
+ n = [a(zt, {
1188
1188
  disabled: this.isDisabled || !this.isDirty,
1189
1189
  label: this.labelClear,
1190
1190
  onClear: e
@@ -1193,7 +1193,7 @@ function Ht(e, t, n) {
1193
1193
  }
1194
1194
  case $.PASSWORD: {
1195
1195
  let { onTogglePassword: e } = this.$attrs;
1196
- n = [r(Bt, {
1196
+ n = [a(Bt, {
1197
1197
  disabled: this.isDisabled,
1198
1198
  onTogglePassword: e,
1199
1199
  labelShow: this.labelShowPassword,
@@ -1204,24 +1204,24 @@ function Ht(e, t, n) {
1204
1204
  break;
1205
1205
  }
1206
1206
  case $.NUMBER: {
1207
- let { onStepUp: e, onStepDown: i } = this.$attrs;
1208
- n = [r(Vt, {
1207
+ let { onStepUp: e, onStepDown: r } = this.$attrs;
1208
+ n = [a(Vt, {
1209
1209
  mode: "up",
1210
1210
  disabled: this.isDisabled || t.max !== void 0 && t.modelValue === t.max,
1211
1211
  label: this.labelStepUp,
1212
1212
  onStepUp: e,
1213
- onStepDown: i
1214
- }), r(Vt, {
1213
+ onStepDown: r
1214
+ }), a(Vt, {
1215
1215
  mode: "down",
1216
1216
  disabled: this.isDisabled || t.min !== void 0 && t.modelValue === t.min,
1217
1217
  label: this.labelStepDown,
1218
1218
  onStepUp: e,
1219
- onStepDown: i
1219
+ onStepDown: r
1220
1220
  })];
1221
1221
  break;
1222
1222
  }
1223
1223
  }
1224
- return Array.isArray(n) ? r("div", { class: "vv-input-text__actions-group" }, n) : n;
1224
+ return Array.isArray(n) ? a("div", { class: "vv-input-text__actions-group" }, n) : n;
1225
1225
  }
1226
1226
  };
1227
1227
  }
@@ -1238,10 +1238,10 @@ function Ut(e, t, n) {
1238
1238
  return r;
1239
1239
  }
1240
1240
  function Wt(e, t, n) {
1241
- let r = Ft(), i = y(() => {
1241
+ let r = Ft(), i = S(() => {
1242
1242
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
1243
1243
  });
1244
- return y(() => {
1244
+ return S(() => {
1245
1245
  if (i.value === void 0) return n;
1246
1246
  let e = i.value, r = t, a = n;
1247
1247
  return Object.keys(r).reduce((t, n) => {
@@ -1251,8 +1251,8 @@ function Wt(e, t, n) {
1251
1251
  });
1252
1252
  }
1253
1253
  function Gt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1254
- let a, o, s = y(() => {
1255
- let e = ae(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
1254
+ let a, o, s = S(() => {
1255
+ let e = ve(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
1256
1256
  return Number.isNaN(t) ? 0 : t;
1257
1257
  });
1258
1258
  function c() {
@@ -1263,8 +1263,8 @@ function Gt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1263
1263
  let e = i(o.value);
1264
1264
  return c(), t("update:modelValue", e), e;
1265
1265
  }
1266
- return se(c), {
1267
- model: y({
1266
+ return fe(c), {
1267
+ model: S({
1268
1268
  get: () => r(e?.value),
1269
1269
  set: (e) => {
1270
1270
  if (s.value <= 0) {
@@ -1279,41 +1279,41 @@ function Gt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1279
1279
  };
1280
1280
  }
1281
1281
  function Kt(e, t) {
1282
- let { focused: n } = ye(e);
1283
- return h(n, (n) => {
1284
- t(n ? "focus" : "blur", T(e));
1282
+ let { focused: n } = be(e);
1283
+ return g(n, (n) => {
1284
+ t(n ? "focus" : "blur", v(e));
1285
1285
  }), { focused: n };
1286
1286
  }
1287
1287
  function qt(e, t) {
1288
- let n = y(() => (T(e) ?? "").length), r = y(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit === void 0 ? 0 : t.upperLimit - n.value);
1288
+ let n = S(() => (v(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);
1289
1289
  return {
1290
1290
  length: n,
1291
1291
  gap: r,
1292
- formatted: y(() => 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)
1292
+ 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)
1293
1293
  };
1294
1294
  }
1295
1295
  function Jt(e, t = H.local, n) {
1296
- let r = S();
1296
+ let r = C();
1297
1297
  n && (r.value = n);
1298
1298
  let i;
1299
- return s(() => {
1300
- e && h(e, (e, n) => {
1301
- let a = T(t) === H.session ? sessionStorage : localStorage;
1299
+ return o(() => {
1300
+ e && g(e, (e, n) => {
1301
+ let a = v(t) === H.session ? sessionStorage : localStorage;
1302
1302
  if (n && n !== e && a.removeItem(n), e) {
1303
- i = we(e, i?.value ?? r.value, a), i.value && (r.value = i.value);
1303
+ i = Te(e, i?.value ?? r.value, a), i.value && (r.value = i.value);
1304
1304
  return;
1305
1305
  }
1306
1306
  i = void 0;
1307
- }, { immediate: !0 }), x(t) && h(t, (t, n) => {
1307
+ }, { immediate: !0 }), ae(t) && g(t, (t, n) => {
1308
1308
  if (e?.value) {
1309
1309
  if (t) {
1310
1310
  let n = t === H.session ? sessionStorage : localStorage;
1311
- i = we(e.value, i?.value ?? r.value, n);
1311
+ i = Te(e.value, i?.value ?? r.value, n);
1312
1312
  }
1313
1313
  n && n !== t && (n === H.session ? sessionStorage : localStorage).removeItem(e.value);
1314
1314
  }
1315
1315
  });
1316
- }), h(r, (e) => {
1316
+ }), g(r, (e) => {
1317
1317
  i && (i.value = e);
1318
1318
  }, {
1319
1319
  deep: !0,
@@ -1332,169 +1332,169 @@ var Yt = ["for"], Xt = {
1332
1332
  }, en = {
1333
1333
  key: 6,
1334
1334
  class: "vv-input-text__limit"
1335
- }, tn = { class: "flex-1" }, nn = ["title", "onClick"], rn = /* @__PURE__ */ w({
1335
+ }, tn = { class: "flex-1" }, nn = ["title", "onClick"], rn = /* @__PURE__ */ r({
1336
1336
  name: "VvInputText",
1337
1337
  props: Lt,
1338
1338
  emits: It,
1339
- setup(e, { expose: t, emit: r }) {
1340
- let a = e, l = r, d = c(), te = Ft(), ne = Wt("VvInputText", Lt, a), { count: re, debounce: ae, icon: se, iconPosition: b, iconRemoveSuggestion: le, id: ue, invalid: de, label: x, labelRemoveSuggestion: pe, loading: me, maxlength: he, minlength: w, modelValue: D, step: O, storageType: ve, type: k, unit: ye, valid: be } = _e(a), xe = St(ue), Se = y(() => `${xe.value}-hint`), Ce = y(() => a.floating && B(a.placeholder) ? " " : a.placeholder), { model: A, flush: we } = Gt(D, l, ae), Te = y(() => {
1341
- let e = typeof O.value == "number" ? O.value : Number.parseInt(O.value);
1339
+ setup(t, { expose: r, emit: a }) {
1340
+ let s = t, u = a, d = le(), f = Ft(), p = Wt("VvInputText", Lt, s), { count: te, debounce: ne, icon: ie, iconPosition: ae, iconRemoveSuggestion: se, id: ce, invalid: x, label: ue, labelRemoveSuggestion: de, loading: fe, maxlength: me, minlength: ge, modelValue: ve, step: E, storageType: D, type: O, unit: be, valid: xe } = pe(s), Se = St(ce), Ce = S(() => `${Se.value}-hint`), we = S(() => s.floating && z(s.placeholder) ? " " : s.placeholder), { model: k, flush: Te } = Gt(ve, u, ne), Ee = S(() => {
1341
+ let e = typeof E.value == "number" ? E.value : Number.parseInt(E.value);
1342
1342
  return !Number.isNaN(e) && e % 60 != 0;
1343
- }), De = /^-0?[.,]?[0*]?$/, Oe = /./, ke = /^-$|^$/, Ae = S(!1), j = S(), M = S(), { el: je, mask: Me, typed: N, masked: P, unmasked: F } = Ne(y(() => {
1344
- if (!a.iMask) return { mask: Oe };
1345
- if (a.iMask.mask === Number) {
1346
- let e = { ...a.iMask };
1347
- return a.min && (e.min = Number(a.min)), a.max && (e.max = Number(a.max)), e;
1343
+ }), Oe = /^-0?[.,]?[0*]?$/, ke = /./, Ae = /^-$|^$/, je = C(!1), A = C(), j = C(), { el: Me, mask: Ne, typed: M, masked: N, unmasked: P } = Pe(S(() => {
1344
+ if (!s.iMask) return { mask: ke };
1345
+ if (s.iMask.mask === Number) {
1346
+ let e = { ...s.iMask };
1347
+ return s.min && (e.min = Number(s.min)), s.max && (e.max = Number(s.max)), e;
1348
1348
  }
1349
- return a.iMask;
1349
+ return s.iMask;
1350
1350
  }), {
1351
- emit: l,
1351
+ emit: u,
1352
1352
  onAccept: () => {
1353
- if (Ae.value) {
1354
- if (l("update:masked", P.value), k.value === $.NUMBER) {
1355
- Ie();
1353
+ if (je.value) {
1354
+ if (u("update:masked", N.value), O.value === $.NUMBER) {
1355
+ Le();
1356
1356
  return;
1357
1357
  }
1358
- if (k.value === $.DATETIME_LOCAL || k.value === $.DATE || k.value === $.TIME || k.value === $.MONTH) {
1359
- L();
1358
+ if (O.value === $.DATETIME_LOCAL || O.value === $.DATE || O.value === $.TIME || O.value === $.MONTH) {
1359
+ I();
1360
1360
  return;
1361
1361
  }
1362
- !A.value && !F.value || (A.value = F.value);
1362
+ !k.value && !P.value || (k.value = P.value);
1363
1363
  }
1364
1364
  }
1365
1365
  });
1366
- function Ie() {
1367
- if (ke.test(F.value)) {
1368
- if (A.value === null || A.value === void 0) return;
1369
- A.value = void 0;
1366
+ function Le() {
1367
+ if (Ae.test(P.value)) {
1368
+ if (k.value === null || k.value === void 0) return;
1369
+ k.value = void 0;
1370
1370
  return;
1371
1371
  }
1372
- if (De.test(F.value)) {
1373
- A.value = 0;
1372
+ if (Oe.test(P.value)) {
1373
+ k.value = 0;
1374
1374
  return;
1375
1375
  }
1376
- if (typeof N.value != "number") {
1377
- A.value = Number(N.value);
1376
+ if (typeof M.value != "number") {
1377
+ k.value = Number(M.value);
1378
1378
  return;
1379
1379
  }
1380
- A.value = N.value;
1380
+ k.value = M.value;
1381
1381
  }
1382
- function I(e) {
1383
- let t = new Date(j.value || M.value);
1384
- if ((k.value === $.DATETIME_LOCAL || k.value === $.DATE || k.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (k.value === $.DATETIME_LOCAL || k.value === $.DATE) && t.setDate(e.getDate()), (k.value === $.DATETIME_LOCAL || k.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), j.value instanceof Date) {
1385
- if (A.value?.getTime() === t.getTime()) return;
1386
- A.value = t;
1382
+ function F(e) {
1383
+ let t = new Date(A.value || j.value);
1384
+ if ((O.value === $.DATETIME_LOCAL || O.value === $.DATE || O.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (O.value === $.DATETIME_LOCAL || O.value === $.DATE) && t.setDate(e.getDate()), (O.value === $.DATETIME_LOCAL || O.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), A.value instanceof Date) {
1385
+ if (k.value?.getTime() === t.getTime()) return;
1386
+ k.value = t;
1387
1387
  return;
1388
1388
  }
1389
- A.value = t.toISOString();
1389
+ k.value = t.toISOString();
1390
1390
  }
1391
- function L() {
1392
- let e = k.value;
1393
- if (!N.value) {
1394
- if (!A.value) return;
1395
- if (j.value) {
1396
- A.value = void 0;
1391
+ function I() {
1392
+ let e = O.value;
1393
+ if (!M.value) {
1394
+ if (!k.value) return;
1395
+ if (A.value) {
1396
+ k.value = void 0;
1397
1397
  return;
1398
1398
  }
1399
- A.value = "";
1399
+ k.value = "";
1400
1400
  return;
1401
1401
  }
1402
- if (!(N.value instanceof Date) && !j.value && !M.value) {
1403
- A.value = N.value;
1402
+ if (!(M.value instanceof Date) && !A.value && !j.value) {
1403
+ k.value = M.value;
1404
1404
  return;
1405
1405
  }
1406
- let t = N.value;
1407
- if (t instanceof Date || (t = z(N.value, e)), j.value || M.value) {
1408
- I(t);
1406
+ let t = M.value;
1407
+ if (t instanceof Date || (t = R(M.value, e)), A.value || j.value) {
1408
+ F(t);
1409
1409
  return;
1410
1410
  }
1411
- A.value = Fe(t, e, Te.value);
1411
+ k.value = Ie(t, e, Ee.value);
1412
1412
  }
1413
- function R(e) {
1413
+ function L(e) {
1414
1414
  if (e == null) {
1415
- N.value = "", F.value = "";
1415
+ M.value = "", P.value = "";
1416
1416
  return;
1417
1417
  }
1418
- if (a.iMask?.mask === Date) {
1419
- N.value = e instanceof Date ? e : new Date(e);
1418
+ if (s.iMask?.mask === Date) {
1419
+ M.value = e instanceof Date ? e : new Date(e);
1420
1420
  return;
1421
1421
  }
1422
- if (!(k.value === $.NUMBER && De.test(F.value) && e === 0)) {
1422
+ if (!(O.value === $.NUMBER && Oe.test(P.value) && e === 0)) {
1423
1423
  if (dt.value) {
1424
- if (e instanceof Date || Pe(e)) {
1425
- if (e instanceof Date ? (j.value = e, M.value = void 0) : (M.value = e, j.value = void 0), k.value !== $.WEEK) {
1426
- let t = new Date(e), n = k.value;
1427
- N.value = Fe(t, n, Te.value), F.value = N.value;
1424
+ if (e instanceof Date || Fe(e)) {
1425
+ if (e instanceof Date ? (A.value = e, j.value = void 0) : (j.value = e, A.value = void 0), O.value !== $.WEEK) {
1426
+ let t = new Date(e), n = O.value;
1427
+ M.value = Ie(t, n, Ee.value), P.value = M.value;
1428
1428
  }
1429
1429
  return;
1430
1430
  }
1431
- j.value = void 0, M.value = void 0;
1431
+ A.value = void 0, j.value = void 0;
1432
1432
  }
1433
- N.value = e, F.value = `${N.value}`;
1433
+ M.value = e, P.value = `${M.value}`;
1434
1434
  }
1435
1435
  }
1436
- s(() => {
1437
- Me.value && (Ae.value = !0, R(a.modelValue));
1438
- }), h(() => a.modelValue, (e) => {
1439
- Me.value && R(e);
1440
- }), h(() => a.masked, (e) => {
1441
- P.value = e ?? "";
1436
+ o(() => {
1437
+ Ne.value && (je.value = !0, L(s.modelValue));
1438
+ }), g(() => s.modelValue, (e) => {
1439
+ Ne.value && L(e);
1440
+ }), g(() => s.masked, (e) => {
1441
+ N.value = e ?? "";
1442
1442
  });
1443
- let V = je, Le = S(), H = S(), ze = S();
1444
- t({
1445
- $input: V,
1446
- $inner: Le,
1443
+ let B = Me, V = C(), H = C(), ze = C();
1444
+ r({
1445
+ $input: B,
1446
+ $inner: V,
1447
1447
  $wrapper: H,
1448
- flush: we
1448
+ flush: Te
1449
1449
  });
1450
- let { focused: U } = Kt(V, l), Be = y(() => U.value && !a.disabled && !a.readonly);
1450
+ let { focused: U } = Kt(B, u), Be = S(() => U.value && !s.disabled && !s.readonly);
1451
1451
  function Ve(e) {
1452
1452
  e ? He() : W();
1453
1453
  }
1454
1454
  function He() {
1455
- ne.value.selectOnFocus && V.value && V.value.select(), Z.value.size && ze.value?.show();
1455
+ p.value.selectOnFocus && B.value && B.value.select(), Z.value.size && ze.value?.show();
1456
1456
  }
1457
1457
  function W() {
1458
- let e = we() ?? A.value;
1459
- if (!X.value || B(e)) return;
1460
- let t = a.maxSuggestions;
1458
+ let e = Te() ?? k.value;
1459
+ if (!X.value || z(e)) return;
1460
+ let t = s.maxSuggestions;
1461
1461
  X.value.size >= t && !X.value.has(e) && (X.value = new Set([...X.value].slice(X.value.size - t + 1))), X.value.add(e);
1462
1462
  }
1463
- h(Be, Ve);
1464
- let Ue = Ee(V);
1465
- h(Ue, (e) => {
1466
- e && a.autofocus && !a.disabled && !a.readonly && (U.value = !0);
1463
+ g(Be, Ve);
1464
+ let Ue = De(B);
1465
+ g(Ue, (e) => {
1466
+ e && s.autofocus && !s.disabled && !s.readonly && (U.value = !0);
1467
1467
  });
1468
- let G = S(!1), We = y(() => a.type === $.PASSWORD);
1468
+ let G = C(!1), We = S(() => s.type === $.PASSWORD);
1469
1469
  function Ge() {
1470
1470
  G.value = !G.value;
1471
1471
  }
1472
- let Ke = y(() => dt.value), qe = y(() => a.type === $.NUMBER);
1472
+ let Ke = S(() => dt.value), qe = S(() => s.type === $.NUMBER);
1473
1473
  function Je() {
1474
1474
  if (!J.value) {
1475
- if (a.iMask) {
1476
- N.value = Number(N.value) + Number(O?.value ?? 1);
1475
+ if (s.iMask) {
1476
+ M.value = Number(M.value) + Number(E?.value ?? 1);
1477
1477
  return;
1478
1478
  }
1479
- V.value.stepUp(), A.value = Number(V.value.value);
1479
+ B.value.stepUp(), k.value = Number(B.value.value);
1480
1480
  }
1481
1481
  }
1482
1482
  function Ye() {
1483
1483
  if (!J.value) {
1484
- if (a.iMask) {
1485
- N.value = Number(N.value) - Number(O?.value ?? 1);
1484
+ if (s.iMask) {
1485
+ M.value = Number(M.value) - Number(E?.value ?? 1);
1486
1486
  return;
1487
1487
  }
1488
- V.value.stepDown(), A.value = Number(V.value.value);
1488
+ B.value.stepDown(), k.value = Number(B.value.value);
1489
1489
  }
1490
1490
  }
1491
- let Xe = y(() => a.type === $.SEARCH);
1491
+ let Xe = S(() => s.type === $.SEARCH);
1492
1492
  function Ze() {
1493
- A.value = "", l("clear");
1493
+ k.value = "", u("clear");
1494
1494
  }
1495
- let { hasIconBefore: Qe, hasIconAfter: $e } = Rt(se, b), q = y(() => {
1495
+ let { hasIconBefore: Qe, hasIconAfter: $e } = Rt(ie, ae), q = S(() => {
1496
1496
  if ($e.value !== void 0) return $e.value;
1497
- switch (a.type) {
1497
+ switch (s.type) {
1498
1498
  case $.COLOR: return { name: K.showColorPicker };
1499
1499
  case $.DATE:
1500
1500
  case $.DATETIME_LOCAL:
@@ -1502,91 +1502,91 @@ var Yt = ["for"], Xt = {
1502
1502
  case $.MONTH: return { name: K.showDatePicker };
1503
1503
  case $.TIME: return { name: K.showTimePicker };
1504
1504
  }
1505
- }), { hasIcon: et } = Rt(le), { formatted: tt } = qt(A, {
1506
- mode: re.value,
1507
- upperLimit: Number(he?.value),
1508
- lowerLimit: Number(w?.value)
1509
- }), J = y(() => a.disabled || a.readonly), nt = y(() => J.value ? -1 : a.tabindex), Y = y(() => !B(D?.value)), rt = y(() => {
1510
- if (de.value === !0) return !0;
1511
- if (be.value === !0) return !1;
1512
- }), X = Jt(y(() => a.storageKey ?? (te?.experimentalFeatures.forceInputSuggestions ? a.name : void 0)), ve, /* @__PURE__ */ new Set()), Z = y(() => {
1505
+ }), { hasIcon: et } = Rt(se), { formatted: tt } = qt(k, {
1506
+ mode: te.value,
1507
+ upperLimit: Number(me?.value),
1508
+ lowerLimit: Number(ge?.value)
1509
+ }), J = S(() => s.disabled || s.readonly), nt = S(() => J.value ? -1 : s.tabindex), Y = S(() => !z(ve?.value)), rt = S(() => {
1510
+ if (x.value === !0) return !0;
1511
+ if (xe.value === !0) return !1;
1512
+ }), X = Jt(S(() => s.storageKey ?? (f?.experimentalFeatures.forceInputSuggestions ? s.name : void 0)), D, /* @__PURE__ */ new Set()), Z = S(() => {
1513
1513
  let e = /* @__PURE__ */ new Map();
1514
1514
  if (X.value) for (let t of X.value) e.set(t, { isFromStorage: !0 });
1515
- if (a.suggestions) for (let t of a.suggestions) e.set(t, { isFromStorage: !1 });
1515
+ if (s.suggestions) for (let t of s.suggestions) e.set(t, { isFromStorage: !1 });
1516
1516
  return e;
1517
- }), it = y(() => Z.value.size === 0 ? [] : [...Z.value.entries()].filter(([e]) => B(A.value) || `${e}`.toLowerCase().includes(`${A.value}`.toLowerCase()) && e !== A.value).reverse().map(([e]) => e)), at = y(() => Z.value.size > 0);
1517
+ }), it = S(() => Z.value.size === 0 ? [] : [...Z.value.entries()].filter(([e]) => z(k.value) || `${e}`.toLowerCase().includes(`${k.value}`.toLowerCase()) && e !== k.value).reverse().map(([e]) => e)), at = S(() => Z.value.size > 0);
1518
1518
  function ot(e) {
1519
- A.value = e, ze.value?.hide(), l("suggestion:selected", e);
1519
+ k.value = e, ze.value?.hide(), u("suggestion:selected", e);
1520
1520
  }
1521
1521
  function st(e) {
1522
- Z.value.get(e)?.isFromStorage && (X.value?.delete(e), l("suggestion:removed", e));
1522
+ Z.value.get(e)?.isFromStorage && (X.value?.delete(e), u("suggestion:removed", e));
1523
1523
  }
1524
- let { modifiers: ct } = _e(a), lt = Dt("vv-input-text", ct, y(() => ({
1525
- valid: be.value,
1526
- invalid: de.value,
1527
- loading: me.value,
1528
- disabled: a.disabled,
1529
- required: a.required,
1530
- readonly: a.readonly,
1524
+ let { modifiers: ct } = pe(s), lt = Dt("vv-input-text", ct, S(() => ({
1525
+ valid: xe.value,
1526
+ invalid: x.value,
1527
+ loading: fe.value,
1528
+ disabled: s.disabled,
1529
+ required: s.required,
1530
+ readonly: s.readonly,
1531
1531
  "icon-before": !!Qe.value,
1532
1532
  "icon-after": !!q.value,
1533
- floating: a.floating && !B(a.label),
1533
+ floating: s.floating && !z(s.label),
1534
1534
  dirty: Y.value,
1535
1535
  focus: Be.value && !J.value,
1536
- "auto-width": a.autoWidth
1537
- }))), ut = y(() => [
1536
+ "auto-width": s.autoWidth
1537
+ }))), ut = S(() => [
1538
1538
  $.TEXT,
1539
1539
  $.SEARCH,
1540
1540
  $.URL,
1541
1541
  $.TEL,
1542
1542
  $.EMAIL,
1543
1543
  $.PASSWORD
1544
- ].includes(k.value)), dt = y(() => [
1544
+ ].includes(O.value)), dt = S(() => [
1545
1545
  $.DATE,
1546
1546
  $.MONTH,
1547
1547
  $.WEEK,
1548
1548
  $.TIME,
1549
1549
  $.DATETIME_LOCAL
1550
- ].includes(k.value)), ft = y(() => [
1550
+ ].includes(O.value)), ft = S(() => [
1551
1551
  $.TEXT,
1552
1552
  $.SEARCH,
1553
1553
  $.URL,
1554
1554
  $.TEL,
1555
1555
  $.EMAIL,
1556
1556
  $.PASSWORD
1557
- ].includes(k.value)), pt = y(() => {
1558
- let e = We.value && G.value || Ke.value && !Y.value && !U.value || a.iMask ? $.TEXT : a.type, t = {
1557
+ ].includes(O.value)), pt = S(() => {
1558
+ let e = We.value && G.value || Ke.value && !Y.value && !U.value || s.iMask ? $.TEXT : s.type, t = {
1559
1559
  type: e,
1560
- name: a.name,
1560
+ name: s.name,
1561
1561
  tabindex: nt.value,
1562
- disabled: a.disabled,
1563
- readonly: a.readonly,
1564
- required: a.required,
1565
- autocomplete: a.autocomplete,
1562
+ disabled: s.disabled,
1563
+ readonly: s.readonly,
1564
+ required: s.required,
1565
+ autocomplete: s.autocomplete,
1566
1566
  "aria-invalid": rt.value,
1567
- "aria-describedby": gt.value ? Se.value : void 0,
1568
- "aria-errormessage": _t.value ? Se.value : void 0,
1569
- inputMode: a.inputMode
1567
+ "aria-describedby": gt.value ? Ce.value : void 0,
1568
+ "aria-errormessage": _t.value ? Ce.value : void 0,
1569
+ inputMode: s.inputMode
1570
1570
  };
1571
1571
  if (dt.value || e === $.NUMBER) {
1572
- let n = a.max;
1573
- e === $.DATE && !n && (n = "9999-12-31"), t.step = a.step, t.max = n === void 0 ? void 0 : String(n), t.min = a.min === void 0 ? void 0 : String(a.min);
1572
+ let n = s.max;
1573
+ e === $.DATE && !n && (n = "9999-12-31"), t.step = s.step, t.max = n === void 0 ? void 0 : String(n), t.min = s.min === void 0 ? void 0 : String(s.min);
1574
1574
  }
1575
- return (ut.value || e === $.TEXT || e === $.NUMBER) && (t.placeholder = Ce.value), ft.value && (t.minlength = a.minlength, t.maxlength = a.maxlength, t.pattern = a.pattern), e === $.EMAIL && (t.multiple = a.multiple), t;
1576
- }), mt = y(() => ({
1577
- valid: a.valid,
1578
- invalid: a.invalid,
1579
- modelValue: a.modelValue,
1575
+ return (ut.value || e === $.TEXT || e === $.NUMBER) && (t.placeholder = we.value), ft.value && (t.minlength = s.minlength, t.maxlength = s.maxlength, t.pattern = s.pattern), e === $.EMAIL && (t.multiple = s.multiple), t;
1576
+ }), mt = S(() => ({
1577
+ valid: s.valid,
1578
+ invalid: s.invalid,
1579
+ modelValue: s.modelValue,
1580
1580
  togglePassword: Ge,
1581
1581
  stepUp: Je,
1582
1582
  stepDown: Ye,
1583
1583
  clear: Ze
1584
- })), { HintSlot: ht, hasHintLabelOrSlot: gt, hasInvalidLabelOrSlot: _t, hintSlotScope: vt } = Re(ne, d), yt = Ht($.PASSWORD, a, Y), bt = Ht($.NUMBER, a, Y), xt = Ht($.SEARCH, a, Y);
1584
+ })), { HintSlot: ht, hasHintLabelOrSlot: gt, hasInvalidLabelOrSlot: _t, hintSlotScope: vt } = Re(p, d), yt = Ht($.PASSWORD, s, Y), bt = Ht($.NUMBER, s, Y), xt = Ht($.SEARCH, s, Y);
1585
1585
  function Ct() {
1586
1586
  J.value || (U.value = !0);
1587
1587
  }
1588
- let wt = y(() => {
1589
- if (a.autoWidth) return { width: A.value === void 0 ? void 0 : `${String(A.value).length + 1}ch` };
1588
+ let wt = S(() => {
1589
+ if (s.autoWidth) return { width: k.value === void 0 ? void 0 : `${String(k.value).length + 1}ch` };
1590
1590
  });
1591
1591
  function Tt(e) {
1592
1592
  switch (e.code) {
@@ -1597,109 +1597,109 @@ var Yt = ["for"], Xt = {
1597
1597
  qe.value && (Ye(), e.preventDefault());
1598
1598
  break;
1599
1599
  case "Enter":
1600
- case "NumpadEnter": we();
1600
+ case "NumpadEnter": Te();
1601
1601
  }
1602
- l("keydown", e);
1602
+ u("keydown", e);
1603
1603
  }
1604
- return (e, t) => (f(), E("div", { class: o(T(lt)) }, [
1605
- T(x) ? (f(), E("label", {
1604
+ return (t, r) => (c(), T("div", { class: ee(v(lt)) }, [
1605
+ v(ue) ? (c(), T("label", {
1606
1606
  key: 0,
1607
- for: T(xe),
1607
+ for: v(Se),
1608
1608
  class: "vv-input-text__label"
1609
- }, fe(T(x)), 9, Yt)) : C("v-if", !0),
1610
- v("div", {
1609
+ }, h(v(ue)), 9, Yt)) : _("v-if", !0),
1610
+ b("div", {
1611
1611
  ref_key: "wrapperEl",
1612
1612
  ref: H,
1613
1613
  class: "vv-input-text__wrapper"
1614
1614
  }, [
1615
- e.$slots.before ? (f(), E("div", Xt, [m(e.$slots, "before", p(i(T(mt))))])) : C("v-if", !0),
1616
- v("div", {
1615
+ t.$slots.before ? (c(), T("div", Xt, [n(t.$slots, "before", i(m(v(mt))))])) : _("v-if", !0),
1616
+ b("div", {
1617
1617
  ref_key: "innerEl",
1618
- ref: Le,
1618
+ ref: V,
1619
1619
  class: "vv-input-text__inner",
1620
- onClick: oe(Ct, ["stop"])
1620
+ onClick: w(Ct, ["stop"])
1621
1621
  }, [
1622
- T(Qe) ? (f(), g(Q, u({ key: 0 }, T(Qe), { class: "vv-input-text__icon" }), null, 16)) : C("v-if", !0),
1623
- v("input", u({
1624
- id: T(xe),
1622
+ v(Qe) ? (c(), y(Q, l({ key: 0 }, v(Qe), { class: "vv-input-text__icon" }), null, 16)) : _("v-if", !0),
1623
+ b("input", l({
1624
+ id: v(Se),
1625
1625
  ref_key: "inputEl",
1626
- ref: V
1627
- }, T(pt), {
1628
- style: T(wt),
1629
- onKeyup: t[0] ||= (e) => l("keyup", e),
1626
+ ref: B
1627
+ }, v(pt), {
1628
+ style: v(wt),
1629
+ onKeyup: r[0] ||= (e) => u("keyup", e),
1630
1630
  onKeydown: Tt,
1631
- onKeypress: t[1] ||= (e) => l("keypress", e)
1631
+ onKeypress: r[1] ||= (e) => u("keypress", e)
1632
1632
  }), null, 16, Zt),
1633
- (T(ye) || e.$slots.unit) && T(Y) ? (f(), E("div", Qt, [m(e.$slots, "unit", p(i(T(mt))), () => [ge(fe(T(ye)), 1)])])) : C("v-if", !0)
1633
+ (v(be) || t.$slots.unit) && v(Y) ? (c(), T("div", Qt, [n(t.$slots, "unit", i(m(v(mt))), () => [re(h(v(be)), 1)])])) : _("v-if", !0)
1634
1634
  ], 512),
1635
- T(q) ? (f(), g(Q, u({ key: 1 }, T(q), { class: "vv-input-text__icon vv-input-text__icon-after" }), null, 16)) : T(We) && !e.hideActions && !T(J) ? (f(), g(T(yt), {
1635
+ v(q) ? (c(), y(Q, l({ key: 1 }, v(q), { class: "vv-input-text__icon vv-input-text__icon-after" }), null, 16)) : v(We) && !t.hideActions && !v(J) ? (c(), y(v(yt), {
1636
1636
  key: 2,
1637
1637
  onTogglePassword: Ge
1638
- })) : T(qe) && !e.hideActions && !T(J) ? (f(), g(T(bt), {
1638
+ })) : v(qe) && !t.hideActions && !v(J) ? (c(), y(v(bt), {
1639
1639
  key: 3,
1640
1640
  onStepUp: Je,
1641
1641
  onStepDown: Ye
1642
- })) : T(Xe) && !e.hideActions && !T(J) ? (f(), g(T(xt), {
1642
+ })) : v(Xe) && !t.hideActions && !v(J) ? (c(), y(v(xt), {
1643
1643
  key: 4,
1644
1644
  onClear: Ze
1645
- })) : C("v-if", !0),
1646
- e.$slots.after ? (f(), E("div", $t, [m(e.$slots, "after", p(i(T(mt))))])) : C("v-if", !0),
1647
- T(re) ? (f(), E("span", en, [m(e.$slots, "count", p(i(T(mt))), () => [ge(fe(T(tt)), 1)])])) : C("v-if", !0)
1645
+ })) : _("v-if", !0),
1646
+ t.$slots.after ? (c(), T("div", $t, [n(t.$slots, "after", i(m(v(mt))))])) : _("v-if", !0),
1647
+ v(te) ? (c(), T("span", en, [n(t.$slots, "count", i(m(v(mt))), () => [re(h(v(tt)), 1)])])) : _("v-if", !0)
1648
1648
  ], 512),
1649
- ee(T(ht), {
1650
- id: T(Se),
1649
+ he(v(ht), {
1650
+ id: v(Ce),
1651
1651
  class: "vv-input-text__hint"
1652
- }, ie({ _: 2 }, [
1653
- e.$slots.hint ? {
1652
+ }, _e({ _: 2 }, [
1653
+ t.$slots.hint ? {
1654
1654
  name: "hint",
1655
- fn: _(() => [m(e.$slots, "hint", p(i(T(vt))))]),
1655
+ fn: e(() => [n(t.$slots, "hint", i(m(v(vt))))]),
1656
1656
  key: "0"
1657
1657
  } : void 0,
1658
- e.$slots.loading ? {
1658
+ t.$slots.loading ? {
1659
1659
  name: "loading",
1660
- fn: _(() => [m(e.$slots, "loading", p(i(T(vt))))]),
1660
+ fn: e(() => [n(t.$slots, "loading", i(m(v(vt))))]),
1661
1661
  key: "1"
1662
1662
  } : void 0,
1663
- e.$slots.valid ? {
1663
+ t.$slots.valid ? {
1664
1664
  name: "valid",
1665
- fn: _(() => [m(e.$slots, "valid", p(i(T(vt))))]),
1665
+ fn: e(() => [n(t.$slots, "valid", i(m(v(vt))))]),
1666
1666
  key: "2"
1667
1667
  } : void 0,
1668
- e.$slots.invalid ? {
1668
+ t.$slots.invalid ? {
1669
1669
  name: "invalid",
1670
- fn: _(() => [m(e.$slots, "invalid", p(i(T(vt))))]),
1670
+ fn: e(() => [n(t.$slots, "invalid", i(m(v(vt))))]),
1671
1671
  key: "3"
1672
1672
  } : void 0
1673
1673
  ]), 1032, ["id"]),
1674
- T(at) ? (f(), g(At, {
1674
+ v(at) ? (c(), y(At, {
1675
1675
  key: 1,
1676
1676
  ref_key: "suggestionsDropdownEl",
1677
1677
  ref: ze,
1678
- reference: T(H),
1678
+ reference: v(H),
1679
1679
  "autofocus-first": !1,
1680
1680
  "trigger-width": !0,
1681
- "top-layer": T(ne).topLayer
1681
+ "top-layer": v(p).topLayer
1682
1682
  }, {
1683
- items: _(() => [(f(!0), E(ce, null, n(T(it), (t) => (f(), g(Pt, {
1684
- key: String(t),
1685
- onClick: oe((e) => ot(t), ["stop"])
1683
+ items: e(() => [(c(!0), T(oe, null, ye(v(it), (r) => (c(), y(Pt, {
1684
+ key: String(r),
1685
+ onClick: w((e) => ot(r), ["stop"])
1686
1686
  }, {
1687
- default: _(() => [v("div", tn, [m(e.$slots, "suggestion", u({ ref_for: !0 }, { value: t }), () => [ge(fe(t), 1)])]), T(Z).get(t)?.isFromStorage && T(et) ? (f(), E("button", {
1687
+ default: e(() => [b("div", tn, [n(t.$slots, "suggestion", l({ ref_for: !0 }, { value: r }), () => [re(h(r), 1)])]), v(Z).get(r)?.isFromStorage && v(et) ? (c(), T("button", {
1688
1688
  key: 0,
1689
1689
  type: "button",
1690
1690
  tabindex: "-1",
1691
1691
  class: "cursor-pointer",
1692
- title: T(pe),
1693
- onClick: oe((e) => st(t), ["stop"])
1694
- }, [ee(Q, u({ ref_for: !0 }, T(et)), null, 16)], 8, nn)) : C("v-if", !0)]),
1692
+ title: v(de),
1693
+ onClick: w((e) => st(r), ["stop"])
1694
+ }, [he(Q, l({ ref_for: !0 }, v(et)), null, 16)], 8, nn)) : _("v-if", !0)]),
1695
1695
  _: 2
1696
1696
  }, 1032, ["onClick"]))), 128))]),
1697
1697
  _: 3
1698
- }, 8, ["reference", "top-layer"])) : C("v-if", !0)
1698
+ }, 8, ["reference", "top-layer"])) : _("v-if", !0)
1699
1699
  ], 2));
1700
1700
  }
1701
1701
  });
1702
1702
  //#endregion
1703
1703
  export { rn as default };
1704
1704
 
1705
- //# sourceMappingURL=VvInputText.es-B0HHD6Th.js.map
1705
+ //# sourceMappingURL=VvInputText.es-CdpU8kvP.js.map