@templatical/editor 0.15.0 → 0.16.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 (122) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiChatSidebar-BIKvYREk.js → AiChatSidebar-B-k_Sdas.js} +1 -1
  3. package/dist/{AiFeatureMenu-QbD82crt.js → AiFeatureMenu-B5_IKOlI.js} +1 -1
  4. package/dist/{CloudEditor-DptuSf7A.js → CloudEditor-BUJk4vXS.js} +6 -6
  5. package/dist/{CollaboratorBar-DrA_K69w.js → CollaboratorBar-BAUQfXUk.js} +1 -1
  6. package/dist/{DesignReferenceSidebar-DWYK9nTk.js → DesignReferenceSidebar-BYQcuaL4.js} +1 -1
  7. package/dist/{MergeTagSuggestion-CH2SUxBo.js → MergeTagSuggestion-DLVykS0K.js} +2 -2
  8. package/dist/{ModuleBrowserModal-D45rBj5C.js → ModuleBrowserModal-BzDuagt5.js} +4 -4
  9. package/dist/{ModulePreviewCanvas-BiQ6B2-l.js → ModulePreviewCanvas-CK11BX4i.js} +1 -1
  10. package/dist/{ParagraphEditor-1NaUJpZO.js → ParagraphEditor-fg9Ljy_Z.js} +16 -14
  11. package/dist/{SaveModuleDialog-B0sPOTgO.js → SaveModuleDialog-D27ufH5q.js} +2 -2
  12. package/dist/{SnapshotHistory-DslVzmSb.js → SnapshotHistory-Cymqkk9_.js} +1 -1
  13. package/dist/{TestEmailModal-DWGniJVu.js → TestEmailModal-BIvdHidU.js} +2 -2
  14. package/dist/{TitleEditor-D4t_gZZJ.js → TitleEditor-D0a4NdOn.js} +7 -6
  15. package/dist/{TplModal-Br2VG6cn.js → TplModal-dYXt3vyd.js} +1 -1
  16. package/dist/{blockTypeIcons-CXhCS5WV.js → blockTypeIcons-JSBvsa0M.js} +1 -1
  17. package/dist/bundle-stats.json +7 -7
  18. package/dist/ca-C58VqAgo.js +558 -0
  19. package/dist/cdn/chunks/{AiFeatureMenu-3Slo_LGA.js → AiFeatureMenu-B6V5CzCc.js} +2 -2
  20. package/dist/cdn/chunks/{AiFeatureMenu-3Slo_LGA.js.map → AiFeatureMenu-B6V5CzCc.js.map} +1 -1
  21. package/dist/cdn/chunks/{BlockIssueBadge-BxwEiiF3.js → BlockIssueBadge-C6Xpl1KK.js} +2 -2
  22. package/dist/cdn/chunks/{BlockIssueBadge-BxwEiiF3.js.map → BlockIssueBadge-C6Xpl1KK.js.map} +1 -1
  23. package/dist/cdn/chunks/{CloudEditor-DFIFWD9G.js → CloudEditor-C-npgK-l.js} +8 -8
  24. package/dist/cdn/chunks/{CloudEditor-DFIFWD9G.js.map → CloudEditor-C-npgK-l.js.map} +1 -1
  25. package/dist/cdn/chunks/{CollaboratorBar-Cu3vuN66.js → CollaboratorBar-BSKXgw9D.js} +3 -3
  26. package/dist/cdn/chunks/{CollaboratorBar-Cu3vuN66.js.map → CollaboratorBar-BSKXgw9D.js.map} +1 -1
  27. package/dist/cdn/chunks/{CountdownBlock-BEVAJQtQ.js → CountdownBlock-Y-nycxv2.js} +2 -2
  28. package/dist/cdn/chunks/{CountdownBlock-BEVAJQtQ.js.map → CountdownBlock-Y-nycxv2.js.map} +1 -1
  29. package/dist/cdn/chunks/{CountdownToolbar-CI2sQZv5.js → CountdownToolbar-9LqnhGyh.js} +3 -3
  30. package/dist/cdn/chunks/{CountdownToolbar-CI2sQZv5.js.map → CountdownToolbar-9LqnhGyh.js.map} +1 -1
  31. package/dist/cdn/chunks/{IssuesPanel-BdeDoTcn.js → IssuesPanel-BYfGf1rC.js} +3 -3
  32. package/dist/cdn/chunks/{IssuesPanel-BdeDoTcn.js.map → IssuesPanel-BYfGf1rC.js.map} +1 -1
  33. package/dist/cdn/chunks/{MergeTagSuggestion-BsCAo4Co.js → MergeTagSuggestion-DQzKlLH7.js} +2 -2
  34. package/dist/cdn/chunks/{MergeTagSuggestion-BsCAo4Co.js.map → MergeTagSuggestion-DQzKlLH7.js.map} +1 -1
  35. package/dist/cdn/chunks/{ModuleBrowserModal-Dz-I5zfj.js → ModuleBrowserModal-EzKgW5TG.js} +5 -5
  36. package/dist/cdn/chunks/{ModuleBrowserModal-Dz-I5zfj.js.map → ModuleBrowserModal-EzKgW5TG.js.map} +1 -1
  37. package/dist/cdn/chunks/{ModulePreviewCanvas-BfinyuAN.js → ModulePreviewCanvas-DxbSzXm8.js} +2 -2
  38. package/dist/cdn/chunks/{ModulePreviewCanvas-BfinyuAN.js.map → ModulePreviewCanvas-DxbSzXm8.js.map} +1 -1
  39. package/dist/cdn/chunks/{NumberWithSuffix-CDjEa08X.js → NumberWithSuffix-Conp_Pki.js} +2 -2
  40. package/dist/cdn/chunks/{NumberWithSuffix-CDjEa08X.js.map → NumberWithSuffix-Conp_Pki.js.map} +1 -1
  41. package/dist/cdn/chunks/{ParagraphEditor-B3fG0vge.js → ParagraphEditor-CJNgRMhw.js} +19 -17
  42. package/dist/cdn/chunks/{ParagraphEditor-B3fG0vge.js.map → ParagraphEditor-CJNgRMhw.js.map} +1 -1
  43. package/dist/cdn/chunks/{RichTextEditorContent-C6YPCp9j.js → RichTextEditorContent-Cebdzomd.js} +2 -2
  44. package/dist/cdn/chunks/{RichTextEditorContent-C6YPCp9j.js.map → RichTextEditorContent-Cebdzomd.js.map} +1 -1
  45. package/dist/cdn/chunks/{SaveModuleDialog-C6UIIVAM.js → SaveModuleDialog-Cufwqoln.js} +2 -2
  46. package/dist/cdn/chunks/{SaveModuleDialog-C6UIIVAM.js.map → SaveModuleDialog-Cufwqoln.js.map} +1 -1
  47. package/dist/cdn/chunks/{TitleEditor-BiZbLYF1.js → TitleEditor-7BhmKL-_.js} +10 -9
  48. package/dist/cdn/chunks/TitleEditor-7BhmKL-_.js.map +1 -0
  49. package/dist/cdn/chunks/{blockTypeIcons-BernVG06.js → blockTypeIcons-d4Sb61H-.js} +3 -3
  50. package/dist/cdn/chunks/{blockTypeIcons-BernVG06.js.map → blockTypeIcons-d4Sb61H-.js.map} +1 -1
  51. package/dist/cdn/chunks/ca-C58VqAgo.js +560 -0
  52. package/dist/cdn/chunks/ca-C58VqAgo.js.map +1 -0
  53. package/dist/cdn/chunks/ca-CNRWAMHI.js +89 -0
  54. package/dist/cdn/chunks/ca-CNRWAMHI.js.map +1 -0
  55. package/dist/cdn/chunks/{de-LsV0u1tP.js → de-C0sMmfic.js} +4 -1
  56. package/dist/cdn/chunks/de-C0sMmfic.js.map +1 -0
  57. package/dist/{en-Bb8X1bOs.js → cdn/chunks/en-CsGBTBOf.js} +5 -0
  58. package/dist/cdn/chunks/en-CsGBTBOf.js.map +1 -0
  59. package/dist/cdn/chunks/es-DgjbcPIu.js +560 -0
  60. package/dist/cdn/chunks/es-DgjbcPIu.js.map +1 -0
  61. package/dist/cdn/chunks/es-OgkdMZGX.js +89 -0
  62. package/dist/cdn/chunks/es-OgkdMZGX.js.map +1 -0
  63. package/dist/cdn/chunks/{extensions-Drp8UDc6.js → extensions-BeAsz_mp.js} +4 -4
  64. package/dist/cdn/chunks/{extensions-Drp8UDc6.js.map → extensions-BeAsz_mp.js.map} +1 -1
  65. package/dist/cdn/chunks/{features-Dpczf9Su.js → features-DO71hPJr.js} +22 -22
  66. package/dist/cdn/chunks/features-DO71hPJr.js.map +1 -0
  67. package/dist/cdn/chunks/{icons-CuxnJiGQ.js → icons-BfP1cRNb.js} +2 -2
  68. package/dist/cdn/chunks/{icons-CuxnJiGQ.js.map → icons-BfP1cRNb.js.map} +1 -1
  69. package/dist/cdn/chunks/{media-library-CiYl_BO7.js → media-library-0S3e0i8G.js} +3 -3
  70. package/dist/cdn/chunks/{media-library-CiYl_BO7.js.map → media-library-0S3e0i8G.js.map} +1 -1
  71. package/dist/cdn/chunks/{pt-BR-BwJY_cvb.js → pt-BR-DXaP5lMJ.js} +4 -1
  72. package/dist/cdn/chunks/pt-BR-DXaP5lMJ.js.map +1 -0
  73. package/dist/cdn/chunks/{quality-CNjGxBG0.js → quality-B6V4R_df.js} +246 -242
  74. package/dist/cdn/chunks/quality-B6V4R_df.js.map +1 -0
  75. package/dist/cdn/chunks/{renderer-CFkg8h-K.js → renderer-Dhn1J4H4.js} +24 -27
  76. package/dist/cdn/chunks/renderer-Dhn1J4H4.js.map +1 -0
  77. package/dist/cdn/chunks/{src-DRpKu4Dy.js → src-DoKjbqU2.js} +109 -112
  78. package/dist/cdn/chunks/{src-DRpKu4Dy.js.map → src-DoKjbqU2.js.map} +1 -1
  79. package/dist/cdn/chunks/{styles-B7wryV0l.js → styles-CSqligXJ.js} +461 -440
  80. package/dist/cdn/chunks/styles-CSqligXJ.js.map +1 -0
  81. package/dist/cdn/chunks/{tiptap-DF9PEiqH.js → tiptap-DVHUKGZf.js} +3027 -4738
  82. package/dist/cdn/chunks/tiptap-DVHUKGZf.js.map +1 -0
  83. package/dist/cdn/editor.css +1 -1
  84. package/dist/cdn/editor.js +11 -9
  85. package/dist/cdn/editor.js.map +1 -1
  86. package/dist/{cloud-BQusL53H.js → cloud-CFpaFRCV.js} +1 -1
  87. package/dist/{de-LsV0u1tP.js → de-C0sMmfic.js} +3 -0
  88. package/dist/{dist-COG3IdPK.js → dist-0VHbLR6h.js} +2 -2
  89. package/dist/{dist-BFmE-7hB.js → dist-C5-0GG3g.js} +2 -2
  90. package/dist/{dist-B5Sov3sS.js → dist-Ci5GHd96.js} +2 -2
  91. package/dist/{dist-BsCGIDSt.js → dist-DEcNpSJi.js} +2 -2
  92. package/dist/dist-DR-6IpV6.js +5 -0
  93. package/dist/dist-DW8b0TO6.js +5 -0
  94. package/dist/{dist-SXJJ2v41.js → dist-D_-AsMP4.js} +2 -2
  95. package/dist/{dist-BibU4HNl.js → dist-DoRIUsfz.js} +2 -3
  96. package/dist/{dist-itdjZraK.js → dist-DrlHbc8g.js} +1 -1
  97. package/dist/{dist-BMoa33wT.js → dist-Drm7i-yw.js} +2 -2
  98. package/dist/{dist-CQZxDvFw.js → dist-Dsoq4knU.js} +2 -2
  99. package/dist/dist-FVawx7ou.js +2597 -0
  100. package/dist/{dist-CRsjOQM-.js → dist-r_2rJCMg.js} +2 -2
  101. package/dist/{cdn/chunks/en-Bb8X1bOs.js → en-CsGBTBOf.js} +3 -2
  102. package/dist/es-DgjbcPIu.js +558 -0
  103. package/dist/{extensions-DwaZAqm6.js → extensions-3jhgwhV-.js} +5 -5
  104. package/dist/{pt-BR-BwJY_cvb.js → pt-BR-DXaP5lMJ.js} +3 -0
  105. package/dist/style.css +1 -1
  106. package/dist/{styles-D7fQ7f_1.js → styles-5sGbDIA2.js} +466 -445
  107. package/dist/templatical-editor.js +10 -8
  108. package/dist/{useEditorCore-vcWLdnjN.js → useEditorCore-AQ0BN1ug.js} +18 -17
  109. package/dist/{useMergeTag-DSrBY0-2.js → useMergeTag-D0aZw7Q5.js} +1 -1
  110. package/package.json +21 -21
  111. package/dist/cdn/chunks/TitleEditor-BiZbLYF1.js.map +0 -1
  112. package/dist/cdn/chunks/de-LsV0u1tP.js.map +0 -1
  113. package/dist/cdn/chunks/en-Bb8X1bOs.js.map +0 -1
  114. package/dist/cdn/chunks/features-Dpczf9Su.js.map +0 -1
  115. package/dist/cdn/chunks/pt-BR-BwJY_cvb.js.map +0 -1
  116. package/dist/cdn/chunks/quality-CNjGxBG0.js.map +0 -1
  117. package/dist/cdn/chunks/renderer-CFkg8h-K.js.map +0 -1
  118. package/dist/cdn/chunks/styles-B7wryV0l.js.map +0 -1
  119. package/dist/cdn/chunks/tiptap-DF9PEiqH.js.map +0 -1
  120. package/dist/dist-CNLKj9wa.js +0 -5
  121. package/dist/dist-CNXDNYQn.js +0 -4311
  122. package/dist/dist-Cqa6aeAJ.js +0 -5
@@ -1,12 +1,12 @@
1
1
  import { C as e, F as t, G as n, H as r, J as i, K as a, L as o, M as s, O as c, P as l, T as u, V as d, Y as f, Z as p, b as m, c as h, ct as g, f as _, g as v, h as y, it as b, l as x, m as S, n as C, o as w, ot as T, p as E, s as D, st as O, t as k, u as A, v as j, x as M, y as N, z as P } from "./draggable-kG-D5Xsm.js";
2
- import { $t as F, B as I, Cn as L, Ct as ee, Dn as R, Dt as z, En as B, Et as te, F as ne, Ft as re, G as V, H as ie, Ht as ae, I as oe, In as se, It as ce, J as le, Jt as H, K as ue, Kt as de, L as fe, Lt as U, M as pe, Mn as me, N as he, Nn as ge, O as _e, On as ve, P as ye, Pt as be, Qt as xe, R as Se, Sn as Ce, St as we, Tt as Te, U as Ee, Ut as De, V as Oe, Vt as ke, W as Ae, Xt as je, Yt as Me, Z as Ne, Zt as Pe, an as Fe, at as Ie, bn as Le, bt as Re, cn as ze, ct as Be, en as Ve, ft as He, gn as Ue, gt as We, j as Ge, jn as Ke, jt as qe, k as Je, kt as Ye, ln as Xe, nn as Ze, nt as Qe, on as $e, ot as et, q as tt, qt as nt, sn as rt, st as it, tn as at, tt as ot, ut as st, wn as ct, wt as lt, xt as ut, yn as dt, zt as ft } from "./features-Dpczf9Su.js";
3
- import { A as pt, F as mt, G as ht, I as gt, M as _t, N as vt, O as yt, P as bt, T as W, V as xt, X as St, Y as Ct, _ as wt, b as Tt, c as Et, h as Dt, m as Ot, o as kt, s as At, u as jt, v as Mt, y as Nt, z as Pt } from "./icons-CuxnJiGQ.js";
2
+ import { $t as F, B as I, Cn as L, Ct as ee, Dn as R, Dt as z, En as B, Et as te, F as ne, Ft as re, G as V, H as ie, Ht as ae, I as oe, In as se, It as ce, J as le, Jt as H, K as ue, Kt as de, L as fe, Lt as U, M as pe, Mn as me, N as he, Nn as ge, O as _e, On as ve, P as ye, Pt as be, Qt as xe, R as Se, Sn as Ce, St as we, Tt as Te, U as Ee, Ut as De, V as Oe, Vt as ke, W as Ae, Xt as je, Yt as Me, Z as Ne, Zt as Pe, an as Fe, at as Ie, bn as Le, bt as Re, cn as ze, ct as Be, en as Ve, ft as He, gn as Ue, gt as We, j as Ge, jn as Ke, jt as qe, k as Je, kt as Ye, ln as Xe, nn as Ze, nt as Qe, on as $e, ot as et, q as tt, qt as nt, sn as rt, st as it, tn as at, tt as ot, ut as st, wn as ct, wt as lt, xt as ut, yn as dt, zt as ft } from "./features-DO71hPJr.js";
3
+ import { A as pt, F as mt, G as ht, I as gt, M as _t, N as vt, O as yt, P as bt, T as W, V as xt, X as St, Y as Ct, _ as wt, b as Tt, c as Et, h as Dt, m as Ot, o as kt, s as At, u as jt, v as Mt, y as Nt, z as Pt } from "./icons-BfP1cRNb.js";
4
4
  import { t as Ft } from "./readableTextColor-f8Kykfnh.js";
5
- import { t as It } from "./CountdownBlock-BEVAJQtQ.js";
6
- import { t as Lt } from "./blockTypeIcons-BernVG06.js";
5
+ import { t as It } from "./CountdownBlock-Y-nycxv2.js";
6
+ import { t as Lt } from "./blockTypeIcons-d4Sb61H-.js";
7
7
  import { _ as Rt, c as zt, f as G, g as Bt, h as K, l as Vt, m as q, p as J, r as Ht, t as Ut } from "./styleConstants-lGobwiLH.js";
8
- import { i as Y, n as X, r as Z, t as Wt } from "./NumberWithSuffix-CDjEa08X.js";
9
- import { n as Gt, r as Kt } from "./MergeTagSuggestion-BsCAo4Co.js";
8
+ import { i as Y, n as X, r as Z, t as Wt } from "./NumberWithSuffix-Conp_Pki.js";
9
+ import { n as Gt, r as Kt } from "./MergeTagSuggestion-DQzKlLH7.js";
10
10
  //#region src/utils/resolveLintOptions.ts
11
11
  function qt(e) {
12
12
  return {
@@ -72,7 +72,10 @@ var Jt = ["aria-label"], Yt = {
72
72
  case "mobile": return 375;
73
73
  default: return i.content.settings.width;
74
74
  }
75
- }), L = _(() => F.value + rn * 2), R = _(() => ({ fontFamily: i.content.settings.fontFamily })), z = _(() => P.value.length === 0 && !i.previewMode), B = p(0), te = _(() => z.value && B.value > 0);
75
+ }), L = _(() => F.value + rn * 2), R = _(() => {
76
+ let e = { fontFamily: i.content.settings.fontFamily };
77
+ return i.content.settings.textColor && (e.color = i.content.settings.textColor), i.content.settings.linkColor && (e["--tpl-doc-link-color"] = i.content.settings.linkColor), i.content.settings.linkUnderline && (e["--tpl-doc-link-underline"] = "underline"), e;
78
+ }), z = _(() => P.value.length === 0 && !i.previewMode), B = p(0), te = _(() => z.value && B.value > 0);
76
79
  function ne() {
77
80
  z.value && (B.value += 1);
78
81
  }
@@ -228,7 +231,7 @@ var Jt = ["aria-label"], Yt = {
228
231
  "class"
229
232
  ])], 6)], 12, Jt)], 4));
230
233
  }
231
- }), [["__scopeId", "data-v-a9a1158b"]]), on = M({
234
+ }), [["__scopeId", "data-v-b440d13f"]]), on = M({
232
235
  name: "CustomBlockStylesheets",
233
236
  setup() {
234
237
  let t = u(H, null);
@@ -800,7 +803,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
800
803
  onInsert: b(D)
801
804
  }, null, 8, ["disabled", "onInsert"])) : y("", !0)])) : y("", !0)]));
802
805
  }
803
- }), Wn = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, Gn = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, Kn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qn = { class: "tpl:mb-3.5" }, Jn = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, Yn = ["onClick"], Xn = { class: "tpl:flex tpl:items-stretch" }, Zn = ["value"], Qn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, $n = { class: "tpl:mb-3.5" }, er = ["value"], tr = ["value"], nr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, rr = ["value"], ir = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, ar = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, or = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, sr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, cr = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, lr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, ur = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, dr = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, fr = { class: "tpl:mb-1 tpl:last:mb-0" }, pr = { class: "tpl:mb-1 tpl:last:mb-0" }, mr = { class: "tpl:mb-1 tpl:last:mb-0" }, hr = 150, gr = /* @__PURE__ */ M({
806
+ }), Wn = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, Gn = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, Kn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qn = { class: "tpl:mb-3.5" }, Jn = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, Yn = ["onClick"], Xn = { class: "tpl:flex tpl:items-stretch" }, Zn = ["value"], Qn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, $n = { class: "tpl:mb-3.5" }, er = { class: "tpl:mb-3.5" }, tr = { class: "tpl:mb-3.5" }, nr = { class: "tpl:mb-3.5" }, rr = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-between tpl:gap-2" }, ir = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ar = ["aria-checked", "aria-label"], or = ["value"], sr = ["value"], cr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, lr = ["value"], ur = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, dr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, pr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, mr = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, hr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, gr = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, _r = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, vr = { class: "tpl:mb-1 tpl:last:mb-0" }, yr = { class: "tpl:mb-1 tpl:last:mb-0" }, br = { class: "tpl:mb-1 tpl:last:mb-0" }, xr = 150, Sr = /* @__PURE__ */ M({
804
807
  __name: "TemplateSettings",
805
808
  props: { settings: {} },
806
809
  emits: ["update"],
@@ -860,16 +863,34 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
860
863
  placeholder: b(Ut),
861
864
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { backgroundColor: e })
862
865
  }, null, 8, ["model-value", "placeholder"])]),
866
+ E("div", er, [E("label", { class: T(b(K)) }, g(b(i).templateSettings.textColor), 3), N(Y, {
867
+ "model-value": e.settings.textColor ?? "",
868
+ "seed-color": "#1a1a1a",
869
+ "onUpdate:modelValue": n[2] ||= (e) => r("update", { textColor: e })
870
+ }, null, 8, ["model-value"])]),
871
+ E("div", tr, [E("label", { class: T(b(K)) }, g(b(i).templateSettings.linkColor), 3), N(Y, {
872
+ "model-value": e.settings.linkColor ?? "",
873
+ "seed-color": "#0066cc",
874
+ "onUpdate:modelValue": n[3] ||= (e) => r("update", { linkColor: e || void 0 })
875
+ }, null, 8, ["model-value"])]),
876
+ E("div", nr, [E("label", rr, [E("span", ir, g(b(i).templateSettings.linkUnderline), 1), E("button", {
877
+ type: "button",
878
+ role: "switch",
879
+ "aria-checked": e.settings.linkUnderline,
880
+ "aria-label": b(i).templateSettings.linkUnderline,
881
+ class: T(["tpl:relative tpl:inline-flex tpl:h-5 tpl:w-9 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-full tpl:border-2 tpl:border-transparent tpl:transition-colors tpl:duration-200", e.settings.linkUnderline ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]"]),
882
+ onClick: n[4] ||= (t) => r("update", { linkUnderline: !e.settings.linkUnderline })
883
+ }, [E("span", { class: T(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow tpl:transition-transform tpl:duration-200", e.settings.linkUnderline ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, ar)])]),
863
884
  E("div", null, [E("label", { class: T(b(K)) }, g(b(i).templateSettings.fontFamily), 3), E("select", {
864
885
  class: T(b(G)),
865
886
  value: c.value,
866
- onChange: n[2] ||= (e) => r("update", { fontFamily: e.target.value })
887
+ onChange: n[5] ||= (e) => r("update", { fontFamily: e.target.value })
867
888
  }, [(s(!0), v(A, null, l(o.value, (e) => (s(), v("option", {
868
889
  key: e.value,
869
890
  value: e.value
870
- }, g(e.label), 9, tr))), 128))], 42, er)])
891
+ }, g(e.label), 9, sr))), 128))], 42, or)])
871
892
  ], 2),
872
- E("div", { class: T(b(Vt)) }, [E("div", nr, [N(b(ht), {
893
+ E("div", { class: T(b(Vt)) }, [E("div", cr, [N(b(ht), {
873
894
  class: "tpl:text-[var(--tpl-text-muted)]",
874
895
  size: 14,
875
896
  "stroke-width": 2
@@ -883,11 +904,11 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
883
904
  spellcheck: "false",
884
905
  autocapitalize: "off",
885
906
  autocomplete: "off",
886
- onInput: n[3] ||= (e) => r("update", { locale: e.target.value.trim() || void 0 })
887
- }, null, 42, rr),
888
- E("p", ir, g(b(i).templateSettings.contentLocaleHint), 1)
907
+ onInput: n[6] ||= (e) => r("update", { locale: e.target.value.trim() || void 0 })
908
+ }, null, 42, lr),
909
+ E("p", ur, g(b(i).templateSettings.contentLocaleHint), 1)
889
910
  ])], 2),
890
- E("div", { class: T(b(Vt)) }, [E("div", ar, [N(b(lt), {
911
+ E("div", { class: T(b(Vt)) }, [E("div", dr, [N(b(lt), {
891
912
  class: "tpl:text-[var(--tpl-text-muted)]",
892
913
  size: 14,
893
914
  "stroke-width": 2
@@ -895,29 +916,29 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
895
916
  "model-value": e.settings.preheaderText ?? "",
896
917
  placeholder: b(i).templateSettings.preheaderTextPlaceholder,
897
918
  rows: 2,
898
- "onUpdate:modelValue": n[4] ||= (e) => r("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
899
- }, null, 8, ["model-value", "placeholder"]), E("div", or, [E("span", sr, g(b(i).templateSettings.preheaderTextHint), 1), E("span", cr, g((e.settings.preheaderText ?? "").length) + "/" + g(hr), 1)])])], 2),
900
- E("div", lr, [E("div", ur, [N(b(ut), {
919
+ "onUpdate:modelValue": n[7] ||= (e) => r("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
920
+ }, null, 8, ["model-value", "placeholder"]), E("div", fr, [E("span", pr, g(b(i).templateSettings.preheaderTextHint), 1), E("span", mr, g((e.settings.preheaderText ?? "").length) + "/" + g(xr), 1)])])], 2),
921
+ E("div", hr, [E("div", gr, [N(b(ut), {
901
922
  size: 14,
902
923
  "stroke-width": 2
903
- }), E("span", null, g(b(i).templateSettings.tips), 1)]), E("ul", dr, [
904
- E("li", fr, g(b(i).templateSettings.tip1), 1),
905
- E("li", pr, g(b(i).templateSettings.tip2), 1),
906
- E("li", mr, g(b(i).templateSettings.tip3), 1)
924
+ }), E("span", null, g(b(i).templateSettings.tips), 1)]), E("ul", _r, [
925
+ E("li", vr, g(b(i).templateSettings.tip1), 1),
926
+ E("li", yr, g(b(i).templateSettings.tip2), 1),
927
+ E("li", br, g(b(i).templateSettings.tip3), 1)
907
928
  ])])
908
929
  ])]));
909
930
  }
910
- }), _r = { key: 0 }, vr = {
931
+ }), Cr = { key: 0 }, wr = {
911
932
  key: 0,
912
933
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
913
- }, yr = { key: 1 }, br = [
934
+ }, Tr = { key: 1 }, Er = [
914
935
  "type",
915
936
  "value",
916
937
  "placeholder"
917
- ], xr = {
938
+ ], Dr = {
918
939
  key: 0,
919
940
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
920
- }, Sr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", Q = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
941
+ }, Or = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", Q = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
921
942
  __name: "MergeTagInput",
922
943
  props: {
923
944
  modelValue: {},
@@ -935,9 +956,9 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
935
956
  emit: (e) => r("update:modelValue", e),
936
957
  elementRef: i
937
958
  });
938
- return (t, n) => b(o) && !b(f) ? (s(), v("div", _r, [N(kn, {
959
+ return (t, n) => b(o) && !b(f) ? (s(), v("div", Cr, [N(kn, {
939
960
  segments: b(a),
940
- "display-class": Sr,
961
+ "display-class": Or,
941
962
  pulse: e.pulse,
942
963
  onEdit: b(m),
943
964
  onClear: b(C)
@@ -946,7 +967,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
946
967
  "pulse",
947
968
  "onEdit",
948
969
  "onClear"
949
- ]), b(c) || b(u) ? (s(), v("div", vr, [b(c) ? (s(), S(Mn, {
970
+ ]), b(c) || b(u) ? (s(), v("div", wr, [b(c) ? (s(), S(Mn, {
950
971
  key: 0,
951
972
  disabled: b(l),
952
973
  onInsert: b(w)
@@ -954,7 +975,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
954
975
  key: 1,
955
976
  disabled: b(d),
956
977
  onInsert: b(D)
957
- }, null, 8, ["disabled", "onInsert"])) : y("", !0)])) : y("", !0)])) : (s(), v("div", yr, [E("input", {
978
+ }, null, 8, ["disabled", "onInsert"])) : y("", !0)])) : y("", !0)])) : (s(), v("div", Tr, [E("input", {
958
979
  ref_key: "inputRef",
959
980
  ref: i,
960
981
  type: e.type,
@@ -965,7 +986,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
965
986
  onKeydown: n[1] ||= (...e) => b(g) && b(g)(...e),
966
987
  onClick: n[2] ||= (...e) => b(_) && b(_)(...e),
967
988
  onBlur: n[3] ||= (...e) => b(x) && b(x)(...e)
968
- }, null, 42, br), b(c) || b(u) ? (s(), v("div", xr, [b(c) ? (s(), S(Mn, {
989
+ }, null, 42, Er), b(c) || b(u) ? (s(), v("div", Dr, [b(c) ? (s(), S(Mn, {
969
990
  key: 0,
970
991
  disabled: b(l),
971
992
  onInsert: b(w)
@@ -975,13 +996,13 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
975
996
  onInsert: b(D)
976
997
  }, null, 8, ["disabled", "onInsert"])) : y("", !0)])) : y("", !0)]));
977
998
  }
978
- }), [["__scopeId", "data-v-d6563be6"]]), Cr = { class: "tpl:mb-3.5" }, wr = ["value"], Tr = { value: "" }, Er = ["value"], Dr = { class: "tpl:mb-3.5" }, Or = { class: "tpl:mb-3.5" }, kr = {
999
+ }), [["__scopeId", "data-v-d6563be6"]]), kr = { class: "tpl:mb-3.5" }, Ar = ["value"], jr = { value: "" }, Mr = ["value"], Nr = { class: "tpl:mb-3.5" }, Pr = { class: "tpl:mb-3.5" }, Fr = {
979
1000
  key: 0,
980
1001
  class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
981
- }, Ar = ["checked"], jr = { class: "tpl:mb-3.5" }, Mr = { class: "tpl:mb-3.5" }, Nr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Pr = { class: "tpl:mb-3.5" }, Fr = { class: "tpl:flex tpl:items-stretch" }, Ir = ["value"], Lr = { class: "tpl:mb-3.5" }, Rr = { class: "tpl:flex tpl:items-stretch" }, zr = ["value"], Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = { value: "auto" }, Ur = { value: "full" }, Wr = { value: "custom" }, Gr = {
1002
+ }, Ir = ["checked"], Lr = { class: "tpl:mb-3.5" }, Rr = { class: "tpl:mb-3.5" }, zr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Br = { class: "tpl:mb-3.5" }, Vr = { class: "tpl:flex tpl:items-stretch" }, Hr = ["value"], Ur = { class: "tpl:mb-3.5" }, Wr = { class: "tpl:flex tpl:items-stretch" }, Gr = ["value"], Kr = { class: "tpl:mb-3.5" }, qr = ["value"], Jr = { value: "auto" }, Yr = { value: "full" }, Xr = { value: "custom" }, Zr = {
982
1003
  key: 0,
983
1004
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
984
- }, Kr = ["value"], qr = 200, Jr = /* @__PURE__ */ M({
1005
+ }, Qr = ["value"], $r = 200, ei = /* @__PURE__ */ M({
985
1006
  __name: "ButtonToolbar",
986
1007
  props: {
987
1008
  block: {},
@@ -999,7 +1020,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
999
1020
  return;
1000
1021
  }
1001
1022
  if (e === "custom") {
1002
- o("width", typeof n.block.width == "number" ? n.block.width : qr);
1023
+ o("width", typeof n.block.width == "number" ? n.block.width : $r);
1003
1024
  return;
1004
1025
  }
1005
1026
  o("width", void 0);
@@ -1009,20 +1030,20 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1009
1030
  !Number.isFinite(t) || t <= 0 || o("width", t);
1010
1031
  }
1011
1032
  return (t, n) => (s(), v(A, null, [
1012
- E("div", Cr, [E("label", { class: T(b(K)) }, g(b(i).button.fontFamily), 3), E("select", {
1033
+ E("div", kr, [E("label", { class: T(b(K)) }, g(b(i).button.fontFamily), 3), E("select", {
1013
1034
  class: T(b(G)),
1014
1035
  value: e.block.fontFamily || "",
1015
1036
  onChange: n[0] ||= (e) => o("fontFamily", e.target.value || void 0)
1016
- }, [E("option", Tr, g(b(i).button.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
1037
+ }, [E("option", jr, g(b(i).button.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
1017
1038
  key: e.value,
1018
1039
  value: e.value
1019
- }, g(e.label), 9, Er))), 128))], 42, wr)]),
1020
- E("div", Dr, [E("label", { class: T(b(K)) }, g(b(i).button.text), 3), N(Q, {
1040
+ }, g(e.label), 9, Mr))), 128))], 42, Ar)]),
1041
+ E("div", Nr, [E("label", { class: T(b(K)) }, g(b(i).button.text), 3), N(Q, {
1021
1042
  "model-value": e.block.text,
1022
1043
  type: "text",
1023
1044
  "onUpdate:modelValue": n[1] ||= (e) => o("text", e)
1024
1045
  }, null, 8, ["model-value"])]),
1025
- E("div", Or, [
1046
+ E("div", Pr, [
1026
1047
  E("label", { class: T(b(K)) }, g(b(i).button.url), 3),
1027
1048
  N(Q, {
1028
1049
  "model-value": e.block.url,
@@ -1030,58 +1051,58 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1030
1051
  placeholder: b(i).button.urlPlaceholder,
1031
1052
  "onUpdate:modelValue": n[2] ||= (e) => o("url", e)
1032
1053
  }, null, 8, ["model-value", "placeholder"]),
1033
- e.block.url ? (s(), v("label", kr, [E("input", {
1054
+ e.block.url ? (s(), v("label", Fr, [E("input", {
1034
1055
  type: "checkbox",
1035
1056
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
1036
1057
  checked: e.block.openInNewTab ?? !1,
1037
1058
  onChange: n[3] ||= (e) => o("openInNewTab", e.target.checked)
1038
- }, null, 40, Ar), j(" " + g(b(i).button.openInNewTab), 1)])) : y("", !0)
1059
+ }, null, 40, Ir), j(" " + g(b(i).button.openInNewTab), 1)])) : y("", !0)
1039
1060
  ]),
1040
- E("div", jr, [E("label", { class: T(b(K)) }, g(b(i).button.background), 3), N(Y, {
1061
+ E("div", Lr, [E("label", { class: T(b(K)) }, g(b(i).button.background), 3), N(Y, {
1041
1062
  "model-value": e.block.backgroundColor,
1042
1063
  "onUpdate:modelValue": n[4] ||= (e) => o("backgroundColor", e)
1043
1064
  }, null, 8, ["model-value"])]),
1044
- E("div", Mr, [E("label", { class: T(b(K)) }, g(b(i).button.textColor), 3), N(Y, {
1065
+ E("div", Rr, [E("label", { class: T(b(K)) }, g(b(i).button.textColor), 3), N(Y, {
1045
1066
  "model-value": e.block.textColor,
1046
1067
  "onUpdate:modelValue": n[5] ||= (e) => o("textColor", e)
1047
1068
  }, null, 8, ["model-value"])]),
1048
- E("div", Nr, [E("div", Pr, [E("label", { class: T(b(K)) }, g(b(i).button.borderRadius), 3), E("div", Fr, [E("input", {
1069
+ E("div", zr, [E("div", Br, [E("label", { class: T(b(K)) }, g(b(i).button.borderRadius), 3), E("div", Vr, [E("input", {
1049
1070
  type: "number",
1050
1071
  class: T(b(J)),
1051
1072
  value: e.block.borderRadius,
1052
1073
  min: "0",
1053
1074
  max: "50",
1054
1075
  onInput: n[6] ||= (e) => o("borderRadius", Number(e.target.value))
1055
- }, null, 42, Ir), E("span", { class: T(b(q)) }, "px", 2)])]), E("div", Lr, [E("label", { class: T(b(K)) }, g(b(i).button.fontSize), 3), E("div", Rr, [E("input", {
1076
+ }, null, 42, Hr), E("span", { class: T(b(q)) }, "px", 2)])]), E("div", Ur, [E("label", { class: T(b(K)) }, g(b(i).button.fontSize), 3), E("div", Wr, [E("input", {
1056
1077
  type: "number",
1057
1078
  class: T(b(J)),
1058
1079
  value: e.block.fontSize,
1059
1080
  min: "10",
1060
1081
  max: "36",
1061
1082
  onInput: n[7] ||= (e) => o("fontSize", Number(e.target.value))
1062
- }, null, 42, zr), E("span", { class: T(b(q)) }, "px", 2)])])]),
1063
- E("div", Br, [
1083
+ }, null, 42, Gr), E("span", { class: T(b(q)) }, "px", 2)])])]),
1084
+ E("div", Kr, [
1064
1085
  E("label", { class: T(b(K)) }, g(b(i).button.width), 3),
1065
1086
  E("select", {
1066
1087
  class: T(b(G)),
1067
1088
  value: a.value,
1068
1089
  onChange: n[8] ||= (e) => c(e.target.value)
1069
1090
  }, [
1070
- E("option", Hr, g(b(i).button.widthAuto), 1),
1071
- E("option", Ur, g(b(i).button.fullWidth), 1),
1072
- E("option", Wr, g(b(i).button.widthCustom), 1)
1073
- ], 42, Vr),
1074
- a.value === "custom" ? (s(), v("div", Gr, [E("input", {
1091
+ E("option", Jr, g(b(i).button.widthAuto), 1),
1092
+ E("option", Yr, g(b(i).button.fullWidth), 1),
1093
+ E("option", Xr, g(b(i).button.widthCustom), 1)
1094
+ ], 42, qr),
1095
+ a.value === "custom" ? (s(), v("div", Zr, [E("input", {
1075
1096
  type: "number",
1076
1097
  class: T(b(J)),
1077
- value: typeof e.block.width == "number" ? e.block.width : qr,
1098
+ value: typeof e.block.width == "number" ? e.block.width : $r,
1078
1099
  min: "20",
1079
1100
  onInput: n[9] ||= (e) => u(e.target.value)
1080
- }, null, 42, Kr), E("span", { class: T(b(q)) }, "px", 2)])) : y("", !0)
1101
+ }, null, 42, Qr), E("span", { class: T(b(q)) }, "px", 2)])) : y("", !0)
1081
1102
  ])
1082
1103
  ], 64));
1083
1104
  }
1084
- }), Yr = { class: "spacing-control" }, Xr = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Zr = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Qr = { class: "tpl:flex tpl:items-center" }, $r = ["aria-label"], ei = ["value", "aria-label"], ti = ["aria-label"], ni = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ri = { class: "tpl:flex tpl:items-center" }, ii = ["aria-label"], ai = ["value", "aria-label"], oi = ["aria-label"], si = ["aria-label", "title"], ci = { class: "tpl:flex tpl:items-center" }, li = ["aria-label"], ui = ["value", "aria-label"], di = ["aria-label"], fi = { class: "tpl:flex tpl:items-center" }, pi = ["aria-label"], mi = ["value", "aria-label"], hi = ["aria-label"], $ = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", gi = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", _i = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
1105
+ }), ti = { class: "spacing-control" }, ni = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ri = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ii = { class: "tpl:flex tpl:items-center" }, ai = ["aria-label"], oi = ["value", "aria-label"], si = ["aria-label"], ci = { class: "tpl:flex tpl:items-center tpl:gap-2" }, li = { class: "tpl:flex tpl:items-center" }, ui = ["aria-label"], di = ["value", "aria-label"], fi = ["aria-label"], pi = ["aria-label", "title"], mi = { class: "tpl:flex tpl:items-center" }, hi = ["aria-label"], gi = ["value", "aria-label"], _i = ["aria-label"], vi = { class: "tpl:flex tpl:items-center" }, yi = ["aria-label"], bi = ["value", "aria-label"], xi = ["aria-label"], $ = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Si = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", Ci = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
1085
1106
  __name: "SpacingControl",
1086
1107
  props: {
1087
1108
  modelValue: {},
@@ -1128,8 +1149,8 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1128
1149
  });
1129
1150
  }
1130
1151
  }
1131
- return (t, n) => (s(), v("div", Yr, [E("label", Xr, g(e.label), 1), E("div", Zr, [
1132
- E("div", Qr, [
1152
+ return (t, n) => (s(), v("div", ti, [E("label", ni, g(e.label), 1), E("div", ri, [
1153
+ E("div", ii, [
1133
1154
  E("button", {
1134
1155
  "aria-label": b(i).spacingControl.decreaseTop,
1135
1156
  class: T([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -1137,15 +1158,15 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1137
1158
  }, [N(b(bt), {
1138
1159
  size: 12,
1139
1160
  "stroke-width": 2
1140
- })], 10, $r),
1161
+ })], 10, ai),
1141
1162
  E("input", {
1142
1163
  type: "number",
1143
- class: T(gi),
1164
+ class: T(Si),
1144
1165
  value: e.modelValue.top,
1145
1166
  "aria-label": b(i).spacingControl.top,
1146
1167
  min: "0",
1147
1168
  onInput: n[1] ||= (e) => l("top", Number(e.target.value))
1148
- }, null, 40, ei),
1169
+ }, null, 40, oi),
1149
1170
  E("button", {
1150
1171
  "aria-label": b(i).spacingControl.increaseTop,
1151
1172
  class: T([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -1153,10 +1174,10 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1153
1174
  }, [N(b(W), {
1154
1175
  size: 12,
1155
1176
  "stroke-width": 2
1156
- })], 10, ti)
1177
+ })], 10, si)
1157
1178
  ]),
1158
- E("div", ni, [
1159
- E("div", ri, [
1179
+ E("div", ci, [
1180
+ E("div", li, [
1160
1181
  E("button", {
1161
1182
  "aria-label": b(i).spacingControl.decreaseLeft,
1162
1183
  class: T([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -1164,15 +1185,15 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1164
1185
  }, [N(b(bt), {
1165
1186
  size: 12,
1166
1187
  "stroke-width": 2
1167
- })], 10, ii),
1188
+ })], 10, ui),
1168
1189
  E("input", {
1169
1190
  type: "number",
1170
- class: T(gi),
1191
+ class: T(Si),
1171
1192
  value: e.modelValue.left,
1172
1193
  "aria-label": b(i).spacingControl.left,
1173
1194
  min: "0",
1174
1195
  onInput: n[4] ||= (e) => l("left", Number(e.target.value))
1175
- }, null, 40, ai),
1196
+ }, null, 40, di),
1176
1197
  E("button", {
1177
1198
  "aria-label": b(i).spacingControl.increaseLeft,
1178
1199
  class: T([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -1180,7 +1201,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1180
1201
  }, [N(b(W), {
1181
1202
  size: 12,
1182
1203
  "stroke-width": 2
1183
- })], 10, oi)
1204
+ })], 10, fi)
1184
1205
  ]),
1185
1206
  E("button", {
1186
1207
  class: T(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", o.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
@@ -1195,8 +1216,8 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1195
1216
  key: 1,
1196
1217
  size: 14,
1197
1218
  "stroke-width": 2
1198
- }))], 10, si),
1199
- E("div", ci, [
1219
+ }))], 10, pi),
1220
+ E("div", mi, [
1200
1221
  E("button", {
1201
1222
  "aria-label": b(i).spacingControl.decreaseRight,
1202
1223
  class: T([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -1204,15 +1225,15 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1204
1225
  }, [N(b(bt), {
1205
1226
  size: 12,
1206
1227
  "stroke-width": 2
1207
- })], 10, li),
1228
+ })], 10, hi),
1208
1229
  E("input", {
1209
1230
  type: "number",
1210
- class: T(gi),
1231
+ class: T(Si),
1211
1232
  value: e.modelValue.right,
1212
1233
  "aria-label": b(i).spacingControl.right,
1213
1234
  min: "0",
1214
1235
  onInput: n[7] ||= (e) => l("right", Number(e.target.value))
1215
- }, null, 40, ui),
1236
+ }, null, 40, gi),
1216
1237
  E("button", {
1217
1238
  "aria-label": b(i).spacingControl.increaseRight,
1218
1239
  class: T([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -1220,10 +1241,10 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1220
1241
  }, [N(b(W), {
1221
1242
  size: 12,
1222
1243
  "stroke-width": 2
1223
- })], 10, di)
1244
+ })], 10, _i)
1224
1245
  ])
1225
1246
  ]),
1226
- E("div", fi, [
1247
+ E("div", vi, [
1227
1248
  E("button", {
1228
1249
  "aria-label": b(i).spacingControl.decreaseBottom,
1229
1250
  class: T([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -1231,15 +1252,15 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1231
1252
  }, [N(b(bt), {
1232
1253
  size: 12,
1233
1254
  "stroke-width": 2
1234
- })], 10, pi),
1255
+ })], 10, yi),
1235
1256
  E("input", {
1236
1257
  type: "number",
1237
- class: T(gi),
1258
+ class: T(Si),
1238
1259
  value: e.modelValue.bottom,
1239
1260
  "aria-label": b(i).spacingControl.bottom,
1240
1261
  min: "0",
1241
1262
  onInput: n[10] ||= (e) => l("bottom", Number(e.target.value))
1242
- }, null, 40, mi),
1263
+ }, null, 40, bi),
1243
1264
  E("button", {
1244
1265
  "aria-label": b(i).spacingControl.increaseBottom,
1245
1266
  class: T([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -1247,11 +1268,11 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1247
1268
  }, [N(b(W), {
1248
1269
  size: 12,
1249
1270
  "stroke-width": 2
1250
- })], 10, hi)
1271
+ })], 10, xi)
1251
1272
  ])
1252
1273
  ])]));
1253
1274
  }
1254
- }), [["__scopeId", "data-v-9a9c8a07"]]), vi = { class: "tpl:mt-3" }, yi = /* @__PURE__ */ M({
1275
+ }), [["__scopeId", "data-v-9a9c8a07"]]), wi = { class: "tpl:mt-3" }, Ti = /* @__PURE__ */ M({
1255
1276
  __name: "CollapsibleSection",
1256
1277
  props: {
1257
1278
  title: {},
@@ -1268,21 +1289,21 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1268
1289
  class: T(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1269
1290
  size: 12,
1270
1291
  "stroke-width": 2
1271
- }, null, 8, ["class"]), E("span", null, g(e.title), 1)]), r(E("div", vi, [t(n.$slots, "default")], 512), [[D, e.open]])], 2));
1292
+ }, null, 8, ["class"]), E("span", null, g(e.title), 1)]), r(E("div", wi, [t(n.$slots, "default")], 512), [[D, e.open]])], 2));
1272
1293
  }
1273
- }), bi = { class: "tpl:space-y-2" }, xi = ["checked", "onChange"], Si = { class: "tpl:space-y-2" }, Ci = ["value"], wi = { value: "" }, Ti = ["label"], Ei = ["value"], Di = ["value"], Oi = {
1294
+ }), Ei = { class: "tpl:space-y-2" }, Di = ["checked", "onChange"], Oi = { class: "tpl:space-y-2" }, ki = ["value"], Ai = { value: "" }, ji = ["label"], Mi = ["value"], Ni = ["value"], Pi = {
1274
1295
  key: 0,
1275
1296
  value: "__custom__"
1276
- }, ki = {
1297
+ }, Fi = {
1277
1298
  key: 0,
1278
1299
  class: "tpl:space-y-2"
1279
- }, Ai = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ji = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Mi = { class: "tpl:flex tpl:justify-end" }, Ni = ["disabled"], Pi = {
1300
+ }, Ii = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Li = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ri = { class: "tpl:flex tpl:justify-end" }, zi = ["disabled"], Bi = {
1280
1301
  key: 0,
1281
1302
  class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
1282
- }, Fi = { class: "tpl:space-y-1" }, Ii = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Li = {
1303
+ }, Vi = { class: "tpl:space-y-1" }, Hi = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Ui = {
1283
1304
  key: 0,
1284
1305
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1285
- }, Ri = /* @__PURE__ */ M({
1306
+ }, Wi = /* @__PURE__ */ M({
1286
1307
  __name: "CommonBlockSettings",
1287
1308
  props: {
1288
1309
  block: {},
@@ -1345,13 +1366,13 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1345
1366
  t[e] = !t[e], i("update", { visibility: t });
1346
1367
  }
1347
1368
  return (t, n) => (s(), v("div", { class: T(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1348
- N(yi, {
1369
+ N(Ti, {
1349
1370
  title: b(a).blockSettings.spacing,
1350
1371
  open: h.has("spacing"),
1351
1372
  "no-border": e.isFirstSection,
1352
1373
  onToggle: n[1] ||= (e) => k("spacing")
1353
1374
  }, {
1354
- default: d(() => [N(_i, {
1375
+ default: d(() => [N(Ci, {
1355
1376
  label: b(a).blockSettings.padding,
1356
1377
  "model-value": e.block.styles.padding,
1357
1378
  "onUpdate:modelValue": n[0] ||= (e) => R("padding", e)
@@ -1362,7 +1383,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1362
1383
  "open",
1363
1384
  "no-border"
1364
1385
  ]),
1365
- N(yi, {
1386
+ N(Ti, {
1366
1387
  title: b(a).blockSettings.background,
1367
1388
  open: h.has("bg"),
1368
1389
  onToggle: n[3] ||= (e) => k("bg")
@@ -1373,12 +1394,12 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1373
1394
  }, null, 8, ["model-value"])]),
1374
1395
  _: 1
1375
1396
  }, 8, ["title", "open"]),
1376
- N(yi, {
1397
+ N(Ti, {
1377
1398
  title: b(a).blockSettings.display,
1378
1399
  open: h.has("display"),
1379
1400
  onToggle: n[4] ||= (e) => k("display")
1380
1401
  }, {
1381
- default: d(() => [E("div", bi, [(s(), v(A, null, l(O, (e) => E("label", {
1402
+ default: d(() => [E("div", Ei, [(s(), v(A, null, l(O, (e) => E("label", {
1382
1403
  key: e.key,
1383
1404
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text)]"
1384
1405
  }, [
@@ -1387,7 +1408,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1387
1408
  class: "tpl:accent-[var(--tpl-primary)]",
1388
1409
  checked: z(e.key),
1389
1410
  onChange: (t) => B(e.key)
1390
- }, null, 40, xi),
1411
+ }, null, 40, Di),
1391
1412
  (s(), S(o(e.icon), {
1392
1413
  size: 14,
1393
1414
  "stroke-width": 1.5
@@ -1396,13 +1417,13 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1396
1417
  ])), 64))])]),
1397
1418
  _: 1
1398
1419
  }, 8, ["title", "open"]),
1399
- M.value ? (s(), S(yi, {
1420
+ M.value ? (s(), S(Ti, {
1400
1421
  key: 0,
1401
1422
  title: b(a).blockSettings.displayCondition,
1402
1423
  open: h.has("condition"),
1403
1424
  onToggle: n[8] ||= (e) => k("condition")
1404
1425
  }, {
1405
- default: d(() => [E("div", Si, [E("select", {
1426
+ default: d(() => [E("div", Oi, [E("select", {
1406
1427
  class: T(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1407
1428
  value: x.value || F.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1408
1429
  onChange: n[5] ||= (e) => {
@@ -1419,48 +1440,48 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1419
1440
  n && i("update", { displayCondition: n });
1420
1441
  }
1421
1442
  }, [
1422
- E("option", wi, g(b(a).blockSettings.noCondition), 1),
1443
+ E("option", Ai, g(b(a).blockSettings.noCondition), 1),
1423
1444
  (s(!0), v(A, null, l(ee.value, (e, t) => (s(), v(A, { key: t }, [t ? (s(), v("optgroup", {
1424
1445
  key: 0,
1425
1446
  label: String(t)
1426
1447
  }, [(s(!0), v(A, null, l(e, (e) => (s(), v("option", {
1427
1448
  key: e.label,
1428
1449
  value: e.label
1429
- }, g(e.label), 9, Ei))), 128))], 8, Ti)) : (s(!0), v(A, { key: 1 }, l(e, (e) => (s(), v("option", {
1450
+ }, g(e.label), 9, Mi))), 128))], 8, ji)) : (s(!0), v(A, { key: 1 }, l(e, (e) => (s(), v("option", {
1430
1451
  key: e.label,
1431
1452
  value: e.label
1432
- }, g(e.label), 9, Di))), 128))], 64))), 128)),
1433
- b(m) ? (s(), v("option", Oi, g(b(a).blockSettings.customCondition), 1)) : y("", !0)
1434
- ], 42, Ci), x.value || F.value ? (s(), v("div", ki, [
1435
- E("div", null, [E("label", Ai, g(b(a).blockSettings.customConditionBefore), 1), r(E("textarea", {
1453
+ }, g(e.label), 9, Ni))), 128))], 64))), 128)),
1454
+ b(m) ? (s(), v("option", Pi, g(b(a).blockSettings.customCondition), 1)) : y("", !0)
1455
+ ], 42, ki), x.value || F.value ? (s(), v("div", Fi, [
1456
+ E("div", null, [E("label", Ii, g(b(a).blockSettings.customConditionBefore), 1), r(E("textarea", {
1436
1457
  "onUpdate:modelValue": n[6] ||= (e) => C.value = e,
1437
1458
  rows: "2",
1438
1459
  class: T(b(Bt))
1439
1460
  }, null, 2), [[w, C.value]])]),
1440
- E("div", null, [E("label", ji, g(b(a).blockSettings.customConditionAfter), 1), r(E("textarea", {
1461
+ E("div", null, [E("label", Li, g(b(a).blockSettings.customConditionAfter), 1), r(E("textarea", {
1441
1462
  "onUpdate:modelValue": n[7] ||= (e) => D.value = e,
1442
1463
  rows: "2",
1443
1464
  class: T(b(Bt))
1444
1465
  }, null, 2), [[w, D.value]])]),
1445
- E("div", Mi, [E("button", {
1466
+ E("div", Ri, [E("button", {
1446
1467
  type: "button",
1447
1468
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:opacity-50",
1448
1469
  disabled: !C.value.trim(),
1449
1470
  onClick: L
1450
- }, g(b(a).blockSettings.applyCondition), 9, Ni)])
1451
- ])) : e.block.displayCondition && !F.value ? (s(), v(A, { key: 1 }, [e.block.displayCondition.description ? (s(), v("p", Pi, g(e.block.displayCondition.description), 1)) : y("", !0), E("div", Fi, [E("pre", Ii, g(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (s(), v("pre", Li, g(e.block.displayCondition.after), 1)) : y("", !0)])], 64)) : y("", !0)])]),
1471
+ }, g(b(a).blockSettings.applyCondition), 9, zi)])
1472
+ ])) : e.block.displayCondition && !F.value ? (s(), v(A, { key: 1 }, [e.block.displayCondition.description ? (s(), v("p", Bi, g(e.block.displayCondition.description), 1)) : y("", !0), E("div", Vi, [E("pre", Hi, g(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (s(), v("pre", Ui, g(e.block.displayCondition.after), 1)) : y("", !0)])], 64)) : y("", !0)])]),
1452
1473
  _: 1
1453
1474
  }, 8, ["title", "open"])) : y("", !0)
1454
1475
  ], 2));
1455
1476
  }
1456
- }), zi = ["title"], Bi = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Vi = {
1477
+ }), Gi = ["title"], Ki = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, qi = {
1457
1478
  key: 1,
1458
1479
  class: "tpl:text-[var(--tpl-danger)]"
1459
- }, Hi = [
1480
+ }, Ji = [
1460
1481
  "aria-checked",
1461
1482
  "aria-label",
1462
1483
  "disabled"
1463
- ], Ui = /* @__PURE__ */ M({
1484
+ ], Yi = /* @__PURE__ */ M({
1464
1485
  __name: "BooleanField",
1465
1486
  props: {
1466
1487
  field: {},
@@ -1473,14 +1494,14 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1473
1494
  return (t, i) => (s(), v("div", {
1474
1495
  class: "tpl:mb-3.5",
1475
1496
  title: e.readOnly ? b(r).customBlocks.dataSource.readOnlyTooltip : void 0
1476
- }, [E("label", { class: T(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", e.readOnly ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [E("span", Bi, [
1497
+ }, [E("label", { class: T(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", e.readOnly ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [E("span", Ki, [
1477
1498
  j(g(e.field.label) + " ", 1),
1478
1499
  e.readOnly ? (s(), S(b(mt), {
1479
1500
  key: 0,
1480
1501
  size: 12,
1481
1502
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1482
1503
  })) : y("", !0),
1483
- e.field.required ? (s(), v("span", Vi, " * ")) : y("", !0)
1504
+ e.field.required ? (s(), v("span", qi, " * ")) : y("", !0)
1484
1505
  ]), E("button", {
1485
1506
  type: "button",
1486
1507
  role: "switch",
@@ -1493,12 +1514,12 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1493
1514
  ]),
1494
1515
  disabled: e.readOnly,
1495
1516
  onClick: i[0] ||= (t) => !e.readOnly && n("update:modelValue", !e.modelValue)
1496
- }, [E("span", { class: T(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow tpl:transition-transform tpl:duration-200", e.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, Hi)], 2)], 8, zi));
1517
+ }, [E("span", { class: T(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow tpl:transition-transform tpl:duration-200", e.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, Ji)], 2)], 8, Gi));
1497
1518
  }
1498
- }), Wi = { class: "tpl:mb-3.5" }, Gi = {
1519
+ }), Xi = { class: "tpl:mb-3.5" }, Zi = {
1499
1520
  key: 1,
1500
1521
  class: "tpl:text-[var(--tpl-danger)]"
1501
- }, Ki = /* @__PURE__ */ M({
1522
+ }, Qi = /* @__PURE__ */ M({
1502
1523
  __name: "FieldWrapper",
1503
1524
  props: {
1504
1525
  label: {},
@@ -1506,17 +1527,17 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1506
1527
  readOnly: { type: Boolean }
1507
1528
  },
1508
1529
  setup(e) {
1509
- return (n, r) => (s(), v("div", Wi, [E("label", { class: T(b(K)) }, [
1530
+ return (n, r) => (s(), v("div", Xi, [E("label", { class: T(b(K)) }, [
1510
1531
  j(g(e.label) + " ", 1),
1511
1532
  e.readOnly ? (s(), S(b(mt), {
1512
1533
  key: 0,
1513
1534
  size: 12,
1514
1535
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1515
1536
  })) : y("", !0),
1516
- e.required ? (s(), v("span", Gi, "*")) : y("", !0)
1537
+ e.required ? (s(), v("span", Zi, "*")) : y("", !0)
1517
1538
  ], 2), t(n.$slots, "default")]));
1518
1539
  }
1519
- }), qi = /* @__PURE__ */ M({
1540
+ }), $i = /* @__PURE__ */ M({
1520
1541
  __name: "ColorField",
1521
1542
  props: {
1522
1543
  field: {},
@@ -1526,7 +1547,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1526
1547
  emits: ["update:modelValue"],
1527
1548
  setup(e, { emit: t }) {
1528
1549
  let n = t, { t: r } = U();
1529
- return (t, i) => (s(), S(Ki, {
1550
+ return (t, i) => (s(), S(Qi, {
1530
1551
  label: e.field.label,
1531
1552
  required: e.field.required,
1532
1553
  "read-only": e.readOnly
@@ -1550,15 +1571,15 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1550
1571
  "read-only"
1551
1572
  ]));
1552
1573
  }
1553
- }), Ji = {
1574
+ }), ea = {
1554
1575
  key: 0,
1555
1576
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1556
1577
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1557
- }, Yi = [
1578
+ }, ta = [
1558
1579
  "value",
1559
1580
  "placeholder",
1560
1581
  "title"
1561
- ], Xi = ["value", "placeholder"], Zi = /* @__PURE__ */ M({
1582
+ ], na = ["value", "placeholder"], ra = /* @__PURE__ */ M({
1562
1583
  __name: "ImageField",
1563
1584
  props: {
1564
1585
  field: {},
@@ -1593,7 +1614,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1593
1614
  enabled: h,
1594
1615
  onFiles: x
1595
1616
  });
1596
- return (t, n) => (s(), S(Ki, {
1617
+ return (t, n) => (s(), S(Qi, {
1597
1618
  label: e.field.label,
1598
1619
  required: e.field.required,
1599
1620
  "read-only": e.readOnly
@@ -1603,7 +1624,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1603
1624
  ref: f,
1604
1625
  class: "tpl:relative"
1605
1626
  }, [
1606
- h.value && (b(C) || m.value) ? (s(), v("div", Ji, [m.value ? (s(), v(A, { key: 0 }, [N(b(Re), {
1627
+ h.value && (b(C) || m.value) ? (s(), v("div", ea, [m.value ? (s(), v(A, { key: 0 }, [N(b(Re), {
1607
1628
  class: "tpl-spinner",
1608
1629
  size: 18,
1609
1630
  "stroke-width": 2
@@ -1619,14 +1640,14 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1619
1640
  placeholder: e.field.placeholder || "https://...",
1620
1641
  disabled: "",
1621
1642
  title: b(i).customBlocks.dataSource.readOnlyTooltip
1622
- }, null, 10, Yi)) : (s(), v("input", {
1643
+ }, null, 10, ta)) : (s(), v("input", {
1623
1644
  key: 2,
1624
1645
  type: "url",
1625
1646
  class: T(b(G)),
1626
1647
  value: e.modelValue,
1627
1648
  placeholder: e.field.placeholder || "https://...",
1628
1649
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1629
- }, null, 42, Xi)),
1650
+ }, null, 42, na)),
1630
1651
  c.value && !e.readOnly ? (s(), v("button", {
1631
1652
  key: 3,
1632
1653
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
@@ -1643,7 +1664,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1643
1664
  "read-only"
1644
1665
  ]));
1645
1666
  }
1646
- }), Qi = [
1667
+ }), ia = [
1647
1668
  "value",
1648
1669
  "placeholder",
1649
1670
  "min",
@@ -1651,7 +1672,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1651
1672
  "step",
1652
1673
  "disabled",
1653
1674
  "title"
1654
- ], $i = /* @__PURE__ */ M({
1675
+ ], aa = /* @__PURE__ */ M({
1655
1676
  __name: "NumberField",
1656
1677
  props: {
1657
1678
  field: {},
@@ -1661,7 +1682,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1661
1682
  emits: ["update:modelValue"],
1662
1683
  setup(e, { emit: t }) {
1663
1684
  let n = t, { t: r } = U();
1664
- return (t, i) => (s(), S(Ki, {
1685
+ return (t, i) => (s(), S(Qi, {
1665
1686
  label: e.field.label,
1666
1687
  required: e.field.required,
1667
1688
  "read-only": e.readOnly
@@ -1677,7 +1698,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1677
1698
  disabled: e.readOnly,
1678
1699
  title: e.readOnly ? b(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1679
1700
  onInput: i[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1680
- }, null, 42, Qi)]),
1701
+ }, null, 42, ia)]),
1681
1702
  _: 1
1682
1703
  }, 8, [
1683
1704
  "label",
@@ -1685,10 +1706,10 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1685
1706
  "read-only"
1686
1707
  ]));
1687
1708
  }
1688
- }), ea = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ta = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, na = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, ra = ["title", "onClick"], ia = {
1709
+ }), oa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, sa = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, ca = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, la = ["title", "onClick"], ua = {
1689
1710
  key: 1,
1690
1711
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1691
- }, aa = /* @__PURE__ */ M({
1712
+ }, da = /* @__PURE__ */ M({
1692
1713
  __name: "RepeatableField",
1693
1714
  props: {
1694
1715
  field: {},
@@ -1716,16 +1737,16 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1716
1737
  } : r);
1717
1738
  r("update:modelValue", i);
1718
1739
  }
1719
- return (t, n) => (s(), S(Ki, {
1740
+ return (t, n) => (s(), S(Qi, {
1720
1741
  label: e.field.label,
1721
1742
  required: e.field.required,
1722
1743
  "read-only": e.readOnly
1723
1744
  }, {
1724
- default: d(() => [E("div", ea, [
1745
+ default: d(() => [E("div", oa, [
1725
1746
  (s(!0), v(A, null, l(a.value, (t, n) => (s(), v("div", {
1726
1747
  key: `${e.field.key}-${n}`,
1727
1748
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1728
- }, [E("div", ta, [E("span", na, " #" + g(n + 1), 1), u.value && !e.readOnly ? (s(), v("button", {
1749
+ }, [E("div", sa, [E("span", ca, " #" + g(n + 1), 1), u.value && !e.readOnly ? (s(), v("button", {
1729
1750
  key: 0,
1730
1751
  type: "button",
1731
1752
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
@@ -1734,7 +1755,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1734
1755
  }, [N(b(st), {
1735
1756
  size: 12,
1736
1757
  "stroke-width": 2
1737
- })], 8, ra)) : y("", !0)]), (s(!0), v(A, null, l(e.field.fields, (r) => (s(), S(o(b(ma)(r.type)), {
1758
+ })], 8, la)) : y("", !0)]), (s(!0), v(A, null, l(e.field.fields, (r) => (s(), S(o(b(ba)(r.type)), {
1738
1759
  key: r.key,
1739
1760
  field: r,
1740
1761
  "model-value": t[r.key],
@@ -1755,7 +1776,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1755
1776
  size: 14,
1756
1777
  "stroke-width": 2
1757
1778
  }), j(" " + g(b(i).customBlocks.fields.addItem), 1)], 2)) : y("", !0),
1758
- !c.value && !e.readOnly ? (s(), v("p", ia, g(b(i).customBlocks.fields.maxItemsReached), 1)) : y("", !0)
1779
+ !c.value && !e.readOnly ? (s(), v("p", ua, g(b(i).customBlocks.fields.maxItemsReached), 1)) : y("", !0)
1759
1780
  ])]),
1760
1781
  _: 1
1761
1782
  }, 8, [
@@ -1764,11 +1785,11 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1764
1785
  "read-only"
1765
1786
  ]));
1766
1787
  }
1767
- }), oa = [
1788
+ }), fa = [
1768
1789
  "value",
1769
1790
  "disabled",
1770
1791
  "title"
1771
- ], sa = ["value"], ca = /* @__PURE__ */ M({
1792
+ ], pa = ["value"], ma = /* @__PURE__ */ M({
1772
1793
  __name: "SelectField",
1773
1794
  props: {
1774
1795
  field: {},
@@ -1778,7 +1799,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1778
1799
  emits: ["update:modelValue"],
1779
1800
  setup(e, { emit: t }) {
1780
1801
  let n = t, { t: r } = U();
1781
- return (t, i) => (s(), S(Ki, {
1802
+ return (t, i) => (s(), S(Qi, {
1782
1803
  label: e.field.label,
1783
1804
  required: e.field.required,
1784
1805
  "read-only": e.readOnly
@@ -1792,7 +1813,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1792
1813
  }, [(s(!0), v(A, null, l(e.field.options, (e) => (s(), v("option", {
1793
1814
  key: e.value,
1794
1815
  value: e.value
1795
- }, g(e.label), 9, sa))), 128))], 42, oa)]),
1816
+ }, g(e.label), 9, pa))), 128))], 42, fa)]),
1796
1817
  _: 1
1797
1818
  }, 8, [
1798
1819
  "label",
@@ -1800,11 +1821,11 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1800
1821
  "read-only"
1801
1822
  ]));
1802
1823
  }
1803
- }), la = [
1824
+ }), ha = [
1804
1825
  "value",
1805
1826
  "placeholder",
1806
1827
  "title"
1807
- ], ua = /* @__PURE__ */ M({
1828
+ ], ga = /* @__PURE__ */ M({
1808
1829
  __name: "TextField",
1809
1830
  props: {
1810
1831
  field: {},
@@ -1814,7 +1835,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1814
1835
  emits: ["update:modelValue"],
1815
1836
  setup(e, { emit: t }) {
1816
1837
  let n = t, { t: r } = U();
1817
- return (t, i) => (s(), S(Ki, {
1838
+ return (t, i) => (s(), S(Qi, {
1818
1839
  label: e.field.label,
1819
1840
  required: e.field.required,
1820
1841
  "read-only": e.readOnly
@@ -1827,7 +1848,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1827
1848
  placeholder: e.field.placeholder,
1828
1849
  disabled: "",
1829
1850
  title: b(r).customBlocks.dataSource.readOnlyTooltip
1830
- }, null, 10, la)) : (s(), S(Q, {
1851
+ }, null, 10, ha)) : (s(), S(Q, {
1831
1852
  key: 1,
1832
1853
  "model-value": e.modelValue,
1833
1854
  placeholder: e.field.placeholder,
@@ -1840,12 +1861,12 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1840
1861
  "read-only"
1841
1862
  ]));
1842
1863
  }
1843
- }), da = [
1864
+ }), _a = [
1844
1865
  "value",
1845
1866
  "placeholder",
1846
1867
  "title"
1847
- ], fa = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", pa = {
1848
- text: ua,
1868
+ ], va = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", ya = {
1869
+ text: ga,
1849
1870
  textarea: /* @__PURE__ */ M({
1850
1871
  __name: "TextareaField",
1851
1872
  props: {
@@ -1856,7 +1877,7 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1856
1877
  emits: ["update:modelValue"],
1857
1878
  setup(e, { emit: t }) {
1858
1879
  let n = t, { t: r } = U();
1859
- return (t, i) => (s(), S(Ki, {
1880
+ return (t, i) => (s(), S(Qi, {
1860
1881
  label: e.field.label,
1861
1882
  required: e.field.required,
1862
1883
  "read-only": e.readOnly
@@ -1868,8 +1889,8 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1868
1889
  rows: "3",
1869
1890
  disabled: "",
1870
1891
  title: b(r).customBlocks.dataSource.readOnlyTooltip,
1871
- class: T(fa)
1872
- }, null, 8, da)) : (s(), S(Un, {
1892
+ class: T(va)
1893
+ }, null, 8, _a)) : (s(), S(Un, {
1873
1894
  key: 1,
1874
1895
  "model-value": e.modelValue,
1875
1896
  placeholder: e.field.placeholder,
@@ -1883,37 +1904,37 @@ var wn = ["aria-label", "onKeydown"], Tn = ["data-tooltip"], En = ["data-tooltip
1883
1904
  ]));
1884
1905
  }
1885
1906
  }),
1886
- image: Zi,
1887
- color: qi,
1888
- number: $i,
1889
- select: ca,
1890
- boolean: Ui,
1891
- repeatable: aa
1907
+ image: ra,
1908
+ color: $i,
1909
+ number: aa,
1910
+ select: ma,
1911
+ boolean: Yi,
1912
+ repeatable: da
1892
1913
  };
1893
- function ma(e) {
1894
- return pa[e] ?? ua;
1914
+ function ba(e) {
1915
+ return ya[e] ?? ga;
1895
1916
  }
1896
1917
  //#endregion
1897
1918
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1898
- var ha = {
1919
+ var xa = {
1899
1920
  key: 0,
1900
1921
  class: "tpl:p-4"
1901
- }, ga = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, _a = { key: 1 }, va = {
1922
+ }, Sa = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ca = { key: 1 }, wa = {
1902
1923
  key: 0,
1903
1924
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1904
- }, ya = {
1925
+ }, Ta = {
1905
1926
  key: 1,
1906
1927
  class: "tpl:mb-4"
1907
- }, ba = {
1928
+ }, Ea = {
1908
1929
  key: 1,
1909
1930
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1910
- }, xa = {
1931
+ }, Da = {
1911
1932
  key: 0,
1912
1933
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1913
- }, Sa = {
1934
+ }, Oa = {
1914
1935
  key: 2,
1915
1936
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1916
- }, Ca = /* @__PURE__ */ M({
1937
+ }, ka = /* @__PURE__ */ M({
1917
1938
  __name: "CustomBlockToolbar",
1918
1939
  props: { block: {} },
1919
1940
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -1934,23 +1955,23 @@ var ha = {
1934
1955
  [e]: t
1935
1956
  });
1936
1957
  }
1937
- return (t, n) => c.value ? (s(), v("div", _a, [
1938
- c.value.description ? (s(), v("p", va, g(c.value.description), 1)) : y("", !0),
1939
- b(m) ? (s(), v("div", ya, [b(h) && !b(d) ? (s(), v("button", {
1958
+ return (t, n) => c.value ? (s(), v("div", Ca, [
1959
+ c.value.description ? (s(), v("p", wa, g(c.value.description), 1)) : y("", !0),
1960
+ b(m) ? (s(), v("div", Ta, [b(h) && !b(d) ? (s(), v("button", {
1940
1961
  key: 0,
1941
1962
  type: "button",
1942
1963
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:bg-[var(--tpl-primary)]",
1943
1964
  onClick: n[0] ||= (...e) => b(p) && b(p)(...e)
1944
- }, g(c.value?.dataSource?.label || b(i).customBlocks.dataSource.fetchButton), 1)) : (s(), v("div", ba, [b(d) ? (s(), v("div", xa, g(b(i).customBlocks.dataSource.fetching), 1)) : (s(), v("button", {
1965
+ }, g(c.value?.dataSource?.label || b(i).customBlocks.dataSource.fetchButton), 1)) : (s(), v("div", Ea, [b(d) ? (s(), v("div", Da, g(b(i).customBlocks.dataSource.fetching), 1)) : (s(), v("button", {
1945
1966
  key: 1,
1946
1967
  type: "button",
1947
1968
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
1948
1969
  onClick: n[1] ||= (...e) => b(p) && b(p)(...e)
1949
- }, [N(b(We), { size: 12 }), j(" " + g(b(i).customBlocks.dataSource.changeButton), 1)]))])), b(f) ? (s(), v("p", Sa, [N(b(Ye), {
1970
+ }, [N(b(We), { size: 12 }), j(" " + g(b(i).customBlocks.dataSource.changeButton), 1)]))])), b(f) ? (s(), v("p", Oa, [N(b(Ye), {
1950
1971
  size: 14,
1951
1972
  class: "tpl:shrink-0"
1952
1973
  }), j(" " + g(b(i).customBlocks.dataSource.fetchError), 1)])) : y("", !0)])) : y("", !0),
1953
- (s(!0), v(A, null, l(c.value.fields, (t) => (s(), S(o(b(ma)(t.type)), {
1974
+ (s(!0), v(A, null, l(c.value.fields, (t) => (s(), S(o(b(ba)(t.type)), {
1954
1975
  key: t.key,
1955
1976
  field: t,
1956
1977
  "model-value": e.block.fieldValues[t.key],
@@ -1962,9 +1983,9 @@ var ha = {
1962
1983
  "read-only",
1963
1984
  "onUpdate:modelValue"
1964
1985
  ]))), 128))
1965
- ])) : (s(), v("div", ha, [E("p", ga, g(b(i).customBlocks.toolbar.noDefinition), 1)]));
1986
+ ])) : (s(), v("div", xa, [E("p", Sa, g(b(i).customBlocks.toolbar.noDefinition), 1)]));
1966
1987
  }
1967
- }), wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:mb-3.5" }, Ea = { class: "tpl:mb-3.5" }, Da = { class: "tpl:flex tpl:items-stretch" }, Oa = ["value"], ka = /* @__PURE__ */ M({
1988
+ }), Aa = { class: "tpl:mb-3.5" }, ja = { class: "tpl:mb-3.5" }, Ma = { class: "tpl:mb-3.5" }, Na = { class: "tpl:flex tpl:items-stretch" }, Pa = ["value"], Fa = /* @__PURE__ */ M({
1968
1989
  __name: "DividerToolbar",
1969
1990
  props: { block: {} },
1970
1991
  emits: ["update"],
@@ -1974,7 +1995,7 @@ var ha = {
1974
1995
  n("update", { [e]: t });
1975
1996
  }
1976
1997
  return (t, n) => (s(), v(A, null, [
1977
- E("div", wa, [E("label", { class: T(b(K)) }, g(b(r).divider.style), 3), N(Z, {
1998
+ E("div", Aa, [E("label", { class: T(b(K)) }, g(b(r).divider.style), 3), N(Z, {
1978
1999
  options: [
1979
2000
  {
1980
2001
  value: "solid",
@@ -1992,27 +2013,27 @@ var ha = {
1992
2013
  "model-value": e.block.lineStyle,
1993
2014
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
1994
2015
  }, null, 8, ["options", "model-value"])]),
1995
- E("div", Ta, [E("label", { class: T(b(K)) }, g(b(r).divider.color), 3), N(Y, {
2016
+ E("div", ja, [E("label", { class: T(b(K)) }, g(b(r).divider.color), 3), N(Y, {
1996
2017
  "model-value": e.block.color,
1997
2018
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1998
2019
  }, null, 8, ["model-value"])]),
1999
- E("div", Ea, [E("label", { class: T(b(K)) }, g(b(r).divider.thickness), 3), E("div", Da, [E("input", {
2020
+ E("div", Ma, [E("label", { class: T(b(K)) }, g(b(r).divider.thickness), 3), E("div", Na, [E("input", {
2000
2021
  type: "number",
2001
2022
  class: T(b(J)),
2002
2023
  value: e.block.thickness,
2003
2024
  min: "1",
2004
2025
  max: "10",
2005
2026
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
2006
- }, null, 42, Oa), E("span", { class: T(b(q)) }, "px", 2)])])
2027
+ }, null, 42, Pa), E("span", { class: T(b(q)) }, "px", 2)])])
2007
2028
  ], 64));
2008
2029
  }
2009
- }), Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Na = /* @__PURE__ */ M({
2030
+ }), Ia = { class: "tpl:mb-3.5" }, La = ["value"], Ra = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, za = /* @__PURE__ */ M({
2010
2031
  __name: "HtmlToolbar",
2011
2032
  props: { block: {} },
2012
2033
  emits: ["update"],
2013
2034
  setup(e, { emit: t }) {
2014
2035
  let n = t, { t: r } = U();
2015
- return (t, i) => (s(), v("div", Aa, [
2036
+ return (t, i) => (s(), v("div", Ia, [
2016
2037
  E("label", { class: T(b(K)) }, g(b(r).html.content), 3),
2017
2038
  E("textarea", {
2018
2039
  value: e.block.content,
@@ -2020,27 +2041,27 @@ var ha = {
2020
2041
  rows: "10",
2021
2042
  class: T(b(Bt)),
2022
2043
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
2023
- }, null, 42, ja),
2024
- E("p", Ma, [N(b(ut), {
2044
+ }, null, 42, La),
2045
+ E("p", Ra, [N(b(ut), {
2025
2046
  size: 12,
2026
2047
  class: "tpl:mt-0.5 tpl:shrink-0"
2027
2048
  }), j(" " + g(b(r).html.sanitizationHint), 1)])
2028
2049
  ]));
2029
2050
  }
2030
- }), Pa = { class: "tpl:mb-3.5" }, Fa = {
2051
+ }), Ba = { class: "tpl:mb-3.5" }, Va = {
2031
2052
  key: 0,
2032
2053
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
2033
2054
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
2034
- }, Ia = {
2055
+ }, Ha = {
2035
2056
  key: 0,
2036
2057
  class: "tpl:mb-3.5"
2037
- }, La = ["value", "placeholder"], Ra = { class: "tpl:mb-3.5" }, za = { class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]" }, Ba = ["checked"], Va = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Ha = { class: "tpl:mb-3.5" }, Ua = ["value"], Wa = { value: "full" }, Ga = { value: "custom" }, Ka = {
2058
+ }, Ua = ["value", "placeholder"], Wa = { class: "tpl:mb-3.5" }, Ga = { class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]" }, Ka = ["checked"], qa = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Ja = { class: "tpl:mb-3.5" }, Ya = ["value"], Xa = { value: "full" }, Za = { value: "custom" }, Qa = {
2038
2059
  key: 0,
2039
2060
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2040
- }, qa = ["value"], Ja = { class: "tpl:mb-3.5" }, Ya = { class: "tpl:mb-3.5" }, Xa = {
2061
+ }, $a = ["value"], eo = { class: "tpl:mb-3.5" }, to = { class: "tpl:mb-3.5" }, no = {
2041
2062
  key: 0,
2042
2063
  class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
2043
- }, Za = ["checked"], Qa = 350, $a = /* @__PURE__ */ M({
2064
+ }, ro = ["checked"], io = 350, ao = /* @__PURE__ */ M({
2044
2065
  __name: "ImageToolbar",
2045
2066
  props: { block: {} },
2046
2067
  emits: ["update"],
@@ -2061,7 +2082,7 @@ var ha = {
2061
2082
  function C(e) {
2062
2083
  if (e === "custom") {
2063
2084
  let e = n.block.width;
2064
- (typeof e != "number" || h.includes(e)) && S("width", Qa);
2085
+ (typeof e != "number" || h.includes(e)) && S("width", io);
2065
2086
  return;
2066
2087
  }
2067
2088
  S("width", e === "full" ? "full" : Number(e));
@@ -2096,12 +2117,12 @@ var ha = {
2096
2117
  onFiles: F
2097
2118
  });
2098
2119
  return (t, n) => (s(), v(A, null, [
2099
- E("div", Pa, [E("label", { class: T(b(K)) }, g(b(i).image.imageUrl), 3), E("div", {
2120
+ E("div", Ba, [E("label", { class: T(b(K)) }, g(b(i).image.imageUrl), 3), E("div", {
2100
2121
  ref_key: "dropZoneRef",
2101
2122
  ref: O,
2102
2123
  class: "tpl:relative"
2103
2124
  }, [
2104
- P.value && (b(I) || k.value) ? (s(), v("div", Fa, [k.value ? (s(), v(A, { key: 0 }, [N(b(Re), {
2125
+ P.value && (b(I) || k.value) ? (s(), v("div", Va, [k.value ? (s(), v(A, { key: 0 }, [N(b(Re), {
2105
2126
  class: "tpl-spinner",
2106
2127
  size: 18,
2107
2128
  "stroke-width": 2
@@ -2134,14 +2155,14 @@ var ha = {
2134
2155
  "stroke-width": 1.5
2135
2156
  }), j(" " + g(b(i).image.browseMedia), 1)])) : y("", !0)
2136
2157
  ], 512)]),
2137
- b(L)(e.block.src, b(o)) ? (s(), v("div", Ia, [E("label", { class: T(b(K)) }, [j(g(b(i).image.placeholderUrl) + " ", 1), n[9] ||= E("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, g("(optional)"), -1)], 2), E("input", {
2158
+ b(L)(e.block.src, b(o)) ? (s(), v("div", Ha, [E("label", { class: T(b(K)) }, [j(g(b(i).image.placeholderUrl) + " ", 1), n[9] ||= E("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, g("(optional)"), -1)], 2), E("input", {
2138
2159
  type: "url",
2139
2160
  class: T(b(G)),
2140
2161
  value: e.block.placeholderUrl || "",
2141
2162
  placeholder: b(i).image.placeholderUrlPlaceholder,
2142
2163
  onInput: n[1] ||= (e) => S("placeholderUrl", e.target.value)
2143
- }, null, 42, La)])) : y("", !0),
2144
- E("div", Ra, [
2164
+ }, null, 42, Ua)])) : y("", !0),
2165
+ E("div", Wa, [
2145
2166
  E("label", { class: T(b(K)) }, g(b(i).image.altText), 3),
2146
2167
  N(Q, {
2147
2168
  "model-value": e.block.alt,
@@ -2156,35 +2177,35 @@ var ha = {
2156
2177
  "pulse",
2157
2178
  "disabled"
2158
2179
  ]),
2159
- E("label", za, [E("input", {
2180
+ E("label", Ga, [E("input", {
2160
2181
  type: "checkbox",
2161
2182
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
2162
2183
  checked: e.block.decorative === !0,
2163
2184
  onChange: n[3] ||= (e) => S("decorative", e.target.checked)
2164
- }, null, 40, Ba), E("span", null, [j(g(b(i).image.decorative) + " ", 1), E("span", Va, g(b(i).image.decorativeHint), 1)])])
2185
+ }, null, 40, Ka), E("span", null, [j(g(b(i).image.decorative) + " ", 1), E("span", qa, g(b(i).image.decorativeHint), 1)])])
2165
2186
  ]),
2166
- E("div", Ha, [
2187
+ E("div", Ja, [
2167
2188
  E("label", { class: T(b(K)) }, g(b(i).image.width), 3),
2168
2189
  E("select", {
2169
2190
  class: T(b(G)),
2170
2191
  value: x.value,
2171
2192
  onChange: n[4] ||= (e) => C(e.target.value)
2172
2193
  }, [
2173
- E("option", Wa, g(b(i).image.fullWidth), 1),
2194
+ E("option", Xa, g(b(i).image.fullWidth), 1),
2174
2195
  n[10] ||= E("option", { value: "300" }, "300px", -1),
2175
2196
  n[11] ||= E("option", { value: "400" }, "400px", -1),
2176
2197
  n[12] ||= E("option", { value: "500" }, "500px", -1),
2177
- E("option", Ga, g(b(i).image.widthCustom), 1)
2178
- ], 42, Ua),
2179
- x.value === "custom" ? (s(), v("div", Ka, [E("input", {
2198
+ E("option", Za, g(b(i).image.widthCustom), 1)
2199
+ ], 42, Ya),
2200
+ x.value === "custom" ? (s(), v("div", Qa, [E("input", {
2180
2201
  type: "number",
2181
2202
  class: T(b(J)),
2182
- value: typeof e.block.width == "number" ? e.block.width : Qa,
2203
+ value: typeof e.block.width == "number" ? e.block.width : io,
2183
2204
  min: "20",
2184
2205
  onInput: n[5] ||= (e) => w(e.target.value)
2185
- }, null, 42, qa), E("span", { class: T(b(q)) }, "px", 2)])) : y("", !0)
2206
+ }, null, 42, $a), E("span", { class: T(b(q)) }, "px", 2)])) : y("", !0)
2186
2207
  ]),
2187
- E("div", Ja, [E("label", { class: T(b(K)) }, g(b(i).title.align), 3), N(Z, {
2208
+ E("div", eo, [E("label", { class: T(b(K)) }, g(b(i).title.align), 3), N(Z, {
2188
2209
  options: [
2189
2210
  {
2190
2211
  value: "left",
@@ -2202,7 +2223,7 @@ var ha = {
2202
2223
  "model-value": e.block.align,
2203
2224
  "onUpdate:modelValue": n[6] ||= (e) => S("align", e)
2204
2225
  }, null, 8, ["options", "model-value"])]),
2205
- E("div", Ya, [
2226
+ E("div", to, [
2206
2227
  E("label", { class: T(b(K)) }, g(b(i).image.linkUrl), 3),
2207
2228
  N(Q, {
2208
2229
  "model-value": e.block.linkUrl || "",
@@ -2210,20 +2231,20 @@ var ha = {
2210
2231
  placeholder: b(i).image.imageUrlPlaceholder,
2211
2232
  "onUpdate:modelValue": n[7] ||= (e) => S("linkUrl", e)
2212
2233
  }, null, 8, ["model-value", "placeholder"]),
2213
- e.block.linkUrl ? (s(), v("label", Xa, [E("input", {
2234
+ e.block.linkUrl ? (s(), v("label", no, [E("input", {
2214
2235
  type: "checkbox",
2215
2236
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
2216
2237
  checked: e.block.linkOpenInNewTab ?? !1,
2217
2238
  onChange: n[8] ||= (e) => S("linkOpenInNewTab", e.target.checked)
2218
- }, null, 40, Za), j(" " + g(b(i).image.openInNewTab), 1)])) : y("", !0)
2239
+ }, null, 40, ro), j(" " + g(b(i).image.openInNewTab), 1)])) : y("", !0)
2219
2240
  ])
2220
2241
  ], 64));
2221
2242
  }
2222
- }), eo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, to = { class: "tpl:flex tpl:items-center tpl:gap-2" }, no = [
2243
+ }), oo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, so = { class: "tpl:flex tpl:items-center tpl:gap-2" }, co = [
2223
2244
  "value",
2224
2245
  "placeholder",
2225
2246
  "onInput"
2226
- ], ro = ["title", "onClick"], io = { class: "tpl:flex tpl:items-center tpl:gap-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ao = ["checked", "onChange"], oo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, so = ["value"], co = { value: "" }, lo = ["value"], uo = ["value"], fo = /* @__PURE__ */ M({
2247
+ ], lo = ["title", "onClick"], uo = { class: "tpl:flex tpl:items-center tpl:gap-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, fo = ["checked", "onChange"], po = { class: "tpl:flex tpl:items-center tpl:gap-2" }, mo = ["value"], ho = { value: "" }, go = ["value"], _o = ["value"], vo = /* @__PURE__ */ M({
2227
2248
  __name: "MenuToolbar",
2228
2249
  props: {
2229
2250
  block: {},
@@ -2287,24 +2308,24 @@ var ha = {
2287
2308
  }
2288
2309
  return (t, n) => (s(), v(A, null, [
2289
2310
  N(X, { label: b(i).menu.items }, {
2290
- default: d(() => [E("div", eo, [(s(!0), v(A, null, l(e.block.items, (t) => (s(), v("div", {
2311
+ default: d(() => [E("div", oo, [(s(!0), v(A, null, l(e.block.items, (t) => (s(), v("div", {
2291
2312
  key: t.id,
2292
2313
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2293
2314
  }, [
2294
- E("div", to, [E("input", {
2315
+ E("div", so, [E("input", {
2295
2316
  type: "text",
2296
2317
  class: T([b(G), "tpl:flex-1"]),
2297
2318
  value: t.text,
2298
2319
  placeholder: b(i).menu.text,
2299
2320
  onInput: (e) => f(t.id, "text", e.target.value)
2300
- }, null, 42, no), E("button", {
2321
+ }, null, 42, co), E("button", {
2301
2322
  class: T(b(Rt)),
2302
2323
  title: b(i).menu.removeItem,
2303
2324
  onClick: (e) => p(t.id)
2304
2325
  }, [N(b(it), {
2305
2326
  size: 14,
2306
2327
  "stroke-width": 2
2307
- })], 10, ro)]),
2328
+ })], 10, lo)]),
2308
2329
  N(Q, {
2309
2330
  "model-value": t.url,
2310
2331
  type: "url",
@@ -2315,7 +2336,7 @@ var ha = {
2315
2336
  "placeholder",
2316
2337
  "onUpdate:modelValue"
2317
2338
  ]),
2318
- E("div", io, [(s(!0), v(A, null, l(a.value, (e) => (s(), v("label", {
2339
+ E("div", uo, [(s(!0), v(A, null, l(a.value, (e) => (s(), v("label", {
2319
2340
  key: e.key,
2320
2341
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1"
2321
2342
  }, [E("input", {
@@ -2323,10 +2344,10 @@ var ha = {
2323
2344
  checked: t[e.key],
2324
2345
  class: "tpl:accent-[var(--tpl-primary)]",
2325
2346
  onChange: (n) => f(t.id, e.key, n.target.checked)
2326
- }, null, 40, ao), j(" " + g(e.label), 1)]))), 128))]),
2327
- E("div", oo, [E("label", { class: T([b(K), "tpl:!mb-0"]) }, g(b(i).menu.color), 3), N(Y, {
2347
+ }, null, 40, fo), j(" " + g(e.label), 1)]))), 128))]),
2348
+ E("div", po, [E("label", { class: T([b(K), "tpl:!mb-0"]) }, g(b(i).menu.color), 3), N(Y, {
2328
2349
  "swatch-only": "",
2329
- "model-value": t.color || e.block.linkColor || e.block.color,
2350
+ "model-value": t.color || e.block.linkColor || e.block.color || "",
2330
2351
  "onUpdate:modelValue": (e) => f(t.id, "color", e)
2331
2352
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
2332
2353
  ]))), 128)), E("button", {
@@ -2343,10 +2364,10 @@ var ha = {
2343
2364
  class: T(b(G)),
2344
2365
  value: e.block.fontFamily || "",
2345
2366
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
2346
- }, [E("option", co, g(b(i).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2367
+ }, [E("option", ho, g(b(i).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2347
2368
  key: e.value,
2348
2369
  value: e.value
2349
- }, g(e.label), 9, lo))), 128))], 42, so)]),
2370
+ }, g(e.label), 9, go))), 128))], 42, mo)]),
2350
2371
  _: 1
2351
2372
  }, 8, ["label"]),
2352
2373
  N(X, { label: b(i).menu.fontSize }, {
@@ -2361,14 +2382,14 @@ var ha = {
2361
2382
  }, 8, ["label"]),
2362
2383
  N(X, { label: b(i).menu.color }, {
2363
2384
  default: d(() => [N(Y, {
2364
- "model-value": e.block.color,
2365
- "onUpdate:modelValue": n[2] ||= (e) => c("color", e)
2385
+ "model-value": e.block.color ?? "",
2386
+ "onUpdate:modelValue": n[2] ||= (e) => c("color", e || void 0)
2366
2387
  }, null, 8, ["model-value"])]),
2367
2388
  _: 1
2368
2389
  }, 8, ["label"]),
2369
2390
  N(X, { label: b(i).menu.linkColor }, {
2370
2391
  default: d(() => [N(Y, {
2371
- "model-value": e.block.linkColor || e.block.color,
2392
+ "model-value": e.block.linkColor || e.block.color || "",
2372
2393
  "onUpdate:modelValue": n[3] ||= (e) => c("linkColor", e || void 0)
2373
2394
  }, null, 8, ["model-value"])]),
2374
2395
  _: 1
@@ -2387,7 +2408,7 @@ var ha = {
2387
2408
  class: T(b(G)),
2388
2409
  value: e.block.separator,
2389
2410
  onInput: n[5] ||= (e) => c("separator", e.target.value)
2390
- }, null, 42, uo)]),
2411
+ }, null, 42, _o)]),
2391
2412
  _: 1
2392
2413
  }, 8, ["label"]),
2393
2414
  N(X, { label: b(i).menu.separatorColor }, {
@@ -2412,11 +2433,11 @@ var ha = {
2412
2433
  });
2413
2434
  //#endregion
2414
2435
  //#region src/utils/rebalanceColumnChildren.ts
2415
- function po(e) {
2436
+ function yo(e) {
2416
2437
  return e === "1" ? 1 : e === "3" ? 3 : 2;
2417
2438
  }
2418
- function mo(e, t) {
2419
- let n = po(t);
2439
+ function bo(e, t) {
2440
+ let n = yo(t);
2420
2441
  if (e.length === n) return e;
2421
2442
  if (e.length < n) {
2422
2443
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2427,10 +2448,10 @@ function mo(e, t) {
2427
2448
  }
2428
2449
  //#endregion
2429
2450
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2430
- var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class: "tpl:mb-3.5" }, yo = { class: "tpl:flex tpl:items-stretch" }, bo = ["value"], xo = { class: "tpl:mb-3.5" }, So = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, Co = ["checked"], wo = {
2451
+ var xo = { class: "tpl:mb-3.5" }, So = ["value"], Co = ["value"], wo = { class: "tpl:mb-3.5" }, To = { class: "tpl:flex tpl:items-stretch" }, Eo = ["value"], Do = { class: "tpl:mb-3.5" }, Oo = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, ko = ["checked"], Ao = {
2431
2452
  key: 0,
2432
2453
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2433
- }, To = { class: "tpl:flex tpl:items-stretch" }, Eo = ["value"], Do = /* @__PURE__ */ M({
2454
+ }, jo = { class: "tpl:flex tpl:items-stretch" }, Mo = ["value"], No = /* @__PURE__ */ M({
2434
2455
  __name: "SectionToolbar",
2435
2456
  props: { block: {} },
2436
2457
  emits: ["update"],
@@ -2458,7 +2479,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2458
2479
  }
2459
2480
  ]);
2460
2481
  function o(e) {
2461
- let t = e.target.value, i = mo(n.block.children, t);
2482
+ let t = e.target.value, i = bo(n.block.children, t);
2462
2483
  r("update", {
2463
2484
  columns: t,
2464
2485
  children: i
@@ -2489,33 +2510,33 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2489
2510
  d({ borderRadius: Number(e.target.value) });
2490
2511
  }
2491
2512
  return (t, n) => (s(), v(A, null, [
2492
- E("div", ho, [E("label", { class: T(b(K)) }, g(b(i).section.columns), 3), E("select", {
2513
+ E("div", xo, [E("label", { class: T(b(K)) }, g(b(i).section.columns), 3), E("select", {
2493
2514
  class: T(b(G)),
2494
2515
  value: e.block.columns,
2495
2516
  onChange: o
2496
2517
  }, [(s(!0), v(A, null, l(a.value, (e) => (s(), v("option", {
2497
2518
  key: e.value,
2498
2519
  value: e.value
2499
- }, g(e.label), 9, _o))), 128))], 42, go)]),
2500
- E("div", vo, [E("label", { class: T(b(K)) }, g(b(i).section.borderRadius), 3), E("div", yo, [E("input", {
2520
+ }, g(e.label), 9, Co))), 128))], 42, So)]),
2521
+ E("div", wo, [E("label", { class: T(b(K)) }, g(b(i).section.borderRadius), 3), E("div", To, [E("input", {
2501
2522
  type: "number",
2502
2523
  class: T(b(J)),
2503
2524
  value: e.block.borderRadius ?? 0,
2504
2525
  min: "0",
2505
2526
  max: "50",
2506
2527
  onInput: c
2507
- }, null, 42, bo), E("span", { class: T(b(q)) }, "px", 2)])]),
2508
- E("div", xo, [E("label", So, [E("input", {
2528
+ }, null, 42, Eo), E("span", { class: T(b(q)) }, "px", 2)])]),
2529
+ E("div", Do, [E("label", Oo, [E("input", {
2509
2530
  type: "checkbox",
2510
2531
  class: "tpl:accent-[var(--tpl-primary)]",
2511
2532
  checked: !!e.block.wrapper,
2512
2533
  onChange: n[0] ||= (e) => u(e.target.checked)
2513
- }, null, 40, Co), j(" " + g(b(i).section.wrapperEnable), 1)]), e.block.wrapper ? (s(), v("div", wo, [
2534
+ }, null, 40, ko), j(" " + g(b(i).section.wrapperEnable), 1)]), e.block.wrapper ? (s(), v("div", Ao, [
2514
2535
  E("div", null, [E("label", { class: T(b(K)) }, g(b(i).blockSettings.color), 3), N(Y, {
2515
2536
  "model-value": e.block.wrapper.backgroundColor ?? "",
2516
2537
  "onUpdate:modelValue": n[1] ||= (e) => d({ backgroundColor: e })
2517
2538
  }, null, 8, ["model-value"])]),
2518
- N(_i, {
2539
+ N(Ci, {
2519
2540
  label: b(i).blockSettings.padding,
2520
2541
  "model-value": e.block.wrapper.padding ?? {
2521
2542
  top: 0,
@@ -2525,18 +2546,18 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2525
2546
  },
2526
2547
  "onUpdate:modelValue": f
2527
2548
  }, null, 8, ["label", "model-value"]),
2528
- E("div", null, [E("label", { class: T(b(K)) }, g(b(i).section.borderRadius), 3), E("div", To, [E("input", {
2549
+ E("div", null, [E("label", { class: T(b(K)) }, g(b(i).section.borderRadius), 3), E("div", jo, [E("input", {
2529
2550
  type: "number",
2530
2551
  class: T(b(J)),
2531
2552
  value: e.block.wrapper.borderRadius ?? 0,
2532
2553
  min: "0",
2533
2554
  max: "50",
2534
2555
  onInput: p
2535
- }, null, 42, Eo), E("span", { class: T(b(q)) }, "px", 2)])])
2556
+ }, null, 42, Mo), E("span", { class: T(b(q)) }, "px", 2)])])
2536
2557
  ])) : y("", !0)])
2537
2558
  ], 64));
2538
2559
  }
2539
- }), Oo = { class: "tpl:mb-3.5" }, ko = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ao = { class: "tpl:flex tpl:items-center tpl:gap-2" }, jo = ["value", "onChange"], Mo = ["value"], No = ["title", "onClick"], Po = { class: "tpl:mb-3.5" }, Fo = ["value"], Io = { value: "solid" }, Lo = { value: "outlined" }, Ro = { value: "rounded" }, zo = { value: "square" }, Bo = { value: "circle" }, Vo = { class: "tpl:mb-3.5" }, Ho = { class: "tpl:mb-3.5" }, Uo = { class: "tpl:flex tpl:items-stretch" }, Wo = ["value"], Go = { class: "tpl:mb-3.5" }, Ko = /* @__PURE__ */ M({
2560
+ }), Po = { class: "tpl:mb-3.5" }, Fo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Io = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Lo = ["value", "onChange"], Ro = ["value"], zo = ["title", "onClick"], Bo = { class: "tpl:mb-3.5" }, Vo = ["value"], Ho = { value: "solid" }, Uo = { value: "outlined" }, Wo = { value: "rounded" }, Go = { value: "square" }, Ko = { value: "circle" }, qo = { class: "tpl:mb-3.5" }, Jo = { class: "tpl:mb-3.5" }, Yo = { class: "tpl:flex tpl:items-stretch" }, Xo = ["value"], Zo = { class: "tpl:mb-3.5" }, Qo = /* @__PURE__ */ M({
2540
2561
  __name: "SocialToolbar",
2541
2562
  props: { block: {} },
2542
2563
  emits: ["update"],
@@ -2564,10 +2585,10 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2564
2585
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2565
2586
  }
2566
2587
  return (t, n) => (s(), v(A, null, [
2567
- E("div", Oo, [E("label", { class: T(b(K)) }, g(b(i).social.icons), 3), E("div", ko, [(s(!0), v(A, null, l(e.block.icons, (e) => (s(), v("div", {
2588
+ E("div", Po, [E("label", { class: T(b(K)) }, g(b(i).social.icons), 3), E("div", Fo, [(s(!0), v(A, null, l(e.block.icons, (e) => (s(), v("div", {
2568
2589
  key: e.id,
2569
2590
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2570
- }, [E("div", Ao, [E("select", {
2591
+ }, [E("div", Io, [E("select", {
2571
2592
  "data-testid": "social-platform-select",
2572
2593
  class: T([b(G), "tpl:flex-1"]),
2573
2594
  value: e.platform,
@@ -2575,14 +2596,14 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2575
2596
  }, [(s(!0), v(A, null, l(b(ne), (e) => (s(), v("option", {
2576
2597
  key: e,
2577
2598
  value: e
2578
- }, g(b(i).social.platforms[e]), 9, Mo))), 128))], 42, jo), E("button", {
2599
+ }, g(b(i).social.platforms[e]), 9, Ro))), 128))], 42, Lo), E("button", {
2579
2600
  class: T(b(Rt)),
2580
2601
  title: b(i).social.removeIcon,
2581
2602
  onClick: (t) => u(e.id)
2582
2603
  }, [N(b(it), {
2583
2604
  size: 14,
2584
2605
  "stroke-width": 2
2585
- })], 10, No)]), N(Q, {
2606
+ })], 10, zo)]), N(Q, {
2586
2607
  "model-value": e.url,
2587
2608
  type: "url",
2588
2609
  placeholder: b(i).social.urlPlaceholder,
@@ -2598,18 +2619,18 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2598
2619
  size: 14,
2599
2620
  "stroke-width": 2
2600
2621
  }), j(" " + g(b(i).social.addIcon), 1)], 2)])]),
2601
- E("div", Po, [E("label", { class: T(b(K)) }, g(b(i).social.style), 3), E("select", {
2622
+ E("div", Bo, [E("label", { class: T(b(K)) }, g(b(i).social.style), 3), E("select", {
2602
2623
  class: T(b(G)),
2603
2624
  value: e.block.iconStyle,
2604
2625
  onChange: n[0] ||= (e) => a("iconStyle", e.target.value)
2605
2626
  }, [
2606
- E("option", Io, g(b(i).social.styleSolid), 1),
2607
- E("option", Lo, g(b(i).social.styleOutlined), 1),
2608
- E("option", Ro, g(b(i).social.styleRounded), 1),
2609
- E("option", zo, g(b(i).social.styleSquare), 1),
2610
- E("option", Bo, g(b(i).social.styleCircle), 1)
2611
- ], 42, Fo)]),
2612
- E("div", Vo, [E("label", { class: T(b(K)) }, g(b(i).social.size), 3), N(Z, {
2627
+ E("option", Ho, g(b(i).social.styleSolid), 1),
2628
+ E("option", Uo, g(b(i).social.styleOutlined), 1),
2629
+ E("option", Wo, g(b(i).social.styleRounded), 1),
2630
+ E("option", Go, g(b(i).social.styleSquare), 1),
2631
+ E("option", Ko, g(b(i).social.styleCircle), 1)
2632
+ ], 42, Vo)]),
2633
+ E("div", qo, [E("label", { class: T(b(K)) }, g(b(i).social.size), 3), N(Z, {
2613
2634
  options: [
2614
2635
  {
2615
2636
  value: "small",
@@ -2627,15 +2648,15 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2627
2648
  "model-value": e.block.iconSize,
2628
2649
  "onUpdate:modelValue": n[1] ||= (e) => a("iconSize", e)
2629
2650
  }, null, 8, ["options", "model-value"])]),
2630
- E("div", Ho, [E("label", { class: T(b(K)) }, g(b(i).social.spacing), 3), E("div", Uo, [E("input", {
2651
+ E("div", Jo, [E("label", { class: T(b(K)) }, g(b(i).social.spacing), 3), E("div", Yo, [E("input", {
2631
2652
  type: "number",
2632
2653
  class: T(b(J)),
2633
2654
  value: e.block.spacing,
2634
2655
  min: "0",
2635
2656
  max: "50",
2636
2657
  onInput: n[2] ||= (e) => a("spacing", Number(e.target.value))
2637
- }, null, 42, Wo), E("span", { class: T(b(q)) }, "px", 2)])]),
2638
- E("div", Go, [E("label", { class: T(b(K)) }, g(b(i).social.align), 3), N(Z, {
2658
+ }, null, 42, Xo), E("span", { class: T(b(q)) }, "px", 2)])]),
2659
+ E("div", Zo, [E("label", { class: T(b(K)) }, g(b(i).social.align), 3), N(Z, {
2639
2660
  options: [
2640
2661
  {
2641
2662
  value: "left",
@@ -2658,22 +2679,22 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2658
2679
  }, null, 8, ["options", "model-value"])])
2659
2680
  ], 64));
2660
2681
  }
2661
- }), qo = { class: "tpl:mb-3.5" }, Jo = { class: "tpl:flex tpl:items-stretch" }, Yo = ["value"], Xo = ["value"], Zo = /* @__PURE__ */ M({
2682
+ }), $o = { class: "tpl:mb-3.5" }, es = { class: "tpl:flex tpl:items-stretch" }, ts = ["value"], ns = ["value"], rs = /* @__PURE__ */ M({
2662
2683
  __name: "SpacerToolbar",
2663
2684
  props: { block: {} },
2664
2685
  emits: ["update"],
2665
2686
  setup(e, { emit: t }) {
2666
2687
  let n = t, { t: r } = U();
2667
- return (t, i) => (s(), v("div", qo, [
2688
+ return (t, i) => (s(), v("div", $o, [
2668
2689
  E("label", { class: T(b(K)) }, g(b(r).spacer.height), 3),
2669
- E("div", Jo, [E("input", {
2690
+ E("div", es, [E("input", {
2670
2691
  type: "number",
2671
2692
  class: T(b(J)),
2672
2693
  value: e.block.height,
2673
2694
  min: "10",
2674
2695
  max: "100",
2675
2696
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
2676
- }, null, 42, Yo), E("span", { class: T(b(q)) }, "px", 2)]),
2697
+ }, null, 42, ts), E("span", { class: T(b(q)) }, "px", 2)]),
2677
2698
  E("input", {
2678
2699
  type: "range",
2679
2700
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2681,13 +2702,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2681
2702
  min: "10",
2682
2703
  max: "100",
2683
2704
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
2684
- }, null, 40, Xo)
2705
+ }, null, 40, ns)
2685
2706
  ]));
2686
2707
  }
2687
- }), Qo = { class: "tpl:mb-3.5" }, $o = { class: "tpl:flex tpl:items-center tpl:gap-3" }, es = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ts = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ns = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, rs = ["disabled"], is = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, as = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, os = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ss = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, cs = ["disabled"], ls = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, us = { class: "tpl:mb-3.5" }, ds = { class: "tpl:mb-1.5 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, fs = ["checked"], ps = {
2708
+ }), is = { class: "tpl:mb-3.5" }, as = { class: "tpl:flex tpl:items-center tpl:gap-3" }, os = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ss = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, cs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ls = ["disabled"], us = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ds = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, fs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ps = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ms = ["disabled"], hs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, gs = { class: "tpl:mb-3.5" }, _s = { class: "tpl:mb-1.5 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vs = ["checked"], ys = {
2688
2709
  key: 0,
2689
2710
  class: "tpl:mb-3.5"
2690
- }, ms = { class: "tpl:mb-3.5" }, hs = { class: "tpl:mb-3.5" }, gs = { class: "tpl:flex tpl:items-stretch" }, _s = ["value"], vs = { class: "tpl:mb-3.5" }, ys = { class: "tpl:flex tpl:items-stretch" }, bs = ["value"], xs = { class: "tpl:mb-3.5" }, Ss = ["value"], Cs = { value: "" }, ws = ["value"], Ts = { class: "tpl:mb-3.5" }, Es = { class: "tpl:flex tpl:items-stretch" }, Ds = ["value"], Os = { class: "tpl:mb-3.5" }, ks = { class: "tpl:mb-3.5" }, As = /* @__PURE__ */ M({
2711
+ }, bs = { class: "tpl:mb-3.5" }, xs = { class: "tpl:mb-3.5" }, Ss = { class: "tpl:flex tpl:items-stretch" }, Cs = ["value"], ws = { class: "tpl:mb-3.5" }, Ts = { class: "tpl:flex tpl:items-stretch" }, Es = ["value"], Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = { value: "" }, As = ["value"], js = { class: "tpl:mb-3.5" }, Ms = { class: "tpl:flex tpl:items-stretch" }, Ns = ["value"], Ps = { class: "tpl:mb-3.5" }, Fs = { class: "tpl:mb-3.5" }, Is = /* @__PURE__ */ M({
2691
2712
  __name: "TableToolbar",
2692
2713
  props: {
2693
2714
  block: {},
@@ -2730,7 +2751,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2730
2751
  r("update", { rows: t });
2731
2752
  }
2732
2753
  return (t, n) => (s(), v(A, null, [
2733
- E("div", Qo, [E("label", { class: T(b(K)) }, g(b(i).table.dimensions), 3), E("div", $o, [E("div", es, [E("span", ts, g(b(i).table.rows), 1), E("div", ns, [
2754
+ E("div", is, [E("label", { class: T(b(K)) }, g(b(i).table.dimensions), 3), E("div", as, [E("div", os, [E("span", ss, g(b(i).table.rows), 1), E("div", cs, [
2734
2755
  E("button", {
2735
2756
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
2736
2757
  disabled: e.block.rows.length <= 1,
@@ -2738,8 +2759,8 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2738
2759
  }, [N(b(bt), {
2739
2760
  size: 12,
2740
2761
  "stroke-width": 2
2741
- })], 8, rs),
2742
- E("span", is, g(e.block.rows.length), 1),
2762
+ })], 8, ls),
2763
+ E("span", us, g(e.block.rows.length), 1),
2743
2764
  E("button", {
2744
2765
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
2745
2766
  onClick: c
@@ -2747,7 +2768,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2747
2768
  size: 12,
2748
2769
  "stroke-width": 2
2749
2770
  })])
2750
- ])]), E("div", as, [E("span", os, g(b(i).table.columns), 1), E("div", ss, [
2771
+ ])]), E("div", ds, [E("span", fs, g(b(i).table.columns), 1), E("div", ps, [
2751
2772
  E("button", {
2752
2773
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
2753
2774
  disabled: a.value <= 1,
@@ -2755,8 +2776,8 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2755
2776
  }, [N(b(bt), {
2756
2777
  size: 12,
2757
2778
  "stroke-width": 2
2758
- })], 8, cs),
2759
- E("span", ls, g(a.value), 1),
2779
+ })], 8, ms),
2780
+ E("span", hs, g(a.value), 1),
2760
2781
  E("button", {
2761
2782
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
2762
2783
  onClick: d
@@ -2765,13 +2786,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2765
2786
  "stroke-width": 2
2766
2787
  })])
2767
2788
  ])])])]),
2768
- E("div", us, [E("label", ds, [E("input", {
2789
+ E("div", gs, [E("label", _s, [E("input", {
2769
2790
  type: "checkbox",
2770
2791
  checked: e.block.hasHeaderRow,
2771
2792
  class: "tpl:accent-[var(--tpl-primary)]",
2772
2793
  onChange: n[2] ||= (e) => o("hasHeaderRow", e.target.checked)
2773
- }, null, 40, fs), j(" " + g(b(i).table.hasHeaderRow), 1)])]),
2774
- e.block.hasHeaderRow ? (s(), v("div", ps, [E("label", { class: T(b(K)) }, g(b(i).table.headerBackgroundColor), 3), N(Y, {
2794
+ }, null, 40, vs), j(" " + g(b(i).table.hasHeaderRow), 1)])]),
2795
+ e.block.hasHeaderRow ? (s(), v("div", ys, [E("label", { class: T(b(K)) }, g(b(i).table.headerBackgroundColor), 3), N(Y, {
2775
2796
  "model-value": e.block.headerBackgroundColor ?? "",
2776
2797
  "seed-color": b(Ht),
2777
2798
  placeholder: b(i).table.noHeaderBg,
@@ -2781,47 +2802,47 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2781
2802
  "seed-color",
2782
2803
  "placeholder"
2783
2804
  ])])) : y("", !0),
2784
- E("div", ms, [E("label", { class: T(b(K)) }, g(b(i).table.borderColor), 3), N(Y, {
2805
+ E("div", bs, [E("label", { class: T(b(K)) }, g(b(i).table.borderColor), 3), N(Y, {
2785
2806
  "model-value": e.block.borderColor,
2786
2807
  "onUpdate:modelValue": n[4] ||= (e) => o("borderColor", e)
2787
2808
  }, null, 8, ["model-value"])]),
2788
- E("div", hs, [E("label", { class: T(b(K)) }, g(b(i).table.borderWidth), 3), E("div", gs, [E("input", {
2809
+ E("div", xs, [E("label", { class: T(b(K)) }, g(b(i).table.borderWidth), 3), E("div", Ss, [E("input", {
2789
2810
  type: "number",
2790
2811
  class: T(b(J)),
2791
2812
  value: e.block.borderWidth,
2792
2813
  min: "0",
2793
2814
  max: "10",
2794
2815
  onInput: n[5] ||= (e) => o("borderWidth", Number(e.target.value))
2795
- }, null, 42, _s), E("span", { class: T(b(q)) }, "px", 2)])]),
2796
- E("div", vs, [E("label", { class: T(b(K)) }, g(b(i).table.cellPadding), 3), E("div", ys, [E("input", {
2816
+ }, null, 42, Cs), E("span", { class: T(b(q)) }, "px", 2)])]),
2817
+ E("div", ws, [E("label", { class: T(b(K)) }, g(b(i).table.cellPadding), 3), E("div", Ts, [E("input", {
2797
2818
  type: "number",
2798
2819
  class: T(b(J)),
2799
2820
  value: e.block.cellPadding,
2800
2821
  min: "0",
2801
2822
  max: "30",
2802
2823
  onInput: n[6] ||= (e) => o("cellPadding", Number(e.target.value))
2803
- }, null, 42, bs), E("span", { class: T(b(q)) }, "px", 2)])]),
2804
- E("div", xs, [E("label", { class: T(b(K)) }, g(b(i).table.fontFamily), 3), E("select", {
2824
+ }, null, 42, Es), E("span", { class: T(b(q)) }, "px", 2)])]),
2825
+ E("div", Ds, [E("label", { class: T(b(K)) }, g(b(i).table.fontFamily), 3), E("select", {
2805
2826
  class: T(b(G)),
2806
2827
  value: e.block.fontFamily || "",
2807
2828
  onChange: n[7] ||= (e) => o("fontFamily", e.target.value || void 0)
2808
- }, [E("option", Cs, g(b(i).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2829
+ }, [E("option", ks, g(b(i).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2809
2830
  key: e.value,
2810
2831
  value: e.value
2811
- }, g(e.label), 9, ws))), 128))], 42, Ss)]),
2812
- E("div", Ts, [E("label", { class: T(b(K)) }, g(b(i).table.fontSize), 3), E("div", Es, [E("input", {
2832
+ }, g(e.label), 9, As))), 128))], 42, Os)]),
2833
+ E("div", js, [E("label", { class: T(b(K)) }, g(b(i).table.fontSize), 3), E("div", Ms, [E("input", {
2813
2834
  type: "number",
2814
2835
  class: T(b(J)),
2815
2836
  value: e.block.fontSize,
2816
2837
  min: "10",
2817
2838
  max: "32",
2818
2839
  onInput: n[8] ||= (e) => o("fontSize", Number(e.target.value))
2819
- }, null, 42, Ds), E("span", { class: T(b(q)) }, "px", 2)])]),
2820
- E("div", Os, [E("label", { class: T(b(K)) }, g(b(i).table.color), 3), N(Y, {
2821
- "model-value": e.block.color,
2822
- "onUpdate:modelValue": n[9] ||= (e) => o("color", e)
2840
+ }, null, 42, Ns), E("span", { class: T(b(q)) }, "px", 2)])]),
2841
+ E("div", Ps, [E("label", { class: T(b(K)) }, g(b(i).table.color), 3), N(Y, {
2842
+ "model-value": e.block.color ?? "",
2843
+ "onUpdate:modelValue": n[9] ||= (e) => o("color", e || void 0)
2823
2844
  }, null, 8, ["model-value"])]),
2824
- E("div", ks, [E("label", { class: T(b(K)) }, g(b(i).table.textAlign), 3), N(Z, {
2845
+ E("div", Fs, [E("label", { class: T(b(K)) }, g(b(i).table.textAlign), 3), N(Z, {
2825
2846
  options: [
2826
2847
  {
2827
2848
  value: "left",
@@ -2844,7 +2865,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2844
2865
  }, null, 8, ["options", "model-value"])])
2845
2866
  ], 64));
2846
2867
  }
2847
- }), js = { class: "tpl:mb-3.5" }, Ms = ["value"], Ns = { value: 1 }, Ps = { value: 2 }, Fs = { value: 3 }, Is = { value: 4 }, Ls = { class: "tpl:mb-3.5" }, Rs = ["value"], zs = { value: "" }, Bs = ["value"], Vs = { class: "tpl:mb-3.5" }, Hs = { class: "tpl:mb-3.5" }, Us = /* @__PURE__ */ M({
2868
+ }), Ls = { class: "tpl:mb-3.5" }, Rs = ["value"], zs = { value: 1 }, Bs = { value: 2 }, Vs = { value: 3 }, Hs = { value: 4 }, Us = { class: "tpl:mb-3.5" }, Ws = ["value"], Gs = { value: "" }, Ks = ["value"], qs = { class: "tpl:mb-3.5" }, Js = { class: "tpl:mb-3.5" }, Ys = /* @__PURE__ */ M({
2848
2869
  __name: "TitleToolbar",
2849
2870
  props: {
2850
2871
  block: {},
@@ -2857,29 +2878,29 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2857
2878
  n("update", { [e]: t });
2858
2879
  }
2859
2880
  return (t, n) => (s(), v(A, null, [
2860
- E("div", js, [E("label", { class: T(b(K)) }, g(b(r).title.level), 3), E("select", {
2881
+ E("div", Ls, [E("label", { class: T(b(K)) }, g(b(r).title.level), 3), E("select", {
2861
2882
  class: T(b(G)),
2862
2883
  value: e.block.level,
2863
2884
  onChange: n[0] ||= (e) => i("level", Number(e.target.value))
2864
2885
  }, [
2865
- E("option", Ns, g(b(r).title.heading1), 1),
2866
- E("option", Ps, g(b(r).title.heading2), 1),
2867
- E("option", Fs, g(b(r).title.heading3), 1),
2868
- E("option", Is, g(b(r).title.heading4), 1)
2869
- ], 42, Ms)]),
2870
- E("div", Ls, [E("label", { class: T(b(K)) }, g(b(r).title.fontFamily), 3), E("select", {
2886
+ E("option", zs, g(b(r).title.heading1), 1),
2887
+ E("option", Bs, g(b(r).title.heading2), 1),
2888
+ E("option", Vs, g(b(r).title.heading3), 1),
2889
+ E("option", Hs, g(b(r).title.heading4), 1)
2890
+ ], 42, Rs)]),
2891
+ E("div", Us, [E("label", { class: T(b(K)) }, g(b(r).title.fontFamily), 3), E("select", {
2871
2892
  class: T(b(G)),
2872
2893
  value: e.block.fontFamily || "",
2873
2894
  onChange: n[1] ||= (e) => i("fontFamily", e.target.value || void 0)
2874
- }, [E("option", zs, g(b(r).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2895
+ }, [E("option", Gs, g(b(r).title.inheritFont), 1), (s(!0), v(A, null, l(e.fontFamilies, (e) => (s(), v("option", {
2875
2896
  key: e.value,
2876
2897
  value: e.value
2877
- }, g(e.label), 9, Bs))), 128))], 42, Rs)]),
2878
- E("div", Vs, [E("label", { class: T(b(K)) }, g(b(r).title.color), 3), N(Y, {
2879
- "model-value": e.block.color,
2880
- "onUpdate:modelValue": n[2] ||= (e) => i("color", e)
2898
+ }, g(e.label), 9, Ks))), 128))], 42, Ws)]),
2899
+ E("div", qs, [E("label", { class: T(b(K)) }, g(b(r).title.color), 3), N(Y, {
2900
+ "model-value": e.block.color ?? "",
2901
+ "onUpdate:modelValue": n[2] ||= (e) => i("color", e || void 0)
2881
2902
  }, null, 8, ["model-value"])]),
2882
- E("div", Hs, [E("label", { class: T(b(K)) }, g(b(r).title.align), 3), N(Z, {
2903
+ E("div", Js, [E("label", { class: T(b(K)) }, g(b(r).title.align), 3), N(Z, {
2883
2904
  options: [
2884
2905
  {
2885
2906
  value: "left",
@@ -2902,17 +2923,17 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2902
2923
  }, null, 8, ["options", "model-value"])])
2903
2924
  ], 64));
2904
2925
  }
2905
- }), Ws = { class: "tpl:mb-3.5" }, Gs = {
2926
+ }), Xs = { class: "tpl:mb-3.5" }, Zs = {
2906
2927
  key: 0,
2907
2928
  class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
2908
- }, Ks = ["checked"], qs = {
2929
+ }, Qs = ["checked"], $s = {
2909
2930
  key: 0,
2910
2931
  class: "tpl:mb-3.5"
2911
- }, Js = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ys = [
2932
+ }, ec = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, tc = [
2912
2933
  "value",
2913
2934
  "placeholder",
2914
2935
  "title"
2915
- ], Xs = { class: "tpl:mb-3.5" }, Zs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Qs = { class: "tpl:mb-3.5" }, $s = { class: "tpl:mb-3.5" }, ec = ["value"], tc = { value: "full" }, nc = { class: "tpl:mb-3.5" }, rc = /* @__PURE__ */ M({
2936
+ ], nc = { class: "tpl:mb-3.5" }, rc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ic = { class: "tpl:mb-3.5" }, ac = { class: "tpl:mb-3.5" }, oc = ["value"], sc = { value: "full" }, cc = { class: "tpl:mb-3.5" }, lc = /* @__PURE__ */ M({
2916
2937
  __name: "VideoToolbar",
2917
2938
  props: { block: {} },
2918
2939
  emits: ["update"],
@@ -2928,7 +2949,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2928
2949
  c.alive && e && (h("thumbnailUrl", e.url), f.value = !0, m());
2929
2950
  }
2930
2951
  return (t, n) => (s(), v(A, null, [
2931
- E("div", Ws, [
2952
+ E("div", Xs, [
2932
2953
  E("label", { class: T(b(K)) }, g(b(i).video.videoUrl), 3),
2933
2954
  N(Q, {
2934
2955
  "model-value": e.block.url,
@@ -2936,23 +2957,23 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2936
2957
  placeholder: b(i).video.videoUrlPlaceholder,
2937
2958
  "onUpdate:modelValue": n[0] ||= (e) => h("url", e)
2938
2959
  }, null, 8, ["model-value", "placeholder"]),
2939
- e.block.url ? (s(), v("label", Gs, [E("input", {
2960
+ e.block.url ? (s(), v("label", Zs, [E("input", {
2940
2961
  type: "checkbox",
2941
2962
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
2942
2963
  checked: e.block.openInNewTab ?? !1,
2943
2964
  onChange: n[1] ||= (e) => h("openInNewTab", e.target.checked)
2944
- }, null, 40, Ks), j(" " + g(b(i).video.openInNewTab), 1)])) : y("", !0)
2965
+ }, null, 40, Qs), j(" " + g(b(i).video.openInNewTab), 1)])) : y("", !0)
2945
2966
  ]),
2946
- d.value ? (s(), v("div", qs, [E("label", { class: T(b(K)) }, [j(g(b(i).video.placeholderUrl) + " ", 1), E("span", Js, g(b(i).video.optional), 1)], 2), E("input", {
2967
+ d.value ? (s(), v("div", $s, [E("label", { class: T(b(K)) }, [j(g(b(i).video.placeholderUrl) + " ", 1), E("span", ec, g(b(i).video.optional), 1)], 2), E("input", {
2947
2968
  type: "url",
2948
2969
  class: T(b(G)),
2949
2970
  value: e.block.placeholderUrl || "",
2950
2971
  placeholder: b(i).video.placeholderUrlPlaceholder,
2951
2972
  title: b(i).video.placeholderUrlTooltip,
2952
2973
  onInput: n[2] ||= (e) => h("placeholderUrl", e.target.value)
2953
- }, null, 42, Ys)])) : y("", !0),
2954
- E("div", Xs, [
2955
- E("label", { class: T(b(K)) }, [j(g(b(i).video.customThumbnail) + " ", 1), E("span", Zs, g(b(i).video.optional), 1)], 2),
2974
+ }, null, 42, tc)])) : y("", !0),
2975
+ E("div", nc, [
2976
+ E("label", { class: T(b(K)) }, [j(g(b(i).video.customThumbnail) + " ", 1), E("span", rc, g(b(i).video.optional), 1)], 2),
2956
2977
  N(Q, {
2957
2978
  "model-value": e.block.thumbnailUrl,
2958
2979
  type: "url",
@@ -2978,23 +2999,23 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
2978
2999
  "stroke-width": 1.5
2979
3000
  }), j(" " + g(b(i).image.browseMedia), 1)])) : y("", !0)
2980
3001
  ]),
2981
- E("div", Qs, [E("label", { class: T(b(K)) }, g(b(i).video.altText), 3), N(Q, {
3002
+ E("div", ic, [E("label", { class: T(b(K)) }, g(b(i).video.altText), 3), N(Q, {
2982
3003
  "model-value": e.block.alt,
2983
3004
  type: "text",
2984
3005
  placeholder: b(i).video.altTextPlaceholder,
2985
3006
  "onUpdate:modelValue": n[4] ||= (e) => h("alt", e)
2986
3007
  }, null, 8, ["model-value", "placeholder"])]),
2987
- E("div", $s, [E("label", { class: T(b(K)) }, g(b(i).video.width), 3), E("select", {
3008
+ E("div", ac, [E("label", { class: T(b(K)) }, g(b(i).video.width), 3), E("select", {
2988
3009
  class: T(b(G)),
2989
3010
  value: e.block.width,
2990
3011
  onChange: n[5] ||= (e) => h("width", e.target.value === "full" ? "full" : Number(e.target.value))
2991
3012
  }, [
2992
- E("option", tc, g(b(i).video.fullWidth), 1),
3013
+ E("option", sc, g(b(i).video.fullWidth), 1),
2993
3014
  n[7] ||= E("option", { value: "300" }, "300px", -1),
2994
3015
  n[8] ||= E("option", { value: "400" }, "400px", -1),
2995
3016
  n[9] ||= E("option", { value: "500" }, "500px", -1)
2996
- ], 42, ec)]),
2997
- E("div", nc, [E("label", { class: T(b(K)) }, g(b(i).title.align), 3), N(Z, {
3017
+ ], 42, oc)]),
3018
+ E("div", cc, [E("label", { class: T(b(K)) }, g(b(i).title.align), 3), N(Z, {
2998
3019
  options: [
2999
3020
  {
3000
3021
  value: "left",
@@ -3014,7 +3035,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3014
3035
  }, null, 8, ["options", "model-value"])])
3015
3036
  ], 64));
3016
3037
  }
3017
- }), ic = ["aria-label"], ac = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, oc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, sc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, cc = { class: "tpl:flex tpl:gap-1" }, lc = ["title"], uc = ["title"], dc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, fc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3038
+ }), uc = ["aria-label"], dc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, fc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, pc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, mc = { class: "tpl:flex tpl:gap-1" }, hc = ["title"], gc = ["title"], _c = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, vc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3018
3039
  __name: "Toolbar",
3019
3040
  props: { block: {} },
3020
3041
  emits: [
@@ -3023,7 +3044,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3023
3044
  "duplicate"
3024
3045
  ],
3025
3046
  setup(e, { emit: t }) {
3026
- let n = m(() => import("./CountdownToolbar-CI2sQZv5.js")), r = e, i = t, { t: a } = U(), c = Xe(Pe, "Toolbar"), l = u(nt, []), d = _(() => r.block.type), f = _(() => se(r.block)), p = _(() => {
3047
+ let n = m(() => import("./CountdownToolbar-9LqnhGyh.js")), r = e, i = t, { t: a } = U(), c = Xe(Pe, "Toolbar"), l = u(nt, []), d = _(() => r.block.type), f = _(() => se(r.block)), p = _(() => {
3027
3048
  if (f.value) return l.find((e) => e.type === r.block.customType);
3028
3049
  }), h = _(() => f.value ? p.value?.name ?? r.block.customType : ce(d.value, a)), x = c.fonts;
3029
3050
  function C(e) {
@@ -3032,7 +3053,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3032
3053
  return (t, r) => (s(), v("aside", {
3033
3054
  "aria-label": b(a).landmarks.blockToolbar,
3034
3055
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3035
- }, [E("div", ac, [E("div", oc, [b(Lt)[d.value] ? (s(), S(o(b(Lt)[d.value]), {
3056
+ }, [E("div", dc, [E("div", fc, [b(Lt)[d.value] ? (s(), S(o(b(Lt)[d.value]), {
3036
3057
  key: 0,
3037
3058
  size: 16,
3038
3059
  "stroke-width": 1.5
@@ -3040,70 +3061,70 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3040
3061
  key: 1,
3041
3062
  size: 16,
3042
3063
  "stroke-width": 1.5
3043
- })) : y("", !0), E("h3", sc, g(h.value), 1)]), E("div", cc, [E("button", {
3064
+ })) : y("", !0), E("h3", pc, g(h.value), 1)]), E("div", mc, [E("button", {
3044
3065
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
3045
3066
  title: b(a).toolbar.duplicate,
3046
3067
  onClick: r[0] ||= (e) => i("duplicate")
3047
3068
  }, [N(b(te), {
3048
3069
  size: 14,
3049
3070
  "stroke-width": 2
3050
- })], 8, lc), E("button", {
3071
+ })], 8, hc), E("button", {
3051
3072
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
3052
3073
  title: b(a).toolbar.delete,
3053
3074
  onClick: r[1] ||= (e) => i("delete")
3054
3075
  }, [N(b(st), {
3055
3076
  size: 14,
3056
3077
  "stroke-width": 2
3057
- })], 8, uc)])]), E("div", dc, [f.value ? (s(), S(Ca, {
3078
+ })], 8, gc)])]), E("div", _c, [f.value ? (s(), S(ka, {
3058
3079
  key: 0,
3059
3080
  block: e.block,
3060
3081
  onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
3061
3082
  onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
3062
- }, null, 8, ["block"])) : d.value === "section" ? (s(), S(Do, {
3083
+ }, null, 8, ["block"])) : d.value === "section" ? (s(), S(No, {
3063
3084
  key: 1,
3064
3085
  block: e.block,
3065
3086
  onUpdate: C
3066
- }, null, 8, ["block"])) : d.value === "title" ? (s(), S(Us, {
3087
+ }, null, 8, ["block"])) : d.value === "title" ? (s(), S(Ys, {
3067
3088
  key: 2,
3068
3089
  block: e.block,
3069
3090
  "font-families": b(x),
3070
3091
  onUpdate: C
3071
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), v(A, { key: 3 }, [], 64)) : d.value === "image" ? (s(), S($a, {
3092
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), v(A, { key: 3 }, [], 64)) : d.value === "image" ? (s(), S(ao, {
3072
3093
  key: 4,
3073
3094
  block: e.block,
3074
3095
  onUpdate: C
3075
- }, null, 8, ["block"])) : d.value === "video" ? (s(), S(rc, {
3096
+ }, null, 8, ["block"])) : d.value === "video" ? (s(), S(lc, {
3076
3097
  key: 5,
3077
3098
  block: e.block,
3078
3099
  onUpdate: C
3079
- }, null, 8, ["block"])) : d.value === "button" ? (s(), S(Jr, {
3100
+ }, null, 8, ["block"])) : d.value === "button" ? (s(), S(ei, {
3080
3101
  key: 6,
3081
3102
  block: e.block,
3082
3103
  "font-families": b(x),
3083
3104
  onUpdate: C
3084
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), S(ka, {
3105
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), S(Fa, {
3085
3106
  key: 7,
3086
3107
  block: e.block,
3087
3108
  onUpdate: C
3088
- }, null, 8, ["block"])) : d.value === "social" ? (s(), S(Ko, {
3109
+ }, null, 8, ["block"])) : d.value === "social" ? (s(), S(Qo, {
3089
3110
  key: 8,
3090
3111
  block: e.block,
3091
3112
  onUpdate: C
3092
- }, null, 8, ["block"])) : d.value === "menu" ? (s(), S(fo, {
3113
+ }, null, 8, ["block"])) : d.value === "menu" ? (s(), S(vo, {
3093
3114
  key: 9,
3094
3115
  block: e.block,
3095
3116
  "font-families": b(x),
3096
3117
  onUpdate: C
3097
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), S(As, {
3118
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), S(Is, {
3098
3119
  key: 10,
3099
3120
  block: e.block,
3100
3121
  "font-families": b(x),
3101
3122
  onUpdate: C
3102
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), S(Zo, {
3123
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), S(rs, {
3103
3124
  key: 11,
3104
3125
  block: e.block,
3105
3126
  onUpdate: C
3106
- }, null, 8, ["block"])) : d.value === "html" ? (s(), S(Na, {
3127
+ }, null, 8, ["block"])) : d.value === "html" ? (s(), S(za, {
3107
3128
  key: 12,
3108
3129
  block: e.block,
3109
3130
  onUpdate: C
@@ -3112,52 +3133,52 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3112
3133
  block: e.block,
3113
3134
  "font-families": b(x),
3114
3135
  onUpdate: C
3115
- }, null, 8, ["block", "font-families"])) : y("", !0), N(Ri, {
3136
+ }, null, 8, ["block", "font-families"])) : y("", !0), N(Wi, {
3116
3137
  block: e.block,
3117
3138
  "is-first-section": d.value === "paragraph",
3118
3139
  onUpdate: C
3119
- }, null, 8, ["block", "is-first-section"])])], 8, ic));
3140
+ }, null, 8, ["block", "is-first-section"])])], 8, uc));
3120
3141
  }
3121
- }), [["__scopeId", "data-v-2ac88283"]]), pc = ["aria-label"], mc = {
3142
+ }), [["__scopeId", "data-v-2ac88283"]]), yc = ["aria-label"], bc = {
3122
3143
  role: "tablist",
3123
3144
  class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
3124
- }, hc = [
3145
+ }, xc = [
3125
3146
  "aria-selected",
3126
3147
  "aria-label",
3127
3148
  "title"
3128
- ], gc = { key: 0 }, _c = [
3149
+ ], Sc = { key: 0 }, Cc = [
3129
3150
  "aria-selected",
3130
3151
  "aria-label",
3131
3152
  "title"
3132
- ], vc = { key: 0 }, yc = [
3153
+ ], wc = { key: 0 }, Tc = [
3133
3154
  "aria-selected",
3134
3155
  "aria-label",
3135
3156
  "title"
3136
- ], bc = { key: 0 }, xc = {
3157
+ ], Ec = { key: 0 }, Dc = {
3137
3158
  key: 1,
3138
3159
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
3139
- }, Sc = {
3160
+ }, Oc = {
3140
3161
  key: 0,
3141
3162
  id: "tpl-tabpanel-content",
3142
3163
  role: "tabpanel",
3143
3164
  "aria-labelledby": "tpl-tab-content",
3144
3165
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3145
- }, Cc = {
3166
+ }, kc = {
3146
3167
  key: 1,
3147
3168
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
3148
- }, wc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Tc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ec = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Dc = {
3169
+ }, Ac = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, jc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Mc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Nc = {
3149
3170
  key: 1,
3150
3171
  id: "tpl-tabpanel-settings",
3151
3172
  role: "tabpanel",
3152
3173
  "aria-labelledby": "tpl-tab-settings",
3153
3174
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3154
- }, Oc = {
3175
+ }, Pc = {
3155
3176
  key: 2,
3156
3177
  id: "tpl-tabpanel-issues",
3157
3178
  role: "tabpanel",
3158
3179
  "aria-labelledby": "tpl-tab-issues",
3159
3180
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3160
- }, kc = /* @__PURE__ */ M({
3181
+ }, Fc = /* @__PURE__ */ M({
3161
3182
  __name: "RightSidebar",
3162
3183
  props: {
3163
3184
  selectedBlock: {},
@@ -3171,7 +3192,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3171
3192
  "update-settings"
3172
3193
  ],
3173
3194
  setup(e, { emit: t }) {
3174
- let n = m(() => import("./IssuesPanel-BdeDoTcn.js")), r = e, i = t, { t: a } = U(), o = p("content"), c = u(Fe, null), l = _(() => c !== null), d = _(() => c?.issues.value.length ?? 0);
3195
+ let n = m(() => import("./IssuesPanel-BYfGf1rC.js")), r = e, i = t, { t: a } = U(), o = p("content"), c = u(Fe, null), l = _(() => c !== null), d = _(() => c?.issues.value.length ?? 0);
3175
3196
  function f(e) {
3176
3197
  return o.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
3177
3198
  }
@@ -3187,7 +3208,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3187
3208
  "aria-label": b(a).landmarks.rightSidebar,
3188
3209
  class: T(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
3189
3210
  }, [
3190
- E("div", mc, [
3211
+ E("div", bc, [
3191
3212
  E("button", {
3192
3213
  id: "tpl-tab-content",
3193
3214
  role: "tab",
@@ -3201,7 +3222,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3201
3222
  }, [N(b(yt), {
3202
3223
  size: 14,
3203
3224
  "stroke-width": 2
3204
- }), o.value === "content" ? (s(), v("span", gc, g(b(a).sidebar.content), 1)) : y("", !0)], 14, hc),
3225
+ }), o.value === "content" ? (s(), v("span", Sc, g(b(a).sidebar.content), 1)) : y("", !0)], 14, xc),
3205
3226
  E("button", {
3206
3227
  id: "tpl-tab-settings",
3207
3228
  role: "tab",
@@ -3215,7 +3236,7 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3215
3236
  }, [N(b(Mt), {
3216
3237
  size: 14,
3217
3238
  "stroke-width": 1.5
3218
- }), o.value === "settings" ? (s(), v("span", vc, g(b(a).sidebar.settings), 1)) : y("", !0)], 14, _c),
3239
+ }), o.value === "settings" ? (s(), v("span", wc, g(b(a).sidebar.settings), 1)) : y("", !0)], 14, Cc),
3219
3240
  l.value ? (s(), v("button", {
3220
3241
  key: 0,
3221
3242
  id: "tpl-tab-issues",
@@ -3232,55 +3253,55 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3232
3253
  size: 14,
3233
3254
  "stroke-width": 1.5
3234
3255
  }),
3235
- o.value === "issues" ? (s(), v("span", bc, g(b(a).issues.panelTabLabel), 1)) : y("", !0),
3236
- d.value > 0 ? (s(), v("span", xc, g(d.value), 1)) : y("", !0)
3237
- ], 14, yc)) : y("", !0)
3256
+ o.value === "issues" ? (s(), v("span", Ec, g(b(a).issues.panelTabLabel), 1)) : y("", !0),
3257
+ d.value > 0 ? (s(), v("span", Dc, g(d.value), 1)) : y("", !0)
3258
+ ], 14, Tc)) : y("", !0)
3238
3259
  ]),
3239
- o.value === "content" ? (s(), v("div", Sc, [e.selectedBlock ? (s(), S(fc, {
3260
+ o.value === "content" ? (s(), v("div", Oc, [e.selectedBlock ? (s(), S(vc, {
3240
3261
  key: 0,
3241
3262
  block: e.selectedBlock,
3242
3263
  onUpdate: r[3] ||= (e) => i("update-block", e),
3243
3264
  onDelete: r[4] ||= (e) => i("delete-block"),
3244
3265
  onDuplicate: r[5] ||= (e) => i("duplicate-block")
3245
- }, null, 8, ["block"])) : (s(), v("div", Cc, [
3246
- E("div", wc, [N(b(xt), {
3266
+ }, null, 8, ["block"])) : (s(), v("div", kc, [
3267
+ E("div", Ac, [N(b(xt), {
3247
3268
  size: 40,
3248
3269
  "stroke-width": 1.5
3249
3270
  })]),
3250
- E("h3", Tc, g(b(a).sidebar.noSelection), 1),
3251
- E("p", Ec, g(b(a).sidebar.noSelectionHint), 1)
3271
+ E("h3", jc, g(b(a).sidebar.noSelection), 1),
3272
+ E("p", Mc, g(b(a).sidebar.noSelectionHint), 1)
3252
3273
  ]))])) : y("", !0),
3253
- o.value === "settings" ? (s(), v("div", Dc, [N(gr, {
3274
+ o.value === "settings" ? (s(), v("div", Nc, [N(Sr, {
3254
3275
  settings: e.settings,
3255
3276
  onUpdate: r[6] ||= (e) => i("update-settings", e)
3256
3277
  }, null, 8, ["settings"])])) : y("", !0),
3257
- o.value === "issues" && l.value ? (s(), v("div", Oc, [N(b(n))])) : y("", !0)
3258
- ], 10, pc));
3278
+ o.value === "issues" && l.value ? (s(), v("div", Pc, [N(b(n))])) : y("", !0)
3279
+ ], 10, yc));
3259
3280
  }
3260
- }), Ac = {
3281
+ }), Ic = {
3261
3282
  class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
3262
3283
  style: { "z-index": "10001" },
3263
3284
  role: "status",
3264
3285
  "data-testid": "small-screen-notice"
3265
- }, jc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Mc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Nc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Pc = /* @__PURE__ */ M({
3286
+ }, Lc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Rc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, zc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Bc = /* @__PURE__ */ M({
3266
3287
  __name: "SmallScreenNotice",
3267
3288
  setup(e) {
3268
3289
  let { t } = U();
3269
- return (e, n) => (s(), v("div", Ac, [
3270
- E("div", jc, [N(b(vt), {
3290
+ return (e, n) => (s(), v("div", Ic, [
3291
+ E("div", Lc, [N(b(vt), {
3271
3292
  size: 48,
3272
3293
  "stroke-width": 1.5
3273
3294
  })]),
3274
- E("h2", Mc, g(b(t).smallScreen.title), 1),
3275
- E("p", Nc, g(b(t).smallScreen.message), 1)
3295
+ E("h2", Rc, g(b(t).smallScreen.title), 1),
3296
+ E("p", zc, g(b(t).smallScreen.message), 1)
3276
3297
  ]));
3277
3298
  }
3278
- }), Fc = ["aria-label"], Ic = [
3299
+ }), Vc = ["aria-label"], Hc = [
3279
3300
  "aria-checked",
3280
3301
  "aria-label",
3281
3302
  "title",
3282
3303
  "onClick"
3283
- ], Lc = /* @__PURE__ */ M({
3304
+ ], Uc = /* @__PURE__ */ M({
3284
3305
  __name: "ViewportToggle",
3285
3306
  props: { viewport: {} },
3286
3307
  emits: ["change"],
@@ -3330,13 +3351,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3330
3351
  key: 1,
3331
3352
  size: 18,
3332
3353
  "stroke-width": 1.5
3333
- })), E("span", null, g(t.label), 1)], 12, Ic))), 128))], 12, Fc));
3354
+ })), E("span", null, g(t.label), 1)], 12, Hc))), 128))], 12, Vc));
3334
3355
  }
3335
- }), Rc = [
3356
+ }), Wc = [
3336
3357
  "aria-label",
3337
3358
  "title",
3338
3359
  "aria-pressed"
3339
- ], zc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3360
+ ], Gc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3340
3361
  __name: "PreviewToggle",
3341
3362
  props: { previewMode: { type: Boolean } },
3342
3363
  emits: ["change"],
@@ -3369,13 +3390,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3369
3390
  "stroke-width": 1.5
3370
3391
  }))]),
3371
3392
  _: 1
3372
- })], 12, Rc));
3393
+ })], 12, Wc));
3373
3394
  }
3374
- }), [["__scopeId", "data-v-af87d02a"]]), Bc = [
3395
+ }), [["__scopeId", "data-v-af87d02a"]]), Kc = [
3375
3396
  "aria-label",
3376
3397
  "title",
3377
3398
  "aria-pressed"
3378
- ], Vc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3399
+ ], qc = /*#__PURE__*/ Ie(/* @__PURE__ */ M({
3379
3400
  __name: "DarkModeToggle",
3380
3401
  props: { darkMode: { type: Boolean } },
3381
3402
  emits: ["change"],
@@ -3408,27 +3429,27 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3408
3429
  "stroke-width": 1.5
3409
3430
  }))]),
3410
3431
  _: 1
3411
- })], 12, Bc));
3432
+ })], 12, Kc));
3412
3433
  }
3413
- }), [["__scopeId", "data-v-f8694f76"]]), Hc = {
3434
+ }), [["__scopeId", "data-v-f8694f76"]]), Jc = {
3414
3435
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
3415
3436
  style: {
3416
3437
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
3417
3438
  "backdrop-filter": "blur(8px)",
3418
3439
  "-webkit-backdrop-filter": "blur(8px)"
3419
3440
  }
3420
- }, Uc = {
3441
+ }, Yc = {
3421
3442
  href: "https://github.com/templatical/sdk",
3422
3443
  target: "_blank",
3423
3444
  rel: "noopener noreferrer",
3424
3445
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
3425
3446
  style: { "text-decoration": "none" }
3426
- }, Wc = /* @__PURE__ */ M({
3447
+ }, Xc = /* @__PURE__ */ M({
3427
3448
  __name: "EditorFooter",
3428
3449
  props: { positionClass: {} },
3429
3450
  setup(e) {
3430
3451
  let { t } = U();
3431
- return (n, r) => (s(), v("footer", { class: T(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [E("div", Hc, [
3452
+ return (n, r) => (s(), v("footer", { class: T(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [E("div", Jc, [
3432
3453
  E("span", null, g(b(t).footer.poweredBy), 1),
3433
3454
  r[0] ||= E("a", {
3434
3455
  href: "https://templatical.com",
@@ -3443,32 +3464,32 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3443
3464
  alt: ""
3444
3465
  }), j(" Templatical ")], -1),
3445
3466
  r[1] ||= E("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
3446
- E("a", Uc, g(b(t).footer.openSource), 1)
3467
+ E("a", Yc, g(b(t).footer.openSource), 1)
3447
3468
  ])], 2));
3448
3469
  }
3449
- }), Gc = ["aria-labelledby", "data-tpl-theme"], Kc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, qc = ["id"], Jc = ["aria-label"], Yc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Xc = [
3470
+ }), Zc = ["aria-labelledby", "data-tpl-theme"], Qc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, $c = ["id"], el = ["aria-label"], tl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, nl = [
3450
3471
  "id",
3451
3472
  "placeholder",
3452
3473
  "aria-label",
3453
3474
  "aria-activedescendant"
3454
- ], Zc = {
3475
+ ], rl = {
3455
3476
  key: 0,
3456
3477
  class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
3457
3478
  "data-testid": "merge-tag-picker-group-pills"
3458
- }, Qc = ["data-group-name", "onClick"], $c = ["aria-label"], el = {
3479
+ }, il = ["data-group-name", "onClick"], al = ["aria-label"], ol = {
3459
3480
  key: 0,
3460
3481
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3461
3482
  "data-testid": "merge-tag-picker-empty"
3462
- }, tl = {
3483
+ }, sl = {
3463
3484
  key: 1,
3464
3485
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3465
3486
  "data-testid": "merge-tag-picker-empty"
3466
- }, nl = [
3487
+ }, cl = [
3467
3488
  "aria-expanded",
3468
3489
  "data-group-name",
3469
3490
  "data-group-collapsed",
3470
3491
  "onClick"
3471
- ], rl = { class: "tpl:ml-1 tpl:font-normal" }, il = [
3492
+ ], ll = { class: "tpl:ml-1 tpl:font-normal" }, ul = [
3472
3493
  "id",
3473
3494
  "aria-selected",
3474
3495
  "data-selected",
@@ -3477,10 +3498,10 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3477
3498
  "title",
3478
3499
  "onMousemove",
3479
3500
  "onClick"
3480
- ], al = { class: "tpl:text-sm tpl:font-medium" }, ol = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, sl = {
3501
+ ], dl = { class: "tpl:text-sm tpl:font-medium" }, fl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, pl = {
3481
3502
  key: 0,
3482
3503
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3483
- }, cl = "tpl-merge-tag-picker-list", ll = /* @__PURE__ */ M({
3504
+ }, ml = "tpl-merge-tag-picker-list", hl = /* @__PURE__ */ M({
3484
3505
  __name: "MergeTagPickerModal",
3485
3506
  setup(e) {
3486
3507
  let t = Xe(F, "MergeTagPickerModal"), { t: n, format: i } = U(), a = u($e, null), o = u(ze, null), f = p(""), m = Ue(f, 200), C = p(null), D = _(() => m.value.trim().length > 0), k = p(0), j = _(() => t.tags.value.some((e) => !!e.group)), M = p(/* @__PURE__ */ new Set());
@@ -3593,10 +3614,10 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3593
3614
  }
3594
3615
  }
3595
3616
  function le() {
3596
- if (B.value.length !== 0) return `${cl}-opt-${k.value}`;
3617
+ if (B.value.length !== 0) return `${ml}-opt-${k.value}`;
3597
3618
  }
3598
3619
  function H(e) {
3599
- return `${cl}-opt-${e}`;
3620
+ return `${ml}-opt-${e}`;
3600
3621
  }
3601
3622
  let ue = _(() => t.tags.value.length === 0), de = _(() => !ue.value && ee.value.length === 0), fe = _(() => j.value && R.value.length > 1 && !D.value);
3602
3623
  return (e, c) => (s(), S(_e, {
@@ -3607,16 +3628,16 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3607
3628
  default: d(() => [E("div", {
3608
3629
  role: "dialog",
3609
3630
  "aria-modal": "true",
3610
- "aria-labelledby": `${cl}-title`,
3631
+ "aria-labelledby": `${ml}-title`,
3611
3632
  "data-tpl-theme": b(o),
3612
3633
  "data-testid": "merge-tag-picker-modal",
3613
3634
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
3614
3635
  style: O(b(a))
3615
3636
  }, [
3616
- E("header", Kc, [E("h2", {
3617
- id: `${cl}-title`,
3637
+ E("header", Qc, [E("h2", {
3638
+ id: `${ml}-title`,
3618
3639
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3619
- }, g(b(n).mergeTag.picker.title), 9, qc), E("button", {
3640
+ }, g(b(n).mergeTag.picker.title), 9, $c), E("button", {
3620
3641
  type: "button",
3621
3642
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3622
3643
  "aria-label": b(n).mergeTag.picker.close,
@@ -3625,13 +3646,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3625
3646
  }, [N(b(it), {
3626
3647
  size: 16,
3627
3648
  "stroke-width": 2
3628
- })], 8, Jc)]),
3629
- E("div", Yc, [N(b(Nt), {
3649
+ })], 8, el)]),
3650
+ E("div", tl, [N(b(Nt), {
3630
3651
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
3631
3652
  size: 14,
3632
3653
  "stroke-width": 2
3633
3654
  }), r(E("input", {
3634
- id: `${cl}-search`,
3655
+ id: `${ml}-search`,
3635
3656
  ref_key: "searchInputRef",
3636
3657
  ref: C,
3637
3658
  "onUpdate:modelValue": c[0] ||= (e) => f.value = e,
@@ -3639,34 +3660,34 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3639
3660
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
3640
3661
  placeholder: b(n).mergeTag.picker.searchPlaceholder,
3641
3662
  "aria-label": b(n).mergeTag.picker.searchAriaLabel,
3642
- "aria-controls": cl,
3663
+ "aria-controls": ml,
3643
3664
  "aria-activedescendant": le(),
3644
3665
  "data-testid": "merge-tag-picker-search",
3645
3666
  onKeydown: c[1] ||= h(x(() => {}, ["prevent"]), ["enter"])
3646
- }, null, 40, Xc), [[w, f.value]])]),
3647
- fe.value ? (s(), v("div", Zc, [(s(!0), v(A, null, l(R.value, (e) => (s(), v("button", {
3667
+ }, null, 40, nl), [[w, f.value]])]),
3668
+ fe.value ? (s(), v("div", rl, [(s(!0), v(A, null, l(R.value, (e) => (s(), v("button", {
3648
3669
  key: e,
3649
3670
  type: "button",
3650
3671
  class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3651
3672
  "data-testid": "merge-tag-picker-group-pill",
3652
3673
  "data-group-name": e,
3653
3674
  onClick: (t) => se(e)
3654
- }, g(e), 9, Qc))), 128))])) : y("", !0),
3675
+ }, g(e), 9, il))), 128))])) : y("", !0),
3655
3676
  E("div", {
3656
- id: cl,
3677
+ id: ml,
3657
3678
  ref_key: "listRef",
3658
3679
  ref: V,
3659
3680
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3660
3681
  role: "listbox",
3661
3682
  "aria-label": b(n).mergeTag.picker.title,
3662
3683
  "data-testid": "merge-tag-picker-list"
3663
- }, [ue.value ? (s(), v("div", el, g(b(n).mergeTag.picker.empty), 1)) : de.value ? (s(), v("div", tl, g(b(n).mergeTag.picker.noResults), 1)) : (s(!0), v(A, { key: 2 }, l(z.value, (e, t) => (s(), v(A, { key: t }, [e.kind === "header" ? (s(), v("button", {
3684
+ }, [ue.value ? (s(), v("div", ol, g(b(n).mergeTag.picker.empty), 1)) : de.value ? (s(), v("div", sl, g(b(n).mergeTag.picker.noResults), 1)) : (s(!0), v(A, { key: 2 }, l(z.value, (e, t) => (s(), v(A, { key: t }, [e.kind === "header" ? (s(), v("button", {
3664
3685
  key: 0,
3665
3686
  ref_for: !0,
3666
3687
  ref: (t) => ae(e.group, t),
3667
3688
  type: "button",
3668
3689
  "aria-expanded": !I(e.group),
3669
- "aria-controls": cl,
3690
+ "aria-controls": ml,
3670
3691
  class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
3671
3692
  "data-testid": "merge-tag-picker-group-header",
3672
3693
  "data-group-name": e.group,
@@ -3679,8 +3700,8 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3679
3700
  class: T(["tpl:transition-transform", I(e.group) ? "tpl:-rotate-90" : ""])
3680
3701
  }, null, 8, ["class"]),
3681
3702
  E("span", null, g(e.group), 1),
3682
- E("span", rl, " (" + g(b(i)(b(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3683
- ], 8, nl)) : (s(), v("button", {
3703
+ E("span", ll, " (" + g(b(i)(b(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3704
+ ], 8, cl)) : (s(), v("button", {
3684
3705
  key: 1,
3685
3706
  id: H(e.index),
3686
3707
  type: "button",
@@ -3695,15 +3716,15 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3695
3716
  onMousemove: (t) => k.value = e.index,
3696
3717
  onClick: (t) => te(e.tag)
3697
3718
  }, [
3698
- E("span", al, g(e.tag.label), 1),
3699
- E("span", ol, g(e.tag.value), 1),
3700
- e.tag.description ? (s(), v("span", sl, g(e.tag.description), 1)) : y("", !0)
3701
- ], 42, il))], 64))), 128))], 8, $c)
3702
- ], 12, Gc)]),
3719
+ E("span", dl, g(e.tag.label), 1),
3720
+ E("span", fl, g(e.tag.value), 1),
3721
+ e.tag.description ? (s(), v("span", pl, g(e.tag.description), 1)) : y("", !0)
3722
+ ], 42, ul))], 64))), 128))], 8, al)
3723
+ ], 12, Zc)]),
3703
3724
  _: 1
3704
3725
  }, 8, ["visible"]));
3705
3726
  }
3706
- }), ul = ["data-logic-keyword"], dl = /* @__PURE__ */ M({
3727
+ }), gl = ["data-logic-keyword"], _l = /* @__PURE__ */ M({
3707
3728
  __name: "LogicTagBadge",
3708
3729
  props: {
3709
3730
  value: {},
@@ -3720,22 +3741,22 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3720
3741
  },
3721
3742
  "data-testid": "merge-tag-logic-badge",
3722
3743
  "data-logic-keyword": r.value
3723
- }, g(r.value), 9, ul)) : y("", !0);
3744
+ }, g(r.value), 9, gl)) : y("", !0);
3724
3745
  }
3725
- }), fl = ["aria-labelledby", "data-tpl-theme"], pl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, ml = ["id"], hl = ["aria-label"], gl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, _l = [
3746
+ }), vl = ["aria-labelledby", "data-tpl-theme"], yl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, bl = ["id"], xl = ["aria-label"], Sl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Cl = [
3726
3747
  "id",
3727
3748
  "placeholder",
3728
3749
  "aria-label",
3729
3750
  "aria-activedescendant"
3730
- ], vl = ["aria-label"], yl = {
3751
+ ], wl = ["aria-label"], Tl = {
3731
3752
  key: 0,
3732
3753
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3733
3754
  "data-testid": "logic-picker-empty"
3734
- }, bl = {
3755
+ }, El = {
3735
3756
  key: 1,
3736
3757
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3737
3758
  "data-testid": "logic-picker-empty"
3738
- }, xl = ["data-group-name"], Sl = [
3759
+ }, Dl = ["data-group-name"], Ol = [
3739
3760
  "id",
3740
3761
  "aria-selected",
3741
3762
  "data-selected",
@@ -3743,16 +3764,16 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3743
3764
  "data-logic-kind",
3744
3765
  "onMousemove",
3745
3766
  "onClick"
3746
- ], Cl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, wl = { class: "tpl:text-sm tpl:font-medium" }, Tl = {
3767
+ ], kl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Al = { class: "tpl:text-sm tpl:font-medium" }, jl = {
3747
3768
  key: 0,
3748
3769
  class: "tpl:flex tpl:items-center"
3749
- }, El = {
3770
+ }, Ml = {
3750
3771
  key: 1,
3751
3772
  class: "tpl:flex tpl:items-center tpl:gap-1"
3752
- }, Dl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ol = {
3773
+ }, Nl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Pl = {
3753
3774
  key: 0,
3754
3775
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3755
- }, kl = "tpl-logic-picker-list", Al = /* @__PURE__ */ M({
3776
+ }, Fl = "tpl-logic-picker-list", Il = /* @__PURE__ */ M({
3756
3777
  __name: "LogicTagPickerModal",
3757
3778
  setup(e) {
3758
3779
  let t = Xe(xe, "LogicTagPickerModal"), { t: n } = U(), i = u(Ve, Ce.liquid), a = u($e, null), o = u(ze, null), f = p(""), m = Ue(f, 200), C = p(null), D = _(() => m.value.trim().length > 0), k = p(0);
@@ -3838,10 +3859,10 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3838
3859
  }
3839
3860
  }
3840
3861
  function oe(e) {
3841
- return `${kl}-opt-${e}`;
3862
+ return `${Fl}-opt-${e}`;
3842
3863
  }
3843
3864
  function se() {
3844
- return z.value.length === 0 ? void 0 : `${kl}-opt-${k.value}`;
3865
+ return z.value.length === 0 ? void 0 : `${Fl}-opt-${k.value}`;
3845
3866
  }
3846
3867
  return (e, c) => (s(), S(_e, {
3847
3868
  visible: b(t).isOpen.value,
@@ -3851,16 +3872,16 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3851
3872
  default: d(() => [E("div", {
3852
3873
  role: "dialog",
3853
3874
  "aria-modal": "true",
3854
- "aria-labelledby": `${kl}-title`,
3875
+ "aria-labelledby": `${Fl}-title`,
3855
3876
  "data-tpl-theme": b(o),
3856
3877
  "data-testid": "logic-picker-modal",
3857
3878
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
3858
3879
  style: O(b(a))
3859
3880
  }, [
3860
- E("header", pl, [E("h2", {
3861
- id: `${kl}-title`,
3881
+ E("header", yl, [E("h2", {
3882
+ id: `${Fl}-title`,
3862
3883
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3863
- }, g(b(n).logicTag.picker.title), 9, ml), E("button", {
3884
+ }, g(b(n).logicTag.picker.title), 9, bl), E("button", {
3864
3885
  type: "button",
3865
3886
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3866
3887
  "aria-label": b(n).logicTag.picker.close,
@@ -3869,13 +3890,13 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3869
3890
  }, [N(b(it), {
3870
3891
  size: 16,
3871
3892
  "stroke-width": 2
3872
- })], 8, hl)]),
3873
- E("div", gl, [N(b(Nt), {
3893
+ })], 8, xl)]),
3894
+ E("div", Sl, [N(b(Nt), {
3874
3895
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
3875
3896
  size: 14,
3876
3897
  "stroke-width": 2
3877
3898
  }), r(E("input", {
3878
- id: `${kl}-search`,
3899
+ id: `${Fl}-search`,
3879
3900
  ref_key: "searchInputRef",
3880
3901
  ref: C,
3881
3902
  "onUpdate:modelValue": c[0] ||= (e) => f.value = e,
@@ -3883,25 +3904,25 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3883
3904
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
3884
3905
  placeholder: b(n).logicTag.picker.searchPlaceholder,
3885
3906
  "aria-label": b(n).logicTag.picker.searchAriaLabel,
3886
- "aria-controls": kl,
3907
+ "aria-controls": Fl,
3887
3908
  "aria-activedescendant": se(),
3888
3909
  "data-testid": "logic-picker-search",
3889
3910
  onKeydown: c[1] ||= h(x(() => {}, ["prevent"]), ["enter"])
3890
- }, null, 40, _l), [[w, f.value]])]),
3911
+ }, null, 40, Cl), [[w, f.value]])]),
3891
3912
  E("div", {
3892
- id: kl,
3913
+ id: Fl,
3893
3914
  ref_key: "listRef",
3894
3915
  ref: ne,
3895
3916
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3896
3917
  role: "listbox",
3897
3918
  "aria-label": b(n).logicTag.picker.title,
3898
3919
  "data-testid": "logic-picker-list"
3899
- }, [B.value ? (s(), v("div", yl, g(b(n).logicTag.picker.empty), 1)) : te.value ? (s(), v("div", bl, g(b(n).logicTag.picker.noResults), 1)) : (s(!0), v(A, { key: 2 }, l(R.value.rows, (e, t) => (s(), v(A, { key: t }, [e.kind === "header" ? (s(), v("div", {
3920
+ }, [B.value ? (s(), v("div", Tl, g(b(n).logicTag.picker.empty), 1)) : te.value ? (s(), v("div", El, g(b(n).logicTag.picker.noResults), 1)) : (s(!0), v(A, { key: 2 }, l(R.value.rows, (e, t) => (s(), v(A, { key: t }, [e.kind === "header" ? (s(), v("div", {
3900
3921
  key: 0,
3901
3922
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3902
3923
  "data-testid": "logic-picker-header",
3903
3924
  "data-group-name": e.label
3904
- }, g(e.label), 9, xl)) : (s(), v("button", {
3925
+ }, g(e.label), 9, Dl)) : (s(), v("button", {
3905
3926
  key: 1,
3906
3927
  id: oe(e.index),
3907
3928
  type: "button",
@@ -3915,29 +3936,29 @@ var ho = { class: "tpl:mb-3.5" }, go = ["value"], _o = ["value"], vo = { class:
3915
3936
  onMousemove: (t) => k.value = e.index,
3916
3937
  onClick: (t) => re(e.kind === "tag" ? e.tag : e.pair)
3917
3938
  }, [
3918
- E("span", Cl, [E("span", wl, g(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), v("span", Tl, [N(dl, {
3939
+ E("span", kl, [E("span", Al, g(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), v("span", jl, [N(_l, {
3919
3940
  value: e.tag.value,
3920
3941
  syntax: b(i)
3921
- }, null, 8, ["value", "syntax"])])) : (s(), v("span", El, [
3922
- N(dl, {
3942
+ }, null, 8, ["value", "syntax"])])) : (s(), v("span", Ml, [
3943
+ N(_l, {
3923
3944
  value: e.pair.before,
3924
3945
  syntax: b(i)
3925
3946
  }, null, 8, ["value", "syntax"]),
3926
3947
  c[2] ||= E("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3927
- N(dl, {
3948
+ N(_l, {
3928
3949
  value: e.pair.after,
3929
3950
  syntax: b(i)
3930
3951
  }, null, 8, ["value", "syntax"])
3931
3952
  ]))]),
3932
- E("span", Dl, g(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3933
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), v("span", Ol, g(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : y("", !0)
3934
- ], 42, Sl))], 64))), 128))], 8, vl)
3935
- ], 12, fl)]),
3953
+ E("span", Nl, g(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3954
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), v("span", Pl, g(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : y("", !0)
3955
+ ], 42, Ol))], 64))), 128))], 8, wl)
3956
+ ], 12, vl)]),
3936
3957
  _: 1
3937
3958
  }, 8, ["visible"]));
3938
3959
  }
3939
3960
  });
3940
3961
  //#endregion
3941
- export { zc as a, kc as c, an as d, qt as f, Vc as i, gn as l, ll as n, Lc as o, Wc as r, Pc as s, Al as t, on as u };
3962
+ export { Gc as a, Fc as c, an as d, qt as f, qc as i, gn as l, hl as n, Uc as o, Xc as r, Bc as s, Il as t, on as u };
3942
3963
 
3943
- //# sourceMappingURL=styles-B7wryV0l.js.map
3964
+ //# sourceMappingURL=styles-CSqligXJ.js.map