@templatical/editor 0.7.0 → 0.7.2
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/{AiChatSidebar-BwLECwsO.js → AiChatSidebar-DWRONNm6.js} +1 -1
- package/dist/{AiFeatureMenu-CVHKharv.js → AiFeatureMenu-U7b4Z8OV.js} +1 -1
- package/dist/{CloudEditor-DdZatjUe.js → CloudEditor-DgiUCNMn.js} +5 -5
- package/dist/{CollaboratorBar-VZKOv_Zn.js → CollaboratorBar-BgeaMhrV.js} +1 -1
- package/dist/{DesignReferenceSidebar-Ci9HIGbf.js → DesignReferenceSidebar-C1W02bYt.js} +1 -1
- package/dist/{ModuleBrowserModal-D7IYx1Nh.js → ModuleBrowserModal-Bjh99_5c.js} +4 -4
- package/dist/{ModulePreviewCanvas-I-uMcK5G.js → ModulePreviewCanvas-DDDQmUI_.js} +1 -1
- package/dist/{ParagraphEditor-BRQTNDFO.js → ParagraphEditor-BSaEdasm.js} +1 -1
- package/dist/{SaveModuleDialog-DGGGNZfm.js → SaveModuleDialog-9fX6oSxf.js} +2 -2
- package/dist/{SnapshotHistory-C97Iw6xw.js → SnapshotHistory-gYW-IXkE.js} +1 -1
- package/dist/{TestEmailModal-B7S8H-VG.js → TestEmailModal-B_Rmnngq.js} +2 -2
- package/dist/{TitleEditor-DhFTYzrw.js → TitleEditor-XbFuw1Vy.js} +1 -1
- package/dist/{TplModal-BgABm6ju.js → TplModal-LY9rkDph.js} +1 -1
- package/dist/{blockTypeIcons-BSf-3RJ-.js → blockTypeIcons-CLT2H0yU.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AccessibilityPanel-kgNBRaZV.js → AccessibilityPanel-DaqF4Xzy.js} +3 -3
- package/dist/cdn/chunks/{AccessibilityPanel-kgNBRaZV.js.map → AccessibilityPanel-DaqF4Xzy.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-CRkzwdMg.js → AiFeatureMenu-WhZ7G-Wr.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-CRkzwdMg.js.map → AiFeatureMenu-WhZ7G-Wr.js.map} +1 -1
- package/dist/cdn/chunks/{BlockA11yBadge-BfuH2Hrg.js → BlockA11yBadge-BLKyO0lH.js} +2 -2
- package/dist/cdn/chunks/{BlockA11yBadge-BfuH2Hrg.js.map → BlockA11yBadge-BLKyO0lH.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-h5JXI8WQ.js → CloudEditor-BKEXPt3g.js} +7 -7
- package/dist/cdn/chunks/{CloudEditor-h5JXI8WQ.js.map → CloudEditor-BKEXPt3g.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CMl3lAZU.js → CollaboratorBar-ASDiTitQ.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-CMl3lAZU.js.map → CollaboratorBar-ASDiTitQ.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-D1RoaOgF.js → CountdownBlock-LAlYJYWL.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-D1RoaOgF.js.map → CountdownBlock-LAlYJYWL.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DltwuOer.js → CountdownToolbar-CbIKGP7u.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-DltwuOer.js.map → CountdownToolbar-CbIKGP7u.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-3uu2mXR9.js → ModuleBrowserModal-BjmdleNq.js} +5 -5
- package/dist/cdn/chunks/{ModuleBrowserModal-3uu2mXR9.js.map → ModuleBrowserModal-BjmdleNq.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-K9CQFr7p.js → ModulePreviewCanvas-DsmACAdb.js} +2 -2
- package/dist/cdn/chunks/{ModulePreviewCanvas-K9CQFr7p.js.map → ModulePreviewCanvas-DsmACAdb.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-BIFgtqGs.js → NumberWithSuffix-EEDNj1my.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-BIFgtqGs.js.map → NumberWithSuffix-EEDNj1my.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DlpZX_x4.js → ParagraphEditor-D6Dw5RtX.js} +5 -5
- package/dist/cdn/chunks/{ParagraphEditor-DlpZX_x4.js.map → ParagraphEditor-D6Dw5RtX.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-CPGT8h-O.js → RichTextEditorContent-C2yj_yPM.js} +2 -2
- package/dist/cdn/chunks/{RichTextEditorContent-CPGT8h-O.js.map → RichTextEditorContent-C2yj_yPM.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-_uaJscj1.js → SaveModuleDialog-DCcvwYat.js} +2 -2
- package/dist/cdn/chunks/{SaveModuleDialog-_uaJscj1.js.map → SaveModuleDialog-DCcvwYat.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Kerz6US8.js → TitleEditor-isN_t0MJ.js} +5 -5
- package/dist/cdn/chunks/{TitleEditor-Kerz6US8.js.map → TitleEditor-isN_t0MJ.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-BeOhGtoo.js → blockTypeIcons-Bgn69Q1-.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-BeOhGtoo.js.map → blockTypeIcons-Bgn69Q1-.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BZYkPlKr.js → extensions-BPsjY5N8.js} +2 -2
- package/dist/cdn/chunks/{extensions-BZYkPlKr.js.map → extensions-BPsjY5N8.js.map} +1 -1
- package/dist/cdn/chunks/{features-DzIN-Nua.js → features-BouLRfOO.js} +106 -60
- package/dist/cdn/chunks/features-BouLRfOO.js.map +1 -0
- package/dist/cdn/chunks/{icons-Nvr6w13E.js → icons-BBuZkqC3.js} +2 -2
- package/dist/cdn/chunks/{icons-Nvr6w13E.js.map → icons-BBuZkqC3.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BzT7BoGU.js → media-library-C-DcHE6w.js} +3 -3
- package/dist/cdn/chunks/{media-library-BzT7BoGU.js.map → media-library-C-DcHE6w.js.map} +1 -1
- package/dist/cdn/chunks/{quality-C328caFm.js → quality-ConWSEB6.js} +2 -2
- package/dist/cdn/chunks/{quality-C328caFm.js.map → quality-ConWSEB6.js.map} +1 -1
- package/dist/cdn/chunks/renderer-F8cxEe3t.js +501 -0
- package/dist/cdn/chunks/renderer-F8cxEe3t.js.map +1 -0
- package/dist/cdn/chunks/{src-DKNTQJVO.js → src-C9rMok-R.js} +4 -4
- package/dist/cdn/chunks/{src-DKNTQJVO.js.map → src-C9rMok-R.js.map} +1 -1
- package/dist/cdn/chunks/{styles-DaTht5d7.js → styles-BRN0i_zg.js} +176 -174
- package/dist/cdn/chunks/styles-BRN0i_zg.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +6 -6
- package/dist/{cloud-a3VovHva.js → cloud-CTmfCSqf.js} +11 -0
- package/dist/index.d.ts +5 -5
- package/dist/style.css +1 -1
- package/dist/{styles-D_fEz49o.js → styles-j_3bu0Bo.js} +170 -168
- package/dist/templatical-editor.js +4 -4
- package/dist/{useEditorCore-uCU9Ny0M.js → useEditorCore-B1XrI6fY.js} +91 -56
- package/package.json +7 -7
- package/dist/cdn/chunks/features-DzIN-Nua.js.map +0 -1
- package/dist/cdn/chunks/renderer-DYpHh_uV.js +0 -548
- package/dist/cdn/chunks/renderer-DYpHh_uV.js.map +0 -1
- package/dist/cdn/chunks/styles-DaTht5d7.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, B as t, E as n, F as r, J as i, L as a, M as o, N as s, X as c, _ as l, a as u, at as d, b as f, c as p, d as m, f as h, h as g, l as _, m as v, o as y, ot as b, p as x, rt as S, s as C, st as w, t as T, v as E, w as D, y as O, z as k } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
2
|
import { C as A, D as j, E as ee, S as M, a as te, l as N, n as P, o as F } from "./dist-DJmnUmW9.js";
|
|
3
|
-
import { A as ne, F as I, I as L, M as re, N as ie, T as ae, _ as oe, a as se, c as ce, d as le, g as ue, h as de, i as fe, j as pe, k as R, l as me, m as he, n as ge, o as _e, p as ve, r as ye, s as be, u as xe, v as Se, y as Ce } from "./useEditorCore-
|
|
3
|
+
import { A as ne, F as I, I as L, M as re, N as ie, T as ae, _ as oe, a as se, c as ce, d as le, g as ue, h as de, i as fe, j as pe, k as R, l as me, m as he, n as ge, o as _e, p as ve, r as ye, s as be, u as xe, v as Se, y as Ce } from "./useEditorCore-B1XrI6fY.js";
|
|
4
4
|
import { s as we } from "./dist-BzRLLpfq.js";
|
|
5
5
|
import { A as Te, S as Ee, c as De, d as Oe, f as ke, g as Ae, m as je, o as Me, p as Ne, r as Pe, s as Fe, t as Ie, x as Le } from "./keys-B5SJtPWf.js";
|
|
6
6
|
import { t as z } from "./useI18n-PEB8ioi_.js";
|
|
@@ -8,7 +8,7 @@ import { t as B } from "./createLucideIcon-Di4mqmGn.js";
|
|
|
8
8
|
import { t as Re } from "./accessibility-BgUEA-Ai.js";
|
|
9
9
|
import { t as ze } from "./chevron-down-tee-ghFi.js";
|
|
10
10
|
import { t as Be } from "./circle-alert-C0L9pUQ4.js";
|
|
11
|
-
import { n as Ve, r as V, t as He } from "./blockTypeIcons-
|
|
11
|
+
import { n as Ve, r as V, t as He } from "./blockTypeIcons-CLT2H0yU.js";
|
|
12
12
|
import { n as Ue, t as We } from "./refresh-cw-BNAhAmtL.js";
|
|
13
13
|
import { t as Ge } from "./image-up-1D_3XDdO.js";
|
|
14
14
|
import { t as Ke } from "./info-DTGrc0Bx.js";
|
|
@@ -303,10 +303,7 @@ var Et = ["aria-label"], Dt = {
|
|
|
303
303
|
case "tablet": return 768;
|
|
304
304
|
default: return s.content.settings.width;
|
|
305
305
|
}
|
|
306
|
-
}), N = m(() => ({
|
|
307
|
-
backgroundColor: s.content.settings.backgroundColor,
|
|
308
|
-
fontFamily: s.content.settings.fontFamily
|
|
309
|
-
})), P = m(() => M.value.length === 0 && !s.previewMode), F = c(0), ne = m(() => P.value && F.value > 0);
|
|
306
|
+
}), N = m(() => ({ fontFamily: s.content.settings.fontFamily })), P = m(() => M.value.length === 0 && !s.previewMode), F = c(0), ne = m(() => P.value && F.value > 0);
|
|
310
307
|
function I() {
|
|
311
308
|
P.value && (F.value += 1);
|
|
312
309
|
}
|
|
@@ -335,16 +332,21 @@ var Et = ["aria-label"], Dt = {
|
|
|
335
332
|
"data-testid": "canvas-wrapper",
|
|
336
333
|
role: "region",
|
|
337
334
|
"aria-label": S(f).landmarks.canvas,
|
|
338
|
-
class: "tpl-canvas-wrapper tpl:rounded-lg",
|
|
335
|
+
class: "tpl-canvas-wrapper tpl:relative tpl:rounded-lg",
|
|
339
336
|
style: b({
|
|
340
337
|
width: `${te.value}px`,
|
|
341
|
-
backgroundColor: n.content.settings.backgroundColor,
|
|
342
338
|
boxShadow: n.darkMode ? "none" : "var(--tpl-shadow-xl)",
|
|
343
|
-
|
|
344
|
-
transition: "width 300ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 300ms ease"
|
|
339
|
+
transition: "width 300ms cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
345
340
|
})
|
|
346
341
|
}, [h("div", {
|
|
347
|
-
class:
|
|
342
|
+
class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
|
|
343
|
+
style: b({
|
|
344
|
+
backgroundColor: n.content.settings.backgroundColor,
|
|
345
|
+
...n.darkMode ? { filter: "invert(1) hue-rotate(180deg)" } : {},
|
|
346
|
+
transition: "filter 300ms ease"
|
|
347
|
+
})
|
|
348
|
+
}, null, 4), h("div", {
|
|
349
|
+
class: d(["tpl-canvas tpl:relative tpl:rounded-lg", {
|
|
348
350
|
"tpl-canvas--dark-mode": n.darkMode,
|
|
349
351
|
"tpl-preview-mode": n.previewMode
|
|
350
352
|
}]),
|
|
@@ -362,6 +364,7 @@ var Et = ["aria-label"], Dt = {
|
|
|
362
364
|
"inverted-swap-threshold": .65,
|
|
363
365
|
disabled: n.previewMode,
|
|
364
366
|
draggable: ".tpl-block-item",
|
|
367
|
+
"force-fallback": !0,
|
|
365
368
|
class: d([
|
|
366
369
|
"tpl-canvas-blocks",
|
|
367
370
|
P.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" : "",
|
|
@@ -450,7 +453,7 @@ var Et = ["aria-label"], Dt = {
|
|
|
450
453
|
"class"
|
|
451
454
|
])], 6)], 12, Et));
|
|
452
455
|
}
|
|
453
|
-
}), [["__scopeId", "data-v-
|
|
456
|
+
}), [["__scopeId", "data-v-a4d3fa2d"]]), It = ["aria-label"], Lt = {
|
|
454
457
|
key: 0,
|
|
455
458
|
class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
|
|
456
459
|
}, Rt = ["aria-label"], zt = {
|
|
@@ -470,7 +473,17 @@ var Et = ["aria-label"], Dt = {
|
|
|
470
473
|
}, Wt = /* @__PURE__ */ f({
|
|
471
474
|
__name: "Sidebar",
|
|
472
475
|
setup(t) {
|
|
473
|
-
let { t: n, format: i } = z(), { t: a } = et(), s = D(ke, []), l = D(Me, void 0), u = D(je, null), d = D(De, {}), f = m(() => (d.savedModules?.moduleCount.value ?? 0) > 0), p = c(!1), y =
|
|
476
|
+
let { t: n, format: i } = z(), { t: a } = et(), s = D(ke, []), l = D(Me, void 0), u = D(je, null), d = D(De, {}), f = m(() => (d.savedModules?.moduleCount.value ?? 0) > 0), p = c(!1), y = c(!1);
|
|
477
|
+
function C() {
|
|
478
|
+
y.value || (p.value = !1);
|
|
479
|
+
}
|
|
480
|
+
function T() {
|
|
481
|
+
y.value = !0;
|
|
482
|
+
}
|
|
483
|
+
function O() {
|
|
484
|
+
y.value = !1;
|
|
485
|
+
}
|
|
486
|
+
let A = [
|
|
474
487
|
"section",
|
|
475
488
|
"image",
|
|
476
489
|
"title",
|
|
@@ -483,8 +496,8 @@ var Et = ["aria-label"], Dt = {
|
|
|
483
496
|
"table",
|
|
484
497
|
"spacer",
|
|
485
498
|
"html"
|
|
486
|
-
],
|
|
487
|
-
let e =
|
|
499
|
+
], j = m(() => {
|
|
500
|
+
let e = A.map((e) => ({
|
|
488
501
|
type: e,
|
|
489
502
|
label: I(e, n)
|
|
490
503
|
}));
|
|
@@ -492,26 +505,26 @@ var Et = ["aria-label"], Dt = {
|
|
|
492
505
|
type: "countdown",
|
|
493
506
|
label: I("countdown", n)
|
|
494
507
|
}), e;
|
|
495
|
-
}),
|
|
508
|
+
}), ee = m(() => s.map((e) => ({
|
|
496
509
|
type: `custom:${e.type}`,
|
|
497
510
|
label: e.name,
|
|
498
511
|
isCustom: !0,
|
|
499
512
|
icon: e.icon
|
|
500
|
-
}))),
|
|
501
|
-
function
|
|
513
|
+
}))), M = m(() => [...j.value, ...ee.value]);
|
|
514
|
+
function te(e) {
|
|
502
515
|
if (e.isCustom) {
|
|
503
516
|
let t = e.type.replace("custom:", ""), n = s.find((e) => e.type === t);
|
|
504
517
|
if (n) return N(n);
|
|
505
518
|
}
|
|
506
519
|
return F(e.type, l);
|
|
507
520
|
}
|
|
508
|
-
function
|
|
521
|
+
function P(e) {
|
|
509
522
|
if (!u) return;
|
|
510
|
-
let t =
|
|
523
|
+
let t = te(e);
|
|
511
524
|
u.addBlock(t), u.selectBlock(t.id);
|
|
512
525
|
}
|
|
513
|
-
function
|
|
514
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(),
|
|
526
|
+
function ne(e, t) {
|
|
527
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), P(t));
|
|
515
528
|
}
|
|
516
529
|
return (t, s) => (e(), g("aside", {
|
|
517
530
|
"aria-label": S(n).sidebarNav.palette,
|
|
@@ -524,9 +537,9 @@ var Et = ["aria-label"], Dt = {
|
|
|
524
537
|
transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
525
538
|
}),
|
|
526
539
|
onMouseenter: s[1] ||= (e) => p.value = !0,
|
|
527
|
-
onMouseleave:
|
|
528
|
-
onFocusin: s[
|
|
529
|
-
onFocusout: s[
|
|
540
|
+
onMouseleave: C,
|
|
541
|
+
onFocusin: s[2] ||= (e) => p.value = !0,
|
|
542
|
+
onFocusout: s[3] ||= (e) => p.value = !1
|
|
530
543
|
}, [f.value && S(a) ? (e(), g("div", Lt, [h("button", {
|
|
531
544
|
type: "button",
|
|
532
545
|
"aria-label": S(n).sidebarNav.browseModules,
|
|
@@ -542,27 +555,30 @@ var Et = ["aria-label"], Dt = {
|
|
|
542
555
|
p.value ? (e(), g("span", zt, w(S(a).modules.title), 1)) : v("", !0),
|
|
543
556
|
p.value ? (e(), g("span", Bt, w(S(d).savedModules?.moduleCount.value ?? 0), 1)) : v("", !0)
|
|
544
557
|
], 12, Rt)])) : v("", !0), E(S(me), {
|
|
545
|
-
"model-value":
|
|
558
|
+
"model-value": M.value,
|
|
546
559
|
group: {
|
|
547
560
|
name: "blocks",
|
|
548
561
|
pull: "clone",
|
|
549
562
|
put: !1
|
|
550
563
|
},
|
|
551
|
-
clone:
|
|
564
|
+
clone: te,
|
|
552
565
|
sort: !1,
|
|
553
566
|
animation: 150,
|
|
554
567
|
"ghost-class": "tpl-ghost",
|
|
555
|
-
|
|
568
|
+
"force-fallback": !0,
|
|
569
|
+
class: "tpl:flex tpl:flex-col tpl:gap-0.5 tpl:p-1",
|
|
570
|
+
onChoose: T,
|
|
571
|
+
onEnd: O
|
|
556
572
|
}, {
|
|
557
|
-
default: k(() => [(e(!0), g(_, null, o(
|
|
573
|
+
default: k(() => [(e(!0), g(_, null, o(M.value, (t) => (e(), g("button", {
|
|
558
574
|
key: t.type,
|
|
559
575
|
type: "button",
|
|
560
576
|
"data-palette-type": t.type,
|
|
561
577
|
"aria-label": S(i)(S(n).sidebarNav.insertBlock, { block: t.label }),
|
|
562
578
|
class: "tpl:flex tpl:h-10 tpl:w-full 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",
|
|
563
579
|
style: b({ justifyContent: p.value ? "flex-start" : "center" }),
|
|
564
|
-
onClick: (e) =>
|
|
565
|
-
onKeydown: (e) =>
|
|
580
|
+
onClick: (e) => P(t),
|
|
581
|
+
onKeydown: (e) => ne(e, t)
|
|
566
582
|
}, [h("div", Ht, [S(He)[t.type] ? (e(), x(r(S(He)[t.type]), {
|
|
567
583
|
key: 0,
|
|
568
584
|
size: 20,
|
|
@@ -2284,7 +2300,7 @@ var wi = {
|
|
|
2284
2300
|
value: t.value
|
|
2285
2301
|
}, w(t.label), 9, va))), 128))], 42, _a)]));
|
|
2286
2302
|
}
|
|
2287
|
-
}), ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Sa = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ca = ["value", "onChange"], wa = ["value"], Ta = ["title", "onClick"], Ea = { class: "tpl:mb-3.5" }, Da = { class: "tpl:mb-3.5" },
|
|
2303
|
+
}), ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Sa = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ca = ["value", "onChange"], wa = ["value"], Ta = ["title", "onClick"], Ea = { class: "tpl:mb-3.5" }, Da = ["value"], Oa = { value: "solid" }, ka = { value: "outlined" }, Aa = { value: "rounded" }, ja = { value: "square" }, Ma = { value: "circle" }, Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:mb-3.5" }, Fa = { class: "tpl:flex tpl:items-stretch" }, Ia = ["value"], La = { class: "tpl:mb-3.5" }, Ra = /* @__PURE__ */ f({
|
|
2288
2304
|
__name: "SocialToolbar",
|
|
2289
2305
|
props: { block: {} },
|
|
2290
2306
|
emits: ["update"],
|
|
@@ -2315,6 +2331,7 @@ var wi = {
|
|
|
2315
2331
|
key: t.id,
|
|
2316
2332
|
class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
|
|
2317
2333
|
}, [h("div", Sa, [h("select", {
|
|
2334
|
+
"data-testid": "social-platform-select",
|
|
2318
2335
|
class: d([S(U), "tpl:flex-1"]),
|
|
2319
2336
|
value: t.platform,
|
|
2320
2337
|
onChange: (e) => u(t.id, "platform", e.target.value)
|
|
@@ -2344,33 +2361,18 @@ var wi = {
|
|
|
2344
2361
|
size: 14,
|
|
2345
2362
|
"stroke-width": 2
|
|
2346
2363
|
}), l(" " + w(S(a).social.addIcon), 1)], 2)])]),
|
|
2347
|
-
h("div", Ea, [h("label", { class: d(S(W)) }, w(S(a).social.style), 3),
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
label: S(a).social.styleRounded
|
|
2360
|
-
},
|
|
2361
|
-
{
|
|
2362
|
-
value: "square",
|
|
2363
|
-
label: S(a).social.styleSquare
|
|
2364
|
-
},
|
|
2365
|
-
{
|
|
2366
|
-
value: "circle",
|
|
2367
|
-
label: S(a).social.styleCircle
|
|
2368
|
-
}
|
|
2369
|
-
],
|
|
2370
|
-
"model-value": t.block.iconStyle,
|
|
2371
|
-
"onUpdate:modelValue": r[0] ||= (e) => s("iconStyle", e)
|
|
2372
|
-
}, null, 8, ["options", "model-value"])]),
|
|
2373
|
-
h("div", Da, [h("label", { class: d(S(W)) }, w(S(a).social.size), 3), E(Y, {
|
|
2364
|
+
h("div", Ea, [h("label", { class: d(S(W)) }, w(S(a).social.style), 3), h("select", {
|
|
2365
|
+
class: d(S(U)),
|
|
2366
|
+
value: t.block.iconStyle,
|
|
2367
|
+
onChange: r[0] ||= (e) => s("iconStyle", e.target.value)
|
|
2368
|
+
}, [
|
|
2369
|
+
h("option", Oa, w(S(a).social.styleSolid), 1),
|
|
2370
|
+
h("option", ka, w(S(a).social.styleOutlined), 1),
|
|
2371
|
+
h("option", Aa, w(S(a).social.styleRounded), 1),
|
|
2372
|
+
h("option", ja, w(S(a).social.styleSquare), 1),
|
|
2373
|
+
h("option", Ma, w(S(a).social.styleCircle), 1)
|
|
2374
|
+
], 42, Da)]),
|
|
2375
|
+
h("div", Na, [h("label", { class: d(S(W)) }, w(S(a).social.size), 3), E(Y, {
|
|
2374
2376
|
options: [
|
|
2375
2377
|
{
|
|
2376
2378
|
value: "small",
|
|
@@ -2388,15 +2390,15 @@ var wi = {
|
|
|
2388
2390
|
"model-value": t.block.iconSize,
|
|
2389
2391
|
"onUpdate:modelValue": r[1] ||= (e) => s("iconSize", e)
|
|
2390
2392
|
}, null, 8, ["options", "model-value"])]),
|
|
2391
|
-
h("div",
|
|
2393
|
+
h("div", Pa, [h("label", { class: d(S(W)) }, w(S(a).social.spacing), 3), h("div", Fa, [h("input", {
|
|
2392
2394
|
type: "number",
|
|
2393
2395
|
class: d(S(K)),
|
|
2394
2396
|
value: t.block.spacing,
|
|
2395
2397
|
min: "0",
|
|
2396
2398
|
max: "50",
|
|
2397
2399
|
onInput: r[2] ||= (e) => s("spacing", Number(e.target.value))
|
|
2398
|
-
}, null, 42,
|
|
2399
|
-
h("div",
|
|
2400
|
+
}, null, 42, Ia), h("span", { class: d(S(G)) }, "px", 2)])]),
|
|
2401
|
+
h("div", La, [h("label", { class: d(S(W)) }, w(S(a).social.align), 3), E(Y, {
|
|
2400
2402
|
options: [
|
|
2401
2403
|
{
|
|
2402
2404
|
value: "left",
|
|
@@ -2419,22 +2421,22 @@ var wi = {
|
|
|
2419
2421
|
}, null, 8, ["options", "model-value"])])
|
|
2420
2422
|
], 64));
|
|
2421
2423
|
}
|
|
2422
|
-
}),
|
|
2424
|
+
}), za = { class: "tpl:mb-3.5" }, Ba = { class: "tpl:flex tpl:items-stretch" }, Va = ["value"], Ha = ["value"], Ua = /* @__PURE__ */ f({
|
|
2423
2425
|
__name: "SpacerToolbar",
|
|
2424
2426
|
props: { block: {} },
|
|
2425
2427
|
emits: ["update"],
|
|
2426
2428
|
setup(t, { emit: n }) {
|
|
2427
2429
|
let r = n, { t: i } = z();
|
|
2428
|
-
return (n, a) => (e(), g("div",
|
|
2430
|
+
return (n, a) => (e(), g("div", za, [
|
|
2429
2431
|
h("label", { class: d(S(W)) }, w(S(i).spacer.height), 3),
|
|
2430
|
-
h("div",
|
|
2432
|
+
h("div", Ba, [h("input", {
|
|
2431
2433
|
type: "number",
|
|
2432
2434
|
class: d(S(K)),
|
|
2433
2435
|
value: t.block.height,
|
|
2434
2436
|
min: "10",
|
|
2435
2437
|
max: "100",
|
|
2436
2438
|
onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
|
|
2437
|
-
}, null, 42,
|
|
2439
|
+
}, null, 42, Va), h("span", { class: d(S(G)) }, "px", 2)]),
|
|
2438
2440
|
h("input", {
|
|
2439
2441
|
type: "range",
|
|
2440
2442
|
class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
|
|
@@ -2442,13 +2444,13 @@ var wi = {
|
|
|
2442
2444
|
min: "10",
|
|
2443
2445
|
max: "100",
|
|
2444
2446
|
onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
|
|
2445
|
-
}, null, 40,
|
|
2447
|
+
}, null, 40, Ha)
|
|
2446
2448
|
]));
|
|
2447
2449
|
}
|
|
2448
|
-
}),
|
|
2450
|
+
}), Wa = { class: "tpl:mb-3.5" }, Ga = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ka = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, qa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ja = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ya = ["disabled"], Xa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Za = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Qa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, $a = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, eo = ["disabled"], to = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, no = { class: "tpl:mb-3.5" }, ro = { class: "tpl:mb-1.5 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, io = ["checked"], ao = {
|
|
2449
2451
|
key: 0,
|
|
2450
2452
|
class: "tpl:mb-3.5"
|
|
2451
|
-
},
|
|
2453
|
+
}, oo = { class: "tpl:mb-3.5" }, so = { class: "tpl:mb-3.5" }, co = { class: "tpl:flex tpl:items-stretch" }, lo = ["value"], uo = { class: "tpl:mb-3.5" }, fo = { class: "tpl:flex tpl:items-stretch" }, po = ["value"], mo = { class: "tpl:mb-3.5" }, ho = ["value"], go = { value: "" }, _o = ["value"], vo = { class: "tpl:mb-3.5" }, yo = { class: "tpl:flex tpl:items-stretch" }, bo = ["value"], xo = { class: "tpl:mb-3.5" }, So = { class: "tpl:mb-3.5" }, Co = /* @__PURE__ */ f({
|
|
2452
2454
|
__name: "TableToolbar",
|
|
2453
2455
|
props: {
|
|
2454
2456
|
block: {},
|
|
@@ -2489,7 +2491,7 @@ var wi = {
|
|
|
2489
2491
|
})) });
|
|
2490
2492
|
}
|
|
2491
2493
|
return (n, r) => (e(), g(_, null, [
|
|
2492
|
-
h("div",
|
|
2494
|
+
h("div", Wa, [h("label", { class: d(S(W)) }, w(S(a).table.dimensions), 3), h("div", Ga, [h("div", Ka, [h("span", qa, w(S(a).table.rows), 1), h("div", Ja, [
|
|
2493
2495
|
h("button", {
|
|
2494
2496
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
2495
2497
|
disabled: t.block.rows.length <= 1,
|
|
@@ -2497,8 +2499,8 @@ var wi = {
|
|
|
2497
2499
|
}, [E(S(V), {
|
|
2498
2500
|
size: 12,
|
|
2499
2501
|
"stroke-width": 2
|
|
2500
|
-
})], 8,
|
|
2501
|
-
h("span",
|
|
2502
|
+
})], 8, Ya),
|
|
2503
|
+
h("span", Xa, w(t.block.rows.length), 1),
|
|
2502
2504
|
h("button", {
|
|
2503
2505
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
|
|
2504
2506
|
onClick: u
|
|
@@ -2506,7 +2508,7 @@ var wi = {
|
|
|
2506
2508
|
size: 12,
|
|
2507
2509
|
"stroke-width": 2
|
|
2508
2510
|
})])
|
|
2509
|
-
])]), h("div",
|
|
2511
|
+
])]), h("div", Za, [h("span", Qa, w(S(a).table.columns), 1), h("div", $a, [
|
|
2510
2512
|
h("button", {
|
|
2511
2513
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
2512
2514
|
disabled: s.value <= 1,
|
|
@@ -2514,8 +2516,8 @@ var wi = {
|
|
|
2514
2516
|
}, [E(S(V), {
|
|
2515
2517
|
size: 12,
|
|
2516
2518
|
"stroke-width": 2
|
|
2517
|
-
})], 8,
|
|
2518
|
-
h("span",
|
|
2519
|
+
})], 8, eo),
|
|
2520
|
+
h("span", to, w(s.value), 1),
|
|
2519
2521
|
h("button", {
|
|
2520
2522
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
|
|
2521
2523
|
onClick: p
|
|
@@ -2524,58 +2526,58 @@ var wi = {
|
|
|
2524
2526
|
"stroke-width": 2
|
|
2525
2527
|
})])
|
|
2526
2528
|
])])])]),
|
|
2527
|
-
h("div",
|
|
2529
|
+
h("div", no, [h("label", ro, [h("input", {
|
|
2528
2530
|
type: "checkbox",
|
|
2529
2531
|
checked: t.block.hasHeaderRow,
|
|
2530
2532
|
class: "tpl:accent-[var(--tpl-primary)]",
|
|
2531
2533
|
onChange: r[2] ||= (e) => c("hasHeaderRow", e.target.checked)
|
|
2532
|
-
}, null, 40,
|
|
2533
|
-
t.block.hasHeaderRow ? (e(), g("div",
|
|
2534
|
+
}, null, 40, io), l(" " + w(S(a).table.hasHeaderRow), 1)])]),
|
|
2535
|
+
t.block.hasHeaderRow ? (e(), g("div", ao, [h("label", { class: d(S(W)) }, w(S(a).table.headerBackgroundColor), 3), E(q, {
|
|
2534
2536
|
"model-value": t.block.headerBackgroundColor || S("#f2f2f2"),
|
|
2535
2537
|
placeholder: S(a).table.noHeaderBg,
|
|
2536
2538
|
"onUpdate:modelValue": r[3] ||= (e) => c("headerBackgroundColor", e || null)
|
|
2537
2539
|
}, null, 8, ["model-value", "placeholder"])])) : v("", !0),
|
|
2538
|
-
h("div",
|
|
2540
|
+
h("div", oo, [h("label", { class: d(S(W)) }, w(S(a).table.borderColor), 3), E(q, {
|
|
2539
2541
|
"model-value": t.block.borderColor,
|
|
2540
2542
|
"onUpdate:modelValue": r[4] ||= (e) => c("borderColor", e)
|
|
2541
2543
|
}, null, 8, ["model-value"])]),
|
|
2542
|
-
h("div",
|
|
2544
|
+
h("div", so, [h("label", { class: d(S(W)) }, w(S(a).table.borderWidth), 3), h("div", co, [h("input", {
|
|
2543
2545
|
type: "number",
|
|
2544
2546
|
class: d(S(K)),
|
|
2545
2547
|
value: t.block.borderWidth,
|
|
2546
2548
|
min: "0",
|
|
2547
2549
|
max: "10",
|
|
2548
2550
|
onInput: r[5] ||= (e) => c("borderWidth", Number(e.target.value))
|
|
2549
|
-
}, null, 42,
|
|
2550
|
-
h("div",
|
|
2551
|
+
}, null, 42, lo), h("span", { class: d(S(G)) }, "px", 2)])]),
|
|
2552
|
+
h("div", uo, [h("label", { class: d(S(W)) }, w(S(a).table.cellPadding), 3), h("div", fo, [h("input", {
|
|
2551
2553
|
type: "number",
|
|
2552
2554
|
class: d(S(K)),
|
|
2553
2555
|
value: t.block.cellPadding,
|
|
2554
2556
|
min: "0",
|
|
2555
2557
|
max: "30",
|
|
2556
2558
|
onInput: r[6] ||= (e) => c("cellPadding", Number(e.target.value))
|
|
2557
|
-
}, null, 42,
|
|
2558
|
-
h("div",
|
|
2559
|
+
}, null, 42, po), h("span", { class: d(S(G)) }, "px", 2)])]),
|
|
2560
|
+
h("div", mo, [h("label", { class: d(S(W)) }, w(S(a).table.fontFamily), 3), h("select", {
|
|
2559
2561
|
class: d(S(U)),
|
|
2560
2562
|
value: t.block.fontFamily || "",
|
|
2561
2563
|
onChange: r[7] ||= (e) => c("fontFamily", e.target.value || void 0)
|
|
2562
|
-
}, [h("option",
|
|
2564
|
+
}, [h("option", go, w(S(a).title.inheritFont), 1), (e(!0), g(_, null, o(t.fontFamilies, (t) => (e(), g("option", {
|
|
2563
2565
|
key: t.value,
|
|
2564
2566
|
value: t.value
|
|
2565
|
-
}, w(t.label), 9,
|
|
2566
|
-
h("div",
|
|
2567
|
+
}, w(t.label), 9, _o))), 128))], 42, ho)]),
|
|
2568
|
+
h("div", vo, [h("label", { class: d(S(W)) }, w(S(a).table.fontSize), 3), h("div", yo, [h("input", {
|
|
2567
2569
|
type: "number",
|
|
2568
2570
|
class: d(S(K)),
|
|
2569
2571
|
value: t.block.fontSize,
|
|
2570
2572
|
min: "10",
|
|
2571
2573
|
max: "32",
|
|
2572
2574
|
onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
|
|
2573
|
-
}, null, 42,
|
|
2574
|
-
h("div",
|
|
2575
|
+
}, null, 42, bo), h("span", { class: d(S(G)) }, "px", 2)])]),
|
|
2576
|
+
h("div", xo, [h("label", { class: d(S(W)) }, w(S(a).table.color), 3), E(q, {
|
|
2575
2577
|
"model-value": t.block.color,
|
|
2576
2578
|
"onUpdate:modelValue": r[9] ||= (e) => c("color", e)
|
|
2577
2579
|
}, null, 8, ["model-value"])]),
|
|
2578
|
-
h("div",
|
|
2580
|
+
h("div", So, [h("label", { class: d(S(W)) }, w(S(a).table.textAlign), 3), E(Y, {
|
|
2579
2581
|
options: [
|
|
2580
2582
|
{
|
|
2581
2583
|
value: "left",
|
|
@@ -2598,7 +2600,7 @@ var wi = {
|
|
|
2598
2600
|
}, null, 8, ["options", "model-value"])])
|
|
2599
2601
|
], 64));
|
|
2600
2602
|
}
|
|
2601
|
-
}),
|
|
2603
|
+
}), wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = { value: 1 }, Do = { value: 2 }, Oo = { value: 3 }, ko = { value: 4 }, Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = { value: "" }, No = ["value"], Po = { class: "tpl:mb-3.5" }, Fo = { class: "tpl:mb-3.5" }, Io = /* @__PURE__ */ f({
|
|
2602
2604
|
__name: "TitleToolbar",
|
|
2603
2605
|
props: {
|
|
2604
2606
|
block: {},
|
|
@@ -2611,29 +2613,29 @@ var wi = {
|
|
|
2611
2613
|
r("update", { [e]: t });
|
|
2612
2614
|
}
|
|
2613
2615
|
return (n, r) => (e(), g(_, null, [
|
|
2614
|
-
h("div",
|
|
2616
|
+
h("div", wo, [h("label", { class: d(S(W)) }, w(S(i).title.level), 3), h("select", {
|
|
2615
2617
|
class: d(S(U)),
|
|
2616
2618
|
value: t.block.level,
|
|
2617
2619
|
onChange: r[0] ||= (e) => a("level", Number(e.target.value))
|
|
2618
2620
|
}, [
|
|
2619
|
-
h("option",
|
|
2620
|
-
h("option",
|
|
2621
|
-
h("option",
|
|
2622
|
-
h("option",
|
|
2623
|
-
], 42,
|
|
2624
|
-
h("div",
|
|
2621
|
+
h("option", Eo, w(S(i).title.heading1), 1),
|
|
2622
|
+
h("option", Do, w(S(i).title.heading2), 1),
|
|
2623
|
+
h("option", Oo, w(S(i).title.heading3), 1),
|
|
2624
|
+
h("option", ko, w(S(i).title.heading4), 1)
|
|
2625
|
+
], 42, To)]),
|
|
2626
|
+
h("div", Ao, [h("label", { class: d(S(W)) }, w(S(i).title.fontFamily), 3), h("select", {
|
|
2625
2627
|
class: d(S(U)),
|
|
2626
2628
|
value: t.block.fontFamily || "",
|
|
2627
2629
|
onChange: r[1] ||= (e) => a("fontFamily", e.target.value || void 0)
|
|
2628
|
-
}, [h("option",
|
|
2630
|
+
}, [h("option", Mo, w(S(i).title.inheritFont), 1), (e(!0), g(_, null, o(t.fontFamilies, (t) => (e(), g("option", {
|
|
2629
2631
|
key: t.value,
|
|
2630
2632
|
value: t.value
|
|
2631
|
-
}, w(t.label), 9,
|
|
2632
|
-
h("div",
|
|
2633
|
+
}, w(t.label), 9, No))), 128))], 42, jo)]),
|
|
2634
|
+
h("div", Po, [h("label", { class: d(S(W)) }, w(S(i).title.color), 3), E(q, {
|
|
2633
2635
|
"model-value": t.block.color,
|
|
2634
2636
|
"onUpdate:modelValue": r[2] ||= (e) => a("color", e)
|
|
2635
2637
|
}, null, 8, ["model-value"])]),
|
|
2636
|
-
h("div",
|
|
2638
|
+
h("div", Fo, [h("label", { class: d(S(W)) }, w(S(i).title.align), 3), E(Y, {
|
|
2637
2639
|
options: [
|
|
2638
2640
|
{
|
|
2639
2641
|
value: "left",
|
|
@@ -2656,17 +2658,17 @@ var wi = {
|
|
|
2656
2658
|
}, null, 8, ["options", "model-value"])])
|
|
2657
2659
|
], 64));
|
|
2658
2660
|
}
|
|
2659
|
-
}),
|
|
2661
|
+
}), Lo = { class: "tpl:mb-3.5" }, Ro = {
|
|
2660
2662
|
key: 0,
|
|
2661
2663
|
class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
|
|
2662
|
-
},
|
|
2664
|
+
}, zo = ["checked"], Bo = {
|
|
2663
2665
|
key: 0,
|
|
2664
2666
|
class: "tpl:mb-3.5"
|
|
2665
|
-
},
|
|
2667
|
+
}, Vo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ho = [
|
|
2666
2668
|
"value",
|
|
2667
2669
|
"placeholder",
|
|
2668
2670
|
"title"
|
|
2669
|
-
],
|
|
2671
|
+
], Uo = { class: "tpl:mb-3.5" }, Wo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Go = { class: "tpl:mb-3.5" }, Ko = { class: "tpl:mb-3.5" }, qo = ["value"], Jo = { value: "full" }, Yo = { class: "tpl:mb-3.5" }, Xo = /* @__PURE__ */ f({
|
|
2670
2672
|
__name: "VideoToolbar",
|
|
2671
2673
|
props: { block: {} },
|
|
2672
2674
|
emits: ["update"],
|
|
@@ -2682,7 +2684,7 @@ var wi = {
|
|
|
2682
2684
|
e && (b("thumbnailUrl", e.url), p.value = !0, y());
|
|
2683
2685
|
}
|
|
2684
2686
|
return (n, r) => (e(), g(_, null, [
|
|
2685
|
-
h("div",
|
|
2687
|
+
h("div", Lo, [
|
|
2686
2688
|
h("label", { class: d(S(W)) }, w(S(a).video.videoUrl), 3),
|
|
2687
2689
|
E(Z, {
|
|
2688
2690
|
"model-value": t.block.url,
|
|
@@ -2690,23 +2692,23 @@ var wi = {
|
|
|
2690
2692
|
placeholder: S(a).video.videoUrlPlaceholder,
|
|
2691
2693
|
"onUpdate:modelValue": r[0] ||= (e) => b("url", e)
|
|
2692
2694
|
}, null, 8, ["model-value", "placeholder"]),
|
|
2693
|
-
t.block.url ? (e(), g("label",
|
|
2695
|
+
t.block.url ? (e(), g("label", Ro, [h("input", {
|
|
2694
2696
|
type: "checkbox",
|
|
2695
2697
|
class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
|
|
2696
2698
|
checked: t.block.openInNewTab ?? !1,
|
|
2697
2699
|
onChange: r[1] ||= (e) => b("openInNewTab", e.target.checked)
|
|
2698
|
-
}, null, 40,
|
|
2700
|
+
}, null, 40, zo), l(" " + w(S(a).video.openInNewTab), 1)])) : v("", !0)
|
|
2699
2701
|
]),
|
|
2700
|
-
f.value ? (e(), g("div",
|
|
2702
|
+
f.value ? (e(), g("div", Bo, [h("label", { class: d(S(W)) }, [l(w(S(a).video.placeholderUrl) + " ", 1), h("span", Vo, w(S(a).video.optional), 1)], 2), h("input", {
|
|
2701
2703
|
type: "url",
|
|
2702
2704
|
class: d(S(U)),
|
|
2703
2705
|
value: t.block.placeholderUrl || "",
|
|
2704
2706
|
placeholder: S(a).video.placeholderUrlPlaceholder,
|
|
2705
2707
|
title: S(a).video.placeholderUrlTooltip,
|
|
2706
2708
|
onInput: r[2] ||= (e) => b("placeholderUrl", e.target.value)
|
|
2707
|
-
}, null, 42,
|
|
2708
|
-
h("div",
|
|
2709
|
-
h("label", { class: d(S(W)) }, [l(w(S(a).video.customThumbnail) + " ", 1), h("span",
|
|
2709
|
+
}, null, 42, Ho)])) : v("", !0),
|
|
2710
|
+
h("div", Uo, [
|
|
2711
|
+
h("label", { class: d(S(W)) }, [l(w(S(a).video.customThumbnail) + " ", 1), h("span", Wo, w(S(a).video.optional), 1)], 2),
|
|
2710
2712
|
E(Z, {
|
|
2711
2713
|
"model-value": t.block.thumbnailUrl,
|
|
2712
2714
|
type: "url",
|
|
@@ -2732,23 +2734,23 @@ var wi = {
|
|
|
2732
2734
|
"stroke-width": 1.5
|
|
2733
2735
|
}), l(" " + w(S(a).image.browseMedia), 1)])) : v("", !0)
|
|
2734
2736
|
]),
|
|
2735
|
-
h("div",
|
|
2737
|
+
h("div", Go, [h("label", { class: d(S(W)) }, w(S(a).video.altText), 3), E(Z, {
|
|
2736
2738
|
"model-value": t.block.alt,
|
|
2737
2739
|
type: "text",
|
|
2738
2740
|
placeholder: S(a).video.altTextPlaceholder,
|
|
2739
2741
|
"onUpdate:modelValue": r[4] ||= (e) => b("alt", e)
|
|
2740
2742
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
2741
|
-
h("div",
|
|
2743
|
+
h("div", Ko, [h("label", { class: d(S(W)) }, w(S(a).video.width), 3), h("select", {
|
|
2742
2744
|
class: d(S(U)),
|
|
2743
2745
|
value: t.block.width,
|
|
2744
2746
|
onChange: r[5] ||= (e) => b("width", e.target.value === "full" ? "full" : Number(e.target.value))
|
|
2745
2747
|
}, [
|
|
2746
|
-
h("option",
|
|
2748
|
+
h("option", Jo, w(S(a).video.fullWidth), 1),
|
|
2747
2749
|
r[7] ||= h("option", { value: "300" }, "300px", -1),
|
|
2748
2750
|
r[8] ||= h("option", { value: "400" }, "400px", -1),
|
|
2749
2751
|
r[9] ||= h("option", { value: "500" }, "500px", -1)
|
|
2750
|
-
], 42,
|
|
2751
|
-
h("div",
|
|
2752
|
+
], 42, qo)]),
|
|
2753
|
+
h("div", Yo, [h("label", { class: d(S(W)) }, w(S(a).title.align), 3), E(Y, {
|
|
2752
2754
|
options: [
|
|
2753
2755
|
{
|
|
2754
2756
|
value: "left",
|
|
@@ -2768,7 +2770,7 @@ var wi = {
|
|
|
2768
2770
|
}, null, 8, ["options", "model-value"])])
|
|
2769
2771
|
], 64));
|
|
2770
2772
|
}
|
|
2771
|
-
}),
|
|
2773
|
+
}), Zo = ["aria-label"], Qo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, $o = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, es = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ts = { class: "tpl:flex tpl:gap-1" }, ns = ["title"], rs = ["title"], is = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, as = /* @__PURE__ */ H(/* @__PURE__ */ f({
|
|
2772
2774
|
__name: "Toolbar",
|
|
2773
2775
|
props: { block: {} },
|
|
2774
2776
|
emits: [
|
|
@@ -2786,7 +2788,7 @@ var wi = {
|
|
|
2786
2788
|
return (n, a) => (e(), g("aside", {
|
|
2787
2789
|
"aria-label": S(s).landmarks.blockToolbar,
|
|
2788
2790
|
class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
|
|
2789
|
-
}, [h("div",
|
|
2791
|
+
}, [h("div", Qo, [h("div", $o, [S(He)[u.value] ? (e(), x(r(S(He)[u.value]), {
|
|
2790
2792
|
key: 0,
|
|
2791
2793
|
size: 16,
|
|
2792
2794
|
"stroke-width": 1.5
|
|
@@ -2794,21 +2796,21 @@ var wi = {
|
|
|
2794
2796
|
key: 1,
|
|
2795
2797
|
size: 16,
|
|
2796
2798
|
"stroke-width": 1.5
|
|
2797
|
-
})) : v("", !0), h("h3",
|
|
2799
|
+
})) : v("", !0), h("h3", es, w(p.value), 1)]), h("div", ts, [h("button", {
|
|
2798
2800
|
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)]",
|
|
2799
2801
|
title: S(s).toolbar.duplicate,
|
|
2800
2802
|
onClick: a[0] ||= (e) => o("duplicate")
|
|
2801
2803
|
}, [E(S(pe), {
|
|
2802
2804
|
size: 14,
|
|
2803
2805
|
"stroke-width": 2
|
|
2804
|
-
})], 8,
|
|
2806
|
+
})], 8, ns), h("button", {
|
|
2805
2807
|
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)]",
|
|
2806
2808
|
title: S(s).toolbar.delete,
|
|
2807
2809
|
onClick: a[1] ||= (e) => o("delete")
|
|
2808
2810
|
}, [E(S(Qe), {
|
|
2809
2811
|
size: 14,
|
|
2810
2812
|
"stroke-width": 2
|
|
2811
|
-
})], 8,
|
|
2813
|
+
})], 8, rs)])]), h("div", is, [d.value ? (e(), x(Mi, {
|
|
2812
2814
|
key: 0,
|
|
2813
2815
|
block: t.block,
|
|
2814
2816
|
onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
|
|
@@ -2817,7 +2819,7 @@ var wi = {
|
|
|
2817
2819
|
key: 1,
|
|
2818
2820
|
block: t.block,
|
|
2819
2821
|
onUpdate: b
|
|
2820
|
-
}, null, 8, ["block"])) : u.value === "title" ? (e(), x(
|
|
2822
|
+
}, null, 8, ["block"])) : u.value === "title" ? (e(), x(Io, {
|
|
2821
2823
|
key: 2,
|
|
2822
2824
|
block: t.block,
|
|
2823
2825
|
"font-families": S(y),
|
|
@@ -2826,7 +2828,7 @@ var wi = {
|
|
|
2826
2828
|
key: 4,
|
|
2827
2829
|
block: t.block,
|
|
2828
2830
|
onUpdate: b
|
|
2829
|
-
}, null, 8, ["block"])) : u.value === "video" ? (e(), x(
|
|
2831
|
+
}, null, 8, ["block"])) : u.value === "video" ? (e(), x(Xo, {
|
|
2830
2832
|
key: 5,
|
|
2831
2833
|
block: t.block,
|
|
2832
2834
|
onUpdate: b
|
|
@@ -2839,7 +2841,7 @@ var wi = {
|
|
|
2839
2841
|
key: 7,
|
|
2840
2842
|
block: t.block,
|
|
2841
2843
|
onUpdate: b
|
|
2842
|
-
}, null, 8, ["block"])) : u.value === "social" ? (e(), x(
|
|
2844
|
+
}, null, 8, ["block"])) : u.value === "social" ? (e(), x(Ra, {
|
|
2843
2845
|
key: 8,
|
|
2844
2846
|
block: t.block,
|
|
2845
2847
|
onUpdate: b
|
|
@@ -2848,12 +2850,12 @@ var wi = {
|
|
|
2848
2850
|
block: t.block,
|
|
2849
2851
|
"font-families": S(y),
|
|
2850
2852
|
onUpdate: b
|
|
2851
|
-
}, null, 8, ["block", "font-families"])) : u.value === "table" ? (e(), x(
|
|
2853
|
+
}, null, 8, ["block", "font-families"])) : u.value === "table" ? (e(), x(Co, {
|
|
2852
2854
|
key: 10,
|
|
2853
2855
|
block: t.block,
|
|
2854
2856
|
"font-families": S(y),
|
|
2855
2857
|
onUpdate: b
|
|
2856
|
-
}, null, 8, ["block", "font-families"])) : u.value === "spacer" ? (e(), x(
|
|
2858
|
+
}, null, 8, ["block", "font-families"])) : u.value === "spacer" ? (e(), x(Ua, {
|
|
2857
2859
|
key: 11,
|
|
2858
2860
|
block: t.block,
|
|
2859
2861
|
onUpdate: b
|
|
@@ -2870,48 +2872,48 @@ var wi = {
|
|
|
2870
2872
|
block: t.block,
|
|
2871
2873
|
"is-first-section": u.value === "paragraph",
|
|
2872
2874
|
onUpdate: b
|
|
2873
|
-
}, null, 8, ["block", "is-first-section"])])], 8,
|
|
2875
|
+
}, null, 8, ["block", "is-first-section"])])], 8, Zo));
|
|
2874
2876
|
}
|
|
2875
|
-
}), [["__scopeId", "data-v-2ac88283"]]),
|
|
2877
|
+
}), [["__scopeId", "data-v-2ac88283"]]), os = ["aria-label"], ss = {
|
|
2876
2878
|
role: "tablist",
|
|
2877
2879
|
class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
|
|
2878
|
-
},
|
|
2880
|
+
}, cs = [
|
|
2879
2881
|
"aria-selected",
|
|
2880
2882
|
"aria-label",
|
|
2881
2883
|
"title"
|
|
2882
|
-
],
|
|
2884
|
+
], ls = { key: 0 }, us = [
|
|
2883
2885
|
"aria-selected",
|
|
2884
2886
|
"aria-label",
|
|
2885
2887
|
"title"
|
|
2886
|
-
],
|
|
2888
|
+
], ds = { key: 0 }, fs = [
|
|
2887
2889
|
"aria-selected",
|
|
2888
2890
|
"aria-label",
|
|
2889
2891
|
"title"
|
|
2890
|
-
],
|
|
2892
|
+
], ps = { key: 0 }, ms = {
|
|
2891
2893
|
key: 1,
|
|
2892
2894
|
class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
|
|
2893
|
-
},
|
|
2895
|
+
}, hs = {
|
|
2894
2896
|
key: 0,
|
|
2895
2897
|
id: "tpl-tabpanel-content",
|
|
2896
2898
|
role: "tabpanel",
|
|
2897
2899
|
"aria-labelledby": "tpl-tab-content",
|
|
2898
2900
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2899
|
-
},
|
|
2901
|
+
}, gs = {
|
|
2900
2902
|
key: 1,
|
|
2901
2903
|
class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
|
|
2902
|
-
},
|
|
2904
|
+
}, _s = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, vs = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ys = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, bs = {
|
|
2903
2905
|
key: 1,
|
|
2904
2906
|
id: "tpl-tabpanel-settings",
|
|
2905
2907
|
role: "tabpanel",
|
|
2906
2908
|
"aria-labelledby": "tpl-tab-settings",
|
|
2907
2909
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2908
|
-
},
|
|
2910
|
+
}, xs = {
|
|
2909
2911
|
key: 2,
|
|
2910
2912
|
id: "tpl-tabpanel-accessibility",
|
|
2911
2913
|
role: "tabpanel",
|
|
2912
2914
|
"aria-labelledby": "tpl-tab-accessibility",
|
|
2913
2915
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2914
|
-
},
|
|
2916
|
+
}, Ss = /* @__PURE__ */ f({
|
|
2915
2917
|
__name: "RightSidebar",
|
|
2916
2918
|
props: {
|
|
2917
2919
|
selectedBlock: {},
|
|
@@ -2941,7 +2943,7 @@ var wi = {
|
|
|
2941
2943
|
"aria-label": S(s).landmarks.rightSidebar,
|
|
2942
2944
|
class: d(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", t.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
|
|
2943
2945
|
}, [
|
|
2944
|
-
h("div",
|
|
2946
|
+
h("div", ss, [
|
|
2945
2947
|
h("button", {
|
|
2946
2948
|
id: "tpl-tab-content",
|
|
2947
2949
|
role: "tab",
|
|
@@ -2955,7 +2957,7 @@ var wi = {
|
|
|
2955
2957
|
}, [E(S(_t), {
|
|
2956
2958
|
size: 14,
|
|
2957
2959
|
"stroke-width": 2
|
|
2958
|
-
}), l.value === "content" ? (e(), g("span",
|
|
2960
|
+
}), l.value === "content" ? (e(), g("span", ls, w(S(s).sidebar.content), 1)) : v("", !0)], 14, cs),
|
|
2959
2961
|
h("button", {
|
|
2960
2962
|
id: "tpl-tab-settings",
|
|
2961
2963
|
role: "tab",
|
|
@@ -2969,7 +2971,7 @@ var wi = {
|
|
|
2969
2971
|
}, [E(S(yt), {
|
|
2970
2972
|
size: 14,
|
|
2971
2973
|
"stroke-width": 1.5
|
|
2972
|
-
}), l.value === "settings" ? (e(), g("span",
|
|
2974
|
+
}), l.value === "settings" ? (e(), g("span", ds, w(S(s).sidebar.settings), 1)) : v("", !0)], 14, us),
|
|
2973
2975
|
f.value ? (e(), g("button", {
|
|
2974
2976
|
key: 0,
|
|
2975
2977
|
id: "tpl-tab-accessibility",
|
|
@@ -2986,37 +2988,37 @@ var wi = {
|
|
|
2986
2988
|
size: 14,
|
|
2987
2989
|
"stroke-width": 1.5
|
|
2988
2990
|
}),
|
|
2989
|
-
l.value === "accessibility" ? (e(), g("span",
|
|
2990
|
-
p.value > 0 ? (e(), g("span",
|
|
2991
|
-
], 14,
|
|
2991
|
+
l.value === "accessibility" ? (e(), g("span", ps, w(S(s).accessibility.panelTabLabel), 1)) : v("", !0),
|
|
2992
|
+
p.value > 0 ? (e(), g("span", ms, w(p.value), 1)) : v("", !0)
|
|
2993
|
+
], 14, fs)) : v("", !0)
|
|
2992
2994
|
]),
|
|
2993
|
-
l.value === "content" ? (e(), g("div",
|
|
2995
|
+
l.value === "content" ? (e(), g("div", hs, [t.selectedBlock ? (e(), x(as, {
|
|
2994
2996
|
key: 0,
|
|
2995
2997
|
block: t.selectedBlock,
|
|
2996
2998
|
onUpdate: i[3] ||= (e) => o("update-block", e),
|
|
2997
2999
|
onDelete: i[4] ||= (e) => o("delete-block"),
|
|
2998
3000
|
onDuplicate: i[5] ||= (e) => o("duplicate-block")
|
|
2999
|
-
}, null, 8, ["block"])) : (e(), g("div",
|
|
3000
|
-
h("div",
|
|
3001
|
+
}, null, 8, ["block"])) : (e(), g("div", gs, [
|
|
3002
|
+
h("div", _s, [E(S(ft), {
|
|
3001
3003
|
size: 40,
|
|
3002
3004
|
"stroke-width": 1.5
|
|
3003
3005
|
})]),
|
|
3004
|
-
h("h3",
|
|
3005
|
-
h("p",
|
|
3006
|
+
h("h3", vs, w(S(s).sidebar.noSelection), 1),
|
|
3007
|
+
h("p", ys, w(S(s).sidebar.noSelectionHint), 1)
|
|
3006
3008
|
]))])) : v("", !0),
|
|
3007
|
-
l.value === "settings" ? (e(), g("div",
|
|
3009
|
+
l.value === "settings" ? (e(), g("div", bs, [E(Pn, {
|
|
3008
3010
|
settings: t.settings,
|
|
3009
3011
|
onUpdate: i[6] ||= (e) => o("update-settings", e)
|
|
3010
3012
|
}, null, 8, ["settings"])])) : v("", !0),
|
|
3011
|
-
l.value === "accessibility" && f.value ? (e(), g("div",
|
|
3012
|
-
], 10,
|
|
3013
|
+
l.value === "accessibility" && f.value ? (e(), g("div", xs, [E(S(r))])) : v("", !0)
|
|
3014
|
+
], 10, os));
|
|
3013
3015
|
}
|
|
3014
|
-
}),
|
|
3016
|
+
}), Cs = ["aria-label"], ws = [
|
|
3015
3017
|
"aria-checked",
|
|
3016
3018
|
"aria-label",
|
|
3017
3019
|
"title",
|
|
3018
3020
|
"onClick"
|
|
3019
|
-
],
|
|
3021
|
+
], Ts = /* @__PURE__ */ f({
|
|
3020
3022
|
__name: "ViewportToggle",
|
|
3021
3023
|
props: { viewport: {} },
|
|
3022
3024
|
emits: ["change"],
|
|
@@ -3077,13 +3079,13 @@ var wi = {
|
|
|
3077
3079
|
key: 2,
|
|
3078
3080
|
size: 18,
|
|
3079
3081
|
"stroke-width": 1.5
|
|
3080
|
-
})), h("span", null, w(n.label), 1)], 12,
|
|
3082
|
+
})), h("span", null, w(n.label), 1)], 12, ws))), 128))], 12, Cs));
|
|
3081
3083
|
}
|
|
3082
|
-
}),
|
|
3084
|
+
}), Es = [
|
|
3083
3085
|
"aria-label",
|
|
3084
3086
|
"title",
|
|
3085
3087
|
"aria-pressed"
|
|
3086
|
-
],
|
|
3088
|
+
], Ds = /* @__PURE__ */ H(/* @__PURE__ */ f({
|
|
3087
3089
|
__name: "PreviewToggle",
|
|
3088
3090
|
props: { previewMode: { type: Boolean } },
|
|
3089
3091
|
emits: ["change"],
|
|
@@ -3116,13 +3118,13 @@ var wi = {
|
|
|
3116
3118
|
"stroke-width": 1.5
|
|
3117
3119
|
}))]),
|
|
3118
3120
|
_: 1
|
|
3119
|
-
})], 12,
|
|
3121
|
+
})], 12, Es));
|
|
3120
3122
|
}
|
|
3121
|
-
}), [["__scopeId", "data-v-af87d02a"]]),
|
|
3123
|
+
}), [["__scopeId", "data-v-af87d02a"]]), Os = [
|
|
3122
3124
|
"aria-label",
|
|
3123
3125
|
"title",
|
|
3124
3126
|
"aria-pressed"
|
|
3125
|
-
],
|
|
3127
|
+
], ks = /* @__PURE__ */ H(/* @__PURE__ */ f({
|
|
3126
3128
|
__name: "DarkModeToggle",
|
|
3127
3129
|
props: { darkMode: { type: Boolean } },
|
|
3128
3130
|
emits: ["change"],
|
|
@@ -3155,27 +3157,27 @@ var wi = {
|
|
|
3155
3157
|
"stroke-width": 1.5
|
|
3156
3158
|
}))]),
|
|
3157
3159
|
_: 1
|
|
3158
|
-
})], 12,
|
|
3160
|
+
})], 12, Os));
|
|
3159
3161
|
}
|
|
3160
|
-
}), [["__scopeId", "data-v-f8694f76"]]),
|
|
3162
|
+
}), [["__scopeId", "data-v-f8694f76"]]), As = {
|
|
3161
3163
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
|
|
3162
3164
|
style: {
|
|
3163
3165
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
|
|
3164
3166
|
"backdrop-filter": "blur(8px)",
|
|
3165
3167
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
3166
3168
|
}
|
|
3167
|
-
},
|
|
3169
|
+
}, js = {
|
|
3168
3170
|
href: "https://github.com/templatical/sdk",
|
|
3169
3171
|
target: "_blank",
|
|
3170
3172
|
rel: "noopener noreferrer",
|
|
3171
3173
|
class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
|
|
3172
3174
|
style: { "text-decoration": "none" }
|
|
3173
|
-
},
|
|
3175
|
+
}, Ms = /* @__PURE__ */ f({
|
|
3174
3176
|
__name: "EditorFooter",
|
|
3175
3177
|
props: { positionClass: {} },
|
|
3176
3178
|
setup(t) {
|
|
3177
3179
|
let { t: n } = z();
|
|
3178
|
-
return (r, i) => (e(), g("footer", { class: d(["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)]", t.positionClass]) }, [h("div",
|
|
3180
|
+
return (r, i) => (e(), g("footer", { class: d(["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)]", t.positionClass]) }, [h("div", As, [
|
|
3179
3181
|
h("span", null, w(S(n).footer.poweredBy), 1),
|
|
3180
3182
|
i[0] ||= h("a", {
|
|
3181
3183
|
href: "https://templatical.com",
|
|
@@ -3190,9 +3192,9 @@ var wi = {
|
|
|
3190
3192
|
alt: ""
|
|
3191
3193
|
}), l(" Templatical ")], -1),
|
|
3192
3194
|
i[1] ||= h("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
|
|
3193
|
-
h("a",
|
|
3195
|
+
h("a", js, w(S(n).footer.openSource), 1)
|
|
3194
3196
|
])], 2));
|
|
3195
3197
|
}
|
|
3196
3198
|
});
|
|
3197
3199
|
//#endregion
|
|
3198
|
-
export {
|
|
3200
|
+
export { Ss as a, Tt as c, Ts as i, vt as l, ks as n, Wt as o, Ds as r, Ft as s, Ms as t };
|