myshell-react-lib 0.1.50 → 0.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +311 -315
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -10
- package/dist/index.d.ts +14 -10
- package/dist/index.js +250 -254
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3980,7 +3980,7 @@ var require_audio_playing = __commonJS({
|
|
|
3980
3980
|
});
|
|
3981
3981
|
// src/components/accordion.tsx
|
|
3982
3982
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3983
|
-
import * as
|
|
3983
|
+
import * as React5 from "react";
|
|
3984
3984
|
// src/lib/utils.ts
|
|
3985
3985
|
import { clsx } from "clsx";
|
|
3986
3986
|
import { twMerge } from "tailwind-merge";
|
|
@@ -4481,25 +4481,28 @@ var Description = React3.forwardRef(function(props, ref) {
|
|
|
4481
4481
|
}));
|
|
4482
4482
|
});
|
|
4483
4483
|
// src/components/icons/outline/DownIcon.tsx
|
|
4484
|
+
import React4 from "react";
|
|
4484
4485
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4486
|
+
var DownIcon = React4.forwardRef(function(props, ref) {
|
|
4487
|
+
return /* @__PURE__ */ jsx4(Icon, _object_spread_props(_object_spread({}, props), {
|
|
4488
|
+
children: /* @__PURE__ */ jsx4("svg", {
|
|
4489
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4490
|
+
width: "12",
|
|
4491
|
+
height: "12",
|
|
4492
|
+
viewBox: "0 0 12 12",
|
|
4493
|
+
fill: "none",
|
|
4494
|
+
className: cn("transition-all", props.className),
|
|
4495
|
+
children: /* @__PURE__ */ jsx4("path", {
|
|
4496
|
+
stroke: "currentColor",
|
|
4497
|
+
d: "M6.75593 8.8908C6.35716 9.35126 5.64284 9.35126 5.24407 8.8908L1.3708 4.41832C0.80992 3.77068 1.26997 2.76367 2.12673 2.76367L9.87328 2.76367C10.73 2.76367 11.1901 3.77068 10.6292 4.41833L6.75593 8.8908Z"
|
|
4498
|
+
})
|
|
4496
4499
|
})
|
|
4497
|
-
});
|
|
4498
|
-
}
|
|
4500
|
+
}));
|
|
4501
|
+
});
|
|
4499
4502
|
// src/components/accordion.tsx
|
|
4500
4503
|
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
4501
4504
|
var Accordion = AccordionPrimitive.Root;
|
|
4502
|
-
var AccordionItem =
|
|
4505
|
+
var AccordionItem = React5.forwardRef(function(props, ref) {
|
|
4503
4506
|
var className = props.className, triggerClassName = props.triggerClassName, sticky = props.sticky, children = props.children, label = props.label, count2 = props.count;
|
|
4504
4507
|
return /* @__PURE__ */ jsxs(AccordionPrimitive.Item, _object_spread_props(_object_spread({
|
|
4505
4508
|
ref: ref,
|
|
@@ -4519,7 +4522,7 @@ var AccordionItem = React4.forwardRef(function(props, ref) {
|
|
|
4519
4522
|
}));
|
|
4520
4523
|
});
|
|
4521
4524
|
AccordionItem.displayName = "AccordionItem";
|
|
4522
|
-
var AccordionTrigger =
|
|
4525
|
+
var AccordionTrigger = React5.forwardRef(function(props, ref) {
|
|
4523
4526
|
var className = props.className, _props_headerClassName = props.headerClassName, headerClassName = _props_headerClassName === void 0 ? "" : _props_headerClassName, count2 = props.count, label = props.label, sticky = props.sticky, rest = _object_without_properties(props, [
|
|
4524
4527
|
"className",
|
|
4525
4528
|
"headerClassName",
|
|
@@ -4574,7 +4577,7 @@ var AccordionTrigger = React4.forwardRef(function(props, ref) {
|
|
|
4574
4577
|
});
|
|
4575
4578
|
});
|
|
4576
4579
|
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
4577
|
-
var AccordionContent =
|
|
4580
|
+
var AccordionContent = React5.forwardRef(function(_param, ref) {
|
|
4578
4581
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
4579
4582
|
"className",
|
|
4580
4583
|
"children"
|
|
@@ -4592,11 +4595,11 @@ var AccordionContent = React4.forwardRef(function(_param, ref) {
|
|
|
4592
4595
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
4593
4596
|
// src/components/alert-dialog.tsx
|
|
4594
4597
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4595
|
-
import * as
|
|
4598
|
+
import * as React7 from "react";
|
|
4596
4599
|
// src/components/button/button.tsx
|
|
4597
4600
|
import { Slot } from "@radix-ui/react-slot";
|
|
4598
4601
|
import { Loader2 } from "lucide-react";
|
|
4599
|
-
import * as
|
|
4602
|
+
import * as React6 from "react";
|
|
4600
4603
|
// src/common/utils/common-helper.ts
|
|
4601
4604
|
var CDN_URL = "https://www.myshellstatic.com/";
|
|
4602
4605
|
function getAssetsUrl(url) {
|
|
@@ -5093,7 +5096,7 @@ function createButtonWithVariant(props, ref) {
|
|
|
5093
5096
|
]
|
|
5094
5097
|
}));
|
|
5095
5098
|
}
|
|
5096
|
-
var Button =
|
|
5099
|
+
var Button = React6.forwardRef(function(props, ref) {
|
|
5097
5100
|
return createButtonWithVariant(props, ref);
|
|
5098
5101
|
});
|
|
5099
5102
|
var renderIcon = function(icon, direction, props) {
|
|
@@ -5111,7 +5114,7 @@ Button.displayName = "Button";
|
|
|
5111
5114
|
import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
5112
5115
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
5113
5116
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
5114
|
-
var AlertDialogTrigger =
|
|
5117
|
+
var AlertDialogTrigger = React7.forwardRef(function(_param, ref) {
|
|
5115
5118
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5116
5119
|
"className"
|
|
5117
5120
|
]);
|
|
@@ -5121,7 +5124,7 @@ var AlertDialogTrigger = React6.forwardRef(function(_param, ref) {
|
|
|
5121
5124
|
}, props));
|
|
5122
5125
|
});
|
|
5123
5126
|
AlertDialogTrigger.displayName = AlertDialogPrimitive.Trigger.displayName;
|
|
5124
|
-
var AlertDialogOverlay =
|
|
5127
|
+
var AlertDialogOverlay = React7.forwardRef(function(_param, ref) {
|
|
5125
5128
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5126
5129
|
"className"
|
|
5127
5130
|
]);
|
|
@@ -5132,7 +5135,7 @@ var AlertDialogOverlay = React6.forwardRef(function(_param, ref) {
|
|
|
5132
5135
|
}));
|
|
5133
5136
|
});
|
|
5134
5137
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
5135
|
-
var AlertDialogContent =
|
|
5138
|
+
var AlertDialogContent = React7.forwardRef(function(_param, ref) {
|
|
5136
5139
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5137
5140
|
"className"
|
|
5138
5141
|
]);
|
|
@@ -5165,7 +5168,7 @@ function AlertDialogFooter(_param) {
|
|
|
5165
5168
|
}, props));
|
|
5166
5169
|
}
|
|
5167
5170
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
5168
|
-
var AlertDialogTitle =
|
|
5171
|
+
var AlertDialogTitle = React7.forwardRef(function(_param, ref) {
|
|
5169
5172
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5170
5173
|
"className"
|
|
5171
5174
|
]);
|
|
@@ -5175,7 +5178,7 @@ var AlertDialogTitle = React6.forwardRef(function(_param, ref) {
|
|
|
5175
5178
|
}, props));
|
|
5176
5179
|
});
|
|
5177
5180
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
5178
|
-
var AlertDialogDescription =
|
|
5181
|
+
var AlertDialogDescription = React7.forwardRef(function(_param, ref) {
|
|
5179
5182
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5180
5183
|
"className"
|
|
5181
5184
|
]);
|
|
@@ -5185,7 +5188,7 @@ var AlertDialogDescription = React6.forwardRef(function(_param, ref) {
|
|
|
5185
5188
|
}, props));
|
|
5186
5189
|
});
|
|
5187
5190
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
5188
|
-
var AlertDialogAction =
|
|
5191
|
+
var AlertDialogAction = React7.forwardRef(function(_param, ref) {
|
|
5189
5192
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5190
5193
|
"className"
|
|
5191
5194
|
]);
|
|
@@ -5195,7 +5198,7 @@ var AlertDialogAction = React6.forwardRef(function(_param, ref) {
|
|
|
5195
5198
|
}, props));
|
|
5196
5199
|
});
|
|
5197
5200
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
5198
|
-
var AlertDialogCancel =
|
|
5201
|
+
var AlertDialogCancel = React7.forwardRef(function(_param, ref) {
|
|
5199
5202
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
5200
5203
|
"className"
|
|
5201
5204
|
]);
|
|
@@ -5410,19 +5413,19 @@ var useAudioPlayer_default = useAudioPlayer;
|
|
|
5410
5413
|
// src/components/button/icon-button.tsx
|
|
5411
5414
|
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
5412
5415
|
import { Loader2 as Loader22 } from "lucide-react";
|
|
5413
|
-
import * as
|
|
5416
|
+
import * as React10 from "react";
|
|
5414
5417
|
import { useMedia as useMedia2 } from "react-use";
|
|
5415
5418
|
// src/components/tooltip.tsx
|
|
5416
5419
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
5417
|
-
import * as
|
|
5420
|
+
import * as React9 from "react";
|
|
5418
5421
|
// src/components/popover.tsx
|
|
5419
5422
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5420
|
-
import * as
|
|
5423
|
+
import * as React8 from "react";
|
|
5421
5424
|
import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
5422
5425
|
var PopoverRoot = PopoverPrimitive.Root;
|
|
5423
5426
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
5424
5427
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
5425
|
-
var PopoverContent =
|
|
5428
|
+
var PopoverContent = React8.forwardRef(function(_param, ref) {
|
|
5426
5429
|
var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_arrowPadding = _param.arrowPadding, arrowPadding = _param_arrowPadding === void 0 ? 0 : _param_arrowPadding, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, _param_mode = _param.mode, mode = _param_mode === void 0 ? "popover" : _param_mode, children = _param.children, container = _param.container, props = _object_without_properties(_param, [
|
|
5427
5430
|
"className",
|
|
5428
5431
|
"align",
|
|
@@ -5530,7 +5533,7 @@ import { Fragment as Fragment3, jsx as jsx11, jsxs as jsxs5 } from "react/jsx-ru
|
|
|
5530
5533
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
5531
5534
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
5532
5535
|
var TooltipArrow = TooltipPrimitive.Arrow;
|
|
5533
|
-
var Tooltip =
|
|
5536
|
+
var Tooltip = React9.forwardRef(function(_param, ref) {
|
|
5534
5537
|
var open = _param.open, defaultOpen = _param.defaultOpen, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, children = _param.children, title = _param.title, description = _param.description, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_titleDangerous = _param.titleDangerous, titleDangerous = _param_titleDangerous === void 0 ? false : _param_titleDangerous, _param_descriptionDangerous = _param.descriptionDangerous, descriptionDangerous = _param_descriptionDangerous === void 0 ? false : _param_descriptionDangerous, contentClassName = _param.contentClassName, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
5535
5538
|
"open",
|
|
5536
5539
|
"defaultOpen",
|
|
@@ -5609,7 +5612,7 @@ var Tooltip = React8.forwardRef(function(_param, ref) {
|
|
|
5609
5612
|
});
|
|
5610
5613
|
});
|
|
5611
5614
|
Tooltip.displayName = TooltipPrimitive.Root.displayName;
|
|
5612
|
-
var TooltipContent =
|
|
5615
|
+
var TooltipContent = React9.forwardRef(function(_param, ref) {
|
|
5613
5616
|
var className = _param.className, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 6 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, arrowClassName = _param.arrowClassName, props = _object_without_properties(_param, [
|
|
5614
5617
|
"className",
|
|
5615
5618
|
"variant",
|
|
@@ -5778,13 +5781,13 @@ function createIconButtonWithVariant(props, ref) {
|
|
|
5778
5781
|
className: cn("animate-spin", iconCls)
|
|
5779
5782
|
}) : IconEle ? /* @__PURE__ */ jsx12(IconEle, {
|
|
5780
5783
|
className: iconCls
|
|
5781
|
-
}) :
|
|
5784
|
+
}) : React10.isValidElement(children) ? React10.cloneElement(children, {
|
|
5782
5785
|
className: cn(iconCls, children.props.className)
|
|
5783
5786
|
}) : null
|
|
5784
5787
|
}))
|
|
5785
5788
|
});
|
|
5786
5789
|
}
|
|
5787
|
-
var IconButton =
|
|
5790
|
+
var IconButton = React10.forwardRef(function(props, ref) {
|
|
5788
5791
|
return createIconButtonWithVariant(props, ref);
|
|
5789
5792
|
});
|
|
5790
5793
|
// src/components/audio-playing.tsx
|
|
@@ -5873,7 +5876,7 @@ function AudioPlayer(param) {
|
|
|
5873
5876
|
});
|
|
5874
5877
|
}
|
|
5875
5878
|
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
5876
|
-
import * as
|
|
5879
|
+
import * as React11 from "react";
|
|
5877
5880
|
import * as ReactDOM from "react-dom";
|
|
5878
5881
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
5879
5882
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
@@ -5896,7 +5899,7 @@ var NODES = [
|
|
|
5896
5899
|
"ul"
|
|
5897
5900
|
];
|
|
5898
5901
|
var Primitive = NODES.reduce(function(primitive, node) {
|
|
5899
|
-
var Node =
|
|
5902
|
+
var Node = React11.forwardRef(function(props, forwardedRef) {
|
|
5900
5903
|
var asChild = props.asChild, primitiveProps = _object_without_properties(props, [
|
|
5901
5904
|
"asChild"
|
|
5902
5905
|
]);
|
|
@@ -5913,7 +5916,7 @@ var Primitive = NODES.reduce(function(primitive, node) {
|
|
|
5913
5916
|
}, {});
|
|
5914
5917
|
// src/components/avatar.tsx
|
|
5915
5918
|
import { cva as cva6 } from "class-variance-authority";
|
|
5916
|
-
import * as
|
|
5919
|
+
import * as React12 from "react";
|
|
5917
5920
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
5918
5921
|
var avatarVariants = cva6("relative flex shrink-0 overflow-hidden bg-Colors-Background-Neutral-Primary-Default", {
|
|
5919
5922
|
variants: {
|
|
@@ -5945,7 +5948,7 @@ var avatarVariants = cva6("relative flex shrink-0 overflow-hidden bg-Colors-Back
|
|
|
5945
5948
|
size: "md"
|
|
5946
5949
|
}
|
|
5947
5950
|
});
|
|
5948
|
-
var AvatarRoot =
|
|
5951
|
+
var AvatarRoot = React12.forwardRef(function(_param, ref) {
|
|
5949
5952
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "md" : _param_size, passProps = _object_without_properties(_param, [
|
|
5950
5953
|
"className",
|
|
5951
5954
|
"size"
|
|
@@ -5958,13 +5961,13 @@ var AvatarRoot = React11.forwardRef(function(_param, ref) {
|
|
|
5958
5961
|
}, passProps));
|
|
5959
5962
|
});
|
|
5960
5963
|
AvatarRoot.displayName = "Avatar";
|
|
5961
|
-
var AvatarImage =
|
|
5964
|
+
var AvatarImage = React12.forwardRef(function(_param, ref) {
|
|
5962
5965
|
var className = _param.className, onLoad = _param.onLoad, onError = _param.onError, props = _object_without_properties(_param, [
|
|
5963
5966
|
"className",
|
|
5964
5967
|
"onLoad",
|
|
5965
5968
|
"onError"
|
|
5966
5969
|
]);
|
|
5967
|
-
var
|
|
5970
|
+
var _React12_useState = _sliced_to_array(React12.useState("loading"), 2), loadingStatus = _React12_useState[0], setLoadingStatus = _React12_useState[1];
|
|
5968
5971
|
var handleLoad = function(event) {
|
|
5969
5972
|
setLoadingStatus("loaded");
|
|
5970
5973
|
if (onLoad) {
|
|
@@ -5988,7 +5991,7 @@ var AvatarImage = React11.forwardRef(function(_param, ref) {
|
|
|
5988
5991
|
}, props));
|
|
5989
5992
|
});
|
|
5990
5993
|
AvatarImage.displayName = "AvatarImage";
|
|
5991
|
-
var Avatar =
|
|
5994
|
+
var Avatar = React12.forwardRef(function(_param, ref) {
|
|
5992
5995
|
var className = _param.className, rootStyle = _param.rootStyle, size = _param.size, src = _param.src, _param_variant = _param.variant, variant = _param_variant === void 0 ? "bot" : _param_variant, _param_border = _param.border, border = _param_border === void 0 ? true : _param_border, passProps = _object_without_properties(_param, [
|
|
5993
5996
|
"className",
|
|
5994
5997
|
"rootStyle",
|
|
@@ -6053,7 +6056,7 @@ import { useToggle } from "react-use";
|
|
|
6053
6056
|
// src/components/dropdown-menu.tsx
|
|
6054
6057
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
6055
6058
|
import { Check, ChevronRight, Circle } from "lucide-react";
|
|
6056
|
-
import * as
|
|
6059
|
+
import * as React13 from "react";
|
|
6057
6060
|
import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6058
6061
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
6059
6062
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
@@ -6061,7 +6064,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
6061
6064
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
6062
6065
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
6063
6066
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
6064
|
-
var DropdownMenuSubTrigger =
|
|
6067
|
+
var DropdownMenuSubTrigger = React13.forwardRef(function(_param, ref) {
|
|
6065
6068
|
var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
|
|
6066
6069
|
"className",
|
|
6067
6070
|
"inset",
|
|
@@ -6080,7 +6083,7 @@ var DropdownMenuSubTrigger = React12.forwardRef(function(_param, ref) {
|
|
|
6080
6083
|
}));
|
|
6081
6084
|
});
|
|
6082
6085
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
6083
|
-
var DropdownMenuSubContent =
|
|
6086
|
+
var DropdownMenuSubContent = React13.forwardRef(function(_param, ref) {
|
|
6084
6087
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6085
6088
|
"className"
|
|
6086
6089
|
]);
|
|
@@ -6090,7 +6093,7 @@ var DropdownMenuSubContent = React12.forwardRef(function(_param, ref) {
|
|
|
6090
6093
|
}, props));
|
|
6091
6094
|
});
|
|
6092
6095
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
6093
|
-
var DropdownMenuContent =
|
|
6096
|
+
var DropdownMenuContent = React13.forwardRef(function(_param, ref) {
|
|
6094
6097
|
var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
|
|
6095
6098
|
"className",
|
|
6096
6099
|
"sideOffset"
|
|
@@ -6102,7 +6105,7 @@ var DropdownMenuContent = React12.forwardRef(function(_param, ref) {
|
|
|
6102
6105
|
}, props));
|
|
6103
6106
|
});
|
|
6104
6107
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
6105
|
-
var DropdownMenuItem =
|
|
6108
|
+
var DropdownMenuItem = React13.forwardRef(function(_param, ref) {
|
|
6106
6109
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
6107
6110
|
"className",
|
|
6108
6111
|
"inset"
|
|
@@ -6113,7 +6116,7 @@ var DropdownMenuItem = React12.forwardRef(function(_param, ref) {
|
|
|
6113
6116
|
}, props));
|
|
6114
6117
|
});
|
|
6115
6118
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
6116
|
-
var DropdownMenuCheckboxItem =
|
|
6119
|
+
var DropdownMenuCheckboxItem = React13.forwardRef(function(_param, ref) {
|
|
6117
6120
|
var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
|
|
6118
6121
|
"className",
|
|
6119
6122
|
"children",
|
|
@@ -6138,7 +6141,7 @@ var DropdownMenuCheckboxItem = React12.forwardRef(function(_param, ref) {
|
|
|
6138
6141
|
}));
|
|
6139
6142
|
});
|
|
6140
6143
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
6141
|
-
var DropdownMenuRadioItem =
|
|
6144
|
+
var DropdownMenuRadioItem = React13.forwardRef(function(_param, ref) {
|
|
6142
6145
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6143
6146
|
"className",
|
|
6144
6147
|
"children"
|
|
@@ -6161,7 +6164,7 @@ var DropdownMenuRadioItem = React12.forwardRef(function(_param, ref) {
|
|
|
6161
6164
|
}));
|
|
6162
6165
|
});
|
|
6163
6166
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
6164
|
-
var DropdownMenuLabel =
|
|
6167
|
+
var DropdownMenuLabel = React13.forwardRef(function(_param, ref) {
|
|
6165
6168
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
6166
6169
|
"className",
|
|
6167
6170
|
"inset"
|
|
@@ -6172,7 +6175,7 @@ var DropdownMenuLabel = React12.forwardRef(function(_param, ref) {
|
|
|
6172
6175
|
}, props));
|
|
6173
6176
|
});
|
|
6174
6177
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
6175
|
-
var DropdownMenuSeparator =
|
|
6178
|
+
var DropdownMenuSeparator = React13.forwardRef(function(_param, ref) {
|
|
6176
6179
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6177
6180
|
"className"
|
|
6178
6181
|
]);
|
|
@@ -6196,7 +6199,7 @@ import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
|
6196
6199
|
// src/components/checkbox.tsx
|
|
6197
6200
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
6198
6201
|
import { cva as cva8 } from "class-variance-authority";
|
|
6199
|
-
import * as
|
|
6202
|
+
import * as React14 from "react";
|
|
6200
6203
|
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
6201
6204
|
var CheckIcon = function(param) {
|
|
6202
6205
|
var className = param.className;
|
|
@@ -6228,7 +6231,7 @@ var checkboxVariants = cva8("peer w-5 h-5 shrink-0 border-[1.5px] overflow-hidd
|
|
|
6228
6231
|
variant: "checkbox"
|
|
6229
6232
|
}
|
|
6230
6233
|
});
|
|
6231
|
-
var Checkbox =
|
|
6234
|
+
var Checkbox = React14.forwardRef(function(_param, ref) {
|
|
6232
6235
|
var className = _param.className, variant = _param.variant, label = _param.label, labelClassName = _param.labelClassName, caption = _param.caption, captionClassName = _param.captionClassName, props = _object_without_properties(_param, [
|
|
6233
6236
|
"className",
|
|
6234
6237
|
"variant",
|
|
@@ -6237,7 +6240,7 @@ var Checkbox = React13.forwardRef(function(_param, ref) {
|
|
|
6237
6240
|
"caption",
|
|
6238
6241
|
"captionClassName"
|
|
6239
6242
|
]);
|
|
6240
|
-
var Component = label ? "div" :
|
|
6243
|
+
var Component = label ? "div" : React14.Fragment;
|
|
6241
6244
|
return /* @__PURE__ */ jsxs9(Component, {
|
|
6242
6245
|
className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", caption && "items-start"),
|
|
6243
6246
|
children: [
|
|
@@ -6274,16 +6277,16 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
6274
6277
|
// src/components/command.tsx
|
|
6275
6278
|
import { Command as CommandPrimitive } from "cmdk";
|
|
6276
6279
|
import { Search } from "lucide-react";
|
|
6277
|
-
import * as
|
|
6280
|
+
import * as React16 from "react";
|
|
6278
6281
|
// src/components/dialog.tsx
|
|
6279
6282
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
6280
6283
|
import { X } from "lucide-react";
|
|
6281
|
-
import * as
|
|
6284
|
+
import * as React15 from "react";
|
|
6282
6285
|
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
6283
6286
|
var Dialog = DialogPrimitive.Root;
|
|
6284
6287
|
var DialogPortal = DialogPrimitive.Portal;
|
|
6285
6288
|
var DialogClose = DialogPrimitive.Close;
|
|
6286
|
-
var DialogTrigger =
|
|
6289
|
+
var DialogTrigger = React15.forwardRef(function(_param, ref) {
|
|
6287
6290
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6288
6291
|
"className"
|
|
6289
6292
|
]);
|
|
@@ -6293,7 +6296,7 @@ var DialogTrigger = React14.forwardRef(function(_param, ref) {
|
|
|
6293
6296
|
}, props));
|
|
6294
6297
|
});
|
|
6295
6298
|
DialogTrigger.displayName = DialogPrimitive.Trigger.displayName;
|
|
6296
|
-
var DialogOverlay =
|
|
6299
|
+
var DialogOverlay = React15.forwardRef(function(_param, ref) {
|
|
6297
6300
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6298
6301
|
"className"
|
|
6299
6302
|
]);
|
|
@@ -6303,7 +6306,7 @@ var DialogOverlay = React14.forwardRef(function(_param, ref) {
|
|
|
6303
6306
|
}, props));
|
|
6304
6307
|
});
|
|
6305
6308
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
6306
|
-
var DialogContent =
|
|
6309
|
+
var DialogContent = React15.forwardRef(function(_param, ref) {
|
|
6307
6310
|
var className = _param.className, children = _param.children, _param_hideClose = _param.hideClose, hideClose = _param_hideClose === void 0 ? false : _param_hideClose, _param_maskClosable = _param.maskClosable, maskClosable = _param_maskClosable === void 0 ? true : _param_maskClosable, _param_overlayClose = _param.overlayClose, overlayClose = _param_overlayClose === void 0 ? true : _param_overlayClose, onClose = _param.onClose, overlayClassName = _param.overlayClassName, iconClassName = _param.iconClassName, props = _object_without_properties(_param, [
|
|
6308
6311
|
"className",
|
|
6309
6312
|
"children",
|
|
@@ -6367,7 +6370,7 @@ function DialogFooter(_param) {
|
|
|
6367
6370
|
}, props));
|
|
6368
6371
|
}
|
|
6369
6372
|
DialogFooter.displayName = "DialogFooter";
|
|
6370
|
-
var DialogTitle =
|
|
6373
|
+
var DialogTitle = React15.forwardRef(function(_param, ref) {
|
|
6371
6374
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6372
6375
|
"className"
|
|
6373
6376
|
]);
|
|
@@ -6377,7 +6380,7 @@ var DialogTitle = React14.forwardRef(function(_param, ref) {
|
|
|
6377
6380
|
}, props));
|
|
6378
6381
|
});
|
|
6379
6382
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
6380
|
-
var DialogDescription =
|
|
6383
|
+
var DialogDescription = React15.forwardRef(function(_param, ref) {
|
|
6381
6384
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6382
6385
|
"className"
|
|
6383
6386
|
]);
|
|
@@ -6389,7 +6392,7 @@ var DialogDescription = React14.forwardRef(function(_param, ref) {
|
|
|
6389
6392
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
6390
6393
|
// src/components/command.tsx
|
|
6391
6394
|
import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
6392
|
-
var Command =
|
|
6395
|
+
var Command = React16.forwardRef(function(_param, ref) {
|
|
6393
6396
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6394
6397
|
"className"
|
|
6395
6398
|
]);
|
|
@@ -6413,7 +6416,7 @@ var CommandDialog = function(_param) {
|
|
|
6413
6416
|
})
|
|
6414
6417
|
}));
|
|
6415
6418
|
};
|
|
6416
|
-
var CommandInput =
|
|
6419
|
+
var CommandInput = React16.forwardRef(function(_param, ref) {
|
|
6417
6420
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6418
6421
|
"className"
|
|
6419
6422
|
]);
|
|
@@ -6432,7 +6435,7 @@ var CommandInput = React15.forwardRef(function(_param, ref) {
|
|
|
6432
6435
|
});
|
|
6433
6436
|
});
|
|
6434
6437
|
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
|
6435
|
-
var CommandList =
|
|
6438
|
+
var CommandList = React16.forwardRef(function(_param, ref) {
|
|
6436
6439
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6437
6440
|
"className"
|
|
6438
6441
|
]);
|
|
@@ -6442,14 +6445,14 @@ var CommandList = React15.forwardRef(function(_param, ref) {
|
|
|
6442
6445
|
}, props));
|
|
6443
6446
|
});
|
|
6444
6447
|
CommandList.displayName = CommandPrimitive.List.displayName;
|
|
6445
|
-
var CommandEmpty =
|
|
6448
|
+
var CommandEmpty = React16.forwardRef(function(props, ref) {
|
|
6446
6449
|
return /* @__PURE__ */ jsx22(CommandPrimitive.Empty, _object_spread({
|
|
6447
6450
|
ref: ref,
|
|
6448
6451
|
className: "py-6 text-center text-sm"
|
|
6449
6452
|
}, props));
|
|
6450
6453
|
});
|
|
6451
6454
|
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
|
6452
|
-
var CommandGroup =
|
|
6455
|
+
var CommandGroup = React16.forwardRef(function(_param, ref) {
|
|
6453
6456
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6454
6457
|
"className"
|
|
6455
6458
|
]);
|
|
@@ -6459,7 +6462,7 @@ var CommandGroup = React15.forwardRef(function(_param, ref) {
|
|
|
6459
6462
|
}, props));
|
|
6460
6463
|
});
|
|
6461
6464
|
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
|
6462
|
-
var CommandSeparator =
|
|
6465
|
+
var CommandSeparator = React16.forwardRef(function(_param, ref) {
|
|
6463
6466
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6464
6467
|
"className"
|
|
6465
6468
|
]);
|
|
@@ -6469,7 +6472,7 @@ var CommandSeparator = React15.forwardRef(function(_param, ref) {
|
|
|
6469
6472
|
}, props));
|
|
6470
6473
|
});
|
|
6471
6474
|
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
|
6472
|
-
var CommandItem =
|
|
6475
|
+
var CommandItem = React16.forwardRef(function(_param, ref) {
|
|
6473
6476
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6474
6477
|
"className"
|
|
6475
6478
|
]);
|
|
@@ -6491,7 +6494,7 @@ CommandShortcut.displayName = "CommandShortcut";
|
|
|
6491
6494
|
// src/components/context-menu.tsx
|
|
6492
6495
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
6493
6496
|
import { Check as Check3, ChevronRight as ChevronRight2, Circle as Circle2 } from "lucide-react";
|
|
6494
|
-
import * as
|
|
6497
|
+
import * as React17 from "react";
|
|
6495
6498
|
import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6496
6499
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
6497
6500
|
var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
@@ -6499,7 +6502,7 @@ var ContextMenuGroup = ContextMenuPrimitive.Group;
|
|
|
6499
6502
|
var ContextMenuPortal = ContextMenuPrimitive.Portal;
|
|
6500
6503
|
var ContextMenuSub = ContextMenuPrimitive.Sub;
|
|
6501
6504
|
var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
|
|
6502
|
-
var ContextMenuSubTrigger =
|
|
6505
|
+
var ContextMenuSubTrigger = React17.forwardRef(function(_param, ref) {
|
|
6503
6506
|
var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
|
|
6504
6507
|
"className",
|
|
6505
6508
|
"inset",
|
|
@@ -6518,7 +6521,7 @@ var ContextMenuSubTrigger = React16.forwardRef(function(_param, ref) {
|
|
|
6518
6521
|
}));
|
|
6519
6522
|
});
|
|
6520
6523
|
ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
|
|
6521
|
-
var ContextMenuSubContent =
|
|
6524
|
+
var ContextMenuSubContent = React17.forwardRef(function(_param, ref) {
|
|
6522
6525
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6523
6526
|
"className"
|
|
6524
6527
|
]);
|
|
@@ -6528,7 +6531,7 @@ var ContextMenuSubContent = React16.forwardRef(function(_param, ref) {
|
|
|
6528
6531
|
}, props));
|
|
6529
6532
|
});
|
|
6530
6533
|
ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
|
|
6531
|
-
var ContextMenuContent =
|
|
6534
|
+
var ContextMenuContent = React17.forwardRef(function(_param, ref) {
|
|
6532
6535
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6533
6536
|
"className"
|
|
6534
6537
|
]);
|
|
@@ -6540,7 +6543,7 @@ var ContextMenuContent = React16.forwardRef(function(_param, ref) {
|
|
|
6540
6543
|
});
|
|
6541
6544
|
});
|
|
6542
6545
|
ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
|
|
6543
|
-
var ContextMenuItem =
|
|
6546
|
+
var ContextMenuItem = React17.forwardRef(function(_param, ref) {
|
|
6544
6547
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
6545
6548
|
"className",
|
|
6546
6549
|
"inset"
|
|
@@ -6551,7 +6554,7 @@ var ContextMenuItem = React16.forwardRef(function(_param, ref) {
|
|
|
6551
6554
|
}, props));
|
|
6552
6555
|
});
|
|
6553
6556
|
ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
|
|
6554
|
-
var ContextMenuCheckboxItem =
|
|
6557
|
+
var ContextMenuCheckboxItem = React17.forwardRef(function(_param, ref) {
|
|
6555
6558
|
var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
|
|
6556
6559
|
"className",
|
|
6557
6560
|
"children",
|
|
@@ -6576,7 +6579,7 @@ var ContextMenuCheckboxItem = React16.forwardRef(function(_param, ref) {
|
|
|
6576
6579
|
}));
|
|
6577
6580
|
});
|
|
6578
6581
|
ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
|
|
6579
|
-
var ContextMenuRadioItem =
|
|
6582
|
+
var ContextMenuRadioItem = React17.forwardRef(function(_param, ref) {
|
|
6580
6583
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6581
6584
|
"className",
|
|
6582
6585
|
"children"
|
|
@@ -6599,7 +6602,7 @@ var ContextMenuRadioItem = React16.forwardRef(function(_param, ref) {
|
|
|
6599
6602
|
}));
|
|
6600
6603
|
});
|
|
6601
6604
|
ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
|
|
6602
|
-
var ContextMenuLabel =
|
|
6605
|
+
var ContextMenuLabel = React17.forwardRef(function(_param, ref) {
|
|
6603
6606
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
6604
6607
|
"className",
|
|
6605
6608
|
"inset"
|
|
@@ -6610,7 +6613,7 @@ var ContextMenuLabel = React16.forwardRef(function(_param, ref) {
|
|
|
6610
6613
|
}, props));
|
|
6611
6614
|
});
|
|
6612
6615
|
ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
|
|
6613
|
-
var ContextMenuSeparator =
|
|
6616
|
+
var ContextMenuSeparator = React17.forwardRef(function(_param, ref) {
|
|
6614
6617
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6615
6618
|
"className"
|
|
6616
6619
|
]);
|
|
@@ -6638,7 +6641,7 @@ import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
|
6638
6641
|
dayjs.extend(duration);
|
|
6639
6642
|
dayjs.extend(utc);
|
|
6640
6643
|
// src/components/drawer.tsx
|
|
6641
|
-
import * as
|
|
6644
|
+
import * as React18 from "react";
|
|
6642
6645
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
6643
6646
|
import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
6644
6647
|
function Drawer(_param) {
|
|
@@ -6653,7 +6656,7 @@ Drawer.displayName = "Drawer";
|
|
|
6653
6656
|
var DrawerTrigger = DrawerPrimitive.Trigger;
|
|
6654
6657
|
var DrawerPortal = DrawerPrimitive.Portal;
|
|
6655
6658
|
var DrawerClose = DrawerPrimitive.Close;
|
|
6656
|
-
var DrawerOverlay =
|
|
6659
|
+
var DrawerOverlay = React18.forwardRef(function(_param, ref) {
|
|
6657
6660
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6658
6661
|
"className"
|
|
6659
6662
|
]);
|
|
@@ -6663,7 +6666,7 @@ var DrawerOverlay = React17.forwardRef(function(_param, ref) {
|
|
|
6663
6666
|
}, props));
|
|
6664
6667
|
});
|
|
6665
6668
|
DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
|
|
6666
|
-
var DrawerContent =
|
|
6669
|
+
var DrawerContent = React18.forwardRef(function(_param, ref) {
|
|
6667
6670
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6668
6671
|
"className",
|
|
6669
6672
|
"children"
|
|
@@ -6699,7 +6702,7 @@ function DrawerFooter(_param) {
|
|
|
6699
6702
|
}, props));
|
|
6700
6703
|
}
|
|
6701
6704
|
DrawerFooter.displayName = "DrawerFooter";
|
|
6702
|
-
var DrawerTitle =
|
|
6705
|
+
var DrawerTitle = React18.forwardRef(function(_param, ref) {
|
|
6703
6706
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6704
6707
|
"className"
|
|
6705
6708
|
]);
|
|
@@ -6709,7 +6712,7 @@ var DrawerTitle = React17.forwardRef(function(_param, ref) {
|
|
|
6709
6712
|
}, props));
|
|
6710
6713
|
});
|
|
6711
6714
|
DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
|
|
6712
|
-
var DrawerDescription =
|
|
6715
|
+
var DrawerDescription = React18.forwardRef(function(_param, ref) {
|
|
6713
6716
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6714
6717
|
"className"
|
|
6715
6718
|
]);
|
|
@@ -6722,15 +6725,15 @@ DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
|
|
|
6722
6725
|
// src/components/form.tsx
|
|
6723
6726
|
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
6724
6727
|
import { cva as cva10 } from "class-variance-authority";
|
|
6725
|
-
import * as
|
|
6728
|
+
import * as React20 from "react";
|
|
6726
6729
|
import { Controller, FormProvider, useFormContext } from "react-hook-form";
|
|
6727
6730
|
// src/components/label.tsx
|
|
6728
6731
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
6729
6732
|
import { cva as cva9 } from "class-variance-authority";
|
|
6730
|
-
import * as
|
|
6733
|
+
import * as React19 from "react";
|
|
6731
6734
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
6732
6735
|
var labelVariants = cva9("text-sm font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-30");
|
|
6733
|
-
var Label3 =
|
|
6736
|
+
var Label3 = React19.forwardRef(function(_param, ref) {
|
|
6734
6737
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6735
6738
|
"className"
|
|
6736
6739
|
]);
|
|
@@ -6743,7 +6746,7 @@ Label3.displayName = LabelPrimitive.Root.displayName;
|
|
|
6743
6746
|
// src/components/form.tsx
|
|
6744
6747
|
import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
6745
6748
|
var Form = FormProvider;
|
|
6746
|
-
var FormFieldContext =
|
|
6749
|
+
var FormFieldContext = React20.createContext({});
|
|
6747
6750
|
function FormField(_param) {
|
|
6748
6751
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
6749
6752
|
return /* @__PURE__ */ jsx27(FormFieldContext.Provider, {
|
|
@@ -6754,8 +6757,8 @@ function FormField(_param) {
|
|
|
6754
6757
|
});
|
|
6755
6758
|
}
|
|
6756
6759
|
var useFormField = function() {
|
|
6757
|
-
var fieldContext =
|
|
6758
|
-
var itemContext =
|
|
6760
|
+
var fieldContext = React20.useContext(FormFieldContext);
|
|
6761
|
+
var itemContext = React20.useContext(FormItemContext);
|
|
6759
6762
|
var _useFormContext = useFormContext(), getFieldState = _useFormContext.getFieldState, formState = _useFormContext.formState;
|
|
6760
6763
|
var fieldState = getFieldState(fieldContext.name, formState);
|
|
6761
6764
|
if (!fieldContext) {
|
|
@@ -6770,7 +6773,7 @@ var useFormField = function() {
|
|
|
6770
6773
|
formMessageId: "".concat(id, "-form-item-message")
|
|
6771
6774
|
}, fieldState);
|
|
6772
6775
|
};
|
|
6773
|
-
var FormItemContext =
|
|
6776
|
+
var FormItemContext = React20.createContext({});
|
|
6774
6777
|
var formLayoutVariants = cva10("", {
|
|
6775
6778
|
variants: {
|
|
6776
6779
|
layout: {
|
|
@@ -6782,12 +6785,12 @@ var formLayoutVariants = cva10("", {
|
|
|
6782
6785
|
layout: "Vertical"
|
|
6783
6786
|
}
|
|
6784
6787
|
});
|
|
6785
|
-
var FormItem =
|
|
6788
|
+
var FormItem = React20.forwardRef(function(_param, ref) {
|
|
6786
6789
|
var className = _param.className, layout = _param.layout, props = _object_without_properties(_param, [
|
|
6787
6790
|
"className",
|
|
6788
6791
|
"layout"
|
|
6789
6792
|
]);
|
|
6790
|
-
var id =
|
|
6793
|
+
var id = React20.useId();
|
|
6791
6794
|
var cls = cn(className, formLayoutVariants({
|
|
6792
6795
|
layout: layout
|
|
6793
6796
|
}));
|
|
@@ -6802,7 +6805,7 @@ var FormItem = React19.forwardRef(function(_param, ref) {
|
|
|
6802
6805
|
});
|
|
6803
6806
|
});
|
|
6804
6807
|
FormItem.displayName = "FormItem";
|
|
6805
|
-
var FormLabel =
|
|
6808
|
+
var FormLabel = React20.forwardRef(function(_param, ref) {
|
|
6806
6809
|
var className = _param.className, required = _param.required, children = _param.children, props = _object_without_properties(_param, [
|
|
6807
6810
|
"className",
|
|
6808
6811
|
"required",
|
|
@@ -6824,7 +6827,7 @@ var FormLabel = React19.forwardRef(function(_param, ref) {
|
|
|
6824
6827
|
}));
|
|
6825
6828
|
});
|
|
6826
6829
|
FormLabel.displayName = "FormLabel";
|
|
6827
|
-
var FormControl =
|
|
6830
|
+
var FormControl = React20.forwardRef(function(_param, ref) {
|
|
6828
6831
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
6829
6832
|
var _useFormField = useFormField(), error = _useFormField.error, formItemId = _useFormField.formItemId, formDescriptionId = _useFormField.formDescriptionId, formMessageId = _useFormField.formMessageId;
|
|
6830
6833
|
return /* @__PURE__ */ jsx27(Slot4, _object_spread({
|
|
@@ -6835,7 +6838,7 @@ var FormControl = React19.forwardRef(function(_param, ref) {
|
|
|
6835
6838
|
}, props));
|
|
6836
6839
|
});
|
|
6837
6840
|
FormControl.displayName = "FormControl";
|
|
6838
|
-
var FormDescription =
|
|
6841
|
+
var FormDescription = React20.forwardRef(function(_param, ref) {
|
|
6839
6842
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6840
6843
|
"className"
|
|
6841
6844
|
]);
|
|
@@ -6847,7 +6850,7 @@ var FormDescription = React19.forwardRef(function(_param, ref) {
|
|
|
6847
6850
|
}, props));
|
|
6848
6851
|
});
|
|
6849
6852
|
FormDescription.displayName = "FormDescription";
|
|
6850
|
-
var FormMessage =
|
|
6853
|
+
var FormMessage = React20.forwardRef(function(_param, ref) {
|
|
6851
6854
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6852
6855
|
"className",
|
|
6853
6856
|
"children"
|
|
@@ -6986,9 +6989,9 @@ var Guide = function(param) {
|
|
|
6986
6989
|
};
|
|
6987
6990
|
// src/components/input.tsx
|
|
6988
6991
|
import { cva as cva11 } from "class-variance-authority";
|
|
6989
|
-
import * as
|
|
6992
|
+
import * as React21 from "react";
|
|
6990
6993
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
6991
|
-
var Input =
|
|
6994
|
+
var Input = React21.forwardRef(function(_param, ref) {
|
|
6992
6995
|
var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, props = _object_without_properties(_param, [
|
|
6993
6996
|
"className",
|
|
6994
6997
|
"type",
|
|
@@ -7246,7 +7249,7 @@ var Masonry = function(param) {
|
|
|
7246
7249
|
}));
|
|
7247
7250
|
};
|
|
7248
7251
|
// src/components/menubar.tsx
|
|
7249
|
-
import * as
|
|
7252
|
+
import * as React23 from "react";
|
|
7250
7253
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
7251
7254
|
import { Check as Check4, ChevronRight as ChevronRight3, Circle as Circle3 } from "lucide-react";
|
|
7252
7255
|
import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
@@ -7255,7 +7258,7 @@ var MenubarGroup = MenubarPrimitive.Group;
|
|
|
7255
7258
|
var MenubarPortal = MenubarPrimitive.Portal;
|
|
7256
7259
|
var MenubarSub = MenubarPrimitive.Sub;
|
|
7257
7260
|
var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
7258
|
-
var Menubar =
|
|
7261
|
+
var Menubar = React23.forwardRef(function(_param, ref) {
|
|
7259
7262
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7260
7263
|
"className"
|
|
7261
7264
|
]);
|
|
@@ -7265,7 +7268,7 @@ var Menubar = React22.forwardRef(function(_param, ref) {
|
|
|
7265
7268
|
}, props));
|
|
7266
7269
|
});
|
|
7267
7270
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
7268
|
-
var MenubarTrigger =
|
|
7271
|
+
var MenubarTrigger = React23.forwardRef(function(_param, ref) {
|
|
7269
7272
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7270
7273
|
"className"
|
|
7271
7274
|
]);
|
|
@@ -7275,7 +7278,7 @@ var MenubarTrigger = React22.forwardRef(function(_param, ref) {
|
|
|
7275
7278
|
}, props));
|
|
7276
7279
|
});
|
|
7277
7280
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
7278
|
-
var MenubarSubTrigger =
|
|
7281
|
+
var MenubarSubTrigger = React23.forwardRef(function(_param, ref) {
|
|
7279
7282
|
var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
|
|
7280
7283
|
"className",
|
|
7281
7284
|
"inset",
|
|
@@ -7294,7 +7297,7 @@ var MenubarSubTrigger = React22.forwardRef(function(_param, ref) {
|
|
|
7294
7297
|
}));
|
|
7295
7298
|
});
|
|
7296
7299
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
7297
|
-
var MenubarSubContent =
|
|
7300
|
+
var MenubarSubContent = React23.forwardRef(function(_param, ref) {
|
|
7298
7301
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7299
7302
|
"className"
|
|
7300
7303
|
]);
|
|
@@ -7304,7 +7307,7 @@ var MenubarSubContent = React22.forwardRef(function(_param, ref) {
|
|
|
7304
7307
|
}, props));
|
|
7305
7308
|
});
|
|
7306
7309
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
7307
|
-
var MenubarContent =
|
|
7310
|
+
var MenubarContent = React23.forwardRef(function(_param, ref) {
|
|
7308
7311
|
var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "start" : _param_align, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? -4 : _param_alignOffset, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 8 : _param_sideOffset, props = _object_without_properties(_param, [
|
|
7309
7312
|
"className",
|
|
7310
7313
|
"align",
|
|
@@ -7322,7 +7325,7 @@ var MenubarContent = React22.forwardRef(function(_param, ref) {
|
|
|
7322
7325
|
});
|
|
7323
7326
|
});
|
|
7324
7327
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
7325
|
-
var MenubarItem =
|
|
7328
|
+
var MenubarItem = React23.forwardRef(function(_param, ref) {
|
|
7326
7329
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
7327
7330
|
"className",
|
|
7328
7331
|
"inset"
|
|
@@ -7333,7 +7336,7 @@ var MenubarItem = React22.forwardRef(function(_param, ref) {
|
|
|
7333
7336
|
}, props));
|
|
7334
7337
|
});
|
|
7335
7338
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
7336
|
-
var MenubarCheckboxItem =
|
|
7339
|
+
var MenubarCheckboxItem = React23.forwardRef(function(_param, ref) {
|
|
7337
7340
|
var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
|
|
7338
7341
|
"className",
|
|
7339
7342
|
"children",
|
|
@@ -7358,7 +7361,7 @@ var MenubarCheckboxItem = React22.forwardRef(function(_param, ref) {
|
|
|
7358
7361
|
}));
|
|
7359
7362
|
});
|
|
7360
7363
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
7361
|
-
var MenubarRadioItem =
|
|
7364
|
+
var MenubarRadioItem = React23.forwardRef(function(_param, ref) {
|
|
7362
7365
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
7363
7366
|
"className",
|
|
7364
7367
|
"children"
|
|
@@ -7381,7 +7384,7 @@ var MenubarRadioItem = React22.forwardRef(function(_param, ref) {
|
|
|
7381
7384
|
}));
|
|
7382
7385
|
});
|
|
7383
7386
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
7384
|
-
var MenubarLabel =
|
|
7387
|
+
var MenubarLabel = React23.forwardRef(function(_param, ref) {
|
|
7385
7388
|
var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
|
|
7386
7389
|
"className",
|
|
7387
7390
|
"inset"
|
|
@@ -7392,7 +7395,7 @@ var MenubarLabel = React22.forwardRef(function(_param, ref) {
|
|
|
7392
7395
|
}, props));
|
|
7393
7396
|
});
|
|
7394
7397
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
7395
|
-
var MenubarSeparator =
|
|
7398
|
+
var MenubarSeparator = React23.forwardRef(function(_param, ref) {
|
|
7396
7399
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7397
7400
|
"className"
|
|
7398
7401
|
]);
|
|
@@ -7419,9 +7422,9 @@ import XCircleIcon from "@heroicons/react/24/outline/esm/XCircleIcon";
|
|
|
7419
7422
|
import XMarkIcon from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
7420
7423
|
import * as DialogPrimitive2 from "@radix-ui/react-dialog";
|
|
7421
7424
|
// node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
7422
|
-
import * as
|
|
7425
|
+
import * as React26 from "react";
|
|
7423
7426
|
// node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
7424
|
-
import * as
|
|
7427
|
+
import * as React24 from "react";
|
|
7425
7428
|
function setRef(ref, value1) {
|
|
7426
7429
|
if (typeof ref === "function") {
|
|
7427
7430
|
return ref(value1);
|
|
@@ -7460,16 +7463,16 @@ function useComposedRefs() {
|
|
|
7460
7463
|
for(var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++){
|
|
7461
7464
|
refs[_key] = arguments[_key];
|
|
7462
7465
|
}
|
|
7463
|
-
return
|
|
7466
|
+
return React24.useCallback(composeRefs.apply(void 0, _to_consumable_array(refs)), refs);
|
|
7464
7467
|
}
|
|
7465
7468
|
// node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
7466
|
-
import * as
|
|
7469
|
+
import * as React25 from "react";
|
|
7467
7470
|
function useCallbackRef(callback) {
|
|
7468
|
-
var callbackRef =
|
|
7469
|
-
|
|
7471
|
+
var callbackRef = React25.useRef(callback);
|
|
7472
|
+
React25.useEffect(function() {
|
|
7470
7473
|
callbackRef.current = callback;
|
|
7471
7474
|
});
|
|
7472
|
-
return
|
|
7475
|
+
return React25.useMemo(function() {
|
|
7473
7476
|
return function() {
|
|
7474
7477
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
7475
7478
|
args[_key] = arguments[_key];
|
|
@@ -7491,21 +7494,21 @@ var EVENT_OPTIONS = {
|
|
|
7491
7494
|
cancelable: true
|
|
7492
7495
|
};
|
|
7493
7496
|
var FOCUS_SCOPE_NAME = "FocusScope";
|
|
7494
|
-
var FocusScope =
|
|
7497
|
+
var FocusScope = React26.forwardRef(function(props, forwardedRef) {
|
|
7495
7498
|
var _props_loop = props.loop, loop = _props_loop === void 0 ? false : _props_loop, _props_trapped = props.trapped, trapped = _props_trapped === void 0 ? false : _props_trapped, onMountAutoFocusProp = props.onMountAutoFocus, onUnmountAutoFocusProp = props.onUnmountAutoFocus, scopeProps = _object_without_properties(props, [
|
|
7496
7499
|
"loop",
|
|
7497
7500
|
"trapped",
|
|
7498
7501
|
"onMountAutoFocus",
|
|
7499
7502
|
"onUnmountAutoFocus"
|
|
7500
7503
|
]);
|
|
7501
|
-
var
|
|
7504
|
+
var _React26_useState = _sliced_to_array(React26.useState(null), 2), container = _React26_useState[0], setContainer = _React26_useState[1];
|
|
7502
7505
|
var onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);
|
|
7503
7506
|
var onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);
|
|
7504
|
-
var lastFocusedElementRef =
|
|
7507
|
+
var lastFocusedElementRef = React26.useRef(null);
|
|
7505
7508
|
var composedRefs = useComposedRefs(forwardedRef, function(node) {
|
|
7506
7509
|
return setContainer(node);
|
|
7507
7510
|
});
|
|
7508
|
-
var focusScope =
|
|
7511
|
+
var focusScope = React26.useRef({
|
|
7509
7512
|
paused: false,
|
|
7510
7513
|
pause: function pause() {
|
|
7511
7514
|
this.paused = true;
|
|
@@ -7514,7 +7517,7 @@ var FocusScope = React25.forwardRef(function(props, forwardedRef) {
|
|
|
7514
7517
|
this.paused = false;
|
|
7515
7518
|
}
|
|
7516
7519
|
}).current;
|
|
7517
|
-
|
|
7520
|
+
React26.useEffect(function() {
|
|
7518
7521
|
if (trapped) {
|
|
7519
7522
|
var handleFocusIn2 = function handleFocusIn2(event) {
|
|
7520
7523
|
if (focusScope.paused || !container) return;
|
|
@@ -7578,7 +7581,7 @@ var FocusScope = React25.forwardRef(function(props, forwardedRef) {
|
|
|
7578
7581
|
container,
|
|
7579
7582
|
focusScope.paused
|
|
7580
7583
|
]);
|
|
7581
|
-
|
|
7584
|
+
React26.useEffect(function() {
|
|
7582
7585
|
if (container) {
|
|
7583
7586
|
focusScopesStack.add(focusScope);
|
|
7584
7587
|
var previouslyFocusedElement = document.activeElement;
|
|
@@ -7618,7 +7621,7 @@ var FocusScope = React25.forwardRef(function(props, forwardedRef) {
|
|
|
7618
7621
|
onUnmountAutoFocus,
|
|
7619
7622
|
focusScope
|
|
7620
7623
|
]);
|
|
7621
|
-
var handleKeyDown =
|
|
7624
|
+
var handleKeyDown = React26.useCallback(function(event) {
|
|
7622
7625
|
if (!loop && !trapped) return;
|
|
7623
7626
|
if (focusScope.paused) return;
|
|
7624
7627
|
var isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
@@ -7785,11 +7788,11 @@ function removeLinks(items) {
|
|
|
7785
7788
|
}
|
|
7786
7789
|
// src/components/modal.tsx
|
|
7787
7790
|
import { cva as cva12 } from "class-variance-authority";
|
|
7788
|
-
import * as
|
|
7791
|
+
import * as React27 from "react";
|
|
7789
7792
|
import { Drawer as DrawerPrimitive2 } from "vaul";
|
|
7790
7793
|
import { useMedia as useMedia4 } from "react-use";
|
|
7791
7794
|
import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
7792
|
-
var ModalOverlay =
|
|
7795
|
+
var ModalOverlay = React27.forwardRef(function(_param, ref) {
|
|
7793
7796
|
var className = _param.className, onClick = _param.onClick, props = _object_without_properties(_param, [
|
|
7794
7797
|
"className",
|
|
7795
7798
|
"onClick"
|
|
@@ -7803,7 +7806,7 @@ var ModalOverlay = React26.forwardRef(function(_param, ref) {
|
|
|
7803
7806
|
}, props));
|
|
7804
7807
|
});
|
|
7805
7808
|
ModalOverlay.displayName = DialogPrimitive2.Overlay.displayName;
|
|
7806
|
-
var DrawerOverlay2 =
|
|
7809
|
+
var DrawerOverlay2 = React27.forwardRef(function(_param, ref) {
|
|
7807
7810
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7808
7811
|
"className"
|
|
7809
7812
|
]);
|
|
@@ -7813,7 +7816,7 @@ var DrawerOverlay2 = React26.forwardRef(function(_param, ref) {
|
|
|
7813
7816
|
}, props));
|
|
7814
7817
|
});
|
|
7815
7818
|
DrawerOverlay2.displayName = DrawerPrimitive2.Overlay.displayName;
|
|
7816
|
-
var ModalContent =
|
|
7819
|
+
var ModalContent = React27.forwardRef(function(_param, ref) {
|
|
7817
7820
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
7818
7821
|
"className",
|
|
7819
7822
|
"children"
|
|
@@ -7834,7 +7837,7 @@ var ModalRoot = function(_param) {
|
|
|
7834
7837
|
})
|
|
7835
7838
|
}));
|
|
7836
7839
|
};
|
|
7837
|
-
var ModalTitle =
|
|
7840
|
+
var ModalTitle = React27.forwardRef(function(_param, ref) {
|
|
7838
7841
|
var className = _param.className, isMobile2 = _param.isMobile, props = _object_without_properties(_param, [
|
|
7839
7842
|
"className",
|
|
7840
7843
|
"isMobile"
|
|
@@ -8147,7 +8150,7 @@ ModalBody.displayName = "ModalBody";
|
|
|
8147
8150
|
import MagnifyingGlassIcon from "@heroicons/react/24/outline/esm/MagnifyingGlassIcon";
|
|
8148
8151
|
import XMarkIcon2 from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
8149
8152
|
import { cva as cva13 } from "class-variance-authority";
|
|
8150
|
-
import * as
|
|
8153
|
+
import * as React28 from "react";
|
|
8151
8154
|
import { useEffect as useEffect9 } from "react";
|
|
8152
8155
|
import { jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
8153
8156
|
var searchBarVariants = cva13("rounded-sm", {
|
|
@@ -8175,7 +8178,7 @@ function SearchBar(_param) {
|
|
|
8175
8178
|
"onSearchChange",
|
|
8176
8179
|
"onValueChange"
|
|
8177
8180
|
]);
|
|
8178
|
-
var
|
|
8181
|
+
var _React28_useState = _sliced_to_array(React28.useState(""), 2), value1 = _React28_useState[0], setValue = _React28_useState[1];
|
|
8179
8182
|
useEffect9(function() {
|
|
8180
8183
|
setValue(searchValue || "");
|
|
8181
8184
|
}, [
|
|
@@ -10553,15 +10556,15 @@ var Decimal = P.constructor = clone(DEFAULTS);
|
|
|
10553
10556
|
LN10 = new Decimal(LN10);
|
|
10554
10557
|
PI = new Decimal(PI);
|
|
10555
10558
|
// src/components/number-input.tsx
|
|
10556
|
-
import
|
|
10559
|
+
import React29 from "react";
|
|
10557
10560
|
import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
10558
|
-
var NumberInput =
|
|
10561
|
+
var NumberInput = React29.forwardRef(function(_param, ref) {
|
|
10559
10562
|
var className = _param.className, type = _param.type, controls = _param.controls, props = _object_without_properties(_param, [
|
|
10560
10563
|
"className",
|
|
10561
10564
|
"type",
|
|
10562
10565
|
"controls"
|
|
10563
10566
|
]);
|
|
10564
|
-
var inputRef =
|
|
10567
|
+
var inputRef = React29.useRef(null);
|
|
10565
10568
|
var min3 = props.min, max2 = props.max, _props_step = props.step, step = _props_step === void 0 ? 1 : _props_step, onChange = props.onChange;
|
|
10566
10569
|
var hideControls = controls === false;
|
|
10567
10570
|
var updateValue = function(event, operation) {
|
|
@@ -10666,9 +10669,9 @@ import { jsx as jsx40 } from "react/jsx-runtime";
|
|
|
10666
10669
|
// src/components/radio-group.tsx
|
|
10667
10670
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
10668
10671
|
import { Circle as Circle4 } from "lucide-react";
|
|
10669
|
-
import * as
|
|
10672
|
+
import * as React30 from "react";
|
|
10670
10673
|
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
10671
|
-
var RadioGroup4 =
|
|
10674
|
+
var RadioGroup4 = React30.forwardRef(function(_param, ref) {
|
|
10672
10675
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
10673
10676
|
"className"
|
|
10674
10677
|
]);
|
|
@@ -10679,7 +10682,7 @@ var RadioGroup4 = React29.forwardRef(function(_param, ref) {
|
|
|
10679
10682
|
}));
|
|
10680
10683
|
});
|
|
10681
10684
|
RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
|
|
10682
|
-
var RadioGroupItem =
|
|
10685
|
+
var RadioGroupItem = React30.forwardRef(function(_param, ref) {
|
|
10683
10686
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
10684
10687
|
"className"
|
|
10685
10688
|
]);
|
|
@@ -10698,9 +10701,9 @@ var RadioGroupItem = React29.forwardRef(function(_param, ref) {
|
|
|
10698
10701
|
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
10699
10702
|
// src/components/scroll-area.tsx
|
|
10700
10703
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
10701
|
-
import * as
|
|
10704
|
+
import * as React31 from "react";
|
|
10702
10705
|
import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
10703
|
-
var ScrollArea =
|
|
10706
|
+
var ScrollArea = React31.forwardRef(function(_param, ref) {
|
|
10704
10707
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
10705
10708
|
"className",
|
|
10706
10709
|
"children"
|
|
@@ -10721,7 +10724,7 @@ var ScrollArea = React30.forwardRef(function(_param, ref) {
|
|
|
10721
10724
|
}));
|
|
10722
10725
|
});
|
|
10723
10726
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
10724
|
-
var ScrollBar =
|
|
10727
|
+
var ScrollBar = React31.forwardRef(function(_param, ref) {
|
|
10725
10728
|
var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
|
|
10726
10729
|
"className",
|
|
10727
10730
|
"orientation"
|
|
@@ -10741,9 +10744,9 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
|
10741
10744
|
import { useEffect as useEffect10, useRef as useRef6, useState as useState8 } from "react";
|
|
10742
10745
|
import { useMedia as useMedia5 } from "react-use";
|
|
10743
10746
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
10744
|
-
import * as
|
|
10747
|
+
import * as React32 from "react";
|
|
10745
10748
|
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
10746
|
-
var ArrowLeftIcon =
|
|
10749
|
+
var ArrowLeftIcon = React32.forwardRef(function(props, ref) {
|
|
10747
10750
|
return /* @__PURE__ */ jsx43(Icon, _object_spread_props(_object_spread({}, props), {
|
|
10748
10751
|
children: /* @__PURE__ */ jsx43("svg", {
|
|
10749
10752
|
width: "22",
|
|
@@ -10752,8 +10755,8 @@ var ArrowLeftIcon = React31.forwardRef(function(props, ref) {
|
|
|
10752
10755
|
fill: "none",
|
|
10753
10756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10754
10757
|
children: /* @__PURE__ */ jsx43("path", {
|
|
10755
|
-
|
|
10756
|
-
|
|
10758
|
+
fillRule: "evenodd",
|
|
10759
|
+
clipRule: "evenodd",
|
|
10757
10760
|
d: "M11.4879 4.09541C11.7573 4.36487 11.7573 4.80175 11.4879 5.07121L6.24912 10.31H17.4166C17.7977 10.31 18.1066 10.6189 18.1066 11C18.1066 11.3811 17.7977 11.69 17.4166 11.69H6.24912L11.4879 16.9287C11.7573 17.1982 11.7573 17.6351 11.4879 17.9045C11.2184 18.174 10.7815 18.174 10.5121 17.9045L4.09541 11.4879C3.82595 11.2184 3.82595 10.7815 4.09541 10.5121L10.5121 4.09541C10.7815 3.82595 11.2184 3.82595 11.4879 4.09541Z",
|
|
10758
10761
|
fill: "currentColor"
|
|
10759
10762
|
})
|
|
@@ -10876,9 +10879,9 @@ function TopNavigationBar(param) {
|
|
|
10876
10879
|
import { CheckIcon as CheckIcon2 } from "@heroicons/react/24/outline";
|
|
10877
10880
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
10878
10881
|
import { ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
|
|
10879
|
-
import * as
|
|
10882
|
+
import * as React33 from "react";
|
|
10880
10883
|
import { Fragment as Fragment8, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
10881
|
-
var Select =
|
|
10884
|
+
var Select = React33.forwardRef(function(_param, ref) {
|
|
10882
10885
|
var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
10883
10886
|
"children",
|
|
10884
10887
|
"placeholder",
|
|
@@ -10919,7 +10922,7 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
10919
10922
|
});
|
|
10920
10923
|
var SelectGroup = SelectPrimitive.Group;
|
|
10921
10924
|
var SelectValue = SelectPrimitive.Value;
|
|
10922
|
-
var SelectTrigger =
|
|
10925
|
+
var SelectTrigger = React33.forwardRef(function(_param, ref) {
|
|
10923
10926
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
10924
10927
|
"className",
|
|
10925
10928
|
"children"
|
|
@@ -10940,7 +10943,7 @@ var SelectTrigger = React32.forwardRef(function(_param, ref) {
|
|
|
10940
10943
|
}));
|
|
10941
10944
|
});
|
|
10942
10945
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
10943
|
-
var SelectScrollUpButton =
|
|
10946
|
+
var SelectScrollUpButton = React33.forwardRef(function(_param, ref) {
|
|
10944
10947
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
10945
10948
|
"className"
|
|
10946
10949
|
]);
|
|
@@ -10954,7 +10957,7 @@ var SelectScrollUpButton = React32.forwardRef(function(_param, ref) {
|
|
|
10954
10957
|
}));
|
|
10955
10958
|
});
|
|
10956
10959
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
10957
|
-
var SelectScrollDownButton =
|
|
10960
|
+
var SelectScrollDownButton = React33.forwardRef(function(_param, ref) {
|
|
10958
10961
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
10959
10962
|
"className"
|
|
10960
10963
|
]);
|
|
@@ -10968,7 +10971,7 @@ var SelectScrollDownButton = React32.forwardRef(function(_param, ref) {
|
|
|
10968
10971
|
}));
|
|
10969
10972
|
});
|
|
10970
10973
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
10971
|
-
var SelectContent =
|
|
10974
|
+
var SelectContent = React33.forwardRef(function(_param, ref) {
|
|
10972
10975
|
var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
|
|
10973
10976
|
"className",
|
|
10974
10977
|
"children",
|
|
@@ -10988,7 +10991,7 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
10988
10991
|
});
|
|
10989
10992
|
});
|
|
10990
10993
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
10991
|
-
var SelectLabel =
|
|
10994
|
+
var SelectLabel = React33.forwardRef(function(_param, ref) {
|
|
10992
10995
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
10993
10996
|
"className"
|
|
10994
10997
|
]);
|
|
@@ -11010,21 +11013,21 @@ function SelectIcon(props) {
|
|
|
11010
11013
|
style: {
|
|
11011
11014
|
backgroundImage: "url('".concat(icon, "')")
|
|
11012
11015
|
}
|
|
11013
|
-
}) :
|
|
11016
|
+
}) : React33.isValidElement(icon) ? // 如果是React元素,直接渲染
|
|
11014
11017
|
/* @__PURE__ */ jsx45("div", {
|
|
11015
11018
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11016
11019
|
children: icon
|
|
11017
11020
|
}) : // 如果是组件类型,创建元素
|
|
11018
11021
|
/* @__PURE__ */ jsx45("div", {
|
|
11019
11022
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11020
|
-
children:
|
|
11023
|
+
children: React33.createElement(icon, {
|
|
11021
11024
|
className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
|
|
11022
11025
|
})
|
|
11023
11026
|
})
|
|
11024
11027
|
});
|
|
11025
11028
|
}
|
|
11026
11029
|
SelectIcon.displayName = SelectPrimitive.Icon.displayName;
|
|
11027
|
-
var SelectItem =
|
|
11030
|
+
var SelectItem = React33.forwardRef(function(_param, ref) {
|
|
11028
11031
|
var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
|
|
11029
11032
|
"className",
|
|
11030
11033
|
"children",
|
|
@@ -11060,7 +11063,7 @@ var SelectItem = React32.forwardRef(function(_param, ref) {
|
|
|
11060
11063
|
}));
|
|
11061
11064
|
});
|
|
11062
11065
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
11063
|
-
var SelectSeparator =
|
|
11066
|
+
var SelectSeparator = React33.forwardRef(function(_param, ref) {
|
|
11064
11067
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11065
11068
|
"className"
|
|
11066
11069
|
]);
|
|
@@ -11074,13 +11077,13 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
11074
11077
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
11075
11078
|
import { cva as cva14 } from "class-variance-authority";
|
|
11076
11079
|
import { X as X2 } from "lucide-react";
|
|
11077
|
-
import * as
|
|
11080
|
+
import * as React34 from "react";
|
|
11078
11081
|
import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
11079
11082
|
var Sheet = SheetPrimitive.Root;
|
|
11080
11083
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
11081
11084
|
var SheetClose = SheetPrimitive.Close;
|
|
11082
11085
|
var SheetPortal = SheetPrimitive.Portal;
|
|
11083
|
-
var SheetOverlay =
|
|
11086
|
+
var SheetOverlay = React34.forwardRef(function(_param, ref) {
|
|
11084
11087
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11085
11088
|
"className"
|
|
11086
11089
|
]);
|
|
@@ -11104,7 +11107,7 @@ var sheetVariants = cva14("fixed z-50 gap-4 bg-white p-6 shadow-lg transition ea
|
|
|
11104
11107
|
side: "right"
|
|
11105
11108
|
}
|
|
11106
11109
|
});
|
|
11107
|
-
var SheetContent =
|
|
11110
|
+
var SheetContent = React34.forwardRef(function(_param, ref) {
|
|
11108
11111
|
var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11109
11112
|
"side",
|
|
11110
11113
|
"className",
|
|
@@ -11157,7 +11160,7 @@ var SheetFooter = function(_param) {
|
|
|
11157
11160
|
}, props));
|
|
11158
11161
|
};
|
|
11159
11162
|
SheetFooter.displayName = "SheetFooter";
|
|
11160
|
-
var SheetTitle =
|
|
11163
|
+
var SheetTitle = React34.forwardRef(function(_param, ref) {
|
|
11161
11164
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11162
11165
|
"className"
|
|
11163
11166
|
]);
|
|
@@ -11167,7 +11170,7 @@ var SheetTitle = React33.forwardRef(function(_param, ref) {
|
|
|
11167
11170
|
}, props));
|
|
11168
11171
|
});
|
|
11169
11172
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
11170
|
-
var SheetDescription =
|
|
11173
|
+
var SheetDescription = React34.forwardRef(function(_param, ref) {
|
|
11171
11174
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11172
11175
|
"className"
|
|
11173
11176
|
]);
|
|
@@ -11190,9 +11193,9 @@ function Skeleton(_param) {
|
|
|
11190
11193
|
}
|
|
11191
11194
|
// src/components/slider.tsx
|
|
11192
11195
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
11193
|
-
import * as
|
|
11196
|
+
import * as React35 from "react";
|
|
11194
11197
|
import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11195
|
-
var Slider =
|
|
11198
|
+
var Slider = React35.forwardRef(function(_param, ref) {
|
|
11196
11199
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
|
|
11197
11200
|
"className",
|
|
11198
11201
|
"size"
|
|
@@ -11218,7 +11221,7 @@ var Slider = React34.forwardRef(function(_param, ref) {
|
|
|
11218
11221
|
});
|
|
11219
11222
|
});
|
|
11220
11223
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
11221
|
-
var SliderSingle =
|
|
11224
|
+
var SliderSingle = React35.forwardRef(function(_param, ref) {
|
|
11222
11225
|
var className = _param.className, containerClassName = _param.containerClassName, trackClassName = _param.trackClassName, rangeClassName = _param.rangeClassName, thumbClassName = _param.thumbClassName, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, value1 = _param.value, defaultValue = _param.defaultValue, onValueChange = _param.onValueChange, onValueCommit = _param.onValueCommit, _param_settable = _param.settable, settable = _param_settable === void 0 ? true : _param_settable, props = _object_without_properties(_param, [
|
|
11223
11226
|
"className",
|
|
11224
11227
|
"containerClassName",
|
|
@@ -11330,7 +11333,7 @@ function Spinner(props) {
|
|
|
11330
11333
|
// src/components/switch.tsx
|
|
11331
11334
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
11332
11335
|
import { cva as cva16 } from "class-variance-authority";
|
|
11333
|
-
import * as
|
|
11336
|
+
import * as React36 from "react";
|
|
11334
11337
|
import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11335
11338
|
var switchSize = {
|
|
11336
11339
|
sm: "w-7 h-4",
|
|
@@ -11413,7 +11416,7 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
|
|
|
11413
11416
|
}
|
|
11414
11417
|
}
|
|
11415
11418
|
});
|
|
11416
|
-
var Switch =
|
|
11419
|
+
var Switch = React36.forwardRef(function(_param, ref) {
|
|
11417
11420
|
var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, vertical = _param.vertical, icon = _param.icon, props = _object_without_properties(_param, [
|
|
11418
11421
|
"className",
|
|
11419
11422
|
"size",
|
|
@@ -11422,7 +11425,7 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
11422
11425
|
"vertical",
|
|
11423
11426
|
"icon"
|
|
11424
11427
|
]);
|
|
11425
|
-
var Component = label ? "div" :
|
|
11428
|
+
var Component = label ? "div" : React36.Fragment;
|
|
11426
11429
|
return /* @__PURE__ */ jsxs28(Component, {
|
|
11427
11430
|
className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", vertical && "flex-col space-x-0 space-y-1.5"),
|
|
11428
11431
|
children: [
|
|
@@ -11457,7 +11460,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
11457
11460
|
// src/components/tabs.tsx
|
|
11458
11461
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
11459
11462
|
import { cva as cva17 } from "class-variance-authority";
|
|
11460
|
-
import * as
|
|
11463
|
+
import * as React37 from "react";
|
|
11461
11464
|
import { jsx as jsx51, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
11462
11465
|
var TabsRoot = TabsPrimitive.Tabs;
|
|
11463
11466
|
var TabsList = TabsPrimitive.List;
|
|
@@ -11607,7 +11610,7 @@ var tabVariants = cva17("relative inline-flex h-full items-center whitespace-now
|
|
|
11607
11610
|
rounded: "default"
|
|
11608
11611
|
}
|
|
11609
11612
|
});
|
|
11610
|
-
var Tabs2 =
|
|
11613
|
+
var Tabs2 = React37.forwardRef(function(_param, ref) {
|
|
11611
11614
|
var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, size = _param.size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items, props = _object_without_properties(_param, [
|
|
11612
11615
|
"className",
|
|
11613
11616
|
"listClassName",
|
|
@@ -11658,7 +11661,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11658
11661
|
}));
|
|
11659
11662
|
});
|
|
11660
11663
|
Tabs2.displayName = TabsPrimitive.Root.displayName;
|
|
11661
|
-
var Tab =
|
|
11664
|
+
var Tab = React37.forwardRef(function(_param, ref) {
|
|
11662
11665
|
var className = _param.className, variant = _param.variant, size = _param.size, isLink = _param.isLink, link = _param.link, count2 = _param.count, label = _param.label, icon = _param.icon, tooltip = _param.tooltip, hasUnRead = _param.hasUnRead, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, onClickCallback = _param.onClickCallback, props = _object_without_properties(_param, [
|
|
11663
11666
|
"className",
|
|
11664
11667
|
"variant",
|
|
@@ -11729,7 +11732,7 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11729
11732
|
}));
|
|
11730
11733
|
});
|
|
11731
11734
|
Tab.displayName = TabsPrimitive.Trigger.displayName;
|
|
11732
|
-
var TabsContent =
|
|
11735
|
+
var TabsContent = React37.forwardRef(function(_param, ref) {
|
|
11733
11736
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11734
11737
|
"className"
|
|
11735
11738
|
]);
|
|
@@ -11740,9 +11743,9 @@ var TabsContent = React36.forwardRef(function(_param, ref) {
|
|
|
11740
11743
|
});
|
|
11741
11744
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
11742
11745
|
// src/components/textarea.tsx
|
|
11743
|
-
import * as
|
|
11746
|
+
import * as React38 from "react";
|
|
11744
11747
|
import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
11745
|
-
var Textarea =
|
|
11748
|
+
var Textarea = React38.forwardRef(function(_param, ref) {
|
|
11746
11749
|
var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
|
|
11747
11750
|
"className",
|
|
11748
11751
|
"maxLength",
|
|
@@ -11789,7 +11792,7 @@ Textarea.displayName = "Textarea";
|
|
|
11789
11792
|
// src/components/toggle.tsx
|
|
11790
11793
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
11791
11794
|
import { cva as cva18 } from "class-variance-authority";
|
|
11792
|
-
import * as
|
|
11795
|
+
import * as React39 from "react";
|
|
11793
11796
|
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
11794
11797
|
var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm text-sm font-medium ring-offset-white text-Colors-Text-Subtlest hover:bg-slate-100 hover:text-slate-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-Colors-Background-Normal-Primary-Active data-[state=on]:text-Colors-Text-Brand-Default [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:hover:text-Colors-Text-Brand-Default dark:focus-visible:ring-slate-300 dark:data-[state=on]:bg-Colors-Background-Normal-Primary-Active dark:data-[state=on]:text-Colors-Text-Brand-Default", {
|
|
11795
11798
|
variants: {
|
|
@@ -11809,7 +11812,7 @@ var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm t
|
|
|
11809
11812
|
size: "default"
|
|
11810
11813
|
}
|
|
11811
11814
|
});
|
|
11812
|
-
var Toggle =
|
|
11815
|
+
var Toggle = React39.forwardRef(function(_param, ref) {
|
|
11813
11816
|
var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
11814
11817
|
"className",
|
|
11815
11818
|
"variant",
|
|
@@ -11827,13 +11830,13 @@ var Toggle = React38.forwardRef(function(_param, ref) {
|
|
|
11827
11830
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
11828
11831
|
// src/components/toggle-group.tsx
|
|
11829
11832
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
11830
|
-
import * as
|
|
11833
|
+
import * as React40 from "react";
|
|
11831
11834
|
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
11832
|
-
var ToggleGroupContext =
|
|
11835
|
+
var ToggleGroupContext = React40.createContext({
|
|
11833
11836
|
size: "default",
|
|
11834
11837
|
variant: "default"
|
|
11835
11838
|
});
|
|
11836
|
-
var ToggleGroup =
|
|
11839
|
+
var ToggleGroup = React40.forwardRef(function(_param, ref) {
|
|
11837
11840
|
var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
|
|
11838
11841
|
"className",
|
|
11839
11842
|
"variant",
|
|
@@ -11854,14 +11857,14 @@ var ToggleGroup = React39.forwardRef(function(_param, ref) {
|
|
|
11854
11857
|
}));
|
|
11855
11858
|
});
|
|
11856
11859
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
11857
|
-
var ToggleGroupItem =
|
|
11860
|
+
var ToggleGroupItem = React40.forwardRef(function(_param, ref) {
|
|
11858
11861
|
var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
11859
11862
|
"className",
|
|
11860
11863
|
"children",
|
|
11861
11864
|
"variant",
|
|
11862
11865
|
"size"
|
|
11863
11866
|
]);
|
|
11864
|
-
var context =
|
|
11867
|
+
var context = React40.useContext(ToggleGroupContext);
|
|
11865
11868
|
return /* @__PURE__ */ jsx54(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
11866
11869
|
ref: ref,
|
|
11867
11870
|
className: cn(toggleVariants({
|
|
@@ -11913,9 +11916,9 @@ function Chips(props) {
|
|
|
11913
11916
|
// src/components/button/link-button.tsx
|
|
11914
11917
|
import { Slot as Slot5 } from "@radix-ui/react-slot";
|
|
11915
11918
|
import { Loader2 as Loader24 } from "lucide-react";
|
|
11916
|
-
import * as
|
|
11919
|
+
import * as React41 from "react";
|
|
11917
11920
|
import { Fragment as Fragment10, jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
11918
|
-
var LinkButton =
|
|
11921
|
+
var LinkButton = React41.forwardRef(function(_param, ref) {
|
|
11919
11922
|
var _param_className = _param.className, className = _param_className === void 0 ? "" : _param_className, iconClassName = _param.iconClassName, _param_color = _param.color, color = _param_color === void 0 ? "default" : _param_color, icon = _param.icon, _param_iconDirection = _param.iconDirection, iconDirection = _param_iconDirection === void 0 ? "left" : _param_iconDirection, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_asChild = _param.asChild, asChild = _param_asChild === void 0 ? false : _param_asChild, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, _param_noStyle = _param.noStyle, noStyle = _param_noStyle === void 0 ? false : _param_noStyle, _param_iconOutBox = _param.iconOutBox, iconOutBox = _param_iconOutBox === void 0 ? false : _param_iconOutBox, _param_isBlock = _param.isBlock, isBlock = _param_isBlock === void 0 ? false : _param_isBlock, disabled = _param.disabled, children = _param.children, autoFocus = _param.autoFocus, asset = _param.asset, _param_assetNumber = _param.assetNumber, assetNumber = _param_assetNumber === void 0 ? 0 : _param_assetNumber, props = _object_without_properties(_param, [
|
|
11920
11923
|
"className",
|
|
11921
11924
|
"iconClassName",
|
|
@@ -12115,7 +12118,7 @@ var NoPageState = function(args) {
|
|
|
12115
12118
|
// src/components/toast/toast.tsx
|
|
12116
12119
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
12117
12120
|
import { cva as cva20 } from "class-variance-authority";
|
|
12118
|
-
import * as
|
|
12121
|
+
import * as React42 from "react";
|
|
12119
12122
|
import XMarkIcon3 from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
12120
12123
|
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
12121
12124
|
var ToastProvider = ToastPrimitives.Provider;
|
|
@@ -12136,7 +12139,7 @@ var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full
|
|
|
12136
12139
|
position: "top-right"
|
|
12137
12140
|
}
|
|
12138
12141
|
});
|
|
12139
|
-
var ToastViewport =
|
|
12142
|
+
var ToastViewport = React42.forwardRef(function(_param, ref) {
|
|
12140
12143
|
var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
|
|
12141
12144
|
"className",
|
|
12142
12145
|
"position"
|
|
@@ -12173,7 +12176,7 @@ var toastVariants = cva20("group pointer-events-auto relative flex w-full items-
|
|
|
12173
12176
|
position: "top-right"
|
|
12174
12177
|
}
|
|
12175
12178
|
});
|
|
12176
|
-
var Toast =
|
|
12179
|
+
var Toast = React42.forwardRef(function(_param, ref) {
|
|
12177
12180
|
var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
|
|
12178
12181
|
"className",
|
|
12179
12182
|
"variant",
|
|
@@ -12189,7 +12192,7 @@ var Toast = React41.forwardRef(function(_param, ref) {
|
|
|
12189
12192
|
}, props));
|
|
12190
12193
|
});
|
|
12191
12194
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
12192
|
-
var ToastAction =
|
|
12195
|
+
var ToastAction = React42.forwardRef(function(_param, ref) {
|
|
12193
12196
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12194
12197
|
"className"
|
|
12195
12198
|
]);
|
|
@@ -12199,7 +12202,7 @@ var ToastAction = React41.forwardRef(function(_param, ref) {
|
|
|
12199
12202
|
}, props));
|
|
12200
12203
|
});
|
|
12201
12204
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
12202
|
-
var ToastClose =
|
|
12205
|
+
var ToastClose = React42.forwardRef(function(_param, ref) {
|
|
12203
12206
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12204
12207
|
"className"
|
|
12205
12208
|
]);
|
|
@@ -12214,7 +12217,7 @@ var ToastClose = React41.forwardRef(function(_param, ref) {
|
|
|
12214
12217
|
}));
|
|
12215
12218
|
});
|
|
12216
12219
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
12217
|
-
var ToastTitle =
|
|
12220
|
+
var ToastTitle = React42.forwardRef(function(_param, ref) {
|
|
12218
12221
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12219
12222
|
"className"
|
|
12220
12223
|
]);
|
|
@@ -12224,7 +12227,7 @@ var ToastTitle = React41.forwardRef(function(_param, ref) {
|
|
|
12224
12227
|
}, props));
|
|
12225
12228
|
});
|
|
12226
12229
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
12227
|
-
var ToastDescription =
|
|
12230
|
+
var ToastDescription = React42.forwardRef(function(_param, ref) {
|
|
12228
12231
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12229
12232
|
"className"
|
|
12230
12233
|
]);
|
|
@@ -12239,7 +12242,7 @@ import CheckCircleIcon2 from "@heroicons/react/24/outline/esm/CheckCircleIcon";
|
|
|
12239
12242
|
import InformationCircleIcon2 from "@heroicons/react/24/outline/esm/InformationCircleIcon";
|
|
12240
12243
|
import XCircleIcon2 from "@heroicons/react/24/outline/esm/XCircleIcon";
|
|
12241
12244
|
// src/components/toast/use-toast.tsx
|
|
12242
|
-
import * as
|
|
12245
|
+
import * as React43 from "react";
|
|
12243
12246
|
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
12244
12247
|
var TOAST_LIMIT = 8;
|
|
12245
12248
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
@@ -12388,8 +12391,8 @@ function toast(_param) {
|
|
|
12388
12391
|
};
|
|
12389
12392
|
}
|
|
12390
12393
|
function useToast() {
|
|
12391
|
-
var
|
|
12392
|
-
|
|
12394
|
+
var _React43_useState = _sliced_to_array(React43.useState(memoryState), 2), state = _React43_useState[0], setState = _React43_useState[1];
|
|
12395
|
+
React43.useEffect(function() {
|
|
12393
12396
|
listeners.push(setState);
|
|
12394
12397
|
return function() {
|
|
12395
12398
|
var index = listeners.indexOf(setState);
|
|
@@ -12411,13 +12414,13 @@ function useToast() {
|
|
|
12411
12414
|
});
|
|
12412
12415
|
}
|
|
12413
12416
|
// src/components/toast/toaster.tsx
|
|
12414
|
-
import
|
|
12417
|
+
import React44 from "react";
|
|
12415
12418
|
import { ExclamationTriangleIcon as ExclamationTriangleIcon2 } from "@heroicons/react/24/outline";
|
|
12416
12419
|
import { jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
12417
12420
|
function Toaster() {
|
|
12418
12421
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
12419
12422
|
var toasts = useToast().toasts;
|
|
12420
|
-
var positionGroups =
|
|
12423
|
+
var positionGroups = React44.useMemo(function() {
|
|
12421
12424
|
var groups = {};
|
|
12422
12425
|
var allPositions = [
|
|
12423
12426
|
"top-left",
|
|
@@ -12515,7 +12518,7 @@ function Toaster() {
|
|
|
12515
12518
|
return /* @__PURE__ */ jsx60(ToastProvider, {
|
|
12516
12519
|
children: Object.entries(positionGroups).map(function(param) {
|
|
12517
12520
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
12518
|
-
return /* @__PURE__ */ jsxs35(
|
|
12521
|
+
return /* @__PURE__ */ jsxs35(React44.Fragment, {
|
|
12519
12522
|
children: [
|
|
12520
12523
|
toastsForPosition.map(renderToast),
|
|
12521
12524
|
toastsForPosition.length > 0 && /* @__PURE__ */ jsx60(ToastViewport, {
|
|
@@ -12911,9 +12914,9 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12911
12914
|
return Message;
|
|
12912
12915
|
}();
|
|
12913
12916
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
12914
|
-
import * as
|
|
12917
|
+
import * as React45 from "react";
|
|
12915
12918
|
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
12916
|
-
var ArrowUpTrayIcon =
|
|
12919
|
+
var ArrowUpTrayIcon = React45.forwardRef(function(props, ref) {
|
|
12917
12920
|
return /* @__PURE__ */ jsx64(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12918
12921
|
children: /* @__PURE__ */ jsx64("svg", {
|
|
12919
12922
|
ref: ref,
|
|
@@ -12932,9 +12935,9 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12932
12935
|
}));
|
|
12933
12936
|
});
|
|
12934
12937
|
// src/components/icons/outline/WindowIcon.tsx
|
|
12935
|
-
import * as
|
|
12938
|
+
import * as React46 from "react";
|
|
12936
12939
|
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
12937
|
-
var WindowIcon =
|
|
12940
|
+
var WindowIcon = React46.forwardRef(function(props, ref) {
|
|
12938
12941
|
return /* @__PURE__ */ jsx65(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12939
12942
|
children: /* @__PURE__ */ jsx65("svg", {
|
|
12940
12943
|
ref: ref,
|
|
@@ -12953,9 +12956,9 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12953
12956
|
}));
|
|
12954
12957
|
});
|
|
12955
12958
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
12956
|
-
import * as
|
|
12959
|
+
import * as React47 from "react";
|
|
12957
12960
|
import { jsx as jsx66, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
12958
|
-
var CheckCircleIcon4 =
|
|
12961
|
+
var CheckCircleIcon4 = React47.forwardRef(function(props, ref) {
|
|
12959
12962
|
return /* @__PURE__ */ jsx66(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12960
12963
|
children: /* @__PURE__ */ jsxs37("svg", {
|
|
12961
12964
|
ref: ref,
|
|
@@ -12976,14 +12979,12 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
12976
12979
|
})
|
|
12977
12980
|
}));
|
|
12978
12981
|
});
|
|
12979
|
-
// src/components/icons/outline/FilterIcon.tsx
|
|
12980
|
-
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
12981
12982
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
12982
|
-
import * as
|
|
12983
|
-
import { jsx as
|
|
12984
|
-
var PencilSquareIcon =
|
|
12985
|
-
return /* @__PURE__ */
|
|
12986
|
-
children: /* @__PURE__ */
|
|
12983
|
+
import * as React48 from "react";
|
|
12984
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
12985
|
+
var PencilSquareIcon = React48.forwardRef(function(props, ref) {
|
|
12986
|
+
return /* @__PURE__ */ jsx67(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12987
|
+
children: /* @__PURE__ */ jsx67("svg", {
|
|
12987
12988
|
ref: ref,
|
|
12988
12989
|
className: "w-full h-full",
|
|
12989
12990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12991,7 +12992,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12991
12992
|
viewBox: "0 0 24 24",
|
|
12992
12993
|
strokeWidth: "1.5",
|
|
12993
12994
|
stroke: "currentColor",
|
|
12994
|
-
children: /* @__PURE__ */
|
|
12995
|
+
children: /* @__PURE__ */ jsx67("path", {
|
|
12995
12996
|
strokeLinecap: "round",
|
|
12996
12997
|
strokeLinejoin: "round",
|
|
12997
12998
|
d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
|
|
@@ -13000,35 +13001,35 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
13000
13001
|
}));
|
|
13001
13002
|
});
|
|
13002
13003
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
13003
|
-
import * as
|
|
13004
|
-
import { jsx as
|
|
13005
|
-
var ConfigIcon =
|
|
13006
|
-
return /* @__PURE__ */
|
|
13007
|
-
children: /* @__PURE__ */
|
|
13004
|
+
import * as React49 from "react";
|
|
13005
|
+
import { jsx as jsx68, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
13006
|
+
var ConfigIcon = React49.forwardRef(function(props, ref) {
|
|
13007
|
+
return /* @__PURE__ */ jsx68(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13008
|
+
children: /* @__PURE__ */ jsx68("svg", {
|
|
13008
13009
|
width: "18",
|
|
13009
13010
|
height: "18",
|
|
13010
13011
|
viewBox: "0 0 18 18",
|
|
13011
13012
|
fill: "none",
|
|
13012
13013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13013
13014
|
className: "cursor-pointer",
|
|
13014
|
-
children: /* @__PURE__ */
|
|
13015
|
+
children: /* @__PURE__ */ jsx68("g", {
|
|
13015
13016
|
id: "wrapper",
|
|
13016
13017
|
children: /* @__PURE__ */ jsxs38("g", {
|
|
13017
13018
|
id: "Union",
|
|
13018
13019
|
children: [
|
|
13019
|
-
/* @__PURE__ */
|
|
13020
|
+
/* @__PURE__ */ jsx68("path", {
|
|
13020
13021
|
fillRule: "evenodd",
|
|
13021
13022
|
clipRule: "evenodd",
|
|
13022
13023
|
d: "M4.5 2.25C4.81066 2.25 5.0625 2.50184 5.0625 2.8125L5.0625 9.65852C5.71792 9.89018 6.1875 10.5153 6.1875 11.25C6.1875 11.9847 5.71792 12.6098 5.0625 12.8415V15.1875C5.0625 15.4982 4.81066 15.75 4.5 15.75C4.18934 15.75 3.9375 15.4982 3.9375 15.1875V12.8415C3.28208 12.6098 2.8125 11.9847 2.8125 11.25C2.8125 10.5153 3.28208 9.89018 3.9375 9.65852L3.9375 2.8125C3.9375 2.50184 4.18934 2.25 4.5 2.25ZM4.5 10.6875C4.18934 10.6875 3.9375 10.9393 3.9375 11.25C3.9375 11.5607 4.18934 11.8125 4.5 11.8125C4.81066 11.8125 5.0625 11.5607 5.0625 11.25C5.0625 10.9393 4.81066 10.6875 4.5 10.6875Z",
|
|
13023
13024
|
fill: "#6D7175"
|
|
13024
13025
|
}),
|
|
13025
|
-
/* @__PURE__ */
|
|
13026
|
+
/* @__PURE__ */ jsx68("path", {
|
|
13026
13027
|
fillRule: "evenodd",
|
|
13027
13028
|
clipRule: "evenodd",
|
|
13028
13029
|
d: "M9 2.25C9.31066 2.25 9.5625 2.50184 9.5625 2.8125V5.15852C10.2179 5.39018 10.6875 6.01525 10.6875 6.75C10.6875 7.48475 10.2179 8.10982 9.5625 8.34148V15.1875C9.5625 15.4982 9.31066 15.75 9 15.75C8.68934 15.75 8.4375 15.4982 8.4375 15.1875V8.34148C7.78208 8.10982 7.3125 7.48475 7.3125 6.75C7.3125 6.01525 7.78208 5.39018 8.4375 5.15852V2.8125C8.4375 2.50184 8.68934 2.25 9 2.25ZM9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75C8.4375 7.06066 8.68934 7.3125 9 7.3125C9.31066 7.3125 9.5625 7.06066 9.5625 6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875Z",
|
|
13029
13030
|
fill: "#6D7175"
|
|
13030
13031
|
}),
|
|
13031
|
-
/* @__PURE__ */
|
|
13032
|
+
/* @__PURE__ */ jsx68("path", {
|
|
13032
13033
|
fillRule: "evenodd",
|
|
13033
13034
|
clipRule: "evenodd",
|
|
13034
13035
|
d: "M13.5 2.25C13.8107 2.25 14.0625 2.50184 14.0625 2.8125V9.65852C14.7179 9.89018 15.1875 10.5153 15.1875 11.25C15.1875 11.9847 14.7179 12.6098 14.0625 12.8415L14.0625 15.1875C14.0625 15.4982 13.8107 15.75 13.5 15.75C13.1893 15.75 12.9375 15.4982 12.9375 15.1875L12.9375 12.8415C12.2821 12.6098 11.8125 11.9847 11.8125 11.25C11.8125 10.5153 12.2821 9.89018 12.9375 9.65852V2.8125C12.9375 2.50184 13.1893 2.25 13.5 2.25ZM13.5 10.6875C13.1893 10.6875 12.9375 10.9393 12.9375 11.25C12.9375 11.5607 13.1893 11.8125 13.5 11.8125C13.8107 11.8125 14.0625 11.5607 14.0625 11.25C14.0625 10.9393 13.8107 10.6875 13.5 10.6875Z",
|
|
@@ -13040,10 +13041,31 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
13040
13041
|
})
|
|
13041
13042
|
}));
|
|
13042
13043
|
});
|
|
13044
|
+
// src/components/icons/outline/FilterIcon.tsx
|
|
13045
|
+
import React50 from "react";
|
|
13046
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
13047
|
+
var FilterIcon = React50.forwardRef(function(props, ref) {
|
|
13048
|
+
return /* @__PURE__ */ jsx69(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13049
|
+
children: /* @__PURE__ */ jsx69("svg", {
|
|
13050
|
+
className: props === null || props === void 0 ? void 0 : props.className,
|
|
13051
|
+
width: "22",
|
|
13052
|
+
height: "22",
|
|
13053
|
+
viewBox: "0 0 22 22",
|
|
13054
|
+
fill: "none",
|
|
13055
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13056
|
+
children: /* @__PURE__ */ jsx69("path", {
|
|
13057
|
+
fillRule: "evenodd",
|
|
13058
|
+
clipRule: "evenodd",
|
|
13059
|
+
fill: "currentColor",
|
|
13060
|
+
d: "M10.0278 2.84729C7.67712 2.84729 5.37221 3.04531 3.12895 3.42572C2.37055 3.55432 1.83336 4.2145 1.83336 4.96859V5.84598C1.83336 6.51468 2.099 7.15598 2.57185 7.62882L7.13715 12.1941C7.37358 12.4305 7.5064 12.7511 7.5064 13.0855V18.6055C7.5064 18.8239 7.61951 19.0268 7.80535 19.1417C7.99118 19.2565 8.22323 19.267 8.41863 19.1693L11.1553 17.8009C12.0095 17.3738 12.5491 16.5008 12.5491 15.5458V13.0855C12.5491 12.7511 12.6819 12.4305 12.9183 12.1941L17.4837 7.62882C17.9565 7.15598 18.2221 6.51468 18.2221 5.84598V4.96857C18.2221 4.21448 17.6849 3.5543 16.9265 3.4257C14.6833 3.0453 12.3784 2.84729 10.0278 2.84729ZM3.33973 4.66863C5.51363 4.29998 7.74805 4.10794 10.0278 4.10794C12.3075 4.10794 14.5419 4.29998 16.7158 4.66861C16.8531 4.69189 16.9615 4.8142 16.9615 4.96857V5.84598C16.9615 6.18033 16.8286 6.50098 16.5922 6.7374L12.0269 11.3026C11.5541 11.7755 11.2884 12.4168 11.2884 13.0855V15.5458C11.2884 16.0233 11.0186 16.4598 10.5915 16.6734L8.76707 17.5856V13.0855C8.76707 12.4168 8.50143 11.7755 8.02859 11.3026L3.46328 6.7374C3.22685 6.50098 3.09403 6.18033 3.09403 5.84598V4.96859C3.09403 4.81422 3.20244 4.69191 3.33973 4.66863ZM15.1424 12.0035C14.9222 11.7833 14.5651 11.7833 14.3448 12.0035C14.1246 12.2238 14.1246 12.5809 14.3448 12.8011L16.3756 14.8318L14.3448 16.8625C14.1246 17.0828 14.1246 17.4399 14.3448 17.6601C14.5651 17.8804 14.9222 17.8804 15.1424 17.6601L17.1732 15.6294L19.2039 17.6601C19.4242 17.8804 19.7813 17.8804 20.0015 17.6601C20.2218 17.4399 20.2218 17.0828 20.0015 16.8625L17.9708 14.8318L20.0015 12.8011C20.2218 12.5809 20.2218 12.2238 20.0015 12.0035C19.7813 11.7833 19.4242 11.7833 19.2039 12.0035L17.1732 14.0342L15.1424 12.0035Z"
|
|
13061
|
+
})
|
|
13062
|
+
})
|
|
13063
|
+
}));
|
|
13064
|
+
});
|
|
13043
13065
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
13044
|
-
import * as
|
|
13066
|
+
import * as React51 from "react";
|
|
13045
13067
|
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
13046
|
-
var CaretDownIcon =
|
|
13068
|
+
var CaretDownIcon = React51.forwardRef(function(props, ref) {
|
|
13047
13069
|
return /* @__PURE__ */ jsx70(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13048
13070
|
children: /* @__PURE__ */ jsx70("svg", {
|
|
13049
13071
|
ref: ref,
|
|
@@ -13058,9 +13080,9 @@ var CaretDownIcon = React49.forwardRef(function(props, ref) {
|
|
|
13058
13080
|
}));
|
|
13059
13081
|
});
|
|
13060
13082
|
// src/components/icons/solid/CodeIcon.tsx
|
|
13061
|
-
import * as
|
|
13083
|
+
import * as React52 from "react";
|
|
13062
13084
|
import { jsx as jsx71, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
13063
|
-
var CodeIcon =
|
|
13085
|
+
var CodeIcon = React52.forwardRef(function(props, ref) {
|
|
13064
13086
|
return /* @__PURE__ */ jsx71(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13065
13087
|
children: /* @__PURE__ */ jsxs39("svg", {
|
|
13066
13088
|
ref: ref,
|
|
@@ -13082,9 +13104,9 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13082
13104
|
}));
|
|
13083
13105
|
});
|
|
13084
13106
|
// src/components/icons/solid/DragIcon.tsx
|
|
13085
|
-
import * as
|
|
13107
|
+
import * as React53 from "react";
|
|
13086
13108
|
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
13087
|
-
var DragIcon =
|
|
13109
|
+
var DragIcon = React53.forwardRef(function(props, ref) {
|
|
13088
13110
|
return /* @__PURE__ */ jsx72(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13089
13111
|
children: /* @__PURE__ */ jsx72("svg", {
|
|
13090
13112
|
ref: ref,
|
|
@@ -13100,44 +13122,18 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13100
13122
|
})
|
|
13101
13123
|
}));
|
|
13102
13124
|
});
|
|
13103
|
-
// src/components/icons/solid/PhoneIcon.tsx
|
|
13104
|
-
import * as React52 from "react";
|
|
13105
|
-
import { jsx as jsx73, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
13106
|
-
var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
13107
|
-
return /* @__PURE__ */ jsx73(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13108
|
-
children: /* @__PURE__ */ jsxs40("svg", {
|
|
13109
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13110
|
-
width: "20",
|
|
13111
|
-
height: "20",
|
|
13112
|
-
viewBox: "0 0 20 20",
|
|
13113
|
-
fill: "none",
|
|
13114
|
-
children: [
|
|
13115
|
-
/* @__PURE__ */ jsx73("path", {
|
|
13116
|
-
d: "M8.75 15.625C8.40482 15.625 8.125 15.9048 8.125 16.25C8.125 16.5952 8.40482 16.875 8.75 16.875H11.25C11.5952 16.875 11.875 16.5952 11.875 16.25C11.875 15.9048 11.5952 15.625 11.25 15.625H8.75Z",
|
|
13117
|
-
fill: "#3E5CFA"
|
|
13118
|
-
}),
|
|
13119
|
-
/* @__PURE__ */ jsx73("path", {
|
|
13120
|
-
fillRule: "evenodd",
|
|
13121
|
-
clipRule: "evenodd",
|
|
13122
|
-
d: "M7.1875 0.625C5.6342 0.625 4.375 1.8842 4.375 3.4375V16.5625C4.375 18.1158 5.6342 19.375 7.1875 19.375H12.8125C14.3658 19.375 15.625 18.1158 15.625 16.5625V3.4375C15.625 1.8842 14.3658 0.625 12.8125 0.625H7.1875ZM6.25 3.4375C6.25 2.91973 6.66973 2.5 7.1875 2.5H8.125V2.8125C8.125 3.33027 8.54473 3.75 9.0625 3.75H10.9375C11.4553 3.75 11.875 3.33027 11.875 2.8125V2.5H12.8125C13.3303 2.5 13.75 2.91973 13.75 3.4375V16.5625C13.75 17.0803 13.3303 17.5 12.8125 17.5H7.1875C6.66973 17.5 6.25 17.0803 6.25 16.5625V3.4375Z",
|
|
13123
|
-
fill: "#3E5CFA"
|
|
13124
|
-
})
|
|
13125
|
-
]
|
|
13126
|
-
})
|
|
13127
|
-
}));
|
|
13128
|
-
});
|
|
13129
13125
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13130
|
-
import * as
|
|
13131
|
-
import { jsx as
|
|
13132
|
-
var RectangleGroupIcon =
|
|
13133
|
-
return /* @__PURE__ */
|
|
13134
|
-
children: /* @__PURE__ */
|
|
13126
|
+
import * as React54 from "react";
|
|
13127
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
13128
|
+
var RectangleGroupIcon = React54.forwardRef(function(props, ref) {
|
|
13129
|
+
return /* @__PURE__ */ jsx73(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13130
|
+
children: /* @__PURE__ */ jsx73("svg", {
|
|
13135
13131
|
ref: ref,
|
|
13136
13132
|
className: "w-full h-full",
|
|
13137
13133
|
viewBox: "0 0 24 24",
|
|
13138
13134
|
fill: "currentColor",
|
|
13139
13135
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13140
|
-
children: /* @__PURE__ */
|
|
13136
|
+
children: /* @__PURE__ */ jsx73("path", {
|
|
13141
13137
|
fillRule: "evenodd",
|
|
13142
13138
|
clipRule: "evenodd",
|
|
13143
13139
|
d: "M1.5 7.125C1.5 6.08947 2.33947 5.25 3.375 5.25H9.375C10.4105 5.25 11.25 6.08947 11.25 7.125V10.875C11.25 11.9105 10.4105 12.75 9.375 12.75H3.375C2.33947 12.75 1.5 11.9105 1.5 10.875V7.125ZM13.5 8.625C13.5 7.58947 14.3395 6.75 15.375 6.75H20.625C21.6605 6.75 22.5 7.58947 22.5 8.625V16.875C22.5 17.9105 21.6605 18.75 20.625 18.75H15.375C14.3395 18.75 13.5 17.9105 13.5 16.875V8.625ZM3 16.125C3 15.0895 3.83947 14.25 4.875 14.25H10.125C11.1605 14.25 12 15.0895 12 16.125V18.375C12 19.4105 11.1605 20.25 10.125 20.25H4.875C3.83947 20.25 3 19.4105 3 18.375V16.125Z"
|
|
@@ -13145,7 +13141,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13145
13141
|
})
|
|
13146
13142
|
}));
|
|
13147
13143
|
});
|
|
13148
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NetworkErrorState, NoPageState, NotFoundState, NumberInput, Paragraph, PencilSquareIcon,
|
|
13144
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorState, FilterIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NetworkErrorState, NoPageState, NotFoundState, NumberInput, Paragraph, PencilSquareIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
|
|
13149
13145
|
|
|
13150
13146
|
decimal.js/decimal.mjs:
|
|
13151
13147
|
(*!
|