@trading-game/design-intelligence-layer 0.16.7 → 0.16.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -10
- package/dist/index.cjs +757 -670
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +636 -551
- package/dist/index.js.map +1 -1
- package/guides/design-system-guide/trading-game-ds-guide.md +6 -5
- package/guides/rules/design-system-consuming-project.mdc +7 -1
- package/package.json +1 -1
- package/src/styles.css +0 -2
package/dist/index.js
CHANGED
|
@@ -1564,10 +1564,49 @@ function CarouselNext(_a) {
|
|
|
1564
1564
|
);
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
|
+
// components/ui/chip.tsx
|
|
1568
|
+
import { cva as cva4 } from "class-variance-authority";
|
|
1569
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1570
|
+
var chipVariants = cva4(
|
|
1571
|
+
"inline-flex w-fit items-center justify-center rounded-full font-body whitespace-nowrap transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:border disabled:border-border-subtle disabled:bg-transparent disabled:text-on-disabled",
|
|
1572
|
+
{
|
|
1573
|
+
variants: {
|
|
1574
|
+
size: {
|
|
1575
|
+
md: "h-10 px-4 text-sm",
|
|
1576
|
+
sm: "h-8 px-3 text-xs"
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
defaultVariants: {
|
|
1580
|
+
size: "md"
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
);
|
|
1584
|
+
function Chip(_a) {
|
|
1585
|
+
var _b = _a, { children, selected = false, size, className, disabled } = _b, props = __objRest(_b, ["children", "selected", "size", "className", "disabled"]);
|
|
1586
|
+
return /* @__PURE__ */ jsx14(
|
|
1587
|
+
"button",
|
|
1588
|
+
__spreadProps(__spreadValues({
|
|
1589
|
+
type: "button",
|
|
1590
|
+
"aria-pressed": selected,
|
|
1591
|
+
"data-slot": "chip",
|
|
1592
|
+
"data-size": size,
|
|
1593
|
+
"data-selected": selected || void 0,
|
|
1594
|
+
disabled,
|
|
1595
|
+
className: cn(
|
|
1596
|
+
chipVariants({ size }),
|
|
1597
|
+
selected ? "border-[1.5px] border-primary bg-primary/10 text-primary font-semibold pointer-events-none cursor-default" : "border border-border-subtle bg-transparent text-on-prominent transition-colors hover:bg-secondary-hover active:bg-secondary-hover/80",
|
|
1598
|
+
className
|
|
1599
|
+
)
|
|
1600
|
+
}, props), {
|
|
1601
|
+
children
|
|
1602
|
+
})
|
|
1603
|
+
);
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1567
1606
|
// components/ui/chart.tsx
|
|
1568
1607
|
import * as React5 from "react";
|
|
1569
1608
|
import * as RechartsPrimitive from "recharts";
|
|
1570
|
-
import { Fragment as Fragment4, jsx as
|
|
1609
|
+
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1571
1610
|
var THEMES = { light: "" };
|
|
1572
1611
|
var ChartContext = React5.createContext(null);
|
|
1573
1612
|
function useChart() {
|
|
@@ -1591,7 +1630,7 @@ function ChartContainer(_a) {
|
|
|
1591
1630
|
]);
|
|
1592
1631
|
const uniqueId = React5.useId();
|
|
1593
1632
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
1594
|
-
return /* @__PURE__ */
|
|
1633
|
+
return /* @__PURE__ */ jsx15(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs9(
|
|
1595
1634
|
"div",
|
|
1596
1635
|
__spreadProps(__spreadValues({
|
|
1597
1636
|
"data-slot": "chart",
|
|
@@ -1602,8 +1641,8 @@ function ChartContainer(_a) {
|
|
|
1602
1641
|
)
|
|
1603
1642
|
}, props), {
|
|
1604
1643
|
children: [
|
|
1605
|
-
/* @__PURE__ */
|
|
1606
|
-
/* @__PURE__ */
|
|
1644
|
+
/* @__PURE__ */ jsx15(ChartStyle, { id: chartId, config }),
|
|
1645
|
+
/* @__PURE__ */ jsx15(RechartsPrimitive.ResponsiveContainer, { children })
|
|
1607
1646
|
]
|
|
1608
1647
|
})
|
|
1609
1648
|
) });
|
|
@@ -1615,7 +1654,7 @@ var ChartStyle = ({ id, config }) => {
|
|
|
1615
1654
|
if (!colorConfig.length) {
|
|
1616
1655
|
return null;
|
|
1617
1656
|
}
|
|
1618
|
-
return /* @__PURE__ */
|
|
1657
|
+
return /* @__PURE__ */ jsx15(
|
|
1619
1658
|
"style",
|
|
1620
1659
|
{
|
|
1621
1660
|
dangerouslySetInnerHTML: {
|
|
@@ -1661,12 +1700,12 @@ function ChartTooltipContent({
|
|
|
1661
1700
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1662
1701
|
const value = !labelKey && typeof label === "string" ? ((_a = config[label]) == null ? void 0 : _a.label) || label : itemConfig == null ? void 0 : itemConfig.label;
|
|
1663
1702
|
if (labelFormatter) {
|
|
1664
|
-
return /* @__PURE__ */
|
|
1703
|
+
return /* @__PURE__ */ jsx15("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
1665
1704
|
}
|
|
1666
1705
|
if (!value) {
|
|
1667
1706
|
return null;
|
|
1668
1707
|
}
|
|
1669
|
-
return /* @__PURE__ */
|
|
1708
|
+
return /* @__PURE__ */ jsx15("div", { className: cn("font-medium", labelClassName), children: value });
|
|
1670
1709
|
}, [
|
|
1671
1710
|
label,
|
|
1672
1711
|
labelFormatter,
|
|
@@ -1689,11 +1728,11 @@ function ChartTooltipContent({
|
|
|
1689
1728
|
),
|
|
1690
1729
|
children: [
|
|
1691
1730
|
!nestLabel ? tooltipLabel : null,
|
|
1692
|
-
/* @__PURE__ */
|
|
1731
|
+
/* @__PURE__ */ jsx15("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
|
|
1693
1732
|
const key = `${nameKey || item.name || item.dataKey || "value"}`;
|
|
1694
1733
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1695
1734
|
const indicatorColor = color || item.payload.fill || item.color;
|
|
1696
|
-
return /* @__PURE__ */
|
|
1735
|
+
return /* @__PURE__ */ jsx15(
|
|
1697
1736
|
"div",
|
|
1698
1737
|
{
|
|
1699
1738
|
className: cn(
|
|
@@ -1701,7 +1740,7 @@ function ChartTooltipContent({
|
|
|
1701
1740
|
indicator === "dot" && "items-center"
|
|
1702
1741
|
),
|
|
1703
1742
|
children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs9(Fragment4, { children: [
|
|
1704
|
-
(itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */
|
|
1743
|
+
(itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx15(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx15(
|
|
1705
1744
|
"div",
|
|
1706
1745
|
{
|
|
1707
1746
|
className: cn(
|
|
@@ -1729,9 +1768,9 @@ function ChartTooltipContent({
|
|
|
1729
1768
|
children: [
|
|
1730
1769
|
/* @__PURE__ */ jsxs9("div", { className: "grid gap-1.5", children: [
|
|
1731
1770
|
nestLabel ? tooltipLabel : null,
|
|
1732
|
-
/* @__PURE__ */
|
|
1771
|
+
/* @__PURE__ */ jsx15("span", { className: "text-on-subtle", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
|
|
1733
1772
|
] }),
|
|
1734
|
-
item.value && /* @__PURE__ */
|
|
1773
|
+
item.value && /* @__PURE__ */ jsx15("span", { className: "font-mono font-medium text-on-prominent tabular-nums", children: item.value.toLocaleString() })
|
|
1735
1774
|
]
|
|
1736
1775
|
}
|
|
1737
1776
|
)
|
|
@@ -1756,7 +1795,7 @@ function ChartLegendContent({
|
|
|
1756
1795
|
if (!(payload == null ? void 0 : payload.length)) {
|
|
1757
1796
|
return null;
|
|
1758
1797
|
}
|
|
1759
|
-
return /* @__PURE__ */
|
|
1798
|
+
return /* @__PURE__ */ jsx15(
|
|
1760
1799
|
"div",
|
|
1761
1800
|
{
|
|
1762
1801
|
className: cn(
|
|
@@ -1774,7 +1813,7 @@ function ChartLegendContent({
|
|
|
1774
1813
|
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-on-subtle"
|
|
1775
1814
|
),
|
|
1776
1815
|
children: [
|
|
1777
|
-
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */
|
|
1816
|
+
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx15(itemConfig.icon, {}) : /* @__PURE__ */ jsx15(
|
|
1778
1817
|
"div",
|
|
1779
1818
|
{
|
|
1780
1819
|
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
@@ -1809,14 +1848,14 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1809
1848
|
// components/ui/checkbox.tsx
|
|
1810
1849
|
import { CheckIcon } from "lucide-react";
|
|
1811
1850
|
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
1812
|
-
import { jsx as
|
|
1851
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1813
1852
|
function Checkbox(_a) {
|
|
1814
1853
|
var _b = _a, {
|
|
1815
1854
|
className
|
|
1816
1855
|
} = _b, props = __objRest(_b, [
|
|
1817
1856
|
"className"
|
|
1818
1857
|
]);
|
|
1819
|
-
return /* @__PURE__ */
|
|
1858
|
+
return /* @__PURE__ */ jsx16(
|
|
1820
1859
|
CheckboxPrimitive.Root,
|
|
1821
1860
|
__spreadProps(__spreadValues({
|
|
1822
1861
|
"data-slot": "checkbox",
|
|
@@ -1825,12 +1864,12 @@ function Checkbox(_a) {
|
|
|
1825
1864
|
className
|
|
1826
1865
|
)
|
|
1827
1866
|
}, props), {
|
|
1828
|
-
children: /* @__PURE__ */
|
|
1867
|
+
children: /* @__PURE__ */ jsx16(
|
|
1829
1868
|
CheckboxPrimitive.Indicator,
|
|
1830
1869
|
{
|
|
1831
1870
|
"data-slot": "checkbox-indicator",
|
|
1832
1871
|
className: "grid place-content-center text-current transition-none",
|
|
1833
|
-
children: /* @__PURE__ */
|
|
1872
|
+
children: /* @__PURE__ */ jsx16(CheckIcon, { className: "size-3.5" })
|
|
1834
1873
|
}
|
|
1835
1874
|
)
|
|
1836
1875
|
})
|
|
@@ -1839,14 +1878,14 @@ function Checkbox(_a) {
|
|
|
1839
1878
|
|
|
1840
1879
|
// components/ui/collapsible.tsx
|
|
1841
1880
|
import { Collapsible as CollapsiblePrimitive } from "radix-ui";
|
|
1842
|
-
import { jsx as
|
|
1881
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1843
1882
|
function Collapsible(_a) {
|
|
1844
1883
|
var props = __objRest(_a, []);
|
|
1845
|
-
return /* @__PURE__ */
|
|
1884
|
+
return /* @__PURE__ */ jsx17(CollapsiblePrimitive.Root, __spreadValues({ "data-slot": "collapsible" }, props));
|
|
1846
1885
|
}
|
|
1847
1886
|
function CollapsibleTrigger(_a) {
|
|
1848
1887
|
var props = __objRest(_a, []);
|
|
1849
|
-
return /* @__PURE__ */
|
|
1888
|
+
return /* @__PURE__ */ jsx17(
|
|
1850
1889
|
CollapsiblePrimitive.CollapsibleTrigger,
|
|
1851
1890
|
__spreadValues({
|
|
1852
1891
|
"data-slot": "collapsible-trigger"
|
|
@@ -1855,7 +1894,7 @@ function CollapsibleTrigger(_a) {
|
|
|
1855
1894
|
}
|
|
1856
1895
|
function CollapsibleContent(_a) {
|
|
1857
1896
|
var props = __objRest(_a, []);
|
|
1858
|
-
return /* @__PURE__ */
|
|
1897
|
+
return /* @__PURE__ */ jsx17(
|
|
1859
1898
|
CollapsiblePrimitive.CollapsibleContent,
|
|
1860
1899
|
__spreadValues({
|
|
1861
1900
|
"data-slot": "collapsible-content"
|
|
@@ -1870,12 +1909,12 @@ import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, XIcon } f
|
|
|
1870
1909
|
|
|
1871
1910
|
// components/ui/input-group.tsx
|
|
1872
1911
|
import * as React6 from "react";
|
|
1873
|
-
import { cva as
|
|
1912
|
+
import { cva as cva6 } from "class-variance-authority";
|
|
1874
1913
|
|
|
1875
1914
|
// components/ui/input.tsx
|
|
1876
|
-
import { cva as
|
|
1877
|
-
import { jsx as
|
|
1878
|
-
var inputVariants =
|
|
1915
|
+
import { cva as cva5 } from "class-variance-authority";
|
|
1916
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1917
|
+
var inputVariants = cva5(
|
|
1879
1918
|
[
|
|
1880
1919
|
"w-full min-w-0 rounded-sm border border-border-subtle bg-white/5",
|
|
1881
1920
|
"text-on-prominent font-body shadow-xs transition-[color,box-shadow] outline-none",
|
|
@@ -1908,7 +1947,7 @@ function Input(_a) {
|
|
|
1908
1947
|
"type",
|
|
1909
1948
|
"size"
|
|
1910
1949
|
]);
|
|
1911
|
-
return /* @__PURE__ */
|
|
1950
|
+
return /* @__PURE__ */ jsx18(
|
|
1912
1951
|
"input",
|
|
1913
1952
|
__spreadValues({
|
|
1914
1953
|
type,
|
|
@@ -1920,10 +1959,10 @@ function Input(_a) {
|
|
|
1920
1959
|
}
|
|
1921
1960
|
|
|
1922
1961
|
// components/ui/textarea.tsx
|
|
1923
|
-
import { jsx as
|
|
1962
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1924
1963
|
function Textarea(_a) {
|
|
1925
1964
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1926
|
-
return /* @__PURE__ */
|
|
1965
|
+
return /* @__PURE__ */ jsx19(
|
|
1927
1966
|
"textarea",
|
|
1928
1967
|
__spreadValues({
|
|
1929
1968
|
"data-slot": "textarea",
|
|
@@ -1936,9 +1975,9 @@ function Textarea(_a) {
|
|
|
1936
1975
|
}
|
|
1937
1976
|
|
|
1938
1977
|
// components/ui/input-group.tsx
|
|
1939
|
-
import { jsx as
|
|
1978
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1940
1979
|
var InputGroupSizeContext = React6.createContext("md");
|
|
1941
|
-
var inputGroupVariants =
|
|
1980
|
+
var inputGroupVariants = cva6(
|
|
1942
1981
|
[
|
|
1943
1982
|
"group/input-group relative flex w-full items-center rounded-sm border border-border-subtle bg-white/5",
|
|
1944
1983
|
"shadow-xs transition-[color,box-shadow] outline-none min-w-0 has-[>textarea]:h-auto",
|
|
@@ -1975,7 +2014,7 @@ function InputGroup(_a) {
|
|
|
1975
2014
|
"className",
|
|
1976
2015
|
"size"
|
|
1977
2016
|
]);
|
|
1978
|
-
return /* @__PURE__ */
|
|
2017
|
+
return /* @__PURE__ */ jsx20(InputGroupSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx20(
|
|
1979
2018
|
"div",
|
|
1980
2019
|
__spreadValues({
|
|
1981
2020
|
"data-slot": "input-group",
|
|
@@ -1985,7 +2024,7 @@ function InputGroup(_a) {
|
|
|
1985
2024
|
}, props)
|
|
1986
2025
|
) });
|
|
1987
2026
|
}
|
|
1988
|
-
var inputGroupAddonVariants =
|
|
2027
|
+
var inputGroupAddonVariants = cva6(
|
|
1989
2028
|
[
|
|
1990
2029
|
"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 font-medium text-on-subtle select-none",
|
|
1991
2030
|
"group-data-[disabled=true]/input-group:opacity-50",
|
|
@@ -2020,7 +2059,7 @@ function InputGroupAddon(_a) {
|
|
|
2020
2059
|
"className",
|
|
2021
2060
|
"align"
|
|
2022
2061
|
]);
|
|
2023
|
-
return /* @__PURE__ */
|
|
2062
|
+
return /* @__PURE__ */ jsx20(
|
|
2024
2063
|
"div",
|
|
2025
2064
|
__spreadValues({
|
|
2026
2065
|
role: "group",
|
|
@@ -2037,7 +2076,7 @@ function InputGroupAddon(_a) {
|
|
|
2037
2076
|
}, props)
|
|
2038
2077
|
);
|
|
2039
2078
|
}
|
|
2040
|
-
var inputGroupButtonVariants =
|
|
2079
|
+
var inputGroupButtonVariants = cva6(
|
|
2041
2080
|
"flex items-center gap-2 text-sm shadow-none",
|
|
2042
2081
|
{
|
|
2043
2082
|
variants: {
|
|
@@ -2065,7 +2104,7 @@ function InputGroupButton(_a) {
|
|
|
2065
2104
|
"variant",
|
|
2066
2105
|
"size"
|
|
2067
2106
|
]);
|
|
2068
|
-
return /* @__PURE__ */
|
|
2107
|
+
return /* @__PURE__ */ jsx20(
|
|
2069
2108
|
Button,
|
|
2070
2109
|
__spreadValues({
|
|
2071
2110
|
type,
|
|
@@ -2077,7 +2116,7 @@ function InputGroupButton(_a) {
|
|
|
2077
2116
|
}
|
|
2078
2117
|
function InputGroupText(_a) {
|
|
2079
2118
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2080
|
-
return /* @__PURE__ */
|
|
2119
|
+
return /* @__PURE__ */ jsx20(
|
|
2081
2120
|
"span",
|
|
2082
2121
|
__spreadValues({
|
|
2083
2122
|
className: cn(
|
|
@@ -2101,7 +2140,7 @@ function InputGroupInput(_a) {
|
|
|
2101
2140
|
]);
|
|
2102
2141
|
const groupSize = React6.useContext(InputGroupSizeContext);
|
|
2103
2142
|
const size = sizeProp != null ? sizeProp : groupSize;
|
|
2104
|
-
return /* @__PURE__ */
|
|
2143
|
+
return /* @__PURE__ */ jsx20(
|
|
2105
2144
|
Input,
|
|
2106
2145
|
__spreadValues({
|
|
2107
2146
|
"data-slot": "input-group-control",
|
|
@@ -2119,7 +2158,7 @@ function InputGroupTextarea(_a) {
|
|
|
2119
2158
|
} = _b, props = __objRest(_b, [
|
|
2120
2159
|
"className"
|
|
2121
2160
|
]);
|
|
2122
|
-
return /* @__PURE__ */
|
|
2161
|
+
return /* @__PURE__ */ jsx20(
|
|
2123
2162
|
Textarea,
|
|
2124
2163
|
__spreadValues({
|
|
2125
2164
|
"data-slot": "input-group-control",
|
|
@@ -2132,11 +2171,11 @@ function InputGroupTextarea(_a) {
|
|
|
2132
2171
|
}
|
|
2133
2172
|
|
|
2134
2173
|
// components/ui/combobox.tsx
|
|
2135
|
-
import { jsx as
|
|
2174
|
+
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2136
2175
|
var Combobox = ComboboxPrimitive.Root;
|
|
2137
2176
|
function ComboboxValue(_a) {
|
|
2138
2177
|
var props = __objRest(_a, []);
|
|
2139
|
-
return /* @__PURE__ */
|
|
2178
|
+
return /* @__PURE__ */ jsx21(ComboboxPrimitive.Value, __spreadValues({ "data-slot": "combobox-value" }, props));
|
|
2140
2179
|
}
|
|
2141
2180
|
function ComboboxTrigger(_a) {
|
|
2142
2181
|
var _b = _a, {
|
|
@@ -2154,7 +2193,7 @@ function ComboboxTrigger(_a) {
|
|
|
2154
2193
|
}, props), {
|
|
2155
2194
|
children: [
|
|
2156
2195
|
children,
|
|
2157
|
-
/* @__PURE__ */
|
|
2196
|
+
/* @__PURE__ */ jsx21(
|
|
2158
2197
|
ChevronDownIcon3,
|
|
2159
2198
|
{
|
|
2160
2199
|
"data-slot": "combobox-trigger-icon",
|
|
@@ -2167,14 +2206,14 @@ function ComboboxTrigger(_a) {
|
|
|
2167
2206
|
}
|
|
2168
2207
|
function ComboboxClear(_a) {
|
|
2169
2208
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2170
|
-
return /* @__PURE__ */
|
|
2209
|
+
return /* @__PURE__ */ jsx21(
|
|
2171
2210
|
ComboboxPrimitive.Clear,
|
|
2172
2211
|
__spreadProps(__spreadValues({
|
|
2173
2212
|
"data-slot": "combobox-clear",
|
|
2174
|
-
render: /* @__PURE__ */
|
|
2213
|
+
render: /* @__PURE__ */ jsx21(InputGroupButton, { variant: "secondary", size: "icon-xs" }),
|
|
2175
2214
|
className: cn(className)
|
|
2176
2215
|
}, props), {
|
|
2177
|
-
children: /* @__PURE__ */
|
|
2216
|
+
children: /* @__PURE__ */ jsx21(XIcon, { className: "pointer-events-none" })
|
|
2178
2217
|
})
|
|
2179
2218
|
);
|
|
2180
2219
|
}
|
|
@@ -2193,14 +2232,14 @@ function ComboboxInput(_a) {
|
|
|
2193
2232
|
"showClear"
|
|
2194
2233
|
]);
|
|
2195
2234
|
return /* @__PURE__ */ jsxs10(InputGroup, { className: cn("w-auto", className), children: [
|
|
2196
|
-
/* @__PURE__ */
|
|
2235
|
+
/* @__PURE__ */ jsx21(
|
|
2197
2236
|
ComboboxPrimitive.Input,
|
|
2198
2237
|
__spreadValues({
|
|
2199
|
-
render: /* @__PURE__ */
|
|
2238
|
+
render: /* @__PURE__ */ jsx21(InputGroupInput, { disabled })
|
|
2200
2239
|
}, props)
|
|
2201
2240
|
),
|
|
2202
2241
|
/* @__PURE__ */ jsxs10(InputGroupAddon, { align: "inline-end", children: [
|
|
2203
|
-
showTrigger && /* @__PURE__ */
|
|
2242
|
+
showTrigger && /* @__PURE__ */ jsx21(
|
|
2204
2243
|
InputGroupButton,
|
|
2205
2244
|
{
|
|
2206
2245
|
size: "icon-xs",
|
|
@@ -2209,10 +2248,10 @@ function ComboboxInput(_a) {
|
|
|
2209
2248
|
"data-slot": "input-group-button",
|
|
2210
2249
|
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
2211
2250
|
disabled,
|
|
2212
|
-
children: /* @__PURE__ */
|
|
2251
|
+
children: /* @__PURE__ */ jsx21(ComboboxTrigger, {})
|
|
2213
2252
|
}
|
|
2214
2253
|
),
|
|
2215
|
-
showClear && /* @__PURE__ */
|
|
2254
|
+
showClear && /* @__PURE__ */ jsx21(ComboboxClear, { disabled })
|
|
2216
2255
|
] }),
|
|
2217
2256
|
children
|
|
2218
2257
|
] });
|
|
@@ -2233,7 +2272,7 @@ function ComboboxContent(_a) {
|
|
|
2233
2272
|
"alignOffset",
|
|
2234
2273
|
"anchor"
|
|
2235
2274
|
]);
|
|
2236
|
-
return /* @__PURE__ */
|
|
2275
|
+
return /* @__PURE__ */ jsx21(ComboboxPrimitive.Portal, { children: /* @__PURE__ */ jsx21(
|
|
2237
2276
|
ComboboxPrimitive.Positioner,
|
|
2238
2277
|
{
|
|
2239
2278
|
side,
|
|
@@ -2242,7 +2281,7 @@ function ComboboxContent(_a) {
|
|
|
2242
2281
|
alignOffset,
|
|
2243
2282
|
anchor,
|
|
2244
2283
|
className: "isolate z-50",
|
|
2245
|
-
children: /* @__PURE__ */
|
|
2284
|
+
children: /* @__PURE__ */ jsx21(
|
|
2246
2285
|
ComboboxPrimitive.Popup,
|
|
2247
2286
|
__spreadValues({
|
|
2248
2287
|
"data-slot": "combobox-content",
|
|
@@ -2258,7 +2297,7 @@ function ComboboxContent(_a) {
|
|
|
2258
2297
|
}
|
|
2259
2298
|
function ComboboxList(_a) {
|
|
2260
2299
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2261
|
-
return /* @__PURE__ */
|
|
2300
|
+
return /* @__PURE__ */ jsx21(
|
|
2262
2301
|
ComboboxPrimitive.List,
|
|
2263
2302
|
__spreadValues({
|
|
2264
2303
|
"data-slot": "combobox-list",
|
|
@@ -2288,12 +2327,12 @@ function ComboboxItem(_a) {
|
|
|
2288
2327
|
}, props), {
|
|
2289
2328
|
children: [
|
|
2290
2329
|
children,
|
|
2291
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsx21(
|
|
2292
2331
|
ComboboxPrimitive.ItemIndicator,
|
|
2293
2332
|
{
|
|
2294
2333
|
"data-slot": "combobox-item-indicator",
|
|
2295
|
-
render: /* @__PURE__ */
|
|
2296
|
-
children: /* @__PURE__ */
|
|
2334
|
+
render: /* @__PURE__ */ jsx21("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
2335
|
+
children: /* @__PURE__ */ jsx21(CheckIcon2, { className: "pointer-events-none size-4 pointer-coarse:size-5" })
|
|
2297
2336
|
}
|
|
2298
2337
|
)
|
|
2299
2338
|
]
|
|
@@ -2302,7 +2341,7 @@ function ComboboxItem(_a) {
|
|
|
2302
2341
|
}
|
|
2303
2342
|
function ComboboxGroup(_a) {
|
|
2304
2343
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2305
|
-
return /* @__PURE__ */
|
|
2344
|
+
return /* @__PURE__ */ jsx21(
|
|
2306
2345
|
ComboboxPrimitive.Group,
|
|
2307
2346
|
__spreadValues({
|
|
2308
2347
|
"data-slot": "combobox-group",
|
|
@@ -2316,7 +2355,7 @@ function ComboboxLabel(_a) {
|
|
|
2316
2355
|
} = _b, props = __objRest(_b, [
|
|
2317
2356
|
"className"
|
|
2318
2357
|
]);
|
|
2319
|
-
return /* @__PURE__ */
|
|
2358
|
+
return /* @__PURE__ */ jsx21(
|
|
2320
2359
|
ComboboxPrimitive.GroupLabel,
|
|
2321
2360
|
__spreadValues({
|
|
2322
2361
|
"data-slot": "combobox-label",
|
|
@@ -2329,11 +2368,11 @@ function ComboboxLabel(_a) {
|
|
|
2329
2368
|
}
|
|
2330
2369
|
function ComboboxCollection(_a) {
|
|
2331
2370
|
var props = __objRest(_a, []);
|
|
2332
|
-
return /* @__PURE__ */
|
|
2371
|
+
return /* @__PURE__ */ jsx21(ComboboxPrimitive.Collection, __spreadValues({ "data-slot": "combobox-collection" }, props));
|
|
2333
2372
|
}
|
|
2334
2373
|
function ComboboxEmpty(_a) {
|
|
2335
2374
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2336
|
-
return /* @__PURE__ */
|
|
2375
|
+
return /* @__PURE__ */ jsx21(
|
|
2337
2376
|
ComboboxPrimitive.Empty,
|
|
2338
2377
|
__spreadValues({
|
|
2339
2378
|
"data-slot": "combobox-empty",
|
|
@@ -2350,7 +2389,7 @@ function ComboboxSeparator(_a) {
|
|
|
2350
2389
|
} = _b, props = __objRest(_b, [
|
|
2351
2390
|
"className"
|
|
2352
2391
|
]);
|
|
2353
|
-
return /* @__PURE__ */
|
|
2392
|
+
return /* @__PURE__ */ jsx21(
|
|
2354
2393
|
ComboboxPrimitive.Separator,
|
|
2355
2394
|
__spreadValues({
|
|
2356
2395
|
"data-slot": "combobox-separator",
|
|
@@ -2364,7 +2403,7 @@ function ComboboxChips(_a) {
|
|
|
2364
2403
|
} = _b, props = __objRest(_b, [
|
|
2365
2404
|
"className"
|
|
2366
2405
|
]);
|
|
2367
|
-
return /* @__PURE__ */
|
|
2406
|
+
return /* @__PURE__ */ jsx21(
|
|
2368
2407
|
ComboboxPrimitive.Chips,
|
|
2369
2408
|
__spreadValues({
|
|
2370
2409
|
"data-slot": "combobox-chips",
|
|
@@ -2396,13 +2435,13 @@ function ComboboxChip(_a) {
|
|
|
2396
2435
|
}, props), {
|
|
2397
2436
|
children: [
|
|
2398
2437
|
children,
|
|
2399
|
-
showRemove && /* @__PURE__ */
|
|
2438
|
+
showRemove && /* @__PURE__ */ jsx21(
|
|
2400
2439
|
ComboboxPrimitive.ChipRemove,
|
|
2401
2440
|
{
|
|
2402
|
-
render: /* @__PURE__ */
|
|
2441
|
+
render: /* @__PURE__ */ jsx21(Button, { variant: "secondary", size: "icon-xs" }),
|
|
2403
2442
|
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
2404
2443
|
"data-slot": "combobox-chip-remove",
|
|
2405
|
-
children: /* @__PURE__ */
|
|
2444
|
+
children: /* @__PURE__ */ jsx21(XIcon, { className: "pointer-events-none" })
|
|
2406
2445
|
}
|
|
2407
2446
|
)
|
|
2408
2447
|
]
|
|
@@ -2417,7 +2456,7 @@ function ComboboxChipsInput(_a) {
|
|
|
2417
2456
|
"className",
|
|
2418
2457
|
"children"
|
|
2419
2458
|
]);
|
|
2420
|
-
return /* @__PURE__ */
|
|
2459
|
+
return /* @__PURE__ */ jsx21(
|
|
2421
2460
|
ComboboxPrimitive.Input,
|
|
2422
2461
|
__spreadValues({
|
|
2423
2462
|
"data-slot": "combobox-chip-input",
|
|
@@ -2436,22 +2475,22 @@ import { SearchIcon } from "lucide-react";
|
|
|
2436
2475
|
// components/ui/dialog.tsx
|
|
2437
2476
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
2438
2477
|
import { Dialog as DialogPrimitive } from "radix-ui";
|
|
2439
|
-
import { jsx as
|
|
2478
|
+
import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2440
2479
|
function Dialog(_a) {
|
|
2441
2480
|
var props = __objRest(_a, []);
|
|
2442
|
-
return /* @__PURE__ */
|
|
2481
|
+
return /* @__PURE__ */ jsx22(DialogPrimitive.Root, __spreadValues({ "data-slot": "dialog" }, props));
|
|
2443
2482
|
}
|
|
2444
2483
|
function DialogTrigger(_a) {
|
|
2445
2484
|
var props = __objRest(_a, []);
|
|
2446
|
-
return /* @__PURE__ */
|
|
2485
|
+
return /* @__PURE__ */ jsx22(DialogPrimitive.Trigger, __spreadValues({ "data-slot": "dialog-trigger" }, props));
|
|
2447
2486
|
}
|
|
2448
2487
|
function DialogPortal(_a) {
|
|
2449
2488
|
var props = __objRest(_a, []);
|
|
2450
|
-
return /* @__PURE__ */
|
|
2489
|
+
return /* @__PURE__ */ jsx22(DialogPrimitive.Portal, __spreadValues({ "data-slot": "dialog-portal" }, props));
|
|
2451
2490
|
}
|
|
2452
2491
|
function DialogClose(_a) {
|
|
2453
2492
|
var props = __objRest(_a, []);
|
|
2454
|
-
return /* @__PURE__ */
|
|
2493
|
+
return /* @__PURE__ */ jsx22(DialogPrimitive.Close, __spreadValues({ "data-slot": "dialog-close" }, props));
|
|
2455
2494
|
}
|
|
2456
2495
|
function DialogOverlay(_a) {
|
|
2457
2496
|
var _b = _a, {
|
|
@@ -2459,7 +2498,7 @@ function DialogOverlay(_a) {
|
|
|
2459
2498
|
} = _b, props = __objRest(_b, [
|
|
2460
2499
|
"className"
|
|
2461
2500
|
]);
|
|
2462
|
-
return /* @__PURE__ */
|
|
2501
|
+
return /* @__PURE__ */ jsx22(
|
|
2463
2502
|
DialogPrimitive.Overlay,
|
|
2464
2503
|
__spreadValues({
|
|
2465
2504
|
"data-slot": "dialog-overlay",
|
|
@@ -2481,7 +2520,7 @@ function DialogContent(_a) {
|
|
|
2481
2520
|
"showCloseButton"
|
|
2482
2521
|
]);
|
|
2483
2522
|
return /* @__PURE__ */ jsxs11(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
2484
|
-
/* @__PURE__ */
|
|
2523
|
+
/* @__PURE__ */ jsx22(DialogOverlay, {}),
|
|
2485
2524
|
/* @__PURE__ */ jsxs11(
|
|
2486
2525
|
DialogPrimitive.Content,
|
|
2487
2526
|
__spreadProps(__spreadValues({
|
|
@@ -2499,8 +2538,8 @@ function DialogContent(_a) {
|
|
|
2499
2538
|
"data-slot": "dialog-close",
|
|
2500
2539
|
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-prominent transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-on-subtle [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2501
2540
|
children: [
|
|
2502
|
-
/* @__PURE__ */
|
|
2503
|
-
/* @__PURE__ */
|
|
2541
|
+
/* @__PURE__ */ jsx22(XIcon2, {}),
|
|
2542
|
+
/* @__PURE__ */ jsx22("span", { className: "sr-only", children: "Close" })
|
|
2504
2543
|
]
|
|
2505
2544
|
}
|
|
2506
2545
|
)
|
|
@@ -2511,7 +2550,7 @@ function DialogContent(_a) {
|
|
|
2511
2550
|
}
|
|
2512
2551
|
function DialogHeader(_a) {
|
|
2513
2552
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2514
|
-
return /* @__PURE__ */
|
|
2553
|
+
return /* @__PURE__ */ jsx22(
|
|
2515
2554
|
"div",
|
|
2516
2555
|
__spreadValues({
|
|
2517
2556
|
"data-slot": "dialog-header",
|
|
@@ -2540,7 +2579,7 @@ function DialogFooter(_a) {
|
|
|
2540
2579
|
}, props), {
|
|
2541
2580
|
children: [
|
|
2542
2581
|
children,
|
|
2543
|
-
showCloseButton && /* @__PURE__ */
|
|
2582
|
+
showCloseButton && /* @__PURE__ */ jsx22(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx22(Button, { variant: "secondary", size: "md", children: "Close" }) })
|
|
2544
2583
|
]
|
|
2545
2584
|
})
|
|
2546
2585
|
);
|
|
@@ -2551,7 +2590,7 @@ function DialogTitle(_a) {
|
|
|
2551
2590
|
} = _b, props = __objRest(_b, [
|
|
2552
2591
|
"className"
|
|
2553
2592
|
]);
|
|
2554
|
-
return /* @__PURE__ */
|
|
2593
|
+
return /* @__PURE__ */ jsx22(
|
|
2555
2594
|
DialogPrimitive.Title,
|
|
2556
2595
|
__spreadValues({
|
|
2557
2596
|
"data-slot": "dialog-title",
|
|
@@ -2565,7 +2604,7 @@ function DialogDescription(_a) {
|
|
|
2565
2604
|
} = _b, props = __objRest(_b, [
|
|
2566
2605
|
"className"
|
|
2567
2606
|
]);
|
|
2568
|
-
return /* @__PURE__ */
|
|
2607
|
+
return /* @__PURE__ */ jsx22(
|
|
2569
2608
|
DialogPrimitive.Description,
|
|
2570
2609
|
__spreadValues({
|
|
2571
2610
|
"data-slot": "dialog-description",
|
|
@@ -2575,14 +2614,14 @@ function DialogDescription(_a) {
|
|
|
2575
2614
|
}
|
|
2576
2615
|
|
|
2577
2616
|
// components/ui/command.tsx
|
|
2578
|
-
import { jsx as
|
|
2617
|
+
import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2579
2618
|
function Command(_a) {
|
|
2580
2619
|
var _b = _a, {
|
|
2581
2620
|
className
|
|
2582
2621
|
} = _b, props = __objRest(_b, [
|
|
2583
2622
|
"className"
|
|
2584
2623
|
]);
|
|
2585
|
-
return /* @__PURE__ */
|
|
2624
|
+
return /* @__PURE__ */ jsx23(
|
|
2586
2625
|
CommandPrimitive,
|
|
2587
2626
|
__spreadValues({
|
|
2588
2627
|
"data-slot": "command",
|
|
@@ -2609,15 +2648,15 @@ function CommandDialog(_a) {
|
|
|
2609
2648
|
]);
|
|
2610
2649
|
return /* @__PURE__ */ jsxs12(Dialog, __spreadProps(__spreadValues({}, props), { children: [
|
|
2611
2650
|
/* @__PURE__ */ jsxs12(DialogHeader, { className: "sr-only", children: [
|
|
2612
|
-
/* @__PURE__ */
|
|
2613
|
-
/* @__PURE__ */
|
|
2651
|
+
/* @__PURE__ */ jsx23(DialogTitle, { children: title }),
|
|
2652
|
+
/* @__PURE__ */ jsx23(DialogDescription, { children: description })
|
|
2614
2653
|
] }),
|
|
2615
|
-
/* @__PURE__ */
|
|
2654
|
+
/* @__PURE__ */ jsx23(
|
|
2616
2655
|
DialogContent,
|
|
2617
2656
|
{
|
|
2618
2657
|
className: cn("overflow-hidden p-0", className),
|
|
2619
2658
|
showCloseButton,
|
|
2620
|
-
children: /* @__PURE__ */
|
|
2659
|
+
children: /* @__PURE__ */ jsx23(Command, { className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-on-subtle [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
2621
2660
|
}
|
|
2622
2661
|
)
|
|
2623
2662
|
] }));
|
|
@@ -2634,8 +2673,8 @@ function CommandInput(_a) {
|
|
|
2634
2673
|
"data-slot": "command-input-wrapper",
|
|
2635
2674
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
2636
2675
|
children: [
|
|
2637
|
-
/* @__PURE__ */
|
|
2638
|
-
/* @__PURE__ */
|
|
2676
|
+
/* @__PURE__ */ jsx23(SearchIcon, { className: "size-4 shrink-0 opacity-50" }),
|
|
2677
|
+
/* @__PURE__ */ jsx23(
|
|
2639
2678
|
CommandPrimitive.Input,
|
|
2640
2679
|
__spreadValues({
|
|
2641
2680
|
"data-slot": "command-input",
|
|
@@ -2655,7 +2694,7 @@ function CommandList(_a) {
|
|
|
2655
2694
|
} = _b, props = __objRest(_b, [
|
|
2656
2695
|
"className"
|
|
2657
2696
|
]);
|
|
2658
|
-
return /* @__PURE__ */
|
|
2697
|
+
return /* @__PURE__ */ jsx23(
|
|
2659
2698
|
CommandPrimitive.List,
|
|
2660
2699
|
__spreadValues({
|
|
2661
2700
|
"data-slot": "command-list",
|
|
@@ -2668,7 +2707,7 @@ function CommandList(_a) {
|
|
|
2668
2707
|
}
|
|
2669
2708
|
function CommandEmpty(_a) {
|
|
2670
2709
|
var props = __objRest(_a, []);
|
|
2671
|
-
return /* @__PURE__ */
|
|
2710
|
+
return /* @__PURE__ */ jsx23(
|
|
2672
2711
|
CommandPrimitive.Empty,
|
|
2673
2712
|
__spreadValues({
|
|
2674
2713
|
"data-slot": "command-empty",
|
|
@@ -2682,7 +2721,7 @@ function CommandGroup(_a) {
|
|
|
2682
2721
|
} = _b, props = __objRest(_b, [
|
|
2683
2722
|
"className"
|
|
2684
2723
|
]);
|
|
2685
|
-
return /* @__PURE__ */
|
|
2724
|
+
return /* @__PURE__ */ jsx23(
|
|
2686
2725
|
CommandPrimitive.Group,
|
|
2687
2726
|
__spreadValues({
|
|
2688
2727
|
"data-slot": "command-group",
|
|
@@ -2699,7 +2738,7 @@ function CommandSeparator(_a) {
|
|
|
2699
2738
|
} = _b, props = __objRest(_b, [
|
|
2700
2739
|
"className"
|
|
2701
2740
|
]);
|
|
2702
|
-
return /* @__PURE__ */
|
|
2741
|
+
return /* @__PURE__ */ jsx23(
|
|
2703
2742
|
CommandPrimitive.Separator,
|
|
2704
2743
|
__spreadValues({
|
|
2705
2744
|
"data-slot": "command-separator",
|
|
@@ -2713,7 +2752,7 @@ function CommandItem(_a) {
|
|
|
2713
2752
|
} = _b, props = __objRest(_b, [
|
|
2714
2753
|
"className"
|
|
2715
2754
|
]);
|
|
2716
|
-
return /* @__PURE__ */
|
|
2755
|
+
return /* @__PURE__ */ jsx23(
|
|
2717
2756
|
CommandPrimitive.Item,
|
|
2718
2757
|
__spreadValues({
|
|
2719
2758
|
"data-slot": "command-item",
|
|
@@ -2730,7 +2769,7 @@ function CommandShortcut(_a) {
|
|
|
2730
2769
|
} = _b, props = __objRest(_b, [
|
|
2731
2770
|
"className"
|
|
2732
2771
|
]);
|
|
2733
|
-
return /* @__PURE__ */
|
|
2772
|
+
return /* @__PURE__ */ jsx23(
|
|
2734
2773
|
"span",
|
|
2735
2774
|
__spreadValues({
|
|
2736
2775
|
"data-slot": "command-shortcut",
|
|
@@ -2745,30 +2784,30 @@ function CommandShortcut(_a) {
|
|
|
2745
2784
|
// components/ui/context-menu.tsx
|
|
2746
2785
|
import { CheckIcon as CheckIcon3, ChevronRightIcon as ChevronRightIcon2, CircleIcon } from "lucide-react";
|
|
2747
2786
|
import { ContextMenu as ContextMenuPrimitive } from "radix-ui";
|
|
2748
|
-
import { jsx as
|
|
2787
|
+
import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2749
2788
|
function ContextMenu(_a) {
|
|
2750
2789
|
var props = __objRest(_a, []);
|
|
2751
|
-
return /* @__PURE__ */
|
|
2790
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Root, __spreadValues({ "data-slot": "context-menu" }, props));
|
|
2752
2791
|
}
|
|
2753
2792
|
function ContextMenuTrigger(_a) {
|
|
2754
2793
|
var props = __objRest(_a, []);
|
|
2755
|
-
return /* @__PURE__ */
|
|
2794
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Trigger, __spreadValues({ "data-slot": "context-menu-trigger" }, props));
|
|
2756
2795
|
}
|
|
2757
2796
|
function ContextMenuGroup(_a) {
|
|
2758
2797
|
var props = __objRest(_a, []);
|
|
2759
|
-
return /* @__PURE__ */
|
|
2798
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Group, __spreadValues({ "data-slot": "context-menu-group" }, props));
|
|
2760
2799
|
}
|
|
2761
2800
|
function ContextMenuPortal(_a) {
|
|
2762
2801
|
var props = __objRest(_a, []);
|
|
2763
|
-
return /* @__PURE__ */
|
|
2802
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Portal, __spreadValues({ "data-slot": "context-menu-portal" }, props));
|
|
2764
2803
|
}
|
|
2765
2804
|
function ContextMenuSub(_a) {
|
|
2766
2805
|
var props = __objRest(_a, []);
|
|
2767
|
-
return /* @__PURE__ */
|
|
2806
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Sub, __spreadValues({ "data-slot": "context-menu-sub" }, props));
|
|
2768
2807
|
}
|
|
2769
2808
|
function ContextMenuRadioGroup(_a) {
|
|
2770
2809
|
var props = __objRest(_a, []);
|
|
2771
|
-
return /* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ jsx24(
|
|
2772
2811
|
ContextMenuPrimitive.RadioGroup,
|
|
2773
2812
|
__spreadValues({
|
|
2774
2813
|
"data-slot": "context-menu-radio-group"
|
|
@@ -2797,7 +2836,7 @@ function ContextMenuSubTrigger(_a) {
|
|
|
2797
2836
|
}, props), {
|
|
2798
2837
|
children: [
|
|
2799
2838
|
children,
|
|
2800
|
-
/* @__PURE__ */
|
|
2839
|
+
/* @__PURE__ */ jsx24(ChevronRightIcon2, { className: "ml-auto" })
|
|
2801
2840
|
]
|
|
2802
2841
|
})
|
|
2803
2842
|
);
|
|
@@ -2808,7 +2847,7 @@ function ContextMenuSubContent(_a) {
|
|
|
2808
2847
|
} = _b, props = __objRest(_b, [
|
|
2809
2848
|
"className"
|
|
2810
2849
|
]);
|
|
2811
|
-
return /* @__PURE__ */
|
|
2850
|
+
return /* @__PURE__ */ jsx24(
|
|
2812
2851
|
ContextMenuPrimitive.SubContent,
|
|
2813
2852
|
__spreadValues({
|
|
2814
2853
|
"data-slot": "context-menu-sub-content",
|
|
@@ -2825,7 +2864,7 @@ function ContextMenuContent(_a) {
|
|
|
2825
2864
|
} = _b, props = __objRest(_b, [
|
|
2826
2865
|
"className"
|
|
2827
2866
|
]);
|
|
2828
|
-
return /* @__PURE__ */
|
|
2867
|
+
return /* @__PURE__ */ jsx24(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx24(
|
|
2829
2868
|
ContextMenuPrimitive.Content,
|
|
2830
2869
|
__spreadValues({
|
|
2831
2870
|
"data-slot": "context-menu-content",
|
|
@@ -2846,7 +2885,7 @@ function ContextMenuItem(_a) {
|
|
|
2846
2885
|
"inset",
|
|
2847
2886
|
"variant"
|
|
2848
2887
|
]);
|
|
2849
|
-
return /* @__PURE__ */
|
|
2888
|
+
return /* @__PURE__ */ jsx24(
|
|
2850
2889
|
ContextMenuPrimitive.Item,
|
|
2851
2890
|
__spreadValues({
|
|
2852
2891
|
"data-slot": "context-menu-item",
|
|
@@ -2880,7 +2919,7 @@ function ContextMenuCheckboxItem(_a) {
|
|
|
2880
2919
|
checked
|
|
2881
2920
|
}, props), {
|
|
2882
2921
|
children: [
|
|
2883
|
-
/* @__PURE__ */
|
|
2922
|
+
/* @__PURE__ */ jsx24("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx24(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx24(CheckIcon3, { className: "size-4" }) }) }),
|
|
2884
2923
|
children
|
|
2885
2924
|
]
|
|
2886
2925
|
})
|
|
@@ -2904,7 +2943,7 @@ function ContextMenuRadioItem(_a) {
|
|
|
2904
2943
|
)
|
|
2905
2944
|
}, props), {
|
|
2906
2945
|
children: [
|
|
2907
|
-
/* @__PURE__ */
|
|
2946
|
+
/* @__PURE__ */ jsx24("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx24(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx24(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
2908
2947
|
children
|
|
2909
2948
|
]
|
|
2910
2949
|
})
|
|
@@ -2918,7 +2957,7 @@ function ContextMenuLabel(_a) {
|
|
|
2918
2957
|
"className",
|
|
2919
2958
|
"inset"
|
|
2920
2959
|
]);
|
|
2921
|
-
return /* @__PURE__ */
|
|
2960
|
+
return /* @__PURE__ */ jsx24(
|
|
2922
2961
|
ContextMenuPrimitive.Label,
|
|
2923
2962
|
__spreadValues({
|
|
2924
2963
|
"data-slot": "context-menu-label",
|
|
@@ -2936,7 +2975,7 @@ function ContextMenuSeparator(_a) {
|
|
|
2936
2975
|
} = _b, props = __objRest(_b, [
|
|
2937
2976
|
"className"
|
|
2938
2977
|
]);
|
|
2939
|
-
return /* @__PURE__ */
|
|
2978
|
+
return /* @__PURE__ */ jsx24(
|
|
2940
2979
|
ContextMenuPrimitive.Separator,
|
|
2941
2980
|
__spreadValues({
|
|
2942
2981
|
"data-slot": "context-menu-separator",
|
|
@@ -2950,7 +2989,7 @@ function ContextMenuShortcut(_a) {
|
|
|
2950
2989
|
} = _b, props = __objRest(_b, [
|
|
2951
2990
|
"className"
|
|
2952
2991
|
]);
|
|
2953
|
-
return /* @__PURE__ */
|
|
2992
|
+
return /* @__PURE__ */ jsx24(
|
|
2954
2993
|
"span",
|
|
2955
2994
|
__spreadValues({
|
|
2956
2995
|
"data-slot": "context-menu-shortcut",
|
|
@@ -2964,34 +3003,34 @@ function ContextMenuShortcut(_a) {
|
|
|
2964
3003
|
|
|
2965
3004
|
// components/ui/direction.tsx
|
|
2966
3005
|
import { Direction } from "radix-ui";
|
|
2967
|
-
import { jsx as
|
|
3006
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2968
3007
|
function DirectionProvider({
|
|
2969
3008
|
dir,
|
|
2970
3009
|
direction,
|
|
2971
3010
|
children
|
|
2972
3011
|
}) {
|
|
2973
|
-
return /* @__PURE__ */
|
|
3012
|
+
return /* @__PURE__ */ jsx25(Direction.DirectionProvider, { dir: direction != null ? direction : dir, children });
|
|
2974
3013
|
}
|
|
2975
3014
|
var useDirection = Direction.useDirection;
|
|
2976
3015
|
|
|
2977
3016
|
// components/ui/drawer.tsx
|
|
2978
3017
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
2979
|
-
import { jsx as
|
|
3018
|
+
import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2980
3019
|
function Drawer(_a) {
|
|
2981
3020
|
var props = __objRest(_a, []);
|
|
2982
|
-
return /* @__PURE__ */
|
|
3021
|
+
return /* @__PURE__ */ jsx26(DrawerPrimitive.Root, __spreadValues({ "data-slot": "drawer" }, props));
|
|
2983
3022
|
}
|
|
2984
3023
|
function DrawerTrigger(_a) {
|
|
2985
3024
|
var props = __objRest(_a, []);
|
|
2986
|
-
return /* @__PURE__ */
|
|
3025
|
+
return /* @__PURE__ */ jsx26(DrawerPrimitive.Trigger, __spreadValues({ "data-slot": "drawer-trigger" }, props));
|
|
2987
3026
|
}
|
|
2988
3027
|
function DrawerPortal(_a) {
|
|
2989
3028
|
var props = __objRest(_a, []);
|
|
2990
|
-
return /* @__PURE__ */
|
|
3029
|
+
return /* @__PURE__ */ jsx26(DrawerPrimitive.Portal, __spreadValues({ "data-slot": "drawer-portal" }, props));
|
|
2991
3030
|
}
|
|
2992
3031
|
function DrawerClose(_a) {
|
|
2993
3032
|
var props = __objRest(_a, []);
|
|
2994
|
-
return /* @__PURE__ */
|
|
3033
|
+
return /* @__PURE__ */ jsx26(DrawerPrimitive.Close, __spreadValues({ "data-slot": "drawer-close" }, props));
|
|
2995
3034
|
}
|
|
2996
3035
|
function DrawerOverlay(_a) {
|
|
2997
3036
|
var _b = _a, {
|
|
@@ -2999,7 +3038,7 @@ function DrawerOverlay(_a) {
|
|
|
2999
3038
|
} = _b, props = __objRest(_b, [
|
|
3000
3039
|
"className"
|
|
3001
3040
|
]);
|
|
3002
|
-
return /* @__PURE__ */
|
|
3041
|
+
return /* @__PURE__ */ jsx26(
|
|
3003
3042
|
DrawerPrimitive.Overlay,
|
|
3004
3043
|
__spreadValues({
|
|
3005
3044
|
"data-slot": "drawer-overlay",
|
|
@@ -3019,7 +3058,7 @@ function DrawerContent(_a) {
|
|
|
3019
3058
|
"children"
|
|
3020
3059
|
]);
|
|
3021
3060
|
return /* @__PURE__ */ jsxs14(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
3022
|
-
/* @__PURE__ */
|
|
3061
|
+
/* @__PURE__ */ jsx26(DrawerOverlay, {}),
|
|
3023
3062
|
/* @__PURE__ */ jsxs14(
|
|
3024
3063
|
DrawerPrimitive.Content,
|
|
3025
3064
|
__spreadProps(__spreadValues({
|
|
@@ -3034,7 +3073,7 @@ function DrawerContent(_a) {
|
|
|
3034
3073
|
)
|
|
3035
3074
|
}, props), {
|
|
3036
3075
|
children: [
|
|
3037
|
-
/* @__PURE__ */
|
|
3076
|
+
/* @__PURE__ */ jsx26("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-subtle group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
3038
3077
|
children
|
|
3039
3078
|
]
|
|
3040
3079
|
})
|
|
@@ -3043,7 +3082,7 @@ function DrawerContent(_a) {
|
|
|
3043
3082
|
}
|
|
3044
3083
|
function DrawerHeader(_a) {
|
|
3045
3084
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3046
|
-
return /* @__PURE__ */
|
|
3085
|
+
return /* @__PURE__ */ jsx26(
|
|
3047
3086
|
"div",
|
|
3048
3087
|
__spreadValues({
|
|
3049
3088
|
"data-slot": "drawer-header",
|
|
@@ -3056,7 +3095,7 @@ function DrawerHeader(_a) {
|
|
|
3056
3095
|
}
|
|
3057
3096
|
function DrawerFooter(_a) {
|
|
3058
3097
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3059
|
-
return /* @__PURE__ */
|
|
3098
|
+
return /* @__PURE__ */ jsx26(
|
|
3060
3099
|
"div",
|
|
3061
3100
|
__spreadValues({
|
|
3062
3101
|
"data-slot": "drawer-footer",
|
|
@@ -3070,7 +3109,7 @@ function DrawerTitle(_a) {
|
|
|
3070
3109
|
} = _b, props = __objRest(_b, [
|
|
3071
3110
|
"className"
|
|
3072
3111
|
]);
|
|
3073
|
-
return /* @__PURE__ */
|
|
3112
|
+
return /* @__PURE__ */ jsx26(
|
|
3074
3113
|
DrawerPrimitive.Title,
|
|
3075
3114
|
__spreadValues({
|
|
3076
3115
|
"data-slot": "drawer-title",
|
|
@@ -3084,7 +3123,7 @@ function DrawerDescription(_a) {
|
|
|
3084
3123
|
} = _b, props = __objRest(_b, [
|
|
3085
3124
|
"className"
|
|
3086
3125
|
]);
|
|
3087
|
-
return /* @__PURE__ */
|
|
3126
|
+
return /* @__PURE__ */ jsx26(
|
|
3088
3127
|
DrawerPrimitive.Description,
|
|
3089
3128
|
__spreadValues({
|
|
3090
3129
|
"data-slot": "drawer-description",
|
|
@@ -3096,18 +3135,18 @@ function DrawerDescription(_a) {
|
|
|
3096
3135
|
// components/ui/dropdown-menu.tsx
|
|
3097
3136
|
import { CheckIcon as CheckIcon4, ChevronRightIcon as ChevronRightIcon3, CircleIcon as CircleIcon2 } from "lucide-react";
|
|
3098
3137
|
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
|
|
3099
|
-
import { jsx as
|
|
3138
|
+
import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3100
3139
|
function DropdownMenu(_a) {
|
|
3101
3140
|
var props = __objRest(_a, []);
|
|
3102
|
-
return /* @__PURE__ */
|
|
3141
|
+
return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
|
|
3103
3142
|
}
|
|
3104
3143
|
function DropdownMenuPortal(_a) {
|
|
3105
3144
|
var props = __objRest(_a, []);
|
|
3106
|
-
return /* @__PURE__ */
|
|
3145
|
+
return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Portal, __spreadValues({ "data-slot": "dropdown-menu-portal" }, props));
|
|
3107
3146
|
}
|
|
3108
3147
|
function DropdownMenuTrigger(_a) {
|
|
3109
3148
|
var props = __objRest(_a, []);
|
|
3110
|
-
return /* @__PURE__ */
|
|
3149
|
+
return /* @__PURE__ */ jsx27(
|
|
3111
3150
|
DropdownMenuPrimitive.Trigger,
|
|
3112
3151
|
__spreadValues({
|
|
3113
3152
|
"data-slot": "dropdown-menu-trigger"
|
|
@@ -3122,7 +3161,7 @@ function DropdownMenuContent(_a) {
|
|
|
3122
3161
|
"className",
|
|
3123
3162
|
"sideOffset"
|
|
3124
3163
|
]);
|
|
3125
|
-
return /* @__PURE__ */
|
|
3164
|
+
return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx27(
|
|
3126
3165
|
DropdownMenuPrimitive.Content,
|
|
3127
3166
|
__spreadValues({
|
|
3128
3167
|
"data-slot": "dropdown-menu-content",
|
|
@@ -3136,7 +3175,7 @@ function DropdownMenuContent(_a) {
|
|
|
3136
3175
|
}
|
|
3137
3176
|
function DropdownMenuGroup(_a) {
|
|
3138
3177
|
var props = __objRest(_a, []);
|
|
3139
|
-
return /* @__PURE__ */
|
|
3178
|
+
return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
|
|
3140
3179
|
}
|
|
3141
3180
|
function DropdownMenuItem(_a) {
|
|
3142
3181
|
var _b = _a, {
|
|
@@ -3148,7 +3187,7 @@ function DropdownMenuItem(_a) {
|
|
|
3148
3187
|
"inset",
|
|
3149
3188
|
"variant"
|
|
3150
3189
|
]);
|
|
3151
|
-
return /* @__PURE__ */
|
|
3190
|
+
return /* @__PURE__ */ jsx27(
|
|
3152
3191
|
DropdownMenuPrimitive.Item,
|
|
3153
3192
|
__spreadValues({
|
|
3154
3193
|
"data-slot": "dropdown-menu-item",
|
|
@@ -3182,7 +3221,7 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3182
3221
|
checked
|
|
3183
3222
|
}, props), {
|
|
3184
3223
|
children: [
|
|
3185
|
-
/* @__PURE__ */
|
|
3224
|
+
/* @__PURE__ */ jsx27("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(CheckIcon4, { className: "size-4" }) }) }),
|
|
3186
3225
|
children
|
|
3187
3226
|
]
|
|
3188
3227
|
})
|
|
@@ -3190,7 +3229,7 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3190
3229
|
}
|
|
3191
3230
|
function DropdownMenuRadioGroup(_a) {
|
|
3192
3231
|
var props = __objRest(_a, []);
|
|
3193
|
-
return /* @__PURE__ */
|
|
3232
|
+
return /* @__PURE__ */ jsx27(
|
|
3194
3233
|
DropdownMenuPrimitive.RadioGroup,
|
|
3195
3234
|
__spreadValues({
|
|
3196
3235
|
"data-slot": "dropdown-menu-radio-group"
|
|
@@ -3215,7 +3254,7 @@ function DropdownMenuRadioItem(_a) {
|
|
|
3215
3254
|
)
|
|
3216
3255
|
}, props), {
|
|
3217
3256
|
children: [
|
|
3218
|
-
/* @__PURE__ */
|
|
3257
|
+
/* @__PURE__ */ jsx27("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(CircleIcon2, { className: "size-2 fill-current" }) }) }),
|
|
3219
3258
|
children
|
|
3220
3259
|
]
|
|
3221
3260
|
})
|
|
@@ -3229,7 +3268,7 @@ function DropdownMenuLabel(_a) {
|
|
|
3229
3268
|
"className",
|
|
3230
3269
|
"inset"
|
|
3231
3270
|
]);
|
|
3232
|
-
return /* @__PURE__ */
|
|
3271
|
+
return /* @__PURE__ */ jsx27(
|
|
3233
3272
|
DropdownMenuPrimitive.Label,
|
|
3234
3273
|
__spreadValues({
|
|
3235
3274
|
"data-slot": "dropdown-menu-label",
|
|
@@ -3247,7 +3286,7 @@ function DropdownMenuSeparator(_a) {
|
|
|
3247
3286
|
} = _b, props = __objRest(_b, [
|
|
3248
3287
|
"className"
|
|
3249
3288
|
]);
|
|
3250
|
-
return /* @__PURE__ */
|
|
3289
|
+
return /* @__PURE__ */ jsx27(
|
|
3251
3290
|
DropdownMenuPrimitive.Separator,
|
|
3252
3291
|
__spreadValues({
|
|
3253
3292
|
"data-slot": "dropdown-menu-separator",
|
|
@@ -3261,7 +3300,7 @@ function DropdownMenuShortcut(_a) {
|
|
|
3261
3300
|
} = _b, props = __objRest(_b, [
|
|
3262
3301
|
"className"
|
|
3263
3302
|
]);
|
|
3264
|
-
return /* @__PURE__ */
|
|
3303
|
+
return /* @__PURE__ */ jsx27(
|
|
3265
3304
|
"span",
|
|
3266
3305
|
__spreadValues({
|
|
3267
3306
|
"data-slot": "dropdown-menu-shortcut",
|
|
@@ -3274,7 +3313,7 @@ function DropdownMenuShortcut(_a) {
|
|
|
3274
3313
|
}
|
|
3275
3314
|
function DropdownMenuSub(_a) {
|
|
3276
3315
|
var props = __objRest(_a, []);
|
|
3277
|
-
return /* @__PURE__ */
|
|
3316
|
+
return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Sub, __spreadValues({ "data-slot": "dropdown-menu-sub" }, props));
|
|
3278
3317
|
}
|
|
3279
3318
|
function DropdownMenuSubTrigger(_a) {
|
|
3280
3319
|
var _b = _a, {
|
|
@@ -3298,7 +3337,7 @@ function DropdownMenuSubTrigger(_a) {
|
|
|
3298
3337
|
}, props), {
|
|
3299
3338
|
children: [
|
|
3300
3339
|
children,
|
|
3301
|
-
/* @__PURE__ */
|
|
3340
|
+
/* @__PURE__ */ jsx27(ChevronRightIcon3, { className: "ml-auto size-4" })
|
|
3302
3341
|
]
|
|
3303
3342
|
})
|
|
3304
3343
|
);
|
|
@@ -3309,7 +3348,7 @@ function DropdownMenuSubContent(_a) {
|
|
|
3309
3348
|
} = _b, props = __objRest(_b, [
|
|
3310
3349
|
"className"
|
|
3311
3350
|
]);
|
|
3312
|
-
return /* @__PURE__ */
|
|
3351
|
+
return /* @__PURE__ */ jsx27(
|
|
3313
3352
|
DropdownMenuPrimitive.SubContent,
|
|
3314
3353
|
__spreadValues({
|
|
3315
3354
|
"data-slot": "dropdown-menu-sub-content",
|
|
@@ -3322,11 +3361,11 @@ function DropdownMenuSubContent(_a) {
|
|
|
3322
3361
|
}
|
|
3323
3362
|
|
|
3324
3363
|
// components/ui/empty.tsx
|
|
3325
|
-
import { cva as
|
|
3326
|
-
import { jsx as
|
|
3364
|
+
import { cva as cva7 } from "class-variance-authority";
|
|
3365
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
3327
3366
|
function Empty(_a) {
|
|
3328
3367
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3329
|
-
return /* @__PURE__ */
|
|
3368
|
+
return /* @__PURE__ */ jsx28(
|
|
3330
3369
|
"div",
|
|
3331
3370
|
__spreadValues({
|
|
3332
3371
|
"data-slot": "empty",
|
|
@@ -3339,7 +3378,7 @@ function Empty(_a) {
|
|
|
3339
3378
|
}
|
|
3340
3379
|
function EmptyHeader(_a) {
|
|
3341
3380
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3342
|
-
return /* @__PURE__ */
|
|
3381
|
+
return /* @__PURE__ */ jsx28(
|
|
3343
3382
|
"div",
|
|
3344
3383
|
__spreadValues({
|
|
3345
3384
|
"data-slot": "empty-header",
|
|
@@ -3350,7 +3389,7 @@ function EmptyHeader(_a) {
|
|
|
3350
3389
|
}, props)
|
|
3351
3390
|
);
|
|
3352
3391
|
}
|
|
3353
|
-
var emptyMediaVariants =
|
|
3392
|
+
var emptyMediaVariants = cva7(
|
|
3354
3393
|
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3355
3394
|
{
|
|
3356
3395
|
variants: {
|
|
@@ -3372,7 +3411,7 @@ function EmptyMedia(_a) {
|
|
|
3372
3411
|
"className",
|
|
3373
3412
|
"variant"
|
|
3374
3413
|
]);
|
|
3375
|
-
return /* @__PURE__ */
|
|
3414
|
+
return /* @__PURE__ */ jsx28(
|
|
3376
3415
|
"div",
|
|
3377
3416
|
__spreadValues({
|
|
3378
3417
|
"data-slot": "empty-icon",
|
|
@@ -3383,7 +3422,7 @@ function EmptyMedia(_a) {
|
|
|
3383
3422
|
}
|
|
3384
3423
|
function EmptyTitle(_a) {
|
|
3385
3424
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3386
|
-
return /* @__PURE__ */
|
|
3425
|
+
return /* @__PURE__ */ jsx28(
|
|
3387
3426
|
"div",
|
|
3388
3427
|
__spreadValues({
|
|
3389
3428
|
"data-slot": "empty-title",
|
|
@@ -3393,7 +3432,7 @@ function EmptyTitle(_a) {
|
|
|
3393
3432
|
}
|
|
3394
3433
|
function EmptyDescription(_a) {
|
|
3395
3434
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3396
|
-
return /* @__PURE__ */
|
|
3435
|
+
return /* @__PURE__ */ jsx28(
|
|
3397
3436
|
"div",
|
|
3398
3437
|
__spreadValues({
|
|
3399
3438
|
"data-slot": "empty-description",
|
|
@@ -3406,7 +3445,7 @@ function EmptyDescription(_a) {
|
|
|
3406
3445
|
}
|
|
3407
3446
|
function EmptyContent(_a) {
|
|
3408
3447
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3409
|
-
return /* @__PURE__ */
|
|
3448
|
+
return /* @__PURE__ */ jsx28(
|
|
3410
3449
|
"div",
|
|
3411
3450
|
__spreadValues({
|
|
3412
3451
|
"data-slot": "empty-content",
|
|
@@ -3420,18 +3459,18 @@ function EmptyContent(_a) {
|
|
|
3420
3459
|
|
|
3421
3460
|
// components/ui/field.tsx
|
|
3422
3461
|
import { useMemo as useMemo2 } from "react";
|
|
3423
|
-
import { cva as
|
|
3462
|
+
import { cva as cva8 } from "class-variance-authority";
|
|
3424
3463
|
|
|
3425
3464
|
// components/ui/label.tsx
|
|
3426
3465
|
import { Label as LabelPrimitive } from "radix-ui";
|
|
3427
|
-
import { jsx as
|
|
3466
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3428
3467
|
function Label(_a) {
|
|
3429
3468
|
var _b = _a, {
|
|
3430
3469
|
className
|
|
3431
3470
|
} = _b, props = __objRest(_b, [
|
|
3432
3471
|
"className"
|
|
3433
3472
|
]);
|
|
3434
|
-
return /* @__PURE__ */
|
|
3473
|
+
return /* @__PURE__ */ jsx29(
|
|
3435
3474
|
LabelPrimitive.Root,
|
|
3436
3475
|
__spreadValues({
|
|
3437
3476
|
"data-slot": "label",
|
|
@@ -3445,7 +3484,7 @@ function Label(_a) {
|
|
|
3445
3484
|
|
|
3446
3485
|
// components/ui/separator.tsx
|
|
3447
3486
|
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
3448
|
-
import { jsx as
|
|
3487
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
3449
3488
|
function Separator(_a) {
|
|
3450
3489
|
var _b = _a, {
|
|
3451
3490
|
className,
|
|
@@ -3456,7 +3495,7 @@ function Separator(_a) {
|
|
|
3456
3495
|
"orientation",
|
|
3457
3496
|
"decorative"
|
|
3458
3497
|
]);
|
|
3459
|
-
return /* @__PURE__ */
|
|
3498
|
+
return /* @__PURE__ */ jsx30(
|
|
3460
3499
|
SeparatorPrimitive.Root,
|
|
3461
3500
|
__spreadValues({
|
|
3462
3501
|
"data-slot": "separator",
|
|
@@ -3471,10 +3510,10 @@ function Separator(_a) {
|
|
|
3471
3510
|
}
|
|
3472
3511
|
|
|
3473
3512
|
// components/ui/field.tsx
|
|
3474
|
-
import { jsx as
|
|
3513
|
+
import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3475
3514
|
function FieldSet(_a) {
|
|
3476
3515
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3477
|
-
return /* @__PURE__ */
|
|
3516
|
+
return /* @__PURE__ */ jsx31(
|
|
3478
3517
|
"fieldset",
|
|
3479
3518
|
__spreadValues({
|
|
3480
3519
|
"data-slot": "field-set",
|
|
@@ -3494,7 +3533,7 @@ function FieldLegend(_a) {
|
|
|
3494
3533
|
"className",
|
|
3495
3534
|
"variant"
|
|
3496
3535
|
]);
|
|
3497
|
-
return /* @__PURE__ */
|
|
3536
|
+
return /* @__PURE__ */ jsx31(
|
|
3498
3537
|
"legend",
|
|
3499
3538
|
__spreadValues({
|
|
3500
3539
|
"data-slot": "field-legend",
|
|
@@ -3510,7 +3549,7 @@ function FieldLegend(_a) {
|
|
|
3510
3549
|
}
|
|
3511
3550
|
function FieldGroup(_a) {
|
|
3512
3551
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3513
|
-
return /* @__PURE__ */
|
|
3552
|
+
return /* @__PURE__ */ jsx31(
|
|
3514
3553
|
"div",
|
|
3515
3554
|
__spreadValues({
|
|
3516
3555
|
"data-slot": "field-group",
|
|
@@ -3521,7 +3560,7 @@ function FieldGroup(_a) {
|
|
|
3521
3560
|
}, props)
|
|
3522
3561
|
);
|
|
3523
3562
|
}
|
|
3524
|
-
var fieldVariants =
|
|
3563
|
+
var fieldVariants = cva8(
|
|
3525
3564
|
"group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
|
|
3526
3565
|
{
|
|
3527
3566
|
variants: {
|
|
@@ -3552,7 +3591,7 @@ function Field(_a) {
|
|
|
3552
3591
|
"className",
|
|
3553
3592
|
"orientation"
|
|
3554
3593
|
]);
|
|
3555
|
-
return /* @__PURE__ */
|
|
3594
|
+
return /* @__PURE__ */ jsx31(
|
|
3556
3595
|
"div",
|
|
3557
3596
|
__spreadValues({
|
|
3558
3597
|
role: "group",
|
|
@@ -3564,7 +3603,7 @@ function Field(_a) {
|
|
|
3564
3603
|
}
|
|
3565
3604
|
function FieldContent(_a) {
|
|
3566
3605
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3567
|
-
return /* @__PURE__ */
|
|
3606
|
+
return /* @__PURE__ */ jsx31(
|
|
3568
3607
|
"div",
|
|
3569
3608
|
__spreadValues({
|
|
3570
3609
|
"data-slot": "field-content",
|
|
@@ -3581,7 +3620,7 @@ function FieldLabel(_a) {
|
|
|
3581
3620
|
} = _b, props = __objRest(_b, [
|
|
3582
3621
|
"className"
|
|
3583
3622
|
]);
|
|
3584
|
-
return /* @__PURE__ */
|
|
3623
|
+
return /* @__PURE__ */ jsx31(
|
|
3585
3624
|
Label,
|
|
3586
3625
|
__spreadValues({
|
|
3587
3626
|
"data-slot": "field-label",
|
|
@@ -3596,7 +3635,7 @@ function FieldLabel(_a) {
|
|
|
3596
3635
|
}
|
|
3597
3636
|
function FieldTitle(_a) {
|
|
3598
3637
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3599
|
-
return /* @__PURE__ */
|
|
3638
|
+
return /* @__PURE__ */ jsx31(
|
|
3600
3639
|
"div",
|
|
3601
3640
|
__spreadValues({
|
|
3602
3641
|
"data-slot": "field-label",
|
|
@@ -3609,7 +3648,7 @@ function FieldTitle(_a) {
|
|
|
3609
3648
|
}
|
|
3610
3649
|
function FieldDescription(_a) {
|
|
3611
3650
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3612
|
-
return /* @__PURE__ */
|
|
3651
|
+
return /* @__PURE__ */ jsx31(
|
|
3613
3652
|
"p",
|
|
3614
3653
|
__spreadValues({
|
|
3615
3654
|
"data-slot": "field-description",
|
|
@@ -3641,8 +3680,8 @@ function FieldSeparator(_a) {
|
|
|
3641
3680
|
)
|
|
3642
3681
|
}, props), {
|
|
3643
3682
|
children: [
|
|
3644
|
-
/* @__PURE__ */
|
|
3645
|
-
children && /* @__PURE__ */
|
|
3683
|
+
/* @__PURE__ */ jsx31(Separator, { className: "absolute inset-0 top-1/2" }),
|
|
3684
|
+
children && /* @__PURE__ */ jsx31(
|
|
3646
3685
|
"span",
|
|
3647
3686
|
{
|
|
3648
3687
|
className: "relative mx-auto block w-fit bg-prominent px-2 text-on-subtle",
|
|
@@ -3678,14 +3717,14 @@ function FieldError(_a) {
|
|
|
3678
3717
|
if ((uniqueErrors == null ? void 0 : uniqueErrors.length) == 1) {
|
|
3679
3718
|
return (_a2 = uniqueErrors[0]) == null ? void 0 : _a2.message;
|
|
3680
3719
|
}
|
|
3681
|
-
return /* @__PURE__ */
|
|
3682
|
-
(error, index) => (error == null ? void 0 : error.message) && /* @__PURE__ */
|
|
3720
|
+
return /* @__PURE__ */ jsx31("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
|
|
3721
|
+
(error, index) => (error == null ? void 0 : error.message) && /* @__PURE__ */ jsx31("li", { children: error.message }, index)
|
|
3683
3722
|
) });
|
|
3684
3723
|
}, [children, errors]);
|
|
3685
3724
|
if (!content) {
|
|
3686
3725
|
return null;
|
|
3687
3726
|
}
|
|
3688
|
-
return /* @__PURE__ */
|
|
3727
|
+
return /* @__PURE__ */ jsx31(
|
|
3689
3728
|
"div",
|
|
3690
3729
|
__spreadProps(__spreadValues({
|
|
3691
3730
|
role: "alert",
|
|
@@ -3706,14 +3745,14 @@ import {
|
|
|
3706
3745
|
useFormContext,
|
|
3707
3746
|
useFormState
|
|
3708
3747
|
} from "react-hook-form";
|
|
3709
|
-
import { jsx as
|
|
3748
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3710
3749
|
var Form = FormProvider;
|
|
3711
3750
|
var FormFieldContext = React8.createContext(
|
|
3712
3751
|
{}
|
|
3713
3752
|
);
|
|
3714
3753
|
var FormField = (_a) => {
|
|
3715
3754
|
var props = __objRest(_a, []);
|
|
3716
|
-
return /* @__PURE__ */
|
|
3755
|
+
return /* @__PURE__ */ jsx32(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx32(Controller, __spreadValues({}, props)) });
|
|
3717
3756
|
};
|
|
3718
3757
|
var useFormField = () => {
|
|
3719
3758
|
const fieldContext = React8.useContext(FormFieldContext);
|
|
@@ -3739,7 +3778,7 @@ var FormItemContext = React8.createContext(
|
|
|
3739
3778
|
function FormItem(_a) {
|
|
3740
3779
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3741
3780
|
const id = React8.useId();
|
|
3742
|
-
return /* @__PURE__ */
|
|
3781
|
+
return /* @__PURE__ */ jsx32(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx32(
|
|
3743
3782
|
"div",
|
|
3744
3783
|
__spreadValues({
|
|
3745
3784
|
"data-slot": "form-item",
|
|
@@ -3754,7 +3793,7 @@ function FormLabel(_a) {
|
|
|
3754
3793
|
"className"
|
|
3755
3794
|
]);
|
|
3756
3795
|
const { error, formItemId } = useFormField();
|
|
3757
|
-
return /* @__PURE__ */
|
|
3796
|
+
return /* @__PURE__ */ jsx32(
|
|
3758
3797
|
Label,
|
|
3759
3798
|
__spreadValues({
|
|
3760
3799
|
"data-slot": "form-label",
|
|
@@ -3767,7 +3806,7 @@ function FormLabel(_a) {
|
|
|
3767
3806
|
function FormControl(_a) {
|
|
3768
3807
|
var props = __objRest(_a, []);
|
|
3769
3808
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
3770
|
-
return /* @__PURE__ */
|
|
3809
|
+
return /* @__PURE__ */ jsx32(
|
|
3771
3810
|
Slot4.Root,
|
|
3772
3811
|
__spreadValues({
|
|
3773
3812
|
"data-slot": "form-control",
|
|
@@ -3780,7 +3819,7 @@ function FormControl(_a) {
|
|
|
3780
3819
|
function FormDescription(_a) {
|
|
3781
3820
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3782
3821
|
const { formDescriptionId } = useFormField();
|
|
3783
|
-
return /* @__PURE__ */
|
|
3822
|
+
return /* @__PURE__ */ jsx32(
|
|
3784
3823
|
"p",
|
|
3785
3824
|
__spreadValues({
|
|
3786
3825
|
"data-slot": "form-description",
|
|
@@ -3797,7 +3836,7 @@ function FormMessage(_a) {
|
|
|
3797
3836
|
if (!body) {
|
|
3798
3837
|
return null;
|
|
3799
3838
|
}
|
|
3800
|
-
return /* @__PURE__ */
|
|
3839
|
+
return /* @__PURE__ */ jsx32(
|
|
3801
3840
|
"p",
|
|
3802
3841
|
__spreadProps(__spreadValues({
|
|
3803
3842
|
"data-slot": "form-message",
|
|
@@ -3811,14 +3850,14 @@ function FormMessage(_a) {
|
|
|
3811
3850
|
|
|
3812
3851
|
// components/ui/hover-card.tsx
|
|
3813
3852
|
import { HoverCard as HoverCardPrimitive } from "radix-ui";
|
|
3814
|
-
import { jsx as
|
|
3853
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3815
3854
|
function HoverCard(_a) {
|
|
3816
3855
|
var props = __objRest(_a, []);
|
|
3817
|
-
return /* @__PURE__ */
|
|
3856
|
+
return /* @__PURE__ */ jsx33(HoverCardPrimitive.Root, __spreadValues({ "data-slot": "hover-card" }, props));
|
|
3818
3857
|
}
|
|
3819
3858
|
function HoverCardTrigger(_a) {
|
|
3820
3859
|
var props = __objRest(_a, []);
|
|
3821
|
-
return /* @__PURE__ */
|
|
3860
|
+
return /* @__PURE__ */ jsx33(HoverCardPrimitive.Trigger, __spreadValues({ "data-slot": "hover-card-trigger" }, props));
|
|
3822
3861
|
}
|
|
3823
3862
|
function HoverCardContent(_a) {
|
|
3824
3863
|
var _b = _a, {
|
|
@@ -3830,7 +3869,7 @@ function HoverCardContent(_a) {
|
|
|
3830
3869
|
"align",
|
|
3831
3870
|
"sideOffset"
|
|
3832
3871
|
]);
|
|
3833
|
-
return /* @__PURE__ */
|
|
3872
|
+
return /* @__PURE__ */ jsx33(HoverCardPrimitive.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsx33(
|
|
3834
3873
|
HoverCardPrimitive.Content,
|
|
3835
3874
|
__spreadValues({
|
|
3836
3875
|
"data-slot": "hover-card-content",
|
|
@@ -3848,7 +3887,7 @@ function HoverCardContent(_a) {
|
|
|
3848
3887
|
import * as React9 from "react";
|
|
3849
3888
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
3850
3889
|
import { MinusIcon } from "lucide-react";
|
|
3851
|
-
import { jsx as
|
|
3890
|
+
import { jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3852
3891
|
function InputOTP(_a) {
|
|
3853
3892
|
var _b = _a, {
|
|
3854
3893
|
className,
|
|
@@ -3857,7 +3896,7 @@ function InputOTP(_a) {
|
|
|
3857
3896
|
"className",
|
|
3858
3897
|
"containerClassName"
|
|
3859
3898
|
]);
|
|
3860
|
-
return /* @__PURE__ */
|
|
3899
|
+
return /* @__PURE__ */ jsx34(
|
|
3861
3900
|
OTPInput,
|
|
3862
3901
|
__spreadValues({
|
|
3863
3902
|
"data-slot": "input-otp",
|
|
@@ -3871,7 +3910,7 @@ function InputOTP(_a) {
|
|
|
3871
3910
|
}
|
|
3872
3911
|
function InputOTPGroup(_a) {
|
|
3873
3912
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3874
|
-
return /* @__PURE__ */
|
|
3913
|
+
return /* @__PURE__ */ jsx34(
|
|
3875
3914
|
"div",
|
|
3876
3915
|
__spreadValues({
|
|
3877
3916
|
"data-slot": "input-otp-group",
|
|
@@ -3902,23 +3941,23 @@ function InputOTPSlot(_a) {
|
|
|
3902
3941
|
}, props), {
|
|
3903
3942
|
children: [
|
|
3904
3943
|
char,
|
|
3905
|
-
hasFakeCaret && /* @__PURE__ */
|
|
3944
|
+
hasFakeCaret && /* @__PURE__ */ jsx34("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx34("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
3906
3945
|
]
|
|
3907
3946
|
})
|
|
3908
3947
|
);
|
|
3909
3948
|
}
|
|
3910
3949
|
function InputOTPSeparator(_a) {
|
|
3911
3950
|
var props = __objRest(_a, []);
|
|
3912
|
-
return /* @__PURE__ */
|
|
3951
|
+
return /* @__PURE__ */ jsx34("div", __spreadProps(__spreadValues({ "data-slot": "input-otp-separator", role: "separator" }, props), { children: /* @__PURE__ */ jsx34(MinusIcon, {}) }));
|
|
3913
3952
|
}
|
|
3914
3953
|
|
|
3915
3954
|
// components/ui/item.tsx
|
|
3916
|
-
import { cva as
|
|
3955
|
+
import { cva as cva9 } from "class-variance-authority";
|
|
3917
3956
|
import { Slot as Slot5 } from "radix-ui";
|
|
3918
|
-
import { jsx as
|
|
3957
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3919
3958
|
function ItemGroup(_a) {
|
|
3920
3959
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3921
|
-
return /* @__PURE__ */
|
|
3960
|
+
return /* @__PURE__ */ jsx35(
|
|
3922
3961
|
"div",
|
|
3923
3962
|
__spreadValues({
|
|
3924
3963
|
role: "list",
|
|
@@ -3933,7 +3972,7 @@ function ItemSeparator(_a) {
|
|
|
3933
3972
|
} = _b, props = __objRest(_b, [
|
|
3934
3973
|
"className"
|
|
3935
3974
|
]);
|
|
3936
|
-
return /* @__PURE__ */
|
|
3975
|
+
return /* @__PURE__ */ jsx35(
|
|
3937
3976
|
Separator,
|
|
3938
3977
|
__spreadValues({
|
|
3939
3978
|
"data-slot": "item-separator",
|
|
@@ -3942,7 +3981,7 @@ function ItemSeparator(_a) {
|
|
|
3942
3981
|
}, props)
|
|
3943
3982
|
);
|
|
3944
3983
|
}
|
|
3945
|
-
var itemVariants =
|
|
3984
|
+
var itemVariants = cva9(
|
|
3946
3985
|
"group/item flex flex-wrap items-center rounded-md border border-transparent text-sm transition-colors duration-instant outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-secondary-hover",
|
|
3947
3986
|
{
|
|
3948
3987
|
variants: {
|
|
@@ -3975,7 +4014,7 @@ function Item(_a) {
|
|
|
3975
4014
|
"asChild"
|
|
3976
4015
|
]);
|
|
3977
4016
|
const Comp = asChild ? Slot5.Root : "div";
|
|
3978
|
-
return /* @__PURE__ */
|
|
4017
|
+
return /* @__PURE__ */ jsx35(
|
|
3979
4018
|
Comp,
|
|
3980
4019
|
__spreadValues({
|
|
3981
4020
|
"data-slot": "item",
|
|
@@ -3985,7 +4024,7 @@ function Item(_a) {
|
|
|
3985
4024
|
}, props)
|
|
3986
4025
|
);
|
|
3987
4026
|
}
|
|
3988
|
-
var itemMediaVariants =
|
|
4027
|
+
var itemMediaVariants = cva9(
|
|
3989
4028
|
"flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none",
|
|
3990
4029
|
{
|
|
3991
4030
|
variants: {
|
|
@@ -4008,7 +4047,7 @@ function ItemMedia(_a) {
|
|
|
4008
4047
|
"className",
|
|
4009
4048
|
"variant"
|
|
4010
4049
|
]);
|
|
4011
|
-
return /* @__PURE__ */
|
|
4050
|
+
return /* @__PURE__ */ jsx35(
|
|
4012
4051
|
"div",
|
|
4013
4052
|
__spreadValues({
|
|
4014
4053
|
"data-slot": "item-media",
|
|
@@ -4019,7 +4058,7 @@ function ItemMedia(_a) {
|
|
|
4019
4058
|
}
|
|
4020
4059
|
function ItemContent(_a) {
|
|
4021
4060
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4022
|
-
return /* @__PURE__ */
|
|
4061
|
+
return /* @__PURE__ */ jsx35(
|
|
4023
4062
|
"div",
|
|
4024
4063
|
__spreadValues({
|
|
4025
4064
|
"data-slot": "item-content",
|
|
@@ -4032,7 +4071,7 @@ function ItemContent(_a) {
|
|
|
4032
4071
|
}
|
|
4033
4072
|
function ItemTitle(_a) {
|
|
4034
4073
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4035
|
-
return /* @__PURE__ */
|
|
4074
|
+
return /* @__PURE__ */ jsx35(
|
|
4036
4075
|
"div",
|
|
4037
4076
|
__spreadValues({
|
|
4038
4077
|
"data-slot": "item-title",
|
|
@@ -4045,7 +4084,7 @@ function ItemTitle(_a) {
|
|
|
4045
4084
|
}
|
|
4046
4085
|
function ItemDescription(_a) {
|
|
4047
4086
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4048
|
-
return /* @__PURE__ */
|
|
4087
|
+
return /* @__PURE__ */ jsx35(
|
|
4049
4088
|
"p",
|
|
4050
4089
|
__spreadValues({
|
|
4051
4090
|
"data-slot": "item-description",
|
|
@@ -4059,7 +4098,7 @@ function ItemDescription(_a) {
|
|
|
4059
4098
|
}
|
|
4060
4099
|
function ItemActions(_a) {
|
|
4061
4100
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4062
|
-
return /* @__PURE__ */
|
|
4101
|
+
return /* @__PURE__ */ jsx35(
|
|
4063
4102
|
"div",
|
|
4064
4103
|
__spreadValues({
|
|
4065
4104
|
"data-slot": "item-actions",
|
|
@@ -4069,7 +4108,7 @@ function ItemActions(_a) {
|
|
|
4069
4108
|
}
|
|
4070
4109
|
function ItemHeader(_a) {
|
|
4071
4110
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4072
|
-
return /* @__PURE__ */
|
|
4111
|
+
return /* @__PURE__ */ jsx35(
|
|
4073
4112
|
"div",
|
|
4074
4113
|
__spreadValues({
|
|
4075
4114
|
"data-slot": "item-header",
|
|
@@ -4082,7 +4121,7 @@ function ItemHeader(_a) {
|
|
|
4082
4121
|
}
|
|
4083
4122
|
function ItemFooter(_a) {
|
|
4084
4123
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4085
|
-
return /* @__PURE__ */
|
|
4124
|
+
return /* @__PURE__ */ jsx35(
|
|
4086
4125
|
"div",
|
|
4087
4126
|
__spreadValues({
|
|
4088
4127
|
"data-slot": "item-footer",
|
|
@@ -4095,10 +4134,10 @@ function ItemFooter(_a) {
|
|
|
4095
4134
|
}
|
|
4096
4135
|
|
|
4097
4136
|
// components/ui/kbd.tsx
|
|
4098
|
-
import { jsx as
|
|
4137
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4099
4138
|
function Kbd(_a) {
|
|
4100
4139
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4101
|
-
return /* @__PURE__ */
|
|
4140
|
+
return /* @__PURE__ */ jsx36(
|
|
4102
4141
|
"kbd",
|
|
4103
4142
|
__spreadValues({
|
|
4104
4143
|
"data-slot": "kbd",
|
|
@@ -4113,7 +4152,7 @@ function Kbd(_a) {
|
|
|
4113
4152
|
}
|
|
4114
4153
|
function KbdGroup(_a) {
|
|
4115
4154
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4116
|
-
return /* @__PURE__ */
|
|
4155
|
+
return /* @__PURE__ */ jsx36(
|
|
4117
4156
|
"kbd",
|
|
4118
4157
|
__spreadValues({
|
|
4119
4158
|
"data-slot": "kbd-group",
|
|
@@ -4123,10 +4162,10 @@ function KbdGroup(_a) {
|
|
|
4123
4162
|
}
|
|
4124
4163
|
|
|
4125
4164
|
// components/ui/link.tsx
|
|
4126
|
-
import { cva as
|
|
4165
|
+
import { cva as cva10 } from "class-variance-authority";
|
|
4127
4166
|
import { Slot as Slot6 } from "radix-ui";
|
|
4128
|
-
import { jsx as
|
|
4129
|
-
var linkVariants =
|
|
4167
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
4168
|
+
var linkVariants = cva10(
|
|
4130
4169
|
"inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 active:opacity-60 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:inline font-display font-bold normal-case text-primary hover:underline decoration-2 underline-offset-4",
|
|
4131
4170
|
{
|
|
4132
4171
|
variants: {
|
|
@@ -4152,7 +4191,7 @@ function Link(_a) {
|
|
|
4152
4191
|
"asChild"
|
|
4153
4192
|
]);
|
|
4154
4193
|
const Comp = asChild ? Slot6.Root : "a";
|
|
4155
|
-
return /* @__PURE__ */
|
|
4194
|
+
return /* @__PURE__ */ jsx37(
|
|
4156
4195
|
Comp,
|
|
4157
4196
|
__spreadValues({
|
|
4158
4197
|
"data-slot": "link",
|
|
@@ -4165,14 +4204,14 @@ function Link(_a) {
|
|
|
4165
4204
|
// components/ui/menubar.tsx
|
|
4166
4205
|
import { CheckIcon as CheckIcon5, ChevronRightIcon as ChevronRightIcon4, CircleIcon as CircleIcon3 } from "lucide-react";
|
|
4167
4206
|
import { Menubar as MenubarPrimitive } from "radix-ui";
|
|
4168
|
-
import { jsx as
|
|
4207
|
+
import { jsx as jsx38, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4169
4208
|
function Menubar(_a) {
|
|
4170
4209
|
var _b = _a, {
|
|
4171
4210
|
className
|
|
4172
4211
|
} = _b, props = __objRest(_b, [
|
|
4173
4212
|
"className"
|
|
4174
4213
|
]);
|
|
4175
|
-
return /* @__PURE__ */
|
|
4214
|
+
return /* @__PURE__ */ jsx38(
|
|
4176
4215
|
MenubarPrimitive.Root,
|
|
4177
4216
|
__spreadValues({
|
|
4178
4217
|
"data-slot": "menubar",
|
|
@@ -4185,19 +4224,19 @@ function Menubar(_a) {
|
|
|
4185
4224
|
}
|
|
4186
4225
|
function MenubarMenu(_a) {
|
|
4187
4226
|
var props = __objRest(_a, []);
|
|
4188
|
-
return /* @__PURE__ */
|
|
4227
|
+
return /* @__PURE__ */ jsx38(MenubarPrimitive.Menu, __spreadValues({ "data-slot": "menubar-menu" }, props));
|
|
4189
4228
|
}
|
|
4190
4229
|
function MenubarGroup(_a) {
|
|
4191
4230
|
var props = __objRest(_a, []);
|
|
4192
|
-
return /* @__PURE__ */
|
|
4231
|
+
return /* @__PURE__ */ jsx38(MenubarPrimitive.Group, __spreadValues({ "data-slot": "menubar-group" }, props));
|
|
4193
4232
|
}
|
|
4194
4233
|
function MenubarPortal(_a) {
|
|
4195
4234
|
var props = __objRest(_a, []);
|
|
4196
|
-
return /* @__PURE__ */
|
|
4235
|
+
return /* @__PURE__ */ jsx38(MenubarPrimitive.Portal, __spreadValues({ "data-slot": "menubar-portal" }, props));
|
|
4197
4236
|
}
|
|
4198
4237
|
function MenubarRadioGroup(_a) {
|
|
4199
4238
|
var props = __objRest(_a, []);
|
|
4200
|
-
return /* @__PURE__ */
|
|
4239
|
+
return /* @__PURE__ */ jsx38(MenubarPrimitive.RadioGroup, __spreadValues({ "data-slot": "menubar-radio-group" }, props));
|
|
4201
4240
|
}
|
|
4202
4241
|
function MenubarTrigger(_a) {
|
|
4203
4242
|
var _b = _a, {
|
|
@@ -4205,7 +4244,7 @@ function MenubarTrigger(_a) {
|
|
|
4205
4244
|
} = _b, props = __objRest(_b, [
|
|
4206
4245
|
"className"
|
|
4207
4246
|
]);
|
|
4208
|
-
return /* @__PURE__ */
|
|
4247
|
+
return /* @__PURE__ */ jsx38(
|
|
4209
4248
|
MenubarPrimitive.Trigger,
|
|
4210
4249
|
__spreadValues({
|
|
4211
4250
|
"data-slot": "menubar-trigger",
|
|
@@ -4228,7 +4267,7 @@ function MenubarContent(_a) {
|
|
|
4228
4267
|
"alignOffset",
|
|
4229
4268
|
"sideOffset"
|
|
4230
4269
|
]);
|
|
4231
|
-
return /* @__PURE__ */
|
|
4270
|
+
return /* @__PURE__ */ jsx38(MenubarPortal, { children: /* @__PURE__ */ jsx38(
|
|
4232
4271
|
MenubarPrimitive.Content,
|
|
4233
4272
|
__spreadValues({
|
|
4234
4273
|
"data-slot": "menubar-content",
|
|
@@ -4252,7 +4291,7 @@ function MenubarItem(_a) {
|
|
|
4252
4291
|
"inset",
|
|
4253
4292
|
"variant"
|
|
4254
4293
|
]);
|
|
4255
|
-
return /* @__PURE__ */
|
|
4294
|
+
return /* @__PURE__ */ jsx38(
|
|
4256
4295
|
MenubarPrimitive.Item,
|
|
4257
4296
|
__spreadValues({
|
|
4258
4297
|
"data-slot": "menubar-item",
|
|
@@ -4286,7 +4325,7 @@ function MenubarCheckboxItem(_a) {
|
|
|
4286
4325
|
checked
|
|
4287
4326
|
}, props), {
|
|
4288
4327
|
children: [
|
|
4289
|
-
/* @__PURE__ */
|
|
4328
|
+
/* @__PURE__ */ jsx38("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx38(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx38(CheckIcon5, { className: "size-4" }) }) }),
|
|
4290
4329
|
children
|
|
4291
4330
|
]
|
|
4292
4331
|
})
|
|
@@ -4310,7 +4349,7 @@ function MenubarRadioItem(_a) {
|
|
|
4310
4349
|
)
|
|
4311
4350
|
}, props), {
|
|
4312
4351
|
children: [
|
|
4313
|
-
/* @__PURE__ */
|
|
4352
|
+
/* @__PURE__ */ jsx38("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx38(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx38(CircleIcon3, { className: "size-2 fill-current" }) }) }),
|
|
4314
4353
|
children
|
|
4315
4354
|
]
|
|
4316
4355
|
})
|
|
@@ -4324,7 +4363,7 @@ function MenubarLabel(_a) {
|
|
|
4324
4363
|
"className",
|
|
4325
4364
|
"inset"
|
|
4326
4365
|
]);
|
|
4327
|
-
return /* @__PURE__ */
|
|
4366
|
+
return /* @__PURE__ */ jsx38(
|
|
4328
4367
|
MenubarPrimitive.Label,
|
|
4329
4368
|
__spreadValues({
|
|
4330
4369
|
"data-slot": "menubar-label",
|
|
@@ -4342,7 +4381,7 @@ function MenubarSeparator(_a) {
|
|
|
4342
4381
|
} = _b, props = __objRest(_b, [
|
|
4343
4382
|
"className"
|
|
4344
4383
|
]);
|
|
4345
|
-
return /* @__PURE__ */
|
|
4384
|
+
return /* @__PURE__ */ jsx38(
|
|
4346
4385
|
MenubarPrimitive.Separator,
|
|
4347
4386
|
__spreadValues({
|
|
4348
4387
|
"data-slot": "menubar-separator",
|
|
@@ -4356,7 +4395,7 @@ function MenubarShortcut(_a) {
|
|
|
4356
4395
|
} = _b, props = __objRest(_b, [
|
|
4357
4396
|
"className"
|
|
4358
4397
|
]);
|
|
4359
|
-
return /* @__PURE__ */
|
|
4398
|
+
return /* @__PURE__ */ jsx38(
|
|
4360
4399
|
"span",
|
|
4361
4400
|
__spreadValues({
|
|
4362
4401
|
"data-slot": "menubar-shortcut",
|
|
@@ -4369,7 +4408,7 @@ function MenubarShortcut(_a) {
|
|
|
4369
4408
|
}
|
|
4370
4409
|
function MenubarSub(_a) {
|
|
4371
4410
|
var props = __objRest(_a, []);
|
|
4372
|
-
return /* @__PURE__ */
|
|
4411
|
+
return /* @__PURE__ */ jsx38(MenubarPrimitive.Sub, __spreadValues({ "data-slot": "menubar-sub" }, props));
|
|
4373
4412
|
}
|
|
4374
4413
|
function MenubarSubTrigger(_a) {
|
|
4375
4414
|
var _b = _a, {
|
|
@@ -4393,7 +4432,7 @@ function MenubarSubTrigger(_a) {
|
|
|
4393
4432
|
}, props), {
|
|
4394
4433
|
children: [
|
|
4395
4434
|
children,
|
|
4396
|
-
/* @__PURE__ */
|
|
4435
|
+
/* @__PURE__ */ jsx38(ChevronRightIcon4, { className: "ml-auto h-4 w-4" })
|
|
4397
4436
|
]
|
|
4398
4437
|
})
|
|
4399
4438
|
);
|
|
@@ -4404,7 +4443,7 @@ function MenubarSubContent(_a) {
|
|
|
4404
4443
|
} = _b, props = __objRest(_b, [
|
|
4405
4444
|
"className"
|
|
4406
4445
|
]);
|
|
4407
|
-
return /* @__PURE__ */
|
|
4446
|
+
return /* @__PURE__ */ jsx38(
|
|
4408
4447
|
MenubarPrimitive.SubContent,
|
|
4409
4448
|
__spreadValues({
|
|
4410
4449
|
"data-slot": "menubar-sub-content",
|
|
@@ -4418,7 +4457,7 @@ function MenubarSubContent(_a) {
|
|
|
4418
4457
|
|
|
4419
4458
|
// components/ui/native-select.tsx
|
|
4420
4459
|
import { ChevronDownIcon as ChevronDownIcon4 } from "lucide-react";
|
|
4421
|
-
import { jsx as
|
|
4460
|
+
import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4422
4461
|
function NativeSelect(_a) {
|
|
4423
4462
|
var _b = _a, {
|
|
4424
4463
|
className,
|
|
@@ -4433,7 +4472,7 @@ function NativeSelect(_a) {
|
|
|
4433
4472
|
className: "group/native-select relative w-fit has-[select:disabled]:opacity-50",
|
|
4434
4473
|
"data-slot": "native-select-wrapper",
|
|
4435
4474
|
children: [
|
|
4436
|
-
/* @__PURE__ */
|
|
4475
|
+
/* @__PURE__ */ jsx39(
|
|
4437
4476
|
"select",
|
|
4438
4477
|
__spreadValues({
|
|
4439
4478
|
"data-slot": "native-select",
|
|
@@ -4445,7 +4484,7 @@ function NativeSelect(_a) {
|
|
|
4445
4484
|
)
|
|
4446
4485
|
}, props)
|
|
4447
4486
|
),
|
|
4448
|
-
/* @__PURE__ */
|
|
4487
|
+
/* @__PURE__ */ jsx39(
|
|
4449
4488
|
ChevronDownIcon4,
|
|
4450
4489
|
{
|
|
4451
4490
|
className: "pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-on-subtle opacity-50 select-none",
|
|
@@ -4459,7 +4498,7 @@ function NativeSelect(_a) {
|
|
|
4459
4498
|
}
|
|
4460
4499
|
function NativeSelectOption(_a) {
|
|
4461
4500
|
var props = __objRest(_a, []);
|
|
4462
|
-
return /* @__PURE__ */
|
|
4501
|
+
return /* @__PURE__ */ jsx39("option", __spreadValues({ "data-slot": "native-select-option" }, props));
|
|
4463
4502
|
}
|
|
4464
4503
|
function NativeSelectOptGroup(_a) {
|
|
4465
4504
|
var _b = _a, {
|
|
@@ -4467,7 +4506,7 @@ function NativeSelectOptGroup(_a) {
|
|
|
4467
4506
|
} = _b, props = __objRest(_b, [
|
|
4468
4507
|
"className"
|
|
4469
4508
|
]);
|
|
4470
|
-
return /* @__PURE__ */
|
|
4509
|
+
return /* @__PURE__ */ jsx39(
|
|
4471
4510
|
"optgroup",
|
|
4472
4511
|
__spreadValues({
|
|
4473
4512
|
"data-slot": "native-select-optgroup",
|
|
@@ -4477,10 +4516,10 @@ function NativeSelectOptGroup(_a) {
|
|
|
4477
4516
|
}
|
|
4478
4517
|
|
|
4479
4518
|
// components/ui/navigation-button.tsx
|
|
4480
|
-
import { cva as
|
|
4519
|
+
import { cva as cva11 } from "class-variance-authority";
|
|
4481
4520
|
import { Slot as Slot7 } from "radix-ui";
|
|
4482
|
-
import { jsx as
|
|
4483
|
-
var navigationButtonVariants =
|
|
4521
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
4522
|
+
var navigationButtonVariants = cva11(
|
|
4484
4523
|
"inline-flex shrink-0 items-center justify-center bg-transparent text-on-prominent hover:bg-secondary-hover transition-all duration-fast ease-standard outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 active:opacity-60 disabled:pointer-events-none disabled:opacity-24 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
4485
4524
|
{
|
|
4486
4525
|
variants: {
|
|
@@ -4509,7 +4548,7 @@ function NavigationButton(_a) {
|
|
|
4509
4548
|
"children"
|
|
4510
4549
|
]);
|
|
4511
4550
|
const Comp = asChild ? Slot7.Root : "button";
|
|
4512
|
-
return /* @__PURE__ */
|
|
4551
|
+
return /* @__PURE__ */ jsx40(
|
|
4513
4552
|
Comp,
|
|
4514
4553
|
__spreadProps(__spreadValues({
|
|
4515
4554
|
"data-slot": "navigation-button",
|
|
@@ -4522,10 +4561,10 @@ function NavigationButton(_a) {
|
|
|
4522
4561
|
}
|
|
4523
4562
|
|
|
4524
4563
|
// components/ui/navigation-menu.tsx
|
|
4525
|
-
import { cva as
|
|
4564
|
+
import { cva as cva12 } from "class-variance-authority";
|
|
4526
4565
|
import { ChevronDownIcon as ChevronDownIcon5 } from "lucide-react";
|
|
4527
4566
|
import { NavigationMenu as NavigationMenuPrimitive } from "radix-ui";
|
|
4528
|
-
import { jsx as
|
|
4567
|
+
import { jsx as jsx41, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4529
4568
|
function NavigationMenu(_a) {
|
|
4530
4569
|
var _b = _a, {
|
|
4531
4570
|
className,
|
|
@@ -4548,7 +4587,7 @@ function NavigationMenu(_a) {
|
|
|
4548
4587
|
}, props), {
|
|
4549
4588
|
children: [
|
|
4550
4589
|
children,
|
|
4551
|
-
viewport && /* @__PURE__ */
|
|
4590
|
+
viewport && /* @__PURE__ */ jsx41(NavigationMenuViewport, {})
|
|
4552
4591
|
]
|
|
4553
4592
|
})
|
|
4554
4593
|
);
|
|
@@ -4559,7 +4598,7 @@ function NavigationMenuList(_a) {
|
|
|
4559
4598
|
} = _b, props = __objRest(_b, [
|
|
4560
4599
|
"className"
|
|
4561
4600
|
]);
|
|
4562
|
-
return /* @__PURE__ */
|
|
4601
|
+
return /* @__PURE__ */ jsx41(
|
|
4563
4602
|
NavigationMenuPrimitive.List,
|
|
4564
4603
|
__spreadValues({
|
|
4565
4604
|
"data-slot": "navigation-menu-list",
|
|
@@ -4576,7 +4615,7 @@ function NavigationMenuItem(_a) {
|
|
|
4576
4615
|
} = _b, props = __objRest(_b, [
|
|
4577
4616
|
"className"
|
|
4578
4617
|
]);
|
|
4579
|
-
return /* @__PURE__ */
|
|
4618
|
+
return /* @__PURE__ */ jsx41(
|
|
4580
4619
|
NavigationMenuPrimitive.Item,
|
|
4581
4620
|
__spreadValues({
|
|
4582
4621
|
"data-slot": "navigation-menu-item",
|
|
@@ -4584,7 +4623,7 @@ function NavigationMenuItem(_a) {
|
|
|
4584
4623
|
}, props)
|
|
4585
4624
|
);
|
|
4586
4625
|
}
|
|
4587
|
-
var navigationMenuTriggerStyle =
|
|
4626
|
+
var navigationMenuTriggerStyle = cva12(
|
|
4588
4627
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-prominent px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-on-prominent focus:bg-secondary-hover focus:text-on-prominent focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-secondary-hover data-[state=open]:text-on-prominent data-[state=open]:hover:bg-secondary-hover data-[state=open]:focus:bg-secondary-hover"
|
|
4589
4628
|
);
|
|
4590
4629
|
function NavigationMenuTrigger(_a) {
|
|
@@ -4604,7 +4643,7 @@ function NavigationMenuTrigger(_a) {
|
|
|
4604
4643
|
children: [
|
|
4605
4644
|
children,
|
|
4606
4645
|
" ",
|
|
4607
|
-
/* @__PURE__ */
|
|
4646
|
+
/* @__PURE__ */ jsx41(
|
|
4608
4647
|
ChevronDownIcon5,
|
|
4609
4648
|
{
|
|
4610
4649
|
className: "relative top-[1px] ml-1 size-3 transition duration-slow group-data-[state=open]:rotate-180",
|
|
@@ -4621,7 +4660,7 @@ function NavigationMenuContent(_a) {
|
|
|
4621
4660
|
} = _b, props = __objRest(_b, [
|
|
4622
4661
|
"className"
|
|
4623
4662
|
]);
|
|
4624
|
-
return /* @__PURE__ */
|
|
4663
|
+
return /* @__PURE__ */ jsx41(
|
|
4625
4664
|
NavigationMenuPrimitive.Content,
|
|
4626
4665
|
__spreadValues({
|
|
4627
4666
|
"data-slot": "navigation-menu-content",
|
|
@@ -4639,13 +4678,13 @@ function NavigationMenuViewport(_a) {
|
|
|
4639
4678
|
} = _b, props = __objRest(_b, [
|
|
4640
4679
|
"className"
|
|
4641
4680
|
]);
|
|
4642
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx41(
|
|
4643
4682
|
"div",
|
|
4644
4683
|
{
|
|
4645
4684
|
className: cn(
|
|
4646
4685
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
4647
4686
|
),
|
|
4648
|
-
children: /* @__PURE__ */
|
|
4687
|
+
children: /* @__PURE__ */ jsx41(
|
|
4649
4688
|
NavigationMenuPrimitive.Viewport,
|
|
4650
4689
|
__spreadValues({
|
|
4651
4690
|
"data-slot": "navigation-menu-viewport",
|
|
@@ -4664,7 +4703,7 @@ function NavigationMenuLink(_a) {
|
|
|
4664
4703
|
} = _b, props = __objRest(_b, [
|
|
4665
4704
|
"className"
|
|
4666
4705
|
]);
|
|
4667
|
-
return /* @__PURE__ */
|
|
4706
|
+
return /* @__PURE__ */ jsx41(
|
|
4668
4707
|
NavigationMenuPrimitive.Link,
|
|
4669
4708
|
__spreadValues({
|
|
4670
4709
|
"data-slot": "navigation-menu-link",
|
|
@@ -4681,7 +4720,7 @@ function NavigationMenuIndicator(_a) {
|
|
|
4681
4720
|
} = _b, props = __objRest(_b, [
|
|
4682
4721
|
"className"
|
|
4683
4722
|
]);
|
|
4684
|
-
return /* @__PURE__ */
|
|
4723
|
+
return /* @__PURE__ */ jsx41(
|
|
4685
4724
|
NavigationMenuPrimitive.Indicator,
|
|
4686
4725
|
__spreadProps(__spreadValues({
|
|
4687
4726
|
"data-slot": "navigation-menu-indicator",
|
|
@@ -4690,7 +4729,7 @@ function NavigationMenuIndicator(_a) {
|
|
|
4690
4729
|
className
|
|
4691
4730
|
)
|
|
4692
4731
|
}, props), {
|
|
4693
|
-
children: /* @__PURE__ */
|
|
4732
|
+
children: /* @__PURE__ */ jsx41("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
4694
4733
|
})
|
|
4695
4734
|
);
|
|
4696
4735
|
}
|
|
@@ -4701,10 +4740,10 @@ import {
|
|
|
4701
4740
|
ChevronRightIcon as ChevronRightIcon5,
|
|
4702
4741
|
MoreHorizontalIcon
|
|
4703
4742
|
} from "lucide-react";
|
|
4704
|
-
import { jsx as
|
|
4743
|
+
import { jsx as jsx42, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4705
4744
|
function Pagination(_a) {
|
|
4706
4745
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4707
|
-
return /* @__PURE__ */
|
|
4746
|
+
return /* @__PURE__ */ jsx42(
|
|
4708
4747
|
"nav",
|
|
4709
4748
|
__spreadValues({
|
|
4710
4749
|
role: "navigation",
|
|
@@ -4720,7 +4759,7 @@ function PaginationContent(_a) {
|
|
|
4720
4759
|
} = _b, props = __objRest(_b, [
|
|
4721
4760
|
"className"
|
|
4722
4761
|
]);
|
|
4723
|
-
return /* @__PURE__ */
|
|
4762
|
+
return /* @__PURE__ */ jsx42(
|
|
4724
4763
|
"ul",
|
|
4725
4764
|
__spreadValues({
|
|
4726
4765
|
"data-slot": "pagination-content",
|
|
@@ -4730,7 +4769,7 @@ function PaginationContent(_a) {
|
|
|
4730
4769
|
}
|
|
4731
4770
|
function PaginationItem(_a) {
|
|
4732
4771
|
var props = __objRest(_a, []);
|
|
4733
|
-
return /* @__PURE__ */
|
|
4772
|
+
return /* @__PURE__ */ jsx42("li", __spreadValues({ "data-slot": "pagination-item" }, props));
|
|
4734
4773
|
}
|
|
4735
4774
|
function PaginationLink(_a) {
|
|
4736
4775
|
var _b = _a, {
|
|
@@ -4742,7 +4781,7 @@ function PaginationLink(_a) {
|
|
|
4742
4781
|
"isActive",
|
|
4743
4782
|
"size"
|
|
4744
4783
|
]);
|
|
4745
|
-
return /* @__PURE__ */
|
|
4784
|
+
return /* @__PURE__ */ jsx42(
|
|
4746
4785
|
"a",
|
|
4747
4786
|
__spreadValues({
|
|
4748
4787
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -4762,7 +4801,7 @@ function PaginationPrevious(_a) {
|
|
|
4762
4801
|
} = _b, props = __objRest(_b, [
|
|
4763
4802
|
"className"
|
|
4764
4803
|
]);
|
|
4765
|
-
return /* @__PURE__ */
|
|
4804
|
+
return /* @__PURE__ */ jsx42(Button, { asChild: true, variant: "tertiary", size: "icon-md", className: cn(className), children: /* @__PURE__ */ jsx42("a", __spreadProps(__spreadValues({ "aria-label": "Go to previous page", "data-slot": "pagination-link" }, props), { children: /* @__PURE__ */ jsx42(ChevronLeftIcon2, { className: "size-5" }) })) });
|
|
4766
4805
|
}
|
|
4767
4806
|
function PaginationNext(_a) {
|
|
4768
4807
|
var _b = _a, {
|
|
@@ -4770,7 +4809,7 @@ function PaginationNext(_a) {
|
|
|
4770
4809
|
} = _b, props = __objRest(_b, [
|
|
4771
4810
|
"className"
|
|
4772
4811
|
]);
|
|
4773
|
-
return /* @__PURE__ */
|
|
4812
|
+
return /* @__PURE__ */ jsx42(Button, { asChild: true, variant: "tertiary", size: "icon-md", className: cn(className), children: /* @__PURE__ */ jsx42("a", __spreadProps(__spreadValues({ "aria-label": "Go to next page", "data-slot": "pagination-link" }, props), { children: /* @__PURE__ */ jsx42(ChevronRightIcon5, { className: "size-5" }) })) });
|
|
4774
4813
|
}
|
|
4775
4814
|
function PaginationEllipsis(_a) {
|
|
4776
4815
|
var _b = _a, {
|
|
@@ -4786,8 +4825,8 @@ function PaginationEllipsis(_a) {
|
|
|
4786
4825
|
className: cn("flex size-10 items-center justify-center", className)
|
|
4787
4826
|
}, props), {
|
|
4788
4827
|
children: [
|
|
4789
|
-
/* @__PURE__ */
|
|
4790
|
-
/* @__PURE__ */
|
|
4828
|
+
/* @__PURE__ */ jsx42(MoreHorizontalIcon, { className: "size-4" }),
|
|
4829
|
+
/* @__PURE__ */ jsx42("span", { className: "sr-only", children: "More pages" })
|
|
4791
4830
|
]
|
|
4792
4831
|
})
|
|
4793
4832
|
);
|
|
@@ -4795,14 +4834,14 @@ function PaginationEllipsis(_a) {
|
|
|
4795
4834
|
|
|
4796
4835
|
// components/ui/popover.tsx
|
|
4797
4836
|
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
4798
|
-
import { jsx as
|
|
4837
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
4799
4838
|
function Popover(_a) {
|
|
4800
4839
|
var props = __objRest(_a, []);
|
|
4801
|
-
return /* @__PURE__ */
|
|
4840
|
+
return /* @__PURE__ */ jsx43(PopoverPrimitive.Root, __spreadValues({ "data-slot": "popover" }, props));
|
|
4802
4841
|
}
|
|
4803
4842
|
function PopoverTrigger(_a) {
|
|
4804
4843
|
var props = __objRest(_a, []);
|
|
4805
|
-
return /* @__PURE__ */
|
|
4844
|
+
return /* @__PURE__ */ jsx43(PopoverPrimitive.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
|
|
4806
4845
|
}
|
|
4807
4846
|
function PopoverContent(_a) {
|
|
4808
4847
|
var _b = _a, {
|
|
@@ -4814,7 +4853,7 @@ function PopoverContent(_a) {
|
|
|
4814
4853
|
"align",
|
|
4815
4854
|
"sideOffset"
|
|
4816
4855
|
]);
|
|
4817
|
-
return /* @__PURE__ */
|
|
4856
|
+
return /* @__PURE__ */ jsx43(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx43(
|
|
4818
4857
|
PopoverPrimitive.Content,
|
|
4819
4858
|
__spreadValues({
|
|
4820
4859
|
"data-slot": "popover-content",
|
|
@@ -4829,11 +4868,11 @@ function PopoverContent(_a) {
|
|
|
4829
4868
|
}
|
|
4830
4869
|
function PopoverAnchor(_a) {
|
|
4831
4870
|
var props = __objRest(_a, []);
|
|
4832
|
-
return /* @__PURE__ */
|
|
4871
|
+
return /* @__PURE__ */ jsx43(PopoverPrimitive.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
|
|
4833
4872
|
}
|
|
4834
4873
|
function PopoverHeader(_a) {
|
|
4835
4874
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4836
|
-
return /* @__PURE__ */
|
|
4875
|
+
return /* @__PURE__ */ jsx43(
|
|
4837
4876
|
"div",
|
|
4838
4877
|
__spreadValues({
|
|
4839
4878
|
"data-slot": "popover-header",
|
|
@@ -4843,7 +4882,7 @@ function PopoverHeader(_a) {
|
|
|
4843
4882
|
}
|
|
4844
4883
|
function PopoverTitle(_a) {
|
|
4845
4884
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4846
|
-
return /* @__PURE__ */
|
|
4885
|
+
return /* @__PURE__ */ jsx43(
|
|
4847
4886
|
"div",
|
|
4848
4887
|
__spreadValues({
|
|
4849
4888
|
"data-slot": "popover-title",
|
|
@@ -4857,7 +4896,7 @@ function PopoverDescription(_a) {
|
|
|
4857
4896
|
} = _b, props = __objRest(_b, [
|
|
4858
4897
|
"className"
|
|
4859
4898
|
]);
|
|
4860
|
-
return /* @__PURE__ */
|
|
4899
|
+
return /* @__PURE__ */ jsx43(
|
|
4861
4900
|
"p",
|
|
4862
4901
|
__spreadValues({
|
|
4863
4902
|
"data-slot": "popover-description",
|
|
@@ -4868,7 +4907,7 @@ function PopoverDescription(_a) {
|
|
|
4868
4907
|
|
|
4869
4908
|
// components/ui/progress.tsx
|
|
4870
4909
|
import { Progress as ProgressPrimitive } from "radix-ui";
|
|
4871
|
-
import { jsx as
|
|
4910
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
4872
4911
|
function Progress(_a) {
|
|
4873
4912
|
var _b = _a, {
|
|
4874
4913
|
className,
|
|
@@ -4877,7 +4916,7 @@ function Progress(_a) {
|
|
|
4877
4916
|
"className",
|
|
4878
4917
|
"value"
|
|
4879
4918
|
]);
|
|
4880
|
-
return /* @__PURE__ */
|
|
4919
|
+
return /* @__PURE__ */ jsx44(
|
|
4881
4920
|
ProgressPrimitive.Root,
|
|
4882
4921
|
__spreadProps(__spreadValues({
|
|
4883
4922
|
"data-slot": "progress",
|
|
@@ -4886,7 +4925,7 @@ function Progress(_a) {
|
|
|
4886
4925
|
className
|
|
4887
4926
|
)
|
|
4888
4927
|
}, props), {
|
|
4889
|
-
children: /* @__PURE__ */
|
|
4928
|
+
children: /* @__PURE__ */ jsx44(
|
|
4890
4929
|
ProgressPrimitive.Indicator,
|
|
4891
4930
|
{
|
|
4892
4931
|
"data-slot": "progress-indicator",
|
|
@@ -4901,14 +4940,14 @@ function Progress(_a) {
|
|
|
4901
4940
|
// components/ui/radio-group.tsx
|
|
4902
4941
|
import { CircleIcon as CircleIcon4 } from "lucide-react";
|
|
4903
4942
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
4904
|
-
import { jsx as
|
|
4943
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
4905
4944
|
function RadioGroup(_a) {
|
|
4906
4945
|
var _b = _a, {
|
|
4907
4946
|
className
|
|
4908
4947
|
} = _b, props = __objRest(_b, [
|
|
4909
4948
|
"className"
|
|
4910
4949
|
]);
|
|
4911
|
-
return /* @__PURE__ */
|
|
4950
|
+
return /* @__PURE__ */ jsx45(
|
|
4912
4951
|
RadioGroupPrimitive.Root,
|
|
4913
4952
|
__spreadValues({
|
|
4914
4953
|
"data-slot": "radio-group",
|
|
@@ -4922,7 +4961,7 @@ function RadioGroupItem(_a) {
|
|
|
4922
4961
|
} = _b, props = __objRest(_b, [
|
|
4923
4962
|
"className"
|
|
4924
4963
|
]);
|
|
4925
|
-
return /* @__PURE__ */
|
|
4964
|
+
return /* @__PURE__ */ jsx45(
|
|
4926
4965
|
RadioGroupPrimitive.Item,
|
|
4927
4966
|
__spreadProps(__spreadValues({
|
|
4928
4967
|
"data-slot": "radio-group-item",
|
|
@@ -4931,12 +4970,12 @@ function RadioGroupItem(_a) {
|
|
|
4931
4970
|
className
|
|
4932
4971
|
)
|
|
4933
4972
|
}, props), {
|
|
4934
|
-
children: /* @__PURE__ */
|
|
4973
|
+
children: /* @__PURE__ */ jsx45(
|
|
4935
4974
|
RadioGroupPrimitive.Indicator,
|
|
4936
4975
|
{
|
|
4937
4976
|
"data-slot": "radio-group-indicator",
|
|
4938
4977
|
className: "relative flex items-center justify-center",
|
|
4939
|
-
children: /* @__PURE__ */
|
|
4978
|
+
children: /* @__PURE__ */ jsx45(CircleIcon4, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
|
|
4940
4979
|
}
|
|
4941
4980
|
)
|
|
4942
4981
|
})
|
|
@@ -4946,14 +4985,14 @@ function RadioGroupItem(_a) {
|
|
|
4946
4985
|
// components/ui/resizable.tsx
|
|
4947
4986
|
import { GripVerticalIcon } from "lucide-react";
|
|
4948
4987
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
4949
|
-
import { jsx as
|
|
4988
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
4950
4989
|
function ResizablePanelGroup(_a) {
|
|
4951
4990
|
var _b = _a, {
|
|
4952
4991
|
className
|
|
4953
4992
|
} = _b, props = __objRest(_b, [
|
|
4954
4993
|
"className"
|
|
4955
4994
|
]);
|
|
4956
|
-
return /* @__PURE__ */
|
|
4995
|
+
return /* @__PURE__ */ jsx46(
|
|
4957
4996
|
ResizablePrimitive.Group,
|
|
4958
4997
|
__spreadValues({
|
|
4959
4998
|
"data-slot": "resizable-panel-group",
|
|
@@ -4966,7 +5005,7 @@ function ResizablePanelGroup(_a) {
|
|
|
4966
5005
|
}
|
|
4967
5006
|
function ResizablePanel(_a) {
|
|
4968
5007
|
var props = __objRest(_a, []);
|
|
4969
|
-
return /* @__PURE__ */
|
|
5008
|
+
return /* @__PURE__ */ jsx46(ResizablePrimitive.Panel, __spreadValues({ "data-slot": "resizable-panel" }, props));
|
|
4970
5009
|
}
|
|
4971
5010
|
function ResizableHandle(_a) {
|
|
4972
5011
|
var _b = _a, {
|
|
@@ -4976,7 +5015,7 @@ function ResizableHandle(_a) {
|
|
|
4976
5015
|
"withHandle",
|
|
4977
5016
|
"className"
|
|
4978
5017
|
]);
|
|
4979
|
-
return /* @__PURE__ */
|
|
5018
|
+
return /* @__PURE__ */ jsx46(
|
|
4980
5019
|
ResizablePrimitive.Separator,
|
|
4981
5020
|
__spreadProps(__spreadValues({
|
|
4982
5021
|
"data-slot": "resizable-handle",
|
|
@@ -4985,14 +5024,14 @@ function ResizableHandle(_a) {
|
|
|
4985
5024
|
className
|
|
4986
5025
|
)
|
|
4987
5026
|
}, props), {
|
|
4988
|
-
children: withHandle && /* @__PURE__ */
|
|
5027
|
+
children: withHandle && /* @__PURE__ */ jsx46("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border", children: /* @__PURE__ */ jsx46(GripVerticalIcon, { className: "size-2.5" }) })
|
|
4989
5028
|
})
|
|
4990
5029
|
);
|
|
4991
5030
|
}
|
|
4992
5031
|
|
|
4993
5032
|
// components/ui/scroll-area.tsx
|
|
4994
5033
|
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
4995
|
-
import { jsx as
|
|
5034
|
+
import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4996
5035
|
function ScrollArea(_a) {
|
|
4997
5036
|
var _b = _a, {
|
|
4998
5037
|
className,
|
|
@@ -5008,7 +5047,7 @@ function ScrollArea(_a) {
|
|
|
5008
5047
|
className: cn("relative", className)
|
|
5009
5048
|
}, props), {
|
|
5010
5049
|
children: [
|
|
5011
|
-
/* @__PURE__ */
|
|
5050
|
+
/* @__PURE__ */ jsx47(
|
|
5012
5051
|
ScrollAreaPrimitive.Viewport,
|
|
5013
5052
|
{
|
|
5014
5053
|
"data-slot": "scroll-area-viewport",
|
|
@@ -5016,8 +5055,8 @@ function ScrollArea(_a) {
|
|
|
5016
5055
|
children
|
|
5017
5056
|
}
|
|
5018
5057
|
),
|
|
5019
|
-
/* @__PURE__ */
|
|
5020
|
-
/* @__PURE__ */
|
|
5058
|
+
/* @__PURE__ */ jsx47(ScrollBar, {}),
|
|
5059
|
+
/* @__PURE__ */ jsx47(ScrollAreaPrimitive.Corner, {})
|
|
5021
5060
|
]
|
|
5022
5061
|
})
|
|
5023
5062
|
);
|
|
@@ -5030,7 +5069,7 @@ function ScrollBar(_a) {
|
|
|
5030
5069
|
"className",
|
|
5031
5070
|
"orientation"
|
|
5032
5071
|
]);
|
|
5033
|
-
return /* @__PURE__ */
|
|
5072
|
+
return /* @__PURE__ */ jsx47(
|
|
5034
5073
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
5035
5074
|
__spreadProps(__spreadValues({
|
|
5036
5075
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -5042,7 +5081,7 @@ function ScrollBar(_a) {
|
|
|
5042
5081
|
className
|
|
5043
5082
|
)
|
|
5044
5083
|
}, props), {
|
|
5045
|
-
children: /* @__PURE__ */
|
|
5084
|
+
children: /* @__PURE__ */ jsx47(
|
|
5046
5085
|
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
5047
5086
|
{
|
|
5048
5087
|
"data-slot": "scroll-area-thumb",
|
|
@@ -5056,18 +5095,18 @@ function ScrollBar(_a) {
|
|
|
5056
5095
|
// components/ui/select.tsx
|
|
5057
5096
|
import { CheckIcon as CheckIcon6, ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon } from "lucide-react";
|
|
5058
5097
|
import { Select as SelectPrimitive } from "radix-ui";
|
|
5059
|
-
import { jsx as
|
|
5098
|
+
import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5060
5099
|
function Select(_a) {
|
|
5061
5100
|
var props = __objRest(_a, []);
|
|
5062
|
-
return /* @__PURE__ */
|
|
5101
|
+
return /* @__PURE__ */ jsx48(SelectPrimitive.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
5063
5102
|
}
|
|
5064
5103
|
function SelectGroup(_a) {
|
|
5065
5104
|
var props = __objRest(_a, []);
|
|
5066
|
-
return /* @__PURE__ */
|
|
5105
|
+
return /* @__PURE__ */ jsx48(SelectPrimitive.Group, __spreadValues({ "data-slot": "select-group" }, props));
|
|
5067
5106
|
}
|
|
5068
5107
|
function SelectValue(_a) {
|
|
5069
5108
|
var props = __objRest(_a, []);
|
|
5070
|
-
return /* @__PURE__ */
|
|
5109
|
+
return /* @__PURE__ */ jsx48(SelectPrimitive.Value, __spreadValues({ "data-slot": "select-value" }, props));
|
|
5071
5110
|
}
|
|
5072
5111
|
function SelectTrigger(_a) {
|
|
5073
5112
|
var _b = _a, {
|
|
@@ -5095,7 +5134,7 @@ function SelectTrigger(_a) {
|
|
|
5095
5134
|
}, props), {
|
|
5096
5135
|
children: [
|
|
5097
5136
|
children,
|
|
5098
|
-
/* @__PURE__ */
|
|
5137
|
+
/* @__PURE__ */ jsx48(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx48(ChevronDownIcon6, { className: cn("size-4", readOnly ? "opacity-30" : "opacity-50") }) })
|
|
5099
5138
|
]
|
|
5100
5139
|
})
|
|
5101
5140
|
);
|
|
@@ -5112,7 +5151,7 @@ function SelectContent(_a) {
|
|
|
5112
5151
|
"position",
|
|
5113
5152
|
"align"
|
|
5114
5153
|
]);
|
|
5115
|
-
return /* @__PURE__ */
|
|
5154
|
+
return /* @__PURE__ */ jsx48(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs23(
|
|
5116
5155
|
SelectPrimitive.Content,
|
|
5117
5156
|
__spreadProps(__spreadValues({
|
|
5118
5157
|
"data-slot": "select-content",
|
|
@@ -5125,8 +5164,8 @@ function SelectContent(_a) {
|
|
|
5125
5164
|
align
|
|
5126
5165
|
}, props), {
|
|
5127
5166
|
children: [
|
|
5128
|
-
/* @__PURE__ */
|
|
5129
|
-
/* @__PURE__ */
|
|
5167
|
+
/* @__PURE__ */ jsx48(SelectScrollUpButton, {}),
|
|
5168
|
+
/* @__PURE__ */ jsx48(
|
|
5130
5169
|
SelectPrimitive.Viewport,
|
|
5131
5170
|
{
|
|
5132
5171
|
className: cn(
|
|
@@ -5136,7 +5175,7 @@ function SelectContent(_a) {
|
|
|
5136
5175
|
children
|
|
5137
5176
|
}
|
|
5138
5177
|
),
|
|
5139
|
-
/* @__PURE__ */
|
|
5178
|
+
/* @__PURE__ */ jsx48(SelectScrollDownButton, {})
|
|
5140
5179
|
]
|
|
5141
5180
|
})
|
|
5142
5181
|
) });
|
|
@@ -5147,7 +5186,7 @@ function SelectLabel(_a) {
|
|
|
5147
5186
|
} = _b, props = __objRest(_b, [
|
|
5148
5187
|
"className"
|
|
5149
5188
|
]);
|
|
5150
|
-
return /* @__PURE__ */
|
|
5189
|
+
return /* @__PURE__ */ jsx48(
|
|
5151
5190
|
SelectPrimitive.Label,
|
|
5152
5191
|
__spreadValues({
|
|
5153
5192
|
"data-slot": "select-label",
|
|
@@ -5173,15 +5212,15 @@ function SelectItem(_a) {
|
|
|
5173
5212
|
)
|
|
5174
5213
|
}, props), {
|
|
5175
5214
|
children: [
|
|
5176
|
-
/* @__PURE__ */
|
|
5215
|
+
/* @__PURE__ */ jsx48(
|
|
5177
5216
|
"span",
|
|
5178
5217
|
{
|
|
5179
5218
|
"data-slot": "select-item-indicator",
|
|
5180
5219
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
5181
|
-
children: /* @__PURE__ */
|
|
5220
|
+
children: /* @__PURE__ */ jsx48(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx48(CheckIcon6, { className: "size-4 text-primary" }) })
|
|
5182
5221
|
}
|
|
5183
5222
|
),
|
|
5184
|
-
/* @__PURE__ */
|
|
5223
|
+
/* @__PURE__ */ jsx48(SelectPrimitive.ItemText, { children })
|
|
5185
5224
|
]
|
|
5186
5225
|
})
|
|
5187
5226
|
);
|
|
@@ -5192,7 +5231,7 @@ function SelectSeparator(_a) {
|
|
|
5192
5231
|
} = _b, props = __objRest(_b, [
|
|
5193
5232
|
"className"
|
|
5194
5233
|
]);
|
|
5195
|
-
return /* @__PURE__ */
|
|
5234
|
+
return /* @__PURE__ */ jsx48(
|
|
5196
5235
|
SelectPrimitive.Separator,
|
|
5197
5236
|
__spreadValues({
|
|
5198
5237
|
"data-slot": "select-separator",
|
|
@@ -5206,7 +5245,7 @@ function SelectScrollUpButton(_a) {
|
|
|
5206
5245
|
} = _b, props = __objRest(_b, [
|
|
5207
5246
|
"className"
|
|
5208
5247
|
]);
|
|
5209
|
-
return /* @__PURE__ */
|
|
5248
|
+
return /* @__PURE__ */ jsx48(
|
|
5210
5249
|
SelectPrimitive.ScrollUpButton,
|
|
5211
5250
|
__spreadProps(__spreadValues({
|
|
5212
5251
|
"data-slot": "select-scroll-up-button",
|
|
@@ -5215,7 +5254,7 @@ function SelectScrollUpButton(_a) {
|
|
|
5215
5254
|
className
|
|
5216
5255
|
)
|
|
5217
5256
|
}, props), {
|
|
5218
|
-
children: /* @__PURE__ */
|
|
5257
|
+
children: /* @__PURE__ */ jsx48(ChevronUpIcon, { className: "size-4" })
|
|
5219
5258
|
})
|
|
5220
5259
|
);
|
|
5221
5260
|
}
|
|
@@ -5225,7 +5264,7 @@ function SelectScrollDownButton(_a) {
|
|
|
5225
5264
|
} = _b, props = __objRest(_b, [
|
|
5226
5265
|
"className"
|
|
5227
5266
|
]);
|
|
5228
|
-
return /* @__PURE__ */
|
|
5267
|
+
return /* @__PURE__ */ jsx48(
|
|
5229
5268
|
SelectPrimitive.ScrollDownButton,
|
|
5230
5269
|
__spreadProps(__spreadValues({
|
|
5231
5270
|
"data-slot": "select-scroll-down-button",
|
|
@@ -5234,7 +5273,7 @@ function SelectScrollDownButton(_a) {
|
|
|
5234
5273
|
className
|
|
5235
5274
|
)
|
|
5236
5275
|
}, props), {
|
|
5237
|
-
children: /* @__PURE__ */
|
|
5276
|
+
children: /* @__PURE__ */ jsx48(ChevronDownIcon6, { className: "size-4" })
|
|
5238
5277
|
})
|
|
5239
5278
|
);
|
|
5240
5279
|
}
|
|
@@ -5242,22 +5281,22 @@ function SelectScrollDownButton(_a) {
|
|
|
5242
5281
|
// components/ui/sheet.tsx
|
|
5243
5282
|
import { XIcon as XIcon3 } from "lucide-react";
|
|
5244
5283
|
import { Dialog as SheetPrimitive } from "radix-ui";
|
|
5245
|
-
import { jsx as
|
|
5284
|
+
import { jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5246
5285
|
function Sheet(_a) {
|
|
5247
5286
|
var props = __objRest(_a, []);
|
|
5248
|
-
return /* @__PURE__ */
|
|
5287
|
+
return /* @__PURE__ */ jsx49(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
|
|
5249
5288
|
}
|
|
5250
5289
|
function SheetTrigger(_a) {
|
|
5251
5290
|
var props = __objRest(_a, []);
|
|
5252
|
-
return /* @__PURE__ */
|
|
5291
|
+
return /* @__PURE__ */ jsx49(SheetPrimitive.Trigger, __spreadValues({ "data-slot": "sheet-trigger" }, props));
|
|
5253
5292
|
}
|
|
5254
5293
|
function SheetClose(_a) {
|
|
5255
5294
|
var props = __objRest(_a, []);
|
|
5256
|
-
return /* @__PURE__ */
|
|
5295
|
+
return /* @__PURE__ */ jsx49(SheetPrimitive.Close, __spreadValues({ "data-slot": "sheet-close" }, props));
|
|
5257
5296
|
}
|
|
5258
5297
|
function SheetPortal(_a) {
|
|
5259
5298
|
var props = __objRest(_a, []);
|
|
5260
|
-
return /* @__PURE__ */
|
|
5299
|
+
return /* @__PURE__ */ jsx49(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
|
|
5261
5300
|
}
|
|
5262
5301
|
function SheetOverlay(_a) {
|
|
5263
5302
|
var _b = _a, {
|
|
@@ -5265,7 +5304,7 @@ function SheetOverlay(_a) {
|
|
|
5265
5304
|
} = _b, props = __objRest(_b, [
|
|
5266
5305
|
"className"
|
|
5267
5306
|
]);
|
|
5268
|
-
return /* @__PURE__ */
|
|
5307
|
+
return /* @__PURE__ */ jsx49(
|
|
5269
5308
|
SheetPrimitive.Overlay,
|
|
5270
5309
|
__spreadValues({
|
|
5271
5310
|
"data-slot": "sheet-overlay",
|
|
@@ -5289,7 +5328,7 @@ function SheetContent(_a) {
|
|
|
5289
5328
|
"showCloseButton"
|
|
5290
5329
|
]);
|
|
5291
5330
|
return /* @__PURE__ */ jsxs24(SheetPortal, { children: [
|
|
5292
|
-
/* @__PURE__ */
|
|
5331
|
+
/* @__PURE__ */ jsx49(SheetOverlay, {}),
|
|
5293
5332
|
/* @__PURE__ */ jsxs24(
|
|
5294
5333
|
SheetPrimitive.Content,
|
|
5295
5334
|
__spreadProps(__spreadValues({
|
|
@@ -5306,8 +5345,8 @@ function SheetContent(_a) {
|
|
|
5306
5345
|
children: [
|
|
5307
5346
|
children,
|
|
5308
5347
|
showCloseButton && /* @__PURE__ */ jsxs24(SheetPrimitive.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-prominent transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
5309
|
-
/* @__PURE__ */
|
|
5310
|
-
/* @__PURE__ */
|
|
5348
|
+
/* @__PURE__ */ jsx49(XIcon3, { className: "size-4" }),
|
|
5349
|
+
/* @__PURE__ */ jsx49("span", { className: "sr-only", children: "Close" })
|
|
5311
5350
|
] })
|
|
5312
5351
|
]
|
|
5313
5352
|
})
|
|
@@ -5316,7 +5355,7 @@ function SheetContent(_a) {
|
|
|
5316
5355
|
}
|
|
5317
5356
|
function SheetHeader(_a) {
|
|
5318
5357
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5319
|
-
return /* @__PURE__ */
|
|
5358
|
+
return /* @__PURE__ */ jsx49(
|
|
5320
5359
|
"div",
|
|
5321
5360
|
__spreadValues({
|
|
5322
5361
|
"data-slot": "sheet-header",
|
|
@@ -5326,7 +5365,7 @@ function SheetHeader(_a) {
|
|
|
5326
5365
|
}
|
|
5327
5366
|
function SheetFooter(_a) {
|
|
5328
5367
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5329
|
-
return /* @__PURE__ */
|
|
5368
|
+
return /* @__PURE__ */ jsx49(
|
|
5330
5369
|
"div",
|
|
5331
5370
|
__spreadValues({
|
|
5332
5371
|
"data-slot": "sheet-footer",
|
|
@@ -5340,7 +5379,7 @@ function SheetTitle(_a) {
|
|
|
5340
5379
|
} = _b, props = __objRest(_b, [
|
|
5341
5380
|
"className"
|
|
5342
5381
|
]);
|
|
5343
|
-
return /* @__PURE__ */
|
|
5382
|
+
return /* @__PURE__ */ jsx49(
|
|
5344
5383
|
SheetPrimitive.Title,
|
|
5345
5384
|
__spreadValues({
|
|
5346
5385
|
"data-slot": "sheet-title",
|
|
@@ -5354,7 +5393,7 @@ function SheetDescription(_a) {
|
|
|
5354
5393
|
} = _b, props = __objRest(_b, [
|
|
5355
5394
|
"className"
|
|
5356
5395
|
]);
|
|
5357
|
-
return /* @__PURE__ */
|
|
5396
|
+
return /* @__PURE__ */ jsx49(
|
|
5358
5397
|
SheetPrimitive.Description,
|
|
5359
5398
|
__spreadValues({
|
|
5360
5399
|
"data-slot": "sheet-description",
|
|
@@ -5365,7 +5404,7 @@ function SheetDescription(_a) {
|
|
|
5365
5404
|
|
|
5366
5405
|
// components/ui/sidebar.tsx
|
|
5367
5406
|
import * as React12 from "react";
|
|
5368
|
-
import { cva as
|
|
5407
|
+
import { cva as cva13 } from "class-variance-authority";
|
|
5369
5408
|
import { PanelLeftIcon } from "lucide-react";
|
|
5370
5409
|
import { Slot as Slot8 } from "radix-ui";
|
|
5371
5410
|
|
|
@@ -5387,10 +5426,10 @@ function useIsMobile() {
|
|
|
5387
5426
|
}
|
|
5388
5427
|
|
|
5389
5428
|
// components/ui/skeleton.tsx
|
|
5390
|
-
import { jsx as
|
|
5429
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5391
5430
|
function Skeleton(_a) {
|
|
5392
5431
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5393
|
-
return /* @__PURE__ */
|
|
5432
|
+
return /* @__PURE__ */ jsx50(
|
|
5394
5433
|
"div",
|
|
5395
5434
|
__spreadValues({
|
|
5396
5435
|
"data-slot": "skeleton",
|
|
@@ -5402,7 +5441,7 @@ function Skeleton(_a) {
|
|
|
5402
5441
|
// components/ui/tooltip.tsx
|
|
5403
5442
|
import * as React11 from "react";
|
|
5404
5443
|
import { Tooltip as TooltipPrimitive } from "radix-ui";
|
|
5405
|
-
import { jsx as
|
|
5444
|
+
import { jsx as jsx51, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5406
5445
|
var TooltipModeContext = React11.createContext("tooltip");
|
|
5407
5446
|
function TooltipProvider(_a) {
|
|
5408
5447
|
var _b = _a, {
|
|
@@ -5410,7 +5449,7 @@ function TooltipProvider(_a) {
|
|
|
5410
5449
|
} = _b, props = __objRest(_b, [
|
|
5411
5450
|
"delayDuration"
|
|
5412
5451
|
]);
|
|
5413
|
-
return /* @__PURE__ */
|
|
5452
|
+
return /* @__PURE__ */ jsx51(
|
|
5414
5453
|
TooltipPrimitive.Provider,
|
|
5415
5454
|
__spreadValues({
|
|
5416
5455
|
"data-slot": "tooltip-provider",
|
|
@@ -5427,9 +5466,9 @@ function Tooltip2(_a) {
|
|
|
5427
5466
|
const isMobile = useIsMobile();
|
|
5428
5467
|
const mode = isMobile ? "drawer" : "tooltip";
|
|
5429
5468
|
if (mode === "drawer") {
|
|
5430
|
-
return /* @__PURE__ */
|
|
5469
|
+
return /* @__PURE__ */ jsx51(TooltipModeContext.Provider, { value: "drawer", children: /* @__PURE__ */ jsx51(Drawer, { children }) });
|
|
5431
5470
|
}
|
|
5432
|
-
return /* @__PURE__ */
|
|
5471
|
+
return /* @__PURE__ */ jsx51(TooltipModeContext.Provider, { value: "tooltip", children: /* @__PURE__ */ jsx51(TooltipPrimitive.Root, __spreadProps(__spreadValues({ "data-slot": "tooltip" }, props), { children })) });
|
|
5433
5472
|
}
|
|
5434
5473
|
function TooltipTrigger(_a) {
|
|
5435
5474
|
var _b = _a, {
|
|
@@ -5439,9 +5478,9 @@ function TooltipTrigger(_a) {
|
|
|
5439
5478
|
]);
|
|
5440
5479
|
const mode = React11.useContext(TooltipModeContext);
|
|
5441
5480
|
if (mode === "drawer") {
|
|
5442
|
-
return /* @__PURE__ */
|
|
5481
|
+
return /* @__PURE__ */ jsx51(DrawerTrigger, __spreadProps(__spreadValues({ "data-slot": "tooltip-trigger" }, props), { children }));
|
|
5443
5482
|
}
|
|
5444
|
-
return /* @__PURE__ */
|
|
5483
|
+
return /* @__PURE__ */ jsx51(TooltipPrimitive.Trigger, __spreadProps(__spreadValues({ "data-slot": "tooltip-trigger" }, props), { children }));
|
|
5445
5484
|
}
|
|
5446
5485
|
function TooltipContent(_a) {
|
|
5447
5486
|
var _b = _a, {
|
|
@@ -5462,35 +5501,35 @@ function TooltipContent(_a) {
|
|
|
5462
5501
|
const mode = React11.useContext(TooltipModeContext);
|
|
5463
5502
|
if (mode === "drawer") {
|
|
5464
5503
|
return /* @__PURE__ */ jsxs25(DrawerContent, { "data-slot": "tooltip-content", "data-variant": variant, children: [
|
|
5465
|
-
/* @__PURE__ */
|
|
5466
|
-
/* @__PURE__ */
|
|
5467
|
-
/* @__PURE__ */
|
|
5504
|
+
/* @__PURE__ */ jsx51(DrawerHeader, { children: /* @__PURE__ */ jsx51(DrawerTitle, { children: title }) }),
|
|
5505
|
+
/* @__PURE__ */ jsx51("div", { className: cn("p-4 text-sm text-on-subtle", className), children }),
|
|
5506
|
+
/* @__PURE__ */ jsx51(DrawerFooter, { children: /* @__PURE__ */ jsx51(DrawerClose, { asChild: true, children: /* @__PURE__ */ jsx51(Button, { variant: "primary", size: "md", children: closeLabel }) }) })
|
|
5468
5507
|
] });
|
|
5469
5508
|
}
|
|
5470
5509
|
const surfaceClasses = variant === "inverse" ? "bg-prominent text-on-prominent shadow-sm" : "bg-primary text-on-primary";
|
|
5471
5510
|
const arrowClasses = variant === "inverse" ? "fill-prominent" : "fill-primary";
|
|
5472
|
-
return /* @__PURE__ */
|
|
5511
|
+
return /* @__PURE__ */ jsx51(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs25(
|
|
5473
5512
|
TooltipPrimitive.Content,
|
|
5474
5513
|
__spreadProps(__spreadValues({
|
|
5475
5514
|
"data-slot": "tooltip-content",
|
|
5476
5515
|
"data-variant": variant,
|
|
5477
5516
|
sideOffset,
|
|
5478
5517
|
className: cn(
|
|
5479
|
-
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md border-0 px-3 py-1.5 text-sm font-medium text-balance fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
5518
|
+
"z-50 w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md border-0 px-3 py-1.5 text-sm font-medium text-balance whitespace-normal fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
5480
5519
|
surfaceClasses,
|
|
5481
5520
|
className
|
|
5482
5521
|
)
|
|
5483
5522
|
}, props), {
|
|
5484
5523
|
children: [
|
|
5485
5524
|
children,
|
|
5486
|
-
/* @__PURE__ */
|
|
5525
|
+
/* @__PURE__ */ jsx51(TooltipPrimitive.Arrow, { className: arrowClasses })
|
|
5487
5526
|
]
|
|
5488
5527
|
})
|
|
5489
5528
|
) });
|
|
5490
5529
|
}
|
|
5491
5530
|
|
|
5492
5531
|
// components/ui/sidebar.tsx
|
|
5493
|
-
import { jsx as
|
|
5532
|
+
import { jsx as jsx52, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5494
5533
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
5495
5534
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
5496
5535
|
var SIDEBAR_WIDTH = "16rem";
|
|
@@ -5563,7 +5602,7 @@ function SidebarProvider(_a) {
|
|
|
5563
5602
|
}),
|
|
5564
5603
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
5565
5604
|
);
|
|
5566
|
-
return /* @__PURE__ */
|
|
5605
|
+
return /* @__PURE__ */ jsx52(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx52(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx52(
|
|
5567
5606
|
"div",
|
|
5568
5607
|
__spreadProps(__spreadValues({
|
|
5569
5608
|
"data-slot": "sidebar-wrapper",
|
|
@@ -5596,7 +5635,7 @@ function Sidebar(_a) {
|
|
|
5596
5635
|
]);
|
|
5597
5636
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
5598
5637
|
if (collapsible === "none") {
|
|
5599
|
-
return /* @__PURE__ */
|
|
5638
|
+
return /* @__PURE__ */ jsx52(
|
|
5600
5639
|
"div",
|
|
5601
5640
|
__spreadProps(__spreadValues({
|
|
5602
5641
|
"data-slot": "sidebar",
|
|
@@ -5610,7 +5649,7 @@ function Sidebar(_a) {
|
|
|
5610
5649
|
);
|
|
5611
5650
|
}
|
|
5612
5651
|
if (isMobile) {
|
|
5613
|
-
return /* @__PURE__ */
|
|
5652
|
+
return /* @__PURE__ */ jsx52(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ jsxs26(
|
|
5614
5653
|
SheetContent,
|
|
5615
5654
|
{
|
|
5616
5655
|
"data-sidebar": "sidebar",
|
|
@@ -5623,10 +5662,10 @@ function Sidebar(_a) {
|
|
|
5623
5662
|
side,
|
|
5624
5663
|
children: [
|
|
5625
5664
|
/* @__PURE__ */ jsxs26(SheetHeader, { className: "sr-only", children: [
|
|
5626
|
-
/* @__PURE__ */
|
|
5627
|
-
/* @__PURE__ */
|
|
5665
|
+
/* @__PURE__ */ jsx52(SheetTitle, { children: "Sidebar" }),
|
|
5666
|
+
/* @__PURE__ */ jsx52(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
5628
5667
|
] }),
|
|
5629
|
-
/* @__PURE__ */
|
|
5668
|
+
/* @__PURE__ */ jsx52("div", { className: "flex h-full w-full flex-col", children })
|
|
5630
5669
|
]
|
|
5631
5670
|
}
|
|
5632
5671
|
) }));
|
|
@@ -5641,7 +5680,7 @@ function Sidebar(_a) {
|
|
|
5641
5680
|
"data-side": side,
|
|
5642
5681
|
"data-slot": "sidebar",
|
|
5643
5682
|
children: [
|
|
5644
|
-
/* @__PURE__ */
|
|
5683
|
+
/* @__PURE__ */ jsx52(
|
|
5645
5684
|
"div",
|
|
5646
5685
|
{
|
|
5647
5686
|
"data-slot": "sidebar-gap",
|
|
@@ -5653,7 +5692,7 @@ function Sidebar(_a) {
|
|
|
5653
5692
|
)
|
|
5654
5693
|
}
|
|
5655
5694
|
),
|
|
5656
|
-
/* @__PURE__ */
|
|
5695
|
+
/* @__PURE__ */ jsx52(
|
|
5657
5696
|
"div",
|
|
5658
5697
|
__spreadProps(__spreadValues({
|
|
5659
5698
|
"data-slot": "sidebar-container",
|
|
@@ -5665,7 +5704,7 @@ function Sidebar(_a) {
|
|
|
5665
5704
|
className
|
|
5666
5705
|
)
|
|
5667
5706
|
}, props), {
|
|
5668
|
-
children: /* @__PURE__ */
|
|
5707
|
+
children: /* @__PURE__ */ jsx52(
|
|
5669
5708
|
"div",
|
|
5670
5709
|
{
|
|
5671
5710
|
"data-sidebar": "sidebar",
|
|
@@ -5703,8 +5742,8 @@ function SidebarTrigger(_a) {
|
|
|
5703
5742
|
}
|
|
5704
5743
|
}, props), {
|
|
5705
5744
|
children: [
|
|
5706
|
-
/* @__PURE__ */
|
|
5707
|
-
/* @__PURE__ */
|
|
5745
|
+
/* @__PURE__ */ jsx52(PanelLeftIcon, {}),
|
|
5746
|
+
/* @__PURE__ */ jsx52("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
5708
5747
|
]
|
|
5709
5748
|
})
|
|
5710
5749
|
);
|
|
@@ -5712,7 +5751,7 @@ function SidebarTrigger(_a) {
|
|
|
5712
5751
|
function SidebarRail(_a) {
|
|
5713
5752
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5714
5753
|
const { toggleSidebar } = useSidebar();
|
|
5715
|
-
return /* @__PURE__ */
|
|
5754
|
+
return /* @__PURE__ */ jsx52(
|
|
5716
5755
|
"button",
|
|
5717
5756
|
__spreadValues({
|
|
5718
5757
|
"data-sidebar": "rail",
|
|
@@ -5735,7 +5774,7 @@ function SidebarRail(_a) {
|
|
|
5735
5774
|
}
|
|
5736
5775
|
function SidebarInset(_a) {
|
|
5737
5776
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5738
|
-
return /* @__PURE__ */
|
|
5777
|
+
return /* @__PURE__ */ jsx52(
|
|
5739
5778
|
"main",
|
|
5740
5779
|
__spreadValues({
|
|
5741
5780
|
"data-slot": "sidebar-inset",
|
|
@@ -5753,7 +5792,7 @@ function SidebarInput(_a) {
|
|
|
5753
5792
|
} = _b, props = __objRest(_b, [
|
|
5754
5793
|
"className"
|
|
5755
5794
|
]);
|
|
5756
|
-
return /* @__PURE__ */
|
|
5795
|
+
return /* @__PURE__ */ jsx52(
|
|
5757
5796
|
Input,
|
|
5758
5797
|
__spreadValues({
|
|
5759
5798
|
"data-slot": "sidebar-input",
|
|
@@ -5764,7 +5803,7 @@ function SidebarInput(_a) {
|
|
|
5764
5803
|
}
|
|
5765
5804
|
function SidebarHeader(_a) {
|
|
5766
5805
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5767
|
-
return /* @__PURE__ */
|
|
5806
|
+
return /* @__PURE__ */ jsx52(
|
|
5768
5807
|
"div",
|
|
5769
5808
|
__spreadValues({
|
|
5770
5809
|
"data-slot": "sidebar-header",
|
|
@@ -5775,7 +5814,7 @@ function SidebarHeader(_a) {
|
|
|
5775
5814
|
}
|
|
5776
5815
|
function SidebarFooter(_a) {
|
|
5777
5816
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5778
|
-
return /* @__PURE__ */
|
|
5817
|
+
return /* @__PURE__ */ jsx52(
|
|
5779
5818
|
"div",
|
|
5780
5819
|
__spreadValues({
|
|
5781
5820
|
"data-slot": "sidebar-footer",
|
|
@@ -5790,7 +5829,7 @@ function SidebarSeparator(_a) {
|
|
|
5790
5829
|
} = _b, props = __objRest(_b, [
|
|
5791
5830
|
"className"
|
|
5792
5831
|
]);
|
|
5793
|
-
return /* @__PURE__ */
|
|
5832
|
+
return /* @__PURE__ */ jsx52(
|
|
5794
5833
|
Separator,
|
|
5795
5834
|
__spreadValues({
|
|
5796
5835
|
"data-slot": "sidebar-separator",
|
|
@@ -5801,7 +5840,7 @@ function SidebarSeparator(_a) {
|
|
|
5801
5840
|
}
|
|
5802
5841
|
function SidebarContent(_a) {
|
|
5803
5842
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5804
|
-
return /* @__PURE__ */
|
|
5843
|
+
return /* @__PURE__ */ jsx52(
|
|
5805
5844
|
"div",
|
|
5806
5845
|
__spreadValues({
|
|
5807
5846
|
"data-slot": "sidebar-content",
|
|
@@ -5815,7 +5854,7 @@ function SidebarContent(_a) {
|
|
|
5815
5854
|
}
|
|
5816
5855
|
function SidebarGroup(_a) {
|
|
5817
5856
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5818
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsx52(
|
|
5819
5858
|
"div",
|
|
5820
5859
|
__spreadValues({
|
|
5821
5860
|
"data-slot": "sidebar-group",
|
|
@@ -5833,7 +5872,7 @@ function SidebarGroupLabel(_a) {
|
|
|
5833
5872
|
"asChild"
|
|
5834
5873
|
]);
|
|
5835
5874
|
const Comp = asChild ? Slot8.Root : "div";
|
|
5836
|
-
return /* @__PURE__ */
|
|
5875
|
+
return /* @__PURE__ */ jsx52(
|
|
5837
5876
|
Comp,
|
|
5838
5877
|
__spreadValues({
|
|
5839
5878
|
"data-slot": "sidebar-group-label",
|
|
@@ -5855,7 +5894,7 @@ function SidebarGroupAction(_a) {
|
|
|
5855
5894
|
"asChild"
|
|
5856
5895
|
]);
|
|
5857
5896
|
const Comp = asChild ? Slot8.Root : "button";
|
|
5858
|
-
return /* @__PURE__ */
|
|
5897
|
+
return /* @__PURE__ */ jsx52(
|
|
5859
5898
|
Comp,
|
|
5860
5899
|
__spreadValues({
|
|
5861
5900
|
"data-slot": "sidebar-group-action",
|
|
@@ -5876,7 +5915,7 @@ function SidebarGroupContent(_a) {
|
|
|
5876
5915
|
} = _b, props = __objRest(_b, [
|
|
5877
5916
|
"className"
|
|
5878
5917
|
]);
|
|
5879
|
-
return /* @__PURE__ */
|
|
5918
|
+
return /* @__PURE__ */ jsx52(
|
|
5880
5919
|
"div",
|
|
5881
5920
|
__spreadValues({
|
|
5882
5921
|
"data-slot": "sidebar-group-content",
|
|
@@ -5887,7 +5926,7 @@ function SidebarGroupContent(_a) {
|
|
|
5887
5926
|
}
|
|
5888
5927
|
function SidebarMenu(_a) {
|
|
5889
5928
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5890
|
-
return /* @__PURE__ */
|
|
5929
|
+
return /* @__PURE__ */ jsx52(
|
|
5891
5930
|
"ul",
|
|
5892
5931
|
__spreadValues({
|
|
5893
5932
|
"data-slot": "sidebar-menu",
|
|
@@ -5898,7 +5937,7 @@ function SidebarMenu(_a) {
|
|
|
5898
5937
|
}
|
|
5899
5938
|
function SidebarMenuItem(_a) {
|
|
5900
5939
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5901
|
-
return /* @__PURE__ */
|
|
5940
|
+
return /* @__PURE__ */ jsx52(
|
|
5902
5941
|
"li",
|
|
5903
5942
|
__spreadValues({
|
|
5904
5943
|
"data-slot": "sidebar-menu-item",
|
|
@@ -5907,7 +5946,7 @@ function SidebarMenuItem(_a) {
|
|
|
5907
5946
|
}, props)
|
|
5908
5947
|
);
|
|
5909
5948
|
}
|
|
5910
|
-
var sidebarMenuButtonVariants =
|
|
5949
|
+
var sidebarMenuButtonVariants = cva13(
|
|
5911
5950
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-sm p-2 text-left text-sidebar-foreground text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-secondary-hover hover:text-primary focus-visible:ring-2 active:bg-secondary-hover active:text-primary disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-secondary-hover data-[active=true]:font-semibold data-[active=true]:text-primary data-[active=true]:hover:bg-secondary-hover data-[active=true]:hover:text-primary data-[state=open]:hover:bg-secondary-hover data-[state=open]:hover:text-primary [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 data-[active=true]:[&>svg]:text-primary",
|
|
5912
5951
|
{
|
|
5913
5952
|
variants: {
|
|
@@ -5945,7 +5984,7 @@ function SidebarMenuButton(_a) {
|
|
|
5945
5984
|
]);
|
|
5946
5985
|
const Comp = asChild ? Slot8.Root : "button";
|
|
5947
5986
|
const { isMobile, state } = useSidebar();
|
|
5948
|
-
const button = /* @__PURE__ */
|
|
5987
|
+
const button = /* @__PURE__ */ jsx52(
|
|
5949
5988
|
Comp,
|
|
5950
5989
|
__spreadValues({
|
|
5951
5990
|
"data-slot": "sidebar-menu-button",
|
|
@@ -5964,8 +6003,8 @@ function SidebarMenuButton(_a) {
|
|
|
5964
6003
|
};
|
|
5965
6004
|
}
|
|
5966
6005
|
return /* @__PURE__ */ jsxs26(Tooltip2, { children: [
|
|
5967
|
-
/* @__PURE__ */
|
|
5968
|
-
/* @__PURE__ */
|
|
6006
|
+
/* @__PURE__ */ jsx52(TooltipTrigger, { asChild: true, children: button }),
|
|
6007
|
+
/* @__PURE__ */ jsx52(
|
|
5969
6008
|
TooltipContent,
|
|
5970
6009
|
__spreadValues({
|
|
5971
6010
|
side: "right",
|
|
@@ -5986,7 +6025,7 @@ function SidebarMenuAction(_a) {
|
|
|
5986
6025
|
"showOnHover"
|
|
5987
6026
|
]);
|
|
5988
6027
|
const Comp = asChild ? Slot8.Root : "button";
|
|
5989
|
-
return /* @__PURE__ */
|
|
6028
|
+
return /* @__PURE__ */ jsx52(
|
|
5990
6029
|
Comp,
|
|
5991
6030
|
__spreadValues({
|
|
5992
6031
|
"data-slot": "sidebar-menu-action",
|
|
@@ -6011,7 +6050,7 @@ function SidebarMenuBadge(_a) {
|
|
|
6011
6050
|
} = _b, props = __objRest(_b, [
|
|
6012
6051
|
"className"
|
|
6013
6052
|
]);
|
|
6014
|
-
return /* @__PURE__ */
|
|
6053
|
+
return /* @__PURE__ */ jsx52(
|
|
6015
6054
|
"div",
|
|
6016
6055
|
__spreadValues({
|
|
6017
6056
|
"data-slot": "sidebar-menu-badge",
|
|
@@ -6045,14 +6084,14 @@ function SidebarMenuSkeleton(_a) {
|
|
|
6045
6084
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className)
|
|
6046
6085
|
}, props), {
|
|
6047
6086
|
children: [
|
|
6048
|
-
showIcon && /* @__PURE__ */
|
|
6087
|
+
showIcon && /* @__PURE__ */ jsx52(
|
|
6049
6088
|
Skeleton,
|
|
6050
6089
|
{
|
|
6051
6090
|
className: "size-4 rounded-md",
|
|
6052
6091
|
"data-sidebar": "menu-skeleton-icon"
|
|
6053
6092
|
}
|
|
6054
6093
|
),
|
|
6055
|
-
/* @__PURE__ */
|
|
6094
|
+
/* @__PURE__ */ jsx52(
|
|
6056
6095
|
Skeleton,
|
|
6057
6096
|
{
|
|
6058
6097
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
@@ -6068,7 +6107,7 @@ function SidebarMenuSkeleton(_a) {
|
|
|
6068
6107
|
}
|
|
6069
6108
|
function SidebarMenuSub(_a) {
|
|
6070
6109
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6071
|
-
return /* @__PURE__ */
|
|
6110
|
+
return /* @__PURE__ */ jsx52(
|
|
6072
6111
|
"ul",
|
|
6073
6112
|
__spreadValues({
|
|
6074
6113
|
"data-slot": "sidebar-menu-sub",
|
|
@@ -6087,7 +6126,7 @@ function SidebarMenuSubItem(_a) {
|
|
|
6087
6126
|
} = _b, props = __objRest(_b, [
|
|
6088
6127
|
"className"
|
|
6089
6128
|
]);
|
|
6090
|
-
return /* @__PURE__ */
|
|
6129
|
+
return /* @__PURE__ */ jsx52(
|
|
6091
6130
|
"li",
|
|
6092
6131
|
__spreadValues({
|
|
6093
6132
|
"data-slot": "sidebar-menu-sub-item",
|
|
@@ -6109,7 +6148,7 @@ function SidebarMenuSubButton(_a) {
|
|
|
6109
6148
|
"className"
|
|
6110
6149
|
]);
|
|
6111
6150
|
const Comp = asChild ? Slot8.Root : "a";
|
|
6112
|
-
return /* @__PURE__ */
|
|
6151
|
+
return /* @__PURE__ */ jsx52(
|
|
6113
6152
|
Comp,
|
|
6114
6153
|
__spreadValues({
|
|
6115
6154
|
"data-slot": "sidebar-menu-sub-button",
|
|
@@ -6131,7 +6170,7 @@ function SidebarMenuSubButton(_a) {
|
|
|
6131
6170
|
// components/ui/slider.tsx
|
|
6132
6171
|
import * as React13 from "react";
|
|
6133
6172
|
import { Slider as SliderPrimitive } from "radix-ui";
|
|
6134
|
-
import { jsx as
|
|
6173
|
+
import { jsx as jsx53, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6135
6174
|
function Slider(_a) {
|
|
6136
6175
|
var _b = _a, {
|
|
6137
6176
|
className,
|
|
@@ -6164,14 +6203,14 @@ function Slider(_a) {
|
|
|
6164
6203
|
)
|
|
6165
6204
|
}, props), {
|
|
6166
6205
|
children: [
|
|
6167
|
-
/* @__PURE__ */
|
|
6206
|
+
/* @__PURE__ */ jsx53(
|
|
6168
6207
|
SliderPrimitive.Track,
|
|
6169
6208
|
{
|
|
6170
6209
|
"data-slot": "slider-track",
|
|
6171
6210
|
className: cn(
|
|
6172
6211
|
"relative grow overflow-hidden rounded-full bg-subtle data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
6173
6212
|
),
|
|
6174
|
-
children: /* @__PURE__ */
|
|
6213
|
+
children: /* @__PURE__ */ jsx53(
|
|
6175
6214
|
SliderPrimitive.Range,
|
|
6176
6215
|
{
|
|
6177
6216
|
"data-slot": "slider-range",
|
|
@@ -6182,7 +6221,7 @@ function Slider(_a) {
|
|
|
6182
6221
|
)
|
|
6183
6222
|
}
|
|
6184
6223
|
),
|
|
6185
|
-
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */
|
|
6224
|
+
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ jsx53(
|
|
6186
6225
|
SliderPrimitive.Thumb,
|
|
6187
6226
|
{
|
|
6188
6227
|
"data-slot": "slider-thumb",
|
|
@@ -6205,12 +6244,12 @@ import {
|
|
|
6205
6244
|
} from "lucide-react";
|
|
6206
6245
|
import { useTheme } from "next-themes";
|
|
6207
6246
|
import { Toaster as Sonner, toast } from "sonner";
|
|
6208
|
-
import { jsx as
|
|
6247
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
6209
6248
|
var Toaster = (_a) => {
|
|
6210
6249
|
var props = __objRest(_a, []);
|
|
6211
6250
|
const { theme = "system" } = useTheme();
|
|
6212
6251
|
const isMobile = useIsMobile();
|
|
6213
|
-
return /* @__PURE__ */
|
|
6252
|
+
return /* @__PURE__ */ jsx54(
|
|
6214
6253
|
Sonner,
|
|
6215
6254
|
__spreadValues({
|
|
6216
6255
|
theme,
|
|
@@ -6219,11 +6258,11 @@ var Toaster = (_a) => {
|
|
|
6219
6258
|
visibleToasts: isMobile ? 1 : 3,
|
|
6220
6259
|
duration: 4e3,
|
|
6221
6260
|
icons: {
|
|
6222
|
-
success: /* @__PURE__ */
|
|
6223
|
-
info: /* @__PURE__ */
|
|
6224
|
-
warning: /* @__PURE__ */
|
|
6225
|
-
error: /* @__PURE__ */
|
|
6226
|
-
loading: /* @__PURE__ */
|
|
6261
|
+
success: /* @__PURE__ */ jsx54(CircleCheckIcon, { className: "size-4" }),
|
|
6262
|
+
info: /* @__PURE__ */ jsx54(InfoIcon, { className: "size-4" }),
|
|
6263
|
+
warning: /* @__PURE__ */ jsx54(TriangleAlertIcon, { className: "size-4" }),
|
|
6264
|
+
error: /* @__PURE__ */ jsx54(OctagonXIcon, { className: "size-4" }),
|
|
6265
|
+
loading: /* @__PURE__ */ jsx54(Loader2Icon, { className: "size-4 animate-spin" })
|
|
6227
6266
|
},
|
|
6228
6267
|
toastOptions: {
|
|
6229
6268
|
classNames: {
|
|
@@ -6246,7 +6285,7 @@ var Toaster = (_a) => {
|
|
|
6246
6285
|
// components/ui/stepper.tsx
|
|
6247
6286
|
import * as React14 from "react";
|
|
6248
6287
|
import { Minus, Plus } from "lucide-react";
|
|
6249
|
-
import { jsx as
|
|
6288
|
+
import { jsx as jsx55, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6250
6289
|
function clamp(value, min, max) {
|
|
6251
6290
|
return Math.min(Math.max(value, min), max);
|
|
6252
6291
|
}
|
|
@@ -6346,7 +6385,7 @@ function Stepper({
|
|
|
6346
6385
|
"data-disabled": disabled || void 0,
|
|
6347
6386
|
className: cn("w-32", container, className),
|
|
6348
6387
|
children: [
|
|
6349
|
-
/* @__PURE__ */
|
|
6388
|
+
/* @__PURE__ */ jsx55(InputGroupAddon, { align: "inline-start", children: /* @__PURE__ */ jsx55(
|
|
6350
6389
|
InputGroupButton,
|
|
6351
6390
|
{
|
|
6352
6391
|
size: buttonSize,
|
|
@@ -6354,10 +6393,10 @@ function Stepper({
|
|
|
6354
6393
|
onClick: handleDecrement,
|
|
6355
6394
|
disabled: disabled || currentValue <= min,
|
|
6356
6395
|
"aria-label": "Decrease value",
|
|
6357
|
-
children: /* @__PURE__ */
|
|
6396
|
+
children: /* @__PURE__ */ jsx55(Minus, { className: iconClass })
|
|
6358
6397
|
}
|
|
6359
6398
|
) }),
|
|
6360
|
-
/* @__PURE__ */
|
|
6399
|
+
/* @__PURE__ */ jsx55(
|
|
6361
6400
|
InputGroupInput,
|
|
6362
6401
|
{
|
|
6363
6402
|
type: "text",
|
|
@@ -6380,8 +6419,8 @@ function Stepper({
|
|
|
6380
6419
|
}
|
|
6381
6420
|
),
|
|
6382
6421
|
/* @__PURE__ */ jsxs28(InputGroupAddon, { align: "inline-end", children: [
|
|
6383
|
-
/* @__PURE__ */
|
|
6384
|
-
/* @__PURE__ */
|
|
6422
|
+
/* @__PURE__ */ jsx55(InputGroupText, { className: "font-normal text-on-subtle", children: "USDT" }),
|
|
6423
|
+
/* @__PURE__ */ jsx55(
|
|
6385
6424
|
InputGroupButton,
|
|
6386
6425
|
{
|
|
6387
6426
|
size: buttonSize,
|
|
@@ -6389,7 +6428,7 @@ function Stepper({
|
|
|
6389
6428
|
onClick: handleIncrement,
|
|
6390
6429
|
disabled: disabled || currentValue >= max,
|
|
6391
6430
|
"aria-label": "Increase value",
|
|
6392
|
-
children: /* @__PURE__ */
|
|
6431
|
+
children: /* @__PURE__ */ jsx55(Plus, { className: iconClass })
|
|
6393
6432
|
}
|
|
6394
6433
|
)
|
|
6395
6434
|
] })
|
|
@@ -6400,7 +6439,7 @@ function Stepper({
|
|
|
6400
6439
|
|
|
6401
6440
|
// components/ui/switch.tsx
|
|
6402
6441
|
import { Switch as SwitchPrimitive } from "radix-ui";
|
|
6403
|
-
import { jsx as
|
|
6442
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6404
6443
|
function Switch(_a) {
|
|
6405
6444
|
var _b = _a, {
|
|
6406
6445
|
className,
|
|
@@ -6409,7 +6448,7 @@ function Switch(_a) {
|
|
|
6409
6448
|
"className",
|
|
6410
6449
|
"size"
|
|
6411
6450
|
]);
|
|
6412
|
-
return /* @__PURE__ */
|
|
6451
|
+
return /* @__PURE__ */ jsx56(
|
|
6413
6452
|
SwitchPrimitive.Root,
|
|
6414
6453
|
__spreadProps(__spreadValues({
|
|
6415
6454
|
"data-slot": "switch",
|
|
@@ -6419,7 +6458,7 @@ function Switch(_a) {
|
|
|
6419
6458
|
className
|
|
6420
6459
|
)
|
|
6421
6460
|
}, props), {
|
|
6422
|
-
children: /* @__PURE__ */
|
|
6461
|
+
children: /* @__PURE__ */ jsx56(
|
|
6423
6462
|
SwitchPrimitive.Thumb,
|
|
6424
6463
|
{
|
|
6425
6464
|
"data-slot": "switch-thumb",
|
|
@@ -6433,15 +6472,15 @@ function Switch(_a) {
|
|
|
6433
6472
|
}
|
|
6434
6473
|
|
|
6435
6474
|
// components/ui/table.tsx
|
|
6436
|
-
import { jsx as
|
|
6475
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
6437
6476
|
function Table(_a) {
|
|
6438
6477
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6439
|
-
return /* @__PURE__ */
|
|
6478
|
+
return /* @__PURE__ */ jsx57(
|
|
6440
6479
|
"div",
|
|
6441
6480
|
{
|
|
6442
6481
|
"data-slot": "table-container",
|
|
6443
6482
|
className: "relative w-full overflow-x-auto",
|
|
6444
|
-
children: /* @__PURE__ */
|
|
6483
|
+
children: /* @__PURE__ */ jsx57(
|
|
6445
6484
|
"table",
|
|
6446
6485
|
__spreadValues({
|
|
6447
6486
|
"data-slot": "table",
|
|
@@ -6453,7 +6492,7 @@ function Table(_a) {
|
|
|
6453
6492
|
}
|
|
6454
6493
|
function TableHeader(_a) {
|
|
6455
6494
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6456
|
-
return /* @__PURE__ */
|
|
6495
|
+
return /* @__PURE__ */ jsx57(
|
|
6457
6496
|
"thead",
|
|
6458
6497
|
__spreadValues({
|
|
6459
6498
|
"data-slot": "table-header",
|
|
@@ -6463,7 +6502,7 @@ function TableHeader(_a) {
|
|
|
6463
6502
|
}
|
|
6464
6503
|
function TableBody(_a) {
|
|
6465
6504
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6466
|
-
return /* @__PURE__ */
|
|
6505
|
+
return /* @__PURE__ */ jsx57(
|
|
6467
6506
|
"tbody",
|
|
6468
6507
|
__spreadValues({
|
|
6469
6508
|
"data-slot": "table-body",
|
|
@@ -6473,7 +6512,7 @@ function TableBody(_a) {
|
|
|
6473
6512
|
}
|
|
6474
6513
|
function TableFooter(_a) {
|
|
6475
6514
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6476
|
-
return /* @__PURE__ */
|
|
6515
|
+
return /* @__PURE__ */ jsx57(
|
|
6477
6516
|
"tfoot",
|
|
6478
6517
|
__spreadValues({
|
|
6479
6518
|
"data-slot": "table-footer",
|
|
@@ -6486,7 +6525,7 @@ function TableFooter(_a) {
|
|
|
6486
6525
|
}
|
|
6487
6526
|
function TableRow(_a) {
|
|
6488
6527
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6489
|
-
return /* @__PURE__ */
|
|
6528
|
+
return /* @__PURE__ */ jsx57(
|
|
6490
6529
|
"tr",
|
|
6491
6530
|
__spreadValues({
|
|
6492
6531
|
"data-slot": "table-row",
|
|
@@ -6499,7 +6538,7 @@ function TableRow(_a) {
|
|
|
6499
6538
|
}
|
|
6500
6539
|
function TableHead(_a) {
|
|
6501
6540
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6502
|
-
return /* @__PURE__ */
|
|
6541
|
+
return /* @__PURE__ */ jsx57(
|
|
6503
6542
|
"th",
|
|
6504
6543
|
__spreadValues({
|
|
6505
6544
|
"data-slot": "table-head",
|
|
@@ -6512,7 +6551,7 @@ function TableHead(_a) {
|
|
|
6512
6551
|
}
|
|
6513
6552
|
function TableCell(_a) {
|
|
6514
6553
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6515
|
-
return /* @__PURE__ */
|
|
6554
|
+
return /* @__PURE__ */ jsx57(
|
|
6516
6555
|
"td",
|
|
6517
6556
|
__spreadValues({
|
|
6518
6557
|
"data-slot": "table-cell",
|
|
@@ -6529,7 +6568,7 @@ function TableCaption(_a) {
|
|
|
6529
6568
|
} = _b, props = __objRest(_b, [
|
|
6530
6569
|
"className"
|
|
6531
6570
|
]);
|
|
6532
|
-
return /* @__PURE__ */
|
|
6571
|
+
return /* @__PURE__ */ jsx57(
|
|
6533
6572
|
"caption",
|
|
6534
6573
|
__spreadValues({
|
|
6535
6574
|
"data-slot": "table-caption",
|
|
@@ -6539,9 +6578,9 @@ function TableCaption(_a) {
|
|
|
6539
6578
|
}
|
|
6540
6579
|
|
|
6541
6580
|
// components/ui/tabs.tsx
|
|
6542
|
-
import { cva as
|
|
6581
|
+
import { cva as cva14 } from "class-variance-authority";
|
|
6543
6582
|
import { Tabs as TabsPrimitive } from "radix-ui";
|
|
6544
|
-
import { jsx as
|
|
6583
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6545
6584
|
function Tabs(_a) {
|
|
6546
6585
|
var _b = _a, {
|
|
6547
6586
|
className,
|
|
@@ -6550,7 +6589,7 @@ function Tabs(_a) {
|
|
|
6550
6589
|
"className",
|
|
6551
6590
|
"orientation"
|
|
6552
6591
|
]);
|
|
6553
|
-
return /* @__PURE__ */
|
|
6592
|
+
return /* @__PURE__ */ jsx58(
|
|
6554
6593
|
TabsPrimitive.Root,
|
|
6555
6594
|
__spreadValues({
|
|
6556
6595
|
"data-slot": "tabs",
|
|
@@ -6563,7 +6602,7 @@ function Tabs(_a) {
|
|
|
6563
6602
|
}, props)
|
|
6564
6603
|
);
|
|
6565
6604
|
}
|
|
6566
|
-
var tabsListVariants =
|
|
6605
|
+
var tabsListVariants = cva14(
|
|
6567
6606
|
"group/tabs-list inline-flex w-fit items-center justify-center text-on-subtle group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none has-[[data-icon-position=top]]:h-auto",
|
|
6568
6607
|
{
|
|
6569
6608
|
variants: {
|
|
@@ -6593,7 +6632,7 @@ function TabsList(_a) {
|
|
|
6593
6632
|
"variant",
|
|
6594
6633
|
"size"
|
|
6595
6634
|
]);
|
|
6596
|
-
return /* @__PURE__ */
|
|
6635
|
+
return /* @__PURE__ */ jsx58(
|
|
6597
6636
|
TabsPrimitive.List,
|
|
6598
6637
|
__spreadValues({
|
|
6599
6638
|
"data-slot": "tabs-list",
|
|
@@ -6611,7 +6650,7 @@ function TabsTrigger(_a) {
|
|
|
6611
6650
|
"className",
|
|
6612
6651
|
"iconPosition"
|
|
6613
6652
|
]);
|
|
6614
|
-
return /* @__PURE__ */
|
|
6653
|
+
return /* @__PURE__ */ jsx58(
|
|
6615
6654
|
TabsPrimitive.Trigger,
|
|
6616
6655
|
__spreadValues({
|
|
6617
6656
|
"data-slot": "tabs-trigger",
|
|
@@ -6637,7 +6676,7 @@ function TabsContent(_a) {
|
|
|
6637
6676
|
} = _b, props = __objRest(_b, [
|
|
6638
6677
|
"className"
|
|
6639
6678
|
]);
|
|
6640
|
-
return /* @__PURE__ */
|
|
6679
|
+
return /* @__PURE__ */ jsx58(
|
|
6641
6680
|
TabsPrimitive.Content,
|
|
6642
6681
|
__spreadValues({
|
|
6643
6682
|
"data-slot": "tabs-content",
|
|
@@ -6648,7 +6687,7 @@ function TabsContent(_a) {
|
|
|
6648
6687
|
|
|
6649
6688
|
// components/ui/ticket-card.tsx
|
|
6650
6689
|
import { ArrowRight as ArrowRight2, Info as Info2 } from "lucide-react";
|
|
6651
|
-
import { Fragment as Fragment5, jsx as
|
|
6690
|
+
import { Fragment as Fragment5, jsx as jsx59, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6652
6691
|
function formatBalanceValue(raw) {
|
|
6653
6692
|
const match = raw.match(/^(\D*)([\d,]+(?:\.\d+)?)(\D*)$/);
|
|
6654
6693
|
if (!match) return raw;
|
|
@@ -6672,23 +6711,23 @@ function TicketCard({
|
|
|
6672
6711
|
stubDisabled = false,
|
|
6673
6712
|
compact = false
|
|
6674
6713
|
}) {
|
|
6675
|
-
return /* @__PURE__ */
|
|
6714
|
+
return /* @__PURE__ */ jsx59("div", { className: cn("flex w-full flex-col gap-2", className), children: /* @__PURE__ */ jsxs29("div", { className: "relative flex h-20 w-full items-stretch justify-between rounded-sm bg-subtle", children: [
|
|
6676
6715
|
/* @__PURE__ */ jsxs29("div", { className: cn("flex flex-1 items-center overflow-hidden", compact ? "gap-2 px-2" : "gap-4 px-4"), children: [
|
|
6677
|
-
icon && /* @__PURE__ */
|
|
6716
|
+
icon && /* @__PURE__ */ jsx59("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-primary text-primary", children: icon }),
|
|
6678
6717
|
/* @__PURE__ */ jsxs29("div", { className: "flex h-11 flex-col justify-center gap-1 whitespace-nowrap", children: [
|
|
6679
|
-
/* @__PURE__ */
|
|
6718
|
+
/* @__PURE__ */ jsx59("p", { className: "text-xs text-on-subtle", children: label }),
|
|
6680
6719
|
/* @__PURE__ */ jsxs29("p", { className: "leading-none", children: [
|
|
6681
|
-
/* @__PURE__ */
|
|
6720
|
+
/* @__PURE__ */ jsx59("span", { className: "text-[20px] font-bold text-on-prominent", children: formatBalanceValue(value) }),
|
|
6682
6721
|
currency && /* @__PURE__ */ jsxs29(Fragment5, { children: [
|
|
6683
6722
|
" ",
|
|
6684
|
-
/* @__PURE__ */
|
|
6723
|
+
/* @__PURE__ */ jsx59("span", { className: "text-sm text-on-subtle", children: currency })
|
|
6685
6724
|
] })
|
|
6686
6725
|
] })
|
|
6687
6726
|
] })
|
|
6688
6727
|
] }),
|
|
6689
|
-
/* @__PURE__ */
|
|
6690
|
-
/* @__PURE__ */
|
|
6691
|
-
/* @__PURE__ */
|
|
6728
|
+
/* @__PURE__ */ jsx59("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] top-[-12px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6729
|
+
/* @__PURE__ */ jsx59("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] top-[68px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6730
|
+
/* @__PURE__ */ jsx59(
|
|
6692
6731
|
"div",
|
|
6693
6732
|
{
|
|
6694
6733
|
"aria-hidden": true,
|
|
@@ -6713,7 +6752,7 @@ function TicketCard({
|
|
|
6713
6752
|
stubDisabled ? "cursor-not-allowed opacity-50" : "hover:bg-primary-hover"
|
|
6714
6753
|
),
|
|
6715
6754
|
children: [
|
|
6716
|
-
!stubDisabled && /* @__PURE__ */
|
|
6755
|
+
!stubDisabled && /* @__PURE__ */ jsx59(
|
|
6717
6756
|
"span",
|
|
6718
6757
|
{
|
|
6719
6758
|
"aria-hidden": true,
|
|
@@ -6723,8 +6762,8 @@ function TicketCard({
|
|
|
6723
6762
|
}
|
|
6724
6763
|
}
|
|
6725
6764
|
),
|
|
6726
|
-
/* @__PURE__ */
|
|
6727
|
-
/* @__PURE__ */
|
|
6765
|
+
/* @__PURE__ */ jsx59(ArrowRight2, { className: "size-4 text-on-primary" }),
|
|
6766
|
+
/* @__PURE__ */ jsx59("span", { className: "text-sm font-semibold text-on-primary", children: stubLabel })
|
|
6728
6767
|
]
|
|
6729
6768
|
}
|
|
6730
6769
|
)
|
|
@@ -6750,30 +6789,30 @@ function CreditTicketCard({
|
|
|
6750
6789
|
badgeInfoCloseLabel,
|
|
6751
6790
|
compact = false
|
|
6752
6791
|
}) {
|
|
6753
|
-
return /* @__PURE__ */
|
|
6792
|
+
return /* @__PURE__ */ jsx59("div", { className: cn("flex w-full flex-col gap-2", className), children: /* @__PURE__ */ jsxs29("div", { className: "relative flex w-full items-stretch justify-between rounded-sm bg-subtle", children: [
|
|
6754
6793
|
(() => {
|
|
6755
6794
|
const badgeText = badgeValue ? `${badgeValue}${badgeCurrency ? ` ${badgeCurrency}` : ""}` : badgeLabel;
|
|
6756
6795
|
const creditBadge = /* @__PURE__ */ jsxs29(Badge, { variant: "fill-credit", size: "sm", className: "!gap-1 !tracking-normal", children: [
|
|
6757
6796
|
badgeIcon,
|
|
6758
6797
|
badgeText,
|
|
6759
|
-
badgeInfo && /* @__PURE__ */
|
|
6760
|
-
/* @__PURE__ */
|
|
6798
|
+
badgeInfo && /* @__PURE__ */ jsx59(TooltipProvider, { children: /* @__PURE__ */ jsxs29(Tooltip2, { children: [
|
|
6799
|
+
/* @__PURE__ */ jsx59(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx59(
|
|
6761
6800
|
"button",
|
|
6762
6801
|
{
|
|
6763
6802
|
type: "button",
|
|
6764
6803
|
"aria-label": `More info about ${badgeLabel.toLowerCase()}`,
|
|
6765
6804
|
className: "inline-flex shrink-0 items-center justify-center rounded-full text-on-semantic-boost outline-none transition-opacity hover:opacity-70 focus-visible:opacity-70 focus-visible:ring-2 focus-visible:ring-on-semantic-boost/40 cursor-pointer",
|
|
6766
|
-
children: /* @__PURE__ */
|
|
6805
|
+
children: /* @__PURE__ */ jsx59(Info2, { className: "!size-3.5", strokeWidth: 2 })
|
|
6767
6806
|
}
|
|
6768
6807
|
) }),
|
|
6769
|
-
/* @__PURE__ */
|
|
6808
|
+
/* @__PURE__ */ jsx59(TooltipContent, { side: badgeInfoSide, align: badgeInfoAlign, title: badgeInfoTitle, closeLabel: badgeInfoCloseLabel, variant: "inverse", children: badgeInfo })
|
|
6770
6809
|
] }) })
|
|
6771
6810
|
] });
|
|
6772
6811
|
const valueText = /* @__PURE__ */ jsxs29("p", { className: "leading-none whitespace-nowrap", children: [
|
|
6773
|
-
/* @__PURE__ */
|
|
6812
|
+
/* @__PURE__ */ jsx59("span", { className: "text-[20px] font-bold text-on-prominent", children: formatBalanceValue(value) }),
|
|
6774
6813
|
currency && /* @__PURE__ */ jsxs29(Fragment5, { children: [
|
|
6775
6814
|
" ",
|
|
6776
|
-
/* @__PURE__ */
|
|
6815
|
+
/* @__PURE__ */ jsx59("span", { className: "text-sm text-on-subtle", children: currency })
|
|
6777
6816
|
] })
|
|
6778
6817
|
] });
|
|
6779
6818
|
return /* @__PURE__ */ jsxs29(
|
|
@@ -6784,9 +6823,9 @@ function CreditTicketCard({
|
|
|
6784
6823
|
compact ? "gap-2 px-2 py-4" : "gap-4 px-4 py-4"
|
|
6785
6824
|
),
|
|
6786
6825
|
children: [
|
|
6787
|
-
icon && /* @__PURE__ */
|
|
6826
|
+
icon && /* @__PURE__ */ jsx59("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-primary text-primary", children: icon }),
|
|
6788
6827
|
/* @__PURE__ */ jsxs29("div", { className: "flex min-w-0 flex-col gap-1", children: [
|
|
6789
|
-
/* @__PURE__ */
|
|
6828
|
+
/* @__PURE__ */ jsx59("p", { className: "text-xs text-on-subtle whitespace-nowrap", children: label }),
|
|
6790
6829
|
/* @__PURE__ */ jsxs29(
|
|
6791
6830
|
"div",
|
|
6792
6831
|
{
|
|
@@ -6805,9 +6844,9 @@ function CreditTicketCard({
|
|
|
6805
6844
|
}
|
|
6806
6845
|
);
|
|
6807
6846
|
})(),
|
|
6808
|
-
/* @__PURE__ */
|
|
6809
|
-
/* @__PURE__ */
|
|
6810
|
-
/* @__PURE__ */
|
|
6847
|
+
/* @__PURE__ */ jsx59("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] top-[-12px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6848
|
+
/* @__PURE__ */ jsx59("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] bottom-[-12px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6849
|
+
/* @__PURE__ */ jsx59(
|
|
6811
6850
|
"div",
|
|
6812
6851
|
{
|
|
6813
6852
|
"aria-hidden": true,
|
|
@@ -6832,7 +6871,7 @@ function CreditTicketCard({
|
|
|
6832
6871
|
stubDisabled ? "cursor-not-allowed opacity-50" : "hover:bg-primary-hover"
|
|
6833
6872
|
),
|
|
6834
6873
|
children: [
|
|
6835
|
-
!stubDisabled && /* @__PURE__ */
|
|
6874
|
+
!stubDisabled && /* @__PURE__ */ jsx59(
|
|
6836
6875
|
"span",
|
|
6837
6876
|
{
|
|
6838
6877
|
"aria-hidden": true,
|
|
@@ -6842,8 +6881,8 @@ function CreditTicketCard({
|
|
|
6842
6881
|
}
|
|
6843
6882
|
}
|
|
6844
6883
|
),
|
|
6845
|
-
/* @__PURE__ */
|
|
6846
|
-
/* @__PURE__ */
|
|
6884
|
+
/* @__PURE__ */ jsx59(ArrowRight2, { className: "size-4 text-on-primary" }),
|
|
6885
|
+
/* @__PURE__ */ jsx59("span", { className: "text-sm font-semibold text-on-primary", children: stubLabel })
|
|
6847
6886
|
]
|
|
6848
6887
|
}
|
|
6849
6888
|
)
|
|
@@ -6852,10 +6891,10 @@ function CreditTicketCard({
|
|
|
6852
6891
|
var TicketCardDesktop = TicketCard;
|
|
6853
6892
|
|
|
6854
6893
|
// components/ui/toggle.tsx
|
|
6855
|
-
import { cva as
|
|
6894
|
+
import { cva as cva15 } from "class-variance-authority";
|
|
6856
6895
|
import { Toggle as TogglePrimitive } from "radix-ui";
|
|
6857
|
-
import { jsx as
|
|
6858
|
-
var toggleVariants =
|
|
6896
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
6897
|
+
var toggleVariants = cva15(
|
|
6859
6898
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-on-prominent focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-secondary-hover data-[state=on]:border-transparent data-[state=on]:text-primary [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
6860
6899
|
{
|
|
6861
6900
|
variants: {
|
|
@@ -6885,7 +6924,7 @@ function Toggle(_a) {
|
|
|
6885
6924
|
"variant",
|
|
6886
6925
|
"size"
|
|
6887
6926
|
]);
|
|
6888
|
-
return /* @__PURE__ */
|
|
6927
|
+
return /* @__PURE__ */ jsx60(
|
|
6889
6928
|
TogglePrimitive.Root,
|
|
6890
6929
|
__spreadValues({
|
|
6891
6930
|
"data-slot": "toggle",
|
|
@@ -6897,7 +6936,7 @@ function Toggle(_a) {
|
|
|
6897
6936
|
// components/ui/toggle-group.tsx
|
|
6898
6937
|
import * as React15 from "react";
|
|
6899
6938
|
import { ToggleGroup as ToggleGroupPrimitive } from "radix-ui";
|
|
6900
|
-
import { jsx as
|
|
6939
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
6901
6940
|
var ToggleGroupContext = React15.createContext({
|
|
6902
6941
|
size: "default",
|
|
6903
6942
|
variant: "default",
|
|
@@ -6917,7 +6956,7 @@ function ToggleGroup(_a) {
|
|
|
6917
6956
|
"spacing",
|
|
6918
6957
|
"children"
|
|
6919
6958
|
]);
|
|
6920
|
-
return /* @__PURE__ */
|
|
6959
|
+
return /* @__PURE__ */ jsx61(
|
|
6921
6960
|
ToggleGroupPrimitive.Root,
|
|
6922
6961
|
__spreadProps(__spreadValues({
|
|
6923
6962
|
"data-slot": "toggle-group",
|
|
@@ -6930,7 +6969,7 @@ function ToggleGroup(_a) {
|
|
|
6930
6969
|
className
|
|
6931
6970
|
)
|
|
6932
6971
|
}, props), {
|
|
6933
|
-
children: /* @__PURE__ */
|
|
6972
|
+
children: /* @__PURE__ */ jsx61(ToggleGroupContext.Provider, { value: { variant, size, spacing }, children })
|
|
6934
6973
|
})
|
|
6935
6974
|
);
|
|
6936
6975
|
}
|
|
@@ -6947,7 +6986,7 @@ function ToggleGroupItem(_a) {
|
|
|
6947
6986
|
"size"
|
|
6948
6987
|
]);
|
|
6949
6988
|
const context = React15.useContext(ToggleGroupContext);
|
|
6950
|
-
return /* @__PURE__ */
|
|
6989
|
+
return /* @__PURE__ */ jsx61(
|
|
6951
6990
|
ToggleGroupPrimitive.Item,
|
|
6952
6991
|
__spreadProps(__spreadValues({
|
|
6953
6992
|
"data-slot": "toggle-group-item",
|
|
@@ -6970,7 +7009,7 @@ function ToggleGroupItem(_a) {
|
|
|
6970
7009
|
}
|
|
6971
7010
|
|
|
6972
7011
|
// components/blocks/result-block.tsx
|
|
6973
|
-
import { Fragment as Fragment6, jsx as
|
|
7012
|
+
import { Fragment as Fragment6, jsx as jsx62, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6974
7013
|
var THUMBS_UP_DATA_URL = "data:image/webp;base64,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";
|
|
6975
7014
|
var THUMBS_DOWN_DATA_URL = "data:image/webp;base64,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";
|
|
6976
7015
|
function ResultBlock({
|
|
@@ -6989,7 +7028,7 @@ function ResultBlock({
|
|
|
6989
7028
|
const haloBgClass = isWin ? "bg-semantic-win" : "bg-semantic-loss";
|
|
6990
7029
|
return /* @__PURE__ */ jsxs30(Card, { className: "w-80 shrink-0 overflow-hidden rounded-md shadow-sm px-5 py-5 items-center gap-3", children: [
|
|
6991
7030
|
/* @__PURE__ */ jsxs30("div", { className: "relative flex items-center justify-center py-2", children: [
|
|
6992
|
-
/* @__PURE__ */
|
|
7031
|
+
/* @__PURE__ */ jsx62(
|
|
6993
7032
|
"span",
|
|
6994
7033
|
{
|
|
6995
7034
|
"aria-hidden": true,
|
|
@@ -6997,7 +7036,7 @@ function ResultBlock({
|
|
|
6997
7036
|
className: `absolute size-24 rounded-full blur-2xl opacity-20 ${haloBgClass}`
|
|
6998
7037
|
}
|
|
6999
7038
|
),
|
|
7000
|
-
/* @__PURE__ */
|
|
7039
|
+
/* @__PURE__ */ jsx62(
|
|
7001
7040
|
"img",
|
|
7002
7041
|
{
|
|
7003
7042
|
"data-results-motion": isWin ? "icon-win" : "icon-loss",
|
|
@@ -7007,28 +7046,28 @@ function ResultBlock({
|
|
|
7007
7046
|
}
|
|
7008
7047
|
)
|
|
7009
7048
|
] }),
|
|
7010
|
-
/* @__PURE__ */
|
|
7049
|
+
/* @__PURE__ */ jsx62("p", { className: "text-lg font-semibold text-on-prominent", children: titleText }),
|
|
7011
7050
|
/* @__PURE__ */ jsxs30("p", { className: `flex items-baseline gap-1.5 ${amountColorClass}`, children: [
|
|
7012
|
-
/* @__PURE__ */
|
|
7013
|
-
/* @__PURE__ */
|
|
7051
|
+
/* @__PURE__ */ jsx62("span", { className: "font-display text-4xl font-bold tabular-nums tracking-tight", children: signedAmount }),
|
|
7052
|
+
/* @__PURE__ */ jsx62("span", { className: "text-lg font-semibold", children: currency })
|
|
7014
7053
|
] }),
|
|
7015
7054
|
/* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-2", children: [
|
|
7016
7055
|
/* @__PURE__ */ jsxs30(Badge, { variant: "standard", size: "sm", children: [
|
|
7017
7056
|
contractLabel,
|
|
7018
7057
|
pickedDigit !== void 0 && /* @__PURE__ */ jsxs30(Fragment6, { children: [
|
|
7019
|
-
/* @__PURE__ */
|
|
7020
|
-
/* @__PURE__ */
|
|
7058
|
+
/* @__PURE__ */ jsx62("span", { "aria-hidden": true, className: "h-3 w-px bg-border-prominent/40 mx-1" }),
|
|
7059
|
+
/* @__PURE__ */ jsx62("span", { className: "tabular-nums", children: pickedDigit })
|
|
7021
7060
|
] })
|
|
7022
7061
|
] }),
|
|
7023
|
-
/* @__PURE__ */
|
|
7062
|
+
/* @__PURE__ */ jsx62(Badge, { variant: "standard", size: "sm", children: duration })
|
|
7024
7063
|
] }),
|
|
7025
7064
|
/* @__PURE__ */ jsxs30("div", { className: "w-full pt-2", children: [
|
|
7026
|
-
ctaMode === "next-round" && /* @__PURE__ */
|
|
7027
|
-
ctaMode === "go-again" && /* @__PURE__ */
|
|
7065
|
+
ctaMode === "next-round" && /* @__PURE__ */ jsx62(Button, { className: "w-full", children: "Next round" }),
|
|
7066
|
+
ctaMode === "go-again" && /* @__PURE__ */ jsx62(Button, { className: "w-full", children: "Go again" }),
|
|
7028
7067
|
ctaMode === "conversion" && /* @__PURE__ */ jsxs30("div", { className: "w-full flex flex-col gap-3", children: [
|
|
7029
|
-
/* @__PURE__ */
|
|
7030
|
-
/* @__PURE__ */
|
|
7031
|
-
/* @__PURE__ */
|
|
7068
|
+
/* @__PURE__ */ jsx62("p", { className: "text-center text-base font-semibold text-on-prominent", children: "Ready to play for real?" }),
|
|
7069
|
+
/* @__PURE__ */ jsx62(Button, { className: "w-full", children: "Deposit now" }),
|
|
7070
|
+
/* @__PURE__ */ jsx62(Button, { variant: "secondary", className: "w-full", children: "Stay in demo" })
|
|
7032
7071
|
] })
|
|
7033
7072
|
] })
|
|
7034
7073
|
] });
|
|
@@ -7041,19 +7080,19 @@ function ResultDialog({
|
|
|
7041
7080
|
}) {
|
|
7042
7081
|
return /* @__PURE__ */ jsxs30(Card, { className: "w-80 shrink-0 overflow-hidden rounded-md shadow-sm px-5 py-6 items-center gap-4", children: [
|
|
7043
7082
|
/* @__PURE__ */ jsxs30("div", { className: "flex flex-col items-center gap-2 text-center", children: [
|
|
7044
|
-
/* @__PURE__ */
|
|
7045
|
-
/* @__PURE__ */
|
|
7083
|
+
/* @__PURE__ */ jsx62("p", { className: "text-lg font-semibold text-on-prominent", children: title }),
|
|
7084
|
+
/* @__PURE__ */ jsx62("p", { className: "text-sm text-on-subtle", children: body })
|
|
7046
7085
|
] }),
|
|
7047
7086
|
/* @__PURE__ */ jsxs30("div", { className: "w-full flex flex-col gap-2", children: [
|
|
7048
|
-
/* @__PURE__ */
|
|
7049
|
-
/* @__PURE__ */
|
|
7087
|
+
/* @__PURE__ */ jsx62(Button, { className: "w-full", children: primaryLabel }),
|
|
7088
|
+
/* @__PURE__ */ jsx62(Button, { variant: "secondary", className: "w-full", children: secondaryLabel })
|
|
7050
7089
|
] })
|
|
7051
7090
|
] });
|
|
7052
7091
|
}
|
|
7053
7092
|
|
|
7054
7093
|
// components/blocks/header-navigation-block.tsx
|
|
7055
7094
|
import { ArrowLeft as ArrowLeft2, History } from "lucide-react";
|
|
7056
|
-
import { jsx as
|
|
7095
|
+
import { jsx as jsx63, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
7057
7096
|
function HeaderNavigationBlock({
|
|
7058
7097
|
onBack,
|
|
7059
7098
|
badge,
|
|
@@ -7062,15 +7101,15 @@ function HeaderNavigationBlock({
|
|
|
7062
7101
|
actions
|
|
7063
7102
|
}) {
|
|
7064
7103
|
var _a;
|
|
7065
|
-
return /* @__PURE__ */
|
|
7066
|
-
onBack && /* @__PURE__ */
|
|
7104
|
+
return /* @__PURE__ */ jsx63("div", { className: "w-full min-w-80 max-w-layout-diagram-small rounded-md overflow-hidden bg-prominent", children: /* @__PURE__ */ jsxs31("header", { className: "flex items-center gap-2 border-b border-border-subtle bg-prominent px-layout-margin-inline py-3", children: [
|
|
7105
|
+
onBack && /* @__PURE__ */ jsx63(NavigationButton, { type: "button", size: "md", "aria-label": "Back", onClick: onBack, children: /* @__PURE__ */ jsx63(ArrowLeft2, { className: "size-5" }) }),
|
|
7067
7106
|
/* @__PURE__ */ jsxs31("div", { className: "flex min-w-0 flex-1 items-center justify-center gap-2", children: [
|
|
7068
|
-
badge && /* @__PURE__ */
|
|
7069
|
-
/* @__PURE__ */
|
|
7070
|
-
/* @__PURE__ */
|
|
7107
|
+
badge && /* @__PURE__ */ jsx63(Badge, { variant: (_a = badge.variant) != null ? _a : "fill-warning", size: "sm", children: badge.label }),
|
|
7108
|
+
/* @__PURE__ */ jsx63("span", { className: "font-display font-semibold tabular-nums text-on-prominent", children: balance.amount }),
|
|
7109
|
+
/* @__PURE__ */ jsx63("span", { className: "text-sm text-on-subtle", children: balance.currency })
|
|
7071
7110
|
] }),
|
|
7072
7111
|
/* @__PURE__ */ jsxs31("div", { className: "flex shrink-0 items-center gap-1", children: [
|
|
7073
|
-
history && /* @__PURE__ */
|
|
7112
|
+
history && /* @__PURE__ */ jsx63(HistoryButton, __spreadValues({}, history)),
|
|
7074
7113
|
actions
|
|
7075
7114
|
] })
|
|
7076
7115
|
] }) });
|
|
@@ -7084,8 +7123,8 @@ function HistoryButton({
|
|
|
7084
7123
|
const label = show ? count > 99 ? "99+" : String(count) : null;
|
|
7085
7124
|
const ariaLabel = ariaLabelOverride != null ? ariaLabelOverride : show ? `Open history, ${count} new` : "Open history";
|
|
7086
7125
|
return /* @__PURE__ */ jsxs31("div", { className: "relative inline-flex", children: [
|
|
7087
|
-
/* @__PURE__ */
|
|
7088
|
-
show && /* @__PURE__ */
|
|
7126
|
+
/* @__PURE__ */ jsx63(NavigationButton, { type: "button", size: "md", "aria-label": ariaLabel, onClick, children: /* @__PURE__ */ jsx63(History, { className: "size-5" }) }),
|
|
7127
|
+
show && /* @__PURE__ */ jsx63(
|
|
7089
7128
|
"span",
|
|
7090
7129
|
{
|
|
7091
7130
|
"aria-hidden": true,
|
|
@@ -7097,17 +7136,61 @@ function HistoryButton({
|
|
|
7097
7136
|
}
|
|
7098
7137
|
|
|
7099
7138
|
// components/blocks/faq-block.tsx
|
|
7100
|
-
import {
|
|
7139
|
+
import { Plus as Plus2 } from "lucide-react";
|
|
7140
|
+
import { Accordion as AccordionPrimitive2 } from "radix-ui";
|
|
7141
|
+
import { jsx as jsx64, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
7101
7142
|
function FAQBlock({
|
|
7102
|
-
eyebrow = "FAQ
|
|
7143
|
+
eyebrow = "FAQ",
|
|
7103
7144
|
title = "Frequently asked questions",
|
|
7104
|
-
intro,
|
|
7145
|
+
intro = "Find answers to the most common questions below.",
|
|
7105
7146
|
items,
|
|
7106
7147
|
defaultValue,
|
|
7107
7148
|
helpCard,
|
|
7108
7149
|
layout = "desktop"
|
|
7109
7150
|
}) {
|
|
7110
|
-
var _a;
|
|
7151
|
+
var _a, _b;
|
|
7152
|
+
if (layout === "two-column") {
|
|
7153
|
+
return /* @__PURE__ */ jsx64("div", { className: "@container w-full", children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col @[600px]:flex-row gap-8 @[600px]:gap-12", children: [
|
|
7154
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-4 flex-1 @[600px]:max-w-xs", children: [
|
|
7155
|
+
/* @__PURE__ */ jsx64("span", { className: "text-xs font-body font-semibold tracking-widest uppercase text-on-subtle", children: eyebrow }),
|
|
7156
|
+
/* @__PURE__ */ jsx64("h2", { className: "text-4xl @[600px]:text-6xl font-bold font-display text-on-prominent tracking-tight", children: title }),
|
|
7157
|
+
intro && /* @__PURE__ */ jsx64("p", { className: "text-base font-body text-on-subtle", children: intro })
|
|
7158
|
+
] }),
|
|
7159
|
+
/* @__PURE__ */ jsx64("div", { className: "flex-1", children: /* @__PURE__ */ jsx64(
|
|
7160
|
+
Accordion,
|
|
7161
|
+
{
|
|
7162
|
+
type: "single",
|
|
7163
|
+
collapsible: true,
|
|
7164
|
+
defaultValue: defaultValue != null ? defaultValue : (_a = items[0]) == null ? void 0 : _a.value,
|
|
7165
|
+
className: "w-full",
|
|
7166
|
+
children: items.map(({ value, question, answer }, i) => /* @__PURE__ */ jsxs32(AccordionItem, { value, children: [
|
|
7167
|
+
/* @__PURE__ */ jsx64(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ jsxs32(
|
|
7168
|
+
AccordionPrimitive2.Trigger,
|
|
7169
|
+
{
|
|
7170
|
+
className: "group flex flex-1 items-center justify-between gap-4 py-5 text-left outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
7171
|
+
children: [
|
|
7172
|
+
/* @__PURE__ */ jsxs32("span", { className: "flex items-baseline gap-4", children: [
|
|
7173
|
+
/* @__PURE__ */ jsx64("span", { className: "text-sm font-body text-on-subtle shrink-0 w-6", children: String(i + 1).padStart(2, "0") }),
|
|
7174
|
+
/* @__PURE__ */ jsx64("span", { className: "text-lg @[600px]:text-xl font-bold font-display text-on-prominent", children: question })
|
|
7175
|
+
] }),
|
|
7176
|
+
/* @__PURE__ */ jsx64("span", { className: cn(
|
|
7177
|
+
"shrink-0 size-7 flex items-center justify-center rounded-sm border transition-all duration-200",
|
|
7178
|
+
"group-data-[state=open]:bg-primary group-data-[state=open]:border-primary",
|
|
7179
|
+
"group-data-[state=closed]:bg-transparent group-data-[state=closed]:border-border-subtle"
|
|
7180
|
+
), children: /* @__PURE__ */ jsx64(Plus2, { className: cn(
|
|
7181
|
+
"size-4 transition-all duration-200",
|
|
7182
|
+
"group-data-[state=open]:rotate-45 group-data-[state=open]:text-on-primary",
|
|
7183
|
+
"group-data-[state=closed]:text-on-prominent"
|
|
7184
|
+
) }) })
|
|
7185
|
+
]
|
|
7186
|
+
}
|
|
7187
|
+
) }),
|
|
7188
|
+
/* @__PURE__ */ jsx64(AccordionContent, { children: /* @__PURE__ */ jsx64("p", { className: "text-base font-body text-on-subtle pl-10 pb-4", children: answer }) })
|
|
7189
|
+
] }, value))
|
|
7190
|
+
}
|
|
7191
|
+
) })
|
|
7192
|
+
] }) });
|
|
7193
|
+
}
|
|
7111
7194
|
const headingClass = layout === "desktop" ? "text-5xl font-bold font-display text-on-prominent text-center tracking-tight" : "text-4xl font-bold font-display text-on-prominent text-center tracking-tight";
|
|
7112
7195
|
const helpTitleClass = layout === "desktop" ? "text-2xl font-semibold font-display text-on-prominent" : "text-xl font-semibold font-display text-on-prominent";
|
|
7113
7196
|
const helpCardPaddingClass = layout === "desktop" ? "p-8" : "p-6";
|
|
@@ -7115,36 +7198,36 @@ function FAQBlock({
|
|
|
7115
7198
|
const headerGapClass = layout === "desktop" ? "gap-5" : "gap-4";
|
|
7116
7199
|
return /* @__PURE__ */ jsxs32("div", { className: `w-full flex flex-col ${gapClass}`, children: [
|
|
7117
7200
|
/* @__PURE__ */ jsxs32("div", { className: `flex flex-col ${headerGapClass} items-center w-full`, children: [
|
|
7118
|
-
/* @__PURE__ */
|
|
7119
|
-
/* @__PURE__ */
|
|
7120
|
-
intro && /* @__PURE__ */
|
|
7201
|
+
/* @__PURE__ */ jsx64("span", { className: "text-sm text-on-subtle font-body", children: eyebrow }),
|
|
7202
|
+
/* @__PURE__ */ jsx64("h2", { className: headingClass, children: title }),
|
|
7203
|
+
intro && /* @__PURE__ */ jsx64("p", { className: "text-lg text-on-subtle font-body text-center", children: intro })
|
|
7121
7204
|
] }),
|
|
7122
|
-
/* @__PURE__ */
|
|
7205
|
+
/* @__PURE__ */ jsx64(
|
|
7123
7206
|
Accordion,
|
|
7124
7207
|
{
|
|
7125
7208
|
type: "single",
|
|
7126
7209
|
collapsible: true,
|
|
7127
|
-
defaultValue: defaultValue != null ? defaultValue : (
|
|
7210
|
+
defaultValue: defaultValue != null ? defaultValue : (_b = items[0]) == null ? void 0 : _b.value,
|
|
7128
7211
|
className: "w-full",
|
|
7129
7212
|
children: items.map(({ value, question, answer }) => /* @__PURE__ */ jsxs32(AccordionItem, { value, children: [
|
|
7130
|
-
/* @__PURE__ */
|
|
7131
|
-
/* @__PURE__ */
|
|
7213
|
+
/* @__PURE__ */ jsx64(AccordionTrigger, { className: "text-base font-medium font-body text-on-prominent hover:no-underline", children: question }),
|
|
7214
|
+
/* @__PURE__ */ jsx64(AccordionContent, { children: /* @__PURE__ */ jsx64("p", { className: "text-sm text-on-subtle font-body pb-4", children: answer }) })
|
|
7132
7215
|
] }, value))
|
|
7133
7216
|
}
|
|
7134
7217
|
),
|
|
7135
7218
|
helpCard && /* @__PURE__ */ jsxs32("div", { className: `flex flex-col gap-6 items-center w-full bg-subtle rounded-xl ${helpCardPaddingClass}`, children: [
|
|
7136
7219
|
/* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-2 w-full", children: [
|
|
7137
|
-
/* @__PURE__ */
|
|
7138
|
-
/* @__PURE__ */
|
|
7220
|
+
/* @__PURE__ */ jsx64("h3", { className: helpTitleClass, children: helpCard.title }),
|
|
7221
|
+
/* @__PURE__ */ jsx64("p", { className: "text-base text-on-subtle font-body", children: helpCard.body })
|
|
7139
7222
|
] }),
|
|
7140
|
-
/* @__PURE__ */
|
|
7223
|
+
/* @__PURE__ */ jsx64(Button, { size: "sm", onClick: helpCard.onCtaClick, children: helpCard.ctaLabel })
|
|
7141
7224
|
] })
|
|
7142
7225
|
] });
|
|
7143
7226
|
}
|
|
7144
7227
|
|
|
7145
7228
|
// components/blocks/hero-block.tsx
|
|
7146
7229
|
import { ArrowRight as ArrowRight3, ArrowUpRight } from "lucide-react";
|
|
7147
|
-
import { jsx as
|
|
7230
|
+
import { jsx as jsx65, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
7148
7231
|
function HeroBlock({
|
|
7149
7232
|
layout = "centered",
|
|
7150
7233
|
tagline,
|
|
@@ -7155,31 +7238,31 @@ function HeroBlock({
|
|
|
7155
7238
|
image
|
|
7156
7239
|
}) {
|
|
7157
7240
|
if (layout === "centered") {
|
|
7158
|
-
return /* @__PURE__ */
|
|
7241
|
+
return /* @__PURE__ */ jsx65("div", { className: "w-full border border-border-subtle rounded-xl overflow-hidden bg-prominent", children: /* @__PURE__ */ jsxs33("div", { className: "flex flex-col items-center justify-center gap-8 px-layout-margin-inline py-24 max-w-2xl mx-auto text-center", children: [
|
|
7159
7242
|
/* @__PURE__ */ jsxs33("div", { className: "flex flex-col items-center gap-6 w-full", children: [
|
|
7160
|
-
tagline && /* @__PURE__ */
|
|
7161
|
-
/* @__PURE__ */
|
|
7162
|
-
/* @__PURE__ */
|
|
7243
|
+
tagline && /* @__PURE__ */ jsx65(TaglinePill, __spreadValues({}, tagline)),
|
|
7244
|
+
/* @__PURE__ */ jsx65("h1", { className: "text-5xl font-semibold font-display tracking-tight text-on-prominent text-center", children: heading }),
|
|
7245
|
+
/* @__PURE__ */ jsx65("p", { className: "text-lg font-body text-on-subtle text-center", children: body })
|
|
7163
7246
|
] }),
|
|
7164
7247
|
/* @__PURE__ */ jsxs33(Button, { size: "sm", onClick: primaryCta.onClick, children: [
|
|
7165
7248
|
primaryCta.label,
|
|
7166
|
-
primaryCta.trailingArrow !== false && /* @__PURE__ */
|
|
7249
|
+
primaryCta.trailingArrow !== false && /* @__PURE__ */ jsx65(ArrowRight3, { className: "size-4" })
|
|
7167
7250
|
] })
|
|
7168
7251
|
] }) });
|
|
7169
7252
|
}
|
|
7170
|
-
return /* @__PURE__ */
|
|
7253
|
+
return /* @__PURE__ */ jsx65("div", { className: "w-full border border-border-subtle rounded-xl overflow-hidden bg-prominent", children: /* @__PURE__ */ jsxs33("div", { className: "flex flex-col min-[600px]:flex-row items-center gap-layout-gutter px-layout-margin-inline py-16 min-[600px]:py-24 max-w-5xl mx-auto", children: [
|
|
7171
7254
|
/* @__PURE__ */ jsxs33("div", { className: "flex flex-col gap-6 min-[600px]:gap-8 flex-1 min-w-0 items-center min-[600px]:items-start text-center min-[600px]:text-left w-full", children: [
|
|
7172
7255
|
/* @__PURE__ */ jsxs33("div", { className: "flex flex-col gap-5 min-[600px]:gap-6 items-center min-[600px]:items-start w-full", children: [
|
|
7173
|
-
tagline && /* @__PURE__ */
|
|
7174
|
-
/* @__PURE__ */
|
|
7175
|
-
/* @__PURE__ */
|
|
7256
|
+
tagline && /* @__PURE__ */ jsx65(TaglinePill, __spreadProps(__spreadValues({}, tagline), { responsive: true })),
|
|
7257
|
+
/* @__PURE__ */ jsx65("h1", { className: "text-4xl min-[600px]:text-5xl font-semibold font-display tracking-tight text-on-prominent", children: heading }),
|
|
7258
|
+
/* @__PURE__ */ jsx65("p", { className: "text-lg font-body text-on-subtle", children: body })
|
|
7176
7259
|
] }),
|
|
7177
7260
|
/* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-center min-[600px]:justify-start gap-2", children: [
|
|
7178
|
-
/* @__PURE__ */
|
|
7179
|
-
secondaryCta && /* @__PURE__ */
|
|
7261
|
+
/* @__PURE__ */ jsx65(Button, { size: "sm", onClick: primaryCta.onClick, children: primaryCta.label }),
|
|
7262
|
+
secondaryCta && /* @__PURE__ */ jsx65(Button, { variant: "secondary", size: "sm", onClick: secondaryCta.onClick, children: secondaryCta.label })
|
|
7180
7263
|
] })
|
|
7181
7264
|
] }),
|
|
7182
|
-
/* @__PURE__ */
|
|
7265
|
+
/* @__PURE__ */ jsx65("div", { className: "w-full min-[600px]:flex-1 min-[600px]:min-w-0 aspect-square rounded-xl bg-subtle shrink-0", "aria-hidden": "true", children: image })
|
|
7183
7266
|
] }) });
|
|
7184
7267
|
}
|
|
7185
7268
|
function TaglinePill({
|
|
@@ -7188,24 +7271,24 @@ function TaglinePill({
|
|
|
7188
7271
|
responsive
|
|
7189
7272
|
}) {
|
|
7190
7273
|
return /* @__PURE__ */ jsxs33("div", { className: "inline-flex items-center gap-1.5 h-7 px-3 rounded-full border border-border-subtle bg-prominent shadow-sm shrink-0", children: [
|
|
7191
|
-
/* @__PURE__ */
|
|
7274
|
+
/* @__PURE__ */ jsx65("span", { className: "size-1.5 rounded-full bg-semantic-win shrink-0", "aria-hidden": "true" }),
|
|
7192
7275
|
responsive && suffix ? /* @__PURE__ */ jsxs33("span", { className: "text-sm font-body text-on-prominent whitespace-nowrap", children: [
|
|
7193
7276
|
/* @__PURE__ */ jsxs33("span", { className: "hidden min-[600px]:inline", children: [
|
|
7194
7277
|
label,
|
|
7195
|
-
/* @__PURE__ */
|
|
7278
|
+
/* @__PURE__ */ jsx65("span", { className: "text-on-subtle", children: " \xB7 " })
|
|
7196
7279
|
] }),
|
|
7197
|
-
/* @__PURE__ */
|
|
7280
|
+
/* @__PURE__ */ jsx65("span", { className: "text-on-subtle min-[600px]:text-on-prominent", children: suffix })
|
|
7198
7281
|
] }) : /* @__PURE__ */ jsxs33("span", { className: "text-sm font-body text-on-prominent whitespace-nowrap", children: [
|
|
7199
7282
|
label,
|
|
7200
|
-
suffix && /* @__PURE__ */
|
|
7283
|
+
suffix && /* @__PURE__ */ jsx65("span", { className: "text-on-subtle", children: ` \xB7 ${suffix}` })
|
|
7201
7284
|
] }),
|
|
7202
|
-
/* @__PURE__ */
|
|
7285
|
+
/* @__PURE__ */ jsx65(ArrowUpRight, { className: "size-4 text-on-subtle shrink-0", "aria-hidden": "true" })
|
|
7203
7286
|
] });
|
|
7204
7287
|
}
|
|
7205
7288
|
|
|
7206
7289
|
// components/blocks/auth-block.tsx
|
|
7207
7290
|
import * as React16 from "react";
|
|
7208
|
-
import { jsx as
|
|
7291
|
+
import { jsx as jsx66, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
7209
7292
|
function AuthBlock({
|
|
7210
7293
|
mode,
|
|
7211
7294
|
logoSrc,
|
|
@@ -7223,17 +7306,17 @@ function AuthBlock({
|
|
|
7223
7306
|
const [email, setEmail] = React16.useState("");
|
|
7224
7307
|
return /* @__PURE__ */ jsxs34("div", { className: "flex flex-col items-center gap-6 w-full", children: [
|
|
7225
7308
|
/* @__PURE__ */ jsxs34("div", { className: "flex items-center gap-2", children: [
|
|
7226
|
-
/* @__PURE__ */
|
|
7227
|
-
/* @__PURE__ */
|
|
7309
|
+
/* @__PURE__ */ jsx66("img", { src: logoSrc, alt: wordmark, className: "size-8 object-contain" }),
|
|
7310
|
+
/* @__PURE__ */ jsx66("span", { className: "font-display font-semibold text-base text-on-prominent tracking-tight", children: wordmark })
|
|
7228
7311
|
] }),
|
|
7229
|
-
/* @__PURE__ */
|
|
7230
|
-
/* @__PURE__ */
|
|
7312
|
+
/* @__PURE__ */ jsx66("h2", { className: "text-3xl font-bold font-display text-on-prominent text-center", children: headingText }),
|
|
7313
|
+
/* @__PURE__ */ jsx66("div", { className: "flex flex-col gap-3 w-full", children: providers.map((p) => /* @__PURE__ */ jsx66(ProviderButton, { provider: p }, p)) }),
|
|
7231
7314
|
/* @__PURE__ */ jsxs34("div", { className: "flex items-center gap-3 w-full", children: [
|
|
7232
|
-
/* @__PURE__ */
|
|
7233
|
-
/* @__PURE__ */
|
|
7234
|
-
/* @__PURE__ */
|
|
7315
|
+
/* @__PURE__ */ jsx66("div", { className: "flex-1 h-px bg-border-subtle" }),
|
|
7316
|
+
/* @__PURE__ */ jsx66("span", { className: "text-sm text-on-subtle font-body", children: "or" }),
|
|
7317
|
+
/* @__PURE__ */ jsx66("div", { className: "flex-1 h-px bg-border-subtle" })
|
|
7235
7318
|
] }),
|
|
7236
|
-
/* @__PURE__ */
|
|
7319
|
+
/* @__PURE__ */ jsx66("div", { className: "flex items-center gap-2 w-full", children: /* @__PURE__ */ jsx66(
|
|
7237
7320
|
Input,
|
|
7238
7321
|
{
|
|
7239
7322
|
id: `${idPrefix}-email`,
|
|
@@ -7248,13 +7331,13 @@ function AuthBlock({
|
|
|
7248
7331
|
termsText,
|
|
7249
7332
|
", you agree to our",
|
|
7250
7333
|
" ",
|
|
7251
|
-
/* @__PURE__ */
|
|
7334
|
+
/* @__PURE__ */ jsx66(Link, { size: "sm", href: "#", children: "Terms & Conditions" })
|
|
7252
7335
|
] }),
|
|
7253
|
-
/* @__PURE__ */
|
|
7336
|
+
/* @__PURE__ */ jsx66(Button, { size: "md", className: "w-full", onClick: () => onSubmit == null ? void 0 : onSubmit({ email }), children: ctaText }),
|
|
7254
7337
|
/* @__PURE__ */ jsxs34("p", { className: "text-sm text-on-subtle font-body text-center", children: [
|
|
7255
7338
|
footerPrompt,
|
|
7256
7339
|
" ",
|
|
7257
|
-
/* @__PURE__ */
|
|
7340
|
+
/* @__PURE__ */ jsx66(Link, { size: "sm", href: crossLinkHref, children: footerLinkLabel })
|
|
7258
7341
|
] })
|
|
7259
7342
|
] });
|
|
7260
7343
|
}
|
|
@@ -7263,25 +7346,25 @@ function ProviderButton({ provider }) {
|
|
|
7263
7346
|
case "google":
|
|
7264
7347
|
return /* @__PURE__ */ jsxs34(Button, { variant: "secondary", size: "lg", className: "w-full", children: [
|
|
7265
7348
|
/* @__PURE__ */ jsxs34("svg", { width: "18", height: "18", viewBox: "0 0 18 18", "aria-hidden": "true", fill: "none", className: "shrink-0", children: [
|
|
7266
|
-
/* @__PURE__ */
|
|
7267
|
-
/* @__PURE__ */
|
|
7268
|
-
/* @__PURE__ */
|
|
7269
|
-
/* @__PURE__ */
|
|
7349
|
+
/* @__PURE__ */ jsx66("path", { d: "M17.64 9.205c0-.639-.057-1.252-.164-1.841H9v3.481h4.844a4.14 4.14 0 0 1-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615Z", fill: "#4285F4" }),
|
|
7350
|
+
/* @__PURE__ */ jsx66("path", { d: "M9 18c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 0 0 9 18Z", fill: "#34A853" }),
|
|
7351
|
+
/* @__PURE__ */ jsx66("path", { d: "M3.964 10.71A5.41 5.41 0 0 1 3.682 9c0-.593.102-1.17.282-1.71V4.958H.957A8.996 8.996 0 0 0 0 9c0 1.452.348 2.827.957 4.042l3.007-2.332Z", fill: "#FBBC05" }),
|
|
7352
|
+
/* @__PURE__ */ jsx66("path", { d: "M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0A8.997 8.997 0 0 0 .957 4.958L3.964 7.29C4.672 5.163 6.656 3.58 9 3.58Z", fill: "#EA4335" })
|
|
7270
7353
|
] }),
|
|
7271
7354
|
"Continue with Google"
|
|
7272
7355
|
] });
|
|
7273
7356
|
case "telegram":
|
|
7274
7357
|
return /* @__PURE__ */ jsxs34(Button, { variant: "secondary", size: "lg", className: "w-full", children: [
|
|
7275
7358
|
/* @__PURE__ */ jsxs34("svg", { width: "18", height: "18", viewBox: "0 0 18 18", "aria-hidden": "true", fill: "none", className: "shrink-0", children: [
|
|
7276
|
-
/* @__PURE__ */
|
|
7277
|
-
/* @__PURE__ */
|
|
7278
|
-
/* @__PURE__ */
|
|
7359
|
+
/* @__PURE__ */ jsx66("circle", { cx: "9", cy: "9", r: "9", fill: "#29B6F6" }),
|
|
7360
|
+
/* @__PURE__ */ jsx66("path", { d: "M13.5 5.25 11.25 13.5l-2.25-3-3 1.5 1.5-5.25 6-1.5Z", fill: "white", opacity: "0.3" }),
|
|
7361
|
+
/* @__PURE__ */ jsx66("path", { d: "m4.5 8.625 7.5-3-1.125 7.125-2.625-2.25-1.5 1.5.375-3.375Z", fill: "white" })
|
|
7279
7362
|
] }),
|
|
7280
7363
|
"Continue with Telegram"
|
|
7281
7364
|
] });
|
|
7282
7365
|
case "x":
|
|
7283
7366
|
return /* @__PURE__ */ jsxs34(Button, { variant: "secondary", size: "lg", className: "w-full", children: [
|
|
7284
|
-
/* @__PURE__ */
|
|
7367
|
+
/* @__PURE__ */ jsx66("svg", { width: "18", height: "18", viewBox: "0 0 18 18", "aria-hidden": "true", fill: "currentColor", className: "shrink-0", children: /* @__PURE__ */ jsx66("path", { d: "M13.955 2.25h2.423L10.977 8.28 17.25 15.75h-4.812l-3.913-5.116-4.477 5.116H1.645l5.703-6.52L1.125 2.25h4.934l3.538 4.678 4.358-4.678Zm-.85 12.105h1.343L5.025 3.627H3.579l9.526 10.728Z" }) }),
|
|
7285
7368
|
"Continue with X (Twitter)"
|
|
7286
7369
|
] });
|
|
7287
7370
|
}
|
|
@@ -7290,14 +7373,14 @@ function ProviderButton({ provider }) {
|
|
|
7290
7373
|
// components/blocks/navbar-block.tsx
|
|
7291
7374
|
import * as React17 from "react";
|
|
7292
7375
|
import { Menu, X as X3 } from "lucide-react";
|
|
7293
|
-
import { jsx as
|
|
7376
|
+
import { jsx as jsx67, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
7294
7377
|
function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
7295
7378
|
var _a, _b, _c, _d;
|
|
7296
7379
|
const [mobileMenuOpen, setMobileMenuOpen] = React17.useState(false);
|
|
7297
|
-
return /* @__PURE__ */
|
|
7380
|
+
return /* @__PURE__ */ jsx67("div", { className: "w-full border border-border-subtle rounded-md overflow-hidden", children: /* @__PURE__ */ jsxs35("nav", { className: "bg-prominent", children: [
|
|
7298
7381
|
/* @__PURE__ */ jsxs35("div", { className: "flex items-center justify-between px-layout-margin-inline py-3", children: [
|
|
7299
7382
|
/* @__PURE__ */ jsxs35("div", { className: "flex items-center gap-6", children: [
|
|
7300
|
-
/* @__PURE__ */
|
|
7383
|
+
/* @__PURE__ */ jsx67(
|
|
7301
7384
|
"img",
|
|
7302
7385
|
{
|
|
7303
7386
|
src: brand.fullLogoSrc,
|
|
@@ -7305,7 +7388,7 @@ function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
|
7305
7388
|
className: "hidden min-[600px]:block h-7 w-auto shrink-0 object-contain object-left"
|
|
7306
7389
|
}
|
|
7307
7390
|
),
|
|
7308
|
-
/* @__PURE__ */
|
|
7391
|
+
/* @__PURE__ */ jsx67(
|
|
7309
7392
|
"img",
|
|
7310
7393
|
{
|
|
7311
7394
|
src: brand.iconLogoSrc,
|
|
@@ -7313,13 +7396,13 @@ function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
|
7313
7396
|
className: "min-[600px]:hidden size-7 shrink-0 object-contain"
|
|
7314
7397
|
}
|
|
7315
7398
|
),
|
|
7316
|
-
/* @__PURE__ */
|
|
7399
|
+
/* @__PURE__ */ jsx67("div", { className: "hidden min-[600px]:flex items-center gap-1", children: links.map((l) => /* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "sm", onClick: l.onClick, children: l.label }, l.label)) })
|
|
7317
7400
|
] }),
|
|
7318
7401
|
/* @__PURE__ */ jsxs35("div", { className: "hidden min-[600px]:flex items-center gap-2", children: [
|
|
7319
|
-
signIn && /* @__PURE__ */
|
|
7320
|
-
signUp && /* @__PURE__ */
|
|
7402
|
+
signIn && /* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "sm", onClick: signIn.onClick, children: (_a = signIn.label) != null ? _a : "Sign in" }),
|
|
7403
|
+
signUp && /* @__PURE__ */ jsx67(Button, { size: "sm", onClick: signUp.onClick, children: (_b = signUp.label) != null ? _b : "Sign up" })
|
|
7321
7404
|
] }),
|
|
7322
|
-
/* @__PURE__ */
|
|
7405
|
+
/* @__PURE__ */ jsx67(
|
|
7323
7406
|
Button,
|
|
7324
7407
|
{
|
|
7325
7408
|
variant: "tertiary",
|
|
@@ -7328,12 +7411,12 @@ function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
|
7328
7411
|
"aria-expanded": mobileMenuOpen,
|
|
7329
7412
|
className: "min-[600px]:hidden",
|
|
7330
7413
|
onClick: () => setMobileMenuOpen((prev) => !prev),
|
|
7331
|
-
children: mobileMenuOpen ? /* @__PURE__ */
|
|
7414
|
+
children: mobileMenuOpen ? /* @__PURE__ */ jsx67(X3, { className: "size-4" }) : /* @__PURE__ */ jsx67(Menu, { className: "size-4" })
|
|
7332
7415
|
}
|
|
7333
7416
|
)
|
|
7334
7417
|
] }),
|
|
7335
7418
|
mobileMenuOpen && /* @__PURE__ */ jsxs35("div", { className: "min-[600px]:hidden flex flex-col border-t border-border-subtle px-layout-margin-inline py-3 gap-1", children: [
|
|
7336
|
-
links.map((l) => /* @__PURE__ */
|
|
7419
|
+
links.map((l) => /* @__PURE__ */ jsx67(
|
|
7337
7420
|
Button,
|
|
7338
7421
|
{
|
|
7339
7422
|
variant: "tertiary",
|
|
@@ -7345,8 +7428,8 @@ function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
|
7345
7428
|
l.label
|
|
7346
7429
|
)),
|
|
7347
7430
|
(signIn || signUp) && /* @__PURE__ */ jsxs35("div", { className: "flex flex-col gap-2 pt-3 mt-2 border-t border-border-subtle", children: [
|
|
7348
|
-
signIn && /* @__PURE__ */
|
|
7349
|
-
signUp && /* @__PURE__ */
|
|
7431
|
+
signIn && /* @__PURE__ */ jsx67(Button, { variant: "secondary", size: "sm", className: "w-full", onClick: signIn.onClick, children: (_c = signIn.label) != null ? _c : "Sign in" }),
|
|
7432
|
+
signUp && /* @__PURE__ */ jsx67(Button, { size: "sm", className: "w-full", onClick: signUp.onClick, children: (_d = signUp.label) != null ? _d : "Sign up" })
|
|
7350
7433
|
] })
|
|
7351
7434
|
] })
|
|
7352
7435
|
] }) });
|
|
@@ -7355,7 +7438,7 @@ function NavBarBlock({ brand, links, signIn, signUp }) {
|
|
|
7355
7438
|
// components/blocks/open-positions-block.tsx
|
|
7356
7439
|
import * as React18 from "react";
|
|
7357
7440
|
import { History as History2, X as X4 } from "lucide-react";
|
|
7358
|
-
import { jsx as
|
|
7441
|
+
import { jsx as jsx68, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
7359
7442
|
function OpenPositionsBlock({
|
|
7360
7443
|
trigger,
|
|
7361
7444
|
sheetTitle = "Positions",
|
|
@@ -7364,28 +7447,28 @@ function OpenPositionsBlock({
|
|
|
7364
7447
|
emptyState
|
|
7365
7448
|
}) {
|
|
7366
7449
|
const isMobile = useIsMobile();
|
|
7367
|
-
const body = positions.length === 0 ? emptyState != null ? emptyState : /* @__PURE__ */
|
|
7450
|
+
const body = positions.length === 0 ? emptyState != null ? emptyState : /* @__PURE__ */ jsx68(DefaultEmptyState, { onViewHistory }) : /* @__PURE__ */ jsx68(PositionsList, { positions, onViewHistory });
|
|
7368
7451
|
if (isMobile) {
|
|
7369
7452
|
return /* @__PURE__ */ jsxs36(Drawer, { children: [
|
|
7370
|
-
/* @__PURE__ */
|
|
7453
|
+
/* @__PURE__ */ jsx68(DrawerTrigger, { asChild: true, children: trigger }),
|
|
7371
7454
|
/* @__PURE__ */ jsxs36(DrawerContent, { className: "p-0 flex flex-col", children: [
|
|
7372
7455
|
/* @__PURE__ */ jsxs36(DrawerHeader, { className: "flex-row items-center justify-between px-4 py-3 shrink-0 text-left", children: [
|
|
7373
|
-
/* @__PURE__ */
|
|
7374
|
-
/* @__PURE__ */
|
|
7456
|
+
/* @__PURE__ */ jsx68(DrawerTitle, { className: "text-base font-semibold font-display text-on-prominent", children: sheetTitle }),
|
|
7457
|
+
/* @__PURE__ */ jsx68(DrawerClose, { asChild: true, children: /* @__PURE__ */ jsx68(NavigationButton, { size: "sm", "aria-label": "Close", children: /* @__PURE__ */ jsx68(X4, {}) }) })
|
|
7375
7458
|
] }),
|
|
7376
|
-
/* @__PURE__ */
|
|
7459
|
+
/* @__PURE__ */ jsx68(Separator, {}),
|
|
7377
7460
|
body
|
|
7378
7461
|
] })
|
|
7379
7462
|
] });
|
|
7380
7463
|
}
|
|
7381
7464
|
return /* @__PURE__ */ jsxs36(Sheet, { children: [
|
|
7382
|
-
/* @__PURE__ */
|
|
7465
|
+
/* @__PURE__ */ jsx68(SheetTrigger, { asChild: true, children: trigger }),
|
|
7383
7466
|
/* @__PURE__ */ jsxs36(SheetContent, { side: "right", showCloseButton: false, className: "p-0 flex flex-col w-80 sm:max-w-xs", children: [
|
|
7384
7467
|
/* @__PURE__ */ jsxs36(SheetHeader, { className: "flex-row items-center justify-between px-4 py-3 shrink-0", children: [
|
|
7385
|
-
/* @__PURE__ */
|
|
7386
|
-
/* @__PURE__ */
|
|
7468
|
+
/* @__PURE__ */ jsx68(SheetTitle, { className: "text-base font-semibold font-display text-on-prominent", children: sheetTitle }),
|
|
7469
|
+
/* @__PURE__ */ jsx68(SheetClose, { asChild: true, children: /* @__PURE__ */ jsx68(NavigationButton, { size: "sm", "aria-label": "Close", children: /* @__PURE__ */ jsx68(X4, {}) }) })
|
|
7387
7470
|
] }),
|
|
7388
|
-
/* @__PURE__ */
|
|
7471
|
+
/* @__PURE__ */ jsx68(Separator, {}),
|
|
7389
7472
|
body
|
|
7390
7473
|
] })
|
|
7391
7474
|
] });
|
|
@@ -7395,12 +7478,12 @@ function PositionsList({
|
|
|
7395
7478
|
onViewHistory
|
|
7396
7479
|
}) {
|
|
7397
7480
|
return /* @__PURE__ */ jsxs36("div", { className: "flex flex-col flex-1 min-h-0", children: [
|
|
7398
|
-
/* @__PURE__ */
|
|
7399
|
-
/* @__PURE__ */
|
|
7400
|
-
i < positions.length - 1 && /* @__PURE__ */
|
|
7481
|
+
/* @__PURE__ */ jsx68(ItemGroup, { className: "min-h-0 overflow-y-auto", children: positions.map((pos, i) => /* @__PURE__ */ jsxs36(React18.Fragment, { children: [
|
|
7482
|
+
/* @__PURE__ */ jsx68(PositionRow, { position: pos }),
|
|
7483
|
+
i < positions.length - 1 && /* @__PURE__ */ jsx68("div", { className: "h-px mx-4 bg-border-subtle" })
|
|
7401
7484
|
] }, i)) }),
|
|
7402
|
-
/* @__PURE__ */
|
|
7403
|
-
/* @__PURE__ */
|
|
7485
|
+
/* @__PURE__ */ jsx68(Separator, {}),
|
|
7486
|
+
/* @__PURE__ */ jsx68("div", { className: "shrink-0 flex justify-center py-4", children: /* @__PURE__ */ jsx68(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View trade history" }) })
|
|
7404
7487
|
] });
|
|
7405
7488
|
}
|
|
7406
7489
|
function PositionRow({ position }) {
|
|
@@ -7408,12 +7491,12 @@ function PositionRow({ position }) {
|
|
|
7408
7491
|
return /* @__PURE__ */ jsxs36(Item, { size: "sm", children: [
|
|
7409
7492
|
/* @__PURE__ */ jsxs36(ItemContent, { children: [
|
|
7410
7493
|
/* @__PURE__ */ jsxs36(ItemTitle, { children: [
|
|
7411
|
-
/* @__PURE__ */
|
|
7412
|
-
suffix && /* @__PURE__ */
|
|
7494
|
+
/* @__PURE__ */ jsx68("span", { className: "text-on-prominent", children: label }),
|
|
7495
|
+
suffix && /* @__PURE__ */ jsx68("span", { className: "text-on-subtle", children: ` ${suffix}` })
|
|
7413
7496
|
] }),
|
|
7414
|
-
/* @__PURE__ */
|
|
7497
|
+
/* @__PURE__ */ jsx68(MetaNote, { market: position.market, duration: position.duration })
|
|
7415
7498
|
] }),
|
|
7416
|
-
/* @__PURE__ */
|
|
7499
|
+
/* @__PURE__ */ jsx68(ItemActions, { children: /* @__PURE__ */ jsx68(PnlMeta, { pnl: position.pnl, win: position.win, stake: position.stake }) })
|
|
7417
7500
|
] });
|
|
7418
7501
|
}
|
|
7419
7502
|
var DIGITS_TYPE_LABEL = {
|
|
@@ -7447,15 +7530,15 @@ function MetaNote({ market, duration }) {
|
|
|
7447
7530
|
}
|
|
7448
7531
|
function PnlMeta({ pnl, win, stake }) {
|
|
7449
7532
|
return /* @__PURE__ */ jsxs36("div", { className: "flex flex-col items-end gap-0.5", children: [
|
|
7450
|
-
/* @__PURE__ */
|
|
7451
|
-
/* @__PURE__ */
|
|
7533
|
+
/* @__PURE__ */ jsx68("span", { className: `font-display font-bold tabular-nums text-base ${win ? "text-semantic-win" : "text-semantic-loss"}`, children: pnl }),
|
|
7534
|
+
/* @__PURE__ */ jsx68("span", { className: "tabular-nums text-xs text-on-subtle", children: stake })
|
|
7452
7535
|
] });
|
|
7453
7536
|
}
|
|
7454
7537
|
function DefaultEmptyState({ onViewHistory }) {
|
|
7455
|
-
return /* @__PURE__ */
|
|
7456
|
-
/* @__PURE__ */
|
|
7457
|
-
/* @__PURE__ */
|
|
7458
|
-
/* @__PURE__ */
|
|
7538
|
+
return /* @__PURE__ */ jsx68(Empty, { className: "flex min-h-0 flex-1 flex-col justify-center border-none rounded-none p-6 text-center", children: /* @__PURE__ */ jsxs36(EmptyHeader, { className: "gap-4", children: [
|
|
7539
|
+
/* @__PURE__ */ jsx68(EmptyMedia, { children: /* @__PURE__ */ jsx68(History2, { className: "size-8 text-on-subtle" }) }),
|
|
7540
|
+
/* @__PURE__ */ jsx68(EmptyTitle, { className: "text-base leading-6 font-semibold tracking-normal body-md text-on-subtle", children: "No trades yet." }),
|
|
7541
|
+
/* @__PURE__ */ jsx68(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View trade history" })
|
|
7459
7542
|
] }) });
|
|
7460
7543
|
}
|
|
7461
7544
|
export {
|
|
@@ -7515,6 +7598,7 @@ export {
|
|
|
7515
7598
|
ChartTooltip,
|
|
7516
7599
|
ChartTooltipContent,
|
|
7517
7600
|
Checkbox,
|
|
7601
|
+
Chip,
|
|
7518
7602
|
Collapsible,
|
|
7519
7603
|
CollapsibleContent,
|
|
7520
7604
|
CollapsibleTrigger,
|
|
@@ -7775,6 +7859,7 @@ export {
|
|
|
7775
7859
|
alertVariants,
|
|
7776
7860
|
badgeVariants,
|
|
7777
7861
|
buttonVariants,
|
|
7862
|
+
chipVariants,
|
|
7778
7863
|
cn,
|
|
7779
7864
|
inputVariants,
|
|
7780
7865
|
linkVariants,
|