@templatical/editor 0.40.0 → 0.42.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/README.md +1 -1
- package/dist/{AiChatSidebar-a8TPBAl2.js → AiChatSidebar-DqSoJAXx.js} +1 -1
- package/dist/{AiFeatureMenu-CbgDjLqk.js → AiFeatureMenu-CoBvE72q.js} +1 -1
- package/dist/{BlockPreviewCanvas-XNV83YGg.js → BlockPreviewCanvas-W6-MRpWz.js} +33 -33
- package/dist/{CloudHeaderExtras-C-tbLyfE.js → CloudHeaderExtras-AbsNuL9T.js} +1 -1
- package/dist/{CloudPanels-DnWDrgnQ.js → CloudPanels-BNL6rSeB.js} +2 -2
- package/dist/{CollaboratorBar-DUmeCkyD.js → CollaboratorBar-DlZ-wOL_.js} +1 -1
- package/dist/{CountdownToolbar-DkC-qSgq.js → CountdownToolbar-Bnq25sR-.js} +3 -3
- package/dist/{DesignReferenceSidebar-OoiYJAKS.js → DesignReferenceSidebar-Cl5eE8Kn.js} +1 -1
- package/dist/{LogicTagInsertButton-BimKobaG.js → LogicTagInsertButton-SI6irEtn.js} +243 -219
- package/dist/{MediaEditModal-BFWmufJK.js → MediaEditModal-C-InB-H2.js} +1 -1
- package/dist/{MediaPanels-BmDda5rY.js → MediaPanels-CTosUpeo.js} +1 -1
- package/dist/{MergeTagInput-DqpVzhy7.js → MergeTagInput-BMQGNh1k.js} +1 -1
- package/dist/{MergeTagModeToggle-BkIiAgpQ.js → MergeTagModeToggle-Cm9s-w6o.js} +1 -1
- package/dist/{ParagraphEditor-D67Cqh-T.js → ParagraphEditor-CnBPQCVo.js} +19 -19
- package/dist/{RestoreVersionDialog-BaKDuPCX.js → RestoreVersionDialog-B13whpxH.js} +1 -1
- package/dist/{RichTextEditorContent-AEtfKvLz.js → RichTextEditorContent-DOvhgc-7.js} +3 -3
- package/dist/{SaveBlockDialog-BxkI52fN.js → SaveBlockDialog-b5yrQfoN.js} +5 -5
- package/dist/{SavedBlocksBrowserModal-C4_25Kvn.js → SavedBlocksBrowserModal-DpqK4Zqp.js} +4 -4
- package/dist/{SavedBlocksPanels-DQ0w9G1O.js → SavedBlocksPanels-C2wURIlT.js} +1 -1
- package/dist/{SavedBlocksPickBar-CtH-sfxh.js → SavedBlocksPickBar-Bx9_SXVA.js} +1 -1
- package/dist/{TemplateSettings-BD1WNP4C.js → TemplateSettings-Gn9ps1R6.js} +3 -3
- package/dist/{TestEmailModal-DZi58FU9.js → TestEmailModal-DaIaklcg.js} +5 -5
- package/dist/{TestEmailPanel-D__9Wvgz.js → TestEmailPanel-CKSvzakC.js} +1 -1
- package/dist/{TitleEditor-v5p89Djs.js → TitleEditor-C66Jk73n.js} +7 -7
- package/dist/{ToggleSwitch-CJfQ8u57.js → ToggleSwitch-BqttX9lY.js} +1 -1
- package/dist/{Toolbar-C7SjilzH.js → Toolbar-DVsKYQaC.js} +846 -553
- package/dist/{TplModal-B8uLyoXE.js → TplModal-DRQln7xH.js} +2 -2
- package/dist/{VersionHistoryPanels-DfNrRT6y.js → VersionHistoryPanels-Df5WjNah.js} +1 -1
- package/dist/{WrapperBlock-yGmKw0T-.js → WrapperBlock-B0cUORGz.js} +4 -4
- package/dist/{blockTypeIcons-B0Bq1WT1.js → blockTypeIcons-DfQNZnl7.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +14 -0
- package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js → AiChatSidebar-DD17BwXn.js} +10 -10
- package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js.map → AiChatSidebar-DD17BwXn.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-23HCL517.js → AiFeatureMenu-Di381OsL.js} +5 -5
- package/dist/cdn/chunks/{AiFeatureMenu-23HCL517.js.map → AiFeatureMenu-Di381OsL.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js → BlockIssueBadge-BR_N3nRh.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js.map → BlockIssueBadge-BR_N3nRh.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-DObWyQfh.js → BlockPreviewCanvas-BXpcAiiY.js} +28 -28
- package/dist/cdn/chunks/{BlockPreviewCanvas-DObWyQfh.js.map → BlockPreviewCanvas-BXpcAiiY.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DOB_uWpt.js → CloudHeaderExtras-BEM2eWfF.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DOB_uWpt.js.map → CloudHeaderExtras-BEM2eWfF.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DcAn5QW7.js → CloudPanels-D7nK1-bm.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-DcAn5QW7.js.map → CloudPanels-D7nK1-bm.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C0M8c2Vv.js → CollaboratorBar-D1SUwahw.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-C0M8c2Vv.js.map → CollaboratorBar-D1SUwahw.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js → CommentsPanel-qsLMAlJU.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js.map → CommentsPanel-qsLMAlJU.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js → CommentsSidebar-CTwEE-s_.js} +16 -16
- package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js.map → CommentsSidebar-CTwEE-s_.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js → CountdownToolbar-BJTcnIQ-.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js.map → CountdownToolbar-BJTcnIQ-.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js → DesignReferenceSidebar-Dl3eEGtS.js} +9 -9
- package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js.map → DesignReferenceSidebar-Dl3eEGtS.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js → IssuesPanel-L9Gq_T8n.js} +8 -8
- package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js.map → IssuesPanel-L9Gq_T8n.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-CHc1yZ9v.js → LogicTagInsertButton-3pIbVE9p.js} +250 -226
- package/dist/cdn/chunks/LogicTagInsertButton-3pIbVE9p.js.map +1 -0
- package/dist/cdn/chunks/{MediaEditModal-CZBZviu2.js → MediaEditModal-rTjYl-fV.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-CZBZviu2.js.map → MediaEditModal-rTjYl-fV.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-Bq5b-XJM.js → MediaPanels-DMXRQVqg.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-Bq5b-XJM.js.map → MediaPanels-DMXRQVqg.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js → MergeTagInput-JcBzr77a.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js.map → MergeTagInput-JcBzr77a.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js → MergeTagModeToggle-CYmueXS2.js} +10 -10
- package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js.map → MergeTagModeToggle-CYmueXS2.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BilbVtrG.js → ParagraphEditor-DbjFDnYm.js} +39 -39
- package/dist/cdn/chunks/{ParagraphEditor-BilbVtrG.js.map → ParagraphEditor-DbjFDnYm.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Q-a44Vjv.js → RestoreVersionDialog-pANCWcce.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-Q-a44Vjv.js.map → RestoreVersionDialog-pANCWcce.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js → RichTextEditorContent-BtM1or8A.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js.map → RichTextEditorContent-BtM1or8A.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-DeW_M6kh.js → SaveBlockDialog-CGM3mrGj.js} +38 -38
- package/dist/cdn/chunks/{SaveBlockDialog-DeW_M6kh.js.map → SaveBlockDialog-CGM3mrGj.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BzQWibKG.js → SavedBlocksBrowserModal-C6Z8AvtD.js} +10 -10
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BzQWibKG.js.map → SavedBlocksBrowserModal-C6Z8AvtD.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Ce1RePjk.js → SavedBlocksPanels-DNwKmnhp.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-Ce1RePjk.js.map → SavedBlocksPanels-DNwKmnhp.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DIDl6xfy.js → SavedBlocksPickBar-D2p1ufB4.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-DIDl6xfy.js.map → SavedBlocksPickBar-D2p1ufB4.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js → TemplateScoringPanel-BDB4RErx.js} +19 -19
- package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js.map → TemplateScoringPanel-BDB4RErx.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js → TemplateSettings-DVN1t3yF.js} +9 -9
- package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js.map → TemplateSettings-DVN1t3yF.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-CWTmaJuT.js → TestEmailModal-DZBCmBtT.js} +7 -7
- package/dist/cdn/chunks/{TestEmailModal-CWTmaJuT.js.map → TestEmailModal-DZBCmBtT.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BdYsVHXA.js → TestEmailPanel-1ibwYCUl.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BdYsVHXA.js.map → TestEmailPanel-1ibwYCUl.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-pJeeZ-PX.js → TitleEditor-BRl2qKbd.js} +13 -13
- package/dist/cdn/chunks/{TitleEditor-pJeeZ-PX.js.map → TitleEditor-BRl2qKbd.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js → ToggleSwitch-niSL2uog.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js.map → ToggleSwitch-niSL2uog.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BsiHW9gY.js → Toolbar-tTl0P-rr.js} +814 -566
- package/dist/cdn/chunks/Toolbar-tTl0P-rr.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-CEuGD7pt.js → TplModal-C_eIPykE.js} +3 -3
- package/dist/cdn/chunks/{TplModal-CEuGD7pt.js.map → TplModal-C_eIPykE.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js → VersionHistoryMenu-Ww57XAzj.js} +7 -7
- package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js.map → VersionHistoryMenu-Ww57XAzj.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-C1yck5gT.js → VersionHistoryPanels-w0EG_qVW.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-C1yck5gT.js.map → VersionHistoryPanels-w0EG_qVW.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js → VersionPreviewBanner-Bbd4C-AN.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js.map → VersionPreviewBanner-Bbd4C-AN.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DGkbmj06.js → WrapperBlock-Ch4KeMIb.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-DGkbmj06.js.map → WrapperBlock-Ch4KeMIb.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-CyPXFh7L.js +21 -0
- package/dist/cdn/chunks/{blockTypeIcons-raBjStuv.js.map → blockTypeIcons-CyPXFh7L.js.map} +1 -1
- package/dist/cdn/chunks/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +15 -1
- package/dist/cdn/chunks/ca--zGWn9AU.js.map +1 -0
- package/dist/cdn/chunks/{cloud-CIT4yPp4.js → cloud-De-eh1u6.js} +2 -2
- package/dist/cdn/chunks/{cloud-CIT4yPp4.js.map → cloud-De-eh1u6.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js → createCloudRuntime-DsaUaWvr.js} +3 -3
- package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js.map → createCloudRuntime-DsaUaWvr.js.map} +1 -1
- package/dist/cdn/chunks/{de-D4dweQw8.js → de-BRNLKcDl.js} +15 -1
- package/dist/cdn/chunks/de-BRNLKcDl.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-zxvWz8R6.js → editor-modal-BdI0iA5r.js} +89 -88
- package/dist/cdn/chunks/{editor-modal-zxvWz8R6.js.map → editor-modal-BdI0iA5r.js.map} +1 -1
- package/dist/cdn/chunks/en-Cs-nw16K.js +2 -0
- package/dist/{en-VE7R7NyL.js → cdn/chunks/en-JJjqHMjy.js} +16 -0
- package/dist/cdn/chunks/en-JJjqHMjy.js.map +1 -0
- package/dist/cdn/chunks/{es-B9OhP8H3.js → es-BIh8BxV9.js} +15 -1
- package/dist/cdn/chunks/es-BIh8BxV9.js.map +1 -0
- package/dist/cdn/chunks/{extensions-CafoGF65.js → extensions-DK_9-6Bd.js} +4 -4
- package/dist/cdn/chunks/{extensions-CafoGF65.js.map → extensions-DK_9-6Bd.js.map} +1 -1
- package/dist/{fr-wrXhIi00.js → cdn/chunks/fr-C5VUZogP.js} +16 -0
- package/dist/cdn/chunks/fr-C5VUZogP.js.map +1 -0
- package/dist/cdn/chunks/{icons-BKkJ-5xF.js → icons-Bad3WZ3G.js} +49 -8
- package/dist/cdn/chunks/icons-Bad3WZ3G.js.map +1 -0
- package/dist/cdn/chunks/ja-DhlWUfke.js +94 -0
- package/dist/cdn/chunks/ja-DhlWUfke.js.map +1 -0
- package/dist/cdn/chunks/ja-x5JYxaCW.js +639 -0
- package/dist/cdn/chunks/ja-x5JYxaCW.js.map +1 -0
- package/dist/cdn/chunks/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +15 -1
- package/dist/cdn/chunks/{nl-DeFatKJe.js.map → nl-UXxFyXV6.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js → preRenderCustomBlocks-h4ZFBKbD.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js.map → preRenderCustomBlocks-h4ZFBKbD.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +15 -1
- package/dist/cdn/chunks/pt-BR-DHm3SP6W.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js → socialIcons-ZOCwCCyn.js} +3 -3
- package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js.map → socialIcons-ZOCwCCyn.js.map} +1 -1
- package/dist/cdn/chunks/{src-DveVYoWS.js → src-BR3I3gOW.js} +265 -224
- package/dist/cdn/chunks/src-BR3I3gOW.js.map +1 -0
- package/dist/cdn/chunks/{src-CbGCES0u.js → src-BxoLKnkl.js} +178 -165
- package/dist/cdn/chunks/src-BxoLKnkl.js.map +1 -0
- package/dist/cdn/chunks/{src-Cnc5E71L.js → src-fZSLjhjy.js} +12 -12
- package/dist/cdn/chunks/{src-Cnc5E71L.js.map → src-fZSLjhjy.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CQraU2s_.js → useEditorCore-yd40TFKy.js} +467 -446
- package/dist/cdn/chunks/useEditorCore-yd40TFKy.js.map +1 -0
- package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js → useLogicTag-J_i_hvZg.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js.map → useLogicTag-J_i_hvZg.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js → useMergeTag-C5MyHYxJ.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js.map → useMergeTag-C5MyHYxJ.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BJRvAb-h.js → usePopoverPosition-DGXjXKjM.js} +25 -12
- package/dist/cdn/chunks/usePopoverPosition-DGXjXKjM.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +64 -64
- package/dist/{cloud-DsqqUfzh.js → cloud-AO_X8T9g.js} +1 -1
- package/dist/{createCloudRuntime-iLflkYzP.js → createCloudRuntime-D641nhri.js} +2 -2
- package/dist/{de-D4dweQw8.js → de-BRNLKcDl.js} +14 -0
- package/dist/{dist-DbUZvK04.js → dist-iLUVPysa.js} +263 -222
- package/dist/{editor-modal-Czq1I8oC.js → editor-modal-qzmEVcIk.js} +3 -2
- package/dist/en-1tgLzB8q.js +2 -0
- package/dist/{cdn/chunks/en-VE7R7NyL.js → en-JJjqHMjy.js} +14 -2
- package/dist/{es-B9OhP8H3.js → es-BIh8BxV9.js} +14 -0
- package/dist/{extensions-DDhjuVKy.js → extensions-DoT2-_pz.js} +11 -11
- package/dist/{cdn/chunks/fr-wrXhIi00.js → fr-C5VUZogP.js} +14 -2
- package/dist/ja-DhlWUfke.js +92 -0
- package/dist/ja-x5JYxaCW.js +637 -0
- package/dist/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +14 -0
- package/dist/{preRenderCustomBlocks-BBSqQgke.js → preRenderCustomBlocks-CTstI3Q-.js} +4 -4
- package/dist/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +14 -0
- package/dist/{socialIcons-O7PZCW2P.js → socialIcons-CACVa6m_.js} +46 -46
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +109 -109
- package/dist/{useEditorCore-Dt_VWNqX.js → useEditorCore-LyNoGs0m.js} +902 -881
- package/dist/{useLogicTag-D9pvgxQR.js → useLogicTag-BaH8gey0.js} +1 -1
- package/dist/{useMergeTag-BaVFPdlq.js → useMergeTag-Cyad1yBE.js} +1 -1
- package/dist/{usePopoverPosition-DH7z3Ghm.js → usePopoverPosition-BYmd-lhR.js} +24 -11
- package/package.json +8 -8
- package/dist/cdn/chunks/LogicTagInsertButton-CHc1yZ9v.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-BsiHW9gY.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-raBjStuv.js +0 -21
- package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +0 -1
- package/dist/cdn/chunks/de-D4dweQw8.js.map +0 -1
- package/dist/cdn/chunks/en-BcQ9ovQu.js +0 -2
- package/dist/cdn/chunks/en-VE7R7NyL.js.map +0 -1
- package/dist/cdn/chunks/es-B9OhP8H3.js.map +0 -1
- package/dist/cdn/chunks/fr-wrXhIi00.js.map +0 -1
- package/dist/cdn/chunks/icons-BKkJ-5xF.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +0 -1
- package/dist/cdn/chunks/src-CbGCES0u.js.map +0 -1
- package/dist/cdn/chunks/src-DveVYoWS.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CQraU2s_.js.map +0 -1
- package/dist/cdn/chunks/usePopoverPosition-BJRvAb-h.js.map +0 -1
- package/dist/en-DQqmtndQ.js +0 -2
|
@@ -359,6 +359,19 @@ var e = {
|
|
|
359
359
|
spacing: "Espaçamento",
|
|
360
360
|
padding: "Preenchimento",
|
|
361
361
|
background: "Plano de Fundo",
|
|
362
|
+
borderWidth: "Largura da borda",
|
|
363
|
+
borderStyle: "Estilo da borda",
|
|
364
|
+
borderColor: "Cor da borda",
|
|
365
|
+
border: "Borda",
|
|
366
|
+
borderSide: "Lado",
|
|
367
|
+
linkSides: "Mesma borda em todos os lados",
|
|
368
|
+
unlinkSides: "Definir cada lado separadamente",
|
|
369
|
+
linkCorners: "Mesmo raio em todos os cantos",
|
|
370
|
+
unlinkCorners: "Definir cada canto separadamente",
|
|
371
|
+
cornerTopLeft: "Superior esquerdo",
|
|
372
|
+
cornerTopRight: "Superior direito",
|
|
373
|
+
cornerBottomRight: "Inferior direito",
|
|
374
|
+
cornerBottomLeft: "Inferior esquerdo",
|
|
362
375
|
color: "Cor",
|
|
363
376
|
display: "Exibição",
|
|
364
377
|
showOnDesktop: "Mostrar no desktop",
|
|
@@ -422,6 +435,7 @@ var e = {
|
|
|
422
435
|
hexValue: "Valor hexadecimal da cor",
|
|
423
436
|
notSet: "Não definido",
|
|
424
437
|
clear: "Limpar cor",
|
|
438
|
+
transparent: "Transparente",
|
|
425
439
|
presetColors: "Cores predefinidas"
|
|
426
440
|
},
|
|
427
441
|
mergeTag: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { H as e, J as t, R as n, X as r, Y as i, Z as a, ot as o, rt as s, s as c } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as l, P as u, d, f, h as p, l as m, s as h, y as g } from "./dist-iLUVPysa.js";
|
|
3
3
|
import { r as _ } from "./dist-BDuPwOyn.js";
|
|
4
|
-
import {
|
|
4
|
+
import { o as v, s as y } from "./usePopoverPosition-BYmd-lhR.js";
|
|
5
5
|
import { t as b } from "./createLucideIcon-BxY5yz5u.js";
|
|
6
6
|
//#region ../core/dist/index.js
|
|
7
7
|
function x(e) {
|
|
@@ -18,8 +18,8 @@ function C(e) {
|
|
|
18
18
|
return e === "1" ? 1 : e === "3" ? 3 : 2;
|
|
19
19
|
}
|
|
20
20
|
function w(t) {
|
|
21
|
-
let n = t.content ??
|
|
22
|
-
|
|
21
|
+
let n = t.content ?? g(t.defaultFontFamily, t.templateDefaults);
|
|
22
|
+
d(n), f(n);
|
|
23
23
|
let a = i({
|
|
24
24
|
template: null,
|
|
25
25
|
content: n,
|
|
@@ -51,15 +51,15 @@ function w(t) {
|
|
|
51
51
|
}
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
if (t.add(e.id), e.type === "section") for (let n of e.children) for (let e of n)
|
|
54
|
+
function p(e, t) {
|
|
55
|
+
if (t.add(e.id), e.type === "section") for (let n of e.children) for (let e of n) p(e, t);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function h(e, t, n = { blocks: e }) {
|
|
58
58
|
for (let r = 0; r < e.length; r++) {
|
|
59
59
|
let i = e[r];
|
|
60
60
|
if (i.id === t) return n;
|
|
61
61
|
if (i.type === "section") for (let e = 0; e < i.children.length; e++) {
|
|
62
|
-
let n =
|
|
62
|
+
let n = h(i.children[e], t, {
|
|
63
63
|
blocks: i.children[e],
|
|
64
64
|
sectionId: i.id,
|
|
65
65
|
columnIndex: e
|
|
@@ -73,7 +73,7 @@ function w(t) {
|
|
|
73
73
|
return t.lockedBlocks?.value.has(e) ?? !1;
|
|
74
74
|
}
|
|
75
75
|
function v(e) {
|
|
76
|
-
let t =
|
|
76
|
+
let t = h(a.content.blocks, e);
|
|
77
77
|
if (!t) return null;
|
|
78
78
|
let n = t.blocks.findIndex((t) => t.id === e);
|
|
79
79
|
return n === -1 ? null : {
|
|
@@ -83,7 +83,7 @@ function w(t) {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
function y(e, t = !0) {
|
|
86
|
-
|
|
86
|
+
d(e), f(e), a.content = e, t && s();
|
|
87
87
|
}
|
|
88
88
|
function b(e) {
|
|
89
89
|
e && _(e) || (a.selectedBlockId = e);
|
|
@@ -116,7 +116,7 @@ function w(t) {
|
|
|
116
116
|
settings: a.content.settings,
|
|
117
117
|
blocks: [e]
|
|
118
118
|
};
|
|
119
|
-
if (
|
|
119
|
+
if (d(i), f(i), !(t && e.type === "section")) {
|
|
120
120
|
if (t) {
|
|
121
121
|
if (_(t)) return;
|
|
122
122
|
let i = u(a.content.blocks, t);
|
|
@@ -132,14 +132,14 @@ function w(t) {
|
|
|
132
132
|
}
|
|
133
133
|
function A(e) {
|
|
134
134
|
if (_(e)) return;
|
|
135
|
-
let t =
|
|
135
|
+
let t = h(a.content.blocks, e);
|
|
136
136
|
if (t) {
|
|
137
137
|
let n = t.blocks.findIndex((t) => t.id === e);
|
|
138
138
|
if (n !== -1) {
|
|
139
139
|
let [e] = t.blocks.splice(n, 1);
|
|
140
140
|
if (a.selectedBlockId) {
|
|
141
141
|
let t = /* @__PURE__ */ new Set();
|
|
142
|
-
|
|
142
|
+
p(e, t), t.has(a.selectedBlockId) && (a.selectedBlockId = null);
|
|
143
143
|
}
|
|
144
144
|
s();
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ function w(t) {
|
|
|
147
147
|
}
|
|
148
148
|
function j(e, t, n, r = 0) {
|
|
149
149
|
if (_(e) || n && _(n)) return;
|
|
150
|
-
let i =
|
|
150
|
+
let i = h(a.content.blocks, e);
|
|
151
151
|
if (!i) return;
|
|
152
152
|
let o = i.blocks.findIndex((t) => t.id === e);
|
|
153
153
|
if (o === -1 || n && i.blocks[o].type === "section") return;
|
|
@@ -164,7 +164,7 @@ function w(t) {
|
|
|
164
164
|
s();
|
|
165
165
|
}
|
|
166
166
|
function N(e, t) {
|
|
167
|
-
throw new
|
|
167
|
+
throw new m(`[Templatical] Templates: ${e} ${t}`);
|
|
168
168
|
}
|
|
169
169
|
function P(e) {
|
|
170
170
|
S(t.onError, e);
|
|
@@ -202,7 +202,7 @@ function w(t) {
|
|
|
202
202
|
let n = F("load()"), r;
|
|
203
203
|
a.isLoading = !0;
|
|
204
204
|
try {
|
|
205
|
-
r = await n.load(e),
|
|
205
|
+
r = await n.load(e), d(r.content), f(r.content), a.template = r, a.content = r.content, a.isDirty = !1;
|
|
206
206
|
} catch (e) {
|
|
207
207
|
throw t.onError?.(e), e;
|
|
208
208
|
} finally {
|
|
@@ -267,9 +267,9 @@ function w(t) {
|
|
|
267
267
|
}
|
|
268
268
|
var T = 50, E = 300, D = 1500;
|
|
269
269
|
function O(t) {
|
|
270
|
-
let { content: n, setContent: r, isRemoteOperation: i, maxSize: o = T } = t, s = a([]), c = a([]),
|
|
270
|
+
let { content: n, setContent: r, isRemoteOperation: i, maxSize: o = T } = t, s = a([]), c = a([]), u = a(!1), d = null, f = null, p = e(() => s.value.length > 0), m = e(() => c.value.length > 0);
|
|
271
271
|
function h() {
|
|
272
|
-
return
|
|
272
|
+
return l(n.value);
|
|
273
273
|
}
|
|
274
274
|
function g(e) {
|
|
275
275
|
s.value.push(e), s.value.length > o && s.value.splice(0, s.value.length - o);
|
|
@@ -297,8 +297,8 @@ function O(t) {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
function b() {
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
u.value = !0, d && clearTimeout(d), d = setTimeout(() => {
|
|
301
|
+
u.value = !1, d = null;
|
|
302
302
|
}, D);
|
|
303
303
|
}
|
|
304
304
|
function x() {
|
|
@@ -322,7 +322,7 @@ function O(t) {
|
|
|
322
322
|
return {
|
|
323
323
|
canUndo: p,
|
|
324
324
|
canRedo: m,
|
|
325
|
-
isNavigating:
|
|
325
|
+
isNavigating: u,
|
|
326
326
|
undo: x,
|
|
327
327
|
redo: S,
|
|
328
328
|
record: v,
|
|
@@ -334,30 +334,30 @@ function O(t) {
|
|
|
334
334
|
function k(e) {
|
|
335
335
|
e.type === "table" ? e.rows = e.rows.map((e) => ({
|
|
336
336
|
...e,
|
|
337
|
-
id:
|
|
337
|
+
id: u(),
|
|
338
338
|
cells: e.cells.map((e) => ({
|
|
339
339
|
...e,
|
|
340
|
-
id:
|
|
340
|
+
id: u()
|
|
341
341
|
}))
|
|
342
342
|
})) : e.type === "social" ? e.icons = e.icons.map((e) => ({
|
|
343
343
|
...e,
|
|
344
|
-
id:
|
|
344
|
+
id: u()
|
|
345
345
|
})) : e.type === "menu" && (e.items = e.items.map((e) => ({
|
|
346
346
|
...e,
|
|
347
|
-
id:
|
|
347
|
+
id: u()
|
|
348
348
|
})));
|
|
349
349
|
}
|
|
350
350
|
function A(e) {
|
|
351
351
|
let { addBlock: t, removeBlock: n, updateBlock: r, selectBlock: i, findBlockLocation: a } = e;
|
|
352
352
|
function o(n, r, a) {
|
|
353
|
-
let o = typeof e.blockDefaults == "function" ? e.blockDefaults() : e.blockDefaults, s =
|
|
353
|
+
let o = typeof e.blockDefaults == "function" ? e.blockDefaults() : e.blockDefaults, s = p(n, o);
|
|
354
354
|
return t(s, r, a), i(s.id), s;
|
|
355
355
|
}
|
|
356
356
|
function s(e, n, r) {
|
|
357
357
|
let o = JSON.parse(JSON.stringify(e));
|
|
358
|
-
if (o.id =
|
|
358
|
+
if (o.id = u(), k(o), o.type === "section" && (o.children = o.children.map((e) => e.map((e) => {
|
|
359
359
|
let t = JSON.parse(JSON.stringify(e));
|
|
360
|
-
return t.id =
|
|
360
|
+
return t.id = u(), k(t), t;
|
|
361
361
|
}))), n !== void 0 || r !== void 0) t(o, n, r);
|
|
362
362
|
else {
|
|
363
363
|
let i = a?.(e.id) ?? null;
|
|
@@ -368,14 +368,14 @@ function A(e) {
|
|
|
368
368
|
function c(e) {
|
|
369
369
|
n(e);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function l(e, t, n) {
|
|
372
372
|
r(e, { [t]: n });
|
|
373
373
|
}
|
|
374
374
|
return {
|
|
375
375
|
createAndAddBlock: o,
|
|
376
376
|
duplicateBlock: s,
|
|
377
377
|
deleteBlock: c,
|
|
378
|
-
updateBlockProperty:
|
|
378
|
+
updateBlockProperty: l
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
381
|
var j = 2e3;
|
|
@@ -493,12 +493,12 @@ function I(e) {
|
|
|
493
493
|
return l.value && e.canDelete !== !1;
|
|
494
494
|
}
|
|
495
495
|
function f(e, t) {
|
|
496
|
-
throw new
|
|
496
|
+
throw new m(`[Templatical] Saved blocks: ${e} is ${t}. Check the capability before calling — the editor's own UI hides the action.`);
|
|
497
497
|
}
|
|
498
498
|
function p(t) {
|
|
499
499
|
S(e.onError, t);
|
|
500
500
|
}
|
|
501
|
-
async function
|
|
501
|
+
async function h(i) {
|
|
502
502
|
r.value = !0;
|
|
503
503
|
try {
|
|
504
504
|
n.value = await t.list(i);
|
|
@@ -557,7 +557,7 @@ function I(e) {
|
|
|
557
557
|
canDelete: l,
|
|
558
558
|
canUpdateBlock: u,
|
|
559
559
|
canDeleteBlock: d,
|
|
560
|
-
load:
|
|
560
|
+
load: h,
|
|
561
561
|
create: g,
|
|
562
562
|
update: _,
|
|
563
563
|
remove: v
|
|
@@ -590,7 +590,7 @@ function R(e = {}) {
|
|
|
590
590
|
},
|
|
591
591
|
async create(e) {
|
|
592
592
|
let t = (/* @__PURE__ */ new Date()).toISOString(), n = {
|
|
593
|
-
id:
|
|
593
|
+
id: u(),
|
|
594
594
|
name: e.name,
|
|
595
595
|
content: e.content,
|
|
596
596
|
...e.category ? { category: e.category } : {},
|
|
@@ -660,7 +660,7 @@ function V(e = {}) {
|
|
|
660
660
|
},
|
|
661
661
|
async create(e) {
|
|
662
662
|
let t = await a(e.file), n = (/* @__PURE__ */ new Date()).toISOString(), o = {
|
|
663
|
-
id:
|
|
663
|
+
id: u(),
|
|
664
664
|
url: t,
|
|
665
665
|
filename: e.filename || e.file.name,
|
|
666
666
|
createdAt: n,
|
|
@@ -699,13 +699,13 @@ function H(e) {
|
|
|
699
699
|
let { provider: t, getTemplateId: n } = e, r = a([]), i = a(!1), o = a(void 0), s = a(!1), l = /* @__PURE__ */ new Map(), u = c(() => typeof t.create == "function"), d = c(() => typeof t.restore == "function");
|
|
700
700
|
function f(e) {
|
|
701
701
|
let t = n();
|
|
702
|
-
if (!t) throw new
|
|
702
|
+
if (!t) throw new m(`[Templatical] Version history: ${e} needs a template. Call create() or load() first.`);
|
|
703
703
|
return t;
|
|
704
704
|
}
|
|
705
705
|
function p(e) {
|
|
706
|
-
throw new
|
|
706
|
+
throw new m(`[Templatical] Version history: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
|
|
707
707
|
}
|
|
708
|
-
function
|
|
708
|
+
function h(t) {
|
|
709
709
|
S(e.onError, t);
|
|
710
710
|
}
|
|
711
711
|
async function g(n) {
|
|
@@ -740,7 +740,7 @@ function H(e) {
|
|
|
740
740
|
let o = f("create");
|
|
741
741
|
try {
|
|
742
742
|
let e = await a(o, n, i);
|
|
743
|
-
return r.value = [e, ...r.value],
|
|
743
|
+
return r.value = [e, ...r.value], h(() => t.onCreated?.(e)), e;
|
|
744
744
|
} catch (t) {
|
|
745
745
|
throw e.onError?.(t), t;
|
|
746
746
|
}
|
|
@@ -757,7 +757,7 @@ function H(e) {
|
|
|
757
757
|
} finally {
|
|
758
758
|
s.value = !1;
|
|
759
759
|
}
|
|
760
|
-
return
|
|
760
|
+
return h(() => t.onRestored?.(a)), a;
|
|
761
761
|
}
|
|
762
762
|
return {
|
|
763
763
|
nextCursor: o,
|
|
@@ -774,23 +774,23 @@ function H(e) {
|
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
776
|
function U(e) {
|
|
777
|
-
let { provider: t, getTemplateId: n, getUser: r } = e, i = a([]), o = a(!1), s = a(!1), l = c(() => typeof t.create == "function"), u = c(() => typeof t.update == "function"), d = c(() => typeof t.delete == "function"), f = c(() => typeof t.setResolved == "function"), p = c(() => i.value.reduce((e, t) => e + 1 + (t.replies?.length ?? 0), 0)),
|
|
777
|
+
let { provider: t, getTemplateId: n, getUser: r } = e, i = a([]), o = a(!1), s = a(!1), l = c(() => typeof t.create == "function"), u = c(() => typeof t.update == "function"), d = c(() => typeof t.delete == "function"), f = c(() => typeof t.setResolved == "function"), p = c(() => i.value.reduce((e, t) => e + 1 + (t.replies?.length ?? 0), 0)), h = c(() => i.value.filter((e) => !e.resolvedAt).length), g = c(() => {
|
|
778
778
|
let e = /* @__PURE__ */ new Map();
|
|
779
779
|
for (let t of i.value) t.blockId && e.set(t.blockId, (e.get(t.blockId) ?? 0) + 1 + (t.replies?.length ?? 0));
|
|
780
780
|
return e;
|
|
781
781
|
});
|
|
782
782
|
function _(e) {
|
|
783
783
|
let t = n();
|
|
784
|
-
if (!t) throw new
|
|
784
|
+
if (!t) throw new m(`[Templatical] Comments: ${e} needs a template. Call create() or load() first.`);
|
|
785
785
|
return t;
|
|
786
786
|
}
|
|
787
787
|
function v(e) {
|
|
788
788
|
let t = r();
|
|
789
|
-
if (!t) throw new
|
|
789
|
+
if (!t) throw new m(`[Templatical] Comments: ${e} needs to know who is commenting. Pass init({ user: { id, name } }) — an unattributed comment is not written.`);
|
|
790
790
|
return t;
|
|
791
791
|
}
|
|
792
792
|
function y(e) {
|
|
793
|
-
throw new
|
|
793
|
+
throw new m(`[Templatical] Comments: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
|
|
794
794
|
}
|
|
795
795
|
function b(e) {
|
|
796
796
|
for (let t of i.value) {
|
|
@@ -934,7 +934,7 @@ function U(e) {
|
|
|
934
934
|
canDelete: d,
|
|
935
935
|
canResolve: f,
|
|
936
936
|
totalCount: p,
|
|
937
|
-
unresolvedCount:
|
|
937
|
+
unresolvedCount: h,
|
|
938
938
|
commentCountByBlock: g,
|
|
939
939
|
load: A,
|
|
940
940
|
create: j,
|
|
@@ -1109,7 +1109,7 @@ function ee(e) {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
//#endregion
|
|
1111
1111
|
//#region src/constants/socialIcons.ts
|
|
1112
|
-
var te =
|
|
1112
|
+
var te = h, ne = {
|
|
1113
1113
|
small: 24,
|
|
1114
1114
|
medium: 32,
|
|
1115
1115
|
large: 48
|