@templatical/editor 0.59.2 → 0.60.1

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 (311) hide show
  1. package/dist/{AiAltTextPopover-BhWHOOKX.js → AiAltTextPopover-DSA1wiiW.js} +1 -1
  2. package/dist/{AiAltTextReview-CmW7pLmo.js → AiAltTextReview-B9-vfzCj.js} +1 -1
  3. package/dist/{AiChatPanel-CV0mCtad.js → AiChatPanel-DPoq2Til.js} +8 -8
  4. package/dist/{AiPanels-C8M7q_vM.js → AiPanels-UdfhAzzu.js} +1 -1
  5. package/dist/{AiRewriteMenu-DC2ZLH5L.js → AiRewriteMenu-BaeMlSEx.js} +8 -8
  6. package/dist/{BlockIssueBadge-B8sl9BM1.js → BlockIssueBadge-DQ_6NI4p.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-yhOQAQhJ.js → BlockPreviewCanvas-DWDfih6j.js} +19 -44
  8. package/dist/{CloudPanels-CD0lsL0R.js → CloudPanels-ClHDM3ge.js} +3 -3
  9. package/dist/{CollaborationNotices-DrMrP73M.js → CollaborationNotices-PqWv0q8W.js} +1 -1
  10. package/dist/{CollaboratorBar-TsK872uC.js → CollaboratorBar-p-_PWqXW.js} +1 -1
  11. package/dist/{CommentsPanel-BX8JVrXU.js → CommentsPanel-BUo-YhSX.js} +1 -1
  12. package/dist/{CommentsSidebar-BUlseNwL.js → CommentsSidebar-D_Pz7FPz.js} +10 -10
  13. package/dist/{CountdownToolbar-dx3FVRjh.js → CountdownToolbar-DYFSFwkD.js} +4 -4
  14. package/dist/{IssuesPanel-BwnvXxBC.js → IssuesPanel-C7mBrK6a.js} +9 -9
  15. package/dist/{LanguageMenu-Cf5bKocE.js → LanguageMenu-f7js1FF8.js} +12 -12
  16. package/dist/{LocaleNotices-CGEp0pQ8.js → LocaleNotices-CAvDAawJ.js} +2 -2
  17. package/dist/{LogicTagInsertButton-BdDe-vrZ.js → LogicTagInsertButton-Clc3JTg_.js} +16 -16
  18. package/dist/{MediaEditModal-BWOqjEZN.js → MediaEditModal-YXOL0d_y.js} +1 -1
  19. package/dist/{MediaPanels-C-XrldMu.js → MediaPanels-VCv5epgs.js} +1 -1
  20. package/dist/{MergeTagInput-CTTi-eB0.js → MergeTagInput-B5a9noTB.js} +1 -1
  21. package/dist/{MergeTagModeToggle-Bd0svGQm.js → MergeTagModeToggle-D1r2aH5x.js} +4 -4
  22. package/dist/{MergeTagTextarea-DiahMV-3.js → MergeTagTextarea-CA9dPfMH.js} +5 -5
  23. package/dist/{ParagraphEditor-Db1cmj8Y.js → ParagraphEditor-ByzfpepN.js} +43 -43
  24. package/dist/{RestoreVersionDialog-DA1Z0q9Z.js → RestoreVersionDialog-Da5sTCFI.js} +3 -3
  25. package/dist/{RichTextEditorContent-CyO6e4ZG.js → RichTextEditorContent-gnRxu4-L.js} +4 -4
  26. package/dist/{SaveBlockDialog-D7SaFxa_.js → SaveBlockDialog-BM1Fki_2.js} +7 -7
  27. package/dist/{SavedBlocksBrowserModal-B5r3LWWG.js → SavedBlocksBrowserModal-DHOTdJKB.js} +9 -9
  28. package/dist/{SavedBlocksPanels-BH2f7jm-.js → SavedBlocksPanels-BJ2OM0cG.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-B24TScw0.js → SavedBlocksPickBar-C4Bv1K_9.js} +2 -2
  30. package/dist/{TemplateSettings-CuN9Vkl_.js → TemplateSettings-DsaSsCC8.js} +8 -8
  31. package/dist/{TestEmailModal-C4DAaohi.js → TestEmailModal-CMo0cJik.js} +8 -8
  32. package/dist/{TestEmailPanel-DoMcVJSE.js → TestEmailPanel-B2OoOy9K.js} +1 -1
  33. package/dist/{TitleEditor-b5Pr_m9j.js → TitleEditor--gFbrR7V.js} +9 -9
  34. package/dist/{Toolbar-BOf7Y862.js → Toolbar-UXT03-Dc.js} +1003 -792
  35. package/dist/{TplModal-DAcXzBJh.js → TplModal-DkoyIwy1.js} +1 -1
  36. package/dist/{VersionHistoryMenu-TbIGteNi.js → VersionHistoryMenu-D-RCk3oB.js} +5 -5
  37. package/dist/{VersionHistoryPanels-Ia6ipOqG.js → VersionHistoryPanels-TzzRlmqK.js} +1 -1
  38. package/dist/{VersionPreviewBanner-CRfu6quf.js → VersionPreviewBanner-DMg2sw3V.js} +1 -1
  39. package/dist/{WrapperBlock-BZenrXM6.js → WrapperBlock-B4mdW2CP.js} +3 -3
  40. package/dist/{blockTypeIcons-DdYZy8yG.js → blockTypeIcons-MX-xQH_Z.js} +3 -3
  41. package/dist/bundle-stats.json +6 -6
  42. package/dist/{cdn/chunks/ca-YfIxwO1G.js → ca-C8N05sCU.js} +10 -4
  43. package/dist/cdn/chunks/{AiAltTextPopover-CcX_OMUU.js → AiAltTextPopover-BLNN_Pnd.js} +2 -2
  44. package/dist/cdn/chunks/AiAltTextPopover-BLNN_Pnd.js.map +1 -0
  45. package/dist/cdn/chunks/{AiAltTextReview-Dmm3h0jd.js → AiAltTextReview-Db8vSNpe.js} +2 -2
  46. package/dist/cdn/chunks/AiAltTextReview-Db8vSNpe.js.map +1 -0
  47. package/dist/cdn/chunks/{AiChatPanel-DV23DJ-2.js → AiChatPanel-cIT2haLo.js} +2 -2
  48. package/dist/cdn/chunks/AiChatPanel-cIT2haLo.js.map +1 -0
  49. package/dist/cdn/chunks/{AiPanels-CxhOpMAp.js → AiPanels-B4GG8w3J.js} +2 -2
  50. package/dist/cdn/chunks/AiPanels-B4GG8w3J.js.map +1 -0
  51. package/dist/cdn/chunks/{AiRewriteMenu-87-O514r.js → AiRewriteMenu-C34wZVcW.js} +6 -6
  52. package/dist/cdn/chunks/AiRewriteMenu-C34wZVcW.js.map +1 -0
  53. package/dist/cdn/chunks/{BlockIssueBadge-Dp06vQd3.js → BlockIssueBadge-C50pmOMZ.js} +2 -2
  54. package/dist/cdn/chunks/BlockIssueBadge-C50pmOMZ.js.map +1 -0
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-DQGzUvZ5.js → BlockPreviewCanvas-CUOrwkWR.js} +20 -45
  56. package/dist/cdn/chunks/BlockPreviewCanvas-CUOrwkWR.js.map +1 -0
  57. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +1 -1
  58. package/dist/cdn/chunks/{CloudPanels-D8fchoYt.js → CloudPanels-BAGDHObm.js} +3 -3
  59. package/dist/cdn/chunks/CloudPanels-BAGDHObm.js.map +1 -0
  60. package/dist/cdn/chunks/{CollaborationNotices-DNEs3g9B.js → CollaborationNotices-CTmjjbHv.js} +2 -2
  61. package/dist/cdn/chunks/CollaborationNotices-CTmjjbHv.js.map +1 -0
  62. package/dist/cdn/chunks/{CollaboratorBar-CN6XAlbn.js → CollaboratorBar-CzHjawjF.js} +2 -2
  63. package/dist/cdn/chunks/CollaboratorBar-CzHjawjF.js.map +1 -0
  64. package/dist/cdn/chunks/{CommentsPanel-CxZ1kFcK.js → CommentsPanel-Dh0_eRBe.js} +2 -2
  65. package/dist/cdn/chunks/CommentsPanel-Dh0_eRBe.js.map +1 -0
  66. package/dist/cdn/chunks/{CommentsSidebar-DCr2mV8b.js → CommentsSidebar-JxZ-O2mY.js} +2 -2
  67. package/dist/cdn/chunks/CommentsSidebar-JxZ-O2mY.js.map +1 -0
  68. package/dist/cdn/chunks/CountdownBlock--hlKE2aj.js.map +1 -1
  69. package/dist/cdn/chunks/{CountdownToolbar-CUTbVPPV.js → CountdownToolbar-BBiK9EaU.js} +5 -5
  70. package/dist/cdn/chunks/CountdownToolbar-BBiK9EaU.js.map +1 -0
  71. package/dist/cdn/chunks/{IssuesPanel-BhcSzwuL.js → IssuesPanel-BtAn12hl.js} +4 -4
  72. package/dist/cdn/chunks/IssuesPanel-BtAn12hl.js.map +1 -0
  73. package/dist/cdn/chunks/{LanguageMenu-6wGhkyFT.js → LanguageMenu-BDldm-Hp.js} +7 -7
  74. package/dist/cdn/chunks/LanguageMenu-BDldm-Hp.js.map +1 -0
  75. package/dist/cdn/chunks/{LocaleNotices-Br92Xueo.js → LocaleNotices-CzrNKR-N.js} +2 -2
  76. package/dist/cdn/chunks/LocaleNotices-CzrNKR-N.js.map +1 -0
  77. package/dist/cdn/chunks/{LogicTagInsertButton-r2EVUtDU.js → LogicTagInsertButton-B4wuPoMa.js} +5 -5
  78. package/dist/cdn/chunks/LogicTagInsertButton-B4wuPoMa.js.map +1 -0
  79. package/dist/cdn/chunks/{MediaEditModal-CfgN7Jyi.js → MediaEditModal-DJ2wxInt.js} +2 -2
  80. package/dist/cdn/chunks/MediaEditModal-DJ2wxInt.js.map +1 -0
  81. package/dist/cdn/chunks/{MediaPanels-Cb5vsgb-.js → MediaPanels-BJawNjr9.js} +2 -2
  82. package/dist/cdn/chunks/MediaPanels-BJawNjr9.js.map +1 -0
  83. package/dist/cdn/chunks/{MergeTagInput-Dh3N6CEV.js → MergeTagInput-DZD-p4nR.js} +2 -2
  84. package/dist/cdn/chunks/MergeTagInput-DZD-p4nR.js.map +1 -0
  85. package/dist/cdn/chunks/{MergeTagModeToggle-D6u3hMrI.js → MergeTagModeToggle-DGuJCgqO.js} +3 -3
  86. package/dist/cdn/chunks/MergeTagModeToggle-DGuJCgqO.js.map +1 -0
  87. package/dist/cdn/chunks/{MergeTagTextarea-BpVtpiNL.js → MergeTagTextarea-BRiaRBr_.js} +7 -7
  88. package/dist/cdn/chunks/MergeTagTextarea-BRiaRBr_.js.map +1 -0
  89. package/dist/cdn/chunks/{ParagraphEditor-DGJmPAC1.js → ParagraphEditor-CPYQXRIc.js} +23 -23
  90. package/dist/cdn/chunks/ParagraphEditor-CPYQXRIc.js.map +1 -0
  91. package/dist/cdn/chunks/{RestoreVersionDialog-D5qeCa0F.js → RestoreVersionDialog-NjbHial9.js} +3 -3
  92. package/dist/cdn/chunks/RestoreVersionDialog-NjbHial9.js.map +1 -0
  93. package/dist/cdn/chunks/{RichTextEditorContent-DyGiXKKI.js → RichTextEditorContent-CtV0Q0SO.js} +4 -4
  94. package/dist/cdn/chunks/RichTextEditorContent-CtV0Q0SO.js.map +1 -0
  95. package/dist/cdn/chunks/{SaveBlockDialog-B0TJYxd8.js → SaveBlockDialog-BZqPkGrE.js} +6 -6
  96. package/dist/cdn/chunks/SaveBlockDialog-BZqPkGrE.js.map +1 -0
  97. package/dist/cdn/chunks/{SavedBlocksBrowserModal-D8Ly7LrA.js → SavedBlocksBrowserModal-CqfyRtlX.js} +6 -6
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-CqfyRtlX.js.map +1 -0
  99. package/dist/cdn/chunks/{SavedBlocksPanels-Co1cbWR8.js → SavedBlocksPanels-BILHEdkP.js} +2 -2
  100. package/dist/cdn/chunks/SavedBlocksPanels-BILHEdkP.js.map +1 -0
  101. package/dist/cdn/chunks/{SavedBlocksPickBar-DNtVbpm-.js → SavedBlocksPickBar-C9NKqOEU.js} +3 -3
  102. package/dist/cdn/chunks/SavedBlocksPickBar-C9NKqOEU.js.map +1 -0
  103. package/dist/cdn/chunks/{TemplateSettings-BRc878ZF.js → TemplateSettings--_ZfbhnU.js} +6 -6
  104. package/dist/cdn/chunks/TemplateSettings--_ZfbhnU.js.map +1 -0
  105. package/dist/cdn/chunks/{TestEmailModal-CIui7VfS.js → TestEmailModal-CtfoV82K.js} +7 -7
  106. package/dist/cdn/chunks/TestEmailModal-CtfoV82K.js.map +1 -0
  107. package/dist/cdn/chunks/{TestEmailPanel-vKvruW_r.js → TestEmailPanel-NK26SU2u.js} +2 -2
  108. package/dist/cdn/chunks/TestEmailPanel-NK26SU2u.js.map +1 -0
  109. package/dist/cdn/chunks/{TitleEditor-BI-9Nnj3.js → TitleEditor-DXN_aOn0.js} +8 -8
  110. package/dist/cdn/chunks/TitleEditor-DXN_aOn0.js.map +1 -0
  111. package/dist/cdn/chunks/ToggleSwitch-C0w0srN_.js.map +1 -1
  112. package/dist/cdn/chunks/{Toolbar-CYnnArxv.js → Toolbar-HCxD4Ifc.js} +918 -707
  113. package/dist/cdn/chunks/Toolbar-HCxD4Ifc.js.map +1 -0
  114. package/dist/cdn/chunks/{TplModal-B3nZeGWK.js → TplModal-DzHoLmGo.js} +2 -2
  115. package/dist/cdn/chunks/TplModal-DzHoLmGo.js.map +1 -0
  116. package/dist/cdn/chunks/{VersionHistoryMenu-CMGfAKuV.js → VersionHistoryMenu-CVGlUPwS.js} +2 -2
  117. package/dist/cdn/chunks/VersionHistoryMenu-CVGlUPwS.js.map +1 -0
  118. package/dist/cdn/chunks/{VersionHistoryPanels-Bb2ouQg7.js → VersionHistoryPanels-Du8sQry2.js} +2 -2
  119. package/dist/cdn/chunks/VersionHistoryPanels-Du8sQry2.js.map +1 -0
  120. package/dist/cdn/chunks/{VersionPreviewBanner-573UP-g4.js → VersionPreviewBanner-5RFz4AQx.js} +2 -2
  121. package/dist/cdn/chunks/VersionPreviewBanner-5RFz4AQx.js.map +1 -0
  122. package/dist/cdn/chunks/{WrapperBlock-DVu632LD.js → WrapperBlock-DTayPD6Q.js} +4 -4
  123. package/dist/cdn/chunks/WrapperBlock-DTayPD6Q.js.map +1 -0
  124. package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js → blockTypeIcons-BOonB9gK.js} +2 -2
  125. package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js.map → blockTypeIcons-BOonB9gK.js.map} +1 -1
  126. package/dist/{ca-YfIxwO1G.js → cdn/chunks/ca-C8N05sCU.js} +12 -2
  127. package/dist/cdn/chunks/ca-C8N05sCU.js.map +1 -0
  128. package/dist/cdn/chunks/{composables-DY3anqHO.js → composables-BJBr8B4t.js} +611 -592
  129. package/dist/cdn/chunks/composables-BJBr8B4t.js.map +1 -0
  130. package/dist/cdn/chunks/{createCloudRuntime-B5numxlW.js → createCloudRuntime-CUlw09ix.js} +3 -3
  131. package/dist/cdn/chunks/{createCloudRuntime-B5numxlW.js.map → createCloudRuntime-CUlw09ix.js.map} +1 -1
  132. package/dist/{da-CM6DCvRG.js → cdn/chunks/da-Dno_4nGy.js} +12 -2
  133. package/dist/cdn/chunks/da-Dno_4nGy.js.map +1 -0
  134. package/dist/{de-Dugz1zXC.js → cdn/chunks/de-DRR5JSkh.js} +12 -2
  135. package/dist/cdn/chunks/de-DRR5JSkh.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-CXSSZplR.js → editor-modal-BVM_0uoL.js} +4 -4
  137. package/dist/cdn/chunks/editor-modal-BVM_0uoL.js.map +1 -0
  138. package/dist/{en-BykoFuFY.js → cdn/chunks/en-DAcLbbpg.js} +12 -2
  139. package/dist/cdn/chunks/en-DAcLbbpg.js.map +1 -0
  140. package/dist/cdn/chunks/en-DlDEofnd.js +1 -0
  141. package/dist/{es-DaWsTkpj.js → cdn/chunks/es-BcEQLQxe.js} +12 -2
  142. package/dist/cdn/chunks/es-BcEQLQxe.js.map +1 -0
  143. package/dist/cdn/chunks/{extensions-BWVlr8Ga.js → extensions-BPZirXpF.js} +5 -5
  144. package/dist/cdn/chunks/extensions-BPZirXpF.js.map +1 -0
  145. package/dist/{fr-DqwQHtJo.js → cdn/chunks/fr-CNQG7ESr.js} +12 -2
  146. package/dist/cdn/chunks/fr-CNQG7ESr.js.map +1 -0
  147. package/dist/cdn/chunks/{icons-C7vjUBLn.js → icons-CWEBTtbR.js} +23 -23
  148. package/dist/cdn/chunks/{icons-C7vjUBLn.js.map → icons-CWEBTtbR.js.map} +1 -1
  149. package/dist/cdn/chunks/{ja-BH4MS1Ye.js → ja-CMxWxqSH.js} +11 -3
  150. package/dist/cdn/chunks/ja-CMxWxqSH.js.map +1 -0
  151. package/dist/{nl-BQl1_UHv.js → cdn/chunks/nl-BjyYZDkC.js} +12 -2
  152. package/dist/cdn/chunks/nl-BjyYZDkC.js.map +1 -0
  153. package/dist/cdn/chunks/{normalizeMergeTagMarkup-Dw3rFvyd.js → normalizeMergeTagMarkup-CExCfSYI.js} +64 -64
  154. package/dist/cdn/chunks/{normalizeMergeTagMarkup-Dw3rFvyd.js.map → normalizeMergeTagMarkup-CExCfSYI.js.map} +1 -1
  155. package/dist/cdn/chunks/{preRenderCustomBlocks-BGtb8Xbp.js → preRenderCustomBlocks-BLVFtvl8.js} +2 -2
  156. package/dist/cdn/chunks/{preRenderCustomBlocks-BGtb8Xbp.js.map → preRenderCustomBlocks-BLVFtvl8.js.map} +1 -1
  157. package/dist/{pt-BR-eyzmU9Vs.js → cdn/chunks/pt-BR-DC2A3C0v.js} +12 -2
  158. package/dist/cdn/chunks/pt-BR-DC2A3C0v.js.map +1 -0
  159. package/dist/cdn/chunks/{sanitizeHtml-CLRY8s2s.js → sanitizeHtml-Db0S2JVP.js} +2 -2
  160. package/dist/cdn/chunks/{sanitizeHtml-CLRY8s2s.js.map → sanitizeHtml-Db0S2JVP.js.map} +1 -1
  161. package/dist/cdn/chunks/{socialIcons-kYhdXJ9P.js → socialIcons-WD1cjZDr.js} +495 -517
  162. package/dist/cdn/chunks/socialIcons-WD1cjZDr.js.map +1 -0
  163. package/dist/cdn/chunks/{src-DY2kMjoD.js → src-A0kzK-pR.js} +775 -667
  164. package/dist/cdn/chunks/src-A0kzK-pR.js.map +1 -0
  165. package/dist/cdn/chunks/src-C9opbQj_.js +684 -0
  166. package/dist/cdn/chunks/src-C9opbQj_.js.map +1 -0
  167. package/dist/cdn/chunks/{src-BmzzkUf7.js → src-edESkGqO.js} +708 -603
  168. package/dist/cdn/chunks/src-edESkGqO.js.map +1 -0
  169. package/dist/cdn/chunks/{tiptap-B7gxx0aJ.js → tiptap-D9amDW4u.js} +1030 -1027
  170. package/dist/cdn/chunks/tiptap-D9amDW4u.js.map +1 -0
  171. package/dist/cdn/chunks/useLocalizedDisplay-Brdkp3KH.js +33 -0
  172. package/dist/cdn/chunks/{useLocalizedDisplay-B5wMJLru.js.map → useLocalizedDisplay-Brdkp3KH.js.map} +1 -1
  173. package/dist/cdn/chunks/{useLogicTag-0wkSxy3z.js → useLogicTag-CKtQlJDa.js} +2 -2
  174. package/dist/cdn/chunks/{useLogicTag-0wkSxy3z.js.map → useLogicTag-CKtQlJDa.js.map} +1 -1
  175. package/dist/cdn/chunks/{useMergeTag-y3bX8M_6.js → useMergeTag-Dwy3U0PI.js} +2 -2
  176. package/dist/cdn/chunks/{useMergeTag-y3bX8M_6.js.map → useMergeTag-Dwy3U0PI.js.map} +1 -1
  177. package/dist/cdn/chunks/{withCurrentFont-B42BKo9N.js → withCurrentFont-C4pIesdB.js} +2 -2
  178. package/dist/cdn/chunks/{withCurrentFont-B42BKo9N.js.map → withCurrentFont-C4pIesdB.js.map} +1 -1
  179. package/dist/cdn/editor.js +109 -109
  180. package/dist/cdn/editor.js.map +1 -1
  181. package/dist/{check-ErKdPXG6.js → check-C82yyyf1.js} +1 -1
  182. package/dist/{chevron-down-C_vv5fZE.js → chevron-down-BaBVjNbM.js} +1 -1
  183. package/dist/{chevron-right-Cw4GpjFA.js → chevron-right-DkS-bw8X.js} +1 -1
  184. package/dist/{chevron-up-uijYZoph.js → chevron-up-C1KzUIK4.js} +1 -1
  185. package/dist/{circle-exclamation-point-CIYHx5Tw.js → circle-exclamation-point-DsmqtTUQ.js} +1 -1
  186. package/dist/{clock-tnC1IvZk.js → clock-dpIs7vo0.js} +1 -1
  187. package/dist/{composables-CFTH0Nqb.js → composables-DjCuq6RV.js} +1399 -1380
  188. package/dist/{createCloudRuntime-BvWlm_38.js → createCloudRuntime-CiEo0wkr.js} +2 -2
  189. package/dist/{createLucideIcon-CssArtUe.js → createLucideIcon-BSam2AUu.js} +5 -5
  190. package/dist/{cdn/chunks/da-CM6DCvRG.js → da-Dno_4nGy.js} +10 -4
  191. package/dist/{cdn/chunks/de-Dugz1zXC.js → de-DRR5JSkh.js} +10 -4
  192. package/dist/dist-AyAOL8Bj.js +4 -0
  193. package/dist/{dist-BTUMr4Pb.js → dist-BNrGwgev.js} +2 -2
  194. package/dist/{dist-CsplpC_6.js → dist-BPVNNdTv.js} +2 -2
  195. package/dist/{dist-bWIkrMkM.js → dist-C7YLw60i.js} +2 -2
  196. package/dist/{dist-Clfx1JeL.js → dist-CBnAqr27.js} +2 -2
  197. package/dist/{dist-CkHJRChP.js → dist-COvAA64n.js} +2 -2
  198. package/dist/{dist-C-NRkFsp.js → dist-CuRjmtWu.js} +5 -5
  199. package/dist/{dist-HKEDfp__.js → dist-DG_AWt8v.js} +2 -2
  200. package/dist/{dist-CMo4K5So.js → dist-DX_IQgcU.js} +802 -696
  201. package/dist/{dist-DY3WbyCO.js → dist-DYtuc3jc.js} +2 -2
  202. package/dist/dist-DkPTWQuO.js +4 -0
  203. package/dist/{dist-DwpKFWF4.js → dist-DoWk1r7z.js} +77 -74
  204. package/dist/{dist-BlrlMP8f.js → dist-fDsB6dCL.js} +2 -2
  205. package/dist/{editor-modal-BWvxfSj8.js → editor-modal-odubnc9x.js} +15 -15
  206. package/dist/en-CAImT1hl.js +1 -0
  207. package/dist/{cdn/chunks/en-BykoFuFY.js → en-DAcLbbpg.js} +10 -4
  208. package/dist/{cdn/chunks/es-DaWsTkpj.js → es-BcEQLQxe.js} +10 -4
  209. package/dist/{extensions-BPVackEE.js → extensions-C7OLgMEj.js} +73 -73
  210. package/dist/{eye-DK4--qHk.js → eye-CxCHEszj.js} +1 -1
  211. package/dist/{cdn/chunks/fr-DqwQHtJo.js → fr-CNQG7ESr.js} +10 -4
  212. package/dist/{image-B5pJOw5Q.js → image-DvXPzqNd.js} +1 -1
  213. package/dist/index.d.ts +72 -13
  214. package/dist/{info-DKM0_thN.js → info-2KHWaZ2L.js} +1 -1
  215. package/dist/{ja-BH4MS1Ye.js → ja-CMxWxqSH.js} +10 -2
  216. package/dist/{link-BNgTZ_Sw.js → link-_OmrcJMv.js} +1 -1
  217. package/dist/{list-Bqynqm7o.js → list-Dekd7JE8.js} +1 -1
  218. package/dist/{loader-circle-BMc3fVpa.js → loader-circle-D_hT5mFS.js} +1 -1
  219. package/dist/{message-circle-D_TpvAJh.js → message-circle-DDbiG-jz.js} +1 -1
  220. package/dist/{cdn/chunks/nl-BQl1_UHv.js → nl-BjyYZDkC.js} +10 -4
  221. package/dist/{normalizeMergeTagMarkup-PQqrbfmt.js → normalizeMergeTagMarkup-Cv5Wvs5f.js} +45 -45
  222. package/dist/{package-D2fov5PU.js → package-cORUe57D.js} +1 -1
  223. package/dist/{pencil-BNdkJyfY.js → pencil-D67H4fxq.js} +1 -1
  224. package/dist/{plus-CWmBmMx-.js → plus-BpTZAx28.js} +1 -1
  225. package/dist/{preRenderCustomBlocks-Dg5GBNi2.js → preRenderCustomBlocks-6CLw2rP6.js} +3 -3
  226. package/dist/{cdn/chunks/pt-BR-eyzmU9Vs.js → pt-BR-DC2A3C0v.js} +10 -4
  227. package/dist/{refresh-cw-Ryg1j66N.js → refresh-cw-B4T0IFwI.js} +1 -1
  228. package/dist/{rotate-ccw-D8j7gXXv.js → rotate-ccw-BDQgjpuo.js} +1 -1
  229. package/dist/{sanitizeHtml-DVdfdxOz.js → sanitizeHtml-Ru5_-IbM.js} +6 -6
  230. package/dist/{search-CX2JkSHz.js → search-Dp9pkaVt.js} +1 -1
  231. package/dist/{send-BLR1b-p5.js → send-DO9GhgCH.js} +1 -1
  232. package/dist/{smartphone-Co8m0LLg.js → smartphone-CPW3I3hV.js} +1 -1
  233. package/dist/{socialIcons-DBHv_ntg.js → socialIcons-CPBiLTjY.js} +561 -583
  234. package/dist/{sparkles-Dc3Undp5.js → sparkles-CIBjNfij.js} +1 -1
  235. package/dist/{square-CPw_cyX8.js → square-3W65qrrH.js} +1 -1
  236. package/dist/templatical-editor.js +139 -139
  237. package/dist/{text-align-start-2VZGhCiK.js → text-align-start-Bs70tpRU.js} +1 -1
  238. package/dist/{trash-t6XXliVc.js → trash-CTzhAm1o.js} +1 -1
  239. package/dist/{triangle-exclamation-point-_YYWE2ZH.js → triangle-exclamation-point-D_13CuJY.js} +1 -1
  240. package/dist/{upload-BWYXWYHb.js → upload-DFxkP9MI.js} +1 -1
  241. package/dist/useLocalizedDisplay-DfiE-KjV.js +31 -0
  242. package/dist/{useLogicTag-CVOj0VUv.js → useLogicTag-K5CPoMTk.js} +1 -1
  243. package/dist/{useMergeTag-Bams_kam.js → useMergeTag-tsU_Sw2x.js} +3 -3
  244. package/dist/{useScrollToBlock-CwUQ_nKz.js → useScrollToBlock-194ePl4q.js} +1 -1
  245. package/dist/withCurrentFont-C-_IYTqP.js +18 -0
  246. package/dist/{x-CTKOxIyZ.js → x-D7L8mLHJ.js} +1 -1
  247. package/package.json +22 -22
  248. package/dist/cdn/chunks/AiAltTextPopover-CcX_OMUU.js.map +0 -1
  249. package/dist/cdn/chunks/AiAltTextReview-Dmm3h0jd.js.map +0 -1
  250. package/dist/cdn/chunks/AiChatPanel-DV23DJ-2.js.map +0 -1
  251. package/dist/cdn/chunks/AiPanels-CxhOpMAp.js.map +0 -1
  252. package/dist/cdn/chunks/AiRewriteMenu-87-O514r.js.map +0 -1
  253. package/dist/cdn/chunks/BlockIssueBadge-Dp06vQd3.js.map +0 -1
  254. package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +0 -1
  255. package/dist/cdn/chunks/CloudPanels-D8fchoYt.js.map +0 -1
  256. package/dist/cdn/chunks/CollaborationNotices-DNEs3g9B.js.map +0 -1
  257. package/dist/cdn/chunks/CollaboratorBar-CN6XAlbn.js.map +0 -1
  258. package/dist/cdn/chunks/CommentsPanel-CxZ1kFcK.js.map +0 -1
  259. package/dist/cdn/chunks/CommentsSidebar-DCr2mV8b.js.map +0 -1
  260. package/dist/cdn/chunks/CountdownToolbar-CUTbVPPV.js.map +0 -1
  261. package/dist/cdn/chunks/IssuesPanel-BhcSzwuL.js.map +0 -1
  262. package/dist/cdn/chunks/LanguageMenu-6wGhkyFT.js.map +0 -1
  263. package/dist/cdn/chunks/LocaleNotices-Br92Xueo.js.map +0 -1
  264. package/dist/cdn/chunks/LogicTagInsertButton-r2EVUtDU.js.map +0 -1
  265. package/dist/cdn/chunks/MediaEditModal-CfgN7Jyi.js.map +0 -1
  266. package/dist/cdn/chunks/MediaPanels-Cb5vsgb-.js.map +0 -1
  267. package/dist/cdn/chunks/MergeTagInput-Dh3N6CEV.js.map +0 -1
  268. package/dist/cdn/chunks/MergeTagModeToggle-D6u3hMrI.js.map +0 -1
  269. package/dist/cdn/chunks/MergeTagTextarea-BpVtpiNL.js.map +0 -1
  270. package/dist/cdn/chunks/ParagraphEditor-DGJmPAC1.js.map +0 -1
  271. package/dist/cdn/chunks/RestoreVersionDialog-D5qeCa0F.js.map +0 -1
  272. package/dist/cdn/chunks/RichTextEditorContent-DyGiXKKI.js.map +0 -1
  273. package/dist/cdn/chunks/SaveBlockDialog-B0TJYxd8.js.map +0 -1
  274. package/dist/cdn/chunks/SavedBlocksBrowserModal-D8Ly7LrA.js.map +0 -1
  275. package/dist/cdn/chunks/SavedBlocksPanels-Co1cbWR8.js.map +0 -1
  276. package/dist/cdn/chunks/SavedBlocksPickBar-DNtVbpm-.js.map +0 -1
  277. package/dist/cdn/chunks/TemplateSettings-BRc878ZF.js.map +0 -1
  278. package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +0 -1
  279. package/dist/cdn/chunks/TestEmailPanel-vKvruW_r.js.map +0 -1
  280. package/dist/cdn/chunks/TitleEditor-BI-9Nnj3.js.map +0 -1
  281. package/dist/cdn/chunks/Toolbar-CYnnArxv.js.map +0 -1
  282. package/dist/cdn/chunks/TplModal-B3nZeGWK.js.map +0 -1
  283. package/dist/cdn/chunks/VersionHistoryMenu-CMGfAKuV.js.map +0 -1
  284. package/dist/cdn/chunks/VersionHistoryPanels-Bb2ouQg7.js.map +0 -1
  285. package/dist/cdn/chunks/VersionPreviewBanner-573UP-g4.js.map +0 -1
  286. package/dist/cdn/chunks/WrapperBlock-DVu632LD.js.map +0 -1
  287. package/dist/cdn/chunks/ca-YfIxwO1G.js.map +0 -1
  288. package/dist/cdn/chunks/composables-DY3anqHO.js.map +0 -1
  289. package/dist/cdn/chunks/da-CM6DCvRG.js.map +0 -1
  290. package/dist/cdn/chunks/de-Dugz1zXC.js.map +0 -1
  291. package/dist/cdn/chunks/editor-modal-CXSSZplR.js.map +0 -1
  292. package/dist/cdn/chunks/en-BykoFuFY.js.map +0 -1
  293. package/dist/cdn/chunks/en-DYMYt1TN.js +0 -1
  294. package/dist/cdn/chunks/es-DaWsTkpj.js.map +0 -1
  295. package/dist/cdn/chunks/extensions-BWVlr8Ga.js.map +0 -1
  296. package/dist/cdn/chunks/fr-DqwQHtJo.js.map +0 -1
  297. package/dist/cdn/chunks/ja-BH4MS1Ye.js.map +0 -1
  298. package/dist/cdn/chunks/nl-BQl1_UHv.js.map +0 -1
  299. package/dist/cdn/chunks/pt-BR-eyzmU9Vs.js.map +0 -1
  300. package/dist/cdn/chunks/socialIcons-kYhdXJ9P.js.map +0 -1
  301. package/dist/cdn/chunks/src-B7X7x_ST.js +0 -707
  302. package/dist/cdn/chunks/src-B7X7x_ST.js.map +0 -1
  303. package/dist/cdn/chunks/src-BmzzkUf7.js.map +0 -1
  304. package/dist/cdn/chunks/src-DY2kMjoD.js.map +0 -1
  305. package/dist/cdn/chunks/tiptap-B7gxx0aJ.js.map +0 -1
  306. package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +0 -33
  307. package/dist/dist-CkIeJEsa.js +0 -4
  308. package/dist/dist-eAgG-nCb.js +0 -4
  309. package/dist/en-DvCaYqiR.js +0 -1
  310. package/dist/useLocalizedDisplay-CbFM0cCV.js +0 -31
  311. package/dist/withCurrentFont-y0O5kOLW.js +0 -18
@@ -1,13 +1,13 @@
1
- import { H as e, Kn as t, Qn as n, Zn as r, _n as i, m as a, qn as o, s, u as c, v as l } from "./dist-DwpKFWF4.js";
1
+ import { H as e, Kn as t, Qn as n, Zn as r, _n as i, m as a, qn as o, s, u as c, v as l } from "./dist-DoWk1r7z.js";
2
2
  import { a as u, c as d, s as f } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
3
3
  import { Ft as p, M as m, Mt as h, O as g, Pt as _, U as v, W as y, Z as b, c as x, ct as S, d as C, et as w, f as T, l as E, u as D, y as O } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
4
4
  import { t as k } from "./useI18n-Cx9W7OWb.js";
5
- import { t as A } from "./useMergeTag-Bams_kam.js";
6
- import { Zt as j, _ as M, dt as N, ft as P, k as F, xt as I } from "./dist-CMo4K5So.js";
7
- import { n as ee, t as te } from "./dist-CsplpC_6.js";
8
- import { a as ne, o as re, s as ie } from "./LogicTagInsertButton-BdDe-vrZ.js";
5
+ import { t as A } from "./useMergeTag-tsU_Sw2x.js";
6
+ import { A as j, ht as M, mt as N, nn as ee, v as P, wt as F } from "./dist-DX_IQgcU.js";
7
+ import { n as te, t as ne } from "./dist-BPVNNdTv.js";
8
+ import { a as re, o as ie, s as ae } from "./LogicTagInsertButton-Clc3JTg_.js";
9
9
  // src/extensions/FontSize.ts
10
- var ae = s.create({
10
+ var oe = s.create({
11
11
  name: "fontSize",
12
12
  addOptions() {
13
13
  return { types: ["textStyle"] };
@@ -28,7 +28,7 @@ var ae = s.create({
28
28
  unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
29
29
  };
30
30
  }
31
- }), oe = s.create({
31
+ }), se = s.create({
32
32
  name: "letterSpacing",
33
33
  addOptions() {
34
34
  return { types: ["textStyle"] };
@@ -49,7 +49,7 @@ var ae = s.create({
49
49
  unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
50
50
  };
51
51
  }
52
- }), se = s.create({
52
+ }), ce = s.create({
53
53
  name: "lineBoundaryKeys",
54
54
  addKeyboardShortcuts() {
55
55
  let e = (e) => ({ editor: t }) => {
@@ -63,7 +63,7 @@ var ae = s.create({
63
63
  Home: e("backward")
64
64
  };
65
65
  }
66
- }), ce = s.create({
66
+ }), le = s.create({
67
67
  name: "lineHeight",
68
68
  addOptions() {
69
69
  return {
@@ -87,11 +87,11 @@ var ae = s.create({
87
87
  unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
88
88
  };
89
89
  }
90
- }), le = [
90
+ }), ue = [
91
91
  "aria-label",
92
92
  "data-tooltip",
93
93
  "onKeydown"
94
- ], ue = ["aria-label", "onKeydown"], de = ["aria-label"], fe = /* @__PURE__ */ O({
94
+ ], de = ["aria-label", "onKeydown"], fe = ["aria-label"], pe = /* @__PURE__ */ O({
95
95
  __name: "LogicMergeTagNodeView",
96
96
  props: {
97
97
  node: {},
@@ -101,7 +101,7 @@ var ae = s.create({
101
101
  updateAttributes: { type: Function }
102
102
  },
103
103
  setup(e) {
104
- let t = e, { syntax: n } = A(), { t: r } = k(), i = x(() => I(t.node.attrs.value, n)), a = x(() => N(t.node.attrs.value, n)), o = w(!1), s = w(""), c = w(null), l = !1;
104
+ let t = e, { syntax: n } = A(), { t: r } = k(), i = x(() => F(t.node.attrs.value, n)), a = x(() => N(t.node.attrs.value, n)), o = w(!1), s = w(""), c = w(null), l = !1;
105
105
  function b() {
106
106
  s.value = t.node.attrs.value, l = !1, o.value = !0, g(() => {
107
107
  c.value?.focus(), c.value?.select();
@@ -113,13 +113,13 @@ var ae = s.create({
113
113
  let e = s.value.trim();
114
114
  e && e !== t.node.attrs.value && t.updateAttributes({
115
115
  value: e,
116
- keyword: I(e, n) ? N(e, n) : ""
116
+ keyword: F(e, n) ? N(e, n) : ""
117
117
  }), o.value = !1;
118
118
  }
119
119
  function j(e) {
120
120
  e.key === "Enter" ? (e.preventDefault(), O()) : e.key === "Escape" && (o.value = !1);
121
121
  }
122
- return (t, n) => (m(), D(S(te), {
122
+ return (t, n) => (m(), D(S(ne), {
123
123
  as: "span",
124
124
  class: h(i.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
125
125
  style: _(i.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
@@ -143,14 +143,14 @@ var ae = s.create({
143
143
  "data-tooltip": e.node.attrs.value,
144
144
  onClick: d(b, ["stop"]),
145
145
  onKeydown: [f(d(b, ["stop"]), ["enter"]), f(d(b, ["prevent", "stop"]), ["space"])]
146
- }, p(a.value), 41, le)) : (m(), T("span", {
146
+ }, p(a.value), 41, ue)) : (m(), T("span", {
147
147
  key: 2,
148
148
  role: "button",
149
149
  tabindex: "0",
150
150
  "aria-label": S(r).mergeTag.editValue,
151
151
  onClick: d(b, ["stop"]),
152
152
  onKeydown: [f(d(b, ["stop"]), ["enter"]), f(d(b, ["prevent", "stop"]), ["space"])]
153
- }, p(e.node.attrs.value), 41, ue)), i.value ? (m(), T("button", {
153
+ }, p(e.node.attrs.value), 41, de)), i.value ? (m(), T("button", {
154
154
  key: 3,
155
155
  type: "button",
156
156
  "aria-label": S(r).mergeTag.deleteMergeTag,
@@ -175,28 +175,28 @@ var ae = s.create({
175
175
  y1: "6",
176
176
  x2: "18",
177
177
  y2: "18"
178
- })], -1)]], 8, de)) : C("", !0)]),
178
+ })], -1)]], 8, fe)) : C("", !0)]),
179
179
  _: 1
180
180
  }, 8, ["class", "style"]));
181
181
  }
182
182
  });
183
183
  // src/extensions/isNodeSelected.ts
184
- function pe(e, t) {
184
+ function me(e, t) {
185
185
  let { $from: n, $to: r } = e.state.selection;
186
186
  return n.pos === r.pos ? n.pos > 0 && n.nodeBefore?.type.name === t || n.nodeAfter?.type.name === t : !1;
187
187
  }
188
188
  // src/extensions/renderVueNodeView.ts
189
- function me(e) {
190
- return ee(e);
189
+ function he(e) {
190
+ return te(e);
191
191
  }
192
192
  // src/extensions/LogicMergeTagNode.ts
193
- var he = a.create({
193
+ var ge = a.create({
194
194
  name: "logicMergeTagNode",
195
195
  group: "inline",
196
196
  inline: !0,
197
197
  atom: !0,
198
198
  addOptions() {
199
- return { syntax: M.liquid };
199
+ return { syntax: P.liquid };
200
200
  },
201
201
  addAttributes() {
202
202
  return {
@@ -216,7 +216,7 @@ var he = a.create({
216
216
  return [{ tag: "span[data-logic-merge-tag]" }];
217
217
  },
218
218
  renderHTML({ node: e, HTMLAttributes: t }) {
219
- if (!I(e.attrs.value, this.options.syntax)) return [
219
+ if (!F(e.attrs.value, this.options.syntax)) return [
220
220
  "span",
221
221
  {},
222
222
  e.attrs.value
@@ -232,12 +232,12 @@ var he = a.create({
232
232
  ];
233
233
  },
234
234
  addNodeView() {
235
- return me(fe);
235
+ return he(pe);
236
236
  },
237
237
  addKeyboardShortcuts() {
238
238
  return {
239
- Backspace: () => pe(this.editor, this.name),
240
- Delete: () => pe(this.editor, this.name)
239
+ Backspace: () => me(this.editor, this.name),
240
+ Delete: () => me(this.editor, this.name)
241
241
  };
242
242
  },
243
243
  addInputRules() {
@@ -246,7 +246,7 @@ var he = a.create({
246
246
  find: e,
247
247
  handler: ({ state: e, range: t, match: n }) => {
248
248
  let r = n[0];
249
- if (!I(r, this.options.syntax)) return;
249
+ if (!F(r, this.options.syntax)) return;
250
250
  let i = N(r, this.options.syntax), a = this.type.create({
251
251
  value: r,
252
252
  keyword: i
@@ -256,7 +256,7 @@ var he = a.create({
256
256
  })];
257
257
  },
258
258
  addPasteRules() {
259
- let e = this.options.syntax, t = F(e) ? (t) => j(t, e, "logic").map((e) => ({
259
+ let e = this.options.syntax, t = j(e) ? (t) => ee(t, e, "logic").map((e) => ({
260
260
  index: e.index,
261
261
  text: e.value
262
262
  })) : new RegExp(e.logic.source, "g");
@@ -264,7 +264,7 @@ var he = a.create({
264
264
  find: t,
265
265
  handler: ({ state: e, range: t, match: n }) => {
266
266
  let r = n[0];
267
- if (!I(r, this.options.syntax)) return;
267
+ if (!F(r, this.options.syntax)) return;
268
268
  let i = N(r, this.options.syntax), a = this.type.create({
269
269
  value: r,
270
270
  keyword: i
@@ -273,11 +273,11 @@ var he = a.create({
273
273
  }
274
274
  })];
275
275
  }
276
- }), ge = ["aria-invalid"], _e = [
276
+ }), _e = ["aria-invalid"], ve = [
277
277
  "aria-label",
278
278
  "data-tooltip",
279
279
  "onKeydown"
280
- ], ve = ["aria-label"], ye = /* @__PURE__ */ O({
280
+ ], ye = ["aria-label"], be = /* @__PURE__ */ O({
281
281
  __name: "MergeTagNodeView",
282
282
  props: {
283
283
  node: {},
@@ -285,43 +285,43 @@ var he = a.create({
285
285
  updateAttributes: { type: Function }
286
286
  },
287
287
  setup(e) {
288
- let t = e, { getMergeTagLabel: n, getMergeTagDisplayLabel: r, findMergeTag: i, canRepickMergeTag: a, showRawValue: o, isMergeTagValue: s, requestMergeTag: c } = A(), { t: l, format: _ } = k(), C = x(() => r(t.node.attrs.value, t.node.attrs.label)), O = x(() => a(t.node.attrs.value)), j = w(!1), M = w(""), N = w(null), P = !1;
288
+ let t = e, { getMergeTagLabel: n, getMergeTagDisplayLabel: r, findMergeTag: i, canRepickMergeTag: a, showRawValue: o, isMergeTagValue: s, requestMergeTag: c } = A(), { t: l, format: _ } = k(), C = x(() => r(t.node.attrs.value, t.node.attrs.label)), O = x(() => a(t.node.attrs.value)), j = w(!1), M = w(""), N = w(null), ee = !1;
289
289
  b(() => {
290
- P = !0;
290
+ ee = !0;
291
291
  });
292
- let F = x(() => M.value.trim() === "" || s(M.value.trim()));
293
- async function I() {
292
+ let P = x(() => M.value.trim() === "" || s(M.value.trim()));
293
+ async function F() {
294
294
  let e = await c({
295
295
  reason: "edit",
296
296
  current: i(t.node.attrs.value)
297
297
  });
298
- !P && e && t.updateAttributes({
298
+ !ee && e && t.updateAttributes({
299
299
  value: e.value,
300
300
  label: e.label
301
301
  });
302
302
  }
303
- function ee() {
303
+ function te() {
304
304
  M.value = t.node.attrs.value, j.value = !0, g(() => {
305
305
  N.value?.focus(), N.value?.select();
306
306
  });
307
307
  }
308
- function ne() {
309
- O.value ? I() : ee();
310
- }
311
308
  function re() {
309
+ O.value ? F() : te();
310
+ }
311
+ function ie() {
312
312
  let e = M.value.trim();
313
313
  e && e !== t.node.attrs.value && s(e) && t.updateAttributes({
314
314
  value: e,
315
315
  label: n(e)
316
316
  }), j.value = !1;
317
317
  }
318
- function ie(e) {
318
+ function ae(e) {
319
319
  if (e.key === "Enter") {
320
- if (e.preventDefault(), !F.value) return;
321
- re();
320
+ if (e.preventDefault(), !P.value) return;
321
+ ie();
322
322
  } else e.key === "Escape" && (j.value = !1);
323
323
  }
324
- return (t, n) => (m(), D(S(te), {
324
+ return (t, n) => (m(), D(S(ne), {
325
325
  as: "span",
326
326
  class: "tpl-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium tpl:select-none tpl:text-[var(--tpl-primary)]",
327
327
  style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
@@ -333,20 +333,20 @@ var he = a.create({
333
333
  ref: N,
334
334
  "onUpdate:modelValue": n[0] ||= (e) => M.value = e,
335
335
  type: "text",
336
- "aria-invalid": F.value ? void 0 : "true",
337
- class: h(["tpl:w-32 tpl:rounded tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]", F.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
338
- onBlur: re,
339
- onKeydown: ie
340
- }, null, 42, ge)), [[u, M.value]]) : (m(), T("span", {
336
+ "aria-invalid": P.value ? void 0 : "true",
337
+ class: h(["tpl:w-32 tpl:rounded tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]", P.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
338
+ onBlur: ie,
339
+ onKeydown: ae
340
+ }, null, 42, _e)), [[u, M.value]]) : (m(), T("span", {
341
341
  key: 1,
342
342
  role: "button",
343
343
  tabindex: "0",
344
344
  "aria-label": O.value ? S(_)(S(l).mergeTag.changeTag, { label: C.value }) : S(l).mergeTag.editValue,
345
345
  class: h(["tpl:cursor-pointer", S(o) ? "tpl-tooltip" : ""]),
346
346
  "data-tooltip": S(o) ? e.node.attrs.value : void 0,
347
- onClick: d(ne, ["stop"]),
348
- onKeydown: [f(d(ne, ["stop"]), ["enter"]), f(d(ne, ["prevent", "stop"]), ["space"])]
349
- }, p(C.value), 43, _e)), E("button", {
347
+ onClick: d(re, ["stop"]),
348
+ onKeydown: [f(d(re, ["stop"]), ["enter"]), f(d(re, ["prevent", "stop"]), ["space"])]
349
+ }, p(C.value), 43, ve)), E("button", {
350
350
  type: "button",
351
351
  "aria-label": S(l).mergeTag.deleteMergeTag,
352
352
  class: "tpl-merge-tag-delete tpl:flex tpl:size-5 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:opacity-60 tpl:transition-all tpl:hover:opacity-100 tpl:text-[var(--tpl-primary)]",
@@ -370,11 +370,11 @@ var he = a.create({
370
370
  y1: "6",
371
371
  x2: "18",
372
372
  y2: "18"
373
- })], -1)]], 8, ve)]),
373
+ })], -1)]], 8, ye)]),
374
374
  _: 1
375
375
  }));
376
376
  }
377
- }), be = a.create({
377
+ }), xe = a.create({
378
378
  name: "mergeTagNode",
379
379
  group: "inline",
380
380
  inline: !0,
@@ -382,7 +382,7 @@ var he = a.create({
382
382
  addOptions() {
383
383
  return {
384
384
  mergeTags: () => [],
385
- syntax: M.liquid
385
+ syntax: P.liquid
386
386
  };
387
387
  },
388
388
  addAttributes() {
@@ -403,7 +403,7 @@ var he = a.create({
403
403
  return [{ tag: "span[data-merge-tag]" }];
404
404
  },
405
405
  renderHTML({ node: e, HTMLAttributes: t }) {
406
- let n = P(e.attrs.value, this.options.mergeTags());
406
+ let n = M(e.attrs.value, this.options.mergeTags());
407
407
  return [
408
408
  "span",
409
409
  i(t, {
@@ -414,7 +414,7 @@ var he = a.create({
414
414
  ];
415
415
  },
416
416
  addNodeView() {
417
- return me(ye);
417
+ return he(be);
418
418
  },
419
419
  addCommands() {
420
420
  return { insertMergeTag: (e) => ({ commands: t }) => t.insertContent({
@@ -427,8 +427,8 @@ var he = a.create({
427
427
  },
428
428
  addKeyboardShortcuts() {
429
429
  return {
430
- Backspace: () => pe(this.editor, this.name),
431
- Delete: () => pe(this.editor, this.name)
430
+ Backspace: () => me(this.editor, this.name),
431
+ Delete: () => me(this.editor, this.name)
432
432
  };
433
433
  },
434
434
  addInputRules() {
@@ -436,7 +436,7 @@ var he = a.create({
436
436
  return [new c({
437
437
  find: e,
438
438
  handler: ({ state: e, range: t, match: n }) => {
439
- let r = n[0], i = P(r, this.options.mergeTags()), a = this.type.create({
439
+ let r = n[0], i = M(r, this.options.mergeTags()), a = this.type.create({
440
440
  label: i,
441
441
  value: r
442
442
  });
@@ -445,14 +445,14 @@ var he = a.create({
445
445
  })];
446
446
  },
447
447
  addPasteRules() {
448
- let e = this.options.syntax, t = F(e) ? (t) => j(t, e, "value").map((e) => ({
448
+ let e = this.options.syntax, t = j(e) ? (t) => ee(t, e, "value").map((e) => ({
449
449
  index: e.index,
450
450
  text: e.value
451
451
  })) : new RegExp(e.value.source, "g");
452
452
  return [new l({
453
453
  find: t,
454
454
  handler: ({ state: e, range: t, match: n }) => {
455
- let r = n[0], i = P(r, this.options.mergeTags()), a = this.type.create({
455
+ let r = n[0], i = M(r, this.options.mergeTags()), a = this.type.create({
456
456
  label: i,
457
457
  value: r
458
458
  });
@@ -460,7 +460,7 @@ var he = a.create({
460
460
  }
461
461
  })];
462
462
  }
463
- }), xe = Math.min, L = Math.max, Se = Math.round, Ce = Math.floor, R = (e) => ({
463
+ }), Se = Math.min, I = Math.max, L = Math.round, Ce = Math.floor, R = (e) => ({
464
464
  x: e,
465
465
  y: e
466
466
  }), we = {
@@ -842,7 +842,7 @@ function ut(e) {
842
842
  }
843
843
  // ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
844
844
  function dt(e) {
845
- let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Se(n) !== a || Se(r) !== o;
845
+ let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = L(n) !== a || L(r) !== o;
846
846
  return s && (n = a, r = o), {
847
847
  width: n,
848
848
  height: r,
@@ -855,7 +855,7 @@ function ft(e) {
855
855
  function Q(e) {
856
856
  let t = ft(e);
857
857
  if (!K(t)) return R(1);
858
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = dt(t), o = (a ? Se(n.width) : n.width) / r, s = (a ? Se(n.height) : n.height) / i;
858
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = dt(t), o = (a ? L(n.width) : n.width) / r, s = (a ? L(n.height) : n.height) / i;
859
859
  return o && Number.isFinite(o) || (o = 1), s && Number.isFinite(s) || (s = 1), {
860
860
  x: o,
861
861
  y: s
@@ -925,8 +925,8 @@ function yt(e) {
925
925
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
926
926
  }
927
927
  function bt(e) {
928
- let t = ct(e), n = e.ownerDocument.body, r = L(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = L(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + gt(e), o = -t.scrollTop;
929
- return Y(n).direction === "rtl" && (a += L(e.clientWidth, n.clientWidth) - r), {
928
+ let t = ct(e), n = e.ownerDocument.body, r = I(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = I(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + gt(e), o = -t.scrollTop;
929
+ return Y(n).direction === "rtl" && (a += I(e.clientWidth, n.clientWidth) - r), {
930
930
  width: r,
931
931
  height: i,
932
932
  x: a,
@@ -991,7 +991,7 @@ function Et(e) {
991
991
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? tt(t) ? [] : Tt(t, this._c) : [].concat(n), r], o = wt(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
992
992
  for (let e = 1; e < a.length; e++) {
993
993
  let n = wt(t, a[e], i);
994
- s = L(n.top, s), c = xe(n.right, c), l = xe(n.bottom, l), u = L(n.left, u);
994
+ s = I(n.top, s), c = Se(n.right, c), l = Se(n.bottom, l), u = I(n.left, u);
995
995
  }
996
996
  return {
997
997
  width: c - u,
@@ -1091,7 +1091,7 @@ function It(e, t, n) {
1091
1091
  if (n || t(), !f || !p) return;
1092
1092
  let m = Ce(d), h = Ce(a.clientWidth - (u + f)), g = Ce(a.clientHeight - (d + p)), _ = Ce(u), v = {
1093
1093
  rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
1094
- threshold: L(0, xe(1, c)) || 1
1094
+ threshold: I(0, Se(1, c)) || 1
1095
1095
  }, y = !0;
1096
1096
  function b(t) {
1097
1097
  let n = t[0].intersectionRatio;
@@ -1157,7 +1157,7 @@ var Rt = Ye, zt = Ke, Bt = (e, t, n) => {
1157
1157
  platform: a
1158
1158
  });
1159
1159
  };
1160
- // ../../node_modules/.pnpm/@tiptap+suggestion@3.33.0_@floating-ui+dom@1.8.0_@tiptap+core@3.33.0_@tiptap+pm@3.33.0__@tiptap+pm@3.33.0/node_modules/@tiptap/suggestion/dist/index.js
1160
+ // ../../node_modules/.pnpm/@tiptap+suggestion@3.33.1_@floating-ui+dom@1.8.0_@tiptap+core@3.33.1_@tiptap+pm@3.33.1__@tiptap+pm@3.33.1/node_modules/@tiptap/suggestion/dist/index.js
1161
1161
  function Vt(t) {
1162
1162
  let { char: n, allowSpaces: r, allowToIncludeChar: i, allowedPrefixes: a, startOfLine: o, $position: s } = t, c = r && !i, l = e(n), u = RegExp(`\\s${l}$`), d = o ? "^" : "", f = i ? "" : l, p = RegExp(c ? `${d}${l}.*?(?=\\s${f}|$)` : `${d}(?:^)?${l}[^\\s${f}]*`, "gm"), m = s.nodeBefore?.isText && s.nodeBefore.text;
1163
1163
  if (!m) return null;
@@ -1566,7 +1566,7 @@ var nn = tn;
1566
1566
  // src/extensions/MergeTagSuggestion.ts
1567
1567
  function rn(e, t) {
1568
1568
  return () => {
1569
- let n = ne(e, t);
1569
+ let n = re(e, t);
1570
1570
  return {
1571
1571
  onStart: (e) => {
1572
1572
  let t = e.editor.view?.dom;
@@ -1605,7 +1605,7 @@ var an = s.create({
1605
1605
  allowSpaces: !1,
1606
1606
  startOfLine: !1,
1607
1607
  allowedPrefixes: null,
1608
- items: ({ query: t }) => re(e(), t),
1608
+ items: ({ query: t }) => ie(e(), t),
1609
1609
  command: ({ editor: e, range: t, props: n }) => {
1610
1610
  e.isEditable && e.chain().focus().insertContentAt(t, {
1611
1611
  type: "mergeTagNode",
@@ -1623,4 +1623,4 @@ var an = s.create({
1623
1623
  })];
1624
1624
  }
1625
1625
  });
1626
- export { ae as FontSize, oe as LetterSpacing, se as LineBoundaryKeys, ce as LineHeight, he as LogicMergeTagNode, be as MergeTagNode, an as MergeTagSuggestion, re as filterMergeTags, ie as handleSuggestionKeyDown };
1626
+ export { oe as FontSize, se as LetterSpacing, ce as LineBoundaryKeys, le as LineHeight, ge as LogicMergeTagNode, xe as MergeTagNode, an as MergeTagSuggestion, ie as filterMergeTags, ae as handleSuggestionKeyDown };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-CssArtUe.js";
1
+ import { t as e } from "./createLucideIcon-BSam2AUu.js";
2
2
  var t = e({
3
3
  name: "eye",
4
4
  size: 24,
@@ -246,6 +246,9 @@ var e = {
246
246
  ratio13: "Ratio 1:3",
247
247
  ratio31: "Ratio 3:1",
248
248
  ratio121: "Ratio 1:2:1",
249
+ columnsCustom: "Personnalisée",
250
+ columnWidths: "Largeurs de colonne",
251
+ columnWidthAria: "Largeur de la colonne {index}",
249
252
  borderRadius: "Rayon de bordure",
250
253
  wrapperEnable: "Ajouter un conteneur",
251
254
  wrapperLayoutConflict: "Cet éditeur encadre déjà l'e-mail. Un cadre supplémentaire sur cette section n'est pas pris en charge — l'aperçu et l'export échoueront.",
@@ -345,6 +348,7 @@ var e = {
345
348
  textColor: "Couleur du texte",
346
349
  borderRadius: "Rayon de bordure",
347
350
  fontSize: "Taille de police",
351
+ lineHeight: "Interligne",
348
352
  fontWeight: "Graisse",
349
353
  fontWeightRegular: "Régulier",
350
354
  fontWeightMedium: "Moyen",
@@ -352,7 +356,8 @@ var e = {
352
356
  width: "Largeur",
353
357
  widthAuto: "Ajuster au contenu",
354
358
  fullWidth: "Pleine largeur",
355
- widthCustom: "Personnalisée"
359
+ widthCustom: "Personnalisée",
360
+ widthUnit: "Unité de largeur"
356
361
  },
357
362
  divider: {
358
363
  style: "Style",
@@ -385,6 +390,8 @@ var e = {
385
390
  sizeLarge: "L",
386
391
  spacing: "Espacement",
387
392
  align: "Alignement",
393
+ customIconHint: "Le style et la couleur ne s'appliquent pas aux images personnalisées. Une image carrée convient le mieux.",
394
+ customIconMissing: "Icône personnalisée sans image",
388
395
  platforms: {
389
396
  facebook: "Facebook",
390
397
  twitter: "X (Twitter)",
@@ -403,7 +410,8 @@ var e = {
403
410
  reddit: "Reddit",
404
411
  github: "GitHub",
405
412
  dribbble: "Dribbble",
406
- behance: "Behance"
413
+ behance: "Behance",
414
+ custom: "Icône personnalisée"
407
415
  }
408
416
  },
409
417
  menu: {
@@ -947,5 +955,3 @@ var e = {
947
955
  }
948
956
  };
949
957
  export { e as default };
950
-
951
- //# sourceMappingURL=fr-DqwQHtJo.js.map
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-CssArtUe.js";
1
+ import { t as e } from "./createLucideIcon-BSam2AUu.js";
2
2
  var t = e({
3
3
  name: "image",
4
4
  size: 24,
package/dist/index.d.ts CHANGED
@@ -451,6 +451,22 @@ declare interface BorderValue {
451
451
  left: BorderSideValue;
452
452
  }
453
453
 
454
+ /**
455
+ * An icon drawn with its platform's built-in glyph, in the block's
456
+ * `iconStyle` and `iconTone`.
457
+ */
458
+ declare interface BuiltInSocialIcon {
459
+ id: string;
460
+ platform: BuiltInSocialPlatform;
461
+ url: string;
462
+ }
463
+
464
+ /**
465
+ * Every `SocialPlatform` that has a built-in glyph: all of them except
466
+ * `"custom"`, whose icon is its own image (`CustomSocialIcon`).
467
+ */
468
+ declare type BuiltInSocialPlatform = Exclude<SocialPlatform, "custom">;
469
+
454
470
  declare interface ButtonBlock extends BaseBlock {
455
471
  type: "button";
456
472
  text: string;
@@ -470,6 +486,16 @@ declare interface ButtonBlock extends BaseBlock {
470
486
  */
471
487
  border?: BorderValue;
472
488
  fontSize: number;
489
+ /**
490
+ * The label's line height as a multiple of its font size, like
491
+ * `BUTTON_LINE_HEIGHT`. Omitted is `BUTTON_LINE_HEIGHT` (1.2), so a
492
+ * stored button renders as it does today. It applies to every line of a
493
+ * wrapped label. A value that is not a finite number above 0 is ignored
494
+ * and renders as omitted.
495
+ *
496
+ * @exclusiveMinimum 0
497
+ */
498
+ lineHeight?: number;
473
499
  buttonPadding: SpacingValue;
474
500
  fontFamily?: string;
475
501
  /**
@@ -477,10 +503,17 @@ declare interface ButtonBlock extends BaseBlock {
477
503
  * Omitted renders bold, which is what a button with no weight renders.
478
504
  */
479
505
  fontWeight?: "regular" | "medium" | "bold";
480
- width?: number | "full";
506
+ /**
507
+ * Omitted fits the label. A number is px. `"full"` spans the column. A
508
+ * percentage is a share of the column's content box (the column less the
509
+ * button's side padding), rendered natively by MJML, so the button shrinks
510
+ * with its column on a phone.
511
+ */
512
+ width?: number | "full" | PercentWidth;
481
513
  /**
482
514
  * Placement of the button within its column. No visible effect when `width`
483
- * is `"full"`, since the button then spans the column.
515
+ * is `"full"`, since the button then spans the column. A percentage width
516
+ * still uses `align`.
484
517
  */
485
518
  align: "left" | "center" | "right";
486
519
  }
@@ -1114,6 +1147,22 @@ export declare interface CustomFont {
1114
1147
  fallback?: string;
1115
1148
  }
1116
1149
 
1150
+ /**
1151
+ * An icon drawn from its own image. The block's `iconSize` sets its width and
1152
+ * its height follows the image's proportions. The block's `iconStyle` and
1153
+ * `iconTone` don't apply: the image is shown as it is, with no badge, tint or
1154
+ * rounded corners.
1155
+ */
1156
+ declare interface CustomSocialIcon {
1157
+ id: string;
1158
+ platform: "custom";
1159
+ url: string;
1160
+ /** URL of the icon image. A square image lines up with the built-in icons. */
1161
+ imageUrl: string;
1162
+ /** Text alternative for the image, read out in place of the icon. */
1163
+ alt?: string;
1164
+ }
1165
+
1117
1166
  declare interface DataSourceConfig {
1118
1167
  label: string;
1119
1168
  onFetch: (context: DataSourceFetchContext) => Promise<Record<string, unknown> | null>;
@@ -1205,11 +1254,8 @@ declare interface DividerBlock extends BaseBlock {
1205
1254
  width: number | "full" | DividerPercentWidth;
1206
1255
  }
1207
1256
 
1208
- /**
1209
- * A share of the column, from `"0%"` to `"100%"`.
1210
- * @pattern ^(?:100(?:\.0+)?|\d{1,2}(?:\.\d+)?)%$
1211
- */
1212
- declare type DividerPercentWidth = `${number}%`;
1257
+ /** The same type as `PercentWidth`. */
1258
+ declare type DividerPercentWidth = PercentWidth;
1213
1259
 
1214
1260
  /**
1215
1261
  * Who is using the editor right now — `init({ user })`.
@@ -2089,6 +2135,12 @@ declare interface ParagraphBlock extends BaseBlock {
2089
2135
  paragraphSpacing?: number;
2090
2136
  }
2091
2137
 
2138
+ /**
2139
+ * A share of the column, from `"0%"` to `"100%"`.
2140
+ * @pattern ^(?:100(?:\.0+)?|\d{1,2}(?:\.\d+)?)%$
2141
+ */
2142
+ declare type PercentWidth = `${number}%`;
2143
+
2092
2144
  /**
2093
2145
  * Context handed to `resolvePreview`.
2094
2146
  *
@@ -2523,6 +2575,16 @@ declare interface SectionBlock extends BaseBlock {
2523
2575
  * image size.
2524
2576
  */
2525
2577
  hero?: SectionHero;
2578
+ /**
2579
+ * Each column's share of the section as a percentage, one number per
2580
+ * column of `columns`. Values are scaled so they total 100, so `[1, 1, 2]`
2581
+ * means 25 / 25 / 50. It overrides the preset's split, and `columns` still
2582
+ * sets the column count. It is ignored (the preset's split renders, and
2583
+ * the `structure` linter reports `structure.column-widths-ignored`) when
2584
+ * its length differs from the layout's column count, or when a value is
2585
+ * not a finite number above 0. Absent keeps the preset's split.
2586
+ */
2587
+ columnWidths?: number[];
2526
2588
  /** Optional outer frame (rendered as an `mj-wrapper` around the section). */
2527
2589
  wrapper?: SectionWrapper;
2528
2590
  }
@@ -2615,11 +2677,8 @@ declare interface SlotBlock extends BaseBlock {
2615
2677
  type: "slot";
2616
2678
  }
2617
2679
 
2618
- declare interface SocialIcon {
2619
- id: string;
2620
- platform: SocialPlatform;
2621
- url: string;
2622
- }
2680
+ /** One icon in a social block: a built-in platform glyph, or a custom image when `platform` is `"custom"`. */
2681
+ declare type SocialIcon = BuiltInSocialIcon | CustomSocialIcon;
2623
2682
 
2624
2683
  declare interface SocialIconsBlock extends BaseBlock {
2625
2684
  type: "social";
@@ -2645,7 +2704,7 @@ declare type SocialIconStyle = "solid" | "outlined" | "rounded" | "square" | "ci
2645
2704
  */
2646
2705
  declare type SocialIconTone = "brand" | "dark" | "light";
2647
2706
 
2648
- declare type SocialPlatform = "facebook" | "twitter" | "instagram" | "linkedin" | "xing" | "youtube" | "tiktok" | "pinterest" | "email" | "whatsapp" | "telegram" | "discord" | "snapchat" | "reddit" | "github" | "dribbble" | "behance" | "website";
2707
+ declare type SocialPlatform = "facebook" | "twitter" | "instagram" | "linkedin" | "xing" | "youtube" | "tiktok" | "pinterest" | "email" | "whatsapp" | "telegram" | "discord" | "snapchat" | "reddit" | "github" | "dribbble" | "behance" | "website" | "custom";
2649
2708
 
2650
2709
  declare interface SpacerBlock extends BaseBlock {
2651
2710
  type: "spacer";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-CssArtUe.js";
1
+ import { t as e } from "./createLucideIcon-BSam2AUu.js";
2
2
  var t = e({
3
3
  name: "info",
4
4
  size: 24,