@8wave/ai-elements 0.84.0 → 0.85.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 (459) hide show
  1. package/README.md +109 -0
  2. package/dist/_chunks/Media-Cu3QLEp0.js +120 -0
  3. package/dist/_chunks/Media-Cu3QLEp0.js.map +1 -0
  4. package/dist/_chunks/{PkStreamingMarkdown-SVWv4Oye.js → PkStreamingMarkdown-C_fNNe9O.js} +307 -295
  5. package/dist/_chunks/PkStreamingMarkdown-C_fNNe9O.js.map +1 -0
  6. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js +48 -0
  7. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js.map +1 -0
  8. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js +67 -0
  9. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js.map +1 -0
  10. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js +63 -0
  11. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js.map +1 -0
  12. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js → PkToolShowArtifact-Drp_zW-3.js} +33 -33
  13. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js.map → PkToolShowArtifact-Drp_zW-3.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js → PkToolShowCalendarEvent-D1XYExcQ.js} +40 -40
  15. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js.map → PkToolShowCalendarEvent-D1XYExcQ.js.map} +1 -1
  16. package/dist/_chunks/PkToolShowComparison-DjK4sXS0.js +64 -0
  17. package/dist/_chunks/{PkToolShowComparison-BzyqEIMV.js.map → PkToolShowComparison-DjK4sXS0.js.map} +1 -1
  18. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js +119 -0
  19. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js.map +1 -0
  20. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js +228 -0
  21. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js → PkToolShowEmail-DGCKzD3s.js} +31 -31
  23. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js.map → PkToolShowEmail-DGCKzD3s.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js → PkToolShowImageGallery-BhyAMaes.js} +19 -19
  25. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js.map → PkToolShowImageGallery-BhyAMaes.js.map} +1 -1
  26. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js +1140 -0
  27. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js.map +1 -0
  28. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js → PkToolShowMessage-BqH-tE8K.js} +27 -27
  29. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js.map → PkToolShowMessage-BqH-tE8K.js.map} +1 -1
  30. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js +81 -0
  31. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js.map +1 -0
  32. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js → PkToolShowProductList-DeU4qyZp.js} +26 -26
  33. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js.map → PkToolShowProductList-DeU4qyZp.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js → PkToolShowQrCode-BrljSubk.js} +22 -22
  35. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js.map → PkToolShowQrCode-BrljSubk.js.map} +1 -1
  36. package/dist/_chunks/PkToolShowSources-Ca36N91a.js +396 -0
  37. package/dist/_chunks/PkToolShowSources-Ca36N91a.js.map +1 -0
  38. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js +47 -0
  39. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js.map +1 -0
  40. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js → PkToolShowWeather-CnTyMQTT.js} +63 -63
  41. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js.map → PkToolShowWeather-CnTyMQTT.js.map} +1 -1
  42. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js → PkToolShowWebPages-X0tkNJhc.js} +19 -19
  43. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js.map → PkToolShowWebPages-X0tkNJhc.js.map} +1 -1
  44. package/dist/_chunks/{PkUrl-CeYapZ9E.js → PkUrl-ChRoceUn.js} +12 -12
  45. package/dist/_chunks/{PkUrl-CeYapZ9E.js.map → PkUrl-ChRoceUn.js.map} +1 -1
  46. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js → VvCheckbox.es-CjtdGRKd.js} +63 -63
  47. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js.map → VvCheckbox.es-CjtdGRKd.js.map} +1 -1
  48. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js → VvCheckboxGroup.es-DYHTVBaF.js} +91 -91
  49. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js.map → VvCheckboxGroup.es-DYHTVBaF.js.map} +1 -1
  50. package/dist/_chunks/VvCombobox.es-BxxQaz48.js +1998 -0
  51. package/dist/_chunks/{VvCombobox.es-CUUNtqyJ.js.map → VvCombobox.es-BxxQaz48.js.map} +1 -1
  52. package/dist/_chunks/{VvInputText.es-DeAexenB.js → VvInputText.es-B13qbrJj.js} +420 -420
  53. package/dist/_chunks/{VvInputText.es-DeAexenB.js.map → VvInputText.es-B13qbrJj.js.map} +1 -1
  54. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js → VvRadio.es-DuSk75Cl.js} +117 -117
  55. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js.map → VvRadio.es-DuSk75Cl.js.map} +1 -1
  56. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js → VvRadioGroup.es-BjPz7xfR.js} +91 -91
  57. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js.map → VvRadioGroup.es-BjPz7xfR.js.map} +1 -1
  58. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js → VvSelect.es-CKFBoQN-.js} +119 -119
  59. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js.map → VvSelect.es-CKFBoQN-.js.map} +1 -1
  60. package/dist/_chunks/VvTextarea.es-CICFo2Rh.js +1110 -0
  61. package/dist/_chunks/{VvTextarea.es-B5txwRRm.js.map → VvTextarea.es-CICFo2Rh.js.map} +1 -1
  62. package/dist/_chunks/dist-Dplp2WfI.js +799 -0
  63. package/dist/_chunks/{dist-DHG50RNO.js.map → dist-Dplp2WfI.js.map} +1 -1
  64. package/dist/_chunks/{esm-8uCGyZon.js → esm-CtL6xvv9.js} +19 -19
  65. package/dist/_chunks/{esm-8uCGyZon.js.map → esm-CtL6xvv9.js.map} +1 -1
  66. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js → floating-ui.vue-BWkka9Fn.js} +6 -6
  67. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js.map → floating-ui.vue-BWkka9Fn.js.map} +1 -1
  68. package/dist/_chunks/{iconify-B2ZQHsNr.js → iconify-DlYsYC8z.js} +5 -5
  69. package/dist/_chunks/{iconify-B2ZQHsNr.js.map → iconify-DlYsYC8z.js.map} +1 -1
  70. package/dist/_chunks/{index.es-CusxIi0s.js → index.es-9_Td6lnP.js} +2306 -2306
  71. package/dist/_chunks/{index.es-CusxIi0s.js.map → index.es-9_Td6lnP.js.map} +1 -1
  72. package/dist/_chunks/index.es-BC4SxvmK.js +994 -0
  73. package/dist/_chunks/index.es-BC4SxvmK.js.map +1 -0
  74. package/dist/_chunks/{src-RaVs-PqK.js → src-L9Jq1dyr.js} +11 -11
  75. package/dist/_chunks/{src-RaVs-PqK.js.map → src-L9Jq1dyr.js.map} +1 -1
  76. package/dist/_chunks/{useLightbox-C7JFztx4.js → useLightbox-kKLPhYUx.js} +9 -7
  77. package/dist/_chunks/{useLightbox-C7JFztx4.js.map → useLightbox-kKLPhYUx.js.map} +1 -1
  78. package/dist/_chunks/{vue-i18n-fHp3k8qw.js → vue-i18n-BjaFxqmH.js} +40 -40
  79. package/dist/_chunks/{vue-i18n-fHp3k8qw.js.map → vue-i18n-BjaFxqmH.js.map} +1 -1
  80. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js → vue.runtime.esm-bundler-B-iHWsf4.js} +702 -702
  81. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js.map → vue.runtime.esm-bundler-B-iHWsf4.js.map} +1 -1
  82. package/dist/ai-elements.es.js +4016 -10669
  83. package/dist/ai-elements.es.js.map +1 -1
  84. package/dist-vue/PkChatbot.js +1 -1
  85. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  86. package/dist-vue/PkChatbotFilePreview.js +1 -1
  87. package/dist-vue/PkChatbotInput.js +1 -1
  88. package/dist-vue/PkChatbotMessages.js +1 -1
  89. package/dist-vue/PkChatbotViewChat.js +1 -1
  90. package/dist-vue/PkChatbotViewConversations.js +1 -1
  91. package/dist-vue/PkChatbotViewProfile.js +1 -1
  92. package/dist-vue/_chunks/Media-D5pFbMNh.js +120 -0
  93. package/dist-vue/_chunks/Media-D5pFbMNh.js.map +1 -0
  94. package/dist-vue/_chunks/PkChatbot-UDExD81D.js +190 -0
  95. package/dist-vue/_chunks/PkChatbot-UDExD81D.js.map +1 -0
  96. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js → PkChatbotFeedbackForm-Dy2ojy2E.js} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js.map → PkChatbotFeedbackForm-Dy2ojy2E.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotFilePreview-0N9ASbIp.js → PkChatbotFilePreview-7hRouK9o.js} +5 -3
  99. package/dist-vue/_chunks/PkChatbotFilePreview-7hRouK9o.js.map +1 -0
  100. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js → PkChatbotInput-Dn4KFNfx.js} +3 -3
  101. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js.map → PkChatbotInput-Dn4KFNfx.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkChatbotMessages-BDziUgck.js → PkChatbotMessages-DUOrit9Y.js} +47 -33
  103. package/dist-vue/_chunks/PkChatbotMessages-DUOrit9Y.js.map +1 -0
  104. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js +225 -0
  105. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js.map +1 -0
  106. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js → PkChatbotViewConversations-B9KC-0ir.js} +13 -13
  107. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js.map → PkChatbotViewConversations-B9KC-0ir.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js → PkChatbotViewProfile-C0q898hz.js} +2 -2
  109. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js.map → PkChatbotViewProfile-C0q898hz.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkStreamingMarkdown-BUiAi-qv.js → PkStreamingMarkdown-BDtjktHX.js} +296 -284
  111. package/dist-vue/_chunks/PkStreamingMarkdown-BDtjktHX.js.map +1 -0
  112. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js +125 -0
  113. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js.map +1 -0
  114. package/dist-vue/_chunks/PkToolRequestConfirm-BcZ10rMb.js +48 -0
  115. package/dist-vue/_chunks/{PkToolRequestConfirm-BsHpoI-c.js.map → PkToolRequestConfirm-BcZ10rMb.js.map} +1 -1
  116. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js +67 -0
  117. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js.map +1 -0
  118. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CIrFBhxL.js +63 -0
  119. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-shcJXxtk.js.map → PkToolRequestOAuthConnection-CIrFBhxL.js.map} +1 -1
  120. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js → PkToolShowArtifact-BVFPfZT8.js} +3 -3
  121. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js.map → PkToolShowArtifact-BVFPfZT8.js.map} +1 -1
  122. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js → PkToolShowCalendarEvent-9jaBqWBJ.js} +3 -3
  123. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js.map → PkToolShowCalendarEvent-9jaBqWBJ.js.map} +1 -1
  124. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js → PkToolShowComparison-D1YHzvyy.js} +2 -2
  125. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js.map → PkToolShowComparison-D1YHzvyy.js.map} +1 -1
  126. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js → PkToolShowContactForm-BVtuQVGs.js} +5 -5
  127. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js.map → PkToolShowContactForm-BVtuQVGs.js.map} +1 -1
  128. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js +112 -0
  129. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js → PkToolShowEmail-BZzv2-6y.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js.map → PkToolShowEmail-BZzv2-6y.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js → PkToolShowImageGallery-Bt7QNtGe.js} +4 -4
  133. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js.map → PkToolShowImageGallery-Bt7QNtGe.js.map} +1 -1
  134. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js +143 -0
  135. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js → PkToolShowMessage-DvnO4DDb.js} +2 -2
  137. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js.map → PkToolShowMessage-DvnO4DDb.js.map} +1 -1
  138. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js → PkToolShowMultipleChoice-BEWDze3p.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js.map → PkToolShowMultipleChoice-BEWDze3p.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js → PkToolShowProductList-Cyh_fdTh.js} +3 -3
  141. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js.map → PkToolShowProductList-Cyh_fdTh.js.map} +1 -1
  142. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js → PkToolShowQrCode-Dz3HlJGs.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js.map → PkToolShowQrCode-Dz3HlJGs.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js → PkToolShowSources-cFvwqgDz.js} +21 -21
  145. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js.map → PkToolShowSources-cFvwqgDz.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js → PkToolShowSuggestedReply-DIrmkOUq.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js.map → PkToolShowSuggestedReply-DIrmkOUq.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js → PkToolShowWeather-CKFmoP6M.js} +1 -1
  149. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js.map → PkToolShowWeather-CKFmoP6M.js.map} +1 -1
  150. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js → PkToolShowWebPages-DDsErkru.js} +4 -4
  151. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js.map → PkToolShowWebPages-DDsErkru.js.map} +1 -1
  152. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js → PkUrl-DdRprvPJ.js} +1 -1
  153. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js.map → PkUrl-DdRprvPJ.js.map} +1 -1
  154. package/dist-vue/_chunks/{apl-gZJv8aE0.js → apl-CiKuf38q.js} +1 -1
  155. package/dist-vue/_chunks/{apl-gZJv8aE0.js.map → apl-CiKuf38q.js.map} +1 -1
  156. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js → asciiarmor-Cv_figT_.js} +1 -1
  157. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js.map → asciiarmor-Cv_figT_.js.map} +1 -1
  158. package/dist-vue/_chunks/{asn1-CUOx9oeT.js → asn1-o22T4Rhb.js} +1 -1
  159. package/dist-vue/_chunks/{asn1-CUOx9oeT.js.map → asn1-o22T4Rhb.js.map} +1 -1
  160. package/dist-vue/_chunks/{asterisk-CtQouKe4.js → asterisk-BVQJUqvD.js} +1 -1
  161. package/dist-vue/_chunks/{asterisk-CtQouKe4.js.map → asterisk-BVQJUqvD.js.map} +1 -1
  162. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js → brainfuck-BUjoLd18.js} +1 -1
  163. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js.map → brainfuck-BUjoLd18.js.map} +1 -1
  164. package/dist-vue/_chunks/{clike-DBPD1mz3.js → clike-DnfYdh2t.js} +1 -1
  165. package/dist-vue/_chunks/{clike-DBPD1mz3.js.map → clike-DnfYdh2t.js.map} +1 -1
  166. package/dist-vue/_chunks/{clojure-xtczAEDV.js → clojure-Spy-VDMe.js} +1 -1
  167. package/dist-vue/_chunks/{clojure-xtczAEDV.js.map → clojure-Spy-VDMe.js.map} +1 -1
  168. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js → cmake-Ctp7rWzy.js} +1 -1
  169. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js.map → cmake-Ctp7rWzy.js.map} +1 -1
  170. package/dist-vue/_chunks/{cobol-BAMxIfCa.js → cobol-DX59jXra.js} +1 -1
  171. package/dist-vue/_chunks/{cobol-BAMxIfCa.js.map → cobol-DX59jXra.js.map} +1 -1
  172. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js → coffeescript-Bq4R3kBT.js} +1 -1
  173. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js.map → coffeescript-Bq4R3kBT.js.map} +1 -1
  174. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js → commonlisp-qnCvPlJb.js} +1 -1
  175. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js.map → commonlisp-qnCvPlJb.js.map} +1 -1
  176. package/dist-vue/_chunks/{createChatbotApiClient-C_E35aQf.js → createChatbotApiClient-C-jT5hE0.js} +96 -95
  177. package/dist-vue/_chunks/createChatbotApiClient-C-jT5hE0.js.map +1 -0
  178. package/dist-vue/_chunks/{crystal-DdoSQSAv.js → crystal-B02ya4cQ.js} +1 -1
  179. package/dist-vue/_chunks/{crystal-DdoSQSAv.js.map → crystal-B02ya4cQ.js.map} +1 -1
  180. package/dist-vue/_chunks/{css-TU14Ca1R.js → css-CzWlO-Xb.js} +1 -1
  181. package/dist-vue/_chunks/{css-TU14Ca1R.js.map → css-CzWlO-Xb.js.map} +1 -1
  182. package/dist-vue/_chunks/{cypher-CXLa4pI5.js → cypher-CLyYkG2-.js} +1 -1
  183. package/dist-vue/_chunks/{cypher-CXLa4pI5.js.map → cypher-CLyYkG2-.js.map} +1 -1
  184. package/dist-vue/_chunks/{d-BArAGMlp.js → d-DGUXRLLi.js} +1 -1
  185. package/dist-vue/_chunks/{d-BArAGMlp.js.map → d-DGUXRLLi.js.map} +1 -1
  186. package/dist-vue/_chunks/{diff-C3LIbTwG.js → diff-DRe8JdWk.js} +1 -1
  187. package/dist-vue/_chunks/{diff-C3LIbTwG.js.map → diff-DRe8JdWk.js.map} +1 -1
  188. package/dist-vue/_chunks/{dist-CUYb2Ykk.js → dist-7BKkikZw.js} +2 -2
  189. package/dist-vue/_chunks/{dist-CUYb2Ykk.js.map → dist-7BKkikZw.js.map} +1 -1
  190. package/dist-vue/_chunks/{dist-DlMrwhCk.js → dist-7u7jBD-H.js} +1 -1
  191. package/dist-vue/_chunks/{dist-DlMrwhCk.js.map → dist-7u7jBD-H.js.map} +1 -1
  192. package/dist-vue/_chunks/{dist-Bj32YA2b.js → dist-8BVnK6QW.js} +4 -4
  193. package/dist-vue/_chunks/{dist-Bj32YA2b.js.map → dist-8BVnK6QW.js.map} +1 -1
  194. package/dist-vue/_chunks/{dist-BtzPY8uU.js → dist-9IwNDEHQ.js} +2 -2
  195. package/dist-vue/_chunks/{dist-BtzPY8uU.js.map → dist-9IwNDEHQ.js.map} +1 -1
  196. package/dist-vue/_chunks/{dist-BMTTRExI.js → dist-BGTESNxJ.js} +1 -1
  197. package/dist-vue/_chunks/{dist-BMTTRExI.js.map → dist-BGTESNxJ.js.map} +1 -1
  198. package/dist-vue/_chunks/{dist-BUm8Nt7d.js → dist-BWdaSTBW.js} +2 -2
  199. package/dist-vue/_chunks/{dist-BUm8Nt7d.js.map → dist-BWdaSTBW.js.map} +1 -1
  200. package/dist-vue/_chunks/{dist-tDt7-5Hh.js → dist-BtFxPYCM.js} +1 -1
  201. package/dist-vue/_chunks/{dist-tDt7-5Hh.js.map → dist-BtFxPYCM.js.map} +1 -1
  202. package/dist-vue/_chunks/{dist-BM3i3wHC.js → dist-BwrhMmQA.js} +1 -1
  203. package/dist-vue/_chunks/{dist-BM3i3wHC.js.map → dist-BwrhMmQA.js.map} +1 -1
  204. package/dist-vue/_chunks/{dist-B_3TGJwf.js → dist-Cm-J5l4S2.js} +1 -1
  205. package/dist-vue/_chunks/dist-Cm-J5l4S2.js.map +1 -0
  206. package/dist-vue/_chunks/{dist-CUah0Xys.js → dist-CnmeOb2N.js} +3 -3
  207. package/dist-vue/_chunks/{dist-CUah0Xys.js.map → dist-CnmeOb2N.js.map} +1 -1
  208. package/dist-vue/_chunks/{dist-DI-XHVdE.js → dist-D34LRAfv.js} +2 -2
  209. package/dist-vue/_chunks/{dist-DI-XHVdE.js.map → dist-D34LRAfv.js.map} +1 -1
  210. package/dist-vue/_chunks/{dist-DACzskoy2.js → dist-D35h9xud2.js} +3 -3
  211. package/dist-vue/_chunks/{dist-DACzskoy2.js.map → dist-D35h9xud2.js.map} +1 -1
  212. package/dist-vue/_chunks/dist-DMKuVADK2.js +441 -0
  213. package/dist-vue/_chunks/dist-DMKuVADK2.js.map +1 -0
  214. package/dist-vue/_chunks/{dist-CwWFe7zF.js → dist-Dg1nGvwP.js} +1 -1
  215. package/dist-vue/_chunks/{dist-CwWFe7zF.js.map → dist-Dg1nGvwP.js.map} +1 -1
  216. package/dist-vue/_chunks/{dist-B2nNrire.js → dist-YcwJuFBx.js} +2 -2
  217. package/dist-vue/_chunks/{dist-B2nNrire.js.map → dist-YcwJuFBx.js.map} +1 -1
  218. package/dist-vue/_chunks/{dist-2JsKACZj.js → dist-b5CbbjSp.js} +1 -1
  219. package/dist-vue/_chunks/{dist-2JsKACZj.js.map → dist-b5CbbjSp.js.map} +1 -1
  220. package/dist-vue/_chunks/{dist-Cr5fwgdD.js → dist-kywGQjza.js} +2 -2
  221. package/dist-vue/_chunks/{dist-Cr5fwgdD.js.map → dist-kywGQjza.js.map} +1 -1
  222. package/dist-vue/_chunks/{dist-Df_bnb-v.js → dist-l6sREGf7.js} +1 -1
  223. package/dist-vue/_chunks/{dist-Df_bnb-v.js.map → dist-l6sREGf7.js.map} +1 -1
  224. package/dist-vue/_chunks/{dist-B1Xwe66S.js → dist-x5C6fPIQ.js} +2 -2
  225. package/dist-vue/_chunks/{dist-B1Xwe66S.js.map → dist-x5C6fPIQ.js.map} +1 -1
  226. package/dist-vue/_chunks/{dist-BgntOJ9J.js → dist-x73cXb-w.js} +3 -3
  227. package/dist-vue/_chunks/{dist-BgntOJ9J.js.map → dist-x73cXb-w.js.map} +1 -1
  228. package/dist-vue/_chunks/{dockerfile-DzujQve1.js → dockerfile-BpKVodrd.js} +2 -2
  229. package/dist-vue/_chunks/{dockerfile-DzujQve1.js.map → dockerfile-BpKVodrd.js.map} +1 -1
  230. package/dist-vue/_chunks/{dtd-B1f0YqWO.js → dtd-q9vHTxZ1.js} +1 -1
  231. package/dist-vue/_chunks/{dtd-B1f0YqWO.js.map → dtd-q9vHTxZ1.js.map} +1 -1
  232. package/dist-vue/_chunks/{dylan-bedk9ukf.js → dylan-CTRyD_yN.js} +1 -1
  233. package/dist-vue/_chunks/{dylan-bedk9ukf.js.map → dylan-CTRyD_yN.js.map} +1 -1
  234. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js → ebnf-DPw9AGDC.js} +1 -1
  235. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js.map → ebnf-DPw9AGDC.js.map} +1 -1
  236. package/dist-vue/_chunks/{ecl-CXPqOJjc.js → ecl-CuLlc0XE.js} +1 -1
  237. package/dist-vue/_chunks/{ecl-CXPqOJjc.js.map → ecl-CuLlc0XE.js.map} +1 -1
  238. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js → eiffel-DYyjt7F3.js} +1 -1
  239. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js.map → eiffel-DYyjt7F3.js.map} +1 -1
  240. package/dist-vue/_chunks/{elm-CEbGa4zC.js → elm-DcYv6ZJY.js} +1 -1
  241. package/dist-vue/_chunks/{elm-CEbGa4zC.js.map → elm-DcYv6ZJY.js.map} +1 -1
  242. package/dist-vue/_chunks/{erlang-BNnTSw8C.js → erlang-nipePvRg.js} +1 -1
  243. package/dist-vue/_chunks/{erlang-BNnTSw8C.js.map → erlang-nipePvRg.js.map} +1 -1
  244. package/dist-vue/_chunks/{factor-BIER3ncI.js → factor-C_jm0Hi8.js} +2 -2
  245. package/dist-vue/_chunks/{factor-BIER3ncI.js.map → factor-C_jm0Hi8.js.map} +1 -1
  246. package/dist-vue/_chunks/{fcl-HxmGK-W5.js → fcl-CqmPhDgo.js} +1 -1
  247. package/dist-vue/_chunks/{fcl-HxmGK-W5.js.map → fcl-CqmPhDgo.js.map} +1 -1
  248. package/dist-vue/_chunks/{forth-BoRU1oYL.js → forth-GAg6IwF6.js} +1 -1
  249. package/dist-vue/_chunks/{forth-BoRU1oYL.js.map → forth-GAg6IwF6.js.map} +1 -1
  250. package/dist-vue/_chunks/{fortran-8E8eLx-x.js → fortran-DyrSTiy7.js} +1 -1
  251. package/dist-vue/_chunks/{fortran-8E8eLx-x.js.map → fortran-DyrSTiy7.js.map} +1 -1
  252. package/dist-vue/_chunks/{gas-DzrG9cIr.js → gas-CBY6LBUu.js} +1 -1
  253. package/dist-vue/_chunks/{gas-DzrG9cIr.js.map → gas-CBY6LBUu.js.map} +1 -1
  254. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js → gherkin-F6vIWaV0.js} +1 -1
  255. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js.map → gherkin-F6vIWaV0.js.map} +1 -1
  256. package/dist-vue/_chunks/{groovy-DluoS5pg.js → groovy-DBvpslJE.js} +1 -1
  257. package/dist-vue/_chunks/{groovy-DluoS5pg.js.map → groovy-DBvpslJE.js.map} +1 -1
  258. package/dist-vue/_chunks/{haskell-DWzSrwGO.js → haskell-CzcXTuY3.js} +1 -1
  259. package/dist-vue/_chunks/{haskell-DWzSrwGO.js.map → haskell-CzcXTuY3.js.map} +1 -1
  260. package/dist-vue/_chunks/{haxe-nucWqdAl.js → haxe-C0K87vd-.js} +1 -1
  261. package/dist-vue/_chunks/{haxe-nucWqdAl.js.map → haxe-C0K87vd-.js.map} +1 -1
  262. package/dist-vue/_chunks/{http-wcQY3fv1.js → http-lhCYiIUK.js} +1 -1
  263. package/dist-vue/_chunks/{http-wcQY3fv1.js.map → http-lhCYiIUK.js.map} +1 -1
  264. package/dist-vue/_chunks/{idl-BZjtu2uP.js → idl-DiwlVJ2e.js} +1 -1
  265. package/dist-vue/_chunks/{idl-BZjtu2uP.js.map → idl-DiwlVJ2e.js.map} +1 -1
  266. package/dist-vue/_chunks/{javascript-D-DeSYfi.js → javascript-DoLQ_01m.js} +1 -1
  267. package/dist-vue/_chunks/{javascript-D-DeSYfi.js.map → javascript-DoLQ_01m.js.map} +1 -1
  268. package/dist-vue/_chunks/{julia-BdkHYLKN.js → julia-D-9kev9I.js} +1 -1
  269. package/dist-vue/_chunks/{julia-BdkHYLKN.js.map → julia-D-9kev9I.js.map} +1 -1
  270. package/dist-vue/_chunks/{livescript-B-rE2yGH.js → livescript-BXKPrYL1.js} +1 -1
  271. package/dist-vue/_chunks/{livescript-B-rE2yGH.js.map → livescript-BXKPrYL1.js.map} +1 -1
  272. package/dist-vue/_chunks/{lua-8MR4kmO6.js → lua-CmoiUImJ.js} +1 -1
  273. package/dist-vue/_chunks/{lua-8MR4kmO6.js.map → lua-CmoiUImJ.js.map} +1 -1
  274. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js → mathematica-C0zVH3hb.js} +1 -1
  275. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js.map → mathematica-C0zVH3hb.js.map} +1 -1
  276. package/dist-vue/_chunks/{mbox-BlqAOSZk.js → mbox-BQjArxBt.js} +1 -1
  277. package/dist-vue/_chunks/{mbox-BlqAOSZk.js.map → mbox-BQjArxBt.js.map} +1 -1
  278. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js → mirc-CH7vSjBP.js} +1 -1
  279. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js.map → mirc-CH7vSjBP.js.map} +1 -1
  280. package/dist-vue/_chunks/{mllike-B4w9rV72.js → mllike-BtNDtwtH.js} +1 -1
  281. package/dist-vue/_chunks/{mllike-B4w9rV72.js.map → mllike-BtNDtwtH.js.map} +1 -1
  282. package/dist-vue/_chunks/{modelica-BeZSjbWb.js → modelica-D0D4gw71.js} +1 -1
  283. package/dist-vue/_chunks/{modelica-BeZSjbWb.js.map → modelica-D0D4gw71.js.map} +1 -1
  284. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js → mscgen-BREuUTcQ.js} +1 -1
  285. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js.map → mscgen-BREuUTcQ.js.map} +1 -1
  286. package/dist-vue/_chunks/{mumps-DHp_hepw.js → mumps-Cj1f6cBa.js} +1 -1
  287. package/dist-vue/_chunks/{mumps-DHp_hepw.js.map → mumps-Cj1f6cBa.js.map} +1 -1
  288. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js → nginx-CTa-DOcs.js} +1 -1
  289. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js.map → nginx-CTa-DOcs.js.map} +1 -1
  290. package/dist-vue/_chunks/{nsis-g-2nkKRi.js → nsis-BWAOyRUP.js} +2 -2
  291. package/dist-vue/_chunks/{nsis-g-2nkKRi.js.map → nsis-BWAOyRUP.js.map} +1 -1
  292. package/dist-vue/_chunks/{ntriples-COZl-CW9.js → ntriples-zIN_qrIe.js} +1 -1
  293. package/dist-vue/_chunks/{ntriples-COZl-CW9.js.map → ntriples-zIN_qrIe.js.map} +1 -1
  294. package/dist-vue/_chunks/{octave-qefefCKI.js → octave-DIV6S7Pt.js} +1 -1
  295. package/dist-vue/_chunks/{octave-qefefCKI.js.map → octave-DIV6S7Pt.js.map} +1 -1
  296. package/dist-vue/_chunks/{oz-B7xBKeTb.js → oz-5rNpxapS.js} +1 -1
  297. package/dist-vue/_chunks/{oz-B7xBKeTb.js.map → oz-5rNpxapS.js.map} +1 -1
  298. package/dist-vue/_chunks/{pascal-B0deIU4R.js → pascal-7C5712Nh.js} +1 -1
  299. package/dist-vue/_chunks/{pascal-B0deIU4R.js.map → pascal-7C5712Nh.js.map} +1 -1
  300. package/dist-vue/_chunks/{perl-CrEeHa0-.js → perl-eAVlqDxG.js} +1 -1
  301. package/dist-vue/_chunks/{perl-CrEeHa0-.js.map → perl-eAVlqDxG.js.map} +1 -1
  302. package/dist-vue/_chunks/{pig-CQcAmjLr.js → pig-C6AL_r8r.js} +1 -1
  303. package/dist-vue/_chunks/{pig-CQcAmjLr.js.map → pig-C6AL_r8r.js.map} +1 -1
  304. package/dist-vue/_chunks/{powershell-CEOsLn17.js → powershell-DsA9A7ee.js} +1 -1
  305. package/dist-vue/_chunks/{powershell-CEOsLn17.js.map → powershell-DsA9A7ee.js.map} +1 -1
  306. package/dist-vue/_chunks/{properties-CIZ3QFxD.js → properties-DuF6jBwF.js} +1 -1
  307. package/dist-vue/_chunks/{properties-CIZ3QFxD.js.map → properties-DuF6jBwF.js.map} +1 -1
  308. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js → protobuf-nlPU8ZM-.js} +1 -1
  309. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js.map → protobuf-nlPU8ZM-.js.map} +1 -1
  310. package/dist-vue/_chunks/{pug-Dn8VvwH3.js → pug-C1RwTStM.js} +2 -2
  311. package/dist-vue/_chunks/{pug-Dn8VvwH3.js.map → pug-C1RwTStM.js.map} +1 -1
  312. package/dist-vue/_chunks/{puppet-C6TXtx4p.js → puppet-DFYbyNW2.js} +1 -1
  313. package/dist-vue/_chunks/{puppet-C6TXtx4p.js.map → puppet-DFYbyNW2.js.map} +1 -1
  314. package/dist-vue/_chunks/{python-DcAJJ0JG.js → python-Dv1DGCiz.js} +1 -1
  315. package/dist-vue/_chunks/{python-DcAJJ0JG.js.map → python-Dv1DGCiz.js.map} +1 -1
  316. package/dist-vue/_chunks/{q-WbmgnnmF.js → q-X1HLKyVv.js} +1 -1
  317. package/dist-vue/_chunks/{q-WbmgnnmF.js.map → q-X1HLKyVv.js.map} +1 -1
  318. package/dist-vue/_chunks/{r-C22XZ_AN.js → r-BZGUCY-c.js} +1 -1
  319. package/dist-vue/_chunks/{r-C22XZ_AN.js.map → r-BZGUCY-c.js.map} +1 -1
  320. package/dist-vue/_chunks/{rpm-B9APie5d.js → rpm-CDLCwfOD.js} +1 -1
  321. package/dist-vue/_chunks/{rpm-B9APie5d.js.map → rpm-CDLCwfOD.js.map} +1 -1
  322. package/dist-vue/_chunks/{ruby-D24Ax8EE.js → ruby-cVyKV-zg.js} +1 -1
  323. package/dist-vue/_chunks/{ruby-D24Ax8EE.js.map → ruby-cVyKV-zg.js.map} +1 -1
  324. package/dist-vue/_chunks/{sas-D4-twsz3.js → sas-BDPIwc3L.js} +1 -1
  325. package/dist-vue/_chunks/{sas-D4-twsz3.js.map → sas-BDPIwc3L.js.map} +1 -1
  326. package/dist-vue/_chunks/{scheme-CCmbAfjG.js → scheme-6m6S6r1m.js} +1 -1
  327. package/dist-vue/_chunks/{scheme-CCmbAfjG.js.map → scheme-6m6S6r1m.js.map} +1 -1
  328. package/dist-vue/_chunks/{shell-oVzTSWfo.js → shell-Dcuubvcg.js} +1 -1
  329. package/dist-vue/_chunks/{shell-oVzTSWfo.js.map → shell-Dcuubvcg.js.map} +1 -1
  330. package/dist-vue/_chunks/{sieve-DUlxvKqS.js → sieve-C0Ec4mOZ.js} +1 -1
  331. package/dist-vue/_chunks/{sieve-DUlxvKqS.js.map → sieve-C0Ec4mOZ.js.map} +1 -1
  332. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js → simple-mode-CaO_UoX6.js} +1 -1
  333. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js.map → simple-mode-CaO_UoX6.js.map} +1 -1
  334. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js → smalltalk-C8mY0f87.js} +1 -1
  335. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js.map → smalltalk-C8mY0f87.js.map} +1 -1
  336. package/dist-vue/_chunks/{solr-DzeE5sFM.js → solr-jbM7m8s0.js} +1 -1
  337. package/dist-vue/_chunks/{solr-DzeE5sFM.js.map → solr-jbM7m8s0.js.map} +1 -1
  338. package/dist-vue/_chunks/{sparql-GFDxBmFa.js → sparql-DJZXdQFZ.js} +1 -1
  339. package/dist-vue/_chunks/{sparql-GFDxBmFa.js.map → sparql-DJZXdQFZ.js.map} +1 -1
  340. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js → spreadsheet-iKWvNdRt.js} +1 -1
  341. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js.map → spreadsheet-iKWvNdRt.js.map} +1 -1
  342. package/dist-vue/_chunks/{sql-JuMmsoSB.js → sql-BQ2tj9MP.js} +1 -1
  343. package/dist-vue/_chunks/{sql-JuMmsoSB.js.map → sql-BQ2tj9MP.js.map} +1 -1
  344. package/dist-vue/_chunks/{src-EtGd6cRz.js → src-DW4YojFN.js} +10 -10
  345. package/dist-vue/_chunks/{src-EtGd6cRz.js.map → src-DW4YojFN.js.map} +1 -1
  346. package/dist-vue/_chunks/{stex-Cy057UFl.js → stex-BEcrdSPS.js} +1 -1
  347. package/dist-vue/_chunks/{stex-Cy057UFl.js.map → stex-BEcrdSPS.js.map} +1 -1
  348. package/dist-vue/_chunks/{stylus-0KIe3uMX.js → stylus-b5gEI930.js} +1 -1
  349. package/dist-vue/_chunks/{stylus-0KIe3uMX.js.map → stylus-b5gEI930.js.map} +1 -1
  350. package/dist-vue/_chunks/{swift-tYMDqvYT.js → swift-RNJNWQs6.js} +1 -1
  351. package/dist-vue/_chunks/{swift-tYMDqvYT.js.map → swift-RNJNWQs6.js.map} +1 -1
  352. package/dist-vue/_chunks/{tcl-CSbjfJ81.js → tcl-BbY3AuDS.js} +1 -1
  353. package/dist-vue/_chunks/{tcl-CSbjfJ81.js.map → tcl-BbY3AuDS.js.map} +1 -1
  354. package/dist-vue/_chunks/{textile-Qe0pFxF7.js → textile-BM2q07iw.js} +1 -1
  355. package/dist-vue/_chunks/{textile-Qe0pFxF7.js.map → textile-BM2q07iw.js.map} +1 -1
  356. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js → tiddlywiki-Bu7ffwvE.js} +1 -1
  357. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js.map → tiddlywiki-Bu7ffwvE.js.map} +1 -1
  358. package/dist-vue/_chunks/{tiki-jtNVir5w.js → tiki-BSMiLiXp.js} +1 -1
  359. package/dist-vue/_chunks/{tiki-jtNVir5w.js.map → tiki-BSMiLiXp.js.map} +1 -1
  360. package/dist-vue/_chunks/{toml-C3FMZ9FE.js → toml-D3U9uI6V.js} +1 -1
  361. package/dist-vue/_chunks/{toml-C3FMZ9FE.js.map → toml-D3U9uI6V.js.map} +1 -1
  362. package/dist-vue/_chunks/{troff-FdVM_sPB.js → troff-DK_RaQh-.js} +1 -1
  363. package/dist-vue/_chunks/{troff-FdVM_sPB.js.map → troff-DK_RaQh-.js.map} +1 -1
  364. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js → ttcn-DVxr7ZdN.js} +1 -1
  365. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js.map → ttcn-DVxr7ZdN.js.map} +1 -1
  366. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js → ttcn-cfg-CJG9xdrY.js} +1 -1
  367. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js.map → ttcn-cfg-CJG9xdrY.js.map} +1 -1
  368. package/dist-vue/_chunks/{turtle-BtDXIrpF.js → turtle-Cj5kMy4D.js} +1 -1
  369. package/dist-vue/_chunks/{turtle-BtDXIrpF.js.map → turtle-Cj5kMy4D.js.map} +1 -1
  370. package/dist-vue/_chunks/{useChatbotStore-BXi-Gx7b.js → useChatbotStore-DCCWlutT.js} +1244 -1217
  371. package/dist-vue/_chunks/useChatbotStore-DCCWlutT.js.map +1 -0
  372. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js → useSafeLocalStorage-DmA2eEi6.js} +2 -2
  373. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js.map → useSafeLocalStorage-DmA2eEi6.js.map} +1 -1
  374. package/dist-vue/_chunks/{utils-CRojvghU.js → utils-UX35fb5C.js} +13 -13
  375. package/dist-vue/_chunks/{utils-CRojvghU.js.map → utils-UX35fb5C.js.map} +1 -1
  376. package/dist-vue/_chunks/{vb-DZ7E2F9i.js → vb-RlGsZALV.js} +1 -1
  377. package/dist-vue/_chunks/{vb-DZ7E2F9i.js.map → vb-RlGsZALV.js.map} +1 -1
  378. package/dist-vue/_chunks/{vbscript-DmYal433.js → vbscript-C6LN5bsX.js} +1 -1
  379. package/dist-vue/_chunks/{vbscript-DmYal433.js.map → vbscript-C6LN5bsX.js.map} +1 -1
  380. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js → velocity-7A5nvZTA.js} +1 -1
  381. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js.map → velocity-7A5nvZTA.js.map} +1 -1
  382. package/dist-vue/_chunks/{verilog-6XMMKLGD.js → verilog-CoPTkjsM.js} +1 -1
  383. package/dist-vue/_chunks/{verilog-6XMMKLGD.js.map → verilog-CoPTkjsM.js.map} +1 -1
  384. package/dist-vue/_chunks/{vhdl-BczymJF3.js → vhdl-BRtaeCKx.js} +1 -1
  385. package/dist-vue/_chunks/{vhdl-BczymJF3.js.map → vhdl-BRtaeCKx.js.map} +1 -1
  386. package/dist-vue/_chunks/{webidl-CaC70GJ2.js → webidl-BVwPXw7k.js} +1 -1
  387. package/dist-vue/_chunks/{webidl-CaC70GJ2.js.map → webidl-BVwPXw7k.js.map} +1 -1
  388. package/dist-vue/_chunks/{xquery-JS07XjNe.js → xquery-CXV9KVdL.js} +1 -1
  389. package/dist-vue/_chunks/{xquery-JS07XjNe.js.map → xquery-CXV9KVdL.js.map} +1 -1
  390. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js → yacas-5ByKKRqf.js} +1 -1
  391. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js.map → yacas-5ByKKRqf.js.map} +1 -1
  392. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js → z80-wbH4fW7-.js} +1 -1
  393. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js.map → z80-wbH4fW7-.js.map} +1 -1
  394. package/dist-vue/api.js +1 -1
  395. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +8 -5
  396. package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +8 -1
  397. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +4 -0
  398. package/dist-vue/apps/web-component/src/lib.d.ts +34 -0
  399. package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +10 -0
  400. package/dist-vue/composables.js +4 -4
  401. package/dist-vue/index.js +8628 -4422
  402. package/dist-vue/index.js.map +1 -1
  403. package/dist-vue/locales.js +106 -62
  404. package/dist-vue/packages/auth/src/index.d.ts +12 -12
  405. package/dist-vue/packages/components/src/PkEditorJsonSchema.d.ts +36 -0
  406. package/dist-vue/packages/components/src/PkSchemaField.d.ts +17 -0
  407. package/dist-vue/packages/components/src/PkSvgViewer.d.ts +8 -0
  408. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +5 -2
  409. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +2 -0
  410. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -0
  411. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
  412. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +2 -0
  413. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  414. package/dist-vue/packages/components/src/chat/PkToolShowDiagram.d.ts +8 -0
  415. package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +2 -0
  416. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  417. package/dist-vue/packages/components/src/index.d.ts +4 -1
  418. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +21 -3
  419. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  420. package/dist-vue/packages/composable/src/useJsonSchemaEditor.d.ts +45 -0
  421. package/dist-vue/packages/models/src/schema/Agent.d.ts +4 -0
  422. package/dist-vue/packages/models/src/schema/Chat.d.ts +3 -0
  423. package/dist-vue/packages/models/src/schema/Notification.d.ts +6 -0
  424. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
  425. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
  426. package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
  427. package/dist-vue/packages/models/src/utils.d.ts +2 -0
  428. package/dist-vue/style.css +1 -1
  429. package/package.json +7 -7
  430. package/dist/_chunks/PkStreamingMarkdown-SVWv4Oye.js.map +0 -1
  431. package/dist/_chunks/PkToolShowComparison-BzyqEIMV.js +0 -64
  432. package/dist/_chunks/VvCombobox.es-CUUNtqyJ.js +0 -1998
  433. package/dist/_chunks/VvTextarea.es-B5txwRRm.js +0 -1110
  434. package/dist/_chunks/dist-DHG50RNO.js +0 -768
  435. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js +0 -7
  436. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js.map +0 -1
  437. package/dist/_chunks/marker-icon-CCYFvBsS.js +0 -7
  438. package/dist/_chunks/marker-icon-CCYFvBsS.js.map +0 -1
  439. package/dist/_chunks/marker-shadow-CHjnGkIt.js +0 -7
  440. package/dist/_chunks/marker-shadow-CHjnGkIt.js.map +0 -1
  441. package/dist-vue/_chunks/Media-Dq8UU7iQ.js +0 -120
  442. package/dist-vue/_chunks/Media-Dq8UU7iQ.js.map +0 -1
  443. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js +0 -191
  444. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js.map +0 -1
  445. package/dist-vue/_chunks/PkChatbotFilePreview-0N9ASbIp.js.map +0 -1
  446. package/dist-vue/_chunks/PkChatbotMessages-BDziUgck.js.map +0 -1
  447. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js +0 -278
  448. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js.map +0 -1
  449. package/dist-vue/_chunks/PkStreamingMarkdown-BUiAi-qv.js.map +0 -1
  450. package/dist-vue/_chunks/PkToolRequestConfirm-BsHpoI-c.js +0 -49
  451. package/dist-vue/_chunks/PkToolRequestOAuthConnection-shcJXxtk.js +0 -64
  452. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js +0 -149
  453. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js.map +0 -1
  454. package/dist-vue/_chunks/createChatbotApiClient-C_E35aQf.js.map +0 -1
  455. package/dist-vue/_chunks/dist-B_3TGJwf.js.map +0 -1
  456. package/dist-vue/_chunks/dist-sx4PacBp2.js +0 -440
  457. package/dist-vue/_chunks/dist-sx4PacBp2.js.map +0 -1
  458. package/dist-vue/_chunks/useChatbotStore-BXi-Gx7b.js.map +0 -1
  459. /package/dist/_chunks/{_plugin-vue_export-helper-BWIS0o4o.js → _plugin-vue_export-helper-5qR9iAls.js} +0 -0
@@ -1,1998 +0,0 @@
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-7_kt7y9A.js";
2
- import { a as fe, i as pe, t as I } from "./iconify-B2ZQHsNr.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-DHG50RNO.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-bC-fUl9J.js";
5
- import { t as De } from "./dot-prop-DBnEiG9k.js";
6
- //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.9_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.3.0_vue@3._b9ef174e3f050b2d4a9af91f3bdfd9e5/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
7
- var Oe = {
8
- showPassword: "eye-on",
9
- hidePassword: "eye-off",
10
- showDatePicker: "calendar",
11
- showTimePicker: "time",
12
- showColorPicker: "color",
13
- clear: "close",
14
- add: "add",
15
- remove: "trash",
16
- edit: "edit",
17
- download: "download"
18
- }, ke = { prefix: (/* @__PURE__ */ (function(e) {
19
- return e.simple = "simple", e.normal = "normal", e.detailed = "detailed", e;
20
- })({})).normal }, Ae = /* @__PURE__ */ (function(e) {
21
- return e.local = "local", e.session = "session", e;
22
- })({}), U = /* @__PURE__ */ (function(e) {
23
- return e.absolute = "absolute", e.fixed = "fixed", e;
24
- })({}), W = /* @__PURE__ */ (function(e) {
25
- return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
26
- })({}), G = /* @__PURE__ */ (function(e) {
27
- return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
28
- })({}), K = /* @__PURE__ */ (function(e) {
29
- return e.before = "before", e.after = "after", e;
30
- })({}), je = /* @__PURE__ */ (function(e) {
31
- return e.button = "button", e.submit = "submit", e.reset = "reset", e;
32
- })({}), q = /* @__PURE__ */ (function(e) {
33
- return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
34
- })({}), J = /* @__PURE__ */ (function(e) {
35
- return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
36
- })({}), Me = /* @__PURE__ */ (function(e) {
37
- return e.listbox = "listbox", e.menu = "menu", e;
38
- })({}), Ne = /* @__PURE__ */ (function(e) {
39
- return e.option = "option", e.presentation = "presentation", e;
40
- })({}), Pe = /* @__PURE__ */ Symbol.for("volver"), Fe = /* @__PURE__ */ Symbol.for("buttonGroup"), Ie = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Le = /* @__PURE__ */ Symbol.for("dropdownItem"), Re = /* @__PURE__ */ Symbol.for("dropdownAction"), ze = {
41
- to: { type: [String, Object] },
42
- href: String,
43
- target: String,
44
- rel: {
45
- type: String,
46
- default: "noopener noreferrer"
47
- }
48
- }, Y = {
49
- valid: {
50
- type: Boolean,
51
- default: !1
52
- },
53
- validLabel: {
54
- type: [String, Array],
55
- default: void 0
56
- }
57
- }, Be = {
58
- invalid: {
59
- type: Boolean,
60
- default: !1
61
- },
62
- invalidLabel: {
63
- type: [String, Array],
64
- default: void 0
65
- }
66
- }, X = {
67
- loading: {
68
- type: Boolean,
69
- default: !1
70
- },
71
- loadingLabel: {
72
- type: String,
73
- default: "Loading..."
74
- }
75
- }, Ve = { disabled: {
76
- type: Boolean,
77
- default: !1
78
- } }, He = { required: {
79
- type: Boolean,
80
- default: !1
81
- } }, Ue = { selected: {
82
- type: Boolean,
83
- default: !1
84
- } }, We = { active: {
85
- type: Boolean,
86
- default: !1
87
- } }, Ge = { current: {
88
- type: Boolean,
89
- default: !1
90
- } }, Z = {
91
- showClearAction: {
92
- type: Boolean,
93
- default: !1
94
- },
95
- iconClear: {
96
- type: [String, Object],
97
- default: Oe.clear
98
- },
99
- labelClear: {
100
- type: String,
101
- default: "Clear"
102
- }
103
- }, Ke = { pressed: {
104
- type: Boolean,
105
- default: !1
106
- } }, Q = { label: {
107
- type: [String, Number],
108
- default: void 0
109
- } }, qe = { readonly: {
110
- type: Boolean,
111
- default: !1
112
- } }, $ = { modifiers: {
113
- type: [String, Array],
114
- default: void 0
115
- } }, Je = { hintLabel: {
116
- type: String,
117
- default: ""
118
- } }, Ye = {
119
- options: {
120
- type: Array,
121
- default: () => []
122
- },
123
- labelKey: {
124
- type: [String, Function],
125
- default: "label"
126
- },
127
- valueKey: {
128
- type: [String, Function],
129
- default: "value"
130
- },
131
- disabledKey: {
132
- type: [String, Function],
133
- default: "disabled"
134
- }
135
- }, Xe = { count: {
136
- type: [Boolean, String],
137
- default: !1,
138
- validator: (e) => [
139
- !0,
140
- !1,
141
- "limit",
142
- "countdown"
143
- ].includes(e)
144
- } }, Ze = { debounce: {
145
- type: [Number, String],
146
- default: void 0
147
- } }, Qe = {
148
- icon: {
149
- type: [String, Object],
150
- default: void 0
151
- },
152
- iconPosition: {
153
- type: String,
154
- default: K.before,
155
- validation: (e) => Object.values(K).includes(e)
156
- }
157
- }, $e = { tabindex: {
158
- type: [String, Number],
159
- default: 0
160
- } }, et = { floating: {
161
- type: Boolean,
162
- default: !1
163
- } }, tt = { unselectable: {
164
- type: Boolean,
165
- default: !0
166
- } }, nt = { id: [String, Number] }, rt = {
167
- placement: {
168
- type: String,
169
- default: W.bottom,
170
- validator: (e) => Object.values(W).includes(e) || Object.values(G).includes(e)
171
- },
172
- strategy: {
173
- type: String,
174
- default: void 0,
175
- validator: (e) => Object.values(U).includes(e)
176
- },
177
- transitionName: {
178
- type: String,
179
- default: void 0
180
- },
181
- offset: {
182
- type: [
183
- Number,
184
- String,
185
- Object
186
- ],
187
- default: 0
188
- },
189
- shift: {
190
- type: [Boolean, Object],
191
- default: !1
192
- },
193
- flip: {
194
- type: [Boolean, Object],
195
- default: !0
196
- },
197
- size: {
198
- type: [Boolean, Object],
199
- default: () => ({ padding: 10 })
200
- },
201
- autoPlacement: {
202
- type: [Boolean, Object],
203
- default: !1
204
- },
205
- arrow: {
206
- type: Boolean,
207
- default: !1
208
- },
209
- keepOpen: {
210
- type: Boolean,
211
- default: !1
212
- },
213
- autofocusFirst: {
214
- type: Boolean,
215
- default: !0
216
- },
217
- triggerWidth: {
218
- type: Boolean,
219
- default: !1
220
- }
221
- }, it = {
222
- ...nt,
223
- name: {
224
- type: String,
225
- required: !0
226
- }
227
- }, at = { autofocus: {
228
- type: Boolean,
229
- default: !1
230
- } }, ot = { autocomplete: {
231
- type: String,
232
- default: "off"
233
- } };
234
- ({
235
- ...it,
236
- ...at,
237
- ...ot,
238
- ...$e,
239
- ...Ve,
240
- ...qe,
241
- ...Y,
242
- ...Be,
243
- ...Je,
244
- ...X,
245
- ...$,
246
- ...Xe,
247
- ...Ze,
248
- ...Qe,
249
- ...et,
250
- ...Q
251
- }), { ...He }, {
252
- ...it,
253
- ...$e,
254
- ...Y,
255
- ...Be,
256
- ...Je,
257
- ...Ve,
258
- ...qe,
259
- ...$,
260
- ...Q,
261
- ...X
262
- }, {
263
- ...Y,
264
- ...Be,
265
- ...Ye,
266
- ...Je,
267
- ...Ve,
268
- ...qe,
269
- ...$,
270
- ...Q,
271
- ...X,
272
- ...He
273
- };
274
- var st = {
275
- ...Ve,
276
- ...Q,
277
- ...Ke,
278
- ...We,
279
- ...Ge,
280
- ...ze,
281
- type: {
282
- type: String,
283
- default: je.button,
284
- validator: (e) => Object.values(je).includes(e)
285
- },
286
- ariaLabel: {
287
- type: String,
288
- default: void 0
289
- },
290
- defaultTag: {
291
- type: String,
292
- default: q.button
293
- }
294
- };
295
- Ae.local;
296
- var ct = {
297
- ...it,
298
- ...$e,
299
- ...Y,
300
- ...Be,
301
- ...Je,
302
- ...X,
303
- ...Ve,
304
- ...qe,
305
- ...$,
306
- ...Ye,
307
- ...Qe,
308
- ...et,
309
- ...rt,
310
- ...Q,
311
- ...He,
312
- ...Z,
313
- transitionName: {
314
- type: String,
315
- default: "vv-dropdown--mobile-fade-block"
316
- },
317
- modelValue: {
318
- type: [
319
- String,
320
- Number,
321
- Boolean,
322
- Object,
323
- Array
324
- ],
325
- default: void 0
326
- },
327
- noResultsLabel: {
328
- type: String,
329
- default: "No results"
330
- },
331
- noOptionsLabel: {
332
- type: String,
333
- default: "No options available"
334
- },
335
- selectedOptionNotFoundLabel: {
336
- type: String,
337
- default: "Selected option not found"
338
- },
339
- selectedHintLabel: {
340
- type: String,
341
- default: "Selected"
342
- },
343
- deselectActionLabel: {
344
- type: String,
345
- default: "Deselect"
346
- },
347
- selectHintLabel: {
348
- type: String,
349
- default: "Press enter to select"
350
- },
351
- deselectHintLabel: {
352
- type: String,
353
- default: "Press enter to remove"
354
- },
355
- addOptionHintLabel: {
356
- type: String,
357
- default: "Press enter to add"
358
- },
359
- closeLabel: {
360
- type: String,
361
- default: "Close"
362
- },
363
- placeholder: String,
364
- addable: Boolean,
365
- searchable: Boolean,
366
- keepSearch: Boolean,
367
- searchFunction: {
368
- type: Function,
369
- default: void 0
370
- },
371
- searchPlaceholder: {
372
- type: String,
373
- default: "Search..."
374
- },
375
- debounceSearch: {
376
- type: [Number, String],
377
- default: 0
378
- },
379
- multiple: Boolean,
380
- minValues: {
381
- type: [Number, String],
382
- default: 0
383
- },
384
- maxValues: [Number, String],
385
- unselectable: {
386
- type: Boolean,
387
- default: !0
388
- },
389
- separator: {
390
- type: String,
391
- default: ", "
392
- },
393
- native: Boolean,
394
- badges: Boolean,
395
- badgeModifiers: {
396
- type: [String, Array],
397
- default: "action sm"
398
- },
399
- triggerWidth: {
400
- ...rt.triggerWidth,
401
- default: !0
402
- },
403
- dropdownModifiers: {
404
- type: [String, Array],
405
- default: "mobile"
406
- },
407
- autoOpen: {
408
- type: Boolean,
409
- default: !1
410
- },
411
- autoselectFirst: {
412
- type: Boolean,
413
- default: !1
414
- },
415
- keepOpen: {
416
- type: Boolean,
417
- default: !1
418
- },
419
- focusOnHover: {
420
- type: Boolean,
421
- default: !0
422
- }
423
- };
424
- function lt() {
425
- return {
426
- ...ct,
427
- options: {
428
- ...ct.options,
429
- type: Array
430
- },
431
- searchFunction: {
432
- ...ct.searchFunction,
433
- type: Function
434
- }
435
- };
436
- }
437
- function ut(e, t, n) {
438
- return n ? ft(e, n) === ft(t, n) : dt(e, t);
439
- }
440
- function dt(e, t) {
441
- if (e === t) return !0;
442
- if (e && t && typeof e == "object" && typeof t == "object") {
443
- let n = Array.isArray(e), r = Array.isArray(t), i, a, o;
444
- if (n && r) {
445
- if (a = e.length, a !== t.length) return !1;
446
- for (i = a; i-- !== 0;) if (!dt(e[i], t[i])) return !1;
447
- return !0;
448
- }
449
- if (n !== r) return !1;
450
- let s = e instanceof Date, c = t instanceof Date;
451
- if (s !== c) return !1;
452
- if (s && c) return e.getTime() === t.getTime();
453
- let l = e instanceof RegExp, u = t instanceof RegExp;
454
- if (l !== u) return !1;
455
- if (l && u) return e.toString() === t.toString();
456
- let d = Object.keys(e);
457
- if (a = d.length, a !== Object.keys(t).length) return !1;
458
- for (i = a; i-- !== 0;) if (!Object.hasOwn(t, d[i])) return !1;
459
- for (i = a; i-- !== 0;) if (o = d[i], !dt(e[o], t[o])) return !1;
460
- return !0;
461
- }
462
- return Number.isNaN(e) && Number.isNaN(t);
463
- }
464
- function ft(e, t) {
465
- if (e && Object.keys(e).length && t) if (t.includes(".")) {
466
- let n = t.split("."), r = e;
467
- for (let t = 0, i = n.length; t < i; ++t) {
468
- if (e == null) return null;
469
- r = r[n[t]];
470
- }
471
- return r;
472
- } else return e[t];
473
- else return null;
474
- }
475
- function pt(e, t) {
476
- if (e != null && t && t.length) {
477
- for (let n of t) if (ut(e, n)) return !0;
478
- }
479
- return !1;
480
- }
481
- function mt(e) {
482
- return typeof e == "string";
483
- }
484
- function ht(e) {
485
- return Array.isArray(e) ? e.filter((e) => mt(e)).join(" ") : e;
486
- }
487
- function gt(e, t) {
488
- let n = S(() => le(e) ? e.value : e), r = S(() => ht(n.value.invalidLabel)), i = S(() => ht(n.value.validLabel)), o = S(() => n.value.loadingLabel), s = S(() => n.value.hintLabel), c = S(() => !!(n.value.loading && (t.loading || o.value))), l = S(() => !c.value && !!(n.value.invalid && (t.invalid || r.value))), u = S(() => !c.value && !l.value && !!(n.value.valid && (t.valid || i.value))), d = S(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = S(() => l.value || u.value || c.value || d.value);
489
- return {
490
- hasInvalidLabelOrSlot: l,
491
- hasHintLabelOrSlot: d,
492
- hasValidLabelOrSlot: u,
493
- hasLoadingLabelOrSlot: c,
494
- hintSlotScope: S(() => ({
495
- modelValue: n.value.modelValue,
496
- valid: n.value.valid,
497
- invalid: n.value.invalid,
498
- loading: n.value.loading
499
- })),
500
- HintSlot: a({
501
- name: "HintSlot",
502
- props: { tag: {
503
- type: String,
504
- default: "small"
505
- } },
506
- setup() {
507
- return {
508
- isVisible: f,
509
- invalidLabel: r,
510
- validLabel: i,
511
- loadingLabel: o,
512
- hintLabel: s,
513
- hasInvalidLabelOrSlot: l,
514
- hasValidLabelOrSlot: u,
515
- hasLoadingLabelOrSlot: c,
516
- hasHintLabelOrSlot: d
517
- };
518
- },
519
- render() {
520
- if (this.isVisible) {
521
- let e;
522
- return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? k(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? k(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? k(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : k(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
523
- }
524
- return null;
525
- }
526
- })
527
- };
528
- }
529
- function _t() {
530
- return O(Pe, void 0);
531
- }
532
- function vt(e, t, n) {
533
- return S(() => {
534
- let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
535
- return i && Array.isArray(i) && i.forEach((t) => {
536
- t && (r[`${e}--${t}`] = !0);
537
- }), n && Object.keys(n.value).forEach((t) => {
538
- r[`${e}--${t}`] = P(n.value[t]);
539
- }), r;
540
- });
541
- }
542
- var yt = /* @__PURE__ */ a({
543
- name: "VvIcon",
544
- props: /* @__PURE__ */ p({
545
- name: {},
546
- color: {},
547
- width: {},
548
- height: {},
549
- provider: {},
550
- prefix: {},
551
- src: {},
552
- horizontalFlip: { type: Boolean },
553
- verticalFlip: { type: Boolean },
554
- flip: {},
555
- mode: {},
556
- inline: { type: Boolean },
557
- rotate: {},
558
- onLoad: { type: Function },
559
- svg: {},
560
- modifiers: {}
561
- }, ke),
562
- setup(e) {
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
- 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}`));
567
- return r ? `@${s.value}:${r.prefix}:${e}` : e;
568
- });
569
- function l(e) {
570
- let t = typeof window < "u" ? new window.DOMParser() : null;
571
- return t ? t.parseFromString(e, "text/html").querySelector("svg") : null;
572
- }
573
- function u(e) {
574
- let n = l(e), r = n?.innerHTML.trim() || "";
575
- n && r && pe(`@${s.value}:${t.prefix}:${t.name}`, {
576
- body: r,
577
- height: n.viewBox.baseVal.height,
578
- width: n.viewBox.baseVal.width
579
- });
580
- }
581
- return i && t.src && !fe(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
582
- e && u(e), r.value = !0;
583
- }).catch((e) => {
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({
586
- key: 0,
587
- class: P(o)
588
- }, {
589
- inline: e.inline,
590
- width: e.width,
591
- height: e.height,
592
- horizontalFlip: e.horizontalFlip,
593
- verticalFlip: e.verticalFlip,
594
- flip: e.flip,
595
- rotate: P(n),
596
- color: e.color,
597
- icon: P(c)
598
- }, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : w("v-if", !0);
599
- }
600
- });
601
- function bt(e, t) {
602
- let n = S(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = S(() => t?.value === K.before ? n.value : void 0), i = S(() => t?.value === K.after ? n.value : void 0);
603
- return {
604
- hasIcon: n,
605
- hasIconLeft: S(() => t?.value === W.left ? n.value : void 0),
606
- hasIconRight: S(() => t?.value === W.right ? n.value : void 0),
607
- hasIconTop: S(() => t?.value === W.top ? n.value : void 0),
608
- hasIconBottom: S(() => t?.value === W.bottom ? n.value : void 0),
609
- hasIconBefore: r,
610
- hasIconAfter: i
611
- };
612
- }
613
- var xt = a({
614
- components: { VvIcon: yt },
615
- props: {
616
- inputType: {
617
- type: String,
618
- default: "input-text"
619
- },
620
- disabled: {
621
- type: Boolean,
622
- default: !1
623
- },
624
- label: {
625
- type: String,
626
- default: "Clear"
627
- },
628
- icon: {
629
- type: [String, Object],
630
- default: "close"
631
- }
632
- },
633
- emits: ["clear"],
634
- setup(e, { emit: t }) {
635
- let { hasIcon: n } = bt(S(() => e.icon));
636
- function r(n) {
637
- n?.stopPropagation(), e.disabled || t("clear");
638
- }
639
- return {
640
- hasIcon: n,
641
- onClick: r
642
- };
643
- },
644
- render() {
645
- let e = this.hasIcon ? k(yt, {
646
- ...this.hasIcon,
647
- class: `vv-${this.inputType}__icon`
648
- }) : void 0;
649
- return k("button", {
650
- disabled: this.disabled,
651
- class: `vv-${this.inputType}__action`,
652
- ariaLabel: this.label,
653
- type: "button",
654
- onClick: this.onClick
655
- }, e);
656
- }
657
- }), St = /* @__PURE__ */ a({
658
- name: "VvBadge",
659
- props: {
660
- ...$,
661
- value: [String, Number]
662
- },
663
- setup(e) {
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));
666
- }
667
- });
668
- function Ct(e) {
669
- let t = O(e, void 0), n = S(() => t !== void 0);
670
- function r(e, n, r) {
671
- let i = t?.[e];
672
- if (i) return S({
673
- get() {
674
- return i.value;
675
- },
676
- set(e) {
677
- i.value = e;
678
- }
679
- });
680
- let a = E(n, e);
681
- return S({
682
- get() {
683
- return a.value;
684
- },
685
- set(t) {
686
- r && r(`update:${e}`, t);
687
- }
688
- });
689
- }
690
- return {
691
- group: t,
692
- isInGroup: n,
693
- getGroupOrLocalRef: r
694
- };
695
- }
696
- var wt = ["update:modelValue"], Tt = {
697
- ...st,
698
- ...nt,
699
- ...$,
700
- ...tt,
701
- ...X,
702
- ...Qe,
703
- iconPosition: {
704
- type: String,
705
- default: W.left,
706
- validator: (e) => Object.values(W).includes(e)
707
- },
708
- loadingIcon: {
709
- type: String,
710
- default: "eos-icons:bubble-loading"
711
- },
712
- toggle: {
713
- type: Boolean,
714
- default: !1
715
- },
716
- value: {
717
- type: [
718
- String,
719
- Number,
720
- Boolean
721
- ],
722
- default: void 0
723
- },
724
- uncheckedValue: {
725
- type: [
726
- String,
727
- Number,
728
- Boolean
729
- ],
730
- default: void 0
731
- },
732
- modelValue: {
733
- type: [
734
- String,
735
- Number,
736
- Boolean
737
- ],
738
- default: void 0
739
- }
740
- };
741
- function Et(e, t) {
742
- let { group: n, isInGroup: r, getGroupOrLocalRef: i } = Ct(Fe), { id: a, iconPosition: o, icon: s, label: c, pressed: l } = C(e);
743
- return {
744
- group: n,
745
- isInGroup: r,
746
- modelValue: i("modelValue", e, t),
747
- toggle: i("toggle", e),
748
- unselectable: i("unselectable", e),
749
- multiple: S(() => n?.multiple.value ?? !1),
750
- modifiers: S(() => {
751
- let t = e.modifiers, r = n?.modifiers.value, i = /* @__PURE__ */ new Set();
752
- return t && (Array.isArray(t) || (t = t.split(" ")), t.forEach((e) => i.add(e))), r && (Array.isArray(r) || (r = r.split(" ")), r.forEach((e) => i.add(e))), [...i];
753
- }),
754
- disabled: S(() => !!(e.disabled || n?.disabled.value)),
755
- id: a,
756
- pressed: l,
757
- iconPosition: o,
758
- icon: s,
759
- label: c
760
- };
761
- }
762
- var Dt = [
763
- "click",
764
- "mouseover",
765
- "mouseleave"
766
- ], Ot = st;
767
- function kt() {
768
- return O(Ie, {});
769
- }
770
- function At() {
771
- return O(Le, {});
772
- }
773
- function jt() {
774
- return O(Re, {});
775
- }
776
- var Mt = /* @__PURE__ */ a({
777
- name: "VvAction",
778
- props: Ot,
779
- emits: Dt,
780
- setup(t, { expose: n, emit: a }) {
781
- let o = t, s = a, u = i(), d = _t(), f = T(null);
782
- n({ $el: f });
783
- let { reference: ee, bus: p, aria: m, expanded: h } = kt();
784
- x(() => f.value, (e) => {
785
- ee && (ee.value = e);
786
- });
787
- let _ = S(() => o.pressed || h?.value), { role: v } = jt(), y = S(() => {
788
- switch (!0) {
789
- case o.disabled: return q.button;
790
- case o.to !== void 0: return d?.nuxt ? te(q.nuxtLink) : q.routerLink;
791
- case o.href !== void 0: return q.a;
792
- default: return o.defaultTag;
793
- }
794
- }), ne = S(() => {
795
- let e = {
796
- ...m?.value,
797
- ariaPressed: _.value ? !0 : void 0,
798
- ariaLabel: o.ariaLabel,
799
- role: v?.value
800
- };
801
- switch (y.value) {
802
- case q.a: return {
803
- ...e,
804
- href: o.href,
805
- target: o.target,
806
- rel: o.rel
807
- };
808
- case q.routerLink:
809
- case q.nuxtLink: return {
810
- ...e,
811
- to: o.to,
812
- target: o.target
813
- };
814
- case q.button: return {
815
- ...e,
816
- type: o.type,
817
- disabled: o.disabled
818
- };
819
- default: return e;
820
- }
821
- });
822
- function C(e) {
823
- if (o.disabled) {
824
- e.preventDefault();
825
- return;
826
- }
827
- if (u?.vnode.props?.onClick) {
828
- s("click", e);
829
- return;
830
- }
831
- p?.emit("click", e);
832
- }
833
- function w(e) {
834
- if (u?.vnode.props?.onMouseover) {
835
- s("mouseover", e);
836
- return;
837
- }
838
- p?.emit("mouseover", e);
839
- }
840
- function re(e) {
841
- if (u?.vnode.props?.onMouseleave) {
842
- s("mouseleave", e);
843
- return;
844
- }
845
- p?.emit("mouseleave", e);
846
- }
847
- return (t, n) => (F(), N(b(P(y)), g(P(ne), {
848
- ref_key: "rootEl",
849
- ref: f,
850
- class: {
851
- active: t.active,
852
- pressed: P(_),
853
- disabled: t.disabled,
854
- current: t.current
855
- },
856
- onClickPassive: C,
857
- onMouseoverPassive: w,
858
- onMouseleavePassive: re
859
- }), {
860
- default: e(() => [l(t.$slots, "default", {}, () => [r(c(t.label), 1)])]),
861
- _: 3
862
- }, 16, ["class"]));
863
- }
864
- });
865
- function Nt(e) {
866
- return S(() => String(e?.value || A()));
867
- }
868
- var Pt = {
869
- key: 1,
870
- class: "vv-button__label"
871
- }, Ft = {
872
- key: 1,
873
- class: "vv-button__label"
874
- }, It = /* @__PURE__ */ a({
875
- name: "VvButton",
876
- inheritAttrs: !1,
877
- props: Tt,
878
- emits: wt,
879
- setup(t, { expose: n, emit: i }) {
880
- let a = t, o = i, s = f(), u = ne(), { id: d, modifiers: ee, iconPosition: p, icon: m, label: h, modelValue: _, disabled: te, toggle: v, unselectable: y } = Et(a, o), b = Nt(d), x = S(() => s?.name || b.value), C = T(null);
881
- n({ $el: S(() => C.value?.$el) });
882
- let re = S(() => v.value ? Array.isArray(_.value) ? pt(x.value, _.value) : ut(x.value, _.value) : a.pressed), ie = vt("vv-button", ee, S(() => ({
883
- reverse: [W.right, W.bottom].includes(p.value),
884
- column: [W.top, W.bottom].includes(p.value),
885
- "icon-only": !!(m?.value && !h?.value && !u.default)
886
- }))), { hasIcon: ae } = bt(m), E = S(() => a.value === void 0 ? x.value : a.value), O = S(() => {
887
- if (v.value) return { onClick: k };
888
- });
889
- function k() {
890
- if (v.value) {
891
- if (Array.isArray(_.value)) {
892
- if (pt(E.value, _.value)) {
893
- y.value && (_.value = _.value.filter((e) => e !== E.value));
894
- return;
895
- }
896
- _.value.push(E.value);
897
- return;
898
- }
899
- if (E.value === _.value && y.value) {
900
- _.value = a.uncheckedValue;
901
- return;
902
- }
903
- _.value = E.value;
904
- }
905
- }
906
- return (t, n) => (F(), N(Mt, g({
907
- ...P(s),
908
- ...P(O),
909
- disabled: P(te),
910
- pressed: P(re),
911
- active: t.active,
912
- type: t.type,
913
- to: t.to,
914
- href: t.href,
915
- target: t.target,
916
- rel: t.rel,
917
- ariaLabel: t.ariaLabel
918
- }, {
919
- id: P(b),
920
- ref_key: "rootEl",
921
- ref: C,
922
- class: P(ie)
923
- }), {
924
- default: e(() => [l(t.$slots, "default", {}, () => [t.loading ? l(t.$slots, "loading", { key: 0 }, () => [t.loadingIcon ? (F(), N(yt, {
925
- key: 0,
926
- class: "vv-button__loading-icon",
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 }, [
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),
932
- l(t.$slots, "after")
933
- ], 64))])]),
934
- _: 3
935
- }, 16, ["id", "class"]));
936
- }
937
- }), Lt = {
938
- ...nt,
939
- ...rt,
940
- ...$,
941
- modelValue: {
942
- type: Boolean,
943
- default: void 0
944
- },
945
- reference: {
946
- type: Object,
947
- default: null
948
- },
949
- role: {
950
- type: String,
951
- default: Me.menu,
952
- validator: (e) => Object.values(Me).includes(e)
953
- }
954
- }, Rt = { focusOnHover: {
955
- type: Boolean,
956
- default: !1
957
- } }, zt = {
958
- ...Ve,
959
- ...Ue,
960
- ...tt,
961
- ...$,
962
- deselectHintLabel: { type: String },
963
- selectHintLabel: { type: String },
964
- selectedHintLabel: { type: String },
965
- focusOnHover: {
966
- type: Boolean,
967
- default: !1
968
- }
969
- };
970
- function Bt({ reference: e, id: n, expanded: r, aria: i }) {
971
- let o = H();
972
- return {
973
- bus: o,
974
- component: a({
975
- name: "VvDropdownTriggerProvider",
976
- setup() {
977
- t(Ie, {
978
- reference: e,
979
- id: n,
980
- expanded: r,
981
- aria: i,
982
- bus: o
983
- });
984
- },
985
- render() {
986
- return k(D, {}, this.$slots.default?.());
987
- }
988
- })
989
- };
990
- }
991
- function Vt({ role: e, ...n }) {
992
- let r = S(() => e.value === Me.listbox ? Ne.option : Ne.presentation);
993
- return t(Le, {
994
- role: r,
995
- ...n
996
- }), { itemRole: r };
997
- }
998
- function Ht({ expanded: e }) {
999
- t(Re, {
1000
- role: T(J.menuitem),
1001
- expanded: e
1002
- });
1003
- }
1004
- var Ut = [
1005
- "id",
1006
- "tabindex",
1007
- "role",
1008
- "aria-labelledby"
1009
- ], Wt = /* @__PURE__ */ a({
1010
- name: "VvDropdown",
1011
- inheritAttrs: !1,
1012
- props: Lt,
1013
- emits: [
1014
- "update:modelValue",
1015
- "beforeEnter",
1016
- "afterLeave",
1017
- "beforeExpand",
1018
- "beforeCollapse",
1019
- "afterExpand",
1020
- "afterCollapse",
1021
- "before-enter",
1022
- "after-leave",
1023
- "enter",
1024
- "afterEnter",
1025
- "enterCancelled",
1026
- "beforeLeave",
1027
- "leave",
1028
- "leaveCancelled"
1029
- ],
1030
- setup(t, { expose: r, emit: i }) {
1031
- let a = t, c = i, { id: d } = C(a), p = Nt(d), m = f(), _ = T("auto"), te = T("auto"), v = T(), b = T(), ne = T(), re = T(), E = S({
1032
- get: () => a.reference ?? v.value,
1033
- set: (e) => {
1034
- v.value = e;
1035
- }
1036
- }), O = T(!1);
1037
- ee(() => {
1038
- me(b.value, () => {
1039
- O.value = window.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1040
- }, {
1041
- attributeFilter: ["style"],
1042
- window
1043
- });
1044
- });
1045
- let k = S(() => {
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) {
1048
- let t = ({ availableWidth: e, availableHeight: t }) => {
1049
- _.value = `${e}px`, te.value = `${t}px`;
1050
- };
1051
- typeof a.size == "boolean" ? e.push(V({ apply: t })) : e.push(V({
1052
- ...a.size,
1053
- apply: t
1054
- }));
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 }),
1059
- placement: S(() => a.placement),
1060
- strategy: S(() => a.strategy),
1061
- middleware: k
1062
- }), N = S(() => {
1063
- if (O.value) return;
1064
- let e = a.triggerWidth && E.value ? `${E.value?.offsetWidth}px` : void 0;
1065
- return {
1066
- position: j.value,
1067
- top: `${ce.value ?? 0}px`,
1068
- left: `${oe.value ?? 0}px`,
1069
- maxWidth: e ? void 0 : _.value,
1070
- maxHeight: te.value,
1071
- width: e
1072
- };
1073
- }), fe = S(() => le.value.split("-")[0]), pe = S(() => {
1074
- if (O.value) return;
1075
- let e = {
1076
- [W.top]: W.bottom,
1077
- [W.right]: W.left,
1078
- [W.bottom]: W.top,
1079
- [W.left]: W.right
1080
- }[fe.value];
1081
- return {
1082
- left: A.value.arrow?.x === void 0 ? void 0 : `${A.value.arrow?.x}px`,
1083
- top: A.value.arrow?.y === void 0 ? void 0 : `${A.value.arrow?.y}px`,
1084
- [e]: `${-(ne.value?.offsetWidth ?? 0) / 2}px`
1085
- };
1086
- }), I = ge(a, "modelValue", c), L = T(!1), z = S({
1087
- get: () => I.value ?? L.value,
1088
- set: (e) => {
1089
- if (I.value === void 0) {
1090
- L.value = e;
1091
- return;
1092
- }
1093
- I.value = e;
1094
- }
1095
- });
1096
- function ve() {
1097
- z.value = !0;
1098
- }
1099
- function ye() {
1100
- z.value = !1;
1101
- }
1102
- function H() {
1103
- z.value = !z.value;
1104
- }
1105
- function De(e) {
1106
- E.value = e;
1107
- }
1108
- B(b, () => {
1109
- !a.keepOpen && z.value && (z.value = !1);
1110
- }, { ignore: [E] });
1111
- let Oe = S(() => E.value?.getAttribute?.("id") ?? void 0), ke = S(() => ({
1112
- "aria-controls": p.value,
1113
- "aria-haspopup": !0,
1114
- "aria-expanded": z.value
1115
- })), { component: Ae, bus: G } = Bt({
1116
- reference: E,
1117
- id: p,
1118
- expanded: z,
1119
- aria: ke
1120
- });
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);
1123
- function Me(e) {
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
- }
1126
- function Ne() {
1127
- o(() => {
1128
- let e = Me(b.value);
1129
- e.length > 0 && e[0].focus({ preventScroll: !0 });
1130
- });
1131
- }
1132
- function Pe() {
1133
- o(() => {
1134
- let e = Me(re.value);
1135
- e.length > 0 && e[0].focus({ preventScroll: !0 });
1136
- });
1137
- }
1138
- function Fe() {
1139
- o(() => {
1140
- if (J.value) {
1141
- let e = Me(b.value);
1142
- if (e.length === 0 || !document.activeElement) return;
1143
- let t = e.indexOf(document.activeElement);
1144
- t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
1145
- }
1146
- });
1147
- }
1148
- function Ie() {
1149
- o(() => {
1150
- if (J.value) {
1151
- let e = Me(b.value);
1152
- if (e.length === 0 || !document.activeElement) return;
1153
- let t = e.indexOf(document.activeElement);
1154
- if (t > 0) {
1155
- e[t - 1].focus({ preventScroll: !0 });
1156
- return;
1157
- }
1158
- e.at(-1)?.focus({ preventScroll: !0 });
1159
- }
1160
- });
1161
- }
1162
- x(z, (e) => {
1163
- e && a.autofocusFirst && Ne();
1164
- }), r({
1165
- toggle: H,
1166
- show: ve,
1167
- hide: ye,
1168
- init: De,
1169
- focusFirst: Ne,
1170
- focusFirstListElement: Pe,
1171
- focusNext: Fe,
1172
- focusPrev: Ie,
1173
- customPosition: O
1174
- });
1175
- let { itemRole: Le } = Vt({
1176
- role: K,
1177
- expanded: z,
1178
- focused: J,
1179
- hovered: he(b)
1180
- });
1181
- _e("Escape", (e) => {
1182
- z.value && (e.preventDefault(), ye());
1183
- }), _e("ArrowDown", (e) => {
1184
- z.value && J.value && (e.preventDefault(), Fe());
1185
- }), _e("ArrowUp", (e) => {
1186
- z.value && J.value && (e.preventDefault(), Ie());
1187
- }), _e([" ", "Enter"], (e) => {
1188
- let t = e.target;
1189
- z.value && J.value && t && t?.click();
1190
- });
1191
- let Re = {
1192
- "before-enter": () => {
1193
- c(z.value ? "beforeExpand" : "beforeCollapse"), c("beforeEnter");
1194
- },
1195
- "after-leave": () => {
1196
- c(z.value ? "afterExpand" : "afterCollapse"), c("afterLeave");
1197
- },
1198
- enter: () => {
1199
- c("enter");
1200
- },
1201
- "after-enter": () => {
1202
- c("afterEnter");
1203
- },
1204
- "enter-cancelled": () => {
1205
- c("enterCancelled");
1206
- },
1207
- "before-leave": () => {
1208
- c("beforeLeave");
1209
- },
1210
- leave: () => {
1211
- c("leave");
1212
- },
1213
- "leave-cancelled": () => {
1214
- c("leaveCancelled");
1215
- }
1216
- };
1217
- return (t, r) => (F(), M(D, null, [de(P(Ae), null, {
1218
- default: e(() => [l(t.$slots, "default", y(h({
1219
- init: De,
1220
- show: ve,
1221
- hide: ye,
1222
- toggle: H,
1223
- expanded: P(z),
1224
- aria: P(ke)
1225
- })))]),
1226
- _: 3
1227
- }), de(se, g({ name: t.transitionName }, s(Re), { persisted: "" }), {
1228
- default: e(() => [ie(ue("div", {
1229
- ref_key: "floatingEl",
1230
- ref: b,
1231
- style: u(P(N)),
1232
- class: n(P(q))
1233
- }, [
1234
- a.arrow ? (F(), M("div", {
1235
- key: 0,
1236
- ref_key: "arrowEl",
1237
- ref: ne,
1238
- style: u(P(pe)),
1239
- class: "vv-dropdown__arrow"
1240
- }, null, 4)) : w("v-if", !0),
1241
- l(t.$slots, "before", y(h({
1242
- show: ve,
1243
- hide: ye,
1244
- toggle: H,
1245
- expanded: P(z)
1246
- }))),
1247
- ue("div", g(P(m), {
1248
- id: P(p),
1249
- ref_key: "listEl",
1250
- ref: re,
1251
- tabindex: P(z) ? void 0 : -1,
1252
- role: P(K),
1253
- "aria-labelledby": P(Oe),
1254
- class: "vv-dropdown__list"
1255
- }), [l(t.$slots, "items", y(h({
1256
- show: ve,
1257
- hide: ye,
1258
- toggle: H,
1259
- expanded: P(z),
1260
- role: P(Le)
1261
- })))], 16, Ut),
1262
- l(t.$slots, "after", y(h({
1263
- show: ve,
1264
- hide: ye,
1265
- toggle: H,
1266
- expanded: P(z)
1267
- })))
1268
- ], 6), [[ae, P(z)]])]),
1269
- _: 3
1270
- }, 16, ["name"])], 64));
1271
- }
1272
- }), Gt = {
1273
- class: "vv-dropdown-optgroup",
1274
- role: "presentation",
1275
- tabindex: "-1"
1276
- }, Kt = /* @__PURE__ */ a({
1277
- name: "VvDropdownOptgroup",
1278
- props: { ...Q },
1279
- setup(e) {
1280
- let t = e;
1281
- return (e, n) => (F(), M("li", Gt, [l(e.$slots, "default", {}, () => [r(c(t.label), 1)])]));
1282
- }
1283
- }), qt = /* @__PURE__ */ a({
1284
- name: "VvDropdownItem",
1285
- props: Rt,
1286
- setup(e) {
1287
- let t = e, { role: n, expanded: r } = At(), i = T(null);
1288
- Ht({ expanded: r });
1289
- let a = he(i), { focused: o } = L(i), { focused: s } = R(i);
1290
- return x(a, (e) => {
1291
- e && t.focusOnHover && (o.value = !0);
1292
- }), (e, t) => (F(), M("div", g({ role: P(n) }, {
1293
- ref_key: "element",
1294
- ref: i,
1295
- class: ["vv-dropdown__item", { "focus-visible": P(o) || P(s) }]
1296
- }), [l(e.$slots, "default")], 16));
1297
- }
1298
- }), Jt = ["title"], Yt = /* @__PURE__ */ a({
1299
- name: "VvDropdownOption",
1300
- props: zt,
1301
- setup(t) {
1302
- let i = t, { modifiers: a } = C(i), o = vt("vv-dropdown-option", a, S(() => ({
1303
- disabled: i.disabled,
1304
- selected: i.selected,
1305
- unselectable: i.unselectable && i.selected
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)),
1309
- tabindex: t.disabled ? -1 : 0,
1310
- "aria-selected": t.selected,
1311
- "aria-disabled": t.disabled,
1312
- "focus-on-hover": t.focusOnHover
1313
- }, {
1314
- default: e(() => [l(t.$slots, "default"), ue("span", {
1315
- class: "vv-dropdown-option__hint",
1316
- title: P(s)
1317
- }, [l(t.$slots, "hint", y(h({
1318
- disabled: t.disabled,
1319
- selected: t.selected,
1320
- unselectable: t.unselectable
1321
- })), () => [r(c(P(s)), 1)])], 8, Jt)]),
1322
- _: 3
1323
- }, 8, [
1324
- "class",
1325
- "tabindex",
1326
- "aria-selected",
1327
- "aria-disabled",
1328
- "focus-on-hover"
1329
- ]));
1330
- }
1331
- }), Xt = {
1332
- ...it,
1333
- ...at,
1334
- ...ot,
1335
- ...$e,
1336
- ...Y,
1337
- ...Be,
1338
- ...Je,
1339
- ...X,
1340
- ...Ve,
1341
- ...qe,
1342
- ...$,
1343
- ...Ye,
1344
- ...Qe,
1345
- ...et,
1346
- ...tt,
1347
- ...Q,
1348
- ...Z,
1349
- multiple: Boolean,
1350
- required: Boolean,
1351
- size: [String, Number],
1352
- modelValue: {
1353
- type: [
1354
- String,
1355
- Number,
1356
- Boolean,
1357
- Object,
1358
- Array
1359
- ],
1360
- default: void 0
1361
- },
1362
- autoselectFirst: {
1363
- type: Boolean,
1364
- default: !1
1365
- },
1366
- placeholder: String
1367
- };
1368
- function Zt() {
1369
- return {
1370
- ...Xt,
1371
- options: {
1372
- ...Xt.options,
1373
- type: Array,
1374
- default: () => []
1375
- }
1376
- };
1377
- }
1378
- function Qt(e, t, n) {
1379
- let r = _t(), i = S(() => {
1380
- if (!(!r || !r.defaults.value?.[e])) return r.defaults.value[e];
1381
- });
1382
- return S(() => {
1383
- if (i.value === void 0) return n;
1384
- let e = i.value, r = t, a = n;
1385
- return Object.keys(r).reduce((t, n) => {
1386
- let i = a[n];
1387
- if (t[n] = i, n in e) {
1388
- if (Array.isArray(r[n])) {
1389
- let a = r[n];
1390
- a.length && a[0] === i && (t[n] = e[n]);
1391
- }
1392
- if (typeof r[n] == "function") {
1393
- let a = r[n];
1394
- a() === i && (t[n] = e[n]);
1395
- }
1396
- if (typeof r[n] == "object") {
1397
- let a = r[n].default;
1398
- typeof a == "function" && (a = a()), typeof a == "object" ? JSON.stringify(a) === JSON.stringify(i) && (t[n] = e[n]) : a === i && (t[n] = e[n]);
1399
- }
1400
- }
1401
- return t;
1402
- }, {});
1403
- });
1404
- }
1405
- function $t(e, t) {
1406
- let { focused: n } = L(e);
1407
- return x(n, (n) => {
1408
- t(n ? "focus" : "blur", P(e));
1409
- }), { focused: n };
1410
- }
1411
- function en(e) {
1412
- let { options: t, labelKey: n, valueKey: r, disabledKey: i } = C(e);
1413
- return {
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,
1418
- getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
1419
- };
1420
- }
1421
- var tn = ["for"], nn = { class: "vv-select__wrapper" }, rn = {
1422
- key: 0,
1423
- class: "vv-select__input-before"
1424
- }, an = { class: "vv-select__inner" }, on = ["id"], sn = ["disabled", "hidden"], cn = ["disabled", "value"], ln = ["disabled", "label"], un = ["disabled", "value"], dn = {
1425
- key: 2,
1426
- class: "vv-select__input-after"
1427
- }, fn = /* @__PURE__ */ a({
1428
- name: "VvSelect",
1429
- props: Zt(),
1430
- emits: [
1431
- "update:modelValue",
1432
- "focus",
1433
- "blur",
1434
- "clear"
1435
- ],
1436
- setup(t, { emit: r }) {
1437
- let i = t, a = r, o = ne(), s = Qt("VvSelect", Zt(), i), u = T(), { HintSlot: d, hasHintLabelOrSlot: f, hasInvalidLabelOrSlot: ee, hintSlotScope: p } = gt(s, o), { focused: m } = $t(u, a);
1438
- function te(e) {
1439
- return typeof e == "string" ? !1 : e.options?.length;
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({
1442
- get: () => i.modelValue,
1443
- set: (e) => {
1444
- if (Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !i.unselectable && u.value)) {
1445
- u.value.value = String(i.modelValue);
1446
- return;
1447
- }
1448
- a("update:modelValue", e);
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) => {
1452
- e && i.autofocus && (m.value = !0);
1453
- });
1454
- let { hasIconBefore: he, hasIconAfter: ge } = bt(k, oe), _e = S(() => {
1455
- if (i.invalid === !0) return !0;
1456
- if (i.valid === !0) return !1;
1457
- }), ye = vt("vv-select", re, S(() => ({
1458
- valid: ce.value,
1459
- invalid: se.value,
1460
- loading: O.value,
1461
- disabled: ae.value,
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,
1467
- floating: A.value,
1468
- multiple: fe.value
1469
- }))), { getOptionLabel: be, getOptionValue: V, isOptionDisabled: xe, getOptionGrouped: H } = en(i);
1470
- x(() => i.options, (e) => {
1471
- if (e?.length && i.autoselectFirst && !z.value) {
1472
- let t = V(e[0]);
1473
- R.value = i.multiple ? [t] : t;
1474
- }
1475
- }, { immediate: !0 });
1476
- function Se() {
1477
- Array.isArray(R.value) ? R.value = [] : R.value = void 0, a("clear");
1478
- }
1479
- let Ce = S(() => ({
1480
- name: i.name,
1481
- tabindex: me.value,
1482
- disabled: L.value,
1483
- required: i.required,
1484
- size: i.size,
1485
- autocomplete: i.autocomplete,
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(() => ({
1491
- valid: i.valid,
1492
- invalid: i.invalid,
1493
- modelValue: i.modelValue
1494
- }));
1495
- return (t, r) => (F(), M("div", { class: n(P(ye)) }, [
1496
- t.label ? (F(), M("label", {
1497
- key: 0,
1498
- for: P(pe)
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),
1506
- ref_key: "selectEl",
1507
- ref: u
1508
- }, P(Ce), { "onUpdate:modelValue": r[0] ||= (e) => le(R) ? R.value = e : null }), [t.placeholder ? (F(), M("option", {
1509
- key: 0,
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", {
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", {
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", {
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)
1527
- ]),
1528
- P(B) && P(s).showClearAction ? (F(), N(P(xt), {
1529
- key: 1,
1530
- "input-type": "select",
1531
- label: t.labelClear,
1532
- icon: t.iconClear,
1533
- disabled: !P(z),
1534
- onClear: Se
1535
- }, null, 8, [
1536
- "label",
1537
- "icon",
1538
- "disabled"
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)
1541
- ]),
1542
- de(P(d), {
1543
- id: P(I),
1544
- class: "vv-select__hint"
1545
- }, _({ _: 2 }, [
1546
- t.$slots.hint ? {
1547
- name: "hint",
1548
- fn: e(() => [l(t.$slots, "hint", y(h(P(p))))]),
1549
- key: "0"
1550
- } : void 0,
1551
- t.$slots.loading ? {
1552
- name: "loading",
1553
- fn: e(() => [l(t.$slots, "loading", y(h(P(p))))]),
1554
- key: "1"
1555
- } : void 0,
1556
- t.$slots.valid ? {
1557
- name: "valid",
1558
- fn: e(() => [l(t.$slots, "valid", y(h(P(p))))]),
1559
- key: "2"
1560
- } : void 0,
1561
- t.$slots.invalid ? {
1562
- name: "invalid",
1563
- fn: e(() => [l(t.$slots, "invalid", y(h(P(p))))]),
1564
- key: "3"
1565
- } : void 0
1566
- ]), 1032, ["id"])
1567
- ], 2));
1568
- }
1569
- }), pn = ["id"], mn = ["id", "for"], hn = [
1570
- "id",
1571
- "aria-controls",
1572
- "placeholder"
1573
- ], gn = {
1574
- key: 0,
1575
- class: "vv-select__input-before"
1576
- }, _n = { class: "vv-select__inner" }, vn = [
1577
- "aria-controls",
1578
- "aria-expanded",
1579
- "aria-labelledby",
1580
- "aria-describedby",
1581
- "aria-errormessage",
1582
- "tabindex"
1583
- ], yn = {
1584
- key: 0,
1585
- class: "vv-select__value"
1586
- }, bn = ["aria-label", "onClick"], xn = {
1587
- key: 2,
1588
- class: "vv-select__input-after"
1589
- }, Sn = /* @__PURE__ */ a({
1590
- name: "VvCombobox",
1591
- components: {
1592
- VvDropdown: Wt,
1593
- VvDropdownOption: Yt,
1594
- VvDropdownOptgroup: Kt,
1595
- VvButton: It
1596
- },
1597
- props: /* @__PURE__ */ m(lt(), {
1598
- search: {
1599
- type: String,
1600
- default: "",
1601
- required: !1
1602
- },
1603
- searchModifiers: {}
1604
- }),
1605
- emits: /* @__PURE__ */ m([
1606
- "update:modelValue",
1607
- "update:search",
1608
- "update:options",
1609
- "focus",
1610
- "blur",
1611
- "clear",
1612
- "change:search"
1613
- ], ["update:search"]),
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);
1616
- x(O, (e) => {
1617
- if (a.autoOpen) {
1618
- if (e && !j.value) {
1619
- pe();
1620
- return;
1621
- }
1622
- !e && j.value && !k.value && I();
1623
- }
1624
- }), x(k, (e) => {
1625
- !O.value && !e && j.value && I();
1626
- });
1627
- let se = d(t, "search"), A = z(se, S(() => Number(a.debounceSearch)));
1628
- x(A, () => {
1629
- o("update:search", A.value), o("change:search", A.value);
1630
- });
1631
- let j = T(!1);
1632
- function fe() {
1633
- U.value || (j.value = !j.value);
1634
- }
1635
- function pe() {
1636
- U.value || j.value || (j.value = !0);
1637
- }
1638
- function I() {
1639
- U.value || !j.value || (j.value = !1);
1640
- }
1641
- function L() {
1642
- u.value.searchable && ee.value && ee.value.focus({ preventScroll: !0 });
1643
- }
1644
- function me() {
1645
- u.value.keepSearch || (se.value = "");
1646
- }
1647
- function B(e) {
1648
- return typeof e == "string" ? !1 : e.options?.length;
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({
1651
- get: () => Array.isArray(a.modelValue) ? a.modelValue : a.modelValue !== void 0 && a.modelValue !== null ? [a.modelValue] : [],
1652
- set: (e) => {
1653
- o("update:modelValue", a.multiple || Array.isArray(a.modelValue) ? e : e.pop());
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,
1658
- loading: Fe.value,
1659
- readonly: H.value,
1660
- "icon-before": Ie.value !== void 0,
1661
- "icon-after": Le.value !== void 0,
1662
- valid: Ce.value,
1663
- invalid: we.value,
1664
- dirty: je.value,
1665
- focus: (O.value || k.value || j.value) && !U.value,
1666
- floating: Te.value,
1667
- badges: a.badges
1668
- }))), ze = T(/* @__PURE__ */ new Set()), { getOptionLabel: Y, getOptionValue: Be, getOptionGrouped: X, isOptionDisabled: Ve } = en(a), He = S(() => {
1669
- let e = [...ze.value];
1670
- for (let t of a.options) B(t) ? e.push(...X(t)) : e.push(t);
1671
- return e;
1672
- }), Ue = S(() => {
1673
- let e = [...a.options, ...ze.value];
1674
- for (let t of G.value) He.value.some((e) => {
1675
- let n = Be(e);
1676
- return typeof n == "object" && typeof t == "object" ? JSON.stringify(n) === JSON.stringify(t) : n === t;
1677
- }) || e.push(t);
1678
- return e;
1679
- });
1680
- x(ze, (e) => {
1681
- e.size > 0 && o("update:options", Ue.value);
1682
- });
1683
- function We(e) {
1684
- return Ve(e) || !Ne.value && !Z(e);
1685
- }
1686
- let Ge = ye(async () => {
1687
- if (u.value.searchFunction) {
1688
- Pe.value = !0;
1689
- let e = await Promise.resolve(u.value.searchFunction(A.value, Ue.value));
1690
- return Pe.value = !1, e;
1691
- }
1692
- let e = A.value.toLowerCase().trim();
1693
- return e ? Ue.value?.reduce((t, n) => {
1694
- if (B(n)) {
1695
- let r = Y(n).toLowerCase(), i = X(n).filter((t) => Y(t).toLowerCase().includes(e));
1696
- if (r.includes(e)) t.push(n);
1697
- else if (i.length > 0) {
1698
- let e = typeof n == "object" ? {
1699
- ...n,
1700
- options: i
1701
- } : n;
1702
- t.push(e);
1703
- }
1704
- return t;
1705
- }
1706
- return Y(n).toLowerCase().includes(e) && t.push(n), t;
1707
- }, []) : Ue.value;
1708
- });
1709
- function Z(e) {
1710
- let t = Be(e);
1711
- return typeof t == "object" ? G.value.some((e) => typeof e == "object" ? JSON.stringify(e) === JSON.stringify(t) : !1) : G.value.includes(t);
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));
1714
- function qe() {
1715
- a.autoOpen ? pe() : fe();
1716
- }
1717
- function $(e) {
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();
1720
- }
1721
- function Je() {
1722
- G.value = [], o("update:search", ""), o("clear");
1723
- }
1724
- x(Ue, (e) => {
1725
- if (e?.length && a.autoselectFirst && !je.value) {
1726
- let t = e.find((e) => !B(e));
1727
- if (t) {
1728
- $(t);
1729
- return;
1730
- }
1731
- let n = e.find((e) => B(e));
1732
- if (n) {
1733
- let e = X(n);
1734
- e.length && $(e[0]);
1735
- }
1736
- }
1737
- }, { immediate: !0 });
1738
- let Ye = S(() => ({
1739
- id: Ee.value,
1740
- name: a.name,
1741
- tabindex: W.value,
1742
- valid: Ce.value,
1743
- validLabel: u.value.validLabel,
1744
- invalid: we.value,
1745
- invalidLabel: u.value.invalidLabel,
1746
- hintLabel: u.value.hintLabel,
1747
- loading: Fe.value,
1748
- loadingLabel: u.value.loadingLabel,
1749
- disabled: V.value,
1750
- readonly: H.value,
1751
- modifiers: u.value.modifiers,
1752
- options: u.value.options,
1753
- labelKey: u.value.labelKey,
1754
- valueKey: u.value.valueKey,
1755
- icon: u.value.icon,
1756
- iconPosition: u.value.iconPosition,
1757
- floating: u.value.floating,
1758
- unselectable: J.value,
1759
- autoselectFirst: u.value.autoselectFirst,
1760
- multiple: u.value.multiple,
1761
- label: u.value.label,
1762
- placeholder: u.value.placeholder,
1763
- modelValue: a.modelValue
1764
- })), Xe = S(() => ({
1765
- id: Oe.value,
1766
- reference: p.value,
1767
- placement: u.value.placement,
1768
- strategy: u.value.strategy,
1769
- transitionName: u.value.transitionName,
1770
- offset: u.value.offset,
1771
- shift: u.value.shift,
1772
- flip: u.value.flip,
1773
- autoPlacement: u.value.autoPlacement,
1774
- arrow: u.value.arrow,
1775
- autofocusFirst: u.value.searchable ? !0 : u.value.autofocusFirst,
1776
- triggerWidth: u.value.triggerWidth,
1777
- modifiers: u.value.dropdownModifiers
1778
- })), Ze = S(() => ({
1779
- valid: a.valid,
1780
- invalid: a.invalid,
1781
- modelValue: a.modelValue
1782
- }));
1783
- _e([" ", "Enter"], (e) => {
1784
- a.autoOpen || !j.value && O.value && (e.preventDefault(), e.stopImmediatePropagation(), fe());
1785
- }, { target: f });
1786
- function Qe() {
1787
- if (Ge.value?.length) {
1788
- if (Ge.value.length === 1) {
1789
- let e = Ge.value[0];
1790
- if (B(e)) {
1791
- let t = X(e);
1792
- t.length && $(t[0]);
1793
- return;
1794
- }
1795
- $(e);
1796
- return;
1797
- }
1798
- m.value?.focusFirstListElement();
1799
- return;
1800
- }
1801
- if (u.value.addable) {
1802
- let e = se.value.trim();
1803
- if (!e || He.value.some((t) => Y(t).toLowerCase() === e.toLowerCase())) return;
1804
- ze.value.add(e), $(e);
1805
- }
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", {
1808
- key: 0,
1809
- id: P(Ee),
1810
- class: n(P(Re))
1811
- }, [
1812
- t.label ? (F(), M("label", {
1813
- key: 0,
1814
- id: P(Ae),
1815
- for: P(u).searchable ? P(ke) : void 0
1816
- }, c(t.label), 9, mn)) : w("v-if", !0),
1817
- ue("div", {
1818
- ref_key: "wrapperEl",
1819
- ref: p,
1820
- class: "vv-select__wrapper"
1821
- }, [de(Wt, g({
1822
- ref_key: "dropdownEl",
1823
- ref: m,
1824
- modelValue: P(j),
1825
- "onUpdate:modelValue": i[2] ||= (e) => le(j) ? j.value = e : null
1826
- }, P(Xe), {
1827
- role: P(Me).listbox,
1828
- onAfterExpand: L,
1829
- onAfterCollapse: me
1830
- }), _({
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({
1836
- ref_key: "inputEl",
1837
- ref: f
1838
- }, n, {
1839
- class: "vv-select__input",
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),
1847
- onClickPassive: qe
1848
- }), [P(Q) ? l(t.$slots, "value", y(g({ key: 0 }, {
1849
- selectedOptions: P(Ke),
1850
- onInput: $
1851
- })), () => [t.badges ? (F(!0), M(D, { key: 1 }, v(P(Ke), (n, i) => (F(), N(St, {
1852
- key: i,
1853
- modifiers: t.badgeModifiers,
1854
- class: "vv-select__badge"
1855
- }, {
1856
- default: e(() => [r(c(P(Y)(n)) + " ", 1), P(J) ? (F(), M("button", {
1857
- key: 0,
1858
- "aria-label": P(u).deselectActionLabel,
1859
- type: "button",
1860
- onClick: oe((e) => $(n), ["stop"])
1861
- }, [de(yt, { name: "close" })], 8, bn)) : w("v-if", !0)]),
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)
1865
- ]),
1866
- P(J) && P(u).showClearAction ? (F(), N(P(xt), {
1867
- key: 1,
1868
- "input-type": "select",
1869
- label: t.labelClear,
1870
- icon: t.iconClear,
1871
- disabled: !P(je),
1872
- onClear: Je
1873
- }, null, 8, [
1874
- "label",
1875
- "icon",
1876
- "disabled"
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)
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) }, {
1881
- default: e(() => [l(t.$slots, "option-group", g({ ref_for: !0 }, {
1882
- option: n,
1883
- selectedOptions: P(Ke)
1884
- }), () => [r(c(P(Y)(n)), 1)])]),
1885
- _: 2
1886
- }, 1032, ["label"]), (F(!0), M(D, null, v(P(X)(n), (n, i) => (F(), N(Yt, g({ ref_for: !0 }, {
1887
- selected: Z(n),
1888
- disabled: We(n),
1889
- unselectable: P(J),
1890
- deselectHintLabel: P(u).deselectHintLabel,
1891
- selectHintLabel: P(u).selectHintLabel,
1892
- selectedHintLabel: P(u).selectedHintLabel,
1893
- focusOnHover: t.focusOnHover
1894
- }, {
1895
- key: i,
1896
- class: "vv-dropdown-option",
1897
- onClickPassive: (e) => $(n)
1898
- }), {
1899
- default: e(() => [l(t.$slots, "option", g({ ref_for: !0 }, {
1900
- option: n,
1901
- selectedOptions: P(Ke),
1902
- selected: Z(n),
1903
- disabled: We(n)
1904
- }), () => [r(c(P(Y)(n)), 1)])]),
1905
- _: 2
1906
- }, 1040, ["onClickPassive"]))), 128))], 64)) : (F(), N(Yt, g({
1907
- key: 1,
1908
- ref_for: !0
1909
- }, {
1910
- selected: Z(n),
1911
- disabled: We(n),
1912
- unselectable: P(J),
1913
- deselectHintLabel: P(u).deselectHintLabel,
1914
- selectHintLabel: P(u).selectHintLabel,
1915
- selectedHintLabel: P(u).selectedHintLabel,
1916
- focusOnHover: t.focusOnHover
1917
- }, {
1918
- class: "vv-dropdown-option",
1919
- onClickPassive: (e) => $(n)
1920
- }), {
1921
- default: e(() => [l(t.$slots, "option", g({ ref_for: !0 }, {
1922
- option: n,
1923
- selectedOptions: P(Ke),
1924
- selected: Z(n),
1925
- disabled: We(n)
1926
- }), () => [r(c(P(Y)(n)), 1)])]),
1927
- _: 2
1928
- }, 1040, ["onClickPassive"]))], 64))), 128)) : t.options.length ? (F(), N(Yt, {
1929
- key: 2,
1930
- modifiers: "inert"
1931
- }, {
1932
- default: e(() => [l(t.$slots, "no-results", {}, () => [r(c(P(u).addable ? P(u).addOptionHintLabel : P(u).noResultsLabel), 1)])]),
1933
- _: 3
1934
- })) : (F(), N(Yt, {
1935
- key: 1,
1936
- modifiers: "inert"
1937
- }, {
1938
- default: e(() => [l(t.$slots, "no-options", {}, () => [r(c(P(u).addable && se.value.length ? P(u).addOptionHintLabel : P(u).noOptionsLabel), 1)])]),
1939
- _: 3
1940
- }))]),
1941
- after: e(() => [l(t.$slots, "dropdown::after", {}, () => [P(m)?.customPosition ? (F(), N(It, {
1942
- key: 0,
1943
- label: P(u).closeLabel,
1944
- modifiers: "secondary",
1945
- onClick: i[1] ||= (e) => P(m).hide()
1946
- }, null, 8, ["label"])) : w("v-if", !0)])]),
1947
- _: 2
1948
- }, [P(u).searchable || t.$slots["dropdown::before"] ? {
1949
- name: "before",
1950
- fn: e(() => [l(t.$slots, "dropdown::before"), P(u).searchable && !P(V) ? ie((F(), M("input", {
1951
- key: 0,
1952
- id: P(ke),
1953
- ref_key: "inputSearchEl",
1954
- ref: ee,
1955
- "onUpdate:modelValue": i[0] ||= (e) => se.value = e,
1956
- "aria-autocomplete": "list",
1957
- "aria-controls": P(Oe),
1958
- autocomplete: "off",
1959
- spellcheck: "false",
1960
- type: "search",
1961
- class: "vv-dropdown__search",
1962
- placeholder: P(u).searchPlaceholder,
1963
- onKeyup: ce(Qe, ["enter"])
1964
- }, null, 40, hn)), [[re, se.value]]) : w("v-if", !0)]),
1965
- key: "0"
1966
- } : void 0]), 1040, ["modelValue", "role"])], 512),
1967
- de(P(te), {
1968
- id: P(De),
1969
- class: "vv-select__hint"
1970
- }, _({ _: 2 }, [
1971
- t.$slots.hint ? {
1972
- name: "hint",
1973
- fn: e(() => [l(t.$slots, "hint", y(h(P(E))))]),
1974
- key: "0"
1975
- } : void 0,
1976
- t.$slots.loading ? {
1977
- name: "loading",
1978
- fn: e(() => [l(t.$slots, "loading", y(h(P(E))))]),
1979
- key: "1"
1980
- } : void 0,
1981
- t.$slots.valid ? {
1982
- name: "valid",
1983
- fn: e(() => [l(t.$slots, "valid", y(h(P(E))))]),
1984
- key: "2"
1985
- } : void 0,
1986
- t.$slots.invalid ? {
1987
- name: "invalid",
1988
- fn: e(() => [l(t.$slots, "invalid", y(h(P(E))))]),
1989
- key: "3"
1990
- } : void 0
1991
- ]), 1032, ["id"])
1992
- ], 10, pn));
1993
- }
1994
- });
1995
- //#endregion
1996
- export { Sn as default };
1997
-
1998
- //# sourceMappingURL=VvCombobox.es-CUUNtqyJ.js.map