@8wave/ai-elements 0.69.0 → 0.70.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 (427) hide show
  1. package/README.md +30 -5
  2. package/dist/_chunks/{PkStreamingMarkdown-C0BpOvli.js → PkStreamingMarkdown-CCD_gifi.js} +2 -2
  3. package/dist/_chunks/{PkStreamingMarkdown-C0BpOvli.js.map → PkStreamingMarkdown-CCD_gifi.js.map} +1 -1
  4. package/dist/_chunks/{PkToolShowArtifact-DzNIkKvZ.js → PkToolShowArtifact-BZ9-wuXH.js} +12 -11
  5. package/dist/_chunks/PkToolShowArtifact-BZ9-wuXH.js.map +1 -0
  6. package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js → PkToolShowCalendarEvent-BFHzjM9E.js} +2 -2
  7. package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js.map → PkToolShowCalendarEvent-BFHzjM9E.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js → PkToolShowComparison-D-cY7yXE.js} +1 -1
  9. package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js.map → PkToolShowComparison-D-cY7yXE.js.map} +1 -1
  10. package/dist/_chunks/PkToolShowContactForm-B5Zuup-c.js +2 -0
  11. package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js +1102 -0
  12. package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js.map +1 -0
  13. package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js → PkToolShowEmail-BhGdH4Ig.js} +1 -1
  14. package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js.map → PkToolShowEmail-BhGdH4Ig.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js → PkToolShowImageGallery-CiN2M02m.js} +3 -3
  16. package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js.map → PkToolShowImageGallery-CiN2M02m.js.map} +1 -1
  17. package/dist/_chunks/PkToolShowLocation-CbaF2oBf.js +2 -0
  18. package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js +4996 -0
  19. package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js.map +1 -0
  20. package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js → PkToolShowMessage-5Luc042T.js} +1 -1
  21. package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js.map → PkToolShowMessage-5Luc042T.js.map} +1 -1
  22. package/dist/_chunks/PkToolShowMultipleChoice-DgfLPaKE.js +2 -0
  23. package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js +44 -0
  24. package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js.map +1 -0
  25. package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js → PkToolShowProductList-BSLTdM8w.js} +2 -2
  26. package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js.map → PkToolShowProductList-BSLTdM8w.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js → PkToolShowQrCode-DLSOtaV9.js} +1 -1
  28. package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js.map → PkToolShowQrCode-DLSOtaV9.js.map} +1 -1
  29. package/dist/_chunks/PkToolShowSources-BZyYFWu6.js +490 -0
  30. package/dist/_chunks/PkToolShowSources-BZyYFWu6.js.map +1 -0
  31. package/dist/_chunks/PkToolShowSources-C0Edf43F.js +2 -0
  32. package/dist/_chunks/PkToolShowSuggestedReply-CMIWzymE.js +2 -0
  33. package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js +40 -0
  34. package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js.map +1 -0
  35. package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js → PkToolShowWeather-BmB6I1CQ.js} +1 -1
  36. package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js.map → PkToolShowWeather-BmB6I1CQ.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js → PkToolShowWebPages-BQEuy2SB.js} +3 -3
  38. package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js.map → PkToolShowWebPages-BQEuy2SB.js.map} +1 -1
  39. package/dist/_chunks/{PkUrl-BiCK2gUF.js → PkUrl-DbCzf0TH.js} +5 -8
  40. package/dist/_chunks/{PkUrl-BiCK2gUF.js.map → PkUrl-DbCzf0TH.js.map} +1 -1
  41. package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js → VvCheckbox.es-xoDP7xfG.js} +1 -1
  42. package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js.map → VvCheckbox.es-xoDP7xfG.js.map} +1 -1
  43. package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js → VvCheckboxGroup.es-CqmkSf32.js} +1 -1
  44. package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js.map → VvCheckboxGroup.es-CqmkSf32.js.map} +1 -1
  45. package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js → VvCombobox.es-8c5A9J7u.js} +1 -1
  46. package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js.map → VvCombobox.es-8c5A9J7u.js.map} +1 -1
  47. package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js → VvInputText.es-C3DasKVI.js} +1 -1
  48. package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js.map → VvInputText.es-C3DasKVI.js.map} +1 -1
  49. package/dist/_chunks/{VvRadio.es-CBNUR8-A.js → VvRadio.es-DWCbGLSw.js} +1 -1
  50. package/dist/_chunks/{VvRadio.es-CBNUR8-A.js.map → VvRadio.es-DWCbGLSw.js.map} +1 -1
  51. package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js → VvRadioGroup.es-DeZPOSLg.js} +1 -1
  52. package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js.map → VvRadioGroup.es-DeZPOSLg.js.map} +1 -1
  53. package/dist/_chunks/{VvSelect.es-DhnVYyFM.js → VvSelect.es-Cbdxv0hL.js} +1 -1
  54. package/dist/_chunks/{VvSelect.es-DhnVYyFM.js.map → VvSelect.es-Cbdxv0hL.js.map} +1 -1
  55. package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js → VvTextarea.es-G6PqQj_w.js} +1 -1
  56. package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js.map → VvTextarea.es-G6PqQj_w.js.map} +1 -1
  57. package/dist/_chunks/_plugin-vue_export-helper-C6kC663S.js +8 -0
  58. package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js +7 -0
  59. package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js.map +1 -0
  60. package/dist/_chunks/marker-icon-C9YVKiza.js +7 -0
  61. package/dist/_chunks/marker-icon-C9YVKiza.js.map +1 -0
  62. package/dist/_chunks/marker-shadow-C69K8Z1K.js +7 -0
  63. package/dist/_chunks/marker-shadow-C69K8Z1K.js.map +1 -0
  64. package/dist/_chunks/schemas-BzxsvNFR.js +3117 -0
  65. package/dist/_chunks/schemas-BzxsvNFR.js.map +1 -0
  66. package/dist/_chunks/{src-BRYn66N3.js → src-B7wQQMx2.js} +1 -1
  67. package/dist/_chunks/{src-BRYn66N3.js.map → src-B7wQQMx2.js.map} +1 -1
  68. package/dist/_chunks/{useLightbox-RmU8z981.js → useLightbox-krdR1Z0n.js} +2 -2
  69. package/dist/_chunks/{useLightbox-RmU8z981.js.map → useLightbox-krdR1Z0n.js.map} +1 -1
  70. package/dist/ai-elements.es.js +7433 -12095
  71. package/dist/ai-elements.es.js.map +1 -1
  72. package/dist-vue/PkChatbot.js +1 -1
  73. package/dist-vue/PkChatbotError.js +1 -1
  74. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  75. package/dist-vue/PkChatbotFilePreview.js +1 -1
  76. package/dist-vue/PkChatbotInput.js +1 -1
  77. package/dist-vue/PkChatbotMessages.js +1 -1
  78. package/dist-vue/PkChatbotViewChat.js +1 -1
  79. package/dist-vue/PkChatbotViewConversations.js +1 -1
  80. package/dist-vue/PkChatbotViewProfile.js +1 -1
  81. package/dist-vue/_chunks/Media-COOsOMMv.js +120 -0
  82. package/dist-vue/_chunks/Media-COOsOMMv.js.map +1 -0
  83. package/dist-vue/_chunks/{PkChatbot-Cy7p5UI_.js → PkChatbot-h7EIb9Y5.js} +61 -60
  84. package/dist-vue/_chunks/{PkChatbot-Cy7p5UI_.js.map → PkChatbot-h7EIb9Y5.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js → PkChatbotError-CBQaRNse.js} +1 -1
  86. package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js.map → PkChatbotError-CBQaRNse.js.map} +1 -1
  87. package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js +91 -0
  88. package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js.map +1 -0
  89. package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js → PkChatbotFilePreview-0ow1cjom.js} +2 -2
  90. package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js.map → PkChatbotFilePreview-0ow1cjom.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js → PkChatbotInput-DjUU_5_9.js} +3 -3
  92. package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js.map → PkChatbotInput-DjUU_5_9.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkChatbotMessages-C7-ZtU0-.js → PkChatbotMessages-DJngZXIX.js} +130 -121
  94. package/dist-vue/_chunks/PkChatbotMessages-DJngZXIX.js.map +1 -0
  95. package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js +246 -0
  96. package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js.map +1 -0
  97. package/dist-vue/_chunks/{PkChatbotViewConversations-Ct0TbDrg.js → PkChatbotViewConversations-BAU8tPTf.js} +4 -4
  98. package/dist-vue/_chunks/{PkChatbotViewConversations-Ct0TbDrg.js.map → PkChatbotViewConversations-BAU8tPTf.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotViewProfile-BhdCxVSX.js → PkChatbotViewProfile-B_TpBkAf.js} +2 -2
  100. package/dist-vue/_chunks/{PkChatbotViewProfile-BhdCxVSX.js.map → PkChatbotViewProfile-B_TpBkAf.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js → PkRelativeTime-ivIkVQRR.js} +1 -1
  102. package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js.map → PkRelativeTime-ivIkVQRR.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js → PkStreamingMarkdown-CGEZEVZF.js} +2 -2
  104. package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js.map → PkStreamingMarkdown-CGEZEVZF.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowArtifact-pTS7wzhw.js → PkToolShowArtifact-D1PnI-E1.js} +14 -13
  106. package/dist-vue/_chunks/PkToolShowArtifact-D1PnI-E1.js.map +1 -0
  107. package/dist-vue/_chunks/{PkToolShowCalendarEvent-DQ--fzwb.js → PkToolShowCalendarEvent-HiRf_hSv.js} +3 -3
  108. package/dist-vue/_chunks/{PkToolShowCalendarEvent-DQ--fzwb.js.map → PkToolShowCalendarEvent-HiRf_hSv.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkToolShowComparison-CzRUrjbP.js → PkToolShowComparison-Bll3lc1g.js} +2 -2
  110. package/dist-vue/_chunks/{PkToolShowComparison-CzRUrjbP.js.map → PkToolShowComparison-Bll3lc1g.js.map} +1 -1
  111. package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js +130 -0
  112. package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js.map +1 -0
  113. package/dist-vue/_chunks/{PkToolShowEmail-htn0ivwY.js → PkToolShowEmail-DzYBtaIE.js} +2 -2
  114. package/dist-vue/_chunks/{PkToolShowEmail-htn0ivwY.js.map → PkToolShowEmail-DzYBtaIE.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkToolShowImageGallery-CpU183SC.js → PkToolShowImageGallery-BQtLChsM.js} +4 -4
  116. package/dist-vue/_chunks/{PkToolShowImageGallery-CpU183SC.js.map → PkToolShowImageGallery-BQtLChsM.js.map} +1 -1
  117. package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js +148 -0
  118. package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js.map +1 -0
  119. package/dist-vue/_chunks/{PkToolShowMessage-DtGDm3pq.js → PkToolShowMessage-C4os87fJ.js} +2 -2
  120. package/dist-vue/_chunks/{PkToolShowMessage-DtGDm3pq.js.map → PkToolShowMessage-C4os87fJ.js.map} +1 -1
  121. package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js +45 -0
  122. package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js.map +1 -0
  123. package/dist-vue/_chunks/{PkToolShowProductList-BlkUdbtV.js → PkToolShowProductList-BR14mmfl.js} +3 -3
  124. package/dist-vue/_chunks/{PkToolShowProductList-BlkUdbtV.js.map → PkToolShowProductList-BR14mmfl.js.map} +1 -1
  125. package/dist-vue/_chunks/{PkToolShowQrCode-BUyhM_MN.js → PkToolShowQrCode-CTfDrItd.js} +2 -2
  126. package/dist-vue/_chunks/{PkToolShowQrCode-BUyhM_MN.js.map → PkToolShowQrCode-CTfDrItd.js.map} +1 -1
  127. package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js +377 -0
  128. package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js.map +1 -0
  129. package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js +40 -0
  130. package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js.map +1 -0
  131. package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js → PkToolShowWeather-D3MyAnH4.js} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js.map → PkToolShowWeather-D3MyAnH4.js.map} +1 -1
  133. package/dist-vue/_chunks/{PkToolShowWebPages-BQp9A4vb.js → PkToolShowWebPages-0pwK7psA.js} +4 -4
  134. package/dist-vue/_chunks/{PkToolShowWebPages-BQp9A4vb.js.map → PkToolShowWebPages-0pwK7psA.js.map} +1 -1
  135. package/dist-vue/_chunks/{PkUrl-C9annqfF.js → PkUrl-tuHTaGCy.js} +1 -1
  136. package/dist-vue/_chunks/{PkUrl-C9annqfF.js.map → PkUrl-tuHTaGCy.js.map} +1 -1
  137. package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js → ZodError-DkVfTODd.js} +1 -1
  138. package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js.map → ZodError-DkVfTODd.js.map} +1 -1
  139. package/dist-vue/_chunks/{apl-Bkqrrr3v.js → apl-j-tvtpTP.js} +1 -1
  140. package/dist-vue/_chunks/{apl-Bkqrrr3v.js.map → apl-j-tvtpTP.js.map} +1 -1
  141. package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js → asciiarmor-JNKKTtQt.js} +1 -1
  142. package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js.map → asciiarmor-JNKKTtQt.js.map} +1 -1
  143. package/dist-vue/_chunks/{asn1-WRfjxqL1.js → asn1-DBQ_amwa.js} +1 -1
  144. package/dist-vue/_chunks/{asn1-WRfjxqL1.js.map → asn1-DBQ_amwa.js.map} +1 -1
  145. package/dist-vue/_chunks/{asterisk-DYv-EHWB.js → asterisk-Di3iYNR-.js} +1 -1
  146. package/dist-vue/_chunks/{asterisk-DYv-EHWB.js.map → asterisk-Di3iYNR-.js.map} +1 -1
  147. package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js → brainfuck-D8mwwQut.js} +1 -1
  148. package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js.map → brainfuck-D8mwwQut.js.map} +1 -1
  149. package/dist-vue/_chunks/{clike-r66wHNGT.js → clike-I6ihTsJ5.js} +1 -1
  150. package/dist-vue/_chunks/{clike-r66wHNGT.js.map → clike-I6ihTsJ5.js.map} +1 -1
  151. package/dist-vue/_chunks/{clojure-BDb_WsAm.js → clojure-CGENQS-R.js} +1 -1
  152. package/dist-vue/_chunks/{clojure-BDb_WsAm.js.map → clojure-CGENQS-R.js.map} +1 -1
  153. package/dist-vue/_chunks/{cmake-Curqstum.js → cmake-D2jqXHLk.js} +1 -1
  154. package/dist-vue/_chunks/{cmake-Curqstum.js.map → cmake-D2jqXHLk.js.map} +1 -1
  155. package/dist-vue/_chunks/{cobol-BAx4MdII.js → cobol-Db3IHNru.js} +1 -1
  156. package/dist-vue/_chunks/{cobol-BAx4MdII.js.map → cobol-Db3IHNru.js.map} +1 -1
  157. package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js → coffeescript-B4Rd3RcP.js} +1 -1
  158. package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js.map → coffeescript-B4Rd3RcP.js.map} +1 -1
  159. package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js → commonlisp-B-ehiawF.js} +1 -1
  160. package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js.map → commonlisp-B-ehiawF.js.map} +1 -1
  161. package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js +521 -0
  162. package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js.map +1 -0
  163. package/dist-vue/_chunks/{crystal-Dq4io9oq.js → crystal-Bj2fwY3J.js} +1 -1
  164. package/dist-vue/_chunks/{crystal-Dq4io9oq.js.map → crystal-Bj2fwY3J.js.map} +1 -1
  165. package/dist-vue/_chunks/{css-Bd9Y1kSi.js → css-CDqbdUZS.js} +1 -1
  166. package/dist-vue/_chunks/{css-Bd9Y1kSi.js.map → css-CDqbdUZS.js.map} +1 -1
  167. package/dist-vue/_chunks/{cypher-D14rILSd.js → cypher-BPgl78lW.js} +1 -1
  168. package/dist-vue/_chunks/{cypher-D14rILSd.js.map → cypher-BPgl78lW.js.map} +1 -1
  169. package/dist-vue/_chunks/{d-B-E6YUkN.js → d-_9PAw1JO.js} +1 -1
  170. package/dist-vue/_chunks/{d-B-E6YUkN.js.map → d-_9PAw1JO.js.map} +1 -1
  171. package/dist-vue/_chunks/{diff-BPPcQvHC.js → diff-C_qwk3ek.js} +1 -1
  172. package/dist-vue/_chunks/{diff-BPPcQvHC.js.map → diff-C_qwk3ek.js.map} +1 -1
  173. package/dist-vue/_chunks/{dist-CJYiwDlx.js → dist-2RCoY9yL.js} +2 -2
  174. package/dist-vue/_chunks/{dist-CJYiwDlx.js.map → dist-2RCoY9yL.js.map} +1 -1
  175. package/dist-vue/_chunks/{dist-DEe8jwtO.js → dist-B504iqq4.js} +3 -3
  176. package/dist-vue/_chunks/{dist-DEe8jwtO.js.map → dist-B504iqq4.js.map} +1 -1
  177. package/dist-vue/_chunks/{dist-BHuX2VvC.js → dist-BbACD7ZF.js} +3 -3
  178. package/dist-vue/_chunks/{dist-BHuX2VvC.js.map → dist-BbACD7ZF.js.map} +1 -1
  179. package/dist-vue/_chunks/{dist-Bh5Q6aSI2.js → dist-BfWfkbOA.js} +2 -2
  180. package/dist-vue/_chunks/dist-BfWfkbOA.js.map +1 -0
  181. package/dist-vue/_chunks/{dist-Qq_6SbFF.js → dist-BnR5Kl9J.js} +3 -3
  182. package/dist-vue/_chunks/{dist-Qq_6SbFF.js.map → dist-BnR5Kl9J.js.map} +1 -1
  183. package/dist-vue/_chunks/{dist-KPI2eL8F.js → dist-Bx_jrcne.js} +2 -2
  184. package/dist-vue/_chunks/{dist-KPI2eL8F.js.map → dist-Bx_jrcne.js.map} +1 -1
  185. package/dist-vue/_chunks/{dist-CAXUIcdd.js → dist-C4DKJxXu.js} +4 -4
  186. package/dist-vue/_chunks/{dist-CAXUIcdd.js.map → dist-C4DKJxXu.js.map} +1 -1
  187. package/dist-vue/_chunks/{dist-CAZOa5qs2.js → dist-C9oRomIQ.js} +3 -3
  188. package/dist-vue/_chunks/dist-C9oRomIQ.js.map +1 -0
  189. package/dist-vue/_chunks/{dist-DfEAZDKB.js → dist-COvC03Xx.js} +3 -3
  190. package/dist-vue/_chunks/{dist-DfEAZDKB.js.map → dist-COvC03Xx.js.map} +1 -1
  191. package/dist-vue/_chunks/{dist-D-VT7gvP.js → dist-CwB_dFae.js} +3 -3
  192. package/dist-vue/_chunks/{dist-D-VT7gvP.js.map → dist-CwB_dFae.js.map} +1 -1
  193. package/dist-vue/_chunks/{dist-BaIe783A.js → dist-Cz8slHpf.js} +2 -2
  194. package/dist-vue/_chunks/{dist-BaIe783A.js.map → dist-Cz8slHpf.js.map} +1 -1
  195. package/dist-vue/_chunks/{dist-DV82RztV.js → dist-D-G-983p.js} +3 -3
  196. package/dist-vue/_chunks/{dist-DV82RztV.js.map → dist-D-G-983p.js.map} +1 -1
  197. package/dist-vue/_chunks/{dist-BNLIqE7O.js → dist-DGsr6BFK.js} +2 -2
  198. package/dist-vue/_chunks/{dist-BNLIqE7O.js.map → dist-DGsr6BFK.js.map} +1 -1
  199. package/dist-vue/_chunks/{dist-DMP9Xsk0.js → dist-DJFxbNlz.js} +2 -2
  200. package/dist-vue/_chunks/{dist-DMP9Xsk0.js.map → dist-DJFxbNlz.js.map} +1 -1
  201. package/dist-vue/_chunks/{dist-bUGhZmKp.js → dist-DKeYnhzh.js} +5 -5
  202. package/dist-vue/_chunks/{dist-bUGhZmKp.js.map → dist-DKeYnhzh.js.map} +1 -1
  203. package/dist-vue/_chunks/{dist--mE2E_mM.js → dist-DL84m6GA.js} +1 -1
  204. package/dist-vue/_chunks/{dist--mE2E_mM.js.map → dist-DL84m6GA.js.map} +1 -1
  205. package/dist-vue/_chunks/{dist-QbFF3eM_.js → dist-DS-IY-lt.js} +4 -4
  206. package/dist-vue/_chunks/{dist-QbFF3eM_.js.map → dist-DS-IY-lt.js.map} +1 -1
  207. package/dist-vue/_chunks/{dist-s_XUA-aw.js → dist-DZloX6N0.js} +3 -3
  208. package/dist-vue/_chunks/{dist-s_XUA-aw.js.map → dist-DZloX6N0.js.map} +1 -1
  209. package/dist-vue/_chunks/{dist-jVwgEJDw.js → dist-DapfuoOT.js} +3 -3
  210. package/dist-vue/_chunks/{dist-jVwgEJDw.js.map → dist-DapfuoOT.js.map} +1 -1
  211. package/dist-vue/_chunks/{dist-BWXfA4NS.js → dist-DmUxIVrQ.js} +5 -5
  212. package/dist-vue/_chunks/{dist-BWXfA4NS.js.map → dist-DmUxIVrQ.js.map} +1 -1
  213. package/dist-vue/_chunks/{dist-BQRG0D3Y.js → dist-LX3EryGA.js} +2 -2
  214. package/dist-vue/_chunks/{dist-BQRG0D3Y.js.map → dist-LX3EryGA.js.map} +1 -1
  215. package/dist-vue/_chunks/{dist-afJW4ohP2.js → dist-Z_cFz9nA.js} +2 -2
  216. package/dist-vue/_chunks/dist-Z_cFz9nA.js.map +1 -0
  217. package/dist-vue/_chunks/{dist-DVM_p-M1.js → dist-mJVylhvZ.js} +4 -4
  218. package/dist-vue/_chunks/{dist-DVM_p-M1.js.map → dist-mJVylhvZ.js.map} +1 -1
  219. package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js → dockerfile-nMSg2tXY.js} +2 -2
  220. package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js.map → dockerfile-nMSg2tXY.js.map} +1 -1
  221. package/dist-vue/_chunks/{dtd-ztbg9nev.js → dtd-BhtRjlzo.js} +1 -1
  222. package/dist-vue/_chunks/{dtd-ztbg9nev.js.map → dtd-BhtRjlzo.js.map} +1 -1
  223. package/dist-vue/_chunks/{dylan-Do2p-AA-.js → dylan-DyLL0Sxl.js} +1 -1
  224. package/dist-vue/_chunks/{dylan-Do2p-AA-.js.map → dylan-DyLL0Sxl.js.map} +1 -1
  225. package/dist-vue/_chunks/{ebnf-ChJPn51D.js → ebnf-DcBh-k1T.js} +1 -1
  226. package/dist-vue/_chunks/{ebnf-ChJPn51D.js.map → ebnf-DcBh-k1T.js.map} +1 -1
  227. package/dist-vue/_chunks/{ecl-ztl4D9j5.js → ecl-C-A1gGx7.js} +1 -1
  228. package/dist-vue/_chunks/{ecl-ztl4D9j5.js.map → ecl-C-A1gGx7.js.map} +1 -1
  229. package/dist-vue/_chunks/{eiffel-BYAAf3D8.js → eiffel-DwgfvIBI.js} +1 -1
  230. package/dist-vue/_chunks/{eiffel-BYAAf3D8.js.map → eiffel-DwgfvIBI.js.map} +1 -1
  231. package/dist-vue/_chunks/{elm-DFquGUxW.js → elm-RPF69bOV.js} +1 -1
  232. package/dist-vue/_chunks/{elm-DFquGUxW.js.map → elm-RPF69bOV.js.map} +1 -1
  233. package/dist-vue/_chunks/{erlang-BIndT8-8.js → erlang-BvNh96Ir.js} +1 -1
  234. package/dist-vue/_chunks/{erlang-BIndT8-8.js.map → erlang-BvNh96Ir.js.map} +1 -1
  235. package/dist-vue/_chunks/{factor-DqGzyyvS.js → factor-B_mOIxzF.js} +2 -2
  236. package/dist-vue/_chunks/{factor-DqGzyyvS.js.map → factor-B_mOIxzF.js.map} +1 -1
  237. package/dist-vue/_chunks/{fcl-MTt_AC1b.js → fcl-C9ulsEA4.js} +1 -1
  238. package/dist-vue/_chunks/{fcl-MTt_AC1b.js.map → fcl-C9ulsEA4.js.map} +1 -1
  239. package/dist-vue/_chunks/{forth-BPoSoJYE.js → forth-CFaZGhGS.js} +1 -1
  240. package/dist-vue/_chunks/{forth-BPoSoJYE.js.map → forth-CFaZGhGS.js.map} +1 -1
  241. package/dist-vue/_chunks/{fortran-BmHZEBN4.js → fortran-Cjm6fEBu.js} +1 -1
  242. package/dist-vue/_chunks/{fortran-BmHZEBN4.js.map → fortran-Cjm6fEBu.js.map} +1 -1
  243. package/dist-vue/_chunks/{gas-7ZHFSr9Y.js → gas-C3adNyJH.js} +1 -1
  244. package/dist-vue/_chunks/{gas-7ZHFSr9Y.js.map → gas-C3adNyJH.js.map} +1 -1
  245. package/dist-vue/_chunks/{gherkin-DiGPpFIT.js → gherkin-DFFRCqQB.js} +1 -1
  246. package/dist-vue/_chunks/{gherkin-DiGPpFIT.js.map → gherkin-DFFRCqQB.js.map} +1 -1
  247. package/dist-vue/_chunks/{groovy-DdKIH6vq.js → groovy-BHcqGGgZ.js} +1 -1
  248. package/dist-vue/_chunks/{groovy-DdKIH6vq.js.map → groovy-BHcqGGgZ.js.map} +1 -1
  249. package/dist-vue/_chunks/{haskell-DAISwZqR.js → haskell-BB45MUCR.js} +1 -1
  250. package/dist-vue/_chunks/{haskell-DAISwZqR.js.map → haskell-BB45MUCR.js.map} +1 -1
  251. package/dist-vue/_chunks/{haxe-CcCnoX02.js → haxe-QBohTRDI.js} +1 -1
  252. package/dist-vue/_chunks/{haxe-CcCnoX02.js.map → haxe-QBohTRDI.js.map} +1 -1
  253. package/dist-vue/_chunks/{http-Dy51A1Ji.js → http-HqJENFoz.js} +1 -1
  254. package/dist-vue/_chunks/{http-Dy51A1Ji.js.map → http-HqJENFoz.js.map} +1 -1
  255. package/dist-vue/_chunks/{idl-Cf5JG3Ez.js → idl-DZZwNvlw.js} +1 -1
  256. package/dist-vue/_chunks/{idl-Cf5JG3Ez.js.map → idl-DZZwNvlw.js.map} +1 -1
  257. package/dist-vue/_chunks/index.es-CikrfdXD.js +950 -0
  258. package/dist-vue/_chunks/index.es-CikrfdXD.js.map +1 -0
  259. package/dist-vue/_chunks/{javascript-CzLVX0gM.js → javascript-C85sLH7Y.js} +1 -1
  260. package/dist-vue/_chunks/{javascript-CzLVX0gM.js.map → javascript-C85sLH7Y.js.map} +1 -1
  261. package/dist-vue/_chunks/{julia-B2PXBujh.js → julia-ChIE7-ml.js} +1 -1
  262. package/dist-vue/_chunks/{julia-B2PXBujh.js.map → julia-ChIE7-ml.js.map} +1 -1
  263. package/dist-vue/_chunks/{livescript-2I87cCXG.js → livescript-BCs3u_kv.js} +1 -1
  264. package/dist-vue/_chunks/{livescript-2I87cCXG.js.map → livescript-BCs3u_kv.js.map} +1 -1
  265. package/dist-vue/_chunks/{lua-C3mMI1er.js → lua-DzZVFmfH.js} +1 -1
  266. package/dist-vue/_chunks/{lua-C3mMI1er.js.map → lua-DzZVFmfH.js.map} +1 -1
  267. package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js → mathematica-Zz2lXOfW.js} +1 -1
  268. package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js.map → mathematica-Zz2lXOfW.js.map} +1 -1
  269. package/dist-vue/_chunks/{mbox-DKAPFpEV.js → mbox-CuPDY4hp.js} +1 -1
  270. package/dist-vue/_chunks/{mbox-DKAPFpEV.js.map → mbox-CuPDY4hp.js.map} +1 -1
  271. package/dist-vue/_chunks/{mirc-BjO0qN2s.js → mirc-DwrsqNtD.js} +1 -1
  272. package/dist-vue/_chunks/{mirc-BjO0qN2s.js.map → mirc-DwrsqNtD.js.map} +1 -1
  273. package/dist-vue/_chunks/{mllike-BlZyj79n.js → mllike-76cVByXA.js} +1 -1
  274. package/dist-vue/_chunks/{mllike-BlZyj79n.js.map → mllike-76cVByXA.js.map} +1 -1
  275. package/dist-vue/_chunks/{modelica-QjIv2_JC.js → modelica-kytS8Bwg.js} +1 -1
  276. package/dist-vue/_chunks/{modelica-QjIv2_JC.js.map → modelica-kytS8Bwg.js.map} +1 -1
  277. package/dist-vue/_chunks/{mscgen-LfC5dXDe.js → mscgen-CoPuHfjN.js} +1 -1
  278. package/dist-vue/_chunks/{mscgen-LfC5dXDe.js.map → mscgen-CoPuHfjN.js.map} +1 -1
  279. package/dist-vue/_chunks/{mumps-Dv1DAXnR.js → mumps-B2uz6FeJ.js} +1 -1
  280. package/dist-vue/_chunks/{mumps-Dv1DAXnR.js.map → mumps-B2uz6FeJ.js.map} +1 -1
  281. package/dist-vue/_chunks/{nginx-3DgpfXl3.js → nginx-BSBpB1IU.js} +1 -1
  282. package/dist-vue/_chunks/{nginx-3DgpfXl3.js.map → nginx-BSBpB1IU.js.map} +1 -1
  283. package/dist-vue/_chunks/{nsis-K3Sov04-.js → nsis-R5ELJwT9.js} +2 -2
  284. package/dist-vue/_chunks/{nsis-K3Sov04-.js.map → nsis-R5ELJwT9.js.map} +1 -1
  285. package/dist-vue/_chunks/{ntriples-BEnyXf7m.js → ntriples-CAwEARBj.js} +1 -1
  286. package/dist-vue/_chunks/{ntriples-BEnyXf7m.js.map → ntriples-CAwEARBj.js.map} +1 -1
  287. package/dist-vue/_chunks/{octave-CyLDdHqN.js → octave-Ufq41PR2.js} +1 -1
  288. package/dist-vue/_chunks/{octave-CyLDdHqN.js.map → octave-Ufq41PR2.js.map} +1 -1
  289. package/dist-vue/_chunks/{oz-D5CDtCy5.js → oz-gzP8z3Q6.js} +1 -1
  290. package/dist-vue/_chunks/{oz-D5CDtCy5.js.map → oz-gzP8z3Q6.js.map} +1 -1
  291. package/dist-vue/_chunks/{pascal-BSLSyZrm.js → pascal-Ccg4lI6j.js} +1 -1
  292. package/dist-vue/_chunks/{pascal-BSLSyZrm.js.map → pascal-Ccg4lI6j.js.map} +1 -1
  293. package/dist-vue/_chunks/{perl-DBW5T0Wn.js → perl-64iNbjRD.js} +1 -1
  294. package/dist-vue/_chunks/{perl-DBW5T0Wn.js.map → perl-64iNbjRD.js.map} +1 -1
  295. package/dist-vue/_chunks/{pig-C5Bshhgj.js → pig-CsJsXnem.js} +1 -1
  296. package/dist-vue/_chunks/{pig-C5Bshhgj.js.map → pig-CsJsXnem.js.map} +1 -1
  297. package/dist-vue/_chunks/{powershell-BEB8cXp1.js → powershell-CPnsuu0v.js} +1 -1
  298. package/dist-vue/_chunks/{powershell-BEB8cXp1.js.map → powershell-CPnsuu0v.js.map} +1 -1
  299. package/dist-vue/_chunks/{properties-Dywxo8ET.js → properties-CEGInQuZ.js} +1 -1
  300. package/dist-vue/_chunks/{properties-Dywxo8ET.js.map → properties-CEGInQuZ.js.map} +1 -1
  301. package/dist-vue/_chunks/{protobuf-236BAJ7w.js → protobuf-BGU8l-K6.js} +1 -1
  302. package/dist-vue/_chunks/{protobuf-236BAJ7w.js.map → protobuf-BGU8l-K6.js.map} +1 -1
  303. package/dist-vue/_chunks/{pug-cbZddqK7.js → pug-DMZOuiBR.js} +2 -2
  304. package/dist-vue/_chunks/{pug-cbZddqK7.js.map → pug-DMZOuiBR.js.map} +1 -1
  305. package/dist-vue/_chunks/{puppet-C2NL98jI.js → puppet-CT38RAOR.js} +1 -1
  306. package/dist-vue/_chunks/{puppet-C2NL98jI.js.map → puppet-CT38RAOR.js.map} +1 -1
  307. package/dist-vue/_chunks/{python-CwQbjwek.js → python-BmpRibCQ.js} +1 -1
  308. package/dist-vue/_chunks/{python-CwQbjwek.js.map → python-BmpRibCQ.js.map} +1 -1
  309. package/dist-vue/_chunks/{q-BSTDwNDO.js → q-CtSYDlyO.js} +1 -1
  310. package/dist-vue/_chunks/{q-BSTDwNDO.js.map → q-CtSYDlyO.js.map} +1 -1
  311. package/dist-vue/_chunks/{r-DFZgsfAZ.js → r-oVGiwSoK.js} +1 -1
  312. package/dist-vue/_chunks/{r-DFZgsfAZ.js.map → r-oVGiwSoK.js.map} +1 -1
  313. package/dist-vue/_chunks/{rpm-C0LbsDPX.js → rpm-B5gOa5-q.js} +1 -1
  314. package/dist-vue/_chunks/{rpm-C0LbsDPX.js.map → rpm-B5gOa5-q.js.map} +1 -1
  315. package/dist-vue/_chunks/{ruby-Bier99ao.js → ruby-34fuN336.js} +1 -1
  316. package/dist-vue/_chunks/{ruby-Bier99ao.js.map → ruby-34fuN336.js.map} +1 -1
  317. package/dist-vue/_chunks/{sas-VrUpo2iQ.js → sas-BlnUKWuD.js} +1 -1
  318. package/dist-vue/_chunks/{sas-VrUpo2iQ.js.map → sas-BlnUKWuD.js.map} +1 -1
  319. package/dist-vue/_chunks/{scheme-D6LSF3th.js → scheme-Ba-z_mxe.js} +1 -1
  320. package/dist-vue/_chunks/{scheme-D6LSF3th.js.map → scheme-Ba-z_mxe.js.map} +1 -1
  321. package/dist-vue/_chunks/{shell-Pil6sZYj.js → shell-B-EgOeQy.js} +1 -1
  322. package/dist-vue/_chunks/{shell-Pil6sZYj.js.map → shell-B-EgOeQy.js.map} +1 -1
  323. package/dist-vue/_chunks/{sieve-BP6vUMh6.js → sieve-DsG7bfYX.js} +1 -1
  324. package/dist-vue/_chunks/{sieve-BP6vUMh6.js.map → sieve-DsG7bfYX.js.map} +1 -1
  325. package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js → simple-mode-wQYx-pPa.js} +1 -1
  326. package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js.map → simple-mode-wQYx-pPa.js.map} +1 -1
  327. package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js → smalltalk-ChZvyDpP.js} +1 -1
  328. package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js.map → smalltalk-ChZvyDpP.js.map} +1 -1
  329. package/dist-vue/_chunks/{solr-VuxI6OR2.js → solr-Dqcv2AYp.js} +1 -1
  330. package/dist-vue/_chunks/{solr-VuxI6OR2.js.map → solr-Dqcv2AYp.js.map} +1 -1
  331. package/dist-vue/_chunks/{sparql-7LilzgeP.js → sparql-DqMXm2dv.js} +1 -1
  332. package/dist-vue/_chunks/{sparql-7LilzgeP.js.map → sparql-DqMXm2dv.js.map} +1 -1
  333. package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js → spreadsheet-DZEh4bps.js} +1 -1
  334. package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js.map → spreadsheet-DZEh4bps.js.map} +1 -1
  335. package/dist-vue/_chunks/{sql-7pX-pbPB.js → sql-MyS5CFp1.js} +1 -1
  336. package/dist-vue/_chunks/{sql-7pX-pbPB.js.map → sql-MyS5CFp1.js.map} +1 -1
  337. package/dist-vue/_chunks/{src-DjRNH9vV.js → src-BteqqLGW.js} +1 -1
  338. package/dist-vue/_chunks/{src-DjRNH9vV.js.map → src-BteqqLGW.js.map} +1 -1
  339. package/dist-vue/_chunks/{stex-Bb7D4YTq.js → stex-CuUykOIw.js} +1 -1
  340. package/dist-vue/_chunks/{stex-Bb7D4YTq.js.map → stex-CuUykOIw.js.map} +1 -1
  341. package/dist-vue/_chunks/{stylus-DtQ7d5hI.js → stylus-BIh9GBXG.js} +1 -1
  342. package/dist-vue/_chunks/{stylus-DtQ7d5hI.js.map → stylus-BIh9GBXG.js.map} +1 -1
  343. package/dist-vue/_chunks/{swift-BUw5YtkI.js → swift-En1d22e-.js} +1 -1
  344. package/dist-vue/_chunks/{swift-BUw5YtkI.js.map → swift-En1d22e-.js.map} +1 -1
  345. package/dist-vue/_chunks/{tcl-DXJDyEhN.js → tcl-CA3XR2Sh.js} +1 -1
  346. package/dist-vue/_chunks/{tcl-DXJDyEhN.js.map → tcl-CA3XR2Sh.js.map} +1 -1
  347. package/dist-vue/_chunks/{textile-CFJlGF4J.js → textile-CKe5SU6F.js} +1 -1
  348. package/dist-vue/_chunks/{textile-CFJlGF4J.js.map → textile-CKe5SU6F.js.map} +1 -1
  349. package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js → tiddlywiki-UOzNZSPW.js} +1 -1
  350. package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js.map → tiddlywiki-UOzNZSPW.js.map} +1 -1
  351. package/dist-vue/_chunks/{tiki-Ck3ovlwE.js → tiki-CTiuYP9v.js} +1 -1
  352. package/dist-vue/_chunks/{tiki-Ck3ovlwE.js.map → tiki-CTiuYP9v.js.map} +1 -1
  353. package/dist-vue/_chunks/{toml-Cj82erLE.js → toml-DDNufn3M.js} +1 -1
  354. package/dist-vue/_chunks/{toml-Cj82erLE.js.map → toml-DDNufn3M.js.map} +1 -1
  355. package/dist-vue/_chunks/{troff-CizaXfug.js → troff-DW8Y_3S4.js} +1 -1
  356. package/dist-vue/_chunks/{troff-CizaXfug.js.map → troff-DW8Y_3S4.js.map} +1 -1
  357. package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js → ttcn-C-DIoNCg.js} +1 -1
  358. package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js.map → ttcn-C-DIoNCg.js.map} +1 -1
  359. package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js → ttcn-cfg-B4ziRnM-.js} +1 -1
  360. package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js.map → ttcn-cfg-B4ziRnM-.js.map} +1 -1
  361. package/dist-vue/_chunks/{turtle-BF5AsFbP.js → turtle-CARqpYpc.js} +1 -1
  362. package/dist-vue/_chunks/{turtle-BF5AsFbP.js.map → turtle-CARqpYpc.js.map} +1 -1
  363. package/dist-vue/_chunks/{useChatbotStore-ys9uGP5v.js → useChatbotStore-C9xj40sY.js} +24 -24
  364. package/dist-vue/_chunks/{useChatbotStore-ys9uGP5v.js.map → useChatbotStore-C9xj40sY.js.map} +1 -1
  365. package/dist-vue/_chunks/{useLightbox-CRpWDdlN.js → useLightbox-CsBDIq4B.js} +2 -2
  366. package/dist-vue/_chunks/{useLightbox-CRpWDdlN.js.map → useLightbox-CsBDIq4B.js.map} +1 -1
  367. package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js +15 -0
  368. package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js.map +1 -0
  369. package/dist-vue/_chunks/{utils-DBd_X5-V.js → utils-D1pBqT-n.js} +2 -2
  370. package/dist-vue/_chunks/{utils-DBd_X5-V.js.map → utils-D1pBqT-n.js.map} +1 -1
  371. package/dist-vue/_chunks/{vb-CeqEYgxc.js → vb-jy9Yl8VS.js} +1 -1
  372. package/dist-vue/_chunks/{vb-CeqEYgxc.js.map → vb-jy9Yl8VS.js.map} +1 -1
  373. package/dist-vue/_chunks/{vbscript-Dy7to0l6.js → vbscript-srk6lbz5.js} +1 -1
  374. package/dist-vue/_chunks/{vbscript-Dy7to0l6.js.map → vbscript-srk6lbz5.js.map} +1 -1
  375. package/dist-vue/_chunks/{velocity-CKubdsu-.js → velocity-DYmMYLwp.js} +1 -1
  376. package/dist-vue/_chunks/{velocity-CKubdsu-.js.map → velocity-DYmMYLwp.js.map} +1 -1
  377. package/dist-vue/_chunks/{verilog-BhlfpzOZ.js → verilog-UsIZeNkB.js} +1 -1
  378. package/dist-vue/_chunks/{verilog-BhlfpzOZ.js.map → verilog-UsIZeNkB.js.map} +1 -1
  379. package/dist-vue/_chunks/{vhdl-8WXkWtGM.js → vhdl-DNCP7Bn1.js} +1 -1
  380. package/dist-vue/_chunks/{vhdl-8WXkWtGM.js.map → vhdl-DNCP7Bn1.js.map} +1 -1
  381. package/dist-vue/_chunks/{webidl-Jc36v0Y0.js → webidl-DOqqk_0y.js} +1 -1
  382. package/dist-vue/_chunks/{webidl-Jc36v0Y0.js.map → webidl-DOqqk_0y.js.map} +1 -1
  383. package/dist-vue/_chunks/{xquery-H0oz85f3.js → xquery-DJDJrmLG.js} +1 -1
  384. package/dist-vue/_chunks/{xquery-H0oz85f3.js.map → xquery-DJDJrmLG.js.map} +1 -1
  385. package/dist-vue/_chunks/{yacas-BdW11VL8.js → yacas-BSgkPzcj.js} +1 -1
  386. package/dist-vue/_chunks/{yacas-BdW11VL8.js.map → yacas-BSgkPzcj.js.map} +1 -1
  387. package/dist-vue/_chunks/{z80-GK9AbKDL.js → z80-C0-Mg9L3.js} +1 -1
  388. package/dist-vue/_chunks/{z80-GK9AbKDL.js.map → z80-C0-Mg9L3.js.map} +1 -1
  389. package/dist-vue/api.js +1 -1
  390. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +2 -1
  391. package/dist-vue/composables.js +92 -80
  392. package/dist-vue/composables.js.map +1 -1
  393. package/dist-vue/index.js +874 -857
  394. package/dist-vue/index.js.map +1 -1
  395. package/dist-vue/locales.js +1 -0
  396. package/dist-vue/packages/ability/src/types.d.ts +3 -1
  397. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +10 -3
  398. package/dist-vue/packages/components/src/chat/PkCopyBlock.d.ts +4 -2
  399. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +5 -1
  400. package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +5 -0
  401. package/dist-vue/packages/components/src/index.d.ts +2 -1
  402. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -0
  403. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  404. package/dist-vue/packages/composable/src/useSafeLocalStorage.d.ts +7 -0
  405. package/dist-vue/packages/models/src/schema/AgentEndpoint.d.ts +108 -0
  406. package/dist-vue/packages/models/src/schema/AgentEndpointLog.d.ts +48 -0
  407. package/dist-vue/packages/models/src/schema/index.d.ts +2 -0
  408. package/dist-vue/style.css +1 -1
  409. package/package.json +3 -2
  410. package/dist/_chunks/PkToolShowArtifact-DzNIkKvZ.js.map +0 -1
  411. package/dist/_chunks/PkToolShowLocation-BsBiA4jV.js +0 -134
  412. package/dist/_chunks/PkToolShowLocation-BsBiA4jV.js.map +0 -1
  413. package/dist/_chunks/vue-leaflet.es-BT-uRmMx.js +0 -1738
  414. package/dist/_chunks/vue-leaflet.es-BT-uRmMx.js.map +0 -1
  415. package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js +0 -1035
  416. package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js.map +0 -1
  417. package/dist-vue/_chunks/PkChatbotMessages-C7-ZtU0-.js.map +0 -1
  418. package/dist-vue/_chunks/PkChatbotViewChat-EWotdJkz.js +0 -792
  419. package/dist-vue/_chunks/PkChatbotViewChat-EWotdJkz.js.map +0 -1
  420. package/dist-vue/_chunks/PkToolShowArtifact-pTS7wzhw.js.map +0 -1
  421. package/dist-vue/_chunks/PkToolShowLocation-DSZvW68g.js +0 -135
  422. package/dist-vue/_chunks/PkToolShowLocation-DSZvW68g.js.map +0 -1
  423. package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js +0 -630
  424. package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js.map +0 -1
  425. package/dist-vue/_chunks/dist-Bh5Q6aSI2.js.map +0 -1
  426. package/dist-vue/_chunks/dist-CAZOa5qs2.js.map +0 -1
  427. package/dist-vue/_chunks/dist-afJW4ohP2.js.map +0 -1
@@ -1,792 +0,0 @@
1
- import { t as e } from "./useChatbotStore-ys9uGP5v.js";
2
- import { f as t, l as n, m as r, p as i, s as a, u as o } from "./createChatbotApiClient-BJL1_AVi.js";
3
- import { a as s, b as c, g as l, l as u, m as d, n as f, o as p, p as m, v as h, x as g, y as _ } from "./schemas-sa2dDEGb.js";
4
- import { m as ee } from "./src-DjRNH9vV.js";
5
- import { t as v } from "./PkUrl-C9annqfF.js";
6
- import { t as y } from "./PkStreamingMarkdown-C-XHB63C.js";
7
- import { n as b } from "./PkChatbotFeedbackForm-Dl1pWKbb.js";
8
- import { t as te } from "./PkChatbotMessages-C7-ZtU0-.js";
9
- import { t as ne } from "./PkChatbotInput-CXydKByS.js";
10
- import { Fragment as x, Transition as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createTextVNode as O, createVNode as k, defineComponent as A, isRef as j, normalizeClass as M, onMounted as N, openBlock as P, reactive as F, ref as I, renderList as L, toDisplayString as R, toValue as z, unref as B, useTemplateRef as re, watch as V, withCtx as H, withModifiers as U } from "vue";
11
- import { VvButton as W, VvButtonGroup as ie, VvIcon as G } from "@volverjs/ui-vue/components";
12
- import { useDropZone as ae, useLocalStorage as oe } from "@vueuse/core";
13
- import { useI18n as K } from "vue-i18n";
14
- import { storeToRefs as se } from "pinia";
15
- var q = s(d({
16
- key: h().optional(),
17
- value: h().optional()
18
- })).transform((e) => e?.filter((e) => e.key?.trim() && e.value?.trim())), J = /* @__PURE__ */ function(e) {
19
- return e.Pending = "pending", e.Processing = "processing", e.Success = "success", e.Failed = "failed", e;
20
- }({}), Y = d({
21
- extractionStrategy: f(o).optional(),
22
- browserEngine: f(n).optional(),
23
- headers: q.nullish()
24
- }), X = d({
25
- source: d({
26
- url: h(),
27
- lastScrapedAt: h()
28
- }).optional(),
29
- media: a.optional(),
30
- title: h().optional(),
31
- author: h().optional(),
32
- description: h().optional(),
33
- summary: h().optional(),
34
- keywords: s(h()).optional(),
35
- subject: h().optional(),
36
- creator: h().optional(),
37
- producer: h().optional(),
38
- creationDate: h().optional(),
39
- modificationDate: h().optional(),
40
- pageCount: _([m(), s(c())]).transform((e) => Array.isArray(e) ? e.length : e).optional(),
41
- encrypted: p().optional(),
42
- characterCount: m().optional(),
43
- lineCount: m().optional(),
44
- siteName: h().optional(),
45
- canonicalUrl: g().optional(),
46
- imageUrl: g().optional(),
47
- favicon: g().optional(),
48
- type: h().optional(),
49
- locale: h().optional(),
50
- tags: s(h()).optional(),
51
- publishedTime: h().optional(),
52
- modifiedTime: h().optional(),
53
- wordCount: m().optional(),
54
- paragraphCount: m().optional(),
55
- readingTime: m().optional(),
56
- conversionOptions: Y.optional()
57
- }).loose(), Z = /* @__PURE__ */ function(e) {
58
- return e.File = "file", e.Url = "url", e.RevisedAnswer = "revised-answer", e.PlainText = "plain-text", e;
59
- }({});
60
- d({
61
- id: h(),
62
- externalId: h().nullable(),
63
- name: h(),
64
- content: h(),
65
- type: h(),
66
- language: h(),
67
- metadata: l(h(), c()),
68
- indexStatus: h(),
69
- processedAt: r().nullable(),
70
- createdAt: r(),
71
- createdBy: h(),
72
- updatedAt: r(),
73
- updatedBy: h(),
74
- deleted: p(),
75
- deletedAt: r().nullable(),
76
- deletedBy: h().nullable(),
77
- organizationId: h()
78
- }).extend({
79
- type: f(Z),
80
- indexStatus: f(J),
81
- metadata: X,
82
- chunksCount: m().optional()
83
- }), d({
84
- ...i.pagination(),
85
- ...i.sort([
86
- "id",
87
- "updatedAt",
88
- "createdAt",
89
- "name"
90
- ]),
91
- ...i.filters([
92
- "type",
93
- "language",
94
- "agentId",
95
- "indexStatus"
96
- ]),
97
- ...i.fullText(),
98
- ...i.ids(),
99
- "filter[similarity]": h().optional()
100
- }), d({
101
- type: f(Z).default(Z.File),
102
- name: h().min(1).max(255).optional(),
103
- language: f(t).optional(),
104
- organizationId: h(),
105
- agentIds: s(h()).min(1, "At least one agent is required"),
106
- media: a.optional(),
107
- url: g().optional(),
108
- content: h().optional(),
109
- metadata: l(h(), c()).optional(),
110
- extractionStrategy: f(o).optional(),
111
- browserEngine: f(n).optional(),
112
- headers: q.nullish().default([])
113
- }).superRefine((e, t) => {
114
- if (e.type === Z.File && !e.media) {
115
- t.addIssue({
116
- code: "custom",
117
- params: { i18n: "errors.required" },
118
- path: ["media"]
119
- });
120
- return;
121
- }
122
- e.type === Z.Url && !e.url && t.addIssue({
123
- code: "custom",
124
- params: { i18n: "errors.required" },
125
- path: ["url"]
126
- }), e.type === Z.PlainText && !(e.name || e.language) && (e.name || t.addIssue({
127
- code: "custom",
128
- params: { i18n: "errors.required" },
129
- path: ["name"]
130
- }), e.language || t.addIssue({
131
- code: "custom",
132
- params: { i18n: "errors.required" },
133
- path: ["language"]
134
- }));
135
- }), d({
136
- id: h(),
137
- organizationId: h(),
138
- content: h().optional(),
139
- name: h().min(1).max(255).optional(),
140
- language: f(t).optional(),
141
- agentIds: s(h()).min(1).optional(),
142
- metadata: l(h(), c()).optional()
143
- });
144
- var ce = (e) => {
145
- switch (e) {
146
- case Z.File: return "ri:file-line";
147
- case Z.Url: return "ri:link";
148
- case Z.RevisedAnswer: return "ri:feedback-line";
149
- default: return "ri:input-method-line";
150
- }
151
- }, Q = { class: "px-sm py-10 font-bold bg-surface-1 text-12 border-b border-surface-3 text-word-3" }, le = { class: "px-sm py-10" }, ue = /* @__PURE__ */ A({
152
- __name: "PkToolShowMultipleChoice",
153
- props: { part: {} },
154
- emits: ["select"],
155
- setup(e, { emit: t }) {
156
- let n = e, r = t, i = C(() => JSON.parse(JSON.stringify(n.part))), a = C(() => (i.value?.input?.options ?? []).map((e) => typeof e == "string" ? e : e.label)), o = C(() => {
157
- let e = i.value?.output;
158
- if (e) return typeof e == "string" ? e : e.label;
159
- }), s = C(() => i.value?.state || "unknown"), c = C(() => s.value === "input-available");
160
- return (e, t) => {
161
- let n = W, l = ie;
162
- return a.value.length ? (P(), E("div", {
163
- key: s.value,
164
- class: "border border-surface-3 rounded-xl w-full overflow-hidden"
165
- }, [D("div", Q, R(i.value.input?.question), 1), D("div", le, [(P(), w(l, {
166
- key: a.value.length,
167
- modifiers: "vertical",
168
- class: "w-full"
169
- }, {
170
- default: H(() => [(P(!0), E(x, null, L(a.value, (e, t) => (P(), w(n, {
171
- key: t,
172
- modifiers: "action-multiline",
173
- class: M(["whitespace-normal w-full", { pressed: e === o.value }]),
174
- disabled: !c.value,
175
- label: e,
176
- onClick: U((t) => r("select", e), ["stop"])
177
- }, null, 8, [
178
- "class",
179
- "disabled",
180
- "label",
181
- "onClick"
182
- ]))), 128))]),
183
- _: 1
184
- }))])])) : T("", !0);
185
- };
186
- }
187
- });
188
- //#endregion
189
- //#region ../../packages/components/src/composables/useLocalizedString.ts
190
- function $(e, t) {
191
- let { locale: n, t: r, te: i } = K({ useScope: "global" });
192
- return C(() => {
193
- let a = z(e), o = t !== void 0 && i(t) ? r(t) : void 0;
194
- return a && a[n.value] || o;
195
- });
196
- }
197
- //#endregion
198
- //#region ../../packages/components/src/chat/PkToolShowContactForm.vue?vue&type=script&setup=true&lang.ts
199
- var de = { class: "border border-surface-3 rounded-xl w-full overflow-hidden" }, fe = { class: "px-sm py-6 bg-surface-1 text-12 border-b border-surface-3 text-word-3 flex items-center gap-8 min-h-40" }, pe = { class: "font-bold" }, me = {
200
- key: 0,
201
- class: "p-sm"
202
- }, he = { class: "flex justify-between items-center gap-16 mt-xs" }, ge = { class: "text-smaller text-word-3 flex items-center gap-8" }, _e = {
203
- key: 1,
204
- class: "p-sm"
205
- }, ve = { class: "flex items-center gap-sm" }, ye = { class: "font-semibold block text-success" }, be = { class: "text-word-3" }, xe = /* @__PURE__ */ A({
206
- __name: "PkToolShowContactForm",
207
- props: {
208
- part: {},
209
- submitted: { type: Boolean },
210
- loading: { type: Boolean },
211
- error: {},
212
- readonly: { type: Boolean },
213
- privacyPolicyNotice: {}
214
- },
215
- emits: ["submit"],
216
- setup(e, { emit: t }) {
217
- let { t: n } = K({ useScope: "global" }), r = e, i = C(() => r.part), a = C(() => i.value.input), o = oe(C(() => `${i.value.toolCallId}-${i.value.type}-submitted`), !1), s = d({
218
- name: h().min(1).max(255).default(""),
219
- email: u().max(255).default(""),
220
- phone: h().max(50).regex(/^[+0-9\s\-.()]*$/, n("validation.invalidPhoneNumber")).optional()
221
- }), c = t, { VvForm: l, VvFormField: f, formData: p } = b(s, { lazyLoad: !0 });
222
- V(a, (e) => {
223
- p.value = {
224
- name: e?.name || "",
225
- email: e?.email || "",
226
- phone: e?.phone || ""
227
- };
228
- }, { immediate: !0 }), V(() => r.submitted, (e) => {
229
- e && (o.value = !0);
230
- }, { immediate: !0 });
231
- let m = C(() => r.submitted || o.value), g = async (e) => {
232
- c("submit", {
233
- ...e,
234
- metadata: a.value?.conversationContext
235
- });
236
- }, _ = $(() => r.privacyPolicyNotice, "message.defaultPrivacyPolicyNotice");
237
- return (t, r) => {
238
- let i = G, a = W;
239
- return P(), E("div", de, [D("div", fe, [k(i, {
240
- name: "ri:send-plane-2-line",
241
- class: "text-16"
242
- }), D("strong", pe, R(B(n)("label.contactUs")), 1)]), k(S, { mode: "out-in" }, {
243
- default: H(() => [m.value ? (P(), E("div", _e, [D("div", ve, [k(i, {
244
- name: "ri:mail-check-line",
245
- class: "text-24 text-success"
246
- }), D("div", null, [D("strong", ye, R(B(n)("message.leadSubmittedTitle")), 1), D("p", be, R(B(n)("message.leadSubmittedMessage")), 1)])])])) : (P(), E("div", me, [k(B(l), {
247
- modelValue: B(p),
248
- "onUpdate:modelValue": r[0] ||= (e) => j(p) ? p.value = e : null,
249
- readonly: e.readonly,
250
- onSubmit: g
251
- }, {
252
- default: H(() => [
253
- k(B(f), {
254
- name: "name",
255
- type: "text",
256
- label: B(n)("label.name"),
257
- placeholder: B(n)("placeholder.name"),
258
- icon: "ri:user-line",
259
- modifiers: "compact no-label",
260
- class: "mb-md"
261
- }, null, 8, ["label", "placeholder"]),
262
- k(B(f), {
263
- name: "email",
264
- type: "email",
265
- label: B(n)("label.email"),
266
- placeholder: B(n)("placeholder.email"),
267
- icon: "ri:mail-line",
268
- modifiers: "compact no-label",
269
- class: "mb-md"
270
- }, null, 8, ["label", "placeholder"]),
271
- k(B(f), {
272
- name: "phone",
273
- type: "tel",
274
- label: B(n)("label.phone"),
275
- placeholder: B(n)("placeholder.phone"),
276
- icon: "ri:phone-line",
277
- class: "mb-md",
278
- modifiers: "compact no-label"
279
- }, null, 8, ["label", "placeholder"]),
280
- D("div", he, [D("div", ge, [k(i, {
281
- name: "ri:shield-check-line",
282
- class: "text-16 shrink-0"
283
- }), k(y, {
284
- markdown: B(_),
285
- class: "wysiwyg"
286
- }, null, 8, ["markdown"])]), k(a, {
287
- type: "submit",
288
- modifiers: "primary",
289
- loading: e.loading,
290
- disabled: e.loading || e.readonly,
291
- "icon-position": "right",
292
- class: "shrink-0",
293
- label: B(n)("action.submit")
294
- }, null, 8, [
295
- "loading",
296
- "disabled",
297
- "label"
298
- ])])
299
- ]),
300
- _: 1
301
- }, 8, ["modelValue", "readonly"])]))]),
302
- _: 1
303
- })]);
304
- };
305
- }
306
- }), Se = {
307
- key: 0,
308
- class: "pk-tool-suggested-reply"
309
- }, Ce = ["disabled"], we = /* @__PURE__ */ A({
310
- __name: "PkToolShowSuggestedReply",
311
- props: { part: {} },
312
- emits: ["select"],
313
- setup(e, { emit: t }) {
314
- let n = e, r = t, i = C(() => JSON.parse(JSON.stringify(n.part))), a = I(!1), o = C(() => i.value?.state === "input-available" && !a.value);
315
- function s() {
316
- if (!o.value) return;
317
- a.value = !0;
318
- let e = i.value?.input?.prompt ?? i.value?.input?.label;
319
- e && r("select", e);
320
- }
321
- return (e, t) => {
322
- let n = G;
323
- return i.value.input?.label ? (P(), E("div", Se, [D("button", {
324
- type: "button",
325
- class: M(["pk-tool-suggested-reply__link", {
326
- "is-clicked": a.value,
327
- "is-disabled": !o.value
328
- }]),
329
- disabled: !o.value,
330
- onClick: U(s, ["stop"])
331
- }, [k(n, {
332
- name: "ri:corner-down-right-line",
333
- class: "pk-tool-suggested-reply__icon"
334
- }), D("span", null, R(i.value.input.label), 1)], 10, Ce)])) : T("", !0);
335
- };
336
- }
337
- }), Te = ["title"], Ee = {
338
- key: 0,
339
- class: "text-10 text-word-4 shrink-0"
340
- }, De = /* @__PURE__ */ A({
341
- __name: "PkChunkPreview",
342
- props: {
343
- content: {},
344
- similarity: {},
345
- maxSimilarity: {},
346
- expanded: { type: Boolean }
347
- },
348
- setup(e) {
349
- let t = e, n = C(() => {
350
- if (t.similarity == null) return null;
351
- let e = t.maxSimilarity && t.maxSimilarity > 0 ? t.maxSimilarity : 1;
352
- return Math.round(t.similarity / e * 100);
353
- });
354
- return (t, r) => {
355
- let i = G;
356
- return P(), E(x, null, [
357
- k(i, {
358
- name: "ri:text-snippet",
359
- class: "shrink-0 text-12 text-word-4"
360
- }),
361
- D("span", {
362
- class: "text-10 text-word-2 truncate flex-1",
363
- title: e.content
364
- }, R(B(ee)(e.content)), 9, Te),
365
- n.value == null ? T("", !0) : (P(), E("span", Ee, R(n.value) + "% ", 1)),
366
- k(i, {
367
- name: e.expanded ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
368
- class: "text-14 text-word-4 shrink-0"
369
- }, null, 8, ["name"])
370
- ], 64);
371
- };
372
- }
373
- }), Oe = { class: "flex flex-col gap-2 min-w-0 flex-1" }, ke = { class: "font-bold text-12 text-word-1 truncate block" }, Ae = {
374
- key: 0,
375
- class: "text-10 text-word-4 truncate"
376
- }, je = {
377
- key: 1,
378
- class: "text-10 text-word-4 truncate flex items-center gap-4"
379
- }, Me = /* @__PURE__ */ A({
380
- __name: "PkDocumentHeader",
381
- props: {
382
- type: {},
383
- name: {},
384
- url: {},
385
- filename: {}
386
- },
387
- setup(e) {
388
- return (t, n) => {
389
- let r = G;
390
- return P(), E(x, null, [k(r, {
391
- name: B(ce)(e.type),
392
- class: "shrink-0 text-14 text-word-3"
393
- }, null, 8, ["name"]), D("div", Oe, [
394
- D("strong", ke, R(e.name), 1),
395
- e.filename ? (P(), E("span", Ae, R(e.filename), 1)) : T("", !0),
396
- e.url ? (P(), E("span", je, [k(r, {
397
- name: "ri:link",
398
- class: "shrink-0 text-10"
399
- }), k(v, { url: e.url }, null, 8, ["url"])])) : T("", !0)
400
- ])], 64);
401
- };
402
- }
403
- }), Ne = {
404
- key: 0,
405
- class: "flex flex-col gap-xs w-full"
406
- }, Pe = { class: "flex items-center gap-4 text-12 text-word-3 font-semibold" }, Fe = { class: "text-word-4 font-normal" }, Ie = { class: "flex flex-col gap-xs" }, Le = ["onClick"], Re = { class: "flex items-center gap-4 shrink-0" }, ze = {
407
- key: 0,
408
- class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
409
- }, Be = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, Ve = {
410
- key: 0,
411
- class: "border-t border-surface-3"
412
- }, He = ["onClick"], Ue = {
413
- key: 0,
414
- class: "bg-surface-1 border-t border-surface-3"
415
- }, We = { class: "p-8 text-10 text-word-3" }, Ge = { class: "flex items-center gap-8 px-8 py-6 border-t border-surface-3 bg-surface" }, Ke = ["disabled", "onClick"], qe = ["onClick"], Je = ["href"], Ye = ["onClick"], Xe = /* @__PURE__ */ A({
416
- __name: "PkToolShowSources",
417
- props: {
418
- part: {},
419
- onExpandContext: { type: Function },
420
- onDownload: { type: Function }
421
- },
422
- setup(e) {
423
- let t = e, n = C(() => t.part), r = C(() => n.value.input?.sources || []), i = C(() => {
424
- let e = /* @__PURE__ */ new Map();
425
- for (let t of r.value) {
426
- let n = e.get(t.documentId);
427
- n ? n.chunks.push(t) : e.set(t.documentId, {
428
- document: t,
429
- chunks: [t]
430
- });
431
- }
432
- return [...e.values()];
433
- }), a = C(() => Math.max(...r.value.map((e) => e.similarity ?? 0), 0)), o = F(/* @__PURE__ */ new Set()), s = F(/* @__PURE__ */ new Set()), c = F(/* @__PURE__ */ new Map()), l = F(/* @__PURE__ */ new Set()), u = (e) => {
434
- o.has(e) ? o.delete(e) : o.add(e);
435
- }, d = (e) => {
436
- s.has(e) ? s.delete(e) : s.add(e);
437
- }, f = async (e) => {
438
- if (!(e.chunkIndex == null || !t.onExpandContext)) {
439
- l.add(e.chunkId);
440
- try {
441
- let n = await t.onExpandContext({
442
- documentId: e.documentId,
443
- chunkIndex: e.chunkIndex
444
- });
445
- c.set(e.chunkId, n);
446
- } finally {
447
- l.delete(e.chunkId);
448
- }
449
- }
450
- }, p = (e) => {
451
- c.delete(e);
452
- }, m = I(!1), h = C(() => m.value ? i.value : i.value.slice(0, 3)), g = C(() => i.value.length > 3);
453
- return (t, n) => {
454
- let _ = G;
455
- return r.value.length ? (P(), E("div", Ne, [
456
- D("div", Pe, [
457
- k(_, {
458
- name: "ri:article-line",
459
- class: "text-14"
460
- }),
461
- O(" " + R(t.$t("label.sources")) + " ", 1),
462
- D("span", Fe, " (" + R(i.value.length) + ") ", 1)
463
- ]),
464
- D("ul", Ie, [(P(!0), E(x, null, L(h.value, (n) => (P(), E("li", {
465
- key: n.document.documentId,
466
- class: "border border-surface-3 rounded-lg overflow-hidden"
467
- }, [D("button", {
468
- class: "flex items-center gap-8 p-8 w-full text-left hover:bg-surface-1 transition-colors cursor-pointer",
469
- onClick: (e) => u(n.document.documentId)
470
- }, [k(Me, {
471
- type: n.document.documentType,
472
- name: n.document.documentName,
473
- url: n.document.sourceUrl,
474
- filename: n.document.sourceFilename
475
- }, null, 8, [
476
- "type",
477
- "name",
478
- "url",
479
- "filename"
480
- ]), D("div", Re, [
481
- n.chunks.length > 1 ? (P(), E("span", ze, R(n.chunks.length), 1)) : T("", !0),
482
- D("span", Be, R(n.document.language), 1),
483
- k(_, {
484
- name: o.has(n.document.documentId) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
485
- class: "text-16 text-word-3"
486
- }, null, 8, ["name"])
487
- ])], 8, Le), o.has(n.document.documentId) ? (P(), E("div", Ve, [n.document.sourceDescription ? (P(), w(y, {
488
- key: 0,
489
- markdown: n.document.sourceDescription,
490
- class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
491
- }, null, 8, ["markdown"])) : T("", !0), (P(!0), E(x, null, L(n.chunks, (n) => (P(), E("div", {
492
- key: n.chunkId,
493
- class: "border-b border-surface-3 last:border-b-0"
494
- }, [D("button", {
495
- class: "flex items-center gap-8 px-8 py-6 w-full text-left hover:bg-surface-1 transition-colors cursor-pointer",
496
- onClick: (e) => d(n.chunkId)
497
- }, [k(De, {
498
- content: n.content,
499
- similarity: n.similarity,
500
- "max-similarity": a.value,
501
- expanded: s.has(n.chunkId)
502
- }, null, 8, [
503
- "content",
504
- "similarity",
505
- "max-similarity",
506
- "expanded"
507
- ])], 8, He), s.has(n.chunkId) ? (P(), E("div", Ue, [D("div", We, [k(S, { mode: "out-in" }, {
508
- default: H(() => [c.has(n.chunkId) ? (P(), w(y, {
509
- key: 0,
510
- markdown: c.get(n.chunkId),
511
- class: "wysiwyg"
512
- }, null, 8, ["markdown"])) : (P(), w(y, {
513
- key: 1,
514
- markdown: n.content,
515
- class: "wysiwyg"
516
- }, null, 8, ["markdown"]))]),
517
- _: 2
518
- }, 1024)]), D("div", Ge, [
519
- e.onExpandContext && n.chunkIndex != null && !c.has(n.chunkId) ? (P(), E("button", {
520
- key: 0,
521
- class: "text-10 text-word-3 hover:text-word flex items-center gap-4 cursor-pointer",
522
- disabled: l.has(n.chunkId),
523
- onClick: (e) => f(n)
524
- }, [k(_, {
525
- name: l.has(n.chunkId) ? "line-md:loading-loop" : "ri:expand-up-down-line",
526
- class: "text-12"
527
- }, null, 8, ["name"]), O(" " + R(t.$t("label.expandContext")), 1)], 8, Ke)) : c.has(n.chunkId) ? (P(), E("button", {
528
- key: 1,
529
- class: "text-10 text-word-3 hover:text-word-1 flex items-center gap-4 cursor-pointer",
530
- onClick: (e) => p(n.chunkId)
531
- }, [k(_, {
532
- name: "ri:collapse-vertical-line",
533
- class: "text-12"
534
- }), O(" " + R(t.$t("label.collapseContext")), 1)], 8, qe)) : T("", !0),
535
- n.sourceUrl ? (P(), E("a", {
536
- key: 2,
537
- href: n.sourceUrl,
538
- target: "_blank",
539
- rel: "noopener noreferrer",
540
- class: "text-10 text-word-3 hover:text-word-1 flex items-center gap-4 ml-auto"
541
- }, [k(_, {
542
- name: "ri:external-link-line",
543
- class: "text-12"
544
- }), O(" " + R(t.$t("label.openSource")), 1)], 8, Je)) : T("", !0),
545
- e.onDownload && n.documentType === "file" ? (P(), E("button", {
546
- key: 3,
547
- class: M(["text-10 text-word-3 hover:text-word-1 flex items-center gap-4 cursor-pointer", { "ml-auto": !n.sourceUrl }]),
548
- onClick: (t) => e.onDownload(n.documentId)
549
- }, [k(_, {
550
- name: "ri:download-line",
551
- class: "text-12"
552
- }), O(" " + R(t.$t("label.downloadFile")), 1)], 10, Ye)) : T("", !0)
553
- ])])) : T("", !0)]))), 128))])) : T("", !0)]))), 128))]),
554
- g.value ? (P(), E("button", {
555
- key: 0,
556
- class: "text-12 text-word-3 cursor-pointer hover:underline flex items-center gap-4 mx-auto",
557
- onClick: n[0] ||= (e) => m.value = !m.value
558
- }, [k(_, {
559
- name: m.value ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
560
- class: "text-16"
561
- }, null, 8, ["name"]), O(" " + R(m.value ? t.$t("action.showLess") : t.$t("action.showMore", { count: i.value.length - 3 })), 1)])) : T("", !0)
562
- ])) : T("", !0);
563
- };
564
- }
565
- }), Ze = { class: "flex items-center gap-6 text-12 text-word-3 border border-surface-3 rounded-xl px-sm py-10" }, Qe = /* @__PURE__ */ A({
566
- __name: "PkToolRequestGeolocation",
567
- props: {
568
- part: {},
569
- reverseGeocode: { type: Function }
570
- },
571
- emits: ["result"],
572
- setup(e, { emit: t }) {
573
- let n = e, r = t, { t: i } = K({ useScope: "global" }), a = C(() => n.part), o = C(() => a.value.state ?? "unknown"), s = C(() => o.value === "output-available"), c = C(() => {
574
- let e = a.value.output;
575
- if (!(!e || "error" in e)) return e;
576
- }), l = C(() => {
577
- let e = a.value.output;
578
- if (!(!e || !("error" in e))) return e;
579
- });
580
- function u(e) {
581
- return e === 1 ? "permission_denied" : e === 3 ? "timeout" : "position_unavailable";
582
- }
583
- return N(() => {
584
- if (o.value === "input-available") {
585
- if (!navigator.geolocation) {
586
- r("result", { error: "position_unavailable" });
587
- return;
588
- }
589
- navigator.geolocation.getCurrentPosition(async (e) => {
590
- let { latitude: t, longitude: i, accuracy: a } = e.coords;
591
- r("result", {
592
- latitude: t,
593
- longitude: i,
594
- accuracy: a,
595
- city: n.reverseGeocode ? await n.reverseGeocode(t, i).catch(() => void 0) : void 0
596
- });
597
- }, (e) => {
598
- r("result", { error: u(e.code) });
599
- }, { timeout: 15e3 });
600
- }
601
- }), (e, t) => {
602
- let n = G;
603
- return P(), E("div", Ze, [s.value ? c.value ? (P(), E(x, { key: 1 }, [k(n, {
604
- name: "ri:map-pin-line",
605
- class: "text-16"
606
- }), D("span", null, [O(R(e.$n(c.value.latitude, {
607
- style: "decimal",
608
- minimumFractionDigits: 5,
609
- maximumFractionDigits: 5
610
- })) + ", " + R(e.$n(c.value.longitude, {
611
- style: "decimal",
612
- minimumFractionDigits: 5,
613
- maximumFractionDigits: 5
614
- })) + " ", 1), c.value.accuracy === void 0 ? T("", !0) : (P(), E(x, { key: 0 }, [O(" (±" + R(e.$n(c.value.accuracy, {
615
- style: "unit",
616
- unit: "meter"
617
- })) + ") ", 1)], 64))])], 64)) : l.value ? (P(), E(x, { key: 2 }, [t[0] ||= D("span", { class: "i-vv-alert-circle text-16 shrink-0 text-danger" }, null, -1), D("span", null, R(l.value.error === "permission_denied" ? B(i)("message.geolocationPermissionDenied") : B(i)("message.geolocationUnavailable")), 1)], 64)) : T("", !0) : (P(), E(x, { key: 0 }, [k(n, {
618
- name: "line-md:loading-loop",
619
- class: "text-16"
620
- }), D("span", null, R(B(i)("messagePart.requestGeolocation")), 1)], 64))]);
621
- };
622
- }
623
- }), $e = {
624
- key: 0,
625
- class: "p-md border-t border-surface-3 text-center text-12 text-danger-darken-2 bg-surface-danger"
626
- }, et = {
627
- key: 0,
628
- class: "pk-chatbot-view-chat__drop-overlay"
629
- }, tt = /* @__PURE__ */ A({
630
- __name: "PkChatbotViewChat",
631
- props: { agentId: {} },
632
- emits: ["show-info", "revise"],
633
- setup(t, { emit: n }) {
634
- let r = t, i = n, a = e(r.agentId), { name: o, agentInterface: s, agentFileUpload: c, actions: l, revisedAnswers: u, messages: d, chat: f, messageFeedbacks: p, feedbackDialogMessage: m, isFeedbackSubmitting: h, isFeedbackSubmitted: g, feedbackSubmitError: _, isLeadSubmitted: ee, isLoadingSubmitLead: v, submitLeadError: y, input: b, inputMessagePlaceholder: x, isConversationBlocked: O, baseUrl: A, pendingAttachments: N, apiClient: F } = se(a), { handleSubmit: I, stopGeneration: L, regenerate: z, onUpvote: V, onDownvote: U, onFeedback: W, onFeedbackSubmit: ie, onLeadSubmit: oe, startNewChat: K, addToolOutput: q, handleFileSelect: J } = a, Y = $(() => s.value?.dismissableNotice), X = re("chatViewEl"), Z = async (e) => (await F.value.expandSourceContext(r.agentId, e.documentId, e.chunkIndex)).content, ce = async (e) => {
635
- let t = await F.value.downloadSourceDocument(r.agentId, e);
636
- window.open(t.downloadUrl, "_blank");
637
- }, { isOverDropZone: Q } = ae(X, {
638
- dataTypes: C(() => c.value?.allowedMimeTypes ?? []),
639
- onDrop: (e) => {
640
- if (!(!c.value?.enabled || !e)) for (let t of e) J(t);
641
- }
642
- });
643
- return (e, t) => {
644
- let n = G;
645
- return P(), E("div", {
646
- ref_key: "chatViewEl",
647
- ref: X,
648
- class: M(["pk-chatbot-view-chat", { "pk-chatbot-view-chat--dragover": B(Q) && B(c)?.enabled }])
649
- }, [
650
- k(te, {
651
- class: "flex flex-col flex-1 min-h-0 p-md overflow-y-auto",
652
- name: B(o),
653
- messages: B(d),
654
- status: B(f).status,
655
- error: B(f).error,
656
- "main-color": B(s)?.mainColor,
657
- "text-color": B(s)?.textColor,
658
- "revised-answers": B(u),
659
- actions: B(l),
660
- logo: B(s)?.logo,
661
- "message-feedbacks": B(p),
662
- "feedback-message-id": B(m)?.id,
663
- "feedback-loading": B(h),
664
- "feedback-submitted": B(g),
665
- "feedback-error": B(_),
666
- onFeedbackSubmit: t[1] ||= (e) => B(ie)(e),
667
- onFeedbackClose: t[2] ||= (e) => m.value = void 0,
668
- onRegenerate: B(z),
669
- onAutoRetry: B(z),
670
- onResetChat: B(K),
671
- onShowInfo: t[3] ||= (e) => i("show-info", e),
672
- onRevise: t[4] ||= (e) => i("revise", e),
673
- onUpvote: B(V),
674
- onDownvote: B(U),
675
- onFeedback: B(W)
676
- }, {
677
- "tool-showContactForm": H(({ part: e }) => [k(xe, {
678
- part: e,
679
- readonly: !B(A),
680
- submitted: B(ee),
681
- loading: B(v),
682
- error: B(y),
683
- "privacy-policy-notice": B(s)?.privacyPolicyNotice,
684
- onSubmit: B(oe)
685
- }, null, 8, [
686
- "part",
687
- "readonly",
688
- "submitted",
689
- "loading",
690
- "error",
691
- "privacy-policy-notice",
692
- "onSubmit"
693
- ])]),
694
- "tool-showSuggestedReply": H(({ part: e }) => [k(we, {
695
- part: e,
696
- onSelect: t[0] ||= (e) => {
697
- b.value = e, B(I)();
698
- }
699
- }, null, 8, ["part"])]),
700
- "tool-showSources": H(({ part: e }) => [k(Xe, {
701
- part: e,
702
- "on-expand-context": Z,
703
- "on-download": ce
704
- }, null, 8, ["part"])]),
705
- "tool-showMultipleChoice": H(({ part: e }) => [k(S, { mode: "out-in" }, {
706
- default: H(() => [k(ue, {
707
- part: e,
708
- onSelect: (t) => B(q)({
709
- tool: "showMultipleChoice",
710
- toolCallId: e.toolCallId,
711
- output: t
712
- })
713
- }, null, 8, ["part", "onSelect"])]),
714
- _: 2
715
- }, 1024)]),
716
- "tool-requestGeolocation": H(({ part: e }) => [k(Qe, {
717
- part: e,
718
- "reverse-geocode": (e, t) => B(F).reverseGeocode(e, t),
719
- onResult: (t) => B(q)({
720
- tool: "requestGeolocation",
721
- toolCallId: e.toolCallId,
722
- output: t
723
- })
724
- }, null, 8, [
725
- "part",
726
- "reverse-geocode",
727
- "onResult"
728
- ])]),
729
- _: 1
730
- }, 8, [
731
- "name",
732
- "messages",
733
- "status",
734
- "error",
735
- "main-color",
736
- "text-color",
737
- "revised-answers",
738
- "actions",
739
- "logo",
740
- "message-feedbacks",
741
- "feedback-message-id",
742
- "feedback-loading",
743
- "feedback-submitted",
744
- "feedback-error",
745
- "onRegenerate",
746
- "onAutoRetry",
747
- "onResetChat",
748
- "onUpvote",
749
- "onDownvote",
750
- "onFeedback"
751
- ]),
752
- B(O) ? (P(), E("div", $e, R(e.$t("message.chatErrorConversationBlocked")), 1)) : (P(), w(ne, {
753
- key: 1,
754
- modelValue: B(b),
755
- "onUpdate:modelValue": t[5] ||= (e) => j(b) ? b.value = e : null,
756
- "pending-attachments": B(N),
757
- "onUpdate:pendingAttachments": t[6] ||= (e) => j(N) ? N.value = e : null,
758
- placeholder: B(x),
759
- "dismissable-notice": B(Y) && B(f).messages.length <= 1 ? B(Y) : void 0,
760
- status: B(f).status,
761
- "max-message-length": B(s)?.maxMessageLength,
762
- "file-upload": B(c),
763
- onStopGeneration: B(L),
764
- onSubmit: B(I),
765
- onFileSelect: B(J)
766
- }, null, 8, [
767
- "modelValue",
768
- "pending-attachments",
769
- "placeholder",
770
- "dismissable-notice",
771
- "status",
772
- "max-message-length",
773
- "file-upload",
774
- "onStopGeneration",
775
- "onSubmit",
776
- "onFileSelect"
777
- ])),
778
- k(S, null, {
779
- default: H(() => [B(Q) && B(c)?.enabled ? (P(), E("div", et, [k(n, {
780
- name: "ri:upload-cloud-2-line",
781
- class: "pk-chatbot-view-chat__drop-overlay-icon"
782
- }), D("span", null, R(e.$t("action.dropFile")), 1)])) : T("", !0)]),
783
- _: 1
784
- })
785
- ], 2);
786
- };
787
- }
788
- });
789
- //#endregion
790
- export { we as a, ue as c, De as i, Xe as n, xe as o, Me as r, $ as s, tt as t };
791
-
792
- //# sourceMappingURL=PkChatbotViewChat-EWotdJkz.js.map