@templatical/editor 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/{AiFeatureMenu-D4D2Sqfk.js → AiFeatureMenu-DBWcfcWl.js} +1 -1
  2. package/dist/{CloudEditor-CLwyq3kf.js → CloudEditor-C6cSXtcP.js} +155 -154
  3. package/dist/{CollaboratorBar-DjX-o5Pi.js → CollaboratorBar-B8-AQfG2.js} +1 -1
  4. package/dist/{ModuleBrowserModal-CVS4Sf7H.js → ModuleBrowserModal-B_tLzFAk.js} +4 -4
  5. package/dist/{ModulePreviewCanvas-C10YXsL_.js → ModulePreviewCanvas-B7pNpAHM.js} +1 -1
  6. package/dist/{ParagraphEditor-BKoqcKIt.js → ParagraphEditor-DmA9K7dx.js} +6 -6
  7. package/dist/{SaveModuleDialog-BMuIjxVn.js → SaveModuleDialog-B8ypoxdj.js} +2 -2
  8. package/dist/{SnapshotHistory-DZ5_W7e4.js → SnapshotHistory-BTHd7CVP.js} +1 -1
  9. package/dist/{TestEmailModal-EjpH-F-W.js → TestEmailModal-CBIFMzK6.js} +2 -2
  10. package/dist/{TitleEditor-Rv1deuV7.js → TitleEditor-C9jDA5lI.js} +1 -1
  11. package/dist/{TplModal-DSmCQIm4.js → TplModal-ND4fiqOS.js} +1 -1
  12. package/dist/{blockTypeIcons-OhEkQhYj.js → blockTypeIcons-Bn-_Smlm.js} +4 -4
  13. package/dist/bundle-stats.json +6 -6
  14. package/dist/cdn/chunks/{AiFeatureMenu-Dm9CL3u0.js → AiFeatureMenu-BuSO0dXP.js} +8 -8
  15. package/dist/cdn/chunks/{AiFeatureMenu-Dm9CL3u0.js.map → AiFeatureMenu-BuSO0dXP.js.map} +1 -1
  16. package/dist/cdn/chunks/{BlockIssueBadge-DjnFAeWq.js → BlockIssueBadge-sv3IZ1Pb.js} +5 -5
  17. package/dist/cdn/chunks/{BlockIssueBadge-DjnFAeWq.js.map → BlockIssueBadge-sv3IZ1Pb.js.map} +1 -1
  18. package/dist/cdn/chunks/{CloudEditor-XSmLmdgp.js → CloudEditor-hxoqsTsq.js} +236 -235
  19. package/dist/cdn/chunks/{CloudEditor-XSmLmdgp.js.map → CloudEditor-hxoqsTsq.js.map} +1 -1
  20. package/dist/cdn/chunks/{CollaboratorBar-BfoGJhns.js → CollaboratorBar-DFqsaNX0.js} +3 -3
  21. package/dist/cdn/chunks/{CollaboratorBar-BfoGJhns.js.map → CollaboratorBar-DFqsaNX0.js.map} +1 -1
  22. package/dist/cdn/chunks/{CountdownBlock-GRio55a1.js → CountdownBlock-PpH3fxAX.js} +2 -2
  23. package/dist/cdn/chunks/{CountdownBlock-GRio55a1.js.map → CountdownBlock-PpH3fxAX.js.map} +1 -1
  24. package/dist/cdn/chunks/{CountdownToolbar-Cd1oEopw.js → CountdownToolbar-CZN92Bhz.js} +3 -3
  25. package/dist/cdn/chunks/{CountdownToolbar-Cd1oEopw.js.map → CountdownToolbar-CZN92Bhz.js.map} +1 -1
  26. package/dist/cdn/chunks/{IssuesPanel-C-BiFQDQ.js → IssuesPanel-wQjrnuyc.js} +6 -6
  27. package/dist/cdn/chunks/{IssuesPanel-C-BiFQDQ.js.map → IssuesPanel-wQjrnuyc.js.map} +1 -1
  28. package/dist/cdn/chunks/{ModuleBrowserModal-Dj7gRT4Q.js → ModuleBrowserModal-348wCgft.js} +8 -8
  29. package/dist/cdn/chunks/{ModuleBrowserModal-Dj7gRT4Q.js.map → ModuleBrowserModal-348wCgft.js.map} +1 -1
  30. package/dist/cdn/chunks/{ModulePreviewCanvas-hwdveKb0.js → ModulePreviewCanvas-Cf6DUHml.js} +22 -22
  31. package/dist/cdn/chunks/{ModulePreviewCanvas-hwdveKb0.js.map → ModulePreviewCanvas-Cf6DUHml.js.map} +1 -1
  32. package/dist/cdn/chunks/{NumberWithSuffix-bE_6cfiA.js → NumberWithSuffix-Deo8EOSz.js} +2 -2
  33. package/dist/cdn/chunks/{NumberWithSuffix-bE_6cfiA.js.map → NumberWithSuffix-Deo8EOSz.js.map} +1 -1
  34. package/dist/cdn/chunks/{ParagraphEditor-y1kGJRBX.js → ParagraphEditor-Cbl_gBYM.js} +40 -40
  35. package/dist/cdn/chunks/{ParagraphEditor-y1kGJRBX.js.map → ParagraphEditor-Cbl_gBYM.js.map} +1 -1
  36. package/dist/cdn/chunks/{RichTextEditorContent-DPy9D4hc.js → RichTextEditorContent-TBPzn3RC.js} +4 -4
  37. package/dist/cdn/chunks/{RichTextEditorContent-DPy9D4hc.js.map → RichTextEditorContent-TBPzn3RC.js.map} +1 -1
  38. package/dist/cdn/chunks/{SaveModuleDialog-CPu5e2VG.js → SaveModuleDialog-CxdYMutK.js} +4 -4
  39. package/dist/cdn/chunks/{SaveModuleDialog-CPu5e2VG.js.map → SaveModuleDialog-CxdYMutK.js.map} +1 -1
  40. package/dist/cdn/chunks/{TitleEditor-CMzzOPye.js → TitleEditor--XulEf7R.js} +6 -6
  41. package/dist/cdn/chunks/{TitleEditor-CMzzOPye.js.map → TitleEditor--XulEf7R.js.map} +1 -1
  42. package/dist/cdn/chunks/{blockTypeIcons-BC5qpvuV.js → blockTypeIcons-BJND4L-A.js} +6 -6
  43. package/dist/cdn/chunks/{blockTypeIcons-BC5qpvuV.js.map → blockTypeIcons-BJND4L-A.js.map} +1 -1
  44. package/dist/{de-DIAGP7yH.js → cdn/chunks/de-BJMLpg_p.js} +6 -0
  45. package/dist/cdn/chunks/{de-DIAGP7yH.js.map → de-BJMLpg_p.js.map} +1 -1
  46. package/dist/{en-nqIW8Q9W.js → cdn/chunks/en-DFMMw7SL.js} +6 -0
  47. package/dist/cdn/chunks/{en-nqIW8Q9W.js.map → en-DFMMw7SL.js.map} +1 -1
  48. package/dist/cdn/chunks/{extensions-DH7ESsaz.js → extensions-BtWoLy6E.js} +23 -23
  49. package/dist/cdn/chunks/{extensions-DH7ESsaz.js.map → extensions-BtWoLy6E.js.map} +1 -1
  50. package/dist/cdn/chunks/{features-DmUOSthI.js → features-mO5NzwnN.js} +442 -432
  51. package/dist/cdn/chunks/features-mO5NzwnN.js.map +1 -0
  52. package/dist/cdn/chunks/{icons-DguD4x_X.js → icons-CuXm6XAT.js} +2 -2
  53. package/dist/cdn/chunks/{icons-DguD4x_X.js.map → icons-CuXm6XAT.js.map} +1 -1
  54. package/dist/cdn/chunks/{media-library-ClQUPxRM.js → media-library-BtNzYUTi.js} +525 -525
  55. package/dist/cdn/chunks/{media-library-ClQUPxRM.js.map → media-library-BtNzYUTi.js.map} +1 -1
  56. package/dist/cdn/chunks/{pt-BR-DCNnLLx9.js → pt-BR-C-9aWLlR.js} +5 -1
  57. package/dist/cdn/chunks/{pt-BR-DCNnLLx9.js.map → pt-BR-C-9aWLlR.js.map} +1 -1
  58. package/dist/cdn/chunks/{quality-CIw_7cXv.js → quality-YKe19zp8.js} +83 -83
  59. package/dist/cdn/chunks/{quality-CIw_7cXv.js.map → quality-YKe19zp8.js.map} +1 -1
  60. package/dist/cdn/chunks/{renderer-Bx8I7_Rb.js → renderer-BcOaxCs6.js} +20 -20
  61. package/dist/cdn/chunks/{renderer-Bx8I7_Rb.js.map → renderer-BcOaxCs6.js.map} +1 -1
  62. package/dist/cdn/chunks/{src-C-GlM149.js → src-B_ZRmuit.js} +63 -63
  63. package/dist/cdn/chunks/{src-C-GlM149.js.map → src-B_ZRmuit.js.map} +1 -1
  64. package/dist/cdn/chunks/{styles-CfqCvq0Z.js → styles-DDBCCJ-l.js} +218 -200
  65. package/dist/cdn/chunks/styles-DDBCCJ-l.js.map +1 -0
  66. package/dist/cdn/editor.css +1 -1
  67. package/dist/cdn/editor.js +105 -104
  68. package/dist/cdn/editor.js.map +1 -1
  69. package/dist/{cdn/chunks/de-DIAGP7yH.js → de-BJMLpg_p.js} +4 -2
  70. package/dist/{cdn/chunks/en-nqIW8Q9W.js → en-DFMMw7SL.js} +4 -2
  71. package/dist/index.d.ts +32 -0
  72. package/dist/{pt-BR-DCNnLLx9.js → pt-BR-C-9aWLlR.js} +4 -0
  73. package/dist/style.css +1 -1
  74. package/dist/{styles-D_ztiOsh.js → styles-DZcQGzsN.js} +514 -496
  75. package/dist/templatical-editor.js +117 -116
  76. package/dist/{useEditorCore-tZGAVvNz.js → useEditorCore-D00QzW07.js} +731 -721
  77. package/package.json +8 -8
  78. package/dist/cdn/chunks/features-DmUOSthI.js.map +0 -1
  79. package/dist/cdn/chunks/styles-CfqCvq0Z.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { C as e, F as t, G as n, H as r, J as i, L as a, M as o, O as s, P as c, T as l, V as u, Y as d, Z as f, b as p, c as m, ct as h, f as g, g as _, h as v, it as y, l as b, m as x, n as S, o as C, ot as w, p as T, s as E, st as D, t as ee, u as O, v as k, x as A, y as j, z as M } from "./draggable-iAb7QVJo.js";
2
- import { $ as N, $t as P, An as te, Bt as ne, Ct as F, Dn as I, Dt as L, En as re, F as ie, Ft as R, G as z, Gt as B, H as ae, I as oe, J as se, Jt as ce, K as le, Kt as ue, L as de, Lt as V, M as fe, Mt as pe, N as me, Nt as he, O as ge, P as _e, Pt as ve, Qt as ye, R as be, Sn as xe, St as Se, Tn as Ce, Tt as we, U as Te, V as Ee, Vt as De, W as Oe, Wt as ke, Xt as Ae, Yt as je, Zt as Me, an as Ne, at as Pe, bn as Fe, bt as Ie, ct as Le, et as Re, fn as ze, gn as Be, hn as Ve, in as He, it as Ue, j as We, kt as Ge, mt as Ke, nn as qe, q as Je, qt as Ye, rn as Xe, rt as Ze, ut as Qe, vn as $e, wt as et, xt as tt, yn as nt, yt as rt, z as it, zt as at } from "./features-DmUOSthI.js";
3
- import { A as ot, F as st, G as ct, I as lt, M as ut, N as dt, O as ft, P as pt, T as H, V as mt, Y as ht, _ as gt, b as _t, c as vt, h as yt, m as bt, o as xt, s as St, u as Ct, v as wt, y as Tt, z as Et } from "./icons-DguD4x_X.js";
2
+ import { $t as N, At as P, Bt as te, Cn as ne, Ct as F, Dn as I, En as L, Et as R, F as re, Ft as ie, G as z, Gt as ae, H as oe, Ht as se, I as ce, It as B, J as le, Jt as V, K as ue, Kt as de, L as fe, M as pe, N as me, Nt as he, O as ge, On as _e, Ot as ve, P as ye, Pt as be, Qt as xe, R as Se, Rt as Ce, St as we, Tt as Te, U as Ee, V as De, Vt as Oe, W as ke, Xt as Ae, Yt as je, Zt as Me, _n as Ne, an as Pe, at as Fe, bn as Ie, bt as Le, dt as Re, en as ze, et as Be, gn as Ve, ht as He, in as Ue, it as We, j as Ge, jn as Ke, lt as qe, on as Je, ot as Ye, pn as Xe, q as Ze, qt as Qe, rn as $e, tt as et, wt as tt, xn as nt, xt as rt, yn as it, z as at } from "./features-mO5NzwnN.js";
3
+ import { A as ot, F as st, G as ct, I as lt, M as ut, N as dt, O as ft, P as pt, T as H, V as mt, Y as ht, _ as gt, b as _t, c as vt, h as yt, m as bt, o as xt, s as St, u as Ct, v as wt, y as Tt, z as Et } from "./icons-CuXm6XAT.js";
4
4
  import { t as Dt } from "./readableTextColor-f8Kykfnh.js";
5
- import { t as Ot } from "./CountdownBlock-GRio55a1.js";
6
- import { t as kt } from "./blockTypeIcons-BC5qpvuV.js";
5
+ import { t as Ot } from "./CountdownBlock-PpH3fxAX.js";
6
+ import { t as kt } from "./blockTypeIcons-BJND4L-A.js";
7
7
  import { _ as At, c as jt, f as U, g as Mt, h as W, l as Nt, m as G, p as K, t as Pt } from "./styleConstants-lGobwiLH.js";
8
- import { i as q, n as J, r as Y, t as Ft } from "./NumberWithSuffix-bE_6cfiA.js";
8
+ import { i as q, n as J, r as Y, t as Ft } from "./NumberWithSuffix-Deo8EOSz.js";
9
9
  //#region src/utils/resolveLintOptions.ts
10
10
  function It(e) {
11
11
  return {
@@ -27,7 +27,7 @@ var Lt = ["aria-label"], Rt = {
27
27
  }, Wt = { class: "tpl:relative" }, Gt = {
28
28
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
29
29
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
30
- }, Kt = 96, qt = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
30
+ }, Kt = 96, qt = /*#__PURE__*/ We(/* @__PURE__ */ A({
31
31
  __name: "Canvas",
32
32
  props: {
33
33
  viewport: {},
@@ -44,21 +44,21 @@ var Lt = ["aria-label"], Rt = {
44
44
  ],
45
45
  setup(e, { emit: t }) {
46
46
  let n = {
47
- section: de,
48
- title: be,
49
- paragraph: ae,
50
- image: Oe,
51
- button: pe,
52
- divider: Je,
47
+ section: fe,
48
+ title: Se,
49
+ paragraph: oe,
50
+ image: ke,
51
+ button: he,
52
+ divider: Ze,
53
53
  spacer: me,
54
- html: le,
55
- social: _e,
56
- menu: Te,
57
- table: fe,
58
- video: We,
54
+ html: ue,
55
+ social: ye,
56
+ menu: Ee,
57
+ table: pe,
58
+ video: Ge,
59
59
  countdown: Ot,
60
- custom: se
61
- }, i = e, s = t, { t: d } = R(), { t: p } = Re(), m = Ne(ce, "Canvas"), b = l(ke, null), S = l(ne, null), C = l(De, {}), A = g(() => (C.plan?.hasFeature("ai_generation") ?? !1) && (C.ai?.isFeatureEnabled("chat") ?? !1)), M = g(() => (C.plan?.hasFeature("ai_generation") ?? !1) && (C.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = g({
60
+ custom: le
61
+ }, i = e, s = t, { t: d } = B(), { t: p } = et(), m = Je(je, "Canvas"), b = l(ae, null), S = l(Oe, null), C = l(se, {}), A = g(() => (C.plan?.hasFeature("ai_generation") ?? !1) && (C.ai?.isFeatureEnabled("chat") ?? !1)), M = g(() => (C.plan?.hasFeature("ai_generation") ?? !1) && (C.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = g({
62
62
  get: () => i.content.blocks,
63
63
  set: (e) => {
64
64
  m.setContent({
@@ -71,26 +71,26 @@ var Lt = ["aria-label"], Rt = {
71
71
  case "mobile": return 375;
72
72
  default: return i.content.settings.width;
73
73
  }
74
- }), te = g(() => P.value + Kt * 2), F = g(() => ({ fontFamily: i.content.settings.fontFamily })), I = g(() => N.value.length === 0 && !i.previewMode), L = f(0), re = g(() => I.value && L.value > 0);
75
- function ie() {
76
- I.value && (L.value += 1);
74
+ }), te = g(() => P.value + Kt * 2), ne = g(() => ({ fontFamily: i.content.settings.fontFamily })), F = g(() => N.value.length === 0 && !i.previewMode), I = f(0), L = g(() => F.value && I.value > 0);
75
+ function R() {
76
+ F.value && (I.value += 1);
77
77
  }
78
- function z() {
79
- I.value && (L.value = Math.max(0, L.value - 1));
78
+ function re() {
79
+ F.value && (I.value = Math.max(0, I.value - 1));
80
80
  }
81
- function B() {
82
- L.value = 0;
81
+ function ie() {
82
+ I.value = 0;
83
83
  }
84
- function oe(e) {
84
+ function z(e) {
85
85
  i.previewMode || e.target === e.currentTarget && s("select-block", null);
86
86
  }
87
- function ue(e) {
88
- return Ee(e, S, n);
87
+ function ce(e) {
88
+ return De(e, S, n);
89
89
  }
90
90
  function V(e) {
91
91
  return i.lockedBlocks?.get(e) ?? null;
92
92
  }
93
- function he(e, t) {
93
+ function de(e, t) {
94
94
  e.type === "custom" && m.updateBlock(e.id, {
95
95
  fieldValues: t.fieldValues,
96
96
  dataSourceFetched: t.dataSourceFetched
@@ -124,8 +124,8 @@ var Lt = ["aria-label"], Rt = {
124
124
  "tpl-canvas--dark-mode": e.darkMode,
125
125
  "tpl-preview-mode": e.previewMode
126
126
  }]),
127
- style: D(F.value),
128
- onClick: oe
127
+ style: D(ne.value),
128
+ onClick: z
129
129
  }, [j(y(ee), {
130
130
  modelValue: N.value,
131
131
  "onUpdate:modelValue": n[2] ||= (e) => N.value = e,
@@ -141,15 +141,15 @@ var Lt = ["aria-label"], Rt = {
141
141
  "force-fallback": !0,
142
142
  class: w([
143
143
  "tpl-canvas-blocks",
144
- I.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors tpl:duration-150" : "",
145
- I.value && re.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
146
- I.value && !re.value ? "tpl:border-[var(--tpl-primary)]" : ""
144
+ F.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors tpl:duration-150" : "",
145
+ F.value && L.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
146
+ F.value && !L.value ? "tpl:border-[var(--tpl-primary)]" : ""
147
147
  ]),
148
- onDragenter: ie,
149
- onDragleave: z,
150
- onDrop: B
148
+ onDragenter: R,
149
+ onDragleave: re,
150
+ onDrop: ie
151
151
  }, {
152
- default: u(() => [I.value ? (o(), _("div", Rt, [
152
+ default: u(() => [F.value ? (o(), _("div", Rt, [
153
153
  T("div", zt, [j(y(yt), {
154
154
  size: 48,
155
155
  "stroke-width": 1
@@ -161,7 +161,7 @@ var Lt = ["aria-label"], Rt = {
161
161
  T("button", {
162
162
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
163
163
  onClick: n[0] ||= (e) => s("open-ai-chat")
164
- }, [j(y(Qe), {
164
+ }, [j(y(Re), {
165
165
  size: 14,
166
166
  "stroke-width": 2
167
167
  }), k(" " + h(y(p).aiMenu.aiAssistant), 1)]),
@@ -172,7 +172,7 @@ var Lt = ["aria-label"], Rt = {
172
172
  T("button", {
173
173
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
174
174
  onClick: n[1] ||= (e) => s("open-design-reference")
175
- }, [j(y(tt), {
175
+ }, [j(y(we), {
176
176
  size: 14,
177
177
  "stroke-width": 2
178
178
  }), k(" " + h(y(p).aiMenu.designToTemplate), 1)]),
@@ -194,17 +194,17 @@ var Lt = ["aria-label"], Rt = {
194
194
  backgroundColor: V(t.id).color,
195
195
  color: y(Dt)(V(t.id).color)
196
196
  })
197
- }, [T("span", Gt, h(V(t.id).name.charAt(0)), 1), k(" " + h(V(t.id).name), 1)], 4)], 4)) : v("", !0), j(it, {
197
+ }, [T("span", Gt, h(V(t.id).name.charAt(0)), 1), k(" " + h(V(t.id).name), 1)], 4)], 4)) : v("", !0), j(at, {
198
198
  block: t,
199
199
  "is-selected": !e.previewMode && e.selectedBlockId === t.id && !V(t.id),
200
200
  viewport: e.viewport,
201
201
  "preview-mode": e.previewMode,
202
202
  onSelect: (n) => e.previewMode || V(t.id) ? void 0 : s("select-block", t.id)
203
203
  }, {
204
- default: u(() => [(o(), x(a(ue(t)), {
204
+ default: u(() => [(o(), x(a(ce(t)), {
205
205
  block: t,
206
206
  viewport: e.viewport,
207
- onFetchData: (e) => he(t, e),
207
+ onFetchData: (e) => de(t, e),
208
208
  onUpdate: (e) => y(m).updateBlock(t.id, e)
209
209
  }, null, 40, [
210
210
  "block",
@@ -230,7 +230,7 @@ var Lt = ["aria-label"], Rt = {
230
230
  }), [["__scopeId", "data-v-a9a1158b"]]), Jt = A({
231
231
  name: "CustomBlockStylesheets",
232
232
  setup() {
233
- let t = l(ue, null);
233
+ let t = l(Qe, null);
234
234
  return () => t ? t.value.map((t, n) => e("style", {
235
235
  key: n,
236
236
  "data-tpl-custom-block-stylesheet": "",
@@ -279,7 +279,7 @@ var Xt = ["aria-label"], Zt = {
279
279
  }, an = /* @__PURE__ */ A({
280
280
  __name: "Sidebar",
281
281
  setup(e) {
282
- let { t, format: n } = R(), { t: r } = Re(), i = l(B, []), s = l(P, void 0), d = l(at, void 0), p = l(ce, null), m = l(De, {}), b = g(() => (m.savedModules?.moduleCount.value ?? 0) > 0), S = f(!1), C = f(!1);
282
+ let { t, format: n } = B(), { t: r } = et(), i = l(de, []), s = l(ze, void 0), d = l(te, void 0), p = l(je, null), m = l(se, {}), b = g(() => (m.savedModules?.moduleCount.value ?? 0) > 0), S = f(!1), C = f(!1);
283
283
  function w() {
284
284
  C.value || (S.value = !1);
285
285
  }
@@ -305,35 +305,35 @@ var Xt = ["aria-label"], Zt = {
305
305
  ], N = g(() => {
306
306
  let e = A.map((e) => ({
307
307
  type: e,
308
- label: ve(e, t)
308
+ label: ie(e, t)
309
309
  }));
310
310
  return m.plan && e.splice(-1, 0, {
311
311
  type: "countdown",
312
- label: ve("countdown", t)
312
+ label: ie("countdown", t)
313
313
  }), e;
314
- }), te = g(() => i.map((e) => ({
314
+ }), P = g(() => i.map((e) => ({
315
315
  type: `custom:${e.type}`,
316
316
  label: e.name,
317
317
  isCustom: !0,
318
318
  icon: e.icon
319
- }))), ne = g(() => [...N.value, ...te.value]), F = g(() => Yt(ne.value, s)), I = g(() => F.value.items), L = /* @__PURE__ */ new Set();
319
+ }))), ne = g(() => [...N.value, ...P.value]), F = g(() => Yt(ne.value, s)), R = g(() => F.value.items), re = /* @__PURE__ */ new Set();
320
320
  M(() => F.value.unknown, (e) => {
321
- for (let t of e) L.has(t) || (L.add(t), he.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
321
+ for (let t of e) re.has(t) || (re.add(t), be.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
322
322
  }, { immediate: !0 });
323
- function ie(e) {
323
+ function z(e) {
324
324
  if (e.isCustom) {
325
325
  let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
326
- if (n) return re(n);
326
+ if (n) return I(n);
327
327
  }
328
- return Ce(e.type, d);
328
+ return L(e.type, d);
329
329
  }
330
- function z(e) {
330
+ function ae(e) {
331
331
  if (!p) return;
332
- let t = ie(e);
332
+ let t = z(e);
333
333
  p.addBlock(t), p.selectBlock(t.id);
334
334
  }
335
- function ae(e, t) {
336
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), z(t));
335
+ function oe(e, t) {
336
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), ae(t));
337
337
  }
338
338
  return (e, i) => (o(), _("aside", {
339
339
  "aria-label": y(t).sidebarNav.palette,
@@ -364,13 +364,13 @@ var Xt = ["aria-label"], Zt = {
364
364
  S.value ? (o(), _("span", $t, h(y(r).modules.title), 1)) : v("", !0),
365
365
  S.value ? (o(), _("span", en, h(y(m).savedModules?.moduleCount.value ?? 0), 1)) : v("", !0)
366
366
  ], 12, Qt)])) : v("", !0), j(y(ee), {
367
- "model-value": I.value,
367
+ "model-value": R.value,
368
368
  group: {
369
369
  name: "blocks",
370
370
  pull: "clone",
371
371
  put: !1
372
372
  },
373
- clone: ie,
373
+ clone: z,
374
374
  sort: !1,
375
375
  animation: 150,
376
376
  "ghost-class": "tpl-ghost",
@@ -379,20 +379,20 @@ var Xt = ["aria-label"], Zt = {
379
379
  onChoose: E,
380
380
  onEnd: k
381
381
  }, {
382
- default: u(() => [(o(!0), _(O, null, c(I.value, (e) => (o(), _("button", {
382
+ default: u(() => [(o(!0), _(O, null, c(R.value, (e) => (o(), _("button", {
383
383
  key: e.type,
384
384
  type: "button",
385
385
  "data-palette-type": e.type,
386
386
  "aria-label": y(n)(y(t).sidebarNav.insertBlock, { block: e.label }),
387
387
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] active:tpl:cursor-grabbing",
388
388
  style: D({ justifyContent: S.value ? "flex-start" : "center" }),
389
- onClick: (t) => z(e),
390
- onKeydown: (t) => ae(t, e)
389
+ onClick: (t) => ae(e),
390
+ onKeydown: (t) => oe(t, e)
391
391
  }, [T("div", nn, [y(kt)[e.type] ? (o(), x(a(y(kt)[e.type]), {
392
392
  key: 0,
393
393
  size: 20,
394
394
  "stroke-width": 1.5
395
- })) : e.isCustom ? (o(), x(Ue, {
395
+ })) : e.isCustom ? (o(), x(Fe, {
396
396
  key: 1,
397
397
  icon: e.icon,
398
398
  size: 20
@@ -404,7 +404,7 @@ var Xt = ["aria-label"], Zt = {
404
404
  //#endregion
405
405
  //#region src/composables/useMergeTagField.ts
406
406
  function on(e) {
407
- let { modelValue: t, emit: r, elementRef: a } = e, { canRequestMergeTag: o, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: d, syntax: p } = N(), m = f(!1), h = !1, _ = !1;
407
+ let { modelValue: t, emit: r, elementRef: a } = e, { canRequestMergeTag: o, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: d, syntax: p } = Be(), m = f(!1), h = !1, _ = !1;
408
408
  n() && i(() => {
409
409
  _ = !0;
410
410
  });
@@ -422,10 +422,10 @@ function on(e) {
422
422
  type: "mergeTag",
423
423
  value: t,
424
424
  label: u(t)
425
- }) : xe(t, p) ? n.push({
425
+ }) : ne(t, p) ? n.push({
426
426
  type: "logicMergeTag",
427
427
  value: t,
428
- keyword: Fe(t, p)
428
+ keyword: nt(t, p)
429
429
  }) : n.push({
430
430
  type: "text",
431
431
  value: t
@@ -497,7 +497,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
497
497
  },
498
498
  emits: ["edit", "clear"],
499
499
  setup(e, { emit: t }) {
500
- let n = t, { t: r } = R();
500
+ let n = t, { t: r } = B();
501
501
  function i() {
502
502
  n("edit");
503
503
  }
@@ -531,7 +531,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
531
531
  "aria-label": y(r).mergeTag.remove,
532
532
  title: y(r).mergeTag.remove,
533
533
  onClick: a[0] ||= b((e) => n("clear"), ["stop"])
534
- }, [j(y(Pe), {
534
+ }, [j(y(Ye), {
535
535
  size: 12,
536
536
  "stroke-width": 2.5
537
537
  })], 8, dn)], 42, sn));
@@ -545,7 +545,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
545
545
  props: { disabled: { type: Boolean } },
546
546
  emits: ["insert"],
547
547
  setup(e) {
548
- let { t } = R();
548
+ let { t } = B();
549
549
  return (n, r) => (o(), _("button", {
550
550
  type: "button",
551
551
  class: w([mn, "tpl:mt-1.5"]),
@@ -610,7 +610,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
610
610
  props: { settings: {} },
611
611
  emits: ["update"],
612
612
  setup(e, { emit: t }) {
613
- let n = e, r = t, { t: i } = R(), a = Ne(je, "TemplateSettings"), s = g(() => a.fonts.value), l = g(() => s.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : a.defaultFont.value), u = [
613
+ let n = e, r = t, { t: i } = B(), a = Je(Ae, "TemplateSettings"), s = g(() => a.fonts.value), l = g(() => s.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : a.defaultFont.value), u = [
614
614
  {
615
615
  value: 480,
616
616
  label: "480px"
@@ -692,7 +692,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
692
692
  }, null, 42, Fn),
693
693
  T("p", In, h(y(i).templateSettings.contentLocaleHint), 1)
694
694
  ])], 2),
695
- T("div", { class: w(y(Nt)) }, [T("div", Ln, [j(y(Se), {
695
+ T("div", { class: w(y(Nt)) }, [T("div", Ln, [j(y(F), {
696
696
  class: "tpl:text-[var(--tpl-text-muted)]",
697
697
  size: 14,
698
698
  "stroke-width": 2
@@ -702,7 +702,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
702
702
  rows: 2,
703
703
  "onUpdate:modelValue": n[4] ||= (e) => r("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
704
704
  }, null, 8, ["model-value", "placeholder"]), T("div", Rn, [T("span", zn, h(y(i).templateSettings.preheaderTextHint), 1), T("span", Bn, h((e.settings.preheaderText ?? "").length) + "/" + h(qn), 1)])])], 2),
705
- T("div", Vn, [T("div", Hn, [j(y(rt), {
705
+ T("div", Vn, [T("div", Hn, [j(y(Le), {
706
706
  size: 14,
707
707
  "stroke-width": 2
708
708
  }), T("span", null, h(y(i).templateSettings.tips), 1)]), T("ul", Un, [
@@ -716,7 +716,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
716
716
  "type",
717
717
  "value",
718
718
  "placeholder"
719
- ], Qn = "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)]", X = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
719
+ ], Qn = "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)]", X = /*#__PURE__*/ We(/* @__PURE__ */ A({
720
720
  __name: "MergeTagInput",
721
721
  props: {
722
722
  modelValue: {},
@@ -776,7 +776,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
776
776
  },
777
777
  emits: ["update"],
778
778
  setup(e, { emit: t }) {
779
- let n = t, { t: r } = R();
779
+ let n = t, { t: r } = B();
780
780
  function i(e, t) {
781
781
  n("update", { [e]: t });
782
782
  }
@@ -833,7 +833,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
833
833
  }, null, 42, gr), T("span", { class: w(y(G)) }, "px", 2)])])])
834
834
  ], 64));
835
835
  }
836
- }), vr = { class: "spacing-control" }, yr = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, br = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, xr = { class: "tpl:flex tpl:items-center" }, Sr = ["aria-label"], Cr = ["value", "aria-label"], wr = ["aria-label"], Tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Er = { class: "tpl:flex tpl:items-center" }, Dr = ["aria-label"], Or = ["value", "aria-label"], kr = ["aria-label"], Ar = ["aria-label", "title"], jr = { class: "tpl:flex tpl:items-center" }, Mr = ["aria-label"], Nr = ["value", "aria-label"], Pr = ["aria-label"], Fr = { class: "tpl:flex tpl:items-center" }, Ir = ["aria-label"], Lr = ["value", "aria-label"], Rr = ["aria-label"], Z = "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)]", zr = "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)]", Br = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
836
+ }), vr = { class: "spacing-control" }, yr = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, br = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, xr = { class: "tpl:flex tpl:items-center" }, Sr = ["aria-label"], Cr = ["value", "aria-label"], wr = ["aria-label"], Tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Er = { class: "tpl:flex tpl:items-center" }, Dr = ["aria-label"], Or = ["value", "aria-label"], kr = ["aria-label"], Ar = ["aria-label", "title"], jr = { class: "tpl:flex tpl:items-center" }, Mr = ["aria-label"], Nr = ["value", "aria-label"], Pr = ["aria-label"], Fr = { class: "tpl:flex tpl:items-center" }, Ir = ["aria-label"], Lr = ["value", "aria-label"], Rr = ["aria-label"], Z = "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)]", zr = "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)]", Br = /*#__PURE__*/ We(/* @__PURE__ */ A({
837
837
  __name: "SpacingControl",
838
838
  props: {
839
839
  modelValue: {},
@@ -841,7 +841,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
841
841
  },
842
842
  emits: ["update:modelValue"],
843
843
  setup(e, { emit: t }) {
844
- let n = e, r = t, { t: i } = R(), a = g(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), s = f(a.value);
844
+ let n = e, r = t, { t: i } = B(), a = g(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), s = f(a.value);
845
845
  M(a, (e) => {
846
846
  !e && s.value && (s.value = !1);
847
847
  });
@@ -1016,7 +1016,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1016
1016
  type: "button",
1017
1017
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1018
1018
  onClick: i[0] ||= (e) => n.$emit("toggle")
1019
- }, [j(y(Ge), {
1019
+ }, [j(y(P), {
1020
1020
  class: w(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1021
1021
  size: 12,
1022
1022
  "stroke-width": 2
@@ -1042,7 +1042,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1042
1042
  },
1043
1043
  emits: ["update"],
1044
1044
  setup(e, { emit: t }) {
1045
- let n = e, i = t, { t: s } = R(), p = l(Ye, []), m = l(V, !1), b = d(/* @__PURE__ */ new Set()), S = f(!1), E = f(""), D = f(""), ee = [{
1045
+ let n = e, i = t, { t: s } = B(), p = l(V, []), m = l(Ce, !1), b = d(/* @__PURE__ */ new Set()), S = f(!1), E = f(""), D = f(""), ee = [{
1046
1046
  key: "desktop",
1047
1047
  icon: dt,
1048
1048
  labelKey: "showOnDesktop"
@@ -1089,7 +1089,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1089
1089
  function L(e) {
1090
1090
  return n.block.visibility?.[e] !== !1;
1091
1091
  }
1092
- function re(e) {
1092
+ function R(e) {
1093
1093
  let t = {
1094
1094
  desktop: L("desktop"),
1095
1095
  mobile: L("mobile")
@@ -1139,7 +1139,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1139
1139
  type: "checkbox",
1140
1140
  class: "tpl:accent-[var(--tpl-primary)]",
1141
1141
  checked: L(e.key),
1142
- onChange: (t) => re(e.key)
1142
+ onChange: (t) => R(e.key)
1143
1143
  }, null, 40, Wr),
1144
1144
  (o(), x(a(e.icon), {
1145
1145
  size: 14,
@@ -1222,7 +1222,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1222
1222
  },
1223
1223
  emits: ["update:modelValue"],
1224
1224
  setup(e, { emit: t }) {
1225
- let n = t, { t: r } = R();
1225
+ let n = t, { t: r } = B();
1226
1226
  return (t, i) => (o(), _("div", {
1227
1227
  class: "tpl:mb-3.5",
1228
1228
  title: e.readOnly ? y(r).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -1278,7 +1278,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1278
1278
  },
1279
1279
  emits: ["update:modelValue"],
1280
1280
  setup(e, { emit: t }) {
1281
- let n = t, { t: r } = R();
1281
+ let n = t, { t: r } = B();
1282
1282
  return (t, i) => (o(), x(Q, {
1283
1283
  label: e.field.label,
1284
1284
  required: e.field.required,
@@ -1316,7 +1316,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1316
1316
  },
1317
1317
  emits: ["update:modelValue"],
1318
1318
  setup(e, { emit: t }) {
1319
- let n = t, { t: r } = R(), i = l(ye, null), a = z(), s = g(() => !!i);
1319
+ let n = t, { t: r } = B(), i = l(N, null), a = z(), s = g(() => !!i);
1320
1320
  async function c() {
1321
1321
  let e = await i?.({ accept: ["images"] });
1322
1322
  a.alive && e && n("update:modelValue", e.url);
@@ -1345,7 +1345,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1345
1345
  key: 2,
1346
1346
  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)]",
1347
1347
  onClick: i[1] ||= (e) => c()
1348
- }, [j(y(Ie), {
1348
+ }, [j(y(rt), {
1349
1349
  size: 14,
1350
1350
  "stroke-width": 1.5
1351
1351
  }), k(" " + h(y(r).image.browseMedia), 1)])) : v("", !0)]),
@@ -1373,7 +1373,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1373
1373
  },
1374
1374
  emits: ["update:modelValue"],
1375
1375
  setup(e, { emit: t }) {
1376
- let n = t, { t: r } = R();
1376
+ let n = t, { t: r } = B();
1377
1377
  return (t, i) => (o(), x(Q, {
1378
1378
  label: e.field.label,
1379
1379
  required: e.field.required,
@@ -1410,7 +1410,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1410
1410
  },
1411
1411
  emits: ["update:modelValue"],
1412
1412
  setup(e, { emit: t }) {
1413
- let n = e, r = t, { t: i } = R(), s = g(() => n.modelValue || []), l = g(() => !n.field.maxItems || s.value.length < n.field.maxItems), d = g(() => !n.field.minItems || s.value.length > n.field.minItems);
1413
+ let n = e, r = t, { t: i } = B(), s = g(() => n.modelValue || []), l = g(() => !n.field.maxItems || s.value.length < n.field.maxItems), d = g(() => !n.field.minItems || s.value.length > n.field.minItems);
1414
1414
  function f() {
1415
1415
  if (!l.value || n.readOnly) return;
1416
1416
  let e = {};
@@ -1443,7 +1443,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1443
1443
  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)]",
1444
1444
  title: y(i).customBlocks.fields.removeItem,
1445
1445
  onClick: (e) => p(n)
1446
- }, [j(y(Le), {
1446
+ }, [j(y(qe), {
1447
1447
  size: 12,
1448
1448
  "stroke-width": 2
1449
1449
  })], 8, wi)) : v("", !0)]), (o(!0), _(O, null, c(e.field.fields, (r) => (o(), x(a(y(Fi)(r.type)), {
@@ -1489,7 +1489,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1489
1489
  },
1490
1490
  emits: ["update:modelValue"],
1491
1491
  setup(e, { emit: t }) {
1492
- let n = t, { t: r } = R();
1492
+ let n = t, { t: r } = B();
1493
1493
  return (t, i) => (o(), x(Q, {
1494
1494
  label: e.field.label,
1495
1495
  required: e.field.required,
@@ -1525,7 +1525,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1525
1525
  },
1526
1526
  emits: ["update:modelValue"],
1527
1527
  setup(e, { emit: t }) {
1528
- let n = t, { t: r } = R();
1528
+ let n = t, { t: r } = B();
1529
1529
  return (t, i) => (o(), x(Q, {
1530
1530
  label: e.field.label,
1531
1531
  required: e.field.required,
@@ -1567,7 +1567,7 @@ var sn = ["aria-label", "onKeydown"], cn = ["data-tooltip"], ln = ["data-tooltip
1567
1567
  },
1568
1568
  emits: ["update:modelValue"],
1569
1569
  setup(e, { emit: t }) {
1570
- let n = t, { t: r } = R();
1570
+ let n = t, { t: r } = B();
1571
1571
  return (t, i) => (o(), x(Q, {
1572
1572
  label: e.field.label,
1573
1573
  required: e.field.required,
@@ -1630,7 +1630,7 @@ var Ii = {
1630
1630
  props: { block: {} },
1631
1631
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1632
1632
  setup(e, { emit: t }) {
1633
- let n = e, r = t, { t: i } = R(), s = l(B, []), u = g(() => s.find((e) => e.type === n.block.customType)), { isFetching: d, fetchError: f, fetch: p, hasDataSource: m, needsFetch: b } = Be({
1633
+ let n = e, r = t, { t: i } = B(), s = l(de, []), u = g(() => s.find((e) => e.type === n.block.customType)), { isFetching: d, fetchError: f, fetch: p, hasDataSource: m, needsFetch: b } = Ne({
1634
1634
  definition: u,
1635
1635
  block: g(() => n.block),
1636
1636
  onUpdate: (e, t) => {
@@ -1658,7 +1658,7 @@ var Ii = {
1658
1658
  type: "button",
1659
1659
  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)]",
1660
1660
  onClick: n[1] ||= (...e) => y(p) && y(p)(...e)
1661
- }, [j(y(Ke), { size: 12 }), k(" " + h(y(i).customBlocks.dataSource.changeButton), 1)]))])), y(f) ? (o(), _("p", Ui, [j(y(L), {
1661
+ }, [j(y(He), { size: 12 }), k(" " + h(y(i).customBlocks.dataSource.changeButton), 1)]))])), y(f) ? (o(), _("p", Ui, [j(y(ve), {
1662
1662
  size: 14,
1663
1663
  class: "tpl:shrink-0"
1664
1664
  }), k(" " + h(y(i).customBlocks.dataSource.fetchError), 1)])) : v("", !0)])) : v("", !0),
@@ -1681,7 +1681,7 @@ var Ii = {
1681
1681
  props: { block: {} },
1682
1682
  emits: ["update"],
1683
1683
  setup(e, { emit: t }) {
1684
- let n = t, { t: r } = R();
1684
+ let n = t, { t: r } = B();
1685
1685
  function i(e, t) {
1686
1686
  n("update", { [e]: t });
1687
1687
  }
@@ -1723,7 +1723,7 @@ var Ii = {
1723
1723
  props: { block: {} },
1724
1724
  emits: ["update"],
1725
1725
  setup(e, { emit: t }) {
1726
- let n = t, { t: r } = R();
1726
+ let n = t, { t: r } = B();
1727
1727
  return (t, i) => (o(), _("div", Zi, [
1728
1728
  T("label", { class: w(y(W)) }, h(y(r).html.content), 3),
1729
1729
  T("textarea", {
@@ -1733,7 +1733,7 @@ var Ii = {
1733
1733
  class: w(y(Mt)),
1734
1734
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
1735
1735
  }, null, 42, Qi),
1736
- T("p", $i, [j(y(rt), {
1736
+ T("p", $i, [j(y(Le), {
1737
1737
  size: 12,
1738
1738
  class: "tpl:mt-0.5 tpl:shrink-0"
1739
1739
  }), k(" " + h(y(r).html.sanitizationHint), 1)])
@@ -1750,7 +1750,7 @@ var Ii = {
1750
1750
  props: { block: {} },
1751
1751
  emits: ["update"],
1752
1752
  setup(e, { emit: t }) {
1753
- let n = t, { t: r } = R(), i = l(ye, null), a = l(Me, $e.liquid), s = z(), c = g(() => !!i), u = f(!1), d = f(!1), { start: p } = Ve(() => {
1753
+ let n = t, { t: r } = B(), i = l(N, null), a = l(xe, it.liquid), s = z(), c = g(() => !!i), u = f(!1), d = f(!1), { start: p } = Ve(() => {
1754
1754
  u.value = !1;
1755
1755
  }, 1e3, { immediate: !1 });
1756
1756
  function m(e, t) {
@@ -1783,12 +1783,12 @@ var Ii = {
1783
1783
  "background-color": "var(--tpl-bg)"
1784
1784
  },
1785
1785
  onClick: b
1786
- }, [j(y(Ie), {
1786
+ }, [j(y(rt), {
1787
1787
  size: 14,
1788
1788
  "stroke-width": 1.5
1789
1789
  }), k(" " + h(y(r).image.browseMedia), 1)])) : v("", !0)
1790
1790
  ]),
1791
- y(nt)(e.block.src, y(a)) ? (o(), _("div", na, [T("label", { class: w(y(W)) }, [k(h(y(r).image.placeholderUrl) + " ", 1), n[8] ||= T("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, h("(optional)"), -1)], 2), T("input", {
1791
+ y(Ie)(e.block.src, y(a)) ? (o(), _("div", na, [T("label", { class: w(y(W)) }, [k(h(y(r).image.placeholderUrl) + " ", 1), n[8] ||= T("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, h("(optional)"), -1)], 2), T("input", {
1792
1792
  type: "url",
1793
1793
  class: w(y(U)),
1794
1794
  value: e.block.placeholderUrl || "",
@@ -1874,7 +1874,7 @@ var Ii = {
1874
1874
  },
1875
1875
  emits: ["update"],
1876
1876
  setup(e, { emit: t }) {
1877
- let n = e, r = t, { t: i } = R(), a = g(() => [
1877
+ let n = e, r = t, { t: i } = B(), a = g(() => [
1878
1878
  {
1879
1879
  key: "openInNewTab",
1880
1880
  label: i.menu.openInNewTab
@@ -1909,7 +1909,7 @@ var Ii = {
1909
1909
  }
1910
1910
  function d() {
1911
1911
  let e = {
1912
- id: I(),
1912
+ id: _e(),
1913
1913
  text: "",
1914
1914
  url: "",
1915
1915
  openInNewTab: !1,
@@ -1943,7 +1943,7 @@ var Ii = {
1943
1943
  class: w(y(At)),
1944
1944
  title: y(i).menu.removeItem,
1945
1945
  onClick: (e) => p(t.id)
1946
- }, [j(y(Pe), {
1946
+ }, [j(y(Ye), {
1947
1947
  size: 14,
1948
1948
  "stroke-width": 2
1949
1949
  })], 10, ya)]),
@@ -2074,7 +2074,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2074
2074
  props: { block: {} },
2075
2075
  emits: ["update"],
2076
2076
  setup(e, { emit: t }) {
2077
- let n = e, r = t, { t: i } = R(), a = g(() => [
2077
+ let n = e, r = t, { t: i } = B(), a = g(() => [
2078
2078
  {
2079
2079
  value: "1",
2080
2080
  label: i.section.column1
@@ -2117,13 +2117,13 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2117
2117
  props: { block: {} },
2118
2118
  emits: ["update"],
2119
2119
  setup(e, { emit: t }) {
2120
- let n = e, r = t, { t: i } = R();
2120
+ let n = e, r = t, { t: i } = B();
2121
2121
  function a(e, t) {
2122
2122
  r("update", { [e]: t });
2123
2123
  }
2124
2124
  function s() {
2125
2125
  let e = {
2126
- id: I(),
2126
+ id: _e(),
2127
2127
  platform: "facebook",
2128
2128
  url: ""
2129
2129
  };
@@ -2147,14 +2147,14 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2147
2147
  class: w([y(U), "tpl:flex-1"]),
2148
2148
  value: e.platform,
2149
2149
  onChange: (t) => l(e.id, "platform", t.target.value)
2150
- }, [(o(!0), _(O, null, c(y(oe), (e) => (o(), _("option", {
2150
+ }, [(o(!0), _(O, null, c(y(ce), (e) => (o(), _("option", {
2151
2151
  key: e,
2152
2152
  value: e
2153
- }, h(y(ie)[e].name), 9, Ra))), 128))], 42, La), T("button", {
2153
+ }, h(y(re)[e].name), 9, Ra))), 128))], 42, La), T("button", {
2154
2154
  class: w(y(At)),
2155
2155
  title: y(i).social.removeIcon,
2156
2156
  onClick: (t) => u(e.id)
2157
- }, [j(y(Pe), {
2157
+ }, [j(y(Ye), {
2158
2158
  size: 14,
2159
2159
  "stroke-width": 2
2160
2160
  })], 10, za)]), j(X, {
@@ -2238,7 +2238,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2238
2238
  props: { block: {} },
2239
2239
  emits: ["update"],
2240
2240
  setup(e, { emit: t }) {
2241
- let n = t, { t: r } = R();
2241
+ let n = t, { t: r } = B();
2242
2242
  return (t, i) => (o(), _("div", $a, [
2243
2243
  T("label", { class: w(y(W)) }, h(y(r).spacer.height), 3),
2244
2244
  T("div", eo, [T("input", {
@@ -2270,15 +2270,15 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2270
2270
  },
2271
2271
  emits: ["update"],
2272
2272
  setup(e, { emit: t }) {
2273
- let n = e, r = t, { t: i } = R(), a = g(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2273
+ let n = e, r = t, { t: i } = B(), a = g(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2274
2274
  function s(e, t) {
2275
2275
  r("update", { [e]: t });
2276
2276
  }
2277
2277
  function l() {
2278
2278
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
2279
- id: I(),
2279
+ id: _e(),
2280
2280
  cells: Array.from({ length: e }, () => ({
2281
- id: I(),
2281
+ id: _e(),
2282
2282
  content: ""
2283
2283
  }))
2284
2284
  };
@@ -2291,7 +2291,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2291
2291
  r("update", { rows: n.block.rows.map((e) => ({
2292
2292
  ...e,
2293
2293
  cells: [...e.cells, {
2294
- id: I(),
2294
+ id: _e(),
2295
2295
  content: ""
2296
2296
  }]
2297
2297
  })) });
@@ -2420,7 +2420,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2420
2420
  },
2421
2421
  emits: ["update"],
2422
2422
  setup(e, { emit: t }) {
2423
- let n = t, { t: r } = R();
2423
+ let n = t, { t: r } = B();
2424
2424
  function i(e, t) {
2425
2425
  n("update", { [e]: t });
2426
2426
  }
@@ -2485,7 +2485,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2485
2485
  props: { block: {} },
2486
2486
  emits: ["update"],
2487
2487
  setup(e, { emit: t }) {
2488
- let n = e, r = t, { t: i } = R(), a = l(ye, null), s = l(Me, $e.liquid), c = z(), u = g(() => !!a), d = g(() => nt(n.block.url, s)), p = f(!1), { start: m } = Ve(() => {
2488
+ let n = e, r = t, { t: i } = B(), a = l(N, null), s = l(xe, it.liquid), c = z(), u = g(() => !!a), d = g(() => Ie(n.block.url, s)), p = f(!1), { start: m } = Ve(() => {
2489
2489
  p.value = !1;
2490
2490
  }, 1e3, { immediate: !1 });
2491
2491
  function b(e, t) {
@@ -2541,7 +2541,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2541
2541
  "background-color": "var(--tpl-bg)"
2542
2542
  },
2543
2543
  onClick: x
2544
- }, [j(y(Ie), {
2544
+ }, [j(y(rt), {
2545
2545
  size: 14,
2546
2546
  "stroke-width": 1.5
2547
2547
  }), k(" " + h(y(i).image.browseMedia), 1)])) : v("", !0)
@@ -2582,7 +2582,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2582
2582
  }, null, 8, ["options", "model-value"])])
2583
2583
  ], 64));
2584
2584
  }
2585
- }), ds = ["aria-label"], fs = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ps = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, ms = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, hs = { class: "tpl:flex tpl:gap-1" }, gs = ["title"], _s = ["title"], vs = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, ys = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
2585
+ }), ds = ["aria-label"], fs = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ps = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, ms = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, hs = { class: "tpl:flex tpl:gap-1" }, gs = ["title"], _s = ["title"], vs = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, ys = /*#__PURE__*/ We(/* @__PURE__ */ A({
2586
2586
  __name: "Toolbar",
2587
2587
  props: { block: {} },
2588
2588
  emits: [
@@ -2591,9 +2591,9 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2591
2591
  "duplicate"
2592
2592
  ],
2593
2593
  setup(e, { emit: t }) {
2594
- let n = p(() => import("./CountdownToolbar-Cd1oEopw.js")), r = e, i = t, { t: s } = R(), c = Ne(je, "Toolbar"), u = l(B, []), d = g(() => r.block.type), f = g(() => te(r.block)), m = g(() => {
2594
+ let n = p(() => import("./CountdownToolbar-CZN92Bhz.js")), r = e, i = t, { t: s } = B(), c = Je(Ae, "Toolbar"), u = l(de, []), d = g(() => r.block.type), f = g(() => Ke(r.block)), m = g(() => {
2595
2595
  if (f.value) return u.find((e) => e.type === r.block.customType);
2596
- }), b = g(() => f.value ? m.value?.name ?? r.block.customType : ve(d.value, s)), S = c.fonts;
2596
+ }), b = g(() => f.value ? m.value?.name ?? r.block.customType : ie(d.value, s)), S = c.fonts;
2597
2597
  function C(e) {
2598
2598
  i("update", e);
2599
2599
  }
@@ -2604,7 +2604,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2604
2604
  key: 0,
2605
2605
  size: 16,
2606
2606
  "stroke-width": 1.5
2607
- })) : f.value ? (o(), x(y(we), {
2607
+ })) : f.value ? (o(), x(y(R), {
2608
2608
  key: 1,
2609
2609
  size: 16,
2610
2610
  "stroke-width": 1.5
@@ -2612,14 +2612,14 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2612
2612
  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)]",
2613
2613
  title: y(s).toolbar.duplicate,
2614
2614
  onClick: r[0] ||= (e) => i("duplicate")
2615
- }, [j(y(et), {
2615
+ }, [j(y(Te), {
2616
2616
  size: 14,
2617
2617
  "stroke-width": 2
2618
2618
  })], 8, gs), T("button", {
2619
2619
  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)]",
2620
2620
  title: y(s).toolbar.delete,
2621
2621
  onClick: r[1] ||= (e) => i("delete")
2622
- }, [j(y(Le), {
2622
+ }, [j(y(qe), {
2623
2623
  size: 14,
2624
2624
  "stroke-width": 2
2625
2625
  })], 8, _s)])]), T("div", vs, [f.value ? (o(), x(Wi, {
@@ -2739,7 +2739,7 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2739
2739
  "update-settings"
2740
2740
  ],
2741
2741
  setup(e, { emit: t }) {
2742
- let n = p(() => import("./IssuesPanel-C-BiFQDQ.js")), r = e, i = t, { t: a } = R(), s = f("content"), c = l(qe, null), u = g(() => c !== null), d = g(() => c?.issues.value.length ?? 0);
2742
+ let n = p(() => import("./IssuesPanel-wQjrnuyc.js")), r = e, i = t, { t: a } = B(), s = f("content"), c = l($e, null), u = g(() => c !== null), d = g(() => c?.issues.value.length ?? 0);
2743
2743
  function m(e) {
2744
2744
  return s.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)]";
2745
2745
  }
@@ -2825,17 +2825,35 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2825
2825
  s.value === "issues" && u.value ? (o(), _("div", Fs, [j(y(n))])) : v("", !0)
2826
2826
  ], 10, bs));
2827
2827
  }
2828
- }), Ls = ["aria-label"], Rs = [
2828
+ }), Ls = {
2829
+ 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)]",
2830
+ style: { "z-index": "10001" },
2831
+ role: "status",
2832
+ "data-testid": "small-screen-notice"
2833
+ }, Rs = { class: "tpl:text-[var(--tpl-text-dim)]" }, zs = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Bs = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Vs = /* @__PURE__ */ A({
2834
+ __name: "SmallScreenNotice",
2835
+ setup(e) {
2836
+ let { t } = B();
2837
+ return (e, n) => (o(), _("div", Ls, [
2838
+ T("div", Rs, [j(y(dt), {
2839
+ size: 48,
2840
+ "stroke-width": 1.5
2841
+ })]),
2842
+ T("h2", zs, h(y(t).smallScreen.title), 1),
2843
+ T("p", Bs, h(y(t).smallScreen.message), 1)
2844
+ ]));
2845
+ }
2846
+ }), Hs = ["aria-label"], Us = [
2829
2847
  "aria-checked",
2830
2848
  "aria-label",
2831
2849
  "title",
2832
2850
  "onClick"
2833
- ], zs = /* @__PURE__ */ A({
2851
+ ], Ws = /* @__PURE__ */ A({
2834
2852
  __name: "ViewportToggle",
2835
2853
  props: { viewport: {} },
2836
2854
  emits: ["change"],
2837
2855
  setup(e, { emit: t }) {
2838
- let n = e, r = t, { t: i } = R(), a = g(() => [{
2856
+ let n = e, r = t, { t: i } = B(), a = g(() => [{
2839
2857
  value: "desktop",
2840
2858
  label: i.viewport.desktop
2841
2859
  }, {
@@ -2880,18 +2898,18 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2880
2898
  key: 1,
2881
2899
  size: 18,
2882
2900
  "stroke-width": 1.5
2883
- })), T("span", null, h(t.label), 1)], 12, Rs))), 128))], 12, Ls));
2901
+ })), T("span", null, h(t.label), 1)], 12, Us))), 128))], 12, Hs));
2884
2902
  }
2885
- }), Bs = [
2903
+ }), Gs = [
2886
2904
  "aria-label",
2887
2905
  "title",
2888
2906
  "aria-pressed"
2889
- ], Vs = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
2907
+ ], Ks = /*#__PURE__*/ We(/* @__PURE__ */ A({
2890
2908
  __name: "PreviewToggle",
2891
2909
  props: { previewMode: { type: Boolean } },
2892
2910
  emits: ["change"],
2893
2911
  setup(e, { emit: t }) {
2894
- let n = t, { t: r } = R();
2912
+ let n = t, { t: r } = B();
2895
2913
  return (t, i) => (o(), _("button", {
2896
2914
  class: "tpl-preview-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all tpl:duration-150",
2897
2915
  style: D({
@@ -2909,28 +2927,28 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2909
2927
  "leave-to-class": "tpl-icon-leave-to",
2910
2928
  mode: "out-in"
2911
2929
  }, {
2912
- default: u(() => [e.previewMode ? (o(), x(y(Se), {
2930
+ default: u(() => [e.previewMode ? (o(), x(y(F), {
2913
2931
  key: "eye",
2914
2932
  size: 18,
2915
2933
  "stroke-width": 1.5
2916
- })) : (o(), x(y(F), {
2934
+ })) : (o(), x(y(tt), {
2917
2935
  key: "eye-off",
2918
2936
  size: 18,
2919
2937
  "stroke-width": 1.5
2920
2938
  }))]),
2921
2939
  _: 1
2922
- })], 12, Bs));
2940
+ })], 12, Gs));
2923
2941
  }
2924
- }), [["__scopeId", "data-v-af87d02a"]]), Hs = [
2942
+ }), [["__scopeId", "data-v-af87d02a"]]), qs = [
2925
2943
  "aria-label",
2926
2944
  "title",
2927
2945
  "aria-pressed"
2928
- ], Us = /*#__PURE__*/ Ze(/* @__PURE__ */ A({
2946
+ ], Js = /*#__PURE__*/ We(/* @__PURE__ */ A({
2929
2947
  __name: "DarkModeToggle",
2930
2948
  props: { darkMode: { type: Boolean } },
2931
2949
  emits: ["change"],
2932
2950
  setup(e, { emit: t }) {
2933
- let n = t, { t: r } = R();
2951
+ let n = t, { t: r } = B();
2934
2952
  return (t, i) => (o(), _("button", {
2935
2953
  class: "tpl-dark-mode-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all tpl:duration-150",
2936
2954
  style: D({
@@ -2958,27 +2976,27 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2958
2976
  "stroke-width": 1.5
2959
2977
  }))]),
2960
2978
  _: 1
2961
- })], 12, Hs));
2979
+ })], 12, qs));
2962
2980
  }
2963
- }), [["__scopeId", "data-v-f8694f76"]]), Ws = {
2981
+ }), [["__scopeId", "data-v-f8694f76"]]), Ys = {
2964
2982
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2965
2983
  style: {
2966
2984
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2967
2985
  "backdrop-filter": "blur(8px)",
2968
2986
  "-webkit-backdrop-filter": "blur(8px)"
2969
2987
  }
2970
- }, Gs = {
2988
+ }, Xs = {
2971
2989
  href: "https://github.com/templatical/sdk",
2972
2990
  target: "_blank",
2973
2991
  rel: "noopener noreferrer",
2974
2992
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
2975
2993
  style: { "text-decoration": "none" }
2976
- }, Ks = /* @__PURE__ */ A({
2994
+ }, Zs = /* @__PURE__ */ A({
2977
2995
  __name: "EditorFooter",
2978
2996
  props: { positionClass: {} },
2979
2997
  setup(e) {
2980
- let { t } = R();
2981
- return (n, r) => (o(), _("footer", { class: w(["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]) }, [T("div", Ws, [
2998
+ let { t } = B();
2999
+ return (n, r) => (o(), _("footer", { class: w(["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]) }, [T("div", Ys, [
2982
3000
  T("span", null, h(y(t).footer.poweredBy), 1),
2983
3001
  r[0] ||= T("a", {
2984
3002
  href: "https://templatical.com",
@@ -2993,32 +3011,32 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
2993
3011
  alt: ""
2994
3012
  }), k(" Templatical ")], -1),
2995
3013
  r[1] ||= T("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
2996
- T("a", Gs, h(y(t).footer.openSource), 1)
3014
+ T("a", Xs, h(y(t).footer.openSource), 1)
2997
3015
  ])], 2));
2998
3016
  }
2999
- }), qs = ["aria-labelledby", "data-tpl-theme"], Js = { 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" }, Ys = ["id"], Xs = ["aria-label"], Zs = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Qs = [
3017
+ }), Qs = ["aria-labelledby", "data-tpl-theme"], $s = { 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" }, ec = ["id"], tc = ["aria-label"], nc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, rc = [
3000
3018
  "id",
3001
3019
  "placeholder",
3002
3020
  "aria-label",
3003
3021
  "aria-activedescendant"
3004
- ], $s = {
3022
+ ], ic = {
3005
3023
  key: 0,
3006
3024
  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",
3007
3025
  "data-testid": "merge-tag-picker-group-pills"
3008
- }, ec = ["data-group-name", "onClick"], tc = ["aria-label"], nc = {
3026
+ }, ac = ["data-group-name", "onClick"], oc = ["aria-label"], sc = {
3009
3027
  key: 0,
3010
3028
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3011
3029
  "data-testid": "merge-tag-picker-empty"
3012
- }, rc = {
3030
+ }, cc = {
3013
3031
  key: 1,
3014
3032
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3015
3033
  "data-testid": "merge-tag-picker-empty"
3016
- }, ic = [
3034
+ }, lc = [
3017
3035
  "aria-expanded",
3018
3036
  "data-group-name",
3019
3037
  "data-group-collapsed",
3020
3038
  "onClick"
3021
- ], ac = { class: "tpl:ml-1 tpl:font-normal" }, oc = [
3039
+ ], uc = { class: "tpl:ml-1 tpl:font-normal" }, dc = [
3022
3040
  "id",
3023
3041
  "aria-selected",
3024
3042
  "data-selected",
@@ -3027,28 +3045,28 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3027
3045
  "title",
3028
3046
  "onMousemove",
3029
3047
  "onClick"
3030
- ], sc = { class: "tpl:text-sm tpl:font-medium" }, cc = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, lc = {
3048
+ ], fc = { class: "tpl:text-sm tpl:font-medium" }, pc = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, mc = {
3031
3049
  key: 0,
3032
3050
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3033
- }, $ = "tpl-merge-tag-picker-list", uc = /* @__PURE__ */ A({
3051
+ }, $ = "tpl-merge-tag-picker-list", hc = /* @__PURE__ */ A({
3034
3052
  __name: "MergeTagPickerModal",
3035
3053
  setup(e) {
3036
- let t = Ne(Ae, "MergeTagPickerModal"), { t: n, format: i } = R(), a = l(Xe, null), d = l(He, null), p = f(""), S = ze(p, 200), E = f(null), ee = g(() => S.value.trim().length > 0), k = f(0), A = g(() => t.tags.value.some((e) => !!e.group)), N = f(/* @__PURE__ */ new Set());
3037
- function P(e) {
3054
+ let t = Je(Me, "MergeTagPickerModal"), { t: n, format: i } = B(), a = l(Ue, null), d = l(Pe, null), p = f(""), S = Xe(p, 200), E = f(null), ee = g(() => S.value.trim().length > 0), k = f(0), A = g(() => t.tags.value.some((e) => !!e.group)), N = f(/* @__PURE__ */ new Set());
3055
+ function te(e) {
3038
3056
  return N.value.has(e);
3039
3057
  }
3040
- function te(e) {
3058
+ function ne(e) {
3041
3059
  let t = new Set(N.value);
3042
3060
  t.has(e) ? t.delete(e) : t.add(e), N.value = t, k.value = 0;
3043
3061
  }
3044
- let ne = g(() => {
3062
+ let F = g(() => {
3045
3063
  let e = S.value.trim().toLowerCase();
3046
3064
  return e ? t.tags.value.filter((t) => [
3047
3065
  t.label,
3048
3066
  t.value,
3049
3067
  t.description ?? ""
3050
3068
  ].join(" ").toLowerCase().includes(e)) : t.tags.value;
3051
- }), F = g(() => {
3069
+ }), I = g(() => {
3052
3070
  if (!A.value) return [];
3053
3071
  let e = n.mergeTag.picker.otherGroup, r = /* @__PURE__ */ new Set(), i = [];
3054
3072
  for (let n of t.tags.value) {
@@ -3056,8 +3074,8 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3056
3074
  r.has(t) || (r.add(t), i.push(t));
3057
3075
  }
3058
3076
  return i;
3059
- }), I = g(() => {
3060
- let e = ne.value;
3077
+ }), L = g(() => {
3078
+ let e = F.value;
3061
3079
  if (!A.value || ee.value) return e.map((e, t) => ({
3062
3080
  kind: "tag",
3063
3081
  tag: e,
@@ -3082,12 +3100,12 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3082
3100
  }), o++;
3083
3101
  }
3084
3102
  return a;
3085
- }), L = g(() => I.value.flatMap((e) => e.kind === "tag" ? [e.tag] : []));
3103
+ }), R = g(() => L.value.flatMap((e) => e.kind === "tag" ? [e.tag] : []));
3086
3104
  M(() => t.isOpen.value, (e) => {
3087
3105
  e && (p.value = "", k.value = 0, N.value = /* @__PURE__ */ new Set(), s(() => {
3088
3106
  E.value?.focus();
3089
3107
  }));
3090
- }), M(L, (e) => {
3108
+ }), M(R, (e) => {
3091
3109
  k.value >= e.length && (k.value = Math.max(0, e.length - 1));
3092
3110
  });
3093
3111
  function re(e) {
@@ -3097,27 +3115,27 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3097
3115
  t.resolve(null);
3098
3116
  }
3099
3117
  function z(e) {
3100
- if (L.value.length === 0) return;
3118
+ if (R.value.length === 0) return;
3101
3119
  let t = k.value + e;
3102
- k.value = Math.max(0, Math.min(L.value.length - 1, t)), se();
3120
+ k.value = Math.max(0, Math.min(R.value.length - 1, t)), ce();
3103
3121
  }
3104
- let B = f(null), ae = f({});
3105
- function oe(e, t) {
3106
- ae.value[e] = t ?? null;
3122
+ let ae = f(null), oe = f({});
3123
+ function se(e, t) {
3124
+ oe.value[e] = t ?? null;
3107
3125
  }
3108
- function se() {
3126
+ function ce() {
3109
3127
  s(() => {
3110
- let e = B.value;
3128
+ let e = ae.value;
3111
3129
  e && e.querySelector(`[data-merge-tag-index="${k.value}"]`)?.scrollIntoView({ block: "nearest" });
3112
3130
  });
3113
3131
  }
3114
- function ce(e) {
3132
+ function le(e) {
3115
3133
  if (N.value.has(e)) {
3116
3134
  let t = new Set(N.value);
3117
3135
  t.delete(e), N.value = t;
3118
3136
  }
3119
3137
  s(() => {
3120
- let t = B.value;
3138
+ let t = ae.value;
3121
3139
  if (!t) return;
3122
3140
  let n = 0, r = !1;
3123
3141
  for (let i of Array.from(t.children)) {
@@ -3133,26 +3151,26 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3133
3151
  });
3134
3152
  });
3135
3153
  }
3136
- function le(e) {
3154
+ function V(e) {
3137
3155
  if (e.key === "ArrowDown") e.preventDefault(), z(1);
3138
3156
  else if (e.key === "ArrowUp") e.preventDefault(), z(-1);
3139
3157
  else if (e.key === "Enter") {
3140
3158
  e.preventDefault();
3141
- let t = L.value[k.value];
3159
+ let t = R.value[k.value];
3142
3160
  t && re(t);
3143
3161
  }
3144
3162
  }
3145
3163
  function ue() {
3146
- if (L.value.length !== 0) return `${$}-opt-${k.value}`;
3164
+ if (R.value.length !== 0) return `${$}-opt-${k.value}`;
3147
3165
  }
3148
3166
  function de(e) {
3149
3167
  return `${$}-opt-${e}`;
3150
3168
  }
3151
- let V = g(() => t.tags.value.length === 0), fe = g(() => !V.value && ne.value.length === 0), pe = g(() => A.value && F.value.length > 1 && !ee.value);
3169
+ let fe = g(() => t.tags.value.length === 0), pe = g(() => !fe.value && F.value.length === 0), me = g(() => A.value && I.value.length > 1 && !ee.value);
3152
3170
  return (e, s) => (o(), x(ge, {
3153
3171
  visible: y(t).isOpen.value,
3154
3172
  onClose: ie,
3155
- onKeydown: le
3173
+ onKeydown: V
3156
3174
  }, {
3157
3175
  default: u(() => [T("div", {
3158
3176
  role: "dialog",
@@ -3163,20 +3181,20 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3163
3181
  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)]",
3164
3182
  style: D(y(a))
3165
3183
  }, [
3166
- T("header", Js, [T("h2", {
3184
+ T("header", $s, [T("h2", {
3167
3185
  id: `${$}-title`,
3168
3186
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3169
- }, h(y(n).mergeTag.picker.title), 9, Ys), T("button", {
3187
+ }, h(y(n).mergeTag.picker.title), 9, ec), T("button", {
3170
3188
  type: "button",
3171
3189
  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)]",
3172
3190
  "aria-label": y(n).mergeTag.picker.close,
3173
3191
  "data-testid": "merge-tag-picker-close",
3174
3192
  onClick: ie
3175
- }, [j(y(Pe), {
3193
+ }, [j(y(Ye), {
3176
3194
  size: 16,
3177
3195
  "stroke-width": 2
3178
- })], 8, Xs)]),
3179
- T("div", Zs, [j(y(Tt), {
3196
+ })], 8, tc)]),
3197
+ T("div", nc, [j(y(Tt), {
3180
3198
  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)]",
3181
3199
  size: 14,
3182
3200
  "stroke-width": 2
@@ -3193,44 +3211,44 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3193
3211
  "aria-activedescendant": ue(),
3194
3212
  "data-testid": "merge-tag-picker-search",
3195
3213
  onKeydown: s[1] ||= m(b(() => {}, ["prevent"]), ["enter"])
3196
- }, null, 40, Qs), [[C, p.value]])]),
3197
- pe.value ? (o(), _("div", $s, [(o(!0), _(O, null, c(F.value, (e) => (o(), _("button", {
3214
+ }, null, 40, rc), [[C, p.value]])]),
3215
+ me.value ? (o(), _("div", ic, [(o(!0), _(O, null, c(I.value, (e) => (o(), _("button", {
3198
3216
  key: e,
3199
3217
  type: "button",
3200
3218
  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)]",
3201
3219
  "data-testid": "merge-tag-picker-group-pill",
3202
3220
  "data-group-name": e,
3203
- onClick: (t) => ce(e)
3204
- }, h(e), 9, ec))), 128))])) : v("", !0),
3221
+ onClick: (t) => le(e)
3222
+ }, h(e), 9, ac))), 128))])) : v("", !0),
3205
3223
  T("div", {
3206
3224
  id: $,
3207
3225
  ref_key: "listRef",
3208
- ref: B,
3226
+ ref: ae,
3209
3227
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3210
3228
  role: "listbox",
3211
3229
  "aria-label": y(n).mergeTag.picker.title,
3212
3230
  "data-testid": "merge-tag-picker-list"
3213
- }, [V.value ? (o(), _("div", nc, h(y(n).mergeTag.picker.empty), 1)) : fe.value ? (o(), _("div", rc, h(y(n).mergeTag.picker.noResults), 1)) : (o(!0), _(O, { key: 2 }, c(I.value, (e, t) => (o(), _(O, { key: t }, [e.kind === "header" ? (o(), _("button", {
3231
+ }, [fe.value ? (o(), _("div", sc, h(y(n).mergeTag.picker.empty), 1)) : pe.value ? (o(), _("div", cc, h(y(n).mergeTag.picker.noResults), 1)) : (o(!0), _(O, { key: 2 }, c(L.value, (e, t) => (o(), _(O, { key: t }, [e.kind === "header" ? (o(), _("button", {
3214
3232
  key: 0,
3215
3233
  ref_for: !0,
3216
- ref: (t) => oe(e.group, t),
3234
+ ref: (t) => se(e.group, t),
3217
3235
  type: "button",
3218
- "aria-expanded": !P(e.group),
3236
+ "aria-expanded": !te(e.group),
3219
3237
  "aria-controls": $,
3220
3238
  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)]",
3221
3239
  "data-testid": "merge-tag-picker-group-header",
3222
3240
  "data-group-name": e.group,
3223
- "data-group-collapsed": P(e.group) ? "true" : "false",
3224
- onClick: (t) => te(e.group)
3241
+ "data-group-collapsed": te(e.group) ? "true" : "false",
3242
+ onClick: (t) => ne(e.group)
3225
3243
  }, [
3226
- j(y(Ge), {
3244
+ j(y(P), {
3227
3245
  size: 12,
3228
3246
  "stroke-width": 2,
3229
- class: w(["tpl:transition-transform", P(e.group) ? "tpl:-rotate-90" : ""])
3247
+ class: w(["tpl:transition-transform", te(e.group) ? "tpl:-rotate-90" : ""])
3230
3248
  }, null, 8, ["class"]),
3231
3249
  T("span", null, h(e.group), 1),
3232
- T("span", ac, " (" + h(y(i)(y(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3233
- ], 8, ic)) : (o(), _("button", {
3250
+ T("span", uc, " (" + h(y(i)(y(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3251
+ ], 8, lc)) : (o(), _("button", {
3234
3252
  key: 1,
3235
3253
  id: de(e.index),
3236
3254
  type: "button",
@@ -3245,16 +3263,16 @@ var Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = ["value"], Na = /* @__PUR
3245
3263
  onMousemove: (t) => k.value = e.index,
3246
3264
  onClick: (t) => re(e.tag)
3247
3265
  }, [
3248
- T("span", sc, h(e.tag.label), 1),
3249
- T("span", cc, h(e.tag.value), 1),
3250
- e.tag.description ? (o(), _("span", lc, h(e.tag.description), 1)) : v("", !0)
3251
- ], 42, oc))], 64))), 128))], 8, tc)
3252
- ], 12, qs)]),
3266
+ T("span", fc, h(e.tag.label), 1),
3267
+ T("span", pc, h(e.tag.value), 1),
3268
+ e.tag.description ? (o(), _("span", mc, h(e.tag.description), 1)) : v("", !0)
3269
+ ], 42, dc))], 64))), 128))], 8, oc)
3270
+ ], 12, Qs)]),
3253
3271
  _: 1
3254
3272
  }, 8, ["visible"]));
3255
3273
  }
3256
3274
  });
3257
3275
  //#endregion
3258
- export { zs as a, Jt as c, Vs as i, qt as l, Ks as n, Is as o, Us as r, an as s, uc as t, It as u };
3276
+ export { Ws as a, an as c, It as d, Ks as i, Jt as l, Zs as n, Vs as o, Js as r, Is as s, hc as t, qt as u };
3259
3277
 
3260
- //# sourceMappingURL=styles-CfqCvq0Z.js.map
3278
+ //# sourceMappingURL=styles-DDBCCJ-l.js.map