myshell-react-lib 0.1.3 → 0.1.5
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 +440 -324
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +440 -324
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button/icon-button.styles.ts +2 -0
- package/src/components/icons/outline/FilterIcon.tsx +0 -1
- package/src/components/image.tsx +1 -0
- package/src/components/secondary-navigation-bar.tsx +41 -20
- package/src/stories/IconButton.stories.tsx +1 -1
- package/src/stories/SecondaryNavigationBar.stories.tsx +4 -4
package/dist/index.cjs
CHANGED
|
@@ -6387,7 +6387,8 @@ var iconButtonVariants = (0, import_class_variance_authority6.cva)("shrink-0 inl
|
|
|
6387
6387
|
tertiary: "border shadow-none",
|
|
6388
6388
|
plain: "",
|
|
6389
6389
|
opacity: "text-Colors-Text-Static-White bg-Colors-Beta-White-30 border border-Colors-Beta-White-12 shadow-none hover:bg-Colors-Beta-White-40 focus:shadow-cc-Focus-Rings-Brand-default active:bg-Colors-Beta-White-50 disabled:bg-Colors-Beta-White-60 disabled:text-Colors-Beta-White-80",
|
|
6390
|
-
solid: "shadow-none text-Colors-Text-Subtle bg-cc-Button-Solid-bg-default border border-cc-Button-Solid-border-default hover:bg-cc-Button-Solid-bg-hover hover:border-cc-Button-Solid-border-alt active:bg-cc-Button-Solid-bg-active disabled:text-cc-Button-Solid-fg-alt"
|
|
6390
|
+
solid: "shadow-none text-Colors-Text-Subtle bg-cc-Button-Solid-bg-default border border-cc-Button-Solid-border-default hover:bg-cc-Button-Solid-bg-hover hover:border-cc-Button-Solid-border-alt active:bg-cc-Button-Solid-bg-active disabled:text-cc-Button-Solid-fg-alt",
|
|
6391
|
+
static: "text-cc-Button-Static-fg-default border-cc-Button-Static-border-default bg-cc-Button-Static-bg-default hover:bg-cc-Button-Static-bg-hover active:bg-cc-Button-Static-bg-active disabled:bg-cc-Button-Static-bg-disabled disabled:text-cc-Button-Static-fg-alt"
|
|
6391
6392
|
},
|
|
6392
6393
|
color: {
|
|
6393
6394
|
default: "",
|
|
@@ -8699,7 +8700,7 @@ var Modal = function(_param) {
|
|
|
8699
8700
|
})
|
|
8700
8701
|
}));
|
|
8701
8702
|
}
|
|
8702
|
-
var
|
|
8703
|
+
var renderIcon3 = function(state2) {
|
|
8703
8704
|
switch(state2){
|
|
8704
8705
|
case "info":
|
|
8705
8706
|
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_InformationCircleIcon.default, {
|
|
@@ -8746,7 +8747,7 @@ var Modal = function(_param) {
|
|
|
8746
8747
|
className: cn(isNotification && "border-none !pb-3"),
|
|
8747
8748
|
children: state && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
|
|
8748
8749
|
className: cn("flex items-center justify-center w-10 h-10 rounded-full flex-shrink-0 flex-grow-0", getBackgroundColor(state)),
|
|
8749
|
-
children:
|
|
8750
|
+
children: renderIcon3(state)
|
|
8750
8751
|
})
|
|
8751
8752
|
}),
|
|
8752
8753
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", {
|
|
@@ -11471,30 +11472,140 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
|
11471
11472
|
var import_outline = require("@heroicons/react/24/outline");
|
|
11472
11473
|
var import_react14 = require("react");
|
|
11473
11474
|
var import_react_use7 = require("react-use");
|
|
11474
|
-
// src/components/
|
|
11475
|
+
// src/components/button/link-button.tsx
|
|
11476
|
+
var import_react_slot5 = require("@radix-ui/react-slot");
|
|
11477
|
+
var import_lucide_react10 = require("lucide-react");
|
|
11478
|
+
var React32 = __toESM(require("react"), 1);
|
|
11475
11479
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
11480
|
+
var LinkButton = React32.forwardRef(function(_param, ref) {
|
|
11481
|
+
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, [
|
|
11482
|
+
"className",
|
|
11483
|
+
"iconClassName",
|
|
11484
|
+
"color",
|
|
11485
|
+
"icon",
|
|
11486
|
+
"iconDirection",
|
|
11487
|
+
"size",
|
|
11488
|
+
"asChild",
|
|
11489
|
+
"loading",
|
|
11490
|
+
"noStyle",
|
|
11491
|
+
"iconOutBox",
|
|
11492
|
+
"isBlock",
|
|
11493
|
+
"disabled",
|
|
11494
|
+
"children",
|
|
11495
|
+
"autoFocus",
|
|
11496
|
+
"asset",
|
|
11497
|
+
"assetNumber"
|
|
11498
|
+
]);
|
|
11499
|
+
var Comp = asChild ? import_react_slot5.Slot : "button";
|
|
11500
|
+
var disable = disabled || loading;
|
|
11501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Comp, _object_spread_props(_object_spread({
|
|
11502
|
+
className: noStyle ? className : cn(buttonVariants({
|
|
11503
|
+
variant: "link",
|
|
11504
|
+
color: color,
|
|
11505
|
+
size: size,
|
|
11506
|
+
className: className
|
|
11507
|
+
}), disable && "!pointer-events-auto cursor-not-allowed", isBlock && "w-full"),
|
|
11508
|
+
ref: ref,
|
|
11509
|
+
disabled: disable,
|
|
11510
|
+
autoFocus: autoFocus
|
|
11511
|
+
}, props), {
|
|
11512
|
+
children: [
|
|
11513
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", {
|
|
11514
|
+
className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
|
|
11515
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.Loader2, {
|
|
11516
|
+
className: cn(iconVariants2({
|
|
11517
|
+
variant: "link",
|
|
11518
|
+
size: size
|
|
11519
|
+
}), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5")
|
|
11520
|
+
})
|
|
11521
|
+
}),
|
|
11522
|
+
!asset && icon && iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
11523
|
+
loading: loading,
|
|
11524
|
+
noStyle: noStyle,
|
|
11525
|
+
iconClassName: iconClassName,
|
|
11526
|
+
size: size
|
|
11527
|
+
}),
|
|
11528
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", {
|
|
11529
|
+
className: cn("inline-flex w-full items-center justify-center", loading ? "opacity-0" : "opacity-100"),
|
|
11530
|
+
children: [
|
|
11531
|
+
!asset && icon && !iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
11532
|
+
loading: loading,
|
|
11533
|
+
noStyle: noStyle,
|
|
11534
|
+
iconClassName: iconClassName,
|
|
11535
|
+
size: size
|
|
11536
|
+
}),
|
|
11537
|
+
children,
|
|
11538
|
+
asset ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, {
|
|
11539
|
+
children: [
|
|
11540
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Separator, {
|
|
11541
|
+
orientation: "vertical",
|
|
11542
|
+
className: cn("mx-1.5 h-3")
|
|
11543
|
+
}),
|
|
11544
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Image2, {
|
|
11545
|
+
src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : "",
|
|
11546
|
+
alt: asset,
|
|
11547
|
+
width: 16,
|
|
11548
|
+
height: 16,
|
|
11549
|
+
className: "flex-shrink-0"
|
|
11550
|
+
}),
|
|
11551
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Text, {
|
|
11552
|
+
size: "xs",
|
|
11553
|
+
className: cn("ml-0.5 text-inherit"),
|
|
11554
|
+
children: assetNumber
|
|
11555
|
+
})
|
|
11556
|
+
]
|
|
11557
|
+
}) : null,
|
|
11558
|
+
!asset && icon && !iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
11559
|
+
loading: loading,
|
|
11560
|
+
noStyle: noStyle,
|
|
11561
|
+
iconClassName: iconClassName,
|
|
11562
|
+
size: size
|
|
11563
|
+
})
|
|
11564
|
+
]
|
|
11565
|
+
}),
|
|
11566
|
+
!asset && icon && iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
11567
|
+
loading: loading,
|
|
11568
|
+
noStyle: noStyle,
|
|
11569
|
+
iconClassName: iconClassName,
|
|
11570
|
+
size: size
|
|
11571
|
+
})
|
|
11572
|
+
]
|
|
11573
|
+
}));
|
|
11574
|
+
});
|
|
11575
|
+
var renderIcon2 = function(icon, direction, param) {
|
|
11576
|
+
var loading = param.loading, noStyle = param.noStyle, iconClassName = param.iconClassName, _param_size = param.size, size = _param_size === void 0 ? "lg" : _param_size;
|
|
11577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, {
|
|
11578
|
+
component: icon,
|
|
11579
|
+
className: noStyle ? iconClassName : cn(iconVariants2({
|
|
11580
|
+
variant: "link",
|
|
11581
|
+
size: size
|
|
11582
|
+
}), direction === "left" ? "mr-0.5" : "ml-0.5", iconClassName, loading ? "opacity-0" : "opacity-100")
|
|
11583
|
+
});
|
|
11584
|
+
};
|
|
11585
|
+
LinkButton.displayName = "LinkButton";
|
|
11586
|
+
// src/components/icons/outline/FilterIcon.tsx
|
|
11587
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
11476
11588
|
function FilterIcon(param) {
|
|
11477
11589
|
var className = param.className;
|
|
11478
|
-
return /* @__PURE__ */ (0,
|
|
11590
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("svg", {
|
|
11479
11591
|
className: className,
|
|
11480
11592
|
width: "22",
|
|
11481
11593
|
height: "22",
|
|
11482
11594
|
viewBox: "0 0 22 22",
|
|
11483
11595
|
fill: "none",
|
|
11484
11596
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11485
|
-
children: /* @__PURE__ */ (0,
|
|
11597
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", {
|
|
11486
11598
|
fillRule: "evenodd",
|
|
11487
11599
|
clipRule: "evenodd",
|
|
11488
|
-
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"
|
|
11489
|
-
fill: "#3E5CFA"
|
|
11600
|
+
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"
|
|
11490
11601
|
})
|
|
11491
11602
|
});
|
|
11492
11603
|
}
|
|
11493
11604
|
var FilterIcon_default = FilterIcon;
|
|
11494
11605
|
// src/components/secondary-navigation-bar.tsx
|
|
11495
|
-
var
|
|
11606
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
11496
11607
|
function SecondaryNavigationBar(param) {
|
|
11497
|
-
var _param_showSearchBar = param.showSearchBar, showSearchBar = _param_showSearchBar === void 0 ? true : _param_showSearchBar, searchValue = param.searchValue, searchPlaceholder = param.searchPlaceholder, title = param.title, border = param.border, backUrl = param.backUrl, showClear = param.showClear, clearText = param.clearText, icons = param.icons, actions = param.actions, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? true : _param_hasBackground, avatar = param.avatar, onSearchChange = param.onSearchChange, onClear = param.onClear;
|
|
11608
|
+
var _param_showSearchBar = param.showSearchBar, showSearchBar = _param_showSearchBar === void 0 ? true : _param_showSearchBar, searchValue = param.searchValue, searchPlaceholder = param.searchPlaceholder, title = param.title, border = param.border, backUrl = param.backUrl, showClear = param.showClear, clearText = param.clearText, icons = param.icons, actions = param.actions, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? true : _param_hasBackground, avatar = param.avatar, onSearchChange = param.onSearchChange, onClear = param.onClear, onBack = param.onBack;
|
|
11498
11609
|
var isMobile2 = (0, import_react_use7.useMedia)("(max-width: 768px)");
|
|
11499
11610
|
var navbarRef = (0, import_react14.useRef)(null);
|
|
11500
11611
|
var _ref = _sliced_to_array((0, import_react14.useState)(hasBackground), 2), showBackground = _ref[0], setShowBackground = _ref[1];
|
|
@@ -11516,38 +11627,43 @@ function SecondaryNavigationBar(param) {
|
|
|
11516
11627
|
}, [
|
|
11517
11628
|
hasBackground
|
|
11518
11629
|
]);
|
|
11519
|
-
|
|
11520
|
-
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11521
11631
|
ref: navbarRef,
|
|
11522
|
-
className: cn("w-full flex flex-col md:flex-row justify-center items-center px-4 md:px-6", !isMobile2 && border && "border-b border-
|
|
11523
|
-
children: /* @__PURE__ */ (0,
|
|
11632
|
+
className: cn("w-full flex flex-col md:flex-row justify-center items-center px-4 md:px-6", !isMobile2 && border && "border-b border-default", showBackground && "bg-Colors-Background-Normal-Primary-Default"),
|
|
11633
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
|
|
11524
11634
|
className: cn("relative w-full flex justify-between items-center h-14 md:h-15"),
|
|
11525
11635
|
children: [
|
|
11526
|
-
/* @__PURE__ */ (0,
|
|
11636
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
|
|
11527
11637
|
className: cn("flex items-center", (avatar === null || avatar === void 0 ? void 0 : avatar.logo) && "min-w-[76px]"),
|
|
11528
11638
|
children: [
|
|
11529
|
-
backUrl && /* @__PURE__ */ (0,
|
|
11639
|
+
(backUrl || onBack) && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
|
|
11530
11640
|
className: "flex justify-start items-center",
|
|
11531
11641
|
children: [
|
|
11532
|
-
/* @__PURE__ */ (0,
|
|
11642
|
+
backUrl ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Link, {
|
|
11533
11643
|
href: backUrl,
|
|
11534
11644
|
className: "flex justify-center items-center",
|
|
11535
|
-
children: /* @__PURE__ */ (0,
|
|
11645
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(IconButton, {
|
|
11536
11646
|
variant: !hasBackground ? "primary" : "plain",
|
|
11537
11647
|
color: !hasBackground ? "gray" : "brand",
|
|
11538
11648
|
size: "md",
|
|
11539
11649
|
icon: import_outline.ArrowLeftIcon
|
|
11540
11650
|
})
|
|
11651
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(IconButton, {
|
|
11652
|
+
variant: !hasBackground ? "primary" : "plain",
|
|
11653
|
+
color: !hasBackground ? "gray" : "brand",
|
|
11654
|
+
size: "md",
|
|
11655
|
+
icon: import_outline.ArrowLeftIcon,
|
|
11656
|
+
onClick: onBack
|
|
11541
11657
|
}),
|
|
11542
|
-
!isMobile2 && title && /* @__PURE__ */ (0,
|
|
11658
|
+
!isMobile2 && title && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Separator, {
|
|
11543
11659
|
orientation: "vertical",
|
|
11544
11660
|
className: "h-5 ml-1.5 mr-3"
|
|
11545
11661
|
})
|
|
11546
11662
|
]
|
|
11547
11663
|
}),
|
|
11548
|
-
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ (0,
|
|
11664
|
+
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11549
11665
|
className: "flex-1 flex-shrink-0 absolute w-full md:relative md:w-auto flex items-center justify-center md:justify-start",
|
|
11550
|
-
children: /* @__PURE__ */ (0,
|
|
11666
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Display, {
|
|
11551
11667
|
size: isMobile2 ? "xs" : "sm",
|
|
11552
11668
|
className: cn("max-w-[calc(100%-168px)] md:max-w-fit flex-1 flex-shrink-0 absolute w-full md:relative md:w-auto text-center md:text-left line-clamp-1"),
|
|
11553
11669
|
children: title
|
|
@@ -11555,71 +11671,71 @@ function SecondaryNavigationBar(param) {
|
|
|
11555
11671
|
})
|
|
11556
11672
|
]
|
|
11557
11673
|
}),
|
|
11558
|
-
(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && !showSearchBar && /* @__PURE__ */ (0,
|
|
11674
|
+
(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && !showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
|
|
11559
11675
|
className: "flex-shrink-0 flex relative px-3 justify-center items-center space-x-1.5",
|
|
11560
11676
|
children: [
|
|
11561
|
-
/* @__PURE__ */ (0,
|
|
11677
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Avatar, {
|
|
11562
11678
|
size: "sm",
|
|
11563
11679
|
src: avatar.logo
|
|
11564
11680
|
}),
|
|
11565
|
-
avatar.name && !isMobile2 && /* @__PURE__ */ (0,
|
|
11681
|
+
avatar.name && !isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Text, {
|
|
11566
11682
|
size: "lg",
|
|
11567
11683
|
weight: "medium",
|
|
11568
11684
|
children: avatar.name
|
|
11569
11685
|
})
|
|
11570
11686
|
]
|
|
11571
11687
|
}),
|
|
11572
|
-
/* @__PURE__ */ (0,
|
|
11688
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11573
11689
|
className: cn("w-fit flex md:w-auto justify-end", !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && "flex-1"),
|
|
11574
|
-
children: children ? /* @__PURE__ */ (0,
|
|
11690
|
+
children: children ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11575
11691
|
className: "w-fit",
|
|
11576
11692
|
children: children
|
|
11577
|
-
}) : /* @__PURE__ */ (0,
|
|
11578
|
-
children: icons || actions ? /* @__PURE__ */ (0,
|
|
11693
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {
|
|
11694
|
+
children: icons || actions ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
|
|
11579
11695
|
className: cn("flex justify-end items-center", icons && "space-x-1 min-w-[76px]", actions && "space-x-3"),
|
|
11580
11696
|
children: [
|
|
11581
11697
|
icons && icons.map(function(icon, index) {
|
|
11582
|
-
return /* @__PURE__ */ (0,
|
|
11583
|
-
variant: !hasBackground ? "
|
|
11584
|
-
color: !hasBackground ? "
|
|
11698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(IconButton, {
|
|
11699
|
+
variant: !hasBackground ? "tertiary" : "plain",
|
|
11700
|
+
color: !hasBackground ? "default" : "brand",
|
|
11585
11701
|
size: "md",
|
|
11586
11702
|
icon: icon.icon,
|
|
11587
11703
|
onClick: icon.onClick
|
|
11588
11704
|
}, index);
|
|
11589
11705
|
}),
|
|
11590
11706
|
actions && actions.map(function(action, index) {
|
|
11591
|
-
return /* @__PURE__ */ (0,
|
|
11707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, _object_spread_props(_object_spread({
|
|
11592
11708
|
size: "md"
|
|
11593
11709
|
}, action), {
|
|
11594
11710
|
children: action.label
|
|
11595
11711
|
}), index);
|
|
11596
11712
|
})
|
|
11597
11713
|
]
|
|
11598
|
-
}) : /* @__PURE__ */ (0,
|
|
11714
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, {
|
|
11599
11715
|
children: [
|
|
11600
|
-
showClear && !isMobile2 && /* @__PURE__ */ (0,
|
|
11601
|
-
"aria-label":
|
|
11716
|
+
showClear && !isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Button, {
|
|
11717
|
+
"aria-label": clearText || "Clear Filters",
|
|
11602
11718
|
size: "md",
|
|
11603
|
-
variant: "
|
|
11719
|
+
variant: "secondary",
|
|
11604
11720
|
color: "default",
|
|
11605
|
-
className: "hidden md:flex relative text-sm
|
|
11721
|
+
className: "hidden md:flex relative text-sm font-medium ml-2 mr-3 px-4 justify-center items-center",
|
|
11606
11722
|
onClick: onClear,
|
|
11607
11723
|
children: [
|
|
11608
|
-
/* @__PURE__ */ (0,
|
|
11724
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11609
11725
|
className: "relative mr-1.5",
|
|
11610
|
-
children: /* @__PURE__ */ (0,
|
|
11611
|
-
className: "w-5 h-5"
|
|
11726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(FilterIcon_default, {
|
|
11727
|
+
className: "w-5 h-5 fill-cc-Button-Secondary-fg-default"
|
|
11612
11728
|
})
|
|
11613
11729
|
}),
|
|
11614
|
-
/* @__PURE__ */ (0,
|
|
11730
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", {
|
|
11615
11731
|
className: "hidden md:block",
|
|
11616
|
-
children:
|
|
11732
|
+
children: clearText || "Clear Filters"
|
|
11617
11733
|
})
|
|
11618
11734
|
]
|
|
11619
11735
|
}),
|
|
11620
|
-
showSearchBar && /* @__PURE__ */ (0,
|
|
11736
|
+
showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11621
11737
|
className: "relative w-full md:w-60",
|
|
11622
|
-
children: /* @__PURE__ */ (0,
|
|
11738
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SearchBar, {
|
|
11623
11739
|
color: "gray",
|
|
11624
11740
|
size: "xs",
|
|
11625
11741
|
searchValue: searchValue,
|
|
@@ -11629,16 +11745,16 @@ function SecondaryNavigationBar(param) {
|
|
|
11629
11745
|
}
|
|
11630
11746
|
})
|
|
11631
11747
|
}),
|
|
11632
|
-
showClear && isMobile2 && /* @__PURE__ */ (0,
|
|
11748
|
+
showClear && isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(IconButton, {
|
|
11633
11749
|
className: "flex-shrink-0 flex relative text-sm font-medium px-4 justify-center items-center ml-3",
|
|
11634
|
-
"aria-label":
|
|
11750
|
+
"aria-label": clearText || "Clear Filters",
|
|
11635
11751
|
size: "md",
|
|
11636
11752
|
variant: "primary",
|
|
11637
11753
|
color: "default",
|
|
11638
11754
|
onClick: onClear,
|
|
11639
|
-
children: /* @__PURE__ */ (0,
|
|
11755
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
|
|
11640
11756
|
className: "relative",
|
|
11641
|
-
children: /* @__PURE__ */ (0,
|
|
11757
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(FilterIcon_default, {})
|
|
11642
11758
|
})
|
|
11643
11759
|
})
|
|
11644
11760
|
]
|
|
@@ -11652,10 +11768,10 @@ function SecondaryNavigationBar(param) {
|
|
|
11652
11768
|
// src/components/select.tsx
|
|
11653
11769
|
var import_outline2 = require("@heroicons/react/24/outline");
|
|
11654
11770
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
11655
|
-
var
|
|
11656
|
-
var
|
|
11657
|
-
var
|
|
11658
|
-
var Select =
|
|
11771
|
+
var import_lucide_react11 = require("lucide-react");
|
|
11772
|
+
var React33 = __toESM(require("react"), 1);
|
|
11773
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
11774
|
+
var Select = React33.forwardRef(function(_param, ref) {
|
|
11659
11775
|
var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
11660
11776
|
"children",
|
|
11661
11777
|
"placeholder",
|
|
@@ -11666,26 +11782,26 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11666
11782
|
var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
|
|
11667
11783
|
return item.value === props.value;
|
|
11668
11784
|
})) === null || _options_find === void 0 ? void 0 : _options_find.icon;
|
|
11669
|
-
return /* @__PURE__ */ (0,
|
|
11670
|
-
children: Array.isArray(options) && options.length ? /* @__PURE__ */ (0,
|
|
11785
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
|
|
11786
|
+
children: Array.isArray(options) && options.length ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, {
|
|
11671
11787
|
children: [
|
|
11672
|
-
/* @__PURE__ */ (0,
|
|
11788
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectTrigger, {
|
|
11673
11789
|
className: cn(triggerClassName),
|
|
11674
|
-
children: /* @__PURE__ */ (0,
|
|
11790
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
|
|
11675
11791
|
className: "flex items-center",
|
|
11676
11792
|
children: [
|
|
11677
|
-
/* @__PURE__ */ (0,
|
|
11793
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectIcon, {
|
|
11678
11794
|
icon: icon
|
|
11679
11795
|
}),
|
|
11680
|
-
/* @__PURE__ */ (0,
|
|
11796
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, {
|
|
11681
11797
|
placeholder: placeholder
|
|
11682
11798
|
})
|
|
11683
11799
|
]
|
|
11684
11800
|
})
|
|
11685
11801
|
}),
|
|
11686
|
-
/* @__PURE__ */ (0,
|
|
11802
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectContent, {
|
|
11687
11803
|
children: options.map(function(item, i) {
|
|
11688
|
-
return /* @__PURE__ */ (0,
|
|
11804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, _object_spread_props(_object_spread({}, item), {
|
|
11689
11805
|
children: item.label
|
|
11690
11806
|
}), "".concat(item.value, "_").concat(i));
|
|
11691
11807
|
})
|
|
@@ -11696,20 +11812,20 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11696
11812
|
});
|
|
11697
11813
|
var SelectGroup = SelectPrimitive.Group;
|
|
11698
11814
|
var SelectValue = SelectPrimitive.Value;
|
|
11699
|
-
var SelectTrigger =
|
|
11815
|
+
var SelectTrigger = React33.forwardRef(function(_param, ref) {
|
|
11700
11816
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11701
11817
|
"className",
|
|
11702
11818
|
"children"
|
|
11703
11819
|
]);
|
|
11704
|
-
return /* @__PURE__ */ (0,
|
|
11820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11705
11821
|
ref: ref,
|
|
11706
11822
|
className: cn("flex h-10 w-full items-center justify-between rounded-md border border-Colors-Border-Default bg-Colors-Background-Neutral-On-Surface-Default text-Colors-Text-Default text-sm p-3 ring-offset-cc-Focus-Rings-Brand-default focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180", className)
|
|
11707
11823
|
}, props), {
|
|
11708
11824
|
children: [
|
|
11709
11825
|
children,
|
|
11710
|
-
/* @__PURE__ */ (0,
|
|
11826
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Icon, {
|
|
11711
11827
|
asChild: true,
|
|
11712
|
-
children: /* @__PURE__ */ (0,
|
|
11828
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react11.ChevronDown, {
|
|
11713
11829
|
className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
|
|
11714
11830
|
})
|
|
11715
11831
|
})
|
|
@@ -11717,47 +11833,47 @@ var SelectTrigger = React32.forwardRef(function(_param, ref) {
|
|
|
11717
11833
|
}));
|
|
11718
11834
|
});
|
|
11719
11835
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
11720
|
-
var SelectScrollUpButton =
|
|
11836
|
+
var SelectScrollUpButton = React33.forwardRef(function(_param, ref) {
|
|
11721
11837
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11722
11838
|
"className"
|
|
11723
11839
|
]);
|
|
11724
|
-
return /* @__PURE__ */ (0,
|
|
11840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
|
|
11725
11841
|
ref: ref,
|
|
11726
11842
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11727
11843
|
}, props), {
|
|
11728
|
-
children: /* @__PURE__ */ (0,
|
|
11844
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react11.ChevronUp, {
|
|
11729
11845
|
className: "h-4 w-4"
|
|
11730
11846
|
})
|
|
11731
11847
|
}));
|
|
11732
11848
|
});
|
|
11733
11849
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
11734
|
-
var SelectScrollDownButton =
|
|
11850
|
+
var SelectScrollDownButton = React33.forwardRef(function(_param, ref) {
|
|
11735
11851
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11736
11852
|
"className"
|
|
11737
11853
|
]);
|
|
11738
|
-
return /* @__PURE__ */ (0,
|
|
11854
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
|
|
11739
11855
|
ref: ref,
|
|
11740
11856
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11741
11857
|
}, props), {
|
|
11742
|
-
children: /* @__PURE__ */ (0,
|
|
11858
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react11.ChevronDown, {
|
|
11743
11859
|
className: "h-4 w-4"
|
|
11744
11860
|
})
|
|
11745
11861
|
}));
|
|
11746
11862
|
});
|
|
11747
11863
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
11748
|
-
var SelectContent =
|
|
11864
|
+
var SelectContent = React33.forwardRef(function(_param, ref) {
|
|
11749
11865
|
var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
|
|
11750
11866
|
"className",
|
|
11751
11867
|
"children",
|
|
11752
11868
|
"position"
|
|
11753
11869
|
]);
|
|
11754
|
-
return /* @__PURE__ */ (0,
|
|
11755
|
-
children: /* @__PURE__ */ (0,
|
|
11870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Portal, {
|
|
11871
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11756
11872
|
ref: ref,
|
|
11757
11873
|
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-cc-Shadows-Modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
11758
11874
|
position: position
|
|
11759
11875
|
}, props), {
|
|
11760
|
-
children: /* @__PURE__ */ (0,
|
|
11876
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Viewport, {
|
|
11761
11877
|
className: cn("p-1.5 space-y-1.5", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
11762
11878
|
children: children
|
|
11763
11879
|
})
|
|
@@ -11765,11 +11881,11 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
11765
11881
|
});
|
|
11766
11882
|
});
|
|
11767
11883
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
11768
|
-
var SelectLabel =
|
|
11884
|
+
var SelectLabel = React33.forwardRef(function(_param, ref) {
|
|
11769
11885
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11770
11886
|
"className"
|
|
11771
11887
|
]);
|
|
11772
|
-
return /* @__PURE__ */ (0,
|
|
11888
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Label, _object_spread({
|
|
11773
11889
|
ref: ref,
|
|
11774
11890
|
className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
|
|
11775
11891
|
}, props));
|
|
@@ -11780,55 +11896,55 @@ function SelectIcon(props) {
|
|
|
11780
11896
|
if (!icon) {
|
|
11781
11897
|
return null;
|
|
11782
11898
|
}
|
|
11783
|
-
return /* @__PURE__ */ (0,
|
|
11899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Icon, {
|
|
11784
11900
|
children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
|
|
11785
|
-
/* @__PURE__ */ (0,
|
|
11901
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
11786
11902
|
className: cn("aspect-[20/20] w-5 h-5 relative bg-cover bg-no-repeat rounded-md overflow-hidden mr-1.5", critical && "text-Colors-Text-Critical-Default"),
|
|
11787
11903
|
style: {
|
|
11788
11904
|
backgroundImage: "url('".concat(icon, "')")
|
|
11789
11905
|
}
|
|
11790
|
-
}) :
|
|
11791
|
-
/* @__PURE__ */ (0,
|
|
11906
|
+
}) : React33.isValidElement(icon) ? // 如果是React元素,直接渲染
|
|
11907
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
11792
11908
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11793
11909
|
children: icon
|
|
11794
11910
|
}) : // 如果是组件类型,创建元素
|
|
11795
|
-
/* @__PURE__ */ (0,
|
|
11911
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
11796
11912
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11797
|
-
children:
|
|
11913
|
+
children: React33.createElement(icon, {
|
|
11798
11914
|
className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
|
|
11799
11915
|
})
|
|
11800
11916
|
})
|
|
11801
11917
|
});
|
|
11802
11918
|
}
|
|
11803
11919
|
SelectIcon.displayName = SelectPrimitive.Icon.displayName;
|
|
11804
|
-
var SelectItem =
|
|
11920
|
+
var SelectItem = React33.forwardRef(function(_param, ref) {
|
|
11805
11921
|
var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
|
|
11806
11922
|
"className",
|
|
11807
11923
|
"children",
|
|
11808
11924
|
"icon",
|
|
11809
11925
|
"critical"
|
|
11810
11926
|
]);
|
|
11811
|
-
return /* @__PURE__ */ (0,
|
|
11927
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11812
11928
|
ref: ref,
|
|
11813
11929
|
className: cn("relative flex justify-between w-full text-sm cursor-pointer select-none items-center rounded-md py-1 px-1.5 outline-none", "bg-Colors-Background-Normal-Secondary-Alt hover:bg-Colors-Background-Normal-Primary-Hover focus:bg-Colors-Background-Neutral-Primary-Default data-[disabled]:opacity-30 data-[disabled]:cursor-not-allowed", critical ? "text-Colors-Text-Critical-Default" : "focus:text-Colors-Text-Default", className)
|
|
11814
11930
|
}, props), {
|
|
11815
11931
|
children: [
|
|
11816
|
-
/* @__PURE__ */ (0,
|
|
11932
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", {
|
|
11817
11933
|
className: "flex items-center grow",
|
|
11818
11934
|
children: [
|
|
11819
|
-
/* @__PURE__ */ (0,
|
|
11935
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectIcon, {
|
|
11820
11936
|
icon: icon,
|
|
11821
11937
|
critical: critical
|
|
11822
11938
|
}),
|
|
11823
|
-
/* @__PURE__ */ (0,
|
|
11939
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.ItemText, {
|
|
11824
11940
|
children: children
|
|
11825
11941
|
})
|
|
11826
11942
|
]
|
|
11827
11943
|
}),
|
|
11828
|
-
/* @__PURE__ */ (0,
|
|
11944
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", {
|
|
11829
11945
|
className: "flex h-4 w-4 items-center justify-center",
|
|
11830
|
-
children: /* @__PURE__ */ (0,
|
|
11831
|
-
children: /* @__PURE__ */ (0,
|
|
11946
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.ItemIndicator, {
|
|
11947
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_outline2.CheckIcon, {
|
|
11832
11948
|
className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
|
|
11833
11949
|
})
|
|
11834
11950
|
})
|
|
@@ -11837,11 +11953,11 @@ var SelectItem = React32.forwardRef(function(_param, ref) {
|
|
|
11837
11953
|
}));
|
|
11838
11954
|
});
|
|
11839
11955
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
11840
|
-
var SelectSeparator =
|
|
11956
|
+
var SelectSeparator = React33.forwardRef(function(_param, ref) {
|
|
11841
11957
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11842
11958
|
"className"
|
|
11843
11959
|
]);
|
|
11844
|
-
return /* @__PURE__ */ (0,
|
|
11960
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectPrimitive.Separator, _object_spread({
|
|
11845
11961
|
ref: ref,
|
|
11846
11962
|
className: cn("-mx-1 my-1 h-px bg-border-default", className)
|
|
11847
11963
|
}, props));
|
|
@@ -11850,18 +11966,18 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
11850
11966
|
// src/components/sheet.tsx
|
|
11851
11967
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
11852
11968
|
var import_class_variance_authority15 = require("class-variance-authority");
|
|
11853
|
-
var
|
|
11854
|
-
var
|
|
11855
|
-
var
|
|
11969
|
+
var import_lucide_react12 = require("lucide-react");
|
|
11970
|
+
var React34 = __toESM(require("react"), 1);
|
|
11971
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
11856
11972
|
var Sheet = SheetPrimitive.Root;
|
|
11857
11973
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
11858
11974
|
var SheetClose = SheetPrimitive.Close;
|
|
11859
11975
|
var SheetPortal = SheetPrimitive.Portal;
|
|
11860
|
-
var SheetOverlay =
|
|
11976
|
+
var SheetOverlay = React34.forwardRef(function(_param, ref) {
|
|
11861
11977
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11862
11978
|
"className"
|
|
11863
11979
|
]);
|
|
11864
|
-
return /* @__PURE__ */ (0,
|
|
11980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
|
|
11865
11981
|
className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
|
|
11866
11982
|
}, props), {
|
|
11867
11983
|
ref: ref
|
|
@@ -11881,16 +11997,16 @@ var sheetVariants = (0, import_class_variance_authority15.cva)("fixed z-50 gap-4
|
|
|
11881
11997
|
side: "right"
|
|
11882
11998
|
}
|
|
11883
11999
|
});
|
|
11884
|
-
var SheetContent =
|
|
12000
|
+
var SheetContent = React34.forwardRef(function(_param, ref) {
|
|
11885
12001
|
var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11886
12002
|
"side",
|
|
11887
12003
|
"className",
|
|
11888
12004
|
"children"
|
|
11889
12005
|
]);
|
|
11890
|
-
return /* @__PURE__ */ (0,
|
|
12006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(SheetPortal, {
|
|
11891
12007
|
children: [
|
|
11892
|
-
/* @__PURE__ */ (0,
|
|
11893
|
-
/* @__PURE__ */ (0,
|
|
12008
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SheetOverlay, {}),
|
|
12009
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(SheetPrimitive.Content, _object_spread_props(_object_spread({
|
|
11894
12010
|
ref: ref,
|
|
11895
12011
|
className: cn(sheetVariants({
|
|
11896
12012
|
side: side
|
|
@@ -11898,13 +12014,13 @@ var SheetContent = React33.forwardRef(function(_param, ref) {
|
|
|
11898
12014
|
}, props), {
|
|
11899
12015
|
children: [
|
|
11900
12016
|
children,
|
|
11901
|
-
/* @__PURE__ */ (0,
|
|
12017
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(SheetPrimitive.Close, {
|
|
11902
12018
|
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-slate-100 dark:ring-offset-slate-950 dark:focus:ring-slate-300 dark:data-[state=open]:bg-slate-800",
|
|
11903
12019
|
children: [
|
|
11904
|
-
/* @__PURE__ */ (0,
|
|
12020
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react12.X, {
|
|
11905
12021
|
className: "h-4 w-4"
|
|
11906
12022
|
}),
|
|
11907
|
-
/* @__PURE__ */ (0,
|
|
12023
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", {
|
|
11908
12024
|
className: "sr-only",
|
|
11909
12025
|
children: "Close"
|
|
11910
12026
|
})
|
|
@@ -11920,7 +12036,7 @@ var SheetHeader = function(_param) {
|
|
|
11920
12036
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11921
12037
|
"className"
|
|
11922
12038
|
]);
|
|
11923
|
-
return /* @__PURE__ */ (0,
|
|
12039
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", _object_spread({
|
|
11924
12040
|
className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
|
|
11925
12041
|
}, props));
|
|
11926
12042
|
};
|
|
@@ -11929,65 +12045,65 @@ var SheetFooter = function(_param) {
|
|
|
11929
12045
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11930
12046
|
"className"
|
|
11931
12047
|
]);
|
|
11932
|
-
return /* @__PURE__ */ (0,
|
|
12048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", _object_spread({
|
|
11933
12049
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
|
|
11934
12050
|
}, props));
|
|
11935
12051
|
};
|
|
11936
12052
|
SheetFooter.displayName = "SheetFooter";
|
|
11937
|
-
var SheetTitle =
|
|
12053
|
+
var SheetTitle = React34.forwardRef(function(_param, ref) {
|
|
11938
12054
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11939
12055
|
"className"
|
|
11940
12056
|
]);
|
|
11941
|
-
return /* @__PURE__ */ (0,
|
|
12057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SheetPrimitive.Title, _object_spread({
|
|
11942
12058
|
ref: ref,
|
|
11943
12059
|
className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
|
|
11944
12060
|
}, props));
|
|
11945
12061
|
});
|
|
11946
12062
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
11947
|
-
var SheetDescription =
|
|
12063
|
+
var SheetDescription = React34.forwardRef(function(_param, ref) {
|
|
11948
12064
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11949
12065
|
"className"
|
|
11950
12066
|
]);
|
|
11951
|
-
return /* @__PURE__ */ (0,
|
|
12067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SheetPrimitive.Description, _object_spread({
|
|
11952
12068
|
ref: ref,
|
|
11953
12069
|
className: cn("text-sm text-slate-500 dark:text-slate-400", className)
|
|
11954
12070
|
}, props));
|
|
11955
12071
|
});
|
|
11956
12072
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
11957
12073
|
// src/components/skeleton.tsx
|
|
11958
|
-
var
|
|
12074
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
11959
12075
|
function Skeleton(_param) {
|
|
11960
12076
|
var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
|
|
11961
12077
|
"className",
|
|
11962
12078
|
"animate"
|
|
11963
12079
|
]);
|
|
11964
|
-
return /* @__PURE__ */ (0,
|
|
12080
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", _object_spread({
|
|
11965
12081
|
className: cn("rounded-md bg-Colors-Background-Normal-Secondary-Default", className, animate && "animate-pulse")
|
|
11966
12082
|
}, props));
|
|
11967
12083
|
}
|
|
11968
12084
|
// src/components/slider.tsx
|
|
11969
12085
|
var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
|
|
11970
|
-
var
|
|
11971
|
-
var
|
|
11972
|
-
var Slider =
|
|
12086
|
+
var React35 = __toESM(require("react"), 1);
|
|
12087
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
12088
|
+
var Slider = React35.forwardRef(function(_param, ref) {
|
|
11973
12089
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
|
|
11974
12090
|
"className",
|
|
11975
12091
|
"size"
|
|
11976
12092
|
]);
|
|
11977
|
-
return /* @__PURE__ */ (0,
|
|
12093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
|
|
11978
12094
|
className: "w-full p-3 flex justify-center items-center h-10 rounded-lg border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default ring-offset-cc-Focus-Rings-Brand-default hover:border-hovered hover:bg-surface-subtle aria-[invalid=true]:border-critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-surface-accent-red-subtlest aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30",
|
|
11979
|
-
children: /* @__PURE__ */ (0,
|
|
12095
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
11980
12096
|
ref: ref,
|
|
11981
12097
|
className: cn("relative flex w-full touch-none select-none items-center", className)
|
|
11982
12098
|
}, props), {
|
|
11983
12099
|
children: [
|
|
11984
|
-
/* @__PURE__ */ (0,
|
|
12100
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Track, {
|
|
11985
12101
|
className: cn("relative w-full grow overflow-hidden rounded-full bg-Colors-Background-Neutral-Primary-Hover data-[disabled]:opacity-30", size === "sm" ? "h-0.5" : "h-1.5"),
|
|
11986
|
-
children: /* @__PURE__ */ (0,
|
|
12102
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Range, {
|
|
11987
12103
|
className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
|
|
11988
12104
|
})
|
|
11989
12105
|
}),
|
|
11990
|
-
/* @__PURE__ */ (0,
|
|
12106
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Thumb, {
|
|
11991
12107
|
className: cn("block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default ring-offset-cc-Focus-Rings-Brand-default transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", size === "sm" ? "w-2 h-2 border-[1.5px]" : "w-5 h-5 border-[3px]")
|
|
11992
12108
|
})
|
|
11993
12109
|
]
|
|
@@ -11995,7 +12111,7 @@ var Slider = React34.forwardRef(function(_param, ref) {
|
|
|
11995
12111
|
});
|
|
11996
12112
|
});
|
|
11997
12113
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
11998
|
-
var SliderSingle =
|
|
12114
|
+
var SliderSingle = React35.forwardRef(function(_param, ref) {
|
|
11999
12115
|
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, [
|
|
12000
12116
|
"className",
|
|
12001
12117
|
"containerClassName",
|
|
@@ -12009,12 +12125,12 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12009
12125
|
"onValueCommit",
|
|
12010
12126
|
"settable"
|
|
12011
12127
|
]);
|
|
12012
|
-
return /* @__PURE__ */ (0,
|
|
12128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", {
|
|
12013
12129
|
className: "flex w-full items-center space-x-1.5",
|
|
12014
12130
|
children: [
|
|
12015
|
-
/* @__PURE__ */ (0,
|
|
12131
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
|
|
12016
12132
|
className: cn("w-full p-3 flex justify-center items-center h-10 rounded-lg border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default ring-offset-cc-Focus-Rings-Brand-default hover:border-hovered hover:bg-surface-subtle aria-[invalid=true]:border-critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-surface-accent-red-subtlest aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", containerClassName),
|
|
12017
|
-
children: /* @__PURE__ */ (0,
|
|
12133
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
12018
12134
|
ref: ref,
|
|
12019
12135
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
12020
12136
|
value: typeof value1 === "number" ? [
|
|
@@ -12031,21 +12147,21 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12031
12147
|
}
|
|
12032
12148
|
}, props), {
|
|
12033
12149
|
children: [
|
|
12034
|
-
/* @__PURE__ */ (0,
|
|
12150
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Track, {
|
|
12035
12151
|
className: cn("relative w-full grow overflow-hidden rounded-full bg-Colors-Background-Neutral-Primary-Hover data-[disabled]:opacity-30", size === "sm" ? "h-0.5" : "h-1.5", trackClassName),
|
|
12036
|
-
children: /* @__PURE__ */ (0,
|
|
12152
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Range, {
|
|
12037
12153
|
className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
|
|
12038
12154
|
})
|
|
12039
12155
|
}),
|
|
12040
|
-
/* @__PURE__ */ (0,
|
|
12156
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SliderPrimitive.Thumb, {
|
|
12041
12157
|
className: cn("cursor-pointer block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default ring-offset-cc-Focus-Rings-Brand-default transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", size === "sm" ? "w-2 h-2 border-[1.5px]" : "w-5 h-5 border-[3px]", thumbClassName)
|
|
12042
12158
|
})
|
|
12043
12159
|
]
|
|
12044
12160
|
}))
|
|
12045
12161
|
}),
|
|
12046
|
-
settable && /* @__PURE__ */ (0,
|
|
12162
|
+
settable && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
|
|
12047
12163
|
className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-lg",
|
|
12048
|
-
children: /* @__PURE__ */ (0,
|
|
12164
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(NumberInput, {
|
|
12049
12165
|
value: value1,
|
|
12050
12166
|
min: props === null || props === void 0 ? void 0 : props.min,
|
|
12051
12167
|
max: props === null || props === void 0 ? void 0 : props.max,
|
|
@@ -12063,8 +12179,8 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12063
12179
|
SliderSingle.displayName = "SliderSingle";
|
|
12064
12180
|
// src/components/spinner.tsx
|
|
12065
12181
|
var import_class_variance_authority16 = require("class-variance-authority");
|
|
12066
|
-
var
|
|
12067
|
-
var
|
|
12182
|
+
var import_lucide_react13 = require("lucide-react");
|
|
12183
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
12068
12184
|
var spinnerVariants = (0, import_class_variance_authority16.cva)("animate-spin", {
|
|
12069
12185
|
variants: {
|
|
12070
12186
|
size: {
|
|
@@ -12096,7 +12212,7 @@ var spinnerVariants = (0, import_class_variance_authority16.cva)("animate-spin",
|
|
|
12096
12212
|
});
|
|
12097
12213
|
function Spinner(props) {
|
|
12098
12214
|
var size = props.size, speed = props.speed, color = props.color, className = props.className;
|
|
12099
|
-
return /* @__PURE__ */ (0,
|
|
12215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react13.Loader2, {
|
|
12100
12216
|
className: cn(spinnerVariants({
|
|
12101
12217
|
size: size,
|
|
12102
12218
|
speed: speed,
|
|
@@ -12107,8 +12223,8 @@ function Spinner(props) {
|
|
|
12107
12223
|
// src/components/switch.tsx
|
|
12108
12224
|
var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
|
|
12109
12225
|
var import_class_variance_authority17 = require("class-variance-authority");
|
|
12110
|
-
var
|
|
12111
|
-
var
|
|
12226
|
+
var React36 = __toESM(require("react"), 1);
|
|
12227
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
12112
12228
|
var switchSize = {
|
|
12113
12229
|
sm: "w-7 h-4",
|
|
12114
12230
|
md: "w-[34px] h-5",
|
|
@@ -12134,30 +12250,30 @@ var switchThumbVariants = (0, import_class_variance_authority17.cva)("pointer-ev
|
|
|
12134
12250
|
size: "lg"
|
|
12135
12251
|
}
|
|
12136
12252
|
});
|
|
12137
|
-
var Switch =
|
|
12253
|
+
var Switch = React36.forwardRef(function(_param, ref) {
|
|
12138
12254
|
var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, props = _object_without_properties(_param, [
|
|
12139
12255
|
"className",
|
|
12140
12256
|
"size",
|
|
12141
12257
|
"label",
|
|
12142
12258
|
"labelClassName"
|
|
12143
12259
|
]);
|
|
12144
|
-
var Component = label ? "div" :
|
|
12145
|
-
return /* @__PURE__ */ (0,
|
|
12260
|
+
var Component = label ? "div" : React36.Fragment;
|
|
12261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Component, {
|
|
12146
12262
|
className: "flex items-center justify-center space-x-1.5 text-Colors-Text-Default",
|
|
12147
12263
|
children: [
|
|
12148
|
-
/* @__PURE__ */ (0,
|
|
12264
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(SwitchPrimitives.Root, _object_spread_props(_object_spread({
|
|
12149
12265
|
className: cn(switchRootVariants({
|
|
12150
12266
|
size: size
|
|
12151
12267
|
}), className, "")
|
|
12152
12268
|
}, props), {
|
|
12153
12269
|
ref: ref,
|
|
12154
|
-
children: /* @__PURE__ */ (0,
|
|
12270
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(SwitchPrimitives.Thumb, {
|
|
12155
12271
|
className: cn(switchThumbVariants({
|
|
12156
12272
|
size: size
|
|
12157
12273
|
}))
|
|
12158
12274
|
})
|
|
12159
12275
|
})),
|
|
12160
|
-
label && /* @__PURE__ */ (0,
|
|
12276
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", {
|
|
12161
12277
|
className: cn("text-sm", labelClassName),
|
|
12162
12278
|
children: label
|
|
12163
12279
|
})
|
|
@@ -12168,8 +12284,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
12168
12284
|
// src/components/tabs.tsx
|
|
12169
12285
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
|
|
12170
12286
|
var import_class_variance_authority18 = require("class-variance-authority");
|
|
12171
|
-
var
|
|
12172
|
-
var
|
|
12287
|
+
var React37 = __toESM(require("react"), 1);
|
|
12288
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
12173
12289
|
var tabListVariants = (0, import_class_variance_authority18.cva)("relative inline-flex items-center justify-center overflow-hidden", {
|
|
12174
12290
|
variants: {
|
|
12175
12291
|
size: {
|
|
@@ -12280,7 +12396,7 @@ var tabVariants = (0, import_class_variance_authority18.cva)("relative inline-fl
|
|
|
12280
12396
|
rounded: "default"
|
|
12281
12397
|
}
|
|
12282
12398
|
});
|
|
12283
|
-
var Tabs =
|
|
12399
|
+
var Tabs = React37.forwardRef(function(_param, ref) {
|
|
12284
12400
|
var className = _param.className, listClassName = _param.listClassName, _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, [
|
|
12285
12401
|
"className",
|
|
12286
12402
|
"listClassName",
|
|
@@ -12290,14 +12406,14 @@ var Tabs = React36.forwardRef(function(_param, ref) {
|
|
|
12290
12406
|
"rounded",
|
|
12291
12407
|
"items"
|
|
12292
12408
|
]);
|
|
12293
|
-
return /* @__PURE__ */ (0,
|
|
12409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(TabsPrimitive.Root, _object_spread_props(_object_spread({
|
|
12294
12410
|
ref: ref,
|
|
12295
12411
|
className: cn(className)
|
|
12296
12412
|
}, props), {
|
|
12297
12413
|
children: [
|
|
12298
|
-
/* @__PURE__ */ (0,
|
|
12414
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
|
|
12299
12415
|
className: "w-full flex justify-center items-center",
|
|
12300
|
-
children: /* @__PURE__ */ (0,
|
|
12416
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
12301
12417
|
ref: ref,
|
|
12302
12418
|
className: cn("", tabListVariants({
|
|
12303
12419
|
variant: variant,
|
|
@@ -12306,7 +12422,7 @@ var Tabs = React36.forwardRef(function(_param, ref) {
|
|
|
12306
12422
|
}), listClassName)
|
|
12307
12423
|
}, props), {
|
|
12308
12424
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
12309
|
-
return /* @__PURE__ */ (0,
|
|
12425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Tab, _object_spread({
|
|
12310
12426
|
isLink: isLink,
|
|
12311
12427
|
variant: variant,
|
|
12312
12428
|
size: size,
|
|
@@ -12315,10 +12431,10 @@ var Tabs = React36.forwardRef(function(_param, ref) {
|
|
|
12315
12431
|
})
|
|
12316
12432
|
}))
|
|
12317
12433
|
}),
|
|
12318
|
-
!isLink && /* @__PURE__ */ (0,
|
|
12434
|
+
!isLink && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
|
|
12319
12435
|
className: "w-full",
|
|
12320
12436
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
12321
|
-
return /* @__PURE__ */ (0,
|
|
12437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TabsContent, {
|
|
12322
12438
|
value: item.value,
|
|
12323
12439
|
children: item.children
|
|
12324
12440
|
});
|
|
@@ -12328,7 +12444,7 @@ var Tabs = React36.forwardRef(function(_param, ref) {
|
|
|
12328
12444
|
}));
|
|
12329
12445
|
});
|
|
12330
12446
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
12331
|
-
var Tab =
|
|
12447
|
+
var Tab = React37.forwardRef(function(_param, ref) {
|
|
12332
12448
|
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, [
|
|
12333
12449
|
"className",
|
|
12334
12450
|
"variant",
|
|
@@ -12343,10 +12459,10 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12343
12459
|
"rounded",
|
|
12344
12460
|
"onClickCallback"
|
|
12345
12461
|
]);
|
|
12346
|
-
return /* @__PURE__ */ (0,
|
|
12462
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Tooltip, _object_spread_props(_object_spread({
|
|
12347
12463
|
triggerClassName: "w-full h-full flex-1"
|
|
12348
12464
|
}, tooltip), {
|
|
12349
|
-
children: /* @__PURE__ */ (0,
|
|
12465
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
12350
12466
|
ref: ref,
|
|
12351
12467
|
className: cn("tabtrigger min-w-fit", tabVariants({
|
|
12352
12468
|
variant: variant,
|
|
@@ -12358,7 +12474,7 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12358
12474
|
e.stopPropagation();
|
|
12359
12475
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(props.value);
|
|
12360
12476
|
},
|
|
12361
|
-
children: isLink && link ? /* @__PURE__ */ (0,
|
|
12477
|
+
children: isLink && link ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(link_default, {
|
|
12362
12478
|
prefetch: true,
|
|
12363
12479
|
href: link,
|
|
12364
12480
|
className: cn("relative h-full w-full flex justify-center items-center"),
|
|
@@ -12369,28 +12485,28 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12369
12485
|
},
|
|
12370
12486
|
children: [
|
|
12371
12487
|
label,
|
|
12372
|
-
hasUnRead && /* @__PURE__ */ (0,
|
|
12488
|
+
hasUnRead && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge, {
|
|
12373
12489
|
className: "-mt-2.5"
|
|
12374
12490
|
})
|
|
12375
12491
|
]
|
|
12376
|
-
}) : /* @__PURE__ */ (0,
|
|
12492
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
|
|
12377
12493
|
className: "relative flex justify-center items-center",
|
|
12378
12494
|
children: [
|
|
12379
|
-
label && /* @__PURE__ */ (0,
|
|
12495
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, {
|
|
12380
12496
|
className: "text-inherit",
|
|
12381
12497
|
children: label
|
|
12382
12498
|
}),
|
|
12383
|
-
icon && /* @__PURE__ */ (0,
|
|
12499
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, {
|
|
12384
12500
|
component: icon,
|
|
12385
12501
|
size: "md",
|
|
12386
12502
|
className: "text-inherit"
|
|
12387
12503
|
}),
|
|
12388
|
-
count2 ? /* @__PURE__ */ (0,
|
|
12504
|
+
count2 ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, {
|
|
12389
12505
|
size: "sm",
|
|
12390
12506
|
className: "ml-1 text-Colors-Text-Subtlest",
|
|
12391
12507
|
children: count2
|
|
12392
12508
|
}) : null,
|
|
12393
|
-
hasUnRead && /* @__PURE__ */ (0,
|
|
12509
|
+
hasUnRead && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge, {
|
|
12394
12510
|
className: "-mt-2.5"
|
|
12395
12511
|
})
|
|
12396
12512
|
]
|
|
@@ -12399,20 +12515,20 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12399
12515
|
}));
|
|
12400
12516
|
});
|
|
12401
12517
|
Tab.displayName = TabsPrimitive.Trigger.displayName;
|
|
12402
|
-
var TabsContent =
|
|
12518
|
+
var TabsContent = React37.forwardRef(function(_param, ref) {
|
|
12403
12519
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12404
12520
|
"className"
|
|
12405
12521
|
]);
|
|
12406
|
-
return /* @__PURE__ */ (0,
|
|
12522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TabsPrimitive.Content, _object_spread({
|
|
12407
12523
|
ref: ref,
|
|
12408
12524
|
className: cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-0", className)
|
|
12409
12525
|
}, props));
|
|
12410
12526
|
});
|
|
12411
12527
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
12412
12528
|
// src/components/textarea.tsx
|
|
12413
|
-
var
|
|
12414
|
-
var
|
|
12415
|
-
var Textarea =
|
|
12529
|
+
var React38 = __toESM(require("react"), 1);
|
|
12530
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
12531
|
+
var Textarea = React38.forwardRef(function(_param, ref) {
|
|
12416
12532
|
var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
|
|
12417
12533
|
"className",
|
|
12418
12534
|
"maxLength",
|
|
@@ -12421,20 +12537,20 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
12421
12537
|
"maxLengthClassName"
|
|
12422
12538
|
]);
|
|
12423
12539
|
var _value_toString, _value_toString1;
|
|
12424
|
-
return /* @__PURE__ */ (0,
|
|
12540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", {
|
|
12425
12541
|
children: [
|
|
12426
|
-
/* @__PURE__ */ (0,
|
|
12542
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", {
|
|
12427
12543
|
className: "relative",
|
|
12428
12544
|
children: [
|
|
12429
|
-
/* @__PURE__ */ (0,
|
|
12545
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("textarea", _object_spread({
|
|
12430
12546
|
className: cn("w-full min-h-[123px] p-3 pb-10 rounded-lg border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest ring-offset-cc-Focus-Rings-Brand-default", "hover:border-hovered bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
|
|
12431
12547
|
ref: ref,
|
|
12432
12548
|
maxLength: maxLength,
|
|
12433
12549
|
value: value1
|
|
12434
12550
|
}, props)),
|
|
12435
|
-
maxLength ? /* @__PURE__ */ (0,
|
|
12551
|
+
maxLength ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", {
|
|
12436
12552
|
className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
|
|
12437
|
-
children: /* @__PURE__ */ (0,
|
|
12553
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, {
|
|
12438
12554
|
size: "sm",
|
|
12439
12555
|
color: "subtlest",
|
|
12440
12556
|
children: "".concat((value1 === null || value1 === void 0 ? void 0 : (_value_toString1 = value1.toString()) === null || _value_toString1 === void 0 ? void 0 : _value_toString1.length) || 0, "/").concat(maxLength)
|
|
@@ -12442,9 +12558,9 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
12442
12558
|
}) : null
|
|
12443
12559
|
]
|
|
12444
12560
|
}),
|
|
12445
|
-
error && /* @__PURE__ */ (0,
|
|
12561
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", {
|
|
12446
12562
|
className: "w-full",
|
|
12447
|
-
children: /* @__PURE__ */ (0,
|
|
12563
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, {
|
|
12448
12564
|
className: "text-wrap",
|
|
12449
12565
|
size: "sm",
|
|
12450
12566
|
weight: "regular",
|
|
@@ -12459,8 +12575,8 @@ Textarea.displayName = "Textarea";
|
|
|
12459
12575
|
// src/components/toggle.tsx
|
|
12460
12576
|
var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
|
|
12461
12577
|
var import_class_variance_authority19 = require("class-variance-authority");
|
|
12462
|
-
var
|
|
12463
|
-
var
|
|
12578
|
+
var React39 = __toESM(require("react"), 1);
|
|
12579
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
12464
12580
|
var toggleVariants = (0, import_class_variance_authority19.cva)("inline-flex items-center justify-center rounded-md 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", {
|
|
12465
12581
|
variants: {
|
|
12466
12582
|
variant: {
|
|
@@ -12479,13 +12595,13 @@ var toggleVariants = (0, import_class_variance_authority19.cva)("inline-flex ite
|
|
|
12479
12595
|
size: "default"
|
|
12480
12596
|
}
|
|
12481
12597
|
});
|
|
12482
|
-
var Toggle =
|
|
12598
|
+
var Toggle = React39.forwardRef(function(_param, ref) {
|
|
12483
12599
|
var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12484
12600
|
"className",
|
|
12485
12601
|
"variant",
|
|
12486
12602
|
"size"
|
|
12487
12603
|
]);
|
|
12488
|
-
return /* @__PURE__ */ (0,
|
|
12604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TogglePrimitive.Root, _object_spread({
|
|
12489
12605
|
ref: ref,
|
|
12490
12606
|
className: cn(toggleVariants({
|
|
12491
12607
|
variant: variant,
|
|
@@ -12497,24 +12613,24 @@ var Toggle = React38.forwardRef(function(_param, ref) {
|
|
|
12497
12613
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
12498
12614
|
// src/components/toggle-group.tsx
|
|
12499
12615
|
var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
|
|
12500
|
-
var
|
|
12501
|
-
var
|
|
12502
|
-
var ToggleGroupContext =
|
|
12616
|
+
var React40 = __toESM(require("react"), 1);
|
|
12617
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
12618
|
+
var ToggleGroupContext = React40.createContext({
|
|
12503
12619
|
size: "default",
|
|
12504
12620
|
variant: "default"
|
|
12505
12621
|
});
|
|
12506
|
-
var ToggleGroup =
|
|
12622
|
+
var ToggleGroup = React40.forwardRef(function(_param, ref) {
|
|
12507
12623
|
var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
|
|
12508
12624
|
"className",
|
|
12509
12625
|
"variant",
|
|
12510
12626
|
"size",
|
|
12511
12627
|
"children"
|
|
12512
12628
|
]);
|
|
12513
|
-
return /* @__PURE__ */ (0,
|
|
12629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
|
|
12514
12630
|
ref: ref,
|
|
12515
12631
|
className: cn("flex items-center justify-center gap-1 p-0.5 rounded-md border border-Colors-Border-Default bg-Colors-Background-Neutral-Primary-Default", className)
|
|
12516
12632
|
}, props), {
|
|
12517
|
-
children: /* @__PURE__ */ (0,
|
|
12633
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ToggleGroupContext.Provider, {
|
|
12518
12634
|
value: {
|
|
12519
12635
|
variant: variant,
|
|
12520
12636
|
size: size
|
|
@@ -12524,15 +12640,15 @@ var ToggleGroup = React39.forwardRef(function(_param, ref) {
|
|
|
12524
12640
|
}));
|
|
12525
12641
|
});
|
|
12526
12642
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
12527
|
-
var ToggleGroupItem =
|
|
12643
|
+
var ToggleGroupItem = React40.forwardRef(function(_param, ref) {
|
|
12528
12644
|
var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12529
12645
|
"className",
|
|
12530
12646
|
"children",
|
|
12531
12647
|
"variant",
|
|
12532
12648
|
"size"
|
|
12533
12649
|
]);
|
|
12534
|
-
var context =
|
|
12535
|
-
return /* @__PURE__ */ (0,
|
|
12650
|
+
var context = React40.useContext(ToggleGroupContext);
|
|
12651
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
12536
12652
|
ref: ref,
|
|
12537
12653
|
className: cn(toggleVariants({
|
|
12538
12654
|
variant: context.variant || variant,
|
|
@@ -12546,9 +12662,9 @@ ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
|
12546
12662
|
// src/components/toast/toast.tsx
|
|
12547
12663
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"), 1);
|
|
12548
12664
|
var import_class_variance_authority20 = require("class-variance-authority");
|
|
12549
|
-
var
|
|
12665
|
+
var React41 = __toESM(require("react"), 1);
|
|
12550
12666
|
var import_XMarkIcon3 = __toESM(require("@heroicons/react/24/outline/esm/XMarkIcon"), 1);
|
|
12551
|
-
var
|
|
12667
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
12552
12668
|
var ToastProvider = ToastPrimitives.Provider;
|
|
12553
12669
|
var viewportPositionVariants = (0, import_class_variance_authority20.cva)("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
|
|
12554
12670
|
variants: {
|
|
@@ -12567,12 +12683,12 @@ var viewportPositionVariants = (0, import_class_variance_authority20.cva)("fixed
|
|
|
12567
12683
|
position: "top-right"
|
|
12568
12684
|
}
|
|
12569
12685
|
});
|
|
12570
|
-
var ToastViewport =
|
|
12686
|
+
var ToastViewport = React41.forwardRef(function(_param, ref) {
|
|
12571
12687
|
var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
|
|
12572
12688
|
"className",
|
|
12573
12689
|
"position"
|
|
12574
12690
|
]);
|
|
12575
|
-
return /* @__PURE__ */ (0,
|
|
12691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Viewport, _object_spread({
|
|
12576
12692
|
ref: ref,
|
|
12577
12693
|
className: cn(viewportPositionVariants({
|
|
12578
12694
|
position: position
|
|
@@ -12604,13 +12720,13 @@ var toastVariants = (0, import_class_variance_authority20.cva)("group pointer-ev
|
|
|
12604
12720
|
position: "top-right"
|
|
12605
12721
|
}
|
|
12606
12722
|
});
|
|
12607
|
-
var Toast =
|
|
12723
|
+
var Toast = React41.forwardRef(function(_param, ref) {
|
|
12608
12724
|
var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
|
|
12609
12725
|
"className",
|
|
12610
12726
|
"variant",
|
|
12611
12727
|
"position"
|
|
12612
12728
|
]);
|
|
12613
|
-
return /* @__PURE__ */ (0,
|
|
12729
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Root, _object_spread({
|
|
12614
12730
|
ref: ref,
|
|
12615
12731
|
className: cn(toastVariants({
|
|
12616
12732
|
variant: variant,
|
|
@@ -12620,46 +12736,46 @@ var Toast = React40.forwardRef(function(_param, ref) {
|
|
|
12620
12736
|
}, props));
|
|
12621
12737
|
});
|
|
12622
12738
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
12623
|
-
var ToastAction =
|
|
12739
|
+
var ToastAction = React41.forwardRef(function(_param, ref) {
|
|
12624
12740
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12625
12741
|
"className"
|
|
12626
12742
|
]);
|
|
12627
|
-
return /* @__PURE__ */ (0,
|
|
12743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Action, _object_spread({
|
|
12628
12744
|
ref: ref,
|
|
12629
12745
|
className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-transparent px-3 text-sm font-medium ring-offset-white transition-colors hover:bg-slate-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-slate-100/40 group-[.destructive]:hover:border-red-500/30 group-[.destructive]:hover:bg-red-500 group-[.destructive]:hover:text-slate-50 group-[.destructive]:focus:ring-red-500 dark:border-slate-800 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:focus:ring-slate-300 dark:group-[.destructive]:border-slate-800/40 dark:group-[.destructive]:hover:border-red-900/30 dark:group-[.destructive]:hover:bg-red-900 dark:group-[.destructive]:hover:text-slate-50 dark:group-[.destructive]:focus:ring-red-900", className)
|
|
12630
12746
|
}, props));
|
|
12631
12747
|
});
|
|
12632
12748
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
12633
|
-
var ToastClose =
|
|
12749
|
+
var ToastClose = React41.forwardRef(function(_param, ref) {
|
|
12634
12750
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12635
12751
|
"className"
|
|
12636
12752
|
]);
|
|
12637
|
-
return /* @__PURE__ */ (0,
|
|
12753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
12638
12754
|
ref: ref,
|
|
12639
12755
|
className: cn("absolute right-4 top-4 rounded-md p-1 text-slate-950/50 transition-opacity hover:text-slate-950 outline-none focus:outline-none focus:ring-2 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 dark:text-slate-50/50 dark:hover:text-slate-50", className),
|
|
12640
12756
|
"toast-close": ""
|
|
12641
12757
|
}, props), {
|
|
12642
|
-
children: /* @__PURE__ */ (0,
|
|
12758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_XMarkIcon3.default, {
|
|
12643
12759
|
className: "h-5 w-5"
|
|
12644
12760
|
})
|
|
12645
12761
|
}));
|
|
12646
12762
|
});
|
|
12647
12763
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
12648
|
-
var ToastTitle =
|
|
12764
|
+
var ToastTitle = React41.forwardRef(function(_param, ref) {
|
|
12649
12765
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12650
12766
|
"className"
|
|
12651
12767
|
]);
|
|
12652
|
-
return /* @__PURE__ */ (0,
|
|
12768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Title, _object_spread({
|
|
12653
12769
|
ref: ref,
|
|
12654
12770
|
className: cn("text-sm font-semibold", className)
|
|
12655
12771
|
}, props));
|
|
12656
12772
|
});
|
|
12657
12773
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
12658
|
-
var ToastDescription =
|
|
12774
|
+
var ToastDescription = React41.forwardRef(function(_param, ref) {
|
|
12659
12775
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12660
12776
|
"className"
|
|
12661
12777
|
]);
|
|
12662
|
-
return /* @__PURE__ */ (0,
|
|
12778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastPrimitives.Description, _object_spread({
|
|
12663
12779
|
ref: ref,
|
|
12664
12780
|
className: cn("text-sm opacity-90", className)
|
|
12665
12781
|
}, props));
|
|
@@ -12671,8 +12787,8 @@ var import_ExclamationCircleIcon = __toESM(require("@heroicons/react/24/outline/
|
|
|
12671
12787
|
var import_InformationCircleIcon2 = __toESM(require("@heroicons/react/24/outline/esm/InformationCircleIcon"), 1);
|
|
12672
12788
|
var import_XCircleIcon2 = __toESM(require("@heroicons/react/24/outline/esm/XCircleIcon"), 1);
|
|
12673
12789
|
// src/components/toast/use-toast.tsx
|
|
12674
|
-
var
|
|
12675
|
-
var
|
|
12790
|
+
var React42 = __toESM(require("react"), 1);
|
|
12791
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
12676
12792
|
var TOAST_LIMIT = 8;
|
|
12677
12793
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
12678
12794
|
var count = 0;
|
|
@@ -12775,10 +12891,10 @@ function toast(_param) {
|
|
|
12775
12891
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
12776
12892
|
position: position
|
|
12777
12893
|
}), actions && {
|
|
12778
|
-
action: /* @__PURE__ */ (0,
|
|
12894
|
+
action: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", {
|
|
12779
12895
|
className: "flex justify-start items-center gap-2",
|
|
12780
12896
|
children: [
|
|
12781
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ (0,
|
|
12897
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Text, {
|
|
12782
12898
|
size: "sm",
|
|
12783
12899
|
weight: "medium",
|
|
12784
12900
|
color: "brand",
|
|
@@ -12788,13 +12904,13 @@ function toast(_param) {
|
|
|
12788
12904
|
},
|
|
12789
12905
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
12790
12906
|
}),
|
|
12791
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ (0,
|
|
12907
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(link_default, {
|
|
12792
12908
|
href: actions.viewUrl,
|
|
12793
12909
|
target: "_blank",
|
|
12794
12910
|
rel: "noreferrer noopener",
|
|
12795
|
-
children: /* @__PURE__ */ (0,
|
|
12911
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", {
|
|
12796
12912
|
className: "flex items-center gap-1.5",
|
|
12797
|
-
children: /* @__PURE__ */ (0,
|
|
12913
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Text, {
|
|
12798
12914
|
size: "sm",
|
|
12799
12915
|
weight: "medium",
|
|
12800
12916
|
color: "default",
|
|
@@ -12820,8 +12936,8 @@ function toast(_param) {
|
|
|
12820
12936
|
};
|
|
12821
12937
|
}
|
|
12822
12938
|
function useToast() {
|
|
12823
|
-
var
|
|
12824
|
-
|
|
12939
|
+
var _React42_useState = _sliced_to_array(React42.useState(memoryState), 2), state = _React42_useState[0], setState = _React42_useState[1];
|
|
12940
|
+
React42.useEffect(function() {
|
|
12825
12941
|
listeners.push(setState);
|
|
12826
12942
|
return function() {
|
|
12827
12943
|
var index = listeners.indexOf(setState);
|
|
@@ -12844,7 +12960,7 @@ function useToast() {
|
|
|
12844
12960
|
}
|
|
12845
12961
|
// src/components/toast/toaster.tsx
|
|
12846
12962
|
var import_react15 = __toESM(require("react"), 1);
|
|
12847
|
-
var
|
|
12963
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
12848
12964
|
function Toaster() {
|
|
12849
12965
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
12850
12966
|
var toasts = useToast().toasts;
|
|
@@ -12878,22 +12994,22 @@ function Toaster() {
|
|
|
12878
12994
|
]);
|
|
12879
12995
|
var renderToast = function(toast4) {
|
|
12880
12996
|
var id = toast4.id, title = toast4.title, description = toast4.description, action = toast4.action, variant = toast4.variant, toastPosition = toast4.position;
|
|
12881
|
-
var
|
|
12997
|
+
var renderIcon3 = function(variant2) {
|
|
12882
12998
|
switch(variant2){
|
|
12883
12999
|
case "info":
|
|
12884
|
-
return /* @__PURE__ */ (0,
|
|
13000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_InformationCircleIcon2.default, {
|
|
12885
13001
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12886
13002
|
});
|
|
12887
13003
|
case "success":
|
|
12888
|
-
return /* @__PURE__ */ (0,
|
|
13004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_CheckCircleIcon2.default, {
|
|
12889
13005
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12890
13006
|
});
|
|
12891
13007
|
case "warning":
|
|
12892
|
-
return /* @__PURE__ */ (0,
|
|
13008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_ExclamationCircleIcon.default, {
|
|
12893
13009
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12894
13010
|
});
|
|
12895
13011
|
case "error":
|
|
12896
|
-
return /* @__PURE__ */ (0,
|
|
13012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_XCircleIcon2.default, {
|
|
12897
13013
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12898
13014
|
});
|
|
12899
13015
|
}
|
|
@@ -12910,26 +13026,26 @@ function Toaster() {
|
|
|
12910
13026
|
return "bg-Colors-Background-Critical-Default";
|
|
12911
13027
|
}
|
|
12912
13028
|
};
|
|
12913
|
-
return /* @__PURE__ */ (0,
|
|
13029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
12914
13030
|
position: toastPosition,
|
|
12915
13031
|
children: [
|
|
12916
|
-
/* @__PURE__ */ (0,
|
|
13032
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
|
|
12917
13033
|
className: "flex flex-col gap-3",
|
|
12918
|
-
children: /* @__PURE__ */ (0,
|
|
13034
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", {
|
|
12919
13035
|
className: "flex items-start gap-3",
|
|
12920
13036
|
children: [
|
|
12921
|
-
/* @__PURE__ */ (0,
|
|
13037
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
|
|
12922
13038
|
className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
12923
|
-
children:
|
|
13039
|
+
children: renderIcon3(variant)
|
|
12924
13040
|
}),
|
|
12925
|
-
/* @__PURE__ */ (0,
|
|
13041
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", {
|
|
12926
13042
|
className: "grid gap-1",
|
|
12927
13043
|
children: [
|
|
12928
|
-
title && /* @__PURE__ */ (0,
|
|
13044
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ToastTitle, {
|
|
12929
13045
|
className: "text-base text-Colors-Text-Default",
|
|
12930
13046
|
children: title
|
|
12931
13047
|
}),
|
|
12932
|
-
description && /* @__PURE__ */ (0,
|
|
13048
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ToastDescription, {
|
|
12933
13049
|
className: "text-sm text-Colors-Text-Subtle",
|
|
12934
13050
|
children: description
|
|
12935
13051
|
}),
|
|
@@ -12939,17 +13055,17 @@ function Toaster() {
|
|
|
12939
13055
|
]
|
|
12940
13056
|
})
|
|
12941
13057
|
}),
|
|
12942
|
-
/* @__PURE__ */ (0,
|
|
13058
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ToastClose, {})
|
|
12943
13059
|
]
|
|
12944
13060
|
}), id);
|
|
12945
13061
|
};
|
|
12946
|
-
return /* @__PURE__ */ (0,
|
|
13062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ToastProvider, {
|
|
12947
13063
|
children: Object.entries(positionGroups).map(function(param) {
|
|
12948
13064
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
12949
|
-
return /* @__PURE__ */ (0,
|
|
13065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react15.default.Fragment, {
|
|
12950
13066
|
children: [
|
|
12951
13067
|
toastsForPosition.map(renderToast),
|
|
12952
|
-
toastsForPosition.length > 0 && /* @__PURE__ */ (0,
|
|
13068
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ToastViewport, {
|
|
12953
13069
|
position: pos
|
|
12954
13070
|
})
|
|
12955
13071
|
]
|
|
@@ -12971,7 +13087,7 @@ var import_pagination = require("swiper/css/pagination");
|
|
|
12971
13087
|
// src/components/swiper/index.module.scss
|
|
12972
13088
|
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-icon content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-icon content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-icon border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-surface-hovered active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-icon text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-icon border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-surface-hovered active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-icon text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3hpYW9ndWFuZy9jb2RlL215c2hlbGwtcmVhY3QtbGliL3NyYy9jb21wb25lbnRzL3N3aXBlciIsInNvdXJjZXMiOlsiaW5kZXgubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRTs7QUFHRTtFQUNFO0VBQ0E7O0FBRUY7RUFDRTtFQUNBOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUVFOztBQUVGO0VBRUU7O0FBRUY7RUFDRTs7QUFHRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFLRjtFQUNFOztBQUNFO0VBQ0U7O0FBR047RUFDRTs7QUFDRTtFQUNFOzs7QUFPUjtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXBlckJveHtcbiAgQGFwcGx5IHctZnVsbCBoLWZpdDtcbiAgXG4gIDpnbG9iYWwoLnN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgYmctY29udGFpbiBiZy1uby1yZXBlYXQ7XG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QjRiV3h1Y3owaWFIUjBjRG92TDNkM2R5NTNNeTV2Y21jdk1qQXdNQzl6ZG1jaUlIWnBaWGRDYjNnOUlqQWdNQ0F5TUNBeU1DSWdabWxzYkQwaUl6UXhORE0wTlNJZ1kyeGhjM005SW5OcGVtVXROU0krQ2lBZ1BIQmhkR2dnWm1sc2JDMXlkV3hsUFNKbGRtVnViMlJrSWlCa1BTSk5NVEV1TnpnZ05TNHlNbUV1TnpVdU56VWdNQ0F3SURFZ01DQXhMakEyVERndU1EWWdNVEJzTXk0M01pQXpMamN5WVM0M05TNDNOU0F3SURFZ01TMHhMakEySURFdU1EWnNMVFF1TWpVdE5DNHlOV0V1TnpVdU56VWdNQ0F3SURFZ01DMHhMakEyYkRRdU1qVXROQzR5TldFdU56VXVOelVnTUNBd0lERWdNUzR3TmlBd1dpSWdZMnhwY0MxeWRXeGxQU0psZG1WdWIyUmtJaUF2UGdvOEwzTjJaejRLJyk7IFxuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGJnLWNvbnRhaW4gYmctbm8tcmVwZWF0O1xuICAgICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKCdkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUI0Yld4dWN6MGlhSFIwY0RvdkwzZDNkeTUzTXk1dmNtY3ZNakF3TUM5emRtY2lJSFpwWlhkQ2IzZzlJakFnTUNBeU1DQXlNQ0lnWm1sc2JEMGlJelF4TkRNME5TSWdZMnhoYzNNOUluTnBlbVV0TlNJK0NpQWdQSEJoZEdnZ1ptbHNiQzF5ZFd4bFBTSmxkbVZ1YjJSa0lpQmtQU0pOT0M0eU1pQTFMakl5WVM0M05TNDNOU0F3SURBZ01TQXhMakEySURCc05DNHlOU0EwTGpJMVlTNDNOUzQzTlNBd0lEQWdNU0F3SURFdU1EWnNMVFF1TWpVZ05DNHlOV0V1TnpVdU56VWdNQ0F3SURFdE1TNHdOaTB4TGpBMlRERXhMamswSURFd0lEZ3VNaklnTmk0eU9HRXVOelV1TnpVZ01DQXdJREVnTUMweExqQTJXaUlnWTJ4cGNDMXlkV3hsUFNKbGRtVnViMlJrSWlBdlBnbzhMM04yWno0S0NnPT0nKTsgXG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldjo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtaWNvbiBjb250ZW50LW5vbmU7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dDo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtaWNvbiBjb250ZW50LW5vbmU7XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5iYW5uZXItc3dpcGVyKSB7XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtcHJldikge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1yaWdodDtcbiAgICB9XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtbmV4dCkge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1sZWZ0O1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItc2xpZGUtYWN0aXZlKSB7XG4gICAgICBAYXBwbHkgb3BhY2l0eS0xMDA7XG4gICAgICAvLyB0cmFuc2Zvcm06IHNjYWxlKDEpIHRyYW5zbGF0ZVgoMCk7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgLXJpZ2h0LTQgbWQ6cmlnaHQtMCAzeGw6cmlnaHQtW2NhbGMoKDEwMCUtMTIwMHB4KS8yLTE2cHgpXTtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSAtbGVmdC00IG1kOmxlZnQtMCAzeGw6bGVmdC1bY2FsYygoMTAwJS0xMjAwcHgpLzItMTZweCldO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIuZmVhdHVyZS1zd2lwZXIpIHtcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IHJpZ2h0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgbGVmdC0wO1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLWRpc2FibGVkKSB7XG4gICAgICBAYXBwbHkgaGlkZGVuO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIucGF0cm9uLWJhZGdlLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgcmlnaHQtMDtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSBsZWZ0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tZGlzYWJsZWQpIHtcbiAgICAgIEBhcHBseSBoaWRkZW47XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5ncmlkLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci13cmFwcGVyKSB7XG4gICAgICBAYXBwbHkgdy1bMTAwdnddIG1kOnctZnVsbCBmbGV4LXdyYXAgZmxleC1jb2wgbS0wO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIpIHtcbiAgICBcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGhpZGRlbiBtZDpmbGV4IGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciBhYnNvbHV0ZSB0b3AtWzUwJV0gdy04IGgtOCBmb250LXNlbWlib2xkIHRleHQtaWNvbiBib3JkZXIgYm9yZGVyLUNvbG9ycy1Cb3JkZXItRGVmYXVsdCBiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1EZWZhdWx0IHJvdW5kZWQtZnVsbCBjdXJzb3ItcG9pbnRlciBob3ZlcjpiZy1zdXJmYWNlLWhvdmVyZWQgYWN0aXZlOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUFjdGl2ZTtcbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgIEBhcHBseSB0ZXh0LWljb24gdGV4dC14cyBmb250LWJvbGQ7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLXByZXYpe1xuICAgICAgQGFwcGx5IGhpZGRlbiBtZDpmbGV4IGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciBhYnNvbHV0ZSB0b3AtWzUwJV0gdy04IGgtOCBmb250LXNlbWlib2xkIHRleHQtaWNvbiBib3JkZXIgYm9yZGVyLUNvbG9ycy1Cb3JkZXItRGVmYXVsdCBiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1EZWZhdWx0IHJvdW5kZWQtZnVsbCBjdXJzb3ItcG9pbnRlciBob3ZlcjpiZy1zdXJmYWNlLWhvdmVyZWQgYWN0aXZlOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUFjdGl2ZTtcbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgIEBhcHBseSB0ZXh0LWljb24gdGV4dC14cyBmb250LWJvbGQ7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG5cbi5hbmltYXRlIHtcbiAgOmdsb2JhbCguc3dpcGVyLXNsaWRlKSB7XG4gICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDUwMG1zIGxpbmVhcjtcbiAgfVxufVxuIl19 */';
|
|
12973
13089
|
// src/components/swiper/index.tsx
|
|
12974
|
-
var
|
|
13090
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
12975
13091
|
var swiperVariants = (0, import_class_variance_authority21.cva)("", {
|
|
12976
13092
|
variants: {
|
|
12977
13093
|
rounded: {
|
|
@@ -13107,9 +13223,9 @@ function Swiper(props) {
|
|
|
13107
13223
|
}
|
|
13108
13224
|
}
|
|
13109
13225
|
};
|
|
13110
|
-
return /* @__PURE__ */ (0,
|
|
13226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", {
|
|
13111
13227
|
className: index_module_default.swiperBox,
|
|
13112
|
-
children: /* @__PURE__ */ (0,
|
|
13228
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react17.Swiper, _object_spread_props(_object_spread({
|
|
13113
13229
|
observer: true,
|
|
13114
13230
|
observeParents: true
|
|
13115
13231
|
}, swiperConfigs), {
|
|
@@ -13119,9 +13235,9 @@ function Swiper(props) {
|
|
|
13119
13235
|
swiperRef.current = swiper;
|
|
13120
13236
|
},
|
|
13121
13237
|
children: swiperList.map(function(item, index) {
|
|
13122
|
-
return /* @__PURE__ */ (0,
|
|
13238
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react17.SwiperSlide, {
|
|
13123
13239
|
className: cn(isBanner && "banner-swiper-slide !w-[90%] md:!w-[98%] h-[220px] md:h-auto max-w-[1200px] aspect-[4/1] rounded-2xl opacity-30", isFeatured && "rounded-2xl !w-[100%-32px] md:!w-[100%-72px]", isGrid && "grid-swiper-slide !w-[100%-32px] md:!w-[100%-72px] !h-[100%/3] flex justify-center items-center rounded-2xl", "text-clip", slideClassName),
|
|
13124
|
-
children: /* @__PURE__ */ (0,
|
|
13240
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Com, {
|
|
13125
13241
|
item: item,
|
|
13126
13242
|
index: index,
|
|
13127
13243
|
onClick: handleSlideItemClick,
|
|
@@ -13142,48 +13258,48 @@ var import_ExclamationCircleIcon2 = __toESM(require("@heroicons/react/24/solid/e
|
|
|
13142
13258
|
var import_InformationCircleIcon3 = __toESM(require("@heroicons/react/24/solid/esm/InformationCircleIcon"), 1);
|
|
13143
13259
|
var import_XCircleIcon3 = __toESM(require("@heroicons/react/24/solid/esm/XCircleIcon"), 1);
|
|
13144
13260
|
var import_react_hot_toast = require("react-hot-toast");
|
|
13145
|
-
var
|
|
13261
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
13146
13262
|
function CustomNotification(param) {
|
|
13147
13263
|
var tProps = param.tProps, customProps = param.customProps;
|
|
13148
13264
|
var type = customProps.type, title = customProps.title, content = customProps.content, _customProps_isClosable = customProps.isClosable, isClosable = _customProps_isClosable === void 0 ? false : _customProps_isClosable, action = customProps.action, loading = customProps.loading;
|
|
13149
13265
|
var id = tProps.id;
|
|
13150
13266
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
13151
|
-
return /* @__PURE__ */ (0,
|
|
13152
|
-
children: /* @__PURE__ */ (0,
|
|
13267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", {
|
|
13268
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", {
|
|
13153
13269
|
id: id,
|
|
13154
13270
|
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-opaque bg-Colors-Background-Normal-Primary-Active px-3 py-2 shadow-modal-default md:max-w-[560px]",
|
|
13155
|
-
children: /* @__PURE__ */ (0,
|
|
13271
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", {
|
|
13156
13272
|
className: "flex w-full items-center justify-center gap-2",
|
|
13157
13273
|
children: [
|
|
13158
|
-
loading && /* @__PURE__ */ (0,
|
|
13159
|
-
!loading && type && /* @__PURE__ */ (0,
|
|
13274
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Spinner, {}),
|
|
13275
|
+
!loading && type && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", {
|
|
13160
13276
|
className: "flex flex-shrink-0 items-center",
|
|
13161
13277
|
children: [
|
|
13162
|
-
type === "info" && /* @__PURE__ */ (0,
|
|
13278
|
+
type === "info" && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_InformationCircleIcon3.default, {
|
|
13163
13279
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
13164
13280
|
}),
|
|
13165
|
-
type === "success" && /* @__PURE__ */ (0,
|
|
13281
|
+
type === "success" && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_CheckCircleIcon3.default, {
|
|
13166
13282
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
13167
13283
|
}),
|
|
13168
|
-
type === "warning" && /* @__PURE__ */ (0,
|
|
13284
|
+
type === "warning" && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_ExclamationCircleIcon2.default, {
|
|
13169
13285
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
13170
13286
|
}),
|
|
13171
|
-
type === "error" && /* @__PURE__ */ (0,
|
|
13287
|
+
type === "error" && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_XCircleIcon3.default, {
|
|
13172
13288
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
13173
13289
|
})
|
|
13174
13290
|
]
|
|
13175
13291
|
}),
|
|
13176
|
-
/* @__PURE__ */ (0,
|
|
13292
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", {
|
|
13177
13293
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
13178
13294
|
children: [
|
|
13179
|
-
title && /* @__PURE__ */ (0,
|
|
13295
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Text, {
|
|
13180
13296
|
size: "sm",
|
|
13181
13297
|
weight: "regular",
|
|
13182
13298
|
color: "default",
|
|
13183
13299
|
children: title
|
|
13184
13300
|
}),
|
|
13185
|
-
/* @__PURE__ */ (0,
|
|
13186
|
-
children: /* @__PURE__ */ (0,
|
|
13301
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", {
|
|
13302
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Text, {
|
|
13187
13303
|
size: "sm",
|
|
13188
13304
|
weight: "regular",
|
|
13189
13305
|
color: "default",
|
|
@@ -13192,16 +13308,16 @@ function CustomNotification(param) {
|
|
|
13192
13308
|
})
|
|
13193
13309
|
]
|
|
13194
13310
|
}),
|
|
13195
|
-
action && /* @__PURE__ */ (0,
|
|
13311
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, {
|
|
13196
13312
|
children: [
|
|
13197
|
-
/* @__PURE__ */ (0,
|
|
13313
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Separator, {
|
|
13198
13314
|
orientation: "vertical",
|
|
13199
13315
|
className: "h-3"
|
|
13200
13316
|
}),
|
|
13201
13317
|
action
|
|
13202
13318
|
]
|
|
13203
13319
|
}),
|
|
13204
|
-
isClosable && /* @__PURE__ */ (0,
|
|
13320
|
+
isClosable && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(IconButton, {
|
|
13205
13321
|
size: "sm",
|
|
13206
13322
|
variant: "plain",
|
|
13207
13323
|
icon: import_XMarkIcon4.default,
|
|
@@ -13218,14 +13334,14 @@ function CustomNotification(param) {
|
|
|
13218
13334
|
// src/common/hooks/useNotification.tsx
|
|
13219
13335
|
var import_react18 = require("react");
|
|
13220
13336
|
var import_react_hot_toast2 = require("react-hot-toast");
|
|
13221
|
-
var
|
|
13337
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
13222
13338
|
function useNotification() {
|
|
13223
13339
|
var addToast = (0, import_react18.useCallback)(function(config2, duration2) {
|
|
13224
13340
|
if (config2.id) {
|
|
13225
13341
|
import_react_hot_toast2.toast.remove(config2.id);
|
|
13226
13342
|
}
|
|
13227
13343
|
import_react_hot_toast2.toast.custom(function(t) {
|
|
13228
|
-
return /* @__PURE__ */ (0,
|
|
13344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CustomNotification, {
|
|
13229
13345
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
13230
13346
|
duration: duration2
|
|
13231
13347
|
}),
|
|
@@ -13286,7 +13402,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
13286
13402
|
}
|
|
13287
13403
|
var addToast = function() {
|
|
13288
13404
|
import_react_hot_toast2.toast.custom(function(t) {
|
|
13289
|
-
return /* @__PURE__ */ (0,
|
|
13405
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CustomNotification, {
|
|
13290
13406
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
13291
13407
|
duration: duration2
|
|
13292
13408
|
}),
|
|
@@ -13342,11 +13458,11 @@ var Message = /*#__PURE__*/ function() {
|
|
|
13342
13458
|
return Message;
|
|
13343
13459
|
}();
|
|
13344
13460
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
13345
|
-
var
|
|
13346
|
-
var
|
|
13347
|
-
var ArrowLeftIcon2 =
|
|
13348
|
-
return /* @__PURE__ */ (0,
|
|
13349
|
-
children: /* @__PURE__ */ (0,
|
|
13461
|
+
var React44 = __toESM(require("react"), 1);
|
|
13462
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
13463
|
+
var ArrowLeftIcon2 = React44.forwardRef(function(props, ref) {
|
|
13464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13465
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("svg", {
|
|
13350
13466
|
ref: ref,
|
|
13351
13467
|
className: "w-full h-full",
|
|
13352
13468
|
viewBox: "0 0 24 24",
|
|
@@ -13354,7 +13470,7 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
13354
13470
|
strokeWidth: "1.5",
|
|
13355
13471
|
stroke: "currentColor",
|
|
13356
13472
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13357
|
-
children: /* @__PURE__ */ (0,
|
|
13473
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("path", {
|
|
13358
13474
|
strokeLinecap: "round",
|
|
13359
13475
|
strokeLinejoin: "round",
|
|
13360
13476
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
@@ -13363,11 +13479,11 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
13363
13479
|
}));
|
|
13364
13480
|
});
|
|
13365
13481
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
13366
|
-
var
|
|
13367
|
-
var
|
|
13368
|
-
var ArrowUpTrayIcon =
|
|
13369
|
-
return /* @__PURE__ */ (0,
|
|
13370
|
-
children: /* @__PURE__ */ (0,
|
|
13482
|
+
var React45 = __toESM(require("react"), 1);
|
|
13483
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
13484
|
+
var ArrowUpTrayIcon = React45.forwardRef(function(props, ref) {
|
|
13485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13486
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("svg", {
|
|
13371
13487
|
ref: ref,
|
|
13372
13488
|
className: "w-full h-full",
|
|
13373
13489
|
viewBox: "0 0 24 24",
|
|
@@ -13375,7 +13491,7 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
13375
13491
|
strokeWidth: "1.5",
|
|
13376
13492
|
stroke: "currentColor",
|
|
13377
13493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13378
|
-
children: /* @__PURE__ */ (0,
|
|
13494
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("path", {
|
|
13379
13495
|
strokeLinecap: "round",
|
|
13380
13496
|
strokeLinejoin: "round",
|
|
13381
13497
|
d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"
|
|
@@ -13384,11 +13500,11 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
13384
13500
|
}));
|
|
13385
13501
|
});
|
|
13386
13502
|
// src/components/icons/outline/WindowIcon.tsx
|
|
13387
|
-
var
|
|
13388
|
-
var
|
|
13389
|
-
var WindowIcon =
|
|
13390
|
-
return /* @__PURE__ */ (0,
|
|
13391
|
-
children: /* @__PURE__ */ (0,
|
|
13503
|
+
var React46 = __toESM(require("react"), 1);
|
|
13504
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
13505
|
+
var WindowIcon = React46.forwardRef(function(props, ref) {
|
|
13506
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13507
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("svg", {
|
|
13392
13508
|
ref: ref,
|
|
13393
13509
|
className: "w-full h-full",
|
|
13394
13510
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13396,7 +13512,7 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
13396
13512
|
fill: "none",
|
|
13397
13513
|
strokeWidth: "1.5",
|
|
13398
13514
|
stroke: "currentColor",
|
|
13399
|
-
children: /* @__PURE__ */ (0,
|
|
13515
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", {
|
|
13400
13516
|
strokeLinecap: "round",
|
|
13401
13517
|
strokeLinejoin: "round",
|
|
13402
13518
|
d: "M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"
|
|
@@ -13405,21 +13521,21 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
13405
13521
|
}));
|
|
13406
13522
|
});
|
|
13407
13523
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
13408
|
-
var
|
|
13409
|
-
var
|
|
13410
|
-
var CheckCircleIcon4 =
|
|
13411
|
-
return /* @__PURE__ */ (0,
|
|
13412
|
-
children: /* @__PURE__ */ (0,
|
|
13524
|
+
var React47 = __toESM(require("react"), 1);
|
|
13525
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
13526
|
+
var CheckCircleIcon4 = React47.forwardRef(function(props, ref) {
|
|
13527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13528
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("svg", {
|
|
13413
13529
|
ref: ref,
|
|
13414
13530
|
className: "w-full h-full",
|
|
13415
13531
|
viewBox: "0 0 24 24",
|
|
13416
13532
|
fill: "currentColor",
|
|
13417
13533
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13418
13534
|
children: [
|
|
13419
|
-
/* @__PURE__ */ (0,
|
|
13535
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("path", {
|
|
13420
13536
|
d: "M15.4359 9.1397C15.773 9.38046 15.8511 9.84887 15.6103 10.1859L11.8603 15.4359C11.7322 15.6153 11.5316 15.7293 11.3119 15.7474C11.0921 15.7656 10.8756 15.6862 10.7197 15.5303L8.46967 13.2803C8.17678 12.9874 8.17678 12.5126 8.46967 12.2197C8.76256 11.9268 9.23744 11.9268 9.53033 12.2197L11.1543 13.8436L14.3897 9.31407C14.6305 8.97701 15.0989 8.89894 15.4359 9.1397Z"
|
|
13421
13537
|
}),
|
|
13422
|
-
/* @__PURE__ */ (0,
|
|
13538
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("path", {
|
|
13423
13539
|
fillRule: "evenodd",
|
|
13424
13540
|
clipRule: "evenodd",
|
|
13425
13541
|
d: "M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z"
|
|
@@ -13429,11 +13545,11 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
13429
13545
|
}));
|
|
13430
13546
|
});
|
|
13431
13547
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
13432
|
-
var
|
|
13433
|
-
var
|
|
13434
|
-
var PencilSquareIcon =
|
|
13435
|
-
return /* @__PURE__ */ (0,
|
|
13436
|
-
children: /* @__PURE__ */ (0,
|
|
13548
|
+
var React48 = __toESM(require("react"), 1);
|
|
13549
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
13550
|
+
var PencilSquareIcon = React48.forwardRef(function(props, ref) {
|
|
13551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13552
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("svg", {
|
|
13437
13553
|
ref: ref,
|
|
13438
13554
|
className: "w-full h-full",
|
|
13439
13555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13441,7 +13557,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
13441
13557
|
viewBox: "0 0 24 24",
|
|
13442
13558
|
strokeWidth: "1.5",
|
|
13443
13559
|
stroke: "currentColor",
|
|
13444
|
-
children: /* @__PURE__ */ (0,
|
|
13560
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", {
|
|
13445
13561
|
strokeLinecap: "round",
|
|
13446
13562
|
strokeLinejoin: "round",
|
|
13447
13563
|
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"
|
|
@@ -13450,35 +13566,35 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
13450
13566
|
}));
|
|
13451
13567
|
});
|
|
13452
13568
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
13453
|
-
var
|
|
13454
|
-
var
|
|
13455
|
-
var ConfigIcon =
|
|
13456
|
-
return /* @__PURE__ */ (0,
|
|
13457
|
-
children: /* @__PURE__ */ (0,
|
|
13569
|
+
var React49 = __toESM(require("react"), 1);
|
|
13570
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
13571
|
+
var ConfigIcon = React49.forwardRef(function(props, ref) {
|
|
13572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13573
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("svg", {
|
|
13458
13574
|
width: "18",
|
|
13459
13575
|
height: "18",
|
|
13460
13576
|
viewBox: "0 0 18 18",
|
|
13461
13577
|
fill: "none",
|
|
13462
13578
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13463
13579
|
className: "cursor-pointer",
|
|
13464
|
-
children: /* @__PURE__ */ (0,
|
|
13580
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("g", {
|
|
13465
13581
|
id: "wrapper",
|
|
13466
|
-
children: /* @__PURE__ */ (0,
|
|
13582
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("g", {
|
|
13467
13583
|
id: "Union",
|
|
13468
13584
|
children: [
|
|
13469
|
-
/* @__PURE__ */ (0,
|
|
13585
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", {
|
|
13470
13586
|
fillRule: "evenodd",
|
|
13471
13587
|
clipRule: "evenodd",
|
|
13472
13588
|
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",
|
|
13473
13589
|
fill: "#6D7175"
|
|
13474
13590
|
}),
|
|
13475
|
-
/* @__PURE__ */ (0,
|
|
13591
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", {
|
|
13476
13592
|
fillRule: "evenodd",
|
|
13477
13593
|
clipRule: "evenodd",
|
|
13478
13594
|
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",
|
|
13479
13595
|
fill: "#6D7175"
|
|
13480
13596
|
}),
|
|
13481
|
-
/* @__PURE__ */ (0,
|
|
13597
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", {
|
|
13482
13598
|
fillRule: "evenodd",
|
|
13483
13599
|
clipRule: "evenodd",
|
|
13484
13600
|
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",
|
|
@@ -13491,38 +13607,38 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
13491
13607
|
}));
|
|
13492
13608
|
});
|
|
13493
13609
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
13494
|
-
var
|
|
13495
|
-
var
|
|
13496
|
-
var CaretDownIcon =
|
|
13497
|
-
return /* @__PURE__ */ (0,
|
|
13498
|
-
children: /* @__PURE__ */ (0,
|
|
13610
|
+
var React50 = __toESM(require("react"), 1);
|
|
13611
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
13612
|
+
var CaretDownIcon = React50.forwardRef(function(props, ref) {
|
|
13613
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13614
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("svg", {
|
|
13499
13615
|
ref: ref,
|
|
13500
13616
|
className: "w-full h-full",
|
|
13501
13617
|
viewBox: "0 0 24 24",
|
|
13502
13618
|
fill: "currentColor",
|
|
13503
13619
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13504
|
-
children: /* @__PURE__ */ (0,
|
|
13620
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("path", {
|
|
13505
13621
|
d: "M13.5119 17.7818C12.7143 18.7028 11.2857 18.7028 10.4881 17.7818L2.74159 8.83689C1.61984 7.54161 2.53995 5.52759 4.25345 5.52759L19.7466 5.52759C21.4601 5.52759 22.3802 7.54161 21.2584 8.8369L13.5119 17.7818Z"
|
|
13506
13622
|
})
|
|
13507
13623
|
})
|
|
13508
13624
|
}));
|
|
13509
13625
|
});
|
|
13510
13626
|
// src/components/icons/solid/CodeIcon.tsx
|
|
13511
|
-
var
|
|
13512
|
-
var
|
|
13513
|
-
var CodeIcon =
|
|
13514
|
-
return /* @__PURE__ */ (0,
|
|
13515
|
-
children: /* @__PURE__ */ (0,
|
|
13627
|
+
var React51 = __toESM(require("react"), 1);
|
|
13628
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
13629
|
+
var CodeIcon = React51.forwardRef(function(props, ref) {
|
|
13630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13631
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg", {
|
|
13516
13632
|
ref: ref,
|
|
13517
13633
|
className: "w-full h-full",
|
|
13518
13634
|
viewBox: "0 0 24 24",
|
|
13519
13635
|
fill: "currentColor",
|
|
13520
13636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13521
13637
|
children: [
|
|
13522
|
-
/* @__PURE__ */ (0,
|
|
13638
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", {
|
|
13523
13639
|
d: "M15.3995 7.375C15.6066 7.01628 15.4837 6.55759 15.125 6.35048C14.7663 6.14337 14.3076 6.26628 14.1005 6.625L8.35048 16.5843C8.14337 16.943 8.26628 17.4017 8.625 17.6088C8.98372 17.8159 9.44241 17.693 9.64952 17.3343L15.3995 7.375Z"
|
|
13524
13640
|
}),
|
|
13525
|
-
/* @__PURE__ */ (0,
|
|
13641
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", {
|
|
13526
13642
|
fillRule: "evenodd",
|
|
13527
13643
|
clipRule: "evenodd",
|
|
13528
13644
|
d: "M6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H6ZM4.5 6C4.5 5.17157 5.17157 4.5 6 4.5H18C18.8284 4.5 19.5 5.17157 19.5 6V18C19.5 18.8284 18.8284 19.5 18 19.5H6C5.17157 19.5 4.5 18.8284 4.5 18V6Z"
|
|
@@ -13532,17 +13648,17 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13532
13648
|
}));
|
|
13533
13649
|
});
|
|
13534
13650
|
// src/components/icons/solid/DragIcon.tsx
|
|
13535
|
-
var
|
|
13536
|
-
var
|
|
13537
|
-
var DragIcon =
|
|
13538
|
-
return /* @__PURE__ */ (0,
|
|
13539
|
-
children: /* @__PURE__ */ (0,
|
|
13651
|
+
var React52 = __toESM(require("react"), 1);
|
|
13652
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
13653
|
+
var DragIcon = React52.forwardRef(function(props, ref) {
|
|
13654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13655
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("svg", {
|
|
13540
13656
|
ref: ref,
|
|
13541
13657
|
className: "w-full h-full",
|
|
13542
13658
|
viewBox: "0 0 24 24",
|
|
13543
13659
|
fill: "currentColor",
|
|
13544
13660
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13545
|
-
children: /* @__PURE__ */ (0,
|
|
13661
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
13546
13662
|
fillRule: "evenodd",
|
|
13547
13663
|
clipRule: "evenodd",
|
|
13548
13664
|
d: "M7.5 5C7.5 4.17157 8.17157 3.5 9 3.5C9.82843 3.5 10.5 4.17157 10.5 5C10.5 5.82843 9.82843 6.5 9 6.5C8.17157 6.5 7.5 5.82843 7.5 5ZM13.5 5C13.5 4.17157 14.1716 3.5 15 3.5C15.8284 3.5 16.5 4.17157 16.5 5C16.5 5.82843 15.8284 6.5 15 6.5C14.1716 6.5 13.5 5.82843 13.5 5ZM7.5 12C7.5 11.1716 8.17157 10.5 9 10.5C9.82843 10.5 10.5 11.1716 10.5 12C10.5 12.8284 9.82843 13.5 9 13.5C8.17157 13.5 7.5 12.8284 7.5 12ZM13.5 12C13.5 11.1716 14.1716 10.5 15 10.5C15.8284 10.5 16.5 11.1716 16.5 12C16.5 12.8284 15.8284 13.5 15 13.5C14.1716 13.5 13.5 12.8284 13.5 12ZM7.5 19C7.5 18.1716 8.17157 17.5 9 17.5C9.82843 17.5 10.5 18.1716 10.5 19C10.5 19.8284 9.82843 20.5 9 20.5C8.17157 20.5 7.5 19.8284 7.5 19ZM13.5 19C13.5 18.1716 14.1716 17.5 15 17.5C15.8284 17.5 16.5 18.1716 16.5 19C16.5 19.8284 15.8284 20.5 15 20.5C14.1716 20.5 13.5 19.8284 13.5 19Z"
|
|
@@ -13551,22 +13667,22 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13551
13667
|
}));
|
|
13552
13668
|
});
|
|
13553
13669
|
// src/components/icons/solid/PhoneIcon.tsx
|
|
13554
|
-
var
|
|
13555
|
-
var
|
|
13556
|
-
var PhoneIcon =
|
|
13557
|
-
return /* @__PURE__ */ (0,
|
|
13558
|
-
children: /* @__PURE__ */ (0,
|
|
13670
|
+
var React53 = __toESM(require("react"), 1);
|
|
13671
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
13672
|
+
var PhoneIcon = React53.forwardRef(function(props, ref) {
|
|
13673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13674
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("svg", {
|
|
13559
13675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13560
13676
|
width: "20",
|
|
13561
13677
|
height: "20",
|
|
13562
13678
|
viewBox: "0 0 20 20",
|
|
13563
13679
|
fill: "none",
|
|
13564
13680
|
children: [
|
|
13565
|
-
/* @__PURE__ */ (0,
|
|
13681
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("path", {
|
|
13566
13682
|
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",
|
|
13567
13683
|
fill: "#3E5CFA"
|
|
13568
13684
|
}),
|
|
13569
|
-
/* @__PURE__ */ (0,
|
|
13685
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("path", {
|
|
13570
13686
|
fillRule: "evenodd",
|
|
13571
13687
|
clipRule: "evenodd",
|
|
13572
13688
|
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",
|
|
@@ -13577,17 +13693,17 @@ var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
|
13577
13693
|
}));
|
|
13578
13694
|
});
|
|
13579
13695
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13580
|
-
var
|
|
13581
|
-
var
|
|
13582
|
-
var RectangleGroupIcon =
|
|
13583
|
-
return /* @__PURE__ */ (0,
|
|
13584
|
-
children: /* @__PURE__ */ (0,
|
|
13696
|
+
var React54 = __toESM(require("react"), 1);
|
|
13697
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
13698
|
+
var RectangleGroupIcon = React54.forwardRef(function(props, ref) {
|
|
13699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13700
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("svg", {
|
|
13585
13701
|
ref: ref,
|
|
13586
13702
|
className: "w-full h-full",
|
|
13587
13703
|
viewBox: "0 0 24 24",
|
|
13588
13704
|
fill: "currentColor",
|
|
13589
13705
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13590
|
-
children: /* @__PURE__ */ (0,
|
|
13706
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", {
|
|
13591
13707
|
fillRule: "evenodd",
|
|
13592
13708
|
clipRule: "evenodd",
|
|
13593
13709
|
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"
|