@8wave/ai-elements 0.126.0-beta.35 → 0.126.0-beta.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-Cw3va5vW.js → PkChatbotFilePreview-CLUH7cTq.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-Cw3va5vW.js.map → PkChatbotFilePreview-CLUH7cTq.js.map} +1 -1
  3. package/dist/_chunks/{PkEditorRadioButtons-CY0D_EkU.js → PkEditorRadioButtons-YSngp-Wn.js} +2 -2
  4. package/dist/_chunks/{PkEditorRadioButtons-CY0D_EkU.js.map → PkEditorRadioButtons-YSngp-Wn.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreview-D4TgY0T9.js → PkFilePreview-BHqmp1EW.js} +5 -5
  6. package/dist/_chunks/{PkFilePreview-D4TgY0T9.js.map → PkFilePreview-BHqmp1EW.js.map} +1 -1
  7. package/dist/_chunks/{PkFilePreviewDialog-8H1GeV91.js → PkFilePreviewDialog-BHAgVlKs.js} +3 -3
  8. package/dist/_chunks/{PkFilePreviewDialog-8H1GeV91.js.map → PkFilePreviewDialog-BHAgVlKs.js.map} +1 -1
  9. package/dist/_chunks/{PkHeldImage-B6UYQ8Ox.js → PkHeldImage-WGwFM77v.js} +2 -2
  10. package/dist/_chunks/{PkHeldImage-B6UYQ8Ox.js.map → PkHeldImage-WGwFM77v.js.map} +1 -1
  11. package/dist/_chunks/{PkImageEditorDialog-BqHjVX97.js → PkImageEditorDialog-BDwL39Du.js} +18 -18
  12. package/dist/_chunks/{PkImageEditorDialog-BqHjVX97.js.map → PkImageEditorDialog-BDwL39Du.js.map} +1 -1
  13. package/dist/_chunks/{PkLazyImg-D3XOz-dS.js → PkLazyImg-DL7hxjyy.js} +2 -2
  14. package/dist/_chunks/{PkLazyImg-D3XOz-dS.js.map → PkLazyImg-DL7hxjyy.js.map} +1 -1
  15. package/dist/_chunks/{PkSelectionActions-BxUXWFNK.js → PkSelectionActions-DLsZ8-gW.js} +2 -2
  16. package/dist/_chunks/{PkSelectionActions-BxUXWFNK.js.map → PkSelectionActions-DLsZ8-gW.js.map} +1 -1
  17. package/dist/_chunks/{PkToolChatFile-CSBzfuyE.js → PkToolChatFile-62j1S0Pq.js} +3 -3
  18. package/dist/_chunks/{PkToolChatFile-CSBzfuyE.js.map → PkToolChatFile-62j1S0Pq.js.map} +1 -1
  19. package/dist/_chunks/{PkToolRequestGeolocation-DNzNRszE.js → PkToolRequestGeolocation-B9EM_K6O.js} +2 -2
  20. package/dist/_chunks/{PkToolRequestGeolocation-DNzNRszE.js.map → PkToolRequestGeolocation-B9EM_K6O.js.map} +1 -1
  21. package/dist/_chunks/{PkToolRequestOAuthConnection-BDxYXz4s.js → PkToolRequestOAuthConnection-CfjfqCHX.js} +3 -3
  22. package/dist/_chunks/{PkToolRequestOAuthConnection-BDxYXz4s.js.map → PkToolRequestOAuthConnection-CfjfqCHX.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShareDocument-Kq7SFbw5.js → PkToolShareDocument-CYBU4LPO.js} +3 -3
  24. package/dist/_chunks/{PkToolShareDocument-Kq7SFbw5.js.map → PkToolShareDocument-CYBU4LPO.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowArtifact-d5tKvM01.js → PkToolShowArtifact-I_QZS7Pf.js} +2 -2
  26. package/dist/_chunks/{PkToolShowArtifact-d5tKvM01.js.map → PkToolShowArtifact-I_QZS7Pf.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowCalendarEvent-fMI-paCP.js → PkToolShowCalendarEvent-js9lh-cX.js} +3 -3
  28. package/dist/_chunks/{PkToolShowCalendarEvent-fMI-paCP.js.map → PkToolShowCalendarEvent-js9lh-cX.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowChart-lLXuHRJu.js → PkToolShowChart-BalU3bxm.js} +3 -3
  30. package/dist/_chunks/{PkToolShowChart-lLXuHRJu.js.map → PkToolShowChart-BalU3bxm.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowComparison-CKSqPgJo.js → PkToolShowComparison-DeO7cMeF.js} +3 -3
  32. package/dist/_chunks/{PkToolShowComparison-CKSqPgJo.js.map → PkToolShowComparison-DeO7cMeF.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowContactForm-Bni1QzXV.js → PkToolShowContactForm-BeJ5GR6t.js} +5 -5
  34. package/dist/_chunks/{PkToolShowContactForm-Bni1QzXV.js.map → PkToolShowContactForm-BeJ5GR6t.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowDiagram-DWVSCu33.js → PkToolShowDiagram-j3TTzZ5I.js} +3 -3
  36. package/dist/_chunks/{PkToolShowDiagram-DWVSCu33.js.map → PkToolShowDiagram-j3TTzZ5I.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowEmail-D6Mw24jB.js → PkToolShowEmail-CQ4uyty9.js} +3 -3
  38. package/dist/_chunks/{PkToolShowEmail-D6Mw24jB.js.map → PkToolShowEmail-CQ4uyty9.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowForm-CFXtO0j4.js → PkToolShowForm-B9VDoS_W.js} +15 -15
  40. package/dist/_chunks/{PkToolShowForm-CFXtO0j4.js.map → PkToolShowForm-B9VDoS_W.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowImageGallery-Ci_Kg44s.js → PkToolShowImageGallery-DFuc5IJ1.js} +3 -3
  42. package/dist/_chunks/{PkToolShowImageGallery-Ci_Kg44s.js.map → PkToolShowImageGallery-DFuc5IJ1.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowLocation-DV0puCbD.js → PkToolShowLocation-PThC5tCV.js} +3 -3
  44. package/dist/_chunks/{PkToolShowLocation-DV0puCbD.js.map → PkToolShowLocation-PThC5tCV.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowMessage-Bq2dbSy1.js → PkToolShowMessage-9mlI4IQ6.js} +3 -3
  46. package/dist/_chunks/{PkToolShowMessage-Bq2dbSy1.js.map → PkToolShowMessage-9mlI4IQ6.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowProductList-BWWzkWWA.js → PkToolShowProductList-C2EJKYOV.js} +4 -4
  48. package/dist/_chunks/{PkToolShowProductList-BWWzkWWA.js.map → PkToolShowProductList-C2EJKYOV.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowQrCode-DZkJIyMF.js → PkToolShowQrCode-DQiVo4Vh.js} +3 -3
  50. package/dist/_chunks/{PkToolShowQrCode-DZkJIyMF.js.map → PkToolShowQrCode-DQiVo4Vh.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowSources-Dv7hbDyy.js → PkToolShowSources-BL3DnfcN.js} +3 -3
  52. package/dist/_chunks/{PkToolShowSources-Dv7hbDyy.js.map → PkToolShowSources-BL3DnfcN.js.map} +1 -1
  53. package/dist/_chunks/{PkToolShowSuggestedReply-B_dRrZfj.js → PkToolShowSuggestedReply-DLgtjBJ1.js} +2 -2
  54. package/dist/_chunks/{PkToolShowSuggestedReply-B_dRrZfj.js.map → PkToolShowSuggestedReply-DLgtjBJ1.js.map} +1 -1
  55. package/dist/_chunks/{PkToolShowVideo-DLgQjTq_.js → PkToolShowVideo-DcWXDcOZ.js} +3 -3
  56. package/dist/_chunks/{PkToolShowVideo-DLgQjTq_.js.map → PkToolShowVideo-DcWXDcOZ.js.map} +1 -1
  57. package/dist/_chunks/{PkToolShowWeather-HElfkyLV.js → PkToolShowWeather-DLT47oC6.js} +2 -2
  58. package/dist/_chunks/{PkToolShowWeather-HElfkyLV.js.map → PkToolShowWeather-DLT47oC6.js.map} +1 -1
  59. package/dist/_chunks/{PkToolShowWebPages-XxcYBQpr.js → PkToolShowWebPages-CPqMC6qt.js} +4 -4
  60. package/dist/_chunks/{PkToolShowWebPages-XxcYBQpr.js.map → PkToolShowWebPages-CPqMC6qt.js.map} +1 -1
  61. package/dist/_chunks/{VvButtonLocalized-BgY-V26j.js → VvButtonLocalized-D_gumqSJ.js} +2 -2
  62. package/dist/_chunks/{VvButtonLocalized-BgY-V26j.js.map → VvButtonLocalized-D_gumqSJ.js.map} +1 -1
  63. package/dist/_chunks/{VvCheckbox.es-KisDJtH_.js → VvCheckbox.es-D44kGZc-.js} +2 -2
  64. package/dist/_chunks/{VvCheckbox.es-KisDJtH_.js.map → VvCheckbox.es-D44kGZc-.js.map} +1 -1
  65. package/dist/_chunks/{VvCheckboxGroup.es-CIVHYElp.js → VvCheckboxGroup.es-Da5Vuel0.js} +2 -2
  66. package/dist/_chunks/{VvCheckboxGroup.es-CIVHYElp.js.map → VvCheckboxGroup.es-Da5Vuel0.js.map} +1 -1
  67. package/dist/_chunks/{VvCombobox.es-DybZ6U_6.js → VvCombobox.es-BJzmLeTh.js} +467 -403
  68. package/dist/_chunks/VvCombobox.es-BJzmLeTh.js.map +1 -0
  69. package/dist/_chunks/{VvInputText.es-DFSPWDcH.js → VvInputText.es-CHcdm2K-.js} +280 -218
  70. package/dist/_chunks/VvInputText.es-CHcdm2K-.js.map +1 -0
  71. package/dist/_chunks/{VvRadio.es-vrNSXb3X.js → VvRadio.es-B3IskaN4.js} +2 -2
  72. package/dist/_chunks/{VvRadio.es-vrNSXb3X.js.map → VvRadio.es-B3IskaN4.js.map} +1 -1
  73. package/dist/_chunks/{VvRadioGroup.es-DalxMbrj.js → VvRadioGroup.es-CBivcD0v.js} +2 -2
  74. package/dist/_chunks/{VvRadioGroup.es-DalxMbrj.js.map → VvRadioGroup.es-CBivcD0v.js.map} +1 -1
  75. package/dist/_chunks/{VvSelect.es-D55xq4Lw.js → VvSelect.es-CAVvkyxB.js} +2 -2
  76. package/dist/_chunks/{VvSelect.es-D55xq4Lw.js.map → VvSelect.es-CAVvkyxB.js.map} +1 -1
  77. package/dist/_chunks/{VvTextarea.es-BOhkaXfY.js → VvTextarea.es-CgvZOWO4.js} +446 -384
  78. package/dist/_chunks/VvTextarea.es-CgvZOWO4.js.map +1 -0
  79. package/dist/_chunks/{index.es-BYhSukum.js → index.es-CEYwDeKz.js} +126 -66
  80. package/dist/_chunks/index.es-CEYwDeKz.js.map +1 -0
  81. package/dist/_chunks/{index.es-CPvSmI-B.js → index.es-DDdkqLT6.js} +10 -10
  82. package/dist/_chunks/{index.es-CPvSmI-B.js.map → index.es-DDdkqLT6.js.map} +1 -1
  83. package/dist/ai-elements.es.js +377 -376
  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/PkChatbotViewConversations.js +1 -1
  91. package/dist-vue/PkChatbotViewProfile.js +1 -1
  92. package/dist-vue/_chunks/PkChatbot-aCgj2DMu.js +326 -0
  93. package/dist-vue/_chunks/PkChatbot-aCgj2DMu.js.map +1 -0
  94. package/dist-vue/_chunks/{PkChatbotAuth-449QUBoC.js → PkChatbotAuth-C5agN8ht.js} +2 -2
  95. package/dist-vue/_chunks/{PkChatbotAuth-449QUBoC.js.map → PkChatbotAuth-C5agN8ht.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkChatbotFeedbackForm-DdQQlAr1.js → PkChatbotFeedbackForm-DjsLxYjT.js} +2 -2
  97. package/dist-vue/_chunks/{PkChatbotFeedbackForm-DdQQlAr1.js.map → PkChatbotFeedbackForm-DjsLxYjT.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotMessages-_-h-egX7.js → PkChatbotMessages-CG3UZYcP.js} +3 -3
  99. package/dist-vue/_chunks/{PkChatbotMessages-_-h-egX7.js.map → PkChatbotMessages-CG3UZYcP.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkChatbotViewChat-Bg-Op2Oe.js → PkChatbotViewChat-IU3HJpxG.js} +3 -3
  101. package/dist-vue/_chunks/{PkChatbotViewChat-Bg-Op2Oe.js.map → PkChatbotViewChat-IU3HJpxG.js.map} +1 -1
  102. package/dist-vue/_chunks/PkChatbotViewConversations-4zGrp7Fo.js +197 -0
  103. package/dist-vue/_chunks/PkChatbotViewConversations-4zGrp7Fo.js.map +1 -0
  104. package/dist-vue/_chunks/PkChatbotViewProfile-BrZ7oiUY.js +85 -0
  105. package/dist-vue/_chunks/PkChatbotViewProfile-BrZ7oiUY.js.map +1 -0
  106. package/dist-vue/_chunks/{PkFilePreview-DydUI1G2.js → PkFilePreview-WqS-s3vk.js} +2 -2
  107. package/dist-vue/_chunks/{PkFilePreview-DydUI1G2.js.map → PkFilePreview-WqS-s3vk.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkFilePreviewDialog-BuG1whsJ.js → PkFilePreviewDialog-BIaTAK05.js} +2 -2
  109. package/dist-vue/_chunks/{PkFilePreviewDialog-BuG1whsJ.js.map → PkFilePreviewDialog-BIaTAK05.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkToolShowContactForm-D0lDC69x.js → PkToolShowContactForm-DFufPNnQ.js} +2 -2
  111. package/dist-vue/_chunks/{PkToolShowContactForm-D0lDC69x.js.map → PkToolShowContactForm-DFufPNnQ.js.map} +1 -1
  112. package/dist-vue/_chunks/{index.es-CwEgvvQD.js → index.es-BmedAjkp.js} +2 -2
  113. package/dist-vue/_chunks/{index.es-CwEgvvQD.js.map → index.es-BmedAjkp.js.map} +1 -1
  114. package/dist-vue/composables.js +8 -6
  115. package/dist-vue/composables.js.map +1 -1
  116. package/dist-vue/index.js +10 -10
  117. package/dist-vue/locales.js +20 -16
  118. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +7 -7
  119. package/package.json +2 -2
  120. package/dist/_chunks/VvCombobox.es-DybZ6U_6.js.map +0 -1
  121. package/dist/_chunks/VvInputText.es-DFSPWDcH.js.map +0 -1
  122. package/dist/_chunks/VvTextarea.es-BOhkaXfY.js.map +0 -1
  123. package/dist/_chunks/index.es-BYhSukum.js.map +0 -1
  124. package/dist-vue/_chunks/PkChatbot-CFJmT4nN.js +0 -299
  125. package/dist-vue/_chunks/PkChatbot-CFJmT4nN.js.map +0 -1
  126. package/dist-vue/_chunks/PkChatbotViewConversations--smzyxqN.js +0 -226
  127. package/dist-vue/_chunks/PkChatbotViewConversations--smzyxqN.js.map +0 -1
  128. package/dist-vue/_chunks/PkChatbotViewProfile-Cn7IQfnQ.js +0 -86
  129. package/dist-vue/_chunks/PkChatbotViewProfile-Cn7IQfnQ.js.map +0 -1
  130. package/dist-vue/_chunks/chatbotProfileContext-b-nve-mR.js +0 -5
  131. package/dist-vue/_chunks/chatbotProfileContext-b-nve-mR.js.map +0 -1
@@ -3,7 +3,7 @@ import { t as ve } from "./esm-d7HMhmr5.js";
3
3
  import { a as ye, c as be, i as O, l as xe, n as Se, o as Ce, r as we, s as Te, t as k } from "./floating-ui.vue-SbFDfAS7.js";
4
4
  import { S as Ee, c as De, f as Oe, g as ke, n as Ae, p as je, r as A, u as Me, x as j } from "./dist-CR8l0inH.js";
5
5
  import { a as Ne, i as Pe, t as M } from "./iconify-BsIVfdEw.js";
6
- // ../../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_3ab70fef148227ce501622bd10a5d9b4/node_modules/@volverjs/ui-vue/dist/components/VvInputText/VvInputText.es.js
6
+ // ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.28_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_113cf0a066eeca009eded43485818201/node_modules/@volverjs/ui-vue/dist/components/VvInputText/VvInputText.es.js
7
7
  ce(), me(), de(), ne();
8
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
9
  function Fe(e) {
@@ -92,25 +92,25 @@ function Ve(e, t) {
92
92
  }
93
93
  var z = /* @__PURE__ */ (function(e) {
94
94
  return e.local = "local", e.session = "session", e;
95
- })({}), He = /* @__PURE__ */ (function(e) {
96
- return e.absolute = "absolute", e.fixed = "fixed", e;
97
95
  })({}), B = /* @__PURE__ */ (function(e) {
96
+ return e.absolute = "absolute", e.fixed = "fixed", e;
97
+ })({}), V = /* @__PURE__ */ (function(e) {
98
98
  return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
99
- })({}), Ue = /* @__PURE__ */ (function(e) {
99
+ })({}), He = /* @__PURE__ */ (function(e) {
100
100
  return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
101
- })({}), We = /* @__PURE__ */ (function(e) {
101
+ })({}), Ue = /* @__PURE__ */ (function(e) {
102
102
  return e.before = "before", e.after = "after", e;
103
- })({}), Ge = /* @__PURE__ */ (function(e) {
103
+ })({}), We = /* @__PURE__ */ (function(e) {
104
104
  return e.button = "button", e.submit = "submit", e.reset = "reset", e;
105
- })({}), Ke = /* @__PURE__ */ (function(e) {
105
+ })({}), Ge = /* @__PURE__ */ (function(e) {
106
106
  return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
107
- })({}), qe = /* @__PURE__ */ (function(e) {
107
+ })({}), Ke = /* @__PURE__ */ (function(e) {
108
108
  return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
109
- })({}), V = /* @__PURE__ */ (function(e) {
109
+ })({}), qe = /* @__PURE__ */ (function(e) {
110
110
  return e.listbox = "listbox", e.menu = "menu", e;
111
- })({}), H = /* @__PURE__ */ (function(e) {
111
+ })({}), Je = /* @__PURE__ */ (function(e) {
112
112
  return e.option = "option", e.presentation = "presentation", e;
113
- })({}), U = /* @__PURE__ */ Symbol.for("volver"), Je = /* @__PURE__ */ Symbol.for("dropdownTrigger"), W = /* @__PURE__ */ Symbol.for("dropdownItem"), G = /* @__PURE__ */ Symbol.for("dropdownAction"), K = {
113
+ })({}), Ye = /* @__PURE__ */ Symbol.for("volver"), H = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Xe = /* @__PURE__ */ Symbol.for("dropdownItem"), U = /* @__PURE__ */ Symbol.for("dropdownAction"), W = {
114
114
  showPassword: "eye-on",
115
115
  hidePassword: "eye-off",
116
116
  showDatePicker: "calendar",
@@ -121,7 +121,7 @@ var z = /* @__PURE__ */ (function(e) {
121
121
  remove: "trash",
122
122
  edit: "edit",
123
123
  download: "download"
124
- }, Ye = { prefix: "normal" }, Xe = {
124
+ }, Ze = { prefix: "normal" }, Qe = {
125
125
  to: { type: [String, Object] },
126
126
  href: String,
127
127
  target: String,
@@ -129,7 +129,7 @@ var z = /* @__PURE__ */ (function(e) {
129
129
  type: String,
130
130
  default: "noopener noreferrer"
131
131
  }
132
- }, Ze = {
132
+ }, $e = {
133
133
  valid: {
134
134
  type: Boolean,
135
135
  default: !1
@@ -138,7 +138,7 @@ var z = /* @__PURE__ */ (function(e) {
138
138
  type: [String, Array],
139
139
  default: void 0
140
140
  }
141
- }, Qe = {
141
+ }, G = {
142
142
  invalid: {
143
143
  type: Boolean,
144
144
  default: !1
@@ -147,7 +147,7 @@ var z = /* @__PURE__ */ (function(e) {
147
147
  type: [String, Array],
148
148
  default: void 0
149
149
  }
150
- }, $e = {
150
+ }, K = {
151
151
  loading: {
152
152
  type: Boolean,
153
153
  default: !1
@@ -172,7 +172,7 @@ var z = /* @__PURE__ */ (function(e) {
172
172
  type: Boolean,
173
173
  default: !1
174
174
  } };
175
- K.clear;
175
+ W.clear;
176
176
  var Y = { pressed: {
177
177
  type: Boolean,
178
178
  default: !1
@@ -237,8 +237,8 @@ var Y = { pressed: {
237
237
  },
238
238
  iconPosition: {
239
239
  type: String,
240
- default: We.before,
241
- validator: (e) => Object.values(We).includes(e)
240
+ default: Ue.before,
241
+ validator: (e) => Object.values(Ue).includes(e)
242
242
  }
243
243
  }, ut = { tabindex: {
244
244
  type: [String, Number],
@@ -252,13 +252,13 @@ var Y = { pressed: {
252
252
  } }, pt = { id: [String, Number] }, mt = {
253
253
  placement: {
254
254
  type: String,
255
- default: B.bottom,
256
- validator: (e) => Object.values(B).includes(e) || Object.values(Ue).includes(e)
255
+ default: V.bottom,
256
+ validator: (e) => Object.values(V).includes(e) || Object.values(He).includes(e)
257
257
  },
258
258
  strategy: {
259
259
  type: String,
260
260
  default: void 0,
261
- validator: (e) => Object.values(He).includes(e)
261
+ validator: (e) => Object.values(B).includes(e)
262
262
  },
263
263
  transitionName: {
264
264
  type: String,
@@ -327,10 +327,10 @@ var Y = { pressed: {
327
327
  ...ut,
328
328
  ...q,
329
329
  ...Z,
330
- ...Ze,
331
- ...Qe,
332
- ...at,
333
330
  ...$e,
331
+ ...G,
332
+ ...at,
333
+ ...K,
334
334
  ...it,
335
335
  ...st,
336
336
  ...ct,
@@ -355,25 +355,25 @@ var Y = { pressed: {
355
355
  ({
356
356
  ...ht,
357
357
  ...ut,
358
- ...Ze,
359
- ...Qe,
358
+ ...$e,
359
+ ...G,
360
360
  ...at,
361
361
  ...q,
362
362
  ...Z,
363
363
  ...it,
364
364
  ...rt,
365
365
  ...X,
366
- ...$e
366
+ ...K
367
367
  }), {
368
- ...Ze,
369
- ...Qe,
368
+ ...$e,
369
+ ...G,
370
370
  ...ot,
371
371
  ...at,
372
372
  ...q,
373
373
  ...Z,
374
374
  ...it,
375
375
  ...rt,
376
- ...$e,
376
+ ...K,
377
377
  ...et
378
378
  }, {
379
379
  ...q,
@@ -381,8 +381,8 @@ var Y = { pressed: {
381
381
  ...Y,
382
382
  ...J,
383
383
  ...nt,
384
- ...Xe
385
- }, Ge.button, Ke.button;
384
+ ...Qe
385
+ }, We.button, Ge.button;
386
386
  var yt = {
387
387
  storageType: {
388
388
  type: String,
@@ -404,8 +404,8 @@ var yt = {
404
404
  },
405
405
  role: {
406
406
  type: String,
407
- default: V.menu,
408
- validator: (e) => Object.values(V).includes(e)
407
+ default: qe.menu,
408
+ validator: (e) => Object.values(qe).includes(e)
409
409
  }
410
410
  }, xt = { focusOnHover: {
411
411
  type: Boolean,
@@ -456,7 +456,7 @@ function Tt({ reference: e, id: r, expanded: i, aria: a }) {
456
456
  component: C({
457
457
  name: "VvDropdownTriggerProvider",
458
458
  setup() {
459
- t(Je, {
459
+ t(H, {
460
460
  reference: e,
461
461
  id: r,
462
462
  expanded: i,
@@ -471,16 +471,17 @@ function Tt({ reference: e, id: r, expanded: i, aria: a }) {
471
471
  };
472
472
  }
473
473
  function Et({ role: e, ...n }) {
474
- let r = y(() => e.value === V.listbox ? H.option : H.presentation);
475
- return t(W, {
474
+ let r = y(() => e.value === qe.listbox ? Je.option : Je.presentation);
475
+ return t(Xe, {
476
476
  role: r,
477
477
  ...n
478
478
  }), { itemRole: r };
479
479
  }
480
- function Dt({ expanded: e }) {
481
- t(G, {
482
- role: v(qe.menuitem),
483
- expanded: e
480
+ function Dt({ expanded: e, onAction: n }) {
481
+ t(U, {
482
+ role: v(Ke.menuitem),
483
+ expanded: e,
484
+ onAction: n
484
485
  });
485
486
  }
486
487
  function Ot(e, t, n) {
@@ -493,12 +494,18 @@ function Ot(e, t, n) {
493
494
  }), r;
494
495
  });
495
496
  }
496
- var kt = ["popover"], At = [
497
+ function kt() {
498
+ return e(Xe, {});
499
+ }
500
+ function At() {
501
+ return e(U, {});
502
+ }
503
+ var jt = ["popover"], Mt = [
497
504
  "id",
498
505
  "tabindex",
499
506
  "role",
500
507
  "aria-labelledby"
501
- ], jt = /* @__PURE__ */ C({
508
+ ], Nt = /* @__PURE__ */ C({
502
509
  name: "VvDropdown",
503
510
  inheritAttrs: !1,
504
511
  props: bt,
@@ -525,7 +532,7 @@ var kt = ["popover"], At = [
525
532
  set: (e) => {
526
533
  h.value = e;
527
534
  }
528
- }), { isTopLayer: de, popover: fe, show: pe, hide: me } = wt(g, () => d.topLayer), ge = y(() => de.value ? He.fixed : d.strategy), C = v(!1);
535
+ }), { isTopLayer: de, popover: fe, show: pe, hide: me } = wt(g, () => d.topLayer), ge = y(() => de.value ? B.fixed : d.strategy), C = v(!1);
529
536
  u(() => {
530
537
  ke(g.value, () => {
531
538
  C.value = globalThis.getComputedStyle(g.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
@@ -598,10 +605,10 @@ var kt = ["popover"], At = [
598
605
  let Le = y(() => N.value.split("-")[0]), Re = y(() => {
599
606
  if (C.value) return;
600
607
  let e = {
601
- [B.top]: B.bottom,
602
- [B.right]: B.left,
603
- [B.bottom]: B.top,
604
- [B.left]: B.right
608
+ [V.top]: V.bottom,
609
+ [V.right]: V.left,
610
+ [V.bottom]: V.top,
611
+ [V.left]: V.right
605
612
  }[Le.value];
606
613
  return {
607
614
  left: M.value.arrow?.x === void 0 ? void 0 : `${M.value.arrow?.x}px`,
@@ -620,7 +627,7 @@ var kt = ["popover"], At = [
620
627
  g,
621
628
  ge
622
629
  ], ([e, t, n, r], i, a) => {
623
- e && t && n && a(O(t, n, Fe, { animationFrame: r === He.fixed }));
630
+ e && t && n && a(O(t, n, Fe, { animationFrame: r === B.fixed }));
624
631
  }, {
625
632
  flush: "post",
626
633
  immediate: !0
@@ -648,51 +655,77 @@ var kt = ["popover"], At = [
648
655
  Ae(g, () => {
649
656
  !d.keepOpen && F.value && (F.value = !1);
650
657
  }, { ignore: [b] });
651
- let z = y(() => b.value?.getAttribute?.("id") ?? void 0), Ue = y(() => ({
658
+ let z = y(() => b.value?.getAttribute?.("id") ?? void 0), He = y(() => ({
652
659
  "aria-controls": re.value,
653
660
  "aria-haspopup": !0,
654
661
  "aria-expanded": F.value
655
- })), { component: We, bus: Ge } = Tt({
662
+ })), { component: Ue, bus: We } = Tt({
656
663
  reference: b,
657
664
  id: re,
658
665
  expanded: F,
659
- aria: Ue
666
+ aria: He
660
667
  });
661
- Ge.on("click", R);
662
- let { role: Ke, modifiers: qe } = _e(d), V = Ot("vv-dropdown", qe, y(() => ({ arrow: d.arrow }))), { focused: H } = je(g);
668
+ We.on("click", R);
669
+ let { role: Ge, modifiers: Ke } = _e(d), Je = Ot("vv-dropdown", Ke, y(() => ({ arrow: d.arrow }))), { focused: Ye } = je(g);
670
+ function H(e) {
671
+ return e?.getRootNode()?.activeElement ?? null;
672
+ }
673
+ let Xe = "a[href], button, input:not([type=\"hidden\"]), textarea, select, details, [tabindex]:not([tabindex=\"-1\"])";
663
674
  function U(e) {
664
- return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
675
+ return !e.hasAttribute("disabled") && e.getAttribute("aria-hidden") !== "true";
676
+ }
677
+ function W(e) {
678
+ return e ? [...e.querySelectorAll(Xe)].filter(U) : [];
679
+ }
680
+ let Ze = v(!1), Qe;
681
+ function $e() {
682
+ let e = b.value?.$el ?? b.value;
683
+ if (e instanceof HTMLElement) {
684
+ if (e.matches(Xe) && U(e)) return e;
685
+ let t = e.querySelector(`[aria-controls="${CSS.escape(String(re.value))}"]`), n = t && U(t) ? t : W(e).find((e) => !g.value?.contains(e));
686
+ if (n) return n;
687
+ }
688
+ return Qe?.isConnected ? Qe : void 0;
689
+ }
690
+ function G() {
691
+ let e = $e();
692
+ e && (Ze.value = !0, e.focus({ preventScroll: !0 }), setTimeout(() => {
693
+ Ze.value = !1;
694
+ }));
665
695
  }
666
- function Je() {
696
+ function K(e) {
697
+ return e.composedPath().find((e) => e instanceof Element && e.classList.contains("vv-dropdown")) ?? H(g.value)?.closest(".vv-dropdown") ?? void 0;
698
+ }
699
+ function q() {
667
700
  o(() => {
668
- let e = U(g.value);
701
+ let e = W(g.value);
669
702
  e.length > 0 && e[0].focus({ preventScroll: !0 });
670
703
  });
671
704
  }
672
- function W() {
705
+ function et() {
673
706
  o(() => {
674
- let e = U(ce.value);
707
+ let e = W(ce.value);
675
708
  e.length > 0 && e[0].focus({ preventScroll: !0 });
676
709
  });
677
710
  }
678
- function G() {
711
+ function tt() {
679
712
  o(() => {
680
- if (H.value) {
681
- let e = U(g.value);
682
- if (e.length === 0 || !document.activeElement) return;
683
- let t = e.indexOf(document.activeElement);
684
- t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
713
+ if (Ye.value) {
714
+ let e = W(g.value), t = H(g.value);
715
+ if (e.length === 0 || !t) return;
716
+ let n = e.indexOf(t);
717
+ n < e.length - 1 ? e[n + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
685
718
  }
686
719
  });
687
720
  }
688
- function K() {
721
+ function J() {
689
722
  o(() => {
690
- if (H.value) {
691
- let e = U(g.value);
692
- if (e.length === 0 || !document.activeElement) return;
693
- let t = e.indexOf(document.activeElement);
694
- if (t > 0) {
695
- e[t - 1].focus({ preventScroll: !0 });
723
+ if (Ye.value) {
724
+ let e = W(g.value), t = H(g.value);
725
+ if (e.length === 0 || !t) return;
726
+ let n = e.indexOf(t);
727
+ if (n > 0) {
728
+ e[n - 1].focus({ preventScroll: !0 });
696
729
  return;
697
730
  }
698
731
  e.at(-1)?.focus({ preventScroll: !0 });
@@ -700,35 +733,65 @@ var kt = ["popover"], At = [
700
733
  });
701
734
  }
702
735
  p(F, (e) => {
703
- e && d.autofocusFirst && Je();
736
+ if (e) {
737
+ let e = H(g.value) ?? document.activeElement;
738
+ Qe = e instanceof HTMLElement && !g.value?.contains(e) ? e : void 0;
739
+ }
740
+ e && d.autofocusFirst && q();
704
741
  }), t({
705
742
  toggle: R,
706
743
  show: I,
707
744
  hide: L,
708
745
  init: Ve,
709
- focusFirst: Je,
710
- focusFirstListElement: W,
711
- focusNext: G,
712
- focusPrev: K,
713
- customPosition: C
746
+ focusFirst: q,
747
+ focusFirstListElement: et,
748
+ focusNext: tt,
749
+ focusPrev: J,
750
+ customPosition: C,
751
+ restoringFocus: Ze
714
752
  });
715
- let { itemRole: Ye } = Et({
716
- role: Ke,
753
+ let nt = De(g), { onAction: Y } = kt(), { expanded: rt, onAction: X } = At();
754
+ X && Dt({ expanded: rt });
755
+ function Z() {
756
+ if (!F.value || d.keepOpen || Ge.value === qe.listbox) return;
757
+ let e = H(g.value), t = !!e && !!g.value?.contains(e);
758
+ L(), t && G(), Y?.();
759
+ }
760
+ let { itemRole: it } = Et({
761
+ role: Ge,
717
762
  expanded: F,
718
- focused: H,
719
- hovered: De(g)
763
+ focused: Ye,
764
+ hovered: nt,
765
+ onAction: Z
720
766
  });
721
767
  A("Escape", (e) => {
722
- F.value && (e.preventDefault(), L());
768
+ if (!F.value) return;
769
+ let t = K(e);
770
+ t && t !== g.value && g.value?.contains(t) || (e.preventDefault(), L(), t === g.value && G());
723
771
  }), A("ArrowDown", (e) => {
724
- F.value && H.value && (e.preventDefault(), G());
772
+ F.value && K(e) === g.value && (e.preventDefault(), tt());
725
773
  }), A("ArrowUp", (e) => {
726
- F.value && H.value && (e.preventDefault(), K());
727
- }), A([" ", "Enter"], (e) => {
728
- let t = e.target;
729
- F.value && H.value && t && t?.click();
774
+ F.value && K(e) === g.value && (e.preventDefault(), J());
730
775
  });
731
- let Xe = {
776
+ function at(e, t) {
777
+ if (e instanceof HTMLElement && e.isContentEditable) return !0;
778
+ switch (e.tagName) {
779
+ case "BUTTON":
780
+ case "SUMMARY":
781
+ case "INPUT":
782
+ case "TEXTAREA":
783
+ case "SELECT": return !0;
784
+ case "A":
785
+ case "AREA": return t === "Enter" && e.hasAttribute("href");
786
+ default: return !1;
787
+ }
788
+ }
789
+ A([" ", "Enter"], (e) => {
790
+ if (!F.value || K(e) !== g.value) return;
791
+ let t = H(g.value);
792
+ t instanceof HTMLElement && !at(t, e.key) && t.click();
793
+ });
794
+ let ot = {
732
795
  "before-enter": () => {
733
796
  m("beforeExpand"), m("beforeEnter");
734
797
  },
@@ -754,23 +817,23 @@ var kt = ["popover"], At = [
754
817
  m("leaveCancelled");
755
818
  }
756
819
  };
757
- return (e, t) => (D(), E(se, null, [te(w(We), null, {
820
+ return (e, t) => (D(), E(se, null, [te(w(Ue), null, {
758
821
  default: x(() => [c(e.$slots, "default", r(i({
759
822
  init: Ve,
760
823
  show: I,
761
824
  hide: L,
762
825
  toggle: R,
763
826
  expanded: w(F),
764
- aria: w(Ue)
827
+ aria: w(He)
765
828
  })))]),
766
829
  _: 3
767
- }), te(he, f({ name: e.transitionName }, s(Xe), { persisted: "" }), {
830
+ }), te(he, f({ name: e.transitionName }, s(ot), { persisted: "" }), {
768
831
  default: x(() => [ue(_("div", {
769
832
  ref_key: "floatingEl",
770
833
  ref: g,
771
834
  popover: w(fe),
772
835
  style: ee(w(Ie)),
773
- class: a(w(V))
836
+ class: a(w(Je))
774
837
  }, [
775
838
  d.arrow ? (D(), E("div", {
776
839
  key: 0,
@@ -790,7 +853,7 @@ var kt = ["popover"], At = [
790
853
  ref_key: "listEl",
791
854
  ref: ce,
792
855
  tabindex: w(F) ? void 0 : -1,
793
- role: w(Ke),
856
+ role: w(Ge),
794
857
  "aria-labelledby": w(z),
795
858
  class: "vv-dropdown__list"
796
859
  }), [c(e.$slots, "items", r(i({
@@ -798,38 +861,37 @@ var kt = ["popover"], At = [
798
861
  hide: L,
799
862
  toggle: R,
800
863
  expanded: w(F),
801
- role: w(Ye)
802
- })))], 16, At),
864
+ role: w(it)
865
+ })))], 16, Mt),
803
866
  c(e.$slots, "after", r(i({
804
867
  show: I,
805
868
  hide: L,
806
869
  toggle: R,
807
870
  expanded: w(F)
808
871
  })))
809
- ], 14, kt), [[le, w(F)]])]),
872
+ ], 14, jt), [[le, w(F)]])]),
810
873
  _: 3
811
874
  }, 16, ["name"])], 64));
812
875
  }
813
- });
814
- function Mt() {
815
- return e(W, {});
816
- }
817
- var Nt = /* @__PURE__ */ C({
876
+ }), Pt = /* @__PURE__ */ C({
818
877
  name: "VvDropdownItem",
819
878
  props: xt,
820
879
  setup(e) {
821
- let t = e, { role: n, expanded: r } = Mt(), i = v(null);
822
- Dt({ expanded: r });
823
- let a = De(i), { focused: o } = Oe(i), { focused: s } = je(i);
824
- return p(a, (e) => {
825
- e && t.focusOnHover && (o.value = !0);
880
+ let t = e, { role: n, expanded: r, onAction: i } = kt(), a = v(null);
881
+ Dt({
882
+ expanded: r,
883
+ onAction: i
884
+ });
885
+ let o = De(a), { focused: s } = Oe(a), { focused: l } = je(a);
886
+ return p(o, (e) => {
887
+ e && t.focusOnHover && (s.value = !0);
826
888
  }), (e, t) => (D(), E("div", f({ role: w(n) }, {
827
889
  ref_key: "element",
828
- ref: i,
829
- class: ["vv-dropdown__item", { "focus-visible": w(o) || w(s) }]
890
+ ref: a,
891
+ class: ["vv-dropdown__item", { "focus-visible": w(s) || w(l) }]
830
892
  }), [c(e.$slots, "default")], 16));
831
893
  }
832
- }), Pt = ["title"], Ft = /* @__PURE__ */ C({
894
+ }), Ft = ["title"], It = /* @__PURE__ */ C({
833
895
  name: "VvDropdownOption",
834
896
  props: St,
835
897
  setup(e) {
@@ -838,7 +900,7 @@ var Nt = /* @__PURE__ */ C({
838
900
  selected: t.selected,
839
901
  unselectable: t.unselectable && t.selected
840
902
  }))), s = y(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
841
- return (e, t) => (D(), h(Nt, {
903
+ return (e, t) => (D(), h(Pt, {
842
904
  class: a(w(o)),
843
905
  tabindex: e.disabled ? -1 : 0,
844
906
  "aria-selected": e.selected,
@@ -852,7 +914,7 @@ var Nt = /* @__PURE__ */ C({
852
914
  disabled: e.disabled,
853
915
  selected: e.selected,
854
916
  unselectable: e.unselectable
855
- })), () => [T(b(w(s)), 1)])], 8, Pt)]),
917
+ })), () => [T(b(w(s)), 1)])], 8, Ft)]),
856
918
  _: 3
857
919
  }, 8, [
858
920
  "class",
@@ -863,8 +925,8 @@ var Nt = /* @__PURE__ */ C({
863
925
  ]));
864
926
  }
865
927
  });
866
- function It() {
867
- return e(U, void 0);
928
+ function Lt() {
929
+ return e(Ye, void 0);
868
930
  }
869
931
  var Q = /* @__PURE__ */ C({
870
932
  name: "VvIcon",
@@ -885,9 +947,9 @@ var Q = /* @__PURE__ */ C({
885
947
  onLoad: { type: Function },
886
948
  svg: {},
887
949
  modifiers: {}
888
- }, Ye),
950
+ }, Ze),
889
951
  setup(e) {
890
- let t = e, n = y(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = v(!0), i = It(), { modifiers: a } = _e(t), o = Ot("vv-icon", a), s = y(() => t.provider || i?.iconsProvider), c = y(() => {
952
+ let t = e, n = y(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = v(!0), i = Lt(), { modifiers: a } = _e(t), o = Ot("vv-icon", a), s = y(() => t.provider || i?.iconsProvider), c = y(() => {
891
953
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
892
954
  if (Ne(n)) return n;
893
955
  let r = i?.iconsCollections.find((t) => {
@@ -940,7 +1002,7 @@ var Q = /* @__PURE__ */ C({
940
1002
  DATETIME_LOCAL: "datetime-local",
941
1003
  MONTH: "month",
942
1004
  WEEK: "week"
943
- }, Lt = [
1005
+ }, Rt = [
944
1006
  "update:modelValue",
945
1007
  "update:masked",
946
1008
  "accept",
@@ -959,7 +1021,7 @@ var Q = /* @__PURE__ */ C({
959
1021
  "keydown",
960
1022
  "keypress",
961
1023
  "clear"
962
- ], Rt = {
1024
+ ], zt = {
963
1025
  ...vt,
964
1026
  ...yt,
965
1027
  modelValue: [
@@ -990,19 +1052,19 @@ var Q = /* @__PURE__ */ C({
990
1052
  multiple: Boolean,
991
1053
  iconShowPassword: {
992
1054
  type: [String, Object],
993
- default: K.showPassword
1055
+ default: W.showPassword
994
1056
  },
995
1057
  iconHidePassword: {
996
1058
  type: [String, Object],
997
- default: K.hidePassword
1059
+ default: W.hidePassword
998
1060
  },
999
1061
  iconClear: {
1000
1062
  type: [String, Object],
1001
- default: K.clear
1063
+ default: W.clear
1002
1064
  },
1003
1065
  iconRemoveSuggestion: {
1004
1066
  type: [String, Object],
1005
- default: K.remove
1067
+ default: W.remove
1006
1068
  },
1007
1069
  labelStepUp: {
1008
1070
  type: String,
@@ -1063,19 +1125,19 @@ var Q = /* @__PURE__ */ C({
1063
1125
  default: "text"
1064
1126
  }
1065
1127
  };
1066
- function zt(e, t) {
1067
- let n = y(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = y(() => t?.value === We.before ? n.value : void 0), i = y(() => t?.value === We.after ? n.value : void 0);
1128
+ function Bt(e, t) {
1129
+ let n = y(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = y(() => t?.value === Ue.before ? n.value : void 0), i = y(() => t?.value === Ue.after ? n.value : void 0);
1068
1130
  return {
1069
1131
  hasIcon: n,
1070
- hasIconLeft: y(() => t?.value === B.left ? n.value : void 0),
1071
- hasIconRight: y(() => t?.value === B.right ? n.value : void 0),
1072
- hasIconTop: y(() => t?.value === B.top ? n.value : void 0),
1073
- hasIconBottom: y(() => t?.value === B.bottom ? n.value : void 0),
1132
+ hasIconLeft: y(() => t?.value === V.left ? n.value : void 0),
1133
+ hasIconRight: y(() => t?.value === V.right ? n.value : void 0),
1134
+ hasIconTop: y(() => t?.value === V.top ? n.value : void 0),
1135
+ hasIconBottom: y(() => t?.value === V.bottom ? n.value : void 0),
1074
1136
  hasIconBefore: r,
1075
1137
  hasIconAfter: i
1076
1138
  };
1077
1139
  }
1078
- var Bt = C({
1140
+ var Vt = C({
1079
1141
  components: { VvIcon: Q },
1080
1142
  props: {
1081
1143
  inputType: {
@@ -1097,7 +1159,7 @@ var Bt = C({
1097
1159
  },
1098
1160
  emits: ["clear"],
1099
1161
  setup(e, { emit: t }) {
1100
- let { hasIcon: n } = zt(y(() => e.icon));
1162
+ let { hasIcon: n } = Bt(y(() => e.icon));
1101
1163
  function r(n) {
1102
1164
  n?.stopPropagation(), e.disabled || t("clear");
1103
1165
  }
@@ -1119,7 +1181,7 @@ var Bt = C({
1119
1181
  onClick: this.onClick
1120
1182
  }, e);
1121
1183
  }
1122
- }), Vt = C({
1184
+ }), Ht = C({
1123
1185
  components: { VvIcon: Q },
1124
1186
  props: {
1125
1187
  inputType: {
@@ -1140,16 +1202,16 @@ var Bt = C({
1140
1202
  },
1141
1203
  iconShow: {
1142
1204
  type: [String, Object],
1143
- default: K.showPassword
1205
+ default: W.showPassword
1144
1206
  },
1145
1207
  iconHide: {
1146
1208
  type: [String, Object],
1147
- default: K.hidePassword
1209
+ default: W.hidePassword
1148
1210
  }
1149
1211
  },
1150
1212
  emits: ["toggle-password"],
1151
1213
  setup(e, { emit: t }) {
1152
- let n = v(!1), r = y(() => n.value ? e.iconHide : e.iconShow), { hasIcon: i } = zt(r);
1214
+ let n = v(!1), r = y(() => n.value ? e.iconHide : e.iconShow), { hasIcon: i } = Bt(r);
1153
1215
  function a(r) {
1154
1216
  r?.stopPropagation(), e.disabled || (n.value = !n.value, t("toggle-password", n.value));
1155
1217
  }
@@ -1173,7 +1235,7 @@ var Bt = C({
1173
1235
  onClick: this.onClick
1174
1236
  }, e);
1175
1237
  }
1176
- }), Ht = C({
1238
+ }), Ut = C({
1177
1239
  components: { VvIcon: Q },
1178
1240
  props: {
1179
1241
  inputType: {
@@ -1215,14 +1277,14 @@ var Bt = C({
1215
1277
  });
1216
1278
  }
1217
1279
  });
1218
- function Ut(e, t, r) {
1280
+ function Wt(e, t, r) {
1219
1281
  return {
1220
1282
  name: "VvInputTextActions",
1221
1283
  components: {
1222
1284
  VvIcon: Q,
1223
- VvInputPasswordAction: Vt,
1224
- VvInputStepAction: Ht,
1225
- VvInputClearAction: Bt
1285
+ VvInputPasswordAction: Ht,
1286
+ VvInputStepAction: Ut,
1287
+ VvInputClearAction: Vt
1226
1288
  },
1227
1289
  setup() {
1228
1290
  return {
@@ -1242,7 +1304,7 @@ function Ut(e, t, r) {
1242
1304
  switch (e) {
1243
1305
  case $.SEARCH: {
1244
1306
  let { onClear: e } = this.$attrs;
1245
- r = [n(Bt, {
1307
+ r = [n(Vt, {
1246
1308
  disabled: this.isDisabled || !this.isDirty,
1247
1309
  label: this.labelClear,
1248
1310
  onClear: e
@@ -1251,7 +1313,7 @@ function Ut(e, t, r) {
1251
1313
  }
1252
1314
  case $.PASSWORD: {
1253
1315
  let { onTogglePassword: e } = this.$attrs;
1254
- r = [n(Vt, {
1316
+ r = [n(Ht, {
1255
1317
  disabled: this.isDisabled,
1256
1318
  onTogglePassword: e,
1257
1319
  labelShow: this.labelShowPassword,
@@ -1263,13 +1325,13 @@ function Ut(e, t, r) {
1263
1325
  }
1264
1326
  case $.NUMBER: {
1265
1327
  let { onStepUp: e, onStepDown: i } = this.$attrs;
1266
- r = [n(Ht, {
1328
+ r = [n(Ut, {
1267
1329
  mode: "up",
1268
1330
  disabled: this.isDisabled || t.max !== void 0 && t.modelValue === t.max,
1269
1331
  label: this.labelStepUp,
1270
1332
  onStepUp: e,
1271
1333
  onStepDown: i
1272
- }), n(Ht, {
1334
+ }), n(Ut, {
1273
1335
  mode: "down",
1274
1336
  disabled: this.isDisabled || t.min !== void 0 && t.modelValue === t.min,
1275
1337
  label: this.labelStepDown,
@@ -1283,7 +1345,7 @@ function Ut(e, t, r) {
1283
1345
  }
1284
1346
  };
1285
1347
  }
1286
- function Wt(e, t, n) {
1348
+ function Gt(e, t, n) {
1287
1349
  let r = t;
1288
1350
  if (Array.isArray(e) && e.length) {
1289
1351
  let i = e[0];
@@ -1295,8 +1357,8 @@ function Wt(e, t, n) {
1295
1357
  }
1296
1358
  return r;
1297
1359
  }
1298
- function Gt(e, t, n) {
1299
- let r = It(), i = y(() => {
1360
+ function Kt(e, t, n) {
1361
+ let r = Lt(), i = y(() => {
1300
1362
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
1301
1363
  });
1302
1364
  return y(() => {
@@ -1304,11 +1366,11 @@ function Gt(e, t, n) {
1304
1366
  let e = i.value, r = t, a = n;
1305
1367
  return Object.keys(r).reduce((t, n) => {
1306
1368
  let i = a[n];
1307
- return t[n] = n in e ? Wt(r[n], i, e[n]) : i, t;
1369
+ return t[n] = n in e ? Gt(r[n], i, e[n]) : i, t;
1308
1370
  }, {});
1309
1371
  });
1310
1372
  }
1311
- function Kt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1373
+ function qt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1312
1374
  let a, o, s = y(() => {
1313
1375
  let e = m(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
1314
1376
  return Number.isNaN(t) ? 0 : t;
@@ -1332,13 +1394,13 @@ function Kt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1332
1394
  cancel: c
1333
1395
  };
1334
1396
  }
1335
- function qt(e, t) {
1397
+ function Jt(e, t) {
1336
1398
  let { focused: n } = Oe(e);
1337
1399
  return p(n, (n) => {
1338
1400
  t(n ? "focus" : "blur", w(e));
1339
1401
  }), { focused: n };
1340
1402
  }
1341
- function Jt(e, t) {
1403
+ function Yt(e, t) {
1342
1404
  let n = y(() => (w(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);
1343
1405
  return {
1344
1406
  length: n,
@@ -1346,7 +1408,7 @@ function Jt(e, t) {
1346
1408
  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)
1347
1409
  };
1348
1410
  }
1349
- function Yt(e, t = z.local, n) {
1411
+ function Xt(e, t = z.local, n) {
1350
1412
  let r = v();
1351
1413
  n && (r.value = n);
1352
1414
  let i;
@@ -1370,24 +1432,24 @@ function Yt(e, t = z.local, n) {
1370
1432
  immediate: !0
1371
1433
  }), r;
1372
1434
  }
1373
- var Xt = ["for"], Zt = {
1435
+ var Zt = ["for"], Qt = {
1374
1436
  key: 0,
1375
1437
  class: "vv-input-text__input-before"
1376
- }, Qt = ["id"], $t = {
1438
+ }, $t = ["id"], en = {
1377
1439
  key: 1,
1378
1440
  class: "vv-input-text__unit"
1379
- }, en = {
1441
+ }, tn = {
1380
1442
  key: 5,
1381
1443
  class: "vv-input-text__input-after"
1382
- }, tn = {
1444
+ }, nn = {
1383
1445
  key: 6,
1384
1446
  class: "vv-input-text__limit"
1385
- }, nn = { class: "flex-1" }, rn = ["title", "onClick"], an = /* @__PURE__ */ C({
1447
+ }, rn = { class: "flex-1" }, an = ["title", "onClick"], on = /* @__PURE__ */ C({
1386
1448
  name: "VvInputText",
1387
- props: Rt,
1388
- emits: Lt,
1449
+ props: zt,
1450
+ emits: Rt,
1389
1451
  setup(e, { expose: t, emit: n }) {
1390
- let o = e, s = n, l = ie(), d = It(), ee = Gt("VvInputText", Rt, o), { count: m, debounce: ne, icon: oe, iconPosition: ce, iconRemoveSuggestion: le, id: ue, invalid: de, label: fe, labelRemoveSuggestion: pe, loading: me, maxlength: he, minlength: ge, modelValue: C, step: ye, storageType: be, type: O, unit: xe, valid: Se } = _e(o), Ce = Ct(ue), we = y(() => `${Ce.value}-hint`), Te = y(() => o.floating && I(o.placeholder) ? " " : o.placeholder), { model: k, flush: Ee } = Kt(C, s, ne), De = y(() => {
1452
+ let o = e, s = n, l = ie(), d = Lt(), ee = Kt("VvInputText", zt, o), { count: m, debounce: ne, icon: oe, iconPosition: ce, iconRemoveSuggestion: le, id: ue, invalid: de, label: fe, labelRemoveSuggestion: pe, loading: me, maxlength: he, minlength: ge, modelValue: C, step: ye, storageType: be, type: O, unit: xe, valid: Se } = _e(o), Ce = Ct(ue), we = y(() => `${Ce.value}-hint`), Te = y(() => o.floating && I(o.placeholder) ? " " : o.placeholder), { model: k, flush: Ee } = qt(C, s, ne), De = y(() => {
1391
1453
  let e = Number(ye.value);
1392
1454
  return !Number.isNaN(e) && e % 60 != 0;
1393
1455
  }), Oe = /^-0?[.,]?[0*]?$/, ke = /./, Ae = /^-$|^$/, je = v(!1), A = v(), j = v(), { el: Ne, mask: Pe, typed: M, masked: N, unmasked: P } = ve(y(() => {
@@ -1468,37 +1530,37 @@ var Xt = ["for"], Zt = {
1468
1530
  }), p(() => o.masked, (e) => {
1469
1531
  N.value = e ?? "";
1470
1532
  });
1471
- let L = Ne, R = v(), z = v(), He = v();
1533
+ let L = Ne, R = v(), z = v(), B = v();
1472
1534
  t({
1473
1535
  $input: L,
1474
1536
  $inner: R,
1475
1537
  $wrapper: z,
1476
1538
  flush: Ee
1477
1539
  });
1478
- let { focused: B } = qt(L, s), Ue = y(() => B.value && !o.disabled && !o.readonly);
1479
- function We(e) {
1480
- e ? Ge() : Ke();
1540
+ let { focused: V } = Jt(L, s), He = y(() => V.value && !o.disabled && !o.readonly);
1541
+ function Ue(e) {
1542
+ e ? We() : Ge();
1481
1543
  }
1482
- function Ge() {
1483
- ee.value.selectOnFocus && L.value && L.value.select(), Z.value.size && He.value?.show();
1544
+ function We() {
1545
+ ee.value.selectOnFocus && L.value && L.value.select(), Z.value.size && !B.value?.restoringFocus && B.value?.show();
1484
1546
  }
1485
- function Ke() {
1547
+ function Ge() {
1486
1548
  let e = Ee() ?? k.value;
1487
1549
  if (!X.value || I(e)) return;
1488
1550
  let t = o.maxSuggestions;
1489
1551
  X.value.size >= t && !X.value.has(e) && (X.value = new Set([...X.value].slice(X.value.size - t + 1))), X.value.add(e);
1490
1552
  }
1491
- p(Ue, We);
1492
- let qe = Me(L);
1493
- p(qe, (e) => {
1494
- e && o.autofocus && !o.disabled && !o.readonly && (B.value = !0);
1553
+ p(He, Ue);
1554
+ let Ke = Me(L);
1555
+ p(Ke, (e) => {
1556
+ e && o.autofocus && !o.disabled && !o.readonly && (V.value = !0);
1495
1557
  });
1496
- let V = v(!1), H = y(() => o.type === $.PASSWORD);
1497
- function U() {
1498
- V.value = !V.value;
1558
+ let qe = v(!1), Je = y(() => o.type === $.PASSWORD);
1559
+ function Ye() {
1560
+ qe.value = !qe.value;
1499
1561
  }
1500
- let Je = y(() => dt.value), W = y(() => o.type === $.NUMBER);
1501
- function G() {
1562
+ let H = y(() => dt.value), Xe = y(() => o.type === $.NUMBER);
1563
+ function U() {
1502
1564
  if (!J.value) {
1503
1565
  if (o.iMask) {
1504
1566
  M.value = Number(M.value) + Number(ye?.value ?? 1);
@@ -1507,7 +1569,7 @@ var Xt = ["for"], Zt = {
1507
1569
  L.value.stepUp(), k.value = Number(L.value.value);
1508
1570
  }
1509
1571
  }
1510
- function Ye() {
1572
+ function Ze() {
1511
1573
  if (!J.value) {
1512
1574
  if (o.iMask) {
1513
1575
  M.value = Number(M.value) - Number(ye?.value ?? 1);
@@ -1516,35 +1578,35 @@ var Xt = ["for"], Zt = {
1516
1578
  L.value.stepDown(), k.value = Number(L.value.value);
1517
1579
  }
1518
1580
  }
1519
- let Xe = y(() => o.type === $.SEARCH);
1520
- function Ze() {
1581
+ let Qe = y(() => o.type === $.SEARCH);
1582
+ function $e() {
1521
1583
  k.value = "", s("clear");
1522
1584
  }
1523
- let { hasIconBefore: Qe, hasIconAfter: $e } = zt(oe, ce), q = y(() => {
1524
- if ($e.value !== void 0) return $e.value;
1585
+ let { hasIconBefore: G, hasIconAfter: K } = Bt(oe, ce), q = y(() => {
1586
+ if (K.value !== void 0) return K.value;
1525
1587
  switch (o.type) {
1526
- case $.COLOR: return { name: K.showColorPicker };
1588
+ case $.COLOR: return { name: W.showColorPicker };
1527
1589
  case $.DATE:
1528
1590
  case $.DATETIME_LOCAL:
1529
1591
  case $.WEEK:
1530
- case $.MONTH: return { name: K.showDatePicker };
1531
- case $.TIME: return { name: K.showTimePicker };
1592
+ case $.MONTH: return { name: W.showDatePicker };
1593
+ case $.TIME: return { name: W.showTimePicker };
1532
1594
  }
1533
- }), { hasIcon: et } = zt(le), { formatted: tt } = Jt(k, {
1595
+ }), { hasIcon: et } = Bt(le), { formatted: tt } = Yt(k, {
1534
1596
  mode: m.value,
1535
1597
  upperLimit: Number(he?.value),
1536
1598
  lowerLimit: Number(ge?.value)
1537
1599
  }), J = y(() => o.disabled || o.readonly), nt = y(() => J.value ? -1 : o.tabindex), Y = y(() => !I(C?.value)), rt = y(() => {
1538
1600
  if (de.value === !0) return !0;
1539
1601
  if (Se.value === !0) return !1;
1540
- }), X = Yt(y(() => o.storageKey ?? (d?.experimentalFeatures.forceInputSuggestions ? o.name : void 0)), be, /* @__PURE__ */ new Set()), Z = y(() => {
1602
+ }), X = Xt(y(() => o.storageKey ?? (d?.experimentalFeatures.forceInputSuggestions ? o.name : void 0)), be, /* @__PURE__ */ new Set()), Z = y(() => {
1541
1603
  let e = /* @__PURE__ */ new Map();
1542
1604
  if (X.value) for (let t of X.value) e.set(t, { isFromStorage: !0 });
1543
1605
  if (o.suggestions) for (let t of o.suggestions) e.set(t, { isFromStorage: !1 });
1544
1606
  return e;
1545
1607
  }), it = y(() => Z.value.size === 0 ? [] : [...Z.value.entries()].filter(([e]) => I(k.value) || `${e}`.toLowerCase().includes(`${k.value}`.toLowerCase()) && e !== k.value).reverse().map(([e]) => e)), at = y(() => Z.value.size > 0);
1546
1608
  function ot(e) {
1547
- k.value = e, He.value?.hide(), s("suggestion:selected", e);
1609
+ k.value = e, B.value?.hide(), s("suggestion:selected", e);
1548
1610
  }
1549
1611
  function st(e) {
1550
1612
  Z.value.get(e)?.isFromStorage && (X.value?.delete(e), s("suggestion:removed", e));
@@ -1556,11 +1618,11 @@ var Xt = ["for"], Zt = {
1556
1618
  disabled: o.disabled,
1557
1619
  required: o.required,
1558
1620
  readonly: o.readonly,
1559
- "icon-before": !!Qe.value,
1621
+ "icon-before": !!G.value,
1560
1622
  "icon-after": !!q.value,
1561
1623
  floating: o.floating && !I(o.label),
1562
1624
  dirty: Y.value,
1563
- focus: Ue.value && !J.value,
1625
+ focus: He.value && !J.value,
1564
1626
  "auto-width": o.autoWidth
1565
1627
  }))), ut = y(() => [
1566
1628
  $.TEXT,
@@ -1592,7 +1654,7 @@ var Xt = ["for"], Zt = {
1592
1654
  if (!I(e)) return (e instanceof Date || typeof e == "string" && Fe(e)) && ft.value ? Ie(e, ft.value, De.value) || void 0 : String(e);
1593
1655
  }
1594
1656
  let gt = y(() => {
1595
- let e = H.value && V.value || Je.value && !Y.value && !B.value || o.iMask ? $.TEXT : o.type, t = {
1657
+ let e = Je.value && qe.value || H.value && !Y.value && !V.value || o.iMask ? $.TEXT : o.type, t = {
1596
1658
  type: e,
1597
1659
  name: o.name,
1598
1660
  tabindex: nt.value,
@@ -1612,13 +1674,13 @@ var Xt = ["for"], Zt = {
1612
1674
  valid: o.valid,
1613
1675
  invalid: o.invalid,
1614
1676
  modelValue: o.modelValue,
1615
- togglePassword: U,
1616
- stepUp: G,
1617
- stepDown: Ye,
1618
- clear: Ze
1619
- })), { HintSlot: vt, hasHintLabelOrSlot: yt, hasInvalidLabelOrSlot: bt, hintSlotScope: xt } = Ve(ee, l), St = Ut($.PASSWORD, o, Y), wt = Ut($.NUMBER, o, Y), Tt = Ut($.SEARCH, o, Y);
1677
+ togglePassword: Ye,
1678
+ stepUp: U,
1679
+ stepDown: Ze,
1680
+ clear: $e
1681
+ })), { HintSlot: vt, hasHintLabelOrSlot: yt, hasInvalidLabelOrSlot: bt, hintSlotScope: xt } = Ve(ee, l), St = Wt($.PASSWORD, o, Y), wt = Wt($.NUMBER, o, Y), Tt = Wt($.SEARCH, o, Y);
1620
1682
  function Et() {
1621
- J.value || (B.value = !0);
1683
+ J.value || (V.value = !0);
1622
1684
  }
1623
1685
  let Dt = y(() => {
1624
1686
  if (o.autoWidth) return { width: k.value === void 0 ? void 0 : `${String(k.value).length + 1}ch` };
@@ -1626,10 +1688,10 @@ var Xt = ["for"], Zt = {
1626
1688
  function kt(e) {
1627
1689
  switch (e.code) {
1628
1690
  case "ArrowUp":
1629
- W.value && (G(), e.preventDefault());
1691
+ Xe.value && (U(), e.preventDefault());
1630
1692
  break;
1631
1693
  case "ArrowDown":
1632
- W.value && (Ye(), e.preventDefault());
1694
+ Xe.value && (Ze(), e.preventDefault());
1633
1695
  break;
1634
1696
  case "Enter":
1635
1697
  case "NumpadEnter": Ee();
@@ -1641,20 +1703,20 @@ var Xt = ["for"], Zt = {
1641
1703
  key: 0,
1642
1704
  for: w(Ce),
1643
1705
  class: "vv-input-text__label"
1644
- }, b(w(fe)), 9, Xt)) : S("v-if", !0),
1706
+ }, b(w(fe)), 9, Zt)) : S("v-if", !0),
1645
1707
  _("div", {
1646
1708
  ref_key: "wrapperEl",
1647
1709
  ref: z,
1648
1710
  class: "vv-input-text__wrapper"
1649
1711
  }, [
1650
- e.$slots.before ? (D(), E("div", Zt, [c(e.$slots, "before", r(i(w(_t))))])) : S("v-if", !0),
1712
+ e.$slots.before ? (D(), E("div", Qt, [c(e.$slots, "before", r(i(w(_t))))])) : S("v-if", !0),
1651
1713
  _("div", {
1652
1714
  ref_key: "innerEl",
1653
1715
  ref: R,
1654
1716
  class: "vv-input-text__inner",
1655
1717
  onClick: ae(Et, ["stop"])
1656
1718
  }, [
1657
- w(Qe) ? (D(), h(Q, f({ key: 0 }, w(Qe), { class: "vv-input-text__icon" }), null, 16)) : S("v-if", !0),
1719
+ w(G) ? (D(), h(Q, f({ key: 0 }, w(G), { class: "vv-input-text__icon" }), null, 16)) : S("v-if", !0),
1658
1720
  _("input", f({
1659
1721
  id: w(Ce),
1660
1722
  ref_key: "inputEl",
@@ -1664,22 +1726,22 @@ var Xt = ["for"], Zt = {
1664
1726
  onKeyup: t[0] ||= (e) => s("keyup", e),
1665
1727
  onKeydown: kt,
1666
1728
  onKeypress: t[1] ||= (e) => s("keypress", e)
1667
- }), null, 16, Qt),
1668
- (w(xe) || e.$slots.unit) && w(Y) ? (D(), E("div", $t, [c(e.$slots, "unit", r(i(w(_t))), () => [T(b(w(xe)), 1)])])) : S("v-if", !0)
1729
+ }), null, 16, $t),
1730
+ (w(xe) || e.$slots.unit) && w(Y) ? (D(), E("div", en, [c(e.$slots, "unit", r(i(w(_t))), () => [T(b(w(xe)), 1)])])) : S("v-if", !0)
1669
1731
  ], 512),
1670
- w(q) ? (D(), h(Q, f({ key: 1 }, w(q), { class: "vv-input-text__icon vv-input-text__icon-after" }), null, 16)) : w(H) && !e.hideActions && !w(J) ? (D(), h(w(St), {
1732
+ w(q) ? (D(), h(Q, f({ key: 1 }, w(q), { class: "vv-input-text__icon vv-input-text__icon-after" }), null, 16)) : w(Je) && !e.hideActions && !w(J) ? (D(), h(w(St), {
1671
1733
  key: 2,
1672
- onTogglePassword: U
1673
- })) : w(W) && !e.hideActions && !w(J) ? (D(), h(w(wt), {
1734
+ onTogglePassword: Ye
1735
+ })) : w(Xe) && !e.hideActions && !w(J) ? (D(), h(w(wt), {
1674
1736
  key: 3,
1675
- onStepUp: G,
1676
- onStepDown: Ye
1677
- })) : w(Xe) && !e.hideActions && !w(J) ? (D(), h(w(Tt), {
1737
+ onStepUp: U,
1738
+ onStepDown: Ze
1739
+ })) : w(Qe) && !e.hideActions && !w(J) ? (D(), h(w(Tt), {
1678
1740
  key: 4,
1679
- onClear: Ze
1741
+ onClear: $e
1680
1742
  })) : S("v-if", !0),
1681
- e.$slots.after ? (D(), E("div", en, [c(e.$slots, "after", r(i(w(_t))))])) : S("v-if", !0),
1682
- w(m) ? (D(), E("span", tn, [c(e.$slots, "count", r(i(w(_t))), () => [T(b(w(tt)), 1)])])) : S("v-if", !0)
1743
+ e.$slots.after ? (D(), E("div", tn, [c(e.$slots, "after", r(i(w(_t))))])) : S("v-if", !0),
1744
+ w(m) ? (D(), E("span", nn, [c(e.$slots, "count", r(i(w(_t))), () => [T(b(w(tt)), 1)])])) : S("v-if", !0)
1683
1745
  ], 512),
1684
1746
  te(w(vt), {
1685
1747
  id: w(we),
@@ -1706,27 +1768,27 @@ var Xt = ["for"], Zt = {
1706
1768
  key: "3"
1707
1769
  } : void 0
1708
1770
  ]), 1032, ["id"]),
1709
- w(at) ? (D(), h(jt, {
1771
+ w(at) ? (D(), h(Nt, {
1710
1772
  key: 1,
1711
1773
  ref_key: "suggestionsDropdownEl",
1712
- ref: He,
1774
+ ref: B,
1713
1775
  reference: w(z),
1714
1776
  "autofocus-first": !1,
1715
1777
  "trigger-width": !0,
1716
1778
  "top-layer": w(ee).topLayer
1717
1779
  }, {
1718
- items: x(() => [(D(!0), E(se, null, re(w(it), (t) => (D(), h(Ft, {
1780
+ items: x(() => [(D(!0), E(se, null, re(w(it), (t) => (D(), h(It, {
1719
1781
  key: String(t),
1720
1782
  onClick: ae((e) => ot(t), ["stop"])
1721
1783
  }, {
1722
- default: x(() => [_("div", nn, [c(e.$slots, "suggestion", f({ ref_for: !0 }, { value: t }), () => [T(b(t), 1)])]), w(Z).get(t)?.isFromStorage && w(et) ? (D(), E("button", {
1784
+ default: x(() => [_("div", rn, [c(e.$slots, "suggestion", f({ ref_for: !0 }, { value: t }), () => [T(b(t), 1)])]), w(Z).get(t)?.isFromStorage && w(et) ? (D(), E("button", {
1723
1785
  key: 0,
1724
1786
  type: "button",
1725
1787
  tabindex: "-1",
1726
1788
  class: "cursor-pointer",
1727
1789
  title: w(pe),
1728
1790
  onClick: ae((e) => st(t), ["stop"])
1729
- }, [te(Q, f({ ref_for: !0 }, w(et)), null, 16)], 8, rn)) : S("v-if", !0)]),
1791
+ }, [te(Q, f({ ref_for: !0 }, w(et)), null, 16)], 8, an)) : S("v-if", !0)]),
1730
1792
  _: 2
1731
1793
  }, 1032, ["onClick"]))), 128))]),
1732
1794
  _: 3
@@ -1734,6 +1796,6 @@ var Xt = ["for"], Zt = {
1734
1796
  ], 2));
1735
1797
  }
1736
1798
  });
1737
- export { an as default };
1799
+ export { on as default };
1738
1800
 
1739
- //# sourceMappingURL=VvInputText.es-DFSPWDcH.js.map
1801
+ //# sourceMappingURL=VvInputText.es-CHcdm2K-.js.map