@templatical/editor 0.52.0 → 0.52.1
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/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
- package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
- package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
- package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
- package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
- package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
- package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
- package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
- package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
- package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
- package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
- package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
- package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
- package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
- package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
- package/dist/IssuesPanel-4ykrf1ax.js +359 -0
- package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
- package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
- package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
- package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
- package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
- package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
- package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
- package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
- package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
- package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
- package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
- package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
- package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
- package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
- package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
- package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
- package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
- package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
- package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
- package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
- package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
- package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
- package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
- package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
- package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
- package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
- package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
- package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
- package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
- package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
- package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
- package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
- package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
- package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
- package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
- package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
- package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
- package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
- package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
- package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
- package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
- package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
- package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
- package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
- package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1422 -1422
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
- package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
- package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
- package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
- package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
- package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
- package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
- package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
- package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
- package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
- package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
- package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
- package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
- package/dist/en-Db76vJbY.js +1 -0
- package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
- package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
- package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
- package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
- package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
- package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
- package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
- package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
- package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
- package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
- package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
- package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
- package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
- package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
- package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
- package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
- package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
- package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
- package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
- package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
- package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
- package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +1096 -1096
- package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
- package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
- package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
- package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
- package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
- package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
- package/dist/useEditorRoot-BMcoCLBx.js +7 -0
- package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
- package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
- package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
- package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
- package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
- package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
- package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
- package/package.json +10 -10
- package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
- package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
- package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
- package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
- package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
- package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
- package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
- package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
- package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
- package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
- package/dist/en-CyEE7FPY.js +0 -1
- package/dist/useEditorRoot-BKr6nNkC.js +0 -7
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { X as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as S } from "./createLucideIcon-
|
|
7
|
-
import { t as ie } from "./circle-alert-
|
|
8
|
-
import { t as C } from "./image-
|
|
9
|
-
import { t as ae } from "./loader-circle-
|
|
10
|
-
import { t as oe } from "./send-
|
|
11
|
-
import { t as w } from "./sparkles-
|
|
12
|
-
import { t as se } from "./square-
|
|
13
|
-
import { t as T } from "./x-
|
|
14
|
-
import { t as ce } from "./LoadingTrack-
|
|
1
|
+
import { $ as e, C as t, D as n, H as r, N as i, Nt as a, P as o, U as ee, _ as s, c, d as l, f as u, g as d, j as f, jt as p, l as m, r as h, st as g, u as _, y as v, z as y } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
2
|
+
import { a as te } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
3
|
+
import { _ as ne, g as b } from "./dist-CVy-7PHQ.js";
|
|
4
|
+
import { X as x } from "./keys-BgRERHzu.js";
|
|
5
|
+
import { t as re } from "./useI18n-BBrHTdu8.js";
|
|
6
|
+
import { t as S } from "./createLucideIcon-CvhTA2KG.js";
|
|
7
|
+
import { t as ie } from "./circle-alert-CShJwVFv.js";
|
|
8
|
+
import { t as C } from "./image-BDiRFzSd.js";
|
|
9
|
+
import { t as ae } from "./loader-circle-BZRD0a4I.js";
|
|
10
|
+
import { t as oe } from "./send-DROkPOaX.js";
|
|
11
|
+
import { t as w } from "./sparkles-CdaTtvoz.js";
|
|
12
|
+
import { t as se } from "./square-BbCROH_f.js";
|
|
13
|
+
import { t as T } from "./x-BpfG7v9g.js";
|
|
14
|
+
import { t as ce } from "./LoadingTrack-DM4g6j7b.js";
|
|
15
15
|
import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
16
16
|
import { n as D } from "./aiErrors-C3QEMB0x.js";
|
|
17
17
|
import { S as O } from "./styleConstants-B8xVRiwX.js";
|
|
@@ -88,7 +88,7 @@ var k = S({
|
|
|
88
88
|
key: 0,
|
|
89
89
|
"data-testid": "ai-panel-subtitle",
|
|
90
90
|
class: "tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
91
|
-
}, I = { class: "tpl:flex tpl:items-center tpl:gap-1" }, L = ["aria-label", "title"], R = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, z = /* @__PURE__ */
|
|
91
|
+
}, I = { class: "tpl:flex tpl:items-center tpl:gap-1" }, L = ["aria-label", "title"], R = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, z = /* @__PURE__ */ v({
|
|
92
92
|
__name: "AiPanelShell",
|
|
93
93
|
props: {
|
|
94
94
|
title: {},
|
|
@@ -99,29 +99,29 @@ var k = S({
|
|
|
99
99
|
emits: ["close"],
|
|
100
100
|
setup(e, { emit: t }) {
|
|
101
101
|
let n = t;
|
|
102
|
-
return (t, r) => (
|
|
102
|
+
return (t, r) => (f(), u("div", {
|
|
103
103
|
role: "complementary",
|
|
104
104
|
"aria-label": e.title,
|
|
105
105
|
"data-testid": e.testid,
|
|
106
106
|
class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
107
107
|
}, [
|
|
108
|
-
|
|
108
|
+
m("div", j, [m("div", M, [m("div", N, [s(g(w), {
|
|
109
109
|
size: 13,
|
|
110
110
|
"stroke-width": 2,
|
|
111
111
|
"aria-hidden": "true"
|
|
112
|
-
}),
|
|
112
|
+
}), m("span", P, a(e.title), 1)]), e.subtitle ? (f(), u("p", F, a(e.subtitle), 1)) : l("", !0)]), m("div", I, [o(t.$slots, "actions"), m("button", {
|
|
113
113
|
type: "button",
|
|
114
114
|
"data-testid": "ai-panel-close",
|
|
115
115
|
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
116
116
|
"aria-label": e.closeLabel,
|
|
117
117
|
title: e.closeLabel,
|
|
118
118
|
onClick: r[0] ||= (e) => n("close")
|
|
119
|
-
}, [
|
|
119
|
+
}, [s(g(T), {
|
|
120
120
|
size: 14,
|
|
121
121
|
"stroke-width": 2,
|
|
122
122
|
"aria-hidden": "true"
|
|
123
123
|
})], 8, L)])]),
|
|
124
|
-
|
|
124
|
+
m("div", R, [o(t.$slots, "default")]),
|
|
125
125
|
o(t.$slots, "footer")
|
|
126
126
|
], 8, A));
|
|
127
127
|
}
|
|
@@ -206,21 +206,21 @@ var pe = [
|
|
|
206
206
|
}, De = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, Oe = ["onClick"], ke = { class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]" }, Ae = ["disabled"], je = {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "tpl:mb-2 tpl:flex tpl:flex-wrap tpl:gap-1"
|
|
209
|
-
},
|
|
209
|
+
}, Me = { class: "tpl:truncate" }, Ne = [
|
|
210
210
|
"aria-label",
|
|
211
211
|
"disabled",
|
|
212
212
|
"onClick"
|
|
213
|
-
],
|
|
213
|
+
], Pe = {
|
|
214
214
|
key: 1,
|
|
215
215
|
class: "tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
216
|
-
},
|
|
216
|
+
}, Fe = {
|
|
217
217
|
"aria-live": "polite",
|
|
218
218
|
class: "tpl:text-xs tpl:text-[var(--tpl-danger)]"
|
|
219
|
-
},
|
|
219
|
+
}, Ie = {
|
|
220
220
|
key: 1,
|
|
221
221
|
role: "status",
|
|
222
222
|
class: "tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
223
|
-
},
|
|
223
|
+
}, Le = ["disabled"], Re = {
|
|
224
224
|
key: 2,
|
|
225
225
|
role: "alert",
|
|
226
226
|
"data-testid": "ai-chat-error",
|
|
@@ -229,29 +229,29 @@ var pe = [
|
|
|
229
229
|
"background-color": "var(--tpl-danger-light)",
|
|
230
230
|
color: "var(--tpl-danger)"
|
|
231
231
|
}
|
|
232
|
-
},
|
|
232
|
+
}, ze = { class: "tpl-ai-input-wrapper tpl-focus-ring-host tpl:flex tpl:flex-col tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Be = [
|
|
233
233
|
"placeholder",
|
|
234
234
|
"aria-label",
|
|
235
235
|
"disabled"
|
|
236
|
-
],
|
|
236
|
+
], Ve = { class: "tpl:flex tpl:items-center tpl:justify-between" }, He = [
|
|
237
237
|
"aria-label",
|
|
238
238
|
"title",
|
|
239
239
|
"disabled"
|
|
240
|
-
],
|
|
240
|
+
], Ue = ["aria-label", "title"], We = [
|
|
241
241
|
"aria-label",
|
|
242
242
|
"title",
|
|
243
243
|
"disabled"
|
|
244
|
-
],
|
|
244
|
+
], Ge = { class: "tpl:m-0 tpl:px-1 tpl:pt-2 tpl:text-center tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, H = /*#__PURE__*/ E(/* @__PURE__ */ v({
|
|
245
245
|
__name: "AiChatPanel",
|
|
246
246
|
props: { feature: {} },
|
|
247
247
|
emits: ["close"],
|
|
248
|
-
setup(o, { emit:
|
|
249
|
-
let S = o, E =
|
|
250
|
-
|
|
248
|
+
setup(o, { emit: v }) {
|
|
249
|
+
let S = o, E = v, { t: A, format: j } = re(), M = t(x, void 0), N = e(""), P = e(null), F = e(null), I = e([]), L = e([]), R = e(0);
|
|
250
|
+
y(() => S.feature.templateSession.value, () => {
|
|
251
251
|
N.value = "", I.value = [], L.value = [], R.value = 0;
|
|
252
252
|
}, { flush: "sync" });
|
|
253
|
-
let B =
|
|
254
|
-
function
|
|
253
|
+
let B = c(() => S.feature.has("chatAttachments"));
|
|
254
|
+
function H(e) {
|
|
255
255
|
let t = V(I.value, e);
|
|
256
256
|
I.value = t.accepted;
|
|
257
257
|
let n = {
|
|
@@ -262,32 +262,32 @@ var pe = [
|
|
|
262
262
|
};
|
|
263
263
|
L.value = t.errors.map((e) => j(A.ai.chat[n[e.reason]], { name: e.name }));
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function Ke(e) {
|
|
266
266
|
let t = e.target;
|
|
267
|
-
!
|
|
267
|
+
!J.value && B.value && H(Array.from(t.files ?? [])), t.value = "";
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
|
|
269
|
+
function qe(e) {
|
|
270
|
+
J.value || (I.value.splice(e, 1), L.value = []);
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function U(e) {
|
|
273
273
|
return Array.from(e.dataTransfer?.types ?? []).includes("Files");
|
|
274
274
|
}
|
|
275
|
-
function qe(e) {
|
|
276
|
-
B.value && !Y.value && W(e) && (e.preventDefault(), R.value++);
|
|
277
|
-
}
|
|
278
275
|
function Je(e) {
|
|
279
|
-
|
|
276
|
+
B.value && !J.value && U(e) && (e.preventDefault(), R.value++);
|
|
280
277
|
}
|
|
281
278
|
function Ye(e) {
|
|
282
|
-
|
|
279
|
+
U(e) && (R.value = Math.max(0, R.value - 1));
|
|
283
280
|
}
|
|
284
281
|
function Xe(e) {
|
|
285
|
-
|
|
282
|
+
B.value && U(e) && e.preventDefault();
|
|
286
283
|
}
|
|
287
|
-
|
|
288
|
-
B.value && e
|
|
284
|
+
function Ze(e) {
|
|
285
|
+
R.value = 0, B.value && U(e) && (e.preventDefault(), J.value || H(Array.from(e.dataTransfer?.files ?? [])));
|
|
286
|
+
}
|
|
287
|
+
y(() => S.feature.importQueue.value, (e) => {
|
|
288
|
+
B.value && e.length && (H(e), N.value.trim() || (N.value = A.ai.import.prompt), S.feature.importQueue.value = [], n(() => P.value?.focus()));
|
|
289
289
|
}, { immediate: !0 });
|
|
290
|
-
let
|
|
290
|
+
let W = e(null), G = e(0), K = c(() => S.feature.isTemplateEmpty.value ? [
|
|
291
291
|
A.ai.starters.emptyWelcome,
|
|
292
292
|
A.ai.starters.emptyLaunch,
|
|
293
293
|
A.ai.starters.emptyNewsletter
|
|
@@ -296,26 +296,26 @@ var pe = [
|
|
|
296
296
|
A.ai.starters.filledFriendlier,
|
|
297
297
|
A.ai.starters.filledDates,
|
|
298
298
|
A.ai.starters.filledCta
|
|
299
|
-
]),
|
|
299
|
+
]), q = c(() => S.feature.messages.value), J = c(() => S.feature.isRunning.value), Y = c(() => {
|
|
300
300
|
let e = S.feature.failure.value;
|
|
301
301
|
return e ? D(e.error, A.ai.errors, j, M, e.context) : "";
|
|
302
|
-
}), { pause:
|
|
303
|
-
|
|
304
|
-
}, 150, { immediate: !1 }), { start: Qe } =
|
|
305
|
-
|
|
306
|
-
|
|
302
|
+
}), { pause: X, resume: Z } = b(() => {
|
|
303
|
+
G.value < K.value.length ? G.value++ : X();
|
|
304
|
+
}, 150, { immediate: !1 }), { start: Qe } = ne(() => Z(), 100, { immediate: !1 });
|
|
305
|
+
y(() => K.value.length, (e) => {
|
|
306
|
+
X(), G.value = 0, e > 0 && Qe();
|
|
307
307
|
}, { immediate: !0 });
|
|
308
308
|
function Q() {
|
|
309
309
|
n(() => {
|
|
310
|
-
|
|
310
|
+
W.value && (W.value.scrollTop = W.value.scrollHeight);
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
|
|
313
|
+
y(() => q.value.length, Q), y(() => [S.feature.failedPrompt.value, S.feature.failedAttachments.value], ([e, t]) => {
|
|
314
314
|
e && (N.value = e, I.value = [...t]);
|
|
315
315
|
}, { immediate: !0 });
|
|
316
316
|
async function $() {
|
|
317
317
|
let e = N.value.trim();
|
|
318
|
-
if (!e ||
|
|
318
|
+
if (!e || J.value) return;
|
|
319
319
|
let t = [...I.value];
|
|
320
320
|
N.value = "", I.value = [], L.value = [], Q(), await S.feature.send(e, t), Q();
|
|
321
321
|
}
|
|
@@ -329,42 +329,42 @@ var pe = [
|
|
|
329
329
|
e.undone ? S.feature.redoMessage(e.id) : S.feature.undoMessage(e.id);
|
|
330
330
|
}
|
|
331
331
|
function nt(e) {
|
|
332
|
-
|
|
332
|
+
X(), N.value = e, $();
|
|
333
333
|
}
|
|
334
334
|
function rt(e) {
|
|
335
335
|
e.isComposing || e.keyCode === 229 || e.key === "Enter" && !e.shiftKey && (e.preventDefault(), $());
|
|
336
336
|
}
|
|
337
|
-
return (
|
|
337
|
+
return (e, t) => (f(), u("div", {
|
|
338
338
|
class: "tpl:contents",
|
|
339
339
|
"data-testid": "ai-chat-dropzone",
|
|
340
|
-
onDragenter:
|
|
341
|
-
onDragleave:
|
|
342
|
-
onDragover:
|
|
343
|
-
onDrop:
|
|
344
|
-
}, [
|
|
340
|
+
onDragenter: Je,
|
|
341
|
+
onDragleave: Ye,
|
|
342
|
+
onDragover: Xe,
|
|
343
|
+
onDrop: Ze
|
|
344
|
+
}, [s(z, {
|
|
345
345
|
title: g(A).ai.chat.title,
|
|
346
346
|
subtitle: g(A).ai.chat.notice,
|
|
347
347
|
testid: "ai-panel-chat",
|
|
348
348
|
"close-label": g(A).ai.chat.close,
|
|
349
|
-
onClose:
|
|
349
|
+
onClose: t[5] ||= (e) => E("close")
|
|
350
350
|
}, {
|
|
351
|
-
actions:
|
|
351
|
+
actions: r(() => [o.feature.canClear && q.value.length > 0 ? (f(), u("button", {
|
|
352
352
|
key: 0,
|
|
353
353
|
type: "button",
|
|
354
354
|
"data-testid": "ai-chat-new",
|
|
355
355
|
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)] tpl:disabled:opacity-40",
|
|
356
356
|
"aria-label": g(A).ai.chat.newChat,
|
|
357
357
|
title: g(A).ai.chat.newChat,
|
|
358
|
-
disabled:
|
|
359
|
-
onClick:
|
|
360
|
-
}, [
|
|
358
|
+
disabled: J.value,
|
|
359
|
+
onClick: t[0] ||= (e) => o.feature.newChat()
|
|
360
|
+
}, [s(g(le), {
|
|
361
361
|
size: 14,
|
|
362
362
|
"stroke-width": 2,
|
|
363
363
|
"aria-hidden": "true"
|
|
364
|
-
})], 8, pe)) :
|
|
365
|
-
footer:
|
|
366
|
-
B.value ? (
|
|
367
|
-
|
|
364
|
+
})], 8, pe)) : l("", !0)]),
|
|
365
|
+
footer: r(() => [m("div", ke, [
|
|
366
|
+
B.value ? (f(), u(h, { key: 0 }, [
|
|
367
|
+
m("input", {
|
|
368
368
|
ref_key: "fileInput",
|
|
369
369
|
ref: F,
|
|
370
370
|
"data-testid": "ai-chat-files",
|
|
@@ -372,89 +372,89 @@ var pe = [
|
|
|
372
372
|
multiple: "",
|
|
373
373
|
accept: "image/png,image/jpeg,image/webp,image/gif,application/pdf",
|
|
374
374
|
hidden: "",
|
|
375
|
-
disabled:
|
|
376
|
-
onChange:
|
|
375
|
+
disabled: J.value,
|
|
376
|
+
onChange: Ke
|
|
377
377
|
}, null, 40, Ae),
|
|
378
|
-
I.value.length ? (
|
|
378
|
+
I.value.length ? (f(), u("div", je, [(f(!0), u(h, null, i(I.value, (e, t) => (f(), u("span", {
|
|
379
379
|
key: t,
|
|
380
380
|
"data-testid": "ai-chat-attachment",
|
|
381
381
|
class: "tpl:flex tpl:max-w-full tpl:items-center tpl:gap-1 tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)]"
|
|
382
382
|
}, [
|
|
383
|
-
e.type === "application/pdf" ? (
|
|
383
|
+
e.type === "application/pdf" ? (f(), _(g(k), {
|
|
384
384
|
key: 0,
|
|
385
385
|
size: 12,
|
|
386
386
|
"aria-hidden": "true"
|
|
387
|
-
})) : (
|
|
387
|
+
})) : (f(), _(g(C), {
|
|
388
388
|
key: 1,
|
|
389
389
|
size: 12,
|
|
390
390
|
"aria-hidden": "true"
|
|
391
391
|
})),
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
m("span", Me, a(e.name), 1),
|
|
393
|
+
m("button", {
|
|
394
394
|
type: "button",
|
|
395
395
|
"aria-label": g(j)(g(A).ai.chat.removeAttachment, { name: e.name }),
|
|
396
|
-
disabled:
|
|
396
|
+
disabled: J.value,
|
|
397
397
|
class: "tpl:shrink-0 tpl:rounded tpl:p-0.5 tpl:disabled:opacity-40",
|
|
398
|
-
onClick: (e) =>
|
|
399
|
-
}, [
|
|
398
|
+
onClick: (e) => qe(t)
|
|
399
|
+
}, [s(g(T), {
|
|
400
400
|
size: 12,
|
|
401
401
|
"aria-hidden": "true"
|
|
402
|
-
})], 8,
|
|
403
|
-
]))), 128))])) :
|
|
404
|
-
I.value.length ? (
|
|
405
|
-
|
|
402
|
+
})], 8, Ne)
|
|
403
|
+
]))), 128))])) : l("", !0),
|
|
404
|
+
I.value.length ? (f(), u("p", Pe, a(g(A).ai.import.placeholderNote), 1)) : l("", !0),
|
|
405
|
+
m("div", Fe, [(f(!0), u(h, null, i(L.value, (e, t) => (f(), u("p", {
|
|
406
406
|
key: t,
|
|
407
407
|
class: "tpl:mb-2"
|
|
408
|
-
},
|
|
409
|
-
], 64)) :
|
|
410
|
-
o.feature.keptYourVersion.value ? (
|
|
408
|
+
}, a(e), 1))), 128))])
|
|
409
|
+
], 64)) : l("", !0),
|
|
410
|
+
o.feature.keptYourVersion.value ? (f(), u("div", Ie, [m("p", null, a(g(A).ai.chat.keptYourVersion), 1), m("button", {
|
|
411
411
|
type: "button",
|
|
412
|
-
disabled:
|
|
413
|
-
class:
|
|
414
|
-
onClick:
|
|
415
|
-
},
|
|
416
|
-
|
|
412
|
+
disabled: J.value,
|
|
413
|
+
class: p(g(O)),
|
|
414
|
+
onClick: t[1] ||= (e) => o.feature.reloadTemplate()
|
|
415
|
+
}, a(g(A).ai.chat.reload), 11, Le)])) : l("", !0),
|
|
416
|
+
Y.value ? (f(), u("div", Re, [s(g(ie), {
|
|
417
417
|
size: 14,
|
|
418
418
|
"stroke-width": 2,
|
|
419
419
|
class: "tpl:mt-0.5 tpl:shrink-0",
|
|
420
420
|
"aria-hidden": "true"
|
|
421
|
-
}),
|
|
422
|
-
|
|
421
|
+
}), m("span", null, a(Y.value), 1)])) : l("", !0),
|
|
422
|
+
m("div", ze, [ee(m("textarea", {
|
|
423
423
|
ref_key: "composer",
|
|
424
424
|
ref: P,
|
|
425
|
-
"onUpdate:modelValue":
|
|
425
|
+
"onUpdate:modelValue": t[2] ||= (e) => N.value = e,
|
|
426
426
|
"data-testid": "ai-chat-input",
|
|
427
427
|
class: "tpl:max-h-32 tpl:min-h-[44px] tpl:w-full tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-sm tpl:outline-none tpl:text-[var(--tpl-text)]",
|
|
428
428
|
placeholder: g(A).ai.chat.inputPlaceholder,
|
|
429
429
|
"aria-label": g(A).ai.chat.inputPlaceholder,
|
|
430
|
-
disabled:
|
|
430
|
+
disabled: J.value,
|
|
431
431
|
maxlength: "4000",
|
|
432
432
|
rows: "3",
|
|
433
433
|
onKeydown: rt
|
|
434
|
-
}, null, 40,
|
|
434
|
+
}, null, 40, Be), [[te, N.value]]), m("div", Ve, [B.value ? (f(), u("button", {
|
|
435
435
|
key: 0,
|
|
436
436
|
type: "button",
|
|
437
437
|
"aria-label": g(A).ai.chat.attach,
|
|
438
438
|
title: g(A).ai.chat.attach,
|
|
439
|
-
disabled:
|
|
439
|
+
disabled: J.value,
|
|
440
440
|
class: "tpl:-ml-1.5 tpl:shrink-0 tpl:rounded-md tpl:p-1.5 tpl:text-[var(--tpl-text-muted)] tpl:disabled:opacity-40",
|
|
441
|
-
onClick:
|
|
442
|
-
}, [
|
|
441
|
+
onClick: t[3] ||= (e) => F.value?.click()
|
|
442
|
+
}, [s(g(ue), {
|
|
443
443
|
size: 16,
|
|
444
444
|
"aria-hidden": "true"
|
|
445
|
-
})], 8,
|
|
445
|
+
})], 8, He)) : l("", !0), J.value ? (f(), u("button", {
|
|
446
446
|
key: 1,
|
|
447
447
|
type: "button",
|
|
448
448
|
"data-testid": "ai-chat-stop",
|
|
449
449
|
class: "tpl-ai-send-btn tpl:ml-auto tpl:-mr-1.5 tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:text-[var(--tpl-primary)]",
|
|
450
450
|
"aria-label": g(A).ai.chat.stop,
|
|
451
451
|
title: g(A).ai.chat.stop,
|
|
452
|
-
onClick:
|
|
453
|
-
}, [
|
|
452
|
+
onClick: t[4] ||= (e) => o.feature.stop()
|
|
453
|
+
}, [s(g(se), {
|
|
454
454
|
size: 16,
|
|
455
455
|
"stroke-width": 2,
|
|
456
456
|
"aria-hidden": "true"
|
|
457
|
-
})], 8,
|
|
457
|
+
})], 8, Ue)) : (f(), u("button", {
|
|
458
458
|
key: 2,
|
|
459
459
|
type: "button",
|
|
460
460
|
"data-testid": "ai-chat-send",
|
|
@@ -463,79 +463,79 @@ var pe = [
|
|
|
463
463
|
title: g(A).ai.chat.send,
|
|
464
464
|
disabled: !N.value.trim(),
|
|
465
465
|
onClick: $
|
|
466
|
-
}, [
|
|
466
|
+
}, [s(g(oe), {
|
|
467
467
|
size: 16,
|
|
468
468
|
"stroke-width": 2,
|
|
469
469
|
"aria-hidden": "true"
|
|
470
|
-
})], 8,
|
|
471
|
-
|
|
470
|
+
})], 8, We))])]),
|
|
471
|
+
m("p", Ge, a(g(A).ai.chat.disclaimer), 1)
|
|
472
472
|
])]),
|
|
473
|
-
default:
|
|
474
|
-
B.value && R.value > 0 && !
|
|
475
|
-
|
|
473
|
+
default: r(() => [
|
|
474
|
+
B.value && R.value > 0 && !J.value ? (f(), u("div", me, a(g(A).ai.chat.dropHint), 1)) : l("", !0),
|
|
475
|
+
m("div", {
|
|
476
476
|
ref_key: "messagesContainer",
|
|
477
|
-
ref:
|
|
477
|
+
ref: W,
|
|
478
478
|
class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4"
|
|
479
|
-
}, [o.feature.isLoadingHistory.value ? (
|
|
479
|
+
}, [o.feature.isLoadingHistory.value ? (f(), u("div", he, [s(g(ae), {
|
|
480
480
|
class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
|
|
481
481
|
size: 24,
|
|
482
482
|
"stroke-width": 2,
|
|
483
483
|
"aria-hidden": "true"
|
|
484
|
-
}),
|
|
484
|
+
}), m("p", ge, a(g(A).ai.chat.loadingHistory), 1)])) : q.value.length === 0 ? (f(), u("div", _e, [s(g(w), {
|
|
485
485
|
size: 32,
|
|
486
486
|
"stroke-width": 1.5,
|
|
487
487
|
class: "tpl:text-[var(--tpl-text-dim)]",
|
|
488
488
|
"aria-hidden": "true"
|
|
489
|
-
}),
|
|
490
|
-
key:
|
|
489
|
+
}), m("p", ve, a(g(A).ai.chat.placeholder), 1)])) : (f(), u("div", ye, [(f(!0), u(h, null, i(q.value, (e) => (f(), u("div", {
|
|
490
|
+
key: e.id,
|
|
491
491
|
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
492
|
-
}, [
|
|
492
|
+
}, [e.role === "user" ? (f(), u("div", be, [d(a(e.text) + " ", 1), (f(!0), u(h, null, i(e.attachments, (e, t) => (f(), u("span", {
|
|
493
493
|
key: t,
|
|
494
494
|
"data-testid": "ai-chat-history-attachment",
|
|
495
495
|
class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs"
|
|
496
|
-
}, [e.kind === "pdf" ? (
|
|
496
|
+
}, [e.kind === "pdf" ? (f(), _(g(k), {
|
|
497
497
|
key: 0,
|
|
498
498
|
size: 12,
|
|
499
499
|
"aria-hidden": "true"
|
|
500
|
-
})) : (
|
|
500
|
+
})) : (f(), _(g(C), {
|
|
501
501
|
key: 1,
|
|
502
502
|
size: 12,
|
|
503
503
|
"aria-hidden": "true"
|
|
504
|
-
})),
|
|
505
|
-
|
|
506
|
-
|
|
504
|
+
})), d(a(e.name), 1)]))), 128))])) : (f(), u("div", xe, [
|
|
505
|
+
e.text === "" && e.status === "streaming" ? (f(), _(ce, { key: 0 })) : e.text === "" ? l("", !0) : (f(), u("div", Se, a(e.text), 1)),
|
|
506
|
+
e.operationCount > 0 ? (f(), u("div", Ce, [m("span", null, a($e(e)), 1), (e.undone ? e.canRedo : e.canUndo) ? (f(), u("button", {
|
|
507
507
|
key: 0,
|
|
508
508
|
type: "button",
|
|
509
509
|
"data-testid": "ai-chat-undo",
|
|
510
|
-
class:
|
|
511
|
-
disabled:
|
|
512
|
-
onClick: (
|
|
513
|
-
}, [
|
|
510
|
+
class: p(g(O)),
|
|
511
|
+
disabled: J.value,
|
|
512
|
+
onClick: (t) => tt(e)
|
|
513
|
+
}, [e.undone ? (f(), _(g(de), {
|
|
514
514
|
key: 0,
|
|
515
515
|
size: 12,
|
|
516
516
|
"stroke-width": 2,
|
|
517
517
|
"aria-hidden": "true"
|
|
518
|
-
})) : (
|
|
518
|
+
})) : (f(), _(g(fe), {
|
|
519
519
|
key: 1,
|
|
520
520
|
size: 12,
|
|
521
521
|
"stroke-width": 2,
|
|
522
522
|
"aria-hidden": "true"
|
|
523
|
-
})),
|
|
524
|
-
|
|
523
|
+
})), d(" " + a(e.undone ? g(A).ai.chat.redo : g(A).ai.chat.undo), 1)], 10, we)) : l("", !0)])) : l("", !0),
|
|
524
|
+
e.failure ? (f(), u("p", Te, a(et(e)), 1)) : l("", !0)
|
|
525
525
|
]))]))), 128))]))], 512),
|
|
526
|
-
|
|
527
|
-
key:
|
|
526
|
+
q.value.length === 0 && K.value.length > 0 ? (f(), u("div", Ee, [m("div", De, [(f(!0), u(h, null, i(K.value, (e, t) => (f(), u("button", {
|
|
527
|
+
key: t,
|
|
528
528
|
type: "button",
|
|
529
529
|
"data-testid": "ai-chat-starter",
|
|
530
|
-
class:
|
|
530
|
+
class: p(["tpl-starter-btn tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:leading-snug tpl:transition-all tpl:duration-300 tpl:ease-out", K.value.length - 1 - t < G.value ? "tpl:translate-y-0 tpl:opacity-100" : "tpl:pointer-events-none tpl:-translate-y-2 tpl:opacity-0"]),
|
|
531
531
|
style: {
|
|
532
532
|
"border-color": "var(--tpl-border)",
|
|
533
533
|
color: "var(--tpl-primary)",
|
|
534
534
|
"background-color": "var(--tpl-bg)",
|
|
535
535
|
"box-shadow": "var(--tpl-shadow)"
|
|
536
536
|
},
|
|
537
|
-
onClick: (
|
|
538
|
-
},
|
|
537
|
+
onClick: (t) => nt(e)
|
|
538
|
+
}, a(e), 11, Oe))), 128))])])) : l("", !0)
|
|
539
539
|
]),
|
|
540
540
|
_: 1
|
|
541
541
|
}, 8, [
|
|
@@ -545,4 +545,4 @@ var pe = [
|
|
|
545
545
|
])], 32));
|
|
546
546
|
}
|
|
547
547
|
}), [["__scopeId", "data-v-e0f79f23"]]);
|
|
548
|
-
export {
|
|
548
|
+
export { H as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as l } from "./runtime-dom.esm-bundler-
|
|
1
|
+
import { H as e, I as t, c as n, d as r, i, j as a, u as o, v as s, y as c } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
2
|
+
import { t as l } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
3
3
|
import { t as u } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
4
4
|
// src/components/ai/AiPanels.vue
|
|
5
5
|
var d = /*#__PURE__*/ u(/* @__PURE__ */ c({
|
|
6
6
|
__name: "AiPanels",
|
|
7
7
|
props: { feature: {} },
|
|
8
8
|
setup(c) {
|
|
9
|
-
let u = s(() => import("./AiChatPanel-
|
|
9
|
+
let u = s(() => import("./AiChatPanel-CupPhmsN.js")), d = c, f = { chat: u }, p = n(() => {
|
|
10
10
|
let e = d.feature.panel.value;
|
|
11
11
|
return e !== null && e in f ? f[e] : null;
|
|
12
12
|
});
|
|
@@ -19,7 +19,7 @@ var d = /*#__PURE__*/ u(/* @__PURE__ */ c({
|
|
|
19
19
|
"leave-to-class": "tpl:translate-x-full",
|
|
20
20
|
mode: "out-in"
|
|
21
21
|
}, {
|
|
22
|
-
default:
|
|
22
|
+
default: e(() => [(a(), o(i, null, [p.value ? (a(), o(t(p.value), {
|
|
23
23
|
key: c.feature.panel.value ?? "none",
|
|
24
24
|
feature: c.feature,
|
|
25
25
|
onClose: s[0] ||= (e) => c.feature.close()
|