@templatical/editor 0.26.2 → 0.27.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 (285) hide show
  1. package/README.md +3 -1
  2. package/dist/{AiChatSidebar-CMBz6Wix.js → AiChatSidebar-iVJDzqjr.js} +60 -60
  3. package/dist/AiFeatureMenu-DvrK-dzj.js +57 -0
  4. package/dist/{BlockIssueBadge-Buk3_6QF.js → BlockIssueBadge-BHysq7XQ.js} +11 -11
  5. package/dist/BlockPreviewCanvas-GZbr0ph5.js +121 -0
  6. package/dist/CloudHeaderExtras-Cx8gFWu2.js +59 -0
  7. package/dist/CloudPanels-D0X449DD.js +227 -0
  8. package/dist/{CollaboratorBar-zvfvE7f-.js → CollaboratorBar-DMSWCrX3.js} +21 -21
  9. package/dist/ColorPicker-DCjFQCAg.js +501 -0
  10. package/dist/CommentsPanel-D5wQB1Kf.js +18 -0
  11. package/dist/CommentsSidebar-BoTIxpLE.js +481 -0
  12. package/dist/{cdn/chunks/CountdownBlock-vLTkTI9e.js → CountdownBlock-BFX8iU90.js} +19 -21
  13. package/dist/{cdn/chunks/CountdownToolbar-DPjcgcVR.js → CountdownToolbar-CSftc9Ma.js} +52 -53
  14. package/dist/{DesignReferenceSidebar-Bx96XFmK.js → DesignReferenceSidebar-DKsx2TiL.js} +72 -71
  15. package/dist/{IssuesPanel-Do7RLXsP.js → IssuesPanel-flKKwKpM.js} +38 -38
  16. package/dist/{LoadingTrack-BexpNuTV.js → LoadingTrack-C2T8ixEL.js} +3 -3
  17. package/dist/{MergeTagModeToggle-P-UguQHc.js → MergeTagModeToggle-PKCoKAoF.js} +43 -43
  18. package/dist/{MergeTagSuggestion-BJ43ihWR.js → MergeTagSuggestion-DGha0WRp.js} +46 -46
  19. package/dist/{cdn/chunks/NumberWithSuffix-BXrRdfq1.js → NumberWithSuffix-DdPCXfKf.js} +42 -44
  20. package/dist/{ParagraphEditor-CLvv5Ija.js → ParagraphEditor-vDU-5y6r.js} +202 -199
  21. package/dist/RestoreVersionDialog-DIn1muFD.js +86 -0
  22. package/dist/{RichTextEditorContent-fbYJXAio.js → RichTextEditorContent-I83k5DtQ.js} +44 -44
  23. package/dist/SaveBlockDialog-C_QvYAeL.js +266 -0
  24. package/dist/{SavedBlocksBrowserModal-KWlaiLlr.js → SavedBlocksBrowserModal-CefWWcdT.js} +116 -115
  25. package/dist/{cdn/chunks/SavedBlocksPanels-e4HyTZ8v.js → SavedBlocksPanels-DnQwO-7O.js} +9 -11
  26. package/dist/{SavedBlocksPickBar-C3h8oL3r.js → SavedBlocksPickBar-BsFubArH.js} +17 -17
  27. package/dist/{TemplateScoringPanel-BZUsb3FD.js → TemplateScoringPanel-Bv_bBsJi.js} +87 -87
  28. package/dist/TestEmailModal-STPWDP79.js +206 -0
  29. package/dist/{cdn/chunks/TestEmailPanel-CZAG1gQE.js → TestEmailPanel-HYVjApKZ.js} +4 -6
  30. package/dist/TitleEditor-DnB0EJ_g.js +198 -0
  31. package/dist/TplModal-chvLhXmC.js +49 -0
  32. package/dist/VersionHistoryMenu-Cq4rH56t.js +155 -0
  33. package/dist/VersionHistoryPanels-D7k_F7-9.js +46 -0
  34. package/dist/VersionPreviewBanner-DthyHe6C.js +38 -0
  35. package/dist/{blockTypeIcons-2_85L_CL.js → blockTypeIcons-B8r4jMBn.js} +6 -6
  36. package/dist/bundle-stats.json +8 -8
  37. package/dist/{ca-D1zgI9fQ.js → ca-Cqg9O8mx.js} +69 -6
  38. package/dist/cdn/chunks/{AiChatSidebar-CQ8KUmNB.js → AiChatSidebar-DTUoBH5a.js} +54 -54
  39. package/dist/cdn/chunks/AiChatSidebar-DTUoBH5a.js.map +1 -0
  40. package/dist/cdn/chunks/AiFeatureMenu-Dyh7mUMB.js +57 -0
  41. package/dist/cdn/chunks/AiFeatureMenu-Dyh7mUMB.js.map +1 -0
  42. package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js → BlockIssueBadge-UzSSOM_2.js} +13 -13
  43. package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js.map → BlockIssueBadge-UzSSOM_2.js.map} +1 -1
  44. package/dist/cdn/chunks/{BlockPreviewCanvas-DPtiMsVz.js → BlockPreviewCanvas-DStQFo9P.js} +42 -42
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-DPtiMsVz.js.map → BlockPreviewCanvas-DStQFo9P.js.map} +1 -1
  46. package/dist/cdn/chunks/CloudHeaderExtras-BZVu7dnO.js +60 -0
  47. package/dist/cdn/chunks/CloudHeaderExtras-BZVu7dnO.js.map +1 -0
  48. package/dist/cdn/chunks/CloudPanels-CXbaBKHQ.js +227 -0
  49. package/dist/cdn/chunks/CloudPanels-CXbaBKHQ.js.map +1 -0
  50. package/dist/cdn/chunks/{CollaboratorBar-BF469_AN.js → CollaboratorBar-BH_lZlat.js} +22 -22
  51. package/dist/cdn/chunks/CollaboratorBar-BH_lZlat.js.map +1 -0
  52. package/dist/cdn/chunks/ColorPicker-CStXen0Y.js +502 -0
  53. package/dist/cdn/chunks/ColorPicker-CStXen0Y.js.map +1 -0
  54. package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js +20 -0
  55. package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js.map +1 -0
  56. package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js +460 -0
  57. package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js.map +1 -0
  58. package/dist/{CountdownBlock-DuyvGcr8.js → cdn/chunks/CountdownBlock-BYSrJWxg.js} +25 -23
  59. package/dist/cdn/chunks/{CountdownBlock-vLTkTI9e.js.map → CountdownBlock-BYSrJWxg.js.map} +1 -1
  60. package/dist/{CountdownToolbar-CBE9wRaV.js → cdn/chunks/CountdownToolbar-CZPtQIb8.js} +66 -63
  61. package/dist/cdn/chunks/{CountdownToolbar-DPjcgcVR.js.map → CountdownToolbar-CZPtQIb8.js.map} +1 -1
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-B-HFXV0W.js → DesignReferenceSidebar-sZWciECR.js} +64 -64
  63. package/dist/cdn/chunks/DesignReferenceSidebar-sZWciECR.js.map +1 -0
  64. package/dist/cdn/chunks/{IssuesPanel-DKTS4QVb.js → IssuesPanel-CHtetM9i.js} +36 -36
  65. package/dist/cdn/chunks/IssuesPanel-CHtetM9i.js.map +1 -0
  66. package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js → LoadingTrack-Dp_QZvAK.js} +3 -3
  67. package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js.map → LoadingTrack-Dp_QZvAK.js.map} +1 -1
  68. package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js → MergeTagModeToggle-ZwW-5EeN.js} +39 -39
  69. package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js.map → MergeTagModeToggle-ZwW-5EeN.js.map} +1 -1
  70. package/dist/cdn/chunks/{MergeTagSuggestion-Dn8dExNa.js → MergeTagSuggestion-DhllqTA3.js} +47 -47
  71. package/dist/cdn/chunks/MergeTagSuggestion-DhllqTA3.js.map +1 -0
  72. package/dist/{NumberWithSuffix-D37ZWiZh.js → cdn/chunks/NumberWithSuffix-yeQLcCyH.js} +37 -35
  73. package/dist/cdn/chunks/NumberWithSuffix-yeQLcCyH.js.map +1 -0
  74. package/dist/cdn/chunks/{ParagraphEditor-Bzcma_Lm.js → ParagraphEditor-BJJ925sx.js} +235 -233
  75. package/dist/cdn/chunks/ParagraphEditor-BJJ925sx.js.map +1 -0
  76. package/dist/cdn/chunks/RestoreVersionDialog-B0Jadu6F.js +87 -0
  77. package/dist/cdn/chunks/RestoreVersionDialog-B0Jadu6F.js.map +1 -0
  78. package/dist/cdn/chunks/{RichTextEditorContent-DtL49Jpo.js → RichTextEditorContent-CfSq2wPR.js} +44 -44
  79. package/dist/cdn/chunks/RichTextEditorContent-CfSq2wPR.js.map +1 -0
  80. package/dist/cdn/chunks/SaveBlockDialog-C1DXh6P9.js +265 -0
  81. package/dist/cdn/chunks/SaveBlockDialog-C1DXh6P9.js.map +1 -0
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C59D4G5C.js → SavedBlocksBrowserModal-BerMxAUt.js} +114 -113
  83. package/dist/cdn/chunks/SavedBlocksBrowserModal-BerMxAUt.js.map +1 -0
  84. package/dist/{SavedBlocksPanels-CQsZvWO_.js → cdn/chunks/SavedBlocksPanels-BUE4lzVP.js} +11 -9
  85. package/dist/cdn/chunks/{SavedBlocksPanels-e4HyTZ8v.js.map → SavedBlocksPanels-BUE4lzVP.js.map} +1 -1
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-DMHxPCM4.js → SavedBlocksPickBar-4HrqQfvl.js} +17 -17
  87. package/dist/cdn/chunks/SavedBlocksPickBar-4HrqQfvl.js.map +1 -0
  88. package/dist/cdn/chunks/{TemplateScoringPanel-NucRtAP0.js → TemplateScoringPanel-Xdkp2EMY.js} +81 -81
  89. package/dist/cdn/chunks/TemplateScoringPanel-Xdkp2EMY.js.map +1 -0
  90. package/dist/cdn/chunks/TestEmailModal-yfmFiavR.js +206 -0
  91. package/dist/cdn/chunks/TestEmailModal-yfmFiavR.js.map +1 -0
  92. package/dist/{TestEmailPanel-B6goIAxT.js → cdn/chunks/TestEmailPanel-DqTDh5ri.js} +6 -4
  93. package/dist/cdn/chunks/{TestEmailPanel-CZAG1gQE.js.map → TestEmailPanel-DqTDh5ri.js.map} +1 -1
  94. package/dist/cdn/chunks/{TitleEditor-D0_LY2Ex.js → TitleEditor-nUAF7fKr.js} +85 -84
  95. package/dist/cdn/chunks/TitleEditor-nUAF7fKr.js.map +1 -0
  96. package/dist/cdn/chunks/TplModal-C0IqikoV.js +50 -0
  97. package/dist/cdn/chunks/TplModal-C0IqikoV.js.map +1 -0
  98. package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js +148 -0
  99. package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js.map +1 -0
  100. package/dist/cdn/chunks/VersionHistoryPanels-6Hz9w20W.js +48 -0
  101. package/dist/cdn/chunks/VersionHistoryPanels-6Hz9w20W.js.map +1 -0
  102. package/dist/cdn/chunks/VersionPreviewBanner-D098_6_I.js +40 -0
  103. package/dist/cdn/chunks/VersionPreviewBanner-D098_6_I.js.map +1 -0
  104. package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js → blockTypeIcons-hX_W4dqo.js} +2 -2
  105. package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js.map → blockTypeIcons-hX_W4dqo.js.map} +1 -1
  106. package/dist/cdn/chunks/{ca-D1zgI9fQ.js → ca-Cqg9O8mx.js} +70 -7
  107. package/dist/cdn/chunks/ca-Cqg9O8mx.js.map +1 -0
  108. package/dist/{cloud-qINCmQbn.js → cdn/chunks/cloud-BA0OpRh-.js} +400 -609
  109. package/dist/cdn/chunks/cloud-BA0OpRh-.js.map +1 -0
  110. package/dist/cdn/chunks/createCloudRuntime-DmzV7OnU.js +344 -0
  111. package/dist/cdn/chunks/createCloudRuntime-DmzV7OnU.js.map +1 -0
  112. package/dist/{de-DHra3lvx.js → cdn/chunks/de-BXmeeFbX.js} +71 -6
  113. package/dist/cdn/chunks/de-BXmeeFbX.js.map +1 -0
  114. package/dist/{de-uVoSP1xF.js → cdn/chunks/de-Dbwm2cON.js} +3 -54
  115. package/dist/cdn/chunks/de-Dbwm2cON.js.map +1 -0
  116. package/dist/cdn/chunks/{dist-B2HKGHnc.js → dist-CM8TB0VD.js} +136 -136
  117. package/dist/cdn/chunks/{dist-B2HKGHnc.js.map → dist-CM8TB0VD.js.map} +1 -1
  118. package/dist/cdn/chunks/{dist-C6z8AjBC.js → dist-CYLJiSiH.js} +63 -63
  119. package/dist/cdn/chunks/{dist-C6z8AjBC.js.map → dist-CYLJiSiH.js.map} +1 -1
  120. package/dist/cdn/chunks/{draggable-DCs9qL-b.js → draggable-BfpsXFg7.js} +916 -905
  121. package/dist/cdn/chunks/{draggable-DCs9qL-b.js.map → draggable-BfpsXFg7.js.map} +1 -1
  122. package/dist/cdn/chunks/{en-DlqX2YWZ.js → en-DbBNy67B.js} +70 -7
  123. package/dist/cdn/chunks/en-DbBNy67B.js.map +1 -0
  124. package/dist/{en-CjhsJxb-.js → cdn/chunks/en-Dzw4EqNI.js} +3 -54
  125. package/dist/cdn/chunks/en-Dzw4EqNI.js.map +1 -0
  126. package/dist/cdn/chunks/{es-Cuss2snv.js → es-JUsAjxWu.js} +70 -7
  127. package/dist/cdn/chunks/es-JUsAjxWu.js.map +1 -0
  128. package/dist/cdn/chunks/{extensions-C7h52yuk.js → extensions-CMcVw2uu.js} +81 -67
  129. package/dist/cdn/chunks/extensions-CMcVw2uu.js.map +1 -0
  130. package/dist/{fr-Cm85vB2g.js → cdn/chunks/fr-J3qgXH4h.js} +71 -6
  131. package/dist/cdn/chunks/fr-J3qgXH4h.js.map +1 -0
  132. package/dist/cdn/chunks/{icons-CvYN6zrM.js → icons-C36Ha5VU.js} +11 -11
  133. package/dist/cdn/chunks/{icons-CvYN6zrM.js.map → icons-C36Ha5VU.js.map} +1 -1
  134. package/dist/{keys-fwF3qZax.js → cdn/chunks/keys-CbQuRX85.js} +6 -4
  135. package/dist/cdn/chunks/keys-CbQuRX85.js.map +1 -0
  136. package/dist/cdn/chunks/logger-ByvdoAwq.js +23 -0
  137. package/dist/cdn/chunks/logger-ByvdoAwq.js.map +1 -0
  138. package/dist/cdn/chunks/{nl-dmiIX7oT.js → nl-D_4DkqOi.js} +70 -7
  139. package/dist/cdn/chunks/nl-D_4DkqOi.js.map +1 -0
  140. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js +23 -0
  141. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js.map +1 -0
  142. package/dist/{pt-BR-CTzHTqJD.js → cdn/chunks/pt-BR-BxzQzWGJ.js} +3 -54
  143. package/dist/cdn/chunks/pt-BR-BxzQzWGJ.js.map +1 -0
  144. package/dist/cdn/chunks/{pt-BR-CaIG-7EM.js → pt-BR-KGURyEEQ.js} +70 -7
  145. package/dist/cdn/chunks/pt-BR-KGURyEEQ.js.map +1 -0
  146. package/dist/cdn/chunks/{src-CUKUsRzX.js → src-BOjFLNf7.js} +148 -134
  147. package/dist/cdn/chunks/src-BOjFLNf7.js.map +1 -0
  148. package/dist/cdn/chunks/{src-xkGep9eN.js → src-Dq3fgSIx.js} +1448 -1458
  149. package/dist/cdn/chunks/src-Dq3fgSIx.js.map +1 -0
  150. package/dist/cdn/chunks/styleConstants-ByDqaYj_.js +61 -0
  151. package/dist/cdn/chunks/styleConstants-ByDqaYj_.js.map +1 -0
  152. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +6 -0
  153. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +1 -0
  154. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js → tiptap-DmpGap5g.js} +40 -40
  155. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js.map → tiptap-DmpGap5g.js.map} +1 -1
  156. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js → useAliveFlag-Dtm174fG.js} +2 -2
  157. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js.map → useAliveFlag-Dtm174fG.js.map} +1 -1
  158. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js → useCloudI18n-NVa1aeY8.js} +5 -5
  159. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js.map → useCloudI18n-NVa1aeY8.js.map} +1 -1
  160. package/dist/cdn/chunks/{useEditorCore-CKQ9gmoo.js → useEditorCore-CTu_qZ3W.js} +1434 -1147
  161. package/dist/cdn/chunks/useEditorCore-CTu_qZ3W.js.map +1 -0
  162. package/dist/cdn/chunks/{useI18n-UMs0F71x.js → useI18n-DVWCJJFH.js} +5 -5
  163. package/dist/cdn/chunks/{useI18n-UMs0F71x.js.map → useI18n-DVWCJJFH.js.map} +1 -1
  164. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js → useMergeTag-BfZBRPQp.js} +4 -4
  165. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js.map → useMergeTag-BfZBRPQp.js.map} +1 -1
  166. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js → usePopoverPosition-BC-HA7TK.js} +3 -3
  167. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js.map → usePopoverPosition-BC-HA7TK.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +5103 -284
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{check-On4TSac-.js → check-DZbmkMQe.js} +1 -1
  172. package/dist/{chevron-down-69EiBGoB.js → chevron-down-nYScOLeZ.js} +1 -1
  173. package/dist/{chevron-up-Dh3MG1Dw.js → chevron-up-CpYpDLnc.js} +1 -1
  174. package/dist/{circle-alert-cilwzafX.js → circle-alert-CuuK6thq.js} +1 -1
  175. package/dist/{clock-Dt0APH92.js → clock-DxkrtqOr.js} +1 -1
  176. package/dist/cloud-BAefVBb_.js +1444 -0
  177. package/dist/createCloudRuntime-Bt8W-ajI.js +342 -0
  178. package/dist/{createLucideIcon-C8WzBYCv.js → createLucideIcon-L-wQXW_R.js} +9 -9
  179. package/dist/{cdn/chunks/de-DHra3lvx.js → de-BXmeeFbX.js} +69 -8
  180. package/dist/{cdn/chunks/de-uVoSP1xF.js → de-Dbwm2cON.js} +1 -56
  181. package/dist/dist-B5iReTtK.js +251 -0
  182. package/dist/{dist-Cl8J0IES.js → dist-Ck9roB6K.js} +42 -42
  183. package/dist/{dist-BpKxrUi2.js → dist-CqcGTIiX.js} +46 -46
  184. package/dist/{en-DlqX2YWZ.js → en-DbBNy67B.js} +69 -6
  185. package/dist/{cdn/chunks/en-CjhsJxb-.js → en-Dzw4EqNI.js} +1 -56
  186. package/dist/{es-Cuss2snv.js → es-JUsAjxWu.js} +69 -6
  187. package/dist/{extensions-DzKNPITR.js → extensions-CX87G4aL.js} +71 -57
  188. package/dist/{cdn/chunks/fr-Cm85vB2g.js → fr-J3qgXH4h.js} +69 -8
  189. package/dist/{image-up-Ceggh_R3.js → image-up-DouZRGVt.js} +1 -1
  190. package/dist/index.d.ts +499 -23
  191. package/dist/{info-DO5odBcZ.js → info-puX5V6Iq.js} +1 -1
  192. package/dist/{cdn/chunks/keys-Cmc2Yl3D.js → keys-BxixS0TN.js} +4 -6
  193. package/dist/{list-checks-BSkPKbuI.js → list-checks-jw-ZlvWY.js} +1 -1
  194. package/dist/{loader-circle-bO7o7_HD.js → loader-circle-DqTxB7Kr.js} +1 -1
  195. package/dist/logger-BBlvSn6q.js +21 -0
  196. package/dist/{message-circle-BEkAk65X.js → message-circle-BZ7YpB22.js} +1 -1
  197. package/dist/{nl-dmiIX7oT.js → nl-D_4DkqOi.js} +69 -6
  198. package/dist/{pencil-t6m0EtKL.js → pencil-DmbRhTJu.js} +1 -1
  199. package/dist/preRenderCustomBlocks-BebjKtmw.js +21 -0
  200. package/dist/{cdn/chunks/pt-BR-CTzHTqJD.js → pt-BR-BxzQzWGJ.js} +1 -56
  201. package/dist/{pt-BR-CaIG-7EM.js → pt-BR-KGURyEEQ.js} +69 -6
  202. package/dist/{refresh-cw-CkOYVzK5.js → refresh-cw-OK_O-cL0.js} +1 -1
  203. package/dist/{runtime-dom.esm-bundler-CepEmvwF.js → runtime-dom.esm-bundler-BgKXIPLV.js} +144 -144
  204. package/dist/{scan-line-DwSVj25O.js → scan-line-DyaSTsJ5.js} +1 -1
  205. package/dist/{send-CWsWN8PQ.js → send-B-wasJJC.js} +1 -1
  206. package/dist/{shield-check-qje8Kufw.js → shield-check-DUIyRrTo.js} +1 -1
  207. package/dist/{sparkles-DumaWRW-.js → sparkles-DYEMATWC.js} +1 -1
  208. package/dist/style.css +1 -1
  209. package/dist/styleConstants-ByDqaYj_.js +59 -0
  210. package/dist/templatical-editor.js +5303 -289
  211. package/dist/{text-align-start-Ir8Ah4mT.js → text-align-start-CzjLeBLe.js} +1 -1
  212. package/dist/timeouts-DHPZQ0G3.js +4 -0
  213. package/dist/{trash-2-CklAFCmO.js → trash-2-C0shEPry.js} +1 -1
  214. package/dist/{triangle-alert-BBi4n93g.js → triangle-alert-Fw0ce8oQ.js} +1 -1
  215. package/dist/{upload-sVqqppuv.js → upload-D69C2CBx.js} +3 -4
  216. package/dist/{useAliveFlag-cvyBxHp7.js → useAliveFlag-BGIAZii_.js} +1 -1
  217. package/dist/{useCloudI18n-DKVm6PCa.js → useCloudI18n-CAZTZ9_a.js} +2 -2
  218. package/dist/{useEditorCore-idmPLUeb.js → useEditorCore-B-kONNRw.js} +1604 -1320
  219. package/dist/{useI18n-DoVKdCTH.js → useI18n-BfXff_Sy.js} +2 -2
  220. package/dist/{useMergeTag-CYZk7dZD.js → useMergeTag-Dd4I7kge.js} +3 -3
  221. package/dist/usePopoverPosition-CxhCX3SQ.js +59 -0
  222. package/dist/{vue.runtime.esm-bundler-D1diBMsm.js → vue.runtime.esm-bundler-DzEsDRtY.js} +447 -436
  223. package/dist/{x-Mby7KlhS.js → x-BjTlFqRv.js} +1 -1
  224. package/package.json +7 -7
  225. package/dist/AiFeatureMenu-BY6mubnR.js +0 -63
  226. package/dist/BlockPreviewCanvas-DbNOqSI1.js +0 -121
  227. package/dist/CloudEditor-DEnMNMbm.js +0 -1188
  228. package/dist/ColorPicker-ClETsjA3.js +0 -550
  229. package/dist/CommentsSidebar-CdRCCSDD.js +0 -435
  230. package/dist/SaveBlockDialog-fVp_PwZi.js +0 -265
  231. package/dist/SnapshotHistory-DjA3Ej_i.js +0 -128
  232. package/dist/TestEmailModal-EM0RP_9L.js +0 -205
  233. package/dist/TitleEditor-JEaP9jVF.js +0 -197
  234. package/dist/TplModal-DoneXIj_.js +0 -49
  235. package/dist/cdn/chunks/AiChatSidebar-CQ8KUmNB.js.map +0 -1
  236. package/dist/cdn/chunks/AiFeatureMenu-Cwj8afsi.js +0 -63
  237. package/dist/cdn/chunks/AiFeatureMenu-Cwj8afsi.js.map +0 -1
  238. package/dist/cdn/chunks/CloudEditor-CQ830jJt.js +0 -1166
  239. package/dist/cdn/chunks/CloudEditor-CQ830jJt.js.map +0 -1
  240. package/dist/cdn/chunks/CollaboratorBar-BF469_AN.js.map +0 -1
  241. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js +0 -552
  242. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js.map +0 -1
  243. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js +0 -412
  244. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js.map +0 -1
  245. package/dist/cdn/chunks/DesignReferenceSidebar-B-HFXV0W.js.map +0 -1
  246. package/dist/cdn/chunks/IssuesPanel-DKTS4QVb.js.map +0 -1
  247. package/dist/cdn/chunks/MergeTagSuggestion-Dn8dExNa.js.map +0 -1
  248. package/dist/cdn/chunks/NumberWithSuffix-BXrRdfq1.js.map +0 -1
  249. package/dist/cdn/chunks/ParagraphEditor-Bzcma_Lm.js.map +0 -1
  250. package/dist/cdn/chunks/RichTextEditorContent-DtL49Jpo.js.map +0 -1
  251. package/dist/cdn/chunks/SaveBlockDialog-BfNVeXXV.js +0 -264
  252. package/dist/cdn/chunks/SaveBlockDialog-BfNVeXXV.js.map +0 -1
  253. package/dist/cdn/chunks/SavedBlocksBrowserModal-C59D4G5C.js.map +0 -1
  254. package/dist/cdn/chunks/SavedBlocksPickBar-DMHxPCM4.js.map +0 -1
  255. package/dist/cdn/chunks/SnapshotHistory-80tAU_VX.js +0 -121
  256. package/dist/cdn/chunks/SnapshotHistory-80tAU_VX.js.map +0 -1
  257. package/dist/cdn/chunks/TemplateScoringPanel-NucRtAP0.js.map +0 -1
  258. package/dist/cdn/chunks/TestEmailModal-DdWfAGNe.js +0 -205
  259. package/dist/cdn/chunks/TestEmailModal-DdWfAGNe.js.map +0 -1
  260. package/dist/cdn/chunks/TitleEditor-D0_LY2Ex.js.map +0 -1
  261. package/dist/cdn/chunks/TplModal-iCmoKB2k.js +0 -50
  262. package/dist/cdn/chunks/TplModal-iCmoKB2k.js.map +0 -1
  263. package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +0 -1
  264. package/dist/cdn/chunks/cloud-DcC8bPwn.js +0 -1787
  265. package/dist/cdn/chunks/cloud-DcC8bPwn.js.map +0 -1
  266. package/dist/cdn/chunks/de-DHra3lvx.js.map +0 -1
  267. package/dist/cdn/chunks/de-uVoSP1xF.js.map +0 -1
  268. package/dist/cdn/chunks/en-CjhsJxb-.js.map +0 -1
  269. package/dist/cdn/chunks/en-DlqX2YWZ.js.map +0 -1
  270. package/dist/cdn/chunks/es-Cuss2snv.js.map +0 -1
  271. package/dist/cdn/chunks/extensions-C7h52yuk.js.map +0 -1
  272. package/dist/cdn/chunks/fr-Cm85vB2g.js.map +0 -1
  273. package/dist/cdn/chunks/keys-Cmc2Yl3D.js.map +0 -1
  274. package/dist/cdn/chunks/nl-dmiIX7oT.js.map +0 -1
  275. package/dist/cdn/chunks/pt-BR-CTzHTqJD.js.map +0 -1
  276. package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +0 -1
  277. package/dist/cdn/chunks/src-CUKUsRzX.js.map +0 -1
  278. package/dist/cdn/chunks/src-xkGep9eN.js.map +0 -1
  279. package/dist/cdn/chunks/styles-CND3ey2g.js +0 -4140
  280. package/dist/cdn/chunks/styles-CND3ey2g.js.map +0 -1
  281. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +0 -6
  282. package/dist/cdn/chunks/timeouts-SsLMC4a3.js.map +0 -1
  283. package/dist/cdn/chunks/useEditorCore-CKQ9gmoo.js.map +0 -1
  284. package/dist/styles-BK36D1sy.js +0 -4318
  285. package/dist/usePopoverPosition-C0dPEF4X.js +0 -308
@@ -4,6 +4,27 @@ var e = {
4
4
  poweredBy: "Powered by",
5
5
  openSource: "Open Source"
6
6
  },
7
+ header: {
8
+ save: "Save",
9
+ saving: "Saving...",
10
+ saved: "Saved",
11
+ unsaved: "Unsaved",
12
+ saveFailed: "Save failed",
13
+ saveNoTemplate: "Load or create a template first",
14
+ templateName: "Template name",
15
+ rename: "Rename template",
16
+ untitled: "Untitled",
17
+ updatedAt: "Updated {time}",
18
+ createdAt: "Created {time}",
19
+ updatedJustNow: "Updated just now",
20
+ createdJustNow: "Created just now"
21
+ },
22
+ time: {
23
+ justNow: "Just now",
24
+ minutesAgo: "{minutes}m ago",
25
+ hoursAgo: "{hours}h ago",
26
+ daysAgo: "{days}d ago"
27
+ },
7
28
  history: {
8
29
  undo: "Undo",
9
30
  redo: "Redo",
@@ -563,12 +584,54 @@ var e = {
563
584
  expand: "Expand",
564
585
  collapse: "Collapse",
565
586
  expandPreview: "Expand {block} preview",
566
- collapsePreview: "Collapse {block} preview",
567
- time: {
568
- justNow: "Just now",
569
- minutesAgo: "{minutes}m ago",
570
- hoursAgo: "{hours}h ago",
571
- daysAgo: "{days}d ago"
587
+ collapsePreview: "Collapse {block} preview"
588
+ },
589
+ comments: {
590
+ button: "Comments",
591
+ title: "Comments",
592
+ placeholder: "Write a comment...",
593
+ replyPlaceholder: "Write a reply...",
594
+ reply: "Reply",
595
+ resolve: "Resolve",
596
+ unresolve: "Unresolve",
597
+ delete: "Delete",
598
+ edit: "Edit",
599
+ cancel: "Cancel",
600
+ save: "Save",
601
+ noComments: "No comments yet",
602
+ noCommentsHint: "Start a conversation by adding a comment to the template or a specific block.",
603
+ deleteConfirm: "Delete this comment?",
604
+ filterAll: "All",
605
+ filterUnresolved: "Unresolved",
606
+ filterBlock: "This block",
607
+ jumpToBlock: "Block",
608
+ ownedByYou: "You",
609
+ edited: "edited",
610
+ resolvedBy: "Resolved by {name}",
611
+ replyOne: "{count} Reply",
612
+ replyMany: "{count} Replies",
613
+ missingBlock: "Missing block",
614
+ saveTemplateFirst: "Save the template before commenting on this block."
615
+ },
616
+ versionHistory: {
617
+ tooltip: "Version history",
618
+ dropdownTitle: "Version history",
619
+ empty: "No versions yet",
620
+ auto: "auto",
621
+ olderVersion: "Older version",
622
+ newerVersion: "Newer version"
623
+ },
624
+ versionPreview: {
625
+ message: "You are previewing an earlier version of this template.",
626
+ cancel: "Cancel",
627
+ restore: "Restore this version",
628
+ restoreConfirm: {
629
+ title: "Restore this version?",
630
+ unsavedWithSave: "You have unsaved changes. Save them first and they stay in your history — restore without saving and they are lost.",
631
+ unsavedNoSave: "You have unsaved changes and nowhere to save them. Restoring this version will lose them.",
632
+ saveAndRestore: "Save, then restore",
633
+ restoreAnyway: "Restore anyway",
634
+ cancel: "Cancel"
572
635
  }
573
636
  },
574
637
  previewResolution: {
@@ -8,32 +8,7 @@ var e = {
8
8
  templateNotFound: "The requested template could not be found. Please verify the template ID is correct.",
9
9
  retry: "Try Again"
10
10
  },
11
- header: {
12
- title: "Templatical",
13
- unsaved: "Unsaved",
14
- saving: "Saving...",
15
- saved: "Saved",
16
- saveFailed: "Save failed",
17
- save: "Save",
18
- templatesUsed: "{used}/{max} templates used"
19
- },
20
- snapshotPreview: {
21
- message: "You are previewing a previous snapshot of this template.",
22
- cancel: "Cancel",
23
- restore: "Restore this snapshot"
24
- },
25
- snapshotHistory: {
26
- tooltip: "Version history",
27
- dropdownTitle: "Version History",
28
- noSnapshots: "No versions yet",
29
- auto: "auto",
30
- justNow: "Just now",
31
- minutesAgo: "{minutes}m ago",
32
- hoursAgo: "{hours}h ago",
33
- daysAgo: "{days}d ago",
34
- olderSnapshot: "Older version",
35
- newerSnapshot: "Newer version"
36
- },
11
+ header: { templatesUsed: "{used}/{max} templates used" },
37
12
  aiRewrite: {
38
13
  title: "AI Rewrite",
39
14
  tone: "Tone",
@@ -109,34 +84,6 @@ var e = {
109
84
  templateScoreDesc: "Analyze quality, spam risk, and accessibility",
110
85
  disclaimer: "AI can make mistakes. Please verify before approving."
111
86
  },
112
- comments: {
113
- title: "Comments",
114
- placeholder: "Write a comment...",
115
- replyPlaceholder: "Write a reply...",
116
- reply: "Reply",
117
- resolve: "Resolve",
118
- unresolve: "Unresolve",
119
- resolved: "Resolved",
120
- delete: "Delete",
121
- edit: "Edit",
122
- cancel: "Cancel",
123
- save: "Save",
124
- noComments: "No comments yet",
125
- noCommentsHint: "Start a conversation by adding a comment to the template or a specific block.",
126
- addComment: "Add comment",
127
- deleteConfirm: "Delete this comment?",
128
- filterAll: "All",
129
- filterUnresolved: "Unresolved",
130
- filterBlock: "This block",
131
- ownedByYou: "You",
132
- edited: "edited",
133
- resolvedBy: "Resolved by {name}",
134
- replyOne: "{count} Reply",
135
- replyMany: "{count} Replies",
136
- missingBlock: "Missing block",
137
- saveTemplateFirst: "Save the template before commenting on this block.",
138
- button: "Comments"
139
- },
140
87
  collaboration: {
141
88
  connected: "Collaboration mode active",
142
89
  disconnected: "Collaboration disconnected",
@@ -172,5 +119,3 @@ var e = {
172
119
  };
173
120
  //#endregion
174
121
  export { e as default };
175
-
176
- //# sourceMappingURL=en-CjhsJxb-.js.map
@@ -4,6 +4,27 @@ var e = {
4
4
  poweredBy: "Con la tecnología de",
5
5
  openSource: "Código abierto"
6
6
  },
7
+ header: {
8
+ save: "Guardar",
9
+ saving: "Guardando...",
10
+ saved: "Guardado",
11
+ unsaved: "Sin guardar",
12
+ saveFailed: "Error al guardar",
13
+ saveNoTemplate: "Carga o crea una plantilla primero",
14
+ templateName: "Nombre de la plantilla",
15
+ rename: "Cambiar el nombre de la plantilla",
16
+ untitled: "Sin título",
17
+ updatedAt: "Actualizado {time}",
18
+ createdAt: "Creado {time}",
19
+ updatedJustNow: "Actualizado ahora mismo",
20
+ createdJustNow: "Creado ahora mismo"
21
+ },
22
+ time: {
23
+ justNow: "Ahora mismo",
24
+ minutesAgo: "hace {minutes} min",
25
+ hoursAgo: "hace {hours} h",
26
+ daysAgo: "hace {days} d"
27
+ },
7
28
  history: {
8
29
  undo: "Deshacer",
9
30
  redo: "Rehacer",
@@ -563,12 +584,54 @@ var e = {
563
584
  expand: "Expandir",
564
585
  collapse: "Contraer",
565
586
  expandPreview: "Expandir la vista previa de {block}",
566
- collapsePreview: "Contraer la vista previa de {block}",
567
- time: {
568
- justNow: "Ahora mismo",
569
- minutesAgo: "hace {minutes} min",
570
- hoursAgo: "hace {hours} h",
571
- daysAgo: "hace {days} d"
587
+ collapsePreview: "Contraer la vista previa de {block}"
588
+ },
589
+ comments: {
590
+ button: "Comentarios",
591
+ title: "Comentarios",
592
+ placeholder: "Escribe un comentario...",
593
+ replyPlaceholder: "Escribe una respuesta...",
594
+ reply: "Responder",
595
+ resolve: "Resolver",
596
+ unresolve: "Reabrir",
597
+ delete: "Eliminar",
598
+ edit: "Editar",
599
+ cancel: "Cancelar",
600
+ save: "Guardar",
601
+ noComments: "Aún no hay comentarios",
602
+ noCommentsHint: "Inicia una conversación añadiendo un comentario a la plantilla o a un bloque concreto.",
603
+ deleteConfirm: "¿Eliminar este comentario?",
604
+ filterAll: "Todos",
605
+ filterUnresolved: "Sin resolver",
606
+ filterBlock: "Este bloque",
607
+ jumpToBlock: "Bloque",
608
+ ownedByYou: "Tú",
609
+ edited: "editado",
610
+ resolvedBy: "Resuelto por {name}",
611
+ replyOne: "{count} respuesta",
612
+ replyMany: "{count} respuestas",
613
+ missingBlock: "Bloque no encontrado",
614
+ saveTemplateFirst: "Guarda la plantilla antes de comentar en este bloque."
615
+ },
616
+ versionHistory: {
617
+ tooltip: "Historial de versiones",
618
+ dropdownTitle: "Historial de versiones",
619
+ empty: "Todavía no hay versiones",
620
+ auto: "auto",
621
+ olderVersion: "Versión anterior",
622
+ newerVersion: "Versión más reciente"
623
+ },
624
+ versionPreview: {
625
+ message: "Estás viendo una versión anterior de esta plantilla.",
626
+ cancel: "Cancelar",
627
+ restore: "Restaurar esta versión",
628
+ restoreConfirm: {
629
+ title: "¿Restaurar esta versión?",
630
+ unsavedWithSave: "Tienes cambios sin guardar. Guárdalos primero y se conservarán en el historial; si restauras sin guardar, se perderán.",
631
+ unsavedNoSave: "Tienes cambios sin guardar y no hay dónde guardarlos. Al restaurar esta versión se perderán.",
632
+ saveAndRestore: "Guardar y restaurar",
633
+ restoreAnyway: "Restaurar de todos modos",
634
+ cancel: "Cancelar"
572
635
  }
573
636
  },
574
637
  previewResolution: {
@@ -1,11 +1,11 @@
1
- import { Dt as e, Et as t, O as n, Ot as r, R as i, Y as a, _ as o, c as s, d as c, l, nt as u, s as d, u as f, w as p, z as m } from "./vue.runtime.esm-bundler-D1diBMsm.js";
2
- import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-CepEmvwF.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-DzEsDRtY.js";
2
+ import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-BgKXIPLV.js";
3
3
  import { D as v, E as y, N as b, a as x } from "./dist-B1kLn1rs.js";
4
- import { t as S } from "./useI18n-DoVKdCTH.js";
5
- import { t as C } from "./useMergeTag-CYZk7dZD.js";
4
+ import { t as S } from "./useI18n-BfXff_Sy.js";
5
+ import { t as C } from "./useMergeTag-Dd4I7kge.js";
6
6
  import { gn as w, m as T, s as E, u as D, v as O } from "./dist-ChYLhoJ4.js";
7
- import { i as k, r as A, t as j } from "./MergeTagSuggestion-BJ43ihWR.js";
8
- import { n as M, t as N } from "./dist-Cl8J0IES.js";
7
+ import { i as k, r as A, t as j } from "./MergeTagSuggestion-DGha0WRp.js";
8
+ import { n as M, t as N } from "./dist-Ck9roB6K.js";
9
9
  //#region src/extensions/FontSize.ts
10
10
  var P = E.create({
11
11
  name: "fontSize",
@@ -50,6 +50,20 @@ var P = E.create({
50
50
  };
51
51
  }
52
52
  }), I = E.create({
53
+ name: "lineBoundaryKeys",
54
+ addKeyboardShortcuts() {
55
+ let e = (e) => ({ editor: t }) => {
56
+ let n = t.view;
57
+ if (!n || n.composing) return !1;
58
+ let r = typeof n.root?.getSelection == "function" ? n.root.getSelection() : n.dom?.ownerDocument?.getSelection?.() ?? null;
59
+ return !r || typeof r.modify != "function" || !r.anchorNode || !n.dom.contains(r.anchorNode) ? !1 : (r.modify("move", e, "lineboundary"), !0);
60
+ };
61
+ return {
62
+ End: e("forward"),
63
+ Home: e("backward")
64
+ };
65
+ }
66
+ }), L = E.create({
53
67
  name: "lineHeight",
54
68
  addOptions() {
55
69
  return {
@@ -73,11 +87,11 @@ var P = E.create({
73
87
  unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
74
88
  };
75
89
  }
76
- }), L = [
90
+ }), R = [
77
91
  "aria-label",
78
92
  "data-tooltip",
79
93
  "onKeydown"
80
- ], R = ["aria-label", "onKeydown"], z = ["aria-label"], B = /* @__PURE__ */ o({
94
+ ], z = ["aria-label", "onKeydown"], B = ["aria-label"], V = /* @__PURE__ */ p({
81
95
  __name: "LogicMergeTagNodeView",
82
96
  props: {
83
97
  node: {},
@@ -86,10 +100,10 @@ var P = E.create({
86
100
  deleteNode: { type: Function },
87
101
  updateAttributes: { type: Function }
88
102
  },
89
- setup(o) {
90
- let v = o, { syntax: x } = C(), { t: w } = S(), T = d(() => b(v.node.attrs.value, x)), E = d(() => y(v.node.attrs.value, x)), D = a(!1), O = a(""), k = a(null), A = !1;
103
+ setup(p) {
104
+ let v = p, { syntax: x } = C(), { t: w } = S(), T = d(() => b(v.node.attrs.value, x)), E = d(() => y(v.node.attrs.value, x)), D = i(!1), O = i(""), k = i(null), A = !1;
91
105
  function j() {
92
- O.value = v.node.attrs.value, A = !1, D.value = !0, p(() => {
106
+ O.value = v.node.attrs.value, A = !1, D.value = !0, r(() => {
93
107
  k.value?.focus(), k.value?.select();
94
108
  });
95
109
  }
@@ -109,45 +123,45 @@ var P = E.create({
109
123
  function P(e) {
110
124
  e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (D.value = !1);
111
125
  }
112
- return (a, d) => (n(), l(u(N), {
126
+ return (r, i) => (s(), l(u(N), {
113
127
  as: "span",
114
128
  class: t(T.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" : ""),
115
- style: e(T.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
129
+ style: n(T.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
116
130
  contenteditable: "false"
117
131
  }, {
118
- default: i(() => [D.value ? m((n(), c("input", {
132
+ default: m(() => [D.value ? e((s(), o("input", {
119
133
  key: 0,
120
134
  ref_key: "inputRef",
121
135
  ref: k,
122
- "onUpdate:modelValue": d[0] ||= (e) => O.value = e,
136
+ "onUpdate:modelValue": i[0] ||= (e) => O.value = e,
123
137
  type: "text",
124
138
  class: "tpl:w-40 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:normal-case tpl:outline-none tpl:text-[var(--tpl-primary)]",
125
139
  onBlur: M,
126
140
  onKeydown: P
127
- }, null, 544)), [[h, O.value]]) : T.value ? (n(), c("span", {
141
+ }, null, 544)), [[h, O.value]]) : T.value ? (s(), o("span", {
128
142
  key: 1,
129
143
  role: "button",
130
144
  tabindex: "0",
131
145
  "aria-label": u(w).mergeTag.editValue,
132
146
  class: "tpl-tooltip tpl:cursor-pointer",
133
- "data-tooltip": o.node.attrs.value,
147
+ "data-tooltip": p.node.attrs.value,
134
148
  onClick: g(j, ["stop"]),
135
149
  onKeydown: [_(g(j, ["stop"]), ["enter"]), _(g(j, ["prevent", "stop"]), ["space"])]
136
- }, r(E.value), 41, L)) : (n(), c("span", {
150
+ }, c(E.value), 41, R)) : (s(), o("span", {
137
151
  key: 2,
138
152
  role: "button",
139
153
  tabindex: "0",
140
154
  "aria-label": u(w).mergeTag.editValue,
141
155
  onClick: g(j, ["stop"]),
142
156
  onKeydown: [_(g(j, ["stop"]), ["enter"]), _(g(j, ["prevent", "stop"]), ["space"])]
143
- }, r(o.node.attrs.value), 41, R)), T.value ? (n(), c("button", {
157
+ }, c(p.node.attrs.value), 41, z)), T.value ? (s(), o("button", {
144
158
  key: 3,
145
159
  type: "button",
146
160
  "aria-label": u(w).mergeTag.deleteMergeTag,
147
- 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 hover:tpl:opacity-100 tpl:text-[var(--tpl-primary)]",
161
+ 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)]",
148
162
  contenteditable: "false",
149
- onClick: d[1] ||= g((...e) => o.deleteNode && o.deleteNode(...e), ["stop", "prevent"])
150
- }, [...d[2] ||= [s("svg", {
163
+ onClick: i[1] ||= g((...e) => p.deleteNode && p.deleteNode(...e), ["stop", "prevent"])
164
+ }, [...i[2] ||= [a("svg", {
151
165
  width: "10",
152
166
  height: "10",
153
167
  viewBox: "0 0 24 24",
@@ -155,35 +169,35 @@ var P = E.create({
155
169
  stroke: "currentColor",
156
170
  "stroke-width": "3",
157
171
  "aria-hidden": "true"
158
- }, [s("line", {
172
+ }, [a("line", {
159
173
  x1: "18",
160
174
  y1: "6",
161
175
  x2: "6",
162
176
  y2: "18"
163
- }), s("line", {
177
+ }), a("line", {
164
178
  x1: "6",
165
179
  y1: "6",
166
180
  x2: "18",
167
181
  y2: "18"
168
- })], -1)]], 8, z)) : f("", !0)]),
182
+ })], -1)]], 8, B)) : f("", !0)]),
169
183
  _: 1
170
184
  }, 8, ["class", "style"]));
171
185
  }
172
186
  });
173
187
  //#endregion
174
188
  //#region src/extensions/isNodeSelected.ts
175
- function V(e, t) {
189
+ function H(e, t) {
176
190
  let { $from: n, $to: r } = e.state.selection;
177
191
  return n.pos === r.pos ? n.pos > 0 && n.nodeBefore?.type.name === t || n.nodeAfter?.type.name === t : !1;
178
192
  }
179
193
  //#endregion
180
194
  //#region src/extensions/renderVueNodeView.ts
181
- function H(e) {
195
+ function U(e) {
182
196
  return M(e);
183
197
  }
184
198
  //#endregion
185
199
  //#region src/extensions/LogicMergeTagNode.ts
186
- var U = T.create({
200
+ var W = T.create({
187
201
  name: "logicMergeTagNode",
188
202
  group: "inline",
189
203
  inline: !0,
@@ -225,12 +239,12 @@ var U = T.create({
225
239
  ];
226
240
  },
227
241
  addNodeView() {
228
- return H(B);
242
+ return U(V);
229
243
  },
230
244
  addKeyboardShortcuts() {
231
245
  return {
232
- Backspace: () => V(this.editor, this.name),
233
- Delete: () => V(this.editor, this.name)
246
+ Backspace: () => H(this.editor, this.name),
247
+ Delete: () => H(this.editor, this.name)
234
248
  };
235
249
  },
236
250
  addInputRules() {
@@ -263,65 +277,65 @@ var U = T.create({
263
277
  }
264
278
  })];
265
279
  }
266
- }), W = [
280
+ }), G = [
267
281
  "aria-label",
268
282
  "data-tooltip",
269
283
  "onKeydown"
270
- ], G = ["aria-label"], K = /* @__PURE__ */ o({
284
+ ], K = ["aria-label"], q = /* @__PURE__ */ p({
271
285
  __name: "MergeTagNodeView",
272
286
  props: {
273
287
  node: {},
274
288
  deleteNode: { type: Function },
275
289
  updateAttributes: { type: Function }
276
290
  },
277
- setup(e) {
278
- let t = e, { getMergeTagLabel: o } = C(), { t: f } = S(), v = d(() => o(t.node.attrs.value)), y = a(!1), b = a(""), x = a(null);
291
+ setup(t) {
292
+ let n = t, { getMergeTagLabel: f } = C(), { t: p } = S(), v = d(() => f(n.node.attrs.value)), y = i(!1), b = i(""), x = i(null);
279
293
  function w() {
280
- b.value = t.node.attrs.value, y.value = !0, p(() => {
294
+ b.value = n.node.attrs.value, y.value = !0, r(() => {
281
295
  x.value?.focus(), x.value?.select();
282
296
  });
283
297
  }
284
298
  function T() {
285
299
  let e = b.value.trim();
286
- e && e !== t.node.attrs.value && t.updateAttributes({
300
+ e && e !== n.node.attrs.value && n.updateAttributes({
287
301
  value: e,
288
- label: o(e)
302
+ label: f(e)
289
303
  }), y.value = !1;
290
304
  }
291
305
  function E(e) {
292
306
  e.key === "Enter" ? (e.preventDefault(), T()) : e.key === "Escape" && (y.value = !1);
293
307
  }
294
- return (t, a) => (n(), l(u(N), {
308
+ return (n, r) => (s(), l(u(N), {
295
309
  as: "span",
296
310
  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)]",
297
311
  style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
298
312
  contenteditable: "false"
299
313
  }, {
300
- default: i(() => [y.value ? m((n(), c("input", {
314
+ default: m(() => [y.value ? e((s(), o("input", {
301
315
  key: 0,
302
316
  ref_key: "inputRef",
303
317
  ref: x,
304
- "onUpdate:modelValue": a[0] ||= (e) => b.value = e,
318
+ "onUpdate:modelValue": r[0] ||= (e) => b.value = e,
305
319
  type: "text",
306
320
  class: "tpl:w-32 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]",
307
321
  onBlur: T,
308
322
  onKeydown: E
309
- }, null, 544)), [[h, b.value]]) : (n(), c("span", {
323
+ }, null, 544)), [[h, b.value]]) : (s(), o("span", {
310
324
  key: 1,
311
325
  role: "button",
312
326
  tabindex: "0",
313
- "aria-label": u(f).mergeTag.editValue,
327
+ "aria-label": u(p).mergeTag.editValue,
314
328
  class: "tpl-tooltip tpl:cursor-pointer",
315
- "data-tooltip": e.node.attrs.value,
329
+ "data-tooltip": t.node.attrs.value,
316
330
  onClick: g(w, ["stop"]),
317
331
  onKeydown: [_(g(w, ["stop"]), ["enter"]), _(g(w, ["prevent", "stop"]), ["space"])]
318
- }, r(v.value), 41, W)), s("button", {
332
+ }, c(v.value), 41, G)), a("button", {
319
333
  type: "button",
320
- "aria-label": u(f).mergeTag.deleteMergeTag,
321
- 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 hover:tpl:opacity-100 tpl:text-[var(--tpl-primary)]",
334
+ "aria-label": u(p).mergeTag.deleteMergeTag,
335
+ 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)]",
322
336
  contenteditable: "false",
323
- onClick: a[1] ||= g((...t) => e.deleteNode && e.deleteNode(...t), ["stop", "prevent"])
324
- }, [...a[2] ||= [s("svg", {
337
+ onClick: r[1] ||= g((...e) => t.deleteNode && t.deleteNode(...e), ["stop", "prevent"])
338
+ }, [...r[2] ||= [a("svg", {
325
339
  width: "10",
326
340
  height: "10",
327
341
  viewBox: "0 0 24 24",
@@ -329,21 +343,21 @@ var U = T.create({
329
343
  stroke: "currentColor",
330
344
  "stroke-width": "3",
331
345
  "aria-hidden": "true"
332
- }, [s("line", {
346
+ }, [a("line", {
333
347
  x1: "18",
334
348
  y1: "6",
335
349
  x2: "6",
336
350
  y2: "18"
337
- }), s("line", {
351
+ }), a("line", {
338
352
  x1: "6",
339
353
  y1: "6",
340
354
  x2: "18",
341
355
  y2: "18"
342
- })], -1)]], 8, G)]),
356
+ })], -1)]], 8, K)]),
343
357
  _: 1
344
358
  }));
345
359
  }
346
- }), q = T.create({
360
+ }), J = T.create({
347
361
  name: "mergeTagNode",
348
362
  group: "inline",
349
363
  inline: !0,
@@ -383,7 +397,7 @@ var U = T.create({
383
397
  ];
384
398
  },
385
399
  addNodeView() {
386
- return H(K);
400
+ return U(q);
387
401
  },
388
402
  addCommands() {
389
403
  return { insertMergeTag: (e) => ({ commands: t }) => t.insertContent({
@@ -396,8 +410,8 @@ var U = T.create({
396
410
  },
397
411
  addKeyboardShortcuts() {
398
412
  return {
399
- Backspace: () => V(this.editor, this.name),
400
- Delete: () => V(this.editor, this.name)
413
+ Backspace: () => H(this.editor, this.name),
414
+ Delete: () => H(this.editor, this.name)
401
415
  };
402
416
  },
403
417
  addInputRules() {
@@ -428,4 +442,4 @@ var U = T.create({
428
442
  }
429
443
  });
430
444
  //#endregion
431
- export { P as FontSize, F as LetterSpacing, I as LineHeight, U as LogicMergeTagNode, q as MergeTagNode, j as MergeTagSuggestion, A as filterMergeTags, k as handleSuggestionKeyDown };
445
+ export { P as FontSize, F as LetterSpacing, I as LineBoundaryKeys, L as LineHeight, W as LogicMergeTagNode, J as MergeTagNode, j as MergeTagSuggestion, A as filterMergeTags, k as handleSuggestionKeyDown };
@@ -4,6 +4,27 @@ var e = {
4
4
  poweredBy: "Propulsé par",
5
5
  openSource: "Open Source"
6
6
  },
7
+ header: {
8
+ save: "Enregistrer",
9
+ saving: "Enregistrement...",
10
+ saved: "Enregistré",
11
+ unsaved: "Non enregistré",
12
+ saveFailed: "Échec de l'enregistrement",
13
+ saveNoTemplate: "Chargez ou créez d'abord un modèle",
14
+ templateName: "Nom du modèle",
15
+ rename: "Renommer le modèle",
16
+ untitled: "Sans titre",
17
+ updatedAt: "Modifié {time}",
18
+ createdAt: "Créé {time}",
19
+ updatedJustNow: "Modifié à l'instant",
20
+ createdJustNow: "Créé à l'instant"
21
+ },
22
+ time: {
23
+ justNow: "À l'instant",
24
+ minutesAgo: "il y a {minutes} min",
25
+ hoursAgo: "il y a {hours} h",
26
+ daysAgo: "il y a {days} j"
27
+ },
7
28
  history: {
8
29
  undo: "Annuler",
9
30
  redo: "Rétablir",
@@ -563,12 +584,54 @@ var e = {
563
584
  expand: "Développer",
564
585
  collapse: "Réduire",
565
586
  expandPreview: "Développer l'aperçu de {block}",
566
- collapsePreview: "Réduire l'aperçu de {block}",
567
- time: {
568
- justNow: "À l'instant",
569
- minutesAgo: "il y a {minutes} min",
570
- hoursAgo: "il y a {hours} h",
571
- daysAgo: "il y a {days} j"
587
+ collapsePreview: "Réduire l'aperçu de {block}"
588
+ },
589
+ comments: {
590
+ button: "Commentaires",
591
+ title: "Commentaires",
592
+ placeholder: "Écrire un commentaire...",
593
+ replyPlaceholder: "Écrire une réponse...",
594
+ reply: "Répondre",
595
+ resolve: "Résoudre",
596
+ unresolve: "Réouvrir",
597
+ delete: "Supprimer",
598
+ edit: "Modifier",
599
+ cancel: "Annuler",
600
+ save: "Enregistrer",
601
+ noComments: "Aucun commentaire",
602
+ noCommentsHint: "Démarrez une conversation en ajoutant un commentaire au modèle ou à un bloc précis.",
603
+ deleteConfirm: "Supprimer ce commentaire ?",
604
+ filterAll: "Tous",
605
+ filterUnresolved: "Non résolus",
606
+ filterBlock: "Ce bloc",
607
+ jumpToBlock: "Bloc",
608
+ ownedByYou: "Vous",
609
+ edited: "modifié",
610
+ resolvedBy: "Résolu par {name}",
611
+ replyOne: "{count} réponse",
612
+ replyMany: "{count} réponses",
613
+ missingBlock: "Bloc introuvable",
614
+ saveTemplateFirst: "Enregistrez le modèle avant de commenter ce bloc."
615
+ },
616
+ versionHistory: {
617
+ tooltip: "Historique des versions",
618
+ dropdownTitle: "Historique des versions",
619
+ empty: "Aucune version pour l’instant",
620
+ auto: "auto",
621
+ olderVersion: "Version précédente",
622
+ newerVersion: "Version plus récente"
623
+ },
624
+ versionPreview: {
625
+ message: "Vous consultez une version antérieure de ce modèle.",
626
+ cancel: "Annuler",
627
+ restore: "Restaurer cette version",
628
+ restoreConfirm: {
629
+ title: "Restaurer cette version ?",
630
+ unsavedWithSave: "Vous avez des modifications non enregistrées. Enregistrez-les d’abord et elles resteront dans l’historique ; restaurez sans enregistrer et elles seront perdues.",
631
+ unsavedNoSave: "Vous avez des modifications non enregistrées et aucun endroit où les enregistrer. Restaurer cette version les fera disparaître.",
632
+ saveAndRestore: "Enregistrer, puis restaurer",
633
+ restoreAnyway: "Restaurer quand même",
634
+ cancel: "Annuler"
572
635
  }
573
636
  },
574
637
  previewResolution: {
@@ -633,5 +696,3 @@ var e = {
633
696
  };
634
697
  //#endregion
635
698
  export { e as default };
636
-
637
- //# sourceMappingURL=fr-Cm85vB2g.js.map
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-C8WzBYCv.js";
1
+ import { t as e } from "./createLucideIcon-L-wQXW_R.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",