@8wave/ai-elements 0.121.0-beta.31 → 0.121.0-beta.33
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 +3290 -3283
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as ee, K as f, M as p, N as m, Ot as h, P as g, R as _, S as v, T as y, Tt as te, U as ne, V as b, W as re, Z as x, _ as S, at as C, b as ie, bt as w, c as ae, d as oe, et as T, f as E, g as D, h as O, ht as k, j as se, k as ce, l as le, lt as ue, q as de, r as fe, s as pe, t as me, tt as he, u as ge, v as A, w as j, wt as _e, x as M, xt as ve, y as N, yt as P, z as
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as
|
|
1
|
+
import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as ee, K as f, M as p, N as m, Ot as h, P as g, R as _, S as v, T as y, Tt as te, U as ne, V as b, W as re, Z as x, _ as S, at as C, b as ie, bt as w, c as ae, d as oe, et as T, f as E, g as D, h as O, ht as k, j as se, k as ce, l as le, lt as ue, q as de, r as fe, s as pe, t as me, tt as he, u as ge, v as A, w as j, wt as _e, x as M, xt as ve, y as N, yt as P, z as ye } from "./vue.runtime.esm-bundler-BkvITeKg.js";
|
|
2
|
+
import { a as be, i as F, t as xe } from "./iconify-Lm6SAZ2s.js";
|
|
3
|
+
import { b as Se, c as Ce, l as I, n as we, o as L, p as Te, r as R, t as Ee, u as De, y as Oe } from "./dist-Do_Ac5Yv.js";
|
|
4
4
|
import { a as ke, c as Ae, i as je, l as z, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./floating-ui.vue-DgWctTmX.js";
|
|
5
5
|
import { t as B } from "./dot-prop-B2dazUQ6.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.25_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_6457cdc65e61a009108dae6427ee3925/node_modules/@volverjs/ui-vue/dist/components/VvCombobox/VvCombobox.es.js
|
|
@@ -585,10 +585,10 @@ var kt = /* @__PURE__ */ j({
|
|
|
585
585
|
setup(e) {
|
|
586
586
|
let t = e, n = O(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), i = k(!0), a = Dt(), { modifiers: o } = w(t), s = Ot("vv-icon", o), c = O(() => t.provider || a?.iconsProvider), l = O(() => {
|
|
587
587
|
let e = t.name ?? "", n = `@${c.value}:${t.prefix}:${e}`;
|
|
588
|
-
if (
|
|
588
|
+
if (be(n)) return n;
|
|
589
589
|
let r = a?.iconsCollections.find((t) => {
|
|
590
590
|
let n = `@${c.value}:${t.prefix}:${e}`;
|
|
591
|
-
return
|
|
591
|
+
return be(n);
|
|
592
592
|
});
|
|
593
593
|
return r ? `@${c.value}:${r.prefix}:${e}` : e;
|
|
594
594
|
});
|
|
@@ -597,17 +597,17 @@ var kt = /* @__PURE__ */ j({
|
|
|
597
597
|
}
|
|
598
598
|
function d(e) {
|
|
599
599
|
let n = u(e), r = n?.innerHTML.trim() || "";
|
|
600
|
-
n && r &&
|
|
600
|
+
n && r && F(`@${c.value}:${t.prefix}:${t.name}`, {
|
|
601
601
|
body: r,
|
|
602
602
|
height: n.viewBox.baseVal.height,
|
|
603
603
|
width: n.viewBox.baseVal.width
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
return a && t.src && !
|
|
606
|
+
return a && t.src && !be(`@${c.value}:${t.prefix}:${t.name}`) && (i.value = !1, a.fetchIcon(t.src).then((e) => {
|
|
607
607
|
e && d(e), i.value = !0;
|
|
608
608
|
}).catch((e) => {
|
|
609
609
|
throw i.value = !0, /* @__PURE__ */ Error(`Error during fetch icon: ${e?.message}`);
|
|
610
|
-
})), t.svg && d(t.svg), (t, a) => r(i) ? (_(), S(r(
|
|
610
|
+
})), t.svg && d(t.svg), (t, a) => r(i) ? (_(), S(r(xe), m({
|
|
611
611
|
key: 0,
|
|
612
612
|
class: r(s)
|
|
613
613
|
}, {
|
|
@@ -1006,7 +1006,7 @@ function Zt({ reference: e, id: t, expanded: n, aria: r }) {
|
|
|
1006
1006
|
component: j({
|
|
1007
1007
|
name: "VvDropdownTriggerProvider",
|
|
1008
1008
|
setup() {
|
|
1009
|
-
|
|
1009
|
+
ye(K, {
|
|
1010
1010
|
reference: e,
|
|
1011
1011
|
id: t,
|
|
1012
1012
|
expanded: n,
|
|
@@ -1022,13 +1022,13 @@ function Zt({ reference: e, id: t, expanded: n, aria: r }) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
function Qt({ role: e, ...t }) {
|
|
1024
1024
|
let n = O(() => e.value === W.listbox ? G.option : G.presentation);
|
|
1025
|
-
return
|
|
1025
|
+
return ye(Ke, {
|
|
1026
1026
|
role: n,
|
|
1027
1027
|
...t
|
|
1028
1028
|
}), { itemRole: n };
|
|
1029
1029
|
}
|
|
1030
1030
|
function $t({ expanded: e }) {
|
|
1031
|
-
|
|
1031
|
+
ye(q, {
|
|
1032
1032
|
role: k(Ue.menuitem),
|
|
1033
1033
|
expanded: e
|
|
1034
1034
|
});
|
|
@@ -1111,11 +1111,11 @@ var en = ["popover"], tn = [
|
|
|
1111
1111
|
})));
|
|
1112
1112
|
}
|
|
1113
1113
|
return c.arrow && e.push(Ie({ element: ne })), e;
|
|
1114
|
-
}), { x: j, y: _e, middlewareData: M, placement: ve, strategy: P, update:
|
|
1114
|
+
}), { x: j, y: _e, middlewareData: M, placement: ve, strategy: P, update: ye } = Me(C, y, {
|
|
1115
1115
|
placement: O(() => c.placement),
|
|
1116
1116
|
strategy: ce,
|
|
1117
1117
|
middleware: ge
|
|
1118
|
-
}),
|
|
1118
|
+
}), be = O(() => {
|
|
1119
1119
|
if (ue.value) return;
|
|
1120
1120
|
let e = c.triggerWidth && C.value ? `${C.value?.offsetWidth}px` : void 0;
|
|
1121
1121
|
return {
|
|
@@ -1124,71 +1124,71 @@ var en = ["popover"], tn = [
|
|
|
1124
1124
|
left: `${j.value ?? 0}px`,
|
|
1125
1125
|
width: e
|
|
1126
1126
|
};
|
|
1127
|
-
}),
|
|
1127
|
+
}), F = O(() => ve.value.split("-")[0]), xe = O(() => {
|
|
1128
1128
|
if (ue.value) return;
|
|
1129
1129
|
let e = {
|
|
1130
1130
|
[H.top]: H.bottom,
|
|
1131
1131
|
[H.right]: H.left,
|
|
1132
1132
|
[H.bottom]: H.top,
|
|
1133
1133
|
[H.left]: H.right
|
|
1134
|
-
}[
|
|
1134
|
+
}[F.value];
|
|
1135
1135
|
return {
|
|
1136
1136
|
left: M.value.arrow?.x === void 0 ? void 0 : `${M.value.arrow?.x}px`,
|
|
1137
1137
|
top: M.value.arrow?.y === void 0 ? void 0 : `${M.value.arrow?.y}px`,
|
|
1138
1138
|
[e]: `${-(ne.value?.offsetWidth ?? 0) / 2}px`
|
|
1139
1139
|
};
|
|
1140
|
-
}),
|
|
1141
|
-
get: () =>
|
|
1140
|
+
}), Se = Oe(c, "modelValue", u), Ce = k(!1), I = O({
|
|
1141
|
+
get: () => Se.value ?? Ce.value,
|
|
1142
1142
|
set: (e) => {
|
|
1143
|
-
|
|
1143
|
+
Se.value === void 0 ? Ce.value = e : Se.value = e;
|
|
1144
1144
|
}
|
|
1145
1145
|
});
|
|
1146
1146
|
x([
|
|
1147
|
-
|
|
1147
|
+
I,
|
|
1148
1148
|
C,
|
|
1149
1149
|
y,
|
|
1150
1150
|
ce
|
|
1151
1151
|
], ([e, t, n, r], i, a) => {
|
|
1152
|
-
!e || !t || !n || a(je(t, n,
|
|
1152
|
+
!e || !t || !n || a(je(t, n, ye, { animationFrame: r === ze.fixed }));
|
|
1153
1153
|
}, {
|
|
1154
1154
|
flush: "post",
|
|
1155
1155
|
immediate: !0
|
|
1156
1156
|
}), Te(S, () => {
|
|
1157
|
-
|
|
1157
|
+
I.value && ye();
|
|
1158
1158
|
}, {
|
|
1159
1159
|
childList: !0,
|
|
1160
1160
|
subtree: !0,
|
|
1161
1161
|
characterData: !0
|
|
1162
1162
|
}), e(() => {
|
|
1163
|
-
|
|
1163
|
+
I.value && oe();
|
|
1164
1164
|
});
|
|
1165
|
-
function
|
|
1166
|
-
|
|
1165
|
+
function Ee() {
|
|
1166
|
+
I.value = !0;
|
|
1167
1167
|
}
|
|
1168
1168
|
function z() {
|
|
1169
|
-
|
|
1169
|
+
I.value = !1;
|
|
1170
1170
|
}
|
|
1171
1171
|
function B() {
|
|
1172
|
-
|
|
1172
|
+
I.value = !I.value;
|
|
1173
1173
|
}
|
|
1174
1174
|
function Le(e) {
|
|
1175
1175
|
C.value = e;
|
|
1176
1176
|
}
|
|
1177
|
-
|
|
1178
|
-
!c.keepOpen &&
|
|
1177
|
+
we(y, () => {
|
|
1178
|
+
!c.keepOpen && I.value && (I.value = !1);
|
|
1179
1179
|
}, { ignore: [C] });
|
|
1180
1180
|
let V = O(() => C.value?.getAttribute?.("id") ?? void 0), Re = O(() => ({
|
|
1181
1181
|
"aria-controls": f.value,
|
|
1182
1182
|
"aria-haspopup": !0,
|
|
1183
|
-
"aria-expanded":
|
|
1183
|
+
"aria-expanded": I.value
|
|
1184
1184
|
})), { component: Be, bus: Ve } = Zt({
|
|
1185
1185
|
reference: C,
|
|
1186
1186
|
id: f,
|
|
1187
|
-
expanded:
|
|
1187
|
+
expanded: I,
|
|
1188
1188
|
aria: Re
|
|
1189
1189
|
});
|
|
1190
1190
|
Ve.on("click", B);
|
|
1191
|
-
let { role: He, modifiers: U } = w(c), Ue = Ot("vv-dropdown", U, O(() => ({ arrow: c.arrow }))), { focused: W } =
|
|
1191
|
+
let { role: He, modifiers: U } = w(c), Ue = Ot("vv-dropdown", U, O(() => ({ arrow: c.arrow }))), { focused: W } = De(y);
|
|
1192
1192
|
function G(e) {
|
|
1193
1193
|
return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
|
|
1194
1194
|
}
|
|
@@ -1228,11 +1228,11 @@ var en = ["popover"], tn = [
|
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
1230
1230
|
}
|
|
1231
|
-
x(
|
|
1231
|
+
x(I, (e) => {
|
|
1232
1232
|
e && c.autofocusFirst && We();
|
|
1233
1233
|
}), n({
|
|
1234
1234
|
toggle: B,
|
|
1235
|
-
show:
|
|
1235
|
+
show: Ee,
|
|
1236
1236
|
hide: z,
|
|
1237
1237
|
init: Le,
|
|
1238
1238
|
focusFirst: We,
|
|
@@ -1243,26 +1243,26 @@ var en = ["popover"], tn = [
|
|
|
1243
1243
|
});
|
|
1244
1244
|
let { itemRole: q } = Qt({
|
|
1245
1245
|
role: He,
|
|
1246
|
-
expanded:
|
|
1246
|
+
expanded: I,
|
|
1247
1247
|
focused: W,
|
|
1248
|
-
hovered:
|
|
1248
|
+
hovered: L(y)
|
|
1249
1249
|
});
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}),
|
|
1253
|
-
|
|
1254
|
-
}),
|
|
1255
|
-
|
|
1256
|
-
}),
|
|
1250
|
+
R("Escape", (e) => {
|
|
1251
|
+
I.value && (e.preventDefault(), z());
|
|
1252
|
+
}), R("ArrowDown", (e) => {
|
|
1253
|
+
I.value && W.value && (e.preventDefault(), K());
|
|
1254
|
+
}), R("ArrowUp", (e) => {
|
|
1255
|
+
I.value && W.value && (e.preventDefault(), Ke());
|
|
1256
|
+
}), R([" ", "Enter"], (e) => {
|
|
1257
1257
|
let t = e.target;
|
|
1258
|
-
|
|
1258
|
+
I.value && W.value && t && t?.click();
|
|
1259
1259
|
});
|
|
1260
1260
|
let qe = {
|
|
1261
1261
|
"before-enter": () => {
|
|
1262
1262
|
u("beforeExpand"), u("beforeEnter");
|
|
1263
1263
|
},
|
|
1264
1264
|
"after-leave": () => {
|
|
1265
|
-
|
|
1265
|
+
I.value || se(), u("afterCollapse"), u("afterLeave");
|
|
1266
1266
|
},
|
|
1267
1267
|
enter: () => {
|
|
1268
1268
|
u("enter");
|
|
@@ -1286,10 +1286,10 @@ var en = ["popover"], tn = [
|
|
|
1286
1286
|
return (e, t) => (_(), N(E, null, [v(r(Be), null, {
|
|
1287
1287
|
default: T(() => [b(e.$slots, "default", s(o({
|
|
1288
1288
|
init: Le,
|
|
1289
|
-
show:
|
|
1289
|
+
show: Ee,
|
|
1290
1290
|
hide: z,
|
|
1291
1291
|
toggle: B,
|
|
1292
|
-
expanded: r(
|
|
1292
|
+
expanded: r(I),
|
|
1293
1293
|
aria: r(Re)
|
|
1294
1294
|
})))]),
|
|
1295
1295
|
_: 3
|
|
@@ -1298,44 +1298,44 @@ var en = ["popover"], tn = [
|
|
|
1298
1298
|
ref_key: "floatingEl",
|
|
1299
1299
|
ref: y,
|
|
1300
1300
|
popover: r(ae),
|
|
1301
|
-
style: a(r(
|
|
1301
|
+
style: a(r(be)),
|
|
1302
1302
|
class: te(r(Ue))
|
|
1303
1303
|
}, [
|
|
1304
1304
|
c.arrow ? (_(), N("div", {
|
|
1305
1305
|
key: 0,
|
|
1306
1306
|
ref_key: "arrowEl",
|
|
1307
1307
|
ref: ne,
|
|
1308
|
-
style: a(r(
|
|
1308
|
+
style: a(r(xe)),
|
|
1309
1309
|
class: "vv-dropdown__arrow"
|
|
1310
1310
|
}, null, 4)) : A("v-if", !0),
|
|
1311
1311
|
b(e.$slots, "before", s(o({
|
|
1312
|
-
show:
|
|
1312
|
+
show: Ee,
|
|
1313
1313
|
hide: z,
|
|
1314
1314
|
toggle: B,
|
|
1315
|
-
expanded: r(
|
|
1315
|
+
expanded: r(I)
|
|
1316
1316
|
}))),
|
|
1317
1317
|
D("div", m(r(p), {
|
|
1318
1318
|
id: r(f),
|
|
1319
1319
|
ref_key: "listEl",
|
|
1320
1320
|
ref: S,
|
|
1321
|
-
tabindex: r(
|
|
1321
|
+
tabindex: r(I) ? void 0 : -1,
|
|
1322
1322
|
role: r(He),
|
|
1323
1323
|
"aria-labelledby": r(V),
|
|
1324
1324
|
class: "vv-dropdown__list"
|
|
1325
1325
|
}), [b(e.$slots, "items", s(o({
|
|
1326
|
-
show:
|
|
1326
|
+
show: Ee,
|
|
1327
1327
|
hide: z,
|
|
1328
1328
|
toggle: B,
|
|
1329
|
-
expanded: r(
|
|
1329
|
+
expanded: r(I),
|
|
1330
1330
|
role: r(q)
|
|
1331
1331
|
})))], 16, tn),
|
|
1332
1332
|
b(e.$slots, "after", s(o({
|
|
1333
|
-
show:
|
|
1333
|
+
show: Ee,
|
|
1334
1334
|
hide: z,
|
|
1335
1335
|
toggle: B,
|
|
1336
|
-
expanded: r(
|
|
1336
|
+
expanded: r(I)
|
|
1337
1337
|
})))
|
|
1338
|
-
], 14, en), [[le, r(
|
|
1338
|
+
], 14, en), [[le, r(I)]])]),
|
|
1339
1339
|
_: 3
|
|
1340
1340
|
}, 16, ["name"])], 64));
|
|
1341
1341
|
}
|
|
@@ -1356,7 +1356,7 @@ var en = ["popover"], tn = [
|
|
|
1356
1356
|
setup(e) {
|
|
1357
1357
|
let t = e, { role: n, expanded: i } = Bt(), a = k(null);
|
|
1358
1358
|
$t({ expanded: i });
|
|
1359
|
-
let o =
|
|
1359
|
+
let o = L(a), { focused: s } = I(a), { focused: c } = De(a);
|
|
1360
1360
|
return x(o, (e) => {
|
|
1361
1361
|
e && t.focusOnHover && (s.value = !0);
|
|
1362
1362
|
}), (e, t) => (_(), N("div", m({ role: r(n) }, {
|
|
@@ -1472,7 +1472,7 @@ function fn(e, t, n) {
|
|
|
1472
1472
|
});
|
|
1473
1473
|
}
|
|
1474
1474
|
function pn(e, t) {
|
|
1475
|
-
let { focused: n } =
|
|
1475
|
+
let { focused: n } = I(e);
|
|
1476
1476
|
return x(n, (n) => {
|
|
1477
1477
|
t(n ? "focus" : "blur", r(e));
|
|
1478
1478
|
}), { focused: n };
|
|
@@ -1512,11 +1512,11 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1512
1512
|
set: (e) => {
|
|
1513
1513
|
Array.isArray(e) && (e = e.filter((e) => e !== void 0), e.length === 0 && !i.unselectable && u.value) ? u.value.value = String(i.modelValue) : a("update:modelValue", e);
|
|
1514
1514
|
}
|
|
1515
|
-
}),
|
|
1516
|
-
x(
|
|
1515
|
+
}), ye = O(() => Array.isArray(P.value) ? P.value.length > 0 : P.value !== void 0 && P.value !== null), be = O(() => !M.value && i.unselectable), F = Ce(u);
|
|
1516
|
+
x(F, (e) => {
|
|
1517
1517
|
e && i.autofocus && (y.value = !0);
|
|
1518
1518
|
});
|
|
1519
|
-
let { hasIconBefore:
|
|
1519
|
+
let { hasIconBefore: xe, hasIconAfter: Se } = At(ce, le), I = O(() => {
|
|
1520
1520
|
if (i.invalid === !0) return !0;
|
|
1521
1521
|
if (i.valid === !0) return !1;
|
|
1522
1522
|
}), we = Ot("vv-select", C, O(() => ({
|
|
@@ -1525,16 +1525,16 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1525
1525
|
loading: se.value,
|
|
1526
1526
|
disabled: ae.value,
|
|
1527
1527
|
readonly: oe.value,
|
|
1528
|
-
"icon-before":
|
|
1528
|
+
"icon-before": xe.value !== void 0,
|
|
1529
1529
|
"icon-after": Se.value !== void 0,
|
|
1530
|
-
dirty:
|
|
1530
|
+
dirty: ye.value,
|
|
1531
1531
|
focus: y.value && !M.value,
|
|
1532
1532
|
floating: me.value,
|
|
1533
1533
|
multiple: ge.value
|
|
1534
|
-
}))), { getOptionLabel:
|
|
1534
|
+
}))), { getOptionLabel: L, getOptionValue: Te, isOptionDisabled: R, getOptionGrouped: Ee } = mn(i);
|
|
1535
1535
|
x(() => i.options, (e) => {
|
|
1536
|
-
if (e?.length && i.autoselectFirst && !
|
|
1537
|
-
let t =
|
|
1536
|
+
if (e?.length && i.autoselectFirst && !ye.value) {
|
|
1537
|
+
let t = Te(e[0]);
|
|
1538
1538
|
P.value = i.multiple ? [t] : t;
|
|
1539
1539
|
}
|
|
1540
1540
|
}, { immediate: !0 });
|
|
@@ -1551,7 +1551,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1551
1551
|
multiple: i.multiple,
|
|
1552
1552
|
"aria-label": i.ariaLabel || void 0,
|
|
1553
1553
|
"aria-labelledby": i.ariaLabelledby || void 0,
|
|
1554
|
-
"aria-invalid":
|
|
1554
|
+
"aria-invalid": I.value,
|
|
1555
1555
|
"aria-describedby": [i.ariaDescribedby, f.value ? _e.value : void 0].filter(Boolean).join(" ") || void 0,
|
|
1556
1556
|
"aria-errormessage": p.value ? _e.value : void 0
|
|
1557
1557
|
})), ke = O(() => ({
|
|
@@ -1567,7 +1567,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1567
1567
|
D("div", gn, [
|
|
1568
1568
|
e.$slots.before ? (_(), N("div", _n, [b(e.$slots, "before", s(o(r(ke))))])) : A("v-if", !0),
|
|
1569
1569
|
D("div", vn, [
|
|
1570
|
-
r(
|
|
1570
|
+
r(xe) ? (_(), S(kt, m({ key: 0 }, r(xe), { class: "vv-select__icon" }), null, 16)) : A("v-if", !0),
|
|
1571
1571
|
he(D("select", m({
|
|
1572
1572
|
id: r(j),
|
|
1573
1573
|
ref_key: "selectEl",
|
|
@@ -1575,29 +1575,29 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1575
1575
|
}, r(Oe), { "onUpdate:modelValue": t[0] ||= (e) => ue(P) ? P.value = e : null }), [e.placeholder ? (_(), N("option", {
|
|
1576
1576
|
key: 0,
|
|
1577
1577
|
value: void 0,
|
|
1578
|
-
disabled: !r(
|
|
1579
|
-
hidden: !r(
|
|
1578
|
+
disabled: !r(be),
|
|
1579
|
+
hidden: !r(be)
|
|
1580
1580
|
}, h(e.placeholder), 9, bn)) : A("v-if", !0), (_(!0), N(E, null, n(e.options, (e, t) => (_(), N(E, null, [ne(e) ? (_(), N("optgroup", {
|
|
1581
1581
|
key: `group-${t}`,
|
|
1582
1582
|
disabled: r(R)(e),
|
|
1583
|
-
label: r(
|
|
1583
|
+
label: r(L)(e)
|
|
1584
1584
|
}, [(_(!0), N(E, null, n(r(Ee)(e), (e, n) => (_(), N("option", {
|
|
1585
1585
|
key: `group-${t}-item-${n}`,
|
|
1586
1586
|
disabled: r(R)(e),
|
|
1587
|
-
value: r(
|
|
1588
|
-
}, h(r(
|
|
1587
|
+
value: r(Te)(e)
|
|
1588
|
+
}, h(r(L)(e)), 9, Cn))), 128))], 8, Sn)) : (_(), N("option", {
|
|
1589
1589
|
key: t,
|
|
1590
1590
|
disabled: r(R)(e),
|
|
1591
|
-
value: r(
|
|
1592
|
-
}, h(r(
|
|
1591
|
+
value: r(Te)(e)
|
|
1592
|
+
}, h(r(L)(e)), 9, xn))], 64))), 256))], 16, yn), [[pe, r(P)]]),
|
|
1593
1593
|
r(Se) ? (_(), S(kt, m({ key: 1 }, r(Se), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : A("v-if", !0)
|
|
1594
1594
|
]),
|
|
1595
|
-
r(
|
|
1595
|
+
r(be) && r(l).showClearAction ? (_(), S(r(jt), {
|
|
1596
1596
|
key: 1,
|
|
1597
1597
|
"input-type": "select",
|
|
1598
1598
|
label: e.labelClear,
|
|
1599
1599
|
icon: e.iconClear,
|
|
1600
|
-
disabled: !r(
|
|
1600
|
+
disabled: !r(ye),
|
|
1601
1601
|
onClear: De
|
|
1602
1602
|
}, null, 8, [
|
|
1603
1603
|
"label",
|
|
@@ -1680,7 +1680,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1680
1680
|
"change:search"
|
|
1681
1681
|
], ["update:search"]),
|
|
1682
1682
|
setup(e, { emit: t }) {
|
|
1683
|
-
let i = e, a = t, l = ee(), u = fn("VvCombobox", _t(), i), d = k(null), f = k(null), p = k(null), g = k(), { HintSlot: y, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: re, hintSlotScope: C } = Et(u, l), { focused: se } = pn(d, a), { focused: ce } =
|
|
1683
|
+
let i = e, a = t, l = ee(), u = fn("VvCombobox", _t(), i), d = k(null), f = k(null), p = k(null), g = k(), { HintSlot: y, hasHintLabelOrSlot: ne, hasInvalidLabelOrSlot: re, hintSlotScope: C } = Et(u, l), { focused: se } = pn(d, a), { focused: ce } = De(p), le;
|
|
1684
1684
|
function fe() {
|
|
1685
1685
|
clearTimeout(le), le = setTimeout(() => {
|
|
1686
1686
|
!se.value && !ce.value && j.value && P();
|
|
@@ -1697,7 +1697,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1697
1697
|
}), x(ce, (e) => {
|
|
1698
1698
|
e ? clearTimeout(le) : !se.value && j.value && fe();
|
|
1699
1699
|
});
|
|
1700
|
-
let pe = de(e, "search"), me =
|
|
1700
|
+
let pe = de(e, "search"), me = Se(pe, O(() => Number(i.debounceSearch)));
|
|
1701
1701
|
x(me, () => {
|
|
1702
1702
|
a("update:search", me.value), a("change:search", me.value);
|
|
1703
1703
|
});
|
|
@@ -1711,25 +1711,25 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1711
1711
|
function P() {
|
|
1712
1712
|
B.value || !j.value || (j.value = !1);
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function ye() {
|
|
1715
1715
|
u.value.searchable && f.value && (f.value.closest(".vv-dropdown")?.contains(document.activeElement) || f.value.focus({ preventScroll: !0 }));
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function be() {
|
|
1718
1718
|
u.value.keepSearch || (pe.value = "");
|
|
1719
1719
|
}
|
|
1720
|
-
function
|
|
1720
|
+
function F(e) {
|
|
1721
1721
|
return typeof e != "string" && e.options?.length;
|
|
1722
1722
|
}
|
|
1723
|
-
let { id:
|
|
1723
|
+
let { id: xe, icon: Ce, iconPosition: I, modifiers: we, disabled: L, required: Te, readonly: R, loading: Oe, valid: ke, invalid: Ae, floating: je } = w(i), z = Ut(xe), Me = O(() => `${z.value}-hint`), Ne = O(() => `${z.value}-dropdown`), Pe = O(() => `${z.value}-search`), Fe = O(() => `${z.value}-label`), Ie = O(() => [i.ariaDescribedby, ne.value ? Me.value : void 0].filter(Boolean).join(" ") || void 0), B = O(() => i.disabled || i.readonly), Le = O(() => B.value ? -1 : i.tabindex), V = O({
|
|
1724
1724
|
get: () => Array.isArray(i.modelValue) ? i.modelValue : i.modelValue !== void 0 && i.modelValue !== null ? [i.modelValue] : [],
|
|
1725
1725
|
set: (e) => {
|
|
1726
1726
|
a("update:modelValue", i.multiple || Array.isArray(i.modelValue) ? e : e.pop());
|
|
1727
1727
|
}
|
|
1728
|
-
}), Re = O(() => V.value.length), ze = O(() => Re.value > 0), H = O(() => i.multiple ? i.maxValues === void 0 ? 1 / 0 : Number(i.maxValues) : 1), Be = O(() => B.value || !i.unselectable ? !1 : Number(i.minValues) === 0 || Re.value > Number(i.minValues)), Ve = O(() => B.value ? !1 : !i.multiple || Re.value < H.value), He = k(!1), U = O(() => He.value ||
|
|
1729
|
-
disabled:
|
|
1728
|
+
}), Re = O(() => V.value.length), ze = O(() => Re.value > 0), H = O(() => i.multiple ? i.maxValues === void 0 ? 1 / 0 : Number(i.maxValues) : 1), Be = O(() => B.value || !i.unselectable ? !1 : Number(i.minValues) === 0 || Re.value > Number(i.minValues)), Ve = O(() => B.value ? !1 : !i.multiple || Re.value < H.value), He = k(!1), U = O(() => He.value || Oe.value), { hasIconBefore: Ue, hasIconAfter: G } = At(Ce, I), We = Ot("vv-select", we, O(() => ({
|
|
1729
|
+
disabled: L.value,
|
|
1730
1730
|
required: Te.value,
|
|
1731
1731
|
loading: U.value,
|
|
1732
|
-
readonly:
|
|
1732
|
+
readonly: R.value,
|
|
1733
1733
|
"icon-before": Ue.value !== void 0,
|
|
1734
1734
|
"icon-after": G.value !== void 0,
|
|
1735
1735
|
valid: ke.value,
|
|
@@ -1740,7 +1740,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1740
1740
|
badges: i.badges
|
|
1741
1741
|
}))), Ge = k(/* @__PURE__ */ new Set()), { getOptionLabel: K, getOptionValue: Ke, getOptionGrouped: q, isOptionDisabled: qe } = mn(i), Je = O(() => {
|
|
1742
1742
|
let e = [...Ge.value];
|
|
1743
|
-
for (let t of i.options)
|
|
1743
|
+
for (let t of i.options) F(t) ? e.push(...q(t)) : e.push(t);
|
|
1744
1744
|
return e;
|
|
1745
1745
|
}), J = O(() => {
|
|
1746
1746
|
let e = [...i.options, ...Ge.value];
|
|
@@ -1756,7 +1756,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1756
1756
|
function Y(e) {
|
|
1757
1757
|
return qe(e) || !Ve.value && !Z(e);
|
|
1758
1758
|
}
|
|
1759
|
-
let X =
|
|
1759
|
+
let X = Ee(async () => {
|
|
1760
1760
|
if (u.value.searchFunction) {
|
|
1761
1761
|
He.value = !0;
|
|
1762
1762
|
let e = await Promise.resolve(u.value.searchFunction(me.value, J.value));
|
|
@@ -1764,7 +1764,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
let e = me.value.toLowerCase().trim();
|
|
1766
1766
|
return e ? J.value?.reduce((t, n) => {
|
|
1767
|
-
if (
|
|
1767
|
+
if (F(n)) {
|
|
1768
1768
|
let r = K(n).toLowerCase(), i = q(n).filter((t) => K(t).toLowerCase().includes(e));
|
|
1769
1769
|
if (r.includes(e)) t.push(n);
|
|
1770
1770
|
else if (i.length > 0) {
|
|
@@ -1783,7 +1783,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1783
1783
|
let t = Ke(e);
|
|
1784
1784
|
return typeof t == "object" ? V.value.some((e) => typeof e == "object" && JSON.stringify(e) === JSON.stringify(t)) : V.value.includes(t);
|
|
1785
1785
|
}
|
|
1786
|
-
let Ye = O(() => J.value.reduce((e, t) =>
|
|
1786
|
+
let Ye = O(() => J.value.reduce((e, t) => F(t) ? [...e, ...q(t)] : [...e, t], []).filter((e) => Z(e))), Xe = O(() => Ye.value.map((e) => K(e)).join(i.separator));
|
|
1787
1787
|
function Ze() {
|
|
1788
1788
|
i.autoOpen ? ve() : _e();
|
|
1789
1789
|
}
|
|
@@ -1796,12 +1796,12 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
x(J, (e) => {
|
|
1798
1798
|
if (e?.length && i.autoselectFirst && !ze.value) {
|
|
1799
|
-
let t = e.find((e) => !
|
|
1799
|
+
let t = e.find((e) => !F(e));
|
|
1800
1800
|
if (t) {
|
|
1801
1801
|
Q(t);
|
|
1802
1802
|
return;
|
|
1803
1803
|
}
|
|
1804
|
-
let n = e.find((e) =>
|
|
1804
|
+
let n = e.find((e) => F(e));
|
|
1805
1805
|
if (n) {
|
|
1806
1806
|
let e = q(n);
|
|
1807
1807
|
e.length && Q(e[0]);
|
|
@@ -1819,8 +1819,8 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1819
1819
|
hintLabel: u.value.hintLabel,
|
|
1820
1820
|
loading: U.value,
|
|
1821
1821
|
loadingLabel: u.value.loadingLabel,
|
|
1822
|
-
disabled:
|
|
1823
|
-
readonly:
|
|
1822
|
+
disabled: L.value,
|
|
1823
|
+
readonly: R.value,
|
|
1824
1824
|
modifiers: u.value.modifiers,
|
|
1825
1825
|
options: u.value.options,
|
|
1826
1826
|
labelKey: u.value.labelKey,
|
|
@@ -1864,7 +1864,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1864
1864
|
if (X.value?.length) {
|
|
1865
1865
|
if (X.value.length === 1) {
|
|
1866
1866
|
let e = X.value[0];
|
|
1867
|
-
if (
|
|
1867
|
+
if (F(e)) {
|
|
1868
1868
|
let t = q(e);
|
|
1869
1869
|
t.length && Q(t[0]);
|
|
1870
1870
|
return;
|
|
@@ -1900,8 +1900,8 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1900
1900
|
"onUpdate:modelValue": t[2] ||= (e) => ue(j) ? j.value = e : null
|
|
1901
1901
|
}, r(et), {
|
|
1902
1902
|
role: r(W).listbox,
|
|
1903
|
-
onAfterExpand:
|
|
1904
|
-
onAfterCollapse:
|
|
1903
|
+
onAfterExpand: ye,
|
|
1904
|
+
onAfterCollapse: be
|
|
1905
1905
|
}), ie({
|
|
1906
1906
|
default: T(({ aria: t }) => [
|
|
1907
1907
|
e.$slots.before ? (_(), N("div", kn, [b(e.$slots, "before", s(o(r(tt))))])) : A("v-if", !0),
|
|
@@ -1954,7 +1954,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
1954
1954
|
])) : A("v-if", !0),
|
|
1955
1955
|
e.$slots.after ? (_(), N("div", Pn, [b(e.$slots, "after", s(o(r(tt))))])) : A("v-if", !0)
|
|
1956
1956
|
]),
|
|
1957
|
-
items: T(() => [!r(
|
|
1957
|
+
items: T(() => [!r(L) && r(X)?.length ? (_(!0), N(E, { key: 0 }, n(r(X), (t, i) => (_(), N(E, { key: i }, [F(t) ? (_(), N(E, { key: 0 }, [v(an, { label: r(K)(t) }, {
|
|
1958
1958
|
default: T(() => [b(e.$slots, "option-group", m({ ref_for: !0 }, {
|
|
1959
1959
|
option: t,
|
|
1960
1960
|
selectedOptions: r(Ye)
|
|
@@ -2024,7 +2024,7 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2024
2024
|
_: 2
|
|
2025
2025
|
}, [r(u).searchable || e.$slots["dropdown::before"] ? {
|
|
2026
2026
|
name: "before",
|
|
2027
|
-
fn: T(() => [b(e.$slots, "dropdown::before"), r(u).searchable && !r(
|
|
2027
|
+
fn: T(() => [b(e.$slots, "dropdown::before"), r(u).searchable && !r(L) ? he((_(), N("input", {
|
|
2028
2028
|
key: 0,
|
|
2029
2029
|
id: r(Pe),
|
|
2030
2030
|
ref_key: "inputSearchEl",
|
|
@@ -2072,4 +2072,4 @@ var hn = ["for"], gn = { class: "vv-select__wrapper" }, _n = {
|
|
|
2072
2072
|
//#endregion
|
|
2073
2073
|
export { Fn as default };
|
|
2074
2074
|
|
|
2075
|
-
//# sourceMappingURL=VvCombobox.es-
|
|
2075
|
+
//# sourceMappingURL=VvCombobox.es-SLzX9VnX.js.map
|