@templatical/editor 0.52.1 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/README.md +1 -1
  2. package/dist/AiAltTextPopover-NMJqQKvD.js +106 -0
  3. package/dist/{AiAltTextReview-9ySsXOTU.js → AiAltTextReview-Ci4zHwRc.js} +68 -66
  4. package/dist/AiChatPanel-C8SeEJRP.js +561 -0
  5. package/dist/{AiPanels-DqT4PgQ0.js → AiPanels-CR6zphjP.js} +6 -6
  6. package/dist/{AiRewriteMenu-28agTycW.js → AiRewriteMenu-CIHUnPud.js} +76 -105
  7. package/dist/BlockIssueBadge-DaPTq1RE.js +33 -0
  8. package/dist/BlockPreviewCanvas-B70RSavL.js +140 -0
  9. package/dist/{CloudHeaderExtras-QI82yF54.js → CloudHeaderExtras-XpjJjn3o.js} +4 -4
  10. package/dist/{CloudPanels-BKJaLkUN.js → CloudPanels-VpSQiLLL.js} +53 -53
  11. package/dist/CollaborationNotices-Cnx0XHzZ.js +65 -0
  12. package/dist/{CollaboratorBar-CXQqN3VP.js → CollaboratorBar-BaBoNhwB.js} +24 -24
  13. package/dist/CommentsPanel-Ck3QmqiC.js +16 -0
  14. package/dist/CommentsSidebar-CHknhOar.js +526 -0
  15. package/dist/{CountdownBlock-CU2yTWtF.js → CountdownBlock-BMezkFbJ.js} +15 -15
  16. package/dist/CountdownToolbar-CM4XNEuO.js +258 -0
  17. package/dist/IssuesPanel-1wGV0wiy.js +371 -0
  18. package/dist/LanguageMenu-d2GlX67r.js +403 -0
  19. package/dist/{LoadingTrack-DM4g6j7b.js → LoadingTrack-BG8cg9xi.js} +2 -2
  20. package/dist/LocaleNotices-WzsYtBRs.js +46 -0
  21. package/dist/LogicTagInsertButton-DgTJ6Lvx.js +1096 -0
  22. package/dist/{MediaEditModal-Dy08GEwE.js → MediaEditModal-C3U9Mi31.js} +451 -451
  23. package/dist/{MediaPanels-BgEp7iCp.js → MediaPanels-CGmk9ufe.js} +4 -4
  24. package/dist/{MergeTagInput-B9dtUthD.js → MergeTagInput-B_51YcQO.js} +30 -30
  25. package/dist/{MergeTagModeToggle-DxujhYJ4.js → MergeTagModeToggle-D3Q2z317.js} +49 -49
  26. package/dist/MergeTagTextarea-DZz1L9DE.js +126 -0
  27. package/dist/ParagraphEditor-CI68PYDL.js +825 -0
  28. package/dist/{RestoreVersionDialog-C4s_JYCx.js → RestoreVersionDialog-DcuhpOIz.js} +23 -23
  29. package/dist/{RichTextEditorContent-o6HmE8GR.js → RichTextEditorContent-Dstovi0m.js} +47 -47
  30. package/dist/{SaveBlockDialog-CWLrly6l.js → SaveBlockDialog-vuwvoi-d.js} +86 -86
  31. package/dist/{cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js → SavedBlocksBrowserModal-DUJm0dOv.js} +135 -132
  32. package/dist/{SavedBlocksPanels-BE1N9rNZ.js → SavedBlocksPanels-BiMXQ5lY.js} +9 -9
  33. package/dist/{SavedBlocksPickBar-Dwl94xhP.js → SavedBlocksPickBar-CAstZfG7.js} +15 -15
  34. package/dist/TemplateSettings-Baar78_s.js +294 -0
  35. package/dist/TestEmailModal-Bl_GHdrN.js +212 -0
  36. package/dist/{TestEmailPanel-DaFjP9QK.js → TestEmailPanel-CpTBF7B5.js} +4 -4
  37. package/dist/TitleEditor-DkbEDAZB.js +202 -0
  38. package/dist/ToggleSwitch-R3wCCYE6.js +43 -0
  39. package/dist/Toolbar-bOZ_eq7X.js +3711 -0
  40. package/dist/{TplModal-DLMssVlt.js → TplModal-wk2gLa7_.js} +17 -17
  41. package/dist/{VersionHistoryMenu-BkbYUs0Q.js → VersionHistoryMenu-BnP0EyLl.js} +39 -39
  42. package/dist/{VersionHistoryPanels-DP7HaYWv.js → VersionHistoryPanels-Cq2rFKIX.js} +5 -5
  43. package/dist/VersionPreviewBanner-BPP939cD.js +37 -0
  44. package/dist/WrapperBlock-cWT_nZgQ.js +44 -0
  45. package/dist/{blockTypeIcons-BHjlPnPf.js → blockTypeIcons-BUyPZ7Su.js} +7 -7
  46. package/dist/bundle-stats.json +8 -8
  47. package/dist/{cdn/chunks/ca-CD-Kt1qz.js → ca-DOuIxWRv.js} +114 -2
  48. package/dist/cdn/chunks/AiAltTextPopover-Cnc_kUmb.js +107 -0
  49. package/dist/cdn/chunks/AiAltTextPopover-Cnc_kUmb.js.map +1 -0
  50. package/dist/cdn/chunks/{AiAltTextReview-BGLLSKLm.js → AiAltTextReview-DPeSY-7r.js} +70 -68
  51. package/dist/cdn/chunks/AiAltTextReview-DPeSY-7r.js.map +1 -0
  52. package/dist/cdn/chunks/AiChatPanel-By8Uo1nH.js +487 -0
  53. package/dist/cdn/chunks/AiChatPanel-By8Uo1nH.js.map +1 -0
  54. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js → AiPanels-BblCSkQy.js} +11 -11
  55. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js.map → AiPanels-BblCSkQy.js.map} +1 -1
  56. package/dist/cdn/chunks/{AiRewriteMenu-qf-cfEpy.js → AiRewriteMenu-C4btyN4W.js} +79 -79
  57. package/dist/cdn/chunks/AiRewriteMenu-C4btyN4W.js.map +1 -0
  58. package/dist/cdn/chunks/BlockIssueBadge-D3Plo_wt.js +34 -0
  59. package/dist/cdn/chunks/BlockIssueBadge-D3Plo_wt.js.map +1 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-CTKmBPsq.js +142 -0
  61. package/dist/cdn/chunks/{BlockPreviewCanvas-DGBh6mqe.js.map → BlockPreviewCanvas-CTKmBPsq.js.map} +1 -1
  62. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js → CloudHeaderExtras-BtqdN777.js} +4 -4
  63. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js.map → CloudHeaderExtras-BtqdN777.js.map} +1 -1
  64. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js → CloudPanels-COU26R83.js} +45 -45
  65. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js.map → CloudPanels-COU26R83.js.map} +1 -1
  66. package/dist/cdn/chunks/CollaborationNotices-DraFUhyo.js +67 -0
  67. package/dist/cdn/chunks/CollaborationNotices-DraFUhyo.js.map +1 -0
  68. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js → CollaboratorBar-0OEH3hrj.js} +17 -17
  69. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js.map → CollaboratorBar-0OEH3hrj.js.map} +1 -1
  70. package/dist/cdn/chunks/CommentsPanel-tZZswofV.js +18 -0
  71. package/dist/cdn/chunks/{CommentsPanel-DoJnKLXI.js.map → CommentsPanel-tZZswofV.js.map} +1 -1
  72. package/dist/cdn/chunks/CommentsSidebar-7Hfl3Hdj.js +496 -0
  73. package/dist/cdn/chunks/CommentsSidebar-7Hfl3Hdj.js.map +1 -0
  74. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js → CountdownBlock-CjMhMhnv.js} +22 -22
  75. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js.map → CountdownBlock-CjMhMhnv.js.map} +1 -1
  76. package/dist/cdn/chunks/CountdownToolbar-CNgsNL5-.js +260 -0
  77. package/dist/cdn/chunks/CountdownToolbar-CNgsNL5-.js.map +1 -0
  78. package/dist/cdn/chunks/{IssuesPanel-C7LfxaAY.js → IssuesPanel-Duic0mIs.js} +133 -121
  79. package/dist/cdn/chunks/IssuesPanel-Duic0mIs.js.map +1 -0
  80. package/dist/cdn/chunks/LanguageMenu-B1Aue_lf.js +359 -0
  81. package/dist/cdn/chunks/LanguageMenu-B1Aue_lf.js.map +1 -0
  82. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js → LoadingTrack-DUYcDHOV.js} +2 -2
  83. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js.map → LoadingTrack-DUYcDHOV.js.map} +1 -1
  84. package/dist/cdn/chunks/LocaleNotices-8J2DRWeg.js +47 -0
  85. package/dist/cdn/chunks/LocaleNotices-8J2DRWeg.js.map +1 -0
  86. package/dist/{LogicTagInsertButton-CfscnwCn.js → cdn/chunks/LogicTagInsertButton-Bhvi0nWz.js} +422 -449
  87. package/dist/cdn/chunks/LogicTagInsertButton-Bhvi0nWz.js.map +1 -0
  88. package/dist/cdn/chunks/{MediaEditModal-Cpcod6_U.js → MediaEditModal-Dz972UFx.js} +421 -421
  89. package/dist/cdn/chunks/MediaEditModal-Dz972UFx.js.map +1 -0
  90. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js → MediaPanels-C6Hqtp1H.js} +5 -5
  91. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js.map → MediaPanels-C6Hqtp1H.js.map} +1 -1
  92. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js → MergeTagInput-CrhZm-AW.js} +28 -28
  93. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js.map → MergeTagInput-CrhZm-AW.js.map} +1 -1
  94. package/dist/cdn/chunks/{MergeTagModeToggle-BgKEVUtV.js → MergeTagModeToggle-CWVtXLYa.js} +52 -52
  95. package/dist/cdn/chunks/MergeTagModeToggle-CWVtXLYa.js.map +1 -0
  96. package/dist/cdn/chunks/MergeTagTextarea-hTIBwX0F.js +128 -0
  97. package/dist/cdn/chunks/MergeTagTextarea-hTIBwX0F.js.map +1 -0
  98. package/dist/cdn/chunks/ParagraphEditor-B2UU1Q5I.js +660 -0
  99. package/dist/cdn/chunks/ParagraphEditor-B2UU1Q5I.js.map +1 -0
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js → RestoreVersionDialog-C1Y5Ewo_.js} +22 -22
  101. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js.map → RestoreVersionDialog-C1Y5Ewo_.js.map} +1 -1
  102. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js → RichTextEditorContent-up4AqL7D.js} +44 -44
  103. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js.map → RichTextEditorContent-up4AqL7D.js.map} +1 -1
  104. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js → SaveBlockDialog-B9lwEP_T.js} +77 -77
  105. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js.map → SaveBlockDialog-B9lwEP_T.js.map} +1 -1
  106. package/dist/{SavedBlocksBrowserModal-CE8n4EBS.js → cdn/chunks/SavedBlocksBrowserModal-fAeHUyxb.js} +103 -106
  107. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BPYcRoGa.js.map → SavedBlocksBrowserModal-fAeHUyxb.js.map} +1 -1
  108. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js → SavedBlocksPanels-DRDTLDyZ.js} +9 -9
  109. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js.map → SavedBlocksPanels-DRDTLDyZ.js.map} +1 -1
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js → SavedBlocksPickBar-B6b5z-o3.js} +16 -16
  111. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js.map → SavedBlocksPickBar-B6b5z-o3.js.map} +1 -1
  112. package/dist/cdn/chunks/TemplateSettings-CWUpUKJb.js +266 -0
  113. package/dist/cdn/chunks/TemplateSettings-CWUpUKJb.js.map +1 -0
  114. package/dist/cdn/chunks/TestEmailModal-DQxnW5Q5.js +212 -0
  115. package/dist/cdn/chunks/TestEmailModal-DQxnW5Q5.js.map +1 -0
  116. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js → TestEmailPanel-BcO_-16H.js} +5 -5
  117. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js.map → TestEmailPanel-BcO_-16H.js.map} +1 -1
  118. package/dist/cdn/chunks/TitleEditor-pmycpmTd.js +202 -0
  119. package/dist/cdn/chunks/TitleEditor-pmycpmTd.js.map +1 -0
  120. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js +45 -0
  121. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js.map +1 -0
  122. package/dist/cdn/chunks/Toolbar-BlWVQRcA.js +3626 -0
  123. package/dist/cdn/chunks/Toolbar-BlWVQRcA.js.map +1 -0
  124. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js → TplModal-ClSSGX7a.js} +20 -20
  125. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js.map → TplModal-ClSSGX7a.js.map} +1 -1
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js → VersionHistoryMenu-CZury5gU.js} +33 -33
  127. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js.map → VersionHistoryMenu-CZury5gU.js.map} +1 -1
  128. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js → VersionHistoryPanels-B8GPBKMq.js} +6 -6
  129. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js.map → VersionHistoryPanels-B8GPBKMq.js.map} +1 -1
  130. package/dist/cdn/chunks/VersionPreviewBanner-C4Ji8nu4.js +39 -0
  131. package/dist/cdn/chunks/VersionPreviewBanner-C4Ji8nu4.js.map +1 -0
  132. package/dist/cdn/chunks/WrapperBlock-BoUflYwY.js +46 -0
  133. package/dist/cdn/chunks/WrapperBlock-BoUflYwY.js.map +1 -0
  134. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js → blockTypeIcons-Cc6RJ27V.js} +5 -5
  135. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js.map → blockTypeIcons-Cc6RJ27V.js.map} +1 -1
  136. package/dist/{ca-CD-Kt1qz.js → cdn/chunks/ca-DOuIxWRv.js} +116 -0
  137. package/dist/cdn/chunks/ca-DOuIxWRv.js.map +1 -0
  138. package/dist/cdn/chunks/composables-C1KU4ZHw.js +3039 -0
  139. package/dist/cdn/chunks/composables-C1KU4ZHw.js.map +1 -0
  140. package/dist/cdn/chunks/{createCloudRuntime-Cth2JCEh.js → createCloudRuntime-C2Zs5F1O.js} +75 -73
  141. package/dist/cdn/chunks/createCloudRuntime-C2Zs5F1O.js.map +1 -0
  142. package/dist/{de-CeFJ6wbM.js → cdn/chunks/de-DaOUfYBX.js} +116 -0
  143. package/dist/cdn/chunks/de-DaOUfYBX.js.map +1 -0
  144. package/dist/cdn/chunks/{dist-8ym3y-pH.js → dist-BzXULHvI.js} +48 -48
  145. package/dist/cdn/chunks/{dist-8ym3y-pH.js.map → dist-BzXULHvI.js.map} +1 -1
  146. package/dist/cdn/chunks/{dist-BMzNabtD.js → dist-DqGgijFI.js} +114 -114
  147. package/dist/cdn/chunks/{dist-BMzNabtD.js.map → dist-DqGgijFI.js.map} +1 -1
  148. package/dist/cdn/chunks/{draggable-Du8AUMFT.js → draggable-DepKdldn.js} +1491 -1486
  149. package/dist/cdn/chunks/draggable-DepKdldn.js.map +1 -0
  150. package/dist/cdn/chunks/{editor-modal-CyCe560f.js → editor-modal-erQEOHZN.js} +781 -781
  151. package/dist/cdn/chunks/{editor-modal-CyCe560f.js.map → editor-modal-erQEOHZN.js.map} +1 -1
  152. package/dist/cdn/chunks/en-B6tLGRHq.js +1 -0
  153. package/dist/{en-D14i5nFh.js → cdn/chunks/en-C0pHHMiR.js} +116 -0
  154. package/dist/cdn/chunks/en-C0pHHMiR.js.map +1 -0
  155. package/dist/{es-zDacbMhs.js → cdn/chunks/es-CxyEKr6n.js} +116 -0
  156. package/dist/cdn/chunks/es-CxyEKr6n.js.map +1 -0
  157. package/dist/cdn/chunks/{extensions-CFF2KWy-.js → extensions-DcMKZpzh.js} +59 -59
  158. package/dist/cdn/chunks/{extensions-CFF2KWy-.js.map → extensions-DcMKZpzh.js.map} +1 -1
  159. package/dist/{fr-CSgYtjOd.js → cdn/chunks/fr-CYbamiI6.js} +116 -0
  160. package/dist/cdn/chunks/fr-CYbamiI6.js.map +1 -0
  161. package/dist/cdn/chunks/{icons-okSPsLOa.js → icons-Da9GKjPx.js} +188 -147
  162. package/dist/cdn/chunks/icons-Da9GKjPx.js.map +1 -0
  163. package/dist/{ja-B7H3ID8O.js → cdn/chunks/ja-DfaIAoGI.js} +116 -0
  164. package/dist/cdn/chunks/ja-DfaIAoGI.js.map +1 -0
  165. package/dist/cdn/chunks/keys-CoQtCqNv.js +11 -0
  166. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +1 -0
  167. package/dist/cdn/chunks/languageName-DEEOhDWI.js +12 -0
  168. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +1 -0
  169. package/dist/{nl-176ySmc5.js → cdn/chunks/nl-DkrB-VKZ.js} +116 -0
  170. package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +1 -0
  171. package/dist/cdn/chunks/normalizeMergeTagMarkup-cC32Ox6A.js +290 -0
  172. package/dist/cdn/chunks/normalizeMergeTagMarkup-cC32Ox6A.js.map +1 -0
  173. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js +16 -0
  174. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js.map +1 -0
  175. package/dist/cdn/chunks/plural-CyxrJXL1.js +17 -0
  176. package/dist/cdn/chunks/plural-CyxrJXL1.js.map +1 -0
  177. package/dist/{preRenderCustomBlocks--_xc0XK3.js → cdn/chunks/preRenderCustomBlocks-f7GEKdvw.js} +5 -3
  178. package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js.map → preRenderCustomBlocks-f7GEKdvw.js.map} +1 -1
  179. package/dist/{pt-BR-dDlTwX18.js → cdn/chunks/pt-BR-CY5Ye7eP.js} +116 -0
  180. package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +1 -0
  181. package/dist/cdn/chunks/sanitizeHtml-WTfz9lZd.js +61 -0
  182. package/dist/cdn/chunks/sanitizeHtml-WTfz9lZd.js.map +1 -0
  183. package/dist/cdn/chunks/socialIcons-DeCYorUT.js +2638 -0
  184. package/dist/cdn/chunks/socialIcons-DeCYorUT.js.map +1 -0
  185. package/dist/cdn/chunks/{src-DEd87i_U.js → src-A_cKeTM_.js} +618 -461
  186. package/dist/cdn/chunks/src-A_cKeTM_.js.map +1 -0
  187. package/dist/cdn/chunks/src-BQUv2CYU.js +2606 -0
  188. package/dist/cdn/chunks/src-BQUv2CYU.js.map +1 -0
  189. package/dist/cdn/chunks/src-BWX_xVxO.js +671 -0
  190. package/dist/cdn/chunks/src-BWX_xVxO.js.map +1 -0
  191. package/dist/{styleConstants-B8xVRiwX.js → cdn/chunks/styleConstants-CgiNKdnc.js} +7 -5
  192. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +1 -0
  193. package/dist/cdn/chunks/templateSettingsFields-cjlP-jdw.js.map +1 -1
  194. package/dist/cdn/chunks/{tiptap-CbiTlECY.js → tiptap-Dipw_zOQ.js} +40 -40
  195. package/dist/cdn/chunks/{tiptap-CbiTlECY.js.map → tiptap-Dipw_zOQ.js.map} +1 -1
  196. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js → useCloudI18n-Cc5NZqiI.js} +3 -3
  197. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js.map → useCloudI18n-Cc5NZqiI.js.map} +1 -1
  198. package/dist/cdn/chunks/useEditorRoot-D_LuZ_hE.js +9 -0
  199. package/dist/cdn/chunks/{useEditorRoot-vjZJwKrV.js.map → useEditorRoot-D_LuZ_hE.js.map} +1 -1
  200. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js → useI18n-BnJYydPv.js} +3 -3
  201. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js.map → useI18n-BnJYydPv.js.map} +1 -1
  202. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js +33 -0
  203. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js.map +1 -0
  204. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js → useLogicTag-DtYe8HIq.js} +5 -5
  205. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js.map → useLogicTag-DtYe8HIq.js.map} +1 -1
  206. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js → useMergeTag-B8ULmsnp.js} +6 -6
  207. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js.map → useMergeTag-B8ULmsnp.js.map} +1 -1
  208. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js +78 -0
  209. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js.map +1 -0
  210. package/dist/cdn/chunks/{useScrollToBlock-vjQ0fe-L.js → useScrollToBlock-Ct1AwLD-.js} +5 -5
  211. package/dist/cdn/chunks/useScrollToBlock-Ct1AwLD-.js.map +1 -0
  212. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js → withCurrentFont-MK8ga9q9.js} +2 -2
  213. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js.map → withCurrentFont-MK8ga9q9.js.map} +1 -1
  214. package/dist/cdn/editor.css +1 -1
  215. package/dist/cdn/editor.js +2189 -1495
  216. package/dist/cdn/editor.js.map +1 -1
  217. package/dist/{check-BZ8o0eet.js → check-XMnOOIEC.js} +1 -1
  218. package/dist/{chevron-down-DfAAfILv.js → chevron-down-DmamTEWQ.js} +1 -1
  219. package/dist/{chevron-right-Bk4mGdr7.js → chevron-right-BEFXOH27.js} +1 -1
  220. package/dist/{chevron-up-MhUf_azW.js → chevron-up-Dw7woXj8.js} +1 -1
  221. package/dist/{circle-alert-CShJwVFv.js → circle-alert-BTKC9vkq.js} +1 -1
  222. package/dist/{clock-CTfD6OCt.js → clock-BVT5u2uG.js} +1 -1
  223. package/dist/composables-CMIrGXJ1.js +4517 -0
  224. package/dist/{createCloudRuntime-DCgO4A1r.js → createCloudRuntime-DGV5a5Af.js} +54 -52
  225. package/dist/{createLucideIcon-CvhTA2KG.js → createLucideIcon-CgDE3xAR.js} +16 -16
  226. package/dist/{cdn/chunks/de-CeFJ6wbM.js → de-DaOUfYBX.js} +114 -2
  227. package/dist/{dist-ByCWA2Tv.js → dist-0alKVRc_.js} +101 -101
  228. package/dist/{dist-Cy8I5scI.js → dist-54VCNoC0.js} +2 -2
  229. package/dist/dist-6DU0me3E.js +4 -0
  230. package/dist/{dist-p3wymUDt.js → dist-B8dY8drK.js} +2 -2
  231. package/dist/{dist-Dd5MU2Ev.js → dist-B9a7iVye.js} +2 -2
  232. package/dist/{dist-V7W1UhVr.js → dist-BWflWcpW.js} +2 -2
  233. package/dist/{dist-D6fZec6r.js → dist-C3hu_C3w.js} +2 -2
  234. package/dist/{dist-CVy-7PHQ.js → dist-CX7skkvG.js} +48 -48
  235. package/dist/dist-CcOn7WCo.js +4 -0
  236. package/dist/dist-Cdkm20M6.js +2542 -0
  237. package/dist/{dist-BS5uKktL.js → dist-ChOb5XHW.js} +2 -2
  238. package/dist/{dist-BF5zEHop.js → dist-DZ3X-uB8.js} +2 -2
  239. package/dist/{dist-CWSG7Kj0.js → dist-D_XrUEET.js} +5 -5
  240. package/dist/{dist-txQLT2sF.js → dist-TAv500j6.js} +2 -2
  241. package/dist/{dist-D6cMdrfG.js → dist-fqSers8_.js} +55 -55
  242. package/dist/{editor-modal-zaZHcmlO.js → editor-modal-BeX6otLk.js} +953 -952
  243. package/dist/{cdn/chunks/en-D14i5nFh.js → en-C0pHHMiR.js} +114 -2
  244. package/dist/en-Do0SU6tR.js +1 -0
  245. package/dist/{cdn/chunks/es-zDacbMhs.js → es-CxyEKr6n.js} +114 -2
  246. package/dist/{extensions-fo_c-vqf.js → extensions-BJ184osp.js} +173 -173
  247. package/dist/{eye-7W4t5e0Q.js → eye-ByMgHeA_.js} +1 -1
  248. package/dist/{cdn/chunks/fr-CSgYtjOd.js → fr-CYbamiI6.js} +114 -2
  249. package/dist/{image-BDiRFzSd.js → image-Ch8tR35K.js} +1 -1
  250. package/dist/index.d.ts +182 -14
  251. package/dist/{info-Cxi3-Kh9.js → info-DzSD-Wpk.js} +1 -1
  252. package/dist/{cdn/chunks/ja-B7H3ID8O.js → ja-DfaIAoGI.js} +114 -2
  253. package/dist/keys-BCqskl51.js +9 -0
  254. package/dist/languageName-DEEOhDWI.js +10 -0
  255. package/dist/{link-ju_2Cmir.js → link-oDn9AR2w.js} +1 -1
  256. package/dist/{list-DYZJf0aZ.js → list-C5t07dp8.js} +1 -1
  257. package/dist/{loader-circle-BZRD0a4I.js → loader-circle-k6xvKgUB.js} +1 -1
  258. package/dist/{message-circle-DuEw4Zfx.js → message-circle-C23R6OJR.js} +1 -1
  259. package/dist/{cdn/chunks/nl-176ySmc5.js → nl-DkrB-VKZ.js} +114 -2
  260. package/dist/normalizeMergeTagMarkup-CUCo7B5X.js +288 -0
  261. package/dist/noticeTones-D7BPu-Le.js +14 -0
  262. package/dist/{package-CePMr2kK.js → package-C90eQ7NU.js} +1 -1
  263. package/dist/{pencil-D3aFCL7c.js → pencil-BK7GrQuA.js} +1 -1
  264. package/dist/plural-CyxrJXL1.js +15 -0
  265. package/dist/plus-Cr0Mis63.js +13 -0
  266. package/dist/{cdn/chunks/preRenderCustomBlocks-BcXIz7oJ.js → preRenderCustomBlocks-Bs3N9no-.js} +4 -6
  267. package/dist/{cdn/chunks/pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +114 -2
  268. package/dist/{refresh-cw-xnro7_Sk.js → refresh-cw-_ZLOIEvA.js} +2 -12
  269. package/dist/rotate-ccw-CB5wsHwv.js +13 -0
  270. package/dist/{runtime-dom.esm-bundler-BURR-bj5.js → runtime-dom.esm-bundler-DlHp8xgy.js} +154 -154
  271. package/dist/sanitizeHtml-2rjV0r-6.js +962 -0
  272. package/dist/{search-CDrstRBv.js → search-BmrQNox8.js} +1 -1
  273. package/dist/{send-DROkPOaX.js → send-blAsIBBg.js} +1 -1
  274. package/dist/{smartphone-Bx6u_tjn.js → smartphone-BPpWYrwV.js} +1 -1
  275. package/dist/socialIcons-TFiOkpoU.js +2705 -0
  276. package/dist/{sparkles-CdaTtvoz.js → sparkles-OqIxrNp-.js} +1 -1
  277. package/dist/{square-BbCROH_f.js → square-BP-V7iT-.js} +1 -1
  278. package/dist/style.css +1 -1
  279. package/dist/{cdn/chunks/styleConstants-B8xVRiwX.js → styleConstants-CgiNKdnc.js} +5 -7
  280. package/dist/templatical-editor.js +2438 -1752
  281. package/dist/{text-align-start-CGacJ9Vw.js → text-align-start-4mwX2o-F.js} +13 -13
  282. package/dist/{trash-DxCd7zIy.js → trash-B99WixTA.js} +1 -1
  283. package/dist/{triangle-alert-7_oaitpf.js → triangle-alert-CHMiDkHa.js} +1 -1
  284. package/dist/{upload-DuFEOi_0.js → upload-Cp8o-hrN.js} +1 -1
  285. package/dist/{useCloudI18n-DEMmUKuO.js → useCloudI18n-Dh2iydo1.js} +4 -4
  286. package/dist/useEditorRoot-DY3mgcHm.js +7 -0
  287. package/dist/{useI18n-BBrHTdu8.js → useI18n-CgtvtF4C.js} +4 -4
  288. package/dist/useLocalizedDisplay-DNNwDRxL.js +31 -0
  289. package/dist/{useLogicTag-ZPC39rfH.js → useLogicTag-BXXXQQmi.js} +4 -4
  290. package/dist/{useMergeTag-BQ4qqWpQ.js → useMergeTag-C9Okr87y.js} +5 -5
  291. package/dist/usePopoverPosition-VDQjyX_A.js +76 -0
  292. package/dist/{useScrollToBlock-BSyAV4pk.js → useScrollToBlock-B35ObCGK.js} +5 -5
  293. package/dist/{vue.runtime.esm-bundler-CnEeTfhs.js → vue.runtime.esm-bundler-BJXc_Mri.js} +1373 -1368
  294. package/dist/withCurrentFont-DJiQqZzL.js +18 -0
  295. package/dist/{x-BpfG7v9g.js → x-BIBStNMS.js} +1 -1
  296. package/package.json +21 -21
  297. package/dist/AiAltTextPopover-DawbUywc.js +0 -105
  298. package/dist/AiChatPanel-CupPhmsN.js +0 -548
  299. package/dist/BlockIssueBadge-BxpDy3u-.js +0 -33
  300. package/dist/BlockPreviewCanvas-B-4bmJ3t.js +0 -140
  301. package/dist/CollaborationNotices-CTw4JThq.js +0 -75
  302. package/dist/CommentsPanel-DwwFuh1h.js +0 -16
  303. package/dist/CommentsSidebar-9ZfiC2DO.js +0 -500
  304. package/dist/CountdownToolbar-BqoYzf_6.js +0 -197
  305. package/dist/IssuesPanel-4ykrf1ax.js +0 -359
  306. package/dist/MergeTagTextarea-CPFEjJZd.js +0 -69
  307. package/dist/ParagraphEditor-CWXfurGh.js +0 -796
  308. package/dist/TemplateSettings-CS0f1Ues.js +0 -236
  309. package/dist/TestEmailModal-DBD0X5nV.js +0 -209
  310. package/dist/TitleEditor-DSqtle77.js +0 -198
  311. package/dist/ToggleSwitch-JykPyD_8.js +0 -36
  312. package/dist/Toolbar-BZPFfKrf.js +0 -3145
  313. package/dist/VersionPreviewBanner-DECaBwLq.js +0 -37
  314. package/dist/WrapperBlock-BsJv_Fiw.js +0 -44
  315. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js +0 -106
  316. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js.map +0 -1
  317. package/dist/cdn/chunks/AiAltTextReview-BGLLSKLm.js.map +0 -1
  318. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js +0 -474
  319. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js.map +0 -1
  320. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +0 -1
  321. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +0 -34
  322. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +0 -1
  323. package/dist/cdn/chunks/BlockPreviewCanvas-DGBh6mqe.js +0 -142
  324. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js +0 -77
  325. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js.map +0 -1
  326. package/dist/cdn/chunks/CommentsPanel-DoJnKLXI.js +0 -18
  327. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js +0 -470
  328. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +0 -1
  329. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js +0 -199
  330. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js.map +0 -1
  331. package/dist/cdn/chunks/IssuesPanel-C7LfxaAY.js.map +0 -1
  332. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js +0 -1051
  333. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js.map +0 -1
  334. package/dist/cdn/chunks/MediaEditModal-Cpcod6_U.js.map +0 -1
  335. package/dist/cdn/chunks/MergeTagModeToggle-BgKEVUtV.js.map +0 -1
  336. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js +0 -71
  337. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js.map +0 -1
  338. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js +0 -631
  339. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +0 -1
  340. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js +0 -208
  341. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js.map +0 -1
  342. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js +0 -209
  343. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js.map +0 -1
  344. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js +0 -198
  345. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +0 -1
  346. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js +0 -38
  347. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js.map +0 -1
  348. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js +0 -3061
  349. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js.map +0 -1
  350. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js +0 -39
  351. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js.map +0 -1
  352. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js +0 -46
  353. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js.map +0 -1
  354. package/dist/cdn/chunks/ca-CD-Kt1qz.js.map +0 -1
  355. package/dist/cdn/chunks/createCloudRuntime-Cth2JCEh.js.map +0 -1
  356. package/dist/cdn/chunks/de-CeFJ6wbM.js.map +0 -1
  357. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +0 -1
  358. package/dist/cdn/chunks/en-D14i5nFh.js.map +0 -1
  359. package/dist/cdn/chunks/en-TIqv4ag3.js +0 -1
  360. package/dist/cdn/chunks/es-zDacbMhs.js.map +0 -1
  361. package/dist/cdn/chunks/fr-CSgYtjOd.js.map +0 -1
  362. package/dist/cdn/chunks/icons-okSPsLOa.js.map +0 -1
  363. package/dist/cdn/chunks/ja-B7H3ID8O.js.map +0 -1
  364. package/dist/cdn/chunks/keys-CUj6UA38.js +0 -11
  365. package/dist/cdn/chunks/keys-CUj6UA38.js.map +0 -1
  366. package/dist/cdn/chunks/nl-176ySmc5.js.map +0 -1
  367. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js +0 -198
  368. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js.map +0 -1
  369. package/dist/cdn/chunks/pt-BR-dDlTwX18.js.map +0 -1
  370. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +0 -72
  371. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +0 -1
  372. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js +0 -2008
  373. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js.map +0 -1
  374. package/dist/cdn/chunks/src-C7bkofBL.js +0 -647
  375. package/dist/cdn/chunks/src-C7bkofBL.js.map +0 -1
  376. package/dist/cdn/chunks/src-DEd87i_U.js.map +0 -1
  377. package/dist/cdn/chunks/src-DwWrYnUj.js +0 -1404
  378. package/dist/cdn/chunks/src-DwWrYnUj.js.map +0 -1
  379. package/dist/cdn/chunks/styleConstants-B8xVRiwX.js.map +0 -1
  380. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +0 -2582
  381. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +0 -1
  382. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +0 -9
  383. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js +0 -70
  384. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js.map +0 -1
  385. package/dist/cdn/chunks/useScrollToBlock-vjQ0fe-L.js.map +0 -1
  386. package/dist/dist-CKi_npZM.js +0 -1344
  387. package/dist/dist-DyFArF_G.js +0 -4
  388. package/dist/dist-pA3ooG6N.js +0 -4
  389. package/dist/en-Db76vJbY.js +0 -1
  390. package/dist/keys-BgRERHzu.js +0 -9
  391. package/dist/normalizeMergeTagMarkup-CELnOlgK.js +0 -196
  392. package/dist/sanitizeHtml-BzfzpYJY.js +0 -942
  393. package/dist/socialIcons-D7MGsg0d.js +0 -2075
  394. package/dist/useEditorCore-BSo2sSID.js +0 -4059
  395. package/dist/useEditorRoot-BMcoCLBx.js +0 -7
  396. package/dist/usePopoverPosition-DV1PxL66.js +0 -68
  397. package/dist/withCurrentFont-B22FXAF5.js +0 -18
@@ -1,13 +1,13 @@
1
- import { $ as e, D as t, H as n, Mt as r, Nt as i, U as a, X as o, c as s, d as c, f as l, j as u, jt as d, l as f, st as p, u as m, y as h } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
- import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
- import { Q as y, Z as b, ot as x, p as S } from "./dist-CKi_npZM.js";
4
- import { t as C } from "./useI18n-BBrHTdu8.js";
5
- import { a as w, o as T, s as E } from "./LogicTagInsertButton-CfscnwCn.js";
6
- import { t as D } from "./useMergeTag-BQ4qqWpQ.js";
7
- import { H as O, Kn as k, Qn as A, Zn as j, _n as M, m as N, qn as ee, s as P, u as te, v as ne } from "./dist-V7W1UhVr.js";
8
- import { n as F, t as re } from "./dist-D6cMdrfG.js";
1
+ import { Ft as e, M as t, Mt as n, O as r, Pt as i, U as a, W as o, Z as s, c, ct as l, d as u, et as d, f, l as p, u as m, y as h } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
3
+ import { _t as y, ct as b, g as x, st as S } from "./dist-Cdkm20M6.js";
4
+ import { a as C, o as w, s as T } from "./LogicTagInsertButton-DgTJ6Lvx.js";
5
+ import { t as ee } from "./useI18n-CgtvtF4C.js";
6
+ import { t as E } from "./useMergeTag-C9Okr87y.js";
7
+ import { H as D, Kn as O, Qn as k, Zn as A, _n as j, m as M, qn as te, s as N, u as ne, v as re } from "./dist-BWflWcpW.js";
8
+ import { n as P, t as ie } from "./dist-fqSers8_.js";
9
9
  // src/extensions/FontSize.ts
10
- var ie = P.create({
10
+ var ae = N.create({
11
11
  name: "fontSize",
12
12
  addOptions() {
13
13
  return { types: ["textStyle"] };
@@ -28,7 +28,7 @@ var ie = P.create({
28
28
  unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
29
29
  };
30
30
  }
31
- }), ae = P.create({
31
+ }), oe = N.create({
32
32
  name: "letterSpacing",
33
33
  addOptions() {
34
34
  return { types: ["textStyle"] };
@@ -49,7 +49,7 @@ var ie = P.create({
49
49
  unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
50
50
  };
51
51
  }
52
- }), oe = P.create({
52
+ }), se = N.create({
53
53
  name: "lineBoundaryKeys",
54
54
  addKeyboardShortcuts() {
55
55
  let e = (e) => ({ editor: t }) => {
@@ -63,7 +63,7 @@ var ie = P.create({
63
63
  Home: e("backward")
64
64
  };
65
65
  }
66
- }), se = P.create({
66
+ }), ce = N.create({
67
67
  name: "lineHeight",
68
68
  addOptions() {
69
69
  return {
@@ -87,11 +87,11 @@ var ie = P.create({
87
87
  unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
88
88
  };
89
89
  }
90
- }), ce = [
90
+ }), le = [
91
91
  "aria-label",
92
92
  "data-tooltip",
93
93
  "onKeydown"
94
- ], le = ["aria-label", "onKeydown"], ue = ["aria-label"], de = /* @__PURE__ */ h({
94
+ ], ue = ["aria-label", "onKeydown"], de = ["aria-label"], fe = /* @__PURE__ */ h({
95
95
  __name: "LogicMergeTagNodeView",
96
96
  props: {
97
97
  node: {},
@@ -100,64 +100,64 @@ var ie = P.create({
100
100
  deleteNode: { type: Function },
101
101
  updateAttributes: { type: Function }
102
102
  },
103
- setup(o) {
104
- let h = o, { syntax: y } = D(), { t: S } = C(), w = s(() => x(h.node.attrs.value, y)), T = s(() => b(h.node.attrs.value, y)), E = e(!1), O = e(""), k = e(null), A = !1;
105
- function j() {
106
- O.value = h.node.attrs.value, A = !1, E.value = !0, t(() => {
107
- k.value?.focus(), k.value?.select();
103
+ setup(s) {
104
+ let h = s, { syntax: b } = E(), { t: x } = ee(), C = c(() => y(h.node.attrs.value, b)), w = c(() => S(h.node.attrs.value, b)), T = d(!1), D = d(""), O = d(null), k = !1;
105
+ function A() {
106
+ D.value = h.node.attrs.value, k = !1, T.value = !0, r(() => {
107
+ O.value?.focus(), O.value?.select();
108
108
  });
109
109
  }
110
- function M() {
111
- if (A) return;
112
- A = !0;
113
- let e = O.value.trim();
110
+ function j() {
111
+ if (k) return;
112
+ k = !0;
113
+ let e = D.value.trim();
114
114
  e && e !== h.node.attrs.value && h.updateAttributes({
115
115
  value: e,
116
- keyword: x(e, y) ? b(e, y) : ""
117
- }), E.value = !1;
116
+ keyword: y(e, b) ? S(e, b) : ""
117
+ }), T.value = !1;
118
118
  }
119
- function N(e) {
120
- e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (E.value = !1);
119
+ function M(e) {
120
+ e.key === "Enter" ? (e.preventDefault(), j()) : e.key === "Escape" && (T.value = !1);
121
121
  }
122
- return (e, t) => (u(), m(p(re), {
122
+ return (r, c) => (t(), m(l(ie), {
123
123
  as: "span",
124
- class: d(w.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
125
- style: r(w.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
124
+ class: n(C.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
125
+ style: i(C.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
126
126
  contenteditable: "false"
127
127
  }, {
128
- default: n(() => [E.value ? a((u(), l("input", {
128
+ default: a(() => [T.value ? o((t(), f("input", {
129
129
  key: 0,
130
130
  ref_key: "inputRef",
131
- ref: k,
132
- "onUpdate:modelValue": t[0] ||= (e) => O.value = e,
131
+ ref: O,
132
+ "onUpdate:modelValue": c[0] ||= (e) => D.value = e,
133
133
  type: "text",
134
134
  class: "tpl:w-40 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:normal-case tpl:outline-none tpl:text-[var(--tpl-primary)]",
135
- onBlur: M,
136
- onKeydown: N
137
- }, null, 544)), [[g, O.value]]) : w.value ? (u(), l("span", {
135
+ onBlur: j,
136
+ onKeydown: M
137
+ }, null, 544)), [[g, D.value]]) : C.value ? (t(), f("span", {
138
138
  key: 1,
139
139
  role: "button",
140
140
  tabindex: "0",
141
- "aria-label": p(S).mergeTag.editValue,
141
+ "aria-label": l(x).mergeTag.editValue,
142
142
  class: "tpl-tooltip tpl:cursor-pointer",
143
- "data-tooltip": o.node.attrs.value,
144
- onClick: _(j, ["stop"]),
145
- onKeydown: [v(_(j, ["stop"]), ["enter"]), v(_(j, ["prevent", "stop"]), ["space"])]
146
- }, i(T.value), 41, ce)) : (u(), l("span", {
143
+ "data-tooltip": s.node.attrs.value,
144
+ onClick: _(A, ["stop"]),
145
+ onKeydown: [v(_(A, ["stop"]), ["enter"]), v(_(A, ["prevent", "stop"]), ["space"])]
146
+ }, e(w.value), 41, le)) : (t(), f("span", {
147
147
  key: 2,
148
148
  role: "button",
149
149
  tabindex: "0",
150
- "aria-label": p(S).mergeTag.editValue,
151
- onClick: _(j, ["stop"]),
152
- onKeydown: [v(_(j, ["stop"]), ["enter"]), v(_(j, ["prevent", "stop"]), ["space"])]
153
- }, i(o.node.attrs.value), 41, le)), w.value ? (u(), l("button", {
150
+ "aria-label": l(x).mergeTag.editValue,
151
+ onClick: _(A, ["stop"]),
152
+ onKeydown: [v(_(A, ["stop"]), ["enter"]), v(_(A, ["prevent", "stop"]), ["space"])]
153
+ }, e(s.node.attrs.value), 41, ue)), C.value ? (t(), f("button", {
154
154
  key: 3,
155
155
  type: "button",
156
- "aria-label": p(S).mergeTag.deleteMergeTag,
156
+ "aria-label": l(x).mergeTag.deleteMergeTag,
157
157
  class: "tpl-merge-tag-delete tpl:flex tpl:size-5 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:opacity-60 tpl:transition-all tpl:hover:opacity-100 tpl:text-[var(--tpl-primary)]",
158
158
  contenteditable: "false",
159
- onClick: t[1] ||= _((...e) => o.deleteNode && o.deleteNode(...e), ["stop", "prevent"])
160
- }, [...t[2] ||= [f("svg", {
159
+ onClick: c[1] ||= _((...e) => s.deleteNode && s.deleteNode(...e), ["stop", "prevent"])
160
+ }, [...c[2] ||= [p("svg", {
161
161
  width: "10",
162
162
  height: "10",
163
163
  viewBox: "0 0 24 24",
@@ -165,38 +165,38 @@ var ie = P.create({
165
165
  stroke: "currentColor",
166
166
  "stroke-width": "3",
167
167
  "aria-hidden": "true"
168
- }, [f("line", {
168
+ }, [p("line", {
169
169
  x1: "18",
170
170
  y1: "6",
171
171
  x2: "6",
172
172
  y2: "18"
173
- }), f("line", {
173
+ }), p("line", {
174
174
  x1: "6",
175
175
  y1: "6",
176
176
  x2: "18",
177
177
  y2: "18"
178
- })], -1)]], 8, ue)) : c("", !0)]),
178
+ })], -1)]], 8, de)) : u("", !0)]),
179
179
  _: 1
180
180
  }, 8, ["class", "style"]));
181
181
  }
182
182
  });
183
183
  // src/extensions/isNodeSelected.ts
184
- function I(e, t) {
184
+ function F(e, t) {
185
185
  let { $from: n, $to: r } = e.state.selection;
186
186
  return n.pos === r.pos ? n.pos > 0 && n.nodeBefore?.type.name === t || n.nodeAfter?.type.name === t : !1;
187
187
  }
188
188
  // src/extensions/renderVueNodeView.ts
189
- function fe(e) {
190
- return F(e);
189
+ function pe(e) {
190
+ return P(e);
191
191
  }
192
192
  // src/extensions/LogicMergeTagNode.ts
193
- var pe = N.create({
193
+ var me = M.create({
194
194
  name: "logicMergeTagNode",
195
195
  group: "inline",
196
196
  inline: !0,
197
197
  atom: !0,
198
198
  addOptions() {
199
- return { syntax: S.liquid };
199
+ return { syntax: x.liquid };
200
200
  },
201
201
  addAttributes() {
202
202
  return {
@@ -216,15 +216,15 @@ var pe = N.create({
216
216
  return [{ tag: "span[data-logic-merge-tag]" }];
217
217
  },
218
218
  renderHTML({ node: e, HTMLAttributes: t }) {
219
- if (!x(e.attrs.value, this.options.syntax)) return [
219
+ if (!y(e.attrs.value, this.options.syntax)) return [
220
220
  "span",
221
221
  {},
222
222
  e.attrs.value
223
223
  ];
224
- let n = b(e.attrs.value, this.options.syntax);
224
+ let n = S(e.attrs.value, this.options.syntax);
225
225
  return [
226
226
  "span",
227
- M(t, {
227
+ j(t, {
228
228
  "data-logic-merge-tag": e.attrs.value,
229
229
  "data-keyword": n
230
230
  }),
@@ -232,22 +232,22 @@ var pe = N.create({
232
232
  ];
233
233
  },
234
234
  addNodeView() {
235
- return fe(de);
235
+ return pe(fe);
236
236
  },
237
237
  addKeyboardShortcuts() {
238
238
  return {
239
- Backspace: () => I(this.editor, this.name),
240
- Delete: () => I(this.editor, this.name)
239
+ Backspace: () => F(this.editor, this.name),
240
+ Delete: () => F(this.editor, this.name)
241
241
  };
242
242
  },
243
243
  addInputRules() {
244
244
  let e = RegExp(this.options.syntax.logic.source + "$", "");
245
- return [new te({
245
+ return [new ne({
246
246
  find: e,
247
247
  handler: ({ state: e, range: t, match: n }) => {
248
248
  let r = n[0];
249
- if (!x(r, this.options.syntax)) return;
250
- let i = b(r, this.options.syntax), a = this.type.create({
249
+ if (!y(r, this.options.syntax)) return;
250
+ let i = S(r, this.options.syntax), a = this.type.create({
251
251
  value: r,
252
252
  keyword: i
253
253
  });
@@ -257,12 +257,12 @@ var pe = N.create({
257
257
  },
258
258
  addPasteRules() {
259
259
  let e = new RegExp(this.options.syntax.logic.source, "g");
260
- return [new ne({
260
+ return [new re({
261
261
  find: e,
262
262
  handler: ({ state: e, range: t, match: n }) => {
263
263
  let r = n[0];
264
- if (!x(r, this.options.syntax)) return;
265
- let i = b(r, this.options.syntax), a = this.type.create({
264
+ if (!y(r, this.options.syntax)) return;
265
+ let i = S(r, this.options.syntax), a = this.type.create({
266
266
  value: r,
267
267
  keyword: i
268
268
  });
@@ -270,86 +270,86 @@ var pe = N.create({
270
270
  }
271
271
  })];
272
272
  }
273
- }), me = ["aria-invalid"], he = [
273
+ }), he = ["aria-invalid"], ge = [
274
274
  "aria-label",
275
275
  "data-tooltip",
276
276
  "onKeydown"
277
- ], ge = ["aria-label"], _e = /* @__PURE__ */ h({
277
+ ], _e = ["aria-label"], ve = /* @__PURE__ */ h({
278
278
  __name: "MergeTagNodeView",
279
279
  props: {
280
280
  node: {},
281
281
  deleteNode: { type: Function },
282
282
  updateAttributes: { type: Function }
283
283
  },
284
- setup(r) {
285
- let c = r, { getMergeTagLabel: h, getMergeTagDisplayLabel: y, findMergeTag: b, canRepickMergeTag: x, showRawValue: S, isMergeTagValue: w, requestMergeTag: T } = D(), { t: E, format: O } = C(), k = s(() => y(c.node.attrs.value, c.node.attrs.label)), A = s(() => x(c.node.attrs.value)), j = e(!1), M = e(""), N = e(null), ee = !1;
286
- o(() => {
287
- ee = !0;
284
+ setup(i) {
285
+ let u = i, { getMergeTagLabel: h, getMergeTagDisplayLabel: y, findMergeTag: b, canRepickMergeTag: x, showRawValue: S, isMergeTagValue: C, requestMergeTag: w } = E(), { t: T, format: D } = ee(), O = c(() => y(u.node.attrs.value, u.node.attrs.label)), k = c(() => x(u.node.attrs.value)), A = d(!1), j = d(""), M = d(null), te = !1;
286
+ s(() => {
287
+ te = !0;
288
288
  });
289
- let P = s(() => M.value.trim() === "" || w(M.value.trim()));
290
- async function te() {
291
- let e = await T({
289
+ let N = c(() => j.value.trim() === "" || C(j.value.trim()));
290
+ async function ne() {
291
+ let e = await w({
292
292
  reason: "edit",
293
- current: b(c.node.attrs.value)
293
+ current: b(u.node.attrs.value)
294
294
  });
295
- !ee && e && c.updateAttributes({
295
+ !te && e && u.updateAttributes({
296
296
  value: e.value,
297
297
  label: e.label
298
298
  });
299
299
  }
300
- function ne() {
301
- M.value = c.node.attrs.value, j.value = !0, t(() => {
302
- N.value?.focus(), N.value?.select();
300
+ function re() {
301
+ j.value = u.node.attrs.value, A.value = !0, r(() => {
302
+ M.value?.focus(), M.value?.select();
303
303
  });
304
304
  }
305
- function F() {
306
- A.value ? te() : ne();
305
+ function P() {
306
+ k.value ? ne() : re();
307
307
  }
308
- function ie() {
309
- let e = M.value.trim();
310
- e && e !== c.node.attrs.value && w(e) && c.updateAttributes({
308
+ function ae() {
309
+ let e = j.value.trim();
310
+ e && e !== u.node.attrs.value && C(e) && u.updateAttributes({
311
311
  value: e,
312
312
  label: h(e)
313
- }), j.value = !1;
313
+ }), A.value = !1;
314
314
  }
315
- function ae(e) {
315
+ function oe(e) {
316
316
  if (e.key === "Enter") {
317
- if (e.preventDefault(), !P.value) return;
318
- ie();
319
- } else e.key === "Escape" && (j.value = !1);
317
+ if (e.preventDefault(), !N.value) return;
318
+ ae();
319
+ } else e.key === "Escape" && (A.value = !1);
320
320
  }
321
- return (e, t) => (u(), m(p(re), {
321
+ return (r, s) => (t(), m(l(ie), {
322
322
  as: "span",
323
323
  class: "tpl-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium tpl:select-none tpl:text-[var(--tpl-primary)]",
324
324
  style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
325
325
  contenteditable: "false"
326
326
  }, {
327
- default: n(() => [j.value ? a((u(), l("input", {
327
+ default: a(() => [A.value ? o((t(), f("input", {
328
328
  key: 0,
329
329
  ref_key: "inputRef",
330
- ref: N,
331
- "onUpdate:modelValue": t[0] ||= (e) => M.value = e,
330
+ ref: M,
331
+ "onUpdate:modelValue": s[0] ||= (e) => j.value = e,
332
332
  type: "text",
333
- "aria-invalid": P.value ? void 0 : "true",
334
- class: d(["tpl:w-32 tpl:rounded tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]", P.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
335
- onBlur: ie,
336
- onKeydown: ae
337
- }, null, 42, me)), [[g, M.value]]) : (u(), l("span", {
333
+ "aria-invalid": N.value ? void 0 : "true",
334
+ class: n(["tpl:w-32 tpl:rounded tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]", N.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
335
+ onBlur: ae,
336
+ onKeydown: oe
337
+ }, null, 42, he)), [[g, j.value]]) : (t(), f("span", {
338
338
  key: 1,
339
339
  role: "button",
340
340
  tabindex: "0",
341
- "aria-label": A.value ? p(O)(p(E).mergeTag.changeTag, { label: k.value }) : p(E).mergeTag.editValue,
342
- class: d(["tpl:cursor-pointer", p(S) ? "tpl-tooltip" : ""]),
343
- "data-tooltip": p(S) ? r.node.attrs.value : void 0,
344
- onClick: _(F, ["stop"]),
345
- onKeydown: [v(_(F, ["stop"]), ["enter"]), v(_(F, ["prevent", "stop"]), ["space"])]
346
- }, i(k.value), 43, he)), f("button", {
341
+ "aria-label": k.value ? l(D)(l(T).mergeTag.changeTag, { label: O.value }) : l(T).mergeTag.editValue,
342
+ class: n(["tpl:cursor-pointer", l(S) ? "tpl-tooltip" : ""]),
343
+ "data-tooltip": l(S) ? i.node.attrs.value : void 0,
344
+ onClick: _(P, ["stop"]),
345
+ onKeydown: [v(_(P, ["stop"]), ["enter"]), v(_(P, ["prevent", "stop"]), ["space"])]
346
+ }, e(O.value), 43, ge)), p("button", {
347
347
  type: "button",
348
- "aria-label": p(E).mergeTag.deleteMergeTag,
348
+ "aria-label": l(T).mergeTag.deleteMergeTag,
349
349
  class: "tpl-merge-tag-delete tpl:flex tpl:size-5 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:opacity-60 tpl:transition-all tpl:hover:opacity-100 tpl:text-[var(--tpl-primary)]",
350
350
  contenteditable: "false",
351
- onClick: t[1] ||= _((...e) => r.deleteNode && r.deleteNode(...e), ["stop", "prevent"])
352
- }, [...t[2] ||= [f("svg", {
351
+ onClick: s[1] ||= _((...e) => i.deleteNode && i.deleteNode(...e), ["stop", "prevent"])
352
+ }, [...s[2] ||= [p("svg", {
353
353
  width: "10",
354
354
  height: "10",
355
355
  viewBox: "0 0 24 24",
@@ -357,21 +357,21 @@ var pe = N.create({
357
357
  stroke: "currentColor",
358
358
  "stroke-width": "3",
359
359
  "aria-hidden": "true"
360
- }, [f("line", {
360
+ }, [p("line", {
361
361
  x1: "18",
362
362
  y1: "6",
363
363
  x2: "6",
364
364
  y2: "18"
365
- }), f("line", {
365
+ }), p("line", {
366
366
  x1: "6",
367
367
  y1: "6",
368
368
  x2: "18",
369
369
  y2: "18"
370
- })], -1)]], 8, ge)]),
370
+ })], -1)]], 8, _e)]),
371
371
  _: 1
372
372
  }));
373
373
  }
374
- }), ve = N.create({
374
+ }), ye = M.create({
375
375
  name: "mergeTagNode",
376
376
  group: "inline",
377
377
  inline: !0,
@@ -379,7 +379,7 @@ var pe = N.create({
379
379
  addOptions() {
380
380
  return {
381
381
  mergeTags: () => [],
382
- syntax: S.liquid
382
+ syntax: x.liquid
383
383
  };
384
384
  },
385
385
  addAttributes() {
@@ -400,10 +400,10 @@ var pe = N.create({
400
400
  return [{ tag: "span[data-merge-tag]" }];
401
401
  },
402
402
  renderHTML({ node: e, HTMLAttributes: t }) {
403
- let n = y(e.attrs.value, this.options.mergeTags());
403
+ let n = b(e.attrs.value, this.options.mergeTags());
404
404
  return [
405
405
  "span",
406
- M(t, {
406
+ j(t, {
407
407
  "data-merge-tag": e.attrs.value,
408
408
  "data-label": n
409
409
  }),
@@ -411,7 +411,7 @@ var pe = N.create({
411
411
  ];
412
412
  },
413
413
  addNodeView() {
414
- return fe(_e);
414
+ return pe(ve);
415
415
  },
416
416
  addCommands() {
417
417
  return { insertMergeTag: (e) => ({ commands: t }) => t.insertContent({
@@ -424,16 +424,16 @@ var pe = N.create({
424
424
  },
425
425
  addKeyboardShortcuts() {
426
426
  return {
427
- Backspace: () => I(this.editor, this.name),
428
- Delete: () => I(this.editor, this.name)
427
+ Backspace: () => F(this.editor, this.name),
428
+ Delete: () => F(this.editor, this.name)
429
429
  };
430
430
  },
431
431
  addInputRules() {
432
432
  let e = RegExp(this.options.syntax.value.source + "$", "");
433
- return [new te({
433
+ return [new ne({
434
434
  find: e,
435
435
  handler: ({ state: e, range: t, match: n }) => {
436
- let r = n[0], i = y(r, this.options.mergeTags()), a = this.type.create({
436
+ let r = n[0], i = b(r, this.options.mergeTags()), a = this.type.create({
437
437
  label: i,
438
438
  value: r
439
439
  });
@@ -443,10 +443,10 @@ var pe = N.create({
443
443
  },
444
444
  addPasteRules() {
445
445
  let e = new RegExp(this.options.syntax.value.source, "g");
446
- return [new ne({
446
+ return [new re({
447
447
  find: e,
448
448
  handler: ({ state: e, range: t, match: n }) => {
449
- let r = n[0], i = y(r, this.options.mergeTags()), a = this.type.create({
449
+ let r = n[0], i = b(r, this.options.mergeTags()), a = this.type.create({
450
450
  label: i,
451
451
  value: r
452
452
  });
@@ -454,7 +454,7 @@ var pe = N.create({
454
454
  }
455
455
  })];
456
456
  }
457
- }), ye = Math.min, L = Math.max, R = Math.round, be = Math.floor, z = (e) => ({
457
+ }), be = Math.min, I = Math.max, L = Math.round, R = Math.floor, z = (e) => ({
458
458
  x: e,
459
459
  y: e
460
460
  }), xe = {
@@ -836,7 +836,7 @@ function ct(e) {
836
836
  }
837
837
  // ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
838
838
  function lt(e) {
839
- let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = R(n) !== a || R(r) !== o;
839
+ let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = L(n) !== a || L(r) !== o;
840
840
  return s && (n = a, r = o), {
841
841
  width: n,
842
842
  height: r,
@@ -849,7 +849,7 @@ function ut(e) {
849
849
  function Q(e) {
850
850
  let t = ut(e);
851
851
  if (!K(t)) return z(1);
852
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = lt(t), o = (a ? R(n.width) : n.width) / r, s = (a ? R(n.height) : n.height) / i;
852
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = lt(t), o = (a ? L(n.width) : n.width) / r, s = (a ? L(n.height) : n.height) / i;
853
853
  return o && Number.isFinite(o) || (o = 1), s && Number.isFinite(s) || (s = 1), {
854
854
  x: o,
855
855
  y: s
@@ -919,8 +919,8 @@ function _t(e) {
919
919
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
920
920
  }
921
921
  function vt(e) {
922
- let t = ot(e), n = e.ownerDocument.body, r = L(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = L(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + mt(e), o = -t.scrollTop;
923
- return Y(n).direction === "rtl" && (a += L(e.clientWidth, n.clientWidth) - r), {
922
+ let t = ot(e), n = e.ownerDocument.body, r = I(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = I(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + mt(e), o = -t.scrollTop;
923
+ return Y(n).direction === "rtl" && (a += I(e.clientWidth, n.clientWidth) - r), {
924
924
  width: r,
925
925
  height: i,
926
926
  x: a,
@@ -985,7 +985,7 @@ function wt(e) {
985
985
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? $e(t) ? [] : Ct(t, this._c) : [].concat(n), r], o = St(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
986
986
  for (let e = 1; e < a.length; e++) {
987
987
  let n = St(t, a[e], i);
988
- s = L(n.top, s), c = ye(n.right, c), l = ye(n.bottom, l), u = L(n.left, u);
988
+ s = I(n.top, s), c = be(n.right, c), l = be(n.bottom, l), u = I(n.left, u);
989
989
  }
990
990
  return {
991
991
  width: c - u,
@@ -1083,9 +1083,9 @@ function Pt(e, t, n) {
1083
1083
  n === void 0 && (n = !1), c === void 0 && (c = 1), o();
1084
1084
  let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
1085
1085
  if (n || t(), !f || !p) return;
1086
- let m = be(d), h = be(a.clientWidth - (u + f)), g = be(a.clientHeight - (d + p)), _ = be(u), v = {
1086
+ let m = R(d), h = R(a.clientWidth - (u + f)), g = R(a.clientHeight - (d + p)), _ = R(u), v = {
1087
1087
  rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
1088
- threshold: L(0, ye(1, c)) || 1
1088
+ threshold: I(0, be(1, c)) || 1
1089
1089
  }, y = !0;
1090
1090
  function b(t) {
1091
1091
  let n = t[0].intersectionRatio;
@@ -1151,13 +1151,13 @@ var It = qe, Lt = We, Rt = (e, t, n) => {
1151
1151
  platform: a
1152
1152
  });
1153
1153
  };
1154
- // ../../node_modules/.pnpm/@tiptap+suggestion@3.32.1_@floating-ui+dom@1.8.0_@tiptap+core@3.32.1_@tiptap+pm@3.32.1__@tiptap+pm@3.32.1/node_modules/@tiptap/suggestion/dist/index.js
1154
+ // ../../node_modules/.pnpm/@tiptap+suggestion@3.32.2_@floating-ui+dom@1.8.0_@tiptap+core@3.32.2_@tiptap+pm@3.32.2__@tiptap+pm@3.32.2/node_modules/@tiptap/suggestion/dist/index.js
1155
1155
  function zt(e) {
1156
- let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = O(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
1156
+ let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = D(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
1157
1157
  if (!p) return null;
1158
1158
  let m = o.pos - p.length, h = Array.from(p.matchAll(f)).pop();
1159
1159
  if (!h || h.input === void 0 || h.index === void 0) return null;
1160
- let g = h.input.slice(Math.max(0, h.index - 1), h.index), _ = RegExp(`^[${i?.map(O).join("")}\0]?$`).test(g);
1160
+ let g = h.input.slice(Math.max(0, h.index - 1), h.index), _ = RegExp(`^[${i?.map(D).join("")}\0]?$`).test(g);
1161
1161
  if (i !== null && !_) return null;
1162
1162
  let v = m + h.index, y = v + h[0].length;
1163
1163
  return s && l.test(p.slice(y - 1, y + 1)) && (h[0] += " ", y += 1), v < o.pos && y >= o.pos ? {
@@ -1231,7 +1231,7 @@ function Gt({ pluginKey: e, decorationTag: t, decorationClass: n, decorationCont
1231
1231
  let { active: o, range: s, decorationId: c, query: l } = e.getState(a);
1232
1232
  if (!o) return null;
1233
1233
  let u = !l?.length, d = [n];
1234
- return u && d.push(i), ee.create(a.doc, [k.inline(s.from, s.to, {
1234
+ return u && d.push(i), te.create(a.doc, [O.inline(s.from, s.to, {
1235
1235
  nodeName: t,
1236
1236
  class: d.join(" "),
1237
1237
  "data-decoration-id": c || void 0,
@@ -1417,26 +1417,26 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
1417
1417
  update: async (n, d) => {
1418
1418
  let b = t.getState(d), x = t.getState(n.state);
1419
1419
  if (!b || !x) return;
1420
- let S = null, C = b.query !== x.query, w = b.text !== x.text, T = b.range.from !== x.range.from || b.range.to !== x.range.to, E = C || w || T;
1420
+ let S = null, C = b.query !== x.query, w = b.text !== x.text, T = b.range.from !== x.range.from || b.range.to !== x.range.to, ee = C || w || T;
1421
1421
  if (!b.active && x.active) S = "started";
1422
1422
  else if (b.active && !x.active) S = "stopped";
1423
- else if (x.active && E) S = "updated";
1423
+ else if (x.active && ee) S = "updated";
1424
1424
  else return;
1425
- let D = S === "stopped" ? b : x, O = n.dom.querySelector(`[data-decoration-id="${D.decorationId}"]`), k = m(n, O), A = i === 0 || (D.query ? D.query.length >= i : !1), j = (S === "started" || S === "updated") && A;
1425
+ let E = S === "stopped" ? b : x, D = n.dom.querySelector(`[data-decoration-id="${E.decorationId}"]`), O = m(n, D), k = i === 0 || (E.query ? E.query.length >= i : !1), A = (S === "started" || S === "updated") && k;
1426
1426
  if (g = {
1427
1427
  editor: e,
1428
- range: D.range,
1429
- query: D.query || "",
1430
- text: D.text || "",
1428
+ range: E.range,
1429
+ query: E.query || "",
1430
+ text: E.text || "",
1431
1431
  items: o ?? [],
1432
1432
  command: (t) => p({
1433
1433
  editor: e,
1434
- range: D.range,
1434
+ range: E.range,
1435
1435
  props: t
1436
1436
  }),
1437
- decorationNode: O,
1438
- clientRect: k,
1439
- loading: j,
1437
+ decorationNode: D,
1438
+ clientRect: O,
1439
+ loading: A,
1440
1440
  placement: s,
1441
1441
  offset: {
1442
1442
  mainAxis: c.mainAxis ?? 4,
@@ -1446,7 +1446,7 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
1446
1446
  flip: u,
1447
1447
  floatingUi: v,
1448
1448
  mount: Xt({
1449
- getReferenceRect: k,
1449
+ getReferenceRect: O,
1450
1450
  contextElement: n.dom,
1451
1451
  config: v,
1452
1452
  container: l,
@@ -1454,15 +1454,15 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
1454
1454
  dismiss: () => h(e.view)
1455
1455
  })
1456
1456
  }, S === "started") {
1457
- var M;
1458
- r == null || (M = r.onBeforeStart) == null || M.call(r, g);
1457
+ var j;
1458
+ r == null || (j = r.onBeforeStart) == null || j.call(r, g);
1459
1459
  }
1460
1460
  if (S === "updated") {
1461
- var N;
1462
- r == null || (N = r.onBeforeUpdate) == null || N.call(r, g);
1461
+ var M;
1462
+ r == null || (M = r.onBeforeUpdate) == null || M.call(r, g);
1463
1463
  }
1464
1464
  if (S === "started" && y(S, g), S === "started" || S === "updated") {
1465
- if (!j) _.abort(), g = {
1465
+ if (!A) _.abort(), g = {
1466
1466
  ...g,
1467
1467
  items: o ?? [],
1468
1468
  loading: !1
@@ -1473,7 +1473,7 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
1473
1473
  items: o ?? [],
1474
1474
  loading: !0
1475
1475
  }, S = "updated", y(S, g);
1476
- let e = await _.fetch(D.query || "", a);
1476
+ let e = await _.fetch(E.query || "", a);
1477
1477
  if (e.status === "aborted") return;
1478
1478
  if (!t.getState(n.state)?.active) {
1479
1479
  _.abort();
@@ -1497,28 +1497,28 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
1497
1497
  }
1498
1498
  };
1499
1499
  }
1500
- var Qt = new A("suggestion");
1501
- function $t({ pluginKey: e = Qt, editor: t, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: i = !1, allowedPrefixes: a = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: c = "suggestion", decorationContent: l = "", decorationEmptyClass: u = "is-empty", command: d = () => null, items: f = () => [], minQueryLength: p = 0, debounce: m = 0, initialItems: h, placement: g = "bottom-start", offset: _ = {}, container: v, flip: y = !0, floatingUi: b, dismissOnOutsideClick: x = !0, render: S = () => ({}), allow: C = () => !0, findSuggestionMatch: w = zt, shouldShow: T, shouldResetDismissed: E }) {
1502
- let D = S?.(), O = r && !i, k = (n, r) => Ht(t, n, r, e);
1503
- function A(e) {
1500
+ var Qt = new k("suggestion");
1501
+ function $t({ pluginKey: e = Qt, editor: t, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: i = !1, allowedPrefixes: a = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: c = "suggestion", decorationContent: l = "", decorationEmptyClass: u = "is-empty", command: d = () => null, items: f = () => [], minQueryLength: p = 0, debounce: m = 0, initialItems: h, placement: g = "bottom-start", offset: _ = {}, container: v, flip: y = !0, floatingUi: b, dismissOnOutsideClick: x = !0, render: S = () => ({}), allow: C = () => !0, findSuggestionMatch: w = zt, shouldShow: T, shouldResetDismissed: ee }) {
1502
+ let E = S?.(), D = r && !i, O = (n, r) => Ht(t, n, r, e);
1503
+ function k(e) {
1504
1504
  return Ut({
1505
1505
  ...e,
1506
1506
  editor: t,
1507
- shouldResetDismissed: E,
1508
- effectiveAllowSpaces: O
1507
+ shouldResetDismissed: ee,
1508
+ effectiveAllowSpaces: D
1509
1509
  });
1510
1510
  }
1511
- let M = (t) => Wt({
1511
+ let j = (t) => Wt({
1512
1512
  view: t,
1513
1513
  pluginKeyRef: e
1514
1514
  });
1515
- return new j({
1515
+ return new A({
1516
1516
  key: e,
1517
1517
  view: () => Zt({
1518
1518
  editor: t,
1519
1519
  pluginKey: e,
1520
1520
  items: f,
1521
- renderer: D,
1521
+ renderer: E,
1522
1522
  minQueryLength: p,
1523
1523
  debounce: m,
1524
1524
  initialItems: h,
@@ -1529,20 +1529,20 @@ function $t({ pluginKey: e = Qt, editor: t, char: n = "@", allowSpaces: r = !1,
1529
1529
  floatingUi: b,
1530
1530
  dismissOnOutsideClick: x,
1531
1531
  command: d,
1532
- clientRectFor: k,
1533
- dispatchExit: M
1532
+ clientRectFor: O,
1533
+ dispatchExit: j
1534
1534
  }),
1535
1535
  state: Kt({
1536
1536
  editor: t,
1537
1537
  char: n,
1538
- effectiveAllowSpaces: O,
1538
+ effectiveAllowSpaces: D,
1539
1539
  allowToIncludeChar: i,
1540
1540
  allowedPrefixes: a,
1541
1541
  startOfLine: o,
1542
1542
  findSuggestionMatch: w,
1543
1543
  allow: C,
1544
1544
  shouldShow: T,
1545
- shouldKeepDismissed: A,
1545
+ shouldKeepDismissed: k,
1546
1546
  pluginKey: e
1547
1547
  }),
1548
1548
  props: Gt({
@@ -1551,8 +1551,8 @@ function $t({ pluginKey: e = Qt, editor: t, char: n = "@", allowSpaces: r = !1,
1551
1551
  decorationClass: c,
1552
1552
  decorationContent: l,
1553
1553
  decorationEmptyClass: u,
1554
- renderer: D,
1555
- dispatchExit: M
1554
+ renderer: E,
1555
+ dispatchExit: j
1556
1556
  })
1557
1557
  });
1558
1558
  }
@@ -1560,7 +1560,7 @@ var en = $t;
1560
1560
  // src/extensions/MergeTagSuggestion.ts
1561
1561
  function tn(e, t) {
1562
1562
  return () => {
1563
- let n = w(e, t);
1563
+ let n = C(e, t);
1564
1564
  return {
1565
1565
  onStart: (e) => {
1566
1566
  let t = e.editor.view?.dom;
@@ -1583,7 +1583,7 @@ function tn(e, t) {
1583
1583
  };
1584
1584
  };
1585
1585
  }
1586
- var nn = P.create({
1586
+ var nn = N.create({
1587
1587
  name: "mergeTagSuggestion",
1588
1588
  addOptions() {
1589
1589
  return {
@@ -1599,9 +1599,9 @@ var nn = P.create({
1599
1599
  allowSpaces: !1,
1600
1600
  startOfLine: !1,
1601
1601
  allowedPrefixes: null,
1602
- items: ({ query: t }) => T(e(), t),
1602
+ items: ({ query: t }) => w(e(), t),
1603
1603
  command: ({ editor: e, range: t, props: n }) => {
1604
- e.chain().focus().insertContentAt(t, {
1604
+ e.isEditable && e.chain().focus().insertContentAt(t, {
1605
1605
  type: "mergeTagNode",
1606
1606
  attrs: {
1607
1607
  label: n.label,
@@ -1617,4 +1617,4 @@ var nn = P.create({
1617
1617
  })];
1618
1618
  }
1619
1619
  });
1620
- export { ie as FontSize, ae as LetterSpacing, oe as LineBoundaryKeys, se as LineHeight, pe as LogicMergeTagNode, ve as MergeTagNode, nn as MergeTagSuggestion, T as filterMergeTags, E as handleSuggestionKeyDown };
1620
+ export { ae as FontSize, oe as LetterSpacing, se as LineBoundaryKeys, ce as LineHeight, me as LogicMergeTagNode, ye as MergeTagNode, nn as MergeTagSuggestion, w as filterMergeTags, T as handleSuggestionKeyDown };