@8wave/ai-elements 0.84.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -0
- package/dist/_chunks/Media-Cu3QLEp0.js +120 -0
- package/dist/_chunks/Media-Cu3QLEp0.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-SVWv4Oye.js → PkStreamingMarkdown-C_fNNe9O.js} +307 -295
- package/dist/_chunks/PkStreamingMarkdown-C_fNNe9O.js.map +1 -0
- package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js +48 -0
- package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js.map +1 -0
- package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js +67 -0
- package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js.map +1 -0
- package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js +63 -0
- package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js → PkToolShowArtifact-Drp_zW-3.js} +33 -33
- package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js.map → PkToolShowArtifact-Drp_zW-3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js → PkToolShowCalendarEvent-D1XYExcQ.js} +40 -40
- package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js.map → PkToolShowCalendarEvent-D1XYExcQ.js.map} +1 -1
- package/dist/_chunks/PkToolShowComparison-DjK4sXS0.js +64 -0
- package/dist/_chunks/{PkToolShowComparison-BzyqEIMV.js.map → PkToolShowComparison-DjK4sXS0.js.map} +1 -1
- package/dist/_chunks/PkToolShowContactForm-DresTyBD.js +119 -0
- package/dist/_chunks/PkToolShowContactForm-DresTyBD.js.map +1 -0
- package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js +228 -0
- package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js.map +1 -0
- package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js → PkToolShowEmail-DGCKzD3s.js} +31 -31
- package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js.map → PkToolShowEmail-DGCKzD3s.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js → PkToolShowImageGallery-BhyAMaes.js} +19 -19
- package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js.map → PkToolShowImageGallery-BhyAMaes.js.map} +1 -1
- package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js +1140 -0
- package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js.map +1 -0
- package/dist/_chunks/{PkToolShowMessage-xy09z85p.js → PkToolShowMessage-BqH-tE8K.js} +27 -27
- package/dist/_chunks/{PkToolShowMessage-xy09z85p.js.map → PkToolShowMessage-BqH-tE8K.js.map} +1 -1
- package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js +81 -0
- package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js.map +1 -0
- package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js → PkToolShowProductList-DeU4qyZp.js} +26 -26
- package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js.map → PkToolShowProductList-DeU4qyZp.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js → PkToolShowQrCode-BrljSubk.js} +22 -22
- package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js.map → PkToolShowQrCode-BrljSubk.js.map} +1 -1
- package/dist/_chunks/PkToolShowSources-Ca36N91a.js +396 -0
- package/dist/_chunks/PkToolShowSources-Ca36N91a.js.map +1 -0
- package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js +47 -0
- package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js.map +1 -0
- package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js → PkToolShowWeather-CnTyMQTT.js} +63 -63
- package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js.map → PkToolShowWeather-CnTyMQTT.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js → PkToolShowWebPages-X0tkNJhc.js} +19 -19
- package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js.map → PkToolShowWebPages-X0tkNJhc.js.map} +1 -1
- package/dist/_chunks/{PkUrl-CeYapZ9E.js → PkUrl-ChRoceUn.js} +12 -12
- package/dist/_chunks/{PkUrl-CeYapZ9E.js.map → PkUrl-ChRoceUn.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js → VvCheckbox.es-CjtdGRKd.js} +63 -63
- package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js.map → VvCheckbox.es-CjtdGRKd.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js → VvCheckboxGroup.es-DYHTVBaF.js} +91 -91
- package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js.map → VvCheckboxGroup.es-DYHTVBaF.js.map} +1 -1
- package/dist/_chunks/VvCombobox.es-BxxQaz48.js +1998 -0
- package/dist/_chunks/{VvCombobox.es-CUUNtqyJ.js.map → VvCombobox.es-BxxQaz48.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-DeAexenB.js → VvInputText.es-B13qbrJj.js} +420 -420
- package/dist/_chunks/{VvInputText.es-DeAexenB.js.map → VvInputText.es-B13qbrJj.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-lb_BYfq5.js → VvRadio.es-DuSk75Cl.js} +117 -117
- package/dist/_chunks/{VvRadio.es-lb_BYfq5.js.map → VvRadio.es-DuSk75Cl.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js → VvRadioGroup.es-BjPz7xfR.js} +91 -91
- package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js.map → VvRadioGroup.es-BjPz7xfR.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-C9hkmhJf.js → VvSelect.es-CKFBoQN-.js} +119 -119
- package/dist/_chunks/{VvSelect.es-C9hkmhJf.js.map → VvSelect.es-CKFBoQN-.js.map} +1 -1
- package/dist/_chunks/VvTextarea.es-CICFo2Rh.js +1110 -0
- package/dist/_chunks/{VvTextarea.es-B5txwRRm.js.map → VvTextarea.es-CICFo2Rh.js.map} +1 -1
- package/dist/_chunks/dist-Dplp2WfI.js +799 -0
- package/dist/_chunks/{dist-DHG50RNO.js.map → dist-Dplp2WfI.js.map} +1 -1
- package/dist/_chunks/{esm-8uCGyZon.js → esm-CtL6xvv9.js} +19 -19
- package/dist/_chunks/{esm-8uCGyZon.js.map → esm-CtL6xvv9.js.map} +1 -1
- package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js → floating-ui.vue-BWkka9Fn.js} +6 -6
- package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js.map → floating-ui.vue-BWkka9Fn.js.map} +1 -1
- package/dist/_chunks/{iconify-B2ZQHsNr.js → iconify-DlYsYC8z.js} +5 -5
- package/dist/_chunks/{iconify-B2ZQHsNr.js.map → iconify-DlYsYC8z.js.map} +1 -1
- package/dist/_chunks/{index.es-CusxIi0s.js → index.es-9_Td6lnP.js} +2306 -2306
- package/dist/_chunks/{index.es-CusxIi0s.js.map → index.es-9_Td6lnP.js.map} +1 -1
- package/dist/_chunks/index.es-BC4SxvmK.js +994 -0
- package/dist/_chunks/index.es-BC4SxvmK.js.map +1 -0
- package/dist/_chunks/{src-RaVs-PqK.js → src-L9Jq1dyr.js} +11 -11
- package/dist/_chunks/{src-RaVs-PqK.js.map → src-L9Jq1dyr.js.map} +1 -1
- package/dist/_chunks/{useLightbox-C7JFztx4.js → useLightbox-kKLPhYUx.js} +9 -7
- package/dist/_chunks/{useLightbox-C7JFztx4.js.map → useLightbox-kKLPhYUx.js.map} +1 -1
- package/dist/_chunks/{vue-i18n-fHp3k8qw.js → vue-i18n-BjaFxqmH.js} +40 -40
- package/dist/_chunks/{vue-i18n-fHp3k8qw.js.map → vue-i18n-BjaFxqmH.js.map} +1 -1
- package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js → vue.runtime.esm-bundler-B-iHWsf4.js} +702 -702
- package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js.map → vue.runtime.esm-bundler-B-iHWsf4.js.map} +1 -1
- package/dist/ai-elements.es.js +4016 -10669
- 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-D5pFbMNh.js +120 -0
- package/dist-vue/_chunks/Media-D5pFbMNh.js.map +1 -0
- package/dist-vue/_chunks/PkChatbot-UDExD81D.js +190 -0
- package/dist-vue/_chunks/PkChatbot-UDExD81D.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js → PkChatbotFeedbackForm-Dy2ojy2E.js} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js.map → PkChatbotFeedbackForm-Dy2ojy2E.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFilePreview-0N9ASbIp.js → PkChatbotFilePreview-7hRouK9o.js} +5 -3
- package/dist-vue/_chunks/PkChatbotFilePreview-7hRouK9o.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js → PkChatbotInput-Dn4KFNfx.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js.map → PkChatbotInput-Dn4KFNfx.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-BDziUgck.js → PkChatbotMessages-DUOrit9Y.js} +47 -33
- package/dist-vue/_chunks/PkChatbotMessages-DUOrit9Y.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js +225 -0
- package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js → PkChatbotViewConversations-B9KC-0ir.js} +13 -13
- package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js.map → PkChatbotViewConversations-B9KC-0ir.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js → PkChatbotViewProfile-C0q898hz.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js.map → PkChatbotViewProfile-C0q898hz.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BUiAi-qv.js → PkStreamingMarkdown-BDtjktHX.js} +296 -284
- package/dist-vue/_chunks/PkStreamingMarkdown-BDtjktHX.js.map +1 -0
- package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js +125 -0
- package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js.map +1 -0
- package/dist-vue/_chunks/PkToolRequestConfirm-BcZ10rMb.js +48 -0
- package/dist-vue/_chunks/{PkToolRequestConfirm-BsHpoI-c.js.map → PkToolRequestConfirm-BcZ10rMb.js.map} +1 -1
- package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js +67 -0
- package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js.map +1 -0
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-CIrFBhxL.js +63 -0
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-shcJXxtk.js.map → PkToolRequestOAuthConnection-CIrFBhxL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js → PkToolShowArtifact-BVFPfZT8.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js.map → PkToolShowArtifact-BVFPfZT8.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js → PkToolShowCalendarEvent-9jaBqWBJ.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js.map → PkToolShowCalendarEvent-9jaBqWBJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js → PkToolShowComparison-D1YHzvyy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js.map → PkToolShowComparison-D1YHzvyy.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js → PkToolShowContactForm-BVtuQVGs.js} +5 -5
- package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js.map → PkToolShowContactForm-BVtuQVGs.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js +112 -0
- package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js → PkToolShowEmail-BZzv2-6y.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js.map → PkToolShowEmail-BZzv2-6y.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js → PkToolShowImageGallery-Bt7QNtGe.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js.map → PkToolShowImageGallery-Bt7QNtGe.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js +143 -0
- package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js → PkToolShowMessage-DvnO4DDb.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js.map → PkToolShowMessage-DvnO4DDb.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js → PkToolShowMultipleChoice-BEWDze3p.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js.map → PkToolShowMultipleChoice-BEWDze3p.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js → PkToolShowProductList-Cyh_fdTh.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js.map → PkToolShowProductList-Cyh_fdTh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js → PkToolShowQrCode-Dz3HlJGs.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js.map → PkToolShowQrCode-Dz3HlJGs.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js → PkToolShowSources-cFvwqgDz.js} +21 -21
- package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js.map → PkToolShowSources-cFvwqgDz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js → PkToolShowSuggestedReply-DIrmkOUq.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js.map → PkToolShowSuggestedReply-DIrmkOUq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js → PkToolShowWeather-CKFmoP6M.js} +1 -1
- package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js.map → PkToolShowWeather-CKFmoP6M.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js → PkToolShowWebPages-DDsErkru.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js.map → PkToolShowWebPages-DDsErkru.js.map} +1 -1
- package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js → PkUrl-DdRprvPJ.js} +1 -1
- package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js.map → PkUrl-DdRprvPJ.js.map} +1 -1
- package/dist-vue/_chunks/{apl-gZJv8aE0.js → apl-CiKuf38q.js} +1 -1
- package/dist-vue/_chunks/{apl-gZJv8aE0.js.map → apl-CiKuf38q.js.map} +1 -1
- package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js → asciiarmor-Cv_figT_.js} +1 -1
- package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js.map → asciiarmor-Cv_figT_.js.map} +1 -1
- package/dist-vue/_chunks/{asn1-CUOx9oeT.js → asn1-o22T4Rhb.js} +1 -1
- package/dist-vue/_chunks/{asn1-CUOx9oeT.js.map → asn1-o22T4Rhb.js.map} +1 -1
- package/dist-vue/_chunks/{asterisk-CtQouKe4.js → asterisk-BVQJUqvD.js} +1 -1
- package/dist-vue/_chunks/{asterisk-CtQouKe4.js.map → asterisk-BVQJUqvD.js.map} +1 -1
- package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js → brainfuck-BUjoLd18.js} +1 -1
- package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js.map → brainfuck-BUjoLd18.js.map} +1 -1
- package/dist-vue/_chunks/{clike-DBPD1mz3.js → clike-DnfYdh2t.js} +1 -1
- package/dist-vue/_chunks/{clike-DBPD1mz3.js.map → clike-DnfYdh2t.js.map} +1 -1
- package/dist-vue/_chunks/{clojure-xtczAEDV.js → clojure-Spy-VDMe.js} +1 -1
- package/dist-vue/_chunks/{clojure-xtczAEDV.js.map → clojure-Spy-VDMe.js.map} +1 -1
- package/dist-vue/_chunks/{cmake-DdDZ3JWF.js → cmake-Ctp7rWzy.js} +1 -1
- package/dist-vue/_chunks/{cmake-DdDZ3JWF.js.map → cmake-Ctp7rWzy.js.map} +1 -1
- package/dist-vue/_chunks/{cobol-BAMxIfCa.js → cobol-DX59jXra.js} +1 -1
- package/dist-vue/_chunks/{cobol-BAMxIfCa.js.map → cobol-DX59jXra.js.map} +1 -1
- package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js → coffeescript-Bq4R3kBT.js} +1 -1
- package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js.map → coffeescript-Bq4R3kBT.js.map} +1 -1
- package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js → commonlisp-qnCvPlJb.js} +1 -1
- package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js.map → commonlisp-qnCvPlJb.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-C_E35aQf.js → createChatbotApiClient-C-jT5hE0.js} +96 -95
- package/dist-vue/_chunks/createChatbotApiClient-C-jT5hE0.js.map +1 -0
- package/dist-vue/_chunks/{crystal-DdoSQSAv.js → crystal-B02ya4cQ.js} +1 -1
- package/dist-vue/_chunks/{crystal-DdoSQSAv.js.map → crystal-B02ya4cQ.js.map} +1 -1
- package/dist-vue/_chunks/{css-TU14Ca1R.js → css-CzWlO-Xb.js} +1 -1
- package/dist-vue/_chunks/{css-TU14Ca1R.js.map → css-CzWlO-Xb.js.map} +1 -1
- package/dist-vue/_chunks/{cypher-CXLa4pI5.js → cypher-CLyYkG2-.js} +1 -1
- package/dist-vue/_chunks/{cypher-CXLa4pI5.js.map → cypher-CLyYkG2-.js.map} +1 -1
- package/dist-vue/_chunks/{d-BArAGMlp.js → d-DGUXRLLi.js} +1 -1
- package/dist-vue/_chunks/{d-BArAGMlp.js.map → d-DGUXRLLi.js.map} +1 -1
- package/dist-vue/_chunks/{diff-C3LIbTwG.js → diff-DRe8JdWk.js} +1 -1
- package/dist-vue/_chunks/{diff-C3LIbTwG.js.map → diff-DRe8JdWk.js.map} +1 -1
- package/dist-vue/_chunks/{dist-CUYb2Ykk.js → dist-7BKkikZw.js} +2 -2
- package/dist-vue/_chunks/{dist-CUYb2Ykk.js.map → dist-7BKkikZw.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DlMrwhCk.js → dist-7u7jBD-H.js} +1 -1
- package/dist-vue/_chunks/{dist-DlMrwhCk.js.map → dist-7u7jBD-H.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Bj32YA2b.js → dist-8BVnK6QW.js} +4 -4
- package/dist-vue/_chunks/{dist-Bj32YA2b.js.map → dist-8BVnK6QW.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BtzPY8uU.js → dist-9IwNDEHQ.js} +2 -2
- package/dist-vue/_chunks/{dist-BtzPY8uU.js.map → dist-9IwNDEHQ.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BMTTRExI.js → dist-BGTESNxJ.js} +1 -1
- package/dist-vue/_chunks/{dist-BMTTRExI.js.map → dist-BGTESNxJ.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BUm8Nt7d.js → dist-BWdaSTBW.js} +2 -2
- package/dist-vue/_chunks/{dist-BUm8Nt7d.js.map → dist-BWdaSTBW.js.map} +1 -1
- package/dist-vue/_chunks/{dist-tDt7-5Hh.js → dist-BtFxPYCM.js} +1 -1
- package/dist-vue/_chunks/{dist-tDt7-5Hh.js.map → dist-BtFxPYCM.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BM3i3wHC.js → dist-BwrhMmQA.js} +1 -1
- package/dist-vue/_chunks/{dist-BM3i3wHC.js.map → dist-BwrhMmQA.js.map} +1 -1
- package/dist-vue/_chunks/{dist-B_3TGJwf.js → dist-Cm-J5l4S2.js} +1 -1
- package/dist-vue/_chunks/dist-Cm-J5l4S2.js.map +1 -0
- package/dist-vue/_chunks/{dist-CUah0Xys.js → dist-CnmeOb2N.js} +3 -3
- package/dist-vue/_chunks/{dist-CUah0Xys.js.map → dist-CnmeOb2N.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DI-XHVdE.js → dist-D34LRAfv.js} +2 -2
- package/dist-vue/_chunks/{dist-DI-XHVdE.js.map → dist-D34LRAfv.js.map} +1 -1
- package/dist-vue/_chunks/{dist-DACzskoy2.js → dist-D35h9xud2.js} +3 -3
- package/dist-vue/_chunks/{dist-DACzskoy2.js.map → dist-D35h9xud2.js.map} +1 -1
- package/dist-vue/_chunks/dist-DMKuVADK2.js +441 -0
- package/dist-vue/_chunks/dist-DMKuVADK2.js.map +1 -0
- package/dist-vue/_chunks/{dist-CwWFe7zF.js → dist-Dg1nGvwP.js} +1 -1
- package/dist-vue/_chunks/{dist-CwWFe7zF.js.map → dist-Dg1nGvwP.js.map} +1 -1
- package/dist-vue/_chunks/{dist-B2nNrire.js → dist-YcwJuFBx.js} +2 -2
- package/dist-vue/_chunks/{dist-B2nNrire.js.map → dist-YcwJuFBx.js.map} +1 -1
- package/dist-vue/_chunks/{dist-2JsKACZj.js → dist-b5CbbjSp.js} +1 -1
- package/dist-vue/_chunks/{dist-2JsKACZj.js.map → dist-b5CbbjSp.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Cr5fwgdD.js → dist-kywGQjza.js} +2 -2
- package/dist-vue/_chunks/{dist-Cr5fwgdD.js.map → dist-kywGQjza.js.map} +1 -1
- package/dist-vue/_chunks/{dist-Df_bnb-v.js → dist-l6sREGf7.js} +1 -1
- package/dist-vue/_chunks/{dist-Df_bnb-v.js.map → dist-l6sREGf7.js.map} +1 -1
- package/dist-vue/_chunks/{dist-B1Xwe66S.js → dist-x5C6fPIQ.js} +2 -2
- package/dist-vue/_chunks/{dist-B1Xwe66S.js.map → dist-x5C6fPIQ.js.map} +1 -1
- package/dist-vue/_chunks/{dist-BgntOJ9J.js → dist-x73cXb-w.js} +3 -3
- package/dist-vue/_chunks/{dist-BgntOJ9J.js.map → dist-x73cXb-w.js.map} +1 -1
- package/dist-vue/_chunks/{dockerfile-DzujQve1.js → dockerfile-BpKVodrd.js} +2 -2
- package/dist-vue/_chunks/{dockerfile-DzujQve1.js.map → dockerfile-BpKVodrd.js.map} +1 -1
- package/dist-vue/_chunks/{dtd-B1f0YqWO.js → dtd-q9vHTxZ1.js} +1 -1
- package/dist-vue/_chunks/{dtd-B1f0YqWO.js.map → dtd-q9vHTxZ1.js.map} +1 -1
- package/dist-vue/_chunks/{dylan-bedk9ukf.js → dylan-CTRyD_yN.js} +1 -1
- package/dist-vue/_chunks/{dylan-bedk9ukf.js.map → dylan-CTRyD_yN.js.map} +1 -1
- package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js → ebnf-DPw9AGDC.js} +1 -1
- package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js.map → ebnf-DPw9AGDC.js.map} +1 -1
- package/dist-vue/_chunks/{ecl-CXPqOJjc.js → ecl-CuLlc0XE.js} +1 -1
- package/dist-vue/_chunks/{ecl-CXPqOJjc.js.map → ecl-CuLlc0XE.js.map} +1 -1
- package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js → eiffel-DYyjt7F3.js} +1 -1
- package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js.map → eiffel-DYyjt7F3.js.map} +1 -1
- package/dist-vue/_chunks/{elm-CEbGa4zC.js → elm-DcYv6ZJY.js} +1 -1
- package/dist-vue/_chunks/{elm-CEbGa4zC.js.map → elm-DcYv6ZJY.js.map} +1 -1
- package/dist-vue/_chunks/{erlang-BNnTSw8C.js → erlang-nipePvRg.js} +1 -1
- package/dist-vue/_chunks/{erlang-BNnTSw8C.js.map → erlang-nipePvRg.js.map} +1 -1
- package/dist-vue/_chunks/{factor-BIER3ncI.js → factor-C_jm0Hi8.js} +2 -2
- package/dist-vue/_chunks/{factor-BIER3ncI.js.map → factor-C_jm0Hi8.js.map} +1 -1
- package/dist-vue/_chunks/{fcl-HxmGK-W5.js → fcl-CqmPhDgo.js} +1 -1
- package/dist-vue/_chunks/{fcl-HxmGK-W5.js.map → fcl-CqmPhDgo.js.map} +1 -1
- package/dist-vue/_chunks/{forth-BoRU1oYL.js → forth-GAg6IwF6.js} +1 -1
- package/dist-vue/_chunks/{forth-BoRU1oYL.js.map → forth-GAg6IwF6.js.map} +1 -1
- package/dist-vue/_chunks/{fortran-8E8eLx-x.js → fortran-DyrSTiy7.js} +1 -1
- package/dist-vue/_chunks/{fortran-8E8eLx-x.js.map → fortran-DyrSTiy7.js.map} +1 -1
- package/dist-vue/_chunks/{gas-DzrG9cIr.js → gas-CBY6LBUu.js} +1 -1
- package/dist-vue/_chunks/{gas-DzrG9cIr.js.map → gas-CBY6LBUu.js.map} +1 -1
- package/dist-vue/_chunks/{gherkin-d-xjbPN9.js → gherkin-F6vIWaV0.js} +1 -1
- package/dist-vue/_chunks/{gherkin-d-xjbPN9.js.map → gherkin-F6vIWaV0.js.map} +1 -1
- package/dist-vue/_chunks/{groovy-DluoS5pg.js → groovy-DBvpslJE.js} +1 -1
- package/dist-vue/_chunks/{groovy-DluoS5pg.js.map → groovy-DBvpslJE.js.map} +1 -1
- package/dist-vue/_chunks/{haskell-DWzSrwGO.js → haskell-CzcXTuY3.js} +1 -1
- package/dist-vue/_chunks/{haskell-DWzSrwGO.js.map → haskell-CzcXTuY3.js.map} +1 -1
- package/dist-vue/_chunks/{haxe-nucWqdAl.js → haxe-C0K87vd-.js} +1 -1
- package/dist-vue/_chunks/{haxe-nucWqdAl.js.map → haxe-C0K87vd-.js.map} +1 -1
- package/dist-vue/_chunks/{http-wcQY3fv1.js → http-lhCYiIUK.js} +1 -1
- package/dist-vue/_chunks/{http-wcQY3fv1.js.map → http-lhCYiIUK.js.map} +1 -1
- package/dist-vue/_chunks/{idl-BZjtu2uP.js → idl-DiwlVJ2e.js} +1 -1
- package/dist-vue/_chunks/{idl-BZjtu2uP.js.map → idl-DiwlVJ2e.js.map} +1 -1
- package/dist-vue/_chunks/{javascript-D-DeSYfi.js → javascript-DoLQ_01m.js} +1 -1
- package/dist-vue/_chunks/{javascript-D-DeSYfi.js.map → javascript-DoLQ_01m.js.map} +1 -1
- package/dist-vue/_chunks/{julia-BdkHYLKN.js → julia-D-9kev9I.js} +1 -1
- package/dist-vue/_chunks/{julia-BdkHYLKN.js.map → julia-D-9kev9I.js.map} +1 -1
- package/dist-vue/_chunks/{livescript-B-rE2yGH.js → livescript-BXKPrYL1.js} +1 -1
- package/dist-vue/_chunks/{livescript-B-rE2yGH.js.map → livescript-BXKPrYL1.js.map} +1 -1
- package/dist-vue/_chunks/{lua-8MR4kmO6.js → lua-CmoiUImJ.js} +1 -1
- package/dist-vue/_chunks/{lua-8MR4kmO6.js.map → lua-CmoiUImJ.js.map} +1 -1
- package/dist-vue/_chunks/{mathematica-DsQZ56s1.js → mathematica-C0zVH3hb.js} +1 -1
- package/dist-vue/_chunks/{mathematica-DsQZ56s1.js.map → mathematica-C0zVH3hb.js.map} +1 -1
- package/dist-vue/_chunks/{mbox-BlqAOSZk.js → mbox-BQjArxBt.js} +1 -1
- package/dist-vue/_chunks/{mbox-BlqAOSZk.js.map → mbox-BQjArxBt.js.map} +1 -1
- package/dist-vue/_chunks/{mirc-CeWiL7Xj.js → mirc-CH7vSjBP.js} +1 -1
- package/dist-vue/_chunks/{mirc-CeWiL7Xj.js.map → mirc-CH7vSjBP.js.map} +1 -1
- package/dist-vue/_chunks/{mllike-B4w9rV72.js → mllike-BtNDtwtH.js} +1 -1
- package/dist-vue/_chunks/{mllike-B4w9rV72.js.map → mllike-BtNDtwtH.js.map} +1 -1
- package/dist-vue/_chunks/{modelica-BeZSjbWb.js → modelica-D0D4gw71.js} +1 -1
- package/dist-vue/_chunks/{modelica-BeZSjbWb.js.map → modelica-D0D4gw71.js.map} +1 -1
- package/dist-vue/_chunks/{mscgen-Diy4rp5E.js → mscgen-BREuUTcQ.js} +1 -1
- package/dist-vue/_chunks/{mscgen-Diy4rp5E.js.map → mscgen-BREuUTcQ.js.map} +1 -1
- package/dist-vue/_chunks/{mumps-DHp_hepw.js → mumps-Cj1f6cBa.js} +1 -1
- package/dist-vue/_chunks/{mumps-DHp_hepw.js.map → mumps-Cj1f6cBa.js.map} +1 -1
- package/dist-vue/_chunks/{nginx-ZUseZ3KV.js → nginx-CTa-DOcs.js} +1 -1
- package/dist-vue/_chunks/{nginx-ZUseZ3KV.js.map → nginx-CTa-DOcs.js.map} +1 -1
- package/dist-vue/_chunks/{nsis-g-2nkKRi.js → nsis-BWAOyRUP.js} +2 -2
- package/dist-vue/_chunks/{nsis-g-2nkKRi.js.map → nsis-BWAOyRUP.js.map} +1 -1
- package/dist-vue/_chunks/{ntriples-COZl-CW9.js → ntriples-zIN_qrIe.js} +1 -1
- package/dist-vue/_chunks/{ntriples-COZl-CW9.js.map → ntriples-zIN_qrIe.js.map} +1 -1
- package/dist-vue/_chunks/{octave-qefefCKI.js → octave-DIV6S7Pt.js} +1 -1
- package/dist-vue/_chunks/{octave-qefefCKI.js.map → octave-DIV6S7Pt.js.map} +1 -1
- package/dist-vue/_chunks/{oz-B7xBKeTb.js → oz-5rNpxapS.js} +1 -1
- package/dist-vue/_chunks/{oz-B7xBKeTb.js.map → oz-5rNpxapS.js.map} +1 -1
- package/dist-vue/_chunks/{pascal-B0deIU4R.js → pascal-7C5712Nh.js} +1 -1
- package/dist-vue/_chunks/{pascal-B0deIU4R.js.map → pascal-7C5712Nh.js.map} +1 -1
- package/dist-vue/_chunks/{perl-CrEeHa0-.js → perl-eAVlqDxG.js} +1 -1
- package/dist-vue/_chunks/{perl-CrEeHa0-.js.map → perl-eAVlqDxG.js.map} +1 -1
- package/dist-vue/_chunks/{pig-CQcAmjLr.js → pig-C6AL_r8r.js} +1 -1
- package/dist-vue/_chunks/{pig-CQcAmjLr.js.map → pig-C6AL_r8r.js.map} +1 -1
- package/dist-vue/_chunks/{powershell-CEOsLn17.js → powershell-DsA9A7ee.js} +1 -1
- package/dist-vue/_chunks/{powershell-CEOsLn17.js.map → powershell-DsA9A7ee.js.map} +1 -1
- package/dist-vue/_chunks/{properties-CIZ3QFxD.js → properties-DuF6jBwF.js} +1 -1
- package/dist-vue/_chunks/{properties-CIZ3QFxD.js.map → properties-DuF6jBwF.js.map} +1 -1
- package/dist-vue/_chunks/{protobuf-B9FrV1JK.js → protobuf-nlPU8ZM-.js} +1 -1
- package/dist-vue/_chunks/{protobuf-B9FrV1JK.js.map → protobuf-nlPU8ZM-.js.map} +1 -1
- package/dist-vue/_chunks/{pug-Dn8VvwH3.js → pug-C1RwTStM.js} +2 -2
- package/dist-vue/_chunks/{pug-Dn8VvwH3.js.map → pug-C1RwTStM.js.map} +1 -1
- package/dist-vue/_chunks/{puppet-C6TXtx4p.js → puppet-DFYbyNW2.js} +1 -1
- package/dist-vue/_chunks/{puppet-C6TXtx4p.js.map → puppet-DFYbyNW2.js.map} +1 -1
- package/dist-vue/_chunks/{python-DcAJJ0JG.js → python-Dv1DGCiz.js} +1 -1
- package/dist-vue/_chunks/{python-DcAJJ0JG.js.map → python-Dv1DGCiz.js.map} +1 -1
- package/dist-vue/_chunks/{q-WbmgnnmF.js → q-X1HLKyVv.js} +1 -1
- package/dist-vue/_chunks/{q-WbmgnnmF.js.map → q-X1HLKyVv.js.map} +1 -1
- package/dist-vue/_chunks/{r-C22XZ_AN.js → r-BZGUCY-c.js} +1 -1
- package/dist-vue/_chunks/{r-C22XZ_AN.js.map → r-BZGUCY-c.js.map} +1 -1
- package/dist-vue/_chunks/{rpm-B9APie5d.js → rpm-CDLCwfOD.js} +1 -1
- package/dist-vue/_chunks/{rpm-B9APie5d.js.map → rpm-CDLCwfOD.js.map} +1 -1
- package/dist-vue/_chunks/{ruby-D24Ax8EE.js → ruby-cVyKV-zg.js} +1 -1
- package/dist-vue/_chunks/{ruby-D24Ax8EE.js.map → ruby-cVyKV-zg.js.map} +1 -1
- package/dist-vue/_chunks/{sas-D4-twsz3.js → sas-BDPIwc3L.js} +1 -1
- package/dist-vue/_chunks/{sas-D4-twsz3.js.map → sas-BDPIwc3L.js.map} +1 -1
- package/dist-vue/_chunks/{scheme-CCmbAfjG.js → scheme-6m6S6r1m.js} +1 -1
- package/dist-vue/_chunks/{scheme-CCmbAfjG.js.map → scheme-6m6S6r1m.js.map} +1 -1
- package/dist-vue/_chunks/{shell-oVzTSWfo.js → shell-Dcuubvcg.js} +1 -1
- package/dist-vue/_chunks/{shell-oVzTSWfo.js.map → shell-Dcuubvcg.js.map} +1 -1
- package/dist-vue/_chunks/{sieve-DUlxvKqS.js → sieve-C0Ec4mOZ.js} +1 -1
- package/dist-vue/_chunks/{sieve-DUlxvKqS.js.map → sieve-C0Ec4mOZ.js.map} +1 -1
- package/dist-vue/_chunks/{simple-mode-B6svE9zR.js → simple-mode-CaO_UoX6.js} +1 -1
- package/dist-vue/_chunks/{simple-mode-B6svE9zR.js.map → simple-mode-CaO_UoX6.js.map} +1 -1
- package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js → smalltalk-C8mY0f87.js} +1 -1
- package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js.map → smalltalk-C8mY0f87.js.map} +1 -1
- package/dist-vue/_chunks/{solr-DzeE5sFM.js → solr-jbM7m8s0.js} +1 -1
- package/dist-vue/_chunks/{solr-DzeE5sFM.js.map → solr-jbM7m8s0.js.map} +1 -1
- package/dist-vue/_chunks/{sparql-GFDxBmFa.js → sparql-DJZXdQFZ.js} +1 -1
- package/dist-vue/_chunks/{sparql-GFDxBmFa.js.map → sparql-DJZXdQFZ.js.map} +1 -1
- package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js → spreadsheet-iKWvNdRt.js} +1 -1
- package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js.map → spreadsheet-iKWvNdRt.js.map} +1 -1
- package/dist-vue/_chunks/{sql-JuMmsoSB.js → sql-BQ2tj9MP.js} +1 -1
- package/dist-vue/_chunks/{sql-JuMmsoSB.js.map → sql-BQ2tj9MP.js.map} +1 -1
- package/dist-vue/_chunks/{src-EtGd6cRz.js → src-DW4YojFN.js} +10 -10
- package/dist-vue/_chunks/{src-EtGd6cRz.js.map → src-DW4YojFN.js.map} +1 -1
- package/dist-vue/_chunks/{stex-Cy057UFl.js → stex-BEcrdSPS.js} +1 -1
- package/dist-vue/_chunks/{stex-Cy057UFl.js.map → stex-BEcrdSPS.js.map} +1 -1
- package/dist-vue/_chunks/{stylus-0KIe3uMX.js → stylus-b5gEI930.js} +1 -1
- package/dist-vue/_chunks/{stylus-0KIe3uMX.js.map → stylus-b5gEI930.js.map} +1 -1
- package/dist-vue/_chunks/{swift-tYMDqvYT.js → swift-RNJNWQs6.js} +1 -1
- package/dist-vue/_chunks/{swift-tYMDqvYT.js.map → swift-RNJNWQs6.js.map} +1 -1
- package/dist-vue/_chunks/{tcl-CSbjfJ81.js → tcl-BbY3AuDS.js} +1 -1
- package/dist-vue/_chunks/{tcl-CSbjfJ81.js.map → tcl-BbY3AuDS.js.map} +1 -1
- package/dist-vue/_chunks/{textile-Qe0pFxF7.js → textile-BM2q07iw.js} +1 -1
- package/dist-vue/_chunks/{textile-Qe0pFxF7.js.map → textile-BM2q07iw.js.map} +1 -1
- package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js → tiddlywiki-Bu7ffwvE.js} +1 -1
- package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js.map → tiddlywiki-Bu7ffwvE.js.map} +1 -1
- package/dist-vue/_chunks/{tiki-jtNVir5w.js → tiki-BSMiLiXp.js} +1 -1
- package/dist-vue/_chunks/{tiki-jtNVir5w.js.map → tiki-BSMiLiXp.js.map} +1 -1
- package/dist-vue/_chunks/{toml-C3FMZ9FE.js → toml-D3U9uI6V.js} +1 -1
- package/dist-vue/_chunks/{toml-C3FMZ9FE.js.map → toml-D3U9uI6V.js.map} +1 -1
- package/dist-vue/_chunks/{troff-FdVM_sPB.js → troff-DK_RaQh-.js} +1 -1
- package/dist-vue/_chunks/{troff-FdVM_sPB.js.map → troff-DK_RaQh-.js.map} +1 -1
- package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js → ttcn-DVxr7ZdN.js} +1 -1
- package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js.map → ttcn-DVxr7ZdN.js.map} +1 -1
- package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js → ttcn-cfg-CJG9xdrY.js} +1 -1
- package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js.map → ttcn-cfg-CJG9xdrY.js.map} +1 -1
- package/dist-vue/_chunks/{turtle-BtDXIrpF.js → turtle-Cj5kMy4D.js} +1 -1
- package/dist-vue/_chunks/{turtle-BtDXIrpF.js.map → turtle-Cj5kMy4D.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BXi-Gx7b.js → useChatbotStore-DCCWlutT.js} +1244 -1217
- package/dist-vue/_chunks/useChatbotStore-DCCWlutT.js.map +1 -0
- package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js → useSafeLocalStorage-DmA2eEi6.js} +2 -2
- package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js.map → useSafeLocalStorage-DmA2eEi6.js.map} +1 -1
- package/dist-vue/_chunks/{utils-CRojvghU.js → utils-UX35fb5C.js} +13 -13
- package/dist-vue/_chunks/{utils-CRojvghU.js.map → utils-UX35fb5C.js.map} +1 -1
- package/dist-vue/_chunks/{vb-DZ7E2F9i.js → vb-RlGsZALV.js} +1 -1
- package/dist-vue/_chunks/{vb-DZ7E2F9i.js.map → vb-RlGsZALV.js.map} +1 -1
- package/dist-vue/_chunks/{vbscript-DmYal433.js → vbscript-C6LN5bsX.js} +1 -1
- package/dist-vue/_chunks/{vbscript-DmYal433.js.map → vbscript-C6LN5bsX.js.map} +1 -1
- package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js → velocity-7A5nvZTA.js} +1 -1
- package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js.map → velocity-7A5nvZTA.js.map} +1 -1
- package/dist-vue/_chunks/{verilog-6XMMKLGD.js → verilog-CoPTkjsM.js} +1 -1
- package/dist-vue/_chunks/{verilog-6XMMKLGD.js.map → verilog-CoPTkjsM.js.map} +1 -1
- package/dist-vue/_chunks/{vhdl-BczymJF3.js → vhdl-BRtaeCKx.js} +1 -1
- package/dist-vue/_chunks/{vhdl-BczymJF3.js.map → vhdl-BRtaeCKx.js.map} +1 -1
- package/dist-vue/_chunks/{webidl-CaC70GJ2.js → webidl-BVwPXw7k.js} +1 -1
- package/dist-vue/_chunks/{webidl-CaC70GJ2.js.map → webidl-BVwPXw7k.js.map} +1 -1
- package/dist-vue/_chunks/{xquery-JS07XjNe.js → xquery-CXV9KVdL.js} +1 -1
- package/dist-vue/_chunks/{xquery-JS07XjNe.js.map → xquery-CXV9KVdL.js.map} +1 -1
- package/dist-vue/_chunks/{yacas-BXZNhOsZ.js → yacas-5ByKKRqf.js} +1 -1
- package/dist-vue/_chunks/{yacas-BXZNhOsZ.js.map → yacas-5ByKKRqf.js.map} +1 -1
- package/dist-vue/_chunks/{z80-Dtc8Q5vA.js → z80-wbH4fW7-.js} +1 -1
- package/dist-vue/_chunks/{z80-Dtc8Q5vA.js.map → z80-wbH4fW7-.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +8 -5
- package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +8 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +4 -0
- package/dist-vue/apps/web-component/src/lib.d.ts +34 -0
- package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +10 -0
- package/dist-vue/composables.js +4 -4
- package/dist-vue/index.js +8628 -4422
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +106 -62
- package/dist-vue/packages/auth/src/index.d.ts +12 -12
- package/dist-vue/packages/components/src/PkEditorJsonSchema.d.ts +36 -0
- package/dist-vue/packages/components/src/PkSchemaField.d.ts +17 -0
- package/dist-vue/packages/components/src/PkSvgViewer.d.ts +8 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +5 -2
- package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +2 -0
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -0
- package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
- package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +2 -0
- package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
- package/dist-vue/packages/components/src/chat/PkToolShowDiagram.d.ts +8 -0
- package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +2 -0
- package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
- package/dist-vue/packages/components/src/index.d.ts +4 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +21 -3
- package/dist-vue/packages/composable/src/index.d.ts +1 -0
- package/dist-vue/packages/composable/src/useJsonSchemaEditor.d.ts +45 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +4 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +3 -0
- package/dist-vue/packages/models/src/schema/Notification.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
- package/dist-vue/packages/models/src/utils.d.ts +2 -0
- package/dist-vue/style.css +1 -1
- package/package.json +7 -7
- package/dist/_chunks/PkStreamingMarkdown-SVWv4Oye.js.map +0 -1
- package/dist/_chunks/PkToolShowComparison-BzyqEIMV.js +0 -64
- package/dist/_chunks/VvCombobox.es-CUUNtqyJ.js +0 -1998
- package/dist/_chunks/VvTextarea.es-B5txwRRm.js +0 -1110
- package/dist/_chunks/dist-DHG50RNO.js +0 -768
- package/dist/_chunks/marker-icon-2x-Df3ovzYv.js +0 -7
- package/dist/_chunks/marker-icon-2x-Df3ovzYv.js.map +0 -1
- package/dist/_chunks/marker-icon-CCYFvBsS.js +0 -7
- package/dist/_chunks/marker-icon-CCYFvBsS.js.map +0 -1
- package/dist/_chunks/marker-shadow-CHjnGkIt.js +0 -7
- package/dist/_chunks/marker-shadow-CHjnGkIt.js.map +0 -1
- package/dist-vue/_chunks/Media-Dq8UU7iQ.js +0 -120
- package/dist-vue/_chunks/Media-Dq8UU7iQ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js +0 -191
- package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotFilePreview-0N9ASbIp.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-BDziUgck.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js +0 -278
- package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js.map +0 -1
- package/dist-vue/_chunks/PkStreamingMarkdown-BUiAi-qv.js.map +0 -1
- package/dist-vue/_chunks/PkToolRequestConfirm-BsHpoI-c.js +0 -49
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-shcJXxtk.js +0 -64
- package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js +0 -149
- package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-C_E35aQf.js.map +0 -1
- package/dist-vue/_chunks/dist-B_3TGJwf.js.map +0 -1
- package/dist-vue/_chunks/dist-sx4PacBp2.js +0 -440
- package/dist-vue/_chunks/dist-sx4PacBp2.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-BXi-Gx7b.js.map +0 -1
- /package/dist/_chunks/{_plugin-vue_export-helper-BWIS0o4o.js → _plugin-vue_export-helper-5qR9iAls.js} +0 -0
|
@@ -0,0 +1,1110 @@
|
|
|
1
|
+
import { B as e, C as t, E as n, F as r, G as i, H as a, Ht as o, K as s, Kt as c, L as l, M as u, O as d, P as f, Q as p, S as ee, Ut as m, V as te, Vt as ne, Y as re, _ as h, b as g, bt as _, ct as v, d as ie, et as y, j as b, k as x, m as ae, n as oe, p as S, pt as C, q as w, tt as se, u as ce, v as T, vt as E, w as le, x as D, y as O, z as k } from "./vue.runtime.esm-bundler-B-iHWsf4.js";
|
|
2
|
+
import { a as A, i as ue, t as de } from "./iconify-DlYsYC8z.js";
|
|
3
|
+
import { c as j, d as fe, l as pe, m as me, n as he, o as ge, p as M, r as N, s as _e } from "./dist-Dplp2WfI.js";
|
|
4
|
+
import { a as ve, c as ye, i as be, l as P, n as xe, o as F, r as I, s as L, t as Se } from "./floating-ui.vue-BWkka9Fn.js";
|
|
5
|
+
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.13-beta.9_@volverjs+style@0.1.24-beta.3_@vueuse+core@14.3.0_vue@3._b9ef174e3f050b2d4a9af91f3bdfd9e5/node_modules/@volverjs/ui-vue/dist/components/VvTextarea/VvTextarea.es.js
|
|
6
|
+
var R = {
|
|
7
|
+
showPassword: "eye-on",
|
|
8
|
+
hidePassword: "eye-off",
|
|
9
|
+
showDatePicker: "calendar",
|
|
10
|
+
showTimePicker: "time",
|
|
11
|
+
showColorPicker: "color",
|
|
12
|
+
clear: "close",
|
|
13
|
+
add: "add",
|
|
14
|
+
remove: "trash",
|
|
15
|
+
edit: "edit",
|
|
16
|
+
download: "download"
|
|
17
|
+
}, Ce = { prefix: (/* @__PURE__ */ (function(e) {
|
|
18
|
+
return e.simple = "simple", e.normal = "normal", e.detailed = "detailed", e;
|
|
19
|
+
})({})).normal }, z = /* @__PURE__ */ (function(e) {
|
|
20
|
+
return e.local = "local", e.session = "session", e;
|
|
21
|
+
})({}), we = /* @__PURE__ */ (function(e) {
|
|
22
|
+
return e.absolute = "absolute", e.fixed = "fixed", e;
|
|
23
|
+
})({}), B = /* @__PURE__ */ (function(e) {
|
|
24
|
+
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
25
|
+
})({}), V = /* @__PURE__ */ (function(e) {
|
|
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
|
+
})({}), H = /* @__PURE__ */ (function(e) {
|
|
28
|
+
return e.before = "before", e.after = "after", e;
|
|
29
|
+
})({}), U = /* @__PURE__ */ (function(e) {
|
|
30
|
+
return e.button = "button", e.submit = "submit", e.reset = "reset", e;
|
|
31
|
+
})({}), W = /* @__PURE__ */ (function(e) {
|
|
32
|
+
return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
|
|
33
|
+
})({}), G = /* @__PURE__ */ (function(e) {
|
|
34
|
+
return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
|
|
35
|
+
})({}), K = /* @__PURE__ */ (function(e) {
|
|
36
|
+
return e.listbox = "listbox", e.menu = "menu", e;
|
|
37
|
+
})({}), q = /* @__PURE__ */ (function(e) {
|
|
38
|
+
return e.option = "option", e.presentation = "presentation", e;
|
|
39
|
+
})({}), Te = /* @__PURE__ */ Symbol.for("volver"), Ee = /* @__PURE__ */ Symbol.for("dropdownTrigger"), De = /* @__PURE__ */ Symbol.for("dropdownItem"), J = /* @__PURE__ */ Symbol.for("dropdownAction"), Oe = {
|
|
40
|
+
to: { type: [String, Object] },
|
|
41
|
+
href: String,
|
|
42
|
+
target: String,
|
|
43
|
+
rel: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: "noopener noreferrer"
|
|
46
|
+
}
|
|
47
|
+
}, Y = {
|
|
48
|
+
valid: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: !1
|
|
51
|
+
},
|
|
52
|
+
validLabel: {
|
|
53
|
+
type: [String, Array],
|
|
54
|
+
default: void 0
|
|
55
|
+
}
|
|
56
|
+
}, X = {
|
|
57
|
+
invalid: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
},
|
|
61
|
+
invalidLabel: {
|
|
62
|
+
type: [String, Array],
|
|
63
|
+
default: void 0
|
|
64
|
+
}
|
|
65
|
+
}, Z = {
|
|
66
|
+
loading: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: !1
|
|
69
|
+
},
|
|
70
|
+
loadingLabel: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: "Loading..."
|
|
73
|
+
}
|
|
74
|
+
}, Q = { disabled: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: !1
|
|
77
|
+
} }, ke = { required: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: !1
|
|
80
|
+
} }, Ae = { selected: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
} }, je = { active: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: !1
|
|
86
|
+
} }, Me = { current: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: !1
|
|
89
|
+
} };
|
|
90
|
+
R.clear;
|
|
91
|
+
var Ne = { pressed: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
default: !1
|
|
94
|
+
} }, $ = { label: {
|
|
95
|
+
type: [String, Number],
|
|
96
|
+
default: void 0
|
|
97
|
+
} }, Pe = { readonly: {
|
|
98
|
+
type: Boolean,
|
|
99
|
+
default: !1
|
|
100
|
+
} }, Fe = { modifiers: {
|
|
101
|
+
type: [String, Array],
|
|
102
|
+
default: void 0
|
|
103
|
+
} }, Ie = { hintLabel: {
|
|
104
|
+
type: String,
|
|
105
|
+
default: ""
|
|
106
|
+
} }, Le = {
|
|
107
|
+
options: {
|
|
108
|
+
type: Array,
|
|
109
|
+
default: () => []
|
|
110
|
+
},
|
|
111
|
+
labelKey: {
|
|
112
|
+
type: [String, Function],
|
|
113
|
+
default: "label"
|
|
114
|
+
},
|
|
115
|
+
valueKey: {
|
|
116
|
+
type: [String, Function],
|
|
117
|
+
default: "value"
|
|
118
|
+
},
|
|
119
|
+
disabledKey: {
|
|
120
|
+
type: [String, Function],
|
|
121
|
+
default: "disabled"
|
|
122
|
+
}
|
|
123
|
+
}, Re = { count: {
|
|
124
|
+
type: [Boolean, String],
|
|
125
|
+
default: !1,
|
|
126
|
+
validator: (e) => [
|
|
127
|
+
!0,
|
|
128
|
+
!1,
|
|
129
|
+
"limit",
|
|
130
|
+
"countdown"
|
|
131
|
+
].includes(e)
|
|
132
|
+
} }, ze = { debounce: {
|
|
133
|
+
type: [Number, String],
|
|
134
|
+
default: void 0
|
|
135
|
+
} }, Be = {
|
|
136
|
+
icon: {
|
|
137
|
+
type: [String, Object],
|
|
138
|
+
default: void 0
|
|
139
|
+
},
|
|
140
|
+
iconPosition: {
|
|
141
|
+
type: String,
|
|
142
|
+
default: H.before,
|
|
143
|
+
validation: (e) => Object.values(H).includes(e)
|
|
144
|
+
}
|
|
145
|
+
}, Ve = { tabindex: {
|
|
146
|
+
type: [String, Number],
|
|
147
|
+
default: 0
|
|
148
|
+
} }, He = { floating: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: !1
|
|
151
|
+
} }, Ue = { unselectable: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
default: !0
|
|
154
|
+
} }, We = { id: [String, Number] }, Ge = {
|
|
155
|
+
placement: {
|
|
156
|
+
type: String,
|
|
157
|
+
default: B.bottom,
|
|
158
|
+
validator: (e) => Object.values(B).includes(e) || Object.values(V).includes(e)
|
|
159
|
+
},
|
|
160
|
+
strategy: {
|
|
161
|
+
type: String,
|
|
162
|
+
default: void 0,
|
|
163
|
+
validator: (e) => Object.values(we).includes(e)
|
|
164
|
+
},
|
|
165
|
+
transitionName: {
|
|
166
|
+
type: String,
|
|
167
|
+
default: void 0
|
|
168
|
+
},
|
|
169
|
+
offset: {
|
|
170
|
+
type: [
|
|
171
|
+
Number,
|
|
172
|
+
String,
|
|
173
|
+
Object
|
|
174
|
+
],
|
|
175
|
+
default: 0
|
|
176
|
+
},
|
|
177
|
+
shift: {
|
|
178
|
+
type: [Boolean, Object],
|
|
179
|
+
default: !1
|
|
180
|
+
},
|
|
181
|
+
flip: {
|
|
182
|
+
type: [Boolean, Object],
|
|
183
|
+
default: !0
|
|
184
|
+
},
|
|
185
|
+
size: {
|
|
186
|
+
type: [Boolean, Object],
|
|
187
|
+
default: () => ({ padding: 10 })
|
|
188
|
+
},
|
|
189
|
+
autoPlacement: {
|
|
190
|
+
type: [Boolean, Object],
|
|
191
|
+
default: !1
|
|
192
|
+
},
|
|
193
|
+
arrow: {
|
|
194
|
+
type: Boolean,
|
|
195
|
+
default: !1
|
|
196
|
+
},
|
|
197
|
+
keepOpen: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: !1
|
|
200
|
+
},
|
|
201
|
+
autofocusFirst: {
|
|
202
|
+
type: Boolean,
|
|
203
|
+
default: !0
|
|
204
|
+
},
|
|
205
|
+
triggerWidth: {
|
|
206
|
+
type: Boolean,
|
|
207
|
+
default: !1
|
|
208
|
+
}
|
|
209
|
+
}, Ke = {
|
|
210
|
+
...We,
|
|
211
|
+
name: {
|
|
212
|
+
type: String,
|
|
213
|
+
required: !0
|
|
214
|
+
}
|
|
215
|
+
}, qe = { autofocus: {
|
|
216
|
+
type: Boolean,
|
|
217
|
+
default: !1
|
|
218
|
+
} }, Je = { autocomplete: {
|
|
219
|
+
type: String,
|
|
220
|
+
default: "off"
|
|
221
|
+
} }, Ye = {
|
|
222
|
+
...Ke,
|
|
223
|
+
...qe,
|
|
224
|
+
...Je,
|
|
225
|
+
...Ve,
|
|
226
|
+
...Q,
|
|
227
|
+
...Pe,
|
|
228
|
+
...Y,
|
|
229
|
+
...X,
|
|
230
|
+
...Ie,
|
|
231
|
+
...Z,
|
|
232
|
+
...Fe,
|
|
233
|
+
...Re,
|
|
234
|
+
...ze,
|
|
235
|
+
...Be,
|
|
236
|
+
...He,
|
|
237
|
+
...$,
|
|
238
|
+
minlength: {
|
|
239
|
+
type: [String, Number],
|
|
240
|
+
default: void 0
|
|
241
|
+
},
|
|
242
|
+
maxlength: {
|
|
243
|
+
type: [String, Number],
|
|
244
|
+
default: void 0
|
|
245
|
+
},
|
|
246
|
+
placeholder: {
|
|
247
|
+
type: String,
|
|
248
|
+
default: void 0
|
|
249
|
+
},
|
|
250
|
+
...ke
|
|
251
|
+
};
|
|
252
|
+
({
|
|
253
|
+
...Ke,
|
|
254
|
+
...Ve,
|
|
255
|
+
...Y,
|
|
256
|
+
...X,
|
|
257
|
+
...Ie,
|
|
258
|
+
...Q,
|
|
259
|
+
...Pe,
|
|
260
|
+
...Fe,
|
|
261
|
+
...$,
|
|
262
|
+
...Z
|
|
263
|
+
}), {
|
|
264
|
+
...Y,
|
|
265
|
+
...X,
|
|
266
|
+
...Le,
|
|
267
|
+
...Ie,
|
|
268
|
+
...Q,
|
|
269
|
+
...Pe,
|
|
270
|
+
...Fe,
|
|
271
|
+
...$,
|
|
272
|
+
...Z,
|
|
273
|
+
...ke
|
|
274
|
+
}, {
|
|
275
|
+
...Q,
|
|
276
|
+
...$,
|
|
277
|
+
...Ne,
|
|
278
|
+
...je,
|
|
279
|
+
...Me,
|
|
280
|
+
...Oe
|
|
281
|
+
}, U.button, W.button;
|
|
282
|
+
var Xe = {
|
|
283
|
+
storageType: {
|
|
284
|
+
type: String,
|
|
285
|
+
default: z.local,
|
|
286
|
+
validator: (e) => Object.values(z).includes(e)
|
|
287
|
+
},
|
|
288
|
+
storageKey: String
|
|
289
|
+
}, Ze = {
|
|
290
|
+
hard: "hard",
|
|
291
|
+
soft: "soft"
|
|
292
|
+
}, Qe = {
|
|
293
|
+
true: !0,
|
|
294
|
+
false: !1,
|
|
295
|
+
default: "default"
|
|
296
|
+
}, $e = [
|
|
297
|
+
"update:modelValue",
|
|
298
|
+
"focus",
|
|
299
|
+
"blur",
|
|
300
|
+
"keyup",
|
|
301
|
+
"suggestion:selected",
|
|
302
|
+
"suggestion:removed"
|
|
303
|
+
], et = {
|
|
304
|
+
...Ye,
|
|
305
|
+
...Xe,
|
|
306
|
+
modelValue: String,
|
|
307
|
+
cols: {
|
|
308
|
+
type: [String, Number],
|
|
309
|
+
default: 20
|
|
310
|
+
},
|
|
311
|
+
rows: {
|
|
312
|
+
type: [String, Number],
|
|
313
|
+
default: 2
|
|
314
|
+
},
|
|
315
|
+
wrap: {
|
|
316
|
+
type: String,
|
|
317
|
+
default: Ze.soft
|
|
318
|
+
},
|
|
319
|
+
spellcheck: {
|
|
320
|
+
type: [Boolean, String],
|
|
321
|
+
default: Qe.default
|
|
322
|
+
},
|
|
323
|
+
iconRemoveSuggestion: {
|
|
324
|
+
type: [String, Object],
|
|
325
|
+
default: R.remove
|
|
326
|
+
},
|
|
327
|
+
labelRemoveSuggestion: {
|
|
328
|
+
type: String,
|
|
329
|
+
default: "Remove suggestion"
|
|
330
|
+
},
|
|
331
|
+
maxSuggestions: {
|
|
332
|
+
type: Number,
|
|
333
|
+
default: 5
|
|
334
|
+
},
|
|
335
|
+
selectOnFocus: {
|
|
336
|
+
type: Boolean,
|
|
337
|
+
default: !1
|
|
338
|
+
},
|
|
339
|
+
resizable: Boolean
|
|
340
|
+
};
|
|
341
|
+
function tt(e) {
|
|
342
|
+
return ((e) => e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0)(_(e));
|
|
343
|
+
}
|
|
344
|
+
function nt(e) {
|
|
345
|
+
return typeof e == "string";
|
|
346
|
+
}
|
|
347
|
+
function rt(e) {
|
|
348
|
+
return Array.isArray(e) ? e.filter((e) => nt(e)).join(" ") : e;
|
|
349
|
+
}
|
|
350
|
+
function it(e, t) {
|
|
351
|
+
let r = h(() => v(e) ? e.value : e), i = h(() => rt(r.value.invalidLabel)), a = h(() => rt(r.value.validLabel)), o = h(() => r.value.loadingLabel), s = h(() => r.value.hintLabel), c = h(() => !!(r.value.loading && (t.loading || o.value))), l = h(() => !c.value && !!(r.value.invalid && (t.invalid || i.value))), u = h(() => !c.value && !l.value && !!(r.value.valid && (t.valid || a.value))), d = h(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = h(() => l.value || u.value || c.value || d.value);
|
|
352
|
+
return {
|
|
353
|
+
hasInvalidLabelOrSlot: l,
|
|
354
|
+
hasHintLabelOrSlot: d,
|
|
355
|
+
hasValidLabelOrSlot: u,
|
|
356
|
+
hasLoadingLabelOrSlot: c,
|
|
357
|
+
hintSlotScope: h(() => ({
|
|
358
|
+
modelValue: r.value.modelValue,
|
|
359
|
+
valid: r.value.valid,
|
|
360
|
+
invalid: r.value.invalid,
|
|
361
|
+
loading: r.value.loading
|
|
362
|
+
})),
|
|
363
|
+
HintSlot: n({
|
|
364
|
+
name: "HintSlot",
|
|
365
|
+
props: { tag: {
|
|
366
|
+
type: String,
|
|
367
|
+
default: "small"
|
|
368
|
+
} },
|
|
369
|
+
setup() {
|
|
370
|
+
return {
|
|
371
|
+
isVisible: f,
|
|
372
|
+
invalidLabel: i,
|
|
373
|
+
validLabel: a,
|
|
374
|
+
loadingLabel: o,
|
|
375
|
+
hintLabel: s,
|
|
376
|
+
hasInvalidLabelOrSlot: l,
|
|
377
|
+
hasValidLabelOrSlot: u,
|
|
378
|
+
hasLoadingLabelOrSlot: c,
|
|
379
|
+
hasHintLabelOrSlot: d
|
|
380
|
+
};
|
|
381
|
+
},
|
|
382
|
+
render() {
|
|
383
|
+
if (this.isVisible) {
|
|
384
|
+
let e;
|
|
385
|
+
return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? x(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? x(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? x(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : x(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
|
|
386
|
+
}
|
|
387
|
+
return null;
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
var at = {
|
|
393
|
+
...We,
|
|
394
|
+
...Ge,
|
|
395
|
+
...Fe,
|
|
396
|
+
modelValue: {
|
|
397
|
+
type: Boolean,
|
|
398
|
+
default: void 0
|
|
399
|
+
},
|
|
400
|
+
reference: {
|
|
401
|
+
type: Object,
|
|
402
|
+
default: null
|
|
403
|
+
},
|
|
404
|
+
role: {
|
|
405
|
+
type: String,
|
|
406
|
+
default: K.menu,
|
|
407
|
+
validator: (e) => Object.values(K).includes(e)
|
|
408
|
+
}
|
|
409
|
+
}, ot = { focusOnHover: {
|
|
410
|
+
type: Boolean,
|
|
411
|
+
default: !1
|
|
412
|
+
} }, st = {
|
|
413
|
+
...Q,
|
|
414
|
+
...Ae,
|
|
415
|
+
...Ue,
|
|
416
|
+
...Fe,
|
|
417
|
+
deselectHintLabel: { type: String },
|
|
418
|
+
selectHintLabel: { type: String },
|
|
419
|
+
selectedHintLabel: { type: String },
|
|
420
|
+
focusOnHover: {
|
|
421
|
+
type: Boolean,
|
|
422
|
+
default: !1
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
function ct(e) {
|
|
426
|
+
return h(() => String(e?.value || w()));
|
|
427
|
+
}
|
|
428
|
+
function lt({ reference: t, id: r, expanded: i, aria: a }) {
|
|
429
|
+
let o = P();
|
|
430
|
+
return {
|
|
431
|
+
bus: o,
|
|
432
|
+
component: n({
|
|
433
|
+
name: "VvDropdownTriggerProvider",
|
|
434
|
+
setup() {
|
|
435
|
+
e(Ee, {
|
|
436
|
+
reference: t,
|
|
437
|
+
id: r,
|
|
438
|
+
expanded: i,
|
|
439
|
+
aria: a,
|
|
440
|
+
bus: o
|
|
441
|
+
});
|
|
442
|
+
},
|
|
443
|
+
render() {
|
|
444
|
+
return x(ae, {}, this.$slots.default?.());
|
|
445
|
+
}
|
|
446
|
+
})
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
function ut({ role: t, ...n }) {
|
|
450
|
+
let r = h(() => t.value === K.listbox ? q.option : q.presentation);
|
|
451
|
+
return e(De, {
|
|
452
|
+
role: r,
|
|
453
|
+
...n
|
|
454
|
+
}), { itemRole: r };
|
|
455
|
+
}
|
|
456
|
+
function dt({ expanded: t }) {
|
|
457
|
+
e(J, {
|
|
458
|
+
role: C(G.menuitem),
|
|
459
|
+
expanded: t
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
function ft(e, t, n) {
|
|
463
|
+
return h(() => {
|
|
464
|
+
let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
|
|
465
|
+
return i && Array.isArray(i) && i.forEach((t) => {
|
|
466
|
+
t && (r[`${e}--${t}`] = !0);
|
|
467
|
+
}), n && Object.keys(n.value).forEach((t) => {
|
|
468
|
+
r[`${e}--${t}`] = _(n.value[t]);
|
|
469
|
+
}), r;
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
var pt = [
|
|
473
|
+
"id",
|
|
474
|
+
"tabindex",
|
|
475
|
+
"role",
|
|
476
|
+
"aria-labelledby"
|
|
477
|
+
], mt = /* @__PURE__ */ n({
|
|
478
|
+
name: "VvDropdown",
|
|
479
|
+
inheritAttrs: !1,
|
|
480
|
+
props: at,
|
|
481
|
+
emits: [
|
|
482
|
+
"update:modelValue",
|
|
483
|
+
"beforeEnter",
|
|
484
|
+
"afterLeave",
|
|
485
|
+
"beforeExpand",
|
|
486
|
+
"beforeCollapse",
|
|
487
|
+
"afterExpand",
|
|
488
|
+
"afterCollapse",
|
|
489
|
+
"before-enter",
|
|
490
|
+
"after-leave",
|
|
491
|
+
"enter",
|
|
492
|
+
"afterEnter",
|
|
493
|
+
"enterCancelled",
|
|
494
|
+
"beforeLeave",
|
|
495
|
+
"leave",
|
|
496
|
+
"leaveCancelled"
|
|
497
|
+
],
|
|
498
|
+
setup(e, { expose: t, emit: n }) {
|
|
499
|
+
let c = e, u = n, { id: ee } = E(c), te = ct(ee), re = s(), v = C("auto"), b = C("auto"), x = C(), S = C(), w = C(), ce = C(), O = h({
|
|
500
|
+
get: () => c.reference ?? x.value,
|
|
501
|
+
set: (e) => {
|
|
502
|
+
x.value = e;
|
|
503
|
+
}
|
|
504
|
+
}), A = C(!1);
|
|
505
|
+
l(() => {
|
|
506
|
+
fe(S.value, () => {
|
|
507
|
+
A.value = window.getComputedStyle(S.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
|
|
508
|
+
}, {
|
|
509
|
+
attributeFilter: ["style"],
|
|
510
|
+
window
|
|
511
|
+
});
|
|
512
|
+
});
|
|
513
|
+
let ue = h(() => {
|
|
514
|
+
let e = [];
|
|
515
|
+
if (c.autoPlacement ? typeof c.autoPlacement == "boolean" ? e.push(I()) : e.push(I(c.autoPlacement)) : c.flip && (typeof c.flip == "boolean" ? e.push(ve({ fallbackStrategy: "initialPlacement" })) : e.push(ve(c.flip))), c.shift && (typeof c.shift == "boolean" ? e.push(L()) : e.push(L(c.shift))), c.size) {
|
|
516
|
+
let t = ({ availableWidth: e, availableHeight: t }) => {
|
|
517
|
+
v.value = `${e}px`, b.value = `${t}px`;
|
|
518
|
+
};
|
|
519
|
+
typeof c.size == "boolean" ? e.push(ye({ apply: t })) : e.push(ye({
|
|
520
|
+
...c.size,
|
|
521
|
+
apply: t
|
|
522
|
+
}));
|
|
523
|
+
}
|
|
524
|
+
return c.offset && (e.push(F(Number(c.offset))), ["string", "number"].includes(typeof c.offset) ? e.push(F(Number(c.offset))) : e.push(F(c.offset))), c.arrow && e.push(Se({ element: w })), e;
|
|
525
|
+
}), { x: de, y: j, middlewareData: M, placement: _e, strategy: P } = xe(O, S, {
|
|
526
|
+
whileElementsMounted: (...e) => be(...e, { animationFrame: c.strategy === we.fixed }),
|
|
527
|
+
placement: h(() => c.placement),
|
|
528
|
+
strategy: h(() => c.strategy),
|
|
529
|
+
middleware: ue
|
|
530
|
+
}), R = h(() => {
|
|
531
|
+
if (A.value) return;
|
|
532
|
+
let e = c.triggerWidth && O.value ? `${O.value?.offsetWidth}px` : void 0;
|
|
533
|
+
return {
|
|
534
|
+
position: P.value,
|
|
535
|
+
top: `${j.value ?? 0}px`,
|
|
536
|
+
left: `${de.value ?? 0}px`,
|
|
537
|
+
maxWidth: e ? void 0 : v.value,
|
|
538
|
+
maxHeight: b.value,
|
|
539
|
+
width: e
|
|
540
|
+
};
|
|
541
|
+
}), Ce = h(() => _e.value.split("-")[0]), z = h(() => {
|
|
542
|
+
if (A.value) return;
|
|
543
|
+
let e = {
|
|
544
|
+
[B.top]: B.bottom,
|
|
545
|
+
[B.right]: B.left,
|
|
546
|
+
[B.bottom]: B.top,
|
|
547
|
+
[B.left]: B.right
|
|
548
|
+
}[Ce.value];
|
|
549
|
+
return {
|
|
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
|
+
[e]: `${-(w.value?.offsetWidth ?? 0) / 2}px`
|
|
553
|
+
};
|
|
554
|
+
}), V = me(c, "modelValue", u), H = C(!1), U = h({
|
|
555
|
+
get: () => V.value ?? H.value,
|
|
556
|
+
set: (e) => {
|
|
557
|
+
if (V.value === void 0) {
|
|
558
|
+
H.value = e;
|
|
559
|
+
return;
|
|
560
|
+
}
|
|
561
|
+
V.value = e;
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
function W() {
|
|
565
|
+
U.value = !0;
|
|
566
|
+
}
|
|
567
|
+
function G() {
|
|
568
|
+
U.value = !1;
|
|
569
|
+
}
|
|
570
|
+
function K() {
|
|
571
|
+
U.value = !U.value;
|
|
572
|
+
}
|
|
573
|
+
function q(e) {
|
|
574
|
+
O.value = e;
|
|
575
|
+
}
|
|
576
|
+
he(S, () => {
|
|
577
|
+
!c.keepOpen && U.value && (U.value = !1);
|
|
578
|
+
}, { ignore: [O] });
|
|
579
|
+
let Te = h(() => O.value?.getAttribute?.("id") ?? void 0), Ee = h(() => ({
|
|
580
|
+
"aria-controls": te.value,
|
|
581
|
+
"aria-haspopup": !0,
|
|
582
|
+
"aria-expanded": U.value
|
|
583
|
+
})), { component: De, bus: J } = lt({
|
|
584
|
+
reference: O,
|
|
585
|
+
id: te,
|
|
586
|
+
expanded: U,
|
|
587
|
+
aria: Ee
|
|
588
|
+
});
|
|
589
|
+
J.on("click", K);
|
|
590
|
+
let { role: Oe, modifiers: Y } = E(c), X = ft("vv-dropdown", Y, h(() => ({ arrow: c.arrow }))), { focused: Z } = pe(S);
|
|
591
|
+
function Q(e) {
|
|
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
|
+
}
|
|
594
|
+
function ke() {
|
|
595
|
+
r(() => {
|
|
596
|
+
let e = Q(S.value);
|
|
597
|
+
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
function Ae() {
|
|
601
|
+
r(() => {
|
|
602
|
+
let e = Q(ce.value);
|
|
603
|
+
e.length > 0 && e[0].focus({ preventScroll: !0 });
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
function je() {
|
|
607
|
+
r(() => {
|
|
608
|
+
if (Z.value) {
|
|
609
|
+
let e = Q(S.value);
|
|
610
|
+
if (e.length === 0 || !document.activeElement) return;
|
|
611
|
+
let t = e.indexOf(document.activeElement);
|
|
612
|
+
t < e.length - 1 ? e[t + 1].focus({ preventScroll: !0 }) : e[0].focus({ preventScroll: !0 });
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
function Me() {
|
|
617
|
+
r(() => {
|
|
618
|
+
if (Z.value) {
|
|
619
|
+
let e = Q(S.value);
|
|
620
|
+
if (e.length === 0 || !document.activeElement) return;
|
|
621
|
+
let t = e.indexOf(document.activeElement);
|
|
622
|
+
if (t > 0) {
|
|
623
|
+
e[t - 1].focus({ preventScroll: !0 });
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
e.at(-1)?.focus({ preventScroll: !0 });
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
p(U, (e) => {
|
|
631
|
+
e && c.autofocusFirst && ke();
|
|
632
|
+
}), t({
|
|
633
|
+
toggle: K,
|
|
634
|
+
show: W,
|
|
635
|
+
hide: G,
|
|
636
|
+
init: q,
|
|
637
|
+
focusFirst: ke,
|
|
638
|
+
focusFirstListElement: Ae,
|
|
639
|
+
focusNext: je,
|
|
640
|
+
focusPrev: Me,
|
|
641
|
+
customPosition: A
|
|
642
|
+
});
|
|
643
|
+
let { itemRole: Ne } = ut({
|
|
644
|
+
role: Oe,
|
|
645
|
+
expanded: U,
|
|
646
|
+
focused: Z,
|
|
647
|
+
hovered: ge(S)
|
|
648
|
+
});
|
|
649
|
+
N("Escape", (e) => {
|
|
650
|
+
U.value && (e.preventDefault(), G());
|
|
651
|
+
}), N("ArrowDown", (e) => {
|
|
652
|
+
U.value && Z.value && (e.preventDefault(), je());
|
|
653
|
+
}), N("ArrowUp", (e) => {
|
|
654
|
+
U.value && Z.value && (e.preventDefault(), Me());
|
|
655
|
+
}), N([" ", "Enter"], (e) => {
|
|
656
|
+
let t = e.target;
|
|
657
|
+
U.value && Z.value && t && t?.click();
|
|
658
|
+
});
|
|
659
|
+
let $ = {
|
|
660
|
+
"before-enter": () => {
|
|
661
|
+
u(U.value ? "beforeExpand" : "beforeCollapse"), u("beforeEnter");
|
|
662
|
+
},
|
|
663
|
+
"after-leave": () => {
|
|
664
|
+
u(U.value ? "afterExpand" : "afterCollapse"), u("afterLeave");
|
|
665
|
+
},
|
|
666
|
+
enter: () => {
|
|
667
|
+
u("enter");
|
|
668
|
+
},
|
|
669
|
+
"after-enter": () => {
|
|
670
|
+
u("afterEnter");
|
|
671
|
+
},
|
|
672
|
+
"enter-cancelled": () => {
|
|
673
|
+
u("enterCancelled");
|
|
674
|
+
},
|
|
675
|
+
"before-leave": () => {
|
|
676
|
+
u("beforeLeave");
|
|
677
|
+
},
|
|
678
|
+
leave: () => {
|
|
679
|
+
u("leave");
|
|
680
|
+
},
|
|
681
|
+
"leave-cancelled": () => {
|
|
682
|
+
u("leaveCancelled");
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
return (e, t) => (k(), D(ae, null, [le(_(De), null, {
|
|
686
|
+
default: y(() => [a(e.$slots, "default", o(d({
|
|
687
|
+
init: q,
|
|
688
|
+
show: W,
|
|
689
|
+
hide: G,
|
|
690
|
+
toggle: K,
|
|
691
|
+
expanded: _(U),
|
|
692
|
+
aria: _(Ee)
|
|
693
|
+
})))]),
|
|
694
|
+
_: 3
|
|
695
|
+
}), le(oe, f({ name: e.transitionName }, i($), { persisted: "" }), {
|
|
696
|
+
default: y(() => [se(T("div", {
|
|
697
|
+
ref_key: "floatingEl",
|
|
698
|
+
ref: S,
|
|
699
|
+
style: m(_(R)),
|
|
700
|
+
class: ne(_(X))
|
|
701
|
+
}, [
|
|
702
|
+
c.arrow ? (k(), D("div", {
|
|
703
|
+
key: 0,
|
|
704
|
+
ref_key: "arrowEl",
|
|
705
|
+
ref: w,
|
|
706
|
+
style: m(_(z)),
|
|
707
|
+
class: "vv-dropdown__arrow"
|
|
708
|
+
}, null, 4)) : g("v-if", !0),
|
|
709
|
+
a(e.$slots, "before", o(d({
|
|
710
|
+
show: W,
|
|
711
|
+
hide: G,
|
|
712
|
+
toggle: K,
|
|
713
|
+
expanded: _(U)
|
|
714
|
+
}))),
|
|
715
|
+
T("div", f(_(re), {
|
|
716
|
+
id: _(te),
|
|
717
|
+
ref_key: "listEl",
|
|
718
|
+
ref: ce,
|
|
719
|
+
tabindex: _(U) ? void 0 : -1,
|
|
720
|
+
role: _(Oe),
|
|
721
|
+
"aria-labelledby": _(Te),
|
|
722
|
+
class: "vv-dropdown__list"
|
|
723
|
+
}), [a(e.$slots, "items", o(d({
|
|
724
|
+
show: W,
|
|
725
|
+
hide: G,
|
|
726
|
+
toggle: K,
|
|
727
|
+
expanded: _(U),
|
|
728
|
+
role: _(Ne)
|
|
729
|
+
})))], 16, pt),
|
|
730
|
+
a(e.$slots, "after", o(d({
|
|
731
|
+
show: W,
|
|
732
|
+
hide: G,
|
|
733
|
+
toggle: K,
|
|
734
|
+
expanded: _(U)
|
|
735
|
+
})))
|
|
736
|
+
], 6), [[ie, _(U)]])]),
|
|
737
|
+
_: 3
|
|
738
|
+
}, 16, ["name"])], 64));
|
|
739
|
+
}
|
|
740
|
+
});
|
|
741
|
+
function ht() {
|
|
742
|
+
return b(De, {});
|
|
743
|
+
}
|
|
744
|
+
var gt = /* @__PURE__ */ n({
|
|
745
|
+
name: "VvDropdownItem",
|
|
746
|
+
props: ot,
|
|
747
|
+
setup(e) {
|
|
748
|
+
let t = e, { role: n, expanded: r } = ht(), i = C(null);
|
|
749
|
+
dt({ expanded: r });
|
|
750
|
+
let o = ge(i), { focused: s } = j(i), { focused: c } = pe(i);
|
|
751
|
+
return p(o, (e) => {
|
|
752
|
+
e && t.focusOnHover && (s.value = !0);
|
|
753
|
+
}), (e, t) => (k(), D("div", f({ role: _(n) }, {
|
|
754
|
+
ref_key: "element",
|
|
755
|
+
ref: i,
|
|
756
|
+
class: ["vv-dropdown__item", { "focus-visible": _(s) || _(c) }]
|
|
757
|
+
}), [a(e.$slots, "default")], 16));
|
|
758
|
+
}
|
|
759
|
+
}), _t = ["title"], vt = /* @__PURE__ */ n({
|
|
760
|
+
name: "VvDropdownOption",
|
|
761
|
+
props: st,
|
|
762
|
+
setup(e) {
|
|
763
|
+
let n = e, { modifiers: r } = E(n), i = ft("vv-dropdown-option", r, h(() => ({
|
|
764
|
+
disabled: n.disabled,
|
|
765
|
+
selected: n.selected,
|
|
766
|
+
unselectable: n.unselectable && n.selected
|
|
767
|
+
}))), s = h(() => n.selected ? n.unselectable ? n.deselectHintLabel : n.selectedHintLabel : n.disabled ? "" : n.selectHintLabel);
|
|
768
|
+
return (e, n) => (k(), O(gt, {
|
|
769
|
+
class: ne(_(i)),
|
|
770
|
+
tabindex: e.disabled ? -1 : 0,
|
|
771
|
+
"aria-selected": e.selected,
|
|
772
|
+
"aria-disabled": e.disabled,
|
|
773
|
+
"focus-on-hover": e.focusOnHover
|
|
774
|
+
}, {
|
|
775
|
+
default: y(() => [a(e.$slots, "default"), T("span", {
|
|
776
|
+
class: "vv-dropdown-option__hint",
|
|
777
|
+
title: _(s)
|
|
778
|
+
}, [a(e.$slots, "hint", o(d({
|
|
779
|
+
disabled: e.disabled,
|
|
780
|
+
selected: e.selected,
|
|
781
|
+
unselectable: e.unselectable
|
|
782
|
+
})), () => [t(c(_(s)), 1)])], 8, _t)]),
|
|
783
|
+
_: 3
|
|
784
|
+
}, 8, [
|
|
785
|
+
"class",
|
|
786
|
+
"tabindex",
|
|
787
|
+
"aria-selected",
|
|
788
|
+
"aria-disabled",
|
|
789
|
+
"focus-on-hover"
|
|
790
|
+
]));
|
|
791
|
+
}
|
|
792
|
+
});
|
|
793
|
+
function yt() {
|
|
794
|
+
return b(Te, void 0);
|
|
795
|
+
}
|
|
796
|
+
var bt = /* @__PURE__ */ n({
|
|
797
|
+
name: "VvIcon",
|
|
798
|
+
props: /* @__PURE__ */ u({
|
|
799
|
+
name: {},
|
|
800
|
+
color: {},
|
|
801
|
+
width: {},
|
|
802
|
+
height: {},
|
|
803
|
+
provider: {},
|
|
804
|
+
prefix: {},
|
|
805
|
+
src: {},
|
|
806
|
+
horizontalFlip: { type: Boolean },
|
|
807
|
+
verticalFlip: { type: Boolean },
|
|
808
|
+
flip: {},
|
|
809
|
+
mode: {},
|
|
810
|
+
inline: { type: Boolean },
|
|
811
|
+
rotate: {},
|
|
812
|
+
onLoad: { type: Function },
|
|
813
|
+
svg: {},
|
|
814
|
+
modifiers: {}
|
|
815
|
+
}, Ce),
|
|
816
|
+
setup(e) {
|
|
817
|
+
let t = e, n = h(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = C(!0), i = yt(), { modifiers: a } = E(t), o = ft("vv-icon", a), s = h(() => t.provider || i?.iconsProvider), c = h(() => {
|
|
818
|
+
let e = t.name ?? "", n = `@${s.value}:${t.prefix}:${e}`;
|
|
819
|
+
if (A(n)) return n;
|
|
820
|
+
let r = i?.iconsCollections.find((t) => A(`@${s.value}:${t.prefix}:${e}`));
|
|
821
|
+
return r ? `@${s.value}:${r.prefix}:${e}` : e;
|
|
822
|
+
});
|
|
823
|
+
function l(e) {
|
|
824
|
+
let t = typeof window < "u" ? new window.DOMParser() : null;
|
|
825
|
+
return t ? t.parseFromString(e, "text/html").querySelector("svg") : null;
|
|
826
|
+
}
|
|
827
|
+
function u(e) {
|
|
828
|
+
let n = l(e), r = n?.innerHTML.trim() || "";
|
|
829
|
+
n && r && ue(`@${s.value}:${t.prefix}:${t.name}`, {
|
|
830
|
+
body: r,
|
|
831
|
+
height: n.viewBox.baseVal.height,
|
|
832
|
+
width: n.viewBox.baseVal.width
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
return i && t.src && !A(`@${s.value}:${t.prefix}:${t.name}`) && (r.value = !1, i.fetchIcon(t.src).then((e) => {
|
|
836
|
+
e && u(e), r.value = !0;
|
|
837
|
+
}).catch((e) => {
|
|
838
|
+
throw r.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
|
|
839
|
+
})), t.svg && u(t.svg), (t, i) => _(r) ? (k(), O(_(de), f({
|
|
840
|
+
key: 0,
|
|
841
|
+
class: _(o)
|
|
842
|
+
}, {
|
|
843
|
+
inline: e.inline,
|
|
844
|
+
width: e.width,
|
|
845
|
+
height: e.height,
|
|
846
|
+
horizontalFlip: e.horizontalFlip,
|
|
847
|
+
verticalFlip: e.verticalFlip,
|
|
848
|
+
flip: e.flip,
|
|
849
|
+
rotate: _(n),
|
|
850
|
+
color: e.color,
|
|
851
|
+
icon: _(c)
|
|
852
|
+
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : g("v-if", !0);
|
|
853
|
+
}
|
|
854
|
+
});
|
|
855
|
+
function xt(e, t, n) {
|
|
856
|
+
let r = yt(), i = h(() => {
|
|
857
|
+
if (!(!r || !r.defaults.value?.[e])) return r.defaults.value[e];
|
|
858
|
+
});
|
|
859
|
+
return h(() => {
|
|
860
|
+
if (i.value === void 0) return n;
|
|
861
|
+
let e = i.value, r = t, a = n;
|
|
862
|
+
return Object.keys(r).reduce((t, n) => {
|
|
863
|
+
let i = a[n];
|
|
864
|
+
if (t[n] = i, n in e) {
|
|
865
|
+
if (Array.isArray(r[n])) {
|
|
866
|
+
let a = r[n];
|
|
867
|
+
a.length && a[0] === i && (t[n] = e[n]);
|
|
868
|
+
}
|
|
869
|
+
if (typeof r[n] == "function") {
|
|
870
|
+
let a = r[n];
|
|
871
|
+
a() === i && (t[n] = e[n]);
|
|
872
|
+
}
|
|
873
|
+
if (typeof r[n] == "object") {
|
|
874
|
+
let a = r[n].default;
|
|
875
|
+
typeof a == "function" && (a = a()), typeof a == "object" ? JSON.stringify(a) === JSON.stringify(i) && (t[n] = e[n]) : a === i && (t[n] = e[n]);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
return t;
|
|
879
|
+
}, {});
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
function St(e, t, n = 0, { getter: r = (e) => e, setter: i = (e) => e } = {}) {
|
|
883
|
+
let a;
|
|
884
|
+
return typeof n == "string" && (n = Number.parseInt(n)), h({
|
|
885
|
+
get: () => r(e?.value),
|
|
886
|
+
set: (e) => {
|
|
887
|
+
a && clearTimeout(a), a = setTimeout(() => {
|
|
888
|
+
t("update:modelValue", i(e));
|
|
889
|
+
}, n);
|
|
890
|
+
}
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
function Ct(e, t) {
|
|
894
|
+
let n = h(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = h(() => t?.value === H.before ? n.value : void 0), i = h(() => t?.value === H.after ? n.value : void 0);
|
|
895
|
+
return {
|
|
896
|
+
hasIcon: n,
|
|
897
|
+
hasIconLeft: h(() => t?.value === B.left ? n.value : void 0),
|
|
898
|
+
hasIconRight: h(() => t?.value === B.right ? n.value : void 0),
|
|
899
|
+
hasIconTop: h(() => t?.value === B.top ? n.value : void 0),
|
|
900
|
+
hasIconBottom: h(() => t?.value === B.bottom ? n.value : void 0),
|
|
901
|
+
hasIconBefore: r,
|
|
902
|
+
hasIconAfter: i
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
function wt(e, t) {
|
|
906
|
+
let { focused: n } = j(e);
|
|
907
|
+
return p(n, (n) => {
|
|
908
|
+
t(n ? "focus" : "blur", _(e));
|
|
909
|
+
}), { focused: n };
|
|
910
|
+
}
|
|
911
|
+
function Tt(e, t) {
|
|
912
|
+
let n = h(() => (_(e) ?? "").length), r = h(() => t?.lowerLimit !== void 0 && n.value < t?.lowerLimit ? n.value - t.lowerLimit : t?.upperLimit !== void 0 && n.value < t?.upperLimit ? t.upperLimit - n.value : 0);
|
|
913
|
+
return {
|
|
914
|
+
length: n,
|
|
915
|
+
gap: r,
|
|
916
|
+
formatted: h(() => 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
|
+
};
|
|
918
|
+
}
|
|
919
|
+
function Et(e, t = z.local, n) {
|
|
920
|
+
let r = C();
|
|
921
|
+
n && (r.value = n);
|
|
922
|
+
let i;
|
|
923
|
+
return l(() => {
|
|
924
|
+
e && p(e, (e, n) => {
|
|
925
|
+
let a = _(t) === z.session ? sessionStorage : localStorage;
|
|
926
|
+
if (n && n !== e && a.removeItem(n), e) {
|
|
927
|
+
i = M(e, i?.value ?? r.value, a), i.value && (r.value = i.value);
|
|
928
|
+
return;
|
|
929
|
+
}
|
|
930
|
+
i = void 0;
|
|
931
|
+
}, { immediate: !0 }), v(t) && p(t, (t, n) => {
|
|
932
|
+
if (e?.value) {
|
|
933
|
+
if (t) {
|
|
934
|
+
let n = t === z.session ? sessionStorage : localStorage;
|
|
935
|
+
i = M(e.value, i?.value ?? r.value, n);
|
|
936
|
+
}
|
|
937
|
+
n && n !== t && (n === z.session ? sessionStorage : localStorage).removeItem(e.value);
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
}), p(r, (e) => {
|
|
941
|
+
i && (i.value = e);
|
|
942
|
+
}, {
|
|
943
|
+
deep: !0,
|
|
944
|
+
immediate: !0
|
|
945
|
+
}), r;
|
|
946
|
+
}
|
|
947
|
+
var Dt = ["for"], Ot = {
|
|
948
|
+
key: 0,
|
|
949
|
+
class: "vv-textarea__input-before"
|
|
950
|
+
}, kt = { class: "vv-textarea__inner" }, At = ["id"], jt = {
|
|
951
|
+
key: 1,
|
|
952
|
+
class: "vv-textarea__input-after"
|
|
953
|
+
}, Mt = {
|
|
954
|
+
key: 2,
|
|
955
|
+
class: "vv-textarea__limit"
|
|
956
|
+
}, Nt = { class: "flex-1" }, Pt = ["title", "onClick"], Ft = /* @__PURE__ */ n({
|
|
957
|
+
name: "VvTextarea",
|
|
958
|
+
props: et,
|
|
959
|
+
emits: $e,
|
|
960
|
+
setup(e, { emit: n }) {
|
|
961
|
+
let r = e, i = n, s = re(), l = yt(), u = xt("VvTextarea", et, r), m = C(), ie = C(), b = C(), { id: x, icon: oe, iconPosition: w, iconRemoveSuggestion: A, labelRemoveSuggestion: ue, label: de, modelValue: j, count: fe, valid: pe, invalid: me, loading: he, modifiers: ge, debounce: M, minlength: N, maxlength: ve, storageType: ye } = E(r), be = ct(x), P = h(() => `${be.value}-hint`), xe = h(() => r.floating && tt(r.placeholder) ? " " : r.placeholder), F = St(j, i, M?.value), { hasIconBefore: I, hasIconAfter: L } = Ct(oe, w), { hasIcon: Se } = Ct(A), { focused: R } = wt(m, i);
|
|
962
|
+
p(h(() => R.value && !r.disabled && !r.readonly), (e) => {
|
|
963
|
+
if (e && u.value.selectOnFocus && m.value && m.value.select(), e && U.value?.size) {
|
|
964
|
+
b.value?.show();
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
if (B.value && U.value) {
|
|
968
|
+
let e = r.maxSuggestions;
|
|
969
|
+
U.value.size >= e && !U.value.has(F.value) && (U.value = new Set([...U.value].slice(U.value.size - e + 1))), U.value.add(F.value);
|
|
970
|
+
}
|
|
971
|
+
}), p(_e(m), (e) => {
|
|
972
|
+
e && r.autofocus && (R.value = !0);
|
|
973
|
+
});
|
|
974
|
+
let { formatted: Ce } = Tt(F, {
|
|
975
|
+
mode: fe?.value,
|
|
976
|
+
upperLimit: Number(ve?.value),
|
|
977
|
+
lowerLimit: Number(N?.value)
|
|
978
|
+
}), z = h(() => !r.disabled && !r.readonly), we = h(() => z.value ? r.tabindex : -1), B = h(() => !tt(j)), V = h(() => {
|
|
979
|
+
if (r.invalid === !0) return !0;
|
|
980
|
+
if (r.valid === !0) return !1;
|
|
981
|
+
}), H = h(() => r.storageKey ?? (l?.experimentalFeatures.forceInputSuggestions ? r.name : void 0)), U = Et(H, ye, /* @__PURE__ */ new Set()), W = h(() => U.value ? [...U.value].filter((e) => tt(F.value) || `${e}`.toLowerCase().includes(`${F.value}`.toLowerCase()) && e !== F.value).reverse() : []), G = h(() => H?.value && U.value && U.value.size > 0);
|
|
982
|
+
function K(e) {
|
|
983
|
+
F.value = e, b.value?.hide(), i("suggestion:selected", e);
|
|
984
|
+
}
|
|
985
|
+
function q(e) {
|
|
986
|
+
U.value?.delete(e), i("suggestion:removed", e);
|
|
987
|
+
}
|
|
988
|
+
let { HintSlot: Te, hasHintLabelOrSlot: Ee, hasInvalidLabelOrSlot: De, hintSlotScope: J } = it(u, s), Oe = ft("vv-textarea", ge, h(() => ({
|
|
989
|
+
valid: pe.value,
|
|
990
|
+
invalid: me.value,
|
|
991
|
+
loading: he.value,
|
|
992
|
+
disabled: r.disabled,
|
|
993
|
+
readonly: r.readonly,
|
|
994
|
+
required: r.required,
|
|
995
|
+
"icon-before": I.value !== void 0,
|
|
996
|
+
"icon-after": L.value !== void 0,
|
|
997
|
+
floating: r.floating && !tt(r.label),
|
|
998
|
+
dirty: B.value,
|
|
999
|
+
focus: R.value,
|
|
1000
|
+
resizable: r.resizable
|
|
1001
|
+
}))), Y = h(() => ({
|
|
1002
|
+
name: r.name,
|
|
1003
|
+
placeholder: xe.value,
|
|
1004
|
+
tabindex: we.value,
|
|
1005
|
+
disabled: r.disabled,
|
|
1006
|
+
readonly: r.readonly,
|
|
1007
|
+
required: r.required,
|
|
1008
|
+
autocomplete: r.autocomplete,
|
|
1009
|
+
minlength: r.minlength,
|
|
1010
|
+
maxlength: r.maxlength,
|
|
1011
|
+
cols: r.cols,
|
|
1012
|
+
rows: r.rows,
|
|
1013
|
+
wrap: r.wrap,
|
|
1014
|
+
spellcheck: r.spellcheck,
|
|
1015
|
+
"aria-invalid": V.value,
|
|
1016
|
+
"aria-describedby": Ee.value ? P.value : void 0,
|
|
1017
|
+
"aria-errormessage": De.value ? P.value : void 0
|
|
1018
|
+
})), X = h(() => ({
|
|
1019
|
+
valid: r.valid,
|
|
1020
|
+
invalid: r.invalid,
|
|
1021
|
+
modelValue: r.modelValue,
|
|
1022
|
+
hintLabel: r.hintLabel,
|
|
1023
|
+
maxlength: r.maxlength,
|
|
1024
|
+
minlength: r.minlength,
|
|
1025
|
+
clear: Z
|
|
1026
|
+
}));
|
|
1027
|
+
function Z() {
|
|
1028
|
+
F.value = void 0;
|
|
1029
|
+
}
|
|
1030
|
+
return (e, n) => (k(), D("div", { class: ne(_(Oe)) }, [
|
|
1031
|
+
_(de) ? (k(), D("label", {
|
|
1032
|
+
key: 0,
|
|
1033
|
+
for: _(be),
|
|
1034
|
+
class: "vv-textarea__label"
|
|
1035
|
+
}, c(_(de)), 9, Dt)) : g("v-if", !0),
|
|
1036
|
+
T("div", {
|
|
1037
|
+
ref_key: "wrapperEl",
|
|
1038
|
+
ref: ie,
|
|
1039
|
+
class: "vv-textarea__wrapper"
|
|
1040
|
+
}, [
|
|
1041
|
+
e.$slots.before ? (k(), D("div", Ot, [a(e.$slots, "before", o(d(_(X))))])) : g("v-if", !0),
|
|
1042
|
+
T("div", kt, [
|
|
1043
|
+
_(I) ? (k(), O(bt, f({ key: 0 }, _(I), { class: "vv-textarea__icon" }), null, 16)) : g("v-if", !0),
|
|
1044
|
+
se(T("textarea", f({
|
|
1045
|
+
id: _(be),
|
|
1046
|
+
ref_key: "textareaEl",
|
|
1047
|
+
ref: m,
|
|
1048
|
+
"onUpdate:modelValue": n[0] ||= (e) => v(F) ? F.value = e : null
|
|
1049
|
+
}, _(Y), { onKeyup: n[1] ||= (e) => i("keyup", e) }), null, 16, At), [[ce, _(F)]]),
|
|
1050
|
+
_(L) ? (k(), O(bt, f({ key: 1 }, _(L), { class: "vv-textarea__icon vv-textarea__icon-after" }), null, 16)) : g("v-if", !0)
|
|
1051
|
+
]),
|
|
1052
|
+
e.$slots.after ? (k(), D("div", jt, [a(e.$slots, "after", o(d(_(X))))])) : g("v-if", !0),
|
|
1053
|
+
_(fe) ? (k(), D("span", Mt, [a(e.$slots, "count", o(d(_(X))), () => [t(c(_(Ce)), 1)])])) : g("v-if", !0)
|
|
1054
|
+
], 512),
|
|
1055
|
+
le(_(Te), {
|
|
1056
|
+
id: _(P),
|
|
1057
|
+
class: "vv-textarea__hint"
|
|
1058
|
+
}, ee({ _: 2 }, [
|
|
1059
|
+
e.$slots.hint ? {
|
|
1060
|
+
name: "hint",
|
|
1061
|
+
fn: y(() => [a(e.$slots, "hint", o(d(_(J))))]),
|
|
1062
|
+
key: "0"
|
|
1063
|
+
} : void 0,
|
|
1064
|
+
e.$slots.loading ? {
|
|
1065
|
+
name: "loading",
|
|
1066
|
+
fn: y(() => [a(e.$slots, "loading", o(d(_(J))))]),
|
|
1067
|
+
key: "1"
|
|
1068
|
+
} : void 0,
|
|
1069
|
+
e.$slots.valid ? {
|
|
1070
|
+
name: "valid",
|
|
1071
|
+
fn: y(() => [a(e.$slots, "valid", o(d(_(J))))]),
|
|
1072
|
+
key: "2"
|
|
1073
|
+
} : void 0,
|
|
1074
|
+
e.$slots.invalid ? {
|
|
1075
|
+
name: "invalid",
|
|
1076
|
+
fn: y(() => [a(e.$slots, "invalid", o(d(_(J))))]),
|
|
1077
|
+
key: "3"
|
|
1078
|
+
} : void 0
|
|
1079
|
+
]), 1032, ["id"]),
|
|
1080
|
+
_(G) ? (k(), O(mt, {
|
|
1081
|
+
key: 1,
|
|
1082
|
+
ref_key: "suggestionsDropdownEl",
|
|
1083
|
+
ref: b,
|
|
1084
|
+
reference: _(ie),
|
|
1085
|
+
"autofocus-first": !1,
|
|
1086
|
+
"trigger-width": !0
|
|
1087
|
+
}, {
|
|
1088
|
+
items: y(() => [(k(!0), D(ae, null, te(_(W), (n) => (k(), O(vt, {
|
|
1089
|
+
key: n,
|
|
1090
|
+
onClick: S((e) => K(n), ["stop"])
|
|
1091
|
+
}, {
|
|
1092
|
+
default: y(() => [T("div", Nt, [a(e.$slots, "suggestion", f({ ref_for: !0 }, { value: n }), () => [t(c(n), 1)])]), _(U) && _(Se) ? (k(), D("button", {
|
|
1093
|
+
key: 0,
|
|
1094
|
+
type: "button",
|
|
1095
|
+
tabindex: "-1",
|
|
1096
|
+
class: "cursor-pointer",
|
|
1097
|
+
title: _(ue),
|
|
1098
|
+
onClick: S((e) => q(n), ["stop"])
|
|
1099
|
+
}, [le(bt, f({ ref_for: !0 }, _(Se)), null, 16)], 8, Pt)) : g("v-if", !0)]),
|
|
1100
|
+
_: 2
|
|
1101
|
+
}, 1032, ["onClick"]))), 128))]),
|
|
1102
|
+
_: 3
|
|
1103
|
+
}, 8, ["reference"])) : g("v-if", !0)
|
|
1104
|
+
], 2));
|
|
1105
|
+
}
|
|
1106
|
+
});
|
|
1107
|
+
//#endregion
|
|
1108
|
+
export { Ft as default };
|
|
1109
|
+
|
|
1110
|
+
//# sourceMappingURL=VvTextarea.es-CICFo2Rh.js.map
|