@8wave/ai-elements 0.115.0-beta.60 → 0.115.0-beta.72
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-Bz23Ejuh.js → Agent-B5gICwnq.js} +2 -5
- package/dist/_chunks/Agent-B5gICwnq.js.map +1 -0
- package/dist/_chunks/{PkChatbotFilePreview-CyaNjBrA.js → PkChatbotFilePreview-Dc9NJ0WF.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-CyaNjBrA.js.map → PkChatbotFilePreview-Dc9NJ0WF.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-CtqqMvpW.js → PkHeldImage-B4gZSfa6.js} +2 -2
- package/dist/_chunks/{PkHeldImage-CtqqMvpW.js.map → PkHeldImage-B4gZSfa6.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-Ci06XyhW.js → PkLazyImg-DT3U67q-.js} +3 -2
- package/dist/_chunks/PkLazyImg-DT3U67q-.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-DbSttKVa.js → PkStreamingMarkdown-LBiDnEgV.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-DbSttKVa.js.map → PkStreamingMarkdown-LBiDnEgV.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-BrYSJlT4.js → PkToolEditSpreadsheet-YoiuyH9p.js} +3 -3
- package/dist/_chunks/{PkToolEditSpreadsheet-BrYSJlT4.js.map → PkToolEditSpreadsheet-YoiuyH9p.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-D4rIR3LN.js → PkToolRequestGeolocation-m-IXD3Dg.js} +7 -4
- package/dist/_chunks/PkToolRequestGeolocation-m-IXD3Dg.js.map +1 -0
- package/dist/_chunks/{PkToolRequestOAuthConnection-epwcNb5F.js → PkToolRequestOAuthConnection-BLEQZ51Y.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-epwcNb5F.js.map → PkToolRequestOAuthConnection-BLEQZ51Y.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-BGUn1sMi.js → PkToolShowArtifact-KbxEd7Tv.js} +3 -3
- package/dist/_chunks/{PkToolShowArtifact-BGUn1sMi.js.map → PkToolShowArtifact-KbxEd7Tv.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-DwxqgAUr.js → PkToolShowCalendarEvent-DcaMadO7.js} +3 -3
- package/dist/_chunks/PkToolShowCalendarEvent-DcaMadO7.js.map +1 -0
- package/dist/_chunks/{PkToolShowComparison-hDhhVvwp.js → PkToolShowComparison-DcXSOyMw.js} +2 -2
- package/dist/_chunks/{PkToolShowComparison-hDhhVvwp.js.map → PkToolShowComparison-DcXSOyMw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-ChaAOt5I.js → PkToolShowContactForm-BjlnuEVy.js} +4 -4
- package/dist/_chunks/{PkToolShowContactForm-ChaAOt5I.js.map → PkToolShowContactForm-BjlnuEVy.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-CyNPq6j7.js → PkToolShowDiagram-BgyU0CGk.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-CyNPq6j7.js.map → PkToolShowDiagram-BgyU0CGk.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-BM16pMjW.js → PkToolShowEmail-AWhVo3l3.js} +2 -2
- package/dist/_chunks/{PkToolShowEmail-BM16pMjW.js.map → PkToolShowEmail-AWhVo3l3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-BpTuRgHg.js → PkToolShowForm-CaYPCOeb.js} +110 -100
- package/dist/_chunks/PkToolShowForm-CaYPCOeb.js.map +1 -0
- package/dist/_chunks/{PkToolShowImageGallery-CgjP34RE.js → PkToolShowImageGallery-CTuPFowW.js} +4 -4
- package/dist/_chunks/{PkToolShowImageGallery-CgjP34RE.js.map → PkToolShowImageGallery-CTuPFowW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-rK5fcW4y.js → PkToolShowLocation-Bf4jmDYQ.js} +2 -2
- package/dist/_chunks/{PkToolShowLocation-rK5fcW4y.js.map → PkToolShowLocation-Bf4jmDYQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-DgT-JkYg.js → PkToolShowMessage-DlckklB3.js} +2 -2
- package/dist/_chunks/{PkToolShowMessage-DgT-JkYg.js.map → PkToolShowMessage-DlckklB3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-BIeg8NR-.js → PkToolShowProductList-CThKOr9K.js} +5 -5
- package/dist/_chunks/{PkToolShowProductList-BIeg8NR-.js.map → PkToolShowProductList-CThKOr9K.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-C2hZDGqM.js → PkToolShowQrCode-CFueYo4P.js} +2 -2
- package/dist/_chunks/{PkToolShowQrCode-C2hZDGqM.js.map → PkToolShowQrCode-CFueYo4P.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-B9nZyCAn.js → PkToolShowSources-DW4LZzdI.js} +49 -28
- package/dist/_chunks/PkToolShowSources-DW4LZzdI.js.map +1 -0
- package/dist/_chunks/{PkToolShowSuggestedReply-D6g3UYqI.js → PkToolShowSuggestedReply-C81p7lmP.js} +3 -3
- package/dist/_chunks/{PkToolShowSuggestedReply-D6g3UYqI.js.map → PkToolShowSuggestedReply-C81p7lmP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-B6GG8PJm.js → PkToolShowVideo-BBdH255K.js} +4 -4
- package/dist/_chunks/{PkToolShowVideo-B6GG8PJm.js.map → PkToolShowVideo-BBdH255K.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-C80WsCYi.js → PkToolShowWeather-BVllZARr.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-C80WsCYi.js.map → PkToolShowWeather-BVllZARr.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-BkUh-IyZ.js → PkToolShowWebPages-Bbc8WuLf.js} +5 -5
- package/dist/_chunks/{PkToolShowWebPages-BkUh-IyZ.js.map → PkToolShowWebPages-Bbc8WuLf.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-UTRUhwdC.js → VvCheckbox.es-DKT8ys4U.js} +2 -2
- package/dist/_chunks/{VvCheckbox.es-UTRUhwdC.js.map → VvCheckbox.es-DKT8ys4U.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-Cj7KLXHq.js → VvCheckboxGroup.es-BR2Zrit_.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-Cj7KLXHq.js.map → VvCheckboxGroup.es-BR2Zrit_.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-DptfdnAe.js → VvCombobox.es-DWJtN8ha.js} +2 -2
- package/dist/_chunks/{VvCombobox.es-DptfdnAe.js.map → VvCombobox.es-DWJtN8ha.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-DqLQDq9I.js → VvInputText.es-BH6ohnZF.js} +2 -2
- package/dist/_chunks/{VvInputText.es-DqLQDq9I.js.map → VvInputText.es-BH6ohnZF.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-D7Ws1in6.js → VvRadio.es-L9HmgYh4.js} +2 -2
- package/dist/_chunks/{VvRadio.es-D7Ws1in6.js.map → VvRadio.es-L9HmgYh4.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-BDgpsR9Z.js → VvRadioGroup.es-Dyip2x3c.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-BDgpsR9Z.js.map → VvRadioGroup.es-Dyip2x3c.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-DWbNpZKw.js → VvSelect.es-B8GZOw4X.js} +2 -2
- package/dist/_chunks/{VvSelect.es-DWbNpZKw.js.map → VvSelect.es-B8GZOw4X.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-5UD9_C3G.js → VvTextarea.es-7E1SuavW.js} +2 -2
- package/dist/_chunks/{VvTextarea.es-5UD9_C3G.js.map → VvTextarea.es-7E1SuavW.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-Cnmsgd96.js → chatImagePolicy-LzNQAjTs.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-Cnmsgd96.js.map → chatImagePolicy-LzNQAjTs.js.map} +1 -1
- package/dist/_chunks/{index.es-D9VqgSyV.js → index.es-DJbHM2zZ.js} +10 -10
- package/dist/_chunks/{index.es-D9VqgSyV.js.map → index.es-DJbHM2zZ.js.map} +1 -1
- package/dist/_chunks/{index.es-B9zAw2XU.js → index.es-D_E1Gj_U.js} +2 -2
- package/dist/_chunks/{index.es-B9zAw2XU.js.map → index.es-D_E1Gj_U.js.map} +1 -1
- package/dist/_chunks/{markdown-25UY48qE.js → markdown-CQLsnBKV.js} +2 -2
- package/dist/_chunks/{markdown-25UY48qE.js.map → markdown-CQLsnBKV.js.map} +1 -1
- package/dist/ai-elements.es.js +293 -221
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.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-Ci7XnQ12.js → Agent-iJ7nRWUV.js} +3 -7
- package/dist-vue/_chunks/Agent-iJ7nRWUV.js.map +1 -0
- package/dist-vue/_chunks/{Document-Bhlc3wdt.js → Document-BFyHxMgI.js} +2 -2
- package/dist-vue/_chunks/{Document-Bhlc3wdt.js.map → Document-BFyHxMgI.js.map} +1 -1
- package/dist-vue/_chunks/{PkAvatar-paEJByEA.js → PkAvatar-ZgCsoO-p.js} +2 -2
- package/dist-vue/_chunks/PkAvatar-ZgCsoO-p.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C05Rv5zO.js → PkChatbot-Ct2nH8y4.js} +9 -9
- package/dist-vue/_chunks/{PkChatbot-C05Rv5zO.js.map → PkChatbot-Ct2nH8y4.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-DD5RF7kY.js → PkChatbotAuth-CwsXLIku.js} +4 -4
- package/dist-vue/_chunks/PkChatbotAuth-CwsXLIku.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-B5qeL1kv.js → PkChatbotEmptyState-CQCBF59f.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotEmptyState-B5qeL1kv.js.map → PkChatbotEmptyState-CQCBF59f.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-BJ_Omuq2.js → PkChatbotFeedbackForm-CYiwvSs_.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-BJ_Omuq2.js.map → PkChatbotFeedbackForm-CYiwvSs_.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-BLzTQmvy.js → PkChatbotInput-D7IIfTw1.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-BLzTQmvy.js.map → PkChatbotInput-D7IIfTw1.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CxTz0W0d.js → PkChatbotMessages-DJPqKh-G.js} +19 -19
- package/dist-vue/_chunks/{PkChatbotMessages-CxTz0W0d.js.map → PkChatbotMessages-DJPqKh-G.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-B04aqOGu.js → PkChatbotStepPayload-dl2-8f27.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-B04aqOGu.js.map → PkChatbotStepPayload-dl2-8f27.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-yII_Dk3p.js → PkChatbotStepToolDetail-f8zOnu2W.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-yII_Dk3p.js.map → PkChatbotStepToolDetail-f8zOnu2W.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DYiCeWOd.js → PkChatbotSteps-CeuoK2Gk.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DYiCeWOd.js.map → PkChatbotSteps-CeuoK2Gk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-s-Vx4U1E.js → PkChatbotViewChat-X9L9a53H.js} +8 -8
- package/dist-vue/_chunks/{PkChatbotViewChat-s-Vx4U1E.js.map → PkChatbotViewChat-X9L9a53H.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-D7XHDBGS.js → PkChatbotViewConversations-NNzeW5c6.js} +4 -2
- package/dist-vue/_chunks/PkChatbotViewConversations-NNzeW5c6.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewFiles-t07w-VNZ.js → PkChatbotViewFiles-nn23dc0W.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-t07w-VNZ.js.map → PkChatbotViewFiles-nn23dc0W.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DJT5AEkZ.js → PkChatbotViewProfile-CzY3lj4N.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewProfile-DJT5AEkZ.js.map → PkChatbotViewProfile-CzY3lj4N.js.map} +1 -1
- package/dist-vue/_chunks/{PkLazyImg-CDxX9xnq.js → PkLazyImg-X5BMNU_R.js} +2 -1
- package/dist-vue/_chunks/PkLazyImg-X5BMNU_R.js.map +1 -0
- package/dist-vue/_chunks/{PkStreamingMarkdown-ALhm02o3.js → PkStreamingMarkdown-CCu2pX2c.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-ALhm02o3.js.map → PkStreamingMarkdown-CCu2pX2c.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-DU3RBd6q.js → PkToolEditSpreadsheet-DYcRLINr.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-DU3RBd6q.js.map → PkToolEditSpreadsheet-DYcRLINr.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-CE4zQofM.js → PkToolRequestGeolocation-DLU21rbD.js} +6 -3
- package/dist-vue/_chunks/PkToolRequestGeolocation-DLU21rbD.js.map +1 -0
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CAk5s541.js → PkToolRequestOAuthConnection-BS9Wtn1m.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CAk5s541.js.map → PkToolRequestOAuthConnection-BS9Wtn1m.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-CA1sKasD.js → PkToolShowArtifact-B3b6LYSx.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-CA1sKasD.js.map → PkToolShowArtifact-B3b6LYSx.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-Cb3lmDQZ.js → PkToolShowCalendarEvent-CL5valn9.js} +2 -2
- package/dist-vue/_chunks/PkToolShowCalendarEvent-CL5valn9.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-C0QHEj5k.js → PkToolShowContactForm-C7LaYE_c.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowContactForm-C0QHEj5k.js.map → PkToolShowContactForm-C7LaYE_c.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CQUd_reA.js → PkToolShowDiagram-CR-TthJm.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CQUd_reA.js.map → PkToolShowDiagram-CR-TthJm.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-B_ezmfuo.js → PkToolShowForm-BDaYT4E0.js} +100 -90
- package/dist-vue/_chunks/PkToolShowForm-BDaYT4E0.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowImageGallery-B8gmmHvk.js → PkToolShowImageGallery-ER7LyVJD.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-B8gmmHvk.js.map → PkToolShowImageGallery-ER7LyVJD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BMvt5mKe.js → PkToolShowProductList-B3iZIwOJ.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowProductList-BMvt5mKe.js.map → PkToolShowProductList-B3iZIwOJ.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowSources-ITHEa-D-.js +263 -0
- package/dist-vue/_chunks/PkToolShowSources-ITHEa-D-.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BE6gBA-2.js → PkToolShowSuggestedReply-CZm_THD0.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BE6gBA-2.js.map → PkToolShowSuggestedReply-CZm_THD0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-ZPDVzjPX.js → PkToolShowVideo-Pe0DhYm5.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-ZPDVzjPX.js.map → PkToolShowVideo-Pe0DhYm5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-dI4WMr7F.js → PkToolShowWebPages-ZfGH4XNP.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowWebPages-dI4WMr7F.js.map → PkToolShowWebPages-ZfGH4XNP.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-IlTQndxL.js → createChatbotApiClient-BVC9GxV_.js} +2 -2
- package/dist-vue/_chunks/createChatbotApiClient-BVC9GxV_.js.map +1 -0
- package/dist-vue/_chunks/{index.es-VzNLOQUv.js → index.es-Io4Mdm4X.js} +2 -2
- package/dist-vue/_chunks/{index.es-VzNLOQUv.js.map → index.es-Io4Mdm4X.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CtJ3bwuy.js → useChatbotStore-Drg3gBff.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-CtJ3bwuy.js.map → useChatbotStore-Drg3gBff.js.map} +1 -1
- package/dist-vue/_chunks/{utils-BzypADaU.js → utils-wUVFCJMG.js} +2 -2
- package/dist-vue/_chunks/{utils-BzypADaU.js.map → utils-wUVFCJMG.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +261 -191
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +249 -201
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +171 -169
- package/dist-vue/packages/ability/src/types.d.ts +0 -1
- package/dist-vue/packages/components/src/chat/PkDocumentHeader.d.ts +5 -0
- package/dist-vue/packages/components/src/chat/PkMessageDetail.d.ts +2 -2
- package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +4 -0
- package/dist-vue/packages/composable/src/useBranding.d.ts +0 -1
- package/dist-vue/packages/models/src/schema/Branding.d.ts +21 -9
- package/dist-vue/packages/models/src/schema/TimingLog.d.ts +4 -6
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-Bz23Ejuh.js.map +0 -1
- package/dist/_chunks/PkLazyImg-Ci06XyhW.js.map +0 -1
- package/dist/_chunks/PkToolRequestGeolocation-D4rIR3LN.js.map +0 -1
- package/dist/_chunks/PkToolShowCalendarEvent-DwxqgAUr.js.map +0 -1
- package/dist/_chunks/PkToolShowForm-BpTuRgHg.js.map +0 -1
- package/dist/_chunks/PkToolShowSources-B9nZyCAn.js.map +0 -1
- package/dist-vue/_chunks/Agent-Ci7XnQ12.js.map +0 -1
- package/dist-vue/_chunks/PkAvatar-paEJByEA.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-DD5RF7kY.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-D7XHDBGS.js.map +0 -1
- package/dist-vue/_chunks/PkLazyImg-CDxX9xnq.js.map +0 -1
- package/dist-vue/_chunks/PkToolRequestGeolocation-CE4zQofM.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowCalendarEvent-Cb3lmDQZ.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowForm-B_ezmfuo.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowSources-DEmjN0Ou.js +0 -242
- package/dist-vue/_chunks/PkToolShowSources-DEmjN0Ou.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-IlTQndxL.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-
|
|
2
|
+
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-BDaYT4E0.js";
|
|
3
3
|
import { C as i, S as a, _ as o, a as s, b as c, d as l, g as u, l as d, n as f, o as p, p as m, w as h, y as g } from "./_chunks/schemas-BIfOAo0P.js";
|
|
4
4
|
import { i as _, r as v } from "./_chunks/Media-Dk4odudr.js";
|
|
5
|
-
import { C as y, D as ee, E as b, F as x, I as S, L as C, M as te, N as w, P as ne, R as re, S as ie, T as ae, V as oe, _ as se, b as ce, d as le, g as ue, i as de, m as fe, n as T, o as pe, p as me, r as he, t as ge, u as _e, v as ve, w as ye, y as be } from "./_chunks/Agent-
|
|
6
|
-
import { c as xe, d as Se, l as Ce, r as we, s as Te, t as Ee, u as De } from "./_chunks/Document-
|
|
7
|
-
import { a as Oe, i as ke, n as Ae } from "./_chunks/createChatbotApiClient-
|
|
8
|
-
import { t as je } from "./_chunks/PkChatbotAuth-
|
|
9
|
-
import { n as Me, t as Ne } from "./_chunks/PkStreamingMarkdown-
|
|
10
|
-
import { a as Pe, i as Fe, n as Ie, r as Le } from "./_chunks/useChatbotStore-
|
|
5
|
+
import { C as y, D as ee, E as b, F as x, I as S, L as C, M as te, N as w, P as ne, R as re, S as ie, T as ae, V as oe, _ as se, b as ce, d as le, g as ue, i as de, m as fe, n as T, o as pe, p as me, r as he, t as ge, u as _e, v as ve, w as ye, y as be } from "./_chunks/Agent-iJ7nRWUV.js";
|
|
6
|
+
import { c as xe, d as Se, l as Ce, r as we, s as Te, t as Ee, u as De } from "./_chunks/Document-BFyHxMgI.js";
|
|
7
|
+
import { a as Oe, i as ke, n as Ae } from "./_chunks/createChatbotApiClient-BVC9GxV_.js";
|
|
8
|
+
import { t as je } from "./_chunks/PkChatbotAuth-CwsXLIku.js";
|
|
9
|
+
import { n as Me, t as Ne } from "./_chunks/PkStreamingMarkdown-CCu2pX2c.js";
|
|
10
|
+
import { a as Pe, i as Fe, n as Ie, r as Le } from "./_chunks/useChatbotStore-Drg3gBff.js";
|
|
11
11
|
import "./_chunks/src-DT8FLE4_.js";
|
|
12
12
|
import { c as Re, i as ze, s as Be } from "./_chunks/message-RohfrdWS.js";
|
|
13
|
-
import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotMessages-
|
|
13
|
+
import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotMessages-DJPqKh-G.js";
|
|
14
14
|
import { t as Ge } from "./_chunks/useSafeLocalStorage-Ce3S1Ayn.js";
|
|
15
15
|
import { t as Ke } from "./_chunks/useDialogConfirm-BxhvsnRr.js";
|
|
16
|
-
import { n as qe, r as Je, t as Ye } from "./_chunks/PkChatbotViewConversations-
|
|
17
|
-
import { i as Xe, n as Ze, r as Qe, t as $e } from "./_chunks/PkChatbotViewChat-
|
|
16
|
+
import { n as qe, r as Je, t as Ye } from "./_chunks/PkChatbotViewConversations-NNzeW5c6.js";
|
|
17
|
+
import { i as Xe, n as Ze, r as Qe, t as $e } from "./_chunks/PkChatbotViewChat-X9L9a53H.js";
|
|
18
18
|
import { t as et } from "./_chunks/PkChatbotError-CRGbK09-.js";
|
|
19
19
|
import { t as tt } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
20
20
|
import { t as nt } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
21
21
|
import { n as rt, t as it } from "./_chunks/PkRelativeTime--1cIphlA.js";
|
|
22
|
-
import { r as at, t as ot } from "./_chunks/PkToolShowArtifact-
|
|
22
|
+
import { r as at, t as ot } from "./_chunks/PkToolShowArtifact-B3b6LYSx.js";
|
|
23
23
|
import { $ as st, A as ct, B as lt, C as ut, Ct as dt, D as ft, E as pt, F as mt, G as ht, H as gt, I as _t, J as vt, K as yt, L as bt, M as xt, N as E, Q as St, S as Ct, St as wt, T as Tt, Tt as Et, U as Dt, V as Ot, W as kt, X as At, _t as jt, a as Mt, at as Nt, b as Pt, bt as Ft, c as It, ct as Lt, d as Rt, dt as zt, et as Bt, f as Vt, gt as Ht, h as Ut, it as Wt, j as Gt, k as Kt, l as D, lt as O, mt as qt, nt as Jt, o as Yt, ot as Xt, pt as Zt, q as Qt, rt as $t, st as en, tt as tn, u as nn, ut as rn, vt as an, w as on, wt as sn, x as cn, xt as ln, y as un, yt as dn, z as fn } from "./_chunks/dist-DLs-FvuY.js";
|
|
24
24
|
import { n as pn, t as mn } from "./_chunks/dist-BNG63goF.js";
|
|
25
25
|
import { n as hn, r as gn } from "./_chunks/dist-DPNJlSyW.js";
|
|
26
|
-
import { d as _n, y as vn } from "./_chunks/utils-
|
|
27
|
-
import { t as yn } from "./_chunks/PkLazyImg-
|
|
26
|
+
import { d as _n, y as vn } from "./_chunks/utils-wUVFCJMG.js";
|
|
27
|
+
import { t as yn } from "./_chunks/PkLazyImg-X5BMNU_R.js";
|
|
28
28
|
import { n as bn, r as xn, t as Sn } from "./_chunks/PkChatbotFilePreview-Dq9JBX9U.js";
|
|
29
29
|
import { t as Cn } from "./_chunks/PkSvgViewer-D1y8hZRW.js";
|
|
30
30
|
import { t as wn } from "./_chunks/PkUrl-CN1kkZiH.js";
|
|
31
|
-
import { t as Tn } from "./_chunks/PkAvatar-
|
|
32
|
-
import { t as En } from "./_chunks/PkChatbotFeedbackForm-
|
|
33
|
-
import { n as Dn, t as On } from "./_chunks/PkChatbotSteps-
|
|
34
|
-
import { t as kn } from "./_chunks/PkChatbotStepPayload-
|
|
35
|
-
import { t as An } from "./_chunks/PkChatbotStepToolDetail-
|
|
36
|
-
import { n as jn, t as Mn } from "./_chunks/PkChatbotInput-
|
|
37
|
-
import { t as Nn } from "./_chunks/PkChatbotEmptyState-
|
|
38
|
-
import { t as Pn } from "./_chunks/PkChatbotViewProfile-
|
|
39
|
-
import { t as Fn } from "./_chunks/PkChatbot-
|
|
40
|
-
import { i as In, r as Ln, t as Rn } from "./_chunks/PkToolShowSources-
|
|
31
|
+
import { t as Tn } from "./_chunks/PkAvatar-ZgCsoO-p.js";
|
|
32
|
+
import { t as En } from "./_chunks/PkChatbotFeedbackForm-CYiwvSs_.js";
|
|
33
|
+
import { n as Dn, t as On } from "./_chunks/PkChatbotSteps-CeuoK2Gk.js";
|
|
34
|
+
import { t as kn } from "./_chunks/PkChatbotStepPayload-dl2-8f27.js";
|
|
35
|
+
import { t as An } from "./_chunks/PkChatbotStepToolDetail-f8zOnu2W.js";
|
|
36
|
+
import { n as jn, t as Mn } from "./_chunks/PkChatbotInput-D7IIfTw1.js";
|
|
37
|
+
import { t as Nn } from "./_chunks/PkChatbotEmptyState-CQCBF59f.js";
|
|
38
|
+
import { t as Pn } from "./_chunks/PkChatbotViewProfile-CzY3lj4N.js";
|
|
39
|
+
import { t as Fn } from "./_chunks/PkChatbot-Ct2nH8y4.js";
|
|
40
|
+
import { i as In, r as Ln, t as Rn } from "./_chunks/PkToolShowSources-ITHEa-D-.js";
|
|
41
41
|
import { t as zn } from "./_chunks/mcpOAuthReport-DG84H11Y.js";
|
|
42
42
|
import { t as Bn } from "./_chunks/PkToolShowEmail-C591LR5N.js";
|
|
43
43
|
import { t as Vn } from "./_chunks/PkToolShowMessage-CbXERPHI.js";
|
|
44
|
-
import { t as Hn } from "./_chunks/PkToolShowWebPages-
|
|
45
|
-
import { t as Un } from "./_chunks/PkToolShowProductList-
|
|
46
|
-
import { t as Wn } from "./_chunks/PkToolShowContactForm-
|
|
47
|
-
import { t as Gn } from "./_chunks/PkToolShowCalendarEvent-
|
|
44
|
+
import { t as Hn } from "./_chunks/PkToolShowWebPages-ZfGH4XNP.js";
|
|
45
|
+
import { t as Un } from "./_chunks/PkToolShowProductList-B3iZIwOJ.js";
|
|
46
|
+
import { t as Wn } from "./_chunks/PkToolShowContactForm-C7LaYE_c.js";
|
|
47
|
+
import { t as Gn } from "./_chunks/PkToolShowCalendarEvent-CL5valn9.js";
|
|
48
48
|
import { t as Kn } from "./_chunks/PkToolShowComparison-DQs3E6-k.js";
|
|
49
49
|
import { t as qn } from "./_chunks/PkToolShowLocation-Bv6sLN5P.js";
|
|
50
50
|
import { t as Jn } from "./_chunks/PkToolShowQrCode-DEAvfLFu.js";
|
|
51
|
-
import { t as Yn } from "./_chunks/PkToolShowImageGallery-
|
|
52
|
-
import { t as Xn } from "./_chunks/PkToolShowSuggestedReply-
|
|
51
|
+
import { t as Yn } from "./_chunks/PkToolShowImageGallery-ER7LyVJD.js";
|
|
52
|
+
import { t as Xn } from "./_chunks/PkToolShowSuggestedReply-CZm_THD0.js";
|
|
53
53
|
import { VvAccordion as Zn, VvAccordionGroup as Qn, VvAlert as $n, VvAlertGroup as er, VvBadge as tr, VvButton as nr, VvButtonGroup as rr, VvCheckbox as ir, VvCombobox as ar, VvDialog as or, VvDropdown as sr, VvDropdownAction as cr, VvIcon as lr, VvInputFile as ur, VvInputRange as dr, VvInputText as fr, VvTab as pr, VvTooltip as mr } from "@volverjs/ui-vue/components";
|
|
54
54
|
import { Fragment as k, Teleport as hr, Transition as gr, TransitionGroup as _r, cloneVNode as vr, computed as A, createApp as yr, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as br, createStaticVNode as xr, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Sr, h as Cr, inject as R, isRef as wr, isVNode as Tr, mergeModels as Er, mergeProps as Dr, nextTick as Or, normalizeClass as kr, normalizeProps as Ar, normalizeStyle as jr, onBeforeUnmount as Mr, onMounted as Nr, onUnmounted as Pr, openBlock as z, provide as Fr, reactive as Ir, readonly as Lr, ref as B, renderList as Rr, renderSlot as V, resolveComponent as zr, resolveDynamicComponent as Br, shallowRef as Vr, toDisplayString as H, toRef as Hr, toRefs as Ur, unref as U, useId as Wr, useModel as W, useSlots as Gr, vModelSelect as Kr, vModelText as qr, watch as G, withCtx as K, withDirectives as Jr, withKeys as Yr, withModifiers as Xr } from "vue";
|
|
55
55
|
import { useI18n as Zr } from "vue-i18n";
|
|
@@ -1385,14 +1385,20 @@ var ho = {
|
|
|
1385
1385
|
}, null, 8, ["title"])]), P("div", Oo, [
|
|
1386
1386
|
I(a, {
|
|
1387
1387
|
"model-value": e.field.key,
|
|
1388
|
+
"aria-label": U(i)("label.name"),
|
|
1388
1389
|
placeholder: U(i)("label.name"),
|
|
1389
1390
|
name: "key",
|
|
1390
1391
|
modifiers: "compact",
|
|
1391
1392
|
class: "pk-schema-field__input-name",
|
|
1392
1393
|
"onUpdate:modelValue": s
|
|
1393
|
-
}, null, 8, [
|
|
1394
|
+
}, null, 8, [
|
|
1395
|
+
"model-value",
|
|
1396
|
+
"aria-label",
|
|
1397
|
+
"placeholder"
|
|
1398
|
+
]),
|
|
1394
1399
|
I(b, {
|
|
1395
1400
|
"model-value": e.field.type,
|
|
1401
|
+
"aria-label": U(i)("label.type"),
|
|
1396
1402
|
options: U(o),
|
|
1397
1403
|
"value-key": "value",
|
|
1398
1404
|
"label-key": "label",
|
|
@@ -1414,7 +1420,11 @@ var ho = {
|
|
|
1414
1420
|
class: "pk-schema-field__type-icon"
|
|
1415
1421
|
}, null, 8, ["name"]), P("span", null, H(e[0].label), 1)])) : M("", !0)]),
|
|
1416
1422
|
_: 1
|
|
1417
|
-
}, 8, [
|
|
1423
|
+
}, 8, [
|
|
1424
|
+
"model-value",
|
|
1425
|
+
"aria-label",
|
|
1426
|
+
"options"
|
|
1427
|
+
]),
|
|
1418
1428
|
P("div", jo, [I(r, {
|
|
1419
1429
|
modifiers: "action-quiet",
|
|
1420
1430
|
icon: v.value ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
@@ -1435,24 +1445,35 @@ var ho = {
|
|
|
1435
1445
|
v.value ? (z(), N("div", Mo, [
|
|
1436
1446
|
I(a, {
|
|
1437
1447
|
"model-value": e.field.description,
|
|
1448
|
+
"aria-label": U(i)("label.description"),
|
|
1438
1449
|
placeholder: U(i)("label.description"),
|
|
1439
1450
|
name: "description",
|
|
1440
1451
|
class: "pk-schema-field__input-desc",
|
|
1441
1452
|
modifiers: "compact",
|
|
1442
1453
|
"onUpdate:modelValue": l
|
|
1443
|
-
}, null, 8, [
|
|
1454
|
+
}, null, 8, [
|
|
1455
|
+
"model-value",
|
|
1456
|
+
"aria-label",
|
|
1457
|
+
"placeholder"
|
|
1458
|
+
]),
|
|
1444
1459
|
I(a, {
|
|
1445
1460
|
"model-value": e.field.constValue,
|
|
1461
|
+
"aria-label": U(i)("label.const"),
|
|
1446
1462
|
placeholder: U(i)("label.const"),
|
|
1447
1463
|
name: "constValue",
|
|
1448
1464
|
class: "pk-schema-field__input-const",
|
|
1449
1465
|
modifiers: "compact",
|
|
1450
1466
|
"onUpdate:modelValue": u
|
|
1451
|
-
}, null, 8, [
|
|
1467
|
+
}, null, 8, [
|
|
1468
|
+
"model-value",
|
|
1469
|
+
"aria-label",
|
|
1470
|
+
"placeholder"
|
|
1471
|
+
]),
|
|
1452
1472
|
U(Ba)(e.field.type) ? M("", !0) : (z(), j(b, {
|
|
1453
1473
|
key: 0,
|
|
1454
1474
|
"model-value": e.field.enumValues ?? [],
|
|
1455
1475
|
options: [],
|
|
1476
|
+
"aria-label": U(i)("label.enum"),
|
|
1456
1477
|
placeholder: U(i)("label.enum"),
|
|
1457
1478
|
"search-placeholder": U(i)("action.add"),
|
|
1458
1479
|
"add-option-hint-label": U(i)("action.addHint"),
|
|
@@ -1468,6 +1489,7 @@ var ho = {
|
|
|
1468
1489
|
"onUpdate:modelValue": d
|
|
1469
1490
|
}, null, 8, [
|
|
1470
1491
|
"model-value",
|
|
1492
|
+
"aria-label",
|
|
1471
1493
|
"placeholder",
|
|
1472
1494
|
"search-placeholder",
|
|
1473
1495
|
"add-option-hint-label"
|
|
@@ -15507,10 +15529,11 @@ var BS = { class: "pk-editor-markdown" }, VS = {
|
|
|
15507
15529
|
});
|
|
15508
15530
|
let s = (e) => {
|
|
15509
15531
|
o.value = e, a("update:modelValue", e);
|
|
15510
|
-
}, c = `md-editor-${Math.random().toString(36).slice(2, 11)}`;
|
|
15532
|
+
}, c = `md-editor-${Math.random().toString(36).slice(2, 11)}`, l = ({ index: e }) => `${c}-h${e}`;
|
|
15511
15533
|
return (t, n) => (z(), N("div", BS, [e.label ? (z(), N("span", VS, H(e.label), 1)) : M("", !0), P("div", HS, [I(U(zS), {
|
|
15512
15534
|
id: c,
|
|
15513
15535
|
class: "wysiwyg",
|
|
15536
|
+
"md-heading-id": l,
|
|
15514
15537
|
"model-value": o.value,
|
|
15515
15538
|
placeholder: e.placeholder,
|
|
15516
15539
|
language: e.language,
|
|
@@ -15547,7 +15570,7 @@ var BS = { class: "pk-editor-markdown" }, VS = {
|
|
|
15547
15570
|
modelValue: { default: void 0 },
|
|
15548
15571
|
modifiers: { default: () => [] },
|
|
15549
15572
|
label: { default: "" },
|
|
15550
|
-
id: { default:
|
|
15573
|
+
id: { default: void 0 },
|
|
15551
15574
|
name: {},
|
|
15552
15575
|
accept: { default: "" },
|
|
15553
15576
|
loading: { type: Boolean },
|
|
@@ -15567,20 +15590,20 @@ var BS = { class: "pk-editor-markdown" }, VS = {
|
|
|
15567
15590
|
"download-url"
|
|
15568
15591
|
],
|
|
15569
15592
|
setup(e, { emit: t }) {
|
|
15570
|
-
let n = e, { getDownloadHandle: r, createMediaFromFile: i } = uo(), { t:
|
|
15593
|
+
let n = e, { getDownloadHandle: r, createMediaFromFile: i } = uo(), a = Wr(), { t: o } = Zr({ useScope: "global" }), s = B(!1), c = B(!1), l = B(0), u = B(""), d = B(0), f = B(0), p = t, m = oi(n, "modelValue", p), h = A(() => n.multiple || Array.isArray(m.value)), g = async (e, t) => {
|
|
15571
15594
|
try {
|
|
15572
|
-
return
|
|
15595
|
+
return c.value = !0, await r(e.src, t);
|
|
15573
15596
|
} catch {
|
|
15574
15597
|
return null;
|
|
15575
15598
|
} finally {
|
|
15576
|
-
|
|
15599
|
+
c.value = !1;
|
|
15577
15600
|
}
|
|
15578
|
-
},
|
|
15579
|
-
if (!
|
|
15580
|
-
if (Array.isArray(
|
|
15601
|
+
}, _ = Qr(async () => {
|
|
15602
|
+
if (!m.value) return [];
|
|
15603
|
+
if (Array.isArray(m.value)) {
|
|
15581
15604
|
let e = [];
|
|
15582
|
-
for (let t of
|
|
15583
|
-
let n = await
|
|
15605
|
+
for (let t of m.value) {
|
|
15606
|
+
let n = await g(t, Ae.Backoffice);
|
|
15584
15607
|
n && e.push({
|
|
15585
15608
|
name: t.name,
|
|
15586
15609
|
size: t.src.bytesCount,
|
|
@@ -15591,68 +15614,68 @@ var BS = { class: "pk-editor-markdown" }, VS = {
|
|
|
15591
15614
|
}
|
|
15592
15615
|
return e;
|
|
15593
15616
|
}
|
|
15594
|
-
let e = await
|
|
15617
|
+
let e = await g(m.value, Ae.Backoffice);
|
|
15595
15618
|
return e ? {
|
|
15596
|
-
name:
|
|
15597
|
-
size:
|
|
15598
|
-
type:
|
|
15619
|
+
name: m.value.name,
|
|
15620
|
+
size: m.value.src.bytesCount,
|
|
15621
|
+
type: m.value.src.mimeType,
|
|
15599
15622
|
url: e.downloadHandle.downloadSasuri,
|
|
15600
|
-
source:
|
|
15623
|
+
source: m.value
|
|
15601
15624
|
} : [];
|
|
15602
|
-
}),
|
|
15603
|
-
if (Array.isArray(e) && !
|
|
15625
|
+
}), v = async (e) => {
|
|
15626
|
+
if (Array.isArray(e) && !h.value && (e = e?.[0]), !e) h.value ? m.value = [] : m.value = void 0;
|
|
15604
15627
|
else if (Array.isArray(e)) {
|
|
15605
|
-
|
|
15628
|
+
d.value = e.length, l.value = 0;
|
|
15606
15629
|
let t = [];
|
|
15607
15630
|
for (let n of e) {
|
|
15608
|
-
if (
|
|
15631
|
+
if (l.value++, u.value = n.name, !(n instanceof File)) {
|
|
15609
15632
|
n.source && t.push(n.source);
|
|
15610
15633
|
continue;
|
|
15611
15634
|
}
|
|
15612
|
-
let e = await
|
|
15635
|
+
let e = await y(n);
|
|
15613
15636
|
e && t.push(e);
|
|
15614
15637
|
}
|
|
15615
|
-
|
|
15638
|
+
m.value = t;
|
|
15616
15639
|
} else if (e instanceof File) {
|
|
15617
|
-
|
|
15618
|
-
let t = await
|
|
15619
|
-
t && (
|
|
15620
|
-
} else e.source && (
|
|
15621
|
-
},
|
|
15622
|
-
|
|
15640
|
+
d.value = 1, l.value = 1, u.value = e.name;
|
|
15641
|
+
let t = await y(e);
|
|
15642
|
+
t && (m.value = t);
|
|
15643
|
+
} else e.source && (m.value = e.source);
|
|
15644
|
+
}, y = async (e) => {
|
|
15645
|
+
s.value = !0, f.value = 0;
|
|
15623
15646
|
let t = await i(e);
|
|
15624
|
-
if (
|
|
15625
|
-
},
|
|
15626
|
-
if (
|
|
15647
|
+
if (s.value = !1, f.value = 0, t) return p("upload-success", t), t;
|
|
15648
|
+
}, ee = A(() => {
|
|
15649
|
+
if (c.value) return o("label.downloading");
|
|
15627
15650
|
let e = "";
|
|
15628
|
-
return
|
|
15629
|
-
index:
|
|
15630
|
-
total:
|
|
15631
|
-
}) + " - "), e += `${
|
|
15651
|
+
return d.value > 1 && (e = o("label.upload", {
|
|
15652
|
+
index: l.value,
|
|
15653
|
+
total: d.value
|
|
15654
|
+
}) + " - "), e += `${f.value}% ${u.value}`, e;
|
|
15632
15655
|
});
|
|
15633
15656
|
return (t, n) => {
|
|
15634
15657
|
let r = ur;
|
|
15635
|
-
return U(
|
|
15658
|
+
return U(_) ? (z(), j(r, Dr({
|
|
15636
15659
|
key: 0,
|
|
15637
|
-
"model-value": U(
|
|
15660
|
+
"model-value": U(_)
|
|
15638
15661
|
}, {
|
|
15639
15662
|
modifiers: e.modifiers,
|
|
15640
15663
|
label: e.label,
|
|
15641
|
-
id: e.id,
|
|
15664
|
+
id: e.id ?? U(a),
|
|
15642
15665
|
name: e.name,
|
|
15643
15666
|
accept: e.accept,
|
|
15644
|
-
loading: e.loading ||
|
|
15667
|
+
loading: e.loading || s.value || c.value,
|
|
15645
15668
|
valid: e.valid,
|
|
15646
15669
|
invalid: e.invalid,
|
|
15647
15670
|
invalidLabel: e.invalidLabel,
|
|
15648
15671
|
hintLabel: e.hint,
|
|
15649
|
-
loadingLabel:
|
|
15650
|
-
progress:
|
|
15672
|
+
loadingLabel: ee.value,
|
|
15673
|
+
progress: f.value,
|
|
15651
15674
|
placeholder: e.placeholder,
|
|
15652
15675
|
multiple: e.multiple,
|
|
15653
15676
|
readonly: e.readonly,
|
|
15654
15677
|
max: e.max
|
|
15655
|
-
}, { "onUpdate:modelValue":
|
|
15678
|
+
}, { "onUpdate:modelValue": v }), null, 16, ["model-value"])) : M("", !0);
|
|
15656
15679
|
};
|
|
15657
15680
|
}
|
|
15658
15681
|
}), GS = {
|
|
@@ -16266,7 +16289,6 @@ var kC = /*#__PURE__*/ EC(DC, [["render", OC]]), AC = {
|
|
|
16266
16289
|
}, H(U(i)("text", { name: U(a) })), 9, FC),
|
|
16267
16290
|
n[2] ||= P("hr", { class: "vv-separator mt-32 mb-24" }, null, -1),
|
|
16268
16291
|
P("div", IC, [I(u, {
|
|
16269
|
-
modifiers: "primary",
|
|
16270
16292
|
icon: "reload",
|
|
16271
16293
|
label: t.$t("action.retry"),
|
|
16272
16294
|
loading: e.checking,
|
|
@@ -16724,6 +16746,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
16724
16746
|
"select-hint-label": "",
|
|
16725
16747
|
"deselect-hint-label": "",
|
|
16726
16748
|
"selected-hint-label": "",
|
|
16749
|
+
"aria-label": U(n)("placeholder.selectAgent"),
|
|
16727
16750
|
placeholder: U(n)("placeholder.selectAgent"),
|
|
16728
16751
|
unselectable: !1,
|
|
16729
16752
|
disabled: e.agents.length < 2,
|
|
@@ -16745,6 +16768,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
16745
16768
|
}, 8, [
|
|
16746
16769
|
"modelValue",
|
|
16747
16770
|
"options",
|
|
16771
|
+
"aria-label",
|
|
16748
16772
|
"placeholder",
|
|
16749
16773
|
"disabled"
|
|
16750
16774
|
]);
|
|
@@ -17887,8 +17911,8 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
17887
17911
|
}
|
|
17888
17912
|
}), Gw = { class: "pk-agent-settings-panel" }, Kw = { class: "xl:grid grid-cols-2 gap-x-md items-start" }, qw = { class: "flex items-center gap-8" }, Jw = { class: "flex items-center gap-8" }, Yw = {
|
|
17889
17913
|
key: 0,
|
|
17890
|
-
class: "text-12 text-word-3
|
|
17891
|
-
}, Xw = { class: "p-8 flex flex-col" }, Zw = { class: "flex flex-col ml-12 gap-2" }, Qw = { class: "text-12 text-word-3" }, $w = { class: "mb-md" }, eT = { class: "flex items-center gap-xs mb-2" }, tT = ["for"], nT = { class: "
|
|
17914
|
+
class: "pk-agent-settings-panel__model-note text-12 text-word-3 mb-md"
|
|
17915
|
+
}, Xw = { class: "p-8 flex flex-col" }, Zw = { class: "flex flex-col ml-12 gap-2" }, Qw = { class: "text-12 text-word-3" }, $w = { class: "mb-md" }, eT = { class: "flex items-center gap-xs mb-2" }, tT = ["for"], nT = { class: "relative cursor-help text-word-3" }, rT = { class: "mb-md" }, iT = { class: "flex items-center gap-xs mb-2" }, aT = ["for"], oT = { class: "relative cursor-help text-word-3" }, sT = { class: "text-12 text-word-3 mt-xs leading-normal" }, cT = { class: "flex flex-col ml-12 gap-2" }, lT = { class: "text-12 text-word-3" }, uT = { class: "mb-md" }, dT = { class: "flex items-center gap-xs mb-2" }, fT = ["for"], pT = { class: "relative cursor-help text-word-3" }, mT = { class: "mb-md" }, hT = { class: "flex items-center gap-xs mb-2" }, gT = ["for"], _T = { class: "relative cursor-help text-word-3" }, vT = { class: "flex flex-col ml-12 gap-2" }, yT = { class: "text-12 text-word-3" }, bT = { class: "flex flex-col ml-12 gap-2" }, xT = { class: "text-12 text-word-3" }, ST = { class: "flex flex-col ml-12 gap-2" }, CT = { class: "text-12 text-word-3" }, wT = { class: "flex items-end gap-sm mt-md" }, TT = { class: "flex flex-col gap-2 min-w-0" }, ET = { class: "truncate" }, DT = {
|
|
17892
17916
|
key: 0,
|
|
17893
17917
|
class: "text-12 text-word-3 truncate"
|
|
17894
17918
|
}, OT = { class: "p-8 flex flex-col" }, kT = { class: "flex flex-col ml-12 gap-2" }, AT = { class: "text-12 text-word-3" }, jT = { class: "flex gap-sm mt-md" }, MT = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, NT = { class: "p-8 flex flex-col" }, PT = { class: "grid sm:grid-cols-2 gap-md items-start" }, FT = { class: "flex flex-col gap-md" }, IT = { class: "text-12 text-word-3 mb-sm" }, LT = { class: "flex items-center gap-4" }, RT = { class: "text-12 text-word-3 mb-sm" }, zT = { class: "flex flex-col nx-md nb-md" }, BT = { class: "flex flex-col ml-12 gap-2" }, VT = { class: "flex items-center gap-8" }, HT = { class: "font-semibold" }, UT = { class: "text-12 text-word-3" }, WT = ["title"], GT = { class: "p-xs flex gap-md items-start" }, KT = { class: "flex flex-col gap-md" }, qT = { class: "font-semibold mb-xs" }, JT = { class: "text-smaller" }, YT = { key: 2 }, XT = { class: "p-8 flex flex-col" }, ZT = { class: "text-smaller mb-xs" }, QT = { class: "font-semibold mb-xs" }, $T = { class: "text-smaller" }, eE = { class: "font-semibold mb-xs" }, tE = { class: "text-smaller" }, nE = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, rE = { class: "grid sm:grid-cols-2 gap-md" }, iE = { class: "text-12 text-word-3 mb-md" }, aE = /* @__PURE__ */ L({
|
|
@@ -19851,7 +19875,6 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
19851
19875
|
"keep-open": ""
|
|
19852
19876
|
}, {
|
|
19853
19877
|
footer: K(() => [I(Ne, {
|
|
19854
|
-
modifiers: "primary",
|
|
19855
19878
|
label: U(n)("action.close"),
|
|
19856
19879
|
onClick: c[66] ||= (e) => At.value = !1
|
|
19857
19880
|
}, null, 8, ["label"])]),
|
|
@@ -20080,6 +20103,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20080
20103
|
return z(), N("div", { class: kr(["pk-chat-sidebar-item", { "pk-chat-sidebar-item--active": e.active }]) }, [e.editing ? (z(), N(k, { key: 0 }, [I(s, {
|
|
20081
20104
|
modelValue: r.value,
|
|
20082
20105
|
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
20106
|
+
"aria-label": U(a)("label.title"),
|
|
20083
20107
|
name: "conversation-title",
|
|
20084
20108
|
class: "pk-chat-sidebar-item__edit",
|
|
20085
20109
|
modifiers: "compact",
|
|
@@ -20088,7 +20112,11 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20088
20112
|
maxlength: 255,
|
|
20089
20113
|
placeholder: U(a)("placeholder.insert"),
|
|
20090
20114
|
onKeydown: n[1] ||= (e) => i("edit-keydown", e)
|
|
20091
|
-
}, null, 8, [
|
|
20115
|
+
}, null, 8, [
|
|
20116
|
+
"modelValue",
|
|
20117
|
+
"aria-label",
|
|
20118
|
+
"placeholder"
|
|
20119
|
+
]), I(l, { modifiers: "compact" }, {
|
|
20092
20120
|
default: K(() => [I(c, {
|
|
20093
20121
|
icon: "ri:save-line",
|
|
20094
20122
|
title: U(a)("action.save"),
|
|
@@ -20277,8 +20305,13 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20277
20305
|
modifiers: "search",
|
|
20278
20306
|
icon: "ri:search-line",
|
|
20279
20307
|
"icon-position": "before",
|
|
20308
|
+
"aria-label": U(s)("placeholder.search"),
|
|
20280
20309
|
placeholder: U(s)("placeholder.search")
|
|
20281
|
-
}, null, 8, [
|
|
20310
|
+
}, null, 8, [
|
|
20311
|
+
"modelValue",
|
|
20312
|
+
"aria-label",
|
|
20313
|
+
"placeholder"
|
|
20314
|
+
])
|
|
20282
20315
|
]),
|
|
20283
20316
|
U(u) && U(l).length === 0 ? (z(), N("div", fE, [(z(), N(k, null, Rr(6, (e) => P("div", {
|
|
20284
20317
|
key: e,
|
|
@@ -20331,7 +20364,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20331
20364
|
}), xE = {
|
|
20332
20365
|
key: 0,
|
|
20333
20366
|
class: "pk-tool-selection"
|
|
20334
|
-
}, SE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, CE = { class: "flex items-center bg-gray
|
|
20367
|
+
}, SE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, CE = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, wE = { class: "font-semibold text-12 truncate" }, TE = {
|
|
20335
20368
|
key: 0,
|
|
20336
20369
|
class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
|
|
20337
20370
|
}, EE = ["title"], DE = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, OE = { class: "border rounded-b border-surface-3" }, kE = {
|
|
@@ -20465,7 +20498,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20465
20498
|
])])) : M("", !0);
|
|
20466
20499
|
};
|
|
20467
20500
|
}
|
|
20468
|
-
}), ZE = ["aria-labelledby"], QE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, $E = { class: "flex items-center bg-gray
|
|
20501
|
+
}), ZE = ["aria-labelledby"], QE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, $E = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, eD = ["id"], tD = {
|
|
20469
20502
|
key: 0,
|
|
20470
20503
|
class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
|
|
20471
20504
|
}, nD = ["title"], rD = { class: "u-visually-hidden" }, iD = ["title"], aD = { class: "u-visually-hidden" }, oD = { class: "border rounded-b border-surface-3" }, sD = {
|
|
@@ -20584,7 +20617,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20584
20617
|
}, ND = {
|
|
20585
20618
|
key: 3,
|
|
20586
20619
|
class: "flex items-center gap-4 min-w-0"
|
|
20587
|
-
}, PD = { class: "truncate" }, FD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, ID = { class: "font-semibold truncate" }, LD = ["title"], RD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, zD = { class: "font-semibold truncate" }, BD = ["title"], VD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, HD = { class: "font-semibold truncate" }, UD = ["title"], WD = { class: "flex flex-col gap-16" }, GD = { class: "flex items-center bg-gray
|
|
20620
|
+
}, PD = { class: "truncate" }, FD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, ID = { class: "font-semibold truncate" }, LD = ["title"], RD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, zD = { class: "font-semibold truncate" }, BD = ["title"], VD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, HD = { class: "font-semibold truncate" }, UD = ["title"], WD = { class: "flex flex-col gap-16" }, GD = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, KD = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, qD = { class: "font-bold text-12" }, JD = { class: "text-10" }, YD = { class: "font-mono text-10 text-word-2 truncate" }, XD = {
|
|
20588
20621
|
key: 0,
|
|
20589
20622
|
class: "text-10 text-word-4 whitespace-nowrap ml-auto"
|
|
20590
20623
|
}, ZD = { key: 0 }, QD = { class: "border rounded-b border-surface-3" }, $D = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, eO = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, tO = /* @__PURE__ */ L({
|
|
@@ -20774,19 +20807,19 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20774
20807
|
}), nO = {
|
|
20775
20808
|
key: 0,
|
|
20776
20809
|
class: "border-t border-surface-3"
|
|
20777
|
-
}, rO = { class: "flex flex-col" }, iO = ["onClick"],
|
|
20810
|
+
}, rO = { class: "flex flex-col" }, iO = { class: "flex items-center hover:bg-surface-1 transition-colors" }, aO = ["aria-expanded", "onClick"], oO = { class: "flex items-center gap-4 shrink-0" }, sO = {
|
|
20778
20811
|
key: 0,
|
|
20779
20812
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
|
|
20780
|
-
},
|
|
20813
|
+
}, cO = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, lO = {
|
|
20781
20814
|
key: 0,
|
|
20782
20815
|
class: "border-t border-surface-3"
|
|
20783
|
-
},
|
|
20816
|
+
}, uO = {
|
|
20784
20817
|
key: 0,
|
|
20785
20818
|
class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
|
|
20786
|
-
},
|
|
20819
|
+
}, dO = ["onClick"], fO = {
|
|
20787
20820
|
key: 0,
|
|
20788
20821
|
class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
|
|
20789
|
-
},
|
|
20822
|
+
}, pO = { class: "flex justify-between items-center gap-4 min-w-0" }, mO = { class: "font-semibold text-12 truncate" }, hO = /* @__PURE__ */ L({
|
|
20790
20823
|
__name: "PkMessageDetail",
|
|
20791
20824
|
props: {
|
|
20792
20825
|
message: {},
|
|
@@ -20810,7 +20843,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20810
20843
|
return [...t.values()];
|
|
20811
20844
|
};
|
|
20812
20845
|
return (s, c) => {
|
|
20813
|
-
let l =
|
|
20846
|
+
let l = lr, u = nr, d = Zn;
|
|
20814
20847
|
return z(), j(tO, { message: e.message }, br({
|
|
20815
20848
|
subagent: K(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (z(), j(d, {
|
|
20816
20849
|
key: 0,
|
|
@@ -20818,7 +20851,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20818
20851
|
modifiers: "details",
|
|
20819
20852
|
class: "border-t border-surface-3"
|
|
20820
20853
|
}, {
|
|
20821
|
-
default: K(() => [P("div",
|
|
20854
|
+
default: K(() => [P("div", pO, [P("strong", mO, H(t.output.subAgentName ?? t.input?.objective), 1), I(u, {
|
|
20822
20855
|
modifiers: "action-small",
|
|
20823
20856
|
icon: "ri:eye-line",
|
|
20824
20857
|
class: "text-10 shrink-0",
|
|
@@ -20837,44 +20870,50 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20837
20870
|
_: 2
|
|
20838
20871
|
}, [e.canReadDocuments ? {
|
|
20839
20872
|
name: "tool-search-in-knowledge-base",
|
|
20840
|
-
fn: K(({ part:
|
|
20873
|
+
fn: K(({ part: c }) => [c.output?.results?.length ? (z(), N("div", nO, [P("ul", rO, [(z(!0), N(k, null, Rr(o(c.output.results), (o) => (z(), N("li", {
|
|
20841
20874
|
key: o.document.id,
|
|
20842
20875
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20843
|
-
}, [P("button", {
|
|
20844
|
-
|
|
20876
|
+
}, [P("div", iO, [P("button", {
|
|
20877
|
+
type: "button",
|
|
20878
|
+
class: "flex items-center gap-8 p-8 flex-1 min-w-0 text-left cursor-pointer",
|
|
20879
|
+
"aria-expanded": t.has(o.document.id),
|
|
20845
20880
|
onClick: (e) => r(o.document.id)
|
|
20846
20881
|
}, [I(Ln, {
|
|
20847
20882
|
type: o.document.type,
|
|
20848
20883
|
name: o.document.name ?? o.document.source.filename ?? o.document.id,
|
|
20849
20884
|
url: o.document.source.url,
|
|
20850
|
-
filename: o.document.source.filename
|
|
20885
|
+
filename: o.document.source.filename,
|
|
20886
|
+
"muted-url": ""
|
|
20851
20887
|
}, null, 8, [
|
|
20852
20888
|
"type",
|
|
20853
20889
|
"name",
|
|
20854
20890
|
"url",
|
|
20855
20891
|
"filename"
|
|
20856
|
-
]), P("div",
|
|
20857
|
-
o.chunks.length > 1 ? (z(), N("span",
|
|
20858
|
-
P("span",
|
|
20892
|
+
]), P("div", oO, [
|
|
20893
|
+
o.chunks.length > 1 ? (z(), N("span", sO, H(o.chunks.length), 1)) : M("", !0),
|
|
20894
|
+
P("span", cO, H(o.document.language), 1),
|
|
20859
20895
|
I(l, {
|
|
20860
|
-
modifiers: "action-quiet-small",
|
|
20861
|
-
icon: "ri:eye-line",
|
|
20862
|
-
class: "text-10",
|
|
20863
|
-
title: s.$t("action.view"),
|
|
20864
|
-
to: {
|
|
20865
|
-
name: "/backoffice/agents/[id]/documents/[documentId]",
|
|
20866
|
-
params: {
|
|
20867
|
-
id: e.agentId,
|
|
20868
|
-
documentId: o.document.id
|
|
20869
|
-
}
|
|
20870
|
-
},
|
|
20871
|
-
onClick: c[0] ||= Xr(() => {}, ["stop"])
|
|
20872
|
-
}, null, 8, ["title", "to"]),
|
|
20873
|
-
I(u, {
|
|
20874
20896
|
name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
20875
20897
|
class: "text-16 text-word-3"
|
|
20876
20898
|
}, null, 8, ["name"])
|
|
20877
|
-
])], 8,
|
|
20899
|
+
])], 8, aO), I(u, {
|
|
20900
|
+
modifiers: "action-quiet-small",
|
|
20901
|
+
icon: "ri:eye-line",
|
|
20902
|
+
class: "text-10 shrink-0 mr-8",
|
|
20903
|
+
title: s.$t("action.view"),
|
|
20904
|
+
"aria-label": s.$t("action.view"),
|
|
20905
|
+
to: {
|
|
20906
|
+
name: "/backoffice/agents/[id]/documents/[documentId]",
|
|
20907
|
+
params: {
|
|
20908
|
+
id: e.agentId,
|
|
20909
|
+
documentId: o.document.id
|
|
20910
|
+
}
|
|
20911
|
+
}
|
|
20912
|
+
}, null, 8, [
|
|
20913
|
+
"title",
|
|
20914
|
+
"aria-label",
|
|
20915
|
+
"to"
|
|
20916
|
+
])]), t.has(o.document.id) ? (z(), N("div", lO, [o.document.source.description ? (z(), N("div", uO, H(o.document.source.description), 1)) : M("", !0), (z(!0), N(k, null, Rr(o.chunks, (e) => (z(), N("div", {
|
|
20878
20917
|
key: e.id,
|
|
20879
20918
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20880
20919
|
}, [P("button", {
|
|
@@ -20883,14 +20922,14 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20883
20922
|
}, [I(In, {
|
|
20884
20923
|
content: e.content,
|
|
20885
20924
|
similarity: e.similarity,
|
|
20886
|
-
"max-similarity": a(
|
|
20925
|
+
"max-similarity": a(c.output.results),
|
|
20887
20926
|
expanded: n.has(e.id)
|
|
20888
20927
|
}, null, 8, [
|
|
20889
20928
|
"content",
|
|
20890
20929
|
"similarity",
|
|
20891
20930
|
"max-similarity",
|
|
20892
20931
|
"expanded"
|
|
20893
|
-
])], 8,
|
|
20932
|
+
])], 8, dO), n.has(e.id) ? (z(), N("div", fO, [I(Ne, {
|
|
20894
20933
|
markdown: e.content,
|
|
20895
20934
|
class: "wysiwyg text-10"
|
|
20896
20935
|
}, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
|
|
@@ -20898,19 +20937,19 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20898
20937
|
} : void 0]), 1032, ["message"]);
|
|
20899
20938
|
};
|
|
20900
20939
|
}
|
|
20901
|
-
}),
|
|
20940
|
+
}), gO = { class: "flex flex-col h-full bg-surface rounded-xl" }, _O = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-3" }, vO = { class: "flex items-center gap-sm min-w-0" }, yO = ["title"], bO = {
|
|
20902
20941
|
key: 1,
|
|
20903
20942
|
class: "text-14 font-bold"
|
|
20904
|
-
},
|
|
20943
|
+
}, xO = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, SO = { class: "flex flex-col" }, CO = { class: "text-12 font-medium text-word-2 mb-xs block" }, wO = ["placeholder", "disabled"], TO = { class: "flex justify-end mt-xs" }, EO = {
|
|
20905
20944
|
key: 1,
|
|
20906
20945
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20907
|
-
},
|
|
20946
|
+
}, DO = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, OO = { class: "text-12 text-word-3" }, kO = {
|
|
20908
20947
|
key: 2,
|
|
20909
20948
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20910
|
-
},
|
|
20949
|
+
}, AO = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, jO = { class: "text-12 font-medium text-word-2" }, MO = { class: "flex items-center gap-xs ml-auto" }, NO = {
|
|
20911
20950
|
key: 0,
|
|
20912
20951
|
class: "py-sm text-word-2 leading-normal"
|
|
20913
|
-
},
|
|
20952
|
+
}, PO = /* @__PURE__ */ L({
|
|
20914
20953
|
__name: "PkReasoningChat",
|
|
20915
20954
|
props: {
|
|
20916
20955
|
baseUrl: {},
|
|
@@ -20946,7 +20985,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20946
20985
|
}), p = A(() => f.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
20947
20986
|
return (t, r) => {
|
|
20948
20987
|
let m = nr, h = $n, g = lr;
|
|
20949
|
-
return z(), N("div",
|
|
20988
|
+
return z(), N("div", gO, [P("div", _O, [P("div", vO, [I(Tn, {
|
|
20950
20989
|
modifiers: "surface ring shrink-0",
|
|
20951
20990
|
class: "w-24 h-24",
|
|
20952
20991
|
name: e.name
|
|
@@ -20954,25 +20993,25 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20954
20993
|
key: 0,
|
|
20955
20994
|
class: "text-14 font-bold truncate",
|
|
20956
20995
|
title: e.name
|
|
20957
|
-
}, H(e.name), 9,
|
|
20996
|
+
}, H(e.name), 9, yO)) : (z(), N("strong", bO, H(U(n)("label.reasoningAgentTester")), 1))]), d.value ? (z(), j(m, {
|
|
20958
20997
|
key: 0,
|
|
20959
20998
|
icon: "ri:reset-right-line",
|
|
20960
20999
|
modifiers: "action-quiet",
|
|
20961
21000
|
title: U(n)("action.clear"),
|
|
20962
21001
|
disabled: u.value,
|
|
20963
21002
|
onClick: l
|
|
20964
|
-
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div",
|
|
20965
|
-
P("div",
|
|
20966
|
-
P("label",
|
|
21003
|
+
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", xO, [
|
|
21004
|
+
P("div", SO, [
|
|
21005
|
+
P("label", CO, H(U(n)("label.question")), 1),
|
|
20967
21006
|
Jr(P("textarea", {
|
|
20968
21007
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
20969
21008
|
placeholder: U(n)("placeholder.enterYourQuestion"),
|
|
20970
21009
|
disabled: u.value,
|
|
20971
|
-
class: "u-field w-full p-sm
|
|
21010
|
+
class: "pk-reasoning-chat__input u-field w-full p-sm text-14 min-h-64",
|
|
20972
21011
|
rows: "3",
|
|
20973
21012
|
onKeydown: c
|
|
20974
|
-
}, null, 40,
|
|
20975
|
-
P("div",
|
|
21013
|
+
}, null, 40, wO), [[qr, a.value]]),
|
|
21014
|
+
P("div", TO, [I(m, {
|
|
20976
21015
|
label: U(n)("action.submit"),
|
|
20977
21016
|
loading: u.value,
|
|
20978
21017
|
disabled: !a.value.trim() || u.value,
|
|
@@ -20989,17 +21028,17 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
20989
21028
|
title: U(n)("label.error"),
|
|
20990
21029
|
content: o.value.error.message
|
|
20991
21030
|
}, null, 8, ["title", "content"])) : M("", !0),
|
|
20992
|
-
u.value && !f.value ? (z(), N("div",
|
|
21031
|
+
u.value && !f.value ? (z(), N("div", EO, [P("div", DO, [I(g, {
|
|
20993
21032
|
name: "loading-loop",
|
|
20994
21033
|
class: "w-16 h-16"
|
|
20995
|
-
}), P("span",
|
|
20996
|
-
f.value ? (z(), N("div",
|
|
21034
|
+
}), P("span", OO, H(U(n)("label.processing")), 1)]), r[2] ||= P("div", { class: "vv-skeleton flex flex-col gap-8" }, [P("div", { class: "vv-skeleton__item h-12 rounded" }), P("div", { class: "vv-skeleton__item h-12 rounded w-192" })], -1)])) : M("", !0),
|
|
21035
|
+
f.value ? (z(), N("div", kO, [P("div", AO, [
|
|
20997
21036
|
I(g, {
|
|
20998
21037
|
name: "ri:robot-2-line",
|
|
20999
21038
|
class: "w-16 h-16"
|
|
21000
21039
|
}),
|
|
21001
|
-
P("span",
|
|
21002
|
-
P("div",
|
|
21040
|
+
P("span", jO, H(U(n)("label.answer")), 1),
|
|
21041
|
+
P("div", MO, [u.value ? (z(), j(g, {
|
|
21003
21042
|
key: 0,
|
|
21004
21043
|
name: "loading-loop",
|
|
21005
21044
|
class: "w-14 h-14"
|
|
@@ -21010,7 +21049,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21010
21049
|
modifiers: "action-quiet-small",
|
|
21011
21050
|
onClick: r[1] ||= Xr((e) => i("show-info", f.value), ["stop"])
|
|
21012
21051
|
}, null, 8, ["title"])) : M("", !0)])
|
|
21013
|
-
]), p.value ? (z(), N("div",
|
|
21052
|
+
]), p.value ? (z(), N("div", NO, [I(Ne, {
|
|
21014
21053
|
markdown: p.value,
|
|
21015
21054
|
loading: u.value,
|
|
21016
21055
|
class: "wysiwyg text-14"
|
|
@@ -21018,7 +21057,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21018
21057
|
])]);
|
|
21019
21058
|
};
|
|
21020
21059
|
}
|
|
21021
|
-
}),
|
|
21060
|
+
}), FO = { class: "welcome-popup__text" }, IO = ["aria-label"], LO = 100, RO = /* @__PURE__ */ L({
|
|
21022
21061
|
__name: "PkWelcomePopup",
|
|
21023
21062
|
props: {
|
|
21024
21063
|
agentId: {},
|
|
@@ -21033,7 +21072,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21033
21072
|
c.value = [], s.value = !1;
|
|
21034
21073
|
let t = e.split(/(\s+)/), n = 0;
|
|
21035
21074
|
function r() {
|
|
21036
|
-
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r,
|
|
21075
|
+
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, LO)) : s.value = !0;
|
|
21037
21076
|
}
|
|
21038
21077
|
r();
|
|
21039
21078
|
}
|
|
@@ -21057,7 +21096,7 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21057
21096
|
key: 0,
|
|
21058
21097
|
class: "welcome-popup",
|
|
21059
21098
|
onClick: Xr(m, ["stop"])
|
|
21060
|
-
}, [P("p",
|
|
21099
|
+
}, [P("p", FO, [(z(!0), N(k, null, Rr(c.value, (e, t) => (z(), N("span", {
|
|
21061
21100
|
key: t,
|
|
21062
21101
|
class: "welcome-popup__word"
|
|
21063
21102
|
}, H(e), 1))), 128))]), I(gr, null, {
|
|
@@ -21073,22 +21112,22 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21073
21112
|
width: "14",
|
|
21074
21113
|
height: "14",
|
|
21075
21114
|
fill: "currentColor"
|
|
21076
|
-
}, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8,
|
|
21115
|
+
}, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, IO)) : M("", !0)]),
|
|
21077
21116
|
_: 1
|
|
21078
21117
|
})])) : M("", !0)]),
|
|
21079
21118
|
_: 1
|
|
21080
21119
|
}));
|
|
21081
21120
|
}
|
|
21082
|
-
}),
|
|
21121
|
+
}), zO = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, BO = { class: "flex items-center" }, VO = ["for"], HO = ["id", "disabled"], UO = ["value"], WO = {
|
|
21083
21122
|
key: 1,
|
|
21084
21123
|
class: "ml-8 text-12 font-semibold tabular-nums"
|
|
21085
|
-
},
|
|
21124
|
+
}, GO = { class: "flex justify-center items-center" }, KO = {
|
|
21086
21125
|
class: "rounded-md border border-surface-3 px-14 py-4 text-center text-12 font-bold tabular-nums",
|
|
21087
21126
|
type: "button"
|
|
21088
|
-
},
|
|
21127
|
+
}, qO = {
|
|
21089
21128
|
key: 0,
|
|
21090
21129
|
class: "ml-6 text-12 whitespace-nowrap tabular-nums"
|
|
21091
|
-
},
|
|
21130
|
+
}, JO = { class: "flex text-12 justify-end items-center whitespace-nowrap tabular-nums" }, YO = /* @__PURE__ */ L({
|
|
21092
21131
|
__name: "PkPagination",
|
|
21093
21132
|
props: {
|
|
21094
21133
|
page: {
|
|
@@ -21114,56 +21153,60 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21114
21153
|
},
|
|
21115
21154
|
emits: ["update:page", "update:limit"],
|
|
21116
21155
|
setup(e, { emit: t }) {
|
|
21117
|
-
let { t: n } = Zr({ useScope: "global" }), r =
|
|
21118
|
-
get: () =>
|
|
21119
|
-
set: (e) =>
|
|
21156
|
+
let { t: n } = Zr({ useScope: "global" }), r = Wr(), i = e, a = t, o = A(() => i.total ? Math.ceil(i.total / i.limit) : 0), s = A(() => i.disabled || i.page <= 1), c = A(() => i.disabled || i.page >= o.value), l = A({
|
|
21157
|
+
get: () => i.limit,
|
|
21158
|
+
set: (e) => a("update:limit", e)
|
|
21120
21159
|
});
|
|
21121
|
-
return (t,
|
|
21122
|
-
let
|
|
21123
|
-
return z(), N("div",
|
|
21124
|
-
P("div",
|
|
21160
|
+
return (t, i) => {
|
|
21161
|
+
let u = nr, d = rr;
|
|
21162
|
+
return z(), N("div", zO, [
|
|
21163
|
+
P("div", BO, [P("label", {
|
|
21164
|
+
for: U(r),
|
|
21165
|
+
class: "text-12 whitespace-nowrap"
|
|
21166
|
+
}, H(U(n)("label.itemsPerPage")), 9, VO), e.limitSteps ? Jr((z(), N("select", {
|
|
21125
21167
|
key: 0,
|
|
21126
|
-
|
|
21168
|
+
id: U(r),
|
|
21169
|
+
"onUpdate:modelValue": i[0] ||= (e) => l.value = e,
|
|
21127
21170
|
disabled: e.disabled,
|
|
21128
21171
|
class: "pk-pagination__limit u-field u-field--compact tabular-nums"
|
|
21129
21172
|
}, [(z(!0), N(k, null, Rr(e.limitSteps, (e) => (z(), N("option", {
|
|
21130
21173
|
key: e,
|
|
21131
21174
|
value: e
|
|
21132
|
-
}, H(e), 9,
|
|
21133
|
-
P("div",
|
|
21175
|
+
}, H(e), 9, UO))), 128))], 8, HO)), [[Kr, l.value]]) : (z(), N("span", WO, H(e.limit), 1))]),
|
|
21176
|
+
P("div", GO, [I(d, { class: "flex-nowrap" }, {
|
|
21134
21177
|
default: K(() => [
|
|
21135
|
-
I(
|
|
21178
|
+
I(u, {
|
|
21136
21179
|
title: U(n)("action.prev"),
|
|
21137
|
-
disabled:
|
|
21180
|
+
disabled: s.value,
|
|
21138
21181
|
icon: "ri:arrow-left-s-line",
|
|
21139
21182
|
modifiers: "action-quiet",
|
|
21140
|
-
onClick:
|
|
21183
|
+
onClick: i[1] ||= Xr((t) => a("update:page", e.page - 1), ["stop"])
|
|
21141
21184
|
}, null, 8, ["title", "disabled"]),
|
|
21142
|
-
P("button",
|
|
21143
|
-
I(
|
|
21185
|
+
P("button", KO, H(e.page), 1),
|
|
21186
|
+
I(u, {
|
|
21144
21187
|
title: U(n)("action.next"),
|
|
21145
|
-
disabled:
|
|
21188
|
+
disabled: c.value,
|
|
21146
21189
|
icon: "ri:arrow-right-s-line",
|
|
21147
21190
|
modifiers: "action-quiet",
|
|
21148
|
-
onClick:
|
|
21191
|
+
onClick: i[2] ||= Xr((t) => a("update:page", e.page + 1), ["stop"])
|
|
21149
21192
|
}, null, 8, ["title", "disabled"])
|
|
21150
21193
|
]),
|
|
21151
21194
|
_: 1
|
|
21152
|
-
}),
|
|
21153
|
-
P("div",
|
|
21195
|
+
}), o.value ? (z(), N("small", qO, H(U(n)("label.totalPages", { total: o.value })), 1)) : M("", !0)]),
|
|
21196
|
+
P("div", JO, H(U(n)("label.totalItemsCount", { total: e.total })), 1)
|
|
21154
21197
|
]);
|
|
21155
21198
|
};
|
|
21156
21199
|
}
|
|
21157
|
-
}),
|
|
21200
|
+
}), XO = { class: "pk-table-empty" }, ZO = {
|
|
21158
21201
|
class: "pk-table-empty__glyph",
|
|
21159
21202
|
"aria-hidden": "true"
|
|
21160
|
-
},
|
|
21203
|
+
}, QO = { class: "pk-table-empty__text" }, $O = { class: "pk-table-empty__title" }, ek = {
|
|
21161
21204
|
key: 0,
|
|
21162
21205
|
class: "pk-table-empty__description"
|
|
21163
|
-
},
|
|
21206
|
+
}, tk = {
|
|
21164
21207
|
key: 0,
|
|
21165
21208
|
class: "pk-table-empty__actions"
|
|
21166
|
-
},
|
|
21209
|
+
}, nk = /* @__PURE__ */ L({
|
|
21167
21210
|
__name: "PkTableEmpty",
|
|
21168
21211
|
props: {
|
|
21169
21212
|
title: { default: void 0 },
|
|
@@ -21174,82 +21217,82 @@ var nw = { class: "flex items-center gap-xs min-w-0" }, rw = { class: "truncate"
|
|
|
21174
21217
|
let { t } = Zr({ useScope: "global" });
|
|
21175
21218
|
return (n, r) => {
|
|
21176
21219
|
let i = lr;
|
|
21177
|
-
return z(), N("div",
|
|
21178
|
-
P("div",
|
|
21179
|
-
P("div",
|
|
21180
|
-
n.$slots.actions ? (z(), N("div",
|
|
21220
|
+
return z(), N("div", XO, [
|
|
21221
|
+
P("div", ZO, [I(i, { name: e.icon }, null, 8, ["name"])]),
|
|
21222
|
+
P("div", QO, [P("strong", $O, H(e.title ?? U(t)("message.empty")), 1), e.description ? (z(), N("p", ek, H(e.description), 1)) : M("", !0)]),
|
|
21223
|
+
n.$slots.actions ? (z(), N("div", tk, [V(n.$slots, "actions")])) : M("", !0)
|
|
21181
21224
|
]);
|
|
21182
21225
|
};
|
|
21183
21226
|
}
|
|
21184
|
-
}),
|
|
21227
|
+
}), rk = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, ik = { class: "mb-4" }, ak = { class: "font-bold" }, ok = { class: "text-smaller text-word-3" }, sk = /* @__PURE__ */ L({
|
|
21185
21228
|
__name: "PkTableError",
|
|
21186
21229
|
setup(e) {
|
|
21187
21230
|
let { t } = Zr({ useScope: "global" });
|
|
21188
21231
|
return (e, n) => {
|
|
21189
21232
|
let r = lr;
|
|
21190
|
-
return z(), N("div",
|
|
21191
|
-
P("div",
|
|
21233
|
+
return z(), N("div", rk, [
|
|
21234
|
+
P("div", ik, [I(r, {
|
|
21192
21235
|
name: "ri:alert-line",
|
|
21193
21236
|
class: "text-32 text-word-2"
|
|
21194
21237
|
})]),
|
|
21195
|
-
P("strong",
|
|
21196
|
-
P("div",
|
|
21238
|
+
P("strong", ak, H(U(t)("message.warning")), 1),
|
|
21239
|
+
P("div", ok, H(U(t)("message.readError")), 1)
|
|
21197
21240
|
]);
|
|
21198
21241
|
};
|
|
21199
21242
|
}
|
|
21200
21243
|
});
|
|
21201
21244
|
//#endregion
|
|
21202
21245
|
//#region ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
|
|
21203
|
-
function
|
|
21246
|
+
function ck(e) {
|
|
21204
21247
|
return Array.isArray(e);
|
|
21205
21248
|
}
|
|
21206
|
-
function
|
|
21249
|
+
function lk(e) {
|
|
21207
21250
|
return e !== void 0;
|
|
21208
21251
|
}
|
|
21209
|
-
function
|
|
21252
|
+
function uk(e) {
|
|
21210
21253
|
return e === null;
|
|
21211
21254
|
}
|
|
21212
|
-
function
|
|
21255
|
+
function dk(e) {
|
|
21213
21256
|
return typeof e == "object";
|
|
21214
21257
|
}
|
|
21215
|
-
function
|
|
21258
|
+
function fk(e) {
|
|
21216
21259
|
return typeof e == "string";
|
|
21217
21260
|
}
|
|
21218
|
-
function
|
|
21261
|
+
function pk(e) {
|
|
21219
21262
|
return e === void 0;
|
|
21220
21263
|
}
|
|
21221
21264
|
//#endregion
|
|
21222
21265
|
//#region ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
|
|
21223
|
-
var
|
|
21266
|
+
var mk = /^[0-9]+$/, hk = [
|
|
21224
21267
|
"__proto__",
|
|
21225
21268
|
"prototype",
|
|
21226
21269
|
"constructor"
|
|
21227
21270
|
];
|
|
21228
|
-
function
|
|
21229
|
-
let r =
|
|
21230
|
-
if (!
|
|
21231
|
-
let i =
|
|
21271
|
+
function gk(e, t, n) {
|
|
21272
|
+
let r = lk(n) ? n : void 0;
|
|
21273
|
+
if (!dk(e) || !fk(t)) return r;
|
|
21274
|
+
let i = _k(t);
|
|
21232
21275
|
if (i.length !== 0) {
|
|
21233
21276
|
for (let t of i) {
|
|
21234
21277
|
if (t === "*") continue;
|
|
21235
21278
|
let n = function(e) {
|
|
21236
|
-
return e.map((e) =>
|
|
21279
|
+
return e.map((e) => pk(e) || uk(e) ? e : ck(e) ? n(e) : e[t]);
|
|
21237
21280
|
};
|
|
21238
|
-
if (e =
|
|
21281
|
+
if (e = ck(e) && !mk.test(t) ? n(e) : e[t], pk(e) || uk(e)) break;
|
|
21239
21282
|
}
|
|
21240
|
-
return
|
|
21283
|
+
return pk(e) ? r : e;
|
|
21241
21284
|
}
|
|
21242
21285
|
}
|
|
21243
|
-
function
|
|
21286
|
+
function _k(e) {
|
|
21244
21287
|
let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
|
|
21245
|
-
return t.some((e) =>
|
|
21288
|
+
return t.some((e) => hk.indexOf(e) !== -1) ? [] : t;
|
|
21246
21289
|
}
|
|
21247
21290
|
//#endregion
|
|
21248
21291
|
//#region ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
|
|
21249
|
-
var
|
|
21292
|
+
var vk = { key: 0 }, yk = {
|
|
21250
21293
|
key: 0,
|
|
21251
21294
|
class: "truncate"
|
|
21252
|
-
}, bk = ["onClick"], xk = ["onClick"], Sk = { key: 1 },
|
|
21295
|
+
}, bk = ["onClick"], xk = ["onClick"], Sk = ["data-label"], Ck = { key: 1 }, wk = ["colspan"], Tk = { key: 2 }, Ek = ["colspan"], Dk = { key: 1 }, Ok = { key: 2 }, kk = "a, button, input, select, textarea, label, [contenteditable], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"menuitem\"]", Ak = /* @__PURE__ */ L({
|
|
21253
21296
|
__name: "PkTableSortable",
|
|
21254
21297
|
props: {
|
|
21255
21298
|
columns: {
|
|
@@ -21339,6 +21382,10 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21339
21382
|
type: Boolean,
|
|
21340
21383
|
default: !0
|
|
21341
21384
|
},
|
|
21385
|
+
stacked: {
|
|
21386
|
+
type: Boolean,
|
|
21387
|
+
default: !1
|
|
21388
|
+
},
|
|
21342
21389
|
rowClass: {
|
|
21343
21390
|
type: Function,
|
|
21344
21391
|
default: void 0
|
|
@@ -21378,7 +21425,7 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21378
21425
|
let _ = (e) => {
|
|
21379
21426
|
c.value === e ? l.value = l.value === "asc" ? "desc" : "asc" : c.value = e;
|
|
21380
21427
|
}, v = (e, t, n) => {
|
|
21381
|
-
r.rowClickable && (n.target?.closest(
|
|
21428
|
+
r.rowClickable && (n.target?.closest(kk) || i("click:row", e, t));
|
|
21382
21429
|
}, y = () => {
|
|
21383
21430
|
s.value++;
|
|
21384
21431
|
}, ee = () => {
|
|
@@ -21388,7 +21435,7 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21388
21435
|
r.page || i("update:page", s.value), r.limit || i("update:limit", o.value);
|
|
21389
21436
|
}), (t, r) => {
|
|
21390
21437
|
let i = lr;
|
|
21391
|
-
return z(), N("div",
|
|
21438
|
+
return z(), N("div", { class: kr(["pk-table-sortable", { "pk-table-sortable--stacked": e.stacked }]) }, [P("div", { class: kr([f.value, "pk-table-sortable__wrapper"]) }, [P("table", { class: kr(["vv-table", e.classTable]) }, [
|
|
21392
21439
|
e.hideHead ? M("", !0) : (z(), N("thead", vk, [P("tr", null, [(z(!0), N(k, null, Rr(d.value, (e) => (z(), N("th", Dr({ key: e.name }, { ref_for: !0 }, { class: [
|
|
21393
21440
|
e.class,
|
|
21394
21441
|
e.classTh,
|
|
@@ -21409,7 +21456,7 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21409
21456
|
})), () => [e.isLoading ? V(t.$slots, "loading", {}, () => [(z(!0), N(k, null, Rr(o.value, (e) => (z(), N("tr", { key: e }, [(z(!0), N(k, null, Rr(d.value, ({ name: n, wrapperClass: i }) => (z(), N("td", { key: n }, [V(t.$slots, `skeleton::${n}`, Dr({ ref_for: !0 }, {
|
|
21410
21457
|
index: e,
|
|
21411
21458
|
wrapperClass: i
|
|
21412
|
-
}), () => [P("div", { class: kr(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr",
|
|
21459
|
+
}), () => [P("div", { class: kr(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr", Tk, [P("td", { colspan: e.columns.length }, [V(t.$slots, "error", {}, () => [I(sk)])], 8, Ek)])) : M("", !0) : (z(), N(k, { key: 1 }, [e.data?.length ? (z(!0), N(k, { key: 0 }, Rr(e.data, (r, i) => (z(), N("tr", {
|
|
21413
21460
|
key: i,
|
|
21414
21461
|
class: kr([{
|
|
21415
21462
|
"pk-table-sortable__row--clickable": e.rowClickable,
|
|
@@ -21418,7 +21465,8 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21418
21465
|
onClick: (e) => v(r, i, e)
|
|
21419
21466
|
}, [(z(!0), N(k, null, Rr(d.value, ({ name: e, field: a, wrapperClass: o, render: s, ...c }) => (z(), N("td", {
|
|
21420
21467
|
key: e,
|
|
21421
|
-
class: kr([c.class, c.classTd])
|
|
21468
|
+
class: kr([c.class, c.classTd]),
|
|
21469
|
+
"data-label": c.label ?? ""
|
|
21422
21470
|
}, [s ? (z(), j(Br(s(r, i)), { key: 0 })) : U(n)[`col::${e}`] ? V(t.$slots, `col::${e}`, Dr({ ref_for: !0 }, {
|
|
21423
21471
|
row: r,
|
|
21424
21472
|
field: a,
|
|
@@ -21432,11 +21480,11 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21432
21480
|
wrapperClass: o,
|
|
21433
21481
|
index: i,
|
|
21434
21482
|
value: r[e]
|
|
21435
|
-
}), () => [P("div", { class: kr(["truncate", o]) }, H(U(
|
|
21483
|
+
}), () => [P("div", { class: kr(["truncate", o]) }, H(U(gk)(r, a ?? e)), 3)], void 0, 2)], 10, Sk))), 128))], 10, xk))), 128)) : (z(), N("tr", Ck, [P("td", { colspan: e.columns.length }, [V(t.$slots, "empty", {}, () => [I(nk)])], 8, wk)]))], 64))])]),
|
|
21436
21484
|
_: 3
|
|
21437
21485
|
}, 8, ["name"]),
|
|
21438
|
-
U(n).tfoot ? (z(), N("tfoot",
|
|
21439
|
-
U(n).caption ? (z(), N("caption",
|
|
21486
|
+
U(n).tfoot ? (z(), N("tfoot", Dk, [V(t.$slots, "tfoot")])) : M("", !0),
|
|
21487
|
+
U(n).caption ? (z(), N("caption", Ok, [V(t.$slots, "caption")])) : M("", !0)
|
|
21440
21488
|
], 2)], 2), V(t.$slots, "navigation", Ar(Sr({
|
|
21441
21489
|
hide: e.hideNavigation,
|
|
21442
21490
|
prevDisabled: g.value,
|
|
@@ -21445,7 +21493,7 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21445
21493
|
next: y,
|
|
21446
21494
|
total: u.value,
|
|
21447
21495
|
page: s.value
|
|
21448
|
-
})), () => [e.hideNavigation ? M("", !0) : (z(), j(
|
|
21496
|
+
})), () => [e.hideNavigation ? M("", !0) : (z(), j(YO, {
|
|
21449
21497
|
key: 0,
|
|
21450
21498
|
page: s.value,
|
|
21451
21499
|
total: a.value ?? 0,
|
|
@@ -21462,11 +21510,11 @@ var _k = { class: "pk-table-sortable" }, vk = { key: 0 }, yk = {
|
|
|
21462
21510
|
"limit-steps",
|
|
21463
21511
|
"disabled",
|
|
21464
21512
|
"class"
|
|
21465
|
-
]))])]);
|
|
21513
|
+
]))])], 2);
|
|
21466
21514
|
};
|
|
21467
21515
|
}
|
|
21468
21516
|
});
|
|
21469
21517
|
//#endregion
|
|
21470
|
-
export { QC as AGENT_STATUS_GLYPHS, $C as AGENT_VISIBILITY_GLYPHS, dw as MODEL_CATALOG_KEY, ow as PkAgentSelectorInline, aE as PkAgentSettingsPanel, Xe as PkAuroraCanvas, Tn as PkAvatar, _i as PkBadge, jn as PkChatButton, vE as PkChatSidebar, sE as PkChatSidebarConversationItem, Fn as PkChatbot, je as PkChatbotAuth, Nn as PkChatbotEmptyState, et as PkChatbotError, En as PkChatbotFeedbackForm, Sn as PkChatbotFilePreview, Mn as PkChatbotInput, We as PkChatbotMessages, kn as PkChatbotStepPayload, An as PkChatbotStepToolDetail, On as PkChatbotSteps, $e as PkChatbotViewChat, Ye as PkChatbotViewConversations, Pn as PkChatbotViewProfile, mC as PkCheckboxField, In as PkChunkPreview, at as PkCode, Uw as PkCopyBlock, Ln as PkDocumentHeader, sa as PkEditorAgentType, n as PkEditorCheckboxButtons, xo as PkEditorCode, ya as PkEditorDocumentType, Ho as PkEditorJsonSchema, US as PkEditorMarkdown, WS as PkEditorMedia, Oa as PkEditorNotificationType, ZS as PkEditorPrompt, t as PkEditorRadioButtons, aC as PkEditorRepeater, uC as PkEditorWyswyg, wo as PkFieldset, hC as PkInfobox, Ww as PkInputColor, CC as PkIntegrationProvider, xw as PkLanguageModel, Iw as PkLanguageModelCombobox, yn as PkLazyImg, TC as PkLightbox, kC as PkLoader, jC as PkMedia,
|
|
21518
|
+
export { QC as AGENT_STATUS_GLYPHS, $C as AGENT_VISIBILITY_GLYPHS, dw as MODEL_CATALOG_KEY, ow as PkAgentSelectorInline, aE as PkAgentSettingsPanel, Xe as PkAuroraCanvas, Tn as PkAvatar, _i as PkBadge, jn as PkChatButton, vE as PkChatSidebar, sE as PkChatSidebarConversationItem, Fn as PkChatbot, je as PkChatbotAuth, Nn as PkChatbotEmptyState, et as PkChatbotError, En as PkChatbotFeedbackForm, Sn as PkChatbotFilePreview, Mn as PkChatbotInput, We as PkChatbotMessages, kn as PkChatbotStepPayload, An as PkChatbotStepToolDetail, On as PkChatbotSteps, $e as PkChatbotViewChat, Ye as PkChatbotViewConversations, Pn as PkChatbotViewProfile, mC as PkCheckboxField, In as PkChunkPreview, at as PkCode, Uw as PkCopyBlock, Ln as PkDocumentHeader, sa as PkEditorAgentType, n as PkEditorCheckboxButtons, xo as PkEditorCode, ya as PkEditorDocumentType, Ho as PkEditorJsonSchema, US as PkEditorMarkdown, WS as PkEditorMedia, Oa as PkEditorNotificationType, ZS as PkEditorPrompt, t as PkEditorRadioButtons, aC as PkEditorRepeater, uC as PkEditorWyswyg, wo as PkFieldset, hC as PkInfobox, Ww as PkInputColor, CC as PkIntegrationProvider, xw as PkLanguageModel, Iw as PkLanguageModelCombobox, yn as PkLazyImg, TC as PkLightbox, kC as PkLoader, jC as PkMedia, hO as PkMessageDetail, tO as PkMessageParts, Fw as PkModelOption, BC as PkOfflineScreen, YO as PkPagination, qC as PkPwaNotices, YC as PkQrCode, PO as PkReasoningChat, Rw as PkReasoningSettings, it as PkRelativeTime, bE as PkRetryCountdown, Io as PkSchemaField, ZC as PkSkeleton, Ne as PkStreamingMarkdown, Dn as PkStreamingMarkdownAutoscroll, Cn as PkSvgViewer, nk as PkTableEmpty, sk as PkTableError, Ak as PkTableSortable, uw as PkToolApprovalBadge, ot as PkToolShowArtifact, Gn as PkToolShowCalendarEvent, Kn as PkToolShowComparison, Wn as PkToolShowContactForm, Bn as PkToolShowEmail, r as PkToolShowForm, Yn as PkToolShowImageGallery, qn as PkToolShowLocation, Vn as PkToolShowMessage, Un as PkToolShowProductList, Jn as PkToolShowQrCode, Rn as PkToolShowSources, Xn as PkToolShowSuggestedReply, Hn as PkToolShowWebPages, wn as PkUrl, Qe as PkVoiceOrb, Ze as PkVoiceSession, zw as PkWebSearchSettings, RO as PkWelcomePopup, ew as agentStatusGlyph, tw as agentVisibilityGlyph, yC as integrationProviderIcon, zn as isMcpOAuthReport, Me as provideChatImagePolicy, fw as provideModelCatalog, pw as useModelCatalogEntry };
|
|
21471
21519
|
|
|
21472
21520
|
//# sourceMappingURL=index.js.map
|