@templatical/editor 0.46.0 → 0.48.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/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-DxPHFNoT.js} +14 -14
- package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-C8GVqu1d.js} +7 -7
- package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-BShkuJis.js} +5 -5
- package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
- package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-CUSftQdm.js} +5 -5
- package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-Dgw7tb4R.js} +9 -9
- package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-5rfopCPx.js} +4 -4
- package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-DiWzYtnZ.js} +2 -2
- package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-BOqj16Al.js} +14 -14
- package/dist/CountdownBlock-zx39Dyby.js +92 -0
- package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-C4y3Ft7H.js} +7 -7
- package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-BWAi3eQQ.js} +13 -13
- package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-C-x3I012.js} +8 -8
- package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
- package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-B1_Wy0AN.js} +13 -13
- package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-ByOvznRC.js} +4 -4
- package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-9mDBv4aL.js} +2 -2
- package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-fOewuF27.js} +3 -3
- package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-BXamLcv7.js} +7 -7
- package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-BVjOwwHx.js} +100 -85
- package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-BEKXx9xk.js} +6 -6
- package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-D7kp7iig.js} +12 -12
- package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-SJu0lecx.js} +34 -35
- package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-DbmIS5uK.js} +14 -14
- package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-Dr5Fxx9Z.js} +2 -2
- package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DnEWBZJy.js} +5 -5
- package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-ynbGl-sr.js} +16 -16
- package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-Bi01S3H3.js} +12 -12
- package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-CbRY8HQx.js} +14 -14
- package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-NAOmt3xi.js} +2 -2
- package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-Cc3DHbuN.js} +15 -15
- package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-Ozc7YU38.js} +2 -2
- package/dist/Toolbar-B-2lO0I8.js +3156 -0
- package/dist/{TplModal-BGFawHY9.js → TplModal-Bz4-IZ9R.js} +6 -6
- package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-CjV1d1zk.js} +10 -10
- package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-BtwxrKJn.js} +2 -2
- package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-BLAei1kj.js} +4 -4
- package/dist/WrapperBlock-D0qgNqjD.js +45 -0
- package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-CEDZytqP.js} +50 -20
- package/dist/bundle-stats.json +8 -8
- package/dist/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +38 -1
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-Dk0rJBQN.js} +8 -8
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-B7b0w8ZS.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-C7sdnkrF.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-B4fhuwc_.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-awqHfJqC.js} +8 -8
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-CS0ivqkr.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CbzxwsyI.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-DWPHZuQm.js} +8 -8
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-Cqg8FUH-.js} +8 -8
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BW9cHnA9.js} +12 -12
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-cXf9ywA4.js} +8 -8
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BMB9vShs.js} +89 -89
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-zXfcArr4.js} +4 -4
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-Cp4XB_dH.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-DLqrA9co.js} +4 -4
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-BRiJzzn5.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-D4aq9eeC.js} +116 -101
- package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BgR6RXSb.js} +6 -6
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-C4DMAn0g.js} +11 -11
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BaIsQd09.js} +41 -42
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-CtnB58p_.js} +10 -10
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-BhEOMzEQ.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-CcdqTEIp.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-BrWqJCSP.js} +9 -9
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-BkkWTDHD.js} +14 -14
- package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-V5mwHsUV.js} +13 -13
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-DxrKuctP.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-CsZiG3TT.js} +19 -19
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BB-bQADJ.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
- package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
- package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-DC_eodTV.js} +6 -6
- package/dist/cdn/chunks/TplModal-DC_eodTV.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-DXnM5Df2.js} +11 -11
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-DXSqmaLS.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-DKyN6BhO.js} +5 -5
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
- package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
- package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
- package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
- package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +39 -2
- package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-BHClP3e2.js} +3 -3
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-BHClP3e2.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-Vd0N4elZ.js} +18 -9
- package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +1 -0
- package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DMquBpZM.js} +39 -2
- package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
- package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
- package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
- package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
- package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-vEEmZ8Tu.js} +93 -93
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
- package/dist/cdn/chunks/{en-BTiiAC-B.js → en-C8Mp71sO.js} +39 -2
- package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
- package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
- package/dist/cdn/chunks/{es-CdTOcSTf.js → es-Byq4tthI.js} +39 -2
- package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-hJ9VqzDc.js} +7 -7
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-hJ9VqzDc.js.map} +1 -1
- package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +39 -2
- package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
- package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-aTYwH5-g.js} +107 -78
- package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
- package/dist/{ja-BhdkqENz.js → cdn/chunks/ja-D7txAuGS.js} +40 -1
- package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
- package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
- package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
- package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-ClJ3BY3F.js} +40 -1
- package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-ByfuSjtL.js} +4 -2
- package/dist/cdn/chunks/preRenderCustomBlocks-ByfuSjtL.js.map +1 -0
- package/dist/{pt-BR-CUIT4rq4.js → cdn/chunks/pt-BR-DibcXcmv.js} +40 -1
- package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +1279 -0
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
- package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-DYCDeBDM.js} +437 -256
- package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
- package/dist/cdn/chunks/{src-B0pZeTYO.js → src-DlFlC9Tt.js} +334 -268
- package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
- package/dist/cdn/chunks/src-dZ4D_tuP.js +649 -0
- package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
- package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
- package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
- package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bb2UcB20.js} +780 -764
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-HsyUCQtl.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-Dg9pE85U.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
- package/dist/cdn/chunks/withCurrentFont-oLcATrQ8.js +21 -0
- package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +641 -631
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ZKvtMdpe.js → check-ClwqRMgv.js} +1 -1
- package/dist/{chevron-down-RrwkYMlp.js → chevron-down-te6qn-zE.js} +1 -1
- package/dist/{chevron-right-CklHaa1U.js → chevron-right-W2hbH1FM.js} +1 -1
- package/dist/{chevron-up-DjN2NTbo.js → chevron-up-Bf5Zo7o4.js} +1 -1
- package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-CIEGV5DN.js} +1 -1
- package/dist/{clock-BEagNj21.js → clock-Y4cx0gkJ.js} +1 -1
- package/dist/{cloud-DPGjMGfv.js → cloud-B5xwm_4X.js} +2 -2
- package/dist/{copy-D6DNoSq1.js → copy-BEcsAlfB.js} +1 -1
- package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-zNPkF6T9.js} +17 -8
- package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-CYHXK9hn.js} +6 -6
- package/dist/{de-CGjbQ2mt.js → de-DMquBpZM.js} +38 -1
- package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
- package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
- package/dist/dist-BPFcLKTw.js +5 -0
- package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
- package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
- package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
- package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
- package/dist/dist-D7Yj7E-F.js +5 -0
- package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
- package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
- package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
- package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
- package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
- package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
- package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-tsmnQugO.js} +207 -174
- package/dist/{editor-modal-oRmkDlUs.js → editor-modal-AlVLkU91.js} +20 -20
- package/dist/en-B0FUfNwz.js +1 -0
- package/dist/{en-BTiiAC-B.js → en-C8Mp71sO.js} +38 -1
- package/dist/{es-CdTOcSTf.js → es-Byq4tthI.js} +38 -1
- package/dist/{extensions-CYigjb1g.js → extensions-pjO8VGkM.js} +9 -9
- package/dist/{eye-DvsTBI57.js → eye-Ddnz8nnm.js} +1 -1
- package/dist/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +38 -1
- package/dist/{image-up-BoFGZm5Q.js → image-up-CM_HC0Dx.js} +1 -1
- package/dist/index.d.ts +124 -11
- package/dist/{info-0bQQGjTV.js → info-DXLmzoeY.js} +1 -1
- package/dist/{cdn/chunks/ja-BhdkqENz.js → ja-D7txAuGS.js} +38 -3
- package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
- package/dist/{link-Cstrr3Ep.js → link-Cel46wgo.js} +1 -1
- package/dist/{list-Dx9Rmy5s.js → list-Cl0GwiV9.js} +1 -1
- package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-uAwpvfys.js} +1 -1
- package/dist/{message-circle-D78ELX6I.js → message-circle-DWU1pTM_.js} +1 -1
- package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-ClJ3BY3F.js} +38 -3
- package/dist/{package-DOvM9sHE.js → package-CbyG_yU_.js} +1 -1
- package/dist/{pencil-B6m0OG0n.js → pencil-BzoDcwKu.js} +1 -1
- package/dist/{plus-D-nEKxTc.js → plus-8cDvoCjZ.js} +1 -1
- package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-DMP5RuHl.js} +6 -4
- package/dist/{cdn/chunks/pt-BR-CUIT4rq4.js → pt-BR-DibcXcmv.js} +38 -3
- package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-9WinWixo.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
- package/dist/{search-DSvil0jo.js → search-CqgGq1gG.js} +1 -1
- package/dist/{send-BBR28V94.js → send-Ceo3c9Db.js} +1 -1
- package/dist/{shield-check-ByxUnaU9.js → shield-check-uDAwur5D.js} +1 -1
- package/dist/{smartphone-CNOwGf5T.js → smartphone-CcLaCpGK.js} +1 -1
- package/dist/socialIcons-PTiwhLoC.js +1359 -0
- package/dist/{sparkles-DO1hzwzf.js → sparkles-Do9XjAuT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
- package/dist/templatical-editor.js +519 -509
- package/dist/{text-align-start-BKEKMheq.js → text-align-start-DvzC0HQA.js} +1 -1
- package/dist/timeouts-Cv2jvusx.js +4 -0
- package/dist/{trash-CKEQH4vH.js → trash-vlINTx32.js} +1 -1
- package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-MRYSJ9T2.js} +1 -1
- package/dist/{upload-C8uO7KsR.js → upload-CtNOI6J2.js} +1 -1
- package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
- package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
- package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-PvErWWsp.js} +1002 -991
- package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
- package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
- package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-BHn67tDd.js} +3 -3
- package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-CRkm5Ig6.js} +5 -5
- package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
- package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-CXmcHQQN.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
- package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-CxRGeHO3.js} +1 -1
- package/dist/{x-gEC0yMci.js → x-Cd6SFw8r.js} +1 -1
- package/package.json +23 -23
- package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
- package/dist/CountdownBlock-RNx3hIu0.js +0 -91
- package/dist/Toolbar-CqhRb6EM.js +0 -2732
- package/dist/WrapperBlock-CTkmA887.js +0 -34
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js +0 -2646
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
- package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js.map +0 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
- package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
- package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
- package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
- package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
- package/dist/cdn/chunks/icons-Dr9erFGs.js.map +0 -1
- package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
- package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
- package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
- package/dist/cdn/chunks/src-BMw3u-iV.js +0 -614
- package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
- package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
- package/dist/dist-CFC4pg2o.js +0 -5
- package/dist/dist-j2FavQmU.js +0 -5
- package/dist/en-Bk4iCfjp.js +0 -1
- package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
- package/dist/timeouts-DHPZQ0G3.js +0 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { A as e, At as t, B as n, D as r, J as i, K as a, M as o, P as s, R as c, S as l, V as u, Z as d, _ as f, at as p, c as m, d as h, g, h as _, i as v, j as y, jt as b, kt as x, l as S, r as C, rt as w, s as T, tt as E, u as D, v as O } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as k, c as A, s as j, t as M } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { h as N } from "./dist-
|
|
4
|
-
import { a as P, n as F, o as I, r as L, s as R, t as ee } from "./dist-
|
|
5
|
-
import { t as z } from "./createLucideIcon-
|
|
6
|
-
import { t as B } from "./check-
|
|
7
|
-
import { t as te } from "./chevron-right-
|
|
8
|
-
import { t as ne } from "./copy-
|
|
9
|
-
import { t as re } from "./link-
|
|
10
|
-
import { t as ie } from "./list-
|
|
11
|
-
import { t as V } from "./loader-circle-
|
|
12
|
-
import { t as H } from "./pencil-
|
|
13
|
-
import { t as ae } from "./plus-
|
|
14
|
-
import { t as U } from "./refresh-cw-
|
|
15
|
-
import { t as oe } from "./search-
|
|
16
|
-
import { t as se } from "./trash-
|
|
17
|
-
import { t as ce } from "./upload-
|
|
18
|
-
import { t as le } from "./x-
|
|
1
|
+
import { A as e, At as t, B as n, D as r, J as i, K as a, M as o, P as s, R as c, S as l, V as u, Z as d, _ as f, at as p, c as m, d as h, g, h as _, i as v, j as y, jt as b, kt as x, l as S, r as C, rt as w, s as T, tt as E, u as D, v as O } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
|
|
2
|
+
import { a as k, c as A, s as j, t as M } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
|
|
3
|
+
import { h as N } from "./dist-CUWI-IvA.js";
|
|
4
|
+
import { a as P, n as F, o as I, r as L, s as R, t as ee } from "./dist-DAAJogrx.js";
|
|
5
|
+
import { t as z } from "./createLucideIcon-CYHXK9hn.js";
|
|
6
|
+
import { t as B } from "./check-ClwqRMgv.js";
|
|
7
|
+
import { t as te } from "./chevron-right-W2hbH1FM.js";
|
|
8
|
+
import { t as ne } from "./copy-BEcsAlfB.js";
|
|
9
|
+
import { t as re } from "./link-Cel46wgo.js";
|
|
10
|
+
import { t as ie } from "./list-Cl0GwiV9.js";
|
|
11
|
+
import { t as V } from "./loader-circle-uAwpvfys.js";
|
|
12
|
+
import { t as H } from "./pencil-BzoDcwKu.js";
|
|
13
|
+
import { t as ae } from "./plus-8cDvoCjZ.js";
|
|
14
|
+
import { t as U } from "./refresh-cw-9WinWixo.js";
|
|
15
|
+
import { t as oe } from "./search-CqgGq1gG.js";
|
|
16
|
+
import { t as se } from "./trash-vlINTx32.js";
|
|
17
|
+
import { t as ce } from "./upload-CtNOI6J2.js";
|
|
18
|
+
import { t as le } from "./x-Cd6SFw8r.js";
|
|
19
19
|
import { t as W } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
20
20
|
var G = z({
|
|
21
21
|
name: "file",
|
|
@@ -2251,7 +2251,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
|
|
|
2251
2251
|
"ready"
|
|
2252
2252
|
],
|
|
2253
2253
|
setup(i, { expose: a, emit: s }) {
|
|
2254
|
-
let l = i, u = s, d = f(() => import("./MediaEditModal-
|
|
2254
|
+
let l = i, u = s, d = f(() => import("./MediaEditModal-ByOvznRC.js")), v = T(() => l.translations), w = T(() => l.confirmTestId ?? "media-confirm"), E = {
|
|
2255
2255
|
get maxFileSize() {
|
|
2256
2256
|
return l.provider.maxFileSize;
|
|
2257
2257
|
},
|
|
@@ -2674,7 +2674,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
|
|
|
2674
2674
|
}), $n = /* #__PURE__ */ Object.assign({
|
|
2675
2675
|
"./locales/ca.ts": () => import("./ca-CYQH3J0b.js"),
|
|
2676
2676
|
"./locales/de.ts": () => import("./de-JvCTMJPy.js"),
|
|
2677
|
-
"./locales/en.ts": () => import("./en-
|
|
2677
|
+
"./locales/en.ts": () => import("./en-B0FUfNwz.js"),
|
|
2678
2678
|
"./locales/es.ts": () => import("./es-CAv-Vldw.js"),
|
|
2679
2679
|
"./locales/fr.ts": () => import("./fr-DVPtxpR6.js"),
|
|
2680
2680
|
"./locales/ja.ts": () => import("./ja-dcWzjStz.js"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as default } from "./editor-modal-AlVLkU91.js";
|
|
@@ -42,6 +42,7 @@ var e = {
|
|
|
42
42
|
},
|
|
43
43
|
blocks: {
|
|
44
44
|
section: "Section",
|
|
45
|
+
hero: "Hero",
|
|
45
46
|
image: "Image",
|
|
46
47
|
title: "Title",
|
|
47
48
|
paragraph: "Paragraph",
|
|
@@ -101,6 +102,9 @@ var e = {
|
|
|
101
102
|
highlightColor: "Highlight Color",
|
|
102
103
|
lineHeight: "Line Height",
|
|
103
104
|
letterSpacing: "Letter Spacing",
|
|
105
|
+
lineHeightShort: "LH",
|
|
106
|
+
letterSpacingShort: "LS",
|
|
107
|
+
letterSpacingNormal: "Normal",
|
|
104
108
|
emojiItemLabel: "Insert emoji {emoji}"
|
|
105
109
|
},
|
|
106
110
|
blockActions: {
|
|
@@ -128,7 +132,9 @@ var e = {
|
|
|
128
132
|
borderRadius: "Border Radius",
|
|
129
133
|
wrapperEnable: "Add wrapper",
|
|
130
134
|
wrapperLayoutConflict: "This editor already frames the email. An extra frame on this section isn't supported — preview and export will fail.",
|
|
131
|
-
stackOnMobile: "Stack on mobile"
|
|
135
|
+
stackOnMobile: "Stack on mobile",
|
|
136
|
+
heroNeedsOneColumn: "Hero mode needs one column. With more, this section shows as a regular section.",
|
|
137
|
+
heroAddImage: "Add a background image"
|
|
132
138
|
},
|
|
133
139
|
linkDialog: {
|
|
134
140
|
editLink: "Edit Link",
|
|
@@ -170,6 +176,9 @@ var e = {
|
|
|
170
176
|
height: "Height",
|
|
171
177
|
heightAuto: "Auto",
|
|
172
178
|
heightCustom: "Custom",
|
|
179
|
+
lockAspectRatio: "Keep the image's proportions",
|
|
180
|
+
unlockAspectRatio: "Set width and height separately",
|
|
181
|
+
heightCapped: "Capped at the column width, {height}px tall",
|
|
173
182
|
borderRadius: "Border Radius",
|
|
174
183
|
linkUrl: "Link URL",
|
|
175
184
|
openInNewTab: "Open in new tab",
|
|
@@ -195,6 +204,7 @@ var e = {
|
|
|
195
204
|
altTextPlaceholder: "Video description",
|
|
196
205
|
width: "Width",
|
|
197
206
|
fullWidth: "Full Width",
|
|
207
|
+
widthCustom: "Custom",
|
|
198
208
|
height: "Height",
|
|
199
209
|
heightAuto: "Auto",
|
|
200
210
|
heightCustom: "Custom",
|
|
@@ -375,6 +385,33 @@ var e = {
|
|
|
375
385
|
cornerBottomRight: "Bottom right",
|
|
376
386
|
cornerBottomLeft: "Bottom left",
|
|
377
387
|
color: "Color",
|
|
388
|
+
backgroundImage: "Image",
|
|
389
|
+
backgroundImagePlaceholder: "https://example.com/background.jpg",
|
|
390
|
+
backgroundSize: "Size",
|
|
391
|
+
backgroundSizeCover: "Fill",
|
|
392
|
+
backgroundSizeContain: "Fit",
|
|
393
|
+
backgroundSizeAuto: "Original",
|
|
394
|
+
backgroundPosition: "Position",
|
|
395
|
+
backgroundPositionTopLeft: "Top left",
|
|
396
|
+
backgroundPositionTopCenter: "Top center",
|
|
397
|
+
backgroundPositionTopRight: "Top right",
|
|
398
|
+
backgroundPositionCenterLeft: "Center left",
|
|
399
|
+
backgroundPositionCenter: "Center",
|
|
400
|
+
backgroundPositionCenterRight: "Center right",
|
|
401
|
+
backgroundPositionBottomLeft: "Bottom left",
|
|
402
|
+
backgroundPositionBottomCenter: "Bottom center",
|
|
403
|
+
backgroundPositionBottomRight: "Bottom right",
|
|
404
|
+
backgroundRepeat: "Repeat image",
|
|
405
|
+
heroHeight: "Height",
|
|
406
|
+
heroHeightFit: "Fit content",
|
|
407
|
+
heroHeightImage: "Match image",
|
|
408
|
+
heroHeightFixed: "Fixed",
|
|
409
|
+
heroAlign: "Content position",
|
|
410
|
+
heroAlignTop: "Top",
|
|
411
|
+
heroAlignMiddle: "Middle",
|
|
412
|
+
heroAlignBottom: "Bottom",
|
|
413
|
+
heroMatchImageMergeTag: "Match image needs a direct image URL: a merge tag has no size to read.",
|
|
414
|
+
heroSizeUnknown: "This image's size isn't known yet, so the section shows at its content height.",
|
|
378
415
|
display: "Display",
|
|
379
416
|
showOnDesktop: "Show on desktop",
|
|
380
417
|
showOnMobile: "Show on mobile",
|
|
@@ -42,6 +42,7 @@ var e = {
|
|
|
42
42
|
},
|
|
43
43
|
blocks: {
|
|
44
44
|
section: "Sección",
|
|
45
|
+
hero: "Hero",
|
|
45
46
|
image: "Imagen",
|
|
46
47
|
title: "Título",
|
|
47
48
|
paragraph: "Párrafo",
|
|
@@ -101,6 +102,9 @@ var e = {
|
|
|
101
102
|
highlightColor: "Color de resaltado",
|
|
102
103
|
lineHeight: "Interlineado",
|
|
103
104
|
letterSpacing: "Espaciado entre letras",
|
|
105
|
+
lineHeightShort: "IL",
|
|
106
|
+
letterSpacingShort: "EL",
|
|
107
|
+
letterSpacingNormal: "Normal",
|
|
104
108
|
emojiItemLabel: "Insertar emoji {emoji}"
|
|
105
109
|
},
|
|
106
110
|
blockActions: {
|
|
@@ -128,7 +132,9 @@ var e = {
|
|
|
128
132
|
borderRadius: "Radio del borde",
|
|
129
133
|
wrapperEnable: "Añadir contenedor",
|
|
130
134
|
wrapperLayoutConflict: "Este editor ya enmarca el correo. Un marco extra en esta sección no es compatible — la vista previa y la exportación fallarán.",
|
|
131
|
-
stackOnMobile: "Apilar en móvil"
|
|
135
|
+
stackOnMobile: "Apilar en móvil",
|
|
136
|
+
heroNeedsOneColumn: "El modo hero necesita una sola columna. Con más, esta sección se muestra como una sección normal.",
|
|
137
|
+
heroAddImage: "Añade una imagen de fondo"
|
|
132
138
|
},
|
|
133
139
|
linkDialog: {
|
|
134
140
|
editLink: "Editar enlace",
|
|
@@ -170,6 +176,9 @@ var e = {
|
|
|
170
176
|
height: "Altura",
|
|
171
177
|
heightAuto: "Automática",
|
|
172
178
|
heightCustom: "Personalizada",
|
|
179
|
+
lockAspectRatio: "Mantener las proporciones de la imagen",
|
|
180
|
+
unlockAspectRatio: "Definir el ancho y el alto por separado",
|
|
181
|
+
heightCapped: "Limitada al ancho de la columna, {height}px de alto",
|
|
173
182
|
borderRadius: "Radio del borde",
|
|
174
183
|
linkUrl: "URL del enlace",
|
|
175
184
|
openInNewTab: "Abrir en una nueva pestaña",
|
|
@@ -195,6 +204,7 @@ var e = {
|
|
|
195
204
|
altTextPlaceholder: "Descripción del vídeo",
|
|
196
205
|
width: "Ancho",
|
|
197
206
|
fullWidth: "Ancho completo",
|
|
207
|
+
widthCustom: "Personalizado",
|
|
198
208
|
height: "Altura",
|
|
199
209
|
heightAuto: "Automática",
|
|
200
210
|
heightCustom: "Personalizada",
|
|
@@ -375,6 +385,33 @@ var e = {
|
|
|
375
385
|
cornerBottomRight: "Abajo a la derecha",
|
|
376
386
|
cornerBottomLeft: "Abajo a la izquierda",
|
|
377
387
|
color: "Color",
|
|
388
|
+
backgroundImage: "Imagen",
|
|
389
|
+
backgroundImagePlaceholder: "https://example.com/background.jpg",
|
|
390
|
+
backgroundSize: "Tamaño",
|
|
391
|
+
backgroundSizeCover: "Rellenar",
|
|
392
|
+
backgroundSizeContain: "Ajustar",
|
|
393
|
+
backgroundSizeAuto: "Original",
|
|
394
|
+
backgroundPosition: "Posición",
|
|
395
|
+
backgroundPositionTopLeft: "Arriba a la izquierda",
|
|
396
|
+
backgroundPositionTopCenter: "Arriba en el centro",
|
|
397
|
+
backgroundPositionTopRight: "Arriba a la derecha",
|
|
398
|
+
backgroundPositionCenterLeft: "Centro a la izquierda",
|
|
399
|
+
backgroundPositionCenter: "Centro",
|
|
400
|
+
backgroundPositionCenterRight: "Centro a la derecha",
|
|
401
|
+
backgroundPositionBottomLeft: "Abajo a la izquierda",
|
|
402
|
+
backgroundPositionBottomCenter: "Abajo en el centro",
|
|
403
|
+
backgroundPositionBottomRight: "Abajo a la derecha",
|
|
404
|
+
backgroundRepeat: "Repetir imagen",
|
|
405
|
+
heroHeight: "Altura",
|
|
406
|
+
heroHeightFit: "Ajustar al contenido",
|
|
407
|
+
heroHeightImage: "Igual que la imagen",
|
|
408
|
+
heroHeightFixed: "Fija",
|
|
409
|
+
heroAlign: "Posición del contenido",
|
|
410
|
+
heroAlignTop: "Arriba",
|
|
411
|
+
heroAlignMiddle: "Centro",
|
|
412
|
+
heroAlignBottom: "Abajo",
|
|
413
|
+
heroMatchImageMergeTag: "«Igual que la imagen» necesita una URL de imagen directa: una etiqueta de combinación no tiene tamaño que leer.",
|
|
414
|
+
heroSizeUnknown: "El tamaño de esta imagen aún no se conoce, así que la sección se muestra con la altura de su contenido.",
|
|
378
415
|
display: "Visualización",
|
|
379
416
|
showOnDesktop: "Mostrar en escritorio",
|
|
380
417
|
showOnMobile: "Mostrar en móvil",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, At as t, B as n, E as r, J as i, V as a, Z as o, at as s, c, d as l, jt as u, kt as d, l as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as C } from "./useI18n-
|
|
5
|
-
import { a as w, o as T, s as E } from "./LogicTagInsertButton-
|
|
6
|
-
import { t as D } from "./useMergeTag-
|
|
7
|
-
import { H as O, Kn as k, Xn as A, Yn as j, _n as M, m as N, qn as ee, s as P, u as te, v as ne } from "./dist-
|
|
8
|
-
import { n as F, t as re } from "./dist-
|
|
1
|
+
import { A as e, At as t, B as n, E as r, J as i, V as a, Z as o, at as s, c, d as l, jt as u, kt as d, l as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
|
|
2
|
+
import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
|
|
3
|
+
import { H as y, U as b, X as x, u as S } from "./dist-tsmnQugO.js";
|
|
4
|
+
import { t as C } from "./useI18n-CxVEpurs.js";
|
|
5
|
+
import { a as w, o as T, s as E } from "./LogicTagInsertButton-B1_Wy0AN.js";
|
|
6
|
+
import { t as D } from "./useMergeTag-CRkm5Ig6.js";
|
|
7
|
+
import { H as O, Kn as k, Xn as A, Yn as j, _n as M, m as N, qn as ee, s as P, u as te, v as ne } from "./dist-DBxgrOeo.js";
|
|
8
|
+
import { n as F, t as re } from "./dist-DuufrR8O.js";
|
|
9
9
|
//#region src/extensions/FontSize.ts
|
|
10
10
|
var ie = P.create({
|
|
11
11
|
name: "fontSize",
|
|
@@ -1158,7 +1158,7 @@ var It = qe, Lt = We, Rt = (e, t, n) => {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
};
|
|
1160
1160
|
//#endregion
|
|
1161
|
-
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.
|
|
1161
|
+
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.32.0_@floating-ui+dom@1.8.0_@tiptap+core@3.32.0_@tiptap+pm@3.32.0__@tiptap+pm@3.32.0/node_modules/@tiptap/suggestion/dist/index.js
|
|
1162
1162
|
function zt(e) {
|
|
1163
1163
|
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = O(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
|
|
1164
1164
|
if (!p) return null;
|
|
@@ -43,6 +43,7 @@ var e = {
|
|
|
43
43
|
},
|
|
44
44
|
blocks: {
|
|
45
45
|
section: "Section",
|
|
46
|
+
hero: "Hero",
|
|
46
47
|
image: "Image",
|
|
47
48
|
title: "Titre",
|
|
48
49
|
paragraph: "Paragraphe",
|
|
@@ -102,6 +103,9 @@ var e = {
|
|
|
102
103
|
highlightColor: "Couleur de surlignage",
|
|
103
104
|
lineHeight: "Interligne",
|
|
104
105
|
letterSpacing: "Espacement des lettres",
|
|
106
|
+
lineHeightShort: "IL",
|
|
107
|
+
letterSpacingShort: "EL",
|
|
108
|
+
letterSpacingNormal: "Normal",
|
|
105
109
|
emojiItemLabel: "Insérer l'émoji {emoji}"
|
|
106
110
|
},
|
|
107
111
|
blockActions: {
|
|
@@ -129,7 +133,9 @@ var e = {
|
|
|
129
133
|
borderRadius: "Rayon de bordure",
|
|
130
134
|
wrapperEnable: "Ajouter un conteneur",
|
|
131
135
|
wrapperLayoutConflict: "Cet éditeur encadre déjà l'e-mail. Un cadre supplémentaire sur cette section n'est pas pris en charge — l'aperçu et l'export échoueront.",
|
|
132
|
-
stackOnMobile: "Empiler sur mobile"
|
|
136
|
+
stackOnMobile: "Empiler sur mobile",
|
|
137
|
+
heroNeedsOneColumn: "Le mode hero nécessite une seule colonne. Avec plus de colonnes, cette section s'affiche comme une section normale.",
|
|
138
|
+
heroAddImage: "Ajoutez une image de fond"
|
|
133
139
|
},
|
|
134
140
|
linkDialog: {
|
|
135
141
|
editLink: "Modifier le lien",
|
|
@@ -171,6 +177,9 @@ var e = {
|
|
|
171
177
|
height: "Hauteur",
|
|
172
178
|
heightAuto: "Automatique",
|
|
173
179
|
heightCustom: "Personnalisée",
|
|
180
|
+
lockAspectRatio: "Conserver les proportions de l'image",
|
|
181
|
+
unlockAspectRatio: "Définir la largeur et la hauteur séparément",
|
|
182
|
+
heightCapped: "Limitée à la largeur de la colonne, {height}px de haut",
|
|
174
183
|
borderRadius: "Rayon de bordure",
|
|
175
184
|
linkUrl: "URL du lien",
|
|
176
185
|
openInNewTab: "Ouvrir dans un nouvel onglet",
|
|
@@ -196,6 +205,7 @@ var e = {
|
|
|
196
205
|
altTextPlaceholder: "Description de la vidéo",
|
|
197
206
|
width: "Largeur",
|
|
198
207
|
fullWidth: "Pleine largeur",
|
|
208
|
+
widthCustom: "Personnalisée",
|
|
199
209
|
height: "Hauteur",
|
|
200
210
|
heightAuto: "Automatique",
|
|
201
211
|
heightCustom: "Personnalisée",
|
|
@@ -375,6 +385,33 @@ var e = {
|
|
|
375
385
|
cornerBottomRight: "En bas à droite",
|
|
376
386
|
cornerBottomLeft: "En bas à gauche",
|
|
377
387
|
color: "Couleur",
|
|
388
|
+
backgroundImage: "Image",
|
|
389
|
+
backgroundImagePlaceholder: "https://example.com/background.jpg",
|
|
390
|
+
backgroundSize: "Taille",
|
|
391
|
+
backgroundSizeCover: "Remplir",
|
|
392
|
+
backgroundSizeContain: "Ajuster",
|
|
393
|
+
backgroundSizeAuto: "D'origine",
|
|
394
|
+
backgroundPosition: "Position",
|
|
395
|
+
backgroundPositionTopLeft: "En haut à gauche",
|
|
396
|
+
backgroundPositionTopCenter: "En haut au centre",
|
|
397
|
+
backgroundPositionTopRight: "En haut à droite",
|
|
398
|
+
backgroundPositionCenterLeft: "Au centre à gauche",
|
|
399
|
+
backgroundPositionCenter: "Au centre",
|
|
400
|
+
backgroundPositionCenterRight: "Au centre à droite",
|
|
401
|
+
backgroundPositionBottomLeft: "En bas à gauche",
|
|
402
|
+
backgroundPositionBottomCenter: "En bas au centre",
|
|
403
|
+
backgroundPositionBottomRight: "En bas à droite",
|
|
404
|
+
backgroundRepeat: "Répéter l'image",
|
|
405
|
+
heroHeight: "Hauteur",
|
|
406
|
+
heroHeightFit: "Ajuster au contenu",
|
|
407
|
+
heroHeightImage: "Comme l'image",
|
|
408
|
+
heroHeightFixed: "Fixe",
|
|
409
|
+
heroAlign: "Position du contenu",
|
|
410
|
+
heroAlignTop: "Haut",
|
|
411
|
+
heroAlignMiddle: "Milieu",
|
|
412
|
+
heroAlignBottom: "Bas",
|
|
413
|
+
heroMatchImageMergeTag: "« Comme l'image » nécessite une URL d'image directe : une balise de fusion n'a pas de taille à lire.",
|
|
414
|
+
heroSizeUnknown: "La taille de cette image n'est pas encore connue, la section s'affiche donc à la hauteur de son contenu.",
|
|
378
415
|
display: "Affichage",
|
|
379
416
|
showOnDesktop: "Afficher sur ordinateur",
|
|
380
417
|
showOnMobile: "Afficher sur mobile",
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,48 @@ declare interface AiConfig {
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function applyLayout(layout: TemplateContent, content: TemplateContent): TemplateContent;
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* An image painted behind a section or a wrapper band. The element's own
|
|
22
|
+
* `backgroundColor` is its fallback: it shows while the image loads, with
|
|
23
|
+
* images off, and in clients without background-image support.
|
|
24
|
+
*/
|
|
25
|
+
declare interface BackgroundImage {
|
|
26
|
+
url: string;
|
|
27
|
+
size: BackgroundSize;
|
|
28
|
+
position: {
|
|
29
|
+
x: BackgroundPositionX;
|
|
30
|
+
y: BackgroundPositionY;
|
|
31
|
+
};
|
|
32
|
+
/** `false` paints the image once; `true` tiles it. */
|
|
33
|
+
repeat: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The image file's own width in px, when known: given by the media library,
|
|
36
|
+
* measured by the editor when the author sets the URL, or read by an
|
|
37
|
+
* importer (from MJML, the hero's `background-width`, which may be the box's
|
|
38
|
+
* size rather than the file's). Only the ratio with `naturalHeight` is used:
|
|
39
|
+
* a section hero with `height: "image"` keeps its box at that shape. Both or
|
|
40
|
+
* neither; one without the other reads as unknown.
|
|
41
|
+
*/
|
|
42
|
+
naturalWidth?: number;
|
|
43
|
+
/**
|
|
44
|
+
* The image file's own height in px, when known; it pairs with
|
|
45
|
+
* `naturalWidth`, and only their ratio is used. Both or neither.
|
|
46
|
+
*/
|
|
47
|
+
naturalHeight?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare type BackgroundPositionX = "left" | "center" | "right";
|
|
51
|
+
|
|
52
|
+
declare type BackgroundPositionY = "top" | "center" | "bottom";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* `background-size` keywords. In Outlook on Windows (VML), `cover` and
|
|
56
|
+
* `contain` draw a single frame when `repeat` is off and tile when it is on;
|
|
57
|
+
* `auto` always tiles from the top center, whatever `position` and `repeat`
|
|
58
|
+
* say.
|
|
59
|
+
*/
|
|
60
|
+
declare type BackgroundSize = "cover" | "contain" | "auto";
|
|
61
|
+
|
|
20
62
|
declare interface BaseBlock {
|
|
21
63
|
id: string;
|
|
22
64
|
type: string;
|
|
@@ -497,6 +539,14 @@ declare interface CustomBlock extends BaseBlock {
|
|
|
497
539
|
customType: string;
|
|
498
540
|
fieldValues: Record<string, unknown>;
|
|
499
541
|
renderedHtml?: string;
|
|
542
|
+
/**
|
|
543
|
+
* The definition's `stylesheet`, copied in when `renderedHtml` is written.
|
|
544
|
+
* A render provider's backend, and Cloud rendering from storage, have no
|
|
545
|
+
* definition to ask, so `@templatical/renderer` emits this when no
|
|
546
|
+
* `getCustomBlockStylesheet` resolver is passed. A resolver, when passed,
|
|
547
|
+
* decides every type, so a stale copy never overrides a live definition.
|
|
548
|
+
*/
|
|
549
|
+
renderedStylesheet?: string;
|
|
500
550
|
dataSourceFetched?: boolean;
|
|
501
551
|
}
|
|
502
552
|
|
|
@@ -745,6 +795,9 @@ export declare function getSupportedLocales(): string[];
|
|
|
745
795
|
|
|
746
796
|
declare type HeadingLevel = 1 | 2 | 3 | 4;
|
|
747
797
|
|
|
798
|
+
/** Where a hero's content sits in its box. */
|
|
799
|
+
declare type HeroVerticalAlign = "top" | "middle" | "bottom";
|
|
800
|
+
|
|
748
801
|
declare interface HtmlBlock extends BaseBlock {
|
|
749
802
|
type: "html";
|
|
750
803
|
content: string;
|
|
@@ -774,6 +827,15 @@ declare interface ImageBlock extends BaseBlock {
|
|
|
774
827
|
* clients don't support `object-fit`.
|
|
775
828
|
*/
|
|
776
829
|
height?: number;
|
|
830
|
+
/**
|
|
831
|
+
* The image file's own size in px, when known: given by the media library,
|
|
832
|
+
* read by an importer, or measured in the editor during an edit. Both or
|
|
833
|
+
* neither; one without the other reads as unknown. It drives the editor's
|
|
834
|
+
* aspect-ratio lock and is never rendered. Cleared when `src` changes
|
|
835
|
+
* without a new size alongside it.
|
|
836
|
+
*/
|
|
837
|
+
naturalWidth?: number;
|
|
838
|
+
naturalHeight?: number;
|
|
777
839
|
align: "left" | "center" | "right";
|
|
778
840
|
/**
|
|
779
841
|
* Corner radius in px. Omitted/0 = square corners. A radius of at least half
|
|
@@ -1274,6 +1336,13 @@ export declare interface MediaRequestContext {
|
|
|
1274
1336
|
declare interface MediaResult {
|
|
1275
1337
|
url: string;
|
|
1276
1338
|
alt?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* The file's own size in px, when the source knows it. An image block stores
|
|
1341
|
+
* it as `naturalWidth` / `naturalHeight` for its aspect-ratio lock, and a
|
|
1342
|
+
* section's background image for a hero's shape. Both or neither.
|
|
1343
|
+
*/
|
|
1344
|
+
width?: number;
|
|
1345
|
+
height?: number;
|
|
1277
1346
|
}
|
|
1278
1347
|
|
|
1279
1348
|
/**
|
|
@@ -1447,14 +1516,16 @@ declare interface PreviewResolveContext {
|
|
|
1447
1516
|
*/
|
|
1448
1517
|
export declare interface RenderPayload {
|
|
1449
1518
|
/**
|
|
1450
|
-
* The template to render, with every custom block's `renderedHtml`
|
|
1451
|
-
* filled in.
|
|
1519
|
+
* The template to render, with every custom block's `renderedHtml` and
|
|
1520
|
+
* `renderedStylesheet` already filled in.
|
|
1452
1521
|
*
|
|
1453
1522
|
* This is the part a server genuinely cannot do: a custom block's HTML comes
|
|
1454
1523
|
* from the consumer's liquid template plus the block's field values, and the
|
|
1455
1524
|
* template registration lives in the browser. A renderer that receives a
|
|
1456
1525
|
* custom block with neither a resolver nor `renderedHtml` omits it silently,
|
|
1457
|
-
* so pre-rendering is a contract obligation, not an optimisation.
|
|
1526
|
+
* so pre-rendering is a contract obligation, not an optimisation. The same
|
|
1527
|
+
* holds for the definition's stylesheet (media queries, hover rules), which
|
|
1528
|
+
* the renderer emits from `renderedStylesheet` when given no resolver.
|
|
1458
1529
|
*
|
|
1459
1530
|
* A defensive copy — mutating it does not touch what the user is editing.
|
|
1460
1531
|
*/
|
|
@@ -1783,10 +1854,41 @@ declare interface SectionBlock extends BaseBlock {
|
|
|
1783
1854
|
* width 0 is not drawn.
|
|
1784
1855
|
*/
|
|
1785
1856
|
border?: BorderValue;
|
|
1857
|
+
/**
|
|
1858
|
+
* Image behind the section's columns, rendered as `background-url` (plus
|
|
1859
|
+
* size, position and repeat) on the `mj-section`. `styles.backgroundColor`
|
|
1860
|
+
* is its fallback.
|
|
1861
|
+
*/
|
|
1862
|
+
backgroundImage?: BackgroundImage;
|
|
1863
|
+
/**
|
|
1864
|
+
* Draws a one-column section with a background image as an `mj-hero`: the
|
|
1865
|
+
* image fills the box and the content sits on top. Ignored (the section
|
|
1866
|
+
* renders as a regular one, and the `structure` linter says why) with more
|
|
1867
|
+
* than one column, without an image, or with `height: "image"` and no
|
|
1868
|
+
* image size.
|
|
1869
|
+
*/
|
|
1870
|
+
hero?: SectionHero;
|
|
1786
1871
|
/** Optional outer frame (rendered as an `mj-wrapper` around the section). */
|
|
1787
1872
|
wrapper?: SectionWrapper;
|
|
1788
1873
|
}
|
|
1789
1874
|
|
|
1875
|
+
/**
|
|
1876
|
+
* Draws a one-column section as an MJML `mj-hero`: its background image
|
|
1877
|
+
* fills the box (always `cover`, never tiled) and the content sits on top of
|
|
1878
|
+
* it. A hero applies only to a one-column section with a background image;
|
|
1879
|
+
* otherwise the section renders as a regular one.
|
|
1880
|
+
*/
|
|
1881
|
+
declare interface SectionHero {
|
|
1882
|
+
/**
|
|
1883
|
+
* `"image"` makes the box as tall as the image drawn across its desktop
|
|
1884
|
+
* width, and needs the image's size on `backgroundImage.naturalWidth` /
|
|
1885
|
+
* `naturalHeight`; a phone keeps that height and crops the image's sides.
|
|
1886
|
+
* A number is the box's fixed height in px, padding included.
|
|
1887
|
+
*/
|
|
1888
|
+
height: "image" | number;
|
|
1889
|
+
verticalAlign: HeroVerticalAlign;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1790
1892
|
/**
|
|
1791
1893
|
* Optional outer frame for a section. When present, the section is rendered
|
|
1792
1894
|
* inside an `mj-wrapper` — a band (its own background + padding) that frames
|
|
@@ -1801,6 +1903,8 @@ declare interface SectionWrapper {
|
|
|
1801
1903
|
* corner. Omitted/0 = square corners.
|
|
1802
1904
|
*/
|
|
1803
1905
|
borderRadius?: BorderRadiusValue;
|
|
1906
|
+
/** Image behind the band; `backgroundColor` is its fallback. */
|
|
1907
|
+
backgroundImage?: BackgroundImage;
|
|
1804
1908
|
}
|
|
1805
1909
|
|
|
1806
1910
|
declare interface SelectOption {
|
|
@@ -2406,9 +2510,11 @@ export declare interface TemplaticalCloudEditorConfig {
|
|
|
2406
2510
|
* Allowlist + order for the block palette. When non-empty, only the listed
|
|
2407
2511
|
* block types appear in the sidebar palette, in this order; unlisted
|
|
2408
2512
|
* built-ins are hidden. Built-ins use their bare type (`'image'`), custom
|
|
2409
|
-
* blocks the `custom:`-prefixed type (`'custom:qrcode'`).
|
|
2410
|
-
*
|
|
2411
|
-
*
|
|
2513
|
+
* blocks the `custom:`-prefixed type (`'custom:qrcode'`). `'hero'` is a
|
|
2514
|
+
* shortcut, not a block type: it inserts a one-column section in hero mode
|
|
2515
|
+
* with starter content. Unknown entries are warned and skipped. Omit it or
|
|
2516
|
+
* pass `[]` for the full default palette. See `paletteBlocks` on the OSS
|
|
2517
|
+
* editor config for details.
|
|
2412
2518
|
*/
|
|
2413
2519
|
paletteBlocks?: string[];
|
|
2414
2520
|
/**
|
|
@@ -2881,9 +2987,11 @@ export declare interface TemplaticalEditorConfig {
|
|
|
2881
2987
|
* fall back to displaying the src verbatim. Note the caching applies to
|
|
2882
2988
|
* transient failures too: a src that failed to resolve stays unresolved
|
|
2883
2989
|
* until the editor is re-initialized (a re-resolve hook may be added
|
|
2884
|
-
* later). Applies to image srcs, design-time placeholder previews,
|
|
2885
|
-
*
|
|
2886
|
-
* Vimeo) are already real URLs and
|
|
2990
|
+
* later). Applies to image srcs, design-time placeholder previews, explicit
|
|
2991
|
+
* video thumbnails, and section and wrapper background images;
|
|
2992
|
+
* auto-derived provider thumbnails (YouTube/Vimeo) are already real URLs and
|
|
2993
|
+
* are never resolved, and a background image whose URL holds a merge tag is
|
|
2994
|
+
* neither resolved nor painted.
|
|
2887
2995
|
*/
|
|
2888
2996
|
resolveImageUrl?: ResolveImageUrl;
|
|
2889
2997
|
mergeTags?: MergeTagsConfig;
|
|
@@ -2911,6 +3019,9 @@ export declare interface TemplaticalEditorConfig {
|
|
|
2911
3019
|
* paletteBlocks: ['section', 'title', 'image', 'custom:qrcode', 'button']
|
|
2912
3020
|
* ```
|
|
2913
3021
|
*
|
|
3022
|
+
* `'hero'` is a shortcut, not a block type: it inserts a one-column section
|
|
3023
|
+
* in hero mode with starter content.
|
|
3024
|
+
*
|
|
2914
3025
|
* Unknown entries — a typo, an unregistered custom block, or `countdown`
|
|
2915
3026
|
* outside a Cloud plan — are logged with a warning and skipped. Filtering
|
|
2916
3027
|
* the palette never affects rendering: existing content using a hidden
|
|
@@ -3475,13 +3586,15 @@ export declare type ViewportSize = "desktop" | "mobile";
|
|
|
3475
3586
|
|
|
3476
3587
|
/**
|
|
3477
3588
|
* Layout-only band rendered as `mj-wrapper`. The block is the band:
|
|
3478
|
-
* `styles.backgroundColor` / `styles.padding` / `borderRadius`
|
|
3479
|
-
* wrapper. Legal in layout only
|
|
3589
|
+
* `styles.backgroundColor` / `styles.padding` / `borderRadius` /
|
|
3590
|
+
* `backgroundImage` map to the wrapper. Legal in layout only.
|
|
3480
3591
|
*/
|
|
3481
3592
|
declare interface WrapperBlock extends BaseBlock {
|
|
3482
3593
|
type: "wrapper";
|
|
3483
3594
|
children: Block[];
|
|
3484
3595
|
borderRadius?: number;
|
|
3596
|
+
/** Image behind the band; `styles.backgroundColor` is its fallback. */
|
|
3597
|
+
backgroundImage?: BackgroundImage;
|
|
3485
3598
|
}
|
|
3486
3599
|
|
|
3487
3600
|
export { }
|