@nearform/quantum 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animations/index.js +42 -0
- package/dist/animations/index.js.map +1 -0
- package/dist/global.css +167 -0
- package/dist/global.css.map +1 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +653 -368
- package/dist/index.js.map +1 -1
- package/dist/tailwind-plugin.js +39 -15
- package/dist/tailwind-plugin.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -79,6 +79,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
79
79
|
// src/index.ts
|
|
80
80
|
var src_exports = {};
|
|
81
81
|
__export(src_exports, {
|
|
82
|
+
Accordion: () => Accordion,
|
|
83
|
+
AccordionContent: () => AccordionContent,
|
|
84
|
+
AccordionHeader: () => AccordionHeader,
|
|
85
|
+
AccordionItem: () => AccordionItem,
|
|
86
|
+
AccordionTrigger: () => AccordionTrigger,
|
|
82
87
|
AngleDownIcon: () => AngleDownIcon,
|
|
83
88
|
Button: () => Button,
|
|
84
89
|
ButtonGroup: () => ButtonGroup,
|
|
@@ -86,6 +91,8 @@ __export(src_exports, {
|
|
|
86
91
|
CalendarIcon: () => CalendarIcon,
|
|
87
92
|
CheckIcon: () => CheckIcon,
|
|
88
93
|
Checkbox: () => Checkbox,
|
|
94
|
+
ChevronLeftOutlineIcon: () => ChevronLeftOutlineIcon,
|
|
95
|
+
ChevronRightOutlineIcon: () => ChevronRightOutlineIcon,
|
|
89
96
|
Chip: () => Chip,
|
|
90
97
|
CircleIcon: () => CircleIcon,
|
|
91
98
|
CircleOutlineIcon: () => CircleOutlineIcon,
|
|
@@ -109,8 +116,10 @@ __export(src_exports, {
|
|
|
109
116
|
ModalPortal: () => ModalPortal,
|
|
110
117
|
ModalTitle: () => ModalTitle,
|
|
111
118
|
ModalTrigger: () => ModalTrigger,
|
|
119
|
+
Pagination: () => Pagination,
|
|
112
120
|
PlusIcon: () => PlusIcon,
|
|
113
121
|
Popover: () => Popover,
|
|
122
|
+
PopoverClose: () => PopoverClose,
|
|
114
123
|
PopoverContent: () => PopoverContent,
|
|
115
124
|
PopoverSeparator: () => PopoverSeparator,
|
|
116
125
|
PopoverTrigger: () => PopoverTrigger,
|
|
@@ -1099,17 +1108,65 @@ var CalendarIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
|
1099
1108
|
})
|
|
1100
1109
|
);
|
|
1101
1110
|
|
|
1102
|
-
// src/assets/build/
|
|
1111
|
+
// src/assets/build/chevron-left-outline.icon.tsx
|
|
1103
1112
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1104
|
-
var
|
|
1113
|
+
var ChevronLeftOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1105
1114
|
"svg",
|
|
1106
1115
|
__spreadProps(__spreadValues({
|
|
1116
|
+
className: "w-6 h-6",
|
|
1107
1117
|
"aria-hidden": "true",
|
|
1108
1118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1109
1119
|
fill: "none",
|
|
1110
|
-
viewBox: "0 0
|
|
1120
|
+
viewBox: "0 0 6 10"
|
|
1111
1121
|
}, props), {
|
|
1112
1122
|
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1123
|
+
"path",
|
|
1124
|
+
{
|
|
1125
|
+
stroke: "currentColor",
|
|
1126
|
+
"stroke-linecap": "round",
|
|
1127
|
+
"stroke-linejoin": "round",
|
|
1128
|
+
"stroke-width": "2",
|
|
1129
|
+
d: "M5 1 1 5l4 4"
|
|
1130
|
+
}
|
|
1131
|
+
)
|
|
1132
|
+
})
|
|
1133
|
+
);
|
|
1134
|
+
|
|
1135
|
+
// src/assets/build/chevron-right-outline.icon.tsx
|
|
1136
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1137
|
+
var ChevronRightOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1138
|
+
"svg",
|
|
1139
|
+
__spreadProps(__spreadValues({
|
|
1140
|
+
className: "w-6 h-6",
|
|
1141
|
+
"aria-hidden": "true",
|
|
1142
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1143
|
+
fill: "none",
|
|
1144
|
+
viewBox: "0 0 6 10"
|
|
1145
|
+
}, props), {
|
|
1146
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1147
|
+
"path",
|
|
1148
|
+
{
|
|
1149
|
+
stroke: "currentColor",
|
|
1150
|
+
"stroke-linecap": "round",
|
|
1151
|
+
"stroke-linejoin": "round",
|
|
1152
|
+
"stroke-width": "2",
|
|
1153
|
+
d: "m1 9 4-4-4-4"
|
|
1154
|
+
}
|
|
1155
|
+
)
|
|
1156
|
+
})
|
|
1157
|
+
);
|
|
1158
|
+
|
|
1159
|
+
// src/assets/build/arrow-left.icon.tsx
|
|
1160
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1161
|
+
var ArrowLeftIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1162
|
+
"svg",
|
|
1163
|
+
__spreadProps(__spreadValues({
|
|
1164
|
+
"aria-hidden": "true",
|
|
1165
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1166
|
+
fill: "none",
|
|
1167
|
+
viewBox: "0 0 14 10"
|
|
1168
|
+
}, props), {
|
|
1169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1113
1170
|
"path",
|
|
1114
1171
|
{
|
|
1115
1172
|
stroke: "currentColor",
|
|
@@ -1124,8 +1181,8 @@ var ArrowLeftIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
|
1124
1181
|
var arrow_left_icon_default = ArrowLeftIcon;
|
|
1125
1182
|
|
|
1126
1183
|
// src/assets/build/arrow-right.icon.tsx
|
|
1127
|
-
var
|
|
1128
|
-
var ArrowRightIcon = (props) => /* @__PURE__ */ (0,
|
|
1184
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1185
|
+
var ArrowRightIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1129
1186
|
"svg",
|
|
1130
1187
|
__spreadProps(__spreadValues({
|
|
1131
1188
|
"aria-hidden": "true",
|
|
@@ -1133,7 +1190,7 @@ var ArrowRightIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
|
1133
1190
|
fill: "none",
|
|
1134
1191
|
viewBox: "0 0 14 10"
|
|
1135
1192
|
}, props), {
|
|
1136
|
-
children: /* @__PURE__ */ (0,
|
|
1193
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1137
1194
|
"path",
|
|
1138
1195
|
{
|
|
1139
1196
|
stroke: "currentColor",
|
|
@@ -1149,7 +1206,7 @@ var arrow_right_icon_default = ArrowRightIcon;
|
|
|
1149
1206
|
|
|
1150
1207
|
// src/components/Checkbox/index.tsx
|
|
1151
1208
|
var import_class_variance_authority2 = require("class-variance-authority");
|
|
1152
|
-
var
|
|
1209
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1153
1210
|
var checkboxVariants = (0, import_class_variance_authority2.cva)([
|
|
1154
1211
|
[
|
|
1155
1212
|
"peer",
|
|
@@ -1176,19 +1233,19 @@ var checkboxVariants = (0, import_class_variance_authority2.cva)([
|
|
|
1176
1233
|
]);
|
|
1177
1234
|
var Checkbox = React2.forwardRef((_a, ref) => {
|
|
1178
1235
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1179
|
-
return /* @__PURE__ */ (0,
|
|
1236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1180
1237
|
CheckboxPrimitive.Root,
|
|
1181
1238
|
__spreadProps(__spreadValues({
|
|
1182
1239
|
ref,
|
|
1183
1240
|
className: cn(checkboxVariants(), className)
|
|
1184
1241
|
}, props), {
|
|
1185
|
-
children: /* @__PURE__ */ (0,
|
|
1242
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
1186
1243
|
CheckboxPrimitive.Indicator,
|
|
1187
1244
|
{
|
|
1188
1245
|
className: cn("flex items-center justify-center text-inherit"),
|
|
1189
1246
|
children: [
|
|
1190
|
-
(props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0,
|
|
1191
|
-
props.checked === "indeterminate" && /* @__PURE__ */ (0,
|
|
1247
|
+
(props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(CheckIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }),
|
|
1248
|
+
props.checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(MinusIcon, { className: "text-inherit stroke-current stroke-3 fill-current" })
|
|
1192
1249
|
]
|
|
1193
1250
|
}
|
|
1194
1251
|
)
|
|
@@ -1201,7 +1258,7 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
1201
1258
|
var React3 = __toESM(require("react"));
|
|
1202
1259
|
var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
|
|
1203
1260
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
1204
|
-
var
|
|
1261
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1205
1262
|
var labelVariants = (0, import_class_variance_authority3.cva)(
|
|
1206
1263
|
"text-sm font-medium leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-foreground-inverse",
|
|
1207
1264
|
{
|
|
@@ -1218,7 +1275,7 @@ var labelVariants = (0, import_class_variance_authority3.cva)(
|
|
|
1218
1275
|
);
|
|
1219
1276
|
var Label = React3.forwardRef((_a, ref) => {
|
|
1220
1277
|
var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
|
|
1221
|
-
return /* @__PURE__ */ (0,
|
|
1278
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1222
1279
|
LabelPrimitive.Root,
|
|
1223
1280
|
__spreadValues({
|
|
1224
1281
|
ref,
|
|
@@ -1231,10 +1288,10 @@ Label.displayName = LabelPrimitive.Root.displayName;
|
|
|
1231
1288
|
// src/components/Radio/RadioGroup.tsx
|
|
1232
1289
|
var React4 = __toESM(require("react"));
|
|
1233
1290
|
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
|
|
1234
|
-
var
|
|
1291
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1235
1292
|
var RadioGroup = React4.forwardRef((_a, ref) => {
|
|
1236
1293
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1237
|
-
return /* @__PURE__ */ (0,
|
|
1294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1238
1295
|
RadioGroupPrimitive.Root,
|
|
1239
1296
|
__spreadProps(__spreadValues({
|
|
1240
1297
|
className: cn("grid gap-2", className)
|
|
@@ -1249,7 +1306,7 @@ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
|
1249
1306
|
var React5 = __toESM(require("react"));
|
|
1250
1307
|
var RadioGroupPrimitive2 = __toESM(require("@radix-ui/react-radio-group"));
|
|
1251
1308
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
1252
|
-
var
|
|
1309
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1253
1310
|
var radioVariant = (0, import_class_variance_authority4.cva)([
|
|
1254
1311
|
[
|
|
1255
1312
|
"h-5 w-5",
|
|
@@ -1269,13 +1326,13 @@ var radioVariant = (0, import_class_variance_authority4.cva)([
|
|
|
1269
1326
|
]);
|
|
1270
1327
|
var RadioGroupItem = React5.forwardRef((_a, ref) => {
|
|
1271
1328
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1272
|
-
return /* @__PURE__ */ (0,
|
|
1329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1273
1330
|
RadioGroupPrimitive2.Item,
|
|
1274
1331
|
__spreadProps(__spreadValues({
|
|
1275
1332
|
ref,
|
|
1276
1333
|
className: cn(radioVariant(), className)
|
|
1277
1334
|
}, props), {
|
|
1278
|
-
children: /* @__PURE__ */ (0,
|
|
1335
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(RadioGroupPrimitive2.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CircleIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }) })
|
|
1279
1336
|
})
|
|
1280
1337
|
);
|
|
1281
1338
|
});
|
|
@@ -1284,7 +1341,7 @@ RadioGroupItem.displayName = RadioGroupPrimitive2.Item.displayName;
|
|
|
1284
1341
|
// src/components/Table/index.tsx
|
|
1285
1342
|
var React6 = __toESM(require("react"));
|
|
1286
1343
|
var import_class_variance_authority5 = require("class-variance-authority");
|
|
1287
|
-
var
|
|
1344
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1288
1345
|
var tableBodyVariants = (0, import_class_variance_authority5.cva)(["dark:bg-grey-900"], {
|
|
1289
1346
|
variants: {
|
|
1290
1347
|
variant: {
|
|
@@ -1306,7 +1363,7 @@ var tableBodyVariants = (0, import_class_variance_authority5.cva)(["dark:bg-grey
|
|
|
1306
1363
|
});
|
|
1307
1364
|
var Table = React6.forwardRef((_a, ref) => {
|
|
1308
1365
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1309
|
-
return /* @__PURE__ */ (0,
|
|
1366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1310
1367
|
"table",
|
|
1311
1368
|
__spreadValues({
|
|
1312
1369
|
ref,
|
|
@@ -1317,7 +1374,7 @@ var Table = React6.forwardRef((_a, ref) => {
|
|
|
1317
1374
|
Table.displayName = "Table";
|
|
1318
1375
|
var TableHeader = React6.forwardRef((_a, ref) => {
|
|
1319
1376
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1320
|
-
return /* @__PURE__ */ (0,
|
|
1377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1321
1378
|
"thead",
|
|
1322
1379
|
__spreadValues({
|
|
1323
1380
|
ref,
|
|
@@ -1328,7 +1385,7 @@ var TableHeader = React6.forwardRef((_a, ref) => {
|
|
|
1328
1385
|
TableHeader.displayName = "TableHeader";
|
|
1329
1386
|
var TableHead = React6.forwardRef((_a, ref) => {
|
|
1330
1387
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1331
|
-
return /* @__PURE__ */ (0,
|
|
1388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1332
1389
|
"th",
|
|
1333
1390
|
__spreadValues({
|
|
1334
1391
|
ref,
|
|
@@ -1343,7 +1400,7 @@ TableHead.displayName = "TableHead";
|
|
|
1343
1400
|
var TableBody = React6.forwardRef(
|
|
1344
1401
|
(_a, ref) => {
|
|
1345
1402
|
var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
|
|
1346
|
-
return /* @__PURE__ */ (0,
|
|
1403
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1347
1404
|
"tbody",
|
|
1348
1405
|
__spreadValues({
|
|
1349
1406
|
ref,
|
|
@@ -1355,7 +1412,7 @@ var TableBody = React6.forwardRef(
|
|
|
1355
1412
|
TableBody.displayName = "TableBody";
|
|
1356
1413
|
var TableRow = React6.forwardRef((_a, ref) => {
|
|
1357
1414
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1358
|
-
return /* @__PURE__ */ (0,
|
|
1415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1359
1416
|
"tr",
|
|
1360
1417
|
__spreadValues({
|
|
1361
1418
|
ref,
|
|
@@ -1369,7 +1426,7 @@ var TableRow = React6.forwardRef((_a, ref) => {
|
|
|
1369
1426
|
TableRow.displayName = "TableRow";
|
|
1370
1427
|
var TableCell = React6.forwardRef((_a, ref) => {
|
|
1371
1428
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1372
|
-
return /* @__PURE__ */ (0,
|
|
1429
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1373
1430
|
"td",
|
|
1374
1431
|
__spreadValues({
|
|
1375
1432
|
ref,
|
|
@@ -1383,12 +1440,12 @@ var TableCell = React6.forwardRef((_a, ref) => {
|
|
|
1383
1440
|
TableCell.displayName = "TableCell";
|
|
1384
1441
|
var TableCaption = React6.forwardRef((_a, ref) => {
|
|
1385
1442
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1386
|
-
return /* @__PURE__ */ (0,
|
|
1443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("caption", __spreadValues({ ref, className: cn("mt-4", className) }, props));
|
|
1387
1444
|
});
|
|
1388
1445
|
TableCaption.displayName = "TableCaption";
|
|
1389
1446
|
var TableFooter = React6.forwardRef((_a, ref) => {
|
|
1390
1447
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1391
|
-
return /* @__PURE__ */ (0,
|
|
1448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1392
1449
|
"tfoot",
|
|
1393
1450
|
__spreadValues({
|
|
1394
1451
|
ref,
|
|
@@ -1401,7 +1458,7 @@ TableFooter.displayName = "TableFooter";
|
|
|
1401
1458
|
// src/components/ButtonGroup/index.tsx
|
|
1402
1459
|
var import_react3 = __toESM(require("react"));
|
|
1403
1460
|
var import_class_variance_authority6 = require("class-variance-authority");
|
|
1404
|
-
var
|
|
1461
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1405
1462
|
var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
|
|
1406
1463
|
[
|
|
1407
1464
|
"inline-flex",
|
|
@@ -1456,7 +1513,7 @@ var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
|
|
|
1456
1513
|
var ButtonGroup = import_react3.default.forwardRef(
|
|
1457
1514
|
(_a, ref) => {
|
|
1458
1515
|
var _b = _a, { className, orientation, variant, size: size2 } = _b, props = __objRest(_b, ["className", "orientation", "variant", "size"]);
|
|
1459
|
-
return /* @__PURE__ */ (0,
|
|
1516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1460
1517
|
"div",
|
|
1461
1518
|
__spreadProps(__spreadValues({
|
|
1462
1519
|
className: cn(
|
|
@@ -1475,7 +1532,7 @@ ButtonGroup.displayName = "ButtonGroup";
|
|
|
1475
1532
|
var React8 = __toESM(require("react"));
|
|
1476
1533
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
1477
1534
|
var import_class_variance_authority7 = require("class-variance-authority");
|
|
1478
|
-
var
|
|
1535
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1479
1536
|
var tooltipVariants = (0, import_class_variance_authority7.cva)([
|
|
1480
1537
|
[
|
|
1481
1538
|
"fill-accent",
|
|
@@ -1496,9 +1553,9 @@ var tooltipVariants = (0, import_class_variance_authority7.cva)([
|
|
|
1496
1553
|
]
|
|
1497
1554
|
]);
|
|
1498
1555
|
var Tooltip = React8.forwardRef(({ children, side, content, sideOffset, className }, ref) => {
|
|
1499
|
-
return /* @__PURE__ */ (0,
|
|
1500
|
-
/* @__PURE__ */ (0,
|
|
1501
|
-
/* @__PURE__ */ (0,
|
|
1556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(TooltipPrimitive.Root, { children: [
|
|
1557
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Trigger, { children }),
|
|
1558
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1502
1559
|
TooltipPrimitive.Content,
|
|
1503
1560
|
{
|
|
1504
1561
|
side: side != null ? side : "top",
|
|
@@ -1507,7 +1564,7 @@ var Tooltip = React8.forwardRef(({ children, side, content, sideOffset, classNam
|
|
|
1507
1564
|
ref,
|
|
1508
1565
|
children: [
|
|
1509
1566
|
content,
|
|
1510
|
-
/* @__PURE__ */ (0,
|
|
1567
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Arrow, { className: "fill-inherit" })
|
|
1511
1568
|
]
|
|
1512
1569
|
}
|
|
1513
1570
|
)
|
|
@@ -1517,7 +1574,7 @@ var Tooltip = React8.forwardRef(({ children, side, content, sideOffset, classNam
|
|
|
1517
1574
|
// src/components/Input/index.tsx
|
|
1518
1575
|
var import_react4 = __toESM(require("react"));
|
|
1519
1576
|
var import_class_variance_authority8 = require("class-variance-authority");
|
|
1520
|
-
var
|
|
1577
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1521
1578
|
var leftSideVariants = (0, import_class_variance_authority8.cva)(["flex", "items-center", "text-inherit"]);
|
|
1522
1579
|
var rightSideVariants = (0, import_class_variance_authority8.cva)(["flex", "self-center text-inherit"]);
|
|
1523
1580
|
var formVariants = (0, import_class_variance_authority8.cva)(
|
|
@@ -1582,8 +1639,8 @@ var inputVariants = (0, import_class_variance_authority8.cva)(
|
|
|
1582
1639
|
);
|
|
1583
1640
|
var convertTypeToComponent = {
|
|
1584
1641
|
left: {
|
|
1585
|
-
text: /* @__PURE__ */ (0,
|
|
1586
|
-
search: /* @__PURE__ */ (0,
|
|
1642
|
+
text: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UserIcon, {}),
|
|
1643
|
+
search: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SearchIcon, {})
|
|
1587
1644
|
}
|
|
1588
1645
|
};
|
|
1589
1646
|
var Input = import_react4.default.forwardRef(
|
|
@@ -1608,10 +1665,10 @@ var Input = import_react4.default.forwardRef(
|
|
|
1608
1665
|
"onClear"
|
|
1609
1666
|
]);
|
|
1610
1667
|
const leftSideComponent = leftSideChild != null ? leftSideChild : convertTypeToComponent.left[`${type}`];
|
|
1611
|
-
const rightSideComponent = rightSideChild != null ? rightSideChild : /* @__PURE__ */ (0,
|
|
1612
|
-
return /* @__PURE__ */ (0,
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1668
|
+
const rightSideComponent = rightSideChild != null ? rightSideChild : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CloseIcon, { strokeWidth: 0.6 });
|
|
1669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("form", { className: cn(formVariants({ variant }), formClassName), children: [
|
|
1670
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: cn(leftSideVariants(), leftSideClassName), children: leftSideComponent }),
|
|
1671
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1615
1672
|
"input",
|
|
1616
1673
|
__spreadValues({
|
|
1617
1674
|
type: "text",
|
|
@@ -1619,8 +1676,8 @@ var Input = import_react4.default.forwardRef(
|
|
|
1619
1676
|
ref
|
|
1620
1677
|
}, props)
|
|
1621
1678
|
),
|
|
1622
|
-
/* @__PURE__ */ (0,
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1679
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "input-right-side" }),
|
|
1680
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("button", { type: "button", onClick: onClear, className: rightSideVariants(), children: rightSideComponent })
|
|
1624
1681
|
] });
|
|
1625
1682
|
}
|
|
1626
1683
|
);
|
|
@@ -1629,7 +1686,7 @@ var Input = import_react4.default.forwardRef(
|
|
|
1629
1686
|
var React10 = __toESM(require("react"));
|
|
1630
1687
|
var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
|
|
1631
1688
|
var import_class_variance_authority9 = require("class-variance-authority");
|
|
1632
|
-
var
|
|
1689
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1633
1690
|
var switchVariants = (0, import_class_variance_authority9.cva)([
|
|
1634
1691
|
[
|
|
1635
1692
|
"peer",
|
|
@@ -1662,13 +1719,13 @@ var switchVariants = (0, import_class_variance_authority9.cva)([
|
|
|
1662
1719
|
]);
|
|
1663
1720
|
var Switch = React10.forwardRef((_a, ref) => {
|
|
1664
1721
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1665
|
-
return /* @__PURE__ */ (0,
|
|
1722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1666
1723
|
SwitchPrimitives.Root,
|
|
1667
1724
|
__spreadProps(__spreadValues({
|
|
1668
1725
|
className: cn(switchVariants(), className)
|
|
1669
1726
|
}, props), {
|
|
1670
1727
|
ref,
|
|
1671
|
-
children: /* @__PURE__ */ (0,
|
|
1728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1672
1729
|
SwitchPrimitives.Thumb,
|
|
1673
1730
|
{
|
|
1674
1731
|
className: cn([
|
|
@@ -1696,7 +1753,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
1696
1753
|
// src/components/Chip/index.tsx
|
|
1697
1754
|
var import_react5 = __toESM(require("react"));
|
|
1698
1755
|
var import_class_variance_authority10 = require("class-variance-authority");
|
|
1699
|
-
var
|
|
1756
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1700
1757
|
var chipVariants = (0, import_class_variance_authority10.cva)(
|
|
1701
1758
|
[
|
|
1702
1759
|
[
|
|
@@ -1756,7 +1813,7 @@ var chipVariants = (0, import_class_variance_authority10.cva)(
|
|
|
1756
1813
|
var Chip = import_react5.default.forwardRef(
|
|
1757
1814
|
(_a, ref) => {
|
|
1758
1815
|
var _b = _a, { className, variant, size: size2, children, disabled, onClick, active } = _b, props = __objRest(_b, ["className", "variant", "size", "children", "disabled", "onClick", "active"]);
|
|
1759
|
-
return /* @__PURE__ */ (0,
|
|
1816
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1760
1817
|
"button",
|
|
1761
1818
|
__spreadProps(__spreadValues({
|
|
1762
1819
|
onClick,
|
|
@@ -1767,7 +1824,7 @@ var Chip = import_react5.default.forwardRef(
|
|
|
1767
1824
|
}, props), {
|
|
1768
1825
|
children: [
|
|
1769
1826
|
children,
|
|
1770
|
-
/* @__PURE__ */ (0,
|
|
1827
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex items-center justify-center w-6 h-6 p-2.5", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1771
1828
|
PlusIcon,
|
|
1772
1829
|
{
|
|
1773
1830
|
className: cn(size2 == "lg" ? "h-4 w-4" : "h-3 w-3", [
|
|
@@ -1782,17 +1839,162 @@ var Chip = import_react5.default.forwardRef(
|
|
|
1782
1839
|
}
|
|
1783
1840
|
);
|
|
1784
1841
|
|
|
1842
|
+
// src/components/Pagination/index.tsx
|
|
1843
|
+
var import_react6 = __toESM(require("react"));
|
|
1844
|
+
var import_class_variance_authority11 = require("class-variance-authority");
|
|
1845
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1846
|
+
var PaginationVariants = (0, import_class_variance_authority11.cva)([
|
|
1847
|
+
"[&>*]:flex",
|
|
1848
|
+
"[&>*]:items-center",
|
|
1849
|
+
"[&>*]:justify-center",
|
|
1850
|
+
"w-fit"
|
|
1851
|
+
]);
|
|
1852
|
+
var PageNumberStyles = (0, import_class_variance_authority11.cva)([
|
|
1853
|
+
"min-w-40",
|
|
1854
|
+
"max-w-40",
|
|
1855
|
+
"h-10",
|
|
1856
|
+
"px-4",
|
|
1857
|
+
"py-2",
|
|
1858
|
+
"rounded-sm",
|
|
1859
|
+
"text-foreground-muted",
|
|
1860
|
+
"active:bg-accent",
|
|
1861
|
+
"active:text-primary-50",
|
|
1862
|
+
"dark:hover:bg-background-dark",
|
|
1863
|
+
"dark:active:bg-primary-300",
|
|
1864
|
+
"dark:active:text-grey-900"
|
|
1865
|
+
]);
|
|
1866
|
+
var PageNumberActiveStyles = (0, import_class_variance_authority11.cva)([
|
|
1867
|
+
"bg-accent",
|
|
1868
|
+
"text-primary-50",
|
|
1869
|
+
"hover:bg-accent",
|
|
1870
|
+
"hover:text-primary-50",
|
|
1871
|
+
"dark:bg-primary-300",
|
|
1872
|
+
"dark:text-grey-900",
|
|
1873
|
+
"dark:hover:bg-primary-300",
|
|
1874
|
+
"dark:hover:text-grey-900"
|
|
1875
|
+
]);
|
|
1876
|
+
var Pagination = import_react6.default.forwardRef(
|
|
1877
|
+
(_a, refs) => {
|
|
1878
|
+
var _b = _a, {
|
|
1879
|
+
className,
|
|
1880
|
+
currentPage,
|
|
1881
|
+
setCurrentPage,
|
|
1882
|
+
numberOfItemsPerPage,
|
|
1883
|
+
totalNumberOfFilteredItems
|
|
1884
|
+
} = _b, props = __objRest(_b, [
|
|
1885
|
+
"className",
|
|
1886
|
+
"currentPage",
|
|
1887
|
+
"setCurrentPage",
|
|
1888
|
+
"numberOfItemsPerPage",
|
|
1889
|
+
"totalNumberOfFilteredItems"
|
|
1890
|
+
]);
|
|
1891
|
+
const currentRowsLength = totalNumberOfFilteredItems != null ? totalNumberOfFilteredItems : 0;
|
|
1892
|
+
const totalPages = import_react6.default.useMemo(() => {
|
|
1893
|
+
return Math.ceil(
|
|
1894
|
+
currentRowsLength > 0 ? currentRowsLength / numberOfItemsPerPage : 0
|
|
1895
|
+
);
|
|
1896
|
+
}, [currentRowsLength, numberOfItemsPerPage]);
|
|
1897
|
+
const allPages = [...Array(totalPages + 1).keys()].slice(1);
|
|
1898
|
+
const [pageNumbers, setPageNumbers] = (0, import_react6.useState)(allPages);
|
|
1899
|
+
const [showLeftDots, setShowLeftDots] = (0, import_react6.useState)(false);
|
|
1900
|
+
const [showRightDots, setShowRightDots] = (0, import_react6.useState)(false);
|
|
1901
|
+
const noOfSiblings = 1;
|
|
1902
|
+
const noOfPagesShown = noOfSiblings * 2 + 5;
|
|
1903
|
+
(0, import_react6.useEffect)(() => {
|
|
1904
|
+
if (totalPages <= noOfPagesShown) {
|
|
1905
|
+
setPageNumbers(allPages);
|
|
1906
|
+
setShowRightDots(false);
|
|
1907
|
+
setShowLeftDots(false);
|
|
1908
|
+
} else if (currentPage <= noOfPagesShown - 3) {
|
|
1909
|
+
const pages = allPages.slice(0, noOfPagesShown - 2);
|
|
1910
|
+
pages.push(totalPages);
|
|
1911
|
+
setPageNumbers(pages);
|
|
1912
|
+
setShowRightDots(true);
|
|
1913
|
+
setShowLeftDots(false);
|
|
1914
|
+
} else if (noOfPagesShown - 3 < currentPage && currentPage < totalPages - 3) {
|
|
1915
|
+
const pages = [1];
|
|
1916
|
+
const start = Math.max(2, currentPage - noOfSiblings);
|
|
1917
|
+
const end = Math.min(totalPages - 1, currentPage + noOfSiblings);
|
|
1918
|
+
for (let i = start; i <= end; i++) {
|
|
1919
|
+
pages.push(i);
|
|
1920
|
+
}
|
|
1921
|
+
pages.push(totalPages);
|
|
1922
|
+
setPageNumbers(pages);
|
|
1923
|
+
setShowRightDots(true);
|
|
1924
|
+
setShowLeftDots(true);
|
|
1925
|
+
} else if (currentPage >= totalPages - 3) {
|
|
1926
|
+
const pages = allPages.slice(-noOfPagesShown + 2);
|
|
1927
|
+
pages.unshift(1);
|
|
1928
|
+
setPageNumbers(pages);
|
|
1929
|
+
setShowRightDots(false);
|
|
1930
|
+
setShowLeftDots(true);
|
|
1931
|
+
}
|
|
1932
|
+
}, [currentPage, totalPages]);
|
|
1933
|
+
const goToNextPage = () => {
|
|
1934
|
+
if (currentPage !== totalPages)
|
|
1935
|
+
setCurrentPage(currentPage + 1);
|
|
1936
|
+
};
|
|
1937
|
+
const goToPrevPage = () => {
|
|
1938
|
+
if (currentPage !== 1)
|
|
1939
|
+
setCurrentPage(currentPage - 1);
|
|
1940
|
+
};
|
|
1941
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className) }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("ul", { children: [
|
|
1942
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1943
|
+
"button",
|
|
1944
|
+
{
|
|
1945
|
+
onClick: goToPrevPage,
|
|
1946
|
+
disabled: currentPage === 1 || totalPages === 0,
|
|
1947
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1948
|
+
ChevronLeftOutlineIcon,
|
|
1949
|
+
{
|
|
1950
|
+
className: "w-3 h-9 pt-3 pb-3 -mb-1 text-foreground dark:text-foreground-dark"
|
|
1951
|
+
}
|
|
1952
|
+
)
|
|
1953
|
+
}
|
|
1954
|
+
) }),
|
|
1955
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex flex-row items-center px-0", children: pageNumbers.map((pgNumber) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react6.default.Fragment, { children: [
|
|
1956
|
+
pgNumber === totalPages && showRightDots ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "px-4 min-w-40 max-w-40 text-foreground-muted", children: "..." }) : null,
|
|
1957
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1958
|
+
"button",
|
|
1959
|
+
{
|
|
1960
|
+
onClick: () => setCurrentPage(pgNumber),
|
|
1961
|
+
className: cn(
|
|
1962
|
+
PageNumberStyles(),
|
|
1963
|
+
currentPage === pgNumber && PageNumberActiveStyles()
|
|
1964
|
+
),
|
|
1965
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "text-sm", children: pgNumber })
|
|
1966
|
+
}
|
|
1967
|
+
) }),
|
|
1968
|
+
pgNumber === 1 && showLeftDots ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "px-4 max-w-40 min-w-40 text-foreground-muted", children: "..." }) }) : null
|
|
1969
|
+
] }, pgNumber)) }),
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1971
|
+
"button",
|
|
1972
|
+
{
|
|
1973
|
+
onClick: goToNextPage,
|
|
1974
|
+
disabled: currentPage === totalPages || totalPages === 0,
|
|
1975
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1976
|
+
ChevronRightOutlineIcon,
|
|
1977
|
+
{
|
|
1978
|
+
className: "w-3 h-9 py-3 -mb-1 text-foreground dark:text-foreground-dark"
|
|
1979
|
+
}
|
|
1980
|
+
)
|
|
1981
|
+
}
|
|
1982
|
+
) })
|
|
1983
|
+
] }) }));
|
|
1984
|
+
}
|
|
1985
|
+
);
|
|
1986
|
+
|
|
1785
1987
|
// src/components/Modal/index.tsx
|
|
1786
|
-
var
|
|
1988
|
+
var React13 = __toESM(require("react"));
|
|
1787
1989
|
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
1788
|
-
var
|
|
1990
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1789
1991
|
var Modal = DialogPrimitive.Root;
|
|
1790
1992
|
var ModalTrigger = DialogPrimitive.Trigger;
|
|
1791
1993
|
var ModalPortal = DialogPrimitive.Portal;
|
|
1792
1994
|
var ModalCloseFooter = DialogPrimitive.Close;
|
|
1793
|
-
var ModalOverlay =
|
|
1995
|
+
var ModalOverlay = React13.forwardRef((_a, ref) => {
|
|
1794
1996
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1795
|
-
return /* @__PURE__ */ (0,
|
|
1997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1796
1998
|
DialogPrimitive.Overlay,
|
|
1797
1999
|
__spreadValues({
|
|
1798
2000
|
ref,
|
|
@@ -1801,11 +2003,11 @@ var ModalOverlay = React12.forwardRef((_a, ref) => {
|
|
|
1801
2003
|
);
|
|
1802
2004
|
});
|
|
1803
2005
|
ModalOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
1804
|
-
var ModalContent =
|
|
2006
|
+
var ModalContent = React13.forwardRef((_a, ref) => {
|
|
1805
2007
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1806
|
-
return /* @__PURE__ */ (0,
|
|
1807
|
-
/* @__PURE__ */ (0,
|
|
1808
|
-
/* @__PURE__ */ (0,
|
|
2008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(ModalPortal, { children: [
|
|
2009
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ModalOverlay, {}),
|
|
2010
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1809
2011
|
DialogPrimitive.Content,
|
|
1810
2012
|
__spreadProps(__spreadValues({
|
|
1811
2013
|
ref,
|
|
@@ -1826,7 +2028,7 @@ var ModalHeader = (_a) => {
|
|
|
1826
2028
|
} = _b, props = __objRest(_b, [
|
|
1827
2029
|
"className"
|
|
1828
2030
|
]);
|
|
1829
|
-
return /* @__PURE__ */ (0,
|
|
2031
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1830
2032
|
"div",
|
|
1831
2033
|
__spreadValues({
|
|
1832
2034
|
className: cn(
|
|
@@ -1843,7 +2045,7 @@ var ModalFooter = (_a) => {
|
|
|
1843
2045
|
} = _b, props = __objRest(_b, [
|
|
1844
2046
|
"className"
|
|
1845
2047
|
]);
|
|
1846
|
-
return /* @__PURE__ */ (0,
|
|
2048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1847
2049
|
"div",
|
|
1848
2050
|
__spreadValues({
|
|
1849
2051
|
className: cn(
|
|
@@ -1854,9 +2056,9 @@ var ModalFooter = (_a) => {
|
|
|
1854
2056
|
);
|
|
1855
2057
|
};
|
|
1856
2058
|
ModalFooter.displayName = "ModalFooter";
|
|
1857
|
-
var ModalTitle =
|
|
2059
|
+
var ModalTitle = React13.forwardRef((_a, ref) => {
|
|
1858
2060
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1859
|
-
return /* @__PURE__ */ (0,
|
|
2061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1860
2062
|
DialogPrimitive.Title,
|
|
1861
2063
|
__spreadValues({
|
|
1862
2064
|
ref,
|
|
@@ -1868,9 +2070,9 @@ var ModalTitle = React12.forwardRef((_a, ref) => {
|
|
|
1868
2070
|
);
|
|
1869
2071
|
});
|
|
1870
2072
|
ModalTitle.displayName = DialogPrimitive.Title.displayName;
|
|
1871
|
-
var ModalClose =
|
|
2073
|
+
var ModalClose = React13.forwardRef((_a, ref) => {
|
|
1872
2074
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1873
|
-
return /* @__PURE__ */ (0,
|
|
2075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1874
2076
|
DialogPrimitive.Close,
|
|
1875
2077
|
__spreadProps(__spreadValues({
|
|
1876
2078
|
ref,
|
|
@@ -1880,15 +2082,15 @@ var ModalClose = React12.forwardRef((_a, ref) => {
|
|
|
1880
2082
|
)
|
|
1881
2083
|
}, props), {
|
|
1882
2084
|
children: [
|
|
1883
|
-
/* @__PURE__ */ (0,
|
|
1884
|
-
/* @__PURE__ */ (0,
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "text-foreground dark:text-foreground-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CloseIcon, { className: "w-5 h-5", strokeWidth: 0.833 }) }),
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "Close" })
|
|
1885
2087
|
]
|
|
1886
2088
|
})
|
|
1887
2089
|
);
|
|
1888
2090
|
});
|
|
1889
|
-
var ModalDescription =
|
|
2091
|
+
var ModalDescription = React13.forwardRef((_a, ref) => {
|
|
1890
2092
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1891
|
-
return /* @__PURE__ */ (0,
|
|
2093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1892
2094
|
DialogPrimitive.Description,
|
|
1893
2095
|
__spreadValues({
|
|
1894
2096
|
ref,
|
|
@@ -1899,10 +2101,10 @@ var ModalDescription = React12.forwardRef((_a, ref) => {
|
|
|
1899
2101
|
ModalDescription.displayName = DialogPrimitive.Description.displayName;
|
|
1900
2102
|
|
|
1901
2103
|
// src/components/WebsiteFooter/index.tsx
|
|
1902
|
-
var
|
|
1903
|
-
var
|
|
1904
|
-
var
|
|
1905
|
-
var websiteFooterVariants = (0,
|
|
2104
|
+
var import_class_variance_authority12 = require("class-variance-authority");
|
|
2105
|
+
var import_react7 = __toESM(require("react"));
|
|
2106
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2107
|
+
var websiteFooterVariants = (0, import_class_variance_authority12.cva)(
|
|
1906
2108
|
["flex", "flex-col", "w-full", "items-center", "px-16", "py-4"],
|
|
1907
2109
|
{
|
|
1908
2110
|
variants: {
|
|
@@ -1918,7 +2120,7 @@ var websiteFooterVariants = (0, import_class_variance_authority11.cva)(
|
|
|
1918
2120
|
defaultVariants: { size: "standard" }
|
|
1919
2121
|
}
|
|
1920
2122
|
);
|
|
1921
|
-
var footerStatementVariants = (0,
|
|
2123
|
+
var footerStatementVariants = (0, import_class_variance_authority12.cva)(
|
|
1922
2124
|
[
|
|
1923
2125
|
"flex",
|
|
1924
2126
|
"flex-col",
|
|
@@ -1938,7 +2140,7 @@ var footerStatementVariants = (0, import_class_variance_authority11.cva)(
|
|
|
1938
2140
|
defaultVariants: { size: "standard" }
|
|
1939
2141
|
}
|
|
1940
2142
|
);
|
|
1941
|
-
var linkRowVariants = (0,
|
|
2143
|
+
var linkRowVariants = (0, import_class_variance_authority12.cva)([
|
|
1942
2144
|
"flex",
|
|
1943
2145
|
"w-full",
|
|
1944
2146
|
"justify-between",
|
|
@@ -1946,7 +2148,7 @@ var linkRowVariants = (0, import_class_variance_authority11.cva)([
|
|
|
1946
2148
|
"[&>*]:font-normal",
|
|
1947
2149
|
"[&>*]:text-sm"
|
|
1948
2150
|
]);
|
|
1949
|
-
var linkColumnVariants = (0,
|
|
2151
|
+
var linkColumnVariants = (0, import_class_variance_authority12.cva)(
|
|
1950
2152
|
[
|
|
1951
2153
|
"flex",
|
|
1952
2154
|
"flex-col",
|
|
@@ -1983,10 +2185,10 @@ var linkColumnVariants = (0, import_class_variance_authority11.cva)(
|
|
|
1983
2185
|
);
|
|
1984
2186
|
{
|
|
1985
2187
|
}
|
|
1986
|
-
var WebsiteFooter =
|
|
2188
|
+
var WebsiteFooter = import_react7.default.forwardRef(
|
|
1987
2189
|
(_a, ref) => {
|
|
1988
2190
|
var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
|
|
1989
|
-
return /* @__PURE__ */ (0,
|
|
2191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1990
2192
|
"div",
|
|
1991
2193
|
__spreadProps(__spreadValues({
|
|
1992
2194
|
className: cn(websiteFooterVariants({ size: size2 }), className)
|
|
@@ -1996,10 +2198,10 @@ var WebsiteFooter = import_react6.default.forwardRef(
|
|
|
1996
2198
|
);
|
|
1997
2199
|
}
|
|
1998
2200
|
);
|
|
1999
|
-
var FooterStatement =
|
|
2201
|
+
var FooterStatement = import_react7.default.forwardRef(
|
|
2000
2202
|
(_a, ref) => {
|
|
2001
2203
|
var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
|
|
2002
|
-
return /* @__PURE__ */ (0,
|
|
2204
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2003
2205
|
"div",
|
|
2004
2206
|
__spreadProps(__spreadValues({
|
|
2005
2207
|
className: cn(footerStatementVariants({ size: size2 }), className)
|
|
@@ -2009,10 +2211,10 @@ var FooterStatement = import_react6.default.forwardRef(
|
|
|
2009
2211
|
) });
|
|
2010
2212
|
}
|
|
2011
2213
|
);
|
|
2012
|
-
var LinkRow =
|
|
2214
|
+
var LinkRow = import_react7.default.forwardRef(
|
|
2013
2215
|
(_a, ref) => {
|
|
2014
2216
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2015
|
-
return /* @__PURE__ */ (0,
|
|
2217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2016
2218
|
"div",
|
|
2017
2219
|
__spreadProps(__spreadValues({
|
|
2018
2220
|
className: cn(linkRowVariants(), className)
|
|
@@ -2022,17 +2224,17 @@ var LinkRow = import_react6.default.forwardRef(
|
|
|
2022
2224
|
);
|
|
2023
2225
|
}
|
|
2024
2226
|
);
|
|
2025
|
-
var LinkColumn =
|
|
2227
|
+
var LinkColumn = import_react7.default.forwardRef(
|
|
2026
2228
|
(_a, ref) => {
|
|
2027
2229
|
var _b = _a, { className, size: size2, title, children } = _b, props = __objRest(_b, ["className", "size", "title", "children"]);
|
|
2028
|
-
return /* @__PURE__ */ (0,
|
|
2230
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2029
2231
|
"div",
|
|
2030
2232
|
__spreadProps(__spreadValues({
|
|
2031
2233
|
className: cn(linkColumnVariants({ size: size2 }), className)
|
|
2032
2234
|
}, props), {
|
|
2033
2235
|
ref,
|
|
2034
2236
|
children: [
|
|
2035
|
-
title && /* @__PURE__ */ (0,
|
|
2237
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: title }),
|
|
2036
2238
|
children
|
|
2037
2239
|
]
|
|
2038
2240
|
})
|
|
@@ -2041,10 +2243,10 @@ var LinkColumn = import_react6.default.forwardRef(
|
|
|
2041
2243
|
);
|
|
2042
2244
|
|
|
2043
2245
|
// src/components/Select/index.tsx
|
|
2044
|
-
var
|
|
2246
|
+
var React22 = __toESM(require("react"));
|
|
2045
2247
|
|
|
2046
2248
|
// node_modules/@radix-ui/react-select/dist/index.mjs
|
|
2047
|
-
var
|
|
2249
|
+
var import_react26 = require("react");
|
|
2048
2250
|
var import_react_dom4 = require("react-dom");
|
|
2049
2251
|
|
|
2050
2252
|
// node_modules/@radix-ui/number/dist/index.mjs
|
|
@@ -2062,14 +2264,14 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
|
|
|
2062
2264
|
}
|
|
2063
2265
|
|
|
2064
2266
|
// node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
2065
|
-
var
|
|
2267
|
+
var import_react9 = __toESM(require("react"), 1);
|
|
2066
2268
|
|
|
2067
2269
|
// node_modules/@radix-ui/react-context/dist/index.mjs
|
|
2068
|
-
var
|
|
2270
|
+
var import_react8 = require("react");
|
|
2069
2271
|
function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
|
|
2070
2272
|
let defaultContexts = [];
|
|
2071
2273
|
function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
|
|
2072
|
-
const BaseContext = /* @__PURE__ */ (0,
|
|
2274
|
+
const BaseContext = /* @__PURE__ */ (0, import_react8.createContext)(defaultContext);
|
|
2073
2275
|
const index2 = defaultContexts.length;
|
|
2074
2276
|
defaultContexts = [
|
|
2075
2277
|
...defaultContexts,
|
|
@@ -2078,17 +2280,17 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
2078
2280
|
function Provider2(props) {
|
|
2079
2281
|
const _a = props, { scope, children } = _a, context = __objRest(_a, ["scope", "children"]);
|
|
2080
2282
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
2081
|
-
const value = (0,
|
|
2283
|
+
const value = (0, import_react8.useMemo)(
|
|
2082
2284
|
() => context,
|
|
2083
2285
|
Object.values(context)
|
|
2084
2286
|
);
|
|
2085
|
-
return /* @__PURE__ */ (0,
|
|
2287
|
+
return /* @__PURE__ */ (0, import_react8.createElement)(Context.Provider, {
|
|
2086
2288
|
value
|
|
2087
2289
|
}, children);
|
|
2088
2290
|
}
|
|
2089
2291
|
function useContext(consumerName, scope) {
|
|
2090
2292
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
2091
|
-
const context = (0,
|
|
2293
|
+
const context = (0, import_react8.useContext)(Context);
|
|
2092
2294
|
if (context)
|
|
2093
2295
|
return context;
|
|
2094
2296
|
if (defaultContext !== void 0)
|
|
@@ -2103,11 +2305,11 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
2103
2305
|
}
|
|
2104
2306
|
const createScope = () => {
|
|
2105
2307
|
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
2106
|
-
return /* @__PURE__ */ (0,
|
|
2308
|
+
return /* @__PURE__ */ (0, import_react8.createContext)(defaultContext);
|
|
2107
2309
|
});
|
|
2108
2310
|
return function useScope(scope) {
|
|
2109
2311
|
const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
|
|
2110
|
-
return (0,
|
|
2312
|
+
return (0, import_react8.useMemo)(
|
|
2111
2313
|
() => ({
|
|
2112
2314
|
[`__scope${scopeName}`]: __spreadProps(__spreadValues({}, scope), {
|
|
2113
2315
|
[scopeName]: contexts
|
|
@@ -2143,7 +2345,7 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
|
|
|
2143
2345
|
const currentScope = scopeProps[`__scope${scopeName}`];
|
|
2144
2346
|
return __spreadValues(__spreadValues({}, nextScopes), currentScope);
|
|
2145
2347
|
}, {});
|
|
2146
|
-
return (0,
|
|
2348
|
+
return (0, import_react8.useMemo)(
|
|
2147
2349
|
() => ({
|
|
2148
2350
|
[`__scope${baseScope.scopeName}`]: nextScopes1
|
|
2149
2351
|
}),
|
|
@@ -2169,9 +2371,9 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
|
|
|
2169
2371
|
});
|
|
2170
2372
|
const CollectionProvider = (props) => {
|
|
2171
2373
|
const { scope, children } = props;
|
|
2172
|
-
const ref =
|
|
2173
|
-
const itemMap =
|
|
2174
|
-
return /* @__PURE__ */
|
|
2374
|
+
const ref = import_react9.default.useRef(null);
|
|
2375
|
+
const itemMap = import_react9.default.useRef(/* @__PURE__ */ new Map()).current;
|
|
2376
|
+
return /* @__PURE__ */ import_react9.default.createElement(CollectionProviderImpl, {
|
|
2175
2377
|
scope,
|
|
2176
2378
|
itemMap,
|
|
2177
2379
|
collectionRef: ref
|
|
@@ -2181,11 +2383,11 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
|
|
|
2181
2383
|
displayName: PROVIDER_NAME
|
|
2182
2384
|
});
|
|
2183
2385
|
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
2184
|
-
const CollectionSlot = /* @__PURE__ */
|
|
2386
|
+
const CollectionSlot = /* @__PURE__ */ import_react9.default.forwardRef((props, forwardedRef) => {
|
|
2185
2387
|
const { scope, children } = props;
|
|
2186
2388
|
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
2187
2389
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.collectionRef);
|
|
2188
|
-
return /* @__PURE__ */
|
|
2390
|
+
return /* @__PURE__ */ import_react9.default.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360, {
|
|
2189
2391
|
ref: composedRefs
|
|
2190
2392
|
}, children);
|
|
2191
2393
|
});
|
|
@@ -2194,18 +2396,18 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
|
|
|
2194
2396
|
});
|
|
2195
2397
|
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
2196
2398
|
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
2197
|
-
const CollectionItemSlot = /* @__PURE__ */
|
|
2399
|
+
const CollectionItemSlot = /* @__PURE__ */ import_react9.default.forwardRef((props, forwardedRef) => {
|
|
2198
2400
|
const _a = props, { scope, children } = _a, itemData = __objRest(_a, ["scope", "children"]);
|
|
2199
|
-
const ref =
|
|
2401
|
+
const ref = import_react9.default.useRef(null);
|
|
2200
2402
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
2201
2403
|
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
2202
|
-
|
|
2404
|
+
import_react9.default.useEffect(() => {
|
|
2203
2405
|
context.itemMap.set(ref, __spreadValues({
|
|
2204
2406
|
ref
|
|
2205
2407
|
}, itemData));
|
|
2206
2408
|
return () => void context.itemMap.delete(ref);
|
|
2207
2409
|
});
|
|
2208
|
-
return /* @__PURE__ */
|
|
2410
|
+
return /* @__PURE__ */ import_react9.default.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360, {
|
|
2209
2411
|
[ITEM_DATA_ATTR]: "",
|
|
2210
2412
|
ref: composedRefs
|
|
2211
2413
|
}, children);
|
|
@@ -2215,7 +2417,7 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
|
|
|
2215
2417
|
});
|
|
2216
2418
|
function useCollection(scope) {
|
|
2217
2419
|
const context = useCollectionContext(name + "CollectionConsumer", scope);
|
|
2218
|
-
const getItems =
|
|
2420
|
+
const getItems = import_react9.default.useCallback(() => {
|
|
2219
2421
|
const collectionNode = context.collectionRef.current;
|
|
2220
2422
|
if (!collectionNode)
|
|
2221
2423
|
return [];
|
|
@@ -2243,18 +2445,18 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
|
|
|
2243
2445
|
}
|
|
2244
2446
|
|
|
2245
2447
|
// node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
2246
|
-
var
|
|
2247
|
-
var $f631663db3294ace$var$DirectionContext = /* @__PURE__ */ (0,
|
|
2448
|
+
var import_react10 = require("react");
|
|
2449
|
+
var $f631663db3294ace$var$DirectionContext = /* @__PURE__ */ (0, import_react10.createContext)(void 0);
|
|
2248
2450
|
function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
|
|
2249
|
-
const globalDir = (0,
|
|
2451
|
+
const globalDir = (0, import_react10.useContext)($f631663db3294ace$var$DirectionContext);
|
|
2250
2452
|
return localDir || globalDir || "ltr";
|
|
2251
2453
|
}
|
|
2252
2454
|
|
|
2253
2455
|
// node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
2254
|
-
var
|
|
2456
|
+
var import_react14 = require("react");
|
|
2255
2457
|
|
|
2256
2458
|
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
2257
|
-
var
|
|
2459
|
+
var import_react11 = require("react");
|
|
2258
2460
|
var import_react_dom = require("react-dom");
|
|
2259
2461
|
var $8927f6f2acc4f386$var$NODES = [
|
|
2260
2462
|
"a",
|
|
@@ -2275,13 +2477,13 @@ var $8927f6f2acc4f386$var$NODES = [
|
|
|
2275
2477
|
"ul"
|
|
2276
2478
|
];
|
|
2277
2479
|
var $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node) => {
|
|
2278
|
-
const Node2 = /* @__PURE__ */ (0,
|
|
2480
|
+
const Node2 = /* @__PURE__ */ (0, import_react11.forwardRef)((props, forwardedRef) => {
|
|
2279
2481
|
const _a = props, { asChild } = _a, primitiveProps = __objRest(_a, ["asChild"]);
|
|
2280
2482
|
const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
|
|
2281
|
-
(0,
|
|
2483
|
+
(0, import_react11.useEffect)(() => {
|
|
2282
2484
|
window[Symbol.for("radix-ui")] = true;
|
|
2283
2485
|
}, []);
|
|
2284
|
-
return /* @__PURE__ */ (0,
|
|
2486
|
+
return /* @__PURE__ */ (0, import_react11.createElement)(Comp, _extends({}, primitiveProps, {
|
|
2285
2487
|
ref: forwardedRef
|
|
2286
2488
|
}));
|
|
2287
2489
|
});
|
|
@@ -2298,13 +2500,13 @@ function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target, event) {
|
|
|
2298
2500
|
}
|
|
2299
2501
|
|
|
2300
2502
|
// node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
2301
|
-
var
|
|
2503
|
+
var import_react12 = require("react");
|
|
2302
2504
|
function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
2303
|
-
const callbackRef = (0,
|
|
2304
|
-
(0,
|
|
2505
|
+
const callbackRef = (0, import_react12.useRef)(callback);
|
|
2506
|
+
(0, import_react12.useEffect)(() => {
|
|
2305
2507
|
callbackRef.current = callback;
|
|
2306
2508
|
});
|
|
2307
|
-
return (0,
|
|
2509
|
+
return (0, import_react12.useMemo)(
|
|
2308
2510
|
() => (...args) => {
|
|
2309
2511
|
var _callbackRef$current;
|
|
2310
2512
|
return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
|
|
@@ -2314,10 +2516,10 @@ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
|
2314
2516
|
}
|
|
2315
2517
|
|
|
2316
2518
|
// node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
2317
|
-
var
|
|
2519
|
+
var import_react13 = require("react");
|
|
2318
2520
|
function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
2319
2521
|
const onEscapeKeyDown = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);
|
|
2320
|
-
(0,
|
|
2522
|
+
(0, import_react13.useEffect)(() => {
|
|
2321
2523
|
const handleKeyDown = (event) => {
|
|
2322
2524
|
if (event.key === "Escape")
|
|
2323
2525
|
onEscapeKeyDown(event);
|
|
@@ -2335,18 +2537,18 @@ var $5cb92bef7577960e$var$CONTEXT_UPDATE = "dismissableLayer.update";
|
|
|
2335
2537
|
var $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
2336
2538
|
var $5cb92bef7577960e$var$FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
2337
2539
|
var $5cb92bef7577960e$var$originalBodyPointerEvents;
|
|
2338
|
-
var $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */ (0,
|
|
2540
|
+
var $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */ (0, import_react14.createContext)({
|
|
2339
2541
|
layers: /* @__PURE__ */ new Set(),
|
|
2340
2542
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
2341
2543
|
branches: /* @__PURE__ */ new Set()
|
|
2342
2544
|
});
|
|
2343
|
-
var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0,
|
|
2545
|
+
var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0, import_react14.forwardRef)((props, forwardedRef) => {
|
|
2344
2546
|
var _node$ownerDocument;
|
|
2345
2547
|
const _a = props, { disableOutsidePointerEvents = false, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss } = _a, layerProps = __objRest(_a, ["disableOutsidePointerEvents", "onEscapeKeyDown", "onPointerDownOutside", "onFocusOutside", "onInteractOutside", "onDismiss"]);
|
|
2346
|
-
const context = (0,
|
|
2347
|
-
const [node1, setNode] = (0,
|
|
2548
|
+
const context = (0, import_react14.useContext)($5cb92bef7577960e$var$DismissableLayerContext);
|
|
2549
|
+
const [node1, setNode] = (0, import_react14.useState)(null);
|
|
2348
2550
|
const ownerDocument = (_node$ownerDocument = node1 === null || node1 === void 0 ? void 0 : node1.ownerDocument) !== null && _node$ownerDocument !== void 0 ? _node$ownerDocument : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;
|
|
2349
|
-
const [, force] = (0,
|
|
2551
|
+
const [, force] = (0, import_react14.useState)({});
|
|
2350
2552
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
2351
2553
|
forwardedRef,
|
|
2352
2554
|
(node) => setNode(node)
|
|
@@ -2397,7 +2599,7 @@ var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0, import_react
|
|
|
2397
2599
|
onDismiss();
|
|
2398
2600
|
}
|
|
2399
2601
|
}, ownerDocument);
|
|
2400
|
-
(0,
|
|
2602
|
+
(0, import_react14.useEffect)(() => {
|
|
2401
2603
|
if (!node1)
|
|
2402
2604
|
return;
|
|
2403
2605
|
if (disableOutsidePointerEvents) {
|
|
@@ -2419,7 +2621,7 @@ var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0, import_react
|
|
|
2419
2621
|
disableOutsidePointerEvents,
|
|
2420
2622
|
context
|
|
2421
2623
|
]);
|
|
2422
|
-
(0,
|
|
2624
|
+
(0, import_react14.useEffect)(() => {
|
|
2423
2625
|
return () => {
|
|
2424
2626
|
if (!node1)
|
|
2425
2627
|
return;
|
|
@@ -2431,12 +2633,12 @@ var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0, import_react
|
|
|
2431
2633
|
node1,
|
|
2432
2634
|
context
|
|
2433
2635
|
]);
|
|
2434
|
-
(0,
|
|
2636
|
+
(0, import_react14.useEffect)(() => {
|
|
2435
2637
|
const handleUpdate = () => force({});
|
|
2436
2638
|
document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
2437
2639
|
return () => document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
2438
2640
|
}, []);
|
|
2439
|
-
return /* @__PURE__ */ (0,
|
|
2641
|
+
return /* @__PURE__ */ (0, import_react14.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
|
|
2440
2642
|
ref: composedRefs,
|
|
2441
2643
|
style: __spreadValues({
|
|
2442
2644
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0
|
|
@@ -2448,10 +2650,10 @@ var $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ (0, import_react
|
|
|
2448
2650
|
});
|
|
2449
2651
|
function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
2450
2652
|
const handlePointerDownOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside);
|
|
2451
|
-
const isPointerInsideReactTreeRef = (0,
|
|
2452
|
-
const handleClickRef = (0,
|
|
2653
|
+
const isPointerInsideReactTreeRef = (0, import_react14.useRef)(false);
|
|
2654
|
+
const handleClickRef = (0, import_react14.useRef)(() => {
|
|
2453
2655
|
});
|
|
2454
|
-
(0,
|
|
2656
|
+
(0, import_react14.useEffect)(() => {
|
|
2455
2657
|
const handlePointerDown = (event) => {
|
|
2456
2658
|
if (event.target && !isPointerInsideReactTreeRef.current) {
|
|
2457
2659
|
let handleAndDispatchPointerDownOutsideEvent2 = function() {
|
|
@@ -2493,8 +2695,8 @@ function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, owner
|
|
|
2493
2695
|
}
|
|
2494
2696
|
function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
2495
2697
|
const handleFocusOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside);
|
|
2496
|
-
const isFocusInsideReactTreeRef = (0,
|
|
2497
|
-
(0,
|
|
2698
|
+
const isFocusInsideReactTreeRef = (0, import_react14.useRef)(false);
|
|
2699
|
+
(0, import_react14.useEffect)(() => {
|
|
2498
2700
|
const handleFocus = (event) => {
|
|
2499
2701
|
if (event.target && !isFocusInsideReactTreeRef.current) {
|
|
2500
2702
|
const eventDetail = {
|
|
@@ -2538,10 +2740,10 @@ function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name, handler, detai
|
|
|
2538
2740
|
}
|
|
2539
2741
|
|
|
2540
2742
|
// node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
2541
|
-
var
|
|
2743
|
+
var import_react15 = require("react");
|
|
2542
2744
|
var $3db38b7d1fb3fe6a$var$count = 0;
|
|
2543
2745
|
function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
|
|
2544
|
-
(0,
|
|
2746
|
+
(0, import_react15.useEffect)(() => {
|
|
2545
2747
|
var _edgeGuards$, _edgeGuards$2;
|
|
2546
2748
|
const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
|
|
2547
2749
|
document.body.insertAdjacentElement("afterbegin", (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
@@ -2564,25 +2766,25 @@ function $3db38b7d1fb3fe6a$var$createFocusGuard() {
|
|
|
2564
2766
|
return element;
|
|
2565
2767
|
}
|
|
2566
2768
|
|
|
2567
|
-
// node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
2568
|
-
var
|
|
2769
|
+
// node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
2770
|
+
var import_react16 = require("react");
|
|
2569
2771
|
var $d3863c46a17e8a28$var$AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
2570
2772
|
var $d3863c46a17e8a28$var$AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
2571
2773
|
var $d3863c46a17e8a28$var$EVENT_OPTIONS = {
|
|
2572
2774
|
bubbles: false,
|
|
2573
2775
|
cancelable: true
|
|
2574
2776
|
};
|
|
2575
|
-
var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0,
|
|
2777
|
+
var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0, import_react16.forwardRef)((props, forwardedRef) => {
|
|
2576
2778
|
const _a = props, { loop = false, trapped = false, onMountAutoFocus: onMountAutoFocusProp, onUnmountAutoFocus: onUnmountAutoFocusProp } = _a, scopeProps = __objRest(_a, ["loop", "trapped", "onMountAutoFocus", "onUnmountAutoFocus"]);
|
|
2577
|
-
const [container1, setContainer] = (0,
|
|
2779
|
+
const [container1, setContainer] = (0, import_react16.useState)(null);
|
|
2578
2780
|
const onMountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp);
|
|
2579
2781
|
const onUnmountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp);
|
|
2580
|
-
const lastFocusedElementRef = (0,
|
|
2782
|
+
const lastFocusedElementRef = (0, import_react16.useRef)(null);
|
|
2581
2783
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
2582
2784
|
forwardedRef,
|
|
2583
2785
|
(node) => setContainer(node)
|
|
2584
2786
|
);
|
|
2585
|
-
const focusScope = (0,
|
|
2787
|
+
const focusScope = (0, import_react16.useRef)({
|
|
2586
2788
|
paused: false,
|
|
2587
2789
|
pause() {
|
|
2588
2790
|
this.paused = true;
|
|
@@ -2591,7 +2793,7 @@ var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0, import_react
|
|
|
2591
2793
|
this.paused = false;
|
|
2592
2794
|
}
|
|
2593
2795
|
}).current;
|
|
2594
|
-
(0,
|
|
2796
|
+
(0, import_react16.useEffect)(() => {
|
|
2595
2797
|
if (trapped) {
|
|
2596
2798
|
let handleFocusIn2 = function(event) {
|
|
2597
2799
|
if (focusScope.paused || !container1)
|
|
@@ -2642,7 +2844,7 @@ var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0, import_react
|
|
|
2642
2844
|
container1,
|
|
2643
2845
|
focusScope.paused
|
|
2644
2846
|
]);
|
|
2645
|
-
(0,
|
|
2847
|
+
(0, import_react16.useEffect)(() => {
|
|
2646
2848
|
if (container1) {
|
|
2647
2849
|
$d3863c46a17e8a28$var$focusScopesStack.add(focusScope);
|
|
2648
2850
|
const previouslyFocusedElement = document.activeElement;
|
|
@@ -2680,7 +2882,7 @@ var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0, import_react
|
|
|
2680
2882
|
onUnmountAutoFocus,
|
|
2681
2883
|
focusScope
|
|
2682
2884
|
]);
|
|
2683
|
-
const handleKeyDown = (0,
|
|
2885
|
+
const handleKeyDown = (0, import_react16.useCallback)((event) => {
|
|
2684
2886
|
if (!loop && !trapped)
|
|
2685
2887
|
return;
|
|
2686
2888
|
if (focusScope.paused)
|
|
@@ -2715,7 +2917,7 @@ var $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ (0, import_react
|
|
|
2715
2917
|
trapped,
|
|
2716
2918
|
focusScope.paused
|
|
2717
2919
|
]);
|
|
2718
|
-
return /* @__PURE__ */ (0,
|
|
2920
|
+
return /* @__PURE__ */ (0, import_react16.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
2719
2921
|
tabIndex: -1
|
|
2720
2922
|
}, scopeProps, {
|
|
2721
2923
|
ref: composedRefs,
|
|
@@ -2825,8 +3027,8 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
|
|
|
2825
3027
|
var $2AODx$react = __toESM(require("react"), 1);
|
|
2826
3028
|
|
|
2827
3029
|
// node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
2828
|
-
var
|
|
2829
|
-
var $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ?
|
|
3030
|
+
var import_react17 = require("react");
|
|
3031
|
+
var $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? import_react17.useLayoutEffect : () => {
|
|
2830
3032
|
};
|
|
2831
3033
|
|
|
2832
3034
|
// node_modules/@radix-ui/react-id/dist/index.mjs
|
|
@@ -2846,7 +3048,7 @@ function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
|
|
|
2846
3048
|
}
|
|
2847
3049
|
|
|
2848
3050
|
// node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2849
|
-
var
|
|
3051
|
+
var import_react20 = require("react");
|
|
2850
3052
|
|
|
2851
3053
|
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
2852
3054
|
var sides = ["top", "right", "bottom", "left"];
|
|
@@ -4317,8 +4519,8 @@ var computePosition2 = (reference, floating, options) => {
|
|
|
4317
4519
|
};
|
|
4318
4520
|
|
|
4319
4521
|
// node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
4320
|
-
var
|
|
4321
|
-
var
|
|
4522
|
+
var React15 = __toESM(require("react"), 1);
|
|
4523
|
+
var import_react18 = require("react");
|
|
4322
4524
|
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
4323
4525
|
var arrow2 = (options) => {
|
|
4324
4526
|
function isRef(value) {
|
|
@@ -4350,7 +4552,7 @@ var arrow2 = (options) => {
|
|
|
4350
4552
|
}
|
|
4351
4553
|
};
|
|
4352
4554
|
};
|
|
4353
|
-
var index = typeof document !== "undefined" ?
|
|
4555
|
+
var index = typeof document !== "undefined" ? import_react18.useLayoutEffect : import_react18.useEffect;
|
|
4354
4556
|
function deepEqual(a, b) {
|
|
4355
4557
|
if (a === b) {
|
|
4356
4558
|
return true;
|
|
@@ -4409,7 +4611,7 @@ function roundByDPR(element, value) {
|
|
|
4409
4611
|
return Math.round(value * dpr) / dpr;
|
|
4410
4612
|
}
|
|
4411
4613
|
function useLatestRef(value) {
|
|
4412
|
-
const ref =
|
|
4614
|
+
const ref = React15.useRef(value);
|
|
4413
4615
|
index(() => {
|
|
4414
4616
|
ref.current = value;
|
|
4415
4617
|
});
|
|
@@ -4432,7 +4634,7 @@ function useFloating(options) {
|
|
|
4432
4634
|
whileElementsMounted,
|
|
4433
4635
|
open
|
|
4434
4636
|
} = options;
|
|
4435
|
-
const [data, setData] =
|
|
4637
|
+
const [data, setData] = React15.useState({
|
|
4436
4638
|
x: 0,
|
|
4437
4639
|
y: 0,
|
|
4438
4640
|
strategy,
|
|
@@ -4440,19 +4642,19 @@ function useFloating(options) {
|
|
|
4440
4642
|
middlewareData: {},
|
|
4441
4643
|
isPositioned: false
|
|
4442
4644
|
});
|
|
4443
|
-
const [latestMiddleware, setLatestMiddleware] =
|
|
4645
|
+
const [latestMiddleware, setLatestMiddleware] = React15.useState(middleware);
|
|
4444
4646
|
if (!deepEqual(latestMiddleware, middleware)) {
|
|
4445
4647
|
setLatestMiddleware(middleware);
|
|
4446
4648
|
}
|
|
4447
|
-
const [_reference, _setReference] =
|
|
4448
|
-
const [_floating, _setFloating] =
|
|
4449
|
-
const setReference =
|
|
4649
|
+
const [_reference, _setReference] = React15.useState(null);
|
|
4650
|
+
const [_floating, _setFloating] = React15.useState(null);
|
|
4651
|
+
const setReference = React15.useCallback((node) => {
|
|
4450
4652
|
if (node != referenceRef.current) {
|
|
4451
4653
|
referenceRef.current = node;
|
|
4452
4654
|
_setReference(node);
|
|
4453
4655
|
}
|
|
4454
4656
|
}, [_setReference]);
|
|
4455
|
-
const setFloating =
|
|
4657
|
+
const setFloating = React15.useCallback((node) => {
|
|
4456
4658
|
if (node !== floatingRef.current) {
|
|
4457
4659
|
floatingRef.current = node;
|
|
4458
4660
|
_setFloating(node);
|
|
@@ -4460,12 +4662,12 @@ function useFloating(options) {
|
|
|
4460
4662
|
}, [_setFloating]);
|
|
4461
4663
|
const referenceEl = externalReference || _reference;
|
|
4462
4664
|
const floatingEl = externalFloating || _floating;
|
|
4463
|
-
const referenceRef =
|
|
4464
|
-
const floatingRef =
|
|
4465
|
-
const dataRef =
|
|
4665
|
+
const referenceRef = React15.useRef(null);
|
|
4666
|
+
const floatingRef = React15.useRef(null);
|
|
4667
|
+
const dataRef = React15.useRef(data);
|
|
4466
4668
|
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
4467
4669
|
const platformRef = useLatestRef(platform2);
|
|
4468
|
-
const update =
|
|
4670
|
+
const update = React15.useCallback(() => {
|
|
4469
4671
|
if (!referenceRef.current || !floatingRef.current) {
|
|
4470
4672
|
return;
|
|
4471
4673
|
}
|
|
@@ -4497,7 +4699,7 @@ function useFloating(options) {
|
|
|
4497
4699
|
}));
|
|
4498
4700
|
}
|
|
4499
4701
|
}, [open]);
|
|
4500
|
-
const isMountedRef =
|
|
4702
|
+
const isMountedRef = React15.useRef(false);
|
|
4501
4703
|
index(() => {
|
|
4502
4704
|
isMountedRef.current = true;
|
|
4503
4705
|
return () => {
|
|
@@ -4517,17 +4719,17 @@ function useFloating(options) {
|
|
|
4517
4719
|
}
|
|
4518
4720
|
}
|
|
4519
4721
|
}, [referenceEl, floatingEl, update, whileElementsMountedRef]);
|
|
4520
|
-
const refs =
|
|
4722
|
+
const refs = React15.useMemo(() => ({
|
|
4521
4723
|
reference: referenceRef,
|
|
4522
4724
|
floating: floatingRef,
|
|
4523
4725
|
setReference,
|
|
4524
4726
|
setFloating
|
|
4525
4727
|
}), [setReference, setFloating]);
|
|
4526
|
-
const elements =
|
|
4728
|
+
const elements = React15.useMemo(() => ({
|
|
4527
4729
|
reference: referenceEl,
|
|
4528
4730
|
floating: floatingEl
|
|
4529
4731
|
}), [referenceEl, floatingEl]);
|
|
4530
|
-
const floatingStyles =
|
|
4732
|
+
const floatingStyles = React15.useMemo(() => {
|
|
4531
4733
|
const initialStyles = {
|
|
4532
4734
|
position: strategy,
|
|
4533
4735
|
left: 0,
|
|
@@ -4551,7 +4753,7 @@ function useFloating(options) {
|
|
|
4551
4753
|
top: y
|
|
4552
4754
|
};
|
|
4553
4755
|
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
4554
|
-
return
|
|
4756
|
+
return React15.useMemo(() => __spreadProps(__spreadValues({}, data), {
|
|
4555
4757
|
update,
|
|
4556
4758
|
refs,
|
|
4557
4759
|
elements,
|
|
@@ -4560,9 +4762,9 @@ function useFloating(options) {
|
|
|
4560
4762
|
}
|
|
4561
4763
|
|
|
4562
4764
|
// node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
4563
|
-
var
|
|
4765
|
+
var import_react19 = require("react");
|
|
4564
4766
|
function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
|
|
4565
|
-
const [size2, setSize] = (0,
|
|
4767
|
+
const [size2, setSize] = (0, import_react19.useState)(void 0);
|
|
4566
4768
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
4567
4769
|
if (element) {
|
|
4568
4770
|
setSize({
|
|
@@ -4609,38 +4811,38 @@ var [$cf1ac5d9fe0e8206$var$createPopperContext, $cf1ac5d9fe0e8206$export$722aac1
|
|
|
4609
4811
|
var [$cf1ac5d9fe0e8206$var$PopperProvider, $cf1ac5d9fe0e8206$var$usePopperContext] = $cf1ac5d9fe0e8206$var$createPopperContext($cf1ac5d9fe0e8206$var$POPPER_NAME);
|
|
4610
4812
|
var $cf1ac5d9fe0e8206$export$badac9ada3a0bdf9 = (props) => {
|
|
4611
4813
|
const { __scopePopper, children } = props;
|
|
4612
|
-
const [anchor, setAnchor] = (0,
|
|
4613
|
-
return /* @__PURE__ */ (0,
|
|
4814
|
+
const [anchor, setAnchor] = (0, import_react20.useState)(null);
|
|
4815
|
+
return /* @__PURE__ */ (0, import_react20.createElement)($cf1ac5d9fe0e8206$var$PopperProvider, {
|
|
4614
4816
|
scope: __scopePopper,
|
|
4615
4817
|
anchor,
|
|
4616
4818
|
onAnchorChange: setAnchor
|
|
4617
4819
|
}, children);
|
|
4618
4820
|
};
|
|
4619
4821
|
var $cf1ac5d9fe0e8206$var$ANCHOR_NAME = "PopperAnchor";
|
|
4620
|
-
var $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */ (0,
|
|
4822
|
+
var $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */ (0, import_react20.forwardRef)((props, forwardedRef) => {
|
|
4621
4823
|
const _a = props, { __scopePopper, virtualRef } = _a, anchorProps = __objRest(_a, ["__scopePopper", "virtualRef"]);
|
|
4622
4824
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$ANCHOR_NAME, __scopePopper);
|
|
4623
|
-
const ref = (0,
|
|
4825
|
+
const ref = (0, import_react20.useRef)(null);
|
|
4624
4826
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
4625
|
-
(0,
|
|
4827
|
+
(0, import_react20.useEffect)(() => {
|
|
4626
4828
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
4627
4829
|
});
|
|
4628
|
-
return virtualRef ? null : /* @__PURE__ */ (0,
|
|
4830
|
+
return virtualRef ? null : /* @__PURE__ */ (0, import_react20.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, anchorProps, {
|
|
4629
4831
|
ref: composedRefs
|
|
4630
4832
|
}));
|
|
4631
4833
|
});
|
|
4632
4834
|
var $cf1ac5d9fe0e8206$var$CONTENT_NAME = "PopperContent";
|
|
4633
4835
|
var [$cf1ac5d9fe0e8206$var$PopperContentProvider, $cf1ac5d9fe0e8206$var$useContentContext] = $cf1ac5d9fe0e8206$var$createPopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME);
|
|
4634
|
-
var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0,
|
|
4836
|
+
var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react20.forwardRef)((props, forwardedRef) => {
|
|
4635
4837
|
var _arrowSize$width, _arrowSize$height, _middlewareData$arrow, _middlewareData$arrow2, _middlewareData$arrow3, _middlewareData$trans, _middlewareData$trans2, _middlewareData$hide;
|
|
4636
4838
|
const _a = props, { __scopePopper, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, arrowPadding = 0, collisionBoundary = [], collisionPadding: collisionPaddingProp = 0, sticky = "partial", hideWhenDetached = false, avoidCollisions = true, onPlaced } = _a, contentProps = __objRest(_a, ["__scopePopper", "side", "sideOffset", "align", "alignOffset", "arrowPadding", "collisionBoundary", "collisionPadding", "sticky", "hideWhenDetached", "avoidCollisions", "onPlaced"]);
|
|
4637
4839
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME, __scopePopper);
|
|
4638
|
-
const [content, setContent] = (0,
|
|
4840
|
+
const [content, setContent] = (0, import_react20.useState)(null);
|
|
4639
4841
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
4640
4842
|
forwardedRef,
|
|
4641
4843
|
(node) => setContent(node)
|
|
4642
4844
|
);
|
|
4643
|
-
const [arrow3, setArrow] = (0,
|
|
4845
|
+
const [arrow3, setArrow] = (0, import_react20.useState)(null);
|
|
4644
4846
|
const arrowSize = $db6c3485150b8e66$export$1ab7ae714698c4b8(arrow3);
|
|
4645
4847
|
const arrowWidth = (_arrowSize$width = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.width) !== null && _arrowSize$width !== void 0 ? _arrowSize$width : 0;
|
|
4646
4848
|
const arrowHeight = (_arrowSize$height = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.height) !== null && _arrowSize$height !== void 0 ? _arrowSize$height : 0;
|
|
@@ -4715,14 +4917,14 @@ var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react1
|
|
|
4715
4917
|
const arrowX = (_middlewareData$arrow = middlewareData.arrow) === null || _middlewareData$arrow === void 0 ? void 0 : _middlewareData$arrow.x;
|
|
4716
4918
|
const arrowY = (_middlewareData$arrow2 = middlewareData.arrow) === null || _middlewareData$arrow2 === void 0 ? void 0 : _middlewareData$arrow2.y;
|
|
4717
4919
|
const cannotCenterArrow = ((_middlewareData$arrow3 = middlewareData.arrow) === null || _middlewareData$arrow3 === void 0 ? void 0 : _middlewareData$arrow3.centerOffset) !== 0;
|
|
4718
|
-
const [contentZIndex, setContentZIndex] = (0,
|
|
4920
|
+
const [contentZIndex, setContentZIndex] = (0, import_react20.useState)();
|
|
4719
4921
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
4720
4922
|
if (content)
|
|
4721
4923
|
setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
4722
4924
|
}, [
|
|
4723
4925
|
content
|
|
4724
4926
|
]);
|
|
4725
|
-
return /* @__PURE__ */ (0,
|
|
4927
|
+
return /* @__PURE__ */ (0, import_react20.createElement)("div", {
|
|
4726
4928
|
ref: refs.setFloating,
|
|
4727
4929
|
"data-radix-popper-content-wrapper": "",
|
|
4728
4930
|
style: __spreadProps(__spreadValues({}, floatingStyles), {
|
|
@@ -4736,14 +4938,14 @@ var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react1
|
|
|
4736
4938
|
].join(" ")
|
|
4737
4939
|
}),
|
|
4738
4940
|
dir: props.dir
|
|
4739
|
-
}, /* @__PURE__ */ (0,
|
|
4941
|
+
}, /* @__PURE__ */ (0, import_react20.createElement)($cf1ac5d9fe0e8206$var$PopperContentProvider, {
|
|
4740
4942
|
scope: __scopePopper,
|
|
4741
4943
|
placedSide,
|
|
4742
4944
|
onArrowChange: setArrow,
|
|
4743
4945
|
arrowX,
|
|
4744
4946
|
arrowY,
|
|
4745
4947
|
shouldHideArrow: cannotCenterArrow
|
|
4746
|
-
}, /* @__PURE__ */ (0,
|
|
4948
|
+
}, /* @__PURE__ */ (0, import_react20.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
4747
4949
|
"data-side": placedSide,
|
|
4748
4950
|
"data-align": placedAlign
|
|
4749
4951
|
}, contentProps, {
|
|
@@ -4813,18 +5015,18 @@ var $cf1ac5d9fe0e8206$export$b688253958b8dfe7 = $cf1ac5d9fe0e8206$export$ecd4e1c
|
|
|
4813
5015
|
var $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 = $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;
|
|
4814
5016
|
|
|
4815
5017
|
// node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
4816
|
-
var
|
|
5018
|
+
var import_react21 = require("react");
|
|
4817
5019
|
var import_react_dom3 = __toESM(require("react-dom"), 1);
|
|
4818
|
-
var $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ (0,
|
|
5020
|
+
var $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ (0, import_react21.forwardRef)((props, forwardedRef) => {
|
|
4819
5021
|
var _globalThis$document;
|
|
4820
5022
|
const _a = props, { container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body } = _a, portalProps = __objRest(_a, ["container"]);
|
|
4821
|
-
return container ? /* @__PURE__ */ import_react_dom3.default.createPortal(/* @__PURE__ */ (0,
|
|
5023
|
+
return container ? /* @__PURE__ */ import_react_dom3.default.createPortal(/* @__PURE__ */ (0, import_react21.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
|
|
4822
5024
|
ref: forwardedRef
|
|
4823
5025
|
})), container) : null;
|
|
4824
5026
|
});
|
|
4825
5027
|
|
|
4826
5028
|
// node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
4827
|
-
var
|
|
5029
|
+
var import_react22 = require("react");
|
|
4828
5030
|
function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange = () => {
|
|
4829
5031
|
} }) {
|
|
4830
5032
|
const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
|
|
@@ -4834,7 +5036,7 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
4834
5036
|
const isControlled = prop !== void 0;
|
|
4835
5037
|
const value1 = isControlled ? prop : uncontrolledProp;
|
|
4836
5038
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
4837
|
-
const setValue = (0,
|
|
5039
|
+
const setValue = (0, import_react22.useCallback)((nextValue) => {
|
|
4838
5040
|
if (isControlled) {
|
|
4839
5041
|
const setter = nextValue;
|
|
4840
5042
|
const value = typeof nextValue === "function" ? setter(prop) : nextValue;
|
|
@@ -4854,11 +5056,11 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
4854
5056
|
];
|
|
4855
5057
|
}
|
|
4856
5058
|
function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp, onChange }) {
|
|
4857
|
-
const uncontrolledState = (0,
|
|
5059
|
+
const uncontrolledState = (0, import_react22.useState)(defaultProp);
|
|
4858
5060
|
const [value] = uncontrolledState;
|
|
4859
|
-
const prevValueRef = (0,
|
|
5061
|
+
const prevValueRef = (0, import_react22.useRef)(value);
|
|
4860
5062
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
4861
|
-
(0,
|
|
5063
|
+
(0, import_react22.useEffect)(() => {
|
|
4862
5064
|
if (prevValueRef.current !== value) {
|
|
4863
5065
|
handleChange(value);
|
|
4864
5066
|
prevValueRef.current = value;
|
|
@@ -4872,13 +5074,13 @@ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp, onChange }) {
|
|
|
4872
5074
|
}
|
|
4873
5075
|
|
|
4874
5076
|
// node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
4875
|
-
var
|
|
5077
|
+
var import_react23 = require("react");
|
|
4876
5078
|
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
4877
|
-
const ref = (0,
|
|
5079
|
+
const ref = (0, import_react23.useRef)({
|
|
4878
5080
|
value,
|
|
4879
5081
|
previous: value
|
|
4880
5082
|
});
|
|
4881
|
-
return (0,
|
|
5083
|
+
return (0, import_react23.useMemo)(() => {
|
|
4882
5084
|
if (ref.current.value !== value) {
|
|
4883
5085
|
ref.current.previous = ref.current.value;
|
|
4884
5086
|
ref.current.value = value;
|
|
@@ -4890,9 +5092,9 @@ function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
|
4890
5092
|
}
|
|
4891
5093
|
|
|
4892
5094
|
// node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
4893
|
-
var
|
|
4894
|
-
var $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ (0,
|
|
4895
|
-
return /* @__PURE__ */ (0,
|
|
5095
|
+
var import_react24 = require("react");
|
|
5096
|
+
var $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ (0, import_react24.forwardRef)((props, forwardedRef) => {
|
|
5097
|
+
return /* @__PURE__ */ (0, import_react24.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
|
|
4896
5098
|
ref: forwardedRef,
|
|
4897
5099
|
style: __spreadValues({
|
|
4898
5100
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -5065,10 +5267,10 @@ function __spreadArray(to, from, pack) {
|
|
|
5065
5267
|
}
|
|
5066
5268
|
|
|
5067
5269
|
// node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
5068
|
-
var
|
|
5270
|
+
var React21 = __toESM(require("react"));
|
|
5069
5271
|
|
|
5070
5272
|
// node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
5071
|
-
var
|
|
5273
|
+
var React17 = __toESM(require("react"));
|
|
5072
5274
|
|
|
5073
5275
|
// node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
5074
5276
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
@@ -5087,9 +5289,9 @@ function assignRef(ref, value) {
|
|
|
5087
5289
|
}
|
|
5088
5290
|
|
|
5089
5291
|
// node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
5090
|
-
var
|
|
5292
|
+
var import_react25 = require("react");
|
|
5091
5293
|
function useCallbackRef(initialValue, callback) {
|
|
5092
|
-
var ref = (0,
|
|
5294
|
+
var ref = (0, import_react25.useState)(function() {
|
|
5093
5295
|
return {
|
|
5094
5296
|
// value
|
|
5095
5297
|
value: initialValue,
|
|
@@ -5210,7 +5412,7 @@ function createSidecarMedium(options) {
|
|
|
5210
5412
|
}
|
|
5211
5413
|
|
|
5212
5414
|
// node_modules/use-sidecar/dist/es2015/exports.js
|
|
5213
|
-
var
|
|
5415
|
+
var React16 = __toESM(require("react"));
|
|
5214
5416
|
var SideCar = function(_a) {
|
|
5215
5417
|
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
5216
5418
|
if (!sideCar) {
|
|
@@ -5220,7 +5422,7 @@ var SideCar = function(_a) {
|
|
|
5220
5422
|
if (!Target) {
|
|
5221
5423
|
throw new Error("Sidecar medium not found");
|
|
5222
5424
|
}
|
|
5223
|
-
return
|
|
5425
|
+
return React16.createElement(Target, __assign({}, rest));
|
|
5224
5426
|
};
|
|
5225
5427
|
SideCar.isSideCarExport = true;
|
|
5226
5428
|
function exportSidecar(medium, exported) {
|
|
@@ -5235,9 +5437,9 @@ var effectCar = createSidecarMedium();
|
|
|
5235
5437
|
var nothing = function() {
|
|
5236
5438
|
return;
|
|
5237
5439
|
};
|
|
5238
|
-
var RemoveScroll =
|
|
5239
|
-
var ref =
|
|
5240
|
-
var _a =
|
|
5440
|
+
var RemoveScroll = React17.forwardRef(function(props, parentRef) {
|
|
5441
|
+
var ref = React17.useRef(null);
|
|
5442
|
+
var _a = React17.useState({
|
|
5241
5443
|
onScrollCapture: nothing,
|
|
5242
5444
|
onWheelCapture: nothing,
|
|
5243
5445
|
onTouchMoveCapture: nothing
|
|
@@ -5246,11 +5448,11 @@ var RemoveScroll = React16.forwardRef(function(props, parentRef) {
|
|
|
5246
5448
|
var SideCar2 = sideCar;
|
|
5247
5449
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
5248
5450
|
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
5249
|
-
return
|
|
5250
|
-
|
|
5451
|
+
return React17.createElement(
|
|
5452
|
+
React17.Fragment,
|
|
5251
5453
|
null,
|
|
5252
|
-
enabled &&
|
|
5253
|
-
forwardProps ?
|
|
5454
|
+
enabled && React17.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref }),
|
|
5455
|
+
forwardProps ? React17.cloneElement(React17.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React17.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
5254
5456
|
);
|
|
5255
5457
|
});
|
|
5256
5458
|
RemoveScroll.defaultProps = {
|
|
@@ -5264,13 +5466,13 @@ RemoveScroll.classNames = {
|
|
|
5264
5466
|
};
|
|
5265
5467
|
|
|
5266
5468
|
// node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
5267
|
-
var
|
|
5469
|
+
var React20 = __toESM(require("react"));
|
|
5268
5470
|
|
|
5269
5471
|
// node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
5270
|
-
var
|
|
5472
|
+
var React19 = __toESM(require("react"));
|
|
5271
5473
|
|
|
5272
5474
|
// node_modules/react-style-singleton/dist/es2015/hook.js
|
|
5273
|
-
var
|
|
5475
|
+
var React18 = __toESM(require("react"));
|
|
5274
5476
|
|
|
5275
5477
|
// node_modules/get-nonce/dist/es2015/index.js
|
|
5276
5478
|
var currentNonce;
|
|
@@ -5334,7 +5536,7 @@ var stylesheetSingleton = function() {
|
|
|
5334
5536
|
var styleHookSingleton = function() {
|
|
5335
5537
|
var sheet = stylesheetSingleton();
|
|
5336
5538
|
return function(styles, isDynamic) {
|
|
5337
|
-
|
|
5539
|
+
React18.useEffect(function() {
|
|
5338
5540
|
sheet.add(styles);
|
|
5339
5541
|
return function() {
|
|
5340
5542
|
sheet.remove();
|
|
@@ -5404,10 +5606,10 @@ var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
|
5404
5606
|
};
|
|
5405
5607
|
var RemoveScrollBar = function(props) {
|
|
5406
5608
|
var noRelative = props.noRelative, noImportant = props.noImportant, _a = props.gapMode, gapMode = _a === void 0 ? "margin" : _a;
|
|
5407
|
-
var gap =
|
|
5609
|
+
var gap = React19.useMemo(function() {
|
|
5408
5610
|
return getGapWidth(gapMode);
|
|
5409
5611
|
}, [gapMode]);
|
|
5410
|
-
return
|
|
5612
|
+
return React19.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
5411
5613
|
};
|
|
5412
5614
|
|
|
5413
5615
|
// node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
@@ -5540,18 +5742,18 @@ var generateStyle = function(id) {
|
|
|
5540
5742
|
var idCounter = 0;
|
|
5541
5743
|
var lockStack = [];
|
|
5542
5744
|
function RemoveScrollSideCar(props) {
|
|
5543
|
-
var shouldPreventQueue =
|
|
5544
|
-
var touchStartRef =
|
|
5545
|
-
var activeAxis =
|
|
5546
|
-
var id =
|
|
5547
|
-
var Style2 =
|
|
5745
|
+
var shouldPreventQueue = React20.useRef([]);
|
|
5746
|
+
var touchStartRef = React20.useRef([0, 0]);
|
|
5747
|
+
var activeAxis = React20.useRef();
|
|
5748
|
+
var id = React20.useState(idCounter++)[0];
|
|
5749
|
+
var Style2 = React20.useState(function() {
|
|
5548
5750
|
return styleSingleton();
|
|
5549
5751
|
})[0];
|
|
5550
|
-
var lastProps =
|
|
5551
|
-
|
|
5752
|
+
var lastProps = React20.useRef(props);
|
|
5753
|
+
React20.useEffect(function() {
|
|
5552
5754
|
lastProps.current = props;
|
|
5553
5755
|
}, [props]);
|
|
5554
|
-
|
|
5756
|
+
React20.useEffect(function() {
|
|
5555
5757
|
if (props.inert) {
|
|
5556
5758
|
document.body.classList.add("block-interactivity-".concat(id));
|
|
5557
5759
|
var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
|
|
@@ -5567,7 +5769,7 @@ function RemoveScrollSideCar(props) {
|
|
|
5567
5769
|
}
|
|
5568
5770
|
return;
|
|
5569
5771
|
}, [props.inert, props.lockRef.current, props.shards]);
|
|
5570
|
-
var shouldCancelEvent =
|
|
5772
|
+
var shouldCancelEvent = React20.useCallback(function(event, parent) {
|
|
5571
5773
|
if ("touches" in event && event.touches.length === 2) {
|
|
5572
5774
|
return !lastProps.current.allowPinchZoom;
|
|
5573
5775
|
}
|
|
@@ -5603,7 +5805,7 @@ function RemoveScrollSideCar(props) {
|
|
|
5603
5805
|
var cancelingAxis = activeAxis.current || currentAxis;
|
|
5604
5806
|
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
5605
5807
|
}, []);
|
|
5606
|
-
var shouldPrevent =
|
|
5808
|
+
var shouldPrevent = React20.useCallback(function(_event) {
|
|
5607
5809
|
var event = _event;
|
|
5608
5810
|
if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
|
|
5609
5811
|
return;
|
|
@@ -5630,7 +5832,7 @@ function RemoveScrollSideCar(props) {
|
|
|
5630
5832
|
}
|
|
5631
5833
|
}
|
|
5632
5834
|
}, []);
|
|
5633
|
-
var shouldCancel =
|
|
5835
|
+
var shouldCancel = React20.useCallback(function(name, delta, target, should) {
|
|
5634
5836
|
var event = { name, delta, target, should };
|
|
5635
5837
|
shouldPreventQueue.current.push(event);
|
|
5636
5838
|
setTimeout(function() {
|
|
@@ -5639,17 +5841,17 @@ function RemoveScrollSideCar(props) {
|
|
|
5639
5841
|
});
|
|
5640
5842
|
}, 1);
|
|
5641
5843
|
}, []);
|
|
5642
|
-
var scrollTouchStart =
|
|
5844
|
+
var scrollTouchStart = React20.useCallback(function(event) {
|
|
5643
5845
|
touchStartRef.current = getTouchXY(event);
|
|
5644
5846
|
activeAxis.current = void 0;
|
|
5645
5847
|
}, []);
|
|
5646
|
-
var scrollWheel =
|
|
5848
|
+
var scrollWheel = React20.useCallback(function(event) {
|
|
5647
5849
|
shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
5648
5850
|
}, []);
|
|
5649
|
-
var scrollTouchMove =
|
|
5851
|
+
var scrollTouchMove = React20.useCallback(function(event) {
|
|
5650
5852
|
shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
5651
5853
|
}, []);
|
|
5652
|
-
|
|
5854
|
+
React20.useEffect(function() {
|
|
5653
5855
|
lockStack.push(Style2);
|
|
5654
5856
|
props.setCallbacks({
|
|
5655
5857
|
onScrollCapture: scrollWheel,
|
|
@@ -5669,11 +5871,11 @@ function RemoveScrollSideCar(props) {
|
|
|
5669
5871
|
};
|
|
5670
5872
|
}, []);
|
|
5671
5873
|
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
5672
|
-
return
|
|
5673
|
-
|
|
5874
|
+
return React20.createElement(
|
|
5875
|
+
React20.Fragment,
|
|
5674
5876
|
null,
|
|
5675
|
-
inert ?
|
|
5676
|
-
removeScrollBar ?
|
|
5877
|
+
inert ? React20.createElement(Style2, { styles: generateStyle(id) }) : null,
|
|
5878
|
+
removeScrollBar ? React20.createElement(RemoveScrollBar, { gapMode: "margin" }) : null
|
|
5677
5879
|
);
|
|
5678
5880
|
}
|
|
5679
5881
|
|
|
@@ -5681,8 +5883,8 @@ function RemoveScrollSideCar(props) {
|
|
|
5681
5883
|
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
5682
5884
|
|
|
5683
5885
|
// node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
5684
|
-
var ReactRemoveScroll =
|
|
5685
|
-
return
|
|
5886
|
+
var ReactRemoveScroll = React21.forwardRef(function(props, ref) {
|
|
5887
|
+
return React21.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
|
|
5686
5888
|
});
|
|
5687
5889
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
5688
5890
|
var Combination_default = ReactRemoveScroll;
|
|
@@ -5710,9 +5912,9 @@ var [$cc7e05a45900e73f$var$SelectNativeOptionsProvider, $cc7e05a45900e73f$var$us
|
|
|
5710
5912
|
var $cc7e05a45900e73f$export$ef9b1a59e592288f = (props) => {
|
|
5711
5913
|
const { __scopeSelect, children, open: openProp, defaultOpen, onOpenChange, value: valueProp, defaultValue, onValueChange, dir, name, autoComplete, disabled, required } = props;
|
|
5712
5914
|
const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);
|
|
5713
|
-
const [trigger, setTrigger] = (0,
|
|
5714
|
-
const [valueNode, setValueNode] = (0,
|
|
5715
|
-
const [valueNodeHasChildren, setValueNodeHasChildren] = (0,
|
|
5915
|
+
const [trigger, setTrigger] = (0, import_react26.useState)(null);
|
|
5916
|
+
const [valueNode, setValueNode] = (0, import_react26.useState)(null);
|
|
5917
|
+
const [valueNodeHasChildren, setValueNodeHasChildren] = (0, import_react26.useState)(false);
|
|
5716
5918
|
const direction = $f631663db3294ace$export$b39126d51d94e6f3(dir);
|
|
5717
5919
|
const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
5718
5920
|
prop: openProp,
|
|
@@ -5724,13 +5926,13 @@ var $cc7e05a45900e73f$export$ef9b1a59e592288f = (props) => {
|
|
|
5724
5926
|
defaultProp: defaultValue,
|
|
5725
5927
|
onChange: onValueChange
|
|
5726
5928
|
});
|
|
5727
|
-
const triggerPointerDownPosRef = (0,
|
|
5929
|
+
const triggerPointerDownPosRef = (0, import_react26.useRef)(null);
|
|
5728
5930
|
const isFormControl = trigger ? Boolean(trigger.closest("form")) : true;
|
|
5729
|
-
const [nativeOptionsSet, setNativeOptionsSet] = (0,
|
|
5931
|
+
const [nativeOptionsSet, setNativeOptionsSet] = (0, import_react26.useState)(/* @__PURE__ */ new Set());
|
|
5730
5932
|
const nativeSelectKey = Array.from(nativeOptionsSet).map(
|
|
5731
5933
|
(option) => option.props.value
|
|
5732
5934
|
).join(";");
|
|
5733
|
-
return /* @__PURE__ */ (0,
|
|
5935
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9, popperScope, /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectProvider, {
|
|
5734
5936
|
required,
|
|
5735
5937
|
scope: __scopeSelect,
|
|
5736
5938
|
trigger,
|
|
@@ -5747,23 +5949,23 @@ var $cc7e05a45900e73f$export$ef9b1a59e592288f = (props) => {
|
|
|
5747
5949
|
dir: direction,
|
|
5748
5950
|
triggerPointerDownPosRef,
|
|
5749
5951
|
disabled
|
|
5750
|
-
}, /* @__PURE__ */ (0,
|
|
5952
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$Collection.Provider, {
|
|
5751
5953
|
scope: __scopeSelect
|
|
5752
|
-
}, /* @__PURE__ */ (0,
|
|
5954
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectNativeOptionsProvider, {
|
|
5753
5955
|
scope: props.__scopeSelect,
|
|
5754
|
-
onNativeOptionAdd: (0,
|
|
5956
|
+
onNativeOptionAdd: (0, import_react26.useCallback)((option) => {
|
|
5755
5957
|
setNativeOptionsSet(
|
|
5756
5958
|
(prev) => new Set(prev).add(option)
|
|
5757
5959
|
);
|
|
5758
5960
|
}, []),
|
|
5759
|
-
onNativeOptionRemove: (0,
|
|
5961
|
+
onNativeOptionRemove: (0, import_react26.useCallback)((option) => {
|
|
5760
5962
|
setNativeOptionsSet((prev) => {
|
|
5761
5963
|
const optionsSet = new Set(prev);
|
|
5762
5964
|
optionsSet.delete(option);
|
|
5763
5965
|
return optionsSet;
|
|
5764
5966
|
});
|
|
5765
5967
|
}, [])
|
|
5766
|
-
}, children)), isFormControl ? /* @__PURE__ */ (0,
|
|
5968
|
+
}, children)), isFormControl ? /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$BubbleSelect, {
|
|
5767
5969
|
key: nativeSelectKey,
|
|
5768
5970
|
"aria-hidden": true,
|
|
5769
5971
|
required,
|
|
@@ -5773,12 +5975,12 @@ var $cc7e05a45900e73f$export$ef9b1a59e592288f = (props) => {
|
|
|
5773
5975
|
value,
|
|
5774
5976
|
onChange: (event) => setValue(event.target.value),
|
|
5775
5977
|
disabled
|
|
5776
|
-
}, value === void 0 ? /* @__PURE__ */ (0,
|
|
5978
|
+
}, value === void 0 ? /* @__PURE__ */ (0, import_react26.createElement)("option", {
|
|
5777
5979
|
value: ""
|
|
5778
5980
|
}) : null, Array.from(nativeOptionsSet)) : null));
|
|
5779
5981
|
};
|
|
5780
5982
|
var $cc7e05a45900e73f$var$TRIGGER_NAME = "SelectTrigger";
|
|
5781
|
-
var $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /* @__PURE__ */ (0,
|
|
5983
|
+
var $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
5782
5984
|
const _a = props, { __scopeSelect, disabled = false } = _a, triggerProps = __objRest(_a, ["__scopeSelect", "disabled"]);
|
|
5783
5985
|
const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);
|
|
5784
5986
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$TRIGGER_NAME, __scopeSelect);
|
|
@@ -5802,9 +6004,9 @@ var $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /* @__PURE__ */ (0, import_react2
|
|
|
5802
6004
|
resetTypeahead();
|
|
5803
6005
|
}
|
|
5804
6006
|
};
|
|
5805
|
-
return /* @__PURE__ */ (0,
|
|
6007
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
5806
6008
|
asChild: true
|
|
5807
|
-
}, popperScope), /* @__PURE__ */ (0,
|
|
6009
|
+
}, popperScope), /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
5808
6010
|
type: "button",
|
|
5809
6011
|
role: "combobox",
|
|
5810
6012
|
"aria-controls": context.contentId,
|
|
@@ -5849,7 +6051,7 @@ var $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /* @__PURE__ */ (0, import_react2
|
|
|
5849
6051
|
})));
|
|
5850
6052
|
});
|
|
5851
6053
|
var $cc7e05a45900e73f$var$VALUE_NAME = "SelectValue";
|
|
5852
|
-
var $cc7e05a45900e73f$export$e288731fd71264f0 = /* @__PURE__ */ (0,
|
|
6054
|
+
var $cc7e05a45900e73f$export$e288731fd71264f0 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
5853
6055
|
const _a = props, { __scopeSelect, className, style, children, placeholder } = _a, valueProps = __objRest(_a, ["__scopeSelect", "className", "style", "children", "placeholder"]);
|
|
5854
6056
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$VALUE_NAME, __scopeSelect);
|
|
5855
6057
|
const { onValueNodeHasChildrenChange } = context;
|
|
@@ -5861,48 +6063,48 @@ var $cc7e05a45900e73f$export$e288731fd71264f0 = /* @__PURE__ */ (0, import_react
|
|
|
5861
6063
|
onValueNodeHasChildrenChange,
|
|
5862
6064
|
hasChildren
|
|
5863
6065
|
]);
|
|
5864
|
-
return /* @__PURE__ */ (0,
|
|
6066
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, valueProps, {
|
|
5865
6067
|
ref: composedRefs,
|
|
5866
6068
|
style: {
|
|
5867
6069
|
pointerEvents: "none"
|
|
5868
6070
|
}
|
|
5869
6071
|
}), context.value === void 0 && placeholder !== void 0 ? placeholder : children);
|
|
5870
6072
|
});
|
|
5871
|
-
var $cc7e05a45900e73f$export$99b400cabb58c515 = /* @__PURE__ */ (0,
|
|
6073
|
+
var $cc7e05a45900e73f$export$99b400cabb58c515 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
5872
6074
|
const _a = props, { __scopeSelect, children } = _a, iconProps = __objRest(_a, ["__scopeSelect", "children"]);
|
|
5873
|
-
return /* @__PURE__ */ (0,
|
|
6075
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
5874
6076
|
"aria-hidden": true
|
|
5875
6077
|
}, iconProps, {
|
|
5876
6078
|
ref: forwardedRef
|
|
5877
6079
|
}), children || "\u25BC");
|
|
5878
6080
|
});
|
|
5879
6081
|
var $cc7e05a45900e73f$export$b2af6c9944296213 = (props) => {
|
|
5880
|
-
return /* @__PURE__ */ (0,
|
|
6082
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($f1701beae083dbae$export$602eac185826482c, _extends({
|
|
5881
6083
|
asChild: true
|
|
5882
6084
|
}, props));
|
|
5883
6085
|
};
|
|
5884
6086
|
var $cc7e05a45900e73f$var$CONTENT_NAME = "SelectContent";
|
|
5885
|
-
var $cc7e05a45900e73f$export$c973a4b3cb86a03d = /* @__PURE__ */ (0,
|
|
6087
|
+
var $cc7e05a45900e73f$export$c973a4b3cb86a03d = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
5886
6088
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, props.__scopeSelect);
|
|
5887
|
-
const [fragment, setFragment] = (0,
|
|
6089
|
+
const [fragment, setFragment] = (0, import_react26.useState)();
|
|
5888
6090
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
5889
6091
|
setFragment(new DocumentFragment());
|
|
5890
6092
|
}, []);
|
|
5891
6093
|
if (!context.open) {
|
|
5892
6094
|
const frag = fragment;
|
|
5893
|
-
return frag ? /* @__PURE__ */ (0, import_react_dom4.createPortal)(/* @__PURE__ */ (0,
|
|
6095
|
+
return frag ? /* @__PURE__ */ (0, import_react_dom4.createPortal)(/* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectContentProvider, {
|
|
5894
6096
|
scope: props.__scopeSelect
|
|
5895
|
-
}, /* @__PURE__ */ (0,
|
|
6097
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$Collection.Slot, {
|
|
5896
6098
|
scope: props.__scopeSelect
|
|
5897
|
-
}, /* @__PURE__ */ (0,
|
|
6099
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)("div", null, props.children))), frag) : null;
|
|
5898
6100
|
}
|
|
5899
|
-
return /* @__PURE__ */ (0,
|
|
6101
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectContentImpl, _extends({}, props, {
|
|
5900
6102
|
ref: forwardedRef
|
|
5901
6103
|
}));
|
|
5902
6104
|
});
|
|
5903
6105
|
var $cc7e05a45900e73f$var$CONTENT_MARGIN = 10;
|
|
5904
6106
|
var [$cc7e05a45900e73f$var$SelectContentProvider, $cc7e05a45900e73f$var$useSelectContentContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$CONTENT_NAME);
|
|
5905
|
-
var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0,
|
|
6107
|
+
var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
5906
6108
|
const _a = props, {
|
|
5907
6109
|
__scopeSelect,
|
|
5908
6110
|
position = "item-aligned",
|
|
@@ -5937,25 +6139,25 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
5937
6139
|
"avoidCollisions"
|
|
5938
6140
|
]);
|
|
5939
6141
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);
|
|
5940
|
-
const [content, setContent] = (0,
|
|
5941
|
-
const [viewport, setViewport] = (0,
|
|
6142
|
+
const [content, setContent] = (0, import_react26.useState)(null);
|
|
6143
|
+
const [viewport, setViewport] = (0, import_react26.useState)(null);
|
|
5942
6144
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
5943
6145
|
forwardedRef,
|
|
5944
6146
|
(node) => setContent(node)
|
|
5945
6147
|
);
|
|
5946
|
-
const [selectedItem, setSelectedItem] = (0,
|
|
5947
|
-
const [selectedItemText, setSelectedItemText] = (0,
|
|
6148
|
+
const [selectedItem, setSelectedItem] = (0, import_react26.useState)(null);
|
|
6149
|
+
const [selectedItemText, setSelectedItemText] = (0, import_react26.useState)(null);
|
|
5948
6150
|
const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);
|
|
5949
|
-
const [isPositioned, setIsPositioned] = (0,
|
|
5950
|
-
const firstValidItemFoundRef = (0,
|
|
5951
|
-
(0,
|
|
6151
|
+
const [isPositioned, setIsPositioned] = (0, import_react26.useState)(false);
|
|
6152
|
+
const firstValidItemFoundRef = (0, import_react26.useRef)(false);
|
|
6153
|
+
(0, import_react26.useEffect)(() => {
|
|
5952
6154
|
if (content)
|
|
5953
6155
|
return hideOthers(content);
|
|
5954
6156
|
}, [
|
|
5955
6157
|
content
|
|
5956
6158
|
]);
|
|
5957
6159
|
$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
|
|
5958
|
-
const focusFirst = (0,
|
|
6160
|
+
const focusFirst = (0, import_react26.useCallback)((candidates) => {
|
|
5959
6161
|
const [firstItem, ...restItems] = getItems().map(
|
|
5960
6162
|
(item) => item.ref.current
|
|
5961
6163
|
);
|
|
@@ -5979,7 +6181,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
5979
6181
|
getItems,
|
|
5980
6182
|
viewport
|
|
5981
6183
|
]);
|
|
5982
|
-
const focusSelectedItem = (0,
|
|
6184
|
+
const focusSelectedItem = (0, import_react26.useCallback)(
|
|
5983
6185
|
() => focusFirst([
|
|
5984
6186
|
selectedItem,
|
|
5985
6187
|
content
|
|
@@ -5990,7 +6192,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
5990
6192
|
content
|
|
5991
6193
|
]
|
|
5992
6194
|
);
|
|
5993
|
-
(0,
|
|
6195
|
+
(0, import_react26.useEffect)(() => {
|
|
5994
6196
|
if (isPositioned)
|
|
5995
6197
|
focusSelectedItem();
|
|
5996
6198
|
}, [
|
|
@@ -5998,7 +6200,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
5998
6200
|
focusSelectedItem
|
|
5999
6201
|
]);
|
|
6000
6202
|
const { onOpenChange, triggerPointerDownPosRef } = context;
|
|
6001
|
-
(0,
|
|
6203
|
+
(0, import_react26.useEffect)(() => {
|
|
6002
6204
|
if (content) {
|
|
6003
6205
|
let pointerMoveDelta = {
|
|
6004
6206
|
x: 0,
|
|
@@ -6038,7 +6240,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6038
6240
|
onOpenChange,
|
|
6039
6241
|
triggerPointerDownPosRef
|
|
6040
6242
|
]);
|
|
6041
|
-
(0,
|
|
6243
|
+
(0, import_react26.useEffect)(() => {
|
|
6042
6244
|
const close = () => onOpenChange(false);
|
|
6043
6245
|
window.addEventListener("blur", close);
|
|
6044
6246
|
window.addEventListener("resize", close);
|
|
@@ -6062,7 +6264,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6062
6264
|
() => nextItem.ref.current.focus()
|
|
6063
6265
|
);
|
|
6064
6266
|
});
|
|
6065
|
-
const itemRefCallback = (0,
|
|
6267
|
+
const itemRefCallback = (0, import_react26.useCallback)((node, value, disabled) => {
|
|
6066
6268
|
const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
|
|
6067
6269
|
const isSelectedItem = context.value !== void 0 && context.value === value;
|
|
6068
6270
|
if (isSelectedItem || isFirstValidItem) {
|
|
@@ -6073,13 +6275,13 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6073
6275
|
}, [
|
|
6074
6276
|
context.value
|
|
6075
6277
|
]);
|
|
6076
|
-
const handleItemLeave = (0,
|
|
6278
|
+
const handleItemLeave = (0, import_react26.useCallback)(
|
|
6077
6279
|
() => content === null || content === void 0 ? void 0 : content.focus(),
|
|
6078
6280
|
[
|
|
6079
6281
|
content
|
|
6080
6282
|
]
|
|
6081
6283
|
);
|
|
6082
|
-
const itemTextRefCallback = (0,
|
|
6284
|
+
const itemTextRefCallback = (0, import_react26.useCallback)((node, value, disabled) => {
|
|
6083
6285
|
const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
|
|
6084
6286
|
const isSelectedItem = context.value !== void 0 && context.value === value;
|
|
6085
6287
|
if (isSelectedItem || isFirstValidItem)
|
|
@@ -6100,7 +6302,7 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6100
6302
|
hideWhenDetached,
|
|
6101
6303
|
avoidCollisions
|
|
6102
6304
|
} : {};
|
|
6103
|
-
return /* @__PURE__ */ (0,
|
|
6305
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectContentProvider, {
|
|
6104
6306
|
scope: __scopeSelect,
|
|
6105
6307
|
content,
|
|
6106
6308
|
viewport,
|
|
@@ -6114,10 +6316,10 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6114
6316
|
position,
|
|
6115
6317
|
isPositioned,
|
|
6116
6318
|
searchRef
|
|
6117
|
-
}, /* @__PURE__ */ (0,
|
|
6319
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)(Combination_default, {
|
|
6118
6320
|
as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
6119
6321
|
allowPinchZoom: true
|
|
6120
|
-
}, /* @__PURE__ */ (0,
|
|
6322
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($d3863c46a17e8a28$export$20e40289641fbbb6, {
|
|
6121
6323
|
asChild: true,
|
|
6122
6324
|
trapped: context.open,
|
|
6123
6325
|
onMountAutoFocus: (event) => {
|
|
@@ -6130,14 +6332,14 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6130
6332
|
});
|
|
6131
6333
|
event.preventDefault();
|
|
6132
6334
|
})
|
|
6133
|
-
}, /* @__PURE__ */ (0,
|
|
6335
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($5cb92bef7577960e$export$177fb62ff3ec1f22, {
|
|
6134
6336
|
asChild: true,
|
|
6135
6337
|
disableOutsidePointerEvents: true,
|
|
6136
6338
|
onEscapeKeyDown,
|
|
6137
6339
|
onPointerDownOutside,
|
|
6138
6340
|
onFocusOutside: (event) => event.preventDefault(),
|
|
6139
6341
|
onDismiss: () => context.onOpenChange(false)
|
|
6140
|
-
}, /* @__PURE__ */ (0,
|
|
6342
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)(SelectPosition, _extends({
|
|
6141
6343
|
role: "listbox",
|
|
6142
6344
|
id: context.contentId,
|
|
6143
6345
|
"data-state": context.open ? "open" : "closed",
|
|
@@ -6192,21 +6394,21 @@ var $cc7e05a45900e73f$var$SelectContentImpl = /* @__PURE__ */ (0, import_react25
|
|
|
6192
6394
|
})
|
|
6193
6395
|
}))))));
|
|
6194
6396
|
});
|
|
6195
|
-
var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0,
|
|
6397
|
+
var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6196
6398
|
const _a = props, { __scopeSelect, onPlaced } = _a, popperProps = __objRest(_a, ["__scopeSelect", "onPlaced"]);
|
|
6197
6399
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);
|
|
6198
6400
|
const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);
|
|
6199
|
-
const [contentWrapper, setContentWrapper] = (0,
|
|
6200
|
-
const [content, setContent] = (0,
|
|
6401
|
+
const [contentWrapper, setContentWrapper] = (0, import_react26.useState)(null);
|
|
6402
|
+
const [content, setContent] = (0, import_react26.useState)(null);
|
|
6201
6403
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
6202
6404
|
forwardedRef,
|
|
6203
6405
|
(node) => setContent(node)
|
|
6204
6406
|
);
|
|
6205
6407
|
const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);
|
|
6206
|
-
const shouldExpandOnScrollRef = (0,
|
|
6207
|
-
const shouldRepositionRef = (0,
|
|
6408
|
+
const shouldExpandOnScrollRef = (0, import_react26.useRef)(false);
|
|
6409
|
+
const shouldRepositionRef = (0, import_react26.useRef)(true);
|
|
6208
6410
|
const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
|
|
6209
|
-
const position = (0,
|
|
6411
|
+
const position = (0, import_react26.useCallback)(() => {
|
|
6210
6412
|
if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
|
|
6211
6413
|
const triggerRect = context.trigger.getBoundingClientRect();
|
|
6212
6414
|
const contentRect = content.getBoundingClientRect();
|
|
@@ -6300,14 +6502,14 @@ var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0, import
|
|
|
6300
6502
|
position
|
|
6301
6503
|
]
|
|
6302
6504
|
);
|
|
6303
|
-
const [contentZIndex, setContentZIndex] = (0,
|
|
6505
|
+
const [contentZIndex, setContentZIndex] = (0, import_react26.useState)();
|
|
6304
6506
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
6305
6507
|
if (content)
|
|
6306
6508
|
setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
6307
6509
|
}, [
|
|
6308
6510
|
content
|
|
6309
6511
|
]);
|
|
6310
|
-
const handleScrollButtonChange = (0,
|
|
6512
|
+
const handleScrollButtonChange = (0, import_react26.useCallback)((node) => {
|
|
6311
6513
|
if (node && shouldRepositionRef.current === true) {
|
|
6312
6514
|
position();
|
|
6313
6515
|
focusSelectedItem === null || focusSelectedItem === void 0 || focusSelectedItem();
|
|
@@ -6317,12 +6519,12 @@ var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0, import
|
|
|
6317
6519
|
position,
|
|
6318
6520
|
focusSelectedItem
|
|
6319
6521
|
]);
|
|
6320
|
-
return /* @__PURE__ */ (0,
|
|
6522
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectViewportProvider, {
|
|
6321
6523
|
scope: __scopeSelect,
|
|
6322
6524
|
contentWrapper,
|
|
6323
6525
|
shouldExpandOnScrollRef,
|
|
6324
6526
|
onScrollButtonChange: handleScrollButtonChange
|
|
6325
|
-
}, /* @__PURE__ */ (0,
|
|
6527
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)("div", {
|
|
6326
6528
|
ref: setContentWrapper,
|
|
6327
6529
|
style: {
|
|
6328
6530
|
display: "flex",
|
|
@@ -6330,7 +6532,7 @@ var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0, import
|
|
|
6330
6532
|
position: "fixed",
|
|
6331
6533
|
zIndex: contentZIndex
|
|
6332
6534
|
}
|
|
6333
|
-
}, /* @__PURE__ */ (0,
|
|
6535
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, popperProps, {
|
|
6334
6536
|
ref: composedRefs,
|
|
6335
6537
|
style: __spreadValues({
|
|
6336
6538
|
// When we get the height of the content, it includes borders. If we were to set
|
|
@@ -6341,10 +6543,10 @@ var $cc7e05a45900e73f$var$SelectItemAlignedPosition = /* @__PURE__ */ (0, import
|
|
|
6341
6543
|
}, popperProps.style)
|
|
6342
6544
|
}))));
|
|
6343
6545
|
});
|
|
6344
|
-
var $cc7e05a45900e73f$var$SelectPopperPosition = /* @__PURE__ */ (0,
|
|
6546
|
+
var $cc7e05a45900e73f$var$SelectPopperPosition = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6345
6547
|
const _a = props, { __scopeSelect, align = "start", collisionPadding = $cc7e05a45900e73f$var$CONTENT_MARGIN } = _a, popperProps = __objRest(_a, ["__scopeSelect", "align", "collisionPadding"]);
|
|
6346
6548
|
const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);
|
|
6347
|
-
return /* @__PURE__ */ (0,
|
|
6549
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({}, popperScope, popperProps, {
|
|
6348
6550
|
ref: forwardedRef,
|
|
6349
6551
|
align,
|
|
6350
6552
|
collisionPadding,
|
|
@@ -6362,19 +6564,19 @@ var $cc7e05a45900e73f$var$SelectPopperPosition = /* @__PURE__ */ (0, import_reac
|
|
|
6362
6564
|
});
|
|
6363
6565
|
var [$cc7e05a45900e73f$var$SelectViewportProvider, $cc7e05a45900e73f$var$useSelectViewportContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, {});
|
|
6364
6566
|
var $cc7e05a45900e73f$var$VIEWPORT_NAME = "SelectViewport";
|
|
6365
|
-
var $cc7e05a45900e73f$export$9ed6e7b40248d36d = /* @__PURE__ */ (0,
|
|
6567
|
+
var $cc7e05a45900e73f$export$9ed6e7b40248d36d = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6366
6568
|
const _a = props, { __scopeSelect } = _a, viewportProps = __objRest(_a, ["__scopeSelect"]);
|
|
6367
6569
|
const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$VIEWPORT_NAME, __scopeSelect);
|
|
6368
6570
|
const viewportContext = $cc7e05a45900e73f$var$useSelectViewportContext($cc7e05a45900e73f$var$VIEWPORT_NAME, __scopeSelect);
|
|
6369
6571
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentContext.onViewportChange);
|
|
6370
|
-
const prevScrollTopRef = (0,
|
|
6371
|
-
return /* @__PURE__ */ (0,
|
|
6572
|
+
const prevScrollTopRef = (0, import_react26.useRef)(0);
|
|
6573
|
+
return /* @__PURE__ */ (0, import_react26.createElement)(import_react26.Fragment, null, /* @__PURE__ */ (0, import_react26.createElement)("style", {
|
|
6372
6574
|
dangerouslySetInnerHTML: {
|
|
6373
6575
|
__html: `[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`
|
|
6374
6576
|
}
|
|
6375
|
-
}), /* @__PURE__ */ (0,
|
|
6577
|
+
}), /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$Collection.Slot, {
|
|
6376
6578
|
scope: __scopeSelect
|
|
6377
|
-
}, /* @__PURE__ */ (0,
|
|
6579
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
6378
6580
|
"data-radix-select-viewport": "",
|
|
6379
6581
|
role: "presentation"
|
|
6380
6582
|
}, viewportProps, {
|
|
@@ -6415,13 +6617,13 @@ var $cc7e05a45900e73f$export$9ed6e7b40248d36d = /* @__PURE__ */ (0, import_react
|
|
|
6415
6617
|
});
|
|
6416
6618
|
var $cc7e05a45900e73f$var$GROUP_NAME = "SelectGroup";
|
|
6417
6619
|
var [$cc7e05a45900e73f$var$SelectGroupContextProvider, $cc7e05a45900e73f$var$useSelectGroupContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$GROUP_NAME);
|
|
6418
|
-
var $cc7e05a45900e73f$export$ee25a334c55de1f4 = /* @__PURE__ */ (0,
|
|
6620
|
+
var $cc7e05a45900e73f$export$ee25a334c55de1f4 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6419
6621
|
const _a = props, { __scopeSelect } = _a, groupProps = __objRest(_a, ["__scopeSelect"]);
|
|
6420
6622
|
const groupId = $1746a345f3d73bb7$export$f680877a34711e37();
|
|
6421
|
-
return /* @__PURE__ */ (0,
|
|
6623
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectGroupContextProvider, {
|
|
6422
6624
|
scope: __scopeSelect,
|
|
6423
6625
|
id: groupId
|
|
6424
|
-
}, /* @__PURE__ */ (0,
|
|
6626
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
6425
6627
|
role: "group",
|
|
6426
6628
|
"aria-labelledby": groupId
|
|
6427
6629
|
}, groupProps, {
|
|
@@ -6429,10 +6631,10 @@ var $cc7e05a45900e73f$export$ee25a334c55de1f4 = /* @__PURE__ */ (0, import_react
|
|
|
6429
6631
|
})));
|
|
6430
6632
|
});
|
|
6431
6633
|
var $cc7e05a45900e73f$var$LABEL_NAME = "SelectLabel";
|
|
6432
|
-
var $cc7e05a45900e73f$export$f67338d29bd972f8 = /* @__PURE__ */ (0,
|
|
6634
|
+
var $cc7e05a45900e73f$export$f67338d29bd972f8 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6433
6635
|
const _a = props, { __scopeSelect } = _a, labelProps = __objRest(_a, ["__scopeSelect"]);
|
|
6434
6636
|
const groupContext = $cc7e05a45900e73f$var$useSelectGroupContext($cc7e05a45900e73f$var$LABEL_NAME, __scopeSelect);
|
|
6435
|
-
return /* @__PURE__ */ (0,
|
|
6637
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
6436
6638
|
id: groupContext.id
|
|
6437
6639
|
}, labelProps, {
|
|
6438
6640
|
ref: forwardedRef
|
|
@@ -6440,13 +6642,13 @@ var $cc7e05a45900e73f$export$f67338d29bd972f8 = /* @__PURE__ */ (0, import_react
|
|
|
6440
6642
|
});
|
|
6441
6643
|
var $cc7e05a45900e73f$var$ITEM_NAME = "SelectItem";
|
|
6442
6644
|
var [$cc7e05a45900e73f$var$SelectItemContextProvider, $cc7e05a45900e73f$var$useSelectItemContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$ITEM_NAME);
|
|
6443
|
-
var $cc7e05a45900e73f$export$13ef48a934230896 = /* @__PURE__ */ (0,
|
|
6645
|
+
var $cc7e05a45900e73f$export$13ef48a934230896 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6444
6646
|
const _a = props, { __scopeSelect, value, disabled = false, textValue: textValueProp } = _a, itemProps = __objRest(_a, ["__scopeSelect", "value", "disabled", "textValue"]);
|
|
6445
6647
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);
|
|
6446
6648
|
const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);
|
|
6447
6649
|
const isSelected = context.value === value;
|
|
6448
|
-
const [textValue, setTextValue] = (0,
|
|
6449
|
-
const [isFocused, setIsFocused] = (0,
|
|
6650
|
+
const [textValue, setTextValue] = (0, import_react26.useState)(textValueProp !== null && textValueProp !== void 0 ? textValueProp : "");
|
|
6651
|
+
const [isFocused, setIsFocused] = (0, import_react26.useState)(false);
|
|
6450
6652
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node) => {
|
|
6451
6653
|
var _contentContext$itemR;
|
|
6452
6654
|
return (_contentContext$itemR = contentContext.itemRefCallback) === null || _contentContext$itemR === void 0 ? void 0 : _contentContext$itemR.call(contentContext, node, value, disabled);
|
|
@@ -6458,24 +6660,24 @@ var $cc7e05a45900e73f$export$13ef48a934230896 = /* @__PURE__ */ (0, import_react
|
|
|
6458
6660
|
context.onOpenChange(false);
|
|
6459
6661
|
}
|
|
6460
6662
|
};
|
|
6461
|
-
return /* @__PURE__ */ (0,
|
|
6663
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$SelectItemContextProvider, {
|
|
6462
6664
|
scope: __scopeSelect,
|
|
6463
6665
|
value,
|
|
6464
6666
|
disabled,
|
|
6465
6667
|
textId,
|
|
6466
6668
|
isSelected,
|
|
6467
|
-
onItemTextChange: (0,
|
|
6669
|
+
onItemTextChange: (0, import_react26.useCallback)((node) => {
|
|
6468
6670
|
setTextValue((prevTextValue) => {
|
|
6469
6671
|
var _node$textContent;
|
|
6470
6672
|
return prevTextValue || ((_node$textContent = node === null || node === void 0 ? void 0 : node.textContent) !== null && _node$textContent !== void 0 ? _node$textContent : "").trim();
|
|
6471
6673
|
});
|
|
6472
6674
|
}, [])
|
|
6473
|
-
}, /* @__PURE__ */ (0,
|
|
6675
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($cc7e05a45900e73f$var$Collection.ItemSlot, {
|
|
6474
6676
|
scope: __scopeSelect,
|
|
6475
6677
|
value,
|
|
6476
6678
|
disabled,
|
|
6477
6679
|
textValue
|
|
6478
|
-
}, /* @__PURE__ */ (0,
|
|
6680
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
6479
6681
|
role: "option",
|
|
6480
6682
|
"aria-labelledby": textId,
|
|
6481
6683
|
"data-highlighted": isFocused ? "" : void 0,
|
|
@@ -6523,13 +6725,13 @@ var $cc7e05a45900e73f$export$13ef48a934230896 = /* @__PURE__ */ (0, import_react
|
|
|
6523
6725
|
}))));
|
|
6524
6726
|
});
|
|
6525
6727
|
var $cc7e05a45900e73f$var$ITEM_TEXT_NAME = "SelectItemText";
|
|
6526
|
-
var $cc7e05a45900e73f$export$3572fb0fb821ff49 = /* @__PURE__ */ (0,
|
|
6728
|
+
var $cc7e05a45900e73f$export$3572fb0fb821ff49 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6527
6729
|
const _a = props, { __scopeSelect, className, style } = _a, itemTextProps = __objRest(_a, ["__scopeSelect", "className", "style"]);
|
|
6528
6730
|
const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
|
|
6529
6731
|
const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
|
|
6530
6732
|
const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
|
|
6531
6733
|
const nativeOptionsContext = $cc7e05a45900e73f$var$useSelectNativeOptionsContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
|
|
6532
|
-
const [itemTextNode, setItemTextNode] = (0,
|
|
6734
|
+
const [itemTextNode, setItemTextNode] = (0, import_react26.useState)(null);
|
|
6533
6735
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
6534
6736
|
forwardedRef,
|
|
6535
6737
|
(node) => setItemTextNode(node),
|
|
@@ -6540,8 +6742,8 @@ var $cc7e05a45900e73f$export$3572fb0fb821ff49 = /* @__PURE__ */ (0, import_react
|
|
|
6540
6742
|
}
|
|
6541
6743
|
);
|
|
6542
6744
|
const textContent = itemTextNode === null || itemTextNode === void 0 ? void 0 : itemTextNode.textContent;
|
|
6543
|
-
const nativeOption = (0,
|
|
6544
|
-
() => /* @__PURE__ */ (0,
|
|
6745
|
+
const nativeOption = (0, import_react26.useMemo)(
|
|
6746
|
+
() => /* @__PURE__ */ (0, import_react26.createElement)("option", {
|
|
6545
6747
|
key: itemContext.value,
|
|
6546
6748
|
value: itemContext.value,
|
|
6547
6749
|
disabled: itemContext.disabled
|
|
@@ -6561,26 +6763,26 @@ var $cc7e05a45900e73f$export$3572fb0fb821ff49 = /* @__PURE__ */ (0, import_react
|
|
|
6561
6763
|
onNativeOptionRemove,
|
|
6562
6764
|
nativeOption
|
|
6563
6765
|
]);
|
|
6564
|
-
return /* @__PURE__ */ (0,
|
|
6766
|
+
return /* @__PURE__ */ (0, import_react26.createElement)(import_react26.Fragment, null, /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
6565
6767
|
id: itemContext.textId
|
|
6566
6768
|
}, itemTextProps, {
|
|
6567
6769
|
ref: composedRefs
|
|
6568
6770
|
})), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? /* @__PURE__ */ (0, import_react_dom4.createPortal)(itemTextProps.children, context.valueNode) : null);
|
|
6569
6771
|
});
|
|
6570
|
-
var $cc7e05a45900e73f$export$eba4b1df07cb1d3 = /* @__PURE__ */ (0,
|
|
6772
|
+
var $cc7e05a45900e73f$export$eba4b1df07cb1d3 = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6571
6773
|
const _a = props, { __scopeSelect } = _a, separatorProps = __objRest(_a, ["__scopeSelect"]);
|
|
6572
|
-
return /* @__PURE__ */ (0,
|
|
6774
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
6573
6775
|
"aria-hidden": true
|
|
6574
6776
|
}, separatorProps, {
|
|
6575
6777
|
ref: forwardedRef
|
|
6576
6778
|
}));
|
|
6577
6779
|
});
|
|
6578
|
-
var $cc7e05a45900e73f$var$BubbleSelect = /* @__PURE__ */ (0,
|
|
6780
|
+
var $cc7e05a45900e73f$var$BubbleSelect = /* @__PURE__ */ (0, import_react26.forwardRef)((props, forwardedRef) => {
|
|
6579
6781
|
const _a = props, { value } = _a, selectProps = __objRest(_a, ["value"]);
|
|
6580
|
-
const ref = (0,
|
|
6782
|
+
const ref = (0, import_react26.useRef)(null);
|
|
6581
6783
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
6582
6784
|
const prevValue = $010c2913dbd2fe3d$export$5cae361ad82dce8b(value);
|
|
6583
|
-
(0,
|
|
6785
|
+
(0, import_react26.useEffect)(() => {
|
|
6584
6786
|
const select = ref.current;
|
|
6585
6787
|
const selectProto = window.HTMLSelectElement.prototype;
|
|
6586
6788
|
const descriptor = Object.getOwnPropertyDescriptor(selectProto, "value");
|
|
@@ -6596,9 +6798,9 @@ var $cc7e05a45900e73f$var$BubbleSelect = /* @__PURE__ */ (0, import_react25.forw
|
|
|
6596
6798
|
prevValue,
|
|
6597
6799
|
value
|
|
6598
6800
|
]);
|
|
6599
|
-
return /* @__PURE__ */ (0,
|
|
6801
|
+
return /* @__PURE__ */ (0, import_react26.createElement)($ea1ef594cf570d83$export$439d29a4e110a164, {
|
|
6600
6802
|
asChild: true
|
|
6601
|
-
}, /* @__PURE__ */ (0,
|
|
6803
|
+
}, /* @__PURE__ */ (0, import_react26.createElement)("select", _extends({}, selectProps, {
|
|
6602
6804
|
ref: composedRefs,
|
|
6603
6805
|
defaultValue: value
|
|
6604
6806
|
})));
|
|
@@ -6606,9 +6808,9 @@ var $cc7e05a45900e73f$var$BubbleSelect = /* @__PURE__ */ (0, import_react25.forw
|
|
|
6606
6808
|
$cc7e05a45900e73f$var$BubbleSelect.displayName = "BubbleSelect";
|
|
6607
6809
|
function $cc7e05a45900e73f$var$useTypeaheadSearch(onSearchChange) {
|
|
6608
6810
|
const handleSearchChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onSearchChange);
|
|
6609
|
-
const searchRef = (0,
|
|
6610
|
-
const timerRef = (0,
|
|
6611
|
-
const handleTypeaheadSearch = (0,
|
|
6811
|
+
const searchRef = (0, import_react26.useRef)("");
|
|
6812
|
+
const timerRef = (0, import_react26.useRef)(0);
|
|
6813
|
+
const handleTypeaheadSearch = (0, import_react26.useCallback)((key) => {
|
|
6612
6814
|
const search = searchRef.current + key;
|
|
6613
6815
|
handleSearchChange(search);
|
|
6614
6816
|
(function updateSearch(value) {
|
|
@@ -6623,11 +6825,11 @@ function $cc7e05a45900e73f$var$useTypeaheadSearch(onSearchChange) {
|
|
|
6623
6825
|
}, [
|
|
6624
6826
|
handleSearchChange
|
|
6625
6827
|
]);
|
|
6626
|
-
const resetTypeahead = (0,
|
|
6828
|
+
const resetTypeahead = (0, import_react26.useCallback)(() => {
|
|
6627
6829
|
searchRef.current = "";
|
|
6628
6830
|
window.clearTimeout(timerRef.current);
|
|
6629
6831
|
}, []);
|
|
6630
|
-
(0,
|
|
6832
|
+
(0, import_react26.useEffect)(() => {
|
|
6631
6833
|
return () => window.clearTimeout(timerRef.current);
|
|
6632
6834
|
}, []);
|
|
6633
6835
|
return [
|
|
@@ -6672,14 +6874,14 @@ var $cc7e05a45900e73f$export$d6e5bf9c43ea9319 = $cc7e05a45900e73f$export$3572fb0
|
|
|
6672
6874
|
var $cc7e05a45900e73f$export$1ff3c3f08ae963c0 = $cc7e05a45900e73f$export$eba4b1df07cb1d3;
|
|
6673
6875
|
|
|
6674
6876
|
// src/components/Select/index.tsx
|
|
6675
|
-
var
|
|
6877
|
+
var import_class_variance_authority13 = require("class-variance-authority");
|
|
6676
6878
|
var ScrollArea = __toESM(require("@radix-ui/react-scroll-area"));
|
|
6677
|
-
var
|
|
6879
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
6678
6880
|
var Select = $cc7e05a45900e73f$export$be92b6f5f03c0fe9;
|
|
6679
6881
|
var SelectGroup = $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4;
|
|
6680
6882
|
var SelectValue = $cc7e05a45900e73f$export$4c8d1a57a761ef94;
|
|
6681
6883
|
var SelectPortal = $cc7e05a45900e73f$export$602eac185826482c;
|
|
6682
|
-
var triggerVariants = (0,
|
|
6884
|
+
var triggerVariants = (0, import_class_variance_authority13.cva)(
|
|
6683
6885
|
[
|
|
6684
6886
|
[
|
|
6685
6887
|
"flex",
|
|
@@ -6735,9 +6937,9 @@ var triggerVariants = (0, import_class_variance_authority12.cva)(
|
|
|
6735
6937
|
}
|
|
6736
6938
|
}
|
|
6737
6939
|
);
|
|
6738
|
-
var SelectTrigger =
|
|
6940
|
+
var SelectTrigger = React22.forwardRef((_a, ref) => {
|
|
6739
6941
|
var _b = _a, { variant, className, children } = _b, props = __objRest(_b, ["variant", "className", "children"]);
|
|
6740
|
-
return /* @__PURE__ */ (0,
|
|
6942
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
6741
6943
|
$cc7e05a45900e73f$export$41fb9f06171c75f4,
|
|
6742
6944
|
__spreadProps(__spreadValues({
|
|
6743
6945
|
ref,
|
|
@@ -6745,13 +6947,13 @@ var SelectTrigger = React21.forwardRef((_a, ref) => {
|
|
|
6745
6947
|
}, props), {
|
|
6746
6948
|
children: [
|
|
6747
6949
|
children,
|
|
6748
|
-
/* @__PURE__ */ (0,
|
|
6950
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$f04a61298a47a40f, { asChild: true, className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(AngleDownIcon, { className: "h-2 w-2" }) })
|
|
6749
6951
|
]
|
|
6750
6952
|
})
|
|
6751
6953
|
);
|
|
6752
6954
|
});
|
|
6753
6955
|
SelectTrigger.displayName = $cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;
|
|
6754
|
-
var contentVariants = (0,
|
|
6956
|
+
var contentVariants = (0, import_class_variance_authority13.cva)([
|
|
6755
6957
|
"relative",
|
|
6756
6958
|
"z-50",
|
|
6757
6959
|
"min-w-[8rem]",
|
|
@@ -6769,9 +6971,9 @@ var contentVariants = (0, import_class_variance_authority12.cva)([
|
|
|
6769
6971
|
"dark:border-border-subtle-dark",
|
|
6770
6972
|
"dark:text-foreground-dark"
|
|
6771
6973
|
]);
|
|
6772
|
-
var SelectContent =
|
|
6974
|
+
var SelectContent = React22.forwardRef((_a, ref) => {
|
|
6773
6975
|
var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
|
|
6774
|
-
return /* @__PURE__ */ (0,
|
|
6976
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$602eac185826482c, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6775
6977
|
$cc7e05a45900e73f$export$7c6e2c02157bb7d2,
|
|
6776
6978
|
__spreadProps(__spreadValues({
|
|
6777
6979
|
ref,
|
|
@@ -6782,8 +6984,8 @@ var SelectContent = React21.forwardRef((_a, ref) => {
|
|
|
6782
6984
|
),
|
|
6783
6985
|
position
|
|
6784
6986
|
}, props), {
|
|
6785
|
-
children: /* @__PURE__ */ (0,
|
|
6786
|
-
/* @__PURE__ */ (0,
|
|
6987
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ScrollArea.Root, { className: "w-full h-full", type: "auto", children: [
|
|
6988
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6787
6989
|
$cc7e05a45900e73f$export$d5c6c08dc2d3ca7,
|
|
6788
6990
|
{
|
|
6789
6991
|
asChild: true,
|
|
@@ -6791,18 +6993,18 @@ var SelectContent = React21.forwardRef((_a, ref) => {
|
|
|
6791
6993
|
"p-1",
|
|
6792
6994
|
position === "popper" && "max-h-[var(--radix-select-content-available-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
6793
6995
|
),
|
|
6794
|
-
children: /* @__PURE__ */ (0,
|
|
6996
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Viewport, { className: "w-full h-full", children })
|
|
6795
6997
|
}
|
|
6796
6998
|
),
|
|
6797
|
-
/* @__PURE__ */ (0,
|
|
6999
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Scrollbar, { orientation: "vertical", className: "w-3 pr-1 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Thumb, { className: "bg-grey-200 w-2 rounded-lg" }) })
|
|
6798
7000
|
] })
|
|
6799
7001
|
})
|
|
6800
7002
|
) });
|
|
6801
7003
|
});
|
|
6802
7004
|
SelectContent.displayName = $cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;
|
|
6803
|
-
var SelectLabel =
|
|
7005
|
+
var SelectLabel = React22.forwardRef((_a, ref) => {
|
|
6804
7006
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6805
|
-
return /* @__PURE__ */ (0,
|
|
7007
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6806
7008
|
$cc7e05a45900e73f$export$b04be29aa201d4f5,
|
|
6807
7009
|
__spreadValues({
|
|
6808
7010
|
ref,
|
|
@@ -6811,7 +7013,7 @@ var SelectLabel = React21.forwardRef((_a, ref) => {
|
|
|
6811
7013
|
);
|
|
6812
7014
|
});
|
|
6813
7015
|
SelectLabel.displayName = $cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;
|
|
6814
|
-
var itemVariants = (0,
|
|
7016
|
+
var itemVariants = (0, import_class_variance_authority13.cva)([
|
|
6815
7017
|
[
|
|
6816
7018
|
"relative",
|
|
6817
7019
|
"flex",
|
|
@@ -6830,22 +7032,22 @@ var itemVariants = (0, import_class_variance_authority12.cva)([
|
|
|
6830
7032
|
],
|
|
6831
7033
|
["dark:focus-visible:shadow-blue", "dark:hover:bg-background-alt-dark"]
|
|
6832
7034
|
]);
|
|
6833
|
-
var SelectItem =
|
|
7035
|
+
var SelectItem = React22.forwardRef((_a, ref) => {
|
|
6834
7036
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
6835
|
-
return /* @__PURE__ */ (0,
|
|
7037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6836
7038
|
$cc7e05a45900e73f$export$6d08773d2e66f8f2,
|
|
6837
7039
|
__spreadProps(__spreadValues({
|
|
6838
7040
|
ref,
|
|
6839
7041
|
className: cn(itemVariants(), className)
|
|
6840
7042
|
}, props), {
|
|
6841
|
-
children: /* @__PURE__ */ (0,
|
|
7043
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$d6e5bf9c43ea9319, { children })
|
|
6842
7044
|
})
|
|
6843
7045
|
);
|
|
6844
7046
|
});
|
|
6845
7047
|
SelectItem.displayName = $cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;
|
|
6846
|
-
var SelectSeparator =
|
|
7048
|
+
var SelectSeparator = React22.forwardRef((_a, ref) => {
|
|
6847
7049
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6848
|
-
return /* @__PURE__ */ (0,
|
|
7050
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6849
7051
|
$cc7e05a45900e73f$export$1ff3c3f08ae963c0,
|
|
6850
7052
|
__spreadValues({
|
|
6851
7053
|
ref,
|
|
@@ -6859,13 +7061,13 @@ var SelectSeparator = React21.forwardRef((_a, ref) => {
|
|
|
6859
7061
|
SelectSeparator.displayName = $cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;
|
|
6860
7062
|
|
|
6861
7063
|
// src/components/Popover/index.tsx
|
|
6862
|
-
var
|
|
7064
|
+
var React23 = __toESM(require("react"));
|
|
6863
7065
|
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
|
6864
|
-
var
|
|
7066
|
+
var import_class_variance_authority14 = require("class-variance-authority");
|
|
6865
7067
|
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
6866
7068
|
var ScrollArea2 = __toESM(require("@radix-ui/react-scroll-area"));
|
|
6867
|
-
var
|
|
6868
|
-
var popoverVariants = (0,
|
|
7069
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
7070
|
+
var popoverVariants = (0, import_class_variance_authority14.cva)([
|
|
6869
7071
|
"z-50",
|
|
6870
7072
|
"border border-2 border-border-subtle dark:border-border-dark",
|
|
6871
7073
|
"rounded-lg",
|
|
@@ -6877,10 +7079,11 @@ var popoverVariants = (0, import_class_variance_authority13.cva)([
|
|
|
6877
7079
|
]);
|
|
6878
7080
|
var Popover = PopoverPrimitive.Root;
|
|
6879
7081
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
6880
|
-
var
|
|
7082
|
+
var PopoverClose = PopoverPrimitive.Close;
|
|
7083
|
+
var PopoverContent = React23.forwardRef(
|
|
6881
7084
|
(_a, ref) => {
|
|
6882
7085
|
var _b = _a, { className, align = "center", sideOffset = 4, children } = _b, props = __objRest(_b, ["className", "align", "sideOffset", "children"]);
|
|
6883
|
-
return /* @__PURE__ */ (0,
|
|
7086
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
6884
7087
|
PopoverPrimitive.Content,
|
|
6885
7088
|
__spreadProps(__spreadValues({
|
|
6886
7089
|
ref,
|
|
@@ -6888,14 +7091,14 @@ var PopoverContent = React22.forwardRef(
|
|
|
6888
7091
|
sideOffset,
|
|
6889
7092
|
className: cn(popoverVariants(), className)
|
|
6890
7093
|
}, props), {
|
|
6891
|
-
children: /* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
6893
|
-
/* @__PURE__ */ (0,
|
|
7094
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(ScrollArea2.Root, { className: "w-full h-full", type: "auto", children: [
|
|
7095
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ScrollArea2.Viewport, { className: "w-full h-full", children }),
|
|
7096
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
6894
7097
|
ScrollArea2.Scrollbar,
|
|
6895
7098
|
{
|
|
6896
7099
|
orientation: "vertical",
|
|
6897
7100
|
className: "w-3 pr-1 py-2",
|
|
6898
|
-
children: /* @__PURE__ */ (0,
|
|
7101
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ScrollArea2.Thumb, { className: "bg-grey-200 w-2 rounded-lg" })
|
|
6899
7102
|
}
|
|
6900
7103
|
)
|
|
6901
7104
|
] })
|
|
@@ -6904,9 +7107,9 @@ var PopoverContent = React22.forwardRef(
|
|
|
6904
7107
|
}
|
|
6905
7108
|
);
|
|
6906
7109
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
6907
|
-
var PopoverSeparator =
|
|
7110
|
+
var PopoverSeparator = React23.forwardRef((_a, ref) => {
|
|
6908
7111
|
var _b = _a, { className, orientation = "horizontal" } = _b, props = __objRest(_b, ["className", "orientation"]);
|
|
6909
|
-
return /* @__PURE__ */ (0,
|
|
7112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
6910
7113
|
SeparatorPrimitive.Root,
|
|
6911
7114
|
__spreadValues({
|
|
6912
7115
|
ref,
|
|
@@ -6924,9 +7127,9 @@ PopoverSeparator.displayName = SeparatorPrimitive.Root.displayName;
|
|
|
6924
7127
|
|
|
6925
7128
|
// src/components/Calendar/index.tsx
|
|
6926
7129
|
var import_react_day_picker = require("react-day-picker");
|
|
6927
|
-
var
|
|
6928
|
-
var
|
|
6929
|
-
var calendarVariants = (0,
|
|
7130
|
+
var import_class_variance_authority15 = require("class-variance-authority");
|
|
7131
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
7132
|
+
var calendarVariants = (0, import_class_variance_authority15.cva)([], {
|
|
6930
7133
|
variants: {
|
|
6931
7134
|
component: {
|
|
6932
7135
|
months: ["flex", "flex-col", "gap-2"],
|
|
@@ -7001,7 +7204,7 @@ function Calendar(_a) {
|
|
|
7001
7204
|
"classNames",
|
|
7002
7205
|
"showOutsideDays"
|
|
7003
7206
|
]);
|
|
7004
|
-
return /* @__PURE__ */ (0,
|
|
7207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
7005
7208
|
import_react_day_picker.DayPicker,
|
|
7006
7209
|
__spreadValues({
|
|
7007
7210
|
showOutsideDays,
|
|
@@ -7033,15 +7236,93 @@ function Calendar(_a) {
|
|
|
7033
7236
|
day_hidden: "invisible"
|
|
7034
7237
|
}, classNames),
|
|
7035
7238
|
components: {
|
|
7036
|
-
IconLeft: () => /* @__PURE__ */ (0,
|
|
7037
|
-
IconRight: () => /* @__PURE__ */ (0,
|
|
7239
|
+
IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(arrow_left_icon_default, { className: "h-5 w-5 fill-current stroke-current" }),
|
|
7240
|
+
IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(arrow_right_icon_default, { className: "h-5 w-5 fill-current stroke-current" })
|
|
7038
7241
|
}
|
|
7039
7242
|
}, props)
|
|
7040
7243
|
);
|
|
7041
7244
|
}
|
|
7042
7245
|
Calendar.displayName = "Calendar";
|
|
7246
|
+
|
|
7247
|
+
// src/components/Accordion/index.tsx
|
|
7248
|
+
var React24 = __toESM(require("react"));
|
|
7249
|
+
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
|
|
7250
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
7251
|
+
var Accordion = React24.forwardRef((_a, ref) => {
|
|
7252
|
+
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
7253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
7254
|
+
AccordionPrimitive.Root,
|
|
7255
|
+
__spreadProps(__spreadValues({
|
|
7256
|
+
className: cn("dark:bg-grey-900 bg-white px-5 w-[300px] rounded-md shadow-[0_2px_10px] shadow-black/5", className)
|
|
7257
|
+
}, props), {
|
|
7258
|
+
ref,
|
|
7259
|
+
children
|
|
7260
|
+
})
|
|
7261
|
+
);
|
|
7262
|
+
});
|
|
7263
|
+
Accordion.displayName = AccordionPrimitive.Root.displayName;
|
|
7264
|
+
var AccordionItem = React24.forwardRef((_a, ref) => {
|
|
7265
|
+
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
7266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
7267
|
+
AccordionPrimitive.Item,
|
|
7268
|
+
__spreadProps(__spreadValues({
|
|
7269
|
+
className: cn("overflow-hidden first:mt-0 first:rounded-t last:rounded-b border-b border-grey-200 dark:border-grey-700 last:border-0", className)
|
|
7270
|
+
}, props), {
|
|
7271
|
+
ref,
|
|
7272
|
+
children
|
|
7273
|
+
})
|
|
7274
|
+
);
|
|
7275
|
+
});
|
|
7276
|
+
AccordionItem.displayName = AccordionPrimitive.Item.displayName;
|
|
7277
|
+
var AccordionHeader = React24.forwardRef((_a, ref) => {
|
|
7278
|
+
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
7279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
7280
|
+
AccordionPrimitive.Header,
|
|
7281
|
+
__spreadProps(__spreadValues({
|
|
7282
|
+
className: cn("flex", className)
|
|
7283
|
+
}, props), {
|
|
7284
|
+
ref,
|
|
7285
|
+
children
|
|
7286
|
+
})
|
|
7287
|
+
);
|
|
7288
|
+
});
|
|
7289
|
+
AccordionHeader.displayName = AccordionPrimitive.Header.displayName;
|
|
7290
|
+
var AccordionTrigger = React24.forwardRef((_a, ref) => {
|
|
7291
|
+
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
7292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(AccordionHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
7293
|
+
AccordionPrimitive.Trigger,
|
|
7294
|
+
__spreadProps(__spreadValues({
|
|
7295
|
+
className: cn("dark:bg-grey-900 dark:text-white group flex h-[45px] flex-1 cursor-default items-center justify-between bg-white text-[15px] leading-none", className)
|
|
7296
|
+
}, props), {
|
|
7297
|
+
ref,
|
|
7298
|
+
children: [
|
|
7299
|
+
children,
|
|
7300
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(AngleDownIcon, { className: "ease-[cubic-bezier(0.87,_0,_0.13,_1)] transition-transform duration-300 group-data-[state=open]:rotate-180 w-3 h-3 text-gray-800", "aria-hidden": true })
|
|
7301
|
+
]
|
|
7302
|
+
})
|
|
7303
|
+
) });
|
|
7304
|
+
});
|
|
7305
|
+
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
7306
|
+
var AccordionContent = React24.forwardRef((_a, ref) => {
|
|
7307
|
+
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
7308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
7309
|
+
AccordionPrimitive.Content,
|
|
7310
|
+
__spreadProps(__spreadValues({
|
|
7311
|
+
className: cn("dark:text-white data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp overflow-hidden text-[15px]", className)
|
|
7312
|
+
}, props), {
|
|
7313
|
+
ref,
|
|
7314
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "py-[15px]", children })
|
|
7315
|
+
})
|
|
7316
|
+
);
|
|
7317
|
+
});
|
|
7318
|
+
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
7043
7319
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7044
7320
|
0 && (module.exports = {
|
|
7321
|
+
Accordion,
|
|
7322
|
+
AccordionContent,
|
|
7323
|
+
AccordionHeader,
|
|
7324
|
+
AccordionItem,
|
|
7325
|
+
AccordionTrigger,
|
|
7045
7326
|
AngleDownIcon,
|
|
7046
7327
|
Button,
|
|
7047
7328
|
ButtonGroup,
|
|
@@ -7049,6 +7330,8 @@ Calendar.displayName = "Calendar";
|
|
|
7049
7330
|
CalendarIcon,
|
|
7050
7331
|
CheckIcon,
|
|
7051
7332
|
Checkbox,
|
|
7333
|
+
ChevronLeftOutlineIcon,
|
|
7334
|
+
ChevronRightOutlineIcon,
|
|
7052
7335
|
Chip,
|
|
7053
7336
|
CircleIcon,
|
|
7054
7337
|
CircleOutlineIcon,
|
|
@@ -7072,8 +7355,10 @@ Calendar.displayName = "Calendar";
|
|
|
7072
7355
|
ModalPortal,
|
|
7073
7356
|
ModalTitle,
|
|
7074
7357
|
ModalTrigger,
|
|
7358
|
+
Pagination,
|
|
7075
7359
|
PlusIcon,
|
|
7076
7360
|
Popover,
|
|
7361
|
+
PopoverClose,
|
|
7077
7362
|
PopoverContent,
|
|
7078
7363
|
PopoverSeparator,
|
|
7079
7364
|
PopoverTrigger,
|