@8wave/ai-elements 0.73.0 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -15
- package/dist/_chunks/{PkStreamingMarkdown-orhL2kzD.js → PkStreamingMarkdown-rIdQh5_D.js} +20 -20
- package/dist/_chunks/PkStreamingMarkdown-rIdQh5_D.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-D-dU41VG.js → PkToolShowArtifact-CeLgwZBA.js} +6 -6
- package/dist/_chunks/{PkToolShowArtifact-D-dU41VG.js.map → PkToolShowArtifact-CeLgwZBA.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-B33fWbkk.js → PkToolShowCalendarEvent-cQpAAE3a.js} +10 -10
- package/dist/_chunks/{PkToolShowCalendarEvent-B33fWbkk.js.map → PkToolShowCalendarEvent-cQpAAE3a.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-CcKHsr36.js → PkToolShowComparison-Cu-zT8-Z.js} +6 -6
- package/dist/_chunks/{PkToolShowComparison-CcKHsr36.js.map → PkToolShowComparison-Cu-zT8-Z.js.map} +1 -1
- package/dist/_chunks/PkToolShowContactForm-CqoSVvjG.js +1658 -0
- package/dist/_chunks/PkToolShowContactForm-CqoSVvjG.js.map +1 -0
- package/dist/_chunks/{PkToolShowEmail-BOivL2p_.js → PkToolShowEmail-oLGym0R9.js} +10 -10
- package/dist/_chunks/{PkToolShowEmail-BOivL2p_.js.map → PkToolShowEmail-oLGym0R9.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-Dy0vFEU-.js → PkToolShowImageGallery-CDXSL1Mg.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-Dy0vFEU-.js.map → PkToolShowImageGallery-CDXSL1Mg.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-US6u26ra.js → PkToolShowLocation-BtRUdoEw.js} +7 -7
- package/dist/_chunks/{PkToolShowLocation-US6u26ra.js.map → PkToolShowLocation-BtRUdoEw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-Cjslxq94.js → PkToolShowMessage-tJQGRhce.js} +9 -9
- package/dist/_chunks/{PkToolShowMessage-Cjslxq94.js.map → PkToolShowMessage-tJQGRhce.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMultipleChoice-BEwiJCLu.js → PkToolShowMultipleChoice-CtVvdyDg.js} +3 -3
- package/dist/_chunks/{PkToolShowMultipleChoice-BEwiJCLu.js.map → PkToolShowMultipleChoice-CtVvdyDg.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D3Qe8yQM.js → PkToolShowProductList-D_k6CDdb.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-D3Qe8yQM.js.map → PkToolShowProductList-D_k6CDdb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-B64sdI0N.js → PkToolShowQrCode-S1j_T8wQ.js} +6 -6
- package/dist/_chunks/{PkToolShowQrCode-B64sdI0N.js.map → PkToolShowQrCode-S1j_T8wQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-B2rf94fU.js → PkToolShowSources-CroItMtG.js} +6 -5
- package/dist/_chunks/PkToolShowSources-CroItMtG.js.map +1 -0
- package/dist/_chunks/{PkToolShowSuggestedReply-BGWA08C7.js → PkToolShowSuggestedReply-BRa5Lpti.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BGWA08C7.js.map → PkToolShowSuggestedReply-BRa5Lpti.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-ClMzD04y.js → PkToolShowWeather-CUpCJ8Nj.js} +3 -3
- package/dist/_chunks/{PkToolShowWeather-ClMzD04y.js.map → PkToolShowWeather-CUpCJ8Nj.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-BCqywwEK.js → PkToolShowWebPages-f-dHyxfD.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-BCqywwEK.js.map → PkToolShowWebPages-f-dHyxfD.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-kmMsWlkU.js → VvCheckbox.es-BF8Mdg0O.js} +2 -2
- package/dist/_chunks/{VvCheckbox.es-kmMsWlkU.js.map → VvCheckbox.es-BF8Mdg0O.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-BRRmuO9h.js → VvCheckboxGroup.es-BJc8MmJ3.js} +109 -109
- package/dist/_chunks/{VvCheckboxGroup.es-BRRmuO9h.js.map → VvCheckboxGroup.es-BJc8MmJ3.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-pTM53Z4B.js → VvCombobox.es-ILRHqAye.js} +256 -256
- package/dist/_chunks/{VvCombobox.es-pTM53Z4B.js.map → VvCombobox.es-ILRHqAye.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-DO39OSWk.js → VvInputText.es-CDnMeO26.js} +190 -190
- package/dist/_chunks/{VvInputText.es-DO39OSWk.js.map → VvInputText.es-CDnMeO26.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-BpQAJbon.js → VvRadio.es-C2p5vvAx.js} +2 -2
- package/dist/_chunks/{VvRadio.es-BpQAJbon.js.map → VvRadio.es-C2p5vvAx.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-BSBrmx9w.js → VvRadioGroup.es-6GlWuDjY.js} +10 -10
- package/dist/_chunks/{VvRadioGroup.es-BSBrmx9w.js.map → VvRadioGroup.es-6GlWuDjY.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-DALpUK5j.js → VvSelect.es-i4lO9onq.js} +6 -6
- package/dist/_chunks/{VvSelect.es-DALpUK5j.js.map → VvSelect.es-i4lO9onq.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-C9dwYLOG.js → VvTextarea.es-CGpiCS4S.js} +248 -248
- package/dist/_chunks/{VvTextarea.es-C9dwYLOG.js.map → VvTextarea.es-CGpiCS4S.js.map} +1 -1
- package/dist/_chunks/{dist-DtF6poRc.js → dist-BTnzL-m0.js} +131 -119
- package/dist/_chunks/dist-BTnzL-m0.js.map +1 -0
- package/dist/_chunks/{index.es-Z3Hu-QIb.js → index.es-CUjDCkXD.js} +2428 -1558
- package/dist/_chunks/{index.es-Z3Hu-QIb.js.map → index.es-CUjDCkXD.js.map} +1 -1
- package/dist/_chunks/{schemas-Bp3a8tYV.js → schemas-aPiXCaCc.js} +1309 -945
- package/dist/_chunks/schemas-aPiXCaCc.js.map +1 -0
- package/dist/ai-elements.es.js +4746 -3352
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.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-Bic_vfSX.js → Media-CXQSoKqt.js} +3 -3
- package/dist-vue/_chunks/{Media-Bic_vfSX.js.map → Media-CXQSoKqt.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbot-DAzGc7al.js +190 -0
- package/dist-vue/_chunks/{PkChatbot-D5_ytfqS.js.map → PkChatbot-DAzGc7al.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-CUnS-WyR.js → PkChatbotFeedbackForm-DvUzirPP.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-CUnS-WyR.js.map → PkChatbotFeedbackForm-DvUzirPP.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFilePreview-JSpi3pmN.js → PkChatbotFilePreview-DHzuGtz5.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFilePreview-JSpi3pmN.js.map → PkChatbotFilePreview-DHzuGtz5.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-ODPhsqZt.js → PkChatbotInput-C5QSmt21.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-ODPhsqZt.js.map → PkChatbotInput-C5QSmt21.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CMLqkhmb.js → PkChatbotMessages-dsjB0-26.js} +16 -16
- package/dist-vue/_chunks/PkChatbotMessages-dsjB0-26.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-wLCypxNG.js → PkChatbotViewChat-CjoezIyz.js} +9 -9
- package/dist-vue/_chunks/{PkChatbotViewChat-wLCypxNG.js.map → PkChatbotViewChat-CjoezIyz.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-DSQu6vY1.js +163 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-DSQu6vY1.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewProfile-CXmmVXrD.js → PkChatbotViewProfile-BJJiaG9H.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-CXmmVXrD.js.map → PkChatbotViewProfile-BJJiaG9H.js.map} +1 -1
- package/dist-vue/_chunks/{PkRelativeTime-jP41qAJ5.js → PkRelativeTime-WZ2aPcp_.js} +1 -1
- package/dist-vue/_chunks/{PkRelativeTime-jP41qAJ5.js.map → PkRelativeTime-WZ2aPcp_.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-CtiMH6FD.js → PkStreamingMarkdown-BAhC3uGK.js} +20 -20
- package/dist-vue/_chunks/PkStreamingMarkdown-BAhC3uGK.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowArtifact-C2DgB_1z.js → PkToolShowArtifact-RzrDPcEQ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-C2DgB_1z.js.map → PkToolShowArtifact-RzrDPcEQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BzzbXuhh.js → PkToolShowContactForm-r_GgO-ZX.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowContactForm-BzzbXuhh.js.map → PkToolShowContactForm-r_GgO-ZX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-DQXrJYop.js → PkToolShowImageGallery-B7Bt6ZGv.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-DQXrJYop.js.map → PkToolShowImageGallery-B7Bt6ZGv.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowLocation-McDIqI8y.js → PkToolShowLocation-DteWf0Cs.js} +1 -1
- package/dist-vue/_chunks/{PkToolShowLocation-McDIqI8y.js.map → PkToolShowLocation-DteWf0Cs.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowMultipleChoice-DW3m6VbJ.js → PkToolShowMultipleChoice-DZXfWtQp.js} +1 -1
- package/dist-vue/_chunks/{PkToolShowMultipleChoice-DW3m6VbJ.js.map → PkToolShowMultipleChoice-DZXfWtQp.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BDSJs7bn.js → PkToolShowProductList-CtqWK0x4.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BDSJs7bn.js.map → PkToolShowProductList-CtqWK0x4.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-D5cBZxwQ.js → PkToolShowSources-DK2DCvU3.js} +6 -5
- package/dist-vue/_chunks/PkToolShowSources-DK2DCvU3.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm3BTWYg.js → PkToolShowSuggestedReply-30m9yWDL.js} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm3BTWYg.js.map → PkToolShowSuggestedReply-30m9yWDL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-DnYVhLVU.js → PkToolShowWebPages-DZIdrdWs.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-DnYVhLVU.js.map → PkToolShowWebPages-DZIdrdWs.js.map} +1 -1
- package/dist-vue/_chunks/{PkUrl-CH4pWBR8.js → PkUrl-CGbSBfuP.js} +1 -1
- package/dist-vue/_chunks/{PkUrl-CH4pWBR8.js.map → PkUrl-CGbSBfuP.js.map} +1 -1
- package/dist-vue/_chunks/{ZodError-Ca0wCsGp.js → ZodError-C_est8SY.js} +2 -2
- package/dist-vue/_chunks/{ZodError-Ca0wCsGp.js.map → ZodError-C_est8SY.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-2ynLWELM.js → createChatbotApiClient-f86KwRcq.js} +141 -119
- package/dist-vue/_chunks/createChatbotApiClient-f86KwRcq.js.map +1 -0
- package/dist-vue/_chunks/{dist-Bs6dYy7x.js → dist-21vPGg1O.js} +3 -3
- package/dist-vue/_chunks/{dist-Bs6dYy7x.js.map → dist-21vPGg1O.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Bb1zRSg4.js → dist-BGXTbYew2.js} +4 -4
- package/dist-vue/_chunks/dist-BGXTbYew2.js.map +1 -0
- package/dist-vue/_chunks/{dist-BrlD3co0.js → dist-BL9cumqH.js} +2 -2
- package/dist-vue/_chunks/{dist-BrlD3co0.js.map → dist-BL9cumqH.js.map} +1 -1
- package/dist-vue/_chunks/{dist-B9Pw4_a5.js → dist-BU-VgsYM.js} +3 -3
- package/dist-vue/_chunks/{dist-B9Pw4_a5.js.map → dist-BU-VgsYM.js.map} +1 -1
- package/dist-vue/_chunks/{dist-D-tjAaHK.js → dist-BU5m1pTR.js} +3 -3
- package/dist-vue/_chunks/{dist-D-tjAaHK.js.map → dist-BU5m1pTR.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Dn0cKZ5Q.js → dist-BbP2I_Or.js} +2 -2
- package/dist-vue/_chunks/{dist-Dn0cKZ5Q.js.map → dist-BbP2I_Or.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Cvsv0YEw.js → dist-BvmTki6w.js} +3 -3
- package/dist-vue/_chunks/{dist-Cvsv0YEw.js.map → dist-BvmTki6w.js.map} +1 -1
- package/dist-vue/_chunks/{dist-QzbLuLIV.js → dist-C3dPzENq.js} +3 -3
- package/dist-vue/_chunks/{dist-QzbLuLIV.js.map → dist-C3dPzENq.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BMWOJZqC.js → dist-C6AWJq9a.js} +2 -2
- package/dist-vue/_chunks/{dist-BMWOJZqC.js.map → dist-C6AWJq9a.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BQCdUoYc.js → dist-CGNGkvWf.js} +4 -4
- package/dist-vue/_chunks/{dist-BQCdUoYc.js.map → dist-CGNGkvWf.js.map} +1 -1
- package/dist-vue/_chunks/{dist-JOgG1zY3.js → dist-CIN_Avbm.js} +1 -1
- package/dist-vue/_chunks/{dist-JOgG1zY3.js.map → dist-CIN_Avbm.js.map} +1 -1
- package/dist-vue/_chunks/{dist-NKG-Bt-Q.js → dist-CePpgudw.js} +3 -3
- package/dist-vue/_chunks/{dist-NKG-Bt-Q.js.map → dist-CePpgudw.js.map} +1 -1
- package/dist-vue/_chunks/{dist-C13mHkC-.js → dist-CtMo7ig_.js} +2 -2
- package/dist-vue/_chunks/{dist-C13mHkC-.js.map → dist-CtMo7ig_.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DucfoJQX.js → dist-CwG072cD.js} +3 -3
- package/dist-vue/_chunks/{dist-DucfoJQX.js.map → dist-CwG072cD.js.map} +1 -1
- package/dist-vue/_chunks/{dist-_4yQQX_L.js → dist-DFvVVU0-.js} +2 -2
- package/dist-vue/_chunks/{dist-_4yQQX_L.js.map → dist-DFvVVU0-.js.map} +1 -1
- package/dist-vue/_chunks/{dist-C_tRbeXQ.js → dist-DGz57kzK.js} +2 -2
- package/dist-vue/_chunks/{dist-C_tRbeXQ.js.map → dist-DGz57kzK.js.map} +1 -1
- package/dist-vue/_chunks/{dist-C2tC3pDh.js → dist-DT30Xa-D.js} +2 -2
- package/dist-vue/_chunks/{dist-C2tC3pDh.js.map → dist-DT30Xa-D.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DNn7FqmI.js → dist-DoRhRpjL.js} +2 -2
- package/dist-vue/_chunks/{dist-DNn7FqmI.js.map → dist-DoRhRpjL.js.map} +1 -1
- package/dist-vue/_chunks/{dist-CQmgfFIN.js → dist-GnhLE5-A.js} +4 -4
- package/dist-vue/_chunks/{dist-CQmgfFIN.js.map → dist-GnhLE5-A.js.map} +1 -1
- package/dist-vue/_chunks/{dist-1ToEz3Zq.js → dist-QzWOn2Kx.js} +3 -3
- package/dist-vue/_chunks/{dist-1ToEz3Zq.js.map → dist-QzWOn2Kx.js.map} +1 -1
- package/dist-vue/_chunks/{dist-e9UFeG14.js → dist-uYEYs0EJ.js} +2 -2
- package/dist-vue/_chunks/{dist-e9UFeG14.js.map → dist-uYEYs0EJ.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BpT8aqtS.js → dist-ukeBjdwq.js} +4 -4
- package/dist-vue/_chunks/{dist-BpT8aqtS.js.map → dist-ukeBjdwq.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BHTSdHeX.js → dist-wLB8N32T.js} +3 -3
- package/dist-vue/_chunks/{dist-BHTSdHeX.js.map → dist-wLB8N32T.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-BnOT0fHY.js → index.es-_14zrNZB.js} +4 -4
- package/dist-vue/_chunks/{index.es-BnOT0fHY.js.map → index.es-_14zrNZB.js.map} +1 -1
- package/dist-vue/_chunks/{schemas-sa2dDEGb.js → schemas-Clx4oKCB.js} +1309 -945
- package/dist-vue/_chunks/schemas-Clx4oKCB.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-Im8Xjwte.js → useChatbotStore-CJlkoNn7.js} +756 -679
- package/dist-vue/_chunks/useChatbotStore-CJlkoNn7.js.map +1 -0
- package/dist-vue/_chunks/{useLightbox-BiZUwsmB.js → useLightbox-1sB7fmFb.js} +1 -1
- package/dist-vue/_chunks/{useLightbox-BiZUwsmB.js.map → useLightbox-1sB7fmFb.js.map} +1 -1
- package/dist-vue/_chunks/{utils-DO7emdsn.js → utils-BegUBK7s.js} +1 -1
- package/dist-vue/_chunks/{utils-DO7emdsn.js.map → utils-BegUBK7s.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +9 -7
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +8 -8
- package/dist-vue/apps/web-component/src/lib.d.ts +29 -0
- package/dist-vue/apps/web-component/src/main.d.ts +0 -0
- package/dist-vue/apps/web-component/src/modules/applicationInsights.d.ts +38 -0
- package/dist-vue/composables.js +3 -3
- package/dist-vue/index.js +3680 -3664
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +56 -20
- package/dist-vue/packages/auth/src/add-member-to-organization.d.ts +5 -0
- package/dist-vue/packages/auth/src/anonymous-reauth-plugin.d.ts +11 -0
- package/dist-vue/packages/auth/src/external-auth-plugin.d.ts +2 -0
- package/dist-vue/packages/auth/src/index.d.ts +3477 -8
- package/dist-vue/packages/auth/src/media-helpers.d.ts +13 -0
- package/dist-vue/packages/auth/src/organization-auto-join.d.ts +1 -0
- package/dist-vue/packages/components/src/PkEditorMarkdown.d.ts +1 -1
- package/dist-vue/packages/components/src/PkEditorPrompt.d.ts +2 -0
- package/dist-vue/packages/components/src/PkEditorRepeater.d.ts +2 -2
- package/dist-vue/packages/components/src/PkEditorWyswyg.d.ts +1 -1
- package/dist-vue/packages/components/src/PkFieldset.d.ts +3 -3
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -3
- package/dist-vue/packages/components/src/chat/PkEditorChannels.d.ts +16 -0
- package/dist-vue/packages/components/src/composables/index.d.ts +3 -0
- package/dist-vue/packages/components/src/composables/useChatbotError.d.ts +11 -11
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
- package/dist-vue/packages/composable/src/constants.d.ts +5 -0
- package/dist-vue/packages/composable/src/useDialog.d.ts +3 -3
- package/dist-vue/packages/composable/src/useSettingsStore.d.ts +4 -5
- package/dist-vue/packages/models/src/schema/Agent.d.ts +37 -27
- package/dist-vue/packages/models/src/schema/Chat.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Document.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +8 -6
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +13 -11
- package/dist-vue/style.css +1 -1
- package/package.json +3 -3
- package/dist/_chunks/PkStreamingMarkdown-orhL2kzD.js.map +0 -1
- package/dist/_chunks/PkToolShowContactForm-SmOSbCsp.js +0 -1103
- package/dist/_chunks/PkToolShowContactForm-SmOSbCsp.js.map +0 -1
- package/dist/_chunks/PkToolShowSources-B2rf94fU.js.map +0 -1
- package/dist/_chunks/dist-DtF6poRc.js.map +0 -1
- package/dist/_chunks/schemas-Bp3a8tYV.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-D5_ytfqS.js +0 -190
- package/dist-vue/_chunks/PkChatbotMessages-CMLqkhmb.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-B5qBiqo4.js +0 -40
- package/dist-vue/_chunks/PkChatbotViewConversations-B5qBiqo4.js.map +0 -1
- package/dist-vue/_chunks/PkStreamingMarkdown-CtiMH6FD.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowSources-D5cBZxwQ.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-2ynLWELM.js.map +0 -1
- package/dist-vue/_chunks/dist-Bb1zRSg4.js.map +0 -1
- package/dist-vue/_chunks/schemas-sa2dDEGb.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-Im8Xjwte.js.map +0 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { $ as e, B as t, Bt as n, C as r, E as i, F as a, G as o, Gt as s, H as c, Ht as l, K as u, L as d, M as f, O as p, P as m, S as ee, V as te, Vt as h, Y as ne, Z as g, _, _t as v, b as y, d as re, et as ie, f as ae, ft as b, h as oe, j as x, k as S, m as C, n as se, q as w, st as T, v as E, w as ce, x as D, y as O, yt as k, z as A } from "./vue.runtime.esm-bundler-BmggS4HU.js";
|
|
2
2
|
import { a as j, i as le, t as ue } from "./iconify-C1EOwL90.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.8_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.
|
|
6
|
-
var
|
|
3
|
+
import { a as de, c as fe, i as pe, l as me, n as he, o as ge, r as _e, s as ve, t as ye } from "./floating-ui.vue-B5ZV-j8C.js";
|
|
4
|
+
import { c as M, d as N, f as be, l as xe, n as P, o as F, r as I, s as Se, u as Ce } from "./dist-BTnzL-m0.js";
|
|
5
|
+
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.8_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.3.0_vue@3._522f151ee0a8eb4c0a241a4ec2e81adb/node_modules/@volverjs/ui-vue/dist/components/VvTextarea/VvTextarea.es.js
|
|
6
|
+
var L = {
|
|
7
7
|
showPassword: "eye-on",
|
|
8
8
|
hidePassword: "eye-off",
|
|
9
9
|
showDatePicker: "calendar",
|
|
@@ -14,29 +14,29 @@ var z = {
|
|
|
14
14
|
remove: "trash",
|
|
15
15
|
edit: "edit",
|
|
16
16
|
download: "download"
|
|
17
|
-
},
|
|
17
|
+
}, we = { prefix: (/* @__PURE__ */ (function(e) {
|
|
18
18
|
return e.simple = "simple", e.normal = "normal", e.detailed = "detailed", e;
|
|
19
|
-
})({})).normal },
|
|
19
|
+
})({})).normal }, R = /* @__PURE__ */ (function(e) {
|
|
20
20
|
return e.local = "local", e.session = "session", e;
|
|
21
|
-
})({}),
|
|
21
|
+
})({}), Te = /* @__PURE__ */ (function(e) {
|
|
22
22
|
return e.absolute = "absolute", e.fixed = "fixed", e;
|
|
23
|
-
})({}),
|
|
23
|
+
})({}), z = /* @__PURE__ */ (function(e) {
|
|
24
24
|
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
25
|
-
})({}),
|
|
25
|
+
})({}), B = /* @__PURE__ */ (function(e) {
|
|
26
26
|
return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
|
|
27
|
-
})({}),
|
|
27
|
+
})({}), V = /* @__PURE__ */ (function(e) {
|
|
28
28
|
return e.before = "before", e.after = "after", e;
|
|
29
|
-
})({}),
|
|
29
|
+
})({}), H = /* @__PURE__ */ (function(e) {
|
|
30
30
|
return e.button = "button", e.submit = "submit", e.reset = "reset", e;
|
|
31
|
-
})({}),
|
|
31
|
+
})({}), U = /* @__PURE__ */ (function(e) {
|
|
32
32
|
return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
|
|
33
|
-
})({}),
|
|
33
|
+
})({}), W = /* @__PURE__ */ (function(e) {
|
|
34
34
|
return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
|
|
35
|
-
})({}),
|
|
35
|
+
})({}), G = /* @__PURE__ */ (function(e) {
|
|
36
36
|
return e.listbox = "listbox", e.menu = "menu", e;
|
|
37
|
-
})({}),
|
|
37
|
+
})({}), K = /* @__PURE__ */ (function(e) {
|
|
38
38
|
return e.option = "option", e.presentation = "presentation", e;
|
|
39
|
-
})({}),
|
|
39
|
+
})({}), Ee = /* @__PURE__ */ Symbol.for("volver"), De = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Oe = /* @__PURE__ */ Symbol.for("dropdownItem"), q = /* @__PURE__ */ Symbol.for("dropdownAction"), ke = {
|
|
40
40
|
to: { type: [String, Object] },
|
|
41
41
|
href: String,
|
|
42
42
|
target: String,
|
|
@@ -44,7 +44,7 @@ var z = {
|
|
|
44
44
|
type: String,
|
|
45
45
|
default: "noopener noreferrer"
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, J = {
|
|
48
48
|
valid: {
|
|
49
49
|
type: Boolean,
|
|
50
50
|
default: !1
|
|
@@ -53,7 +53,7 @@ var z = {
|
|
|
53
53
|
type: [String, Array],
|
|
54
54
|
default: void 0
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, Y = {
|
|
57
57
|
invalid: {
|
|
58
58
|
type: Boolean,
|
|
59
59
|
default: !1
|
|
@@ -62,7 +62,7 @@ var z = {
|
|
|
62
62
|
type: [String, Array],
|
|
63
63
|
default: void 0
|
|
64
64
|
}
|
|
65
|
-
},
|
|
65
|
+
}, X = {
|
|
66
66
|
loading: {
|
|
67
67
|
type: Boolean,
|
|
68
68
|
default: !1
|
|
@@ -71,33 +71,33 @@ var z = {
|
|
|
71
71
|
type: String,
|
|
72
72
|
default: "Loading..."
|
|
73
73
|
}
|
|
74
|
-
},
|
|
74
|
+
}, Z = { disabled: {
|
|
75
75
|
type: Boolean,
|
|
76
76
|
default: !1
|
|
77
|
-
} },
|
|
77
|
+
} }, Ae = { required: {
|
|
78
78
|
type: Boolean,
|
|
79
79
|
default: !1
|
|
80
|
-
} },
|
|
80
|
+
} }, je = { selected: {
|
|
81
81
|
type: Boolean,
|
|
82
82
|
default: !1
|
|
83
|
-
} },
|
|
83
|
+
} }, Me = { active: {
|
|
84
84
|
type: Boolean,
|
|
85
85
|
default: !1
|
|
86
|
-
} },
|
|
86
|
+
} }, Ne = { current: {
|
|
87
87
|
type: Boolean,
|
|
88
88
|
default: !1
|
|
89
89
|
} };
|
|
90
|
-
|
|
91
|
-
var
|
|
90
|
+
L.clear;
|
|
91
|
+
var Pe = { pressed: {
|
|
92
92
|
type: Boolean,
|
|
93
93
|
default: !1
|
|
94
|
-
} },
|
|
94
|
+
} }, Q = { label: {
|
|
95
95
|
type: [String, Number],
|
|
96
96
|
default: void 0
|
|
97
|
-
} },
|
|
97
|
+
} }, Fe = { readonly: {
|
|
98
98
|
type: Boolean,
|
|
99
99
|
default: !1
|
|
100
|
-
} },
|
|
100
|
+
} }, $ = { modifiers: {
|
|
101
101
|
type: [String, Array],
|
|
102
102
|
default: void 0
|
|
103
103
|
} }, Ie = { hintLabel: {
|
|
@@ -139,8 +139,8 @@ var Me = { pressed: {
|
|
|
139
139
|
},
|
|
140
140
|
iconPosition: {
|
|
141
141
|
type: String,
|
|
142
|
-
default:
|
|
143
|
-
validation: (e) => Object.values(
|
|
142
|
+
default: V.before,
|
|
143
|
+
validation: (e) => Object.values(V).includes(e)
|
|
144
144
|
}
|
|
145
145
|
}, Ve = { tabindex: {
|
|
146
146
|
type: [String, Number],
|
|
@@ -154,13 +154,13 @@ var Me = { pressed: {
|
|
|
154
154
|
} }, We = { id: [String, Number] }, Ge = {
|
|
155
155
|
placement: {
|
|
156
156
|
type: String,
|
|
157
|
-
default:
|
|
158
|
-
validator: (e) => Object.values(
|
|
157
|
+
default: z.bottom,
|
|
158
|
+
validator: (e) => Object.values(z).includes(e) || Object.values(B).includes(e)
|
|
159
159
|
},
|
|
160
160
|
strategy: {
|
|
161
161
|
type: String,
|
|
162
162
|
default: void 0,
|
|
163
|
-
validator: (e) => Object.values(
|
|
163
|
+
validator: (e) => Object.values(Te).includes(e)
|
|
164
164
|
},
|
|
165
165
|
transitionName: {
|
|
166
166
|
type: String,
|
|
@@ -223,18 +223,18 @@ var Me = { pressed: {
|
|
|
223
223
|
...qe,
|
|
224
224
|
...Je,
|
|
225
225
|
...Ve,
|
|
226
|
-
...$,
|
|
227
|
-
...Pe,
|
|
228
|
-
...X,
|
|
229
226
|
...Z,
|
|
230
|
-
...Ie,
|
|
231
|
-
...Q,
|
|
232
227
|
...Fe,
|
|
228
|
+
...J,
|
|
229
|
+
...Y,
|
|
230
|
+
...Ie,
|
|
231
|
+
...X,
|
|
232
|
+
...$,
|
|
233
233
|
...Re,
|
|
234
234
|
...ze,
|
|
235
235
|
...Be,
|
|
236
236
|
...He,
|
|
237
|
-
...
|
|
237
|
+
...Q,
|
|
238
238
|
minlength: {
|
|
239
239
|
type: [String, Number],
|
|
240
240
|
default: void 0
|
|
@@ -247,43 +247,43 @@ var Me = { pressed: {
|
|
|
247
247
|
type: String,
|
|
248
248
|
default: void 0
|
|
249
249
|
},
|
|
250
|
-
...
|
|
250
|
+
...Ae
|
|
251
251
|
};
|
|
252
252
|
({
|
|
253
253
|
...Ke,
|
|
254
254
|
...Ve,
|
|
255
|
-
...
|
|
256
|
-
...
|
|
255
|
+
...J,
|
|
256
|
+
...Y,
|
|
257
257
|
...Ie,
|
|
258
|
-
|
|
259
|
-
...Pe,
|
|
258
|
+
...Z,
|
|
260
259
|
...Fe,
|
|
261
|
-
|
|
262
|
-
...Q
|
|
260
|
+
...$,
|
|
261
|
+
...Q,
|
|
262
|
+
...X
|
|
263
263
|
}), {
|
|
264
|
-
...
|
|
265
|
-
...
|
|
264
|
+
...J,
|
|
265
|
+
...Y,
|
|
266
266
|
...Le,
|
|
267
267
|
...Ie,
|
|
268
|
-
|
|
269
|
-
...Pe,
|
|
268
|
+
...Z,
|
|
270
269
|
...Fe,
|
|
271
|
-
|
|
270
|
+
...$,
|
|
272
271
|
...Q,
|
|
273
|
-
...
|
|
272
|
+
...X,
|
|
273
|
+
...Ae
|
|
274
274
|
}, {
|
|
275
|
-
|
|
276
|
-
...
|
|
275
|
+
...Z,
|
|
276
|
+
...Q,
|
|
277
|
+
...Pe,
|
|
277
278
|
...Me,
|
|
278
|
-
...
|
|
279
|
-
...
|
|
280
|
-
|
|
281
|
-
}, W.button, G.button;
|
|
279
|
+
...Ne,
|
|
280
|
+
...ke
|
|
281
|
+
}, H.button, U.button;
|
|
282
282
|
var Xe = {
|
|
283
283
|
storageType: {
|
|
284
284
|
type: String,
|
|
285
|
-
default:
|
|
286
|
-
validator: (e) => Object.values(
|
|
285
|
+
default: R.local,
|
|
286
|
+
validator: (e) => Object.values(R).includes(e)
|
|
287
287
|
},
|
|
288
288
|
storageKey: String
|
|
289
289
|
}, Ze = {
|
|
@@ -322,7 +322,7 @@ var Xe = {
|
|
|
322
322
|
},
|
|
323
323
|
iconRemoveSuggestion: {
|
|
324
324
|
type: [String, Object],
|
|
325
|
-
default:
|
|
325
|
+
default: L.remove
|
|
326
326
|
},
|
|
327
327
|
labelRemoveSuggestion: {
|
|
328
328
|
type: String,
|
|
@@ -392,7 +392,7 @@ function it(e, t) {
|
|
|
392
392
|
var at = {
|
|
393
393
|
...We,
|
|
394
394
|
...Ge,
|
|
395
|
-
|
|
395
|
+
...$,
|
|
396
396
|
modelValue: {
|
|
397
397
|
type: Boolean,
|
|
398
398
|
default: void 0
|
|
@@ -403,17 +403,17 @@ var at = {
|
|
|
403
403
|
},
|
|
404
404
|
role: {
|
|
405
405
|
type: String,
|
|
406
|
-
default:
|
|
407
|
-
validator: (e) => Object.values(
|
|
406
|
+
default: G.menu,
|
|
407
|
+
validator: (e) => Object.values(G).includes(e)
|
|
408
408
|
}
|
|
409
409
|
}, ot = { focusOnHover: {
|
|
410
410
|
type: Boolean,
|
|
411
411
|
default: !1
|
|
412
412
|
} }, st = {
|
|
413
|
-
|
|
414
|
-
...
|
|
413
|
+
...Z,
|
|
414
|
+
...je,
|
|
415
415
|
...Ue,
|
|
416
|
-
|
|
416
|
+
...$,
|
|
417
417
|
deselectHintLabel: { type: String },
|
|
418
418
|
selectHintLabel: { type: String },
|
|
419
419
|
selectedHintLabel: { type: String },
|
|
@@ -426,13 +426,13 @@ function ct(e) {
|
|
|
426
426
|
return _(() => String(e?.value || w()));
|
|
427
427
|
}
|
|
428
428
|
function lt({ reference: e, id: n, expanded: r, aria: a }) {
|
|
429
|
-
let o =
|
|
429
|
+
let o = me();
|
|
430
430
|
return {
|
|
431
431
|
bus: o,
|
|
432
432
|
component: i({
|
|
433
433
|
name: "VvDropdownTriggerProvider",
|
|
434
434
|
setup() {
|
|
435
|
-
t(
|
|
435
|
+
t(De, {
|
|
436
436
|
reference: e,
|
|
437
437
|
id: n,
|
|
438
438
|
expanded: r,
|
|
@@ -447,15 +447,15 @@ function lt({ reference: e, id: n, expanded: r, aria: a }) {
|
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
449
|
function ut({ role: e, ...n }) {
|
|
450
|
-
let r = _(() => e.value ===
|
|
451
|
-
return t(
|
|
450
|
+
let r = _(() => e.value === G.listbox ? K.option : K.presentation);
|
|
451
|
+
return t(Oe, {
|
|
452
452
|
role: r,
|
|
453
453
|
...n
|
|
454
454
|
}), { itemRole: r };
|
|
455
455
|
}
|
|
456
456
|
function dt({ expanded: e }) {
|
|
457
|
-
t(
|
|
458
|
-
role: b(
|
|
457
|
+
t(q, {
|
|
458
|
+
role: b(W.menuitem),
|
|
459
459
|
expanded: e
|
|
460
460
|
});
|
|
461
461
|
}
|
|
@@ -503,7 +503,7 @@ var pt = [
|
|
|
503
503
|
}
|
|
504
504
|
}), j = b(!1);
|
|
505
505
|
d(() => {
|
|
506
|
-
|
|
506
|
+
Ce(C.value, () => {
|
|
507
507
|
j.value = window.getComputedStyle(C.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
|
|
508
508
|
}, {
|
|
509
509
|
attributeFilter: ["style"],
|
|
@@ -512,111 +512,111 @@ var pt = [
|
|
|
512
512
|
});
|
|
513
513
|
let le = _(() => {
|
|
514
514
|
let e = [];
|
|
515
|
-
if (s.autoPlacement ? typeof s.autoPlacement == "boolean" ? e.push(
|
|
515
|
+
if (s.autoPlacement ? typeof s.autoPlacement == "boolean" ? e.push(_e()) : e.push(_e(s.autoPlacement)) : s.flip && (typeof s.flip == "boolean" ? e.push(de({ fallbackStrategy: "initialPlacement" })) : e.push(de(s.flip))), s.shift && (typeof s.shift == "boolean" ? e.push(ve()) : e.push(ve(s.shift))), s.size) {
|
|
516
516
|
let t = ({ availableWidth: e, availableHeight: t }) => {
|
|
517
517
|
re.value = `${e}px`, x.value = `${t}px`;
|
|
518
518
|
};
|
|
519
|
-
typeof s.size == "boolean" ? e.push(
|
|
519
|
+
typeof s.size == "boolean" ? e.push(fe({ apply: t })) : e.push(fe({
|
|
520
520
|
...s.size,
|
|
521
521
|
apply: t
|
|
522
522
|
}));
|
|
523
523
|
}
|
|
524
|
-
return s.offset && (e.push(
|
|
525
|
-
}), { x: ue, y:
|
|
526
|
-
whileElementsMounted: (...e) =>
|
|
524
|
+
return s.offset && (e.push(ge(Number(s.offset))), ["string", "number"].includes(typeof s.offset) ? e.push(ge(Number(s.offset))) : e.push(ge(s.offset))), s.arrow && e.push(ye({ element: w })), e;
|
|
525
|
+
}), { x: ue, y: me, middlewareData: M, placement: N, strategy: Se } = he(O, C, {
|
|
526
|
+
whileElementsMounted: (...e) => pe(...e, { animationFrame: s.strategy === Te.fixed }),
|
|
527
527
|
placement: _(() => s.placement),
|
|
528
528
|
strategy: _(() => s.strategy),
|
|
529
529
|
middleware: le
|
|
530
|
-
}),
|
|
530
|
+
}), L = _(() => {
|
|
531
531
|
if (j.value) return;
|
|
532
532
|
let e = s.triggerWidth && O.value ? `${O.value?.offsetWidth}px` : void 0;
|
|
533
533
|
return {
|
|
534
|
-
position:
|
|
535
|
-
top: `${
|
|
534
|
+
position: Se.value,
|
|
535
|
+
top: `${me.value ?? 0}px`,
|
|
536
536
|
left: `${ue.value ?? 0}px`,
|
|
537
537
|
maxWidth: e ? void 0 : re.value,
|
|
538
538
|
maxHeight: x.value,
|
|
539
539
|
width: e
|
|
540
540
|
};
|
|
541
|
-
}),
|
|
541
|
+
}), we = _(() => N.value.split("-")[0]), R = _(() => {
|
|
542
542
|
if (j.value) return;
|
|
543
543
|
let e = {
|
|
544
|
-
[
|
|
545
|
-
[
|
|
546
|
-
[
|
|
547
|
-
[
|
|
548
|
-
}[
|
|
544
|
+
[z.top]: z.bottom,
|
|
545
|
+
[z.right]: z.left,
|
|
546
|
+
[z.bottom]: z.top,
|
|
547
|
+
[z.left]: z.right
|
|
548
|
+
}[we.value];
|
|
549
549
|
return {
|
|
550
|
-
left:
|
|
551
|
-
top:
|
|
550
|
+
left: M.value.arrow?.x === void 0 ? void 0 : `${M.value.arrow?.x}px`,
|
|
551
|
+
top: M.value.arrow?.y === void 0 ? void 0 : `${M.value.arrow?.y}px`,
|
|
552
552
|
[e]: `${-(w.value?.offsetWidth ?? 0) / 2}px`
|
|
553
553
|
};
|
|
554
|
-
}),
|
|
555
|
-
get: () =>
|
|
554
|
+
}), B = be(s, "modelValue", f), V = b(!1), H = _({
|
|
555
|
+
get: () => B.value ?? V.value,
|
|
556
556
|
set: (e) => {
|
|
557
|
-
if (
|
|
558
|
-
|
|
557
|
+
if (B.value === void 0) {
|
|
558
|
+
V.value = e;
|
|
559
559
|
return;
|
|
560
560
|
}
|
|
561
|
-
|
|
561
|
+
B.value = e;
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
|
-
function
|
|
565
|
-
|
|
564
|
+
function U() {
|
|
565
|
+
H.value = !0;
|
|
566
566
|
}
|
|
567
|
-
function
|
|
568
|
-
|
|
567
|
+
function W() {
|
|
568
|
+
H.value = !1;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
|
|
570
|
+
function G() {
|
|
571
|
+
H.value = !H.value;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function K(e) {
|
|
574
574
|
O.value = e;
|
|
575
575
|
}
|
|
576
|
-
|
|
577
|
-
!s.keepOpen &&
|
|
576
|
+
P(C, () => {
|
|
577
|
+
!s.keepOpen && H.value && (H.value = !1);
|
|
578
578
|
}, { ignore: [O] });
|
|
579
|
-
let
|
|
579
|
+
let Ee = _(() => O.value?.getAttribute?.("id") ?? void 0), De = _(() => ({
|
|
580
580
|
"aria-controls": te.value,
|
|
581
581
|
"aria-haspopup": !0,
|
|
582
|
-
"aria-expanded":
|
|
583
|
-
})), { component:
|
|
582
|
+
"aria-expanded": H.value
|
|
583
|
+
})), { component: Oe, bus: q } = lt({
|
|
584
584
|
reference: O,
|
|
585
585
|
id: te,
|
|
586
|
-
expanded:
|
|
587
|
-
aria:
|
|
586
|
+
expanded: H,
|
|
587
|
+
aria: De
|
|
588
588
|
});
|
|
589
|
-
|
|
590
|
-
let { role:
|
|
591
|
-
function
|
|
589
|
+
q.on("click", G);
|
|
590
|
+
let { role: ke, modifiers: J } = v(s), Y = ft("vv-dropdown", J, _(() => ({ arrow: s.arrow }))), { focused: X } = xe(C);
|
|
591
|
+
function Z(e) {
|
|
592
592
|
return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Ae() {
|
|
595
595
|
a(() => {
|
|
596
|
-
let e =
|
|
596
|
+
let e = Z(C.value);
|
|
597
597
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function je() {
|
|
601
601
|
a(() => {
|
|
602
|
-
let e =
|
|
602
|
+
let e = Z(T.value);
|
|
603
603
|
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Me() {
|
|
607
607
|
a(() => {
|
|
608
|
-
if (
|
|
609
|
-
let e =
|
|
608
|
+
if (X.value) {
|
|
609
|
+
let e = Z(C.value);
|
|
610
610
|
if (e.length === 0 || !document.activeElement) return;
|
|
611
611
|
let t = e.indexOf(document.activeElement);
|
|
612
612
|
t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
|
|
613
613
|
}
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function Ne() {
|
|
617
617
|
a(() => {
|
|
618
|
-
if (
|
|
619
|
-
let e =
|
|
618
|
+
if (X.value) {
|
|
619
|
+
let e = Z(C.value);
|
|
620
620
|
if (e.length === 0 || !document.activeElement) return;
|
|
621
621
|
let t = e.indexOf(document.activeElement);
|
|
622
622
|
if (t > 0) {
|
|
@@ -627,41 +627,41 @@ var pt = [
|
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
|
-
g(
|
|
631
|
-
e && s.autofocusFirst &&
|
|
630
|
+
g(H, (e) => {
|
|
631
|
+
e && s.autofocusFirst && Ae();
|
|
632
632
|
}), r({
|
|
633
|
-
toggle:
|
|
634
|
-
show:
|
|
635
|
-
hide:
|
|
636
|
-
init:
|
|
637
|
-
focusFirst:
|
|
638
|
-
focusFirstListElement:
|
|
639
|
-
focusNext:
|
|
640
|
-
focusPrev:
|
|
633
|
+
toggle: G,
|
|
634
|
+
show: U,
|
|
635
|
+
hide: W,
|
|
636
|
+
init: K,
|
|
637
|
+
focusFirst: Ae,
|
|
638
|
+
focusFirstListElement: je,
|
|
639
|
+
focusNext: Me,
|
|
640
|
+
focusPrev: Ne,
|
|
641
641
|
customPosition: j
|
|
642
642
|
});
|
|
643
|
-
let { itemRole:
|
|
644
|
-
role:
|
|
645
|
-
expanded:
|
|
646
|
-
focused:
|
|
647
|
-
hovered:
|
|
643
|
+
let { itemRole: Pe } = ut({
|
|
644
|
+
role: ke,
|
|
645
|
+
expanded: H,
|
|
646
|
+
focused: X,
|
|
647
|
+
hovered: F(C)
|
|
648
648
|
});
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
}),
|
|
652
|
-
|
|
653
|
-
}),
|
|
654
|
-
|
|
655
|
-
}),
|
|
649
|
+
I("Escape", (e) => {
|
|
650
|
+
H.value && (e.preventDefault(), W());
|
|
651
|
+
}), I("ArrowDown", (e) => {
|
|
652
|
+
H.value && X.value && (e.preventDefault(), Me());
|
|
653
|
+
}), I("ArrowUp", (e) => {
|
|
654
|
+
H.value && X.value && (e.preventDefault(), Ne());
|
|
655
|
+
}), I([" ", "Enter"], (e) => {
|
|
656
656
|
let t = e.target;
|
|
657
|
-
|
|
657
|
+
H.value && X.value && t && t?.click();
|
|
658
658
|
});
|
|
659
|
-
let
|
|
659
|
+
let Q = {
|
|
660
660
|
"before-enter": () => {
|
|
661
|
-
f(
|
|
661
|
+
f(H.value ? "beforeExpand" : "beforeCollapse"), f("beforeEnter");
|
|
662
662
|
},
|
|
663
663
|
"after-leave": () => {
|
|
664
|
-
f(
|
|
664
|
+
f(H.value ? "afterExpand" : "afterCollapse"), f("afterLeave");
|
|
665
665
|
},
|
|
666
666
|
enter: () => {
|
|
667
667
|
f("enter");
|
|
@@ -682,64 +682,64 @@ var pt = [
|
|
|
682
682
|
f("leaveCancelled");
|
|
683
683
|
}
|
|
684
684
|
};
|
|
685
|
-
return (t, r) => (A(), D(oe, null, [ce(k(
|
|
685
|
+
return (t, r) => (A(), D(oe, null, [ce(k(Oe), null, {
|
|
686
686
|
default: e(() => [c(t.$slots, "default", h(p({
|
|
687
|
-
init:
|
|
688
|
-
show:
|
|
689
|
-
hide:
|
|
690
|
-
toggle:
|
|
691
|
-
expanded: k(
|
|
692
|
-
aria: k(
|
|
687
|
+
init: K,
|
|
688
|
+
show: U,
|
|
689
|
+
hide: W,
|
|
690
|
+
toggle: G,
|
|
691
|
+
expanded: k(H),
|
|
692
|
+
aria: k(De)
|
|
693
693
|
})))]),
|
|
694
694
|
_: 3
|
|
695
|
-
}), ce(se, m({ name: t.transitionName }, o(
|
|
695
|
+
}), ce(se, m({ name: t.transitionName }, o(Q), { persisted: "" }), {
|
|
696
696
|
default: e(() => [ie(E("div", {
|
|
697
697
|
ref_key: "floatingEl",
|
|
698
698
|
ref: C,
|
|
699
|
-
style: l(k(
|
|
700
|
-
class: n(k(
|
|
699
|
+
style: l(k(L)),
|
|
700
|
+
class: n(k(Y))
|
|
701
701
|
}, [
|
|
702
702
|
s.arrow ? (A(), D("div", {
|
|
703
703
|
key: 0,
|
|
704
704
|
ref_key: "arrowEl",
|
|
705
705
|
ref: w,
|
|
706
|
-
style: l(k(
|
|
706
|
+
style: l(k(R)),
|
|
707
707
|
class: "vv-dropdown__arrow"
|
|
708
708
|
}, null, 4)) : y("v-if", !0),
|
|
709
709
|
c(t.$slots, "before", h(p({
|
|
710
|
-
show:
|
|
711
|
-
hide:
|
|
712
|
-
toggle:
|
|
713
|
-
expanded: k(
|
|
710
|
+
show: U,
|
|
711
|
+
hide: W,
|
|
712
|
+
toggle: G,
|
|
713
|
+
expanded: k(H)
|
|
714
714
|
}))),
|
|
715
715
|
E("div", m(k(ne), {
|
|
716
716
|
id: k(te),
|
|
717
717
|
ref_key: "listEl",
|
|
718
718
|
ref: T,
|
|
719
|
-
tabindex: k(
|
|
720
|
-
role: k(
|
|
721
|
-
"aria-labelledby": k(
|
|
719
|
+
tabindex: k(H) ? void 0 : -1,
|
|
720
|
+
role: k(ke),
|
|
721
|
+
"aria-labelledby": k(Ee),
|
|
722
722
|
class: "vv-dropdown__list"
|
|
723
723
|
}), [c(t.$slots, "items", h(p({
|
|
724
|
-
show:
|
|
725
|
-
hide:
|
|
726
|
-
toggle:
|
|
727
|
-
expanded: k(
|
|
728
|
-
role: k(
|
|
724
|
+
show: U,
|
|
725
|
+
hide: W,
|
|
726
|
+
toggle: G,
|
|
727
|
+
expanded: k(H),
|
|
728
|
+
role: k(Pe)
|
|
729
729
|
})))], 16, pt),
|
|
730
730
|
c(t.$slots, "after", h(p({
|
|
731
|
-
show:
|
|
732
|
-
hide:
|
|
733
|
-
toggle:
|
|
734
|
-
expanded: k(
|
|
731
|
+
show: U,
|
|
732
|
+
hide: W,
|
|
733
|
+
toggle: G,
|
|
734
|
+
expanded: k(H)
|
|
735
735
|
})))
|
|
736
|
-
], 6), [[ae, k(
|
|
736
|
+
], 6), [[ae, k(H)]])]),
|
|
737
737
|
_: 3
|
|
738
738
|
}, 16, ["name"])], 64));
|
|
739
739
|
}
|
|
740
740
|
});
|
|
741
741
|
function ht() {
|
|
742
|
-
return x(
|
|
742
|
+
return x(Oe, {});
|
|
743
743
|
}
|
|
744
744
|
var gt = /* @__PURE__ */ i({
|
|
745
745
|
name: "VvDropdownItem",
|
|
@@ -747,7 +747,7 @@ var gt = /* @__PURE__ */ i({
|
|
|
747
747
|
setup(e) {
|
|
748
748
|
let t = e, { role: n, expanded: r } = ht(), i = b(null);
|
|
749
749
|
dt({ expanded: r });
|
|
750
|
-
let a =
|
|
750
|
+
let a = F(i), { focused: o } = M(i), { focused: s } = xe(i);
|
|
751
751
|
return g(a, (e) => {
|
|
752
752
|
e && t.focusOnHover && (o.value = !0);
|
|
753
753
|
}), (e, t) => (A(), D("div", m({ role: k(n) }, {
|
|
@@ -791,7 +791,7 @@ var gt = /* @__PURE__ */ i({
|
|
|
791
791
|
}
|
|
792
792
|
});
|
|
793
793
|
function yt() {
|
|
794
|
-
return x(
|
|
794
|
+
return x(Ee, void 0);
|
|
795
795
|
}
|
|
796
796
|
var bt = /* @__PURE__ */ i({
|
|
797
797
|
name: "VvIcon",
|
|
@@ -812,7 +812,7 @@ var bt = /* @__PURE__ */ i({
|
|
|
812
812
|
onLoad: { type: Function },
|
|
813
813
|
svg: {},
|
|
814
814
|
modifiers: {}
|
|
815
|
-
},
|
|
815
|
+
}, we),
|
|
816
816
|
setup(e) {
|
|
817
817
|
let t = e, n = _(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = b(!0), i = yt(), { modifiers: a } = v(t), o = ft("vv-icon", a), s = _(() => t.provider || i?.iconsProvider), c = _(() => {
|
|
818
818
|
let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
|
|
@@ -891,13 +891,13 @@ function St(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
|
|
|
891
891
|
});
|
|
892
892
|
}
|
|
893
893
|
function Ct(e, t) {
|
|
894
|
-
let n = _(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = _(() => t?.value ===
|
|
894
|
+
let n = _(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = _(() => t?.value === V.before ? n.value : void 0), i = _(() => t?.value === V.after ? n.value : void 0);
|
|
895
895
|
return {
|
|
896
896
|
hasIcon: n,
|
|
897
|
-
hasIconLeft: _(() => t?.value ===
|
|
898
|
-
hasIconRight: _(() => t?.value ===
|
|
899
|
-
hasIconTop: _(() => t?.value ===
|
|
900
|
-
hasIconBottom: _(() => t?.value ===
|
|
897
|
+
hasIconLeft: _(() => t?.value === z.left ? n.value : void 0),
|
|
898
|
+
hasIconRight: _(() => t?.value === z.right ? n.value : void 0),
|
|
899
|
+
hasIconTop: _(() => t?.value === z.top ? n.value : void 0),
|
|
900
|
+
hasIconBottom: _(() => t?.value === z.bottom ? n.value : void 0),
|
|
901
901
|
hasIconBefore: r,
|
|
902
902
|
hasIconAfter: i
|
|
903
903
|
};
|
|
@@ -916,13 +916,13 @@ function Tt(e, t) {
|
|
|
916
916
|
formatted: _(() => t?.mode === !1 ? "" : t?.mode === "limit" && t?.upperLimit ? `${n.value} / ${t.lowerLimit ? `${t.lowerLimit}-` : ""}${t.upperLimit}` : t?.mode === "countdown" ? r.value === 0 ? void 0 : r : n.value)
|
|
917
917
|
};
|
|
918
918
|
}
|
|
919
|
-
function Et(e, t =
|
|
919
|
+
function Et(e, t = R.local, n) {
|
|
920
920
|
let r = b();
|
|
921
921
|
n && (r.value = n);
|
|
922
922
|
let i;
|
|
923
923
|
return d(() => {
|
|
924
924
|
e && g(e, (e, n) => {
|
|
925
|
-
let a = k(t) ===
|
|
925
|
+
let a = k(t) === R.session ? sessionStorage : localStorage;
|
|
926
926
|
if (n && n !== e && a.removeItem(n), e) {
|
|
927
927
|
i = N(e, i?.value ?? r.value, a), i.value && (r.value = i.value);
|
|
928
928
|
return;
|
|
@@ -931,10 +931,10 @@ function Et(e, t = B.local, n) {
|
|
|
931
931
|
}, { immediate: !0 }), T(t) && g(t, (t, n) => {
|
|
932
932
|
if (e?.value) {
|
|
933
933
|
if (t) {
|
|
934
|
-
let n = t ===
|
|
934
|
+
let n = t === R.session ? sessionStorage : localStorage;
|
|
935
935
|
i = N(e.value, i?.value ?? r.value, n);
|
|
936
936
|
}
|
|
937
|
-
n && n !== t && (n ===
|
|
937
|
+
n && n !== t && (n === R.session ? sessionStorage : localStorage).removeItem(e.value);
|
|
938
938
|
}
|
|
939
939
|
});
|
|
940
940
|
}), g(r, (e) => {
|
|
@@ -958,50 +958,50 @@ var Dt = ["for"], Ot = {
|
|
|
958
958
|
props: et,
|
|
959
959
|
emits: $e,
|
|
960
960
|
setup(t, { emit: i }) {
|
|
961
|
-
let a = t, o = i, l = ne(), u = yt(), d = xt("VvTextarea", et, a), f = b(), ae = b(), x = b(), { id: S, icon: se, iconPosition: w, iconRemoveSuggestion: j, labelRemoveSuggestion: le, label: ue, modelValue:
|
|
962
|
-
g(_(() =>
|
|
963
|
-
if (e && d.value.selectOnFocus && f.value && f.value.select(), e &&
|
|
961
|
+
let a = t, o = i, l = ne(), u = yt(), d = xt("VvTextarea", et, a), f = b(), ae = b(), x = b(), { id: S, icon: se, iconPosition: w, iconRemoveSuggestion: j, labelRemoveSuggestion: le, label: ue, modelValue: de, count: fe, valid: pe, invalid: me, loading: he, modifiers: ge, debounce: _e, minlength: ve, maxlength: ye, storageType: M } = v(a), N = ct(S), be = _(() => `${N.value}-hint`), xe = _(() => a.floating && tt(a.placeholder) ? " " : a.placeholder), P = St(de, o, _e?.value), { hasIconBefore: F, hasIconAfter: I } = Ct(se, w), { hasIcon: Ce } = Ct(j), { focused: L } = wt(f, o);
|
|
962
|
+
g(_(() => L.value && !a.disabled && !a.readonly), (e) => {
|
|
963
|
+
if (e && d.value.selectOnFocus && f.value && f.value.select(), e && H.value?.size) {
|
|
964
964
|
x.value?.show();
|
|
965
965
|
return;
|
|
966
966
|
}
|
|
967
|
-
if (
|
|
967
|
+
if (z.value && H.value) {
|
|
968
968
|
let e = a.maxSuggestions;
|
|
969
|
-
|
|
969
|
+
H.value.size >= e && !H.value.has(P.value) && (H.value = new Set([...H.value].slice(H.value.size - e + 1))), H.value.add(P.value);
|
|
970
970
|
}
|
|
971
|
-
}), g(
|
|
972
|
-
e && a.autofocus && (
|
|
971
|
+
}), g(Se(f), (e) => {
|
|
972
|
+
e && a.autofocus && (L.value = !0);
|
|
973
973
|
});
|
|
974
|
-
let { formatted:
|
|
975
|
-
mode:
|
|
976
|
-
upperLimit: Number(
|
|
977
|
-
lowerLimit: Number(
|
|
978
|
-
}),
|
|
974
|
+
let { formatted: we } = Tt(P, {
|
|
975
|
+
mode: fe?.value,
|
|
976
|
+
upperLimit: Number(ye?.value),
|
|
977
|
+
lowerLimit: Number(ve?.value)
|
|
978
|
+
}), R = _(() => !a.disabled && !a.readonly), Te = _(() => R.value ? a.tabindex : -1), z = _(() => !tt(de)), B = _(() => {
|
|
979
979
|
if (a.invalid === !0) return !0;
|
|
980
980
|
if (a.valid === !0) return !1;
|
|
981
|
-
}),
|
|
982
|
-
function
|
|
983
|
-
|
|
981
|
+
}), V = _(() => a.storageKey ?? (u?.experimentalFeatures.forceInputSuggestions ? a.name : void 0)), H = Et(V, M, /* @__PURE__ */ new Set()), U = _(() => H.value ? [...H.value].filter((e) => tt(P.value) || `${e}`.toLowerCase().includes(`${P.value}`.toLowerCase()) && e !== P.value).reverse() : []), W = _(() => V?.value && H.value && H.value.size > 0);
|
|
982
|
+
function G(e) {
|
|
983
|
+
P.value = e, x.value?.hide(), o("suggestion:selected", e);
|
|
984
984
|
}
|
|
985
|
-
function
|
|
986
|
-
|
|
985
|
+
function K(e) {
|
|
986
|
+
H.value?.delete(e), o("suggestion:removed", e);
|
|
987
987
|
}
|
|
988
|
-
let { HintSlot:
|
|
989
|
-
valid:
|
|
990
|
-
invalid:
|
|
991
|
-
loading:
|
|
988
|
+
let { HintSlot: Ee, hasHintLabelOrSlot: De, hasInvalidLabelOrSlot: Oe, hintSlotScope: q } = it(d, l), ke = ft("vv-textarea", ge, _(() => ({
|
|
989
|
+
valid: pe.value,
|
|
990
|
+
invalid: me.value,
|
|
991
|
+
loading: he.value,
|
|
992
992
|
disabled: a.disabled,
|
|
993
993
|
readonly: a.readonly,
|
|
994
994
|
required: a.required,
|
|
995
|
-
"icon-before":
|
|
996
|
-
"icon-after":
|
|
995
|
+
"icon-before": F.value !== void 0,
|
|
996
|
+
"icon-after": I.value !== void 0,
|
|
997
997
|
floating: a.floating && !tt(a.label),
|
|
998
|
-
dirty:
|
|
999
|
-
focus:
|
|
998
|
+
dirty: z.value,
|
|
999
|
+
focus: L.value,
|
|
1000
1000
|
resizable: a.resizable
|
|
1001
|
-
}))),
|
|
1001
|
+
}))), J = _(() => ({
|
|
1002
1002
|
name: a.name,
|
|
1003
|
-
placeholder:
|
|
1004
|
-
tabindex:
|
|
1003
|
+
placeholder: xe.value,
|
|
1004
|
+
tabindex: Te.value,
|
|
1005
1005
|
disabled: a.disabled,
|
|
1006
1006
|
readonly: a.readonly,
|
|
1007
1007
|
required: a.required,
|
|
@@ -1012,25 +1012,25 @@ var Dt = ["for"], Ot = {
|
|
|
1012
1012
|
rows: a.rows,
|
|
1013
1013
|
wrap: a.wrap,
|
|
1014
1014
|
spellcheck: a.spellcheck,
|
|
1015
|
-
"aria-invalid":
|
|
1016
|
-
"aria-describedby":
|
|
1017
|
-
"aria-errormessage":
|
|
1018
|
-
})),
|
|
1015
|
+
"aria-invalid": B.value,
|
|
1016
|
+
"aria-describedby": De.value ? be.value : void 0,
|
|
1017
|
+
"aria-errormessage": Oe.value ? be.value : void 0
|
|
1018
|
+
})), Y = _(() => ({
|
|
1019
1019
|
valid: a.valid,
|
|
1020
1020
|
invalid: a.invalid,
|
|
1021
1021
|
modelValue: a.modelValue,
|
|
1022
1022
|
hintLabel: a.hintLabel,
|
|
1023
1023
|
maxlength: a.maxlength,
|
|
1024
1024
|
minlength: a.minlength,
|
|
1025
|
-
clear:
|
|
1025
|
+
clear: X
|
|
1026
1026
|
}));
|
|
1027
|
-
function
|
|
1028
|
-
|
|
1027
|
+
function X() {
|
|
1028
|
+
P.value = void 0;
|
|
1029
1029
|
}
|
|
1030
|
-
return (t, i) => (A(), D("div", { class: n(k(
|
|
1030
|
+
return (t, i) => (A(), D("div", { class: n(k(ke)) }, [
|
|
1031
1031
|
k(ue) ? (A(), D("label", {
|
|
1032
1032
|
key: 0,
|
|
1033
|
-
for: k(
|
|
1033
|
+
for: k(N),
|
|
1034
1034
|
class: "vv-textarea__label"
|
|
1035
1035
|
}, s(k(ue)), 9, Dt)) : y("v-if", !0),
|
|
1036
1036
|
E("div", {
|
|
@@ -1038,46 +1038,46 @@ var Dt = ["for"], Ot = {
|
|
|
1038
1038
|
ref: ae,
|
|
1039
1039
|
class: "vv-textarea__wrapper"
|
|
1040
1040
|
}, [
|
|
1041
|
-
t.$slots.before ? (A(), D("div", Ot, [c(t.$slots, "before", h(p(k(
|
|
1041
|
+
t.$slots.before ? (A(), D("div", Ot, [c(t.$slots, "before", h(p(k(Y))))])) : y("v-if", !0),
|
|
1042
1042
|
E("div", kt, [
|
|
1043
|
-
k(
|
|
1043
|
+
k(F) ? (A(), O(bt, m({ key: 0 }, k(F), { class: "vv-textarea__icon" }), null, 16)) : y("v-if", !0),
|
|
1044
1044
|
ie(E("textarea", m({
|
|
1045
|
-
id: k(
|
|
1045
|
+
id: k(N),
|
|
1046
1046
|
ref_key: "textareaEl",
|
|
1047
1047
|
ref: f,
|
|
1048
|
-
"onUpdate:modelValue": i[0] ||= (e) => T(
|
|
1049
|
-
}, k(
|
|
1050
|
-
k(
|
|
1048
|
+
"onUpdate:modelValue": i[0] ||= (e) => T(P) ? P.value = e : null
|
|
1049
|
+
}, k(J), { onKeyup: i[1] ||= (e) => o("keyup", e) }), null, 16, At), [[re, k(P)]]),
|
|
1050
|
+
k(I) ? (A(), O(bt, m({ key: 1 }, k(I), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : y("v-if", !0)
|
|
1051
1051
|
]),
|
|
1052
|
-
t.$slots.after ? (A(), D("div", jt, [c(t.$slots, "after", h(p(k(
|
|
1053
|
-
k(
|
|
1052
|
+
t.$slots.after ? (A(), D("div", jt, [c(t.$slots, "after", h(p(k(Y))))])) : y("v-if", !0),
|
|
1053
|
+
k(fe) ? (A(), D("span", Mt, [c(t.$slots, "count", h(p(k(Y))), () => [r(s(k(we)), 1)])])) : y("v-if", !0)
|
|
1054
1054
|
], 512),
|
|
1055
|
-
ce(k(
|
|
1056
|
-
id: k(
|
|
1055
|
+
ce(k(Ee), {
|
|
1056
|
+
id: k(be),
|
|
1057
1057
|
class: "vv-textarea__hint"
|
|
1058
1058
|
}, ee({ _: 2 }, [
|
|
1059
1059
|
t.$slots.hint ? {
|
|
1060
1060
|
name: "hint",
|
|
1061
|
-
fn: e(() => [c(t.$slots, "hint", h(p(k(
|
|
1061
|
+
fn: e(() => [c(t.$slots, "hint", h(p(k(q))))]),
|
|
1062
1062
|
key: "0"
|
|
1063
1063
|
} : void 0,
|
|
1064
1064
|
t.$slots.loading ? {
|
|
1065
1065
|
name: "loading",
|
|
1066
|
-
fn: e(() => [c(t.$slots, "loading", h(p(k(
|
|
1066
|
+
fn: e(() => [c(t.$slots, "loading", h(p(k(q))))]),
|
|
1067
1067
|
key: "1"
|
|
1068
1068
|
} : void 0,
|
|
1069
1069
|
t.$slots.valid ? {
|
|
1070
1070
|
name: "valid",
|
|
1071
|
-
fn: e(() => [c(t.$slots, "valid", h(p(k(
|
|
1071
|
+
fn: e(() => [c(t.$slots, "valid", h(p(k(q))))]),
|
|
1072
1072
|
key: "2"
|
|
1073
1073
|
} : void 0,
|
|
1074
1074
|
t.$slots.invalid ? {
|
|
1075
1075
|
name: "invalid",
|
|
1076
|
-
fn: e(() => [c(t.$slots, "invalid", h(p(k(
|
|
1076
|
+
fn: e(() => [c(t.$slots, "invalid", h(p(k(q))))]),
|
|
1077
1077
|
key: "3"
|
|
1078
1078
|
} : void 0
|
|
1079
1079
|
]), 1032, ["id"]),
|
|
1080
|
-
k(
|
|
1080
|
+
k(W) ? (A(), O(mt, {
|
|
1081
1081
|
key: 1,
|
|
1082
1082
|
ref_key: "suggestionsDropdownEl",
|
|
1083
1083
|
ref: x,
|
|
@@ -1085,18 +1085,18 @@ var Dt = ["for"], Ot = {
|
|
|
1085
1085
|
"autofocus-first": !1,
|
|
1086
1086
|
"trigger-width": !0
|
|
1087
1087
|
}, {
|
|
1088
|
-
items: e(() => [(A(!0), D(oe, null, te(k(
|
|
1088
|
+
items: e(() => [(A(!0), D(oe, null, te(k(U), (n) => (A(), O(vt, {
|
|
1089
1089
|
key: n,
|
|
1090
|
-
onClick: C((e) =>
|
|
1090
|
+
onClick: C((e) => G(n), ["stop"])
|
|
1091
1091
|
}, {
|
|
1092
|
-
default: e(() => [E("div", Nt, [c(t.$slots, "suggestion", m({ ref_for: !0 }, { value: n }), () => [r(s(n), 1)])]), k(
|
|
1092
|
+
default: e(() => [E("div", Nt, [c(t.$slots, "suggestion", m({ ref_for: !0 }, { value: n }), () => [r(s(n), 1)])]), k(H) && k(Ce) ? (A(), D("button", {
|
|
1093
1093
|
key: 0,
|
|
1094
1094
|
type: "button",
|
|
1095
1095
|
tabindex: "-1",
|
|
1096
1096
|
class: "cursor-pointer",
|
|
1097
1097
|
title: k(le),
|
|
1098
|
-
onClick: C((e) =>
|
|
1099
|
-
}, [ce(bt, m({ ref_for: !0 }, k(
|
|
1098
|
+
onClick: C((e) => K(n), ["stop"])
|
|
1099
|
+
}, [ce(bt, m({ ref_for: !0 }, k(Ce)), null, 16)], 8, Pt)) : y("v-if", !0)]),
|
|
1100
1100
|
_: 2
|
|
1101
1101
|
}, 1032, ["onClick"]))), 128))]),
|
|
1102
1102
|
_: 3
|
|
@@ -1107,4 +1107,4 @@ var Dt = ["for"], Ot = {
|
|
|
1107
1107
|
//#endregion
|
|
1108
1108
|
export { Ft as default };
|
|
1109
1109
|
|
|
1110
|
-
//# sourceMappingURL=VvTextarea.es-
|
|
1110
|
+
//# sourceMappingURL=VvTextarea.es-CGpiCS4S.js.map
|