@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,72 +1,73 @@
1
- import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, lt as m, m as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-DCs9qL-b.js";
2
- import { D as S, E as C, S as w, x as T } from "./useEditorCore-CcgxY-Gy.js";
3
- import { t as E } from "./dist-B2HKGHnc.js";
4
- import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-Cmc2Yl3D.js";
5
- import { t as j } from "./useI18n-UMs0F71x.js";
6
- import { n as M } from "./usePopoverPosition-cf8Y-ynK.js";
7
- import { Ct as N, P as re, R as ie, Rt as ae, S as oe, Vt as se, _ as ce, at as le, ct as ue, g as de, h as fe, it as pe, l as me, m as he, ot as ge, ut as _e, x as ve, y as ye } from "./icons-CvYN6zrM.js";
1
+ import { E as e, F as t, N as n, Q as r, R as i, S as a, at as o, b as s, c, ct as l, d as u, f as d, g as f, h as p, l as m, lt as h, m as g, p as _, q as v, u as y, ut as b, y as x } from "./draggable-BfpsXFg7.js";
2
+ import { E as S, S as C, T as w, x as T } from "./useEditorCore-DC8gmfs6.js";
3
+ import { t as E } from "./dist-CM8TB0VD.js";
4
+ import { B as D, D as O, H as k, W as ee, _ as te, h as ne, w as A } from "./keys-CbQuRX85.js";
5
+ import { t as j } from "./useI18n-DVWCJJFH.js";
6
+ import { n as M } from "./usePopoverPosition-BC-HA7TK.js";
7
+ import { Ct as N, P as re, R as ie, Rt as ae, S as oe, Vt as se, _ as ce, at as le, ct as ue, g as de, h as fe, it as pe, l as me, m as he, ot as ge, ut as _e, x as ve, y as ye } from "./icons-C36Ha5VU.js";
8
8
  import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
- import { c as be, o as xe, r as Se, s as Ce, t as F } from "./ColorPicker-W_UyiVGc.js";
10
- import { n as I, t as L } from "./RichTextEditorContent-DtL49Jpo.js";
9
+ import { a as be, n as xe, o as Se, s as Ce } from "./styleConstants-9oK5kn21.js";
10
+ import { t as F } from "./ColorPicker-CxKYd_8N.js";
11
+ import { n as I, t as L } from "./RichTextEditorContent-Cl-acKAD.js";
11
12
  //#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
12
13
  var R = [
13
14
  "aria-label",
14
15
  "title",
15
16
  "aria-expanded"
16
- ], z = ["aria-label"], B = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, V = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, H = ["aria-label", "onClick"], we = /* @__PURE__ */ b({
17
+ ], z = ["aria-label"], B = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, V = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, H = ["aria-label", "onClick"], we = /* @__PURE__ */ a({
17
18
  __name: "EmojiPickerDropdown",
18
19
  emits: ["insert"],
19
- setup(e, { emit: t }) {
20
- let i = t, { categories: s, isOpen: c, toggle: h, close: y } = C(), { t: b, format: w } = j(), T = a(null), D = a(null), O = l(() => c.value);
20
+ setup(e, { emit: i }) {
21
+ let a = i, { categories: u, isOpen: h, toggle: g, close: v } = w(), { t: x, format: C } = j(), T = r(null), D = r(null), O = d(() => h.value);
21
22
  S(T, O), E(D, () => {
22
- c.value && y();
23
+ h.value && v();
23
24
  });
24
25
  function k(e) {
25
- i("insert", e), y();
26
+ a("insert", e), v();
26
27
  }
27
- return (e, t) => (n(), u("div", {
28
+ return (e, r) => (n(), f("div", {
28
29
  ref_key: "rootRef",
29
30
  ref: D,
30
31
  class: "tpl:relative"
31
- }, [g("button", {
32
+ }, [_("button", {
32
33
  type: "button",
33
- class: _(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": f(c) }]),
34
- "aria-label": f(b).paragraphEditor.insertEmoji,
35
- title: f(b).paragraphEditor.insertEmoji,
36
- "aria-expanded": f(c),
34
+ class: l(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": o(h) }]),
35
+ "aria-label": o(x).paragraphEditor.insertEmoji,
36
+ title: o(x).paragraphEditor.insertEmoji,
37
+ "aria-expanded": o(h),
37
38
  "aria-haspopup": "dialog",
38
39
  "aria-controls": "tpl-emoji-picker",
39
- onClick: t[0] ||= (...e) => f(h) && f(h)(...e)
40
- }, [x(f(N), {
40
+ onClick: r[0] ||= (...e) => o(g) && o(g)(...e)
41
+ }, [s(o(N), {
41
42
  size: 16,
42
43
  "stroke-width": 2
43
- })], 10, R), f(c) ? (n(), u("div", {
44
+ })], 10, R), o(h) ? (n(), f("div", {
44
45
  key: 0,
45
46
  id: "tpl-emoji-picker",
46
47
  ref_key: "pickerRef",
47
48
  ref: T,
48
49
  role: "dialog",
49
50
  "aria-modal": "false",
50
- "aria-label": f(b).paragraphEditor.insertEmoji,
51
+ "aria-label": o(x).paragraphEditor.insertEmoji,
51
52
  tabindex: "-1",
52
- 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",
53
- onKeydown: t[1] ||= o(p((...e) => f(y) && f(y)(...e), ["stop", "prevent"]), ["esc"])
54
- }, [(n(!0), u(v, null, r(f(s), (e) => (n(), u("div", {
53
+ 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)]",
54
+ onKeydown: r[1] ||= c(m((...e) => o(v) && o(v)(...e), ["stop", "prevent"]), ["esc"])
55
+ }, [(n(!0), f(y, null, t(o(u), (e) => (n(), f("div", {
55
56
  key: e.key,
56
57
  class: "tpl:mb-2 tpl:last:mb-0"
57
- }, [g("div", B, m(f(b).emoji[e.key]), 1), g("div", V, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
58
+ }, [_("div", B, b(o(x).emoji[e.key]), 1), _("div", V, [(n(!0), f(y, null, t(e.emojis, (e) => (n(), f("button", {
58
59
  key: e,
59
60
  type: "button",
60
- "aria-label": f(w)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
61
- 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)]",
61
+ "aria-label": o(C)(o(x).paragraphEditor.emojiItemLabel, { emoji: e }),
62
+ 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)]",
62
63
  onClick: (t) => k(e)
63
- }, m(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
64
+ }, b(e), 9, H))), 128))])]))), 128))], 40, z)) : p("", !0)], 512));
64
65
  }
65
66
  }), U = [
66
67
  "aria-label",
67
68
  "title",
68
69
  "aria-pressed"
69
- ], W = /* @__PURE__ */ b({
70
+ ], W = /* @__PURE__ */ a({
70
71
  __name: "ToolbarIconButton",
71
72
  props: {
72
73
  icon: {},
@@ -76,13 +77,13 @@ var R = [
76
77
  size: {}
77
78
  },
78
79
  setup(e) {
79
- return (r, i) => (n(), u("button", {
80
+ return (t, r) => (n(), f("button", {
80
81
  type: "button",
81
- class: _(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
82
+ class: l(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
82
83
  "aria-label": e.label,
83
84
  title: e.label,
84
85
  "aria-pressed": e.active ? "true" : "false"
85
- }, [(n(), h(t(e.icon), {
86
+ }, [(n(), g(i(e.icon), {
86
87
  size: e.size ?? 16,
87
88
  "stroke-width": e.strokeWidth ?? 2
88
89
  }, null, 8, ["size", "stroke-width"]))], 10, U));
@@ -92,13 +93,13 @@ var R = [
92
93
  "aria-hidden": "true"
93
94
  };
94
95
  function q(e, t) {
95
- return n(), u("span", K);
96
+ return n(), f("span", K);
96
97
  }
97
98
  var J = /*#__PURE__*/ P(G, [["render", q]]), Y = [
98
99
  "value",
99
100
  "aria-label",
100
101
  "title"
101
- ], X = { value: "" }, Te = ["value"], Z = /* @__PURE__ */ b({
102
+ ], X = { value: "" }, Te = ["value"], Z = /* @__PURE__ */ a({
102
103
  __name: "ToolbarSelect",
103
104
  props: {
104
105
  modelValue: {},
@@ -108,8 +109,8 @@ var J = /*#__PURE__*/ P(G, [["render", q]]), Y = [
108
109
  widthClass: {}
109
110
  },
110
111
  emits: ["update:modelValue"],
111
- setup(e, { emit: t }) {
112
- let i = t;
112
+ setup(e, { emit: r }) {
113
+ let i = r;
113
114
  function a(e) {
114
115
  i("update:modelValue", e.target.value);
115
116
  }
@@ -119,16 +120,16 @@ var J = /*#__PURE__*/ P(G, [["render", q]]), Y = [
119
120
  function s(e) {
120
121
  return typeof e == "string" ? e : e.label;
121
122
  }
122
- return (t, i) => (n(), u("select", {
123
- class: _(["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", e.widthClass ?? "tpl:w-20"]),
123
+ return (r, i) => (n(), f("select", {
124
+ class: l(["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", e.widthClass ?? "tpl:w-20"]),
124
125
  value: e.modelValue,
125
126
  "aria-label": e.label,
126
127
  title: e.label,
127
128
  onChange: a
128
- }, [g("option", X, m(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
129
+ }, [_("option", X, b(e.placeholder ?? ""), 1), (n(!0), f(y, null, t(e.options, (e) => (n(), f("option", {
129
130
  key: o(e),
130
131
  value: o(e)
131
- }, m(s(e)), 9, Te))), 128))], 42, Y));
132
+ }, b(s(e)), 9, Te))), 128))], 42, Y));
132
133
  }
133
134
  });
134
135
  //#endregion
@@ -141,7 +142,7 @@ function Q(e, t) {
141
142
  var Ee = ["data-tpl-theme", "aria-label"], De = { 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"], $ = {
142
143
  key: 1,
143
144
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
144
- }, je = /* @__PURE__ */ b({
145
+ }, je = /* @__PURE__ */ a({
145
146
  __name: "ParagraphToolbar",
146
147
  props: {
147
148
  editor: {},
@@ -155,30 +156,30 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
155
156
  "add-merge-tag",
156
157
  "add-logic-tag"
157
158
  ],
158
- setup(e, { emit: t }) {
159
- let r = e, a = t, o = i(te, null), p = i(ee, null), _ = D(A, "ParagraphToolbar"), b = M(), S = i(O, null), C = i(k, null), w = i(ne, null), T = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), N = _.fonts;
159
+ setup(t, { emit: r }) {
160
+ let i = t, a = r, c = e(D, null), l = e(k, null), m = ee(te, "ParagraphToolbar"), v = M(), S = e(O, null), C = e(A, null), w = e(ne, null), T = d(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), N = m.fonts;
160
161
  function P(e) {
161
- r.editor?.chain().focus().insertContent(e).run();
162
+ i.editor?.chain().focus().insertContent(e).run();
162
163
  }
163
164
  function I(e) {
164
- return r.editor?.getAttributes("textStyle")[e] || "";
165
+ return i.editor?.getAttributes("textStyle")[e] || "";
165
166
  }
166
167
  function L(e) {
167
- let t = r.editor?.chain().focus();
168
+ let t = i.editor?.chain().focus();
168
169
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
169
170
  }
170
171
  function R(e) {
171
- let t = r.editor?.chain().focus();
172
+ let t = i.editor?.chain().focus();
172
173
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
173
174
  }
174
175
  function z() {
175
- return r.editor?.isActive("link") ?? !1;
176
+ return i.editor?.isActive("link") ?? !1;
176
177
  }
177
178
  function B() {
178
- return r.editor?.getAttributes("link").color || "";
179
+ return i.editor?.getAttributes("link").color || "";
179
180
  }
180
181
  function V(e) {
181
- let t = r.editor?.chain().focus();
182
+ let t = i.editor?.chain().focus();
182
183
  t && (z() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
183
184
  }
184
185
  function H() {
@@ -189,44 +190,44 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
189
190
  return z() ? B() : I("color");
190
191
  }
191
192
  function G() {
192
- return r.editor?.getAttributes("paragraph").lineHeight || "";
193
+ return i.editor?.getAttributes("paragraph").lineHeight || "";
193
194
  }
194
195
  function K(e) {
195
- let t = r.editor?.chain().focus();
196
+ let t = i.editor?.chain().focus();
196
197
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
197
198
  }
198
199
  function q(e) {
199
- let t = r.editor?.chain().focus();
200
+ let t = i.editor?.chain().focus();
200
201
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
201
202
  }
202
203
  function Y() {
203
- return r.editor?.getAttributes("highlight").color || "";
204
+ return i.editor?.getAttributes("highlight").color || "";
204
205
  }
205
206
  function X(e) {
206
- let t = r.editor?.chain().focus();
207
+ let t = i.editor?.chain().focus();
207
208
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
208
209
  }
209
- return (t, r) => f(b) && !T.value ? (n(), h(c, {
210
+ return (e, r) => o(v) && !T.value ? (n(), g(u, {
210
211
  key: 0,
211
- to: f(b)
212
- }, [g("div", {
213
- "data-tpl-theme": f(p),
212
+ to: o(v)
213
+ }, [_("div", {
214
+ "data-tpl-theme": o(l),
214
215
  role: "toolbar",
215
- "aria-label": f(E).paragraphEditor.toolbar,
216
- 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",
217
- style: s({
218
- ...f(o),
219
- top: `${e.toolbarPosition.top}px`,
220
- left: `${e.toolbarPosition.left}px`,
216
+ "aria-label": o(E).paragraphEditor.toolbar,
217
+ 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)]",
218
+ style: h({
219
+ ...o(c),
220
+ top: `${t.toolbarPosition.top}px`,
221
+ left: `${t.toolbarPosition.left}px`,
221
222
  transform: "translateY(-100%)",
222
223
  flexDirection: "column"
223
224
  })
224
- }, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", De, [
225
- x(Z, {
225
+ }, [!t.isLoading && t.editor ? (n(), f(y, { key: 0 }, [_("div", De, [
226
+ s(Z, {
226
227
  "model-value": I("fontFamily"),
227
- options: f(N),
228
- label: f(E).paragraphEditor.fontFamily,
229
- placeholder: f(E).paragraphEditor.defaultFont,
228
+ options: o(N),
229
+ label: o(E).paragraphEditor.fontFamily,
230
+ placeholder: o(E).paragraphEditor.defaultFont,
230
231
  "width-class": "tpl:w-32",
231
232
  "onUpdate:modelValue": L
232
233
  }, null, 8, [
@@ -235,11 +236,11 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
235
236
  "label",
236
237
  "placeholder"
237
238
  ]),
238
- x(Z, {
239
+ s(Z, {
239
240
  "model-value": I("fontSize"),
240
- options: f(xe),
241
- label: f(E).paragraphEditor.fontSize,
242
- placeholder: f(E).paragraphEditor.defaultSize,
241
+ options: o(be),
242
+ label: o(E).paragraphEditor.fontSize,
243
+ placeholder: o(E).paragraphEditor.defaultSize,
243
244
  "width-class": "tpl:w-20",
244
245
  "onUpdate:modelValue": R
245
246
  }, null, 8, [
@@ -248,174 +249,174 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
248
249
  "label",
249
250
  "placeholder"
250
251
  ]),
251
- x(J),
252
- x(F, {
252
+ s(J),
253
+ s(F, {
253
254
  "swatch-only": "",
254
255
  size: "sm",
255
256
  "data-testid": "text-color-picker",
256
257
  "model-value": U(),
257
258
  "seed-color": H(),
258
- "aria-label": f(E).paragraphEditor.textColor,
259
+ "aria-label": o(E).paragraphEditor.textColor,
259
260
  "onUpdate:modelValue": V
260
261
  }, null, 8, [
261
262
  "model-value",
262
263
  "seed-color",
263
264
  "aria-label"
264
265
  ]),
265
- x(F, {
266
+ s(F, {
266
267
  "swatch-only": "",
267
268
  size: "sm",
268
269
  "data-testid": "highlight-color-picker",
269
270
  "model-value": Y(),
270
- "seed-color": f(Se),
271
- "aria-label": f(E).paragraphEditor.highlightColor,
271
+ "seed-color": o(xe),
272
+ "aria-label": o(E).paragraphEditor.highlightColor,
272
273
  "onUpdate:modelValue": X
273
274
  }, null, 8, [
274
275
  "model-value",
275
276
  "seed-color",
276
277
  "aria-label"
277
278
  ]),
278
- x(J),
279
- x(W, {
280
- icon: f(se),
281
- label: f(E).paragraphEditor.bold,
282
- active: e.editor.isActive("bold"),
279
+ s(J),
280
+ s(W, {
281
+ icon: o(se),
282
+ label: o(E).paragraphEditor.bold,
283
+ active: t.editor.isActive("bold"),
283
284
  "stroke-width": 2.5,
284
- onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
285
+ onClick: r[0] ||= (e) => t.editor.chain().focus().toggleBold().run()
285
286
  }, null, 8, [
286
287
  "icon",
287
288
  "label",
288
289
  "active"
289
290
  ]),
290
- x(W, {
291
- icon: f(_e),
292
- label: f(E).paragraphEditor.italic,
293
- active: e.editor.isActive("italic"),
294
- onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
291
+ s(W, {
292
+ icon: o(_e),
293
+ label: o(E).paragraphEditor.italic,
294
+ active: t.editor.isActive("italic"),
295
+ onClick: r[1] ||= (e) => t.editor.chain().focus().toggleItalic().run()
295
296
  }, null, 8, [
296
297
  "icon",
297
298
  "label",
298
299
  "active"
299
300
  ]),
300
- x(W, {
301
- icon: f(me),
302
- label: f(E).paragraphEditor.underline,
303
- active: e.editor.isActive("underline"),
304
- onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
301
+ s(W, {
302
+ icon: o(me),
303
+ label: o(E).paragraphEditor.underline,
304
+ active: t.editor.isActive("underline"),
305
+ onClick: r[2] ||= (e) => t.editor.chain().focus().toggleUnderline().run()
305
306
  }, null, 8, [
306
307
  "icon",
307
308
  "label",
308
309
  "active"
309
310
  ]),
310
- x(W, {
311
- icon: f(oe),
312
- label: f(E).paragraphEditor.strikethrough,
313
- active: e.editor.isActive("strike"),
314
- onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
311
+ s(W, {
312
+ icon: o(oe),
313
+ label: o(E).paragraphEditor.strikethrough,
314
+ active: t.editor.isActive("strike"),
315
+ onClick: r[3] ||= (e) => t.editor.chain().focus().toggleStrike().run()
315
316
  }, null, 8, [
316
317
  "icon",
317
318
  "label",
318
319
  "active"
319
320
  ]),
320
- x(J),
321
- x(W, {
322
- icon: f(ve),
323
- label: f(E).paragraphEditor.subscript,
324
- active: e.editor.isActive("subscript"),
325
- onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
321
+ s(J),
322
+ s(W, {
323
+ icon: o(ve),
324
+ label: o(E).paragraphEditor.subscript,
325
+ active: t.editor.isActive("subscript"),
326
+ onClick: r[4] ||= (e) => t.editor.chain().focus().toggleSubscript().run()
326
327
  }, null, 8, [
327
328
  "icon",
328
329
  "label",
329
330
  "active"
330
331
  ]),
331
- x(W, {
332
- icon: f(ye),
333
- label: f(E).paragraphEditor.superscript,
334
- active: e.editor.isActive("superscript"),
335
- onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
332
+ s(W, {
333
+ icon: o(ye),
334
+ label: o(E).paragraphEditor.superscript,
335
+ active: t.editor.isActive("superscript"),
336
+ onClick: r[5] ||= (e) => t.editor.chain().focus().toggleSuperscript().run()
336
337
  }, null, 8, [
337
338
  "icon",
338
339
  "label",
339
340
  "active"
340
341
  ]),
341
- x(J),
342
- x(W, {
343
- icon: f(ue),
344
- label: f(E).paragraphEditor.addLink,
345
- active: e.editor.isActive("link"),
342
+ s(J),
343
+ s(W, {
344
+ icon: o(ue),
345
+ label: o(E).paragraphEditor.addLink,
346
+ active: t.editor.isActive("link"),
346
347
  onClick: r[6] ||= (e) => a("open-link-dialog")
347
348
  }, null, 8, [
348
349
  "icon",
349
350
  "label",
350
351
  "active"
351
352
  ])
352
- ]), g("div", Oe, [
353
- x(W, {
354
- icon: f(le),
355
- label: f(E).paragraphEditor.bulletList,
356
- active: e.editor.isActive("bulletList"),
357
- onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
353
+ ]), _("div", Oe, [
354
+ s(W, {
355
+ icon: o(le),
356
+ label: o(E).paragraphEditor.bulletList,
357
+ active: t.editor.isActive("bulletList"),
358
+ onClick: r[7] ||= (e) => t.editor.chain().focus().toggleBulletList().run()
358
359
  }, null, 8, [
359
360
  "icon",
360
361
  "label",
361
362
  "active"
362
363
  ]),
363
- x(W, {
364
- icon: f(ge),
365
- label: f(E).paragraphEditor.numberedList,
366
- active: e.editor.isActive("orderedList"),
367
- onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
364
+ s(W, {
365
+ icon: o(ge),
366
+ label: o(E).paragraphEditor.numberedList,
367
+ active: t.editor.isActive("orderedList"),
368
+ onClick: r[8] ||= (e) => t.editor.chain().focus().toggleOrderedList().run()
368
369
  }, null, 8, [
369
370
  "icon",
370
371
  "label",
371
372
  "active"
372
373
  ]),
373
- x(J),
374
- x(W, {
375
- icon: f(he),
376
- label: f(E).paragraphEditor.alignLeft,
377
- active: e.editor.isActive({ textAlign: "left" }),
378
- onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
374
+ s(J),
375
+ s(W, {
376
+ icon: o(he),
377
+ label: o(E).paragraphEditor.alignLeft,
378
+ active: t.editor.isActive({ textAlign: "left" }),
379
+ onClick: r[9] ||= (e) => t.editor.chain().focus().setTextAlign("left").run()
379
380
  }, null, 8, [
380
381
  "icon",
381
382
  "label",
382
383
  "active"
383
384
  ]),
384
- x(W, {
385
- icon: f(ce),
386
- label: f(E).paragraphEditor.alignCenter,
387
- active: e.editor.isActive({ textAlign: "center" }),
388
- onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
385
+ s(W, {
386
+ icon: o(ce),
387
+ label: o(E).paragraphEditor.alignCenter,
388
+ active: t.editor.isActive({ textAlign: "center" }),
389
+ onClick: r[10] ||= (e) => t.editor.chain().focus().setTextAlign("center").run()
389
390
  }, null, 8, [
390
391
  "icon",
391
392
  "label",
392
393
  "active"
393
394
  ]),
394
- x(W, {
395
- icon: f(de),
396
- label: f(E).paragraphEditor.alignRight,
397
- active: e.editor.isActive({ textAlign: "right" }),
398
- onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
395
+ s(W, {
396
+ icon: o(de),
397
+ label: o(E).paragraphEditor.alignRight,
398
+ active: t.editor.isActive({ textAlign: "right" }),
399
+ onClick: r[11] ||= (e) => t.editor.chain().focus().setTextAlign("right").run()
399
400
  }, null, 8, [
400
401
  "icon",
401
402
  "label",
402
403
  "active"
403
404
  ]),
404
- x(W, {
405
- icon: f(fe),
406
- label: f(E).paragraphEditor.alignJustify,
407
- active: e.editor.isActive({ textAlign: "justify" }),
408
- onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
405
+ s(W, {
406
+ icon: o(fe),
407
+ label: o(E).paragraphEditor.alignJustify,
408
+ active: t.editor.isActive({ textAlign: "justify" }),
409
+ onClick: r[12] ||= (e) => t.editor.chain().focus().setTextAlign("justify").run()
409
410
  }, null, 8, [
410
411
  "icon",
411
412
  "label",
412
413
  "active"
413
414
  ]),
414
- x(J),
415
- x(Z, {
415
+ s(J),
416
+ s(Z, {
416
417
  "model-value": G(),
417
- options: f(be),
418
- label: f(E).paragraphEditor.lineHeight,
418
+ options: o(Ce),
419
+ label: o(E).paragraphEditor.lineHeight,
419
420
  placeholder: "LH",
420
421
  "width-class": "tpl:w-16",
421
422
  "onUpdate:modelValue": K
@@ -424,10 +425,10 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
424
425
  "options",
425
426
  "label"
426
427
  ]),
427
- x(Z, {
428
+ s(Z, {
428
429
  "model-value": I("letterSpacing"),
429
- options: f(Ce),
430
- label: f(E).paragraphEditor.letterSpacing,
430
+ options: o(Se),
431
+ label: o(E).paragraphEditor.letterSpacing,
431
432
  placeholder: "LS",
432
433
  "width-class": "tpl:w-20",
433
434
  "onUpdate:modelValue": q
@@ -436,71 +437,71 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
436
437
  "options",
437
438
  "label"
438
439
  ]),
439
- x(J),
440
- x(W, {
441
- icon: f(ie),
442
- label: f(E).paragraphEditor.clearFormatting,
443
- onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
440
+ s(J),
441
+ s(W, {
442
+ icon: o(ie),
443
+ label: o(E).paragraphEditor.clearFormatting,
444
+ onClick: r[13] ||= (e) => t.editor.chain().focus().clearNodes().unsetAllMarks().run()
444
445
  }, null, 8, ["icon", "label"]),
445
- x(J),
446
- x(we, { onInsert: P }),
447
- e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(J), g("button", {
446
+ s(J),
447
+ s(we, { onInsert: P }),
448
+ t.canRequestMergeTag ? (n(), f(y, { key: 0 }, [s(J), _("button", {
448
449
  type: "button",
449
- 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)]",
450
- "aria-label": f(E).mergeTag.insert,
451
- title: f(E).mergeTag.insert,
450
+ 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)]",
451
+ "aria-label": o(E).mergeTag.insert,
452
+ title: o(E).mergeTag.insert,
452
453
  onClick: r[14] ||= (e) => a("add-merge-tag")
453
- }, [x(f(re), {
454
+ }, [s(o(re), {
454
455
  size: 16,
455
456
  "stroke-width": 2
456
- }), y(" " + m(f(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : d("", !0),
457
- e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
457
+ }), x(" " + b(o(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : p("", !0),
458
+ t.canInsertLogicTag ? (n(), f(y, { key: 1 }, [s(J), _("button", {
458
459
  type: "button",
459
- 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)]",
460
- "aria-label": f(E).logicTag.insert,
461
- title: f(E).logicTag.insert,
460
+ 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)]",
461
+ "aria-label": o(E).logicTag.insert,
462
+ title: o(E).logicTag.insert,
462
463
  "data-testid": "insert-logic-button",
463
464
  onClick: r[15] ||= (e) => a("add-logic-tag")
464
- }, [x(f(ae), {
465
+ }, [s(o(ae), {
465
466
  size: 16,
466
467
  "stroke-width": 2
467
- }), y(" " + m(f(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : d("", !0)
468
- ])], 64)) : (n(), u("div", $, [x(f(pe), {
468
+ }), x(" " + b(o(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : p("", !0)
469
+ ])], 64)) : (n(), f("div", $, [s(o(pe), {
469
470
  class: "tpl-spinner",
470
471
  size: 14,
471
472
  "stroke-width": 2
472
- }), y(" " + m(f(E).errors.editorLoading), 1)]))], 12, Ee)], 8, ["to"])) : d("", !0);
473
+ }), x(" " + b(o(E).errors.editorLoading), 1)]))], 12, Ee)], 8, ["to"])) : p("", !0);
473
474
  }
474
- }), Me = { class: "tpl-text-editor-wrapper tpl:relative" }, Ne = /* @__PURE__ */ b({
475
+ }), Me = { class: "tpl-text-editor-wrapper tpl:relative" }, Ne = /* @__PURE__ */ a({
475
476
  __name: "ParagraphEditor",
476
477
  props: {
477
478
  block: {},
478
479
  toolbarPosition: {}
479
480
  },
480
481
  emits: ["done"],
481
- setup(t, { emit: r }) {
482
- let i = t, a = r, o = M(), { editor: s, EditorContent: c, isLoading: l, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: v, canInsertLogicTag: y, openLinkDialog: b, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
483
- blockId: () => i.block.id,
484
- blockContent: () => i.block.content,
485
- onDone: () => a("done"),
482
+ setup(e, { emit: t }) {
483
+ let r = e, i = t, a = M(), { editor: c, EditorContent: l, isLoading: u, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: y, canInsertLogicTag: b, openLinkDialog: x, insertLink: S, removeLink: w, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
484
+ blockId: () => r.block.id,
485
+ blockContent: () => r.block.content,
486
+ onDone: () => i("done"),
486
487
  editorName: "ParagraphEditor",
487
488
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
488
- let [{ Editor: a, 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: S, LetterSpacing: C, LineBoundaryKeys: T }] = await Promise.all([
489
- import("./tiptap-C44S1Cmh.js").then((e) => e.r),
490
- import("./tiptap-C44S1Cmh.js").then((e) => e.i),
491
- import("./tiptap-C44S1Cmh.js").then((e) => e.l),
492
- import("./tiptap-C44S1Cmh.js").then((e) => e.a),
493
- import("./tiptap-C44S1Cmh.js").then((e) => e.c),
494
- import("./tiptap-C44S1Cmh.js").then((e) => e.s),
495
- import("./tiptap-C44S1Cmh.js").then((e) => e.o),
496
- import("./tiptap-C44S1Cmh.js").then((e) => e.p),
497
- import("./tiptap-C44S1Cmh.js").then((e) => e.f),
498
- import("./tiptap-C44S1Cmh.js").then((e) => e.d),
499
- import("./tiptap-C44S1Cmh.js").then((e) => e.u),
500
- import("./extensions-qhcN3RMT.js")
489
+ 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: S, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
490
+ import("./tiptap-DmpGap5g.js").then((e) => e.r),
491
+ import("./tiptap-DmpGap5g.js").then((e) => e.i),
492
+ import("./tiptap-DmpGap5g.js").then((e) => e.l),
493
+ import("./tiptap-DmpGap5g.js").then((e) => e.a),
494
+ import("./tiptap-DmpGap5g.js").then((e) => e.c),
495
+ import("./tiptap-DmpGap5g.js").then((e) => e.s),
496
+ import("./tiptap-DmpGap5g.js").then((e) => e.o),
497
+ import("./tiptap-DmpGap5g.js").then((e) => e.p),
498
+ import("./tiptap-DmpGap5g.js").then((e) => e.f),
499
+ import("./tiptap-DmpGap5g.js").then((e) => e.d),
500
+ import("./tiptap-DmpGap5g.js").then((e) => e.u),
501
+ import("./extensions-CMcVw2uu.js")
501
502
  ]);
502
503
  return {
503
- TiptapEditor: a,
504
+ TiptapEditor: o,
504
505
  EC: s,
505
506
  extensions: [
506
507
  c.configure({
@@ -514,7 +515,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
514
515
  u,
515
516
  d,
516
517
  f,
517
- w(l).configure({
518
+ C(l).configure({
518
519
  openOnClick: !1,
519
520
  HTMLAttributes: {
520
521
  target: "_blank",
@@ -528,7 +529,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
528
529
  _.configure({ multicolor: !0 }),
529
530
  x,
530
531
  S,
531
- C,
532
+ w,
532
533
  v.configure({
533
534
  mergeTags: e,
534
535
  syntax: t
@@ -539,22 +540,22 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
539
540
  mergeTags: e,
540
541
  char: n,
541
542
  emptyText: i,
542
- popoverRoot: o
543
+ popoverRoot: a
543
544
  })] : []
544
545
  ]
545
546
  };
546
547
  }
547
548
  });
548
- return (r, i) => (n(), u("div", Me, [
549
- x(je, {
550
- editor: f(s),
551
- "toolbar-position": t.toolbarPosition,
552
- "is-loading": f(l),
553
- "can-request-merge-tag": f(v),
554
- "can-insert-logic-tag": f(y),
555
- onOpenLinkDialog: f(b),
556
- onAddMergeTag: f(O),
557
- onAddLogicTag: f(k)
549
+ return (t, r) => (n(), f("div", Me, [
550
+ s(je, {
551
+ editor: o(c),
552
+ "toolbar-position": e.toolbarPosition,
553
+ "is-loading": o(u),
554
+ "can-request-merge-tag": o(y),
555
+ "can-insert-logic-tag": o(b),
556
+ onOpenLinkDialog: o(x),
557
+ onAddMergeTag: o(O),
558
+ onAddLogicTag: o(k)
558
559
  }, null, 8, [
559
560
  "editor",
560
561
  "toolbar-position",
@@ -565,12 +566,12 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
565
566
  "onAddMergeTag",
566
567
  "onAddLogicTag"
567
568
  ]),
568
- x(L, {
569
- editor: f(s),
570
- "editor-content": f(c),
571
- "is-loading": f(l),
572
- "init-error": f(d),
573
- onRetry: f(p)
569
+ s(L, {
570
+ editor: o(c),
571
+ "editor-content": o(l),
572
+ "is-loading": o(u),
573
+ "init-error": o(d),
574
+ onRetry: o(p)
574
575
  }, null, 8, [
575
576
  "editor",
576
577
  "editor-content",
@@ -578,19 +579,19 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
578
579
  "init-error",
579
580
  "onRetry"
580
581
  ]),
581
- x(I, {
582
- visible: f(m),
583
- "is-editing-link": f(s)?.isActive("link") ?? !1,
584
- "dialog-ref": f(_),
585
- "onUpdate:dialogRef": i[0] ||= (t) => e(_) ? _.value = t : null,
586
- "link-url": f(h),
587
- "onUpdate:linkUrl": i[1] ||= (t) => e(h) ? h.value = t : null,
588
- "link-color": f(g),
589
- "onUpdate:linkColor": i[2] ||= (t) => e(g) ? g.value = t : null,
590
- onClose: f(E),
591
- onInsert: f(S),
592
- onRemove: f(C),
593
- onKeydown: f(D)
582
+ s(I, {
583
+ visible: o(m),
584
+ "is-editing-link": o(c)?.isActive("link") ?? !1,
585
+ "dialog-ref": o(_),
586
+ "onUpdate:dialogRef": r[0] ||= (e) => v(_) ? _.value = e : null,
587
+ "link-url": o(h),
588
+ "onUpdate:linkUrl": r[1] ||= (e) => v(h) ? h.value = e : null,
589
+ "link-color": o(g),
590
+ "onUpdate:linkColor": r[2] ||= (e) => v(g) ? g.value = e : null,
591
+ onClose: o(E),
592
+ onInsert: o(S),
593
+ onRemove: o(w),
594
+ onKeydown: o(D)
594
595
  }, null, 8, [
595
596
  "visible",
596
597
  "is-editing-link",
@@ -608,4 +609,4 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
608
609
  //#endregion
609
610
  export { Ne as default };
610
611
 
611
- //# sourceMappingURL=ParagraphEditor-CZ5Z6AgG.js.map
612
+ //# sourceMappingURL=ParagraphEditor-BBcIQQK2.js.map