@8wave/ai-elements 0.119.0-beta.22 → 0.119.0-beta.27
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-D8YrsP52.js → Agent-Gdgpd3LA.js} +66 -66
- package/dist/_chunks/Agent-Gdgpd3LA.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-Bry3y6Ru.js → PkStreamingMarkdown-BK9O_NLx.js} +889 -852
- package/dist/_chunks/{PkStreamingMarkdown-Bry3y6Ru.js.map → PkStreamingMarkdown-BK9O_NLx.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-5vHzEy4P.js → PkToolEditSpreadsheet-D-RCfnrN.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-5vHzEy4P.js.map → PkToolEditSpreadsheet-D-RCfnrN.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-Cj8hTfNF.js → PkToolRequestGeolocation-PxhQxMP1.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-Cj8hTfNF.js.map → PkToolRequestGeolocation-PxhQxMP1.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BWxR1hV4.js → PkToolRequestOAuthConnection-QYDJPUFF.js} +5 -4
- package/dist/_chunks/PkToolRequestOAuthConnection-QYDJPUFF.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-CfJLe8vD.js → PkToolShowArtifact-DGUj8f1k.js} +3 -3
- package/dist/_chunks/PkToolShowArtifact-DGUj8f1k.js.map +1 -0
- package/dist/_chunks/{PkToolShowCalendarEvent-Bp_yv8S7.js → PkToolShowCalendarEvent-BEjPZC1F.js} +4 -3
- package/dist/_chunks/PkToolShowCalendarEvent-BEjPZC1F.js.map +1 -0
- package/dist/_chunks/{PkToolShowComparison-Bvd4f4tJ.js → PkToolShowComparison-DLC22e1W.js} +4 -3
- package/dist/_chunks/PkToolShowComparison-DLC22e1W.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm--9XOVqNB.js → PkToolShowContactForm-DXJI0MPZ.js} +5 -4
- package/dist/_chunks/PkToolShowContactForm-DXJI0MPZ.js.map +1 -0
- package/dist/_chunks/{PkToolShowDiagram-C-pNbC9n.js → PkToolShowDiagram-C5mSqZDp.js} +9 -8
- package/dist/_chunks/PkToolShowDiagram-C5mSqZDp.js.map +1 -0
- package/dist/_chunks/{PkToolShowEmail-BKel_O29.js → PkToolShowEmail-C7mUCqGL.js} +4 -3
- package/dist/_chunks/PkToolShowEmail-C7mUCqGL.js.map +1 -0
- package/dist/_chunks/{PkToolShowForm-CGAc1O6K.js → PkToolShowForm-UQo0Xdiq.js} +6 -5
- package/dist/_chunks/PkToolShowForm-UQo0Xdiq.js.map +1 -0
- package/dist/_chunks/{PkToolShowImageGallery-CIhIrIcY.js → PkToolShowImageGallery-rZ3AtIEP.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CIhIrIcY.js.map → PkToolShowImageGallery-rZ3AtIEP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-78C7jFiV.js → PkToolShowLocation-BOmxHZKd.js} +4 -3
- package/dist/_chunks/PkToolShowLocation-BOmxHZKd.js.map +1 -0
- package/dist/_chunks/{PkToolShowMessage-BScy-w4J.js → PkToolShowMessage-vw4XS4TR.js} +4 -3
- package/dist/_chunks/PkToolShowMessage-vw4XS4TR.js.map +1 -0
- package/dist/_chunks/{PkToolShowProductList-BjWKnbyD.js → PkToolShowProductList-ByeSoIwq.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-BjWKnbyD.js.map → PkToolShowProductList-ByeSoIwq.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-B70jPHDw.js → PkToolShowQrCode-BhcAUXSZ.js} +4 -3
- package/dist/_chunks/PkToolShowQrCode-BhcAUXSZ.js.map +1 -0
- package/dist/_chunks/{PkToolShowSources-BJ-XFrLD.js → PkToolShowSources-q4XBOwJl.js} +51 -50
- package/dist/_chunks/PkToolShowSources-q4XBOwJl.js.map +1 -0
- package/dist/_chunks/{PkToolShowSuggestedReply-0KahUIlw.js → PkToolShowSuggestedReply-BISQY1ce.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-0KahUIlw.js.map → PkToolShowSuggestedReply-BISQY1ce.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-_V_d-PDr.js → PkToolShowVideo-BmHHW4Ep.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-_V_d-PDr.js.map → PkToolShowVideo-BmHHW4Ep.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-D55VEPjK.js → PkToolShowWebPages-BaapF0CC.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-D55VEPjK.js.map → PkToolShowWebPages-BaapF0CC.js.map} +1 -1
- package/dist/_chunks/VvButtonLocalized-DV-zbH9b.js +21 -0
- package/dist/_chunks/VvButtonLocalized-DV-zbH9b.js.map +1 -0
- package/dist/_chunks/{chatImagePolicy-DXkhb-N_.js → chatImagePolicy-CDNkMKdT.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-DXkhb-N_.js.map → chatImagePolicy-CDNkMKdT.js.map} +1 -1
- package/dist/_chunks/{markdown-DpoAzJSk.js → markdown-BbaLt57-.js} +8 -8
- package/dist/_chunks/{markdown-DpoAzJSk.js.map → markdown-BbaLt57-.js.map} +1 -1
- package/dist/_chunks/text-BHCGblDQ.js +6 -0
- package/dist/_chunks/text-BHCGblDQ.js.map +1 -0
- package/dist/ai-elements.es.js +2819 -2544
- 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/PkChatbotError.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/PkChatbotWakeupBar.js +1 -1
- package/dist-vue/_chunks/{Agent-dGF8mkG9.js → Agent-DU1WWaHR.js} +87 -87
- package/dist-vue/_chunks/Agent-DU1WWaHR.js.map +1 -0
- package/dist-vue/_chunks/{Document-CV-RJu_p.js → Document-Cto-Qws0.js} +2 -2
- package/dist-vue/_chunks/{Document-CV-RJu_p.js.map → Document-Cto-Qws0.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-536vsOfp.js → PkChatbot-D0BQ3VnX.js} +86 -85
- package/dist-vue/_chunks/PkChatbot-D0BQ3VnX.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotAuth-BMLLTSwK.js → PkChatbotAuth-BVZzjbK9.js} +4 -3
- package/dist-vue/_chunks/PkChatbotAuth-BVZzjbK9.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-Toj4CqXV.js → PkChatbotEmptyState-CGjFcwwB.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-Toj4CqXV.js.map → PkChatbotEmptyState-CGjFcwwB.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotError-CRGbK09-.js → PkChatbotError-BV5ga7hk.js} +4 -3
- package/dist-vue/_chunks/PkChatbotError-BV5ga7hk.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-CMFXjoKR.js → PkChatbotFeedbackForm-B5cYsWBr.js} +8 -7
- package/dist-vue/_chunks/PkChatbotFeedbackForm-B5cYsWBr.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-BfZqRpQ2.js → PkChatbotInput-BVBQY0V5.js} +8 -7
- package/dist-vue/_chunks/PkChatbotInput-BVBQY0V5.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotMessages-CK0lhcDj.js +876 -0
- package/dist-vue/_chunks/PkChatbotMessages-CK0lhcDj.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-D0eoPBQ8.js → PkChatbotStepPayload-l57qHqVf.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-D0eoPBQ8.js.map → PkChatbotStepPayload-l57qHqVf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CMx4cw1D.js → PkChatbotStepToolDetail-ChrOa4W4.js} +16 -16
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CMx4cw1D.js.map → PkChatbotStepToolDetail-ChrOa4W4.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DeZQhGRU.js → PkChatbotSteps-DnU9r4XT.js} +40 -40
- package/dist-vue/_chunks/{PkChatbotSteps-DeZQhGRU.js.map → PkChatbotSteps-DnU9r4XT.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CVT6OUIv.js → PkChatbotViewChat-DIx3nwEg.js} +12 -12
- package/dist-vue/_chunks/{PkChatbotViewChat-CVT6OUIv.js.map → PkChatbotViewChat-DIx3nwEg.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-DDWO1Ci_.js +199 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-DDWO1Ci_.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewFiles-CA20TBFY.js → PkChatbotViewFiles-O9YjrGP0.js} +18 -17
- package/dist-vue/_chunks/PkChatbotViewFiles-O9YjrGP0.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewProfile-CyzRxE3D.js → PkChatbotViewProfile-BoImMMj2.js} +11 -10
- package/dist-vue/_chunks/PkChatbotViewProfile-BoImMMj2.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotWakeupBar-jBti21FQ.js → PkChatbotWakeupBar-Cjgarxnw.js} +3 -2
- package/dist-vue/_chunks/PkChatbotWakeupBar-Cjgarxnw.js.map +1 -0
- package/dist-vue/_chunks/{PkStreamingMarkdown-C55Fi0Pd.js → PkStreamingMarkdown-JEkbkY5k.js} +23 -23
- package/dist-vue/_chunks/{PkStreamingMarkdown-C55Fi0Pd.js.map → PkStreamingMarkdown-JEkbkY5k.js.map} +1 -1
- package/dist-vue/_chunks/{PkSvgViewer-Ts3gQ1hB.js → PkSvgViewer-DrA4yi8Q.js} +7 -6
- package/dist-vue/_chunks/PkSvgViewer-DrA4yi8Q.js.map +1 -0
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-HAskd6d3.js → PkToolEditSpreadsheet-BX_h8Hut.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-HAskd6d3.js.map → PkToolEditSpreadsheet-BX_h8Hut.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-BE22qwxB.js → PkToolRequestGeolocation-JZYgc-2X.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-BE22qwxB.js.map → PkToolRequestGeolocation-JZYgc-2X.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-GfSalEJG.js → PkToolRequestOAuthConnection-Bwj84qHq.js} +11 -10
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-Bwj84qHq.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowArtifact-z1qTnFkA.js → PkToolShowArtifact-BIvl5I2I.js} +5 -5
- package/dist-vue/_chunks/PkToolShowArtifact-BIvl5I2I.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-Dv_rss26.js → PkToolShowCalendarEvent-ve1I0xaV.js} +7 -6
- package/dist-vue/_chunks/PkToolShowCalendarEvent-ve1I0xaV.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowComparison-DQs3E6-k.js → PkToolShowComparison-c2e239T4.js} +3 -2
- package/dist-vue/_chunks/PkToolShowComparison-c2e239T4.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-Y0lrHXhr.js → PkToolShowContactForm-CddxrLBZ.js} +13 -12
- package/dist-vue/_chunks/PkToolShowContactForm-CddxrLBZ.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowDiagram-7WxDObZ6.js → PkToolShowDiagram-DdR4x6pP.js} +10 -9
- package/dist-vue/_chunks/PkToolShowDiagram-DdR4x6pP.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowEmail-C591LR5N.js → PkToolShowEmail-CUgZN0J5.js} +8 -7
- package/dist-vue/_chunks/PkToolShowEmail-CUgZN0J5.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowForm-CZFWZub7.js → PkToolShowForm-DiXcYws_.js} +14 -13
- package/dist-vue/_chunks/PkToolShowForm-DiXcYws_.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowImageGallery-CkfXP_lD.js → PkToolShowImageGallery-COrJEjSv.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-CkfXP_lD.js.map → PkToolShowImageGallery-COrJEjSv.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowLocation-Dyz6h_0n.js → PkToolShowLocation-CHi_cONJ.js} +13 -12
- package/dist-vue/_chunks/PkToolShowLocation-CHi_cONJ.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowMessage-CbXERPHI.js → PkToolShowMessage-ATTN5Hac.js} +8 -7
- package/dist-vue/_chunks/PkToolShowMessage-ATTN5Hac.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowProductList-De-PtmD-.js → PkToolShowProductList-BIvJlpMT.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-De-PtmD-.js.map → PkToolShowProductList-BIvJlpMT.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowQrCode-DEAvfLFu.js → PkToolShowQrCode-D_5VUtEB.js} +3 -2
- package/dist-vue/_chunks/PkToolShowQrCode-D_5VUtEB.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSources-CSN7S0zo.js → PkToolShowSources-CC-0Oh4K.js} +57 -56
- package/dist-vue/_chunks/PkToolShowSources-CC-0Oh4K.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DjutyiEi.js → PkToolShowSuggestedReply-I6FBos-F.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DjutyiEi.js.map → PkToolShowSuggestedReply-I6FBos-F.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-B_Q93E2y.js → PkToolShowVideo-UUNkUlrg.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-B_Q93E2y.js.map → PkToolShowVideo-UUNkUlrg.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-D3CdjJUc.js → PkToolShowWebPages-CLYx_PgL.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-D3CdjJUc.js.map → PkToolShowWebPages-CLYx_PgL.js.map} +1 -1
- package/dist-vue/_chunks/VvButtonLocalized-BuzLsXp3.js +20 -0
- package/dist-vue/_chunks/VvButtonLocalized-BuzLsXp3.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-DSLxswr4.js → createChatbotApiClient-BdmGCAQR.js} +17 -17
- package/dist-vue/_chunks/{createChatbotApiClient-DSLxswr4.js.map → createChatbotApiClient-BdmGCAQR.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-rtl-oKqU.js → useChatbotStore-BAv5K91p.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-rtl-oKqU.js.map → useChatbotStore-BAv5K91p.js.map} +1 -1
- package/dist-vue/_chunks/{utils-CwIMEuAv.js → utils-BqPJ6DJT.js} +142 -78
- package/dist-vue/_chunks/utils-BqPJ6DJT.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +306 -42
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4215 -4187
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +48 -12
- package/dist-vue/packages/ability/src/index.d.ts +4 -0
- package/dist-vue/packages/components/src/PkEditorMarkdown.d.ts +3 -2
- package/dist-vue/packages/components/src/VvButtonLocalized.d.ts +11 -0
- package/dist-vue/packages/components/src/agentGlyphs.d.ts +5 -3
- package/dist-vue/packages/components/src/chat/index.d.ts +1 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +30 -0
- package/dist-vue/packages/components/src/index.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/Invitation.d.ts +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-D8YrsP52.js.map +0 -1
- package/dist/_chunks/PkToolRequestOAuthConnection-BWxR1hV4.js.map +0 -1
- package/dist/_chunks/PkToolShowArtifact-CfJLe8vD.js.map +0 -1
- package/dist/_chunks/PkToolShowCalendarEvent-Bp_yv8S7.js.map +0 -1
- package/dist/_chunks/PkToolShowComparison-Bvd4f4tJ.js.map +0 -1
- package/dist/_chunks/PkToolShowContactForm--9XOVqNB.js.map +0 -1
- package/dist/_chunks/PkToolShowDiagram-C-pNbC9n.js.map +0 -1
- package/dist/_chunks/PkToolShowEmail-BKel_O29.js.map +0 -1
- package/dist/_chunks/PkToolShowForm-CGAc1O6K.js.map +0 -1
- package/dist/_chunks/PkToolShowLocation-78C7jFiV.js.map +0 -1
- package/dist/_chunks/PkToolShowMessage-BScy-w4J.js.map +0 -1
- package/dist/_chunks/PkToolShowQrCode-B70jPHDw.js.map +0 -1
- package/dist/_chunks/PkToolShowSources-BJ-XFrLD.js.map +0 -1
- package/dist/_chunks/text-DbSEK8si.js +0 -6
- package/dist/_chunks/text-DbSEK8si.js.map +0 -1
- package/dist-vue/_chunks/Agent-dGF8mkG9.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-536vsOfp.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-BMLLTSwK.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotError-CRGbK09-.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotFeedbackForm-CMFXjoKR.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-BfZqRpQ2.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-CnI3e9wF.js +0 -869
- package/dist-vue/_chunks/PkChatbotMessages-CnI3e9wF.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-DHeFtAfN.js +0 -197
- package/dist-vue/_chunks/PkChatbotViewConversations-DHeFtAfN.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewFiles-CA20TBFY.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewProfile-CyzRxE3D.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotWakeupBar-jBti21FQ.js.map +0 -1
- package/dist-vue/_chunks/PkSvgViewer-Ts3gQ1hB.js.map +0 -1
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-GfSalEJG.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowArtifact-z1qTnFkA.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowCalendarEvent-Dv_rss26.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowComparison-DQs3E6-k.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowContactForm-Y0lrHXhr.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowDiagram-7WxDObZ6.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowEmail-C591LR5N.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowForm-CZFWZub7.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowLocation-Dyz6h_0n.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowMessage-CbXERPHI.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowQrCode-DEAvfLFu.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowSources-CSN7S0zo.js.map +0 -1
- package/dist-vue/_chunks/utils-CwIMEuAv.js.map +0 -1
package/dist-vue/_chunks/{PkStreamingMarkdown-C55Fi0Pd.js → PkStreamingMarkdown-JEkbkY5k.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e } from "./Agent-DU1WWaHR.js";
|
|
2
2
|
import { n as t, t as n } from "./cdn-css-JUUNhyQ6.js";
|
|
3
3
|
import "./src-DCfvejyT.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as a } from "./
|
|
6
|
-
import {
|
|
4
|
+
import { d as r } from "./utils-BqPJ6DJT.js";
|
|
5
|
+
import { i, n as a } from "./url-validation-9DstIfq2.js";
|
|
6
|
+
import { n as o } from "./useShortUrlResolver-DI8ycJiO.js";
|
|
7
7
|
import { computed as s, createElementBlock as c, defineComponent as l, inject as u, nextTick as d, onBeforeUnmount as f, onMounted as p, openBlock as ee, provide as m, ref as h, toRef as te, useTemplateRef as ne, watch as g } from "vue";
|
|
8
8
|
import { useI18n as re } from "vue-i18n";
|
|
9
9
|
import { refThrottled as ie } from "@vueuse/core";
|
|
@@ -3115,7 +3115,7 @@ var Ca = Symbol("ChatImagePolicy");
|
|
|
3115
3115
|
function wa(t, n) {
|
|
3116
3116
|
m(Ca, s(() => ({
|
|
3117
3117
|
hosts: (t() ?? []).map(e),
|
|
3118
|
-
platformOrigins: [
|
|
3118
|
+
platformOrigins: [i(n())].filter((e) => !!e)
|
|
3119
3119
|
})));
|
|
3120
3120
|
}
|
|
3121
3121
|
function Ta(e, t) {
|
|
@@ -3136,7 +3136,7 @@ function Da(e, t, n) {
|
|
|
3136
3136
|
return r.protocol === "data:" || r.protocol === "blob:" ? !0 : t.platformOrigins.includes(r.origin) ? Ea.test(r.pathname) : r.protocol === "https:" && t.hosts.includes(r.hostname);
|
|
3137
3137
|
}
|
|
3138
3138
|
function Oa() {
|
|
3139
|
-
let e = u(Ca, void 0), t =
|
|
3139
|
+
let e = u(Ca, void 0), t = o(), n = h(/* @__PURE__ */ new Set()), r = () => typeof window > "u" ? "https://localhost/" : window.location.href, i = (e) => t.resolve(e).value.url ?? e;
|
|
3140
3140
|
return {
|
|
3141
3141
|
isGated: s(() => !!e),
|
|
3142
3142
|
canLoad: (t) => !t || !e || n.value.has(t) || Da(i(t), e.value, r()),
|
|
@@ -3165,7 +3165,7 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3165
3165
|
tailLength: { default: void 0 }
|
|
3166
3166
|
},
|
|
3167
3167
|
setup(e) {
|
|
3168
|
-
let
|
|
3168
|
+
let i = e, { t: l } = re({ useScope: "global" }), u = null;
|
|
3169
3169
|
function m() {
|
|
3170
3170
|
return u ||= import("beautiful-mermaid"), u;
|
|
3171
3171
|
}
|
|
@@ -3229,10 +3229,10 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3229
3229
|
}] });
|
|
3230
3230
|
let ce = new W.Renderer(), v = (e) => e.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"), le = /^(?:javascript|data|vbscript|file):/i, ue = !1, de = (e) => v(e.replace(/^https?:\/\/(?:www\.)?/i, "").replace(/\/$/, "")).replace(/\//g, "/<wbr>");
|
|
3231
3231
|
ce.link = function({ href: e, title: t, text: n, tokens: r }) {
|
|
3232
|
-
let
|
|
3233
|
-
if (!o || le.test(o)) return
|
|
3234
|
-
let s = ue && n === o, c = t || (s ? o : ""), l = c ? ` title="${v(c)}"` : "", u =
|
|
3235
|
-
return `<a href="${v(o)}"${l}${u}>${s ? de(o) :
|
|
3232
|
+
let i = this.parser.parseInline(r), o = (e ?? "").trim().replace(/[\x00-\x1f]/g, "");
|
|
3233
|
+
if (!o || le.test(o)) return i;
|
|
3234
|
+
let s = ue && n === o, c = t || (s ? o : ""), l = c ? ` title="${v(c)}"` : "", u = a(o) ? "" : " target=\"_blank\" rel=\"noopener noreferrer\"";
|
|
3235
|
+
return `<a href="${v(o)}"${l}${u}>${s ? de(o) : i}</a>`;
|
|
3236
3236
|
}, ce.table = function(e) {
|
|
3237
3237
|
ue = !0;
|
|
3238
3238
|
try {
|
|
@@ -3267,7 +3267,7 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3267
3267
|
me,
|
|
3268
3268
|
sn,
|
|
3269
3269
|
pe
|
|
3270
|
-
], y = ne("container"), ge = ie(te(
|
|
3270
|
+
], y = ne("container"), ge = ie(te(i, "markdown"), Aa), _e = s(() => i.tailLength ? r(ge.value, i.tailLength) : ge.value), { resolveText: ve } = o(), ye = ve(_e), be = Oa(), xe = s(() => {
|
|
3271
3271
|
let e = he.reduce((e, t) => t(e), ye.value);
|
|
3272
3272
|
return Sa(W.parse(e, {
|
|
3273
3273
|
async: !1,
|
|
@@ -3284,17 +3284,17 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3284
3284
|
t && (e.preventDefault(), e.stopPropagation(), be.release(t));
|
|
3285
3285
|
}
|
|
3286
3286
|
async function Se() {
|
|
3287
|
-
if (
|
|
3287
|
+
if (i.loading) return;
|
|
3288
3288
|
await d();
|
|
3289
3289
|
let e = y.value?.querySelectorAll("pre.mermaid:not([data-rendered])");
|
|
3290
3290
|
if (!e?.length) return;
|
|
3291
|
-
let { renderMermaidSVG: t, THEMES: n } = await m(),
|
|
3291
|
+
let { renderMermaidSVG: t, THEMES: n } = await m(), r = i.isDark ? n["github-dark"] : n["github-light"];
|
|
3292
3292
|
for (let n of Array.from(e)) {
|
|
3293
3293
|
if (!n.isConnected) continue;
|
|
3294
3294
|
let e = n.textContent?.trim();
|
|
3295
3295
|
if (e) try {
|
|
3296
|
-
let
|
|
3297
|
-
n.isConnected && (n.dataset.code = e, n.innerHTML =
|
|
3296
|
+
let i = t(e, r);
|
|
3297
|
+
n.isConnected && (n.dataset.code = e, n.innerHTML = i, n.setAttribute("data-rendered", "true"));
|
|
3298
3298
|
} catch {}
|
|
3299
3299
|
}
|
|
3300
3300
|
}
|
|
@@ -3328,12 +3328,12 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3328
3328
|
await d();
|
|
3329
3329
|
let e = y.value?.querySelectorAll("pre.mermaid[data-rendered]");
|
|
3330
3330
|
if (!e?.length) return;
|
|
3331
|
-
let { renderMermaidSVG: t, THEMES: n } = await m(),
|
|
3331
|
+
let { renderMermaidSVG: t, THEMES: n } = await m(), r = i.isDark ? n["github-dark"] : n["github-light"];
|
|
3332
3332
|
for (let n of Array.from(e)) {
|
|
3333
3333
|
if (!n.isConnected) continue;
|
|
3334
3334
|
let e = n.dataset.code;
|
|
3335
3335
|
if (e) try {
|
|
3336
|
-
n.innerHTML = t(e,
|
|
3336
|
+
n.innerHTML = t(e, r);
|
|
3337
3337
|
} catch {}
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
@@ -3348,11 +3348,11 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3348
3348
|
y.value?.addEventListener("error", Ee, !0);
|
|
3349
3349
|
}), f(() => {
|
|
3350
3350
|
y.value?.removeEventListener("error", Ee, !0);
|
|
3351
|
-
}), g([xe, () =>
|
|
3351
|
+
}), g([xe, () => i.loading], Se, { immediate: !0 }), g(() => i.isDark, Te), g(xe, Ce, { immediate: !0 }), g(xe, we, { immediate: !0 });
|
|
3352
3352
|
let De = 0;
|
|
3353
3353
|
function Oe(e, t) {
|
|
3354
3354
|
let n = document.createElement("span");
|
|
3355
|
-
return n.style.cssText = `animation:ft-${
|
|
3355
|
+
return n.style.cssText = `animation:ft-${i.animation} ${i.animationDuration} ease-out ${t}ms both;display:inline-block`, n.textContent = e, n.addEventListener("animationend", () => {
|
|
3356
3356
|
let t = n.parentNode;
|
|
3357
3357
|
t && (t.replaceChild(document.createTextNode(e), n), t.normalize());
|
|
3358
3358
|
}, { once: !0 }), n;
|
|
@@ -3370,7 +3370,7 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3370
3370
|
return n;
|
|
3371
3371
|
}
|
|
3372
3372
|
function x() {
|
|
3373
|
-
if (!y.value || !
|
|
3373
|
+
if (!y.value || !i.loading || !i.animation) return;
|
|
3374
3374
|
let e = Ae(y.value), t = 0, n = 0;
|
|
3375
3375
|
for (let r of e) {
|
|
3376
3376
|
let e = r.textContent || "", i = t, a = t + e.length;
|
|
@@ -3389,7 +3389,7 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3389
3389
|
}
|
|
3390
3390
|
return g(xe, async () => {
|
|
3391
3391
|
await d(), x();
|
|
3392
|
-
}, { immediate: !0 }), g(() =>
|
|
3392
|
+
}, { immediate: !0 }), g(() => i.markdown, (e, t) => {
|
|
3393
3393
|
(!e || t && e.length < t.length) && (De = 0);
|
|
3394
3394
|
}), (e, t) => (ee(), c("div", {
|
|
3395
3395
|
ref: "container",
|
|
@@ -3401,4 +3401,4 @@ var ka = ["innerHTML"], Aa = 100, ja = /* @__PURE__ */ l({
|
|
|
3401
3401
|
//#endregion
|
|
3402
3402
|
export { wa as n, Oa as r, ja as t };
|
|
3403
3403
|
|
|
3404
|
-
//# sourceMappingURL=PkStreamingMarkdown-
|
|
3404
|
+
//# sourceMappingURL=PkStreamingMarkdown-JEkbkY5k.js.map
|