@templatical/editor 0.26.3 → 0.27.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 (287) hide show
  1. package/README.md +3 -1
  2. package/dist/{AiChatSidebar-CMBz6Wix.js → AiChatSidebar-iVJDzqjr.js} +60 -60
  3. package/dist/AiFeatureMenu-DrLGc2H2.js +57 -0
  4. package/dist/{BlockIssueBadge-Buk3_6QF.js → BlockIssueBadge-BHysq7XQ.js} +11 -11
  5. package/dist/BlockPreviewCanvas-2WASf5A4.js +121 -0
  6. package/dist/CloudHeaderExtras-DWApyc4P.js +59 -0
  7. package/dist/CloudPanels-DvOhGdRj.js +232 -0
  8. package/dist/{CollaboratorBar-BGwbg9aN.js → CollaboratorBar-C6MC0UCk.js} +21 -21
  9. package/dist/ColorPicker-Di8L5TLQ.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-d9QM4m5x.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-D9mPtMJB.js} +42 -44
  20. package/dist/{ParagraphEditor-6WN5jmXr.js → ParagraphEditor-iwTjkjtx.js} +200 -198
  21. package/dist/RestoreVersionDialog-DyMPGfsr.js +86 -0
  22. package/dist/{RichTextEditorContent-fbYJXAio.js → RichTextEditorContent-BVXG9oF4.js} +44 -44
  23. package/dist/SaveBlockDialog-BMCAIfK9.js +266 -0
  24. package/dist/{SavedBlocksBrowserModal-GMrajvfV.js → SavedBlocksBrowserModal-p5ma1qay.js} +116 -115
  25. package/dist/{cdn/chunks/SavedBlocksPanels-CUtYoi5Z.js → SavedBlocksPanels-BsiSstsZ.js} +9 -11
  26. package/dist/{SavedBlocksPickBar-Dk_IaMO9.js → SavedBlocksPickBar-fU4Mjm-8.js} +17 -17
  27. package/dist/{TemplateScoringPanel-BZUsb3FD.js → TemplateScoringPanel-Bv_bBsJi.js} +87 -87
  28. package/dist/TestEmailModal-EFYcrmTk.js +206 -0
  29. package/dist/{cdn/chunks/TestEmailPanel-B8y7JabA.js → TestEmailPanel-ljriUqs1.js} +4 -6
  30. package/dist/TitleEditor-BqRW7HTz.js +198 -0
  31. package/dist/TplModal-CTC9-w6B.js +49 -0
  32. package/dist/VersionHistoryMenu-Cq4rH56t.js +155 -0
  33. package/dist/VersionHistoryPanels-GkxkBiSi.js +46 -0
  34. package/dist/VersionPreviewBanner-BdtTu9mI.js +38 -0
  35. package/dist/{blockTypeIcons-C7wRSaT3.js → blockTypeIcons-CIrMr1SJ.js} +6 -6
  36. package/dist/bundle-stats.json +8 -8
  37. package/dist/{ca-D1zgI9fQ.js → ca-CEuJ6IRr.js} +73 -106
  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-BQz9Kczt.js +57 -0
  41. package/dist/cdn/chunks/AiFeatureMenu-BQz9Kczt.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-msj619wT.js → BlockPreviewCanvas-40ocpXDD.js} +42 -42
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-msj619wT.js.map → BlockPreviewCanvas-40ocpXDD.js.map} +1 -1
  46. package/dist/cdn/chunks/CloudHeaderExtras-F_ySlW1S.js +60 -0
  47. package/dist/cdn/chunks/CloudHeaderExtras-F_ySlW1S.js.map +1 -0
  48. package/dist/cdn/chunks/CloudPanels-C34bcHpc.js +232 -0
  49. package/dist/cdn/chunks/CloudPanels-C34bcHpc.js.map +1 -0
  50. package/dist/cdn/chunks/{CollaboratorBar-G_sZDZXw.js → CollaboratorBar-WBtrPPnM.js} +22 -22
  51. package/dist/cdn/chunks/CollaboratorBar-WBtrPPnM.js.map +1 -0
  52. package/dist/cdn/chunks/ColorPicker-CxKYd_8N.js +502 -0
  53. package/dist/cdn/chunks/ColorPicker-CxKYd_8N.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-pVbkPNVo.js} +66 -63
  61. package/dist/cdn/chunks/{CountdownToolbar-DPjcgcVR.js.map → CountdownToolbar-pVbkPNVo.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-mm6AfIv4.js} +37 -35
  73. package/dist/cdn/chunks/NumberWithSuffix-mm6AfIv4.js.map +1 -0
  74. package/dist/cdn/chunks/{ParagraphEditor-CZ5Z6AgG.js → ParagraphEditor-BBcIQQK2.js} +234 -233
  75. package/dist/cdn/chunks/ParagraphEditor-BBcIQQK2.js.map +1 -0
  76. package/dist/cdn/chunks/RestoreVersionDialog-DNUZHFa_.js +87 -0
  77. package/dist/cdn/chunks/RestoreVersionDialog-DNUZHFa_.js.map +1 -0
  78. package/dist/cdn/chunks/{RichTextEditorContent-DtL49Jpo.js → RichTextEditorContent-Cl-acKAD.js} +44 -44
  79. package/dist/cdn/chunks/RichTextEditorContent-Cl-acKAD.js.map +1 -0
  80. package/dist/cdn/chunks/SaveBlockDialog-BXTZ729e.js +265 -0
  81. package/dist/cdn/chunks/SaveBlockDialog-BXTZ729e.js.map +1 -0
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BkQXEUE2.js → SavedBlocksBrowserModal-BqGNBpRR.js} +114 -113
  83. package/dist/cdn/chunks/SavedBlocksBrowserModal-BqGNBpRR.js.map +1 -0
  84. package/dist/{SavedBlocksPanels-DEPmNhi6.js → cdn/chunks/SavedBlocksPanels-nbK0UQTp.js} +11 -9
  85. package/dist/cdn/chunks/{SavedBlocksPanels-CUtYoi5Z.js.map → SavedBlocksPanels-nbK0UQTp.js.map} +1 -1
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-C80qJykl.js → SavedBlocksPickBar-B9mbw3Gk.js} +17 -17
  87. package/dist/cdn/chunks/SavedBlocksPickBar-B9mbw3Gk.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-DE6fi3he.js +206 -0
  91. package/dist/cdn/chunks/TestEmailModal-DE6fi3he.js.map +1 -0
  92. package/dist/{TestEmailPanel-DubocPxf.js → cdn/chunks/TestEmailPanel-CAjQDXle.js} +6 -4
  93. package/dist/cdn/chunks/{TestEmailPanel-B8y7JabA.js.map → TestEmailPanel-CAjQDXle.js.map} +1 -1
  94. package/dist/cdn/chunks/{TitleEditor-C8WDXf4P.js → TitleEditor-BP0ewaWF.js} +83 -83
  95. package/dist/cdn/chunks/TitleEditor-BP0ewaWF.js.map +1 -0
  96. package/dist/cdn/chunks/TplModal-C4kJduTr.js +50 -0
  97. package/dist/cdn/chunks/TplModal-C4kJduTr.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-DMq2PRee.js +48 -0
  101. package/dist/cdn/chunks/VersionHistoryPanels-DMq2PRee.js.map +1 -0
  102. package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.js +40 -0
  103. package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.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-CEuJ6IRr.js} +74 -107
  107. package/dist/cdn/chunks/ca-CEuJ6IRr.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-gXA8_QRU.js +344 -0
  111. package/dist/cdn/chunks/createCloudRuntime-gXA8_QRU.js.map +1 -0
  112. package/dist/{de-uVoSP1xF.js → cdn/chunks/de-BytZwgn6.js} +4 -88
  113. package/dist/cdn/chunks/de-BytZwgn6.js.map +1 -0
  114. package/dist/{de-DHra3lvx.js → cdn/chunks/de-aRxhZF_K.js} +75 -106
  115. package/dist/cdn/chunks/de-aRxhZF_K.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-DE_y1YWU.js → en-BCgVx9zM.js} +4 -3
  123. package/dist/cdn/chunks/{en-DE_y1YWU.js.map → en-BCgVx9zM.js.map} +1 -1
  124. package/dist/{en-DlqX2YWZ.js → cdn/chunks/en-BX4V_7YO.js} +75 -106
  125. package/dist/cdn/chunks/en-BX4V_7YO.js.map +1 -0
  126. package/dist/{en-CjhsJxb-.js → cdn/chunks/en-DyOSV0lY.js} +4 -88
  127. package/dist/cdn/chunks/en-DyOSV0lY.js.map +1 -0
  128. package/dist/{es-Cuss2snv.js → cdn/chunks/es-CA9uQ-5x.js} +75 -106
  129. package/dist/cdn/chunks/es-CA9uQ-5x.js.map +1 -0
  130. package/dist/cdn/chunks/{extensions-qhcN3RMT.js → extensions-CMcVw2uu.js} +53 -53
  131. package/dist/cdn/chunks/{extensions-qhcN3RMT.js.map → extensions-CMcVw2uu.js.map} +1 -1
  132. package/dist/{fr-Cm85vB2g.js → cdn/chunks/fr-iBuE60Ap.js} +75 -106
  133. package/dist/cdn/chunks/fr-iBuE60Ap.js.map +1 -0
  134. package/dist/cdn/chunks/{icons-CvYN6zrM.js → icons-C36Ha5VU.js} +11 -11
  135. package/dist/cdn/chunks/{icons-CvYN6zrM.js.map → icons-C36Ha5VU.js.map} +1 -1
  136. package/dist/{keys-fwF3qZax.js → cdn/chunks/keys-CbQuRX85.js} +6 -4
  137. package/dist/cdn/chunks/keys-CbQuRX85.js.map +1 -0
  138. package/dist/cdn/chunks/logger-ByvdoAwq.js +23 -0
  139. package/dist/cdn/chunks/logger-ByvdoAwq.js.map +1 -0
  140. package/dist/{nl-dmiIX7oT.js → cdn/chunks/nl-Btw4ojNo.js} +75 -106
  141. package/dist/cdn/chunks/nl-Btw4ojNo.js.map +1 -0
  142. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js +23 -0
  143. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js.map +1 -0
  144. package/dist/{pt-BR-CTzHTqJD.js → cdn/chunks/pt-BR-C1WLSGDh.js} +4 -88
  145. package/dist/cdn/chunks/pt-BR-C1WLSGDh.js.map +1 -0
  146. package/dist/{pt-BR-CaIG-7EM.js → cdn/chunks/pt-BR-GjVsCqbN.js} +75 -106
  147. package/dist/cdn/chunks/pt-BR-GjVsCqbN.js.map +1 -0
  148. package/dist/cdn/chunks/src-B_QJduQD.js.map +1 -1
  149. package/dist/cdn/chunks/{src-xkGep9eN.js → src-CoHDh8Ua.js} +1485 -1483
  150. package/dist/cdn/chunks/src-CoHDh8Ua.js.map +1 -0
  151. package/dist/cdn/chunks/{src-BwbnXShT.js → src-Ct4Fsx3t.js} +148 -134
  152. package/dist/cdn/chunks/src-Ct4Fsx3t.js.map +1 -0
  153. package/dist/cdn/chunks/styleConstants-9oK5kn21.js +59 -0
  154. package/dist/cdn/chunks/styleConstants-9oK5kn21.js.map +1 -0
  155. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +6 -0
  156. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +1 -0
  157. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js → tiptap-DmpGap5g.js} +40 -40
  158. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js.map → tiptap-DmpGap5g.js.map} +1 -1
  159. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js → useAliveFlag-Dtm174fG.js} +2 -2
  160. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js.map → useAliveFlag-Dtm174fG.js.map} +1 -1
  161. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js → useCloudI18n-NVa1aeY8.js} +5 -5
  162. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js.map → useCloudI18n-NVa1aeY8.js.map} +1 -1
  163. package/dist/cdn/chunks/{useEditorCore-CcgxY-Gy.js → useEditorCore-DC8gmfs6.js} +1434 -1147
  164. package/dist/cdn/chunks/useEditorCore-DC8gmfs6.js.map +1 -0
  165. package/dist/cdn/chunks/{useI18n-UMs0F71x.js → useI18n-DVWCJJFH.js} +5 -5
  166. package/dist/cdn/chunks/{useI18n-UMs0F71x.js.map → useI18n-DVWCJJFH.js.map} +1 -1
  167. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js → useMergeTag-BfZBRPQp.js} +4 -4
  168. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js.map → useMergeTag-BfZBRPQp.js.map} +1 -1
  169. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js → usePopoverPosition-BC-HA7TK.js} +3 -3
  170. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js.map → usePopoverPosition-BC-HA7TK.js.map} +1 -1
  171. package/dist/cdn/editor.css +1 -1
  172. package/dist/cdn/editor.js +5119 -284
  173. package/dist/cdn/editor.js.map +1 -1
  174. package/dist/{check-On4TSac-.js → check-DZbmkMQe.js} +1 -1
  175. package/dist/{chevron-down-69EiBGoB.js → chevron-down-nYScOLeZ.js} +1 -1
  176. package/dist/{chevron-up-Dh3MG1Dw.js → chevron-up-CpYpDLnc.js} +1 -1
  177. package/dist/{circle-alert-cilwzafX.js → circle-alert-CuuK6thq.js} +1 -1
  178. package/dist/{clock-Dt0APH92.js → clock-DxkrtqOr.js} +1 -1
  179. package/dist/cloud-BAefVBb_.js +1444 -0
  180. package/dist/createCloudRuntime-Bt8W-ajI.js +342 -0
  181. package/dist/{createLucideIcon-C8WzBYCv.js → createLucideIcon-L-wQXW_R.js} +9 -9
  182. package/dist/{cdn/chunks/de-uVoSP1xF.js → de-BytZwgn6.js} +2 -90
  183. package/dist/{cdn/chunks/de-DHra3lvx.js → de-aRxhZF_K.js} +73 -108
  184. package/dist/dist-B5iReTtK.js +251 -0
  185. package/dist/{dist-Cl8J0IES.js → dist-Ck9roB6K.js} +42 -42
  186. package/dist/{dist-BpKxrUi2.js → dist-CqcGTIiX.js} +46 -46
  187. package/dist/{cdn/chunks/en-DlqX2YWZ.js → en-BX4V_7YO.js} +73 -108
  188. package/dist/{cdn/chunks/en-CjhsJxb-.js → en-DyOSV0lY.js} +2 -90
  189. package/dist/{cdn/chunks/es-Cuss2snv.js → es-CA9uQ-5x.js} +73 -108
  190. package/dist/{extensions-Cwg9S-0f.js → extensions-CX87G4aL.js} +42 -42
  191. package/dist/{cdn/chunks/fr-Cm85vB2g.js → fr-iBuE60Ap.js} +73 -108
  192. package/dist/{image-up-Ceggh_R3.js → image-up-DouZRGVt.js} +1 -1
  193. package/dist/index.d.ts +499 -23
  194. package/dist/{info-DO5odBcZ.js → info-puX5V6Iq.js} +1 -1
  195. package/dist/{cdn/chunks/keys-Cmc2Yl3D.js → keys-BxixS0TN.js} +4 -6
  196. package/dist/{list-checks-BSkPKbuI.js → list-checks-jw-ZlvWY.js} +1 -1
  197. package/dist/{loader-circle-bO7o7_HD.js → loader-circle-DqTxB7Kr.js} +1 -1
  198. package/dist/logger-BBlvSn6q.js +21 -0
  199. package/dist/{message-circle-BEkAk65X.js → message-circle-BZ7YpB22.js} +1 -1
  200. package/dist/{cdn/chunks/nl-dmiIX7oT.js → nl-Btw4ojNo.js} +73 -108
  201. package/dist/{pencil-t6m0EtKL.js → pencil-DmbRhTJu.js} +1 -1
  202. package/dist/preRenderCustomBlocks-BebjKtmw.js +21 -0
  203. package/dist/{cdn/chunks/pt-BR-CTzHTqJD.js → pt-BR-C1WLSGDh.js} +2 -90
  204. package/dist/{cdn/chunks/pt-BR-CaIG-7EM.js → pt-BR-GjVsCqbN.js} +73 -108
  205. package/dist/{refresh-cw-CkOYVzK5.js → refresh-cw-OK_O-cL0.js} +1 -1
  206. package/dist/{runtime-dom.esm-bundler-CepEmvwF.js → runtime-dom.esm-bundler-BgKXIPLV.js} +144 -144
  207. package/dist/{scan-line-DwSVj25O.js → scan-line-DyaSTsJ5.js} +1 -1
  208. package/dist/{send-CWsWN8PQ.js → send-B-wasJJC.js} +1 -1
  209. package/dist/{shield-check-qje8Kufw.js → shield-check-DUIyRrTo.js} +1 -1
  210. package/dist/{sparkles-DumaWRW-.js → sparkles-DYEMATWC.js} +1 -1
  211. package/dist/style.css +1 -1
  212. package/dist/styleConstants-9oK5kn21.js +57 -0
  213. package/dist/templatical-editor.js +5319 -289
  214. package/dist/{text-align-start-Ir8Ah4mT.js → text-align-start-CzjLeBLe.js} +1 -1
  215. package/dist/timeouts-DHPZQ0G3.js +4 -0
  216. package/dist/{trash-2-CklAFCmO.js → trash-2-C0shEPry.js} +1 -1
  217. package/dist/{triangle-alert-BBi4n93g.js → triangle-alert-Fw0ce8oQ.js} +1 -1
  218. package/dist/{upload-sVqqppuv.js → upload-D69C2CBx.js} +3 -4
  219. package/dist/{useAliveFlag-cvyBxHp7.js → useAliveFlag-BGIAZii_.js} +1 -1
  220. package/dist/{useCloudI18n-DKVm6PCa.js → useCloudI18n-CAZTZ9_a.js} +2 -2
  221. package/dist/{useEditorCore-P4UkhcyS.js → useEditorCore-CFLzobo_.js} +1604 -1320
  222. package/dist/{useI18n-DoVKdCTH.js → useI18n-BfXff_Sy.js} +2 -2
  223. package/dist/{useMergeTag-CYZk7dZD.js → useMergeTag-Dd4I7kge.js} +3 -3
  224. package/dist/usePopoverPosition-CxhCX3SQ.js +59 -0
  225. package/dist/{vue.runtime.esm-bundler-D1diBMsm.js → vue.runtime.esm-bundler-DzEsDRtY.js} +447 -436
  226. package/dist/{x-Mby7KlhS.js → x-BjTlFqRv.js} +1 -1
  227. package/package.json +8 -8
  228. package/dist/AiFeatureMenu-Cy-PVrNT.js +0 -63
  229. package/dist/BlockPreviewCanvas-BZKslwGI.js +0 -121
  230. package/dist/CloudEditor-CPRkQCRa.js +0 -1188
  231. package/dist/ColorPicker-ClETsjA3.js +0 -550
  232. package/dist/CommentsSidebar-CdRCCSDD.js +0 -435
  233. package/dist/SaveBlockDialog-21vDlEBS.js +0 -265
  234. package/dist/SnapshotHistory-Cb4WW2gf.js +0 -128
  235. package/dist/TestEmailModal-BHDKmd6B.js +0 -205
  236. package/dist/TitleEditor-Cy4B3UNe.js +0 -198
  237. package/dist/TplModal-Dv9zgSWI.js +0 -49
  238. package/dist/cdn/chunks/AiChatSidebar-CQ8KUmNB.js.map +0 -1
  239. package/dist/cdn/chunks/AiFeatureMenu-Cb9gaRBn.js +0 -63
  240. package/dist/cdn/chunks/AiFeatureMenu-Cb9gaRBn.js.map +0 -1
  241. package/dist/cdn/chunks/CloudEditor-DbyEsIxu.js +0 -1166
  242. package/dist/cdn/chunks/CloudEditor-DbyEsIxu.js.map +0 -1
  243. package/dist/cdn/chunks/CollaboratorBar-G_sZDZXw.js.map +0 -1
  244. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js +0 -552
  245. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js.map +0 -1
  246. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js +0 -412
  247. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js.map +0 -1
  248. package/dist/cdn/chunks/DesignReferenceSidebar-B-HFXV0W.js.map +0 -1
  249. package/dist/cdn/chunks/IssuesPanel-DKTS4QVb.js.map +0 -1
  250. package/dist/cdn/chunks/MergeTagSuggestion-Dn8dExNa.js.map +0 -1
  251. package/dist/cdn/chunks/NumberWithSuffix-BXrRdfq1.js.map +0 -1
  252. package/dist/cdn/chunks/ParagraphEditor-CZ5Z6AgG.js.map +0 -1
  253. package/dist/cdn/chunks/RichTextEditorContent-DtL49Jpo.js.map +0 -1
  254. package/dist/cdn/chunks/SaveBlockDialog-CVIVZEuy.js +0 -264
  255. package/dist/cdn/chunks/SaveBlockDialog-CVIVZEuy.js.map +0 -1
  256. package/dist/cdn/chunks/SavedBlocksBrowserModal-BkQXEUE2.js.map +0 -1
  257. package/dist/cdn/chunks/SavedBlocksPickBar-C80qJykl.js.map +0 -1
  258. package/dist/cdn/chunks/SnapshotHistory-DFinMrg_.js +0 -121
  259. package/dist/cdn/chunks/SnapshotHistory-DFinMrg_.js.map +0 -1
  260. package/dist/cdn/chunks/TemplateScoringPanel-NucRtAP0.js.map +0 -1
  261. package/dist/cdn/chunks/TestEmailModal-IxS-QjeH.js +0 -205
  262. package/dist/cdn/chunks/TestEmailModal-IxS-QjeH.js.map +0 -1
  263. package/dist/cdn/chunks/TitleEditor-C8WDXf4P.js.map +0 -1
  264. package/dist/cdn/chunks/TplModal-Ce0QuHyo.js +0 -50
  265. package/dist/cdn/chunks/TplModal-Ce0QuHyo.js.map +0 -1
  266. package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +0 -1
  267. package/dist/cdn/chunks/cloud-DcC8bPwn.js +0 -1787
  268. package/dist/cdn/chunks/cloud-DcC8bPwn.js.map +0 -1
  269. package/dist/cdn/chunks/de-DHra3lvx.js.map +0 -1
  270. package/dist/cdn/chunks/de-uVoSP1xF.js.map +0 -1
  271. package/dist/cdn/chunks/en-CjhsJxb-.js.map +0 -1
  272. package/dist/cdn/chunks/en-DlqX2YWZ.js.map +0 -1
  273. package/dist/cdn/chunks/es-Cuss2snv.js.map +0 -1
  274. package/dist/cdn/chunks/fr-Cm85vB2g.js.map +0 -1
  275. package/dist/cdn/chunks/keys-Cmc2Yl3D.js.map +0 -1
  276. package/dist/cdn/chunks/nl-dmiIX7oT.js.map +0 -1
  277. package/dist/cdn/chunks/pt-BR-CTzHTqJD.js.map +0 -1
  278. package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +0 -1
  279. package/dist/cdn/chunks/src-BwbnXShT.js.map +0 -1
  280. package/dist/cdn/chunks/src-xkGep9eN.js.map +0 -1
  281. package/dist/cdn/chunks/styles-DLAfU4Uf.js +0 -4140
  282. package/dist/cdn/chunks/styles-DLAfU4Uf.js.map +0 -1
  283. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +0 -6
  284. package/dist/cdn/chunks/timeouts-SsLMC4a3.js.map +0 -1
  285. package/dist/cdn/chunks/useEditorCore-CcgxY-Gy.js.map +0 -1
  286. package/dist/styles-Dx__pP9O.js +0 -4318
  287. package/dist/usePopoverPosition-C0dPEF4X.js +0 -308
@@ -1,16 +1,18 @@
1
- import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-D1diBMsm.js";
2
- import { c as b, s as x } from "./runtime-dom.esm-bundler-CepEmvwF.js";
3
- import { C as S, D as C, O as w, S as T } from "./useEditorCore-P4UkhcyS.js";
4
- import { n as E, s as D } from "./usePopoverPosition-C0dPEF4X.js";
5
- import { G as O, O as k, T as A, U as ee, V as te, g as ne, v as re } from "./keys-fwF3qZax.js";
6
- import { t as j } from "./useI18n-DoVKdCTH.js";
7
- import { t as M } from "./createLucideIcon-C8WzBYCv.js";
8
- import { a as N, i as ie, n as P, r as ae, t as F } from "./RichTextEditorContent-fbYJXAio.js";
9
- import { n as oe, t as se } from "./scan-line-DwSVj25O.js";
10
- import { t as ce } from "./loader-circle-bO7o7_HD.js";
11
- import { n as le, r as ue, t as de } from "./text-align-start-Ir8Ah4mT.js";
1
+ import { Dt as e, G as t, Ot as n, P as r, S as i, X as a, c as o, d as s, g as c, h as l, i as u, j as d, k as f, kt as p, l as m, r as h, rt as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
2
+ import { c as b, s as x } from "./runtime-dom.esm-bundler-BgKXIPLV.js";
3
+ import { C as S, D as C, E as w, S as T } from "./useEditorCore-CFLzobo_.js";
4
+ import { t as E } from "./dist-B5iReTtK.js";
5
+ import { B as D, D as O, H as k, W as ee, _ as te, h as ne, w as re } from "./keys-BxixS0TN.js";
6
+ import { t as A } from "./useI18n-BfXff_Sy.js";
7
+ import { n as j } from "./usePopoverPosition-CxhCX3SQ.js";
8
+ import { t as M } from "./createLucideIcon-L-wQXW_R.js";
9
+ import { a as N, i as ie, n as P, r as ae, t as F } from "./RichTextEditorContent-BVXG9oF4.js";
10
+ import { n as oe, t as se } from "./scan-line-DyaSTsJ5.js";
11
+ import { t as ce } from "./loader-circle-DqTxB7Kr.js";
12
+ import { n as le, r as ue, t as de } from "./text-align-start-CzjLeBLe.js";
12
13
  import { t as I } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as fe, o as pe, r as me, s as he, t as L } from "./ColorPicker-ClETsjA3.js";
14
+ import { a as fe, n as pe, o as me, s as he } from "./styleConstants-9oK5kn21.js";
15
+ import { t as L } from "./ColorPicker-Di8L5TLQ.js";
14
16
  var R = M("face-slightly-smiling", [
15
17
  ["path", {
16
18
  d: "M15 10V9",
@@ -169,60 +171,60 @@ var R = M("face-slightly-smiling", [
169
171
  "aria-label",
170
172
  "title",
171
173
  "aria-expanded"
172
- ], B = ["aria-label"], V = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, H = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, U = ["aria-label", "onClick"], we = /* @__PURE__ */ c({
174
+ ], B = ["aria-label"], V = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, H = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, U = ["aria-label", "onClick"], we = /* @__PURE__ */ y({
173
175
  __name: "EmojiPickerDropdown",
174
176
  emits: ["insert"],
175
- setup(t, { emit: r }) {
176
- let o = r, { categories: c, isOpen: f, toggle: p, close: m } = C(), { t: y, format: S } = j(), T = s(null), E = s(null), O = _(() => f.value);
177
- w(T, O), D(E, () => {
178
- f.value && m();
177
+ setup(t, { emit: n }) {
178
+ let r = n, { categories: i, isOpen: l, toggle: u, close: m } = w(), { t: y, format: S } = A(), T = a(null), D = a(null), O = _(() => l.value);
179
+ C(T, O), E(D, () => {
180
+ l.value && m();
179
181
  });
180
182
  function k(e) {
181
- o("insert", e), m();
183
+ r("insert", e), m();
182
184
  }
183
- return (t, r) => (i(), u("div", {
185
+ return (t, n) => (f(), s("div", {
184
186
  ref_key: "rootRef",
185
- ref: E,
187
+ ref: D,
186
188
  class: "tpl:relative"
187
- }, [l("button", {
189
+ }, [o("button", {
188
190
  type: "button",
189
- class: n(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": h(f) }]),
190
- "aria-label": h(y).paragraphEditor.insertEmoji,
191
- title: h(y).paragraphEditor.insertEmoji,
192
- "aria-expanded": h(f),
191
+ class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": g(l) }]),
192
+ "aria-label": g(y).paragraphEditor.insertEmoji,
193
+ title: g(y).paragraphEditor.insertEmoji,
194
+ "aria-expanded": g(l),
193
195
  "aria-haspopup": "dialog",
194
196
  "aria-controls": "tpl-emoji-picker",
195
- onClick: r[0] ||= (...e) => h(p) && h(p)(...e)
196
- }, [d(h(R), {
197
+ onClick: n[0] ||= (...e) => g(u) && g(u)(...e)
198
+ }, [c(g(R), {
197
199
  size: 16,
198
200
  "stroke-width": 2
199
- })], 10, z), h(f) ? (i(), u("div", {
201
+ })], 10, z), g(l) ? (f(), s("div", {
200
202
  key: 0,
201
203
  id: "tpl-emoji-picker",
202
204
  ref_key: "pickerRef",
203
205
  ref: T,
204
206
  role: "dialog",
205
207
  "aria-modal": "false",
206
- "aria-label": h(y).paragraphEditor.insertEmoji,
208
+ "aria-label": g(y).paragraphEditor.insertEmoji,
207
209
  tabindex: "-1",
208
- class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-lg",
209
- onKeydown: r[1] ||= x(b((...e) => h(m) && h(m)(...e), ["stop", "prevent"]), ["esc"])
210
- }, [(i(!0), u(g, null, e(h(c), (t) => (i(), u("div", {
211
- key: t.key,
210
+ class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
211
+ onKeydown: n[1] ||= x(b((...e) => g(m) && g(m)(...e), ["stop", "prevent"]), ["esc"])
212
+ }, [(f(!0), s(h, null, d(g(i), (e) => (f(), s("div", {
213
+ key: e.key,
212
214
  class: "tpl:mb-2 tpl:last:mb-0"
213
- }, [l("div", V, a(h(y).emoji[t.key]), 1), l("div", H, [(i(!0), u(g, null, e(t.emojis, (e) => (i(), u("button", {
215
+ }, [o("div", V, p(g(y).emoji[e.key]), 1), o("div", H, [(f(!0), s(h, null, d(e.emojis, (e) => (f(), s("button", {
214
216
  key: e,
215
217
  type: "button",
216
- "aria-label": h(S)(h(y).paragraphEditor.emojiItemLabel, { emoji: e }),
217
- class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
218
+ "aria-label": g(S)(g(y).paragraphEditor.emojiItemLabel, { emoji: e }),
219
+ class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
218
220
  onClick: (t) => k(e)
219
- }, a(e), 9, U))), 128))])]))), 128))], 40, B)) : v("", !0)], 512));
221
+ }, p(e), 9, U))), 128))])]))), 128))], 40, B)) : v("", !0)], 512));
220
222
  }
221
223
  }), W = [
222
224
  "aria-label",
223
225
  "title",
224
226
  "aria-pressed"
225
- ], G = /* @__PURE__ */ c({
227
+ ], G = /* @__PURE__ */ y({
226
228
  __name: "ToolbarIconButton",
227
229
  props: {
228
230
  icon: {},
@@ -231,16 +233,16 @@ var R = M("face-slightly-smiling", [
231
233
  strokeWidth: {},
232
234
  size: {}
233
235
  },
234
- setup(e) {
235
- return (t, a) => (i(), u("button", {
236
+ setup(t) {
237
+ return (n, i) => (f(), s("button", {
236
238
  type: "button",
237
- class: n(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
238
- "aria-label": e.label,
239
- title: e.label,
240
- "aria-pressed": e.active ? "true" : "false"
241
- }, [(i(), p(r(e.icon), {
242
- size: e.size ?? 16,
243
- "stroke-width": e.strokeWidth ?? 2
239
+ class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": t.active }]),
240
+ "aria-label": t.label,
241
+ title: t.label,
242
+ "aria-pressed": t.active ? "true" : "false"
243
+ }, [(f(), m(r(t.icon), {
244
+ size: t.size ?? 16,
245
+ "stroke-width": t.strokeWidth ?? 2
244
246
  }, null, 8, ["size", "stroke-width"]))], 10, W));
245
247
  }
246
248
  }), K = {}, q = {
@@ -248,13 +250,13 @@ var R = M("face-slightly-smiling", [
248
250
  "aria-hidden": "true"
249
251
  };
250
252
  function J(e, t) {
251
- return i(), u("span", q);
253
+ return f(), s("span", q);
252
254
  }
253
255
  var Y = /*#__PURE__*/ I(K, [["render", J]]), X = [
254
256
  "value",
255
257
  "aria-label",
256
258
  "title"
257
- ], Te = { value: "" }, Ee = ["value"], Z = /* @__PURE__ */ c({
259
+ ], Te = { value: "" }, Ee = ["value"], Z = /* @__PURE__ */ y({
258
260
  __name: "ToolbarSelect",
259
261
  props: {
260
262
  modelValue: {},
@@ -264,27 +266,27 @@ var Y = /*#__PURE__*/ I(K, [["render", J]]), X = [
264
266
  widthClass: {}
265
267
  },
266
268
  emits: ["update:modelValue"],
267
- setup(t, { emit: r }) {
268
- let o = r;
269
- function s(e) {
270
- o("update:modelValue", e.target.value);
269
+ setup(t, { emit: n }) {
270
+ let r = n;
271
+ function i(e) {
272
+ r("update:modelValue", e.target.value);
271
273
  }
272
- function c(e) {
274
+ function a(e) {
273
275
  return typeof e == "string" ? e : e.value;
274
276
  }
275
- function d(e) {
277
+ function c(e) {
276
278
  return typeof e == "string" ? e : e.label;
277
279
  }
278
- return (r, o) => (i(), u("select", {
279
- class: n(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", t.widthClass ?? "tpl:w-20"]),
280
+ return (n, r) => (f(), s("select", {
281
+ class: e(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", t.widthClass ?? "tpl:w-20"]),
280
282
  value: t.modelValue,
281
283
  "aria-label": t.label,
282
284
  title: t.label,
283
- onChange: s
284
- }, [l("option", Te, a(t.placeholder ?? ""), 1), (i(!0), u(g, null, e(t.options, (e) => (i(), u("option", {
285
- key: c(e),
286
- value: c(e)
287
- }, a(d(e)), 9, Ee))), 128))], 42, X));
285
+ onChange: i
286
+ }, [o("option", Te, p(t.placeholder ?? ""), 1), (f(!0), s(h, null, d(t.options, (e) => (f(), s("option", {
287
+ key: a(e),
288
+ value: a(e)
289
+ }, p(c(e)), 9, Ee))), 128))], 42, X));
288
290
  }
289
291
  });
290
292
  //#endregion
@@ -297,7 +299,7 @@ function Q(e, t) {
297
299
  var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Oe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, ke = ["aria-label", "title"], Ae = ["aria-label", "title"], je = {
298
300
  key: 1,
299
301
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
300
- }, Me = /* @__PURE__ */ c({
302
+ }, Me = /* @__PURE__ */ y({
301
303
  __name: "ParagraphToolbar",
302
304
  props: {
303
305
  editor: {},
@@ -311,8 +313,8 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
311
313
  "add-merge-tag",
312
314
  "add-logic-tag"
313
315
  ],
314
- setup(e, { emit: n }) {
315
- let r = e, o = n, s = y(te, null), c = y(ee, null), b = O(re, "ParagraphToolbar"), x = E(), S = y(k, null), C = y(A, null), w = y(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: D } = j(), M = b.fonts;
316
+ setup(e, { emit: t }) {
317
+ let r = e, a = t, d = i(D, null), y = i(k, null), b = ee(te, "ParagraphToolbar"), x = j(), S = i(O, null), C = i(re, null), w = i(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = A(), M = b.fonts;
316
318
  function P(e) {
317
319
  r.editor?.chain().focus().insertContent(e).run();
318
320
  }
@@ -362,27 +364,27 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
362
364
  let t = r.editor?.chain().focus();
363
365
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
364
366
  }
365
- return (n, r) => h(x) && !T.value ? (i(), p(f, {
367
+ return (t, r) => g(x) && !T.value ? (f(), m(u, {
366
368
  key: 0,
367
- to: h(x)
368
- }, [l("div", {
369
- "data-tpl-theme": h(c),
369
+ to: g(x)
370
+ }, [o("div", {
371
+ "data-tpl-theme": g(y),
370
372
  role: "toolbar",
371
- "aria-label": h(D).paragraphEditor.toolbar,
372
- class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-lg",
373
- style: t({
374
- ...h(s),
373
+ "aria-label": g(E).paragraphEditor.toolbar,
374
+ class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
375
+ style: n({
376
+ ...g(d),
375
377
  top: `${e.toolbarPosition.top}px`,
376
378
  left: `${e.toolbarPosition.left}px`,
377
379
  transform: "translateY(-100%)",
378
380
  flexDirection: "column"
379
381
  })
380
- }, [!e.isLoading && e.editor ? (i(), u(g, { key: 0 }, [l("div", $, [
381
- d(Z, {
382
+ }, [!e.isLoading && e.editor ? (f(), s(h, { key: 0 }, [o("div", $, [
383
+ c(Z, {
382
384
  "model-value": F("fontFamily"),
383
- options: h(M),
384
- label: h(D).paragraphEditor.fontFamily,
385
- placeholder: h(D).paragraphEditor.defaultFont,
385
+ options: g(M),
386
+ label: g(E).paragraphEditor.fontFamily,
387
+ placeholder: g(E).paragraphEditor.defaultFont,
386
388
  "width-class": "tpl:w-32",
387
389
  "onUpdate:modelValue": I
388
390
  }, null, 8, [
@@ -391,11 +393,11 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
391
393
  "label",
392
394
  "placeholder"
393
395
  ]),
394
- d(Z, {
396
+ c(Z, {
395
397
  "model-value": F("fontSize"),
396
- options: h(pe),
397
- label: h(D).paragraphEditor.fontSize,
398
- placeholder: h(D).paragraphEditor.defaultSize,
398
+ options: g(fe),
399
+ label: g(E).paragraphEditor.fontSize,
400
+ placeholder: g(E).paragraphEditor.defaultSize,
399
401
  "width-class": "tpl:w-20",
400
402
  "onUpdate:modelValue": R
401
403
  }, null, 8, [
@@ -404,37 +406,37 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
404
406
  "label",
405
407
  "placeholder"
406
408
  ]),
407
- d(Y),
408
- d(L, {
409
+ c(Y),
410
+ c(L, {
409
411
  "swatch-only": "",
410
412
  size: "sm",
411
413
  "data-testid": "text-color-picker",
412
414
  "model-value": U(),
413
415
  "seed-color": H(),
414
- "aria-label": h(D).paragraphEditor.textColor,
416
+ "aria-label": g(E).paragraphEditor.textColor,
415
417
  "onUpdate:modelValue": V
416
418
  }, null, 8, [
417
419
  "model-value",
418
420
  "seed-color",
419
421
  "aria-label"
420
422
  ]),
421
- d(L, {
423
+ c(L, {
422
424
  "swatch-only": "",
423
425
  size: "sm",
424
426
  "data-testid": "highlight-color-picker",
425
427
  "model-value": J(),
426
- "seed-color": h(me),
427
- "aria-label": h(D).paragraphEditor.highlightColor,
428
+ "seed-color": g(pe),
429
+ "aria-label": g(E).paragraphEditor.highlightColor,
428
430
  "onUpdate:modelValue": X
429
431
  }, null, 8, [
430
432
  "model-value",
431
433
  "seed-color",
432
434
  "aria-label"
433
435
  ]),
434
- d(Y),
435
- d(G, {
436
- icon: h(N),
437
- label: h(D).paragraphEditor.bold,
436
+ c(Y),
437
+ c(G, {
438
+ icon: g(N),
439
+ label: g(E).paragraphEditor.bold,
438
440
  active: e.editor.isActive("bold"),
439
441
  "stroke-width": 2.5,
440
442
  onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
@@ -443,9 +445,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
443
445
  "label",
444
446
  "active"
445
447
  ]),
446
- d(G, {
447
- icon: h(ie),
448
- label: h(D).paragraphEditor.italic,
448
+ c(G, {
449
+ icon: g(ie),
450
+ label: g(E).paragraphEditor.italic,
449
451
  active: e.editor.isActive("italic"),
450
452
  onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
451
453
  }, null, 8, [
@@ -453,9 +455,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
453
455
  "label",
454
456
  "active"
455
457
  ]),
456
- d(G, {
457
- icon: h(Ce),
458
- label: h(D).paragraphEditor.underline,
458
+ c(G, {
459
+ icon: g(Ce),
460
+ label: g(E).paragraphEditor.underline,
459
461
  active: e.editor.isActive("underline"),
460
462
  onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
461
463
  }, null, 8, [
@@ -463,9 +465,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
463
465
  "label",
464
466
  "active"
465
467
  ]),
466
- d(G, {
467
- icon: h(ye),
468
- label: h(D).paragraphEditor.strikethrough,
468
+ c(G, {
469
+ icon: g(ye),
470
+ label: g(E).paragraphEditor.strikethrough,
469
471
  active: e.editor.isActive("strike"),
470
472
  onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
471
473
  }, null, 8, [
@@ -473,10 +475,10 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
473
475
  "label",
474
476
  "active"
475
477
  ]),
476
- d(Y),
477
- d(G, {
478
- icon: h(be),
479
- label: h(D).paragraphEditor.subscript,
478
+ c(Y),
479
+ c(G, {
480
+ icon: g(be),
481
+ label: g(E).paragraphEditor.subscript,
480
482
  active: e.editor.isActive("subscript"),
481
483
  onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
482
484
  }, null, 8, [
@@ -484,9 +486,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
484
486
  "label",
485
487
  "active"
486
488
  ]),
487
- d(G, {
488
- icon: h(xe),
489
- label: h(D).paragraphEditor.superscript,
489
+ c(G, {
490
+ icon: g(xe),
491
+ label: g(E).paragraphEditor.superscript,
490
492
  active: e.editor.isActive("superscript"),
491
493
  onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
492
494
  }, null, 8, [
@@ -494,21 +496,21 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
494
496
  "label",
495
497
  "active"
496
498
  ]),
497
- d(Y),
498
- d(G, {
499
- icon: h(ae),
500
- label: h(D).paragraphEditor.addLink,
499
+ c(Y),
500
+ c(G, {
501
+ icon: g(ae),
502
+ label: g(E).paragraphEditor.addLink,
501
503
  active: e.editor.isActive("link"),
502
- onClick: r[6] ||= (e) => o("open-link-dialog")
504
+ onClick: r[6] ||= (e) => a("open-link-dialog")
503
505
  }, null, 8, [
504
506
  "icon",
505
507
  "label",
506
508
  "active"
507
509
  ])
508
- ]), l("div", Oe, [
509
- d(G, {
510
- icon: h(_e),
511
- label: h(D).paragraphEditor.bulletList,
510
+ ]), o("div", Oe, [
511
+ c(G, {
512
+ icon: g(_e),
513
+ label: g(E).paragraphEditor.bulletList,
512
514
  active: e.editor.isActive("bulletList"),
513
515
  onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
514
516
  }, null, 8, [
@@ -516,9 +518,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
516
518
  "label",
517
519
  "active"
518
520
  ]),
519
- d(G, {
520
- icon: h(ge),
521
- label: h(D).paragraphEditor.numberedList,
521
+ c(G, {
522
+ icon: g(ge),
523
+ label: g(E).paragraphEditor.numberedList,
522
524
  active: e.editor.isActive("orderedList"),
523
525
  onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
524
526
  }, null, 8, [
@@ -526,10 +528,10 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
526
528
  "label",
527
529
  "active"
528
530
  ]),
529
- d(Y),
530
- d(G, {
531
- icon: h(de),
532
- label: h(D).paragraphEditor.alignLeft,
531
+ c(Y),
532
+ c(G, {
533
+ icon: g(de),
534
+ label: g(E).paragraphEditor.alignLeft,
533
535
  active: e.editor.isActive({ textAlign: "left" }),
534
536
  onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
535
537
  }, null, 8, [
@@ -537,9 +539,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
537
539
  "label",
538
540
  "active"
539
541
  ]),
540
- d(G, {
541
- icon: h(ue),
542
- label: h(D).paragraphEditor.alignCenter,
542
+ c(G, {
543
+ icon: g(ue),
544
+ label: g(E).paragraphEditor.alignCenter,
543
545
  active: e.editor.isActive({ textAlign: "center" }),
544
546
  onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
545
547
  }, null, 8, [
@@ -547,9 +549,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
547
549
  "label",
548
550
  "active"
549
551
  ]),
550
- d(G, {
551
- icon: h(le),
552
- label: h(D).paragraphEditor.alignRight,
552
+ c(G, {
553
+ icon: g(le),
554
+ label: g(E).paragraphEditor.alignRight,
553
555
  active: e.editor.isActive({ textAlign: "right" }),
554
556
  onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
555
557
  }, null, 8, [
@@ -557,9 +559,9 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
557
559
  "label",
558
560
  "active"
559
561
  ]),
560
- d(G, {
561
- icon: h(Se),
562
- label: h(D).paragraphEditor.alignJustify,
562
+ c(G, {
563
+ icon: g(Se),
564
+ label: g(E).paragraphEditor.alignJustify,
563
565
  active: e.editor.isActive({ textAlign: "justify" }),
564
566
  onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
565
567
  }, null, 8, [
@@ -567,11 +569,11 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
567
569
  "label",
568
570
  "active"
569
571
  ]),
570
- d(Y),
571
- d(Z, {
572
+ c(Y),
573
+ c(Z, {
572
574
  "model-value": W(),
573
- options: h(fe),
574
- label: h(D).paragraphEditor.lineHeight,
575
+ options: g(he),
576
+ label: g(E).paragraphEditor.lineHeight,
575
577
  placeholder: "LH",
576
578
  "width-class": "tpl:w-16",
577
579
  "onUpdate:modelValue": K
@@ -580,10 +582,10 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
580
582
  "options",
581
583
  "label"
582
584
  ]),
583
- d(Z, {
585
+ c(Z, {
584
586
  "model-value": F("letterSpacing"),
585
- options: h(he),
586
- label: h(D).paragraphEditor.letterSpacing,
587
+ options: g(me),
588
+ label: g(E).paragraphEditor.letterSpacing,
587
589
  placeholder: "LS",
588
590
  "width-class": "tpl:w-20",
589
591
  "onUpdate:modelValue": q
@@ -592,57 +594,57 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
592
594
  "options",
593
595
  "label"
594
596
  ]),
595
- d(Y),
596
- d(G, {
597
- icon: h(ve),
598
- label: h(D).paragraphEditor.clearFormatting,
597
+ c(Y),
598
+ c(G, {
599
+ icon: g(ve),
600
+ label: g(E).paragraphEditor.clearFormatting,
599
601
  onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
600
602
  }, null, 8, ["icon", "label"]),
601
- d(Y),
602
- d(we, { onInsert: P }),
603
- e.canRequestMergeTag ? (i(), u(g, { key: 0 }, [d(Y), l("button", {
603
+ c(Y),
604
+ c(we, { onInsert: P }),
605
+ e.canRequestMergeTag ? (f(), s(h, { key: 0 }, [c(Y), o("button", {
604
606
  type: "button",
605
- class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
606
- "aria-label": h(D).mergeTag.insert,
607
- title: h(D).mergeTag.insert,
608
- onClick: r[14] ||= (e) => o("add-merge-tag")
609
- }, [d(h(se), {
607
+ class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
608
+ "aria-label": g(E).mergeTag.insert,
609
+ title: g(E).mergeTag.insert,
610
+ onClick: r[14] ||= (e) => a("add-merge-tag")
611
+ }, [c(g(se), {
610
612
  size: 16,
611
613
  "stroke-width": 2
612
- }), m(" " + a(h(D).mergeTag.insertShort), 1)], 8, ke)], 64)) : v("", !0),
613
- e.canInsertLogicTag ? (i(), u(g, { key: 1 }, [d(Y), l("button", {
614
+ }), l(" " + p(g(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : v("", !0),
615
+ e.canInsertLogicTag ? (f(), s(h, { key: 1 }, [c(Y), o("button", {
614
616
  type: "button",
615
- class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
616
- "aria-label": h(D).logicTag.insert,
617
- title: h(D).logicTag.insert,
617
+ class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
618
+ "aria-label": g(E).logicTag.insert,
619
+ title: g(E).logicTag.insert,
618
620
  "data-testid": "insert-logic-button",
619
- onClick: r[15] ||= (e) => o("add-logic-tag")
620
- }, [d(h(oe), {
621
+ onClick: r[15] ||= (e) => a("add-logic-tag")
622
+ }, [c(g(oe), {
621
623
  size: 16,
622
624
  "stroke-width": 2
623
- }), m(" " + a(h(D).logicTag.insertShort), 1)], 8, Ae)], 64)) : v("", !0)
624
- ])], 64)) : (i(), u("div", je, [d(h(ce), {
625
+ }), l(" " + p(g(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : v("", !0)
626
+ ])], 64)) : (f(), s("div", je, [c(g(ce), {
625
627
  class: "tpl-spinner",
626
628
  size: 14,
627
629
  "stroke-width": 2
628
- }), m(" " + a(h(D).errors.editorLoading), 1)]))], 12, De)], 8, ["to"])) : v("", !0);
630
+ }), l(" " + p(g(E).errors.editorLoading), 1)]))], 12, De)], 8, ["to"])) : v("", !0);
629
631
  }
630
- }), Ne = { class: "tpl-text-editor-wrapper tpl:relative" }, Pe = /* @__PURE__ */ c({
632
+ }), Ne = { class: "tpl-text-editor-wrapper tpl:relative" }, Pe = /* @__PURE__ */ y({
631
633
  __name: "ParagraphEditor",
632
634
  props: {
633
635
  block: {},
634
636
  toolbarPosition: {}
635
637
  },
636
638
  emits: ["done"],
637
- setup(e, { emit: t }) {
638
- let n = e, r = t, a = E(), { editor: s, EditorContent: c, isLoading: l, initError: f, retry: p, showLinkDialog: m, linkUrl: g, linkColor: _, linkDialogRef: v, canRequestMergeTag: y, canInsertLogicTag: b, openLinkDialog: x, insertLink: C, removeLink: w, closeLinkDialog: D, handleLinkKeydown: O, handleAddMergeTag: k, handleAddLogicTag: A } = T({
639
- blockId: () => n.block.id,
640
- blockContent: () => n.block.content,
641
- onDone: () => r("done"),
639
+ setup(e, { emit: n }) {
640
+ let r = e, i = n, a = j(), { editor: o, EditorContent: l, isLoading: u, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: _, linkDialogRef: v, canRequestMergeTag: y, canInsertLogicTag: b, openLinkDialog: x, insertLink: C, removeLink: w, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
641
+ blockId: () => r.block.id,
642
+ blockContent: () => r.block.content,
643
+ onDone: () => i("done"),
642
644
  editorName: "ParagraphEditor",
643
645
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
644
646
  let [{ Editor: o, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
645
- import("./dist-Cl8J0IES.js").then((e) => e.r),
647
+ import("./dist-Ck9roB6K.js").then((e) => e.r),
646
648
  import("./dist-DMJRSouD.js"),
647
649
  import("./dist-M7m1lYRe.js"),
648
650
  import("./dist-DfpeSdmE.js"),
@@ -653,7 +655,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
653
655
  import("./dist-8vlm9kfO.js"),
654
656
  import("./dist-6YJAWMuf.js"),
655
657
  import("./dist-C08jiemd.js"),
656
- import("./extensions-Cwg9S-0f.js")
658
+ import("./extensions-CX87G4aL.js")
657
659
  ]);
658
660
  return {
659
661
  TiptapEditor: o,
@@ -701,16 +703,16 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
701
703
  };
702
704
  }
703
705
  });
704
- return (t, n) => (i(), u("div", Ne, [
705
- d(Me, {
706
- editor: h(s),
706
+ return (n, r) => (f(), s("div", Ne, [
707
+ c(Me, {
708
+ editor: g(o),
707
709
  "toolbar-position": e.toolbarPosition,
708
- "is-loading": h(l),
709
- "can-request-merge-tag": h(y),
710
- "can-insert-logic-tag": h(b),
711
- onOpenLinkDialog: h(x),
712
- onAddMergeTag: h(k),
713
- onAddLogicTag: h(A)
710
+ "is-loading": g(u),
711
+ "can-request-merge-tag": g(y),
712
+ "can-insert-logic-tag": g(b),
713
+ onOpenLinkDialog: g(x),
714
+ onAddMergeTag: g(O),
715
+ onAddLogicTag: g(k)
714
716
  }, null, 8, [
715
717
  "editor",
716
718
  "toolbar-position",
@@ -721,12 +723,12 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
721
723
  "onAddMergeTag",
722
724
  "onAddLogicTag"
723
725
  ]),
724
- d(F, {
725
- editor: h(s),
726
- "editor-content": h(c),
727
- "is-loading": h(l),
728
- "init-error": h(f),
729
- onRetry: h(p)
726
+ c(F, {
727
+ editor: g(o),
728
+ "editor-content": g(l),
729
+ "is-loading": g(u),
730
+ "init-error": g(d),
731
+ onRetry: g(p)
730
732
  }, null, 8, [
731
733
  "editor",
732
734
  "editor-content",
@@ -734,19 +736,19 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
734
736
  "init-error",
735
737
  "onRetry"
736
738
  ]),
737
- d(P, {
738
- visible: h(m),
739
- "is-editing-link": h(s)?.isActive("link") ?? !1,
740
- "dialog-ref": h(v),
741
- "onUpdate:dialogRef": n[0] ||= (e) => o(v) ? v.value = e : null,
742
- "link-url": h(g),
743
- "onUpdate:linkUrl": n[1] ||= (e) => o(g) ? g.value = e : null,
744
- "link-color": h(_),
745
- "onUpdate:linkColor": n[2] ||= (e) => o(_) ? _.value = e : null,
746
- onClose: h(D),
747
- onInsert: h(C),
748
- onRemove: h(w),
749
- onKeydown: h(O)
739
+ c(P, {
740
+ visible: g(m),
741
+ "is-editing-link": g(o)?.isActive("link") ?? !1,
742
+ "dialog-ref": g(v),
743
+ "onUpdate:dialogRef": r[0] ||= (e) => t(v) ? v.value = e : null,
744
+ "link-url": g(h),
745
+ "onUpdate:linkUrl": r[1] ||= (e) => t(h) ? h.value = e : null,
746
+ "link-color": g(_),
747
+ "onUpdate:linkColor": r[2] ||= (e) => t(_) ? _.value = e : null,
748
+ onClose: g(E),
749
+ onInsert: g(C),
750
+ onRemove: g(w),
751
+ onKeydown: g(D)
750
752
  }, null, 8, [
751
753
  "visible",
752
754
  "is-editing-link",