@templatical/editor 0.39.4 → 0.40.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-5qqrS6uy.js → AiChatSidebar-a8TPBAl2.js} +3 -3
- package/dist/{AiFeatureMenu-BBO_Ojlp.js → AiFeatureMenu-CbgDjLqk.js} +3 -3
- package/dist/{BlockIssueBadge-D5oGxOQP.js → BlockIssueBadge-D8KsGWY6.js} +2 -2
- package/dist/BlockPreviewCanvas-XNV83YGg.js +133 -0
- package/dist/{CloudHeaderExtras-Cg6uF-yQ.js → CloudHeaderExtras-C-tbLyfE.js} +2 -2
- package/dist/{CloudPanels-D1Gg4qrG.js → CloudPanels-DnWDrgnQ.js} +4 -4
- package/dist/{CollaboratorBar-Cmn0LccS.js → CollaboratorBar-DUmeCkyD.js} +2 -2
- package/dist/{CommentsPanel-twNhYUqZ.js → CommentsPanel-9k1q-79y.js} +1 -1
- package/dist/{CommentsSidebar-DDO0Qx8U.js → CommentsSidebar-Bc7nORmD.js} +2 -2
- package/dist/{CountdownBlock-DSvbf3qU.js → CountdownBlock-C6R-hn7D.js} +1 -1
- package/dist/{CountdownToolbar-nvHxu8Gu.js → CountdownToolbar-DkC-qSgq.js} +4 -4
- package/dist/{DesignReferenceSidebar-C8ohNhOd.js → DesignReferenceSidebar-OoiYJAKS.js} +3 -3
- package/dist/{IssuesPanel-Ck0EGoV5.js → IssuesPanel-Dnns3O9z.js} +3 -3
- package/dist/{LogicTagInsertButton-D8IwH-9Z.js → LogicTagInsertButton-BimKobaG.js} +67 -67
- package/dist/{MergeTagInput-QI-5KG2R.js → MergeTagInput-DqpVzhy7.js} +1 -1
- package/dist/{MergeTagModeToggle-D793Bj_E.js → MergeTagModeToggle-BkIiAgpQ.js} +4 -4
- package/dist/{ParagraphEditor-D6FRxr8Y.js → ParagraphEditor-D67Cqh-T.js} +19 -19
- package/dist/{RestoreVersionDialog--b0qfNaK.js → RestoreVersionDialog-BaKDuPCX.js} +2 -2
- package/dist/{RichTextEditorContent-BC5UTVnb.js → RichTextEditorContent-AEtfKvLz.js} +5 -5
- package/dist/{SaveBlockDialog-C0BdEGeL.js → SaveBlockDialog-BxkI52fN.js} +8 -8
- package/dist/{SavedBlocksBrowserModal-BzDgXtr4.js → SavedBlocksBrowserModal-C4_25Kvn.js} +6 -6
- package/dist/{SavedBlocksPanels-DN-bDZzy.js → SavedBlocksPanels-DQ0w9G1O.js} +1 -1
- package/dist/{SavedBlocksPickBar-pEi9Et8Q.js → SavedBlocksPickBar-CtH-sfxh.js} +2 -2
- package/dist/{TemplateScoringPanel-B1wcfE0w.js → TemplateScoringPanel-Cs0TGtRF.js} +3 -3
- package/dist/{TemplateSettings-C_5leDdF.js → TemplateSettings-BD1WNP4C.js} +7 -7
- package/dist/{TestEmailModal-maM8SLBV.js → TestEmailModal-DZi58FU9.js} +70 -65
- package/dist/{TestEmailPanel-8iAZYpCK.js → TestEmailPanel-D__9Wvgz.js} +1 -1
- package/dist/{TitleEditor-L26QXwna.js → TitleEditor-v5p89Djs.js} +9 -9
- package/dist/{ToggleSwitch-JvQ_CmI1.js → ToggleSwitch-CJfQ8u57.js} +1 -1
- package/dist/{Toolbar-B2kDLFhn.js → Toolbar-C7SjilzH.js} +540 -525
- package/dist/{TplModal-DVMS_nAn.js → TplModal-B8uLyoXE.js} +3 -3
- package/dist/{VersionHistoryMenu-BVQityes.js → VersionHistoryMenu-b0A8mS2_.js} +2 -2
- package/dist/{VersionHistoryPanels-D8f8KvKX.js → VersionHistoryPanels-DfNrRT6y.js} +1 -1
- package/dist/{VersionPreviewBanner-BaMSgA1O.js → VersionPreviewBanner-xB9r83r0.js} +1 -1
- package/dist/WrapperBlock-yGmKw0T-.js +34 -0
- package/dist/{blockTypeIcons-CdXugKyV.js → blockTypeIcons-B0Bq1WT1.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +1 -0
- package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js → AiChatSidebar-mKImUXi6.js} +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js.map → AiChatSidebar-mKImUXi6.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js → AiFeatureMenu-23HCL517.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js.map → AiFeatureMenu-23HCL517.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js → BlockIssueBadge-DS1pUf5g.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js.map → BlockIssueBadge-DS1pUf5g.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-DObWyQfh.js +135 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-DObWyQfh.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js → CloudHeaderExtras-DOB_uWpt.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js.map → CloudHeaderExtras-DOB_uWpt.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js → CloudPanels-DcAn5QW7.js} +5 -5
- package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js.map → CloudPanels-DcAn5QW7.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js → CollaboratorBar-C0M8c2Vv.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js.map → CollaboratorBar-C0M8c2Vv.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js → CommentsPanel-BtAGZfF6.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js.map → CommentsPanel-BtAGZfF6.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js → CommentsSidebar-Ws07MXYj.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js.map → CommentsSidebar-Ws07MXYj.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js → CountdownBlock-sVDjKkRw.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js.map → CountdownBlock-sVDjKkRw.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js → CountdownToolbar-Bu93WiS8.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js.map → CountdownToolbar-Bu93WiS8.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js → DesignReferenceSidebar-BlSdh5B7.js} +4 -4
- package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js.map → DesignReferenceSidebar-BlSdh5B7.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js → IssuesPanel-CKkv9z9g.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js.map → IssuesPanel-CKkv9z9g.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js → LogicTagInsertButton-CHc1yZ9v.js} +165 -165
- package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js.map → LogicTagInsertButton-CHc1yZ9v.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js → MergeTagInput--qTYfCWk.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js.map → MergeTagInput--qTYfCWk.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js → MergeTagModeToggle-CdWIGo3Q.js} +5 -5
- package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js.map → MergeTagModeToggle-CdWIGo3Q.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js → ParagraphEditor-BilbVtrG.js} +17 -17
- package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js.map → ParagraphEditor-BilbVtrG.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js → RestoreVersionDialog-Q-a44Vjv.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js.map → RestoreVersionDialog-Q-a44Vjv.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js → RichTextEditorContent-Fzuu9pLP.js} +6 -6
- package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js.map → RichTextEditorContent-Fzuu9pLP.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js → SaveBlockDialog-DeW_M6kh.js} +9 -9
- package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js.map → SaveBlockDialog-DeW_M6kh.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js → SavedBlocksBrowserModal-BzQWibKG.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js.map → SavedBlocksBrowserModal-BzQWibKG.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js → SavedBlocksPanels-Ce1RePjk.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js.map → SavedBlocksPanels-Ce1RePjk.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js → SavedBlocksPickBar-DIDl6xfy.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js.map → SavedBlocksPickBar-DIDl6xfy.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js → TemplateScoringPanel-d_Ppowsq.js} +49 -49
- package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js.map → TemplateScoringPanel-d_Ppowsq.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js → TemplateSettings-Dr5OJ0Gi.js} +8 -8
- package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js.map → TemplateSettings-Dr5OJ0Gi.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DId9Og-N.js → TestEmailModal-CWTmaJuT.js} +56 -51
- package/dist/cdn/chunks/TestEmailModal-CWTmaJuT.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js → TestEmailPanel-BdYsVHXA.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js.map → TestEmailPanel-BdYsVHXA.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js → TitleEditor-pJeeZ-PX.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js.map → TitleEditor-pJeeZ-PX.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js → ToggleSwitch-0dGCYnRY.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js.map → ToggleSwitch-0dGCYnRY.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js → Toolbar-BsiHW9gY.js} +493 -478
- package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js.map → Toolbar-BsiHW9gY.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-BKqDFLq3.js → TplModal-CEuGD7pt.js} +4 -4
- package/dist/cdn/chunks/{TplModal-BKqDFLq3.js.map → TplModal-CEuGD7pt.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js → VersionHistoryMenu-B3-hNu9c.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js.map → VersionHistoryMenu-B3-hNu9c.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js → VersionHistoryPanels-C1yck5gT.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js.map → VersionHistoryPanels-C1yck5gT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js → VersionPreviewBanner-PzVQSBJE.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js.map → VersionPreviewBanner-PzVQSBJE.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-DGkbmj06.js +36 -0
- package/dist/cdn/chunks/WrapperBlock-DGkbmj06.js.map +1 -0
- package/dist/cdn/chunks/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +2 -1
- package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +1 -0
- package/dist/cdn/chunks/{cloud-eaXyxZ8l.js → cloud-CIT4yPp4.js} +2 -2
- package/dist/cdn/chunks/{cloud-eaXyxZ8l.js.map → cloud-CIT4yPp4.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-D5bXzcTe.js → createCloudRuntime-COUxbPvd.js} +49 -40
- package/dist/cdn/chunks/createCloudRuntime-COUxbPvd.js.map +1 -0
- package/dist/cdn/chunks/{de-CY6SlqBx.js → de-D4dweQw8.js} +2 -1
- package/dist/cdn/chunks/de-D4dweQw8.js.map +1 -0
- package/dist/{en-8V-2kDcp.js → cdn/chunks/en-VE7R7NyL.js} +3 -0
- package/dist/cdn/chunks/en-VE7R7NyL.js.map +1 -0
- package/dist/{es-Cmn1rT3l.js → cdn/chunks/es-B9OhP8H3.js} +3 -0
- package/dist/cdn/chunks/es-B9OhP8H3.js.map +1 -0
- package/dist/cdn/chunks/{extensions-Bhu8UEE5.js → extensions-CafoGF65.js} +5 -5
- package/dist/cdn/chunks/{extensions-Bhu8UEE5.js.map → extensions-CafoGF65.js.map} +1 -1
- package/dist/cdn/chunks/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +2 -1
- package/dist/cdn/chunks/fr-wrXhIi00.js.map +1 -0
- package/dist/cdn/chunks/keys-DCWeHkSF.js +12 -0
- package/dist/cdn/chunks/keys-DCWeHkSF.js.map +1 -0
- package/dist/{nl-Bzk2zRI8.js → cdn/chunks/nl-DeFatKJe.js} +3 -0
- package/dist/cdn/chunks/nl-DeFatKJe.js.map +1 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js +21 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +2 -1
- package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-9VrG8X3m.js → socialIcons-BvYNMn1G.js} +264 -258
- package/dist/cdn/chunks/socialIcons-BvYNMn1G.js.map +1 -0
- package/dist/cdn/chunks/{src-CqYYKcCI.js → src-CbGCES0u.js} +175 -168
- package/dist/cdn/chunks/src-CbGCES0u.js.map +1 -0
- package/dist/cdn/chunks/{src-CaNsA_WX.js → src-Cnc5E71L.js} +258 -247
- package/dist/cdn/chunks/src-Cnc5E71L.js.map +1 -0
- package/dist/cdn/chunks/{src-Dwgq7hf4.js → src-DveVYoWS.js} +281 -181
- package/dist/cdn/chunks/src-DveVYoWS.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js → useCloudI18n-CrjWbpbu.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js.map → useCloudI18n-CrjWbpbu.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CXYI14ux.js → useEditorCore-CQraU2s_.js} +421 -408
- package/dist/cdn/chunks/useEditorCore-CQraU2s_.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js → useEditorRoot-CshefZLP.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js.map → useEditorRoot-CshefZLP.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js → useI18n-CyO_Nmca.js} +2 -2
- package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js.map → useI18n-CyO_Nmca.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js → useLogicTag-DF7-l66G.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js.map → useLogicTag-DF7-l66G.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js → useMergeTag-DbIHw4NG.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js.map → useMergeTag-DbIHw4NG.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js → usePopoverPosition-BJRvAb-h.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js.map → usePopoverPosition-BJRvAb-h.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js → useScrollToBlock-DgHZJvID.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js.map → useScrollToBlock-DgHZJvID.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +484 -460
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cloud-C9xWZXhg.js → cloud-DsqqUfzh.js} +1 -1
- package/dist/{createCloudRuntime-BGd5--Bq.js → createCloudRuntime-iLflkYzP.js} +47 -38
- package/dist/{de-CY6SlqBx.js → de-D4dweQw8.js} +1 -0
- package/dist/{dist-tGkjkX-v.js → dist-DbUZvK04.js} +277 -176
- package/dist/{cdn/chunks/en-8V-2kDcp.js → en-VE7R7NyL.js} +1 -2
- package/dist/{cdn/chunks/es-Cmn1rT3l.js → es-B9OhP8H3.js} +1 -2
- package/dist/{extensions-DRN-elXT.js → extensions-DDhjuVKy.js} +4 -4
- package/dist/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +1 -0
- package/dist/index.d.ts +65 -0
- package/dist/keys-CDqfZIRt.js +10 -0
- package/dist/{cdn/chunks/nl-Bzk2zRI8.js → nl-DeFatKJe.js} +1 -2
- package/dist/preRenderCustomBlocks-BBSqQgke.js +19 -0
- package/dist/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +1 -0
- package/dist/{socialIcons-DkGcpEwC.js → socialIcons-O7PZCW2P.js} +245 -239
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +520 -496
- package/dist/{useCloudI18n-D1iedlP3.js → useCloudI18n-DpEsiLeR.js} +1 -1
- package/dist/{useEditorCore-BUVbQgwb.js → useEditorCore-Dt_VWNqX.js} +817 -804
- package/dist/{useEditorRoot-BOxn5EfP.js → useEditorRoot-CkB_5d0h.js} +1 -1
- package/dist/{useI18n-Ds_-druD.js → useI18n-B_CdcBwG.js} +1 -1
- package/dist/{useLogicTag-DoHfc08B.js → useLogicTag-D9pvgxQR.js} +3 -3
- package/dist/{useMergeTag-DXyum3kG.js → useMergeTag-BaVFPdlq.js} +5 -5
- package/dist/{usePopoverPosition-Du-Ah8E9.js → usePopoverPosition-DH7z3Ghm.js} +1 -1
- package/dist/{useScrollToBlock-DXQYPCnJ.js → useScrollToBlock-Dj4v3rxr.js} +1 -1
- package/package.json +7 -7
- package/dist/BlockPreviewCanvas-BMC16_QU.js +0 -131
- package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js +0 -133
- package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-DId9Og-N.js.map +0 -1
- package/dist/cdn/chunks/ca-Bqeygp1_.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-D5bXzcTe.js.map +0 -1
- package/dist/cdn/chunks/de-CY6SlqBx.js.map +0 -1
- package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js +0 -8
- package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js.map +0 -1
- package/dist/cdn/chunks/en-8V-2kDcp.js.map +0 -1
- package/dist/cdn/chunks/es-Cmn1rT3l.js.map +0 -1
- package/dist/cdn/chunks/fr-2yDa4zXM.js.map +0 -1
- package/dist/cdn/chunks/keys-dJbD1QPs.js +0 -12
- package/dist/cdn/chunks/keys-dJbD1QPs.js.map +0 -1
- package/dist/cdn/chunks/nl-Bzk2zRI8.js.map +0 -1
- package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js +0 -23
- package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-DqtSCTUi.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-9VrG8X3m.js.map +0 -1
- package/dist/cdn/chunks/src-CaNsA_WX.js.map +0 -1
- package/dist/cdn/chunks/src-CqYYKcCI.js.map +0 -1
- package/dist/cdn/chunks/src-Dwgq7hf4.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CXYI14ux.js.map +0 -1
- package/dist/emailFrameWidth-BmFCN2dp.js +0 -6
- package/dist/keys-BdoSgsz9.js +0 -10
- package/dist/preRenderCustomBlocks-DFXH54Zr.js +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, E as r, J as i, K as a, M as o, S as s, W as c, Z as l, at as u, b as d, c as f, d as p, g as m, h, i as g, jt as _, kt as v, l as y, r as b, s as x, u as S, v as C } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import { c as w, n as T, s as
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { a as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as P } from "./useMergeTag-
|
|
12
|
-
import { t as F } from "./useLogicTag-
|
|
2
|
+
import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
+
import { B as E, I as D, L as O, N as k } from "./dist-DbUZvK04.js";
|
|
4
|
+
import { t as ne } from "./dist-BDuPwOyn.js";
|
|
5
|
+
import { J as re, Y as A, Z as ie, d as ae } from "./keys-CDqfZIRt.js";
|
|
6
|
+
import { t as j } from "./useI18n-B_CdcBwG.js";
|
|
7
|
+
import { a as oe, i as se, n as ce, r as le, t as ue } from "./usePopoverPosition-DH7z3Ghm.js";
|
|
8
|
+
import { t as M } from "./createLucideIcon-BxY5yz5u.js";
|
|
9
|
+
import { t as de } from "./pencil-DFVFA7Dj.js";
|
|
10
|
+
import { t as N } from "./x-3BHV3Q6K.js";
|
|
11
|
+
import { t as P } from "./useMergeTag-BaVFPdlq.js";
|
|
12
|
+
import { t as F } from "./useLogicTag-D9pvgxQR.js";
|
|
13
13
|
import { u as fe } from "./styleConstants-C_YAPdQS.js";
|
|
14
|
-
var I =
|
|
14
|
+
var I = M({
|
|
15
15
|
name: "braces",
|
|
16
16
|
size: 24,
|
|
17
17
|
node: [["path", {
|
|
@@ -22,7 +22,7 @@ var I = N({
|
|
|
22
22
|
key: "e1hn23"
|
|
23
23
|
}]],
|
|
24
24
|
aliases: ["curly-braces"]
|
|
25
|
-
}), L =
|
|
25
|
+
}), L = M({
|
|
26
26
|
name: "scan-line",
|
|
27
27
|
size: 24,
|
|
28
28
|
node: [
|
|
@@ -338,13 +338,13 @@ var Fe = [
|
|
|
338
338
|
},
|
|
339
339
|
emits: ["update:modelValue"],
|
|
340
340
|
setup(r, { emit: i }) {
|
|
341
|
-
let a = r, c = i, { t: d } =
|
|
342
|
-
|
|
341
|
+
let a = r, c = i, { t: d } = j(), h = l(!1), _ = l(), C = l(), T = l(!1);
|
|
342
|
+
ne(_, () => {
|
|
343
343
|
h.value = !1;
|
|
344
344
|
}, { ignore: [C] });
|
|
345
|
-
let
|
|
345
|
+
let E = x(() => !a.modelValue), D = x(() => se(a.modelValue)), O = x(() => se(a.modelValue || a.seedColor)), k = x(() => !a.disabled && !E.value), A = s(ae, oe), M = x(() => [...new Set(a.presets ?? A.presets)]), de = x(() => a.allowCustom ?? A.allowCustom), P = x(() => M.value.length > 0), F = x(() => de.value || !P.value), I = x(() => le(a.modelValue));
|
|
346
346
|
function L(e) {
|
|
347
|
-
return I.value !== "" &&
|
|
347
|
+
return I.value !== "" && le(e) === I.value;
|
|
348
348
|
}
|
|
349
349
|
function R(e) {
|
|
350
350
|
c("update:modelValue", e);
|
|
@@ -354,8 +354,8 @@ var Fe = [
|
|
|
354
354
|
return z.value ? e + 1 : e;
|
|
355
355
|
}
|
|
356
356
|
let V = x(() => {
|
|
357
|
-
if (z.value &&
|
|
358
|
-
let e =
|
|
357
|
+
if (z.value && E.value) return 0;
|
|
358
|
+
let e = M.value.findIndex((e) => L(e));
|
|
359
359
|
return e === -1 ? 0 : B(e);
|
|
360
360
|
});
|
|
361
361
|
function pe() {
|
|
@@ -381,7 +381,7 @@ var Fe = [
|
|
|
381
381
|
T.value = !1;
|
|
382
382
|
}
|
|
383
383
|
function ge() {
|
|
384
|
-
!T.value &&
|
|
384
|
+
!T.value && E.value && c("update:modelValue", O.value);
|
|
385
385
|
}
|
|
386
386
|
function W(e) {
|
|
387
387
|
c("update:modelValue", e.target.value);
|
|
@@ -389,7 +389,7 @@ var Fe = [
|
|
|
389
389
|
function G() {
|
|
390
390
|
c("update:modelValue", "");
|
|
391
391
|
}
|
|
392
|
-
let K =
|
|
392
|
+
let K = ce(), { toLocal: q } = ue(), J = s(re, null), Y = s(ie, null), X = l({
|
|
393
393
|
top: 0,
|
|
394
394
|
left: 0
|
|
395
395
|
});
|
|
@@ -425,33 +425,33 @@ var Fe = [
|
|
|
425
425
|
]),
|
|
426
426
|
onClick: Z
|
|
427
427
|
}, [f("span", {
|
|
428
|
-
class: v(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", { "tpl-color-swatch-empty":
|
|
429
|
-
style: t(
|
|
428
|
+
class: v(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", { "tpl-color-swatch-empty": E.value }]),
|
|
429
|
+
style: t(E.value ? void 0 : { backgroundColor: D.value })
|
|
430
430
|
}, null, 6)], 10, Fe),
|
|
431
431
|
!r.swatchOnly && F.value ? (e(), p("div", Ie, [f("input", {
|
|
432
432
|
type: "text",
|
|
433
433
|
class: v([u(fe), "tpl:w-full"]),
|
|
434
|
-
style: t(
|
|
435
|
-
value:
|
|
434
|
+
style: t(k.value ? { paddingRight: "2.25rem" } : void 0),
|
|
435
|
+
value: D.value,
|
|
436
436
|
placeholder: r.placeholder || u(d).colorPicker.notSet,
|
|
437
437
|
disabled: r.disabled,
|
|
438
438
|
"aria-label": u(d).colorPicker.hexValue,
|
|
439
439
|
onInput: W
|
|
440
|
-
}, null, 46, Le),
|
|
440
|
+
}, null, 46, Le), k.value ? (e(), p("button", {
|
|
441
441
|
key: 0,
|
|
442
442
|
type: "button",
|
|
443
443
|
"aria-label": u(d).colorPicker.clear,
|
|
444
444
|
title: u(d).colorPicker.clear,
|
|
445
445
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
446
446
|
onClick: G
|
|
447
|
-
}, [m(u(
|
|
447
|
+
}, [m(u(N), {
|
|
448
448
|
size: 14,
|
|
449
449
|
"stroke-width": 1.5
|
|
450
450
|
})], 8, Re)) : S("", !0)])) : S("", !0),
|
|
451
451
|
(e(), y(g, {
|
|
452
452
|
to: u(K),
|
|
453
453
|
disabled: !u(K)
|
|
454
|
-
}, [m(
|
|
454
|
+
}, [m(te, {
|
|
455
455
|
"enter-active-class": "tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
456
456
|
"enter-from-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1",
|
|
457
457
|
"enter-to-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
|
|
@@ -483,11 +483,11 @@ var Fe = [
|
|
|
483
483
|
role: "radio",
|
|
484
484
|
"aria-label": u(d).colorPicker.clear,
|
|
485
485
|
title: u(d).colorPicker.clear,
|
|
486
|
-
"aria-checked":
|
|
486
|
+
"aria-checked": E.value,
|
|
487
487
|
tabindex: pe(),
|
|
488
|
-
class: v(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]",
|
|
488
|
+
class: v(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", E.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
489
489
|
onClick: G
|
|
490
|
-
}, null, 10, Ve)) : S("", !0), (e(!0), p(b, null, o(
|
|
490
|
+
}, null, 10, Ve)) : S("", !0), (e(!0), p(b, null, o(M.value, (n, r) => (e(), p("button", {
|
|
491
491
|
key: n,
|
|
492
492
|
type: "button",
|
|
493
493
|
role: "radio",
|
|
@@ -501,31 +501,31 @@ var Fe = [
|
|
|
501
501
|
}, null, 14, He))), 128))], 42, Be)) : S("", !0),
|
|
502
502
|
F.value ? (e(), p("hex-color-picker", {
|
|
503
503
|
key: 1,
|
|
504
|
-
color:
|
|
504
|
+
color: O.value,
|
|
505
505
|
"aria-label": u(d).colorPicker.pickColor,
|
|
506
506
|
onColorChanged: he,
|
|
507
507
|
onPointerdown: U,
|
|
508
508
|
onPointerup: ge,
|
|
509
|
-
onKeydown: a[0] ||=
|
|
509
|
+
onKeydown: a[0] ||= ee((e) => h.value = !1, ["escape"])
|
|
510
510
|
}, null, 40, Ue)) : S("", !0),
|
|
511
511
|
r.swatchOnly && F.value ? (e(), p("div", We, [f("input", {
|
|
512
512
|
type: "text",
|
|
513
513
|
class: v([u(fe), "tpl:w-full"]),
|
|
514
|
-
style: t(
|
|
515
|
-
value:
|
|
514
|
+
style: t(k.value ? { paddingRight: "2.25rem" } : void 0),
|
|
515
|
+
value: D.value,
|
|
516
516
|
placeholder: r.placeholder || u(d).colorPicker.notSet,
|
|
517
517
|
disabled: r.disabled,
|
|
518
518
|
"aria-label": u(d).colorPicker.hexValue,
|
|
519
519
|
onChange: W,
|
|
520
|
-
onKeydown: a[1] ||=
|
|
521
|
-
}, null, 46, Ge),
|
|
520
|
+
onKeydown: a[1] ||= ee(w((e) => e.target.blur(), ["prevent"]), ["enter"])
|
|
521
|
+
}, null, 46, Ge), k.value ? (e(), p("button", {
|
|
522
522
|
key: 0,
|
|
523
523
|
type: "button",
|
|
524
524
|
"aria-label": u(d).colorPicker.clear,
|
|
525
525
|
title: u(d).colorPicker.clear,
|
|
526
526
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
527
527
|
onClick: G
|
|
528
|
-
}, [m(u(
|
|
528
|
+
}, [m(u(N), {
|
|
529
529
|
size: 14,
|
|
530
530
|
"stroke-width": 1.5
|
|
531
531
|
})], 8, Ke)) : S("", !0)])) : S("", !0)
|
|
@@ -743,7 +743,7 @@ var lt = /* @__PURE__ */ new Set([
|
|
|
743
743
|
"End"
|
|
744
744
|
]);
|
|
745
745
|
function ut(e) {
|
|
746
|
-
let { elementRef: t, modelValue: n, emit: o, mergeTags: l, syntax: u, enabled: d, onInsert: f } = e, p = O(u), m =
|
|
746
|
+
let { elementRef: t, modelValue: n, emit: o, mergeTags: l, syntax: u, enabled: d, onInsert: f } = e, p = O(u), m = D(u), h = x(() => d && p !== null && l.value.length > 0), g = s(A, null), _ = it((a(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", ce()), v = !1;
|
|
747
747
|
c() && i(() => {
|
|
748
748
|
v = !0, _.close();
|
|
749
749
|
});
|
|
@@ -825,7 +825,7 @@ function dt(e) {
|
|
|
825
825
|
type: "mergeTag",
|
|
826
826
|
value: t,
|
|
827
827
|
label: f(t)
|
|
828
|
-
}) :
|
|
828
|
+
}) : E(t, h) ? n.push({
|
|
829
829
|
type: "logicMergeTag",
|
|
830
830
|
value: t,
|
|
831
831
|
keyword: k(t, h)
|
|
@@ -838,33 +838,33 @@ function dt(e) {
|
|
|
838
838
|
type: "text",
|
|
839
839
|
value: e.slice(a)
|
|
840
840
|
}), n;
|
|
841
|
-
}),
|
|
842
|
-
function
|
|
841
|
+
}), ee = x(() => T.value.some((e) => e.type === "mergeTag" || e.type === "logicMergeTag"));
|
|
842
|
+
function te() {
|
|
843
843
|
b.value = !0, r(() => {
|
|
844
844
|
a.value?.focus();
|
|
845
845
|
let e = t()?.length || 0;
|
|
846
846
|
a.value?.setSelectionRange(e, e);
|
|
847
847
|
});
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function D() {
|
|
850
850
|
S || (b.value = !1);
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function O(e) {
|
|
853
853
|
n(e.target.value), w.refresh();
|
|
854
854
|
}
|
|
855
|
-
function
|
|
856
|
-
return w.handleKeydown(e) ? (e.preventDefault(), !0) : (e.key === "Escape" &&
|
|
855
|
+
function ne(e) {
|
|
856
|
+
return w.handleKeydown(e) ? (e.preventDefault(), !0) : (e.key === "Escape" && D(), !1);
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function re() {
|
|
859
859
|
w.refresh();
|
|
860
860
|
}
|
|
861
|
-
function
|
|
862
|
-
w.close(),
|
|
861
|
+
function A() {
|
|
862
|
+
w.close(), D();
|
|
863
863
|
}
|
|
864
864
|
function ie() {
|
|
865
865
|
n("");
|
|
866
866
|
}
|
|
867
|
-
async function
|
|
867
|
+
async function ae() {
|
|
868
868
|
let e = b.value && a.value ? a.value.selectionStart ?? t().length : t().length;
|
|
869
869
|
S = !0;
|
|
870
870
|
let i;
|
|
@@ -882,7 +882,7 @@ function dt(e) {
|
|
|
882
882
|
});
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
|
-
async function
|
|
885
|
+
async function j(e) {
|
|
886
886
|
let t = T.value, r = t[e];
|
|
887
887
|
if (r?.type !== "mergeTag") return;
|
|
888
888
|
S = !0;
|
|
@@ -897,7 +897,7 @@ function dt(e) {
|
|
|
897
897
|
}
|
|
898
898
|
!C && i && n(t.map((t, n) => n === e ? i.value : t.value).join(""));
|
|
899
899
|
}
|
|
900
|
-
async function
|
|
900
|
+
async function oe() {
|
|
901
901
|
let e = a.value, i = e?.selectionStart ?? t().length, o = e?.selectionEnd ?? i;
|
|
902
902
|
S = !0;
|
|
903
903
|
let s;
|
|
@@ -914,22 +914,22 @@ function dt(e) {
|
|
|
914
914
|
}
|
|
915
915
|
return {
|
|
916
916
|
segments: T,
|
|
917
|
-
hasMergeTags:
|
|
917
|
+
hasMergeTags: ee,
|
|
918
918
|
canRequestMergeTag: s,
|
|
919
919
|
isRequestingMergeTag: u,
|
|
920
920
|
canInsertLogicTag: _,
|
|
921
921
|
isRequestingLogicTag: v,
|
|
922
922
|
isEditing: b,
|
|
923
|
-
startEditing:
|
|
924
|
-
stopEditing:
|
|
925
|
-
handleInput:
|
|
926
|
-
handleKeydown:
|
|
927
|
-
handleClick:
|
|
928
|
-
handleBlur:
|
|
923
|
+
startEditing: te,
|
|
924
|
+
stopEditing: D,
|
|
925
|
+
handleInput: O,
|
|
926
|
+
handleKeydown: ne,
|
|
927
|
+
handleClick: re,
|
|
928
|
+
handleBlur: A,
|
|
929
929
|
clearValue: ie,
|
|
930
|
-
insertMergeTag:
|
|
931
|
-
replaceMergeTagAt:
|
|
932
|
-
insertLogicTag:
|
|
930
|
+
insertMergeTag: ae,
|
|
931
|
+
replaceMergeTagAt: j,
|
|
932
|
+
insertLogicTag: oe,
|
|
933
933
|
autocompleteAvailable: w.available
|
|
934
934
|
};
|
|
935
935
|
}
|
|
@@ -955,7 +955,7 @@ var ft = ["aria-label"], pt = [
|
|
|
955
955
|
"repick"
|
|
956
956
|
],
|
|
957
957
|
setup(t, { emit: n }) {
|
|
958
|
-
let r = n, { t: i, format: a } =
|
|
958
|
+
let r = n, { t: i, format: a } = j(), { canRepickMergeTag: s, showRawValue: c } = P();
|
|
959
959
|
function l() {
|
|
960
960
|
r("edit");
|
|
961
961
|
}
|
|
@@ -1002,7 +1002,7 @@ var ft = ["aria-label"], pt = [
|
|
|
1002
1002
|
title: u(i).mergeTag.editAsText,
|
|
1003
1003
|
"data-testid": "merge-tag-field-edit",
|
|
1004
1004
|
onClick: w(l, ["stop"])
|
|
1005
|
-
}, [m(u(
|
|
1005
|
+
}, [m(u(de), {
|
|
1006
1006
|
size: 12,
|
|
1007
1007
|
"stroke-width": 2
|
|
1008
1008
|
})], 8, _t),
|
|
@@ -1013,7 +1013,7 @@ var ft = ["aria-label"], pt = [
|
|
|
1013
1013
|
title: u(i).mergeTag.remove,
|
|
1014
1014
|
"data-testid": "merge-tag-field-clear",
|
|
1015
1015
|
onClick: d[0] ||= w((e) => r("clear"), ["stop"])
|
|
1016
|
-
}, [m(u(
|
|
1016
|
+
}, [m(u(N), {
|
|
1017
1017
|
size: 12,
|
|
1018
1018
|
"stroke-width": 2.5
|
|
1019
1019
|
})], 8, vt)
|
|
@@ -1028,7 +1028,7 @@ var ft = ["aria-label"], pt = [
|
|
|
1028
1028
|
props: { disabled: { type: Boolean } },
|
|
1029
1029
|
emits: ["insert"],
|
|
1030
1030
|
setup(t) {
|
|
1031
|
-
let { t: n } =
|
|
1031
|
+
let { t: n } = j();
|
|
1032
1032
|
return (r, i) => (e(), p("button", {
|
|
1033
1033
|
type: "button",
|
|
1034
1034
|
class: v([xt, "tpl:mt-1.5"]),
|
|
@@ -1051,7 +1051,7 @@ var ft = ["aria-label"], pt = [
|
|
|
1051
1051
|
props: { disabled: { type: Boolean } },
|
|
1052
1052
|
emits: ["insert"],
|
|
1053
1053
|
setup(t) {
|
|
1054
|
-
let { t: n } =
|
|
1054
|
+
let { t: n } = j();
|
|
1055
1055
|
return (r, i) => (e(), p("button", {
|
|
1056
1056
|
type: "button",
|
|
1057
1057
|
class: v([wt, "tpl:mt-1.5"]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, Z as t, at as n, c as r, d as i, g as a, kt as o, l as s, u as c, v as l } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-
|
|
2
|
+
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-BimKobaG.js";
|
|
3
3
|
import { t as m } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { p as h } from "./styleConstants-C_YAPdQS.js";
|
|
5
5
|
//#region src/components/MergeTagInput.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, At as t, M as n, S as r, at as i, c as a, d as o, jt as s, l as c, r as l, s as u, u as d, v as f } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as g } from "./useI18n-
|
|
2
|
+
import { R as p } from "./dist-DbUZvK04.js";
|
|
3
|
+
import { F as m, O as h } from "./keys-CDqfZIRt.js";
|
|
4
|
+
import { t as g } from "./useI18n-B_CdcBwG.js";
|
|
5
5
|
import { t as _ } from "./createLucideIcon-BxY5yz5u.js";
|
|
6
6
|
import { n as v, t as y } from "./smartphone-v0u_MOEV.js";
|
|
7
7
|
import { t as b } from "./sparkles-Ds0RF8Iu.js";
|
|
@@ -97,7 +97,7 @@ var x = _({
|
|
|
97
97
|
props: { sampleMode: { type: Boolean } },
|
|
98
98
|
emits: ["change"],
|
|
99
99
|
setup(f, { emit: _ }) {
|
|
100
|
-
let v = f, y = _, { t: S } = g(), C = r(
|
|
100
|
+
let v = f, y = _, { t: S } = g(), C = r(h, m), w = u(() => p(C.value)), D = u(() => [{
|
|
101
101
|
value: !0,
|
|
102
102
|
label: S.mergeTagPreview.sample
|
|
103
103
|
}, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
2
|
import { c as b, s as x } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
-
import {
|
|
3
|
+
import { q as S } from "./dist-DbUZvK04.js";
|
|
4
4
|
import { t as C } from "./dist-BDuPwOyn.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as ee } from "./useI18n-
|
|
8
|
-
import { n as F } from "./usePopoverPosition-
|
|
5
|
+
import { S as w, T, w as E, x as D } from "./useEditorCore-Dt_VWNqX.js";
|
|
6
|
+
import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-CDqfZIRt.js";
|
|
7
|
+
import { t as ee } from "./useI18n-B_CdcBwG.js";
|
|
8
|
+
import { n as F } from "./usePopoverPosition-DH7z3Ghm.js";
|
|
9
9
|
import { t as I } from "./createLucideIcon-BxY5yz5u.js";
|
|
10
|
-
import { i as te, n as L, r as ne, t as R } from "./RichTextEditorContent-
|
|
11
|
-
import { c as z, l as re, u as ie } from "./LogicTagInsertButton-
|
|
10
|
+
import { i as te, n as L, r as ne, t as R } from "./RichTextEditorContent-AEtfKvLz.js";
|
|
11
|
+
import { c as z, l as re, u as ie } from "./LogicTagInsertButton-BimKobaG.js";
|
|
12
12
|
import { t as ae } from "./link-CNuozGqD.js";
|
|
13
13
|
import { t as oe } from "./list-BA0I5Wmu.js";
|
|
14
14
|
import { t as se } from "./loader-circle-z5eeqasv.js";
|
|
@@ -186,8 +186,8 @@ var V = I({
|
|
|
186
186
|
__name: "EmojiPickerDropdown",
|
|
187
187
|
emits: ["insert"],
|
|
188
188
|
setup(t, { emit: n }) {
|
|
189
|
-
let r = n, { categories: a, isOpen: d, toggle: f, close: h } =
|
|
190
|
-
|
|
189
|
+
let r = n, { categories: a, isOpen: d, toggle: f, close: h } = E(), { t: y, format: S } = ee(), w = o(null), D = o(null), O = _(() => d.value);
|
|
190
|
+
T(w, O), C(D, () => {
|
|
191
191
|
d.value && h();
|
|
192
192
|
});
|
|
193
193
|
function k(e) {
|
|
@@ -213,7 +213,7 @@ var V = I({
|
|
|
213
213
|
key: 0,
|
|
214
214
|
id: "tpl-emoji-picker",
|
|
215
215
|
ref_key: "pickerRef",
|
|
216
|
-
ref:
|
|
216
|
+
ref: w,
|
|
217
217
|
role: "dialog",
|
|
218
218
|
"aria-modal": "false",
|
|
219
219
|
"aria-label": s(y).paragraphEditor.insertEmoji,
|
|
@@ -325,7 +325,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
325
325
|
"add-logic-tag"
|
|
326
326
|
],
|
|
327
327
|
setup(n, { emit: r }) {
|
|
328
|
-
let i = n, o = r, m = a(
|
|
328
|
+
let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = F(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = ee(), D = b.fonts;
|
|
329
329
|
function I(e) {
|
|
330
330
|
i.editor?.chain().focus().insertContent(e).run();
|
|
331
331
|
}
|
|
@@ -648,13 +648,13 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
648
648
|
},
|
|
649
649
|
emits: ["done"],
|
|
650
650
|
setup(t, { emit: n }) {
|
|
651
|
-
let i = t, o = n, c = F(), d = a(
|
|
651
|
+
let i = t, o = n, c = F(), d = a(N, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: T, openLinkDialog: E, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = D({
|
|
652
652
|
blockId: () => i.block.id,
|
|
653
653
|
blockContent: () => i.block.content,
|
|
654
654
|
onDone: () => o("done"),
|
|
655
655
|
editorName: "ParagraphEditor",
|
|
656
656
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
657
|
-
let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing:
|
|
657
|
+
let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: T, LineBoundaryKeys: E }] = await Promise.all([
|
|
658
658
|
import("./dist-BmsLcnrO.js").then((e) => e.r),
|
|
659
659
|
import("./dist-BdHF7nyq.js"),
|
|
660
660
|
import("./dist-wyXxj3R1.js"),
|
|
@@ -666,7 +666,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
666
666
|
import("./dist-Djmzp6wi.js"),
|
|
667
667
|
import("./dist-EDkj3Ub1.js"),
|
|
668
668
|
import("./dist-DQbOebGW.js"),
|
|
669
|
-
import("./extensions-
|
|
669
|
+
import("./extensions-DDhjuVKy.js")
|
|
670
670
|
]);
|
|
671
671
|
return {
|
|
672
672
|
TiptapEditor: a,
|
|
@@ -683,7 +683,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
683
683
|
u,
|
|
684
684
|
d,
|
|
685
685
|
p,
|
|
686
|
-
|
|
686
|
+
w(l).configure({
|
|
687
687
|
openOnClick: !1,
|
|
688
688
|
HTMLAttributes: {
|
|
689
689
|
target: "_blank",
|
|
@@ -700,13 +700,13 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
700
700
|
v.configure({ multicolor: !0 }),
|
|
701
701
|
S,
|
|
702
702
|
C,
|
|
703
|
-
|
|
703
|
+
T,
|
|
704
704
|
y.configure({
|
|
705
705
|
mergeTags: () => e.value,
|
|
706
706
|
syntax: t
|
|
707
707
|
}),
|
|
708
708
|
x.configure({ syntax: t }),
|
|
709
|
-
|
|
709
|
+
E,
|
|
710
710
|
...r && n && e.value.length > 0 ? [b.configure({
|
|
711
711
|
mergeTags: () => e.value,
|
|
712
712
|
char: n,
|
|
@@ -723,9 +723,9 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
723
723
|
"toolbar-position": t.toolbarPosition,
|
|
724
724
|
"is-loading": s(h),
|
|
725
725
|
"can-request-merge-tag": s(C),
|
|
726
|
-
"can-insert-logic-tag": s(
|
|
726
|
+
"can-insert-logic-tag": s(T),
|
|
727
727
|
onOpenLinkDialog: s(E),
|
|
728
|
-
onAddMergeTag: s(
|
|
728
|
+
onAddMergeTag: s(M),
|
|
729
729
|
onAddLogicTag: s(P)
|
|
730
730
|
}, null, 8, [
|
|
731
731
|
"editor",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import { t as f } from "./useI18n-
|
|
2
|
+
import { t as f } from "./useI18n-B_CdcBwG.js";
|
|
3
3
|
import { t as p } from "./loader-circle-z5eeqasv.js";
|
|
4
4
|
import { t as m } from "./triangle-alert-DGLAyXnh.js";
|
|
5
5
|
import { d as h, v as g, x as _ } from "./styleConstants-C_YAPdQS.js";
|
|
6
|
-
import { t as v } from "./TplModal-
|
|
6
|
+
import { t as v } from "./TplModal-B8uLyoXE.js";
|
|
7
7
|
//#region src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
|
|
9
9
|
id: "tpl-restore-version-title",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
2
|
import { c as _ } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as x } from "./useI18n-
|
|
5
|
-
import { n as S } from "./usePopoverPosition-
|
|
3
|
+
import { J as v, Z as y, g as b } from "./keys-CDqfZIRt.js";
|
|
4
|
+
import { t as x } from "./useI18n-B_CdcBwG.js";
|
|
5
|
+
import { n as S } from "./usePopoverPosition-DH7z3Ghm.js";
|
|
6
6
|
import { t as C } from "./createLucideIcon-BxY5yz5u.js";
|
|
7
|
-
import { c as w } from "./LogicTagInsertButton-
|
|
7
|
+
import { c as w } from "./LogicTagInsertButton-BimKobaG.js";
|
|
8
8
|
import { t as T } from "./x-3BHV3Q6K.js";
|
|
9
|
-
import { t as E } from "./MergeTagInput-
|
|
9
|
+
import { t as E } from "./MergeTagInput-DqpVzhy7.js";
|
|
10
10
|
var D = C({
|
|
11
11
|
name: "bold",
|
|
12
12
|
size: 24,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
2
|
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
-
import { d as ee } from "./socialIcons-
|
|
4
|
-
import { E, s as D } from "./useEditorCore-
|
|
5
|
-
import {
|
|
6
|
-
import { t as j } from "./useI18n-
|
|
3
|
+
import { d as ee } from "./socialIcons-O7PZCW2P.js";
|
|
4
|
+
import { D as E, s as D } from "./useEditorCore-Dt_VWNqX.js";
|
|
5
|
+
import { $ as O, U as k, g as A, p as te } from "./keys-CDqfZIRt.js";
|
|
6
|
+
import { t as j } from "./useI18n-B_CdcBwG.js";
|
|
7
7
|
import { t as M } from "./chevron-down-Dkr-7Ywl.js";
|
|
8
8
|
import { t as N } from "./chevron-up-CQAyl0kC.js";
|
|
9
9
|
import { t as P } from "./loader-circle-z5eeqasv.js";
|
|
10
10
|
import { v as F } from "./styleConstants-C_YAPdQS.js";
|
|
11
|
-
import {
|
|
12
|
-
import { t as L } from "./TplModal-
|
|
13
|
-
import { t as R } from "./BlockPreviewCanvas-
|
|
11
|
+
import { r as I } from "./WrapperBlock-yGmKw0T-.js";
|
|
12
|
+
import { t as L } from "./TplModal-B8uLyoXE.js";
|
|
13
|
+
import { t as R } from "./BlockPreviewCanvas-XNV83YGg.js";
|
|
14
14
|
//#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
15
15
|
var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
|
|
16
16
|
key: 0,
|
|
@@ -123,7 +123,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
123
123
|
},
|
|
124
124
|
emits: ["close", "saved"],
|
|
125
125
|
setup(t, { emit: r }) {
|
|
126
|
-
let i = t, o = r, { t: S, format: w } = j(), T =
|
|
126
|
+
let i = t, o = r, { t: S, format: w } = j(), T = O(A, "SaveBlockDialog"), E = O(k, "SaveBlockDialog"), M = c(te, []), N = u(""), I = u(""), R = u(!1), z = u(null), B = u(""), V = u([]), H = b(() => {
|
|
127
127
|
let e = new Map(T.content.value.blocks.map((e) => [e.id, e]));
|
|
128
128
|
return V.value.map((t) => e.get(t)).filter((e) => e !== void 0);
|
|
129
129
|
}), U = b({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, E as r, F as i, M as a, R as o, S as ee, V as s, Z as c, _ as te, at as l, c as u, d, g as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
2
|
import { a as b, c as x, i as S, s as C } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
-
import "./useEditorCore-
|
|
4
|
-
import {
|
|
5
|
-
import { t as ae } from "./useI18n-
|
|
6
|
-
import { t as T } from "./blockTypeIcons-
|
|
3
|
+
import "./useEditorCore-Dt_VWNqX.js";
|
|
4
|
+
import { $ as w, U as ne, X as re, g as ie } from "./keys-CDqfZIRt.js";
|
|
5
|
+
import { t as ae } from "./useI18n-B_CdcBwG.js";
|
|
6
|
+
import { t as T } from "./blockTypeIcons-B0Bq1WT1.js";
|
|
7
7
|
import { t as E } from "./package-OkXfuRoO.js";
|
|
8
8
|
import { t as oe } from "./pencil-DFVFA7Dj.js";
|
|
9
9
|
import { t as se } from "./search-C-dCgqIa.js";
|
|
@@ -12,7 +12,7 @@ import { t as le } from "./x-3BHV3Q6K.js";
|
|
|
12
12
|
import { v as ue } from "./styleConstants-C_YAPdQS.js";
|
|
13
13
|
import { t as de } from "./formatAbsoluteDateTime-DMmop3C-.js";
|
|
14
14
|
import { t as fe } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
15
|
-
import { t as pe } from "./TplModal-
|
|
15
|
+
import { t as pe } from "./TplModal-B8uLyoXE.js";
|
|
16
16
|
//#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
17
17
|
var me = {
|
|
18
18
|
role: "dialog",
|
|
@@ -68,7 +68,7 @@ var me = {
|
|
|
68
68
|
props: { visible: { type: Boolean } },
|
|
69
69
|
emits: ["close", "insert"],
|
|
70
70
|
setup(y, { emit: k }) {
|
|
71
|
-
let at = y, A = k, ot = te(() => import("./BlockPreviewCanvas-
|
|
71
|
+
let at = y, A = k, ot = te(() => import("./BlockPreviewCanvas-XNV83YGg.js").then((e) => e.n)), { t: j, format: M } = ae(), N = w(ne, "SavedBlocksBrowserModal"), P = w(ie, "SavedBlocksBrowserModal"), st = ee(re, void 0), F = c(""), I = c(""), L = c(null), R = c(null), z = c(null), B = c(""), V = c(""), H = c(null), U = c("end"), W = _(() => {
|
|
72
72
|
let e = F.value.trim().toLowerCase(), t = I.value;
|
|
73
73
|
return N.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
|
|
74
74
|
}), G = _(() => N.isLoading.value && N.savedBlocks.value.length === 0), ct = _(() => F.value.trim().length > 0 || I.value !== ""), K = _(() => L.value ? N.savedBlocks.value.find((e) => e.id === L.value) ?? null : null), lt = _(() => {
|
|
@@ -5,7 +5,7 @@ var c = /* @__PURE__ */ s({
|
|
|
5
5
|
__name: "SavedBlocksPanels",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(s) {
|
|
8
|
-
let c = s, l = t(() => import("./SavedBlocksPickBar-
|
|
8
|
+
let c = s, l = t(() => import("./SavedBlocksPickBar-CtH-sfxh.js")), u = t(() => import("./SaveBlockDialog-BxkI52fN.js")), d = t(() => import("./SavedBlocksBrowserModal-C4_25Kvn.js"));
|
|
9
9
|
function f(e, t) {
|
|
10
10
|
c.feature.insert(e, t);
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, kt as s, v as c } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
2
|
+
import { k as l } from "./useEditorCore-Dt_VWNqX.js";
|
|
3
|
+
import { t as u } from "./useI18n-B_CdcBwG.js";
|
|
4
4
|
import { t as d } from "./x-3BHV3Q6K.js";
|
|
5
5
|
import { v as f, x as p } from "./styleConstants-C_YAPdQS.js";
|
|
6
6
|
//#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as te, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
2
|
import { t as ne } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as _, F as re, O as ie, W as ae, g as oe } from "./keys-CDqfZIRt.js";
|
|
4
4
|
import { t as v } from "./createLucideIcon-BxY5yz5u.js";
|
|
5
5
|
import { t as se } from "./chevron-down-Dkr-7Ywl.js";
|
|
6
6
|
import { t as y } from "./circle-alert-CYgTHKWr.js";
|
|
@@ -14,7 +14,7 @@ import { t as ce } from "./triangle-alert-DGLAyXnh.js";
|
|
|
14
14
|
import { t as le } from "./x-3BHV3Q6K.js";
|
|
15
15
|
import { t as ue } from "./LoadingTrack-C1Epulqq.js";
|
|
16
16
|
import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
-
import { n as D } from "./useCloudI18n-
|
|
17
|
+
import { n as D } from "./useCloudI18n-DpEsiLeR.js";
|
|
18
18
|
var O = v({
|
|
19
19
|
name: "shield-x",
|
|
20
20
|
size: 24,
|
|
@@ -98,7 +98,7 @@ var P = ["aria-label"], F = { class: "tpl:flex tpl:items-center tpl:justify-betw
|
|
|
98
98
|
props: { visible: { type: Boolean } },
|
|
99
99
|
emits: ["close"],
|
|
100
100
|
setup(g, { emit: v }) {
|
|
101
|
-
let E = g, G = v, { t: K } = D(), q = _(oe, "TemplateScoringPanel"), J = _(ae, "TemplateScoringPanel"), Y = a(
|
|
101
|
+
let E = g, G = v, { t: K } = D(), q = _(oe, "TemplateScoringPanel"), J = _(ae, "TemplateScoringPanel"), Y = a(ie, re), X = o({
|
|
102
102
|
spam: !0,
|
|
103
103
|
readability: !0,
|
|
104
104
|
accessibility: !0,
|