@templatical/editor 0.24.0 → 0.25.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-Nq-jrGaf.js → AiChatSidebar-CIkS8DsO.js} +15 -15
- package/dist/{AiFeatureMenu-tg_zMKMK.js → AiFeatureMenu-Cji1LBJJ.js} +7 -7
- package/dist/{BlockIssueBadge-Bd94kIiw.js → BlockIssueBadge-BQiT0FML.js} +5 -5
- package/dist/{BlockPreviewCanvas-B34aMhHe.js → BlockPreviewCanvas-DAnwZofk.js} +11 -7
- package/dist/{CloudEditor-DjN_9Yso.js → CloudEditor-CXaft6Ej.js} +73 -71
- package/dist/{CollaboratorBar-Bhazzcg-.js → CollaboratorBar-BR-rL2wG.js} +4 -4
- package/dist/{ColorPicker-DXGrcJxJ.js → ColorPicker-B4ArSUhy.js} +7 -9
- package/dist/{CommentsSidebar-ku1kt10u.js → CommentsSidebar-Bm5GLDts.js} +16 -16
- package/dist/{CountdownBlock-CN9Lc23W.js → CountdownBlock-CIVAQDVu.js} +3 -3
- package/dist/{CountdownToolbar-VEsIyKV6.js → CountdownToolbar-DBmb3tlb.js} +4 -4
- package/dist/DesignReferenceSidebar-CnyJ8L-j.js +264 -0
- package/dist/{IssuesPanel-CEfzOpS_.js → IssuesPanel-D3XgmYCt.js} +8 -8
- package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
- package/dist/{MergeTagModeToggle-C3V2xGAg.js → MergeTagModeToggle-BK0fI3P2.js} +6 -6
- package/dist/{MergeTagSuggestion-Dn8ww9nV.js → MergeTagSuggestion-D0OHRv7L.js} +8 -12
- package/dist/{NumberWithSuffix-BGocZkj9.js → NumberWithSuffix-Cjj9UNIp.js} +2 -2
- package/dist/{ParagraphEditor-D-fz0kUb.js → ParagraphEditor-jGnbJEA2.js} +45 -45
- package/dist/{RichTextEditorContent-DydrqFts.js → RichTextEditorContent-DaaKdzjb.js} +8 -8
- package/dist/{SaveBlockDialog-BDDFbAWF.js → SaveBlockDialog-B3ngEldp.js} +12 -12
- package/dist/{SavedBlocksBrowserModal-Djik_fJh.js → SavedBlocksBrowserModal-DawN3XaB.js} +11 -11
- package/dist/{SavedBlocksPanels-CxemyPxL.js → SavedBlocksPanels-eDC9Y46N.js} +2 -2
- package/dist/{SavedBlocksPickBar-Dlhipmob.js → SavedBlocksPickBar-CQbbXmzj.js} +4 -4
- package/dist/{SnapshotHistory-DPbM4ons.js → SnapshotHistory-COxKtHM-.js} +10 -10
- package/dist/{TemplateScoringPanel-BFYgweDX.js → TemplateScoringPanel-bUuqOO1z.js} +16 -16
- package/dist/{TestEmailModal-IZfwgya-.js → TestEmailModal-CytkbZVQ.js} +89 -58
- package/dist/{TestEmailPanel-QEEx_PkN.js → TestEmailPanel-CHUY7VZn.js} +2 -2
- package/dist/{TitleEditor-BB4YlIBF.js → TitleEditor-aMR1bOyY.js} +13 -13
- package/dist/TplModal-fmYNYdyp.js +49 -0
- package/dist/{blockTypeIcons-Wzd7W_2x.js → blockTypeIcons-C6b9rg88.js} +26 -26
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +5 -0
- package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js → AiChatSidebar-bkBKpNgE.js} +9 -9
- package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js.map → AiChatSidebar-bkBKpNgE.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js → AiFeatureMenu-CI4SYTq2.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js.map → AiFeatureMenu-CI4SYTq2.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js → BlockIssueBadge-CRnx8Dv9.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js.map → BlockIssueBadge-CRnx8Dv9.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js → BlockPreviewCanvas-CXCWhqbp.js} +13 -9
- package/dist/cdn/chunks/BlockPreviewCanvas-CXCWhqbp.js.map +1 -0
- package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js → CloudEditor-D-t7RyDh.js} +67 -65
- package/dist/cdn/chunks/CloudEditor-D-t7RyDh.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js → CollaboratorBar-DcXYo47v.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js.map → CollaboratorBar-DcXYo47v.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js → ColorPicker-_1O7YU2z.js} +8 -10
- package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js.map → ColorPicker-_1O7YU2z.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js → CommentsSidebar-BEgLBYX-.js} +7 -7
- package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js.map → CommentsSidebar-BEgLBYX-.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js → CountdownBlock-CPnQA44g.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js.map → CountdownBlock-CPnQA44g.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js → CountdownToolbar-Cdo-30U4.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js.map → CountdownToolbar-Cdo-30U4.js.map} +1 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-DPqBr-ut.js +223 -0
- package/dist/cdn/chunks/{DesignReferenceSidebar-BjlaP69l.js.map → DesignReferenceSidebar-DPqBr-ut.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js → IssuesPanel-DoQWb23r.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js.map → IssuesPanel-DoQWb23r.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js → MergeTagModeToggle-CWuVC3MU.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js.map → MergeTagModeToggle-CWuVC3MU.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js → NumberWithSuffix-DQ4sgvt5.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js.map → NumberWithSuffix-DQ4sgvt5.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js → ParagraphEditor-Uv5LPF3W.js} +131 -131
- package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js.map → ParagraphEditor-Uv5LPF3W.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js → RichTextEditorContent-Bt3s09qY.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js.map → RichTextEditorContent-Bt3s09qY.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js → SaveBlockDialog-BAew6EFd.js} +10 -10
- package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js.map → SaveBlockDialog-BAew6EFd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js → SavedBlocksBrowserModal-Dn4IJDJW.js} +9 -9
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js.map → SavedBlocksBrowserModal-Dn4IJDJW.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js → SavedBlocksPanels-B62U5DYW.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js.map → SavedBlocksPanels-B62U5DYW.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js → SavedBlocksPickBar-CyRKZg2T.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js.map → SavedBlocksPickBar-CyRKZg2T.js.map} +1 -1
- package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js → SnapshotHistory-QQt0DKey.js} +7 -7
- package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js.map → SnapshotHistory-QQt0DKey.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js → TemplateScoringPanel-BwyCMcit.js} +67 -67
- package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js.map → TemplateScoringPanel-BwyCMcit.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js → TestEmailModal-B5UQkDJp.js} +89 -58
- package/dist/cdn/chunks/TestEmailModal-B5UQkDJp.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js → TestEmailPanel-CvuBq4RA.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js.map → TestEmailPanel-CvuBq4RA.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js → TitleEditor-B9W954u9.js} +13 -13
- package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js.map → TitleEditor-B9W954u9.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-B8UsvWc8.js +50 -0
- package/dist/cdn/chunks/TplModal-B8UsvWc8.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js → blockTypeIcons-B8s3_ahs.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +6 -1
- package/dist/cdn/chunks/{ca-CO4nq6TX.js.map → ca-8Dvbwo50.js.map} +1 -1
- package/dist/cdn/chunks/{cloud-C2I0P9qj.js → cloud-DOaGUdR0.js} +13 -17
- package/dist/cdn/chunks/{cloud-C2I0P9qj.js.map → cloud-DOaGUdR0.js.map} +1 -1
- package/dist/{de-CUeaFJph.js → cdn/chunks/de-CieSMCUp.js} +7 -0
- package/dist/cdn/chunks/{de-CUeaFJph.js.map → de-CieSMCUp.js.map} +1 -1
- package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
- package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
- package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
- package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
- package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
- package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
- package/dist/{en-zCYIPAL5.js → cdn/chunks/en-D0t_2Fq_.js} +7 -0
- package/dist/cdn/chunks/{en-zCYIPAL5.js.map → en-D0t_2Fq_.js.map} +1 -1
- package/dist/cdn/chunks/{es-BSiH7YkP.js → es-DwDoNuLM.js} +6 -1
- package/dist/cdn/chunks/{es-BSiH7YkP.js.map → es-DwDoNuLM.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-DBWF_lxx.js → extensions-5jgtarD-.js} +30 -26
- package/dist/cdn/chunks/{extensions-DBWF_lxx.js.map → extensions-5jgtarD-.js.map} +1 -1
- package/dist/{fr-DTVJ3det.js → cdn/chunks/fr-CSEEzv1_.js} +7 -0
- package/dist/cdn/chunks/{fr-DTVJ3det.js.map → fr-CSEEzv1_.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
- package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
- package/dist/cdn/chunks/{icons-Cqxvwgz7.js → icons-Cp4ZIJw-.js} +31 -31
- package/dist/cdn/chunks/{icons-Cqxvwgz7.js.map → icons-Cp4ZIJw-.js.map} +1 -1
- package/dist/cdn/chunks/keys-BxPCfHBH.js +12 -0
- package/dist/cdn/chunks/keys-BxPCfHBH.js.map +1 -0
- package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
- package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
- package/dist/cdn/chunks/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +6 -1
- package/dist/cdn/chunks/{nl-BqSquFS3.js.map → nl-xyk1T2mA.js.map} +1 -1
- package/dist/{pt-BR-CMljK37h.js → cdn/chunks/pt-BR-yr6uOJgn.js} +7 -0
- package/dist/cdn/chunks/{pt-BR-CMljK37h.js.map → pt-BR-yr6uOJgn.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
- package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/cdn/chunks/{src-YVsPFLNJ.js → src-B8W42vT-.js} +153 -153
- package/dist/cdn/chunks/{src-YVsPFLNJ.js.map → src-B8W42vT-.js.map} +1 -1
- package/dist/cdn/chunks/{src-C45kfA2t.js → src-C417zeUg.js} +22 -26
- package/dist/cdn/chunks/{src-C45kfA2t.js.map → src-C417zeUg.js.map} +1 -1
- package/dist/cdn/chunks/{src-BCJna-6p.js → src-CZjSXPYq.js} +9 -4
- package/dist/cdn/chunks/src-CZjSXPYq.js.map +1 -0
- package/dist/cdn/chunks/{src-XQmI_Xs1.js → src-Dpj0x27M.js} +523 -787
- package/dist/cdn/chunks/{src-XQmI_Xs1.js.map → src-Dpj0x27M.js.map} +1 -1
- package/dist/cdn/chunks/{styles-BohMfIBd.js → styles-DANwMzW2.js} +770 -751
- package/dist/cdn/chunks/styles-DANwMzW2.js.map +1 -0
- package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
- package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-DRKu__AX.js → tiptap-rsib432n.js} +132 -119
- package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js → useCloudI18n-CjVzv11v.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js.map → useCloudI18n-CjVzv11v.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js → useEditorCore-DfW-thCr.js} +484 -411
- package/dist/cdn/chunks/useEditorCore-DfW-thCr.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-graz19nI.js → useI18n-DniEFeIl.js} +3 -3
- package/dist/cdn/chunks/{useI18n-graz19nI.js.map → useI18n-DniEFeIl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js → useMergeTag-Bk9_f5cc.js} +7 -7
- package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js.map → useMergeTag-Bk9_f5cc.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js → usePopoverPosition-C4xFJCJ2.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js.map → usePopoverPosition-C4xFJCJ2.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +24 -22
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
- package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
- package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
- package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
- package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
- package/dist/{cloud-DsUct4Zq.js → cloud-BZn3jqoL.js} +10 -14
- package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
- package/dist/{cdn/chunks/de-CUeaFJph.js → de-CieSMCUp.js} +5 -2
- package/dist/{dist-BAkGuPYm.js → dist-B6Px6GPj.js} +1 -1
- package/dist/{dist-9uhI32Q4.js → dist-BxbTVeY0.js} +1 -1
- package/dist/{dist-DWu9QWFl.js → dist-CIqhVQ1O.js} +5 -5
- package/dist/{dist-DPHqs0Yh.js → dist-CQ0fVBQ3.js} +8 -3
- package/dist/{dist-CkCVlKj_.js → dist-CRH880TV.js} +1 -1
- package/dist/{dist-ByJVlKWy.js → dist-CcQFPJMF.js} +116 -100
- package/dist/{dist-JXOq1hib.js → dist-CkPvZCld.js} +1 -1
- package/dist/{dist-IGetXrbO.js → dist-DSIgxp0v.js} +1 -1
- package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
- package/dist/{dist-C_kAE1sC.js → dist-DX4x6mQ1.js} +3 -3
- package/dist/{dist-DFO896yT.js → dist-Dx71pluS.js} +16 -11
- package/dist/{dist-CQiAZlTt.js → dist-DyCHUyRR.js} +1 -1
- package/dist/{dist-BIYm-U9x.js → dist-iCEDH3cC.js} +1 -1
- package/dist/{dist-C5tigvDF.js → dist-nR6mxyqI.js} +1 -1
- package/dist/{cdn/chunks/en-zCYIPAL5.js → en-D0t_2Fq_.js} +5 -2
- package/dist/{es-BSiH7YkP.js → es-DwDoNuLM.js} +5 -0
- package/dist/{extensions-C0DXnYdA.js → extensions-BjvyU9Ea.js} +16 -12
- package/dist/{cdn/chunks/fr-DTVJ3det.js → fr-CSEEzv1_.js} +5 -2
- package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
- package/dist/index.d.ts +26 -0
- package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
- package/dist/keys-BFPiNAIn.js +10 -0
- package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
- package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
- package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
- package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
- package/dist/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +5 -0
- package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
- package/dist/{cdn/chunks/pt-BR-CMljK37h.js → pt-BR-yr6uOJgn.js} +5 -2
- package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
- package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
- package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
- package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
- package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-BTTD0Je4.js → styles-C9GM-bBC.js} +913 -894
- package/dist/templatical-editor.js +96 -94
- package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
- package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
- package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
- package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
- package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
- package/dist/{useCloudI18n-DGr3b2SX.js → useCloudI18n-B2lItQ6O.js} +2 -2
- package/dist/{useEditorCore-DOrGex_t.js → useEditorCore-Ck_hBiGA.js} +986 -915
- package/dist/{useI18n-BhAejA-x.js → useI18n-C1KcdX_K.js} +2 -2
- package/dist/{useMergeTag-Ce95YIOO.js → useMergeTag-DHCwRMfH.js} +4 -4
- package/dist/{usePopoverPosition-vjKJaqJf.js → usePopoverPosition-ClnEh_Cp.js} +13 -13
- package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
- package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
- package/package.json +12 -12
- package/dist/DesignReferenceSidebar-C4pTMzQE.js +0 -264
- package/dist/TplModal-DPH4vV8M.js +0 -49
- package/dist/cdn/chunks/BlockPreviewCanvas-Dc4F4HzY.js.map +0 -1
- package/dist/cdn/chunks/CloudEditor-CeKaWWO5.js.map +0 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-BjlaP69l.js +0 -223
- package/dist/cdn/chunks/TestEmailModal-CiPfOn2v.js.map +0 -1
- package/dist/cdn/chunks/TplModal-Cu4tBBnF.js +0 -50
- package/dist/cdn/chunks/TplModal-Cu4tBBnF.js.map +0 -1
- package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
- package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
- package/dist/cdn/chunks/keys-B5uoP9P7.js +0 -12
- package/dist/cdn/chunks/keys-B5uoP9P7.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
- package/dist/cdn/chunks/src-BCJna-6p.js.map +0 -1
- package/dist/cdn/chunks/styles-BohMfIBd.js.map +0 -1
- package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
- package/dist/cdn/chunks/tiptap-DRKu__AX.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-B_vwuKdI.js.map +0 -1
- package/dist/keys-BVlG5Ozc.js +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as e, Sn as t, Ut as n, Wt as r, Y as i, b as a, c as o, nt as s, o as c, p as l, q as u, qt as d, xn as f } from "./dist-
|
|
1
|
+
import { R as e, Sn as t, Ut as n, Wt as r, Y as i, b as a, c as o, nt as s, o as c, p as l, q as u, qt as d, xn as f } from "./dist-CcQFPJMF.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var p = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", m = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", h = "numeric", g = "ascii", _ = "alpha", v = "asciinumeric", y = "alphanumeric", b = "domain", x = "emoji", ee = "scheme", S = "slashscheme", C = "whitespace";
|
|
4
4
|
function w(e, t) {
|
|
@@ -521,8 +521,8 @@ function Tt(n) {
|
|
|
521
521
|
appendTransaction: (t, r, o) => {
|
|
522
522
|
let c = t.some((e) => e.docChanged) && !r.doc.eq(o.doc), l = t.some((e) => e.getMeta("preventAutolink"));
|
|
523
523
|
if (!c || l) return;
|
|
524
|
-
let { tr: u } = o;
|
|
525
|
-
if (i(
|
|
524
|
+
let { tr: u } = o, d = a(r.doc, [...t]);
|
|
525
|
+
if (i(d).forEach(({ newRange: t }) => {
|
|
526
526
|
let r = e(o.doc, t, (e) => e.isTextblock), i, a;
|
|
527
527
|
if (r.length > 1) i = r[0], a = o.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
|
|
528
528
|
else if (r.length) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cn as e, Ct as t, Dn as n, En as r, Mt as i, Nt as a, On as o, Pt as s, Sn as c, Tn as l, Ut as u, Wt as d, Xt as f, Y as p, Z as m, _n as h, at as g, bn as _, c as v, en as ee, gn as y, i as b, in as te, mn as ne, ot as re, qt as x, rt as ie, u as S, v as ae, vn as C, wn as w, wt as oe, xn as T, y as se, yn as E } from "./dist-
|
|
2
|
-
import { Link as ce } from "./dist-
|
|
3
|
-
import { Underline as le } from "./dist-
|
|
1
|
+
import { Cn as e, Ct as t, Dn as n, En as r, Mt as i, Nt as a, On as o, Pt as s, Sn as c, Tn as l, Ut as u, Wt as d, Xt as f, Y as p, Z as m, _n as h, at as g, bn as _, c as v, en as ee, gn as y, i as b, in as te, mn as ne, ot as re, qt as x, rt as ie, u as S, v as ae, vn as C, wn as w, wt as oe, xn as T, y as se, yn as E } from "./dist-CcQFPJMF.js";
|
|
2
|
+
import { Link as ce } from "./dist-DX4x6mQ1.js";
|
|
3
|
+
import { Underline as le } from "./dist-DyCHUyRR.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@tiptap+core@3.29.2_@tiptap+pm@3.29.2/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
|
|
5
5
|
var D = (e, t) => {
|
|
6
6
|
if (e === "slot") return 0;
|
|
@@ -930,10 +930,10 @@ var F = (e, t) => {
|
|
|
930
930
|
return !r.empty && a.sameParent(o) ? !1 : it(n, e.state) ? e.chain().focus(e.state.selection.from + 4).lift(n).joinBackward().run() : at(n, e.state) ? e.chain().joinForward().joinBackward().run() : e.commands.joinItemForward();
|
|
931
931
|
}, st = (e, t) => {
|
|
932
932
|
let { $anchor: n } = t.selection, r = t.doc.resolve(n.pos - n.parentOffset - 2);
|
|
933
|
-
return
|
|
933
|
+
return r.index() !== r.parent.childCount - 1 && r.nodeAfter?.type.name === e;
|
|
934
934
|
}, ct = (e, t) => {
|
|
935
935
|
let { $anchor: n } = t.selection, r = t.doc.resolve(n.pos - 2);
|
|
936
|
-
return
|
|
936
|
+
return r.index() !== 0 && r.nodeBefore?.type.name === e;
|
|
937
937
|
}, lt = (e, t, n) => {
|
|
938
938
|
if (!n) return !1;
|
|
939
939
|
let r = g(e, t.schema), i = !1;
|
|
@@ -1329,7 +1329,10 @@ var Tt = S.create({
|
|
|
1329
1329
|
}
|
|
1330
1330
|
return t.createNode("taskItem", { checked: e.checked || !1 }, n);
|
|
1331
1331
|
},
|
|
1332
|
-
renderMarkdown: (e, t) =>
|
|
1332
|
+
renderMarkdown: (e, t) => {
|
|
1333
|
+
let n = `- [${e.attrs?.checked ? "x" : " "}] `;
|
|
1334
|
+
return te(e, t, n);
|
|
1335
|
+
},
|
|
1333
1336
|
addExtensions() {
|
|
1334
1337
|
return this.options.nested ? [He(this.name, [this.options.taskListTypeName])] : [];
|
|
1335
1338
|
},
|
|
@@ -1746,7 +1749,8 @@ var Ft = class {
|
|
|
1746
1749
|
if (n > 0 ? e.indexAfter(r) < o.childCount : e.index(r) > 0) {
|
|
1747
1750
|
a = o.child(n > 0 ? e.indexAfter(r) : e.index(r) - 1);
|
|
1748
1751
|
break;
|
|
1749
|
-
}
|
|
1752
|
+
}
|
|
1753
|
+
if (r == 0) return null;
|
|
1750
1754
|
i += n;
|
|
1751
1755
|
let s = e.doc.resolve(i);
|
|
1752
1756
|
if (t.valid(s)) return s;
|
|
@@ -2072,8 +2076,8 @@ function Xt(e, t, n, r) {
|
|
|
2072
2076
|
if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
|
|
2073
2077
|
let i = n.getMeta("composition"), a = e.prevTime == 0 || !o && e.prevComposition != i && (e.prevTime < (n.time || 0) - r.newGroupDelay || !Zt(n, e.prevRanges)), s = o ? J(e.prevRanges, n.mapping) : Qt(n.mapping.maps);
|
|
2074
2078
|
return new q(e.done.addTransform(n, a ? t.selection.getBookmark() : void 0, r, X(t)), G.empty, s, n.time, i ?? e.prevComposition);
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2079
|
+
}
|
|
2080
|
+
return (a = n.getMeta("rebased")) ? new q(e.done.rebased(n, a), e.undone.rebased(n, a), J(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new q(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), J(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
|
|
2077
2081
|
}
|
|
2078
2082
|
function Zt(e, t) {
|
|
2079
2083
|
if (!t) return !1;
|
|
@@ -2264,11 +2268,12 @@ var cn = b.create({
|
|
|
2264
2268
|
return [Bt()];
|
|
2265
2269
|
},
|
|
2266
2270
|
extendNodeSchema(e) {
|
|
2267
|
-
|
|
2271
|
+
let t = {
|
|
2268
2272
|
name: e.name,
|
|
2269
2273
|
options: e.options,
|
|
2270
2274
|
storage: e.storage
|
|
2271
|
-
}
|
|
2275
|
+
};
|
|
2276
|
+
return { allowGapCursor: ae(m(e, "allowGapCursor", t)) ?? null };
|
|
2272
2277
|
}
|
|
2273
2278
|
}), ln = "placeholder", un = new c("tiptap__placeholder");
|
|
2274
2279
|
function dn(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, qt as t } from "./dist-
|
|
1
|
+
import { c as e, qt as t } from "./dist-CcQFPJMF.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "underline",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color as e } from "./dist-
|
|
1
|
+
import { Color as e } from "./dist-BxbTVeY0.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-color@3.29.2_@tiptap+extension-text-style@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__/node_modules/@tiptap/extension-color/dist/index.js
|
|
3
3
|
var t = e;
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, qt as t } from "./dist-
|
|
1
|
+
import { c as e, qt as t } from "./dist-CcQFPJMF.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__@tiptap+pm@3.29.2/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "superscript",
|
|
@@ -570,6 +570,11 @@ var e = {
|
|
|
570
570
|
daysAgo: "{days}d ago"
|
|
571
571
|
}
|
|
572
572
|
},
|
|
573
|
+
previewResolution: {
|
|
574
|
+
resolving: "Resolving preview…",
|
|
575
|
+
failed: "Preview couldn't be resolved — showing the unresolved template.",
|
|
576
|
+
hint: "Preview uses resolved data from your backend."
|
|
577
|
+
},
|
|
573
578
|
mergeTagPreview: {
|
|
574
579
|
label: "Merge tag view",
|
|
575
580
|
sample: "Sample",
|
|
@@ -627,5 +632,3 @@ var e = {
|
|
|
627
632
|
};
|
|
628
633
|
//#endregion
|
|
629
634
|
export { e as default };
|
|
630
|
-
|
|
631
|
-
//# sourceMappingURL=en-zCYIPAL5.js.map
|
|
@@ -570,6 +570,11 @@ var e = {
|
|
|
570
570
|
daysAgo: "hace {days} d"
|
|
571
571
|
}
|
|
572
572
|
},
|
|
573
|
+
previewResolution: {
|
|
574
|
+
resolving: "Resolviendo la vista previa…",
|
|
575
|
+
failed: "No se pudo resolver la vista previa; se muestra la plantilla sin resolver.",
|
|
576
|
+
hint: "La vista previa usa datos resueltos por tu backend."
|
|
577
|
+
},
|
|
573
578
|
mergeTagPreview: {
|
|
574
579
|
label: "Vista de etiquetas de combinación",
|
|
575
580
|
sample: "Ejemplo",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Dt as e, Et as t, O as n, Ot as r, R as i, Y as a, _ as o, c as s, d as c, l, nt as u, s as d, u as f, w as p, z as m } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { D as v, E as y, N as b, a as x } from "./dist-
|
|
4
|
-
import { t as S } from "./useI18n-
|
|
5
|
-
import { t as C } from "./useMergeTag-
|
|
6
|
-
import { i as w, o as T, p as E, qt as D, u as O } from "./dist-
|
|
7
|
-
import { i as k, r as A, t as j } from "./MergeTagSuggestion-
|
|
8
|
-
import { n as M, t as N } from "./dist-
|
|
1
|
+
import { Dt as e, Et as t, O as n, Ot as r, R as i, Y as a, _ as o, c as s, d as c, l, nt as u, s as d, u as f, w as p, z as m } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { D as v, E as y, N as b, a as x } from "./dist-CQ0fVBQ3.js";
|
|
4
|
+
import { t as S } from "./useI18n-C1KcdX_K.js";
|
|
5
|
+
import { t as C } from "./useMergeTag-DHCwRMfH.js";
|
|
6
|
+
import { i as w, o as T, p as E, qt as D, u as O } from "./dist-CcQFPJMF.js";
|
|
7
|
+
import { i as k, r as A, t as j } from "./MergeTagSuggestion-D0OHRv7L.js";
|
|
8
|
+
import { n as M, t as N } from "./dist-CIqhVQ1O.js";
|
|
9
9
|
//#region src/extensions/FontSize.ts
|
|
10
10
|
var P = w.create({
|
|
11
11
|
name: "fontSize",
|
|
@@ -232,8 +232,9 @@ var U = O.create({
|
|
|
232
232
|
};
|
|
233
233
|
},
|
|
234
234
|
addInputRules() {
|
|
235
|
+
let e = RegExp(this.options.syntax.logic.source + "$", "");
|
|
235
236
|
return [new T({
|
|
236
|
-
find:
|
|
237
|
+
find: e,
|
|
237
238
|
handler: ({ state: e, range: t, match: n }) => {
|
|
238
239
|
let r = n[0];
|
|
239
240
|
if (!b(r, this.options.syntax)) return;
|
|
@@ -246,8 +247,9 @@ var U = O.create({
|
|
|
246
247
|
})];
|
|
247
248
|
},
|
|
248
249
|
addPasteRules() {
|
|
250
|
+
let e = new RegExp(this.options.syntax.logic.source, "g");
|
|
249
251
|
return [new E({
|
|
250
|
-
find:
|
|
252
|
+
find: e,
|
|
251
253
|
handler: ({ state: e, range: t, match: n }) => {
|
|
252
254
|
let r = n[0];
|
|
253
255
|
if (!b(r, this.options.syntax)) return;
|
|
@@ -395,8 +397,9 @@ var U = O.create({
|
|
|
395
397
|
};
|
|
396
398
|
},
|
|
397
399
|
addInputRules() {
|
|
400
|
+
let e = RegExp(this.options.syntax.value.source + "$", "");
|
|
398
401
|
return [new T({
|
|
399
|
-
find:
|
|
402
|
+
find: e,
|
|
400
403
|
handler: ({ state: e, range: t, match: n }) => {
|
|
401
404
|
let r = n[0], i = v(r, this.options.mergeTags), a = this.type.create({
|
|
402
405
|
label: i,
|
|
@@ -407,8 +410,9 @@ var U = O.create({
|
|
|
407
410
|
})];
|
|
408
411
|
},
|
|
409
412
|
addPasteRules() {
|
|
413
|
+
let e = new RegExp(this.options.syntax.value.source, "g");
|
|
410
414
|
return [new E({
|
|
411
|
-
find:
|
|
415
|
+
find: e,
|
|
412
416
|
handler: ({ state: e, range: t, match: n }) => {
|
|
413
417
|
let r = n[0], i = v(r, this.options.mergeTags), a = this.type.create({
|
|
414
418
|
label: i,
|
|
@@ -570,6 +570,11 @@ var e = {
|
|
|
570
570
|
daysAgo: "il y a {days} j"
|
|
571
571
|
}
|
|
572
572
|
},
|
|
573
|
+
previewResolution: {
|
|
574
|
+
resolving: "Résolution de l’aperçu…",
|
|
575
|
+
failed: "L’aperçu n’a pas pu être résolu — le modèle non résolu est affiché.",
|
|
576
|
+
hint: "L’aperçu utilise des données résolues par votre backend."
|
|
577
|
+
},
|
|
573
578
|
mergeTagPreview: {
|
|
574
579
|
label: "Affichage des balises de fusion",
|
|
575
580
|
sample: "Exemple",
|
|
@@ -627,5 +632,3 @@ var e = {
|
|
|
627
632
|
};
|
|
628
633
|
//#endregion
|
|
629
634
|
export { e as default };
|
|
630
|
-
|
|
631
|
-
//# sourceMappingURL=fr-DTVJ3det.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import type { MediaRequestContext } from '@templatical/media-library';
|
|
|
21
21
|
import type { MediaResult } from '@templatical/types';
|
|
22
22
|
import { MergeTagsConfig } from '@templatical/types';
|
|
23
23
|
import { Ref } from 'vue';
|
|
24
|
+
import type { ResolvePreview } from '@templatical/types';
|
|
24
25
|
import { SavedBlock } from '@templatical/types';
|
|
25
26
|
import { SavedBlocksListParams } from '@templatical/types';
|
|
26
27
|
import { SavedBlocksProvider } from '@templatical/types';
|
|
@@ -359,6 +360,18 @@ export declare interface TemplaticalCloudEditorConfig {
|
|
|
359
360
|
* keep your own) — never rewriting it.
|
|
360
361
|
*/
|
|
361
362
|
testEmail?: TestEmailProvider;
|
|
363
|
+
/**
|
|
364
|
+
* Resolves the template for preview surfaces — typically evaluating logic
|
|
365
|
+
* tags (`{% if %}` … `{% endif %}`) against real data on your backend.
|
|
366
|
+
*
|
|
367
|
+
* The **same key and the same type as `init()`**, so adopting or dropping it
|
|
368
|
+
* is a one-line change either way. Not plan-gated: this is a display concern,
|
|
369
|
+
* and Cloud has no server-side resolver of its own to supersede it.
|
|
370
|
+
*
|
|
371
|
+
* Supersedes `MergeTag.sample` when configured, and the Sample/Label switch
|
|
372
|
+
* stops rendering.
|
|
373
|
+
*/
|
|
374
|
+
resolvePreview?: ResolvePreview;
|
|
362
375
|
/**
|
|
363
376
|
* Template linter (`@templatical/quality`) configuration. Runs every
|
|
364
377
|
* linter exported by the package (accessibility + structure). Cloud
|
|
@@ -439,6 +452,19 @@ export declare interface TemplaticalEditorConfig {
|
|
|
439
452
|
onSave?: (content: TemplateContent) => void;
|
|
440
453
|
onError?: (error: Error) => void;
|
|
441
454
|
onRequestMedia?: OnRequestMedia;
|
|
455
|
+
/**
|
|
456
|
+
* Resolves the template for preview surfaces — typically evaluating logic
|
|
457
|
+
* tags (`{% if %}` … `{% endif %}`) against real data on your backend.
|
|
458
|
+
*
|
|
459
|
+
* Called when a preview opens and when the test-email recipient changes,
|
|
460
|
+
* debounced. Display-only: the result never reaches `getContent()`, a send or
|
|
461
|
+
* an export. Rejecting is safe — the preview falls back to the unresolved
|
|
462
|
+
* template and says so.
|
|
463
|
+
*
|
|
464
|
+
* Supersedes `MergeTag.sample` when configured: real data beats example data,
|
|
465
|
+
* so the Sample/Label switch stops rendering.
|
|
466
|
+
*/
|
|
467
|
+
resolvePreview?: ResolvePreview;
|
|
442
468
|
/**
|
|
443
469
|
* Display-only resolver for image `src` values. The canvas calls this to
|
|
444
470
|
* obtain a preview URL for a src the user entered; the content model (and
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { x as e } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
//#region src/keys.ts
|
|
3
|
+
var t = Symbol("translations"), n = Symbol("editor"), r = Symbol("history"), i = Symbol("blockActions"), a = Symbol("conditionPreview"), o = Symbol("appliesConditionFilter"), s = Symbol("fontsManager"), c = Symbol("themeStyles"), l = Symbol("tplUiTheme"), u = Symbol("blockDefaults"), d = Symbol("blockRegistry"), f = Symbol("customBlockDefinitions"), p = Symbol("paletteBlocks"), m = Symbol("htmlBlockPreview"), h = Symbol("colors"), g = Symbol("customBlockStylesheets"), _ = Symbol("mergeTags"), v = Symbol("mergeTagSyntax"), y = Symbol("onRequestMergeTag"), b = Symbol("mergeTagAutocomplete"), x = Symbol("mergeTagSampleMode"), S = Symbol("useMergeTagSamples"), C = Symbol("resolvePreview"), w = Symbol("previewResolution"), T = Symbol("mergeTagPicker"), E = Symbol("logicTags"), D = Symbol("logicPairs"), O = Symbol("logicPicker"), k = Symbol("onRequestLogic"), A = Symbol("onRequestMedia"), j = Symbol("imageUrlResolver"), M = Symbol("displayConditions"), N = Symbol("allowCustomConditions"), P = Symbol("capabilities"), F = Symbol("keyboardReorder"), I = Symbol("templateLint"), L = Symbol("editorRoot"), R = Symbol("popoverRoot"), z = Symbol("savedBlocks"), B = Symbol("authManager"), V = Symbol("aiConfig"), H = Symbol("comments"), U = Symbol("scoring"), W = Symbol("cloudTranslations");
|
|
4
|
+
function G(t, n) {
|
|
5
|
+
let r = e(t, null);
|
|
6
|
+
if (r == null) throw Error(`${n} requires a provider for ${t.description ?? "unknown key"}. Ensure it is a descendant of Editor or CloudEditor.`);
|
|
7
|
+
return r;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { v as A, I as B, D as C, b as D, _ as E, R as F, G, t as H, w as I, C as L, A as M, y as N, T as O, p as P, z as R, F as S, O as T, l as U, c as V, S as W, L as _, i as a, m as b, P as c, H as d, a as f, n as g, M as h, B as i, k as j, x as k, W as l, g as m, N as n, u as o, f as p, o as r, d as s, V as t, h as u, s as v, E as w, j as x, r as y, U as z };
|