@gv-tech/ui-native 2.27.3 → 2.28.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/support-fab.d.ts.map +1 -1
- package/dist/switch.d.ts +2 -2
- package/dist/switch.d.ts.map +1 -1
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +234 -255
- package/package.json +1 -1
- package/src/support-fab.tsx +25 -3
- package/src/switch.tsx +20 -58
package/dist/ui-native.esm.js
CHANGED
|
@@ -1676,14 +1676,22 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
|
|
|
1676
1676
|
Oi.displayName = "ScrollToTop";
|
|
1677
1677
|
//#endregion
|
|
1678
1678
|
//#region src/support-fab.tsx
|
|
1679
|
-
var ki = (e) => {
|
|
1679
|
+
var ki = "https://www.buymeacoffee.com", Ai = new Set(["buymeacoffee.com", "www.buymeacoffee.com"]), ji = (e) => {
|
|
1680
1680
|
let t = e.trim();
|
|
1681
|
+
try {
|
|
1682
|
+
let n = new URL(t), r = n.hostname.toLowerCase();
|
|
1683
|
+
return n.protocol !== "https:" || !Ai.has(r) ? (console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), ki) : t;
|
|
1684
|
+
} catch {
|
|
1685
|
+
return console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), ki;
|
|
1686
|
+
}
|
|
1687
|
+
}, Mi = (e) => {
|
|
1688
|
+
let t = ji(e);
|
|
1681
1689
|
return t.endsWith("/") ? t.slice(0, -1) : t;
|
|
1682
|
-
},
|
|
1683
|
-
function
|
|
1690
|
+
}, Ni = (e) => e.trim().replace(/^@+/, ""), Pi = (e, t) => `${Mi(e)}/${encodeURIComponent(Ni(t))}`;
|
|
1691
|
+
function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: a, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
|
|
1684
1692
|
let m = a !== void 0, [g, b] = e.useState(s), x = m ? a : g, S = e.useCallback((e) => {
|
|
1685
1693
|
m || b(e), c?.(e);
|
|
1686
|
-
}, [m, c]), ee = e.useMemo(() =>
|
|
1694
|
+
}, [m, c]), ee = e.useMemo(() => Pi(t, n), [n, t]), te = e.useCallback(async () => {
|
|
1687
1695
|
try {
|
|
1688
1696
|
await o.openURL(ee);
|
|
1689
1697
|
} catch (e) {
|
|
@@ -1755,17 +1763,17 @@ function Mi({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1755
1763
|
}
|
|
1756
1764
|
//#endregion
|
|
1757
1765
|
//#region src/separator.tsx
|
|
1758
|
-
var
|
|
1766
|
+
var Ii = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ v(He.Root, {
|
|
1759
1767
|
ref: i,
|
|
1760
1768
|
decorative: n,
|
|
1761
1769
|
orientation: t,
|
|
1762
1770
|
className: q("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
1763
1771
|
...r
|
|
1764
1772
|
}));
|
|
1765
|
-
|
|
1773
|
+
Ii.displayName = He.Root?.displayName || "Separator";
|
|
1766
1774
|
//#endregion
|
|
1767
1775
|
//#region src/sheet.tsx
|
|
1768
|
-
var
|
|
1776
|
+
var Li = F.Root, Ri = F.Trigger, zi = F.Close, Bi = F.Portal, Vi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Overlay, {
|
|
1769
1777
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
1770
1778
|
asChild: !0,
|
|
1771
1779
|
ref: n,
|
|
@@ -1776,10 +1784,10 @@ var Pi = F.Root, Fi = F.Trigger, Ii = F.Close, Li = F.Portal, Ri = e.forwardRef(
|
|
|
1776
1784
|
className: q("web:cursor-default absolute inset-0 z-50 bg-black/60 backdrop-blur-md", e)
|
|
1777
1785
|
})
|
|
1778
1786
|
}));
|
|
1779
|
-
|
|
1780
|
-
var
|
|
1787
|
+
Vi.displayName = F.Overlay?.displayName || "SheetOverlay";
|
|
1788
|
+
var Hi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
|
|
1781
1789
|
let s = c.OS === "web", l, u;
|
|
1782
|
-
return s || (n === "bottom" ? (l = ge, u = be) : n === "top" ? (l = ye, u = Ce) : n === "left" ? (l = _e, u = xe) : (l = ve, u = Se)), /* @__PURE__ */ y(
|
|
1790
|
+
return s || (n === "bottom" ? (l = ge, u = be) : n === "top" ? (l = ye, u = Ce) : n === "left" ? (l = _e, u = xe) : (l = ve, u = Se)), /* @__PURE__ */ y(Bi, { children: [/* @__PURE__ */ v(Vi, {
|
|
1783
1791
|
className: r,
|
|
1784
1792
|
style: i
|
|
1785
1793
|
}), /* @__PURE__ */ v(F.Content, {
|
|
@@ -1803,32 +1811,32 @@ var zi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
|
|
|
1803
1811
|
})
|
|
1804
1812
|
})] });
|
|
1805
1813
|
});
|
|
1806
|
-
|
|
1807
|
-
var
|
|
1814
|
+
Hi.displayName = F.Content?.displayName || "SheetContent";
|
|
1815
|
+
var Ui = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
|
|
1808
1816
|
className: q("flex flex-col space-y-2 text-center sm:text-left", e),
|
|
1809
1817
|
...t
|
|
1810
1818
|
});
|
|
1811
|
-
|
|
1812
|
-
var
|
|
1819
|
+
Ui.displayName = "SheetHeader";
|
|
1820
|
+
var Wi = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
|
|
1813
1821
|
className: q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
1814
1822
|
...t
|
|
1815
1823
|
});
|
|
1816
|
-
|
|
1817
|
-
var
|
|
1824
|
+
Wi.displayName = "SheetFooter";
|
|
1825
|
+
var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Title, {
|
|
1818
1826
|
ref: n,
|
|
1819
1827
|
className: q("text-foreground text-lg font-semibold", e),
|
|
1820
1828
|
...t
|
|
1821
1829
|
}));
|
|
1822
|
-
|
|
1823
|
-
var
|
|
1830
|
+
Gi.displayName = F.Title?.displayName || "SheetTitle";
|
|
1831
|
+
var Ki = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Description, {
|
|
1824
1832
|
ref: n,
|
|
1825
1833
|
className: q("text-muted-foreground text-sm", e),
|
|
1826
1834
|
...t
|
|
1827
1835
|
}));
|
|
1828
|
-
|
|
1836
|
+
Ki.displayName = F.Description?.displayName || "SheetDescription";
|
|
1829
1837
|
//#endregion
|
|
1830
1838
|
//#region src/skeleton.tsx
|
|
1831
|
-
function
|
|
1839
|
+
function qi({ className: t, ...n }) {
|
|
1832
1840
|
let r = De(.5);
|
|
1833
1841
|
e.useEffect(() => {
|
|
1834
1842
|
r.value = Oe(ke(Ae(.2, { duration: 500 }), Ae(.5, { duration: 500 })), -1, !0);
|
|
@@ -1842,7 +1850,7 @@ function Wi({ className: t, ...n }) {
|
|
|
1842
1850
|
}
|
|
1843
1851
|
//#endregion
|
|
1844
1852
|
//#region src/slider.tsx
|
|
1845
|
-
var
|
|
1853
|
+
var Ji = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
|
|
1846
1854
|
let l = t === void 0 ? i : t[0];
|
|
1847
1855
|
return /* @__PURE__ */ y(H.Root, {
|
|
1848
1856
|
value: l,
|
|
@@ -1861,10 +1869,10 @@ var Gi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
|
|
|
1861
1869
|
}), /* @__PURE__ */ v(H.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
|
|
1862
1870
|
});
|
|
1863
1871
|
};
|
|
1864
|
-
|
|
1872
|
+
Ji.displayName = "Slider";
|
|
1865
1873
|
//#endregion
|
|
1866
1874
|
//#region src/toast.tsx
|
|
1867
|
-
var
|
|
1875
|
+
var Yi = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Xi = () => null, Zi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ v(U.Root, {
|
|
1868
1876
|
ref: r,
|
|
1869
1877
|
className: q("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
|
|
1870
1878
|
...n,
|
|
@@ -1876,20 +1884,20 @@ var Ki = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), qi = () =>
|
|
|
1876
1884
|
children: n.children
|
|
1877
1885
|
})
|
|
1878
1886
|
}));
|
|
1879
|
-
|
|
1880
|
-
var
|
|
1887
|
+
Zi.displayName = U.Root?.displayName || "Toast";
|
|
1888
|
+
var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Title, {
|
|
1881
1889
|
ref: n,
|
|
1882
1890
|
className: q("text-foreground text-sm font-semibold", e),
|
|
1883
1891
|
...t
|
|
1884
1892
|
}));
|
|
1885
|
-
|
|
1886
|
-
var
|
|
1893
|
+
Qi.displayName = U.Title?.displayName || "ToastTitle";
|
|
1894
|
+
var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Description, {
|
|
1887
1895
|
ref: n,
|
|
1888
1896
|
className: q("text-muted-foreground text-sm opacity-90", e),
|
|
1889
1897
|
...t
|
|
1890
1898
|
}));
|
|
1891
|
-
|
|
1892
|
-
var
|
|
1899
|
+
$i.displayName = U.Description?.displayName || "ToastDescription";
|
|
1900
|
+
var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close, {
|
|
1893
1901
|
ref: n,
|
|
1894
1902
|
className: q("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
|
|
1895
1903
|
...t,
|
|
@@ -1898,117 +1906,88 @@ var Zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close,
|
|
|
1898
1906
|
className: "text-muted-foreground"
|
|
1899
1907
|
})
|
|
1900
1908
|
}));
|
|
1901
|
-
|
|
1902
|
-
var
|
|
1909
|
+
ea.displayName = U.Close?.displayName || "ToastClose";
|
|
1910
|
+
var ta = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Action, {
|
|
1903
1911
|
ref: n,
|
|
1904
1912
|
className: q("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
|
|
1905
1913
|
...t
|
|
1906
1914
|
}));
|
|
1907
|
-
|
|
1915
|
+
ta.displayName = U.Action?.displayName || "ToastAction";
|
|
1908
1916
|
//#endregion
|
|
1909
1917
|
//#region src/sonner.tsx
|
|
1910
|
-
var
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
}) : {
|
|
1920
|
-
width: 44,
|
|
1921
|
-
height: 24,
|
|
1922
|
-
minWidth: 44,
|
|
1923
|
-
minHeight: 24,
|
|
1924
|
-
flexShrink: 0,
|
|
1925
|
-
padding: 2,
|
|
1926
|
-
...d.flatten(r) || {}
|
|
1927
|
-
};
|
|
1928
|
-
return /* @__PURE__ */ v(Ue.Root, {
|
|
1929
|
-
ref: a,
|
|
1930
|
-
checked: o,
|
|
1931
|
-
onCheckedChange: n || (() => {}),
|
|
1932
|
-
className: q("peer focus-visible:ring-ring focus-visible:ring-offset-background inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", o ? "bg-primary data-[state=checked]:bg-primary" : "bg-input data-[state=unchecked]:bg-input", e),
|
|
1933
|
-
style: s,
|
|
1934
|
-
...i,
|
|
1935
|
-
children: /* @__PURE__ */ v(Ue.Thumb, {
|
|
1936
|
-
className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-md transition-transform", o ? "translate-x-5 data-[state=checked]:translate-x-5" : "translate-x-0 data-[state=unchecked]:translate-x-0"),
|
|
1937
|
-
style: {
|
|
1938
|
-
width: 20,
|
|
1939
|
-
height: 20,
|
|
1940
|
-
flexShrink: 0,
|
|
1941
|
-
transform: o ? "translateX(20px)" : "translateX(0px)",
|
|
1942
|
-
marginLeft: o ? 20 : 0
|
|
1943
|
-
}
|
|
1944
|
-
})
|
|
1945
|
-
});
|
|
1946
|
-
});
|
|
1947
|
-
ea.displayName = Ue.Root?.displayName || "Switch";
|
|
1918
|
+
var na = () => /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(Xi, {}) }), ra = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ v(Ue.Root, {
|
|
1919
|
+
ref: i,
|
|
1920
|
+
checked: t ?? !1,
|
|
1921
|
+
onCheckedChange: n || (() => {}),
|
|
1922
|
+
className: q("peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
|
|
1923
|
+
...r,
|
|
1924
|
+
children: /* @__PURE__ */ v(Ue.Thumb, { className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[18px] data-[state=unchecked]:translate-x-0") })
|
|
1925
|
+
}));
|
|
1926
|
+
ra.displayName = Ue.Root.displayName;
|
|
1948
1927
|
//#endregion
|
|
1949
1928
|
//#region src/table.tsx
|
|
1950
|
-
var
|
|
1929
|
+
var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1951
1930
|
ref: n,
|
|
1952
1931
|
className: q("w-full caption-bottom text-sm", e),
|
|
1953
1932
|
...t
|
|
1954
1933
|
}));
|
|
1955
|
-
|
|
1956
|
-
var
|
|
1934
|
+
ia.displayName = "Table";
|
|
1935
|
+
var aa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1957
1936
|
ref: n,
|
|
1958
1937
|
className: q("border-border border-b", e),
|
|
1959
1938
|
...t
|
|
1960
1939
|
}));
|
|
1961
|
-
|
|
1962
|
-
var
|
|
1940
|
+
aa.displayName = "TableHeader";
|
|
1941
|
+
var oa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1963
1942
|
ref: n,
|
|
1964
1943
|
className: q("flex-1", e),
|
|
1965
1944
|
...t
|
|
1966
1945
|
}));
|
|
1967
|
-
|
|
1968
|
-
var
|
|
1946
|
+
oa.displayName = "TableBody";
|
|
1947
|
+
var sa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1969
1948
|
ref: n,
|
|
1970
1949
|
className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1971
1950
|
...t
|
|
1972
1951
|
}));
|
|
1973
|
-
|
|
1974
|
-
var
|
|
1952
|
+
sa.displayName = "TableFooter";
|
|
1953
|
+
var ca = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1975
1954
|
ref: n,
|
|
1976
1955
|
className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
|
|
1977
1956
|
...t
|
|
1978
1957
|
}));
|
|
1979
|
-
|
|
1980
|
-
var
|
|
1958
|
+
ca.displayName = "TableRow";
|
|
1959
|
+
var la = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1981
1960
|
ref: n,
|
|
1982
1961
|
className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
|
|
1983
1962
|
...t
|
|
1984
1963
|
}));
|
|
1985
|
-
|
|
1986
|
-
var
|
|
1964
|
+
la.displayName = "TableHead";
|
|
1965
|
+
var ua = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1987
1966
|
ref: n,
|
|
1988
1967
|
className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1989
1968
|
...t
|
|
1990
1969
|
}));
|
|
1991
|
-
|
|
1992
|
-
var
|
|
1970
|
+
ua.displayName = "TableCell";
|
|
1971
|
+
var da = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1993
1972
|
ref: n,
|
|
1994
1973
|
className: q("text-muted-foreground mt-4 text-sm", e),
|
|
1995
1974
|
...t
|
|
1996
1975
|
}));
|
|
1997
|
-
|
|
1976
|
+
da.displayName = "TableCaption";
|
|
1998
1977
|
//#endregion
|
|
1999
1978
|
//#region src/tabs.tsx
|
|
2000
|
-
var
|
|
1979
|
+
var fa = e.forwardRef((e, t) => /* @__PURE__ */ v(W.Root, {
|
|
2001
1980
|
ref: t,
|
|
2002
1981
|
...e
|
|
2003
1982
|
}));
|
|
2004
|
-
|
|
2005
|
-
var
|
|
1983
|
+
fa.displayName = "Tabs";
|
|
1984
|
+
var pa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
|
|
2006
1985
|
ref: n,
|
|
2007
1986
|
className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
|
|
2008
1987
|
...t
|
|
2009
1988
|
}));
|
|
2010
|
-
|
|
2011
|
-
var
|
|
1989
|
+
pa.displayName = W.List?.displayName || "TabsList";
|
|
1990
|
+
var ma = e.forwardRef(({ className: e, ...t }, n) => {
|
|
2012
1991
|
let { value: r } = W.useRootContext();
|
|
2013
1992
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
2014
1993
|
value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
|
|
@@ -2019,16 +1998,16 @@ var da = e.forwardRef(({ className: e, ...t }, n) => {
|
|
|
2019
1998
|
})
|
|
2020
1999
|
});
|
|
2021
2000
|
});
|
|
2022
|
-
|
|
2023
|
-
var
|
|
2001
|
+
ma.displayName = W.Trigger?.displayName || "TabsTrigger";
|
|
2002
|
+
var ha = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.Content, {
|
|
2024
2003
|
ref: n,
|
|
2025
2004
|
className: q("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
|
|
2026
2005
|
...t
|
|
2027
2006
|
}));
|
|
2028
|
-
|
|
2007
|
+
ha.displayName = W.Content?.displayName || "TabsContent";
|
|
2029
2008
|
//#endregion
|
|
2030
2009
|
//#region src/textarea.tsx
|
|
2031
|
-
var
|
|
2010
|
+
var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
|
|
2032
2011
|
ref: r,
|
|
2033
2012
|
multiline: !0,
|
|
2034
2013
|
numberOfLines: n.numberOfLines || 3,
|
|
@@ -2037,10 +2016,10 @@ var pa = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
|
|
|
2037
2016
|
textAlignVertical: "top",
|
|
2038
2017
|
...n
|
|
2039
2018
|
}));
|
|
2040
|
-
|
|
2019
|
+
ga.displayName = "Textarea";
|
|
2041
2020
|
//#endregion
|
|
2042
2021
|
//#region src/toggle.tsx
|
|
2043
|
-
var
|
|
2022
|
+
var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
|
|
2044
2023
|
value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
|
|
2045
2024
|
children: /* @__PURE__ */ v(Ge.Root, {
|
|
2046
2025
|
ref: i,
|
|
@@ -2054,20 +2033,20 @@ var ma = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
|
|
|
2054
2033
|
onPressedChange: r.onPressedChange || (() => {})
|
|
2055
2034
|
})
|
|
2056
2035
|
}));
|
|
2057
|
-
|
|
2036
|
+
_a.displayName = Ge.Root?.displayName || "Toggle";
|
|
2058
2037
|
//#endregion
|
|
2059
2038
|
//#region src/toggle-group.tsx
|
|
2060
|
-
var
|
|
2039
|
+
var va = e.createContext({
|
|
2061
2040
|
size: "default",
|
|
2062
2041
|
variant: "default"
|
|
2063
|
-
}),
|
|
2042
|
+
}), ya = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ v(Ke.Root, {
|
|
2064
2043
|
ref: c,
|
|
2065
2044
|
type: i,
|
|
2066
2045
|
value: a,
|
|
2067
2046
|
onValueChange: o,
|
|
2068
2047
|
className: q("flex flex-row items-center justify-center gap-1", e),
|
|
2069
2048
|
...s,
|
|
2070
|
-
children: /* @__PURE__ */ v(
|
|
2049
|
+
children: /* @__PURE__ */ v(va.Provider, {
|
|
2071
2050
|
value: {
|
|
2072
2051
|
variant: t,
|
|
2073
2052
|
size: n
|
|
@@ -2075,9 +2054,9 @@ var ha = e.createContext({
|
|
|
2075
2054
|
children: r
|
|
2076
2055
|
})
|
|
2077
2056
|
}));
|
|
2078
|
-
|
|
2079
|
-
var
|
|
2080
|
-
let c = e.useContext(
|
|
2057
|
+
ya.displayName = Ke.Root?.displayName || "ToggleGroup";
|
|
2058
|
+
var ba = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
|
|
2059
|
+
let c = e.useContext(va);
|
|
2081
2060
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
2082
2061
|
value: q("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
|
|
2083
2062
|
children: /* @__PURE__ */ v(Ke.Item, {
|
|
@@ -2092,10 +2071,10 @@ var _a = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
|
|
|
2092
2071
|
})
|
|
2093
2072
|
});
|
|
2094
2073
|
});
|
|
2095
|
-
|
|
2074
|
+
ba.displayName = Ke.Item?.displayName || "ToggleGroupItem";
|
|
2096
2075
|
//#endregion
|
|
2097
2076
|
//#region src/tooltip.tsx
|
|
2098
|
-
var
|
|
2077
|
+
var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
|
|
2099
2078
|
hostName: t,
|
|
2100
2079
|
children: /* @__PURE__ */ v(G.Overlay, {
|
|
2101
2080
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
@@ -2110,42 +2089,42 @@ var va = G.Root, ya = G.Trigger, ba = e.forwardRef(({ className: e, portalHost:
|
|
|
2110
2089
|
})
|
|
2111
2090
|
})
|
|
2112
2091
|
}));
|
|
2113
|
-
|
|
2114
|
-
var
|
|
2092
|
+
Ca.displayName = G.Content?.displayName || "TooltipContent";
|
|
2093
|
+
var wa = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Ta = 5, Ea = 1e6, Da = {
|
|
2115
2094
|
ADD_TOAST: "ADD_TOAST",
|
|
2116
2095
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
2117
2096
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
2118
2097
|
REMOVE_TOAST: "REMOVE_TOAST"
|
|
2119
|
-
},
|
|
2120
|
-
function
|
|
2121
|
-
return
|
|
2098
|
+
}, Oa = 0;
|
|
2099
|
+
function ka() {
|
|
2100
|
+
return Oa = (Oa + 1) % (2 ** 53 - 1), Oa.toString();
|
|
2122
2101
|
}
|
|
2123
|
-
var
|
|
2124
|
-
if (
|
|
2102
|
+
var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
|
|
2103
|
+
if (Aa.has(e)) return;
|
|
2125
2104
|
let t = setTimeout(() => {
|
|
2126
|
-
|
|
2105
|
+
Aa.delete(e), Q({
|
|
2127
2106
|
type: "REMOVE_TOAST",
|
|
2128
2107
|
toastId: e
|
|
2129
2108
|
});
|
|
2130
|
-
},
|
|
2131
|
-
|
|
2132
|
-
},
|
|
2109
|
+
}, Ea);
|
|
2110
|
+
Aa.set(e, t);
|
|
2111
|
+
}, Ma = (e, t) => {
|
|
2133
2112
|
switch (t.type) {
|
|
2134
|
-
case
|
|
2113
|
+
case Da.ADD_TOAST: return {
|
|
2135
2114
|
...e,
|
|
2136
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2115
|
+
toasts: [t.toast, ...e.toasts].slice(0, Ta)
|
|
2137
2116
|
};
|
|
2138
|
-
case
|
|
2117
|
+
case Da.UPDATE_TOAST: return {
|
|
2139
2118
|
...e,
|
|
2140
2119
|
toasts: e.toasts.map((e) => e.id === t.toast.id ? {
|
|
2141
2120
|
...e,
|
|
2142
2121
|
...t.toast
|
|
2143
2122
|
} : e)
|
|
2144
2123
|
};
|
|
2145
|
-
case
|
|
2124
|
+
case Da.DISMISS_TOAST: {
|
|
2146
2125
|
let { toastId: n } = t;
|
|
2147
|
-
return n ?
|
|
2148
|
-
|
|
2126
|
+
return n ? ja(n) : e.toasts.forEach((e) => {
|
|
2127
|
+
ja(e.id);
|
|
2149
2128
|
}), {
|
|
2150
2129
|
...e,
|
|
2151
2130
|
toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
|
|
@@ -2154,7 +2133,7 @@ var Da = /* @__PURE__ */ new Map(), Oa = (e) => {
|
|
|
2154
2133
|
} : e)
|
|
2155
2134
|
};
|
|
2156
2135
|
}
|
|
2157
|
-
case
|
|
2136
|
+
case Da.REMOVE_TOAST: return t.toastId === void 0 ? {
|
|
2158
2137
|
...e,
|
|
2159
2138
|
toasts: []
|
|
2160
2139
|
} : {
|
|
@@ -2162,14 +2141,14 @@ var Da = /* @__PURE__ */ new Map(), Oa = (e) => {
|
|
|
2162
2141
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
2163
2142
|
};
|
|
2164
2143
|
}
|
|
2165
|
-
},
|
|
2144
|
+
}, Na = [], Pa = { toasts: [] };
|
|
2166
2145
|
function Q(e) {
|
|
2167
|
-
|
|
2168
|
-
e(
|
|
2146
|
+
Pa = Ma(Pa, e), Na.forEach((e) => {
|
|
2147
|
+
e(Pa);
|
|
2169
2148
|
});
|
|
2170
2149
|
}
|
|
2171
|
-
function
|
|
2172
|
-
let t =
|
|
2150
|
+
function Fa({ ...e }) {
|
|
2151
|
+
let t = ka(), n = (e) => Q({
|
|
2173
2152
|
type: "UPDATE_TOAST",
|
|
2174
2153
|
toast: {
|
|
2175
2154
|
...e,
|
|
@@ -2195,14 +2174,14 @@ function Ma({ ...e }) {
|
|
|
2195
2174
|
update: n
|
|
2196
2175
|
};
|
|
2197
2176
|
}
|
|
2198
|
-
function
|
|
2199
|
-
let [t, n] = e.useState(
|
|
2200
|
-
return e.useEffect(() => (
|
|
2201
|
-
let e =
|
|
2202
|
-
e > -1 &&
|
|
2177
|
+
function Ia() {
|
|
2178
|
+
let [t, n] = e.useState(Pa);
|
|
2179
|
+
return e.useEffect(() => (Na.push(n), () => {
|
|
2180
|
+
let e = Na.indexOf(n);
|
|
2181
|
+
e > -1 && Na.splice(e, 1);
|
|
2203
2182
|
}), []), {
|
|
2204
2183
|
...t,
|
|
2205
|
-
toast:
|
|
2184
|
+
toast: Fa,
|
|
2206
2185
|
dismiss: (e) => Q({
|
|
2207
2186
|
type: "DISMISS_TOAST",
|
|
2208
2187
|
toastId: e
|
|
@@ -2211,8 +2190,8 @@ function Na() {
|
|
|
2211
2190
|
}
|
|
2212
2191
|
//#endregion
|
|
2213
2192
|
//#region src/theme-provider.tsx
|
|
2214
|
-
var
|
|
2215
|
-
function
|
|
2193
|
+
var La = e.createContext(null);
|
|
2194
|
+
function Ra({ children: t, className: n, style: r, value: a, ...o }) {
|
|
2216
2195
|
let s = g(), c = a || "system", l = c === "system" ? s === "dark" ? "dark" : "light" : c, u = l === "dark" ? qe.dark : qe.light, d = l === "dark";
|
|
2217
2196
|
e.useEffect(() => {
|
|
2218
2197
|
typeof document < "u" && (document.documentElement.classList.toggle("dark", d), document.body && document.body.classList.toggle("dark", d));
|
|
@@ -2229,7 +2208,7 @@ function Fa({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2229
2208
|
l,
|
|
2230
2209
|
u
|
|
2231
2210
|
]);
|
|
2232
|
-
return /* @__PURE__ */ v(
|
|
2211
|
+
return /* @__PURE__ */ v(La.Provider, {
|
|
2233
2212
|
value: f,
|
|
2234
2213
|
children: /* @__PURE__ */ v(h, {
|
|
2235
2214
|
className: q("flex-1", d ? "dark" : "", n),
|
|
@@ -2241,8 +2220,8 @@ function Fa({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2241
2220
|
}
|
|
2242
2221
|
//#endregion
|
|
2243
2222
|
//#region src/hooks/use-theme.ts
|
|
2244
|
-
function
|
|
2245
|
-
let t = e.useContext(
|
|
2223
|
+
function za() {
|
|
2224
|
+
let t = e.useContext(La);
|
|
2246
2225
|
if (t) return t;
|
|
2247
2226
|
let n = g(), r = n;
|
|
2248
2227
|
return {
|
|
@@ -2253,7 +2232,7 @@ function Ia() {
|
|
|
2253
2232
|
}
|
|
2254
2233
|
//#endregion
|
|
2255
2234
|
//#region src/lib/iconWithClassName.ts
|
|
2256
|
-
function
|
|
2235
|
+
function Ba(e) {
|
|
2257
2236
|
Je(e, { className: {
|
|
2258
2237
|
target: "style",
|
|
2259
2238
|
nativeStyleToProp: {
|
|
@@ -2262,9 +2241,9 @@ function La(e) {
|
|
|
2262
2241
|
}
|
|
2263
2242
|
} });
|
|
2264
2243
|
}
|
|
2265
|
-
|
|
2266
|
-
function
|
|
2267
|
-
let { theme: a, resolvedTheme: o, tokens: s } =
|
|
2244
|
+
Ba(ue), Ba(se), Ba(de);
|
|
2245
|
+
function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
|
|
2246
|
+
let { theme: a, resolvedTheme: o, tokens: s } = za(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
|
|
2268
2247
|
t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
|
|
2269
2248
|
}, f = () => /* @__PURE__ */ y(h, {
|
|
2270
2249
|
className: "flex h-6 w-6 items-center justify-center",
|
|
@@ -2333,30 +2312,30 @@ function Ra({ variant: e = "binary", onThemeChange: t, customTheme: n, className
|
|
|
2333
2312
|
}
|
|
2334
2313
|
//#endregion
|
|
2335
2314
|
//#region src/toaster.tsx
|
|
2336
|
-
var
|
|
2337
|
-
let { toasts: e } =
|
|
2338
|
-
return /* @__PURE__ */ v(
|
|
2315
|
+
var Ha = () => {
|
|
2316
|
+
let { toasts: e } = Ia();
|
|
2317
|
+
return /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(h, {
|
|
2339
2318
|
className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
|
|
2340
|
-
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(
|
|
2319
|
+
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(Zi, {
|
|
2341
2320
|
...i,
|
|
2342
2321
|
className: "pointer-events-auto",
|
|
2343
2322
|
children: [
|
|
2344
2323
|
/* @__PURE__ */ y(h, {
|
|
2345
2324
|
className: "flex flex-1 flex-col gap-1",
|
|
2346
|
-
children: [t && /* @__PURE__ */ v(
|
|
2325
|
+
children: [t && /* @__PURE__ */ v(Qi, { children: t }), n && /* @__PURE__ */ v($i, { children: n })]
|
|
2347
2326
|
}),
|
|
2348
2327
|
r,
|
|
2349
|
-
/* @__PURE__ */ v(
|
|
2328
|
+
/* @__PURE__ */ v(ea, {})
|
|
2350
2329
|
]
|
|
2351
2330
|
}, e))
|
|
2352
2331
|
}) });
|
|
2353
|
-
},
|
|
2354
|
-
function
|
|
2355
|
-
let t = e.useContext(
|
|
2332
|
+
}, Ua = e.createContext(void 0);
|
|
2333
|
+
function Wa() {
|
|
2334
|
+
let t = e.useContext(Ua);
|
|
2356
2335
|
if (!t) throw Error("useTOC must be used within a TableOfContents provider");
|
|
2357
2336
|
return t;
|
|
2358
2337
|
}
|
|
2359
|
-
function
|
|
2338
|
+
function Ga({ children: t, activeId: n }) {
|
|
2360
2339
|
let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
|
|
2361
2340
|
let e = n || a;
|
|
2362
2341
|
return r.find((t) => t.id === e)?.text || null;
|
|
@@ -2413,7 +2392,7 @@ function Ha({ children: t, activeId: n }) {
|
|
|
2413
2392
|
d,
|
|
2414
2393
|
f
|
|
2415
2394
|
]);
|
|
2416
|
-
return /* @__PURE__ */ v(
|
|
2395
|
+
return /* @__PURE__ */ v(Ua.Provider, {
|
|
2417
2396
|
value: p,
|
|
2418
2397
|
children: /* @__PURE__ */ v(h, {
|
|
2419
2398
|
className: "flex-1",
|
|
@@ -2421,8 +2400,8 @@ function Ha({ children: t, activeId: n }) {
|
|
|
2421
2400
|
})
|
|
2422
2401
|
});
|
|
2423
2402
|
}
|
|
2424
|
-
function
|
|
2425
|
-
let { registerHeading: a, unregisterHeading: o } =
|
|
2403
|
+
function Ka({ children: t, level: n = 2, id: r, className: i }) {
|
|
2404
|
+
let { registerHeading: a, unregisterHeading: o } = Wa(), s = r || Ye(t), c = e.useCallback((e) => {
|
|
2426
2405
|
let { y: r } = e.nativeEvent.layout;
|
|
2427
2406
|
a(s, t, n, r);
|
|
2428
2407
|
}, [
|
|
@@ -2440,8 +2419,8 @@ function Ua({ children: t, level: n = 2, id: r, className: i }) {
|
|
|
2440
2419
|
})
|
|
2441
2420
|
});
|
|
2442
2421
|
}
|
|
2443
|
-
function
|
|
2444
|
-
let { headings: t, activeId: n, scrollToHeading: r } =
|
|
2422
|
+
function qa({ className: e }) {
|
|
2423
|
+
let { headings: t, activeId: n, scrollToHeading: r } = Wa();
|
|
2445
2424
|
if (t.length === 0) return null;
|
|
2446
2425
|
let i = Math.min(...t.map((e) => e.level));
|
|
2447
2426
|
return /* @__PURE__ */ y(h, {
|
|
@@ -2464,8 +2443,8 @@ function Wa({ className: e }) {
|
|
|
2464
2443
|
})]
|
|
2465
2444
|
});
|
|
2466
2445
|
}
|
|
2467
|
-
function
|
|
2468
|
-
let { scrollViewRef: n, onScroll: r } =
|
|
2446
|
+
function Ja({ children: e, className: t }) {
|
|
2447
|
+
let { scrollViewRef: n, onScroll: r } = Wa();
|
|
2469
2448
|
return /* @__PURE__ */ v(u, {
|
|
2470
2449
|
ref: n,
|
|
2471
2450
|
onScroll: r,
|
|
@@ -2477,69 +2456,69 @@ function Ga({ children: e, className: t }) {
|
|
|
2477
2456
|
children: e
|
|
2478
2457
|
});
|
|
2479
2458
|
}
|
|
2480
|
-
|
|
2459
|
+
Ga.List = qa, Ga.Content = Ja, Ga.Heading = Ka;
|
|
2481
2460
|
//#endregion
|
|
2482
2461
|
//#region src/button-group.tsx
|
|
2483
|
-
function
|
|
2462
|
+
function Ya({ className: e, orientation: t, ...n }) {
|
|
2484
2463
|
return /* @__PURE__ */ v(h, {
|
|
2485
2464
|
className: q("flex flex-row", e),
|
|
2486
2465
|
...n
|
|
2487
2466
|
});
|
|
2488
2467
|
}
|
|
2489
|
-
function
|
|
2468
|
+
function Xa({ className: e, asChild: t, ...n }) {
|
|
2490
2469
|
return /* @__PURE__ */ v(f, {
|
|
2491
2470
|
className: q("text-sm font-medium", e),
|
|
2492
2471
|
...n
|
|
2493
2472
|
});
|
|
2494
2473
|
}
|
|
2495
|
-
function
|
|
2474
|
+
function Za({ className: e, orientation: t, ...n }) {
|
|
2496
2475
|
return /* @__PURE__ */ v(h, {
|
|
2497
2476
|
className: q("bg-border h-full w-px", e),
|
|
2498
2477
|
...n
|
|
2499
2478
|
});
|
|
2500
2479
|
}
|
|
2501
|
-
var
|
|
2480
|
+
var Qa = () => "";
|
|
2502
2481
|
//#endregion
|
|
2503
2482
|
//#region src/direction.tsx
|
|
2504
|
-
function
|
|
2483
|
+
function $a({ children: e }) {
|
|
2505
2484
|
return /* @__PURE__ */ v(_, { children: e });
|
|
2506
2485
|
}
|
|
2507
|
-
function
|
|
2486
|
+
function eo() {
|
|
2508
2487
|
return "ltr";
|
|
2509
2488
|
}
|
|
2510
2489
|
//#endregion
|
|
2511
2490
|
//#region src/empty.tsx
|
|
2512
|
-
function
|
|
2491
|
+
function to({ className: e, ...t }) {
|
|
2513
2492
|
return /* @__PURE__ */ v(h, {
|
|
2514
2493
|
className: q("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
|
|
2515
2494
|
...t
|
|
2516
2495
|
});
|
|
2517
2496
|
}
|
|
2518
|
-
function
|
|
2497
|
+
function no({ className: e, ...t }) {
|
|
2519
2498
|
return /* @__PURE__ */ v(h, {
|
|
2520
2499
|
className: q("flex flex-col items-center gap-2", e),
|
|
2521
2500
|
...t
|
|
2522
2501
|
});
|
|
2523
2502
|
}
|
|
2524
|
-
function
|
|
2503
|
+
function ro({ className: e, variant: t, ...n }) {
|
|
2525
2504
|
return /* @__PURE__ */ v(h, {
|
|
2526
2505
|
className: q("flex items-center justify-center", e),
|
|
2527
2506
|
...n
|
|
2528
2507
|
});
|
|
2529
2508
|
}
|
|
2530
|
-
function
|
|
2509
|
+
function io({ className: e, ...t }) {
|
|
2531
2510
|
return /* @__PURE__ */ v(f, {
|
|
2532
2511
|
className: q("text-foreground text-lg font-semibold", e),
|
|
2533
2512
|
...t
|
|
2534
2513
|
});
|
|
2535
2514
|
}
|
|
2536
|
-
function
|
|
2515
|
+
function ao({ className: e, ...t }) {
|
|
2537
2516
|
return /* @__PURE__ */ v(f, {
|
|
2538
2517
|
className: q("text-muted-foreground text-center text-sm", e),
|
|
2539
2518
|
...t
|
|
2540
2519
|
});
|
|
2541
2520
|
}
|
|
2542
|
-
function
|
|
2521
|
+
function oo({ className: e, ...t }) {
|
|
2543
2522
|
return /* @__PURE__ */ v(h, {
|
|
2544
2523
|
className: q("mt-4 flex flex-col items-center gap-2", e),
|
|
2545
2524
|
...t
|
|
@@ -2547,7 +2526,7 @@ function ro({ className: e, ...t }) {
|
|
|
2547
2526
|
}
|
|
2548
2527
|
//#endregion
|
|
2549
2528
|
//#region src/spinner.tsx
|
|
2550
|
-
function
|
|
2529
|
+
function so({ className: e, ...t }) {
|
|
2551
2530
|
return /* @__PURE__ */ v(n, {
|
|
2552
2531
|
size: "small",
|
|
2553
2532
|
...t
|
|
@@ -2555,25 +2534,25 @@ function io({ className: e, ...t }) {
|
|
|
2555
2534
|
}
|
|
2556
2535
|
//#endregion
|
|
2557
2536
|
//#region src/field.tsx
|
|
2558
|
-
function
|
|
2537
|
+
function co({ className: e, orientation: t, ...n }) {
|
|
2559
2538
|
return /* @__PURE__ */ v(h, {
|
|
2560
2539
|
className: q("flex flex-col gap-2", e),
|
|
2561
2540
|
...n
|
|
2562
2541
|
});
|
|
2563
2542
|
}
|
|
2564
|
-
function
|
|
2543
|
+
function lo({ className: e, ...t }) {
|
|
2565
2544
|
return /* @__PURE__ */ v(h, {
|
|
2566
2545
|
className: q("flex flex-col", e),
|
|
2567
2546
|
...t
|
|
2568
2547
|
});
|
|
2569
2548
|
}
|
|
2570
|
-
function
|
|
2549
|
+
function uo({ className: e, ...t }) {
|
|
2571
2550
|
return /* @__PURE__ */ v(f, {
|
|
2572
2551
|
className: q("text-muted-foreground text-sm", e),
|
|
2573
2552
|
...t
|
|
2574
2553
|
});
|
|
2575
2554
|
}
|
|
2576
|
-
function
|
|
2555
|
+
function fo({ className: e, errors: t, children: n, ...r }) {
|
|
2577
2556
|
let i = n || t && t[0]?.message;
|
|
2578
2557
|
return i ? /* @__PURE__ */ v(f, {
|
|
2579
2558
|
className: q("text-destructive text-sm", e),
|
|
@@ -2581,25 +2560,25 @@ function co({ className: e, errors: t, children: n, ...r }) {
|
|
|
2581
2560
|
children: i
|
|
2582
2561
|
}) : null;
|
|
2583
2562
|
}
|
|
2584
|
-
function
|
|
2563
|
+
function po({ className: e, ...t }) {
|
|
2585
2564
|
return /* @__PURE__ */ v(h, {
|
|
2586
2565
|
className: q("flex flex-col gap-4", e),
|
|
2587
2566
|
...t
|
|
2588
2567
|
});
|
|
2589
2568
|
}
|
|
2590
|
-
function
|
|
2569
|
+
function mo({ className: e, ...t }) {
|
|
2591
2570
|
return /* @__PURE__ */ v(f, {
|
|
2592
2571
|
className: q("text-sm font-medium", e),
|
|
2593
2572
|
...t
|
|
2594
2573
|
});
|
|
2595
2574
|
}
|
|
2596
|
-
function
|
|
2575
|
+
function ho({ className: e, variant: t, ...n }) {
|
|
2597
2576
|
return /* @__PURE__ */ v(f, {
|
|
2598
2577
|
className: q("font-medium", t === "label" ? "text-sm" : "text-base", e),
|
|
2599
2578
|
...n
|
|
2600
2579
|
});
|
|
2601
2580
|
}
|
|
2602
|
-
function
|
|
2581
|
+
function go({ className: e, children: t, ...n }) {
|
|
2603
2582
|
return /* @__PURE__ */ v(h, {
|
|
2604
2583
|
className: q("bg-border my-2 h-px", e),
|
|
2605
2584
|
...n,
|
|
@@ -2609,13 +2588,13 @@ function po({ className: e, children: t, ...n }) {
|
|
|
2609
2588
|
}) : null
|
|
2610
2589
|
});
|
|
2611
2590
|
}
|
|
2612
|
-
function
|
|
2591
|
+
function _o({ className: e, ...t }) {
|
|
2613
2592
|
return /* @__PURE__ */ v(h, {
|
|
2614
2593
|
className: q("flex flex-col gap-4", e),
|
|
2615
2594
|
...t
|
|
2616
2595
|
});
|
|
2617
2596
|
}
|
|
2618
|
-
function
|
|
2597
|
+
function vo({ className: e, ...t }) {
|
|
2619
2598
|
return /* @__PURE__ */ v(f, {
|
|
2620
2599
|
className: q("text-sm font-medium", e),
|
|
2621
2600
|
...t
|
|
@@ -2623,19 +2602,19 @@ function ho({ className: e, ...t }) {
|
|
|
2623
2602
|
}
|
|
2624
2603
|
//#endregion
|
|
2625
2604
|
//#region src/input-group.tsx
|
|
2626
|
-
function
|
|
2605
|
+
function yo({ className: e, ...t }) {
|
|
2627
2606
|
return /* @__PURE__ */ v(h, {
|
|
2628
2607
|
className: q("border-input flex flex-row items-center rounded-md border", e),
|
|
2629
2608
|
...t
|
|
2630
2609
|
});
|
|
2631
2610
|
}
|
|
2632
|
-
function
|
|
2611
|
+
function bo({ className: e, align: t, ...n }) {
|
|
2633
2612
|
return /* @__PURE__ */ v(h, {
|
|
2634
2613
|
className: q("p-2", e),
|
|
2635
2614
|
...n
|
|
2636
2615
|
});
|
|
2637
2616
|
}
|
|
2638
|
-
function
|
|
2617
|
+
function xo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
2639
2618
|
return /* @__PURE__ */ v(J, {
|
|
2640
2619
|
variant: n,
|
|
2641
2620
|
size: r,
|
|
@@ -2643,19 +2622,19 @@ function vo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
|
2643
2622
|
...i
|
|
2644
2623
|
});
|
|
2645
2624
|
}
|
|
2646
|
-
function
|
|
2625
|
+
function So({ className: e, ...t }) {
|
|
2647
2626
|
return /* @__PURE__ */ v(f, {
|
|
2648
2627
|
className: q("text-muted-foreground text-sm", e),
|
|
2649
2628
|
...t
|
|
2650
2629
|
});
|
|
2651
2630
|
}
|
|
2652
|
-
function
|
|
2631
|
+
function Co({ className: e, ...t }) {
|
|
2653
2632
|
return /* @__PURE__ */ v(p, {
|
|
2654
2633
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
2655
2634
|
...t
|
|
2656
2635
|
});
|
|
2657
2636
|
}
|
|
2658
|
-
function
|
|
2637
|
+
function wo({ className: e, ...t }) {
|
|
2659
2638
|
return /* @__PURE__ */ v(p, {
|
|
2660
2639
|
multiline: !0,
|
|
2661
2640
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
@@ -2664,7 +2643,7 @@ function xo({ className: e, ...t }) {
|
|
|
2664
2643
|
}
|
|
2665
2644
|
//#endregion
|
|
2666
2645
|
//#region src/native-select.tsx
|
|
2667
|
-
function
|
|
2646
|
+
function To({ className: e, size: t, ...n }) {
|
|
2668
2647
|
return /* @__PURE__ */ v(h, {
|
|
2669
2648
|
className: q("border-input rounded-md border p-2", e),
|
|
2670
2649
|
...n,
|
|
@@ -2674,13 +2653,13 @@ function So({ className: e, size: t, ...n }) {
|
|
|
2674
2653
|
})
|
|
2675
2654
|
});
|
|
2676
2655
|
}
|
|
2677
|
-
function
|
|
2656
|
+
function Eo({ className: e, ...t }) {
|
|
2678
2657
|
return /* @__PURE__ */ v(h, {
|
|
2679
2658
|
className: e,
|
|
2680
2659
|
...t
|
|
2681
2660
|
});
|
|
2682
2661
|
}
|
|
2683
|
-
function
|
|
2662
|
+
function Do({ className: e, ...t }) {
|
|
2684
2663
|
return /* @__PURE__ */ v(h, {
|
|
2685
2664
|
className: e,
|
|
2686
2665
|
...t
|
|
@@ -2688,13 +2667,13 @@ function wo({ className: e, ...t }) {
|
|
|
2688
2667
|
}
|
|
2689
2668
|
//#endregion
|
|
2690
2669
|
//#region src/kbd.tsx
|
|
2691
|
-
function
|
|
2670
|
+
function Oo({ className: e, ...t }) {
|
|
2692
2671
|
return /* @__PURE__ */ v(f, {
|
|
2693
2672
|
className: q("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
|
|
2694
2673
|
...t
|
|
2695
2674
|
});
|
|
2696
2675
|
}
|
|
2697
|
-
function
|
|
2676
|
+
function ko({ className: e, ...t }) {
|
|
2698
2677
|
return /* @__PURE__ */ v(h, {
|
|
2699
2678
|
className: q("flex flex-row items-center gap-1", e),
|
|
2700
2679
|
...t
|
|
@@ -2702,62 +2681,62 @@ function Eo({ className: e, ...t }) {
|
|
|
2702
2681
|
}
|
|
2703
2682
|
//#endregion
|
|
2704
2683
|
//#region src/item.tsx
|
|
2705
|
-
function
|
|
2684
|
+
function Ao({ className: e, variant: t, size: n, ...r }) {
|
|
2706
2685
|
return /* @__PURE__ */ v(h, {
|
|
2707
2686
|
className: q("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
|
|
2708
2687
|
...r
|
|
2709
2688
|
});
|
|
2710
2689
|
}
|
|
2711
|
-
function
|
|
2690
|
+
function jo({ className: e, ...t }) {
|
|
2712
2691
|
return /* @__PURE__ */ v(h, {
|
|
2713
2692
|
className: q("flex flex-row items-center gap-2", e),
|
|
2714
2693
|
...t
|
|
2715
2694
|
});
|
|
2716
2695
|
}
|
|
2717
|
-
function
|
|
2696
|
+
function Mo({ className: e, ...t }) {
|
|
2718
2697
|
return /* @__PURE__ */ v(h, {
|
|
2719
2698
|
className: q("flex flex-1 flex-col gap-1", e),
|
|
2720
2699
|
...t
|
|
2721
2700
|
});
|
|
2722
2701
|
}
|
|
2723
|
-
function
|
|
2702
|
+
function No({ className: e, ...t }) {
|
|
2724
2703
|
return /* @__PURE__ */ v(Y, {
|
|
2725
2704
|
variant: "bodySmall",
|
|
2726
2705
|
className: q("text-muted-foreground", e),
|
|
2727
2706
|
...t
|
|
2728
2707
|
});
|
|
2729
2708
|
}
|
|
2730
|
-
function
|
|
2709
|
+
function Po({ className: e, ...t }) {
|
|
2731
2710
|
return /* @__PURE__ */ v(h, {
|
|
2732
2711
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2733
2712
|
...t
|
|
2734
2713
|
});
|
|
2735
2714
|
}
|
|
2736
|
-
function
|
|
2715
|
+
function Fo({ className: e, ...t }) {
|
|
2737
2716
|
return /* @__PURE__ */ v(h, {
|
|
2738
2717
|
className: q("flex flex-col gap-4", e),
|
|
2739
2718
|
...t
|
|
2740
2719
|
});
|
|
2741
2720
|
}
|
|
2742
|
-
function
|
|
2721
|
+
function Io({ className: e, ...t }) {
|
|
2743
2722
|
return /* @__PURE__ */ v(h, {
|
|
2744
2723
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2745
2724
|
...t
|
|
2746
2725
|
});
|
|
2747
2726
|
}
|
|
2748
|
-
function
|
|
2727
|
+
function Lo({ className: e, variant: t, ...n }) {
|
|
2749
2728
|
return /* @__PURE__ */ v(h, {
|
|
2750
2729
|
className: q("flex shrink-0 items-center justify-center gap-2", e),
|
|
2751
2730
|
...n
|
|
2752
2731
|
});
|
|
2753
2732
|
}
|
|
2754
|
-
function
|
|
2733
|
+
function Ro({ className: e, orientation: t, ...n }) {
|
|
2755
2734
|
return /* @__PURE__ */ v(h, {
|
|
2756
2735
|
className: q("bg-border my-2 h-px w-full", e),
|
|
2757
2736
|
...n
|
|
2758
2737
|
});
|
|
2759
2738
|
}
|
|
2760
|
-
function
|
|
2739
|
+
function zo({ className: e, ...t }) {
|
|
2761
2740
|
return /* @__PURE__ */ v(Y, {
|
|
2762
2741
|
variant: "bodySmall",
|
|
2763
2742
|
className: q("font-medium", e),
|
|
@@ -2766,15 +2745,15 @@ function Io({ className: e, ...t }) {
|
|
|
2766
2745
|
}
|
|
2767
2746
|
//#endregion
|
|
2768
2747
|
//#region src/combobox.tsx
|
|
2769
|
-
var
|
|
2748
|
+
var Bo = e.createContext(null);
|
|
2770
2749
|
function $() {
|
|
2771
|
-
let t = e.useContext(
|
|
2750
|
+
let t = e.useContext(Bo);
|
|
2772
2751
|
if (!t) throw Error("Combobox components must be rendered within a Combobox provider");
|
|
2773
2752
|
return t;
|
|
2774
2753
|
}
|
|
2775
|
-
function
|
|
2754
|
+
function Vo({ className: t, value: n, onValueChange: r, ...i }) {
|
|
2776
2755
|
let [a, o] = e.useState(!1), [s, c] = e.useState(n || ""), [l, u] = e.useState(""), d = n === void 0 ? s : n;
|
|
2777
|
-
return /* @__PURE__ */ v(
|
|
2756
|
+
return /* @__PURE__ */ v(Bo.Provider, {
|
|
2778
2757
|
value: {
|
|
2779
2758
|
open: a,
|
|
2780
2759
|
setOpen: o,
|
|
@@ -2795,7 +2774,7 @@ function Ro({ className: t, value: n, onValueChange: r, ...i }) {
|
|
|
2795
2774
|
})
|
|
2796
2775
|
});
|
|
2797
2776
|
}
|
|
2798
|
-
function
|
|
2777
|
+
function Ho({ className: e, children: t, ...n }) {
|
|
2799
2778
|
let { value: r } = $();
|
|
2800
2779
|
return /* @__PURE__ */ v(h, {
|
|
2801
2780
|
className: e,
|
|
@@ -2806,7 +2785,7 @@ function zo({ className: e, children: t, ...n }) {
|
|
|
2806
2785
|
})
|
|
2807
2786
|
});
|
|
2808
2787
|
}
|
|
2809
|
-
function
|
|
2788
|
+
function Uo({ className: e, children: t, ...n }) {
|
|
2810
2789
|
return /* @__PURE__ */ v(jn, {
|
|
2811
2790
|
asChild: !0,
|
|
2812
2791
|
children: /* @__PURE__ */ y(l, {
|
|
@@ -2822,7 +2801,7 @@ function Bo({ className: e, children: t, ...n }) {
|
|
|
2822
2801
|
})
|
|
2823
2802
|
});
|
|
2824
2803
|
}
|
|
2825
|
-
function
|
|
2804
|
+
function Wo({ className: e, children: t, ...n }) {
|
|
2826
2805
|
let { setValue: r } = $();
|
|
2827
2806
|
return /* @__PURE__ */ v(l, {
|
|
2828
2807
|
className: q("flex items-center justify-center p-1", e),
|
|
@@ -2834,7 +2813,7 @@ function Vo({ className: e, children: t, ...n }) {
|
|
|
2834
2813
|
})
|
|
2835
2814
|
});
|
|
2836
2815
|
}
|
|
2837
|
-
function
|
|
2816
|
+
function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Search...", ...i }) {
|
|
2838
2817
|
let { searchQuery: a, setSearchQuery: o } = $();
|
|
2839
2818
|
return /* @__PURE__ */ v(h, {
|
|
2840
2819
|
className: "border-border flex flex-row items-center border-b px-3",
|
|
@@ -2849,7 +2828,7 @@ function Ho({ className: e, showClear: t, showTrigger: n, placeholder: r = "Sear
|
|
|
2849
2828
|
})
|
|
2850
2829
|
});
|
|
2851
2830
|
}
|
|
2852
|
-
function
|
|
2831
|
+
function Ko({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
|
|
2853
2832
|
return /* @__PURE__ */ v(Fn, {
|
|
2854
2833
|
className: "p-0",
|
|
2855
2834
|
children: /* @__PURE__ */ v(h, {
|
|
@@ -2858,13 +2837,13 @@ function Uo({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, an
|
|
|
2858
2837
|
})
|
|
2859
2838
|
});
|
|
2860
2839
|
}
|
|
2861
|
-
function
|
|
2840
|
+
function qo({ className: e, ...t }) {
|
|
2862
2841
|
return /* @__PURE__ */ v(h, {
|
|
2863
2842
|
className: q("max-h-[300px] overflow-hidden", e),
|
|
2864
2843
|
...t
|
|
2865
2844
|
});
|
|
2866
2845
|
}
|
|
2867
|
-
function
|
|
2846
|
+
function Jo({ className: t, children: n, value: r, ...i }) {
|
|
2868
2847
|
let { value: a, setValue: o, searchQuery: s } = $(), c = e.Children.toArray(n).join("").toLowerCase();
|
|
2869
2848
|
if (s && !c.includes(s.toLowerCase()) && !r.toLowerCase().includes(s.toLowerCase())) return null;
|
|
2870
2849
|
let u = a === r;
|
|
@@ -2884,25 +2863,25 @@ function Go({ className: t, children: n, value: r, ...i }) {
|
|
|
2884
2863
|
})]
|
|
2885
2864
|
});
|
|
2886
2865
|
}
|
|
2887
|
-
function
|
|
2866
|
+
function Yo({ className: e, ...t }) {
|
|
2888
2867
|
return /* @__PURE__ */ v(h, {
|
|
2889
2868
|
className: q("text-foreground overflow-hidden p-1", e),
|
|
2890
2869
|
...t
|
|
2891
2870
|
});
|
|
2892
2871
|
}
|
|
2893
|
-
function
|
|
2872
|
+
function Xo({ className: e, ...t }) {
|
|
2894
2873
|
return /* @__PURE__ */ v(h, {
|
|
2895
2874
|
className: q("text-muted-foreground px-2 py-1.5 text-xs font-semibold", e),
|
|
2896
2875
|
...t
|
|
2897
2876
|
});
|
|
2898
2877
|
}
|
|
2899
|
-
function
|
|
2878
|
+
function Zo({ className: e, ...t }) {
|
|
2900
2879
|
return /* @__PURE__ */ v(h, {
|
|
2901
2880
|
className: e,
|
|
2902
2881
|
...t
|
|
2903
2882
|
});
|
|
2904
2883
|
}
|
|
2905
|
-
function
|
|
2884
|
+
function Qo({ className: e, children: t, ...n }) {
|
|
2906
2885
|
let { searchQuery: r } = $();
|
|
2907
2886
|
return r ? /* @__PURE__ */ v(h, {
|
|
2908
2887
|
className: q("py-6 text-center text-sm", e),
|
|
@@ -2913,19 +2892,19 @@ function Yo({ className: e, children: t, ...n }) {
|
|
|
2913
2892
|
})
|
|
2914
2893
|
}) : null;
|
|
2915
2894
|
}
|
|
2916
|
-
function
|
|
2895
|
+
function $o({ className: e, ...t }) {
|
|
2917
2896
|
return /* @__PURE__ */ v(h, {
|
|
2918
2897
|
className: q("bg-muted -mx-1 h-px", e),
|
|
2919
2898
|
...t
|
|
2920
2899
|
});
|
|
2921
2900
|
}
|
|
2922
|
-
function
|
|
2901
|
+
function es({ className: e, ...t }) {
|
|
2923
2902
|
return /* @__PURE__ */ v(h, {
|
|
2924
2903
|
className: q("flex flex-row flex-wrap gap-1", e),
|
|
2925
2904
|
...t
|
|
2926
2905
|
});
|
|
2927
2906
|
}
|
|
2928
|
-
function
|
|
2907
|
+
function ts({ className: e, showRemove: t, children: n, ...r }) {
|
|
2929
2908
|
return /* @__PURE__ */ y(h, {
|
|
2930
2909
|
className: q("bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1", e),
|
|
2931
2910
|
...r,
|
|
@@ -2935,18 +2914,18 @@ function Qo({ className: e, showRemove: t, children: n, ...r }) {
|
|
|
2935
2914
|
})]
|
|
2936
2915
|
});
|
|
2937
2916
|
}
|
|
2938
|
-
function
|
|
2917
|
+
function ns({ className: e, ...t }) {
|
|
2939
2918
|
return /* @__PURE__ */ v(p, {
|
|
2940
2919
|
className: q("flex-1 bg-transparent px-2 py-1 outline-none", e),
|
|
2941
2920
|
...t
|
|
2942
2921
|
});
|
|
2943
2922
|
}
|
|
2944
|
-
function
|
|
2923
|
+
function rs() {
|
|
2945
2924
|
return e.useRef(null);
|
|
2946
2925
|
}
|
|
2947
2926
|
//#endregion
|
|
2948
2927
|
//#region src/input-otp.tsx
|
|
2949
|
-
function
|
|
2928
|
+
function is({ className: e, containerClassName: t, ...n }) {
|
|
2950
2929
|
return /* @__PURE__ */ v(h, {
|
|
2951
2930
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", t, e),
|
|
2952
2931
|
...n,
|
|
@@ -2956,19 +2935,19 @@ function ts({ className: e, containerClassName: t, ...n }) {
|
|
|
2956
2935
|
})
|
|
2957
2936
|
});
|
|
2958
2937
|
}
|
|
2959
|
-
function
|
|
2938
|
+
function as({ className: e, ...t }) {
|
|
2960
2939
|
return /* @__PURE__ */ v(h, {
|
|
2961
2940
|
className: e,
|
|
2962
2941
|
...t
|
|
2963
2942
|
});
|
|
2964
2943
|
}
|
|
2965
|
-
function
|
|
2944
|
+
function os({ className: e, index: t, ...n }) {
|
|
2966
2945
|
return /* @__PURE__ */ v(h, {
|
|
2967
2946
|
className: e,
|
|
2968
2947
|
...n
|
|
2969
2948
|
});
|
|
2970
2949
|
}
|
|
2971
|
-
function
|
|
2950
|
+
function ss({ className: e, ...t }) {
|
|
2972
2951
|
return /* @__PURE__ */ v(h, {
|
|
2973
2952
|
className: e,
|
|
2974
2953
|
...t
|
|
@@ -2976,13 +2955,13 @@ function is({ className: e, ...t }) {
|
|
|
2976
2955
|
}
|
|
2977
2956
|
//#endregion
|
|
2978
2957
|
//#region src/sidebar.tsx
|
|
2979
|
-
function
|
|
2958
|
+
function cs({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
|
|
2980
2959
|
return /* @__PURE__ */ v(h, {
|
|
2981
2960
|
className: e,
|
|
2982
2961
|
...i
|
|
2983
2962
|
});
|
|
2984
2963
|
}
|
|
2985
|
-
function
|
|
2964
|
+
function ls({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
2986
2965
|
return /* @__PURE__ */ v(h, {
|
|
2987
2966
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", e),
|
|
2988
2967
|
...i,
|
|
@@ -2992,133 +2971,133 @@ function os({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
|
2992
2971
|
})
|
|
2993
2972
|
});
|
|
2994
2973
|
}
|
|
2995
|
-
function
|
|
2974
|
+
function us({ className: e, ...t }) {
|
|
2996
2975
|
return /* @__PURE__ */ v(l, {
|
|
2997
2976
|
className: e,
|
|
2998
2977
|
...t
|
|
2999
2978
|
});
|
|
3000
2979
|
}
|
|
3001
|
-
function
|
|
2980
|
+
function ds({ className: e, ...t }) {
|
|
3002
2981
|
return /* @__PURE__ */ v(h, {
|
|
3003
2982
|
className: e,
|
|
3004
2983
|
...t
|
|
3005
2984
|
});
|
|
3006
2985
|
}
|
|
3007
|
-
function
|
|
2986
|
+
function fs({ className: e, ...t }) {
|
|
3008
2987
|
return /* @__PURE__ */ v(h, {
|
|
3009
2988
|
className: e,
|
|
3010
2989
|
...t
|
|
3011
2990
|
});
|
|
3012
2991
|
}
|
|
3013
|
-
function
|
|
2992
|
+
function ps({ className: e, ...t }) {
|
|
3014
2993
|
return /* @__PURE__ */ v(h, {
|
|
3015
2994
|
className: e,
|
|
3016
2995
|
...t
|
|
3017
2996
|
});
|
|
3018
2997
|
}
|
|
3019
|
-
function
|
|
2998
|
+
function ms({ className: e, ...t }) {
|
|
3020
2999
|
return /* @__PURE__ */ v(h, {
|
|
3021
3000
|
className: e,
|
|
3022
3001
|
...t
|
|
3023
3002
|
});
|
|
3024
3003
|
}
|
|
3025
|
-
function
|
|
3004
|
+
function hs({ className: e, ...t }) {
|
|
3026
3005
|
return /* @__PURE__ */ v(h, {
|
|
3027
3006
|
className: e,
|
|
3028
3007
|
...t
|
|
3029
3008
|
});
|
|
3030
3009
|
}
|
|
3031
|
-
function
|
|
3010
|
+
function gs({ className: e, ...t }) {
|
|
3032
3011
|
return /* @__PURE__ */ v(h, {
|
|
3033
3012
|
className: e,
|
|
3034
3013
|
...t
|
|
3035
3014
|
});
|
|
3036
3015
|
}
|
|
3037
|
-
function
|
|
3016
|
+
function _s({ className: e, ...t }) {
|
|
3038
3017
|
return /* @__PURE__ */ v(h, {
|
|
3039
3018
|
className: e,
|
|
3040
3019
|
...t
|
|
3041
3020
|
});
|
|
3042
3021
|
}
|
|
3043
|
-
function
|
|
3022
|
+
function vs({ className: e, ...t }) {
|
|
3044
3023
|
return /* @__PURE__ */ v(h, {
|
|
3045
3024
|
className: e,
|
|
3046
3025
|
...t
|
|
3047
3026
|
});
|
|
3048
3027
|
}
|
|
3049
|
-
function
|
|
3028
|
+
function ys({ className: e, asChild: t, ...n }) {
|
|
3050
3029
|
return /* @__PURE__ */ v(h, {
|
|
3051
3030
|
className: e,
|
|
3052
3031
|
...n
|
|
3053
3032
|
});
|
|
3054
3033
|
}
|
|
3055
|
-
function
|
|
3034
|
+
function bs({ className: e, asChild: t, ...n }) {
|
|
3056
3035
|
return /* @__PURE__ */ v(l, {
|
|
3057
3036
|
className: e,
|
|
3058
3037
|
...n
|
|
3059
3038
|
});
|
|
3060
3039
|
}
|
|
3061
|
-
function
|
|
3040
|
+
function xs({ className: e, ...t }) {
|
|
3062
3041
|
return /* @__PURE__ */ v(h, {
|
|
3063
3042
|
className: e,
|
|
3064
3043
|
...t
|
|
3065
3044
|
});
|
|
3066
3045
|
}
|
|
3067
|
-
function
|
|
3046
|
+
function Ss({ className: e, ...t }) {
|
|
3068
3047
|
return /* @__PURE__ */ v(h, {
|
|
3069
3048
|
className: e,
|
|
3070
3049
|
...t
|
|
3071
3050
|
});
|
|
3072
3051
|
}
|
|
3073
|
-
function
|
|
3052
|
+
function Cs({ className: e, ...t }) {
|
|
3074
3053
|
return /* @__PURE__ */ v(h, {
|
|
3075
3054
|
className: e,
|
|
3076
3055
|
...t
|
|
3077
3056
|
});
|
|
3078
3057
|
}
|
|
3079
|
-
function
|
|
3058
|
+
function ws({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
|
|
3080
3059
|
return /* @__PURE__ */ v(l, {
|
|
3081
3060
|
className: e,
|
|
3082
3061
|
...o
|
|
3083
3062
|
});
|
|
3084
3063
|
}
|
|
3085
|
-
function
|
|
3064
|
+
function Ts({ className: e, asChild: t, showOnHover: n, ...r }) {
|
|
3086
3065
|
return /* @__PURE__ */ v(l, {
|
|
3087
3066
|
className: e,
|
|
3088
3067
|
...r
|
|
3089
3068
|
});
|
|
3090
3069
|
}
|
|
3091
|
-
function
|
|
3070
|
+
function Es({ className: e, ...t }) {
|
|
3092
3071
|
return /* @__PURE__ */ v(h, {
|
|
3093
3072
|
className: e,
|
|
3094
3073
|
...t
|
|
3095
3074
|
});
|
|
3096
3075
|
}
|
|
3097
|
-
function
|
|
3076
|
+
function Ds({ className: e, showIcon: t, ...n }) {
|
|
3098
3077
|
return /* @__PURE__ */ v(h, {
|
|
3099
3078
|
className: e,
|
|
3100
3079
|
...n
|
|
3101
3080
|
});
|
|
3102
3081
|
}
|
|
3103
|
-
function
|
|
3082
|
+
function Os({ className: e, ...t }) {
|
|
3104
3083
|
return /* @__PURE__ */ v(h, {
|
|
3105
3084
|
className: e,
|
|
3106
3085
|
...t
|
|
3107
3086
|
});
|
|
3108
3087
|
}
|
|
3109
|
-
function
|
|
3088
|
+
function ks({ className: e, ...t }) {
|
|
3110
3089
|
return /* @__PURE__ */ v(h, {
|
|
3111
3090
|
className: e,
|
|
3112
3091
|
...t
|
|
3113
3092
|
});
|
|
3114
3093
|
}
|
|
3115
|
-
function
|
|
3094
|
+
function As({ className: e, asChild: t, size: n, isActive: r, ...i }) {
|
|
3116
3095
|
return /* @__PURE__ */ v(l, {
|
|
3117
3096
|
className: e,
|
|
3118
3097
|
...i
|
|
3119
3098
|
});
|
|
3120
3099
|
}
|
|
3121
|
-
function
|
|
3100
|
+
function js() {
|
|
3122
3101
|
return {
|
|
3123
3102
|
state: "expanded",
|
|
3124
3103
|
open: !0,
|
|
@@ -3130,4 +3109,4 @@ function Os() {
|
|
|
3130
3109
|
};
|
|
3131
3110
|
}
|
|
3132
3111
|
//#endregion
|
|
3133
|
-
export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, J as Button,
|
|
3112
|
+
export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, J as Button, Ya as ButtonGroup, Za as ButtonGroupSeparator, Xa as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Vo as Combobox, ts as ComboboxChip, es as ComboboxChips, ns as ComboboxChipsInput, Wo as ComboboxClear, Zo as ComboboxCollection, Ko as ComboboxContent, Qo as ComboboxEmpty, Yo as ComboboxGroup, Go as ComboboxInput, Jo as ComboboxItem, Xo as ComboboxLabel, qo as ComboboxList, $o as ComboboxSeparator, Uo as ComboboxTrigger, Ho as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, $a as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, to as Empty, oo as EmptyContent, ao as EmptyDescription, no as EmptyHeader, ro as EmptyMedia, io as EmptyTitle, co as Field, lo as FieldContent, uo as FieldDescription, fo as FieldError, po as FieldGroup, mo as FieldLabel, ho as FieldLegend, go as FieldSeparator, _o as FieldSet, vo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, yo as InputGroup, bo as InputGroupAddon, xo as InputGroupButton, Co as InputGroupInput, So as InputGroupText, wo as InputGroupTextarea, is as InputOTP, as as InputOTPGroup, ss as InputOTPSeparator, os as InputOTPSlot, Ao as Item, jo as ItemActions, Mo as ItemContent, No as ItemDescription, Po as ItemFooter, Fo as ItemGroup, Io as ItemHeader, Lo as ItemMedia, Ro as ItemSeparator, zo as ItemTitle, Oo as Kbd, ko as KbdGroup, dr as Label, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, To as NativeSelect, Do as NativeSelectOptGroup, Eo as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Oi as ScrollToTop, gi as Search, vi as Select, wi as SelectContent, yi as SelectGroup, Ei as SelectItem, Ti as SelectLabel, Ci as SelectScrollDownButton, Si as SelectScrollUpButton, Di as SelectSeparator, xi as SelectTrigger, bi as SelectValue, Ii as Separator, Li as Sheet, zi as SheetClose, Hi as SheetContent, Ki as SheetDescription, Wi as SheetFooter, Ui as SheetHeader, Vi as SheetOverlay, Bi as SheetPortal, Gi as SheetTitle, Ri as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Ts as SidebarMenuAction, Es as SidebarMenuBadge, ws as SidebarMenuButton, Cs as SidebarMenuItem, Ds as SidebarMenuSkeleton, Os as SidebarMenuSub, As as SidebarMenuSubButton, ks as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, qi as Skeleton, Ji as Slider, na as Sonner, so as Spinner, Fi as SupportFab, ra as Switch, ia as Table, oa as TableBody, da as TableCaption, ua as TableCell, sa as TableFooter, la as TableHead, aa as TableHeader, Ga as TableOfContents, Ja as TableOfContentsContent, Ka as TableOfContentsHeading, qa as TableOfContentsList, ca as TableRow, fa as Tabs, ha as TabsContent, pa as TabsList, ma as TabsTrigger, Y as Text, ga as Textarea, Ra as ThemeProvider, Va as ThemeToggle, Zi as Toast, Ha as Toaster, _a as Toggle, ya as ToggleGroup, ba as ToggleGroupItem, xa as Tooltip, Ca as TooltipContent, wa as TooltipProvider, Sa as TooltipTrigger, St as badgeVariants, Qa as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Fa as toast, We as toggleVariants, rs as useComboboxAnchor, eo as useDirection, Z as useFormField, js as useSidebar, za as useTheme, Ia as useToast, K as wrapTextChildren };
|