@glasshome/ui 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SPEC.md +2 -1
- package/dist/solid/index.d.ts +1 -1
- package/dist/solid/index.js +514 -472
- package/dist/solid/section-card.d.ts +17 -1
- package/package.json +1 -1
- package/scripts/check-ui-drift.mjs +5 -0
- package/src/styles/theme.css +12 -0
package/dist/solid/index.js
CHANGED
|
@@ -15606,13 +15606,13 @@ var kC = /*#__PURE__*/ K("<nav aria-label=pagination data-slot=pagination>"), AC
|
|
|
15606
15606
|
class: "size-4"
|
|
15607
15607
|
}), r), e;
|
|
15608
15608
|
})();
|
|
15609
|
-
}, UC = /*#__PURE__*/ K("<div data-slot=section-card-actions class=\"flex shrink-0 items-center gap-2\">"), WC = /*#__PURE__*/ K("<header data-slot=section-card-header><div data-slot=section-card-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=section-card-headline class=\"flex min-w-0 items-center gap-2 sm:gap-3\">"), GC = /*#__PURE__*/ K("<div data-slot=section-card-toolbar>"), KC = /*#__PURE__*/ K("<div data-slot=section-card-body>"), qC = /*#__PURE__*/ K("<section data-slot=section-card>"), JC = /*#__PURE__*/ K("<div data-slot=section-row>"), YC = /*#__PURE__*/ K("<button type=button class=\"absolute inset-0 rounded-[inherit] outline-none\">"), XC = /*#__PURE__*/ K("<span class=\"flex shrink-0 items-center gap-2\">"), ZC = /*#__PURE__*/ K("<p class=\"
|
|
15609
|
+
}, UC = /*#__PURE__*/ K("<div data-slot=section-card-actions class=\"flex shrink-0 items-center gap-2\">"), WC = /*#__PURE__*/ K("<header data-slot=section-card-header><div data-slot=section-card-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=section-card-headline class=\"flex min-w-0 items-center gap-2 sm:gap-3\">"), GC = /*#__PURE__*/ K("<div data-slot=section-card-toolbar>"), KC = /*#__PURE__*/ K("<div data-slot=section-card-body>"), qC = /*#__PURE__*/ K("<section data-slot=section-card>"), JC = /*#__PURE__*/ K("<div data-slot=section-row>"), YC = /*#__PURE__*/ K("<button type=button class=\"absolute inset-0 rounded-[inherit] outline-none\">"), XC = /*#__PURE__*/ K("<span class=\"flex shrink-0 items-center gap-2\">"), ZC = /*#__PURE__*/ K("<p class=\"mt-1 truncate text-muted-foreground text-xs\">"), QC = /*#__PURE__*/ K("<div class=\"min-w-[9rem] flex-1\"><div class=\"flex min-w-0 items-center gap-2\"><p class=\"truncate font-semibold text-sm leading-tight\">"), $C = /*#__PURE__*/ K("<div class=\"shrink-0 text-muted-foreground text-xs\">"), ew = /*#__PURE__*/ K("<div class=\"relative flex shrink-0 items-center gap-1\">"), tw = /*#__PURE__*/ K("<a class=\"absolute inset-0 rounded-[inherit] outline-none\"><span class=sr-only>"), nw = /*#__PURE__*/ K("<span data-slot=section-icon>"), rw = /*#__PURE__*/ K("<h2 data-slot=section-title>"), iw = /*#__PURE__*/ K("<h3 data-slot=section-subtitle>"), aw = /*#__PURE__*/ K("<section data-slot=section-group><header data-slot=section-group-header class=\"mb-2 flex flex-wrap items-center justify-between gap-2\"><div data-slot=section-group-heading class=\"flex min-w-0 items-center gap-2\">"), ow = /*#__PURE__*/ K("<p data-slot=section-meta>"), sw = /*#__PURE__*/ K("<div data-slot=section-row-skeleton aria-hidden=true>"), cw = /*#__PURE__*/ K("<div data-slot=section-row-skeletons class=\"flex flex-col gap-2\"aria-busy=true>"), lw = {
|
|
15610
15610
|
ref: () => {},
|
|
15611
15611
|
style: () => ({}),
|
|
15612
15612
|
active: () => !1
|
|
15613
15613
|
};
|
|
15614
|
-
function
|
|
15615
|
-
let t = () => e.glass ??
|
|
15614
|
+
function uw(e) {
|
|
15615
|
+
let t = () => e.glass ?? lw, n = () => t().active?.() ?? !1, r = () => e.icon != null || e.title != null || e.action != null || e.count != null, i = lt(() => e.children), a = () => i.toArray().some((e) => e != null && e !== !1);
|
|
15616
15616
|
return (() => {
|
|
15617
15617
|
var o = qC(), s = t().ref;
|
|
15618
15618
|
return typeof s == "function" ? At(s, o) : t().ref = o, V(o, z(k, {
|
|
@@ -15625,7 +15625,7 @@ function cw(e) {
|
|
|
15625
15625
|
get when() {
|
|
15626
15626
|
return e.icon;
|
|
15627
15627
|
},
|
|
15628
|
-
children: (e) => z(
|
|
15628
|
+
children: (e) => z(hw, { get icon() {
|
|
15629
15629
|
return e();
|
|
15630
15630
|
} })
|
|
15631
15631
|
}), n), V(r, z(k, {
|
|
@@ -15633,7 +15633,7 @@ function cw(e) {
|
|
|
15633
15633
|
return e.title;
|
|
15634
15634
|
},
|
|
15635
15635
|
get children() {
|
|
15636
|
-
return z(
|
|
15636
|
+
return z(gw, { get children() {
|
|
15637
15637
|
return e.title;
|
|
15638
15638
|
} });
|
|
15639
15639
|
}
|
|
@@ -15651,7 +15651,7 @@ function cw(e) {
|
|
|
15651
15651
|
return e.subtitle;
|
|
15652
15652
|
},
|
|
15653
15653
|
get children() {
|
|
15654
|
-
return z(
|
|
15654
|
+
return z(xw, {
|
|
15655
15655
|
get class() {
|
|
15656
15656
|
return e.subtitleClass;
|
|
15657
15657
|
},
|
|
@@ -15696,7 +15696,7 @@ function cw(e) {
|
|
|
15696
15696
|
}), o;
|
|
15697
15697
|
})();
|
|
15698
15698
|
}
|
|
15699
|
-
function
|
|
15699
|
+
function dw(e) {
|
|
15700
15700
|
let [t, n] = I(e, ["class", "interactive"]);
|
|
15701
15701
|
return (() => {
|
|
15702
15702
|
var e = JC();
|
|
@@ -15705,10 +15705,11 @@ function lw(e) {
|
|
|
15705
15705
|
} }, n), !1, !1), e;
|
|
15706
15706
|
})();
|
|
15707
15707
|
}
|
|
15708
|
-
function
|
|
15709
|
-
|
|
15708
|
+
function fw(e) {
|
|
15709
|
+
let t = () => e.onOpen !== void 0 || e.href !== void 0;
|
|
15710
|
+
return z(dw, {
|
|
15710
15711
|
get interactive() {
|
|
15711
|
-
return
|
|
15712
|
+
return t();
|
|
15712
15713
|
},
|
|
15713
15714
|
get class() {
|
|
15714
15715
|
return O("@container/list-row relative flex items-center gap-3", e.class);
|
|
@@ -15717,7 +15718,16 @@ function uw(e) {
|
|
|
15717
15718
|
return [
|
|
15718
15719
|
z(k, {
|
|
15719
15720
|
get when() {
|
|
15720
|
-
return e.
|
|
15721
|
+
return e.href;
|
|
15722
|
+
},
|
|
15723
|
+
children: (t) => (() => {
|
|
15724
|
+
var n = tw(), r = n.firstChild;
|
|
15725
|
+
return V(r, () => e.openLabel), B(() => W(n, "href", t())), n;
|
|
15726
|
+
})()
|
|
15727
|
+
}),
|
|
15728
|
+
z(k, {
|
|
15729
|
+
get when() {
|
|
15730
|
+
return H(() => e.href === void 0)() && e.onOpen;
|
|
15721
15731
|
},
|
|
15722
15732
|
get children() {
|
|
15723
15733
|
var t = YC();
|
|
@@ -15765,14 +15775,14 @@ function uw(e) {
|
|
|
15765
15775
|
}),
|
|
15766
15776
|
z(k, {
|
|
15767
15777
|
get when() {
|
|
15768
|
-
return H(() =>
|
|
15778
|
+
return H(() => !!t())() && e.actions === void 0;
|
|
15769
15779
|
},
|
|
15770
15780
|
get children() {
|
|
15771
15781
|
return z(Q, {
|
|
15772
15782
|
icon: "lucide:chevron-right",
|
|
15773
15783
|
width: 16,
|
|
15774
15784
|
height: 16,
|
|
15775
|
-
class: "text-muted-foreground
|
|
15785
|
+
class: "shrink-0 text-muted-foreground",
|
|
15776
15786
|
"aria-hidden": "true"
|
|
15777
15787
|
});
|
|
15778
15788
|
}
|
|
@@ -15781,21 +15791,21 @@ function uw(e) {
|
|
|
15781
15791
|
}
|
|
15782
15792
|
});
|
|
15783
15793
|
}
|
|
15784
|
-
var
|
|
15794
|
+
var pw = {
|
|
15785
15795
|
sm: "size-7 [&>iconify-icon]:text-[16px]",
|
|
15786
15796
|
md: "size-10 sm:size-11 [&>iconify-icon]:text-[20px] sm:[&>iconify-icon]:text-[22px]",
|
|
15787
15797
|
lg: "size-12 sm:size-14 [&>iconify-icon]:text-[24px] sm:[&>iconify-icon]:text-[28px]"
|
|
15788
|
-
},
|
|
15798
|
+
}, mw = {
|
|
15789
15799
|
neutral: void 0,
|
|
15790
15800
|
primary: "var(--primary)"
|
|
15791
15801
|
};
|
|
15792
|
-
function
|
|
15802
|
+
function hw(e) {
|
|
15793
15803
|
let t = () => {
|
|
15794
15804
|
let t = e.tone;
|
|
15795
|
-
if (t != null) return t in
|
|
15805
|
+
if (t != null) return t in mw ? mw[t] : t;
|
|
15796
15806
|
};
|
|
15797
15807
|
return (() => {
|
|
15798
|
-
var n =
|
|
15808
|
+
var n = nw();
|
|
15799
15809
|
return V(n, z(k, {
|
|
15800
15810
|
get when() {
|
|
15801
15811
|
return e.children;
|
|
@@ -15809,7 +15819,7 @@ function pw(e) {
|
|
|
15809
15819
|
return e.children;
|
|
15810
15820
|
}
|
|
15811
15821
|
})), B((r) => {
|
|
15812
|
-
var i = O(t() ? we : `${Ee} text-foreground/80`, Ke,
|
|
15822
|
+
var i = O(t() ? we : `${Ee} text-foreground/80`, Ke, pw[e.size ?? "md"], e.class), a = t() ? { "--glass-tone": t() } : void 0;
|
|
15813
15823
|
return i !== r.e && R(n, r.e = i), r.t = kt(n, a, r.t), r;
|
|
15814
15824
|
}, {
|
|
15815
15825
|
e: void 0,
|
|
@@ -15817,20 +15827,52 @@ function pw(e) {
|
|
|
15817
15827
|
}), n;
|
|
15818
15828
|
})();
|
|
15819
15829
|
}
|
|
15820
|
-
function
|
|
15830
|
+
function gw(e) {
|
|
15821
15831
|
return (() => {
|
|
15822
|
-
var t =
|
|
15832
|
+
var t = rw();
|
|
15823
15833
|
return V(t, () => e.children), B(() => R(t, O("truncate font-bold text-foreground text-lg tracking-tight sm:text-xl", e.class))), t;
|
|
15824
15834
|
})();
|
|
15825
15835
|
}
|
|
15826
|
-
function
|
|
15836
|
+
function _w(e) {
|
|
15827
15837
|
return (() => {
|
|
15828
|
-
var t =
|
|
15838
|
+
var t = iw();
|
|
15829
15839
|
return V(t, () => e.children), B(() => R(t, O("font-semibold text-base leading-tight", e.class))), t;
|
|
15830
15840
|
})();
|
|
15831
15841
|
}
|
|
15832
|
-
function
|
|
15842
|
+
function vw(e) {
|
|
15833
15843
|
return z(_w, {
|
|
15844
|
+
get class() {
|
|
15845
|
+
return e.class;
|
|
15846
|
+
},
|
|
15847
|
+
get children() {
|
|
15848
|
+
return e.children;
|
|
15849
|
+
}
|
|
15850
|
+
});
|
|
15851
|
+
}
|
|
15852
|
+
function yw(e) {
|
|
15853
|
+
return (() => {
|
|
15854
|
+
var t = aw(), n = t.firstChild, r = n.firstChild;
|
|
15855
|
+
return V(r, z(hw, {
|
|
15856
|
+
get icon() {
|
|
15857
|
+
return e.icon;
|
|
15858
|
+
},
|
|
15859
|
+
size: "sm"
|
|
15860
|
+
}), null), V(r, z(_w, { get children() {
|
|
15861
|
+
return e.label;
|
|
15862
|
+
} }), null), V(r, z(k, {
|
|
15863
|
+
get when() {
|
|
15864
|
+
return e.count;
|
|
15865
|
+
},
|
|
15866
|
+
get children() {
|
|
15867
|
+
return z(Mv, { get children() {
|
|
15868
|
+
return e.count;
|
|
15869
|
+
} });
|
|
15870
|
+
}
|
|
15871
|
+
}), null), V(n, () => e.action, null), V(t, () => e.children, null), B(() => R(t, O("mt-7 first:mt-3", e.class))), t;
|
|
15872
|
+
})();
|
|
15873
|
+
}
|
|
15874
|
+
function bw(e) {
|
|
15875
|
+
return z(xw, {
|
|
15834
15876
|
get class() {
|
|
15835
15877
|
return O("font-medium", e.class);
|
|
15836
15878
|
},
|
|
@@ -15839,33 +15881,33 @@ function gw(e) {
|
|
|
15839
15881
|
}
|
|
15840
15882
|
});
|
|
15841
15883
|
}
|
|
15842
|
-
function
|
|
15884
|
+
function xw(e) {
|
|
15843
15885
|
return (() => {
|
|
15844
|
-
var t =
|
|
15886
|
+
var t = ow();
|
|
15845
15887
|
return V(t, () => e.children), B(() => R(t, O("text-muted-foreground text-xs", e.class))), t;
|
|
15846
15888
|
})();
|
|
15847
15889
|
}
|
|
15848
|
-
function
|
|
15890
|
+
function Sw(e) {
|
|
15849
15891
|
return (() => {
|
|
15850
|
-
var t =
|
|
15892
|
+
var t = sw();
|
|
15851
15893
|
return B(() => R(t, O(ne, Ke, "h-14 animate-pulse [--glass-rim:0.15]", e.class))), t;
|
|
15852
15894
|
})();
|
|
15853
15895
|
}
|
|
15854
|
-
function
|
|
15896
|
+
function Cw(e) {
|
|
15855
15897
|
let t = e.count ?? 3;
|
|
15856
15898
|
return (() => {
|
|
15857
|
-
var e =
|
|
15858
|
-
return V(e, () => Array.from({ length: t }, () => z(
|
|
15899
|
+
var e = cw();
|
|
15900
|
+
return V(e, () => Array.from({ length: t }, () => z(Sw, {}))), e;
|
|
15859
15901
|
})();
|
|
15860
15902
|
}
|
|
15861
15903
|
wt(["click"]);
|
|
15862
15904
|
//#endregion
|
|
15863
15905
|
//#region src/solid/image-picker.tsx
|
|
15864
|
-
var
|
|
15865
|
-
function
|
|
15906
|
+
var ww = /*#__PURE__*/ K("<div data-slot=image-picker>"), Tw = /*#__PURE__*/ K("<img alt width=24 height=24 decoding=async class=\"size-6 shrink-0 rounded-sm object-cover\">"), Ew = /*#__PURE__*/ K("<span class=\"flex-1 truncate text-left\">Image selected"), Dw = /*#__PURE__*/ K("<button type=button data-slot=image-picker-trigger>"), Ow = /*#__PURE__*/ K("<div data-slot=image-picker-gallery>"), kw = /*#__PURE__*/ K("<div data-slot=image-picker-body class=\"flex flex-col gap-3 p-3\"><input type=file accept=image/* data-testid=image-upload-input class=hidden>"), Aw = /*#__PURE__*/ K("<span class=\"flex-1 truncate text-left text-muted-foreground\">"), jw = /*#__PURE__*/ K("<div data-slot=image-picker-loading class=\"grid grid-cols-3 gap-2\">");
|
|
15907
|
+
function Mw(e) {
|
|
15866
15908
|
let t = mC();
|
|
15867
15909
|
if (!t) return (() => {
|
|
15868
|
-
var t =
|
|
15910
|
+
var t = ww();
|
|
15869
15911
|
return V(t, z(ua, {
|
|
15870
15912
|
tone: "info",
|
|
15871
15913
|
children: "This dashboard cannot store images."
|
|
@@ -15904,7 +15946,7 @@ function Ow(e) {
|
|
|
15904
15946
|
}
|
|
15905
15947
|
};
|
|
15906
15948
|
return (() => {
|
|
15907
|
-
var i =
|
|
15949
|
+
var i = ww();
|
|
15908
15950
|
return V(i, z(Du, {
|
|
15909
15951
|
surface: "field",
|
|
15910
15952
|
get open() {
|
|
@@ -15916,7 +15958,7 @@ function Ow(e) {
|
|
|
15916
15958
|
return [z(Au, {
|
|
15917
15959
|
as: "div",
|
|
15918
15960
|
get children() {
|
|
15919
|
-
var r =
|
|
15961
|
+
var r = Dw();
|
|
15920
15962
|
return r.$$click = () => D(!n()), R(r, $e), V(r, z(k, {
|
|
15921
15963
|
get when() {
|
|
15922
15964
|
return H(() => !u())() && e.value;
|
|
@@ -15930,15 +15972,15 @@ function Ow(e) {
|
|
|
15930
15972
|
height: 18,
|
|
15931
15973
|
class: "shrink-0 text-muted-foreground"
|
|
15932
15974
|
}), (() => {
|
|
15933
|
-
var e =
|
|
15975
|
+
var e = Aw();
|
|
15934
15976
|
return V(e, () => u() ? "Image unavailable" : "Choose image"), e;
|
|
15935
15977
|
})()];
|
|
15936
15978
|
},
|
|
15937
15979
|
get children() {
|
|
15938
15980
|
return [(() => {
|
|
15939
|
-
var n =
|
|
15981
|
+
var n = Tw();
|
|
15940
15982
|
return n.addEventListener("error", () => d(!0)), B(() => W(n, "src", t.url(e.value))), n;
|
|
15941
|
-
})(),
|
|
15983
|
+
})(), Ew()];
|
|
15942
15984
|
}
|
|
15943
15985
|
}), null), V(r, z(Q, {
|
|
15944
15986
|
icon: "lucide:chevron-down",
|
|
@@ -15957,7 +15999,7 @@ function Ow(e) {
|
|
|
15957
15999
|
class: "min-w-72",
|
|
15958
16000
|
onInteractOutside: () => r(!1),
|
|
15959
16001
|
get children() {
|
|
15960
|
-
var t =
|
|
16002
|
+
var t = kw(), n = t.firstChild;
|
|
15961
16003
|
V(t, z(k, {
|
|
15962
16004
|
get when() {
|
|
15963
16005
|
return o();
|
|
@@ -15972,7 +16014,7 @@ function Ow(e) {
|
|
|
15972
16014
|
}), n), V(t, z(ct, {
|
|
15973
16015
|
get fallback() {
|
|
15974
16016
|
return (() => {
|
|
15975
|
-
var e =
|
|
16017
|
+
var e = jw();
|
|
15976
16018
|
return V(e, z(at, {
|
|
15977
16019
|
each: [
|
|
15978
16020
|
0,
|
|
@@ -16054,7 +16096,7 @@ function Ow(e) {
|
|
|
16054
16096
|
},
|
|
16055
16097
|
get children() {
|
|
16056
16098
|
return [(() => {
|
|
16057
|
-
var t =
|
|
16099
|
+
var t = Ow();
|
|
16058
16100
|
return V(t, z(at, {
|
|
16059
16101
|
get each() {
|
|
16060
16102
|
return E();
|
|
@@ -16108,7 +16150,7 @@ function Ow(e) {
|
|
|
16108
16150
|
z(RC, {
|
|
16109
16151
|
"data-testid": "image-picker-page-label",
|
|
16110
16152
|
get children() {
|
|
16111
|
-
return z(
|
|
16153
|
+
return z(xw, { get children() {
|
|
16112
16154
|
return [
|
|
16113
16155
|
"Page ",
|
|
16114
16156
|
H(() => T() + 1),
|
|
@@ -16143,7 +16185,7 @@ function Ow(e) {
|
|
|
16143
16185
|
get when() {
|
|
16144
16186
|
return S()?.usage;
|
|
16145
16187
|
},
|
|
16146
|
-
children: (e) => z(
|
|
16188
|
+
children: (e) => z(xw, { get children() {
|
|
16147
16189
|
return [
|
|
16148
16190
|
H(() => Pm(e().bytes)),
|
|
16149
16191
|
" of ",
|
|
@@ -16217,15 +16259,15 @@ function Ow(e) {
|
|
|
16217
16259
|
wt(["click"]);
|
|
16218
16260
|
//#endregion
|
|
16219
16261
|
//#region src/solid/input-group.tsx
|
|
16220
|
-
var
|
|
16262
|
+
var Nw = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), Pw = /*#__PURE__*/ K("<div role=group data-slot=input-group-addon>"), Fw = /*#__PURE__*/ K("<span data-slot=input-group-text>"), Iw = /*#__PURE__*/ K("<input data-slot=input-group-control>"), Lw = /*#__PURE__*/ K("<textarea data-slot=input-group-control>"), Rw = (e) => {
|
|
16221
16263
|
let [t, n] = I(e, ["class"]);
|
|
16222
16264
|
return (() => {
|
|
16223
|
-
var e =
|
|
16265
|
+
var e = Nw();
|
|
16224
16266
|
return G(e, U({ get class() {
|
|
16225
16267
|
return O(`group/input-group relative flex w-full items-center rounded-md ${We} outline-none transition-[color,box-shadow]`, `${Ge.default} min-w-0 has-[>textarea]:h-auto`, "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col", "has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:[--glass-edge:var(--ring)]", "has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[[data-slot][aria-invalid=true]]:[--glass-edge:var(--destructive)]", t.class);
|
|
16226
16268
|
} }, n), !1, !1), e;
|
|
16227
16269
|
})();
|
|
16228
|
-
},
|
|
16270
|
+
}, zw = S({
|
|
16229
16271
|
base: "flex h-auto cursor-text select-none items-center justify-center gap-2 py-1.5 font-medium text-muted-foreground text-sm group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-sm [&>svg:not([class*='size-'])]:size-4",
|
|
16230
16272
|
variants: { align: {
|
|
16231
16273
|
"inline-start": "order-first pl-3 has-[>button]:pl-1.5 has-[>kbd]:pl-2",
|
|
@@ -16234,10 +16276,10 @@ var kw = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), Aw = /*#__PU
|
|
|
16234
16276
|
"block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3"
|
|
16235
16277
|
} },
|
|
16236
16278
|
defaultVariants: { align: "inline-start" }
|
|
16237
|
-
}),
|
|
16279
|
+
}), Bw = (e) => {
|
|
16238
16280
|
let [t, n] = I(e, ["class", "align"]), r = () => t.align ?? "inline-start";
|
|
16239
16281
|
return (() => {
|
|
16240
|
-
var e =
|
|
16282
|
+
var e = Pw();
|
|
16241
16283
|
return e.$$click = (e) => {
|
|
16242
16284
|
e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
16243
16285
|
}, G(e, U({
|
|
@@ -16245,22 +16287,22 @@ var kw = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), Aw = /*#__PU
|
|
|
16245
16287
|
return r();
|
|
16246
16288
|
},
|
|
16247
16289
|
get class() {
|
|
16248
|
-
return O(
|
|
16290
|
+
return O(zw({ align: r() }), t.class);
|
|
16249
16291
|
}
|
|
16250
16292
|
}, n), !1, !1), e;
|
|
16251
16293
|
})();
|
|
16252
|
-
},
|
|
16294
|
+
}, Vw = `${Ge.sm} gap-1.5 px-2.5 has-[>svg]:px-2.5`, Hw = "size-8 p-0 has-[>svg]:p-0", Uw = S({
|
|
16253
16295
|
base: "flex items-center gap-2 rounded-sm text-sm shadow-none",
|
|
16254
16296
|
variants: { size: {
|
|
16255
|
-
xs:
|
|
16256
|
-
sm:
|
|
16297
|
+
xs: Vw,
|
|
16298
|
+
sm: Vw,
|
|
16257
16299
|
default: `${Ge.default} px-3 has-[>svg]:px-3`,
|
|
16258
|
-
"icon-xs":
|
|
16259
|
-
"icon-sm":
|
|
16300
|
+
"icon-xs": Hw,
|
|
16301
|
+
"icon-sm": Hw,
|
|
16260
16302
|
"icon-default": "size-9 p-0 has-[>svg]:p-0"
|
|
16261
16303
|
} },
|
|
16262
16304
|
defaultVariants: { size: "sm" }
|
|
16263
|
-
}),
|
|
16305
|
+
}), Ww = (e) => {
|
|
16264
16306
|
let [t, n] = I(e, [
|
|
16265
16307
|
"class",
|
|
16266
16308
|
"type",
|
|
@@ -16279,29 +16321,29 @@ var kw = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), Aw = /*#__PU
|
|
|
16279
16321
|
return t.variant ?? "ghost";
|
|
16280
16322
|
},
|
|
16281
16323
|
get class() {
|
|
16282
|
-
return O(
|
|
16324
|
+
return O(Uw({ size: r() }), t.class);
|
|
16283
16325
|
}
|
|
16284
16326
|
}, n));
|
|
16285
|
-
},
|
|
16327
|
+
}, Gw = (e) => {
|
|
16286
16328
|
let [t, n] = I(e, ["class"]);
|
|
16287
16329
|
return (() => {
|
|
16288
|
-
var e =
|
|
16330
|
+
var e = Fw();
|
|
16289
16331
|
return G(e, U({ get class() {
|
|
16290
16332
|
return O("flex items-center gap-2 text-muted-foreground text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none", t.class);
|
|
16291
16333
|
} }, n), !1, !1), e;
|
|
16292
16334
|
})();
|
|
16293
|
-
},
|
|
16335
|
+
}, Kw = (e) => {
|
|
16294
16336
|
let [t, n] = I(e, ["class"]);
|
|
16295
16337
|
return (() => {
|
|
16296
|
-
var e =
|
|
16338
|
+
var e = Iw();
|
|
16297
16339
|
return G(e, U({ get class() {
|
|
16298
16340
|
return O(`${Ge.default} w-full flex-1 rounded-none border-0 bg-transparent px-3 py-1 ${Oe} shadow-none outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`, t.class);
|
|
16299
16341
|
} }, n), !1, !1), e;
|
|
16300
16342
|
})();
|
|
16301
|
-
},
|
|
16343
|
+
}, qw = (e) => {
|
|
16302
16344
|
let [t, n] = I(e, ["class"]);
|
|
16303
16345
|
return (() => {
|
|
16304
|
-
var e =
|
|
16346
|
+
var e = Lw();
|
|
16305
16347
|
return G(e, U({ get class() {
|
|
16306
16348
|
return O(`field-sizing-content min-h-16 w-full flex-1 resize-none rounded-none border-0 bg-transparent px-3 py-2 ${Oe} shadow-none outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`, t.class);
|
|
16307
16349
|
} }, n), !1, !1), e;
|
|
@@ -16310,7 +16352,7 @@ var kw = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), Aw = /*#__PU
|
|
|
16310
16352
|
wt(["click"]);
|
|
16311
16353
|
//#endregion
|
|
16312
16354
|
//#region src/solid/input-otp.tsx
|
|
16313
|
-
var
|
|
16355
|
+
var Jw = /*#__PURE__*/ K("<div data-slot=input-otp><input type=text inputmode=numeric autocomplete=one-time-code>"), Yw = /*#__PURE__*/ K("<div data-slot=input-otp-group>"), Xw = /*#__PURE__*/ K("<div class=\"pointer-events-none absolute inset-0 flex items-center justify-center\"><div class=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\">"), Zw = /*#__PURE__*/ K("<div data-slot=input-otp-slot>"), Qw = /*#__PURE__*/ K("<div data-slot=input-otp-separator aria-hidden=true>"), $w = A(), eT = (e) => {
|
|
16314
16356
|
let [t, n] = I(e, [
|
|
16315
16357
|
"class",
|
|
16316
16358
|
"children",
|
|
@@ -16341,14 +16383,14 @@ var Ww = /*#__PURE__*/ K("<div data-slot=input-otp><input type=text inputmode=nu
|
|
|
16341
16383
|
}, m = () => {
|
|
16342
16384
|
c(!1), o(-1);
|
|
16343
16385
|
};
|
|
16344
|
-
return z(
|
|
16386
|
+
return z($w.Provider, {
|
|
16345
16387
|
value: {
|
|
16346
16388
|
value: u,
|
|
16347
16389
|
activeIndex: a,
|
|
16348
16390
|
isActive: s
|
|
16349
16391
|
},
|
|
16350
16392
|
get children() {
|
|
16351
|
-
var e =
|
|
16393
|
+
var e = Jw(), r = e.firstChild;
|
|
16352
16394
|
e.$$click = () => l.focus(), G(e, U({ get class() {
|
|
16353
16395
|
return O("flex items-center gap-2 has-[:disabled]:opacity-50", t.containerClass);
|
|
16354
16396
|
} }, n), !1, !0), r.addEventListener("blur", m), r.addEventListener("focus", p), r.$$keydown = f, r.$$input = d;
|
|
@@ -16362,18 +16404,18 @@ var Ww = /*#__PURE__*/ K("<div data-slot=input-otp><input type=text inputmode=nu
|
|
|
16362
16404
|
}), B(() => r.value = u()), e;
|
|
16363
16405
|
}
|
|
16364
16406
|
});
|
|
16365
|
-
},
|
|
16407
|
+
}, tT = (e) => {
|
|
16366
16408
|
let [t, n] = I(e, ["class"]);
|
|
16367
16409
|
return (() => {
|
|
16368
|
-
var e =
|
|
16410
|
+
var e = Yw();
|
|
16369
16411
|
return G(e, U({ get class() {
|
|
16370
16412
|
return O("flex items-center gap-1.5", t.class);
|
|
16371
16413
|
} }, n), !1, !1), e;
|
|
16372
16414
|
})();
|
|
16373
|
-
},
|
|
16374
|
-
let [t, n] = I(e, ["class", "index"]), r = L(
|
|
16415
|
+
}, nT = (e) => {
|
|
16416
|
+
let [t, n] = I(e, ["class", "index"]), r = L($w), i = () => r?.value()[t.index] ?? "", a = () => r?.isActive() && r?.activeIndex() === t.index, o = () => a() && !i();
|
|
16375
16417
|
return (() => {
|
|
16376
|
-
var e =
|
|
16418
|
+
var e = Zw();
|
|
16377
16419
|
return G(e, U({
|
|
16378
16420
|
get "data-active"() {
|
|
16379
16421
|
return a();
|
|
@@ -16386,12 +16428,12 @@ var Ww = /*#__PURE__*/ K("<div data-slot=input-otp><input type=text inputmode=nu
|
|
|
16386
16428
|
return o();
|
|
16387
16429
|
},
|
|
16388
16430
|
get children() {
|
|
16389
|
-
return
|
|
16431
|
+
return Xw();
|
|
16390
16432
|
}
|
|
16391
16433
|
}), null), e;
|
|
16392
16434
|
})();
|
|
16393
|
-
},
|
|
16394
|
-
var t =
|
|
16435
|
+
}, rT = (e) => (() => {
|
|
16436
|
+
var t = Qw();
|
|
16395
16437
|
return G(t, e, !1, !0), V(t, z(Q, {
|
|
16396
16438
|
icon: "lucide:minus",
|
|
16397
16439
|
width: 16,
|
|
@@ -16405,15 +16447,15 @@ wt([
|
|
|
16405
16447
|
]);
|
|
16406
16448
|
//#endregion
|
|
16407
16449
|
//#region src/solid/item.tsx
|
|
16408
|
-
var
|
|
16450
|
+
var iT = /*#__PURE__*/ K("<ul data-slot=item-group>"), aT = /*#__PURE__*/ K("<div data-slot=item-media>"), oT = /*#__PURE__*/ K("<div data-slot=item-content>"), sT = /*#__PURE__*/ K("<div data-slot=item-title>"), cT = /*#__PURE__*/ K("<p data-slot=item-description>"), lT = /*#__PURE__*/ K("<div data-slot=item-actions>"), uT = /*#__PURE__*/ K("<div data-slot=item-header>"), dT = /*#__PURE__*/ K("<div data-slot=item-footer>"), fT = (e) => {
|
|
16409
16451
|
let [t, n] = I(e, ["class"]);
|
|
16410
16452
|
return (() => {
|
|
16411
|
-
var e =
|
|
16453
|
+
var e = iT();
|
|
16412
16454
|
return G(e, U({ get class() {
|
|
16413
16455
|
return O("group/item-group flex flex-col", t.class);
|
|
16414
16456
|
} }, n), !1, !1), e;
|
|
16415
16457
|
})();
|
|
16416
|
-
},
|
|
16458
|
+
}, pT = (e) => {
|
|
16417
16459
|
let [t, n] = I(e, ["class"]);
|
|
16418
16460
|
return z(lf, U({
|
|
16419
16461
|
"data-slot": "item-separator",
|
|
@@ -16422,7 +16464,7 @@ var eT = /*#__PURE__*/ K("<ul data-slot=item-group>"), tT = /*#__PURE__*/ K("<di
|
|
|
16422
16464
|
return O("my-0", t.class);
|
|
16423
16465
|
}
|
|
16424
16466
|
}, n));
|
|
16425
|
-
},
|
|
16467
|
+
}, mT = S({
|
|
16426
16468
|
base: "group/item flex flex-wrap items-center rounded-md border border-transparent text-sm outline-none transition-colors duration-100 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted/50",
|
|
16427
16469
|
variants: {
|
|
16428
16470
|
variant: {
|
|
@@ -16439,7 +16481,7 @@ var eT = /*#__PURE__*/ K("<ul data-slot=item-group>"), tT = /*#__PURE__*/ K("<di
|
|
|
16439
16481
|
variant: "default",
|
|
16440
16482
|
size: "default"
|
|
16441
16483
|
}
|
|
16442
|
-
}),
|
|
16484
|
+
}), hT = (e) => {
|
|
16443
16485
|
let [t, n] = I(e, [
|
|
16444
16486
|
"class",
|
|
16445
16487
|
"variant",
|
|
@@ -16458,23 +16500,23 @@ var eT = /*#__PURE__*/ K("<ul data-slot=item-group>"), tT = /*#__PURE__*/ K("<di
|
|
|
16458
16500
|
return i();
|
|
16459
16501
|
},
|
|
16460
16502
|
get class() {
|
|
16461
|
-
return O(
|
|
16503
|
+
return O(mT({
|
|
16462
16504
|
variant: r(),
|
|
16463
16505
|
size: i()
|
|
16464
16506
|
}), t.class);
|
|
16465
16507
|
}
|
|
16466
16508
|
}, n));
|
|
16467
|
-
},
|
|
16509
|
+
}, gT = {
|
|
16468
16510
|
icon: `${Ee} size-8 rounded-md text-foreground/80 [&_svg:not([class*='size-'])]:size-4`,
|
|
16469
16511
|
image: "size-10 overflow-hidden rounded-sm [&_img]:size-full [&_img]:object-cover"
|
|
16470
|
-
},
|
|
16512
|
+
}, _T = (e) => {
|
|
16471
16513
|
let [t, n] = I(e, [
|
|
16472
16514
|
"class",
|
|
16473
16515
|
"media",
|
|
16474
16516
|
"variant"
|
|
16475
16517
|
]), r = () => t.media ?? (t.variant === "default" ? void 0 : t.variant);
|
|
16476
16518
|
return (() => {
|
|
16477
|
-
var e =
|
|
16519
|
+
var e = aT();
|
|
16478
16520
|
return G(e, U({
|
|
16479
16521
|
get "data-media"() {
|
|
16480
16522
|
return r();
|
|
@@ -16483,83 +16525,83 @@ var eT = /*#__PURE__*/ K("<ul data-slot=item-group>"), tT = /*#__PURE__*/ K("<di
|
|
|
16483
16525
|
return t.variant ?? r() ?? "default";
|
|
16484
16526
|
},
|
|
16485
16527
|
get class() {
|
|
16486
|
-
return O("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none", r() &&
|
|
16528
|
+
return O("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none", r() && gT[r()], t.class);
|
|
16487
16529
|
}
|
|
16488
16530
|
}, n), !1, !1), e;
|
|
16489
16531
|
})();
|
|
16490
|
-
},
|
|
16532
|
+
}, vT = (e) => {
|
|
16491
16533
|
let [t, n] = I(e, ["class"]);
|
|
16492
16534
|
return (() => {
|
|
16493
|
-
var e =
|
|
16535
|
+
var e = oT();
|
|
16494
16536
|
return G(e, U({ get class() {
|
|
16495
16537
|
return O("flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none", t.class);
|
|
16496
16538
|
} }, n), !1, !1), e;
|
|
16497
16539
|
})();
|
|
16498
|
-
},
|
|
16540
|
+
}, yT = (e) => {
|
|
16499
16541
|
let [t, n] = I(e, ["class"]);
|
|
16500
16542
|
return (() => {
|
|
16501
|
-
var e =
|
|
16543
|
+
var e = sT();
|
|
16502
16544
|
return G(e, U({ get class() {
|
|
16503
16545
|
return O("flex w-fit items-center gap-2 font-medium text-sm leading-snug", t.class);
|
|
16504
16546
|
} }, n), !1, !1), e;
|
|
16505
16547
|
})();
|
|
16506
|
-
},
|
|
16548
|
+
}, bT = (e) => {
|
|
16507
16549
|
let [t, n] = I(e, ["class"]);
|
|
16508
16550
|
return (() => {
|
|
16509
|
-
var e =
|
|
16551
|
+
var e = cT();
|
|
16510
16552
|
return G(e, U({ get class() {
|
|
16511
16553
|
return O("line-clamp-2 text-balance font-normal text-muted-foreground text-sm leading-normal", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", t.class);
|
|
16512
16554
|
} }, n), !1, !1), e;
|
|
16513
16555
|
})();
|
|
16514
|
-
},
|
|
16556
|
+
}, xT = (e) => {
|
|
16515
16557
|
let [t, n] = I(e, ["class"]);
|
|
16516
16558
|
return (() => {
|
|
16517
|
-
var e =
|
|
16559
|
+
var e = lT();
|
|
16518
16560
|
return G(e, U({ get class() {
|
|
16519
16561
|
return O("flex items-center gap-2", t.class);
|
|
16520
16562
|
} }, n), !1, !1), e;
|
|
16521
16563
|
})();
|
|
16522
|
-
},
|
|
16564
|
+
}, ST = (e) => {
|
|
16523
16565
|
let [t, n] = I(e, ["class"]);
|
|
16524
16566
|
return (() => {
|
|
16525
|
-
var e =
|
|
16567
|
+
var e = uT();
|
|
16526
16568
|
return G(e, U({ get class() {
|
|
16527
16569
|
return O("flex basis-full items-center justify-between gap-2", t.class);
|
|
16528
16570
|
} }, n), !1, !1), e;
|
|
16529
16571
|
})();
|
|
16530
|
-
},
|
|
16572
|
+
}, CT = (e) => {
|
|
16531
16573
|
let [t, n] = I(e, ["class"]);
|
|
16532
16574
|
return (() => {
|
|
16533
|
-
var e =
|
|
16575
|
+
var e = dT();
|
|
16534
16576
|
return G(e, U({ get class() {
|
|
16535
16577
|
return O("flex basis-full items-center justify-between gap-2", t.class);
|
|
16536
16578
|
} }, n), !1, !1), e;
|
|
16537
16579
|
})();
|
|
16538
|
-
},
|
|
16580
|
+
}, wT = /*#__PURE__*/ K("<kbd data-slot=kbd>"), TT = /*#__PURE__*/ K("<kbd data-slot=kbd-group>"), ET = (e) => {
|
|
16539
16581
|
let [t, n] = I(e, ["class"]);
|
|
16540
16582
|
return (() => {
|
|
16541
|
-
var e =
|
|
16583
|
+
var e = wT();
|
|
16542
16584
|
return G(e, U({ get class() {
|
|
16543
16585
|
return O("pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-medium font-sans text-muted-foreground text-xs", "[&_svg:not([class*='size-'])]:size-3", t.class);
|
|
16544
16586
|
} }, n), !1, !1), e;
|
|
16545
16587
|
})();
|
|
16546
|
-
},
|
|
16588
|
+
}, DT = (e) => {
|
|
16547
16589
|
let [t, n] = I(e, ["class"]);
|
|
16548
16590
|
return (() => {
|
|
16549
|
-
var e =
|
|
16591
|
+
var e = TT();
|
|
16550
16592
|
return G(e, U({ get class() {
|
|
16551
16593
|
return O("inline-flex items-center gap-1", t.class);
|
|
16552
16594
|
} }, n), !1, !1), e;
|
|
16553
16595
|
})();
|
|
16554
|
-
},
|
|
16555
|
-
function
|
|
16596
|
+
}, OT = 8, kT = 6;
|
|
16597
|
+
function AT(e, t, n) {
|
|
16556
16598
|
let r = t, i = n;
|
|
16557
16599
|
if (n < 0) for (; r > 0 && -i > (e[r - 1] ?? 0) / 2;) i += e[r - 1] ?? 0, r--;
|
|
16558
16600
|
else for (; r < e.length - 1 && i > (e[r + 1] ?? 0) / 2;) i -= e[r + 1] ?? 0, r++;
|
|
16559
16601
|
return r;
|
|
16560
16602
|
}
|
|
16561
|
-
function
|
|
16562
|
-
let t = e.gapPx ??
|
|
16603
|
+
function jT(e) {
|
|
16604
|
+
let t = e.gapPx ?? OT, n = [], [r, i] = N(null), [a, o] = N(!1), s = !1;
|
|
16563
16605
|
return {
|
|
16564
16606
|
setRowEl: (e, t) => {
|
|
16565
16607
|
n[e] = t;
|
|
@@ -16581,12 +16623,12 @@ function DT(e) {
|
|
|
16581
16623
|
}, p = () => n.slice(0, e.count()).map((e) => e?.offsetHeight ?? 0), m = (e) => {
|
|
16582
16624
|
let n = e.clientY - u;
|
|
16583
16625
|
if (!d) {
|
|
16584
|
-
if (Math.abs(n) <
|
|
16626
|
+
if (Math.abs(n) < kT) return;
|
|
16585
16627
|
f(n);
|
|
16586
16628
|
}
|
|
16587
16629
|
i({
|
|
16588
16630
|
from: t,
|
|
16589
|
-
to:
|
|
16631
|
+
to: AT(p(), t, n),
|
|
16590
16632
|
dy: n
|
|
16591
16633
|
});
|
|
16592
16634
|
}, h = () => {
|
|
@@ -16616,7 +16658,7 @@ function DT(e) {
|
|
|
16616
16658
|
}
|
|
16617
16659
|
//#endregion
|
|
16618
16660
|
//#region src/solid/logo.tsx
|
|
16619
|
-
var
|
|
16661
|
+
var MT = /*#__PURE__*/ K("<img alt>"), NT = /*#__PURE__*/ K("<span><span data-slot=logo-name>GlassHome"), PT = /*#__PURE__*/ K("<span data-slot=logo-sub>"), FT = (e) => {
|
|
16620
16662
|
let [t, n] = I(e, [
|
|
16621
16663
|
"class",
|
|
16622
16664
|
"sub",
|
|
@@ -16639,7 +16681,7 @@ var OT = /*#__PURE__*/ K("<img alt>"), kT = /*#__PURE__*/ K("<span><span data-sl
|
|
|
16639
16681
|
}
|
|
16640
16682
|
}, n, { get children() {
|
|
16641
16683
|
return [(() => {
|
|
16642
|
-
var e =
|
|
16684
|
+
var e = MT();
|
|
16643
16685
|
return B((n) => {
|
|
16644
16686
|
var r = t.src ?? "/assets/glasshome_logo.png", o = g[i()], s = g[i()], c = O(u, a().mark, t.markClass);
|
|
16645
16687
|
return r !== n.e && W(e, "src", n.e = r), o !== n.t && W(e, "width", n.t = o), s !== n.a && W(e, "height", n.a = s), c !== n.o && R(e, n.o = c), n;
|
|
@@ -16650,14 +16692,14 @@ var OT = /*#__PURE__*/ K("<img alt>"), kT = /*#__PURE__*/ K("<span><span data-sl
|
|
|
16650
16692
|
o: void 0
|
|
16651
16693
|
}), e;
|
|
16652
16694
|
})(), (() => {
|
|
16653
|
-
var e =
|
|
16695
|
+
var e = NT(), n = e.firstChild;
|
|
16654
16696
|
return R(e, r), V(e, () => t.subSlot ?? (() => {
|
|
16655
|
-
var e =
|
|
16697
|
+
var e = PT();
|
|
16656
16698
|
return V(e, () => t.sub ?? "Dash"), B(() => R(e, O(a().sub, "font-bold text-primary uppercase leading-none tracking-[0.18em]"))), e;
|
|
16657
16699
|
})(), null), B(() => R(n, O(a().name, x))), e;
|
|
16658
16700
|
})()];
|
|
16659
16701
|
} }));
|
|
16660
|
-
},
|
|
16702
|
+
}, IT = /*#__PURE__*/ K("<div data-slot=number-field-root class=relative><input type=number data-slot=number-field><div data-slot=number-field-spinner><button type=button tabindex=-1 aria-label=Increment class=\"flex flex-1 items-center justify-center text-muted-foreground transition-colors hover:bg-muted hover:text-foreground active:bg-muted\"></button><button type=button tabindex=-1 aria-label=Decrement class=\"flex flex-1 items-center justify-center text-muted-foreground transition-colors hover:bg-muted hover:text-foreground active:bg-muted\">"), LT = "w-10", RT = "pr-10", zT = (e) => {
|
|
16661
16703
|
let [t, n] = I(e, [
|
|
16662
16704
|
"class",
|
|
16663
16705
|
"step",
|
|
@@ -16669,7 +16711,7 @@ var OT = /*#__PURE__*/ K("<img alt>"), kT = /*#__PURE__*/ K("<span><span data-sl
|
|
|
16669
16711
|
t.min != null && (n = Math.max(Number(t.min), n)), t.max != null && (n = Math.min(Number(t.max), n)), r.value = String(n), r.dispatchEvent(new Event("input", { bubbles: !0 }));
|
|
16670
16712
|
};
|
|
16671
16713
|
return (() => {
|
|
16672
|
-
var e =
|
|
16714
|
+
var e = IT(), i = e.firstChild, o = i.nextSibling, s = o.firstChild, c = s.nextSibling, l = r;
|
|
16673
16715
|
return typeof l == "function" ? At(l, i) : r = i, G(i, U({
|
|
16674
16716
|
get step() {
|
|
16675
16717
|
return t.step;
|
|
@@ -16681,7 +16723,7 @@ var OT = /*#__PURE__*/ K("<img alt>"), kT = /*#__PURE__*/ K("<span><span data-sl
|
|
|
16681
16723
|
return t.max;
|
|
16682
16724
|
},
|
|
16683
16725
|
get class() {
|
|
16684
|
-
return O(Re,
|
|
16726
|
+
return O(Re, RT, "[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", t.class);
|
|
16685
16727
|
}
|
|
16686
16728
|
}, n), !1, !1), s.$$click = () => a(1), V(s, z(Q, {
|
|
16687
16729
|
icon: "lucide:chevron-up",
|
|
@@ -16693,37 +16735,37 @@ var OT = /*#__PURE__*/ K("<img alt>"), kT = /*#__PURE__*/ K("<span><span data-sl
|
|
|
16693
16735
|
width: 16,
|
|
16694
16736
|
height: 16,
|
|
16695
16737
|
class: "size-4"
|
|
16696
|
-
})), B(() => R(o, O("absolute inset-y-0 right-0 flex flex-col divide-y divide-border overflow-hidden rounded-r-md border-border border-l",
|
|
16738
|
+
})), B(() => R(o, O("absolute inset-y-0 right-0 flex flex-col divide-y divide-border overflow-hidden rounded-r-md border-border border-l", LT))), e;
|
|
16697
16739
|
})();
|
|
16698
16740
|
};
|
|
16699
16741
|
wt(["click"]), Wr({}, {
|
|
16700
16742
|
Description: () => bs,
|
|
16701
16743
|
ErrorMessage: () => Ds,
|
|
16702
|
-
Item: () =>
|
|
16703
|
-
ItemControl: () =>
|
|
16704
|
-
ItemDescription: () =>
|
|
16705
|
-
ItemIndicator: () =>
|
|
16706
|
-
ItemInput: () =>
|
|
16707
|
-
ItemLabel: () =>
|
|
16708
|
-
Label: () =>
|
|
16709
|
-
RadioGroup: () =>
|
|
16710
|
-
Root: () =>
|
|
16711
|
-
useRadioGroupContext: () =>
|
|
16744
|
+
Item: () => WT,
|
|
16745
|
+
ItemControl: () => GT,
|
|
16746
|
+
ItemDescription: () => KT,
|
|
16747
|
+
ItemIndicator: () => qT,
|
|
16748
|
+
ItemInput: () => JT,
|
|
16749
|
+
ItemLabel: () => YT,
|
|
16750
|
+
Label: () => XT,
|
|
16751
|
+
RadioGroup: () => QT,
|
|
16752
|
+
Root: () => ZT,
|
|
16753
|
+
useRadioGroupContext: () => VT
|
|
16712
16754
|
});
|
|
16713
|
-
var
|
|
16714
|
-
function
|
|
16715
|
-
let e = L(
|
|
16755
|
+
var BT = A();
|
|
16756
|
+
function VT() {
|
|
16757
|
+
let e = L(BT);
|
|
16716
16758
|
if (e === void 0) throw Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
|
|
16717
16759
|
return e;
|
|
16718
16760
|
}
|
|
16719
|
-
var
|
|
16720
|
-
function
|
|
16721
|
-
let e = L(
|
|
16761
|
+
var HT = A();
|
|
16762
|
+
function UT() {
|
|
16763
|
+
let e = L(HT);
|
|
16722
16764
|
if (e === void 0) throw Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
|
|
16723
16765
|
return e;
|
|
16724
16766
|
}
|
|
16725
|
-
function
|
|
16726
|
-
let t = ys(), n =
|
|
16767
|
+
function WT(e) {
|
|
16768
|
+
let t = ys(), n = VT(), [r, i] = I(Z({ id: `${t.generateId("item")}-${P()}` }, e), [
|
|
16727
16769
|
"value",
|
|
16728
16770
|
"disabled",
|
|
16729
16771
|
"onPointerDown"
|
|
@@ -16751,7 +16793,7 @@ function BT(e) {
|
|
|
16751
16793
|
setIsFocused: m,
|
|
16752
16794
|
setInputRef: f
|
|
16753
16795
|
};
|
|
16754
|
-
return z(
|
|
16796
|
+
return z(HT.Provider, {
|
|
16755
16797
|
value: b,
|
|
16756
16798
|
get children() {
|
|
16757
16799
|
return z($, U({
|
|
@@ -16762,8 +16804,8 @@ function BT(e) {
|
|
|
16762
16804
|
}
|
|
16763
16805
|
});
|
|
16764
16806
|
}
|
|
16765
|
-
function
|
|
16766
|
-
let t =
|
|
16807
|
+
function GT(e) {
|
|
16808
|
+
let t = UT(), [n, r] = I(Z({ id: t.generateId("control") }, e), ["onClick", "onKeyDown"]);
|
|
16767
16809
|
return z($, U({
|
|
16768
16810
|
as: "div",
|
|
16769
16811
|
onClick: (e) => {
|
|
@@ -16774,12 +16816,12 @@ function VT(e) {
|
|
|
16774
16816
|
}
|
|
16775
16817
|
}, () => t.dataset(), r));
|
|
16776
16818
|
}
|
|
16777
|
-
function
|
|
16778
|
-
let t =
|
|
16819
|
+
function KT(e) {
|
|
16820
|
+
let t = UT(), n = Z({ id: t.generateId("description") }, e);
|
|
16779
16821
|
return j(() => F(t.registerDescription(n.id))), z($, U({ as: "div" }, () => t.dataset(), n));
|
|
16780
16822
|
}
|
|
16781
|
-
function
|
|
16782
|
-
let t =
|
|
16823
|
+
function qT(e) {
|
|
16824
|
+
let t = UT(), [n, r] = I(Z({ id: t.generateId("indicator") }, e), ["ref", "forceMount"]), [i, a] = N(), { present: o } = Ci({
|
|
16783
16825
|
show: () => n.forceMount || t.isSelected(),
|
|
16784
16826
|
element: () => i() ?? null
|
|
16785
16827
|
});
|
|
@@ -16798,8 +16840,8 @@ function UT(e) {
|
|
|
16798
16840
|
}
|
|
16799
16841
|
});
|
|
16800
16842
|
}
|
|
16801
|
-
function
|
|
16802
|
-
let t = ys(), n =
|
|
16843
|
+
function JT(e) {
|
|
16844
|
+
let t = ys(), n = VT(), r = UT(), [i, a] = I(Z({ id: r.generateId("input") }, e), [
|
|
16803
16845
|
"ref",
|
|
16804
16846
|
"style",
|
|
16805
16847
|
"aria-labelledby",
|
|
@@ -16877,8 +16919,8 @@ function WT(e) {
|
|
|
16877
16919
|
}
|
|
16878
16920
|
}, () => r.dataset(), a));
|
|
16879
16921
|
}
|
|
16880
|
-
function
|
|
16881
|
-
let t =
|
|
16922
|
+
function YT(e) {
|
|
16923
|
+
let t = UT(), n = Z({ id: t.generateId("label") }, e);
|
|
16882
16924
|
return j(() => F(t.registerLabel(n.id))), z($, U({
|
|
16883
16925
|
as: "label",
|
|
16884
16926
|
get for() {
|
|
@@ -16886,10 +16928,10 @@ function GT(e) {
|
|
|
16886
16928
|
}
|
|
16887
16929
|
}, () => t.dataset(), n));
|
|
16888
16930
|
}
|
|
16889
|
-
function
|
|
16931
|
+
function XT(e) {
|
|
16890
16932
|
return z(Cs, U({ as: "span" }, e));
|
|
16891
16933
|
}
|
|
16892
|
-
function
|
|
16934
|
+
function ZT(e) {
|
|
16893
16935
|
let t, [n, r, i] = I(Z({
|
|
16894
16936
|
id: `radiogroup-${P()}`,
|
|
16895
16937
|
orientation: "vertical"
|
|
@@ -16921,7 +16963,7 @@ function qT(e) {
|
|
|
16921
16963
|
return z(vs.Provider, {
|
|
16922
16964
|
value: s,
|
|
16923
16965
|
get children() {
|
|
16924
|
-
return z(
|
|
16966
|
+
return z(BT.Provider, {
|
|
16925
16967
|
value: f,
|
|
16926
16968
|
get children() {
|
|
16927
16969
|
return z($, U({
|
|
@@ -16961,37 +17003,37 @@ function qT(e) {
|
|
|
16961
17003
|
}
|
|
16962
17004
|
});
|
|
16963
17005
|
}
|
|
16964
|
-
var
|
|
17006
|
+
var QT = Object.assign(ZT, {
|
|
16965
17007
|
Description: bs,
|
|
16966
17008
|
ErrorMessage: Ds,
|
|
16967
|
-
Item:
|
|
16968
|
-
ItemControl:
|
|
16969
|
-
ItemDescription:
|
|
16970
|
-
ItemIndicator:
|
|
16971
|
-
ItemInput:
|
|
16972
|
-
ItemLabel:
|
|
16973
|
-
Label:
|
|
16974
|
-
}),
|
|
17009
|
+
Item: WT,
|
|
17010
|
+
ItemControl: GT,
|
|
17011
|
+
ItemDescription: KT,
|
|
17012
|
+
ItemIndicator: qT,
|
|
17013
|
+
ItemInput: JT,
|
|
17014
|
+
ItemLabel: YT,
|
|
17015
|
+
Label: XT
|
|
17016
|
+
}), $T = /*#__PURE__*/ K("<div data-slot=radio-group-item-content class=\"min-w-0 flex-1 text-sm\">"), eE = (e) => {
|
|
16975
17017
|
let [t, n] = I(e, ["class"]);
|
|
16976
|
-
return z(
|
|
17018
|
+
return z(QT, U({
|
|
16977
17019
|
"data-slot": "radio-group",
|
|
16978
17020
|
get class() {
|
|
16979
17021
|
return O("flex flex-col gap-3", t.class);
|
|
16980
17022
|
}
|
|
16981
17023
|
}, n));
|
|
16982
|
-
},
|
|
17024
|
+
}, tE = (e) => {
|
|
16983
17025
|
let [t, n] = I(e, [
|
|
16984
17026
|
"class",
|
|
16985
17027
|
"children",
|
|
16986
17028
|
"showControl"
|
|
16987
17029
|
]);
|
|
16988
|
-
return z(
|
|
17030
|
+
return z(QT.Item, U({
|
|
16989
17031
|
"data-slot": "radio-group-item",
|
|
16990
17032
|
get class() {
|
|
16991
17033
|
return O("flex", t.class);
|
|
16992
17034
|
}
|
|
16993
17035
|
}, n, { get children() {
|
|
16994
|
-
return [z(
|
|
17036
|
+
return [z(QT.ItemInput, { class: "peer" }), z(QT.ItemLabel, {
|
|
16995
17037
|
"data-slot": "radio-group-item-label",
|
|
16996
17038
|
class: "flex flex-1 cursor-pointer select-none items-center gap-2.5 data-[disabled]:cursor-not-allowed",
|
|
16997
17039
|
get children() {
|
|
@@ -17000,13 +17042,13 @@ var JT = Object.assign(qT, {
|
|
|
17000
17042
|
return t.showControl ?? !0;
|
|
17001
17043
|
},
|
|
17002
17044
|
get children() {
|
|
17003
|
-
return z(
|
|
17045
|
+
return z(QT.ItemControl, {
|
|
17004
17046
|
"data-slot": "radio-group-item-control",
|
|
17005
17047
|
get class() {
|
|
17006
17048
|
return O("relative flex aspect-square size-7 shrink-0 items-center justify-center overflow-hidden rounded-full transition-glass duration-200 ease-out active:scale-90", Ie, "peer-focus-visible:ring-[3px] peer-focus-visible:ring-ring/50 peer-focus-visible:[--glass-edge:var(--ring)]", "data-[disabled]:opacity-40 data-[invalid]:ring-destructive/20 data-[invalid]:[--glass-edge:var(--destructive)]");
|
|
17007
17049
|
},
|
|
17008
17050
|
get children() {
|
|
17009
|
-
return z(
|
|
17051
|
+
return z(QT.ItemIndicator, {
|
|
17010
17052
|
"data-slot": "radio-group-item-indicator",
|
|
17011
17053
|
class: "glass glass-tint zoom-in-50 fade-in absolute inset-0 animate-in rounded-full duration-200 [--glass-tone:var(--primary)]"
|
|
17012
17054
|
});
|
|
@@ -17014,15 +17056,15 @@ var JT = Object.assign(qT, {
|
|
|
17014
17056
|
});
|
|
17015
17057
|
}
|
|
17016
17058
|
}), H(() => H(() => !!t.children)() && (() => {
|
|
17017
|
-
var e =
|
|
17059
|
+
var e = $T();
|
|
17018
17060
|
return V(e, () => t.children), e;
|
|
17019
17061
|
})())];
|
|
17020
17062
|
}
|
|
17021
17063
|
})];
|
|
17022
17064
|
} }));
|
|
17023
|
-
},
|
|
17024
|
-
function
|
|
17025
|
-
let t = L(
|
|
17065
|
+
}, nE = /*#__PURE__*/ K("<div data-slot=option-card-row class=\"flex w-full items-start gap-3 p-3\"><div class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><span data-slot=option-card-title class=\"font-medium text-sm leading-snug\">"), rE = /*#__PURE__*/ K("<div data-slot=option-card-drawer class=\"grid grid-rows-[0fr] transition-[grid-template-rows] duration-(--duration-morph) ease-(--ease-morph) group-data-[checked]/option-card:grid-rows-[1fr]\"><div class=\"min-h-0 overflow-hidden\"><div class=\"-translate-y-2 flex flex-col gap-0.5 pr-1 pb-2 pl-[calc(var(--spacing)*4+20px)] opacity-0 transition-[opacity,translate] duration-(--duration-expand) ease-(--ease-morph) group-data-[checked]/option-card:translate-y-0 group-data-[checked]/option-card:opacity-100 group-data-[checked]/option-card:delay-[80ms]\">"), iE = /*#__PURE__*/ K("<div data-slot=option-card>"), aE = /*#__PURE__*/ K("<img alt aria-hidden=true class=\"size-5 shrink-0 object-contain\">"), oE = /*#__PURE__*/ K("<span data-slot=option-card-description class=\"text-muted-foreground text-sm leading-normal\">"), sE = `${he} group/option-card relative cursor-pointer overflow-hidden rounded-md transition-glass duration-200 hover:[--glass-base:color-mix(in_srgb,var(--card)_80%,transparent)] has-[:focus-visible]:[--glass-edge:var(--ring)] has-[:focus-visible]:ring-[3px] has-[:focus-visible]:ring-ring/50 [&:not([style*=--glass-tone])]:data-[checked]:[--glass-tone:var(--primary)] data-[checked]:[--glass-edge:color-mix(in_srgb,var(--primary)_45%,transparent)] data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`, cE = "rounded-sm text-foreground/75 transition-colors hover:bg-foreground/5 aria-checked:text-foreground", lE = A();
|
|
17066
|
+
function uE(e) {
|
|
17067
|
+
let t = L(lE);
|
|
17026
17068
|
if (!t) throw Error("OptionChoice renders inside an OptionCard");
|
|
17027
17069
|
vt(() => F(t.register(e.value)));
|
|
17028
17070
|
let n = () => t.subValue() === e.value;
|
|
@@ -17034,7 +17076,7 @@ function oE(e) {
|
|
|
17034
17076
|
return n();
|
|
17035
17077
|
},
|
|
17036
17078
|
"data-slot": "option-choice",
|
|
17037
|
-
class:
|
|
17079
|
+
class: cE,
|
|
17038
17080
|
get disabled() {
|
|
17039
17081
|
return e.disabled;
|
|
17040
17082
|
},
|
|
@@ -17054,8 +17096,8 @@ function oE(e) {
|
|
|
17054
17096
|
onClick: () => !e.disabled && t.pick(e.value)
|
|
17055
17097
|
});
|
|
17056
17098
|
}
|
|
17057
|
-
function
|
|
17058
|
-
return z(
|
|
17099
|
+
function dE(e) {
|
|
17100
|
+
return z(eE, {
|
|
17059
17101
|
get class() {
|
|
17060
17102
|
return O("gap-2", e.class);
|
|
17061
17103
|
},
|
|
@@ -17073,20 +17115,20 @@ function sE(e) {
|
|
|
17073
17115
|
}
|
|
17074
17116
|
});
|
|
17075
17117
|
}
|
|
17076
|
-
function
|
|
17077
|
-
let t =
|
|
17118
|
+
function fE(e) {
|
|
17119
|
+
let t = VT(), n = () => t.isSelectedValue(e.value), [r, i] = N([]), a = {
|
|
17078
17120
|
subValue: () => e.subValue,
|
|
17079
17121
|
pick: (t) => e.onSubChange?.(t),
|
|
17080
17122
|
register: (e) => (i((t) => [...t, e]), () => i((t) => t.filter((t) => t !== e)))
|
|
17081
|
-
}, o = lt(() => z(
|
|
17123
|
+
}, o = lt(() => z(lE.Provider, {
|
|
17082
17124
|
value: a,
|
|
17083
17125
|
get children() {
|
|
17084
17126
|
return e.children;
|
|
17085
17127
|
}
|
|
17086
17128
|
}));
|
|
17087
17129
|
return (() => {
|
|
17088
|
-
var t =
|
|
17089
|
-
return V(t, z(
|
|
17130
|
+
var t = iE();
|
|
17131
|
+
return V(t, z(tE, {
|
|
17090
17132
|
get value() {
|
|
17091
17133
|
return e.value;
|
|
17092
17134
|
},
|
|
@@ -17100,18 +17142,18 @@ function cE(e) {
|
|
|
17100
17142
|
return [z(MS, { get kind() {
|
|
17101
17143
|
return e.ornament ?? "check";
|
|
17102
17144
|
} }), (() => {
|
|
17103
|
-
var t =
|
|
17145
|
+
var t = nE(), n = t.firstChild, r = n.firstChild;
|
|
17104
17146
|
return V(t, z(k, {
|
|
17105
17147
|
get when() {
|
|
17106
17148
|
return e.iconImage;
|
|
17107
17149
|
},
|
|
17108
17150
|
get fallback() {
|
|
17109
|
-
return z(
|
|
17151
|
+
return z(pE, { get icon() {
|
|
17110
17152
|
return e.icon;
|
|
17111
17153
|
} });
|
|
17112
17154
|
},
|
|
17113
17155
|
children: (e) => (() => {
|
|
17114
|
-
var t =
|
|
17156
|
+
var t = aE();
|
|
17115
17157
|
return B(() => W(t, "src", e())), t;
|
|
17116
17158
|
})()
|
|
17117
17159
|
}), n), V(r, () => e.title), V(n, z(k, {
|
|
@@ -17119,7 +17161,7 @@ function cE(e) {
|
|
|
17119
17161
|
return e.description;
|
|
17120
17162
|
},
|
|
17121
17163
|
children: (e) => (() => {
|
|
17122
|
-
var t =
|
|
17164
|
+
var t = oE();
|
|
17123
17165
|
return V(t, e), t;
|
|
17124
17166
|
})()
|
|
17125
17167
|
}), null), t;
|
|
@@ -17130,7 +17172,7 @@ function cE(e) {
|
|
|
17130
17172
|
return o.toArray().length > 0;
|
|
17131
17173
|
},
|
|
17132
17174
|
get children() {
|
|
17133
|
-
var t =
|
|
17175
|
+
var t = rE(), i = t.firstChild.firstChild;
|
|
17134
17176
|
return V(i, o), B((t) => {
|
|
17135
17177
|
var a = r().length > 0 ? "radiogroup" : "group", o = `${e.title} options`, s = { [Ae]: n() };
|
|
17136
17178
|
return a !== t.e && W(i, "role", t.e = a), o !== t.t && W(i, "aria-label", t.t = o), t.a = Ct(i, s, t.a), t;
|
|
@@ -17141,7 +17183,7 @@ function cE(e) {
|
|
|
17141
17183
|
}), t;
|
|
17142
17184
|
}
|
|
17143
17185
|
}), null), B((r) => {
|
|
17144
|
-
var i = n() ? "" : void 0, a = O(
|
|
17186
|
+
var i = n() ? "" : void 0, a = O(sE, b(e.accentVar) && "[--glass-wash:12%]", e.class), o = e.accentVar ? { "--glass-tone": e.accentVar } : void 0;
|
|
17145
17187
|
return i !== r.e && W(t, "data-checked", r.e = i), a !== r.t && R(t, r.t = a), r.a = kt(t, o, r.a), r;
|
|
17146
17188
|
}, {
|
|
17147
17189
|
e: void 0,
|
|
@@ -17150,7 +17192,7 @@ function cE(e) {
|
|
|
17150
17192
|
}), t;
|
|
17151
17193
|
})();
|
|
17152
17194
|
}
|
|
17153
|
-
function
|
|
17195
|
+
function pE(e) {
|
|
17154
17196
|
return z(k, {
|
|
17155
17197
|
get when() {
|
|
17156
17198
|
return e.icon;
|
|
@@ -17166,17 +17208,17 @@ function lE(e) {
|
|
|
17166
17208
|
})
|
|
17167
17209
|
});
|
|
17168
17210
|
}
|
|
17169
|
-
var
|
|
17170
|
-
function
|
|
17171
|
-
let t = () => e.glass ??
|
|
17211
|
+
var mE = fE, hE = /*#__PURE__*/ K("<div data-slot=page-header-subtitle class=\"flex items-center gap-2 text-muted-foreground text-sm\">"), gE = /*#__PURE__*/ K("<div data-slot=page-header-actions class=\"flex shrink-0 items-center gap-2\">"), _E = /*#__PURE__*/ K("<div data-slot=page-header><div data-slot=page-header-glow class=\"pointer-events-none absolute top-0 left-0 h-48 w-72 -translate-x-1/3 -translate-y-1/2 rounded-full bg-primary/15 blur-3xl\"></div><div data-slot=page-header-row class=\"relative flex min-h-[64px] items-center gap-2.5 px-4 py-3 sm:min-h-[80px] sm:gap-4 sm:px-6 sm:py-5\"><div data-slot=page-header-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=page-header-headline class=\"flex min-w-0 items-center gap-2 sm:gap-3\"><h1 data-slot=page-header-title class=\"min-w-0 truncate font-bold text-foreground text-xl tracking-[-0.02em] sm:text-2xl\">"), vE = /*#__PURE__*/ K("<img data-slot=page-header-watermark alt class=\"pointer-events-none absolute -top-4 -right-8 size-48 rotate-[14deg] opacity-[0.13] [mask-image:radial-gradient(circle_at_70%_30%,black,transparent_80%)]\">");
|
|
17212
|
+
function yE(e) {
|
|
17213
|
+
let t = () => e.glass ?? lw;
|
|
17172
17214
|
return (() => {
|
|
17173
|
-
var n =
|
|
17215
|
+
var n = _E(), r = n.firstChild.nextSibling, i = r.firstChild, a = i.firstChild, o = a.firstChild, s = t().ref;
|
|
17174
17216
|
return typeof s == "function" ? At(s, n) : t().ref = n, V(n, z(k, {
|
|
17175
17217
|
get when() {
|
|
17176
17218
|
return e.logo;
|
|
17177
17219
|
},
|
|
17178
17220
|
children: (e) => (() => {
|
|
17179
|
-
var t =
|
|
17221
|
+
var t = vE();
|
|
17180
17222
|
return B(() => W(t, "src", e())), t;
|
|
17181
17223
|
})()
|
|
17182
17224
|
}), r), V(r, z(k, {
|
|
@@ -17213,7 +17255,7 @@ function hE(e) {
|
|
|
17213
17255
|
return e.subtitle;
|
|
17214
17256
|
},
|
|
17215
17257
|
get children() {
|
|
17216
|
-
var t =
|
|
17258
|
+
var t = hE();
|
|
17217
17259
|
return V(t, () => e.subtitle), t;
|
|
17218
17260
|
}
|
|
17219
17261
|
}), null), V(r, z(k, {
|
|
@@ -17221,7 +17263,7 @@ function hE(e) {
|
|
|
17221
17263
|
return e.actions;
|
|
17222
17264
|
},
|
|
17223
17265
|
get children() {
|
|
17224
|
-
var t =
|
|
17266
|
+
var t = gE();
|
|
17225
17267
|
return V(t, () => e.actions), t;
|
|
17226
17268
|
}
|
|
17227
17269
|
}), null), B((e) => {
|
|
@@ -17236,7 +17278,7 @@ function hE(e) {
|
|
|
17236
17278
|
}
|
|
17237
17279
|
//#endregion
|
|
17238
17280
|
//#region src/solid/password-input.tsx
|
|
17239
|
-
var
|
|
17281
|
+
var bE = /*#__PURE__*/ K("<span data-slot=password-input-leading aria-hidden=true>"), xE = /*#__PURE__*/ K("<div data-slot=password-input class=relative><button type=button data-slot=password-input-toggle>"), SE = "w-10", CE = "pl-10", wE = "pr-10", TE = (e) => {
|
|
17240
17282
|
let [t, n] = I(e, [
|
|
17241
17283
|
"class",
|
|
17242
17284
|
"leading",
|
|
@@ -17244,21 +17286,21 @@ var gE = /*#__PURE__*/ K("<span data-slot=password-input-leading aria-hidden=tru
|
|
|
17244
17286
|
"hideLabel"
|
|
17245
17287
|
]), [r, i] = N(!1);
|
|
17246
17288
|
return (() => {
|
|
17247
|
-
var e =
|
|
17289
|
+
var e = xE(), a = e.firstChild;
|
|
17248
17290
|
return V(e, z(k, {
|
|
17249
17291
|
get when() {
|
|
17250
17292
|
return t.leading;
|
|
17251
17293
|
},
|
|
17252
17294
|
get children() {
|
|
17253
|
-
var e =
|
|
17254
|
-
return V(e, () => t.leading), B(() => R(e, O("pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center justify-center text-primary/70",
|
|
17295
|
+
var e = bE();
|
|
17296
|
+
return V(e, () => t.leading), B(() => R(e, O("pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center justify-center text-primary/70", SE))), e;
|
|
17255
17297
|
}
|
|
17256
17298
|
}), a), V(e, z(qv, U({
|
|
17257
17299
|
get type() {
|
|
17258
17300
|
return r() ? "text" : "password";
|
|
17259
17301
|
},
|
|
17260
17302
|
get class() {
|
|
17261
|
-
return O(t.class, t.leading &&
|
|
17303
|
+
return O(t.class, t.leading && CE, wE);
|
|
17262
17304
|
}
|
|
17263
17305
|
}, n)), a), a.$$click = () => i((e) => !e), V(a, z(Q, {
|
|
17264
17306
|
get icon() {
|
|
@@ -17267,7 +17309,7 @@ var gE = /*#__PURE__*/ K("<span data-slot=password-input-leading aria-hidden=tru
|
|
|
17267
17309
|
width: 20,
|
|
17268
17310
|
"aria-hidden": "true"
|
|
17269
17311
|
})), B((e) => {
|
|
17270
|
-
var n = r() ? t.hideLabel ?? "Hide password" : t.showLabel ?? "Show password", i = O("absolute inset-y-0 right-0 z-10 flex items-center justify-center text-muted-foreground/70 transition-colors hover:text-foreground",
|
|
17312
|
+
var n = r() ? t.hideLabel ?? "Hide password" : t.showLabel ?? "Show password", i = O("absolute inset-y-0 right-0 z-10 flex items-center justify-center text-muted-foreground/70 transition-colors hover:text-foreground", SE);
|
|
17271
17313
|
return n !== e.e && W(a, "aria-label", e.e = n), i !== e.t && R(a, e.t = i), e;
|
|
17272
17314
|
}, {
|
|
17273
17315
|
e: void 0,
|
|
@@ -17278,14 +17320,14 @@ var gE = /*#__PURE__*/ K("<span data-slot=password-input-leading aria-hidden=tru
|
|
|
17278
17320
|
wt(["click"]);
|
|
17279
17321
|
//#endregion
|
|
17280
17322
|
//#region node_modules/@kobalte/core/dist/chunk/OU7DYFTQ.jsx
|
|
17281
|
-
var
|
|
17282
|
-
function
|
|
17283
|
-
let e = L(
|
|
17323
|
+
var EE = A();
|
|
17324
|
+
function DE() {
|
|
17325
|
+
let e = L(EE);
|
|
17284
17326
|
if (e === void 0) throw Error("[kobalte]: `useMeterContext` must be used within a `Meter.Root` component");
|
|
17285
17327
|
return e;
|
|
17286
17328
|
}
|
|
17287
|
-
function
|
|
17288
|
-
let t =
|
|
17329
|
+
function OE(e) {
|
|
17330
|
+
let t = DE(), [n, r] = I(e, ["style"]);
|
|
17289
17331
|
return z($, U({
|
|
17290
17332
|
as: "div",
|
|
17291
17333
|
get style() {
|
|
@@ -17293,8 +17335,8 @@ function wE(e) {
|
|
|
17293
17335
|
}
|
|
17294
17336
|
}, () => t.dataset(), r));
|
|
17295
17337
|
}
|
|
17296
|
-
function
|
|
17297
|
-
let t =
|
|
17338
|
+
function kE(e) {
|
|
17339
|
+
let t = DE(), [n, r] = I(Z({ id: t.generateId("label") }, e), ["id"]);
|
|
17298
17340
|
return j(() => F(t.registerLabelId(n.id))), z($, U({
|
|
17299
17341
|
as: "span",
|
|
17300
17342
|
get id() {
|
|
@@ -17302,7 +17344,7 @@ function TE(e) {
|
|
|
17302
17344
|
}
|
|
17303
17345
|
}, () => t.dataset(), r));
|
|
17304
17346
|
}
|
|
17305
|
-
function
|
|
17347
|
+
function AE(e) {
|
|
17306
17348
|
let [t, n] = I(Z({
|
|
17307
17349
|
id: `meter-${P()}`,
|
|
17308
17350
|
value: 0,
|
|
@@ -17338,7 +17380,7 @@ function EE(e) {
|
|
|
17338
17380
|
generateId: rn(() => n.id),
|
|
17339
17381
|
registerLabelId: xi(i)
|
|
17340
17382
|
};
|
|
17341
|
-
return z(
|
|
17383
|
+
return z(EE.Provider, {
|
|
17342
17384
|
value: d,
|
|
17343
17385
|
get children() {
|
|
17344
17386
|
return z($, U({
|
|
@@ -17365,50 +17407,50 @@ function EE(e) {
|
|
|
17365
17407
|
}
|
|
17366
17408
|
});
|
|
17367
17409
|
}
|
|
17368
|
-
function
|
|
17369
|
-
let t =
|
|
17410
|
+
function jE(e) {
|
|
17411
|
+
let t = DE();
|
|
17370
17412
|
return z($, U({ as: "div" }, () => t.dataset(), e));
|
|
17371
17413
|
}
|
|
17372
|
-
function
|
|
17373
|
-
let t =
|
|
17414
|
+
function ME(e) {
|
|
17415
|
+
let t = DE();
|
|
17374
17416
|
return z($, U({ as: "div" }, () => t.dataset(), e, { get children() {
|
|
17375
17417
|
return t.valueLabel();
|
|
17376
17418
|
} }));
|
|
17377
17419
|
}
|
|
17378
|
-
var
|
|
17379
|
-
Fill:
|
|
17380
|
-
Label:
|
|
17381
|
-
Track:
|
|
17382
|
-
ValueLabel:
|
|
17420
|
+
var NE = Object.assign(AE, {
|
|
17421
|
+
Fill: OE,
|
|
17422
|
+
Label: kE,
|
|
17423
|
+
Track: jE,
|
|
17424
|
+
ValueLabel: ME
|
|
17383
17425
|
});
|
|
17384
17426
|
Wr({}, {
|
|
17385
|
-
Fill: () =>
|
|
17386
|
-
Label: () =>
|
|
17387
|
-
Progress: () =>
|
|
17388
|
-
Root: () =>
|
|
17389
|
-
Track: () =>
|
|
17390
|
-
ValueLabel: () =>
|
|
17391
|
-
useProgressContext: () =>
|
|
17427
|
+
Fill: () => IE,
|
|
17428
|
+
Label: () => LE,
|
|
17429
|
+
Progress: () => VE,
|
|
17430
|
+
Root: () => RE,
|
|
17431
|
+
Track: () => zE,
|
|
17432
|
+
ValueLabel: () => BE,
|
|
17433
|
+
useProgressContext: () => FE
|
|
17392
17434
|
});
|
|
17393
|
-
var
|
|
17394
|
-
function
|
|
17395
|
-
let e = L(
|
|
17435
|
+
var PE = A();
|
|
17436
|
+
function FE() {
|
|
17437
|
+
let e = L(PE);
|
|
17396
17438
|
if (e === void 0) throw Error("[kobalte]: `useProgressContext` must be used within a `Progress.Root` component");
|
|
17397
17439
|
return e;
|
|
17398
17440
|
}
|
|
17399
|
-
function
|
|
17400
|
-
let t =
|
|
17401
|
-
return z(
|
|
17441
|
+
function IE(e) {
|
|
17442
|
+
let t = FE(), [n, r] = I(e, ["style"]);
|
|
17443
|
+
return z(NE.Fill, U({ get style() {
|
|
17402
17444
|
return Zt({ "--kb-progress-fill-width": t.progressFillWidth() }, n.style);
|
|
17403
17445
|
} }, () => t.dataset(), r));
|
|
17404
17446
|
}
|
|
17405
|
-
function
|
|
17406
|
-
let t =
|
|
17407
|
-
return j(() => F(t.registerLabelId(n.id))), z(
|
|
17447
|
+
function LE(e) {
|
|
17448
|
+
let t = FE(), [n, r] = I(Z({ id: t.generateId("label") }, e), ["id"]);
|
|
17449
|
+
return j(() => F(t.registerLabelId(n.id))), z(NE.Label, U({ get id() {
|
|
17408
17450
|
return n.id;
|
|
17409
17451
|
} }, () => t.dataset(), r));
|
|
17410
17452
|
}
|
|
17411
|
-
function
|
|
17453
|
+
function RE(e) {
|
|
17412
17454
|
let t = Z({
|
|
17413
17455
|
id: `progress-${P()}`,
|
|
17414
17456
|
value: 0,
|
|
@@ -17442,10 +17484,10 @@ function PE(e) {
|
|
|
17442
17484
|
generateId: rn(() => r.id),
|
|
17443
17485
|
registerLabelId: xi(a)
|
|
17444
17486
|
};
|
|
17445
|
-
return z(
|
|
17487
|
+
return z(PE.Provider, {
|
|
17446
17488
|
value: f,
|
|
17447
17489
|
get children() {
|
|
17448
|
-
return z(
|
|
17490
|
+
return z(NE, U({
|
|
17449
17491
|
role: "progressbar",
|
|
17450
17492
|
get indeterminate() {
|
|
17451
17493
|
return n.indeterminate || !1;
|
|
@@ -17454,26 +17496,26 @@ function PE(e) {
|
|
|
17454
17496
|
}
|
|
17455
17497
|
});
|
|
17456
17498
|
}
|
|
17457
|
-
function
|
|
17458
|
-
let t =
|
|
17459
|
-
return z(
|
|
17499
|
+
function zE(e) {
|
|
17500
|
+
let t = FE();
|
|
17501
|
+
return z(NE.Track, U(() => t.dataset(), e));
|
|
17460
17502
|
}
|
|
17461
|
-
function
|
|
17462
|
-
let t =
|
|
17463
|
-
return z(
|
|
17464
|
-
}
|
|
17465
|
-
var
|
|
17466
|
-
Fill:
|
|
17467
|
-
Label:
|
|
17468
|
-
Track:
|
|
17469
|
-
ValueLabel:
|
|
17470
|
-
}),
|
|
17503
|
+
function BE(e) {
|
|
17504
|
+
let t = FE();
|
|
17505
|
+
return z(NE.ValueLabel, U(() => t.dataset(), e));
|
|
17506
|
+
}
|
|
17507
|
+
var VE = Object.assign(RE, {
|
|
17508
|
+
Fill: IE,
|
|
17509
|
+
Label: LE,
|
|
17510
|
+
Track: zE,
|
|
17511
|
+
ValueLabel: BE
|
|
17512
|
+
}), HE = (e) => {
|
|
17471
17513
|
let [t, n] = I(e, [
|
|
17472
17514
|
"class",
|
|
17473
17515
|
"value",
|
|
17474
17516
|
"tone"
|
|
17475
17517
|
]);
|
|
17476
|
-
return z(
|
|
17518
|
+
return z(VE, U({
|
|
17477
17519
|
"data-slot": "progress",
|
|
17478
17520
|
get value() {
|
|
17479
17521
|
return t.value;
|
|
@@ -17482,10 +17524,10 @@ var LE = Object.assign(PE, {
|
|
|
17482
17524
|
return O(Ie, "relative h-2 w-full overflow-hidden rounded-full", t.class);
|
|
17483
17525
|
}
|
|
17484
17526
|
}, n, { get children() {
|
|
17485
|
-
return z(
|
|
17527
|
+
return z(VE.Track, {
|
|
17486
17528
|
class: "h-full w-full",
|
|
17487
17529
|
get children() {
|
|
17488
|
-
return z(
|
|
17530
|
+
return z(VE.Fill, {
|
|
17489
17531
|
"data-slot": "progress-indicator",
|
|
17490
17532
|
class: "glass glass-tint h-full w-full flex-1 transition-glass",
|
|
17491
17533
|
get style() {
|
|
@@ -17498,16 +17540,16 @@ var LE = Object.assign(PE, {
|
|
|
17498
17540
|
}
|
|
17499
17541
|
});
|
|
17500
17542
|
} }));
|
|
17501
|
-
},
|
|
17543
|
+
}, UE = /*#__PURE__*/ K("<div data-slot=resizable-panel-group>"), WE = /*#__PURE__*/ K("<div data-slot=resizable-panel>"), GE = /*#__PURE__*/ K("<div class=\"z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border\">"), KE = /*#__PURE__*/ K("<div data-slot=resizable-handle>"), qE = A(), JE = (e) => {
|
|
17502
17544
|
let [t, n] = I(e, [
|
|
17503
17545
|
"class",
|
|
17504
17546
|
"children",
|
|
17505
17547
|
"direction"
|
|
17506
17548
|
]), r = () => t.direction ?? "horizontal";
|
|
17507
|
-
return z(
|
|
17549
|
+
return z(qE.Provider, {
|
|
17508
17550
|
value: { direction: r },
|
|
17509
17551
|
get children() {
|
|
17510
|
-
var e =
|
|
17552
|
+
var e = UE();
|
|
17511
17553
|
return G(e, U({
|
|
17512
17554
|
get "data-panel-group-direction"() {
|
|
17513
17555
|
return r();
|
|
@@ -17518,7 +17560,7 @@ var LE = Object.assign(PE, {
|
|
|
17518
17560
|
}, n), !1, !0), V(e, () => t.children), e;
|
|
17519
17561
|
}
|
|
17520
17562
|
});
|
|
17521
|
-
},
|
|
17563
|
+
}, YE = (e) => {
|
|
17522
17564
|
let [t, n] = I(e, [
|
|
17523
17565
|
"class",
|
|
17524
17566
|
"children",
|
|
@@ -17528,7 +17570,7 @@ var LE = Object.assign(PE, {
|
|
|
17528
17570
|
"style"
|
|
17529
17571
|
]);
|
|
17530
17572
|
return (() => {
|
|
17531
|
-
var e =
|
|
17573
|
+
var e = WE();
|
|
17532
17574
|
return G(e, U({
|
|
17533
17575
|
get class() {
|
|
17534
17576
|
return O("flex-1 overflow-auto", t.class);
|
|
@@ -17543,8 +17585,8 @@ var LE = Object.assign(PE, {
|
|
|
17543
17585
|
}
|
|
17544
17586
|
}, n), !1, !0), V(e, () => t.children), e;
|
|
17545
17587
|
})();
|
|
17546
|
-
},
|
|
17547
|
-
let [t, n] = I(e, ["class", "withHandle"]), r = L(
|
|
17588
|
+
}, XE = (e) => {
|
|
17589
|
+
let [t, n] = I(e, ["class", "withHandle"]), r = L(qE), i = (e) => {
|
|
17548
17590
|
e.preventDefault();
|
|
17549
17591
|
let t = e.currentTarget;
|
|
17550
17592
|
t.setPointerCapture(e.pointerId);
|
|
@@ -17563,7 +17605,7 @@ var LE = Object.assign(PE, {
|
|
|
17563
17605
|
t.addEventListener("pointermove", _), t.addEventListener("pointerup", v);
|
|
17564
17606
|
};
|
|
17565
17607
|
return (() => {
|
|
17566
|
-
var e =
|
|
17608
|
+
var e = KE();
|
|
17567
17609
|
return e.$$pointerdown = i, G(e, U({
|
|
17568
17610
|
get "data-panel-group-direction"() {
|
|
17569
17611
|
return r?.direction();
|
|
@@ -17576,7 +17618,7 @@ var LE = Object.assign(PE, {
|
|
|
17576
17618
|
return t.withHandle;
|
|
17577
17619
|
},
|
|
17578
17620
|
get children() {
|
|
17579
|
-
var e =
|
|
17621
|
+
var e = GE();
|
|
17580
17622
|
return V(e, z(Q, {
|
|
17581
17623
|
icon: "lucide:grip-vertical",
|
|
17582
17624
|
width: 10,
|
|
@@ -17590,17 +17632,17 @@ var LE = Object.assign(PE, {
|
|
|
17590
17632
|
wt(["pointerdown"]);
|
|
17591
17633
|
//#endregion
|
|
17592
17634
|
//#region src/solid/responsive-dialog.tsx
|
|
17593
|
-
var
|
|
17594
|
-
function
|
|
17595
|
-
let e = L(
|
|
17635
|
+
var ZE = A();
|
|
17636
|
+
function QE() {
|
|
17637
|
+
let e = L(ZE);
|
|
17596
17638
|
if (!e) throw Error("ResponsiveDialog parts must be used within <ResponsiveDialog>");
|
|
17597
17639
|
return e;
|
|
17598
17640
|
}
|
|
17599
|
-
var
|
|
17641
|
+
var $E = (e) => {
|
|
17600
17642
|
let [t, n] = N(e.defaultOpen ?? !1), r = Ve(), i = () => r() === !0, a = () => e.open === void 0 ? t() : e.open === !0, o = (t) => {
|
|
17601
17643
|
e.open === void 0 && n(t), e.onOpenChange?.(t);
|
|
17602
17644
|
};
|
|
17603
|
-
return z(
|
|
17645
|
+
return z(ZE.Provider, {
|
|
17604
17646
|
value: {
|
|
17605
17647
|
open: a,
|
|
17606
17648
|
setOpen: o,
|
|
@@ -17636,8 +17678,8 @@ var YE = (e) => {
|
|
|
17636
17678
|
});
|
|
17637
17679
|
}
|
|
17638
17680
|
});
|
|
17639
|
-
},
|
|
17640
|
-
let t =
|
|
17681
|
+
}, eD = (e) => {
|
|
17682
|
+
let t = QE();
|
|
17641
17683
|
return z(k, {
|
|
17642
17684
|
get when() {
|
|
17643
17685
|
return t.isMobile();
|
|
@@ -17649,8 +17691,8 @@ var YE = (e) => {
|
|
|
17649
17691
|
return z(Id, e);
|
|
17650
17692
|
}
|
|
17651
17693
|
});
|
|
17652
|
-
},
|
|
17653
|
-
let t =
|
|
17694
|
+
}, tD = (e) => {
|
|
17695
|
+
let t = QE(), [n, r] = I(e, [
|
|
17654
17696
|
"class",
|
|
17655
17697
|
"children",
|
|
17656
17698
|
"size",
|
|
@@ -17690,8 +17732,8 @@ var YE = (e) => {
|
|
|
17690
17732
|
} });
|
|
17691
17733
|
}
|
|
17692
17734
|
});
|
|
17693
|
-
}, { Header:
|
|
17694
|
-
let t =
|
|
17735
|
+
}, { Header: nD, Body: rD, Footer: iD } = Wo("responsive-dialog"), aD = (e) => {
|
|
17736
|
+
let t = QE();
|
|
17695
17737
|
return z(k, {
|
|
17696
17738
|
get when() {
|
|
17697
17739
|
return t.isMobile();
|
|
@@ -17703,8 +17745,8 @@ var YE = (e) => {
|
|
|
17703
17745
|
return z(Wd, e);
|
|
17704
17746
|
}
|
|
17705
17747
|
});
|
|
17706
|
-
},
|
|
17707
|
-
let t =
|
|
17748
|
+
}, oD = (e) => {
|
|
17749
|
+
let t = QE();
|
|
17708
17750
|
return z(k, {
|
|
17709
17751
|
get when() {
|
|
17710
17752
|
return t.isMobile();
|
|
@@ -17716,13 +17758,13 @@ var YE = (e) => {
|
|
|
17716
17758
|
return z(Gd, e);
|
|
17717
17759
|
}
|
|
17718
17760
|
});
|
|
17719
|
-
},
|
|
17761
|
+
}, sD = (e) => {
|
|
17720
17762
|
let [t, n] = I(e, [
|
|
17721
17763
|
"children",
|
|
17722
17764
|
"class",
|
|
17723
17765
|
"variant",
|
|
17724
17766
|
"size"
|
|
17725
|
-
]), r =
|
|
17767
|
+
]), r = QE();
|
|
17726
17768
|
return z(sf, U({
|
|
17727
17769
|
"data-slot": "responsive-dialog-close",
|
|
17728
17770
|
get variant() {
|
|
@@ -17738,7 +17780,7 @@ var YE = (e) => {
|
|
|
17738
17780
|
}, n, { get children() {
|
|
17739
17781
|
return t.children ?? "Close";
|
|
17740
17782
|
} }));
|
|
17741
|
-
},
|
|
17783
|
+
}, cD = /*#__PURE__*/ K("<button><span data-slot=switch-thumb>"), lD = /*#__PURE__*/ K("<input type=hidden>"), uD = (e) => {
|
|
17742
17784
|
let [t, n] = I(e, [
|
|
17743
17785
|
"class",
|
|
17744
17786
|
"checked",
|
|
@@ -17748,7 +17790,7 @@ var YE = (e) => {
|
|
|
17748
17790
|
"name"
|
|
17749
17791
|
]), [r, i] = N(e.defaultChecked ?? !1), a = () => t.checked ?? r();
|
|
17750
17792
|
return (() => {
|
|
17751
|
-
var e =
|
|
17793
|
+
var e = cD(), r = e.firstChild;
|
|
17752
17794
|
return G(e, U(n, {
|
|
17753
17795
|
type: "button",
|
|
17754
17796
|
role: "switch",
|
|
@@ -17772,7 +17814,7 @@ var YE = (e) => {
|
|
|
17772
17814
|
}), !1, !0), V(e, (() => {
|
|
17773
17815
|
var e = H(() => !!t.name);
|
|
17774
17816
|
return () => e() && (() => {
|
|
17775
|
-
var e =
|
|
17817
|
+
var e = lD();
|
|
17776
17818
|
return B(() => W(e, "name", t.name)), B(() => e.value = a() ? "on" : "off"), e;
|
|
17777
17819
|
})();
|
|
17778
17820
|
})(), null), B((e) => {
|
|
@@ -17783,67 +17825,67 @@ var YE = (e) => {
|
|
|
17783
17825
|
t: void 0
|
|
17784
17826
|
}), e;
|
|
17785
17827
|
})();
|
|
17786
|
-
},
|
|
17828
|
+
}, dD = /*#__PURE__*/ K("<ul class=\"flex list-inside list-disc flex-col gap-1\">"), fD = /*#__PURE__*/ K("<div data-slot=schema-form>"), pD = /*#__PURE__*/ K("<li>"), mD = /*#__PURE__*/ K("<div class=\"flex items-center gap-3\"><span class=text-sm>"), hD = /*#__PURE__*/ K("<p class=\"text-muted-foreground text-sm\">Add at least <!> <!>."), gD = /*#__PURE__*/ K("<fieldset data-slot=schema-form-list>"), _D = /*#__PURE__*/ K("<span data-slot=schema-form-list-item-thumb>"), vD = /*#__PURE__*/ K("<div data-slot=schema-form-list-row><span class=\"pointer-events-none relative min-w-0 flex-1 truncate text-left text-sm\">"), yD = /*#__PURE__*/ K("<div class=\"border-border border-t p-3\">"), bD = /*#__PURE__*/ K("<img alt decoding=async class=\"absolute inset-0 h-full w-full object-cover\">"), xD = /*#__PURE__*/ K("<fieldset class=\"flex w-full min-w-0 flex-col gap-3\"data-slot=schema-form-variants>"), SD = /*#__PURE__*/ K("<div>"), CD = /*#__PURE__*/ K("<div class=\"flex flex-wrap gap-1.5\">"), wD = /*#__PURE__*/ K("<fieldset class=\"flex min-w-0 flex-col gap-2\"data-slot=schema-form-string-list>"), TD = /*#__PURE__*/ K("<button type=button class=\"cursor-pointer rounded-sm hover:text-destructive\">"), ED = [
|
|
17787
17829
|
"icon-picker",
|
|
17788
17830
|
"image-picker",
|
|
17789
17831
|
"area-picker",
|
|
17790
17832
|
"list",
|
|
17791
17833
|
"variants"
|
|
17792
|
-
],
|
|
17793
|
-
function
|
|
17834
|
+
], DD = /* @__PURE__ */ new Set();
|
|
17835
|
+
function OD(e, t) {
|
|
17794
17836
|
let n = e.toLowerCase();
|
|
17795
|
-
return t.type !== "string" || n !== "areaid" && n !== "area_id" ? !1 : (typeof process < "u" && process.env.NODE_ENV !== "production" && !
|
|
17837
|
+
return t.type !== "string" || n !== "areaid" && n !== "area_id" ? !1 : (typeof process < "u" && process.env.NODE_ENV !== "production" && !DD.has(e) && (DD.add(e), console.warn(`[SchemaForm] "${e}" renders an area picker because of its name. That fallback is removed in the next major; declare it with field.area() instead. https://glasshome.app/docs/widget-sdk/config`)), !0);
|
|
17796
17838
|
}
|
|
17797
|
-
function
|
|
17798
|
-
return e.formType === void 0 ||
|
|
17839
|
+
function kD(e) {
|
|
17840
|
+
return e.formType === void 0 || ED.includes(e.formType);
|
|
17799
17841
|
}
|
|
17800
|
-
function
|
|
17842
|
+
function AD(e) {
|
|
17801
17843
|
return typeof e == "object" && e ? e : {};
|
|
17802
17844
|
}
|
|
17803
|
-
function
|
|
17804
|
-
return Array.isArray(e.items) ? {} :
|
|
17845
|
+
function jD(e) {
|
|
17846
|
+
return Array.isArray(e.items) ? {} : AD(e.items);
|
|
17805
17847
|
}
|
|
17806
|
-
function
|
|
17807
|
-
return Object.entries(e.properties ?? {}).map(([e, t]) => [e,
|
|
17848
|
+
function MD(e) {
|
|
17849
|
+
return Object.entries(e.properties ?? {}).map(([e, t]) => [e, AD(t)]);
|
|
17808
17850
|
}
|
|
17809
|
-
function
|
|
17810
|
-
return e.type === "array" &&
|
|
17851
|
+
function ND(e) {
|
|
17852
|
+
return e.type === "array" && jD(e).type === "string" && e.domain !== void 0;
|
|
17811
17853
|
}
|
|
17812
|
-
function
|
|
17813
|
-
return e.type === "array" &&
|
|
17854
|
+
function PD(e) {
|
|
17855
|
+
return e.type === "array" && jD(e).type === "string";
|
|
17814
17856
|
}
|
|
17815
|
-
function
|
|
17857
|
+
function FD(e) {
|
|
17816
17858
|
return e.type === "object" && e.properties !== void 0 && e.formType === void 0;
|
|
17817
17859
|
}
|
|
17818
|
-
function
|
|
17860
|
+
function ID(e) {
|
|
17819
17861
|
return typeof e == "object" && e ? e : {};
|
|
17820
17862
|
}
|
|
17821
|
-
function
|
|
17863
|
+
function LD(e) {
|
|
17822
17864
|
let t = {};
|
|
17823
|
-
for (let [n, r] of
|
|
17865
|
+
for (let [n, r] of MD(e)) r.const === void 0 ? r.default !== void 0 && (t[n] = structuredClone(r.default)) : t[n] = structuredClone(r.const);
|
|
17824
17866
|
return t;
|
|
17825
17867
|
}
|
|
17826
|
-
function
|
|
17827
|
-
if (e.default !== void 0) return
|
|
17828
|
-
let t =
|
|
17829
|
-
return
|
|
17868
|
+
function RD(e) {
|
|
17869
|
+
if (e.default !== void 0) return ID(structuredClone(e.default));
|
|
17870
|
+
let t = zD(e)[0];
|
|
17871
|
+
return LD(t || e);
|
|
17830
17872
|
}
|
|
17831
|
-
function
|
|
17832
|
-
return (e.oneOf ?? e.anyOf ?? []).map(
|
|
17873
|
+
function zD(e) {
|
|
17874
|
+
return (e.oneOf ?? e.anyOf ?? []).map(AD).filter((e) => e.properties !== void 0);
|
|
17833
17875
|
}
|
|
17834
|
-
function
|
|
17835
|
-
let n =
|
|
17876
|
+
function BD(e, t) {
|
|
17877
|
+
let n = AD(e.properties?.[t]);
|
|
17836
17878
|
return typeof n.const == "string" ? n.const : "";
|
|
17837
17879
|
}
|
|
17838
|
-
function
|
|
17839
|
-
let i =
|
|
17840
|
-
for (let [n] of
|
|
17880
|
+
function VD(e, t, n, r) {
|
|
17881
|
+
let i = LD(e);
|
|
17882
|
+
for (let [n] of MD(e)) n !== t && n in r && r[n] !== void 0 && (i[n] = r[n]);
|
|
17841
17883
|
return i[t] = n, i;
|
|
17842
17884
|
}
|
|
17843
|
-
function
|
|
17885
|
+
function HD(e) {
|
|
17844
17886
|
let t = () => {
|
|
17845
17887
|
let t = e.schema;
|
|
17846
|
-
return t.type !== "object" || !t.properties ? [] :
|
|
17888
|
+
return t.type !== "object" || !t.properties ? [] : MD(t);
|
|
17847
17889
|
}, n = (t, n) => {
|
|
17848
17890
|
e.onChange({
|
|
17849
17891
|
...e.data,
|
|
@@ -17851,12 +17893,12 @@ function RD(e) {
|
|
|
17851
17893
|
});
|
|
17852
17894
|
};
|
|
17853
17895
|
return (() => {
|
|
17854
|
-
var r =
|
|
17896
|
+
var r = fD();
|
|
17855
17897
|
return V(r, z(at, {
|
|
17856
17898
|
get each() {
|
|
17857
17899
|
return t();
|
|
17858
17900
|
},
|
|
17859
|
-
children: ([t, r]) => z(
|
|
17901
|
+
children: ([t, r]) => z(KD, {
|
|
17860
17902
|
id: t,
|
|
17861
17903
|
name: t,
|
|
17862
17904
|
prop: r,
|
|
@@ -17877,13 +17919,13 @@ function RD(e) {
|
|
|
17877
17919
|
tone: "destructive",
|
|
17878
17920
|
title: "Validation errors",
|
|
17879
17921
|
get children() {
|
|
17880
|
-
var t =
|
|
17922
|
+
var t = dD();
|
|
17881
17923
|
return V(t, z(at, {
|
|
17882
17924
|
get each() {
|
|
17883
17925
|
return e.errors;
|
|
17884
17926
|
},
|
|
17885
17927
|
children: (e) => (() => {
|
|
17886
|
-
var t =
|
|
17928
|
+
var t = pD();
|
|
17887
17929
|
return V(t, e), t;
|
|
17888
17930
|
})()
|
|
17889
17931
|
})), t;
|
|
@@ -17893,24 +17935,24 @@ function RD(e) {
|
|
|
17893
17935
|
}), null), B(() => R(r, O("flex w-full min-w-0 flex-col gap-6", e.class))), r;
|
|
17894
17936
|
})();
|
|
17895
17937
|
}
|
|
17896
|
-
var
|
|
17897
|
-
["unknown", (e) => !
|
|
17938
|
+
var UD = [
|
|
17939
|
+
["unknown", (e) => !kD(e)],
|
|
17898
17940
|
["list", (e) => e.formType === "list"],
|
|
17899
17941
|
["variants", (e) => e.formType === "variants"],
|
|
17900
|
-
["entities", (e) =>
|
|
17942
|
+
["entities", (e) => ND(e)],
|
|
17901
17943
|
["icon", (e) => e.formType === "icon-picker"],
|
|
17902
17944
|
["image", (e) => e.formType === "image-picker"],
|
|
17903
|
-
["area", (e, t) => e.formType === "area-picker" ||
|
|
17945
|
+
["area", (e, t) => e.formType === "area-picker" || OD(t, e)],
|
|
17904
17946
|
["enum", (e) => e.enum !== void 0],
|
|
17905
17947
|
["boolean", (e) => e.type === "boolean"],
|
|
17906
17948
|
["number", (e) => e.type === "number" || e.type === "integer"],
|
|
17907
|
-
["strings", (e) =>
|
|
17908
|
-
["group", (e) =>
|
|
17949
|
+
["strings", (e) => PD(e)],
|
|
17950
|
+
["group", (e) => FD(e)]
|
|
17909
17951
|
];
|
|
17910
|
-
function
|
|
17911
|
-
return
|
|
17952
|
+
function WD(e, t) {
|
|
17953
|
+
return UD.find(([, n]) => n(e, t))?.[0] ?? "text";
|
|
17912
17954
|
}
|
|
17913
|
-
var
|
|
17955
|
+
var GD = {
|
|
17914
17956
|
text: "for",
|
|
17915
17957
|
image: "for",
|
|
17916
17958
|
number: "for",
|
|
@@ -17925,14 +17967,14 @@ var VD = {
|
|
|
17925
17967
|
unknown: "none",
|
|
17926
17968
|
group: "none"
|
|
17927
17969
|
};
|
|
17928
|
-
function
|
|
17929
|
-
let t = () =>
|
|
17970
|
+
function KD(e) {
|
|
17971
|
+
let t = () => WD(e.prop, e.name), n = () => `${e.id}-label`, r = () => GD[t()];
|
|
17930
17972
|
return z(k, {
|
|
17931
17973
|
get when() {
|
|
17932
17974
|
return t() !== "group";
|
|
17933
17975
|
},
|
|
17934
17976
|
get fallback() {
|
|
17935
|
-
return z(
|
|
17977
|
+
return z(qD, e);
|
|
17936
17978
|
},
|
|
17937
17979
|
get children() {
|
|
17938
17980
|
return z(sS, { get children() {
|
|
@@ -17948,7 +17990,7 @@ function HD(e) {
|
|
|
17948
17990
|
return e.prop.title || e.name;
|
|
17949
17991
|
}
|
|
17950
17992
|
}),
|
|
17951
|
-
z(
|
|
17993
|
+
z(qD, U(e, { get labelledBy() {
|
|
17952
17994
|
return H(() => r() === "labelledby")() ? n() : void 0;
|
|
17953
17995
|
} })),
|
|
17954
17996
|
z(k, {
|
|
@@ -17964,8 +18006,8 @@ function HD(e) {
|
|
|
17964
18006
|
}
|
|
17965
18007
|
});
|
|
17966
18008
|
}
|
|
17967
|
-
function
|
|
17968
|
-
let t = () => e.value ?? e.prop.default, n = () =>
|
|
18009
|
+
function qD(e) {
|
|
18010
|
+
let t = () => e.value ?? e.prop.default, n = () => WD(e.prop, e.name);
|
|
17969
18011
|
return z(ct, {
|
|
17970
18012
|
get fallback() {
|
|
17971
18013
|
return z(qv, {
|
|
@@ -17998,7 +18040,7 @@ function UD(e) {
|
|
|
17998
18040
|
return n() === "list";
|
|
17999
18041
|
},
|
|
18000
18042
|
get children() {
|
|
18001
|
-
return z(
|
|
18043
|
+
return z(YD, e);
|
|
18002
18044
|
}
|
|
18003
18045
|
}),
|
|
18004
18046
|
z(st, {
|
|
@@ -18006,7 +18048,7 @@ function UD(e) {
|
|
|
18006
18048
|
return n() === "variants";
|
|
18007
18049
|
},
|
|
18008
18050
|
get children() {
|
|
18009
|
-
return z(
|
|
18051
|
+
return z(XD, e);
|
|
18010
18052
|
}
|
|
18011
18053
|
}),
|
|
18012
18054
|
z(st, {
|
|
@@ -18058,7 +18100,7 @@ function UD(e) {
|
|
|
18058
18100
|
return n() === "image";
|
|
18059
18101
|
},
|
|
18060
18102
|
get children() {
|
|
18061
|
-
return z(
|
|
18103
|
+
return z(Mw, {
|
|
18062
18104
|
get id() {
|
|
18063
18105
|
return e.id;
|
|
18064
18106
|
},
|
|
@@ -18127,8 +18169,8 @@ function UD(e) {
|
|
|
18127
18169
|
return n() === "boolean";
|
|
18128
18170
|
},
|
|
18129
18171
|
get children() {
|
|
18130
|
-
var n =
|
|
18131
|
-
return V(n, z(
|
|
18172
|
+
var n = mD(), r = n.firstChild;
|
|
18173
|
+
return V(n, z(uD, {
|
|
18132
18174
|
get "aria-labelledby"() {
|
|
18133
18175
|
return e.labelledBy;
|
|
18134
18176
|
},
|
|
@@ -18144,7 +18186,7 @@ function UD(e) {
|
|
|
18144
18186
|
return n() === "number";
|
|
18145
18187
|
},
|
|
18146
18188
|
get children() {
|
|
18147
|
-
return z(
|
|
18189
|
+
return z(zT, {
|
|
18148
18190
|
get id() {
|
|
18149
18191
|
return e.id;
|
|
18150
18192
|
},
|
|
@@ -18169,7 +18211,7 @@ function UD(e) {
|
|
|
18169
18211
|
return n() === "strings";
|
|
18170
18212
|
},
|
|
18171
18213
|
get children() {
|
|
18172
|
-
return z(
|
|
18214
|
+
return z(ZD, {
|
|
18173
18215
|
get labelledBy() {
|
|
18174
18216
|
return e.labelledBy;
|
|
18175
18217
|
},
|
|
@@ -18215,19 +18257,19 @@ function UD(e) {
|
|
|
18215
18257
|
}),
|
|
18216
18258
|
z(at, {
|
|
18217
18259
|
get each() {
|
|
18218
|
-
return
|
|
18260
|
+
return MD(e.prop);
|
|
18219
18261
|
},
|
|
18220
|
-
children: ([n, r]) => z(
|
|
18262
|
+
children: ([n, r]) => z(KD, {
|
|
18221
18263
|
get id() {
|
|
18222
18264
|
return `${e.id}.${n}`;
|
|
18223
18265
|
},
|
|
18224
18266
|
name: n,
|
|
18225
18267
|
prop: r,
|
|
18226
18268
|
get value() {
|
|
18227
|
-
return
|
|
18269
|
+
return ID(t())[n];
|
|
18228
18270
|
},
|
|
18229
18271
|
onChange: (r) => e.onChange({
|
|
18230
|
-
...
|
|
18272
|
+
...ID(t()),
|
|
18231
18273
|
[n]: r
|
|
18232
18274
|
}),
|
|
18233
18275
|
get searchIcons() {
|
|
@@ -18244,18 +18286,18 @@ function UD(e) {
|
|
|
18244
18286
|
}
|
|
18245
18287
|
});
|
|
18246
18288
|
}
|
|
18247
|
-
var
|
|
18289
|
+
var JD = {
|
|
18248
18290
|
class: "gap-2",
|
|
18249
18291
|
px: 8
|
|
18250
18292
|
};
|
|
18251
|
-
function
|
|
18252
|
-
let t = () =>
|
|
18253
|
-
let e =
|
|
18293
|
+
function YD(e) {
|
|
18294
|
+
let t = () => jD(e.prop), n = mC(), [r, i] = N(/* @__PURE__ */ new Set()), a = M(() => {
|
|
18295
|
+
let e = MD(t()).filter(([, e]) => e.formType === "image-picker");
|
|
18254
18296
|
return e.length === 1 ? e[0]?.[0] : void 0;
|
|
18255
18297
|
}), o = (e) => {
|
|
18256
18298
|
let t = a(), r = n;
|
|
18257
18299
|
if (t === void 0 || !r) return;
|
|
18258
|
-
let i =
|
|
18300
|
+
let i = ID(e)[t];
|
|
18259
18301
|
if (!(typeof i != "string" || i === "")) return r.url(i, "thumb");
|
|
18260
18302
|
}, s = (e) => {
|
|
18261
18303
|
let t = o(e);
|
|
@@ -18266,10 +18308,10 @@ function GD(e) {
|
|
|
18266
18308
|
}, l = () => e.prop.minItems ?? 0, u = () => e.prop.maxItems !== void 0 && c().length >= e.prop.maxItems, [d, f] = N(-1), p = (e) => {
|
|
18267
18309
|
let n = t();
|
|
18268
18310
|
if (n.formType !== "variants" || n.discriminator === void 0) return;
|
|
18269
|
-
let r =
|
|
18311
|
+
let r = ID(e)[n.discriminator];
|
|
18270
18312
|
if (typeof r == "string") return n.labels?.[r] ?? r;
|
|
18271
18313
|
}, m = (t, n) => {
|
|
18272
|
-
let r =
|
|
18314
|
+
let r = ID(t), i = e.prop.labelField;
|
|
18273
18315
|
if (i !== void 0) {
|
|
18274
18316
|
let e = r[i];
|
|
18275
18317
|
if (typeof e == "string" && e.trim() !== "") return e;
|
|
@@ -18286,19 +18328,19 @@ function GD(e) {
|
|
|
18286
18328
|
r.splice(n, 0, i), e.onChange(r);
|
|
18287
18329
|
let a = d();
|
|
18288
18330
|
a === t ? f(n) : a !== -1 && (t < a && n >= a ? f(a - 1) : t > a && n <= a && f(a + 1));
|
|
18289
|
-
}, v =
|
|
18331
|
+
}, v = jT({
|
|
18290
18332
|
count: () => c().length,
|
|
18291
|
-
gapPx:
|
|
18333
|
+
gapPx: JD.px,
|
|
18292
18334
|
onReorder: _,
|
|
18293
18335
|
onDragStart: (e) => {
|
|
18294
18336
|
d() === e && f(-1);
|
|
18295
18337
|
}
|
|
18296
18338
|
}), y = () => {
|
|
18297
|
-
let n = [...c(),
|
|
18339
|
+
let n = [...c(), RD(t())];
|
|
18298
18340
|
e.onChange(n), f(n.length - 1);
|
|
18299
18341
|
};
|
|
18300
18342
|
return (() => {
|
|
18301
|
-
var r =
|
|
18343
|
+
var r = gD();
|
|
18302
18344
|
return V(r, z(ot, {
|
|
18303
18345
|
get each() {
|
|
18304
18346
|
return c();
|
|
@@ -18322,7 +18364,7 @@ function GD(e) {
|
|
|
18322
18364
|
},
|
|
18323
18365
|
get children() {
|
|
18324
18366
|
return [(() => {
|
|
18325
|
-
var e =
|
|
18367
|
+
var e = vD(), t = e.firstChild;
|
|
18326
18368
|
return e.$$pointerdown = (e) => {
|
|
18327
18369
|
let t = e.target.closest("button");
|
|
18328
18370
|
t && t.dataset.slot !== "collapsible-trigger" || v.startDrag(u, e, !1);
|
|
@@ -18344,7 +18386,7 @@ function GD(e) {
|
|
|
18344
18386
|
return a() !== void 0 && n !== void 0;
|
|
18345
18387
|
},
|
|
18346
18388
|
get children() {
|
|
18347
|
-
var e =
|
|
18389
|
+
var e = _D();
|
|
18348
18390
|
return V(e, z(k, {
|
|
18349
18391
|
get when() {
|
|
18350
18392
|
return s(r());
|
|
@@ -18360,7 +18402,7 @@ function GD(e) {
|
|
|
18360
18402
|
});
|
|
18361
18403
|
},
|
|
18362
18404
|
children: (e) => (() => {
|
|
18363
|
-
var t =
|
|
18405
|
+
var t = bD();
|
|
18364
18406
|
return t.addEventListener("error", () => i((t) => new Set(t).add(e()))), B(() => W(t, "src", e())), t;
|
|
18365
18407
|
})()
|
|
18366
18408
|
})), B(() => R(e, O(Ie, "pointer-events-none relative flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md text-muted-foreground"))), e;
|
|
@@ -18415,8 +18457,8 @@ function GD(e) {
|
|
|
18415
18457
|
}
|
|
18416
18458
|
}), null), B(() => R(e, O("relative flex min-h-11 select-none items-center gap-1.5 py-1 pr-1.5 pl-2", "transition-colors duration-(--duration-micro) hover:bg-muted/40"))), e;
|
|
18417
18459
|
})(), z(qm, { get children() {
|
|
18418
|
-
var n =
|
|
18419
|
-
return V(n, z(
|
|
18460
|
+
var n = yD();
|
|
18461
|
+
return V(n, z(KD, {
|
|
18420
18462
|
get id() {
|
|
18421
18463
|
return `${e.id}.${u}`;
|
|
18422
18464
|
},
|
|
@@ -18445,7 +18487,7 @@ function GD(e) {
|
|
|
18445
18487
|
return c().length < l();
|
|
18446
18488
|
},
|
|
18447
18489
|
get children() {
|
|
18448
|
-
var e =
|
|
18490
|
+
var e = hD(), t = e.firstChild.nextSibling, n = t.nextSibling.nextSibling;
|
|
18449
18491
|
return n.nextSibling, V(e, l, t), V(e, () => l() === 1 ? "item" : "items", n), e;
|
|
18450
18492
|
}
|
|
18451
18493
|
}), null), V(r, z(sf, {
|
|
@@ -18465,7 +18507,7 @@ function GD(e) {
|
|
|
18465
18507
|
}), H(() => e.prop.addLabel ?? "Add item")];
|
|
18466
18508
|
}
|
|
18467
18509
|
}), null), B((t) => {
|
|
18468
|
-
var n = e.labelledBy, i = O("flex w-full min-w-0 flex-col",
|
|
18510
|
+
var n = e.labelledBy, i = O("flex w-full min-w-0 flex-col", JD.class);
|
|
18469
18511
|
return n !== t.e && W(r, "aria-labelledby", t.e = n), i !== t.t && R(r, t.t = i), t;
|
|
18470
18512
|
}, {
|
|
18471
18513
|
e: void 0,
|
|
@@ -18473,20 +18515,20 @@ function GD(e) {
|
|
|
18473
18515
|
}), r;
|
|
18474
18516
|
})();
|
|
18475
18517
|
}
|
|
18476
|
-
function
|
|
18477
|
-
let t = () =>
|
|
18518
|
+
function XD(e) {
|
|
18519
|
+
let t = () => zD(e.prop), r = () => e.prop.discriminator ?? "", i = () => t().map((e) => BD(e, r())), a = () => ID(e.value ?? e.prop.default), o = M(() => {
|
|
18478
18520
|
let e = a()[r()];
|
|
18479
18521
|
return typeof e == "string" && i().includes(e) ? e : i()[0] ?? "";
|
|
18480
|
-
}), s = M(() => t().find((e) =>
|
|
18522
|
+
}), s = M(() => t().find((e) => BD(e, r()) === o())), c = (t) => e.prop.labels?.[t] ?? t, l = (n) => {
|
|
18481
18523
|
if (n === o()) return;
|
|
18482
|
-
let i = t().find((e) =>
|
|
18483
|
-
i && e.onChange(
|
|
18524
|
+
let i = t().find((e) => BD(e, r()) === n);
|
|
18525
|
+
i && e.onChange(VD(i, r(), n, a()));
|
|
18484
18526
|
}, u = M(() => {
|
|
18485
18527
|
let e = s();
|
|
18486
|
-
return e ?
|
|
18528
|
+
return e ? MD(e).filter(([e]) => e !== r()) : [];
|
|
18487
18529
|
});
|
|
18488
18530
|
return (() => {
|
|
18489
|
-
var t =
|
|
18531
|
+
var t = xD();
|
|
18490
18532
|
return V(t, z(Dy, {
|
|
18491
18533
|
get value() {
|
|
18492
18534
|
return o();
|
|
@@ -18522,12 +18564,12 @@ function KD(e) {
|
|
|
18522
18564
|
},
|
|
18523
18565
|
keyed: !0,
|
|
18524
18566
|
children: (t) => (() => {
|
|
18525
|
-
var t =
|
|
18567
|
+
var t = SD();
|
|
18526
18568
|
return V(t, z(at, {
|
|
18527
18569
|
get each() {
|
|
18528
18570
|
return u();
|
|
18529
18571
|
},
|
|
18530
|
-
children: ([t, n]) => z(
|
|
18572
|
+
children: ([t, n]) => z(KD, {
|
|
18531
18573
|
get id() {
|
|
18532
18574
|
return `${e.id}.${t}`;
|
|
18533
18575
|
},
|
|
@@ -18549,26 +18591,26 @@ function KD(e) {
|
|
|
18549
18591
|
}), null), B(() => W(t, "aria-labelledby", e.labelledBy)), t;
|
|
18550
18592
|
})();
|
|
18551
18593
|
}
|
|
18552
|
-
function
|
|
18594
|
+
function ZD(e) {
|
|
18553
18595
|
let [t, n] = N(""), r = (t) => {
|
|
18554
18596
|
let r = t.trim();
|
|
18555
18597
|
!r || e.value.includes(r) || (e.onChange([...e.value, r]), n(""));
|
|
18556
18598
|
};
|
|
18557
18599
|
return (() => {
|
|
18558
|
-
var i =
|
|
18600
|
+
var i = wD();
|
|
18559
18601
|
return V(i, z(k, {
|
|
18560
18602
|
get when() {
|
|
18561
18603
|
return e.value.length > 0;
|
|
18562
18604
|
},
|
|
18563
18605
|
get children() {
|
|
18564
|
-
var t =
|
|
18606
|
+
var t = CD();
|
|
18565
18607
|
return V(t, z(at, {
|
|
18566
18608
|
get each() {
|
|
18567
18609
|
return e.value;
|
|
18568
18610
|
},
|
|
18569
18611
|
children: (t) => z(ld, { get children() {
|
|
18570
18612
|
return [t, (() => {
|
|
18571
|
-
var n =
|
|
18613
|
+
var n = TD();
|
|
18572
18614
|
return n.$$click = () => e.onChange(e.value.filter((e) => e !== t)), W(n, "aria-label", `Remove ${t}`), V(n, z(Q, {
|
|
18573
18615
|
icon: "lucide:x",
|
|
18574
18616
|
width: 12,
|
|
@@ -18595,8 +18637,8 @@ function qD(e) {
|
|
|
18595
18637
|
wt(["pointerdown", "click"]);
|
|
18596
18638
|
//#endregion
|
|
18597
18639
|
//#region src/solid/scope-indicator.tsx
|
|
18598
|
-
var
|
|
18599
|
-
function
|
|
18640
|
+
var QD = /*#__PURE__*/ K("<span>(<!>)");
|
|
18641
|
+
function $D(e) {
|
|
18600
18642
|
return z(ld, {
|
|
18601
18643
|
tone: "var(--muted-foreground)",
|
|
18602
18644
|
class: "gap-1 font-mono font-normal",
|
|
@@ -18606,7 +18648,7 @@ function YD(e) {
|
|
|
18606
18648
|
H(() => e.scope),
|
|
18607
18649
|
" ",
|
|
18608
18650
|
(() => {
|
|
18609
|
-
var t =
|
|
18651
|
+
var t = QD(), n = t.firstChild.nextSibling;
|
|
18610
18652
|
return n.nextSibling, V(t, () => e.type === "personal" ? "personal" : "org", n), t;
|
|
18611
18653
|
})()
|
|
18612
18654
|
];
|
|
@@ -18615,16 +18657,16 @@ function YD(e) {
|
|
|
18615
18657
|
}
|
|
18616
18658
|
//#endregion
|
|
18617
18659
|
//#region src/solid/scroll-area.tsx
|
|
18618
|
-
var
|
|
18660
|
+
var eO = /*#__PURE__*/ K("<div data-slot=scroll-area><div data-slot=scroll-area-viewport class=\"size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50\">"), tO = (e) => {
|
|
18619
18661
|
let [t, n] = I(e, ["class", "children"]);
|
|
18620
18662
|
return (() => {
|
|
18621
|
-
var e =
|
|
18663
|
+
var e = eO(), r = e.firstChild;
|
|
18622
18664
|
return G(e, U({ get class() {
|
|
18623
18665
|
return O("gh-scroll relative overflow-auto", t.class);
|
|
18624
18666
|
} }, n), !1, !0), V(r, () => t.children), e;
|
|
18625
18667
|
})();
|
|
18626
|
-
},
|
|
18627
|
-
function
|
|
18668
|
+
}, nO = (e) => null, rO = /*#__PURE__*/ K("<p data-slot=section-empty class=\"py-4 text-center text-muted-foreground text-sm\">"), iO = /*#__PURE__*/ K("<div data-slot=row-actions class=\"flex items-center gap-1\">"), aO = /*#__PURE__*/ K("<div data-slot=labeled-field class=\"flex flex-col gap-1\"><p data-slot=labeled-field-label class=\"font-medium text-sm\">");
|
|
18669
|
+
function oO(e) {
|
|
18628
18670
|
return z(sf, {
|
|
18629
18671
|
variant: "outline",
|
|
18630
18672
|
size: "sm",
|
|
@@ -18640,15 +18682,15 @@ function nO(e) {
|
|
|
18640
18682
|
}
|
|
18641
18683
|
});
|
|
18642
18684
|
}
|
|
18643
|
-
function
|
|
18685
|
+
function sO(e) {
|
|
18644
18686
|
return (() => {
|
|
18645
|
-
var t =
|
|
18687
|
+
var t = rO();
|
|
18646
18688
|
return V(t, () => e.children), t;
|
|
18647
18689
|
})();
|
|
18648
18690
|
}
|
|
18649
|
-
function
|
|
18691
|
+
function cO(e) {
|
|
18650
18692
|
return (() => {
|
|
18651
|
-
var t =
|
|
18693
|
+
var t = iO();
|
|
18652
18694
|
return V(t, z(sf, {
|
|
18653
18695
|
variant: "ghost",
|
|
18654
18696
|
size: "icon",
|
|
@@ -18693,14 +18735,14 @@ function iO(e) {
|
|
|
18693
18735
|
}), null), t;
|
|
18694
18736
|
})();
|
|
18695
18737
|
}
|
|
18696
|
-
function
|
|
18738
|
+
function lO(e) {
|
|
18697
18739
|
return (() => {
|
|
18698
|
-
var t =
|
|
18740
|
+
var t = aO(), n = t.firstChild;
|
|
18699
18741
|
return V(n, () => e.label), V(t, () => e.children, null), t;
|
|
18700
18742
|
})();
|
|
18701
18743
|
}
|
|
18702
|
-
function
|
|
18703
|
-
return z(
|
|
18744
|
+
function uO(e) {
|
|
18745
|
+
return z(lO, {
|
|
18704
18746
|
get label() {
|
|
18705
18747
|
return e.label;
|
|
18706
18748
|
},
|
|
@@ -18722,8 +18764,8 @@ function oO(e) {
|
|
|
18722
18764
|
}
|
|
18723
18765
|
});
|
|
18724
18766
|
}
|
|
18725
|
-
function
|
|
18726
|
-
return z(
|
|
18767
|
+
function dO(e) {
|
|
18768
|
+
return z(lO, {
|
|
18727
18769
|
get label() {
|
|
18728
18770
|
return e.label;
|
|
18729
18771
|
},
|
|
@@ -18740,7 +18782,7 @@ function sO(e) {
|
|
|
18740
18782
|
}
|
|
18741
18783
|
});
|
|
18742
18784
|
}
|
|
18743
|
-
function
|
|
18785
|
+
function fO(e) {
|
|
18744
18786
|
let t = P();
|
|
18745
18787
|
return z(sS, {
|
|
18746
18788
|
orientation: "horizontal",
|
|
@@ -18792,7 +18834,7 @@ function cO(e) {
|
|
|
18792
18834
|
})];
|
|
18793
18835
|
} })
|
|
18794
18836
|
}),
|
|
18795
|
-
z(
|
|
18837
|
+
z(uD, {
|
|
18796
18838
|
id: t,
|
|
18797
18839
|
get checked() {
|
|
18798
18840
|
return e.checked;
|
|
@@ -18813,14 +18855,14 @@ function cO(e) {
|
|
|
18813
18855
|
}
|
|
18814
18856
|
//#endregion
|
|
18815
18857
|
//#region src/solid/sheet.tsx
|
|
18816
|
-
var
|
|
18858
|
+
var pO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full shrink-0 items-end justify-center\">"), mO = (e) => z(yo, U(e, { preventScroll: !1 })), hO = (e) => z(yo.Trigger, U({ "data-slot": "sheet-trigger" }, e)), gO = Ko("sheet-close"), _O = (e) => {
|
|
18817
18859
|
let [t, n] = I(e, [
|
|
18818
18860
|
"class",
|
|
18819
18861
|
"variant",
|
|
18820
18862
|
"size",
|
|
18821
18863
|
"children"
|
|
18822
18864
|
]);
|
|
18823
|
-
return z(
|
|
18865
|
+
return z(gO, U({ get class() {
|
|
18824
18866
|
return O(_({
|
|
18825
18867
|
variant: t.variant ?? "outline",
|
|
18826
18868
|
size: t.size
|
|
@@ -18828,7 +18870,7 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18828
18870
|
} }, n, { get children() {
|
|
18829
18871
|
return t.children ?? "Close";
|
|
18830
18872
|
} }));
|
|
18831
|
-
},
|
|
18873
|
+
}, vO = (e) => {
|
|
18832
18874
|
let [t, n] = I(e, ["class"]);
|
|
18833
18875
|
return z(yo.Overlay, U({
|
|
18834
18876
|
"data-slot": "sheet-overlay",
|
|
@@ -18836,20 +18878,20 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18836
18878
|
return O(`${je} pointer-events-auto fixed inset-0 select-none ${ae.overlay} ${re}`, t.class);
|
|
18837
18879
|
}
|
|
18838
18880
|
}, n));
|
|
18839
|
-
},
|
|
18881
|
+
}, yO = `${te} [--glass-sheen:600px_300px]`, bO = `fixed ${ae.overlay} flex flex-col overflow-hidden rounded-lg ${yO} transition ease-in-out focus:outline-none focus-visible:outline-none data-[closed]:animate-out data-[expanded]:animate-in data-[closed]:duration-300 data-[expanded]:duration-500`, xO = {
|
|
18840
18882
|
right: "data-[closed]:slide-out-to-right data-[expanded]:slide-in-from-right inset-y-3 right-3 w-3/4 sm:max-w-sm",
|
|
18841
18883
|
left: "data-[closed]:slide-out-to-left data-[expanded]:slide-in-from-left inset-y-3 left-3 w-3/4 sm:max-w-sm",
|
|
18842
18884
|
top: `data-[closed]:slide-out-to-top data-[expanded]:slide-in-from-top inset-x-3 top-3 ${Mo}`,
|
|
18843
18885
|
bottom: `data-[closed]:slide-out-to-bottom data-[expanded]:slide-in-from-bottom inset-x-3 bottom-3 ${Mo}`
|
|
18844
|
-
},
|
|
18886
|
+
}, SO = (e) => z(k, {
|
|
18845
18887
|
get when() {
|
|
18846
18888
|
return e.above;
|
|
18847
18889
|
},
|
|
18848
18890
|
get children() {
|
|
18849
|
-
var t =
|
|
18891
|
+
var t = pO();
|
|
18850
18892
|
return V(t, () => e.above), t;
|
|
18851
18893
|
}
|
|
18852
|
-
}),
|
|
18894
|
+
}), CO = (e) => {
|
|
18853
18895
|
let [t, n] = I(e, [
|
|
18854
18896
|
"class",
|
|
18855
18897
|
"children",
|
|
@@ -18860,7 +18902,7 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18860
18902
|
return z(yo.Portal, { get children() {
|
|
18861
18903
|
return [
|
|
18862
18904
|
z(qo, {}),
|
|
18863
|
-
z(
|
|
18905
|
+
z(vO, {}),
|
|
18864
18906
|
z(yo.Content, U({
|
|
18865
18907
|
"data-slot": "sheet-content",
|
|
18866
18908
|
role: "dialog",
|
|
@@ -18868,17 +18910,17 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18868
18910
|
return H(() => !!r.titleId())() ? void 0 : t.ariaLabel;
|
|
18869
18911
|
},
|
|
18870
18912
|
get class() {
|
|
18871
|
-
return O(
|
|
18913
|
+
return O(bO, xO[t.side ?? "right"], t.class);
|
|
18872
18914
|
},
|
|
18873
18915
|
onOpenAutoFocus: (e) => e.preventDefault()
|
|
18874
18916
|
}, n, { get children() {
|
|
18875
|
-
return [z(
|
|
18917
|
+
return [z(SO, { get above() {
|
|
18876
18918
|
return t.above;
|
|
18877
18919
|
} }), H(() => t.children)];
|
|
18878
18920
|
} }))
|
|
18879
18921
|
];
|
|
18880
18922
|
} });
|
|
18881
|
-
}, { Header:
|
|
18923
|
+
}, { Header: wO, Body: TO, Footer: EO } = Wo("sheet"), DO = (e) => {
|
|
18882
18924
|
let [t, n] = I(e, ["class"]);
|
|
18883
18925
|
return z(yo.Title, U({
|
|
18884
18926
|
"data-slot": "sheet-title",
|
|
@@ -18886,7 +18928,7 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18886
18928
|
return O(Ho, t.class);
|
|
18887
18929
|
}
|
|
18888
18930
|
}, n));
|
|
18889
|
-
},
|
|
18931
|
+
}, OO = (e) => {
|
|
18890
18932
|
let [t, n] = I(e, ["class"]);
|
|
18891
18933
|
return z(yo.Description, U({
|
|
18892
18934
|
"data-slot": "sheet-description",
|
|
@@ -18894,7 +18936,7 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18894
18936
|
return O(Uo, t.class);
|
|
18895
18937
|
}
|
|
18896
18938
|
}, n));
|
|
18897
|
-
},
|
|
18939
|
+
}, kO = /*#__PURE__*/ K("<span data-slot=slider-marker class=\"pointer-events-none absolute top-1/2 h-3 w-0.5 -translate-x-1/2 -translate-y-1/2 rounded-full\"style=\"background:color-mix(in oklab, var(--foreground) 60%, transparent)\">"), AO = (e) => {
|
|
18898
18940
|
let [t] = I(e, [
|
|
18899
18941
|
"value",
|
|
18900
18942
|
"defaultValue",
|
|
@@ -18976,7 +19018,7 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
18976
19018
|
return t.markers ?? [];
|
|
18977
19019
|
},
|
|
18978
19020
|
children: (e) => (() => {
|
|
18979
|
-
var t =
|
|
19021
|
+
var t = kO();
|
|
18980
19022
|
return B((r) => Ot(t, "left", `${n(e())}%`)), t;
|
|
18981
19023
|
})()
|
|
18982
19024
|
}),
|
|
@@ -19008,17 +19050,17 @@ var lO = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
19008
19050
|
});
|
|
19009
19051
|
}
|
|
19010
19052
|
});
|
|
19011
|
-
},
|
|
19012
|
-
function
|
|
19053
|
+
}, jO = /*#__PURE__*/ K("<div data-slot=step-indicator><span class=sr-only>"), MO = /*#__PURE__*/ K("<span data-slot=step-indicator-segment>");
|
|
19054
|
+
function NO(t) {
|
|
19013
19055
|
let n = () => Array.from({ length: Math.max(t.count, 0) }, (e, t) => t);
|
|
19014
19056
|
return (() => {
|
|
19015
|
-
var r =
|
|
19057
|
+
var r = jO(), i = r.firstChild;
|
|
19016
19058
|
return V(i, () => `Step ${t.index + 1} of ${t.count}`), V(r, z(at, {
|
|
19017
19059
|
get each() {
|
|
19018
19060
|
return n();
|
|
19019
19061
|
},
|
|
19020
19062
|
children: (n) => (() => {
|
|
19021
|
-
var r =
|
|
19063
|
+
var r = MO();
|
|
19022
19064
|
return B((i) => {
|
|
19023
19065
|
var a = n === t.index ? "step" : void 0, o = O(e, "w-6", n <= t.index && "glass glass-tint [--glass-tone:var(--primary)] [--glass-wash:70%] [--glass-drop:0%]");
|
|
19024
19066
|
return a !== i.e && W(r, "aria-current", i.e = a), o !== i.t && R(r, i.t = o), i;
|
|
@@ -19032,20 +19074,20 @@ function kO(t) {
|
|
|
19032
19074
|
}
|
|
19033
19075
|
//#endregion
|
|
19034
19076
|
//#region src/solid/textarea.tsx
|
|
19035
|
-
var
|
|
19077
|
+
var PO = /*#__PURE__*/ K("<textarea data-slot=textarea>"), FO = (e) => {
|
|
19036
19078
|
let [t, n] = I(e, ["class"]);
|
|
19037
19079
|
return (() => {
|
|
19038
|
-
var e =
|
|
19080
|
+
var e = PO();
|
|
19039
19081
|
return G(e, U({ get class() {
|
|
19040
19082
|
return O(He, "field-sizing-content min-h-16 py-2", t.class);
|
|
19041
19083
|
} }, n), !1, !1), e;
|
|
19042
19084
|
})();
|
|
19043
19085
|
};
|
|
19044
19086
|
Wr({}, {
|
|
19045
|
-
Root: () =>
|
|
19046
|
-
ToggleButton: () =>
|
|
19087
|
+
Root: () => IO,
|
|
19088
|
+
ToggleButton: () => RO
|
|
19047
19089
|
});
|
|
19048
|
-
function
|
|
19090
|
+
function IO(e) {
|
|
19049
19091
|
let [t, n] = I(e, [
|
|
19050
19092
|
"children",
|
|
19051
19093
|
"pressed",
|
|
@@ -19069,7 +19111,7 @@ function MO(e) {
|
|
|
19069
19111
|
Y(e, t.onClick), r.toggle();
|
|
19070
19112
|
}
|
|
19071
19113
|
}, n, { get children() {
|
|
19072
|
-
return z(
|
|
19114
|
+
return z(LO, {
|
|
19073
19115
|
get state() {
|
|
19074
19116
|
return { pressed: r.isSelected };
|
|
19075
19117
|
},
|
|
@@ -19079,13 +19121,13 @@ function MO(e) {
|
|
|
19079
19121
|
});
|
|
19080
19122
|
} }));
|
|
19081
19123
|
}
|
|
19082
|
-
function
|
|
19124
|
+
function LO(e) {
|
|
19083
19125
|
return H(lt(() => {
|
|
19084
19126
|
let t = e.children;
|
|
19085
19127
|
return nn(t) ? t(e.state) : t;
|
|
19086
19128
|
}));
|
|
19087
19129
|
}
|
|
19088
|
-
var
|
|
19130
|
+
var RO = IO, zO = S({
|
|
19089
19131
|
base: `${Me} border border-transparent aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,
|
|
19090
19132
|
variants: {
|
|
19091
19133
|
variant: {
|
|
@@ -19102,39 +19144,39 @@ var PO = MO, FO = S({
|
|
|
19102
19144
|
variant: "default",
|
|
19103
19145
|
size: "default"
|
|
19104
19146
|
}
|
|
19105
|
-
}),
|
|
19147
|
+
}), BO = {
|
|
19106
19148
|
default: "not-data-[pressed]:hover:bg-muted not-data-[pressed]:hover:text-muted-foreground data-[pressed]:hover:[--glass-wash:40%]",
|
|
19107
19149
|
outline: ""
|
|
19108
|
-
},
|
|
19150
|
+
}, VO = (e) => {
|
|
19109
19151
|
let [t, n] = I(e, [
|
|
19110
19152
|
"class",
|
|
19111
19153
|
"variant",
|
|
19112
19154
|
"size"
|
|
19113
19155
|
]);
|
|
19114
|
-
return z(
|
|
19156
|
+
return z(RO, U({
|
|
19115
19157
|
"data-slot": "toggle",
|
|
19116
19158
|
get class() {
|
|
19117
|
-
return O(
|
|
19159
|
+
return O(zO({
|
|
19118
19160
|
variant: t.variant,
|
|
19119
19161
|
size: t.size
|
|
19120
|
-
}),
|
|
19162
|
+
}), BO[t.variant ?? "default"], "data-[pressed]:glass data-[pressed]:[--glass-tone:var(--primary)]", t.class);
|
|
19121
19163
|
}
|
|
19122
19164
|
}, n));
|
|
19123
19165
|
};
|
|
19124
19166
|
Wr({}, {
|
|
19125
|
-
Item: () =>
|
|
19126
|
-
Root: () =>
|
|
19127
|
-
ToggleGroup: () =>
|
|
19128
|
-
useToggleGroupContext: () =>
|
|
19167
|
+
Item: () => WO,
|
|
19168
|
+
Root: () => KO,
|
|
19169
|
+
ToggleGroup: () => qO,
|
|
19170
|
+
useToggleGroupContext: () => UO
|
|
19129
19171
|
});
|
|
19130
|
-
var
|
|
19131
|
-
function
|
|
19132
|
-
let e = L(
|
|
19172
|
+
var HO = A();
|
|
19173
|
+
function UO() {
|
|
19174
|
+
let e = L(HO);
|
|
19133
19175
|
if (e === void 0) throw Error("[kobalte]: `useToggleGroupContext` must be used within a `ToggleGroup` component");
|
|
19134
19176
|
return e;
|
|
19135
19177
|
}
|
|
19136
|
-
function
|
|
19137
|
-
let t, n =
|
|
19178
|
+
function WO(e) {
|
|
19179
|
+
let t, n = UO(), [r, i] = I(Z({ id: n.generateId(`item-${P()}`) }, e), [
|
|
19138
19180
|
"ref",
|
|
19139
19181
|
"value",
|
|
19140
19182
|
"disabled",
|
|
@@ -19157,7 +19199,7 @@ function BO(e) {
|
|
|
19157
19199
|
selectionManager: a,
|
|
19158
19200
|
disabled: o
|
|
19159
19201
|
}, () => t);
|
|
19160
|
-
return z(
|
|
19202
|
+
return z(IO, U({
|
|
19161
19203
|
ref(e) {
|
|
19162
19204
|
var n = J((e) => t = e, r.ref);
|
|
19163
19205
|
typeof n == "function" && n(e);
|
|
@@ -19194,7 +19236,7 @@ function BO(e) {
|
|
|
19194
19236
|
}
|
|
19195
19237
|
}, i));
|
|
19196
19238
|
}
|
|
19197
|
-
function
|
|
19239
|
+
function GO(e) {
|
|
19198
19240
|
let t, [n, r] = I(Z({
|
|
19199
19241
|
id: `group-${P()}`,
|
|
19200
19242
|
selectionMode: "single",
|
|
@@ -19234,7 +19276,7 @@ function VO(e) {
|
|
|
19234
19276
|
orientation: () => n.orientation
|
|
19235
19277
|
};
|
|
19236
19278
|
return z(o, { get children() {
|
|
19237
|
-
return z(
|
|
19279
|
+
return z(HO.Provider, {
|
|
19238
19280
|
value: d,
|
|
19239
19281
|
get children() {
|
|
19240
19282
|
return z($, U({
|
|
@@ -19267,14 +19309,14 @@ function VO(e) {
|
|
|
19267
19309
|
});
|
|
19268
19310
|
} });
|
|
19269
19311
|
}
|
|
19270
|
-
function
|
|
19312
|
+
function KO(e) {
|
|
19271
19313
|
let [t, n] = I(e, [
|
|
19272
19314
|
"value",
|
|
19273
19315
|
"defaultValue",
|
|
19274
19316
|
"onChange",
|
|
19275
19317
|
"multiple"
|
|
19276
19318
|
]), r = M(() => t.value == null || t.multiple ? t.value : [t.value]), i = M(() => t.defaultValue == null || t.multiple ? t.defaultValue : [t.defaultValue]);
|
|
19277
|
-
return z(
|
|
19319
|
+
return z(GO, U({
|
|
19278
19320
|
get value() {
|
|
19279
19321
|
return r();
|
|
19280
19322
|
},
|
|
@@ -19289,18 +19331,18 @@ function HO(e) {
|
|
|
19289
19331
|
}
|
|
19290
19332
|
}, n));
|
|
19291
19333
|
}
|
|
19292
|
-
var
|
|
19334
|
+
var qO = Object.assign(KO, { Item: WO }), JO = A({
|
|
19293
19335
|
size: "default",
|
|
19294
19336
|
variant: "default",
|
|
19295
19337
|
sliding: !0
|
|
19296
|
-
}),
|
|
19338
|
+
}), YO = (e) => {
|
|
19297
19339
|
let [t, n] = I(e, [
|
|
19298
19340
|
"class",
|
|
19299
19341
|
"variant",
|
|
19300
19342
|
"size",
|
|
19301
19343
|
"children"
|
|
19302
19344
|
]), r = () => !e.multiple;
|
|
19303
|
-
return z(
|
|
19345
|
+
return z(qO, U({
|
|
19304
19346
|
"data-slot": "toggle-group",
|
|
19305
19347
|
get "data-variant"() {
|
|
19306
19348
|
return t.variant;
|
|
@@ -19312,7 +19354,7 @@ var UO = Object.assign(HO, { Item: BO }), WO = A({
|
|
|
19312
19354
|
return O(`group/toggle-group flex w-fit items-center rounded-lg ${a} p-1 data-[variant=outline]:shadow-xs`, t.class);
|
|
19313
19355
|
}
|
|
19314
19356
|
}, n, { get children() {
|
|
19315
|
-
return z(
|
|
19357
|
+
return z(JO.Provider, {
|
|
19316
19358
|
get value() {
|
|
19317
19359
|
return {
|
|
19318
19360
|
variant: t.variant,
|
|
@@ -19342,13 +19384,13 @@ var UO = Object.assign(HO, { Item: BO }), WO = A({
|
|
|
19342
19384
|
}
|
|
19343
19385
|
});
|
|
19344
19386
|
} }));
|
|
19345
|
-
},
|
|
19387
|
+
}, XO = (e) => {
|
|
19346
19388
|
let [t, n] = I(e, [
|
|
19347
19389
|
"class",
|
|
19348
19390
|
"variant",
|
|
19349
19391
|
"size"
|
|
19350
|
-
]), r = L(
|
|
19351
|
-
return z(
|
|
19392
|
+
]), r = L(JO);
|
|
19393
|
+
return z(qO.Item, U({
|
|
19352
19394
|
"data-slot": "toggle-group-item",
|
|
19353
19395
|
get "data-variant"() {
|
|
19354
19396
|
return r.variant || t.variant;
|
|
@@ -19357,44 +19399,44 @@ var UO = Object.assign(HO, { Item: BO }), WO = A({
|
|
|
19357
19399
|
return r.size || t.size;
|
|
19358
19400
|
},
|
|
19359
19401
|
get class() {
|
|
19360
|
-
return O(
|
|
19402
|
+
return O(zO({
|
|
19361
19403
|
variant: r.variant || t.variant,
|
|
19362
19404
|
size: r.size || t.size
|
|
19363
19405
|
}), "min-w-0 flex-1 shrink-0 rounded-none px-4 shadow-none first-of-type:rounded-l-md last-of-type:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first-of-type:border-l", r.sliding ? "hover:text-primary" : "not-data-[pressed]:hover:text-primary data-[pressed]:bg-muted data-[pressed]:text-foreground", t.class);
|
|
19364
19406
|
}
|
|
19365
19407
|
}, n));
|
|
19366
|
-
},
|
|
19367
|
-
function
|
|
19408
|
+
}, ZO = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-primary\"title=\"Official GlassHome widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12m-13 5l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z\"></path></svg><span class=sr-only>Official"), QO = /*#__PURE__*/ K("<span class=\"inline-flex items-center text-muted-foreground\"title=\"Community widget\"><svg width=14 height=14 viewBox=\"0 0 24 24\"fill=currentColor aria-hidden=true><path d=\"M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9 3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3 3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3 3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13v-1.75M0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9-.59.68-.95 1.62-.95 2.65V20H0m24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65 2.56.34 4.45 1.51 4.45 2.9V20Z\"></path></svg><span class=sr-only>Community");
|
|
19409
|
+
function $O(e) {
|
|
19368
19410
|
return z(k, {
|
|
19369
19411
|
get when() {
|
|
19370
19412
|
return e.isOfficial;
|
|
19371
19413
|
},
|
|
19372
19414
|
get fallback() {
|
|
19373
|
-
return
|
|
19415
|
+
return QO();
|
|
19374
19416
|
},
|
|
19375
19417
|
get children() {
|
|
19376
|
-
return
|
|
19418
|
+
return ZO();
|
|
19377
19419
|
}
|
|
19378
19420
|
});
|
|
19379
19421
|
}
|
|
19380
19422
|
//#endregion
|
|
19381
19423
|
//#region src/solid/widget-identity.tsx
|
|
19382
|
-
var
|
|
19383
|
-
function
|
|
19424
|
+
var ek = /*#__PURE__*/ K("<span class=\"shrink-0 font-mono text-muted-foreground text-xs tabular-nums\">v"), tk = /*#__PURE__*/ K("<div data-slot=widget-identity><div data-slot=widget-identity-headings class=\"flex min-w-0 flex-1 flex-col gap-0.5\"><div data-slot=widget-identity-headline class=\"flex items-center gap-2\"></div><div data-slot=widget-identity-scope class=\"flex min-w-0 flex-wrap items-center gap-1.5\"><span class=\"truncate font-mono text-muted-foreground text-xs\">@<!>/"), nk = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\">"), rk = /*#__PURE__*/ K("<span class=\"flex items-center gap-1 tabular-nums\"> versions"), ik = /*#__PURE__*/ K("<span class=tabular-nums>v"), ak = /*#__PURE__*/ K("<div data-slot=widget-meta>");
|
|
19425
|
+
function ok(e) {
|
|
19384
19426
|
return `/widgets/@${e.scope}/${e.name}`;
|
|
19385
19427
|
}
|
|
19386
|
-
function
|
|
19428
|
+
function sk(e) {
|
|
19387
19429
|
let t = e ?? 0;
|
|
19388
19430
|
return t >= 1e6 ? `${(t / 1e6).toFixed(1)}M` : t >= 1e3 ? `${(t / 1e3).toFixed(1)}k` : t.toString();
|
|
19389
19431
|
}
|
|
19390
|
-
function
|
|
19432
|
+
function ck(e) {
|
|
19391
19433
|
let t = gt({
|
|
19392
19434
|
iconSize: "sm",
|
|
19393
19435
|
showVersionInline: !0
|
|
19394
19436
|
}, e);
|
|
19395
19437
|
return (() => {
|
|
19396
|
-
var e =
|
|
19397
|
-
return o.nextSibling, V(e, z(
|
|
19438
|
+
var e = tk(), n = e.firstChild, r = n.firstChild, i = r.nextSibling, a = i.firstChild, o = a.firstChild.nextSibling;
|
|
19439
|
+
return o.nextSibling, V(e, z(hw, {
|
|
19398
19440
|
get size() {
|
|
19399
19441
|
return t.iconSize;
|
|
19400
19442
|
},
|
|
@@ -19411,7 +19453,7 @@ function ik(e) {
|
|
|
19411
19453
|
} })
|
|
19412
19454
|
});
|
|
19413
19455
|
}
|
|
19414
|
-
}), n), V(r, z(
|
|
19456
|
+
}), n), V(r, z(vw, {
|
|
19415
19457
|
class: "truncate",
|
|
19416
19458
|
get children() {
|
|
19417
19459
|
return t.widget.displayName || t.widget.name;
|
|
@@ -19421,10 +19463,10 @@ function ik(e) {
|
|
|
19421
19463
|
return H(() => !!t.showVersionInline)() && t.widget.latestVersion;
|
|
19422
19464
|
},
|
|
19423
19465
|
get children() {
|
|
19424
|
-
var e =
|
|
19466
|
+
var e = ek();
|
|
19425
19467
|
return e.firstChild, V(e, () => t.widget.latestVersion, null), e;
|
|
19426
19468
|
}
|
|
19427
|
-
}), null), V(r, z(
|
|
19469
|
+
}), null), V(r, z($O, { get isOfficial() {
|
|
19428
19470
|
return !!t.widget.isOfficial;
|
|
19429
19471
|
} }), null), V(r, z(k, {
|
|
19430
19472
|
get when() {
|
|
@@ -19451,7 +19493,7 @@ function ik(e) {
|
|
|
19451
19493
|
return t.showScopeIndicator;
|
|
19452
19494
|
},
|
|
19453
19495
|
get children() {
|
|
19454
|
-
return z(
|
|
19496
|
+
return z($D, {
|
|
19455
19497
|
get scope() {
|
|
19456
19498
|
return t.widget.scope;
|
|
19457
19499
|
},
|
|
@@ -19463,28 +19505,28 @@ function ik(e) {
|
|
|
19463
19505
|
}), null), B(() => R(e, O("flex min-w-0 items-center gap-3", t.class))), e;
|
|
19464
19506
|
})();
|
|
19465
19507
|
}
|
|
19466
|
-
function
|
|
19508
|
+
function lk(e) {
|
|
19467
19509
|
return (() => {
|
|
19468
|
-
var t =
|
|
19510
|
+
var t = ak();
|
|
19469
19511
|
return V(t, z(k, {
|
|
19470
19512
|
get when() {
|
|
19471
19513
|
return e.widget.downloadCount != null;
|
|
19472
19514
|
},
|
|
19473
19515
|
get children() {
|
|
19474
|
-
var t =
|
|
19516
|
+
var t = nk();
|
|
19475
19517
|
return V(t, z(Q, {
|
|
19476
19518
|
icon: "lucide:arrow-down-to-line",
|
|
19477
19519
|
width: 12,
|
|
19478
19520
|
height: 12,
|
|
19479
19521
|
class: "size-3"
|
|
19480
|
-
}), null), V(t, () =>
|
|
19522
|
+
}), null), V(t, () => sk(e.widget.downloadCount), null), t;
|
|
19481
19523
|
}
|
|
19482
19524
|
}), null), V(t, z(k, {
|
|
19483
19525
|
get when() {
|
|
19484
19526
|
return H(() => !!e.showVersions)() && e.widget.versionCount != null;
|
|
19485
19527
|
},
|
|
19486
19528
|
get children() {
|
|
19487
|
-
var t =
|
|
19529
|
+
var t = rk(), n = t.firstChild;
|
|
19488
19530
|
return V(t, z(Q, {
|
|
19489
19531
|
icon: "lucide:layers",
|
|
19490
19532
|
width: 12,
|
|
@@ -19497,7 +19539,7 @@ function ak(e) {
|
|
|
19497
19539
|
return H(() => !!e.showLatestVersion)() && e.widget.latestVersion;
|
|
19498
19540
|
},
|
|
19499
19541
|
get children() {
|
|
19500
|
-
var t =
|
|
19542
|
+
var t = ik();
|
|
19501
19543
|
return t.firstChild, V(t, () => e.widget.latestVersion, null), t;
|
|
19502
19544
|
}
|
|
19503
19545
|
}), null), B(() => R(t, O("flex items-center gap-4 text-muted-foreground text-xs", e.class))), t;
|
|
@@ -19505,15 +19547,15 @@ function ak(e) {
|
|
|
19505
19547
|
}
|
|
19506
19548
|
//#endregion
|
|
19507
19549
|
//#region src/solid/widget-card.tsx
|
|
19508
|
-
var
|
|
19509
|
-
function
|
|
19510
|
-
let t = gt({ layout: "row" }, e), n = () => t.href ?? (t.onClick ? void 0 :
|
|
19550
|
+
var uk = /*#__PURE__*/ K("<p class=\"line-clamp-2 text-muted-foreground text-xs leading-relaxed\">"), dk = /*#__PURE__*/ K("<div data-slot=widget-card-body class=\"flex flex-1 flex-col gap-3\">");
|
|
19551
|
+
function fk(e) {
|
|
19552
|
+
let t = gt({ layout: "row" }, e), n = () => t.href ?? (t.onClick ? void 0 : ok(t.widget)), r = () => n() != null || t.onClick != null;
|
|
19511
19553
|
return z(k, {
|
|
19512
19554
|
get when() {
|
|
19513
19555
|
return t.layout === "tile";
|
|
19514
19556
|
},
|
|
19515
19557
|
get fallback() {
|
|
19516
|
-
return z(
|
|
19558
|
+
return z(pk, U(t, {
|
|
19517
19559
|
get href() {
|
|
19518
19560
|
return n();
|
|
19519
19561
|
},
|
|
@@ -19523,7 +19565,7 @@ function ck(e) {
|
|
|
19523
19565
|
}));
|
|
19524
19566
|
},
|
|
19525
19567
|
get children() {
|
|
19526
|
-
return z(
|
|
19568
|
+
return z(mk, U(t, {
|
|
19527
19569
|
get href() {
|
|
19528
19570
|
return n();
|
|
19529
19571
|
},
|
|
@@ -19534,7 +19576,7 @@ function ck(e) {
|
|
|
19534
19576
|
}
|
|
19535
19577
|
});
|
|
19536
19578
|
}
|
|
19537
|
-
function
|
|
19579
|
+
function pk(e) {
|
|
19538
19580
|
let t = () => e.widget.downloadCount != null || e.showVersions && e.widget.versionCount != null, n = () => e.trailing !== void 0 || e.interactive;
|
|
19539
19581
|
return z(xf, {
|
|
19540
19582
|
get as() {
|
|
@@ -19555,7 +19597,7 @@ function lk(e) {
|
|
|
19555
19597
|
},
|
|
19556
19598
|
get children() {
|
|
19557
19599
|
return [
|
|
19558
|
-
z(
|
|
19600
|
+
z(ck, {
|
|
19559
19601
|
get widget() {
|
|
19560
19602
|
return e.widget;
|
|
19561
19603
|
},
|
|
@@ -19570,7 +19612,7 @@ function lk(e) {
|
|
|
19570
19612
|
return t();
|
|
19571
19613
|
},
|
|
19572
19614
|
get children() {
|
|
19573
|
-
return z(
|
|
19615
|
+
return z(lk, {
|
|
19574
19616
|
get widget() {
|
|
19575
19617
|
return e.widget;
|
|
19576
19618
|
},
|
|
@@ -19609,7 +19651,7 @@ function lk(e) {
|
|
|
19609
19651
|
}
|
|
19610
19652
|
});
|
|
19611
19653
|
}
|
|
19612
|
-
function
|
|
19654
|
+
function mk(e) {
|
|
19613
19655
|
let t = () => e.showDescription !== !1;
|
|
19614
19656
|
return z(xf, {
|
|
19615
19657
|
get as() {
|
|
@@ -19630,8 +19672,8 @@ function uk(e) {
|
|
|
19630
19672
|
},
|
|
19631
19673
|
get children() {
|
|
19632
19674
|
return [(() => {
|
|
19633
|
-
var n =
|
|
19634
|
-
return V(n, z(
|
|
19675
|
+
var n = dk();
|
|
19676
|
+
return V(n, z(ck, {
|
|
19635
19677
|
get widget() {
|
|
19636
19678
|
return e.widget;
|
|
19637
19679
|
},
|
|
@@ -19642,11 +19684,11 @@ function uk(e) {
|
|
|
19642
19684
|
return H(() => !!t())() && e.widget.description;
|
|
19643
19685
|
},
|
|
19644
19686
|
get children() {
|
|
19645
|
-
var t =
|
|
19687
|
+
var t = uk();
|
|
19646
19688
|
return V(t, () => e.widget.description), t;
|
|
19647
19689
|
}
|
|
19648
19690
|
}), null), n;
|
|
19649
|
-
})(), z(
|
|
19691
|
+
})(), z(lk, {
|
|
19650
19692
|
get widget() {
|
|
19651
19693
|
return e.widget;
|
|
19652
19694
|
},
|
|
@@ -19656,4 +19698,4 @@ function uk(e) {
|
|
|
19656
19698
|
});
|
|
19657
19699
|
}
|
|
19658
19700
|
//#endregion
|
|
19659
|
-
export { $i as Accordion, na as AccordionContent, ea as AccordionItem, ta as AccordionTrigger, ua as Alert, fa as AlertDescription, Qo as AlertDialog, ls as AlertDialogAction, rs as AlertDialogBody, us as AlertDialogCancel, ts as AlertDialogContent, os as AlertDialogDescription, is as AlertDialogFooter, ns as AlertDialogHeader, as as AlertDialogTitle, $o as AlertDialogTrigger, da as AlertTitle, Rm as AreaChart, qu as AreaPicker, Yu as AspectRatio, nd as Avatar, id as AvatarFallback, rd as AvatarImage, ld as Badge, zm as BarList, Fd as BottomSheet, Hd as BottomSheetBody, Kd as BottomSheetClose, zd as BottomSheetContent, Gd as BottomSheetDescription, Ud as BottomSheetFooter, Bd as BottomSheetHandle, Vd as BottomSheetHeader, Rd as BottomSheetOverlay, Ld as BottomSheetPortal, Wd as BottomSheetTitle, Id as BottomSheetTrigger, $d as Breadcrumb, of as BreadcrumbEllipsis, tf as BreadcrumbItem, nf as BreadcrumbLink, ef as BreadcrumbList, rf as BreadcrumbPage, af as BreadcrumbSeparator, sf as Button, ff as ButtonGroup, mf as ButtonGroupSeparator, pf as ButtonGroupText, xf as Card, Tf as CardAction, Ef as CardContent, wf as CardDescription, Df as CardFooter, Sf as CardHeader, Cf as CardTitle, Hp as Carousel, Up as CarouselContent, Gp as CarouselDots, Wp as CarouselItem, qp as CarouselNext, Kp as CarouselPrevious, Hs as Checkbox, Gm as Collapsible, qm as CollapsibleContent, Km as CollapsibleTrigger, bh as ColorSlider, zh as ColorWheel, e_ as ContextMenu, l_ as ContextMenuCheckboxItem, s_ as ContextMenuContent, t_ as ContextMenuGroup, c_ as ContextMenuItem, d_ as ContextMenuLabel, r_ as ContextMenuRadioGroup, u_ as ContextMenuRadioItem, f_ as ContextMenuSeparator, p_ as ContextMenuShortcut, n_ as ContextMenuSub, o_ as ContextMenuSubContent, a_ as ContextMenuSubTrigger, i_ as ContextMenuTrigger, jv as CopyButton, Mv as CountPill, Sb as Dialog, Ob as DialogBody, Tb as DialogClose, Eb as DialogContent, jb as DialogDescription, kb as DialogFooter, Db as DialogHeader, Ab as DialogTitle, Cb as DialogTrigger, Qb as Dock, ex as DropdownMenu, lx as DropdownMenuCheckboxItem, ax as DropdownMenuContent, tx as DropdownMenuGroup, ox as DropdownMenuItem, fx as DropdownMenuLabel, rx as DropdownMenuRadioGroup, ux as DropdownMenuRadioItem, dx as DropdownMenuSeparator, px as DropdownMenuShortcut, nx as DropdownMenuSub, cx as DropdownMenuSubContent, sx as DropdownMenuSubTrigger, ix as DropdownMenuTrigger, zv as Empty, Gv as EmptyContent, Wv as EmptyDescription, Bv as EmptyHeader, Hv as EmptyMedia, Uv as EmptyTitle, ds as EntityDataContext, Vx as EntitySelector, sS as Field, cS as FieldContent, dS as FieldDescription, mS as FieldError, aS as FieldGroup, lS as FieldLabel, iS as FieldLegend, pS as FieldSeparator, rS as FieldSet, fS as FieldSubGroup, uS as FieldTitle, bS as Form, DS as FormControl, OS as FormDescription, SS as FormField, CS as FormItem, wS as FormLabel, kS as FormMessage, wv as GlassToast, zS as HeroAction,
|
|
19701
|
+
export { $i as Accordion, na as AccordionContent, ea as AccordionItem, ta as AccordionTrigger, ua as Alert, fa as AlertDescription, Qo as AlertDialog, ls as AlertDialogAction, rs as AlertDialogBody, us as AlertDialogCancel, ts as AlertDialogContent, os as AlertDialogDescription, is as AlertDialogFooter, ns as AlertDialogHeader, as as AlertDialogTitle, $o as AlertDialogTrigger, da as AlertTitle, Rm as AreaChart, qu as AreaPicker, Yu as AspectRatio, nd as Avatar, id as AvatarFallback, rd as AvatarImage, ld as Badge, zm as BarList, Fd as BottomSheet, Hd as BottomSheetBody, Kd as BottomSheetClose, zd as BottomSheetContent, Gd as BottomSheetDescription, Ud as BottomSheetFooter, Bd as BottomSheetHandle, Vd as BottomSheetHeader, Rd as BottomSheetOverlay, Ld as BottomSheetPortal, Wd as BottomSheetTitle, Id as BottomSheetTrigger, $d as Breadcrumb, of as BreadcrumbEllipsis, tf as BreadcrumbItem, nf as BreadcrumbLink, ef as BreadcrumbList, rf as BreadcrumbPage, af as BreadcrumbSeparator, sf as Button, ff as ButtonGroup, mf as ButtonGroupSeparator, pf as ButtonGroupText, xf as Card, Tf as CardAction, Ef as CardContent, wf as CardDescription, Df as CardFooter, Sf as CardHeader, Cf as CardTitle, Hp as Carousel, Up as CarouselContent, Gp as CarouselDots, Wp as CarouselItem, qp as CarouselNext, Kp as CarouselPrevious, Hs as Checkbox, Gm as Collapsible, qm as CollapsibleContent, Km as CollapsibleTrigger, bh as ColorSlider, zh as ColorWheel, e_ as ContextMenu, l_ as ContextMenuCheckboxItem, s_ as ContextMenuContent, t_ as ContextMenuGroup, c_ as ContextMenuItem, d_ as ContextMenuLabel, r_ as ContextMenuRadioGroup, u_ as ContextMenuRadioItem, f_ as ContextMenuSeparator, p_ as ContextMenuShortcut, n_ as ContextMenuSub, o_ as ContextMenuSubContent, a_ as ContextMenuSubTrigger, i_ as ContextMenuTrigger, jv as CopyButton, Mv as CountPill, Sb as Dialog, Ob as DialogBody, Tb as DialogClose, Eb as DialogContent, jb as DialogDescription, kb as DialogFooter, Db as DialogHeader, Ab as DialogTitle, Cb as DialogTrigger, Qb as Dock, ex as DropdownMenu, lx as DropdownMenuCheckboxItem, ax as DropdownMenuContent, tx as DropdownMenuGroup, ox as DropdownMenuItem, fx as DropdownMenuLabel, rx as DropdownMenuRadioGroup, ux as DropdownMenuRadioItem, dx as DropdownMenuSeparator, px as DropdownMenuShortcut, nx as DropdownMenuSub, cx as DropdownMenuSubContent, sx as DropdownMenuSubTrigger, ix as DropdownMenuTrigger, zv as Empty, Gv as EmptyContent, Wv as EmptyDescription, Bv as EmptyHeader, Hv as EmptyMedia, Uv as EmptyTitle, ds as EntityDataContext, Vx as EntitySelector, sS as Field, cS as FieldContent, dS as FieldDescription, mS as FieldError, aS as FieldGroup, lS as FieldLabel, iS as FieldLegend, pS as FieldSeparator, rS as FieldSet, fS as FieldSubGroup, uS as FieldTitle, bS as Form, DS as FormControl, OS as FormDescription, SS as FormField, CS as FormItem, wS as FormLabel, kS as FormMessage, wv as GlassToast, zS as HeroAction, mE as HeroOption, XS as HoverCard, QS as HoverCardContent, ZS as HoverCardTrigger, lC as IconPicker, Mw as ImagePicker, qv as Input, Rw as InputGroup, Bw as InputGroupAddon, Ww as InputGroupButton, Kw as InputGroupInput, Gw as InputGroupText, qw as InputGroupTextarea, eT as InputOTP, tT as InputOTPGroup, rT as InputOTPSeparator, nT as InputOTPSlot, hT as Item, xT as ItemActions, vT as ItemContent, bT as ItemDescription, CT as ItemFooter, fT as ItemGroup, ST as ItemHeader, _T as ItemMedia, pT as ItemSeparator, yT as ItemTitle, ET as Kbd, DT as KbdGroup, Ux as Label, lO as LabeledField, uO as LabeledIconPicker, dO as LabeledInput, fw as ListRow, FT as Logo, hC as MEDIA_PAGE_SIZE, dC as MediaStoreContext, uC as MediaStoreError, OC as MediaTile, lw as NOOP_GLASS, zT as NumberField, te as OVERLAY_SURFACE, fE as OptionCard, dE as OptionCardGroup, uE as OptionChoice, Yp as Overlay, Ys as PICKER_ROW_HEIGHT, yE as PageHeader, IC as Pagination, LC as PaginationContent, HC as PaginationEllipsis, RC as PaginationItem, zC as PaginationLink, VC as PaginationNext, BC as PaginationPrevious, TE as PasswordInput, Xs as PickerRow, ec as PickerSearch, Du as Popover, Au as PopoverAnchor, ku as PopoverContent, Ou as PopoverTrigger, HE as Progress, eE as RadioGroup, tE as RadioGroupItem, Vm as RangeToggle, XE as ResizableHandle, YE as ResizablePanel, JE as ResizablePanelGroup, $E as ResponsiveDialog, rD as ResponsiveDialogBody, sD as ResponsiveDialogClose, tD as ResponsiveDialogContent, oD as ResponsiveDialogDescription, iD as ResponsiveDialogFooter, nD as ResponsiveDialogHeader, aD as ResponsiveDialogTitle, eD as ResponsiveDialogTrigger, cO as RowActions, ED as SCHEMA_FORM_FORM_TYPES, Ke as SECTION_INNER_RADIUS, be as SECTION_OUTER_RADIUS, Se as SECTION_PADDING, ze as SECTION_ROW_CLASS, ne as SECTION_ROW_SURFACE, HD as SchemaForm, $D as ScopeIndicator, tO as ScrollArea, nO as ScrollBar, oO as SectionAddButton, uw as SectionCard, sO as SectionEmpty, yw as SectionGroup, hw as SectionIcon, bw as SectionLabel, xw as SectionMeta, dw as SectionRow, Sw as SectionRowSkeleton, Cw as SectionRowSkeletons, vw as SectionSubtitle, gw as SectionTitle, Dy as Select, Ay as SelectContent, Ny as SelectGroup, My as SelectItem, jy as SelectLabel, Py as SelectSeparator, ky as SelectTrigger, Oy as SelectValue, lf as Separator, mO as Sheet, TO as SheetBody, _O as SheetClose, CO as SheetContent, OO as SheetDescription, EO as SheetFooter, wO as SheetHeader, DO as SheetTitle, hO as SheetTrigger, Iy as Skeleton, AO as Slider, Ru as SlidingIndicator, pv as Spinner, Wm as StackedBar, NO as StepIndicator, uD as Switch, fO as SwitchRow, sb as TABLE_BLEED, Gy as TABLE_CELL_INSET, cb as TABLE_CELL_X, qy as TABLE_HEAD_CELL_CLASS, ub as TABLE_HEAD_CLASS, Ky as TABLE_HEAD_LABEL_CLASS, fb as TABLE_NUM_CELL_CLASS, lb as TABLE_ROW_CLASS, db as TABLE_SCROLL_CLASS, Jy as Table, Xy as TableBody, xb as TableBulkBar, tb as TableCaption, eb as TableCell, gb as TableEmpty, _b as TableError, pb as TableFilterSelect, Zy as TableFooter, $y as TableHead, Yy as TableHeader, Qy as TableRow, mb as TableSearchInput, bb as TableSkeleton, hb as TableSortHeader, lm as Tabs, fm as TabsContent, um as TabsList, dm as TabsTrigger, FO as Textarea, ud as TierBadge, kv as Toaster, VO as Toggle, YO as ToggleGroup, XO as ToggleGroupItem, Kb as Tooltip, Jb as TooltipContent, qb as TooltipTrigger, fk as WidgetCard, ck as WidgetIdentity, lk as WidgetMeta, $O as WidgetTrustBadge, df as buttonGroupVariants, _ as buttonVariants, vC as createBrokenMedia, jT as createListReorder, AT as dragTargetIndex, Pm as formatBytes, Mm as formatCompact, sk as formatWidgetCount, bC as imageUrl, gC as isMediaImage, wC as mediaIndexErrorCopy, CC as mediaStoreErrorCopy, yC as mediaUrl, Sr as parseColor, ps as provideEntityData, pC as provideMediaStore, _C as sortMediaForClearing, SC as toMediaStoreError, Ov as toast, zO as toggleVariants, ms as useEntityData, xS as useFormField, mC as useMediaStore, ok as widgetHref };
|