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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,12 +1,12 @@
1
1
  import { $ as e, A as t, B as n, D as r, Dt as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, Ot as m, P as h, Q as g, S as _, St as v, T as ee, Tt as y, U as b, V as x, W as S, Y as C, _ as w, a as T, b as E, bt as te, d as D, et as ne, f as re, g as O, gt as k, h as A, k as ie, kt as j, l as ae, nt as oe, o as se, ot as ce, pt as M, q as le, r as ue, t as de, tt as N, ut as fe, v as P, w as F, wt as I, x as L, xt as R, y as z, z as B } from "./vue.runtime.esm-bundler-C2U5uTqB.js";
2
- import { a as V, i as pe, t as me } from "./iconify-oSMMdRMF.js";
2
+ import { a as V, i as pe, t as me } from "./iconify-Cj-qXWYO.js";
3
3
  import { S as he, c as ge, f as _e, g as ve, n as ye, p as be, r as xe, u as Se, x as Ce } from "./dist-D6oUr4J_.js";
4
- import { a as H, c as we, i as Te, l as U, n as Ee, o as De, r as Oe, s as W, t as ke } from "./floating-ui.vue-HobyB7z6.js";
5
- import { t as Ae } from "./dot-prop-Dmp6Zjqs.js";
6
- import { t as je } from "./esm-DrTdMB4T.js";
7
- // ../../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/index.es.js
4
+ import { a as H, c as we, i as Te, l as Ee, n as De, o as Oe, r as ke, s as Ae, t as je } from "./floating-ui.vue-HobyB7z6.js";
5
+ import { t as Me } from "./dot-prop-Dmp6Zjqs.js";
6
+ import { t as U } from "./esm-DrTdMB4T.js";
7
+ // ../../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/index.es.js
8
8
  ie(), ue(), ce(), y();
9
- var G = {
9
+ var W = {
10
10
  showPassword: "eye-on",
11
11
  hidePassword: "eye-off",
12
12
  showDatePicker: "calendar",
@@ -17,7 +17,7 @@ var G = {
17
17
  remove: "trash",
18
18
  edit: "edit",
19
19
  download: "download"
20
- }, Me = { prefix: "normal" }, Ne = /* @__PURE__ */ (function(e) {
20
+ }, Ne = { prefix: "normal" }, G = /* @__PURE__ */ (function(e) {
21
21
  return e.local = "local", e.session = "session", e;
22
22
  })({}), Pe = /* @__PURE__ */ (function(e) {
23
23
  return e.absolute = "absolute", e.fixed = "fixed", e;
@@ -96,7 +96,7 @@ var G = {
96
96
  },
97
97
  iconClear: {
98
98
  type: [String, Object],
99
- default: G.clear
99
+ default: W.clear
100
100
  },
101
101
  labelClear: {
102
102
  type: String,
@@ -364,8 +364,8 @@ var G = {
364
364
  } }, Dt = {
365
365
  storageType: {
366
366
  type: String,
367
- default: Ne.local,
368
- validator: (e) => Object.values(Ne).includes(e)
367
+ default: G.local,
368
+ validator: (e) => Object.values(G).includes(e)
369
369
  },
370
370
  storageKey: String
371
371
  };
@@ -517,21 +517,21 @@ var Mt = ["id", "open"], Nt = ["aria-controls", "aria-expanded"], Pt = ["aria-hi
517
517
  ...X,
518
518
  ...Dt
519
519
  });
520
- function It(e, t = Ne.local, n) {
520
+ function It(e, t = G.local, n) {
521
521
  let r = k();
522
522
  n && (r.value = n);
523
523
  let i;
524
524
  return f(() => {
525
525
  e && g(e, (e, n) => {
526
- let a = I(t) === Ne.session ? sessionStorage : localStorage;
526
+ let a = I(t) === G.session ? sessionStorage : localStorage;
527
527
  n && n !== e && a.removeItem(n), e ? (i = Ce(e, i?.value ?? r.value, a), i.value && (r.value = i.value)) : i = void 0;
528
528
  }, { immediate: !0 }), fe(t) && g(t, (t, n) => {
529
529
  if (e?.value) {
530
530
  if (t) {
531
- let n = t === Ne.session ? sessionStorage : localStorage;
531
+ let n = t === G.session ? sessionStorage : localStorage;
532
532
  i = Ce(e.value, i?.value ?? r.value, n);
533
533
  }
534
- n && n !== t && (n === Ne.session ? sessionStorage : localStorage).removeItem(e.value);
534
+ n && n !== t && (n === G.session ? sessionStorage : localStorage).removeItem(e.value);
535
535
  }
536
536
  });
537
537
  }), g(r, (e) => {
@@ -739,7 +739,7 @@ var Q = /* @__PURE__ */ F({
739
739
  onLoad: { type: Function },
740
740
  svg: {},
741
741
  modifiers: {}
742
- }, Me),
742
+ }, Ne),
743
743
  setup(e) {
744
744
  let t = e, n = A(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = k(!0), i = zt(), { modifiers: a } = R(t), o = Z("vv-icon", a), s = A(() => t.provider || i?.iconsProvider), c = A(() => {
745
745
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
@@ -1294,9 +1294,9 @@ function Rn(e) {
1294
1294
  let { options: t, labelKey: n, valueKey: r, disabledKey: i } = R(e);
1295
1295
  return {
1296
1296
  options: t,
1297
- getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? Ae(e, n.value) : e),
1298
- getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? Ae(e, r.value) : e,
1299
- isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!Ae(e, i.value) : !1,
1297
+ getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? Me(e, n.value) : e),
1298
+ getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? Me(e, r.value) : e,
1299
+ isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!Me(e, i.value) : !1,
1300
1300
  getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
1301
1301
  };
1302
1302
  }
@@ -1604,7 +1604,7 @@ function Jn(e, t) {
1604
1604
  };
1605
1605
  }
1606
1606
  function Yn({ reference: e, id: t, expanded: i, aria: a }) {
1607
- let o = U();
1607
+ let o = Ee();
1608
1608
  return {
1609
1609
  bus: o,
1610
1610
  component: F({
@@ -1693,58 +1693,69 @@ var Qn = ["popover"], $n = [
1693
1693
  reset: { rects: !0 }
1694
1694
  });
1695
1695
  }
1696
- }, M = A(() => {
1696
+ };
1697
+ function M(e) {
1698
+ return r.triggerWidth && !ie.value ? e.reference.width : 0;
1699
+ }
1700
+ let le = {
1701
+ name: "triggerWidth",
1702
+ fn({ elements: e, rects: t, middlewareData: n }) {
1703
+ let { style: r } = e.floating, i = M(t), a = Number.parseFloat(r.width) || 0;
1704
+ return n.triggerWidth || Math.abs(i - a) < .01 ? {} : (r.width = i ? `${i}px` : "", { reset: { rects: !0 } });
1705
+ }
1706
+ }, ue = A(() => {
1697
1707
  let e = [];
1698
- r.size && e.push(ce), r.offset && e.push(["string", "number"].includes(typeof r.offset) ? De(Number(r.offset)) : De(r.offset));
1708
+ r.triggerWidth && e.push(le), r.size && e.push(ce), r.offset && e.push(["string", "number"].includes(typeof r.offset) ? Oe(Number(r.offset)) : Oe(r.offset));
1699
1709
  let t = typeof r.size == "object" ? r.size.padding : void 0;
1700
- if (r.autoPlacement ? e.push(j(r.autoPlacement, () => Oe(), (e) => Oe(e))) : r.flip && e.push(j(r.flip, () => H({
1710
+ if (r.autoPlacement ? e.push(j(r.autoPlacement, () => ke(), (e) => ke(e))) : r.flip && e.push(j(r.flip, () => H({
1701
1711
  fallbackStrategy: "initialPlacement",
1702
1712
  padding: t
1703
1713
  }), (e) => H({
1704
1714
  padding: t,
1705
1715
  ...e
1706
- }))), r.shift && e.push(j(r.shift, () => W(), (e) => W(e))), r.size) {
1707
- let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: i }) => {
1708
- if (se(i.floating) || ie.value) return;
1709
- let { style: a } = n.floating;
1710
- a.maxWidth = r.triggerWidth && C.value ? "" : `${Math.max(0, e)}px`, a.maxHeight = `${Math.max(0, t)}px`;
1716
+ }))), r.shift && e.push(j(r.shift, () => Ae(), (e) => Ae(e))), r.size) {
1717
+ let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
1718
+ if (se(r.floating) || ie.value) return;
1719
+ let { style: i } = n.floating;
1720
+ i.maxWidth = M(r) ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
1711
1721
  };
1712
1722
  e.push(j(r.size, () => we({ apply: t }), (e) => we({
1713
1723
  ...e,
1714
1724
  apply: (n) => (t(n), e?.apply?.(n))
1715
1725
  })));
1716
1726
  }
1717
- return r.arrow && e.push(ke({ element: x })), e;
1718
- }), { x: le, y: ue, middlewareData: fe, placement: F, strategy: L, update: V } = Ee(C, b, {
1727
+ return r.arrow && e.push(je({ element: x })), e;
1728
+ }), { x: fe, y: F, middlewareData: L, placement: V, strategy: pe, update: me } = De(C, b, {
1719
1729
  placement: A(() => r.placement),
1720
1730
  strategy: D,
1721
- middleware: M
1722
- }), pe = A(() => {
1723
- if (ie.value) return;
1724
- let e = r.triggerWidth && C.value ? `${C.value?.offsetWidth}px` : void 0;
1725
- return {
1726
- position: L.value,
1727
- top: `${ue.value ?? 0}px`,
1728
- left: `${le.value ?? 0}px`,
1729
- width: e
1731
+ middleware: ue
1732
+ }), _e = A(() => {
1733
+ if (!ie.value) return {
1734
+ position: pe.value,
1735
+ top: `${F.value ?? 0}px`,
1736
+ left: `${fe.value ?? 0}px`
1730
1737
  };
1731
- }), me = A(() => F.value.split("-")[0]), _e = A(() => {
1738
+ });
1739
+ g(() => r.triggerWidth, (e) => {
1740
+ !e && b.value && (b.value.style.width = "");
1741
+ });
1742
+ let Se = A(() => V.value.split("-")[0]), Ce = A(() => {
1732
1743
  if (ie.value) return;
1733
1744
  let e = {
1734
1745
  [K.top]: K.bottom,
1735
1746
  [K.right]: K.left,
1736
1747
  [K.bottom]: K.top,
1737
1748
  [K.left]: K.right
1738
- }[me.value];
1749
+ }[Se.value];
1739
1750
  return {
1740
- left: fe.value.arrow?.x === void 0 ? void 0 : `${fe.value.arrow?.x}px`,
1741
- top: fe.value.arrow?.y === void 0 ? void 0 : `${fe.value.arrow?.y}px`,
1751
+ left: L.value.arrow?.x === void 0 ? void 0 : `${L.value.arrow?.x}px`,
1752
+ top: L.value.arrow?.y === void 0 ? void 0 : `${L.value.arrow?.y}px`,
1742
1753
  [e]: `${-(x.value?.offsetWidth ?? 0) / 2}px`
1743
1754
  };
1744
- }), Se = he(r, "modelValue", u), Ce = k(!1), U = A({
1745
- get: () => Se.value ?? Ce.value,
1755
+ }), Ee = he(r, "modelValue", u), Me = k(!1), U = A({
1756
+ get: () => Ee.value ?? Me.value,
1746
1757
  set: (e) => {
1747
- Se.value === void 0 ? Ce.value = e : Se.value = e;
1758
+ Ee.value === void 0 ? Me.value = e : Ee.value = e;
1748
1759
  }
1749
1760
  });
1750
1761
  g([
@@ -1753,12 +1764,12 @@ var Qn = ["popover"], $n = [
1753
1764
  b,
1754
1765
  D
1755
1766
  ], ([e, t, n, r], i, a) => {
1756
- e && t && n && a(Te(t, n, V, { animationFrame: r === Pe.fixed }));
1767
+ e && t && n && a(Te(t, n, me, { animationFrame: r === Pe.fixed }));
1757
1768
  }, {
1758
1769
  flush: "post",
1759
1770
  immediate: !0
1760
1771
  }), ve(S, () => {
1761
- U.value && V();
1772
+ U.value && me();
1762
1773
  }, {
1763
1774
  childList: !0,
1764
1775
  subtree: !0,
@@ -1766,62 +1777,62 @@ var Qn = ["popover"], $n = [
1766
1777
  }), ne(() => {
1767
1778
  U.value && E();
1768
1779
  });
1769
- function Ae() {
1780
+ function W() {
1770
1781
  U.value = !0;
1771
1782
  }
1772
- function je() {
1783
+ function Ne() {
1773
1784
  U.value = !1;
1774
1785
  }
1775
1786
  function G() {
1776
1787
  U.value = !U.value;
1777
1788
  }
1778
- function Me(e) {
1789
+ function Fe(e) {
1779
1790
  C.value = e;
1780
1791
  }
1781
1792
  ye(b, () => {
1782
1793
  !r.keepOpen && U.value && (U.value = !1);
1783
1794
  }, { ignore: [C] });
1784
- let Ne = A(() => C.value?.getAttribute?.("id") ?? void 0), Fe = A(() => ({
1795
+ let Ie = A(() => C.value?.getAttribute?.("id") ?? void 0), Le = A(() => ({
1785
1796
  "aria-controls": v.value,
1786
1797
  "aria-haspopup": !0,
1787
1798
  "aria-expanded": U.value
1788
- })), { component: Ie, bus: Le } = Yn({
1799
+ })), { component: q, bus: Re } = Yn({
1789
1800
  reference: C,
1790
1801
  id: v,
1791
1802
  expanded: U,
1792
- aria: Fe
1803
+ aria: Le
1793
1804
  });
1794
- Le.on("click", G);
1795
- let { role: q, modifiers: Re } = R(r), ze = Z("vv-dropdown", Re, A(() => ({ arrow: r.arrow }))), { focused: Be } = be(b);
1796
- function Ve(e) {
1805
+ Re.on("click", G);
1806
+ let { role: ze, modifiers: Be } = R(r), Ve = Z("vv-dropdown", Be, A(() => ({ arrow: r.arrow }))), { focused: He } = be(b);
1807
+ function Ue(e) {
1797
1808
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
1798
1809
  }
1799
- function He() {
1810
+ function We() {
1800
1811
  s(() => {
1801
- let e = Ve(b.value);
1812
+ let e = Ue(b.value);
1802
1813
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1803
1814
  });
1804
1815
  }
1805
- function Ue() {
1816
+ function Ge() {
1806
1817
  s(() => {
1807
- let e = Ve(S.value);
1818
+ let e = Ue(S.value);
1808
1819
  e.length > 0 && e[0].focus({ preventScroll: !0 });
1809
1820
  });
1810
1821
  }
1811
- function We() {
1822
+ function Ke() {
1812
1823
  s(() => {
1813
- if (Be.value) {
1814
- let e = Ve(b.value);
1824
+ if (He.value) {
1825
+ let e = Ue(b.value);
1815
1826
  if (e.length === 0 || !document.activeElement) return;
1816
1827
  let t = e.indexOf(document.activeElement);
1817
1828
  t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
1818
1829
  }
1819
1830
  });
1820
1831
  }
1821
- function Ge() {
1832
+ function qe() {
1822
1833
  s(() => {
1823
- if (Be.value) {
1824
- let e = Ve(b.value);
1834
+ if (He.value) {
1835
+ let e = Ue(b.value);
1825
1836
  if (e.length === 0 || !document.activeElement) return;
1826
1837
  let t = e.indexOf(document.activeElement);
1827
1838
  if (t > 0) {
@@ -1833,35 +1844,35 @@ var Qn = ["popover"], $n = [
1833
1844
  });
1834
1845
  }
1835
1846
  g(U, (e) => {
1836
- e && r.autofocusFirst && He();
1847
+ e && r.autofocusFirst && We();
1837
1848
  }), t({
1838
1849
  toggle: G,
1839
- show: Ae,
1840
- hide: je,
1841
- init: Me,
1842
- focusFirst: He,
1843
- focusFirstListElement: Ue,
1844
- focusNext: We,
1845
- focusPrev: Ge,
1850
+ show: W,
1851
+ hide: Ne,
1852
+ init: Fe,
1853
+ focusFirst: We,
1854
+ focusFirstListElement: Ge,
1855
+ focusNext: Ke,
1856
+ focusPrev: qe,
1846
1857
  customPosition: ie
1847
1858
  });
1848
- let { itemRole: Ke } = Xn({
1849
- role: q,
1859
+ let { itemRole: Je } = Xn({
1860
+ role: ze,
1850
1861
  expanded: U,
1851
- focused: Be,
1862
+ focused: He,
1852
1863
  hovered: ge(b)
1853
1864
  });
1854
1865
  xe("Escape", (e) => {
1855
- U.value && (e.preventDefault(), je());
1866
+ U.value && (e.preventDefault(), Ne());
1856
1867
  }), xe("ArrowDown", (e) => {
1857
- U.value && Be.value && (e.preventDefault(), We());
1868
+ U.value && He.value && (e.preventDefault(), Ke());
1858
1869
  }), xe("ArrowUp", (e) => {
1859
- U.value && Be.value && (e.preventDefault(), Ge());
1870
+ U.value && He.value && (e.preventDefault(), qe());
1860
1871
  }), xe([" ", "Enter"], (e) => {
1861
1872
  let t = e.target;
1862
- U.value && Be.value && t && t?.click();
1873
+ U.value && He.value && t && t?.click();
1863
1874
  });
1864
- let qe = {
1875
+ let Ye = {
1865
1876
  "before-enter": () => {
1866
1877
  u("beforeExpand"), u("beforeEnter");
1867
1878
  },
@@ -1887,34 +1898,34 @@ var Qn = ["popover"], $n = [
1887
1898
  u("leaveCancelled");
1888
1899
  }
1889
1900
  };
1890
- return (e, t) => (B(), z(re, null, [_(I(Ie), null, {
1901
+ return (e, t) => (B(), z(re, null, [_(I(q), null, {
1891
1902
  default: N(() => [l(e.$slots, "default", i(a({
1892
- init: Me,
1893
- show: Ae,
1894
- hide: je,
1903
+ init: Fe,
1904
+ show: W,
1905
+ hide: Ne,
1895
1906
  toggle: G,
1896
1907
  expanded: I(U),
1897
- aria: I(Fe)
1908
+ aria: I(Le)
1898
1909
  })))]),
1899
1910
  _: 3
1900
- }), _(de, h({ name: e.transitionName }, c(qe), { persisted: "" }), {
1911
+ }), _(de, h({ name: e.transitionName }, c(Ye), { persisted: "" }), {
1901
1912
  default: N(() => [oe(O("div", {
1902
1913
  ref_key: "floatingEl",
1903
1914
  ref: b,
1904
1915
  popover: I(T),
1905
- style: m(I(pe)),
1906
- class: o(I(ze))
1916
+ style: m(I(_e)),
1917
+ class: o(I(Ve))
1907
1918
  }, [
1908
1919
  r.arrow ? (B(), z("div", {
1909
1920
  key: 0,
1910
1921
  ref_key: "arrowEl",
1911
1922
  ref: x,
1912
- style: m(I(_e)),
1923
+ style: m(I(Ce)),
1913
1924
  class: "vv-dropdown__arrow"
1914
1925
  }, null, 4)) : P("v-if", !0),
1915
1926
  l(e.$slots, "before", i(a({
1916
- show: Ae,
1917
- hide: je,
1927
+ show: W,
1928
+ hide: Ne,
1918
1929
  toggle: G,
1919
1930
  expanded: I(U)
1920
1931
  }))),
@@ -1923,19 +1934,19 @@ var Qn = ["popover"], $n = [
1923
1934
  ref_key: "listEl",
1924
1935
  ref: S,
1925
1936
  tabindex: I(U) ? void 0 : -1,
1926
- role: I(q),
1927
- "aria-labelledby": I(Ne),
1937
+ role: I(ze),
1938
+ "aria-labelledby": I(Ie),
1928
1939
  class: "vv-dropdown__list"
1929
1940
  }), [l(e.$slots, "items", i(a({
1930
- show: Ae,
1931
- hide: je,
1941
+ show: W,
1942
+ hide: Ne,
1932
1943
  toggle: G,
1933
1944
  expanded: I(U),
1934
- role: I(Ke)
1945
+ role: I(Je)
1935
1946
  })))], 16, $n),
1936
1947
  l(e.$slots, "after", i(a({
1937
- show: Ae,
1938
- hide: je,
1948
+ show: W,
1949
+ hide: Ne,
1939
1950
  toggle: G,
1940
1951
  expanded: I(U)
1941
1952
  })))
@@ -2214,7 +2225,7 @@ var sr = [
2214
2225
  ...Y,
2215
2226
  ...et,
2216
2227
  ...pt
2217
- }), G.add, G.edit, G.download, {
2228
+ }), W.add, W.edit, W.download, {
2218
2229
  ...yt,
2219
2230
  ...bt,
2220
2231
  ...mt,
@@ -2350,19 +2361,19 @@ var $ = {
2350
2361
  multiple: Boolean,
2351
2362
  iconShowPassword: {
2352
2363
  type: [String, Object],
2353
- default: G.showPassword
2364
+ default: W.showPassword
2354
2365
  },
2355
2366
  iconHidePassword: {
2356
2367
  type: [String, Object],
2357
- default: G.hidePassword
2368
+ default: W.hidePassword
2358
2369
  },
2359
2370
  iconClear: {
2360
2371
  type: [String, Object],
2361
- default: G.clear
2372
+ default: W.clear
2362
2373
  },
2363
2374
  iconRemoveSuggestion: {
2364
2375
  type: [String, Object],
2365
- default: G.remove
2376
+ default: W.remove
2366
2377
  },
2367
2378
  labelStepUp: {
2368
2379
  type: String,
@@ -2443,11 +2454,11 @@ var $ = {
2443
2454
  },
2444
2455
  iconShow: {
2445
2456
  type: [String, Object],
2446
- default: G.showPassword
2457
+ default: W.showPassword
2447
2458
  },
2448
2459
  iconHide: {
2449
2460
  type: [String, Object],
2450
- default: G.hidePassword
2461
+ default: W.hidePassword
2451
2462
  }
2452
2463
  },
2453
2464
  emits: ["toggle-password"],
@@ -2614,7 +2625,7 @@ var Nr = ["for"], Pr = {
2614
2625
  let r = e, s = n, c = C(), u = zt(), d = Mn("VvInputText", Or, r), { count: p, debounce: m, icon: v, iconPosition: ee, iconRemoveSuggestion: y, id: b, invalid: S, label: T, labelRemoveSuggestion: te, loading: ne, maxlength: ie, minlength: ae, modelValue: oe, step: se, storageType: ce, type: M, unit: le, valid: ue } = R(r), de = Gt(b), fe = A(() => `${de.value}-hint`), F = A(() => r.floating && _n(r.placeholder) ? " " : r.placeholder), { model: V, flush: pe } = _r(oe, s, m), me = A(() => {
2615
2626
  let e = Number(se.value);
2616
2627
  return !Number.isNaN(e) && e % 60 != 0;
2617
- }), he = /^-0?[.,]?[0*]?$/, ge = /./, _e = /^-$|^$/, ve = k(!1), ye = k(), be = k(), { el: xe, mask: Ce, typed: H, masked: we, unmasked: Te } = je(A(() => {
2628
+ }), he = /^-0?[.,]?[0*]?$/, ge = /./, _e = /^-$|^$/, ve = k(!1), ye = k(), be = k(), { el: xe, mask: Ce, typed: H, masked: we, unmasked: Te } = U(A(() => {
2618
2629
  if (!r.iMask) return { mask: ge };
2619
2630
  if (r.iMask.mask === Number) {
2620
2631
  let e = { ...r.iMask };
@@ -2626,31 +2637,31 @@ var Nr = ["for"], Pr = {
2626
2637
  onAccept: () => {
2627
2638
  if (ve.value) {
2628
2639
  if (s("update:masked", we.value), M.value === $.NUMBER) {
2629
- U();
2640
+ Ee();
2630
2641
  return;
2631
2642
  }
2632
2643
  if (M.value === $.DATETIME_LOCAL || M.value === $.DATE || M.value === $.TIME || M.value === $.MONTH) {
2633
- De();
2644
+ Oe();
2634
2645
  return;
2635
2646
  }
2636
2647
  !V.value && !Te.value || (V.value = Te.value);
2637
2648
  }
2638
2649
  }
2639
2650
  });
2640
- function U() {
2651
+ function Ee() {
2641
2652
  if (_e.test(Te.value)) {
2642
2653
  if (V.value === null || V.value === void 0) return;
2643
2654
  V.value = void 0;
2644
2655
  } else he.test(Te.value) ? V.value = 0 : typeof H.value == "number" ? V.value = H.value : V.value = Number(H.value);
2645
2656
  }
2646
- function Ee(e) {
2657
+ function De(e) {
2647
2658
  let t = new Date(ye.value || be.value);
2648
2659
  if ((M.value === $.DATETIME_LOCAL || M.value === $.DATE || M.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (M.value === $.DATETIME_LOCAL || M.value === $.DATE) && t.setDate(e.getDate()), (M.value === $.DATETIME_LOCAL || M.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), ye.value instanceof Date) {
2649
2660
  if (V.value?.getTime() === t.getTime()) return;
2650
2661
  V.value = t;
2651
2662
  } else V.value = t.toISOString();
2652
2663
  }
2653
- function De() {
2664
+ function Oe() {
2654
2665
  let e = M.value;
2655
2666
  if (!H.value) {
2656
2667
  if (!V.value) return;
@@ -2666,9 +2677,9 @@ var Nr = ["for"], Pr = {
2666
2677
  return;
2667
2678
  }
2668
2679
  let t = H.value;
2669
- t instanceof Date || (t = Er(H.value, e)), ye.value || be.value ? Ee(t) : V.value = xr(t, e, me.value);
2680
+ t instanceof Date || (t = Er(H.value, e)), ye.value || be.value ? De(t) : V.value = xr(t, e, me.value);
2670
2681
  }
2671
- function Oe(e) {
2682
+ function ke(e) {
2672
2683
  if (e == null) H.value = "", Te.value = "";
2673
2684
  else if (r.iMask?.mask === Date) H.value = e instanceof Date ? e : new Date(e);
2674
2685
  else if (!(M.value === $.NUMBER && he.test(Te.value) && e === 0)) {
@@ -2686,25 +2697,25 @@ var Nr = ["for"], Pr = {
2686
2697
  }
2687
2698
  }
2688
2699
  f(() => {
2689
- Ce.value && (ve.value = !0, Oe(r.modelValue));
2700
+ Ce.value && (ve.value = !0, ke(r.modelValue));
2690
2701
  }), g(() => r.modelValue, (e) => {
2691
- Ce.value && Oe(e);
2702
+ Ce.value && ke(e);
2692
2703
  }), g(() => r.masked, (e) => {
2693
2704
  we.value = e ?? "";
2694
2705
  });
2695
- let W = xe, ke = k(), Ae = k(), Me = k();
2706
+ let Ae = xe, je = k(), Me = k(), Ne = k();
2696
2707
  t({
2697
- $input: W,
2698
- $inner: ke,
2699
- $wrapper: Ae,
2708
+ $input: Ae,
2709
+ $inner: je,
2710
+ $wrapper: Me,
2700
2711
  flush: pe
2701
2712
  });
2702
- let { focused: Ne } = or(W, s), Pe = A(() => Ne.value && !r.disabled && !r.readonly);
2713
+ let { focused: G } = or(Ae, s), Pe = A(() => G.value && !r.disabled && !r.readonly);
2703
2714
  function K(e) {
2704
2715
  e ? Fe() : Ie();
2705
2716
  }
2706
2717
  function Fe() {
2707
- d.value.selectOnFocus && W.value && W.value.select(), et.value.size && Me.value?.show();
2718
+ d.value.selectOnFocus && Ae.value && Ae.value.select(), et.value.size && Ne.value?.show();
2708
2719
  }
2709
2720
  function Ie() {
2710
2721
  let e = pe() ?? V.value;
@@ -2713,9 +2724,9 @@ var Nr = ["for"], Pr = {
2713
2724
  Y.value.size >= t && !Y.value.has(e) && (Y.value = new Set([...Y.value].slice(Y.value.size - t + 1))), Y.value.add(e);
2714
2725
  }
2715
2726
  g(Pe, K);
2716
- let Le = Se(W);
2727
+ let Le = Se(Ae);
2717
2728
  g(Le, (e) => {
2718
- e && r.autofocus && !r.disabled && !r.readonly && (Ne.value = !0);
2729
+ e && r.autofocus && !r.disabled && !r.readonly && (G.value = !0);
2719
2730
  });
2720
2731
  let q = k(!1), Re = A(() => r.type === $.PASSWORD);
2721
2732
  function ze() {
@@ -2728,7 +2739,7 @@ var Nr = ["for"], Pr = {
2728
2739
  H.value = Number(H.value) + Number(se?.value ?? 1);
2729
2740
  return;
2730
2741
  }
2731
- W.value.stepUp(), V.value = Number(W.value.value);
2742
+ Ae.value.stepUp(), V.value = Number(Ae.value.value);
2732
2743
  }
2733
2744
  }
2734
2745
  function Ue() {
@@ -2737,7 +2748,7 @@ var Nr = ["for"], Pr = {
2737
2748
  H.value = Number(H.value) - Number(se?.value ?? 1);
2738
2749
  return;
2739
2750
  }
2740
- W.value.stepDown(), V.value = Number(W.value.value);
2751
+ Ae.value.stepDown(), V.value = Number(Ae.value.value);
2741
2752
  }
2742
2753
  }
2743
2754
  let We = A(() => r.type === $.SEARCH);
@@ -2747,12 +2758,12 @@ var Nr = ["for"], Pr = {
2747
2758
  let { hasIconBefore: Ke, hasIconAfter: qe } = Kt(v, ee), Je = A(() => {
2748
2759
  if (qe.value !== void 0) return qe.value;
2749
2760
  switch (r.type) {
2750
- case $.COLOR: return { name: G.showColorPicker };
2761
+ case $.COLOR: return { name: W.showColorPicker };
2751
2762
  case $.DATE:
2752
2763
  case $.DATETIME_LOCAL:
2753
2764
  case $.WEEK:
2754
- case $.MONTH: return { name: G.showDatePicker };
2755
- case $.TIME: return { name: G.showTimePicker };
2765
+ case $.MONTH: return { name: W.showDatePicker };
2766
+ case $.TIME: return { name: W.showTimePicker };
2756
2767
  }
2757
2768
  }), { hasIcon: Ye } = Kt(y), { formatted: Xe } = Mr(V, {
2758
2769
  mode: p.value,
@@ -2768,7 +2779,7 @@ var Nr = ["for"], Pr = {
2768
2779
  return e;
2769
2780
  }), tt = A(() => et.value.size === 0 ? [] : [...et.value.entries()].filter(([e]) => _n(V.value) || `${e}`.toLowerCase().includes(`${V.value}`.toLowerCase()) && e !== V.value).reverse().map(([e]) => e)), nt = A(() => et.value.size > 0);
2770
2781
  function rt(e) {
2771
- V.value = e, Me.value?.hide(), s("suggestion:selected", e);
2782
+ V.value = e, Ne.value?.hide(), s("suggestion:selected", e);
2772
2783
  }
2773
2784
  function it(e) {
2774
2785
  et.value.get(e)?.isFromStorage && (Y.value?.delete(e), s("suggestion:removed", e));
@@ -2816,7 +2827,7 @@ var Nr = ["for"], Pr = {
2816
2827
  if (!_n(e)) return (e instanceof Date || typeof e == "string" && br(e)) && X.value ? xr(e, X.value, me.value) || void 0 : String(e);
2817
2828
  }
2818
2829
  let ft = A(() => {
2819
- let e = Re.value && q.value || Be.value && !J.value && !Ne.value || r.iMask ? $.TEXT : r.type, t = {
2830
+ let e = Re.value && q.value || Be.value && !J.value && !G.value || r.iMask ? $.TEXT : r.type, t = {
2820
2831
  type: e,
2821
2832
  name: r.name,
2822
2833
  tabindex: Qe.value,
@@ -2842,7 +2853,7 @@ var Nr = ["for"], Pr = {
2842
2853
  clear: Ge
2843
2854
  })), { HintSlot: mt, hasHintLabelOrSlot: ht, hasInvalidLabelOrSlot: gt, hintSlotScope: _t } = An(d, c), vt = jr($.PASSWORD, r, J), yt = jr($.NUMBER, r, J), bt = jr($.SEARCH, r, J);
2844
2855
  function xt() {
2845
- Ze.value || (Ne.value = !0);
2856
+ Ze.value || (G.value = !0);
2846
2857
  }
2847
2858
  let St = A(() => {
2848
2859
  if (r.autoWidth) return { width: V.value === void 0 ? void 0 : `${String(V.value).length + 1}ch` };
@@ -2868,13 +2879,13 @@ var Nr = ["for"], Pr = {
2868
2879
  }, j(I(T)), 9, Nr)) : P("v-if", !0),
2869
2880
  O("div", {
2870
2881
  ref_key: "wrapperEl",
2871
- ref: Ae,
2882
+ ref: Me,
2872
2883
  class: "vv-input-text__wrapper"
2873
2884
  }, [
2874
2885
  e.$slots.before ? (B(), z("div", Pr, [l(e.$slots, "before", i(a(I(pt))))])) : P("v-if", !0),
2875
2886
  O("div", {
2876
2887
  ref_key: "innerEl",
2877
- ref: ke,
2888
+ ref: je,
2878
2889
  class: "vv-input-text__inner",
2879
2890
  onClick: D(xt, ["stop"])
2880
2891
  }, [
@@ -2882,7 +2893,7 @@ var Nr = ["for"], Pr = {
2882
2893
  O("input", h({
2883
2894
  id: I(de),
2884
2895
  ref_key: "inputEl",
2885
- ref: W
2896
+ ref: Ae
2886
2897
  }, I(ft), {
2887
2898
  style: I(St),
2888
2899
  onKeyup: t[0] ||= (e) => s("keyup", e),
@@ -2933,8 +2944,8 @@ var Nr = ["for"], Pr = {
2933
2944
  I(nt) ? (B(), w(er, {
2934
2945
  key: 1,
2935
2946
  ref_key: "suggestionsDropdownEl",
2936
- ref: Me,
2937
- reference: I(Ae),
2947
+ ref: Ne,
2948
+ reference: I(Me),
2938
2949
  "autofocus-first": !1,
2939
2950
  "trigger-width": !0,
2940
2951
  "top-layer": I(d).topLayer
@@ -3141,7 +3152,7 @@ var $r = {
3141
3152
  ({
3142
3153
  ...St,
3143
3154
  ...Dt
3144
- }), $r.soft, ei.default, G.remove, vt.topLayer, { ...X }, K.bottom;
3145
- export { Tn as a, Qr as c, hr as d, Vn as f, Ft as i, Jr as l, In as m, xn as n, Vr as o, gr as p, sn as r, nn as s, Q as t, er as u };
3155
+ }), $r.soft, ei.default, W.remove, vt.topLayer, { ...X }, K.bottom;
3156
+ export { nn as a, Vr as c, Tn as d, sn as f, Ft as i, er as l, hr as m, xn as n, Qr as o, In as p, Q as r, gr as s, Jr as t, Vn as u };
3146
3157
 
3147
- //# sourceMappingURL=index.es-D-aOuzzp.js.map
3158
+ //# sourceMappingURL=index.es-DIHz5I8K.js.map