@templatical/editor 0.30.0 → 0.32.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.
Files changed (257) hide show
  1. package/dist/{AiChatSidebar-Bq99wU01.js → AiChatSidebar-ftdKHSR-.js} +15 -15
  2. package/dist/{AiFeatureMenu-F-C59LAV.js → AiFeatureMenu-aNeCRlil.js} +7 -7
  3. package/dist/{BlockIssueBadge-Dhk7Hv4m.js → BlockIssueBadge-bTDu6W_2.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-CqU1kwmG.js → BlockPreviewCanvas-BsOuOfzB.js} +20 -19
  5. package/dist/{CloudHeaderExtras-vnGV_mLD.js → CloudHeaderExtras-BNpFohqt.js} +5 -5
  6. package/dist/{CloudPanels-Dv-MD1Tc.js → CloudPanels-xoGWwqSH.js} +7 -7
  7. package/dist/{CollaboratorBar-DmssyJoB.js → CollaboratorBar-mEqXkdEi.js} +4 -4
  8. package/dist/{ColorPicker-CXPSbnRD.js → ColorPicker-FL5Vb9bE.js} +7 -7
  9. package/dist/{CommentsPanel-DnWdgQHg.js → CommentsPanel-slfi74ng.js} +2 -2
  10. package/dist/{CommentsSidebar-ZOqmuo4D.js → CommentsSidebar-Dea4spMl.js} +14 -14
  11. package/dist/{CountdownBlock-BgNK7fZY.js → CountdownBlock-DQTwaRxP.js} +3 -3
  12. package/dist/{CountdownToolbar-SwmE7CIk.js → CountdownToolbar-C7xwJoqh.js} +4 -4
  13. package/dist/{DesignReferenceSidebar-9cLTzOqP.js → DesignReferenceSidebar-BtBd7bbz.js} +11 -11
  14. package/dist/{FieldRow-0-UbQR4a.js → FieldRow-BWt7ECqo.js} +1 -1
  15. package/dist/{IssuesPanel-CDk7lUna.js → IssuesPanel-Ci2H36L2.js} +8 -8
  16. package/dist/{LoadingTrack-5KBr5cE8.js → LoadingTrack-SQXoZVf2.js} +1 -1
  17. package/dist/{MergeTagModeToggle-DtD_Xl9w.js → MergeTagModeToggle-Cdi_DmVw.js} +6 -6
  18. package/dist/{MergeTagSuggestion-DPfXtDzP.js → MergeTagSuggestion-CoCuzEmW.js} +4 -4
  19. package/dist/{ParagraphEditor-C0NbqDmV.js → ParagraphEditor-DQEOFc0K.js} +26 -26
  20. package/dist/{RestoreVersionDialog-DCX0rJiV.js → RestoreVersionDialog-CHwngBae.js} +5 -5
  21. package/dist/{RichTextEditorContent-DZ6GiAUi.js → RichTextEditorContent-C_9xi7dD.js} +8 -8
  22. package/dist/{SaveBlockDialog-e5LtQRVk.js → SaveBlockDialog-tZqZzPjW.js} +21 -21
  23. package/dist/SavedBlocksBrowserModal-Bdj3GOD_.js +322 -0
  24. package/dist/{SavedBlocksPanels-pGZWjSmp.js → SavedBlocksPanels-2sBxAH9w.js} +2 -2
  25. package/dist/{SavedBlocksPickBar-OZaOG1Si.js → SavedBlocksPickBar-DTjQBR00.js} +4 -4
  26. package/dist/{TemplateScoringPanel-CDwlSFEe.js → TemplateScoringPanel-B6nHSrBD.js} +15 -15
  27. package/dist/{TestEmailModal-PVa1VL2p.js → TestEmailModal-DuHbzO37.js} +11 -11
  28. package/dist/{TestEmailPanel-RekBdAtO.js → TestEmailPanel-TpwP-eK_.js} +2 -2
  29. package/dist/{TitleEditor-Cs2tELCL.js → TitleEditor-C0JQJu38.js} +12 -12
  30. package/dist/{TplModal-Bw1i8_eE.js → TplModal-BMGmhquu.js} +5 -5
  31. package/dist/VersionHistoryMenu-D2x6MMYx.js +157 -0
  32. package/dist/{VersionHistoryPanels-TqTC4ofA.js → VersionHistoryPanels-aGlUVEGF.js} +2 -2
  33. package/dist/{VersionPreviewBanner-CQlSzQ2B.js → VersionPreviewBanner-61t3_Z-a.js} +3 -3
  34. package/dist/{blockTypeIcons-C7WedEOG.js → blockTypeIcons-BsNup009.js} +2 -2
  35. package/dist/bundle-stats.json +7 -7
  36. package/dist/{ca-DZSrLNXK.js → ca-C0hfqt4U.js} +5 -0
  37. package/dist/cdn/chunks/{AiChatSidebar-DmZ1Nvxo.js → AiChatSidebar-CqWvtRwB.js} +12 -12
  38. package/dist/cdn/chunks/{AiChatSidebar-DmZ1Nvxo.js.map → AiChatSidebar-CqWvtRwB.js.map} +1 -1
  39. package/dist/cdn/chunks/{AiFeatureMenu-D4tax9j3.js → AiFeatureMenu-DoFrLcXJ.js} +6 -6
  40. package/dist/cdn/chunks/{AiFeatureMenu-D4tax9j3.js.map → AiFeatureMenu-DoFrLcXJ.js.map} +1 -1
  41. package/dist/cdn/chunks/{BlockIssueBadge-Bry71Wjz.js → BlockIssueBadge-B_mUH69a.js} +5 -5
  42. package/dist/cdn/chunks/{BlockIssueBadge-Bry71Wjz.js.map → BlockIssueBadge-B_mUH69a.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockPreviewCanvas-DDOqFJlT.js → BlockPreviewCanvas-CSIxs7hr.js} +21 -20
  44. package/dist/cdn/chunks/BlockPreviewCanvas-CSIxs7hr.js.map +1 -0
  45. package/dist/cdn/chunks/{CloudHeaderExtras-g-_SFPna.js → CloudHeaderExtras-Dgtr7WaE.js} +5 -5
  46. package/dist/cdn/chunks/{CloudHeaderExtras-g-_SFPna.js.map → CloudHeaderExtras-Dgtr7WaE.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudPanels-Cnh07_2G.js → CloudPanels-B91lUmof.js} +7 -7
  48. package/dist/cdn/chunks/{CloudPanels-Cnh07_2G.js.map → CloudPanels-B91lUmof.js.map} +1 -1
  49. package/dist/cdn/chunks/{CollaboratorBar-CLGB0prG.js → CollaboratorBar-CQwPWoFu.js} +5 -5
  50. package/dist/cdn/chunks/{CollaboratorBar-CLGB0prG.js.map → CollaboratorBar-CQwPWoFu.js.map} +1 -1
  51. package/dist/cdn/chunks/{ColorPicker-Ww4xHHMI.js → ColorPicker-CdrKX48J.js} +7 -7
  52. package/dist/cdn/chunks/{ColorPicker-Ww4xHHMI.js.map → ColorPicker-CdrKX48J.js.map} +1 -1
  53. package/dist/cdn/chunks/{CommentsPanel-DjId-XH-.js → CommentsPanel-BJNgTmAA.js} +3 -3
  54. package/dist/cdn/chunks/{CommentsPanel-DjId-XH-.js.map → CommentsPanel-BJNgTmAA.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsSidebar-DXXGWSr4.js → CommentsSidebar-D6VIIPhB.js} +5 -5
  56. package/dist/cdn/chunks/{CommentsSidebar-DXXGWSr4.js.map → CommentsSidebar-D6VIIPhB.js.map} +1 -1
  57. package/dist/cdn/chunks/{CountdownBlock-CWeJBC0L.js → CountdownBlock-BRwXUvGU.js} +4 -4
  58. package/dist/cdn/chunks/{CountdownBlock-CWeJBC0L.js.map → CountdownBlock-BRwXUvGU.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownToolbar-CO6xLgYc.js → CountdownToolbar-CVaU5WG6.js} +5 -5
  60. package/dist/cdn/chunks/{CountdownToolbar-CO6xLgYc.js.map → CountdownToolbar-CVaU5WG6.js.map} +1 -1
  61. package/dist/cdn/chunks/{DesignReferenceSidebar-DRGqm33h.js → DesignReferenceSidebar-BvOwE1kg.js} +7 -7
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-DRGqm33h.js.map → DesignReferenceSidebar-BvOwE1kg.js.map} +1 -1
  63. package/dist/cdn/chunks/{FieldRow-CbcpsxZ4.js → FieldRow-D9OJhYeb.js} +2 -2
  64. package/dist/cdn/chunks/{FieldRow-CbcpsxZ4.js.map → FieldRow-D9OJhYeb.js.map} +1 -1
  65. package/dist/cdn/chunks/{IssuesPanel-iC2hgrXx.js → IssuesPanel-MJZxkScz.js} +6 -6
  66. package/dist/cdn/chunks/{IssuesPanel-iC2hgrXx.js.map → IssuesPanel-MJZxkScz.js.map} +1 -1
  67. package/dist/cdn/chunks/{LoadingTrack-Cz1sT0wP.js → LoadingTrack-Cm3TDKb3.js} +2 -2
  68. package/dist/cdn/chunks/{LoadingTrack-Cz1sT0wP.js.map → LoadingTrack-Cm3TDKb3.js.map} +1 -1
  69. package/dist/cdn/chunks/{MergeTagModeToggle-DZtnCj0F.js → MergeTagModeToggle-bNuN6PTV.js} +6 -6
  70. package/dist/cdn/chunks/{MergeTagModeToggle-DZtnCj0F.js.map → MergeTagModeToggle-bNuN6PTV.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagSuggestion-VP_nC-8W.js → MergeTagSuggestion-t8Uj00Er.js} +3 -3
  72. package/dist/cdn/chunks/{MergeTagSuggestion-VP_nC-8W.js.map → MergeTagSuggestion-t8Uj00Er.js.map} +1 -1
  73. package/dist/cdn/chunks/{ParagraphEditor-BalgLjBt.js → ParagraphEditor-BU8tlFbL.js} +28 -28
  74. package/dist/cdn/chunks/{ParagraphEditor-BalgLjBt.js.map → ParagraphEditor-BU8tlFbL.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-DGOXQ0ou.js → RestoreVersionDialog-vdRFfyy0.js} +5 -5
  76. package/dist/cdn/chunks/{RestoreVersionDialog-DGOXQ0ou.js.map → RestoreVersionDialog-vdRFfyy0.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-DpvOKKH-.js → RichTextEditorContent-C1-5I8Df.js} +7 -7
  78. package/dist/cdn/chunks/{RichTextEditorContent-DpvOKKH-.js.map → RichTextEditorContent-C1-5I8Df.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-Dod3jX9X.js → SaveBlockDialog-DWaeqcM8.js} +9 -9
  80. package/dist/cdn/chunks/{SaveBlockDialog-Dod3jX9X.js.map → SaveBlockDialog-DWaeqcM8.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BysGB8zb.js → SavedBlocksBrowserModal-qC7UhW74.js} +110 -111
  82. package/dist/cdn/chunks/SavedBlocksBrowserModal-qC7UhW74.js.map +1 -0
  83. package/dist/cdn/chunks/{SavedBlocksPanels-DJ4fceEM.js → SavedBlocksPanels-BvtjtdsY.js} +3 -3
  84. package/dist/cdn/chunks/{SavedBlocksPanels-DJ4fceEM.js.map → SavedBlocksPanels-BvtjtdsY.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-DGgbqAsb.js → SavedBlocksPickBar-CxXjF3RN.js} +5 -5
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-DGgbqAsb.js.map → SavedBlocksPickBar-CxXjF3RN.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-B0YcaJsR.js → TemplateScoringPanel-CroWaWqy.js} +50 -50
  88. package/dist/cdn/chunks/{TemplateScoringPanel-B0YcaJsR.js.map → TemplateScoringPanel-CroWaWqy.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-DvZFnhWa.js → TestEmailModal-iWxAZRRq.js} +10 -10
  90. package/dist/cdn/chunks/{TestEmailModal-DvZFnhWa.js.map → TestEmailModal-iWxAZRRq.js.map} +1 -1
  91. package/dist/cdn/chunks/{TestEmailPanel-BdxpMiWc.js → TestEmailPanel-CGUtEuwp.js} +3 -3
  92. package/dist/cdn/chunks/{TestEmailPanel-BdxpMiWc.js.map → TestEmailPanel-CGUtEuwp.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-CfHWnThg.js → TitleEditor-DvXUW2j-.js} +12 -12
  94. package/dist/cdn/chunks/{TitleEditor-CfHWnThg.js.map → TitleEditor-DvXUW2j-.js.map} +1 -1
  95. package/dist/cdn/chunks/{TplModal-BMTW5bEN.js → TplModal-X-qNoLGZ.js} +5 -5
  96. package/dist/cdn/chunks/{TplModal-BMTW5bEN.js.map → TplModal-X-qNoLGZ.js.map} +1 -1
  97. package/dist/cdn/chunks/VersionHistoryMenu-yKzwxf7n.js +150 -0
  98. package/dist/cdn/chunks/VersionHistoryMenu-yKzwxf7n.js.map +1 -0
  99. package/dist/cdn/chunks/{VersionHistoryPanels-2l_FLtix.js → VersionHistoryPanels--hQaanjH.js} +3 -3
  100. package/dist/cdn/chunks/{VersionHistoryPanels-2l_FLtix.js.map → VersionHistoryPanels--hQaanjH.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-C8pfES5A.js → VersionPreviewBanner-DWU_SqMd.js} +4 -4
  102. package/dist/cdn/chunks/{VersionPreviewBanner-C8pfES5A.js.map → VersionPreviewBanner-DWU_SqMd.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-JUwZtKaq.js → blockTypeIcons-ZEzEpCti.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-JUwZtKaq.js.map → blockTypeIcons-ZEzEpCti.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-DZSrLNXK.js → ca-C0hfqt4U.js} +6 -1
  106. package/dist/cdn/chunks/ca-C0hfqt4U.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CITqEHEc.js → cloud-BP5-6__d.js} +4 -4
  108. package/dist/cdn/chunks/{cloud-CITqEHEc.js.map → cloud-BP5-6__d.js.map} +1 -1
  109. package/dist/cdn/chunks/{createCloudRuntime-jLhuyKds.js → createCloudRuntime-DD6ppb71.js} +10 -10
  110. package/dist/cdn/chunks/{createCloudRuntime-jLhuyKds.js.map → createCloudRuntime-DD6ppb71.js.map} +1 -1
  111. package/dist/{de-DbayqpK-.js → cdn/chunks/de-C6J2Iae8.js} +7 -0
  112. package/dist/cdn/chunks/de-C6J2Iae8.js.map +1 -0
  113. package/dist/cdn/chunks/{dist-CgR3inPR.js → dist-BW6Y49zE.js} +2 -2
  114. package/dist/cdn/chunks/{dist-CgR3inPR.js.map → dist-BW6Y49zE.js.map} +1 -1
  115. package/dist/cdn/chunks/{dist-El3fQnfk.js → dist-CAFTQ6Y2.js} +5 -5
  116. package/dist/cdn/chunks/{dist-El3fQnfk.js.map → dist-CAFTQ6Y2.js.map} +1 -1
  117. package/dist/cdn/chunks/{draggable-D2vo-aQI.js → draggable-kbOhCgnk.js} +12 -13
  118. package/dist/cdn/chunks/{draggable-D2vo-aQI.js.map → draggable-kbOhCgnk.js.map} +1 -1
  119. package/dist/cdn/chunks/{en-l0ib5X0f.js → en-BaUYOQi8.js} +6 -1
  120. package/dist/cdn/chunks/en-BaUYOQi8.js.map +1 -0
  121. package/dist/cdn/chunks/en-mEKGL1PX.js +2 -0
  122. package/dist/cdn/chunks/{es-CMQ-5PJP.js → es-CKDYfJYn.js} +6 -1
  123. package/dist/cdn/chunks/es-CKDYfJYn.js.map +1 -0
  124. package/dist/cdn/chunks/{extensions-D30V0hzj.js → extensions-BUPHNpKD.js} +7 -7
  125. package/dist/cdn/chunks/{extensions-D30V0hzj.js.map → extensions-BUPHNpKD.js.map} +1 -1
  126. package/dist/cdn/chunks/formatAbsoluteDateTime-DMmop3C-.js +15 -0
  127. package/dist/cdn/chunks/formatAbsoluteDateTime-DMmop3C-.js.map +1 -0
  128. package/dist/cdn/chunks/{fr-DNXmZWAq.js → fr-L8DR73mK.js} +6 -1
  129. package/dist/cdn/chunks/fr-L8DR73mK.js.map +1 -0
  130. package/dist/cdn/chunks/{icons-BTdLXRXn.js → icons-SP5Itd-A.js} +16 -16
  131. package/dist/cdn/chunks/icons-SP5Itd-A.js.map +1 -0
  132. package/dist/cdn/chunks/keys-BOn5i9jV.js +12 -0
  133. package/dist/cdn/chunks/keys-BOn5i9jV.js.map +1 -0
  134. package/dist/cdn/chunks/{liquid.browser-BPvKXNfO.js → liquid.browser-BypTT2oc.js} +4 -4
  135. package/dist/cdn/chunks/{liquid.browser-BPvKXNfO.js.map → liquid.browser-BypTT2oc.js.map} +1 -1
  136. package/dist/{nl-BylRRHYJ.js → cdn/chunks/nl-GDWeuX18.js} +7 -0
  137. package/dist/cdn/chunks/nl-GDWeuX18.js.map +1 -0
  138. package/dist/cdn/chunks/{preRenderCustomBlocks-DyCIgmqJ.js → preRenderCustomBlocks-LFB-e-0m.js} +2 -2
  139. package/dist/cdn/chunks/{preRenderCustomBlocks-DyCIgmqJ.js.map → preRenderCustomBlocks-LFB-e-0m.js.map} +1 -1
  140. package/dist/cdn/chunks/{pt-BR-BVoJhpie.js → pt-BR-B1AVVhWj.js} +6 -1
  141. package/dist/cdn/chunks/pt-BR-B1AVVhWj.js.map +1 -0
  142. package/dist/cdn/chunks/{src-6J-yyZoD.js → src-BM3f9I7t.js} +268 -268
  143. package/dist/cdn/chunks/{src-6J-yyZoD.js.map → src-BM3f9I7t.js.map} +1 -1
  144. package/dist/cdn/chunks/{src-BD60gqPW.js → src-CLoCCDfs.js} +26 -26
  145. package/dist/cdn/chunks/{src-BD60gqPW.js.map → src-CLoCCDfs.js.map} +1 -1
  146. package/dist/cdn/chunks/{src-65H3RNcb.js → src-Cxl-9O-L.js} +699 -684
  147. package/dist/cdn/chunks/src-Cxl-9O-L.js.map +1 -0
  148. package/dist/cdn/chunks/{src-CLTXM4PM.js → src-DtnvR_Hl.js} +19 -19
  149. package/dist/cdn/chunks/src-DtnvR_Hl.js.map +1 -0
  150. package/dist/cdn/chunks/{tiptap-Bqy-H6CT.js → tiptap-Epe8m3Vo.js} +2918 -2901
  151. package/dist/cdn/chunks/tiptap-Epe8m3Vo.js.map +1 -0
  152. package/dist/cdn/chunks/{useAliveFlag-DrXxPV8V.js → useAliveFlag-CT9gjvO_.js} +2 -2
  153. package/dist/cdn/chunks/{useAliveFlag-DrXxPV8V.js.map → useAliveFlag-CT9gjvO_.js.map} +1 -1
  154. package/dist/cdn/chunks/{useCloudI18n-D0AoLV0a.js → useCloudI18n-DbsLlCbZ.js} +3 -3
  155. package/dist/cdn/chunks/{useCloudI18n-D0AoLV0a.js.map → useCloudI18n-DbsLlCbZ.js.map} +1 -1
  156. package/dist/cdn/chunks/{useEditorCore-BQeEwEQ9.js → useEditorCore-ChlgO2GN.js} +556 -412
  157. package/dist/cdn/chunks/useEditorCore-ChlgO2GN.js.map +1 -0
  158. package/dist/cdn/chunks/useEditorRoot-BlF1WPeu.js +10 -0
  159. package/dist/cdn/chunks/{useEditorRoot-BFGRBGts.js.map → useEditorRoot-BlF1WPeu.js.map} +1 -1
  160. package/dist/cdn/chunks/{useI18n-DIhawILp.js → useI18n-BdxNNw6j.js} +3 -3
  161. package/dist/cdn/chunks/{useI18n-DIhawILp.js.map → useI18n-BdxNNw6j.js.map} +1 -1
  162. package/dist/cdn/chunks/{useMergeTag-lWo7So18.js → useMergeTag-CI2WUNrR.js} +4 -4
  163. package/dist/cdn/chunks/{useMergeTag-lWo7So18.js.map → useMergeTag-CI2WUNrR.js.map} +1 -1
  164. package/dist/cdn/chunks/{usePopoverPosition-DkiTLnBm.js → usePopoverPosition-Dw1nTSNx.js} +3 -3
  165. package/dist/cdn/chunks/{usePopoverPosition-DkiTLnBm.js.map → usePopoverPosition-Dw1nTSNx.js.map} +1 -1
  166. package/dist/cdn/chunks/{useScrollToBlock-KcSAuXKz.js → useScrollToBlock-BMis3-PR.js} +3 -3
  167. package/dist/cdn/chunks/{useScrollToBlock-KcSAuXKz.js.map → useScrollToBlock-BMis3-PR.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +1099 -1143
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{check-CTe6VejT.js → check-JK8Uacq0.js} +1 -1
  172. package/dist/{chevron-down-BBThVMu-.js → chevron-down-a-fb_Ijn.js} +1 -1
  173. package/dist/{chevron-up-iECwf-Bc.js → chevron-up-x4l0et_Y.js} +1 -1
  174. package/dist/{circle-alert-Z_eeykrO.js → circle-alert-CJDW5LZo.js} +1 -1
  175. package/dist/{clock-CEj1c29j.js → clock-BW6rXk2f.js} +1 -1
  176. package/dist/{cloud-DwJ8ebNl.js → cloud-BMzRKCbk.js} +3 -3
  177. package/dist/{createCloudRuntime-CdXQdl34.js → createCloudRuntime-zNcMjRgb.js} +8 -8
  178. package/dist/{createLucideIcon-DphAT3tw.js → createLucideIcon-Bvw1Zx56.js} +3 -3
  179. package/dist/{cdn/chunks/de-DbayqpK-.js → de-C6J2Iae8.js} +5 -2
  180. package/dist/{dist-gWM8H2hz.js → dist-BxFbxpgW.js} +5 -5
  181. package/dist/{dist-DifptC-U.js → dist-ByT5fgKq.js} +2 -2
  182. package/dist/{dist-BfcqryVg.js → dist-C1tsW_99.js} +2 -2
  183. package/dist/{dist-D2P8U3p6.js → dist-CtF9STPS.js} +2 -2
  184. package/dist/{dist-DSgmnQ-f.js → dist-CtMXAH7a.js} +2 -2
  185. package/dist/dist-D08oVYhr.js +5 -0
  186. package/dist/{dist-BdIwIlKz.js → dist-D7WY8VPq.js} +2 -2
  187. package/dist/{dist-9fjN9cuD.js → dist-DC-3T0ED.js} +2 -2
  188. package/dist/{dist-nmzPlqlz.js → dist-DL9334yz.js} +1429 -1412
  189. package/dist/{dist-DLaIQ5H5.js → dist-DkcA6epL.js} +8 -8
  190. package/dist/dist-DzdeVn-W.js +5 -0
  191. package/dist/{dist-CzVIVbSa.js → dist-PL6vP4SC.js} +61 -61
  192. package/dist/{dist-CuuPnIMy.js → dist-dNiknO7j.js} +4 -4
  193. package/dist/{dist-CaR5TLiM.js → dist-f7HXo6j6.js} +2 -2
  194. package/dist/{dist-BUpBA58N.js → dist-heatwAdo.js} +1 -1
  195. package/dist/{en-l0ib5X0f.js → en-BaUYOQi8.js} +5 -0
  196. package/dist/{es-CMQ-5PJP.js → es-CKDYfJYn.js} +5 -0
  197. package/dist/{extensions-Bjsdx6Vm.js → extensions-kOYwOh72.js} +21 -21
  198. package/dist/formatAbsoluteDateTime-DMmop3C-.js +13 -0
  199. package/dist/{fr-DNXmZWAq.js → fr-L8DR73mK.js} +5 -0
  200. package/dist/{image-up-W1INxCu8.js → image-up-CuzFc1mu.js} +1 -1
  201. package/dist/{info-5t4WYKfh.js → info-DybAwcA3.js} +1 -1
  202. package/dist/keys-BOhFlHsv.js +10 -0
  203. package/dist/{liquid.browser-CJgDDvQz.js → liquid.browser-wPG0n4Cs.js} +3 -3
  204. package/dist/{loader-circle-DJCZ_JMY.js → loader-circle-t-SVgmJ3.js} +1 -1
  205. package/dist/{message-circle-Biu6lHh_.js → message-circle-DtwKrlhN.js} +1 -1
  206. package/dist/{cdn/chunks/nl-BylRRHYJ.js → nl-GDWeuX18.js} +5 -2
  207. package/dist/{pencil-DkPlMca7.js → pencil-2qhC-Y4q.js} +1 -1
  208. package/dist/{preRenderCustomBlocks-2KyBJocY.js → preRenderCustomBlocks-CSIF-HyJ.js} +1 -1
  209. package/dist/{pt-BR-BVoJhpie.js → pt-BR-B1AVVhWj.js} +5 -0
  210. package/dist/{refresh-cw-DHbpkkol.js → refresh-cw-C8SBuPdg.js} +1 -1
  211. package/dist/{runtime-dom.esm-bundler-Co_SPqAz.js → runtime-dom.esm-bundler-BuG03jBM.js} +3 -3
  212. package/dist/{scan-line-DojwGzjU.js → scan-line-E7w4yQyv.js} +1 -1
  213. package/dist/{send-c6ppcE9I.js → send-BoqJliF6.js} +1 -1
  214. package/dist/{shield-check-F9T4ylNK.js → shield-check-D0dMaHtE.js} +1 -1
  215. package/dist/{sparkles-D-0OiTZD.js → sparkles-Dy2BJjiX.js} +1 -1
  216. package/dist/style.css +1 -1
  217. package/dist/templatical-editor.js +1236 -1281
  218. package/dist/{text-align-start-kEEtoRrD.js → text-align-start-DrxjxvIy.js} +1 -1
  219. package/dist/{trash-2-DRQzhY9R.js → trash-rYMzzHZd.js} +2 -2
  220. package/dist/{triangle-alert-Bt4-GU3t.js → triangle-alert-DxnFj4-B.js} +1 -1
  221. package/dist/{upload-D2wtjvH8.js → upload-DZu1adQz.js} +1 -1
  222. package/dist/{useAliveFlag-AFbwfHlJ.js → useAliveFlag-PVmp95MT.js} +1 -1
  223. package/dist/{useCloudI18n-BA69BpQ_.js → useCloudI18n-BlMajbKp.js} +2 -2
  224. package/dist/{useEditorCore-Du9Vx-qr.js → useEditorCore-CwQYCSXO.js} +1212 -1067
  225. package/dist/{useEditorRoot-Cdo8Vhxa.js → useEditorRoot-C92q8uV-.js} +2 -2
  226. package/dist/{useI18n-B135ASaG.js → useI18n-Ce_BRzYv.js} +2 -2
  227. package/dist/{useMergeTag-Cx36rtrt.js → useMergeTag-CrXJ49lr.js} +3 -3
  228. package/dist/{usePopoverPosition-DAOHr_iM.js → usePopoverPosition-CPk7Twye.js} +2 -2
  229. package/dist/{useScrollToBlock-B0Qpjfa4.js → useScrollToBlock-DvpMfWs2.js} +3 -3
  230. package/dist/{vue.runtime.esm-bundler-BhOUdXMi.js → vue.runtime.esm-bundler-D9JUcKrV.js} +4 -4
  231. package/dist/{x-YiG-TUGN.js → x-DJOd1hS4.js} +1 -1
  232. package/package.json +23 -23
  233. package/dist/SavedBlocksBrowserModal-ZQIQoARO.js +0 -323
  234. package/dist/VersionHistoryMenu-B6zAcmAC.js +0 -155
  235. package/dist/cdn/chunks/BlockPreviewCanvas-DDOqFJlT.js.map +0 -1
  236. package/dist/cdn/chunks/SavedBlocksBrowserModal-BysGB8zb.js.map +0 -1
  237. package/dist/cdn/chunks/VersionHistoryMenu-DJGcA_RX.js +0 -148
  238. package/dist/cdn/chunks/VersionHistoryMenu-DJGcA_RX.js.map +0 -1
  239. package/dist/cdn/chunks/ca-DZSrLNXK.js.map +0 -1
  240. package/dist/cdn/chunks/de-DbayqpK-.js.map +0 -1
  241. package/dist/cdn/chunks/en-CwXyUb6-.js +0 -2
  242. package/dist/cdn/chunks/en-l0ib5X0f.js.map +0 -1
  243. package/dist/cdn/chunks/es-CMQ-5PJP.js.map +0 -1
  244. package/dist/cdn/chunks/fr-DNXmZWAq.js.map +0 -1
  245. package/dist/cdn/chunks/icons-BTdLXRXn.js.map +0 -1
  246. package/dist/cdn/chunks/keys-BJ770Mwm.js +0 -12
  247. package/dist/cdn/chunks/keys-BJ770Mwm.js.map +0 -1
  248. package/dist/cdn/chunks/nl-BylRRHYJ.js.map +0 -1
  249. package/dist/cdn/chunks/pt-BR-BVoJhpie.js.map +0 -1
  250. package/dist/cdn/chunks/src-65H3RNcb.js.map +0 -1
  251. package/dist/cdn/chunks/src-CLTXM4PM.js.map +0 -1
  252. package/dist/cdn/chunks/tiptap-Bqy-H6CT.js.map +0 -1
  253. package/dist/cdn/chunks/useEditorCore-BQeEwEQ9.js.map +0 -1
  254. package/dist/cdn/chunks/useEditorRoot-BFGRBGts.js +0 -10
  255. package/dist/dist-CzMzshfS.js +0 -5
  256. package/dist/dist-DTVuNn8M.js +0 -5
  257. package/dist/keys-BJtoezGU.js +0 -10
@@ -1,7 +1,7 @@
1
- import { Bn as e, Bt as t, Cn as n, Dn as r, Gn as i, Hn as a, Ht as o, Jn as s, Kn as c, Ln as l, Mt as u, T as d, Un as f, Vn as p, Vt as m, Wn as h, Xn as g, Yn as _, Zn as v, f as y, fn as b, ft as ee, gn as x, it as te, jt as ne, m as S, mt as re, nt as ie, pn as C, pt as ae, qn as w, s as T, ut as oe, w as se, yn as ce, zn as E } from "./dist-nmzPlqlz.js";
2
- import { Link as le } from "./dist-BfcqryVg.js";
3
- import { Underline as ue } from "./dist-9fjN9cuD.js";
4
- //#region ../../node_modules/.pnpm/@tiptap+core@3.30.5_@tiptap+pm@3.30.5/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
1
+ import { Bn as e, Bt as t, Cn as n, Dn as r, Gn as i, Hn as a, Ht as o, Jn as s, Kn as c, Ln as l, Mt as u, T as d, Un as f, Vn as p, Vt as m, Wn as h, Xn as g, Yn as _, Zn as v, f as y, fn as b, ft as ee, gn as x, it as te, jt as ne, m as S, mt as re, nt as ie, pn as C, pt as ae, qn as w, s as T, ut as oe, w as se, yn as ce, zn as E } from "./dist-DL9334yz.js";
2
+ import { Link as le } from "./dist-C1tsW_99.js";
3
+ import { Underline as ue } from "./dist-DC-3T0ED.js";
4
+ //#region ../../node_modules/.pnpm/@tiptap+core@3.31.3_@tiptap+pm@3.31.3/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
5
5
  var de = /* @__PURE__ */ new WeakSet(), fe = /* @__PURE__ */ new WeakSet();
6
6
  function D(e) {
7
7
  let t = e;
@@ -754,7 +754,7 @@ function N(e) {
754
754
  return t < 0 ? j[n] : j[t] + j[n];
755
755
  }
756
756
  function P(e) {
757
- if (!(!e || /^\d+$/.test(e))) {
757
+ if (e && !/^\d+$/.test(e)) {
758
758
  if (Xe(e)) return e === e.toLowerCase() ? "i" : "I";
759
759
  if (/^[a-z]{1,2}$/.test(e)) return "a";
760
760
  if (/^[A-Z]{1,2}$/.test(e)) return "A";
@@ -886,7 +886,7 @@ var at = S.create({
886
886
  return nt((n = e.meta) == null || (n = n.parentAttrs) == null ? void 0 : n.type, r - 1 + (e.index || 0), ". ");
887
887
  }
888
888
  return "- ";
889
- }, n),
889
+ }, n, { alignNestedToPrefix: n?.parentType === "orderedList" }),
890
890
  addExtensions() {
891
891
  return [Ge(this.name, [this.options.bulletListTypeName, this.options.orderedListTypeName])];
892
892
  },
@@ -1530,7 +1530,7 @@ T.create({
1530
1530
  }
1531
1531
  });
1532
1532
  //#endregion
1533
- //#region ../../node_modules/.pnpm/@tiptap+extension-paragraph@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-paragraph/dist/index.js
1533
+ //#region ../../node_modules/.pnpm/@tiptap+extension-paragraph@3.31.3_@tiptap+core@3.31.3_@tiptap+pm@3.31.3_/node_modules/@tiptap/extension-paragraph/dist/index.js
1534
1534
  var z = "&nbsp;", B = "\xA0", Pt = S.create({
1535
1535
  name: "paragraph",
1536
1536
  priority: 1e3,
@@ -2347,7 +2347,7 @@ function vn({ editor: e, options: t, dataAttribute: n, doc: r, selection: i, fro
2347
2347
  }), c;
2348
2348
  }
2349
2349
  function yn({ editor: e, options: t, dataAttribute: n, doc: r, selection: i }) {
2350
- if (!(e.isEditable || !t.showOnlyWhenEditable)) return null;
2350
+ if (!e.isEditable && t.showOnlyWhenEditable) return null;
2351
2351
  let { anchor: o } = i, s = [], c = e.isEmpty;
2352
2352
  if (t.showOnlyCurrent && !t.includeChildren) {
2353
2353
  let i = r.resolve(o), a = i.depth > 0 ? i.node(1) : i.nodeAfter, l = i.depth > 0 ? i.before(1) : o;
@@ -0,0 +1,5 @@
1
+ import { FontFamily as e } from "./dist-D7WY8VPq.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.31.3_@tiptap+extension-text-style@3.31.3_@tiptap+core@3.31.3_@tiptap+pm@3.31.3__/node_modules/@tiptap/extension-font-family/dist/index.js
3
+ var t = e;
4
+ //#endregion
5
+ export { e as FontFamily, t as default };
@@ -203,7 +203,7 @@ function x(e, t) {
203
203
  function S() {
204
204
  return crypto.randomUUID();
205
205
  }
206
- function te(e = 0) {
206
+ function C(e = 0) {
207
207
  return {
208
208
  top: e,
209
209
  right: e,
@@ -211,101 +211,101 @@ function te(e = 0) {
211
211
  left: e
212
212
  };
213
213
  }
214
- function C(e = 10) {
215
- return { padding: te(e) };
214
+ function w(e = 10) {
215
+ return { padding: C(e) };
216
216
  }
217
- function w(e = {}) {
217
+ function T(e = {}) {
218
218
  return x({
219
219
  id: S(),
220
220
  type: "title",
221
221
  ...i,
222
- styles: C()
222
+ styles: w()
223
223
  }, e);
224
224
  }
225
- function T(e = {}) {
225
+ function E(e = {}) {
226
226
  return x({
227
227
  id: S(),
228
228
  type: "paragraph",
229
229
  ...a,
230
- styles: C()
230
+ styles: w()
231
231
  }, e);
232
232
  }
233
- function E(e = {}) {
233
+ function D(e = {}) {
234
234
  return x({
235
235
  id: S(),
236
236
  type: "image",
237
237
  ...o,
238
- styles: C()
238
+ styles: w()
239
239
  }, e);
240
240
  }
241
- function D(e = {}) {
241
+ function O(e = {}) {
242
242
  return x({
243
243
  id: S(),
244
244
  type: "button",
245
245
  ...s,
246
- styles: C()
246
+ styles: w()
247
247
  }, e);
248
248
  }
249
- function O(e = {}) {
249
+ function k(e = {}) {
250
250
  return x({
251
251
  id: S(),
252
252
  type: "divider",
253
253
  ...c,
254
- styles: C(20)
254
+ styles: w(20)
255
255
  }, e);
256
256
  }
257
- function k(e = {}) {
257
+ function A(e = {}) {
258
258
  return x({
259
259
  id: S(),
260
260
  type: "section",
261
261
  ...l,
262
262
  children: [[]],
263
- styles: C(20)
263
+ styles: w(20)
264
264
  }, e);
265
265
  }
266
- function A(e = {}) {
266
+ function j(e = {}) {
267
267
  return x({
268
268
  id: S(),
269
269
  type: "video",
270
270
  ...u,
271
- styles: C()
271
+ styles: w()
272
272
  }, e);
273
273
  }
274
- function j(e = {}) {
274
+ function M(e = {}) {
275
275
  return x({
276
276
  id: S(),
277
277
  type: "social",
278
278
  icons: [],
279
279
  ...d,
280
- styles: C()
280
+ styles: w()
281
281
  }, e);
282
282
  }
283
- function M(e = {}) {
283
+ function N(e = {}) {
284
284
  return x({
285
285
  id: S(),
286
286
  type: "spacer",
287
287
  ...f,
288
- styles: C(0)
288
+ styles: w(0)
289
289
  }, e);
290
290
  }
291
- function N(e = {}) {
291
+ function P(e = {}) {
292
292
  return x({
293
293
  id: S(),
294
294
  type: "html",
295
295
  ...p,
296
- styles: C()
296
+ styles: w()
297
297
  }, e);
298
298
  }
299
- function P(e = {}) {
299
+ function F(e = {}) {
300
300
  return x({
301
301
  id: S(),
302
302
  type: "menu",
303
303
  items: [],
304
304
  ...m,
305
- styles: C()
305
+ styles: w()
306
306
  }, e);
307
307
  }
308
- function ne(e, t) {
308
+ function te(e, t) {
309
309
  return Array.from({ length: t }, () => ({
310
310
  id: S(),
311
311
  cells: Array.from({ length: e }, () => ({
@@ -314,30 +314,30 @@ function ne(e, t) {
314
314
  }))
315
315
  }));
316
316
  }
317
- function F(e = {}) {
317
+ function I(e = {}) {
318
318
  return x({
319
319
  id: S(),
320
320
  type: "table",
321
- rows: ne(3, 3),
321
+ rows: te(3, 3),
322
322
  ...h,
323
- styles: C()
323
+ styles: w()
324
324
  }, e);
325
325
  }
326
- function I(e = {}) {
326
+ function L(e = {}) {
327
327
  return x({
328
328
  id: S(),
329
329
  type: "countdown",
330
330
  ...g,
331
- styles: C()
331
+ styles: w()
332
332
  }, e);
333
333
  }
334
- function L(e) {
334
+ function ne(e) {
335
335
  return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
336
336
  }
337
337
  function R(e) {
338
338
  let t = {};
339
- for (let n of e.fields) t[n.key] = L(n);
340
- let n = x(C(), e.defaultStyles);
339
+ for (let n of e.fields) t[n.key] = ne(n);
340
+ let n = x(w(), e.defaultStyles);
341
341
  return {
342
342
  id: S(),
343
343
  type: "custom",
@@ -347,29 +347,29 @@ function R(e) {
347
347
  ...e.dataSource ? { dataSourceFetched: !1 } : {}
348
348
  };
349
349
  }
350
- function re(e, t) {
350
+ function z(e, t) {
351
351
  switch (e) {
352
- case "section": return k(t?.section);
353
- case "title": return w(t?.title);
354
- case "paragraph": return T(t?.paragraph);
355
- case "image": return E(t?.image);
356
- case "button": return D(t?.button);
357
- case "divider": return O(t?.divider);
358
- case "video": return A(t?.video);
359
- case "social": return j(t?.social);
360
- case "spacer": return M(t?.spacer);
361
- case "html": return N(t?.html);
362
- case "menu": return P(t?.menu);
363
- case "table": return F(t?.table);
364
- case "countdown": return I(t?.countdown);
352
+ case "section": return A(t?.section);
353
+ case "title": return T(t?.title);
354
+ case "paragraph": return E(t?.paragraph);
355
+ case "image": return D(t?.image);
356
+ case "button": return O(t?.button);
357
+ case "divider": return k(t?.divider);
358
+ case "video": return j(t?.video);
359
+ case "social": return M(t?.social);
360
+ case "spacer": return N(t?.spacer);
361
+ case "html": return P(t?.html);
362
+ case "menu": return F(t?.menu);
363
+ case "table": return I(t?.table);
364
+ case "countdown": return L(t?.countdown);
365
365
  default: throw Error(`Unknown block type: ${e}`);
366
366
  }
367
367
  }
368
- function z(e) {
368
+ function B(e) {
369
369
  let t = JSON.parse(JSON.stringify(e));
370
- return t.id = S(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => z(e)))), t;
370
+ return t.id = S(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => B(e)))), t;
371
371
  }
372
- function ie(e) {
372
+ function re(e) {
373
373
  let t = /* @__PURE__ */ new WeakSet();
374
374
  return JSON.parse(JSON.stringify(e, (e, n) => {
375
375
  if (typeof n == "object" && n) {
@@ -379,8 +379,8 @@ function ie(e) {
379
379
  return n;
380
380
  }));
381
381
  }
382
- var B = /* @__PURE__ */ new Set(["\"", "'"]);
383
- function ae(e, t) {
382
+ var V = /* @__PURE__ */ new Set(["\"", "'"]);
383
+ function ie(e, t) {
384
384
  let n = null;
385
385
  for (let r = t; r < e.length; r++) {
386
386
  let t = e[r];
@@ -388,7 +388,7 @@ function ae(e, t) {
388
388
  t === n && (n = null);
389
389
  continue;
390
390
  }
391
- if (B.has(t)) {
391
+ if (V.has(t)) {
392
392
  n = t;
393
393
  continue;
394
394
  }
@@ -396,7 +396,7 @@ function ae(e, t) {
396
396
  }
397
397
  return -1;
398
398
  }
399
- function V(e) {
399
+ function ae(e) {
400
400
  return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
401
401
  }
402
402
  function H(e) {
@@ -425,7 +425,7 @@ function G(e, t) {
425
425
  for (; r < e.length && (H(e[r]) || e[r] === "/");) r++;
426
426
  if (r >= e.length) break;
427
427
  let t = r;
428
- for (; r < e.length && V(e[r]);) r++;
428
+ for (; r < e.length && ae(e[r]);) r++;
429
429
  let i = e.substring(t, r).toLowerCase();
430
430
  if (i === "") {
431
431
  r++;
@@ -435,7 +435,7 @@ function G(e, t) {
435
435
  if (e[r] !== "=") continue;
436
436
  for (r++; r < e.length && H(e[r]);) r++;
437
437
  let a = e[r];
438
- if (B.has(a)) {
438
+ if (V.has(a)) {
439
439
  let t = r + 1, o = e.indexOf(a, t);
440
440
  if (o === -1) return null;
441
441
  if (i === n) return W(e.substring(t, o));
@@ -508,10 +508,10 @@ function X(e, t) {
508
508
  function fe(e, t) {
509
509
  return $(e, "data-merge-tag", (e) => me(X(e, t) ?? Y(e, t)), { unwrap: (e) => X(e, t) !== void 0 });
510
510
  }
511
- function Z(e) {
511
+ function pe(e) {
512
512
  return e.some((e) => e.sample !== void 0);
513
513
  }
514
- function pe(e, t) {
514
+ function Z(e, t) {
515
515
  if (!e) return e;
516
516
  let n = e;
517
517
  for (let e of t) e.sample !== void 0 && (n = n.split(e.value).join(e.sample));
@@ -548,7 +548,7 @@ function $(e, t, n, r) {
548
548
  i += e.substring(a, o + 5), a = o + 5;
549
549
  continue;
550
550
  }
551
- let c = ae(e, o + 5);
551
+ let c = ie(e, o + 5);
552
552
  if (c === -1) {
553
553
  i += e.substring(a);
554
554
  break;
@@ -589,4 +589,4 @@ var ye = class extends Error {
589
589
  }
590
590
  };
591
591
  //#endregion
592
- export { ce as A, ie as B, F as C, Q as D, S as E, ue as F, pe as H, ve as I, _e as L, Z as M, r as N, Y as O, ge as P, de as R, M as S, A as T, fe as V, E as _, n as a, k as b, z as c, D as d, I as f, N as g, O as h, t as i, se as j, X as k, he as l, ee as m, v as n, K as o, R as p, e as r, ye as s, _ as t, re as u, P as v, w, j as x, T as y, le as z };
592
+ export { X as A, le as B, I as C, S as D, b as E, ge as F, fe as H, ue as I, ve as L, se as M, pe as N, Q as O, r as P, _e as R, N as S, j as T, Z as U, re as V, D as _, n as a, A as b, B as c, O as d, L as f, P as g, k as h, t as i, ce as j, Y as k, he as l, ee as m, v as n, K as o, R as p, e as r, ye as s, _ as t, z as u, F as v, T as w, M as x, E as y, de as z };
@@ -1,5 +1,5 @@
1
- import { D as e, L as t, Q as n, R as r, rt as i, s as a, tt as o, x as s, y as c } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
2
- import { _ as l, a as u, d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./dist-BUpBA58N.js";
1
+ import { D as e, L as t, Q as n, R as r, rt as i, s as a, tt as o, x as s, y as c } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
+ import { _ as l, a as u, d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./dist-heatwAdo.js";
3
3
  //#region ../../node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
4
4
  var b = m ? window : void 0;
5
5
  m && window.document, m && window.navigator, m && window.location;
@@ -55,7 +55,7 @@ function w(e, t, n = {}) {
55
55
  }
56
56
  let m = (n) => {
57
57
  let r = x(e);
58
- if (n.target != null && !(!(r instanceof Element) && f(e) && p(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
58
+ if (n.target != null && !(!(r instanceof Element) && f(e) && p(e, n)) && r && r !== n.target && !n.composedPath().includes(r)) {
59
59
  if ("detail" in n && n.detail === 0 && (l = !d(n)), !l) {
60
60
  l = !0;
61
61
  return;
@@ -73,7 +73,7 @@ function w(e, t, n = {}) {
73
73
  }),
74
74
  S(r, "pointerdown", (t) => {
75
75
  let n = x(e);
76
- l = !d(t) && !!(n && !t.composedPath().includes(n));
76
+ l = !d(t) && !(!n || t.composedPath().includes(n));
77
77
  }, { passive: !0 }),
78
78
  s && S(r, "blur", (n) => {
79
79
  setTimeout(() => {
@@ -1,5 +1,5 @@
1
- import { bt as e, f as t, fn as n, gn as r, pn as i } from "./dist-nmzPlqlz.js";
2
- //#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-highlight/dist/index.js
1
+ import { bt as e, f as t, fn as n, gn as r, pn as i } from "./dist-DL9334yz.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.31.3_@tiptap+core@3.31.3_@tiptap+pm@3.31.3_/node_modules/@tiptap/extension-highlight/dist/index.js
3
3
  var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = t.create({
4
4
  name: "highlight",
5
5
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { D as e, G as t, L as n, Q as r, S as i, T as a, U as o, X as s, Z as c, q as l, tt as u, x as d, y as f } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
1
+ import { D as e, G as t, L as n, Q as r, S as i, T as a, U as o, X as s, Z as c, q as l, tt as u, x as d, y as f } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
2
  //#region ../../node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
3
3
  function p(e, t) {
4
4
  return o() ? (l(e, t), !0) : !1;
@@ -58,6 +58,11 @@ var e = {
58
58
  table: "Table",
59
59
  countdown: "Countdown"
60
60
  },
61
+ blockDefaults: {
62
+ title: "Enter your title",
63
+ paragraph: "Enter your text here",
64
+ button: "Click Here"
65
+ },
61
66
  sidebar: {
62
67
  content: "Content",
63
68
  settings: "Settings",
@@ -58,6 +58,11 @@ var e = {
58
58
  table: "Tabla",
59
59
  countdown: "Cuenta atrás"
60
60
  },
61
+ blockDefaults: {
62
+ title: "Escribe tu título",
63
+ paragraph: "Escribe tu texto aquí",
64
+ button: "Haz clic aquí"
65
+ },
61
66
  sidebar: {
62
67
  content: "Contenido",
63
68
  settings: "Configuración",
@@ -1,11 +1,11 @@
1
- import { B as e, Dt as t, Ot as n, T as r, X as i, c as a, d as o, k as s, kt as c, l, rt as u, s as d, u as f, v as p, z as m } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
2
- import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-Co_SPqAz.js";
3
- import { D as v, O as y, P as b, o as x } from "./dist-CzVIVbSa.js";
4
- import { t as S } from "./useI18n-B135ASaG.js";
5
- import { t as C } from "./useMergeTag-Cx36rtrt.js";
6
- import { gn as w, m as T, s as E, u as D, v as O } from "./dist-nmzPlqlz.js";
7
- import { i as k, r as A, t as j } from "./MergeTagSuggestion-DPfXtDzP.js";
8
- import { n as M, t as N } from "./dist-gWM8H2hz.js";
1
+ import { B as e, Dt as t, Ot as n, T as r, X as i, c as a, d as o, k as s, kt as c, l, rt as u, s as d, u as f, v as p, z as m } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
+ import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-BuG03jBM.js";
3
+ import { F as v, O as y, k as b, o as x } from "./dist-PL6vP4SC.js";
4
+ import { t as S } from "./useI18n-Ce_BRzYv.js";
5
+ import { t as C } from "./useMergeTag-CrXJ49lr.js";
6
+ import { gn as w, m as T, s as E, u as D, v as O } from "./dist-DL9334yz.js";
7
+ import { i as k, r as A, t as j } from "./MergeTagSuggestion-CoCuzEmW.js";
8
+ import { n as M, t as N } from "./dist-BxFbxpgW.js";
9
9
  //#region src/extensions/FontSize.ts
10
10
  var P = E.create({
11
11
  name: "fontSize",
@@ -101,9 +101,9 @@ var P = E.create({
101
101
  updateAttributes: { type: Function }
102
102
  },
103
103
  setup(p) {
104
- let y = p, { syntax: x } = C(), { t: w } = S(), T = d(() => b(y.node.attrs.value, x)), E = d(() => v(y.node.attrs.value, x)), D = i(!1), O = i(""), k = i(null), A = !1;
104
+ let b = p, { syntax: x } = C(), { t: w } = S(), T = d(() => v(b.node.attrs.value, x)), E = d(() => y(b.node.attrs.value, x)), D = i(!1), O = i(""), k = i(null), A = !1;
105
105
  function j() {
106
- O.value = y.node.attrs.value, A = !1, D.value = !0, r(() => {
106
+ O.value = b.node.attrs.value, A = !1, D.value = !0, r(() => {
107
107
  k.value?.focus(), k.value?.select();
108
108
  });
109
109
  }
@@ -115,9 +115,9 @@ var P = E.create({
115
115
  D.value = !1;
116
116
  return;
117
117
  }
118
- e !== y.node.attrs.value && y.updateAttributes({
118
+ e !== b.node.attrs.value && b.updateAttributes({
119
119
  value: e,
120
- keyword: b(e, x) ? v(e, x) : ""
120
+ keyword: v(e, x) ? y(e, x) : ""
121
121
  }), D.value = !1;
122
122
  }
123
123
  function P(e) {
@@ -223,12 +223,12 @@ var W = T.create({
223
223
  return [{ tag: "span[data-logic-merge-tag]" }];
224
224
  },
225
225
  renderHTML({ node: e, HTMLAttributes: t }) {
226
- if (!b(e.attrs.value, this.options.syntax)) return [
226
+ if (!v(e.attrs.value, this.options.syntax)) return [
227
227
  "span",
228
228
  {},
229
229
  e.attrs.value
230
230
  ];
231
- let n = v(e.attrs.value, this.options.syntax);
231
+ let n = y(e.attrs.value, this.options.syntax);
232
232
  return [
233
233
  "span",
234
234
  w(t, {
@@ -253,8 +253,8 @@ var W = T.create({
253
253
  find: e,
254
254
  handler: ({ state: e, range: t, match: n }) => {
255
255
  let r = n[0];
256
- if (!b(r, this.options.syntax)) return;
257
- let i = v(r, this.options.syntax), a = this.type.create({
256
+ if (!v(r, this.options.syntax)) return;
257
+ let i = y(r, this.options.syntax), a = this.type.create({
258
258
  value: r,
259
259
  keyword: i
260
260
  });
@@ -268,8 +268,8 @@ var W = T.create({
268
268
  find: e,
269
269
  handler: ({ state: e, range: t, match: n }) => {
270
270
  let r = n[0];
271
- if (!b(r, this.options.syntax)) return;
272
- let i = v(r, this.options.syntax), a = this.type.create({
271
+ if (!v(r, this.options.syntax)) return;
272
+ let i = y(r, this.options.syntax), a = this.type.create({
273
273
  value: r,
274
274
  keyword: i
275
275
  });
@@ -386,7 +386,7 @@ var W = T.create({
386
386
  return [{ tag: "span[data-merge-tag]" }];
387
387
  },
388
388
  renderHTML({ node: e, HTMLAttributes: t }) {
389
- let n = y(e.attrs.value, this.options.mergeTags);
389
+ let n = b(e.attrs.value, this.options.mergeTags);
390
390
  return [
391
391
  "span",
392
392
  w(t, {
@@ -419,7 +419,7 @@ var W = T.create({
419
419
  return [new D({
420
420
  find: e,
421
421
  handler: ({ state: e, range: t, match: n }) => {
422
- let r = n[0], i = y(r, this.options.mergeTags), a = this.type.create({
422
+ let r = n[0], i = b(r, this.options.mergeTags), a = this.type.create({
423
423
  label: i,
424
424
  value: r
425
425
  });
@@ -432,7 +432,7 @@ var W = T.create({
432
432
  return [new O({
433
433
  find: e,
434
434
  handler: ({ state: e, range: t, match: n }) => {
435
- let r = n[0], i = y(r, this.options.mergeTags), a = this.type.create({
435
+ let r = n[0], i = b(r, this.options.mergeTags), a = this.type.create({
436
436
  label: i,
437
437
  value: r
438
438
  });
@@ -0,0 +1,13 @@
1
+ //#region src/utils/formatAbsoluteDateTime.ts
2
+ function e(e, t, n) {
3
+ let r = new Date(e);
4
+ if (Number.isNaN(r.getTime())) return "";
5
+ let i = t?.trim().replace(/_/g, "-") || void 0;
6
+ try {
7
+ return r.toLocaleString(i, n);
8
+ } catch {
9
+ return r.toLocaleString(void 0, n);
10
+ }
11
+ }
12
+ //#endregion
13
+ export { e as t };
@@ -59,6 +59,11 @@ var e = {
59
59
  table: "Tableau",
60
60
  countdown: "Compte à rebours"
61
61
  },
62
+ blockDefaults: {
63
+ title: "Saisissez votre titre",
64
+ paragraph: "Saisissez votre texte ici",
65
+ button: "Cliquez ici"
66
+ },
62
67
  sidebar: {
63
68
  content: "Contenu",
64
69
  settings: "Paramètres",
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DphAT3tw.js";
1
+ import { t as e } from "./createLucideIcon-Bvw1Zx56.js";
2
2
  var t = e("image-up", [
3
3
  ["path", {
4
4
  d: "M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DphAT3tw.js";
1
+ import { t as e } from "./createLucideIcon-Bvw1Zx56.js";
2
2
  var t = e("info", [
3
3
  ["circle", {
4
4
  cx: "12",
@@ -0,0 +1,10 @@
1
+ import { S as e } from "./vue.runtime.esm-bundler-D9JUcKrV.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("tplUiLocale"), d = Symbol("blockDefaults"), f = Symbol("blockRegistry"), p = Symbol("customBlockDefinitions"), m = Symbol("paletteBlocks"), h = Symbol("htmlBlockPreview"), g = Symbol("colors"), _ = Symbol("customBlockStylesheets"), v = Symbol("mergeTags"), y = Symbol("mergeTagSyntax"), b = Symbol("onRequestMergeTag"), x = Symbol("mergeTagAutocomplete"), S = Symbol("mergeTagSampleMode"), C = Symbol("useMergeTagSamples"), w = Symbol("resolvePreview"), T = Symbol("previewResolution"), E = Symbol("mergeTagPicker"), D = Symbol("logicTags"), O = Symbol("logicPairs"), k = Symbol("logicPicker"), A = Symbol("onRequestLogic"), j = Symbol("onRequestMedia"), M = Symbol("imageUrlResolver"), N = Symbol("displayConditions"), P = Symbol("allowCustomConditions"), F = Symbol("capabilities"), I = Symbol("keyboardReorder"), L = Symbol("templateLint"), R = Symbol("editorRoot"), z = Symbol("popoverRoot"), B = Symbol("savedBlocks"), V = Symbol("authManager"), H = Symbol("aiConfig"), 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 renders inside the editor, below Editor.vue.`);
7
+ return r;
8
+ }
9
+ //#endregion
10
+ export { A, c as B, D as C, E as D, x as E, T as F, G, u as H, w as I, B as L, b as M, m as N, S as O, z as P, U as R, O as S, v as T, l as U, t as V, C as W, s as _, i as a, M as b, F as c, a as d, p as f, R as g, n as h, V as i, j, y as k, W as l, N as m, P as n, d as o, _ as p, o as r, f as s, H as t, g as u, r as v, k as w, I as x, h as y, L as z };
@@ -33,7 +33,7 @@ function l(e) {
33
33
  return e = p(e), a(e) ? e : h(e) ? "" : g(e) ? e.map((e) => l(e)).join("") : String(e);
34
34
  }
35
35
  function u(e, t, n) {
36
- if (t < 0 && (t = e.length + t), !(n && !i.call(e, t))) return e[t];
36
+ if (t < 0 && (t = e.length + t), !n || i.call(e, t)) return e[t];
37
37
  }
38
38
  function d(e) {
39
39
  return e = p(e), g(e) ? e : a(e) && e.length > 0 ? [e] : ie(e) ? Array.from(e) : se(e) ? Object.keys(e).map((t) => [t, e[t]]) : [];
@@ -1610,7 +1610,7 @@ var L = class {
1610
1610
  if (!(this.peekType() & Oe)) return;
1611
1611
  ++this.p;
1612
1612
  let t = !1;
1613
- for (; this.p < this.N && (++this.p, !(this.input[this.p - 1] === this.input[e] && !t));) t ? t = !1 : this.input[this.p - 1] === "\\" && (t = !0);
1613
+ for (; this.p < this.N && (++this.p, this.input[this.p - 1] !== this.input[e] || t);) t ? t = !1 : this.input[this.p - 1] === "\\" && (t = !0);
1614
1614
  return new Nt(this.input, e, this.p, this.file);
1615
1615
  }
1616
1616
  *readFileNameTemplate(e) {
@@ -2135,7 +2135,7 @@ var Q = class e {
2135
2135
  }
2136
2136
  };
2137
2137
  function er(e, n, r) {
2138
- if (!(r && !i.call(e, n) && !(e instanceof t))) return e[n];
2138
+ if (!r || i.call(e, n) || e instanceof t) return e[n];
2139
2139
  }
2140
2140
  function tr(e, t) {
2141
2141
  return g(e) ? u(e, 0, t) : er(e, "first", t);
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DphAT3tw.js";
1
+ import { t as e } from "./createLucideIcon-Bvw1Zx56.js";
2
2
  var t = e("loader-circle", [["path", {
3
3
  d: "M21 12a9 9 0 1 1-6.219-8.56",
4
4
  key: "13zald"
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DphAT3tw.js";
1
+ import { t as e } from "./createLucideIcon-Bvw1Zx56.js";
2
2
  var t = e("message-circle", [["path", {
3
3
  d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
4
4
  key: "1sd12s"
@@ -59,6 +59,11 @@ var e = {
59
59
  table: "Tabel",
60
60
  countdown: "Aftelklok"
61
61
  },
62
+ blockDefaults: {
63
+ title: "Voer uw titel in",
64
+ paragraph: "Voer hier uw tekst in",
65
+ button: "Klik hier"
66
+ },
62
67
  sidebar: {
63
68
  content: "Inhoud",
64
69
  settings: "Instellingen",
@@ -608,5 +613,3 @@ var e = {
608
613
  };
609
614
  //#endregion
610
615
  export { e as default };
611
-
612
- //# sourceMappingURL=nl-BylRRHYJ.js.map
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DphAT3tw.js";
1
+ import { t as e } from "./createLucideIcon-Bvw1Zx56.js";
2
2
  var t = e("pencil", [["path", {
3
3
  d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
4
4
  key: "1a8usu"
@@ -1,4 +1,4 @@
1
- import { N as e } from "./dist-CzVIVbSa.js";
1
+ import { P as e } from "./dist-PL6vP4SC.js";
2
2
  //#region src/utils/preRenderCustomBlocks.ts
3
3
  async function t(t, n) {
4
4
  let r = async (t) => {