@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,359 +0,0 @@
|
|
|
1
|
-
import { A as e, At as t, C as n, D as r, I as ee, Mt as i, N as te, Q as a, _ as o, c as s, d as c, f as l, g as u, j as d, l as f, ot as p, r as ne, u as m, v as re, y as ie, z as h } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
|
|
2
|
-
import { G as ae, K as oe, X as se, g as ce, t as le } from "./keys-DBjrQkYH.js";
|
|
3
|
-
import { t as ue } from "./useI18n-CeTm777E.js";
|
|
4
|
-
import { t as g } from "./createLucideIcon-BV7Gwz_Z.js";
|
|
5
|
-
import { t as de } from "./check-N3x4z_rH.js";
|
|
6
|
-
import { t as fe } from "./circle-alert-B9Ls75B5.js";
|
|
7
|
-
import { t as pe } from "./info-Bx-kBkbH.js";
|
|
8
|
-
import { a as me, n as _, o as he, r as ge, t as _e } from "./useScrollToBlock-C-NzvjeO.js";
|
|
9
|
-
import { t as v } from "./sparkles-NOttoDnJ.js";
|
|
10
|
-
import { t as ve } from "./square-B1CJgdt2.js";
|
|
11
|
-
import { t as ye } from "./triangle-alert-CKLMyGVp.js";
|
|
12
|
-
var be = g({
|
|
13
|
-
name: "arrow-right",
|
|
14
|
-
size: 24,
|
|
15
|
-
node: [["path", {
|
|
16
|
-
d: "M5 12h14",
|
|
17
|
-
key: "1ays0h"
|
|
18
|
-
}], ["path", {
|
|
19
|
-
d: "m12 5 7 7-7 7",
|
|
20
|
-
key: "xquz4c"
|
|
21
|
-
}]]
|
|
22
|
-
}), xe = g({
|
|
23
|
-
name: "wrench",
|
|
24
|
-
size: 24,
|
|
25
|
-
node: [["path", {
|
|
26
|
-
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
|
|
27
|
-
key: "1ngwbx"
|
|
28
|
-
}]]
|
|
29
|
-
}), Se = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, Ce = { class: "tpl:flex tpl:items-center tpl:gap-2" }, we = ["title"], Te = {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:text-xs"
|
|
32
|
-
}, Ee = { class: "tpl:m-0 tpl:font-semibold tpl:text-[var(--tpl-text)]" }, De = { class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]" }, Oe = ["disabled"], ke = {
|
|
33
|
-
key: 0,
|
|
34
|
-
"data-testid": "issue-size-result",
|
|
35
|
-
class: "tpl:m-0 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[var(--tpl-text-muted)]"
|
|
36
|
-
}, Ae = {
|
|
37
|
-
key: 1,
|
|
38
|
-
role: "status",
|
|
39
|
-
class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]"
|
|
40
|
-
}, je = {
|
|
41
|
-
key: 2,
|
|
42
|
-
role: "alert",
|
|
43
|
-
class: "tpl:m-0 tpl:text-[var(--tpl-danger)]"
|
|
44
|
-
}, Me = {
|
|
45
|
-
key: 1,
|
|
46
|
-
role: "status",
|
|
47
|
-
"data-testid": "issue-ai-status",
|
|
48
|
-
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
49
|
-
}, Ne = ["disabled"], Pe = {
|
|
50
|
-
key: 4,
|
|
51
|
-
class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
52
|
-
}, Fe = {
|
|
53
|
-
key: 5,
|
|
54
|
-
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
55
|
-
}, Ie = { class: "tpl:ml-auto tpl:font-normal tpl:opacity-70" }, Le = {
|
|
56
|
-
key: 1,
|
|
57
|
-
class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
|
|
58
|
-
}, Re = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, ze = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Be = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Ve = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, He = ["href"], Ue = ["onClick"], We = ["title", "onClick"], Ge = ["disabled", "onClick"], Ke = ["disabled", "onClick"], qe = {
|
|
59
|
-
key: 1,
|
|
60
|
-
role: "status",
|
|
61
|
-
class: "tpl:m-0 tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
62
|
-
}, y = /* @__PURE__ */ ie({
|
|
63
|
-
__name: "IssuesPanel",
|
|
64
|
-
setup(ie) {
|
|
65
|
-
let g = re(() => import("./AiAltTextPopover-Cm11CsKH.js")), y = re(() => import("./AiAltTextReview-DE8t8Rud.js")), b = a(null), x = a(null);
|
|
66
|
-
function Je() {
|
|
67
|
-
j && !j.busy.value && (O(), b.value = [...Q.value]);
|
|
68
|
-
}
|
|
69
|
-
async function S() {
|
|
70
|
-
b.value = null, await r(), !V && C.value === null && (x.value ?? T.value)?.focus();
|
|
71
|
-
}
|
|
72
|
-
let C = a(null), Ye = s(() => C.value?.blockId ?? null), w = a(null), T = a(null), E = null;
|
|
73
|
-
function D(e) {
|
|
74
|
-
let t = C.value;
|
|
75
|
-
return t !== null && t.blockId === e.blockId && t.ruleId === e.ruleId && t.severity === e.severity;
|
|
76
|
-
}
|
|
77
|
-
function Xe(e, t) {
|
|
78
|
-
e.blockId && !D(e) && (b.value = null, w.value?.abort(), w.value = null, E = t.currentTarget, C.value = {
|
|
79
|
-
blockId: e.blockId,
|
|
80
|
-
ruleId: e.ruleId,
|
|
81
|
-
severity: e.severity
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
async function O(e = "button") {
|
|
85
|
-
if (C.value === null) return;
|
|
86
|
-
C.value = null, w.value?.abort(), w.value = null;
|
|
87
|
-
let t = E;
|
|
88
|
-
E = null, await r(), !(V || C.value !== null || b.value !== null) && (e === "button" && t?.isConnected ? t : T.value)?.focus();
|
|
89
|
-
}
|
|
90
|
-
function Ze(e, t) {
|
|
91
|
-
D(e) && (w.value = t);
|
|
92
|
-
}
|
|
93
|
-
let { t: k, format: A } = ue(), j = n(le, null), M = n(oe, null), N = n(ce, null), P = n(ae, null), Qe = n(se, "en"), $e = _e(), et = s(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = a(!1), I = a(null), L = a(null), R = a(""), z = a(!1), B = 0, V = !1;
|
|
94
|
-
N && h(N.content, () => {
|
|
95
|
-
B++, I.value !== null && (z.value = !0);
|
|
96
|
-
}, { deep: !0 }), e(() => {
|
|
97
|
-
V = !0;
|
|
98
|
-
});
|
|
99
|
-
async function tt() {
|
|
100
|
-
if (!P || !et.value || F.value) return;
|
|
101
|
-
let e = B;
|
|
102
|
-
F.value = !0, R.value = "";
|
|
103
|
-
try {
|
|
104
|
-
let t = await P.renderHtml(), n = await import("@templatical/quality");
|
|
105
|
-
if (V) return;
|
|
106
|
-
I.value = new TextEncoder().encode(t).byteLength, L.value = n.lintCompiledHtml(t, {
|
|
107
|
-
...P.options,
|
|
108
|
-
locale: P.options.locale ?? Qe
|
|
109
|
-
})[0] ?? null, z.value = e !== B;
|
|
110
|
-
} catch (e) {
|
|
111
|
-
V || (R.value = e instanceof Error ? e.message : String(e));
|
|
112
|
-
} finally {
|
|
113
|
-
V || (F.value = !1);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
let H = s(() => [...M?.issues.value ?? [], ...L.value && !z.value ? [L.value] : []]), U = s(() => H.value.filter((e) => e.severity === "error")), W = s(() => H.value.filter((e) => e.severity === "warning")), G = s(() => H.value.filter((e) => e.severity === "info")), K = s(() => U.value.length + W.value.length + G.value.length), q = /* @__PURE__ */ new Set(), J = a(/* @__PURE__ */ new Set()), Y = a(null), X = (e) => JSON.stringify([e.ruleId, e.blockId]);
|
|
117
|
-
function nt(e) {
|
|
118
|
-
let t = new Set(e.map(X));
|
|
119
|
-
for (let e of J.value) t.has(e) || J.value.delete(e);
|
|
120
|
-
for (let e of q) t.has(e) && J.value.add(e);
|
|
121
|
-
q.clear();
|
|
122
|
-
}
|
|
123
|
-
M && h(M.issues, nt, { flush: "sync" }), j && (h([
|
|
124
|
-
j.templateId,
|
|
125
|
-
j.isAvailable,
|
|
126
|
-
() => N?.loadVersion?.value
|
|
127
|
-
], () => {
|
|
128
|
-
b.value !== null && S();
|
|
129
|
-
}, { flush: "sync" }), h(j.templateSession, () => {
|
|
130
|
-
O();
|
|
131
|
-
}, { flush: "sync" }), h(j.sessionIdentity, () => {
|
|
132
|
-
q.clear(), J.value.clear();
|
|
133
|
-
}, { flush: "sync" }));
|
|
134
|
-
let Z = s(() => {
|
|
135
|
-
let e = /* @__PURE__ */ new Set();
|
|
136
|
-
return new Set([
|
|
137
|
-
...U.value,
|
|
138
|
-
...W.value,
|
|
139
|
-
...G.value
|
|
140
|
-
].filter((t) => {
|
|
141
|
-
let n = X(t);
|
|
142
|
-
return !e.has(n) && (e.add(n), !0);
|
|
143
|
-
}));
|
|
144
|
-
}), rt = s(() => {
|
|
145
|
-
let e = /* @__PURE__ */ new Set();
|
|
146
|
-
return new Set([
|
|
147
|
-
...U.value,
|
|
148
|
-
...W.value,
|
|
149
|
-
...G.value
|
|
150
|
-
].filter((t) => !t.blockId || !_.includes(t.ruleId) || e.has(t.blockId) ? !1 : (e.add(t.blockId), !0)));
|
|
151
|
-
}), Q = s(() => {
|
|
152
|
-
if (!N) return [];
|
|
153
|
-
let e = new Set(H.value.filter((e) => _.includes(e.ruleId)).map((e) => e.blockId).filter((e) => e !== null)), t = N.content.value.blocks;
|
|
154
|
-
return [...e].flatMap((e) => {
|
|
155
|
-
let n = N.findBlockLocation(e);
|
|
156
|
-
return n ? [{
|
|
157
|
-
id: e,
|
|
158
|
-
root: n.targetSectionId ? t.findIndex((e) => e.id === n.targetSectionId) : n.index,
|
|
159
|
-
column: n.columnIndex ?? -1,
|
|
160
|
-
index: n.index
|
|
161
|
-
}] : [];
|
|
162
|
-
}).sort((e, t) => e.root - t.root || e.column - t.column || e.index - t.index).map(({ id: e }) => e);
|
|
163
|
-
});
|
|
164
|
-
h(() => C.value === null || H.value.some(D) && (!N || N.findBlockLocation(C.value.blockId) !== null), (e) => {
|
|
165
|
-
e || O("panel");
|
|
166
|
-
}, { flush: "sync" });
|
|
167
|
-
function it(e) {
|
|
168
|
-
return !!j && j.isAvailable.value && j.has("altText") && rt.value.has(e);
|
|
169
|
-
}
|
|
170
|
-
function $(e) {
|
|
171
|
-
return !!j && j.isAvailable.value && j.has("fixFinding") && !e.fix && ge.includes(e.ruleId) && Z.value.has(e);
|
|
172
|
-
}
|
|
173
|
-
async function at(e) {
|
|
174
|
-
if (!$(e) || !j || j.busy.value || Y.value !== null) return;
|
|
175
|
-
let t = X(e), n = j.sessionIdentity.value;
|
|
176
|
-
Y.value = t, J.value.delete(t);
|
|
177
|
-
try {
|
|
178
|
-
let r = await j.fix(me(e));
|
|
179
|
-
!V && j.sessionIdentity.value === n && !r.failed && (q.add(t), M?.contentVersion && M.lintVersion.value === M.contentVersion.value && nt(M.issues.value));
|
|
180
|
-
} finally {
|
|
181
|
-
Y.value = null;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
function ot(e) {
|
|
185
|
-
N && e.blockId && (N.selectBlock(e.blockId), $e(e.blockId));
|
|
186
|
-
}
|
|
187
|
-
function st(e) {
|
|
188
|
-
M?.applyFix(e);
|
|
189
|
-
}
|
|
190
|
-
return (e, n) => (d(), l("div", Se, [
|
|
191
|
-
f("header", Ce, [
|
|
192
|
-
o(p(he), {
|
|
193
|
-
size: 16,
|
|
194
|
-
"stroke-width": 1.5
|
|
195
|
-
}),
|
|
196
|
-
f("h3", {
|
|
197
|
-
ref_key: "panelHeading",
|
|
198
|
-
ref: T,
|
|
199
|
-
tabindex: "-1",
|
|
200
|
-
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
201
|
-
}, i(p(k).issues.panelTitle), 513),
|
|
202
|
-
K.value > 0 ? (d(), l("span", {
|
|
203
|
-
key: 0,
|
|
204
|
-
class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]",
|
|
205
|
-
title: p(A)(p(k).issues.issueCountTooltip, { count: K.value })
|
|
206
|
-
}, i(K.value), 9, we)) : c("", !0)
|
|
207
|
-
]),
|
|
208
|
-
et.value ? (d(), l("section", Te, [
|
|
209
|
-
f("h4", Ee, i(p(k).issues.emailSize), 1),
|
|
210
|
-
f("p", De, i(p(k).issues.sizeExplainer), 1),
|
|
211
|
-
f("button", {
|
|
212
|
-
type: "button",
|
|
213
|
-
"data-testid": "issue-check-size",
|
|
214
|
-
disabled: F.value,
|
|
215
|
-
class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:font-medium tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-active)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
216
|
-
onClick: tt
|
|
217
|
-
}, i(F.value ? p(k).issues.checkingSize : z.value ? p(k).issues.checkSizeAgain : p(k).issues.checkSize), 9, Oe),
|
|
218
|
-
I.value === null ? c("", !0) : (d(), l("p", ke, [!L.value && !z.value ? (d(), m(p(de), {
|
|
219
|
-
key: 0,
|
|
220
|
-
size: 14,
|
|
221
|
-
"stroke-width": 2,
|
|
222
|
-
"aria-hidden": "true"
|
|
223
|
-
})) : c("", !0), u(" " + i(p(A)(!L.value && !z.value ? p(k).issues.sizePass : p(k).issues.sizeResult, { size: new Intl.NumberFormat(p(Qe), {
|
|
224
|
-
minimumFractionDigits: 1,
|
|
225
|
-
maximumFractionDigits: 1
|
|
226
|
-
}).format(I.value / 1024) })), 1)])),
|
|
227
|
-
z.value ? (d(), l("p", Ae, i(p(k).issues.sizeOutdated), 1)) : c("", !0),
|
|
228
|
-
R.value ? (d(), l("p", je, i(p(A)(p(k).issues.sizeError, { error: R.value })), 1)) : c("", !0)
|
|
229
|
-
])) : c("", !0),
|
|
230
|
-
Y.value !== null || w.value !== null ? (d(), l("div", Me, [f("span", null, i(w.value ? p(k).ai.altText.drafting : p(k).ai.fix.fixing), 1), f("button", {
|
|
231
|
-
type: "button",
|
|
232
|
-
"data-testid": "issue-ai-stop",
|
|
233
|
-
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]",
|
|
234
|
-
onClick: n[0] ||= (e) => w.value ? w.value.abort() : p(j)?.stop()
|
|
235
|
-
}, [o(p(ve), {
|
|
236
|
-
size: 10,
|
|
237
|
-
"stroke-width": 2
|
|
238
|
-
}), u(" " + i(p(k).ai.chat.stop), 1)])])) : c("", !0),
|
|
239
|
-
p(j)?.isAvailable.value && p(j).has("altText") && Q.value.length >= 2 ? (d(), l("button", {
|
|
240
|
-
key: 2,
|
|
241
|
-
ref_key: "bulkButton",
|
|
242
|
-
ref: x,
|
|
243
|
-
type: "button",
|
|
244
|
-
"data-testid": "issue-ai-alt-text-bulk",
|
|
245
|
-
disabled: p(j).busy.value,
|
|
246
|
-
class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
247
|
-
onClick: Je
|
|
248
|
-
}, [o(p(v), {
|
|
249
|
-
size: 12,
|
|
250
|
-
"stroke-width": 2,
|
|
251
|
-
"aria-hidden": "true"
|
|
252
|
-
}), u(" " + i(p(A)(p(k).ai.altText.bulk, { count: Q.value.length })), 1)], 8, Ne)) : c("", !0),
|
|
253
|
-
b.value !== null && p(j) ? (d(), m(p(y), {
|
|
254
|
-
key: 3,
|
|
255
|
-
"block-ids": b.value,
|
|
256
|
-
feature: p(j),
|
|
257
|
-
onClose: S
|
|
258
|
-
}, null, 8, ["block-ids", "feature"])) : c("", !0),
|
|
259
|
-
!p(M) || p(M).unavailable.value ? (d(), l("div", Pe)) : K.value === 0 ? (d(), l("div", Fe, i(p(k).issues.emptyState), 1)) : (d(!0), l(ne, { key: 6 }, te([
|
|
260
|
-
{
|
|
261
|
-
key: "errors",
|
|
262
|
-
title: p(k).issues.groupErrors,
|
|
263
|
-
icon: p(fe),
|
|
264
|
-
items: U.value,
|
|
265
|
-
tone: "tpl:text-[var(--tpl-danger)]"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
key: "warnings",
|
|
269
|
-
title: p(k).issues.groupWarnings,
|
|
270
|
-
icon: p(ye),
|
|
271
|
-
items: W.value,
|
|
272
|
-
tone: "tpl:text-[var(--tpl-warning)]"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
key: "info",
|
|
276
|
-
title: p(k).issues.groupInfo,
|
|
277
|
-
icon: p(pe),
|
|
278
|
-
items: G.value,
|
|
279
|
-
tone: "tpl:text-[var(--tpl-text-muted)]"
|
|
280
|
-
}
|
|
281
|
-
], (e) => (d(), l("section", { key: e.key }, [e.items.length > 0 ? (d(), l("header", {
|
|
282
|
-
key: 0,
|
|
283
|
-
class: t(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-semibold tpl:uppercase tpl:tracking-wide", e.tone])
|
|
284
|
-
}, [
|
|
285
|
-
(d(), m(ee(e.icon), {
|
|
286
|
-
size: 12,
|
|
287
|
-
"stroke-width": 2
|
|
288
|
-
})),
|
|
289
|
-
u(" " + i(e.title) + " ", 1),
|
|
290
|
-
f("span", Ie, i(e.items.length), 1)
|
|
291
|
-
], 2)) : c("", !0), e.items.length > 0 ? (d(), l("ul", Le, [(d(!0), l(ne, null, te(e.items, (e) => (d(), l("li", {
|
|
292
|
-
key: `${e.ruleId}-${e.blockId ?? "template"}`,
|
|
293
|
-
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
|
|
294
|
-
}, [
|
|
295
|
-
f("p", Re, i(e.message), 1),
|
|
296
|
-
f("p", ze, i(e.suggestion), 1),
|
|
297
|
-
f("p", Be, i(e.ruleId), 1),
|
|
298
|
-
f("div", Ve, [
|
|
299
|
-
f("a", {
|
|
300
|
-
href: e.reference,
|
|
301
|
-
target: "_blank",
|
|
302
|
-
rel: "noopener",
|
|
303
|
-
class: "tpl:inline-block tpl:text-xs tpl:text-[var(--tpl-primary)] tpl:underline tpl:underline-offset-2 tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]"
|
|
304
|
-
}, i(p(k).issues.learnMore), 9, He),
|
|
305
|
-
e.blockId ? (d(), l("button", {
|
|
306
|
-
key: 0,
|
|
307
|
-
type: "button",
|
|
308
|
-
"data-testid": "issue-jump",
|
|
309
|
-
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
|
|
310
|
-
onClick: (t) => ot(e)
|
|
311
|
-
}, [o(p(be), {
|
|
312
|
-
size: 10,
|
|
313
|
-
"stroke-width": 2
|
|
314
|
-
}), u(" " + i(p(k).issues.jump), 1)], 8, Ue)) : c("", !0),
|
|
315
|
-
e.fix ? (d(), l("button", {
|
|
316
|
-
key: 1,
|
|
317
|
-
type: "button",
|
|
318
|
-
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)]",
|
|
319
|
-
title: e.fix.description,
|
|
320
|
-
onClick: (t) => st(e)
|
|
321
|
-
}, [o(p(xe), {
|
|
322
|
-
size: 10,
|
|
323
|
-
"stroke-width": 2
|
|
324
|
-
}), u(" " + i(p(k).issues.fix), 1)], 8, We)) : c("", !0),
|
|
325
|
-
it(e) ? (d(), l("button", {
|
|
326
|
-
key: 2,
|
|
327
|
-
type: "button",
|
|
328
|
-
"data-testid": "issue-ai-alt-text",
|
|
329
|
-
disabled: p(j).busy.value,
|
|
330
|
-
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
331
|
-
onClick: (t) => Xe(e, t)
|
|
332
|
-
}, [o(p(v), {
|
|
333
|
-
size: 10,
|
|
334
|
-
"stroke-width": 2
|
|
335
|
-
}), u(" " + i(p(k).ai.altText.button), 1)], 8, Ge)) : c("", !0),
|
|
336
|
-
$(e) ? (d(), l("button", {
|
|
337
|
-
key: 3,
|
|
338
|
-
type: "button",
|
|
339
|
-
"data-testid": "issue-ai-fix",
|
|
340
|
-
disabled: p(j).busy.value,
|
|
341
|
-
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
342
|
-
onClick: (t) => at(e)
|
|
343
|
-
}, [o(p(v), {
|
|
344
|
-
size: 10,
|
|
345
|
-
"stroke-width": 2
|
|
346
|
-
}), u(" " + i(p(k).ai.fix.button), 1)], 8, Ke)) : c("", !0)
|
|
347
|
-
]),
|
|
348
|
-
D(e) && Z.value.has(e) ? (d(), m(p(g), {
|
|
349
|
-
key: JSON.stringify(C.value),
|
|
350
|
-
"block-id": Ye.value,
|
|
351
|
-
onClose: O,
|
|
352
|
-
onDrafting: (t) => Ze(e, t)
|
|
353
|
-
}, null, 8, ["block-id", "onDrafting"])) : c("", !0),
|
|
354
|
-
J.value.has(X(e)) && Z.value.has(e) ? (d(), l("p", qe, i(p(k).ai.fix.stillFlagged), 1)) : c("", !0)
|
|
355
|
-
]))), 128))])) : c("", !0)]))), 128))
|
|
356
|
-
]));
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
export { y as default };
|