@8wave/ai-elements 0.121.0-beta.31 → 0.121.0-beta.32
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/dist/_chunks/{Agent-wvUJZjp3.js → Agent-BPIcUM9P.js} +145 -144
- package/dist/_chunks/Agent-BPIcUM9P.js.map +1 -0
- package/dist/_chunks/{PkChatbotFilePreview-dtGYHgFN.js → PkChatbotFilePreview-CpFXWpU7.js} +48 -35
- package/dist/_chunks/PkChatbotFilePreview-CpFXWpU7.js.map +1 -0
- package/dist/_chunks/{PkHeldImage-yQVzab3w.js → PkHeldImage-DvHKY7Vh.js} +2 -2
- package/dist/_chunks/{PkHeldImage-yQVzab3w.js.map → PkHeldImage-DvHKY7Vh.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-KPWpt_yW.js → PkLazyImg-BBFsS16D.js} +2 -2
- package/dist/_chunks/{PkLazyImg-KPWpt_yW.js.map → PkLazyImg-BBFsS16D.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-DeZn-hPo.js → PkStreamingMarkdown-C8_9bk_Y.js} +8 -8
- package/dist/_chunks/PkStreamingMarkdown-C8_9bk_Y.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js → PkToolEditSpreadsheet-DM5BCKd2.js} +3 -3
- package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js.map → PkToolEditSpreadsheet-DM5BCKd2.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js → PkToolRequestGeolocation-DnZFIG1Q.js} +3 -3
- package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js.map → PkToolRequestGeolocation-DnZFIG1Q.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js → PkToolRequestOAuthConnection-9LX5kQ43.js} +4 -4
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js.map → PkToolRequestOAuthConnection-9LX5kQ43.js.map} +1 -1
- package/dist/_chunks/PkToolShareDocument-BhT59J9o.js +64 -0
- package/dist/_chunks/PkToolShareDocument-BhT59J9o.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js → PkToolShowArtifact-2ovT7cCd.js} +4 -4
- package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js.map → PkToolShowArtifact-2ovT7cCd.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js → PkToolShowCalendarEvent-Dzh4JURs.js} +4 -4
- package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js.map → PkToolShowCalendarEvent-Dzh4JURs.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js → PkToolShowComparison-CFHrXnaB.js} +4 -4
- package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js.map → PkToolShowComparison-CFHrXnaB.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js → PkToolShowContactForm-Bkoa-XYM.js} +5 -5
- package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js.map → PkToolShowContactForm-Bkoa-XYM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js → PkToolShowDiagram-DGnIuRst.js} +4 -4
- package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js.map → PkToolShowDiagram-DGnIuRst.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js → PkToolShowEmail-C3jped-R.js} +4 -4
- package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js.map → PkToolShowEmail-C3jped-R.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js → PkToolShowForm-CvAgDlx8.js} +5 -5
- package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js.map → PkToolShowForm-CvAgDlx8.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js → PkToolShowImageGallery-CjA-r8o5.js} +4 -4
- package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js.map → PkToolShowImageGallery-CjA-r8o5.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js → PkToolShowLocation-gyMiVjhi.js} +4 -4
- package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js.map → PkToolShowLocation-gyMiVjhi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js → PkToolShowMessage-wGPPnOAM.js} +4 -4
- package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js.map → PkToolShowMessage-wGPPnOAM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js → PkToolShowProductList-DGPs57sX.js} +5 -5
- package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js.map → PkToolShowProductList-DGPs57sX.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js → PkToolShowQrCode-CeZsvZvb.js} +4 -4
- package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js.map → PkToolShowQrCode-CeZsvZvb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js → PkToolShowSources-BVuYkrXs.js} +5 -5
- package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js.map → PkToolShowSources-BVuYkrXs.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js → PkToolShowSuggestedReply-B869o1YP.js} +3 -3
- package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js.map → PkToolShowSuggestedReply-B869o1YP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DL554qVB.js → PkToolShowVideo-DayRkHzW.js} +4 -4
- package/dist/_chunks/{PkToolShowVideo-DL554qVB.js.map → PkToolShowVideo-DayRkHzW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js → PkToolShowWeather-BgS4_SWb.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js.map → PkToolShowWeather-BgS4_SWb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js → PkToolShowWebPages-DTwnqmP-.js} +5 -5
- package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js.map → PkToolShowWebPages-DTwnqmP-.js.map} +1 -1
- package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js → VvButtonLocalized-B6igS2e0.js} +2 -2
- package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js.map → VvButtonLocalized-B6igS2e0.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js → VvCheckboxGroup.es-OXhptnPU.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js.map → VvCheckboxGroup.es-OXhptnPU.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js → VvCombobox.es-SLzX9VnX.js} +100 -100
- package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js.map → VvCombobox.es-SLzX9VnX.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-CM9r6IbN.js → VvInputText.es-CETcNKlr.js} +47 -47
- package/dist/_chunks/{VvInputText.es-CM9r6IbN.js.map → VvInputText.es-CETcNKlr.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js → VvRadioGroup.es-UBZBB89A.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js.map → VvRadioGroup.es-UBZBB89A.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-BoYULWyZ.js → VvSelect.es-B_MShGnJ.js} +2 -2
- package/dist/_chunks/{VvSelect.es-BoYULWyZ.js.map → VvSelect.es-B_MShGnJ.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js → VvTextarea.es-Dm2Yq3WM.js} +308 -308
- package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js.map → VvTextarea.es-Dm2Yq3WM.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js → chatImagePolicy-IKP98mdB.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js.map → chatImagePolicy-IKP98mdB.js.map} +1 -1
- package/dist/_chunks/{dist---RigjU4.js → dist-Do_Ac5Yv.js} +102 -48
- package/dist/_chunks/dist-Do_Ac5Yv.js.map +1 -0
- package/dist/_chunks/{index.es-Cn-q-Lal.js → index.es-BTDKU45u.js} +93 -93
- package/dist/_chunks/{index.es-Cn-q-Lal.js.map → index.es-BTDKU45u.js.map} +1 -1
- package/dist/_chunks/{index.es-CtWcRpZ7.js → index.es-BZS9Cscn.js} +11 -11
- package/dist/_chunks/{index.es-CtWcRpZ7.js.map → index.es-BZS9Cscn.js.map} +1 -1
- package/dist/_chunks/{markdown-DzN3Q-au.js → markdown-D7lXKAr4.js} +2 -2
- package/dist/_chunks/{markdown-DzN3Q-au.js.map → markdown-D7lXKAr4.js.map} +1 -1
- package/dist/ai-elements.es.js +356 -342
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.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/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-ywfLo1Hg.js → Agent-D70vAgX4.js} +112 -110
- package/dist-vue/_chunks/Agent-D70vAgX4.js.map +1 -0
- package/dist-vue/_chunks/{Document-DqkgJZNx.js → Document-Bo4xInDb.js} +2 -2
- package/dist-vue/_chunks/{Document-DqkgJZNx.js.map → Document-Bo4xInDb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js → PkChatbot-65tNfhpY.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js.map → PkChatbot-65tNfhpY.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js → PkChatbotEmptyState-CcRoSIb7.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js.map → PkChatbotEmptyState-CcRoSIb7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFilePreview-D8XyjDPJ.js → PkChatbotFilePreview-Btv20Ive.js} +57 -44
- package/dist-vue/_chunks/PkChatbotFilePreview-Btv20Ive.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js → PkChatbotInput-BeXWvNLw.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js.map → PkChatbotInput-BeXWvNLw.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-Dzc0kzyo.js → PkChatbotMessages-BGOyBww5.js} +19 -18
- package/dist-vue/_chunks/PkChatbotMessages-BGOyBww5.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js → PkChatbotStepPayload-DsqiKy3M.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js.map → PkChatbotStepPayload-DsqiKy3M.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js → PkChatbotStepToolDetail-Bg4IBzGh.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js.map → PkChatbotStepToolDetail-Bg4IBzGh.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js → PkChatbotSteps-DfeBzC1S.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js.map → PkChatbotSteps-DfeBzC1S.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-B1iNTeQm.js → PkChatbotViewChat-Cj3MKRFE.js} +195 -190
- package/dist-vue/_chunks/PkChatbotViewChat-Cj3MKRFE.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js → PkChatbotViewConversations-GqapFcx3.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js.map → PkChatbotViewConversations-GqapFcx3.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js → PkChatbotViewFiles-B-P6z7eN.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js.map → PkChatbotViewFiles-B-P6z7eN.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js → PkChatbotViewProfile-Bbu10IMd.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js.map → PkChatbotViewProfile-Bbu10IMd.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js → PkStreamingMarkdown-BFrymqYD.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js.map → PkStreamingMarkdown-BFrymqYD.js.map} +1 -1
- package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js → PkSvgViewer-BKygi00X.js} +2 -2
- package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js.map → PkSvgViewer-BKygi00X.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js → PkToolEditSpreadsheet-CfNQMSWR.js} +3 -3
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js.map → PkToolEditSpreadsheet-CfNQMSWR.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js → PkToolRequestGeolocation-DvO0z7sQ.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js.map → PkToolRequestGeolocation-DvO0z7sQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js → PkToolRequestOAuthConnection-CTqtzwJm.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js.map → PkToolRequestOAuthConnection-CTqtzwJm.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js +64 -0
- package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js → PkToolShowArtifact-BKZKi6J4.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js.map → PkToolShowArtifact-BKZKi6J4.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js → PkToolShowContactForm-CWpQaNOh.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js.map → PkToolShowContactForm-CWpQaNOh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js → PkToolShowDiagram-DElkZZVV.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js.map → PkToolShowDiagram-DElkZZVV.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js → PkToolShowForm-BnM1fsi4.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js.map → PkToolShowForm-BnM1fsi4.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js → PkToolShowImageGallery-CzcPqcoS.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js.map → PkToolShowImageGallery-CzcPqcoS.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js → PkToolShowProductList-Cpf5SLLk.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js.map → PkToolShowProductList-Cpf5SLLk.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js → PkToolShowSources-E7BcGvof.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js.map → PkToolShowSources-E7BcGvof.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js → PkToolShowSuggestedReply-JTMiOpHZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js.map → PkToolShowSuggestedReply-JTMiOpHZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js → PkToolShowVideo-DFdmzUkS.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js.map → PkToolShowVideo-DFdmzUkS.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js → PkToolShowWebPages-CG_Mq77j.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js.map → PkToolShowWebPages-CG_Mq77j.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js → createChatbotApiClient-BTrOwIYi.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js.map → createChatbotApiClient-BTrOwIYi.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js → useChatbotStore-KjeThRAo.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js.map → useChatbotStore-KjeThRAo.js.map} +1 -1
- package/dist-vue/_chunks/{utils-FkhB6Tl2.js → utils-Bf29zWlC.js} +6 -6
- package/dist-vue/_chunks/utils-Bf29zWlC.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +14 -6
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +3293 -3286
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +6 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +7 -0
- package/dist-vue/packages/components/src/chat/PkChatbotFilePreview.d.ts +12 -0
- package/dist-vue/packages/components/src/chat/PkToolShareDocument.d.ts +16 -0
- package/dist-vue/packages/components/src/chat/index.d.ts +2 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +30 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
- package/package.json +1 -1
- package/dist/_chunks/Agent-wvUJZjp3.js.map +0 -1
- package/dist/_chunks/PkChatbotFilePreview-dtGYHgFN.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-DeZn-hPo.js.map +0 -1
- package/dist/_chunks/dist---RigjU4.js.map +0 -1
- package/dist-vue/_chunks/Agent-ywfLo1Hg.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotFilePreview-D8XyjDPJ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-Dzc0kzyo.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-B1iNTeQm.js.map +0 -1
- package/dist-vue/_chunks/utils-FkhB6Tl2.js.map +0 -1
|
@@ -156,7 +156,27 @@ function ue(e, t, n = {}) {
|
|
|
156
156
|
function R(e, t = !0, r) {
|
|
157
157
|
ie(r) ? n(e, r) : t ? e() : i(e);
|
|
158
158
|
}
|
|
159
|
-
function de(e, t, n = {}) {
|
|
159
|
+
function de(e, t = 1e3, n = {}) {
|
|
160
|
+
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o = c(!1);
|
|
161
|
+
function l() {
|
|
162
|
+
a &&= (clearInterval(a), null);
|
|
163
|
+
}
|
|
164
|
+
function u() {
|
|
165
|
+
o.value = !1, l();
|
|
166
|
+
}
|
|
167
|
+
function f() {
|
|
168
|
+
let n = b(t);
|
|
169
|
+
n <= 0 || (o.value = !0, i && e(), l(), o.value && (a = setInterval(e, n)));
|
|
170
|
+
}
|
|
171
|
+
return r && T && f(), (g(t) || typeof t == "function") && S(s(t, () => {
|
|
172
|
+
o.value && T && f();
|
|
173
|
+
})), S(u), {
|
|
174
|
+
isActive: d(o),
|
|
175
|
+
pause: u,
|
|
176
|
+
resume: f
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function fe(e, t, n = {}) {
|
|
160
180
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = c(!1), o;
|
|
161
181
|
function s() {
|
|
162
182
|
o &&= (clearTimeout(o), void 0);
|
|
@@ -175,7 +195,7 @@ function de(e, t, n = {}) {
|
|
|
175
195
|
stop: l
|
|
176
196
|
};
|
|
177
197
|
}
|
|
178
|
-
function
|
|
198
|
+
function pe(e, t, n = {}) {
|
|
179
199
|
let { eventFilter: r = P, ...i } = n, a = N(r, t), o, c, l;
|
|
180
200
|
if (i.flush === "sync") {
|
|
181
201
|
let t = !1;
|
|
@@ -209,13 +229,13 @@ function fe(e, t, n = {}) {
|
|
|
209
229
|
ignorePrevAsyncUpdates: c
|
|
210
230
|
};
|
|
211
231
|
}
|
|
212
|
-
function
|
|
232
|
+
function me(e, t, n) {
|
|
213
233
|
return s(e, t, {
|
|
214
234
|
...n,
|
|
215
235
|
immediate: !0
|
|
216
236
|
});
|
|
217
237
|
}
|
|
218
|
-
function
|
|
238
|
+
function he(e, t, n) {
|
|
219
239
|
return s(e, t, {
|
|
220
240
|
...n,
|
|
221
241
|
once: !0
|
|
@@ -224,7 +244,7 @@ function me(e, t, n) {
|
|
|
224
244
|
//#endregion
|
|
225
245
|
//#region ../../node_modules/.pnpm/@vueuse+core@15.0.0_vue@3.5.44_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
226
246
|
h(), l();
|
|
227
|
-
function
|
|
247
|
+
function ge(e, t, n) {
|
|
228
248
|
let r;
|
|
229
249
|
r = g(n) ? { evaluating: n } : n || {};
|
|
230
250
|
let { lazy: i = !1, flush: o = "sync", evaluating: s = void 0, shallow: l = !0, onError: u = globalThis.reportError ?? A } = r, d = c(!i), m = l ? c(t) : p(t), h = 0;
|
|
@@ -262,7 +282,7 @@ function H(...e) {
|
|
|
262
282
|
let t = L(b(e[0])).filter((e) => e != null);
|
|
263
283
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
264
284
|
});
|
|
265
|
-
return
|
|
285
|
+
return me(() => [
|
|
266
286
|
r.value?.map((e) => V(e)) ?? [z].filter((e) => e != null),
|
|
267
287
|
L(b(r.value ? e[1] : e[0])),
|
|
268
288
|
L(t(r.value ? e[2] : e[1])),
|
|
@@ -276,7 +296,7 @@ function H(...e) {
|
|
|
276
296
|
}, { flush: "post" });
|
|
277
297
|
}
|
|
278
298
|
var U = !1;
|
|
279
|
-
function
|
|
299
|
+
function _e(e, t, n = {}) {
|
|
280
300
|
let { window: r = z, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
|
|
281
301
|
if (!r) return s ? {
|
|
282
302
|
stop: A,
|
|
@@ -337,7 +357,7 @@ function ge(e, t, n = {}) {
|
|
|
337
357
|
}
|
|
338
358
|
} : h;
|
|
339
359
|
}
|
|
340
|
-
function
|
|
360
|
+
function ve() {
|
|
341
361
|
let e = c(!1), t = o();
|
|
342
362
|
return t && n(() => {
|
|
343
363
|
e.value = !0;
|
|
@@ -345,7 +365,7 @@ function _e() {
|
|
|
345
365
|
}
|
|
346
366
|
/* @__NO_SIDE_EFFECTS__ */
|
|
347
367
|
function W(e) {
|
|
348
|
-
let t =
|
|
368
|
+
let t = ve();
|
|
349
369
|
return f(() => (t.value, !!e()));
|
|
350
370
|
}
|
|
351
371
|
function G(e, t, n = {}) {
|
|
@@ -390,18 +410,18 @@ function K(e, t, n = {}) {
|
|
|
390
410
|
};
|
|
391
411
|
return S(u), u;
|
|
392
412
|
}
|
|
393
|
-
function
|
|
413
|
+
function ye(e) {
|
|
394
414
|
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
395
415
|
}
|
|
396
|
-
function
|
|
416
|
+
function be(...e) {
|
|
397
417
|
let t, n, r = {};
|
|
398
418
|
e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
399
|
-
let { target: i = z, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c =
|
|
419
|
+
let { target: i = z, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = ye(t);
|
|
400
420
|
return H(i, a, (e) => {
|
|
401
421
|
e.repeat && b(s) || c(e) && n(e);
|
|
402
422
|
}, o);
|
|
403
423
|
}
|
|
404
|
-
function
|
|
424
|
+
function xe(e = {}) {
|
|
405
425
|
let { window: t = z, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
|
|
406
426
|
let e = i?.activeElement;
|
|
407
427
|
if (n) for (var t; e?.shadowRoot;) e = e == null || (t = e.shadowRoot) == null ? void 0 : t.activeElement;
|
|
@@ -420,14 +440,40 @@ function be(e = {}) {
|
|
|
420
440
|
}
|
|
421
441
|
return r && K(o, s, { document: i }), s(), o;
|
|
422
442
|
}
|
|
423
|
-
|
|
443
|
+
function Se(e, t = {}) {
|
|
444
|
+
let { immediate: n = !0, fpsLimit: r = null, window: i = z, once: a = !1 } = t, o = c(!1), s = f(() => {
|
|
445
|
+
let e = b(r);
|
|
446
|
+
return e ? 1e3 / e : null;
|
|
447
|
+
}), l = 0, u = null;
|
|
448
|
+
function p(t) {
|
|
449
|
+
if (!o.value || !i) return;
|
|
450
|
+
l ||= t;
|
|
451
|
+
let n = t - l;
|
|
452
|
+
s.value && n < s.value ? u = i.requestAnimationFrame(p) : (l = t, e({
|
|
453
|
+
delta: n,
|
|
454
|
+
timestamp: t
|
|
455
|
+
}), a ? (o.value = !1, u = null) : u = i.requestAnimationFrame(p));
|
|
456
|
+
}
|
|
457
|
+
function m() {
|
|
458
|
+
!o.value && i && (o.value = !0, l = 0, u = i.requestAnimationFrame(p));
|
|
459
|
+
}
|
|
460
|
+
function h() {
|
|
461
|
+
o.value = !1, u != null && i && (i.cancelAnimationFrame(u), u = null);
|
|
462
|
+
}
|
|
463
|
+
return n && m(), S(h), {
|
|
464
|
+
isActive: d(o),
|
|
465
|
+
pause: h,
|
|
466
|
+
resume: m
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
var Ce = Symbol("vueuse-ssr-width");
|
|
424
470
|
/* @__NO_SIDE_EFFECTS__ */
|
|
425
|
-
function
|
|
426
|
-
let e = r() ? /* @__PURE__ */ w(
|
|
471
|
+
function we() {
|
|
472
|
+
let e = r() ? /* @__PURE__ */ w(Ce, null) : null;
|
|
427
473
|
return typeof e == "number" ? e : void 0;
|
|
428
474
|
}
|
|
429
475
|
function q(e, t = {}) {
|
|
430
|
-
let { window: n = z, ssrWidth: r = /* @__PURE__ */
|
|
476
|
+
let { window: n = z, ssrWidth: r = /* @__PURE__ */ we() } = t, i = /* @__PURE__ */ W(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = c(typeof r == "number"), s = c(), l = c(!1);
|
|
431
477
|
return a(() => {
|
|
432
478
|
if (o.value) {
|
|
433
479
|
o.value = !i.value;
|
|
@@ -466,8 +512,8 @@ function J(e, t = {}) {
|
|
|
466
512
|
} : s;
|
|
467
513
|
}
|
|
468
514
|
/* @__NO_SIDE_EFFECTS__ */
|
|
469
|
-
function
|
|
470
|
-
let { navigator: t = B, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ W(() => t && "clipboard" in t), s = /* @__PURE__ */ J("clipboard-read"), l = /* @__PURE__ */ J("clipboard-write"), u = f(() => o.value || a), p = c(""), m = c(!1), h = c(!1), g =
|
|
515
|
+
function Te(e = {}) {
|
|
516
|
+
let { navigator: t = B, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ W(() => t && "clipboard" in t), s = /* @__PURE__ */ J("clipboard-read"), l = /* @__PURE__ */ J("clipboard-write"), u = f(() => o.value || a), p = c(""), m = c(!1), h = c(!1), g = fe(() => m.value = !1, i, { immediate: !1 }), _ = 0;
|
|
471
517
|
async function v() {
|
|
472
518
|
let e = !(o.value && w(s.value));
|
|
473
519
|
if (!e) try {
|
|
@@ -521,23 +567,23 @@ function Ce(e = {}) {
|
|
|
521
567
|
copy: y
|
|
522
568
|
};
|
|
523
569
|
}
|
|
524
|
-
function
|
|
570
|
+
function Ee(e) {
|
|
525
571
|
return JSON.parse(JSON.stringify(e));
|
|
526
572
|
}
|
|
527
|
-
var Y = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, X = "__vueuse_ssr_handlers__",
|
|
528
|
-
function
|
|
573
|
+
var Y = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, X = "__vueuse_ssr_handlers__", De = /* #__PURE__ */ Oe();
|
|
574
|
+
function Oe() {
|
|
529
575
|
return X in Y || (Y[X] = Y[X] || {}), Y[X];
|
|
530
576
|
}
|
|
531
|
-
function
|
|
532
|
-
return
|
|
577
|
+
function ke(e, t) {
|
|
578
|
+
return De[e] || t;
|
|
533
579
|
}
|
|
534
|
-
function
|
|
580
|
+
function Ae(e) {
|
|
535
581
|
return q("(prefers-color-scheme: dark)", e);
|
|
536
582
|
}
|
|
537
|
-
function
|
|
583
|
+
function je(e) {
|
|
538
584
|
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
539
585
|
}
|
|
540
|
-
var
|
|
586
|
+
var Me = {
|
|
541
587
|
boolean: {
|
|
542
588
|
read: (e) => e === "true",
|
|
543
589
|
write: (e) => String(e)
|
|
@@ -576,12 +622,12 @@ function Q(e, t, n, r = {}) {
|
|
|
576
622
|
console.error(e);
|
|
577
623
|
}, initOnMounted: v } = r, y = (m ? c : p)(typeof t == "function" ? t() : t), x = f(() => b(e));
|
|
578
624
|
if (!n) try {
|
|
579
|
-
n =
|
|
625
|
+
n = ke("getDefaultStorage", () => z?.localStorage)();
|
|
580
626
|
} catch (e) {
|
|
581
627
|
_(e);
|
|
582
628
|
}
|
|
583
629
|
if (!n) return y;
|
|
584
|
-
let S = b(t), C =
|
|
630
|
+
let S = b(t), C = je(S), w = r.serializer ?? Me[C], { pause: T, resume: E } = ue(y, (e) => k(e), {
|
|
585
631
|
flush: a,
|
|
586
632
|
deep: o,
|
|
587
633
|
eventFilter: g
|
|
@@ -651,7 +697,7 @@ function Q(e, t, n, r = {}) {
|
|
|
651
697
|
}
|
|
652
698
|
return y;
|
|
653
699
|
}
|
|
654
|
-
function
|
|
700
|
+
function Ne(e, n = {}) {
|
|
655
701
|
let r = c(!1), i = c(null), a = 0, o = !0;
|
|
656
702
|
if (T) {
|
|
657
703
|
let s = typeof n == "function" ? { onDrop: n } : n, c = s.multiple ?? !0, l = s.preventDefaultForUnhandled ?? !1, u = (e) => {
|
|
@@ -720,14 +766,14 @@ function $(e, t, n = {}) {
|
|
|
720
766
|
stop: d
|
|
721
767
|
};
|
|
722
768
|
}
|
|
723
|
-
function
|
|
769
|
+
function Pe(e, t = {}) {
|
|
724
770
|
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = z } = t, o = c(!1), s, l = (e) => {
|
|
725
771
|
let t = e ? n : r;
|
|
726
772
|
s &&= (clearTimeout(s), void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
|
|
727
773
|
};
|
|
728
774
|
return a && (H(e, "mouseenter", () => l(!0), { passive: !0 }), H(e, "mouseleave", () => l(!1), { passive: !0 }), i && K(f(() => V(e)), () => l(!1))), o;
|
|
729
775
|
}
|
|
730
|
-
function
|
|
776
|
+
function Fe(e, t = {
|
|
731
777
|
width: 0,
|
|
732
778
|
height: 0
|
|
733
779
|
}, n = {}) {
|
|
@@ -768,7 +814,7 @@ function Ne(e, t = {
|
|
|
768
814
|
stop: p
|
|
769
815
|
};
|
|
770
816
|
}
|
|
771
|
-
function
|
|
817
|
+
function Ie(e, t, n = {}) {
|
|
772
818
|
let { root: r, rootMargin: i, threshold: a = 0, window: o = z, immediate: l = !0 } = n, u = /* @__PURE__ */ W(() => o && "IntersectionObserver" in o), d = f(() => L(b(e)).map(V).filter(D)), p = A, m = c(l), h = u.value ? s(() => [
|
|
773
819
|
d.value,
|
|
774
820
|
V(r),
|
|
@@ -802,11 +848,11 @@ function Pe(e, t, n = {}) {
|
|
|
802
848
|
stop: g
|
|
803
849
|
};
|
|
804
850
|
}
|
|
805
|
-
function
|
|
806
|
-
let { window: n = z, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, l = c(s), u =
|
|
851
|
+
function Le(e, t = {}) {
|
|
852
|
+
let { window: n = z, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, l = c(s), u = Ie(e, (e) => {
|
|
807
853
|
let t = l.value, n = 0;
|
|
808
854
|
for (let r of e) r.time >= n && (n = r.time, t = r.isIntersecting);
|
|
809
|
-
l.value = t, o &&
|
|
855
|
+
l.value = t, o && he(l, () => {
|
|
810
856
|
u.stop();
|
|
811
857
|
});
|
|
812
858
|
}, {
|
|
@@ -820,7 +866,7 @@ function Fe(e, t = {}) {
|
|
|
820
866
|
isVisible: l
|
|
821
867
|
} : l;
|
|
822
868
|
}
|
|
823
|
-
function
|
|
869
|
+
function Re(e, t = {}) {
|
|
824
870
|
let { initialValue: n = !1, focusVisible: r = !1, preventScroll: i = !1 } = t, a = c(!1), o = f(() => V(e)), l = { passive: !0 };
|
|
825
871
|
H(o, "focus", (e) => {
|
|
826
872
|
var t;
|
|
@@ -840,30 +886,38 @@ function Ie(e, t = {}) {
|
|
|
840
886
|
flush: "post"
|
|
841
887
|
}), { focused: u };
|
|
842
888
|
}
|
|
843
|
-
var
|
|
844
|
-
function
|
|
845
|
-
let { window: n = z } = t, r = f(() => V(e)), i = c(!1), a = f(() => i.value), o =
|
|
889
|
+
var ze = "focusin", Be = "focusout", Ve = ":focus-within";
|
|
890
|
+
function He(e, t = {}) {
|
|
891
|
+
let { window: n = z } = t, r = f(() => V(e)), i = c(!1), a = f(() => i.value), o = xe(t);
|
|
846
892
|
if (!n || !o.value) return { focused: a };
|
|
847
893
|
let s = { passive: !0 };
|
|
848
|
-
return H(r,
|
|
894
|
+
return H(r, ze, () => i.value = !0, s), H(r, Be, () => {
|
|
849
895
|
var e, t;
|
|
850
|
-
return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e,
|
|
896
|
+
return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, Ve)) ?? !1;
|
|
851
897
|
}, s), { focused: a };
|
|
852
898
|
}
|
|
853
|
-
function
|
|
899
|
+
function Ue(e, t, n = {}) {
|
|
854
900
|
let { window: r = z } = n;
|
|
855
901
|
return Q(e, t, r?.localStorage, n);
|
|
856
902
|
}
|
|
857
|
-
|
|
903
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
904
|
+
function We(e = {}) {
|
|
905
|
+
let { controls: t = !1, scheduler: n = Se } = e, r = c(/* @__PURE__ */ new Date()), i = n(() => r.value = /* @__PURE__ */ new Date());
|
|
906
|
+
return t ? {
|
|
907
|
+
now: r,
|
|
908
|
+
...i
|
|
909
|
+
} : r;
|
|
910
|
+
}
|
|
911
|
+
function Ge(e, t, n = {}) {
|
|
858
912
|
let { window: r = z } = n;
|
|
859
913
|
return Q(e, t, r?.sessionStorage, n);
|
|
860
914
|
}
|
|
861
915
|
/* @__NO_SIDE_EFFECTS__ */
|
|
862
|
-
function
|
|
916
|
+
function Ke(e, t, n, r = {}) {
|
|
863
917
|
var a, c;
|
|
864
918
|
let { clone: l = !1, passive: u = !1, eventName: d, deep: m = !1, defaultValue: h, shouldEmit: g } = r, _ = o(), v = n || _?.emit || (_ == null || (a = _.$emit) == null ? void 0 : a.bind(_)) || (_ == null || (c = _.proxy) == null || (c = c.$emit) == null ? void 0 : c.bind(_?.proxy)), y = d;
|
|
865
919
|
t ||= "modelValue", y ||= `update:${t.toString()}`;
|
|
866
|
-
let b = (e) => l ? typeof l == "function" ? l(e) :
|
|
920
|
+
let b = (e) => l ? typeof l == "function" ? l(e) : Ee(e) : e, x = () => E(e[t]) ? b(e[t]) : h, S = (e) => {
|
|
867
921
|
g ? g(e) && v(y, e) : v(y, e);
|
|
868
922
|
};
|
|
869
923
|
if (u) {
|
|
@@ -884,6 +938,6 @@ function Ue(e, t, n, r = {}) {
|
|
|
884
938
|
});
|
|
885
939
|
}
|
|
886
940
|
//#endregion
|
|
887
|
-
export {
|
|
941
|
+
export { de as C, F as S, Ge as _, Ne as a, oe as b, Le as c, Ue as d, q as f, $ as g, Ae as h, Te as i, Re as l, We as m, _e as n, Pe as o, G as p, be as r, Fe as s, ge as t, He as u, Q as v, pe as w, ce as x, Ke as y };
|
|
888
942
|
|
|
889
|
-
//# sourceMappingURL=dist
|
|
943
|
+
//# sourceMappingURL=dist-Do_Ac5Yv.js.map
|