@templatical/editor 0.47.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-BPOv5Ra8.js → AiChatSidebar-DxPHFNoT.js} +8 -8
- package/dist/{AiFeatureMenu-H_WT4YR8.js → AiFeatureMenu-C8GVqu1d.js} +4 -4
- package/dist/{BlockIssueBadge-AgO5abEB.js → BlockIssueBadge-BShkuJis.js} +2 -2
- package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
- package/dist/{CloudHeaderExtras-gXsTYoGG.js → CloudHeaderExtras-CUSftQdm.js} +2 -2
- package/dist/{CloudPanels-H_GdbOfZ.js → CloudPanels-Dgw7tb4R.js} +4 -4
- package/dist/{CollaboratorBar-BazGNMqN.js → CollaboratorBar-5rfopCPx.js} +2 -2
- package/dist/{CommentsPanel-CMgsG_yh.js → CommentsPanel-DiWzYtnZ.js} +1 -1
- package/dist/{CommentsSidebar-DCh8DTP8.js → CommentsSidebar-BOqj16Al.js} +10 -10
- package/dist/{CountdownToolbar-DVuucA3v.js → CountdownToolbar-C4y3Ft7H.js} +4 -4
- package/dist/{DesignReferenceSidebar-DxNV4lQp.js → DesignReferenceSidebar-BWAi3eQQ.js} +7 -7
- package/dist/{IssuesPanel-CUpW54P4.js → IssuesPanel-C-x3I012.js} +5 -5
- package/dist/{LogicTagInsertButton-DDYKnqmj.js → LogicTagInsertButton-B1_Wy0AN.js} +6 -6
- package/dist/{MediaEditModal-D_we0Scr.js → MediaEditModal-ByOvznRC.js} +1 -1
- package/dist/{MediaPanels-L95BwWV1.js → MediaPanels-9mDBv4aL.js} +1 -1
- package/dist/{MergeTagInput-DAL998tx.js → MergeTagInput-fOewuF27.js} +1 -1
- package/dist/{MergeTagModeToggle-CjHO26rb.js → MergeTagModeToggle-BXamLcv7.js} +4 -4
- package/dist/{ParagraphEditor-CcEN1N6n.js → ParagraphEditor-BVjOwwHx.js} +131 -131
- package/dist/{RestoreVersionDialog-B2OH5rgs.js → RestoreVersionDialog-BEKXx9xk.js} +3 -3
- package/dist/{RichTextEditorContent-BGeTg-QL.js → RichTextEditorContent-D7kp7iig.js} +4 -4
- package/dist/{SaveBlockDialog-CCVyU-7y.js → SaveBlockDialog-SJu0lecx.js} +32 -33
- package/dist/{SavedBlocksBrowserModal-_WmSeqIh.js → SavedBlocksBrowserModal-DbmIS5uK.js} +9 -9
- package/dist/{SavedBlocksPanels-DVX_ruQ7.js → SavedBlocksPanels-Dr5Fxx9Z.js} +1 -1
- package/dist/{SavedBlocksPickBar-DVJC28hP.js → SavedBlocksPickBar-DnEWBZJy.js} +2 -2
- package/dist/{TemplateScoringPanel-U0QFiwdI.js → TemplateScoringPanel-ynbGl-sr.js} +11 -11
- package/dist/{TemplateSettings-CdhTm9JQ.js → TemplateSettings-Bi01S3H3.js} +7 -7
- package/dist/{TestEmailModal-BqToA_ls.js → TestEmailModal-CbRY8HQx.js} +7 -7
- package/dist/{TestEmailPanel-Cn4Ptq0j.js → TestEmailPanel-NAOmt3xi.js} +1 -1
- package/dist/{TitleEditor-CZdqeltH.js → TitleEditor-Cc3DHbuN.js} +8 -8
- package/dist/{ToggleSwitch-BR8Sgzib.js → ToggleSwitch-Ozc7YU38.js} +1 -1
- package/dist/Toolbar-B-2lO0I8.js +3156 -0
- package/dist/{TplModal-CoczSDma.js → TplModal-Bz4-IZ9R.js} +1 -1
- package/dist/{VersionHistoryMenu-DY5z5FZr.js → VersionHistoryMenu-CjV1d1zk.js} +5 -5
- package/dist/{VersionHistoryPanels-DowHeDAQ.js → VersionHistoryPanels-BtwxrKJn.js} +1 -1
- package/dist/{VersionPreviewBanner-Bo8NxBbh.js → VersionPreviewBanner-BLAei1kj.js} +1 -1
- package/dist/WrapperBlock-D0qgNqjD.js +45 -0
- package/dist/{blockTypeIcons-4E1U8f99.js → blockTypeIcons-CEDZytqP.js} +49 -19
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-DMoGGP9L.js → ca-CbNzJM3I.js} +17 -3
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js → AiChatSidebar-Dk0rJBQN.js} +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js → AiFeatureMenu-B7b0w8ZS.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js → BlockIssueBadge-C7sdnkrF.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.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-DJXLTUHc.js → CloudHeaderExtras-B4fhuwc_.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DJXLTUHc.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js → CloudPanels-awqHfJqC.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js → CollaboratorBar-CS0ivqkr.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js → CommentsPanel-CbzxwsyI.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js → CommentsSidebar-DWPHZuQm.js} +13 -13
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js → CountdownToolbar-Cqg8FUH-.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js → DesignReferenceSidebar-BW9cHnA9.js} +7 -7
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js → IssuesPanel-cXf9ywA4.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js → LogicTagInsertButton-BMB9vShs.js} +84 -84
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js → MediaEditModal-zXfcArr4.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js → MediaPanels-Cp4XB_dH.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js → MergeTagInput-DLqrA9co.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js → MergeTagModeToggle-BRiJzzn5.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js → ParagraphEditor-D4aq9eeC.js} +35 -35
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js.map → ParagraphEditor-D4aq9eeC.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js → RestoreVersionDialog-BgR6RXSb.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js → RichTextEditorContent-C4DMAn0g.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js → SaveBlockDialog-BaIsQd09.js} +23 -24
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js → SavedBlocksBrowserModal-CtnB58p_.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js → SavedBlocksPanels-BhEOMzEQ.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js → SavedBlocksPickBar-CcdqTEIp.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js → TemplateScoringPanel-BrWqJCSP.js} +6 -6
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js → TemplateSettings-BkkWTDHD.js} +10 -10
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js.map → TemplateSettings-BkkWTDHD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js → TestEmailModal-V5mwHsUV.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js → TestEmailPanel-DxrKuctP.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js → TitleEditor-CsZiG3TT.js} +13 -13
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js → ToggleSwitch-BB-bQADJ.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.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-WIBiBrGy.js → TplModal-DC_eodTV.js} +2 -2
- package/dist/cdn/chunks/{TplModal-WIBiBrGy.js.map → TplModal-DC_eodTV.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js → VersionHistoryMenu-DXnM5Df2.js} +7 -7
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js → VersionHistoryPanels-DXSqmaLS.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js → VersionPreviewBanner-DKyN6BhO.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.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/{ca-DMoGGP9L.js → cdn/chunks/ca-CbNzJM3I.js} +19 -1
- package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
- package/dist/cdn/chunks/{cloud-Cd7ptfhL.js → cloud-BHClP3e2.js} +2 -2
- package/dist/cdn/chunks/{cloud-Cd7ptfhL.js.map → cloud-BHClP3e2.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js → createCloudRuntime-Vd0N4elZ.js} +4 -4
- package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js.map → createCloudRuntime-Vd0N4elZ.js.map} +1 -1
- package/dist/cdn/chunks/{de-DgAelLbM.js → de-DMquBpZM.js} +18 -2
- package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js → editor-modal-vEEmZ8Tu.js} +88 -88
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
- package/dist/cdn/chunks/{en-Dekrl7HA.js → en-C8Mp71sO.js} +18 -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-BaZzyidV.js → es-Byq4tthI.js} +18 -2
- package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js → extensions-hJ9VqzDc.js} +4 -4
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js.map → extensions-hJ9VqzDc.js.map} +1 -1
- package/dist/{fr-C5ucb1HK.js → cdn/chunks/fr-B3j35HEw.js} +19 -1
- package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
- package/dist/cdn/chunks/{icons-C4fX9Bwy.js → icons-aTYwH5-g.js} +123 -94
- package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
- package/dist/{ja-CUgR3mV0.js → cdn/chunks/ja-D7txAuGS.js} +19 -1
- package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
- package/dist/{nl-qrLY7hMS.js → cdn/chunks/nl-ClJ3BY3F.js} +19 -1
- package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js → preRenderCustomBlocks-ByfuSjtL.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js.map → preRenderCustomBlocks-ByfuSjtL.js.map} +1 -1
- package/dist/{pt-BR-C6hMTQYi.js → cdn/chunks/pt-BR-DibcXcmv.js} +19 -1
- package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-DACw1wA8.js → socialIcons-C_lnkpG6.js} +355 -179
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
- package/dist/cdn/chunks/{src-BnJlDuyB.js → src-DYCDeBDM.js} +219 -181
- package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
- package/dist/cdn/chunks/{src-CHlVFp7r.js → src-DlFlC9Tt.js} +267 -241
- package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
- package/dist/cdn/chunks/{src-Bu0qBpbf.js → src-dZ4D_tuP.js} +226 -193
- package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
- package/dist/cdn/chunks/{useEditorCore-Bf2d1DKI.js → useEditorCore-Bb2UcB20.js} +722 -717
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js → useLogicTag-HsyUCQtl.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js → useMergeTag-Dg9pE85U.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js → withCurrentFont-oLcATrQ8.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +403 -397
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-B5R4zXr7.js → check-ClwqRMgv.js} +1 -1
- package/dist/{chevron-down-BKyl85NV.js → chevron-down-te6qn-zE.js} +1 -1
- package/dist/{chevron-right-BmToZ8qX.js → chevron-right-W2hbH1FM.js} +1 -1
- package/dist/{chevron-up-DNYdOxPC.js → chevron-up-Bf5Zo7o4.js} +1 -1
- package/dist/{circle-alert-Dx9ju3YZ.js → circle-alert-CIEGV5DN.js} +1 -1
- package/dist/{clock-Dv9bxsSH.js → clock-Y4cx0gkJ.js} +1 -1
- package/dist/{cloud-DwjaAdwK.js → cloud-B5xwm_4X.js} +1 -1
- package/dist/{copy-BsKl4dcy.js → copy-BEcsAlfB.js} +1 -1
- package/dist/{createCloudRuntime-C8gpPsSi.js → createCloudRuntime-zNPkF6T9.js} +3 -3
- package/dist/{createLucideIcon-DziKp5iU.js → createLucideIcon-CYHXK9hn.js} +5 -5
- package/dist/{de-DgAelLbM.js → de-DMquBpZM.js} +17 -1
- package/dist/{dist-C8koXLhl.js → dist-tsmnQugO.js} +285 -249
- package/dist/{editor-modal-BwyIUnV_.js → editor-modal-AlVLkU91.js} +23 -23
- package/dist/en-B0FUfNwz.js +1 -0
- package/dist/{en-Dekrl7HA.js → en-C8Mp71sO.js} +17 -1
- package/dist/{es-BaZzyidV.js → es-Byq4tthI.js} +17 -1
- package/dist/{extensions-DHyKjsNZ.js → extensions-pjO8VGkM.js} +3 -3
- package/dist/{eye-DQuinb9k.js → eye-Ddnz8nnm.js} +1 -1
- package/dist/{cdn/chunks/fr-C5ucb1HK.js → fr-B3j35HEw.js} +17 -3
- package/dist/{image-up-yTfLjOrj.js → image-up-CM_HC0Dx.js} +1 -1
- package/dist/index.d.ts +66 -3
- package/dist/{info-C7OjlS11.js → info-DXLmzoeY.js} +1 -1
- package/dist/{cdn/chunks/ja-CUgR3mV0.js → ja-D7txAuGS.js} +17 -3
- package/dist/{link-CrUFaZ0t.js → link-Cel46wgo.js} +1 -1
- package/dist/{list-CLgv6M-k.js → list-Cl0GwiV9.js} +1 -1
- package/dist/{loader-circle-BXM5VO0K.js → loader-circle-uAwpvfys.js} +1 -1
- package/dist/{message-circle-BisdQ8H9.js → message-circle-DWU1pTM_.js} +1 -1
- package/dist/{cdn/chunks/nl-qrLY7hMS.js → nl-ClJ3BY3F.js} +17 -3
- package/dist/{package-C1T4AxV1.js → package-CbyG_yU_.js} +1 -1
- package/dist/{pencil-oo2mwf4C.js → pencil-BzoDcwKu.js} +1 -1
- package/dist/{plus-BIilXopD.js → plus-8cDvoCjZ.js} +1 -1
- package/dist/{preRenderCustomBlocks-lFX0HHiV.js → preRenderCustomBlocks-DMP5RuHl.js} +3 -3
- package/dist/{cdn/chunks/pt-BR-C6hMTQYi.js → pt-BR-DibcXcmv.js} +17 -3
- package/dist/{refresh-cw-DrLlkEVC.js → refresh-cw-9WinWixo.js} +1 -1
- package/dist/{search-DNu9lImk.js → search-CqgGq1gG.js} +1 -1
- package/dist/{send-DDNh3LoJ.js → send-Ceo3c9Db.js} +1 -1
- package/dist/{shield-check-aXM3o14f.js → shield-check-uDAwur5D.js} +1 -1
- package/dist/{smartphone-isccgDee.js → smartphone-CcLaCpGK.js} +1 -1
- package/dist/{socialIcons-BctavKBN.js → socialIcons-PTiwhLoC.js} +332 -153
- package/dist/{sparkles-CIMfFxKv.js → sparkles-Do9XjAuT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +549 -543
- package/dist/{text-align-start-C4JFeqsq.js → text-align-start-DvzC0HQA.js} +1 -1
- package/dist/timeouts-Cv2jvusx.js +4 -0
- package/dist/{trash-8ZD9pK_c.js → trash-vlINTx32.js} +1 -1
- package/dist/{triangle-alert-pq45xEHl.js → triangle-alert-MRYSJ9T2.js} +1 -1
- package/dist/{upload-DrNFmVes.js → upload-CtNOI6J2.js} +1 -1
- package/dist/{useEditorCore-BcT7UI4e.js → useEditorCore-PvErWWsp.js} +963 -957
- package/dist/{useLogicTag-D-dI8H6p.js → useLogicTag-BHn67tDd.js} +1 -1
- package/dist/{useMergeTag-5wMeDBi-.js → useMergeTag-CRkm5Ig6.js} +1 -1
- package/dist/{useScrollToBlock-Do3suaqp.js → useScrollToBlock-CXmcHQQN.js} +1 -1
- package/dist/{withCurrentFont-B4YnsG_2.js → withCurrentFont-CxRGeHO3.js} +1 -1
- package/dist/{x-CBFKGLB1.js → x-Cd6SFw8r.js} +1 -1
- package/package.json +8 -8
- package/dist/BlockPreviewCanvas-CZDBSPoG.js +0 -136
- package/dist/Toolbar-OGakTBEg.js +0 -2851
- package/dist/WrapperBlock-BOABSX9W.js +0 -46
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +0 -138
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-Ik54UO_-.js +0 -2767
- package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +0 -48
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js.map +0 -1
- package/dist/cdn/chunks/ca-DMoGGP9L.js.map +0 -1
- package/dist/cdn/chunks/de-DgAelLbM.js.map +0 -1
- package/dist/cdn/chunks/en-BANFWZdr.js +0 -1
- package/dist/cdn/chunks/en-Dekrl7HA.js.map +0 -1
- package/dist/cdn/chunks/es-BaZzyidV.js.map +0 -1
- package/dist/cdn/chunks/fr-C5ucb1HK.js.map +0 -1
- package/dist/cdn/chunks/icons-C4fX9Bwy.js.map +0 -1
- package/dist/cdn/chunks/ja-CUgR3mV0.js.map +0 -1
- package/dist/cdn/chunks/nl-qrLY7hMS.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +0 -1
- package/dist/cdn/chunks/src-BnJlDuyB.js.map +0 -1
- package/dist/cdn/chunks/src-Bu0qBpbf.js.map +0 -1
- package/dist/cdn/chunks/src-CHlVFp7r.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/useEditorCore-Bf2d1DKI.js.map +0 -1
- package/dist/en-CC-57eC_.js +0 -1
- package/dist/timeouts-DHPZQ0G3.js +0 -4
|
@@ -2,20 +2,20 @@ 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
|
|
|
2
2
|
import { a as k, c as A, s as j, t as M } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
|
|
3
3
|
import { h as N } from "./dist-CUWI-IvA.js";
|
|
4
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-
|
|
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
|
|
11
|
-
import { t as
|
|
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-
|
|
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",
|
|
@@ -368,7 +368,7 @@ var ve = {
|
|
|
368
368
|
function re() {
|
|
369
369
|
w.value ? (a("deleteFolder", i.folder.id), w.value = !1) : w.value = !0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function ie(e) {
|
|
372
372
|
let t = e.relatedTarget;
|
|
373
373
|
t && e.currentTarget.contains(t) || (w.value = !1);
|
|
374
374
|
}
|
|
@@ -381,7 +381,7 @@ var ve = {
|
|
|
381
381
|
backgroundColor: M.value ? "var(--tpl-bg-active)" : "transparent",
|
|
382
382
|
color: M.value ? "var(--tpl-primary)" : "var(--tpl-text)"
|
|
383
383
|
}),
|
|
384
|
-
onFocusout:
|
|
384
|
+
onFocusout: ie
|
|
385
385
|
}, [
|
|
386
386
|
E.value || v.value ? (e(), h("button", {
|
|
387
387
|
key: 0,
|
|
@@ -1917,7 +1917,7 @@ function mn(e) {
|
|
|
1917
1917
|
e.onError?.(t);
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
|
-
async function
|
|
1920
|
+
async function ie(r, i, a) {
|
|
1921
1921
|
let { update: o } = t;
|
|
1922
1922
|
if (typeof o != "function") return !1;
|
|
1923
1923
|
try {
|
|
@@ -1929,7 +1929,7 @@ function mn(e) {
|
|
|
1929
1929
|
return e.onError?.(t), !1;
|
|
1930
1930
|
}
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function V(e) {
|
|
1933
1933
|
let t = /* @__PURE__ */ new Map();
|
|
1934
1934
|
for (let r of n.value) e.includes(r.id) && t.set(r.id, r);
|
|
1935
1935
|
for (let n of _.value) e.includes(n.id) && !t.has(n.id) && t.set(n.id, n);
|
|
@@ -1942,7 +1942,7 @@ function mn(e) {
|
|
|
1942
1942
|
if (h.value.size === 0) return;
|
|
1943
1943
|
let { delete: n } = t;
|
|
1944
1944
|
if (typeof n != "function") return;
|
|
1945
|
-
let r = [...h.value], i =
|
|
1945
|
+
let r = [...h.value], i = V(r);
|
|
1946
1946
|
try {
|
|
1947
1947
|
await n(r), H(r);
|
|
1948
1948
|
for (let e of i) j(() => t.onDeleted?.(e));
|
|
@@ -1975,7 +1975,7 @@ function mn(e) {
|
|
|
1975
1975
|
async function se() {
|
|
1976
1976
|
let { delete: n } = t;
|
|
1977
1977
|
if (typeof n != "function" || (y.value = !1, b.value.length === 0)) return;
|
|
1978
|
-
let r = b.value, i =
|
|
1978
|
+
let r = b.value, i = V(r);
|
|
1979
1979
|
try {
|
|
1980
1980
|
await n(r), H(r), b.value = [], v.value = {};
|
|
1981
1981
|
for (let e of i) j(() => t.onDeleted?.(e));
|
|
@@ -2126,7 +2126,7 @@ function mn(e) {
|
|
|
2126
2126
|
uploadFile: te,
|
|
2127
2127
|
uploadFiles: ne,
|
|
2128
2128
|
moveSelected: re,
|
|
2129
|
-
updateFile:
|
|
2129
|
+
updateFile: ie,
|
|
2130
2130
|
deleteSelected: ae,
|
|
2131
2131
|
isImportingFromUrl: x,
|
|
2132
2132
|
importFromUrlError: S,
|
|
@@ -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",
|
|
@@ -131,7 +132,9 @@ var e = {
|
|
|
131
132
|
borderRadius: "Border Radius",
|
|
132
133
|
wrapperEnable: "Add wrapper",
|
|
133
134
|
wrapperLayoutConflict: "This editor already frames the email. An extra frame on this section isn't supported — preview and export will fail.",
|
|
134
|
-
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"
|
|
135
138
|
},
|
|
136
139
|
linkDialog: {
|
|
137
140
|
editLink: "Edit Link",
|
|
@@ -173,6 +176,9 @@ var e = {
|
|
|
173
176
|
height: "Height",
|
|
174
177
|
heightAuto: "Auto",
|
|
175
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",
|
|
176
182
|
borderRadius: "Border Radius",
|
|
177
183
|
linkUrl: "Link URL",
|
|
178
184
|
openInNewTab: "Open in new tab",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "Bottom center",
|
|
397
403
|
backgroundPositionBottomRight: "Bottom right",
|
|
398
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.",
|
|
399
415
|
display: "Display",
|
|
400
416
|
showOnDesktop: "Show on desktop",
|
|
401
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",
|
|
@@ -131,7 +132,9 @@ var e = {
|
|
|
131
132
|
borderRadius: "Radio del borde",
|
|
132
133
|
wrapperEnable: "Añadir contenedor",
|
|
133
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.",
|
|
134
|
-
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"
|
|
135
138
|
},
|
|
136
139
|
linkDialog: {
|
|
137
140
|
editLink: "Editar enlace",
|
|
@@ -173,6 +176,9 @@ var e = {
|
|
|
173
176
|
height: "Altura",
|
|
174
177
|
heightAuto: "Automática",
|
|
175
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",
|
|
176
182
|
borderRadius: "Radio del borde",
|
|
177
183
|
linkUrl: "URL del enlace",
|
|
178
184
|
openInNewTab: "Abrir en una nueva pestaña",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "Abajo en el centro",
|
|
397
403
|
backgroundPositionBottomRight: "Abajo a la derecha",
|
|
398
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.",
|
|
399
415
|
display: "Visualización",
|
|
400
416
|
showOnDesktop: "Mostrar en escritorio",
|
|
401
417
|
showOnMobile: "Mostrar en móvil",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
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
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,
|
|
3
|
+
import { H as y, U as b, X as x, u as S } from "./dist-tsmnQugO.js";
|
|
4
4
|
import { t as C } from "./useI18n-CxVEpurs.js";
|
|
5
|
-
import { a as w, o as T, s as E } from "./LogicTagInsertButton-
|
|
6
|
-
import { t as D } from "./useMergeTag-
|
|
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
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
8
|
import { n as F, t as re } from "./dist-DuufrR8O.js";
|
|
9
9
|
//#region src/extensions/FontSize.ts
|
|
@@ -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",
|
|
@@ -132,7 +133,9 @@ var e = {
|
|
|
132
133
|
borderRadius: "Rayon de bordure",
|
|
133
134
|
wrapperEnable: "Ajouter un conteneur",
|
|
134
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.",
|
|
135
|
-
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"
|
|
136
139
|
},
|
|
137
140
|
linkDialog: {
|
|
138
141
|
editLink: "Modifier le lien",
|
|
@@ -174,6 +177,9 @@ var e = {
|
|
|
174
177
|
height: "Hauteur",
|
|
175
178
|
heightAuto: "Automatique",
|
|
176
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",
|
|
177
183
|
borderRadius: "Rayon de bordure",
|
|
178
184
|
linkUrl: "URL du lien",
|
|
179
185
|
openInNewTab: "Ouvrir dans un nouvel onglet",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "En bas au centre",
|
|
397
403
|
backgroundPositionBottomRight: "En bas à droite",
|
|
398
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.",
|
|
399
415
|
display: "Affichage",
|
|
400
416
|
showOnDesktop: "Afficher sur ordinateur",
|
|
401
417
|
showOnMobile: "Afficher sur mobile",
|
|
@@ -659,5 +675,3 @@ var e = {
|
|
|
659
675
|
};
|
|
660
676
|
//#endregion
|
|
661
677
|
export { e as default };
|
|
662
|
-
|
|
663
|
-
//# sourceMappingURL=fr-C5ucb1HK.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,20 @@ declare interface BackgroundImage {
|
|
|
31
31
|
};
|
|
32
32
|
/** `false` paints the image once; `true` tiles it. */
|
|
33
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;
|
|
34
48
|
}
|
|
35
49
|
|
|
36
50
|
declare type BackgroundPositionX = "left" | "center" | "right";
|
|
@@ -781,6 +795,9 @@ export declare function getSupportedLocales(): string[];
|
|
|
781
795
|
|
|
782
796
|
declare type HeadingLevel = 1 | 2 | 3 | 4;
|
|
783
797
|
|
|
798
|
+
/** Where a hero's content sits in its box. */
|
|
799
|
+
declare type HeroVerticalAlign = "top" | "middle" | "bottom";
|
|
800
|
+
|
|
784
801
|
declare interface HtmlBlock extends BaseBlock {
|
|
785
802
|
type: "html";
|
|
786
803
|
content: string;
|
|
@@ -810,6 +827,15 @@ declare interface ImageBlock extends BaseBlock {
|
|
|
810
827
|
* clients don't support `object-fit`.
|
|
811
828
|
*/
|
|
812
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;
|
|
813
839
|
align: "left" | "center" | "right";
|
|
814
840
|
/**
|
|
815
841
|
* Corner radius in px. Omitted/0 = square corners. A radius of at least half
|
|
@@ -1310,6 +1336,13 @@ export declare interface MediaRequestContext {
|
|
|
1310
1336
|
declare interface MediaResult {
|
|
1311
1337
|
url: string;
|
|
1312
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;
|
|
1313
1346
|
}
|
|
1314
1347
|
|
|
1315
1348
|
/**
|
|
@@ -1827,10 +1860,35 @@ declare interface SectionBlock extends BaseBlock {
|
|
|
1827
1860
|
* is its fallback.
|
|
1828
1861
|
*/
|
|
1829
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;
|
|
1830
1871
|
/** Optional outer frame (rendered as an `mj-wrapper` around the section). */
|
|
1831
1872
|
wrapper?: SectionWrapper;
|
|
1832
1873
|
}
|
|
1833
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
|
+
|
|
1834
1892
|
/**
|
|
1835
1893
|
* Optional outer frame for a section. When present, the section is rendered
|
|
1836
1894
|
* inside an `mj-wrapper` — a band (its own background + padding) that frames
|
|
@@ -2452,9 +2510,11 @@ export declare interface TemplaticalCloudEditorConfig {
|
|
|
2452
2510
|
* Allowlist + order for the block palette. When non-empty, only the listed
|
|
2453
2511
|
* block types appear in the sidebar palette, in this order; unlisted
|
|
2454
2512
|
* built-ins are hidden. Built-ins use their bare type (`'image'`), custom
|
|
2455
|
-
* blocks the `custom:`-prefixed type (`'custom:qrcode'`).
|
|
2456
|
-
*
|
|
2457
|
-
*
|
|
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.
|
|
2458
2518
|
*/
|
|
2459
2519
|
paletteBlocks?: string[];
|
|
2460
2520
|
/**
|
|
@@ -2959,6 +3019,9 @@ export declare interface TemplaticalEditorConfig {
|
|
|
2959
3019
|
* paletteBlocks: ['section', 'title', 'image', 'custom:qrcode', 'button']
|
|
2960
3020
|
* ```
|
|
2961
3021
|
*
|
|
3022
|
+
* `'hero'` is a shortcut, not a block type: it inserts a one-column section
|
|
3023
|
+
* in hero mode with starter content.
|
|
3024
|
+
*
|
|
2962
3025
|
* Unknown entries — a typo, an unregistered custom block, or `countdown`
|
|
2963
3026
|
* outside a Cloud plan — are logged with a warning and skipped. Filtering
|
|
2964
3027
|
* the palette never affects rendering: existing content using a hidden
|
|
@@ -42,6 +42,7 @@ var e = {
|
|
|
42
42
|
},
|
|
43
43
|
blocks: {
|
|
44
44
|
section: "セクション",
|
|
45
|
+
hero: "ヒーロー",
|
|
45
46
|
image: "画像",
|
|
46
47
|
title: "見出し",
|
|
47
48
|
paragraph: "テキスト",
|
|
@@ -131,7 +132,9 @@ var e = {
|
|
|
131
132
|
borderRadius: "角の丸み",
|
|
132
133
|
wrapperEnable: "外枠を追加",
|
|
133
134
|
wrapperLayoutConflict: "このエディタはすでにメール全体に外枠を付けています。このセクションに外枠を追加することはできないため、プレビューと出力は失敗します。",
|
|
134
|
-
stackOnMobile: "モバイルでは縦に並べる"
|
|
135
|
+
stackOnMobile: "モバイルでは縦に並べる",
|
|
136
|
+
heroNeedsOneColumn: "ヒーローモードには1列が必要です。列が複数の場合、このセクションは通常のセクションとして表示されます。",
|
|
137
|
+
heroAddImage: "背景画像を追加"
|
|
135
138
|
},
|
|
136
139
|
linkDialog: {
|
|
137
140
|
editLink: "リンクを編集",
|
|
@@ -173,6 +176,9 @@ var e = {
|
|
|
173
176
|
height: "高さ",
|
|
174
177
|
heightAuto: "自動",
|
|
175
178
|
heightCustom: "カスタム",
|
|
179
|
+
lockAspectRatio: "画像の縦横比を維持",
|
|
180
|
+
unlockAspectRatio: "幅と高さを個別に設定",
|
|
181
|
+
heightCapped: "列の幅に合わせて制限(高さ {height}px)",
|
|
176
182
|
borderRadius: "角の丸み",
|
|
177
183
|
linkUrl: "リンク先URL",
|
|
178
184
|
openInNewTab: "新しいタブで開く",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "中央下",
|
|
397
403
|
backgroundPositionBottomRight: "右下",
|
|
398
404
|
backgroundRepeat: "画像を繰り返す",
|
|
405
|
+
heroHeight: "高さ",
|
|
406
|
+
heroHeightFit: "内容に合わせる",
|
|
407
|
+
heroHeightImage: "画像に合わせる",
|
|
408
|
+
heroHeightFixed: "固定",
|
|
409
|
+
heroAlign: "コンテンツの位置",
|
|
410
|
+
heroAlignTop: "上",
|
|
411
|
+
heroAlignMiddle: "中央",
|
|
412
|
+
heroAlignBottom: "下",
|
|
413
|
+
heroMatchImageMergeTag: "「画像に合わせる」には画像の直接URLが必要です。差し込み項目からはサイズを読み取れません。",
|
|
414
|
+
heroSizeUnknown: "この画像のサイズはまだ分からないため、セクションは内容の高さで表示されます。",
|
|
399
415
|
display: "表示",
|
|
400
416
|
showOnDesktop: "デスクトップで表示",
|
|
401
417
|
showOnMobile: "モバイルで表示",
|
|
@@ -659,5 +675,3 @@ var e = {
|
|
|
659
675
|
};
|
|
660
676
|
//#endregion
|
|
661
677
|
export { e as default };
|
|
662
|
-
|
|
663
|
-
//# sourceMappingURL=ja-CUgR3mV0.js.map
|
|
@@ -43,6 +43,7 @@ var e = {
|
|
|
43
43
|
},
|
|
44
44
|
blocks: {
|
|
45
45
|
section: "Sectie",
|
|
46
|
+
hero: "Hero",
|
|
46
47
|
image: "Afbeelding",
|
|
47
48
|
title: "Titel",
|
|
48
49
|
paragraph: "Alinea",
|
|
@@ -132,7 +133,9 @@ var e = {
|
|
|
132
133
|
borderRadius: "Hoekafronding",
|
|
133
134
|
wrapperEnable: "Omhulsel toevoegen",
|
|
134
135
|
wrapperLayoutConflict: "Deze editor kadert de e-mail al in. Een extra kader op deze sectie wordt niet ondersteund — voorbeeld en export zullen mislukken.",
|
|
135
|
-
stackOnMobile: "Stapelen op mobiel"
|
|
136
|
+
stackOnMobile: "Stapelen op mobiel",
|
|
137
|
+
heroNeedsOneColumn: "De hero-modus heeft één kolom nodig. Met meer kolommen wordt deze sectie als gewone sectie getoond.",
|
|
138
|
+
heroAddImage: "Voeg een achtergrondafbeelding toe"
|
|
136
139
|
},
|
|
137
140
|
linkDialog: {
|
|
138
141
|
editLink: "Link bewerken",
|
|
@@ -174,6 +177,9 @@ var e = {
|
|
|
174
177
|
height: "Hoogte",
|
|
175
178
|
heightAuto: "Automatisch",
|
|
176
179
|
heightCustom: "Aangepast",
|
|
180
|
+
lockAspectRatio: "Verhoudingen van de afbeelding behouden",
|
|
181
|
+
unlockAspectRatio: "Breedte en hoogte apart instellen",
|
|
182
|
+
heightCapped: "Beperkt tot de kolombreedte, {height}px hoog",
|
|
177
183
|
borderRadius: "Hoekafronding",
|
|
178
184
|
linkUrl: "Link-URL",
|
|
179
185
|
openInNewTab: "Openen in nieuw tabblad",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "Midden onder",
|
|
397
403
|
backgroundPositionBottomRight: "Rechtsonder",
|
|
398
404
|
backgroundRepeat: "Afbeelding herhalen",
|
|
405
|
+
heroHeight: "Hoogte",
|
|
406
|
+
heroHeightFit: "Passend bij inhoud",
|
|
407
|
+
heroHeightImage: "Zoals afbeelding",
|
|
408
|
+
heroHeightFixed: "Vast",
|
|
409
|
+
heroAlign: "Positie van inhoud",
|
|
410
|
+
heroAlignTop: "Boven",
|
|
411
|
+
heroAlignMiddle: "Midden",
|
|
412
|
+
heroAlignBottom: "Onder",
|
|
413
|
+
heroMatchImageMergeTag: "‘Zoals afbeelding’ heeft een directe afbeeldings-URL nodig: van een samenvoegveld is geen grootte te lezen.",
|
|
414
|
+
heroSizeUnknown: "De grootte van deze afbeelding is nog niet bekend, dus de sectie wordt getoond op de hoogte van de inhoud.",
|
|
399
415
|
display: "Weergave",
|
|
400
416
|
showOnDesktop: "Tonen op desktop",
|
|
401
417
|
showOnMobile: "Tonen op mobiel",
|
|
@@ -659,5 +675,3 @@ var e = {
|
|
|
659
675
|
};
|
|
660
676
|
//#endregion
|
|
661
677
|
export { e as default };
|
|
662
|
-
|
|
663
|
-
//# sourceMappingURL=nl-qrLY7hMS.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as e, Y as t, tt as n } from "./dist-tsmnQugO.js";
|
|
2
2
|
//#region src/utils/preRenderCustomBlocks.ts
|
|
3
3
|
async function r(r, i) {
|
|
4
4
|
let a = async (r) => {
|
|
5
|
-
if (
|
|
5
|
+
if (t(r)) {
|
|
6
6
|
let e = r;
|
|
7
7
|
try {
|
|
8
8
|
e.renderedHtml = await i.renderCustomBlock(e);
|
|
@@ -12,7 +12,7 @@ async function r(r, i) {
|
|
|
12
12
|
let t = i.getCustomBlockStylesheet(e.customType);
|
|
13
13
|
t?.trim() ? e.renderedStylesheet = t : delete e.renderedStylesheet;
|
|
14
14
|
}
|
|
15
|
-
if (
|
|
15
|
+
if (e(r)) for (let e of r.children) for (let t of e) await a(t);
|
|
16
16
|
else if (n(r)) for (let e of r.children) await a(e);
|
|
17
17
|
};
|
|
18
18
|
for (let e of r.blocks) await a(e);
|
|
@@ -42,6 +42,7 @@ var e = {
|
|
|
42
42
|
},
|
|
43
43
|
blocks: {
|
|
44
44
|
section: "Seção",
|
|
45
|
+
hero: "Hero",
|
|
45
46
|
image: "Imagem",
|
|
46
47
|
title: "Título",
|
|
47
48
|
paragraph: "Parágrafo",
|
|
@@ -131,7 +132,9 @@ var e = {
|
|
|
131
132
|
borderRadius: "Arredondamento das Bordas",
|
|
132
133
|
wrapperEnable: "Adicionar wrapper",
|
|
133
134
|
wrapperLayoutConflict: "Este editor já emoldura o e-mail. Um quadro extra nesta seção não é suportado — a visualização e a exportação falharão.",
|
|
134
|
-
stackOnMobile: "Empilhar no celular"
|
|
135
|
+
stackOnMobile: "Empilhar no celular",
|
|
136
|
+
heroNeedsOneColumn: "O modo hero precisa de uma coluna. Com mais colunas, esta seção aparece como uma seção normal.",
|
|
137
|
+
heroAddImage: "Adicione uma imagem de fundo"
|
|
135
138
|
},
|
|
136
139
|
linkDialog: {
|
|
137
140
|
editLink: "Editar Link",
|
|
@@ -173,6 +176,9 @@ var e = {
|
|
|
173
176
|
height: "Altura",
|
|
174
177
|
heightAuto: "Automática",
|
|
175
178
|
heightCustom: "Personalizada",
|
|
179
|
+
lockAspectRatio: "Manter as proporções da imagem",
|
|
180
|
+
unlockAspectRatio: "Definir largura e altura separadamente",
|
|
181
|
+
heightCapped: "Limitada à largura da coluna, {height}px de altura",
|
|
176
182
|
borderRadius: "Arredondamento das Bordas",
|
|
177
183
|
linkUrl: "URL do Link",
|
|
178
184
|
openInNewTab: "Abrir em nova aba",
|
|
@@ -396,6 +402,16 @@ var e = {
|
|
|
396
402
|
backgroundPositionBottomCenter: "Embaixo no centro",
|
|
397
403
|
backgroundPositionBottomRight: "Embaixo à direita",
|
|
398
404
|
backgroundRepeat: "Repetir imagem",
|
|
405
|
+
heroHeight: "Altura",
|
|
406
|
+
heroHeightFit: "Ajustar ao conteúdo",
|
|
407
|
+
heroHeightImage: "Igual à imagem",
|
|
408
|
+
heroHeightFixed: "Fixa",
|
|
409
|
+
heroAlign: "Posição do conteúdo",
|
|
410
|
+
heroAlignTop: "Topo",
|
|
411
|
+
heroAlignMiddle: "Meio",
|
|
412
|
+
heroAlignBottom: "Base",
|
|
413
|
+
heroMatchImageMergeTag: "“Igual à imagem” precisa de uma URL de imagem direta: uma merge tag não tem tamanho para ler.",
|
|
414
|
+
heroSizeUnknown: "O tamanho desta imagem ainda não é conhecido, então a seção aparece com a altura do seu conteúdo.",
|
|
399
415
|
display: "Exibição",
|
|
400
416
|
showOnDesktop: "Mostrar no desktop",
|
|
401
417
|
showOnMobile: "Mostrar no mobile",
|
|
@@ -659,5 +675,3 @@ var e = {
|
|
|
659
675
|
};
|
|
660
676
|
//#endregion
|
|
661
677
|
export { e as default };
|
|
662
|
-
|
|
663
|
-
//# sourceMappingURL=pt-BR-C6hMTQYi.js.map
|