@bygga.dev/editor 1.9.5 → 1.9.8
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/README.md +12 -2
- package/{TextEditor-BWIxouVH.js → TextEditor-qRsQlXjR.js} +336 -336
- package/bygga-editor.js +1922 -1564
- package/element.d.ts +2 -0
- package/package.json +1 -1
- package/{urls-CtHNhbic.js → urls-pzaQIbvA.js} +210 -193
|
@@ -15930,6 +15930,7 @@ var eC = K.create({
|
|
|
15930
15930
|
fontSize: /* @__PURE__ */ Yy(/* @__PURE__ */ Y(kC)),
|
|
15931
15931
|
customFont: /* @__PURE__ */ Yy((/* @__PURE__ */ wy()).check(/* @__PURE__ */ yy(1))),
|
|
15932
15932
|
fontWeight: /* @__PURE__ */ Yy(/* @__PURE__ */ Ky(["normal", "bold"])),
|
|
15933
|
+
minWidth: /* @__PURE__ */ Yy(dC),
|
|
15933
15934
|
...bC,
|
|
15934
15935
|
...CC
|
|
15935
15936
|
}), jC = /* @__PURE__ */ J({
|
|
@@ -16316,7 +16317,13 @@ function Tw(e) {
|
|
|
16316
16317
|
"mso-padding-alt": Ji(e.padding)
|
|
16317
16318
|
};
|
|
16318
16319
|
}
|
|
16319
|
-
function Ew(e) {
|
|
16320
|
+
function Ew(e, t) {
|
|
16321
|
+
if (!e.minWidth) return;
|
|
16322
|
+
let n = qi(e.padding), r = qi(e.border.width), i = Math.min(e.minWidth, t ?? e.minWidth) - n.left - n.right - r.left - r.right;
|
|
16323
|
+
return i > 0 ? i : void 0;
|
|
16324
|
+
}
|
|
16325
|
+
function Dw(e, t) {
|
|
16326
|
+
let n = Ew(e, t);
|
|
16320
16327
|
return {
|
|
16321
16328
|
color: bi(e.textColor),
|
|
16322
16329
|
display: "block",
|
|
@@ -16324,18 +16331,19 @@ function Ew(e) {
|
|
|
16324
16331
|
fontSize: `${e.fontSize ?? 16}px`,
|
|
16325
16332
|
fontWeight: e.fontWeight ?? "bold",
|
|
16326
16333
|
padding: Ji(e.padding),
|
|
16334
|
+
...n === void 0 ? {} : { minWidth: `${n}px` },
|
|
16327
16335
|
textAlign: "center",
|
|
16328
16336
|
textDecoration: "none"
|
|
16329
16337
|
};
|
|
16330
16338
|
}
|
|
16331
|
-
function
|
|
16339
|
+
function Ow(e) {
|
|
16332
16340
|
return {
|
|
16333
16341
|
color: bi(e.textColor),
|
|
16334
16342
|
fontFamily: e.customFont ?? Ti(e.font),
|
|
16335
16343
|
fontWeight: e.fontWeight ?? "bold"
|
|
16336
16344
|
};
|
|
16337
16345
|
}
|
|
16338
|
-
function
|
|
16346
|
+
function kw(e) {
|
|
16339
16347
|
return {
|
|
16340
16348
|
height: `${e}px`,
|
|
16341
16349
|
lineHeight: `${e}px`,
|
|
@@ -16343,7 +16351,7 @@ function Ow(e) {
|
|
|
16343
16351
|
"mso-line-height-rule": "exactly"
|
|
16344
16352
|
};
|
|
16345
16353
|
}
|
|
16346
|
-
function
|
|
16354
|
+
function Aw(e) {
|
|
16347
16355
|
let t = Math.max(1, e.thickness);
|
|
16348
16356
|
return {
|
|
16349
16357
|
backgroundColor: bi(e.color),
|
|
@@ -16354,7 +16362,7 @@ function kw(e) {
|
|
|
16354
16362
|
borderRadius: Ji(e.borderRadius)
|
|
16355
16363
|
};
|
|
16356
16364
|
}
|
|
16357
|
-
function
|
|
16365
|
+
function jw(e) {
|
|
16358
16366
|
let { top: t, right: n, bottom: r, left: i } = qi(e.borderRadius);
|
|
16359
16367
|
return {
|
|
16360
16368
|
...t > 0 || n > 0 || r > 0 || i > 0 ? {
|
|
@@ -16364,7 +16372,7 @@ function Aw(e) {
|
|
|
16364
16372
|
width: "100%"
|
|
16365
16373
|
};
|
|
16366
16374
|
}
|
|
16367
|
-
function
|
|
16375
|
+
function Mw(e, t = !1) {
|
|
16368
16376
|
return {
|
|
16369
16377
|
...tw(e.background, t),
|
|
16370
16378
|
...ow(e.border),
|
|
@@ -16377,7 +16385,7 @@ function jw(e, t = !1) {
|
|
|
16377
16385
|
width: "100%"
|
|
16378
16386
|
};
|
|
16379
16387
|
}
|
|
16380
|
-
function
|
|
16388
|
+
function Nw(e) {
|
|
16381
16389
|
return {
|
|
16382
16390
|
backgroundColor: bi(e.background.type === "solid" ? e.background.color : e.background.fallbackColor),
|
|
16383
16391
|
borderRadius: Ji(e.borderRadius),
|
|
@@ -16385,19 +16393,19 @@ function Mw(e) {
|
|
|
16385
16393
|
boxSizing: "border-box"
|
|
16386
16394
|
};
|
|
16387
16395
|
}
|
|
16388
|
-
function
|
|
16396
|
+
function Pw() {
|
|
16389
16397
|
return {
|
|
16390
16398
|
borderCollapse: "collapse",
|
|
16391
16399
|
tableLayout: "fixed",
|
|
16392
16400
|
width: "100%"
|
|
16393
16401
|
};
|
|
16394
16402
|
}
|
|
16395
|
-
function
|
|
16403
|
+
function Fw(e) {
|
|
16396
16404
|
let { left: t, right: n } = qi(e);
|
|
16397
16405
|
return Math.min((t + n) / 4, t, n);
|
|
16398
16406
|
}
|
|
16399
|
-
function
|
|
16400
|
-
let i = Zi[e], a = i.reduce((e, t) => e + t, 0), { top: o, right: s, bottom: c, left: l } = qi(t), u =
|
|
16407
|
+
function Iw(e, t, n, r = 0) {
|
|
16408
|
+
let i = Zi[e], a = i.reduce((e, t) => e + t, 0), { top: o, right: s, bottom: c, left: l } = qi(t), u = Fw(t), d = n === void 0 ? void 0 : n - (l - u) - (s - u), f = Math.max(0, r) * (i.length - 1), p = (e) => e / a, m = (e) => {
|
|
16401
16409
|
if (f === 0) {
|
|
16402
16410
|
let t = `${p(e) * 100}%`;
|
|
16403
16411
|
return {
|
|
@@ -16431,14 +16439,23 @@ function Fw(e, t, n, r = 0) {
|
|
|
16431
16439
|
}
|
|
16432
16440
|
//#endregion
|
|
16433
16441
|
//#region ../core/src/blockStyle.ts
|
|
16434
|
-
|
|
16442
|
+
var Lw = [
|
|
16443
|
+
"left",
|
|
16444
|
+
"center",
|
|
16445
|
+
"right",
|
|
16446
|
+
"justify"
|
|
16447
|
+
];
|
|
16448
|
+
function Rw(e) {
|
|
16449
|
+
return Lw.includes(e);
|
|
16450
|
+
}
|
|
16451
|
+
function zw(e) {
|
|
16435
16452
|
return `${e}px`;
|
|
16436
16453
|
}
|
|
16437
|
-
function
|
|
16454
|
+
function Bw(e, t) {
|
|
16438
16455
|
if (!e) return [];
|
|
16439
16456
|
let n = null;
|
|
16440
16457
|
e.customFont === void 0 ? e.font !== void 0 && e.font !== t && (n = Ti(e.font)) : n = e.customFont;
|
|
16441
|
-
let r = e.color?.type === "color" ? _i(e.color) : null, i = e.fontSize === void 0 ? null :
|
|
16458
|
+
let r = e.color?.type === "color" ? _i(e.color) : null, i = e.fontSize === void 0 ? null : zw(e.fontSize), a = [];
|
|
16442
16459
|
return (n !== null || r !== null || i !== null) && a.push({
|
|
16443
16460
|
type: "textStyle",
|
|
16444
16461
|
attrs: {
|
|
@@ -16448,12 +16465,12 @@ function Lw(e, t) {
|
|
|
16448
16465
|
}
|
|
16449
16466
|
}), e.bold && a.push({ type: "bold" }), e.italic && a.push({ type: "italic" }), e.underline && a.push({ type: "underline" }), a;
|
|
16450
16467
|
}
|
|
16451
|
-
function
|
|
16468
|
+
function Vw(e, t, n) {
|
|
16452
16469
|
let r = ga(e, t), { data: i } = r;
|
|
16453
16470
|
switch (i.type) {
|
|
16454
16471
|
case "text": {
|
|
16455
16472
|
let e = n?.text;
|
|
16456
|
-
e && (i.text = Ii(e.align),
|
|
16473
|
+
e && (i.text = Ii(e.align), Hw(i, e), e.paragraphSpacing !== void 0 && (i.paragraphSpacing = e.paragraphSpacing));
|
|
16457
16474
|
break;
|
|
16458
16475
|
}
|
|
16459
16476
|
case "header": {
|
|
@@ -16461,8 +16478,8 @@ function Rw(e, t, n) {
|
|
|
16461
16478
|
e && (i.text = zi(Li, {
|
|
16462
16479
|
level: e.level,
|
|
16463
16480
|
align: e.align,
|
|
16464
|
-
marks:
|
|
16465
|
-
}),
|
|
16481
|
+
marks: Bw(e, t)
|
|
16482
|
+
}), Hw(i, e));
|
|
16466
16483
|
break;
|
|
16467
16484
|
}
|
|
16468
16485
|
case "button": {
|
|
@@ -16470,7 +16487,7 @@ function Rw(e, t, n) {
|
|
|
16470
16487
|
e && (e.background && (i.background = {
|
|
16471
16488
|
type: "solid",
|
|
16472
16489
|
color: e.background
|
|
16473
|
-
}), e.textColor && (i.textColor = e.textColor), e.font && (i.font = e.font), e.customFont && (i.customFont = e.customFont), e.fontSize !== void 0 && e.fontSize !== 16 && (i.fontSize = e.fontSize), e.fontWeight === "normal" && (i.fontWeight = "normal"), e.borderRadius && (i.borderRadius = e.borderRadius), e.padding && (i.padding = e.padding), e.margin && (i.margin = e.margin), e.border && (i.border = e.border), e.align && (i.align = e.align));
|
|
16490
|
+
}), e.textColor && (i.textColor = e.textColor), e.font && (i.font = e.font), e.customFont && (i.customFont = e.customFont), e.fontSize !== void 0 && e.fontSize !== 16 && (i.fontSize = e.fontSize), e.fontWeight === "normal" && (i.fontWeight = "normal"), e.borderRadius && (i.borderRadius = e.borderRadius), e.padding && (i.padding = e.padding), e.margin && (i.margin = e.margin), e.border && (i.border = e.border), e.align && (i.align = e.align), e.minWidth && (i.minWidth = e.minWidth));
|
|
16474
16491
|
break;
|
|
16475
16492
|
}
|
|
16476
16493
|
case "columns":
|
|
@@ -16483,7 +16500,7 @@ function Rw(e, t, n) {
|
|
|
16483
16500
|
}
|
|
16484
16501
|
return r;
|
|
16485
16502
|
}
|
|
16486
|
-
function
|
|
16503
|
+
function Hw(e, t) {
|
|
16487
16504
|
t.background && (e.background = {
|
|
16488
16505
|
type: "solid",
|
|
16489
16506
|
color: t.background
|
|
@@ -16491,23 +16508,23 @@ function zw(e, t) {
|
|
|
16491
16508
|
}
|
|
16492
16509
|
//#endregion
|
|
16493
16510
|
//#region \0plugin-vue:export-helper
|
|
16494
|
-
var
|
|
16511
|
+
var Uw = (e, t) => {
|
|
16495
16512
|
let n = e.__vccOpts || e;
|
|
16496
16513
|
for (let [e, r] of t) n[e] = r;
|
|
16497
16514
|
return n;
|
|
16498
16515
|
};
|
|
16499
16516
|
//#endregion
|
|
16500
16517
|
//#region src/customFonts.ts
|
|
16501
|
-
function
|
|
16518
|
+
function Ww(e) {
|
|
16502
16519
|
return e.map((e) => ({
|
|
16503
16520
|
...e,
|
|
16504
16521
|
stack: Ai(e)
|
|
16505
16522
|
}));
|
|
16506
16523
|
}
|
|
16507
|
-
var
|
|
16508
|
-
function
|
|
16524
|
+
var Gw = /* @__PURE__ */ new Set();
|
|
16525
|
+
function Kw(e) {
|
|
16509
16526
|
if (!(typeof document > "u")) {
|
|
16510
|
-
for (let t of e) if (!
|
|
16527
|
+
for (let t of e) if (!Gw.has(t.href)) if (Gw.add(t.href), Ni(t) === "file") {
|
|
16511
16528
|
if (typeof FontFace > "u") continue;
|
|
16512
16529
|
let e = new FontFace(t.name, `url("${t.href}")`, { display: "swap" });
|
|
16513
16530
|
document.fonts.add(e), e.load().catch((e) => {
|
|
@@ -16521,9 +16538,9 @@ function Uw(e) {
|
|
|
16521
16538
|
}
|
|
16522
16539
|
}
|
|
16523
16540
|
}
|
|
16524
|
-
function
|
|
16541
|
+
function qw(e, t) {
|
|
16525
16542
|
if (Array.isArray(e)) {
|
|
16526
|
-
for (let n of e)
|
|
16543
|
+
for (let n of e) qw(n, t);
|
|
16527
16544
|
return;
|
|
16528
16545
|
}
|
|
16529
16546
|
if (typeof e != "object" || !e) return;
|
|
@@ -16533,9 +16550,9 @@ function Ww(e, t) {
|
|
|
16533
16550
|
typeof e?.fontFamily == "string" && t.stacks.add(e.fontFamily);
|
|
16534
16551
|
}
|
|
16535
16552
|
n.type === "button" && typeof n.customFont == "string" && t.stacks.add(n.customFont), n.type === "custom" && typeof n.html == "string" && t.pluginHtml.push(n.html);
|
|
16536
|
-
for (let e of Object.values(n))
|
|
16553
|
+
for (let e of Object.values(n)) qw(e, t);
|
|
16537
16554
|
}
|
|
16538
|
-
var
|
|
16555
|
+
var Jw = /&(?:quot|#34|#x22|apos|#39|#x27|amp|#38|#x26);/gi, Yw = {
|
|
16539
16556
|
""": "\"",
|
|
16540
16557
|
""": "\"",
|
|
16541
16558
|
""": "\"",
|
|
@@ -16546,31 +16563,31 @@ var Gw = /&(?:quot|#34|#x22|apos|#39|#x27|amp|#38|#x26);/gi, Kw = {
|
|
|
16546
16563
|
"&": "&",
|
|
16547
16564
|
"&": "&"
|
|
16548
16565
|
};
|
|
16549
|
-
function
|
|
16550
|
-
return e.replace(
|
|
16566
|
+
function Xw(e) {
|
|
16567
|
+
return e.replace(Jw, (e) => Yw[e.toLowerCase()] ?? e);
|
|
16551
16568
|
}
|
|
16552
|
-
function
|
|
16569
|
+
function Zw(e) {
|
|
16553
16570
|
let t = (Ai(e).split(",")[0] ?? "").replace(/["']/g, "").trim();
|
|
16554
16571
|
return [.../* @__PURE__ */ new Set([e.name.trim(), t])].filter((e) => e !== "");
|
|
16555
16572
|
}
|
|
16556
|
-
var
|
|
16557
|
-
function
|
|
16573
|
+
var Qw = /[.*+?^${}()|[\]\\]/g;
|
|
16574
|
+
function $w(e, t) {
|
|
16558
16575
|
if (e.length === 0) return !1;
|
|
16559
|
-
let n = e.map(
|
|
16560
|
-
return
|
|
16561
|
-
let t = RegExp(`(^|[^\\w-])${e.replace(
|
|
16576
|
+
let n = e.map(Xw);
|
|
16577
|
+
return Zw(t).some((e) => {
|
|
16578
|
+
let t = RegExp(`(^|[^\\w-])${e.replace(Qw, "\\$&")}(?![\\w-])`, "i");
|
|
16562
16579
|
return n.some((e) => t.test(e));
|
|
16563
16580
|
});
|
|
16564
16581
|
}
|
|
16565
|
-
function
|
|
16582
|
+
function eT(e, t) {
|
|
16566
16583
|
let n = {
|
|
16567
16584
|
stacks: /* @__PURE__ */ new Set(),
|
|
16568
16585
|
pluginHtml: []
|
|
16569
16586
|
};
|
|
16570
|
-
|
|
16587
|
+
qw(e.root, n);
|
|
16571
16588
|
let r = e.customFonts ?? [], i = [], a = (e) => {
|
|
16572
16589
|
let t = Ai(e);
|
|
16573
|
-
(n.stacks.has(t) ||
|
|
16590
|
+
(n.stacks.has(t) || $w(n.pluginHtml, e)) && !i.some((e) => Ai(e) === t) && i.push(e);
|
|
16574
16591
|
};
|
|
16575
16592
|
for (let { stack: e, ...n } of t) a(n);
|
|
16576
16593
|
for (let e of r) a(e);
|
|
@@ -16579,15 +16596,15 @@ function Zw(e, t) {
|
|
|
16579
16596
|
}
|
|
16580
16597
|
//#endregion
|
|
16581
16598
|
//#region src/assets/icons/board.svg?component
|
|
16582
|
-
var
|
|
16599
|
+
var tT = {
|
|
16583
16600
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16584
16601
|
width: "55",
|
|
16585
16602
|
height: "55",
|
|
16586
16603
|
fill: "none",
|
|
16587
16604
|
viewBox: "0 0 54.64 54.64"
|
|
16588
16605
|
};
|
|
16589
|
-
function
|
|
16590
|
-
return y(), e("svg",
|
|
16606
|
+
function nT(t, n) {
|
|
16607
|
+
return y(), e("svg", tT, [...n[0] ||= [r("path", {
|
|
16591
16608
|
stroke: "currentColor",
|
|
16592
16609
|
"stroke-linejoin": "round",
|
|
16593
16610
|
"stroke-width": "2",
|
|
@@ -16599,15 +16616,15 @@ function $w(t, n) {
|
|
|
16599
16616
|
d: "M20.984 10.07c1.403.219 2.302 1.43 2.356 2.85.095 2.522.22 7.192.22 14.4s-.125 11.878-.22 14.4c-.054 1.42-.953 2.631-2.356 2.85-1.042.161-2.467.297-4.317.297s-3.276-.136-4.317-.298c-1.404-.218-2.303-1.429-2.356-2.848-.096-2.523-.22-7.193-.22-14.401s.124-11.878.22-14.4c.053-1.42.952-2.631 2.356-2.85 1.041-.161 2.466-.297 4.317-.297s3.275.136 4.317.298ZM34.03 9.903c-1.582.116-2.734 1.369-2.813 2.953-.072 1.45-.137 3.529-.137 6.317s.065 4.868.137 6.318c.08 1.584 1.23 2.836 2.813 2.952 1 .073 2.305.13 3.943.13 1.639 0 2.943-.057 3.944-.13 1.582-.116 2.734-1.368 2.813-2.952.072-1.45.137-3.529.137-6.318s-.065-4.868-.137-6.317c-.08-1.584-1.231-2.837-2.813-2.953-1-.073-2.305-.13-3.944-.13s-2.943.057-3.943.13Z"
|
|
16600
16617
|
}, null, -1)]]);
|
|
16601
16618
|
}
|
|
16602
|
-
var
|
|
16619
|
+
var rT = { render: nT }, iT = {
|
|
16603
16620
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16604
16621
|
width: "16",
|
|
16605
16622
|
height: "16",
|
|
16606
16623
|
fill: "none",
|
|
16607
16624
|
viewBox: "0 0 16 16"
|
|
16608
16625
|
};
|
|
16609
|
-
function
|
|
16610
|
-
return y(), e("svg",
|
|
16626
|
+
function aT(t, n) {
|
|
16627
|
+
return y(), e("svg", iT, [...n[0] ||= [r("path", {
|
|
16611
16628
|
stroke: "currentColor",
|
|
16612
16629
|
"stroke-linecap": "round",
|
|
16613
16630
|
"stroke-linejoin": "round",
|
|
@@ -16615,15 +16632,15 @@ function nT(t, n) {
|
|
|
16615
16632
|
d: "m12.33 13.67-4.33-3-4.33 3v-10c0-.74.6-1.34 1.33-1.34h6c.74 0 1.33.6 1.33 1.34z"
|
|
16616
16633
|
}, null, -1)]]);
|
|
16617
16634
|
}
|
|
16618
|
-
var
|
|
16635
|
+
var oT = { render: aT }, sT = {
|
|
16619
16636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16620
16637
|
width: "16",
|
|
16621
16638
|
height: "16",
|
|
16622
16639
|
fill: "none",
|
|
16623
16640
|
viewBox: "0 0 16 16"
|
|
16624
16641
|
};
|
|
16625
|
-
function
|
|
16626
|
-
return y(), e("svg",
|
|
16642
|
+
function cT(t, n) {
|
|
16643
|
+
return y(), e("svg", sT, [...n[0] ||= [r("path", {
|
|
16627
16644
|
stroke: "currentColor",
|
|
16628
16645
|
"stroke-linecap": "round",
|
|
16629
16646
|
"stroke-linejoin": "round",
|
|
@@ -16631,15 +16648,15 @@ function aT(t, n) {
|
|
|
16631
16648
|
d: "M6.5 3c-1 0-1 1-1 2 0 1.5-1 2-1 3s1 1.5 1 3c0 1 0 2 1 2M9.5 3c1 0 1 1 1 2 0 1.5 1 2 1 3s-1 1.5-1 3c0 1 0 2-1 2"
|
|
16632
16649
|
}, null, -1)]]);
|
|
16633
16650
|
}
|
|
16634
|
-
var
|
|
16651
|
+
var lT = { render: cT }, uT = {
|
|
16635
16652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16636
16653
|
width: "40",
|
|
16637
16654
|
height: "40",
|
|
16638
16655
|
fill: "none",
|
|
16639
16656
|
viewBox: "0 0 40 40"
|
|
16640
16657
|
};
|
|
16641
|
-
function
|
|
16642
|
-
return y(), e("svg",
|
|
16658
|
+
function dT(t, n) {
|
|
16659
|
+
return y(), e("svg", uT, [...n[0] ||= [r("rect", {
|
|
16643
16660
|
width: "28",
|
|
16644
16661
|
height: "14",
|
|
16645
16662
|
x: "6",
|
|
@@ -16655,15 +16672,15 @@ function cT(t, n) {
|
|
|
16655
16672
|
d: "M14 20h12"
|
|
16656
16673
|
}, null, -1)]]);
|
|
16657
16674
|
}
|
|
16658
|
-
var
|
|
16675
|
+
var fT = { render: dT }, pT = {
|
|
16659
16676
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16660
16677
|
width: "16",
|
|
16661
16678
|
height: "16",
|
|
16662
16679
|
fill: "none",
|
|
16663
16680
|
viewBox: "0 0 16 16"
|
|
16664
16681
|
};
|
|
16665
|
-
function
|
|
16666
|
-
return y(), e("svg",
|
|
16682
|
+
function mT(t, n) {
|
|
16683
|
+
return y(), e("svg", pT, [...n[0] ||= [r("path", {
|
|
16667
16684
|
stroke: "currentColor",
|
|
16668
16685
|
"stroke-linecap": "round",
|
|
16669
16686
|
"stroke-linejoin": "round",
|
|
@@ -16671,30 +16688,30 @@ function dT(t, n) {
|
|
|
16671
16688
|
d: "m4 6 4 4 4-4"
|
|
16672
16689
|
}, null, -1)]]);
|
|
16673
16690
|
}
|
|
16674
|
-
var
|
|
16691
|
+
var hT = { render: mT }, gT = {
|
|
16675
16692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16676
16693
|
width: "16",
|
|
16677
16694
|
height: "16",
|
|
16678
16695
|
fill: "none",
|
|
16679
16696
|
viewBox: "0 0 16 16"
|
|
16680
16697
|
};
|
|
16681
|
-
function
|
|
16682
|
-
return y(), e("svg",
|
|
16698
|
+
function _T(t, n) {
|
|
16699
|
+
return y(), e("svg", gT, [...n[0] ||= [r("path", {
|
|
16683
16700
|
stroke: "currentColor",
|
|
16684
16701
|
"stroke-linecap": "round",
|
|
16685
16702
|
"stroke-width": "1.2",
|
|
16686
16703
|
d: "m4 4 8 8M12 4l-8 8"
|
|
16687
16704
|
}, null, -1)]]);
|
|
16688
16705
|
}
|
|
16689
|
-
var
|
|
16706
|
+
var vT = { render: _T }, yT = {
|
|
16690
16707
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16691
16708
|
width: "40",
|
|
16692
16709
|
height: "40",
|
|
16693
16710
|
fill: "none",
|
|
16694
16711
|
viewBox: "0 0 40 40"
|
|
16695
16712
|
};
|
|
16696
|
-
function
|
|
16697
|
-
return y(), e("svg",
|
|
16713
|
+
function bT(t, n) {
|
|
16714
|
+
return y(), e("svg", yT, [...n[0] ||= [r("rect", {
|
|
16698
16715
|
width: "28",
|
|
16699
16716
|
height: "22",
|
|
16700
16717
|
x: "6",
|
|
@@ -16710,15 +16727,15 @@ function _T(t, n) {
|
|
|
16710
16727
|
d: "M15.33 9.6v20.8M24.67 9.6v20.8"
|
|
16711
16728
|
}, null, -1)]]);
|
|
16712
16729
|
}
|
|
16713
|
-
var
|
|
16730
|
+
var xT = { render: bT }, ST = {
|
|
16714
16731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16715
16732
|
width: "16",
|
|
16716
16733
|
height: "16",
|
|
16717
16734
|
fill: "none",
|
|
16718
16735
|
viewBox: "0 0 16 16"
|
|
16719
16736
|
};
|
|
16720
|
-
function
|
|
16721
|
-
return y(), e("svg",
|
|
16737
|
+
function CT(t, n) {
|
|
16738
|
+
return y(), e("svg", ST, [...n[0] ||= [r("rect", {
|
|
16722
16739
|
width: "7.33",
|
|
16723
16740
|
height: "7.67",
|
|
16724
16741
|
x: "6",
|
|
@@ -16735,15 +16752,15 @@ function bT(t, n) {
|
|
|
16735
16752
|
d: "M10 4.33v-.66c0-.74-.6-1.34-1.33-1.34h-5c-.74 0-1.34.6-1.34 1.34v5c0 .73.6 1.33 1.34 1.33h.66"
|
|
16736
16753
|
}, null, -1)]]);
|
|
16737
16754
|
}
|
|
16738
|
-
var
|
|
16755
|
+
var wT = { render: CT }, TT = {
|
|
16739
16756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16740
16757
|
width: "16",
|
|
16741
16758
|
height: "16",
|
|
16742
16759
|
fill: "none",
|
|
16743
16760
|
viewBox: "0 0 16 16"
|
|
16744
16761
|
};
|
|
16745
|
-
function
|
|
16746
|
-
return y(), e("svg",
|
|
16762
|
+
function ET(t, n) {
|
|
16763
|
+
return y(), e("svg", TT, [...n[0] ||= [r("rect", {
|
|
16747
16764
|
width: "13",
|
|
16748
16765
|
height: "8.5",
|
|
16749
16766
|
x: "1.5",
|
|
@@ -16759,15 +16776,15 @@ function CT(t, n) {
|
|
|
16759
16776
|
d: "M6 14.5h4M8 11v3.5"
|
|
16760
16777
|
}, null, -1)]]);
|
|
16761
16778
|
}
|
|
16762
|
-
var
|
|
16779
|
+
var DT = { render: ET }, OT = {
|
|
16763
16780
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16764
16781
|
width: "40",
|
|
16765
16782
|
height: "40",
|
|
16766
16783
|
fill: "none",
|
|
16767
16784
|
viewBox: "0 0 20 20"
|
|
16768
16785
|
};
|
|
16769
|
-
function
|
|
16770
|
-
return y(), e("svg",
|
|
16786
|
+
function kT(t, n) {
|
|
16787
|
+
return y(), e("svg", OT, [...n[0] ||= [r("g", {
|
|
16771
16788
|
stroke: "currentColor",
|
|
16772
16789
|
"stroke-linecap": "round",
|
|
16773
16790
|
"stroke-linejoin": "round",
|
|
@@ -16777,15 +16794,15 @@ function ET(t, n) {
|
|
|
16777
16794
|
d: "M11.046 5.442a76 76 0 0 1-.065 2.172c-.016.353-.234.651-.586.68a4.5 4.5 0 0 1-.721 0c-.387-.03-.64-.358-.657-.746a77 77 0 0 1-.062-2.107l-.301.265c-.294.257-.72.369-1.011.11a1 1 0 0 1-.118-.122 2 2 0 0 1-.14-.186c-.217-.326-.159-.75.094-1.05a8.5 8.5 0 0 1 1.65-1.487c.532-.37 1.231-.405 1.76-.033.513.359 1.093.865 1.635 1.52.25.3.309.724.091 1.05q-.064.096-.14.186a1 1 0 0 1-.118.121c-.291.26-.717.148-1.01-.11zM8.954 14.587a76 76 0 0 1 .065-2.173c.016-.352.234-.651.586-.68a4.5 4.5 0 0 1 .721 0c.387.03.64.358.657.746.021.48.047 1.207.062 2.107l.301-.264c.294-.258.72-.37 1.011-.11q.062.055.118.12.075.091.14.188c.217.325.159.75-.094 1.048a8.5 8.5 0 0 1-1.65 1.488c-.532.37-1.231.405-1.76.034a8.5 8.5 0 0 1-1.635-1.52c-.25-.301-.308-.725-.091-1.05a2 2 0 0 1 .14-.187q.056-.067.118-.121c.291-.26.717-.148 1.01.11zM3.342 10h13.316"
|
|
16778
16795
|
})], -1)]]);
|
|
16779
16796
|
}
|
|
16780
|
-
var
|
|
16797
|
+
var AT = { render: kT }, jT = {
|
|
16781
16798
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16782
16799
|
width: "16",
|
|
16783
16800
|
height: "16",
|
|
16784
16801
|
fill: "none",
|
|
16785
16802
|
viewBox: "0 0 16 16"
|
|
16786
16803
|
};
|
|
16787
|
-
function
|
|
16788
|
-
return y(), e("svg",
|
|
16804
|
+
function MT(t, n) {
|
|
16805
|
+
return y(), e("svg", jT, [...n[0] ||= [r("path", {
|
|
16789
16806
|
stroke: "currentColor",
|
|
16790
16807
|
"stroke-width": "1.2",
|
|
16791
16808
|
d: "M1.148 8.293a1.05 1.05 0 0 1 0-.581C1.983 4.806 4.735 2.673 8 2.673c3.264 0 6.014 2.13 6.851 5.034.055.19.055.391 0 .581-.835 2.906-3.587 5.039-6.852 5.039-3.264 0-6.014-2.13-6.851-5.034Z"
|
|
@@ -16797,15 +16814,15 @@ function kT(t, n) {
|
|
|
16797
16814
|
d: "M11.133 8a3.133 3.133 0 1 1-6.266 0 3.133 3.133 0 0 1 6.266 0"
|
|
16798
16815
|
}, null, -1)]]);
|
|
16799
16816
|
}
|
|
16800
|
-
var
|
|
16817
|
+
var NT = { render: MT }, PT = {
|
|
16801
16818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16802
16819
|
width: "40",
|
|
16803
16820
|
height: "40",
|
|
16804
16821
|
fill: "none",
|
|
16805
16822
|
viewBox: "0 0 40 40"
|
|
16806
16823
|
};
|
|
16807
|
-
function
|
|
16808
|
-
return y(), e("svg",
|
|
16824
|
+
function FT(t, n) {
|
|
16825
|
+
return y(), e("svg", PT, [...n[0] ||= [r("path", {
|
|
16809
16826
|
stroke: "currentColor",
|
|
16810
16827
|
"stroke-linecap": "round",
|
|
16811
16828
|
"stroke-linejoin": "round",
|
|
@@ -16813,15 +16830,15 @@ function MT(t, n) {
|
|
|
16813
16830
|
d: "M10 8v24M24 8v24M10 20h14M30 26l3-2v8"
|
|
16814
16831
|
}, null, -1)]]);
|
|
16815
16832
|
}
|
|
16816
|
-
var
|
|
16833
|
+
var IT = { render: FT }, LT = {
|
|
16817
16834
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16818
16835
|
width: "40",
|
|
16819
16836
|
height: "40",
|
|
16820
16837
|
fill: "none",
|
|
16821
16838
|
viewBox: "0 0 40 40"
|
|
16822
16839
|
};
|
|
16823
|
-
function
|
|
16824
|
-
return y(), e("svg",
|
|
16840
|
+
function RT(t, n) {
|
|
16841
|
+
return y(), e("svg", LT, [...n[0] ||= [r("rect", {
|
|
16825
16842
|
width: "28",
|
|
16826
16843
|
height: "22",
|
|
16827
16844
|
x: "6",
|
|
@@ -16838,15 +16855,15 @@ function FT(t, n) {
|
|
|
16838
16855
|
d: "m17 16-4 4 4 4M23 16l4 4-4 4"
|
|
16839
16856
|
}, null, -1)]]);
|
|
16840
16857
|
}
|
|
16841
|
-
var
|
|
16858
|
+
var zT = { render: RT }, BT = {
|
|
16842
16859
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16843
16860
|
width: "40",
|
|
16844
16861
|
height: "40",
|
|
16845
16862
|
fill: "none",
|
|
16846
16863
|
viewBox: "0 0 40 40"
|
|
16847
16864
|
};
|
|
16848
|
-
function
|
|
16849
|
-
return y(), e("svg",
|
|
16865
|
+
function VT(t, n) {
|
|
16866
|
+
return y(), e("svg", BT, [...n[0] ||= [
|
|
16850
16867
|
r("rect", {
|
|
16851
16868
|
width: "28",
|
|
16852
16869
|
height: "22",
|
|
@@ -16880,30 +16897,30 @@ function RT(t, n) {
|
|
|
16880
16897
|
}, null, -1)
|
|
16881
16898
|
]]);
|
|
16882
16899
|
}
|
|
16883
|
-
var
|
|
16900
|
+
var HT = { render: VT }, UT = {
|
|
16884
16901
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16885
16902
|
width: "16",
|
|
16886
16903
|
height: "16",
|
|
16887
16904
|
fill: "none",
|
|
16888
16905
|
viewBox: "0 0 16 16"
|
|
16889
16906
|
};
|
|
16890
|
-
function
|
|
16891
|
-
return y(), e("svg",
|
|
16907
|
+
function WT(t, n) {
|
|
16908
|
+
return y(), e("svg", UT, [...n[0] ||= [r("path", {
|
|
16892
16909
|
fill: "currentColor",
|
|
16893
16910
|
"fill-rule": "evenodd",
|
|
16894
16911
|
d: "M8 15.833A7.833 7.833 0 1 1 8 .167a7.833 7.833 0 0 1 0 15.666M6.333 4.5A1.333 1.333 0 1 1 9 4.5a1.333 1.333 0 0 1-2.667 0M8.96 7.038c-.023-.38-.266-.674-.645-.696A6 6 0 0 0 8 6.333H6.833q-.291 0-.493.013c-.396.022-.66.313-.67.71a11 11 0 0 0 0 .555c.01.396.274.688.67.71A9 9 0 0 0 7 8.332L7 8.667v2.01c-.423.008-.74.022-.97.036-.365.022-.658.247-.685.61a5 5 0 0 0 0 .686c.027.365.32.59.684.611.387.024 1.008.047 1.971.047s1.584-.023 1.97-.046c.365-.023.658-.247.685-.612a5 5 0 0 0 0-.685c-.027-.364-.32-.589-.684-.611A24 24 0 0 0 9 10.676v-2.01c0-.767-.019-1.286-.04-1.628",
|
|
16895
16912
|
"clip-rule": "evenodd"
|
|
16896
16913
|
}, null, -1)]]);
|
|
16897
16914
|
}
|
|
16898
|
-
var
|
|
16915
|
+
var GT = { render: WT }, KT = {
|
|
16899
16916
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16900
16917
|
width: "16",
|
|
16901
16918
|
height: "16",
|
|
16902
16919
|
fill: "none",
|
|
16903
16920
|
viewBox: "0 0 16 16"
|
|
16904
16921
|
};
|
|
16905
|
-
function
|
|
16906
|
-
return y(), e("svg",
|
|
16922
|
+
function qT(t, n) {
|
|
16923
|
+
return y(), e("svg", KT, [...n[0] ||= [r("path", {
|
|
16907
16924
|
stroke: "currentColor",
|
|
16908
16925
|
"stroke-linecap": "round",
|
|
16909
16926
|
"stroke-width": "1.2",
|
|
@@ -16916,15 +16933,15 @@ function WT(t, n) {
|
|
|
16916
16933
|
d: "m7 4.5 1-1c1.1-1.1 2.9-1.1 4 0s1.1 2.9 0 4l-1 1M9 11.5l-1 1c-1.1 1.1-2.9 1.1-4 0s-1.1-2.9 0-4l1-1"
|
|
16917
16934
|
}, null, -1)]]);
|
|
16918
16935
|
}
|
|
16919
|
-
var
|
|
16936
|
+
var JT = { render: qT }, YT = {
|
|
16920
16937
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16921
16938
|
width: "16",
|
|
16922
16939
|
height: "16",
|
|
16923
16940
|
fill: "none",
|
|
16924
16941
|
viewBox: "0 0 16 16"
|
|
16925
16942
|
};
|
|
16926
|
-
function
|
|
16927
|
-
return y(), e("svg",
|
|
16943
|
+
function XT(t, n) {
|
|
16944
|
+
return y(), e("svg", YT, [...n[0] ||= [
|
|
16928
16945
|
r("rect", {
|
|
16929
16946
|
width: "9.33",
|
|
16930
16947
|
height: "7",
|
|
@@ -16950,15 +16967,15 @@ function qT(t, n) {
|
|
|
16950
16967
|
}, null, -1)
|
|
16951
16968
|
]]);
|
|
16952
16969
|
}
|
|
16953
|
-
var
|
|
16970
|
+
var ZT = { render: XT }, QT = {
|
|
16954
16971
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16955
16972
|
width: "16",
|
|
16956
16973
|
height: "16",
|
|
16957
16974
|
fill: "none",
|
|
16958
16975
|
viewBox: "0 0 16 16"
|
|
16959
16976
|
};
|
|
16960
|
-
function
|
|
16961
|
-
return y(), e("svg",
|
|
16977
|
+
function $T(t, n) {
|
|
16978
|
+
return y(), e("svg", QT, [...n[0] ||= [r("rect", {
|
|
16962
16979
|
width: "7",
|
|
16963
16980
|
height: "13",
|
|
16964
16981
|
x: "4.5",
|
|
@@ -16974,15 +16991,15 @@ function XT(t, n) {
|
|
|
16974
16991
|
d: "M6.5 12.5h3"
|
|
16975
16992
|
}, null, -1)]]);
|
|
16976
16993
|
}
|
|
16977
|
-
var
|
|
16994
|
+
var eE = { render: $T }, tE = {
|
|
16978
16995
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16979
16996
|
width: "40",
|
|
16980
16997
|
height: "40",
|
|
16981
16998
|
fill: "none",
|
|
16982
16999
|
viewBox: "0 0 40 40"
|
|
16983
17000
|
};
|
|
16984
|
-
function
|
|
16985
|
-
return y(), e("svg",
|
|
17001
|
+
function nE(t, n) {
|
|
17002
|
+
return y(), e("svg", tE, [...n[0] ||= [r("path", {
|
|
16986
17003
|
stroke: "currentColor",
|
|
16987
17004
|
"stroke-linecap": "round",
|
|
16988
17005
|
"stroke-linejoin": "round",
|
|
@@ -16990,15 +17007,15 @@ function $T(t, n) {
|
|
|
16990
17007
|
d: "M35 10H5M35 20H5M20 30H5"
|
|
16991
17008
|
}, null, -1)]]);
|
|
16992
17009
|
}
|
|
16993
|
-
var
|
|
17010
|
+
var rE = { render: nE }, iE = {
|
|
16994
17011
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16995
17012
|
width: "18",
|
|
16996
17013
|
height: "18",
|
|
16997
17014
|
fill: "none",
|
|
16998
17015
|
viewBox: "0 0 18.092 18.419"
|
|
16999
17016
|
};
|
|
17000
|
-
function
|
|
17001
|
-
return y(), e("svg",
|
|
17017
|
+
function aE(t, n) {
|
|
17018
|
+
return y(), e("svg", iE, [...n[0] ||= [
|
|
17002
17019
|
r("path", {
|
|
17003
17020
|
stroke: "currentColor",
|
|
17004
17021
|
"stroke-linejoin": "round",
|
|
@@ -17020,15 +17037,15 @@ function nE(t, n) {
|
|
|
17020
17037
|
}, null, -1)
|
|
17021
17038
|
]]);
|
|
17022
17039
|
}
|
|
17023
|
-
var
|
|
17040
|
+
var oE = { render: aE }, sE = {
|
|
17024
17041
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17025
17042
|
width: "40",
|
|
17026
17043
|
height: "40",
|
|
17027
17044
|
fill: "none",
|
|
17028
17045
|
viewBox: "0 0 40 40"
|
|
17029
17046
|
};
|
|
17030
|
-
function
|
|
17031
|
-
return y(), e("svg",
|
|
17047
|
+
function cE(t, n) {
|
|
17048
|
+
return y(), e("svg", sE, [...n[0] ||= [r("path", {
|
|
17032
17049
|
stroke: "currentColor",
|
|
17033
17050
|
"stroke-linecap": "round",
|
|
17034
17051
|
"stroke-width": "1.2",
|
|
@@ -17041,15 +17058,15 @@ function aE(t, n) {
|
|
|
17041
17058
|
d: "M16.5 17.5 20 14l3.5 3.5M16.5 22.5 20 26l3.5-3.5"
|
|
17042
17059
|
}, null, -1)]]);
|
|
17043
17060
|
}
|
|
17044
|
-
var
|
|
17061
|
+
var lE = { render: cE }, uE = {
|
|
17045
17062
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17046
17063
|
width: "16",
|
|
17047
17064
|
height: "16",
|
|
17048
17065
|
fill: "none",
|
|
17049
17066
|
viewBox: "0 0 16 16"
|
|
17050
17067
|
};
|
|
17051
|
-
function
|
|
17052
|
-
return y(), e("svg",
|
|
17068
|
+
function dE(t, n) {
|
|
17069
|
+
return y(), e("svg", uE, [...n[0] ||= [r("path", {
|
|
17053
17070
|
stroke: "currentColor",
|
|
17054
17071
|
"stroke-linecap": "round",
|
|
17055
17072
|
"stroke-linejoin": "round",
|
|
@@ -17057,15 +17074,15 @@ function cE(t, n) {
|
|
|
17057
17074
|
d: "m6.5 2.5 1.1 2.9 2.9 1.1-2.9 1.1-1.1 2.9-1.1-2.9-2.9-1.1 2.9-1.1zM11.5 9l.6 1.9 1.9.6-1.9.6-.6 1.9-.6-1.9-1.9-.6 1.9-.6z"
|
|
17058
17075
|
}, null, -1)]]);
|
|
17059
17076
|
}
|
|
17060
|
-
var
|
|
17077
|
+
var fE = { render: dE }, pE = {
|
|
17061
17078
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17062
17079
|
width: "16",
|
|
17063
17080
|
height: "16",
|
|
17064
17081
|
fill: "none",
|
|
17065
17082
|
viewBox: "0 0 16 16"
|
|
17066
17083
|
};
|
|
17067
|
-
function
|
|
17068
|
-
return y(), e("svg",
|
|
17084
|
+
function mE(t, n) {
|
|
17085
|
+
return y(), e("svg", pE, [...n[0] ||= [
|
|
17069
17086
|
r("path", {
|
|
17070
17087
|
stroke: "currentColor",
|
|
17071
17088
|
"stroke-linecap": "round",
|
|
@@ -17093,15 +17110,15 @@ function dE(t, n) {
|
|
|
17093
17110
|
}, null, -1)
|
|
17094
17111
|
]]);
|
|
17095
17112
|
}
|
|
17096
|
-
var
|
|
17113
|
+
var hE = { render: mE }, gE = {
|
|
17097
17114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17098
17115
|
width: "20",
|
|
17099
17116
|
height: "20",
|
|
17100
17117
|
fill: "none",
|
|
17101
17118
|
viewBox: "0 0 20 20"
|
|
17102
17119
|
};
|
|
17103
|
-
function
|
|
17104
|
-
return y(), e("svg",
|
|
17120
|
+
function _E(t, n) {
|
|
17121
|
+
return y(), e("svg", gE, [...n[0] ||= [
|
|
17105
17122
|
r("path", {
|
|
17106
17123
|
stroke: "currentColor",
|
|
17107
17124
|
"stroke-linejoin": "round",
|
|
@@ -17122,7 +17139,7 @@ function mE(t, n) {
|
|
|
17122
17139
|
}, null, -1)
|
|
17123
17140
|
]]);
|
|
17124
17141
|
}
|
|
17125
|
-
var
|
|
17142
|
+
var vE = { render: _E }, yE = /* @__PURE__ */ p({
|
|
17126
17143
|
__name: "AppIcon",
|
|
17127
17144
|
props: {
|
|
17128
17145
|
name: { type: String },
|
|
@@ -17133,30 +17150,30 @@ var hE = { render: mE }, gE = /* @__PURE__ */ p({
|
|
|
17133
17150
|
},
|
|
17134
17151
|
setup(e) {
|
|
17135
17152
|
let t = e, n = {
|
|
17136
|
-
pencil:
|
|
17137
|
-
eye:
|
|
17138
|
-
info:
|
|
17139
|
-
board:
|
|
17140
|
-
braces:
|
|
17141
|
-
button:
|
|
17142
|
-
trash:
|
|
17143
|
-
warning:
|
|
17144
|
-
close:
|
|
17145
|
-
copy:
|
|
17146
|
-
link:
|
|
17147
|
-
columns:
|
|
17148
|
-
paragraph:
|
|
17149
|
-
image:
|
|
17150
|
-
mobile:
|
|
17151
|
-
desktop:
|
|
17152
|
-
spacer:
|
|
17153
|
-
sparkles:
|
|
17154
|
-
divider:
|
|
17155
|
-
html:
|
|
17156
|
-
"chevron-down":
|
|
17157
|
-
bookmark:
|
|
17158
|
-
heading:
|
|
17159
|
-
lock:
|
|
17153
|
+
pencil: oE,
|
|
17154
|
+
eye: NT,
|
|
17155
|
+
info: GT,
|
|
17156
|
+
board: rT,
|
|
17157
|
+
braces: lT,
|
|
17158
|
+
button: fT,
|
|
17159
|
+
trash: hE,
|
|
17160
|
+
warning: vE,
|
|
17161
|
+
close: vT,
|
|
17162
|
+
copy: wT,
|
|
17163
|
+
link: JT,
|
|
17164
|
+
columns: xT,
|
|
17165
|
+
paragraph: rE,
|
|
17166
|
+
image: HT,
|
|
17167
|
+
mobile: eE,
|
|
17168
|
+
desktop: DT,
|
|
17169
|
+
spacer: lE,
|
|
17170
|
+
sparkles: fE,
|
|
17171
|
+
divider: AT,
|
|
17172
|
+
html: zT,
|
|
17173
|
+
"chevron-down": hT,
|
|
17174
|
+
bookmark: oT,
|
|
17175
|
+
heading: IT,
|
|
17176
|
+
lock: ZT
|
|
17160
17177
|
}, r = i(() => n[t.name]), a = i(() => typeof t.size == "number" ? `${t.size}px` : t.size);
|
|
17161
17178
|
return (e, t) => (y(), f(c(r.value), {
|
|
17162
17179
|
class: "app-icon",
|
|
@@ -17169,8 +17186,8 @@ var hE = { render: mE }, gE = /* @__PURE__ */ p({
|
|
|
17169
17186
|
"aria-hidden": "true"
|
|
17170
17187
|
}, null, 8, ["style"]));
|
|
17171
17188
|
}
|
|
17172
|
-
}),
|
|
17173
|
-
function
|
|
17189
|
+
}), bE = Symbol("errorDialog");
|
|
17190
|
+
function xE() {
|
|
17174
17191
|
let e = fe(null), t = {
|
|
17175
17192
|
message: i(() => e.value),
|
|
17176
17193
|
show: (t) => {
|
|
@@ -17180,26 +17197,26 @@ function vE() {
|
|
|
17180
17197
|
e.value = null;
|
|
17181
17198
|
}
|
|
17182
17199
|
};
|
|
17183
|
-
return o(
|
|
17200
|
+
return o(bE, t), t;
|
|
17184
17201
|
}
|
|
17185
|
-
function
|
|
17186
|
-
return u(
|
|
17202
|
+
function SE() {
|
|
17203
|
+
return u(bE);
|
|
17187
17204
|
}
|
|
17188
17205
|
//#endregion
|
|
17189
17206
|
//#region src/i18n/useAppI18n.ts
|
|
17190
|
-
function
|
|
17207
|
+
function CE() {
|
|
17191
17208
|
return Hr({ useScope: "global" });
|
|
17192
17209
|
}
|
|
17193
17210
|
//#endregion
|
|
17194
17211
|
//#region src/providerKeys.ts
|
|
17195
|
-
var
|
|
17212
|
+
var wE = Symbol("editorConfig"), TE = Symbol("mergeTags"), EE = Symbol("brand"), DE = Symbol("blockStyles"), OE = Symbol("permission"), kE = Symbol("savedBlocks"), AE = Symbol("blockPlugins"), jE = Symbol("imageSearch");
|
|
17196
17213
|
//#endregion
|
|
17197
17214
|
//#region src/popoverPlacement.ts
|
|
17198
|
-
function
|
|
17215
|
+
function ME(e, t, n) {
|
|
17199
17216
|
return Math.max(n.top + t, Math.min(e, n.bottom));
|
|
17200
17217
|
}
|
|
17201
|
-
var
|
|
17202
|
-
function
|
|
17218
|
+
var NE = 8;
|
|
17219
|
+
function PE(e, t, n = NE) {
|
|
17203
17220
|
let r = t - e.bottom - n, i = e.top - n;
|
|
17204
17221
|
return r >= i ? {
|
|
17205
17222
|
side: "below",
|
|
@@ -17213,13 +17230,13 @@ function jE(e, t, n = AE) {
|
|
|
17213
17230
|
}
|
|
17214
17231
|
//#endregion
|
|
17215
17232
|
//#region src/components/CheckboxOption.vue?vue&type=script&setup=true&lang.ts
|
|
17216
|
-
var
|
|
17233
|
+
var FE = { class: "checkbox-option" }, IE = {
|
|
17217
17234
|
"aria-hidden": "true",
|
|
17218
17235
|
class: "box"
|
|
17219
|
-
},
|
|
17236
|
+
}, LE = {
|
|
17220
17237
|
key: 0,
|
|
17221
17238
|
class: "mark"
|
|
17222
|
-
},
|
|
17239
|
+
}, RE = /*#__PURE__*/ Uw(/* @__PURE__ */ p({
|
|
17223
17240
|
__name: "CheckboxOption",
|
|
17224
17241
|
props: /*@__PURE__*/ h({ label: { type: String } }, {
|
|
17225
17242
|
modelValue: {
|
|
@@ -17231,20 +17248,20 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17231
17248
|
emits: ["update:modelValue"],
|
|
17232
17249
|
setup(t) {
|
|
17233
17250
|
let n = b(t, "modelValue");
|
|
17234
|
-
return (i, a) => (y(), e("label",
|
|
17251
|
+
return (i, a) => (y(), e("label", FE, [
|
|
17235
17252
|
de(r("input", {
|
|
17236
17253
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
17237
17254
|
class: "checkbox-input",
|
|
17238
17255
|
type: "checkbox"
|
|
17239
17256
|
}, null, 512), [[C, n.value]]),
|
|
17240
|
-
r("span",
|
|
17257
|
+
r("span", IE, [n.value ? (y(), e("span", LE)) : ie("", !0)]),
|
|
17241
17258
|
re(" " + w(t.label), 1)
|
|
17242
17259
|
]));
|
|
17243
17260
|
}
|
|
17244
|
-
}), [["styles", [".checkbox-option[data-v-8716b30b]{color:var(--bygga-color-text-muted);cursor:pointer;align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex;position:relative}.checkbox-option[data-v-8716b30b]:hover{color:var(--bygga-color-text)}.checkbox-option[data-v-8716b30b]:has(.checkbox-input:checked){color:var(--bygga-color-text)}.checkbox-option[data-v-8716b30b]:has(.checkbox-input:focus-visible){outline:2px solid var(--bygga-color-accent);outline-offset:2px}.checkbox-input[data-v-8716b30b]{cursor:pointer;opacity:0;width:100%;height:100%;margin:0;position:absolute;inset:0}.box[data-v-8716b30b]{background:var(--bygga-color-surface);border:2px solid var(--bygga-color-control-border,var(--bygga-color-border));box-sizing:border-box;pointer-events:none;border-radius:4px;flex-shrink:0;width:16px;height:16px;position:relative}.box[data-v-8716b30b]:has(.mark){border-color:var(--bygga-color-success)}.mark[data-v-8716b30b]{background:var(--bygga-color-selected,var(--bygga-color-success));forced-color-adjust:none;border-radius:1px;width:8px;height:8px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}"]], ["__scopeId", "data-v-8716b30b"]]),
|
|
17261
|
+
}), [["styles", [".checkbox-option[data-v-8716b30b]{color:var(--bygga-color-text-muted);cursor:pointer;align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex;position:relative}.checkbox-option[data-v-8716b30b]:hover{color:var(--bygga-color-text)}.checkbox-option[data-v-8716b30b]:has(.checkbox-input:checked){color:var(--bygga-color-text)}.checkbox-option[data-v-8716b30b]:has(.checkbox-input:focus-visible){outline:2px solid var(--bygga-color-accent);outline-offset:2px}.checkbox-input[data-v-8716b30b]{cursor:pointer;opacity:0;width:100%;height:100%;margin:0;position:absolute;inset:0}.box[data-v-8716b30b]{background:var(--bygga-color-surface);border:2px solid var(--bygga-color-control-border,var(--bygga-color-border));box-sizing:border-box;pointer-events:none;border-radius:4px;flex-shrink:0;width:16px;height:16px;position:relative}.box[data-v-8716b30b]:has(.mark){border-color:var(--bygga-color-success)}.mark[data-v-8716b30b]{background:var(--bygga-color-selected,var(--bygga-color-success));forced-color-adjust:none;border-radius:1px;width:8px;height:8px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}"]], ["__scopeId", "data-v-8716b30b"]]), zE = ["for"], BE = { class: "field-shell" }, VE = {
|
|
17245
17262
|
key: 0,
|
|
17246
17263
|
class: "field-trailing"
|
|
17247
|
-
},
|
|
17264
|
+
}, HE = /*#__PURE__*/ Uw(/* @__PURE__ */ p({
|
|
17248
17265
|
__name: "FieldShell",
|
|
17249
17266
|
props: {
|
|
17250
17267
|
disabled: {
|
|
@@ -17265,9 +17282,9 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17265
17282
|
key: 0,
|
|
17266
17283
|
class: "field-label",
|
|
17267
17284
|
for: t.labelFor
|
|
17268
|
-
}, w(t.label), 9,
|
|
17285
|
+
}, w(t.label), 9, zE)) : ie("", !0), r("div", BE, [ce(n.$slots, "default", {}, void 0, !0), n.$slots.trailing ? (y(), e("div", VE, [ce(n.$slots, "trailing", {}, void 0, !0)])) : ie("", !0)])], 2));
|
|
17269
17286
|
}
|
|
17270
|
-
}), [["styles", [".field-wrap[data-v-01af217c]{width:100%;position:relative}.field-shell[data-v-01af217c]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-control-border,var(--bygga-color-border));border-radius:var(--bygga-radius-sm);box-sizing:border-box;color:var(--bygga-color-text);align-items:center;gap:8px;width:100%;min-width:0;min-height:40px;padding:0 12px;font-size:16px;line-height:20px;display:flex}.field-label[data-v-01af217c]{background:var(--bygga-color-surface);color:var(--bygga-color-text-muted);pointer-events:none;z-index:1;padding:0 4px;font-size:12px;line-height:1;transition:color .15s;position:absolute;top:0;left:12px;transform:translateY(-50%)}.field-wrap:has(:is(input,textarea,select):focus-visible) .field-label[data-v-01af217c]{color:var(--bygga-color-accent)}.field-wrap.is-disabled .field-label[data-v-01af217c]{opacity:.55}.field-shell[data-v-01af217c]:has(:is(input,textarea,select):focus-visible){outline:2px solid var(--bygga-color-ring,var(--bygga-color-accent));outline-offset:2px}.field-shell[data-v-01af217c]:has(:is(input,textarea)[aria-invalid=true]){border-color:var(--bygga-color-danger,var(--bygga-color-control-border,var(--bygga-color-border)))}.field-wrap.is-disabled .field-shell[data-v-01af217c]{cursor:not-allowed;opacity:.55}.field-trailing[data-v-01af217c]{color:var(--bygga-color-text-muted);flex-shrink:0;align-items:center;gap:8px;display:flex}@media (prefers-reduced-motion:reduce){.field-label[data-v-01af217c]{transition:none}}"]], ["__scopeId", "data-v-01af217c"]]),
|
|
17287
|
+
}), [["styles", [".field-wrap[data-v-01af217c]{width:100%;position:relative}.field-shell[data-v-01af217c]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-control-border,var(--bygga-color-border));border-radius:var(--bygga-radius-sm);box-sizing:border-box;color:var(--bygga-color-text);align-items:center;gap:8px;width:100%;min-width:0;min-height:40px;padding:0 12px;font-size:16px;line-height:20px;display:flex}.field-label[data-v-01af217c]{background:var(--bygga-color-surface);color:var(--bygga-color-text-muted);pointer-events:none;z-index:1;padding:0 4px;font-size:12px;line-height:1;transition:color .15s;position:absolute;top:0;left:12px;transform:translateY(-50%)}.field-wrap:has(:is(input,textarea,select):focus-visible) .field-label[data-v-01af217c]{color:var(--bygga-color-accent)}.field-wrap.is-disabled .field-label[data-v-01af217c]{opacity:.55}.field-shell[data-v-01af217c]:has(:is(input,textarea,select):focus-visible){outline:2px solid var(--bygga-color-ring,var(--bygga-color-accent));outline-offset:2px}.field-shell[data-v-01af217c]:has(:is(input,textarea)[aria-invalid=true]){border-color:var(--bygga-color-danger,var(--bygga-color-control-border,var(--bygga-color-border)))}.field-wrap.is-disabled .field-shell[data-v-01af217c]{cursor:not-allowed;opacity:.55}.field-trailing[data-v-01af217c]{color:var(--bygga-color-text-muted);flex-shrink:0;align-items:center;gap:8px;display:flex}@media (prefers-reduced-motion:reduce){.field-label[data-v-01af217c]{transition:none}}"]], ["__scopeId", "data-v-01af217c"]]), UE = ["id", "disabled"], WE = /*#__PURE__*/ Uw(/* @__PURE__ */ p({
|
|
17271
17288
|
inheritAttrs: !1,
|
|
17272
17289
|
__name: "TextInput",
|
|
17273
17290
|
props: /*@__PURE__*/ h({
|
|
@@ -17289,7 +17306,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17289
17306
|
return t({
|
|
17290
17307
|
focus: () => o.value?.focus(),
|
|
17291
17308
|
select: () => o.value?.select()
|
|
17292
|
-
}), (t, s) => (y(), f(
|
|
17309
|
+
}), (t, s) => (y(), f(HE, {
|
|
17293
17310
|
disabled: e.disabled,
|
|
17294
17311
|
label: i.label,
|
|
17295
17312
|
"label-for": se(a)
|
|
@@ -17302,7 +17319,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17302
17319
|
class: "field-input",
|
|
17303
17320
|
type: "text",
|
|
17304
17321
|
disabled: e.disabled
|
|
17305
|
-
}, t.$attrs), null, 16,
|
|
17322
|
+
}, t.$attrs), null, 16, UE), [[me, n.value]])]),
|
|
17306
17323
|
_: 1
|
|
17307
17324
|
}, 8, [
|
|
17308
17325
|
"disabled",
|
|
@@ -17310,27 +17327,27 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17310
17327
|
"label-for"
|
|
17311
17328
|
]));
|
|
17312
17329
|
}
|
|
17313
|
-
}), [["styles", [".field-input[data-v-3c7d74c6]{color:inherit;font:inherit;background:0 0;border:none;outline:none;flex:1 1 0;min-width:0;padding:0}.field-input[data-v-3c7d74c6]::placeholder{color:var(--bygga-color-text-muted);opacity:1}"]], ["__scopeId", "data-v-3c7d74c6"]]),
|
|
17330
|
+
}), [["styles", [".field-input[data-v-3c7d74c6]{color:inherit;font:inherit;background:0 0;border:none;outline:none;flex:1 1 0;min-width:0;padding:0}.field-input[data-v-3c7d74c6]::placeholder{color:var(--bygga-color-text-muted);opacity:1}"]], ["__scopeId", "data-v-3c7d74c6"]]), GE = {
|
|
17314
17331
|
key: 0,
|
|
17315
17332
|
class: "picker-label"
|
|
17316
|
-
},
|
|
17333
|
+
}, KE = [
|
|
17317
17334
|
"popovertarget",
|
|
17318
17335
|
"aria-expanded",
|
|
17319
17336
|
"aria-label"
|
|
17320
|
-
],
|
|
17337
|
+
], qE = {
|
|
17321
17338
|
key: 0,
|
|
17322
17339
|
class: "value"
|
|
17323
|
-
},
|
|
17340
|
+
}, JE = ["id", "aria-label"], YE = ["id"], XE = ["aria-label", "aria-labelledby"], ZE = [
|
|
17324
17341
|
"aria-checked",
|
|
17325
17342
|
"aria-label",
|
|
17326
17343
|
"tabindex",
|
|
17327
17344
|
"onClick",
|
|
17328
17345
|
"onKeydown"
|
|
17329
|
-
],
|
|
17346
|
+
], QE = [
|
|
17330
17347
|
"aria-label",
|
|
17331
17348
|
"aria-valuenow",
|
|
17332
17349
|
"aria-valuetext"
|
|
17333
|
-
],
|
|
17350
|
+
], $E = ["aria-label", "aria-valuenow"], eD = /*#__PURE__*/ Uw(/* @__PURE__ */ p({
|
|
17334
17351
|
__name: "ColorPicker",
|
|
17335
17352
|
props: /*@__PURE__*/ h({
|
|
17336
17353
|
label: { type: String },
|
|
@@ -17352,7 +17369,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17352
17369
|
}),
|
|
17353
17370
|
emits: ["update:modelValue"],
|
|
17354
17371
|
setup(t) {
|
|
17355
|
-
let a = b(t, "modelValue"), { t: o } =
|
|
17372
|
+
let a = b(t, "modelValue"), { t: o } = CE(), s = u(EE, void 0), c = i(() => {
|
|
17356
17373
|
let e = s?.value;
|
|
17357
17374
|
return [{
|
|
17358
17375
|
key: "global",
|
|
@@ -17563,7 +17580,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17563
17580
|
if (e.newState !== "open") return;
|
|
17564
17581
|
let t = re.value, n = ae.value;
|
|
17565
17582
|
if (!(t && n)) return;
|
|
17566
|
-
let r = t.getBoundingClientRect(), i =
|
|
17583
|
+
let r = t.getBoundingClientRect(), i = PE(r, window.innerHeight);
|
|
17567
17584
|
n.style.left = `${r.left}px`, n.style.top = i.side === "below" ? `${i.offset}px` : "auto", n.style.bottom = i.side === "above" ? `${i.offset}px` : "auto", n.style.maxHeight = `${i.maxHeight}px`;
|
|
17568
17585
|
}
|
|
17569
17586
|
function Le(e) {
|
|
@@ -17588,7 +17605,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17588
17605
|
t instanceof Node && ae.value?.contains(t) || ae.value?.matches(":popover-open") && ae.value.hidePopover();
|
|
17589
17606
|
}
|
|
17590
17607
|
return v(O), (i, a) => (y(), e("div", { class: oe(["color-picker", { "has-label": t.label && !t.compact }]) }, [
|
|
17591
|
-
t.label && !t.compact ? (y(), e("span",
|
|
17608
|
+
t.label && !t.compact ? (y(), e("span", GE, w(t.label), 1)) : ie("", !0),
|
|
17592
17609
|
r("button", {
|
|
17593
17610
|
ref_key: "trigger",
|
|
17594
17611
|
ref: re,
|
|
@@ -17602,7 +17619,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17602
17619
|
}, [r("span", {
|
|
17603
17620
|
class: oe(["swatch", { checker: ue.value }]),
|
|
17604
17621
|
style: te(ue.value ? {} : { backgroundColor: de.value })
|
|
17605
|
-
}, null, 6), t.compact ? ie("", !0) : (y(), e("span",
|
|
17622
|
+
}, null, 6), t.compact ? ie("", !0) : (y(), e("span", qE, w(pe.value), 1))], 42, KE),
|
|
17606
17623
|
r("div", {
|
|
17607
17624
|
id: se(g),
|
|
17608
17625
|
ref_key: "popover",
|
|
@@ -17623,7 +17640,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17623
17640
|
key: 0,
|
|
17624
17641
|
id: `${se(g)}-${t.key}`,
|
|
17625
17642
|
class: "palette-heading"
|
|
17626
|
-
}, w(t.label), 9,
|
|
17643
|
+
}, w(t.label), 9, YE)) : ie("", !0), r("div", {
|
|
17627
17644
|
class: "palette",
|
|
17628
17645
|
role: "radiogroup",
|
|
17629
17646
|
"aria-label": p.value ? void 0 : t.label,
|
|
@@ -17641,7 +17658,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17641
17658
|
style: te({ backgroundColor: t }),
|
|
17642
17659
|
onClick: (e) => Ae(t),
|
|
17643
17660
|
onKeydown: (e) => je(e, i, n)
|
|
17644
|
-
}, null, 46,
|
|
17661
|
+
}, null, 46, ZE))), 128))], 8, XE)]))), 128)),
|
|
17645
17662
|
h.value ? ie("", !0) : (y(), e(n, { key: 0 }, [r("div", {
|
|
17646
17663
|
ref_key: "svArea",
|
|
17647
17664
|
ref: ce,
|
|
@@ -17663,7 +17680,7 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17663
17680
|
top: `${(1 - E.value) * 100}%`,
|
|
17664
17681
|
backgroundColor: _e.value
|
|
17665
17682
|
})
|
|
17666
|
-
}, null, 4)], 44,
|
|
17683
|
+
}, null, 4)], 44, QE), r("div", {
|
|
17667
17684
|
class: "hue-track",
|
|
17668
17685
|
role: "slider",
|
|
17669
17686
|
tabindex: "0",
|
|
@@ -17676,8 +17693,8 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17676
17693
|
}, [r("div", {
|
|
17677
17694
|
class: "hue-thumb",
|
|
17678
17695
|
style: te({ left: `${C.value / 360 * 100}%` })
|
|
17679
|
-
}, null, 4)], 40,
|
|
17680
|
-
h.value ? ie("", !0) : (y(), f(
|
|
17696
|
+
}, null, 4)], 40, $E)], 64)),
|
|
17697
|
+
h.value ? ie("", !0) : (y(), f(WE, {
|
|
17681
17698
|
key: 1,
|
|
17682
17699
|
modelValue: D.value,
|
|
17683
17700
|
"onUpdate:modelValue": a[0] ||= (e) => D.value = e,
|
|
@@ -17693,17 +17710,17 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17693
17710
|
"aria-label",
|
|
17694
17711
|
"aria-invalid"
|
|
17695
17712
|
])),
|
|
17696
|
-
t.allowTransparent ? (y(), f(
|
|
17713
|
+
t.allowTransparent ? (y(), f(RE, {
|
|
17697
17714
|
key: 2,
|
|
17698
17715
|
class: "transparent-toggle",
|
|
17699
17716
|
label: se(o)("colorPicker.transparent"),
|
|
17700
17717
|
"model-value": ue.value,
|
|
17701
17718
|
"onUpdate:modelValue": Fe
|
|
17702
17719
|
}, null, 8, ["label", "model-value"])) : ie("", !0)
|
|
17703
|
-
], 40,
|
|
17720
|
+
], 40, JE)
|
|
17704
17721
|
], 2));
|
|
17705
17722
|
}
|
|
17706
|
-
}), [["styles", [".color-picker[data-v-268fdbed]{flex-direction:column;gap:.5em;display:flex}.picker-label[data-v-268fdbed]{background:var(--bygga-color-surface);color:var(--bygga-color-text-muted);pointer-events:none;z-index:1;padding:0 4px;font-size:12px;line-height:1;position:absolute;top:0;left:12px;transform:translateY(-50%)}.color-picker.has-label[data-v-268fdbed]{position:relative}.color-picker.has-label:has(.trigger:focus-visible) .picker-label[data-v-268fdbed]{color:var(--bygga-color-accent)}.trigger[data-v-268fdbed]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-sm);box-sizing:border-box;cursor:pointer;align-items:center;gap:8px;min-height:40px;padding:0 12px;display:inline-flex}.trigger[data-v-268fdbed]:hover,.trigger[data-v-268fdbed]:focus-visible{border-color:var(--bygga-color-accent)}.trigger.compact[data-v-268fdbed]{border-color:#0000;border-radius:4px;justify-content:center;width:30px;height:30px;min-height:0;padding:0}.trigger.compact .swatch[data-v-268fdbed]{border-color:var(--bygga-color-border-subtle)}.trigger.compact[data-v-268fdbed]:hover,.trigger.compact[data-v-268fdbed]:focus-visible{background:color-mix(in srgb, var(--bygga-color-text) 10%, transparent);border-color:#0000}.swatch[data-v-268fdbed]{border:1px solid var(--bygga-color-border);border-radius:4px;flex-shrink:0;width:20px;height:20px}.value[data-v-268fdbed]{color:var(--bygga-color-text-muted);font-variant-numeric:tabular-nums}.checker[data-v-268fdbed]{background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,#0000 25%),linear-gradient(-45deg,#ccc 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ccc 75%),linear-gradient(-45deg,#0000 75%,#ccc 75%);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.popover[data-v-268fdbed]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-md);box-shadow:var(--bygga-shadow-card);box-sizing:border-box;flex-direction:column;gap:12px;width:224px;max-height:calc(100vh - 16px);margin:0;padding:12px;position:fixed;inset:auto;overflow-y:auto}.popover[data-v-268fdbed]:popover-open{display:flex}.sv-area[data-v-268fdbed]{border-radius:var(--bygga-radius-sm);cursor:crosshair;touch-action:none;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#fff0);width:100%;height:160px;position:relative}.sv-area[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.sv-thumb[data-v-268fdbed]{box-sizing:border-box;pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;box-shadow:0 0 0 1px #0000004d}.hue-track[data-v-268fdbed]{cursor:pointer;touch-action:none;background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);border-radius:999px;width:100%;height:12px;position:relative}.hue-track[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.hue-thumb[data-v-268fdbed]{border:1px solid var(--bygga-color-border);box-shadow:var(--bygga-shadow-raised);box-sizing:border-box;pointer-events:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-left:-8px;position:absolute;top:50%;transform:translateY(-50%)}.palette-section[data-v-268fdbed]{flex-direction:column;gap:6px;display:flex}.palette-heading[data-v-268fdbed]{color:var(--bygga-color-text-muted);font-size:12px;font-weight:500;line-height:16px}.palette[data-v-268fdbed]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr));gap:8px;display:grid}.palette-swatch[data-v-268fdbed]{aspect-ratio:1;border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-sm);cursor:pointer;width:100%;padding:0}.palette-swatch[data-v-268fdbed]:hover,.palette-swatch[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.palette-swatch[aria-checked=true][data-v-268fdbed]{box-shadow:inset 0 0 0 2px var(--bygga-color-surface), inset 0 0 0 4px var(--bygga-color-accent,currentcolor)}.palette-swatch.off-brand[data-v-268fdbed]{border-style:dashed;border-width:2px}.transparent-toggle[data-v-268fdbed]{align-self:flex-start}.swatch[data-v-268fdbed],.checker[data-v-268fdbed],.sv-area[data-v-268fdbed],.sv-thumb[data-v-268fdbed],.hue-track[data-v-268fdbed],.hue-thumb[data-v-268fdbed],.palette-swatch[data-v-268fdbed]{forced-color-adjust:none}"]], ["__scopeId", "data-v-268fdbed"]]),
|
|
17723
|
+
}), [["styles", [".color-picker[data-v-268fdbed]{flex-direction:column;gap:.5em;display:flex}.picker-label[data-v-268fdbed]{background:var(--bygga-color-surface);color:var(--bygga-color-text-muted);pointer-events:none;z-index:1;padding:0 4px;font-size:12px;line-height:1;position:absolute;top:0;left:12px;transform:translateY(-50%)}.color-picker.has-label[data-v-268fdbed]{position:relative}.color-picker.has-label:has(.trigger:focus-visible) .picker-label[data-v-268fdbed]{color:var(--bygga-color-accent)}.trigger[data-v-268fdbed]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-sm);box-sizing:border-box;cursor:pointer;align-items:center;gap:8px;min-height:40px;padding:0 12px;display:inline-flex}.trigger[data-v-268fdbed]:hover,.trigger[data-v-268fdbed]:focus-visible{border-color:var(--bygga-color-accent)}.trigger.compact[data-v-268fdbed]{border-color:#0000;border-radius:4px;justify-content:center;width:30px;height:30px;min-height:0;padding:0}.trigger.compact .swatch[data-v-268fdbed]{border-color:var(--bygga-color-border-subtle)}.trigger.compact[data-v-268fdbed]:hover,.trigger.compact[data-v-268fdbed]:focus-visible{background:color-mix(in srgb, var(--bygga-color-text) 10%, transparent);border-color:#0000}.swatch[data-v-268fdbed]{border:1px solid var(--bygga-color-border);border-radius:4px;flex-shrink:0;width:20px;height:20px}.value[data-v-268fdbed]{color:var(--bygga-color-text-muted);font-variant-numeric:tabular-nums}.checker[data-v-268fdbed]{background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,#0000 25%),linear-gradient(-45deg,#ccc 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ccc 75%),linear-gradient(-45deg,#0000 75%,#ccc 75%);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.popover[data-v-268fdbed]{background:var(--bygga-color-surface);border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-md);box-shadow:var(--bygga-shadow-card);box-sizing:border-box;flex-direction:column;gap:12px;width:224px;max-height:calc(100vh - 16px);margin:0;padding:12px;position:fixed;inset:auto;overflow-y:auto}.popover[data-v-268fdbed]:popover-open{display:flex}.sv-area[data-v-268fdbed]{border-radius:var(--bygga-radius-sm);cursor:crosshair;touch-action:none;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#fff0);width:100%;height:160px;position:relative}.sv-area[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.sv-thumb[data-v-268fdbed]{box-sizing:border-box;pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;box-shadow:0 0 0 1px #0000004d}.hue-track[data-v-268fdbed]{cursor:pointer;touch-action:none;background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);border-radius:999px;width:100%;height:12px;position:relative}.hue-track[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.hue-thumb[data-v-268fdbed]{border:1px solid var(--bygga-color-border);box-shadow:var(--bygga-shadow-raised);box-sizing:border-box;pointer-events:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-left:-8px;position:absolute;top:50%;transform:translateY(-50%)}.palette-section[data-v-268fdbed]{flex-direction:column;gap:6px;display:flex}.palette-heading[data-v-268fdbed]{color:var(--bygga-color-text-muted);font-size:12px;font-weight:500;line-height:16px}.palette[data-v-268fdbed]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr));gap:8px;display:grid}.palette-swatch[data-v-268fdbed]{aspect-ratio:1;border:1px solid var(--bygga-color-border);border-radius:var(--bygga-radius-sm);cursor:pointer;width:100%;padding:0}.palette-swatch[data-v-268fdbed]:hover,.palette-swatch[data-v-268fdbed]:focus-visible{outline:2px solid var(--bygga-color-accent);outline-offset:2px}.palette-swatch[aria-checked=true][data-v-268fdbed]{box-shadow:inset 0 0 0 2px var(--bygga-color-surface), inset 0 0 0 4px var(--bygga-color-accent,currentcolor)}.palette-swatch.off-brand[data-v-268fdbed]{border-style:dashed;border-width:2px}.transparent-toggle[data-v-268fdbed]{align-self:flex-start}.swatch[data-v-268fdbed],.checker[data-v-268fdbed],.sv-area[data-v-268fdbed],.sv-thumb[data-v-268fdbed],.hue-track[data-v-268fdbed],.hue-thumb[data-v-268fdbed],.palette-swatch[data-v-268fdbed]{forced-color-adjust:none}"]], ["__scopeId", "data-v-268fdbed"]]), tD = { class: "select-wrap" }, nD = ["id", "disabled"], rD = /*#__PURE__*/ Uw(/* @__PURE__ */ p({
|
|
17707
17724
|
inheritAttrs: !1,
|
|
17708
17725
|
__name: "SelectInput",
|
|
17709
17726
|
props: /*@__PURE__*/ h({
|
|
@@ -17728,19 +17745,19 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17728
17745
|
let a = b(n, "modelValue"), o = n, s = x(), c = i(() => a.value === "" && !o.emptyIsValue), l = S("select");
|
|
17729
17746
|
return m(a, async (e) => {
|
|
17730
17747
|
await t(), l.value && l.value.value !== e && (l.value.value = e);
|
|
17731
|
-
}), (t, i) => (y(), e("div", { class: oe(["select-input", { "is-empty": c.value }]) }, [d(
|
|
17748
|
+
}), (t, i) => (y(), e("div", { class: oe(["select-input", { "is-empty": c.value }]) }, [d(HE, {
|
|
17732
17749
|
disabled: n.disabled,
|
|
17733
17750
|
label: o.label,
|
|
17734
17751
|
"label-for": se(s)
|
|
17735
17752
|
}, {
|
|
17736
|
-
default: ee(() => [r("span",
|
|
17753
|
+
default: ee(() => [r("span", tD, [de(r("select", he({
|
|
17737
17754
|
id: se(s),
|
|
17738
17755
|
ref_key: "select",
|
|
17739
17756
|
ref: l,
|
|
17740
17757
|
"onUpdate:modelValue": i[0] ||= (e) => a.value = e,
|
|
17741
17758
|
class: "field-select",
|
|
17742
17759
|
disabled: n.disabled
|
|
17743
|
-
}, t.$attrs), [ce(t.$slots, "default", {}, void 0, !0)], 16,
|
|
17760
|
+
}, t.$attrs), [ce(t.$slots, "default", {}, void 0, !0)], 16, nD), [[pe, a.value]]), d(yE, {
|
|
17744
17761
|
class: "chevron",
|
|
17745
17762
|
name: "chevron-down",
|
|
17746
17763
|
size: 12
|
|
@@ -17755,14 +17772,14 @@ var ME = { class: "checkbox-option" }, NE = {
|
|
|
17755
17772
|
}), [["styles", [".select-input[data-v-bc9ef2fc]{width:100%;position:relative}.select-wrap[data-v-bc9ef2fc]{flex:1 1 0;min-width:0;display:flex;position:relative}.field-select[data-v-bc9ef2fc]{appearance:none;color:inherit;cursor:pointer;font:inherit;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:0 20px 0 0}.field-select[data-v-bc9ef2fc]:disabled{cursor:not-allowed}.select-input.is-empty .field-select[data-v-bc9ef2fc]{color:var(--bygga-color-text-muted)}.chevron[data-v-bc9ef2fc]{color:var(--bygga-color-text-muted);pointer-events:none;position:absolute;top:50%;right:0;transform:translateY(-50%)}"]], ["__scopeId", "data-v-bc9ef2fc"]]);
|
|
17756
17773
|
//#endregion
|
|
17757
17774
|
//#region src/composables/useBrandCustomFonts.ts
|
|
17758
|
-
function
|
|
17759
|
-
let e = u(
|
|
17760
|
-
return i(() =>
|
|
17775
|
+
function iD() {
|
|
17776
|
+
let e = u(EE, void 0);
|
|
17777
|
+
return i(() => Ww(e?.value.customFonts ?? []));
|
|
17761
17778
|
}
|
|
17762
17779
|
//#endregion
|
|
17763
17780
|
//#region src/composables/useBrandFonts.ts
|
|
17764
|
-
function
|
|
17765
|
-
let t = u(
|
|
17781
|
+
function aD(e) {
|
|
17782
|
+
let t = u(EE, void 0);
|
|
17766
17783
|
return i(() => {
|
|
17767
17784
|
let n = t?.value.fonts ?? [];
|
|
17768
17785
|
if (n.length === 0) return Ci;
|
|
@@ -17776,25 +17793,25 @@ function nD(e) {
|
|
|
17776
17793
|
}
|
|
17777
17794
|
//#endregion
|
|
17778
17795
|
//#region src/i18n/locales.ts
|
|
17779
|
-
var
|
|
17780
|
-
function
|
|
17781
|
-
return
|
|
17796
|
+
var oD = ["en", "sv"], sD = "sv";
|
|
17797
|
+
function cD(e) {
|
|
17798
|
+
return oD.includes(e);
|
|
17782
17799
|
}
|
|
17783
17800
|
//#endregion
|
|
17784
17801
|
//#region src/mergeTags.ts
|
|
17785
|
-
function
|
|
17802
|
+
function lD(e) {
|
|
17786
17803
|
return Object.keys(e).filter((t) => !e[t]?.conditionOnly);
|
|
17787
17804
|
}
|
|
17788
|
-
function
|
|
17805
|
+
function uD(e, t, n) {
|
|
17789
17806
|
let r = e[t];
|
|
17790
17807
|
return r ? r[n] ?? r.sv ?? t : t;
|
|
17791
17808
|
}
|
|
17792
17809
|
//#endregion
|
|
17793
17810
|
//#region src/urls.ts
|
|
17794
|
-
var
|
|
17795
|
-
function
|
|
17811
|
+
var dD = /^[a-z][a-z0-9+.-]*:/i, fD = /^(?:https?|ftps?|mailto|tel|callto|sms|cid|xmpp):/i, pD = /^[/#?]/;
|
|
17812
|
+
function mD(e) {
|
|
17796
17813
|
let t = e.trim();
|
|
17797
|
-
return
|
|
17814
|
+
return dD.test(t) ? fD.test(t) ? t : "" : t === "" || pD.test(t) ? t : `https://${t}`;
|
|
17798
17815
|
}
|
|
17799
17816
|
//#endregion
|
|
17800
|
-
export {
|
|
17817
|
+
export { Sw as $, Vi as $t, eT as A, oi as An, cp as At, Tw as B, ei as Bn, Bi as Bt, kE as C, Fi as Cn, Jg as Ct, yE as D, Ei as Dn, gg as Dt, SE as E, Ti as En, hg as Et, Bw as F, ni as Fn, H as Ft, sw as G, Wi as Gt, Dw as H, Vr as Hn, la as Ht, iw as I, ri as In, cs as It, Nw as J, Xi as Jt, ew as K, Qi as Kt, tw as L, ii as Ln, Ws as Lt, Vw as M, yi as Mn, Ac as Mt, zw as N, vi as Nn, Nc as Nt, Kw as O, si as On, cm as Ot, Rw as P, _i as Pn, V as Pt, jw as Q, Ki as Qt, yw as R, $r as Rn, R as Rt, OE as S, Ri as Sn, G as St, xE as T, ki as Tn, mg as Tt, ww as U, ua as Ut, Ow as V, Br as Vn, ca as Vt, cw as W, da as Wt, Mw as X, Ui as Xt, Pw as Y, na as Yt, Aw as Z, sa as Zt, DE as _, wa as _n, tb as _t, oD as a, ga as an, pw as at, jE as b, ia as bn, K as bt, iD as c, ea as cn, fw as ct, WE as d, ta as dn, QC as dt, qi as en, Cw as et, HE as f, ra as fn, $C as ft, AE as g, oa as gn, oC as gt, PE as h, Sa as hn, rC as ht, sD as i, xa as in, gw as it, Uw as j, xi as jn, U as jt, Ww as k, ai as kn, ap as kt, rD as l, Gi as ln, kC as lt, ME as m, Hi as mn, sC as mt, lD as n, Ca as nn, mw as nt, cD as o, _a as on, bw as ot, RE as p, ba as pn, nC as pt, Iw as q, Zi as qt, uD as r, ya as rn, vw as rt, aD as s, Ta as sn, kw as st, mD as t, va as tn, hw as tt, eD as u, $i as un, cC as ut, EE as v, Yi as vn, eb as vt, CE as w, wi as wn, W as wt, TE as x, Pi as xn, B_ as xt, wE as y, aa as yn, I_ as yt, xw as z, ti as zn, B as zt };
|