@templatical/editor 0.34.3 → 0.36.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-CkHJ28sf.js → AiChatSidebar-tu4eLcf_.js} +78 -70
- package/dist/{AiFeatureMenu-DWdKguDN.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
- package/dist/{BlockIssueBadge-DcyHTAqw.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
- package/dist/BlockPreviewCanvas-DDCmMram.js +131 -0
- package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
- package/dist/{CloudPanels-BGz9ygo6.js → CloudPanels-Iwnky0iA.js} +78 -108
- package/dist/CollaboratorBar-DAITu0hz.js +103 -0
- package/dist/{ColorPicker-C6EOwtHC.js → ColorPicker-BqlZ_TqG.js} +193 -193
- package/dist/{CommentsPanel-DmWh8f08.js → CommentsPanel-CDvgmWP1.js} +3 -3
- package/dist/{CommentsSidebar-CL_tffzT.js → CommentsSidebar-X_xqM3dR.js} +182 -173
- package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
- package/dist/{CountdownToolbar-B8J4i5Xp.js → CountdownToolbar-DBFoG3a6.js} +67 -67
- package/dist/{DesignReferenceSidebar-BDhEeaAh.js → DesignReferenceSidebar--QtXjLrw.js} +103 -95
- package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
- package/dist/IssuesPanel-BLbNFMSX.js +117 -0
- package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
- package/dist/MediaPanels-CMTAhDXB.js +43 -0
- package/dist/{MergeTagInput-RytOlh1A.js → MergeTagInput-BEjzj4Iu.js} +153 -144
- package/dist/{MergeTagModeToggle-Bi-FydXj.js → MergeTagModeToggle-DKN6ihI5.js} +108 -96
- package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
- package/dist/ParagraphEditor-1E9yzOfk.js +782 -0
- package/dist/{RestoreVersionDialog-Db5rZRMA.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
- package/dist/RichTextEditorContent-BnxbQUV9.js +154 -0
- package/dist/{SaveBlockDialog-CDCzx6Bo.js → SaveBlockDialog-WKASpCCT.js} +78 -78
- package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
- package/dist/{SavedBlocksPanels-DFzV0CRD.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
- package/dist/{SavedBlocksPickBar-XyXmnSnO.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
- package/dist/TemplateScoringPanel-CSin43YM.js +267 -0
- package/dist/{TestEmailModal-DIfJy9eE.js → TestEmailModal-BxizsRCd.js} +59 -59
- package/dist/{TestEmailPanel-C8Wx5yPS.js → TestEmailPanel-vd2e5HzT.js} +3 -3
- package/dist/TitleEditor-CLJ68Ty4.js +199 -0
- package/dist/TplModal-Q9fDgS1M.js +51 -0
- package/dist/{VersionHistoryMenu-CV90OhXs.js → VersionHistoryMenu-eGYVhM4H.js} +48 -46
- package/dist/{VersionHistoryPanels-BE3pplJG.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
- package/dist/{VersionPreviewBanner-BwUWBtlH.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
- package/dist/blockTypeIcons-5qD4bB76.js +163 -0
- package/dist/bundle-stats.json +8 -8
- package/dist/{ca-C0hfqt4U.js → ca-D9S-UCfZ.js} +2 -0
- package/dist/ca-Jx2CDwtn.js +83 -0
- package/dist/cdn/chunks/{AiChatSidebar-BEnIWn6s.js → AiChatSidebar-dyqqHAcI.js} +4 -4
- package/dist/cdn/chunks/{AiChatSidebar-BEnIWn6s.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-DMl23akc.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
- package/dist/cdn/chunks/{AiFeatureMenu-DMl23akc.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CloK4k3M.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-CloK4k3M.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-B5f26eLE.js +133 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-B5f26eLE.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-b4KpVeUN.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
- package/dist/cdn/chunks/{CloudHeaderExtras-b4KpVeUN.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DzwOq9lp.js → CloudPanels-DkmR05nB.js} +15 -45
- package/dist/cdn/chunks/{CloudPanels-DzwOq9lp.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-WXKvpoGK.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-WXKvpoGK.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-BubTDiS1.js → ColorPicker-LcrzgMoW.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-BubTDiS1.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-DAA2VqX4.js → CommentsPanel-CntwwocI.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-DAA2VqX4.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Ci0M2ePp.js → CommentsSidebar-BLDKnKy7.js} +4 -4
- package/dist/cdn/chunks/{CommentsSidebar-Ci0M2ePp.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CzZq26Vp.js → CountdownToolbar-CA1dpuOI.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-CzZq26Vp.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-C_ehdX5C.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
- package/dist/cdn/chunks/{DesignReferenceSidebar-C_ehdX5C.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BXAN2_al.js → IssuesPanel-Q62LTqvd.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-BXAN2_al.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagInput-1vcI9uQH.js → MergeTagInput-l7paaAml.js} +8 -8
- package/dist/cdn/chunks/{MergeTagInput-1vcI9uQH.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B_mUYJo4.js → MergeTagModeToggle-DYxkAGtA.js} +5 -5
- package/dist/cdn/chunks/{MergeTagModeToggle-B_mUYJo4.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DCDHMcmx.js → ParagraphEditor-Bd-GQXee.js} +176 -172
- package/dist/cdn/chunks/{ParagraphEditor-DCDHMcmx.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BkSSwf-Q.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
- package/dist/cdn/chunks/{RestoreVersionDialog-BkSSwf-Q.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-S4KogjIj.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-S4KogjIj.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BH774Nt0.js → SaveBlockDialog-CufdTomT.js} +15 -15
- package/dist/cdn/chunks/{SaveBlockDialog-BH774Nt0.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CSUqw_dD.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CSUqw_dD.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-B6ApbCjG.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-B6ApbCjG.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-C9MXSRcR.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksPickBar-C9MXSRcR.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-QVOxc9TZ.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
- package/dist/cdn/chunks/{TemplateScoringPanel-QVOxc9TZ.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-_CZvaO58.js → TestEmailModal-BTNlSW6f.js} +11 -11
- package/dist/cdn/chunks/{TestEmailModal-_CZvaO58.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-DXLxvyrD.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-DXLxvyrD.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-BuCOahW3.js → TitleEditor-CrnuIq62.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-BuCOahW3.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-CqY8R3hn.js → TplModal-DYXrTz42.js} +5 -5
- package/dist/cdn/chunks/{TplModal-CqY8R3hn.js.map → TplModal-DYXrTz42.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-DDjIBvad.js → VersionHistoryMenu-bDGnE4hb.js} +6 -6
- package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-BuTw04T5.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-BuTw04T5.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-fGAv20qI.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
- package/dist/cdn/chunks/{VersionPreviewBanner-fGAv20qI.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-ZEzEpCti.js → blockTypeIcons-CNjJSFun.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-ZEzEpCti.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
- package/dist/cdn/chunks/{ca-C0hfqt4U.js → ca-D9S-UCfZ.js} +3 -1
- package/dist/cdn/chunks/{ca-C0hfqt4U.js.map → ca-D9S-UCfZ.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
- package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
- package/dist/cdn/chunks/{cloud-BP5-6__d.js → cloud-BLgCKP7Z.js} +453 -228
- package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
- package/dist/{de-C6J2Iae8.js → cdn/chunks/de-BUPszLpi.js} +4 -0
- package/dist/cdn/chunks/{de-C6J2Iae8.js.map → de-BUPszLpi.js.map} +1 -1
- package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
- package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
- package/dist/cdn/chunks/{src-Cxl-9O-L.js → editor-modal-MXgtarMl.js} +1473 -1934
- package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
- package/dist/cdn/chunks/{en-BaUYOQi8.js → en-BbOC5x3w.js} +3 -1
- package/dist/cdn/chunks/en-BbOC5x3w.js.map +1 -0
- package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
- package/dist/cdn/chunks/{es-CKDYfJYn.js → es-0bCDcT9p.js} +3 -1
- package/dist/cdn/chunks/{es-CKDYfJYn.js.map → es-0bCDcT9p.js.map} +1 -1
- package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
- package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
- package/dist/cdn/chunks/{extensions-7z04EIGg.js → extensions-B8_jnIkD.js} +4 -4
- package/dist/cdn/chunks/{extensions-7z04EIGg.js.map → extensions-B8_jnIkD.js.map} +1 -1
- package/dist/{fr-L8DR73mK.js → cdn/chunks/fr-Brr8mJ9e.js} +4 -0
- package/dist/cdn/chunks/fr-Brr8mJ9e.js.map +1 -0
- package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
- package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
- package/dist/cdn/chunks/icons-BUlqGSgd.js +1675 -0
- package/dist/cdn/chunks/icons-BUlqGSgd.js.map +1 -0
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
- package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
- package/dist/{nl-GDWeuX18.js → cdn/chunks/nl-Co3_RL0M.js} +4 -0
- package/dist/cdn/chunks/nl-Co3_RL0M.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-LFB-e-0m.js → preRenderCustomBlocks-Bdpiiw4A.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-LFB-e-0m.js.map → preRenderCustomBlocks-Bdpiiw4A.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-B1AVVhWj.js → pt-BR-BECez5b0.js} +3 -1
- package/dist/cdn/chunks/{pt-BR-B1AVVhWj.js.map → pt-BR-BECez5b0.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
- package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
- package/dist/cdn/chunks/{src-BM3f9I7t.js → src-CUvZWL6Y.js} +83 -83
- package/dist/cdn/chunks/src-CUvZWL6Y.js.map +1 -0
- package/dist/cdn/chunks/{src-BDvZrpFH.js → src-DZ0C9mH7.js} +161 -160
- package/dist/cdn/chunks/src-DZ0C9mH7.js.map +1 -0
- package/dist/cdn/chunks/{src-CLoCCDfs.js → src-Dwgq7hf4.js} +71 -48
- package/dist/cdn/chunks/src-Dwgq7hf4.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-ehUSEsbw.js → useEditorCore-Cs7rYVBo.js} +614 -522
- package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-TLhF2fGK.js → useMergeTag-BYAifvh8.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-TLhF2fGK.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1195 -1095
- package/dist/cdn/editor.js.map +1 -1
- package/dist/check-DWtkBzBU.js +11 -0
- package/dist/chevron-down-C-Fjxcqj.js +11 -0
- package/dist/chevron-right-SOkn2d4P.js +11 -0
- package/dist/chevron-up-lntU1ypp.js +11 -0
- package/dist/circle-alert-CjzUTwy3.js +30 -0
- package/dist/clock-pB2QKPsJ.js +16 -0
- package/dist/{cloud-BMzRKCbk.js → cloud-DdidMW6f.js} +446 -201
- package/dist/copy-CId1E038.js +19 -0
- package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
- package/dist/createLucideIcon-Cwf_nTzE.js +96 -0
- package/dist/{cdn/chunks/de-C6J2Iae8.js → de-BUPszLpi.js} +2 -2
- package/dist/de-Ck0pBGHu.js +83 -0
- package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
- package/dist/dist-D8i1ixHK.js +177 -0
- package/dist/dist-DBirAJIs.js +410 -0
- package/dist/{dist-PL6vP4SC.js → dist-tGkjkX-v.js} +143 -122
- package/dist/editor-modal-B_LaQf0s.js +5998 -0
- package/dist/{en-BaUYOQi8.js → en-BbOC5x3w.js} +2 -0
- package/dist/en-DcmpWV53.js +2 -0
- package/dist/{es-CKDYfJYn.js → es-0bCDcT9p.js} +2 -0
- package/dist/es-lagTvUfX.js +83 -0
- package/dist/{extensions-Mf8iHey9.js → extensions-CHOBZRab.js} +43 -43
- package/dist/eye-BuGtFUoJ.js +16 -0
- package/dist/{cdn/chunks/fr-L8DR73mK.js → fr-Brr8mJ9e.js} +2 -2
- package/dist/fr-C4hVl5Lk.js +83 -0
- package/dist/image-up-gH4JEpU5.js +27 -0
- package/dist/index.d.ts +77 -11
- package/dist/info-BQ60P82u.js +23 -0
- package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
- package/dist/link-3R8it3J7.js +14 -0
- package/dist/list-Ccdgj46T.js +33 -0
- package/dist/loader-circle-B_tAD4k6.js +12 -0
- package/dist/message-circle-P-KSc6V0.js +11 -0
- package/dist/nl-CReD7Apd.js +83 -0
- package/dist/{cdn/chunks/nl-GDWeuX18.js → nl-Co3_RL0M.js} +2 -2
- package/dist/pencil-9ZiwqS4r.js +14 -0
- package/dist/plus-BwJEzCaO.js +14 -0
- package/dist/{preRenderCustomBlocks-CSIF-HyJ.js → preRenderCustomBlocks-DFXH54Zr.js} +1 -1
- package/dist/{pt-BR-B1AVVhWj.js → pt-BR-BECez5b0.js} +2 -0
- package/dist/pt-BR-BRA0-vGP.js +83 -0
- package/dist/refresh-cw-DEgfb2FK.js +25 -0
- package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
- package/dist/search-DqQ8Li5E.js +16 -0
- package/dist/send-CE6uvqop.js +14 -0
- package/dist/shield-check-DhD1Z3rd.js +14 -0
- package/dist/sparkles-R0ZQHa6F.js +28 -0
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +2742 -2590
- package/dist/text-align-start-DSux2UNn.js +58 -0
- package/dist/trash-Cf_SqsER.js +30 -0
- package/dist/triangle-alert-C6tGa6jw.js +22 -0
- package/dist/upload-DusKjpVr.js +21 -0
- package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
- package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
- package/dist/{useEditorCore-DdkQuTHl.js → useEditorCore-DhlKOYwe.js} +1780 -1651
- package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
- package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
- package/dist/{useMergeTag-gSuYus-M.js → useMergeTag-DlvOBW_B.js} +4 -4
- package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
- package/dist/useScrollToBlock-BTFw0b9O.js +48 -0
- package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
- package/dist/x-D_-42Ukq.js +14 -0
- package/package.json +9 -12
- package/dist/BlockPreviewCanvas-B621ANn9.js +0 -129
- package/dist/CloudHeaderExtras-BJ3Cebhv.js +0 -59
- package/dist/CollaboratorBar-KphmSQeZ.js +0 -95
- package/dist/IssuesPanel-CiOjeRFI.js +0 -109
- package/dist/ParagraphEditor-C87tkmtE.js +0 -767
- package/dist/RichTextEditorContent-BmTcV2-a.js +0 -152
- package/dist/SavedBlocksBrowserModal-DQR6kJB1.js +0 -322
- package/dist/TemplateScoringPanel-CpyEKMzC.js +0 -257
- package/dist/TitleEditor-iNFOisr4.js +0 -198
- package/dist/TplModal-CowM3o_F.js +0 -51
- package/dist/blockTypeIcons-DQsKtHik.js +0 -134
- package/dist/cdn/chunks/BlockPreviewCanvas-DSiJFJa0.js +0 -131
- package/dist/cdn/chunks/BlockPreviewCanvas-DSiJFJa0.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryMenu-DDjIBvad.js.map +0 -1
- package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
- package/dist/cdn/chunks/cloud-BP5-6__d.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-JFE-sxbT.js +0 -443
- package/dist/cdn/chunks/createCloudRuntime-JFE-sxbT.js.map +0 -1
- package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
- package/dist/cdn/chunks/en-BaUYOQi8.js.map +0 -1
- package/dist/cdn/chunks/en-mEKGL1PX.js +0 -2
- package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
- package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
- package/dist/cdn/chunks/fr-L8DR73mK.js.map +0 -1
- package/dist/cdn/chunks/icons-SP5Itd-A.js +0 -1218
- package/dist/cdn/chunks/icons-SP5Itd-A.js.map +0 -1
- package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
- package/dist/cdn/chunks/nl-GDWeuX18.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
- package/dist/cdn/chunks/src-BDvZrpFH.js.map +0 -1
- package/dist/cdn/chunks/src-BM3f9I7t.js.map +0 -1
- package/dist/cdn/chunks/src-CLoCCDfs.js.map +0 -1
- package/dist/cdn/chunks/src-Cxl-9O-L.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-ehUSEsbw.js.map +0 -1
- package/dist/check-JK8Uacq0.js +0 -7
- package/dist/chevron-down-a-fb_Ijn.js +0 -7
- package/dist/chevron-up-x4l0et_Y.js +0 -7
- package/dist/circle-alert-CJDW5LZo.js +0 -25
- package/dist/clock-BW6rXk2f.js +0 -12
- package/dist/createCloudRuntime-DbTFm1ES.js +0 -441
- package/dist/createLucideIcon-Bvw1Zx56.js +0 -43
- package/dist/dist-dNiknO7j.js +0 -251
- package/dist/dist-heatwAdo.js +0 -150
- package/dist/image-up-CuzFc1mu.js +0 -23
- package/dist/info-DybAwcA3.js +0 -19
- package/dist/loader-circle-t-SVgmJ3.js +0 -7
- package/dist/message-circle-DtwKrlhN.js +0 -7
- package/dist/pencil-2qhC-Y4q.js +0 -10
- package/dist/refresh-cw-C8SBuPdg.js +0 -29
- package/dist/send-BoqJliF6.js +0 -10
- package/dist/shield-check-D0dMaHtE.js +0 -10
- package/dist/sparkles-Dy2BJjiX.js +0 -23
- package/dist/text-align-start-DrxjxvIy.js +0 -43
- package/dist/trash-rYMzzHZd.js +0 -25
- package/dist/triangle-alert-DxnFj4-B.js +0 -17
- package/dist/upload-DZu1adQz.js +0 -17
- package/dist/useScrollToBlock-CdI8fGqt.js +0 -44
- package/dist/x-DJOd1hS4.js +0 -10
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as e } from "./createLucideIcon-Cwf_nTzE.js";
|
|
2
|
+
var t = e({
|
|
3
|
+
name: "copy",
|
|
4
|
+
size: 24,
|
|
5
|
+
node: [["rect", {
|
|
6
|
+
width: "14",
|
|
7
|
+
height: "14",
|
|
8
|
+
x: "8",
|
|
9
|
+
y: "8",
|
|
10
|
+
rx: "2",
|
|
11
|
+
ry: "2",
|
|
12
|
+
key: "17jyea"
|
|
13
|
+
}], ["path", {
|
|
14
|
+
d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
|
|
15
|
+
key: "zix9uf"
|
|
16
|
+
}]]
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { t };
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { R as e, Z as t, j as n, s as r } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { _ as i } from "./dist-D8i1ixHK.js";
|
|
3
|
+
import { t as a } from "./dist-DBirAJIs.js";
|
|
4
|
+
import { V as o, i as s, t as c, u as l } from "./keys-DQA2i1k1.js";
|
|
5
|
+
import { t as u } from "./timeouts-DHPZQ0G3.js";
|
|
6
|
+
import { t as d } from "./logger-BBlvSn6q.js";
|
|
7
|
+
import { t as f } from "./preRenderCustomBlocks-DFXH54Zr.js";
|
|
8
|
+
import { C as p, S as m, a as h, b as g, c as _, d as ee, f as te, g as ne, h as re, i as ie, l as ae, m as oe, n as se, o as ce, r as le, s as v, t as y, u as b, v as x, x as ue, y as de } from "./cloud-DdidMW6f.js";
|
|
9
|
+
//#region src/cloud/composables/useCloudFeatureFlags.ts
|
|
10
|
+
function fe(e) {
|
|
11
|
+
let { planConfigInstance: t, aiConfig: n, getTemplateId: i } = e;
|
|
12
|
+
return {
|
|
13
|
+
canUseAiGeneration: r(() => t.hasFeature("aiGeneration") && n.hasAnyMenuFeature.value),
|
|
14
|
+
canSendTestEmail: r(() => t.hasFeature("testEmail")),
|
|
15
|
+
hasTemplateSaved: r(() => i() !== null),
|
|
16
|
+
templateLimit: r(() => t.config.value?.limits.maxTemplates ?? null),
|
|
17
|
+
templateCount: r(() => t.config.value?.templateCount ?? 0)
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/cloud/composables/useCloudPanelState.ts
|
|
22
|
+
function pe() {
|
|
23
|
+
let e = t(null), n = r({
|
|
24
|
+
get: () => e.value === "ai-chat",
|
|
25
|
+
set: (t) => e.value = t ? "ai-chat" : null
|
|
26
|
+
}), i = r({
|
|
27
|
+
get: () => e.value === "scoring",
|
|
28
|
+
set: (t) => e.value = t ? "scoring" : null
|
|
29
|
+
}), o = r({
|
|
30
|
+
get: () => e.value === "design-reference",
|
|
31
|
+
set: (t) => e.value = t ? "design-reference" : null
|
|
32
|
+
}), s = r({
|
|
33
|
+
get: () => e.value === "comments",
|
|
34
|
+
set: (t) => e.value = t ? "comments" : null
|
|
35
|
+
}), c = t(!1), l = t(null), u = r(() => e.value !== null), d = r(() => {
|
|
36
|
+
let t = e.value;
|
|
37
|
+
return t === "ai-chat" || t === "design-reference" || t === "scoring" ? t : null;
|
|
38
|
+
}), f = r(() => c.value || e.value === "ai-chat" || e.value === "design-reference" || e.value === "scoring");
|
|
39
|
+
function p() {
|
|
40
|
+
c.value = !c.value;
|
|
41
|
+
}
|
|
42
|
+
function m(t) {
|
|
43
|
+
c.value = !1, e.value = e.value === t ? null : t;
|
|
44
|
+
}
|
|
45
|
+
return a(l, () => {
|
|
46
|
+
c.value = !1;
|
|
47
|
+
}), {
|
|
48
|
+
activePanel: e,
|
|
49
|
+
aiChatOpen: n,
|
|
50
|
+
scoringPanelOpen: i,
|
|
51
|
+
designReferenceOpen: o,
|
|
52
|
+
commentsOpen: s,
|
|
53
|
+
aiMenuOpen: c,
|
|
54
|
+
aiMenuRef: l,
|
|
55
|
+
rightPanelOpen: u,
|
|
56
|
+
activeAiFeature: d,
|
|
57
|
+
aiButtonActive: f,
|
|
58
|
+
toggleAiMenu: p,
|
|
59
|
+
handleAiFeatureSelect: m
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/cloud/composables/useCloudSaveGate.ts
|
|
64
|
+
function me(e) {
|
|
65
|
+
let n = t(!1), i = null, a = r(() => e.planConfig.value?.accessibility?.blockOnError === !0), o = r(() => a.value ? e.issues.value.filter((e) => e.severity === "error") : []), s = r(() => o.value.length > 0);
|
|
66
|
+
async function c(e) {
|
|
67
|
+
return s.value ? (i = e, n.value = !0, !1) : (await e(), !0);
|
|
68
|
+
}
|
|
69
|
+
async function l(e) {
|
|
70
|
+
return !s.value && (await e(), !0);
|
|
71
|
+
}
|
|
72
|
+
async function u() {
|
|
73
|
+
let e = i;
|
|
74
|
+
i = null, n.value = !1, e && await e();
|
|
75
|
+
}
|
|
76
|
+
function d() {
|
|
77
|
+
i = null, n.value = !1;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
shouldBlock: s,
|
|
81
|
+
blockingIssues: o,
|
|
82
|
+
modalOpen: n,
|
|
83
|
+
tryRunSave: c,
|
|
84
|
+
runUnlessBlocked: l,
|
|
85
|
+
confirmAndSave: u,
|
|
86
|
+
cancel: d
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/cloud/composables/useCollabUndoWarning.ts
|
|
91
|
+
function he(e) {
|
|
92
|
+
let { isCollaborationEnabled: n, getCollaboratorCount: r, canUndo: a } = e, o = t(!1), s = t(!1), { start: c } = i(() => {
|
|
93
|
+
s.value = !1;
|
|
94
|
+
}, u, { immediate: !1 });
|
|
95
|
+
function l() {
|
|
96
|
+
!o.value && n.value && r() !== 0 && a.value && (o.value = !0, s.value = !0, c());
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
collabUndoWarningVisible: s,
|
|
100
|
+
showCollabUndoWarning: l
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/cloud/collectSavedBlockIds.ts
|
|
105
|
+
function ge(e) {
|
|
106
|
+
let t = /* @__PURE__ */ new Set(), n = e?.content?.blocks;
|
|
107
|
+
if (!n) return t;
|
|
108
|
+
for (let e of n) if (t.add(e.id), e.type === "section" && e.children) for (let n of e.children) for (let e of n) t.add(e.id);
|
|
109
|
+
return t;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/cloud/createCloudRuntime.ts
|
|
113
|
+
function _e(e) {
|
|
114
|
+
if (!e) return {};
|
|
115
|
+
let { onSaved: t, onCreated: n, onLoaded: r } = e;
|
|
116
|
+
return {
|
|
117
|
+
...typeof t == "function" ? { onSaved: t } : {},
|
|
118
|
+
...typeof n == "function" ? { onCreated: n } : {},
|
|
119
|
+
...typeof r == "function" ? { onLoaded: r } : {}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function ve(e) {
|
|
123
|
+
if (!e) return {};
|
|
124
|
+
let { onCreated: t, onUpdated: n, onDeleted: r, onResolved: i, onUnresolved: a } = e;
|
|
125
|
+
return {
|
|
126
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
127
|
+
...typeof n == "function" ? { onUpdated: n } : {},
|
|
128
|
+
...typeof r == "function" ? { onDeleted: r } : {},
|
|
129
|
+
...typeof i == "function" ? { onResolved: i } : {},
|
|
130
|
+
...typeof a == "function" ? { onUnresolved: a } : {}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function ye(e) {
|
|
134
|
+
if (typeof e != "object" || !e) return {};
|
|
135
|
+
let { onCreated: t, onUpdated: n, onDeleted: r } = e;
|
|
136
|
+
return {
|
|
137
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
138
|
+
...typeof n == "function" ? { onUpdated: n } : {},
|
|
139
|
+
...typeof r == "function" ? { onDeleted: r } : {}
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
function be(e) {
|
|
143
|
+
if (typeof e != "object" || !e) return {};
|
|
144
|
+
let { onSent: t, defaultRecipient: n } = e;
|
|
145
|
+
return {
|
|
146
|
+
...typeof t == "function" ? { onSent: t } : {},
|
|
147
|
+
...typeof n == "string" ? { defaultRecipient: n } : {}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function xe(e) {
|
|
151
|
+
if (typeof e != "object" || !e) return {};
|
|
152
|
+
let { onCreated: t, onUpdated: n, onDeleted: r } = e;
|
|
153
|
+
return {
|
|
154
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
155
|
+
...typeof n == "function" ? { onUpdated: n } : {},
|
|
156
|
+
...typeof r == "function" ? { onDeleted: r } : {}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function Se(e) {
|
|
160
|
+
if (!e) return {};
|
|
161
|
+
let { onCreated: t, onRestored: n } = e;
|
|
162
|
+
return {
|
|
163
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
164
|
+
...typeof n == "function" ? { onRestored: n } : {}
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function S(e) {
|
|
168
|
+
return e.length < 2 ? e.join("") : e.length === 2 ? e.join(" and ") : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
|
|
169
|
+
}
|
|
170
|
+
async function C(i) {
|
|
171
|
+
let { config: a, cloudTranslations: u } = i, C = null, w = null, T = null, E = null, D = null, O = null, k = t(null), A = t(/* @__PURE__ */ new Map()), j = t(null);
|
|
172
|
+
function M() {
|
|
173
|
+
if (!C) throw Error("[Templatical] The Cloud editor is not mounted yet.");
|
|
174
|
+
return C;
|
|
175
|
+
}
|
|
176
|
+
function N() {
|
|
177
|
+
return C?.state.template?.id ?? null;
|
|
178
|
+
}
|
|
179
|
+
let P = new y({
|
|
180
|
+
...a.auth,
|
|
181
|
+
onError: (e) => {
|
|
182
|
+
ae(e) && (k.value = e), a.onError?.(e);
|
|
183
|
+
}
|
|
184
|
+
}), F = g({
|
|
185
|
+
authManager: P,
|
|
186
|
+
onError: a.onError
|
|
187
|
+
});
|
|
188
|
+
await P.initialize();
|
|
189
|
+
let I = await b({ authManager: P });
|
|
190
|
+
if (!I.api.ok) throw Error("Health check failed: API is not reachable");
|
|
191
|
+
if (!I.auth.ok) throw Error(`Health check failed: authentication error${I.auth.error ? ` - ${I.auth.error}` : ""}`);
|
|
192
|
+
I.websocket.ok || d.warn("WebSocket health check failed:", I.websocket.error ?? "unknown error", "-- real-time features will be disabled."), await F.fetchConfig(), k.value = null;
|
|
193
|
+
let Ce = a.templates, L = [
|
|
194
|
+
"load",
|
|
195
|
+
"create",
|
|
196
|
+
"save"
|
|
197
|
+
].filter((e) => Ce?.[e] !== void 0);
|
|
198
|
+
L.length > 0 && d.warn(`initCloud ignores ${S(L.map((e) => `templates.${e}`))} — the template id is the join key for collaboration, version history, comments, AI rewrite, scoring and the server-side export, so an id Cloud never issued would degrade all six. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
199
|
+
let R = a.versionHistory, z = [
|
|
200
|
+
"list",
|
|
201
|
+
"get",
|
|
202
|
+
"create",
|
|
203
|
+
"restore"
|
|
204
|
+
].filter((e) => R?.[e] !== void 0);
|
|
205
|
+
z.length > 0 && d.warn(`initCloud ignores ${S(z.map((e) => `versionHistory.${e}`))} — a version is keyed to a template id Cloud issued, so Cloud owns its history. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
206
|
+
let we = a.comments, B = [
|
|
207
|
+
"list",
|
|
208
|
+
"create",
|
|
209
|
+
"update",
|
|
210
|
+
"delete",
|
|
211
|
+
"setResolved",
|
|
212
|
+
"subscribe"
|
|
213
|
+
].filter((e) => we?.[e] !== void 0);
|
|
214
|
+
B.length > 0 && d.warn(`initCloud ignores ${S(B.map((e) => `comments.${e}`))} — a comment is keyed to a template id Cloud issued, and its author is signed by the auth token, so Cloud owns the conversation. Your event handlers were kept. Use init() to bring your own storage.`), a.render && d.warn("initCloud does not accept a `render` provider — Cloud renders server-side for test email, sends and exports, so a supplied renderer would change only what you preview and export, never what Cloud delivers. The supplied provider is ignored. For your own MJML, call renderToMjml(editor.getContent()) from @templatical/renderer.");
|
|
215
|
+
function V(e) {
|
|
216
|
+
let t = F.config.value?.websocket;
|
|
217
|
+
T && t && T.connect(e.id, te(t));
|
|
218
|
+
}
|
|
219
|
+
let H = ce(P), U = H.create, W = H.save, Te = {
|
|
220
|
+
..._e(a.templates),
|
|
221
|
+
load: async (e) => {
|
|
222
|
+
let t = await H.load(e);
|
|
223
|
+
return V(t), t;
|
|
224
|
+
},
|
|
225
|
+
create: typeof U == "function" ? async (e) => {
|
|
226
|
+
let t = await U(e);
|
|
227
|
+
return V(t), t;
|
|
228
|
+
} : !1,
|
|
229
|
+
save: typeof W == "function" ? async (e, t) => (w && C && await f(C.content.value, w.registry), W(e, t)) : !1
|
|
230
|
+
}, Ee = ie({
|
|
231
|
+
authManager: P,
|
|
232
|
+
getTemplateId: N,
|
|
233
|
+
save: () => M().save()
|
|
234
|
+
}), De = {
|
|
235
|
+
...Se(a.versionHistory),
|
|
236
|
+
..._(P)
|
|
237
|
+
}, Oe = {
|
|
238
|
+
...ve(a.comments),
|
|
239
|
+
...se({
|
|
240
|
+
authManager: P,
|
|
241
|
+
channel: j,
|
|
242
|
+
getSocketId: () => T?.getSocketId() ?? null
|
|
243
|
+
})
|
|
244
|
+
}, ke = P.userConfig ? {
|
|
245
|
+
id: P.userConfig.id,
|
|
246
|
+
name: P.userConfig.name
|
|
247
|
+
} : void 0, G = typeof a.savedBlocks?.list == "function" ? a.savedBlocks : null;
|
|
248
|
+
if (G === null && typeof a.savedBlocks == "object" && a.savedBlocks !== null) {
|
|
249
|
+
let e = a.savedBlocks, t = [
|
|
250
|
+
"list",
|
|
251
|
+
"create",
|
|
252
|
+
"update",
|
|
253
|
+
"delete"
|
|
254
|
+
].filter((t) => e[t] !== void 0);
|
|
255
|
+
t.length > 0 && d.warn(`initCloud ignores ${S(t.map((e) => `savedBlocks.${e}`))} — a provider needs a working list to replace Cloud's store, and this value has none, so it configures Cloud's own store instead. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
256
|
+
}
|
|
257
|
+
let K = a.savedBlocks === !1 ? void 0 : G ?? {
|
|
258
|
+
...ye(a.savedBlocks),
|
|
259
|
+
...h(P)
|
|
260
|
+
}, q = m({
|
|
261
|
+
authManager: P,
|
|
262
|
+
isAuthReady: t(!0)
|
|
263
|
+
}), Ae = x({ authManager: P }), J = typeof a.testEmail?.send == "function" ? a.testEmail : null;
|
|
264
|
+
if (J === null && typeof a.testEmail == "object" && a.testEmail !== null) {
|
|
265
|
+
let e = a.testEmail, t = [
|
|
266
|
+
"send",
|
|
267
|
+
"includeMjml",
|
|
268
|
+
"allowedRecipients"
|
|
269
|
+
].filter((t) => e[t] !== void 0);
|
|
270
|
+
t.length > 0 && d.warn(`initCloud ignores ${S(t.map((e) => `testEmail.${e}`))} — a provider needs a working send to replace Cloud's sender outright, and Cloud renders server-side with the signed allowlist from your project's JWT either way, so none of these apply here. Your event handlers were kept.`);
|
|
271
|
+
}
|
|
272
|
+
let je = J ?? Object.assign(v({
|
|
273
|
+
authManager: P,
|
|
274
|
+
getTemplateId: N,
|
|
275
|
+
save: () => M().save(),
|
|
276
|
+
exportHtml: (e) => Ae.exportHtml(e, ee(a.fonts)),
|
|
277
|
+
allowedEmails: q.allowedEmails,
|
|
278
|
+
getSignature: q.getSignature,
|
|
279
|
+
onBeforeTestEmail: a.onBeforeTestEmail
|
|
280
|
+
}), be(a.testEmail)), Y = typeof a.media?.list == "function" ? a.media : null;
|
|
281
|
+
if (Y === null && typeof a.media == "object" && a.media !== null) {
|
|
282
|
+
let e = a.media, t = [
|
|
283
|
+
"list",
|
|
284
|
+
"create",
|
|
285
|
+
"update",
|
|
286
|
+
"delete"
|
|
287
|
+
].filter((t) => e[t] !== void 0);
|
|
288
|
+
t.length > 0 && d.warn(`initCloud ignores ${S(t.map((e) => `media.${e}`))} — a provider needs a working list to replace Cloud's store, and this value has none, so it configures Cloud's own store instead. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
289
|
+
let n = ["maxFileSize", "mimeTypes"].filter((t) => e[t] !== void 0);
|
|
290
|
+
n.length > 0 && d.warn(`initCloud ignores ${S(n.map((e) => `media.${e}`))} — Cloud's plan owns those limits whenever Cloud's store is in play. Your event handlers were kept.`);
|
|
291
|
+
}
|
|
292
|
+
let X = a.media === !1 ? void 0 : Y ?? Object.assign(le(P, () => F.config.value), xe(a.media)), Z = oe(a.ai), Me = ue({
|
|
293
|
+
authManager: P,
|
|
294
|
+
getTemplateId: N
|
|
295
|
+
}), Q = fe({
|
|
296
|
+
planConfigInstance: F,
|
|
297
|
+
aiConfig: Z,
|
|
298
|
+
getTemplateId: N
|
|
299
|
+
}), $ = r(() => !!a.collaboration?.enabled && F.hasFeature("collaboration"));
|
|
300
|
+
function Ne(t) {
|
|
301
|
+
let r = t.editor;
|
|
302
|
+
C = r, n(l, u), n(s, P), n(c, Z), n(o, Me);
|
|
303
|
+
let i = p({
|
|
304
|
+
authManager: P,
|
|
305
|
+
onError: a.onError
|
|
306
|
+
});
|
|
307
|
+
return T = i, e(i.channel, (e) => {
|
|
308
|
+
j.value = e;
|
|
309
|
+
}, { immediate: !0 }), a.mcp?.enabled && de({
|
|
310
|
+
editor: r,
|
|
311
|
+
channel: i.channel,
|
|
312
|
+
onOperation: a.mcp.onOperation
|
|
313
|
+
}), a.collaboration?.enabled && (E = re({
|
|
314
|
+
authManager: P,
|
|
315
|
+
editor: r,
|
|
316
|
+
channel: i.channel,
|
|
317
|
+
onError: a.onError,
|
|
318
|
+
onCollaboratorJoined: a.collaboration.onCollaboratorJoined,
|
|
319
|
+
onCollaboratorLeft: a.collaboration.onCollaboratorLeft,
|
|
320
|
+
onBlockLocked: a.collaboration.onBlockLocked,
|
|
321
|
+
onBlockUnlocked: a.collaboration.onBlockUnlocked
|
|
322
|
+
}), e(() => E.lockedBlocks.value, (e) => {
|
|
323
|
+
A.value = e;
|
|
324
|
+
}, { immediate: !0 }), ne(r, E)), {
|
|
325
|
+
websocket: i,
|
|
326
|
+
panelState: pe(),
|
|
327
|
+
featureFlags: Q,
|
|
328
|
+
collaboration: E,
|
|
329
|
+
isCollaborationEnabled: $
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
function Pe(e) {
|
|
333
|
+
let { core: n, capabilities: r } = e;
|
|
334
|
+
return w = n, O = me({
|
|
335
|
+
issues: n.templateLint ? n.templateLint.issues : t([]),
|
|
336
|
+
planConfig: F.config
|
|
337
|
+
}), D = he({
|
|
338
|
+
isCollaborationEnabled: $,
|
|
339
|
+
getCollaboratorCount: () => E?.collaborators.value.length ?? 0,
|
|
340
|
+
canUndo: n.history.canUndo
|
|
341
|
+
}), r.plan = F, r.ai = Z, a.customBlocks?.length && n.registerCustomBlocks(a.customBlocks), a.theme && (n.themeOverrides.value = a.theme), {
|
|
342
|
+
saveGate: O,
|
|
343
|
+
collabWarning: D,
|
|
344
|
+
sessionError: k,
|
|
345
|
+
retry: async () => {
|
|
346
|
+
try {
|
|
347
|
+
await P.initialize(), k.value = null;
|
|
348
|
+
} catch (e) {
|
|
349
|
+
k.value = e instanceof Error ? e : /* @__PURE__ */ Error("Authentication failed");
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
return {
|
|
355
|
+
runtime: {
|
|
356
|
+
lockedBlocks: A,
|
|
357
|
+
isSavedBlocksAvailable: G ? () => !0 : () => a.savedBlocks !== !1 && F.hasFeature("savedModules"),
|
|
358
|
+
isTestEmailAvailable: J ? () => !0 : () => q.isEnabled.value && Q.canSendTestEmail.value && Q.hasTemplateSaved.value,
|
|
359
|
+
isCommentsAvailable: () => a.comments !== !1 && F.hasFeature("commenting") && Q.hasTemplateSaved.value,
|
|
360
|
+
isBlockSaved: (e) => ge(C?.state.template ?? null).has(e),
|
|
361
|
+
getSaveGate: () => O,
|
|
362
|
+
isRemoteOperation: () => E?._isProcessingRemoteOperation() ?? !1,
|
|
363
|
+
onBeforeUndo: () => D?.showCollabUndoWarning(),
|
|
364
|
+
attach: Ne,
|
|
365
|
+
ready: Pe,
|
|
366
|
+
destroy() {
|
|
367
|
+
T?.disconnect(), a.onUnmount?.();
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
providers: {
|
|
371
|
+
templates: Te,
|
|
372
|
+
render: Ee,
|
|
373
|
+
versionHistory: De,
|
|
374
|
+
...K ? { savedBlocks: K } : {},
|
|
375
|
+
testEmail: je,
|
|
376
|
+
comments: Oe,
|
|
377
|
+
...X ? { media: X } : {}
|
|
378
|
+
},
|
|
379
|
+
user: ke
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
//#endregion
|
|
383
|
+
export { C as bootstrapCloud };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { S as e, b as t } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.43.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/defaultAttributes.mjs
|
|
3
|
+
var n = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 24,
|
|
6
|
+
height: 24,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
stroke: "currentColor",
|
|
10
|
+
"stroke-width": 2,
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round"
|
|
13
|
+
}, r = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim();
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.43.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/buildLucideIconNode.mjs
|
|
16
|
+
function i(e) {
|
|
17
|
+
return e != null;
|
|
18
|
+
}
|
|
19
|
+
function a(e, t = {}) {
|
|
20
|
+
let a = t.attributeNames ?? {}, o = (e) => a[e] ?? e, s = e.size ?? e.width ?? n.width, c = e.size ?? e.height ?? n.height, l = e.aliases?.filter((e) => typeof e == "string" && e.trim() !== "").map((e) => `lucide-${e}`) ?? [], u = [...e.name ? [`lucide-${e.name}`] : [], ...l], d = t.className?.split(" ").filter(Boolean) ?? [], f = t.includeDefaultClasses === !1 ? r(...d) : r("lucide", ...u, ...d), p = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? n["stroke-width"]) * Number(e.size ?? e.width ?? n.width) / Number(t.size ?? t.width ?? n.width) : t.strokeWidth ?? n["stroke-width"];
|
|
21
|
+
return [
|
|
22
|
+
"svg",
|
|
23
|
+
{
|
|
24
|
+
...Object.entries(n).reduce((e, [t, n]) => (e[o(t)] = n, e), {}),
|
|
25
|
+
..."color" in t && t.color && { [o("stroke")]: t.color },
|
|
26
|
+
..."size" in t && i(t.size) && {
|
|
27
|
+
[o("width")]: t.size,
|
|
28
|
+
[o("height")]: t.size
|
|
29
|
+
},
|
|
30
|
+
..."width" in t && i(t.width) && { [o("width")]: t.width },
|
|
31
|
+
..."height" in t && i(t.height) && { [o("height")]: t.height },
|
|
32
|
+
[o("stroke-width")]: p,
|
|
33
|
+
...f && { [o("class")]: f },
|
|
34
|
+
[o("viewBox")]: `0 0 ${s} ${c}`,
|
|
35
|
+
...t.hasA11yProp === !1 ? { [o("aria-hidden")]: "true" } : {},
|
|
36
|
+
..."attributes" in t && t.attributes
|
|
37
|
+
},
|
|
38
|
+
e.node.map((e) => {
|
|
39
|
+
let [n, r, i] = e, a = t.nonScalingStroke ? {
|
|
40
|
+
[o("vector-effect")]: "non-scaling-stroke",
|
|
41
|
+
...r
|
|
42
|
+
} : r;
|
|
43
|
+
return i ? [
|
|
44
|
+
n,
|
|
45
|
+
a,
|
|
46
|
+
i
|
|
47
|
+
] : [n, a];
|
|
48
|
+
})
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.43.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
53
|
+
var o = (e) => {
|
|
54
|
+
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
55
|
+
return !1;
|
|
56
|
+
}, s = (e) => e === "", c = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), l = /* @__PURE__ */ Symbol("lucide-icons");
|
|
57
|
+
function u() {
|
|
58
|
+
return e(l, {});
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.43.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
62
|
+
var d = ({ name: e, iconNode: n, "icon-node": r, icon: i = {
|
|
63
|
+
name: c(e),
|
|
64
|
+
node: n ?? r,
|
|
65
|
+
size: 24,
|
|
66
|
+
aliases: []
|
|
67
|
+
}, absoluteStrokeWidth: l, "absolute-stroke-width": d, nonScalingStroke: f, "non-scaling-stroke": p, strokeWidth: m, "stroke-width": h, size: g, width: _ = g, height: v = g, color: y, ...b }, { slots: x }) => {
|
|
68
|
+
let { size: S, color: C, strokeWidth: w = 2, absoluteStrokeWidth: T = !1, nonScalingStroke: E = !1, class: D = "" } = u(), O = s(l) || s(d) || l === !0 || d === !0 || T === !0, k = s(f) || s(p) || f === !0 || p === !0 || E === !0;
|
|
69
|
+
delete b.class;
|
|
70
|
+
let A = x.default?.(), [, j, M = []] = a(i, {
|
|
71
|
+
color: y ?? C,
|
|
72
|
+
width: _ ?? g ?? S,
|
|
73
|
+
height: v ?? g ?? S,
|
|
74
|
+
strokeWidth: m ?? h ?? w,
|
|
75
|
+
absoluteStrokeWidth: O,
|
|
76
|
+
nonScalingStroke: k,
|
|
77
|
+
className: D,
|
|
78
|
+
hasA11yProp: A != null && A.length > 0 || o(b),
|
|
79
|
+
attributes: b
|
|
80
|
+
});
|
|
81
|
+
return t("svg", j, [...M.map((e) => t(...e)), ...A ?? []]);
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.43.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/createLucideIcon.mjs
|
|
85
|
+
function f(e, n = []) {
|
|
86
|
+
let r = typeof e == "string" ? {
|
|
87
|
+
name: e,
|
|
88
|
+
node: n
|
|
89
|
+
} : e;
|
|
90
|
+
return (e, { slots: n }) => t(d, {
|
|
91
|
+
...e,
|
|
92
|
+
icon: r
|
|
93
|
+
}, n.default ? { default: n.default } : void 0);
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
export { f as t };
|
|
@@ -393,6 +393,8 @@ var e = {
|
|
|
393
393
|
language: "Sprache",
|
|
394
394
|
contentLocale: "Inhaltssprache",
|
|
395
395
|
contentLocaleHint: "BCP-47-Code (z. B. en, de, pt-BR). Setzt das lang-Attribut der gerenderten E-Mail, damit Screenreader den Inhalt korrekt aussprechen.",
|
|
396
|
+
contentDirection: "Rechts-nach-links",
|
|
397
|
+
contentDirectionHint: "Schreibrichtung der E-Mail, unabhängig von der Sprache des Editors. Ungesetzt folgt sie der Inhaltssprache (Arabisch, Hebräisch, …).",
|
|
396
398
|
tips: "Tipps",
|
|
397
399
|
tip1: "600px ist die Standardbreite für E-Mail-Vorlagen",
|
|
398
400
|
tip2: "Verwenden Sie websichere Schriften für beste Kompatibilität",
|
|
@@ -613,5 +615,3 @@ var e = {
|
|
|
613
615
|
};
|
|
614
616
|
//#endregion
|
|
615
617
|
export { e as default };
|
|
616
|
-
|
|
617
|
-
//# sourceMappingURL=de-C6J2Iae8.js.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
//#region ../media-library/src/i18n/locales/de.ts
|
|
2
|
+
var e = { mediaLibrary: {
|
|
3
|
+
title: "Medienbibliothek",
|
|
4
|
+
searchPlaceholder: "Dateien suchen...",
|
|
5
|
+
allFiles: "Alle Dateien",
|
|
6
|
+
filterAll: "Alle Typen",
|
|
7
|
+
filterImages: "Bilder",
|
|
8
|
+
filterDocuments: "Dokumente",
|
|
9
|
+
filterVideos: "Videos",
|
|
10
|
+
filterAudio: "Audio",
|
|
11
|
+
newFolder: "Neuer Ordner",
|
|
12
|
+
folderName: "Ordnername",
|
|
13
|
+
noFiles: "Keine Dateien gefunden",
|
|
14
|
+
noSearchResults: "Keine Dateien entsprechen Ihrer Suche",
|
|
15
|
+
dropOrClick: "Dateien hierher ziehen oder klicken zum Hochladen",
|
|
16
|
+
acceptedFormats: "Bilder, PDF, Video, Audio, Dokumente (max. 10 MB)",
|
|
17
|
+
uploading: "Wird hochgeladen...",
|
|
18
|
+
uploadingProgress: "{current} von {total} wird hochgeladen...",
|
|
19
|
+
selectImage: "Bild auswählen",
|
|
20
|
+
selectFile: "Datei auswählen",
|
|
21
|
+
deleteSelected: "Löschen",
|
|
22
|
+
copyUrl: "URL kopieren",
|
|
23
|
+
copied: "Kopiert!",
|
|
24
|
+
browseMedia: "Medienbibliothek durchsuchen",
|
|
25
|
+
renameFolder: "Ordner umbenennen",
|
|
26
|
+
addSubfolder: "Unterordner hinzufügen",
|
|
27
|
+
subfolderName: "Unterordnername",
|
|
28
|
+
sortNewest: "Neueste zuerst",
|
|
29
|
+
sortOldest: "Älteste zuerst",
|
|
30
|
+
sortNameAsc: "Name A-Z",
|
|
31
|
+
sortNameDesc: "Name Z-A",
|
|
32
|
+
sortSizeAsc: "Kleinste zuerst",
|
|
33
|
+
sortSizeDesc: "Größte zuerst",
|
|
34
|
+
moveSelected: "Verschieben",
|
|
35
|
+
moveToRoot: "Alle Dateien",
|
|
36
|
+
currentFolder: "(aktuell)",
|
|
37
|
+
confirmDelete: "Bestätigen?",
|
|
38
|
+
renameFile: "Umbenennen",
|
|
39
|
+
editFile: "Datei bearbeiten",
|
|
40
|
+
fileName: "Dateiname",
|
|
41
|
+
altText: "Alternativtext",
|
|
42
|
+
altTextPlaceholder: "Bildbeschreibung für Barrierefreiheit",
|
|
43
|
+
saveChanges: "Speichern",
|
|
44
|
+
cancel: "Abbrechen",
|
|
45
|
+
frequentlyUsed: "Häufig verwendet",
|
|
46
|
+
deleteWarningTitle: "Datei löschen",
|
|
47
|
+
deleteWarningMessage: "Sind Sie sicher? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
48
|
+
deleteWarningUsageNote: "Die folgenden Dateien werden in Vorlagen verwendet. Das Löschen kann diese Vorlagen beschädigen.",
|
|
49
|
+
deleteAnyway: "Löschen",
|
|
50
|
+
usedInTemplates: "In {count} Vorlage(n) verwendet",
|
|
51
|
+
viewGrid: "Rasteransicht",
|
|
52
|
+
viewList: "Listenansicht",
|
|
53
|
+
showFolders: "Ordner anzeigen",
|
|
54
|
+
hideFolders: "Ordner ausblenden",
|
|
55
|
+
importFromUrl: "Von URL importieren",
|
|
56
|
+
importUrlPlaceholder: "https://example.com/image.jpg",
|
|
57
|
+
import: "Importieren",
|
|
58
|
+
importing: "Wird importiert...",
|
|
59
|
+
importError: "Import von URL fehlgeschlagen",
|
|
60
|
+
replaceFile: "Datei ersetzen",
|
|
61
|
+
replaceWarningTitle: "Datei ersetzen",
|
|
62
|
+
replaceWarningMessage: "Sie sind dabei, diese Datei zu ersetzen. Die Ersatzdatei muss dieselbe Dateierweiterung haben ({extension}).",
|
|
63
|
+
replaceWarningUsageNote: "Diese Datei wird in {count} Vorlage(n) verwendet. Das Ersetzen aktualisiert alle Verweise.",
|
|
64
|
+
replaceSelectFile: "Ersatzdatei auswählen",
|
|
65
|
+
replace: "Ersetzen",
|
|
66
|
+
replacing: "Wird ersetzt...",
|
|
67
|
+
replaceError: "Ersetzen der Datei fehlgeschlagen",
|
|
68
|
+
saving: "Wird gespeichert...",
|
|
69
|
+
cropAspectRatio: "Seitenverhältnis",
|
|
70
|
+
cropFree: "Frei",
|
|
71
|
+
cropSquare: "1:1",
|
|
72
|
+
cropLandscape43: "4:3",
|
|
73
|
+
cropLandscape169: "16:9",
|
|
74
|
+
cropOriginal: "Original",
|
|
75
|
+
cropMaxWidth: "Max. Breite",
|
|
76
|
+
cropMaxHeight: "Max. Höhe",
|
|
77
|
+
cropOutputSize: "Ausgabegröße",
|
|
78
|
+
cropPixels: "px",
|
|
79
|
+
cropOptional: "(optional)",
|
|
80
|
+
storageTooltip: "{used} von {total} verwendet ({remaining} verfügbar)"
|
|
81
|
+
} };
|
|
82
|
+
//#endregion
|
|
83
|
+
export { e as default };
|