@templatical/editor 0.56.0 → 0.56.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 (171) hide show
  1. package/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-CpZ7UeAZ.js} +3 -3
  2. package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-LYxvn7Qe.js} +4 -4
  3. package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cy05P-iO.js} +53 -53
  4. package/dist/{AiPanels-DAsnX-a3.js → AiPanels-CwKmXzyr.js} +1 -1
  5. package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-DgqJHnza.js} +8 -8
  6. package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-CxHJmuOh.js} +3 -3
  7. package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-DEmNZkEG.js} +44 -44
  8. package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-Bmlf05Il.js} +11 -11
  9. package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-C27GCMvK.js} +7 -7
  10. package/dist/{CommentsPanel-C5qG17Ki.js → CommentsPanel-B5NqPMmY.js} +1 -1
  11. package/dist/{CommentsSidebar-C7CWcUYZ.js → CommentsSidebar-BDrcrDxS.js} +42 -42
  12. package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-D8dqjm3F.js} +6 -6
  13. package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-IjpCOjCd.js} +30 -30
  14. package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-uwuzeMSW.js} +87 -87
  15. package/dist/LanguageMenu-C-eQ0lFy.js +403 -0
  16. package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-CDK_9D7P.js} +8 -8
  17. package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-BSolF7Fd.js} +3 -3
  18. package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-C8yc9dxt.js} +7 -7
  19. package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-FI4I8asn.js} +1 -1
  20. package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-B1nl2ZMT.js} +12 -12
  21. package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-DJlf3VbS.js} +1 -1
  22. package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-Dqco128s.js} +156 -156
  23. package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-hqLCuGV5.js} +12 -12
  24. package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-xIEF0Y3Z.js} +2 -2
  25. package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CQlCP_XC.js} +46 -46
  26. package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-BXA32Fx6.js} +23 -23
  27. package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-BKUzbamj.js} +1 -1
  28. package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-BlvF-4UF.js} +9 -9
  29. package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-CYFtR8zv.js} +41 -41
  30. package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-BbaL17HO.js} +20 -20
  31. package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-DhB1CSpg.js} +1 -1
  32. package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-3BRl8u5l.js} +21 -21
  33. package/dist/{Toolbar-XT-uGA9J.js → Toolbar-pzNIakGM.js} +656 -656
  34. package/dist/{TplModal-7NQq5-VW.js → TplModal-WNuWhHZm.js} +4 -4
  35. package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu--T-Qp_mH.js} +15 -15
  36. package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-BPubvYIE.js} +1 -1
  37. package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-ClL3Wkln.js} +7 -7
  38. package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-CjfCPceb.js} +11 -11
  39. package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-12OMwVyN.js} +1 -1
  40. package/dist/bundle-stats.json +6 -6
  41. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-PFjTrl0y.js} +4 -4
  42. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-PFjTrl0y.js.map} +1 -1
  43. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-BMjzvApH.js} +5 -5
  44. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-BMjzvApH.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-C2gpq4kP.js} +107 -107
  46. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js.map → AiChatPanel-C2gpq4kP.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js → AiPanels-Cx3PE2mE.js} +2 -2
  48. package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js.map → AiPanels-Cx3PE2mE.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-CnkyjPEu.js} +11 -11
  50. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js.map → AiRewriteMenu-CnkyjPEu.js.map} +1 -1
  51. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DncZ-HDf.js} +4 -4
  52. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js.map → BlockIssueBadge-DncZ-HDf.js.map} +1 -1
  53. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js +156 -0
  54. package/dist/cdn/chunks/{BlockPreviewCanvas-B3HkuENF.js.map → BlockPreviewCanvas-CCSEzL46.js.map} +1 -1
  55. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-CRztnw4M.js} +2 -2
  56. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js.map → CloudPanels-CRztnw4M.js.map} +1 -1
  57. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-IuLYT2x7.js} +8 -8
  58. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-IuLYT2x7.js.map} +1 -1
  59. package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js → CommentsPanel-lgjJNrrY.js} +2 -2
  60. package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js.map → CommentsPanel-lgjJNrrY.js.map} +1 -1
  61. package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js → CommentsSidebar-DTold7iy.js} +214 -214
  62. package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js.map → CommentsSidebar-DTold7iy.js.map} +1 -1
  63. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-8aPSExrv.js} +7 -7
  64. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-8aPSExrv.js.map} +1 -1
  65. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-CnWQEW5g.js} +50 -50
  66. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-CnWQEW5g.js.map} +1 -1
  67. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-CrplCzo8.js} +11 -11
  68. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js.map → IssuesPanel-CrplCzo8.js.map} +1 -1
  69. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-B6MNInCL.js} +110 -110
  70. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js.map → LanguageMenu-B6MNInCL.js.map} +1 -1
  71. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-TxeAl8Iq.js} +9 -9
  72. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-TxeAl8Iq.js.map} +1 -1
  73. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-DvSVx2DB.js} +4 -4
  74. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-DvSVx2DB.js.map} +1 -1
  75. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-tGK6htBl.js} +8 -8
  76. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-tGK6htBl.js.map} +1 -1
  77. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BVrQYz2C.js} +2 -2
  78. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BVrQYz2C.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-DeuNH3re.js} +13 -13
  80. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-DeuNH3re.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B2xxIU3e.js} +2 -2
  82. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B2xxIU3e.js.map} +1 -1
  83. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-Bx_Hlw8d.js} +106 -106
  84. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-Bx_Hlw8d.js.map} +1 -1
  85. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-CPrrWTsT.js} +12 -12
  86. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js.map → RestoreVersionDialog-CPrrWTsT.js.map} +1 -1
  87. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-Dze4C9VI.js} +3 -3
  88. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-Dze4C9VI.js.map} +1 -1
  89. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-CXVwnfsy.js} +51 -51
  90. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-CXVwnfsy.js.map} +1 -1
  91. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-BDTmenOE.js} +23 -23
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-BDTmenOE.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-B41Rk_v1.js} +2 -2
  94. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-B41Rk_v1.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-B97z_rFH.js} +11 -11
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-B97z_rFH.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-YwwRbxPc.js} +102 -102
  98. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-YwwRbxPc.js.map} +1 -1
  99. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-BiFP2Cbx.js} +20 -20
  100. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-BiFP2Cbx.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-BrivPMk2.js} +2 -2
  102. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-BrivPMk2.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CzPkkL2s.js} +19 -19
  104. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CzPkkL2s.js.map} +1 -1
  105. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-VH07SzX7.js} +550 -550
  106. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js.map → Toolbar-VH07SzX7.js.map} +1 -1
  107. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-DMe6J811.js} +6 -6
  108. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-DMe6J811.js.map} +1 -1
  109. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-DkwbKhBl.js} +15 -15
  110. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-DkwbKhBl.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CgxhMRAl.js} +2 -2
  112. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CgxhMRAl.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-WVBDBrwQ.js} +8 -8
  114. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-WVBDBrwQ.js.map} +1 -1
  115. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-CCCIcqe2.js} +12 -12
  116. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-CCCIcqe2.js.map} +1 -1
  117. package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-D3lsO7Io.js} +925 -925
  118. package/dist/cdn/chunks/composables-D3lsO7Io.js.map +1 -0
  119. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-CE79GB1H.js} +15 -15
  120. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js.map → createCloudRuntime-CE79GB1H.js.map} +1 -1
  121. package/dist/cdn/chunks/dist-Cf1pSluo.js +405 -0
  122. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-Cf1pSluo.js.map} +1 -1
  123. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CN69NlOK.js} +170 -170
  124. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CN69NlOK.js.map} +1 -1
  125. package/dist/cdn/chunks/en-Bcz4gS9U.js +1 -0
  126. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-8dlM-fU4.js} +96 -96
  127. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-8dlM-fU4.js.map} +1 -1
  128. package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js → sanitizeHtml-B3njfkSy.js} +11 -11
  129. package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js.map → sanitizeHtml-B3njfkSy.js.map} +1 -1
  130. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-BFgc3qqJ.js} +2 -2
  131. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js.map → socialIcons-BFgc3qqJ.js.map} +1 -1
  132. package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-GgKlXNxy.js} +2 -2
  133. package/dist/cdn/chunks/{src-Bfj1jHnn.js.map → src-GgKlXNxy.js.map} +1 -1
  134. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-C940SvId.js} +3 -3
  135. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js.map → tiptap-C940SvId.js.map} +1 -1
  136. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-B0PDeDxl.js} +4 -4
  137. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-B0PDeDxl.js.map} +1 -1
  138. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BSU75bKk.js} +7 -7
  139. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BSU75bKk.js.map} +1 -1
  140. package/dist/cdn/editor.js +325 -325
  141. package/dist/cdn/editor.js.map +1 -1
  142. package/dist/{composables-CRX6rncm.js → composables-DreAt_0A.js} +1031 -1031
  143. package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-CL4tUlDC.js} +14 -14
  144. package/dist/{dist-ChOb5XHW.js → dist-0GWMyHtM.js} +1 -1
  145. package/dist/{dist-6DU0me3E.js → dist-B_0FPmoy.js} +1 -1
  146. package/dist/{dist-B8dY8drK.js → dist-BjzK1g4Z.js} +1 -1
  147. package/dist/{dist-54VCNoC0.js → dist-BsumKKh9.js} +1 -1
  148. package/dist/{dist-BWflWcpW.js → dist-C3avsUq9.js} +2 -2
  149. package/dist/{dist-fqSers8_.js → dist-CCLRTtJP.js} +197 -197
  150. package/dist/dist-CiYotUR8.js +406 -0
  151. package/dist/{dist-C3hu_C3w.js → dist-Cr1CLCmx.js} +1 -1
  152. package/dist/{dist-D_XrUEET.js → dist-CsknfjrZ.js} +3 -3
  153. package/dist/{dist-TAv500j6.js → dist-DDytHU_6.js} +1 -1
  154. package/dist/{dist-CcOn7WCo.js → dist-DKV9m4Uu.js} +1 -1
  155. package/dist/{dist-B9a7iVye.js → dist-Dq9VnANT.js} +1 -1
  156. package/dist/{dist-DZ3X-uB8.js → dist-ZrT0vAB6.js} +1 -1
  157. package/dist/{editor-modal-D9HT9bD6.js → editor-modal-BD32TXws.js} +106 -106
  158. package/dist/en-Dgs_-NBw.js +1 -0
  159. package/dist/{extensions-Cm6K4SRX.js → extensions-DKxHlSd7.js} +179 -179
  160. package/dist/{socialIcons-CJD6OsI7.js → socialIcons-oo4uL16Y.js} +1 -1
  161. package/dist/templatical-editor.js +526 -526
  162. package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-B4Zpk3eo.js} +3 -3
  163. package/dist/{useMergeTag-IoWOO679.js → useMergeTag-B5qlq8px.js} +7 -7
  164. package/package.json +7 -7
  165. package/dist/LanguageMenu-B981Av-6.js +0 -403
  166. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
  167. package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
  168. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  169. package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
  170. package/dist/dist-0alKVRc_.js +0 -406
  171. package/dist/en-De3uAutQ.js +0 -1
@@ -0,0 +1 @@
1
+ export { i as default } from "./editor-modal-CN69NlOK.js";
@@ -1,11 +1,11 @@
1
- import { C as e, F as t, G as n, K as r, Q as i, _ as a, c as o, ct as s, dt as c, g as l, h as u, j as d, l as f, m as p, mt as m, o as h, p as g, pt as _, tt as v } from "./draggable-DepKdldn.js";
2
- import { G as y, H as b, K as x, U as S, Z as C, rt as w } from "./src-mXG-Of9A.js";
3
- import { t as T } from "./useI18n-D8s7HtTn.js";
4
- import { t as E } from "./useMergeTag-B4FHCGGm.js";
5
- import { _ as D, g as O, h as k, n as A, r as j, t as M, v as N, y as P } from "./tiptap-Dipw_zOQ.js";
6
- import { a as F, o as I, s as L } from "./LogicTagInsertButton-BdzE9-l7.js";
1
+ import { _ as e, g as t, h as n, n as r, r as i, t as a, v as o, y as s } from "./tiptap-C940SvId.js";
2
+ import { C as c, F as l, G as u, K as d, Q as f, _ as p, c as m, ct as h, dt as g, g as _, h as v, j as y, l as b, m as x, mt as S, o as C, p as w, pt as T, tt as E } from "./draggable-DepKdldn.js";
3
+ import { t as D } from "./useI18n-D8s7HtTn.js";
4
+ import { t as O } from "./useMergeTag-BSU75bKk.js";
5
+ import { G as k, H as A, K as j, U as M, Z as N, rt as P } from "./src-mXG-Of9A.js";
6
+ import { a as F, o as I, s as L } from "./LogicTagInsertButton-DvSVx2DB.js";
7
7
  // src/extensions/FontSize.ts
8
- var R = k.create({
8
+ var R = n.create({
9
9
  name: "fontSize",
10
10
  addOptions() {
11
11
  return { types: ["textStyle"] };
@@ -26,7 +26,7 @@ var R = k.create({
26
26
  unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
27
27
  };
28
28
  }
29
- }), z = k.create({
29
+ }), z = n.create({
30
30
  name: "letterSpacing",
31
31
  addOptions() {
32
32
  return { types: ["textStyle"] };
@@ -47,7 +47,7 @@ var R = k.create({
47
47
  unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
48
48
  };
49
49
  }
50
- }), B = k.create({
50
+ }), B = n.create({
51
51
  name: "lineBoundaryKeys",
52
52
  addKeyboardShortcuts() {
53
53
  let e = (e) => ({ editor: t }) => {
@@ -61,7 +61,7 @@ var R = k.create({
61
61
  Home: e("backward")
62
62
  };
63
63
  }
64
- }), V = k.create({
64
+ }), V = n.create({
65
65
  name: "lineHeight",
66
66
  addOptions() {
67
67
  return {
@@ -89,7 +89,7 @@ var R = k.create({
89
89
  "aria-label",
90
90
  "data-tooltip",
91
91
  "onKeydown"
92
- ], U = ["aria-label", "onKeydown"], W = ["aria-label"], G = /* @__PURE__ */ e({
92
+ ], U = ["aria-label", "onKeydown"], W = ["aria-label"], G = /* @__PURE__ */ c({
93
93
  __name: "LogicMergeTagNodeView",
94
94
  props: {
95
95
  node: {},
@@ -99,63 +99,63 @@ var R = k.create({
99
99
  updateAttributes: { type: Function }
100
100
  },
101
101
  setup(e) {
102
- let i = e, { syntax: b } = E(), { t: x } = T(), S = g(() => C(i.node.attrs.value, b)), w = g(() => y(i.node.attrs.value, b)), D = v(!1), O = v(""), k = v(null), j = !1;
103
- function M() {
104
- O.value = i.node.attrs.value, j = !1, D.value = !0, d(() => {
105
- k.value?.focus(), k.value?.select();
102
+ let t = e, { syntax: n } = O(), { t: i } = D(), a = w(() => N(t.node.attrs.value, n)), o = w(() => k(t.node.attrs.value, n)), s = E(!1), c = E(""), f = E(null), A = !1;
103
+ function j() {
104
+ c.value = t.node.attrs.value, A = !1, s.value = !0, y(() => {
105
+ f.value?.focus(), f.value?.select();
106
106
  });
107
107
  }
108
- function N() {
109
- if (j) return;
110
- j = !0;
111
- let e = O.value.trim();
112
- e && e !== i.node.attrs.value && i.updateAttributes({
108
+ function M() {
109
+ if (A) return;
110
+ A = !0;
111
+ let e = c.value.trim();
112
+ e && e !== t.node.attrs.value && t.updateAttributes({
113
113
  value: e,
114
- keyword: C(e, b) ? y(e, b) : ""
115
- }), D.value = !1;
114
+ keyword: N(e, n) ? k(e, n) : ""
115
+ }), s.value = !1;
116
116
  }
117
117
  function P(e) {
118
- e.key === "Enter" ? (e.preventDefault(), N()) : e.key === "Escape" && (D.value = !1);
118
+ e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (s.value = !1);
119
119
  }
120
- return (i, d) => (t(), u(s(A), {
120
+ return (t, n) => (l(), v(h(r), {
121
121
  as: "span",
122
- class: c(S.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" : ""),
123
- style: _(S.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
122
+ class: g(a.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" : ""),
123
+ style: T(a.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
124
124
  contenteditable: "false"
125
125
  }, {
126
- default: n(() => [D.value ? r((t(), a("input", {
126
+ default: u(() => [s.value ? d((l(), p("input", {
127
127
  key: 0,
128
128
  ref_key: "inputRef",
129
- ref: k,
130
- "onUpdate:modelValue": d[0] ||= (e) => O.value = e,
129
+ ref: f,
130
+ "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
131
131
  type: "text",
132
132
  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)]",
133
- onBlur: N,
133
+ onBlur: M,
134
134
  onKeydown: P
135
- }, null, 544)), [[h, O.value]]) : S.value ? (t(), a("span", {
135
+ }, null, 544)), [[C, c.value]]) : a.value ? (l(), p("span", {
136
136
  key: 1,
137
137
  role: "button",
138
138
  tabindex: "0",
139
- "aria-label": s(x).mergeTag.editValue,
139
+ "aria-label": h(i).mergeTag.editValue,
140
140
  class: "tpl-tooltip tpl:cursor-pointer",
141
141
  "data-tooltip": e.node.attrs.value,
142
- onClick: f(M, ["stop"]),
143
- onKeydown: [o(f(M, ["stop"]), ["enter"]), o(f(M, ["prevent", "stop"]), ["space"])]
144
- }, m(w.value), 41, H)) : (t(), a("span", {
142
+ onClick: b(j, ["stop"]),
143
+ onKeydown: [m(b(j, ["stop"]), ["enter"]), m(b(j, ["prevent", "stop"]), ["space"])]
144
+ }, S(o.value), 41, H)) : (l(), p("span", {
145
145
  key: 2,
146
146
  role: "button",
147
147
  tabindex: "0",
148
- "aria-label": s(x).mergeTag.editValue,
149
- onClick: f(M, ["stop"]),
150
- onKeydown: [o(f(M, ["stop"]), ["enter"]), o(f(M, ["prevent", "stop"]), ["space"])]
151
- }, m(e.node.attrs.value), 41, U)), S.value ? (t(), a("button", {
148
+ "aria-label": h(i).mergeTag.editValue,
149
+ onClick: b(j, ["stop"]),
150
+ onKeydown: [m(b(j, ["stop"]), ["enter"]), m(b(j, ["prevent", "stop"]), ["space"])]
151
+ }, S(e.node.attrs.value), 41, U)), a.value ? (l(), p("button", {
152
152
  key: 3,
153
153
  type: "button",
154
- "aria-label": s(x).mergeTag.deleteMergeTag,
154
+ "aria-label": h(i).mergeTag.deleteMergeTag,
155
155
  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)]",
156
156
  contenteditable: "false",
157
- onClick: d[1] ||= f((...t) => e.deleteNode && e.deleteNode(...t), ["stop", "prevent"])
158
- }, [...d[2] ||= [p("svg", {
157
+ onClick: n[1] ||= b((...t) => e.deleteNode && e.deleteNode(...t), ["stop", "prevent"])
158
+ }, [...n[2] ||= [x("svg", {
159
159
  width: "10",
160
160
  height: "10",
161
161
  viewBox: "0 0 24 24",
@@ -163,17 +163,17 @@ var R = k.create({
163
163
  stroke: "currentColor",
164
164
  "stroke-width": "3",
165
165
  "aria-hidden": "true"
166
- }, [p("line", {
166
+ }, [x("line", {
167
167
  x1: "18",
168
168
  y1: "6",
169
169
  x2: "6",
170
170
  y2: "18"
171
- }), p("line", {
171
+ }), x("line", {
172
172
  x1: "6",
173
173
  y1: "6",
174
174
  x2: "18",
175
175
  y2: "18"
176
- })], -1)]], 8, W)) : l("", !0)]),
176
+ })], -1)]], 8, W)) : _("", !0)]),
177
177
  _: 1
178
178
  }, 8, ["class", "style"]));
179
179
  }
@@ -185,16 +185,16 @@ function K(e, t) {
185
185
  }
186
186
  // src/extensions/renderVueNodeView.ts
187
187
  function q(e) {
188
- return j(e);
188
+ return i(e);
189
189
  }
190
190
  // src/extensions/LogicMergeTagNode.ts
191
- var J = D.create({
191
+ var J = e.create({
192
192
  name: "logicMergeTagNode",
193
193
  group: "inline",
194
194
  inline: !0,
195
195
  atom: !0,
196
196
  addOptions() {
197
- return { syntax: b.liquid };
197
+ return { syntax: A.liquid };
198
198
  },
199
199
  addAttributes() {
200
200
  return {
@@ -214,15 +214,15 @@ var J = D.create({
214
214
  return [{ tag: "span[data-logic-merge-tag]" }];
215
215
  },
216
216
  renderHTML({ node: e, HTMLAttributes: t }) {
217
- if (!C(e.attrs.value, this.options.syntax)) return [
217
+ if (!N(e.attrs.value, this.options.syntax)) return [
218
218
  "span",
219
219
  {},
220
220
  e.attrs.value
221
221
  ];
222
- let n = y(e.attrs.value, this.options.syntax);
222
+ let n = k(e.attrs.value, this.options.syntax);
223
223
  return [
224
224
  "span",
225
- P(t, {
225
+ s(t, {
226
226
  "data-logic-merge-tag": e.attrs.value,
227
227
  "data-keyword": n
228
228
  }),
@@ -240,12 +240,12 @@ var J = D.create({
240
240
  },
241
241
  addInputRules() {
242
242
  let e = RegExp(this.options.syntax.logic.source + "$", "");
243
- return [new O({
243
+ return [new t({
244
244
  find: e,
245
245
  handler: ({ state: e, range: t, match: n }) => {
246
246
  let r = n[0];
247
- if (!C(r, this.options.syntax)) return;
248
- let i = y(r, this.options.syntax), a = this.type.create({
247
+ if (!N(r, this.options.syntax)) return;
248
+ let i = k(r, this.options.syntax), a = this.type.create({
249
249
  value: r,
250
250
  keyword: i
251
251
  });
@@ -254,16 +254,16 @@ var J = D.create({
254
254
  })];
255
255
  },
256
256
  addPasteRules() {
257
- let e = this.options.syntax, t = S(e) ? (t) => w(t, e, "logic").map((e) => ({
257
+ let e = this.options.syntax, t = M(e) ? (t) => P(t, e, "logic").map((e) => ({
258
258
  index: e.index,
259
259
  text: e.value
260
260
  })) : new RegExp(e.logic.source, "g");
261
- return [new N({
261
+ return [new o({
262
262
  find: t,
263
263
  handler: ({ state: e, range: t, match: n }) => {
264
264
  let r = n[0];
265
- if (!C(r, this.options.syntax)) return;
266
- let i = y(r, this.options.syntax), a = this.type.create({
265
+ if (!N(r, this.options.syntax)) return;
266
+ let i = k(r, this.options.syntax), a = this.type.create({
267
267
  value: r,
268
268
  keyword: i
269
269
  });
@@ -275,7 +275,7 @@ var J = D.create({
275
275
  "aria-label",
276
276
  "data-tooltip",
277
277
  "onKeydown"
278
- ], Z = ["aria-label"], Q = /* @__PURE__ */ e({
278
+ ], Z = ["aria-label"], Q = /* @__PURE__ */ c({
279
279
  __name: "MergeTagNodeView",
280
280
  props: {
281
281
  node: {},
@@ -283,23 +283,23 @@ var J = D.create({
283
283
  updateAttributes: { type: Function }
284
284
  },
285
285
  setup(e) {
286
- let l = e, { getMergeTagLabel: _, getMergeTagDisplayLabel: y, findMergeTag: b, canRepickMergeTag: x, showRawValue: S, isMergeTagValue: C, requestMergeTag: w } = E(), { t: D, format: O } = T(), k = g(() => y(l.node.attrs.value, l.node.attrs.label)), j = g(() => x(l.node.attrs.value)), M = v(!1), N = v(""), P = v(null), F = !1;
287
- i(() => {
286
+ let t = e, { getMergeTagLabel: n, getMergeTagDisplayLabel: i, findMergeTag: a, canRepickMergeTag: o, showRawValue: s, isMergeTagValue: c, requestMergeTag: _ } = O(), { t: T, format: k } = D(), A = w(() => i(t.node.attrs.value, t.node.attrs.label)), j = w(() => o(t.node.attrs.value)), M = E(!1), N = E(""), P = E(null), F = !1;
287
+ f(() => {
288
288
  F = !0;
289
289
  });
290
- let I = g(() => N.value.trim() === "" || C(N.value.trim()));
290
+ let I = w(() => N.value.trim() === "" || c(N.value.trim()));
291
291
  async function L() {
292
- let e = await w({
292
+ let e = await _({
293
293
  reason: "edit",
294
- current: b(l.node.attrs.value)
294
+ current: a(t.node.attrs.value)
295
295
  });
296
- !F && e && l.updateAttributes({
296
+ !F && e && t.updateAttributes({
297
297
  value: e.value,
298
298
  label: e.label
299
299
  });
300
300
  }
301
301
  function R() {
302
- N.value = l.node.attrs.value, M.value = !0, d(() => {
302
+ N.value = t.node.attrs.value, M.value = !0, y(() => {
303
303
  P.value?.focus(), P.value?.select();
304
304
  });
305
305
  }
@@ -308,9 +308,9 @@ var J = D.create({
308
308
  }
309
309
  function B() {
310
310
  let e = N.value.trim();
311
- e && e !== l.node.attrs.value && C(e) && l.updateAttributes({
311
+ e && e !== t.node.attrs.value && c(e) && t.updateAttributes({
312
312
  value: e,
313
- label: _(e)
313
+ label: n(e)
314
314
  }), M.value = !1;
315
315
  }
316
316
  function V(e) {
@@ -319,38 +319,38 @@ var J = D.create({
319
319
  B();
320
320
  } else e.key === "Escape" && (M.value = !1);
321
321
  }
322
- return (i, l) => (t(), u(s(A), {
322
+ return (t, n) => (l(), v(h(r), {
323
323
  as: "span",
324
324
  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)]",
325
325
  style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
326
326
  contenteditable: "false"
327
327
  }, {
328
- default: n(() => [M.value ? r((t(), a("input", {
328
+ default: u(() => [M.value ? d((l(), p("input", {
329
329
  key: 0,
330
330
  ref_key: "inputRef",
331
331
  ref: P,
332
- "onUpdate:modelValue": l[0] ||= (e) => N.value = e,
332
+ "onUpdate:modelValue": n[0] ||= (e) => N.value = e,
333
333
  type: "text",
334
334
  "aria-invalid": I.value ? void 0 : "true",
335
- class: c(["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)]", I.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
335
+ class: g(["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)]", I.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
336
336
  onBlur: B,
337
337
  onKeydown: V
338
- }, null, 42, Y)), [[h, N.value]]) : (t(), a("span", {
338
+ }, null, 42, Y)), [[C, N.value]]) : (l(), p("span", {
339
339
  key: 1,
340
340
  role: "button",
341
341
  tabindex: "0",
342
- "aria-label": j.value ? s(O)(s(D).mergeTag.changeTag, { label: k.value }) : s(D).mergeTag.editValue,
343
- class: c(["tpl:cursor-pointer", s(S) ? "tpl-tooltip" : ""]),
344
- "data-tooltip": s(S) ? e.node.attrs.value : void 0,
345
- onClick: f(z, ["stop"]),
346
- onKeydown: [o(f(z, ["stop"]), ["enter"]), o(f(z, ["prevent", "stop"]), ["space"])]
347
- }, m(k.value), 43, X)), p("button", {
342
+ "aria-label": j.value ? h(k)(h(T).mergeTag.changeTag, { label: A.value }) : h(T).mergeTag.editValue,
343
+ class: g(["tpl:cursor-pointer", h(s) ? "tpl-tooltip" : ""]),
344
+ "data-tooltip": h(s) ? e.node.attrs.value : void 0,
345
+ onClick: b(z, ["stop"]),
346
+ onKeydown: [m(b(z, ["stop"]), ["enter"]), m(b(z, ["prevent", "stop"]), ["space"])]
347
+ }, S(A.value), 43, X)), x("button", {
348
348
  type: "button",
349
- "aria-label": s(D).mergeTag.deleteMergeTag,
349
+ "aria-label": h(T).mergeTag.deleteMergeTag,
350
350
  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)]",
351
351
  contenteditable: "false",
352
- onClick: l[1] ||= f((...t) => e.deleteNode && e.deleteNode(...t), ["stop", "prevent"])
353
- }, [...l[2] ||= [p("svg", {
352
+ onClick: n[1] ||= b((...t) => e.deleteNode && e.deleteNode(...t), ["stop", "prevent"])
353
+ }, [...n[2] ||= [x("svg", {
354
354
  width: "10",
355
355
  height: "10",
356
356
  viewBox: "0 0 24 24",
@@ -358,12 +358,12 @@ var J = D.create({
358
358
  stroke: "currentColor",
359
359
  "stroke-width": "3",
360
360
  "aria-hidden": "true"
361
- }, [p("line", {
361
+ }, [x("line", {
362
362
  x1: "18",
363
363
  y1: "6",
364
364
  x2: "6",
365
365
  y2: "18"
366
- }), p("line", {
366
+ }), x("line", {
367
367
  x1: "6",
368
368
  y1: "6",
369
369
  x2: "18",
@@ -372,7 +372,7 @@ var J = D.create({
372
372
  _: 1
373
373
  }));
374
374
  }
375
- }), $ = D.create({
375
+ }), $ = e.create({
376
376
  name: "mergeTagNode",
377
377
  group: "inline",
378
378
  inline: !0,
@@ -380,7 +380,7 @@ var J = D.create({
380
380
  addOptions() {
381
381
  return {
382
382
  mergeTags: () => [],
383
- syntax: b.liquid
383
+ syntax: A.liquid
384
384
  };
385
385
  },
386
386
  addAttributes() {
@@ -401,10 +401,10 @@ var J = D.create({
401
401
  return [{ tag: "span[data-merge-tag]" }];
402
402
  },
403
403
  renderHTML({ node: e, HTMLAttributes: t }) {
404
- let n = x(e.attrs.value, this.options.mergeTags());
404
+ let n = j(e.attrs.value, this.options.mergeTags());
405
405
  return [
406
406
  "span",
407
- P(t, {
407
+ s(t, {
408
408
  "data-merge-tag": e.attrs.value,
409
409
  "data-label": n
410
410
  }),
@@ -431,10 +431,10 @@ var J = D.create({
431
431
  },
432
432
  addInputRules() {
433
433
  let e = RegExp(this.options.syntax.value.source + "$", "");
434
- return [new O({
434
+ return [new t({
435
435
  find: e,
436
436
  handler: ({ state: e, range: t, match: n }) => {
437
- let r = n[0], i = x(r, this.options.mergeTags()), a = this.type.create({
437
+ let r = n[0], i = j(r, this.options.mergeTags()), a = this.type.create({
438
438
  label: i,
439
439
  value: r
440
440
  });
@@ -443,14 +443,14 @@ var J = D.create({
443
443
  })];
444
444
  },
445
445
  addPasteRules() {
446
- let e = this.options.syntax, t = S(e) ? (t) => w(t, e, "value").map((e) => ({
446
+ let e = this.options.syntax, t = M(e) ? (t) => P(t, e, "value").map((e) => ({
447
447
  index: e.index,
448
448
  text: e.value
449
449
  })) : new RegExp(e.value.source, "g");
450
- return [new N({
450
+ return [new o({
451
451
  find: t,
452
452
  handler: ({ state: e, range: t, match: n }) => {
453
- let r = n[0], i = x(r, this.options.mergeTags()), a = this.type.create({
453
+ let r = n[0], i = j(r, this.options.mergeTags()), a = this.type.create({
454
454
  label: i,
455
455
  value: r
456
456
  });
@@ -484,7 +484,7 @@ function ee(e, t) {
484
484
  };
485
485
  };
486
486
  }
487
- var te = k.create({
487
+ var te = n.create({
488
488
  name: "mergeTagSuggestion",
489
489
  addOptions() {
490
490
  return {
@@ -512,7 +512,7 @@ var te = k.create({
512
512
  },
513
513
  render: ee(t, n)
514
514
  };
515
- return [M({
515
+ return [a({
516
516
  editor: this.editor,
517
517
  ...r
518
518
  })];
@@ -520,4 +520,4 @@ var te = k.create({
520
520
  });
521
521
  export { R as FontSize, z as LetterSpacing, B as LineBoundaryKeys, V as LineHeight, J as LogicMergeTagNode, $ as MergeTagNode, te as MergeTagSuggestion, I as filterMergeTags, L as handleSuggestionKeyDown };
522
522
 
523
- //# sourceMappingURL=extensions-BM6ZSnsQ.js.map
523
+ //# sourceMappingURL=extensions-8dlM-fU4.js.map