@aswin.dev/editor 0.7.0 → 0.7.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 (169) hide show
  1. package/README.md +3 -3
  2. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-COL6Wm7p.js} +37 -37
  3. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-DWGPVtvC.js} +68 -68
  4. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-duUFSfDf.js} +22 -22
  5. package/dist/{BlockA11yBadge-CXDLqkcJ.js → BlockA11yBadge-Qs6HtXid.js} +12 -12
  6. package/dist/CloudEditor-CFldoCOb.js +1207 -0
  7. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-Bw-lbt61.js} +21 -21
  8. package/dist/CommentsSidebar-BaD5F53-.js +436 -0
  9. package/dist/CountdownBlock-DaYGxKqo.js +92 -0
  10. package/dist/CountdownToolbar-Dg4F8MTk.js +210 -0
  11. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-BSH7uNP_.js} +58 -58
  12. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-Ba2pfF57.js} +2 -2
  13. package/dist/{ModuleBrowserModal-DrUFMTDx.js → ModuleBrowserModal-6phxZSKI.js} +80 -80
  14. package/dist/ModulePreviewCanvas-BW8L3eQX.js +108 -0
  15. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-BpUzQOJt.js} +87 -87
  16. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-DNSzAB-I.js} +182 -182
  17. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-CrqPQdnk.js} +38 -38
  18. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-zMQTpez7.js} +28 -28
  19. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-Do-A5rYU.js} +45 -50
  20. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-CS7o62zS.js} +75 -75
  21. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-DGj_9V1u.js} +28 -28
  22. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-C7IDnAoS.js} +68 -68
  23. package/dist/{TplModal-BwSfxIHf.js → TplModal-BAsVzcTb.js} +14 -14
  24. package/dist/{accessibility-e8JYu_zd.js → accessibility-BU09xZrQ.js} +1 -1
  25. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-C6LDKvmd.js} +19 -5
  26. package/dist/bundle-stats.json +7 -7
  27. package/dist/{check-Da05j8yl.js → check-DJrpDKO_.js} +1 -1
  28. package/dist/{chevron-down-R2uY34iD.js → chevron-down-C5oBUhT8.js} +1 -1
  29. package/dist/chevron-right-BqCptpdp.js +10 -0
  30. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-ZQQc98HC.js} +1 -1
  31. package/dist/{clock-CRp2sIub.js → clock-ik2pRJKG.js} +1 -1
  32. package/dist/{cloud-DEk_b4CR.js → cloud-6ZmAvF0j.js} +485 -427
  33. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-ClREiSx3.js} +6 -6
  34. package/dist/{de-Brqvgr43.js → de-DWcgp-7T.js} +209 -1
  35. package/dist/{dist-BaQIYPsn.js → dist-BUzw1buG.js} +1 -1
  36. package/dist/{dist-DjviJBCi.js → dist-BZyY-SS4.js} +1 -1
  37. package/dist/{dist-D6uC2xhi.js → dist-BadNx4qo.js} +1 -1
  38. package/dist/{dist-aRzjfSRN.js → dist-BesOh2mk.js} +1 -1
  39. package/dist/{dist-D90y8dvT.js → dist-Bz3M4RXG.js} +3 -3
  40. package/dist/dist-C04s_fLA.js +563 -0
  41. package/dist/{dist-DDJIWTRY.js → dist-C3T2AKtB.js} +1 -1
  42. package/dist/{dist-BFawx6IS.js → dist-C9ckKEZL.js} +51 -51
  43. package/dist/{dist-us-RpCWN.js → dist-CBItRG-Z.js} +1 -1
  44. package/dist/{dist-wzMIGj-D.js → dist-COSzWQUs.js} +1 -1
  45. package/dist/dist-CivF9P8b.js +382 -0
  46. package/dist/{dist-Cp0zXPAD.js → dist-DtiDUrX-.js} +1 -1
  47. package/dist/{dist-KoBJjK1G.js → dist-Dzt5foyL.js} +1 -1
  48. package/dist/{en-WDVp87TE.js → en-Cxd4fhNm.js} +209 -1
  49. package/dist/{extensions-CUcl9Ok4.js → extensions-D__hOlV1.js} +106 -106
  50. package/dist/{image-up-MBZKKg9p.js → image-up-DT7gcJLN.js} +1 -1
  51. package/dist/index.d.ts +88 -11
  52. package/dist/{info-CJEC7piy.js → info-BSPGcsSM.js} +1 -1
  53. package/dist/keys-CvX8D-8C.js +10 -0
  54. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-Balo8p3d.js} +1 -1
  55. package/dist/{message-circle-yElBbR2C.js → message-circle-B39qAHxs.js} +1 -1
  56. package/dist/pencil-BZJPNYWR.js +10 -0
  57. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-DwDqGUM0.js} +1 -1
  58. package/dist/{scan-line-D0vcUekt.js → scan-line-CzfFJO1o.js} +1 -1
  59. package/dist/{send-DH4oDQqC.js → send-D2eSo4GH.js} +1 -1
  60. package/dist/{shield-check-CfJgs2Hd.js → shield-check-jkpgcC0-.js} +1 -1
  61. package/dist/{sparkles-CvRXGqFs.js → sparkles-Chm5CZfb.js} +1 -1
  62. package/dist/style.css +1 -1
  63. package/dist/styleConstants-34eUKPOZ.js +55 -0
  64. package/dist/styles-B4tjX5SP.js +5224 -0
  65. package/dist/templatical-editor.js +189 -126
  66. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-CzBnJsW8.js} +1 -1
  67. package/dist/{trash-2-DbP2Y6t2.js → trash-2-CtK2apEH.js} +1 -1
  68. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-KpDVNbpn.js} +1 -1
  69. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-DOKSZql1.js} +2 -2
  70. package/dist/{useEditorCore-C6ost42Q.js → useEditorCore-wslttMH-.js} +2425 -2250
  71. package/dist/{useI18n-lb2DHDiu.js → useI18n-C2xQZ6K9.js} +2 -2
  72. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-DX0XG5V9.js} +5 -5
  73. package/dist/{vue.runtime.esm-bundler-DpvJL-nX.js → vue.runtime.esm-bundler-CjauPXjj.js} +1 -1
  74. package/dist/{x-u2oVmjN_.js → x-BkaOMosX.js} +1 -1
  75. package/package.json +10 -10
  76. package/dist/CloudEditor-BCz1ZTYC.js +0 -1172
  77. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  78. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  79. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  80. package/dist/ModulePreviewCanvas-CHdOwV_4.js +0 -106
  81. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js +0 -97
  82. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js.map +0 -1
  83. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js +0 -59
  84. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js.map +0 -1
  85. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js +0 -33
  86. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js.map +0 -1
  87. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js +0 -1143
  88. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +0 -1
  89. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js +0 -51
  90. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js.map +0 -1
  91. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js +0 -93
  92. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js.map +0 -1
  93. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  94. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js.map +0 -1
  95. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js +0 -195
  96. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js.map +0 -1
  97. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js +0 -107
  98. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js.map +0 -1
  99. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js +0 -423
  100. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js.map +0 -1
  101. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js +0 -544
  102. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js.map +0 -1
  103. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js +0 -106
  104. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js.map +0 -1
  105. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js +0 -119
  106. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js.map +0 -1
  107. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js +0 -171
  108. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js.map +0 -1
  109. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js +0 -22
  110. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js.map +0 -1
  111. package/dist/cdn/chunks/de-Ce-LbJ2J.js +0 -89
  112. package/dist/cdn/chunks/de-Ce-LbJ2J.js.map +0 -1
  113. package/dist/cdn/chunks/de-D8CnZxV9.js +0 -523
  114. package/dist/cdn/chunks/de-D8CnZxV9.js.map +0 -1
  115. package/dist/cdn/chunks/de-RQrZR56a.js +0 -209
  116. package/dist/cdn/chunks/de-RQrZR56a.js.map +0 -1
  117. package/dist/cdn/chunks/draggable-Bcb86AsV.js +0 -11572
  118. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +0 -1
  119. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js +0 -19
  120. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +0 -1
  121. package/dist/cdn/chunks/en-8FHaQv4V.js +0 -523
  122. package/dist/cdn/chunks/en-8FHaQv4V.js.map +0 -1
  123. package/dist/cdn/chunks/en-Bl1ecfRF.js +0 -209
  124. package/dist/cdn/chunks/en-Bl1ecfRF.js.map +0 -1
  125. package/dist/cdn/chunks/en-DiCWK5fG.js +0 -89
  126. package/dist/cdn/chunks/en-DiCWK5fG.js.map +0 -1
  127. package/dist/cdn/chunks/extensions-DIxF31tA.js +0 -598
  128. package/dist/cdn/chunks/extensions-DIxF31tA.js.map +0 -1
  129. package/dist/cdn/chunks/features-DEMb13KS.js +0 -6814
  130. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  131. package/dist/cdn/chunks/icons-CsLTcirh.js +0 -700
  132. package/dist/cdn/chunks/icons-CsLTcirh.js.map +0 -1
  133. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js +0 -3279
  134. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
  135. package/dist/cdn/chunks/media-library-CVaNvhpM.js +0 -6014
  136. package/dist/cdn/chunks/media-library-CVaNvhpM.js.map +0 -1
  137. package/dist/cdn/chunks/pusher-CDbNlZBE.js +0 -2508
  138. package/dist/cdn/chunks/pusher-CDbNlZBE.js.map +0 -1
  139. package/dist/cdn/chunks/quality-BaBfc54_.js +0 -1456
  140. package/dist/cdn/chunks/quality-BaBfc54_.js.map +0 -1
  141. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js +0 -32
  142. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +0 -1
  143. package/dist/cdn/chunks/renderer-CUxvx7ro.js +0 -548
  144. package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +0 -1
  145. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +0 -20
  146. package/dist/cdn/chunks/src-CRaqN-p8.js +0 -497
  147. package/dist/cdn/chunks/src-CRaqN-p8.js.map +0 -1
  148. package/dist/cdn/chunks/styleConstants-DP1VOca8.js +0 -57
  149. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +0 -1
  150. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  151. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  152. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js +0 -14654
  153. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js.map +0 -1
  154. package/dist/cdn/editor.css +0 -2
  155. package/dist/cdn/editor.js +0 -250
  156. package/dist/cdn/editor.js.map +0 -1
  157. package/dist/dist-B1IR0bpH.js +0 -326
  158. package/dist/dist-DJmnUmW9.js +0 -362
  159. package/dist/keys-ciNfSSGj.js +0 -10
  160. package/dist/styleConstants-fWzlIIwN.js +0 -55
  161. package/dist/styles-DEXEkBvg.js +0 -3176
  162. /package/dist/{_plugin-vue_export-helper-B0hnzhyu.js → _plugin-vue_export-helper-BVAJ4lgT.js} +0 -0
  163. /package/dist/{de-DCaaCE5s.js → de-GOtR9DwW.js} +0 -0
  164. /package/dist/{dist-iLBdeBDR.js → dist-DXa1uAMh.js} +0 -0
  165. /package/dist/{emojiData-PQyVa4bU.js → emojiData-DrBuvEoP.js} +0 -0
  166. /package/dist/{en-DXCyK4-X.js → en-dFFQVzNn.js} +0 -0
  167. /package/dist/{formatRelativeTime-BOEf47hq.js → formatRelativeTime-BhhO8yCl.js} +0 -0
  168. /package/dist/{liquid.browser-CdMv1BTn.js → liquid.browser-BvCyLQII.js} +0 -0
  169. /package/dist/{readableTextColor-CY3SiRnt.js → readableTextColor-DVuzNX1y.js} +0 -0
@@ -1,15 +1,15 @@
1
- import { Dt as e, E as t, L as n, M as r, Mt as i, Ot as a, P as o, Q as s, S as c, _ as l, b as u, d, f, g as p, h as m, it as h, l as g, m as _, p as v, q as y, u as b, y as x } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import { C as S, b as C, w } from "./useEditorCore-C6ost42Q.js";
3
- import { t as T } from "./dist-B1IR0bpH.js";
4
- import { D as E, O as D, T as O, h as k } from "./keys-ciNfSSGj.js";
5
- import { t as A } from "./useI18n-lb2DHDiu.js";
6
- import { t as j } from "./createLucideIcon-C3pa2siy.js";
7
- import { a as ee, i as M, n as N, r as P, t as F } from "./RichTextEditorContent-DYkIauIk.js";
8
- import { t as te } from "./loader-circle-DsY5Yg33.js";
9
- import { t as ne } from "./scan-line-D0vcUekt.js";
10
- import { n as re, r as ie, t as I } from "./text-align-start-BT9VUDxK.js";
11
- import { t as L } from "./_plugin-vue_export-helper-B0hnzhyu.js";
12
- import { a as R, o as z, s as B } from "./styleConstants-fWzlIIwN.js";
1
+ import { At as e, C as t, D as n, F as r, Ft as i, N as a, R as o, Y as s, _ as c, b as l, d as u, et as d, f, g as p, h as m, jt as h, m as g, p as _, st as v, u as y, v as b, x } from "./vue.runtime.esm-bundler-CjauPXjj.js";
2
+ import { T as S, w as C, x as w } from "./useEditorCore-wslttMH-.js";
3
+ import { t as T } from "./dist-CivF9P8b.js";
4
+ import { A as E, D, g as O, k } from "./keys-CvX8D-8C.js";
5
+ import { t as A } from "./useI18n-C2xQZ6K9.js";
6
+ import { t as j } from "./createLucideIcon-ClREiSx3.js";
7
+ import { a as ee, i as M, n as N, r as P, t as F } from "./RichTextEditorContent-CrqPQdnk.js";
8
+ import { t as te } from "./loader-circle-Balo8p3d.js";
9
+ import { t as ne } from "./scan-line-CzfFJO1o.js";
10
+ import { n as re, r as ie, t as I } from "./text-align-start-CzBnJsW8.js";
11
+ import { t as L } from "./_plugin-vue_export-helper-BVAJ4lgT.js";
12
+ import { a as R, o as z, s as B } from "./styleConstants-34eUKPOZ.js";
13
13
  var V = j("list-ordered", [
14
14
  ["path", {
15
15
  d: "M11 5h10",
@@ -161,60 +161,60 @@ var V = j("list-ordered", [
161
161
  "aria-label",
162
162
  "title",
163
163
  "aria-expanded"
164
- ], ae = ["aria-label"], oe = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, se = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, ce = ["aria-label", "onClick"], le = /* @__PURE__ */ c({
164
+ ], ae = ["aria-label"], oe = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, se = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, ce = ["aria-label", "onClick"], le = /* @__PURE__ */ t({
165
165
  __name: "EmojiPickerDropdown",
166
166
  emits: ["insert"],
167
167
  setup(t, { emit: n }) {
168
- let a = n, { categories: c, isOpen: f, toggle: m, close: y } = S(), { t: x, format: C } = A(), E = s(null), D = s(null);
169
- w(E, v(() => f.value)), T(D, () => {
170
- f.value && y();
168
+ let o = n, { categories: s, isOpen: l, toggle: p, close: h } = C(), { t: _, format: w } = A(), E = d(null), D = d(null);
169
+ S(E, g(() => l.value)), T(D, () => {
170
+ l.value && h();
171
171
  });
172
172
  function O(e) {
173
- a("insert", e), y();
173
+ o("insert", e), h();
174
174
  }
175
- return (t, n) => (r(), l("div", {
175
+ return (t, n) => (a(), b("div", {
176
176
  ref_key: "rootRef",
177
177
  ref: D,
178
178
  class: "tpl:relative"
179
- }, [_("button", {
179
+ }, [m("button", {
180
180
  type: "button",
181
- class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": h(f) }]),
182
- "aria-label": h(x).paragraphEditor.insertEmoji,
183
- title: h(x).paragraphEditor.insertEmoji,
184
- "aria-expanded": h(f),
181
+ class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(l) }]),
182
+ "aria-label": v(_).paragraphEditor.insertEmoji,
183
+ title: v(_).paragraphEditor.insertEmoji,
184
+ "aria-expanded": v(l),
185
185
  "aria-haspopup": "dialog",
186
186
  "aria-controls": "tpl-emoji-picker",
187
- onClick: n[0] ||= (...e) => h(m) && h(m)(...e)
188
- }, [u(h(W), {
187
+ onClick: n[0] ||= (...e) => v(p) && v(p)(...e)
188
+ }, [x(v(W), {
189
189
  size: 16,
190
190
  "stroke-width": 2
191
- })], 10, Y), h(f) ? (r(), l("div", {
191
+ })], 10, Y), v(l) ? (a(), b("div", {
192
192
  key: 0,
193
193
  id: "tpl-emoji-picker",
194
194
  ref_key: "pickerRef",
195
195
  ref: E,
196
196
  role: "dialog",
197
197
  "aria-modal": "false",
198
- "aria-label": h(x).paragraphEditor.insertEmoji,
198
+ "aria-label": v(_).paragraphEditor.insertEmoji,
199
199
  tabindex: "-1",
200
200
  class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-lg",
201
- onKeydown: n[1] ||= g(b((...e) => h(y) && h(y)(...e), ["stop", "prevent"]), ["esc"])
202
- }, [(r(!0), l(d, null, o(h(c), (e) => (r(), l("div", {
201
+ onKeydown: n[1] ||= y(u((...e) => v(h) && v(h)(...e), ["stop", "prevent"]), ["esc"])
202
+ }, [(a(!0), b(f, null, r(v(s), (e) => (a(), b("div", {
203
203
  key: e.key,
204
204
  class: "tpl:mb-2 tpl:last:mb-0"
205
- }, [_("div", oe, i(h(x).emoji[e.key]), 1), _("div", se, [(r(!0), l(d, null, o(e.emojis, (e) => (r(), l("button", {
205
+ }, [m("div", oe, i(v(_).emoji[e.key]), 1), m("div", se, [(a(!0), b(f, null, r(e.emojis, (e) => (a(), b("button", {
206
206
  key: e,
207
207
  type: "button",
208
- "aria-label": h(C)(h(x).paragraphEditor.emojiItemLabel, { emoji: e }),
208
+ "aria-label": v(w)(v(_).paragraphEditor.emojiItemLabel, { emoji: e }),
209
209
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
210
210
  onClick: (t) => O(e)
211
- }, i(e), 9, ce))), 128))])]))), 128))], 40, ae)) : p("", !0)], 512));
211
+ }, i(e), 9, ce))), 128))])]))), 128))], 40, ae)) : c("", !0)], 512));
212
212
  }
213
213
  }), ue = [
214
214
  "aria-label",
215
215
  "title",
216
216
  "aria-pressed"
217
- ], X = /* @__PURE__ */ c({
217
+ ], X = /* @__PURE__ */ t({
218
218
  __name: "ToolbarIconButton",
219
219
  props: {
220
220
  icon: {},
@@ -224,13 +224,13 @@ var V = j("list-ordered", [
224
224
  size: {}
225
225
  },
226
226
  setup(t) {
227
- return (i, a) => (r(), l("button", {
227
+ return (n, r) => (a(), b("button", {
228
228
  type: "button",
229
229
  class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": t.active }]),
230
230
  "aria-label": t.label,
231
231
  title: t.label,
232
232
  "aria-pressed": t.active ? "true" : "false"
233
- }, [(r(), m(n(t.icon), {
233
+ }, [(a(), p(o(t.icon), {
234
234
  size: t.size ?? 16,
235
235
  "stroke-width": t.strokeWidth ?? 2
236
236
  }, null, 8, ["size", "stroke-width"]))], 10, ue));
@@ -240,13 +240,13 @@ var V = j("list-ordered", [
240
240
  "aria-hidden": "true"
241
241
  };
242
242
  function pe(e, t) {
243
- return r(), l("span", fe);
243
+ return a(), b("span", fe);
244
244
  }
245
245
  var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
246
246
  "value",
247
247
  "aria-label",
248
248
  "title"
249
- ], he = { value: "" }, ge = ["value"], Q = /* @__PURE__ */ c({
249
+ ], he = { value: "" }, ge = ["value"], Q = /* @__PURE__ */ t({
250
250
  __name: "ToolbarSelect",
251
251
  props: {
252
252
  modelValue: {},
@@ -257,26 +257,26 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
257
257
  },
258
258
  emits: ["update:modelValue"],
259
259
  setup(t, { emit: n }) {
260
- let a = n;
260
+ let o = n;
261
261
  function s(e) {
262
- a("update:modelValue", e.target.value);
262
+ o("update:modelValue", e.target.value);
263
263
  }
264
264
  function c(e) {
265
265
  return typeof e == "string" ? e : e.value;
266
266
  }
267
- function u(e) {
267
+ function l(e) {
268
268
  return typeof e == "string" ? e : e.label;
269
269
  }
270
- return (n, a) => (r(), l("select", {
270
+ return (n, o) => (a(), b("select", {
271
271
  class: e(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", t.widthClass ?? "tpl:w-20"]),
272
272
  value: t.modelValue,
273
273
  "aria-label": t.label,
274
274
  title: t.label,
275
275
  onChange: s
276
- }, [_("option", he, i(t.placeholder ?? ""), 1), (r(!0), l(d, null, o(t.options, (e) => (r(), l("option", {
276
+ }, [m("option", he, i(t.placeholder ?? ""), 1), (a(!0), b(f, null, r(t.options, (e) => (a(), b("option", {
277
277
  key: c(e),
278
278
  value: c(e)
279
- }, i(u(e)), 9, ge))), 128))], 42, me));
279
+ }, i(l(e)), 9, ge))), 128))], 42, me));
280
280
  }
281
281
  }), _e = ["data-tpl-theme", "aria-label"], ve = { class: "tpl:flex tpl:items-center tpl:gap-1" }, ye = { class: "tpl:relative" }, be = [
282
282
  "value",
@@ -289,7 +289,7 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
289
289
  ], Se = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ce = ["aria-label", "title"], we = {
290
290
  key: 1,
291
291
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
292
- }, Te = /* @__PURE__ */ c({
292
+ }, Te = /* @__PURE__ */ t({
293
293
  __name: "ParagraphToolbar",
294
294
  props: {
295
295
  editor: {},
@@ -298,62 +298,62 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
298
298
  canRequestMergeTag: { type: Boolean }
299
299
  },
300
300
  emits: ["open-link-dialog", "add-merge-tag"],
301
- setup(e, { emit: n }) {
302
- let o = e, s = n, c = t(O, null), g = t(E, null), v = D(k, "ParagraphToolbar"), { t: y } = A(), b = v.fonts;
301
+ setup(e, { emit: t }) {
302
+ let r = e, o = t, s = n(D, null), u = n(k, null), d = E(O, "ParagraphToolbar"), { t: g } = A(), y = d.fonts;
303
303
  function S(e) {
304
- o.editor?.chain().focus().insertContent(e).run();
304
+ r.editor?.chain().focus().insertContent(e).run();
305
305
  }
306
306
  function C(e) {
307
- return o.editor?.getAttributes("textStyle")[e] || "";
307
+ return r.editor?.getAttributes("textStyle")[e] || "";
308
308
  }
309
309
  function w(e) {
310
- let t = o.editor?.chain().focus();
310
+ let t = r.editor?.chain().focus();
311
311
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
312
312
  }
313
313
  function T(e) {
314
- let t = o.editor?.chain().focus();
314
+ let t = r.editor?.chain().focus();
315
315
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
316
316
  }
317
317
  function j(e) {
318
- let t = o.editor?.chain().focus();
318
+ let t = r.editor?.chain().focus();
319
319
  e ? t?.setColor(e).run() : t?.unsetColor().run();
320
320
  }
321
321
  function N() {
322
- return o.editor?.getAttributes("paragraph").lineHeight || "";
322
+ return r.editor?.getAttributes("paragraph").lineHeight || "";
323
323
  }
324
324
  function F(e) {
325
- let t = o.editor?.chain().focus();
325
+ let t = r.editor?.chain().focus();
326
326
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
327
327
  }
328
328
  function L(e) {
329
- let t = o.editor?.chain().focus();
329
+ let t = r.editor?.chain().focus();
330
330
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
331
331
  }
332
332
  function W() {
333
- return o.editor?.getAttributes("highlight").color || "";
333
+ return r.editor?.getAttributes("highlight").color || "";
334
334
  }
335
335
  function Y(e) {
336
- let t = o.editor?.chain().focus();
336
+ let t = r.editor?.chain().focus();
337
337
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
338
338
  }
339
- return (t, n) => (r(), m(f, { to: "body" }, [_("div", {
340
- "data-tpl-theme": h(g),
339
+ return (t, n) => (a(), p(_, { to: "body" }, [m("div", {
340
+ "data-tpl-theme": v(u),
341
341
  role: "toolbar",
342
- "aria-label": h(y).paragraphEditor.toolbar,
342
+ "aria-label": v(g).paragraphEditor.toolbar,
343
343
  class: "tpl tpl-text-toolbar tpl:fixed tpl:z-popover tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-lg",
344
- style: a({
345
- ...h(c),
344
+ style: h({
345
+ ...v(s),
346
346
  top: `${e.toolbarPosition.top}px`,
347
347
  left: `${e.toolbarPosition.left}px`,
348
348
  transform: "translateY(-100%)",
349
349
  flexDirection: "column"
350
350
  })
351
- }, [!e.isLoading && e.editor ? (r(), l(d, { key: 0 }, [_("div", ve, [
352
- u(Q, {
351
+ }, [!e.isLoading && e.editor ? (a(), b(f, { key: 0 }, [m("div", ve, [
352
+ x(Q, {
353
353
  "model-value": C("fontFamily"),
354
- options: h(b),
355
- label: h(y).paragraphEditor.fontFamily,
356
- placeholder: h(y).paragraphEditor.defaultFont,
354
+ options: v(y),
355
+ label: v(g).paragraphEditor.fontFamily,
356
+ placeholder: v(g).paragraphEditor.defaultFont,
357
357
  "width-class": "tpl:w-32",
358
358
  "onUpdate:modelValue": w
359
359
  }, null, 8, [
@@ -362,11 +362,11 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
362
362
  "label",
363
363
  "placeholder"
364
364
  ]),
365
- u(Q, {
365
+ x(Q, {
366
366
  "model-value": C("fontSize"),
367
- options: h(R),
368
- label: h(y).paragraphEditor.fontSize,
369
- placeholder: h(y).paragraphEditor.defaultSize,
367
+ options: v(R),
368
+ label: v(g).paragraphEditor.fontSize,
369
+ placeholder: v(g).paragraphEditor.defaultSize,
370
370
  "width-class": "tpl:w-20",
371
371
  "onUpdate:modelValue": T
372
372
  }, null, 8, [
@@ -375,28 +375,28 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
375
375
  "label",
376
376
  "placeholder"
377
377
  ]),
378
- u(Z),
379
- _("div", ye, [_("input", {
378
+ x(Z),
379
+ m("div", ye, [m("input", {
380
380
  type: "color",
381
381
  class: "tpl:size-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-1",
382
- value: C("color") || h("#000000"),
383
- "aria-label": h(y).paragraphEditor.textColor,
384
- title: h(y).paragraphEditor.textColor,
382
+ value: C("color") || v("#000000"),
383
+ "aria-label": v(g).paragraphEditor.textColor,
384
+ title: v(g).paragraphEditor.textColor,
385
385
  onInput: n[0] ||= (e) => j(e.target.value)
386
386
  }, null, 40, be)]),
387
- _("div", $, [_("input", {
387
+ m("div", $, [m("input", {
388
388
  type: "color",
389
389
  class: "tpl:size-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:p-1",
390
- style: a({ backgroundColor: W() || "var(--tpl-bg)" }),
391
- value: W() || h("#ffff00"),
392
- "aria-label": h(y).paragraphEditor.highlightColor,
393
- title: h(y).paragraphEditor.highlightColor,
390
+ style: h({ backgroundColor: W() || "var(--tpl-bg)" }),
391
+ value: W() || v("#ffff00"),
392
+ "aria-label": v(g).paragraphEditor.highlightColor,
393
+ title: v(g).paragraphEditor.highlightColor,
394
394
  onInput: n[1] ||= (e) => Y(e.target.value)
395
395
  }, null, 44, xe)]),
396
- u(Z),
397
- u(X, {
398
- icon: h(ee),
399
- label: h(y).paragraphEditor.bold,
396
+ x(Z),
397
+ x(X, {
398
+ icon: v(ee),
399
+ label: v(g).paragraphEditor.bold,
400
400
  active: e.editor.isActive("bold"),
401
401
  "stroke-width": 2.5,
402
402
  onClick: n[2] ||= (t) => e.editor.chain().focus().toggleBold().run()
@@ -405,9 +405,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
405
405
  "label",
406
406
  "active"
407
407
  ]),
408
- u(X, {
409
- icon: h(M),
410
- label: h(y).paragraphEditor.italic,
408
+ x(X, {
409
+ icon: v(M),
410
+ label: v(g).paragraphEditor.italic,
411
411
  active: e.editor.isActive("italic"),
412
412
  onClick: n[3] ||= (t) => e.editor.chain().focus().toggleItalic().run()
413
413
  }, null, 8, [
@@ -415,9 +415,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
415
415
  "label",
416
416
  "active"
417
417
  ]),
418
- u(X, {
419
- icon: h(J),
420
- label: h(y).paragraphEditor.underline,
418
+ x(X, {
419
+ icon: v(J),
420
+ label: v(g).paragraphEditor.underline,
421
421
  active: e.editor.isActive("underline"),
422
422
  onClick: n[4] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
423
423
  }, null, 8, [
@@ -425,9 +425,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
425
425
  "label",
426
426
  "active"
427
427
  ]),
428
- u(X, {
429
- icon: h(G),
430
- label: h(y).paragraphEditor.strikethrough,
428
+ x(X, {
429
+ icon: v(G),
430
+ label: v(g).paragraphEditor.strikethrough,
431
431
  active: e.editor.isActive("strike"),
432
432
  onClick: n[5] ||= (t) => e.editor.chain().focus().toggleStrike().run()
433
433
  }, null, 8, [
@@ -435,10 +435,10 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
435
435
  "label",
436
436
  "active"
437
437
  ]),
438
- u(Z),
439
- u(X, {
440
- icon: h(K),
441
- label: h(y).paragraphEditor.subscript,
438
+ x(Z),
439
+ x(X, {
440
+ icon: v(K),
441
+ label: v(g).paragraphEditor.subscript,
442
442
  active: e.editor.isActive("subscript"),
443
443
  onClick: n[6] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
444
444
  }, null, 8, [
@@ -446,9 +446,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
446
446
  "label",
447
447
  "active"
448
448
  ]),
449
- u(X, {
450
- icon: h(q),
451
- label: h(y).paragraphEditor.superscript,
449
+ x(X, {
450
+ icon: v(q),
451
+ label: v(g).paragraphEditor.superscript,
452
452
  active: e.editor.isActive("superscript"),
453
453
  onClick: n[7] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
454
454
  }, null, 8, [
@@ -456,21 +456,21 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
456
456
  "label",
457
457
  "active"
458
458
  ]),
459
- u(Z),
460
- u(X, {
461
- icon: h(P),
462
- label: h(y).paragraphEditor.addLink,
459
+ x(Z),
460
+ x(X, {
461
+ icon: v(P),
462
+ label: v(g).paragraphEditor.addLink,
463
463
  active: e.editor.isActive("link"),
464
- onClick: n[8] ||= (e) => s("open-link-dialog")
464
+ onClick: n[8] ||= (e) => o("open-link-dialog")
465
465
  }, null, 8, [
466
466
  "icon",
467
467
  "label",
468
468
  "active"
469
469
  ])
470
- ]), _("div", Se, [
471
- u(X, {
472
- icon: h(H),
473
- label: h(y).paragraphEditor.bulletList,
470
+ ]), m("div", Se, [
471
+ x(X, {
472
+ icon: v(H),
473
+ label: v(g).paragraphEditor.bulletList,
474
474
  active: e.editor.isActive("bulletList"),
475
475
  onClick: n[9] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
476
476
  }, null, 8, [
@@ -478,9 +478,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
478
478
  "label",
479
479
  "active"
480
480
  ]),
481
- u(X, {
482
- icon: h(V),
483
- label: h(y).paragraphEditor.numberedList,
481
+ x(X, {
482
+ icon: v(V),
483
+ label: v(g).paragraphEditor.numberedList,
484
484
  active: e.editor.isActive("orderedList"),
485
485
  onClick: n[10] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
486
486
  }, null, 8, [
@@ -488,10 +488,10 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
488
488
  "label",
489
489
  "active"
490
490
  ]),
491
- u(Z),
492
- u(X, {
493
- icon: h(I),
494
- label: h(y).paragraphEditor.alignLeft,
491
+ x(Z),
492
+ x(X, {
493
+ icon: v(I),
494
+ label: v(g).paragraphEditor.alignLeft,
495
495
  active: e.editor.isActive({ textAlign: "left" }),
496
496
  onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
497
497
  }, null, 8, [
@@ -499,9 +499,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
499
499
  "label",
500
500
  "active"
501
501
  ]),
502
- u(X, {
503
- icon: h(ie),
504
- label: h(y).paragraphEditor.alignCenter,
502
+ x(X, {
503
+ icon: v(ie),
504
+ label: v(g).paragraphEditor.alignCenter,
505
505
  active: e.editor.isActive({ textAlign: "center" }),
506
506
  onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
507
507
  }, null, 8, [
@@ -509,9 +509,9 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
509
509
  "label",
510
510
  "active"
511
511
  ]),
512
- u(X, {
513
- icon: h(re),
514
- label: h(y).paragraphEditor.alignRight,
512
+ x(X, {
513
+ icon: v(re),
514
+ label: v(g).paragraphEditor.alignRight,
515
515
  active: e.editor.isActive({ textAlign: "right" }),
516
516
  onClick: n[13] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
517
517
  }, null, 8, [
@@ -519,11 +519,11 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
519
519
  "label",
520
520
  "active"
521
521
  ]),
522
- u(Z),
523
- u(Q, {
522
+ x(Z),
523
+ x(Q, {
524
524
  "model-value": N(),
525
- options: h(B),
526
- label: h(y).paragraphEditor.lineHeight,
525
+ options: v(B),
526
+ label: v(g).paragraphEditor.lineHeight,
527
527
  placeholder: "LH",
528
528
  "width-class": "tpl:w-16",
529
529
  "onUpdate:modelValue": F
@@ -532,10 +532,10 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
532
532
  "options",
533
533
  "label"
534
534
  ]),
535
- u(Q, {
535
+ x(Q, {
536
536
  "model-value": C("letterSpacing"),
537
- options: h(z),
538
- label: h(y).paragraphEditor.letterSpacing,
537
+ options: v(z),
538
+ label: v(g).paragraphEditor.letterSpacing,
539
539
  placeholder: "LS",
540
540
  "width-class": "tpl:w-20",
541
541
  "onUpdate:modelValue": L
@@ -544,31 +544,31 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
544
544
  "options",
545
545
  "label"
546
546
  ]),
547
- u(Z),
548
- u(X, {
549
- icon: h(U),
550
- label: h(y).paragraphEditor.clearFormatting,
547
+ x(Z),
548
+ x(X, {
549
+ icon: v(U),
550
+ label: v(g).paragraphEditor.clearFormatting,
551
551
  onClick: n[14] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
552
552
  }, null, 8, ["icon", "label"]),
553
- u(Z),
554
- u(le, { onInsert: S }),
555
- e.canRequestMergeTag ? (r(), l(d, { key: 0 }, [u(Z), _("button", {
553
+ x(Z),
554
+ x(le, { onInsert: S }),
555
+ e.canRequestMergeTag ? (a(), b(f, { key: 0 }, [x(Z), m("button", {
556
556
  type: "button",
557
557
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
558
- "aria-label": h(y).mergeTag.add,
559
- title: h(y).mergeTag.add,
560
- onClick: n[15] ||= (e) => s("add-merge-tag")
561
- }, [u(h(ne), {
558
+ "aria-label": v(g).mergeTag.add,
559
+ title: v(g).mergeTag.add,
560
+ onClick: n[15] ||= (e) => o("add-merge-tag")
561
+ }, [x(v(ne), {
562
562
  size: 16,
563
563
  "stroke-width": 2
564
- }), x(" " + i(h(y).mergeTag.add), 1)], 8, Ce)], 64)) : p("", !0)
565
- ])], 64)) : (r(), l("div", we, [u(h(te), {
564
+ }), l(" " + i(v(g).mergeTag.add), 1)], 8, Ce)], 64)) : c("", !0)
565
+ ])], 64)) : (a(), b("div", we, [x(v(te), {
566
566
  class: "tpl-spinner",
567
567
  size: 14,
568
568
  "stroke-width": 2
569
- }), x(" " + i(h(y).errors.editorLoading), 1)]))], 12, _e)]));
569
+ }), l(" " + i(v(g).errors.editorLoading), 1)]))], 12, _e)]));
570
570
  }
571
- }), Ee = { class: "tpl-text-editor-wrapper tpl:relative" }, De = /* @__PURE__ */ c({
571
+ }), Ee = { class: "tpl-text-editor-wrapper tpl:relative" }, De = /* @__PURE__ */ t({
572
572
  __name: "ParagraphEditor",
573
573
  props: {
574
574
  block: {},
@@ -576,25 +576,25 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
576
576
  },
577
577
  emits: ["done"],
578
578
  setup(e, { emit: t }) {
579
- let n = e, i = t, { editor: a, EditorContent: o, isLoading: s, initError: c, retry: d, showLinkDialog: f, linkUrl: p, linkDialogRef: m, canRequestMergeTag: g, openLinkDialog: _, insertLink: v, removeLink: b, closeLinkDialog: x, handleLinkKeydown: S, handleAddMergeTag: w } = C({
579
+ let n = e, r = t, { editor: i, EditorContent: o, isLoading: c, initError: l, retry: u, showLinkDialog: d, linkUrl: f, linkDialogRef: p, canRequestMergeTag: m, openLinkDialog: h, insertLink: g, removeLink: _, closeLinkDialog: y, handleLinkKeydown: S, handleAddMergeTag: C } = w({
580
580
  blockId: () => n.block.id,
581
581
  blockContent: () => n.block.content,
582
- onDone: () => i("done"),
582
+ onDone: () => r("done"),
583
583
  editorName: "ParagraphEditor",
584
584
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
585
585
  let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { TextStyle: p }, { default: m }, { default: h }, { default: g }, { MergeTagNode: _, MergeTagSuggestion: v, LogicMergeTagNode: y, FontSize: b, LineHeight: x, LetterSpacing: S }] = await Promise.all([
586
- import("./dist-BFawx6IS.js").then((e) => e.r),
587
- import("./dist-D90y8dvT.js"),
588
- import("./dist-DDJIWTRY.js"),
589
- import("./dist-KoBJjK1G.js"),
590
- import("./dist-BaQIYPsn.js"),
591
- import("./dist-aRzjfSRN.js"),
592
- import("./dist-us-RpCWN.js"),
593
- import("./dist-Cp0zXPAD.js"),
594
- import("./dist-D6uC2xhi.js"),
595
- import("./dist-wzMIGj-D.js"),
596
- import("./dist-DjviJBCi.js"),
597
- import("./extensions-CUcl9Ok4.js")
586
+ import("./dist-C9ckKEZL.js").then((e) => e.r),
587
+ import("./dist-Bz3M4RXG.js"),
588
+ import("./dist-C3T2AKtB.js"),
589
+ import("./dist-Dzt5foyL.js"),
590
+ import("./dist-BUzw1buG.js"),
591
+ import("./dist-BesOh2mk.js"),
592
+ import("./dist-CBItRG-Z.js"),
593
+ import("./dist-DtiDUrX-.js"),
594
+ import("./dist-BadNx4qo.js"),
595
+ import("./dist-COSzWQUs.js"),
596
+ import("./dist-BZyY-SS4.js"),
597
+ import("./extensions-D__hOlV1.js")
598
598
  ]);
599
599
  return {
600
600
  TiptapEditor: a,
@@ -638,14 +638,14 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
638
638
  };
639
639
  }
640
640
  });
641
- return (t, n) => (r(), l("div", Ee, [
642
- u(Te, {
643
- editor: h(a),
641
+ return (t, n) => (a(), b("div", Ee, [
642
+ x(Te, {
643
+ editor: v(i),
644
644
  "toolbar-position": e.toolbarPosition,
645
- "is-loading": h(s),
646
- "can-request-merge-tag": h(g),
647
- onOpenLinkDialog: h(_),
648
- onAddMergeTag: h(w)
645
+ "is-loading": v(c),
646
+ "can-request-merge-tag": v(m),
647
+ onOpenLinkDialog: v(h),
648
+ onAddMergeTag: v(C)
649
649
  }, null, 8, [
650
650
  "editor",
651
651
  "toolbar-position",
@@ -654,12 +654,12 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
654
654
  "onOpenLinkDialog",
655
655
  "onAddMergeTag"
656
656
  ]),
657
- u(F, {
658
- editor: h(a),
659
- "editor-content": h(o),
660
- "is-loading": h(s),
661
- "init-error": h(c),
662
- onRetry: h(d)
657
+ x(F, {
658
+ editor: v(i),
659
+ "editor-content": v(o),
660
+ "is-loading": v(c),
661
+ "init-error": v(l),
662
+ onRetry: v(u)
663
663
  }, null, 8, [
664
664
  "editor",
665
665
  "editor-content",
@@ -667,17 +667,17 @@ var Z = /* @__PURE__ */ L(de, [["render", pe]]), me = [
667
667
  "init-error",
668
668
  "onRetry"
669
669
  ]),
670
- u(N, {
671
- visible: h(f),
672
- "is-editing-link": h(a)?.isActive("link") ?? !1,
673
- "dialog-ref": h(m),
674
- "onUpdate:dialogRef": n[0] ||= (e) => y(m) ? m.value = e : null,
675
- "link-url": h(p),
676
- "onUpdate:linkUrl": n[1] ||= (e) => y(p) ? p.value = e : null,
677
- onClose: h(x),
678
- onInsert: h(v),
679
- onRemove: h(b),
680
- onKeydown: h(S)
670
+ x(N, {
671
+ visible: v(d),
672
+ "is-editing-link": v(i)?.isActive("link") ?? !1,
673
+ "dialog-ref": v(p),
674
+ "onUpdate:dialogRef": n[0] ||= (e) => s(p) ? p.value = e : null,
675
+ "link-url": v(f),
676
+ "onUpdate:linkUrl": n[1] ||= (e) => s(f) ? f.value = e : null,
677
+ onClose: v(y),
678
+ onInsert: v(g),
679
+ onRemove: v(_),
680
+ onKeydown: v(S)
681
681
  }, null, 8, [
682
682
  "visible",
683
683
  "is-editing-link",