@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,6 +1,6 @@
1
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 te, R as p, S as ne, Tt as re, V as m, W as ie, Z as h, _ as g, at as ae, b as oe, bt as se, d as _, et as v, f as ce, ft as le, g as ue, h as y, ht as b, j as de, k as x, l as fe, lt as pe, r as me, t as he, tt as ge, v as S, w as C, wt as _e, x as ve, xt as w, y as T, z as E } from "./vue.runtime.esm-bundler-BkvITeKg.js";
2
2
  import { a as D, i as ye, t as O } from "./iconify-Lm6SAZ2s.js";
3
- import { _ as be, c as xe, l as k, n as Se, o as Ce, p as we, r as A, u as Te, v as Ee } from "./dist---RigjU4.js";
3
+ import { c as be, l as xe, n as Se, o as Ce, p as we, r as Te, u as k, v as A, y as Ee } from "./dist-Do_Ac5Yv.js";
4
4
  import { a as De, c as Oe, i as ke, l as Ae, n as j, o as M, r as je, s as Me, t as N } from "./floating-ui.vue-DgWctTmX.js";
5
5
  import { t as Ne } from "./esm-B4GALDiT.js";
6
6
  //#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/VvInputText/VvInputText.es.js
@@ -571,7 +571,7 @@ var kt = ["popover"], At = [
571
571
  })));
572
572
  }
573
573
  return u.arrow && e.push(N({ element: le })), e;
574
- }), { x: be, y: xe, middlewareData: k, placement: Ae, strategy: Ne, update: P } = j(x, _, {
574
+ }), { x: be, y: xe, middlewareData: A, placement: Ae, strategy: Ne, update: P } = j(x, _, {
575
575
  placement: y(() => u.placement),
576
576
  strategy: ve,
577
577
  middleware: O
@@ -593,8 +593,8 @@ var kt = ["popover"], At = [
593
593
  [H.left]: H.right
594
594
  }[Pe.value];
595
595
  return {
596
- left: k.value.arrow?.x === void 0 ? void 0 : `${k.value.arrow?.x}px`,
597
- top: k.value.arrow?.y === void 0 ? void 0 : `${k.value.arrow?.y}px`,
596
+ left: A.value.arrow?.x === void 0 ? void 0 : `${A.value.arrow?.x}px`,
597
+ top: A.value.arrow?.y === void 0 ? void 0 : `${A.value.arrow?.y}px`,
598
598
  [e]: `${-(le.value?.offsetWidth ?? 0) / 2}px`
599
599
  };
600
600
  }), Ie = Ee(u, "modelValue", d), Le = b(!1), I = y({
@@ -648,7 +648,7 @@ var kt = ["popover"], At = [
648
648
  aria: ze
649
649
  });
650
650
  Ve.on("click", z);
651
- let { role: U, modifiers: He } = se(u), Ue = Ot("vv-dropdown", He, y(() => ({ arrow: u.arrow }))), { focused: W } = Te(_);
651
+ let { role: U, modifiers: He } = se(u), Ue = Ot("vv-dropdown", He, y(() => ({ arrow: u.arrow }))), { focused: W } = k(_);
652
652
  function G(e) {
653
653
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
654
654
  }
@@ -707,13 +707,13 @@ var kt = ["popover"], At = [
707
707
  focused: W,
708
708
  hovered: Ce(_)
709
709
  });
710
- A("Escape", (e) => {
710
+ Te("Escape", (e) => {
711
711
  I.value && (e.preventDefault(), R());
712
- }), A("ArrowDown", (e) => {
712
+ }), Te("ArrowDown", (e) => {
713
713
  I.value && W.value && (e.preventDefault(), Ke());
714
- }), A("ArrowUp", (e) => {
714
+ }), Te("ArrowUp", (e) => {
715
715
  I.value && W.value && (e.preventDefault(), qe());
716
- }), A([" ", "Enter"], (e) => {
716
+ }), Te([" ", "Enter"], (e) => {
717
717
  let t = e.target;
718
718
  I.value && W.value && t && t?.click();
719
719
  });
@@ -809,7 +809,7 @@ var Nt = /* @__PURE__ */ C({
809
809
  setup(e) {
810
810
  let t = e, { role: n, expanded: i } = Mt(), a = b(null);
811
811
  Dt({ expanded: i });
812
- let o = Ce(a), { focused: s } = k(a), { focused: c } = Te(a);
812
+ let o = Ce(a), { focused: s } = xe(a), { focused: c } = k(a);
813
813
  return h(o, (e) => {
814
814
  e && t.focusOnHover && (s.value = !0);
815
815
  }), (e, t) => (p(), T("div", f({ role: r(n) }, {
@@ -1322,7 +1322,7 @@ function Kt(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
1322
1322
  };
1323
1323
  }
1324
1324
  function qt(e, t) {
1325
- let { focused: n } = k(e);
1325
+ let { focused: n } = xe(e);
1326
1326
  return h(n, (n) => {
1327
1327
  t(n ? "focus" : "blur", r(e));
1328
1328
  }), { focused: n };
@@ -1342,12 +1342,12 @@ function Yt(e, t = V.local, n) {
1342
1342
  return l(() => {
1343
1343
  e && h(e, (e, n) => {
1344
1344
  let o = r(t) === V.session ? sessionStorage : localStorage;
1345
- n && n !== e && o.removeItem(n), e ? (a = be(e, a?.value ?? i.value, o), a.value && (i.value = a.value)) : a = void 0;
1345
+ n && n !== e && o.removeItem(n), e ? (a = A(e, a?.value ?? i.value, o), a.value && (i.value = a.value)) : a = void 0;
1346
1346
  }, { immediate: !0 }), pe(t) && h(t, (t, n) => {
1347
1347
  if (e?.value) {
1348
1348
  if (t) {
1349
1349
  let n = t === V.session ? sessionStorage : localStorage;
1350
- a = be(e.value, a?.value ?? i.value, n);
1350
+ a = A(e.value, a?.value ?? i.value, n);
1351
1351
  }
1352
1352
  n && n !== t && (n === V.session ? sessionStorage : localStorage).removeItem(e.value);
1353
1353
  }
@@ -1376,7 +1376,7 @@ var Xt = ["for"], Zt = {
1376
1376
  props: Rt,
1377
1377
  emits: Lt,
1378
1378
  setup(e, { expose: t, emit: i }) {
1379
- let a = e, c = i, d = u(), te = It(), ie = Gt("VvInputText", Rt, a), { count: ae, debounce: le, icon: de, iconPosition: x, iconRemoveSuggestion: fe, id: pe, invalid: me, label: he, labelRemoveSuggestion: ge, loading: C, maxlength: _e, minlength: w, modelValue: E, step: D, storageType: ye, type: O, unit: be, valid: k } = se(a), Se = Ct(pe), Ce = y(() => `${Se.value}-hint`), we = y(() => a.floating && z(a.placeholder) ? " " : a.placeholder), { model: A, flush: Te } = Kt(E, c, le), Ee = y(() => {
1379
+ let a = e, c = i, d = u(), te = It(), ie = Gt("VvInputText", Rt, a), { count: ae, debounce: le, icon: de, iconPosition: x, iconRemoveSuggestion: fe, id: pe, invalid: me, label: he, labelRemoveSuggestion: ge, loading: C, maxlength: _e, minlength: w, modelValue: E, step: D, storageType: ye, type: O, unit: xe, valid: Se } = se(a), Ce = Ct(pe), we = y(() => `${Ce.value}-hint`), Te = y(() => a.floating && z(a.placeholder) ? " " : a.placeholder), { model: k, flush: A } = Kt(E, c, le), Ee = y(() => {
1380
1380
  let e = Number(D.value);
1381
1381
  return !Number.isNaN(e) && e % 60 != 0;
1382
1382
  }), De = /^-0?[.,]?[0*]?$/, Oe = /./, ke = /^-$|^$/, Ae = b(!1), j = b(), M = b(), { el: je, mask: Me, typed: N, masked: P, unmasked: F } = Ne(y(() => {
@@ -1398,40 +1398,40 @@ var Xt = ["for"], Zt = {
1398
1398
  I();
1399
1399
  return;
1400
1400
  }
1401
- !A.value && !F.value || (A.value = F.value);
1401
+ !k.value && !F.value || (k.value = F.value);
1402
1402
  }
1403
1403
  }
1404
1404
  });
1405
1405
  function Ie() {
1406
1406
  if (ke.test(F.value)) {
1407
- if (A.value === null || A.value === void 0) return;
1408
- A.value = void 0;
1409
- } else De.test(F.value) ? A.value = 0 : typeof N.value == "number" ? A.value = N.value : A.value = Number(N.value);
1407
+ if (k.value === null || k.value === void 0) return;
1408
+ k.value = void 0;
1409
+ } else De.test(F.value) ? k.value = 0 : typeof N.value == "number" ? k.value = N.value : k.value = Number(N.value);
1410
1410
  }
1411
1411
  function Le(e) {
1412
1412
  let t = new Date(j.value || M.value);
1413
1413
  if ((O.value === $.DATETIME_LOCAL || O.value === $.DATE || O.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (O.value === $.DATETIME_LOCAL || O.value === $.DATE) && t.setDate(e.getDate()), (O.value === $.DATETIME_LOCAL || O.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), j.value instanceof Date) {
1414
- if (A.value?.getTime() === t.getTime()) return;
1415
- A.value = t;
1416
- } else A.value = t.toISOString();
1414
+ if (k.value?.getTime() === t.getTime()) return;
1415
+ k.value = t;
1416
+ } else k.value = t.toISOString();
1417
1417
  }
1418
1418
  function I() {
1419
1419
  let e = O.value;
1420
1420
  if (!N.value) {
1421
- if (!A.value) return;
1421
+ if (!k.value) return;
1422
1422
  if (j.value) {
1423
- A.value = void 0;
1423
+ k.value = void 0;
1424
1424
  return;
1425
1425
  }
1426
- A.value = "";
1426
+ k.value = "";
1427
1427
  return;
1428
1428
  }
1429
1429
  if (!(N.value instanceof Date) && !j.value && !M.value) {
1430
- A.value = N.value;
1430
+ k.value = N.value;
1431
1431
  return;
1432
1432
  }
1433
1433
  let t = N.value;
1434
- t instanceof Date || (t = R(N.value, e)), j.value || M.value ? Le(t) : A.value = Fe(t, e, Ee.value);
1434
+ t instanceof Date || (t = R(N.value, e)), j.value || M.value ? Le(t) : k.value = Fe(t, e, Ee.value);
1435
1435
  }
1436
1436
  function L(e) {
1437
1437
  if (e == null) N.value = "", F.value = "";
@@ -1462,7 +1462,7 @@ var Xt = ["for"], Zt = {
1462
1462
  $input: B,
1463
1463
  $inner: Re,
1464
1464
  $wrapper: V,
1465
- flush: Te
1465
+ flush: A
1466
1466
  });
1467
1467
  let { focused: H } = qt(B, c), Ve = y(() => H.value && !a.disabled && !a.readonly);
1468
1468
  function U(e) {
@@ -1472,13 +1472,13 @@ var Xt = ["for"], Zt = {
1472
1472
  ie.value.selectOnFocus && B.value && B.value.select(), Z.value.size && Be.value?.show();
1473
1473
  }
1474
1474
  function Ue() {
1475
- let e = Te() ?? A.value;
1475
+ let e = A() ?? k.value;
1476
1476
  if (!X.value || z(e)) return;
1477
1477
  let t = a.maxSuggestions;
1478
1478
  X.value.size >= t && !X.value.has(e) && (X.value = new Set([...X.value].slice(X.value.size - t + 1))), X.value.add(e);
1479
1479
  }
1480
1480
  h(Ve, U);
1481
- let W = xe(B);
1481
+ let W = be(B);
1482
1482
  h(W, (e) => {
1483
1483
  e && a.autofocus && !a.disabled && !a.readonly && (H.value = !0);
1484
1484
  });
@@ -1493,7 +1493,7 @@ var Xt = ["for"], Zt = {
1493
1493
  N.value = Number(N.value) + Number(D?.value ?? 1);
1494
1494
  return;
1495
1495
  }
1496
- B.value.stepUp(), A.value = Number(B.value.value);
1496
+ B.value.stepUp(), k.value = Number(B.value.value);
1497
1497
  }
1498
1498
  }
1499
1499
  function Ye() {
@@ -1502,12 +1502,12 @@ var Xt = ["for"], Zt = {
1502
1502
  N.value = Number(N.value) - Number(D?.value ?? 1);
1503
1503
  return;
1504
1504
  }
1505
- B.value.stepDown(), A.value = Number(B.value.value);
1505
+ B.value.stepDown(), k.value = Number(B.value.value);
1506
1506
  }
1507
1507
  }
1508
1508
  let Xe = y(() => a.type === $.SEARCH);
1509
1509
  function Ze() {
1510
- A.value = "", c("clear");
1510
+ k.value = "", c("clear");
1511
1511
  }
1512
1512
  let { hasIconBefore: Qe, hasIconAfter: $e } = zt(de, x), q = y(() => {
1513
1513
  if ($e.value !== void 0) return $e.value;
@@ -1519,27 +1519,27 @@ var Xt = ["for"], Zt = {
1519
1519
  case $.MONTH: return { name: K.showDatePicker };
1520
1520
  case $.TIME: return { name: K.showTimePicker };
1521
1521
  }
1522
- }), { hasIcon: et } = zt(fe), { formatted: tt } = Jt(A, {
1522
+ }), { hasIcon: et } = zt(fe), { formatted: tt } = Jt(k, {
1523
1523
  mode: ae.value,
1524
1524
  upperLimit: Number(_e?.value),
1525
1525
  lowerLimit: Number(w?.value)
1526
1526
  }), J = y(() => a.disabled || a.readonly), nt = y(() => J.value ? -1 : a.tabindex), Y = y(() => !z(E?.value)), rt = y(() => {
1527
1527
  if (me.value === !0) return !0;
1528
- if (k.value === !0) return !1;
1528
+ if (Se.value === !0) return !1;
1529
1529
  }), X = Yt(y(() => a.storageKey ?? (te?.experimentalFeatures.forceInputSuggestions ? a.name : void 0)), ye, /* @__PURE__ */ new Set()), Z = y(() => {
1530
1530
  let e = /* @__PURE__ */ new Map();
1531
1531
  if (X.value) for (let t of X.value) e.set(t, { isFromStorage: !0 });
1532
1532
  if (a.suggestions) for (let t of a.suggestions) e.set(t, { isFromStorage: !1 });
1533
1533
  return e;
1534
- }), it = y(() => Z.value.size === 0 ? [] : [...Z.value.entries()].filter(([e]) => z(A.value) || `${e}`.toLowerCase().includes(`${A.value}`.toLowerCase()) && e !== A.value).reverse().map(([e]) => e)), at = y(() => Z.value.size > 0);
1534
+ }), it = y(() => Z.value.size === 0 ? [] : [...Z.value.entries()].filter(([e]) => z(k.value) || `${e}`.toLowerCase().includes(`${k.value}`.toLowerCase()) && e !== k.value).reverse().map(([e]) => e)), at = y(() => Z.value.size > 0);
1535
1535
  function ot(e) {
1536
- A.value = e, Be.value?.hide(), c("suggestion:selected", e);
1536
+ k.value = e, Be.value?.hide(), c("suggestion:selected", e);
1537
1537
  }
1538
1538
  function st(e) {
1539
1539
  Z.value.get(e)?.isFromStorage && (X.value?.delete(e), c("suggestion:removed", e));
1540
1540
  }
1541
1541
  let { modifiers: ct } = se(a), lt = Ot("vv-input-text", ct, y(() => ({
1542
- valid: k.value,
1542
+ valid: Se.value,
1543
1543
  invalid: me.value,
1544
1544
  loading: C.value,
1545
1545
  disabled: a.disabled,
@@ -1592,11 +1592,11 @@ var Xt = ["for"], Zt = {
1592
1592
  "aria-label": a.ariaLabel || void 0,
1593
1593
  "aria-labelledby": a.ariaLabelledby || void 0,
1594
1594
  "aria-invalid": rt.value,
1595
- "aria-describedby": [a.ariaDescribedby, yt.value ? Ce.value : void 0].filter(Boolean).join(" ") || void 0,
1596
- "aria-errormessage": bt.value ? Ce.value : void 0,
1595
+ "aria-describedby": [a.ariaDescribedby, yt.value ? we.value : void 0].filter(Boolean).join(" ") || void 0,
1596
+ "aria-errormessage": bt.value ? we.value : void 0,
1597
1597
  inputMode: a.inputMode
1598
1598
  };
1599
- return (dt.value || e === $.NUMBER) && (t.step = a.step, t.max = ht(a.max) ?? mt[e], t.min = ht(a.min)), (ut.value || e === $.TEXT || e === $.NUMBER) && (t.placeholder = we.value), pt.value && (t.minlength = a.minlength, t.maxlength = a.maxlength, t.pattern = a.pattern), e === $.EMAIL && (t.multiple = a.multiple), t;
1599
+ return (dt.value || e === $.NUMBER) && (t.step = a.step, t.max = ht(a.max) ?? mt[e], t.min = ht(a.min)), (ut.value || e === $.TEXT || e === $.NUMBER) && (t.placeholder = Te.value), pt.value && (t.minlength = a.minlength, t.maxlength = a.maxlength, t.pattern = a.pattern), e === $.EMAIL && (t.multiple = a.multiple), t;
1600
1600
  }), _t = y(() => ({
1601
1601
  valid: a.valid,
1602
1602
  invalid: a.invalid,
@@ -1610,7 +1610,7 @@ var Xt = ["for"], Zt = {
1610
1610
  J.value || (H.value = !0);
1611
1611
  }
1612
1612
  let Dt = y(() => {
1613
- if (a.autoWidth) return { width: A.value === void 0 ? void 0 : `${String(A.value).length + 1}ch` };
1613
+ if (a.autoWidth) return { width: k.value === void 0 ? void 0 : `${String(k.value).length + 1}ch` };
1614
1614
  });
1615
1615
  function kt(e) {
1616
1616
  switch (e.code) {
@@ -1621,14 +1621,14 @@ var Xt = ["for"], Zt = {
1621
1621
  qe.value && (Ye(), e.preventDefault());
1622
1622
  break;
1623
1623
  case "Enter":
1624
- case "NumpadEnter": Te();
1624
+ case "NumpadEnter": A();
1625
1625
  }
1626
1626
  c("keydown", e);
1627
1627
  }
1628
1628
  return (e, t) => (p(), T("div", { class: re(r(lt)) }, [
1629
1629
  r(he) ? (p(), T("label", {
1630
1630
  key: 0,
1631
- for: r(Se),
1631
+ for: r(Ce),
1632
1632
  class: "vv-input-text__label"
1633
1633
  }, ee(r(he)), 9, Xt)) : S("v-if", !0),
1634
1634
  ue("div", {
@@ -1645,7 +1645,7 @@ var Xt = ["for"], Zt = {
1645
1645
  }, [
1646
1646
  r(Qe) ? (p(), g(Q, f({ key: 0 }, r(Qe), { class: "vv-input-text__icon" }), null, 16)) : S("v-if", !0),
1647
1647
  ue("input", f({
1648
- id: r(Se),
1648
+ id: r(Ce),
1649
1649
  ref_key: "inputEl",
1650
1650
  ref: B
1651
1651
  }, r(gt), {
@@ -1654,7 +1654,7 @@ var Xt = ["for"], Zt = {
1654
1654
  onKeydown: kt,
1655
1655
  onKeypress: t[1] ||= (e) => c("keypress", e)
1656
1656
  }), null, 16, Qt),
1657
- (r(be) || e.$slots.unit) && r(Y) ? (p(), T("div", $t, [m(e.$slots, "unit", s(o(r(_t))), () => [ve(ee(r(be)), 1)])])) : S("v-if", !0)
1657
+ (r(xe) || e.$slots.unit) && r(Y) ? (p(), T("div", $t, [m(e.$slots, "unit", s(o(r(_t))), () => [ve(ee(r(xe)), 1)])])) : S("v-if", !0)
1658
1658
  ], 512),
1659
1659
  r(q) ? (p(), g(Q, f({ key: 1 }, r(q), { class: "vv-input-text__icon vv-input-text__icon-after" }), null, 16)) : r(We) && !e.hideActions && !r(J) ? (p(), g(r(St), {
1660
1660
  key: 2,
@@ -1671,7 +1671,7 @@ var Xt = ["for"], Zt = {
1671
1671
  r(ae) ? (p(), T("span", tn, [m(e.$slots, "count", s(o(r(_t))), () => [ve(ee(r(tt)), 1)])])) : S("v-if", !0)
1672
1672
  ], 512),
1673
1673
  ne(r(vt), {
1674
- id: r(Ce),
1674
+ id: r(we),
1675
1675
  class: "vv-input-text__hint"
1676
1676
  }, oe({ _: 2 }, [
1677
1677
  e.$slots.hint ? {
@@ -1726,4 +1726,4 @@ var Xt = ["for"], Zt = {
1726
1726
  //#endregion
1727
1727
  export { an as default };
1728
1728
 
1729
- //# sourceMappingURL=VvInputText.es-CM9r6IbN.js.map
1729
+ //# sourceMappingURL=VvInputText.es-CETcNKlr.js.map