@templatical/editor 0.60.4 → 0.61.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.
- package/dist/{AiChatPanel-CjUnhJGB.js → AiChatPanel-DF5TvO9H.js} +166 -166
- package/dist/{AiPanels-DwI9KjjI.js → AiPanels-zRqC5DIP.js} +1 -1
- package/dist/{AiRewriteMenu-Bh1cIX8F.js → AiRewriteMenu-CmZKTO-O.js} +1 -1
- package/dist/{BlockPreviewCanvas-C_N6f_FS.js → BlockPreviewCanvas-knSyWaCP.js} +2 -2
- package/dist/{CloudPanels-BS49EsuN.js → CloudPanels-BbHJHZri.js} +1 -1
- package/dist/{CommentsPanel-BSLk23YP.js → CommentsPanel-BMYvXRKK.js} +1 -1
- package/dist/{CommentsSidebar-L-DgP_kM.js → CommentsSidebar-_8at1Rug.js} +139 -139
- package/dist/{CountdownToolbar-B6erqTbz.js → CountdownToolbar-BprSuPJk.js} +2 -2
- package/dist/{LanguageMenu-DsfCHdVi.js → LanguageMenu-CkGqLYjf.js} +122 -122
- package/dist/{LocaleNotices-BxR3xcLl.js → LocaleNotices-D0be8ovO.js} +8 -8
- package/dist/{MergeTagTextarea-q6eeDD2l.js → MergeTagTextarea-BjHlamJv.js} +12 -12
- package/dist/{ParagraphEditor-25SNi_8O.js → ParagraphEditor-Ctu4fSsl.js} +2 -2
- package/dist/{RestoreVersionDialog-BXtCxJF1.js → RestoreVersionDialog-DvZoTJVa.js} +1 -1
- package/dist/{SaveBlockDialog-k1lxEBVW.js → SaveBlockDialog-DHfT-Tpx.js} +3 -3
- package/dist/{SavedBlocksBrowserModal-CV-8mDPj.js → SavedBlocksBrowserModal-BjJuuXQv.js} +3 -3
- package/dist/{SavedBlocksPanels-9nZj1jG_.js → SavedBlocksPanels-D6eiMQZ3.js} +1 -1
- package/dist/{SavedBlocksPickBar-Dy6NN9tm.js → SavedBlocksPickBar-BkgCDSXe.js} +1 -1
- package/dist/{TemplateSettings-DWxdUdM5.js → TemplateSettings-DQAbNsiS.js} +1 -1
- package/dist/{TestEmailModal-BAkkZTaZ.js → TestEmailModal-m_AEa36T.js} +3 -3
- package/dist/{TestEmailPanel-ccT2E3em.js → TestEmailPanel-OApkuaVd.js} +1 -1
- package/dist/{TitleEditor-B19dYnER.js → TitleEditor-Cwdtfk15.js} +1 -1
- package/dist/{Toolbar-DxlZq_36.js → Toolbar-D_T55elL.js} +359 -359
- package/dist/{TplModal-Bp2qPmQw.js → TplModal-2MKm5y6r.js} +1 -1
- package/dist/{VersionHistoryPanels-wAVDmhnP.js → VersionHistoryPanels-CCM0IQBg.js} +1 -1
- package/dist/{WrapperBlock-DHnD6Exl.js → WrapperBlock-BZl10HLy.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatPanel-DTYmFRwb.js → AiChatPanel-BYAsgmoC.js} +146 -146
- package/dist/cdn/chunks/AiChatPanel-BYAsgmoC.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js → AiPanels-MY_YPls8.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js.map → AiPanels-MY_YPls8.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js → AiRewriteMenu-BSePiXe_.js} +2 -2
- package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js.map → AiRewriteMenu-BSePiXe_.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js → BlockPreviewCanvas-B153A3hu.js} +3 -3
- package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js.map → BlockPreviewCanvas-B153A3hu.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-D4dslsyk.js → CloudPanels-Bv26_Sd8.js} +2 -2
- package/dist/cdn/chunks/{CloudPanels-D4dslsyk.js.map → CloudPanels-Bv26_Sd8.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js → CommentsPanel-R27fqh9O.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js.map → CommentsPanel-R27fqh9O.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-C81N5Hwr.js → CommentsSidebar-BEiOQ_zT.js} +133 -133
- package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js → CountdownToolbar-DOhXnbsq.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js.map → CountdownToolbar-DOhXnbsq.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-CJp7XdfG.js → LanguageMenu-B6kt8SgX.js} +104 -104
- package/dist/cdn/chunks/LanguageMenu-B6kt8SgX.js.map +1 -0
- package/dist/cdn/chunks/{LocaleNotices-D5vZzcUj.js → LocaleNotices-Bleg4gTu.js} +9 -9
- package/dist/cdn/chunks/LocaleNotices-Bleg4gTu.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagTextarea-DMXZgGUF.js → MergeTagTextarea-DGDv-pdn.js} +13 -13
- package/dist/cdn/chunks/MergeTagTextarea-DGDv-pdn.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js → ParagraphEditor-D0q36Myd.js} +3 -3
- package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js.map → ParagraphEditor-D0q36Myd.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js → RestoreVersionDialog-CJggFdbi.js} +2 -2
- package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js.map → RestoreVersionDialog-CJggFdbi.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js → SaveBlockDialog-BzES5tqd.js} +4 -4
- package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js.map → SaveBlockDialog-BzES5tqd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js → SavedBlocksBrowserModal-CLNcZcLd.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js.map → SavedBlocksBrowserModal-CLNcZcLd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js → SavedBlocksPanels-R0W9LElD.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js.map → SavedBlocksPanels-R0W9LElD.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js → SavedBlocksPickBar-JNi5Rx4V.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js.map → SavedBlocksPickBar-JNi5Rx4V.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js → TemplateSettings-C5wsNcgX.js} +2 -2
- package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js.map → TemplateSettings-C5wsNcgX.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js → TestEmailModal-BxIAwjww.js} +4 -4
- package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js.map → TestEmailModal-BxIAwjww.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js → TestEmailPanel-B8BsWXjE.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js.map → TestEmailPanel-B8BsWXjE.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js → TitleEditor-DhcI1aRS.js} +2 -2
- package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js.map → TitleEditor-DhcI1aRS.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BxzyS69X.js → Toolbar-Ch3h2BUs.js} +194 -194
- package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js → TplModal-CPOqOxVf.js} +2 -2
- package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js.map → TplModal-CPOqOxVf.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js → VersionHistoryPanels-CVrXHYxT.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js.map → VersionHistoryPanels-CVrXHYxT.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js → WrapperBlock-B8SJ7Q4w.js} +2 -2
- package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js.map → WrapperBlock-B8SJ7Q4w.js.map} +1 -1
- package/dist/cdn/chunks/{composables-C77dGo-I.js → composables-CKXPwWo9.js} +148 -148
- package/dist/cdn/chunks/composables-CKXPwWo9.js.map +1 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -1
- package/dist/cdn/chunks/{src-1MSPRtI8.js → src-Bk1LF1np.js} +2 -2
- package/dist/cdn/chunks/{src-1MSPRtI8.js.map → src-Bk1LF1np.js.map} +1 -1
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js +41 -0
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +58 -56
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-Bu_OmyjT.js → composables-26aR45W3.js} +1222 -1222
- package/dist/index.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +57 -55
- package/dist/useLanguageName-CEFzafHB.js +39 -0
- package/package.json +8 -8
- package/dist/cdn/chunks/AiChatPanel-DTYmFRwb.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-C81N5Hwr.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-CJp7XdfG.js.map +0 -1
- package/dist/cdn/chunks/LocaleNotices-D5vZzcUj.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-DMXZgGUF.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-BxzyS69X.js.map +0 -1
- package/dist/cdn/chunks/composables-C77dGo-I.js.map +0 -1
- package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
- package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
- package/dist/languageName-DEEOhDWI.js +0 -10
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
2
|
import { $ as t, B as n, C as r, F as i, G as a, H as o, K as s, L as c, O as l, Q as u, R as d, S as f, _ as p, b as m, ct as h, dt as g, g as _, h as v, it as y, m as b, mt as x, o as S, p as C, pt as w, s as T, tt as E, u as D, v as O, x as k } from "./draggable-IRVFEZ-b.js";
|
|
3
|
-
import { n as A, t as j } from "./MergeTagTextarea-
|
|
3
|
+
import { n as A, t as j } from "./MergeTagTextarea-DGDv-pdn.js";
|
|
4
4
|
import { c as M } from "./LogicTagInsertButton-DGg1Wvhp.js";
|
|
5
5
|
import { t as N } from "./MergeTagInput-BVfTwujW.js";
|
|
6
6
|
import { t as P } from "./ToggleSwitch-C0w0srN_.js";
|
|
7
7
|
import { C as F, S as I, _ as L, b as ee, c as R, g as z, h as B, r as te, s as ne, v as V, y as H } from "./styleConstants-Br6CIRoS.js";
|
|
8
|
-
import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as
|
|
9
|
-
import { t as
|
|
10
|
-
import { Bt as
|
|
8
|
+
import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as pe, f as W, gt as me, h as G, it as K, lt as q, rt as J, t as Y, v as he } from "./icons-DdVB-5WO.js";
|
|
9
|
+
import { t as X } from "./useI18n-DPg6rPbu.js";
|
|
10
|
+
import { Bt as ge, Cn as _e, Dn as ve, H as ye, Ht as be, I as Z, Jt as xe, Mn as Se, Nn as Ce, Sn as we, Ut as Te, Vt as Ee, W as Q, Wt as De, Yt as Oe, bn as ke, g as Ae, kn as je, qt as Me, tn as Ne, wn as Pe, xn as Fe, yt as Ie } from "./src-A0kzK-pR.js";
|
|
11
11
|
import { n as Le } from "./useLocalizedDisplay-Brdkp3KH.js";
|
|
12
12
|
import { $ as Re, B as ze, C as Be, H as Ve, O as He, T as Ue, W as We, _ as Ge, b as Ke, h as qe, p as Je, r as Ye, ut as Xe, v as Ze } from "./keys-ywH4jHJ2.js";
|
|
13
13
|
import { F as Qe, T as $e, _ as et, b as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, p as lt, r as ut, s as dt, u as ft, v as pt } from "./socialIcons-CSe4YJ52.js";
|
|
14
14
|
import { n as mt, t as ht } from "./withCurrentFont-C4pIesdB.js";
|
|
15
|
-
import { t as gt } from "./
|
|
15
|
+
import { t as gt } from "./useLanguageName-DDhdVpqh.js";
|
|
16
16
|
import { t as _t } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
17
17
|
import { t as vt } from "./logger-CqQTfJGx.js";
|
|
18
18
|
import { c as yt, r as bt } from "./usePopoverPosition-CBp9uwjV.js";
|
|
@@ -129,7 +129,7 @@ var wt = [
|
|
|
129
129
|
title: e.linked ? e.unlinkLabel : e.linkLabel,
|
|
130
130
|
"data-testid": e.testid,
|
|
131
131
|
onClick: r[0] ||= (e) => n("toggle")
|
|
132
|
-
}, [e.linked ? (i(), v(h(
|
|
132
|
+
}, [e.linked ? (i(), v(h(q), {
|
|
133
133
|
key: 0,
|
|
134
134
|
size: 14,
|
|
135
135
|
"stroke-width": 2
|
|
@@ -151,7 +151,7 @@ var wt = [
|
|
|
151
151
|
},
|
|
152
152
|
emits: ["update:modelValue"],
|
|
153
153
|
setup(e, { emit: t }) {
|
|
154
|
-
let n = e, r = t, { t: s } =
|
|
154
|
+
let n = e, r = t, { t: s } = X(), c = {
|
|
155
155
|
width: 0,
|
|
156
156
|
style: "solid",
|
|
157
157
|
color: "#000000"
|
|
@@ -169,11 +169,11 @@ var wt = [
|
|
|
169
169
|
let f = E("top"), m = C(() => n.modelValue?.[d.value ? "top" : f.value] ?? c), y = (e) => !!e && e.width > 0;
|
|
170
170
|
function S(e) {
|
|
171
171
|
if (d.value) {
|
|
172
|
-
r("update:modelValue", y(e) ?
|
|
172
|
+
r("update:modelValue", y(e) ? Ce(e) : void 0);
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
let t = {
|
|
176
|
-
...n.modelValue ??
|
|
176
|
+
...n.modelValue ?? Ce(c),
|
|
177
177
|
[f.value]: e
|
|
178
178
|
}, i = Pe.some((e) => y(t[e]));
|
|
179
179
|
r("update:modelValue", i ? t : void 0);
|
|
@@ -199,7 +199,7 @@ var wt = [
|
|
|
199
199
|
let e = n.modelValue;
|
|
200
200
|
if (!e) return;
|
|
201
201
|
let t = y(e[f.value]) ? e[f.value] : Pe.map((t) => e[t]).find(y);
|
|
202
|
-
r("update:modelValue", t ?
|
|
202
|
+
r("update:modelValue", t ? Ce(t) : void 0);
|
|
203
203
|
}
|
|
204
204
|
let j = C(() => Pe.map((e) => ({
|
|
205
205
|
value: e,
|
|
@@ -273,7 +273,7 @@ var wt = [
|
|
|
273
273
|
},
|
|
274
274
|
emits: ["update:modelValue"],
|
|
275
275
|
setup(e, { emit: t }) {
|
|
276
|
-
let n = e, r = t, { t: s } =
|
|
276
|
+
let n = e, r = t, { t: s } = X(), l = {
|
|
277
277
|
topLeft: "cornerTopLeft",
|
|
278
278
|
topRight: "cornerTopRight",
|
|
279
279
|
bottomRight: "cornerBottomRight",
|
|
@@ -291,7 +291,7 @@ var wt = [
|
|
|
291
291
|
bottomRight: e,
|
|
292
292
|
bottomLeft: e
|
|
293
293
|
} : e;
|
|
294
|
-
}), f = C(() =>
|
|
294
|
+
}), f = C(() => _e.every((e) => d.value[e] === d.value.topLeft)), m = E(f.value);
|
|
295
295
|
o(f, (e) => {
|
|
296
296
|
!e && m.value && (m.value = !1);
|
|
297
297
|
});
|
|
@@ -369,7 +369,7 @@ var wt = [
|
|
|
369
369
|
},
|
|
370
370
|
emits: ["update"],
|
|
371
371
|
setup(e, { emit: t }) {
|
|
372
|
-
let n = e, r = t, { t: o } =
|
|
372
|
+
let n = e, r = t, { t: o } = X(), s = l(Ze, null), u = s ? Le(s) : null, d = l(Ue, null), f = C(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || Fe(n.block.width) !== null ? "custom" : "auto"), m = C(() => Fe(n.block.width) === null ? "px" : "%"), y = C(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), S = C(() => u ? ot(u.content.value, n.block.id, d ?? void 0) : null);
|
|
373
373
|
function w(e, t) {
|
|
374
374
|
r("update", { [e]: t });
|
|
375
375
|
}
|
|
@@ -631,7 +631,7 @@ var wt = [
|
|
|
631
631
|
},
|
|
632
632
|
emits: ["update:modelValue"],
|
|
633
633
|
setup(e, { emit: t }) {
|
|
634
|
-
let n = e, r = t, { t: s } =
|
|
634
|
+
let n = e, r = t, { t: s } = X(), c = C(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = E(c.value);
|
|
635
635
|
o(c, (e) => {
|
|
636
636
|
!e && l.value && (l.value = !1);
|
|
637
637
|
});
|
|
@@ -681,7 +681,7 @@ var wt = [
|
|
|
681
681
|
"aria-label": h(s).spacingControl.decreaseTop,
|
|
682
682
|
class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
683
683
|
onClick: n[0] ||= (e) => u("top", -1)
|
|
684
|
-
}, [k(h(
|
|
684
|
+
}, [k(h(pe), {
|
|
685
685
|
size: 12,
|
|
686
686
|
"stroke-width": 2
|
|
687
687
|
})], 10, tn),
|
|
@@ -708,7 +708,7 @@ var wt = [
|
|
|
708
708
|
"aria-label": h(s).spacingControl.decreaseLeft,
|
|
709
709
|
class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
710
710
|
onClick: n[3] ||= (e) => u("left", -1)
|
|
711
|
-
}, [k(h(
|
|
711
|
+
}, [k(h(pe), {
|
|
712
712
|
size: 12,
|
|
713
713
|
"stroke-width": 2
|
|
714
714
|
})], 10, sn),
|
|
@@ -734,11 +734,11 @@ var wt = [
|
|
|
734
734
|
"aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
|
|
735
735
|
title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
|
|
736
736
|
onClick: f
|
|
737
|
-
}, [l.value ? (i(), v(h(
|
|
737
|
+
}, [l.value ? (i(), v(h(J), {
|
|
738
738
|
key: 0,
|
|
739
739
|
size: 14,
|
|
740
740
|
"stroke-width": 2
|
|
741
|
-
})) : (i(), v(h(
|
|
741
|
+
})) : (i(), v(h(K), {
|
|
742
742
|
key: 1,
|
|
743
743
|
size: 14,
|
|
744
744
|
"stroke-width": 2
|
|
@@ -748,7 +748,7 @@ var wt = [
|
|
|
748
748
|
"aria-label": h(s).spacingControl.decreaseRight,
|
|
749
749
|
class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
750
750
|
onClick: n[6] ||= (e) => u("right", -1)
|
|
751
|
-
}, [k(h(
|
|
751
|
+
}, [k(h(pe), {
|
|
752
752
|
size: 12,
|
|
753
753
|
"stroke-width": 2
|
|
754
754
|
})], 10, fn),
|
|
@@ -775,7 +775,7 @@ var wt = [
|
|
|
775
775
|
"aria-label": h(s).spacingControl.decreaseBottom,
|
|
776
776
|
class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
777
777
|
onClick: n[9] ||= (e) => u("bottom", -1)
|
|
778
|
-
}, [k(h(
|
|
778
|
+
}, [k(h(pe), {
|
|
779
779
|
size: 12,
|
|
780
780
|
"stroke-width": 2
|
|
781
781
|
})], 10, gn),
|
|
@@ -842,10 +842,10 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
842
842
|
},
|
|
843
843
|
emits: ["update:modelValue"],
|
|
844
844
|
setup(e, { emit: t }) {
|
|
845
|
-
let n = e, r = t, { t: a } =
|
|
845
|
+
let n = e, r = t, { t: a } = X(), o = l(ze, ye.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = Cn(), y;
|
|
846
846
|
u(() => clearTimeout(y));
|
|
847
847
|
function S(e) {
|
|
848
|
-
n.measure && !
|
|
848
|
+
n.measure && !Q(e, o) && (y = setTimeout(async () => {
|
|
849
849
|
let t = await f(e), i = n.modelValue;
|
|
850
850
|
t && i?.url === e && r("update:modelValue", {
|
|
851
851
|
...i,
|
|
@@ -894,7 +894,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
894
894
|
"bottom-left": a.blockSettings.backgroundPositionBottomLeft,
|
|
895
895
|
"bottom-center": a.blockSettings.backgroundPositionBottomCenter,
|
|
896
896
|
"bottom-right": a.blockSettings.backgroundPositionBottomRight
|
|
897
|
-
})), j = C(() =>
|
|
897
|
+
})), j = C(() => Te.flatMap((e) => be.map((t) => ({
|
|
898
898
|
x: t,
|
|
899
899
|
y: e,
|
|
900
900
|
label: A.value[`${e}-${t}`]
|
|
@@ -905,7 +905,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
905
905
|
let F = E(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = ft({
|
|
906
906
|
target: F,
|
|
907
907
|
value: s,
|
|
908
|
-
blocked: () =>
|
|
908
|
+
blocked: () => Q(s.value, o),
|
|
909
909
|
apply: (e) => w(e.url, et(e.width, e.height))
|
|
910
910
|
});
|
|
911
911
|
return (t, n) => (i(), p("div", Tn, [b("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
|
|
@@ -1029,7 +1029,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
1029
1029
|
function n(e) {
|
|
1030
1030
|
return typeof e == "number" && Number.isFinite(e) && e >= 1;
|
|
1031
1031
|
}
|
|
1032
|
-
let r = e, a = t, { t: o } =
|
|
1032
|
+
let r = e, a = t, { t: o } = X(), s = l(ze, ye.liquid), c = l(Ze, null), u = l(Ue, void 0), d = Cn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => Q(f.value, s)), S = C(() => r.section.hero), w = C(() => r.section.columns === "1"), T = C(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), E = C(() => n(S.value?.height) ? S.value.height : Hn), D = C(() => [
|
|
1033
1033
|
{
|
|
1034
1034
|
value: "fit",
|
|
1035
1035
|
label: o.blockSettings.heroHeightFit
|
|
@@ -1056,7 +1056,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
1056
1056
|
value: "bottom",
|
|
1057
1057
|
label: o.blockSettings.heroAlignBottom
|
|
1058
1058
|
}
|
|
1059
|
-
]), A = C(() => T.value === "image" && m.value && !y.value &&
|
|
1059
|
+
]), A = C(() => T.value === "image" && m.value && !y.value && ge(r.section.backgroundImage) === null);
|
|
1060
1060
|
function j() {
|
|
1061
1061
|
return (c ? dt(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? st(c?.state.content.settings);
|
|
1062
1062
|
}
|
|
@@ -1074,7 +1074,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
1074
1074
|
a("update", { hero: void 0 });
|
|
1075
1075
|
return;
|
|
1076
1076
|
}
|
|
1077
|
-
let n =
|
|
1077
|
+
let n = ge(r.section.backgroundImage), i = n === null ? Hn : Math.round(j() * n);
|
|
1078
1078
|
a("update", { hero: {
|
|
1079
1079
|
height: i,
|
|
1080
1080
|
verticalAlign: t
|
|
@@ -1082,7 +1082,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
|
|
|
1082
1082
|
}
|
|
1083
1083
|
async function N() {
|
|
1084
1084
|
let e = r.section.backgroundImage;
|
|
1085
|
-
if (!e || !m.value || y.value ||
|
|
1085
|
+
if (!e || !m.value || y.value || ge(e) !== null) return;
|
|
1086
1086
|
let t = e.url, n = await d(t), i = r.section.backgroundImage;
|
|
1087
1087
|
n && i && i.url === t && a("update", { backgroundImage: {
|
|
1088
1088
|
...i,
|
|
@@ -1148,7 +1148,7 @@ function qn(e) {
|
|
|
1148
1148
|
return Gn(e.styles.backgroundColor) || !!e.backgroundImage;
|
|
1149
1149
|
}
|
|
1150
1150
|
function Jn(e) {
|
|
1151
|
-
return e.fullWidth !== !0 || Kn(e.padding) ||
|
|
1151
|
+
return e.fullWidth !== !0 || Kn(e.padding) || Se(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Wn.has(e));
|
|
1152
1152
|
}
|
|
1153
1153
|
function Yn(e, t = {}) {
|
|
1154
1154
|
return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && Ae(t.layout);
|
|
@@ -1222,35 +1222,35 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1222
1222
|
},
|
|
1223
1223
|
emits: ["update"],
|
|
1224
1224
|
setup(e, { emit: r }) {
|
|
1225
|
-
let u = e, d = r, { t: f, format: w } =
|
|
1226
|
-
sectionWrapper:
|
|
1227
|
-
layout:
|
|
1228
|
-
})),
|
|
1229
|
-
function
|
|
1225
|
+
let u = e, d = r, { t: f, format: w } = X(), T = l(Ze, null), O = gt(T), j = l(He, void 0), N = C(() => T?.activeLocale?.value), I = C(() => !!(N.value && T?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = l(Ge, []), R = l(Ye, !1), z = l(Ue, void 0), B = l(Re, void 0), te = C(() => u.block.type === "section" || u.block.type === "wrapper"), ne = C(() => u.block.type === "wrapper" ? u.block.fullWidth === !0 : u.block.type === "section" && u.block.wrapper?.fullWidth === !0), V = C(() => u.block.type === "section" && Yn(u.block, {
|
|
1226
|
+
sectionWrapper: B,
|
|
1227
|
+
layout: z
|
|
1228
|
+
})), ie = C(() => u.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
|
|
1229
|
+
function ae(e) {
|
|
1230
1230
|
u.block.type === "wrapper" ? d("update", { fullWidth: e }) : u.block.type === "section" && d("update", Qn(u.block, e));
|
|
1231
1231
|
}
|
|
1232
|
-
let
|
|
1232
|
+
let oe = C(() => u.block.type === "section" && u.block.wrapper?.fullWidth === !0), U = C(() => oe.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), se = C(() => oe.value ? "wrapper.backgroundImage" : "backgroundImage"), le = C(() => {
|
|
1233
1233
|
let e = u.block;
|
|
1234
1234
|
return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
|
|
1235
|
-
}),
|
|
1235
|
+
}), ue = C(() => {
|
|
1236
1236
|
let e = u.block;
|
|
1237
1237
|
return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
|
|
1238
1238
|
});
|
|
1239
|
-
function
|
|
1239
|
+
function de(e, t) {
|
|
1240
1240
|
d("update", { wrapper: {
|
|
1241
1241
|
...e,
|
|
1242
1242
|
...t
|
|
1243
1243
|
} });
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function fe(e) {
|
|
1246
1246
|
let t = u.block;
|
|
1247
|
-
t.type === "section" && t.wrapper?.fullWidth === !0 ?
|
|
1247
|
+
t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundColor: e }) : Te("backgroundColor", e);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function pe(e) {
|
|
1250
1250
|
let t = u.block;
|
|
1251
|
-
t.type === "section" && t.wrapper?.fullWidth === !0 ?
|
|
1251
|
+
t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundImage: e }) : d("update", { backgroundImage: e });
|
|
1252
1252
|
}
|
|
1253
|
-
let W = l(Ve, null),
|
|
1253
|
+
let W = l(Ve, null), me = nt(), G = E(!1), K = t(/* @__PURE__ */ new Set()), q = E(!1), J = E(""), Y = E(""), he = [{
|
|
1254
1254
|
key: "desktop",
|
|
1255
1255
|
icon: re,
|
|
1256
1256
|
labelKey: "showOnDesktop"
|
|
@@ -1259,49 +1259,49 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1259
1259
|
icon: ce,
|
|
1260
1260
|
labelKey: "showOnMobile"
|
|
1261
1261
|
}];
|
|
1262
|
-
function
|
|
1263
|
-
|
|
1262
|
+
function ge(e) {
|
|
1263
|
+
K.has(e) ? K.delete(e) : K.add(e);
|
|
1264
1264
|
}
|
|
1265
|
-
let
|
|
1266
|
-
function
|
|
1265
|
+
let _e = C(() => !!W || L.length > 0 || R);
|
|
1266
|
+
function ve(e) {
|
|
1267
1267
|
if (typeof e != "object" || !e || Array.isArray(e)) return !1;
|
|
1268
1268
|
let t = e;
|
|
1269
1269
|
return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function ye(e, t) {
|
|
1272
1272
|
let n = T?.state?.selectedBlockId;
|
|
1273
1273
|
u.block.id === e && (n === void 0 || n === e) ? d("update", { displayCondition: t }) : T && T.findBlockLocation(e) && T.updateBlock(e, { displayCondition: t });
|
|
1274
1274
|
}
|
|
1275
|
-
async function
|
|
1276
|
-
if (!W ||
|
|
1275
|
+
async function be() {
|
|
1276
|
+
if (!W || G.value) return;
|
|
1277
1277
|
let e = u.block.id, t = T?.activeLocale?.value ?? null, n = ke(y(u.block)), r = u.block.displayCondition ? ke(y(u.block.displayCondition)) : void 0;
|
|
1278
|
-
|
|
1278
|
+
G.value = !0;
|
|
1279
1279
|
try {
|
|
1280
1280
|
let i = await W(r ? {
|
|
1281
1281
|
current: r,
|
|
1282
1282
|
block: n
|
|
1283
1283
|
} : { block: n });
|
|
1284
|
-
if (!
|
|
1285
|
-
if (!
|
|
1284
|
+
if (!me.alive || (T?.activeLocale?.value ?? null) !== t || i === null) return;
|
|
1285
|
+
if (!ve(i)) {
|
|
1286
1286
|
vt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
|
|
1287
1287
|
return;
|
|
1288
1288
|
}
|
|
1289
|
-
|
|
1289
|
+
ye(e, ke(i));
|
|
1290
1290
|
} finally {
|
|
1291
|
-
|
|
1291
|
+
me.alive && (G.value = !1);
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
|
-
let
|
|
1295
|
-
function
|
|
1296
|
-
|
|
1294
|
+
let Z = C(() => u.block.displayCondition ? !L.some((e) => e.label === u.block.displayCondition?.label) : !1);
|
|
1295
|
+
function xe() {
|
|
1296
|
+
q.value = !0, Z.value && u.block.displayCondition ? (J.value = u.block.displayCondition.before, Y.value = u.block.displayCondition.after ?? "") : (J.value = "", Y.value = "");
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1299
|
-
let e =
|
|
1298
|
+
function Se() {
|
|
1299
|
+
let e = J.value.trim(), t = Y.value.trim();
|
|
1300
1300
|
e && (d("update", { displayCondition: {
|
|
1301
1301
|
label: f.blockSettings.customCondition,
|
|
1302
1302
|
before: e,
|
|
1303
1303
|
after: t
|
|
1304
|
-
} }),
|
|
1304
|
+
} }), q.value = !1, J.value = e, Y.value = t);
|
|
1305
1305
|
}
|
|
1306
1306
|
o([
|
|
1307
1307
|
() => T?.state?.template?.id,
|
|
@@ -1311,44 +1311,44 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1311
1311
|
() => u.block.displayCondition?.after
|
|
1312
1312
|
], () => {
|
|
1313
1313
|
let e = u.block.displayCondition;
|
|
1314
|
-
!e || !
|
|
1314
|
+
!e || !Z.value ? (q.value = !1, J.value = "", Y.value = "") : (J.value = e.before, Y.value = e.after ?? "");
|
|
1315
1315
|
}, { immediate: !0 });
|
|
1316
|
-
let
|
|
1316
|
+
let Ce = C(() => {
|
|
1317
1317
|
let e = {};
|
|
1318
|
-
for (let t of
|
|
1318
|
+
for (let t of L) {
|
|
1319
1319
|
let n = t.group ?? "";
|
|
1320
1320
|
e[n] || (e[n] = []), e[n].push(t);
|
|
1321
1321
|
}
|
|
1322
1322
|
return e;
|
|
1323
|
-
}),
|
|
1324
|
-
function
|
|
1323
|
+
}), we = C(() => u.block.type === "section" && Ee(u.block)?.applied === !0);
|
|
1324
|
+
function Te(e, t) {
|
|
1325
1325
|
d("update", { styles: {
|
|
1326
1326
|
...u.block.styles,
|
|
1327
1327
|
[e]: t
|
|
1328
1328
|
} });
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function Q(e) {
|
|
1331
1331
|
return u.block.visibility?.[e] !== !1;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function De(e) {
|
|
1334
1334
|
let t = {
|
|
1335
|
-
desktop:
|
|
1336
|
-
mobile:
|
|
1335
|
+
desktop: Q("desktop"),
|
|
1336
|
+
mobile: Q("mobile")
|
|
1337
1337
|
};
|
|
1338
1338
|
t[e] = !t[e], d("update", { visibility: t });
|
|
1339
1339
|
}
|
|
1340
1340
|
return (t, r) => (i(), p("div", { class: g(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
|
|
1341
1341
|
k(Fn, {
|
|
1342
1342
|
title: h(f).blockSettings.spacing,
|
|
1343
|
-
open:
|
|
1343
|
+
open: K.has("spacing"),
|
|
1344
1344
|
"no-border": e.isFirstSection,
|
|
1345
|
-
onToggle: r[1] ||= (e) =>
|
|
1345
|
+
onToggle: r[1] ||= (e) => ge("spacing")
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: a(() => [k(xn, {
|
|
1348
1348
|
path: "styles.padding",
|
|
1349
1349
|
label: h(f).blockSettings.padding,
|
|
1350
1350
|
"model-value": e.block.styles.padding,
|
|
1351
|
-
"onUpdate:modelValue": r[0] ||= (e) =>
|
|
1351
|
+
"onUpdate:modelValue": r[0] ||= (e) => Te("padding", e)
|
|
1352
1352
|
}, null, 8, ["label", "model-value"])]),
|
|
1353
1353
|
_: 1
|
|
1354
1354
|
}, 8, [
|
|
@@ -1358,36 +1358,36 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1358
1358
|
]),
|
|
1359
1359
|
k(Fn, {
|
|
1360
1360
|
title: h(f).blockSettings.background,
|
|
1361
|
-
open:
|
|
1361
|
+
open: K.has("bg"),
|
|
1362
1362
|
"header-test-id": "block-settings-background",
|
|
1363
|
-
onToggle: r[4] ||= (e) =>
|
|
1363
|
+
onToggle: r[4] ||= (e) => ge("bg")
|
|
1364
1364
|
}, {
|
|
1365
1365
|
default: a(() => [
|
|
1366
1366
|
k(A, {
|
|
1367
|
-
path:
|
|
1367
|
+
path: U.value,
|
|
1368
1368
|
label: h(f).blockSettings.color
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: a(() => [k(M, {
|
|
1371
|
-
"model-value":
|
|
1371
|
+
"model-value": le.value,
|
|
1372
1372
|
"allow-transparent": "",
|
|
1373
|
-
"onUpdate:modelValue":
|
|
1373
|
+
"onUpdate:modelValue": fe
|
|
1374
1374
|
}, null, 8, ["model-value"])]),
|
|
1375
1375
|
_: 1
|
|
1376
1376
|
}, 8, ["path", "label"]),
|
|
1377
|
-
|
|
1377
|
+
te.value ? (i(), v(A, {
|
|
1378
1378
|
key: 0,
|
|
1379
1379
|
path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
|
|
1380
1380
|
label: h(f).blockSettings.fullWidthBackground
|
|
1381
1381
|
}, {
|
|
1382
1382
|
"label-actions": a(({ controlId: e }) => [k(P, {
|
|
1383
|
-
"data-testid":
|
|
1383
|
+
"data-testid": ie.value,
|
|
1384
1384
|
"control-id": e,
|
|
1385
1385
|
"hide-label": "",
|
|
1386
1386
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
1387
|
-
"model-value":
|
|
1388
|
-
disabled:
|
|
1387
|
+
"model-value": ne.value,
|
|
1388
|
+
disabled: V.value,
|
|
1389
1389
|
label: h(f).blockSettings.fullWidthBackground,
|
|
1390
|
-
"onUpdate:modelValue":
|
|
1390
|
+
"onUpdate:modelValue": ae
|
|
1391
1391
|
}, null, 8, [
|
|
1392
1392
|
"data-testid",
|
|
1393
1393
|
"control-id",
|
|
@@ -1399,21 +1399,21 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1399
1399
|
}, 8, ["path", "label"])) : _("", !0),
|
|
1400
1400
|
e.block.type === "section" ? (i(), v(A, {
|
|
1401
1401
|
key: 1,
|
|
1402
|
-
path:
|
|
1402
|
+
path: se.value,
|
|
1403
1403
|
label: h(f).blockSettings.backgroundImage
|
|
1404
1404
|
}, {
|
|
1405
1405
|
default: a(() => [k(Mn, {
|
|
1406
1406
|
"hide-label": "",
|
|
1407
1407
|
class: "tpl:mt-3.5",
|
|
1408
|
-
"model-value":
|
|
1408
|
+
"model-value": ue.value,
|
|
1409
1409
|
"testid-prefix": "section",
|
|
1410
1410
|
measure: "",
|
|
1411
|
-
"hero-mode":
|
|
1412
|
-
"onUpdate:modelValue":
|
|
1411
|
+
"hero-mode": we.value,
|
|
1412
|
+
"onUpdate:modelValue": pe
|
|
1413
1413
|
}, null, 8, ["model-value", "hero-mode"])]),
|
|
1414
1414
|
_: 1
|
|
1415
1415
|
}, 8, ["path", "label"])) : _("", !0),
|
|
1416
|
-
|
|
1416
|
+
oe.value ? (i(), v(A, {
|
|
1417
1417
|
key: 2,
|
|
1418
1418
|
path: "styles.backgroundColor",
|
|
1419
1419
|
label: h(f).blockSettings.contentBackground
|
|
@@ -1422,7 +1422,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1422
1422
|
"data-testid": "section-content-background",
|
|
1423
1423
|
"model-value": e.block.styles.backgroundColor ?? "",
|
|
1424
1424
|
"allow-transparent": "",
|
|
1425
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
1425
|
+
"onUpdate:modelValue": r[2] ||= (e) => Te("backgroundColor", e)
|
|
1426
1426
|
}, null, 8, ["model-value"])]),
|
|
1427
1427
|
_: 1
|
|
1428
1428
|
}, 8, ["label"])) : _("", !0),
|
|
@@ -1442,21 +1442,21 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1442
1442
|
}, 8, ["title", "open"]),
|
|
1443
1443
|
k(Fn, {
|
|
1444
1444
|
title: h(f).blockSettings.display,
|
|
1445
|
-
open:
|
|
1446
|
-
onToggle: r[6] ||= (e) =>
|
|
1445
|
+
open: K.has("display"),
|
|
1446
|
+
onToggle: r[6] ||= (e) => ge("display")
|
|
1447
1447
|
}, {
|
|
1448
|
-
default: a(() => [b("div", er, [
|
|
1448
|
+
default: a(() => [b("div", er, [N.value && h(j) ? (i(), v(P, {
|
|
1449
1449
|
key: 0,
|
|
1450
1450
|
"data-testid": "locale-hide",
|
|
1451
|
-
disabled: !h(
|
|
1452
|
-
"model-value":
|
|
1453
|
-
label: h(w)(h(f).localization.hide, { language: h(
|
|
1451
|
+
disabled: !h(j).locales.includes(N.value),
|
|
1452
|
+
"model-value": I.value,
|
|
1453
|
+
label: h(w)(h(f).localization.hide, { language: h(O)(N.value) }),
|
|
1454
1454
|
"onUpdate:modelValue": r[5] ||= (t) => h(T)?.setBlockHidden?.(e.block.id, t)
|
|
1455
1455
|
}, null, 8, [
|
|
1456
1456
|
"disabled",
|
|
1457
1457
|
"model-value",
|
|
1458
1458
|
"label"
|
|
1459
|
-
])) : _("", !0), (i(), p(D, null, c(
|
|
1459
|
+
])) : _("", !0), (i(), p(D, null, c(he, (e) => k(A, {
|
|
1460
1460
|
key: e.key,
|
|
1461
1461
|
path: `visibility.${e.key}`,
|
|
1462
1462
|
label: h(f).blockSettings[e.labelKey]
|
|
@@ -1469,9 +1469,9 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1469
1469
|
"control-id": t,
|
|
1470
1470
|
"hide-label": "",
|
|
1471
1471
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
1472
|
-
"model-value":
|
|
1472
|
+
"model-value": Q(e.key),
|
|
1473
1473
|
label: h(f).blockSettings[e.labelKey],
|
|
1474
|
-
"onUpdate:modelValue": (t) =>
|
|
1474
|
+
"onUpdate:modelValue": (t) => De(e.key)
|
|
1475
1475
|
}, null, 8, [
|
|
1476
1476
|
"control-id",
|
|
1477
1477
|
"model-value",
|
|
@@ -1482,12 +1482,12 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1482
1482
|
}, 1032, ["path", "label"])), 64))])]),
|
|
1483
1483
|
_: 1
|
|
1484
1484
|
}, 8, ["title", "open"]),
|
|
1485
|
-
|
|
1485
|
+
_e.value ? (i(), v(Fn, {
|
|
1486
1486
|
key: 0,
|
|
1487
1487
|
"header-test-id": "display-condition-section",
|
|
1488
1488
|
title: h(f).blockSettings.displayCondition,
|
|
1489
|
-
open:
|
|
1490
|
-
onToggle: r[11] ||= (e) =>
|
|
1489
|
+
open: K.has("condition"),
|
|
1490
|
+
onToggle: r[11] ||= (e) => ge("condition")
|
|
1491
1491
|
}, {
|
|
1492
1492
|
default: a(() => [h(W) ? (i(), p("div", nr, [e.block.displayCondition ? (i(), p(D, { key: 0 }, [
|
|
1493
1493
|
b("p", rr, x(e.block.displayCondition.label), 1),
|
|
@@ -1496,13 +1496,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1496
1496
|
type: "button",
|
|
1497
1497
|
"data-testid": "display-condition-edit",
|
|
1498
1498
|
class: g(h(F)),
|
|
1499
|
-
disabled:
|
|
1500
|
-
onClick:
|
|
1499
|
+
disabled: G.value,
|
|
1500
|
+
onClick: be
|
|
1501
1501
|
}, x(h(f).blockSettings.editCondition), 11, or), b("button", {
|
|
1502
1502
|
type: "button",
|
|
1503
1503
|
"data-testid": "display-condition-remove",
|
|
1504
1504
|
class: g(h(F)),
|
|
1505
|
-
disabled:
|
|
1505
|
+
disabled: G.value,
|
|
1506
1506
|
onClick: r[7] ||= (e) => d("update", { displayCondition: void 0 })
|
|
1507
1507
|
}, x(h(f).blockSettings.removeCondition), 11, sr)])
|
|
1508
1508
|
], 64)) : (i(), p("button", {
|
|
@@ -1510,8 +1510,8 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1510
1510
|
type: "button",
|
|
1511
1511
|
"data-testid": "display-condition-request",
|
|
1512
1512
|
class: g(h(F)),
|
|
1513
|
-
disabled:
|
|
1514
|
-
onClick:
|
|
1513
|
+
disabled: G.value,
|
|
1514
|
+
onClick: be
|
|
1515
1515
|
}, x(h(f).blockSettings.addCondition), 11, cr))])) : (i(), p("div", lr, [k(A, {
|
|
1516
1516
|
path: "displayCondition",
|
|
1517
1517
|
label: h(f).blockSettings.displayCondition
|
|
@@ -1519,23 +1519,23 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1519
1519
|
default: a(() => [b("select", {
|
|
1520
1520
|
"data-testid": "display-condition-select",
|
|
1521
1521
|
class: g(["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: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)]"]),
|
|
1522
|
-
value:
|
|
1522
|
+
value: q.value || Z.value ? "__custom__" : e.block.displayCondition?.label ?? "",
|
|
1523
1523
|
onChange: r[8] ||= (e) => {
|
|
1524
1524
|
let t = e.target.value;
|
|
1525
1525
|
if (t === "__custom__") {
|
|
1526
|
-
|
|
1526
|
+
xe();
|
|
1527
1527
|
return;
|
|
1528
1528
|
}
|
|
1529
|
-
if (
|
|
1529
|
+
if (q.value = !1, !t) {
|
|
1530
1530
|
d("update", { displayCondition: void 0 });
|
|
1531
1531
|
return;
|
|
1532
1532
|
}
|
|
1533
|
-
let n = h(
|
|
1533
|
+
let n = h(L).find((e) => e.label === t);
|
|
1534
1534
|
n && d("update", { displayCondition: n });
|
|
1535
1535
|
}
|
|
1536
1536
|
}, [
|
|
1537
1537
|
b("option", dr, x(h(f).blockSettings.noCondition), 1),
|
|
1538
|
-
(i(!0), p(D, null, c(
|
|
1538
|
+
(i(!0), p(D, null, c(Ce.value, (e, t) => (i(), p(D, { key: t }, [t ? (i(), p("optgroup", {
|
|
1539
1539
|
key: 0,
|
|
1540
1540
|
label: String(t)
|
|
1541
1541
|
}, [(i(!0), p(D, null, c(e, (e) => (i(), p("option", {
|
|
@@ -1545,27 +1545,27 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1545
1545
|
key: e.label,
|
|
1546
1546
|
value: e.label
|
|
1547
1547
|
}, x(e.label), 9, mr))), 128))], 64))), 128)),
|
|
1548
|
-
h(
|
|
1548
|
+
h(R) ? (i(), p("option", hr, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
|
|
1549
1549
|
], 42, ur)]),
|
|
1550
1550
|
_: 1
|
|
1551
|
-
}, 8, ["label"]),
|
|
1551
|
+
}, 8, ["label"]), q.value || Z.value ? (i(), p("div", gr, [
|
|
1552
1552
|
b("div", null, [b("label", _r, x(h(f).blockSettings.customConditionBefore), 1), s(b("textarea", {
|
|
1553
|
-
"onUpdate:modelValue": r[9] ||= (e) =>
|
|
1553
|
+
"onUpdate:modelValue": r[9] ||= (e) => J.value = e,
|
|
1554
1554
|
rows: "2",
|
|
1555
1555
|
class: g(h(H))
|
|
1556
|
-
}, null, 2), [[S,
|
|
1556
|
+
}, null, 2), [[S, J.value]])]),
|
|
1557
1557
|
b("div", null, [b("label", vr, x(h(f).blockSettings.customConditionAfter), 1), s(b("textarea", {
|
|
1558
|
-
"onUpdate:modelValue": r[10] ||= (e) =>
|
|
1558
|
+
"onUpdate:modelValue": r[10] ||= (e) => Y.value = e,
|
|
1559
1559
|
rows: "2",
|
|
1560
1560
|
class: g(h(H))
|
|
1561
|
-
}, null, 2), [[S,
|
|
1561
|
+
}, null, 2), [[S, Y.value]])]),
|
|
1562
1562
|
b("div", yr, [b("button", {
|
|
1563
1563
|
type: "button",
|
|
1564
1564
|
class: g(h(ee)),
|
|
1565
|
-
disabled: !
|
|
1566
|
-
onClick:
|
|
1565
|
+
disabled: !J.value.trim(),
|
|
1566
|
+
onClick: Se
|
|
1567
1567
|
}, x(h(f).blockSettings.applyCondition), 11, br)])
|
|
1568
|
-
])) : e.block.displayCondition && !
|
|
1568
|
+
])) : e.block.displayCondition && !Z.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", xr, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", Sr, [b("pre", Cr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", wr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
|
|
1569
1569
|
_: 1
|
|
1570
1570
|
}, 8, ["title", "open"])) : _("", !0)
|
|
1571
1571
|
], 2));
|
|
@@ -1578,13 +1578,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1578
1578
|
readOnly: { type: Boolean }
|
|
1579
1579
|
},
|
|
1580
1580
|
setup(e) {
|
|
1581
|
-
let { t } =
|
|
1581
|
+
let { t } = X();
|
|
1582
1582
|
return (n, r) => (i(), p("span", null, [
|
|
1583
1583
|
m(x(e.label) + " ", 1),
|
|
1584
1584
|
e.readOnly ? (i(), p("span", {
|
|
1585
1585
|
key: 0,
|
|
1586
1586
|
title: h(t).customBlocks.dataSource.readOnlyTooltip
|
|
1587
|
-
}, [k(h(
|
|
1587
|
+
}, [k(h(J), {
|
|
1588
1588
|
size: 12,
|
|
1589
1589
|
class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
|
|
1590
1590
|
"aria-hidden": "true"
|
|
@@ -1607,7 +1607,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1607
1607
|
},
|
|
1608
1608
|
emits: ["update:modelValue"],
|
|
1609
1609
|
setup(e, { emit: t }) {
|
|
1610
|
-
let n = t, { t: r } =
|
|
1610
|
+
let n = t, { t: r } = X();
|
|
1611
1611
|
return (t, o) => (i(), p("div", {
|
|
1612
1612
|
class: "tpl:mb-3.5",
|
|
1613
1613
|
title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0
|
|
@@ -1621,7 +1621,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1621
1621
|
disabled: e.readOnly,
|
|
1622
1622
|
"onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
|
|
1623
1623
|
}, {
|
|
1624
|
-
default: a(() => [m(x(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(
|
|
1624
|
+
default: a(() => [m(x(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(J), {
|
|
1625
1625
|
key: 0,
|
|
1626
1626
|
size: 12,
|
|
1627
1627
|
class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
|
|
@@ -1668,7 +1668,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1668
1668
|
},
|
|
1669
1669
|
emits: ["update:modelValue"],
|
|
1670
1670
|
setup(e, { emit: t }) {
|
|
1671
|
-
let n = e, r = t, { t: o } =
|
|
1671
|
+
let n = e, r = t, { t: o } = X(), s = l(Je, bt), c = C(() => pt(n.field, s));
|
|
1672
1672
|
return (t, n) => (i(), v(Pr, {
|
|
1673
1673
|
"hide-label": e.hideLabel,
|
|
1674
1674
|
label: e.field.label,
|
|
@@ -1713,7 +1713,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1713
1713
|
},
|
|
1714
1714
|
emits: ["update:modelValue"],
|
|
1715
1715
|
setup(e, { emit: t }) {
|
|
1716
|
-
let n = e, r = t, { t: o } =
|
|
1716
|
+
let n = e, r = t, { t: o } = X(), s = E(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ft({
|
|
1717
1717
|
target: s,
|
|
1718
1718
|
value: () => n.modelValue,
|
|
1719
1719
|
blocked: () => !!n.readOnly,
|
|
@@ -1785,7 +1785,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1785
1785
|
},
|
|
1786
1786
|
emits: ["update:modelValue"],
|
|
1787
1787
|
setup(e, { emit: t }) {
|
|
1788
|
-
let n = t, { t: r } =
|
|
1788
|
+
let n = t, { t: r } = X();
|
|
1789
1789
|
return (t, o) => (i(), v(Pr, {
|
|
1790
1790
|
"hide-label": e.hideLabel,
|
|
1791
1791
|
label: e.field.label,
|
|
@@ -1828,7 +1828,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1828
1828
|
},
|
|
1829
1829
|
emits: ["update:modelValue"],
|
|
1830
1830
|
setup(e, { emit: t }) {
|
|
1831
|
-
let r = e, o = t, { t: s, format: l } =
|
|
1831
|
+
let r = e, o = t, { t: s, format: l } = X(), u = C(() => r.modelValue || []), d = C(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = C(() => !r.field.minItems || u.value.length > r.field.minItems);
|
|
1832
1832
|
function y() {
|
|
1833
1833
|
if (!d.value || r.readOnly) return;
|
|
1834
1834
|
let e = {};
|
|
@@ -1863,7 +1863,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1863
1863
|
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:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
1864
1864
|
title: h(s).customBlocks.fields.removeItem,
|
|
1865
1865
|
onClick: (e) => S(r)
|
|
1866
|
-
}, [k(h(
|
|
1866
|
+
}, [k(h(W), {
|
|
1867
1867
|
size: 12,
|
|
1868
1868
|
"stroke-width": 2
|
|
1869
1869
|
})], 8, Wr)) : _("", !0)]), (i(!0), p(D, null, c(e.field.fields, (a) => (i(), v(n(h(ni)(a.type)), {
|
|
@@ -1912,7 +1912,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1912
1912
|
},
|
|
1913
1913
|
emits: ["update:modelValue"],
|
|
1914
1914
|
setup(e, { emit: t }) {
|
|
1915
|
-
let n = t, { t: r } =
|
|
1915
|
+
let n = t, { t: r } = X();
|
|
1916
1916
|
return (t, o) => (i(), v(Pr, {
|
|
1917
1917
|
"hide-label": e.hideLabel,
|
|
1918
1918
|
label: e.field.label,
|
|
@@ -1951,7 +1951,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1951
1951
|
},
|
|
1952
1952
|
emits: ["update:modelValue"],
|
|
1953
1953
|
setup(e, { emit: t }) {
|
|
1954
|
-
let n = t, { t: r } =
|
|
1954
|
+
let n = t, { t: r } = X();
|
|
1955
1955
|
return (t, o) => (i(), v(Pr, {
|
|
1956
1956
|
"hide-label": e.hideLabel,
|
|
1957
1957
|
label: e.field.label,
|
|
@@ -1996,7 +1996,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
|
|
|
1996
1996
|
},
|
|
1997
1997
|
emits: ["update:modelValue"],
|
|
1998
1998
|
setup(e, { emit: t }) {
|
|
1999
|
-
let n = t, { t: r } =
|
|
1999
|
+
let n = t, { t: r } = X();
|
|
2000
2000
|
return (t, o) => (i(), v(Pr, {
|
|
2001
2001
|
"hide-label": e.hideLabel,
|
|
2002
2002
|
label: e.field.label,
|
|
@@ -2060,7 +2060,7 @@ var ri = {
|
|
|
2060
2060
|
props: { block: {} },
|
|
2061
2061
|
emits: ["updateFieldValues", "updateDataSourceFetched"],
|
|
2062
2062
|
setup(e, { emit: t }) {
|
|
2063
|
-
let r = e, o = t, { t: s } =
|
|
2063
|
+
let r = e, o = t, { t: s } = X(), u = l(qe, []), d = C(() => u.find((e) => e.type === r.block.customType)), f = C(() => r.block), { isFetching: g, fetchError: y, fetch: S, hasDataSource: w, needsFetch: T } = Qe({
|
|
2064
2064
|
definition: d,
|
|
2065
2065
|
block: f,
|
|
2066
2066
|
onUpdate: (e, t) => {
|
|
@@ -2129,7 +2129,7 @@ var ri = {
|
|
|
2129
2129
|
props: { block: {} },
|
|
2130
2130
|
emits: ["update"],
|
|
2131
2131
|
setup(e, { emit: t }) {
|
|
2132
|
-
let n = t, { t: r } =
|
|
2132
|
+
let n = t, { t: r } = X();
|
|
2133
2133
|
function o(e, t) {
|
|
2134
2134
|
n("update", { [e]: t });
|
|
2135
2135
|
}
|
|
@@ -2192,7 +2192,7 @@ var ri = {
|
|
|
2192
2192
|
props: { block: {} },
|
|
2193
2193
|
emits: ["update"],
|
|
2194
2194
|
setup(e, { emit: t }) {
|
|
2195
|
-
let n = t, { t: r } =
|
|
2195
|
+
let n = t, { t: r } = X();
|
|
2196
2196
|
return (t, o) => (i(), v(A, {
|
|
2197
2197
|
label: h(r).html.content,
|
|
2198
2198
|
class: "tpl:mb-3.5",
|
|
@@ -2204,7 +2204,7 @@ var ri = {
|
|
|
2204
2204
|
rows: "10",
|
|
2205
2205
|
class: g(h(H)),
|
|
2206
2206
|
onInput: o[0] ||= (e) => n("update", { content: e.target.value })
|
|
2207
|
-
}, null, 42, hi), b("p", gi, [k(h(
|
|
2207
|
+
}, null, 42, hi), b("p", gi, [k(h(me), {
|
|
2208
2208
|
size: 12,
|
|
2209
2209
|
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
2210
2210
|
}), m(" " + x(h(r).html.sanitizationHint), 1)])]),
|
|
@@ -2293,7 +2293,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2293
2293
|
props: { block: {} },
|
|
2294
2294
|
emits: ["update"],
|
|
2295
2295
|
setup(e, { emit: t }) {
|
|
2296
|
-
let n = e, r = t, { t: o, format: s } =
|
|
2296
|
+
let n = e, r = t, { t: o, format: s } = X(), c = l(ze, ye.liquid), u = l(Ze, null), d = u ? Le(u) : null, f = l(Ue, void 0), y = E(!1), S = E(!1), { start: w } = xt(() => {
|
|
2297
2297
|
y.value = !1, S.value = !1;
|
|
2298
2298
|
}, 1e3, { immediate: !1 }), T = [
|
|
2299
2299
|
300,
|
|
@@ -2309,8 +2309,8 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2309
2309
|
function ee(e) {
|
|
2310
2310
|
if (e === "custom") {
|
|
2311
2311
|
let e = n.block.width;
|
|
2312
|
-
(typeof e != "number" || T.includes(e)) && r("update",
|
|
2313
|
-
} else r("update",
|
|
2312
|
+
(typeof e != "number" || T.includes(e)) && r("update", W.widthUpdates(zi));
|
|
2313
|
+
} else r("update", W.widthUpdates(e === "full" ? "full" : Number(e)));
|
|
2314
2314
|
}
|
|
2315
2315
|
function R(e) {
|
|
2316
2316
|
I("height", e === "custom" ? Bi : void 0);
|
|
@@ -2323,11 +2323,11 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2323
2323
|
!Number.isFinite(t) || t <= 0 || I("height", t);
|
|
2324
2324
|
}
|
|
2325
2325
|
function V(e) {
|
|
2326
|
-
I("borderRadius",
|
|
2326
|
+
I("borderRadius", Se(e) === null ? void 0 : e);
|
|
2327
2327
|
}
|
|
2328
2328
|
function H(e) {
|
|
2329
2329
|
let t = Number(e);
|
|
2330
|
-
!Number.isFinite(t) || t <= 0 || r("update",
|
|
2330
|
+
!Number.isFinite(t) || t <= 0 || r("update", W.widthUpdates(t));
|
|
2331
2331
|
}
|
|
2332
2332
|
function re(e) {
|
|
2333
2333
|
e !== n.block.src && r("update", {
|
|
@@ -2341,24 +2341,24 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2341
2341
|
...at(et(e.width, e.height))
|
|
2342
2342
|
}), e.alt && (I("alt", e.alt), S.value = !0), y.value = !0, w();
|
|
2343
2343
|
}
|
|
2344
|
-
let ae = E(), oe = C(() =>
|
|
2344
|
+
let ae = E(), oe = C(() => Q(n.block.src, c)), { canBrowse: U, isUploading: se, showOverlay: ce, openMediaBrowser: le } = ft({
|
|
2345
2345
|
target: ae,
|
|
2346
2346
|
value: () => n.block.src,
|
|
2347
2347
|
blocked: oe,
|
|
2348
2348
|
apply: ie
|
|
2349
|
-
}), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = Sn(() => ue.value),
|
|
2349
|
+
}), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = Sn(() => ue.value), pe = C(() => d ? ot(d.content.value, n.block.id, f) : null), W = vi({
|
|
2350
2350
|
block: () => n.block,
|
|
2351
|
-
room: () =>
|
|
2351
|
+
room: () => pe.value,
|
|
2352
2352
|
measured: () => fe.value
|
|
2353
|
-
}), { available:
|
|
2354
|
-
function
|
|
2355
|
-
let e =
|
|
2353
|
+
}), { available: me, locked: G, derivedHeight: K, cappedHeight: q } = W;
|
|
2354
|
+
function J() {
|
|
2355
|
+
let e = W.setLocked(!G.value);
|
|
2356
2356
|
e && r("update", e);
|
|
2357
2357
|
}
|
|
2358
|
-
let
|
|
2359
|
-
function
|
|
2360
|
-
|
|
2361
|
-
let t =
|
|
2358
|
+
let Y = E(null);
|
|
2359
|
+
function he(e) {
|
|
2360
|
+
Y.value = e;
|
|
2361
|
+
let t = W.heightUpdates(Number(e));
|
|
2362
2362
|
t && r("update", t);
|
|
2363
2363
|
}
|
|
2364
2364
|
return (t, n) => (i(), p(D, null, [
|
|
@@ -2403,7 +2403,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2403
2403
|
], 512)]),
|
|
2404
2404
|
_: 1
|
|
2405
2405
|
}, 8, ["label"]),
|
|
2406
|
-
h(
|
|
2406
|
+
h(Q)(e.block.src, h(c)) ? (i(), v(A, {
|
|
2407
2407
|
key: 0,
|
|
2408
2408
|
class: "tpl:mb-3.5",
|
|
2409
2409
|
path: "placeholderUrl"
|
|
@@ -2506,23 +2506,23 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2506
2506
|
label: h(o).image.height
|
|
2507
2507
|
}, O({
|
|
2508
2508
|
default: a(() => [
|
|
2509
|
-
h(
|
|
2509
|
+
h(G) ? (i(), p(D, { key: 0 }, [b("div", ji, [b("input", {
|
|
2510
2510
|
type: "number",
|
|
2511
2511
|
"data-testid": "image-locked-height-input",
|
|
2512
2512
|
class: g(h(z)),
|
|
2513
|
-
value:
|
|
2513
|
+
value: Y.value ?? h(K) ?? "",
|
|
2514
2514
|
min: "1",
|
|
2515
|
-
onInput: n[8] ||= (e) =>
|
|
2516
|
-
onBlur: n[9] ||= (e) =>
|
|
2517
|
-
}, null, 42, Mi), b("span", { class: g(h(L)) }, "px", 2)]), h(
|
|
2518
|
-
h(
|
|
2515
|
+
onInput: n[8] ||= (e) => he(e.target.value),
|
|
2516
|
+
onBlur: n[9] ||= (e) => Y.value = null
|
|
2517
|
+
}, null, 42, Mi), b("span", { class: g(h(L)) }, "px", 2)]), h(q) === null ? _("", !0) : (i(), p("p", Ni, x(h(s)(h(o).image.heightCapped, { height: h(q) })), 1))], 64)) : _("", !0),
|
|
2518
|
+
h(G) ? _("", !0) : (i(), p("select", {
|
|
2519
2519
|
key: 1,
|
|
2520
2520
|
class: g(h(B)),
|
|
2521
2521
|
"data-testid": "image-height-mode",
|
|
2522
2522
|
value: M.value,
|
|
2523
2523
|
onChange: n[10] ||= (e) => R(e.target.value)
|
|
2524
2524
|
}, [b("option", Fi, x(h(o).image.heightAuto), 1), b("option", Ii, x(h(o).image.heightCustom), 1)], 42, Pi)),
|
|
2525
|
-
!h(
|
|
2525
|
+
!h(G) && M.value === "custom" ? (i(), p("div", Li, [b("input", {
|
|
2526
2526
|
type: "number",
|
|
2527
2527
|
"data-testid": "image-height-input",
|
|
2528
2528
|
class: g(h(z)),
|
|
@@ -2532,14 +2532,14 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2532
2532
|
}, null, 42, Ri), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)
|
|
2533
2533
|
]),
|
|
2534
2534
|
_: 2
|
|
2535
|
-
}, [h(
|
|
2535
|
+
}, [h(me) ? {
|
|
2536
2536
|
name: "label-actions",
|
|
2537
2537
|
fn: a(() => [k(At, {
|
|
2538
|
-
linked: h(
|
|
2538
|
+
linked: h(G),
|
|
2539
2539
|
"link-label": h(o).image.lockAspectRatio,
|
|
2540
2540
|
"unlink-label": h(o).image.unlockAspectRatio,
|
|
2541
2541
|
testid: "image-aspect-lock",
|
|
2542
|
-
onToggle:
|
|
2542
|
+
onToggle: J
|
|
2543
2543
|
}, null, 8, [
|
|
2544
2544
|
"linked",
|
|
2545
2545
|
"link-label",
|
|
@@ -2630,7 +2630,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2630
2630
|
},
|
|
2631
2631
|
emits: ["update"],
|
|
2632
2632
|
setup(e, { emit: t }) {
|
|
2633
|
-
let n = e, r = t, { t: o } =
|
|
2633
|
+
let n = e, r = t, { t: o } = X(), s = C(() => [
|
|
2634
2634
|
{
|
|
2635
2635
|
key: "openInNewTab",
|
|
2636
2636
|
label: o.menu.openInNewTab
|
|
@@ -2647,7 +2647,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2647
2647
|
{
|
|
2648
2648
|
value: "left",
|
|
2649
2649
|
label: o.title.alignLeft,
|
|
2650
|
-
icon:
|
|
2650
|
+
icon: G
|
|
2651
2651
|
},
|
|
2652
2652
|
{
|
|
2653
2653
|
value: "center",
|
|
@@ -2657,7 +2657,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2657
2657
|
{
|
|
2658
2658
|
value: "right",
|
|
2659
2659
|
label: o.title.alignRight,
|
|
2660
|
-
icon:
|
|
2660
|
+
icon: he
|
|
2661
2661
|
}
|
|
2662
2662
|
]);
|
|
2663
2663
|
function u(e, t) {
|
|
@@ -2665,7 +2665,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2665
2665
|
}
|
|
2666
2666
|
function d() {
|
|
2667
2667
|
let e = {
|
|
2668
|
-
id:
|
|
2668
|
+
id: Z(),
|
|
2669
2669
|
text: "",
|
|
2670
2670
|
url: "",
|
|
2671
2671
|
openInNewTab: !1,
|
|
@@ -2706,7 +2706,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2706
2706
|
class: g(h(I)),
|
|
2707
2707
|
title: h(o).menu.removeItem,
|
|
2708
2708
|
onClick: (e) => _(t.id)
|
|
2709
|
-
}, [k(h(
|
|
2709
|
+
}, [k(h(Y), {
|
|
2710
2710
|
size: 14,
|
|
2711
2711
|
"stroke-width": 2
|
|
2712
2712
|
})], 10, Gi)]),
|
|
@@ -2865,7 +2865,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2865
2865
|
props: { block: {} },
|
|
2866
2866
|
emits: ["update"],
|
|
2867
2867
|
setup(e, { emit: t }) {
|
|
2868
|
-
let n = t, { t: r } =
|
|
2868
|
+
let n = t, { t: r } = X();
|
|
2869
2869
|
return (t, o) => (i(), v(A, {
|
|
2870
2870
|
label: h(r).paragraph.paragraphSpacing,
|
|
2871
2871
|
class: "tpl:mb-3.5",
|
|
@@ -2875,7 +2875,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
|
|
|
2875
2875
|
default: a(() => [b("div", $i, [b("input", {
|
|
2876
2876
|
type: "number",
|
|
2877
2877
|
class: g(h(z)),
|
|
2878
|
-
value: e.block.paragraphSpacing ?? h(
|
|
2878
|
+
value: e.block.paragraphSpacing ?? h(ve).paragraphGap,
|
|
2879
2879
|
min: "0",
|
|
2880
2880
|
max: "64",
|
|
2881
2881
|
onInput: o[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
|
|
@@ -2917,7 +2917,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
2917
2917
|
props: { block: {} },
|
|
2918
2918
|
emits: ["update"],
|
|
2919
2919
|
setup(e, { emit: t }) {
|
|
2920
|
-
let n = e, r = t, { t: o, format: s } =
|
|
2920
|
+
let n = e, r = t, { t: o, format: s } = X(), u = l(Ue, void 0), d = l(Re, void 0), f = u !== void 0 && Ae(u), m = C(() => d !== !1 || !!n.block.wrapper), y = C(() => f && !n.block.wrapper), S = C(() => f && m.value), w = C(() => Ee(n.block)?.applied === !0), T = C(() => [
|
|
2921
2921
|
{
|
|
2922
2922
|
value: "1",
|
|
2923
2923
|
label: o.section.column1
|
|
@@ -2954,7 +2954,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
2954
2954
|
value: "1-2-1",
|
|
2955
2955
|
label: o.section.ratio121
|
|
2956
2956
|
}
|
|
2957
|
-
]), E = C(() => Oe(n.block)), O = C(() => n.block.columnWidths !== void 0 &&
|
|
2957
|
+
]), E = C(() => Oe(n.block)), O = C(() => n.block.columnWidths !== void 0 && xe(n.block) === null), j = C(() => O.value ? "custom" : n.block.columns);
|
|
2958
2958
|
function N(e) {
|
|
2959
2959
|
let t = e.target.value;
|
|
2960
2960
|
if (t === "custom") return;
|
|
@@ -2976,7 +2976,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
2976
2976
|
return;
|
|
2977
2977
|
}
|
|
2978
2978
|
let c = s.slice(), l = e === c.length - 1 ? e - 1 : e + 1, u = c[e] + c[l], d = Math.max(.01, F(Math.min(5, u / 2))), f = Math.min(Math.max(o, d), u - d);
|
|
2979
|
-
c[e] =
|
|
2979
|
+
c[e] = we(f), c[l] = we(u - c[e]);
|
|
2980
2980
|
let p = Me[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
|
|
2981
2981
|
r("update", { columnWidths: m ? void 0 : c });
|
|
2982
2982
|
}
|
|
@@ -3164,7 +3164,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3164
3164
|
props: { icon: {} },
|
|
3165
3165
|
emits: ["update"],
|
|
3166
3166
|
setup(e, { emit: t }) {
|
|
3167
|
-
let n = e, r = t, { t: o } =
|
|
3167
|
+
let n = e, r = t, { t: o } = X(), { syntax: s } = St(), c = E(), l = C(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), u = C(() => Q(l.value, s));
|
|
3168
3168
|
function d(e) {
|
|
3169
3169
|
return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
|
|
3170
3170
|
}
|
|
@@ -3248,13 +3248,13 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3248
3248
|
props: { block: {} },
|
|
3249
3249
|
emits: ["update"],
|
|
3250
3250
|
setup(e, { emit: t }) {
|
|
3251
|
-
let n = e, r = t, { t: o } =
|
|
3251
|
+
let n = e, r = t, { t: o } = X();
|
|
3252
3252
|
function s(e, t) {
|
|
3253
3253
|
r("update", { [e]: t });
|
|
3254
3254
|
}
|
|
3255
3255
|
function l() {
|
|
3256
3256
|
let e = {
|
|
3257
|
-
id:
|
|
3257
|
+
id: Z(),
|
|
3258
3258
|
platform: "facebook",
|
|
3259
3259
|
url: ""
|
|
3260
3260
|
};
|
|
@@ -3310,7 +3310,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3310
3310
|
class: g(h(I)),
|
|
3311
3311
|
title: h(o).social.removeIcon,
|
|
3312
3312
|
onClick: (t) => S(e.id)
|
|
3313
|
-
}, [k(h(
|
|
3313
|
+
}, [k(h(Y), {
|
|
3314
3314
|
size: 14,
|
|
3315
3315
|
"stroke-width": 2
|
|
3316
3316
|
})], 10, ba)]),
|
|
@@ -3429,7 +3429,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3429
3429
|
{
|
|
3430
3430
|
value: "left",
|
|
3431
3431
|
label: h(o).title.alignLeft,
|
|
3432
|
-
icon: h(
|
|
3432
|
+
icon: h(G)
|
|
3433
3433
|
},
|
|
3434
3434
|
{
|
|
3435
3435
|
value: "center",
|
|
@@ -3439,7 +3439,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3439
3439
|
{
|
|
3440
3440
|
value: "right",
|
|
3441
3441
|
label: h(o).title.alignRight,
|
|
3442
|
-
icon: h(
|
|
3442
|
+
icon: h(he)
|
|
3443
3443
|
}
|
|
3444
3444
|
],
|
|
3445
3445
|
"model-value": e.block.align,
|
|
@@ -3454,7 +3454,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3454
3454
|
props: { block: {} },
|
|
3455
3455
|
emits: ["update"],
|
|
3456
3456
|
setup(e, { emit: t }) {
|
|
3457
|
-
let n = t, { t: r } =
|
|
3457
|
+
let n = t, { t: r } = X();
|
|
3458
3458
|
return (t, o) => (i(), v(A, {
|
|
3459
3459
|
label: h(r).spacer.height,
|
|
3460
3460
|
class: "tpl:mb-3.5",
|
|
@@ -3486,15 +3486,15 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3486
3486
|
},
|
|
3487
3487
|
emits: ["update"],
|
|
3488
3488
|
setup(e, { emit: t }) {
|
|
3489
|
-
let n = e, r = t, { t: o } =
|
|
3489
|
+
let n = e, r = t, { t: o } = X(), s = C(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
|
|
3490
3490
|
function l(e, t) {
|
|
3491
3491
|
r("update", { [e]: t });
|
|
3492
3492
|
}
|
|
3493
3493
|
function u() {
|
|
3494
3494
|
let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
|
|
3495
|
-
id:
|
|
3495
|
+
id: Z(),
|
|
3496
3496
|
cells: Array.from({ length: e }, () => ({
|
|
3497
|
-
id:
|
|
3497
|
+
id: Z(),
|
|
3498
3498
|
content: ""
|
|
3499
3499
|
}))
|
|
3500
3500
|
};
|
|
@@ -3507,7 +3507,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3507
3507
|
let e = n.block.rows.map((e) => ({
|
|
3508
3508
|
...e,
|
|
3509
3509
|
cells: [...e.cells, {
|
|
3510
|
-
id:
|
|
3510
|
+
id: Z(),
|
|
3511
3511
|
content: ""
|
|
3512
3512
|
}]
|
|
3513
3513
|
}));
|
|
@@ -3526,7 +3526,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3526
3526
|
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:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3527
3527
|
disabled: e.block.rows.length <= 1,
|
|
3528
3528
|
onClick: n[0] ||= (t) => d(e.block.rows[e.block.rows.length - 1].id)
|
|
3529
|
-
}, [k(h(
|
|
3529
|
+
}, [k(h(pe), {
|
|
3530
3530
|
size: 12,
|
|
3531
3531
|
"stroke-width": 2
|
|
3532
3532
|
})], 8, Ga),
|
|
@@ -3543,7 +3543,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3543
3543
|
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:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3544
3544
|
disabled: s.value <= 1,
|
|
3545
3545
|
onClick: n[1] ||= (e) => m(s.value - 1)
|
|
3546
|
-
}, [k(h(
|
|
3546
|
+
}, [k(h(pe), {
|
|
3547
3547
|
size: 12,
|
|
3548
3548
|
"stroke-width": 2
|
|
3549
3549
|
})], 8, Xa),
|
|
@@ -3685,7 +3685,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3685
3685
|
{
|
|
3686
3686
|
value: "left",
|
|
3687
3687
|
label: h(o).title.alignLeft,
|
|
3688
|
-
icon: h(
|
|
3688
|
+
icon: h(G)
|
|
3689
3689
|
},
|
|
3690
3690
|
{
|
|
3691
3691
|
value: "center",
|
|
@@ -3695,7 +3695,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3695
3695
|
{
|
|
3696
3696
|
value: "right",
|
|
3697
3697
|
label: h(o).title.alignRight,
|
|
3698
|
-
icon: h(
|
|
3698
|
+
icon: h(he)
|
|
3699
3699
|
}
|
|
3700
3700
|
],
|
|
3701
3701
|
"model-value": e.block.textAlign,
|
|
@@ -3713,7 +3713,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3713
3713
|
},
|
|
3714
3714
|
emits: ["update"],
|
|
3715
3715
|
setup(e, { emit: t }) {
|
|
3716
|
-
let n = t, { t: r } =
|
|
3716
|
+
let n = t, { t: r } = X();
|
|
3717
3717
|
function o(e, t) {
|
|
3718
3718
|
n("update", { [e]: t });
|
|
3719
3719
|
}
|
|
@@ -3771,7 +3771,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3771
3771
|
{
|
|
3772
3772
|
value: "left",
|
|
3773
3773
|
label: h(r).title.alignLeft,
|
|
3774
|
-
icon: h(
|
|
3774
|
+
icon: h(G)
|
|
3775
3775
|
},
|
|
3776
3776
|
{
|
|
3777
3777
|
value: "center",
|
|
@@ -3781,7 +3781,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3781
3781
|
{
|
|
3782
3782
|
value: "right",
|
|
3783
3783
|
label: h(r).title.alignRight,
|
|
3784
|
-
icon: h(
|
|
3784
|
+
icon: h(he)
|
|
3785
3785
|
}
|
|
3786
3786
|
],
|
|
3787
3787
|
"model-value": e.block.textAlign,
|
|
@@ -3806,11 +3806,11 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
3806
3806
|
props: { block: {} },
|
|
3807
3807
|
emits: ["update"],
|
|
3808
3808
|
setup(e, { emit: t }) {
|
|
3809
|
-
let n = e, r = t, { t: o } =
|
|
3809
|
+
let n = e, r = t, { t: o } = X(), s = l(We, null), c = l(ze, ye.liquid), u = nt(), d = [
|
|
3810
3810
|
300,
|
|
3811
3811
|
400,
|
|
3812
3812
|
500
|
|
3813
|
-
], f = C(() => !!s), y = C(() =>
|
|
3813
|
+
], f = C(() => !!s), y = C(() => Q(n.block.url, c)), S = C(() => {
|
|
3814
3814
|
let e = n.block.width;
|
|
3815
3815
|
return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
|
|
3816
3816
|
}), w = C(() => typeof n.block.height == "number" ? "custom" : "auto"), T = E(!1), { start: O } = xt(() => {
|
|
@@ -4013,7 +4013,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
4013
4013
|
"duplicate"
|
|
4014
4014
|
],
|
|
4015
4015
|
setup(e, { emit: t }) {
|
|
4016
|
-
let r = f(() => import("./CountdownToolbar-
|
|
4016
|
+
let r = f(() => import("./CountdownToolbar-DOhXnbsq.js")), a = e, o = t, { t: s } = X(), c = yt(), u = Xe(Ke, "Toolbar"), d = l(qe, []), m = C(() => a.block.type), g = C(() => Ie(a.block)), y = C(() => {
|
|
4017
4017
|
if (g.value) return d.find((e) => e.type === a.block.customType);
|
|
4018
4018
|
}), S = C(() => g.value ? y.value?.name ?? a.block.customType : tt(m.value, s)), w = C(() => mt(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
|
|
4019
4019
|
function T(e) {
|
|
@@ -4046,7 +4046,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
4046
4046
|
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:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
4047
4047
|
title: h(s).toolbar.delete,
|
|
4048
4048
|
onClick: a[1] ||= (e) => o("delete")
|
|
4049
|
-
}, [k(h(
|
|
4049
|
+
}, [k(h(W), {
|
|
4050
4050
|
size: 14,
|
|
4051
4051
|
"stroke-width": 2
|
|
4052
4052
|
})], 8, Vo)])]), b("div", Ho, [g.value ? (i(), v(di, {
|
|
@@ -4120,4 +4120,4 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
|
|
|
4120
4120
|
}), Wo = /* @__PURE__ */ e({ default: () => Go }), Go = /*#__PURE__*/ _t(Uo, [["__scopeId", "data-v-206f038f"]]);
|
|
4121
4121
|
export { Go as default, Ot as n, $ as r, Wo as t };
|
|
4122
4122
|
|
|
4123
|
-
//# sourceMappingURL=Toolbar-
|
|
4123
|
+
//# sourceMappingURL=Toolbar-Ch3h2BUs.js.map
|