@gv-tech/ui-native 2.27.2 → 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 -249
- package/package.json +1 -1
- package/src/support-fab.tsx +25 -3
- package/src/switch.tsx +20 -32
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,111 +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
|
-
height: 24,
|
|
1920
|
-
minWidth: 44,
|
|
1921
|
-
minHeight: 24,
|
|
1922
|
-
flexShrink: 0
|
|
1923
|
-
}, r(e)] : [{
|
|
1924
|
-
width: 44,
|
|
1925
|
-
height: 24,
|
|
1926
|
-
minWidth: 44,
|
|
1927
|
-
minHeight: 24,
|
|
1928
|
-
flexShrink: 0
|
|
1929
|
-
}, r],
|
|
1930
|
-
...i,
|
|
1931
|
-
children: /* @__PURE__ */ v(Ue.Thumb, {
|
|
1932
|
-
className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform", o ? "translate-x-5" : "translate-x-0"),
|
|
1933
|
-
style: {
|
|
1934
|
-
width: 20,
|
|
1935
|
-
height: 20,
|
|
1936
|
-
flexShrink: 0
|
|
1937
|
-
}
|
|
1938
|
-
})
|
|
1939
|
-
});
|
|
1940
|
-
});
|
|
1941
|
-
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;
|
|
1942
1927
|
//#endregion
|
|
1943
1928
|
//#region src/table.tsx
|
|
1944
|
-
var
|
|
1929
|
+
var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1945
1930
|
ref: n,
|
|
1946
1931
|
className: q("w-full caption-bottom text-sm", e),
|
|
1947
1932
|
...t
|
|
1948
1933
|
}));
|
|
1949
|
-
|
|
1950
|
-
var
|
|
1934
|
+
ia.displayName = "Table";
|
|
1935
|
+
var aa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1951
1936
|
ref: n,
|
|
1952
1937
|
className: q("border-border border-b", e),
|
|
1953
1938
|
...t
|
|
1954
1939
|
}));
|
|
1955
|
-
|
|
1956
|
-
var
|
|
1940
|
+
aa.displayName = "TableHeader";
|
|
1941
|
+
var oa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1957
1942
|
ref: n,
|
|
1958
1943
|
className: q("flex-1", e),
|
|
1959
1944
|
...t
|
|
1960
1945
|
}));
|
|
1961
|
-
|
|
1962
|
-
var
|
|
1946
|
+
oa.displayName = "TableBody";
|
|
1947
|
+
var sa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1963
1948
|
ref: n,
|
|
1964
1949
|
className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1965
1950
|
...t
|
|
1966
1951
|
}));
|
|
1967
|
-
|
|
1968
|
-
var
|
|
1952
|
+
sa.displayName = "TableFooter";
|
|
1953
|
+
var ca = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1969
1954
|
ref: n,
|
|
1970
1955
|
className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
|
|
1971
1956
|
...t
|
|
1972
1957
|
}));
|
|
1973
|
-
|
|
1974
|
-
var
|
|
1958
|
+
ca.displayName = "TableRow";
|
|
1959
|
+
var la = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1975
1960
|
ref: n,
|
|
1976
1961
|
className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
|
|
1977
1962
|
...t
|
|
1978
1963
|
}));
|
|
1979
|
-
|
|
1980
|
-
var
|
|
1964
|
+
la.displayName = "TableHead";
|
|
1965
|
+
var ua = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1981
1966
|
ref: n,
|
|
1982
1967
|
className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1983
1968
|
...t
|
|
1984
1969
|
}));
|
|
1985
|
-
|
|
1986
|
-
var
|
|
1970
|
+
ua.displayName = "TableCell";
|
|
1971
|
+
var da = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1987
1972
|
ref: n,
|
|
1988
1973
|
className: q("text-muted-foreground mt-4 text-sm", e),
|
|
1989
1974
|
...t
|
|
1990
1975
|
}));
|
|
1991
|
-
|
|
1976
|
+
da.displayName = "TableCaption";
|
|
1992
1977
|
//#endregion
|
|
1993
1978
|
//#region src/tabs.tsx
|
|
1994
|
-
var
|
|
1979
|
+
var fa = e.forwardRef((e, t) => /* @__PURE__ */ v(W.Root, {
|
|
1995
1980
|
ref: t,
|
|
1996
1981
|
...e
|
|
1997
1982
|
}));
|
|
1998
|
-
|
|
1999
|
-
var
|
|
1983
|
+
fa.displayName = "Tabs";
|
|
1984
|
+
var pa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
|
|
2000
1985
|
ref: n,
|
|
2001
1986
|
className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
|
|
2002
1987
|
...t
|
|
2003
1988
|
}));
|
|
2004
|
-
|
|
2005
|
-
var
|
|
1989
|
+
pa.displayName = W.List?.displayName || "TabsList";
|
|
1990
|
+
var ma = e.forwardRef(({ className: e, ...t }, n) => {
|
|
2006
1991
|
let { value: r } = W.useRootContext();
|
|
2007
1992
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
2008
1993
|
value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
|
|
@@ -2013,16 +1998,16 @@ var da = e.forwardRef(({ className: e, ...t }, n) => {
|
|
|
2013
1998
|
})
|
|
2014
1999
|
});
|
|
2015
2000
|
});
|
|
2016
|
-
|
|
2017
|
-
var
|
|
2001
|
+
ma.displayName = W.Trigger?.displayName || "TabsTrigger";
|
|
2002
|
+
var ha = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.Content, {
|
|
2018
2003
|
ref: n,
|
|
2019
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),
|
|
2020
2005
|
...t
|
|
2021
2006
|
}));
|
|
2022
|
-
|
|
2007
|
+
ha.displayName = W.Content?.displayName || "TabsContent";
|
|
2023
2008
|
//#endregion
|
|
2024
2009
|
//#region src/textarea.tsx
|
|
2025
|
-
var
|
|
2010
|
+
var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
|
|
2026
2011
|
ref: r,
|
|
2027
2012
|
multiline: !0,
|
|
2028
2013
|
numberOfLines: n.numberOfLines || 3,
|
|
@@ -2031,10 +2016,10 @@ var pa = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
|
|
|
2031
2016
|
textAlignVertical: "top",
|
|
2032
2017
|
...n
|
|
2033
2018
|
}));
|
|
2034
|
-
|
|
2019
|
+
ga.displayName = "Textarea";
|
|
2035
2020
|
//#endregion
|
|
2036
2021
|
//#region src/toggle.tsx
|
|
2037
|
-
var
|
|
2022
|
+
var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
|
|
2038
2023
|
value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
|
|
2039
2024
|
children: /* @__PURE__ */ v(Ge.Root, {
|
|
2040
2025
|
ref: i,
|
|
@@ -2048,20 +2033,20 @@ var ma = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
|
|
|
2048
2033
|
onPressedChange: r.onPressedChange || (() => {})
|
|
2049
2034
|
})
|
|
2050
2035
|
}));
|
|
2051
|
-
|
|
2036
|
+
_a.displayName = Ge.Root?.displayName || "Toggle";
|
|
2052
2037
|
//#endregion
|
|
2053
2038
|
//#region src/toggle-group.tsx
|
|
2054
|
-
var
|
|
2039
|
+
var va = e.createContext({
|
|
2055
2040
|
size: "default",
|
|
2056
2041
|
variant: "default"
|
|
2057
|
-
}),
|
|
2042
|
+
}), ya = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ v(Ke.Root, {
|
|
2058
2043
|
ref: c,
|
|
2059
2044
|
type: i,
|
|
2060
2045
|
value: a,
|
|
2061
2046
|
onValueChange: o,
|
|
2062
2047
|
className: q("flex flex-row items-center justify-center gap-1", e),
|
|
2063
2048
|
...s,
|
|
2064
|
-
children: /* @__PURE__ */ v(
|
|
2049
|
+
children: /* @__PURE__ */ v(va.Provider, {
|
|
2065
2050
|
value: {
|
|
2066
2051
|
variant: t,
|
|
2067
2052
|
size: n
|
|
@@ -2069,9 +2054,9 @@ var ha = e.createContext({
|
|
|
2069
2054
|
children: r
|
|
2070
2055
|
})
|
|
2071
2056
|
}));
|
|
2072
|
-
|
|
2073
|
-
var
|
|
2074
|
-
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);
|
|
2075
2060
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
2076
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),
|
|
2077
2062
|
children: /* @__PURE__ */ v(Ke.Item, {
|
|
@@ -2086,10 +2071,10 @@ var _a = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
|
|
|
2086
2071
|
})
|
|
2087
2072
|
});
|
|
2088
2073
|
});
|
|
2089
|
-
|
|
2074
|
+
ba.displayName = Ke.Item?.displayName || "ToggleGroupItem";
|
|
2090
2075
|
//#endregion
|
|
2091
2076
|
//#region src/tooltip.tsx
|
|
2092
|
-
var
|
|
2077
|
+
var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
|
|
2093
2078
|
hostName: t,
|
|
2094
2079
|
children: /* @__PURE__ */ v(G.Overlay, {
|
|
2095
2080
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
@@ -2104,42 +2089,42 @@ var va = G.Root, ya = G.Trigger, ba = e.forwardRef(({ className: e, portalHost:
|
|
|
2104
2089
|
})
|
|
2105
2090
|
})
|
|
2106
2091
|
}));
|
|
2107
|
-
|
|
2108
|
-
var
|
|
2092
|
+
Ca.displayName = G.Content?.displayName || "TooltipContent";
|
|
2093
|
+
var wa = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Ta = 5, Ea = 1e6, Da = {
|
|
2109
2094
|
ADD_TOAST: "ADD_TOAST",
|
|
2110
2095
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
2111
2096
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
2112
2097
|
REMOVE_TOAST: "REMOVE_TOAST"
|
|
2113
|
-
},
|
|
2114
|
-
function
|
|
2115
|
-
return
|
|
2098
|
+
}, Oa = 0;
|
|
2099
|
+
function ka() {
|
|
2100
|
+
return Oa = (Oa + 1) % (2 ** 53 - 1), Oa.toString();
|
|
2116
2101
|
}
|
|
2117
|
-
var
|
|
2118
|
-
if (
|
|
2102
|
+
var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
|
|
2103
|
+
if (Aa.has(e)) return;
|
|
2119
2104
|
let t = setTimeout(() => {
|
|
2120
|
-
|
|
2105
|
+
Aa.delete(e), Q({
|
|
2121
2106
|
type: "REMOVE_TOAST",
|
|
2122
2107
|
toastId: e
|
|
2123
2108
|
});
|
|
2124
|
-
},
|
|
2125
|
-
|
|
2126
|
-
},
|
|
2109
|
+
}, Ea);
|
|
2110
|
+
Aa.set(e, t);
|
|
2111
|
+
}, Ma = (e, t) => {
|
|
2127
2112
|
switch (t.type) {
|
|
2128
|
-
case
|
|
2113
|
+
case Da.ADD_TOAST: return {
|
|
2129
2114
|
...e,
|
|
2130
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2115
|
+
toasts: [t.toast, ...e.toasts].slice(0, Ta)
|
|
2131
2116
|
};
|
|
2132
|
-
case
|
|
2117
|
+
case Da.UPDATE_TOAST: return {
|
|
2133
2118
|
...e,
|
|
2134
2119
|
toasts: e.toasts.map((e) => e.id === t.toast.id ? {
|
|
2135
2120
|
...e,
|
|
2136
2121
|
...t.toast
|
|
2137
2122
|
} : e)
|
|
2138
2123
|
};
|
|
2139
|
-
case
|
|
2124
|
+
case Da.DISMISS_TOAST: {
|
|
2140
2125
|
let { toastId: n } = t;
|
|
2141
|
-
return n ?
|
|
2142
|
-
|
|
2126
|
+
return n ? ja(n) : e.toasts.forEach((e) => {
|
|
2127
|
+
ja(e.id);
|
|
2143
2128
|
}), {
|
|
2144
2129
|
...e,
|
|
2145
2130
|
toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
|
|
@@ -2148,7 +2133,7 @@ var Da = /* @__PURE__ */ new Map(), Oa = (e) => {
|
|
|
2148
2133
|
} : e)
|
|
2149
2134
|
};
|
|
2150
2135
|
}
|
|
2151
|
-
case
|
|
2136
|
+
case Da.REMOVE_TOAST: return t.toastId === void 0 ? {
|
|
2152
2137
|
...e,
|
|
2153
2138
|
toasts: []
|
|
2154
2139
|
} : {
|
|
@@ -2156,14 +2141,14 @@ var Da = /* @__PURE__ */ new Map(), Oa = (e) => {
|
|
|
2156
2141
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
2157
2142
|
};
|
|
2158
2143
|
}
|
|
2159
|
-
},
|
|
2144
|
+
}, Na = [], Pa = { toasts: [] };
|
|
2160
2145
|
function Q(e) {
|
|
2161
|
-
|
|
2162
|
-
e(
|
|
2146
|
+
Pa = Ma(Pa, e), Na.forEach((e) => {
|
|
2147
|
+
e(Pa);
|
|
2163
2148
|
});
|
|
2164
2149
|
}
|
|
2165
|
-
function
|
|
2166
|
-
let t =
|
|
2150
|
+
function Fa({ ...e }) {
|
|
2151
|
+
let t = ka(), n = (e) => Q({
|
|
2167
2152
|
type: "UPDATE_TOAST",
|
|
2168
2153
|
toast: {
|
|
2169
2154
|
...e,
|
|
@@ -2189,14 +2174,14 @@ function Ma({ ...e }) {
|
|
|
2189
2174
|
update: n
|
|
2190
2175
|
};
|
|
2191
2176
|
}
|
|
2192
|
-
function
|
|
2193
|
-
let [t, n] = e.useState(
|
|
2194
|
-
return e.useEffect(() => (
|
|
2195
|
-
let e =
|
|
2196
|
-
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);
|
|
2197
2182
|
}), []), {
|
|
2198
2183
|
...t,
|
|
2199
|
-
toast:
|
|
2184
|
+
toast: Fa,
|
|
2200
2185
|
dismiss: (e) => Q({
|
|
2201
2186
|
type: "DISMISS_TOAST",
|
|
2202
2187
|
toastId: e
|
|
@@ -2205,8 +2190,8 @@ function Na() {
|
|
|
2205
2190
|
}
|
|
2206
2191
|
//#endregion
|
|
2207
2192
|
//#region src/theme-provider.tsx
|
|
2208
|
-
var
|
|
2209
|
-
function
|
|
2193
|
+
var La = e.createContext(null);
|
|
2194
|
+
function Ra({ children: t, className: n, style: r, value: a, ...o }) {
|
|
2210
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";
|
|
2211
2196
|
e.useEffect(() => {
|
|
2212
2197
|
typeof document < "u" && (document.documentElement.classList.toggle("dark", d), document.body && document.body.classList.toggle("dark", d));
|
|
@@ -2223,7 +2208,7 @@ function Fa({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2223
2208
|
l,
|
|
2224
2209
|
u
|
|
2225
2210
|
]);
|
|
2226
|
-
return /* @__PURE__ */ v(
|
|
2211
|
+
return /* @__PURE__ */ v(La.Provider, {
|
|
2227
2212
|
value: f,
|
|
2228
2213
|
children: /* @__PURE__ */ v(h, {
|
|
2229
2214
|
className: q("flex-1", d ? "dark" : "", n),
|
|
@@ -2235,8 +2220,8 @@ function Fa({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2235
2220
|
}
|
|
2236
2221
|
//#endregion
|
|
2237
2222
|
//#region src/hooks/use-theme.ts
|
|
2238
|
-
function
|
|
2239
|
-
let t = e.useContext(
|
|
2223
|
+
function za() {
|
|
2224
|
+
let t = e.useContext(La);
|
|
2240
2225
|
if (t) return t;
|
|
2241
2226
|
let n = g(), r = n;
|
|
2242
2227
|
return {
|
|
@@ -2247,7 +2232,7 @@ function Ia() {
|
|
|
2247
2232
|
}
|
|
2248
2233
|
//#endregion
|
|
2249
2234
|
//#region src/lib/iconWithClassName.ts
|
|
2250
|
-
function
|
|
2235
|
+
function Ba(e) {
|
|
2251
2236
|
Je(e, { className: {
|
|
2252
2237
|
target: "style",
|
|
2253
2238
|
nativeStyleToProp: {
|
|
@@ -2256,9 +2241,9 @@ function La(e) {
|
|
|
2256
2241
|
}
|
|
2257
2242
|
} });
|
|
2258
2243
|
}
|
|
2259
|
-
|
|
2260
|
-
function
|
|
2261
|
-
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) => {
|
|
2262
2247
|
t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
|
|
2263
2248
|
}, f = () => /* @__PURE__ */ y(h, {
|
|
2264
2249
|
className: "flex h-6 w-6 items-center justify-center",
|
|
@@ -2327,30 +2312,30 @@ function Ra({ variant: e = "binary", onThemeChange: t, customTheme: n, className
|
|
|
2327
2312
|
}
|
|
2328
2313
|
//#endregion
|
|
2329
2314
|
//#region src/toaster.tsx
|
|
2330
|
-
var
|
|
2331
|
-
let { toasts: e } =
|
|
2332
|
-
return /* @__PURE__ */ v(
|
|
2315
|
+
var Ha = () => {
|
|
2316
|
+
let { toasts: e } = Ia();
|
|
2317
|
+
return /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(h, {
|
|
2333
2318
|
className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
|
|
2334
|
-
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, {
|
|
2335
2320
|
...i,
|
|
2336
2321
|
className: "pointer-events-auto",
|
|
2337
2322
|
children: [
|
|
2338
2323
|
/* @__PURE__ */ y(h, {
|
|
2339
2324
|
className: "flex flex-1 flex-col gap-1",
|
|
2340
|
-
children: [t && /* @__PURE__ */ v(
|
|
2325
|
+
children: [t && /* @__PURE__ */ v(Qi, { children: t }), n && /* @__PURE__ */ v($i, { children: n })]
|
|
2341
2326
|
}),
|
|
2342
2327
|
r,
|
|
2343
|
-
/* @__PURE__ */ v(
|
|
2328
|
+
/* @__PURE__ */ v(ea, {})
|
|
2344
2329
|
]
|
|
2345
2330
|
}, e))
|
|
2346
2331
|
}) });
|
|
2347
|
-
},
|
|
2348
|
-
function
|
|
2349
|
-
let t = e.useContext(
|
|
2332
|
+
}, Ua = e.createContext(void 0);
|
|
2333
|
+
function Wa() {
|
|
2334
|
+
let t = e.useContext(Ua);
|
|
2350
2335
|
if (!t) throw Error("useTOC must be used within a TableOfContents provider");
|
|
2351
2336
|
return t;
|
|
2352
2337
|
}
|
|
2353
|
-
function
|
|
2338
|
+
function Ga({ children: t, activeId: n }) {
|
|
2354
2339
|
let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
|
|
2355
2340
|
let e = n || a;
|
|
2356
2341
|
return r.find((t) => t.id === e)?.text || null;
|
|
@@ -2407,7 +2392,7 @@ function Ha({ children: t, activeId: n }) {
|
|
|
2407
2392
|
d,
|
|
2408
2393
|
f
|
|
2409
2394
|
]);
|
|
2410
|
-
return /* @__PURE__ */ v(
|
|
2395
|
+
return /* @__PURE__ */ v(Ua.Provider, {
|
|
2411
2396
|
value: p,
|
|
2412
2397
|
children: /* @__PURE__ */ v(h, {
|
|
2413
2398
|
className: "flex-1",
|
|
@@ -2415,8 +2400,8 @@ function Ha({ children: t, activeId: n }) {
|
|
|
2415
2400
|
})
|
|
2416
2401
|
});
|
|
2417
2402
|
}
|
|
2418
|
-
function
|
|
2419
|
-
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) => {
|
|
2420
2405
|
let { y: r } = e.nativeEvent.layout;
|
|
2421
2406
|
a(s, t, n, r);
|
|
2422
2407
|
}, [
|
|
@@ -2434,8 +2419,8 @@ function Ua({ children: t, level: n = 2, id: r, className: i }) {
|
|
|
2434
2419
|
})
|
|
2435
2420
|
});
|
|
2436
2421
|
}
|
|
2437
|
-
function
|
|
2438
|
-
let { headings: t, activeId: n, scrollToHeading: r } =
|
|
2422
|
+
function qa({ className: e }) {
|
|
2423
|
+
let { headings: t, activeId: n, scrollToHeading: r } = Wa();
|
|
2439
2424
|
if (t.length === 0) return null;
|
|
2440
2425
|
let i = Math.min(...t.map((e) => e.level));
|
|
2441
2426
|
return /* @__PURE__ */ y(h, {
|
|
@@ -2458,8 +2443,8 @@ function Wa({ className: e }) {
|
|
|
2458
2443
|
})]
|
|
2459
2444
|
});
|
|
2460
2445
|
}
|
|
2461
|
-
function
|
|
2462
|
-
let { scrollViewRef: n, onScroll: r } =
|
|
2446
|
+
function Ja({ children: e, className: t }) {
|
|
2447
|
+
let { scrollViewRef: n, onScroll: r } = Wa();
|
|
2463
2448
|
return /* @__PURE__ */ v(u, {
|
|
2464
2449
|
ref: n,
|
|
2465
2450
|
onScroll: r,
|
|
@@ -2471,69 +2456,69 @@ function Ga({ children: e, className: t }) {
|
|
|
2471
2456
|
children: e
|
|
2472
2457
|
});
|
|
2473
2458
|
}
|
|
2474
|
-
|
|
2459
|
+
Ga.List = qa, Ga.Content = Ja, Ga.Heading = Ka;
|
|
2475
2460
|
//#endregion
|
|
2476
2461
|
//#region src/button-group.tsx
|
|
2477
|
-
function
|
|
2462
|
+
function Ya({ className: e, orientation: t, ...n }) {
|
|
2478
2463
|
return /* @__PURE__ */ v(h, {
|
|
2479
2464
|
className: q("flex flex-row", e),
|
|
2480
2465
|
...n
|
|
2481
2466
|
});
|
|
2482
2467
|
}
|
|
2483
|
-
function
|
|
2468
|
+
function Xa({ className: e, asChild: t, ...n }) {
|
|
2484
2469
|
return /* @__PURE__ */ v(f, {
|
|
2485
2470
|
className: q("text-sm font-medium", e),
|
|
2486
2471
|
...n
|
|
2487
2472
|
});
|
|
2488
2473
|
}
|
|
2489
|
-
function
|
|
2474
|
+
function Za({ className: e, orientation: t, ...n }) {
|
|
2490
2475
|
return /* @__PURE__ */ v(h, {
|
|
2491
2476
|
className: q("bg-border h-full w-px", e),
|
|
2492
2477
|
...n
|
|
2493
2478
|
});
|
|
2494
2479
|
}
|
|
2495
|
-
var
|
|
2480
|
+
var Qa = () => "";
|
|
2496
2481
|
//#endregion
|
|
2497
2482
|
//#region src/direction.tsx
|
|
2498
|
-
function
|
|
2483
|
+
function $a({ children: e }) {
|
|
2499
2484
|
return /* @__PURE__ */ v(_, { children: e });
|
|
2500
2485
|
}
|
|
2501
|
-
function
|
|
2486
|
+
function eo() {
|
|
2502
2487
|
return "ltr";
|
|
2503
2488
|
}
|
|
2504
2489
|
//#endregion
|
|
2505
2490
|
//#region src/empty.tsx
|
|
2506
|
-
function
|
|
2491
|
+
function to({ className: e, ...t }) {
|
|
2507
2492
|
return /* @__PURE__ */ v(h, {
|
|
2508
2493
|
className: q("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
|
|
2509
2494
|
...t
|
|
2510
2495
|
});
|
|
2511
2496
|
}
|
|
2512
|
-
function
|
|
2497
|
+
function no({ className: e, ...t }) {
|
|
2513
2498
|
return /* @__PURE__ */ v(h, {
|
|
2514
2499
|
className: q("flex flex-col items-center gap-2", e),
|
|
2515
2500
|
...t
|
|
2516
2501
|
});
|
|
2517
2502
|
}
|
|
2518
|
-
function
|
|
2503
|
+
function ro({ className: e, variant: t, ...n }) {
|
|
2519
2504
|
return /* @__PURE__ */ v(h, {
|
|
2520
2505
|
className: q("flex items-center justify-center", e),
|
|
2521
2506
|
...n
|
|
2522
2507
|
});
|
|
2523
2508
|
}
|
|
2524
|
-
function
|
|
2509
|
+
function io({ className: e, ...t }) {
|
|
2525
2510
|
return /* @__PURE__ */ v(f, {
|
|
2526
2511
|
className: q("text-foreground text-lg font-semibold", e),
|
|
2527
2512
|
...t
|
|
2528
2513
|
});
|
|
2529
2514
|
}
|
|
2530
|
-
function
|
|
2515
|
+
function ao({ className: e, ...t }) {
|
|
2531
2516
|
return /* @__PURE__ */ v(f, {
|
|
2532
2517
|
className: q("text-muted-foreground text-center text-sm", e),
|
|
2533
2518
|
...t
|
|
2534
2519
|
});
|
|
2535
2520
|
}
|
|
2536
|
-
function
|
|
2521
|
+
function oo({ className: e, ...t }) {
|
|
2537
2522
|
return /* @__PURE__ */ v(h, {
|
|
2538
2523
|
className: q("mt-4 flex flex-col items-center gap-2", e),
|
|
2539
2524
|
...t
|
|
@@ -2541,7 +2526,7 @@ function ro({ className: e, ...t }) {
|
|
|
2541
2526
|
}
|
|
2542
2527
|
//#endregion
|
|
2543
2528
|
//#region src/spinner.tsx
|
|
2544
|
-
function
|
|
2529
|
+
function so({ className: e, ...t }) {
|
|
2545
2530
|
return /* @__PURE__ */ v(n, {
|
|
2546
2531
|
size: "small",
|
|
2547
2532
|
...t
|
|
@@ -2549,25 +2534,25 @@ function io({ className: e, ...t }) {
|
|
|
2549
2534
|
}
|
|
2550
2535
|
//#endregion
|
|
2551
2536
|
//#region src/field.tsx
|
|
2552
|
-
function
|
|
2537
|
+
function co({ className: e, orientation: t, ...n }) {
|
|
2553
2538
|
return /* @__PURE__ */ v(h, {
|
|
2554
2539
|
className: q("flex flex-col gap-2", e),
|
|
2555
2540
|
...n
|
|
2556
2541
|
});
|
|
2557
2542
|
}
|
|
2558
|
-
function
|
|
2543
|
+
function lo({ className: e, ...t }) {
|
|
2559
2544
|
return /* @__PURE__ */ v(h, {
|
|
2560
2545
|
className: q("flex flex-col", e),
|
|
2561
2546
|
...t
|
|
2562
2547
|
});
|
|
2563
2548
|
}
|
|
2564
|
-
function
|
|
2549
|
+
function uo({ className: e, ...t }) {
|
|
2565
2550
|
return /* @__PURE__ */ v(f, {
|
|
2566
2551
|
className: q("text-muted-foreground text-sm", e),
|
|
2567
2552
|
...t
|
|
2568
2553
|
});
|
|
2569
2554
|
}
|
|
2570
|
-
function
|
|
2555
|
+
function fo({ className: e, errors: t, children: n, ...r }) {
|
|
2571
2556
|
let i = n || t && t[0]?.message;
|
|
2572
2557
|
return i ? /* @__PURE__ */ v(f, {
|
|
2573
2558
|
className: q("text-destructive text-sm", e),
|
|
@@ -2575,25 +2560,25 @@ function co({ className: e, errors: t, children: n, ...r }) {
|
|
|
2575
2560
|
children: i
|
|
2576
2561
|
}) : null;
|
|
2577
2562
|
}
|
|
2578
|
-
function
|
|
2563
|
+
function po({ className: e, ...t }) {
|
|
2579
2564
|
return /* @__PURE__ */ v(h, {
|
|
2580
2565
|
className: q("flex flex-col gap-4", e),
|
|
2581
2566
|
...t
|
|
2582
2567
|
});
|
|
2583
2568
|
}
|
|
2584
|
-
function
|
|
2569
|
+
function mo({ className: e, ...t }) {
|
|
2585
2570
|
return /* @__PURE__ */ v(f, {
|
|
2586
2571
|
className: q("text-sm font-medium", e),
|
|
2587
2572
|
...t
|
|
2588
2573
|
});
|
|
2589
2574
|
}
|
|
2590
|
-
function
|
|
2575
|
+
function ho({ className: e, variant: t, ...n }) {
|
|
2591
2576
|
return /* @__PURE__ */ v(f, {
|
|
2592
2577
|
className: q("font-medium", t === "label" ? "text-sm" : "text-base", e),
|
|
2593
2578
|
...n
|
|
2594
2579
|
});
|
|
2595
2580
|
}
|
|
2596
|
-
function
|
|
2581
|
+
function go({ className: e, children: t, ...n }) {
|
|
2597
2582
|
return /* @__PURE__ */ v(h, {
|
|
2598
2583
|
className: q("bg-border my-2 h-px", e),
|
|
2599
2584
|
...n,
|
|
@@ -2603,13 +2588,13 @@ function po({ className: e, children: t, ...n }) {
|
|
|
2603
2588
|
}) : null
|
|
2604
2589
|
});
|
|
2605
2590
|
}
|
|
2606
|
-
function
|
|
2591
|
+
function _o({ className: e, ...t }) {
|
|
2607
2592
|
return /* @__PURE__ */ v(h, {
|
|
2608
2593
|
className: q("flex flex-col gap-4", e),
|
|
2609
2594
|
...t
|
|
2610
2595
|
});
|
|
2611
2596
|
}
|
|
2612
|
-
function
|
|
2597
|
+
function vo({ className: e, ...t }) {
|
|
2613
2598
|
return /* @__PURE__ */ v(f, {
|
|
2614
2599
|
className: q("text-sm font-medium", e),
|
|
2615
2600
|
...t
|
|
@@ -2617,19 +2602,19 @@ function ho({ className: e, ...t }) {
|
|
|
2617
2602
|
}
|
|
2618
2603
|
//#endregion
|
|
2619
2604
|
//#region src/input-group.tsx
|
|
2620
|
-
function
|
|
2605
|
+
function yo({ className: e, ...t }) {
|
|
2621
2606
|
return /* @__PURE__ */ v(h, {
|
|
2622
2607
|
className: q("border-input flex flex-row items-center rounded-md border", e),
|
|
2623
2608
|
...t
|
|
2624
2609
|
});
|
|
2625
2610
|
}
|
|
2626
|
-
function
|
|
2611
|
+
function bo({ className: e, align: t, ...n }) {
|
|
2627
2612
|
return /* @__PURE__ */ v(h, {
|
|
2628
2613
|
className: q("p-2", e),
|
|
2629
2614
|
...n
|
|
2630
2615
|
});
|
|
2631
2616
|
}
|
|
2632
|
-
function
|
|
2617
|
+
function xo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
2633
2618
|
return /* @__PURE__ */ v(J, {
|
|
2634
2619
|
variant: n,
|
|
2635
2620
|
size: r,
|
|
@@ -2637,19 +2622,19 @@ function vo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
|
2637
2622
|
...i
|
|
2638
2623
|
});
|
|
2639
2624
|
}
|
|
2640
|
-
function
|
|
2625
|
+
function So({ className: e, ...t }) {
|
|
2641
2626
|
return /* @__PURE__ */ v(f, {
|
|
2642
2627
|
className: q("text-muted-foreground text-sm", e),
|
|
2643
2628
|
...t
|
|
2644
2629
|
});
|
|
2645
2630
|
}
|
|
2646
|
-
function
|
|
2631
|
+
function Co({ className: e, ...t }) {
|
|
2647
2632
|
return /* @__PURE__ */ v(p, {
|
|
2648
2633
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
2649
2634
|
...t
|
|
2650
2635
|
});
|
|
2651
2636
|
}
|
|
2652
|
-
function
|
|
2637
|
+
function wo({ className: e, ...t }) {
|
|
2653
2638
|
return /* @__PURE__ */ v(p, {
|
|
2654
2639
|
multiline: !0,
|
|
2655
2640
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
@@ -2658,7 +2643,7 @@ function xo({ className: e, ...t }) {
|
|
|
2658
2643
|
}
|
|
2659
2644
|
//#endregion
|
|
2660
2645
|
//#region src/native-select.tsx
|
|
2661
|
-
function
|
|
2646
|
+
function To({ className: e, size: t, ...n }) {
|
|
2662
2647
|
return /* @__PURE__ */ v(h, {
|
|
2663
2648
|
className: q("border-input rounded-md border p-2", e),
|
|
2664
2649
|
...n,
|
|
@@ -2668,13 +2653,13 @@ function So({ className: e, size: t, ...n }) {
|
|
|
2668
2653
|
})
|
|
2669
2654
|
});
|
|
2670
2655
|
}
|
|
2671
|
-
function
|
|
2656
|
+
function Eo({ className: e, ...t }) {
|
|
2672
2657
|
return /* @__PURE__ */ v(h, {
|
|
2673
2658
|
className: e,
|
|
2674
2659
|
...t
|
|
2675
2660
|
});
|
|
2676
2661
|
}
|
|
2677
|
-
function
|
|
2662
|
+
function Do({ className: e, ...t }) {
|
|
2678
2663
|
return /* @__PURE__ */ v(h, {
|
|
2679
2664
|
className: e,
|
|
2680
2665
|
...t
|
|
@@ -2682,13 +2667,13 @@ function wo({ className: e, ...t }) {
|
|
|
2682
2667
|
}
|
|
2683
2668
|
//#endregion
|
|
2684
2669
|
//#region src/kbd.tsx
|
|
2685
|
-
function
|
|
2670
|
+
function Oo({ className: e, ...t }) {
|
|
2686
2671
|
return /* @__PURE__ */ v(f, {
|
|
2687
2672
|
className: q("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
|
|
2688
2673
|
...t
|
|
2689
2674
|
});
|
|
2690
2675
|
}
|
|
2691
|
-
function
|
|
2676
|
+
function ko({ className: e, ...t }) {
|
|
2692
2677
|
return /* @__PURE__ */ v(h, {
|
|
2693
2678
|
className: q("flex flex-row items-center gap-1", e),
|
|
2694
2679
|
...t
|
|
@@ -2696,62 +2681,62 @@ function Eo({ className: e, ...t }) {
|
|
|
2696
2681
|
}
|
|
2697
2682
|
//#endregion
|
|
2698
2683
|
//#region src/item.tsx
|
|
2699
|
-
function
|
|
2684
|
+
function Ao({ className: e, variant: t, size: n, ...r }) {
|
|
2700
2685
|
return /* @__PURE__ */ v(h, {
|
|
2701
2686
|
className: q("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
|
|
2702
2687
|
...r
|
|
2703
2688
|
});
|
|
2704
2689
|
}
|
|
2705
|
-
function
|
|
2690
|
+
function jo({ className: e, ...t }) {
|
|
2706
2691
|
return /* @__PURE__ */ v(h, {
|
|
2707
2692
|
className: q("flex flex-row items-center gap-2", e),
|
|
2708
2693
|
...t
|
|
2709
2694
|
});
|
|
2710
2695
|
}
|
|
2711
|
-
function
|
|
2696
|
+
function Mo({ className: e, ...t }) {
|
|
2712
2697
|
return /* @__PURE__ */ v(h, {
|
|
2713
2698
|
className: q("flex flex-1 flex-col gap-1", e),
|
|
2714
2699
|
...t
|
|
2715
2700
|
});
|
|
2716
2701
|
}
|
|
2717
|
-
function
|
|
2702
|
+
function No({ className: e, ...t }) {
|
|
2718
2703
|
return /* @__PURE__ */ v(Y, {
|
|
2719
2704
|
variant: "bodySmall",
|
|
2720
2705
|
className: q("text-muted-foreground", e),
|
|
2721
2706
|
...t
|
|
2722
2707
|
});
|
|
2723
2708
|
}
|
|
2724
|
-
function
|
|
2709
|
+
function Po({ className: e, ...t }) {
|
|
2725
2710
|
return /* @__PURE__ */ v(h, {
|
|
2726
2711
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2727
2712
|
...t
|
|
2728
2713
|
});
|
|
2729
2714
|
}
|
|
2730
|
-
function
|
|
2715
|
+
function Fo({ className: e, ...t }) {
|
|
2731
2716
|
return /* @__PURE__ */ v(h, {
|
|
2732
2717
|
className: q("flex flex-col gap-4", e),
|
|
2733
2718
|
...t
|
|
2734
2719
|
});
|
|
2735
2720
|
}
|
|
2736
|
-
function
|
|
2721
|
+
function Io({ className: e, ...t }) {
|
|
2737
2722
|
return /* @__PURE__ */ v(h, {
|
|
2738
2723
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2739
2724
|
...t
|
|
2740
2725
|
});
|
|
2741
2726
|
}
|
|
2742
|
-
function
|
|
2727
|
+
function Lo({ className: e, variant: t, ...n }) {
|
|
2743
2728
|
return /* @__PURE__ */ v(h, {
|
|
2744
2729
|
className: q("flex shrink-0 items-center justify-center gap-2", e),
|
|
2745
2730
|
...n
|
|
2746
2731
|
});
|
|
2747
2732
|
}
|
|
2748
|
-
function
|
|
2733
|
+
function Ro({ className: e, orientation: t, ...n }) {
|
|
2749
2734
|
return /* @__PURE__ */ v(h, {
|
|
2750
2735
|
className: q("bg-border my-2 h-px w-full", e),
|
|
2751
2736
|
...n
|
|
2752
2737
|
});
|
|
2753
2738
|
}
|
|
2754
|
-
function
|
|
2739
|
+
function zo({ className: e, ...t }) {
|
|
2755
2740
|
return /* @__PURE__ */ v(Y, {
|
|
2756
2741
|
variant: "bodySmall",
|
|
2757
2742
|
className: q("font-medium", e),
|
|
@@ -2760,15 +2745,15 @@ function Io({ className: e, ...t }) {
|
|
|
2760
2745
|
}
|
|
2761
2746
|
//#endregion
|
|
2762
2747
|
//#region src/combobox.tsx
|
|
2763
|
-
var
|
|
2748
|
+
var Bo = e.createContext(null);
|
|
2764
2749
|
function $() {
|
|
2765
|
-
let t = e.useContext(
|
|
2750
|
+
let t = e.useContext(Bo);
|
|
2766
2751
|
if (!t) throw Error("Combobox components must be rendered within a Combobox provider");
|
|
2767
2752
|
return t;
|
|
2768
2753
|
}
|
|
2769
|
-
function
|
|
2754
|
+
function Vo({ className: t, value: n, onValueChange: r, ...i }) {
|
|
2770
2755
|
let [a, o] = e.useState(!1), [s, c] = e.useState(n || ""), [l, u] = e.useState(""), d = n === void 0 ? s : n;
|
|
2771
|
-
return /* @__PURE__ */ v(
|
|
2756
|
+
return /* @__PURE__ */ v(Bo.Provider, {
|
|
2772
2757
|
value: {
|
|
2773
2758
|
open: a,
|
|
2774
2759
|
setOpen: o,
|
|
@@ -2789,7 +2774,7 @@ function Ro({ className: t, value: n, onValueChange: r, ...i }) {
|
|
|
2789
2774
|
})
|
|
2790
2775
|
});
|
|
2791
2776
|
}
|
|
2792
|
-
function
|
|
2777
|
+
function Ho({ className: e, children: t, ...n }) {
|
|
2793
2778
|
let { value: r } = $();
|
|
2794
2779
|
return /* @__PURE__ */ v(h, {
|
|
2795
2780
|
className: e,
|
|
@@ -2800,7 +2785,7 @@ function zo({ className: e, children: t, ...n }) {
|
|
|
2800
2785
|
})
|
|
2801
2786
|
});
|
|
2802
2787
|
}
|
|
2803
|
-
function
|
|
2788
|
+
function Uo({ className: e, children: t, ...n }) {
|
|
2804
2789
|
return /* @__PURE__ */ v(jn, {
|
|
2805
2790
|
asChild: !0,
|
|
2806
2791
|
children: /* @__PURE__ */ y(l, {
|
|
@@ -2816,7 +2801,7 @@ function Bo({ className: e, children: t, ...n }) {
|
|
|
2816
2801
|
})
|
|
2817
2802
|
});
|
|
2818
2803
|
}
|
|
2819
|
-
function
|
|
2804
|
+
function Wo({ className: e, children: t, ...n }) {
|
|
2820
2805
|
let { setValue: r } = $();
|
|
2821
2806
|
return /* @__PURE__ */ v(l, {
|
|
2822
2807
|
className: q("flex items-center justify-center p-1", e),
|
|
@@ -2828,7 +2813,7 @@ function Vo({ className: e, children: t, ...n }) {
|
|
|
2828
2813
|
})
|
|
2829
2814
|
});
|
|
2830
2815
|
}
|
|
2831
|
-
function
|
|
2816
|
+
function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Search...", ...i }) {
|
|
2832
2817
|
let { searchQuery: a, setSearchQuery: o } = $();
|
|
2833
2818
|
return /* @__PURE__ */ v(h, {
|
|
2834
2819
|
className: "border-border flex flex-row items-center border-b px-3",
|
|
@@ -2843,7 +2828,7 @@ function Ho({ className: e, showClear: t, showTrigger: n, placeholder: r = "Sear
|
|
|
2843
2828
|
})
|
|
2844
2829
|
});
|
|
2845
2830
|
}
|
|
2846
|
-
function
|
|
2831
|
+
function Ko({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
|
|
2847
2832
|
return /* @__PURE__ */ v(Fn, {
|
|
2848
2833
|
className: "p-0",
|
|
2849
2834
|
children: /* @__PURE__ */ v(h, {
|
|
@@ -2852,13 +2837,13 @@ function Uo({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, an
|
|
|
2852
2837
|
})
|
|
2853
2838
|
});
|
|
2854
2839
|
}
|
|
2855
|
-
function
|
|
2840
|
+
function qo({ className: e, ...t }) {
|
|
2856
2841
|
return /* @__PURE__ */ v(h, {
|
|
2857
2842
|
className: q("max-h-[300px] overflow-hidden", e),
|
|
2858
2843
|
...t
|
|
2859
2844
|
});
|
|
2860
2845
|
}
|
|
2861
|
-
function
|
|
2846
|
+
function Jo({ className: t, children: n, value: r, ...i }) {
|
|
2862
2847
|
let { value: a, setValue: o, searchQuery: s } = $(), c = e.Children.toArray(n).join("").toLowerCase();
|
|
2863
2848
|
if (s && !c.includes(s.toLowerCase()) && !r.toLowerCase().includes(s.toLowerCase())) return null;
|
|
2864
2849
|
let u = a === r;
|
|
@@ -2878,25 +2863,25 @@ function Go({ className: t, children: n, value: r, ...i }) {
|
|
|
2878
2863
|
})]
|
|
2879
2864
|
});
|
|
2880
2865
|
}
|
|
2881
|
-
function
|
|
2866
|
+
function Yo({ className: e, ...t }) {
|
|
2882
2867
|
return /* @__PURE__ */ v(h, {
|
|
2883
2868
|
className: q("text-foreground overflow-hidden p-1", e),
|
|
2884
2869
|
...t
|
|
2885
2870
|
});
|
|
2886
2871
|
}
|
|
2887
|
-
function
|
|
2872
|
+
function Xo({ className: e, ...t }) {
|
|
2888
2873
|
return /* @__PURE__ */ v(h, {
|
|
2889
2874
|
className: q("text-muted-foreground px-2 py-1.5 text-xs font-semibold", e),
|
|
2890
2875
|
...t
|
|
2891
2876
|
});
|
|
2892
2877
|
}
|
|
2893
|
-
function
|
|
2878
|
+
function Zo({ className: e, ...t }) {
|
|
2894
2879
|
return /* @__PURE__ */ v(h, {
|
|
2895
2880
|
className: e,
|
|
2896
2881
|
...t
|
|
2897
2882
|
});
|
|
2898
2883
|
}
|
|
2899
|
-
function
|
|
2884
|
+
function Qo({ className: e, children: t, ...n }) {
|
|
2900
2885
|
let { searchQuery: r } = $();
|
|
2901
2886
|
return r ? /* @__PURE__ */ v(h, {
|
|
2902
2887
|
className: q("py-6 text-center text-sm", e),
|
|
@@ -2907,19 +2892,19 @@ function Yo({ className: e, children: t, ...n }) {
|
|
|
2907
2892
|
})
|
|
2908
2893
|
}) : null;
|
|
2909
2894
|
}
|
|
2910
|
-
function
|
|
2895
|
+
function $o({ className: e, ...t }) {
|
|
2911
2896
|
return /* @__PURE__ */ v(h, {
|
|
2912
2897
|
className: q("bg-muted -mx-1 h-px", e),
|
|
2913
2898
|
...t
|
|
2914
2899
|
});
|
|
2915
2900
|
}
|
|
2916
|
-
function
|
|
2901
|
+
function es({ className: e, ...t }) {
|
|
2917
2902
|
return /* @__PURE__ */ v(h, {
|
|
2918
2903
|
className: q("flex flex-row flex-wrap gap-1", e),
|
|
2919
2904
|
...t
|
|
2920
2905
|
});
|
|
2921
2906
|
}
|
|
2922
|
-
function
|
|
2907
|
+
function ts({ className: e, showRemove: t, children: n, ...r }) {
|
|
2923
2908
|
return /* @__PURE__ */ y(h, {
|
|
2924
2909
|
className: q("bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1", e),
|
|
2925
2910
|
...r,
|
|
@@ -2929,18 +2914,18 @@ function Qo({ className: e, showRemove: t, children: n, ...r }) {
|
|
|
2929
2914
|
})]
|
|
2930
2915
|
});
|
|
2931
2916
|
}
|
|
2932
|
-
function
|
|
2917
|
+
function ns({ className: e, ...t }) {
|
|
2933
2918
|
return /* @__PURE__ */ v(p, {
|
|
2934
2919
|
className: q("flex-1 bg-transparent px-2 py-1 outline-none", e),
|
|
2935
2920
|
...t
|
|
2936
2921
|
});
|
|
2937
2922
|
}
|
|
2938
|
-
function
|
|
2923
|
+
function rs() {
|
|
2939
2924
|
return e.useRef(null);
|
|
2940
2925
|
}
|
|
2941
2926
|
//#endregion
|
|
2942
2927
|
//#region src/input-otp.tsx
|
|
2943
|
-
function
|
|
2928
|
+
function is({ className: e, containerClassName: t, ...n }) {
|
|
2944
2929
|
return /* @__PURE__ */ v(h, {
|
|
2945
2930
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", t, e),
|
|
2946
2931
|
...n,
|
|
@@ -2950,19 +2935,19 @@ function ts({ className: e, containerClassName: t, ...n }) {
|
|
|
2950
2935
|
})
|
|
2951
2936
|
});
|
|
2952
2937
|
}
|
|
2953
|
-
function
|
|
2938
|
+
function as({ className: e, ...t }) {
|
|
2954
2939
|
return /* @__PURE__ */ v(h, {
|
|
2955
2940
|
className: e,
|
|
2956
2941
|
...t
|
|
2957
2942
|
});
|
|
2958
2943
|
}
|
|
2959
|
-
function
|
|
2944
|
+
function os({ className: e, index: t, ...n }) {
|
|
2960
2945
|
return /* @__PURE__ */ v(h, {
|
|
2961
2946
|
className: e,
|
|
2962
2947
|
...n
|
|
2963
2948
|
});
|
|
2964
2949
|
}
|
|
2965
|
-
function
|
|
2950
|
+
function ss({ className: e, ...t }) {
|
|
2966
2951
|
return /* @__PURE__ */ v(h, {
|
|
2967
2952
|
className: e,
|
|
2968
2953
|
...t
|
|
@@ -2970,13 +2955,13 @@ function is({ className: e, ...t }) {
|
|
|
2970
2955
|
}
|
|
2971
2956
|
//#endregion
|
|
2972
2957
|
//#region src/sidebar.tsx
|
|
2973
|
-
function
|
|
2958
|
+
function cs({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
|
|
2974
2959
|
return /* @__PURE__ */ v(h, {
|
|
2975
2960
|
className: e,
|
|
2976
2961
|
...i
|
|
2977
2962
|
});
|
|
2978
2963
|
}
|
|
2979
|
-
function
|
|
2964
|
+
function ls({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
2980
2965
|
return /* @__PURE__ */ v(h, {
|
|
2981
2966
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", e),
|
|
2982
2967
|
...i,
|
|
@@ -2986,133 +2971,133 @@ function os({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
|
2986
2971
|
})
|
|
2987
2972
|
});
|
|
2988
2973
|
}
|
|
2989
|
-
function
|
|
2974
|
+
function us({ className: e, ...t }) {
|
|
2990
2975
|
return /* @__PURE__ */ v(l, {
|
|
2991
2976
|
className: e,
|
|
2992
2977
|
...t
|
|
2993
2978
|
});
|
|
2994
2979
|
}
|
|
2995
|
-
function
|
|
2980
|
+
function ds({ className: e, ...t }) {
|
|
2996
2981
|
return /* @__PURE__ */ v(h, {
|
|
2997
2982
|
className: e,
|
|
2998
2983
|
...t
|
|
2999
2984
|
});
|
|
3000
2985
|
}
|
|
3001
|
-
function
|
|
2986
|
+
function fs({ className: e, ...t }) {
|
|
3002
2987
|
return /* @__PURE__ */ v(h, {
|
|
3003
2988
|
className: e,
|
|
3004
2989
|
...t
|
|
3005
2990
|
});
|
|
3006
2991
|
}
|
|
3007
|
-
function
|
|
2992
|
+
function ps({ className: e, ...t }) {
|
|
3008
2993
|
return /* @__PURE__ */ v(h, {
|
|
3009
2994
|
className: e,
|
|
3010
2995
|
...t
|
|
3011
2996
|
});
|
|
3012
2997
|
}
|
|
3013
|
-
function
|
|
2998
|
+
function ms({ className: e, ...t }) {
|
|
3014
2999
|
return /* @__PURE__ */ v(h, {
|
|
3015
3000
|
className: e,
|
|
3016
3001
|
...t
|
|
3017
3002
|
});
|
|
3018
3003
|
}
|
|
3019
|
-
function
|
|
3004
|
+
function hs({ className: e, ...t }) {
|
|
3020
3005
|
return /* @__PURE__ */ v(h, {
|
|
3021
3006
|
className: e,
|
|
3022
3007
|
...t
|
|
3023
3008
|
});
|
|
3024
3009
|
}
|
|
3025
|
-
function
|
|
3010
|
+
function gs({ className: e, ...t }) {
|
|
3026
3011
|
return /* @__PURE__ */ v(h, {
|
|
3027
3012
|
className: e,
|
|
3028
3013
|
...t
|
|
3029
3014
|
});
|
|
3030
3015
|
}
|
|
3031
|
-
function
|
|
3016
|
+
function _s({ className: e, ...t }) {
|
|
3032
3017
|
return /* @__PURE__ */ v(h, {
|
|
3033
3018
|
className: e,
|
|
3034
3019
|
...t
|
|
3035
3020
|
});
|
|
3036
3021
|
}
|
|
3037
|
-
function
|
|
3022
|
+
function vs({ className: e, ...t }) {
|
|
3038
3023
|
return /* @__PURE__ */ v(h, {
|
|
3039
3024
|
className: e,
|
|
3040
3025
|
...t
|
|
3041
3026
|
});
|
|
3042
3027
|
}
|
|
3043
|
-
function
|
|
3028
|
+
function ys({ className: e, asChild: t, ...n }) {
|
|
3044
3029
|
return /* @__PURE__ */ v(h, {
|
|
3045
3030
|
className: e,
|
|
3046
3031
|
...n
|
|
3047
3032
|
});
|
|
3048
3033
|
}
|
|
3049
|
-
function
|
|
3034
|
+
function bs({ className: e, asChild: t, ...n }) {
|
|
3050
3035
|
return /* @__PURE__ */ v(l, {
|
|
3051
3036
|
className: e,
|
|
3052
3037
|
...n
|
|
3053
3038
|
});
|
|
3054
3039
|
}
|
|
3055
|
-
function
|
|
3040
|
+
function xs({ className: e, ...t }) {
|
|
3056
3041
|
return /* @__PURE__ */ v(h, {
|
|
3057
3042
|
className: e,
|
|
3058
3043
|
...t
|
|
3059
3044
|
});
|
|
3060
3045
|
}
|
|
3061
|
-
function
|
|
3046
|
+
function Ss({ className: e, ...t }) {
|
|
3062
3047
|
return /* @__PURE__ */ v(h, {
|
|
3063
3048
|
className: e,
|
|
3064
3049
|
...t
|
|
3065
3050
|
});
|
|
3066
3051
|
}
|
|
3067
|
-
function
|
|
3052
|
+
function Cs({ className: e, ...t }) {
|
|
3068
3053
|
return /* @__PURE__ */ v(h, {
|
|
3069
3054
|
className: e,
|
|
3070
3055
|
...t
|
|
3071
3056
|
});
|
|
3072
3057
|
}
|
|
3073
|
-
function
|
|
3058
|
+
function ws({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
|
|
3074
3059
|
return /* @__PURE__ */ v(l, {
|
|
3075
3060
|
className: e,
|
|
3076
3061
|
...o
|
|
3077
3062
|
});
|
|
3078
3063
|
}
|
|
3079
|
-
function
|
|
3064
|
+
function Ts({ className: e, asChild: t, showOnHover: n, ...r }) {
|
|
3080
3065
|
return /* @__PURE__ */ v(l, {
|
|
3081
3066
|
className: e,
|
|
3082
3067
|
...r
|
|
3083
3068
|
});
|
|
3084
3069
|
}
|
|
3085
|
-
function
|
|
3070
|
+
function Es({ className: e, ...t }) {
|
|
3086
3071
|
return /* @__PURE__ */ v(h, {
|
|
3087
3072
|
className: e,
|
|
3088
3073
|
...t
|
|
3089
3074
|
});
|
|
3090
3075
|
}
|
|
3091
|
-
function
|
|
3076
|
+
function Ds({ className: e, showIcon: t, ...n }) {
|
|
3092
3077
|
return /* @__PURE__ */ v(h, {
|
|
3093
3078
|
className: e,
|
|
3094
3079
|
...n
|
|
3095
3080
|
});
|
|
3096
3081
|
}
|
|
3097
|
-
function
|
|
3082
|
+
function Os({ className: e, ...t }) {
|
|
3098
3083
|
return /* @__PURE__ */ v(h, {
|
|
3099
3084
|
className: e,
|
|
3100
3085
|
...t
|
|
3101
3086
|
});
|
|
3102
3087
|
}
|
|
3103
|
-
function
|
|
3088
|
+
function ks({ className: e, ...t }) {
|
|
3104
3089
|
return /* @__PURE__ */ v(h, {
|
|
3105
3090
|
className: e,
|
|
3106
3091
|
...t
|
|
3107
3092
|
});
|
|
3108
3093
|
}
|
|
3109
|
-
function
|
|
3094
|
+
function As({ className: e, asChild: t, size: n, isActive: r, ...i }) {
|
|
3110
3095
|
return /* @__PURE__ */ v(l, {
|
|
3111
3096
|
className: e,
|
|
3112
3097
|
...i
|
|
3113
3098
|
});
|
|
3114
3099
|
}
|
|
3115
|
-
function
|
|
3100
|
+
function js() {
|
|
3116
3101
|
return {
|
|
3117
3102
|
state: "expanded",
|
|
3118
3103
|
open: !0,
|
|
@@ -3124,4 +3109,4 @@ function Os() {
|
|
|
3124
3109
|
};
|
|
3125
3110
|
}
|
|
3126
3111
|
//#endregion
|
|
3127
|
-
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 };
|