@templatical/editor 0.58.0 → 0.59.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 (202) hide show
  1. package/dist/{AiAltTextPopover-B4cg0jQG.js → AiAltTextPopover-CwyKz_9U.js} +3 -3
  2. package/dist/{AiAltTextReview-Dni8I9eV.js → AiAltTextReview-DNFnR1PN.js} +2 -2
  3. package/dist/{AiChatPanel-QWqGhy2s.js → AiChatPanel-DWWVvJIP.js} +3 -3
  4. package/dist/{AiPanels-DE2ysIV1.js → AiPanels-CESbBB63.js} +1 -1
  5. package/dist/{AiRewriteMenu-B25gpnip.js → AiRewriteMenu-DH6j1jOA.js} +5 -5
  6. package/dist/{BlockIssueBadge-Ri7dQhuz.js → BlockIssueBadge-3k568_Od.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-yr5MmQql.js → BlockPreviewCanvas-BLJxLwTT.js} +6 -6
  8. package/dist/{CloudHeaderExtras-CJsXi4Ku.js → CloudHeaderExtras-xrHubAHL.js} +1 -1
  9. package/dist/{CloudPanels-ZOR9By8W.js → CloudPanels-qW-MObRD.js} +3 -3
  10. package/dist/{CollaborationNotices-COS_YvTq.js → CollaborationNotices-D9GQ477K.js} +1 -1
  11. package/dist/{CollaboratorBar-jq6HH0fb.js → CollaboratorBar-DsRjAaqd.js} +1 -1
  12. package/dist/{CommentsPanel-B0_Ob2vO.js → CommentsPanel-lb-IFzjl.js} +1 -1
  13. package/dist/{CommentsSidebar-DFoLon5D.js → CommentsSidebar-CVVTCWBH.js} +3 -3
  14. package/dist/{CountdownBlock-BrR2uqM3.js → CountdownBlock-CSEq79Nc.js} +2 -2
  15. package/dist/{CountdownToolbar-BtP0n0yZ.js → CountdownToolbar-BV9yQi9k.js} +5 -5
  16. package/dist/{IssuesPanel-CarJYQFu.js → IssuesPanel-pxcWAQJM.js} +5 -5
  17. package/dist/{LanguageMenu-confz89v.js → LanguageMenu-D_xbvq3D.js} +5 -5
  18. package/dist/{LocaleNotices-D8aE167E.js → LocaleNotices-j4aMFfmc.js} +2 -2
  19. package/dist/{LogicTagInsertButton-DFL3kvGK.js → LogicTagInsertButton-BDIsyl3C.js} +96 -96
  20. package/dist/{MergeTagInput-BuGJeeyA.js → MergeTagInput-De1yWoc2.js} +2 -2
  21. package/dist/{MergeTagModeToggle-D7482NZf.js → MergeTagModeToggle-CL96pI1E.js} +2 -2
  22. package/dist/{MergeTagTextarea-Qt9_NeY4.js → MergeTagTextarea-DDyV8U44.js} +4 -4
  23. package/dist/{ParagraphEditor-Cd-CBE_l.js → ParagraphEditor-DpOsnnai.js} +9 -9
  24. package/dist/{RestoreVersionDialog-Clh4l0Bn.js → RestoreVersionDialog-JQEkVIh5.js} +3 -3
  25. package/dist/{RichTextEditorContent-Dw_Z9zhi.js → RichTextEditorContent-C2Yj1-ZA.js} +5 -5
  26. package/dist/{SaveBlockDialog-kboYvk_a.js → SaveBlockDialog-BPf6tDhg.js} +11 -11
  27. package/dist/{SavedBlocksBrowserModal-wVGMC6My.js → SavedBlocksBrowserModal-DnDCfwSv.js} +7 -7
  28. package/dist/{SavedBlocksPanels-C9AHYfYR.js → SavedBlocksPanels-D5YaVCem.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-CVbV5MVL.js → SavedBlocksPickBar-OQ7ey3MD.js} +3 -3
  30. package/dist/{TemplateSettings-ChCm5_2b.js → TemplateSettings-CBCaybvd.js} +5 -5
  31. package/dist/TestEmailModal-BDp85wIp.js +241 -0
  32. package/dist/{TestEmailPanel-7Ua54CYL.js → TestEmailPanel-DkJx0Ptk.js} +1 -1
  33. package/dist/{TitleEditor-DXMOgW-9.js → TitleEditor-wzknZqu_.js} +7 -7
  34. package/dist/{Toolbar-CVHJl6i4.js → Toolbar-FIYSw3Us.js} +438 -438
  35. package/dist/{TplModal-BErE8I3p.js → TplModal-C57J-uF0.js} +3 -3
  36. package/dist/{VersionHistoryMenu-P3P00KqQ.js → VersionHistoryMenu-6jMve6By.js} +2 -2
  37. package/dist/{VersionHistoryPanels-DES1b1Pq.js → VersionHistoryPanels-BZ0GT52h.js} +1 -1
  38. package/dist/{VersionPreviewBanner-D2TtR9I5.js → VersionPreviewBanner-Bq8z1SUc.js} +2 -2
  39. package/dist/{WrapperBlock-B1zI7POT.js → WrapperBlock-C4XrJkx5.js} +3 -3
  40. package/dist/{blockTypeIcons-Dp540i74.js → blockTypeIcons-VX_8UQ21.js} +1 -1
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +1 -0
  43. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js → AiAltTextPopover-Dj-VLU88.js} +4 -4
  44. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js.map → AiAltTextPopover-Dj-VLU88.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js → AiAltTextReview-tVkJPOk6.js} +3 -3
  46. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js.map → AiAltTextReview-tVkJPOk6.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js → AiChatPanel-CYPvHQGQ.js} +4 -4
  48. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js.map → AiChatPanel-CYPvHQGQ.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js → AiPanels-ChTLCmMS.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js.map → AiPanels-ChTLCmMS.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js → AiRewriteMenu-B23ozFnP.js} +6 -6
  52. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js.map → AiRewriteMenu-B23ozFnP.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js → BlockIssueBadge-BKO4Mr8f.js} +3 -3
  54. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js.map → BlockIssueBadge-BKO4Mr8f.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js → BlockPreviewCanvas-CaRneMZ8.js} +7 -7
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js.map → BlockPreviewCanvas-CaRneMZ8.js.map} +1 -1
  57. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js → CloudHeaderExtras-O_K3jmgO.js} +2 -2
  58. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js.map → CloudHeaderExtras-O_K3jmgO.js.map} +1 -1
  59. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js → CloudPanels-xAEirqNC.js} +4 -4
  60. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js.map → CloudPanels-xAEirqNC.js.map} +1 -1
  61. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js → CollaborationNotices-CwAoa-73.js} +2 -2
  62. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js.map → CollaborationNotices-CwAoa-73.js.map} +1 -1
  63. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js → CollaboratorBar-DdQQwtwd.js} +2 -2
  64. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js.map → CollaboratorBar-DdQQwtwd.js.map} +1 -1
  65. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js → CommentsPanel-C8AKtxiG.js} +2 -2
  66. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js.map → CommentsPanel-C8AKtxiG.js.map} +1 -1
  67. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js → CommentsSidebar-FxY0RHSq.js} +4 -4
  68. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js.map → CommentsSidebar-FxY0RHSq.js.map} +1 -1
  69. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js → CountdownBlock-DGgnPUlu.js} +3 -3
  70. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js.map → CountdownBlock-DGgnPUlu.js.map} +1 -1
  71. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js → CountdownToolbar-9PtYUgCW.js} +6 -6
  72. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js.map → CountdownToolbar-9PtYUgCW.js.map} +1 -1
  73. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js → IssuesPanel-Co-ffgWa.js} +6 -6
  74. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js.map → IssuesPanel-Co-ffgWa.js.map} +1 -1
  75. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js → LanguageMenu-Cl0ajnXZ.js} +6 -6
  76. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js.map → LanguageMenu-Cl0ajnXZ.js.map} +1 -1
  77. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js → LocaleNotices-BVDJ7kyj.js} +3 -3
  78. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js.map → LocaleNotices-BVDJ7kyj.js.map} +1 -1
  79. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js → LogicTagInsertButton-DPYA8LJW.js} +9 -9
  80. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js.map → LogicTagInsertButton-DPYA8LJW.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js → MergeTagInput-Cxfjq3tx.js} +3 -3
  82. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js.map → MergeTagInput-Cxfjq3tx.js.map} +1 -1
  83. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js → MergeTagModeToggle-BmNGV3yc.js} +3 -3
  84. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js.map → MergeTagModeToggle-BmNGV3yc.js.map} +1 -1
  85. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js → MergeTagTextarea-DmwrPAss.js} +5 -5
  86. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js.map → MergeTagTextarea-DmwrPAss.js.map} +1 -1
  87. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js → ParagraphEditor-BoGELRr-.js} +10 -10
  88. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js.map → ParagraphEditor-BoGELRr-.js.map} +1 -1
  89. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js → RestoreVersionDialog-CaKiSq-9.js} +4 -4
  90. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js.map → RestoreVersionDialog-CaKiSq-9.js.map} +1 -1
  91. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js → RichTextEditorContent-Dq4TROOg.js} +6 -6
  92. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js.map → RichTextEditorContent-Dq4TROOg.js.map} +1 -1
  93. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js → SaveBlockDialog-BAR0G4UO.js} +12 -12
  94. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js.map → SaveBlockDialog-BAR0G4UO.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js → SavedBlocksBrowserModal-C-KYaLkQ.js} +7 -7
  96. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js.map → SavedBlocksBrowserModal-C-KYaLkQ.js.map} +1 -1
  97. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js → SavedBlocksPanels-C3OF0EeB.js} +2 -2
  98. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js.map → SavedBlocksPanels-C3OF0EeB.js.map} +1 -1
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js → SavedBlocksPickBar-BnyPXw5W.js} +4 -4
  100. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js.map → SavedBlocksPickBar-BnyPXw5W.js.map} +1 -1
  101. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js → TemplateSettings-uoiUkd2l.js} +6 -6
  102. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js.map → TemplateSettings-uoiUkd2l.js.map} +1 -1
  103. package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js +240 -0
  104. package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js.map +1 -0
  105. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js → TestEmailPanel--fPi6QjN.js} +2 -2
  106. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js.map → TestEmailPanel--fPi6QjN.js.map} +1 -1
  107. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js → TitleEditor-Cn4fnSpa.js} +7 -7
  108. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js.map → TitleEditor-Cn4fnSpa.js.map} +1 -1
  109. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js → Toolbar-BzAuH2G4.js} +19 -19
  110. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js.map → Toolbar-BzAuH2G4.js.map} +1 -1
  111. package/dist/cdn/chunks/{TplModal-DE6BniBg.js → TplModal-jMfK19PC.js} +4 -4
  112. package/dist/cdn/chunks/{TplModal-DE6BniBg.js.map → TplModal-jMfK19PC.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js → VersionHistoryMenu-DDqYMqC2.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js.map → VersionHistoryMenu-DDqYMqC2.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js → VersionHistoryPanels-DJpySkvq.js} +2 -2
  116. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js.map → VersionHistoryPanels-DJpySkvq.js.map} +1 -1
  117. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js → VersionPreviewBanner-CYT5QUoc.js} +3 -3
  118. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js.map → VersionPreviewBanner-CYT5QUoc.js.map} +1 -1
  119. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js → WrapperBlock-Bi9XgDmX.js} +4 -4
  120. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js.map → WrapperBlock-Bi9XgDmX.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +2 -1
  122. package/dist/cdn/chunks/{ca-BJn8lcJx.js.map → ca-YfIxwO1G.js.map} +1 -1
  123. package/dist/cdn/chunks/{composables-CkthyXi9.js → composables-Cp6gZ7qV.js} +468 -451
  124. package/dist/cdn/chunks/composables-Cp6gZ7qV.js.map +1 -0
  125. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js → createCloudRuntime-D8zeR9D2.js} +2 -2
  126. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js.map → createCloudRuntime-D8zeR9D2.js.map} +1 -1
  127. package/dist/cdn/chunks/{da-qQzj0QGy.js → da-CM6DCvRG.js} +2 -1
  128. package/dist/cdn/chunks/{da-qQzj0QGy.js.map → da-CM6DCvRG.js.map} +1 -1
  129. package/dist/cdn/chunks/{de-BLFp3nWx.js → de-Dugz1zXC.js} +2 -1
  130. package/dist/cdn/chunks/{de-BLFp3nWx.js.map → de-Dugz1zXC.js.map} +1 -1
  131. package/dist/cdn/chunks/{en-DGGQJGbm.js → en-BykoFuFY.js} +2 -1
  132. package/dist/cdn/chunks/{en-DGGQJGbm.js.map → en-BykoFuFY.js.map} +1 -1
  133. package/dist/cdn/chunks/{es-DTY9qgLv.js → es-DaWsTkpj.js} +2 -1
  134. package/dist/cdn/chunks/{es-DTY9qgLv.js.map → es-DaWsTkpj.js.map} +1 -1
  135. package/dist/cdn/chunks/{extensions-Djyg5slk.js → extensions-BYJPv1sA.js} +4 -4
  136. package/dist/cdn/chunks/{extensions-Djyg5slk.js.map → extensions-BYJPv1sA.js.map} +1 -1
  137. package/dist/cdn/chunks/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +2 -1
  138. package/dist/cdn/chunks/{fr-L4FqO9Gp.js.map → fr-DqwQHtJo.js.map} +1 -1
  139. package/dist/cdn/chunks/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +2 -1
  140. package/dist/cdn/chunks/{ja-6uOXkh4v.js.map → ja-BH4MS1Ye.js.map} +1 -1
  141. package/dist/cdn/chunks/{keys-BQqbBUag.js → keys-DNv3xXxI.js} +4 -4
  142. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +1 -0
  143. package/dist/cdn/chunks/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +2 -1
  144. package/dist/cdn/chunks/{nl-DCxuxwNq.js.map → nl-BQl1_UHv.js.map} +1 -1
  145. package/dist/{pt-BR-CBkcrebr.js → cdn/chunks/pt-BR-eyzmU9Vs.js} +3 -0
  146. package/dist/cdn/chunks/{pt-BR-CBkcrebr.js.map → pt-BR-eyzmU9Vs.js.map} +1 -1
  147. package/dist/cdn/chunks/{socialIcons-CkgQUpim.js → socialIcons-bvQ57o1m.js} +484 -467
  148. package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +1 -0
  149. package/dist/cdn/chunks/src-CVHGPKSW.js.map +1 -1
  150. package/dist/cdn/chunks/{src-CymzjJYe.js → src-aFRxbwqP.js} +2 -2
  151. package/dist/cdn/chunks/{src-CymzjJYe.js.map → src-aFRxbwqP.js.map} +1 -1
  152. package/dist/cdn/chunks/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +6 -6
  153. package/dist/cdn/chunks/styleConstants-Br6CIRoS.js.map +1 -0
  154. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js → useCloudI18n-CWgySYuJ.js} +2 -2
  155. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js.map → useCloudI18n-CWgySYuJ.js.map} +1 -1
  156. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js → useEditorRoot-BA4vV7sK.js} +2 -2
  157. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js.map → useEditorRoot-BA4vV7sK.js.map} +1 -1
  158. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js → useI18n-JsIdvX-i.js} +2 -2
  159. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js.map → useI18n-JsIdvX-i.js.map} +1 -1
  160. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js → useLogicTag-C10Wef7d.js} +2 -2
  161. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js.map → useLogicTag-C10Wef7d.js.map} +1 -1
  162. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js → useMergeTag-Dd26TcvH.js} +2 -2
  163. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js.map → useMergeTag-Dd26TcvH.js.map} +1 -1
  164. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js → usePopoverPosition-DWRQRT2P.js} +2 -2
  165. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js.map → usePopoverPosition-DWRQRT2P.js.map} +1 -1
  166. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js → useScrollToBlock-CArjwH-u.js} +2 -2
  167. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js.map → useScrollToBlock-CArjwH-u.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +709 -617
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{composables-BrzGZQkd.js → composables-jTnTSqdm.js} +633 -616
  172. package/dist/{createCloudRuntime-DgQfMi22.js → createCloudRuntime-DiUnYjKr.js} +1 -1
  173. package/dist/{da-qQzj0QGy.js → da-CM6DCvRG.js} +1 -0
  174. package/dist/{de-BLFp3nWx.js → de-Dugz1zXC.js} +1 -0
  175. package/dist/{en-DGGQJGbm.js → en-BykoFuFY.js} +1 -0
  176. package/dist/{es-DTY9qgLv.js → es-DaWsTkpj.js} +1 -0
  177. package/dist/{extensions-Cyp2x7cD.js → extensions-CAuXwpbI.js} +3 -3
  178. package/dist/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +1 -0
  179. package/dist/index.d.ts +90 -9
  180. package/dist/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +1 -0
  181. package/dist/{keys-D9oKZN1h.js → keys-BeQy64On.js} +3 -3
  182. package/dist/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +1 -0
  183. package/dist/{cdn/chunks/pt-BR-CBkcrebr.js → pt-BR-eyzmU9Vs.js} +1 -2
  184. package/dist/{socialIcons-ZfH8PyV2.js → socialIcons-RKdTgJip.js} +376 -359
  185. package/dist/style.css +1 -1
  186. package/dist/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +5 -5
  187. package/dist/templatical-editor.js +761 -668
  188. package/dist/{useCloudI18n-HhCZYRV6.js → useCloudI18n-nMZ9f_4b.js} +1 -1
  189. package/dist/{useEditorRoot-B0Njczhx.js → useEditorRoot-DpssP9rX.js} +1 -1
  190. package/dist/{useI18n-CM9vKbYc.js → useI18n-C2p-qHeb.js} +1 -1
  191. package/dist/{useLogicTag-BTCtn-uG.js → useLogicTag-59fmujI7.js} +1 -1
  192. package/dist/{useMergeTag-QlXUjCWT.js → useMergeTag-M1vauWet.js} +1 -1
  193. package/dist/{usePopoverPosition-CVRzzLkC.js → usePopoverPosition-L9MOHBM-.js} +1 -1
  194. package/dist/{useScrollToBlock-DruzlN2h.js → useScrollToBlock-BMF0Dt5l.js} +1 -1
  195. package/package.json +7 -7
  196. package/dist/TestEmailModal-CYq9Ec7x.js +0 -212
  197. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js +0 -212
  198. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js.map +0 -1
  199. package/dist/cdn/chunks/composables-CkthyXi9.js.map +0 -1
  200. package/dist/cdn/chunks/keys-BQqbBUag.js.map +0 -1
  201. package/dist/cdn/chunks/socialIcons-CkgQUpim.js.map +0 -1
  202. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +0 -1
@@ -2,7 +2,7 @@ import { B as e, N as t, c as n, et as r } from "./vue.runtime.esm-bundler-BE5V8
2
2
  import { v as i } from "./dist-BTjObRcv.js";
3
3
  import { t as a } from "./preRenderCustomBlocks-CgPtlLGL.js";
4
4
  import { t as o } from "./logger-BOu7oEtk.js";
5
- import { f as s, o as c } from "./keys-D9oKZN1h.js";
5
+ import { f as s, o as c } from "./keys-BeQy64On.js";
6
6
  // ../core/dist/cloud/index.js
7
7
  function l(e) {
8
8
  let t = e instanceof i ? e.statusCode : void 0;
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Opdater eksempelvisning",
880
881
  resolving: "Henter data til eksempelvisning…",
881
882
  failed: "Eksempelvisningen kunne ikke hentes — viser skabelonen uden data.",
882
883
  hint: "Eksempelvisningen bruger data fra din backend."
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Vorschau aktualisieren",
880
881
  resolving: "Vorschau wird aufgelöst…",
881
882
  failed: "Die Vorschau konnte nicht aufgelöst werden — die unaufgelöste Vorlage wird angezeigt.",
882
883
  hint: "Die Vorschau verwendet aufgelöste Daten aus Ihrem Backend."
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Refresh preview",
880
881
  resolving: "Resolving preview…",
881
882
  failed: "Preview couldn't be resolved — showing the unresolved template.",
882
883
  hint: "Preview uses resolved data from your backend."
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Actualizar vista previa",
880
881
  resolving: "Resolviendo la vista previa…",
881
882
  failed: "No se pudo resolver la vista previa; se muestra la plantilla sin resolver.",
882
883
  hint: "La vista previa usa datos resueltos por tu backend."
@@ -1,11 +1,11 @@
1
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";
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
- import { t as k } from "./useI18n-CM9vKbYc.js";
5
- import { t as A } from "./useMergeTag-QlXUjCWT.js";
4
+ import { t as k } from "./useI18n-C2p-qHeb.js";
5
+ import { t as A } from "./useMergeTag-M1vauWet.js";
6
6
  import { Zt as j, _ as M, dt as N, ft as P, k as F, xt as I } from "./dist-BTjObRcv.js";
7
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-DFL3kvGK.js";
8
+ import { a as ne, o as re, s as ie } from "./LogicTagInsertButton-BDIsyl3C.js";
9
9
  // src/extensions/FontSize.ts
10
10
  var ae = s.create({
11
11
  name: "fontSize",
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Actualiser l’aperçu",
880
881
  resolving: "Résolution de l’aperçu…",
881
882
  failed: "L’aperçu n’a pas pu être résolu — le modèle non résolu est affiché.",
882
883
  hint: "L’aperçu utilise des données résolues par votre backend."
package/dist/index.d.ts CHANGED
@@ -1283,6 +1283,24 @@ export declare function getSupportedCloudLocales(): string[];
1283
1283
  /** List of OSS-supported locales. */
1284
1284
  export declare function getSupportedLocales(): string[];
1285
1285
 
1286
+ export declare interface HeaderOptions {
1287
+ /**
1288
+ * An element the host owns and renders into. The editor places it in the
1289
+ * header's right column before Test email and Save, and never clones,
1290
+ * rewrites or removes its children. It sets `data-tpl-compact` and
1291
+ * `data-tpl-theme` so the host can style it. To measure the header's full
1292
+ * width it briefly removes `data-tpl-compact` and sets an inline
1293
+ * `width: max-content` and `flex-shrink: 0`, restoring both in the same task.
1294
+ */
1295
+ actions?: HTMLElement;
1296
+ /** `false` hides the dark-mode preview toggle. Defaults to `true`. */
1297
+ darkModeToggle?: boolean;
1298
+ /** `false` hides the Preview toggle. Defaults to `true`. */
1299
+ previewToggle?: boolean;
1300
+ /** `false` hides the Desktop/Mobile viewport switch. Defaults to `true`. */
1301
+ viewportToggle?: boolean;
1302
+ }
1303
+
1286
1304
  declare type HeadingLevel = 1 | 2 | 3 | 4;
1287
1305
 
1288
1306
  /** Where a hero's content sits in its box. */
@@ -2074,21 +2092,50 @@ declare interface ParagraphBlock extends BaseBlock {
2074
2092
  /**
2075
2093
  * Context handed to `resolvePreview`.
2076
2094
  *
2077
- * `recipient` is present only on surfaces that have one — the test-email
2078
- * dialog — and absent in the editor's own preview mode. Treat its absence as
2079
- * "no particular recipient", not as an error: a resolver should still return
2080
- * something renderable, typically its own default or sample data.
2095
+ * `surface` tells the editor's own preview mode and the test-email dialog
2096
+ * apart; the presence of `recipient` does not. `recipient` is absent in preview
2097
+ * mode, and also in the test-email dialog while its recipient field is empty.
2098
+ * Treat its absence as "no particular recipient", not as an error: a resolver
2099
+ * should still return something renderable, its own default or sample data,
2100
+ * or obtain a recipient itself, for example by awaiting its own picker on
2101
+ * `surface: "preview"` with `trigger: "open"` or `"refresh"` (see
2102
+ * guide/preview-rendering).
2081
2103
  */
2082
- declare interface PreviewResolveContext {
2104
+ export declare interface PreviewResolveContext {
2083
2105
  /**
2084
2106
  * The template as it currently stands. Already a copy — mutating it has no
2085
2107
  * effect on the editor, and returning it unchanged is a valid no-op.
2086
2108
  */
2087
2109
  content: TemplateContent;
2088
- /** The address the preview is being shown for, when the surface has one. */
2110
+ /**
2111
+ * The test-email dialog's recipient field value, set only while that field
2112
+ * is non-empty. A free-text field passes what the user has typed so far,
2113
+ * which may be an incomplete address: validate it before looking up
2114
+ * recipient data.
2115
+ */
2089
2116
  recipient?: string;
2117
+ /**
2118
+ * Which preview is calling, on every call including a refresh:
2119
+ * - "preview": the editor's own preview mode;
2120
+ * - "test-email": the test-email dialog's preview.
2121
+ */
2122
+ surface: PreviewSurface;
2123
+ /**
2124
+ * Why this call happened:
2125
+ * - "open": a preview surface opened (editor preview mode, or the test-email dialog);
2126
+ * - "refresh": the user clicked Refresh preview, or the host called `refreshPreview()`;
2127
+ * - "recipient": the test-email recipient changed;
2128
+ * - "locale": the template language changed while a preview was open.
2129
+ */
2130
+ trigger: PreviewResolveTrigger;
2090
2131
  }
2091
2132
 
2133
+ /** Why `resolvePreview` was called. */
2134
+ export declare type PreviewResolveTrigger = "open" | "refresh" | "recipient" | "locale";
2135
+
2136
+ /** Which preview is calling `resolvePreview`. */
2137
+ export declare type PreviewSurface = "preview" | "test-email";
2138
+
2092
2139
  declare interface RemoveLocaleOperation {
2093
2140
  op: "removeLocale";
2094
2141
  locale: string;
@@ -2220,7 +2267,7 @@ export declare type ResolveImageUrl = (src: string) => string | null | Promise<s
2220
2267
  * `getContent()`, never sent, and never exported. Rejecting is safe — the
2221
2268
  * preview falls back to the unresolved template and says so.
2222
2269
  */
2223
- declare type ResolvePreview = (context: PreviewResolveContext) => Promise<TemplateContent>;
2270
+ export declare type ResolvePreview = (context: PreviewResolveContext) => Promise<TemplateContent>;
2224
2271
 
2225
2272
  /** A batch as the backend applied it, at the revision it produced. */
2226
2273
  export declare interface RevisionedBatch {
@@ -3054,6 +3101,8 @@ export declare interface TemplaticalCloudEditorConfig {
3054
3101
  * Cloud white-label plans hide the footer regardless of this setting.
3055
3102
  */
3056
3103
  branding?: boolean;
3104
+ /** Header actions and view-toggle opt-outs; forwarded to `init()`. */
3105
+ header?: HeaderOptions;
3057
3106
  /**
3058
3107
  * Show a "use a larger screen" notice instead of the editor chrome on
3059
3108
  * viewports narrower than ~768px. Defaults to `true`.
@@ -3264,6 +3313,13 @@ export declare interface TemplaticalCloudEditorConfig {
3264
3313
  * The **same key and the same type as `init()`**, so adopting or dropping it
3265
3314
  * is a one-line change either way. Not plan-gated: this is a display concern,
3266
3315
  * and Cloud has no server-side resolver of its own to supersede it.
3316
+ * Called with `trigger: "open"` when a preview opens, `"recipient"` when the
3317
+ * test-email recipient changes, `"locale"` when the template language changes,
3318
+ * and `"refresh"` when the user clicks Refresh preview or calls
3319
+ * `refreshPreview()`. Recipient changes debounce; refresh runs immediately.
3320
+ * `surface` is `"preview"` for preview mode and `"test-email"` for the
3321
+ * test-email dialog; tell them apart by it, not by `recipient`, which the
3322
+ * dialog omits while its recipient field is empty.
3267
3323
  *
3268
3324
  * Supersedes `MergeTag.sample` when configured, and the Sample/Label switch
3269
3325
  * stops rendering.
@@ -3330,6 +3386,13 @@ declare interface TemplaticalEditorBase {
3330
3386
  getLocale(): string;
3331
3387
  setLocale(locale: string): void;
3332
3388
  setContent(content: TemplateContent): void;
3389
+ /**
3390
+ * Re-run `resolvePreview` for the preview that is showing, immediately and with
3391
+ * `trigger: "refresh"`. Targets the test-email dialog's preview while that dialog
3392
+ * is open, otherwise the editor's preview mode. Does nothing when no preview is
3393
+ * open, when `resolvePreview` isn't configured, or once the instance is unmounted.
3394
+ */
3395
+ refreshPreview(): void;
3333
3396
  /**
3334
3397
  * Insert a block where a click on a palette item would put it: below the
3335
3398
  * selected block, in the same column when the selection is inside a section
@@ -3631,8 +3694,14 @@ export declare interface TemplaticalEditorConfig {
3631
3694
  * Resolves the template for preview surfaces — typically evaluating logic
3632
3695
  * tags (`{% if %}` … `{% endif %}`) against real data on your backend.
3633
3696
  *
3634
- * Called when a preview opens and when the test-email recipient changes,
3635
- * debounced. Display-only: the result never reaches `getContent()`, a send or
3697
+ * Called with `trigger: "open"` when a preview opens, `"recipient"` when the
3698
+ * test-email recipient changes, `"locale"` when the template language changes,
3699
+ * and `"refresh"` when the user clicks Refresh preview or calls
3700
+ * `refreshPreview()`. Recipient changes debounce; refresh runs immediately.
3701
+ * `surface` is `"preview"` for preview mode and `"test-email"` for the
3702
+ * test-email dialog; tell them apart by it, not by `recipient`, which the
3703
+ * dialog omits while its recipient field is empty.
3704
+ * Display-only: the result never reaches `getContent()`, a send or
3636
3705
  * an export. Rejecting is safe — the preview falls back to the unresolved
3637
3706
  * template and says so.
3638
3707
  *
@@ -3982,6 +4051,18 @@ export declare interface TemplaticalEditorConfig {
3982
4051
  * Set to `false` to hide the footer (no attribution required by the license).
3983
4052
  */
3984
4053
  branding?: boolean;
4054
+ /**
4055
+ * Header controls and view-toggle visibility. The editor moves your
4056
+ * `actions` element into the right column before Test email and Save.
4057
+ * Toggle flags are read once when the editor mounts.
4058
+ *
4059
+ * @example
4060
+ * const actions = document.createElement("div");
4061
+ * const editor = await init({ container, header: {
4062
+ * actions, previewToggle: false,
4063
+ * } });
4064
+ */
4065
+ header?: HeaderOptions;
3985
4066
  /**
3986
4067
  * Show a "use a larger screen" notice instead of the editor chrome on
3987
4068
  * viewports narrower than ~768px. Defaults to `true`.
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "プレビューを更新",
880
881
  resolving: "プレビューを生成中…",
881
882
  failed: "プレビューを生成できませんでした。差し込み前のテンプレートを表示します。",
882
883
  hint: "プレビューにはバックエンドで解決したデータを使用します。"
@@ -1,9 +1,9 @@
1
1
  import { nt as e, w as t } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
2
  // src/keys.ts
3
- var n = Symbol("translations"), r = Symbol("localeChipOpeners"), i = Symbol("localization"), a = Symbol("ancestorHiddenLocales"), o = Symbol("editor"), s = Symbol("aiFeature"), c = Symbol("translationFeature"), l = Symbol("activeLocaleCoverage"), u = Symbol("localizedContent"), d = Symbol("localeActions"), f = Symbol("history"), p = Symbol("blockActions"), m = Symbol("conditionPreview"), h = Symbol("appliesConditionFilter"), g = Symbol("fontsManager"), _ = Symbol("themeStyles"), v = Symbol("tplUiTheme"), y = Symbol("tplUiLocale"), b = Symbol("blockDefaults"), x = Symbol("blockRegistry"), S = Symbol("customBlockDefinitions"), C = Symbol("paletteBlocks"), w = Symbol("htmlBlockPreview"), T = Symbol("layout"), E = Symbol("sectionWrapper"), D = Symbol("colors"), O = Symbol("templateSettingsFields"), k = Symbol("customBlockStylesheets"), A = Symbol("mergeTags"), j = e([]), ee = Symbol("mergeTagSyntax"), M = Symbol("onRequestMergeTag"), N = Symbol("mergeTagAutocomplete"), P = Symbol("mergeTagShowRawValue"), F = Symbol("mergeTagSampleMode"), I = Symbol("useMergeTagSamples"), L = Symbol("readOnlySurface"), R = Symbol("resolvePreview"), z = Symbol("previewResolution"), B = Symbol("mergeTagPicker"), V = Symbol("mergeTagRequesting"), H = Symbol("logicTagRequesting"), U = Symbol("logicTags"), W = Symbol("logicPairs"), G = Symbol("logicPicker"), K = Symbol("onRequestLogic"), q = Symbol("onRequestMedia"), J = Symbol("canDropMedia"), Y = Symbol("imageUrlResolver"), X = Symbol("displayConditions"), Z = Symbol("allowCustomConditions"), Q = Symbol("onRequestDisplayCondition"), $ = Symbol("capabilities"), te = Symbol("keyboardReorder"), ne = Symbol("templateLint"), re = Symbol("sizeCheck"), ie = Symbol("editorRoot"), ae = Symbol("popoverRoot"), oe = Symbol("savedBlocks"), se = Symbol("authManager"), ce = Symbol("cloudTranslations");
4
- function le(e, n) {
3
+ var n = Symbol("translations"), r = Symbol("localeChipOpeners"), i = Symbol("localization"), a = Symbol("ancestorHiddenLocales"), o = Symbol("editor"), s = Symbol("aiFeature"), c = Symbol("translationFeature"), l = Symbol("activeLocaleCoverage"), u = Symbol("localizedContent"), d = Symbol("localeActions"), f = Symbol("history"), p = Symbol("blockActions"), m = Symbol("conditionPreview"), h = Symbol("appliesConditionFilter"), g = Symbol("fontsManager"), _ = Symbol("themeStyles"), v = Symbol("tplUiTheme"), y = Symbol("tplUiLocale"), b = Symbol("blockDefaults"), x = Symbol("blockRegistry"), S = Symbol("customBlockDefinitions"), C = Symbol("paletteBlocks"), w = Symbol("htmlBlockPreview"), T = Symbol("layout"), E = Symbol("sectionWrapper"), D = Symbol("colors"), O = Symbol("templateSettingsFields"), k = Symbol("customBlockStylesheets"), A = Symbol("mergeTags"), j = e([]), ee = Symbol("mergeTagSyntax"), M = Symbol("onRequestMergeTag"), N = Symbol("mergeTagAutocomplete"), P = Symbol("mergeTagShowRawValue"), F = Symbol("mergeTagSampleMode"), I = Symbol("useMergeTagSamples"), L = Symbol("readOnlySurface"), R = Symbol("resolvePreview"), z = Symbol("registerDialogPreviewRefresh"), B = Symbol("previewResolution"), V = Symbol("mergeTagPicker"), H = Symbol("mergeTagRequesting"), U = Symbol("logicTagRequesting"), W = Symbol("logicTags"), G = Symbol("logicPairs"), K = Symbol("logicPicker"), q = Symbol("onRequestLogic"), J = Symbol("onRequestMedia"), Y = Symbol("canDropMedia"), X = Symbol("imageUrlResolver"), Z = Symbol("displayConditions"), Q = Symbol("allowCustomConditions"), $ = Symbol("onRequestDisplayCondition"), te = Symbol("capabilities"), ne = Symbol("keyboardReorder"), re = Symbol("templateLint"), ie = Symbol("sizeCheck"), ae = Symbol("editorRoot"), oe = Symbol("popoverRoot"), se = Symbol("savedBlocks"), ce = Symbol("authManager"), le = Symbol("cloudTranslations");
4
+ function ue(e, n) {
5
5
  let r = t(e, null);
6
6
  if (r == null) throw Error(`${n} requires a provider for ${e.description ?? "unknown key"}. Ensure it renders inside the editor, below Editor.vue.`);
7
7
  return r;
8
8
  }
9
- export { re as $, W as A, ee as B, Y as C, r as D, d as E, N as F, M as G, Q as H, B as I, z as J, C as K, V as L, G as M, H as N, i as O, A as P, E as Q, F as R, w as S, T, K as U, j as V, q as W, R as X, L as Y, oe as Z, X as _, h as a, y as at, g as b, b as c, le as ct, $ as d, ne as et, ce as f, k as g, S as h, a as i, c as it, U as j, u as k, x as l, m, s as n, _ as nt, se as o, v as ot, D as p, ae as q, Z as r, n as rt, p as s, I as st, l as t, O as tt, J as u, o as v, te as w, f as x, ie as y, P as z };
9
+ export { E as $, G as A, ee as B, X as C, r as D, d as E, N as F, M as G, $ as H, V as I, B as J, C as K, H as L, K as M, U as N, i as O, A as P, se as Q, F as R, w as S, T, q as U, j as V, J as W, z as X, L as Y, R as Z, Z as _, h as a, c as at, g as b, b as c, I as ct, te as d, ie as et, le as f, k as g, S as h, a as i, n as it, W as j, u as k, x as l, ue as lt, m, s as n, O as nt, ce as o, y as ot, D as p, oe as q, Q as r, _ as rt, p as s, v as st, l as t, re as tt, Y as u, o as v, ne as w, f as x, ae as y, P as z };
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Voorbeeld vernieuwen",
880
881
  resolving: "Voorbeeld wordt opgelost…",
881
882
  failed: "Het voorbeeld kon niet worden opgelost — het niet-opgeloste sjabloon wordt weergegeven.",
882
883
  hint: "Het voorbeeld gebruikt opgeloste gegevens uit uw backend."
@@ -877,6 +877,7 @@ var e = {
877
877
  }
878
878
  },
879
879
  previewResolution: {
880
+ refresh: "Atualizar pré-visualização",
880
881
  resolving: "Resolvendo a pré-visualização…",
881
882
  failed: "Não foi possível resolver a pré-visualização — exibindo o modelo não resolvido.",
882
883
  hint: "A pré-visualização usa dados resolvidos pelo seu backend."
@@ -946,5 +947,3 @@ var e = {
946
947
  }
947
948
  };
948
949
  export { e as default };
949
-
950
- //# sourceMappingURL=pt-BR-CBkcrebr.js.map