@templatical/editor 0.52.1 → 0.53.0
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/README.md +1 -1
- package/dist/AiAltTextPopover-NMJqQKvD.js +106 -0
- package/dist/{AiAltTextReview-9ySsXOTU.js → AiAltTextReview-Ci4zHwRc.js} +68 -66
- package/dist/AiChatPanel-DdhtfsmO.js +561 -0
- package/dist/{AiPanels-DqT4PgQ0.js → AiPanels-HBx7xoJR.js} +6 -6
- package/dist/{AiRewriteMenu-28agTycW.js → AiRewriteMenu-DPzSekZt.js} +76 -105
- package/dist/BlockIssueBadge-eIXZJ9M3.js +33 -0
- package/dist/BlockPreviewCanvas-DO-2TP_6.js +140 -0
- package/dist/{CloudHeaderExtras-QI82yF54.js → CloudHeaderExtras-XpjJjn3o.js} +4 -4
- package/dist/{CloudPanels-BKJaLkUN.js → CloudPanels-i2kZdrdP.js} +53 -53
- package/dist/CollaborationNotices-DANsjl7c.js +65 -0
- package/dist/{CollaboratorBar-CXQqN3VP.js → CollaboratorBar-CbbAA0m1.js} +24 -24
- package/dist/CommentsPanel-CYW3LWis.js +16 -0
- package/dist/CommentsSidebar-CcF4ISMi.js +526 -0
- package/dist/{CountdownBlock-CU2yTWtF.js → CountdownBlock-BMezkFbJ.js} +15 -15
- package/dist/CountdownToolbar-D3Lv74kU.js +258 -0
- package/dist/IssuesPanel-BMAG9042.js +371 -0
- package/dist/LanguageMenu-FlP_Jbup.js +403 -0
- package/dist/{LoadingTrack-DM4g6j7b.js → LoadingTrack-BG8cg9xi.js} +2 -2
- package/dist/LocaleNotices-DAnVszWu.js +46 -0
- package/dist/LogicTagInsertButton-BjYs-UQX.js +1096 -0
- package/dist/{MediaEditModal-Dy08GEwE.js → MediaEditModal-LnG-cF_S.js} +451 -451
- package/dist/{MediaPanels-BgEp7iCp.js → MediaPanels-C2r5fiFo.js} +4 -4
- package/dist/{MergeTagInput-B9dtUthD.js → MergeTagInput-BsnogCeY.js} +30 -30
- package/dist/{MergeTagModeToggle-DxujhYJ4.js → MergeTagModeToggle-DiufIQ-_.js} +49 -49
- package/dist/MergeTagTextarea-BweI-Xsi.js +126 -0
- package/dist/ParagraphEditor-qgBp5yIB.js +825 -0
- package/dist/{RestoreVersionDialog-C4s_JYCx.js → RestoreVersionDialog-DdYUrFiK.js} +23 -23
- package/dist/{RichTextEditorContent-o6HmE8GR.js → RichTextEditorContent-C5MAzx3E.js} +47 -47
- package/dist/{SaveBlockDialog-CWLrly6l.js → SaveBlockDialog-eK6fjtTy.js} +86 -86
- package/dist/{cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js → SavedBlocksBrowserModal-D2QHd2Yp.js} +135 -132
- package/dist/{SavedBlocksPanels-BE1N9rNZ.js → SavedBlocksPanels-Cl61f4Mf.js} +9 -9
- package/dist/{SavedBlocksPickBar-Dwl94xhP.js → SavedBlocksPickBar-CXP2dkeB.js} +15 -15
- package/dist/TemplateSettings-BKJrdZcH.js +294 -0
- package/dist/TestEmailModal-DQotJg6g.js +212 -0
- package/dist/{TestEmailPanel-DaFjP9QK.js → TestEmailPanel-CwiTzJsh.js} +4 -4
- package/dist/TitleEditor-CzSvsPAn.js +202 -0
- package/dist/ToggleSwitch-R3wCCYE6.js +43 -0
- package/dist/Toolbar-Cd75ci5W.js +3711 -0
- package/dist/{TplModal-DLMssVlt.js → TplModal-ZoXu40T9.js} +17 -17
- package/dist/{VersionHistoryMenu-BkbYUs0Q.js → VersionHistoryMenu-BvhN-Ofk.js} +39 -39
- package/dist/{VersionHistoryPanels-DP7HaYWv.js → VersionHistoryPanels-DPWMnYbd.js} +5 -5
- package/dist/VersionPreviewBanner-CuJnasxH.js +37 -0
- package/dist/WrapperBlock-D4fPwO0t.js +44 -0
- package/dist/{blockTypeIcons-BHjlPnPf.js → blockTypeIcons-BXMxu86H.js} +7 -7
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-CD-Kt1qz.js → ca-DOuIxWRv.js} +114 -2
- package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js +107 -0
- package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js.map +1 -0
- package/dist/cdn/chunks/{AiAltTextReview-BGLLSKLm.js → AiAltTextReview-Dtm3A2cD.js} +70 -68
- package/dist/cdn/chunks/AiAltTextReview-Dtm3A2cD.js.map +1 -0
- package/dist/cdn/chunks/AiChatPanel-DciEt27y.js +487 -0
- package/dist/cdn/chunks/AiChatPanel-DciEt27y.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-0wBarZSH.js → AiPanels-BV5D1itk.js} +11 -11
- package/dist/cdn/chunks/{AiPanels-0wBarZSH.js.map → AiPanels-BV5D1itk.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-qf-cfEpy.js → AiRewriteMenu-D3jkh6Xb.js} +79 -79
- package/dist/cdn/chunks/AiRewriteMenu-D3jkh6Xb.js.map +1 -0
- package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js.map +1 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-RQFilqXC.js +142 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-DGBh6mqe.js.map → BlockPreviewCanvas-RQFilqXC.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js → CloudHeaderExtras-BtqdN777.js} +4 -4
- package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js.map → CloudHeaderExtras-BtqdN777.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js → CloudPanels-BSJ-Z5Hw.js} +45 -45
- package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js.map → CloudPanels-BSJ-Z5Hw.js.map} +1 -1
- package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js +67 -0
- package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js → CollaboratorBar-Bc9914Az.js} +17 -17
- package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js.map → CollaboratorBar-Bc9914Az.js.map} +1 -1
- package/dist/cdn/chunks/CommentsPanel-DbR9phAk.js +18 -0
- package/dist/cdn/chunks/{CommentsPanel-DoJnKLXI.js.map → CommentsPanel-DbR9phAk.js.map} +1 -1
- package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js +496 -0
- package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js → CountdownBlock-CjMhMhnv.js} +22 -22
- package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js.map → CountdownBlock-CjMhMhnv.js.map} +1 -1
- package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js +260 -0
- package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-C7LfxaAY.js → IssuesPanel-CUmI4HMm.js} +133 -121
- package/dist/cdn/chunks/IssuesPanel-CUmI4HMm.js.map +1 -0
- package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js +359 -0
- package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js.map +1 -0
- package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js → LoadingTrack-DUYcDHOV.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js.map → LoadingTrack-DUYcDHOV.js.map} +1 -1
- package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js +47 -0
- package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js.map +1 -0
- package/dist/{LogicTagInsertButton-CfscnwCn.js → cdn/chunks/LogicTagInsertButton-5Z3fFzjc.js} +422 -449
- package/dist/cdn/chunks/LogicTagInsertButton-5Z3fFzjc.js.map +1 -0
- package/dist/cdn/chunks/{MediaEditModal-Cpcod6_U.js → MediaEditModal-DDCIwr9U.js} +421 -421
- package/dist/cdn/chunks/MediaEditModal-DDCIwr9U.js.map +1 -0
- package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js → MediaPanels-Dz79oy8P.js} +5 -5
- package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js.map → MediaPanels-Dz79oy8P.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js → MergeTagInput-CIWy-cXf.js} +28 -28
- package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js.map → MergeTagInput-CIWy-cXf.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BgKEVUtV.js → MergeTagModeToggle-BrP5GR-x.js} +52 -52
- package/dist/cdn/chunks/MergeTagModeToggle-BrP5GR-x.js.map +1 -0
- package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js +128 -0
- package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js.map +1 -0
- package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js +660 -0
- package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js → RestoreVersionDialog-Crj1DBqC.js} +22 -22
- package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js.map → RestoreVersionDialog-Crj1DBqC.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js → RichTextEditorContent-rCCqFlwJ.js} +44 -44
- package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js.map → RichTextEditorContent-rCCqFlwJ.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js → SaveBlockDialog-C34RW1aM.js} +77 -77
- package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js.map → SaveBlockDialog-C34RW1aM.js.map} +1 -1
- package/dist/{SavedBlocksBrowserModal-CE8n4EBS.js → cdn/chunks/SavedBlocksBrowserModal-CJnwWPT-.js} +103 -106
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BPYcRoGa.js.map → SavedBlocksBrowserModal-CJnwWPT-.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js → SavedBlocksPanels-CA2PqXIH.js} +9 -9
- package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js.map → SavedBlocksPanels-CA2PqXIH.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js → SavedBlocksPickBar-Dj3ortee.js} +16 -16
- package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js.map → SavedBlocksPickBar-Dj3ortee.js.map} +1 -1
- package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js +266 -0
- package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js.map +1 -0
- package/dist/cdn/chunks/TestEmailModal-BXeCtTjU.js +212 -0
- package/dist/cdn/chunks/TestEmailModal-BXeCtTjU.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js → TestEmailPanel-CpZcpB9D.js} +5 -5
- package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js.map → TestEmailPanel-CpZcpB9D.js.map} +1 -1
- package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js +202 -0
- package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js.map +1 -0
- package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js +45 -0
- package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js.map +1 -0
- package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js +3626 -0
- package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js → TplModal-DDDUDMYC.js} +20 -20
- package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js.map → TplModal-DDDUDMYC.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js → VersionHistoryMenu-DSElv3Sv.js} +33 -33
- package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js.map → VersionHistoryMenu-DSElv3Sv.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js → VersionHistoryPanels-H2nuik1l.js} +6 -6
- package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js.map → VersionHistoryPanels-H2nuik1l.js.map} +1 -1
- package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js +39 -0
- package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js.map +1 -0
- package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js +46 -0
- package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js → blockTypeIcons-DMgLcuI8.js} +5 -5
- package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js.map → blockTypeIcons-DMgLcuI8.js.map} +1 -1
- package/dist/{ca-CD-Kt1qz.js → cdn/chunks/ca-DOuIxWRv.js} +116 -0
- package/dist/cdn/chunks/ca-DOuIxWRv.js.map +1 -0
- package/dist/cdn/chunks/composables-D0UYam2P.js +3039 -0
- package/dist/cdn/chunks/composables-D0UYam2P.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-Cth2JCEh.js → createCloudRuntime-BdsclY8_.js} +75 -73
- package/dist/cdn/chunks/createCloudRuntime-BdsclY8_.js.map +1 -0
- package/dist/{de-CeFJ6wbM.js → cdn/chunks/de-DaOUfYBX.js} +116 -0
- package/dist/cdn/chunks/de-DaOUfYBX.js.map +1 -0
- package/dist/cdn/chunks/{dist-8ym3y-pH.js → dist-BzXULHvI.js} +48 -48
- package/dist/cdn/chunks/{dist-8ym3y-pH.js.map → dist-BzXULHvI.js.map} +1 -1
- package/dist/cdn/chunks/{dist-BMzNabtD.js → dist-DqGgijFI.js} +114 -114
- package/dist/cdn/chunks/{dist-BMzNabtD.js.map → dist-DqGgijFI.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-Du8AUMFT.js → draggable-DepKdldn.js} +1491 -1486
- package/dist/cdn/chunks/draggable-DepKdldn.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-CyCe560f.js → editor-modal-CPbgthOv.js} +781 -781
- package/dist/cdn/chunks/{editor-modal-CyCe560f.js.map → editor-modal-CPbgthOv.js.map} +1 -1
- package/dist/{en-D14i5nFh.js → cdn/chunks/en-C0pHHMiR.js} +116 -0
- package/dist/cdn/chunks/en-C0pHHMiR.js.map +1 -0
- package/dist/cdn/chunks/en-IYVryJRl.js +1 -0
- package/dist/{es-zDacbMhs.js → cdn/chunks/es-CxyEKr6n.js} +116 -0
- package/dist/cdn/chunks/es-CxyEKr6n.js.map +1 -0
- package/dist/cdn/chunks/{extensions-CFF2KWy-.js → extensions-Uh9vuFfK.js} +59 -59
- package/dist/cdn/chunks/{extensions-CFF2KWy-.js.map → extensions-Uh9vuFfK.js.map} +1 -1
- package/dist/{fr-CSgYtjOd.js → cdn/chunks/fr-CYbamiI6.js} +116 -0
- package/dist/cdn/chunks/fr-CYbamiI6.js.map +1 -0
- package/dist/cdn/chunks/{icons-okSPsLOa.js → icons-CSSMtbGK.js} +150 -109
- package/dist/cdn/chunks/icons-CSSMtbGK.js.map +1 -0
- package/dist/{ja-B7H3ID8O.js → cdn/chunks/ja-DfaIAoGI.js} +116 -0
- package/dist/cdn/chunks/ja-DfaIAoGI.js.map +1 -0
- package/dist/cdn/chunks/keys-CoQtCqNv.js +11 -0
- package/dist/cdn/chunks/keys-CoQtCqNv.js.map +1 -0
- package/dist/cdn/chunks/languageName-DEEOhDWI.js +12 -0
- package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +1 -0
- package/dist/{nl-176ySmc5.js → cdn/chunks/nl-DkrB-VKZ.js} +116 -0
- package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +1 -0
- package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js +290 -0
- package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js.map +1 -0
- package/dist/cdn/chunks/noticeTones-D7BPu-Le.js +16 -0
- package/dist/cdn/chunks/noticeTones-D7BPu-Le.js.map +1 -0
- package/dist/cdn/chunks/plural-CyxrJXL1.js +17 -0
- package/dist/cdn/chunks/plural-CyxrJXL1.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js → preRenderCustomBlocks-C8k7tw98.js} +5 -5
- package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js.map → preRenderCustomBlocks-C8k7tw98.js.map} +1 -1
- package/dist/{pt-BR-dDlTwX18.js → cdn/chunks/pt-BR-CY5Ye7eP.js} +116 -0
- package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +1 -0
- package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js +61 -0
- package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js.map +1 -0
- package/dist/cdn/chunks/socialIcons-BAiuHyJs.js +2638 -0
- package/dist/cdn/chunks/socialIcons-BAiuHyJs.js.map +1 -0
- package/dist/cdn/chunks/src-CACM3o--.js +2606 -0
- package/dist/cdn/chunks/src-CACM3o--.js.map +1 -0
- package/dist/cdn/chunks/{src-C7bkofBL.js → src-Ddpm4HsS.js} +222 -256
- package/dist/cdn/chunks/src-Ddpm4HsS.js.map +1 -0
- package/dist/cdn/chunks/{src-DEd87i_U.js → src-DheBmnvF.js} +635 -478
- package/dist/cdn/chunks/src-DheBmnvF.js.map +1 -0
- package/dist/{styleConstants-B8xVRiwX.js → cdn/chunks/styleConstants-CgiNKdnc.js} +7 -5
- package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +1 -0
- package/dist/cdn/chunks/templateSettingsFields-cjlP-jdw.js.map +1 -1
- package/dist/cdn/chunks/{tiptap-CbiTlECY.js → tiptap-Dipw_zOQ.js} +40 -40
- package/dist/cdn/chunks/{tiptap-CbiTlECY.js.map → tiptap-Dipw_zOQ.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js → useCloudI18n-Cc5NZqiI.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js.map → useCloudI18n-Cc5NZqiI.js.map} +1 -1
- package/dist/cdn/chunks/useEditorRoot-D_LuZ_hE.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-vjZJwKrV.js.map → useEditorRoot-D_LuZ_hE.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-D8pY4LTq.js → useI18n-BnJYydPv.js} +3 -3
- package/dist/cdn/chunks/{useI18n-D8pY4LTq.js.map → useI18n-BnJYydPv.js.map} +1 -1
- package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +33 -0
- package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js.map +1 -0
- package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js → useLogicTag-B7RpqVFQ.js} +5 -5
- package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js.map → useLogicTag-B7RpqVFQ.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js → useMergeTag-C-32ETjj.js} +6 -6
- package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js.map → useMergeTag-C-32ETjj.js.map} +1 -1
- package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js +78 -0
- package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js.map +1 -0
- package/dist/cdn/chunks/{useScrollToBlock-vjQ0fe-L.js → useScrollToBlock-Ct1AwLD-.js} +5 -5
- package/dist/cdn/chunks/useScrollToBlock-Ct1AwLD-.js.map +1 -0
- package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js → withCurrentFont-D33ZXoWp.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js.map → withCurrentFont-D33ZXoWp.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +2190 -1496
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-BZ8o0eet.js → check-ChQ0l8EQ.js} +1 -1
- package/dist/{chevron-down-DfAAfILv.js → chevron-down-Bh6cp6PI.js} +1 -1
- package/dist/{chevron-right-Bk4mGdr7.js → chevron-right-LUgdqdoW.js} +1 -1
- package/dist/{chevron-up-MhUf_azW.js → chevron-up-XsDeJxQN.js} +1 -1
- package/dist/{circle-alert-CShJwVFv.js → circle-alert-lODfDsrj.js} +1 -1
- package/dist/{clock-CTfD6OCt.js → clock-DrqFEZkT.js} +1 -1
- package/dist/composables-BOP3ERRP.js +4517 -0
- package/dist/{createCloudRuntime-DCgO4A1r.js → createCloudRuntime-DGV5a5Af.js} +54 -52
- package/dist/{createLucideIcon-CvhTA2KG.js → createLucideIcon-Dw5e5gVE.js} +11 -11
- package/dist/{cdn/chunks/de-CeFJ6wbM.js → de-DaOUfYBX.js} +114 -2
- package/dist/{dist-ByCWA2Tv.js → dist-0alKVRc_.js} +101 -101
- package/dist/{dist-Cy8I5scI.js → dist-54VCNoC0.js} +2 -2
- package/dist/dist-6DU0me3E.js +4 -0
- package/dist/{dist-p3wymUDt.js → dist-B8dY8drK.js} +2 -2
- package/dist/{dist-Dd5MU2Ev.js → dist-B9a7iVye.js} +2 -2
- package/dist/{dist-V7W1UhVr.js → dist-BWflWcpW.js} +2 -2
- package/dist/{dist-D6fZec6r.js → dist-C3hu_C3w.js} +2 -2
- package/dist/{dist-CVy-7PHQ.js → dist-CX7skkvG.js} +48 -48
- package/dist/dist-CcOn7WCo.js +4 -0
- package/dist/dist-Cdkm20M6.js +2542 -0
- package/dist/{dist-BS5uKktL.js → dist-ChOb5XHW.js} +2 -2
- package/dist/{dist-BF5zEHop.js → dist-DZ3X-uB8.js} +2 -2
- package/dist/{dist-CWSG7Kj0.js → dist-D_XrUEET.js} +5 -5
- package/dist/{dist-txQLT2sF.js → dist-TAv500j6.js} +2 -2
- package/dist/{dist-D6cMdrfG.js → dist-fqSers8_.js} +55 -55
- package/dist/{editor-modal-zaZHcmlO.js → editor-modal-B_2EAOjN.js} +953 -952
- package/dist/{cdn/chunks/en-D14i5nFh.js → en-C0pHHMiR.js} +114 -2
- package/dist/en-DTtwco2Q.js +1 -0
- package/dist/{cdn/chunks/es-zDacbMhs.js → es-CxyEKr6n.js} +114 -2
- package/dist/{extensions-fo_c-vqf.js → extensions-DOLZkLzV.js} +173 -173
- package/dist/{eye-7W4t5e0Q.js → eye-DChfk0gi.js} +1 -1
- package/dist/{cdn/chunks/fr-CSgYtjOd.js → fr-CYbamiI6.js} +114 -2
- package/dist/{image-BDiRFzSd.js → image--Hj2by1G.js} +1 -1
- package/dist/index.d.ts +182 -14
- package/dist/{info-Cxi3-Kh9.js → info-BbXgy82f.js} +1 -1
- package/dist/{cdn/chunks/ja-B7H3ID8O.js → ja-DfaIAoGI.js} +114 -2
- package/dist/keys-BCqskl51.js +9 -0
- package/dist/languageName-DEEOhDWI.js +10 -0
- package/dist/{link-ju_2Cmir.js → link-C2_8yJno.js} +1 -1
- package/dist/{list-DYZJf0aZ.js → list-DLGs2n0V.js} +1 -1
- package/dist/{loader-circle-BZRD0a4I.js → loader-circle-BbDItE_O.js} +1 -1
- package/dist/{message-circle-DuEw4Zfx.js → message-circle-NAModq0p.js} +1 -1
- package/dist/{cdn/chunks/nl-176ySmc5.js → nl-DkrB-VKZ.js} +114 -2
- package/dist/normalizeMergeTagMarkup-CUCo7B5X.js +288 -0
- package/dist/noticeTones-D7BPu-Le.js +14 -0
- package/dist/{package-CePMr2kK.js → package-BuzsfRyH.js} +1 -1
- package/dist/{pencil-D3aFCL7c.js → pencil-BTUUECH4.js} +1 -1
- package/dist/plural-CyxrJXL1.js +15 -0
- package/dist/plus-Dm7DN65T.js +13 -0
- package/dist/{preRenderCustomBlocks--_xc0XK3.js → preRenderCustomBlocks-Bs3N9no-.js} +4 -4
- package/dist/{cdn/chunks/pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +114 -2
- package/dist/{refresh-cw-xnro7_Sk.js → refresh-cw-xMURqGWi.js} +2 -12
- package/dist/rotate-ccw-DqVcEIn5.js +13 -0
- package/dist/{runtime-dom.esm-bundler-BURR-bj5.js → runtime-dom.esm-bundler-DlHp8xgy.js} +154 -154
- package/dist/sanitizeHtml-mKgNUdME.js +962 -0
- package/dist/{search-CDrstRBv.js → search-Cfr3W44N.js} +1 -1
- package/dist/{send-DROkPOaX.js → send-CH1SrvyB.js} +1 -1
- package/dist/{smartphone-Bx6u_tjn.js → smartphone-pAkvzjdI.js} +1 -1
- package/dist/socialIcons-Dqr4DJOz.js +2705 -0
- package/dist/{sparkles-CdaTtvoz.js → sparkles-CRO0cCnp.js} +1 -1
- package/dist/{square-BbCROH_f.js → square-CaQWMntx.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{cdn/chunks/styleConstants-B8xVRiwX.js → styleConstants-CgiNKdnc.js} +5 -7
- package/dist/templatical-editor.js +2438 -1752
- package/dist/{text-align-start-CGacJ9Vw.js → text-align-start-BQ39AaRK.js} +1 -1
- package/dist/{trash-DxCd7zIy.js → trash-BL5gEFHN.js} +1 -1
- package/dist/{triangle-alert-7_oaitpf.js → triangle-alert-BYbKu7zZ.js} +1 -1
- package/dist/{upload-DuFEOi_0.js → upload-BhmL4Vqx.js} +1 -1
- package/dist/{useCloudI18n-DEMmUKuO.js → useCloudI18n-Dh2iydo1.js} +4 -4
- package/dist/useEditorRoot-DY3mgcHm.js +7 -0
- package/dist/{useI18n-BBrHTdu8.js → useI18n-CgtvtF4C.js} +4 -4
- package/dist/useLocalizedDisplay-DNNwDRxL.js +31 -0
- package/dist/{useLogicTag-ZPC39rfH.js → useLogicTag-BXXXQQmi.js} +4 -4
- package/dist/{useMergeTag-BQ4qqWpQ.js → useMergeTag-C9Okr87y.js} +5 -5
- package/dist/usePopoverPosition-VDQjyX_A.js +76 -0
- package/dist/{useScrollToBlock-BSyAV4pk.js → useScrollToBlock-C0Kapxdh.js} +5 -5
- package/dist/{vue.runtime.esm-bundler-CnEeTfhs.js → vue.runtime.esm-bundler-BJXc_Mri.js} +1373 -1368
- package/dist/withCurrentFont-DJiQqZzL.js +18 -0
- package/dist/{x-BpfG7v9g.js → x-B7NZYzhx.js} +1 -1
- package/package.json +20 -20
- package/dist/AiAltTextPopover-DawbUywc.js +0 -105
- package/dist/AiChatPanel-CupPhmsN.js +0 -548
- package/dist/BlockIssueBadge-BxpDy3u-.js +0 -33
- package/dist/BlockPreviewCanvas-B-4bmJ3t.js +0 -140
- package/dist/CollaborationNotices-CTw4JThq.js +0 -75
- package/dist/CommentsPanel-DwwFuh1h.js +0 -16
- package/dist/CommentsSidebar-9ZfiC2DO.js +0 -500
- package/dist/CountdownToolbar-BqoYzf_6.js +0 -197
- package/dist/IssuesPanel-4ykrf1ax.js +0 -359
- package/dist/MergeTagTextarea-CPFEjJZd.js +0 -69
- package/dist/ParagraphEditor-CWXfurGh.js +0 -796
- package/dist/TemplateSettings-CS0f1Ues.js +0 -236
- package/dist/TestEmailModal-DBD0X5nV.js +0 -209
- package/dist/TitleEditor-DSqtle77.js +0 -198
- package/dist/ToggleSwitch-JykPyD_8.js +0 -36
- package/dist/Toolbar-BZPFfKrf.js +0 -3145
- package/dist/VersionPreviewBanner-DECaBwLq.js +0 -37
- package/dist/WrapperBlock-BsJv_Fiw.js +0 -44
- package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js +0 -106
- package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js.map +0 -1
- package/dist/cdn/chunks/AiAltTextReview-BGLLSKLm.js.map +0 -1
- package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js +0 -474
- package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js.map +0 -1
- package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +0 -34
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +0 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-DGBh6mqe.js +0 -142
- package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js +0 -77
- package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js.map +0 -1
- package/dist/cdn/chunks/CommentsPanel-DoJnKLXI.js +0 -18
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js +0 -470
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +0 -1
- package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js +0 -199
- package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-C7LfxaAY.js.map +0 -1
- package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js +0 -1051
- package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js.map +0 -1
- package/dist/cdn/chunks/MediaEditModal-Cpcod6_U.js.map +0 -1
- package/dist/cdn/chunks/MergeTagModeToggle-BgKEVUtV.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js +0 -71
- package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js +0 -631
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js +0 -208
- package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js +0 -209
- package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js +0 -198
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +0 -1
- package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js +0 -38
- package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-CdpsvNOR.js +0 -3061
- package/dist/cdn/chunks/Toolbar-CdpsvNOR.js.map +0 -1
- package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js +0 -39
- package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js +0 -46
- package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js.map +0 -1
- package/dist/cdn/chunks/ca-CD-Kt1qz.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-Cth2JCEh.js.map +0 -1
- package/dist/cdn/chunks/de-CeFJ6wbM.js.map +0 -1
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +0 -1
- package/dist/cdn/chunks/en-D14i5nFh.js.map +0 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +0 -1
- package/dist/cdn/chunks/es-zDacbMhs.js.map +0 -1
- package/dist/cdn/chunks/fr-CSgYtjOd.js.map +0 -1
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +0 -1
- package/dist/cdn/chunks/ja-B7H3ID8O.js.map +0 -1
- package/dist/cdn/chunks/keys-CUj6UA38.js +0 -11
- package/dist/cdn/chunks/keys-CUj6UA38.js.map +0 -1
- package/dist/cdn/chunks/nl-176ySmc5.js.map +0 -1
- package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js +0 -198
- package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-dDlTwX18.js.map +0 -1
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +0 -72
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-jsTDmkbb.js +0 -2008
- package/dist/cdn/chunks/socialIcons-jsTDmkbb.js.map +0 -1
- package/dist/cdn/chunks/src-C7bkofBL.js.map +0 -1
- package/dist/cdn/chunks/src-DEd87i_U.js.map +0 -1
- package/dist/cdn/chunks/src-DwWrYnUj.js +0 -1404
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +0 -1
- package/dist/cdn/chunks/styleConstants-B8xVRiwX.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +0 -2582
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +0 -9
- package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js +0 -70
- package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js.map +0 -1
- package/dist/cdn/chunks/useScrollToBlock-vjQ0fe-L.js.map +0 -1
- package/dist/dist-CKi_npZM.js +0 -1344
- package/dist/dist-DyFArF_G.js +0 -4
- package/dist/dist-pA3ooG6N.js +0 -4
- package/dist/en-Db76vJbY.js +0 -1
- package/dist/keys-BgRERHzu.js +0 -9
- package/dist/normalizeMergeTagMarkup-CELnOlgK.js +0 -196
- package/dist/sanitizeHtml-BzfzpYJY.js +0 -942
- package/dist/socialIcons-D7MGsg0d.js +0 -2075
- package/dist/useEditorCore-BSo2sSID.js +0 -4059
- package/dist/useEditorRoot-BMcoCLBx.js +0 -7
- package/dist/usePopoverPosition-DV1PxL66.js +0 -68
- package/dist/withCurrentFont-B22FXAF5.js +0 -18
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as f } from "./
|
|
3
|
-
import { t as p } from "./
|
|
4
|
-
import { t as m } from "./
|
|
5
|
-
import {
|
|
6
|
-
import { t as v } from "./TplModal-
|
|
1
|
+
import { Ft as e, M as t, Mt as n, U as r, _ as i, ct as a, d as o, f as s, g as c, l, u, y as d } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
|
|
2
|
+
import { t as f } from "./loader-circle-BbDItE_O.js";
|
|
3
|
+
import { t as p } from "./triangle-alert-BYbKu7zZ.js";
|
|
4
|
+
import { t as m } from "./useI18n-CgtvtF4C.js";
|
|
5
|
+
import { C as h, b as g, f as _ } from "./styleConstants-CgiNKdnc.js";
|
|
6
|
+
import { t as v } from "./TplModal-ZoXu40T9.js";
|
|
7
7
|
// src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
|
|
9
9
|
id: "tpl-restore-version-title",
|
|
@@ -24,12 +24,12 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
|
|
|
24
24
|
"discard-and-restore"
|
|
25
25
|
],
|
|
26
26
|
setup(d, { emit: D }) {
|
|
27
|
-
let O = D, { t: k } =
|
|
28
|
-
return (
|
|
27
|
+
let O = D, { t: k } = m();
|
|
28
|
+
return (m, D) => (t(), u(v, {
|
|
29
29
|
visible: d.visible,
|
|
30
30
|
onClose: D[3] ||= (e) => O("cancel")
|
|
31
31
|
}, {
|
|
32
|
-
default:
|
|
32
|
+
default: r(() => [l("div", {
|
|
33
33
|
role: "alertdialog",
|
|
34
34
|
"aria-modal": "true",
|
|
35
35
|
"aria-busy": d.isBusy,
|
|
@@ -42,40 +42,40 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
|
|
|
42
42
|
"box-shadow": "var(--tpl-shadow-xl)"
|
|
43
43
|
}
|
|
44
44
|
}, [
|
|
45
|
-
|
|
45
|
+
l("div", b, [i(a(p), {
|
|
46
46
|
size: 18,
|
|
47
47
|
"stroke-width": 2,
|
|
48
48
|
class: "tpl:text-[var(--tpl-warning)]"
|
|
49
|
-
}),
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
}), l("h3", x, e(a(k).versionPreview.restoreConfirm.title), 1)]),
|
|
50
|
+
l("p", S, e(d.canSave ? a(k).versionPreview.restoreConfirm.unsavedWithSave : a(k).versionPreview.restoreConfirm.unsavedNoSave), 1),
|
|
51
|
+
l("div", C, [
|
|
52
|
+
l("button", {
|
|
53
53
|
type: "button",
|
|
54
54
|
"data-testid": "restore-version-cancel",
|
|
55
|
-
class:
|
|
55
|
+
class: n(a(h)),
|
|
56
56
|
disabled: d.isBusy,
|
|
57
57
|
onClick: D[0] ||= (e) => O("cancel")
|
|
58
|
-
},
|
|
59
|
-
|
|
58
|
+
}, e(a(k).versionPreview.restoreConfirm.cancel), 11, w),
|
|
59
|
+
l("button", {
|
|
60
60
|
type: "button",
|
|
61
61
|
"data-testid": "restore-version-discard",
|
|
62
|
-
class:
|
|
62
|
+
class: n(a(_)),
|
|
63
63
|
disabled: d.isBusy,
|
|
64
64
|
onClick: D[1] ||= (e) => O("discard-and-restore")
|
|
65
|
-
},
|
|
66
|
-
d.canSave ? (
|
|
65
|
+
}, e(a(k).versionPreview.restoreConfirm.restoreAnyway), 11, T),
|
|
66
|
+
d.canSave ? (t(), s("button", {
|
|
67
67
|
key: 0,
|
|
68
68
|
type: "button",
|
|
69
69
|
"data-testid": "restore-version-save-first",
|
|
70
|
-
class:
|
|
70
|
+
class: n(a(g)),
|
|
71
71
|
disabled: d.isBusy,
|
|
72
72
|
onClick: D[2] ||= (e) => O("save-and-restore")
|
|
73
|
-
}, [d.isBusy ? (
|
|
73
|
+
}, [d.isBusy ? (t(), u(a(f), {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "tpl:animate-spin",
|
|
76
76
|
size: 12,
|
|
77
77
|
"stroke-width": 2
|
|
78
|
-
})) :
|
|
78
|
+
})) : o("", !0), c(" " + e(a(k).versionPreview.restoreConfirm.saveAndRestore), 1)], 10, E)) : o("", !0)
|
|
79
79
|
])
|
|
80
80
|
], 8, y)]),
|
|
81
81
|
_: 1
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as _ } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as E } from "./MergeTagInput-
|
|
10
|
-
var D =
|
|
1
|
+
import { E as e, Ft as t, L as n, M as r, Pt as i, R as a, _ as o, a as s, c, ct as l, d as u, f as d, g as f, l as p, u as m, w as h, y as g } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
|
|
2
|
+
import { c as _ } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
|
|
3
|
+
import { t as v } from "./createLucideIcon-Dw5e5gVE.js";
|
|
4
|
+
import { c as y } from "./LogicTagInsertButton-BjYs-UQX.js";
|
|
5
|
+
import { t as b } from "./x-B7NZYzhx.js";
|
|
6
|
+
import { et as x, it as S, v as C } from "./keys-BCqskl51.js";
|
|
7
|
+
import { t as w } from "./useI18n-CgtvtF4C.js";
|
|
8
|
+
import { n as T } from "./usePopoverPosition-VDQjyX_A.js";
|
|
9
|
+
import { t as E } from "./MergeTagInput-BsnogCeY.js";
|
|
10
|
+
var D = v({
|
|
11
11
|
name: "italic",
|
|
12
12
|
size: 24,
|
|
13
13
|
node: [
|
|
@@ -33,7 +33,7 @@ var D = C({
|
|
|
33
33
|
key: "uljnxc"
|
|
34
34
|
}]
|
|
35
35
|
]
|
|
36
|
-
}), O =
|
|
36
|
+
}), O = v({
|
|
37
37
|
name: "letter-b",
|
|
38
38
|
size: 24,
|
|
39
39
|
node: [["path", {
|
|
@@ -46,7 +46,7 @@ var D = C({
|
|
|
46
46
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
47
47
|
}, M = ["aria-label"], N = { class: "tpl:p-5" }, P = { class: "tpl:mb-4 tpl:last:mb-0" }, F = { class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, I = { class: "tpl:mb-4 tpl:last:mb-0" }, L = { class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, R = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, z = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, B = /* @__PURE__ */ g({
|
|
48
48
|
__name: "RichTextLinkDialog",
|
|
49
|
-
props: /*@__PURE__*/
|
|
49
|
+
props: /*@__PURE__*/ e({
|
|
50
50
|
visible: { type: Boolean },
|
|
51
51
|
isEditingLink: { type: Boolean }
|
|
52
52
|
}, {
|
|
@@ -57,7 +57,7 @@ var D = C({
|
|
|
57
57
|
dialogRef: { required: !0 },
|
|
58
58
|
dialogRefModifiers: {}
|
|
59
59
|
}),
|
|
60
|
-
emits: /*@__PURE__*/
|
|
60
|
+
emits: /*@__PURE__*/ e([
|
|
61
61
|
"close",
|
|
62
62
|
"insert",
|
|
63
63
|
"remove",
|
|
@@ -67,62 +67,62 @@ var D = C({
|
|
|
67
67
|
"update:linkColor",
|
|
68
68
|
"update:dialogRef"
|
|
69
69
|
]),
|
|
70
|
-
setup(
|
|
71
|
-
let
|
|
72
|
-
return (
|
|
70
|
+
setup(e, { emit: n }) {
|
|
71
|
+
let f = a(e, "linkUrl"), g = a(e, "linkColor"), v = a(e, "dialogRef"), D = n, O = h(x, null), B = h(S, null), V = T(), H = h(C, null), U = c(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = w();
|
|
72
|
+
return (n, a) => l(V) ? (r(), m(s, {
|
|
73
73
|
key: 0,
|
|
74
|
-
to:
|
|
75
|
-
}, [
|
|
74
|
+
to: l(V)
|
|
75
|
+
}, [e.visible ? (r(), d("div", {
|
|
76
76
|
key: 0,
|
|
77
|
-
"data-tpl-theme":
|
|
77
|
+
"data-tpl-theme": l(B),
|
|
78
78
|
class: "tpl tpl-link-dialog tpl:fixed tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center",
|
|
79
|
-
style:
|
|
80
|
-
onClick:
|
|
79
|
+
style: i(l(O)),
|
|
80
|
+
onClick: a[7] ||= _((e) => D("close"), ["self"])
|
|
81
81
|
}, [p("div", {
|
|
82
|
-
ref: (e) =>
|
|
82
|
+
ref: (e) => v.value = e,
|
|
83
83
|
role: "dialog",
|
|
84
84
|
"aria-modal": "true",
|
|
85
85
|
"aria-labelledby": "tpl-link-dialog-title",
|
|
86
86
|
"data-testid": "link-dialog",
|
|
87
87
|
class: "tpl:w-[400px] tpl:overflow-hidden tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]"
|
|
88
88
|
}, [
|
|
89
|
-
p("div", A, [p("h4", j,
|
|
89
|
+
p("div", A, [p("h4", j, t(e.isEditingLink ? l(W).linkDialog.editLink : l(W).linkDialog.insertLink), 1), p("button", {
|
|
90
90
|
type: "button",
|
|
91
|
-
"aria-label":
|
|
91
|
+
"aria-label": l(W).linkDialog.cancel,
|
|
92
92
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
93
|
-
onClick:
|
|
94
|
-
}, [o(
|
|
93
|
+
onClick: a[0] ||= (e) => D("close")
|
|
94
|
+
}, [o(l(b), {
|
|
95
95
|
size: 16,
|
|
96
96
|
"stroke-width": 2
|
|
97
97
|
})], 8, M)]),
|
|
98
|
-
p("div", N, [p("div", P, [p("label", F,
|
|
99
|
-
"model-value":
|
|
98
|
+
p("div", N, [p("div", P, [p("label", F, t(l(W).linkDialog.urlLabel), 1), o(E, {
|
|
99
|
+
"model-value": f.value,
|
|
100
100
|
type: "url",
|
|
101
101
|
"data-testid": "link-dialog-url",
|
|
102
|
-
placeholder:
|
|
103
|
-
"onUpdate:modelValue":
|
|
104
|
-
onKeydown:
|
|
105
|
-
}, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L,
|
|
102
|
+
placeholder: l(W).linkDialog.urlPlaceholder,
|
|
103
|
+
"onUpdate:modelValue": a[1] ||= (e) => f.value = e,
|
|
104
|
+
onKeydown: a[2] ||= (e) => D("keydown", e)
|
|
105
|
+
}, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L, t(l(W).linkDialog.colorLabel), 1), o(y, {
|
|
106
106
|
"model-value": g.value,
|
|
107
107
|
"seed-color": U.value,
|
|
108
|
-
"onUpdate:modelValue":
|
|
108
|
+
"onUpdate:modelValue": a[3] ||= (e) => g.value = e
|
|
109
109
|
}, null, 8, ["model-value", "seed-color"])])]),
|
|
110
|
-
p("div", R, [
|
|
110
|
+
p("div", R, [e.isEditingLink ? (r(), d("button", {
|
|
111
111
|
key: 0,
|
|
112
112
|
type: "button",
|
|
113
113
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-danger)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-danger)] tpl:transition-all tpl:hover:bg-[var(--tpl-danger-light)]",
|
|
114
|
-
onClick:
|
|
115
|
-
},
|
|
114
|
+
onClick: a[4] ||= (e) => D("remove")
|
|
115
|
+
}, t(l(W).linkDialog.removeLink), 1)) : u("", !0), p("div", z, [p("button", {
|
|
116
116
|
type: "button",
|
|
117
117
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
118
|
-
onClick:
|
|
119
|
-
},
|
|
118
|
+
onClick: a[5] ||= (e) => D("close")
|
|
119
|
+
}, t(l(W).linkDialog.cancel), 1), p("button", {
|
|
120
120
|
type: "button",
|
|
121
121
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:transition-all tpl:hover:bg-[var(--tpl-primary-hover)] tpl:text-[var(--tpl-on-primary)]",
|
|
122
122
|
"data-testid": "link-dialog-submit",
|
|
123
|
-
onClick:
|
|
124
|
-
},
|
|
125
|
-
], 512)], 12, k)) :
|
|
123
|
+
onClick: a[6] ||= (e) => D("insert")
|
|
124
|
+
}, t(e.isEditingLink ? l(W).linkDialog.updateLink : l(W).linkDialog.insertLink), 1)])])
|
|
125
|
+
], 512)], 12, k)) : u("", !0)], 8, ["to"])) : u("", !0);
|
|
126
126
|
}
|
|
127
127
|
}), V = {
|
|
128
128
|
key: 0,
|
|
@@ -139,16 +139,16 @@ var D = C({
|
|
|
139
139
|
initError: {}
|
|
140
140
|
},
|
|
141
141
|
emits: ["retry"],
|
|
142
|
-
setup(e, { emit:
|
|
143
|
-
let
|
|
144
|
-
return (
|
|
142
|
+
setup(e, { emit: i }) {
|
|
143
|
+
let a = i, { t: o } = w();
|
|
144
|
+
return (i, s) => e.isLoading ? (r(), d("div", V, [p("div", H, t(l(o).errors.editorLoading), 1)])) : e.initError ? (r(), d("div", U, [f(t(l(o).errors.editorLoadFailed) + " ", 1), p("button", {
|
|
145
145
|
class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
|
|
146
|
-
onClick:
|
|
147
|
-
},
|
|
146
|
+
onClick: s[0] ||= (e) => a("retry")
|
|
147
|
+
}, t(l(o).errors.retry), 1)])) : e.editorContent && e.editor ? (r(), m(n(e.editorContent), {
|
|
148
148
|
key: 2,
|
|
149
149
|
editor: e.editor,
|
|
150
150
|
class: "tpl-text-editable"
|
|
151
|
-
}, null, 8, ["editor"])) :
|
|
151
|
+
}, null, 8, ["editor"])) : u("", !0);
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
export { D as i, B as n, O as r, W as t };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as F } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { t as L } from "./TplModal-
|
|
12
|
-
import { t as R } from "./BlockPreviewCanvas-
|
|
1
|
+
import { A as e, B as t, Ft as n, L as r, M as i, Mt as a, P as o, Pt as s, U as c, W as l, _ as u, c as d, ct as f, d as p, et as m, f as h, g, k as _, l as v, r as y, u as b, w as x, y as S } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
|
|
2
|
+
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
|
|
3
|
+
import { l as E, y as D } from "./socialIcons-Dqr4DJOz.js";
|
|
4
|
+
import { H as ee, c as O } from "./composables-BOP3ERRP.js";
|
|
5
|
+
import { t as k } from "./chevron-down-Bh6cp6PI.js";
|
|
6
|
+
import { t as A } from "./chevron-up-XsDeJxQN.js";
|
|
7
|
+
import { t as j } from "./loader-circle-BbDItE_O.js";
|
|
8
|
+
import { Y as M, h as N, ot as P, v as te } from "./keys-BCqskl51.js";
|
|
9
|
+
import { t as F } from "./useI18n-CgtvtF4C.js";
|
|
10
|
+
import { b as I } from "./styleConstants-CgiNKdnc.js";
|
|
11
|
+
import { t as L } from "./TplModal-ZoXu40T9.js";
|
|
12
|
+
import { t as R } from "./BlockPreviewCanvas-DO-2TP_6.js";
|
|
13
13
|
// src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
14
14
|
var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
|
|
15
15
|
key: 0,
|
|
@@ -17,7 +17,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
17
17
|
"aria-hidden": "true",
|
|
18
18
|
class: "tpl:pointer-events-none tpl:absolute tpl:inset-x-0 tpl:bottom-0 tpl:h-10",
|
|
19
19
|
style: { background: "linear-gradient(\n to bottom,\n transparent,\n var(--tpl-bg) 90%\n )" }
|
|
20
|
-
}, U = ["aria-label", "aria-expanded"], W = 240, G = /* @__PURE__ */
|
|
20
|
+
}, U = ["aria-label", "aria-expanded"], W = 240, G = /* @__PURE__ */ S({
|
|
21
21
|
__name: "SavedBlockPreviewRow",
|
|
22
22
|
props: {
|
|
23
23
|
block: {},
|
|
@@ -25,69 +25,69 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
25
25
|
total: {}
|
|
26
26
|
},
|
|
27
27
|
emits: ["move"],
|
|
28
|
-
setup(
|
|
29
|
-
let
|
|
28
|
+
setup(t, { emit: a }) {
|
|
29
|
+
let o = t, c = a, { t: l, format: y } = F(), S = x(N, []), C = x(te, null), O = d(() => E(C?.content.value.settings)), j = m(null), M = m(null), P = m(1), I = m(null), L = m(!1), G = null, K = d(() => I.value !== null && I.value > W), q = d(() => I.value === null ? null : L.value || !K.value ? I.value : W);
|
|
30
30
|
function J() {
|
|
31
|
-
let e =
|
|
31
|
+
let e = j.value, t = M.value;
|
|
32
32
|
if (!e || !t) return;
|
|
33
33
|
let n = e.clientWidth;
|
|
34
34
|
if (n <= 0) return;
|
|
35
|
-
let r = Math.min(1, n /
|
|
36
|
-
|
|
35
|
+
let r = Math.min(1, n / O.value);
|
|
36
|
+
P.value = r, I.value = t.offsetHeight * r;
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()),
|
|
40
|
-
}),
|
|
38
|
+
e(() => {
|
|
39
|
+
J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), j.value && G.observe(j.value), M.value && G.observe(M.value));
|
|
40
|
+
}), _(() => {
|
|
41
41
|
G?.disconnect(), G = null;
|
|
42
42
|
});
|
|
43
|
-
let Y =
|
|
43
|
+
let Y = d(() => D(o.block, l, S)), X = d(() => y(l.savedBlocks.reorderHandle, {
|
|
44
44
|
block: Y.value,
|
|
45
|
-
position:
|
|
46
|
-
total:
|
|
47
|
-
})), Z =
|
|
48
|
-
return (e,
|
|
45
|
+
position: o.position,
|
|
46
|
+
total: o.total
|
|
47
|
+
})), Z = d(() => y(L.value ? l.savedBlocks.collapsePreview : l.savedBlocks.expandPreview, { block: Y.value }));
|
|
48
|
+
return (e, a) => (i(), h("div", {
|
|
49
49
|
"data-testid": "saved-blocks-reorder-row",
|
|
50
|
-
"data-block-id":
|
|
50
|
+
"data-block-id": t.block.id,
|
|
51
51
|
class: "tpl:flex tpl:items-start tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:p-1.5 tpl:border-[var(--tpl-border)]",
|
|
52
52
|
style: { "background-color": "var(--tpl-bg)" }
|
|
53
|
-
}, [
|
|
53
|
+
}, [v("button", {
|
|
54
54
|
type: "button",
|
|
55
55
|
"data-testid": "saved-blocks-reorder-handle",
|
|
56
56
|
class: "tpl-saved-block-reorder-handle tpl:mt-0.5 tpl:shrink-0 tpl:cursor-grab tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:text-[var(--tpl-text-dim)]",
|
|
57
57
|
"aria-label": X.value,
|
|
58
|
-
title:
|
|
59
|
-
onKeydown: [
|
|
60
|
-
}, [
|
|
58
|
+
title: f(l).savedBlocks.reorderHint,
|
|
59
|
+
onKeydown: [a[0] ||= T(w((e) => c("move", -1), ["prevent"]), ["up"]), a[1] ||= T(w((e) => c("move", 1), ["prevent"]), ["down"])]
|
|
60
|
+
}, [u(f(ee), {
|
|
61
61
|
size: 14,
|
|
62
62
|
"stroke-width": 1.5
|
|
63
|
-
})], 40, B),
|
|
64
|
-
|
|
63
|
+
})], 40, B), v("div", V, [
|
|
64
|
+
v("div", {
|
|
65
65
|
ref_key: "frameEl",
|
|
66
|
-
ref:
|
|
66
|
+
ref: j,
|
|
67
67
|
class: "tpl:overflow-hidden",
|
|
68
|
-
style:
|
|
69
|
-
}, [
|
|
68
|
+
style: s({ height: q.value === null ? void 0 : `${q.value}px` })
|
|
69
|
+
}, [v("div", {
|
|
70
70
|
ref_key: "contentEl",
|
|
71
|
-
ref:
|
|
72
|
-
style:
|
|
73
|
-
width: `${
|
|
74
|
-
transform: `scale(${
|
|
71
|
+
ref: M,
|
|
72
|
+
style: s({
|
|
73
|
+
width: `${O.value}px`,
|
|
74
|
+
transform: `scale(${P.value})`,
|
|
75
75
|
transformOrigin: "top left"
|
|
76
76
|
})
|
|
77
|
-
}, [
|
|
78
|
-
K.value && !L.value ? (
|
|
79
|
-
K.value ? (
|
|
77
|
+
}, [u(R, { blocks: [t.block] }, null, 8, ["blocks"])], 4)], 4),
|
|
78
|
+
K.value && !L.value ? (i(), h("div", H)) : p("", !0),
|
|
79
|
+
K.value ? (i(), h("button", {
|
|
80
80
|
key: 1,
|
|
81
81
|
type: "button",
|
|
82
82
|
"data-testid": "saved-blocks-preview-toggle",
|
|
83
83
|
class: "tpl:absolute tpl:bottom-1 tpl:right-1 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-0.5 tpl:rounded tpl:border tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:text-[var(--tpl-text-muted)]",
|
|
84
84
|
"aria-label": Z.value,
|
|
85
85
|
"aria-expanded": L.value,
|
|
86
|
-
onClick:
|
|
87
|
-
}, [(
|
|
86
|
+
onClick: a[2] ||= (e) => L.value = !L.value
|
|
87
|
+
}, [(i(), b(r(L.value ? f(A) : f(k)), {
|
|
88
88
|
size: 11,
|
|
89
89
|
"stroke-width": 2
|
|
90
|
-
})),
|
|
90
|
+
})), g(" " + n(L.value ? f(l).savedBlocks.collapse : f(l).savedBlocks.expand), 1)], 8, U)) : p("", !0)
|
|
91
91
|
])], 8, z));
|
|
92
92
|
}
|
|
93
93
|
}), K = ["aria-busy"], q = {
|
|
@@ -114,18 +114,18 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
114
114
|
}, de = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2" }, fe = ["disabled"], pe = ["disabled"], me = {
|
|
115
115
|
key: 0,
|
|
116
116
|
class: "tpl:flex tpl:items-center tpl:gap-1.5"
|
|
117
|
-
}, he = { key: 1 }, Q = /* @__PURE__ */
|
|
117
|
+
}, he = { key: 1 }, Q = /* @__PURE__ */ S({
|
|
118
118
|
__name: "SaveBlockDialog",
|
|
119
119
|
props: {
|
|
120
120
|
visible: { type: Boolean },
|
|
121
121
|
pickedIds: {}
|
|
122
122
|
},
|
|
123
123
|
emits: ["close", "saved"],
|
|
124
|
-
setup(
|
|
125
|
-
let s =
|
|
124
|
+
setup(e, { emit: r }) {
|
|
125
|
+
let s = e, _ = r, { t: S, format: w } = F(), T = P(te, "SaveBlockDialog"), E = P(M, "SaveBlockDialog"), ee = x(N, []), k = m(""), A = m(""), R = m(!1), z = m(null), B = m(""), V = m([]), H = d(() => {
|
|
126
126
|
let e = new Map(T.content.value.blocks.map((e) => [e.id, e]));
|
|
127
127
|
return V.value.map((t) => e.get(t)).filter((e) => e !== void 0);
|
|
128
|
-
}), U =
|
|
128
|
+
}), U = d({
|
|
129
129
|
get: () => H.value,
|
|
130
130
|
set: (e) => {
|
|
131
131
|
V.value = e.map((e) => e.id);
|
|
@@ -136,27 +136,27 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
136
136
|
if (r === -1 || i < 0 || i >= n.length) return;
|
|
137
137
|
[n[r], n[i]] = [n[i], n[r]], V.value = n;
|
|
138
138
|
let a = H.value[i];
|
|
139
|
-
B.value = a ? w(
|
|
139
|
+
B.value = a ? w(S.savedBlocks.reorderAnnouncement, {
|
|
140
140
|
block: Q(a),
|
|
141
141
|
position: i + 1,
|
|
142
142
|
total: n.length
|
|
143
143
|
}) : "";
|
|
144
144
|
}
|
|
145
145
|
function Q(e) {
|
|
146
|
-
return
|
|
146
|
+
return D(e, S, ee);
|
|
147
147
|
}
|
|
148
|
-
let ge =
|
|
149
|
-
|
|
150
|
-
e && (
|
|
148
|
+
let ge = d(() => H.value.map(Q).join(", "));
|
|
149
|
+
t(() => s.visible, (e) => {
|
|
150
|
+
e && (k.value = "", A.value = "", z.value = null, B.value = "", V.value = [...s.pickedIds]);
|
|
151
151
|
}, { immediate: !0 });
|
|
152
|
-
let _e =
|
|
152
|
+
let _e = d(() => k.value.trim().length > 0 && H.value.length > 0 && !R.value);
|
|
153
153
|
async function ve() {
|
|
154
154
|
if (!_e.value) return;
|
|
155
155
|
let e = H.value;
|
|
156
156
|
if (e.length !== 0) {
|
|
157
157
|
R.value = !0, z.value = null;
|
|
158
158
|
try {
|
|
159
|
-
await
|
|
159
|
+
await E.create(k.value.trim(), e, A.value.trim() || void 0), _("saved"), _("close");
|
|
160
160
|
} catch (e) {
|
|
161
161
|
z.value = e.message;
|
|
162
162
|
} finally {
|
|
@@ -165,17 +165,17 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
function $() {
|
|
168
|
-
R.value ||
|
|
168
|
+
R.value || _("close");
|
|
169
169
|
}
|
|
170
170
|
function ye(e) {
|
|
171
171
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), ve()), e.key === "Escape" && $();
|
|
172
172
|
}
|
|
173
|
-
return (
|
|
174
|
-
visible:
|
|
173
|
+
return (t, r) => (i(), b(L, {
|
|
174
|
+
visible: e.visible,
|
|
175
175
|
onClose: $,
|
|
176
176
|
onKeydown: ye
|
|
177
177
|
}, {
|
|
178
|
-
default:
|
|
178
|
+
default: c(() => [v("div", {
|
|
179
179
|
role: "dialog",
|
|
180
180
|
"aria-modal": "true",
|
|
181
181
|
"aria-busy": R.value,
|
|
@@ -186,37 +186,37 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
186
186
|
"box-shadow": "var(--tpl-shadow-xl)"
|
|
187
187
|
}
|
|
188
188
|
}, [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
"onUpdate:modelValue":
|
|
189
|
+
v("h3", q, n(f(S).savedBlocks.saveAsBlock), 1),
|
|
190
|
+
v("div", J, [v("label", Y, n(f(S).savedBlocks.name), 1), l(v("input", {
|
|
191
|
+
"onUpdate:modelValue": r[0] ||= (e) => k.value = e,
|
|
192
192
|
type: "text",
|
|
193
193
|
"data-testid": "saved-blocks-name-input",
|
|
194
|
-
placeholder:
|
|
194
|
+
placeholder: f(S).savedBlocks.namePlaceholder,
|
|
195
195
|
class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
|
|
196
196
|
disabled: R.value
|
|
197
|
-
}, null, 8, X), [[C,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
197
|
+
}, null, 8, X), [[C, k.value]])]),
|
|
198
|
+
v("div", Z, [
|
|
199
|
+
v("label", ne, n(f(S).savedBlocks.category), 1),
|
|
200
|
+
l(v("input", {
|
|
201
201
|
id: "tpl-save-block-category",
|
|
202
|
-
"onUpdate:modelValue":
|
|
202
|
+
"onUpdate:modelValue": r[1] ||= (e) => A.value = e,
|
|
203
203
|
type: "text",
|
|
204
204
|
"data-testid": "saved-blocks-category-input",
|
|
205
205
|
list: "tpl-saved-block-categories",
|
|
206
|
-
placeholder:
|
|
206
|
+
placeholder: f(S).savedBlocks.categoryPlaceholder,
|
|
207
207
|
class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
|
|
208
208
|
disabled: R.value
|
|
209
|
-
}, null, 8, re), [[C,
|
|
210
|
-
|
|
209
|
+
}, null, 8, re), [[C, A.value]]),
|
|
210
|
+
v("datalist", ie, [(i(!0), h(y, null, o(f(E).categories.value, (e) => (i(), h("option", {
|
|
211
211
|
key: e,
|
|
212
212
|
value: e
|
|
213
213
|
}, null, 8, ae))), 128))])
|
|
214
214
|
]),
|
|
215
|
-
|
|
216
|
-
H.value.length > 1 ? (
|
|
217
|
-
|
|
215
|
+
v("p", oe, [g(n(f(w)(f(S).savedBlocks.savingCount, { count: H.value.length })) + " ", 1), v("span", se, n(ge.value), 1)]),
|
|
216
|
+
H.value.length > 1 ? (i(), h("p", ce, n(f(S).savedBlocks.reorderHint), 1)) : p("", !0),
|
|
217
|
+
u(f(O), {
|
|
218
218
|
modelValue: U.value,
|
|
219
|
-
"onUpdate:modelValue":
|
|
219
|
+
"onUpdate:modelValue": r[2] ||= (e) => U.value = e,
|
|
220
220
|
"data-testid": "saved-blocks-reorder-list",
|
|
221
221
|
animation: 150,
|
|
222
222
|
"ghost-class": "tpl-ghost",
|
|
@@ -225,7 +225,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
225
225
|
"force-fallback": !0,
|
|
226
226
|
class: "tpl:mb-4 tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto"
|
|
227
227
|
}, {
|
|
228
|
-
default:
|
|
228
|
+
default: c(() => [(i(!0), h(y, null, o(U.value, (e, t) => (i(), b(G, {
|
|
229
229
|
key: e.id,
|
|
230
230
|
block: e,
|
|
231
231
|
position: t + 1,
|
|
@@ -239,23 +239,23 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
239
239
|
]))), 128))]),
|
|
240
240
|
_: 1
|
|
241
241
|
}, 8, ["modelValue"]),
|
|
242
|
-
|
|
243
|
-
z.value ? (
|
|
244
|
-
|
|
242
|
+
v("div", le, n(B.value), 1),
|
|
243
|
+
z.value ? (i(), h("p", ue, n(z.value), 1)) : p("", !0),
|
|
244
|
+
v("div", de, [v("button", {
|
|
245
245
|
type: "button",
|
|
246
|
-
class:
|
|
246
|
+
class: a(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": R.value }]),
|
|
247
247
|
disabled: R.value,
|
|
248
248
|
onClick: $
|
|
249
|
-
},
|
|
249
|
+
}, n(f(S).savedBlocks.cancel), 11, fe), v("button", {
|
|
250
250
|
type: "button",
|
|
251
|
-
class:
|
|
251
|
+
class: a(f(I)),
|
|
252
252
|
disabled: !_e.value,
|
|
253
253
|
onClick: ve
|
|
254
|
-
}, [R.value ? (
|
|
254
|
+
}, [R.value ? (i(), h("span", me, [u(f(j), {
|
|
255
255
|
class: "tpl:animate-spin",
|
|
256
256
|
size: 12,
|
|
257
257
|
"stroke-width": 2
|
|
258
|
-
}),
|
|
258
|
+
}), g(" " + n(f(S).savedBlocks.saving), 1)])) : (i(), h("span", he, n(f(S).savedBlocks.save), 1))], 10, pe)])
|
|
259
259
|
], 8, K)]),
|
|
260
260
|
_: 1
|
|
261
261
|
}, 8, ["visible"]));
|