@templatical/editor 0.59.2 → 0.60.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/dist/{AiAltTextPopover-BhWHOOKX.js → AiAltTextPopover-DiIaqDtB.js} +1 -1
- package/dist/{AiAltTextReview-CmW7pLmo.js → AiAltTextReview-DIe0WBbj.js} +1 -1
- package/dist/{AiChatPanel-CV0mCtad.js → AiChatPanel-aj2TPO9F.js} +8 -8
- package/dist/{AiPanels-C8M7q_vM.js → AiPanels-CRM3jf82.js} +1 -1
- package/dist/{AiRewriteMenu-DC2ZLH5L.js → AiRewriteMenu-F3GyXBsk.js} +8 -8
- package/dist/{BlockIssueBadge-B8sl9BM1.js → BlockIssueBadge-DlhA_I6J.js} +2 -2
- package/dist/{BlockPreviewCanvas-yhOQAQhJ.js → BlockPreviewCanvas-DYspUXMO.js} +19 -44
- package/dist/{CloudPanels-CD0lsL0R.js → CloudPanels-CAMn545-.js} +3 -3
- package/dist/{CollaborationNotices-DrMrP73M.js → CollaborationNotices-CnfS8BQy.js} +1 -1
- package/dist/{CollaboratorBar-TsK872uC.js → CollaboratorBar-DufLdLQP.js} +1 -1
- package/dist/{CommentsPanel-BX8JVrXU.js → CommentsPanel-C2hFFs0o.js} +1 -1
- package/dist/{CommentsSidebar-BUlseNwL.js → CommentsSidebar-CgEwxt2T.js} +10 -10
- package/dist/{CountdownToolbar-dx3FVRjh.js → CountdownToolbar-CNqYDevp.js} +4 -4
- package/dist/{IssuesPanel-BwnvXxBC.js → IssuesPanel-cPKhimE9.js} +9 -9
- package/dist/{LanguageMenu-Cf5bKocE.js → LanguageMenu-zxlpmw2x.js} +12 -12
- package/dist/{LocaleNotices-CGEp0pQ8.js → LocaleNotices-PIfpvCCI.js} +2 -2
- package/dist/{LogicTagInsertButton-BdDe-vrZ.js → LogicTagInsertButton-DqTkGJSR.js} +16 -16
- package/dist/{MediaEditModal-BWOqjEZN.js → MediaEditModal-C2Bn8WGb.js} +1 -1
- package/dist/{MediaPanels-C-XrldMu.js → MediaPanels-BAZByHRA.js} +1 -1
- package/dist/{MergeTagInput-CTTi-eB0.js → MergeTagInput-Jly1Pw0v.js} +1 -1
- package/dist/{MergeTagModeToggle-Bd0svGQm.js → MergeTagModeToggle-5kaFLRAm.js} +4 -4
- package/dist/{MergeTagTextarea-DiahMV-3.js → MergeTagTextarea-CCfirhcR.js} +5 -5
- package/dist/{ParagraphEditor-Db1cmj8Y.js → ParagraphEditor-DTdnxgDZ.js} +43 -43
- package/dist/{RestoreVersionDialog-DA1Z0q9Z.js → RestoreVersionDialog-cUYu3Xqs.js} +3 -3
- package/dist/{RichTextEditorContent-CyO6e4ZG.js → RichTextEditorContent-Aub9tOHF.js} +4 -4
- package/dist/{SaveBlockDialog-D7SaFxa_.js → SaveBlockDialog-D_ie3uIF.js} +7 -7
- package/dist/{SavedBlocksBrowserModal-B5r3LWWG.js → SavedBlocksBrowserModal-fhSnYT1l.js} +9 -9
- package/dist/{SavedBlocksPanels-BH2f7jm-.js → SavedBlocksPanels-Lklqy4XI.js} +1 -1
- package/dist/{SavedBlocksPickBar-B24TScw0.js → SavedBlocksPickBar-CpWkCa8G.js} +2 -2
- package/dist/{TemplateSettings-CuN9Vkl_.js → TemplateSettings-BJ4a8RBr.js} +8 -8
- package/dist/{TestEmailModal-C4DAaohi.js → TestEmailModal-BEoapoDc.js} +8 -8
- package/dist/{TestEmailPanel-DoMcVJSE.js → TestEmailPanel-DgyzokCf.js} +1 -1
- package/dist/{TitleEditor-b5Pr_m9j.js → TitleEditor-BQoSPgOi.js} +9 -9
- package/dist/{Toolbar-BOf7Y862.js → Toolbar-KhPpWyX1.js} +857 -756
- package/dist/{TplModal-DAcXzBJh.js → TplModal-F_kA7luG.js} +1 -1
- package/dist/{VersionHistoryMenu-TbIGteNi.js → VersionHistoryMenu-Bz4G8cNm.js} +5 -5
- package/dist/{VersionHistoryPanels-Ia6ipOqG.js → VersionHistoryPanels-DmVRyWv9.js} +1 -1
- package/dist/{VersionPreviewBanner-CRfu6quf.js → VersionPreviewBanner-BeppXZyn.js} +1 -1
- package/dist/{WrapperBlock-BZenrXM6.js → WrapperBlock-Ds7yfbhg.js} +3 -3
- package/dist/{blockTypeIcons-DdYZy8yG.js → blockTypeIcons-Do1QqDjg.js} +3 -3
- package/dist/bundle-stats.json +6 -6
- package/dist/{cdn/chunks/ca-YfIxwO1G.js → ca-Ce3NmK9v.js} +6 -3
- package/dist/cdn/chunks/{AiAltTextPopover-CcX_OMUU.js → AiAltTextPopover-CUzIaLRK.js} +2 -2
- package/dist/cdn/chunks/AiAltTextPopover-CUzIaLRK.js.map +1 -0
- package/dist/cdn/chunks/{AiAltTextReview-Dmm3h0jd.js → AiAltTextReview-BXBlE71X.js} +2 -2
- package/dist/cdn/chunks/AiAltTextReview-BXBlE71X.js.map +1 -0
- package/dist/cdn/chunks/{AiChatPanel-DV23DJ-2.js → AiChatPanel-BKydciDQ.js} +2 -2
- package/dist/cdn/chunks/AiChatPanel-BKydciDQ.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-CxhOpMAp.js → AiPanels-De-cIZ4p.js} +2 -2
- package/dist/cdn/chunks/AiPanels-De-cIZ4p.js.map +1 -0
- package/dist/cdn/chunks/{AiRewriteMenu-87-O514r.js → AiRewriteMenu-C9vBUTIB.js} +6 -6
- package/dist/cdn/chunks/AiRewriteMenu-C9vBUTIB.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-Dp06vQd3.js → BlockIssueBadge-B3CTTvgw.js} +2 -2
- package/dist/cdn/chunks/BlockIssueBadge-B3CTTvgw.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-DQGzUvZ5.js → BlockPreviewCanvas-B4Bj--kc.js} +20 -45
- package/dist/cdn/chunks/BlockPreviewCanvas-B4Bj--kc.js.map +1 -0
- package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +1 -1
- package/dist/cdn/chunks/{CloudPanels-D8fchoYt.js → CloudPanels-CQ75I3hQ.js} +3 -3
- package/dist/cdn/chunks/CloudPanels-CQ75I3hQ.js.map +1 -0
- package/dist/cdn/chunks/{CollaborationNotices-DNEs3g9B.js → CollaborationNotices-CgLea-hu.js} +2 -2
- package/dist/cdn/chunks/CollaborationNotices-CgLea-hu.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-CN6XAlbn.js → CollaboratorBar-CjRcbebT.js} +2 -2
- package/dist/cdn/chunks/CollaboratorBar-CjRcbebT.js.map +1 -0
- package/dist/cdn/chunks/{CommentsPanel-CxZ1kFcK.js → CommentsPanel-D_ud9GMN.js} +2 -2
- package/dist/cdn/chunks/CommentsPanel-D_ud9GMN.js.map +1 -0
- package/dist/cdn/chunks/{CommentsSidebar-DCr2mV8b.js → CommentsSidebar-CXn1EGAI.js} +2 -2
- package/dist/cdn/chunks/CommentsSidebar-CXn1EGAI.js.map +1 -0
- package/dist/cdn/chunks/CountdownBlock--hlKE2aj.js.map +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CUTbVPPV.js → CountdownToolbar-BOyk_4k7.js} +5 -5
- package/dist/cdn/chunks/CountdownToolbar-BOyk_4k7.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-BhcSzwuL.js → IssuesPanel-DOC94ZsH.js} +4 -4
- package/dist/cdn/chunks/IssuesPanel-DOC94ZsH.js.map +1 -0
- package/dist/cdn/chunks/{LanguageMenu-6wGhkyFT.js → LanguageMenu-DktneIpL.js} +7 -7
- package/dist/cdn/chunks/LanguageMenu-DktneIpL.js.map +1 -0
- package/dist/cdn/chunks/{LocaleNotices-Br92Xueo.js → LocaleNotices-B2NgnHoP.js} +2 -2
- package/dist/cdn/chunks/LocaleNotices-B2NgnHoP.js.map +1 -0
- package/dist/cdn/chunks/{LogicTagInsertButton-r2EVUtDU.js → LogicTagInsertButton-CQ8RiOou.js} +5 -5
- package/dist/cdn/chunks/LogicTagInsertButton-CQ8RiOou.js.map +1 -0
- package/dist/cdn/chunks/{MediaEditModal-CfgN7Jyi.js → MediaEditModal-Cs7_Om7e.js} +2 -2
- package/dist/cdn/chunks/MediaEditModal-Cs7_Om7e.js.map +1 -0
- package/dist/cdn/chunks/{MediaPanels-Cb5vsgb-.js → MediaPanels-BeekGmql.js} +2 -2
- package/dist/cdn/chunks/MediaPanels-BeekGmql.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagInput-Dh3N6CEV.js → MergeTagInput-D7FZ0ca0.js} +2 -2
- package/dist/cdn/chunks/MergeTagInput-D7FZ0ca0.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-D6u3hMrI.js → MergeTagModeToggle-CySCCEDs.js} +3 -3
- package/dist/cdn/chunks/MergeTagModeToggle-CySCCEDs.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagTextarea-BpVtpiNL.js → MergeTagTextarea-DJbWTYVH.js} +7 -7
- package/dist/cdn/chunks/MergeTagTextarea-DJbWTYVH.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-DGJmPAC1.js → ParagraphEditor-DAQUWqQJ.js} +23 -23
- package/dist/cdn/chunks/ParagraphEditor-DAQUWqQJ.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-D5qeCa0F.js → RestoreVersionDialog-COTRe_rM.js} +3 -3
- package/dist/cdn/chunks/RestoreVersionDialog-COTRe_rM.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-DyGiXKKI.js → RichTextEditorContent-DeWPMd9V.js} +4 -4
- package/dist/cdn/chunks/RichTextEditorContent-DeWPMd9V.js.map +1 -0
- package/dist/cdn/chunks/{SaveBlockDialog-B0TJYxd8.js → SaveBlockDialog-adQMbKR1.js} +6 -6
- package/dist/cdn/chunks/SaveBlockDialog-adQMbKR1.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-D8Ly7LrA.js → SavedBlocksBrowserModal-CGIFCRAx.js} +6 -6
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CGIFCRAx.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPanels-Co1cbWR8.js → SavedBlocksPanels-Du0RYlEf.js} +2 -2
- package/dist/cdn/chunks/SavedBlocksPanels-Du0RYlEf.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPickBar-DNtVbpm-.js → SavedBlocksPickBar-DmleyUrn.js} +3 -3
- package/dist/cdn/chunks/SavedBlocksPickBar-DmleyUrn.js.map +1 -0
- package/dist/cdn/chunks/{TemplateSettings-BRc878ZF.js → TemplateSettings-Csjef99q.js} +6 -6
- package/dist/cdn/chunks/TemplateSettings-Csjef99q.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-CIui7VfS.js → TestEmailModal-ClkexOtF.js} +7 -7
- package/dist/cdn/chunks/TestEmailModal-ClkexOtF.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-vKvruW_r.js → TestEmailPanel-DYEYzhU2.js} +2 -2
- package/dist/cdn/chunks/TestEmailPanel-DYEYzhU2.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-BI-9Nnj3.js → TitleEditor-opvaIgVr.js} +8 -8
- package/dist/cdn/chunks/TitleEditor-opvaIgVr.js.map +1 -0
- package/dist/cdn/chunks/ToggleSwitch-C0w0srN_.js.map +1 -1
- package/dist/cdn/chunks/{Toolbar-CYnnArxv.js → Toolbar-DbqkKRXy.js} +771 -670
- package/dist/cdn/chunks/Toolbar-DbqkKRXy.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-B3nZeGWK.js → TplModal-DLV5OeMD.js} +2 -2
- package/dist/cdn/chunks/TplModal-DLV5OeMD.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-CMGfAKuV.js → VersionHistoryMenu-DBd0zwjE.js} +2 -2
- package/dist/cdn/chunks/VersionHistoryMenu-DBd0zwjE.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-Bb2ouQg7.js → VersionHistoryPanels-hy_Ybxie.js} +2 -2
- package/dist/cdn/chunks/VersionHistoryPanels-hy_Ybxie.js.map +1 -0
- package/dist/cdn/chunks/{VersionPreviewBanner-573UP-g4.js → VersionPreviewBanner-D-yHxWWY.js} +2 -2
- package/dist/cdn/chunks/VersionPreviewBanner-D-yHxWWY.js.map +1 -0
- package/dist/cdn/chunks/{WrapperBlock-DVu632LD.js → WrapperBlock-Ce_k8m_x.js} +4 -4
- package/dist/cdn/chunks/WrapperBlock-Ce_k8m_x.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js → blockTypeIcons-DBoP1HkR.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js.map → blockTypeIcons-DBoP1HkR.js.map} +1 -1
- package/dist/{ca-YfIxwO1G.js → cdn/chunks/ca-Ce3NmK9v.js} +8 -1
- package/dist/cdn/chunks/ca-Ce3NmK9v.js.map +1 -0
- package/dist/cdn/chunks/{composables-DY3anqHO.js → composables-Brr4m0Sg.js} +566 -591
- package/dist/cdn/chunks/composables-Brr4m0Sg.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-B5numxlW.js → createCloudRuntime-QPeg45XL.js} +3 -3
- package/dist/cdn/chunks/{createCloudRuntime-B5numxlW.js.map → createCloudRuntime-QPeg45XL.js.map} +1 -1
- package/dist/cdn/chunks/{da-CM6DCvRG.js → da-4YwDAuEr.js} +7 -2
- package/dist/cdn/chunks/da-4YwDAuEr.js.map +1 -0
- package/dist/{de-Dugz1zXC.js → cdn/chunks/de-BlQ0vdZJ.js} +8 -1
- package/dist/cdn/chunks/de-BlQ0vdZJ.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-CXSSZplR.js → editor-modal-BCcbvIxc.js} +4 -4
- package/dist/cdn/chunks/editor-modal-BCcbvIxc.js.map +1 -0
- package/dist/cdn/chunks/en-DkulseE1.js +1 -0
- package/dist/{en-BykoFuFY.js → cdn/chunks/en-MlNeQVSG.js} +8 -1
- package/dist/cdn/chunks/en-MlNeQVSG.js.map +1 -0
- package/dist/{es-DaWsTkpj.js → cdn/chunks/es-2s8x4OM2.js} +8 -1
- package/dist/cdn/chunks/es-2s8x4OM2.js.map +1 -0
- package/dist/cdn/chunks/{extensions-BWVlr8Ga.js → extensions-BpuyqKVY.js} +5 -5
- package/dist/cdn/chunks/extensions-BpuyqKVY.js.map +1 -0
- package/dist/{fr-DqwQHtJo.js → cdn/chunks/fr-D3MjrsgQ.js} +8 -1
- package/dist/cdn/chunks/fr-D3MjrsgQ.js.map +1 -0
- package/dist/cdn/chunks/{icons-C7vjUBLn.js → icons-BJ6AtVgu.js} +23 -23
- package/dist/cdn/chunks/{icons-C7vjUBLn.js.map → icons-BJ6AtVgu.js.map} +1 -1
- package/dist/cdn/chunks/{ja-BH4MS1Ye.js → ja-B4Kx7uBX.js} +7 -2
- package/dist/cdn/chunks/ja-B4Kx7uBX.js.map +1 -0
- package/dist/{nl-BQl1_UHv.js → cdn/chunks/nl-U65iX7wN.js} +8 -1
- package/dist/cdn/chunks/nl-U65iX7wN.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-Dw3rFvyd.js → normalizeMergeTagMarkup-B81BAWKT.js} +64 -64
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-Dw3rFvyd.js.map → normalizeMergeTagMarkup-B81BAWKT.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-BGtb8Xbp.js → preRenderCustomBlocks-CQuaMxuv.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-BGtb8Xbp.js.map → preRenderCustomBlocks-CQuaMxuv.js.map} +1 -1
- package/dist/{pt-BR-eyzmU9Vs.js → cdn/chunks/pt-BR-_jsX1xLv.js} +8 -1
- package/dist/cdn/chunks/pt-BR-_jsX1xLv.js.map +1 -0
- package/dist/cdn/chunks/{sanitizeHtml-CLRY8s2s.js → sanitizeHtml-BdAjvU9I.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-CLRY8s2s.js.map → sanitizeHtml-BdAjvU9I.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-kYhdXJ9P.js → socialIcons-Df9dNe7I.js} +495 -517
- package/dist/cdn/chunks/socialIcons-Df9dNe7I.js.map +1 -0
- package/dist/cdn/chunks/{src-BmzzkUf7.js → src-B3v_3j9b.js} +436 -404
- package/dist/cdn/chunks/src-B3v_3j9b.js.map +1 -0
- package/dist/cdn/chunks/{src-DY2kMjoD.js → src-BHgVGOTi.js} +771 -667
- package/dist/cdn/chunks/src-BHgVGOTi.js.map +1 -0
- package/dist/cdn/chunks/src-C5V_yzAU.js +673 -0
- package/dist/cdn/chunks/src-C5V_yzAU.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-B7gxx0aJ.js → tiptap-D9amDW4u.js} +1030 -1027
- package/dist/cdn/chunks/tiptap-D9amDW4u.js.map +1 -0
- package/dist/cdn/chunks/useLocalizedDisplay-C3lIetmX.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-B5wMJLru.js.map → useLocalizedDisplay-C3lIetmX.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-0wkSxy3z.js → useLogicTag-DOIlsGk8.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-0wkSxy3z.js.map → useLogicTag-DOIlsGk8.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-y3bX8M_6.js → useMergeTag-DUNl364g.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-y3bX8M_6.js.map → useMergeTag-DUNl364g.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-B42BKo9N.js → withCurrentFont-ufGLu2Vt.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-B42BKo9N.js.map → withCurrentFont-ufGLu2Vt.js.map} +1 -1
- package/dist/cdn/editor.js +109 -109
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ErKdPXG6.js → check-CWq6Nfjj.js} +1 -1
- package/dist/{chevron-down-C_vv5fZE.js → chevron-down-B9t0SK_-.js} +1 -1
- package/dist/{chevron-right-Cw4GpjFA.js → chevron-right-B_qslOCS.js} +1 -1
- package/dist/{chevron-up-uijYZoph.js → chevron-up-CxZ2teV2.js} +1 -1
- package/dist/{circle-exclamation-point-CIYHx5Tw.js → circle-exclamation-point-B1tbhkNb.js} +1 -1
- package/dist/{clock-tnC1IvZk.js → clock-Rw4btQn-.js} +1 -1
- package/dist/{composables-CFTH0Nqb.js → composables-5KJV0O9T.js} +914 -939
- package/dist/{createCloudRuntime-BvWlm_38.js → createCloudRuntime-BdoKeYJi.js} +2 -2
- package/dist/{createLucideIcon-CssArtUe.js → createLucideIcon-B6Zkn9r0.js} +5 -5
- package/dist/{da-CM6DCvRG.js → da-4YwDAuEr.js} +6 -1
- package/dist/{cdn/chunks/de-Dugz1zXC.js → de-BlQ0vdZJ.js} +6 -3
- package/dist/dist-AyAOL8Bj.js +4 -0
- package/dist/{dist-BTUMr4Pb.js → dist-BNrGwgev.js} +2 -2
- package/dist/{dist-CsplpC_6.js → dist-BPVNNdTv.js} +2 -2
- package/dist/{dist-bWIkrMkM.js → dist-C7YLw60i.js} +2 -2
- package/dist/{dist-Clfx1JeL.js → dist-CBnAqr27.js} +2 -2
- package/dist/{dist-CkHJRChP.js → dist-COvAA64n.js} +2 -2
- package/dist/{dist-C-NRkFsp.js → dist-CuRjmtWu.js} +5 -5
- package/dist/{dist-HKEDfp__.js → dist-DG_AWt8v.js} +2 -2
- package/dist/{dist-DY3WbyCO.js → dist-DYtuc3jc.js} +2 -2
- package/dist/dist-DkPTWQuO.js +4 -0
- package/dist/{dist-DwpKFWF4.js → dist-DoWk1r7z.js} +77 -74
- package/dist/{dist-CMo4K5So.js → dist-DsA7NeIy.js} +798 -696
- package/dist/{dist-BlrlMP8f.js → dist-fDsB6dCL.js} +2 -2
- package/dist/{editor-modal-BWvxfSj8.js → editor-modal-_ylhrf4g.js} +15 -15
- package/dist/en-DwxgN_-Y.js +1 -0
- package/dist/{cdn/chunks/en-BykoFuFY.js → en-MlNeQVSG.js} +6 -3
- package/dist/{cdn/chunks/es-DaWsTkpj.js → es-2s8x4OM2.js} +6 -3
- package/dist/{extensions-BPVackEE.js → extensions-DCJGAZ9z.js} +73 -73
- package/dist/{eye-DK4--qHk.js → eye-BE-DeEqG.js} +1 -1
- package/dist/{cdn/chunks/fr-DqwQHtJo.js → fr-D3MjrsgQ.js} +6 -3
- package/dist/{image-B5pJOw5Q.js → image-DfRxUmUh.js} +1 -1
- package/dist/index.d.ts +37 -7
- package/dist/{info-DKM0_thN.js → info-D1PS-81D.js} +1 -1
- package/dist/{ja-BH4MS1Ye.js → ja-B4Kx7uBX.js} +6 -1
- package/dist/{link-BNgTZ_Sw.js → link-DLaACaIz.js} +1 -1
- package/dist/{list-Bqynqm7o.js → list-CvtzVlvM.js} +1 -1
- package/dist/{loader-circle-BMc3fVpa.js → loader-circle-DCkSXApP.js} +1 -1
- package/dist/{message-circle-D_TpvAJh.js → message-circle-Bj4F9bBO.js} +1 -1
- package/dist/{cdn/chunks/nl-BQl1_UHv.js → nl-U65iX7wN.js} +6 -3
- package/dist/{normalizeMergeTagMarkup-PQqrbfmt.js → normalizeMergeTagMarkup-B7n_-4Dz.js} +45 -45
- package/dist/{package-D2fov5PU.js → package-By1au8Wi.js} +1 -1
- package/dist/{pencil-BNdkJyfY.js → pencil-T4qqyRLl.js} +1 -1
- package/dist/{plus-CWmBmMx-.js → plus-3Zry-1gs.js} +1 -1
- package/dist/{preRenderCustomBlocks-Dg5GBNi2.js → preRenderCustomBlocks-D3GzENVB.js} +3 -3
- package/dist/{cdn/chunks/pt-BR-eyzmU9Vs.js → pt-BR-_jsX1xLv.js} +6 -3
- package/dist/{refresh-cw-Ryg1j66N.js → refresh-cw-BwaO0ioc.js} +1 -1
- package/dist/{rotate-ccw-D8j7gXXv.js → rotate-ccw-C3E0W5q-.js} +1 -1
- package/dist/{sanitizeHtml-DVdfdxOz.js → sanitizeHtml-BcbjlypU.js} +6 -6
- package/dist/{search-CX2JkSHz.js → search-DfExisVv.js} +1 -1
- package/dist/{send-BLR1b-p5.js → send-FRC7Giap.js} +1 -1
- package/dist/{smartphone-Co8m0LLg.js → smartphone-BlYU_z_x.js} +1 -1
- package/dist/{socialIcons-DBHv_ntg.js → socialIcons-By2LPWOQ.js} +561 -583
- package/dist/{sparkles-Dc3Undp5.js → sparkles-DSi61skE.js} +1 -1
- package/dist/{square-CPw_cyX8.js → square-DEE8tT2w.js} +1 -1
- package/dist/templatical-editor.js +139 -139
- package/dist/{text-align-start-2VZGhCiK.js → text-align-start-DGdrmKcG.js} +1 -1
- package/dist/{trash-t6XXliVc.js → trash-YZPJMZc7.js} +1 -1
- package/dist/{triangle-exclamation-point-_YYWE2ZH.js → triangle-exclamation-point-BR-W6pQm.js} +1 -1
- package/dist/{upload-BWYXWYHb.js → upload-B_Eoqj-4.js} +1 -1
- package/dist/useLocalizedDisplay-_P6-hXaO.js +31 -0
- package/dist/{useLogicTag-CVOj0VUv.js → useLogicTag-f0SJ1Cd2.js} +1 -1
- package/dist/{useMergeTag-Bams_kam.js → useMergeTag-0-EudwkV.js} +3 -3
- package/dist/{useScrollToBlock-CwUQ_nKz.js → useScrollToBlock-CtM_ydOS.js} +1 -1
- package/dist/withCurrentFont-BOg3jmCT.js +18 -0
- package/dist/{x-CTKOxIyZ.js → x-C0X5MoK3.js} +1 -1
- package/package.json +22 -22
- package/dist/cdn/chunks/AiAltTextPopover-CcX_OMUU.js.map +0 -1
- package/dist/cdn/chunks/AiAltTextReview-Dmm3h0jd.js.map +0 -1
- package/dist/cdn/chunks/AiChatPanel-DV23DJ-2.js.map +0 -1
- package/dist/cdn/chunks/AiPanels-CxhOpMAp.js.map +0 -1
- package/dist/cdn/chunks/AiRewriteMenu-87-O514r.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-Dp06vQd3.js.map +0 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-D8fchoYt.js.map +0 -1
- package/dist/cdn/chunks/CollaborationNotices-DNEs3g9B.js.map +0 -1
- package/dist/cdn/chunks/CollaboratorBar-CN6XAlbn.js.map +0 -1
- package/dist/cdn/chunks/CommentsPanel-CxZ1kFcK.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-DCr2mV8b.js.map +0 -1
- package/dist/cdn/chunks/CountdownToolbar-CUTbVPPV.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-BhcSzwuL.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-6wGhkyFT.js.map +0 -1
- package/dist/cdn/chunks/LocaleNotices-Br92Xueo.js.map +0 -1
- package/dist/cdn/chunks/LogicTagInsertButton-r2EVUtDU.js.map +0 -1
- package/dist/cdn/chunks/MediaEditModal-CfgN7Jyi.js.map +0 -1
- package/dist/cdn/chunks/MediaPanels-Cb5vsgb-.js.map +0 -1
- package/dist/cdn/chunks/MergeTagInput-Dh3N6CEV.js.map +0 -1
- package/dist/cdn/chunks/MergeTagModeToggle-D6u3hMrI.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-BpVtpiNL.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DGJmPAC1.js.map +0 -1
- package/dist/cdn/chunks/RestoreVersionDialog-D5qeCa0F.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-DyGiXKKI.js.map +0 -1
- package/dist/cdn/chunks/SaveBlockDialog-B0TJYxd8.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-D8Ly7LrA.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPanels-Co1cbWR8.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPickBar-DNtVbpm-.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-BRc878ZF.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +0 -1
- package/dist/cdn/chunks/TestEmailPanel-vKvruW_r.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-BI-9Nnj3.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-CYnnArxv.js.map +0 -1
- package/dist/cdn/chunks/TplModal-B3nZeGWK.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryMenu-CMGfAKuV.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryPanels-Bb2ouQg7.js.map +0 -1
- package/dist/cdn/chunks/VersionPreviewBanner-573UP-g4.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-DVu632LD.js.map +0 -1
- package/dist/cdn/chunks/ca-YfIxwO1G.js.map +0 -1
- package/dist/cdn/chunks/composables-DY3anqHO.js.map +0 -1
- package/dist/cdn/chunks/da-CM6DCvRG.js.map +0 -1
- package/dist/cdn/chunks/de-Dugz1zXC.js.map +0 -1
- package/dist/cdn/chunks/editor-modal-CXSSZplR.js.map +0 -1
- package/dist/cdn/chunks/en-BykoFuFY.js.map +0 -1
- package/dist/cdn/chunks/en-DYMYt1TN.js +0 -1
- package/dist/cdn/chunks/es-DaWsTkpj.js.map +0 -1
- package/dist/cdn/chunks/extensions-BWVlr8Ga.js.map +0 -1
- package/dist/cdn/chunks/fr-DqwQHtJo.js.map +0 -1
- package/dist/cdn/chunks/ja-BH4MS1Ye.js.map +0 -1
- package/dist/cdn/chunks/nl-BQl1_UHv.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-eyzmU9Vs.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-kYhdXJ9P.js.map +0 -1
- package/dist/cdn/chunks/src-B7X7x_ST.js +0 -707
- package/dist/cdn/chunks/src-B7X7x_ST.js.map +0 -1
- package/dist/cdn/chunks/src-BmzzkUf7.js.map +0 -1
- package/dist/cdn/chunks/src-DY2kMjoD.js.map +0 -1
- package/dist/cdn/chunks/tiptap-B7gxx0aJ.js.map +0 -1
- package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +0 -33
- package/dist/dist-CkIeJEsa.js +0 -4
- package/dist/dist-eAgG-nCb.js +0 -4
- package/dist/en-DvCaYqiR.js +0 -1
- package/dist/useLocalizedDisplay-CbFM0cCV.js +0 -31
- package/dist/withCurrentFont-y0O5kOLW.js +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -470,6 +470,16 @@ declare interface ButtonBlock extends BaseBlock {
|
|
|
470
470
|
*/
|
|
471
471
|
border?: BorderValue;
|
|
472
472
|
fontSize: number;
|
|
473
|
+
/**
|
|
474
|
+
* The label's line height as a multiple of its font size, like
|
|
475
|
+
* `BUTTON_LINE_HEIGHT`. Omitted is `BUTTON_LINE_HEIGHT` (1.2), so a
|
|
476
|
+
* stored button renders as it does today. It applies to every line of a
|
|
477
|
+
* wrapped label. A value that is not a finite number above 0 is ignored
|
|
478
|
+
* and renders as omitted.
|
|
479
|
+
*
|
|
480
|
+
* @exclusiveMinimum 0
|
|
481
|
+
*/
|
|
482
|
+
lineHeight?: number;
|
|
473
483
|
buttonPadding: SpacingValue;
|
|
474
484
|
fontFamily?: string;
|
|
475
485
|
/**
|
|
@@ -477,10 +487,17 @@ declare interface ButtonBlock extends BaseBlock {
|
|
|
477
487
|
* Omitted renders bold, which is what a button with no weight renders.
|
|
478
488
|
*/
|
|
479
489
|
fontWeight?: "regular" | "medium" | "bold";
|
|
480
|
-
|
|
490
|
+
/**
|
|
491
|
+
* Omitted fits the label. A number is px. `"full"` spans the column. A
|
|
492
|
+
* percentage is a share of the column's content box (the column less the
|
|
493
|
+
* button's side padding), rendered natively by MJML, so the button shrinks
|
|
494
|
+
* with its column on a phone.
|
|
495
|
+
*/
|
|
496
|
+
width?: number | "full" | PercentWidth;
|
|
481
497
|
/**
|
|
482
498
|
* Placement of the button within its column. No visible effect when `width`
|
|
483
|
-
* is `"full"`, since the button then spans the column.
|
|
499
|
+
* is `"full"`, since the button then spans the column. A percentage width
|
|
500
|
+
* still uses `align`.
|
|
484
501
|
*/
|
|
485
502
|
align: "left" | "center" | "right";
|
|
486
503
|
}
|
|
@@ -1205,11 +1222,8 @@ declare interface DividerBlock extends BaseBlock {
|
|
|
1205
1222
|
width: number | "full" | DividerPercentWidth;
|
|
1206
1223
|
}
|
|
1207
1224
|
|
|
1208
|
-
/**
|
|
1209
|
-
|
|
1210
|
-
* @pattern ^(?:100(?:\.0+)?|\d{1,2}(?:\.\d+)?)%$
|
|
1211
|
-
*/
|
|
1212
|
-
declare type DividerPercentWidth = `${number}%`;
|
|
1225
|
+
/** The same type as `PercentWidth`. */
|
|
1226
|
+
declare type DividerPercentWidth = PercentWidth;
|
|
1213
1227
|
|
|
1214
1228
|
/**
|
|
1215
1229
|
* Who is using the editor right now — `init({ user })`.
|
|
@@ -2089,6 +2103,12 @@ declare interface ParagraphBlock extends BaseBlock {
|
|
|
2089
2103
|
paragraphSpacing?: number;
|
|
2090
2104
|
}
|
|
2091
2105
|
|
|
2106
|
+
/**
|
|
2107
|
+
* A share of the column, from `"0%"` to `"100%"`.
|
|
2108
|
+
* @pattern ^(?:100(?:\.0+)?|\d{1,2}(?:\.\d+)?)%$
|
|
2109
|
+
*/
|
|
2110
|
+
declare type PercentWidth = `${number}%`;
|
|
2111
|
+
|
|
2092
2112
|
/**
|
|
2093
2113
|
* Context handed to `resolvePreview`.
|
|
2094
2114
|
*
|
|
@@ -2523,6 +2543,16 @@ declare interface SectionBlock extends BaseBlock {
|
|
|
2523
2543
|
* image size.
|
|
2524
2544
|
*/
|
|
2525
2545
|
hero?: SectionHero;
|
|
2546
|
+
/**
|
|
2547
|
+
* Each column's share of the section as a percentage, one number per
|
|
2548
|
+
* column of `columns`. Values are scaled so they total 100, so `[1, 1, 2]`
|
|
2549
|
+
* means 25 / 25 / 50. It overrides the preset's split, and `columns` still
|
|
2550
|
+
* sets the column count. It is ignored (the preset's split renders, and
|
|
2551
|
+
* the `structure` linter reports `structure.column-widths-ignored`) when
|
|
2552
|
+
* its length differs from the layout's column count, or when a value is
|
|
2553
|
+
* not a finite number above 0. Absent keeps the preset's split.
|
|
2554
|
+
*/
|
|
2555
|
+
columnWidths?: number[];
|
|
2526
2556
|
/** Optional outer frame (rendered as an `mj-wrapper` around the section). */
|
|
2527
2557
|
wrapper?: SectionWrapper;
|
|
2528
2558
|
}
|
|
@@ -245,6 +245,9 @@ var e = {
|
|
|
245
245
|
ratio13: "比率 1:3",
|
|
246
246
|
ratio31: "比率 3:1",
|
|
247
247
|
ratio121: "比率 1:2:1",
|
|
248
|
+
columnsCustom: "カスタム",
|
|
249
|
+
columnWidths: "列の幅",
|
|
250
|
+
columnWidthAria: "列{index}の幅",
|
|
248
251
|
borderRadius: "角の丸み",
|
|
249
252
|
wrapperEnable: "外枠を追加",
|
|
250
253
|
wrapperLayoutConflict: "このエディタはすでにメール全体に外枠を付けています。このセクションに外枠を追加することはできないため、プレビューと出力は失敗します。",
|
|
@@ -344,6 +347,7 @@ var e = {
|
|
|
344
347
|
textColor: "文字色",
|
|
345
348
|
borderRadius: "角の丸み",
|
|
346
349
|
fontSize: "文字サイズ",
|
|
350
|
+
lineHeight: "行間",
|
|
347
351
|
fontWeight: "太さ",
|
|
348
352
|
fontWeightRegular: "標準",
|
|
349
353
|
fontWeightMedium: "中太",
|
|
@@ -351,7 +355,8 @@ var e = {
|
|
|
351
355
|
width: "幅",
|
|
352
356
|
widthAuto: "内容に合わせる",
|
|
353
357
|
fullWidth: "全幅",
|
|
354
|
-
widthCustom: "カスタム"
|
|
358
|
+
widthCustom: "カスタム",
|
|
359
|
+
widthUnit: "幅の単位"
|
|
355
360
|
},
|
|
356
361
|
divider: {
|
|
357
362
|
style: "線の種類",
|
|
@@ -246,6 +246,9 @@ var e = {
|
|
|
246
246
|
ratio13: "Verhouding 1:3",
|
|
247
247
|
ratio31: "Verhouding 3:1",
|
|
248
248
|
ratio121: "Verhouding 1:2:1",
|
|
249
|
+
columnsCustom: "Aangepast",
|
|
250
|
+
columnWidths: "Kolombreedtes",
|
|
251
|
+
columnWidthAria: "Breedte van kolom {index}",
|
|
249
252
|
borderRadius: "Hoekafronding",
|
|
250
253
|
wrapperEnable: "Omhulsel toevoegen",
|
|
251
254
|
wrapperLayoutConflict: "Deze editor kadert de e-mail al in. Een extra kader op deze sectie wordt niet ondersteund — voorbeeld en export zullen mislukken.",
|
|
@@ -345,6 +348,7 @@ var e = {
|
|
|
345
348
|
textColor: "Tekstkleur",
|
|
346
349
|
borderRadius: "Hoekafronding",
|
|
347
350
|
fontSize: "Tekengrootte",
|
|
351
|
+
lineHeight: "Regelafstand",
|
|
348
352
|
fontWeight: "Lettergewicht",
|
|
349
353
|
fontWeightRegular: "Normaal",
|
|
350
354
|
fontWeightMedium: "Gemiddeld",
|
|
@@ -352,7 +356,8 @@ var e = {
|
|
|
352
356
|
width: "Breedte",
|
|
353
357
|
widthAuto: "Aanpassen aan inhoud",
|
|
354
358
|
fullWidth: "Volledige breedte",
|
|
355
|
-
widthCustom: "Aangepast"
|
|
359
|
+
widthCustom: "Aangepast",
|
|
360
|
+
widthUnit: "Breedte-eenheid"
|
|
356
361
|
},
|
|
357
362
|
divider: {
|
|
358
363
|
style: "Stijl",
|
|
@@ -947,5 +952,3 @@ var e = {
|
|
|
947
952
|
}
|
|
948
953
|
};
|
|
949
954
|
export { e as default };
|
|
950
|
-
|
|
951
|
-
//# sourceMappingURL=nl-BQl1_UHv.js.map
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, P as t, Qt as n, T as r, Ut as i, en as a, ht as o, mt as s, nn as c, p as l, rt as u, sn as d } from "./dist-DsA7NeIy.js";
|
|
2
2
|
// src/utils/normalizeMergeTagMarkup.ts
|
|
3
3
|
function f(e) {
|
|
4
4
|
let t = e.flags.includes("g") ? e.flags : `${e.flags}g`;
|
|
5
5
|
return new RegExp(e.source, t);
|
|
6
6
|
}
|
|
7
|
-
function p(
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
let d =
|
|
11
|
-
for (;
|
|
12
|
-
let
|
|
13
|
-
if (
|
|
7
|
+
function p(t, n, r) {
|
|
8
|
+
let i = [], a = e(r) !== void 0, l = [], u = 0, d = (e, n, o, s) => {
|
|
9
|
+
n === "value" && (u = 0);
|
|
10
|
+
let d = a ? null : f(e), p = a ? c(t, r, n) : null, m = d?.exec(t) ?? null, h = 0;
|
|
11
|
+
for (; a ? h < p.length : m !== null;) {
|
|
12
|
+
let e = a ? p[h].index : m.index, r = a ? p[h].value : m[0], c = e + r.length;
|
|
13
|
+
if (r.length === 0) d.lastIndex++;
|
|
14
14
|
else {
|
|
15
|
-
if (
|
|
16
|
-
let
|
|
17
|
-
if (!
|
|
18
|
-
let
|
|
19
|
-
start:
|
|
20
|
-
end:
|
|
15
|
+
if (n === "value") for (; l[u]?.end <= e;) u++;
|
|
16
|
+
let t = n === "value" ? l[u] : i[i.length - 1];
|
|
17
|
+
if (!t || e >= t.end || c <= t.start) {
|
|
18
|
+
let t = {
|
|
19
|
+
start: e,
|
|
20
|
+
end: c,
|
|
21
21
|
attr: o,
|
|
22
|
-
value:
|
|
23
|
-
label:
|
|
22
|
+
value: r,
|
|
23
|
+
label: s(r)
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
i.push(t), n === "logic" && l.push(t);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
a ? h++ : m = d.exec(t);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
return d(
|
|
31
|
+
return d(r.logic, "logic", "data-logic-merge-tag", (e) => s(e, r)), d(r.value, "value", "data-merge-tag", (e) => o(e, n)), i.sort((e, t) => e.start - t.start);
|
|
32
32
|
}
|
|
33
33
|
function m(e) {
|
|
34
34
|
let t = e.createTreeWalker(e.body, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, { acceptNode(e) {
|
|
@@ -39,21 +39,21 @@ function m(e) {
|
|
|
39
39
|
for (; r !== null;) n.push(r), r = t.nextNode();
|
|
40
40
|
return n;
|
|
41
41
|
}
|
|
42
|
-
function h(e,
|
|
43
|
-
if (!e || !
|
|
44
|
-
let
|
|
45
|
-
for (let e of m(
|
|
46
|
-
let
|
|
42
|
+
function h(e, n, r) {
|
|
43
|
+
if (!e || !t(e, r) || typeof DOMParser > "u") return e;
|
|
44
|
+
let i = new DOMParser().parseFromString(`<!doctype html><body>${e}</body>`, "text/html"), a = 0;
|
|
45
|
+
for (let e of m(i)) {
|
|
46
|
+
let t = e.data, o = p(t, n, r);
|
|
47
47
|
if (o.length === 0) continue;
|
|
48
|
-
let s =
|
|
48
|
+
let s = i.createDocumentFragment(), c = 0;
|
|
49
49
|
for (let e of o) {
|
|
50
|
-
e.start > c && s.appendChild(
|
|
51
|
-
let
|
|
52
|
-
|
|
50
|
+
e.start > c && s.appendChild(i.createTextNode(t.substring(c, e.start)));
|
|
51
|
+
let n = i.createElement("span");
|
|
52
|
+
n.setAttribute(e.attr, e.value), n.textContent = e.label, s.appendChild(n), c = e.end;
|
|
53
53
|
}
|
|
54
|
-
c <
|
|
54
|
+
c < t.length && s.appendChild(i.createTextNode(t.substring(c))), e.parentNode?.replaceChild(s, e), a += o.length;
|
|
55
55
|
}
|
|
56
|
-
return
|
|
56
|
+
return a === 0 ? e : i.body.innerHTML;
|
|
57
57
|
}
|
|
58
58
|
function g(e, t, n, r) {
|
|
59
59
|
if (e !== "title" && e !== "paragraph" && e !== "html" || typeof t?.content?.value != "string") return t;
|
|
@@ -110,7 +110,7 @@ function _(e, t, n) {
|
|
|
110
110
|
if (e.type !== "title" && e.type !== "paragraph" || typeof e.content != "string") return e;
|
|
111
111
|
let i = h(e.content, t, n);
|
|
112
112
|
if (i === e.content) return e;
|
|
113
|
-
let a =
|
|
113
|
+
let a = d(e.content), o = d(i), s = e.l10n && Object.fromEntries(Object.entries(e.l10n).map(([e, t]) => {
|
|
114
114
|
let n = t.text?.content;
|
|
115
115
|
return [e, n?.sourceHash === a ? {
|
|
116
116
|
...t,
|
|
@@ -140,14 +140,14 @@ function v(e, t, n) {
|
|
|
140
140
|
blocks: i
|
|
141
141
|
} : e;
|
|
142
142
|
}
|
|
143
|
-
function y(
|
|
144
|
-
return v(x(
|
|
143
|
+
function y(e, t) {
|
|
144
|
+
return v(x(e), t?.tags ?? [], n(t?.syntax));
|
|
145
145
|
}
|
|
146
|
-
function b(
|
|
147
|
-
return _(
|
|
146
|
+
function b(e, t) {
|
|
147
|
+
return _(e, t?.tags ?? [], n(t?.syntax));
|
|
148
148
|
}
|
|
149
149
|
function x(e) {
|
|
150
|
-
return typeof e == "object" && e ?
|
|
150
|
+
return typeof e == "object" && e ? a(e) : e;
|
|
151
151
|
}
|
|
152
152
|
function S(e, t) {
|
|
153
153
|
return {
|
|
@@ -194,14 +194,14 @@ function T(e, t) {
|
|
|
194
194
|
let r = e.type === "section" ? n.flat() : n;
|
|
195
195
|
for (let e of r) e && typeof e == "object" && T(e, t);
|
|
196
196
|
}
|
|
197
|
-
function E(
|
|
198
|
-
let s = o?.tags ?? [], c =
|
|
197
|
+
function E(e, t, o) {
|
|
198
|
+
let s = o?.tags ?? [], c = n(o?.syntax), f = /* @__PURE__ */ new Map(), p = e.some((e) => e.op === "updateBlockLocale"), m = a(t), y = a(t), b = (e, t, n) => {
|
|
199
199
|
try {
|
|
200
|
-
if (!("expect" in t)) return
|
|
201
|
-
let { expect: n, ...
|
|
202
|
-
return
|
|
200
|
+
if (!("expect" in t)) return r(e, [t]);
|
|
201
|
+
let { expect: n, ...i } = t;
|
|
202
|
+
return r(e, [i]);
|
|
203
203
|
} catch (e) {
|
|
204
|
-
throw e instanceof
|
|
204
|
+
throw e instanceof l ? new l(e.code, n, e.message, e.blockId) : e;
|
|
205
205
|
}
|
|
206
206
|
}, x = (e, t) => {
|
|
207
207
|
let n = (e) => {
|
|
@@ -218,7 +218,7 @@ function E(n, r, o) {
|
|
|
218
218
|
let a = e;
|
|
219
219
|
for (let [o, s] of Object.entries(e)) {
|
|
220
220
|
if (!s) continue;
|
|
221
|
-
let e = r ? t?.l10n?.[r]?.text?.[o] : void 0, c = r ? n?.l10n?.[r]?.text?.[o] : void 0,
|
|
221
|
+
let e = r ? t?.l10n?.[r]?.text?.[o] : void 0, c = r ? n?.l10n?.[r]?.text?.[o] : void 0, l = i(t, o), f = i(n, o), p = e && c && u(s, e) ? c.sourceHash : typeof l == "string" && typeof f == "string" && s.sourceHash === d(l) ? d(f) : s.sourceHash;
|
|
222
222
|
p !== s.sourceHash && (a = {
|
|
223
223
|
...a,
|
|
224
224
|
[o]: {
|
|
@@ -285,7 +285,7 @@ function E(n, r, o) {
|
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
return e;
|
|
288
|
-
}, D =
|
|
288
|
+
}, D = e.map((e, t) => {
|
|
289
289
|
let n = E(e);
|
|
290
290
|
if (p) {
|
|
291
291
|
let r = b(m, e, t), i = b(y, n, t);
|
|
@@ -293,6 +293,6 @@ function E(n, r, o) {
|
|
|
293
293
|
} else e.op === "setContent" && (m = e.content);
|
|
294
294
|
return n;
|
|
295
295
|
});
|
|
296
|
-
return C ? D :
|
|
296
|
+
return C ? D : e;
|
|
297
297
|
}
|
|
298
298
|
export { S as a, E as i, y as n, C as o, h as r, b as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nt as e, St as t, kt as n } from "./dist-DsA7NeIy.js";
|
|
2
2
|
// src/utils/preRenderCustomBlocks.ts
|
|
3
3
|
async function r(r, i) {
|
|
4
4
|
let a = async (r) => {
|
|
5
|
-
if (
|
|
5
|
+
if (t(r)) {
|
|
6
6
|
let e = r;
|
|
7
7
|
try {
|
|
8
8
|
e.renderedHtml = await i.renderCustomBlock(e);
|
|
@@ -12,7 +12,7 @@ async function r(r, i) {
|
|
|
12
12
|
let t = i.getCustomBlockStylesheet(e.customType);
|
|
13
13
|
t?.trim() ? e.renderedStylesheet = t : delete e.renderedStylesheet;
|
|
14
14
|
}
|
|
15
|
-
if (
|
|
15
|
+
if (n(r)) for (let e of r.children) for (let t of e) await a(t);
|
|
16
16
|
else if (e(r)) for (let e of r.children) await a(e);
|
|
17
17
|
};
|
|
18
18
|
for (let e of r.blocks) await a(e);
|
|
@@ -245,6 +245,9 @@ var e = {
|
|
|
245
245
|
ratio13: "Proporção 1:3",
|
|
246
246
|
ratio31: "Proporção 3:1",
|
|
247
247
|
ratio121: "Proporção 1:2:1",
|
|
248
|
+
columnsCustom: "Personalizado",
|
|
249
|
+
columnWidths: "Larguras das colunas",
|
|
250
|
+
columnWidthAria: "Largura da coluna {index}",
|
|
248
251
|
borderRadius: "Arredondamento das Bordas",
|
|
249
252
|
wrapperEnable: "Adicionar wrapper",
|
|
250
253
|
wrapperLayoutConflict: "Este editor já emoldura o e-mail. Um quadro extra nesta seção não é suportado — a visualização e a exportação falharão.",
|
|
@@ -344,6 +347,7 @@ var e = {
|
|
|
344
347
|
textColor: "Cor do Texto",
|
|
345
348
|
borderRadius: "Arredondamento das Bordas",
|
|
346
349
|
fontSize: "Tamanho da Fonte",
|
|
350
|
+
lineHeight: "Altura da Linha",
|
|
347
351
|
fontWeight: "Peso",
|
|
348
352
|
fontWeightRegular: "Comum",
|
|
349
353
|
fontWeightMedium: "Médio",
|
|
@@ -351,7 +355,8 @@ var e = {
|
|
|
351
355
|
width: "Largura",
|
|
352
356
|
widthAuto: "Ajustar ao conteúdo",
|
|
353
357
|
fullWidth: "Largura Total",
|
|
354
|
-
widthCustom: "Personalizada"
|
|
358
|
+
widthCustom: "Personalizada",
|
|
359
|
+
widthUnit: "Unidade de largura"
|
|
355
360
|
},
|
|
356
361
|
divider: {
|
|
357
362
|
style: "Estilo",
|
|
@@ -947,5 +952,3 @@ var e = {
|
|
|
947
952
|
}
|
|
948
953
|
};
|
|
949
954
|
export { e as default };
|
|
950
|
-
|
|
951
|
-
//# sourceMappingURL=pt-BR-eyzmU9Vs.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as i } from "./createLucideIcon-
|
|
1
|
+
import { Dt as e, d as t, f as n, h as r } from "./dist-DsA7NeIy.js";
|
|
2
|
+
import { t as i } from "./createLucideIcon-B6Zkn9r0.js";
|
|
3
3
|
var a = i({
|
|
4
4
|
name: "languages",
|
|
5
5
|
size: 24,
|
|
@@ -904,7 +904,7 @@ function et() {
|
|
|
904
904
|
z = Qe();
|
|
905
905
|
}, t;
|
|
906
906
|
}
|
|
907
|
-
var I = et(), tt = new Set(
|
|
907
|
+
var I = et(), tt = new Set(n), L = [...t], nt = RegExp(`^(?:(?:${r.join("|")}):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))`, "i"), R = [
|
|
908
908
|
"style",
|
|
909
909
|
"form",
|
|
910
910
|
"iframe",
|
|
@@ -950,9 +950,9 @@ var I = et(), tt = new Set(e), L = [...n], nt = RegExp(`^(?:(?:${t.join("|")}):|
|
|
|
950
950
|
FORBID_ATTR: L,
|
|
951
951
|
ALLOWED_URI_REGEXP: nt
|
|
952
952
|
};
|
|
953
|
-
I.isSupported && (I.addHook("uponSanitizeAttribute", (
|
|
954
|
-
let
|
|
955
|
-
|
|
953
|
+
I.isSupported && (I.addHook("uponSanitizeAttribute", (t, n) => {
|
|
954
|
+
let r = n.attrName.toLowerCase();
|
|
955
|
+
r === "contenteditable" ? t.getAttribute(n.attrName) === "false" ? n.forceKeepAttr = !0 : n.keepAttr = !1 : (r.startsWith("on") || r === "srcdoc" || tt.has(r) && !e(n.attrValue, r)) && (n.keepAttr = !1);
|
|
956
956
|
}), I.addHook("afterSanitizeAttributes", (e, t, n) => {
|
|
957
957
|
if (!n.CANVAS_LINKS || e.namespaceURI !== "http://www.w3.org/1999/xhtml" || e.nodeName.toLowerCase() !== "a" || e.getAttribute("target")?.toLowerCase() !== "_blank") return;
|
|
958
958
|
let r = (e.getAttribute("rel") ?? "").split(/\s+/).filter((e) => e && e.toLowerCase() !== "opener");
|