@templatical/editor 0.6.4 → 0.6.5

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 (128) hide show
  1. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-B2MT0M58.js} +34 -34
  2. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-w5ek3Z76.js} +62 -62
  3. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-uXTxJh06.js} +20 -20
  4. package/dist/{cdn/chunks/BlockA11yBadge-DcEZftf6.js → BlockA11yBadge-C0S6kPC4.js} +10 -9
  5. package/dist/{CloudEditor-nzrRhHIi.js → CloudEditor-_GaYluN7.js} +441 -441
  6. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-C4eXJkXW.js} +20 -20
  7. package/dist/CommentsSidebar-BQROg36f.js +441 -0
  8. package/dist/{cdn/chunks/CountdownBlock-5YdT1uUu.js → CountdownBlock-Bxqe7zwL.js} +21 -22
  9. package/dist/CountdownToolbar-CpFAnjSo.js +210 -0
  10. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-CfqpcWX6.js} +52 -52
  11. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-CFkDkjBb.js} +1 -1
  12. package/dist/{ModuleBrowserModal-DrUFMTDx.js → ModuleBrowserModal-EDKHLJtb.js} +79 -79
  13. package/dist/{ModulePreviewCanvas-CHdOwV_4.js → ModulePreviewCanvas-MQxat34K.js} +29 -29
  14. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-Dw8dN1Pt.js} +88 -88
  15. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-C8IP9HOZ.js} +218 -218
  16. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-CK3Om7ES.js} +38 -38
  17. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-Bgu0FVr6.js} +34 -34
  18. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-aSULEKUJ.js} +33 -33
  19. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-BIAeCAEP.js} +82 -82
  20. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-wcbmmWCs.js} +30 -30
  21. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-21D8_OUQ.js} +67 -67
  22. package/dist/{TplModal-BwSfxIHf.js → TplModal-CINtyB6Y.js} +14 -14
  23. package/dist/{accessibility-e8JYu_zd.js → accessibility-BgUEA-Ai.js} +1 -1
  24. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-DKetBdJx.js} +2 -2
  25. package/dist/bundle-stats.json +6 -6
  26. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js → AccessibilityPanel-BMSGhaNU.js} +34 -34
  27. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js.map → AccessibilityPanel-BMSGhaNU.js.map} +1 -1
  28. package/dist/cdn/chunks/{AiFeatureMenu-qEdB2fZJ.js → AiFeatureMenu-hNba-JqQ.js} +16 -16
  29. package/dist/cdn/chunks/{AiFeatureMenu-qEdB2fZJ.js.map → AiFeatureMenu-hNba-JqQ.js.map} +1 -1
  30. package/dist/{BlockA11yBadge-CXDLqkcJ.js → cdn/chunks/BlockA11yBadge-BIR88CvN.js} +11 -12
  31. package/dist/cdn/chunks/{BlockA11yBadge-DcEZftf6.js.map → BlockA11yBadge-BIR88CvN.js.map} +1 -1
  32. package/dist/cdn/chunks/{CloudEditor-dwzWDF_n.js → CloudEditor-D2G2nNpQ.js} +425 -425
  33. package/dist/cdn/chunks/{CloudEditor-dwzWDF_n.js.map → CloudEditor-D2G2nNpQ.js.map} +1 -1
  34. package/dist/cdn/chunks/{CollaboratorBar--nO7TX6b.js → CollaboratorBar-Btzom8dY.js} +20 -20
  35. package/dist/cdn/chunks/{CollaboratorBar--nO7TX6b.js.map → CollaboratorBar-Btzom8dY.js.map} +1 -1
  36. package/dist/cdn/chunks/CountdownBlock-BJSAJlJ1.js +93 -0
  37. package/dist/cdn/chunks/{CountdownBlock-5YdT1uUu.js.map → CountdownBlock-BJSAJlJ1.js.map} +1 -1
  38. package/dist/cdn/chunks/CountdownToolbar-DbknNrIi.js +212 -0
  39. package/dist/cdn/chunks/{CountdownToolbar-DXPXrbAA.js.map → CountdownToolbar-DbknNrIi.js.map} +1 -1
  40. package/dist/cdn/chunks/{ModuleBrowserModal-DxoPp81s.js → ModuleBrowserModal-BvAuW8O5.js} +43 -43
  41. package/dist/cdn/chunks/{ModuleBrowserModal-DxoPp81s.js.map → ModuleBrowserModal-BvAuW8O5.js.map} +1 -1
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-CoLdb4ar.js → ModulePreviewCanvas-CYtt0boo.js} +23 -23
  43. package/dist/cdn/chunks/{ModulePreviewCanvas-CoLdb4ar.js.map → ModulePreviewCanvas-CYtt0boo.js.map} +1 -1
  44. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js → NumberWithSuffix-CVfo9ztG.js} +108 -108
  45. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js.map → NumberWithSuffix-CVfo9ztG.js.map} +1 -1
  46. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js → ParagraphEditor-DCo58JP8.js} +187 -187
  47. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js.map → ParagraphEditor-DCo58JP8.js.map} +1 -1
  48. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js → RichTextEditorContent-BzCThv84.js} +33 -33
  49. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js.map → RichTextEditorContent-BzCThv84.js.map} +1 -1
  50. package/dist/cdn/chunks/{SaveModuleDialog-B0TnO_o9.js → SaveModuleDialog-S2Lix1LD.js} +27 -27
  51. package/dist/cdn/chunks/{SaveModuleDialog-B0TnO_o9.js.map → SaveModuleDialog-S2Lix1LD.js.map} +1 -1
  52. package/dist/cdn/chunks/{TitleEditor-BHpfxvwy.js → TitleEditor-CYzAMuUW.js} +66 -66
  53. package/dist/cdn/chunks/{TitleEditor-BHpfxvwy.js.map → TitleEditor-CYzAMuUW.js.map} +1 -1
  54. package/dist/cdn/chunks/{blockTypeIcons-BzzY9_kA.js → blockTypeIcons-DOzUHoor.js} +3 -3
  55. package/dist/cdn/chunks/{blockTypeIcons-BzzY9_kA.js.map → blockTypeIcons-DOzUHoor.js.map} +1 -1
  56. package/dist/cdn/chunks/draggable-CNhyCGIO.js +4804 -0
  57. package/dist/cdn/chunks/draggable-CNhyCGIO.js.map +1 -0
  58. package/dist/cdn/chunks/{extensions-DIxF31tA.js → extensions-wafZZ0-_.js} +95 -95
  59. package/dist/cdn/chunks/{extensions-DIxF31tA.js.map → extensions-wafZZ0-_.js.map} +1 -1
  60. package/dist/cdn/chunks/{features-DEMb13KS.js → features-B4tNvoi4.js} +2260 -2267
  61. package/dist/cdn/chunks/features-B4tNvoi4.js.map +1 -0
  62. package/dist/cdn/chunks/{icons-CsLTcirh.js → icons-B5nBFtvb.js} +2 -2
  63. package/dist/cdn/chunks/{icons-CsLTcirh.js.map → icons-B5nBFtvb.js.map} +1 -1
  64. package/dist/cdn/chunks/{media-library-CVaNvhpM.js → media-library-BLaoBxHe.js} +1397 -1397
  65. package/dist/cdn/chunks/{media-library-CVaNvhpM.js.map → media-library-BLaoBxHe.js.map} +1 -1
  66. package/dist/cdn/chunks/{pusher-CDbNlZBE.js → pusher-bjpcqCZG.js} +2 -2
  67. package/dist/cdn/chunks/{pusher-CDbNlZBE.js.map → pusher-bjpcqCZG.js.map} +1 -1
  68. package/dist/cdn/chunks/{quality-BaBfc54_.js → quality-D920ZxXf.js} +3 -3
  69. package/dist/cdn/chunks/{quality-BaBfc54_.js.map → quality-D920ZxXf.js.map} +1 -1
  70. package/dist/cdn/chunks/{renderer-CUxvx7ro.js → renderer-Yk30CckU.js} +3 -3
  71. package/dist/cdn/chunks/{renderer-CUxvx7ro.js.map → renderer-Yk30CckU.js.map} +1 -1
  72. package/dist/{rolldown-runtime-BZGGJVDF.js → cdn/chunks/rolldown-runtime-C266TIVP.js} +5 -5
  73. package/dist/cdn/chunks/{src-CRaqN-p8.js → src-kLJg7Y0m.js} +171 -171
  74. package/dist/cdn/chunks/{src-CRaqN-p8.js.map → src-kLJg7Y0m.js.map} +1 -1
  75. package/dist/cdn/chunks/styles-DrVLif14.js +2944 -0
  76. package/dist/cdn/chunks/styles-DrVLif14.js.map +1 -0
  77. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js → tiptap-IyIsncxY.js} +45 -46
  78. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js.map → tiptap-IyIsncxY.js.map} +1 -1
  79. package/dist/cdn/editor.css +1 -1
  80. package/dist/cdn/editor.js +122 -122
  81. package/dist/cdn/editor.js.map +1 -1
  82. package/dist/{check-Da05j8yl.js → check-Bg5yrRmX.js} +1 -1
  83. package/dist/{chevron-down-R2uY34iD.js → chevron-down-tee-ghFi.js} +1 -1
  84. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-C0L9pUQ4.js} +1 -1
  85. package/dist/{clock-CRp2sIub.js → clock-CDlEdqiP.js} +1 -1
  86. package/dist/{cloud-DEk_b4CR.js → cloud-a3VovHva.js} +145 -145
  87. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-Di4mqmGn.js} +9 -9
  88. package/dist/{dist-B1IR0bpH.js → dist-BzRLLpfq.js} +107 -107
  89. package/dist/{dist-BFawx6IS.js → dist-Pk4MhWMP.js} +35 -35
  90. package/dist/{extensions-CUcl9Ok4.js → extensions-BF39Siqk.js} +103 -103
  91. package/dist/{image-up-MBZKKg9p.js → image-up-1D_3XDdO.js} +1 -1
  92. package/dist/index.d.ts +6 -6
  93. package/dist/{info-CJEC7piy.js → info-DTGrc0Bx.js} +1 -1
  94. package/dist/{keys-ciNfSSGj.js → keys-Bqs_0du9.js} +1 -1
  95. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-_9bP23op.js} +1 -1
  96. package/dist/{message-circle-yElBbR2C.js → message-circle-gzy2ZGJ3.js} +1 -1
  97. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-BNAhAmtL.js} +1 -1
  98. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  99. package/dist/{scan-line-D0vcUekt.js → scan-line-DUEg6DoT.js} +1 -1
  100. package/dist/{send-DH4oDQqC.js → send-BatIZC9a.js} +1 -1
  101. package/dist/{shield-check-CfJgs2Hd.js → shield-check-C5Gv2cM1.js} +1 -1
  102. package/dist/{sparkles-CvRXGqFs.js → sparkles-D1IGi_cC.js} +1 -1
  103. package/dist/style.css +1 -1
  104. package/dist/styles-CwJQsnSp.js +3173 -0
  105. package/dist/templatical-editor.js +99 -99
  106. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-DG3aAH7Y.js} +1 -1
  107. package/dist/{trash-2-DbP2Y6t2.js → trash-2-424iqbpN.js} +1 -1
  108. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-DWQySIE2.js} +1 -1
  109. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-CL_AwWwi.js} +4 -4
  110. package/dist/useEditorCore-DLd-5qMg.js +3784 -0
  111. package/dist/{useI18n-lb2DHDiu.js → useI18n-CgmQftNf.js} +4 -4
  112. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-vpwrZ9eQ.js} +3 -3
  113. package/dist/vue.runtime.esm-bundler-Bxqkjqhc.js +4300 -0
  114. package/dist/{x-u2oVmjN_.js → x-Dlaenqta.js} +1 -1
  115. package/package.json +8 -8
  116. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  117. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  118. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  119. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  120. package/dist/cdn/chunks/draggable-Bcb86AsV.js +0 -11572
  121. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +0 -1
  122. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  123. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +0 -20
  124. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  125. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  126. package/dist/styles-DEXEkBvg.js +0 -3176
  127. package/dist/useEditorCore-C6ost42Q.js +0 -9342
  128. package/dist/vue.runtime.esm-bundler-DpvJL-nX.js +0 -5775
@@ -1,67 +1,67 @@
1
- import { $ as e, E as t, F as n, J as r, N as i, R as a, S as o, _ as s, at as c, b as l, ct as u, d, f, g as p, h as m, l as h, lt as g, m as _, p as v, st as y, u as b, y as x } from "./draggable-Bcb86AsV.js";
2
- import { $t as S, Nt as C, Qt as w, X as T, en as E, et as D, gt as O, q as k, qt as ee, tn as A, tt as j } from "./features-DEMb13KS.js";
3
- import { B as M, H as N, R as P, X as F, _ as I, c as te, f as ne, i as re, o as ie, p as L, s as R, u as z, w as B, x as V, z as H } from "./icons-CsLTcirh.js";
1
+ import { K as e, L as t, M as n, P as r, T as i, Z as a, at as o, c as s, d as c, f as l, g as u, h as d, l as f, m as p, ot as m, p as h, rt as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-CNhyCGIO.js";
2
+ import { $t as S, Nt as C, Qt as w, X as T, en as E, et as D, gt as O, q as k, qt as ee, tn as A, tt as j } from "./features-B4tNvoi4.js";
3
+ import { B as M, H as N, R as P, X as F, _ as I, c as te, f as ne, i as re, o as ie, p as L, s as R, u as z, w as B, x as V, z as H } from "./icons-B5nBFtvb.js";
4
4
  import { a as U, o as W, s as G } from "./styleConstants-DP1VOca8.js";
5
- import { n as K, t as q } from "./RichTextEditorContent-DL_y2SrR.js";
5
+ import { n as K, t as q } from "./RichTextEditorContent-BzCThv84.js";
6
6
  //#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
7
7
  var J = [
8
8
  "aria-label",
9
9
  "title",
10
10
  "aria-expanded"
11
- ], Y = ["aria-label"], ae = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, oe = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, se = ["aria-label", "onClick"], ce = /* @__PURE__ */ o({
11
+ ], Y = ["aria-label"], ae = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, oe = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, se = ["aria-label", "onClick"], ce = /* @__PURE__ */ b({
12
12
  __name: "EmojiPickerDropdown",
13
13
  emits: ["insert"],
14
- setup(t, { emit: r }) {
15
- let a = r, { categories: o, isOpen: u, toggle: f, close: m } = T(), { t: x, format: S } = C(), w = e(null), E = e(null);
16
- D(w, v(() => u.value)), A(E, () => {
17
- u.value && m();
14
+ setup(e, { emit: t }) {
15
+ let i = t, { categories: c, isOpen: p, toggle: m, close: y } = T(), { t: b, format: S } = C(), w = a(null), E = a(null);
16
+ D(w, l(() => p.value)), A(E, () => {
17
+ p.value && y();
18
18
  });
19
19
  function O(e) {
20
- a("insert", e), m();
20
+ i("insert", e), y();
21
21
  }
22
- return (e, t) => (i(), s("div", {
22
+ return (e, t) => (n(), u("div", {
23
23
  ref_key: "rootRef",
24
24
  ref: E,
25
25
  class: "tpl:relative"
26
- }, [_("button", {
26
+ }, [h("button", {
27
27
  type: "button",
28
- class: y(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": c(u) }]),
29
- "aria-label": c(x).paragraphEditor.insertEmoji,
30
- title: c(x).paragraphEditor.insertEmoji,
31
- "aria-expanded": c(u),
28
+ class: o(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": g(p) }]),
29
+ "aria-label": g(b).paragraphEditor.insertEmoji,
30
+ title: g(b).paragraphEditor.insertEmoji,
31
+ "aria-expanded": g(p),
32
32
  "aria-haspopup": "dialog",
33
33
  "aria-controls": "tpl-emoji-picker",
34
- onClick: t[0] ||= (...e) => c(f) && c(f)(...e)
35
- }, [l(c(I), {
34
+ onClick: t[0] ||= (...e) => g(m) && g(m)(...e)
35
+ }, [x(g(I), {
36
36
  size: 16,
37
37
  "stroke-width": 2
38
- })], 10, J), c(u) ? (i(), s("div", {
38
+ })], 10, J), g(p) ? (n(), u("div", {
39
39
  key: 0,
40
40
  id: "tpl-emoji-picker",
41
41
  ref_key: "pickerRef",
42
42
  ref: w,
43
43
  role: "dialog",
44
44
  "aria-modal": "false",
45
- "aria-label": c(x).paragraphEditor.insertEmoji,
45
+ "aria-label": g(b).paragraphEditor.insertEmoji,
46
46
  tabindex: "-1",
47
47
  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",
48
- onKeydown: t[1] ||= h(b((...e) => c(m) && c(m)(...e), ["stop", "prevent"]), ["esc"])
49
- }, [(i(!0), s(d, null, n(c(o), (e) => (i(), s("div", {
48
+ onKeydown: t[1] ||= s(f((...e) => g(y) && g(y)(...e), ["stop", "prevent"]), ["esc"])
49
+ }, [(n(!0), u(v, null, r(g(c), (e) => (n(), u("div", {
50
50
  key: e.key,
51
51
  class: "tpl:mb-2 tpl:last:mb-0"
52
- }, [_("div", ae, g(c(x).emoji[e.key]), 1), _("div", oe, [(i(!0), s(d, null, n(e.emojis, (e) => (i(), s("button", {
52
+ }, [h("div", ae, _(g(b).emoji[e.key]), 1), h("div", oe, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
53
53
  key: e,
54
54
  type: "button",
55
- "aria-label": c(S)(c(x).paragraphEditor.emojiItemLabel, { emoji: e }),
55
+ "aria-label": g(S)(g(b).paragraphEditor.emojiItemLabel, { emoji: e }),
56
56
  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)]",
57
57
  onClick: (t) => O(e)
58
- }, g(e), 9, se))), 128))])]))), 128))], 40, Y)) : p("", !0)], 512));
58
+ }, _(e), 9, se))), 128))])]))), 128))], 40, Y)) : d("", !0)], 512));
59
59
  }
60
60
  }), le = [
61
61
  "aria-label",
62
62
  "title",
63
63
  "aria-pressed"
64
- ], X = /* @__PURE__ */ o({
64
+ ], X = /* @__PURE__ */ b({
65
65
  __name: "ToolbarIconButton",
66
66
  props: {
67
67
  icon: {},
@@ -71,13 +71,13 @@ var J = [
71
71
  size: {}
72
72
  },
73
73
  setup(e) {
74
- return (t, n) => (i(), s("button", {
74
+ return (r, i) => (n(), u("button", {
75
75
  type: "button",
76
- class: y(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
76
+ class: o(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
77
77
  "aria-label": e.label,
78
78
  title: e.label,
79
79
  "aria-pressed": e.active ? "true" : "false"
80
- }, [(i(), m(a(e.icon), {
80
+ }, [(n(), p(t(e.icon), {
81
81
  size: e.size ?? 16,
82
82
  "stroke-width": e.strokeWidth ?? 2
83
83
  }, null, 8, ["size", "stroke-width"]))], 10, le));
@@ -87,13 +87,13 @@ var J = [
87
87
  "aria-hidden": "true"
88
88
  };
89
89
  function fe(e, t) {
90
- return i(), s("span", de);
90
+ return n(), u("span", de);
91
91
  }
92
92
  var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
93
93
  "value",
94
94
  "aria-label",
95
95
  "title"
96
- ], me = { value: "" }, he = ["value"], Q = /* @__PURE__ */ o({
96
+ ], me = { value: "" }, he = ["value"], Q = /* @__PURE__ */ b({
97
97
  __name: "ToolbarSelect",
98
98
  props: {
99
99
  modelValue: {},
@@ -104,26 +104,26 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
104
104
  },
105
105
  emits: ["update:modelValue"],
106
106
  setup(e, { emit: t }) {
107
- let r = t;
107
+ let i = t;
108
108
  function a(e) {
109
- r("update:modelValue", e.target.value);
109
+ i("update:modelValue", e.target.value);
110
110
  }
111
- function o(e) {
111
+ function s(e) {
112
112
  return typeof e == "string" ? e : e.value;
113
113
  }
114
114
  function c(e) {
115
115
  return typeof e == "string" ? e : e.label;
116
116
  }
117
- return (t, r) => (i(), s("select", {
118
- class: y(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", e.widthClass ?? "tpl:w-20"]),
117
+ return (t, i) => (n(), u("select", {
118
+ class: o(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", e.widthClass ?? "tpl:w-20"]),
119
119
  value: e.modelValue,
120
120
  "aria-label": e.label,
121
121
  title: e.label,
122
122
  onChange: a
123
- }, [_("option", me, g(e.placeholder ?? ""), 1), (i(!0), s(d, null, n(e.options, (e) => (i(), s("option", {
124
- key: o(e),
125
- value: o(e)
126
- }, g(c(e)), 9, he))), 128))], 42, pe));
123
+ }, [h("option", me, _(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
124
+ key: s(e),
125
+ value: s(e)
126
+ }, _(c(e)), 9, he))), 128))], 42, pe));
127
127
  }
128
128
  }), ge = ["data-tpl-theme", "aria-label"], _e = { class: "tpl:flex tpl:items-center tpl:gap-1" }, ve = { class: "tpl:relative" }, ye = [
129
129
  "value",
@@ -136,7 +136,7 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
136
136
  ], xe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Se = ["aria-label", "title"], Ce = {
137
137
  key: 1,
138
138
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
139
- }, we = /* @__PURE__ */ o({
139
+ }, we = /* @__PURE__ */ b({
140
140
  __name: "ParagraphToolbar",
141
141
  props: {
142
142
  editor: {},
@@ -145,8 +145,8 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
145
145
  canRequestMergeTag: { type: Boolean }
146
146
  },
147
147
  emits: ["open-link-dialog", "add-merge-tag"],
148
- setup(e, { emit: n }) {
149
- let r = e, a = n, o = t(w, null), h = t(S, null), v = E(ee, "ParagraphToolbar"), { t: y } = C(), b = v.fonts;
148
+ setup(e, { emit: t }) {
149
+ let r = e, a = t, o = i(w, null), s = i(S, null), l = E(ee, "ParagraphToolbar"), { t: f } = C(), b = l.fonts;
150
150
  function T(e) {
151
151
  r.editor?.chain().focus().insertContent(e).run();
152
152
  }
@@ -183,24 +183,24 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
183
183
  let t = r.editor?.chain().focus();
184
184
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
185
185
  }
186
- return (t, n) => (i(), m(f, { to: "body" }, [_("div", {
187
- "data-tpl-theme": c(h),
186
+ return (t, r) => (n(), p(c, { to: "body" }, [h("div", {
187
+ "data-tpl-theme": g(s),
188
188
  role: "toolbar",
189
- "aria-label": c(y).paragraphEditor.toolbar,
189
+ "aria-label": g(f).paragraphEditor.toolbar,
190
190
  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",
191
- style: u({
192
- ...c(o),
191
+ style: m({
192
+ ...g(o),
193
193
  top: `${e.toolbarPosition.top}px`,
194
194
  left: `${e.toolbarPosition.left}px`,
195
195
  transform: "translateY(-100%)",
196
196
  flexDirection: "column"
197
197
  })
198
- }, [!e.isLoading && e.editor ? (i(), s(d, { key: 0 }, [_("div", _e, [
199
- l(Q, {
198
+ }, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [h("div", _e, [
199
+ x(Q, {
200
200
  "model-value": D("fontFamily"),
201
- options: c(b),
202
- label: c(y).paragraphEditor.fontFamily,
203
- placeholder: c(y).paragraphEditor.defaultFont,
201
+ options: g(b),
202
+ label: g(f).paragraphEditor.fontFamily,
203
+ placeholder: g(f).paragraphEditor.defaultFont,
204
204
  "width-class": "tpl:w-32",
205
205
  "onUpdate:modelValue": k
206
206
  }, null, 8, [
@@ -209,11 +209,11 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
209
209
  "label",
210
210
  "placeholder"
211
211
  ]),
212
- l(Q, {
212
+ x(Q, {
213
213
  "model-value": D("fontSize"),
214
- options: c(U),
215
- label: c(y).paragraphEditor.fontSize,
216
- placeholder: c(y).paragraphEditor.defaultSize,
214
+ options: g(U),
215
+ label: g(f).paragraphEditor.fontSize,
216
+ placeholder: g(f).paragraphEditor.defaultSize,
217
217
  "width-class": "tpl:w-20",
218
218
  "onUpdate:modelValue": A
219
219
  }, null, 8, [
@@ -222,155 +222,155 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
222
222
  "label",
223
223
  "placeholder"
224
224
  ]),
225
- l(Z),
226
- _("div", ve, [_("input", {
225
+ x(Z),
226
+ h("div", ve, [h("input", {
227
227
  type: "color",
228
228
  class: "tpl:size-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-1",
229
- value: D("color") || c("#000000"),
230
- "aria-label": c(y).paragraphEditor.textColor,
231
- title: c(y).paragraphEditor.textColor,
232
- onInput: n[0] ||= (e) => j(e.target.value)
229
+ value: D("color") || g("#000000"),
230
+ "aria-label": g(f).paragraphEditor.textColor,
231
+ title: g(f).paragraphEditor.textColor,
232
+ onInput: r[0] ||= (e) => j(e.target.value)
233
233
  }, null, 40, ye)]),
234
- _("div", be, [_("input", {
234
+ h("div", be, [h("input", {
235
235
  type: "color",
236
236
  class: "tpl:size-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:p-1",
237
- style: u({ backgroundColor: J() || "var(--tpl-bg)" }),
238
- value: J() || c("#ffff00"),
239
- "aria-label": c(y).paragraphEditor.highlightColor,
240
- title: c(y).paragraphEditor.highlightColor,
241
- onInput: n[1] ||= (e) => Y(e.target.value)
237
+ style: m({ backgroundColor: J() || "var(--tpl-bg)" }),
238
+ value: J() || g("#ffff00"),
239
+ "aria-label": g(f).paragraphEditor.highlightColor,
240
+ title: g(f).paragraphEditor.highlightColor,
241
+ onInput: r[1] ||= (e) => Y(e.target.value)
242
242
  }, null, 44, $)]),
243
- l(Z),
244
- l(X, {
245
- icon: c(F),
246
- label: c(y).paragraphEditor.bold,
243
+ x(Z),
244
+ x(X, {
245
+ icon: g(F),
246
+ label: g(f).paragraphEditor.bold,
247
247
  active: e.editor.isActive("bold"),
248
248
  "stroke-width": 2.5,
249
- onClick: n[2] ||= (t) => e.editor.chain().focus().toggleBold().run()
249
+ onClick: r[2] ||= (t) => e.editor.chain().focus().toggleBold().run()
250
250
  }, null, 8, [
251
251
  "icon",
252
252
  "label",
253
253
  "active"
254
254
  ]),
255
- l(X, {
256
- icon: c(N),
257
- label: c(y).paragraphEditor.italic,
255
+ x(X, {
256
+ icon: g(N),
257
+ label: g(f).paragraphEditor.italic,
258
258
  active: e.editor.isActive("italic"),
259
- onClick: n[3] ||= (t) => e.editor.chain().focus().toggleItalic().run()
259
+ onClick: r[3] ||= (t) => e.editor.chain().focus().toggleItalic().run()
260
260
  }, null, 8, [
261
261
  "icon",
262
262
  "label",
263
263
  "active"
264
264
  ]),
265
- l(X, {
266
- icon: c(re),
267
- label: c(y).paragraphEditor.underline,
265
+ x(X, {
266
+ icon: g(re),
267
+ label: g(f).paragraphEditor.underline,
268
268
  active: e.editor.isActive("underline"),
269
- onClick: n[4] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
269
+ onClick: r[4] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
270
270
  }, null, 8, [
271
271
  "icon",
272
272
  "label",
273
273
  "active"
274
274
  ]),
275
- l(X, {
276
- icon: c(L),
277
- label: c(y).paragraphEditor.strikethrough,
275
+ x(X, {
276
+ icon: g(L),
277
+ label: g(f).paragraphEditor.strikethrough,
278
278
  active: e.editor.isActive("strike"),
279
- onClick: n[5] ||= (t) => e.editor.chain().focus().toggleStrike().run()
279
+ onClick: r[5] ||= (t) => e.editor.chain().focus().toggleStrike().run()
280
280
  }, null, 8, [
281
281
  "icon",
282
282
  "label",
283
283
  "active"
284
284
  ]),
285
- l(Z),
286
- l(X, {
287
- icon: c(ne),
288
- label: c(y).paragraphEditor.subscript,
285
+ x(Z),
286
+ x(X, {
287
+ icon: g(ne),
288
+ label: g(f).paragraphEditor.subscript,
289
289
  active: e.editor.isActive("subscript"),
290
- onClick: n[6] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
290
+ onClick: r[6] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
291
291
  }, null, 8, [
292
292
  "icon",
293
293
  "label",
294
294
  "active"
295
295
  ]),
296
- l(X, {
297
- icon: c(z),
298
- label: c(y).paragraphEditor.superscript,
296
+ x(X, {
297
+ icon: g(z),
298
+ label: g(f).paragraphEditor.superscript,
299
299
  active: e.editor.isActive("superscript"),
300
- onClick: n[7] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
300
+ onClick: r[7] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
301
301
  }, null, 8, [
302
302
  "icon",
303
303
  "label",
304
304
  "active"
305
305
  ]),
306
- l(Z),
307
- l(X, {
308
- icon: c(M),
309
- label: c(y).paragraphEditor.addLink,
306
+ x(Z),
307
+ x(X, {
308
+ icon: g(M),
309
+ label: g(f).paragraphEditor.addLink,
310
310
  active: e.editor.isActive("link"),
311
- onClick: n[8] ||= (e) => a("open-link-dialog")
311
+ onClick: r[8] ||= (e) => a("open-link-dialog")
312
312
  }, null, 8, [
313
313
  "icon",
314
314
  "label",
315
315
  "active"
316
316
  ])
317
- ]), _("div", xe, [
318
- l(X, {
319
- icon: c(P),
320
- label: c(y).paragraphEditor.bulletList,
317
+ ]), h("div", xe, [
318
+ x(X, {
319
+ icon: g(P),
320
+ label: g(f).paragraphEditor.bulletList,
321
321
  active: e.editor.isActive("bulletList"),
322
- onClick: n[9] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
322
+ onClick: r[9] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
323
323
  }, null, 8, [
324
324
  "icon",
325
325
  "label",
326
326
  "active"
327
327
  ]),
328
- l(X, {
329
- icon: c(H),
330
- label: c(y).paragraphEditor.numberedList,
328
+ x(X, {
329
+ icon: g(H),
330
+ label: g(f).paragraphEditor.numberedList,
331
331
  active: e.editor.isActive("orderedList"),
332
- onClick: n[10] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
332
+ onClick: r[10] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
333
333
  }, null, 8, [
334
334
  "icon",
335
335
  "label",
336
336
  "active"
337
337
  ]),
338
- l(Z),
339
- l(X, {
340
- icon: c(ie),
341
- label: c(y).paragraphEditor.alignLeft,
338
+ x(Z),
339
+ x(X, {
340
+ icon: g(ie),
341
+ label: g(f).paragraphEditor.alignLeft,
342
342
  active: e.editor.isActive({ textAlign: "left" }),
343
- onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
343
+ onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
344
344
  }, null, 8, [
345
345
  "icon",
346
346
  "label",
347
347
  "active"
348
348
  ]),
349
- l(X, {
350
- icon: c(te),
351
- label: c(y).paragraphEditor.alignCenter,
349
+ x(X, {
350
+ icon: g(te),
351
+ label: g(f).paragraphEditor.alignCenter,
352
352
  active: e.editor.isActive({ textAlign: "center" }),
353
- onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
353
+ onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
354
354
  }, null, 8, [
355
355
  "icon",
356
356
  "label",
357
357
  "active"
358
358
  ]),
359
- l(X, {
360
- icon: c(R),
361
- label: c(y).paragraphEditor.alignRight,
359
+ x(X, {
360
+ icon: g(R),
361
+ label: g(f).paragraphEditor.alignRight,
362
362
  active: e.editor.isActive({ textAlign: "right" }),
363
- onClick: n[13] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
363
+ onClick: r[13] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
364
364
  }, null, 8, [
365
365
  "icon",
366
366
  "label",
367
367
  "active"
368
368
  ]),
369
- l(Z),
370
- l(Q, {
369
+ x(Z),
370
+ x(Q, {
371
371
  "model-value": I(),
372
- options: c(G),
373
- label: c(y).paragraphEditor.lineHeight,
372
+ options: g(G),
373
+ label: g(f).paragraphEditor.lineHeight,
374
374
  placeholder: "LH",
375
375
  "width-class": "tpl:w-16",
376
376
  "onUpdate:modelValue": K
@@ -379,10 +379,10 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
379
379
  "options",
380
380
  "label"
381
381
  ]),
382
- l(Q, {
382
+ x(Q, {
383
383
  "model-value": D("letterSpacing"),
384
- options: c(W),
385
- label: c(y).paragraphEditor.letterSpacing,
384
+ options: g(W),
385
+ label: g(f).paragraphEditor.letterSpacing,
386
386
  placeholder: "LS",
387
387
  "width-class": "tpl:w-20",
388
388
  "onUpdate:modelValue": q
@@ -391,57 +391,57 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
391
391
  "options",
392
392
  "label"
393
393
  ]),
394
- l(Z),
395
- l(X, {
396
- icon: c(B),
397
- label: c(y).paragraphEditor.clearFormatting,
398
- onClick: n[14] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
394
+ x(Z),
395
+ x(X, {
396
+ icon: g(B),
397
+ label: g(f).paragraphEditor.clearFormatting,
398
+ onClick: r[14] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
399
399
  }, null, 8, ["icon", "label"]),
400
- l(Z),
401
- l(ce, { onInsert: T }),
402
- e.canRequestMergeTag ? (i(), s(d, { key: 0 }, [l(Z), _("button", {
400
+ x(Z),
401
+ x(ce, { onInsert: T }),
402
+ e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(Z), h("button", {
403
403
  type: "button",
404
404
  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)]",
405
- "aria-label": c(y).mergeTag.add,
406
- title: c(y).mergeTag.add,
407
- onClick: n[15] ||= (e) => a("add-merge-tag")
408
- }, [l(c(V), {
405
+ "aria-label": g(f).mergeTag.add,
406
+ title: g(f).mergeTag.add,
407
+ onClick: r[15] ||= (e) => a("add-merge-tag")
408
+ }, [x(g(V), {
409
409
  size: 16,
410
410
  "stroke-width": 2
411
- }), x(" " + g(c(y).mergeTag.add), 1)], 8, Se)], 64)) : p("", !0)
412
- ])], 64)) : (i(), s("div", Ce, [l(c(O), {
411
+ }), y(" " + _(g(f).mergeTag.add), 1)], 8, Se)], 64)) : d("", !0)
412
+ ])], 64)) : (n(), u("div", Ce, [x(g(O), {
413
413
  class: "tpl-spinner",
414
414
  size: 14,
415
415
  "stroke-width": 2
416
- }), x(" " + g(c(y).errors.editorLoading), 1)]))], 12, ge)]));
416
+ }), y(" " + _(g(f).errors.editorLoading), 1)]))], 12, ge)]));
417
417
  }
418
- }), Te = { class: "tpl-text-editor-wrapper tpl:relative" }, Ee = /* @__PURE__ */ o({
418
+ }), Te = { class: "tpl-text-editor-wrapper tpl:relative" }, Ee = /* @__PURE__ */ b({
419
419
  __name: "ParagraphEditor",
420
420
  props: {
421
421
  block: {},
422
422
  toolbarPosition: {}
423
423
  },
424
424
  emits: ["done"],
425
- setup(e, { emit: t }) {
426
- let n = e, a = t, { editor: o, EditorContent: u, isLoading: d, initError: f, retry: p, showLinkDialog: m, linkUrl: h, linkDialogRef: g, canRequestMergeTag: _, openLinkDialog: v, insertLink: y, removeLink: b, closeLinkDialog: x, handleLinkKeydown: S, handleAddMergeTag: C } = k({
427
- blockId: () => n.block.id,
428
- blockContent: () => n.block.content,
425
+ setup(t, { emit: r }) {
426
+ let i = t, a = r, { editor: o, EditorContent: s, isLoading: c, initError: l, retry: d, showLinkDialog: f, linkUrl: p, linkDialogRef: m, canRequestMergeTag: h, openLinkDialog: _, insertLink: v, removeLink: y, closeLinkDialog: b, handleLinkKeydown: S, handleAddMergeTag: C } = k({
427
+ blockId: () => i.block.id,
428
+ blockContent: () => i.block.content,
429
429
  onDone: () => a("done"),
430
430
  editorName: "ParagraphEditor",
431
431
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
432
432
  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([
433
- import("./tiptap-ZhwKyFp7.js").then((e) => e.i),
434
- import("./tiptap-ZhwKyFp7.js").then((e) => e.a),
435
- import("./tiptap-ZhwKyFp7.js").then((e) => e.u),
436
- import("./tiptap-ZhwKyFp7.js").then((e) => e.o),
437
- import("./tiptap-ZhwKyFp7.js").then((e) => e.l),
438
- import("./tiptap-ZhwKyFp7.js").then((e) => e.c),
439
- import("./tiptap-ZhwKyFp7.js").then((e) => e.s),
440
- import("./tiptap-ZhwKyFp7.js").then((e) => e.m),
441
- import("./tiptap-ZhwKyFp7.js").then((e) => e.p),
442
- import("./tiptap-ZhwKyFp7.js").then((e) => e.f),
443
- import("./tiptap-ZhwKyFp7.js").then((e) => e.d),
444
- import("./extensions-DIxF31tA.js")
433
+ import("./tiptap-IyIsncxY.js").then((e) => e.i),
434
+ import("./tiptap-IyIsncxY.js").then((e) => e.a),
435
+ import("./tiptap-IyIsncxY.js").then((e) => e.u),
436
+ import("./tiptap-IyIsncxY.js").then((e) => e.o),
437
+ import("./tiptap-IyIsncxY.js").then((e) => e.l),
438
+ import("./tiptap-IyIsncxY.js").then((e) => e.c),
439
+ import("./tiptap-IyIsncxY.js").then((e) => e.s),
440
+ import("./tiptap-IyIsncxY.js").then((e) => e.m),
441
+ import("./tiptap-IyIsncxY.js").then((e) => e.p),
442
+ import("./tiptap-IyIsncxY.js").then((e) => e.f),
443
+ import("./tiptap-IyIsncxY.js").then((e) => e.d),
444
+ import("./extensions-wafZZ0-_.js")
445
445
  ]);
446
446
  return {
447
447
  TiptapEditor: a,
@@ -485,14 +485,14 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
485
485
  };
486
486
  }
487
487
  });
488
- return (t, n) => (i(), s("div", Te, [
489
- l(we, {
490
- editor: c(o),
491
- "toolbar-position": e.toolbarPosition,
492
- "is-loading": c(d),
493
- "can-request-merge-tag": c(_),
494
- onOpenLinkDialog: c(v),
495
- onAddMergeTag: c(C)
488
+ return (r, i) => (n(), u("div", Te, [
489
+ x(we, {
490
+ editor: g(o),
491
+ "toolbar-position": t.toolbarPosition,
492
+ "is-loading": g(c),
493
+ "can-request-merge-tag": g(h),
494
+ onOpenLinkDialog: g(_),
495
+ onAddMergeTag: g(C)
496
496
  }, null, 8, [
497
497
  "editor",
498
498
  "toolbar-position",
@@ -501,12 +501,12 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
501
501
  "onOpenLinkDialog",
502
502
  "onAddMergeTag"
503
503
  ]),
504
- l(q, {
505
- editor: c(o),
506
- "editor-content": c(u),
507
- "is-loading": c(d),
508
- "init-error": c(f),
509
- onRetry: c(p)
504
+ x(q, {
505
+ editor: g(o),
506
+ "editor-content": g(s),
507
+ "is-loading": g(c),
508
+ "init-error": g(l),
509
+ onRetry: g(d)
510
510
  }, null, 8, [
511
511
  "editor",
512
512
  "editor-content",
@@ -514,17 +514,17 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
514
514
  "init-error",
515
515
  "onRetry"
516
516
  ]),
517
- l(K, {
518
- visible: c(m),
519
- "is-editing-link": c(o)?.isActive("link") ?? !1,
520
- "dialog-ref": c(g),
521
- "onUpdate:dialogRef": n[0] ||= (e) => r(g) ? g.value = e : null,
522
- "link-url": c(h),
523
- "onUpdate:linkUrl": n[1] ||= (e) => r(h) ? h.value = e : null,
524
- onClose: c(x),
525
- onInsert: c(y),
526
- onRemove: c(b),
527
- onKeydown: c(S)
517
+ x(K, {
518
+ visible: g(f),
519
+ "is-editing-link": g(o)?.isActive("link") ?? !1,
520
+ "dialog-ref": g(m),
521
+ "onUpdate:dialogRef": i[0] ||= (t) => e(m) ? m.value = t : null,
522
+ "link-url": g(p),
523
+ "onUpdate:linkUrl": i[1] ||= (t) => e(p) ? p.value = t : null,
524
+ onClose: g(b),
525
+ onInsert: g(v),
526
+ onRemove: g(y),
527
+ onKeydown: g(S)
528
528
  }, null, 8, [
529
529
  "visible",
530
530
  "is-editing-link",
@@ -541,4 +541,4 @@ var Z = /* @__PURE__ */ j(ue, [["render", fe]]), pe = [
541
541
  //#endregion
542
542
  export { Ee as default };
543
543
 
544
- //# sourceMappingURL=ParagraphEditor-B6Ygu-Mq.js.map
544
+ //# sourceMappingURL=ParagraphEditor-DCo58JP8.js.map