@8wave/ai-elements 0.73.0 → 0.75.0

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 (220) hide show
  1. package/README.md +62 -15
  2. package/dist/_chunks/{PkStreamingMarkdown-orhL2kzD.js → PkStreamingMarkdown-rIdQh5_D.js} +20 -20
  3. package/dist/_chunks/PkStreamingMarkdown-rIdQh5_D.js.map +1 -0
  4. package/dist/_chunks/{PkToolShowArtifact-D-dU41VG.js → PkToolShowArtifact-CeLgwZBA.js} +6 -6
  5. package/dist/_chunks/{PkToolShowArtifact-D-dU41VG.js.map → PkToolShowArtifact-CeLgwZBA.js.map} +1 -1
  6. package/dist/_chunks/{PkToolShowCalendarEvent-B33fWbkk.js → PkToolShowCalendarEvent-cQpAAE3a.js} +10 -10
  7. package/dist/_chunks/{PkToolShowCalendarEvent-B33fWbkk.js.map → PkToolShowCalendarEvent-cQpAAE3a.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowComparison-CcKHsr36.js → PkToolShowComparison-Cu-zT8-Z.js} +6 -6
  9. package/dist/_chunks/{PkToolShowComparison-CcKHsr36.js.map → PkToolShowComparison-Cu-zT8-Z.js.map} +1 -1
  10. package/dist/_chunks/PkToolShowContactForm-CqoSVvjG.js +1658 -0
  11. package/dist/_chunks/PkToolShowContactForm-CqoSVvjG.js.map +1 -0
  12. package/dist/_chunks/{PkToolShowEmail-BOivL2p_.js → PkToolShowEmail-oLGym0R9.js} +10 -10
  13. package/dist/_chunks/{PkToolShowEmail-BOivL2p_.js.map → PkToolShowEmail-oLGym0R9.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowImageGallery-Dy0vFEU-.js → PkToolShowImageGallery-CDXSL1Mg.js} +2 -2
  15. package/dist/_chunks/{PkToolShowImageGallery-Dy0vFEU-.js.map → PkToolShowImageGallery-CDXSL1Mg.js.map} +1 -1
  16. package/dist/_chunks/{PkToolShowLocation-US6u26ra.js → PkToolShowLocation-BtRUdoEw.js} +7 -7
  17. package/dist/_chunks/{PkToolShowLocation-US6u26ra.js.map → PkToolShowLocation-BtRUdoEw.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowMessage-Cjslxq94.js → PkToolShowMessage-tJQGRhce.js} +9 -9
  19. package/dist/_chunks/{PkToolShowMessage-Cjslxq94.js.map → PkToolShowMessage-tJQGRhce.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowMultipleChoice-BEwiJCLu.js → PkToolShowMultipleChoice-CtVvdyDg.js} +3 -3
  21. package/dist/_chunks/{PkToolShowMultipleChoice-BEwiJCLu.js.map → PkToolShowMultipleChoice-CtVvdyDg.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowProductList-D3Qe8yQM.js → PkToolShowProductList-D_k6CDdb.js} +2 -2
  23. package/dist/_chunks/{PkToolShowProductList-D3Qe8yQM.js.map → PkToolShowProductList-D_k6CDdb.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowQrCode-B64sdI0N.js → PkToolShowQrCode-S1j_T8wQ.js} +6 -6
  25. package/dist/_chunks/{PkToolShowQrCode-B64sdI0N.js.map → PkToolShowQrCode-S1j_T8wQ.js.map} +1 -1
  26. package/dist/_chunks/{PkToolShowSources-B2rf94fU.js → PkToolShowSources-CroItMtG.js} +6 -5
  27. package/dist/_chunks/PkToolShowSources-CroItMtG.js.map +1 -0
  28. package/dist/_chunks/{PkToolShowSuggestedReply-BGWA08C7.js → PkToolShowSuggestedReply-BRa5Lpti.js} +2 -2
  29. package/dist/_chunks/{PkToolShowSuggestedReply-BGWA08C7.js.map → PkToolShowSuggestedReply-BRa5Lpti.js.map} +1 -1
  30. package/dist/_chunks/{PkToolShowWeather-ClMzD04y.js → PkToolShowWeather-CUpCJ8Nj.js} +3 -3
  31. package/dist/_chunks/{PkToolShowWeather-ClMzD04y.js.map → PkToolShowWeather-CUpCJ8Nj.js.map} +1 -1
  32. package/dist/_chunks/{PkToolShowWebPages-BCqywwEK.js → PkToolShowWebPages-f-dHyxfD.js} +2 -2
  33. package/dist/_chunks/{PkToolShowWebPages-BCqywwEK.js.map → PkToolShowWebPages-f-dHyxfD.js.map} +1 -1
  34. package/dist/_chunks/{VvCheckbox.es-kmMsWlkU.js → VvCheckbox.es-BF8Mdg0O.js} +2 -2
  35. package/dist/_chunks/{VvCheckbox.es-kmMsWlkU.js.map → VvCheckbox.es-BF8Mdg0O.js.map} +1 -1
  36. package/dist/_chunks/{VvCheckboxGroup.es-BRRmuO9h.js → VvCheckboxGroup.es-BJc8MmJ3.js} +109 -109
  37. package/dist/_chunks/{VvCheckboxGroup.es-BRRmuO9h.js.map → VvCheckboxGroup.es-BJc8MmJ3.js.map} +1 -1
  38. package/dist/_chunks/{VvCombobox.es-pTM53Z4B.js → VvCombobox.es-ILRHqAye.js} +256 -256
  39. package/dist/_chunks/{VvCombobox.es-pTM53Z4B.js.map → VvCombobox.es-ILRHqAye.js.map} +1 -1
  40. package/dist/_chunks/{VvInputText.es-DO39OSWk.js → VvInputText.es-CDnMeO26.js} +190 -190
  41. package/dist/_chunks/{VvInputText.es-DO39OSWk.js.map → VvInputText.es-CDnMeO26.js.map} +1 -1
  42. package/dist/_chunks/{VvRadio.es-BpQAJbon.js → VvRadio.es-C2p5vvAx.js} +2 -2
  43. package/dist/_chunks/{VvRadio.es-BpQAJbon.js.map → VvRadio.es-C2p5vvAx.js.map} +1 -1
  44. package/dist/_chunks/{VvRadioGroup.es-BSBrmx9w.js → VvRadioGroup.es-6GlWuDjY.js} +10 -10
  45. package/dist/_chunks/{VvRadioGroup.es-BSBrmx9w.js.map → VvRadioGroup.es-6GlWuDjY.js.map} +1 -1
  46. package/dist/_chunks/{VvSelect.es-DALpUK5j.js → VvSelect.es-i4lO9onq.js} +6 -6
  47. package/dist/_chunks/{VvSelect.es-DALpUK5j.js.map → VvSelect.es-i4lO9onq.js.map} +1 -1
  48. package/dist/_chunks/{VvTextarea.es-C9dwYLOG.js → VvTextarea.es-CGpiCS4S.js} +248 -248
  49. package/dist/_chunks/{VvTextarea.es-C9dwYLOG.js.map → VvTextarea.es-CGpiCS4S.js.map} +1 -1
  50. package/dist/_chunks/{dist-DtF6poRc.js → dist-BTnzL-m0.js} +131 -119
  51. package/dist/_chunks/dist-BTnzL-m0.js.map +1 -0
  52. package/dist/_chunks/{index.es-Z3Hu-QIb.js → index.es-CUjDCkXD.js} +2428 -1558
  53. package/dist/_chunks/{index.es-Z3Hu-QIb.js.map → index.es-CUjDCkXD.js.map} +1 -1
  54. package/dist/_chunks/{schemas-Bp3a8tYV.js → schemas-aPiXCaCc.js} +1309 -945
  55. package/dist/_chunks/schemas-aPiXCaCc.js.map +1 -0
  56. package/dist/ai-elements.es.js +4746 -3352
  57. package/dist/ai-elements.es.js.map +1 -1
  58. package/dist-vue/PkChatbot.js +1 -1
  59. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  60. package/dist-vue/PkChatbotFilePreview.js +1 -1
  61. package/dist-vue/PkChatbotInput.js +1 -1
  62. package/dist-vue/PkChatbotMessages.js +1 -1
  63. package/dist-vue/PkChatbotViewChat.js +1 -1
  64. package/dist-vue/PkChatbotViewConversations.js +1 -1
  65. package/dist-vue/PkChatbotViewProfile.js +1 -1
  66. package/dist-vue/_chunks/{Media-Bic_vfSX.js → Media-CXQSoKqt.js} +3 -3
  67. package/dist-vue/_chunks/{Media-Bic_vfSX.js.map → Media-CXQSoKqt.js.map} +1 -1
  68. package/dist-vue/_chunks/PkChatbot-DAzGc7al.js +190 -0
  69. package/dist-vue/_chunks/{PkChatbot-D5_ytfqS.js.map → PkChatbot-DAzGc7al.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotFeedbackForm-CUnS-WyR.js → PkChatbotFeedbackForm-DvUzirPP.js} +3 -3
  71. package/dist-vue/_chunks/{PkChatbotFeedbackForm-CUnS-WyR.js.map → PkChatbotFeedbackForm-DvUzirPP.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotFilePreview-JSpi3pmN.js → PkChatbotFilePreview-DHzuGtz5.js} +2 -2
  73. package/dist-vue/_chunks/{PkChatbotFilePreview-JSpi3pmN.js.map → PkChatbotFilePreview-DHzuGtz5.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotInput-ODPhsqZt.js → PkChatbotInput-C5QSmt21.js} +3 -3
  75. package/dist-vue/_chunks/{PkChatbotInput-ODPhsqZt.js.map → PkChatbotInput-C5QSmt21.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkChatbotMessages-CMLqkhmb.js → PkChatbotMessages-dsjB0-26.js} +16 -16
  77. package/dist-vue/_chunks/PkChatbotMessages-dsjB0-26.js.map +1 -0
  78. package/dist-vue/_chunks/{PkChatbotViewChat-wLCypxNG.js → PkChatbotViewChat-CjoezIyz.js} +9 -9
  79. package/dist-vue/_chunks/{PkChatbotViewChat-wLCypxNG.js.map → PkChatbotViewChat-CjoezIyz.js.map} +1 -1
  80. package/dist-vue/_chunks/PkChatbotViewConversations-DSQu6vY1.js +163 -0
  81. package/dist-vue/_chunks/PkChatbotViewConversations-DSQu6vY1.js.map +1 -0
  82. package/dist-vue/_chunks/{PkChatbotViewProfile-CXmmVXrD.js → PkChatbotViewProfile-BJJiaG9H.js} +2 -2
  83. package/dist-vue/_chunks/{PkChatbotViewProfile-CXmmVXrD.js.map → PkChatbotViewProfile-BJJiaG9H.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkRelativeTime-jP41qAJ5.js → PkRelativeTime-WZ2aPcp_.js} +1 -1
  85. package/dist-vue/_chunks/{PkRelativeTime-jP41qAJ5.js.map → PkRelativeTime-WZ2aPcp_.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkStreamingMarkdown-CtiMH6FD.js → PkStreamingMarkdown-BAhC3uGK.js} +20 -20
  87. package/dist-vue/_chunks/PkStreamingMarkdown-BAhC3uGK.js.map +1 -0
  88. package/dist-vue/_chunks/{PkToolShowArtifact-C2DgB_1z.js → PkToolShowArtifact-RzrDPcEQ.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowArtifact-C2DgB_1z.js.map → PkToolShowArtifact-RzrDPcEQ.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowContactForm-BzzbXuhh.js → PkToolShowContactForm-r_GgO-ZX.js} +4 -4
  91. package/dist-vue/_chunks/{PkToolShowContactForm-BzzbXuhh.js.map → PkToolShowContactForm-r_GgO-ZX.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowImageGallery-DQXrJYop.js → PkToolShowImageGallery-B7Bt6ZGv.js} +2 -2
  93. package/dist-vue/_chunks/{PkToolShowImageGallery-DQXrJYop.js.map → PkToolShowImageGallery-B7Bt6ZGv.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowLocation-McDIqI8y.js → PkToolShowLocation-DteWf0Cs.js} +1 -1
  95. package/dist-vue/_chunks/{PkToolShowLocation-McDIqI8y.js.map → PkToolShowLocation-DteWf0Cs.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowMultipleChoice-DW3m6VbJ.js → PkToolShowMultipleChoice-DZXfWtQp.js} +1 -1
  97. package/dist-vue/_chunks/{PkToolShowMultipleChoice-DW3m6VbJ.js.map → PkToolShowMultipleChoice-DZXfWtQp.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowProductList-BDSJs7bn.js → PkToolShowProductList-CtqWK0x4.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowProductList-BDSJs7bn.js.map → PkToolShowProductList-CtqWK0x4.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowSources-D5cBZxwQ.js → PkToolShowSources-DK2DCvU3.js} +6 -5
  101. package/dist-vue/_chunks/PkToolShowSources-DK2DCvU3.js.map +1 -0
  102. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm3BTWYg.js → PkToolShowSuggestedReply-30m9yWDL.js} +1 -1
  103. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm3BTWYg.js.map → PkToolShowSuggestedReply-30m9yWDL.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowWebPages-DnYVhLVU.js → PkToolShowWebPages-DZIdrdWs.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowWebPages-DnYVhLVU.js.map → PkToolShowWebPages-DZIdrdWs.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkUrl-CH4pWBR8.js → PkUrl-CGbSBfuP.js} +1 -1
  107. package/dist-vue/_chunks/{PkUrl-CH4pWBR8.js.map → PkUrl-CGbSBfuP.js.map} +1 -1
  108. package/dist-vue/_chunks/{ZodError-Ca0wCsGp.js → ZodError-C_est8SY.js} +2 -2
  109. package/dist-vue/_chunks/{ZodError-Ca0wCsGp.js.map → ZodError-C_est8SY.js.map} +1 -1
  110. package/dist-vue/_chunks/{createChatbotApiClient-2ynLWELM.js → createChatbotApiClient-f86KwRcq.js} +141 -119
  111. package/dist-vue/_chunks/createChatbotApiClient-f86KwRcq.js.map +1 -0
  112. package/dist-vue/_chunks/{dist-Bs6dYy7x.js → dist-21vPGg1O.js} +3 -3
  113. package/dist-vue/_chunks/{dist-Bs6dYy7x.js.map → dist-21vPGg1O.js.map} +1 -1
  114. package/dist-vue/_chunks/{dist-Bb1zRSg4.js → dist-BGXTbYew2.js} +4 -4
  115. package/dist-vue/_chunks/dist-BGXTbYew2.js.map +1 -0
  116. package/dist-vue/_chunks/{dist-BrlD3co0.js → dist-BL9cumqH.js} +2 -2
  117. package/dist-vue/_chunks/{dist-BrlD3co0.js.map → dist-BL9cumqH.js.map} +1 -1
  118. package/dist-vue/_chunks/{dist-B9Pw4_a5.js → dist-BU-VgsYM.js} +3 -3
  119. package/dist-vue/_chunks/{dist-B9Pw4_a5.js.map → dist-BU-VgsYM.js.map} +1 -1
  120. package/dist-vue/_chunks/{dist-D-tjAaHK.js → dist-BU5m1pTR.js} +3 -3
  121. package/dist-vue/_chunks/{dist-D-tjAaHK.js.map → dist-BU5m1pTR.js.map} +1 -1
  122. package/dist-vue/_chunks/{dist-Dn0cKZ5Q.js → dist-BbP2I_Or.js} +2 -2
  123. package/dist-vue/_chunks/{dist-Dn0cKZ5Q.js.map → dist-BbP2I_Or.js.map} +1 -1
  124. package/dist-vue/_chunks/{dist-Cvsv0YEw.js → dist-BvmTki6w.js} +3 -3
  125. package/dist-vue/_chunks/{dist-Cvsv0YEw.js.map → dist-BvmTki6w.js.map} +1 -1
  126. package/dist-vue/_chunks/{dist-QzbLuLIV.js → dist-C3dPzENq.js} +3 -3
  127. package/dist-vue/_chunks/{dist-QzbLuLIV.js.map → dist-C3dPzENq.js.map} +1 -1
  128. package/dist-vue/_chunks/{dist-BMWOJZqC.js → dist-C6AWJq9a.js} +2 -2
  129. package/dist-vue/_chunks/{dist-BMWOJZqC.js.map → dist-C6AWJq9a.js.map} +1 -1
  130. package/dist-vue/_chunks/{dist-BQCdUoYc.js → dist-CGNGkvWf.js} +4 -4
  131. package/dist-vue/_chunks/{dist-BQCdUoYc.js.map → dist-CGNGkvWf.js.map} +1 -1
  132. package/dist-vue/_chunks/{dist-JOgG1zY3.js → dist-CIN_Avbm.js} +1 -1
  133. package/dist-vue/_chunks/{dist-JOgG1zY3.js.map → dist-CIN_Avbm.js.map} +1 -1
  134. package/dist-vue/_chunks/{dist-NKG-Bt-Q.js → dist-CePpgudw.js} +3 -3
  135. package/dist-vue/_chunks/{dist-NKG-Bt-Q.js.map → dist-CePpgudw.js.map} +1 -1
  136. package/dist-vue/_chunks/{dist-C13mHkC-.js → dist-CtMo7ig_.js} +2 -2
  137. package/dist-vue/_chunks/{dist-C13mHkC-.js.map → dist-CtMo7ig_.js.map} +1 -1
  138. package/dist-vue/_chunks/{dist-DucfoJQX.js → dist-CwG072cD.js} +3 -3
  139. package/dist-vue/_chunks/{dist-DucfoJQX.js.map → dist-CwG072cD.js.map} +1 -1
  140. package/dist-vue/_chunks/{dist-_4yQQX_L.js → dist-DFvVVU0-.js} +2 -2
  141. package/dist-vue/_chunks/{dist-_4yQQX_L.js.map → dist-DFvVVU0-.js.map} +1 -1
  142. package/dist-vue/_chunks/{dist-C_tRbeXQ.js → dist-DGz57kzK.js} +2 -2
  143. package/dist-vue/_chunks/{dist-C_tRbeXQ.js.map → dist-DGz57kzK.js.map} +1 -1
  144. package/dist-vue/_chunks/{dist-C2tC3pDh.js → dist-DT30Xa-D.js} +2 -2
  145. package/dist-vue/_chunks/{dist-C2tC3pDh.js.map → dist-DT30Xa-D.js.map} +1 -1
  146. package/dist-vue/_chunks/{dist-DNn7FqmI.js → dist-DoRhRpjL.js} +2 -2
  147. package/dist-vue/_chunks/{dist-DNn7FqmI.js.map → dist-DoRhRpjL.js.map} +1 -1
  148. package/dist-vue/_chunks/{dist-CQmgfFIN.js → dist-GnhLE5-A.js} +4 -4
  149. package/dist-vue/_chunks/{dist-CQmgfFIN.js.map → dist-GnhLE5-A.js.map} +1 -1
  150. package/dist-vue/_chunks/{dist-1ToEz3Zq.js → dist-QzWOn2Kx.js} +3 -3
  151. package/dist-vue/_chunks/{dist-1ToEz3Zq.js.map → dist-QzWOn2Kx.js.map} +1 -1
  152. package/dist-vue/_chunks/{dist-e9UFeG14.js → dist-uYEYs0EJ.js} +2 -2
  153. package/dist-vue/_chunks/{dist-e9UFeG14.js.map → dist-uYEYs0EJ.js.map} +1 -1
  154. package/dist-vue/_chunks/{dist-BpT8aqtS.js → dist-ukeBjdwq.js} +4 -4
  155. package/dist-vue/_chunks/{dist-BpT8aqtS.js.map → dist-ukeBjdwq.js.map} +1 -1
  156. package/dist-vue/_chunks/{dist-BHTSdHeX.js → dist-wLB8N32T.js} +3 -3
  157. package/dist-vue/_chunks/{dist-BHTSdHeX.js.map → dist-wLB8N32T.js.map} +1 -1
  158. package/dist-vue/_chunks/{index.es-BnOT0fHY.js → index.es-_14zrNZB.js} +4 -4
  159. package/dist-vue/_chunks/{index.es-BnOT0fHY.js.map → index.es-_14zrNZB.js.map} +1 -1
  160. package/dist-vue/_chunks/{schemas-sa2dDEGb.js → schemas-Clx4oKCB.js} +1309 -945
  161. package/dist-vue/_chunks/schemas-Clx4oKCB.js.map +1 -0
  162. package/dist-vue/_chunks/{useChatbotStore-Im8Xjwte.js → useChatbotStore-CJlkoNn7.js} +756 -679
  163. package/dist-vue/_chunks/useChatbotStore-CJlkoNn7.js.map +1 -0
  164. package/dist-vue/_chunks/{useLightbox-BiZUwsmB.js → useLightbox-1sB7fmFb.js} +1 -1
  165. package/dist-vue/_chunks/{useLightbox-BiZUwsmB.js.map → useLightbox-1sB7fmFb.js.map} +1 -1
  166. package/dist-vue/_chunks/{utils-DO7emdsn.js → utils-BegUBK7s.js} +1 -1
  167. package/dist-vue/_chunks/{utils-DO7emdsn.js.map → utils-BegUBK7s.js.map} +1 -1
  168. package/dist-vue/api.js +1 -1
  169. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +9 -7
  170. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +8 -8
  171. package/dist-vue/apps/web-component/src/lib.d.ts +29 -0
  172. package/dist-vue/apps/web-component/src/main.d.ts +0 -0
  173. package/dist-vue/apps/web-component/src/modules/applicationInsights.d.ts +38 -0
  174. package/dist-vue/composables.js +3 -3
  175. package/dist-vue/index.js +3680 -3664
  176. package/dist-vue/index.js.map +1 -1
  177. package/dist-vue/locales.js +56 -20
  178. package/dist-vue/packages/auth/src/add-member-to-organization.d.ts +5 -0
  179. package/dist-vue/packages/auth/src/anonymous-reauth-plugin.d.ts +11 -0
  180. package/dist-vue/packages/auth/src/external-auth-plugin.d.ts +2 -0
  181. package/dist-vue/packages/auth/src/index.d.ts +3477 -8
  182. package/dist-vue/packages/auth/src/media-helpers.d.ts +13 -0
  183. package/dist-vue/packages/auth/src/organization-auto-join.d.ts +1 -0
  184. package/dist-vue/packages/components/src/PkEditorMarkdown.d.ts +1 -1
  185. package/dist-vue/packages/components/src/PkEditorPrompt.d.ts +2 -0
  186. package/dist-vue/packages/components/src/PkEditorRepeater.d.ts +2 -2
  187. package/dist-vue/packages/components/src/PkEditorWyswyg.d.ts +1 -1
  188. package/dist-vue/packages/components/src/PkFieldset.d.ts +3 -3
  189. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -3
  190. package/dist-vue/packages/components/src/chat/PkEditorChannels.d.ts +16 -0
  191. package/dist-vue/packages/components/src/composables/index.d.ts +3 -0
  192. package/dist-vue/packages/components/src/composables/useChatbotError.d.ts +11 -11
  193. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
  194. package/dist-vue/packages/composable/src/constants.d.ts +5 -0
  195. package/dist-vue/packages/composable/src/useDialog.d.ts +3 -3
  196. package/dist-vue/packages/composable/src/useSettingsStore.d.ts +4 -5
  197. package/dist-vue/packages/models/src/schema/Agent.d.ts +37 -27
  198. package/dist-vue/packages/models/src/schema/Chat.d.ts +6 -0
  199. package/dist-vue/packages/models/src/schema/Document.d.ts +2 -0
  200. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +8 -6
  201. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +13 -11
  202. package/dist-vue/style.css +1 -1
  203. package/package.json +3 -3
  204. package/dist/_chunks/PkStreamingMarkdown-orhL2kzD.js.map +0 -1
  205. package/dist/_chunks/PkToolShowContactForm-SmOSbCsp.js +0 -1103
  206. package/dist/_chunks/PkToolShowContactForm-SmOSbCsp.js.map +0 -1
  207. package/dist/_chunks/PkToolShowSources-B2rf94fU.js.map +0 -1
  208. package/dist/_chunks/dist-DtF6poRc.js.map +0 -1
  209. package/dist/_chunks/schemas-Bp3a8tYV.js.map +0 -1
  210. package/dist-vue/_chunks/PkChatbot-D5_ytfqS.js +0 -190
  211. package/dist-vue/_chunks/PkChatbotMessages-CMLqkhmb.js.map +0 -1
  212. package/dist-vue/_chunks/PkChatbotViewConversations-B5qBiqo4.js +0 -40
  213. package/dist-vue/_chunks/PkChatbotViewConversations-B5qBiqo4.js.map +0 -1
  214. package/dist-vue/_chunks/PkStreamingMarkdown-CtiMH6FD.js.map +0 -1
  215. package/dist-vue/_chunks/PkToolShowSources-D5cBZxwQ.js.map +0 -1
  216. package/dist-vue/_chunks/createChatbotApiClient-2ynLWELM.js.map +0 -1
  217. package/dist-vue/_chunks/dist-Bb1zRSg4.js.map +0 -1
  218. package/dist-vue/_chunks/schemas-sa2dDEGb.js.map +0 -1
  219. package/dist-vue/_chunks/useChatbotStore-Im8Xjwte.js.map +0 -1
  220. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +0 -6
@@ -1,9 +1,9 @@
1
- import { $ as e, B as t, Bt as n, C as r, D as i, E as a, F as o, G as s, Gt as c, H as l, Ht as u, J as d, K as f, L as ee, M as p, N as m, O as h, P as g, S as _, U as te, V as v, Vt as y, W as b, Y as ne, Z as x, _ as S, _t as C, b as w, d as re, et as ie, f as ae, ft as T, gt as E, h as D, j as O, k, m as oe, n as se, p as ce, q as A, st as le, u as j, v as ue, w as de, x as M, y as N, yt as P, z as F } from "./vue.runtime.esm-bundler-BmggS4HU.js";
2
- import { a as fe, i as pe, t as I } from "./iconify-C1EOwL90.js";
3
- import { c as L, d as me, l as R, m as z, n as B, o as he, p as ge, r as _e, s as ve, t as ye } from "./dist-DtF6poRc.js";
4
- import { a as be, c as V, i as xe, l as H, n as Se, o as Ce, r as we, s as Te, t as Ee } from "./floating-ui.vue-B5ZV-j8C.js";
5
- import { t as De } from "./dot-prop-ByInxMX6.js";
6
- //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.8_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.2.1_vue@3._a673fe403a0369377ef58323f8456e22/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
1
+ import { $ as e, B as t, Bt as n, C as r, D as i, E as a, F as o, G as s, Gt as c, H as l, Ht as u, J as d, K as f, L as ee, M as p, N as m, O as h, P as g, S as _, U as te, V as v, Vt as y, W as b, Y as ne, Z as x, _ as S, _t as C, b as w, d as re, et as ie, f as ae, ft as T, gt as E, h as D, j as O, k, m as oe, n as se, p as ce, q as A, st as le, u as j, v as M, w as ue, x as N, y as P, yt as F, z as I } from "./vue.runtime.esm-bundler-BmggS4HU.js";
2
+ import { a as de, i as fe, t as L } from "./iconify-C1EOwL90.js";
3
+ import { a as pe, c as me, i as R, l as he, n as ge, o as _e, r as ve, s as ye, t as be } from "./floating-ui.vue-B5ZV-j8C.js";
4
+ import { t as z } from "./dot-prop-ByInxMX6.js";
5
+ import { c as B, f as xe, l as Se, n as Ce, o as we, p as V, r as Te, s as H, t as Ee, u as De } from "./dist-BTnzL-m0.js";
6
+ //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.8_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.3.0_vue@3._522f151ee0a8eb4c0a241a4ec2e81adb/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
7
7
  var Oe = {
8
8
  showPassword: "eye-on",
9
9
  hidePassword: "eye-off",
@@ -535,7 +535,7 @@ function vt(e, t, n) {
535
535
  return i && Array.isArray(i) && i.forEach((t) => {
536
536
  t && (r[`${e}--${t}`] = !0);
537
537
  }), n && Object.keys(n.value).forEach((t) => {
538
- r[`${e}--${t}`] = P(n.value[t]);
538
+ r[`${e}--${t}`] = F(n.value[t]);
539
539
  }), r;
540
540
  });
541
541
  }
@@ -562,8 +562,8 @@ var yt = /* @__PURE__ */ a({
562
562
  setup(e) {
563
563
  let t = e, n = S(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = T(!0), i = _t(), { modifiers: a } = C(t), o = vt("vv-icon", a), s = S(() => t.provider || i?.iconsProvider), c = S(() => {
564
564
  let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
565
- if (fe(n)) return n;
566
- let r = i?.iconsCollections.find((t) => fe(`@${s.value}:${t.prefix}:${e}`));
565
+ if (de(n)) return n;
566
+ let r = i?.iconsCollections.find((t) => de(`@${s.value}:${t.prefix}:${e}`));
567
567
  return r ? `@${s.value}:${r.prefix}:${e}` : e;
568
568
  });
569
569
  function l(e) {
@@ -572,19 +572,19 @@ var yt = /* @__PURE__ */ a({
572
572
  }
573
573
  function u(e) {
574
574
  let n = l(e), r = n?.innerHTML.trim() || "";
575
- n && r && pe(`@${s.value}:${t.prefix}:${t.name}`, {
575
+ n && r && fe(`@${s.value}:${t.prefix}:${t.name}`, {
576
576
  body: r,
577
577
  height: n.viewBox.baseVal.height,
578
578
  width: n.viewBox.baseVal.width
579
579
  });
580
580
  }
581
- return i && t.src && !fe(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
581
+ return i && t.src && !de(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
582
582
  e && u(e), r.value = !0;
583
583
  }).catch((e) => {
584
584
  throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
585
- })), t.svg && u(t.svg), (t, i) => P(r) ? (F(), N(P(I), g({
585
+ })), t.svg && u(t.svg), (t, i) => F(r) ? (I(), P(F(L), g({
586
586
  key: 0,
587
- class: P(o)
587
+ class: F(o)
588
588
  }, {
589
589
  inline: e.inline,
590
590
  width: e.width,
@@ -592,9 +592,9 @@ var yt = /* @__PURE__ */ a({
592
592
  horizontalFlip: e.horizontalFlip,
593
593
  verticalFlip: e.verticalFlip,
594
594
  flip: e.flip,
595
- rotate: P(n),
595
+ rotate: F(n),
596
596
  color: e.color,
597
- icon: P(c)
597
+ icon: F(c)
598
598
  }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : w("v-if", !0);
599
599
  }
600
600
  });
@@ -662,7 +662,7 @@ var xt = a({
662
662
  },
663
663
  setup(e) {
664
664
  let { modifiers: t } = C(e), i = vt("vv-badge", t);
665
- return (e, t) => (F(), M("span", { class: n(P(i)) }, [l(e.$slots, "default", {}, () => [r(c(e.value), 1)])], 2));
665
+ return (e, t) => (I(), N("span", { class: n(F(i)) }, [l(e.$slots, "default", {}, () => [r(c(e.value), 1)])], 2));
666
666
  }
667
667
  });
668
668
  function Ct(e) {
@@ -844,12 +844,12 @@ var Mt = /* @__PURE__ */ a({
844
844
  }
845
845
  p?.emit("mouseleave", e);
846
846
  }
847
- return (t, n) => (F(), N(b(P(y)), g(P(ne), {
847
+ return (t, n) => (I(), P(b(F(y)), g(F(ne), {
848
848
  ref_key: "rootEl",
849
849
  ref: f,
850
850
  class: {
851
851
  active: t.active,
852
- pressed: P(_),
852
+ pressed: F(_),
853
853
  disabled: t.disabled,
854
854
  current: t.current
855
855
  },
@@ -903,11 +903,11 @@ var Pt = {
903
903
  _.value = E.value;
904
904
  }
905
905
  }
906
- return (t, n) => (F(), N(Mt, g({
907
- ...P(s),
908
- ...P(O),
909
- disabled: P(te),
910
- pressed: P(re),
906
+ return (t, n) => (I(), P(Mt, g({
907
+ ...F(s),
908
+ ...F(O),
909
+ disabled: F(te),
910
+ pressed: F(re),
911
911
  active: t.active,
912
912
  type: t.type,
913
913
  to: t.to,
@@ -916,19 +916,19 @@ var Pt = {
916
916
  rel: t.rel,
917
917
  ariaLabel: t.ariaLabel
918
918
  }, {
919
- id: P(b),
919
+ id: F(b),
920
920
  ref_key: "rootEl",
921
921
  ref: C,
922
- class: P(ie)
922
+ class: F(ie)
923
923
  }), {
924
- default: e(() => [l(t.$slots, "default", {}, () => [t.loading ? l(t.$slots, "loading", { key: 0 }, () => [t.loadingIcon ? (F(), N(yt, {
924
+ default: e(() => [l(t.$slots, "default", {}, () => [t.loading ? l(t.$slots, "loading", { key: 0 }, () => [t.loadingIcon ? (I(), P(yt, {
925
925
  key: 0,
926
926
  class: "vv-button__loading-icon",
927
927
  name: t.loadingIcon
928
- }, null, 8, ["name"])) : w("v-if", !0), t.loadingLabel ? (F(), M("span", Pt, c(t.loadingLabel), 1)) : w("v-if", !0)]) : (F(), M(D, { key: 1 }, [
928
+ }, null, 8, ["name"])) : w("v-if", !0), t.loadingLabel ? (I(), N("span", Pt, c(t.loadingLabel), 1)) : w("v-if", !0)]) : (I(), N(D, { key: 1 }, [
929
929
  l(t.$slots, "before"),
930
- P(ae) ? (F(), N(yt, g({ key: 0 }, P(ae), { class: "vv-button__icon" }), null, 16)) : w("v-if", !0),
931
- P(h) ? (F(), M("span", Ft, [l(t.$slots, "label", {}, () => [r(c(P(h)), 1)])])) : w("v-if", !0),
930
+ F(ae) ? (I(), P(yt, g({ key: 0 }, F(ae), { class: "vv-button__icon" }), null, 16)) : w("v-if", !0),
931
+ F(h) ? (I(), N("span", Ft, [l(t.$slots, "label", {}, () => [r(c(F(h)), 1)])])) : w("v-if", !0),
932
932
  l(t.$slots, "after")
933
933
  ], 64))])]),
934
934
  _: 3
@@ -968,7 +968,7 @@ var Pt = {
968
968
  }
969
969
  };
970
970
  function Bt({ reference: e, id: n, expanded: r, aria: i }) {
971
- let o = H();
971
+ let o = he();
972
972
  return {
973
973
  bus: o,
974
974
  component: a({
@@ -1035,7 +1035,7 @@ var Ut = [
1035
1035
  }
1036
1036
  }), O = T(!1);
1037
1037
  ee(() => {
1038
- me(b.value, () => {
1038
+ De(b.value, () => {
1039
1039
  O.value = window.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1040
1040
  }, {
1041
1041
  attributeFilter: ["style"],
@@ -1044,22 +1044,22 @@ var Ut = [
1044
1044
  });
1045
1045
  let k = S(() => {
1046
1046
  let e = [];
1047
- if (a.autoPlacement ? typeof a.autoPlacement == "boolean" ? e.push(we()) : e.push(we(a.autoPlacement)) : a.flip && (typeof a.flip == "boolean" ? e.push(be({ fallbackStrategy: "initialPlacement" })) : e.push(be(a.flip))), a.shift && (typeof a.shift == "boolean" ? e.push(Te()) : e.push(Te(a.shift))), a.size) {
1047
+ if (a.autoPlacement ? typeof a.autoPlacement == "boolean" ? e.push(ve()) : e.push(ve(a.autoPlacement)) : a.flip && (typeof a.flip == "boolean" ? e.push(pe({ fallbackStrategy: "initialPlacement" })) : e.push(pe(a.flip))), a.shift && (typeof a.shift == "boolean" ? e.push(ye()) : e.push(ye(a.shift))), a.size) {
1048
1048
  let t = ({ availableWidth: e, availableHeight: t }) => {
1049
1049
  _.value = `${e}px`, te.value = `${t}px`;
1050
1050
  };
1051
- typeof a.size == "boolean" ? e.push(V({ apply: t })) : e.push(V({
1051
+ typeof a.size == "boolean" ? e.push(me({ apply: t })) : e.push(me({
1052
1052
  ...a.size,
1053
1053
  apply: t
1054
1054
  }));
1055
1055
  }
1056
- return a.offset && (e.push(Ce(Number(a.offset))), ["string", "number"].includes(typeof a.offset) ? e.push(Ce(Number(a.offset))) : e.push(Ce(a.offset))), a.arrow && e.push(Ee({ element: ne })), e;
1057
- }), { x: oe, y: ce, middlewareData: A, placement: le, strategy: j } = Se(E, b, {
1058
- whileElementsMounted: (...e) => xe(...e, { animationFrame: a.strategy === U.fixed }),
1056
+ return a.offset && (e.push(_e(Number(a.offset))), ["string", "number"].includes(typeof a.offset) ? e.push(_e(Number(a.offset))) : e.push(_e(a.offset))), a.arrow && e.push(be({ element: ne })), e;
1057
+ }), { x: oe, y: ce, middlewareData: A, placement: le, strategy: j } = ge(E, b, {
1058
+ whileElementsMounted: (...e) => R(...e, { animationFrame: a.strategy === U.fixed }),
1059
1059
  placement: S(() => a.placement),
1060
1060
  strategy: S(() => a.strategy),
1061
1061
  middleware: k
1062
- }), N = S(() => {
1062
+ }), P = S(() => {
1063
1063
  if (O.value) return;
1064
1064
  let e = a.triggerWidth && E.value ? `${E.value?.offsetWidth}px` : void 0;
1065
1065
  return {
@@ -1070,42 +1070,42 @@ var Ut = [
1070
1070
  maxHeight: te.value,
1071
1071
  width: e
1072
1072
  };
1073
- }), fe = S(() => le.value.split("-")[0]), pe = S(() => {
1073
+ }), de = S(() => le.value.split("-")[0]), fe = S(() => {
1074
1074
  if (O.value) return;
1075
1075
  let e = {
1076
1076
  [W.top]: W.bottom,
1077
1077
  [W.right]: W.left,
1078
1078
  [W.bottom]: W.top,
1079
1079
  [W.left]: W.right
1080
- }[fe.value];
1080
+ }[de.value];
1081
1081
  return {
1082
1082
  left: A.value.arrow?.x === void 0 ? void 0 : `${A.value.arrow?.x}px`,
1083
1083
  top: A.value.arrow?.y === void 0 ? void 0 : `${A.value.arrow?.y}px`,
1084
1084
  [e]: `${-(ne.value?.offsetWidth ?? 0) / 2}px`
1085
1085
  };
1086
- }), I = ge(a, "modelValue", c), L = T(!1), z = S({
1087
- get: () => I.value ?? L.value,
1086
+ }), L = xe(a, "modelValue", c), he = T(!1), z = S({
1087
+ get: () => L.value ?? he.value,
1088
1088
  set: (e) => {
1089
- if (I.value === void 0) {
1090
- L.value = e;
1089
+ if (L.value === void 0) {
1090
+ he.value = e;
1091
1091
  return;
1092
1092
  }
1093
- I.value = e;
1093
+ L.value = e;
1094
1094
  }
1095
1095
  });
1096
- function ve() {
1096
+ function B() {
1097
1097
  z.value = !0;
1098
1098
  }
1099
- function ye() {
1099
+ function V() {
1100
1100
  z.value = !1;
1101
1101
  }
1102
1102
  function H() {
1103
1103
  z.value = !z.value;
1104
1104
  }
1105
- function De(e) {
1105
+ function Ee(e) {
1106
1106
  E.value = e;
1107
1107
  }
1108
- B(b, () => {
1108
+ Ce(b, () => {
1109
1109
  !a.keepOpen && z.value && (z.value = !1);
1110
1110
  }, { ignore: [E] });
1111
1111
  let Oe = S(() => E.value?.getAttribute?.("id") ?? void 0), ke = S(() => ({
@@ -1119,7 +1119,7 @@ var Ut = [
1119
1119
  aria: ke
1120
1120
  });
1121
1121
  G.on("click", H);
1122
- let { role: K, modifiers: je } = C(a), q = vt("vv-dropdown", je, S(() => ({ arrow: a.arrow }))), { focused: J } = R(b);
1122
+ let { role: K, modifiers: je } = C(a), q = vt("vv-dropdown", je, S(() => ({ arrow: a.arrow }))), { focused: J } = Se(b);
1123
1123
  function Me(e) {
1124
1124
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
1125
1125
  }
@@ -1163,9 +1163,9 @@ var Ut = [
1163
1163
  e && a.autofocusFirst && Ne();
1164
1164
  }), r({
1165
1165
  toggle: H,
1166
- show: ve,
1167
- hide: ye,
1168
- init: De,
1166
+ show: B,
1167
+ hide: V,
1168
+ init: Ee,
1169
1169
  focusFirst: Ne,
1170
1170
  focusFirstListElement: Pe,
1171
1171
  focusNext: Fe,
@@ -1176,15 +1176,15 @@ var Ut = [
1176
1176
  role: K,
1177
1177
  expanded: z,
1178
1178
  focused: J,
1179
- hovered: he(b)
1179
+ hovered: we(b)
1180
1180
  });
1181
- _e("Escape", (e) => {
1182
- z.value && (e.preventDefault(), ye());
1183
- }), _e("ArrowDown", (e) => {
1181
+ Te("Escape", (e) => {
1182
+ z.value && (e.preventDefault(), V());
1183
+ }), Te("ArrowDown", (e) => {
1184
1184
  z.value && J.value && (e.preventDefault(), Fe());
1185
- }), _e("ArrowUp", (e) => {
1185
+ }), Te("ArrowUp", (e) => {
1186
1186
  z.value && J.value && (e.preventDefault(), Ie());
1187
- }), _e([" ", "Enter"], (e) => {
1187
+ }), Te([" ", "Enter"], (e) => {
1188
1188
  let t = e.target;
1189
1189
  z.value && J.value && t && t?.click();
1190
1190
  });
@@ -1214,58 +1214,58 @@ var Ut = [
1214
1214
  c("leaveCancelled");
1215
1215
  }
1216
1216
  };
1217
- return (t, r) => (F(), M(D, null, [de(P(Ae), null, {
1217
+ return (t, r) => (I(), N(D, null, [ue(F(Ae), null, {
1218
1218
  default: e(() => [l(t.$slots, "default", y(h({
1219
- init: De,
1220
- show: ve,
1221
- hide: ye,
1219
+ init: Ee,
1220
+ show: B,
1221
+ hide: V,
1222
1222
  toggle: H,
1223
- expanded: P(z),
1224
- aria: P(ke)
1223
+ expanded: F(z),
1224
+ aria: F(ke)
1225
1225
  })))]),
1226
1226
  _: 3
1227
- }), de(se, g({ name: t.transitionName }, s(Re), { persisted: "" }), {
1228
- default: e(() => [ie(ue("div", {
1227
+ }), ue(se, g({ name: t.transitionName }, s(Re), { persisted: "" }), {
1228
+ default: e(() => [ie(M("div", {
1229
1229
  ref_key: "floatingEl",
1230
1230
  ref: b,
1231
- style: u(P(N)),
1232
- class: n(P(q))
1231
+ style: u(F(P)),
1232
+ class: n(F(q))
1233
1233
  }, [
1234
- a.arrow ? (F(), M("div", {
1234
+ a.arrow ? (I(), N("div", {
1235
1235
  key: 0,
1236
1236
  ref_key: "arrowEl",
1237
1237
  ref: ne,
1238
- style: u(P(pe)),
1238
+ style: u(F(fe)),
1239
1239
  class: "vv-dropdown__arrow"
1240
1240
  }, null, 4)) : w("v-if", !0),
1241
1241
  l(t.$slots, "before", y(h({
1242
- show: ve,
1243
- hide: ye,
1242
+ show: B,
1243
+ hide: V,
1244
1244
  toggle: H,
1245
- expanded: P(z)
1245
+ expanded: F(z)
1246
1246
  }))),
1247
- ue("div", g(P(m), {
1248
- id: P(p),
1247
+ M("div", g(F(m), {
1248
+ id: F(p),
1249
1249
  ref_key: "listEl",
1250
1250
  ref: re,
1251
- tabindex: P(z) ? void 0 : -1,
1252
- role: P(K),
1253
- "aria-labelledby": P(Oe),
1251
+ tabindex: F(z) ? void 0 : -1,
1252
+ role: F(K),
1253
+ "aria-labelledby": F(Oe),
1254
1254
  class: "vv-dropdown__list"
1255
1255
  }), [l(t.$slots, "items", y(h({
1256
- show: ve,
1257
- hide: ye,
1256
+ show: B,
1257
+ hide: V,
1258
1258
  toggle: H,
1259
- expanded: P(z),
1260
- role: P(Le)
1259
+ expanded: F(z),
1260
+ role: F(Le)
1261
1261
  })))], 16, Ut),
1262
1262
  l(t.$slots, "after", y(h({
1263
- show: ve,
1264
- hide: ye,
1263
+ show: B,
1264
+ hide: V,
1265
1265
  toggle: H,
1266
- expanded: P(z)
1266
+ expanded: F(z)
1267
1267
  })))
1268
- ], 6), [[ae, P(z)]])]),
1268
+ ], 6), [[ae, F(z)]])]),
1269
1269
  _: 3
1270
1270
  }, 16, ["name"])], 64));
1271
1271
  }
@@ -1278,7 +1278,7 @@ var Ut = [
1278
1278
  props: { ...Q },
1279
1279
  setup(e) {
1280
1280
  let t = e;
1281
- return (e, n) => (F(), M("li", Gt, [l(e.$slots, "default", {}, () => [r(c(t.label), 1)])]));
1281
+ return (e, n) => (I(), N("li", Gt, [l(e.$slots, "default", {}, () => [r(c(t.label), 1)])]));
1282
1282
  }
1283
1283
  }), qt = /* @__PURE__ */ a({
1284
1284
  name: "VvDropdownItem",
@@ -1286,13 +1286,13 @@ var Ut = [
1286
1286
  setup(e) {
1287
1287
  let t = e, { role: n, expanded: r } = At(), i = T(null);
1288
1288
  Ht({ expanded: r });
1289
- let a = he(i), { focused: o } = L(i), { focused: s } = R(i);
1289
+ let a = we(i), { focused: o } = B(i), { focused: s } = Se(i);
1290
1290
  return x(a, (e) => {
1291
1291
  e && t.focusOnHover && (o.value = !0);
1292
- }), (e, t) => (F(), M("div", g({ role: P(n) }, {
1292
+ }), (e, t) => (I(), N("div", g({ role: F(n) }, {
1293
1293
  ref_key: "element",
1294
1294
  ref: i,
1295
- class: ["vv-dropdown__item", { "focus-visible": P(o) || P(s) }]
1295
+ class: ["vv-dropdown__item", { "focus-visible": F(o) || F(s) }]
1296
1296
  }), [l(e.$slots, "default")], 16));
1297
1297
  }
1298
1298
  }), Jt = ["title"], Yt = /* @__PURE__ */ a({
@@ -1304,21 +1304,21 @@ var Ut = [
1304
1304
  selected: i.selected,
1305
1305
  unselectable: i.unselectable && i.selected
1306
1306
  }))), s = S(() => i.selected ? i.unselectable ? i.deselectHintLabel : i.selectedHintLabel : i.disabled ? "" : i.selectHintLabel);
1307
- return (t, i) => (F(), N(qt, {
1308
- class: n(P(o)),
1307
+ return (t, i) => (I(), P(qt, {
1308
+ class: n(F(o)),
1309
1309
  tabindex: t.disabled ? -1 : 0,
1310
1310
  "aria-selected": t.selected,
1311
1311
  "aria-disabled": t.disabled,
1312
1312
  "focus-on-hover": t.focusOnHover
1313
1313
  }, {
1314
- default: e(() => [l(t.$slots, "default"), ue("span", {
1314
+ default: e(() => [l(t.$slots, "default"), M("span", {
1315
1315
  class: "vv-dropdown-option__hint",
1316
- title: P(s)
1316
+ title: F(s)
1317
1317
  }, [l(t.$slots, "hint", y(h({
1318
1318
  disabled: t.disabled,
1319
1319
  selected: t.selected,
1320
1320
  unselectable: t.unselectable
1321
- })), () => [r(c(P(s)), 1)])], 8, Jt)]),
1321
+ })), () => [r(c(F(s)), 1)])], 8, Jt)]),
1322
1322
  _: 3
1323
1323
  }, 8, [
1324
1324
  "class",
@@ -1403,18 +1403,18 @@ function Qt(e, t, n) {
1403
1403
  });
1404
1404
  }
1405
1405
  function $t(e, t) {
1406
- let { focused: n } = L(e);
1406
+ let { focused: n } = B(e);
1407
1407
  return x(n, (n) => {
1408
- t(n ? "focus" : "blur", P(e));
1408
+ t(n ? "focus" : "blur", F(e));
1409
1409
  }), { focused: n };
1410
1410
  }
1411
1411
  function en(e) {
1412
1412
  let { options: t, labelKey: n, valueKey: r, disabledKey: i } = C(e);
1413
1413
  return {
1414
1414
  options: t,
1415
- getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? De(e, n.value) : e),
1416
- getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? De(e, r.value) : e,
1417
- isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!De(e, i.value) : !1,
1415
+ getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? z(e, n.value) : e),
1416
+ getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? z(e, r.value) : e,
1417
+ isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!z(e, i.value) : !1,
1418
1418
  getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
1419
1419
  };
1420
1420
  }
@@ -1438,7 +1438,7 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1438
1438
  function te(e) {
1439
1439
  return typeof e == "string" ? !1 : e.options?.length;
1440
1440
  }
1441
- let { id: b, modifiers: re, disabled: ae, readonly: E, loading: O, icon: k, iconPosition: oe, invalid: se, valid: ce, floating: A, multiple: fe } = C(i), pe = Nt(b), I = S(() => `${pe.value}-hint`), L = S(() => i.disabled || i.readonly), me = S(() => L.value ? -1 : i.tabindex), R = S({
1441
+ let { id: b, modifiers: re, disabled: ae, readonly: E, loading: O, icon: k, iconPosition: oe, invalid: se, valid: ce, floating: A, multiple: de } = C(i), fe = Nt(b), L = S(() => `${fe.value}-hint`), pe = S(() => i.disabled || i.readonly), me = S(() => pe.value ? -1 : i.tabindex), R = S({
1442
1442
  get: () => i.modelValue,
1443
1443
  set: (e) => {
1444
1444
  if (Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !i.unselectable && u.value)) {
@@ -1447,120 +1447,120 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1447
1447
  }
1448
1448
  a("update:modelValue", e);
1449
1449
  }
1450
- }), z = S(() => Array.isArray(R.value) ? R.value.length > 0 : R.value !== void 0 && R.value !== null), B = S(() => L.value ? !1 : i.unselectable);
1451
- x(ve(u), (e) => {
1450
+ }), he = S(() => Array.isArray(R.value) ? R.value.length > 0 : R.value !== void 0 && R.value !== null), ge = S(() => pe.value ? !1 : i.unselectable);
1451
+ x(H(u), (e) => {
1452
1452
  e && i.autofocus && (m.value = !0);
1453
1453
  });
1454
- let { hasIconBefore: he, hasIconAfter: ge } = bt(k, oe), _e = S(() => {
1454
+ let { hasIconBefore: _e, hasIconAfter: ve } = bt(k, oe), ye = S(() => {
1455
1455
  if (i.invalid === !0) return !0;
1456
1456
  if (i.valid === !0) return !1;
1457
- }), ye = vt("vv-select", re, S(() => ({
1457
+ }), be = vt("vv-select", re, S(() => ({
1458
1458
  valid: ce.value,
1459
1459
  invalid: se.value,
1460
1460
  loading: O.value,
1461
1461
  disabled: ae.value,
1462
1462
  readonly: E.value,
1463
- "icon-before": he.value !== void 0,
1464
- "icon-after": ge.value !== void 0,
1465
- dirty: z.value,
1466
- focus: m.value && !L.value,
1463
+ "icon-before": _e.value !== void 0,
1464
+ "icon-after": ve.value !== void 0,
1465
+ dirty: he.value,
1466
+ focus: m.value && !pe.value,
1467
1467
  floating: A.value,
1468
- multiple: fe.value
1469
- }))), { getOptionLabel: be, getOptionValue: V, isOptionDisabled: xe, getOptionGrouped: H } = en(i);
1468
+ multiple: de.value
1469
+ }))), { getOptionLabel: z, getOptionValue: B, isOptionDisabled: xe, getOptionGrouped: Se } = en(i);
1470
1470
  x(() => i.options, (e) => {
1471
- if (e?.length && i.autoselectFirst && !z.value) {
1472
- let t = V(e[0]);
1471
+ if (e?.length && i.autoselectFirst && !he.value) {
1472
+ let t = B(e[0]);
1473
1473
  R.value = i.multiple ? [t] : t;
1474
1474
  }
1475
1475
  }, { immediate: !0 });
1476
- function Se() {
1476
+ function Ce() {
1477
1477
  Array.isArray(R.value) ? R.value = [] : R.value = void 0, a("clear");
1478
1478
  }
1479
- let Ce = S(() => ({
1479
+ let we = S(() => ({
1480
1480
  name: i.name,
1481
1481
  tabindex: me.value,
1482
- disabled: L.value,
1482
+ disabled: pe.value,
1483
1483
  required: i.required,
1484
1484
  size: i.size,
1485
1485
  autocomplete: i.autocomplete,
1486
1486
  multiple: i.multiple,
1487
- "aria-invalid": _e.value,
1488
- "aria-describedby": f.value ? I.value : void 0,
1489
- "aria-errormessage": ee.value ? I.value : void 0
1490
- })), we = S(() => ({
1487
+ "aria-invalid": ye.value,
1488
+ "aria-describedby": f.value ? L.value : void 0,
1489
+ "aria-errormessage": ee.value ? L.value : void 0
1490
+ })), V = S(() => ({
1491
1491
  valid: i.valid,
1492
1492
  invalid: i.invalid,
1493
1493
  modelValue: i.modelValue
1494
1494
  }));
1495
- return (t, r) => (F(), M("div", { class: n(P(ye)) }, [
1496
- t.label ? (F(), M("label", {
1495
+ return (t, r) => (I(), N("div", { class: n(F(be)) }, [
1496
+ t.label ? (I(), N("label", {
1497
1497
  key: 0,
1498
- for: P(pe)
1498
+ for: F(fe)
1499
1499
  }, c(t.label), 9, tn)) : w("v-if", !0),
1500
- ue("div", nn, [
1501
- t.$slots.before ? (F(), M("div", rn, [l(t.$slots, "before", y(h(P(we))))])) : w("v-if", !0),
1502
- ue("div", an, [
1503
- P(he) ? (F(), N(yt, g({ key: 0 }, P(he), { class: "vv-select__icon" }), null, 16)) : w("v-if", !0),
1504
- ie(ue("select", g({
1505
- id: P(pe),
1500
+ M("div", nn, [
1501
+ t.$slots.before ? (I(), N("div", rn, [l(t.$slots, "before", y(h(F(V))))])) : w("v-if", !0),
1502
+ M("div", an, [
1503
+ F(_e) ? (I(), P(yt, g({ key: 0 }, F(_e), { class: "vv-select__icon" }), null, 16)) : w("v-if", !0),
1504
+ ie(M("select", g({
1505
+ id: F(fe),
1506
1506
  ref_key: "selectEl",
1507
1507
  ref: u
1508
- }, P(Ce), { "onUpdate:modelValue": r[0] ||= (e) => le(R) ? R.value = e : null }), [t.placeholder ? (F(), M("option", {
1508
+ }, F(we), { "onUpdate:modelValue": r[0] ||= (e) => le(R) ? R.value = e : null }), [t.placeholder ? (I(), N("option", {
1509
1509
  key: 0,
1510
1510
  value: void 0,
1511
- disabled: !P(B),
1512
- hidden: !P(B)
1513
- }, c(t.placeholder), 9, sn)) : w("v-if", !0), (F(!0), M(D, null, v(t.options, (e, t) => (F(), M(D, null, [te(e) ? (F(), M("optgroup", {
1511
+ disabled: !F(ge),
1512
+ hidden: !F(ge)
1513
+ }, c(t.placeholder), 9, sn)) : w("v-if", !0), (I(!0), N(D, null, v(t.options, (e, t) => (I(), N(D, null, [te(e) ? (I(), N("optgroup", {
1514
1514
  key: `group-${t}`,
1515
- disabled: P(xe)(e),
1516
- label: P(be)(e)
1517
- }, [(F(!0), M(D, null, v(P(H)(e), (e, n) => (F(), M("option", {
1515
+ disabled: F(xe)(e),
1516
+ label: F(z)(e)
1517
+ }, [(I(!0), N(D, null, v(F(Se)(e), (e, n) => (I(), N("option", {
1518
1518
  key: `group-${t}-item-${n}`,
1519
- disabled: P(xe)(e),
1520
- value: P(V)(e)
1521
- }, c(P(be)(e)), 9, un))), 128))], 8, ln)) : (F(), M("option", {
1519
+ disabled: F(xe)(e),
1520
+ value: F(B)(e)
1521
+ }, c(F(z)(e)), 9, un))), 128))], 8, ln)) : (I(), N("option", {
1522
1522
  key: t,
1523
- disabled: P(xe)(e),
1524
- value: P(V)(e)
1525
- }, c(P(be)(e)), 9, cn))], 64))), 256))], 16, on), [[j, P(R)]]),
1526
- P(ge) ? (F(), N(yt, g({ key: 1 }, P(ge), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : w("v-if", !0)
1523
+ disabled: F(xe)(e),
1524
+ value: F(B)(e)
1525
+ }, c(F(z)(e)), 9, cn))], 64))), 256))], 16, on), [[j, F(R)]]),
1526
+ F(ve) ? (I(), P(yt, g({ key: 1 }, F(ve), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : w("v-if", !0)
1527
1527
  ]),
1528
- P(B) && P(s).showClearAction ? (F(), N(P(xt), {
1528
+ F(ge) && F(s).showClearAction ? (I(), P(F(xt), {
1529
1529
  key: 1,
1530
1530
  "input-type": "select",
1531
1531
  label: t.labelClear,
1532
1532
  icon: t.iconClear,
1533
- disabled: !P(z),
1534
- onClear: Se
1533
+ disabled: !F(he),
1534
+ onClear: Ce
1535
1535
  }, null, 8, [
1536
1536
  "label",
1537
1537
  "icon",
1538
1538
  "disabled"
1539
1539
  ])) : w("v-if", !0),
1540
- t.$slots.after ? (F(), M("div", dn, [l(t.$slots, "after", y(h(P(we))))])) : w("v-if", !0)
1540
+ t.$slots.after ? (I(), N("div", dn, [l(t.$slots, "after", y(h(F(V))))])) : w("v-if", !0)
1541
1541
  ]),
1542
- de(P(d), {
1543
- id: P(I),
1542
+ ue(F(d), {
1543
+ id: F(L),
1544
1544
  class: "vv-select__hint"
1545
1545
  }, _({ _: 2 }, [
1546
1546
  t.$slots.hint ? {
1547
1547
  name: "hint",
1548
- fn: e(() => [l(t.$slots, "hint", y(h(P(p))))]),
1548
+ fn: e(() => [l(t.$slots, "hint", y(h(F(p))))]),
1549
1549
  key: "0"
1550
1550
  } : void 0,
1551
1551
  t.$slots.loading ? {
1552
1552
  name: "loading",
1553
- fn: e(() => [l(t.$slots, "loading", y(h(P(p))))]),
1553
+ fn: e(() => [l(t.$slots, "loading", y(h(F(p))))]),
1554
1554
  key: "1"
1555
1555
  } : void 0,
1556
1556
  t.$slots.valid ? {
1557
1557
  name: "valid",
1558
- fn: e(() => [l(t.$slots, "valid", y(h(P(p))))]),
1558
+ fn: e(() => [l(t.$slots, "valid", y(h(F(p))))]),
1559
1559
  key: "2"
1560
1560
  } : void 0,
1561
1561
  t.$slots.invalid ? {
1562
1562
  name: "invalid",
1563
- fn: e(() => [l(t.$slots, "invalid", y(h(P(p))))]),
1563
+ fn: e(() => [l(t.$slots, "invalid", y(h(F(p))))]),
1564
1564
  key: "3"
1565
1565
  } : void 0
1566
1566
  ]), 1032, ["id"])
@@ -1612,62 +1612,62 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1612
1612
  "change:search"
1613
1613
  ], ["update:search"]),
1614
1614
  setup(t, { emit: i }) {
1615
- let a = t, o = i, s = ne(), u = Qt("VvCombobox", lt(), a), f = T(null), ee = T(null), p = T(null), m = T(), { HintSlot: te, hasHintLabelOrSlot: b, hasInvalidLabelOrSlot: ae, hintSlotScope: E } = gt(u, s), { focused: O } = $t(f, o), { focused: k } = R(p);
1615
+ let a = t, o = i, s = ne(), u = Qt("VvCombobox", lt(), a), f = T(null), ee = T(null), p = T(null), m = T(), { HintSlot: te, hasHintLabelOrSlot: b, hasInvalidLabelOrSlot: ae, hintSlotScope: E } = gt(u, s), { focused: O } = $t(f, o), { focused: k } = Se(p);
1616
1616
  x(O, (e) => {
1617
1617
  if (a.autoOpen) {
1618
1618
  if (e && !j.value) {
1619
- pe();
1619
+ fe();
1620
1620
  return;
1621
1621
  }
1622
- !e && j.value && !k.value && I();
1622
+ !e && j.value && !k.value && L();
1623
1623
  }
1624
1624
  }), x(k, (e) => {
1625
- !O.value && !e && j.value && I();
1625
+ !O.value && !e && j.value && L();
1626
1626
  });
1627
- let se = d(t, "search"), A = z(se, S(() => Number(a.debounceSearch)));
1627
+ let se = d(t, "search"), A = V(se, S(() => Number(a.debounceSearch)));
1628
1628
  x(A, () => {
1629
1629
  o("update:search", A.value), o("change:search", A.value);
1630
1630
  });
1631
1631
  let j = T(!1);
1632
- function fe() {
1632
+ function de() {
1633
1633
  U.value || (j.value = !j.value);
1634
1634
  }
1635
- function pe() {
1635
+ function fe() {
1636
1636
  U.value || j.value || (j.value = !0);
1637
1637
  }
1638
- function I() {
1638
+ function L() {
1639
1639
  U.value || !j.value || (j.value = !1);
1640
1640
  }
1641
- function L() {
1641
+ function pe() {
1642
1642
  u.value.searchable && ee.value && ee.value.focus({ preventScroll: !0 });
1643
1643
  }
1644
1644
  function me() {
1645
1645
  u.value.keepSearch || (se.value = "");
1646
1646
  }
1647
- function B(e) {
1647
+ function R(e) {
1648
1648
  return typeof e == "string" ? !1 : e.options?.length;
1649
1649
  }
1650
- let { id: he, icon: ge, iconPosition: ve, modifiers: be, disabled: V, required: xe, readonly: H, loading: Se, valid: Ce, invalid: we, floating: Te } = C(a), Ee = Nt(he), De = S(() => `${Ee.value}-hint`), Oe = S(() => `${Ee.value}-dropdown`), ke = S(() => `${Ee.value}-search`), Ae = S(() => `${Ee.value}-label`), U = S(() => a.disabled || a.readonly), W = S(() => U.value ? -1 : a.tabindex), G = S({
1650
+ let { id: he, icon: ge, iconPosition: _e, modifiers: ve, disabled: ye, required: be, readonly: z, loading: B, valid: xe, invalid: Ce, floating: we } = C(a), H = Nt(he), De = S(() => `${H.value}-hint`), Oe = S(() => `${H.value}-dropdown`), ke = S(() => `${H.value}-search`), Ae = S(() => `${H.value}-label`), U = S(() => a.disabled || a.readonly), W = S(() => U.value ? -1 : a.tabindex), G = S({
1651
1651
  get: () => Array.isArray(a.modelValue) ? a.modelValue : a.modelValue !== void 0 && a.modelValue !== null ? [a.modelValue] : [],
1652
1652
  set: (e) => {
1653
1653
  o("update:modelValue", a.multiple || Array.isArray(a.modelValue) ? e : e.pop());
1654
1654
  }
1655
- }), K = S(() => G.value.length), je = S(() => K.value > 0), q = S(() => a.multiple ? a.maxValues === void 0 ? Infinity : Number(a.maxValues) : 1), J = S(() => U.value || !a.unselectable ? !1 : Number(a.minValues) === 0 || K.value > Number(a.minValues)), Ne = S(() => U.value ? !1 : a.multiple ? K.value < q.value : !0), Pe = T(!1), Fe = S(() => Pe.value || Se.value), { hasIconBefore: Ie, hasIconAfter: Le } = bt(ge, ve), Re = vt("vv-select", be, S(() => ({
1656
- disabled: V.value,
1657
- required: xe.value,
1655
+ }), K = S(() => G.value.length), je = S(() => K.value > 0), q = S(() => a.multiple ? a.maxValues === void 0 ? Infinity : Number(a.maxValues) : 1), J = S(() => U.value || !a.unselectable ? !1 : Number(a.minValues) === 0 || K.value > Number(a.minValues)), Ne = S(() => U.value ? !1 : a.multiple ? K.value < q.value : !0), Pe = T(!1), Fe = S(() => Pe.value || B.value), { hasIconBefore: Ie, hasIconAfter: Le } = bt(ge, _e), Re = vt("vv-select", ve, S(() => ({
1656
+ disabled: ye.value,
1657
+ required: be.value,
1658
1658
  loading: Fe.value,
1659
- readonly: H.value,
1659
+ readonly: z.value,
1660
1660
  "icon-before": Ie.value !== void 0,
1661
1661
  "icon-after": Le.value !== void 0,
1662
- valid: Ce.value,
1663
- invalid: we.value,
1662
+ valid: xe.value,
1663
+ invalid: Ce.value,
1664
1664
  dirty: je.value,
1665
1665
  focus: (O.value || k.value || j.value) && !U.value,
1666
- floating: Te.value,
1666
+ floating: we.value,
1667
1667
  badges: a.badges
1668
1668
  }))), ze = T(/* @__PURE__ */ new Set()), { getOptionLabel: Y, getOptionValue: Be, getOptionGrouped: X, isOptionDisabled: Ve } = en(a), He = S(() => {
1669
1669
  let e = [...ze.value];
1670
- for (let t of a.options) B(t) ? e.push(...X(t)) : e.push(t);
1670
+ for (let t of a.options) R(t) ? e.push(...X(t)) : e.push(t);
1671
1671
  return e;
1672
1672
  }), Ue = S(() => {
1673
1673
  let e = [...a.options, ...ze.value];
@@ -1683,7 +1683,7 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1683
1683
  function We(e) {
1684
1684
  return Ve(e) || !Ne.value && !Z(e);
1685
1685
  }
1686
- let Ge = ye(async () => {
1686
+ let Ge = Ee(async () => {
1687
1687
  if (u.value.searchFunction) {
1688
1688
  Pe.value = !0;
1689
1689
  let e = await Promise.resolve(u.value.searchFunction(A.value, Ue.value));
@@ -1691,7 +1691,7 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1691
1691
  }
1692
1692
  let e = A.value.toLowerCase().trim();
1693
1693
  return e ? Ue.value?.reduce((t, n) => {
1694
- if (B(n)) {
1694
+ if (R(n)) {
1695
1695
  let r = Y(n).toLowerCase(), i = X(n).filter((t) => Y(t).toLowerCase().includes(e));
1696
1696
  if (r.includes(e)) t.push(n);
1697
1697
  else if (i.length > 0) {
@@ -1710,25 +1710,25 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1710
1710
  let t = Be(e);
1711
1711
  return typeof t == "object" ? G.value.some((e) => typeof e == "object" ? JSON.stringify(e) === JSON.stringify(t) : !1) : G.value.includes(t);
1712
1712
  }
1713
- let Ke = S(() => Ue.value.reduce((e, t) => B(t) ? [...e, ...X(t)] : [...e, t], []).filter((e) => Z(e))), Q = S(() => Ke.value.map((e) => Y(e)).join(a.separator));
1713
+ let Ke = S(() => Ue.value.reduce((e, t) => R(t) ? [...e, ...X(t)] : [...e, t], []).filter((e) => Z(e))), Q = S(() => Ke.value.map((e) => Y(e)).join(a.separator));
1714
1714
  function qe() {
1715
- a.autoOpen ? pe() : fe();
1715
+ a.autoOpen ? fe() : de();
1716
1716
  }
1717
1717
  function $(e) {
1718
1718
  let t = Z(e), n = Be(e);
1719
- t && J.value ? G.value = G.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && Ne.value && (a.multiple ? G.value = [...G.value, n] : G.value = [n]), !a.multiple && !a.keepOpen && I();
1719
+ t && J.value ? G.value = G.value.filter((e) => typeof n == "object" && typeof e == "object" ? JSON.stringify(e) !== JSON.stringify(n) : e !== n) : !t && Ne.value && (a.multiple ? G.value = [...G.value, n] : G.value = [n]), !a.multiple && !a.keepOpen && L();
1720
1720
  }
1721
1721
  function Je() {
1722
1722
  G.value = [], o("update:search", ""), o("clear");
1723
1723
  }
1724
1724
  x(Ue, (e) => {
1725
1725
  if (e?.length && a.autoselectFirst && !je.value) {
1726
- let t = e.find((e) => !B(e));
1726
+ let t = e.find((e) => !R(e));
1727
1727
  if (t) {
1728
1728
  $(t);
1729
1729
  return;
1730
1730
  }
1731
- let n = e.find((e) => B(e));
1731
+ let n = e.find((e) => R(e));
1732
1732
  if (n) {
1733
1733
  let e = X(n);
1734
1734
  e.length && $(e[0]);
@@ -1736,18 +1736,18 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1736
1736
  }
1737
1737
  }, { immediate: !0 });
1738
1738
  let Ye = S(() => ({
1739
- id: Ee.value,
1739
+ id: H.value,
1740
1740
  name: a.name,
1741
1741
  tabindex: W.value,
1742
- valid: Ce.value,
1742
+ valid: xe.value,
1743
1743
  validLabel: u.value.validLabel,
1744
- invalid: we.value,
1744
+ invalid: Ce.value,
1745
1745
  invalidLabel: u.value.invalidLabel,
1746
1746
  hintLabel: u.value.hintLabel,
1747
1747
  loading: Fe.value,
1748
1748
  loadingLabel: u.value.loadingLabel,
1749
- disabled: V.value,
1750
- readonly: H.value,
1749
+ disabled: ye.value,
1750
+ readonly: z.value,
1751
1751
  modifiers: u.value.modifiers,
1752
1752
  options: u.value.options,
1753
1753
  labelKey: u.value.labelKey,
@@ -1780,14 +1780,14 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1780
1780
  invalid: a.invalid,
1781
1781
  modelValue: a.modelValue
1782
1782
  }));
1783
- _e([" ", "Enter"], (e) => {
1784
- a.autoOpen || !j.value && O.value && (e.preventDefault(), e.stopImmediatePropagation(), fe());
1783
+ Te([" ", "Enter"], (e) => {
1784
+ a.autoOpen || !j.value && O.value && (e.preventDefault(), e.stopImmediatePropagation(), de());
1785
1785
  }, { target: f });
1786
1786
  function Qe() {
1787
1787
  if (Ge.value?.length) {
1788
1788
  if (Ge.value.length === 1) {
1789
1789
  let e = Ge.value[0];
1790
- if (B(e)) {
1790
+ if (R(e)) {
1791
1791
  let t = X(e);
1792
1792
  t.length && $(t[0]);
1793
1793
  return;
@@ -1804,92 +1804,92 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1804
1804
  ze.value.add(e), $(e);
1805
1805
  }
1806
1806
  }
1807
- return (t, i) => t.native ? (F(), N(fn, g({ key: 1 }, P(Ye), { "onUpdate:modelValue": i[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (F(), M("div", {
1807
+ return (t, i) => t.native ? (I(), P(fn, g({ key: 1 }, F(Ye), { "onUpdate:modelValue": i[3] ||= (e) => o("update:modelValue", e) }), null, 16)) : (I(), N("div", {
1808
1808
  key: 0,
1809
- id: P(Ee),
1810
- class: n(P(Re))
1809
+ id: F(H),
1810
+ class: n(F(Re))
1811
1811
  }, [
1812
- t.label ? (F(), M("label", {
1812
+ t.label ? (I(), N("label", {
1813
1813
  key: 0,
1814
- id: P(Ae),
1815
- for: P(u).searchable ? P(ke) : void 0
1814
+ id: F(Ae),
1815
+ for: F(u).searchable ? F(ke) : void 0
1816
1816
  }, c(t.label), 9, mn)) : w("v-if", !0),
1817
- ue("div", {
1817
+ M("div", {
1818
1818
  ref_key: "wrapperEl",
1819
1819
  ref: p,
1820
1820
  class: "vv-select__wrapper"
1821
- }, [de(Wt, g({
1821
+ }, [ue(Wt, g({
1822
1822
  ref_key: "dropdownEl",
1823
1823
  ref: m,
1824
- modelValue: P(j),
1824
+ modelValue: F(j),
1825
1825
  "onUpdate:modelValue": i[2] ||= (e) => le(j) ? j.value = e : null
1826
- }, P(Xe), {
1827
- role: P(Me).listbox,
1828
- onAfterExpand: L,
1826
+ }, F(Xe), {
1827
+ role: F(Me).listbox,
1828
+ onAfterExpand: pe,
1829
1829
  onAfterCollapse: me
1830
1830
  }), _({
1831
1831
  default: e(({ aria: n }) => [
1832
- t.$slots.before ? (F(), M("div", gn, [l(t.$slots, "before", y(h(P(Ze))))])) : w("v-if", !0),
1833
- ue("div", _n, [
1834
- P(Ie) ? (F(), N(yt, g({ key: 0 }, P(Ie), { class: "vv-select__icon" }), null, 16)) : w("v-if", !0),
1835
- ue("div", g({
1832
+ t.$slots.before ? (I(), N("div", gn, [l(t.$slots, "before", y(h(F(Ze))))])) : w("v-if", !0),
1833
+ M("div", _n, [
1834
+ F(Ie) ? (I(), P(yt, g({ key: 0 }, F(Ie), { class: "vv-select__icon" }), null, 16)) : w("v-if", !0),
1835
+ M("div", g({
1836
1836
  ref_key: "inputEl",
1837
1837
  ref: f
1838
1838
  }, n, {
1839
1839
  class: "vv-select__input",
1840
1840
  role: "combobox",
1841
- "aria-controls": P(Oe),
1842
- "aria-expanded": P(j),
1843
- "aria-labelledby": P(Ae),
1844
- "aria-describedby": P(b) ? P(De) : void 0,
1845
- "aria-errormessage": P(ae) ? P(De) : void 0,
1846
- tabindex: P(W),
1841
+ "aria-controls": F(Oe),
1842
+ "aria-expanded": F(j),
1843
+ "aria-labelledby": F(Ae),
1844
+ "aria-describedby": F(b) ? F(De) : void 0,
1845
+ "aria-errormessage": F(ae) ? F(De) : void 0,
1846
+ tabindex: F(W),
1847
1847
  onClickPassive: qe
1848
- }), [P(Q) ? l(t.$slots, "value", y(g({ key: 0 }, {
1849
- selectedOptions: P(Ke),
1848
+ }), [F(Q) ? l(t.$slots, "value", y(g({ key: 0 }, {
1849
+ selectedOptions: F(Ke),
1850
1850
  onInput: $
1851
- })), () => [t.badges ? (F(!0), M(D, { key: 1 }, v(P(Ke), (n, i) => (F(), N(St, {
1851
+ })), () => [t.badges ? (I(!0), N(D, { key: 1 }, v(F(Ke), (n, i) => (I(), P(St, {
1852
1852
  key: i,
1853
1853
  modifiers: t.badgeModifiers,
1854
1854
  class: "vv-select__badge"
1855
1855
  }, {
1856
- default: e(() => [r(c(P(Y)(n)) + " ", 1), P(J) ? (F(), M("button", {
1856
+ default: e(() => [r(c(F(Y)(n)) + " ", 1), F(J) ? (I(), N("button", {
1857
1857
  key: 0,
1858
- "aria-label": P(u).deselectActionLabel,
1858
+ "aria-label": F(u).deselectActionLabel,
1859
1859
  type: "button",
1860
1860
  onClick: oe((e) => $(n), ["stop"])
1861
- }, [de(yt, { name: "close" })], 8, bn)) : w("v-if", !0)]),
1861
+ }, [ue(yt, { name: "close" })], 8, bn)) : w("v-if", !0)]),
1862
1862
  _: 2
1863
- }, 1032, ["modifiers"]))), 128)) : (F(), M("div", yn, c(P(Q)), 1))]) : l(t.$slots, "placeholder", { key: 1 }, () => [r(c(t.placeholder), 1)])], 16, vn),
1864
- P(Le) ? (F(), N(yt, g({ key: 1 }, P(Le), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : w("v-if", !0)
1863
+ }, 1032, ["modifiers"]))), 128)) : (I(), N("div", yn, c(F(Q)), 1))]) : l(t.$slots, "placeholder", { key: 1 }, () => [r(c(t.placeholder), 1)])], 16, vn),
1864
+ F(Le) ? (I(), P(yt, g({ key: 1 }, F(Le), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : w("v-if", !0)
1865
1865
  ]),
1866
- P(J) && P(u).showClearAction ? (F(), N(P(xt), {
1866
+ F(J) && F(u).showClearAction ? (I(), P(F(xt), {
1867
1867
  key: 1,
1868
1868
  "input-type": "select",
1869
1869
  label: t.labelClear,
1870
1870
  icon: t.iconClear,
1871
- disabled: !P(je),
1871
+ disabled: !F(je),
1872
1872
  onClear: Je
1873
1873
  }, null, 8, [
1874
1874
  "label",
1875
1875
  "icon",
1876
1876
  "disabled"
1877
1877
  ])) : w("v-if", !0),
1878
- t.$slots.after ? (F(), M("div", xn, [l(t.$slots, "after", y(h(P(Ze))))])) : w("v-if", !0)
1878
+ t.$slots.after ? (I(), N("div", xn, [l(t.$slots, "after", y(h(F(Ze))))])) : w("v-if", !0)
1879
1879
  ]),
1880
- items: e(() => [!P(V) && P(Ge)?.length ? (F(!0), M(D, { key: 0 }, v(P(Ge), (n, i) => (F(), M(D, { key: i }, [B(n) ? (F(), M(D, { key: 0 }, [de(Kt, { label: P(Y)(n) }, {
1880
+ items: e(() => [!F(ye) && F(Ge)?.length ? (I(!0), N(D, { key: 0 }, v(F(Ge), (n, i) => (I(), N(D, { key: i }, [R(n) ? (I(), N(D, { key: 0 }, [ue(Kt, { label: F(Y)(n) }, {
1881
1881
  default: e(() => [l(t.$slots, "option-group", g({ ref_for: !0 }, {
1882
1882
  option: n,
1883
- selectedOptions: P(Ke)
1884
- }), () => [r(c(P(Y)(n)), 1)])]),
1883
+ selectedOptions: F(Ke)
1884
+ }), () => [r(c(F(Y)(n)), 1)])]),
1885
1885
  _: 2
1886
- }, 1032, ["label"]), (F(!0), M(D, null, v(P(X)(n), (n, i) => (F(), N(Yt, g({ ref_for: !0 }, {
1886
+ }, 1032, ["label"]), (I(!0), N(D, null, v(F(X)(n), (n, i) => (I(), P(Yt, g({ ref_for: !0 }, {
1887
1887
  selected: Z(n),
1888
1888
  disabled: We(n),
1889
- unselectable: P(J),
1890
- deselectHintLabel: P(u).deselectHintLabel,
1891
- selectHintLabel: P(u).selectHintLabel,
1892
- selectedHintLabel: P(u).selectedHintLabel,
1889
+ unselectable: F(J),
1890
+ deselectHintLabel: F(u).deselectHintLabel,
1891
+ selectHintLabel: F(u).selectHintLabel,
1892
+ selectedHintLabel: F(u).selectedHintLabel,
1893
1893
  focusOnHover: t.focusOnHover
1894
1894
  }, {
1895
1895
  key: i,
@@ -1898,21 +1898,21 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1898
1898
  }), {
1899
1899
  default: e(() => [l(t.$slots, "option", g({ ref_for: !0 }, {
1900
1900
  option: n,
1901
- selectedOptions: P(Ke),
1901
+ selectedOptions: F(Ke),
1902
1902
  selected: Z(n),
1903
1903
  disabled: We(n)
1904
- }), () => [r(c(P(Y)(n)), 1)])]),
1904
+ }), () => [r(c(F(Y)(n)), 1)])]),
1905
1905
  _: 2
1906
- }, 1040, ["onClickPassive"]))), 128))], 64)) : (F(), N(Yt, g({
1906
+ }, 1040, ["onClickPassive"]))), 128))], 64)) : (I(), P(Yt, g({
1907
1907
  key: 1,
1908
1908
  ref_for: !0
1909
1909
  }, {
1910
1910
  selected: Z(n),
1911
1911
  disabled: We(n),
1912
- unselectable: P(J),
1913
- deselectHintLabel: P(u).deselectHintLabel,
1914
- selectHintLabel: P(u).selectHintLabel,
1915
- selectedHintLabel: P(u).selectedHintLabel,
1912
+ unselectable: F(J),
1913
+ deselectHintLabel: F(u).deselectHintLabel,
1914
+ selectHintLabel: F(u).selectHintLabel,
1915
+ selectedHintLabel: F(u).selectedHintLabel,
1916
1916
  focusOnHover: t.focusOnHover
1917
1917
  }, {
1918
1918
  class: "vv-dropdown-option",
@@ -1920,72 +1920,72 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1920
1920
  }), {
1921
1921
  default: e(() => [l(t.$slots, "option", g({ ref_for: !0 }, {
1922
1922
  option: n,
1923
- selectedOptions: P(Ke),
1923
+ selectedOptions: F(Ke),
1924
1924
  selected: Z(n),
1925
1925
  disabled: We(n)
1926
- }), () => [r(c(P(Y)(n)), 1)])]),
1926
+ }), () => [r(c(F(Y)(n)), 1)])]),
1927
1927
  _: 2
1928
- }, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (F(), N(Yt, {
1928
+ }, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (I(), P(Yt, {
1929
1929
  key: 2,
1930
1930
  modifiers: "inert"
1931
1931
  }, {
1932
- default: e(() => [l(t.$slots, "no-results", {}, () => [r(c(P(u).addable ? P(u).addOptionHintLabel : P(u).noResultsLabel), 1)])]),
1932
+ default: e(() => [l(t.$slots, "no-results", {}, () => [r(c(F(u).addable ? F(u).addOptionHintLabel : F(u).noResultsLabel), 1)])]),
1933
1933
  _: 3
1934
- })) : (F(), N(Yt, {
1934
+ })) : (I(), P(Yt, {
1935
1935
  key: 1,
1936
1936
  modifiers: "inert"
1937
1937
  }, {
1938
- default: e(() => [l(t.$slots, "no-options", {}, () => [r(c(P(u).addable && se.value.length ? P(u).addOptionHintLabel : P(u).noOptionsLabel), 1)])]),
1938
+ default: e(() => [l(t.$slots, "no-options", {}, () => [r(c(F(u).addable && se.value.length ? F(u).addOptionHintLabel : F(u).noOptionsLabel), 1)])]),
1939
1939
  _: 3
1940
1940
  }))]),
1941
- after: e(() => [l(t.$slots, "dropdown::after", {}, () => [P(m)?.customPosition ? (F(), N(It, {
1941
+ after: e(() => [l(t.$slots, "dropdown::after", {}, () => [F(m)?.customPosition ? (I(), P(It, {
1942
1942
  key: 0,
1943
- label: P(u).closeLabel,
1943
+ label: F(u).closeLabel,
1944
1944
  modifiers: "secondary",
1945
- onClick: i[1] ||= (e) => P(m).hide()
1945
+ onClick: i[1] ||= (e) => F(m).hide()
1946
1946
  }, null, 8, ["label"])) : w("v-if", !0)])]),
1947
1947
  _: 2
1948
- }, [P(u).searchable || t.$slots["dropdown::before"] ? {
1948
+ }, [F(u).searchable || t.$slots["dropdown::before"] ? {
1949
1949
  name: "before",
1950
- fn: e(() => [l(t.$slots, "dropdown::before"), P(u).searchable && !P(V) ? ie((F(), M("input", {
1950
+ fn: e(() => [l(t.$slots, "dropdown::before"), F(u).searchable && !F(ye) ? ie((I(), N("input", {
1951
1951
  key: 0,
1952
- id: P(ke),
1952
+ id: F(ke),
1953
1953
  ref_key: "inputSearchEl",
1954
1954
  ref: ee,
1955
1955
  "onUpdate:modelValue": i[0] ||= (e) => se.value = e,
1956
1956
  "aria-autocomplete": "list",
1957
- "aria-controls": P(Oe),
1957
+ "aria-controls": F(Oe),
1958
1958
  autocomplete: "off",
1959
1959
  spellcheck: "false",
1960
1960
  type: "search",
1961
1961
  class: "vv-dropdown__search",
1962
- placeholder: P(u).searchPlaceholder,
1962
+ placeholder: F(u).searchPlaceholder,
1963
1963
  onKeyup: ce(Qe, ["enter"])
1964
1964
  }, null, 40, hn)), [[re, se.value]]) : w("v-if", !0)]),
1965
1965
  key: "0"
1966
1966
  } : void 0]), 1040, ["modelValue", "role"])], 512),
1967
- de(P(te), {
1968
- id: P(De),
1967
+ ue(F(te), {
1968
+ id: F(De),
1969
1969
  class: "vv-select__hint"
1970
1970
  }, _({ _: 2 }, [
1971
1971
  t.$slots.hint ? {
1972
1972
  name: "hint",
1973
- fn: e(() => [l(t.$slots, "hint", y(h(P(E))))]),
1973
+ fn: e(() => [l(t.$slots, "hint", y(h(F(E))))]),
1974
1974
  key: "0"
1975
1975
  } : void 0,
1976
1976
  t.$slots.loading ? {
1977
1977
  name: "loading",
1978
- fn: e(() => [l(t.$slots, "loading", y(h(P(E))))]),
1978
+ fn: e(() => [l(t.$slots, "loading", y(h(F(E))))]),
1979
1979
  key: "1"
1980
1980
  } : void 0,
1981
1981
  t.$slots.valid ? {
1982
1982
  name: "valid",
1983
- fn: e(() => [l(t.$slots, "valid", y(h(P(E))))]),
1983
+ fn: e(() => [l(t.$slots, "valid", y(h(F(E))))]),
1984
1984
  key: "2"
1985
1985
  } : void 0,
1986
1986
  t.$slots.invalid ? {
1987
1987
  name: "invalid",
1988
- fn: e(() => [l(t.$slots, "invalid", y(h(P(E))))]),
1988
+ fn: e(() => [l(t.$slots, "invalid", y(h(F(E))))]),
1989
1989
  key: "3"
1990
1990
  } : void 0
1991
1991
  ]), 1032, ["id"])
@@ -1995,4 +1995,4 @@ var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1995
1995
  //#endregion
1996
1996
  export { Sn as default };
1997
1997
 
1998
- //# sourceMappingURL=VvCombobox.es-pTM53Z4B.js.map
1998
+ //# sourceMappingURL=VvCombobox.es-ILRHqAye.js.map