@templatical/editor 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2053,7 +2053,7 @@ var Si = {
2053
2053
  value: e.value
2054
2054
  }, f(e.label), 9, ga))), 128))], 42, ha)]));
2055
2055
  }
2056
- }), va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ba = { class: "tpl:flex tpl:items-center tpl:gap-2" }, xa = ["value", "onChange"], Sa = ["value"], Ca = ["title", "onClick"], wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:mb-3.5" }, Ea = { class: "tpl:mb-3.5" }, Da = { class: "tpl:flex tpl:items-stretch" }, Oa = ["value"], ka = { class: "tpl:mb-3.5" }, Aa = /* @__PURE__ */ O({
2056
+ }), va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ba = { class: "tpl:flex tpl:items-center tpl:gap-2" }, xa = ["value", "onChange"], Sa = ["value"], Ca = ["title", "onClick"], wa = { class: "tpl:mb-3.5" }, Ta = ["value"], Ea = { value: "solid" }, Da = { value: "outlined" }, Oa = { value: "rounded" }, ka = { value: "square" }, Aa = { value: "circle" }, ja = { class: "tpl:mb-3.5" }, Ma = { class: "tpl:mb-3.5" }, Na = { class: "tpl:flex tpl:items-stretch" }, Pa = ["value"], Fa = { class: "tpl:mb-3.5" }, Ia = /* @__PURE__ */ O({
2057
2057
  __name: "SocialToolbar",
2058
2058
  props: { block: {} },
2059
2059
  emits: ["update"],
@@ -2084,6 +2084,7 @@ var Si = {
2084
2084
  key: e.id,
2085
2085
  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"
2086
2086
  }, [S("div", ba, [S("select", {
2087
+ "data-testid": "social-platform-select",
2087
2088
  class: x([g(W), "tpl:flex-1"]),
2088
2089
  value: e.platform,
2089
2090
  onChange: (t) => l(e.id, "platform", t.target.value)
@@ -2113,33 +2114,18 @@ var Si = {
2113
2114
  size: 14,
2114
2115
  "stroke-width": 2
2115
2116
  }), D(" " + f(g(o).social.addIcon), 1)], 2)])]),
2116
- S("div", wa, [S("label", { class: x(g(G)) }, f(g(o).social.style), 3), k(X, {
2117
- options: [
2118
- {
2119
- value: "solid",
2120
- label: g(o).social.styleSolid
2121
- },
2122
- {
2123
- value: "outlined",
2124
- label: g(o).social.styleOutlined
2125
- },
2126
- {
2127
- value: "rounded",
2128
- label: g(o).social.styleRounded
2129
- },
2130
- {
2131
- value: "square",
2132
- label: g(o).social.styleSquare
2133
- },
2134
- {
2135
- value: "circle",
2136
- label: g(o).social.styleCircle
2137
- }
2138
- ],
2139
- "model-value": e.block.iconStyle,
2140
- "onUpdate:modelValue": n[0] ||= (e) => s("iconStyle", e)
2141
- }, null, 8, ["options", "model-value"])]),
2142
- S("div", Ta, [S("label", { class: x(g(G)) }, f(g(o).social.size), 3), k(X, {
2117
+ S("div", wa, [S("label", { class: x(g(G)) }, f(g(o).social.style), 3), S("select", {
2118
+ class: x(g(W)),
2119
+ value: e.block.iconStyle,
2120
+ onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
2121
+ }, [
2122
+ S("option", Ea, f(g(o).social.styleSolid), 1),
2123
+ S("option", Da, f(g(o).social.styleOutlined), 1),
2124
+ S("option", Oa, f(g(o).social.styleRounded), 1),
2125
+ S("option", ka, f(g(o).social.styleSquare), 1),
2126
+ S("option", Aa, f(g(o).social.styleCircle), 1)
2127
+ ], 42, Ta)]),
2128
+ S("div", ja, [S("label", { class: x(g(G)) }, f(g(o).social.size), 3), k(X, {
2143
2129
  options: [
2144
2130
  {
2145
2131
  value: "small",
@@ -2157,15 +2143,15 @@ var Si = {
2157
2143
  "model-value": e.block.iconSize,
2158
2144
  "onUpdate:modelValue": n[1] ||= (e) => s("iconSize", e)
2159
2145
  }, null, 8, ["options", "model-value"])]),
2160
- S("div", Ea, [S("label", { class: x(g(G)) }, f(g(o).social.spacing), 3), S("div", Da, [S("input", {
2146
+ S("div", Ma, [S("label", { class: x(g(G)) }, f(g(o).social.spacing), 3), S("div", Na, [S("input", {
2161
2147
  type: "number",
2162
2148
  class: x(g(q)),
2163
2149
  value: e.block.spacing,
2164
2150
  min: "0",
2165
2151
  max: "50",
2166
2152
  onInput: n[2] ||= (e) => s("spacing", Number(e.target.value))
2167
- }, null, 42, Oa), S("span", { class: x(g(K)) }, "px", 2)])]),
2168
- S("div", ka, [S("label", { class: x(g(G)) }, f(g(o).social.align), 3), k(X, {
2153
+ }, null, 42, Pa), S("span", { class: x(g(K)) }, "px", 2)])]),
2154
+ S("div", Fa, [S("label", { class: x(g(G)) }, f(g(o).social.align), 3), k(X, {
2169
2155
  options: [
2170
2156
  {
2171
2157
  value: "left",
@@ -2188,22 +2174,22 @@ var Si = {
2188
2174
  }, null, 8, ["options", "model-value"])])
2189
2175
  ], 64));
2190
2176
  }
2191
- }), ja = { class: "tpl:mb-3.5" }, Ma = { class: "tpl:flex tpl:items-stretch" }, Na = ["value"], Pa = ["value"], Fa = /* @__PURE__ */ O({
2177
+ }), La = { class: "tpl:mb-3.5" }, Ra = { class: "tpl:flex tpl:items-stretch" }, za = ["value"], Ba = ["value"], Va = /* @__PURE__ */ O({
2192
2178
  __name: "SpacerToolbar",
2193
2179
  props: { block: {} },
2194
2180
  emits: ["update"],
2195
2181
  setup(e, { emit: t }) {
2196
2182
  let n = t, { t: i } = R();
2197
- return (t, a) => (r(), m("div", ja, [
2183
+ return (t, a) => (r(), m("div", La, [
2198
2184
  S("label", { class: x(g(G)) }, f(g(i).spacer.height), 3),
2199
- S("div", Ma, [S("input", {
2185
+ S("div", Ra, [S("input", {
2200
2186
  type: "number",
2201
2187
  class: x(g(q)),
2202
2188
  value: e.block.height,
2203
2189
  min: "10",
2204
2190
  max: "100",
2205
2191
  onInput: a[0] ||= (e) => n("update", { height: Number(e.target.value) })
2206
- }, null, 42, Na), S("span", { class: x(g(K)) }, "px", 2)]),
2192
+ }, null, 42, za), S("span", { class: x(g(K)) }, "px", 2)]),
2207
2193
  S("input", {
2208
2194
  type: "range",
2209
2195
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2211,13 +2197,13 @@ var Si = {
2211
2197
  min: "10",
2212
2198
  max: "100",
2213
2199
  onInput: a[1] ||= (e) => n("update", { height: Number(e.target.value) })
2214
- }, null, 40, Pa)
2200
+ }, null, 40, Ba)
2215
2201
  ]));
2216
2202
  }
2217
- }), Ia = { class: "tpl:mb-3.5" }, La = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ra = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, za = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ba = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Va = ["disabled"], Ha = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ua = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Wa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ga = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ka = ["disabled"], qa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ja = { class: "tpl:mb-3.5" }, Ya = { 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)]" }, Xa = ["checked"], Za = {
2203
+ }), Ha = { class: "tpl:mb-3.5" }, Ua = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Wa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ga = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ka = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, qa = ["disabled"], Ja = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ya = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Xa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Za = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Qa = ["disabled"], $a = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, eo = { class: "tpl:mb-3.5" }, to = { 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)]" }, no = ["checked"], ro = {
2218
2204
  key: 0,
2219
2205
  class: "tpl:mb-3.5"
2220
- }, Qa = { class: "tpl:mb-3.5" }, $a = { class: "tpl:mb-3.5" }, eo = { class: "tpl:flex tpl:items-stretch" }, to = ["value"], no = { class: "tpl:mb-3.5" }, ro = { class: "tpl:flex tpl:items-stretch" }, io = ["value"], ao = { class: "tpl:mb-3.5" }, oo = ["value"], so = { value: "" }, co = ["value"], lo = { class: "tpl:mb-3.5" }, uo = { class: "tpl:flex tpl:items-stretch" }, fo = ["value"], po = { class: "tpl:mb-3.5" }, mo = { class: "tpl:mb-3.5" }, ho = /* @__PURE__ */ O({
2206
+ }, io = { class: "tpl:mb-3.5" }, ao = { class: "tpl:mb-3.5" }, oo = { class: "tpl:flex tpl:items-stretch" }, so = ["value"], co = { class: "tpl:mb-3.5" }, lo = { class: "tpl:flex tpl:items-stretch" }, uo = ["value"], fo = { class: "tpl:mb-3.5" }, po = ["value"], mo = { value: "" }, ho = ["value"], go = { class: "tpl:mb-3.5" }, _o = { class: "tpl:flex tpl:items-stretch" }, vo = ["value"], yo = { class: "tpl:mb-3.5" }, bo = { class: "tpl:mb-3.5" }, xo = /* @__PURE__ */ O({
2221
2207
  __name: "TableToolbar",
2222
2208
  props: {
2223
2209
  block: {},
@@ -2258,7 +2244,7 @@ var Si = {
2258
2244
  })) });
2259
2245
  }
2260
2246
  return (t, n) => (r(), m(E, null, [
2261
- S("div", Ia, [S("label", { class: x(g(G)) }, f(g(o).table.dimensions), 3), S("div", La, [S("div", Ra, [S("span", za, f(g(o).table.rows), 1), S("div", Ba, [
2247
+ S("div", Ha, [S("label", { class: x(g(G)) }, f(g(o).table.dimensions), 3), S("div", Ua, [S("div", Wa, [S("span", Ga, f(g(o).table.rows), 1), S("div", Ka, [
2262
2248
  S("button", {
2263
2249
  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",
2264
2250
  disabled: e.block.rows.length <= 1,
@@ -2266,8 +2252,8 @@ var Si = {
2266
2252
  }, [k(g(U), {
2267
2253
  size: 12,
2268
2254
  "stroke-width": 2
2269
- })], 8, Va),
2270
- S("span", Ha, f(e.block.rows.length), 1),
2255
+ })], 8, qa),
2256
+ S("span", Ja, f(e.block.rows.length), 1),
2271
2257
  S("button", {
2272
2258
  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)]",
2273
2259
  onClick: l
@@ -2275,7 +2261,7 @@ var Si = {
2275
2261
  size: 12,
2276
2262
  "stroke-width": 2
2277
2263
  })])
2278
- ])]), S("div", Ua, [S("span", Wa, f(g(o).table.columns), 1), S("div", Ga, [
2264
+ ])]), S("div", Ya, [S("span", Xa, f(g(o).table.columns), 1), S("div", Za, [
2279
2265
  S("button", {
2280
2266
  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",
2281
2267
  disabled: s.value <= 1,
@@ -2283,8 +2269,8 @@ var Si = {
2283
2269
  }, [k(g(U), {
2284
2270
  size: 12,
2285
2271
  "stroke-width": 2
2286
- })], 8, Ka),
2287
- S("span", qa, f(s.value), 1),
2272
+ })], 8, Qa),
2273
+ S("span", $a, f(s.value), 1),
2288
2274
  S("button", {
2289
2275
  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)]",
2290
2276
  onClick: d
@@ -2293,58 +2279,58 @@ var Si = {
2293
2279
  "stroke-width": 2
2294
2280
  })])
2295
2281
  ])])])]),
2296
- S("div", Ja, [S("label", Ya, [S("input", {
2282
+ S("div", eo, [S("label", to, [S("input", {
2297
2283
  type: "checkbox",
2298
2284
  checked: e.block.hasHeaderRow,
2299
2285
  class: "tpl:accent-[var(--tpl-primary)]",
2300
2286
  onChange: n[2] ||= (e) => c("hasHeaderRow", e.target.checked)
2301
- }, null, 40, Xa), D(" " + f(g(o).table.hasHeaderRow), 1)])]),
2302
- e.block.hasHeaderRow ? (r(), m("div", Za, [S("label", { class: x(g(G)) }, f(g(o).table.headerBackgroundColor), 3), k(J, {
2287
+ }, null, 40, no), D(" " + f(g(o).table.hasHeaderRow), 1)])]),
2288
+ e.block.hasHeaderRow ? (r(), m("div", ro, [S("label", { class: x(g(G)) }, f(g(o).table.headerBackgroundColor), 3), k(J, {
2303
2289
  "model-value": e.block.headerBackgroundColor || g("#f2f2f2"),
2304
2290
  placeholder: g(o).table.noHeaderBg,
2305
2291
  "onUpdate:modelValue": n[3] ||= (e) => c("headerBackgroundColor", e || null)
2306
2292
  }, null, 8, ["model-value", "placeholder"])])) : h("", !0),
2307
- S("div", Qa, [S("label", { class: x(g(G)) }, f(g(o).table.borderColor), 3), k(J, {
2293
+ S("div", io, [S("label", { class: x(g(G)) }, f(g(o).table.borderColor), 3), k(J, {
2308
2294
  "model-value": e.block.borderColor,
2309
2295
  "onUpdate:modelValue": n[4] ||= (e) => c("borderColor", e)
2310
2296
  }, null, 8, ["model-value"])]),
2311
- S("div", $a, [S("label", { class: x(g(G)) }, f(g(o).table.borderWidth), 3), S("div", eo, [S("input", {
2297
+ S("div", ao, [S("label", { class: x(g(G)) }, f(g(o).table.borderWidth), 3), S("div", oo, [S("input", {
2312
2298
  type: "number",
2313
2299
  class: x(g(q)),
2314
2300
  value: e.block.borderWidth,
2315
2301
  min: "0",
2316
2302
  max: "10",
2317
2303
  onInput: n[5] ||= (e) => c("borderWidth", Number(e.target.value))
2318
- }, null, 42, to), S("span", { class: x(g(K)) }, "px", 2)])]),
2319
- S("div", no, [S("label", { class: x(g(G)) }, f(g(o).table.cellPadding), 3), S("div", ro, [S("input", {
2304
+ }, null, 42, so), S("span", { class: x(g(K)) }, "px", 2)])]),
2305
+ S("div", co, [S("label", { class: x(g(G)) }, f(g(o).table.cellPadding), 3), S("div", lo, [S("input", {
2320
2306
  type: "number",
2321
2307
  class: x(g(q)),
2322
2308
  value: e.block.cellPadding,
2323
2309
  min: "0",
2324
2310
  max: "30",
2325
2311
  onInput: n[6] ||= (e) => c("cellPadding", Number(e.target.value))
2326
- }, null, 42, io), S("span", { class: x(g(K)) }, "px", 2)])]),
2327
- S("div", ao, [S("label", { class: x(g(G)) }, f(g(o).table.fontFamily), 3), S("select", {
2312
+ }, null, 42, uo), S("span", { class: x(g(K)) }, "px", 2)])]),
2313
+ S("div", fo, [S("label", { class: x(g(G)) }, f(g(o).table.fontFamily), 3), S("select", {
2328
2314
  class: x(g(W)),
2329
2315
  value: e.block.fontFamily || "",
2330
2316
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2331
- }, [S("option", so, f(g(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2317
+ }, [S("option", mo, f(g(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2332
2318
  key: e.value,
2333
2319
  value: e.value
2334
- }, f(e.label), 9, co))), 128))], 42, oo)]),
2335
- S("div", lo, [S("label", { class: x(g(G)) }, f(g(o).table.fontSize), 3), S("div", uo, [S("input", {
2320
+ }, f(e.label), 9, ho))), 128))], 42, po)]),
2321
+ S("div", go, [S("label", { class: x(g(G)) }, f(g(o).table.fontSize), 3), S("div", _o, [S("input", {
2336
2322
  type: "number",
2337
2323
  class: x(g(q)),
2338
2324
  value: e.block.fontSize,
2339
2325
  min: "10",
2340
2326
  max: "32",
2341
2327
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
2342
- }, null, 42, fo), S("span", { class: x(g(K)) }, "px", 2)])]),
2343
- S("div", po, [S("label", { class: x(g(G)) }, f(g(o).table.color), 3), k(J, {
2328
+ }, null, 42, vo), S("span", { class: x(g(K)) }, "px", 2)])]),
2329
+ S("div", yo, [S("label", { class: x(g(G)) }, f(g(o).table.color), 3), k(J, {
2344
2330
  "model-value": e.block.color,
2345
2331
  "onUpdate:modelValue": n[9] ||= (e) => c("color", e)
2346
2332
  }, null, 8, ["model-value"])]),
2347
- S("div", mo, [S("label", { class: x(g(G)) }, f(g(o).table.textAlign), 3), k(X, {
2333
+ S("div", bo, [S("label", { class: x(g(G)) }, f(g(o).table.textAlign), 3), k(X, {
2348
2334
  options: [
2349
2335
  {
2350
2336
  value: "left",
@@ -2367,7 +2353,7 @@ var Si = {
2367
2353
  }, null, 8, ["options", "model-value"])])
2368
2354
  ], 64));
2369
2355
  }
2370
- }), go = { class: "tpl:mb-3.5" }, _o = ["value"], vo = { value: 1 }, yo = { value: 2 }, bo = { value: 3 }, xo = { value: 4 }, So = { class: "tpl:mb-3.5" }, Co = ["value"], wo = { value: "" }, To = ["value"], Eo = { class: "tpl:mb-3.5" }, Do = { class: "tpl:mb-3.5" }, Oo = /* @__PURE__ */ O({
2356
+ }), So = { class: "tpl:mb-3.5" }, Co = ["value"], wo = { value: 1 }, To = { value: 2 }, Eo = { value: 3 }, Do = { value: 4 }, Oo = { class: "tpl:mb-3.5" }, ko = ["value"], Ao = { value: "" }, jo = ["value"], Mo = { class: "tpl:mb-3.5" }, No = { class: "tpl:mb-3.5" }, Po = /* @__PURE__ */ O({
2371
2357
  __name: "TitleToolbar",
2372
2358
  props: {
2373
2359
  block: {},
@@ -2380,29 +2366,29 @@ var Si = {
2380
2366
  n("update", { [e]: t });
2381
2367
  }
2382
2368
  return (t, n) => (r(), m(E, null, [
2383
- S("div", go, [S("label", { class: x(g(G)) }, f(g(i).title.level), 3), S("select", {
2369
+ S("div", So, [S("label", { class: x(g(G)) }, f(g(i).title.level), 3), S("select", {
2384
2370
  class: x(g(W)),
2385
2371
  value: e.block.level,
2386
2372
  onChange: n[0] ||= (e) => o("level", Number(e.target.value))
2387
2373
  }, [
2388
- S("option", vo, f(g(i).title.heading1), 1),
2389
- S("option", yo, f(g(i).title.heading2), 1),
2390
- S("option", bo, f(g(i).title.heading3), 1),
2391
- S("option", xo, f(g(i).title.heading4), 1)
2392
- ], 42, _o)]),
2393
- S("div", So, [S("label", { class: x(g(G)) }, f(g(i).title.fontFamily), 3), S("select", {
2374
+ S("option", wo, f(g(i).title.heading1), 1),
2375
+ S("option", To, f(g(i).title.heading2), 1),
2376
+ S("option", Eo, f(g(i).title.heading3), 1),
2377
+ S("option", Do, f(g(i).title.heading4), 1)
2378
+ ], 42, Co)]),
2379
+ S("div", Oo, [S("label", { class: x(g(G)) }, f(g(i).title.fontFamily), 3), S("select", {
2394
2380
  class: x(g(W)),
2395
2381
  value: e.block.fontFamily || "",
2396
2382
  onChange: n[1] ||= (e) => o("fontFamily", e.target.value || void 0)
2397
- }, [S("option", wo, f(g(i).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2383
+ }, [S("option", Ao, f(g(i).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2398
2384
  key: e.value,
2399
2385
  value: e.value
2400
- }, f(e.label), 9, To))), 128))], 42, Co)]),
2401
- S("div", Eo, [S("label", { class: x(g(G)) }, f(g(i).title.color), 3), k(J, {
2386
+ }, f(e.label), 9, jo))), 128))], 42, ko)]),
2387
+ S("div", Mo, [S("label", { class: x(g(G)) }, f(g(i).title.color), 3), k(J, {
2402
2388
  "model-value": e.block.color,
2403
2389
  "onUpdate:modelValue": n[2] ||= (e) => o("color", e)
2404
2390
  }, null, 8, ["model-value"])]),
2405
- S("div", Do, [S("label", { class: x(g(G)) }, f(g(i).title.align), 3), k(X, {
2391
+ S("div", No, [S("label", { class: x(g(G)) }, f(g(i).title.align), 3), k(X, {
2406
2392
  options: [
2407
2393
  {
2408
2394
  value: "left",
@@ -2425,17 +2411,17 @@ var Si = {
2425
2411
  }, null, 8, ["options", "model-value"])])
2426
2412
  ], 64));
2427
2413
  }
2428
- }), ko = { class: "tpl:mb-3.5" }, Ao = {
2414
+ }), Fo = { class: "tpl:mb-3.5" }, Io = {
2429
2415
  key: 0,
2430
2416
  class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
2431
- }, jo = ["checked"], Mo = {
2417
+ }, Lo = ["checked"], Ro = {
2432
2418
  key: 0,
2433
2419
  class: "tpl:mb-3.5"
2434
- }, No = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Po = [
2420
+ }, zo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Bo = [
2435
2421
  "value",
2436
2422
  "placeholder",
2437
2423
  "title"
2438
- ], Fo = { class: "tpl:mb-3.5" }, Io = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Lo = { class: "tpl:mb-3.5" }, Ro = { class: "tpl:mb-3.5" }, zo = ["value"], Bo = { value: "full" }, Vo = { class: "tpl:mb-3.5" }, Ho = /* @__PURE__ */ O({
2424
+ ], Vo = { class: "tpl:mb-3.5" }, Ho = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Uo = { class: "tpl:mb-3.5" }, Wo = { class: "tpl:mb-3.5" }, Go = ["value"], Ko = { value: "full" }, qo = { class: "tpl:mb-3.5" }, Jo = /* @__PURE__ */ O({
2439
2425
  __name: "VideoToolbar",
2440
2426
  props: { block: {} },
2441
2427
  emits: ["update"],
@@ -2451,7 +2437,7 @@ var Si = {
2451
2437
  e && (y("thumbnailUrl", e.url), _.value = !0, v());
2452
2438
  }
2453
2439
  return (t, n) => (r(), m(E, null, [
2454
- S("div", ko, [
2440
+ S("div", Fo, [
2455
2441
  S("label", { class: x(g(G)) }, f(g(a).video.videoUrl), 3),
2456
2442
  k(Z, {
2457
2443
  "model-value": e.block.url,
@@ -2459,23 +2445,23 @@ var Si = {
2459
2445
  placeholder: g(a).video.videoUrlPlaceholder,
2460
2446
  "onUpdate:modelValue": n[0] ||= (e) => y("url", e)
2461
2447
  }, null, 8, ["model-value", "placeholder"]),
2462
- e.block.url ? (r(), m("label", Ao, [S("input", {
2448
+ e.block.url ? (r(), m("label", Io, [S("input", {
2463
2449
  type: "checkbox",
2464
2450
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
2465
2451
  checked: e.block.openInNewTab ?? !1,
2466
2452
  onChange: n[1] ||= (e) => y("openInNewTab", e.target.checked)
2467
- }, null, 40, jo), D(" " + f(g(a).video.openInNewTab), 1)])) : h("", !0)
2453
+ }, null, 40, Lo), D(" " + f(g(a).video.openInNewTab), 1)])) : h("", !0)
2468
2454
  ]),
2469
- d.value ? (r(), m("div", Mo, [S("label", { class: x(g(G)) }, [D(f(g(a).video.placeholderUrl) + " ", 1), S("span", No, f(g(a).video.optional), 1)], 2), S("input", {
2455
+ d.value ? (r(), m("div", Ro, [S("label", { class: x(g(G)) }, [D(f(g(a).video.placeholderUrl) + " ", 1), S("span", zo, f(g(a).video.optional), 1)], 2), S("input", {
2470
2456
  type: "url",
2471
2457
  class: x(g(W)),
2472
2458
  value: e.block.placeholderUrl || "",
2473
2459
  placeholder: g(a).video.placeholderUrlPlaceholder,
2474
2460
  title: g(a).video.placeholderUrlTooltip,
2475
2461
  onInput: n[2] ||= (e) => y("placeholderUrl", e.target.value)
2476
- }, null, 42, Po)])) : h("", !0),
2477
- S("div", Fo, [
2478
- S("label", { class: x(g(G)) }, [D(f(g(a).video.customThumbnail) + " ", 1), S("span", Io, f(g(a).video.optional), 1)], 2),
2462
+ }, null, 42, Bo)])) : h("", !0),
2463
+ S("div", Vo, [
2464
+ S("label", { class: x(g(G)) }, [D(f(g(a).video.customThumbnail) + " ", 1), S("span", Ho, f(g(a).video.optional), 1)], 2),
2479
2465
  k(Z, {
2480
2466
  "model-value": e.block.thumbnailUrl,
2481
2467
  type: "url",
@@ -2501,23 +2487,23 @@ var Si = {
2501
2487
  "stroke-width": 1.5
2502
2488
  }), D(" " + f(g(a).image.browseMedia), 1)])) : h("", !0)
2503
2489
  ]),
2504
- S("div", Lo, [S("label", { class: x(g(G)) }, f(g(a).video.altText), 3), k(Z, {
2490
+ S("div", Uo, [S("label", { class: x(g(G)) }, f(g(a).video.altText), 3), k(Z, {
2505
2491
  "model-value": e.block.alt,
2506
2492
  type: "text",
2507
2493
  placeholder: g(a).video.altTextPlaceholder,
2508
2494
  "onUpdate:modelValue": n[4] ||= (e) => y("alt", e)
2509
2495
  }, null, 8, ["model-value", "placeholder"])]),
2510
- S("div", Ro, [S("label", { class: x(g(G)) }, f(g(a).video.width), 3), S("select", {
2496
+ S("div", Wo, [S("label", { class: x(g(G)) }, f(g(a).video.width), 3), S("select", {
2511
2497
  class: x(g(W)),
2512
2498
  value: e.block.width,
2513
2499
  onChange: n[5] ||= (e) => y("width", e.target.value === "full" ? "full" : Number(e.target.value))
2514
2500
  }, [
2515
- S("option", Bo, f(g(a).video.fullWidth), 1),
2501
+ S("option", Ko, f(g(a).video.fullWidth), 1),
2516
2502
  n[7] ||= S("option", { value: "300" }, "300px", -1),
2517
2503
  n[8] ||= S("option", { value: "400" }, "400px", -1),
2518
2504
  n[9] ||= S("option", { value: "500" }, "500px", -1)
2519
- ], 42, zo)]),
2520
- S("div", Vo, [S("label", { class: x(g(G)) }, f(g(a).title.align), 3), k(X, {
2505
+ ], 42, Go)]),
2506
+ S("div", qo, [S("label", { class: x(g(G)) }, f(g(a).title.align), 3), k(X, {
2521
2507
  options: [
2522
2508
  {
2523
2509
  value: "left",
@@ -2537,7 +2523,7 @@ var Si = {
2537
2523
  }, null, 8, ["options", "model-value"])])
2538
2524
  ], 64));
2539
2525
  }
2540
- }), Uo = ["aria-label"], Wo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Go = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ko = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qo = { class: "tpl:flex tpl:gap-1" }, Jo = ["title"], Yo = ["title"], Xo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Zo = /* @__PURE__ */ B(/* @__PURE__ */ O({
2526
+ }), Yo = ["aria-label"], Xo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Zo = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Qo = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, $o = { class: "tpl:flex tpl:gap-1" }, es = ["title"], ts = ["title"], ns = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, rs = /* @__PURE__ */ B(/* @__PURE__ */ O({
2541
2527
  __name: "Toolbar",
2542
2528
  props: { block: {} },
2543
2529
  emits: [
@@ -2555,7 +2541,7 @@ var Si = {
2555
2541
  return (t, a) => (r(), m("aside", {
2556
2542
  "aria-label": g(c).landmarks.blockToolbar,
2557
2543
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2558
- }, [S("div", Wo, [S("div", Go, [g(gt)[_.value] ? (r(), v(n(g(gt)[_.value]), {
2544
+ }, [S("div", Xo, [S("div", Zo, [g(gt)[_.value] ? (r(), v(n(g(gt)[_.value]), {
2559
2545
  key: 0,
2560
2546
  size: 16,
2561
2547
  "stroke-width": 1.5
@@ -2563,21 +2549,21 @@ var Si = {
2563
2549
  key: 1,
2564
2550
  size: 16,
2565
2551
  "stroke-width": 1.5
2566
- })) : h("", !0), S("h3", Ko, f(x.value), 1)]), S("div", qo, [S("button", {
2552
+ })) : h("", !0), S("h3", Qo, f(x.value), 1)]), S("div", $o, [S("button", {
2567
2553
  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)]",
2568
2554
  title: g(c).toolbar.duplicate,
2569
2555
  onClick: a[0] ||= (e) => s("duplicate")
2570
2556
  }, [k(g(te), {
2571
2557
  size: 14,
2572
2558
  "stroke-width": 2
2573
- })], 8, Jo), S("button", {
2559
+ })], 8, es), S("button", {
2574
2560
  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)]",
2575
2561
  title: g(c).toolbar.delete,
2576
2562
  onClick: a[1] ||= (e) => s("delete")
2577
2563
  }, [k(g(Re), {
2578
2564
  size: 14,
2579
2565
  "stroke-width": 2
2580
- })], 8, Yo)])]), S("div", Xo, [y.value ? (r(), v(Ai, {
2566
+ })], 8, ts)])]), S("div", ns, [y.value ? (r(), v(Ai, {
2581
2567
  key: 0,
2582
2568
  block: e.block,
2583
2569
  onUpdateFieldValues: a[2] ||= (e) => s("update", { fieldValues: e }),
@@ -2586,7 +2572,7 @@ var Si = {
2586
2572
  key: 1,
2587
2573
  block: e.block,
2588
2574
  onUpdate: w
2589
- }, null, 8, ["block"])) : _.value === "title" ? (r(), v(Oo, {
2575
+ }, null, 8, ["block"])) : _.value === "title" ? (r(), v(Po, {
2590
2576
  key: 2,
2591
2577
  block: e.block,
2592
2578
  "font-families": g(C),
@@ -2595,7 +2581,7 @@ var Si = {
2595
2581
  key: 4,
2596
2582
  block: e.block,
2597
2583
  onUpdate: w
2598
- }, null, 8, ["block"])) : _.value === "video" ? (r(), v(Ho, {
2584
+ }, null, 8, ["block"])) : _.value === "video" ? (r(), v(Jo, {
2599
2585
  key: 5,
2600
2586
  block: e.block,
2601
2587
  onUpdate: w
@@ -2608,7 +2594,7 @@ var Si = {
2608
2594
  key: 7,
2609
2595
  block: e.block,
2610
2596
  onUpdate: w
2611
- }, null, 8, ["block"])) : _.value === "social" ? (r(), v(Aa, {
2597
+ }, null, 8, ["block"])) : _.value === "social" ? (r(), v(Ia, {
2612
2598
  key: 8,
2613
2599
  block: e.block,
2614
2600
  onUpdate: w
@@ -2617,12 +2603,12 @@ var Si = {
2617
2603
  block: e.block,
2618
2604
  "font-families": g(C),
2619
2605
  onUpdate: w
2620
- }, null, 8, ["block", "font-families"])) : _.value === "table" ? (r(), v(ho, {
2606
+ }, null, 8, ["block", "font-families"])) : _.value === "table" ? (r(), v(xo, {
2621
2607
  key: 10,
2622
2608
  block: e.block,
2623
2609
  "font-families": g(C),
2624
2610
  onUpdate: w
2625
- }, null, 8, ["block", "font-families"])) : _.value === "spacer" ? (r(), v(Fa, {
2611
+ }, null, 8, ["block", "font-families"])) : _.value === "spacer" ? (r(), v(Va, {
2626
2612
  key: 11,
2627
2613
  block: e.block,
2628
2614
  onUpdate: w
@@ -2639,48 +2625,48 @@ var Si = {
2639
2625
  block: e.block,
2640
2626
  "is-first-section": _.value === "paragraph",
2641
2627
  onUpdate: w
2642
- }, null, 8, ["block", "is-first-section"])])], 8, Uo));
2628
+ }, null, 8, ["block", "is-first-section"])])], 8, Yo));
2643
2629
  }
2644
- }), [["__scopeId", "data-v-2ac88283"]]), Qo = ["aria-label"], $o = {
2630
+ }), [["__scopeId", "data-v-2ac88283"]]), is = ["aria-label"], as = {
2645
2631
  role: "tablist",
2646
2632
  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"
2647
- }, es = [
2633
+ }, os = [
2648
2634
  "aria-selected",
2649
2635
  "aria-label",
2650
2636
  "title"
2651
- ], ts = { key: 0 }, ns = [
2637
+ ], ss = { key: 0 }, cs = [
2652
2638
  "aria-selected",
2653
2639
  "aria-label",
2654
2640
  "title"
2655
- ], rs = { key: 0 }, is = [
2641
+ ], ls = { key: 0 }, us = [
2656
2642
  "aria-selected",
2657
2643
  "aria-label",
2658
2644
  "title"
2659
- ], as = { key: 0 }, os = {
2645
+ ], ds = { key: 0 }, fs = {
2660
2646
  key: 1,
2661
2647
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
2662
- }, ss = {
2648
+ }, ps = {
2663
2649
  key: 0,
2664
2650
  id: "tpl-tabpanel-content",
2665
2651
  role: "tabpanel",
2666
2652
  "aria-labelledby": "tpl-tab-content",
2667
2653
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2668
- }, cs = {
2654
+ }, ms = {
2669
2655
  key: 1,
2670
2656
  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)]"
2671
- }, ls = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, us = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ds = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, fs = {
2657
+ }, hs = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, gs = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, _s = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, vs = {
2672
2658
  key: 1,
2673
2659
  id: "tpl-tabpanel-settings",
2674
2660
  role: "tabpanel",
2675
2661
  "aria-labelledby": "tpl-tab-settings",
2676
2662
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2677
- }, ps = {
2663
+ }, ys = {
2678
2664
  key: 2,
2679
2665
  id: "tpl-tabpanel-accessibility",
2680
2666
  role: "tabpanel",
2681
2667
  "aria-labelledby": "tpl-tab-accessibility",
2682
2668
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2683
- }, ms = /* @__PURE__ */ O({
2669
+ }, bs = /* @__PURE__ */ O({
2684
2670
  __name: "RightSidebar",
2685
2671
  props: {
2686
2672
  selectedBlock: {},
@@ -2710,7 +2696,7 @@ var Si = {
2710
2696
  "aria-label": g(s).landmarks.rightSidebar,
2711
2697
  class: x(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2712
2698
  }, [
2713
- S("div", $o, [
2699
+ S("div", as, [
2714
2700
  S("button", {
2715
2701
  id: "tpl-tab-content",
2716
2702
  role: "tab",
@@ -2724,7 +2710,7 @@ var Si = {
2724
2710
  }, [k(g(st), {
2725
2711
  size: 14,
2726
2712
  "stroke-width": 2
2727
- }), c.value === "content" ? (r(), m("span", ts, f(g(s).sidebar.content), 1)) : h("", !0)], 14, es),
2713
+ }), c.value === "content" ? (r(), m("span", ss, f(g(s).sidebar.content), 1)) : h("", !0)], 14, os),
2728
2714
  S("button", {
2729
2715
  id: "tpl-tab-settings",
2730
2716
  role: "tab",
@@ -2738,7 +2724,7 @@ var Si = {
2738
2724
  }, [k(g(pt), {
2739
2725
  size: 14,
2740
2726
  "stroke-width": 1.5
2741
- }), c.value === "settings" ? (r(), m("span", rs, f(g(s).sidebar.settings), 1)) : h("", !0)], 14, ns),
2727
+ }), c.value === "settings" ? (r(), m("span", ls, f(g(s).sidebar.settings), 1)) : h("", !0)], 14, cs),
2742
2728
  _.value ? (r(), m("button", {
2743
2729
  key: 0,
2744
2730
  id: "tpl-tab-accessibility",
@@ -2755,37 +2741,37 @@ var Si = {
2755
2741
  size: 14,
2756
2742
  "stroke-width": 1.5
2757
2743
  }),
2758
- c.value === "accessibility" ? (r(), m("span", as, f(g(s).accessibility.panelTabLabel), 1)) : h("", !0),
2759
- y.value > 0 ? (r(), m("span", os, f(y.value), 1)) : h("", !0)
2760
- ], 14, is)) : h("", !0)
2744
+ c.value === "accessibility" ? (r(), m("span", ds, f(g(s).accessibility.panelTabLabel), 1)) : h("", !0),
2745
+ y.value > 0 ? (r(), m("span", fs, f(y.value), 1)) : h("", !0)
2746
+ ], 14, us)) : h("", !0)
2761
2747
  ]),
2762
- c.value === "content" ? (r(), m("div", ss, [e.selectedBlock ? (r(), v(Zo, {
2748
+ c.value === "content" ? (r(), m("div", ps, [e.selectedBlock ? (r(), v(rs, {
2763
2749
  key: 0,
2764
2750
  block: e.selectedBlock,
2765
2751
  onUpdate: i[3] ||= (e) => a("update-block", e),
2766
2752
  onDelete: i[4] ||= (e) => a("delete-block"),
2767
2753
  onDuplicate: i[5] ||= (e) => a("duplicate-block")
2768
- }, null, 8, ["block"])) : (r(), m("div", cs, [
2769
- S("div", ls, [k(g(et), {
2754
+ }, null, 8, ["block"])) : (r(), m("div", ms, [
2755
+ S("div", hs, [k(g(et), {
2770
2756
  size: 40,
2771
2757
  "stroke-width": 1.5
2772
2758
  })]),
2773
- S("h3", us, f(g(s).sidebar.noSelection), 1),
2774
- S("p", ds, f(g(s).sidebar.noSelectionHint), 1)
2759
+ S("h3", gs, f(g(s).sidebar.noSelection), 1),
2760
+ S("p", _s, f(g(s).sidebar.noSelectionHint), 1)
2775
2761
  ]))])) : h("", !0),
2776
- c.value === "settings" ? (r(), m("div", fs, [k(Mn, {
2762
+ c.value === "settings" ? (r(), m("div", vs, [k(Mn, {
2777
2763
  settings: e.settings,
2778
2764
  onUpdate: i[6] ||= (e) => a("update-settings", e)
2779
2765
  }, null, 8, ["settings"])])) : h("", !0),
2780
- c.value === "accessibility" && _.value ? (r(), m("div", ps, [k(g(n))])) : h("", !0)
2781
- ], 10, Qo));
2766
+ c.value === "accessibility" && _.value ? (r(), m("div", ys, [k(g(n))])) : h("", !0)
2767
+ ], 10, is));
2782
2768
  }
2783
- }), hs = ["aria-label"], gs = [
2769
+ }), xs = ["aria-label"], Ss = [
2784
2770
  "aria-checked",
2785
2771
  "aria-label",
2786
2772
  "title",
2787
2773
  "onClick"
2788
- ], _s = /* @__PURE__ */ O({
2774
+ ], Cs = /* @__PURE__ */ O({
2789
2775
  __name: "ViewportToggle",
2790
2776
  props: { viewport: {} },
2791
2777
  emits: ["change"],
@@ -2846,13 +2832,13 @@ var Si = {
2846
2832
  key: 2,
2847
2833
  size: 18,
2848
2834
  "stroke-width": 1.5
2849
- })), S("span", null, f(t.label), 1)], 12, gs))), 128))], 12, hs));
2835
+ })), S("span", null, f(t.label), 1)], 12, Ss))), 128))], 12, xs));
2850
2836
  }
2851
- }), vs = [
2837
+ }), ws = [
2852
2838
  "aria-label",
2853
2839
  "title",
2854
2840
  "aria-pressed"
2855
- ], ys = /* @__PURE__ */ B(/* @__PURE__ */ O({
2841
+ ], Ts = /* @__PURE__ */ B(/* @__PURE__ */ O({
2856
2842
  __name: "PreviewToggle",
2857
2843
  props: { previewMode: { type: Boolean } },
2858
2844
  emits: ["change"],
@@ -2885,13 +2871,13 @@ var Si = {
2885
2871
  "stroke-width": 1.5
2886
2872
  }))]),
2887
2873
  _: 1
2888
- })], 12, vs));
2874
+ })], 12, ws));
2889
2875
  }
2890
- }), [["__scopeId", "data-v-af87d02a"]]), bs = [
2876
+ }), [["__scopeId", "data-v-af87d02a"]]), Es = [
2891
2877
  "aria-label",
2892
2878
  "title",
2893
2879
  "aria-pressed"
2894
- ], xs = /* @__PURE__ */ B(/* @__PURE__ */ O({
2880
+ ], Ds = /* @__PURE__ */ B(/* @__PURE__ */ O({
2895
2881
  __name: "DarkModeToggle",
2896
2882
  props: { darkMode: { type: Boolean } },
2897
2883
  emits: ["change"],
@@ -2924,27 +2910,27 @@ var Si = {
2924
2910
  "stroke-width": 1.5
2925
2911
  }))]),
2926
2912
  _: 1
2927
- })], 12, bs));
2913
+ })], 12, Es));
2928
2914
  }
2929
- }), [["__scopeId", "data-v-f8694f76"]]), Ss = {
2915
+ }), [["__scopeId", "data-v-f8694f76"]]), Os = {
2930
2916
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2931
2917
  style: {
2932
2918
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2933
2919
  "backdrop-filter": "blur(8px)",
2934
2920
  "-webkit-backdrop-filter": "blur(8px)"
2935
2921
  }
2936
- }, Cs = {
2922
+ }, ks = {
2937
2923
  href: "https://github.com/templatical/sdk",
2938
2924
  target: "_blank",
2939
2925
  rel: "noopener noreferrer",
2940
2926
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
2941
2927
  style: { "text-decoration": "none" }
2942
- }, ws = /* @__PURE__ */ O({
2928
+ }, As = /* @__PURE__ */ O({
2943
2929
  __name: "EditorFooter",
2944
2930
  props: { positionClass: {} },
2945
2931
  setup(e) {
2946
2932
  let { t } = R();
2947
- return (n, i) => (r(), m("footer", { class: x(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [S("div", Ss, [
2933
+ return (n, i) => (r(), m("footer", { class: x(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [S("div", Os, [
2948
2934
  S("span", null, f(g(t).footer.poweredBy), 1),
2949
2935
  i[0] ||= S("a", {
2950
2936
  href: "https://templatical.com",
@@ -2959,11 +2945,11 @@ var Si = {
2959
2945
  alt: ""
2960
2946
  }), D(" Templatical ")], -1),
2961
2947
  i[1] ||= S("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
2962
- S("a", Cs, f(g(t).footer.openSource), 1)
2948
+ S("a", ks, f(g(t).footer.openSource), 1)
2963
2949
  ])], 2));
2964
2950
  }
2965
2951
  });
2966
2952
  //#endregion
2967
- export { ms as a, Ct as c, _s as i, xs as n, Ht as o, ys as r, Nt as s, ws as t };
2953
+ export { bs as a, Ct as c, Cs as i, Ds as n, Ht as o, Ts as r, Nt as s, As as t };
2968
2954
 
2969
- //# sourceMappingURL=styles-DaTht5d7.js.map
2955
+ //# sourceMappingURL=styles-lcwmaOou.js.map