@bygga.dev/editor 1.9.11 → 1.9.12
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 +9 -3
- package/{TextEditor-DoE89_QB.js → TextEditor-DQ9MlOvk.js} +560 -545
- package/bygga-editor.js +1526 -1531
- package/package.json +1 -1
- package/{urls-CkV6bAHz.js → urls-DQuXPDSt.js} +180 -173
|
@@ -16519,24 +16519,31 @@ function Gw(e, t) {
|
|
|
16519
16519
|
}), t.padding && (e.padding = t.padding), t.margin && (e.margin = t.margin), t.borderRadius && (e.borderRadius = t.borderRadius), t.border && (e.border = t.border);
|
|
16520
16520
|
}
|
|
16521
16521
|
//#endregion
|
|
16522
|
+
//#region ../core/src/links.ts
|
|
16523
|
+
var Kw = /^[a-z][a-z0-9+.-]*:/i, qw = /[\u0000-\u0020]/g, Jw = /^(?:https?|ftps?|mailto|tel|callto|sms|cid|xmpp):/i;
|
|
16524
|
+
function Yw(e) {
|
|
16525
|
+
let t = e.replace(qw, "");
|
|
16526
|
+
if (!(t === "" || Kw.test(t) && !Jw.test(t))) return e;
|
|
16527
|
+
}
|
|
16528
|
+
//#endregion
|
|
16522
16529
|
//#region \0plugin-vue:export-helper
|
|
16523
|
-
var
|
|
16530
|
+
var Xw = (e, t) => {
|
|
16524
16531
|
let n = e.__vccOpts || e;
|
|
16525
16532
|
for (let [e, r] of t) n[e] = r;
|
|
16526
16533
|
return n;
|
|
16527
16534
|
};
|
|
16528
16535
|
//#endregion
|
|
16529
16536
|
//#region src/customFonts.ts
|
|
16530
|
-
function
|
|
16537
|
+
function Zw(e) {
|
|
16531
16538
|
return e.map((e) => ({
|
|
16532
16539
|
...e,
|
|
16533
16540
|
stack: Ai(e)
|
|
16534
16541
|
}));
|
|
16535
16542
|
}
|
|
16536
|
-
var
|
|
16537
|
-
function
|
|
16543
|
+
var Qw = /* @__PURE__ */ new Set();
|
|
16544
|
+
function $w(e) {
|
|
16538
16545
|
if (!(typeof document > "u")) {
|
|
16539
|
-
for (let t of e) if (!
|
|
16546
|
+
for (let t of e) if (!Qw.has(t.href)) if (Qw.add(t.href), Ni(t) === "file") {
|
|
16540
16547
|
if (typeof FontFace > "u") continue;
|
|
16541
16548
|
let e = new FontFace(t.name, `url("${t.href}")`, { display: "swap" });
|
|
16542
16549
|
document.fonts.add(e), e.load().catch((e) => {
|
|
@@ -16550,9 +16557,9 @@ function Yw(e) {
|
|
|
16550
16557
|
}
|
|
16551
16558
|
}
|
|
16552
16559
|
}
|
|
16553
|
-
function
|
|
16560
|
+
function eT(e, t) {
|
|
16554
16561
|
if (Array.isArray(e)) {
|
|
16555
|
-
for (let n of e)
|
|
16562
|
+
for (let n of e) eT(n, t);
|
|
16556
16563
|
return;
|
|
16557
16564
|
}
|
|
16558
16565
|
if (typeof e != "object" || !e) return;
|
|
@@ -16562,9 +16569,9 @@ function Xw(e, t) {
|
|
|
16562
16569
|
typeof e?.fontFamily == "string" && t.stacks.add(e.fontFamily);
|
|
16563
16570
|
}
|
|
16564
16571
|
n.type === "button" && typeof n.customFont == "string" && t.stacks.add(n.customFont), n.type === "custom" && typeof n.html == "string" && t.pluginHtml.push(n.html);
|
|
16565
|
-
for (let e of Object.values(n))
|
|
16572
|
+
for (let e of Object.values(n)) eT(e, t);
|
|
16566
16573
|
}
|
|
16567
|
-
var
|
|
16574
|
+
var tT = /&(?:quot|#34|#x22|apos|#39|#x27|amp|#38|#x26);/gi, nT = {
|
|
16568
16575
|
""": "\"",
|
|
16569
16576
|
""": "\"",
|
|
16570
16577
|
""": "\"",
|
|
@@ -16575,31 +16582,31 @@ var Zw = /&(?:quot|#34|#x22|apos|#39|#x27|amp|#38|#x26);/gi, Qw = {
|
|
|
16575
16582
|
"&": "&",
|
|
16576
16583
|
"&": "&"
|
|
16577
16584
|
};
|
|
16578
|
-
function
|
|
16579
|
-
return e.replace(
|
|
16585
|
+
function rT(e) {
|
|
16586
|
+
return e.replace(tT, (e) => nT[e.toLowerCase()] ?? e);
|
|
16580
16587
|
}
|
|
16581
|
-
function
|
|
16588
|
+
function iT(e) {
|
|
16582
16589
|
let t = (Ai(e).split(",")[0] ?? "").replace(/["']/g, "").trim();
|
|
16583
16590
|
return [.../* @__PURE__ */ new Set([e.name.trim(), t])].filter((e) => e !== "");
|
|
16584
16591
|
}
|
|
16585
|
-
var
|
|
16586
|
-
function
|
|
16592
|
+
var aT = /[.*+?^${}()|[\]\\]/g;
|
|
16593
|
+
function oT(e, t) {
|
|
16587
16594
|
if (e.length === 0) return !1;
|
|
16588
|
-
let n = e.map(
|
|
16589
|
-
return
|
|
16590
|
-
let t = RegExp(`(^|[^\\w-])${e.replace(
|
|
16595
|
+
let n = e.map(rT);
|
|
16596
|
+
return iT(t).some((e) => {
|
|
16597
|
+
let t = RegExp(`(^|[^\\w-])${e.replace(aT, "\\$&")}(?![\\w-])`, "i");
|
|
16591
16598
|
return n.some((e) => t.test(e));
|
|
16592
16599
|
});
|
|
16593
16600
|
}
|
|
16594
|
-
function
|
|
16601
|
+
function sT(e, t) {
|
|
16595
16602
|
let n = {
|
|
16596
16603
|
stacks: /* @__PURE__ */ new Set(),
|
|
16597
16604
|
pluginHtml: []
|
|
16598
16605
|
};
|
|
16599
|
-
|
|
16606
|
+
eT(e.root, n);
|
|
16600
16607
|
let r = e.customFonts ?? [], i = [], a = (e) => {
|
|
16601
16608
|
let t = Ai(e);
|
|
16602
|
-
(n.stacks.has(t) ||
|
|
16609
|
+
(n.stacks.has(t) || oT(n.pluginHtml, e)) && !i.some((e) => Ai(e) === t) && i.push(e);
|
|
16603
16610
|
};
|
|
16604
16611
|
for (let { stack: e, ...n } of t) a(n);
|
|
16605
16612
|
for (let e of r) a(e);
|
|
@@ -16608,15 +16615,15 @@ function rT(e, t) {
|
|
|
16608
16615
|
}
|
|
16609
16616
|
//#endregion
|
|
16610
16617
|
//#region src/assets/icons/board.svg?component
|
|
16611
|
-
var
|
|
16618
|
+
var cT = {
|
|
16612
16619
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16613
16620
|
width: "55",
|
|
16614
16621
|
height: "55",
|
|
16615
16622
|
fill: "none",
|
|
16616
16623
|
viewBox: "0 0 54.64 54.64"
|
|
16617
16624
|
};
|
|
16618
|
-
function
|
|
16619
|
-
return y(), e("svg",
|
|
16625
|
+
function lT(t, n) {
|
|
16626
|
+
return y(), e("svg", cT, [...n[0] ||= [r("path", {
|
|
16620
16627
|
stroke: "currentColor",
|
|
16621
16628
|
"stroke-linejoin": "round",
|
|
16622
16629
|
"stroke-width": "2",
|
|
@@ -16628,15 +16635,15 @@ function aT(t, n) {
|
|
|
16628
16635
|
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"
|
|
16629
16636
|
}, null, -1)]]);
|
|
16630
16637
|
}
|
|
16631
|
-
var
|
|
16638
|
+
var uT = { render: lT }, dT = {
|
|
16632
16639
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16633
16640
|
width: "16",
|
|
16634
16641
|
height: "16",
|
|
16635
16642
|
fill: "none",
|
|
16636
16643
|
viewBox: "0 0 16 16"
|
|
16637
16644
|
};
|
|
16638
|
-
function
|
|
16639
|
-
return y(), e("svg",
|
|
16645
|
+
function fT(t, n) {
|
|
16646
|
+
return y(), e("svg", dT, [...n[0] ||= [r("path", {
|
|
16640
16647
|
stroke: "currentColor",
|
|
16641
16648
|
"stroke-linecap": "round",
|
|
16642
16649
|
"stroke-linejoin": "round",
|
|
@@ -16644,15 +16651,15 @@ function cT(t, n) {
|
|
|
16644
16651
|
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"
|
|
16645
16652
|
}, null, -1)]]);
|
|
16646
16653
|
}
|
|
16647
|
-
var
|
|
16654
|
+
var pT = { render: fT }, mT = {
|
|
16648
16655
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16649
16656
|
width: "16",
|
|
16650
16657
|
height: "16",
|
|
16651
16658
|
fill: "none",
|
|
16652
16659
|
viewBox: "0 0 16 16"
|
|
16653
16660
|
};
|
|
16654
|
-
function
|
|
16655
|
-
return y(), e("svg",
|
|
16661
|
+
function hT(t, n) {
|
|
16662
|
+
return y(), e("svg", mT, [...n[0] ||= [r("path", {
|
|
16656
16663
|
stroke: "currentColor",
|
|
16657
16664
|
"stroke-linecap": "round",
|
|
16658
16665
|
"stroke-linejoin": "round",
|
|
@@ -16660,15 +16667,15 @@ function dT(t, n) {
|
|
|
16660
16667
|
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"
|
|
16661
16668
|
}, null, -1)]]);
|
|
16662
16669
|
}
|
|
16663
|
-
var
|
|
16670
|
+
var gT = { render: hT }, _T = {
|
|
16664
16671
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16665
16672
|
width: "40",
|
|
16666
16673
|
height: "40",
|
|
16667
16674
|
fill: "none",
|
|
16668
16675
|
viewBox: "0 0 40 40"
|
|
16669
16676
|
};
|
|
16670
|
-
function
|
|
16671
|
-
return y(), e("svg",
|
|
16677
|
+
function vT(t, n) {
|
|
16678
|
+
return y(), e("svg", _T, [...n[0] ||= [r("rect", {
|
|
16672
16679
|
width: "28",
|
|
16673
16680
|
height: "14",
|
|
16674
16681
|
x: "6",
|
|
@@ -16684,15 +16691,15 @@ function mT(t, n) {
|
|
|
16684
16691
|
d: "M14 20h12"
|
|
16685
16692
|
}, null, -1)]]);
|
|
16686
16693
|
}
|
|
16687
|
-
var
|
|
16694
|
+
var yT = { render: vT }, bT = {
|
|
16688
16695
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16689
16696
|
width: "16",
|
|
16690
16697
|
height: "16",
|
|
16691
16698
|
fill: "none",
|
|
16692
16699
|
viewBox: "0 0 16 16"
|
|
16693
16700
|
};
|
|
16694
|
-
function
|
|
16695
|
-
return y(), e("svg",
|
|
16701
|
+
function xT(t, n) {
|
|
16702
|
+
return y(), e("svg", bT, [...n[0] ||= [r("path", {
|
|
16696
16703
|
stroke: "currentColor",
|
|
16697
16704
|
"stroke-linecap": "round",
|
|
16698
16705
|
"stroke-linejoin": "round",
|
|
@@ -16700,30 +16707,30 @@ function _T(t, n) {
|
|
|
16700
16707
|
d: "m4 6 4 4 4-4"
|
|
16701
16708
|
}, null, -1)]]);
|
|
16702
16709
|
}
|
|
16703
|
-
var
|
|
16710
|
+
var ST = { render: xT }, CT = {
|
|
16704
16711
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16705
16712
|
width: "16",
|
|
16706
16713
|
height: "16",
|
|
16707
16714
|
fill: "none",
|
|
16708
16715
|
viewBox: "0 0 16 16"
|
|
16709
16716
|
};
|
|
16710
|
-
function
|
|
16711
|
-
return y(), e("svg",
|
|
16717
|
+
function wT(t, n) {
|
|
16718
|
+
return y(), e("svg", CT, [...n[0] ||= [r("path", {
|
|
16712
16719
|
stroke: "currentColor",
|
|
16713
16720
|
"stroke-linecap": "round",
|
|
16714
16721
|
"stroke-width": "1.2",
|
|
16715
16722
|
d: "m4 4 8 8M12 4l-8 8"
|
|
16716
16723
|
}, null, -1)]]);
|
|
16717
16724
|
}
|
|
16718
|
-
var
|
|
16725
|
+
var TT = { render: wT }, ET = {
|
|
16719
16726
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16720
16727
|
width: "40",
|
|
16721
16728
|
height: "40",
|
|
16722
16729
|
fill: "none",
|
|
16723
16730
|
viewBox: "0 0 40 40"
|
|
16724
16731
|
};
|
|
16725
|
-
function
|
|
16726
|
-
return y(), e("svg",
|
|
16732
|
+
function DT(t, n) {
|
|
16733
|
+
return y(), e("svg", ET, [...n[0] ||= [r("rect", {
|
|
16727
16734
|
width: "28",
|
|
16728
16735
|
height: "22",
|
|
16729
16736
|
x: "6",
|
|
@@ -16739,15 +16746,15 @@ function CT(t, n) {
|
|
|
16739
16746
|
d: "M15.33 9.6v20.8M24.67 9.6v20.8"
|
|
16740
16747
|
}, null, -1)]]);
|
|
16741
16748
|
}
|
|
16742
|
-
var
|
|
16749
|
+
var OT = { render: DT }, kT = {
|
|
16743
16750
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16744
16751
|
width: "16",
|
|
16745
16752
|
height: "16",
|
|
16746
16753
|
fill: "none",
|
|
16747
16754
|
viewBox: "0 0 16 16"
|
|
16748
16755
|
};
|
|
16749
|
-
function
|
|
16750
|
-
return y(), e("svg",
|
|
16756
|
+
function AT(t, n) {
|
|
16757
|
+
return y(), e("svg", kT, [...n[0] ||= [r("rect", {
|
|
16751
16758
|
width: "7.33",
|
|
16752
16759
|
height: "7.67",
|
|
16753
16760
|
x: "6",
|
|
@@ -16764,15 +16771,15 @@ function ET(t, n) {
|
|
|
16764
16771
|
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"
|
|
16765
16772
|
}, null, -1)]]);
|
|
16766
16773
|
}
|
|
16767
|
-
var
|
|
16774
|
+
var jT = { render: AT }, MT = {
|
|
16768
16775
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16769
16776
|
width: "16",
|
|
16770
16777
|
height: "16",
|
|
16771
16778
|
fill: "none",
|
|
16772
16779
|
viewBox: "0 0 16 16"
|
|
16773
16780
|
};
|
|
16774
|
-
function
|
|
16775
|
-
return y(), e("svg",
|
|
16781
|
+
function NT(t, n) {
|
|
16782
|
+
return y(), e("svg", MT, [...n[0] ||= [r("rect", {
|
|
16776
16783
|
width: "13",
|
|
16777
16784
|
height: "8.5",
|
|
16778
16785
|
x: "1.5",
|
|
@@ -16788,15 +16795,15 @@ function kT(t, n) {
|
|
|
16788
16795
|
d: "M6 14.5h4M8 11v3.5"
|
|
16789
16796
|
}, null, -1)]]);
|
|
16790
16797
|
}
|
|
16791
|
-
var
|
|
16798
|
+
var PT = { render: NT }, FT = {
|
|
16792
16799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16793
16800
|
width: "40",
|
|
16794
16801
|
height: "40",
|
|
16795
16802
|
fill: "none",
|
|
16796
16803
|
viewBox: "0 0 20 20"
|
|
16797
16804
|
};
|
|
16798
|
-
function
|
|
16799
|
-
return y(), e("svg",
|
|
16805
|
+
function IT(t, n) {
|
|
16806
|
+
return y(), e("svg", FT, [...n[0] ||= [r("g", {
|
|
16800
16807
|
stroke: "currentColor",
|
|
16801
16808
|
"stroke-linecap": "round",
|
|
16802
16809
|
"stroke-linejoin": "round",
|
|
@@ -16806,15 +16813,15 @@ function MT(t, n) {
|
|
|
16806
16813
|
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"
|
|
16807
16814
|
})], -1)]]);
|
|
16808
16815
|
}
|
|
16809
|
-
var
|
|
16816
|
+
var LT = { render: IT }, RT = {
|
|
16810
16817
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16811
16818
|
width: "16",
|
|
16812
16819
|
height: "16",
|
|
16813
16820
|
fill: "none",
|
|
16814
16821
|
viewBox: "0 0 16 16"
|
|
16815
16822
|
};
|
|
16816
|
-
function
|
|
16817
|
-
return y(), e("svg",
|
|
16823
|
+
function zT(t, n) {
|
|
16824
|
+
return y(), e("svg", RT, [...n[0] ||= [r("path", {
|
|
16818
16825
|
stroke: "currentColor",
|
|
16819
16826
|
"stroke-width": "1.2",
|
|
16820
16827
|
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"
|
|
@@ -16826,15 +16833,15 @@ function FT(t, n) {
|
|
|
16826
16833
|
d: "M11.133 8a3.133 3.133 0 1 1-6.266 0 3.133 3.133 0 0 1 6.266 0"
|
|
16827
16834
|
}, null, -1)]]);
|
|
16828
16835
|
}
|
|
16829
|
-
var
|
|
16836
|
+
var BT = { render: zT }, VT = {
|
|
16830
16837
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16831
16838
|
width: "40",
|
|
16832
16839
|
height: "40",
|
|
16833
16840
|
fill: "none",
|
|
16834
16841
|
viewBox: "0 0 40 40"
|
|
16835
16842
|
};
|
|
16836
|
-
function
|
|
16837
|
-
return y(), e("svg",
|
|
16843
|
+
function HT(t, n) {
|
|
16844
|
+
return y(), e("svg", VT, [...n[0] ||= [r("path", {
|
|
16838
16845
|
stroke: "currentColor",
|
|
16839
16846
|
"stroke-linecap": "round",
|
|
16840
16847
|
"stroke-linejoin": "round",
|
|
@@ -16842,15 +16849,15 @@ function RT(t, n) {
|
|
|
16842
16849
|
d: "M10 8v24M24 8v24M10 20h14M30 26l3-2v8"
|
|
16843
16850
|
}, null, -1)]]);
|
|
16844
16851
|
}
|
|
16845
|
-
var
|
|
16852
|
+
var UT = { render: HT }, WT = {
|
|
16846
16853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16847
16854
|
width: "40",
|
|
16848
16855
|
height: "40",
|
|
16849
16856
|
fill: "none",
|
|
16850
16857
|
viewBox: "0 0 40 40"
|
|
16851
16858
|
};
|
|
16852
|
-
function
|
|
16853
|
-
return y(), e("svg",
|
|
16859
|
+
function GT(t, n) {
|
|
16860
|
+
return y(), e("svg", WT, [...n[0] ||= [r("rect", {
|
|
16854
16861
|
width: "28",
|
|
16855
16862
|
height: "22",
|
|
16856
16863
|
x: "6",
|
|
@@ -16867,15 +16874,15 @@ function VT(t, n) {
|
|
|
16867
16874
|
d: "m17 16-4 4 4 4M23 16l4 4-4 4"
|
|
16868
16875
|
}, null, -1)]]);
|
|
16869
16876
|
}
|
|
16870
|
-
var
|
|
16877
|
+
var KT = { render: GT }, qT = {
|
|
16871
16878
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16872
16879
|
width: "40",
|
|
16873
16880
|
height: "40",
|
|
16874
16881
|
fill: "none",
|
|
16875
16882
|
viewBox: "0 0 40 40"
|
|
16876
16883
|
};
|
|
16877
|
-
function
|
|
16878
|
-
return y(), e("svg",
|
|
16884
|
+
function JT(t, n) {
|
|
16885
|
+
return y(), e("svg", qT, [...n[0] ||= [
|
|
16879
16886
|
r("rect", {
|
|
16880
16887
|
width: "28",
|
|
16881
16888
|
height: "22",
|
|
@@ -16909,30 +16916,30 @@ function WT(t, n) {
|
|
|
16909
16916
|
}, null, -1)
|
|
16910
16917
|
]]);
|
|
16911
16918
|
}
|
|
16912
|
-
var
|
|
16919
|
+
var YT = { render: JT }, XT = {
|
|
16913
16920
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16914
16921
|
width: "16",
|
|
16915
16922
|
height: "16",
|
|
16916
16923
|
fill: "none",
|
|
16917
16924
|
viewBox: "0 0 16 16"
|
|
16918
16925
|
};
|
|
16919
|
-
function
|
|
16920
|
-
return y(), e("svg",
|
|
16926
|
+
function ZT(t, n) {
|
|
16927
|
+
return y(), e("svg", XT, [...n[0] ||= [r("path", {
|
|
16921
16928
|
fill: "currentColor",
|
|
16922
16929
|
"fill-rule": "evenodd",
|
|
16923
16930
|
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",
|
|
16924
16931
|
"clip-rule": "evenodd"
|
|
16925
16932
|
}, null, -1)]]);
|
|
16926
16933
|
}
|
|
16927
|
-
var
|
|
16934
|
+
var QT = { render: ZT }, $T = {
|
|
16928
16935
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16929
16936
|
width: "16",
|
|
16930
16937
|
height: "16",
|
|
16931
16938
|
fill: "none",
|
|
16932
16939
|
viewBox: "0 0 16 16"
|
|
16933
16940
|
};
|
|
16934
|
-
function
|
|
16935
|
-
return y(), e("svg",
|
|
16941
|
+
function eE(t, n) {
|
|
16942
|
+
return y(), e("svg", $T, [...n[0] ||= [r("path", {
|
|
16936
16943
|
stroke: "currentColor",
|
|
16937
16944
|
"stroke-linecap": "round",
|
|
16938
16945
|
"stroke-width": "1.2",
|
|
@@ -16945,15 +16952,15 @@ function XT(t, n) {
|
|
|
16945
16952
|
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"
|
|
16946
16953
|
}, null, -1)]]);
|
|
16947
16954
|
}
|
|
16948
|
-
var
|
|
16955
|
+
var tE = { render: eE }, nE = {
|
|
16949
16956
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16950
16957
|
width: "16",
|
|
16951
16958
|
height: "16",
|
|
16952
16959
|
fill: "none",
|
|
16953
16960
|
viewBox: "0 0 16 16"
|
|
16954
16961
|
};
|
|
16955
|
-
function
|
|
16956
|
-
return y(), e("svg",
|
|
16962
|
+
function rE(t, n) {
|
|
16963
|
+
return y(), e("svg", nE, [...n[0] ||= [
|
|
16957
16964
|
r("rect", {
|
|
16958
16965
|
width: "9.33",
|
|
16959
16966
|
height: "7",
|
|
@@ -16979,15 +16986,15 @@ function $T(t, n) {
|
|
|
16979
16986
|
}, null, -1)
|
|
16980
16987
|
]]);
|
|
16981
16988
|
}
|
|
16982
|
-
var
|
|
16989
|
+
var iE = { render: rE }, aE = {
|
|
16983
16990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16984
16991
|
width: "16",
|
|
16985
16992
|
height: "16",
|
|
16986
16993
|
fill: "none",
|
|
16987
16994
|
viewBox: "0 0 16 16"
|
|
16988
16995
|
};
|
|
16989
|
-
function
|
|
16990
|
-
return y(), e("svg",
|
|
16996
|
+
function oE(t, n) {
|
|
16997
|
+
return y(), e("svg", aE, [...n[0] ||= [r("rect", {
|
|
16991
16998
|
width: "7",
|
|
16992
16999
|
height: "13",
|
|
16993
17000
|
x: "4.5",
|
|
@@ -17003,15 +17010,15 @@ function nE(t, n) {
|
|
|
17003
17010
|
d: "M6.5 12.5h3"
|
|
17004
17011
|
}, null, -1)]]);
|
|
17005
17012
|
}
|
|
17006
|
-
var
|
|
17013
|
+
var sE = { render: oE }, cE = {
|
|
17007
17014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17008
17015
|
width: "40",
|
|
17009
17016
|
height: "40",
|
|
17010
17017
|
fill: "none",
|
|
17011
17018
|
viewBox: "0 0 40 40"
|
|
17012
17019
|
};
|
|
17013
|
-
function
|
|
17014
|
-
return y(), e("svg",
|
|
17020
|
+
function lE(t, n) {
|
|
17021
|
+
return y(), e("svg", cE, [...n[0] ||= [r("path", {
|
|
17015
17022
|
stroke: "currentColor",
|
|
17016
17023
|
"stroke-linecap": "round",
|
|
17017
17024
|
"stroke-linejoin": "round",
|
|
@@ -17019,15 +17026,15 @@ function aE(t, n) {
|
|
|
17019
17026
|
d: "M35 10H5M35 20H5M20 30H5"
|
|
17020
17027
|
}, null, -1)]]);
|
|
17021
17028
|
}
|
|
17022
|
-
var
|
|
17029
|
+
var uE = { render: lE }, dE = {
|
|
17023
17030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17024
17031
|
width: "18",
|
|
17025
17032
|
height: "18",
|
|
17026
17033
|
fill: "none",
|
|
17027
17034
|
viewBox: "0 0 18.092 18.419"
|
|
17028
17035
|
};
|
|
17029
|
-
function
|
|
17030
|
-
return y(), e("svg",
|
|
17036
|
+
function fE(t, n) {
|
|
17037
|
+
return y(), e("svg", dE, [...n[0] ||= [
|
|
17031
17038
|
r("path", {
|
|
17032
17039
|
stroke: "currentColor",
|
|
17033
17040
|
"stroke-linejoin": "round",
|
|
@@ -17049,15 +17056,15 @@ function cE(t, n) {
|
|
|
17049
17056
|
}, null, -1)
|
|
17050
17057
|
]]);
|
|
17051
17058
|
}
|
|
17052
|
-
var
|
|
17059
|
+
var pE = { render: fE }, mE = {
|
|
17053
17060
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17054
17061
|
width: "40",
|
|
17055
17062
|
height: "40",
|
|
17056
17063
|
fill: "none",
|
|
17057
17064
|
viewBox: "0 0 40 40"
|
|
17058
17065
|
};
|
|
17059
|
-
function
|
|
17060
|
-
return y(), e("svg",
|
|
17066
|
+
function hE(t, n) {
|
|
17067
|
+
return y(), e("svg", mE, [...n[0] ||= [r("path", {
|
|
17061
17068
|
stroke: "currentColor",
|
|
17062
17069
|
"stroke-linecap": "round",
|
|
17063
17070
|
"stroke-width": "1.2",
|
|
@@ -17070,15 +17077,15 @@ function dE(t, n) {
|
|
|
17070
17077
|
d: "M16.5 17.5 20 14l3.5 3.5M16.5 22.5 20 26l3.5-3.5"
|
|
17071
17078
|
}, null, -1)]]);
|
|
17072
17079
|
}
|
|
17073
|
-
var
|
|
17080
|
+
var gE = { render: hE }, _E = {
|
|
17074
17081
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17075
17082
|
width: "16",
|
|
17076
17083
|
height: "16",
|
|
17077
17084
|
fill: "none",
|
|
17078
17085
|
viewBox: "0 0 16 16"
|
|
17079
17086
|
};
|
|
17080
|
-
function
|
|
17081
|
-
return y(), e("svg",
|
|
17087
|
+
function vE(t, n) {
|
|
17088
|
+
return y(), e("svg", _E, [...n[0] ||= [r("path", {
|
|
17082
17089
|
stroke: "currentColor",
|
|
17083
17090
|
"stroke-linecap": "round",
|
|
17084
17091
|
"stroke-linejoin": "round",
|
|
@@ -17086,15 +17093,15 @@ function mE(t, n) {
|
|
|
17086
17093
|
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"
|
|
17087
17094
|
}, null, -1)]]);
|
|
17088
17095
|
}
|
|
17089
|
-
var
|
|
17096
|
+
var yE = { render: vE }, bE = {
|
|
17090
17097
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17091
17098
|
width: "16",
|
|
17092
17099
|
height: "16",
|
|
17093
17100
|
fill: "none",
|
|
17094
17101
|
viewBox: "0 0 16 16"
|
|
17095
17102
|
};
|
|
17096
|
-
function
|
|
17097
|
-
return y(), e("svg",
|
|
17103
|
+
function xE(t, n) {
|
|
17104
|
+
return y(), e("svg", bE, [...n[0] ||= [
|
|
17098
17105
|
r("path", {
|
|
17099
17106
|
stroke: "currentColor",
|
|
17100
17107
|
"stroke-linecap": "round",
|
|
@@ -17122,15 +17129,15 @@ function _E(t, n) {
|
|
|
17122
17129
|
}, null, -1)
|
|
17123
17130
|
]]);
|
|
17124
17131
|
}
|
|
17125
|
-
var
|
|
17132
|
+
var SE = { render: xE }, CE = {
|
|
17126
17133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17127
17134
|
width: "20",
|
|
17128
17135
|
height: "20",
|
|
17129
17136
|
fill: "none",
|
|
17130
17137
|
viewBox: "0 0 20 20"
|
|
17131
17138
|
};
|
|
17132
|
-
function
|
|
17133
|
-
return y(), e("svg",
|
|
17139
|
+
function wE(t, n) {
|
|
17140
|
+
return y(), e("svg", CE, [...n[0] ||= [
|
|
17134
17141
|
r("path", {
|
|
17135
17142
|
stroke: "currentColor",
|
|
17136
17143
|
"stroke-linejoin": "round",
|
|
@@ -17151,7 +17158,7 @@ function bE(t, n) {
|
|
|
17151
17158
|
}, null, -1)
|
|
17152
17159
|
]]);
|
|
17153
17160
|
}
|
|
17154
|
-
var
|
|
17161
|
+
var TE = { render: wE }, EE = /* @__PURE__ */ p({
|
|
17155
17162
|
__name: "AppIcon",
|
|
17156
17163
|
props: {
|
|
17157
17164
|
name: { type: String },
|
|
@@ -17162,30 +17169,30 @@ var xE = { render: bE }, SE = /* @__PURE__ */ p({
|
|
|
17162
17169
|
},
|
|
17163
17170
|
setup(e) {
|
|
17164
17171
|
let t = e, n = {
|
|
17165
|
-
pencil:
|
|
17166
|
-
eye:
|
|
17167
|
-
info:
|
|
17168
|
-
board:
|
|
17169
|
-
braces:
|
|
17170
|
-
button:
|
|
17171
|
-
trash:
|
|
17172
|
-
warning:
|
|
17173
|
-
close:
|
|
17174
|
-
copy:
|
|
17175
|
-
link:
|
|
17176
|
-
columns:
|
|
17177
|
-
paragraph:
|
|
17178
|
-
image:
|
|
17179
|
-
mobile:
|
|
17180
|
-
desktop:
|
|
17181
|
-
spacer:
|
|
17182
|
-
sparkles:
|
|
17183
|
-
divider:
|
|
17184
|
-
html:
|
|
17185
|
-
"chevron-down":
|
|
17186
|
-
bookmark:
|
|
17187
|
-
heading:
|
|
17188
|
-
lock:
|
|
17172
|
+
pencil: pE,
|
|
17173
|
+
eye: BT,
|
|
17174
|
+
info: QT,
|
|
17175
|
+
board: uT,
|
|
17176
|
+
braces: gT,
|
|
17177
|
+
button: yT,
|
|
17178
|
+
trash: SE,
|
|
17179
|
+
warning: TE,
|
|
17180
|
+
close: TT,
|
|
17181
|
+
copy: jT,
|
|
17182
|
+
link: tE,
|
|
17183
|
+
columns: OT,
|
|
17184
|
+
paragraph: uE,
|
|
17185
|
+
image: YT,
|
|
17186
|
+
mobile: sE,
|
|
17187
|
+
desktop: PT,
|
|
17188
|
+
spacer: gE,
|
|
17189
|
+
sparkles: yE,
|
|
17190
|
+
divider: LT,
|
|
17191
|
+
html: KT,
|
|
17192
|
+
"chevron-down": ST,
|
|
17193
|
+
bookmark: pT,
|
|
17194
|
+
heading: UT,
|
|
17195
|
+
lock: iE
|
|
17189
17196
|
}, r = i(() => n[t.name]), a = i(() => typeof t.size == "number" ? `${t.size}px` : t.size);
|
|
17190
17197
|
return (e, t) => (y(), f(c(r.value), {
|
|
17191
17198
|
class: "app-icon",
|
|
@@ -17198,8 +17205,8 @@ var xE = { render: bE }, SE = /* @__PURE__ */ p({
|
|
|
17198
17205
|
"aria-hidden": "true"
|
|
17199
17206
|
}, null, 8, ["style"]));
|
|
17200
17207
|
}
|
|
17201
|
-
}),
|
|
17202
|
-
function
|
|
17208
|
+
}), DE = Symbol("errorDialog");
|
|
17209
|
+
function OE() {
|
|
17203
17210
|
let e = fe(null), t = {
|
|
17204
17211
|
message: i(() => e.value),
|
|
17205
17212
|
show: (t) => {
|
|
@@ -17209,26 +17216,26 @@ function wE() {
|
|
|
17209
17216
|
e.value = null;
|
|
17210
17217
|
}
|
|
17211
17218
|
};
|
|
17212
|
-
return o(
|
|
17219
|
+
return o(DE, t), t;
|
|
17213
17220
|
}
|
|
17214
|
-
function
|
|
17215
|
-
return u(
|
|
17221
|
+
function kE() {
|
|
17222
|
+
return u(DE);
|
|
17216
17223
|
}
|
|
17217
17224
|
//#endregion
|
|
17218
17225
|
//#region src/i18n/useAppI18n.ts
|
|
17219
|
-
function
|
|
17226
|
+
function AE() {
|
|
17220
17227
|
return Hr({ useScope: "global" });
|
|
17221
17228
|
}
|
|
17222
17229
|
//#endregion
|
|
17223
17230
|
//#region src/providerKeys.ts
|
|
17224
|
-
var
|
|
17231
|
+
var jE = Symbol("editorConfig"), ME = Symbol("mergeTags"), NE = Symbol("brand"), PE = Symbol("blockStyles"), FE = Symbol("permission"), IE = Symbol("savedBlocks"), LE = Symbol("blockPlugins"), RE = Symbol("imageSearch");
|
|
17225
17232
|
//#endregion
|
|
17226
17233
|
//#region src/popoverPlacement.ts
|
|
17227
|
-
function
|
|
17234
|
+
function zE(e, t, n) {
|
|
17228
17235
|
return Math.max(n.top + t, Math.min(e, n.bottom));
|
|
17229
17236
|
}
|
|
17230
|
-
var
|
|
17231
|
-
function
|
|
17237
|
+
var BE = 8;
|
|
17238
|
+
function VE(e, t, n = BE) {
|
|
17232
17239
|
let r = t - e.bottom - n, i = e.top - n;
|
|
17233
17240
|
return r >= i ? {
|
|
17234
17241
|
side: "below",
|
|
@@ -17242,13 +17249,13 @@ function LE(e, t, n = IE) {
|
|
|
17242
17249
|
}
|
|
17243
17250
|
//#endregion
|
|
17244
17251
|
//#region src/components/CheckboxOption.vue?vue&type=script&setup=true&lang.ts
|
|
17245
|
-
var
|
|
17252
|
+
var HE = { class: "checkbox-option" }, UE = {
|
|
17246
17253
|
"aria-hidden": "true",
|
|
17247
17254
|
class: "box"
|
|
17248
|
-
},
|
|
17255
|
+
}, WE = {
|
|
17249
17256
|
key: 0,
|
|
17250
17257
|
class: "mark"
|
|
17251
|
-
},
|
|
17258
|
+
}, GE = /*#__PURE__*/ Xw(/* @__PURE__ */ p({
|
|
17252
17259
|
__name: "CheckboxOption",
|
|
17253
17260
|
props: /*@__PURE__*/ h({ label: { type: String } }, {
|
|
17254
17261
|
modelValue: {
|
|
@@ -17260,20 +17267,20 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17260
17267
|
emits: ["update:modelValue"],
|
|
17261
17268
|
setup(t) {
|
|
17262
17269
|
let n = b(t, "modelValue");
|
|
17263
|
-
return (i, a) => (y(), e("label",
|
|
17270
|
+
return (i, a) => (y(), e("label", HE, [
|
|
17264
17271
|
de(r("input", {
|
|
17265
17272
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
17266
17273
|
class: "checkbox-input",
|
|
17267
17274
|
type: "checkbox"
|
|
17268
17275
|
}, null, 512), [[C, n.value]]),
|
|
17269
|
-
r("span",
|
|
17276
|
+
r("span", UE, [n.value ? (y(), e("span", WE)) : ie("", !0)]),
|
|
17270
17277
|
re(" " + w(t.label), 1)
|
|
17271
17278
|
]));
|
|
17272
17279
|
}
|
|
17273
|
-
}), [["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"]]),
|
|
17280
|
+
}), [["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"]]), KE = ["for"], qE = { class: "field-shell" }, JE = {
|
|
17274
17281
|
key: 0,
|
|
17275
17282
|
class: "field-trailing"
|
|
17276
|
-
},
|
|
17283
|
+
}, YE = /*#__PURE__*/ Xw(/* @__PURE__ */ p({
|
|
17277
17284
|
__name: "FieldShell",
|
|
17278
17285
|
props: {
|
|
17279
17286
|
disabled: {
|
|
@@ -17294,9 +17301,9 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17294
17301
|
key: 0,
|
|
17295
17302
|
class: "field-label",
|
|
17296
17303
|
for: t.labelFor
|
|
17297
|
-
}, w(t.label), 9,
|
|
17304
|
+
}, w(t.label), 9, KE)) : ie("", !0), r("div", qE, [ce(n.$slots, "default", {}, void 0, !0), n.$slots.trailing ? (y(), e("div", JE, [ce(n.$slots, "trailing", {}, void 0, !0)])) : ie("", !0)])], 2));
|
|
17298
17305
|
}
|
|
17299
|
-
}), [["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"]]),
|
|
17306
|
+
}), [["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"]]), XE = ["id", "disabled"], ZE = /*#__PURE__*/ Xw(/* @__PURE__ */ p({
|
|
17300
17307
|
inheritAttrs: !1,
|
|
17301
17308
|
__name: "TextInput",
|
|
17302
17309
|
props: /*@__PURE__*/ h({
|
|
@@ -17318,7 +17325,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17318
17325
|
return t({
|
|
17319
17326
|
focus: () => o.value?.focus(),
|
|
17320
17327
|
select: () => o.value?.select()
|
|
17321
|
-
}), (t, s) => (y(), f(
|
|
17328
|
+
}), (t, s) => (y(), f(YE, {
|
|
17322
17329
|
disabled: e.disabled,
|
|
17323
17330
|
label: i.label,
|
|
17324
17331
|
"label-for": se(a)
|
|
@@ -17331,7 +17338,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17331
17338
|
class: "field-input",
|
|
17332
17339
|
type: "text",
|
|
17333
17340
|
disabled: e.disabled
|
|
17334
|
-
}, t.$attrs), null, 16,
|
|
17341
|
+
}, t.$attrs), null, 16, XE), [[me, n.value]])]),
|
|
17335
17342
|
_: 1
|
|
17336
17343
|
}, 8, [
|
|
17337
17344
|
"disabled",
|
|
@@ -17339,27 +17346,27 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17339
17346
|
"label-for"
|
|
17340
17347
|
]));
|
|
17341
17348
|
}
|
|
17342
|
-
}), [["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"]]),
|
|
17349
|
+
}), [["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"]]), QE = {
|
|
17343
17350
|
key: 0,
|
|
17344
17351
|
class: "picker-label"
|
|
17345
|
-
},
|
|
17352
|
+
}, $E = [
|
|
17346
17353
|
"popovertarget",
|
|
17347
17354
|
"aria-expanded",
|
|
17348
17355
|
"aria-label"
|
|
17349
|
-
],
|
|
17356
|
+
], eD = {
|
|
17350
17357
|
key: 0,
|
|
17351
17358
|
class: "value"
|
|
17352
|
-
},
|
|
17359
|
+
}, tD = ["id", "aria-label"], nD = ["id"], rD = ["aria-label", "aria-labelledby"], iD = [
|
|
17353
17360
|
"aria-checked",
|
|
17354
17361
|
"aria-label",
|
|
17355
17362
|
"tabindex",
|
|
17356
17363
|
"onClick",
|
|
17357
17364
|
"onKeydown"
|
|
17358
|
-
],
|
|
17365
|
+
], aD = [
|
|
17359
17366
|
"aria-label",
|
|
17360
17367
|
"aria-valuenow",
|
|
17361
17368
|
"aria-valuetext"
|
|
17362
|
-
],
|
|
17369
|
+
], oD = ["aria-label", "aria-valuenow"], sD = /*#__PURE__*/ Xw(/* @__PURE__ */ p({
|
|
17363
17370
|
__name: "ColorPicker",
|
|
17364
17371
|
props: /*@__PURE__*/ h({
|
|
17365
17372
|
label: { type: String },
|
|
@@ -17381,7 +17388,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17381
17388
|
}),
|
|
17382
17389
|
emits: ["update:modelValue"],
|
|
17383
17390
|
setup(t) {
|
|
17384
|
-
let a = b(t, "modelValue"), { t: o } =
|
|
17391
|
+
let a = b(t, "modelValue"), { t: o } = AE(), s = u(NE, void 0), c = i(() => {
|
|
17385
17392
|
let e = s?.value;
|
|
17386
17393
|
return [{
|
|
17387
17394
|
key: "global",
|
|
@@ -17592,7 +17599,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17592
17599
|
if (e.newState !== "open") return;
|
|
17593
17600
|
let t = re.value, n = ae.value;
|
|
17594
17601
|
if (!(t && n)) return;
|
|
17595
|
-
let r = t.getBoundingClientRect(), i =
|
|
17602
|
+
let r = t.getBoundingClientRect(), i = VE(r, window.innerHeight);
|
|
17596
17603
|
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`;
|
|
17597
17604
|
}
|
|
17598
17605
|
function Le(e) {
|
|
@@ -17617,7 +17624,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17617
17624
|
t instanceof Node && ae.value?.contains(t) || ae.value?.matches(":popover-open") && ae.value.hidePopover();
|
|
17618
17625
|
}
|
|
17619
17626
|
return v(O), (i, a) => (y(), e("div", { class: oe(["color-picker", { "has-label": t.label && !t.compact }]) }, [
|
|
17620
|
-
t.label && !t.compact ? (y(), e("span",
|
|
17627
|
+
t.label && !t.compact ? (y(), e("span", QE, w(t.label), 1)) : ie("", !0),
|
|
17621
17628
|
r("button", {
|
|
17622
17629
|
ref_key: "trigger",
|
|
17623
17630
|
ref: re,
|
|
@@ -17631,7 +17638,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17631
17638
|
}, [r("span", {
|
|
17632
17639
|
class: oe(["swatch", { checker: ue.value }]),
|
|
17633
17640
|
style: te(ue.value ? {} : { backgroundColor: de.value })
|
|
17634
|
-
}, null, 6), t.compact ? ie("", !0) : (y(), e("span",
|
|
17641
|
+
}, null, 6), t.compact ? ie("", !0) : (y(), e("span", eD, w(pe.value), 1))], 42, $E),
|
|
17635
17642
|
r("div", {
|
|
17636
17643
|
id: se(g),
|
|
17637
17644
|
ref_key: "popover",
|
|
@@ -17652,7 +17659,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17652
17659
|
key: 0,
|
|
17653
17660
|
id: `${se(g)}-${t.key}`,
|
|
17654
17661
|
class: "palette-heading"
|
|
17655
|
-
}, w(t.label), 9,
|
|
17662
|
+
}, w(t.label), 9, nD)) : ie("", !0), r("div", {
|
|
17656
17663
|
class: "palette",
|
|
17657
17664
|
role: "radiogroup",
|
|
17658
17665
|
"aria-label": p.value ? void 0 : t.label,
|
|
@@ -17670,7 +17677,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17670
17677
|
style: te({ backgroundColor: t }),
|
|
17671
17678
|
onClick: (e) => Ae(t),
|
|
17672
17679
|
onKeydown: (e) => je(e, i, n)
|
|
17673
|
-
}, null, 46,
|
|
17680
|
+
}, null, 46, iD))), 128))], 8, rD)]))), 128)),
|
|
17674
17681
|
h.value ? ie("", !0) : (y(), e(n, { key: 0 }, [r("div", {
|
|
17675
17682
|
ref_key: "svArea",
|
|
17676
17683
|
ref: ce,
|
|
@@ -17692,7 +17699,7 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17692
17699
|
top: `${(1 - E.value) * 100}%`,
|
|
17693
17700
|
backgroundColor: _e.value
|
|
17694
17701
|
})
|
|
17695
|
-
}, null, 4)], 44,
|
|
17702
|
+
}, null, 4)], 44, aD), r("div", {
|
|
17696
17703
|
class: "hue-track",
|
|
17697
17704
|
role: "slider",
|
|
17698
17705
|
tabindex: "0",
|
|
@@ -17705,8 +17712,8 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17705
17712
|
}, [r("div", {
|
|
17706
17713
|
class: "hue-thumb",
|
|
17707
17714
|
style: te({ left: `${C.value / 360 * 100}%` })
|
|
17708
|
-
}, null, 4)], 40,
|
|
17709
|
-
h.value ? ie("", !0) : (y(), f(
|
|
17715
|
+
}, null, 4)], 40, oD)], 64)),
|
|
17716
|
+
h.value ? ie("", !0) : (y(), f(ZE, {
|
|
17710
17717
|
key: 1,
|
|
17711
17718
|
modelValue: D.value,
|
|
17712
17719
|
"onUpdate:modelValue": a[0] ||= (e) => D.value = e,
|
|
@@ -17722,17 +17729,17 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17722
17729
|
"aria-label",
|
|
17723
17730
|
"aria-invalid"
|
|
17724
17731
|
])),
|
|
17725
|
-
t.allowTransparent ? (y(), f(
|
|
17732
|
+
t.allowTransparent ? (y(), f(GE, {
|
|
17726
17733
|
key: 2,
|
|
17727
17734
|
class: "transparent-toggle",
|
|
17728
17735
|
label: se(o)("colorPicker.transparent"),
|
|
17729
17736
|
"model-value": ue.value,
|
|
17730
17737
|
"onUpdate:modelValue": Fe
|
|
17731
17738
|
}, null, 8, ["label", "model-value"])) : ie("", !0)
|
|
17732
|
-
], 40,
|
|
17739
|
+
], 40, tD)
|
|
17733
17740
|
], 2));
|
|
17734
17741
|
}
|
|
17735
|
-
}), [["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"]]),
|
|
17742
|
+
}), [["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"]]), cD = { class: "select-wrap" }, lD = ["id", "disabled"], uD = /*#__PURE__*/ Xw(/* @__PURE__ */ p({
|
|
17736
17743
|
inheritAttrs: !1,
|
|
17737
17744
|
__name: "SelectInput",
|
|
17738
17745
|
props: /*@__PURE__*/ h({
|
|
@@ -17757,19 +17764,19 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17757
17764
|
let a = b(n, "modelValue"), o = n, s = x(), c = i(() => a.value === "" && !o.emptyIsValue), l = S("select");
|
|
17758
17765
|
return m(a, async (e) => {
|
|
17759
17766
|
await t(), l.value && l.value.value !== e && (l.value.value = e);
|
|
17760
|
-
}), (t, i) => (y(), e("div", { class: oe(["select-input", { "is-empty": c.value }]) }, [d(
|
|
17767
|
+
}), (t, i) => (y(), e("div", { class: oe(["select-input", { "is-empty": c.value }]) }, [d(YE, {
|
|
17761
17768
|
disabled: n.disabled,
|
|
17762
17769
|
label: o.label,
|
|
17763
17770
|
"label-for": se(s)
|
|
17764
17771
|
}, {
|
|
17765
|
-
default: ee(() => [r("span",
|
|
17772
|
+
default: ee(() => [r("span", cD, [de(r("select", he({
|
|
17766
17773
|
id: se(s),
|
|
17767
17774
|
ref_key: "select",
|
|
17768
17775
|
ref: l,
|
|
17769
17776
|
"onUpdate:modelValue": i[0] ||= (e) => a.value = e,
|
|
17770
17777
|
class: "field-select",
|
|
17771
17778
|
disabled: n.disabled
|
|
17772
|
-
}, t.$attrs), [ce(t.$slots, "default", {}, void 0, !0)], 16,
|
|
17779
|
+
}, t.$attrs), [ce(t.$slots, "default", {}, void 0, !0)], 16, lD), [[pe, a.value]]), d(EE, {
|
|
17773
17780
|
class: "chevron",
|
|
17774
17781
|
name: "chevron-down",
|
|
17775
17782
|
size: 12
|
|
@@ -17784,14 +17791,14 @@ var RE = { class: "checkbox-option" }, zE = {
|
|
|
17784
17791
|
}), [["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"]]);
|
|
17785
17792
|
//#endregion
|
|
17786
17793
|
//#region src/composables/useBrandCustomFonts.ts
|
|
17787
|
-
function
|
|
17788
|
-
let e = u(
|
|
17789
|
-
return i(() =>
|
|
17794
|
+
function dD() {
|
|
17795
|
+
let e = u(NE, void 0);
|
|
17796
|
+
return i(() => Zw(e?.value.customFonts ?? []));
|
|
17790
17797
|
}
|
|
17791
17798
|
//#endregion
|
|
17792
17799
|
//#region src/composables/useBrandFonts.ts
|
|
17793
|
-
function
|
|
17794
|
-
let t = u(
|
|
17800
|
+
function fD(e) {
|
|
17801
|
+
let t = u(NE, void 0);
|
|
17795
17802
|
return i(() => {
|
|
17796
17803
|
let n = t?.value.fonts ?? [];
|
|
17797
17804
|
if (n.length === 0) return Ci;
|
|
@@ -17805,25 +17812,25 @@ function cD(e) {
|
|
|
17805
17812
|
}
|
|
17806
17813
|
//#endregion
|
|
17807
17814
|
//#region src/i18n/locales.ts
|
|
17808
|
-
var
|
|
17809
|
-
function
|
|
17810
|
-
return
|
|
17815
|
+
var pD = ["en", "sv"], mD = "sv";
|
|
17816
|
+
function hD(e) {
|
|
17817
|
+
return pD.includes(e);
|
|
17811
17818
|
}
|
|
17812
17819
|
//#endregion
|
|
17813
17820
|
//#region src/mergeTags.ts
|
|
17814
|
-
function
|
|
17821
|
+
function gD(e) {
|
|
17815
17822
|
return Object.keys(e).filter((t) => !e[t]?.conditionOnly);
|
|
17816
17823
|
}
|
|
17817
|
-
function
|
|
17824
|
+
function _D(e, t, n) {
|
|
17818
17825
|
let r = e[t];
|
|
17819
17826
|
return r ? r[n] ?? r.sv ?? t : t;
|
|
17820
17827
|
}
|
|
17821
17828
|
//#endregion
|
|
17822
17829
|
//#region src/urls.ts
|
|
17823
|
-
var
|
|
17824
|
-
function
|
|
17830
|
+
var vD = /^[a-z][a-z0-9+.-]*:/i, yD = /^[\p{L}\p{N}]/u;
|
|
17831
|
+
function bD(e) {
|
|
17825
17832
|
let t = e.trim();
|
|
17826
|
-
return
|
|
17833
|
+
return Yw(t) === void 0 ? "" : vD.test(t) || !yD.test(t) ? t : `https://${t}`;
|
|
17827
17834
|
}
|
|
17828
17835
|
//#endregion
|
|
17829
|
-
export {
|
|
17836
|
+
export { Pw as $, sa as $t, sT as A, si as An, cm as At, ww as B, $r as Bn, R as Bt, IE as C, Pi as Cn, B_ as Ct, EE as D, ki as Dn, mg as Dt, kE as E, wi as En, W as Et, Vw as F, vi as Fn, Nc as Ft, dw as G, ua as Gt, jw as H, ei as Hn, Bi as Ht, Uw as I, _i as In, V as It, zw as J, Qi as Jt, uw as K, da as Kt, sw as L, ni as Ln, H as Lt, Yw as M, oi as Mn, cp as Mt, Ww as N, xi as Nn, U as Nt, $w as O, Ti as On, hg as Ot, Hw as P, yi as Pn, Ac as Pt, Nw as Q, Ui as Qt, iw as R, ri as Rn, cs as Rt, FE as S, ia as Sn, K as St, OE as T, Fi as Tn, Jg as Tt, Aw as U, Br as Un, ca as Ut, Ow as V, ti as Vn, B as Vt, Dw as W, Vr as Wn, la as Wt, Lw as X, Xi as Xt, Iw as Y, Zi as Yt, Fw as Z, na as Zt, PE as _, Sa as _n, rC as _t, pD as a, ya as an, yw as at, RE as b, Yi as bn, eb as bt, dD as c, _a as cn, Mw as ct, ZE as d, Gi as dn, EC as dt, Ki as en, Tw as et, YE as f, $i as fn, cC as ft, LE as g, Hi as gn, sC as gt, VE as h, ba as hn, nC as ht, mD as i, Ca as in, xw as it, Xw as j, ai as jn, ap as jt, Zw as k, Ei as kn, gg as kt, uD as l, Ta as ln, hw as lt, zE as m, ra as mn, nw as mt, gD as n, qi as nn, vw as nt, hD as o, xa as on, gw as ot, GE as p, ta as pn, tw as pt, rw as q, Wi as qt, _D as r, va as rn, _w as rt, fD as s, ga as sn, Cw as st, bD as t, Vi as tn, Ew as tt, sD as u, ea as un, MC as ut, NE as v, oa as vn, oC as vt, AE as w, Ri as wn, G as wt, ME as x, aa as xn, I_ as xt, jE as y, wa as yn, tb as yt, Sw as z, ii as zn, Ws as zt };
|