@8wave/ai-elements 0.68.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.
- package/README.md +30 -5
- package/dist/_chunks/{PkStreamingMarkdown-D3MJ5dfu.js → PkStreamingMarkdown-CCD_gifi.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-D3MJ5dfu.js.map → PkStreamingMarkdown-CCD_gifi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-BFe_MhNr.js → PkToolShowArtifact-BZ9-wuXH.js} +13 -12
- package/dist/_chunks/PkToolShowArtifact-BZ9-wuXH.js.map +1 -0
- package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js → PkToolShowCalendarEvent-BFHzjM9E.js} +2 -2
- package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js.map → PkToolShowCalendarEvent-BFHzjM9E.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js → PkToolShowComparison-D-cY7yXE.js} +1 -1
- package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js.map → PkToolShowComparison-D-cY7yXE.js.map} +1 -1
- package/dist/_chunks/PkToolShowContactForm-B5Zuup-c.js +2 -0
- package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js +1102 -0
- package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js.map +1 -0
- package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js → PkToolShowEmail-BhGdH4Ig.js} +1 -1
- package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js.map → PkToolShowEmail-BhGdH4Ig.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js → PkToolShowImageGallery-CiN2M02m.js} +3 -3
- package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js.map → PkToolShowImageGallery-CiN2M02m.js.map} +1 -1
- package/dist/_chunks/PkToolShowLocation-CbaF2oBf.js +2 -0
- package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js +4996 -0
- package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js.map +1 -0
- package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js → PkToolShowMessage-5Luc042T.js} +1 -1
- package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js.map → PkToolShowMessage-5Luc042T.js.map} +1 -1
- package/dist/_chunks/PkToolShowMultipleChoice-DgfLPaKE.js +2 -0
- package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js +44 -0
- package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js.map +1 -0
- package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js → PkToolShowProductList-BSLTdM8w.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js.map → PkToolShowProductList-BSLTdM8w.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js → PkToolShowQrCode-DLSOtaV9.js} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js.map → PkToolShowQrCode-DLSOtaV9.js.map} +1 -1
- package/dist/_chunks/PkToolShowSources-BZyYFWu6.js +490 -0
- package/dist/_chunks/PkToolShowSources-BZyYFWu6.js.map +1 -0
- package/dist/_chunks/PkToolShowSources-C0Edf43F.js +2 -0
- package/dist/_chunks/PkToolShowSuggestedReply-CMIWzymE.js +2 -0
- package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js +40 -0
- package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js.map +1 -0
- package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js → PkToolShowWeather-BmB6I1CQ.js} +1 -1
- package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js.map → PkToolShowWeather-BmB6I1CQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js → PkToolShowWebPages-BQEuy2SB.js} +3 -3
- package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js.map → PkToolShowWebPages-BQEuy2SB.js.map} +1 -1
- package/dist/_chunks/{PkUrl-BiCK2gUF.js → PkUrl-DbCzf0TH.js} +5 -8
- package/dist/_chunks/{PkUrl-BiCK2gUF.js.map → PkUrl-DbCzf0TH.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js → VvCheckbox.es-xoDP7xfG.js} +1 -1
- package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js.map → VvCheckbox.es-xoDP7xfG.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js → VvCheckboxGroup.es-CqmkSf32.js} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js.map → VvCheckboxGroup.es-CqmkSf32.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js → VvCombobox.es-8c5A9J7u.js} +1 -1
- package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js.map → VvCombobox.es-8c5A9J7u.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js → VvInputText.es-C3DasKVI.js} +1 -1
- package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js.map → VvInputText.es-C3DasKVI.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-CBNUR8-A.js → VvRadio.es-DWCbGLSw.js} +1 -1
- package/dist/_chunks/{VvRadio.es-CBNUR8-A.js.map → VvRadio.es-DWCbGLSw.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js → VvRadioGroup.es-DeZPOSLg.js} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js.map → VvRadioGroup.es-DeZPOSLg.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-DhnVYyFM.js → VvSelect.es-Cbdxv0hL.js} +1 -1
- package/dist/_chunks/{VvSelect.es-DhnVYyFM.js.map → VvSelect.es-Cbdxv0hL.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js → VvTextarea.es-G6PqQj_w.js} +1 -1
- package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js.map → VvTextarea.es-G6PqQj_w.js.map} +1 -1
- package/dist/_chunks/_plugin-vue_export-helper-C6kC663S.js +8 -0
- package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js +7 -0
- package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js.map +1 -0
- package/dist/_chunks/marker-icon-C9YVKiza.js +7 -0
- package/dist/_chunks/marker-icon-C9YVKiza.js.map +1 -0
- package/dist/_chunks/marker-shadow-C69K8Z1K.js +7 -0
- package/dist/_chunks/marker-shadow-C69K8Z1K.js.map +1 -0
- package/dist/_chunks/schemas-BzxsvNFR.js +3117 -0
- package/dist/_chunks/schemas-BzxsvNFR.js.map +1 -0
- package/dist/_chunks/{src-BRYn66N3.js → src-B7wQQMx2.js} +1 -1
- package/dist/_chunks/{src-BRYn66N3.js.map → src-B7wQQMx2.js.map} +1 -1
- package/dist/_chunks/{useLightbox-RmU8z981.js → useLightbox-krdR1Z0n.js} +2 -2
- package/{dist-vue/_chunks/useLightbox-CRpWDdlN.js.map → dist/_chunks/useLightbox-krdR1Z0n.js.map} +1 -1
- package/dist/ai-elements.es.js +7433 -12101
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotError.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.js +1 -1
- package/dist-vue/PkChatbotFilePreview.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/Media-COOsOMMv.js +120 -0
- package/dist-vue/_chunks/Media-COOsOMMv.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C_ASB2zq.js → PkChatbot-h7EIb9Y5.js} +61 -60
- package/dist-vue/_chunks/{PkChatbot-C_ASB2zq.js.map → PkChatbot-h7EIb9Y5.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js → PkChatbotError-CBQaRNse.js} +1 -1
- package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js.map → PkChatbotError-CBQaRNse.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js +91 -0
- package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js → PkChatbotFilePreview-0ow1cjom.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js.map → PkChatbotFilePreview-0ow1cjom.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js → PkChatbotInput-DjUU_5_9.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js.map → PkChatbotInput-DjUU_5_9.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CQdxH86L.js → PkChatbotMessages-DJngZXIX.js} +130 -121
- package/dist-vue/_chunks/PkChatbotMessages-DJngZXIX.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js +246 -0
- package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-DFv_8-8K.js → PkChatbotViewConversations-BAU8tPTf.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotViewConversations-DFv_8-8K.js.map → PkChatbotViewConversations-BAU8tPTf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BUj0YnIi.js → PkChatbotViewProfile-B_TpBkAf.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BUj0YnIi.js.map → PkChatbotViewProfile-B_TpBkAf.js.map} +1 -1
- package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js → PkRelativeTime-ivIkVQRR.js} +1 -1
- package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js.map → PkRelativeTime-ivIkVQRR.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js → PkStreamingMarkdown-CGEZEVZF.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js.map → PkStreamingMarkdown-CGEZEVZF.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-DIw-_JPA.js → PkToolShowArtifact-D1PnI-E1.js} +14 -13
- package/dist-vue/_chunks/PkToolShowArtifact-D1PnI-E1.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-ZZM8p7wu.js → PkToolShowCalendarEvent-HiRf_hSv.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-ZZM8p7wu.js.map → PkToolShowCalendarEvent-HiRf_hSv.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowComparison-7akNsf1w.js → PkToolShowComparison-Bll3lc1g.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowComparison-7akNsf1w.js.map → PkToolShowComparison-Bll3lc1g.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js +130 -0
- package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowEmail-CpiAbmr0.js → PkToolShowEmail-DzYBtaIE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowEmail-CpiAbmr0.js.map → PkToolShowEmail-DzYBtaIE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-jY7iYqTv.js → PkToolShowImageGallery-BQtLChsM.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowImageGallery-jY7iYqTv.js.map → PkToolShowImageGallery-BQtLChsM.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js +148 -0
- package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowMessage-AS8VNcYP.js → PkToolShowMessage-C4os87fJ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowMessage-AS8VNcYP.js.map → PkToolShowMessage-C4os87fJ.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js +45 -0
- package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowProductList-FEq8sFxW.js → PkToolShowProductList-BR14mmfl.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowProductList-FEq8sFxW.js.map → PkToolShowProductList-BR14mmfl.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowQrCode-DAt8tBHK.js → PkToolShowQrCode-CTfDrItd.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowQrCode-DAt8tBHK.js.map → PkToolShowQrCode-CTfDrItd.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js +377 -0
- package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js.map +1 -0
- package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js +40 -0
- package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js → PkToolShowWeather-D3MyAnH4.js} +1 -1
- package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js.map → PkToolShowWeather-D3MyAnH4.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-jA5eZRdi.js → PkToolShowWebPages-0pwK7psA.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowWebPages-jA5eZRdi.js.map → PkToolShowWebPages-0pwK7psA.js.map} +1 -1
- package/dist-vue/_chunks/{PkUrl-C9annqfF.js → PkUrl-tuHTaGCy.js} +1 -1
- package/dist-vue/_chunks/{PkUrl-C9annqfF.js.map → PkUrl-tuHTaGCy.js.map} +1 -1
- package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js → ZodError-DkVfTODd.js} +1 -1
- package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js.map → ZodError-DkVfTODd.js.map} +1 -1
- package/dist-vue/_chunks/{apl-Bkqrrr3v.js → apl-j-tvtpTP.js} +1 -1
- package/dist-vue/_chunks/{apl-Bkqrrr3v.js.map → apl-j-tvtpTP.js.map} +1 -1
- package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js → asciiarmor-JNKKTtQt.js} +1 -1
- package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js.map → asciiarmor-JNKKTtQt.js.map} +1 -1
- package/dist-vue/_chunks/{asn1-WRfjxqL1.js → asn1-DBQ_amwa.js} +1 -1
- package/dist-vue/_chunks/{asn1-WRfjxqL1.js.map → asn1-DBQ_amwa.js.map} +1 -1
- package/dist-vue/_chunks/{asterisk-DYv-EHWB.js → asterisk-Di3iYNR-.js} +1 -1
- package/dist-vue/_chunks/{asterisk-DYv-EHWB.js.map → asterisk-Di3iYNR-.js.map} +1 -1
- package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js → brainfuck-D8mwwQut.js} +1 -1
- package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js.map → brainfuck-D8mwwQut.js.map} +1 -1
- package/dist-vue/_chunks/{clike-r66wHNGT.js → clike-I6ihTsJ5.js} +1 -1
- package/dist-vue/_chunks/{clike-r66wHNGT.js.map → clike-I6ihTsJ5.js.map} +1 -1
- package/dist-vue/_chunks/{clojure-BDb_WsAm.js → clojure-CGENQS-R.js} +1 -1
- package/dist-vue/_chunks/{clojure-BDb_WsAm.js.map → clojure-CGENQS-R.js.map} +1 -1
- package/dist-vue/_chunks/{cmake-Curqstum.js → cmake-D2jqXHLk.js} +1 -1
- package/dist-vue/_chunks/{cmake-Curqstum.js.map → cmake-D2jqXHLk.js.map} +1 -1
- package/dist-vue/_chunks/{cobol-BAx4MdII.js → cobol-Db3IHNru.js} +1 -1
- package/dist-vue/_chunks/{cobol-BAx4MdII.js.map → cobol-Db3IHNru.js.map} +1 -1
- package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js → coffeescript-B4Rd3RcP.js} +1 -1
- package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js.map → coffeescript-B4Rd3RcP.js.map} +1 -1
- package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js → commonlisp-B-ehiawF.js} +1 -1
- package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js.map → commonlisp-B-ehiawF.js.map} +1 -1
- package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js +521 -0
- package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js.map +1 -0
- package/dist-vue/_chunks/{crystal-Dq4io9oq.js → crystal-Bj2fwY3J.js} +1 -1
- package/dist-vue/_chunks/{crystal-Dq4io9oq.js.map → crystal-Bj2fwY3J.js.map} +1 -1
- package/dist-vue/_chunks/{css-Bd9Y1kSi.js → css-CDqbdUZS.js} +1 -1
- package/dist-vue/_chunks/{css-Bd9Y1kSi.js.map → css-CDqbdUZS.js.map} +1 -1
- package/dist-vue/_chunks/{cypher-D14rILSd.js → cypher-BPgl78lW.js} +1 -1
- package/dist-vue/_chunks/{cypher-D14rILSd.js.map → cypher-BPgl78lW.js.map} +1 -1
- package/dist-vue/_chunks/{d-B-E6YUkN.js → d-_9PAw1JO.js} +1 -1
- package/dist-vue/_chunks/{d-B-E6YUkN.js.map → d-_9PAw1JO.js.map} +1 -1
- package/dist-vue/_chunks/{diff-BPPcQvHC.js → diff-C_qwk3ek.js} +1 -1
- package/dist-vue/_chunks/{diff-BPPcQvHC.js.map → diff-C_qwk3ek.js.map} +1 -1
- package/dist-vue/_chunks/{dist-CJYiwDlx.js → dist-2RCoY9yL.js} +2 -2
- package/dist-vue/_chunks/{dist-CJYiwDlx.js.map → dist-2RCoY9yL.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BrsWoii-.js → dist-B504iqq4.js} +3 -3
- package/dist-vue/_chunks/{dist-BrsWoii-.js.map → dist-B504iqq4.js.map} +1 -1
- package/dist-vue/_chunks/{dist-C-yeiSHm.js → dist-BbACD7ZF.js} +3 -3
- package/dist-vue/_chunks/{dist-C-yeiSHm.js.map → dist-BbACD7ZF.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Bh5Q6aSI2.js → dist-BfWfkbOA.js} +2 -2
- package/dist-vue/_chunks/dist-BfWfkbOA.js.map +1 -0
- package/dist-vue/_chunks/{dist-Qq_6SbFF.js → dist-BnR5Kl9J.js} +3 -3
- package/dist-vue/_chunks/{dist-Qq_6SbFF.js.map → dist-BnR5Kl9J.js.map} +1 -1
- package/dist-vue/_chunks/{dist-KPI2eL8F.js → dist-Bx_jrcne.js} +2 -2
- package/dist-vue/_chunks/{dist-KPI2eL8F.js.map → dist-Bx_jrcne.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DJ_vDk0q.js → dist-C4DKJxXu.js} +4 -4
- package/dist-vue/_chunks/{dist-DJ_vDk0q.js.map → dist-C4DKJxXu.js.map} +1 -1
- package/dist-vue/_chunks/{dist-CAZOa5qs2.js → dist-C9oRomIQ.js} +3 -3
- package/dist-vue/_chunks/dist-C9oRomIQ.js.map +1 -0
- package/dist-vue/_chunks/{dist-D3coexrW.js → dist-COvC03Xx.js} +3 -3
- package/dist-vue/_chunks/{dist-D3coexrW.js.map → dist-COvC03Xx.js.map} +1 -1
- package/dist-vue/_chunks/{dist-C38fHUMa.js → dist-CwB_dFae.js} +3 -3
- package/dist-vue/_chunks/{dist-C38fHUMa.js.map → dist-CwB_dFae.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BaIe783A.js → dist-Cz8slHpf.js} +2 -2
- package/dist-vue/_chunks/{dist-BaIe783A.js.map → dist-Cz8slHpf.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BmqFgHbN.js → dist-D-G-983p.js} +3 -3
- package/dist-vue/_chunks/{dist-BmqFgHbN.js.map → dist-D-G-983p.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BNLIqE7O.js → dist-DGsr6BFK.js} +2 -2
- package/dist-vue/_chunks/{dist-BNLIqE7O.js.map → dist-DGsr6BFK.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DMP9Xsk0.js → dist-DJFxbNlz.js} +2 -2
- package/dist-vue/_chunks/{dist-DMP9Xsk0.js.map → dist-DJFxbNlz.js.map} +1 -1
- package/dist-vue/_chunks/{dist-B65AhbTK.js → dist-DKeYnhzh.js} +5 -5
- package/dist-vue/_chunks/{dist-B65AhbTK.js.map → dist-DKeYnhzh.js.map} +1 -1
- package/dist-vue/_chunks/{dist--mE2E_mM.js → dist-DL84m6GA.js} +1 -1
- package/dist-vue/_chunks/{dist--mE2E_mM.js.map → dist-DL84m6GA.js.map} +1 -1
- package/dist-vue/_chunks/{dist-veLX58Me.js → dist-DS-IY-lt.js} +4 -4
- package/dist-vue/_chunks/{dist-veLX58Me.js.map → dist-DS-IY-lt.js.map} +1 -1
- package/dist-vue/_chunks/{dist-s_XUA-aw.js → dist-DZloX6N0.js} +3 -3
- package/dist-vue/_chunks/{dist-s_XUA-aw.js.map → dist-DZloX6N0.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DmKzgdbO.js → dist-DapfuoOT.js} +3 -3
- package/dist-vue/_chunks/{dist-DmKzgdbO.js.map → dist-DapfuoOT.js.map} +1 -1
- package/dist-vue/_chunks/{dist-D2-23M8l.js → dist-DmUxIVrQ.js} +5 -5
- package/dist-vue/_chunks/{dist-D2-23M8l.js.map → dist-DmUxIVrQ.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BQRG0D3Y.js → dist-LX3EryGA.js} +2 -2
- package/dist-vue/_chunks/{dist-BQRG0D3Y.js.map → dist-LX3EryGA.js.map} +1 -1
- package/dist-vue/_chunks/{dist-afJW4ohP2.js → dist-Z_cFz9nA.js} +2 -2
- package/dist-vue/_chunks/dist-Z_cFz9nA.js.map +1 -0
- package/dist-vue/_chunks/{dist-ByzpJpuj.js → dist-mJVylhvZ.js} +4 -4
- package/dist-vue/_chunks/{dist-ByzpJpuj.js.map → dist-mJVylhvZ.js.map} +1 -1
- package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js → dockerfile-nMSg2tXY.js} +2 -2
- package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js.map → dockerfile-nMSg2tXY.js.map} +1 -1
- package/dist-vue/_chunks/{dtd-ztbg9nev.js → dtd-BhtRjlzo.js} +1 -1
- package/dist-vue/_chunks/{dtd-ztbg9nev.js.map → dtd-BhtRjlzo.js.map} +1 -1
- package/dist-vue/_chunks/{dylan-Do2p-AA-.js → dylan-DyLL0Sxl.js} +1 -1
- package/dist-vue/_chunks/{dylan-Do2p-AA-.js.map → dylan-DyLL0Sxl.js.map} +1 -1
- package/dist-vue/_chunks/{ebnf-ChJPn51D.js → ebnf-DcBh-k1T.js} +1 -1
- package/dist-vue/_chunks/{ebnf-ChJPn51D.js.map → ebnf-DcBh-k1T.js.map} +1 -1
- package/dist-vue/_chunks/{ecl-ztl4D9j5.js → ecl-C-A1gGx7.js} +1 -1
- package/dist-vue/_chunks/{ecl-ztl4D9j5.js.map → ecl-C-A1gGx7.js.map} +1 -1
- package/dist-vue/_chunks/{eiffel-BYAAf3D8.js → eiffel-DwgfvIBI.js} +1 -1
- package/dist-vue/_chunks/{eiffel-BYAAf3D8.js.map → eiffel-DwgfvIBI.js.map} +1 -1
- package/dist-vue/_chunks/{elm-DFquGUxW.js → elm-RPF69bOV.js} +1 -1
- package/dist-vue/_chunks/{elm-DFquGUxW.js.map → elm-RPF69bOV.js.map} +1 -1
- package/dist-vue/_chunks/{erlang-BIndT8-8.js → erlang-BvNh96Ir.js} +1 -1
- package/dist-vue/_chunks/{erlang-BIndT8-8.js.map → erlang-BvNh96Ir.js.map} +1 -1
- package/dist-vue/_chunks/{factor-DqGzyyvS.js → factor-B_mOIxzF.js} +2 -2
- package/dist-vue/_chunks/{factor-DqGzyyvS.js.map → factor-B_mOIxzF.js.map} +1 -1
- package/dist-vue/_chunks/{fcl-MTt_AC1b.js → fcl-C9ulsEA4.js} +1 -1
- package/dist-vue/_chunks/{fcl-MTt_AC1b.js.map → fcl-C9ulsEA4.js.map} +1 -1
- package/dist-vue/_chunks/{forth-BPoSoJYE.js → forth-CFaZGhGS.js} +1 -1
- package/dist-vue/_chunks/{forth-BPoSoJYE.js.map → forth-CFaZGhGS.js.map} +1 -1
- package/dist-vue/_chunks/{fortran-BmHZEBN4.js → fortran-Cjm6fEBu.js} +1 -1
- package/dist-vue/_chunks/{fortran-BmHZEBN4.js.map → fortran-Cjm6fEBu.js.map} +1 -1
- package/dist-vue/_chunks/{gas-7ZHFSr9Y.js → gas-C3adNyJH.js} +1 -1
- package/dist-vue/_chunks/{gas-7ZHFSr9Y.js.map → gas-C3adNyJH.js.map} +1 -1
- package/dist-vue/_chunks/{gherkin-DiGPpFIT.js → gherkin-DFFRCqQB.js} +1 -1
- package/dist-vue/_chunks/{gherkin-DiGPpFIT.js.map → gherkin-DFFRCqQB.js.map} +1 -1
- package/dist-vue/_chunks/{groovy-DdKIH6vq.js → groovy-BHcqGGgZ.js} +1 -1
- package/dist-vue/_chunks/{groovy-DdKIH6vq.js.map → groovy-BHcqGGgZ.js.map} +1 -1
- package/dist-vue/_chunks/{haskell-DAISwZqR.js → haskell-BB45MUCR.js} +1 -1
- package/dist-vue/_chunks/{haskell-DAISwZqR.js.map → haskell-BB45MUCR.js.map} +1 -1
- package/dist-vue/_chunks/{haxe-CcCnoX02.js → haxe-QBohTRDI.js} +1 -1
- package/dist-vue/_chunks/{haxe-CcCnoX02.js.map → haxe-QBohTRDI.js.map} +1 -1
- package/dist-vue/_chunks/{http-Dy51A1Ji.js → http-HqJENFoz.js} +1 -1
- package/dist-vue/_chunks/{http-Dy51A1Ji.js.map → http-HqJENFoz.js.map} +1 -1
- package/dist-vue/_chunks/{idl-Cf5JG3Ez.js → idl-DZZwNvlw.js} +1 -1
- package/dist-vue/_chunks/{idl-Cf5JG3Ez.js.map → idl-DZZwNvlw.js.map} +1 -1
- package/dist-vue/_chunks/index.es-CikrfdXD.js +950 -0
- package/dist-vue/_chunks/index.es-CikrfdXD.js.map +1 -0
- package/dist-vue/_chunks/{javascript-CzLVX0gM.js → javascript-C85sLH7Y.js} +1 -1
- package/dist-vue/_chunks/{javascript-CzLVX0gM.js.map → javascript-C85sLH7Y.js.map} +1 -1
- package/dist-vue/_chunks/{julia-B2PXBujh.js → julia-ChIE7-ml.js} +1 -1
- package/dist-vue/_chunks/{julia-B2PXBujh.js.map → julia-ChIE7-ml.js.map} +1 -1
- package/dist-vue/_chunks/{livescript-2I87cCXG.js → livescript-BCs3u_kv.js} +1 -1
- package/dist-vue/_chunks/{livescript-2I87cCXG.js.map → livescript-BCs3u_kv.js.map} +1 -1
- package/dist-vue/_chunks/{lua-C3mMI1er.js → lua-DzZVFmfH.js} +1 -1
- package/dist-vue/_chunks/{lua-C3mMI1er.js.map → lua-DzZVFmfH.js.map} +1 -1
- package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js → mathematica-Zz2lXOfW.js} +1 -1
- package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js.map → mathematica-Zz2lXOfW.js.map} +1 -1
- package/dist-vue/_chunks/{mbox-DKAPFpEV.js → mbox-CuPDY4hp.js} +1 -1
- package/dist-vue/_chunks/{mbox-DKAPFpEV.js.map → mbox-CuPDY4hp.js.map} +1 -1
- package/dist-vue/_chunks/{mirc-BjO0qN2s.js → mirc-DwrsqNtD.js} +1 -1
- package/dist-vue/_chunks/{mirc-BjO0qN2s.js.map → mirc-DwrsqNtD.js.map} +1 -1
- package/dist-vue/_chunks/{mllike-BlZyj79n.js → mllike-76cVByXA.js} +1 -1
- package/dist-vue/_chunks/{mllike-BlZyj79n.js.map → mllike-76cVByXA.js.map} +1 -1
- package/dist-vue/_chunks/{modelica-QjIv2_JC.js → modelica-kytS8Bwg.js} +1 -1
- package/dist-vue/_chunks/{modelica-QjIv2_JC.js.map → modelica-kytS8Bwg.js.map} +1 -1
- package/dist-vue/_chunks/{mscgen-LfC5dXDe.js → mscgen-CoPuHfjN.js} +1 -1
- package/dist-vue/_chunks/{mscgen-LfC5dXDe.js.map → mscgen-CoPuHfjN.js.map} +1 -1
- package/dist-vue/_chunks/{mumps-Dv1DAXnR.js → mumps-B2uz6FeJ.js} +1 -1
- package/dist-vue/_chunks/{mumps-Dv1DAXnR.js.map → mumps-B2uz6FeJ.js.map} +1 -1
- package/dist-vue/_chunks/{nginx-3DgpfXl3.js → nginx-BSBpB1IU.js} +1 -1
- package/dist-vue/_chunks/{nginx-3DgpfXl3.js.map → nginx-BSBpB1IU.js.map} +1 -1
- package/dist-vue/_chunks/{nsis-K3Sov04-.js → nsis-R5ELJwT9.js} +2 -2
- package/dist-vue/_chunks/{nsis-K3Sov04-.js.map → nsis-R5ELJwT9.js.map} +1 -1
- package/dist-vue/_chunks/{ntriples-BEnyXf7m.js → ntriples-CAwEARBj.js} +1 -1
- package/dist-vue/_chunks/{ntriples-BEnyXf7m.js.map → ntriples-CAwEARBj.js.map} +1 -1
- package/dist-vue/_chunks/{octave-CyLDdHqN.js → octave-Ufq41PR2.js} +1 -1
- package/dist-vue/_chunks/{octave-CyLDdHqN.js.map → octave-Ufq41PR2.js.map} +1 -1
- package/dist-vue/_chunks/{oz-D5CDtCy5.js → oz-gzP8z3Q6.js} +1 -1
- package/dist-vue/_chunks/{oz-D5CDtCy5.js.map → oz-gzP8z3Q6.js.map} +1 -1
- package/dist-vue/_chunks/{pascal-BSLSyZrm.js → pascal-Ccg4lI6j.js} +1 -1
- package/dist-vue/_chunks/{pascal-BSLSyZrm.js.map → pascal-Ccg4lI6j.js.map} +1 -1
- package/dist-vue/_chunks/{perl-DBW5T0Wn.js → perl-64iNbjRD.js} +1 -1
- package/dist-vue/_chunks/{perl-DBW5T0Wn.js.map → perl-64iNbjRD.js.map} +1 -1
- package/dist-vue/_chunks/{pig-C5Bshhgj.js → pig-CsJsXnem.js} +1 -1
- package/dist-vue/_chunks/{pig-C5Bshhgj.js.map → pig-CsJsXnem.js.map} +1 -1
- package/dist-vue/_chunks/{powershell-BEB8cXp1.js → powershell-CPnsuu0v.js} +1 -1
- package/dist-vue/_chunks/{powershell-BEB8cXp1.js.map → powershell-CPnsuu0v.js.map} +1 -1
- package/dist-vue/_chunks/{properties-Dywxo8ET.js → properties-CEGInQuZ.js} +1 -1
- package/dist-vue/_chunks/{properties-Dywxo8ET.js.map → properties-CEGInQuZ.js.map} +1 -1
- package/dist-vue/_chunks/{protobuf-236BAJ7w.js → protobuf-BGU8l-K6.js} +1 -1
- package/dist-vue/_chunks/{protobuf-236BAJ7w.js.map → protobuf-BGU8l-K6.js.map} +1 -1
- package/dist-vue/_chunks/{pug-cbZddqK7.js → pug-DMZOuiBR.js} +2 -2
- package/dist-vue/_chunks/{pug-cbZddqK7.js.map → pug-DMZOuiBR.js.map} +1 -1
- package/dist-vue/_chunks/{puppet-C2NL98jI.js → puppet-CT38RAOR.js} +1 -1
- package/dist-vue/_chunks/{puppet-C2NL98jI.js.map → puppet-CT38RAOR.js.map} +1 -1
- package/dist-vue/_chunks/{python-CwQbjwek.js → python-BmpRibCQ.js} +1 -1
- package/dist-vue/_chunks/{python-CwQbjwek.js.map → python-BmpRibCQ.js.map} +1 -1
- package/dist-vue/_chunks/{q-BSTDwNDO.js → q-CtSYDlyO.js} +1 -1
- package/dist-vue/_chunks/{q-BSTDwNDO.js.map → q-CtSYDlyO.js.map} +1 -1
- package/dist-vue/_chunks/{r-DFZgsfAZ.js → r-oVGiwSoK.js} +1 -1
- package/dist-vue/_chunks/{r-DFZgsfAZ.js.map → r-oVGiwSoK.js.map} +1 -1
- package/dist-vue/_chunks/{rpm-C0LbsDPX.js → rpm-B5gOa5-q.js} +1 -1
- package/dist-vue/_chunks/{rpm-C0LbsDPX.js.map → rpm-B5gOa5-q.js.map} +1 -1
- package/dist-vue/_chunks/{ruby-Bier99ao.js → ruby-34fuN336.js} +1 -1
- package/dist-vue/_chunks/{ruby-Bier99ao.js.map → ruby-34fuN336.js.map} +1 -1
- package/dist-vue/_chunks/{sas-VrUpo2iQ.js → sas-BlnUKWuD.js} +1 -1
- package/dist-vue/_chunks/{sas-VrUpo2iQ.js.map → sas-BlnUKWuD.js.map} +1 -1
- package/dist-vue/_chunks/{scheme-D6LSF3th.js → scheme-Ba-z_mxe.js} +1 -1
- package/dist-vue/_chunks/{scheme-D6LSF3th.js.map → scheme-Ba-z_mxe.js.map} +1 -1
- package/dist-vue/_chunks/{shell-Pil6sZYj.js → shell-B-EgOeQy.js} +1 -1
- package/dist-vue/_chunks/{shell-Pil6sZYj.js.map → shell-B-EgOeQy.js.map} +1 -1
- package/dist-vue/_chunks/{sieve-BP6vUMh6.js → sieve-DsG7bfYX.js} +1 -1
- package/dist-vue/_chunks/{sieve-BP6vUMh6.js.map → sieve-DsG7bfYX.js.map} +1 -1
- package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js → simple-mode-wQYx-pPa.js} +1 -1
- package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js.map → simple-mode-wQYx-pPa.js.map} +1 -1
- package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js → smalltalk-ChZvyDpP.js} +1 -1
- package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js.map → smalltalk-ChZvyDpP.js.map} +1 -1
- package/dist-vue/_chunks/{solr-VuxI6OR2.js → solr-Dqcv2AYp.js} +1 -1
- package/dist-vue/_chunks/{solr-VuxI6OR2.js.map → solr-Dqcv2AYp.js.map} +1 -1
- package/dist-vue/_chunks/{sparql-7LilzgeP.js → sparql-DqMXm2dv.js} +1 -1
- package/dist-vue/_chunks/{sparql-7LilzgeP.js.map → sparql-DqMXm2dv.js.map} +1 -1
- package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js → spreadsheet-DZEh4bps.js} +1 -1
- package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js.map → spreadsheet-DZEh4bps.js.map} +1 -1
- package/dist-vue/_chunks/{sql-7pX-pbPB.js → sql-MyS5CFp1.js} +1 -1
- package/dist-vue/_chunks/{sql-7pX-pbPB.js.map → sql-MyS5CFp1.js.map} +1 -1
- package/dist-vue/_chunks/{src-DjRNH9vV.js → src-BteqqLGW.js} +1 -1
- package/dist-vue/_chunks/{src-DjRNH9vV.js.map → src-BteqqLGW.js.map} +1 -1
- package/dist-vue/_chunks/{stex-Bb7D4YTq.js → stex-CuUykOIw.js} +1 -1
- package/dist-vue/_chunks/{stex-Bb7D4YTq.js.map → stex-CuUykOIw.js.map} +1 -1
- package/dist-vue/_chunks/{stylus-DtQ7d5hI.js → stylus-BIh9GBXG.js} +1 -1
- package/dist-vue/_chunks/{stylus-DtQ7d5hI.js.map → stylus-BIh9GBXG.js.map} +1 -1
- package/dist-vue/_chunks/{swift-BUw5YtkI.js → swift-En1d22e-.js} +1 -1
- package/dist-vue/_chunks/{swift-BUw5YtkI.js.map → swift-En1d22e-.js.map} +1 -1
- package/dist-vue/_chunks/{tcl-DXJDyEhN.js → tcl-CA3XR2Sh.js} +1 -1
- package/dist-vue/_chunks/{tcl-DXJDyEhN.js.map → tcl-CA3XR2Sh.js.map} +1 -1
- package/dist-vue/_chunks/{textile-CFJlGF4J.js → textile-CKe5SU6F.js} +1 -1
- package/dist-vue/_chunks/{textile-CFJlGF4J.js.map → textile-CKe5SU6F.js.map} +1 -1
- package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js → tiddlywiki-UOzNZSPW.js} +1 -1
- package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js.map → tiddlywiki-UOzNZSPW.js.map} +1 -1
- package/dist-vue/_chunks/{tiki-Ck3ovlwE.js → tiki-CTiuYP9v.js} +1 -1
- package/dist-vue/_chunks/{tiki-Ck3ovlwE.js.map → tiki-CTiuYP9v.js.map} +1 -1
- package/dist-vue/_chunks/{toml-Cj82erLE.js → toml-DDNufn3M.js} +1 -1
- package/dist-vue/_chunks/{toml-Cj82erLE.js.map → toml-DDNufn3M.js.map} +1 -1
- package/dist-vue/_chunks/{troff-CizaXfug.js → troff-DW8Y_3S4.js} +1 -1
- package/dist-vue/_chunks/{troff-CizaXfug.js.map → troff-DW8Y_3S4.js.map} +1 -1
- package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js → ttcn-C-DIoNCg.js} +1 -1
- package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js.map → ttcn-C-DIoNCg.js.map} +1 -1
- package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js → ttcn-cfg-B4ziRnM-.js} +1 -1
- package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js.map → ttcn-cfg-B4ziRnM-.js.map} +1 -1
- package/dist-vue/_chunks/{turtle-BF5AsFbP.js → turtle-CARqpYpc.js} +1 -1
- package/dist-vue/_chunks/{turtle-BF5AsFbP.js.map → turtle-CARqpYpc.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-B9BUWM4O.js → useChatbotStore-C9xj40sY.js} +27 -33
- package/dist-vue/_chunks/{useChatbotStore-B9BUWM4O.js.map → useChatbotStore-C9xj40sY.js.map} +1 -1
- package/dist-vue/_chunks/{useLightbox-CRpWDdlN.js → useLightbox-CsBDIq4B.js} +2 -2
- package/{dist/_chunks/useLightbox-RmU8z981.js.map → dist-vue/_chunks/useLightbox-CsBDIq4B.js.map} +1 -1
- package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js +15 -0
- package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js.map +1 -0
- package/dist-vue/_chunks/{utils-DBd_X5-V.js → utils-D1pBqT-n.js} +2 -2
- package/dist-vue/_chunks/{utils-DBd_X5-V.js.map → utils-D1pBqT-n.js.map} +1 -1
- package/dist-vue/_chunks/{vb-CeqEYgxc.js → vb-jy9Yl8VS.js} +1 -1
- package/dist-vue/_chunks/{vb-CeqEYgxc.js.map → vb-jy9Yl8VS.js.map} +1 -1
- package/dist-vue/_chunks/{vbscript-Dy7to0l6.js → vbscript-srk6lbz5.js} +1 -1
- package/dist-vue/_chunks/{vbscript-Dy7to0l6.js.map → vbscript-srk6lbz5.js.map} +1 -1
- package/dist-vue/_chunks/{velocity-CKubdsu-.js → velocity-DYmMYLwp.js} +1 -1
- package/dist-vue/_chunks/{velocity-CKubdsu-.js.map → velocity-DYmMYLwp.js.map} +1 -1
- package/dist-vue/_chunks/{verilog-BhlfpzOZ.js → verilog-UsIZeNkB.js} +1 -1
- package/dist-vue/_chunks/{verilog-BhlfpzOZ.js.map → verilog-UsIZeNkB.js.map} +1 -1
- package/dist-vue/_chunks/{vhdl-8WXkWtGM.js → vhdl-DNCP7Bn1.js} +1 -1
- package/dist-vue/_chunks/{vhdl-8WXkWtGM.js.map → vhdl-DNCP7Bn1.js.map} +1 -1
- package/dist-vue/_chunks/{webidl-Jc36v0Y0.js → webidl-DOqqk_0y.js} +1 -1
- package/dist-vue/_chunks/{webidl-Jc36v0Y0.js.map → webidl-DOqqk_0y.js.map} +1 -1
- package/dist-vue/_chunks/{xquery-H0oz85f3.js → xquery-DJDJrmLG.js} +1 -1
- package/dist-vue/_chunks/{xquery-H0oz85f3.js.map → xquery-DJDJrmLG.js.map} +1 -1
- package/dist-vue/_chunks/{yacas-BdW11VL8.js → yacas-BSgkPzcj.js} +1 -1
- package/dist-vue/_chunks/{yacas-BdW11VL8.js.map → yacas-BSgkPzcj.js.map} +1 -1
- package/dist-vue/_chunks/{z80-GK9AbKDL.js → z80-C0-Mg9L3.js} +1 -1
- package/dist-vue/_chunks/{z80-GK9AbKDL.js.map → z80-C0-Mg9L3.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +2 -1
- package/dist-vue/composables.js +92 -80
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +874 -857
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +1 -0
- package/dist-vue/packages/ability/src/types.d.ts +3 -1
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +10 -3
- package/dist-vue/packages/components/src/chat/PkCopyBlock.d.ts +4 -2
- package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +5 -1
- package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +5 -0
- package/dist-vue/packages/components/src/index.d.ts +2 -1
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -0
- package/dist-vue/packages/composable/src/index.d.ts +1 -0
- package/dist-vue/packages/composable/src/useSafeLocalStorage.d.ts +7 -0
- package/dist-vue/packages/models/src/schema/AgentEndpoint.d.ts +108 -0
- package/dist-vue/packages/models/src/schema/AgentEndpointLog.d.ts +48 -0
- package/dist-vue/packages/models/src/schema/index.d.ts +2 -0
- package/dist-vue/style.css +1 -1
- package/package.json +3 -2
- package/dist/_chunks/PkToolShowArtifact-BFe_MhNr.js.map +0 -1
- package/dist/_chunks/PkToolShowLocation-DN57lKN1.js +0 -134
- package/dist/_chunks/PkToolShowLocation-DN57lKN1.js.map +0 -1
- package/dist/_chunks/vue-leaflet.es-7LObg4WN.js +0 -1738
- package/dist/_chunks/vue-leaflet.es-7LObg4WN.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js +0 -1035
- package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-CQdxH86L.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-DHOeNxnR.js +0 -792
- package/dist-vue/_chunks/PkChatbotViewChat-DHOeNxnR.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowArtifact-DIw-_JPA.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowLocation-BeOkj0Q2.js +0 -135
- package/dist-vue/_chunks/PkToolShowLocation-BeOkj0Q2.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js +0 -630
- package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js.map +0 -1
- package/dist-vue/_chunks/dist-Bh5Q6aSI2.js.map +0 -1
- package/dist-vue/_chunks/dist-CAZOa5qs2.js.map +0 -1
- package/dist-vue/_chunks/dist-afJW4ohP2.js.map +0 -1
|
@@ -1,1035 +0,0 @@
|
|
|
1
|
-
import { D as e, E as t, O as n, T as r, m as i, v as a } from "./schemas-sa2dDEGb.js";
|
|
2
|
-
import { t as o } from "./ZodError-B3AvmUCJ.js";
|
|
3
|
-
import { Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineAsyncComponent as m, defineComponent as h, getCurrentInstance as g, h as _, inject as v, isProxy as y, isRef as b, onBeforeUnmount as x, onMounted as S, openBlock as C, provide as w, readonly as T, ref as E, resolveComponent as D, toDisplayString as O, toRaw as k, toRefs as A, unref as j, useId as M, watch as N, withCtx as P, withModifiers as F } from "vue";
|
|
4
|
-
import { VvAlert as I, VvButton as L, VvButtonGroup as ee, VvIcon as te } from "@volverjs/ui-vue/components";
|
|
5
|
-
import { throttleFilter as ne, watchIgnorable as re } from "@vueuse/core";
|
|
6
|
-
import { useI18n as ie } from "vue-i18n";
|
|
7
|
-
//#region ../../node_modules/.pnpm/dot-prop@10.1.0/node_modules/dot-prop/index.js
|
|
8
|
-
var R = (e) => {
|
|
9
|
-
let t = typeof e;
|
|
10
|
-
return e !== null && (t === "object" || t === "function");
|
|
11
|
-
}, ae = new Set([
|
|
12
|
-
"__proto__",
|
|
13
|
-
"prototype",
|
|
14
|
-
"constructor"
|
|
15
|
-
]), oe = 1e6, se = (e) => e >= "0" && e <= "9";
|
|
16
|
-
function z(e) {
|
|
17
|
-
if (e === "0") return !0;
|
|
18
|
-
if (/^[1-9]\d*$/.test(e)) {
|
|
19
|
-
let t = Number.parseInt(e, 10);
|
|
20
|
-
return t <= 2 ** 53 - 1 && t <= oe;
|
|
21
|
-
}
|
|
22
|
-
return !1;
|
|
23
|
-
}
|
|
24
|
-
function B(e, t) {
|
|
25
|
-
return ae.has(e) ? !1 : (e && z(e) ? t.push(Number.parseInt(e, 10)) : t.push(e), !0);
|
|
26
|
-
}
|
|
27
|
-
function ce(e) {
|
|
28
|
-
if (typeof e != "string") throw TypeError(`Expected a string, got ${typeof e}`);
|
|
29
|
-
let t = [], n = "", r = "start", i = !1, a = 0;
|
|
30
|
-
for (let o of e) {
|
|
31
|
-
if (a++, i) {
|
|
32
|
-
n += o, i = !1;
|
|
33
|
-
continue;
|
|
34
|
-
}
|
|
35
|
-
if (o === "\\") {
|
|
36
|
-
if (r === "index") throw Error(`Invalid character '${o}' in an index at position ${a}`);
|
|
37
|
-
if (r === "indexEnd") throw Error(`Invalid character '${o}' after an index at position ${a}`);
|
|
38
|
-
i = !0, r = r === "start" ? "property" : r;
|
|
39
|
-
continue;
|
|
40
|
-
}
|
|
41
|
-
switch (o) {
|
|
42
|
-
case ".":
|
|
43
|
-
if (r === "index") throw Error(`Invalid character '${o}' in an index at position ${a}`);
|
|
44
|
-
if (r === "indexEnd") {
|
|
45
|
-
r = "property";
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
if (!B(n, t)) return [];
|
|
49
|
-
n = "", r = "property";
|
|
50
|
-
break;
|
|
51
|
-
case "[":
|
|
52
|
-
if (r === "index") throw Error(`Invalid character '${o}' in an index at position ${a}`);
|
|
53
|
-
if (r === "indexEnd") {
|
|
54
|
-
r = "index";
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
if (r === "property" || r === "start") {
|
|
58
|
-
if ((n || r === "property") && !B(n, t)) return [];
|
|
59
|
-
n = "";
|
|
60
|
-
}
|
|
61
|
-
r = "index";
|
|
62
|
-
break;
|
|
63
|
-
case "]":
|
|
64
|
-
if (r === "index") {
|
|
65
|
-
if (n === "") n = (t.pop() || "") + "[]", r = "property";
|
|
66
|
-
else {
|
|
67
|
-
let e = Number.parseInt(n, 10);
|
|
68
|
-
!Number.isNaN(e) && Number.isFinite(e) && e >= 0 && e <= 2 ** 53 - 1 && e <= oe && n === String(e) ? t.push(e) : t.push(n), n = "", r = "indexEnd";
|
|
69
|
-
}
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
if (r === "indexEnd") throw Error(`Invalid character '${o}' after an index at position ${a}`);
|
|
73
|
-
n += o;
|
|
74
|
-
break;
|
|
75
|
-
default:
|
|
76
|
-
if (r === "index" && !se(o)) throw Error(`Invalid character '${o}' in an index at position ${a}`);
|
|
77
|
-
if (r === "indexEnd") throw Error(`Invalid character '${o}' after an index at position ${a}`);
|
|
78
|
-
r === "start" && (r = "property"), n += o;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
switch (i && (n += "\\"), r) {
|
|
82
|
-
case "property":
|
|
83
|
-
if (!B(n, t)) return [];
|
|
84
|
-
break;
|
|
85
|
-
case "index": throw Error("Index was not closed");
|
|
86
|
-
case "start":
|
|
87
|
-
t.push("");
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
}
|
|
92
|
-
function V(e) {
|
|
93
|
-
if (typeof e == "string") return ce(e);
|
|
94
|
-
if (Array.isArray(e)) {
|
|
95
|
-
let t = [];
|
|
96
|
-
for (let [n, r] of e.entries()) {
|
|
97
|
-
if (typeof r != "string" && typeof r != "number") throw TypeError(`Expected a string or number for path segment at index ${n}, got ${typeof r}`);
|
|
98
|
-
if (typeof r == "number" && !Number.isFinite(r)) throw TypeError(`Path segment at index ${n} must be a finite number, got ${r}`);
|
|
99
|
-
if (ae.has(r)) return [];
|
|
100
|
-
typeof r == "string" && z(r) ? t.push(Number.parseInt(r, 10)) : t.push(r);
|
|
101
|
-
}
|
|
102
|
-
return t;
|
|
103
|
-
}
|
|
104
|
-
return [];
|
|
105
|
-
}
|
|
106
|
-
function H(e, t, n) {
|
|
107
|
-
if (!R(e) || typeof t != "string" && !Array.isArray(t)) return n === void 0 ? e : n;
|
|
108
|
-
let r = V(t);
|
|
109
|
-
if (r.length === 0) return n;
|
|
110
|
-
for (let t = 0; t < r.length; t++) {
|
|
111
|
-
let i = r[t];
|
|
112
|
-
if (e = e[i], e == null) {
|
|
113
|
-
if (t !== r.length - 1) return n;
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return e === void 0 ? n : e;
|
|
118
|
-
}
|
|
119
|
-
function U(e, t, n) {
|
|
120
|
-
if (!R(e) || typeof t != "string" && !Array.isArray(t)) return e;
|
|
121
|
-
let r = e, i = V(t);
|
|
122
|
-
if (i.length === 0) return e;
|
|
123
|
-
for (let t = 0; t < i.length; t++) {
|
|
124
|
-
let r = i[t];
|
|
125
|
-
if (t === i.length - 1) e[r] = n;
|
|
126
|
-
else if (!R(e[r])) {
|
|
127
|
-
let n = typeof i[t + 1] == "number";
|
|
128
|
-
e[r] = n ? [] : {};
|
|
129
|
-
}
|
|
130
|
-
e = e[r];
|
|
131
|
-
}
|
|
132
|
-
return r;
|
|
133
|
-
}
|
|
134
|
-
//#endregion
|
|
135
|
-
//#region ../../node_modules/.pnpm/@volverjs+form-vue@1.1.1_@volverjs+ui-vue@0.0.13-beta.8_@volverjs+style@0.1.24-beta.3_@_d32cee6109e6c99de4048561886749f8/node_modules/@volverjs/form-vue/dist/index.es.js
|
|
136
|
-
var W = /* @__PURE__ */ ((e) => (e.text = "text", e.number = "number", e.email = "email", e.password = "password", e.tel = "tel", e.url = "url", e.search = "search", e.date = "date", e.time = "time", e.datetimeLocal = "datetime-local", e.month = "month", e.week = "week", e.color = "color", e.select = "select", e.checkbox = "checkbox", e.radio = "radio", e.textarea = "textarea", e.radioGroup = "radioGroup", e.checkboxGroup = "checkboxGroup", e.combobox = "combobox", e.custom = "custom", e))(W || {}), G = /* @__PURE__ */ ((e) => (e.invalid = "invalid", e.valid = "valid", e.submitting = "submitting", e.reset = "reset", e.updated = "updated", e.unknown = "unknown", e))(G || {}), K = (e) => e._def.typeName === "ZodObject", q = (e) => e._zod.def.type === "object", le = (e) => e._def.typeName === "ZodDefault", ue = (e) => e._zod.def.type === "default", de = (e) => e._def.typeName === "ZodNullable", fe = (e) => e._zod.def.type === "nullable", pe = (e) => e._def.typeName === "ZodRecord", me = (e) => e._zod.def.type === "record", he = (e) => e._def.typeName === "ZodArray", ge = (e) => e._zod.def.type === "array", _e = (e) => e._def.typeName === "ZodEffects", ve = (e) => e._def.typeName === "ZodOptional", ye = (e) => e._zod.def.type === "optional", be = (e) => e._zod.def.type === "pipe", xe = (e) => e._zod.def.type === "transform";
|
|
137
|
-
function Se(e) {
|
|
138
|
-
let t = e;
|
|
139
|
-
for (; _e(t);) t = t.innerType();
|
|
140
|
-
return t;
|
|
141
|
-
}
|
|
142
|
-
function Ce(e) {
|
|
143
|
-
let t = e;
|
|
144
|
-
for (; be(t);) t = xe(t._zod.def.out) ? t._zod.def.in : t._zod.def.out;
|
|
145
|
-
return t;
|
|
146
|
-
}
|
|
147
|
-
var J = (e) => {
|
|
148
|
-
let t = Se(e);
|
|
149
|
-
return ve(t) && (t = t._def.innerType), t;
|
|
150
|
-
}, Y = (e) => {
|
|
151
|
-
let t = Ce(e);
|
|
152
|
-
return ye(t) && (t = t._zod.def.innerType), t;
|
|
153
|
-
}, we = (e) => !!ve(Se(e)), Te = (e) => !!ye(Ce(e)), X = (e) => "_zod" in e;
|
|
154
|
-
function Z(e, t = {}) {
|
|
155
|
-
if (X(e)) {
|
|
156
|
-
let n = Y(e);
|
|
157
|
-
return q(n) ? {
|
|
158
|
-
...n._zod.def.catchall && n._zod.def.catchall._zod.def.type !== "never" ? t : {},
|
|
159
|
-
...Object.fromEntries(("shape" in n._zod.def ? Object.entries(n._zod.def.shape) : []).map(([e, n]) => {
|
|
160
|
-
let i = t[e], a = Te(n), o = Y(n), s;
|
|
161
|
-
if (ue(o) && (s = o._zod.def.defaultValue, o = o._zod.def.innerType), i === null && fe(o)) return [e, i];
|
|
162
|
-
if (i == null && a) return [e, s];
|
|
163
|
-
if (o) {
|
|
164
|
-
let t = r(n, i);
|
|
165
|
-
if (t.success) return [e, t.data ?? s];
|
|
166
|
-
}
|
|
167
|
-
if (ge(o) && Array.isArray(i) && i.length) {
|
|
168
|
-
let t = Y(o._zod.def.element);
|
|
169
|
-
if (q(t)) return [e, i.map((e) => Z(t, e && typeof e == "object" ? e : void 0))];
|
|
170
|
-
}
|
|
171
|
-
if (me(o) && i) {
|
|
172
|
-
let t = Y(o._zod.def.valueType);
|
|
173
|
-
if (q(t)) return [e, Object.keys(i).reduce((e, n) => (e[n] = Z(t, i[n]), e), {})];
|
|
174
|
-
}
|
|
175
|
-
return q(o) ? [e, Z(o, i && typeof i == "object" ? i : s)] : [e, s];
|
|
176
|
-
}))
|
|
177
|
-
} : t;
|
|
178
|
-
}
|
|
179
|
-
let n = J(e);
|
|
180
|
-
return K(n) ? {
|
|
181
|
-
...n._def.unknownKeys === "passthrough" ? t : {},
|
|
182
|
-
...Object.fromEntries(("shape" in n ? Object.entries(n.shape) : []).map(([e, n]) => {
|
|
183
|
-
let r = t[e], i = we(n), a = J(n), o;
|
|
184
|
-
if (le(a) && (o = a._def.defaultValue(), a = a._def.innerType), r === null && de(a)) return [e, r];
|
|
185
|
-
if (r == null && i) return [e, o];
|
|
186
|
-
if (a) {
|
|
187
|
-
let t = n.safeParse(r);
|
|
188
|
-
if (t.success) return [e, t.data ?? o];
|
|
189
|
-
}
|
|
190
|
-
if (he(a) && Array.isArray(r) && r.length) {
|
|
191
|
-
let t = J(a._def.type);
|
|
192
|
-
if (K(t)) return [e, r.map((e) => Z(t, e && typeof e == "object" ? e : void 0))];
|
|
193
|
-
}
|
|
194
|
-
if (pe(a) && r) {
|
|
195
|
-
let t = J(a._def.valueType);
|
|
196
|
-
if (K(t)) return [e, Object.keys(r).reduce((e, n) => (e[n] = Z(t, r[n]), e), {})];
|
|
197
|
-
}
|
|
198
|
-
return K(a) ? [e, Z(a, r && typeof r == "object" ? r : o)] : [e, o];
|
|
199
|
-
}))
|
|
200
|
-
} : t;
|
|
201
|
-
}
|
|
202
|
-
var Ee = (e, n) => X(e) ? t(e, n) : e.safeParseAsync(n), De = (e, t) => X(e) ? n(t) : t.format(), Oe = (t, r) => X(t) ? n(new e(r)) : new o(r).format();
|
|
203
|
-
function ke(e, t, n, r, i) {
|
|
204
|
-
let a = E(), o = E(), s = c(() => o.value === G.invalid), l = E(), u = E(!1), d, f = (t) => {
|
|
205
|
-
let r = Z(e, t);
|
|
206
|
-
if (n?.class) {
|
|
207
|
-
let e = n.class;
|
|
208
|
-
return new e(r);
|
|
209
|
-
}
|
|
210
|
-
return r;
|
|
211
|
-
}, p = async (t = l.value, n) => {
|
|
212
|
-
if (d = n?.fields, u.value) return !0;
|
|
213
|
-
let r = await Ee(e, t);
|
|
214
|
-
if (!r.success) {
|
|
215
|
-
if (o.value = G.invalid, !d?.size) return a.value = De(e, r.error), !1;
|
|
216
|
-
let t = r.error.issues.filter((e) => d?.has(e.path.join(".")));
|
|
217
|
-
return t.length ? (a.value = Oe(e, t), !1) : (a.value = void 0, !0);
|
|
218
|
-
}
|
|
219
|
-
return a.value = void 0, o.value = G.valid, l.value = f(r.data), !0;
|
|
220
|
-
}, m = () => {
|
|
221
|
-
a.value = void 0, o.value = void 0, d = void 0;
|
|
222
|
-
}, g = () => {
|
|
223
|
-
l.value = f(), m(), o.value = G.reset;
|
|
224
|
-
}, v = async (e) => u.value || !await p(void 0, e) ? !1 : (o.value = G.submitting, !0), { ignoreUpdates: b, stop: x } = re(l, () => {
|
|
225
|
-
o.value = G.updated;
|
|
226
|
-
}, {
|
|
227
|
-
deep: !0,
|
|
228
|
-
eventFilter: ne(n?.updateThrottle ?? 500)
|
|
229
|
-
}), C = T(a), D = T(o);
|
|
230
|
-
return {
|
|
231
|
-
clear: m,
|
|
232
|
-
errors: a,
|
|
233
|
-
formData: l,
|
|
234
|
-
ignoreUpdates: b,
|
|
235
|
-
invalid: s,
|
|
236
|
-
readonly: u,
|
|
237
|
-
reset: g,
|
|
238
|
-
status: o,
|
|
239
|
-
wrappers: i,
|
|
240
|
-
stopUpdatesWatch: x,
|
|
241
|
-
submit: v,
|
|
242
|
-
validate: p,
|
|
243
|
-
VvForm: h({
|
|
244
|
-
name: "VvForm",
|
|
245
|
-
props: {
|
|
246
|
-
continuousValidation: {
|
|
247
|
-
type: Boolean,
|
|
248
|
-
default: !1
|
|
249
|
-
},
|
|
250
|
-
modelValue: {
|
|
251
|
-
type: Object,
|
|
252
|
-
default: () => ({})
|
|
253
|
-
},
|
|
254
|
-
readonly: {
|
|
255
|
-
type: Boolean,
|
|
256
|
-
default: n?.readonly
|
|
257
|
-
},
|
|
258
|
-
tag: {
|
|
259
|
-
type: String,
|
|
260
|
-
default: "form"
|
|
261
|
-
},
|
|
262
|
-
template: {
|
|
263
|
-
type: [Array, Function],
|
|
264
|
-
default: void 0
|
|
265
|
-
},
|
|
266
|
-
superRefine: {
|
|
267
|
-
type: Function,
|
|
268
|
-
default: void 0
|
|
269
|
-
},
|
|
270
|
-
validateFields: {
|
|
271
|
-
type: Array,
|
|
272
|
-
default: void 0
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
emits: [
|
|
276
|
-
"invalid",
|
|
277
|
-
"submit",
|
|
278
|
-
"update:modelValue",
|
|
279
|
-
"update:readonly",
|
|
280
|
-
"valid",
|
|
281
|
-
"reset"
|
|
282
|
-
],
|
|
283
|
-
expose: [
|
|
284
|
-
"errors",
|
|
285
|
-
"invalid",
|
|
286
|
-
"readonly",
|
|
287
|
-
"status",
|
|
288
|
-
"submit",
|
|
289
|
-
"tag",
|
|
290
|
-
"template",
|
|
291
|
-
"valid",
|
|
292
|
-
"validate",
|
|
293
|
-
"clear",
|
|
294
|
-
"reset"
|
|
295
|
-
],
|
|
296
|
-
slots: Object,
|
|
297
|
-
setup(e, { emit: r }) {
|
|
298
|
-
return l.value = f(k(e.modelValue)), N(() => e.modelValue, (e) => {
|
|
299
|
-
if (e) {
|
|
300
|
-
let t = y(e) ? k(e) : e;
|
|
301
|
-
if (JSON.stringify(t) === JSON.stringify(k(l.value))) return;
|
|
302
|
-
l.value = typeof t?.clone == "function" ? t.clone() : JSON.parse(JSON.stringify(t));
|
|
303
|
-
}
|
|
304
|
-
}, { deep: !0 }), N(o, async (t) => {
|
|
305
|
-
if (t === G.invalid) {
|
|
306
|
-
let e = k(a.value);
|
|
307
|
-
r("invalid", e), n?.onInvalid?.(e);
|
|
308
|
-
return;
|
|
309
|
-
}
|
|
310
|
-
if (t === G.valid) {
|
|
311
|
-
let e = k(l.value);
|
|
312
|
-
r("valid", e), n?.onValid?.(e), r("update:modelValue", e), n?.onUpdate?.(e);
|
|
313
|
-
return;
|
|
314
|
-
}
|
|
315
|
-
if (t === G.submitting) {
|
|
316
|
-
let e = k(l.value);
|
|
317
|
-
r("submit", e), n?.onSubmit?.(e);
|
|
318
|
-
return;
|
|
319
|
-
}
|
|
320
|
-
if (t === G.reset) {
|
|
321
|
-
let e = k(l.value);
|
|
322
|
-
r("reset", e), n?.onReset?.(e);
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
if (t === G.updated) {
|
|
326
|
-
if ((a.value || n?.continuousValidation || e.continuousValidation) && await p(void 0, {
|
|
327
|
-
superRefine: e.superRefine,
|
|
328
|
-
fields: d ?? new Set(e.validateFields)
|
|
329
|
-
}), !l.value || !e.modelValue || JSON.stringify(l.value) !== JSON.stringify(e.modelValue)) {
|
|
330
|
-
let e = k(l.value);
|
|
331
|
-
r("update:modelValue", e), n?.onUpdate?.(e);
|
|
332
|
-
}
|
|
333
|
-
o.value === G.updated && (o.value = G.unknown);
|
|
334
|
-
}
|
|
335
|
-
}), S(() => {
|
|
336
|
-
e.readonly !== void 0 && (u.value = e.readonly);
|
|
337
|
-
}), N(() => e.readonly, (e) => {
|
|
338
|
-
u.value = e;
|
|
339
|
-
}), N(u, (t) => {
|
|
340
|
-
t !== e.readonly && r("update:readonly", u.value);
|
|
341
|
-
}), w(t, {
|
|
342
|
-
clear: m,
|
|
343
|
-
errors: C,
|
|
344
|
-
formData: l,
|
|
345
|
-
ignoreUpdates: b,
|
|
346
|
-
invalid: s,
|
|
347
|
-
readonly: u,
|
|
348
|
-
reset: g,
|
|
349
|
-
status: D,
|
|
350
|
-
stopUpdatesWatch: x,
|
|
351
|
-
submit: v,
|
|
352
|
-
validate: p,
|
|
353
|
-
wrappers: i
|
|
354
|
-
}), {
|
|
355
|
-
clear: m,
|
|
356
|
-
errors: C,
|
|
357
|
-
formData: l,
|
|
358
|
-
ignoreUpdates: b,
|
|
359
|
-
invalid: s,
|
|
360
|
-
isReadonly: u,
|
|
361
|
-
reset: g,
|
|
362
|
-
status: D,
|
|
363
|
-
stopUpdatesWatch: x,
|
|
364
|
-
submit: () => v({
|
|
365
|
-
superRefine: e.superRefine,
|
|
366
|
-
fields: new Set(e.validateFields)
|
|
367
|
-
}),
|
|
368
|
-
validate: p,
|
|
369
|
-
wrappers: i
|
|
370
|
-
};
|
|
371
|
-
},
|
|
372
|
-
render() {
|
|
373
|
-
let e = () => this.$slots?.default?.({
|
|
374
|
-
errors: C.value,
|
|
375
|
-
formData: l.value,
|
|
376
|
-
invalid: s.value,
|
|
377
|
-
readonly: u.value,
|
|
378
|
-
status: D.value,
|
|
379
|
-
wrappers: i,
|
|
380
|
-
clear: m,
|
|
381
|
-
ignoreUpdates: b,
|
|
382
|
-
reset: g,
|
|
383
|
-
stopUpdatesWatch: x,
|
|
384
|
-
submit: v,
|
|
385
|
-
validate: p
|
|
386
|
-
}) ?? this.$slots.default;
|
|
387
|
-
return _(this.tag, {
|
|
388
|
-
onSubmit: F(this.submit, ["prevent"]),
|
|
389
|
-
onReset: F(this.reset, ["prevent"])
|
|
390
|
-
}, (this.template ?? n?.template) && r ? [_(r, { schema: this.template ?? n?.template }, { default: e })] : { default: e });
|
|
391
|
-
}
|
|
392
|
-
})
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
function Ae(e, t, n, r) {
|
|
396
|
-
return h({
|
|
397
|
-
name: "VvFormField",
|
|
398
|
-
props: {
|
|
399
|
-
type: {
|
|
400
|
-
type: String,
|
|
401
|
-
validator: (e) => Object.values(W).includes(e),
|
|
402
|
-
default: W.custom
|
|
403
|
-
},
|
|
404
|
-
is: {
|
|
405
|
-
type: [Object, String],
|
|
406
|
-
default: void 0
|
|
407
|
-
},
|
|
408
|
-
name: {
|
|
409
|
-
type: [
|
|
410
|
-
String,
|
|
411
|
-
Number,
|
|
412
|
-
Boolean,
|
|
413
|
-
Symbol
|
|
414
|
-
],
|
|
415
|
-
required: !0
|
|
416
|
-
},
|
|
417
|
-
props: {
|
|
418
|
-
type: [Object, Function],
|
|
419
|
-
default: () => ({})
|
|
420
|
-
},
|
|
421
|
-
showValid: {
|
|
422
|
-
type: Boolean,
|
|
423
|
-
default: !1
|
|
424
|
-
},
|
|
425
|
-
defaultValue: {
|
|
426
|
-
type: [
|
|
427
|
-
String,
|
|
428
|
-
Number,
|
|
429
|
-
Boolean,
|
|
430
|
-
Array,
|
|
431
|
-
Object
|
|
432
|
-
],
|
|
433
|
-
default: void 0
|
|
434
|
-
},
|
|
435
|
-
lazyLoad: {
|
|
436
|
-
type: Boolean,
|
|
437
|
-
default: !1
|
|
438
|
-
},
|
|
439
|
-
readonly: {
|
|
440
|
-
type: Boolean,
|
|
441
|
-
default: void 0
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
emits: [
|
|
445
|
-
"invalid",
|
|
446
|
-
"update:formData",
|
|
447
|
-
"update:modelValue",
|
|
448
|
-
"valid"
|
|
449
|
-
],
|
|
450
|
-
expose: [
|
|
451
|
-
"component",
|
|
452
|
-
"errors",
|
|
453
|
-
"hasProps",
|
|
454
|
-
"invalid",
|
|
455
|
-
"invalidLabel",
|
|
456
|
-
"is",
|
|
457
|
-
"type"
|
|
458
|
-
],
|
|
459
|
-
slots: Object,
|
|
460
|
-
setup(i, { slots: a, emit: o }) {
|
|
461
|
-
let { props: s, name: l } = A(i), u = M(), d = v(t, void 0);
|
|
462
|
-
d && d.fields.value.set(u, i.name);
|
|
463
|
-
let f = v(e), p = c({
|
|
464
|
-
get() {
|
|
465
|
-
if (f?.formData) return H(new Object(f.formData.value), String(i.name));
|
|
466
|
-
},
|
|
467
|
-
set(e) {
|
|
468
|
-
f?.formData && (U(new Object(f.formData.value), String(i.name), e), o("update:modelValue", {
|
|
469
|
-
newValue: p.value,
|
|
470
|
-
formData: f?.formData
|
|
471
|
-
}));
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
S(() => {
|
|
475
|
-
p.value === void 0 && i.defaultValue !== void 0 && (p.value = i.defaultValue);
|
|
476
|
-
}), x(() => {
|
|
477
|
-
d && d.fields.value.delete(u);
|
|
478
|
-
});
|
|
479
|
-
let h = c(() => {
|
|
480
|
-
if (f?.errors.value) return H(f.errors.value, String(i.name));
|
|
481
|
-
}), g = c(() => h.value?._errors), _ = c(() => h.value !== void 0), y = N(_, (e) => {
|
|
482
|
-
if (e) {
|
|
483
|
-
o("invalid", h.value), d && d.errors.value.set(String(i.name), h.value);
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
o("valid", p.value), d && d.errors.value.delete(i.name);
|
|
487
|
-
}), b = N(() => f?.formData, () => {
|
|
488
|
-
o("update:formData", f?.formData);
|
|
489
|
-
}, { deep: !0 });
|
|
490
|
-
x(() => {
|
|
491
|
-
y(), b();
|
|
492
|
-
});
|
|
493
|
-
let C = (e) => {
|
|
494
|
-
e instanceof InputEvent && (e = e.target.value), p.value = e;
|
|
495
|
-
}, E = c(() => {
|
|
496
|
-
let e = s.value;
|
|
497
|
-
return typeof e == "function" && (e = e(f?.formData)), Object.keys(e).reduce((t, n) => (t[n] = j(e[n]), t), {});
|
|
498
|
-
}), O = c(() => f?.readonly.value || d?.readonly.value ? !0 : E.value.readonly ?? i.readonly), k = c(() => ({
|
|
499
|
-
...E.value,
|
|
500
|
-
name: E.value.name ?? i.name,
|
|
501
|
-
invalid: _.value,
|
|
502
|
-
valid: i.showValid ? !!(!_.value && p.value) : void 0,
|
|
503
|
-
type: ((e) => {
|
|
504
|
-
if ([
|
|
505
|
-
W.color,
|
|
506
|
-
W.date,
|
|
507
|
-
W.datetimeLocal,
|
|
508
|
-
W.email,
|
|
509
|
-
W.month,
|
|
510
|
-
W.number,
|
|
511
|
-
W.password,
|
|
512
|
-
W.search,
|
|
513
|
-
W.tel,
|
|
514
|
-
W.text,
|
|
515
|
-
W.time,
|
|
516
|
-
W.url,
|
|
517
|
-
W.week
|
|
518
|
-
].includes(e)) return e;
|
|
519
|
-
})(i.type),
|
|
520
|
-
invalidLabel: g.value,
|
|
521
|
-
modelValue: p.value,
|
|
522
|
-
readonly: O.value,
|
|
523
|
-
"onUpdate:modelValue": C
|
|
524
|
-
}));
|
|
525
|
-
return w(n, {
|
|
526
|
-
name: T(l),
|
|
527
|
-
errors: T(h)
|
|
528
|
-
}), {
|
|
529
|
-
component: c(() => {
|
|
530
|
-
if (i.type === W.custom) return { render() {
|
|
531
|
-
return a.default?.({
|
|
532
|
-
errors: T(h).value,
|
|
533
|
-
formData: f?.formData.value,
|
|
534
|
-
formErrors: f?.errors.value,
|
|
535
|
-
invalid: _.value,
|
|
536
|
-
invalidLabel: g.value,
|
|
537
|
-
modelValue: p.value,
|
|
538
|
-
readonly: O.value,
|
|
539
|
-
onUpdate: C,
|
|
540
|
-
submit: f?.submit,
|
|
541
|
-
validate: f?.validate
|
|
542
|
-
}) ?? a.default;
|
|
543
|
-
} };
|
|
544
|
-
if (!(r?.lazyLoad ?? i.lazyLoad)) {
|
|
545
|
-
let e;
|
|
546
|
-
switch (i.type) {
|
|
547
|
-
case W.select:
|
|
548
|
-
e = D("VvSelect");
|
|
549
|
-
break;
|
|
550
|
-
case W.checkbox:
|
|
551
|
-
e = D("VvCheckbox");
|
|
552
|
-
break;
|
|
553
|
-
case W.radio:
|
|
554
|
-
e = D("VvRadio");
|
|
555
|
-
break;
|
|
556
|
-
case W.textarea:
|
|
557
|
-
e = D("VvTextarea");
|
|
558
|
-
break;
|
|
559
|
-
case W.radioGroup:
|
|
560
|
-
e = D("VvRadioGroup");
|
|
561
|
-
break;
|
|
562
|
-
case W.checkboxGroup:
|
|
563
|
-
e = D("VvCheckboxGroup");
|
|
564
|
-
break;
|
|
565
|
-
case W.combobox:
|
|
566
|
-
e = D("VvCombobox");
|
|
567
|
-
break;
|
|
568
|
-
default: e = D("VvInputText");
|
|
569
|
-
}
|
|
570
|
-
if (typeof e != "string") return e;
|
|
571
|
-
console.warn(`[@volverjs/form-vue]: ${e} not found, the component will be loaded asynchronously. To avoid this warning, please set "lazyLoad" option.`);
|
|
572
|
-
}
|
|
573
|
-
return m(async () => {
|
|
574
|
-
switch (r?.sideEffects && await Promise.resolve(r.sideEffects(i.type)), i.type) {
|
|
575
|
-
case W.textarea: return import("@volverjs/ui-vue/vv-textarea");
|
|
576
|
-
case W.radio: return import("@volverjs/ui-vue/vv-radio");
|
|
577
|
-
case W.radioGroup: return import("@volverjs/ui-vue/vv-radio-group");
|
|
578
|
-
case W.checkbox: return import("@volverjs/ui-vue/vv-checkbox");
|
|
579
|
-
case W.checkboxGroup: return import("@volverjs/ui-vue/vv-checkbox-group");
|
|
580
|
-
case W.select: return import("@volverjs/ui-vue/vv-select");
|
|
581
|
-
case W.combobox: return import("@volverjs/ui-vue/vv-combobox");
|
|
582
|
-
}
|
|
583
|
-
return import("@volverjs/ui-vue/vv-input-text");
|
|
584
|
-
});
|
|
585
|
-
}),
|
|
586
|
-
hasProps: k,
|
|
587
|
-
invalid: _
|
|
588
|
-
};
|
|
589
|
-
},
|
|
590
|
-
render() {
|
|
591
|
-
return this.is ? _(this.is, this.hasProps, this.$slots) : this.type === W.custom ? _(this.component, null, this.$slots) : _(this.component, this.hasProps, this.$slots);
|
|
592
|
-
}
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
function je(e, t, n) {
|
|
596
|
-
return h({
|
|
597
|
-
name: "VvFormFieldsGroup",
|
|
598
|
-
props: {
|
|
599
|
-
is: {
|
|
600
|
-
type: [Object, String],
|
|
601
|
-
default: void 0
|
|
602
|
-
},
|
|
603
|
-
names: {
|
|
604
|
-
type: [Array, Object],
|
|
605
|
-
required: !0
|
|
606
|
-
},
|
|
607
|
-
props: {
|
|
608
|
-
type: [Object, Function],
|
|
609
|
-
default: () => ({})
|
|
610
|
-
},
|
|
611
|
-
showValid: {
|
|
612
|
-
type: Boolean,
|
|
613
|
-
default: !1
|
|
614
|
-
},
|
|
615
|
-
defaultValues: {
|
|
616
|
-
type: [Object],
|
|
617
|
-
default: void 0
|
|
618
|
-
},
|
|
619
|
-
readonly: {
|
|
620
|
-
type: Boolean,
|
|
621
|
-
default: void 0
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
emits: [
|
|
625
|
-
"invalid",
|
|
626
|
-
"update:formData",
|
|
627
|
-
"update:modelValue",
|
|
628
|
-
"valid"
|
|
629
|
-
],
|
|
630
|
-
expose: [
|
|
631
|
-
"component",
|
|
632
|
-
"errors",
|
|
633
|
-
"hasProps",
|
|
634
|
-
"invalid",
|
|
635
|
-
"invalidLabels",
|
|
636
|
-
"is"
|
|
637
|
-
],
|
|
638
|
-
slots: Object,
|
|
639
|
-
setup(r, { slots: i, emit: a }) {
|
|
640
|
-
let { props: o, names: s, defaultValues: l } = A(r), u = M(), d = c(() => Array.isArray(s.value) ? s.value : Object.values(s.value)), f = c(() => Array.isArray(s.value) ? s.value : Object.keys(s.value)), p = c(() => Array.isArray(s.value) ? s.value.reduce((e, t) => (e[String(t)] = t, e), {}) : s.value), m = c(() => Object.keys(p.value).reduce((e, t) => (e[String(p.value[t])] = t, e), {})), h = v(t, void 0);
|
|
641
|
-
h && d.value.forEach((e) => {
|
|
642
|
-
h.fields.value.set(`${u}-${e}`, e);
|
|
643
|
-
});
|
|
644
|
-
let g = v(e), _ = c({
|
|
645
|
-
get() {
|
|
646
|
-
return g?.formData ? f.value.reduce((e, t) => (e[t] = H(new Object(g.formData.value), p.value[t]), e), {}) : {};
|
|
647
|
-
},
|
|
648
|
-
set(e) {
|
|
649
|
-
g?.formData && (f.value.forEach((t) => {
|
|
650
|
-
U(new Object(g.formData.value), p.value[t], e?.[t]);
|
|
651
|
-
}), a("update:modelValue", {
|
|
652
|
-
newValue: _.value,
|
|
653
|
-
formData: g?.formData
|
|
654
|
-
}));
|
|
655
|
-
}
|
|
656
|
-
});
|
|
657
|
-
S(() => {
|
|
658
|
-
l.value && d.value.forEach((e) => {
|
|
659
|
-
l.value?.[e] !== void 0 && _.value[e] === void 0 && (_.value = {
|
|
660
|
-
..._.value,
|
|
661
|
-
[e]: l.value?.[e]
|
|
662
|
-
});
|
|
663
|
-
});
|
|
664
|
-
}), x(() => {
|
|
665
|
-
h && d.value.forEach((e) => {
|
|
666
|
-
h.fields.value.delete(`${u}-${e}`);
|
|
667
|
-
});
|
|
668
|
-
});
|
|
669
|
-
let y = c(() => {
|
|
670
|
-
if (!g?.errors.value) return;
|
|
671
|
-
let e = d.value.reduce((e, t) => {
|
|
672
|
-
if (!g.errors.value) return e;
|
|
673
|
-
let n = H(g.errors.value, String(t));
|
|
674
|
-
return n === void 0 || (e[String(t)] = n), e;
|
|
675
|
-
}, {});
|
|
676
|
-
if (Object.keys(e).length !== 0) return e;
|
|
677
|
-
}), b = c(() => {
|
|
678
|
-
if (!y.value) return;
|
|
679
|
-
let e = Object.keys(y.value).reduce((e, t) => (y.value?.[t] && (e[m.value[t]] = y.value[t]._errors), e), {});
|
|
680
|
-
if (Object.keys(e).length !== 0) return e;
|
|
681
|
-
}), C = c(() => y.value !== void 0), E = c(() => f.value.reduce((e, t) => (e[t] = !!y.value?.[m.value[t]], e), {})), D = N(C, () => {
|
|
682
|
-
if (C.value) {
|
|
683
|
-
a("invalid", y.value), h && d.value.forEach((e) => {
|
|
684
|
-
if (!y.value?.[e]) {
|
|
685
|
-
h.errors.value.delete(e);
|
|
686
|
-
return;
|
|
687
|
-
}
|
|
688
|
-
h.errors.value.set(e, y.value?.[e]);
|
|
689
|
-
});
|
|
690
|
-
return;
|
|
691
|
-
}
|
|
692
|
-
a("valid", _.value), h && d.value.forEach((e) => {
|
|
693
|
-
h.errors.value.delete(e);
|
|
694
|
-
});
|
|
695
|
-
}), O = N(() => g?.formData, () => {
|
|
696
|
-
a("update:formData", g?.formData);
|
|
697
|
-
}, { deep: !0 });
|
|
698
|
-
x(() => {
|
|
699
|
-
D(), O();
|
|
700
|
-
});
|
|
701
|
-
let k = (e) => {
|
|
702
|
-
_.value = e;
|
|
703
|
-
}, P = (e, t) => {
|
|
704
|
-
t instanceof InputEvent && (t = t.target.value), f.value.includes(e) && (_.value = {
|
|
705
|
-
..._.value,
|
|
706
|
-
[e]: t
|
|
707
|
-
});
|
|
708
|
-
}, F = c(() => {
|
|
709
|
-
let e = o.value;
|
|
710
|
-
return typeof e == "function" && (e = e(g?.formData)), Object.keys(e).reduce((t, n) => (t[n] = j(e[n]), t), {});
|
|
711
|
-
}), I = c(() => g?.readonly.value ? !0 : F.value.readonly ?? r.readonly), L = c(() => f.value.reduce((e, t) => (e[`onUpdate:${t}`] = (e) => {
|
|
712
|
-
P(t, e);
|
|
713
|
-
}, e), { "onUpdate:modelValue": k })), ee = c(() => ({
|
|
714
|
-
...L.value,
|
|
715
|
-
...F.value,
|
|
716
|
-
..._.value,
|
|
717
|
-
modelValue: _.value,
|
|
718
|
-
names: F.value.name ?? d.value,
|
|
719
|
-
invalid: C.value,
|
|
720
|
-
invalids: E.value,
|
|
721
|
-
valid: r.showValid ? !!(!C.value && _.value) : void 0,
|
|
722
|
-
invalidLabels: b.value,
|
|
723
|
-
readonly: I.value
|
|
724
|
-
}));
|
|
725
|
-
return w(n, {
|
|
726
|
-
names: T(s),
|
|
727
|
-
errors: T(y)
|
|
728
|
-
}), {
|
|
729
|
-
component: c(() => ({ render() {
|
|
730
|
-
return i.default?.({
|
|
731
|
-
errors: y.value,
|
|
732
|
-
formData: g?.formData.value,
|
|
733
|
-
formErrors: g?.errors.value,
|
|
734
|
-
invalid: C.value,
|
|
735
|
-
invalids: E.value,
|
|
736
|
-
invalidLabels: b.value,
|
|
737
|
-
modelValue: _.value,
|
|
738
|
-
onUpdate: k,
|
|
739
|
-
onUpdateField: P,
|
|
740
|
-
readonly: I.value,
|
|
741
|
-
submit: g?.submit,
|
|
742
|
-
validate: g?.validate
|
|
743
|
-
}) ?? i.default;
|
|
744
|
-
} })),
|
|
745
|
-
hasProps: ee,
|
|
746
|
-
invalid: C
|
|
747
|
-
};
|
|
748
|
-
},
|
|
749
|
-
render() {
|
|
750
|
-
return this.is ? _(this.is, this.hasProps, this.$slots) : _(this.component, null, this.$slots);
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
function Me(e, t) {
|
|
755
|
-
return h({
|
|
756
|
-
name: "VvFormWrapper",
|
|
757
|
-
props: {
|
|
758
|
-
name: {
|
|
759
|
-
type: String,
|
|
760
|
-
required: !0
|
|
761
|
-
},
|
|
762
|
-
tag: {
|
|
763
|
-
type: String,
|
|
764
|
-
default: void 0
|
|
765
|
-
},
|
|
766
|
-
readonly: {
|
|
767
|
-
type: Boolean,
|
|
768
|
-
default: !1
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
emits: ["invalid", "valid"],
|
|
772
|
-
expose: [
|
|
773
|
-
"clear",
|
|
774
|
-
"errors",
|
|
775
|
-
"fields",
|
|
776
|
-
"fieldsErrors",
|
|
777
|
-
"formData",
|
|
778
|
-
"invalid",
|
|
779
|
-
"readonly",
|
|
780
|
-
"reset",
|
|
781
|
-
"submit",
|
|
782
|
-
"tag",
|
|
783
|
-
"validate",
|
|
784
|
-
"validateWrapper"
|
|
785
|
-
],
|
|
786
|
-
slots: Object,
|
|
787
|
-
setup(n, { emit: r }) {
|
|
788
|
-
let i = v(e), a = v(t, void 0), o = E(/* @__PURE__ */ new Map()), s = E(/* @__PURE__ */ new Map()), { name: l } = A(n), u = c(() => i?.invalid.value ? s.value.size > 0 : !1);
|
|
789
|
-
N(u, (e) => {
|
|
790
|
-
if (e) {
|
|
791
|
-
r("invalid");
|
|
792
|
-
return;
|
|
793
|
-
}
|
|
794
|
-
r("valid");
|
|
795
|
-
});
|
|
796
|
-
let d = c(() => i?.readonly.value || n.readonly), f = {
|
|
797
|
-
name: T(l),
|
|
798
|
-
errors: s,
|
|
799
|
-
invalid: T(u),
|
|
800
|
-
readonly: T(d),
|
|
801
|
-
fields: o
|
|
802
|
-
};
|
|
803
|
-
return w(t, f), N(c(() => new Map(o.value)), (e, t) => {
|
|
804
|
-
a?.fields && (t.forEach((t, n) => {
|
|
805
|
-
e.has(n) || a?.fields.value.delete(n);
|
|
806
|
-
}), e.forEach((e, t) => {
|
|
807
|
-
a?.fields.value.has(t) || a?.fields.value.set(t, e);
|
|
808
|
-
}));
|
|
809
|
-
}, { deep: !0 }), N(s, (e) => {
|
|
810
|
-
a?.errors && o.value.forEach((t) => {
|
|
811
|
-
if (e.has(t) || a.errors.value.delete(t), e.has(t)) {
|
|
812
|
-
let n = e.get(t);
|
|
813
|
-
n && a.errors.value.set(t, n);
|
|
814
|
-
}
|
|
815
|
-
});
|
|
816
|
-
}, { deep: !0 }), S(() => {
|
|
817
|
-
if (!i?.wrappers || !l.value) {
|
|
818
|
-
console.warn("[@volverjs/form-vue]: Invalid wrapper registration state");
|
|
819
|
-
return;
|
|
820
|
-
}
|
|
821
|
-
if (i.wrappers.has(l.value)) {
|
|
822
|
-
console.warn(`[@volverjs/form-vue]: wrapper name "${l.value}" is already used`);
|
|
823
|
-
return;
|
|
824
|
-
}
|
|
825
|
-
i.wrappers.set(l.value, f);
|
|
826
|
-
}), x(() => {
|
|
827
|
-
i?.wrappers && l.value && i.wrappers.delete(l.value);
|
|
828
|
-
}), {
|
|
829
|
-
errors: i?.errors,
|
|
830
|
-
fields: o,
|
|
831
|
-
fieldsErrors: s,
|
|
832
|
-
formData: i?.formData,
|
|
833
|
-
invalid: u,
|
|
834
|
-
readonly: d,
|
|
835
|
-
clear: i?.clear,
|
|
836
|
-
reset: i?.reset,
|
|
837
|
-
submit: i?.submit,
|
|
838
|
-
validate: i?.validate,
|
|
839
|
-
validateWrapper: () => i?.validate(void 0, { fields: new Set(o.value.values()) }) ?? Promise.resolve(!0)
|
|
840
|
-
};
|
|
841
|
-
},
|
|
842
|
-
render() {
|
|
843
|
-
let e = () => this.$slots.default?.({
|
|
844
|
-
errors: this.errors,
|
|
845
|
-
fieldsErrors: this.fieldsErrors,
|
|
846
|
-
formData: this.formData,
|
|
847
|
-
invalid: this.invalid,
|
|
848
|
-
readonly: this.readonly,
|
|
849
|
-
clear: this.clear,
|
|
850
|
-
reset: this.reset,
|
|
851
|
-
submit: this.submit,
|
|
852
|
-
validate: this.validate,
|
|
853
|
-
validateWrapper: this.validateWrapper
|
|
854
|
-
});
|
|
855
|
-
return this.tag ? _(this.tag, null, { default: e }) : e();
|
|
856
|
-
}
|
|
857
|
-
});
|
|
858
|
-
}
|
|
859
|
-
function Ne(e, t) {
|
|
860
|
-
let n = h({
|
|
861
|
-
name: "VvFormTemplate",
|
|
862
|
-
props: {
|
|
863
|
-
schema: {
|
|
864
|
-
type: [Array, Function],
|
|
865
|
-
required: !0
|
|
866
|
-
},
|
|
867
|
-
scope: {
|
|
868
|
-
type: Object,
|
|
869
|
-
default: () => ({})
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
slots: Object,
|
|
873
|
-
setup(r, { slots: i }) {
|
|
874
|
-
let a = v(e);
|
|
875
|
-
if (a?.formData) return () => {
|
|
876
|
-
let e = typeof r.schema == "function" ? r.schema(a, r.scope) : r.schema, o, s = e.reduce((e, i) => {
|
|
877
|
-
let { vvIs: s, vvName: c, vvSlots: l, vvChildren: u, vvIf: d, vvElseIf: f, vvType: p, vvDefaultValue: m, vvShowValid: h, vvContent: g, ...v } = typeof i == "function" ? i(a, r.scope) : i;
|
|
878
|
-
if (d !== void 0) {
|
|
879
|
-
if (o = typeof d == "string" ? !!H(new Object(a.formData.value), d) : j(typeof d == "function" ? d(a) : d), !o) return e;
|
|
880
|
-
} else if (f !== void 0 && o !== void 0) {
|
|
881
|
-
if (o || (o = typeof f == "string" ? !!H(new Object(a.formData.value), f) : j(typeof f == "function" ? f(a) : f), !o)) return e;
|
|
882
|
-
} else o = void 0;
|
|
883
|
-
let y;
|
|
884
|
-
return u && (y = typeof s == "string" ? _(n, { schema: u }) : { default: (e) => _(n, {
|
|
885
|
-
schema: u,
|
|
886
|
-
scope: e
|
|
887
|
-
}) }), c ? (e.push(_(t, {
|
|
888
|
-
name: c,
|
|
889
|
-
is: s,
|
|
890
|
-
type: p,
|
|
891
|
-
defaultValue: m,
|
|
892
|
-
showValid: h,
|
|
893
|
-
props: v
|
|
894
|
-
}, l ?? y ?? g)), e) : s ? (e.push(_(s, v, l ?? y ?? g)), e) : (y && ("default" in y ? e.push(y.default(r.scope)) : e.push(y)), e);
|
|
895
|
-
}, []);
|
|
896
|
-
return s.push(i?.default?.({
|
|
897
|
-
errors: a?.errors.value,
|
|
898
|
-
formData: a?.formData.value,
|
|
899
|
-
invalid: a?.invalid.value,
|
|
900
|
-
status: a?.status.value,
|
|
901
|
-
submit: a?.submit,
|
|
902
|
-
validate: a?.validate,
|
|
903
|
-
clear: a?.clear,
|
|
904
|
-
reset: a?.reset
|
|
905
|
-
})), s;
|
|
906
|
-
};
|
|
907
|
-
}
|
|
908
|
-
});
|
|
909
|
-
return n;
|
|
910
|
-
}
|
|
911
|
-
function Pe(e, t = {}) {
|
|
912
|
-
let n = Symbol("formInjectionKey"), r = Symbol("formWrapperInjectionKey"), i = Symbol("formFieldInjectionKey"), a = Symbol("formFieldsGroupInjectionKey"), o = Me(n, r), s = Ae(n, r, i, t), c = je(n, r, a), l = Ne(n, s), u = /* @__PURE__ */ new Map(), { clear: d, errors: f, formData: p, ignoreUpdates: m, invalid: h, readonly: g, reset: _, status: v, stopUpdatesWatch: y, submit: b, validate: x, VvForm: S } = ke(e, n, t, l, u);
|
|
913
|
-
return {
|
|
914
|
-
clear: d,
|
|
915
|
-
errors: f,
|
|
916
|
-
formData: p,
|
|
917
|
-
formFieldInjectionKey: i,
|
|
918
|
-
formInjectionKey: n,
|
|
919
|
-
formWrapperInjectionKey: r,
|
|
920
|
-
ignoreUpdates: m,
|
|
921
|
-
invalid: h,
|
|
922
|
-
readonly: g,
|
|
923
|
-
reset: _,
|
|
924
|
-
status: v,
|
|
925
|
-
stopUpdatesWatch: y,
|
|
926
|
-
submit: b,
|
|
927
|
-
validate: x,
|
|
928
|
-
wrappers: u,
|
|
929
|
-
VvForm: S,
|
|
930
|
-
VvFormField: s,
|
|
931
|
-
VvFormFieldsGroup: c,
|
|
932
|
-
VvFormTemplate: l,
|
|
933
|
-
VvFormWrapper: o
|
|
934
|
-
};
|
|
935
|
-
}
|
|
936
|
-
var Fe = Symbol("pluginInjectionKey"), Q = /* @__PURE__ */ new Map();
|
|
937
|
-
function $(e, t = {}) {
|
|
938
|
-
if (t.scope && Q.has(t.scope)) return Q.get(t.scope);
|
|
939
|
-
if (!g()) {
|
|
940
|
-
let n = Pe(e, t);
|
|
941
|
-
return t.scope && Q.set(t.scope, n), n;
|
|
942
|
-
}
|
|
943
|
-
let n = Pe(e, {
|
|
944
|
-
...v(Fe, {}),
|
|
945
|
-
...t
|
|
946
|
-
});
|
|
947
|
-
return t.scope && Q.set(t.scope, n), n;
|
|
948
|
-
}
|
|
949
|
-
//#endregion
|
|
950
|
-
//#region ../../packages/components/src/chat/PkChatbotFeedbackForm.vue?vue&type=script&setup=true&lang.ts
|
|
951
|
-
var Ie = { class: "border border-surface-3 rounded-xl w-full overflow-hidden" }, Le = { 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" }, Re = { class: "font-bold" }, ze = {
|
|
952
|
-
key: 0,
|
|
953
|
-
class: "p-sm"
|
|
954
|
-
}, Be = { class: "flex justify-end" }, Ve = {
|
|
955
|
-
key: 1,
|
|
956
|
-
class: "p-sm"
|
|
957
|
-
}, He = { class: "flex items-center gap-sm" }, Ue = { class: "font-semibold block text-success" }, We = { class: "text-word-3" }, Ge = /* @__PURE__ */ h({
|
|
958
|
-
__name: "PkChatbotFeedbackForm",
|
|
959
|
-
props: {
|
|
960
|
-
submitted: { type: Boolean },
|
|
961
|
-
loading: { type: Boolean },
|
|
962
|
-
error: {}
|
|
963
|
-
},
|
|
964
|
-
emits: ["submit", "close"],
|
|
965
|
-
setup(e, { emit: t }) {
|
|
966
|
-
let { t: n } = ie({ useScope: "global" }), r = t, { VvForm: o, VvFormField: c, formData: m } = $(i({ comment: a().min(1).default("") }), { lazyLoad: !0 }), h = (e) => {
|
|
967
|
-
r("submit", e.comment);
|
|
968
|
-
};
|
|
969
|
-
return (t, r) => {
|
|
970
|
-
let i = te, a = L, g = I, _ = ee;
|
|
971
|
-
return C(), d("div", Ie, [f("div", Le, [
|
|
972
|
-
p(i, {
|
|
973
|
-
name: "ri:feedback-line",
|
|
974
|
-
class: "text-16"
|
|
975
|
-
}),
|
|
976
|
-
f("strong", Re, O(j(n)("action.feedback")), 1),
|
|
977
|
-
p(a, {
|
|
978
|
-
icon: "ri:close-line",
|
|
979
|
-
modifiers: "action-quiet-small",
|
|
980
|
-
title: j(n)("action.close"),
|
|
981
|
-
class: "ml-auto",
|
|
982
|
-
onClick: r[0] ||= F((e) => t.$emit("close"), ["stop"])
|
|
983
|
-
}, null, 8, ["title"])
|
|
984
|
-
]), p(s, { mode: "out-in" }, {
|
|
985
|
-
default: P(() => [e.submitted ? (C(), d("div", Ve, [f("div", He, [p(i, {
|
|
986
|
-
name: "ri:checkbox-circle-line",
|
|
987
|
-
class: "text-24 text-success"
|
|
988
|
-
}), f("div", null, [f("strong", Ue, O(j(n)("message.feedbackSubmittedTitle")), 1), f("p", We, O(j(n)("message.feedbackSubmittedMessage")), 1)])])])) : (C(), d("div", ze, [e.error ? (C(), l(g, {
|
|
989
|
-
key: 0,
|
|
990
|
-
modifiers: "danger",
|
|
991
|
-
class: "mb-sm",
|
|
992
|
-
label: e.error
|
|
993
|
-
}, null, 8, ["label"])) : u("", !0), p(j(o), {
|
|
994
|
-
modelValue: j(m),
|
|
995
|
-
"onUpdate:modelValue": r[2] ||= (e) => b(m) ? m.value = e : null,
|
|
996
|
-
onSubmit: h
|
|
997
|
-
}, {
|
|
998
|
-
default: P(() => [p(j(c), {
|
|
999
|
-
name: "comment",
|
|
1000
|
-
type: "textarea",
|
|
1001
|
-
rows: "3",
|
|
1002
|
-
label: j(n)("label.comment"),
|
|
1003
|
-
placeholder: j(n)("placeholder.comment"),
|
|
1004
|
-
modifiers: "compact no-label",
|
|
1005
|
-
class: "mb-sm"
|
|
1006
|
-
}, null, 8, ["label", "placeholder"]), f("div", Be, [p(_, null, {
|
|
1007
|
-
default: P(() => [p(a, {
|
|
1008
|
-
type: "button",
|
|
1009
|
-
modifiers: "secondary",
|
|
1010
|
-
label: j(n)("action.close"),
|
|
1011
|
-
onClick: r[1] ||= (e) => t.$emit("close")
|
|
1012
|
-
}, null, 8, ["label"]), p(a, {
|
|
1013
|
-
type: "submit",
|
|
1014
|
-
modifiers: "primary",
|
|
1015
|
-
loading: e.loading,
|
|
1016
|
-
disabled: e.loading,
|
|
1017
|
-
label: j(n)("action.submit")
|
|
1018
|
-
}, null, 8, [
|
|
1019
|
-
"loading",
|
|
1020
|
-
"disabled",
|
|
1021
|
-
"label"
|
|
1022
|
-
])]),
|
|
1023
|
-
_: 1
|
|
1024
|
-
})])]),
|
|
1025
|
-
_: 1
|
|
1026
|
-
}, 8, ["modelValue"])]))]),
|
|
1027
|
-
_: 1
|
|
1028
|
-
})]);
|
|
1029
|
-
};
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
|
-
//#endregion
|
|
1033
|
-
export { $ as n, Ge as t };
|
|
1034
|
-
|
|
1035
|
-
//# sourceMappingURL=PkChatbotFeedbackForm-Dl1pWKbb.js.map
|