@templatical/editor 0.52.0 → 0.52.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 (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,22 +1,22 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { At as t, C as n, I as r, Mt as i, N as a, Q as o, _ as s, a as c, c as l, d as u, f as d, g as f, j as p, jt as m, l as h, ot as g, q as _, r as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
3
- import { c as S, s as C } from "./runtime-dom.esm-bundler-CLGymEyk.js";
4
- import { gt as w } from "./dist-CzrLYq2s.js";
5
- import { t as T } from "./dist-BA-jTQgw.js";
6
- import { C as E, S as D, b as O, y as k } from "./useEditorCore-DG9UvWUm.js";
7
- import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-DBjrQkYH.js";
8
- import { t as N } from "./useI18n-CeTm777E.js";
9
- import { n as P } from "./usePopoverPosition-C42kD7zt.js";
10
- import { t as F } from "./createLucideIcon-BV7Gwz_Z.js";
11
- import { i as ae, n as I, r as oe, t as L } from "./RichTextEditorContent-Xq9D0Zs3.js";
12
- import { c as R, l as se, u as ce } from "./LogicTagInsertButton-CSD9cfJB.js";
13
- import { t as le } from "./link-D8-rYdIQ.js";
14
- import { t as ue } from "./list-BneisA27.js";
15
- import { t as de } from "./loader-circle-DBEXphyx.js";
16
- import { n as fe, r as pe, t as me } from "./text-align-start-zpoXmb-Z.js";
2
+ import { $ as t, C as n, I as r, J as i, Mt as a, N as o, Nt as s, _ as c, a as l, c as u, d, f, g as p, j as m, jt as h, l as g, r as _, st as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
3
+ import { c as S, s as C } from "./runtime-dom.esm-bundler-BURR-bj5.js";
4
+ import { gt as w } from "./dist-CKi_npZM.js";
5
+ import { t as T } from "./dist-ByCWA2Tv.js";
6
+ import { C as E, S as D, b as O, y as k } from "./useEditorCore-BSo2sSID.js";
7
+ import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-BgRERHzu.js";
8
+ import { t as N } from "./useI18n-BBrHTdu8.js";
9
+ import { n as P } from "./usePopoverPosition-DV1PxL66.js";
10
+ import { t as F } from "./createLucideIcon-CvhTA2KG.js";
11
+ import { c as I, l as ae, u as oe } from "./LogicTagInsertButton-CfscnwCn.js";
12
+ import { i as se, n as L, r as ce, t as R } from "./RichTextEditorContent-o6HmE8GR.js";
13
+ import { t as le } from "./link-ju_2Cmir.js";
14
+ import { t as ue } from "./list-DYZJf0aZ.js";
15
+ import { t as de } from "./loader-circle-BZRD0a4I.js";
16
+ import { n as fe, r as pe, t as me } from "./text-align-start-CGacJ9Vw.js";
17
17
  import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
18
  import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-B8xVRiwX.js";
19
- import { n as ye, t as be } from "./withCurrentFont-v_a4Oso8.js";
19
+ import { n as ye, t as be } from "./withCurrentFont-B22FXAF5.js";
20
20
  var B = F({
21
21
  name: "face-slightly-smiling",
22
22
  size: 24,
@@ -194,37 +194,37 @@ var B = F({
194
194
  widthClass: {}
195
195
  },
196
196
  emits: ["update:modelValue"],
197
- setup(e, { emit: n }) {
198
- let r = e, o = n;
199
- function s(e) {
200
- o("update:modelValue", e.target.value);
197
+ setup(e, { emit: t }) {
198
+ let n = e, r = t;
199
+ function i(e) {
200
+ r("update:modelValue", e.target.value);
201
201
  }
202
- function c(e) {
202
+ function a(e) {
203
203
  return typeof e == "string" ? e : e.value;
204
204
  }
205
- function u(e) {
205
+ function c(e) {
206
206
  return typeof e == "string" ? e : e.label;
207
207
  }
208
- let f = /* @__PURE__ */ new Set([
208
+ let l = /* @__PURE__ */ new Set([
209
209
  "inherit",
210
210
  "initial",
211
211
  "unset",
212
212
  "revert",
213
213
  "revert-layer"
214
- ]), m = l(() => f.has(r.modelValue) ? "" : r.modelValue), g = l(() => {
215
- let e = m.value;
216
- return e === "" || r.options.some((t) => c(t) === e) ? r.options : [e, ...r.options];
214
+ ]), d = u(() => l.has(n.modelValue) ? "" : n.modelValue), p = u(() => {
215
+ let e = d.value;
216
+ return e === "" || n.options.some((t) => a(t) === e) ? n.options : [e, ...n.options];
217
217
  });
218
- return (n, r) => (p(), d("select", {
219
- class: t(["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 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
220
- value: m.value,
218
+ return (t, n) => (m(), f("select", {
219
+ class: h(["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 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
220
+ value: d.value,
221
221
  "aria-label": e.label,
222
222
  title: e.label,
223
- onChange: s
224
- }, [h("option", H, i(e.placeholder ?? ""), 1), (p(!0), d(v, null, a(g.value, (e) => (p(), d("option", {
225
- key: c(e),
226
- value: c(e)
227
- }, i(u(e)), 9, U))), 128))], 42, V));
223
+ onChange: i
224
+ }, [g("option", H, s(e.placeholder ?? ""), 1), (m(!0), f(_, null, o(p.value, (e) => (m(), f("option", {
225
+ key: a(e),
226
+ value: a(e)
227
+ }, s(c(e)), 9, U))), 128))], 42, V));
228
228
  }
229
229
  }), G = [
230
230
  "aria-label",
@@ -234,50 +234,50 @@ var B = F({
234
234
  __name: "EmojiPickerDropdown",
235
235
  emits: ["insert"],
236
236
  setup(e, { emit: n }) {
237
- let r = n, { categories: c, isOpen: f, toggle: m, close: _ } = D(), { t: y, format: b } = N(), x = o(null), w = o(null), O = l(() => f.value);
237
+ let r = n, { categories: i, isOpen: a, toggle: l, close: p } = D(), { t: y, format: b } = N(), x = t(null), w = t(null), O = u(() => a.value);
238
238
  E(x, O), T(w, () => {
239
- f.value && _();
239
+ a.value && p();
240
240
  });
241
241
  function k(e) {
242
- r("insert", e), _();
242
+ r("insert", e), p();
243
243
  }
244
- return (e, n) => (p(), d("div", {
244
+ return (e, t) => (m(), f("div", {
245
245
  ref_key: "rootRef",
246
246
  ref: w,
247
247
  class: "tpl:relative"
248
- }, [h("button", {
248
+ }, [g("button", {
249
249
  type: "button",
250
- class: t(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": g(f) }]),
251
- "aria-label": g(y).paragraphEditor.insertEmoji,
252
- title: g(y).paragraphEditor.insertEmoji,
253
- "aria-expanded": g(f),
250
+ class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(a) }]),
251
+ "aria-label": v(y).paragraphEditor.insertEmoji,
252
+ title: v(y).paragraphEditor.insertEmoji,
253
+ "aria-expanded": v(a),
254
254
  "aria-haspopup": "dialog",
255
255
  "aria-controls": "tpl-emoji-picker",
256
- onClick: n[0] ||= (...e) => g(m) && g(m)(...e)
257
- }, [s(g(B), {
256
+ onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
257
+ }, [c(v(B), {
258
258
  size: 16,
259
259
  "stroke-width": 2
260
- })], 10, G), g(f) ? (p(), d("div", {
260
+ })], 10, G), v(a) ? (m(), f("div", {
261
261
  key: 0,
262
262
  id: "tpl-emoji-picker",
263
263
  ref_key: "pickerRef",
264
264
  ref: x,
265
265
  role: "dialog",
266
266
  "aria-modal": "false",
267
- "aria-label": g(y).paragraphEditor.insertEmoji,
267
+ "aria-label": v(y).paragraphEditor.insertEmoji,
268
268
  tabindex: "-1",
269
269
  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)]",
270
- onKeydown: n[1] ||= C(S((...e) => g(_) && g(_)(...e), ["stop", "prevent"]), ["esc"])
271
- }, [(p(!0), d(v, null, a(g(c), (e) => (p(), d("div", {
270
+ onKeydown: t[1] ||= C(S((...e) => v(p) && v(p)(...e), ["stop", "prevent"]), ["esc"])
271
+ }, [(m(!0), f(_, null, o(v(i), (e) => (m(), f("div", {
272
272
  key: e.key,
273
273
  class: "tpl:mb-2 tpl:last:mb-0"
274
- }, [h("div", q, i(g(y).emoji[e.key]), 1), h("div", J, [(p(!0), d(v, null, a(e.emojis, (e) => (p(), d("button", {
274
+ }, [g("div", q, s(v(y).emoji[e.key]), 1), g("div", J, [(m(!0), f(_, null, o(e.emojis, (e) => (m(), f("button", {
275
275
  key: e,
276
276
  type: "button",
277
- "aria-label": g(b)(g(y).paragraphEditor.emojiItemLabel, { emoji: e }),
277
+ "aria-label": v(b)(v(y).paragraphEditor.emojiItemLabel, { emoji: e }),
278
278
  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)]",
279
279
  onClick: (t) => k(e)
280
- }, i(e), 9, Y))), 128))])]))), 128))], 40, K)) : u("", !0)], 512));
280
+ }, s(e), 9, Y))), 128))])]))), 128))], 40, K)) : d("", !0)], 512));
281
281
  }
282
282
  }), X = [
283
283
  "aria-label",
@@ -293,13 +293,13 @@ var B = F({
293
293
  size: {}
294
294
  },
295
295
  setup(e) {
296
- return (n, i) => (p(), d("button", {
296
+ return (t, n) => (m(), f("button", {
297
297
  type: "button",
298
- class: t(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
298
+ class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
299
299
  "aria-label": e.label,
300
300
  title: e.label,
301
301
  "aria-pressed": e.active ? "true" : "false"
302
- }, [(p(), y(r(e.icon), {
302
+ }, [(m(), y(r(e.icon), {
303
303
  size: e.size ?? 16,
304
304
  "stroke-width": e.strokeWidth ?? 2
305
305
  }, null, 8, ["size", "stroke-width"]))], 10, X));
@@ -309,7 +309,7 @@ var B = F({
309
309
  "aria-hidden": "true"
310
310
  };
311
311
  function Ae(e, t) {
312
- return p(), d("span", ke);
312
+ return m(), f("span", ke);
313
313
  }
314
314
  var $ = /*#__PURE__*/ z(Q, [["render", Ae]]);
315
315
  // src/utils/richTextColor.ts
@@ -335,32 +335,32 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
335
335
  "add-logic-tag"
336
336
  ],
337
337
  setup(e, { emit: t }) {
338
- let r = b(() => import("./AiRewriteMenu-DNI-5CUj.js")), a = e, o = n(re, {}), _ = l(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = l(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), I = w.fonts, L = _e.map((e) => ({
338
+ let r = b(() => import("./AiRewriteMenu-28agTycW.js")), i = e, o = n(re, {}), h = u(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), L = w.fonts, R = _e.map((e) => ({
339
339
  value: e,
340
340
  label: e === "normal" ? F.paragraphEditor.letterSpacingNormal : e
341
341
  }));
342
342
  function z(e) {
343
- a.editor?.chain().focus().insertContent(e).run();
343
+ i.editor?.chain().focus().insertContent(e).run();
344
344
  }
345
345
  function B(e) {
346
- return a.editor?.getAttributes("textStyle")[e] || "";
346
+ return i.editor?.getAttributes("textStyle")[e] || "";
347
347
  }
348
348
  function V(e) {
349
- let t = a.editor?.chain().focus();
349
+ let t = i.editor?.chain().focus();
350
350
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
351
351
  }
352
352
  function H(e) {
353
- let t = a.editor?.chain().focus();
353
+ let t = i.editor?.chain().focus();
354
354
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
355
355
  }
356
356
  function U() {
357
- return a.editor?.isActive("link") ?? !1;
357
+ return i.editor?.isActive("link") ?? !1;
358
358
  }
359
359
  function G() {
360
- return a.editor?.getAttributes("link").color || "";
360
+ return i.editor?.getAttributes("link").color || "";
361
361
  }
362
362
  function K(e) {
363
- let t = a.editor?.chain().focus();
363
+ let t = i.editor?.chain().focus();
364
364
  t && (U() ? (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());
365
365
  }
366
366
  function q() {
@@ -371,44 +371,44 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
371
371
  return U() ? G() : B("color");
372
372
  }
373
373
  function Y() {
374
- return a.editor?.getAttributes("paragraph").lineHeight || "";
374
+ return i.editor?.getAttributes("paragraph").lineHeight || "";
375
375
  }
376
376
  function X(e) {
377
- let t = a.editor?.chain().focus();
377
+ let t = i.editor?.chain().focus();
378
378
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
379
379
  }
380
380
  function Q(e) {
381
- let t = a.editor?.chain().focus();
381
+ let t = i.editor?.chain().focus();
382
382
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
383
383
  }
384
384
  function ke() {
385
- return a.editor?.getAttributes("highlight").color || "";
385
+ return i.editor?.getAttributes("highlight").color || "";
386
386
  }
387
387
  function Ae(e) {
388
- let t = a.editor?.chain().focus();
388
+ let t = i.editor?.chain().focus();
389
389
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
390
390
  }
391
- return (t, n) => g(T) && !k.value ? (p(), y(c, {
391
+ return (t, n) => v(T) && !k.value ? (m(), y(l, {
392
392
  key: 0,
393
- to: g(T)
394
- }, [h("div", {
395
- "data-tpl-theme": g(C),
393
+ to: v(T)
394
+ }, [g("div", {
395
+ "data-tpl-theme": v(C),
396
396
  role: "toolbar",
397
- "aria-label": g(F).paragraphEditor.toolbar,
397
+ "aria-label": v(F).paragraphEditor.toolbar,
398
398
  class: "tpl tpl-text-toolbar tpl:absolute 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)]",
399
- style: m({
400
- ...g(S),
399
+ style: a({
400
+ ...v(S),
401
401
  top: `${e.toolbarPosition.top}px`,
402
402
  left: `${e.toolbarPosition.left}px`,
403
403
  transform: "translateY(-100%)",
404
404
  flexDirection: "column"
405
405
  })
406
- }, [!e.isLoading && e.editor ? (p(), d(v, { key: 0 }, [h("div", Ne, [
407
- s(W, {
408
- "model-value": g(be)(B("fontFamily")),
409
- options: g(ye)(g(I), B("fontFamily")),
410
- label: g(F).paragraphEditor.fontFamily,
411
- placeholder: g(F).paragraphEditor.defaultFont,
406
+ }, [!e.isLoading && e.editor ? (m(), f(_, { key: 0 }, [g("div", Ne, [
407
+ c(W, {
408
+ "model-value": v(be)(B("fontFamily")),
409
+ options: v(ye)(v(L), B("fontFamily")),
410
+ label: v(F).paragraphEditor.fontFamily,
411
+ placeholder: v(F).paragraphEditor.defaultFont,
412
412
  "width-class": "tpl:w-32",
413
413
  "onUpdate:modelValue": V
414
414
  }, null, 8, [
@@ -417,11 +417,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
417
417
  "label",
418
418
  "placeholder"
419
419
  ]),
420
- s(W, {
420
+ c(W, {
421
421
  "model-value": B("fontSize"),
422
- options: g(he),
423
- label: g(F).paragraphEditor.fontSize,
424
- placeholder: g(F).paragraphEditor.defaultSize,
422
+ options: v(he),
423
+ label: v(F).paragraphEditor.fontSize,
424
+ placeholder: v(F).paragraphEditor.defaultSize,
425
425
  "width-class": "tpl:w-20",
426
426
  "onUpdate:modelValue": H
427
427
  }, null, 8, [
@@ -430,37 +430,37 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
430
430
  "label",
431
431
  "placeholder"
432
432
  ]),
433
- s($),
434
- s(R, {
433
+ c($),
434
+ c(I, {
435
435
  "swatch-only": "",
436
436
  size: "sm",
437
437
  "data-testid": "text-color-picker",
438
438
  "model-value": J(),
439
439
  "seed-color": q(),
440
- "aria-label": g(F).paragraphEditor.textColor,
440
+ "aria-label": v(F).paragraphEditor.textColor,
441
441
  "onUpdate:modelValue": K
442
442
  }, null, 8, [
443
443
  "model-value",
444
444
  "seed-color",
445
445
  "aria-label"
446
446
  ]),
447
- s(R, {
447
+ c(I, {
448
448
  "swatch-only": "",
449
449
  size: "sm",
450
450
  "data-testid": "highlight-color-picker",
451
451
  "model-value": ke(),
452
- "seed-color": g(ge),
453
- "aria-label": g(F).paragraphEditor.highlightColor,
452
+ "seed-color": v(ge),
453
+ "aria-label": v(F).paragraphEditor.highlightColor,
454
454
  "onUpdate:modelValue": Ae
455
455
  }, null, 8, [
456
456
  "model-value",
457
457
  "seed-color",
458
458
  "aria-label"
459
459
  ]),
460
- s($),
461
- s(Z, {
462
- icon: g(ae),
463
- label: g(F).paragraphEditor.bold,
460
+ c($),
461
+ c(Z, {
462
+ icon: v(ce),
463
+ label: v(F).paragraphEditor.bold,
464
464
  active: e.editor.isActive("bold"),
465
465
  "stroke-width": 2.5,
466
466
  onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
@@ -469,9 +469,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
469
469
  "label",
470
470
  "active"
471
471
  ]),
472
- s(Z, {
473
- icon: g(oe),
474
- label: g(F).paragraphEditor.italic,
472
+ c(Z, {
473
+ icon: v(se),
474
+ label: v(F).paragraphEditor.italic,
475
475
  active: e.editor.isActive("italic"),
476
476
  onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
477
477
  }, null, 8, [
@@ -479,9 +479,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
479
479
  "label",
480
480
  "active"
481
481
  ]),
482
- s(Z, {
483
- icon: g(De),
484
- label: g(F).paragraphEditor.underline,
482
+ c(Z, {
483
+ icon: v(De),
484
+ label: v(F).paragraphEditor.underline,
485
485
  active: e.editor.isActive("underline"),
486
486
  onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
487
487
  }, null, 8, [
@@ -489,9 +489,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
489
489
  "label",
490
490
  "active"
491
491
  ]),
492
- s(Z, {
493
- icon: g(Ce),
494
- label: g(F).paragraphEditor.strikethrough,
492
+ c(Z, {
493
+ icon: v(Ce),
494
+ label: v(F).paragraphEditor.strikethrough,
495
495
  active: e.editor.isActive("strike"),
496
496
  onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
497
497
  }, null, 8, [
@@ -499,10 +499,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
499
499
  "label",
500
500
  "active"
501
501
  ]),
502
- s($),
503
- s(Z, {
504
- icon: g(we),
505
- label: g(F).paragraphEditor.subscript,
502
+ c($),
503
+ c(Z, {
504
+ icon: v(we),
505
+ label: v(F).paragraphEditor.subscript,
506
506
  active: e.editor.isActive("subscript"),
507
507
  onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
508
508
  }, null, 8, [
@@ -510,9 +510,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
510
510
  "label",
511
511
  "active"
512
512
  ]),
513
- s(Z, {
514
- icon: g(Te),
515
- label: g(F).paragraphEditor.superscript,
513
+ c(Z, {
514
+ icon: v(Te),
515
+ label: v(F).paragraphEditor.superscript,
516
516
  active: e.editor.isActive("superscript"),
517
517
  onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
518
518
  }, null, 8, [
@@ -520,10 +520,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
520
520
  "label",
521
521
  "active"
522
522
  ]),
523
- s($),
524
- s(Z, {
525
- icon: g(le),
526
- label: g(F).paragraphEditor.addLink,
523
+ c($),
524
+ c(Z, {
525
+ icon: v(le),
526
+ label: v(F).paragraphEditor.addLink,
527
527
  active: e.editor.isActive("link"),
528
528
  onClick: n[6] ||= (e) => x("open-link-dialog")
529
529
  }, null, 8, [
@@ -531,10 +531,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
531
531
  "label",
532
532
  "active"
533
533
  ])
534
- ]), h("div", Pe, [
535
- s(Z, {
536
- icon: g(ue),
537
- label: g(F).paragraphEditor.bulletList,
534
+ ]), g("div", Pe, [
535
+ c(Z, {
536
+ icon: v(ue),
537
+ label: v(F).paragraphEditor.bulletList,
538
538
  active: e.editor.isActive("bulletList"),
539
539
  onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
540
540
  }, null, 8, [
@@ -542,9 +542,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
542
542
  "label",
543
543
  "active"
544
544
  ]),
545
- s(Z, {
546
- icon: g(xe),
547
- label: g(F).paragraphEditor.numberedList,
545
+ c(Z, {
546
+ icon: v(xe),
547
+ label: v(F).paragraphEditor.numberedList,
548
548
  active: e.editor.isActive("orderedList"),
549
549
  onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
550
550
  }, null, 8, [
@@ -552,10 +552,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
552
552
  "label",
553
553
  "active"
554
554
  ]),
555
- s($),
556
- s(Z, {
557
- icon: g(me),
558
- label: g(F).paragraphEditor.alignLeft,
555
+ c($),
556
+ c(Z, {
557
+ icon: v(me),
558
+ label: v(F).paragraphEditor.alignLeft,
559
559
  active: e.editor.isActive({ textAlign: "left" }),
560
560
  onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
561
561
  }, null, 8, [
@@ -563,9 +563,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
563
563
  "label",
564
564
  "active"
565
565
  ]),
566
- s(Z, {
567
- icon: g(pe),
568
- label: g(F).paragraphEditor.alignCenter,
566
+ c(Z, {
567
+ icon: v(pe),
568
+ label: v(F).paragraphEditor.alignCenter,
569
569
  active: e.editor.isActive({ textAlign: "center" }),
570
570
  onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
571
571
  }, null, 8, [
@@ -573,9 +573,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
573
573
  "label",
574
574
  "active"
575
575
  ]),
576
- s(Z, {
577
- icon: g(fe),
578
- label: g(F).paragraphEditor.alignRight,
576
+ c(Z, {
577
+ icon: v(fe),
578
+ label: v(F).paragraphEditor.alignRight,
579
579
  active: e.editor.isActive({ textAlign: "right" }),
580
580
  onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
581
581
  }, null, 8, [
@@ -583,9 +583,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
583
583
  "label",
584
584
  "active"
585
585
  ]),
586
- s(Z, {
587
- icon: g(Ee),
588
- label: g(F).paragraphEditor.alignJustify,
586
+ c(Z, {
587
+ icon: v(Ee),
588
+ label: v(F).paragraphEditor.alignJustify,
589
589
  active: e.editor.isActive({ textAlign: "justify" }),
590
590
  onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
591
591
  }, null, 8, [
@@ -593,12 +593,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
593
593
  "label",
594
594
  "active"
595
595
  ]),
596
- s($),
597
- s(W, {
596
+ c($),
597
+ c(W, {
598
598
  "model-value": Y(),
599
- options: g(ve),
600
- label: g(F).paragraphEditor.lineHeight,
601
- placeholder: g(F).paragraphEditor.lineHeightShort,
599
+ options: v(ve),
600
+ label: v(F).paragraphEditor.lineHeight,
601
+ placeholder: v(F).paragraphEditor.lineHeightShort,
602
602
  "width-class": "tpl:w-16",
603
603
  "onUpdate:modelValue": X
604
604
  }, null, 8, [
@@ -607,11 +607,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
607
607
  "label",
608
608
  "placeholder"
609
609
  ]),
610
- s(W, {
610
+ c(W, {
611
611
  "model-value": B("letterSpacing"),
612
- options: g(L),
613
- label: g(F).paragraphEditor.letterSpacing,
614
- placeholder: g(F).paragraphEditor.letterSpacingShort,
612
+ options: v(R),
613
+ label: v(F).paragraphEditor.letterSpacing,
614
+ placeholder: v(F).paragraphEditor.letterSpacingShort,
615
615
  "width-class": "tpl:w-20",
616
616
  "onUpdate:modelValue": Q
617
617
  }, null, 8, [
@@ -620,41 +620,41 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
620
620
  "label",
621
621
  "placeholder"
622
622
  ]),
623
- s($),
624
- s(Z, {
625
- icon: g(Se),
626
- label: g(F).paragraphEditor.clearFormatting,
623
+ c($),
624
+ c(Z, {
625
+ icon: v(Se),
626
+ label: v(F).paragraphEditor.clearFormatting,
627
627
  onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
628
628
  }, null, 8, ["icon", "label"]),
629
- s($),
630
- s(Oe, { onInsert: z }),
631
- e.canRequestMergeTag ? (p(), d(v, { key: 0 }, [s($), h("button", {
629
+ c($),
630
+ c(Oe, { onInsert: z }),
631
+ e.canRequestMergeTag ? (m(), f(_, { key: 0 }, [c($), g("button", {
632
632
  type: "button",
633
633
  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)]",
634
- "aria-label": g(F).mergeTag.insert,
635
- title: g(F).mergeTag.insert,
634
+ "aria-label": v(F).mergeTag.insert,
635
+ title: v(F).mergeTag.insert,
636
636
  onClick: n[14] ||= (e) => x("add-merge-tag")
637
- }, [s(g(se), {
637
+ }, [c(v(ae), {
638
638
  size: 16,
639
639
  "stroke-width": 2
640
- }), f(" " + i(g(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : u("", !0),
641
- e.canInsertLogicTag ? (p(), d(v, { key: 1 }, [s($), h("button", {
640
+ }), p(" " + s(v(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : d("", !0),
641
+ e.canInsertLogicTag ? (m(), f(_, { key: 1 }, [c($), g("button", {
642
642
  type: "button",
643
643
  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)]",
644
- "aria-label": g(F).logicTag.insert,
645
- title: g(F).logicTag.insert,
644
+ "aria-label": v(F).logicTag.insert,
645
+ title: v(F).logicTag.insert,
646
646
  "data-testid": "insert-logic-button",
647
647
  onClick: n[15] ||= (e) => x("add-logic-tag")
648
- }, [s(g(ce), {
648
+ }, [c(v(oe), {
649
649
  size: 16,
650
650
  "stroke-width": 2
651
- }), f(" " + i(g(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : u("", !0),
652
- _.value ? (p(), d(v, { key: 2 }, [s($), s(g(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : u("", !0)
653
- ])], 64)) : (p(), d("div", Le, [s(g(de), {
651
+ }), p(" " + s(v(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : d("", !0),
652
+ h.value ? (m(), f(_, { key: 2 }, [c($), c(v(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : d("", !0)
653
+ ])], 64)) : (m(), f("div", Le, [c(v(de), {
654
654
  class: "tpl-spinner",
655
655
  size: 14,
656
656
  "stroke-width": 2
657
- }), f(" " + i(g(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : u("", !0);
657
+ }), p(" " + s(v(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : d("", !0);
658
658
  }
659
659
  }), ze = { class: "tpl-text-editor-wrapper tpl:relative" }, Be = /*@__PURE__*/ x({
660
660
  __name: "ParagraphEditor",
@@ -664,14 +664,14 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
664
664
  },
665
665
  emits: ["done"],
666
666
  setup(e, { emit: t }) {
667
- let r = e, i = t, a = P(), o = n(M, null), c = w(o?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: l, EditorContent: u, isLoading: f, initError: m, retry: h, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
667
+ let r = e, a = t, o = P(), s = n(M, null), l = w(s?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: u, EditorContent: d, isLoading: p, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
668
668
  blockId: () => r.block.id,
669
669
  blockContent: () => r.block.content,
670
- onDone: () => i("done"),
670
+ onDone: () => a("done"),
671
671
  editorName: "ParagraphEditor",
672
672
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
673
- let [{ Editor: o, EditorContent: s }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
674
- import("./dist-DDN7yR-w.js").then((e) => e.r),
673
+ let [{ Editor: a, EditorContent: s }, { default: c }, { default: u }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
674
+ import("./dist-D6cMdrfG.js").then((e) => e.r),
675
675
  import("./dist-CWSG7Kj0.js"),
676
676
  import("./dist-txQLT2sF.js"),
677
677
  import("./dist-Dd5MU2Ev.js"),
@@ -682,13 +682,13 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
682
682
  import("./dist-pA3ooG6N.js"),
683
683
  import("./dist-DyFArF_G.js"),
684
684
  import("./dist-D6fZec6r.js"),
685
- import("./extensions-FRYhx7qa.js")
685
+ import("./extensions-fo_c-vqf.js")
686
686
  ]);
687
687
  return {
688
- TiptapEditor: o,
688
+ TiptapEditor: a,
689
689
  EC: s,
690
690
  extensions: [
691
- l.configure({
691
+ c.configure({
692
692
  heading: !1,
693
693
  codeBlock: !1,
694
694
  blockquote: !1,
@@ -708,7 +708,7 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
708
708
  }),
709
709
  m.configure({
710
710
  types: ["paragraph"],
711
- defaultAlignment: c
711
+ defaultAlignment: l
712
712
  }),
713
713
  h,
714
714
  g,
@@ -727,22 +727,22 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
727
727
  mergeTags: () => e.value,
728
728
  char: n,
729
729
  emptyText: i,
730
- popoverRoot: a
730
+ popoverRoot: o
731
731
  })] : []
732
732
  ]
733
733
  };
734
734
  }
735
735
  });
736
- return (t, n) => (p(), d("div", ze, [
737
- s(Re, {
738
- editor: g(l),
736
+ return (t, n) => (m(), f("div", ze, [
737
+ c(Re, {
738
+ editor: v(u),
739
739
  "toolbar-position": e.toolbarPosition,
740
- "is-loading": g(f),
741
- "can-request-merge-tag": g(S),
742
- "can-insert-logic-tag": g(C),
743
- onOpenLinkDialog: g(T),
744
- onAddMergeTag: g(ee),
745
- onAddLogicTag: g(te)
740
+ "is-loading": v(p),
741
+ "can-request-merge-tag": v(S),
742
+ "can-insert-logic-tag": v(C),
743
+ onOpenLinkDialog: v(T),
744
+ onAddMergeTag: v(ee),
745
+ onAddLogicTag: v(te)
746
746
  }, null, 8, [
747
747
  "editor",
748
748
  "toolbar-position",
@@ -753,12 +753,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
753
753
  "onAddMergeTag",
754
754
  "onAddLogicTag"
755
755
  ]),
756
- s(L, {
757
- editor: g(l),
758
- "editor-content": g(u),
759
- "is-loading": g(f),
760
- "init-error": g(m),
761
- onRetry: g(h)
756
+ c(R, {
757
+ editor: v(u),
758
+ "editor-content": v(d),
759
+ "is-loading": v(p),
760
+ "init-error": v(h),
761
+ onRetry: v(g)
762
762
  }, null, 8, [
763
763
  "editor",
764
764
  "editor-content",
@@ -766,19 +766,19 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
766
766
  "init-error",
767
767
  "onRetry"
768
768
  ]),
769
- s(I, {
770
- visible: g(v),
771
- "is-editing-link": g(l)?.isActive("link") ?? !1,
772
- "dialog-ref": g(x),
773
- "onUpdate:dialogRef": n[0] ||= (e) => _(x) ? x.value = e : null,
774
- "link-url": g(y),
775
- "onUpdate:linkUrl": n[1] ||= (e) => _(y) ? y.value = e : null,
776
- "link-color": g(b),
777
- "onUpdate:linkColor": n[2] ||= (e) => _(b) ? b.value = e : null,
778
- onClose: g(A),
779
- onInsert: g(E),
780
- onRemove: g(D),
781
- onKeydown: g(j)
769
+ c(L, {
770
+ visible: v(_),
771
+ "is-editing-link": v(u)?.isActive("link") ?? !1,
772
+ "dialog-ref": v(x),
773
+ "onUpdate:dialogRef": n[0] ||= (e) => i(x) ? x.value = e : null,
774
+ "link-url": v(y),
775
+ "onUpdate:linkUrl": n[1] ||= (e) => i(y) ? y.value = e : null,
776
+ "link-color": v(b),
777
+ "onUpdate:linkColor": n[2] ||= (e) => i(b) ? b.value = e : null,
778
+ onClose: v(A),
779
+ onInsert: v(E),
780
+ onRemove: v(D),
781
+ onKeydown: v(j)
782
782
  }, null, 8, [
783
783
  "visible",
784
784
  "is-editing-link",