@templatical/editor 0.53.0 → 0.54.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/{AiChatPanel-DdhtfsmO.js → AiChatPanel-C8SeEJRP.js} +8 -8
- package/dist/{AiPanels-HBx7xoJR.js → AiPanels-CR6zphjP.js} +1 -1
- package/dist/{AiRewriteMenu-DPzSekZt.js → AiRewriteMenu-CIHUnPud.js} +6 -6
- package/dist/{BlockIssueBadge-eIXZJ9M3.js → BlockIssueBadge-DaPTq1RE.js} +2 -2
- package/dist/{BlockPreviewCanvas-DO-2TP_6.js → BlockPreviewCanvas-B70RSavL.js} +3 -3
- package/dist/{CloudPanels-i2kZdrdP.js → CloudPanels-VpSQiLLL.js} +3 -3
- package/dist/{CollaborationNotices-DANsjl7c.js → CollaborationNotices-Cnx0XHzZ.js} +1 -1
- package/dist/{CollaboratorBar-CbbAA0m1.js → CollaboratorBar-BaBoNhwB.js} +1 -1
- package/dist/{CommentsPanel-CYW3LWis.js → CommentsPanel-Ck3QmqiC.js} +1 -1
- package/dist/{CommentsSidebar-CcF4ISMi.js → CommentsSidebar-CHknhOar.js} +10 -10
- package/dist/{CountdownToolbar-D3Lv74kU.js → CountdownToolbar-CM4XNEuO.js} +3 -3
- package/dist/{IssuesPanel-BMAG9042.js → IssuesPanel-1wGV0wiy.js} +8 -8
- package/dist/{LanguageMenu-FlP_Jbup.js → LanguageMenu-d2GlX67r.js} +8 -8
- package/dist/{LocaleNotices-DAnVszWu.js → LocaleNotices-WzsYtBRs.js} +2 -2
- package/dist/{LogicTagInsertButton-BjYs-UQX.js → LogicTagInsertButton-DgTJ6Lvx.js} +3 -3
- package/dist/{MediaEditModal-LnG-cF_S.js → MediaEditModal-C3U9Mi31.js} +1 -1
- package/dist/{MediaPanels-C2r5fiFo.js → MediaPanels-CGmk9ufe.js} +1 -1
- package/dist/{MergeTagInput-BsnogCeY.js → MergeTagInput-B_51YcQO.js} +1 -1
- package/dist/{MergeTagModeToggle-DiufIQ-_.js → MergeTagModeToggle-D3Q2z317.js} +3 -3
- package/dist/{MergeTagTextarea-BweI-Xsi.js → MergeTagTextarea-DZz1L9DE.js} +2 -2
- package/dist/{ParagraphEditor-qgBp5yIB.js → ParagraphEditor-CI68PYDL.js} +12 -12
- package/dist/{RestoreVersionDialog-DdYUrFiK.js → RestoreVersionDialog-DcuhpOIz.js} +3 -3
- package/dist/{RichTextEditorContent-C5MAzx3E.js → RichTextEditorContent-Dstovi0m.js} +4 -4
- package/dist/{SaveBlockDialog-eK6fjtTy.js → SaveBlockDialog-vuwvoi-d.js} +7 -7
- package/dist/{SavedBlocksBrowserModal-D2QHd2Yp.js → SavedBlocksBrowserModal-DUJm0dOv.js} +9 -9
- package/dist/{SavedBlocksPanels-Cl61f4Mf.js → SavedBlocksPanels-BiMXQ5lY.js} +1 -1
- package/dist/{SavedBlocksPickBar-CXP2dkeB.js → SavedBlocksPickBar-CAstZfG7.js} +2 -2
- package/dist/{TemplateSettings-BKJrdZcH.js → TemplateSettings-Baar78_s.js} +6 -6
- package/dist/{TestEmailModal-DQotJg6g.js → TestEmailModal-Bl_GHdrN.js} +6 -6
- package/dist/{TestEmailPanel-CwiTzJsh.js → TestEmailPanel-CpTBF7B5.js} +1 -1
- package/dist/{TitleEditor-CzSvsPAn.js → TitleEditor-DkbEDAZB.js} +6 -6
- package/dist/{Toolbar-Cd75ci5W.js → Toolbar-bOZ_eq7X.js} +27 -27
- package/dist/{TplModal-ZoXu40T9.js → TplModal-wk2gLa7_.js} +1 -1
- package/dist/{VersionHistoryMenu-BvhN-Ofk.js → VersionHistoryMenu-BnP0EyLl.js} +5 -5
- package/dist/{VersionHistoryPanels-DPWMnYbd.js → VersionHistoryPanels-Cq2rFKIX.js} +1 -1
- package/dist/{VersionPreviewBanner-CuJnasxH.js → VersionPreviewBanner-BPP939cD.js} +1 -1
- package/dist/{WrapperBlock-D4fPwO0t.js → WrapperBlock-cWT_nZgQ.js} +2 -2
- package/dist/{blockTypeIcons-BXMxu86H.js → blockTypeIcons-BUyPZ7Su.js} +3 -3
- package/dist/bundle-stats.json +4 -4
- package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js → AiAltTextPopover-Cnc_kUmb.js} +2 -2
- package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js.map → AiAltTextPopover-Cnc_kUmb.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js → AiAltTextReview-DPeSY-7r.js} +2 -2
- package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js.map → AiAltTextReview-DPeSY-7r.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js → AiChatPanel-By8Uo1nH.js} +2 -2
- package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js.map → AiChatPanel-By8Uo1nH.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-BV5D1itk.js → AiPanels-BblCSkQy.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-BV5D1itk.js.map → AiPanels-BblCSkQy.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js → AiRewriteMenu-C4btyN4W.js} +6 -6
- package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js.map → AiRewriteMenu-C4btyN4W.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js → BlockIssueBadge-D3Plo_wt.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js.map → BlockIssueBadge-D3Plo_wt.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js → BlockPreviewCanvas-CTKmBPsq.js} +7 -7
- package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js.map → BlockPreviewCanvas-CTKmBPsq.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js → CloudPanels-COU26R83.js} +3 -3
- package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js.map → CloudPanels-COU26R83.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js → CollaborationNotices-DraFUhyo.js} +2 -2
- package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js.map → CollaborationNotices-DraFUhyo.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js → CollaboratorBar-0OEH3hrj.js} +2 -2
- package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js.map → CollaboratorBar-0OEH3hrj.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js → CommentsPanel-tZZswofV.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js.map → CommentsPanel-tZZswofV.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js → CommentsSidebar-7Hfl3Hdj.js} +2 -2
- package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js.map → CommentsSidebar-7Hfl3Hdj.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js → CountdownToolbar-CNgsNL5-.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js.map → CountdownToolbar-CNgsNL5-.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js → IssuesPanel-Duic0mIs.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js.map → IssuesPanel-Duic0mIs.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js → LanguageMenu-B1Aue_lf.js} +11 -11
- package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js.map → LanguageMenu-B1Aue_lf.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js → LocaleNotices-8J2DRWeg.js} +2 -2
- package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js.map → LocaleNotices-8J2DRWeg.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js → LogicTagInsertButton-Bhvi0nWz.js} +5 -5
- package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js.map → LogicTagInsertButton-Bhvi0nWz.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js → MediaEditModal-Dz972UFx.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js.map → MediaEditModal-Dz972UFx.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js → MediaPanels-C6Hqtp1H.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js.map → MediaPanels-C6Hqtp1H.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js → MergeTagInput-CrhZm-AW.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js.map → MergeTagInput-CrhZm-AW.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js → MergeTagModeToggle-CWVtXLYa.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js.map → MergeTagModeToggle-CWVtXLYa.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js → MergeTagTextarea-hTIBwX0F.js} +7 -7
- package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js.map → MergeTagTextarea-hTIBwX0F.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DDolH_Pf.js → ParagraphEditor-B2UU1Q5I.js} +15 -15
- package/dist/cdn/chunks/{ParagraphEditor-DDolH_Pf.js.map → ParagraphEditor-B2UU1Q5I.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js → RestoreVersionDialog-C1Y5Ewo_.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js.map → RestoreVersionDialog-C1Y5Ewo_.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js → RichTextEditorContent-up4AqL7D.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js.map → RichTextEditorContent-up4AqL7D.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js → SaveBlockDialog-B9lwEP_T.js} +6 -6
- package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js.map → SaveBlockDialog-B9lwEP_T.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js → SavedBlocksBrowserModal-fAeHUyxb.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js.map → SavedBlocksBrowserModal-fAeHUyxb.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js → SavedBlocksPanels-DRDTLDyZ.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js.map → SavedBlocksPanels-DRDTLDyZ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js → SavedBlocksPickBar-B6b5z-o3.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js.map → SavedBlocksPickBar-B6b5z-o3.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js → TemplateSettings-CWUpUKJb.js} +6 -6
- package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js.map → TemplateSettings-CWUpUKJb.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js → TestEmailModal-DQxnW5Q5.js} +7 -7
- package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js.map → TestEmailModal-DQxnW5Q5.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js → TestEmailPanel-BcO_-16H.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js.map → TestEmailPanel-BcO_-16H.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Bv3SmSO6.js → TitleEditor-pmycpmTd.js} +5 -5
- package/dist/cdn/chunks/{TitleEditor-Bv3SmSO6.js.map → TitleEditor-pmycpmTd.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js → Toolbar-BlWVQRcA.js} +571 -571
- package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js.map → Toolbar-BlWVQRcA.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-DDDUDMYC.js → TplModal-ClSSGX7a.js} +2 -2
- package/dist/cdn/chunks/{TplModal-DDDUDMYC.js.map → TplModal-ClSSGX7a.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js → VersionHistoryMenu-CZury5gU.js} +4 -4
- package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js.map → VersionHistoryMenu-CZury5gU.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js → VersionHistoryPanels-B8GPBKMq.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js.map → VersionHistoryPanels-B8GPBKMq.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js → VersionPreviewBanner-C4Ji8nu4.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js.map → VersionPreviewBanner-C4Ji8nu4.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js → WrapperBlock-BoUflYwY.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js.map → WrapperBlock-BoUflYwY.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js → blockTypeIcons-Cc6RJ27V.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js.map → blockTypeIcons-Cc6RJ27V.js.map} +1 -1
- package/dist/cdn/chunks/{composables-D0UYam2P.js → composables-C1KU4ZHw.js} +117 -117
- package/dist/cdn/chunks/{composables-D0UYam2P.js.map → composables-C1KU4ZHw.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js → createCloudRuntime-C2Zs5F1O.js} +3 -3
- package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js.map → createCloudRuntime-C2Zs5F1O.js.map} +1 -1
- package/dist/cdn/chunks/{editor-modal-CPbgthOv.js → editor-modal-erQEOHZN.js} +90 -90
- package/dist/cdn/chunks/{editor-modal-CPbgthOv.js.map → editor-modal-erQEOHZN.js.map} +1 -1
- package/dist/cdn/chunks/en-B6tLGRHq.js +1 -0
- package/dist/cdn/chunks/{extensions-Uh9vuFfK.js → extensions-DcMKZpzh.js} +4 -4
- package/dist/cdn/chunks/{extensions-Uh9vuFfK.js.map → extensions-DcMKZpzh.js.map} +1 -1
- package/dist/cdn/chunks/{icons-CSSMtbGK.js → icons-Da9GKjPx.js} +42 -42
- package/dist/cdn/chunks/{icons-CSSMtbGK.js.map → icons-Da9GKjPx.js.map} +1 -1
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js → normalizeMergeTagMarkup-cC32Ox6A.js} +23 -23
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js.map → normalizeMergeTagMarkup-cC32Ox6A.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js → preRenderCustomBlocks-f7GEKdvw.js} +4 -4
- package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js.map → preRenderCustomBlocks-f7GEKdvw.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js → sanitizeHtml-WTfz9lZd.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js.map → sanitizeHtml-WTfz9lZd.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js → socialIcons-DeCYorUT.js} +493 -493
- package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js.map → socialIcons-DeCYorUT.js.map} +1 -1
- package/dist/cdn/chunks/{src-DheBmnvF.js → src-A_cKeTM_.js} +263 -263
- package/dist/cdn/chunks/{src-DheBmnvF.js.map → src-A_cKeTM_.js.map} +1 -1
- package/dist/cdn/chunks/{src-CACM3o--.js → src-BQUv2CYU.js} +152 -152
- package/dist/cdn/chunks/{src-CACM3o--.js.map → src-BQUv2CYU.js.map} +1 -1
- package/dist/cdn/chunks/{src-Ddpm4HsS.js → src-BWX_xVxO.js} +237 -179
- package/dist/cdn/chunks/src-BWX_xVxO.js.map +1 -0
- package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-yXbRKNrs.js.map → useLocalizedDisplay-aGfnO90D.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js → useLogicTag-DtYe8HIq.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js.map → useLogicTag-DtYe8HIq.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js → useMergeTag-B8ULmsnp.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js.map → useMergeTag-B8ULmsnp.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js → withCurrentFont-MK8ga9q9.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js.map → withCurrentFont-MK8ga9q9.js.map} +1 -1
- package/dist/cdn/editor.js +262 -262
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ChQ0l8EQ.js → check-XMnOOIEC.js} +1 -1
- package/dist/{chevron-down-Bh6cp6PI.js → chevron-down-DmamTEWQ.js} +1 -1
- package/dist/{chevron-right-LUgdqdoW.js → chevron-right-BEFXOH27.js} +1 -1
- package/dist/{chevron-up-XsDeJxQN.js → chevron-up-Dw7woXj8.js} +1 -1
- package/dist/{circle-alert-lODfDsrj.js → circle-alert-BTKC9vkq.js} +1 -1
- package/dist/{clock-DrqFEZkT.js → clock-BVT5u2uG.js} +1 -1
- package/dist/{composables-BOP3ERRP.js → composables-CMIrGXJ1.js} +13 -13
- package/dist/{createLucideIcon-Dw5e5gVE.js → createLucideIcon-CgDE3xAR.js} +5 -5
- package/dist/{editor-modal-B_2EAOjN.js → editor-modal-BeX6otLk.js} +15 -15
- package/dist/en-Do0SU6tR.js +1 -0
- package/dist/{extensions-DOLZkLzV.js → extensions-BJ184osp.js} +1 -1
- package/dist/{eye-DChfk0gi.js → eye-ByMgHeA_.js} +1 -1
- package/dist/{image--Hj2by1G.js → image-Ch8tR35K.js} +1 -1
- package/dist/{info-BbXgy82f.js → info-DzSD-Wpk.js} +1 -1
- package/dist/{link-C2_8yJno.js → link-oDn9AR2w.js} +1 -1
- package/dist/{list-DLGs2n0V.js → list-C5t07dp8.js} +1 -1
- package/dist/{loader-circle-BbDItE_O.js → loader-circle-k6xvKgUB.js} +1 -1
- package/dist/{message-circle-NAModq0p.js → message-circle-C23R6OJR.js} +1 -1
- package/dist/{package-BuzsfRyH.js → package-C90eQ7NU.js} +1 -1
- package/dist/{pencil-BTUUECH4.js → pencil-BK7GrQuA.js} +1 -1
- package/dist/{plus-Dm7DN65T.js → plus-Cr0Mis63.js} +1 -1
- package/dist/{refresh-cw-xMURqGWi.js → refresh-cw-_ZLOIEvA.js} +1 -1
- package/dist/{rotate-ccw-DqVcEIn5.js → rotate-ccw-CB5wsHwv.js} +1 -1
- package/dist/{sanitizeHtml-mKgNUdME.js → sanitizeHtml-2rjV0r-6.js} +1 -1
- package/dist/{search-Cfr3W44N.js → search-BmrQNox8.js} +1 -1
- package/dist/{send-CH1SrvyB.js → send-blAsIBBg.js} +1 -1
- package/dist/{smartphone-pAkvzjdI.js → smartphone-BPpWYrwV.js} +1 -1
- package/dist/{socialIcons-Dqr4DJOz.js → socialIcons-TFiOkpoU.js} +3 -3
- package/dist/{sparkles-CRO0cCnp.js → sparkles-OqIxrNp-.js} +1 -1
- package/dist/{square-CaQWMntx.js → square-BP-V7iT-.js} +1 -1
- package/dist/templatical-editor.js +29 -29
- package/dist/{text-align-start-BQ39AaRK.js → text-align-start-4mwX2o-F.js} +13 -13
- package/dist/{trash-BL5gEFHN.js → trash-B99WixTA.js} +1 -1
- package/dist/{triangle-alert-BYbKu7zZ.js → triangle-alert-CHMiDkHa.js} +1 -1
- package/dist/{upload-BhmL4Vqx.js → upload-Cp8o-hrN.js} +1 -1
- package/dist/{useScrollToBlock-C0Kapxdh.js → useScrollToBlock-B35ObCGK.js} +1 -1
- package/dist/{x-B7NZYzhx.js → x-BIBStNMS.js} +1 -1
- package/package.json +8 -8
- package/dist/cdn/chunks/en-IYVryJRl.js +0 -1
- package/dist/cdn/chunks/src-Ddpm4HsS.js.map +0 -1
- package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +0 -33
- package/dist/en-DTtwco2Q.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as e, Ct as t, Dt as n, Et as r,
|
|
1
|
+
import { A as e, Ct as t, Dt as n, Et as r, O as i, Ot as a, Q as o, Rt as s, Tt as c, Yt as l, _n as u, _t as d, b as f, bn as p, bt as m, ct as h, fn as g, gn as _, gt as v, hn as y, ht as b, k as ee, nn as te, ot as x, pt as S, rt as C, sn as ne, vn as w, vt as re, wt as ie, x as ae, xt as T, y as oe, yn as se, yt as ce } from "./src-BQUv2CYU.js";
|
|
2
2
|
// ../renderer/src/render-context.ts
|
|
3
3
|
var E = `https://cdn.jsdelivr.net/npm/@templatical/renderer@${{
|
|
4
4
|
name: "@templatical/renderer",
|
|
5
5
|
description: "Render Templatical email templates to MJML",
|
|
6
|
-
version: "0.
|
|
6
|
+
version: "0.54.0",
|
|
7
7
|
bugs: "https://github.com/templatical/sdk/issues",
|
|
8
8
|
dependencies: { "@templatical/types": "workspace:*" },
|
|
9
9
|
devDependencies: {
|
|
@@ -74,82 +74,82 @@ function O(e) {
|
|
|
74
74
|
return t ? !t.desktop && !t.mobile : !1;
|
|
75
75
|
}
|
|
76
76
|
function k(e, t = []) {
|
|
77
|
-
let n = [
|
|
77
|
+
let n = [le(e), ...t].filter((e) => e !== "").join(" ");
|
|
78
78
|
return n === "" ? "" : ` css-class="${n}"`;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function le(e) {
|
|
81
81
|
let t = e.visibility;
|
|
82
82
|
if (!t) return "";
|
|
83
83
|
let n = [];
|
|
84
84
|
return t.desktop || n.push("tpl-hide-desktop"), t.mobile || n.push("tpl-hide-mobile"), n.join(" ");
|
|
85
85
|
}
|
|
86
86
|
// ../renderer/src/unrenderable.ts
|
|
87
|
-
var
|
|
88
|
-
function
|
|
87
|
+
var ue = "templatical:unrenderable-block";
|
|
88
|
+
function de(e) {
|
|
89
89
|
return e.replace(/[<>]/g, "").replace(/-{2,}/g, "-");
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return console.warn(`[Templatical] No renderer for block type "${e.type}" (id: ${e.id}). A placeholder comment was emitted in its place. Pass a \`blockRenderers\` entry for this type to render it.`), `<mj-raw><!-- ${
|
|
91
|
+
function A(e) {
|
|
92
|
+
return console.warn(`[Templatical] No renderer for block type "${e.type}" (id: ${e.id}). A placeholder comment was emitted in its place. Pass a \`blockRenderers\` entry for this type to render it.`), `<mj-raw><!-- ${ue} type="${de(e.type)}" id="${de(e.id)}" --></mj-raw>`;
|
|
93
93
|
}
|
|
94
94
|
// ../renderer/src/escape.ts
|
|
95
|
-
var
|
|
95
|
+
var j = {
|
|
96
96
|
"&": "&",
|
|
97
97
|
"<": "<",
|
|
98
98
|
">": ">",
|
|
99
99
|
"\"": """,
|
|
100
100
|
"'": "'"
|
|
101
|
-
},
|
|
102
|
-
function
|
|
103
|
-
return e === "" ? "" : e.replace(
|
|
101
|
+
}, M = /[&<>"']/g;
|
|
102
|
+
function N(e) {
|
|
103
|
+
return e === "" ? "" : e.replace(M, (e) => j[e] ?? e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return e === "" ? "" : e.replace(
|
|
105
|
+
function P(e) {
|
|
106
|
+
return e === "" ? "" : e.replace(M, (e) => j[e] ?? e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return e === "" ? "" :
|
|
108
|
+
function F(e) {
|
|
109
|
+
return e === "" ? "" : P(e).replace(/[;{}\r\n]/g, "");
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
113
|
-
return e.replace(
|
|
111
|
+
var fe = /[&<>"]/g;
|
|
112
|
+
function I(e) {
|
|
113
|
+
return e.replace(fe, (e) => j[e] ?? e);
|
|
114
114
|
}
|
|
115
115
|
// ../renderer/src/padding.ts
|
|
116
|
-
function
|
|
116
|
+
function L(e) {
|
|
117
117
|
return `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`;
|
|
118
118
|
}
|
|
119
119
|
// ../renderer/src/utils.ts
|
|
120
|
-
function
|
|
120
|
+
function R(e, t) {
|
|
121
121
|
return e ? ` ${t === "native" ? "background-color" : "container-background-color"}="${e}"` : "";
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function pe(e) {
|
|
124
124
|
return typeof e != "number" || !Number.isFinite(e) || e <= 0 ? "" : ` height="${e}px"`;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
let n = (e) => Math.trunc(e ?? 0), r = (e) =>
|
|
126
|
+
function z(e, t) {
|
|
127
|
+
let n = (e) => Math.trunc(e ?? 0), r = (e) => w(e) === null ? 0 : Math.trunc(e.width);
|
|
128
128
|
return n(e?.left) + n(e?.right) + r(t?.left) + r(t?.right);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
let n = Math.floor(t.contentWidth) -
|
|
130
|
+
function B(e, t) {
|
|
131
|
+
let n = Math.floor(t.contentWidth) - z(e.styles.padding, e.border);
|
|
132
132
|
return e.width === "full" || e.width >= n ? " fluid-on-mobile=\"true\"" : "";
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return Object.entries(
|
|
134
|
+
function V(e) {
|
|
135
|
+
return Object.entries(se(e)).map(([e, t]) => ` ${e}="${F(t)}"`).join("");
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
let t =
|
|
137
|
+
function H(e) {
|
|
138
|
+
let t = p(e);
|
|
139
139
|
return t === null ? "" : ` border-radius="${t}"`;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
let t =
|
|
143
|
-
return t === null ? "" : ` background-url="${
|
|
141
|
+
function U(e) {
|
|
142
|
+
let t = g(e);
|
|
143
|
+
return t === null ? "" : ` background-url="${P(t.url)}" background-size="${t.size}" background-position="${t.position}" background-repeat="${t.repeat}"`;
|
|
144
144
|
}
|
|
145
145
|
// ../renderer/src/rich-text.ts
|
|
146
|
-
var
|
|
147
|
-
function
|
|
148
|
-
return `${
|
|
146
|
+
var W = "tpl-rich-text";
|
|
147
|
+
function G(e) {
|
|
148
|
+
return `${W}-${e}`;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
let n =
|
|
152
|
-
let t = `.${
|
|
150
|
+
function me(e, t = "ltr") {
|
|
151
|
+
let n = _, r = `.${W}`, i = [...new Set(e)].sort((e, t) => e - t).flatMap((e) => {
|
|
152
|
+
let t = `.${G(e)}`;
|
|
153
153
|
return [`${t} p { margin: 0 0 ${e}px; }`, `${t} p:last-child { margin-bottom: 0; }`];
|
|
154
154
|
}), a = t === "rtl" ? "padding-right" : "padding-left";
|
|
155
155
|
return [
|
|
@@ -158,118 +158,176 @@ function ue(e, t = "ltr") {
|
|
|
158
158
|
`${r} li { margin: ${n.listItemMarginY}px 0; }`
|
|
159
159
|
].join("\n ");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return e ??
|
|
161
|
+
function K(e) {
|
|
162
|
+
return e ?? _.paragraphGap;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
let t = [
|
|
166
|
-
if (e.type === "paragraph" && t.push(
|
|
167
|
-
else if (
|
|
164
|
+
function he(e) {
|
|
165
|
+
let t = [_.paragraphGap], n = (e) => {
|
|
166
|
+
if (e.type === "paragraph" && t.push(K(e.paragraphSpacing)), T(e)) for (let t of e.children) for (let e of t) n(e);
|
|
167
|
+
else if (a(e)) for (let t of e.children) n(t);
|
|
168
168
|
};
|
|
169
|
-
for (let t of e)
|
|
169
|
+
for (let t of e) n(t);
|
|
170
170
|
return t;
|
|
171
171
|
}
|
|
172
|
+
var ge = {
|
|
173
|
+
apos: "'",
|
|
174
|
+
quot: "\"",
|
|
175
|
+
nbsp: "\xA0"
|
|
176
|
+
}, _e = /&(?:#(\d+)|#x([0-9a-f]+)|(apos|quot|nbsp));/gi, ve = /[a-z]/i, q = /[ \t\n\f\r]/;
|
|
177
|
+
function ye(e, t, n, r, i) {
|
|
178
|
+
let a;
|
|
179
|
+
if (i !== void 0) a = ge[i.toLowerCase()];
|
|
180
|
+
else {
|
|
181
|
+
let t = Number(n ?? `0x${r}`);
|
|
182
|
+
if (!(t > 0 && t <= 1114111 && !(t >= 55296 && t <= 57343))) return e;
|
|
183
|
+
a = String.fromCodePoint(t);
|
|
184
|
+
}
|
|
185
|
+
return a === "&" ? "&" : a === "<" || a === ">" ? e : a === t ? t === "\"" ? "'" : "\"" : a;
|
|
186
|
+
}
|
|
187
|
+
function be(e) {
|
|
188
|
+
let t = 1;
|
|
189
|
+
for (; t < e.length && !q.test(e[t]) && e[t] !== "/";) t++;
|
|
190
|
+
for (; t < e.length;) {
|
|
191
|
+
for (; t < e.length && (q.test(e[t]) || e[t] === "/");) t++;
|
|
192
|
+
let n = t;
|
|
193
|
+
for (; t < e.length && !/[\s=/]/.test(e[t]);) t++;
|
|
194
|
+
let r = e.slice(n, t).toLowerCase();
|
|
195
|
+
if (r === "") {
|
|
196
|
+
t++;
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
for (; t < e.length && q.test(e[t]);) t++;
|
|
200
|
+
if (e[t] !== "=") continue;
|
|
201
|
+
for (t++; t < e.length && q.test(e[t]);) t++;
|
|
202
|
+
let i = e[t];
|
|
203
|
+
if (i === "\"" || i === "'") {
|
|
204
|
+
let n = e.indexOf(i, t + 1);
|
|
205
|
+
if (n === -1) return e;
|
|
206
|
+
if (r === "style") {
|
|
207
|
+
let r = e.slice(t + 1, n).replace(_e, (e, t, n, r) => ye(e, i, t, n, r));
|
|
208
|
+
return `${e.slice(0, t + 1)}${r}${e.slice(n)}`;
|
|
209
|
+
}
|
|
210
|
+
t = n + 1;
|
|
211
|
+
} else for (; t < e.length && !q.test(e[t]);) t++;
|
|
212
|
+
}
|
|
213
|
+
return e;
|
|
214
|
+
}
|
|
215
|
+
function J(e) {
|
|
216
|
+
if (!e.includes("&")) return e;
|
|
217
|
+
let t = "", n = 0, r = e.indexOf("<");
|
|
218
|
+
for (; r !== -1;) {
|
|
219
|
+
if (!ve.test(e.charAt(r + 1))) {
|
|
220
|
+
r = e.indexOf("<", r + 1);
|
|
221
|
+
continue;
|
|
222
|
+
}
|
|
223
|
+
let i = x(e, r + 1);
|
|
224
|
+
if (i === -1) break;
|
|
225
|
+
let a = e.slice(r, i), o = be(a);
|
|
226
|
+
o !== a && (t += e.slice(n, r) + o, n = i), r = e.indexOf("<", i);
|
|
227
|
+
}
|
|
228
|
+
return t + e.slice(n);
|
|
229
|
+
}
|
|
172
230
|
// ../renderer/src/renderers/title.ts
|
|
173
|
-
function
|
|
231
|
+
function xe(e, t) {
|
|
174
232
|
if (O(e)) return "";
|
|
175
|
-
let n =
|
|
233
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = Se(J(f(C(e.content)))), a = y[e.level] ?? y[2], o = e.color ? `\n color="${P(e.color)}"` : "", s = e.textAlign, c = Ce(e.fontFamily, t), l = k(e, [W, G(K(void 0))]), d = `h${y[e.level] ? e.level : 2}`;
|
|
176
234
|
return `<mj-text
|
|
177
235
|
font-size="${a}px"${o}
|
|
178
236
|
align="${s}"
|
|
179
|
-
line-height="${
|
|
237
|
+
line-height="${u}"
|
|
180
238
|
padding="${n}"${r}${c}${l}
|
|
181
|
-
><${
|
|
239
|
+
><${d} style="margin:0;font-size:inherit;color:inherit;line-height:inherit;font-weight:700">${i}</${d}></mj-text>`;
|
|
182
240
|
}
|
|
183
|
-
function
|
|
241
|
+
function Se(e) {
|
|
184
242
|
let t = e.match(/^\s*<p\b[^>]*>([\s\S]*)<\/p>\s*$/);
|
|
185
243
|
return !t || /<\/p>\s*<p\b/i.test(t[1]) ? e : t[1];
|
|
186
244
|
}
|
|
187
|
-
function
|
|
188
|
-
return e ? ` font-family="${
|
|
245
|
+
function Ce(e, t) {
|
|
246
|
+
return e ? ` font-family="${I(t.resolveFontFamily(e))}"` : "";
|
|
189
247
|
}
|
|
190
248
|
// ../renderer/src/renderers/paragraph.ts
|
|
191
|
-
function
|
|
249
|
+
function we(e, t) {
|
|
192
250
|
if (O(e) || ae(e.content)) return "";
|
|
193
|
-
let n =
|
|
251
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = J(f(C(e.content))), a = k(e, [W, G(K(e.paragraphSpacing))]);
|
|
194
252
|
return `<mj-text
|
|
195
253
|
line-height="1.5"${t.contentDirection === "rtl" ? "\n align=\"right\"" : ""}
|
|
196
254
|
padding="${n}"${r}${a}
|
|
197
255
|
>${i}</mj-text>`;
|
|
198
256
|
}
|
|
199
257
|
// ../renderer/src/renderers/image.ts
|
|
200
|
-
function
|
|
258
|
+
function Te(e, t) {
|
|
201
259
|
if (O(e) || e.src === "") return "";
|
|
202
|
-
let n =
|
|
203
|
-
e.linkUrl && (u = ` href="${
|
|
204
|
-
let d =
|
|
260
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = e.width === "full" ? t.containerWidth + "px" : e.width + "px", a = pe(e.height), o = B(e, t), s = k(e), c = H(e.borderRadius), l = V(e.border), u = "";
|
|
261
|
+
e.linkUrl && (u = ` href="${P(e.linkUrl)}"`, e.linkOpenInNewTab && (u += " target=\"_blank\" rel=\"noopener\""));
|
|
262
|
+
let d = P(e.src), f = e.decorative === !0;
|
|
205
263
|
return `<mj-image
|
|
206
264
|
src="${d}"
|
|
207
|
-
alt="${f ? "" :
|
|
265
|
+
alt="${f ? "" : P(e.alt)}"
|
|
208
266
|
width="${i}"${a}${o}
|
|
209
267
|
align="${e.align}"
|
|
210
268
|
padding="${n}"${r}${l}${c}${u}${s}${f ? " role=\"presentation\"" : ""}
|
|
211
269
|
/>`;
|
|
212
270
|
}
|
|
213
271
|
// ../renderer/src/renderers/button.ts
|
|
214
|
-
var
|
|
215
|
-
function
|
|
272
|
+
var Y = "tpl-button-full";
|
|
273
|
+
function Ee(e, t) {
|
|
216
274
|
if (O(e)) return "";
|
|
217
|
-
let n =
|
|
275
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = L(e.buttonPadding), a = e.url === "" ? "" : P(e.url), o = a === "" ? "" : ` href="${a}"`, s = De(e.backgroundColor), c = P(e.textColor), l = e.fontSize, u = ke(e.borderRadius), d = N(e.text), f = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", p = Oe(e.fontFamily, t), m = Ae(e.width), h = k(e, e.width === "full" ? [Y] : []);
|
|
218
276
|
return `<mj-button${o}${f}
|
|
219
277
|
background-color="${s}"
|
|
220
278
|
color="${c}"
|
|
221
279
|
font-size="${l}px"
|
|
222
280
|
font-weight="bold"
|
|
223
|
-
border-radius="${u}"${
|
|
281
|
+
border-radius="${u}"${V(e.border)}
|
|
224
282
|
inner-padding="${i}"
|
|
225
283
|
align="${e.align ?? "center"}"
|
|
226
284
|
padding="${n}"${r}${p}${m}${h}
|
|
227
285
|
>${d}</mj-button>`;
|
|
228
286
|
}
|
|
229
|
-
function
|
|
230
|
-
return e.trim() === "" ? "transparent" :
|
|
287
|
+
function De(e) {
|
|
288
|
+
return e.trim() === "" ? "transparent" : P(e);
|
|
231
289
|
}
|
|
232
|
-
function
|
|
233
|
-
return e ? ` font-family="${
|
|
290
|
+
function Oe(e, t) {
|
|
291
|
+
return e ? ` font-family="${I(t.resolveFontFamily(e))}"` : "";
|
|
234
292
|
}
|
|
235
|
-
function
|
|
236
|
-
return typeof e == "number" ? `${e}px` :
|
|
293
|
+
function ke(e) {
|
|
294
|
+
return typeof e == "number" ? `${e}px` : p(e) ?? "0px";
|
|
237
295
|
}
|
|
238
|
-
function
|
|
296
|
+
function Ae(e) {
|
|
239
297
|
return e === void 0 ? "" : ` width="${e === "full" ? "100%" : `${e}px`}"`;
|
|
240
298
|
}
|
|
241
299
|
// ../renderer/src/renderers/divider.ts
|
|
242
|
-
function
|
|
300
|
+
function je(e, t) {
|
|
243
301
|
if (O(e)) return "";
|
|
244
|
-
let n =
|
|
302
|
+
let n = L(e.styles.padding), r = e.styles.backgroundColor ? ` container-background-color="${P(e.styles.backgroundColor)}"` : "", i = e.width === "full" ? "100%" : typeof e.width == "number" ? `${e.width}px` : e.width;
|
|
245
303
|
return `<mj-divider
|
|
246
304
|
border-width="${e.thickness}px"
|
|
247
305
|
border-style="${e.lineStyle}"
|
|
248
|
-
border-color="${
|
|
306
|
+
border-color="${P(e.color)}"
|
|
249
307
|
width="${i}"
|
|
250
308
|
padding="${n}"${r}${k(e)}
|
|
251
309
|
/>`;
|
|
252
310
|
}
|
|
253
311
|
// ../renderer/src/renderers/spacer.ts
|
|
254
|
-
function
|
|
255
|
-
return O(e) ? "" : `<mj-spacer height="${e.height}px" padding="0"${e.styles.backgroundColor ? ` container-background-color="${
|
|
312
|
+
function Me(e, t) {
|
|
313
|
+
return O(e) ? "" : `<mj-spacer height="${e.height}px" padding="0"${e.styles.backgroundColor ? ` container-background-color="${P(e.styles.backgroundColor)}"` : ""}${k(e)} />`;
|
|
256
314
|
}
|
|
257
315
|
// ../renderer/src/renderers/html.ts
|
|
258
|
-
function
|
|
316
|
+
function Ne(e, t) {
|
|
259
317
|
if (O(e) || !t.allowHtmlBlocks) return "";
|
|
260
318
|
let n = e.content;
|
|
261
319
|
if (n === "") return "";
|
|
262
320
|
let r = k(e);
|
|
263
|
-
return `<mj-text padding="${
|
|
321
|
+
return `<mj-text padding="${L(e.styles.padding)}"${R(e.styles.backgroundColor, "container")}${r}>
|
|
264
322
|
${n}
|
|
265
323
|
</mj-text>`;
|
|
266
324
|
}
|
|
267
325
|
// ../renderer/src/renderers/social.ts
|
|
268
|
-
function
|
|
326
|
+
function Pe(e, t) {
|
|
269
327
|
if (O(e)) return "";
|
|
270
328
|
let n = e.icons;
|
|
271
329
|
if (n.length === 0) return "";
|
|
272
|
-
let r =
|
|
330
|
+
let r = L(e.styles.padding), i = e.styles.backgroundColor ? ` container-background-color="${P(e.styles.backgroundColor)}"` : "", a = k(e), o = e.align, s = e.iconSize, c = e.iconStyle, l = te(c, e.iconTone), u = e.spacing, d;
|
|
273
331
|
switch (s) {
|
|
274
332
|
case "small":
|
|
275
333
|
d = 24;
|
|
@@ -300,79 +358,79 @@ function Te(e, t) {
|
|
|
300
358
|
padding="${r}"${i}${a}
|
|
301
359
|
>
|
|
302
360
|
${n.map((e, n) => {
|
|
303
|
-
let r = e.platform, i =
|
|
361
|
+
let r = e.platform, i = P(e.url), a = `${t.socialIconsBaseUrl}/${l}/${r}.png`, o = n === p - 1 ? 0 : u;
|
|
304
362
|
return `<mj-social-element src="${a}" href="${i}" icon-size="${d}px" padding="0 ${o}px 0 0" border-radius="${f}" background-color="transparent"></mj-social-element>`;
|
|
305
363
|
}).join("\n")}
|
|
306
364
|
</mj-social>`;
|
|
307
365
|
}
|
|
308
366
|
// ../renderer/src/renderers/menu.ts
|
|
309
|
-
function
|
|
367
|
+
function Fe(e, t) {
|
|
310
368
|
if (O(e) || e.items.length === 0) return "";
|
|
311
|
-
let n =
|
|
369
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = k(e), a = Re(e.fontFamily, t), o = e.textAlign;
|
|
312
370
|
return `<mj-text
|
|
313
|
-
font-size="${e.fontSize}px"${e.color ? `\n color="${
|
|
371
|
+
font-size="${e.fontSize}px"${e.color ? `\n color="${P(e.color)}"` : ""}
|
|
314
372
|
align="${o}"
|
|
315
373
|
line-height="1.5"
|
|
316
374
|
padding="${n}"${r}${a}${i}
|
|
317
|
-
>${
|
|
375
|
+
>${Ie(e)}</mj-text>`;
|
|
318
376
|
}
|
|
319
|
-
function
|
|
320
|
-
let t = e.items, n =
|
|
321
|
-
for (let e = 0; e < s; e++) o.push(
|
|
377
|
+
function Ie(e) {
|
|
378
|
+
let t = e.items, n = N(e.separator), r = F(e.separatorColor), i = e.spacing, a = e.linkColor ?? e.color, o = [], s = t.length;
|
|
379
|
+
for (let e = 0; e < s; e++) o.push(Le(t[e], a)), e < s - 1 && o.push(`<span style="color: ${r}; padding: 0 ${i}px;">${n}</span>`);
|
|
322
380
|
return o.join("");
|
|
323
381
|
}
|
|
324
|
-
function
|
|
325
|
-
let n =
|
|
326
|
-
return i && o.unshift(`color: ${
|
|
382
|
+
function Le(e, t) {
|
|
383
|
+
let n = N(e.text), r = P(e.url), i = e.color ?? t, a = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", o = ["text-decoration: none"];
|
|
384
|
+
return i && o.unshift(`color: ${F(i)}`), e.bold && o.push("font-weight: bold"), e.underline && o.push("text-decoration: underline"), `<a href="${r}" style="${o.join("; ")}"${a}>${n}</a>`;
|
|
327
385
|
}
|
|
328
|
-
function
|
|
329
|
-
return e ? ` font-family="${
|
|
386
|
+
function Re(e, t) {
|
|
387
|
+
return e ? ` font-family="${I(t.resolveFontFamily(e))}"` : "";
|
|
330
388
|
}
|
|
331
389
|
// ../renderer/src/renderers/table.ts
|
|
332
|
-
function
|
|
390
|
+
function ze(e, t) {
|
|
333
391
|
if (O(e) || e.rows.length === 0) return "";
|
|
334
|
-
let n =
|
|
392
|
+
let n = L(e.styles.padding), r = R(e.styles.backgroundColor, "container"), i = k(e), a = Ue(e.fontFamily, t);
|
|
335
393
|
return `<mj-text
|
|
336
|
-
font-size="${e.fontSize}px"${e.color ? `\n color="${
|
|
394
|
+
font-size="${e.fontSize}px"${e.color ? `\n color="${P(e.color)}"` : ""}
|
|
337
395
|
align="${e.textAlign}"
|
|
338
396
|
line-height="1.5"
|
|
339
397
|
padding="${n}"${r}${a}${i}
|
|
340
|
-
>${
|
|
398
|
+
>${Be(e)}</mj-text>`;
|
|
341
399
|
}
|
|
342
|
-
function
|
|
343
|
-
let t =
|
|
400
|
+
function Be(e) {
|
|
401
|
+
let t = F(e.borderColor), n = e.borderWidth, r = "";
|
|
344
402
|
for (let i = 0; i < e.rows.length; i++) {
|
|
345
403
|
let a = e.rows[i];
|
|
346
|
-
r +=
|
|
404
|
+
r += Ve(a, e, e.hasHeaderRow && i === 0, t, n);
|
|
347
405
|
}
|
|
348
406
|
return `<table style="width: 100%; border-collapse: collapse;">${r}</table>`;
|
|
349
407
|
}
|
|
350
|
-
function
|
|
408
|
+
function Ve(e, t, n, r, i) {
|
|
351
409
|
let a = "";
|
|
352
|
-
for (let o of e.cells) a +=
|
|
410
|
+
for (let o of e.cells) a += He(o, t, n, r, i);
|
|
353
411
|
return `<tr>${a}</tr>`;
|
|
354
412
|
}
|
|
355
|
-
function
|
|
413
|
+
function He(e, t, n, r, i) {
|
|
356
414
|
let a = t.cellPadding, o = [`border: ${i}px solid ${r}`, `padding: ${a}px`];
|
|
357
|
-
n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${
|
|
358
|
-
let s = o.join("; "), c =
|
|
415
|
+
n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${F(t.headerBackgroundColor)}`));
|
|
416
|
+
let s = o.join("; "), c = N(C(e.content)), l = n ? "th" : "td";
|
|
359
417
|
return `<${l} style="${s}">${c}</${l}>`;
|
|
360
418
|
}
|
|
361
|
-
function
|
|
362
|
-
return e ? ` font-family="${
|
|
419
|
+
function Ue(e, t) {
|
|
420
|
+
return e ? ` font-family="${I(t.resolveFontFamily(e))}"` : "";
|
|
363
421
|
}
|
|
364
422
|
// ../renderer/src/renderers/custom.ts
|
|
365
|
-
function
|
|
423
|
+
function We(e, t) {
|
|
366
424
|
if (O(e)) return "";
|
|
367
425
|
let n = t.customBlockHtml.get(e.id) ?? e.renderedHtml;
|
|
368
426
|
if (!n || n === "") return "";
|
|
369
427
|
let r = k(e);
|
|
370
|
-
return `<mj-text padding="${
|
|
428
|
+
return `<mj-text padding="${L(e.styles.padding)}"${R(e.styles.backgroundColor, "container")}${r}>
|
|
371
429
|
${n}
|
|
372
430
|
</mj-text>`;
|
|
373
431
|
}
|
|
374
432
|
// ../renderer/src/columns.ts
|
|
375
|
-
function
|
|
433
|
+
function Ge(e) {
|
|
376
434
|
switch (e) {
|
|
377
435
|
case "2": return ["50%", "50%"];
|
|
378
436
|
case "3": return [
|
|
@@ -385,7 +443,7 @@ function Ie(e) {
|
|
|
385
443
|
default: return ["100%"];
|
|
386
444
|
}
|
|
387
445
|
}
|
|
388
|
-
function
|
|
446
|
+
function Ke(e, t) {
|
|
389
447
|
switch (e) {
|
|
390
448
|
case "2": return [t * .5, t * .5];
|
|
391
449
|
case "3": return [
|
|
@@ -399,7 +457,7 @@ function Le(e, t) {
|
|
|
399
457
|
}
|
|
400
458
|
}
|
|
401
459
|
// ../renderer/src/hero-geometry.ts
|
|
402
|
-
function
|
|
460
|
+
function qe(e, t, n) {
|
|
403
461
|
let r = Math.max(1, Math.round(t)), i = e.aspectRatio === null ? null : Math.max(1, Math.round(r * e.aspectRatio)), a = Math.max(e.height === "image" ? i ?? r : e.height, Math.trunc(n.top) + Math.trunc(n.bottom));
|
|
404
462
|
return {
|
|
405
463
|
mode: "fixed-height",
|
|
@@ -409,7 +467,7 @@ function Re(e, t, n) {
|
|
|
409
467
|
};
|
|
410
468
|
}
|
|
411
469
|
// ../renderer/src/display-condition.ts
|
|
412
|
-
function
|
|
470
|
+
function X(e, t) {
|
|
413
471
|
if (t === "") return "";
|
|
414
472
|
let n = e.displayCondition;
|
|
415
473
|
return n ? `<mj-raw>${n.before}</mj-raw>
|
|
@@ -417,35 +475,35 @@ function Z(e, t) {
|
|
|
417
475
|
<mj-raw>${n.after}</mj-raw>` : t;
|
|
418
476
|
}
|
|
419
477
|
// ../renderer/src/renderers/section.ts
|
|
420
|
-
function
|
|
478
|
+
function Je(e, t, n) {
|
|
421
479
|
if (O(e)) return "";
|
|
422
|
-
let r =
|
|
423
|
-
if (r?.applied) return
|
|
424
|
-
let i = e.columns, a =
|
|
425
|
-
for (let e = 0; e <
|
|
426
|
-
let r =
|
|
427
|
-
|
|
480
|
+
let r = ne(e);
|
|
481
|
+
if (r?.applied) return Ye(e, r, t, n);
|
|
482
|
+
let i = e.columns, a = Ge(i), o = Ke(i, t.containerWidth), s = Math.floor(t.contentWidth) - z(e.styles.padding, e.border), c = a.map((e) => Math.floor(s * parseFloat(e) / 100)), l = L(e.styles.padding), u = R(e.styles.backgroundColor, "native"), d = U(e.backgroundImage), f = k(e), p = H(e.borderRadius), m = V(e.border), h = t.contentDirection === "rtl" ? " direction=\"rtl\"" : "", g = e.children, _ = [];
|
|
483
|
+
for (let e = 0; e < g.length; e++) {
|
|
484
|
+
let r = g[e], i = a[e] ?? "100%", l = Math.floor(o[e] ?? t.containerWidth), u = Xe(r, t.allowHtmlBlocks).filter((e) => !T(e)), d = t.withContainerWidth(l, c[e] ?? s), f = u.map((e) => X(e, n(e, d))).filter((e) => e !== "").join("\n");
|
|
485
|
+
_.push(`<mj-column width="${i}"${h}>
|
|
428
486
|
${f === "" ? "<mj-text> </mj-text>" : f}
|
|
429
487
|
</mj-column>`);
|
|
430
488
|
}
|
|
431
|
-
let
|
|
432
|
-
return `<mj-section${u}${d} padding="${l}"${
|
|
433
|
-
${e.stackOnMobile === !1 &&
|
|
434
|
-
${
|
|
435
|
-
</mj-group>` :
|
|
489
|
+
let v = _.join("\n");
|
|
490
|
+
return `<mj-section${u}${d} padding="${l}"${m}${p}${f}${h}>
|
|
491
|
+
${e.stackOnMobile === !1 && _.length > 1 ? `<mj-group${h}>
|
|
492
|
+
${v}
|
|
493
|
+
</mj-group>` : v}
|
|
436
494
|
</mj-section>`;
|
|
437
495
|
}
|
|
438
|
-
function
|
|
439
|
-
let i = Math.floor(n.contentWidth), a =
|
|
440
|
-
return `<mj-hero mode="${a.mode}" height="${a.height}px" background-url="${
|
|
496
|
+
function Ye(e, t, n, r) {
|
|
497
|
+
let i = Math.floor(n.contentWidth), a = qe(t, i, e.styles.padding), o = R(e.styles.backgroundColor, "native") || " background-color=\"transparent\"", s = L(e.styles.padding), c = H(e.borderRadius), l = k(e), u = n.withContainerWidth(i, i - z(e.styles.padding)), d = Xe(e.children[0] ?? [], n.allowHtmlBlocks).filter((e) => !T(e)).map((e) => X(e, r(e, u))).filter((e) => e !== "").join("\n");
|
|
498
|
+
return `<mj-hero mode="${a.mode}" height="${a.height}px" background-url="${P(t.image.url)}" background-width="${a.backgroundWidth}px" background-height="${a.backgroundHeight}px" background-position="${t.image.position}"${o} padding="${s}" vertical-align="${t.verticalAlign}"${c}${l}>
|
|
441
499
|
${d}
|
|
442
500
|
</mj-hero>`;
|
|
443
501
|
}
|
|
444
|
-
function
|
|
502
|
+
function Xe(e, t) {
|
|
445
503
|
return t ? e : e.filter((e) => e.type !== "html");
|
|
446
504
|
}
|
|
447
505
|
// ../renderer/src/renderers/video.ts
|
|
448
|
-
function
|
|
506
|
+
function Ze(e, t) {
|
|
449
507
|
if (t) return t;
|
|
450
508
|
if (!e) return null;
|
|
451
509
|
for (let t of [/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([a-zA-Z0-9_-]{11})/, /youtube\.com\/shorts\/([a-zA-Z0-9_-]{11})/]) {
|
|
@@ -455,44 +513,44 @@ function He(e, t) {
|
|
|
455
513
|
let n = e.match(/vimeo\.com\/(?:video\/)?(\d+)/);
|
|
456
514
|
return n ? `https://vumbnail.com/${n[1]}.jpg` : null;
|
|
457
515
|
}
|
|
458
|
-
function
|
|
516
|
+
function Qe(e, t) {
|
|
459
517
|
if (O(e)) return "";
|
|
460
|
-
let n =
|
|
518
|
+
let n = Ze(e.url, e.thumbnailUrl);
|
|
461
519
|
if (!n) return "";
|
|
462
|
-
let r =
|
|
520
|
+
let r = L(e.styles.padding), i = R(e.styles.backgroundColor, "container"), a = e.width === "full" ? t.containerWidth + "px" : e.width + "px", o = pe(e.height), s = B(e, t), c = k(e);
|
|
463
521
|
return `<mj-image
|
|
464
|
-
src="${
|
|
465
|
-
alt="${
|
|
522
|
+
src="${P(n)}"
|
|
523
|
+
alt="${P(e.alt)}"
|
|
466
524
|
width="${a}"${o}${s}
|
|
467
525
|
align="${e.align}"
|
|
468
526
|
padding="${r}"
|
|
469
|
-
href="${
|
|
527
|
+
href="${P(e.url)}"
|
|
470
528
|
target="_blank"
|
|
471
529
|
rel="noopener"${i}${c}
|
|
472
530
|
/>`;
|
|
473
531
|
}
|
|
474
532
|
// ../renderer/src/renderers/index.ts
|
|
475
|
-
function
|
|
476
|
-
let
|
|
477
|
-
return
|
|
533
|
+
function Z(e, i) {
|
|
534
|
+
let a = i.blockRenderers[e.type];
|
|
535
|
+
return a ? a(e, i) : T(e) ? Je(e, i, Z) : r(e) ? xe(e, i) : m(e) ? we(e, i) : re(e) ? Te(e, i) : S(e) ? Ee(e, i) : v(e) ? je(e, i) : ie(e) ? Me(e, i) : d(e) ? Ne(e, i) : t(e) ? Pe(e, i) : ce(e) ? Fe(e, i) : c(e) ? ze(e, i) : n(e) ? Qe(e, i) : b(e) ? We(e, i) : O(e) ? "" : A(e);
|
|
478
536
|
}
|
|
479
537
|
// ../renderer/src/index.ts
|
|
480
|
-
var
|
|
481
|
-
async function
|
|
538
|
+
var $e = `.${Y} a { display: block !important; }`;
|
|
539
|
+
async function et(t, n) {
|
|
482
540
|
if (n?.customBlocks !== void 0 && n.renderCustomBlock !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with renderCustomBlock");
|
|
483
541
|
if (n?.customBlocks !== void 0 && n.getCustomBlockStylesheet !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with getCustomBlockStylesheet");
|
|
484
|
-
let r = n?.locale ??
|
|
485
|
-
return `<mjml lang="${
|
|
542
|
+
let r = n?.locale ?? s(t), a = l(t, r), o = n?.layout ? i(l(n.layout, r, { missing: "default" }), a) : (ee(a), e(a), a), c = n?.customFonts ?? [], u = n?.defaultFallbackFont ?? "Arial, sans-serif", d = n?.allowHtmlBlocks ?? !0, f = it(n?.socialIconsBaseUrl ?? E), p = n?.customBlocks === void 0 ? await ct(o, n?.renderCustomBlock) : await lt(o, n.customBlocks), m = ut(o, n?.getCustomBlockStylesheet, n?.customBlocks === void 0 ? void 0 : new Map(n.customBlocks.map((e) => [e.type, e]))), g = h(o.settings), _ = new D(o.settings.width, c, u, d, p, f, n?.blockRenderers ?? {}, g), v = st(o.blocks, d), y = _.resolveFontFamily(o.settings.fontFamily), b = o.settings.backgroundColor, te = o.settings.textColor ? ` color="${P(o.settings.textColor)}"` : "", x = o.settings.linkColor ? F(o.settings.linkColor) : "inherit", S = o.settings.linkUnderline ? "underline" : "none", C = v.map((e) => Q(e, _)).filter((e) => e !== "").join("\n"), ne = ot(c), w = at(o.settings.preheaderText);
|
|
543
|
+
return `<mjml lang="${P(o.settings.locale)}" dir="${P(g)}">
|
|
486
544
|
<mj-head>${w}
|
|
487
545
|
<mj-attributes>
|
|
488
|
-
<mj-all font-family="${
|
|
489
|
-
<mj-text font-size="14px"${
|
|
546
|
+
<mj-all font-family="${I(y)}" />
|
|
547
|
+
<mj-text font-size="14px"${te} />
|
|
490
548
|
<mj-section padding="0" />
|
|
491
549
|
<mj-column padding="0" />
|
|
492
550
|
</mj-attributes>${ne}
|
|
493
551
|
<mj-style inline="inline">
|
|
494
|
-
${
|
|
495
|
-
${
|
|
552
|
+
${me(he(v), g)}
|
|
553
|
+
${$e}
|
|
496
554
|
</mj-style>
|
|
497
555
|
<mj-style>
|
|
498
556
|
a { color: ${x}; text-decoration: ${S}; }
|
|
@@ -502,38 +560,38 @@ async function Ge(t, n) {
|
|
|
502
560
|
@media only screen and (min-width: 481px) {
|
|
503
561
|
.tpl-hide-desktop { display: none !important; mso-hide: all !important; }
|
|
504
562
|
}
|
|
505
|
-
</mj-style>${
|
|
563
|
+
</mj-style>${dt(m)}
|
|
506
564
|
</mj-head>
|
|
507
|
-
<mj-body width="${
|
|
565
|
+
<mj-body width="${_.containerWidth}px" background-color="${b}">
|
|
508
566
|
${C}
|
|
509
567
|
</mj-body>
|
|
510
568
|
</mjml>`;
|
|
511
569
|
}
|
|
512
|
-
function
|
|
513
|
-
if (
|
|
514
|
-
let n =
|
|
515
|
-
return
|
|
570
|
+
function Q(e, t) {
|
|
571
|
+
if (a(e)) {
|
|
572
|
+
let n = tt(t, e.styles.padding);
|
|
573
|
+
return X(e, nt(st(e.children, t.allowHtmlBlocks).map((e) => Q(e, n)).filter((e) => e !== "").join("\n"), {
|
|
516
574
|
backgroundColor: e.styles.backgroundColor,
|
|
517
575
|
padding: e.styles.padding,
|
|
518
576
|
borderRadius: e.borderRadius,
|
|
519
577
|
backgroundImage: e.backgroundImage
|
|
520
578
|
}, t.contentDirection));
|
|
521
579
|
}
|
|
522
|
-
if (
|
|
523
|
-
let n =
|
|
524
|
-
return
|
|
580
|
+
if (T(e)) {
|
|
581
|
+
let n = Z(e, e.wrapper ? tt(t, e.wrapper.padding) : t);
|
|
582
|
+
return X(e, e.wrapper && n !== "" ? nt(n, e.wrapper, t.contentDirection) : n);
|
|
525
583
|
}
|
|
526
|
-
return
|
|
584
|
+
return X(e, rt(Z(e, t), t.contentDirection));
|
|
527
585
|
}
|
|
528
|
-
function
|
|
529
|
-
return e.withContainerWidth(e.containerWidth, Math.floor(e.contentWidth) -
|
|
586
|
+
function tt(e, t) {
|
|
587
|
+
return e.withContainerWidth(e.containerWidth, Math.floor(e.contentWidth) - z(t));
|
|
530
588
|
}
|
|
531
|
-
function
|
|
532
|
-
return `<mj-wrapper${
|
|
589
|
+
function nt(e, t, n) {
|
|
590
|
+
return `<mj-wrapper${R(t.backgroundColor, "native")}${U(t.backgroundImage)}${` padding="${t.padding ? L(t.padding) : "0"}"`}${H(t.borderRadius)}${n === "rtl" ? " direction=\"rtl\"" : ""}>
|
|
533
591
|
${e}
|
|
534
592
|
</mj-wrapper>`;
|
|
535
593
|
}
|
|
536
|
-
function
|
|
594
|
+
function rt(e, t) {
|
|
537
595
|
if (e === "") return "";
|
|
538
596
|
let n = t === "rtl" ? " direction=\"rtl\"" : "";
|
|
539
597
|
return `<mj-section${n}>
|
|
@@ -542,21 +600,21 @@ ${e}
|
|
|
542
600
|
</mj-column>
|
|
543
601
|
</mj-section>`;
|
|
544
602
|
}
|
|
545
|
-
function
|
|
603
|
+
function it(e) {
|
|
546
604
|
return e.endsWith("/") ? e.slice(0, -1) : e;
|
|
547
605
|
}
|
|
548
|
-
function
|
|
606
|
+
function at(e) {
|
|
549
607
|
if (!e) return "";
|
|
550
608
|
let t = e.trim();
|
|
551
|
-
return t === "" ? "" : `\n <mj-preview>${
|
|
609
|
+
return t === "" ? "" : `\n <mj-preview>${N(t)}</mj-preview>`;
|
|
552
610
|
}
|
|
553
|
-
function
|
|
554
|
-
return e.length === 0 ? "" : e.map((e) => `\n <mj-font name="${
|
|
611
|
+
function ot(e) {
|
|
612
|
+
return e.length === 0 ? "" : e.map((e) => `\n <mj-font name="${P(e.name)}" href="${P(e.url)}" />`).join("");
|
|
555
613
|
}
|
|
556
|
-
function
|
|
614
|
+
function st(e, t) {
|
|
557
615
|
return t ? e : e.filter((e) => e.type !== "html");
|
|
558
616
|
}
|
|
559
|
-
async function
|
|
617
|
+
async function ct(e, t) {
|
|
560
618
|
let n = /* @__PURE__ */ new Map();
|
|
561
619
|
if (!t) return n;
|
|
562
620
|
let r = [];
|
|
@@ -565,7 +623,7 @@ async function et(e, t) {
|
|
|
565
623
|
for (let e = 0; e < r.length; e++) n.set(r[e].id, i[e]);
|
|
566
624
|
return n;
|
|
567
625
|
}
|
|
568
|
-
async function
|
|
626
|
+
async function lt(e, t) {
|
|
569
627
|
let n = /* @__PURE__ */ new Map(), r = [];
|
|
570
628
|
if ($(e.blocks, r), r.length === 0) return n;
|
|
571
629
|
let i;
|
|
@@ -574,8 +632,8 @@ async function tt(e, t) {
|
|
|
574
632
|
} catch {
|
|
575
633
|
throw Error("[Templatical] customBlocks requires the optional liquidjs package.");
|
|
576
634
|
}
|
|
577
|
-
let a =
|
|
578
|
-
let t =
|
|
635
|
+
let a = o(i), s = new Map(t.map((e) => [e.type, e])), c = await Promise.all(r.map(async (e) => {
|
|
636
|
+
let t = s.get(e.customType);
|
|
579
637
|
return t ? String(await a.parseAndRender(t.template, e.fieldValues)) : void 0;
|
|
580
638
|
}));
|
|
581
639
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -585,11 +643,11 @@ async function tt(e, t) {
|
|
|
585
643
|
return n;
|
|
586
644
|
}
|
|
587
645
|
function $(e, t) {
|
|
588
|
-
for (let
|
|
589
|
-
else if (
|
|
590
|
-
else n
|
|
646
|
+
for (let n of e) if (b(n)) t.push(n);
|
|
647
|
+
else if (T(n)) for (let e of n.children) $(e, t);
|
|
648
|
+
else a(n) && $(n.children, t);
|
|
591
649
|
}
|
|
592
|
-
function
|
|
650
|
+
function ut(e, t, n) {
|
|
593
651
|
let r = [];
|
|
594
652
|
if ($(e.blocks, r), r.length === 0) return [];
|
|
595
653
|
let i = /* @__PURE__ */ new Map();
|
|
@@ -605,9 +663,9 @@ function nt(e, t, n) {
|
|
|
605
663
|
}
|
|
606
664
|
return s;
|
|
607
665
|
}
|
|
608
|
-
function
|
|
666
|
+
function dt(e) {
|
|
609
667
|
return e.length === 0 ? "" : e.map((e) => `\n <mj-style>\n${e}\n </mj-style>`).join("");
|
|
610
668
|
}
|
|
611
|
-
export {
|
|
669
|
+
export { Y as BUTTON_FULL_WIDTH_CSS_CLASS, E as DEFAULT_SOCIAL_ICONS_BASE_URL, W as RICH_TEXT_CSS_CLASS, D as RenderContext, ue as UNRENDERABLE_MARKER_PREFIX, C as convertMergeTagsToValues, P as escapeAttr, N as escapeHtml, B as fluidOnMobileAttr, k as getCssClassAttr, le as getCssClasses, Ge as getWidthPercentages, Ke as getWidthPixels, O as isHiddenOnAll, Z as renderBlock, et as renderToMjml, A as renderUnrenderableBlock, K as resolveParagraphGap, G as richTextGapClass, L as toPaddingString };
|
|
612
670
|
|
|
613
|
-
//# sourceMappingURL=src-
|
|
671
|
+
//# sourceMappingURL=src-BWX_xVxO.js.map
|