@templatical/editor 0.16.4 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/{AiChatSidebar-CYAbVB2G.js → AiChatSidebar-LxCHMdcj.js} +1 -1
  2. package/dist/{AiFeatureMenu-BPCkrHAS.js → AiFeatureMenu-zwSmx9ZW.js} +3 -3
  3. package/dist/{BlockIssueBadge-BLytBabN.js → BlockIssueBadge-BQ1yB1me.js} +2 -2
  4. package/dist/{CloudEditor-v8ARYaFW.js → CloudEditor-5ahgKRX8.js} +11 -10
  5. package/dist/{CollaboratorBar-BQzKZ2zo.js → CollaboratorBar-6PtX-1AS.js} +2 -2
  6. package/dist/{ColorPicker-Cab6U2sH.js → ColorPicker-DfzDyNKe.js} +57 -58
  7. package/dist/{CommentsSidebar-C_XLBbo3.js → CommentsSidebar-Cl93TN96.js} +3 -3
  8. package/dist/{CountdownBlock-173fiO5Z.js → CountdownBlock-DbXfzwae.js} +1 -1
  9. package/dist/{CountdownToolbar-q3umZ7TZ.js → CountdownToolbar-BqaMWRyB.js} +3 -3
  10. package/dist/{DesignReferenceSidebar-Bh9uAZ4B.js → DesignReferenceSidebar-jVrdS8wW.js} +2 -2
  11. package/dist/{IssuesPanel-DltSuU6H.js → IssuesPanel-Bq3yXg6M.js} +2 -2
  12. package/dist/{MergeTagSuggestion-DrT3LiZ4.js → MergeTagSuggestion-jIpT_jmz.js} +7 -5
  13. package/dist/{ModuleBrowserModal-CzzChPmN.js → ModuleBrowserModal-B5IH3-1I.js} +7 -7
  14. package/dist/{ModulePreviewCanvas-C0Q2n3FL.js → ModulePreviewCanvas-CYOLWoZ9.js} +2 -2
  15. package/dist/{NumberWithSuffix-Bhm2ByHs.js → NumberWithSuffix-9FG7mNnn.js} +1 -1
  16. package/dist/{ParagraphEditor-BhsBi8p8.js → ParagraphEditor-duWYA6Vv.js} +38 -39
  17. package/dist/{RichTextEditorContent-ef0fdj6e.js → RichTextEditorContent-DCzmVeyb.js} +13 -13
  18. package/dist/{SaveModuleDialog-BNN3dcxD.js → SaveModuleDialog-BPUly5h3.js} +6 -6
  19. package/dist/{SnapshotHistory-tWvgMCe6.js → SnapshotHistory-CmwU3nlN.js} +4 -4
  20. package/dist/{TemplateScoringPanel-ZhObHWeb.js → TemplateScoringPanel-CMrfa9Rd.js} +3 -3
  21. package/dist/{TestEmailModal-EdwEcsrD.js → TestEmailModal-zfomMz9i.js} +3 -3
  22. package/dist/{TitleEditor-DdvRepBq.js → TitleEditor-v0gtezZE.js} +18 -18
  23. package/dist/{TplModal-Niu4Y96-.js → TplModal-eGFG7k-y.js} +4 -4
  24. package/dist/{blockTypeIcons-DHcYPMB8.js → blockTypeIcons-Dd0w4T0I.js} +1 -1
  25. package/dist/bundle-stats.json +7 -7
  26. package/dist/{ca-DI1ViqMa.js → ca-CSl--oWR.js} +1 -1
  27. package/dist/cdn/chunks/{AiFeatureMenu-AoUwsqor.js → AiFeatureMenu-CtXsam7G.js} +6 -6
  28. package/dist/cdn/chunks/{AiFeatureMenu-AoUwsqor.js.map → AiFeatureMenu-CtXsam7G.js.map} +1 -1
  29. package/dist/cdn/chunks/{BlockIssueBadge-DZU3CfEN.js → BlockIssueBadge-DR7cpDfQ.js} +4 -4
  30. package/dist/cdn/chunks/{BlockIssueBadge-DZU3CfEN.js.map → BlockIssueBadge-DR7cpDfQ.js.map} +1 -1
  31. package/dist/cdn/chunks/{CloudEditor-BrZLF_m1.js → CloudEditor-YC5y3AwC.js} +131 -130
  32. package/dist/cdn/chunks/CloudEditor-YC5y3AwC.js.map +1 -0
  33. package/dist/cdn/chunks/{CollaboratorBar-BAC56ez6.js → CollaboratorBar-BOD2j8Kl.js} +3 -3
  34. package/dist/cdn/chunks/{CollaboratorBar-BAC56ez6.js.map → CollaboratorBar-BOD2j8Kl.js.map} +1 -1
  35. package/dist/cdn/chunks/{ColorPicker-DLEoT419.js → ColorPicker-CPMWLHpa.js} +144 -144
  36. package/dist/cdn/chunks/ColorPicker-CPMWLHpa.js.map +1 -0
  37. package/dist/cdn/chunks/{CountdownBlock-BOF9aTXF.js → CountdownBlock-BmGqb7Zi.js} +4 -4
  38. package/dist/cdn/chunks/{CountdownBlock-BOF9aTXF.js.map → CountdownBlock-BmGqb7Zi.js.map} +1 -1
  39. package/dist/cdn/chunks/{CountdownToolbar-C9bQ5k4E.js → CountdownToolbar-BBwsdGbV.js} +4 -4
  40. package/dist/cdn/chunks/{CountdownToolbar-C9bQ5k4E.js.map → CountdownToolbar-BBwsdGbV.js.map} +1 -1
  41. package/dist/cdn/chunks/{IssuesPanel-CHwYahKK.js → IssuesPanel-G0z-j3JS.js} +7 -7
  42. package/dist/cdn/chunks/{IssuesPanel-CHwYahKK.js.map → IssuesPanel-G0z-j3JS.js.map} +1 -1
  43. package/dist/cdn/chunks/{MergeTagSuggestion-jesxS7An.js → MergeTagSuggestion-rpZ6Ol-i.js} +8 -6
  44. package/dist/cdn/chunks/MergeTagSuggestion-rpZ6Ol-i.js.map +1 -0
  45. package/dist/cdn/chunks/{ModuleBrowserModal-iSXXpAUk.js → ModuleBrowserModal-DiLTY0ec.js} +8 -8
  46. package/dist/cdn/chunks/{ModuleBrowserModal-iSXXpAUk.js.map → ModuleBrowserModal-DiLTY0ec.js.map} +1 -1
  47. package/dist/cdn/chunks/{ModulePreviewCanvas-DIy0MZj2.js → ModulePreviewCanvas-CdV5mEQ6.js} +32 -32
  48. package/dist/cdn/chunks/{ModulePreviewCanvas-DIy0MZj2.js.map → ModulePreviewCanvas-CdV5mEQ6.js.map} +1 -1
  49. package/dist/cdn/chunks/{NumberWithSuffix-vPdOG2lO.js → NumberWithSuffix-lqQlf0Uk.js} +2 -2
  50. package/dist/cdn/chunks/{NumberWithSuffix-vPdOG2lO.js.map → NumberWithSuffix-lqQlf0Uk.js.map} +1 -1
  51. package/dist/cdn/chunks/{ParagraphEditor-D7znI_X1.js → ParagraphEditor-BYoZfURd.js} +75 -75
  52. package/dist/cdn/chunks/ParagraphEditor-BYoZfURd.js.map +1 -0
  53. package/dist/cdn/chunks/{RichTextEditorContent-DVwGHbO6.js → RichTextEditorContent-BnPRnXxy.js} +6 -6
  54. package/dist/cdn/chunks/{RichTextEditorContent-DVwGHbO6.js.map → RichTextEditorContent-BnPRnXxy.js.map} +1 -1
  55. package/dist/cdn/chunks/{SaveModuleDialog-D2_qPtE9.js → SaveModuleDialog-C9hUeWyG.js} +20 -20
  56. package/dist/cdn/chunks/{SaveModuleDialog-D2_qPtE9.js.map → SaveModuleDialog-C9hUeWyG.js.map} +1 -1
  57. package/dist/cdn/chunks/{TitleEditor-CKjZ6Cgp.js → TitleEditor-wFvnU3Jr.js} +9 -9
  58. package/dist/cdn/chunks/TitleEditor-wFvnU3Jr.js.map +1 -0
  59. package/dist/cdn/chunks/{blockTypeIcons-BKecgdgr.js → blockTypeIcons-DNMvDz5B.js} +7 -7
  60. package/dist/cdn/chunks/{blockTypeIcons-BKecgdgr.js.map → blockTypeIcons-DNMvDz5B.js.map} +1 -1
  61. package/dist/cdn/chunks/{ca-DI1ViqMa.js → ca-CSl--oWR.js} +2 -2
  62. package/dist/cdn/chunks/ca-CSl--oWR.js.map +1 -0
  63. package/dist/cdn/chunks/{de-q9lTCMre.js → de-ZaffrKDP.js} +2 -2
  64. package/dist/cdn/chunks/de-ZaffrKDP.js.map +1 -0
  65. package/dist/cdn/chunks/{en-CR4LItrX.js → en-CHuXeJDt.js} +2 -2
  66. package/dist/cdn/chunks/en-CHuXeJDt.js.map +1 -0
  67. package/dist/cdn/chunks/{es-CEt-lrGd.js → es-CaC8VQjO.js} +2 -2
  68. package/dist/cdn/chunks/es-CaC8VQjO.js.map +1 -0
  69. package/dist/cdn/chunks/{extensions-OZTN_skA.js → extensions-DxcxIlwT.js} +29 -29
  70. package/dist/cdn/chunks/{extensions-OZTN_skA.js.map → extensions-DxcxIlwT.js.map} +1 -1
  71. package/dist/cdn/chunks/{features-Bo7H8WNI.js → features-B3qgDBHf.js} +727 -677
  72. package/dist/cdn/chunks/features-B3qgDBHf.js.map +1 -0
  73. package/dist/cdn/chunks/{icons-BrNSrnyT.js → icons-kiMqh99T.js} +2 -2
  74. package/dist/cdn/chunks/{icons-BrNSrnyT.js.map → icons-kiMqh99T.js.map} +1 -1
  75. package/dist/cdn/chunks/{media-library-Cec5DMR3.js → media-library-C5ogiZ4f.js} +451 -451
  76. package/dist/cdn/chunks/{media-library-Cec5DMR3.js.map → media-library-C5ogiZ4f.js.map} +1 -1
  77. package/dist/cdn/chunks/{pt-BR-DvBHY0AA.js → pt-BR-C74zfEWH.js} +2 -2
  78. package/dist/cdn/chunks/pt-BR-C74zfEWH.js.map +1 -0
  79. package/dist/cdn/chunks/{quality-Dd2iYgRf.js → quality-BftAn_AJ.js} +512 -512
  80. package/dist/cdn/chunks/{quality-Dd2iYgRf.js.map → quality-BftAn_AJ.js.map} +1 -1
  81. package/dist/cdn/chunks/{renderer-Br-qXdnQ.js → renderer-Cdlo4MVX.js} +16 -16
  82. package/dist/cdn/chunks/{renderer-Br-qXdnQ.js.map → renderer-Cdlo4MVX.js.map} +1 -1
  83. package/dist/cdn/chunks/{src-BH8PABpF.js → src-GBA8oUL2.js} +6 -6
  84. package/dist/cdn/chunks/{src-BH8PABpF.js.map → src-GBA8oUL2.js.map} +1 -1
  85. package/dist/cdn/chunks/{styles-nqo5BynI.js → styles-B6rdq9JB.js} +219 -219
  86. package/dist/cdn/chunks/styles-B6rdq9JB.js.map +1 -0
  87. package/dist/cdn/editor.css +1 -1
  88. package/dist/cdn/editor.js +53 -52
  89. package/dist/cdn/editor.js.map +1 -1
  90. package/dist/{de-q9lTCMre.js → de-ZaffrKDP.js} +1 -1
  91. package/dist/{en-CR4LItrX.js → en-CHuXeJDt.js} +1 -1
  92. package/dist/{es-CEt-lrGd.js → es-CaC8VQjO.js} +1 -1
  93. package/dist/{extensions-B2poxDIo.js → extensions-B4lu0KkE.js} +3 -3
  94. package/dist/index.d.ts +56 -0
  95. package/dist/keys-WVNarXg8.js +10 -0
  96. package/dist/{pt-BR-DvBHY0AA.js → pt-BR-C74zfEWH.js} +1 -1
  97. package/dist/style.css +1 -1
  98. package/dist/{styles-DN4J7w-C.js → styles-mBSbDYeX.js} +98 -98
  99. package/dist/templatical-editor.js +11 -10
  100. package/dist/{useCloudI18n-WbfVWq5k.js → useCloudI18n-CIKI0hCd.js} +1 -1
  101. package/dist/{useEditorCore-DBq2689h.js → useEditorCore-CaaHPKjm.js} +715 -684
  102. package/dist/{useI18n-eR1yVW0v.js → useI18n-0EU_JVe7.js} +1 -1
  103. package/dist/{useMergeTag-C3GfSktg.js → useMergeTag-C7v6MVah.js} +2 -2
  104. package/dist/usePopoverPosition-BDqqnMeo.js +281 -0
  105. package/package.json +7 -7
  106. package/dist/cdn/chunks/CloudEditor-BrZLF_m1.js.map +0 -1
  107. package/dist/cdn/chunks/ColorPicker-DLEoT419.js.map +0 -1
  108. package/dist/cdn/chunks/MergeTagSuggestion-jesxS7An.js.map +0 -1
  109. package/dist/cdn/chunks/ParagraphEditor-D7znI_X1.js.map +0 -1
  110. package/dist/cdn/chunks/TitleEditor-CKjZ6Cgp.js.map +0 -1
  111. package/dist/cdn/chunks/ca-DI1ViqMa.js.map +0 -1
  112. package/dist/cdn/chunks/de-q9lTCMre.js.map +0 -1
  113. package/dist/cdn/chunks/en-CR4LItrX.js.map +0 -1
  114. package/dist/cdn/chunks/es-CEt-lrGd.js.map +0 -1
  115. package/dist/cdn/chunks/features-Bo7H8WNI.js.map +0 -1
  116. package/dist/cdn/chunks/pt-BR-DvBHY0AA.js.map +0 -1
  117. package/dist/cdn/chunks/styles-nqo5BynI.js.map +0 -1
  118. package/dist/color-DhoxCSMv.js +0 -259
  119. package/dist/keys-BbDgCU6K.js +0 -10
  120. package/dist/usePopoverRoot-C1j0D7cc.js +0 -8
@@ -1,18 +1,17 @@
1
1
  import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { c as b, s as x } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { D as S, E as C, S as w, x as T } from "./useEditorCore-DBq2689h.js";
4
- import { n as E } from "./color-DhoxCSMv.js";
5
- import { I as D, L as O, P as k, g as ee, m as te, w as ne, x as re } from "./keys-BbDgCU6K.js";
6
- import { t as A } from "./useI18n-eR1yVW0v.js";
7
- import { t as j } from "./createLucideIcon-FSF4peHQ.js";
8
- import { a as ie, i as ae, n as M, r as oe, t as N } from "./RichTextEditorContent-ef0fdj6e.js";
3
+ import { D as S, E as C, S as w, x as T } from "./useEditorCore-CaaHPKjm.js";
4
+ import { i as E, n as D } from "./usePopoverPosition-BDqqnMeo.js";
5
+ import { F as O, L as k, R as A, S as ee, T as te, g as ne, m as re } from "./keys-WVNarXg8.js";
6
+ import { t as j } from "./useI18n-0EU_JVe7.js";
7
+ import { t as M } from "./createLucideIcon-FSF4peHQ.js";
8
+ import { a as ie, i as ae, n as N, r as oe, t as P } from "./RichTextEditorContent-DCzmVeyb.js";
9
9
  import { n as se, t as ce } from "./scan-line-IAMjPtRw.js";
10
10
  import { t as le } from "./loader-circle-BT38qSm3.js";
11
11
  import { n as ue, r as de, t as fe } from "./text-align-start-BwsA6QzC.js";
12
- import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { t as F } from "./usePopoverRoot-C1j0D7cc.js";
14
- import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-Cab6U2sH.js";
15
- var L = j("list-ordered", [
12
+ import { t as F } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-DfzDyNKe.js";
14
+ var L = M("list-ordered", [
16
15
  ["path", {
17
16
  d: "M11 5h10",
18
17
  key: "1cz7ny"
@@ -37,7 +36,7 @@ var L = j("list-ordered", [
37
36
  d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
38
37
  key: "xtkcd5"
39
38
  }]
40
- ]), _e = j("list", [
39
+ ]), _e = M("list", [
41
40
  ["path", {
42
41
  d: "M3 5h.01",
43
42
  key: "18ugdj"
@@ -62,7 +61,7 @@ var L = j("list-ordered", [
62
61
  d: "M8 19h13",
63
62
  key: "m83p4d"
64
63
  }]
65
- ]), ve = j("remove-formatting", [
64
+ ]), ve = M("remove-formatting", [
66
65
  ["path", {
67
66
  d: "M4 7V4h16v3",
68
67
  key: "9msm58"
@@ -83,7 +82,7 @@ var L = j("list-ordered", [
83
82
  d: "m20 15-5 5",
84
83
  key: "11p7ol"
85
84
  }]
86
- ]), R = j("smile", [
85
+ ]), R = M("smile", [
87
86
  ["circle", {
88
87
  cx: "12",
89
88
  cy: "12",
@@ -108,7 +107,7 @@ var L = j("list-ordered", [
108
107
  y2: "9",
109
108
  key: "1p4y9e"
110
109
  }]
111
- ]), ye = j("strikethrough", [
110
+ ]), ye = M("strikethrough", [
112
111
  ["path", {
113
112
  d: "M16 4H9a3 3 0 0 0-2.83 4",
114
113
  key: "43sutm"
@@ -124,7 +123,7 @@ var L = j("list-ordered", [
124
123
  y2: "12",
125
124
  key: "1e0a9i"
126
125
  }]
127
- ]), be = j("subscript", [
126
+ ]), be = M("subscript", [
128
127
  ["path", {
129
128
  d: "m4 5 8 8",
130
129
  key: "1eunvl"
@@ -137,7 +136,7 @@ var L = j("list-ordered", [
137
136
  d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
138
137
  key: "e8ta8j"
139
138
  }]
140
- ]), xe = j("superscript", [
139
+ ]), xe = M("superscript", [
141
140
  ["path", {
142
141
  d: "m4 19 8-8",
143
142
  key: "hr47gm"
@@ -150,7 +149,7 @@ var L = j("list-ordered", [
150
149
  d: "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",
151
150
  key: "1dfcux"
152
151
  }]
153
- ]), Se = j("underline", [["path", {
152
+ ]), Se = M("underline", [["path", {
154
153
  d: "M6 4v6a6 6 0 0 0 12 0V4",
155
154
  key: "9kb039"
156
155
  }], ["line", {
@@ -167,7 +166,7 @@ var L = j("list-ordered", [
167
166
  __name: "EmojiPickerDropdown",
168
167
  emits: ["insert"],
169
168
  setup(t, { emit: r }) {
170
- let o = r, { categories: c, isOpen: f, toggle: p, close: m } = C(), { t: y, format: w } = A(), T = s(null), D = s(null);
169
+ let o = r, { categories: c, isOpen: f, toggle: p, close: m } = C(), { t: y, format: w } = j(), T = s(null), D = s(null);
171
170
  S(T, _(() => f.value)), E(D, () => {
172
171
  f.value && m();
173
172
  });
@@ -244,7 +243,7 @@ var L = j("list-ordered", [
244
243
  function J(e, t) {
245
244
  return i(), u("span", q);
246
245
  }
247
- var Y = /*#__PURE__*/ P(K, [["render", J]]), X = [
246
+ var Y = /*#__PURE__*/ F(K, [["render", J]]), X = [
248
247
  "value",
249
248
  "aria-label",
250
249
  "title"
@@ -306,14 +305,14 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
306
305
  "add-logic-tag"
307
306
  ],
308
307
  setup(e, { emit: n }) {
309
- let r = e, o = n, s = y(k, null), c = y(D, null), b = O(ee, "ParagraphToolbar"), x = F(), S = y(ne, null), C = y(re, null), w = y(te, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = A(), j = b.fonts;
310
- function M(e) {
308
+ let r = e, o = n, s = y(O, null), c = y(k, null), b = A(ne, "ParagraphToolbar"), x = D(), S = y(te, null), C = y(ee, null), w = y(re, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), M = b.fonts;
309
+ function N(e) {
311
310
  r.editor?.chain().focus().insertContent(e).run();
312
311
  }
313
- function N(e) {
312
+ function P(e) {
314
313
  return r.editor?.getAttributes("textStyle")[e] || "";
315
314
  }
316
- function P(e) {
315
+ function F(e) {
317
316
  let t = r.editor?.chain().focus();
318
317
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
319
318
  }
@@ -333,10 +332,10 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
333
332
  }
334
333
  function H() {
335
334
  let e = w?.content.value.settings;
336
- return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(N("color"), e?.textColor);
335
+ return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(P("color"), e?.textColor);
337
336
  }
338
337
  function U() {
339
- return z() ? B() : N("color");
338
+ return z() ? B() : P("color");
340
339
  }
341
340
  function W() {
342
341
  return r.editor?.getAttributes("paragraph").lineHeight || "";
@@ -363,7 +362,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
363
362
  "data-tpl-theme": h(c),
364
363
  role: "toolbar",
365
364
  "aria-label": h(E).paragraphEditor.toolbar,
366
- 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",
365
+ class: "tpl tpl-text-toolbar tpl:absolute 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",
367
366
  style: t({
368
367
  ...h(s),
369
368
  top: `${e.toolbarPosition.top}px`,
@@ -373,12 +372,12 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
373
372
  })
374
373
  }, [!e.isLoading && e.editor ? (i(), u(g, { key: 0 }, [l("div", De, [
375
374
  d(Z, {
376
- "model-value": N("fontFamily"),
377
- options: h(j),
375
+ "model-value": P("fontFamily"),
376
+ options: h(M),
378
377
  label: h(E).paragraphEditor.fontFamily,
379
378
  placeholder: h(E).paragraphEditor.defaultFont,
380
379
  "width-class": "tpl:w-32",
381
- "onUpdate:modelValue": P
380
+ "onUpdate:modelValue": F
382
381
  }, null, 8, [
383
382
  "model-value",
384
383
  "options",
@@ -386,7 +385,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
386
385
  "placeholder"
387
386
  ]),
388
387
  d(Z, {
389
- "model-value": N("fontSize"),
388
+ "model-value": P("fontSize"),
390
389
  options: h(me),
391
390
  label: h(E).paragraphEditor.fontSize,
392
391
  placeholder: h(E).paragraphEditor.defaultSize,
@@ -565,7 +564,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
565
564
  "label"
566
565
  ]),
567
566
  d(Z, {
568
- "model-value": N("letterSpacing"),
567
+ "model-value": P("letterSpacing"),
569
568
  options: h(ge),
570
569
  label: h(E).paragraphEditor.letterSpacing,
571
570
  placeholder: "LS",
@@ -583,7 +582,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
583
582
  onClick: r[12] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
584
583
  }, null, 8, ["icon", "label"]),
585
584
  d(Y),
586
- d(Ce, { onInsert: M }),
585
+ d(Ce, { onInsert: N }),
587
586
  e.canRequestMergeTag ? (i(), u(g, { key: 0 }, [d(Y), l("button", {
588
587
  type: "button",
589
588
  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)]",
@@ -619,7 +618,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
619
618
  },
620
619
  emits: ["done"],
621
620
  setup(e, { emit: t }) {
622
- let n = e, r = t, a = F(), { editor: s, EditorContent: c, isLoading: l, initError: f, retry: p, showLinkDialog: m, linkUrl: g, linkColor: _, linkDialogRef: v, canRequestMergeTag: y, canInsertLogicTag: b, openLinkDialog: x, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
621
+ let n = e, r = t, a = D(), { editor: s, EditorContent: c, isLoading: l, initError: f, retry: p, showLinkDialog: m, linkUrl: g, linkColor: _, linkDialogRef: v, canRequestMergeTag: y, canInsertLogicTag: b, openLinkDialog: x, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: O, handleAddMergeTag: k, handleAddLogicTag: A } = T({
623
622
  blockId: () => n.block.id,
624
623
  blockContent: () => n.block.content,
625
624
  onDone: () => r("done"),
@@ -637,7 +636,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
637
636
  import("./dist-BXR1aBJV.js"),
638
637
  import("./dist-BE9m_i60.js"),
639
638
  import("./dist-BPPeDw62.js"),
640
- import("./extensions-B2poxDIo.js")
639
+ import("./extensions-B4lu0KkE.js")
641
640
  ]);
642
641
  return {
643
642
  TiptapEditor: o,
@@ -692,8 +691,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
692
691
  "can-request-merge-tag": h(y),
693
692
  "can-insert-logic-tag": h(b),
694
693
  onOpenLinkDialog: h(x),
695
- onAddMergeTag: h(O),
696
- onAddLogicTag: h(k)
694
+ onAddMergeTag: h(k),
695
+ onAddLogicTag: h(A)
697
696
  }, null, 8, [
698
697
  "editor",
699
698
  "toolbar-position",
@@ -704,7 +703,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
704
703
  "onAddMergeTag",
705
704
  "onAddLogicTag"
706
705
  ]),
707
- d(N, {
706
+ d(P, {
708
707
  editor: h(s),
709
708
  "editor-content": h(c),
710
709
  "is-loading": h(l),
@@ -717,7 +716,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
717
716
  "init-error",
718
717
  "onRetry"
719
718
  ]),
720
- d(M, {
719
+ d(N, {
721
720
  visible: h(m),
722
721
  "is-editing-link": h(s)?.isActive("link") ?? !1,
723
722
  "dialog-ref": h(v),
@@ -729,7 +728,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
729
728
  onClose: h(E),
730
729
  onInsert: h(S),
731
730
  onRemove: h(C),
732
- onKeydown: h(D)
731
+ onKeydown: h(O)
733
732
  }, null, 8, [
734
733
  "visible",
735
734
  "is-editing-link",
@@ -1,15 +1,15 @@
1
1
  import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { a as v, c as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { I as b, P as x, m as S } from "./keys-BbDgCU6K.js";
4
- import { t as C } from "./useI18n-eR1yVW0v.js";
5
- import { t as w } from "./createLucideIcon-FSF4peHQ.js";
6
- import { t as T } from "./x-Ctg_250T.js";
7
- import { t as E } from "./usePopoverRoot-C1j0D7cc.js";
8
- import { t as D } from "./ColorPicker-Cab6U2sH.js";
9
- var O = w("bold", [["path", {
3
+ import { n as b } from "./usePopoverPosition-BDqqnMeo.js";
4
+ import { F as x, L as S, m as C } from "./keys-WVNarXg8.js";
5
+ import { t as w } from "./useI18n-0EU_JVe7.js";
6
+ import { t as T } from "./createLucideIcon-FSF4peHQ.js";
7
+ import { t as E } from "./x-Ctg_250T.js";
8
+ import { t as D } from "./ColorPicker-DfzDyNKe.js";
9
+ var O = T("bold", [["path", {
10
10
  d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
11
11
  key: "mg9rjx"
12
- }]]), k = w("italic", [
12
+ }]]), k = T("italic", [
13
13
  ["line", {
14
14
  x1: "19",
15
15
  x2: "10",
@@ -31,7 +31,7 @@ var O = w("bold", [["path", {
31
31
  y2: "20",
32
32
  key: "uljnxc"
33
33
  }]
34
- ]), A = w("link", [["path", {
34
+ ]), A = T("link", [["path", {
35
35
  d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
36
36
  key: "1cjeqo"
37
37
  }], ["path", {
@@ -67,7 +67,7 @@ var O = w("bold", [["path", {
67
67
  "update:dialogRef"
68
68
  ]),
69
69
  setup(e, { emit: n }) {
70
- let o = a(e, "linkUrl"), f = a(e, "linkColor"), w = a(e, "dialogRef"), O = n, k = g(x, null), A = g(b, null), U = E(), W = g(S, null), G = m(() => W?.content.value.settings.linkColor || "#2c85de"), { t: K } = C();
70
+ let o = a(e, "linkUrl"), f = a(e, "linkColor"), T = a(e, "dialogRef"), O = n, k = g(x, null), A = g(S, null), U = b(), W = g(C, null), G = m(() => W?.content.value.settings.linkColor || "#2c85de"), { t: K } = w();
71
71
  return (n, a) => p(U) ? (r(), d(u, {
72
72
  key: 0,
73
73
  to: p(U)
@@ -78,7 +78,7 @@ var O = w("bold", [["path", {
78
78
  style: t(p(k)),
79
79
  onClick: a[7] ||= y((e) => O("close"), ["self"])
80
80
  }, [s("div", {
81
- ref: (e) => w.value = e,
81
+ ref: (e) => T.value = e,
82
82
  role: "dialog",
83
83
  "aria-modal": "true",
84
84
  "aria-labelledby": "tpl-link-dialog-title",
@@ -89,7 +89,7 @@ var O = w("bold", [["path", {
89
89
  "aria-label": p(K).linkDialog.cancel,
90
90
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
91
91
  onClick: a[0] ||= (e) => O("close")
92
- }, [l(p(T), {
92
+ }, [l(p(E), {
93
93
  size: 16,
94
94
  "stroke-width": 2
95
95
  })], 8, P)]),
@@ -138,7 +138,7 @@ var O = w("bold", [["path", {
138
138
  },
139
139
  emits: ["retry"],
140
140
  setup(e, { emit: t }) {
141
- let a = t, { t: o } = C();
141
+ let a = t, { t: o } = w();
142
142
  return (t, l) => e.isLoading ? (r(), c("div", W, [s("div", G, i(p(o).errors.editorLoading), 1)])) : e.initError ? (r(), c("div", K, [f(i(p(o).errors.editorLoadFailed) + " ", 1), s("button", {
143
143
  class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
144
144
  onClick: l[0] ||= (e) => a("retry")
@@ -1,12 +1,12 @@
1
1
  import { A as e, Dt as t, Et as n, I as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, s as g, u as ee, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { a as v } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import "./useEditorCore-DBq2689h.js";
4
- import { L as y, j as b, m as x } from "./keys-BbDgCU6K.js";
5
- import { t as S } from "./useI18n-eR1yVW0v.js";
3
+ import "./useEditorCore-CaaHPKjm.js";
4
+ import { M as y, R as b, m as x } from "./keys-WVNarXg8.js";
5
+ import { t as S } from "./useI18n-0EU_JVe7.js";
6
6
  import { t as te } from "./loader-circle-BT38qSm3.js";
7
- import { n as ne } from "./useCloudI18n-WbfVWq5k.js";
7
+ import { n as ne } from "./useCloudI18n-CIKI0hCd.js";
8
8
  import { t as re } from "./ToggleSwitch-DUNuUPsZ.js";
9
- import { t as C } from "./TplModal-Niu4Y96-.js";
9
+ import { t as C } from "./TplModal-eGFG7k-y.js";
10
10
  //#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
11
11
  var w = ["aria-busy"], T = {
12
12
  id: "tpl-save-module-title",
@@ -26,7 +26,7 @@ var w = ["aria-busy"], T = {
26
26
  },
27
27
  emits: ["close", "saved"],
28
28
  setup(c, { emit: R }) {
29
- let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = y(x, "SaveModuleDialog"), W = y(b, "SaveModuleDialog"), G = s(""), K = s(/* @__PURE__ */ new Set()), q = s(!1), J = s(null), Y = g(() => U.content.value.blocks);
29
+ let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = b(x, "SaveModuleDialog"), W = b(y, "SaveModuleDialog"), G = s(""), K = s(/* @__PURE__ */ new Set()), q = s(!1), J = s(null), Y = g(() => U.content.value.blocks);
30
30
  function X(e, t) {
31
31
  let n = e.type;
32
32
  return `${V.blocks[n] ?? e.type} ${t + 1}`;
@@ -1,13 +1,13 @@
1
1
  import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { c as h, t as g } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import "./useEditorCore-DBq2689h.js";
4
- import { n as _ } from "./color-DhoxCSMv.js";
5
- import { t as v } from "./useI18n-eR1yVW0v.js";
3
+ import "./useEditorCore-CaaHPKjm.js";
4
+ import { i as _ } from "./usePopoverPosition-BDqqnMeo.js";
5
+ import { t as v } from "./useI18n-0EU_JVe7.js";
6
6
  import { t as y } from "./createLucideIcon-FSF4peHQ.js";
7
7
  import { t as b } from "./chevron-down-dClfxKrJ.js";
8
8
  import { t as x } from "./clock-m7TwQw4b.js";
9
9
  import { t as S } from "./loader-circle-BT38qSm3.js";
10
- import { n as C } from "./useCloudI18n-WbfVWq5k.js";
10
+ import { n as C } from "./useCloudI18n-CIKI0hCd.js";
11
11
  import { t as w } from "./formatRelativeTime-CtUU-QZ8.js";
12
12
  var T = y("chevron-left", [["path", {
13
13
  d: "m15 18-6-6 6-6",
@@ -1,6 +1,6 @@
1
1
  import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, u as g, x as te } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { t as ne } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { L as _, M as re, S as ie, m as v } from "./keys-BbDgCU6K.js";
3
+ import { C as re, N as ie, R as _, m as v } from "./keys-WVNarXg8.js";
4
4
  import { t as y } from "./createLucideIcon-FSF4peHQ.js";
5
5
  import { t as b } from "./chevron-down-dClfxKrJ.js";
6
6
  import { t as x } from "./circle-alert-Bhzm-fNA.js";
@@ -13,7 +13,7 @@ import { t as oe } from "./triangle-alert-B2g0ALvq.js";
13
13
  import { t as se } from "./x-Ctg_250T.js";
14
14
  import { t as ce } from "./LoadingTrack-KIcREPlS.js";
15
15
  import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { n as le } from "./useCloudI18n-WbfVWq5k.js";
16
+ import { n as le } from "./useCloudI18n-CIKI0hCd.js";
17
17
  var O = y("shield-x", [
18
18
  ["path", {
19
19
  d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
@@ -91,7 +91,7 @@ var P = {
91
91
  props: { visible: { type: Boolean } },
92
92
  emits: ["close"],
93
93
  setup(c, { emit: y }) {
94
- let D = c, G = y, { t: K } = le(), q = _(v, "TemplateScoringPanel"), J = _(re, "TemplateScoringPanel"), Y = te(ie, []), X = s({
94
+ let D = c, G = y, { t: K } = le(), q = _(v, "TemplateScoringPanel"), J = _(ie, "TemplateScoringPanel"), Y = te(re, []), X = s({
95
95
  spam: !0,
96
96
  readability: !0,
97
97
  accessibility: !0,
@@ -1,9 +1,9 @@
1
1
  import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, l as d, m as f, nt as p, r as m, u as h, z as g } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { i as _ } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import "./useEditorCore-DBq2689h.js";
3
+ import "./useEditorCore-CaaHPKjm.js";
4
4
  import { t as v } from "./loader-circle-BT38qSm3.js";
5
- import { n as y } from "./useCloudI18n-WbfVWq5k.js";
6
- import { t as b } from "./TplModal-Niu4Y96-.js";
5
+ import { n as y } from "./useCloudI18n-CIKI0hCd.js";
6
+ import { t as b } from "./TplModal-eGFG7k-y.js";
7
7
  //#region src/cloud/components/TestEmailModal.vue?vue&type=script&setup=true&lang.ts
8
8
  var x = ["aria-busy"], S = {
9
9
  id: "tpl-test-email-title",
@@ -1,11 +1,11 @@
1
1
  import { Dt as e, Et as t, O as n, Ot as r, W as i, _ as a, c as o, d as s, h as c, i as l, l as u, m as d, nt as f, r as p, s as m, u as h, x as g } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { S as ee, x as te } from "./useEditorCore-DBq2689h.js";
3
- import { I as ne, P as _, w as v, x as y } from "./keys-BbDgCU6K.js";
4
- import { t as b } from "./useI18n-eR1yVW0v.js";
5
- import { a as re, i as ie, n as ae, r as oe, t as se } from "./RichTextEditorContent-ef0fdj6e.js";
6
- import { n as ce, t as x } from "./scan-line-IAMjPtRw.js";
7
- import { t as S } from "./loader-circle-BT38qSm3.js";
8
- import { t as C } from "./usePopoverRoot-C1j0D7cc.js";
2
+ import { S as ee, x as te } from "./useEditorCore-CaaHPKjm.js";
3
+ import { n as ne } from "./usePopoverPosition-BDqqnMeo.js";
4
+ import { F as _, L as v, S as y, T as b } from "./keys-WVNarXg8.js";
5
+ import { t as re } from "./useI18n-0EU_JVe7.js";
6
+ import { a as ie, i as ae, n as oe, r as se, t as ce } from "./RichTextEditorContent-DCzmVeyb.js";
7
+ import { n as x, t as S } from "./scan-line-IAMjPtRw.js";
8
+ import { t as C } from "./loader-circle-BT38qSm3.js";
9
9
  //#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
10
10
  var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme", "aria-label"], E = ["aria-label", "title"], D = ["aria-label", "title"], O = ["aria-label", "title"], k = {
11
11
  key: 0,
@@ -24,7 +24,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
24
24
  },
25
25
  emits: ["done"],
26
26
  setup(a, { emit: P }) {
27
- let F = a, I = P, L = g(_, null), R = g(ne, null), z = C(), B = g(v, null), le = g(y, null), V = m(() => (B?.isOpen.value ?? !1) || (le?.isOpen.value ?? !1)), { t: H } = b(), { editor: U, EditorContent: W, isLoading: G, initError: ue, retry: de, showLinkDialog: fe, linkUrl: K, linkColor: q, linkDialogRef: J, canRequestMergeTag: Y, canInsertLogicTag: X, openLinkDialog: Z, insertLink: pe, removeLink: me, closeLinkDialog: he, handleLinkKeydown: ge, handleAddMergeTag: Q, handleAddLogicTag: $ } = te({
27
+ let F = a, I = P, L = g(_, null), R = g(v, null), z = ne(), B = g(b, null), le = g(y, null), V = m(() => (B?.isOpen.value ?? !1) || (le?.isOpen.value ?? !1)), { t: H } = re(), { editor: U, EditorContent: W, isLoading: G, initError: ue, retry: de, showLinkDialog: fe, linkUrl: K, linkColor: q, linkDialogRef: J, canRequestMergeTag: Y, canInsertLogicTag: X, openLinkDialog: Z, insertLink: pe, removeLink: me, closeLinkDialog: he, handleLinkKeydown: ge, handleAddMergeTag: Q, handleAddLogicTag: $ } = te({
28
28
  blockId: () => F.block.id,
29
29
  blockContent: () => F.block.content,
30
30
  onDone: () => I("done"),
@@ -34,7 +34,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
34
34
  import("./dist-BReUTadj.js").then((e) => e.r),
35
35
  import("./dist-i_Z7t67A.js"),
36
36
  import("./dist-CHLoeloJ.js"),
37
- import("./extensions-B2poxDIo.js")
37
+ import("./extensions-B4lu0KkE.js")
38
38
  ]);
39
39
  return {
40
40
  TiptapEditor: a,
@@ -81,7 +81,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
81
81
  "data-tpl-theme": f(R),
82
82
  role: "toolbar",
83
83
  "aria-label": f(H).titleEditor.toolbar,
84
- class: "tpl tpl-text-toolbar tpl:fixed tpl:z-popover tpl:flex tpl:items-center 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",
84
+ class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover tpl:flex tpl:items-center 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",
85
85
  style: e({
86
86
  ...f(L),
87
87
  top: `${a.toolbarPosition.top}px`,
@@ -95,7 +95,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
95
95
  "aria-label": f(H).titleEditor.bold,
96
96
  title: f(H).titleEditor.bold,
97
97
  onClick: g[0] ||= (e) => f(U)?.chain().focus().toggleBold().run()
98
- }, [c(f(re), {
98
+ }, [c(f(ie), {
99
99
  size: 16,
100
100
  "stroke-width": 2.5
101
101
  })], 10, E),
@@ -105,7 +105,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
105
105
  "aria-label": f(H).titleEditor.italic,
106
106
  title: f(H).titleEditor.italic,
107
107
  onClick: g[1] ||= (e) => f(U)?.chain().focus().toggleItalic().run()
108
- }, [c(f(ie), {
108
+ }, [c(f(ae), {
109
109
  size: 16,
110
110
  "stroke-width": 2
111
111
  })], 10, D),
@@ -119,7 +119,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
119
119
  "aria-label": f(H).titleEditor.addLink,
120
120
  title: f(H).titleEditor.addLink,
121
121
  onClick: g[2] ||= (...e) => f(Z) && f(Z)(...e)
122
- }, [c(f(oe), {
122
+ }, [c(f(se), {
123
123
  size: 16,
124
124
  "stroke-width": 2
125
125
  })], 10, O),
@@ -131,7 +131,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
131
131
  "aria-label": f(H).mergeTag.insert,
132
132
  title: f(H).mergeTag.insert,
133
133
  onClick: g[3] ||= (...e) => f(Q) && f(Q)(...e)
134
- }, [c(f(x), {
134
+ }, [c(f(S), {
135
135
  size: 16,
136
136
  "stroke-width": 2
137
137
  }), d(" " + r(f(H).mergeTag.insertShort), 1)], 8, A)) : h("", !0),
@@ -144,16 +144,16 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
144
144
  title: f(H).logicTag.insert,
145
145
  "data-testid": "insert-logic-button",
146
146
  onClick: g[4] ||= (...e) => f($) && f($)(...e)
147
- }, [c(f(ce), {
147
+ }, [c(f(x), {
148
148
  size: 16,
149
149
  "stroke-width": 2
150
150
  }), d(" " + r(f(H).logicTag.insertShort), 1)], 8, M)) : h("", !0)
151
- ], 64)) : (n(), s("div", N, [c(f(S), {
151
+ ], 64)) : (n(), s("div", N, [c(f(C), {
152
152
  class: "tpl-spinner",
153
153
  size: 14,
154
154
  "stroke-width": 2
155
155
  }), d(" " + r(f(H).errors.editorLoading), 1)]))], 12, T)], 8, ["to"])) : h("", !0),
156
- c(se, {
156
+ c(ce, {
157
157
  editor: f(U),
158
158
  "editor-content": f(W),
159
159
  "is-loading": f(G),
@@ -166,7 +166,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
166
166
  "init-error",
167
167
  "onRetry"
168
168
  ]),
169
- c(ae, {
169
+ c(oe, {
170
170
  visible: f(fe),
171
171
  "is-editing-link": f(U)?.isActive("link") ?? !1,
172
172
  "dialog-ref": f(J),
@@ -1,8 +1,8 @@
1
1
  import { O as e, R as t, Y as n, _ as r, c as i, d as a, h as o, i as s, j as c, l, nt as u, s as d, u as f, x as p } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { c as m, t as h } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { D as g } from "./useEditorCore-DBq2689h.js";
4
- import { I as _ } from "./keys-BbDgCU6K.js";
5
- import { t as v } from "./usePopoverRoot-C1j0D7cc.js";
3
+ import { D as g } from "./useEditorCore-CaaHPKjm.js";
4
+ import { n as _ } from "./usePopoverPosition-BDqqnMeo.js";
5
+ import { L as v } from "./keys-WVNarXg8.js";
6
6
  //#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
7
7
  var y = ["data-tpl-theme"], b = /* @__PURE__ */ r({
8
8
  __name: "TplModal",
@@ -11,7 +11,7 @@ var y = ["data-tpl-theme"], b = /* @__PURE__ */ r({
11
11
  setup(r, { emit: b }) {
12
12
  let x = r, S = b, C = n(null);
13
13
  g(C, d(() => x.visible));
14
- let w = p(_), T = v();
14
+ let w = p(v), T = _();
15
15
  function E(e) {
16
16
  e.key === "Escape" && S("close"), S("keydown", e);
17
17
  }
@@ -1,4 +1,4 @@
1
- import { A as e, F as t, M as n, j as r, k as i } from "./useEditorCore-DBq2689h.js";
1
+ import { A as e, F as t, M as n, j as r, k as i } from "./useEditorCore-CaaHPKjm.js";
2
2
  import { t as a } from "./createLucideIcon-FSF4peHQ.js";
3
3
  var o = a("columns-3", [
4
4
  ["rect", {
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.16.4",
3
- "initialGzipBytes": 282748,
4
- "initialRawBytes": 1014679,
5
- "initialFileCount": 43,
6
- "lazyGzipBytes": 181386,
7
- "lazyRawBytes": 595918,
2
+ "version": "0.17.0",
3
+ "initialGzipBytes": 283153,
4
+ "initialRawBytes": 1016238,
5
+ "initialFileCount": 42,
6
+ "lazyGzipBytes": 181489,
7
+ "lazyRawBytes": 596120,
8
8
  "lazyFileCount": 46,
9
- "generatedAt": "2026-07-20T16:49:44.601Z"
9
+ "generatedAt": "2026-07-20T20:23:21.192Z"
10
10
  }
@@ -327,7 +327,7 @@ var e = {
327
327
  content: "Contingut HTML",
328
328
  preview: "Bloc HTML personalitzat",
329
329
  empty: "Afegeix contingut HTML al panell",
330
- sanitizationHint: "Els scripts i els elements no segurs s'eliminen en exportar."
330
+ sanitizationHint: "L'HTML s'exporta tal qual i no es depura — assegura't que el contingut sigui segur."
331
331
  },
332
332
  blockSettings: {
333
333
  spacing: "Espaiat",
@@ -1,5 +1,5 @@
1
1
  import { L as e, M as t, P as n, ct as r, f as i, g as a, m as o, p as s, st as c, u as l, x as u } from "./draggable-D840DIZB.js";
2
- import { Bt as d, Tt as f, at as p, dn as m, ht as h, mt as g, st as _ } from "./features-Bo7H8WNI.js";
2
+ import { Et as d, Vt as f, ct as p, fn as m, gt as h, ht as g, ot as _ } from "./features-B3qgDBHf.js";
3
3
  //#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
4
4
  var v = {
5
5
  class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
@@ -7,12 +7,12 @@ var v = {
7
7
  "backdrop-filter": "blur(8px)",
8
8
  "-webkit-backdrop-filter": "blur(8px)"
9
9
  }
10
- }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ _(/* @__PURE__ */ u({
10
+ }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ p(/* @__PURE__ */ u({
11
11
  __name: "AiFeatureMenu",
12
12
  props: { activeFeature: {} },
13
13
  emits: ["select"],
14
- setup(u, { emit: _ }) {
15
- let C = _, { t: w } = p(), T = m(d, "AiFeatureMenu"), E = {
14
+ setup(u, { emit: p }) {
15
+ let C = p, { t: w } = _(), T = m(f, "AiFeatureMenu"), E = {
16
16
  "ai-chat": "chat",
17
17
  "design-reference": "designToTemplate",
18
18
  scoring: "scoring"
@@ -23,7 +23,7 @@ var v = {
23
23
  },
24
24
  {
25
25
  key: "design-reference",
26
- icon: f
26
+ icon: d
27
27
  },
28
28
  {
29
29
  key: "scoring",
@@ -56,4 +56,4 @@ var v = {
56
56
  //#endregion
57
57
  export { C as default };
58
58
 
59
- //# sourceMappingURL=AiFeatureMenu-AoUwsqor.js.map
59
+ //# sourceMappingURL=AiFeatureMenu-CtXsam7G.js.map