@glasshome/ui 1.22.0 → 1.23.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/dist/index.js +2 -2
- package/dist/lib/alert-tones.d.ts +1 -0
- package/dist/solid/alert.d.ts +2 -0
- package/dist/solid/index.js +112 -99
- package/dist/solid/toggle-group.d.ts +2 -0
- package/dist/{utils-D5blHO4O.js → utils-o6ev-9h_.js} +466 -466
- package/package.json +1 -1
- package/src/lib/alert-tones.ts +1 -0
- package/src/lib/button-variants.ts +4 -4
- package/src/solid/alert.tsx +19 -2
- package/src/solid/dialog-parts.tsx +4 -3
- package/src/solid/preview-tile.tsx +6 -4
- package/src/solid/toggle-group.tsx +11 -2
- package/src/styles/globals.css +8 -0
package/dist/solid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, Ft as d, G as f, Gt as p, H as m, Ht as h, It as g, J as _, Jt as v, K as y, Kt as b, L as x, Lt as S, M as C, Mt as w, N as T, Nt as E, O as ee, Ot as D, Pt as te, Q as ne,
|
|
1
|
+
import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, Ft as d, G as f, Gt as p, H as m, Ht as h, It as g, J as _, Jt as v, K as y, Kt as b, L as x, Lt as S, M as C, Mt as w, N as T, Nt as E, O as ee, Ot as D, Pt as te, Q as ne, Qt as re, R as ie, St as ae, T as oe, Tt as se, Ut as ce, V as le, Vt as ue, W as de, Wt as fe, X as pe, Yt as me, Z as he, Zt as ge, _ as _e, a as ve, at as ye, b as be, bt as xe, c as Se, ct as Ce, d as we, dt as Te, et as Ee, f as De, ft as Oe, g as ke, gt as Ae, h as je, ht as Me, i as Ne, it as Pe, jt as Fe, k as Ie, kt as Le, lt as Re, m as ze, mt as Be, o as Ve, ot as He, p as Ue, pt as We, q as Ge, qt as Ke, r as qe, rn as Je, rt as Ye, s as Xe, st as Ze, t as O, tn as Qe, tt as $e, u as et, v as tt, vt as nt, wt as rt, x as it, xt as at, y as ot, yt as st, z as ct } from "../utils-o6ev-9h_.js";
|
|
2
2
|
import { $TRACK as lt, DEV as ut, For as dt, Index as ft, Match as pt, Show as k, Switch as mt, batch as ht, children as gt, createComponent as _t, createComputed as vt, createContext as A, createEffect as j, createMemo as M, createRenderEffect as yt, createResource as bt, createRoot as xt, createSignal as N, createUniqueId as P, getOwner as St, mergeProps as Ct, on as wt, onCleanup as F, onMount as Tt, splitProps as I, untrack as Et, useContext as L } from "solid-js";
|
|
3
3
|
import { Dynamic as Dt, Portal as Ot, classList as kt, className as R, createComponent as z, delegateEvents as At, effect as B, insert as V, isServer as jt, isServer as Mt, memo as H, mergeProps as U, setAttribute as W, setStyleProperty as Nt, spread as G, style as Pt, template as K, use as Ft } from "solid-js/web";
|
|
4
4
|
import { createStore as It, produce as Lt, reconcile as Rt } from "solid-js/store";
|
|
@@ -2628,16 +2628,20 @@ var Ma = /*#__PURE__*/ K("<div>"), Na = ta, Pa = (e) => {
|
|
|
2628
2628
|
"icon",
|
|
2629
2629
|
"title",
|
|
2630
2630
|
"action",
|
|
2631
|
-
"children"
|
|
2632
|
-
|
|
2631
|
+
"children",
|
|
2632
|
+
"size"
|
|
2633
|
+
]), r = () => t.tone ?? "info", i = () => re[r()];
|
|
2633
2634
|
return (() => {
|
|
2634
2635
|
var e = Ba(), a = e.firstChild, o = a.nextSibling;
|
|
2635
2636
|
return G(e, U({
|
|
2636
2637
|
get role() {
|
|
2637
2638
|
return t.tone === "destructive" ? "alert" : "status";
|
|
2638
2639
|
},
|
|
2640
|
+
get "data-size"() {
|
|
2641
|
+
return t.size ?? "default";
|
|
2642
|
+
},
|
|
2639
2643
|
get class() {
|
|
2640
|
-
return O(
|
|
2644
|
+
return O(fe, "glass glass-tint", t.size === "sm" && "items-center gap-2 py-1.5 pr-1.5 pl-3", t.class);
|
|
2641
2645
|
},
|
|
2642
2646
|
get style() {
|
|
2643
2647
|
return {
|
|
@@ -2645,7 +2649,7 @@ var Ma = /*#__PURE__*/ K("<div>"), Na = ta, Pa = (e) => {
|
|
|
2645
2649
|
color: "var(--foreground)"
|
|
2646
2650
|
};
|
|
2647
2651
|
}
|
|
2648
|
-
}, n), !1, !0), R(a,
|
|
2652
|
+
}, n), !1, !0), R(a, Ke), V(a, z(k, {
|
|
2649
2653
|
get when() {
|
|
2650
2654
|
return t.icon;
|
|
2651
2655
|
},
|
|
@@ -2667,7 +2671,7 @@ var Ma = /*#__PURE__*/ K("<div>"), Na = ta, Pa = (e) => {
|
|
|
2667
2671
|
},
|
|
2668
2672
|
get children() {
|
|
2669
2673
|
var e = La();
|
|
2670
|
-
return R(e,
|
|
2674
|
+
return R(e, ge), V(e, () => t.title), B((t) => Nt(e, "color", Ge(i().color))), e;
|
|
2671
2675
|
}
|
|
2672
2676
|
}), z(k, {
|
|
2673
2677
|
get when() {
|
|
@@ -2687,7 +2691,7 @@ var Ma = /*#__PURE__*/ K("<div>"), Na = ta, Pa = (e) => {
|
|
|
2687
2691
|
var e = za();
|
|
2688
2692
|
return V(e, () => t.action), e;
|
|
2689
2693
|
}
|
|
2690
|
-
}), null), B((e) => Pt(a,
|
|
2694
|
+
}), null), B((e) => Pt(a, Qe(i().color), e)), e;
|
|
2691
2695
|
})();
|
|
2692
2696
|
}, Ga = (e) => {
|
|
2693
2697
|
let [t, n] = I(e, ["class"]), r = L(Ua);
|
|
@@ -2695,10 +2699,10 @@ var Ma = /*#__PURE__*/ K("<div>"), Na = ta, Pa = (e) => {
|
|
|
2695
2699
|
var e = Ha();
|
|
2696
2700
|
return G(e, U({
|
|
2697
2701
|
get class() {
|
|
2698
|
-
return O(
|
|
2702
|
+
return O(ge, t.class);
|
|
2699
2703
|
},
|
|
2700
2704
|
get style() {
|
|
2701
|
-
return r ? { color:
|
|
2705
|
+
return r ? { color: Ge(r()) } : void 0;
|
|
2702
2706
|
}
|
|
2703
2707
|
}, n), !1, !1), e;
|
|
2704
2708
|
})();
|
|
@@ -3477,7 +3481,7 @@ var cs = /*#__PURE__*/ K("<div class=\"flex shrink-0 items-center\">"), ls = /*#
|
|
|
3477
3481
|
lg: ms,
|
|
3478
3482
|
xl: hs,
|
|
3479
3483
|
full: hs
|
|
3480
|
-
}, _s = `${a} ${
|
|
3484
|
+
}, _s = `${a} ${Le} fixed left-1/2 flex ${fs} w-[calc(100%-2rem)] -translate-x-1/2 flex-col overflow-hidden rounded-lg outline-none ${f.overlay}`, vs = `${a} ${u} fixed flex ${fs} flex-col overflow-hidden rounded-lg outline-none ${f.overlay}`, ys = `${te} fixed inset-0 ${f.overlay} ${s}`, bs = "flex shrink-0 items-start gap-4 px-6 pt-6 pb-3 in-data-[slot=bottom-sheet-content]:px-4 [[data-slot=bottom-sheet-handle]+&]:pt-1", xs = "gh-scroll gh-stagger flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto overscroll-contain [touch-action:pan-y_pinch-zoom] [scrollbar-gutter:stable] pl-6 pr-[calc(var(--spacing)*6-var(--scrollbar-w))] pt-6 pb-6 [[data-slot$='-header']~&]:pt-3 [&:has(~[data-slot$='-footer'])]:pb-3 in-data-[slot=bottom-sheet-content]:pl-4 in-data-[slot=bottom-sheet-content]:pr-[calc(var(--spacing)*4-var(--scrollbar-w))] [[data-slot=bottom-sheet-handle]+&]:pt-1", Ss = "gh-stagger flex shrink-0 flex-col-reverse gap-2 px-6 pt-3 pb-6 sm:flex-row sm:justify-end in-data-[slot=bottom-sheet-content]:px-4", Cs = "font-semibold text-foreground text-lg leading-none tracking-tight", ws = "text-muted-foreground text-sm";
|
|
3481
3485
|
function Ts(e) {
|
|
3482
3486
|
return {
|
|
3483
3487
|
Header: (t) => {
|
|
@@ -4062,7 +4066,7 @@ var yc = Object.assign(_c, {
|
|
|
4062
4066
|
return O(i().glyph, "transition-glass duration-200 ease-out", n.checked() ? "scale-100 opacity-100" : "scale-0 opacity-0");
|
|
4063
4067
|
}
|
|
4064
4068
|
})), B((a) => {
|
|
4065
|
-
var o = t.size ?? "default", s = O("transition-glass box-border inline-flex shrink-0 items-center justify-center overflow-hidden rounded-xs duration-200 ease-out group-active:scale-90", i().box, "peer-focus-visible:ring-ring/50 peer-focus-visible:ring-[3px] peer-focus-visible:[--glass-edge:var(--ring)]", n.checked() ? "glass glass-tint text-foreground [--glass-tone:var(--primary)]" :
|
|
4069
|
+
var o = t.size ?? "default", s = O("transition-glass box-border inline-flex shrink-0 items-center justify-center overflow-hidden rounded-xs duration-200 ease-out group-active:scale-90", i().box, "peer-focus-visible:ring-ring/50 peer-focus-visible:ring-[3px] peer-focus-visible:[--glass-edge:var(--ring)]", n.checked() ? "glass glass-tint text-foreground [--glass-tone:var(--primary)]" : Pe, e.disabled && "cursor-not-allowed opacity-40", t.class);
|
|
4066
4070
|
return o !== a.e && W(r, "data-size", a.e = o), s !== a.t && R(r, a.t = s), a;
|
|
4067
4071
|
}, {
|
|
4068
4072
|
e: void 0,
|
|
@@ -4094,7 +4098,7 @@ function jc(e) {
|
|
|
4094
4098
|
return t.as ?? "div";
|
|
4095
4099
|
},
|
|
4096
4100
|
get class() {
|
|
4097
|
-
return O(
|
|
4101
|
+
return O(Ie, "w-full cursor-pointer gap-3 py-0 text-left", t.selected && "text-foreground", t.class);
|
|
4098
4102
|
},
|
|
4099
4103
|
style: { "min-height": "52px" }
|
|
4100
4104
|
}, n, { get children() {
|
|
@@ -4111,7 +4115,7 @@ function jc(e) {
|
|
|
4111
4115
|
},
|
|
4112
4116
|
width: 18,
|
|
4113
4117
|
height: 18
|
|
4114
|
-
})), B(() => R(n, O("size-8 rounded-lg", t.selected ? `${_e} text-foreground [--glass-tone:var(--primary)]` :
|
|
4118
|
+
})), B(() => R(n, O("size-8 rounded-lg", t.selected ? `${_e} text-foreground [--glass-tone:var(--primary)]` : ke, t.dimmed && "opacity-50"))), n;
|
|
4115
4119
|
})()
|
|
4116
4120
|
}),
|
|
4117
4121
|
(() => {
|
|
@@ -4175,7 +4179,7 @@ function jc(e) {
|
|
|
4175
4179
|
//#endregion
|
|
4176
4180
|
//#region src/solid/picker-search.tsx
|
|
4177
4181
|
var Mc = /*#__PURE__*/ K("<button type=button data-slot=picker-search-clear class=\"text-muted-foreground hover:text-foreground shrink-0 rounded-sm p-1 transition-colors\">"), Nc = /*#__PURE__*/ K("<div data-slot=picker-search><input data-slot=picker-search-input type=text>"), Pc = {
|
|
4178
|
-
default:
|
|
4182
|
+
default: Ye.default,
|
|
4179
4183
|
touch: tt
|
|
4180
4184
|
};
|
|
4181
4185
|
function Fc(e) {
|
|
@@ -4205,7 +4209,7 @@ function Fc(e) {
|
|
|
4205
4209
|
return t.value ?? "";
|
|
4206
4210
|
},
|
|
4207
4211
|
get class() {
|
|
4208
|
-
return O("placeholder:text-muted-foreground h-full w-full min-w-0 appearance-none bg-transparent outline-none",
|
|
4212
|
+
return O("placeholder:text-muted-foreground h-full w-full min-w-0 appearance-none bg-transparent outline-none", He);
|
|
4209
4213
|
}
|
|
4210
4214
|
}, n), !1, !1), V(e, z(k, {
|
|
4211
4215
|
get when() {
|
|
@@ -5556,7 +5560,7 @@ var cd = Object.assign(ad, {
|
|
|
5556
5560
|
Portal: rd,
|
|
5557
5561
|
Title: od,
|
|
5558
5562
|
Trigger: sd
|
|
5559
|
-
}), ld = A(() => "overlay"), ud = `${
|
|
5563
|
+
}), ld = A(() => "overlay"), ud = `${Re} ${c} relative ${f.overlay} w-[var(--kb-popper-anchor-width)] overflow-hidden rounded-md text-popover-foreground outline-hidden`, dd = `${it} ${n} ${g} w-72 p-4`, fd = Object.assign((e) => {
|
|
5560
5564
|
let [t, n] = I(e, [
|
|
5561
5565
|
"surface",
|
|
5562
5566
|
"gutter",
|
|
@@ -5883,7 +5887,7 @@ function jd(e) {
|
|
|
5883
5887
|
},
|
|
5884
5888
|
children: (e) => (() => {
|
|
5885
5889
|
var t = Ad(), n = t.firstChild;
|
|
5886
|
-
return V(n, e), B(() => R(t, O(
|
|
5890
|
+
return V(n, e), B(() => R(t, O(Ie, "text-muted-foreground/60"))), t;
|
|
5887
5891
|
})()
|
|
5888
5892
|
}),
|
|
5889
5893
|
z(dt, {
|
|
@@ -6069,7 +6073,7 @@ var Kd = /*#__PURE__*/ K("<span data-slot=tier-badge>"), qd = (e) => {
|
|
|
6069
6073
|
},
|
|
6070
6074
|
"data-slot": "badge",
|
|
6071
6075
|
get class() {
|
|
6072
|
-
return O(
|
|
6076
|
+
return O(je, _(i()) && Ud, t.class);
|
|
6073
6077
|
},
|
|
6074
6078
|
get style() {
|
|
6075
6079
|
return {
|
|
@@ -6421,7 +6425,7 @@ var bf = (e) => {
|
|
|
6421
6425
|
return O("fixed inset-0 bg-black/80 transition-opacity duration-300 ease-out", "data-[state=closing]:opacity-0 data-[state=open]:opacity-100", t.class);
|
|
6422
6426
|
},
|
|
6423
6427
|
get style() {
|
|
6424
|
-
return { "z-index":
|
|
6428
|
+
return { "z-index": de.sheet };
|
|
6425
6429
|
}
|
|
6426
6430
|
}, n), !1, !1), e;
|
|
6427
6431
|
})();
|
|
@@ -6527,7 +6531,7 @@ var bf = (e) => {
|
|
|
6527
6531
|
get style() {
|
|
6528
6532
|
return {
|
|
6529
6533
|
...typeof t.style == "object" ? t.style : {},
|
|
6530
|
-
"z-index":
|
|
6534
|
+
"z-index": de.sheet,
|
|
6531
6535
|
"--bs-duration": "500ms",
|
|
6532
6536
|
"--bs-ease": Yd,
|
|
6533
6537
|
"will-change": "transform",
|
|
@@ -6536,7 +6540,7 @@ var bf = (e) => {
|
|
|
6536
6540
|
};
|
|
6537
6541
|
},
|
|
6538
6542
|
get class() {
|
|
6539
|
-
return O("bs-content", `fixed inset-x-0 bottom-0 flex ${fs} flex-col rounded-t-xl ${
|
|
6543
|
+
return O("bs-content", `fixed inset-x-0 bottom-0 flex ${fs} flex-col rounded-t-xl ${oe} outline-none`, "after:absolute after:inset-x-0 after:top-full after:h-1/2 after:bg-inherit", t.class);
|
|
6540
6544
|
}
|
|
6541
6545
|
}), !1, !0), V(e, () => t.children), e;
|
|
6542
6546
|
}
|
|
@@ -6698,7 +6702,7 @@ var Jf = /*#__PURE__*/ K("<div data-slot=separator role=separator>"), Yf = (e) =
|
|
|
6698
6702
|
}
|
|
6699
6703
|
}, n), !1, !1), e;
|
|
6700
6704
|
})();
|
|
6701
|
-
}, Xf = /*#__PURE__*/ K("<div data-slot=button-group>"), Zf =
|
|
6705
|
+
}, Xf = /*#__PURE__*/ K("<div data-slot=button-group>"), Zf = ce({
|
|
6702
6706
|
base: "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
|
|
6703
6707
|
variants: { orientation: {
|
|
6704
6708
|
horizontal: "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",
|
|
@@ -6748,7 +6752,7 @@ function rp(e) {
|
|
|
6748
6752
|
},
|
|
6749
6753
|
get children() {
|
|
6750
6754
|
var e = tp();
|
|
6751
|
-
return R(e, `${
|
|
6755
|
+
return R(e, `${Ke} transition-transform duration-(--duration-state) group-hover:translate-x-1`), B((t) => Pt(e, Qe("var(--surface-tone)"), t)), e;
|
|
6752
6756
|
}
|
|
6753
6757
|
}), z(pt, {
|
|
6754
6758
|
get when() {
|
|
@@ -6756,7 +6760,7 @@ function rp(e) {
|
|
|
6756
6760
|
},
|
|
6757
6761
|
get children() {
|
|
6758
6762
|
var e = np();
|
|
6759
|
-
return R(e, `${
|
|
6763
|
+
return R(e, `${Ke} opacity-0 transition-opacity duration-(--duration-state) [[data-checked]_&]:opacity-[0.32]`), B((t) => Pt(e, Je("var(--surface-tone)"), t)), e;
|
|
6760
6764
|
}
|
|
6761
6765
|
})];
|
|
6762
6766
|
} });
|
|
@@ -6796,7 +6800,7 @@ var ip = /*#__PURE__*/ K("<div data-slot=card-header>"), ap = /*#__PURE__*/ K("<
|
|
|
6796
6800
|
return (() => {
|
|
6797
6801
|
var e = ip();
|
|
6798
6802
|
return G(e, U({ get class() {
|
|
6799
|
-
return O(
|
|
6803
|
+
return O(Ae, t.class);
|
|
6800
6804
|
} }, n), !1, !1), e;
|
|
6801
6805
|
})();
|
|
6802
6806
|
}, fp = (e) => {
|
|
@@ -6804,7 +6808,7 @@ var ip = /*#__PURE__*/ K("<div data-slot=card-header>"), ap = /*#__PURE__*/ K("<
|
|
|
6804
6808
|
return (() => {
|
|
6805
6809
|
var e = ap();
|
|
6806
6810
|
return G(e, U({ get class() {
|
|
6807
|
-
return O(
|
|
6811
|
+
return O(ae, t.class);
|
|
6808
6812
|
} }, n), !1, !1), e;
|
|
6809
6813
|
})();
|
|
6810
6814
|
}, pp = (e) => {
|
|
@@ -6812,7 +6816,7 @@ var ip = /*#__PURE__*/ K("<div data-slot=card-header>"), ap = /*#__PURE__*/ K("<
|
|
|
6812
6816
|
return (() => {
|
|
6813
6817
|
var e = op();
|
|
6814
6818
|
return G(e, U({ get class() {
|
|
6815
|
-
return O(
|
|
6819
|
+
return O(Be, t.class);
|
|
6816
6820
|
} }, n), !1, !1), e;
|
|
6817
6821
|
})();
|
|
6818
6822
|
}, mp = (e) => {
|
|
@@ -6828,7 +6832,7 @@ var ip = /*#__PURE__*/ K("<div data-slot=card-header>"), ap = /*#__PURE__*/ K("<
|
|
|
6828
6832
|
return (() => {
|
|
6829
6833
|
var e = cp();
|
|
6830
6834
|
return G(e, U({ get class() {
|
|
6831
|
-
return O(
|
|
6835
|
+
return O(We, t.class);
|
|
6832
6836
|
} }, n), !1, !1), e;
|
|
6833
6837
|
})();
|
|
6834
6838
|
}, gp = (e) => {
|
|
@@ -6836,7 +6840,7 @@ var ip = /*#__PURE__*/ K("<div data-slot=card-header>"), ap = /*#__PURE__*/ K("<
|
|
|
6836
6840
|
return (() => {
|
|
6837
6841
|
var e = lp();
|
|
6838
6842
|
return G(e, U({ get class() {
|
|
6839
|
-
return O(
|
|
6843
|
+
return O(Me, t.class);
|
|
6840
6844
|
} }, n), !1, !1), e;
|
|
6841
6845
|
})();
|
|
6842
6846
|
};
|
|
@@ -8144,7 +8148,7 @@ var jm = (e) => {
|
|
|
8144
8148
|
var e = Cm(), o = e.firstChild;
|
|
8145
8149
|
return Ft(r, e), R(e, he), G(o, U({
|
|
8146
8150
|
get class() {
|
|
8147
|
-
return O(
|
|
8151
|
+
return O(Ee(a(), i()), t.class);
|
|
8148
8152
|
},
|
|
8149
8153
|
get "data-transition"() {
|
|
8150
8154
|
return a();
|
|
@@ -8164,7 +8168,7 @@ var jm = (e) => {
|
|
|
8164
8168
|
return (() => {
|
|
8165
8169
|
var e = Tm();
|
|
8166
8170
|
return G(e, U({ get class() {
|
|
8167
|
-
return O(
|
|
8171
|
+
return O(pe, t.class);
|
|
8168
8172
|
} }, n), !1, !0), V(e, () => Array.from({ length: i() }, (e, t) => (() => {
|
|
8169
8173
|
var e = Em();
|
|
8170
8174
|
return e.$$click = () => a(t), W(e, "aria-label", `Go to slide ${t + 1}`), B((n) => {
|
|
@@ -8242,7 +8246,7 @@ var Lm = /*#__PURE__*/ K("<div data-slot=overlay>"), Rm = (e) => {
|
|
|
8242
8246
|
return (() => {
|
|
8243
8247
|
var e = Lm();
|
|
8244
8248
|
return G(e, U({ get class() {
|
|
8245
|
-
return O(it,
|
|
8249
|
+
return O(it, Fe, t.class);
|
|
8246
8250
|
} }, n), !1, !1), e;
|
|
8247
8251
|
})();
|
|
8248
8252
|
}, zm = class {
|
|
@@ -8715,7 +8719,7 @@ var eh = (e) => {
|
|
|
8715
8719
|
},
|
|
8716
8720
|
"data-slot": "tabs-list",
|
|
8717
8721
|
get class() {
|
|
8718
|
-
return O(`scrollbar-hide inline-flex h-9 w-full items-center overflow-x-auto rounded-lg has-[[data-slot=tabs-trigger-icon]]:h-auto ${
|
|
8722
|
+
return O(`scrollbar-hide inline-flex h-9 w-full items-center overflow-x-auto rounded-lg has-[[data-slot=tabs-trigger-icon]]:h-auto ${se} text-muted-foreground p-1`, t.class);
|
|
8719
8723
|
}
|
|
8720
8724
|
}, n, { get children() {
|
|
8721
8725
|
return z(Cd, {
|
|
@@ -8757,7 +8761,7 @@ var eh = (e) => {
|
|
|
8757
8761
|
return O(d, "focus-visible:border-ring focus-visible:ring-ring/50 outline-none focus-visible:ring-[3px]", t.class);
|
|
8758
8762
|
}
|
|
8759
8763
|
}, n));
|
|
8760
|
-
}, rh = /*#__PURE__*/ K("<div class=\"bg-primary/30 pointer-events-none absolute inset-y-0 w-px\">"), ih = /*#__PURE__*/ K("<div class=\"border-background bg-primary pointer-events-none absolute size-2 -translate-x-1/2 -translate-y-1/2 rounded-full border\">"), ah = /*#__PURE__*/ K("<span class=\"font-mono font-semibold tabular-nums\">"), oh = /*#__PURE__*/ K("<span class=\"text-muted-foreground ml-1\">"), sh = /*#__PURE__*/ K("<div data-slot=area-chart>Not enough data yet"), ch = /*#__PURE__*/ K("<div data-slot=area-chart><svg viewBox=\"0 0 100 32\"preserveAspectRatio=none role=img><defs><linearGradient x1=0 y1=0 x2=0 y2=1><stop offset=0% stop-color=currentColor stop-opacity=0.28></stop><stop offset=100% stop-color=currentColor stop-opacity=0></stop></linearGradient></defs><polygon></polygon><polyline fill=none stroke=currentColor stroke-width=1.5 stroke-linejoin=round vector-effect=non-scaling-stroke>"), lh = /*#__PURE__*/ K("<div data-slot=bar-list class=\"flex flex-col gap-1.5\">"), uh = /*#__PURE__*/ K("<div data-slot=bar-list class=\"text-muted-foreground py-2 text-xs\">"), dh = /*#__PURE__*/ K("<span class=\"text-muted-foreground shrink-0 text-xs\">"), fh = /*#__PURE__*/ K("<div class=\"group flex items-center gap-2 text-xs\"><div><div></div><div class=\"relative flex items-center justify-between gap-2 px-2 py-1\"><span class=truncate></span></div></div><span class=\"w-12 shrink-0 text-right font-mono tabular-nums\">"), ph = /*#__PURE__*/ K("<a class=\"block hover:opacity-80\">"), mh = /*#__PURE__*/ K("<div data-slot=stacked-bar class=\"flex flex-col gap-2\"><div><div></div></div><div class=\"flex flex-wrap gap-x-3 gap-y-1 text-xs\">"), hh = /*#__PURE__*/ K("<div>"), gh = /*#__PURE__*/ K("<span class=\"text-muted-foreground inline-flex items-center gap-1.5\"><span></span><span class=\"text-foreground font-mono tabular-nums\">"), _h = new Intl.NumberFormat("en-US"), vh =
|
|
8764
|
+
}, rh = /*#__PURE__*/ K("<div class=\"bg-primary/30 pointer-events-none absolute inset-y-0 w-px\">"), ih = /*#__PURE__*/ K("<div class=\"border-background bg-primary pointer-events-none absolute size-2 -translate-x-1/2 -translate-y-1/2 rounded-full border\">"), ah = /*#__PURE__*/ K("<span class=\"font-mono font-semibold tabular-nums\">"), oh = /*#__PURE__*/ K("<span class=\"text-muted-foreground ml-1\">"), sh = /*#__PURE__*/ K("<div data-slot=area-chart>Not enough data yet"), ch = /*#__PURE__*/ K("<div data-slot=area-chart><svg viewBox=\"0 0 100 32\"preserveAspectRatio=none role=img><defs><linearGradient x1=0 y1=0 x2=0 y2=1><stop offset=0% stop-color=currentColor stop-opacity=0.28></stop><stop offset=100% stop-color=currentColor stop-opacity=0></stop></linearGradient></defs><polygon></polygon><polyline fill=none stroke=currentColor stroke-width=1.5 stroke-linejoin=round vector-effect=non-scaling-stroke>"), lh = /*#__PURE__*/ K("<div data-slot=bar-list class=\"flex flex-col gap-1.5\">"), uh = /*#__PURE__*/ K("<div data-slot=bar-list class=\"text-muted-foreground py-2 text-xs\">"), dh = /*#__PURE__*/ K("<span class=\"text-muted-foreground shrink-0 text-xs\">"), fh = /*#__PURE__*/ K("<div class=\"group flex items-center gap-2 text-xs\"><div><div></div><div class=\"relative flex items-center justify-between gap-2 px-2 py-1\"><span class=truncate></span></div></div><span class=\"w-12 shrink-0 text-right font-mono tabular-nums\">"), ph = /*#__PURE__*/ K("<a class=\"block hover:opacity-80\">"), mh = /*#__PURE__*/ K("<div data-slot=stacked-bar class=\"flex flex-col gap-2\"><div><div></div></div><div class=\"flex flex-wrap gap-x-3 gap-y-1 text-xs\">"), hh = /*#__PURE__*/ K("<div>"), gh = /*#__PURE__*/ K("<span class=\"text-muted-foreground inline-flex items-center gap-1.5\"><span></span><span class=\"text-foreground font-mono tabular-nums\">"), _h = new Intl.NumberFormat("en-US"), vh = Pe, yh = "rounded-full", bh = "glass glass-tint [--glass-tone:var(--primary)]";
|
|
8761
8765
|
function xh(e) {
|
|
8762
8766
|
let t = /* @__PURE__ */ new Date(`${e}T00:00:00Z`);
|
|
8763
8767
|
return Number.isNaN(t.getTime()) ? e : t.toLocaleDateString("en-US", {
|
|
@@ -9080,7 +9084,7 @@ var Fh = (e) => z(Ni, U({ "data-slot": "collapsible" }, e)), Ih = (e) => {
|
|
|
9080
9084
|
let n = t.currentTarget;
|
|
9081
9085
|
n.setPointerCapture?.(t.pointerId), c(!0), e.onChange?.(u(t, n));
|
|
9082
9086
|
}, a.$$keydown = d, B((s) => {
|
|
9083
|
-
var c = O("relative touch-none rounded-full select-none", e.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer", e.class), l = `${t()}px`, u = `${t()}px`, d = e.disabled ? -1 : 0, f = e["aria-label"] ?? "Colour", p = Math.round(i().getChannelValue("hue")), m = `Hue ${Math.round(i().getChannelValue("hue"))}, saturation ${Math.round(i().getChannelValue("saturation"))}%`, h = O("absolute rounded-full shadow-[0_2px_8px_rgb(0_0_0/0.45)]", ve,
|
|
9087
|
+
var c = O("relative touch-none rounded-full select-none", e.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer", e.class), l = `${t()}px`, u = `${t()}px`, d = e.disabled ? -1 : 0, f = e["aria-label"] ?? "Colour", p = Math.round(i().getChannelValue("hue")), m = `Hue ${Math.round(i().getChannelValue("hue"))}, saturation ${Math.round(i().getChannelValue("saturation"))}%`, h = O("absolute rounded-full shadow-[0_2px_8px_rgb(0_0_0/0.45)]", ve, Ze), g = `${o().x}px`, _ = `${o().y}px`, v = r().toString("css");
|
|
9084
9088
|
return c !== s.e && R(n, s.e = c), l !== s.t && Nt(n, "width", s.t = l), u !== s.a && Nt(n, "height", s.a = u), d !== s.o && W(a, "tabindex", s.o = d), f !== s.i && W(a, "aria-label", s.i = f), p !== s.n && W(a, "aria-valuenow", s.n = p), m !== s.s && W(a, "aria-valuetext", s.s = m), h !== s.h && R(a, s.h = h), g !== s.r && Nt(a, "left", s.r = g), _ !== s.d && Nt(a, "top", s.d = _), v !== s.l && Nt(a, "background", s.l = v), s;
|
|
9085
9089
|
}, {
|
|
9086
9090
|
e: void 0,
|
|
@@ -9131,7 +9135,7 @@ var Kh = (e) => {
|
|
|
9131
9135
|
let o = Uh(e.value + a, t(), n());
|
|
9132
9136
|
e.onChange?.(o), e.onChangeEnd?.(o);
|
|
9133
9137
|
}, B((a) => {
|
|
9134
|
-
var o = O("relative h-14 w-full touch-none rounded-full select-none", e.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer", e.class), s = l(), c = e.disabled ? -1 : 0, d = e["aria-label"] ?? "White", f = t(), p = n(), m = e.value, h = `${e.value} Kelvin`, g = O("pointer-events-none absolute top-1/2 rounded-full", ve,
|
|
9138
|
+
var o = O("relative h-14 w-full touch-none rounded-full select-none", e.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer", e.class), s = l(), c = e.disabled ? -1 : 0, d = e["aria-label"] ?? "White", f = t(), p = n(), m = e.value, h = `${e.value} Kelvin`, g = O("pointer-events-none absolute top-1/2 rounded-full", ve, Ze), _ = `calc(${Hh}px + (100% - ${2 * Hh}px) * ${i(e.value) / 100})`, v = Gh(e.value);
|
|
9135
9139
|
return o !== a.e && R(r, a.e = o), a.t = Pt(r, s, a.t), c !== a.a && W(u, "tabindex", a.a = c), d !== a.o && W(u, "aria-label", a.o = d), f !== a.i && W(u, "aria-valuemin", a.i = f), p !== a.n && W(u, "aria-valuemax", a.n = p), m !== a.s && W(u, "aria-valuenow", a.s = m), h !== a.h && W(u, "aria-valuetext", a.h = h), g !== a.r && R(u, a.r = g), _ !== a.d && Nt(u, "left", a.d = _), v !== a.l && Nt(u, "background", a.l = v), a;
|
|
9136
9140
|
}, {
|
|
9137
9141
|
e: void 0,
|
|
@@ -9859,7 +9863,7 @@ var vg = Object.assign(hg, {
|
|
|
9859
9863
|
return z(vg.Thumb, {
|
|
9860
9864
|
"data-slot": "color-slider-thumb",
|
|
9861
9865
|
get class() {
|
|
9862
|
-
return O(
|
|
9866
|
+
return O(Ne, Ze, ve, "absolute top-0", t.disabled && "cursor-not-allowed");
|
|
9863
9867
|
},
|
|
9864
9868
|
get "aria-label"() {
|
|
9865
9869
|
return t["aria-label"] ?? t.channel;
|
|
@@ -10373,7 +10377,7 @@ var Lg = Object.assign(Ng, {
|
|
|
10373
10377
|
return z(Lg.Thumb, {
|
|
10374
10378
|
"data-slot": "color-wheel-thumb",
|
|
10375
10379
|
get class() {
|
|
10376
|
-
return O(
|
|
10380
|
+
return O(Ne, Ze, ve, "rounded-full");
|
|
10377
10381
|
},
|
|
10378
10382
|
get "aria-label"() {
|
|
10379
10383
|
return t["aria-label"] ?? "Hue";
|
|
@@ -11513,7 +11517,7 @@ function H_(e) {
|
|
|
11513
11517
|
function U_(e) {
|
|
11514
11518
|
return e ? {
|
|
11515
11519
|
"--glass-tone": e,
|
|
11516
|
-
color:
|
|
11520
|
+
color: Ge(e)
|
|
11517
11521
|
} : void 0;
|
|
11518
11522
|
}
|
|
11519
11523
|
function W_(e) {
|
|
@@ -11549,7 +11553,7 @@ var G_ = (e) => {
|
|
|
11549
11553
|
return r() ? "" : void 0;
|
|
11550
11554
|
},
|
|
11551
11555
|
get class() {
|
|
11552
|
-
return O(
|
|
11556
|
+
return O(Ie, t.inset && "pl-8", t.class);
|
|
11553
11557
|
},
|
|
11554
11558
|
get style() {
|
|
11555
11559
|
return {
|
|
@@ -11615,7 +11619,7 @@ var G_ = (e) => {
|
|
|
11615
11619
|
return t.inset;
|
|
11616
11620
|
},
|
|
11617
11621
|
get class() {
|
|
11618
|
-
return O(
|
|
11622
|
+
return O(Ie, t.inset && "pl-8", t.class);
|
|
11619
11623
|
}
|
|
11620
11624
|
}, n, { get children() {
|
|
11621
11625
|
return [H(() => t.children), z($, {
|
|
@@ -11711,7 +11715,7 @@ var G_ = (e) => {
|
|
|
11711
11715
|
return z(F_.Content, U({
|
|
11712
11716
|
"data-slot": "context-menu-content",
|
|
11713
11717
|
get class() {
|
|
11714
|
-
return O(B_,
|
|
11718
|
+
return O(B_, Fe, "overflow-x-hidden overflow-y-auto", t.class);
|
|
11715
11719
|
}
|
|
11716
11720
|
}, n, { get children() {
|
|
11717
11721
|
return z(V_, { get children() {
|
|
@@ -12504,7 +12508,7 @@ var fy = (e) => {
|
|
|
12504
12508
|
when: t && r,
|
|
12505
12509
|
get children() {
|
|
12506
12510
|
var e = py();
|
|
12507
|
-
return R(e,
|
|
12511
|
+
return R(e, Ke), V(e, r), B((n) => Pt(e, Qe(t), n)), e;
|
|
12508
12512
|
}
|
|
12509
12513
|
}), i), V(n, z(k, {
|
|
12510
12514
|
get when() {
|
|
@@ -12520,7 +12524,7 @@ var fy = (e) => {
|
|
|
12520
12524
|
},
|
|
12521
12525
|
get children() {
|
|
12522
12526
|
var n = hy();
|
|
12523
|
-
return R(n,
|
|
12527
|
+
return R(n, ge), V(n, () => e.title), B((e) => Pt(n, t ? { color: Ge(t) } : void 0, e)), n;
|
|
12524
12528
|
}
|
|
12525
12529
|
}), null), V(i, z(k, {
|
|
12526
12530
|
get when() {
|
|
@@ -12539,7 +12543,7 @@ var fy = (e) => {
|
|
|
12539
12543
|
return V(t, () => e.action), t;
|
|
12540
12544
|
}
|
|
12541
12545
|
}), null), B((r) => {
|
|
12542
|
-
var i = e.kind === "error" ? "alert" : "status", a = O(
|
|
12546
|
+
var i = e.kind === "error" ? "alert" : "status", a = O(fe, t ? xy : Sy, "w-[356px] max-w-[calc(100vw-2rem)]"), o = t ? {
|
|
12543
12547
|
"--glass-tone": t,
|
|
12544
12548
|
color: "var(--foreground)"
|
|
12545
12549
|
} : void 0;
|
|
@@ -12621,7 +12625,7 @@ var Dy = Object.assign((e, t) => wy("message")(e, t), {
|
|
|
12621
12625
|
getHistory: Kv.getHistory,
|
|
12622
12626
|
getToasts: Kv.getToasts
|
|
12623
12627
|
}), Oy = (e) => {
|
|
12624
|
-
let t =
|
|
12628
|
+
let t = qe(), n = Ct({
|
|
12625
12629
|
duration: 3e3,
|
|
12626
12630
|
gap: 8,
|
|
12627
12631
|
visibleToasts: 3
|
|
@@ -12758,7 +12762,7 @@ function By(e) {
|
|
|
12758
12762
|
},
|
|
12759
12763
|
get children() {
|
|
12760
12764
|
var e = Fy();
|
|
12761
|
-
return V(e, a), B(() => R(e, O(
|
|
12765
|
+
return V(e, a), B(() => R(e, O(Pe, "flex justify-center rounded-xl p-3"))), e;
|
|
12762
12766
|
}
|
|
12763
12767
|
});
|
|
12764
12768
|
}
|
|
@@ -12816,7 +12820,7 @@ var Uy = /*#__PURE__*/ K("<div data-slot=empty>"), Wy = /*#__PURE__*/ K("<div da
|
|
|
12816
12820
|
return O("flex max-w-sm flex-col items-center gap-2 text-center", t.class);
|
|
12817
12821
|
} }, n), !1, !1), e;
|
|
12818
12822
|
})();
|
|
12819
|
-
}, Zy = { icon: `${
|
|
12823
|
+
}, Zy = { icon: `${ke} size-10 rounded-lg [&_svg:not([class*='size-'])]:size-6` }, Qy = (e) => {
|
|
12820
12824
|
let [t, n] = I(e, [
|
|
12821
12825
|
"class",
|
|
12822
12826
|
"media",
|
|
@@ -13736,7 +13740,7 @@ var Nb = Object.assign(kb, {
|
|
|
13736
13740
|
return r();
|
|
13737
13741
|
},
|
|
13738
13742
|
get class() {
|
|
13739
|
-
return O(be, "data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground w-fit whitespace-nowrap [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", r() === "sm" &&
|
|
13743
|
+
return O(be, "data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground w-fit whitespace-nowrap [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", r() === "sm" && Ye.sm, t.class);
|
|
13740
13744
|
}
|
|
13741
13745
|
}, n, { get children() {
|
|
13742
13746
|
return [H(() => t.children), z(Nb.Icon, { get children() {
|
|
@@ -13758,7 +13762,7 @@ var Nb = Object.assign(kb, {
|
|
|
13758
13762
|
return z(Nb.Content, U({
|
|
13759
13763
|
"data-slot": "select-content",
|
|
13760
13764
|
get class() {
|
|
13761
|
-
return O(
|
|
13765
|
+
return O(Re, c, `relative ${f.overlay} text-popover-foreground overflow-hidden rounded-md p-1`, t.class);
|
|
13762
13766
|
}
|
|
13763
13767
|
}, n, { get children() {
|
|
13764
13768
|
return z(Cd, {
|
|
@@ -13789,7 +13793,7 @@ var Nb = Object.assign(kb, {
|
|
|
13789
13793
|
return z(Nb.Item, U({
|
|
13790
13794
|
"data-slot": "select-item",
|
|
13791
13795
|
get class() {
|
|
13792
|
-
return O(
|
|
13796
|
+
return O(Ie, "focus:text-foreground data-[highlighted]:text-foreground w-full pr-8 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", t.class);
|
|
13793
13797
|
}
|
|
13794
13798
|
}, n, { get children() {
|
|
13795
13799
|
return [(() => {
|
|
@@ -14553,7 +14557,7 @@ var hS = Object.assign(pS, {
|
|
|
14553
14557
|
return z(hS.Content, U({
|
|
14554
14558
|
"data-slot": "tooltip-content",
|
|
14555
14559
|
get class() {
|
|
14556
|
-
return O(it,
|
|
14560
|
+
return O(it, Fe, "overflow-hidden px-3 py-1.5 text-xs", t.class);
|
|
14557
14561
|
}
|
|
14558
14562
|
}, n));
|
|
14559
14563
|
} });
|
|
@@ -14798,7 +14802,7 @@ var hS = Object.assign(pS, {
|
|
|
14798
14802
|
At(["click"]);
|
|
14799
14803
|
//#endregion
|
|
14800
14804
|
//#region src/solid/docked-panel.tsx
|
|
14801
|
-
var ES = /*#__PURE__*/ K("<button type=button data-slot=docked-panel-handle class=\"mx-auto flex h-6 w-full shrink-0 items-center justify-center md:hidden\"><span class=\"bg-foreground/25 h-1.5 w-10 rounded-full\">"), DS = /*#__PURE__*/ K("<aside data-slot=docked-panel>"), OS = `fixed ${f.sheet} flex flex-col overflow-hidden ${
|
|
14805
|
+
var ES = /*#__PURE__*/ K("<button type=button data-slot=docked-panel-handle class=\"mx-auto flex h-6 w-full shrink-0 items-center justify-center md:hidden\"><span class=\"bg-foreground/25 h-1.5 w-10 rounded-full\">"), DS = /*#__PURE__*/ K("<aside data-slot=docked-panel>"), OS = `fixed ${f.sheet} flex flex-col overflow-hidden ${oe} text-popover-foreground animate-in fade-in duration-300 max-md:inset-x-0 max-md:bottom-0 max-md:max-h-[min(60dvh,38rem)] max-md:rounded-t-2xl max-md:slide-in-from-bottom-8 md:inset-y-3 md:right-3 md:w-[25rem] md:rounded-2xl md:slide-in-from-right-8 max-md:data-[collapsed]:[&_[data-slot=docked-panel-body]]:hidden max-md:data-[collapsed]:[&_[data-slot=docked-panel-footer]]:hidden [&_[data-slot=docked-panel-footer]]:flex-row`;
|
|
14802
14806
|
function kS(e) {
|
|
14803
14807
|
return z(k, {
|
|
14804
14808
|
get when() {
|
|
@@ -14884,7 +14888,7 @@ function vC(e) {
|
|
|
14884
14888
|
return t ? `${e.state} ${t}` : e.state;
|
|
14885
14889
|
}
|
|
14886
14890
|
function yC(e) {
|
|
14887
|
-
let t = Ys(), n =
|
|
14891
|
+
let t = Ys(), n = qe(), r = P(), [i, a] = N(!1), [o, s] = N(""), [c, l] = N(!1), [u, d] = N(0), f, p, [m, h] = N(0), [g, _] = N(320), v = M(() => t.entityIdsByDomain()[e.domain] ?? []), y = M(() => i() ? v() : e.entityIds), b = t.useEntities(y), x = t.useAreas(), S = M(() => new Map(x().map((e) => [e.id, e.name]))), w = M(() => new Set(e.entityIds)), T = M(() => b().filter((e) => !e.isHidden && !e.isDisabled)), E = M(() => {
|
|
14888
14892
|
let t = e.deviceClass;
|
|
14889
14893
|
if (!t) return T();
|
|
14890
14894
|
let n = uC[t];
|
|
@@ -15419,7 +15423,7 @@ var bC = /*#__PURE__*/ K("<label data-slot=label>"), xC = (e) => {
|
|
|
15419
15423
|
return O("group/field-group @container/field-group flex w-full flex-col gap-6", t.class);
|
|
15420
15424
|
} }, n), !1, !1), e;
|
|
15421
15425
|
})();
|
|
15422
|
-
}, RC =
|
|
15426
|
+
}, RC = ce({
|
|
15423
15427
|
base: "group/field data-[invalid=true]:text-destructive flex w-full",
|
|
15424
15428
|
variants: { orientation: {
|
|
15425
15429
|
vertical: ["flex-col gap-2 [&>*]:w-full [&>.sr-only]:w-auto"],
|
|
@@ -15712,7 +15716,7 @@ function pw(e) {
|
|
|
15712
15716
|
}
|
|
15713
15717
|
});
|
|
15714
15718
|
}
|
|
15715
|
-
}), null), V(a, () => e.description), B((t) => Nt(i, "color",
|
|
15719
|
+
}), null), V(a, () => e.description), B((t) => Nt(i, "color", Ge(fw(e.accentVar)))), t;
|
|
15716
15720
|
})()];
|
|
15717
15721
|
}
|
|
15718
15722
|
function mw(e) {
|
|
@@ -15987,7 +15991,7 @@ var ww = Object.assign(Sw, {
|
|
|
15987
15991
|
return z(ww.Content, U({
|
|
15988
15992
|
"data-slot": "hover-card-content",
|
|
15989
15993
|
get class() {
|
|
15990
|
-
return O(it,
|
|
15994
|
+
return O(it, Fe, "w-64 p-4", t.class);
|
|
15991
15995
|
}
|
|
15992
15996
|
}, n));
|
|
15993
15997
|
}
|
|
@@ -16135,7 +16139,7 @@ function Lw(e) {
|
|
|
16135
16139
|
children: (e) => (() => {
|
|
16136
16140
|
var t = Nw();
|
|
16137
16141
|
return t.$$click = () => y(e.prefix), V(t, () => e.label), B((n) => {
|
|
16138
|
-
var r = a() === e.prefix, i = O(
|
|
16142
|
+
var r = a() === e.prefix, i = O(je, "transition-glass cursor-pointer", a() === e.prefix ? "[--glass-tone:var(--primary)]" : "text-muted-foreground hover:text-foreground [--glass-base:transparent] [--glass-edge:transparent] [--glass-light:0] [--glass-rim:0]");
|
|
16139
16143
|
return r !== n.e && W(t, "aria-pressed", n.e = r), i !== n.t && R(t, n.t = i), n;
|
|
16140
16144
|
}, {
|
|
16141
16145
|
e: void 0,
|
|
@@ -16321,7 +16325,7 @@ function aT(e) {
|
|
|
16321
16325
|
});
|
|
16322
16326
|
}
|
|
16323
16327
|
}), null), B((r) => {
|
|
16324
|
-
var i = O("relative min-w-0", e.class), a = e.label, o = e.selected, s = O(
|
|
16328
|
+
var i = O("relative min-w-0", e.class), a = e.label, o = e.selected, s = O(Pe, we, "relative block aspect-square w-full overflow-hidden", e.selected && "ring-primary ring-2");
|
|
16325
16329
|
return i !== r.e && R(t, r.e = i), a !== r.t && W(n, "aria-label", r.t = a), o !== r.a && W(n, "aria-pressed", r.a = o), s !== r.o && R(n, r.o = s), r;
|
|
16326
16330
|
}, {
|
|
16327
16331
|
e: void 0,
|
|
@@ -16503,7 +16507,7 @@ function HT(e) {
|
|
|
16503
16507
|
return V(e, i), e;
|
|
16504
16508
|
}
|
|
16505
16509
|
}), null), B((r) => {
|
|
16506
|
-
var i = O(xe,
|
|
16510
|
+
var i = O(xe, De, "p-3", "transition-glass relative flex flex-col gap-3 overflow-hidden [contain:layout_style_paint] md:gap-4", e.class), a = { [Oe]: !n() }, s = t().style?.() ?? {};
|
|
16507
16511
|
return i !== r.e && R(o, r.e = i), r.t = kt(o, a, r.t), r.a = Pt(o, s, r.a), r;
|
|
16508
16512
|
}, {
|
|
16509
16513
|
e: void 0,
|
|
@@ -16641,7 +16645,7 @@ function JT(e) {
|
|
|
16641
16645
|
return e.children;
|
|
16642
16646
|
}
|
|
16643
16647
|
})), B((r) => {
|
|
16644
|
-
var i = O(t() ? _e : `${
|
|
16648
|
+
var i = O(t() ? _e : `${ke} text-foreground/80`, we, KT[e.size ?? "md"], e.class), a = t() ? { "--glass-tone": t() } : void 0;
|
|
16645
16649
|
return i !== r.e && R(n, r.e = i), r.t = Pt(n, a, r.t), r;
|
|
16646
16650
|
}, {
|
|
16647
16651
|
e: void 0,
|
|
@@ -16755,7 +16759,7 @@ function pE(e) {
|
|
|
16755
16759
|
class: "pointer-events-none absolute bottom-1 left-1 backdrop-blur-md",
|
|
16756
16760
|
children: "Built in"
|
|
16757
16761
|
}), null), B((t) => {
|
|
16758
|
-
var i = `Use ${e.preset.label}`, a = e.selected, o = O(
|
|
16762
|
+
var i = `Use ${e.preset.label}`, a = e.selected, o = O(Pe, we, "relative block aspect-square w-full overflow-hidden", e.selected && "ring-primary ring-2"), s = e.preset.thumb, c = e.preset.label;
|
|
16759
16763
|
return i !== t.e && W(n, "aria-label", t.e = i), a !== t.t && W(n, "aria-pressed", t.t = a), o !== t.a && R(n, t.a = o), s !== t.o && W(r, "src", t.o = s), c !== t.i && W(r, "alt", t.i = c), t;
|
|
16760
16764
|
}, {
|
|
16761
16765
|
e: void 0,
|
|
@@ -17156,10 +17160,10 @@ var hE = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), gE = /*#__PU
|
|
|
17156
17160
|
return (() => {
|
|
17157
17161
|
var e = hE();
|
|
17158
17162
|
return G(e, U({ get class() {
|
|
17159
|
-
return O(`group/input-group relative flex w-full items-center rounded-md ${
|
|
17163
|
+
return O(`group/input-group relative flex w-full items-center rounded-md ${Re} transition-[color,box-shadow] outline-none`, `${Ye.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-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] 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);
|
|
17160
17164
|
} }, n), !1, !1), e;
|
|
17161
17165
|
})();
|
|
17162
|
-
}, xE =
|
|
17166
|
+
}, xE = ce({
|
|
17163
17167
|
base: "text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-sm [&>svg:not([class*='size-'])]:size-4",
|
|
17164
17168
|
variants: { align: {
|
|
17165
17169
|
"inline-start": "order-first pl-3 has-[>button]:pl-1.5 has-[>kbd]:pl-2",
|
|
@@ -17183,12 +17187,12 @@ var hE = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), gE = /*#__PU
|
|
|
17183
17187
|
}
|
|
17184
17188
|
}, n), !1, !1), e;
|
|
17185
17189
|
})();
|
|
17186
|
-
}, CE = `${
|
|
17190
|
+
}, CE = `${Ye.sm} gap-1.5 px-2.5 has-[>svg]:px-2.5`, wE = "size-8 p-0 has-[>svg]:p-0", TE = ce({
|
|
17187
17191
|
base: "flex items-center gap-2 rounded-sm text-sm shadow-none",
|
|
17188
17192
|
variants: { size: {
|
|
17189
17193
|
xs: CE,
|
|
17190
17194
|
sm: CE,
|
|
17191
|
-
default: `${
|
|
17195
|
+
default: `${Ye.default} px-3 has-[>svg]:px-3`,
|
|
17192
17196
|
"icon-xs": wE,
|
|
17193
17197
|
"icon-sm": wE,
|
|
17194
17198
|
"icon-default": "size-9 p-0 has-[>svg]:p-0"
|
|
@@ -17229,7 +17233,7 @@ var hE = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), gE = /*#__PU
|
|
|
17229
17233
|
return (() => {
|
|
17230
17234
|
var e = vE();
|
|
17231
17235
|
return G(e, U({ get class() {
|
|
17232
|
-
return O(`${
|
|
17236
|
+
return O(`${Ye.default} w-full flex-1 rounded-none border-0 bg-transparent px-3 py-1 ${He} placeholder:text-muted-foreground shadow-none outline-none disabled:cursor-not-allowed disabled:opacity-50`, t.class);
|
|
17233
17237
|
} }, n), !1, !1), e;
|
|
17234
17238
|
})();
|
|
17235
17239
|
}, kE = (e) => {
|
|
@@ -17237,7 +17241,7 @@ var hE = /*#__PURE__*/ K("<div data-slot=input-group role=group>"), gE = /*#__PU
|
|
|
17237
17241
|
return (() => {
|
|
17238
17242
|
var e = yE();
|
|
17239
17243
|
return G(e, U({ get class() {
|
|
17240
|
-
return O(`field-sizing-content min-h-16 w-full flex-1 resize-none rounded-none border-0 bg-transparent px-3 py-2 ${
|
|
17244
|
+
return O(`field-sizing-content min-h-16 w-full flex-1 resize-none rounded-none border-0 bg-transparent px-3 py-2 ${He} placeholder:text-muted-foreground shadow-none outline-none disabled:cursor-not-allowed disabled:opacity-50`, t.class);
|
|
17241
17245
|
} }, n), !1, !1), e;
|
|
17242
17246
|
})();
|
|
17243
17247
|
};
|
|
@@ -17313,7 +17317,7 @@ var AE = /*#__PURE__*/ K("<div data-slot=input-otp><input type=text inputmode=nu
|
|
|
17313
17317
|
return a();
|
|
17314
17318
|
},
|
|
17315
17319
|
get class() {
|
|
17316
|
-
return O(`relative flex ${
|
|
17320
|
+
return O(`relative flex ${Ye.default} w-9 items-center justify-center rounded-xs ${Re} transition-glass text-sm ${Ze}`, "data-[active=true]:ring-ring/50 data-[active=true]:z-10 data-[active=true]:ring-[3px] data-[active=true]:[--glass-edge:var(--ring)]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:[--glass-edge:var(--destructive)]", t.class);
|
|
17317
17321
|
}
|
|
17318
17322
|
}, n), !1, !0), V(e, i, null), V(e, z(k, {
|
|
17319
17323
|
get when() {
|
|
@@ -17356,7 +17360,7 @@ var BE = /*#__PURE__*/ K("<ul data-slot=item-group>"), VE = /*#__PURE__*/ K("<di
|
|
|
17356
17360
|
return O("my-0", t.class);
|
|
17357
17361
|
}
|
|
17358
17362
|
}, n));
|
|
17359
|
-
}, XE =
|
|
17363
|
+
}, XE = ce({
|
|
17360
17364
|
base: "group/item focus-visible:border-ring focus-visible:ring-ring/50 [a]:hover:bg-muted/50 flex flex-wrap items-center rounded-md border border-transparent text-sm transition-colors duration-100 outline-none focus-visible:ring-[3px] [a]:transition-colors",
|
|
17361
17365
|
variants: {
|
|
17362
17366
|
variant: {
|
|
@@ -17399,7 +17403,7 @@ var BE = /*#__PURE__*/ K("<ul data-slot=item-group>"), VE = /*#__PURE__*/ K("<di
|
|
|
17399
17403
|
}
|
|
17400
17404
|
}, n));
|
|
17401
17405
|
}, QE = {
|
|
17402
|
-
icon: `${
|
|
17406
|
+
icon: `${ke} size-8 rounded-md text-foreground/80 [&_svg:not([class*='size-'])]:size-4`,
|
|
17403
17407
|
image: "size-10 overflow-hidden rounded-sm [&_img]:size-full [&_img]:object-cover"
|
|
17404
17408
|
}, $E = (e) => {
|
|
17405
17409
|
let [t, n] = I(e, [
|
|
@@ -17559,7 +17563,7 @@ var mD = /*#__PURE__*/ K("<img alt>"), hD = /*#__PURE__*/ K("<span><span data-sl
|
|
|
17559
17563
|
"src",
|
|
17560
17564
|
"markClass",
|
|
17561
17565
|
"subSlot"
|
|
17562
|
-
]), i = () => t.size ?? "md", a = () =>
|
|
17566
|
+
]), i = () => t.size ?? "md", a = () => le[i()];
|
|
17563
17567
|
return z(Dt, U({
|
|
17564
17568
|
get component() {
|
|
17565
17569
|
return t.href ? "a" : "div";
|
|
@@ -17575,7 +17579,7 @@ var mD = /*#__PURE__*/ K("<img alt>"), hD = /*#__PURE__*/ K("<span><span data-sl
|
|
|
17575
17579
|
return [(() => {
|
|
17576
17580
|
var e = mD();
|
|
17577
17581
|
return B((n) => {
|
|
17578
|
-
var r = t.src ?? "/assets/glasshome_logo.png", o =
|
|
17582
|
+
var r = t.src ?? "/assets/glasshome_logo.png", o = ie[i()], s = ie[i()], c = O(x, a().mark, t.markClass);
|
|
17579
17583
|
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;
|
|
17580
17584
|
}, {
|
|
17581
17585
|
e: void 0,
|
|
@@ -17937,7 +17941,7 @@ var PD = Object.assign(ND, {
|
|
|
17937
17941
|
return z(PD.ItemControl, {
|
|
17938
17942
|
"data-slot": "radio-group-item-control",
|
|
17939
17943
|
get class() {
|
|
17940
|
-
return O("transition-glass relative flex aspect-square size-7 shrink-0 items-center justify-center overflow-hidden rounded-full duration-200 ease-out active:scale-90",
|
|
17944
|
+
return O("transition-glass relative flex aspect-square size-7 shrink-0 items-center justify-center overflow-hidden rounded-full duration-200 ease-out active:scale-90", Pe, "peer-focus-visible:ring-ring/50 peer-focus-visible:ring-[3px] peer-focus-visible:[--glass-edge:var(--ring)]", "data-[invalid]:ring-destructive/20 data-[disabled]:opacity-40 data-[invalid]:[--glass-edge:var(--destructive)]");
|
|
17941
17945
|
},
|
|
17942
17946
|
get children() {
|
|
17943
17947
|
return z(PD.ItemIndicator, {
|
|
@@ -18179,7 +18183,7 @@ function rO(e) {
|
|
|
18179
18183
|
return V(t, () => e.actions), t;
|
|
18180
18184
|
}
|
|
18181
18185
|
}), null), B((e) => {
|
|
18182
|
-
var r = O(xe,
|
|
18186
|
+
var r = O(xe, De, "relative overflow-hidden"), i = { [Oe]: !(t().active?.() ?? !1) }, a = t().style?.() ?? {};
|
|
18183
18187
|
return r !== e.e && R(n, e.e = r), e.t = kt(n, i, e.t), e.a = Pt(n, a, e.a), e;
|
|
18184
18188
|
}, {
|
|
18185
18189
|
e: void 0,
|
|
@@ -18232,7 +18236,7 @@ var iO = /*#__PURE__*/ K("<span data-slot=password-input-leading aria-hidden=tru
|
|
|
18232
18236
|
At(["click"]);
|
|
18233
18237
|
//#endregion
|
|
18234
18238
|
//#region src/solid/preview-tile.tsx
|
|
18235
|
-
var uO = /*#__PURE__*/ K("<div data-slot=preview-tile-face>"), dO = /*#__PURE__*/ K("<span data-slot=preview-tile-caption class=\"text-
|
|
18239
|
+
var uO = /*#__PURE__*/ K("<div data-slot=preview-tile-face>"), dO = /*#__PURE__*/ K("<span data-slot=preview-tile-caption class=\"text-foreground flex min-w-0 items-center gap-1 text-xs font-medium\"><span class=truncate>"), fO = /*#__PURE__*/ K("<span data-slot=preview-tile-meta class=\"text-muted-foreground -mt-1 truncate text-[11px] leading-tight\">"), pO = /*#__PURE__*/ K("<span class=sr-only>"), mO = {
|
|
18236
18240
|
2: "grid-cols-2",
|
|
18237
18241
|
3: "grid-cols-3",
|
|
18238
18242
|
4: "grid-cols-4"
|
|
@@ -18290,7 +18294,7 @@ function vO(e) {
|
|
|
18290
18294
|
},
|
|
18291
18295
|
get children() {
|
|
18292
18296
|
return [(() => {
|
|
18293
|
-
var t = dO();
|
|
18297
|
+
var t = dO(), n = t.firstChild;
|
|
18294
18298
|
return V(t, z(k, {
|
|
18295
18299
|
get when() {
|
|
18296
18300
|
return e.icon;
|
|
@@ -18301,9 +18305,10 @@ function vO(e) {
|
|
|
18301
18305
|
},
|
|
18302
18306
|
width: 12,
|
|
18303
18307
|
height: 12,
|
|
18304
|
-
"aria-hidden": "true"
|
|
18308
|
+
"aria-hidden": "true",
|
|
18309
|
+
class: "shrink-0"
|
|
18305
18310
|
})
|
|
18306
|
-
}),
|
|
18311
|
+
}), n), V(n, () => e.label), t;
|
|
18307
18312
|
})(), z(k, {
|
|
18308
18313
|
get when() {
|
|
18309
18314
|
return e.meta;
|
|
@@ -18521,7 +18526,7 @@ var PO = Object.assign(jO, {
|
|
|
18521
18526
|
return t.value;
|
|
18522
18527
|
},
|
|
18523
18528
|
get class() {
|
|
18524
|
-
return O(
|
|
18529
|
+
return O(Pe, "relative h-2 w-full overflow-hidden rounded-full", t.class);
|
|
18525
18530
|
}
|
|
18526
18531
|
}, n, { get children() {
|
|
18527
18532
|
return z(PO.Track, {
|
|
@@ -18639,7 +18644,7 @@ function GO() {
|
|
|
18639
18644
|
return e;
|
|
18640
18645
|
}
|
|
18641
18646
|
var KO = (e) => {
|
|
18642
|
-
let [t, n] = N(e.defaultOpen ?? !1), r =
|
|
18647
|
+
let [t, n] = N(e.defaultOpen ?? !1), r = qe(), i = () => r() === !0, a = () => e.open === void 0 ? t() : e.open === !0, o = (t) => {
|
|
18643
18648
|
e.open === void 0 && n(t), e.onOpenChange?.(t);
|
|
18644
18649
|
};
|
|
18645
18650
|
return z(WO.Provider, {
|
|
@@ -18809,20 +18814,20 @@ var KO = (e) => {
|
|
|
18809
18814
|
return t.disabled;
|
|
18810
18815
|
},
|
|
18811
18816
|
get class() {
|
|
18812
|
-
return O(`group/switch peer transition-glass relative inline-flex h-7 w-14 shrink-0 cursor-pointer items-center rounded-xl duration-200 ease-out disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
18817
|
+
return O(`group/switch peer transition-glass relative inline-flex h-7 w-14 shrink-0 cursor-pointer items-center rounded-xl duration-200 ease-out disabled:cursor-not-allowed disabled:opacity-50 ${Ze}`, a() ? "glass glass-tint [--glass-tone:var(--primary)]" : Pe, t.class);
|
|
18813
18818
|
},
|
|
18814
18819
|
onClick: () => {
|
|
18815
18820
|
let e = !a();
|
|
18816
18821
|
i(e), t.onChange?.(e);
|
|
18817
18822
|
}
|
|
18818
|
-
}), !1, !0), Nt(r, "--thumb-face-on",
|
|
18823
|
+
}), !1, !0), Nt(r, "--thumb-face-on", Ve), V(e, (() => {
|
|
18819
18824
|
var e = H(() => !!t.name);
|
|
18820
18825
|
return () => e() && (() => {
|
|
18821
18826
|
var e = nk();
|
|
18822
18827
|
return B(() => W(e, "name", t.name)), B(() => e.value = a() ? "on" : "off"), e;
|
|
18823
18828
|
})();
|
|
18824
18829
|
})(), null), B((e) => {
|
|
18825
|
-
var t = O(
|
|
18830
|
+
var t = O(Ne, "pointer-events-none transition-transform duration-300 [transition-timing-function:cubic-bezier(0.34,1.56,0.64,1)] group-data-[checked]/switch:translate-x-full"), n = a() ? "var(--thumb-face-on)" : "var(--thumb-face-off)";
|
|
18826
18831
|
return t !== e.e && R(r, e.e = t), n !== e.t && Nt(r, "background", e.t = n), e;
|
|
18827
18832
|
}, {
|
|
18828
18833
|
e: void 0,
|
|
@@ -19043,17 +19048,17 @@ function dk(e) {
|
|
|
19043
19048
|
}
|
|
19044
19049
|
}, n));
|
|
19045
19050
|
}
|
|
19046
|
-
var fk = Object.assign(dk, { Item: lk }), pk =
|
|
19051
|
+
var fk = Object.assign(dk, { Item: lk }), pk = ce({
|
|
19047
19052
|
base: `${et} aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 border border-transparent [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
|
|
19048
19053
|
variants: {
|
|
19049
19054
|
variant: {
|
|
19050
19055
|
default: "bg-transparent",
|
|
19051
|
-
outline:
|
|
19056
|
+
outline: ue
|
|
19052
19057
|
},
|
|
19053
19058
|
size: {
|
|
19054
|
-
default: `${
|
|
19055
|
-
sm: `${
|
|
19056
|
-
lg: `${
|
|
19059
|
+
default: `${Ye.default} min-w-9 px-2`,
|
|
19060
|
+
sm: `${Ye.sm} min-w-8 px-1.5`,
|
|
19061
|
+
lg: `${Ye.lg} min-w-10 px-2.5`
|
|
19057
19062
|
}
|
|
19058
19063
|
},
|
|
19059
19064
|
defaultVariants: {
|
|
@@ -19088,6 +19093,7 @@ var fk = Object.assign(dk, { Item: lk }), pk = se({
|
|
|
19088
19093
|
"variant",
|
|
19089
19094
|
"size",
|
|
19090
19095
|
"tone",
|
|
19096
|
+
"scroll",
|
|
19091
19097
|
"children"
|
|
19092
19098
|
]), r = () => !e.multiple;
|
|
19093
19099
|
return z(fk, U({
|
|
@@ -19098,8 +19104,11 @@ var fk = Object.assign(dk, { Item: lk }), pk = se({
|
|
|
19098
19104
|
get "data-size"() {
|
|
19099
19105
|
return t.size;
|
|
19100
19106
|
},
|
|
19107
|
+
get "data-scroll"() {
|
|
19108
|
+
return t.scroll ? "" : void 0;
|
|
19109
|
+
},
|
|
19101
19110
|
get class() {
|
|
19102
|
-
return O(`group/toggle-group flex w-fit max-w-full flex-wrap items-center gap-y-1 rounded-lg ${
|
|
19111
|
+
return O(`group/toggle-group flex w-fit max-w-full flex-wrap items-center gap-y-1 rounded-lg ${se} p-1 data-[variant=outline]:shadow-xs`, t.scroll && "[scrollbar-width:none] flex-nowrap overflow-x-auto", t.class);
|
|
19103
19112
|
}
|
|
19104
19113
|
}, n, { get children() {
|
|
19105
19114
|
return z(gk.Provider, {
|
|
@@ -19125,8 +19134,12 @@ var fk = Object.assign(dk, { Item: lk }), pk = se({
|
|
|
19125
19134
|
get indicatorTone() {
|
|
19126
19135
|
return t.tone;
|
|
19127
19136
|
},
|
|
19128
|
-
wrapped
|
|
19129
|
-
|
|
19137
|
+
get wrapped() {
|
|
19138
|
+
return !t.scroll;
|
|
19139
|
+
},
|
|
19140
|
+
get class() {
|
|
19141
|
+
return t.scroll ? "flex w-max flex-nowrap items-center" : "flex w-full flex-wrap items-center gap-y-1";
|
|
19142
|
+
},
|
|
19130
19143
|
get children() {
|
|
19131
19144
|
return t.children;
|
|
19132
19145
|
}
|
|
@@ -19789,7 +19802,7 @@ function aA(e) {
|
|
|
19789
19802
|
var t = Ok();
|
|
19790
19803
|
return t.addEventListener("error", () => i((t) => new Set(t).add(e()))), B(() => W(t, "src", e())), t;
|
|
19791
19804
|
})()
|
|
19792
|
-
})), B(() => R(e, O(
|
|
19805
|
+
})), B(() => R(e, O(Pe, "text-muted-foreground pointer-events-none relative flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md"))), e;
|
|
19793
19806
|
}
|
|
19794
19807
|
}), t), V(t, () => h(r(), u)), V(e, z(k, {
|
|
19795
19808
|
get when() {
|
|
@@ -20403,7 +20416,7 @@ var wA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
20403
20416
|
},
|
|
20404
20417
|
"data-slot": "slider",
|
|
20405
20418
|
get class() {
|
|
20406
|
-
return O("relative flex w-full touch-none items-center rounded-xl select-none", Se,
|
|
20419
|
+
return O("relative flex w-full touch-none items-center rounded-xl select-none", Se, Pe, t.disabled && "cursor-not-allowed opacity-50", t.class);
|
|
20407
20420
|
},
|
|
20408
20421
|
get children() {
|
|
20409
20422
|
return z(fg.Track, {
|
|
@@ -20416,7 +20429,7 @@ var wA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
20416
20429
|
z(fg.Fill, {
|
|
20417
20430
|
"data-slot": "slider-fill",
|
|
20418
20431
|
get class() {
|
|
20419
|
-
return O("glass glass-tint absolute inset-y-0 rounded-xl [--glass-drop:0%]",
|
|
20432
|
+
return O("glass glass-tint absolute inset-y-0 rounded-xl [--glass-drop:0%]", Xe, Array.isArray(t.fillTone) && "glass-edge-gradient");
|
|
20420
20433
|
},
|
|
20421
20434
|
get style() {
|
|
20422
20435
|
return H(() => !!Array.isArray(t.fillTone))() ? {
|
|
@@ -20443,7 +20456,7 @@ var wA = /*#__PURE__*/ K("<div data-slot=sheet-content-above class=\"flex w-full
|
|
|
20443
20456
|
children: (e, n) => z(fg.Thumb, {
|
|
20444
20457
|
"data-slot": "slider-thumb",
|
|
20445
20458
|
get class() {
|
|
20446
|
-
return O(
|
|
20459
|
+
return O(Ne, Ze, "absolute top-0 transition-transform duration-200 ease-out hover:scale-125 active:scale-110", t.disabled && "cursor-not-allowed", t.thumbClass);
|
|
20447
20460
|
},
|
|
20448
20461
|
get "aria-label"() {
|
|
20449
20462
|
return t["aria-label"];
|
|
@@ -20583,7 +20596,7 @@ var rj = (e) => {
|
|
|
20583
20596
|
children: (e) => (() => {
|
|
20584
20597
|
var t = JA();
|
|
20585
20598
|
return B((n) => {
|
|
20586
|
-
var r = g().side, i = O(
|
|
20599
|
+
var r = g().side, i = O(oe, "absolute rotate-45 rounded-[2px]"), a = {
|
|
20587
20600
|
left: `${e().x - $A / 2}px`,
|
|
20588
20601
|
...g().side === "above" ? { bottom: `${-20 / 2}px` } : { top: `${-20 / 2}px` }
|
|
20589
20602
|
};
|
|
@@ -20595,7 +20608,7 @@ var rj = (e) => {
|
|
|
20595
20608
|
}), t;
|
|
20596
20609
|
})()
|
|
20597
20610
|
}), n), V(n, () => e.children), B((r) => {
|
|
20598
|
-
var i = g().side, a = O(S, f.overlay, "fixed top-0 left-0 w-96", e.class), o = `${g().x}px ${g().y}px`, s = O(
|
|
20611
|
+
var i = g().side, a = O(S, f.overlay, "fixed top-0 left-0 w-96", e.class), o = `${g().x}px ${g().y}px`, s = O(oe, l, "relative z-auto p-4");
|
|
20599
20612
|
return i !== r.e && W(t, "data-side", r.e = i), a !== r.t && R(t, r.t = a), o !== r.a && Nt(t, "translate", r.a = o), s !== r.o && R(n, r.o = s), r;
|
|
20600
20613
|
}, {
|
|
20601
20614
|
e: void 0,
|
|
@@ -20975,4 +20988,4 @@ function kj(e) {
|
|
|
20975
20988
|
});
|
|
20976
20989
|
}
|
|
20977
20990
|
//#endregion
|
|
20978
|
-
export { Na as Accordion, Ia as AccordionContent, Pa as AccordionItem, Fa as AccordionTrigger, Wa as Alert, Ka as AlertDescription, Ns as AlertDialog, Ws as AlertDialogAction, Rs as AlertDialogBody, Gs as AlertDialogCancel, Is as AlertDialogContent, Vs as AlertDialogDescription, zs as AlertDialogFooter, Ls as AlertDialogHeader, Bs as AlertDialogTitle, Ps as AlertDialogTrigger, Ga as AlertTitle, Oh as AreaChart, jd as AreaPicker, Nd as AspectRatio, Bd as Avatar, Hd as AvatarFallback, Vd as AvatarImage, qd as Badge, kh as BarList, bf as BottomSheet, Df as BottomSheetBody, jf as BottomSheetClose, wf as BottomSheetContent, Af as BottomSheetDescription, Of as BottomSheetFooter, Tf as BottomSheetHandle, Ef as BottomSheetHeader, Cf as BottomSheetOverlay, Sf as BottomSheetPortal, kf as BottomSheetTitle, xf as BottomSheetTrigger, Rf as Breadcrumb, Wf as BreadcrumbEllipsis, Bf as BreadcrumbItem, Vf as BreadcrumbLink, zf as BreadcrumbList, Hf as BreadcrumbPage, Uf as BreadcrumbSeparator, Kf as Button, Qf as ButtonGroup, ep as ButtonGroupSeparator, $f as ButtonGroupText, qf as ButtonWell, up as Card, mp as CardAction, hp as CardContent, pp as CardDescription, gp as CardFooter, dp as CardHeader, fp as CardTitle, jm as Carousel, Mm as CarouselContent, Pm as CarouselDots, Nm as CarouselItem, Im as CarouselNext, Fm as CarouselPrevious, Cc as Checkbox, Fh as Collapsible, Lh as CollapsibleContent, Ih as CollapsibleTrigger, Wh as ColorDisc, yg as ColorSlider, Rg as ColorWheel, $_ as ContextMenu, cv as ContextMenuCheckboxItem, ov as ContextMenuContent, ev as ContextMenuGroup, sv as ContextMenuItem, uv as ContextMenuLabel, nv as ContextMenuRadioGroup, lv as ContextMenuRadioItem, dv as ContextMenuSeparator, fv as ContextMenuShortcut, tv as ContextMenuSub, av as ContextMenuSubContent, iv as ContextMenuSubTrigger, rv as ContextMenuTrigger, Ay as CopyButton, jy as CountPill, By as DashboardPreview, jx as DataTableHead, Ax as DataTableRow, Vx as Dialog, Jx as DialogBody, Wx as DialogClose, Kx as DialogContent, Zx as DialogDescription, Yx as DialogFooter, qx as DialogHeader, Xx as DialogTitle, Hx as DialogTrigger, TS as Dock, kS as DockedPanel, jS as DockedPanelBody, MS as DockedPanelFooter, AS as DockedPanelHeader, PS as DropdownMenu, US as DropdownMenuCheckboxItem, zS as DropdownMenuContent, FS as DropdownMenuGroup, BS as DropdownMenuItem, KS as DropdownMenuLabel, LS as DropdownMenuRadioGroup, WS as DropdownMenuRadioItem, GS as DropdownMenuSeparator, qS as DropdownMenuShortcut, IS as DropdownMenuSub, HS as DropdownMenuSubContent, VS as DropdownMenuSubTrigger, RS as DropdownMenuTrigger, Yy as Empty, tb as EmptyContent, eb as EmptyDescription, Xy as EmptyHeader, Qy as EmptyMedia, $y as EmptyTitle, Ks as EntityDataContext, yC as EntitySelector, WT as FactRow, zC as Field, BC as FieldContent, UC as FieldDescription, KC as FieldError, LC as FieldGroup, VC as FieldLabel, IC as FieldLegend, GC as FieldSeparator, FC as FieldSet, WC as FieldSubGroup, HC as FieldTitle, QC as Form, aw as FormControl, ow as FormDescription, ew as FormField, tw as FormItem, nw as FormLabel, sw as FormMessage, Cy as GlassToast, mw as HeroAction, QD as HeroOption, Tw as HoverCard, Dw as HoverCardContent, Ew as HoverCardTrigger, $ as Icon, Lw as IconPicker, fE as ImagePicker, rb as Input, bE as InputGroup, SE as InputGroupAddon, EE as InputGroupButton, OE as InputGroupInput, DE as InputGroupText, kE as InputGroupTextarea, IE as InputOTP, LE as InputOTPGroup, zE as InputOTPSeparator, RE as InputOTPSlot, ZE as Item, rD as ItemActions, eD as ItemContent, nD as ItemDescription, aD as ItemFooter, JE as ItemGroup, iD as ItemHeader, $E as ItemMedia, YE as ItemSeparator, tD as ItemTitle, cD as Kbd, lD as KbdGroup, xC as Label, bA as LabeledField, xA as LabeledIconPicker, SA as LabeledInput, GT as ListRow, _D as Logo, Uw as MEDIA_PAGE_SIZE, zw as MediaStoreContext, Rw as MediaStoreError, aT as MediaTile, VT as NOOP_GLASS, xD as NumberField, a as OVERLAY_SURFACE, XD as OptionCard, YD as OptionCardGroup, JD as OptionChoice, Rm as Overlay, Ac as PICKER_ROW_HEIGHT, rO as PageHeader, pT as Pagination, mT as PaginationContent, yT as PaginationEllipsis, hT as PaginationItem, gT as PaginationLink, vT as PaginationNext, _T as PaginationPrevious, lO as PasswordInput, jc as PickerRow, Fc as PickerSearch, zc as PickerTrigger, fd as Popover, hd as PopoverAnchor, md as PopoverContent, pd as PopoverTrigger, vO as PreviewTile, _O as PreviewTileGroup, FO as Progress, E as RISE_MOTION, LD as RadioGroup, RD as RadioGroupItem, jh as RangeToggle, UO as ResizableHandle, HO as ResizablePanel, VO as ResizablePanelGroup, KO as ResponsiveDialog, XO as ResponsiveDialogBody, ek as ResponsiveDialogClose, JO as ResponsiveDialogContent, $O as ResponsiveDialogDescription, ZO as ResponsiveDialogFooter, YO as ResponsiveDialogHeader, QO as ResponsiveDialogTitle, qO as ResponsiveDialogTrigger, yA as RowActions, Pk as SCHEMA_FORM_FORM_TYPES, we as SECTION_INNER_RADIUS,
|
|
20991
|
+
export { Na as Accordion, Ia as AccordionContent, Pa as AccordionItem, Fa as AccordionTrigger, Wa as Alert, Ka as AlertDescription, Ns as AlertDialog, Ws as AlertDialogAction, Rs as AlertDialogBody, Gs as AlertDialogCancel, Is as AlertDialogContent, Vs as AlertDialogDescription, zs as AlertDialogFooter, Ls as AlertDialogHeader, Bs as AlertDialogTitle, Ps as AlertDialogTrigger, Ga as AlertTitle, Oh as AreaChart, jd as AreaPicker, Nd as AspectRatio, Bd as Avatar, Hd as AvatarFallback, Vd as AvatarImage, qd as Badge, kh as BarList, bf as BottomSheet, Df as BottomSheetBody, jf as BottomSheetClose, wf as BottomSheetContent, Af as BottomSheetDescription, Of as BottomSheetFooter, Tf as BottomSheetHandle, Ef as BottomSheetHeader, Cf as BottomSheetOverlay, Sf as BottomSheetPortal, kf as BottomSheetTitle, xf as BottomSheetTrigger, Rf as Breadcrumb, Wf as BreadcrumbEllipsis, Bf as BreadcrumbItem, Vf as BreadcrumbLink, zf as BreadcrumbList, Hf as BreadcrumbPage, Uf as BreadcrumbSeparator, Kf as Button, Qf as ButtonGroup, ep as ButtonGroupSeparator, $f as ButtonGroupText, qf as ButtonWell, up as Card, mp as CardAction, hp as CardContent, pp as CardDescription, gp as CardFooter, dp as CardHeader, fp as CardTitle, jm as Carousel, Mm as CarouselContent, Pm as CarouselDots, Nm as CarouselItem, Im as CarouselNext, Fm as CarouselPrevious, Cc as Checkbox, Fh as Collapsible, Lh as CollapsibleContent, Ih as CollapsibleTrigger, Wh as ColorDisc, yg as ColorSlider, Rg as ColorWheel, $_ as ContextMenu, cv as ContextMenuCheckboxItem, ov as ContextMenuContent, ev as ContextMenuGroup, sv as ContextMenuItem, uv as ContextMenuLabel, nv as ContextMenuRadioGroup, lv as ContextMenuRadioItem, dv as ContextMenuSeparator, fv as ContextMenuShortcut, tv as ContextMenuSub, av as ContextMenuSubContent, iv as ContextMenuSubTrigger, rv as ContextMenuTrigger, Ay as CopyButton, jy as CountPill, By as DashboardPreview, jx as DataTableHead, Ax as DataTableRow, Vx as Dialog, Jx as DialogBody, Wx as DialogClose, Kx as DialogContent, Zx as DialogDescription, Yx as DialogFooter, qx as DialogHeader, Xx as DialogTitle, Hx as DialogTrigger, TS as Dock, kS as DockedPanel, jS as DockedPanelBody, MS as DockedPanelFooter, AS as DockedPanelHeader, PS as DropdownMenu, US as DropdownMenuCheckboxItem, zS as DropdownMenuContent, FS as DropdownMenuGroup, BS as DropdownMenuItem, KS as DropdownMenuLabel, LS as DropdownMenuRadioGroup, WS as DropdownMenuRadioItem, GS as DropdownMenuSeparator, qS as DropdownMenuShortcut, IS as DropdownMenuSub, HS as DropdownMenuSubContent, VS as DropdownMenuSubTrigger, RS as DropdownMenuTrigger, Yy as Empty, tb as EmptyContent, eb as EmptyDescription, Xy as EmptyHeader, Qy as EmptyMedia, $y as EmptyTitle, Ks as EntityDataContext, yC as EntitySelector, WT as FactRow, zC as Field, BC as FieldContent, UC as FieldDescription, KC as FieldError, LC as FieldGroup, VC as FieldLabel, IC as FieldLegend, GC as FieldSeparator, FC as FieldSet, WC as FieldSubGroup, HC as FieldTitle, QC as Form, aw as FormControl, ow as FormDescription, ew as FormField, tw as FormItem, nw as FormLabel, sw as FormMessage, Cy as GlassToast, mw as HeroAction, QD as HeroOption, Tw as HoverCard, Dw as HoverCardContent, Ew as HoverCardTrigger, $ as Icon, Lw as IconPicker, fE as ImagePicker, rb as Input, bE as InputGroup, SE as InputGroupAddon, EE as InputGroupButton, OE as InputGroupInput, DE as InputGroupText, kE as InputGroupTextarea, IE as InputOTP, LE as InputOTPGroup, zE as InputOTPSeparator, RE as InputOTPSlot, ZE as Item, rD as ItemActions, eD as ItemContent, nD as ItemDescription, aD as ItemFooter, JE as ItemGroup, iD as ItemHeader, $E as ItemMedia, YE as ItemSeparator, tD as ItemTitle, cD as Kbd, lD as KbdGroup, xC as Label, bA as LabeledField, xA as LabeledIconPicker, SA as LabeledInput, GT as ListRow, _D as Logo, Uw as MEDIA_PAGE_SIZE, zw as MediaStoreContext, Rw as MediaStoreError, aT as MediaTile, VT as NOOP_GLASS, xD as NumberField, a as OVERLAY_SURFACE, XD as OptionCard, YD as OptionCardGroup, JD as OptionChoice, Rm as Overlay, Ac as PICKER_ROW_HEIGHT, rO as PageHeader, pT as Pagination, mT as PaginationContent, yT as PaginationEllipsis, hT as PaginationItem, gT as PaginationLink, vT as PaginationNext, _T as PaginationPrevious, lO as PasswordInput, jc as PickerRow, Fc as PickerSearch, zc as PickerTrigger, fd as Popover, hd as PopoverAnchor, md as PopoverContent, pd as PopoverTrigger, vO as PreviewTile, _O as PreviewTileGroup, FO as Progress, E as RISE_MOTION, LD as RadioGroup, RD as RadioGroupItem, jh as RangeToggle, UO as ResizableHandle, HO as ResizablePanel, VO as ResizablePanelGroup, KO as ResponsiveDialog, XO as ResponsiveDialogBody, ek as ResponsiveDialogClose, JO as ResponsiveDialogContent, $O as ResponsiveDialogDescription, ZO as ResponsiveDialogFooter, YO as ResponsiveDialogHeader, QO as ResponsiveDialogTitle, qO as ResponsiveDialogTrigger, yA as RowActions, Pk as SCHEMA_FORM_FORM_TYPES, we as SECTION_INNER_RADIUS, De as SECTION_OUTER_RADIUS, Ue as SECTION_PADDING, ze as SECTION_ROW_CLASS, rt as SECTION_ROW_SURFACE, d as SETTLE_MOTION, Qk as SchemaForm, uA as ScopeIndicator, fA as ScrollArea, pA as ScrollBar, _A as SectionAddButton, HT as SectionCard, vA as SectionEmpty, QT as SectionGroup, JT as SectionIcon, $T as SectionLabel, eE as SectionMeta, UT as SectionRow, tE as SectionRowSkeleton, nE as SectionRowSkeletons, ZT as SectionSubtitle, YT as SectionTitle, Lb as Select, Bb as SelectContent, Ub as SelectGroup, Hb as SelectItem, Vb as SelectLabel, Wb as SelectSeparator, zb as SelectTrigger, Rb as SelectValue, Yf as Separator, TA as Sheet, IA as SheetBody, OA as SheetClose, PA as SheetContent, zA as SheetDescription, LA as SheetFooter, FA as SheetHeader, RA as SheetTitle, EA as SheetTrigger, Kb as Skeleton, VA as Slider, Cd as SlidingIndicator, fy as Spinner, rj as Spotlight, Ph as StackedBar, oj as StepIndicator, lj as SwatchPicker, rk as Switch, CA as SwitchRow, Sx as TABLE_BLEED, tx as TABLE_CELL_INSET, Cx as TABLE_CELL_X, rx as TABLE_HEAD_CELL_CLASS, Tx as TABLE_HEAD_CLASS, nx as TABLE_HEAD_LABEL_CLASS, Dx as TABLE_NUM_CELL_CLASS, wx as TABLE_ROW_CLASS, Ex as TABLE_SCROLL_CLASS, S as TRAVEL_MOTION, ix as Table, ox as TableBody, Rx as TableBulkBar, dx as TableCaption, ux as TableCell, Nx as TableEmpty, Px as TableError, Ox as TableFilterSelect, sx as TableFooter, lx as TableHead, ax as TableHeader, cx as TableRow, kx as TableSearchInput, Lx as TableSkeleton, Mx as TableSortHeader, Qm as Tabs, nh as TabsContent, eh as TabsList, th as TabsTrigger, Kh as TemperatureBar, dj as Textarea, Jd as TierBadge, Oy as Toaster, hk as Toggle, _k as ToggleGroup, vk as ToggleGroupItem, gS as Tooltip, vS as TooltipContent, _S as TooltipTrigger, Dj as WidgetCard, Cj as WidgetIdentity, wj as WidgetMeta, mj as WidgetTrustBadge, Zf as buttonGroupVariants, h as buttonVariants, Kw as createBrokenMedia, pD as createListReorder, fD as dragTargetIndex, wh as formatBytes, Sh as formatCompact, Sj as formatWidgetCount, Yw as imagePreset, Zw as imageUrl, Ww as isMediaImage, Gh as kelvinToCss, tT as mediaIndexErrorCopy, eT as mediaStoreErrorCopy, Xw as mediaUrl, Dr as parseColor, Jw as presetValue, Js as provideEntityData, Ta as provideIcons, Vw as provideMediaStore, Gw as sortMediaForClearing, $w as toMediaStoreError, Dy as toast, pk as toggleVariants, Ys as useEntityData, $C as useFormField, Hw as useMediaStore, xj as widgetHref };
|