@8wave/ai-elements 0.121.0-beta.31 → 0.121.0-beta.32

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 (180) hide show
  1. package/dist/_chunks/{Agent-wvUJZjp3.js → Agent-BPIcUM9P.js} +145 -144
  2. package/dist/_chunks/Agent-BPIcUM9P.js.map +1 -0
  3. package/dist/_chunks/{PkChatbotFilePreview-dtGYHgFN.js → PkChatbotFilePreview-CpFXWpU7.js} +48 -35
  4. package/dist/_chunks/PkChatbotFilePreview-CpFXWpU7.js.map +1 -0
  5. package/dist/_chunks/{PkHeldImage-yQVzab3w.js → PkHeldImage-DvHKY7Vh.js} +2 -2
  6. package/dist/_chunks/{PkHeldImage-yQVzab3w.js.map → PkHeldImage-DvHKY7Vh.js.map} +1 -1
  7. package/dist/_chunks/{PkLazyImg-KPWpt_yW.js → PkLazyImg-BBFsS16D.js} +2 -2
  8. package/dist/_chunks/{PkLazyImg-KPWpt_yW.js.map → PkLazyImg-BBFsS16D.js.map} +1 -1
  9. package/dist/_chunks/{PkStreamingMarkdown-DeZn-hPo.js → PkStreamingMarkdown-C8_9bk_Y.js} +8 -8
  10. package/dist/_chunks/PkStreamingMarkdown-C8_9bk_Y.js.map +1 -0
  11. package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js → PkToolEditSpreadsheet-DM5BCKd2.js} +3 -3
  12. package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js.map → PkToolEditSpreadsheet-DM5BCKd2.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js → PkToolRequestGeolocation-DnZFIG1Q.js} +3 -3
  14. package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js.map → PkToolRequestGeolocation-DnZFIG1Q.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js → PkToolRequestOAuthConnection-9LX5kQ43.js} +4 -4
  16. package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js.map → PkToolRequestOAuthConnection-9LX5kQ43.js.map} +1 -1
  17. package/dist/_chunks/PkToolShareDocument-BhT59J9o.js +64 -0
  18. package/dist/_chunks/PkToolShareDocument-BhT59J9o.js.map +1 -0
  19. package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js → PkToolShowArtifact-2ovT7cCd.js} +4 -4
  20. package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js.map → PkToolShowArtifact-2ovT7cCd.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js → PkToolShowCalendarEvent-Dzh4JURs.js} +4 -4
  22. package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js.map → PkToolShowCalendarEvent-Dzh4JURs.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js → PkToolShowComparison-CFHrXnaB.js} +4 -4
  24. package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js.map → PkToolShowComparison-CFHrXnaB.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js → PkToolShowContactForm-Bkoa-XYM.js} +5 -5
  26. package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js.map → PkToolShowContactForm-Bkoa-XYM.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js → PkToolShowDiagram-DGnIuRst.js} +4 -4
  28. package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js.map → PkToolShowDiagram-DGnIuRst.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js → PkToolShowEmail-C3jped-R.js} +4 -4
  30. package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js.map → PkToolShowEmail-C3jped-R.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js → PkToolShowForm-CvAgDlx8.js} +5 -5
  32. package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js.map → PkToolShowForm-CvAgDlx8.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js → PkToolShowImageGallery-CjA-r8o5.js} +4 -4
  34. package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js.map → PkToolShowImageGallery-CjA-r8o5.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js → PkToolShowLocation-gyMiVjhi.js} +4 -4
  36. package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js.map → PkToolShowLocation-gyMiVjhi.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js → PkToolShowMessage-wGPPnOAM.js} +4 -4
  38. package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js.map → PkToolShowMessage-wGPPnOAM.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js → PkToolShowProductList-DGPs57sX.js} +5 -5
  40. package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js.map → PkToolShowProductList-DGPs57sX.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js → PkToolShowQrCode-CeZsvZvb.js} +4 -4
  42. package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js.map → PkToolShowQrCode-CeZsvZvb.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js → PkToolShowSources-BVuYkrXs.js} +5 -5
  44. package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js.map → PkToolShowSources-BVuYkrXs.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js → PkToolShowSuggestedReply-B869o1YP.js} +3 -3
  46. package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js.map → PkToolShowSuggestedReply-B869o1YP.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowVideo-DL554qVB.js → PkToolShowVideo-DayRkHzW.js} +4 -4
  48. package/dist/_chunks/{PkToolShowVideo-DL554qVB.js.map → PkToolShowVideo-DayRkHzW.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js → PkToolShowWeather-BgS4_SWb.js} +2 -2
  50. package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js.map → PkToolShowWeather-BgS4_SWb.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js → PkToolShowWebPages-DTwnqmP-.js} +5 -5
  52. package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js.map → PkToolShowWebPages-DTwnqmP-.js.map} +1 -1
  53. package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js → VvButtonLocalized-B6igS2e0.js} +2 -2
  54. package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js.map → VvButtonLocalized-B6igS2e0.js.map} +1 -1
  55. package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js → VvCheckboxGroup.es-OXhptnPU.js} +2 -2
  56. package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js.map → VvCheckboxGroup.es-OXhptnPU.js.map} +1 -1
  57. package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js → VvCombobox.es-SLzX9VnX.js} +100 -100
  58. package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js.map → VvCombobox.es-SLzX9VnX.js.map} +1 -1
  59. package/dist/_chunks/{VvInputText.es-CM9r6IbN.js → VvInputText.es-CETcNKlr.js} +47 -47
  60. package/dist/_chunks/{VvInputText.es-CM9r6IbN.js.map → VvInputText.es-CETcNKlr.js.map} +1 -1
  61. package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js → VvRadioGroup.es-UBZBB89A.js} +2 -2
  62. package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js.map → VvRadioGroup.es-UBZBB89A.js.map} +1 -1
  63. package/dist/_chunks/{VvSelect.es-BoYULWyZ.js → VvSelect.es-B_MShGnJ.js} +2 -2
  64. package/dist/_chunks/{VvSelect.es-BoYULWyZ.js.map → VvSelect.es-B_MShGnJ.js.map} +1 -1
  65. package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js → VvTextarea.es-Dm2Yq3WM.js} +308 -308
  66. package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js.map → VvTextarea.es-Dm2Yq3WM.js.map} +1 -1
  67. package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js → chatImagePolicy-IKP98mdB.js} +2 -2
  68. package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js.map → chatImagePolicy-IKP98mdB.js.map} +1 -1
  69. package/dist/_chunks/{dist---RigjU4.js → dist-Do_Ac5Yv.js} +102 -48
  70. package/dist/_chunks/dist-Do_Ac5Yv.js.map +1 -0
  71. package/dist/_chunks/{index.es-Cn-q-Lal.js → index.es-BTDKU45u.js} +93 -93
  72. package/dist/_chunks/{index.es-Cn-q-Lal.js.map → index.es-BTDKU45u.js.map} +1 -1
  73. package/dist/_chunks/{index.es-CtWcRpZ7.js → index.es-BZS9Cscn.js} +11 -11
  74. package/dist/_chunks/{index.es-CtWcRpZ7.js.map → index.es-BZS9Cscn.js.map} +1 -1
  75. package/dist/_chunks/{markdown-DzN3Q-au.js → markdown-D7lXKAr4.js} +2 -2
  76. package/dist/_chunks/{markdown-DzN3Q-au.js.map → markdown-D7lXKAr4.js.map} +1 -1
  77. package/dist/ai-elements.es.js +356 -342
  78. package/dist/ai-elements.es.js.map +1 -1
  79. package/dist-vue/PkChatbot.js +1 -1
  80. package/dist-vue/PkChatbotEmptyState.js +1 -1
  81. package/dist-vue/PkChatbotFilePreview.js +1 -1
  82. package/dist-vue/PkChatbotInput.js +1 -1
  83. package/dist-vue/PkChatbotMessages.js +1 -1
  84. package/dist-vue/PkChatbotStepPayload.js +1 -1
  85. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  86. package/dist-vue/PkChatbotSteps.js +1 -1
  87. package/dist-vue/PkChatbotViewChat.js +1 -1
  88. package/dist-vue/PkChatbotViewConversations.js +1 -1
  89. package/dist-vue/PkChatbotViewFiles.js +1 -1
  90. package/dist-vue/PkChatbotViewProfile.js +1 -1
  91. package/dist-vue/_chunks/{Agent-ywfLo1Hg.js → Agent-D70vAgX4.js} +112 -110
  92. package/dist-vue/_chunks/Agent-D70vAgX4.js.map +1 -0
  93. package/dist-vue/_chunks/{Document-DqkgJZNx.js → Document-Bo4xInDb.js} +2 -2
  94. package/dist-vue/_chunks/{Document-DqkgJZNx.js.map → Document-Bo4xInDb.js.map} +1 -1
  95. package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js → PkChatbot-65tNfhpY.js} +8 -8
  96. package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js.map → PkChatbot-65tNfhpY.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js → PkChatbotEmptyState-CcRoSIb7.js} +2 -2
  98. package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js.map → PkChatbotEmptyState-CcRoSIb7.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotFilePreview-D8XyjDPJ.js → PkChatbotFilePreview-Btv20Ive.js} +57 -44
  100. package/dist-vue/_chunks/PkChatbotFilePreview-Btv20Ive.js.map +1 -0
  101. package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js → PkChatbotInput-BeXWvNLw.js} +3 -3
  102. package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js.map → PkChatbotInput-BeXWvNLw.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkChatbotMessages-Dzc0kzyo.js → PkChatbotMessages-BGOyBww5.js} +19 -18
  104. package/dist-vue/_chunks/PkChatbotMessages-BGOyBww5.js.map +1 -0
  105. package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js → PkChatbotStepPayload-DsqiKy3M.js} +2 -2
  106. package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js.map → PkChatbotStepPayload-DsqiKy3M.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js → PkChatbotStepToolDetail-Bg4IBzGh.js} +3 -3
  108. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js.map → PkChatbotStepToolDetail-Bg4IBzGh.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js → PkChatbotSteps-DfeBzC1S.js} +5 -5
  110. package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js.map → PkChatbotSteps-DfeBzC1S.js.map} +1 -1
  111. package/dist-vue/_chunks/{PkChatbotViewChat-B1iNTeQm.js → PkChatbotViewChat-Cj3MKRFE.js} +195 -190
  112. package/dist-vue/_chunks/PkChatbotViewChat-Cj3MKRFE.js.map +1 -0
  113. package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js → PkChatbotViewConversations-GqapFcx3.js} +3 -3
  114. package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js.map → PkChatbotViewConversations-GqapFcx3.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js → PkChatbotViewFiles-B-P6z7eN.js} +3 -3
  116. package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js.map → PkChatbotViewFiles-B-P6z7eN.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js → PkChatbotViewProfile-Bbu10IMd.js} +2 -2
  118. package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js.map → PkChatbotViewProfile-Bbu10IMd.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js → PkStreamingMarkdown-BFrymqYD.js} +3 -3
  120. package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js.map → PkStreamingMarkdown-BFrymqYD.js.map} +1 -1
  121. package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js → PkSvgViewer-BKygi00X.js} +2 -2
  122. package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js.map → PkSvgViewer-BKygi00X.js.map} +1 -1
  123. package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js → PkToolEditSpreadsheet-CfNQMSWR.js} +3 -3
  124. package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js.map → PkToolEditSpreadsheet-CfNQMSWR.js.map} +1 -1
  125. package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js → PkToolRequestGeolocation-DvO0z7sQ.js} +2 -2
  126. package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js.map → PkToolRequestGeolocation-DvO0z7sQ.js.map} +1 -1
  127. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js → PkToolRequestOAuthConnection-CTqtzwJm.js} +2 -2
  128. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js.map → PkToolRequestOAuthConnection-CTqtzwJm.js.map} +1 -1
  129. package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js +64 -0
  130. package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js.map +1 -0
  131. package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js → PkToolShowArtifact-BKZKi6J4.js} +2 -2
  132. package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js.map → PkToolShowArtifact-BKZKi6J4.js.map} +1 -1
  133. package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js → PkToolShowContactForm-CWpQaNOh.js} +2 -2
  134. package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js.map → PkToolShowContactForm-CWpQaNOh.js.map} +1 -1
  135. package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js → PkToolShowDiagram-DElkZZVV.js} +3 -3
  136. package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js.map → PkToolShowDiagram-DElkZZVV.js.map} +1 -1
  137. package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js → PkToolShowForm-BnM1fsi4.js} +4 -4
  138. package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js.map → PkToolShowForm-BnM1fsi4.js.map} +1 -1
  139. package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js → PkToolShowImageGallery-CzcPqcoS.js} +3 -3
  140. package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js.map → PkToolShowImageGallery-CzcPqcoS.js.map} +1 -1
  141. package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js → PkToolShowProductList-Cpf5SLLk.js} +2 -2
  142. package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js.map → PkToolShowProductList-Cpf5SLLk.js.map} +1 -1
  143. package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js → PkToolShowSources-E7BcGvof.js} +3 -3
  144. package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js.map → PkToolShowSources-E7BcGvof.js.map} +1 -1
  145. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js → PkToolShowSuggestedReply-JTMiOpHZ.js} +2 -2
  146. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js.map → PkToolShowSuggestedReply-JTMiOpHZ.js.map} +1 -1
  147. package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js → PkToolShowVideo-DFdmzUkS.js} +2 -2
  148. package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js.map → PkToolShowVideo-DFdmzUkS.js.map} +1 -1
  149. package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js → PkToolShowWebPages-CG_Mq77j.js} +2 -2
  150. package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js.map → PkToolShowWebPages-CG_Mq77j.js.map} +1 -1
  151. package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js → createChatbotApiClient-BTrOwIYi.js} +2 -2
  152. package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js.map → createChatbotApiClient-BTrOwIYi.js.map} +1 -1
  153. package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js → useChatbotStore-KjeThRAo.js} +3 -3
  154. package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js.map → useChatbotStore-KjeThRAo.js.map} +1 -1
  155. package/dist-vue/_chunks/{utils-FkhB6Tl2.js → utils-Bf29zWlC.js} +6 -6
  156. package/dist-vue/_chunks/utils-Bf29zWlC.js.map +1 -0
  157. package/dist-vue/api.js +1 -1
  158. package/dist-vue/composables.js +14 -6
  159. package/dist-vue/composables.js.map +1 -1
  160. package/dist-vue/index.js +3293 -3286
  161. package/dist-vue/index.js.map +1 -1
  162. package/dist-vue/locales.js +6 -0
  163. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +7 -0
  164. package/dist-vue/packages/components/src/chat/PkChatbotFilePreview.d.ts +12 -0
  165. package/dist-vue/packages/components/src/chat/PkToolShareDocument.d.ts +16 -0
  166. package/dist-vue/packages/components/src/chat/index.d.ts +2 -1
  167. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  168. package/dist-vue/packages/models/src/schema/Agent.d.ts +30 -0
  169. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
  170. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
  171. package/package.json +1 -1
  172. package/dist/_chunks/Agent-wvUJZjp3.js.map +0 -1
  173. package/dist/_chunks/PkChatbotFilePreview-dtGYHgFN.js.map +0 -1
  174. package/dist/_chunks/PkStreamingMarkdown-DeZn-hPo.js.map +0 -1
  175. package/dist/_chunks/dist---RigjU4.js.map +0 -1
  176. package/dist-vue/_chunks/Agent-ywfLo1Hg.js.map +0 -1
  177. package/dist-vue/_chunks/PkChatbotFilePreview-D8XyjDPJ.js.map +0 -1
  178. package/dist-vue/_chunks/PkChatbotMessages-Dzc0kzyo.js.map +0 -1
  179. package/dist-vue/_chunks/PkChatbotViewChat-B1iNTeQm.js.map +0 -1
  180. package/dist-vue/_chunks/utils-FkhB6Tl2.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, G as c, I as l, J as u, K as d, N as f, Ot as ee, P as p, R as m, S as te, Tt as ne, V as h, W as g, Z as _, _ as v, at as re, b as ie, bt as y, c as b, d as ae, et as x, f as oe, ft as S, g as C, h as w, ht as T, j as E, k as se, l as ce, lt as le, r as ue, t as de, tt as fe, v as D, w as O, wt as k, x as A, xt as j, y as M, z as N } from "./vue.runtime.esm-bundler-BkvITeKg.js";
2
- import { a as pe, i as me, t as he } from "./iconify-Lm6SAZ2s.js";
3
- import { _ as ge, c as P, l as _e, n as ve, o as ye, p as F, r as I, u as be, v as L } from "./dist---RigjU4.js";
4
- import { a as xe, c as R, i as Se, l as Ce, n as we, o as Te, r as Ee, s as De, t as Oe } from "./floating-ui.vue-DgWctTmX.js";
1
+ import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, G as c, I as l, J as u, K as d, N as f, Ot as p, P as m, R as h, S as ee, Tt as te, V as g, W as _, Z as v, _ as y, at as ne, b as re, bt as ie, c as b, d as x, et as S, f as ae, ft as C, g as w, h as T, ht as E, j as D, k as oe, l as se, lt as ce, r as le, t as ue, tt as de, v as O, w as k, wt as A, x as j, xt as M, y as N, z as P } from "./vue.runtime.esm-bundler-BkvITeKg.js";
2
+ import { a as F, i as fe, t as pe } from "./iconify-Lm6SAZ2s.js";
3
+ import { c as me, l as I, n as he, o as ge, p as _e, r as L, u as R, v as ve, y as z } from "./dist-Do_Ac5Yv.js";
4
+ import { a as ye, c as be, i as xe, l as Se, n as Ce, o as we, r as Te, s as Ee, t as De } from "./floating-ui.vue-DgWctTmX.js";
5
5
  //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.25_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_6457cdc65e61a009108dae6427ee3925/node_modules/@volverjs/ui-vue/dist/components/VvTextarea/VvTextarea.es.js
6
- se(), ue(), re(), k();
7
- var z = {
6
+ oe(), le(), ne(), A();
7
+ var B = {
8
8
  showPassword: "eye-on",
9
9
  hidePassword: "eye-off",
10
10
  showDatePicker: "calendar",
@@ -15,27 +15,27 @@ var z = {
15
15
  remove: "trash",
16
16
  edit: "edit",
17
17
  download: "download"
18
- }, ke = { prefix: "normal" }, B = /* @__PURE__ */ (function(e) {
18
+ }, Oe = { prefix: "normal" }, V = /* @__PURE__ */ (function(e) {
19
19
  return e.local = "local", e.session = "session", e;
20
- })({}), V = /* @__PURE__ */ (function(e) {
21
- return e.absolute = "absolute", e.fixed = "fixed", e;
22
20
  })({}), H = /* @__PURE__ */ (function(e) {
21
+ return e.absolute = "absolute", e.fixed = "fixed", e;
22
+ })({}), U = /* @__PURE__ */ (function(e) {
23
23
  return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
24
- })({}), Ae = /* @__PURE__ */ (function(e) {
24
+ })({}), ke = /* @__PURE__ */ (function(e) {
25
25
  return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
26
- })({}), U = /* @__PURE__ */ (function(e) {
26
+ })({}), W = /* @__PURE__ */ (function(e) {
27
27
  return e.before = "before", e.after = "after", e;
28
- })({}), je = /* @__PURE__ */ (function(e) {
28
+ })({}), Ae = /* @__PURE__ */ (function(e) {
29
29
  return e.button = "button", e.submit = "submit", e.reset = "reset", e;
30
- })({}), W = /* @__PURE__ */ (function(e) {
31
- return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
32
30
  })({}), G = /* @__PURE__ */ (function(e) {
33
- return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
31
+ return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
34
32
  })({}), K = /* @__PURE__ */ (function(e) {
35
- return e.listbox = "listbox", e.menu = "menu", e;
33
+ return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
36
34
  })({}), q = /* @__PURE__ */ (function(e) {
35
+ return e.listbox = "listbox", e.menu = "menu", e;
36
+ })({}), J = /* @__PURE__ */ (function(e) {
37
37
  return e.option = "option", e.presentation = "presentation", e;
38
- })({}), J = /* @__PURE__ */ Symbol.for("volver"), Me = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Y = /* @__PURE__ */ Symbol.for("dropdownItem"), X = /* @__PURE__ */ Symbol.for("dropdownAction"), Ne = {
38
+ })({}), Y = /* @__PURE__ */ Symbol.for("volver"), je = /* @__PURE__ */ Symbol.for("dropdownTrigger"), X = /* @__PURE__ */ Symbol.for("dropdownItem"), Z = /* @__PURE__ */ Symbol.for("dropdownAction"), Me = {
39
39
  to: { type: [String, Object] },
40
40
  href: String,
41
41
  target: String,
@@ -43,7 +43,7 @@ var z = {
43
43
  type: String,
44
44
  default: "noopener noreferrer"
45
45
  }
46
- }, Z = {
46
+ }, Ne = {
47
47
  valid: {
48
48
  type: Boolean,
49
49
  default: !1
@@ -86,7 +86,7 @@ var z = {
86
86
  type: Boolean,
87
87
  default: !1
88
88
  } };
89
- z.clear;
89
+ B.clear;
90
90
  var ze = { pressed: {
91
91
  type: Boolean,
92
92
  default: !1
@@ -151,8 +151,8 @@ var ze = { pressed: {
151
151
  },
152
152
  iconPosition: {
153
153
  type: String,
154
- default: U.before,
155
- validator: (e) => Object.values(U).includes(e)
154
+ default: W.before,
155
+ validator: (e) => Object.values(W).includes(e)
156
156
  }
157
157
  }, Ye = { tabindex: {
158
158
  type: [String, Number],
@@ -166,13 +166,13 @@ var ze = { pressed: {
166
166
  } }, Qe = { id: [String, Number] }, $e = {
167
167
  placement: {
168
168
  type: String,
169
- default: H.bottom,
170
- validator: (e) => Object.values(H).includes(e) || Object.values(Ae).includes(e)
169
+ default: U.bottom,
170
+ validator: (e) => Object.values(U).includes(e) || Object.values(ke).includes(e)
171
171
  },
172
172
  strategy: {
173
173
  type: String,
174
174
  default: void 0,
175
- validator: (e) => Object.values(V).includes(e)
175
+ validator: (e) => Object.values(H).includes(e)
176
176
  },
177
177
  transitionName: {
178
178
  type: String,
@@ -241,7 +241,7 @@ var ze = { pressed: {
241
241
  ...Ye,
242
242
  ...Q,
243
243
  ...He,
244
- ...Z,
244
+ ...Ne,
245
245
  ...Pe,
246
246
  ...We,
247
247
  ...Fe,
@@ -269,7 +269,7 @@ var ze = { pressed: {
269
269
  ({
270
270
  ...et,
271
271
  ...Ye,
272
- ...Z,
272
+ ...Ne,
273
273
  ...Pe,
274
274
  ...We,
275
275
  ...Q,
@@ -279,7 +279,7 @@ var ze = { pressed: {
279
279
  ...Ve,
280
280
  ...Fe
281
281
  }), {
282
- ...Z,
282
+ ...Ne,
283
283
  ...Pe,
284
284
  ...Ge,
285
285
  ...We,
@@ -295,13 +295,13 @@ var ze = { pressed: {
295
295
  ...ze,
296
296
  ...Le,
297
297
  ...Re,
298
- ...Ne
299
- }, je.button, W.button;
298
+ ...Me
299
+ }, Ae.button, G.button;
300
300
  var it = {
301
301
  storageType: {
302
302
  type: String,
303
- default: B.local,
304
- validator: (e) => Object.values(B).includes(e)
303
+ default: V.local,
304
+ validator: (e) => Object.values(V).includes(e)
305
305
  },
306
306
  storageKey: String
307
307
  }, at = {
@@ -340,7 +340,7 @@ var it = {
340
340
  },
341
341
  iconRemoveSuggestion: {
342
342
  type: [String, Object],
343
- default: z.remove
343
+ default: B.remove
344
344
  },
345
345
  labelRemoveSuggestion: {
346
346
  type: String,
@@ -367,19 +367,19 @@ function dt(e) {
367
367
  return Array.isArray(e) ? e.filter((e) => ut(e)).join(" ") : e;
368
368
  }
369
369
  function ft(e, t) {
370
- let n = w(() => le(e) ? e.value : e), r = w(() => dt(n.value.invalidLabel)), a = w(() => dt(n.value.validLabel)), o = w(() => n.value.loadingLabel), s = w(() => n.value.hintLabel), c = w(() => !!(n.value.loading && (t.loading || o.value))), l = w(() => !c.value && !!(n.value.invalid && (t.invalid || r.value))), u = w(() => !c.value && !l.value && !!(n.value.valid && (t.valid || a.value))), d = w(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = w(() => l.value || u.value || c.value || d.value);
370
+ let n = T(() => ce(e) ? e.value : e), r = T(() => dt(n.value.invalidLabel)), a = T(() => dt(n.value.validLabel)), o = T(() => n.value.loadingLabel), s = T(() => n.value.hintLabel), c = T(() => !!(n.value.loading && (t.loading || o.value))), l = T(() => !c.value && !!(n.value.invalid && (t.invalid || r.value))), u = T(() => !c.value && !l.value && !!(n.value.valid && (t.valid || a.value))), d = T(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = T(() => l.value || u.value || c.value || d.value);
371
371
  return {
372
372
  hasInvalidLabelOrSlot: l,
373
373
  hasHintLabelOrSlot: d,
374
374
  hasValidLabelOrSlot: u,
375
375
  hasLoadingLabelOrSlot: c,
376
- hintSlotScope: w(() => ({
376
+ hintSlotScope: T(() => ({
377
377
  modelValue: n.value.modelValue,
378
378
  valid: n.value.valid,
379
379
  invalid: n.value.invalid,
380
380
  loading: n.value.loading
381
381
  })),
382
- HintSlot: O({
382
+ HintSlot: k({
383
383
  name: "HintSlot",
384
384
  props: { tag: {
385
385
  type: String,
@@ -422,8 +422,8 @@ var pt = {
422
422
  },
423
423
  role: {
424
424
  type: String,
425
- default: K.menu,
426
- validator: (e) => Object.values(K).includes(e)
425
+ default: q.menu,
426
+ validator: (e) => Object.values(q).includes(e)
427
427
  }
428
428
  }, mt = { focusOnHover: {
429
429
  type: Boolean,
@@ -443,10 +443,10 @@ var pt = {
443
443
  };
444
444
  function gt(e) {
445
445
  let t = d();
446
- return w(() => String(e?.value || t));
446
+ return T(() => String(e?.value || t));
447
447
  }
448
448
  function _t(e, t) {
449
- let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = w(() => n && j(t)), i = w(() => r.value ? "manual" : void 0);
449
+ let n = globalThis.HTMLElement !== void 0 && "popover" in globalThis.HTMLElement.prototype, r = T(() => n && M(t)), i = T(() => r.value ? "manual" : void 0);
450
450
  function a() {
451
451
  return (n && e.value?.matches(":popover-open")) ?? !1;
452
452
  }
@@ -468,13 +468,13 @@ function _t(e, t) {
468
468
  };
469
469
  }
470
470
  function vt({ reference: e, id: t, expanded: n, aria: r }) {
471
- let a = Ce();
471
+ let a = Se();
472
472
  return {
473
473
  bus: a,
474
- component: O({
474
+ component: k({
475
475
  name: "VvDropdownTriggerProvider",
476
476
  setup() {
477
- N(Me, {
477
+ P(je, {
478
478
  reference: e,
479
479
  id: t,
480
480
  expanded: n,
@@ -483,26 +483,26 @@ function vt({ reference: e, id: t, expanded: n, aria: r }) {
483
483
  });
484
484
  },
485
485
  render() {
486
- return i(oe, {}, this.$slots.default?.());
486
+ return i(ae, {}, this.$slots.default?.());
487
487
  }
488
488
  })
489
489
  };
490
490
  }
491
491
  function yt({ role: e, ...t }) {
492
- let n = w(() => e.value === K.listbox ? q.option : q.presentation);
493
- return N(Y, {
492
+ let n = T(() => e.value === q.listbox ? J.option : J.presentation);
493
+ return P(X, {
494
494
  role: n,
495
495
  ...t
496
496
  }), { itemRole: n };
497
497
  }
498
498
  function bt({ expanded: e }) {
499
- N(X, {
500
- role: T(G.menuitem),
499
+ P(Z, {
500
+ role: E(K.menuitem),
501
501
  expanded: e
502
502
  });
503
503
  }
504
504
  function xt(e, t, n) {
505
- return w(() => {
505
+ return T(() => {
506
506
  let i = { [e]: !0 }, a = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
507
507
  return a && Array.isArray(a) && a.forEach((t) => {
508
508
  t && (i[`${e}--${t}`] = !0);
@@ -516,7 +516,7 @@ var St = ["popover"], Ct = [
516
516
  "tabindex",
517
517
  "role",
518
518
  "aria-labelledby"
519
- ], wt = /* @__PURE__ */ O({
519
+ ], wt = /* @__PURE__ */ k({
520
520
  name: "VvDropdown",
521
521
  inheritAttrs: !1,
522
522
  props: pt,
@@ -538,152 +538,152 @@ var St = ["popover"], Ct = [
538
538
  "leaveCancelled"
539
539
  ],
540
540
  setup(t, { expose: n, emit: i }) {
541
- let u = t, d = i, { id: ee } = y(u), v = gt(ee), re = c(), ie = T(), b = T(), ae = T(), S = T(), E = w({
542
- get: () => u.reference ?? ie.value,
541
+ let u = t, d = i, { id: p } = ie(u), y = gt(p), ne = c(), re = E(), b = E(), x = E(), C = E(), D = T({
542
+ get: () => u.reference ?? re.value,
543
543
  set: (e) => {
544
- ie.value = e;
544
+ re.value = e;
545
545
  }
546
- }), { isTopLayer: se, popover: le, show: ue, hide: O } = _t(b, () => u.topLayer), k = w(() => se.value ? V.fixed : u.strategy), A = T(!1);
546
+ }), { isTopLayer: oe, popover: ce, show: le, hide: k } = _t(b, () => u.topLayer), A = T(() => oe.value ? H.fixed : u.strategy), j = E(!1);
547
547
  l(() => {
548
- F(b.value, () => {
549
- A.value = globalThis.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
548
+ _e(b.value, () => {
549
+ j.value = globalThis.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
550
550
  }, {
551
551
  attributeFilter: ["style"],
552
552
  window: globalThis.window
553
553
  });
554
554
  });
555
- function j(e, t, n) {
555
+ function M(e, t, n) {
556
556
  return typeof e == "boolean" ? t() : n(e);
557
557
  }
558
- function N(e) {
558
+ function P(e) {
559
559
  return !e.width && !e.height;
560
560
  }
561
- let pe = {
561
+ let F = {
562
562
  name: "uncap",
563
563
  fn({ elements: e, rects: t, middlewareData: n }) {
564
564
  let { style: r } = e.floating, i = t.floating.height >= Number.parseFloat(r.maxHeight) - 1 || t.floating.width >= Number.parseFloat(r.maxWidth) - 1;
565
- return n.uncap || !i || N(t.floating) ? {} : (r.maxHeight = "", r.maxWidth = "", {
565
+ return n.uncap || !i || P(t.floating) ? {} : (r.maxHeight = "", r.maxWidth = "", {
566
566
  data: { uncapped: !0 },
567
567
  reset: { rects: !0 }
568
568
  });
569
569
  }
570
- }, me = w(() => {
570
+ }, fe = T(() => {
571
571
  let e = [];
572
- u.size && e.push(pe), u.offset && e.push(["string", "number"].includes(typeof u.offset) ? Te(Number(u.offset)) : Te(u.offset));
572
+ u.size && e.push(F), u.offset && e.push(["string", "number"].includes(typeof u.offset) ? we(Number(u.offset)) : we(u.offset));
573
573
  let t = typeof u.size == "object" ? u.size.padding : void 0;
574
- if (u.autoPlacement ? e.push(j(u.autoPlacement, () => Ee(), (e) => Ee(e))) : u.flip && e.push(j(u.flip, () => xe({
574
+ if (u.autoPlacement ? e.push(M(u.autoPlacement, () => Te(), (e) => Te(e))) : u.flip && e.push(M(u.flip, () => ye({
575
575
  fallbackStrategy: "initialPlacement",
576
576
  padding: t
577
- }), (e) => xe({
577
+ }), (e) => ye({
578
578
  padding: t,
579
579
  ...e
580
- }))), u.shift && e.push(j(u.shift, () => De(), (e) => De(e))), u.size) {
580
+ }))), u.shift && e.push(M(u.shift, () => Ee(), (e) => Ee(e))), u.size) {
581
581
  let t = ({ availableWidth: e, availableHeight: t, elements: n, rects: r }) => {
582
- if (N(r.floating) || A.value) return;
582
+ if (P(r.floating) || j.value) return;
583
583
  let { style: i } = n.floating;
584
- i.maxWidth = u.triggerWidth && E.value ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
584
+ i.maxWidth = u.triggerWidth && D.value ? "" : `${Math.max(0, e)}px`, i.maxHeight = `${Math.max(0, t)}px`;
585
585
  };
586
- e.push(j(u.size, () => R({ apply: t }), (e) => R({
586
+ e.push(M(u.size, () => be({ apply: t }), (e) => be({
587
587
  ...e,
588
588
  apply: (n) => (t(n), e?.apply?.(n))
589
589
  })));
590
590
  }
591
- return u.arrow && e.push(Oe({ element: ae })), e;
592
- }), { x: he, y: ge, middlewareData: P, placement: _e, strategy: Ce, update: z } = we(E, b, {
593
- placement: w(() => u.placement),
594
- strategy: k,
595
- middleware: me
596
- }), ke = w(() => {
597
- if (A.value) return;
598
- let e = u.triggerWidth && E.value ? `${E.value?.offsetWidth}px` : void 0;
591
+ return u.arrow && e.push(De({ element: x })), e;
592
+ }), { x: pe, y: me, middlewareData: I, placement: ve, strategy: Se, update: B } = Ce(D, b, {
593
+ placement: T(() => u.placement),
594
+ strategy: A,
595
+ middleware: fe
596
+ }), Oe = T(() => {
597
+ if (j.value) return;
598
+ let e = u.triggerWidth && D.value ? `${D.value?.offsetWidth}px` : void 0;
599
599
  return {
600
- position: Ce.value,
601
- top: `${ge.value ?? 0}px`,
602
- left: `${he.value ?? 0}px`,
600
+ position: Se.value,
601
+ top: `${me.value ?? 0}px`,
602
+ left: `${pe.value ?? 0}px`,
603
603
  width: e
604
604
  };
605
- }), B = w(() => _e.value.split("-")[0]), Ae = w(() => {
606
- if (A.value) return;
605
+ }), V = T(() => ve.value.split("-")[0]), ke = T(() => {
606
+ if (j.value) return;
607
607
  let e = {
608
- [H.top]: H.bottom,
609
- [H.right]: H.left,
610
- [H.bottom]: H.top,
611
- [H.left]: H.right
612
- }[B.value];
608
+ [U.top]: U.bottom,
609
+ [U.right]: U.left,
610
+ [U.bottom]: U.top,
611
+ [U.left]: U.right
612
+ }[V.value];
613
613
  return {
614
- left: P.value.arrow?.x === void 0 ? void 0 : `${P.value.arrow?.x}px`,
615
- top: P.value.arrow?.y === void 0 ? void 0 : `${P.value.arrow?.y}px`,
616
- [e]: `${-(ae.value?.offsetWidth ?? 0) / 2}px`
614
+ left: I.value.arrow?.x === void 0 ? void 0 : `${I.value.arrow?.x}px`,
615
+ top: I.value.arrow?.y === void 0 ? void 0 : `${I.value.arrow?.y}px`,
616
+ [e]: `${-(x.value?.offsetWidth ?? 0) / 2}px`
617
617
  };
618
- }), U = L(u, "modelValue", d), je = T(!1), W = w({
619
- get: () => U.value ?? je.value,
618
+ }), W = z(u, "modelValue", d), Ae = E(!1), G = T({
619
+ get: () => W.value ?? Ae.value,
620
620
  set: (e) => {
621
- U.value === void 0 ? je.value = e : U.value = e;
621
+ W.value === void 0 ? Ae.value = e : W.value = e;
622
622
  }
623
623
  });
624
- _([
625
- W,
626
- E,
624
+ v([
625
+ G,
626
+ D,
627
627
  b,
628
- k
628
+ A
629
629
  ], ([e, t, n, r], i, a) => {
630
- !e || !t || !n || a(Se(t, n, z, { animationFrame: r === V.fixed }));
630
+ !e || !t || !n || a(xe(t, n, B, { animationFrame: r === H.fixed }));
631
631
  }, {
632
632
  flush: "post",
633
633
  immediate: !0
634
- }), F(S, () => {
635
- W.value && z();
634
+ }), _e(C, () => {
635
+ G.value && B();
636
636
  }, {
637
637
  childList: !0,
638
638
  subtree: !0,
639
639
  characterData: !0
640
640
  }), e(() => {
641
- W.value && ue();
641
+ G.value && le();
642
642
  });
643
- function G() {
644
- W.value = !0;
645
- }
646
643
  function K() {
647
- W.value = !1;
644
+ G.value = !0;
648
645
  }
649
646
  function q() {
650
- W.value = !W.value;
647
+ G.value = !1;
648
+ }
649
+ function J() {
650
+ G.value = !G.value;
651
651
  }
652
- function J(e) {
653
- E.value = e;
652
+ function Y(e) {
653
+ D.value = e;
654
654
  }
655
- ve(b, () => {
656
- !u.keepOpen && W.value && (W.value = !1);
657
- }, { ignore: [E] });
658
- let Me = w(() => E.value?.getAttribute?.("id") ?? void 0), Y = w(() => ({
659
- "aria-controls": v.value,
655
+ he(b, () => {
656
+ !u.keepOpen && G.value && (G.value = !1);
657
+ }, { ignore: [D] });
658
+ let je = T(() => D.value?.getAttribute?.("id") ?? void 0), X = T(() => ({
659
+ "aria-controls": y.value,
660
660
  "aria-haspopup": !0,
661
- "aria-expanded": W.value
662
- })), { component: X, bus: Ne } = vt({
663
- reference: E,
664
- id: v,
665
- expanded: W,
666
- aria: Y
661
+ "aria-expanded": G.value
662
+ })), { component: Z, bus: Me } = vt({
663
+ reference: D,
664
+ id: y,
665
+ expanded: G,
666
+ aria: X
667
667
  });
668
- Ne.on("click", q);
669
- let { role: Z, modifiers: Pe } = y(u), Fe = xt("vv-dropdown", Pe, w(() => ({ arrow: u.arrow }))), { focused: Q } = be(b);
668
+ Me.on("click", J);
669
+ let { role: Ne, modifiers: Pe } = ie(u), Fe = xt("vv-dropdown", Pe, T(() => ({ arrow: u.arrow }))), { focused: Q } = R(b);
670
670
  function $(e) {
671
671
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
672
672
  }
673
673
  function Ie() {
674
- p(() => {
674
+ m(() => {
675
675
  let e = $(b.value);
676
676
  e.length > 0 && e[0].focus({ preventScroll: !0 });
677
677
  });
678
678
  }
679
679
  function Le() {
680
- p(() => {
681
- let e = $(S.value);
680
+ m(() => {
681
+ let e = $(C.value);
682
682
  e.length > 0 && e[0].focus({ preventScroll: !0 });
683
683
  });
684
684
  }
685
685
  function Re() {
686
- p(() => {
686
+ m(() => {
687
687
  if (Q.value) {
688
688
  let e = $(b.value);
689
689
  if (e.length === 0 || !document.activeElement) return;
@@ -693,7 +693,7 @@ var St = ["popover"], Ct = [
693
693
  });
694
694
  }
695
695
  function ze() {
696
- p(() => {
696
+ m(() => {
697
697
  if (Q.value) {
698
698
  let e = $(b.value);
699
699
  if (e.length === 0 || !document.activeElement) return;
@@ -706,41 +706,41 @@ var St = ["popover"], Ct = [
706
706
  }
707
707
  });
708
708
  }
709
- _(W, (e) => {
709
+ v(G, (e) => {
710
710
  e && u.autofocusFirst && Ie();
711
711
  }), n({
712
- toggle: q,
713
- show: G,
714
- hide: K,
715
- init: J,
712
+ toggle: J,
713
+ show: K,
714
+ hide: q,
715
+ init: Y,
716
716
  focusFirst: Ie,
717
717
  focusFirstListElement: Le,
718
718
  focusNext: Re,
719
719
  focusPrev: ze,
720
- customPosition: A
720
+ customPosition: j
721
721
  });
722
722
  let { itemRole: Be } = yt({
723
- role: Z,
724
- expanded: W,
723
+ role: Ne,
724
+ expanded: G,
725
725
  focused: Q,
726
- hovered: ye(b)
726
+ hovered: ge(b)
727
727
  });
728
- I("Escape", (e) => {
729
- W.value && (e.preventDefault(), K());
730
- }), I("ArrowDown", (e) => {
731
- W.value && Q.value && (e.preventDefault(), Re());
732
- }), I("ArrowUp", (e) => {
733
- W.value && Q.value && (e.preventDefault(), ze());
734
- }), I([" ", "Enter"], (e) => {
728
+ L("Escape", (e) => {
729
+ G.value && (e.preventDefault(), q());
730
+ }), L("ArrowDown", (e) => {
731
+ G.value && Q.value && (e.preventDefault(), Re());
732
+ }), L("ArrowUp", (e) => {
733
+ G.value && Q.value && (e.preventDefault(), ze());
734
+ }), L([" ", "Enter"], (e) => {
735
735
  let t = e.target;
736
- W.value && Q.value && t && t?.click();
736
+ G.value && Q.value && t && t?.click();
737
737
  });
738
738
  let Ve = {
739
739
  "before-enter": () => {
740
740
  d("beforeExpand"), d("beforeEnter");
741
741
  },
742
742
  "after-leave": () => {
743
- W.value || O(), d("afterCollapse"), d("afterLeave");
743
+ G.value || k(), d("afterCollapse"), d("afterLeave");
744
744
  },
745
745
  enter: () => {
746
746
  d("enter");
@@ -761,105 +761,105 @@ var St = ["popover"], Ct = [
761
761
  d("leaveCancelled");
762
762
  }
763
763
  };
764
- return (e, t) => (m(), M(oe, null, [te(r(X), null, {
765
- default: x(() => [h(e.$slots, "default", s(o({
766
- init: J,
767
- show: G,
768
- hide: K,
769
- toggle: q,
770
- expanded: r(W),
771
- aria: r(Y)
764
+ return (e, t) => (h(), N(ae, null, [ee(r(Z), null, {
765
+ default: S(() => [g(e.$slots, "default", s(o({
766
+ init: Y,
767
+ show: K,
768
+ hide: q,
769
+ toggle: J,
770
+ expanded: r(G),
771
+ aria: r(X)
772
772
  })))]),
773
773
  _: 3
774
- }), te(de, f({ name: e.transitionName }, g(Ve), { persisted: "" }), {
775
- default: x(() => [fe(C("div", {
774
+ }), ee(ue, f({ name: e.transitionName }, _(Ve), { persisted: "" }), {
775
+ default: S(() => [de(w("div", {
776
776
  ref_key: "floatingEl",
777
777
  ref: b,
778
- popover: r(le),
779
- style: a(r(ke)),
780
- class: ne(r(Fe))
778
+ popover: r(ce),
779
+ style: a(r(Oe)),
780
+ class: te(r(Fe))
781
781
  }, [
782
- u.arrow ? (m(), M("div", {
782
+ u.arrow ? (h(), N("div", {
783
783
  key: 0,
784
784
  ref_key: "arrowEl",
785
- ref: ae,
786
- style: a(r(Ae)),
785
+ ref: x,
786
+ style: a(r(ke)),
787
787
  class: "vv-dropdown__arrow"
788
- }, null, 4)) : D("v-if", !0),
789
- h(e.$slots, "before", s(o({
790
- show: G,
791
- hide: K,
792
- toggle: q,
793
- expanded: r(W)
788
+ }, null, 4)) : O("v-if", !0),
789
+ g(e.$slots, "before", s(o({
790
+ show: K,
791
+ hide: q,
792
+ toggle: J,
793
+ expanded: r(G)
794
794
  }))),
795
- C("div", f(r(re), {
796
- id: r(v),
795
+ w("div", f(r(ne), {
796
+ id: r(y),
797
797
  ref_key: "listEl",
798
- ref: S,
799
- tabindex: r(W) ? void 0 : -1,
800
- role: r(Z),
801
- "aria-labelledby": r(Me),
798
+ ref: C,
799
+ tabindex: r(G) ? void 0 : -1,
800
+ role: r(Ne),
801
+ "aria-labelledby": r(je),
802
802
  class: "vv-dropdown__list"
803
- }), [h(e.$slots, "items", s(o({
804
- show: G,
805
- hide: K,
806
- toggle: q,
807
- expanded: r(W),
803
+ }), [g(e.$slots, "items", s(o({
804
+ show: K,
805
+ hide: q,
806
+ toggle: J,
807
+ expanded: r(G),
808
808
  role: r(Be)
809
809
  })))], 16, Ct),
810
- h(e.$slots, "after", s(o({
811
- show: G,
812
- hide: K,
813
- toggle: q,
814
- expanded: r(W)
810
+ g(e.$slots, "after", s(o({
811
+ show: K,
812
+ hide: q,
813
+ toggle: J,
814
+ expanded: r(G)
815
815
  })))
816
- ], 14, St), [[ce, r(W)]])]),
816
+ ], 14, St), [[se, r(G)]])]),
817
817
  _: 3
818
818
  }, 16, ["name"])], 64));
819
819
  }
820
820
  });
821
821
  function Tt() {
822
- return t(Y, {});
822
+ return t(X, {});
823
823
  }
824
- var Et = /* @__PURE__ */ O({
824
+ var Et = /* @__PURE__ */ k({
825
825
  name: "VvDropdownItem",
826
826
  props: mt,
827
827
  setup(e) {
828
- let t = e, { role: n, expanded: i } = Tt(), a = T(null);
828
+ let t = e, { role: n, expanded: i } = Tt(), a = E(null);
829
829
  bt({ expanded: i });
830
- let o = ye(a), { focused: s } = _e(a), { focused: c } = be(a);
831
- return _(o, (e) => {
830
+ let o = ge(a), { focused: s } = I(a), { focused: c } = R(a);
831
+ return v(o, (e) => {
832
832
  e && t.focusOnHover && (s.value = !0);
833
- }), (e, t) => (m(), M("div", f({ role: r(n) }, {
833
+ }), (e, t) => (h(), N("div", f({ role: r(n) }, {
834
834
  ref_key: "element",
835
835
  ref: a,
836
836
  class: ["vv-dropdown__item", { "focus-visible": r(s) || r(c) }]
837
- }), [h(e.$slots, "default")], 16));
837
+ }), [g(e.$slots, "default")], 16));
838
838
  }
839
- }), Dt = ["title"], Ot = /* @__PURE__ */ O({
839
+ }), Dt = ["title"], Ot = /* @__PURE__ */ k({
840
840
  name: "VvDropdownOption",
841
841
  props: ht,
842
842
  setup(e) {
843
- let t = e, { modifiers: n } = y(t), i = xt("vv-dropdown-option", n, w(() => ({
843
+ let t = e, { modifiers: n } = ie(t), i = xt("vv-dropdown-option", n, T(() => ({
844
844
  disabled: t.disabled,
845
845
  selected: t.selected,
846
846
  unselectable: t.unselectable && t.selected
847
- }))), a = w(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
848
- return (e, t) => (m(), v(Et, {
849
- class: ne(r(i)),
847
+ }))), a = T(() => t.selected ? t.unselectable ? t.deselectHintLabel : t.selectedHintLabel : t.disabled ? "" : t.selectHintLabel);
848
+ return (e, t) => (h(), y(Et, {
849
+ class: te(r(i)),
850
850
  tabindex: e.disabled ? -1 : 0,
851
851
  "aria-selected": e.selected,
852
852
  "aria-disabled": e.disabled,
853
853
  "focus-on-hover": e.focusOnHover
854
854
  }, {
855
- default: x(() => [h(e.$slots, "default"), C("span", {
855
+ default: S(() => [g(e.$slots, "default"), w("span", {
856
856
  class: "vv-dropdown-option__hint",
857
857
  title: r(a)
858
- }, [h(e.$slots, "hint", s(o({
858
+ }, [g(e.$slots, "hint", s(o({
859
859
  disabled: e.disabled,
860
860
  selected: e.selected,
861
861
  unselectable: e.unselectable
862
- })), () => [A(ee(r(a)), 1)])], 8, Dt)]),
862
+ })), () => [j(p(r(a)), 1)])], 8, Dt)]),
863
863
  _: 3
864
864
  }, 8, [
865
865
  "class",
@@ -871,11 +871,11 @@ var Et = /* @__PURE__ */ O({
871
871
  }
872
872
  });
873
873
  function kt() {
874
- return t(J, void 0);
874
+ return t(Y, void 0);
875
875
  }
876
- var At = /* @__PURE__ */ O({
876
+ var At = /* @__PURE__ */ k({
877
877
  name: "VvIcon",
878
- props: /* @__PURE__ */ E({
878
+ props: /* @__PURE__ */ D({
879
879
  name: {},
880
880
  color: {},
881
881
  width: {},
@@ -892,14 +892,14 @@ var At = /* @__PURE__ */ O({
892
892
  onLoad: { type: Function },
893
893
  svg: {},
894
894
  modifiers: {}
895
- }, ke),
895
+ }, Oe),
896
896
  setup(e) {
897
- let t = e, n = w(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), i = T(!0), a = kt(), { modifiers: o } = y(t), s = xt("vv-icon", o), c = w(() => t.provider || a?.iconsProvider), l = w(() => {
897
+ let t = e, n = T(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), i = E(!0), a = kt(), { modifiers: o } = ie(t), s = xt("vv-icon", o), c = T(() => t.provider || a?.iconsProvider), l = T(() => {
898
898
  let e = t.name ?? "", n = `@${c.value}:${t.prefix}:${e}`;
899
- if (pe(n)) return n;
899
+ if (F(n)) return n;
900
900
  let r = a?.iconsCollections.find((t) => {
901
901
  let n = `@${c.value}:${t.prefix}:${e}`;
902
- return pe(n);
902
+ return F(n);
903
903
  });
904
904
  return r ? `@${c.value}:${r.prefix}:${e}` : e;
905
905
  });
@@ -908,17 +908,17 @@ var At = /* @__PURE__ */ O({
908
908
  }
909
909
  function d(e) {
910
910
  let n = u(e), r = n?.innerHTML.trim() || "";
911
- n && r && me(`@${c.value}:${t.prefix}:${t.name}`, {
911
+ n && r && fe(`@${c.value}:${t.prefix}:${t.name}`, {
912
912
  body: r,
913
913
  height: n.viewBox.baseVal.height,
914
914
  width: n.viewBox.baseVal.width
915
915
  });
916
916
  }
917
- return a && t.src && !pe(`@${c.value}:${t.prefix}:${t.name}`) && (i.value = !1, a.fetchIcon(t.src).then((e) => {
917
+ return a && t.src && !F(`@${c.value}:${t.prefix}:${t.name}`) && (i.value = !1, a.fetchIcon(t.src).then((e) => {
918
918
  e && d(e), i.value = !0;
919
919
  }).catch((e) => {
920
920
  throw i.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
921
- })), t.svg && d(t.svg), (t, a) => r(i) ? (m(), v(r(he), f({
921
+ })), t.svg && d(t.svg), (t, a) => r(i) ? (h(), y(r(pe), f({
922
922
  key: 0,
923
923
  class: r(s)
924
924
  }, {
@@ -931,7 +931,7 @@ var At = /* @__PURE__ */ O({
931
931
  rotate: r(n),
932
932
  color: e.color,
933
933
  icon: r(l)
934
- }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : D("v-if", !0);
934
+ }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : O("v-if", !0);
935
935
  }
936
936
  });
937
937
  function jt(e, t, n) {
@@ -947,10 +947,10 @@ function jt(e, t, n) {
947
947
  return r;
948
948
  }
949
949
  function Mt(e, t, n) {
950
- let r = kt(), i = w(() => {
950
+ let r = kt(), i = T(() => {
951
951
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
952
952
  });
953
- return w(() => {
953
+ return T(() => {
954
954
  if (i.value === void 0) return n;
955
955
  let e = i.value, r = t, a = n;
956
956
  return Object.keys(r).reduce((t, n) => {
@@ -960,8 +960,8 @@ function Mt(e, t, n) {
960
960
  });
961
961
  }
962
962
  function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
963
- let a, o, s = w(() => {
964
- let e = j(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
963
+ let a, o, s = T(() => {
964
+ let e = M(n) ?? 0, t = typeof e == "string" ? Number.parseInt(e) : e;
965
965
  return Number.isNaN(t) ? 0 : t;
966
966
  });
967
967
  function c() {
@@ -972,8 +972,8 @@ function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
972
972
  let e = i(o.value);
973
973
  return c(), t("update:modelValue", e), e;
974
974
  }
975
- return S(c), {
976
- model: w({
975
+ return C(c), {
976
+ model: T({
977
977
  get: () => r(e?.value),
978
978
  set: (e) => {
979
979
  s.value <= 0 ? (c(), t("update:modelValue", i(e))) : (o = { value: e }, a && clearTimeout(a), a = setTimeout(l, s.value));
@@ -984,49 +984,49 @@ function Nt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
984
984
  };
985
985
  }
986
986
  function Pt(e, t) {
987
- let n = w(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = w(() => t?.value === U.before ? n.value : void 0), i = w(() => t?.value === U.after ? n.value : void 0);
987
+ let n = T(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = T(() => t?.value === W.before ? n.value : void 0), i = T(() => t?.value === W.after ? n.value : void 0);
988
988
  return {
989
989
  hasIcon: n,
990
- hasIconLeft: w(() => t?.value === H.left ? n.value : void 0),
991
- hasIconRight: w(() => t?.value === H.right ? n.value : void 0),
992
- hasIconTop: w(() => t?.value === H.top ? n.value : void 0),
993
- hasIconBottom: w(() => t?.value === H.bottom ? n.value : void 0),
990
+ hasIconLeft: T(() => t?.value === U.left ? n.value : void 0),
991
+ hasIconRight: T(() => t?.value === U.right ? n.value : void 0),
992
+ hasIconTop: T(() => t?.value === U.top ? n.value : void 0),
993
+ hasIconBottom: T(() => t?.value === U.bottom ? n.value : void 0),
994
994
  hasIconBefore: r,
995
995
  hasIconAfter: i
996
996
  };
997
997
  }
998
998
  function Ft(e, t) {
999
- let { focused: n } = _e(e);
1000
- return _(n, (n) => {
999
+ let { focused: n } = I(e);
1000
+ return v(n, (n) => {
1001
1001
  t(n ? "focus" : "blur", r(e));
1002
1002
  }), { focused: n };
1003
1003
  }
1004
1004
  function It(e, t) {
1005
- let n = w(() => (r(e) ?? "").length), i = w(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit === void 0 ? 0 : t.upperLimit - n.value);
1005
+ let n = T(() => (r(e) ?? "").length), i = T(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit === void 0 ? 0 : t.upperLimit - n.value);
1006
1006
  return {
1007
1007
  length: n,
1008
1008
  gap: i,
1009
- formatted: w(() => t?.mode === !1 ? "" : t?.mode === "limit" && t?.upperLimit ? `${n.value} / ${t.lowerLimit ? `${t.lowerLimit}-` : ""}${t.upperLimit}` : t?.mode === "countdown" ? i.value === 0 ? void 0 : i.value : n.value)
1009
+ formatted: T(() => t?.mode === !1 ? "" : t?.mode === "limit" && t?.upperLimit ? `${n.value} / ${t.lowerLimit ? `${t.lowerLimit}-` : ""}${t.upperLimit}` : t?.mode === "countdown" ? i.value === 0 ? void 0 : i.value : n.value)
1010
1010
  };
1011
1011
  }
1012
- function Lt(e, t = B.local, n) {
1013
- let i = T();
1012
+ function Lt(e, t = V.local, n) {
1013
+ let i = E();
1014
1014
  n && (i.value = n);
1015
1015
  let a;
1016
1016
  return l(() => {
1017
- e && _(e, (e, n) => {
1018
- let o = r(t) === B.session ? sessionStorage : localStorage;
1019
- n && n !== e && o.removeItem(n), e ? (a = ge(e, a?.value ?? i.value, o), a.value && (i.value = a.value)) : a = void 0;
1020
- }, { immediate: !0 }), le(t) && _(t, (t, n) => {
1017
+ e && v(e, (e, n) => {
1018
+ let o = r(t) === V.session ? sessionStorage : localStorage;
1019
+ n && n !== e && o.removeItem(n), e ? (a = ve(e, a?.value ?? i.value, o), a.value && (i.value = a.value)) : a = void 0;
1020
+ }, { immediate: !0 }), ce(t) && v(t, (t, n) => {
1021
1021
  if (e?.value) {
1022
1022
  if (t) {
1023
- let n = t === B.session ? sessionStorage : localStorage;
1024
- a = ge(e.value, a?.value ?? i.value, n);
1023
+ let n = t === V.session ? sessionStorage : localStorage;
1024
+ a = ve(e.value, a?.value ?? i.value, n);
1025
1025
  }
1026
- n && n !== t && (n === B.session ? sessionStorage : localStorage).removeItem(e.value);
1026
+ n && n !== t && (n === V.session ? sessionStorage : localStorage).removeItem(e.value);
1027
1027
  }
1028
1028
  });
1029
- }), _(i, (e) => {
1029
+ }), v(i, (e) => {
1030
1030
  a && (a.value = e);
1031
1031
  }, {
1032
1032
  deep: !0,
@@ -1042,57 +1042,57 @@ var Rt = ["for"], zt = {
1042
1042
  }, Ut = {
1043
1043
  key: 2,
1044
1044
  class: "vv-textarea__limit"
1045
- }, Wt = { class: "flex-1" }, Gt = ["title", "onClick"], Kt = /* @__PURE__ */ O({
1045
+ }, Wt = { class: "flex-1" }, Gt = ["title", "onClick"], Kt = /* @__PURE__ */ k({
1046
1046
  name: "VvTextarea",
1047
1047
  props: ct,
1048
1048
  emits: st,
1049
1049
  setup(e, { expose: t, emit: i }) {
1050
- let a = e, c = i, l = u(), d = kt(), p = Mt("VvTextarea", ct, a), g = T(), re = T(), S = T(), { id: E, icon: se, iconPosition: ce, iconRemoveSuggestion: ue, labelRemoveSuggestion: de, label: O, modelValue: k, count: j, valid: N, invalid: pe, loading: me, modifiers: he, debounce: ge, minlength: _e, maxlength: ve, storageType: ye } = y(a), F = gt(E), I = w(() => `${F.value}-hint`), be = w(() => a.floating && lt(a.placeholder) ? " " : a.placeholder), { model: L, flush: xe } = Nt(k, c, ge);
1051
- t({ flush: xe });
1052
- let { hasIconBefore: R, hasIconAfter: Se } = Pt(se, ce), { hasIcon: Ce } = Pt(ue), { focused: we } = Ft(g, c), Te = w(() => we.value && !a.disabled && !a.readonly);
1053
- _(Te, (e) => {
1054
- let t = L.value;
1055
- if (e || (t = xe() ?? t), e && p.value.selectOnFocus && g.value && g.value.select(), e && H.value?.size) S.value?.show();
1056
- else if (H.value && !lt(t)) {
1050
+ let a = e, c = i, l = u(), d = kt(), m = Mt("VvTextarea", ct, a), _ = E(), ne = E(), C = E(), { id: D, icon: oe, iconPosition: se, iconRemoveSuggestion: le, labelRemoveSuggestion: ue, label: k, modelValue: A, count: M, valid: P, invalid: F, loading: fe, modifiers: pe, debounce: I, minlength: he, maxlength: ge, storageType: _e } = ie(a), L = gt(D), R = T(() => `${L.value}-hint`), ve = T(() => a.floating && lt(a.placeholder) ? " " : a.placeholder), { model: z, flush: ye } = Nt(A, c, I);
1051
+ t({ flush: ye });
1052
+ let { hasIconBefore: be, hasIconAfter: xe } = Pt(oe, se), { hasIcon: Se } = Pt(le), { focused: Ce } = Ft(_, c), we = T(() => Ce.value && !a.disabled && !a.readonly);
1053
+ v(we, (e) => {
1054
+ let t = z.value;
1055
+ if (e || (t = ye() ?? t), e && m.value.selectOnFocus && _.value && _.value.select(), e && U.value?.size) C.value?.show();
1056
+ else if (U.value && !lt(t)) {
1057
1057
  let e = a.maxSuggestions;
1058
- H.value.size >= e && !H.value.has(t) && (H.value = new Set([...H.value].slice(H.value.size - e + 1))), H.value.add(t);
1058
+ U.value.size >= e && !U.value.has(t) && (U.value = new Set([...U.value].slice(U.value.size - e + 1))), U.value.add(t);
1059
1059
  }
1060
1060
  });
1061
- let Ee = P(g);
1062
- _(Ee, (e) => {
1063
- e && a.autofocus && (we.value = !0);
1061
+ let Te = me(_);
1062
+ v(Te, (e) => {
1063
+ e && a.autofocus && (Ce.value = !0);
1064
1064
  });
1065
- let { formatted: De } = It(L, {
1066
- mode: j?.value,
1067
- upperLimit: Number(ve?.value),
1068
- lowerLimit: Number(_e?.value)
1069
- }), Oe = w(() => !a.disabled && !a.readonly), z = w(() => Oe.value ? a.tabindex : -1), ke = w(() => !lt(k)), B = w(() => {
1065
+ let { formatted: Ee } = It(z, {
1066
+ mode: M?.value,
1067
+ upperLimit: Number(ge?.value),
1068
+ lowerLimit: Number(he?.value)
1069
+ }), De = T(() => !a.disabled && !a.readonly), B = T(() => De.value ? a.tabindex : -1), Oe = T(() => !lt(A)), V = T(() => {
1070
1070
  if (a.invalid === !0) return !0;
1071
1071
  if (a.valid === !0) return !1;
1072
- }), V = w(() => a.storageKey ?? (d?.experimentalFeatures.forceInputSuggestions ? a.name : void 0)), H = Lt(V, ye, /* @__PURE__ */ new Set()), Ae = w(() => H.value ? [...H.value].filter((e) => lt(L.value) || `${e}`.toLowerCase().includes(`${L.value}`.toLowerCase()) && e !== L.value).reverse() : []), U = w(() => V?.value && H.value && H.value.size > 0);
1073
- function je(e) {
1074
- L.value = e, S.value?.hide(), c("suggestion:selected", e);
1072
+ }), H = T(() => a.storageKey ?? (d?.experimentalFeatures.forceInputSuggestions ? a.name : void 0)), U = Lt(H, _e, /* @__PURE__ */ new Set()), ke = T(() => U.value ? [...U.value].filter((e) => lt(z.value) || `${e}`.toLowerCase().includes(`${z.value}`.toLowerCase()) && e !== z.value).reverse() : []), W = T(() => H?.value && U.value && U.value.size > 0);
1073
+ function Ae(e) {
1074
+ z.value = e, C.value?.hide(), c("suggestion:selected", e);
1075
1075
  }
1076
- function W(e) {
1077
- H.value?.delete(e), c("suggestion:removed", e);
1076
+ function G(e) {
1077
+ U.value?.delete(e), c("suggestion:removed", e);
1078
1078
  }
1079
- let { HintSlot: G, hasHintLabelOrSlot: K, hasInvalidLabelOrSlot: q, hintSlotScope: J } = ft(p, l), Me = xt("vv-textarea", he, w(() => ({
1080
- valid: N.value,
1081
- invalid: pe.value,
1082
- loading: me.value,
1079
+ let { HintSlot: K, hasHintLabelOrSlot: q, hasInvalidLabelOrSlot: J, hintSlotScope: Y } = ft(m, l), je = xt("vv-textarea", pe, T(() => ({
1080
+ valid: P.value,
1081
+ invalid: F.value,
1082
+ loading: fe.value,
1083
1083
  disabled: a.disabled,
1084
1084
  readonly: a.readonly,
1085
1085
  required: a.required,
1086
- "icon-before": R.value !== void 0,
1087
- "icon-after": Se.value !== void 0,
1086
+ "icon-before": be.value !== void 0,
1087
+ "icon-after": xe.value !== void 0,
1088
1088
  floating: a.floating && !lt(a.label),
1089
- dirty: ke.value,
1090
- focus: we.value,
1089
+ dirty: Oe.value,
1090
+ focus: Ce.value,
1091
1091
  resizable: a.resizable
1092
- }))), Y = w(() => ({
1092
+ }))), X = T(() => ({
1093
1093
  name: a.name,
1094
- placeholder: be.value,
1095
- tabindex: z.value,
1094
+ placeholder: ve.value,
1095
+ tabindex: B.value,
1096
1096
  disabled: a.disabled,
1097
1097
  readonly: a.readonly,
1098
1098
  required: a.required,
@@ -1105,100 +1105,100 @@ var Rt = ["for"], zt = {
1105
1105
  spellcheck: a.spellcheck,
1106
1106
  "aria-label": a.ariaLabel || void 0,
1107
1107
  "aria-labelledby": a.ariaLabelledby || void 0,
1108
- "aria-invalid": B.value,
1109
- "aria-describedby": [a.ariaDescribedby, K.value ? I.value : void 0].filter(Boolean).join(" ") || void 0,
1110
- "aria-errormessage": q.value ? I.value : void 0
1111
- })), X = w(() => ({
1108
+ "aria-invalid": V.value,
1109
+ "aria-describedby": [a.ariaDescribedby, q.value ? R.value : void 0].filter(Boolean).join(" ") || void 0,
1110
+ "aria-errormessage": J.value ? R.value : void 0
1111
+ })), Z = T(() => ({
1112
1112
  valid: a.valid,
1113
1113
  invalid: a.invalid,
1114
1114
  modelValue: a.modelValue,
1115
1115
  hintLabel: a.hintLabel,
1116
1116
  maxlength: a.maxlength,
1117
1117
  minlength: a.minlength,
1118
- clear: Ne
1118
+ clear: Me
1119
1119
  }));
1120
- function Ne() {
1121
- L.value = void 0;
1120
+ function Me() {
1121
+ z.value = void 0;
1122
1122
  }
1123
- return (e, t) => (m(), M("div", { class: ne(r(Me)) }, [
1124
- r(O) ? (m(), M("label", {
1123
+ return (e, t) => (h(), N("div", { class: te(r(je)) }, [
1124
+ r(k) ? (h(), N("label", {
1125
1125
  key: 0,
1126
- for: r(F),
1126
+ for: r(L),
1127
1127
  class: "vv-textarea__label"
1128
- }, ee(r(O)), 9, Rt)) : D("v-if", !0),
1129
- C("div", {
1128
+ }, p(r(k)), 9, Rt)) : O("v-if", !0),
1129
+ w("div", {
1130
1130
  ref_key: "wrapperEl",
1131
- ref: re,
1131
+ ref: ne,
1132
1132
  class: "vv-textarea__wrapper"
1133
1133
  }, [
1134
- e.$slots.before ? (m(), M("div", zt, [h(e.$slots, "before", s(o(r(X))))])) : D("v-if", !0),
1135
- C("div", Bt, [
1136
- r(R) ? (m(), v(At, f({ key: 0 }, r(R), { class: "vv-textarea__icon" }), null, 16)) : D("v-if", !0),
1137
- fe(C("textarea", f({
1138
- id: r(F),
1134
+ e.$slots.before ? (h(), N("div", zt, [g(e.$slots, "before", s(o(r(Z))))])) : O("v-if", !0),
1135
+ w("div", Bt, [
1136
+ r(be) ? (h(), y(At, f({ key: 0 }, r(be), { class: "vv-textarea__icon" }), null, 16)) : O("v-if", !0),
1137
+ de(w("textarea", f({
1138
+ id: r(L),
1139
1139
  ref_key: "textareaEl",
1140
- ref: g,
1141
- "onUpdate:modelValue": t[0] ||= (e) => le(L) ? L.value = e : null
1142
- }, r(Y), { onKeyup: t[1] ||= (e) => c("keyup", e) }), null, 16, Vt), [[b, r(L)]]),
1143
- r(Se) ? (m(), v(At, f({ key: 1 }, r(Se), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : D("v-if", !0)
1140
+ ref: _,
1141
+ "onUpdate:modelValue": t[0] ||= (e) => ce(z) ? z.value = e : null
1142
+ }, r(X), { onKeyup: t[1] ||= (e) => c("keyup", e) }), null, 16, Vt), [[b, r(z)]]),
1143
+ r(xe) ? (h(), y(At, f({ key: 1 }, r(xe), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : O("v-if", !0)
1144
1144
  ]),
1145
- e.$slots.after ? (m(), M("div", Ht, [h(e.$slots, "after", s(o(r(X))))])) : D("v-if", !0),
1146
- r(j) ? (m(), M("span", Ut, [h(e.$slots, "count", s(o(r(X))), () => [A(ee(r(De)), 1)])])) : D("v-if", !0)
1145
+ e.$slots.after ? (h(), N("div", Ht, [g(e.$slots, "after", s(o(r(Z))))])) : O("v-if", !0),
1146
+ r(M) ? (h(), N("span", Ut, [g(e.$slots, "count", s(o(r(Z))), () => [j(p(r(Ee)), 1)])])) : O("v-if", !0)
1147
1147
  ], 512),
1148
- te(r(G), {
1149
- id: r(I),
1148
+ ee(r(K), {
1149
+ id: r(R),
1150
1150
  class: "vv-textarea__hint"
1151
- }, ie({ _: 2 }, [
1151
+ }, re({ _: 2 }, [
1152
1152
  e.$slots.hint ? {
1153
1153
  name: "hint",
1154
- fn: x(() => [h(e.$slots, "hint", s(o(r(J))))]),
1154
+ fn: S(() => [g(e.$slots, "hint", s(o(r(Y))))]),
1155
1155
  key: "0"
1156
1156
  } : void 0,
1157
1157
  e.$slots.loading ? {
1158
1158
  name: "loading",
1159
- fn: x(() => [h(e.$slots, "loading", s(o(r(J))))]),
1159
+ fn: S(() => [g(e.$slots, "loading", s(o(r(Y))))]),
1160
1160
  key: "1"
1161
1161
  } : void 0,
1162
1162
  e.$slots.valid ? {
1163
1163
  name: "valid",
1164
- fn: x(() => [h(e.$slots, "valid", s(o(r(J))))]),
1164
+ fn: S(() => [g(e.$slots, "valid", s(o(r(Y))))]),
1165
1165
  key: "2"
1166
1166
  } : void 0,
1167
1167
  e.$slots.invalid ? {
1168
1168
  name: "invalid",
1169
- fn: x(() => [h(e.$slots, "invalid", s(o(r(J))))]),
1169
+ fn: S(() => [g(e.$slots, "invalid", s(o(r(Y))))]),
1170
1170
  key: "3"
1171
1171
  } : void 0
1172
1172
  ]), 1032, ["id"]),
1173
- r(U) ? (m(), v(wt, {
1173
+ r(W) ? (h(), y(wt, {
1174
1174
  key: 1,
1175
1175
  ref_key: "suggestionsDropdownEl",
1176
- ref: S,
1177
- reference: r(re),
1176
+ ref: C,
1177
+ reference: r(ne),
1178
1178
  "autofocus-first": !1,
1179
1179
  "trigger-width": !0,
1180
- "top-layer": r(p).topLayer
1180
+ "top-layer": r(m).topLayer
1181
1181
  }, {
1182
- items: x(() => [(m(!0), M(oe, null, n(r(Ae), (t) => (m(), v(Ot, {
1182
+ items: S(() => [(h(!0), N(ae, null, n(r(ke), (t) => (h(), y(Ot, {
1183
1183
  key: t,
1184
- onClick: ae((e) => je(t), ["stop"])
1184
+ onClick: x((e) => Ae(t), ["stop"])
1185
1185
  }, {
1186
- default: x(() => [C("div", Wt, [h(e.$slots, "suggestion", f({ ref_for: !0 }, { value: t }), () => [A(ee(t), 1)])]), r(H) && r(Ce) ? (m(), M("button", {
1186
+ default: S(() => [w("div", Wt, [g(e.$slots, "suggestion", f({ ref_for: !0 }, { value: t }), () => [j(p(t), 1)])]), r(U) && r(Se) ? (h(), N("button", {
1187
1187
  key: 0,
1188
1188
  type: "button",
1189
1189
  tabindex: "-1",
1190
1190
  class: "cursor-pointer",
1191
- title: r(de),
1192
- onClick: ae((e) => W(t), ["stop"])
1193
- }, [te(At, f({ ref_for: !0 }, r(Ce)), null, 16)], 8, Gt)) : D("v-if", !0)]),
1191
+ title: r(ue),
1192
+ onClick: x((e) => G(t), ["stop"])
1193
+ }, [ee(At, f({ ref_for: !0 }, r(Se)), null, 16)], 8, Gt)) : O("v-if", !0)]),
1194
1194
  _: 2
1195
1195
  }, 1032, ["onClick"]))), 128))]),
1196
1196
  _: 3
1197
- }, 8, ["reference", "top-layer"])) : D("v-if", !0)
1197
+ }, 8, ["reference", "top-layer"])) : O("v-if", !0)
1198
1198
  ], 2));
1199
1199
  }
1200
1200
  });
1201
1201
  //#endregion
1202
1202
  export { Kt as default };
1203
1203
 
1204
- //# sourceMappingURL=VvTextarea.es-BSI_b-bF.js.map
1204
+ //# sourceMappingURL=VvTextarea.es-Dm2Yq3WM.js.map