myshell-react-lib 0.1.33 → 0.1.35
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 +392 -555
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -22
- package/dist/index.d.ts +29 -22
- package/dist/index.js +386 -549
- package/dist/index.js.map +1 -1
- package/dist/styles/components-dark.scss +2 -2
- package/dist/styles/components-light.scss +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4420,6 +4420,9 @@ __export(index_exports, {
|
|
|
4420
4420
|
Message: function() {
|
|
4421
4421
|
return Message;
|
|
4422
4422
|
},
|
|
4423
|
+
MiddleBar: function() {
|
|
4424
|
+
return MiddleBar;
|
|
4425
|
+
},
|
|
4423
4426
|
Modal: function() {
|
|
4424
4427
|
return Modal;
|
|
4425
4428
|
},
|
|
@@ -4444,9 +4447,6 @@ __export(index_exports, {
|
|
|
4444
4447
|
ModalTitle: function() {
|
|
4445
4448
|
return ModalTitle;
|
|
4446
4449
|
},
|
|
4447
|
-
NavigationBar: function() {
|
|
4448
|
-
return NavigationBar;
|
|
4449
|
-
},
|
|
4450
4450
|
NumberInput: function() {
|
|
4451
4451
|
return NumberInput;
|
|
4452
4452
|
},
|
|
@@ -4498,9 +4498,6 @@ __export(index_exports, {
|
|
|
4498
4498
|
SearchBar: function() {
|
|
4499
4499
|
return SearchBar;
|
|
4500
4500
|
},
|
|
4501
|
-
SecondaryNavigationBar: function() {
|
|
4502
|
-
return SecondaryNavigationBar;
|
|
4503
|
-
},
|
|
4504
4501
|
Select: function() {
|
|
4505
4502
|
return Select;
|
|
4506
4503
|
},
|
|
@@ -4660,6 +4657,9 @@ __export(index_exports, {
|
|
|
4660
4657
|
TooltipProvider: function() {
|
|
4661
4658
|
return TooltipProvider;
|
|
4662
4659
|
},
|
|
4660
|
+
TopNavigationBar: function() {
|
|
4661
|
+
return TopNavigationBar;
|
|
4662
|
+
},
|
|
4663
4663
|
WindowIcon: function() {
|
|
4664
4664
|
return WindowIcon;
|
|
4665
4665
|
},
|
|
@@ -5417,7 +5417,7 @@ function Image2(_param) {
|
|
|
5417
5417
|
}
|
|
5418
5418
|
// src/components/button/button.styles.ts
|
|
5419
5419
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
5420
|
-
var BASE_BUTTON = "relative shrink-0 inline-flex items-center justify-center whitespace-nowrap rounded-sm font-medium transition-colors focus-visible:secondary-none focus-visible:shadow-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:pointer-events-none disabled:
|
|
5420
|
+
var BASE_BUTTON = "relative shrink-0 inline-flex items-center justify-center whitespace-nowrap rounded-sm font-medium transition-colors focus-visible:secondary-none focus-visible:shadow-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:pointer-events-none disabled:shadow-none [&>span>svg]:text-inherit [&>span>span>svg]:text-inherit";
|
|
5421
5421
|
var SIZE_CLASSES = {
|
|
5422
5422
|
lg: {
|
|
5423
5423
|
base: "h-11",
|
|
@@ -5440,19 +5440,19 @@ var SIZE_CLASSES = {
|
|
|
5440
5440
|
};
|
|
5441
5441
|
var COLOR_THEMES = {
|
|
5442
5442
|
default: {
|
|
5443
|
-
primary: "bg-cc-Button-Primary-bg-default text-cc-Button-Primary-fg-default hover:bg-cc-Button-Primary-bg-hover active:bg-cc-Button-Primary-bg-active disabled:bg-cc-Button-Primary-bg-disabled",
|
|
5443
|
+
primary: "bg-cc-Button-Primary-bg-default text-cc-Button-Primary-fg-default hover:bg-cc-Button-Primary-bg-hover active:bg-cc-Button-Primary-bg-active disabled:bg-cc-Button-Primary-bg-disabled disabled:text-cc-Button-Primary-fg-alt",
|
|
5444
5444
|
secondary: "border-cc-Button-Secondary-border-default text-cc-Button-Secondary-fg-default bg-cc-Button-Secondary-bg-default hover:bg-cc-Button-Secondary-bg-hover active:bg-cc-Button-Secondary-bg-active disabled:text-cc-Button-Secondary-fg-alt disabled:border-cc-Button-Secondary-border-disabled",
|
|
5445
5445
|
tertiary: "border border-cc-Button-Tertiary-border-default text-cc-Button-Tertiary-fg-default bg-cc-Button-Tertiary-bg-default hover:bg-cc-Button-Tertiary-bg-hover hover:border-cc-Button-Tertiary-border-alt focus:shadow-button-tertiary-shadow active:bg-cc-Button-Tertiary-bg-active disabled:text-cc-Button-Tertiary-fg-alt ",
|
|
5446
5446
|
link: "rounded-none font-normal underline-offset-4 hover:underline active:underline text-cc-Link-Button-Primary-fg-default hover:text-cc-Link-Button-Primary-fg-hover active:text-cc-Link-Button-Primary-fg-active disabled:text-cc-Link-Button-Primary-fg-disabled",
|
|
5447
5447
|
plain: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover focus:shadow-cc-Focus-Rings-Brand-default active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt "
|
|
5448
5448
|
},
|
|
5449
5449
|
brand: {
|
|
5450
|
-
primary: "text-cc-Button-Brand-fg-default bg-cc-Button-Brand-bg-default hover:bg-cc-Button-Brand-bg-hover active:bg-cc-Button-Brand-bg-active disabled:bg-cc-Button-Brand-bg-disabled shadow-none hover:shadow-button-brand focus:shadow-cc-Focus-Rings-Brand-default",
|
|
5450
|
+
primary: "text-cc-Button-Brand-fg-default bg-cc-Button-Brand-bg-default hover:bg-cc-Button-Brand-bg-hover active:bg-cc-Button-Brand-bg-active disabled:bg-cc-Button-Brand-bg-disabled shadow-none hover:shadow-button-brand focus:shadow-cc-Focus-Rings-Brand-default disabled:text-cc-Button-Brand-fg-alt",
|
|
5451
5451
|
plain: "text-cc-Button-Plain-Brand-fg-default bg-cc-Button-Plain-Brand-bg-default hover:bg-cc-Button-Plain-Brand-bg-hover active:bg-cc-Button-Plain-Brand-bg-active disabled:text-cc-Button-Plain-Brand-fg-alt"
|
|
5452
5452
|
},
|
|
5453
5453
|
error: {
|
|
5454
|
-
primary: "text-cc-Button-Error-Primary-fg-default bg-cc-Button-Error-Primary-bg-default hover:bg-cc-Button-Error-Primary-bg-hover active:bg-cc-Button-Error-Primary-bg-active disabled:bg-cc-Button-Error-Primary-bg-disabled shadow-none",
|
|
5455
|
-
secondary: "border-cc-Button-Error-Secondary-border-default text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Error-Secondary-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Error-Secondary-fg-alt disabled:border-cc-Button-Error-Secondary-border-disabled"
|
|
5454
|
+
primary: "text-cc-Button-Error-Primary-fg-default bg-cc-Button-Error-Primary-bg-default hover:bg-cc-Button-Error-Primary-bg-hover active:bg-cc-Button-Error-Primary-bg-active disabled:bg-cc-Button-Error-Primary-bg-disabled disabled:text-cc-Button-Error-Primary-fg-alt shadow-none",
|
|
5455
|
+
secondary: "border-cc-Button-Error-Secondary-border-default text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Error-Secondary-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Error-Secondary-fg-alt disabled:border-cc-Button-Error-Secondary-border-disabled disabled:text-cc-Button-Error-Secondary-fg-alt disabled:bg-cc-Button-Error-Secondary-bg-disabled"
|
|
5456
5456
|
}
|
|
5457
5457
|
};
|
|
5458
5458
|
var VARIANT_BASE = {
|
|
@@ -6280,6 +6280,7 @@ var Tooltip = React8.forwardRef(function(_param, ref) {
|
|
|
6280
6280
|
}
|
|
6281
6281
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_jsx_runtime11.Fragment, {
|
|
6282
6282
|
children: isDesktop ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipProvider, {
|
|
6283
|
+
delayDuration: 100,
|
|
6283
6284
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(TooltipPrimitive.Root, {
|
|
6284
6285
|
open: disabled || !description && !title ? false : open,
|
|
6285
6286
|
defaultOpen: defaultOpen,
|
|
@@ -6368,7 +6369,7 @@ var TooltipContent = React8.forwardRef(function(_param, ref) {
|
|
|
6368
6369
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
6369
6370
|
// src/components/button/icon-button.styles.ts
|
|
6370
6371
|
var import_class_variance_authority5 = require("class-variance-authority");
|
|
6371
|
-
var BASE_STYLES = "shrink-0 inline-flex items-center justify-center whitespace-nowrap rounded-sm font-medium transition-colors focus-visible:outline-none focus-visible:shadow-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:pointer-events-none disabled:
|
|
6372
|
+
var BASE_STYLES = "shrink-0 inline-flex items-center justify-center whitespace-nowrap rounded-sm font-medium transition-colors focus-visible:outline-none focus-visible:shadow-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:pointer-events-none disabled:shadow-none";
|
|
6372
6373
|
var VARIANT_STYLES = {
|
|
6373
6374
|
primary: "",
|
|
6374
6375
|
secondary: "border shadow-none",
|
|
@@ -6404,12 +6405,12 @@ var COMPOUND_VARIANTS = [
|
|
|
6404
6405
|
{
|
|
6405
6406
|
variant: "secondary",
|
|
6406
6407
|
color: "default",
|
|
6407
|
-
className: "border-cc-Button-Secondary-border-default text-cc-Button-Secondary-fg-default bg-cc-Button-Secondary-bg-default hover:bg-cc-Button-Secondary-bg-hover active:bg-cc-Button-Secondary-bg-active disabled:text-cc-Button-Secondary-fg-alt disabled:border-cc-Button-Secondary-border-disabled"
|
|
6408
|
+
className: "border-cc-Button-Secondary-border-default text-cc-Button-Secondary-fg-default bg-cc-Button-Secondary-bg-default hover:bg-cc-Button-Secondary-bg-hover active:bg-cc-Button-Secondary-bg-active disabled:text-cc-Button-Secondary-fg-alt disabled:border-cc-Button-Secondary-border-disabled disabled:text-cc-Button-Secondary-fg-alt disabled:bg-cc-Button-Secondary-bg-default"
|
|
6408
6409
|
},
|
|
6409
6410
|
{
|
|
6410
6411
|
variant: "secondary",
|
|
6411
6412
|
color: "error",
|
|
6412
|
-
className: "border-cc-Button-Error-Secondary-border-default text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Error-Secondary-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Error-Secondary-fg-alt disabled:border-cc-Button-Error-Secondary-border-disabled"
|
|
6413
|
+
className: "border-cc-Button-Error-Secondary-border-default text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Error-Secondary-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Error-Secondary-fg-alt disabled:border-cc-Button-Error-Secondary-border-disabled disabled:text-cc-Button-Error-Secondary-fg-alt disabled:bg-cc-Button-Error-Secondary-bg-disabled"
|
|
6413
6414
|
},
|
|
6414
6415
|
{
|
|
6415
6416
|
variant: "tertiary",
|
|
@@ -6419,17 +6420,17 @@ var COMPOUND_VARIANTS = [
|
|
|
6419
6420
|
{
|
|
6420
6421
|
variant: "plain",
|
|
6421
6422
|
color: "default",
|
|
6422
|
-
className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover
|
|
6423
|
+
className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt"
|
|
6423
6424
|
},
|
|
6424
6425
|
{
|
|
6425
6426
|
variant: "plain",
|
|
6426
6427
|
color: "gray",
|
|
6427
|
-
className: "text-cc-Icon-Button-Plain-Gray-fg-default bg-cc-Button-Plain-Brand-bg-default hover:bg-cc-Button-Plain-Brand-bg-hover active:bg-cc-Button-Plain-Brand-bg-active disabled:text-cc-Button-Plain-
|
|
6428
|
+
className: "text-cc-Icon-Button-Plain-Gray-fg-default bg-cc-Button-Plain-Brand-bg-default hover:bg-cc-Button-Plain-Brand-bg-hover active:bg-cc-Button-Plain-Brand-bg-active disabled:text-cc-Button-Plain-Brand-fg-alt disabled:bg-cc-Button-Plain-Brand-bg-default"
|
|
6428
6429
|
},
|
|
6429
6430
|
{
|
|
6430
6431
|
variant: "plain",
|
|
6431
6432
|
color: "error",
|
|
6432
|
-
className: "text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Plain-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Plain-fg-default"
|
|
6433
|
+
className: "text-cc-Button-Error-Secondary-fg-default bg-cc-Button-Plain-bg-default hover:bg-cc-Button-Error-Secondary-bg-hover active:bg-cc-Button-Error-Secondary-bg-active disabled:text-cc-Button-Plain-fg-default disabled:bg-cc-Button-Plain-bg-default disabled:text-cc-Button-Error-Primary-fg-alt"
|
|
6433
6434
|
}
|
|
6434
6435
|
];
|
|
6435
6436
|
var DEFAULT_VARIANTS = {
|
|
@@ -6745,7 +6746,7 @@ var badgeVariants = (0, import_class_variance_authority7.cva)("rounded-full flex
|
|
|
6745
6746
|
public: "w-2.5 h-2.5 bg-Colors-Utit border-[2px] bg-Colors-Utility-Lake-Blue-50 border-Colors-Utility-Lake-Blue-10",
|
|
6746
6747
|
private: "w-2.5 h-2.5 bg-Colors-Utility-Khaki-50 border-Colors-Utility-Khaki-10 border-[2px]",
|
|
6747
6748
|
hidden: "w-2.5 h-2.5 bg-Colors-Utility-Gray-40 border-Colors-Utility-Gray-10 border-[2px]",
|
|
6748
|
-
new: "w-
|
|
6749
|
+
new: "w-9 h-4.5 flex juctify-center items-center bg-Colors-Foreground-Critical-Default px-1.5"
|
|
6749
6750
|
}
|
|
6750
6751
|
},
|
|
6751
6752
|
defaultVariants: {
|
|
@@ -6760,7 +6761,7 @@ function Badge(props) {
|
|
|
6760
6761
|
status: status
|
|
6761
6762
|
}), className),
|
|
6762
6763
|
children: status === "new" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
6763
|
-
className: "text-2xs font-medium text-Colors-Text-Static-White leading-[
|
|
6764
|
+
className: "text-2xs font-medium text-Colors-Text-Static-White leading-[12px]",
|
|
6764
6765
|
children: "New"
|
|
6765
6766
|
}) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
6766
6767
|
className: "font-medium text-2xs leading-[1.3]",
|
|
@@ -7712,7 +7713,7 @@ var import_class_variance_authority11 = require("class-variance-authority");
|
|
|
7712
7713
|
var React20 = __toESM(require("react"), 1);
|
|
7713
7714
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
7714
7715
|
var Input = React20.forwardRef(function(_param, ref) {
|
|
7715
|
-
var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "
|
|
7716
|
+
var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, props = _object_without_properties(_param, [
|
|
7716
7717
|
"className",
|
|
7717
7718
|
"type",
|
|
7718
7719
|
"autoComplete",
|
|
@@ -7729,13 +7730,16 @@ var Input = React20.forwardRef(function(_param, ref) {
|
|
|
7729
7730
|
variants: {
|
|
7730
7731
|
rounded: {
|
|
7731
7732
|
none: "rounded-none",
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7733
|
+
xxs: "rounded-xxs",
|
|
7734
|
+
xs: "rounded-xs",
|
|
7735
|
+
sm: "rounded-sm",
|
|
7736
|
+
md: "rounded-md",
|
|
7737
|
+
lg: "rounded-lg",
|
|
7736
7738
|
xl: "rounded-xl",
|
|
7737
7739
|
"2xl": "rounded-2xl",
|
|
7738
7740
|
"3xl": "rounded-3xl",
|
|
7741
|
+
"4xl": "rounded-4xl",
|
|
7742
|
+
"5xl": "rounded-5xl",
|
|
7739
7743
|
full: "rounded-full"
|
|
7740
7744
|
},
|
|
7741
7745
|
size: {
|
|
@@ -8683,7 +8687,7 @@ var Modal = function(_param) {
|
|
|
8683
8687
|
})
|
|
8684
8688
|
}));
|
|
8685
8689
|
}
|
|
8686
|
-
var
|
|
8690
|
+
var renderIcon2 = function(state2) {
|
|
8687
8691
|
switch(state2){
|
|
8688
8692
|
case "info":
|
|
8689
8693
|
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_InformationCircleIcon.default, {
|
|
@@ -8730,7 +8734,7 @@ var Modal = function(_param) {
|
|
|
8730
8734
|
className: cn(isNotification && "border-none !pb-3"),
|
|
8731
8735
|
children: state && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
|
|
8732
8736
|
className: cn("flex items-center justify-center w-10 h-10 rounded-full flex-shrink-0 flex-grow-0", getBackgroundColor(state)),
|
|
8733
|
-
children:
|
|
8737
|
+
children: renderIcon2(state)
|
|
8734
8738
|
})
|
|
8735
8739
|
}),
|
|
8736
8740
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
|
|
@@ -8797,7 +8801,7 @@ var Modal = function(_param) {
|
|
|
8797
8801
|
icon: import_XMarkIcon.default,
|
|
8798
8802
|
size: "md",
|
|
8799
8803
|
variant: "plain",
|
|
8800
|
-
color: "
|
|
8804
|
+
color: "gray",
|
|
8801
8805
|
className: iconClassName
|
|
8802
8806
|
}),
|
|
8803
8807
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", {
|
|
@@ -8913,7 +8917,7 @@ function SearchBar(_param) {
|
|
|
8913
8917
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Input, _object_spread({
|
|
8914
8918
|
type: type,
|
|
8915
8919
|
placeholder: placeholder,
|
|
8916
|
-
rounded: roundedFill ? "full" : "
|
|
8920
|
+
rounded: roundedFill ? "full" : "sm",
|
|
8917
8921
|
size: size,
|
|
8918
8922
|
className: cn("relative w-full px-9 flex space-x-2 text-base shadow-none placeholder:text-Colors-Text-Subtlest", {
|
|
8919
8923
|
"focus-visible:ring-transparent": readOnly
|
|
@@ -9015,9 +9019,9 @@ function EnergyProgress(props) {
|
|
|
9015
9019
|
});
|
|
9016
9020
|
}
|
|
9017
9021
|
var energy_progress_default = EnergyProgress;
|
|
9018
|
-
// src/components/
|
|
9022
|
+
// src/components/middle-bar.tsx
|
|
9019
9023
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
9020
|
-
function
|
|
9024
|
+
function MiddleBar(param) {
|
|
9021
9025
|
var _param_showSearchBar = param.showSearchBar, showSearchBar = _param_showSearchBar === void 0 ? true : _param_showSearchBar, searchValue = param.searchValue, searchPlaceholder = param.searchPlaceholder, title = param.title, children = param.children, _param_energy = param.energy, energy = _param_energy === void 0 ? 0 : _param_energy, dailyEnergy = param.dailyEnergy, onSearchChange = param.onSearchChange;
|
|
9022
9026
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", {
|
|
9023
9027
|
className: cn("relative w-full flex flex-col justify-between items-center px-4 md:px-6"),
|
|
@@ -11453,144 +11457,13 @@ var ScrollBar = React30.forwardRef(function(_param, ref) {
|
|
|
11453
11457
|
}));
|
|
11454
11458
|
});
|
|
11455
11459
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
11456
|
-
// src/components/
|
|
11460
|
+
// src/components/top-navigation-bar.tsx
|
|
11457
11461
|
var import_outline = require("@heroicons/react/24/outline");
|
|
11458
11462
|
var import_react14 = require("react");
|
|
11459
11463
|
var import_react_use7 = require("react-use");
|
|
11460
|
-
// src/components/button/link-button.tsx
|
|
11461
|
-
var import_react_slot5 = require("@radix-ui/react-slot");
|
|
11462
|
-
var import_lucide_react10 = require("lucide-react");
|
|
11463
|
-
var React31 = __toESM(require("react"), 1);
|
|
11464
11464
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
11465
|
-
|
|
11466
|
-
var
|
|
11467
|
-
"className",
|
|
11468
|
-
"iconClassName",
|
|
11469
|
-
"color",
|
|
11470
|
-
"icon",
|
|
11471
|
-
"iconDirection",
|
|
11472
|
-
"size",
|
|
11473
|
-
"asChild",
|
|
11474
|
-
"loading",
|
|
11475
|
-
"noStyle",
|
|
11476
|
-
"iconOutBox",
|
|
11477
|
-
"isBlock",
|
|
11478
|
-
"disabled",
|
|
11479
|
-
"children",
|
|
11480
|
-
"autoFocus",
|
|
11481
|
-
"asset",
|
|
11482
|
-
"assetNumber"
|
|
11483
|
-
]);
|
|
11484
|
-
var Comp = asChild ? import_react_slot5.Slot : "button";
|
|
11485
|
-
var disable = disabled || loading;
|
|
11486
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Comp, _object_spread_props(_object_spread({
|
|
11487
|
-
className: noStyle ? className : cn(buttonVariants({
|
|
11488
|
-
variant: "link",
|
|
11489
|
-
color: color,
|
|
11490
|
-
size: size,
|
|
11491
|
-
className: className
|
|
11492
|
-
}), disable && "!pointer-events-auto cursor-not-allowed", isBlock && "w-full"),
|
|
11493
|
-
ref: ref,
|
|
11494
|
-
disabled: disable,
|
|
11495
|
-
autoFocus: autoFocus
|
|
11496
|
-
}, props), {
|
|
11497
|
-
children: [
|
|
11498
|
-
loading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", {
|
|
11499
|
-
className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
|
|
11500
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react10.Loader2, {
|
|
11501
|
-
className: cn(iconVariants2({
|
|
11502
|
-
variant: "link",
|
|
11503
|
-
size: size
|
|
11504
|
-
}), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5")
|
|
11505
|
-
})
|
|
11506
|
-
}),
|
|
11507
|
-
!asset && icon && iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
11508
|
-
loading: loading,
|
|
11509
|
-
noStyle: noStyle,
|
|
11510
|
-
iconClassName: iconClassName,
|
|
11511
|
-
size: size
|
|
11512
|
-
}),
|
|
11513
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", {
|
|
11514
|
-
className: cn("inline-flex w-full items-center justify-center", loading ? "opacity-0" : "opacity-100"),
|
|
11515
|
-
children: [
|
|
11516
|
-
!asset && icon && !iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
11517
|
-
loading: loading,
|
|
11518
|
-
noStyle: noStyle,
|
|
11519
|
-
iconClassName: iconClassName,
|
|
11520
|
-
size: size
|
|
11521
|
-
}),
|
|
11522
|
-
children,
|
|
11523
|
-
asset ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, {
|
|
11524
|
-
children: [
|
|
11525
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Separator, {
|
|
11526
|
-
orientation: "vertical",
|
|
11527
|
-
className: cn("mx-1.5 h-3")
|
|
11528
|
-
}),
|
|
11529
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Image2, {
|
|
11530
|
-
src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : "",
|
|
11531
|
-
alt: asset,
|
|
11532
|
-
width: 16,
|
|
11533
|
-
height: 16,
|
|
11534
|
-
className: "flex-shrink-0"
|
|
11535
|
-
}),
|
|
11536
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Text, {
|
|
11537
|
-
size: "xs",
|
|
11538
|
-
className: cn("ml-0.5 text-inherit"),
|
|
11539
|
-
children: assetNumber
|
|
11540
|
-
})
|
|
11541
|
-
]
|
|
11542
|
-
}) : null,
|
|
11543
|
-
!asset && icon && !iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
11544
|
-
loading: loading,
|
|
11545
|
-
noStyle: noStyle,
|
|
11546
|
-
iconClassName: iconClassName,
|
|
11547
|
-
size: size
|
|
11548
|
-
})
|
|
11549
|
-
]
|
|
11550
|
-
}),
|
|
11551
|
-
!asset && icon && iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
11552
|
-
loading: loading,
|
|
11553
|
-
noStyle: noStyle,
|
|
11554
|
-
iconClassName: iconClassName,
|
|
11555
|
-
size: size
|
|
11556
|
-
})
|
|
11557
|
-
]
|
|
11558
|
-
}));
|
|
11559
|
-
});
|
|
11560
|
-
var renderIcon2 = function(icon, direction, param) {
|
|
11561
|
-
var loading = param.loading, noStyle = param.noStyle, iconClassName = param.iconClassName, _param_size = param.size, size = _param_size === void 0 ? "lg" : _param_size;
|
|
11562
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, {
|
|
11563
|
-
component: icon,
|
|
11564
|
-
className: noStyle ? iconClassName : cn(iconVariants2({
|
|
11565
|
-
variant: "link",
|
|
11566
|
-
size: size
|
|
11567
|
-
}), direction === "left" ? "mr-0.5" : "ml-0.5", iconClassName, loading ? "opacity-0" : "opacity-100")
|
|
11568
|
-
});
|
|
11569
|
-
};
|
|
11570
|
-
LinkButton.displayName = "LinkButton";
|
|
11571
|
-
// src/components/icons/outline/FilterIcon.tsx
|
|
11572
|
-
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
11573
|
-
function FilterIcon(param) {
|
|
11574
|
-
var className = param.className;
|
|
11575
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", {
|
|
11576
|
-
className: className,
|
|
11577
|
-
width: "22",
|
|
11578
|
-
height: "22",
|
|
11579
|
-
viewBox: "0 0 22 22",
|
|
11580
|
-
fill: "none",
|
|
11581
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11582
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", {
|
|
11583
|
-
fillRule: "evenodd",
|
|
11584
|
-
clipRule: "evenodd",
|
|
11585
|
-
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"
|
|
11586
|
-
})
|
|
11587
|
-
});
|
|
11588
|
-
}
|
|
11589
|
-
var FilterIcon_default = FilterIcon;
|
|
11590
|
-
// src/components/secondary-navigation-bar.tsx
|
|
11591
|
-
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
11592
|
-
function SecondaryNavigationBar(param) {
|
|
11593
|
-
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;
|
|
11465
|
+
function TopNavigationBar(param) {
|
|
11466
|
+
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, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? true : _param_hasBackground, avatar = param.avatar, onSearchChange = param.onSearchChange, onBack = param.onBack, _param_pageType = param.pageType, pageType = _param_pageType === void 0 ? 2 : _param_pageType;
|
|
11594
11467
|
var isMobile2 = (0, import_react_use7.useMedia)("(max-width: 768px)");
|
|
11595
11468
|
var navbarRef = (0, import_react14.useRef)(null);
|
|
11596
11469
|
var _ref = _sliced_to_array((0, import_react14.useState)(hasBackground), 2), showBackground = _ref[0], setShowBackground = _ref[1];
|
|
@@ -11612,115 +11485,75 @@ function SecondaryNavigationBar(param) {
|
|
|
11612
11485
|
}, [
|
|
11613
11486
|
hasBackground
|
|
11614
11487
|
]);
|
|
11615
|
-
return /* @__PURE__ */ (0,
|
|
11488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11616
11489
|
ref: navbarRef,
|
|
11617
11490
|
className: cn("w-full flex flex-col md:flex-row justify-center items-center px-4 md:px-6", !isMobile2 && border && "border-b border-Colors-Border-Default", showBackground && "bg-Colors-Background-Normal-Primary-Default"),
|
|
11618
|
-
children:
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11491
|
+
children: [
|
|
11492
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11493
|
+
className: "relative w-full flex justify-between items-center h-13 md:h-15 pt-5 pb-1.5 md:pt-2 md:pb-2",
|
|
11494
|
+
children: [
|
|
11495
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11496
|
+
className: "flex-1 flex items-center justify-start",
|
|
11497
|
+
children: [
|
|
11498
|
+
(backUrl || onBack) && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11499
|
+
className: "flex justify-start items-center",
|
|
11500
|
+
children: [
|
|
11501
|
+
backUrl ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Link, {
|
|
11502
|
+
href: backUrl,
|
|
11503
|
+
className: "flex justify-center items-center",
|
|
11504
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(IconButton, {
|
|
11505
|
+
variant: !hasBackground ? "primary" : "plain",
|
|
11506
|
+
color: !hasBackground ? "gray" : "brand",
|
|
11507
|
+
size: "md",
|
|
11508
|
+
icon: import_outline.ArrowLeftIcon
|
|
11509
|
+
})
|
|
11510
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(IconButton, {
|
|
11631
11511
|
variant: !hasBackground ? "primary" : "plain",
|
|
11632
11512
|
color: !hasBackground ? "gray" : "brand",
|
|
11633
11513
|
size: "md",
|
|
11634
|
-
icon: import_outline.ArrowLeftIcon
|
|
11514
|
+
icon: import_outline.ArrowLeftIcon,
|
|
11515
|
+
onClick: onBack
|
|
11516
|
+
}),
|
|
11517
|
+
!isMobile2 && title && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Separator, {
|
|
11518
|
+
orientation: "vertical",
|
|
11519
|
+
className: "h-5 ml-1.5 mr-3"
|
|
11635
11520
|
})
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
size: "md",
|
|
11640
|
-
icon: import_outline.ArrowLeftIcon,
|
|
11641
|
-
onClick: onBack
|
|
11642
|
-
}),
|
|
11643
|
-
!isMobile2 && title && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Separator, {
|
|
11644
|
-
orientation: "vertical",
|
|
11645
|
-
className: "h-5 ml-1.5 mr-3"
|
|
11646
|
-
})
|
|
11647
|
-
]
|
|
11648
|
-
}),
|
|
11649
|
-
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11650
|
-
className: "flex-1 flex-shrink-0 absolute w-full md:relative md:w-auto flex items-center justify-center md:justify-start",
|
|
11651
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Display, {
|
|
11521
|
+
]
|
|
11522
|
+
}),
|
|
11523
|
+
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Display, {
|
|
11652
11524
|
size: isMobile2 ? "xs" : "sm",
|
|
11653
|
-
className:
|
|
11525
|
+
className: "line-clamp-1",
|
|
11654
11526
|
children: title
|
|
11655
11527
|
})
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Avatar, {
|
|
11663
|
-
size: "sm",
|
|
11664
|
-
src: avatar.logo
|
|
11665
|
-
}),
|
|
11666
|
-
avatar.name && !isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Text, {
|
|
11667
|
-
size: "lg",
|
|
11668
|
-
weight: "medium",
|
|
11669
|
-
children: avatar.name
|
|
11670
|
-
})
|
|
11671
|
-
]
|
|
11672
|
-
}),
|
|
11673
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11674
|
-
className: cn("w-fit flex md:w-auto justify-end", !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && "flex-1"),
|
|
11675
|
-
children: children ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11676
|
-
className: "w-fit",
|
|
11677
|
-
children: children
|
|
11678
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, {
|
|
11679
|
-
children: icons || actions ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
|
|
11680
|
-
className: cn("flex justify-end items-center", icons && "space-x-1 min-w-[76px]", actions && "space-x-3"),
|
|
11528
|
+
]
|
|
11529
|
+
}),
|
|
11530
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
|
|
11531
|
+
className: "flex-shrink-0 flex justify-center items-center",
|
|
11532
|
+
children: (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11533
|
+
className: "flex items-center space-x-1.5",
|
|
11681
11534
|
children: [
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
color: "default",
|
|
11686
|
-
size: "md",
|
|
11687
|
-
icon: icon.icon,
|
|
11688
|
-
onClick: icon.onClick
|
|
11689
|
-
}, index);
|
|
11535
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Avatar, {
|
|
11536
|
+
size: "sm",
|
|
11537
|
+
src: avatar.logo
|
|
11690
11538
|
}),
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
children: action.label
|
|
11696
|
-
}), index);
|
|
11539
|
+
avatar.name && !isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Text, {
|
|
11540
|
+
size: "lg",
|
|
11541
|
+
weight: "medium",
|
|
11542
|
+
children: avatar.name
|
|
11697
11543
|
})
|
|
11698
11544
|
]
|
|
11699
|
-
}) : /* @__PURE__ */ (0,
|
|
11545
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
|
|
11546
|
+
className: "w-[76px]"
|
|
11547
|
+
})
|
|
11548
|
+
}),
|
|
11549
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
|
|
11550
|
+
className: "flex-1 flex justify-end items-center",
|
|
11551
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
|
|
11552
|
+
className: "flex items-center space-x-3",
|
|
11700
11553
|
children: [
|
|
11701
|
-
|
|
11702
|
-
"aria-label": clearText || "Clear Filters",
|
|
11703
|
-
size: "md",
|
|
11704
|
-
variant: "secondary",
|
|
11705
|
-
color: "default",
|
|
11706
|
-
className: "hidden md:flex relative text-sm font-medium ml-2 mr-3 px-4 justify-center items-center",
|
|
11707
|
-
onClick: onClear,
|
|
11708
|
-
children: [
|
|
11709
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11710
|
-
className: "relative mr-1.5",
|
|
11711
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(FilterIcon_default, {
|
|
11712
|
-
className: "w-5 h-5 fill-cc-Button-Secondary-fg-default"
|
|
11713
|
-
})
|
|
11714
|
-
}),
|
|
11715
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", {
|
|
11716
|
-
className: "hidden md:block",
|
|
11717
|
-
children: clearText || "Clear Filters"
|
|
11718
|
-
})
|
|
11719
|
-
]
|
|
11720
|
-
}),
|
|
11721
|
-
showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11554
|
+
showSearchBar && (!isMobile2 && pageType === 1 || pageType === 2) && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
|
|
11722
11555
|
className: "relative w-full md:w-60",
|
|
11723
|
-
children: /* @__PURE__ */ (0,
|
|
11556
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SearchBar, {
|
|
11724
11557
|
color: "gray",
|
|
11725
11558
|
size: "xs",
|
|
11726
11559
|
searchValue: searchValue,
|
|
@@ -11730,32 +11563,34 @@ function SecondaryNavigationBar(param) {
|
|
|
11730
11563
|
}
|
|
11731
11564
|
})
|
|
11732
11565
|
}),
|
|
11733
|
-
|
|
11734
|
-
className: "flex-shrink-0 flex relative text-sm font-medium px-4 justify-center items-center ml-3",
|
|
11735
|
-
"aria-label": clearText || "Clear Filters",
|
|
11736
|
-
size: "md",
|
|
11737
|
-
variant: "primary",
|
|
11738
|
-
onClick: onClear,
|
|
11739
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
|
|
11740
|
-
className: "relative",
|
|
11741
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(FilterIcon_default, {})
|
|
11742
|
-
})
|
|
11743
|
-
})
|
|
11566
|
+
children
|
|
11744
11567
|
]
|
|
11745
11568
|
})
|
|
11746
11569
|
})
|
|
11570
|
+
]
|
|
11571
|
+
}),
|
|
11572
|
+
showSearchBar && pageType === 1 && isMobile2 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
|
|
11573
|
+
className: "relative w-full h-13 py-2",
|
|
11574
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SearchBar, {
|
|
11575
|
+
color: "gray",
|
|
11576
|
+
size: "xs",
|
|
11577
|
+
searchValue: searchValue,
|
|
11578
|
+
placeholder: searchPlaceholder || "Search",
|
|
11579
|
+
onSearchChange: function(value1) {
|
|
11580
|
+
onSearchChange && onSearchChange(value1);
|
|
11581
|
+
}
|
|
11747
11582
|
})
|
|
11748
|
-
|
|
11749
|
-
|
|
11583
|
+
})
|
|
11584
|
+
]
|
|
11750
11585
|
});
|
|
11751
11586
|
}
|
|
11752
11587
|
// src/components/select.tsx
|
|
11753
11588
|
var import_outline2 = require("@heroicons/react/24/outline");
|
|
11754
11589
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
11755
|
-
var
|
|
11756
|
-
var
|
|
11757
|
-
var
|
|
11758
|
-
var Select =
|
|
11590
|
+
var import_lucide_react10 = require("lucide-react");
|
|
11591
|
+
var React31 = __toESM(require("react"), 1);
|
|
11592
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
11593
|
+
var Select = React31.forwardRef(function(_param, ref) {
|
|
11759
11594
|
var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
11760
11595
|
"children",
|
|
11761
11596
|
"placeholder",
|
|
@@ -11766,26 +11601,26 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11766
11601
|
var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
|
|
11767
11602
|
return item.value === props.value;
|
|
11768
11603
|
})) === null || _options_find === void 0 ? void 0 : _options_find.icon;
|
|
11769
|
-
return /* @__PURE__ */ (0,
|
|
11770
|
-
children: Array.isArray(options) && options.length ? /* @__PURE__ */ (0,
|
|
11604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
|
|
11605
|
+
children: Array.isArray(options) && options.length ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, {
|
|
11771
11606
|
children: [
|
|
11772
|
-
/* @__PURE__ */ (0,
|
|
11607
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectTrigger, {
|
|
11773
11608
|
className: cn(triggerClassName),
|
|
11774
|
-
children: /* @__PURE__ */ (0,
|
|
11609
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", {
|
|
11775
11610
|
className: "flex items-center",
|
|
11776
11611
|
children: [
|
|
11777
|
-
/* @__PURE__ */ (0,
|
|
11612
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectIcon, {
|
|
11778
11613
|
icon: icon
|
|
11779
11614
|
}),
|
|
11780
|
-
/* @__PURE__ */ (0,
|
|
11615
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectValue, {
|
|
11781
11616
|
placeholder: placeholder
|
|
11782
11617
|
})
|
|
11783
11618
|
]
|
|
11784
11619
|
})
|
|
11785
11620
|
}),
|
|
11786
|
-
/* @__PURE__ */ (0,
|
|
11621
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectContent, {
|
|
11787
11622
|
children: options.map(function(item, i) {
|
|
11788
|
-
return /* @__PURE__ */ (0,
|
|
11623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectItem, _object_spread_props(_object_spread({}, item), {
|
|
11789
11624
|
children: item.label
|
|
11790
11625
|
}), "".concat(item.value, "_").concat(i));
|
|
11791
11626
|
})
|
|
@@ -11796,20 +11631,20 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11796
11631
|
});
|
|
11797
11632
|
var SelectGroup = SelectPrimitive.Group;
|
|
11798
11633
|
var SelectValue = SelectPrimitive.Value;
|
|
11799
|
-
var SelectTrigger =
|
|
11634
|
+
var SelectTrigger = React31.forwardRef(function(_param, ref) {
|
|
11800
11635
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11801
11636
|
"className",
|
|
11802
11637
|
"children"
|
|
11803
11638
|
]);
|
|
11804
|
-
return /* @__PURE__ */ (0,
|
|
11639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11805
11640
|
ref: ref,
|
|
11806
11641
|
className: cn("flex h-10 w-full items-center justify-between rounded-sm border border-Colors-Border-Default bg-Colors-Background-Neutral-On-Surface-Default text-Colors-Text-Default text-sm p-3 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)
|
|
11807
11642
|
}, props), {
|
|
11808
11643
|
children: [
|
|
11809
11644
|
children,
|
|
11810
|
-
/* @__PURE__ */ (0,
|
|
11645
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Icon, {
|
|
11811
11646
|
asChild: true,
|
|
11812
|
-
children: /* @__PURE__ */ (0,
|
|
11647
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.ChevronDown, {
|
|
11813
11648
|
className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
|
|
11814
11649
|
})
|
|
11815
11650
|
})
|
|
@@ -11817,47 +11652,47 @@ var SelectTrigger = React32.forwardRef(function(_param, ref) {
|
|
|
11817
11652
|
}));
|
|
11818
11653
|
});
|
|
11819
11654
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
11820
|
-
var SelectScrollUpButton =
|
|
11655
|
+
var SelectScrollUpButton = React31.forwardRef(function(_param, ref) {
|
|
11821
11656
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11822
11657
|
"className"
|
|
11823
11658
|
]);
|
|
11824
|
-
return /* @__PURE__ */ (0,
|
|
11659
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
|
|
11825
11660
|
ref: ref,
|
|
11826
11661
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11827
11662
|
}, props), {
|
|
11828
|
-
children: /* @__PURE__ */ (0,
|
|
11663
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.ChevronUp, {
|
|
11829
11664
|
className: "h-4 w-4"
|
|
11830
11665
|
})
|
|
11831
11666
|
}));
|
|
11832
11667
|
});
|
|
11833
11668
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
11834
|
-
var SelectScrollDownButton =
|
|
11669
|
+
var SelectScrollDownButton = React31.forwardRef(function(_param, ref) {
|
|
11835
11670
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11836
11671
|
"className"
|
|
11837
11672
|
]);
|
|
11838
|
-
return /* @__PURE__ */ (0,
|
|
11673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
|
|
11839
11674
|
ref: ref,
|
|
11840
11675
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11841
11676
|
}, props), {
|
|
11842
|
-
children: /* @__PURE__ */ (0,
|
|
11677
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.ChevronDown, {
|
|
11843
11678
|
className: "h-4 w-4"
|
|
11844
11679
|
})
|
|
11845
11680
|
}));
|
|
11846
11681
|
});
|
|
11847
11682
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
11848
|
-
var SelectContent =
|
|
11683
|
+
var SelectContent = React31.forwardRef(function(_param, ref) {
|
|
11849
11684
|
var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
|
|
11850
11685
|
"className",
|
|
11851
11686
|
"children",
|
|
11852
11687
|
"position"
|
|
11853
11688
|
]);
|
|
11854
|
-
return /* @__PURE__ */ (0,
|
|
11855
|
-
children: /* @__PURE__ */ (0,
|
|
11689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Portal, {
|
|
11690
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11856
11691
|
ref: ref,
|
|
11857
|
-
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-
|
|
11692
|
+
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-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),
|
|
11858
11693
|
position: position
|
|
11859
11694
|
}, props), {
|
|
11860
|
-
children: /* @__PURE__ */ (0,
|
|
11695
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Viewport, {
|
|
11861
11696
|
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)]"),
|
|
11862
11697
|
children: children
|
|
11863
11698
|
})
|
|
@@ -11865,11 +11700,11 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
11865
11700
|
});
|
|
11866
11701
|
});
|
|
11867
11702
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
11868
|
-
var SelectLabel =
|
|
11703
|
+
var SelectLabel = React31.forwardRef(function(_param, ref) {
|
|
11869
11704
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11870
11705
|
"className"
|
|
11871
11706
|
]);
|
|
11872
|
-
return /* @__PURE__ */ (0,
|
|
11707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Label, _object_spread({
|
|
11873
11708
|
ref: ref,
|
|
11874
11709
|
className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
|
|
11875
11710
|
}, props));
|
|
@@ -11880,55 +11715,55 @@ function SelectIcon(props) {
|
|
|
11880
11715
|
if (!icon) {
|
|
11881
11716
|
return null;
|
|
11882
11717
|
}
|
|
11883
|
-
return /* @__PURE__ */ (0,
|
|
11718
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Icon, {
|
|
11884
11719
|
children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
|
|
11885
|
-
/* @__PURE__ */ (0,
|
|
11720
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
|
|
11886
11721
|
className: cn("aspect-[20/20] w-5 h-5 relative bg-cover bg-no-repeat rounded-sm overflow-hidden mr-1.5", critical && "text-Colors-Text-Critical-Default"),
|
|
11887
11722
|
style: {
|
|
11888
11723
|
backgroundImage: "url('".concat(icon, "')")
|
|
11889
11724
|
}
|
|
11890
|
-
}) :
|
|
11891
|
-
/* @__PURE__ */ (0,
|
|
11725
|
+
}) : React31.isValidElement(icon) ? // 如果是React元素,直接渲染
|
|
11726
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
|
|
11892
11727
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11893
11728
|
children: icon
|
|
11894
11729
|
}) : // 如果是组件类型,创建元素
|
|
11895
|
-
/* @__PURE__ */ (0,
|
|
11730
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
|
|
11896
11731
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11897
|
-
children:
|
|
11732
|
+
children: React31.createElement(icon, {
|
|
11898
11733
|
className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
|
|
11899
11734
|
})
|
|
11900
11735
|
})
|
|
11901
11736
|
});
|
|
11902
11737
|
}
|
|
11903
11738
|
SelectIcon.displayName = SelectPrimitive.Icon.displayName;
|
|
11904
|
-
var SelectItem =
|
|
11739
|
+
var SelectItem = React31.forwardRef(function(_param, ref) {
|
|
11905
11740
|
var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
|
|
11906
11741
|
"className",
|
|
11907
11742
|
"children",
|
|
11908
11743
|
"icon",
|
|
11909
11744
|
"critical"
|
|
11910
11745
|
]);
|
|
11911
|
-
return /* @__PURE__ */ (0,
|
|
11746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11912
11747
|
ref: ref,
|
|
11913
11748
|
className: cn("relative flex justify-between w-full text-sm cursor-pointer select-none items-center rounded-sm 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)
|
|
11914
11749
|
}, props), {
|
|
11915
11750
|
children: [
|
|
11916
|
-
/* @__PURE__ */ (0,
|
|
11751
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", {
|
|
11917
11752
|
className: "flex items-center grow",
|
|
11918
11753
|
children: [
|
|
11919
|
-
/* @__PURE__ */ (0,
|
|
11754
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectIcon, {
|
|
11920
11755
|
icon: icon,
|
|
11921
11756
|
critical: critical
|
|
11922
11757
|
}),
|
|
11923
|
-
/* @__PURE__ */ (0,
|
|
11758
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.ItemText, {
|
|
11924
11759
|
children: children
|
|
11925
11760
|
})
|
|
11926
11761
|
]
|
|
11927
11762
|
}),
|
|
11928
|
-
/* @__PURE__ */ (0,
|
|
11763
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", {
|
|
11929
11764
|
className: "flex h-4 w-4 items-center justify-center",
|
|
11930
|
-
children: /* @__PURE__ */ (0,
|
|
11931
|
-
children: /* @__PURE__ */ (0,
|
|
11765
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.ItemIndicator, {
|
|
11766
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_outline2.CheckIcon, {
|
|
11932
11767
|
className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
|
|
11933
11768
|
})
|
|
11934
11769
|
})
|
|
@@ -11937,11 +11772,11 @@ var SelectItem = React32.forwardRef(function(_param, ref) {
|
|
|
11937
11772
|
}));
|
|
11938
11773
|
});
|
|
11939
11774
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
11940
|
-
var SelectSeparator =
|
|
11775
|
+
var SelectSeparator = React31.forwardRef(function(_param, ref) {
|
|
11941
11776
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11942
11777
|
"className"
|
|
11943
11778
|
]);
|
|
11944
|
-
return /* @__PURE__ */ (0,
|
|
11779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectPrimitive.Separator, _object_spread({
|
|
11945
11780
|
ref: ref,
|
|
11946
11781
|
className: cn("-mx-1 my-1 h-px bg-border-default", className)
|
|
11947
11782
|
}, props));
|
|
@@ -11950,18 +11785,18 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
11950
11785
|
// src/components/sheet.tsx
|
|
11951
11786
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
11952
11787
|
var import_class_variance_authority14 = require("class-variance-authority");
|
|
11953
|
-
var
|
|
11954
|
-
var
|
|
11955
|
-
var
|
|
11788
|
+
var import_lucide_react11 = require("lucide-react");
|
|
11789
|
+
var React32 = __toESM(require("react"), 1);
|
|
11790
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
11956
11791
|
var Sheet = SheetPrimitive.Root;
|
|
11957
11792
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
11958
11793
|
var SheetClose = SheetPrimitive.Close;
|
|
11959
11794
|
var SheetPortal = SheetPrimitive.Portal;
|
|
11960
|
-
var SheetOverlay =
|
|
11795
|
+
var SheetOverlay = React32.forwardRef(function(_param, ref) {
|
|
11961
11796
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11962
11797
|
"className"
|
|
11963
11798
|
]);
|
|
11964
|
-
return /* @__PURE__ */ (0,
|
|
11799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
|
|
11965
11800
|
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)
|
|
11966
11801
|
}, props), {
|
|
11967
11802
|
ref: ref
|
|
@@ -11981,16 +11816,16 @@ var sheetVariants = (0, import_class_variance_authority14.cva)("fixed z-50 gap-4
|
|
|
11981
11816
|
side: "right"
|
|
11982
11817
|
}
|
|
11983
11818
|
});
|
|
11984
|
-
var SheetContent =
|
|
11819
|
+
var SheetContent = React32.forwardRef(function(_param, ref) {
|
|
11985
11820
|
var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11986
11821
|
"side",
|
|
11987
11822
|
"className",
|
|
11988
11823
|
"children"
|
|
11989
11824
|
]);
|
|
11990
|
-
return /* @__PURE__ */ (0,
|
|
11825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SheetPortal, {
|
|
11991
11826
|
children: [
|
|
11992
|
-
/* @__PURE__ */ (0,
|
|
11993
|
-
/* @__PURE__ */ (0,
|
|
11827
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SheetOverlay, {}),
|
|
11828
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SheetPrimitive.Content, _object_spread_props(_object_spread({
|
|
11994
11829
|
ref: ref,
|
|
11995
11830
|
className: cn(sheetVariants({
|
|
11996
11831
|
side: side
|
|
@@ -11998,13 +11833,13 @@ var SheetContent = React33.forwardRef(function(_param, ref) {
|
|
|
11998
11833
|
}, props), {
|
|
11999
11834
|
children: [
|
|
12000
11835
|
children,
|
|
12001
|
-
/* @__PURE__ */ (0,
|
|
11836
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SheetPrimitive.Close, {
|
|
12002
11837
|
className: "absolute right-4 top-4 rounded-xxs 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",
|
|
12003
11838
|
children: [
|
|
12004
|
-
/* @__PURE__ */ (0,
|
|
11839
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react11.X, {
|
|
12005
11840
|
className: "h-4 w-4"
|
|
12006
11841
|
}),
|
|
12007
|
-
/* @__PURE__ */ (0,
|
|
11842
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", {
|
|
12008
11843
|
className: "sr-only",
|
|
12009
11844
|
children: "Close"
|
|
12010
11845
|
})
|
|
@@ -12020,7 +11855,7 @@ var SheetHeader = function(_param) {
|
|
|
12020
11855
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12021
11856
|
"className"
|
|
12022
11857
|
]);
|
|
12023
|
-
return /* @__PURE__ */ (0,
|
|
11858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", _object_spread({
|
|
12024
11859
|
className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
|
|
12025
11860
|
}, props));
|
|
12026
11861
|
};
|
|
@@ -12029,65 +11864,65 @@ var SheetFooter = function(_param) {
|
|
|
12029
11864
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12030
11865
|
"className"
|
|
12031
11866
|
]);
|
|
12032
|
-
return /* @__PURE__ */ (0,
|
|
11867
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", _object_spread({
|
|
12033
11868
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
|
|
12034
11869
|
}, props));
|
|
12035
11870
|
};
|
|
12036
11871
|
SheetFooter.displayName = "SheetFooter";
|
|
12037
|
-
var SheetTitle =
|
|
11872
|
+
var SheetTitle = React32.forwardRef(function(_param, ref) {
|
|
12038
11873
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12039
11874
|
"className"
|
|
12040
11875
|
]);
|
|
12041
|
-
return /* @__PURE__ */ (0,
|
|
11876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SheetPrimitive.Title, _object_spread({
|
|
12042
11877
|
ref: ref,
|
|
12043
11878
|
className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
|
|
12044
11879
|
}, props));
|
|
12045
11880
|
});
|
|
12046
11881
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
12047
|
-
var SheetDescription =
|
|
11882
|
+
var SheetDescription = React32.forwardRef(function(_param, ref) {
|
|
12048
11883
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12049
11884
|
"className"
|
|
12050
11885
|
]);
|
|
12051
|
-
return /* @__PURE__ */ (0,
|
|
11886
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SheetPrimitive.Description, _object_spread({
|
|
12052
11887
|
ref: ref,
|
|
12053
11888
|
className: cn("text-sm text-slate-500 dark:text-slate-400", className)
|
|
12054
11889
|
}, props));
|
|
12055
11890
|
});
|
|
12056
11891
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
12057
11892
|
// src/components/skeleton.tsx
|
|
12058
|
-
var
|
|
11893
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
12059
11894
|
function Skeleton(_param) {
|
|
12060
11895
|
var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
|
|
12061
11896
|
"className",
|
|
12062
11897
|
"animate"
|
|
12063
11898
|
]);
|
|
12064
|
-
return /* @__PURE__ */ (0,
|
|
11899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", _object_spread({
|
|
12065
11900
|
className: cn("rounded-sm bg-Colors-Background-Normal-Secondary-Default", className, animate && "animate-pulse")
|
|
12066
11901
|
}, props));
|
|
12067
11902
|
}
|
|
12068
11903
|
// src/components/slider.tsx
|
|
12069
11904
|
var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
|
|
12070
|
-
var
|
|
12071
|
-
var
|
|
12072
|
-
var Slider =
|
|
11905
|
+
var React33 = __toESM(require("react"), 1);
|
|
11906
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
11907
|
+
var Slider = React33.forwardRef(function(_param, ref) {
|
|
12073
11908
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
|
|
12074
11909
|
"className",
|
|
12075
11910
|
"size"
|
|
12076
11911
|
]);
|
|
12077
|
-
return /* @__PURE__ */ (0,
|
|
11912
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
12078
11913
|
className: "w-full p-3 flex justify-center items-center h-10 rounded-md border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default hover:border-Colors-Border-Hover hover:bg-Colors-Foreground-Subtle aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Utility-Terracotta-5 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",
|
|
12079
|
-
children: /* @__PURE__ */ (0,
|
|
11914
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
12080
11915
|
ref: ref,
|
|
12081
11916
|
className: cn("relative flex w-full touch-none select-none items-center", className)
|
|
12082
11917
|
}, props), {
|
|
12083
11918
|
children: [
|
|
12084
|
-
/* @__PURE__ */ (0,
|
|
11919
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Track, {
|
|
12085
11920
|
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"),
|
|
12086
|
-
children: /* @__PURE__ */ (0,
|
|
11921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Range, {
|
|
12087
11922
|
className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
|
|
12088
11923
|
})
|
|
12089
11924
|
}),
|
|
12090
|
-
/* @__PURE__ */ (0,
|
|
11925
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Thumb, {
|
|
12091
11926
|
className: cn("block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-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]")
|
|
12092
11927
|
})
|
|
12093
11928
|
]
|
|
@@ -12095,7 +11930,7 @@ var Slider = React34.forwardRef(function(_param, ref) {
|
|
|
12095
11930
|
});
|
|
12096
11931
|
});
|
|
12097
11932
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
12098
|
-
var SliderSingle =
|
|
11933
|
+
var SliderSingle = React33.forwardRef(function(_param, ref) {
|
|
12099
11934
|
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, [
|
|
12100
11935
|
"className",
|
|
12101
11936
|
"containerClassName",
|
|
@@ -12109,12 +11944,12 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12109
11944
|
"onValueCommit",
|
|
12110
11945
|
"settable"
|
|
12111
11946
|
]);
|
|
12112
|
-
return /* @__PURE__ */ (0,
|
|
11947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
|
|
12113
11948
|
className: "flex w-full items-center space-x-1.5",
|
|
12114
11949
|
children: [
|
|
12115
|
-
/* @__PURE__ */ (0,
|
|
11950
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
12116
11951
|
className: cn("w-full p-3 flex justify-center items-center h-10 rounded-md border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default hover:border-Colors-Border-Hover hover:bg-Colors-Foreground-Subtle aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Utility-Terracotta-5 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),
|
|
12117
|
-
children: /* @__PURE__ */ (0,
|
|
11952
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
12118
11953
|
ref: ref,
|
|
12119
11954
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
12120
11955
|
value: typeof value1 === "number" ? [
|
|
@@ -12131,21 +11966,21 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12131
11966
|
}
|
|
12132
11967
|
}, props), {
|
|
12133
11968
|
children: [
|
|
12134
|
-
/* @__PURE__ */ (0,
|
|
11969
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Track, {
|
|
12135
11970
|
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),
|
|
12136
|
-
children: /* @__PURE__ */ (0,
|
|
11971
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Range, {
|
|
12137
11972
|
className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
|
|
12138
11973
|
})
|
|
12139
11974
|
}),
|
|
12140
|
-
/* @__PURE__ */ (0,
|
|
11975
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SliderPrimitive.Thumb, {
|
|
12141
11976
|
className: cn("cursor-pointer block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-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)
|
|
12142
11977
|
})
|
|
12143
11978
|
]
|
|
12144
11979
|
}))
|
|
12145
11980
|
}),
|
|
12146
|
-
settable && /* @__PURE__ */ (0,
|
|
11981
|
+
settable && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
|
|
12147
11982
|
className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-md",
|
|
12148
|
-
children: /* @__PURE__ */ (0,
|
|
11983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(NumberInput, {
|
|
12149
11984
|
value: value1,
|
|
12150
11985
|
min: props === null || props === void 0 ? void 0 : props.min,
|
|
12151
11986
|
max: props === null || props === void 0 ? void 0 : props.max,
|
|
@@ -12163,8 +11998,8 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
12163
11998
|
SliderSingle.displayName = "SliderSingle";
|
|
12164
11999
|
// src/components/spinner.tsx
|
|
12165
12000
|
var import_class_variance_authority15 = require("class-variance-authority");
|
|
12166
|
-
var
|
|
12167
|
-
var
|
|
12001
|
+
var import_lucide_react12 = require("lucide-react");
|
|
12002
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
12168
12003
|
var spinnerVariants = (0, import_class_variance_authority15.cva)("animate-spin", {
|
|
12169
12004
|
variants: {
|
|
12170
12005
|
size: {
|
|
@@ -12196,7 +12031,7 @@ var spinnerVariants = (0, import_class_variance_authority15.cva)("animate-spin",
|
|
|
12196
12031
|
});
|
|
12197
12032
|
function Spinner(props) {
|
|
12198
12033
|
var size = props.size, speed = props.speed, color = props.color, className = props.className;
|
|
12199
|
-
return /* @__PURE__ */ (0,
|
|
12034
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react12.Loader2, {
|
|
12200
12035
|
className: cn(spinnerVariants({
|
|
12201
12036
|
size: size,
|
|
12202
12037
|
speed: speed,
|
|
@@ -12207,8 +12042,8 @@ function Spinner(props) {
|
|
|
12207
12042
|
// src/components/switch.tsx
|
|
12208
12043
|
var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
|
|
12209
12044
|
var import_class_variance_authority16 = require("class-variance-authority");
|
|
12210
|
-
var
|
|
12211
|
-
var
|
|
12045
|
+
var React34 = __toESM(require("react"), 1);
|
|
12046
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
12212
12047
|
var switchSize = {
|
|
12213
12048
|
sm: "w-7 h-4",
|
|
12214
12049
|
md: "w-[34px] h-5",
|
|
@@ -12290,7 +12125,7 @@ var switchThumbIconVariants = (0, import_class_variance_authority16.cva)("flex i
|
|
|
12290
12125
|
}
|
|
12291
12126
|
}
|
|
12292
12127
|
});
|
|
12293
|
-
var Switch =
|
|
12128
|
+
var Switch = React34.forwardRef(function(_param, ref) {
|
|
12294
12129
|
var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, vertical = _param.vertical, icon = _param.icon, props = _object_without_properties(_param, [
|
|
12295
12130
|
"className",
|
|
12296
12131
|
"size",
|
|
@@ -12299,23 +12134,23 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
12299
12134
|
"vertical",
|
|
12300
12135
|
"icon"
|
|
12301
12136
|
]);
|
|
12302
|
-
var Component = label ? "div" :
|
|
12303
|
-
return /* @__PURE__ */ (0,
|
|
12137
|
+
var Component = label ? "div" : React34.Fragment;
|
|
12138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Component, {
|
|
12304
12139
|
className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", vertical && "flex-col space-x-0 space-y-1.5"),
|
|
12305
12140
|
children: [
|
|
12306
|
-
/* @__PURE__ */ (0,
|
|
12141
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SwitchPrimitives.Root, _object_spread_props(_object_spread({
|
|
12307
12142
|
className: cn(switchRootVariants({
|
|
12308
12143
|
size: size,
|
|
12309
12144
|
vertical: vertical
|
|
12310
12145
|
}), className, vertical && "flex-col")
|
|
12311
12146
|
}, props), {
|
|
12312
12147
|
ref: ref,
|
|
12313
|
-
children: /* @__PURE__ */ (0,
|
|
12148
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SwitchPrimitives.Thumb, {
|
|
12314
12149
|
className: cn(switchThumbVariants({
|
|
12315
12150
|
size: size,
|
|
12316
12151
|
vertical: vertical
|
|
12317
12152
|
}), "flex items-center justify-center"),
|
|
12318
|
-
children: icon && /* @__PURE__ */ (0,
|
|
12153
|
+
children: icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, {
|
|
12319
12154
|
component: icon,
|
|
12320
12155
|
className: switchThumbIconVariants({
|
|
12321
12156
|
size: size
|
|
@@ -12323,7 +12158,7 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
12323
12158
|
})
|
|
12324
12159
|
})
|
|
12325
12160
|
})),
|
|
12326
|
-
label && /* @__PURE__ */ (0,
|
|
12161
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", {
|
|
12327
12162
|
className: cn("text-sm", labelClassName),
|
|
12328
12163
|
children: label
|
|
12329
12164
|
})
|
|
@@ -12334,8 +12169,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
12334
12169
|
// src/components/tabs.tsx
|
|
12335
12170
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
|
|
12336
12171
|
var import_class_variance_authority17 = require("class-variance-authority");
|
|
12337
|
-
var
|
|
12338
|
-
var
|
|
12172
|
+
var React35 = __toESM(require("react"), 1);
|
|
12173
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
12339
12174
|
var TabsRoot = TabsPrimitive.Tabs;
|
|
12340
12175
|
var TabsList = TabsPrimitive.List;
|
|
12341
12176
|
var TabsTrigger = TabsPrimitive.Trigger;
|
|
@@ -12484,7 +12319,7 @@ var tabVariants = (0, import_class_variance_authority17.cva)("relative inline-fl
|
|
|
12484
12319
|
rounded: "default"
|
|
12485
12320
|
}
|
|
12486
12321
|
});
|
|
12487
|
-
var Tabs2 =
|
|
12322
|
+
var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
12488
12323
|
var className = _param.className, listClassName = _param.listClassName, contentClassName = _param.contentClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, size = _param.size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items, props = _object_without_properties(_param, [
|
|
12489
12324
|
"className",
|
|
12490
12325
|
"listClassName",
|
|
@@ -12495,14 +12330,14 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
12495
12330
|
"rounded",
|
|
12496
12331
|
"items"
|
|
12497
12332
|
]);
|
|
12498
|
-
return /* @__PURE__ */ (0,
|
|
12333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(TabsPrimitive.Root, _object_spread_props(_object_spread({
|
|
12499
12334
|
ref: ref,
|
|
12500
12335
|
className: cn(className)
|
|
12501
12336
|
}, props), {
|
|
12502
12337
|
children: [
|
|
12503
|
-
/* @__PURE__ */ (0,
|
|
12338
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
|
|
12504
12339
|
className: "w-full flex justify-start items-center",
|
|
12505
|
-
children: /* @__PURE__ */ (0,
|
|
12340
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
12506
12341
|
ref: ref,
|
|
12507
12342
|
className: cn(tabListVariants({
|
|
12508
12343
|
variant: variant,
|
|
@@ -12511,7 +12346,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
12511
12346
|
}), listClassName)
|
|
12512
12347
|
}, props), {
|
|
12513
12348
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
12514
|
-
return /* @__PURE__ */ (0,
|
|
12349
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Tab, _object_spread({
|
|
12515
12350
|
isLink: isLink,
|
|
12516
12351
|
variant: variant,
|
|
12517
12352
|
size: size,
|
|
@@ -12520,10 +12355,10 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
12520
12355
|
})
|
|
12521
12356
|
}))
|
|
12522
12357
|
}),
|
|
12523
|
-
!isLink && /* @__PURE__ */ (0,
|
|
12358
|
+
!isLink && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
|
|
12524
12359
|
className: "w-full",
|
|
12525
12360
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
12526
|
-
return /* @__PURE__ */ (0,
|
|
12361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TabsContent, {
|
|
12527
12362
|
value: item.value,
|
|
12528
12363
|
className: contentClassName,
|
|
12529
12364
|
children: item.children
|
|
@@ -12534,7 +12369,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
12534
12369
|
}));
|
|
12535
12370
|
});
|
|
12536
12371
|
Tabs2.displayName = TabsPrimitive.Root.displayName;
|
|
12537
|
-
var Tab =
|
|
12372
|
+
var Tab = React35.forwardRef(function(_param, ref) {
|
|
12538
12373
|
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, [
|
|
12539
12374
|
"className",
|
|
12540
12375
|
"variant",
|
|
@@ -12549,10 +12384,10 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12549
12384
|
"rounded",
|
|
12550
12385
|
"onClickCallback"
|
|
12551
12386
|
]);
|
|
12552
|
-
return /* @__PURE__ */ (0,
|
|
12387
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Tooltip, _object_spread_props(_object_spread({
|
|
12553
12388
|
triggerClassName: cn("h-full flex justify-center items-center", variant === "underline" ? "w-fit justify-start items-end" : "w-full flex-1")
|
|
12554
12389
|
}, tooltip), {
|
|
12555
|
-
children: /* @__PURE__ */ (0,
|
|
12390
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
12556
12391
|
ref: ref,
|
|
12557
12392
|
className: cn("tabtrigger min-w-fit", tabVariants({
|
|
12558
12393
|
variant: variant,
|
|
@@ -12564,7 +12399,7 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12564
12399
|
e.stopPropagation();
|
|
12565
12400
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(props.value);
|
|
12566
12401
|
},
|
|
12567
|
-
children: isLink && link ? /* @__PURE__ */ (0,
|
|
12402
|
+
children: isLink && link ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(link_default, {
|
|
12568
12403
|
prefetch: true,
|
|
12569
12404
|
href: link,
|
|
12570
12405
|
className: cn("relative h-full w-full flex justify-center items-center"),
|
|
@@ -12575,28 +12410,28 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12575
12410
|
},
|
|
12576
12411
|
children: [
|
|
12577
12412
|
label,
|
|
12578
|
-
hasUnRead && /* @__PURE__ */ (0,
|
|
12413
|
+
hasUnRead && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Badge, {
|
|
12579
12414
|
className: "-mt-2.5"
|
|
12580
12415
|
})
|
|
12581
12416
|
]
|
|
12582
|
-
}) : /* @__PURE__ */ (0,
|
|
12417
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", {
|
|
12583
12418
|
className: "relative flex justify-center items-center",
|
|
12584
12419
|
children: [
|
|
12585
|
-
label && /* @__PURE__ */ (0,
|
|
12420
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", {
|
|
12586
12421
|
className: cn("text-inherit"),
|
|
12587
12422
|
children: label
|
|
12588
12423
|
}),
|
|
12589
|
-
icon && /* @__PURE__ */ (0,
|
|
12424
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, {
|
|
12590
12425
|
component: icon,
|
|
12591
12426
|
size: "md",
|
|
12592
12427
|
className: "text-inherit"
|
|
12593
12428
|
}),
|
|
12594
|
-
count2 ? /* @__PURE__ */ (0,
|
|
12429
|
+
count2 ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Text, {
|
|
12595
12430
|
size: "sm",
|
|
12596
12431
|
className: "ml-1 text-Colors-Text-Subtlest",
|
|
12597
12432
|
children: count2
|
|
12598
12433
|
}) : null,
|
|
12599
|
-
hasUnRead && /* @__PURE__ */ (0,
|
|
12434
|
+
hasUnRead && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Badge, {
|
|
12600
12435
|
className: "-mt-2.5"
|
|
12601
12436
|
})
|
|
12602
12437
|
]
|
|
@@ -12605,20 +12440,20 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
12605
12440
|
}));
|
|
12606
12441
|
});
|
|
12607
12442
|
Tab.displayName = TabsPrimitive.Trigger.displayName;
|
|
12608
|
-
var TabsContent =
|
|
12443
|
+
var TabsContent = React35.forwardRef(function(_param, ref) {
|
|
12609
12444
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12610
12445
|
"className"
|
|
12611
12446
|
]);
|
|
12612
|
-
return /* @__PURE__ */ (0,
|
|
12447
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TabsPrimitive.Content, _object_spread({
|
|
12613
12448
|
ref: ref,
|
|
12614
12449
|
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)
|
|
12615
12450
|
}, props));
|
|
12616
12451
|
});
|
|
12617
12452
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
12618
12453
|
// src/components/textarea.tsx
|
|
12619
|
-
var
|
|
12620
|
-
var
|
|
12621
|
-
var Textarea =
|
|
12454
|
+
var React36 = __toESM(require("react"), 1);
|
|
12455
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
12456
|
+
var Textarea = React36.forwardRef(function(_param, ref) {
|
|
12622
12457
|
var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
|
|
12623
12458
|
"className",
|
|
12624
12459
|
"maxLength",
|
|
@@ -12627,20 +12462,20 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
12627
12462
|
"maxLengthClassName"
|
|
12628
12463
|
]);
|
|
12629
12464
|
var _value_toString, _value_toString1;
|
|
12630
|
-
return /* @__PURE__ */ (0,
|
|
12465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
|
|
12631
12466
|
children: [
|
|
12632
|
-
/* @__PURE__ */ (0,
|
|
12467
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
|
|
12633
12468
|
className: "relative",
|
|
12634
12469
|
children: [
|
|
12635
|
-
/* @__PURE__ */ (0,
|
|
12636
|
-
className: cn("w-full min-h-[123px] p-3 pb-10 rounded-
|
|
12470
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("textarea", _object_spread({
|
|
12471
|
+
className: cn("w-full min-h-[123px] p-3 pb-10 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover 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),
|
|
12637
12472
|
ref: ref,
|
|
12638
12473
|
maxLength: maxLength,
|
|
12639
12474
|
value: value1
|
|
12640
12475
|
}, props)),
|
|
12641
|
-
maxLength ? /* @__PURE__ */ (0,
|
|
12476
|
+
maxLength ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
|
|
12642
12477
|
className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
|
|
12643
|
-
children: /* @__PURE__ */ (0,
|
|
12478
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Text, {
|
|
12644
12479
|
size: "sm",
|
|
12645
12480
|
color: "subtlest",
|
|
12646
12481
|
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)
|
|
@@ -12648,9 +12483,9 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
12648
12483
|
}) : null
|
|
12649
12484
|
]
|
|
12650
12485
|
}),
|
|
12651
|
-
error && /* @__PURE__ */ (0,
|
|
12486
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
|
|
12652
12487
|
className: "w-full",
|
|
12653
|
-
children: /* @__PURE__ */ (0,
|
|
12488
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Text, {
|
|
12654
12489
|
className: "text-wrap",
|
|
12655
12490
|
size: "sm",
|
|
12656
12491
|
weight: "regular",
|
|
@@ -12665,8 +12500,8 @@ Textarea.displayName = "Textarea";
|
|
|
12665
12500
|
// src/components/toggle.tsx
|
|
12666
12501
|
var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
|
|
12667
12502
|
var import_class_variance_authority18 = require("class-variance-authority");
|
|
12668
|
-
var
|
|
12669
|
-
var
|
|
12503
|
+
var React37 = __toESM(require("react"), 1);
|
|
12504
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
12670
12505
|
var toggleVariants = (0, import_class_variance_authority18.cva)("inline-flex items-center justify-center rounded-sm text-sm font-medium ring-offset-white text-Colors-Text-Subtlest hover:bg-slate-100 hover:text-slate-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-Colors-Background-Normal-Primary-Active data-[state=on]:text-Colors-Text-Brand-Default [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:hover:text-Colors-Text-Brand-Default dark:focus-visible:ring-slate-300 dark:data-[state=on]:bg-Colors-Background-Normal-Primary-Active dark:data-[state=on]:text-Colors-Text-Brand-Default", {
|
|
12671
12506
|
variants: {
|
|
12672
12507
|
variant: {
|
|
@@ -12685,13 +12520,13 @@ var toggleVariants = (0, import_class_variance_authority18.cva)("inline-flex ite
|
|
|
12685
12520
|
size: "default"
|
|
12686
12521
|
}
|
|
12687
12522
|
});
|
|
12688
|
-
var Toggle =
|
|
12523
|
+
var Toggle = React37.forwardRef(function(_param, ref) {
|
|
12689
12524
|
var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12690
12525
|
"className",
|
|
12691
12526
|
"variant",
|
|
12692
12527
|
"size"
|
|
12693
12528
|
]);
|
|
12694
|
-
return /* @__PURE__ */ (0,
|
|
12529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TogglePrimitive.Root, _object_spread({
|
|
12695
12530
|
ref: ref,
|
|
12696
12531
|
className: cn(toggleVariants({
|
|
12697
12532
|
variant: variant,
|
|
@@ -12703,24 +12538,24 @@ var Toggle = React38.forwardRef(function(_param, ref) {
|
|
|
12703
12538
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
12704
12539
|
// src/components/toggle-group.tsx
|
|
12705
12540
|
var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
|
|
12706
|
-
var
|
|
12707
|
-
var
|
|
12708
|
-
var ToggleGroupContext =
|
|
12541
|
+
var React38 = __toESM(require("react"), 1);
|
|
12542
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
12543
|
+
var ToggleGroupContext = React38.createContext({
|
|
12709
12544
|
size: "default",
|
|
12710
12545
|
variant: "default"
|
|
12711
12546
|
});
|
|
12712
|
-
var ToggleGroup =
|
|
12547
|
+
var ToggleGroup = React38.forwardRef(function(_param, ref) {
|
|
12713
12548
|
var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
|
|
12714
12549
|
"className",
|
|
12715
12550
|
"variant",
|
|
12716
12551
|
"size",
|
|
12717
12552
|
"children"
|
|
12718
12553
|
]);
|
|
12719
|
-
return /* @__PURE__ */ (0,
|
|
12554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
|
|
12720
12555
|
ref: ref,
|
|
12721
12556
|
className: cn("flex items-center justify-center gap-1 p-0.5 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Neutral-Primary-Default", className)
|
|
12722
12557
|
}, props), {
|
|
12723
|
-
children: /* @__PURE__ */ (0,
|
|
12558
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToggleGroupContext.Provider, {
|
|
12724
12559
|
value: {
|
|
12725
12560
|
variant: variant,
|
|
12726
12561
|
size: size
|
|
@@ -12730,15 +12565,15 @@ var ToggleGroup = React39.forwardRef(function(_param, ref) {
|
|
|
12730
12565
|
}));
|
|
12731
12566
|
});
|
|
12732
12567
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
12733
|
-
var ToggleGroupItem =
|
|
12568
|
+
var ToggleGroupItem = React38.forwardRef(function(_param, ref) {
|
|
12734
12569
|
var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12735
12570
|
"className",
|
|
12736
12571
|
"children",
|
|
12737
12572
|
"variant",
|
|
12738
12573
|
"size"
|
|
12739
12574
|
]);
|
|
12740
|
-
var context =
|
|
12741
|
-
return /* @__PURE__ */ (0,
|
|
12575
|
+
var context = React38.useContext(ToggleGroupContext);
|
|
12576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
12742
12577
|
ref: ref,
|
|
12743
12578
|
className: cn(toggleVariants({
|
|
12744
12579
|
variant: context.variant || variant,
|
|
@@ -12751,7 +12586,7 @@ var ToggleGroupItem = React39.forwardRef(function(_param, ref) {
|
|
|
12751
12586
|
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
12752
12587
|
// src/components/chips.tsx
|
|
12753
12588
|
var import_class_variance_authority19 = require("class-variance-authority");
|
|
12754
|
-
var
|
|
12589
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
12755
12590
|
var chipsVariants = (0, import_class_variance_authority19.cva)('min-w-10 flex items-center justify-center text-Colors-Text-Subtle rounded-sm border px-1.5 text-sm cursor-pointer focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled="true"]:cursor-not-allowed font-medium', {
|
|
12756
12591
|
variants: {
|
|
12757
12592
|
variant: {
|
|
@@ -12770,7 +12605,7 @@ var chipsVariants = (0, import_class_variance_authority19.cva)('min-w-10 flex it
|
|
|
12770
12605
|
});
|
|
12771
12606
|
function Chips(props) {
|
|
12772
12607
|
var variant = props.variant, size = props.size, count2 = props.count, className = props.className, label = props.label, disabled = props.disabled, selected = props.selected;
|
|
12773
|
-
return /* @__PURE__ */ (0,
|
|
12608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", {
|
|
12774
12609
|
"data-disabled": disabled,
|
|
12775
12610
|
"data-selected": selected,
|
|
12776
12611
|
className: cn(chipsVariants({
|
|
@@ -12779,7 +12614,7 @@ function Chips(props) {
|
|
|
12779
12614
|
}), className),
|
|
12780
12615
|
children: [
|
|
12781
12616
|
label,
|
|
12782
|
-
count2 && count2 > 0 ? /* @__PURE__ */ (0,
|
|
12617
|
+
count2 && count2 > 0 ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", {
|
|
12783
12618
|
className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
|
|
12784
12619
|
children: count2
|
|
12785
12620
|
}) : null
|
|
@@ -12789,9 +12624,9 @@ function Chips(props) {
|
|
|
12789
12624
|
// src/components/toast/toast.tsx
|
|
12790
12625
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"), 1);
|
|
12791
12626
|
var import_class_variance_authority20 = require("class-variance-authority");
|
|
12792
|
-
var
|
|
12627
|
+
var React39 = __toESM(require("react"), 1);
|
|
12793
12628
|
var import_XMarkIcon3 = __toESM(require("@heroicons/react/24/outline/esm/XMarkIcon"), 1);
|
|
12794
|
-
var
|
|
12629
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
12795
12630
|
var ToastProvider = ToastPrimitives.Provider;
|
|
12796
12631
|
var viewportPositionVariants = (0, import_class_variance_authority20.cva)("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
|
|
12797
12632
|
variants: {
|
|
@@ -12810,12 +12645,12 @@ var viewportPositionVariants = (0, import_class_variance_authority20.cva)("fixed
|
|
|
12810
12645
|
position: "top-right"
|
|
12811
12646
|
}
|
|
12812
12647
|
});
|
|
12813
|
-
var ToastViewport =
|
|
12648
|
+
var ToastViewport = React39.forwardRef(function(_param, ref) {
|
|
12814
12649
|
var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
|
|
12815
12650
|
"className",
|
|
12816
12651
|
"position"
|
|
12817
12652
|
]);
|
|
12818
|
-
return /* @__PURE__ */ (0,
|
|
12653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Viewport, _object_spread({
|
|
12819
12654
|
ref: ref,
|
|
12820
12655
|
className: cn(viewportPositionVariants({
|
|
12821
12656
|
position: position
|
|
@@ -12847,13 +12682,13 @@ var toastVariants = (0, import_class_variance_authority20.cva)("group pointer-ev
|
|
|
12847
12682
|
position: "top-right"
|
|
12848
12683
|
}
|
|
12849
12684
|
});
|
|
12850
|
-
var Toast =
|
|
12685
|
+
var Toast = React39.forwardRef(function(_param, ref) {
|
|
12851
12686
|
var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
|
|
12852
12687
|
"className",
|
|
12853
12688
|
"variant",
|
|
12854
12689
|
"position"
|
|
12855
12690
|
]);
|
|
12856
|
-
return /* @__PURE__ */ (0,
|
|
12691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Root, _object_spread({
|
|
12857
12692
|
ref: ref,
|
|
12858
12693
|
className: cn(toastVariants({
|
|
12859
12694
|
variant: variant,
|
|
@@ -12863,46 +12698,46 @@ var Toast = React40.forwardRef(function(_param, ref) {
|
|
|
12863
12698
|
}, props));
|
|
12864
12699
|
});
|
|
12865
12700
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
12866
|
-
var ToastAction =
|
|
12701
|
+
var ToastAction = React39.forwardRef(function(_param, ref) {
|
|
12867
12702
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12868
12703
|
"className"
|
|
12869
12704
|
]);
|
|
12870
|
-
return /* @__PURE__ */ (0,
|
|
12705
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Action, _object_spread({
|
|
12871
12706
|
ref: ref,
|
|
12872
12707
|
className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-sm 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)
|
|
12873
12708
|
}, props));
|
|
12874
12709
|
});
|
|
12875
12710
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
12876
|
-
var ToastClose =
|
|
12711
|
+
var ToastClose = React39.forwardRef(function(_param, ref) {
|
|
12877
12712
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12878
12713
|
"className"
|
|
12879
12714
|
]);
|
|
12880
|
-
return /* @__PURE__ */ (0,
|
|
12715
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
12881
12716
|
ref: ref,
|
|
12882
12717
|
className: cn("absolute right-4 top-4 rounded-sm 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),
|
|
12883
12718
|
"toast-close": ""
|
|
12884
12719
|
}, props), {
|
|
12885
|
-
children: /* @__PURE__ */ (0,
|
|
12720
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_XMarkIcon3.default, {
|
|
12886
12721
|
className: "h-5 w-5"
|
|
12887
12722
|
})
|
|
12888
12723
|
}));
|
|
12889
12724
|
});
|
|
12890
12725
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
12891
|
-
var ToastTitle =
|
|
12726
|
+
var ToastTitle = React39.forwardRef(function(_param, ref) {
|
|
12892
12727
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12893
12728
|
"className"
|
|
12894
12729
|
]);
|
|
12895
|
-
return /* @__PURE__ */ (0,
|
|
12730
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Title, _object_spread({
|
|
12896
12731
|
ref: ref,
|
|
12897
12732
|
className: cn("text-sm font-semibold", className)
|
|
12898
12733
|
}, props));
|
|
12899
12734
|
});
|
|
12900
12735
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
12901
|
-
var ToastDescription =
|
|
12736
|
+
var ToastDescription = React39.forwardRef(function(_param, ref) {
|
|
12902
12737
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12903
12738
|
"className"
|
|
12904
12739
|
]);
|
|
12905
|
-
return /* @__PURE__ */ (0,
|
|
12740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToastPrimitives.Description, _object_spread({
|
|
12906
12741
|
ref: ref,
|
|
12907
12742
|
className: cn("text-sm opacity-90", className)
|
|
12908
12743
|
}, props));
|
|
@@ -12913,8 +12748,8 @@ var import_CheckCircleIcon2 = __toESM(require("@heroicons/react/24/outline/esm/C
|
|
|
12913
12748
|
var import_InformationCircleIcon2 = __toESM(require("@heroicons/react/24/outline/esm/InformationCircleIcon"), 1);
|
|
12914
12749
|
var import_XCircleIcon2 = __toESM(require("@heroicons/react/24/outline/esm/XCircleIcon"), 1);
|
|
12915
12750
|
// src/components/toast/use-toast.tsx
|
|
12916
|
-
var
|
|
12917
|
-
var
|
|
12751
|
+
var React40 = __toESM(require("react"), 1);
|
|
12752
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
12918
12753
|
var TOAST_LIMIT = 8;
|
|
12919
12754
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
12920
12755
|
var count = 0;
|
|
@@ -13017,10 +12852,10 @@ function toast(_param) {
|
|
|
13017
12852
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
13018
12853
|
position: position
|
|
13019
12854
|
}), actions && {
|
|
13020
|
-
action: /* @__PURE__ */ (0,
|
|
12855
|
+
action: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
|
|
13021
12856
|
className: "flex justify-start items-center gap-2",
|
|
13022
12857
|
children: [
|
|
13023
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ (0,
|
|
12858
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, {
|
|
13024
12859
|
size: "sm",
|
|
13025
12860
|
weight: "medium",
|
|
13026
12861
|
color: "brand",
|
|
@@ -13030,13 +12865,13 @@ function toast(_param) {
|
|
|
13030
12865
|
},
|
|
13031
12866
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
13032
12867
|
}),
|
|
13033
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ (0,
|
|
12868
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(link_default, {
|
|
13034
12869
|
href: actions.viewUrl,
|
|
13035
12870
|
target: "_blank",
|
|
13036
12871
|
rel: "noreferrer noopener",
|
|
13037
|
-
children: /* @__PURE__ */ (0,
|
|
12872
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {
|
|
13038
12873
|
className: "flex items-center gap-1.5",
|
|
13039
|
-
children: /* @__PURE__ */ (0,
|
|
12874
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, {
|
|
13040
12875
|
size: "sm",
|
|
13041
12876
|
weight: "medium",
|
|
13042
12877
|
color: "default",
|
|
@@ -13062,8 +12897,8 @@ function toast(_param) {
|
|
|
13062
12897
|
};
|
|
13063
12898
|
}
|
|
13064
12899
|
function useToast() {
|
|
13065
|
-
var
|
|
13066
|
-
|
|
12900
|
+
var _React40_useState = _sliced_to_array(React40.useState(memoryState), 2), state = _React40_useState[0], setState = _React40_useState[1];
|
|
12901
|
+
React40.useEffect(function() {
|
|
13067
12902
|
listeners.push(setState);
|
|
13068
12903
|
return function() {
|
|
13069
12904
|
var index = listeners.indexOf(setState);
|
|
@@ -13087,7 +12922,7 @@ function useToast() {
|
|
|
13087
12922
|
// src/components/toast/toaster.tsx
|
|
13088
12923
|
var import_react15 = __toESM(require("react"), 1);
|
|
13089
12924
|
var import_outline3 = require("@heroicons/react/24/outline");
|
|
13090
|
-
var
|
|
12925
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
13091
12926
|
function Toaster() {
|
|
13092
12927
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
13093
12928
|
var toasts = useToast().toasts;
|
|
@@ -13121,22 +12956,22 @@ function Toaster() {
|
|
|
13121
12956
|
]);
|
|
13122
12957
|
var renderToast = function(toast4) {
|
|
13123
12958
|
var id = toast4.id, title = toast4.title, description = toast4.description, action = toast4.action, variant = toast4.variant, toastPosition = toast4.position;
|
|
13124
|
-
var
|
|
12959
|
+
var renderIcon2 = function(variant2) {
|
|
13125
12960
|
switch(variant2){
|
|
13126
12961
|
case "info":
|
|
13127
|
-
return /* @__PURE__ */ (0,
|
|
12962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_InformationCircleIcon2.default, {
|
|
13128
12963
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
13129
12964
|
});
|
|
13130
12965
|
case "success":
|
|
13131
|
-
return /* @__PURE__ */ (0,
|
|
12966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_CheckCircleIcon2.default, {
|
|
13132
12967
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
13133
12968
|
});
|
|
13134
12969
|
case "warning":
|
|
13135
|
-
return /* @__PURE__ */ (0,
|
|
12970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_outline3.ExclamationTriangleIcon, {
|
|
13136
12971
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
13137
12972
|
});
|
|
13138
12973
|
case "error":
|
|
13139
|
-
return /* @__PURE__ */ (0,
|
|
12974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_XCircleIcon2.default, {
|
|
13140
12975
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
13141
12976
|
});
|
|
13142
12977
|
}
|
|
@@ -13153,26 +12988,26 @@ function Toaster() {
|
|
|
13153
12988
|
return "bg-Colors-Background-Critical-Default";
|
|
13154
12989
|
}
|
|
13155
12990
|
};
|
|
13156
|
-
return /* @__PURE__ */ (0,
|
|
12991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
13157
12992
|
position: toastPosition,
|
|
13158
12993
|
children: [
|
|
13159
|
-
/* @__PURE__ */ (0,
|
|
12994
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
|
|
13160
12995
|
className: "flex flex-col gap-3",
|
|
13161
|
-
children: /* @__PURE__ */ (0,
|
|
12996
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
|
|
13162
12997
|
className: "flex items-start gap-3",
|
|
13163
12998
|
children: [
|
|
13164
|
-
/* @__PURE__ */ (0,
|
|
12999
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
|
|
13165
13000
|
className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
13166
|
-
children:
|
|
13001
|
+
children: renderIcon2(variant)
|
|
13167
13002
|
}),
|
|
13168
|
-
/* @__PURE__ */ (0,
|
|
13003
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
|
|
13169
13004
|
className: "grid gap-1",
|
|
13170
13005
|
children: [
|
|
13171
|
-
title && /* @__PURE__ */ (0,
|
|
13006
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastTitle, {
|
|
13172
13007
|
className: "text-base text-Colors-Text-Default",
|
|
13173
13008
|
children: title
|
|
13174
13009
|
}),
|
|
13175
|
-
description && /* @__PURE__ */ (0,
|
|
13010
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastDescription, {
|
|
13176
13011
|
className: "text-sm text-Colors-Text-Subtle",
|
|
13177
13012
|
children: description
|
|
13178
13013
|
}),
|
|
@@ -13182,17 +13017,17 @@ function Toaster() {
|
|
|
13182
13017
|
]
|
|
13183
13018
|
})
|
|
13184
13019
|
}),
|
|
13185
|
-
/* @__PURE__ */ (0,
|
|
13020
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastClose, {})
|
|
13186
13021
|
]
|
|
13187
13022
|
}), id);
|
|
13188
13023
|
};
|
|
13189
|
-
return /* @__PURE__ */ (0,
|
|
13024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastProvider, {
|
|
13190
13025
|
children: Object.entries(positionGroups).map(function(param) {
|
|
13191
13026
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
13192
|
-
return /* @__PURE__ */ (0,
|
|
13027
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react15.default.Fragment, {
|
|
13193
13028
|
children: [
|
|
13194
13029
|
toastsForPosition.map(renderToast),
|
|
13195
|
-
toastsForPosition.length > 0 && /* @__PURE__ */ (0,
|
|
13030
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ToastViewport, {
|
|
13196
13031
|
position: pos
|
|
13197
13032
|
})
|
|
13198
13033
|
]
|
|
@@ -13214,7 +13049,7 @@ var import_pagination = require("swiper/css/pagination");
|
|
|
13214
13049
|
// src/components/swiper/index.module.scss
|
|
13215
13050
|
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-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default 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-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default 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-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3hpYW9ndWFuZy9jb2RlL215c2hlbGwtcmVhY3QtbGliL3NyYy9jb21wb25lbnRzL3N3aXBlciIsInNvdXJjZXMiOlsiaW5kZXgubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRTs7QUFHRTtFQUNFO0VBQ0E7O0FBRUY7RUFDRTtFQUNBOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUVFOztBQUVGO0VBRUU7O0FBRUY7RUFDRTs7QUFHRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFLRjtFQUNFOztBQUNFO0VBQ0U7O0FBR047RUFDRTs7QUFDRTtFQUNFOzs7QUFPUjtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXBlckJveHtcbiAgQGFwcGx5IHctZnVsbCBoLWZpdDtcbiAgXG4gIDpnbG9iYWwoLnN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgYmctY29udGFpbiBiZy1uby1yZXBlYXQ7XG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QjRiV3h1Y3owaWFIUjBjRG92TDNkM2R5NTNNeTV2Y21jdk1qQXdNQzl6ZG1jaUlIWnBaWGRDYjNnOUlqQWdNQ0F5TUNBeU1DSWdabWxzYkQwaUl6UXhORE0wTlNJZ1kyeGhjM005SW5OcGVtVXROU0krQ2lBZ1BIQmhkR2dnWm1sc2JDMXlkV3hsUFNKbGRtVnViMlJrSWlCa1BTSk5NVEV1TnpnZ05TNHlNbUV1TnpVdU56VWdNQ0F3SURFZ01DQXhMakEyVERndU1EWWdNVEJzTXk0M01pQXpMamN5WVM0M05TNDNOU0F3SURFZ01TMHhMakEySURFdU1EWnNMVFF1TWpVdE5DNHlOV0V1TnpVdU56VWdNQ0F3SURFZ01DMHhMakEyYkRRdU1qVXROQzR5TldFdU56VXVOelVnTUNBd0lERWdNUzR3TmlBd1dpSWdZMnhwY0MxeWRXeGxQU0psZG1WdWIyUmtJaUF2UGdvOEwzTjJaejRLJyk7IFxuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGJnLWNvbnRhaW4gYmctbm8tcmVwZWF0O1xuICAgICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKCdkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUI0Yld4dWN6MGlhSFIwY0RvdkwzZDNkeTUzTXk1dmNtY3ZNakF3TUM5emRtY2lJSFpwWlhkQ2IzZzlJakFnTUNBeU1DQXlNQ0lnWm1sc2JEMGlJelF4TkRNME5TSWdZMnhoYzNNOUluTnBlbVV0TlNJK0NpQWdQSEJoZEdnZ1ptbHNiQzF5ZFd4bFBTSmxkbVZ1YjJSa0lpQmtQU0pOT0M0eU1pQTFMakl5WVM0M05TNDNOU0F3SURBZ01TQXhMakEySURCc05DNHlOU0EwTGpJMVlTNDNOUzQzTlNBd0lEQWdNU0F3SURFdU1EWnNMVFF1TWpVZ05DNHlOV0V1TnpVdU56VWdNQ0F3SURFdE1TNHdOaTB4TGpBMlRERXhMamswSURFd0lEZ3VNaklnTmk0eU9HRXVOelV1TnpVZ01DQXdJREVnTUMweExqQTJXaUlnWTJ4cGNDMXlkV3hsUFNKbGRtVnViMlJrSWlBdlBnbzhMM04yWno0S0NnPT0nKTsgXG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldjo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBjb250ZW50LW5vbmU7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dDo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBjb250ZW50LW5vbmU7XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5iYW5uZXItc3dpcGVyKSB7XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtcHJldikge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1yaWdodDtcbiAgICB9XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtbmV4dCkge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1sZWZ0O1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItc2xpZGUtYWN0aXZlKSB7XG4gICAgICBAYXBwbHkgb3BhY2l0eS0xMDA7XG4gICAgICAvLyB0cmFuc2Zvcm06IHNjYWxlKDEpIHRyYW5zbGF0ZVgoMCk7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgLXJpZ2h0LTQgbWQ6cmlnaHQtMCAzeGw6cmlnaHQtW2NhbGMoKDEwMCUtMTIwMHB4KS8yLTE2cHgpXTtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSAtbGVmdC00IG1kOmxlZnQtMCAzeGw6bGVmdC1bY2FsYygoMTAwJS0xMjAwcHgpLzItMTZweCldO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIuZmVhdHVyZS1zd2lwZXIpIHtcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IHJpZ2h0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgbGVmdC0wO1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLWRpc2FibGVkKSB7XG4gICAgICBAYXBwbHkgaGlkZGVuO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIucGF0cm9uLWJhZGdlLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgcmlnaHQtMDtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSBsZWZ0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tZGlzYWJsZWQpIHtcbiAgICAgIEBhcHBseSBoaWRkZW47XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5ncmlkLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci13cmFwcGVyKSB7XG4gICAgICBAYXBwbHkgdy1bMTAwdnddIG1kOnctZnVsbCBmbGV4LXdyYXAgZmxleC1jb2wgbS0wO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIpIHtcbiAgICBcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGhpZGRlbiBtZDpmbGV4IGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciBhYnNvbHV0ZSB0b3AtWzUwJV0gdy04IGgtOCBmb250LXNlbWlib2xkIHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBib3JkZXIgYm9yZGVyLUNvbG9ycy1Cb3JkZXItRGVmYXVsdCBiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1EZWZhdWx0IHJvdW5kZWQtZnVsbCBjdXJzb3ItcG9pbnRlciBob3ZlcjpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1Ib3ZlciBhY3RpdmU6YmctQ29sb3JzLUJhY2tncm91bmQtTm9ybWFsLVByaW1hcnktQWN0aXZlO1xuICAgICAgICAmOjphZnRlciB7XG4gICAgICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCB0ZXh0LXhzIGZvbnQtYm9sZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgaGlkZGVuIG1kOmZsZXgganVzdGlmeS1jZW50ZXIgaXRlbXMtY2VudGVyIGFic29sdXRlIHRvcC1bNTAlXSB3LTggaC04IGZvbnQtc2VtaWJvbGQgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IGJvcmRlciBib3JkZXItQ29sb3JzLUJvcmRlci1EZWZhdWx0IGJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LURlZmF1bHQgcm91bmRlZC1mdWxsIGN1cnNvci1wb2ludGVyIGhvdmVyOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUhvdmVyIGFjdGl2ZTpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1BY3RpdmU7XG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICBAYXBwbHkgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IHRleHQteHMgZm9udC1ib2xkO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuXG4uYW5pbWF0ZSB7XG4gIDpnbG9iYWwoLnN3aXBlci1zbGlkZSkge1xuICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSA1MDBtcyBsaW5lYXI7XG4gIH1cbn1cbiJdfQ== */';
|
|
13216
13051
|
// src/components/swiper/index.tsx
|
|
13217
|
-
var
|
|
13052
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
13218
13053
|
var swiperVariants = (0, import_class_variance_authority21.cva)("", {
|
|
13219
13054
|
variants: {
|
|
13220
13055
|
rounded: {
|
|
@@ -13350,9 +13185,9 @@ function Swiper(props) {
|
|
|
13350
13185
|
}
|
|
13351
13186
|
}
|
|
13352
13187
|
};
|
|
13353
|
-
return /* @__PURE__ */ (0,
|
|
13188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", {
|
|
13354
13189
|
className: index_module_default.swiperBox,
|
|
13355
|
-
children: /* @__PURE__ */ (0,
|
|
13190
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react17.Swiper, _object_spread_props(_object_spread({
|
|
13356
13191
|
observer: true,
|
|
13357
13192
|
observeParents: true
|
|
13358
13193
|
}, swiperConfigs), {
|
|
@@ -13362,9 +13197,9 @@ function Swiper(props) {
|
|
|
13362
13197
|
swiperRef.current = swiper;
|
|
13363
13198
|
},
|
|
13364
13199
|
children: swiperList.map(function(item, index) {
|
|
13365
|
-
return /* @__PURE__ */ (0,
|
|
13200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react17.SwiperSlide, {
|
|
13366
13201
|
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),
|
|
13367
|
-
children: /* @__PURE__ */ (0,
|
|
13202
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Com, {
|
|
13368
13203
|
item: item,
|
|
13369
13204
|
index: index,
|
|
13370
13205
|
onClick: handleSlideItemClick,
|
|
@@ -13385,48 +13220,48 @@ var import_ExclamationCircleIcon = __toESM(require("@heroicons/react/24/solid/es
|
|
|
13385
13220
|
var import_InformationCircleIcon3 = __toESM(require("@heroicons/react/24/solid/esm/InformationCircleIcon"), 1);
|
|
13386
13221
|
var import_XCircleIcon3 = __toESM(require("@heroicons/react/24/solid/esm/XCircleIcon"), 1);
|
|
13387
13222
|
var import_react_hot_toast = require("react-hot-toast");
|
|
13388
|
-
var
|
|
13223
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
13389
13224
|
function CustomNotification(param) {
|
|
13390
13225
|
var tProps = param.tProps, customProps = param.customProps;
|
|
13391
13226
|
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;
|
|
13392
13227
|
var id = tProps.id;
|
|
13393
13228
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
13394
|
-
return /* @__PURE__ */ (0,
|
|
13395
|
-
children: /* @__PURE__ */ (0,
|
|
13229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
|
|
13230
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
|
|
13396
13231
|
id: id,
|
|
13397
13232
|
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default px-3 py-2 shadow-modal-default md:max-w-[560px]",
|
|
13398
|
-
children: /* @__PURE__ */ (0,
|
|
13233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", {
|
|
13399
13234
|
className: "flex w-full items-center justify-center gap-2",
|
|
13400
13235
|
children: [
|
|
13401
|
-
loading && /* @__PURE__ */ (0,
|
|
13402
|
-
!loading && type && /* @__PURE__ */ (0,
|
|
13236
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Spinner, {}),
|
|
13237
|
+
!loading && type && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", {
|
|
13403
13238
|
className: "flex flex-shrink-0 items-center",
|
|
13404
13239
|
children: [
|
|
13405
|
-
type === "info" && /* @__PURE__ */ (0,
|
|
13240
|
+
type === "info" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_InformationCircleIcon3.default, {
|
|
13406
13241
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
13407
13242
|
}),
|
|
13408
|
-
type === "success" && /* @__PURE__ */ (0,
|
|
13243
|
+
type === "success" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_CheckCircleIcon3.default, {
|
|
13409
13244
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
13410
13245
|
}),
|
|
13411
|
-
type === "warning" && /* @__PURE__ */ (0,
|
|
13246
|
+
type === "warning" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_ExclamationCircleIcon.default, {
|
|
13412
13247
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
13413
13248
|
}),
|
|
13414
|
-
type === "error" && /* @__PURE__ */ (0,
|
|
13249
|
+
type === "error" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_XCircleIcon3.default, {
|
|
13415
13250
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
13416
13251
|
})
|
|
13417
13252
|
]
|
|
13418
13253
|
}),
|
|
13419
|
-
/* @__PURE__ */ (0,
|
|
13254
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", {
|
|
13420
13255
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
13421
13256
|
children: [
|
|
13422
|
-
title && /* @__PURE__ */ (0,
|
|
13257
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Text, {
|
|
13423
13258
|
size: "sm",
|
|
13424
13259
|
weight: "regular",
|
|
13425
13260
|
color: "default",
|
|
13426
13261
|
children: title
|
|
13427
13262
|
}),
|
|
13428
|
-
/* @__PURE__ */ (0,
|
|
13429
|
-
children: /* @__PURE__ */ (0,
|
|
13263
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
|
|
13264
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Text, {
|
|
13430
13265
|
size: "sm",
|
|
13431
13266
|
weight: "regular",
|
|
13432
13267
|
color: "default",
|
|
@@ -13435,16 +13270,16 @@ function CustomNotification(param) {
|
|
|
13435
13270
|
})
|
|
13436
13271
|
]
|
|
13437
13272
|
}),
|
|
13438
|
-
action && /* @__PURE__ */ (0,
|
|
13273
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, {
|
|
13439
13274
|
children: [
|
|
13440
|
-
/* @__PURE__ */ (0,
|
|
13275
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Separator, {
|
|
13441
13276
|
orientation: "vertical",
|
|
13442
13277
|
className: "h-3"
|
|
13443
13278
|
}),
|
|
13444
13279
|
action
|
|
13445
13280
|
]
|
|
13446
13281
|
}),
|
|
13447
|
-
isClosable && /* @__PURE__ */ (0,
|
|
13282
|
+
isClosable && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(IconButton, {
|
|
13448
13283
|
size: "sm",
|
|
13449
13284
|
variant: "plain",
|
|
13450
13285
|
icon: import_XMarkIcon4.default,
|
|
@@ -13461,14 +13296,14 @@ function CustomNotification(param) {
|
|
|
13461
13296
|
// src/common/hooks/useNotification.tsx
|
|
13462
13297
|
var import_react18 = require("react");
|
|
13463
13298
|
var import_react_hot_toast2 = require("react-hot-toast");
|
|
13464
|
-
var
|
|
13299
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
13465
13300
|
function useNotification() {
|
|
13466
13301
|
var addToast = (0, import_react18.useCallback)(function(config2, duration2) {
|
|
13467
13302
|
if (config2.id) {
|
|
13468
13303
|
import_react_hot_toast2.toast.remove(config2.id);
|
|
13469
13304
|
}
|
|
13470
13305
|
import_react_hot_toast2.toast.custom(function(t) {
|
|
13471
|
-
return /* @__PURE__ */ (0,
|
|
13306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CustomNotification, {
|
|
13472
13307
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
13473
13308
|
duration: duration2
|
|
13474
13309
|
}),
|
|
@@ -13529,7 +13364,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
13529
13364
|
}
|
|
13530
13365
|
var addToast = function() {
|
|
13531
13366
|
import_react_hot_toast2.toast.custom(function(t) {
|
|
13532
|
-
return /* @__PURE__ */ (0,
|
|
13367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CustomNotification, {
|
|
13533
13368
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
13534
13369
|
duration: duration2
|
|
13535
13370
|
}),
|
|
@@ -13585,11 +13420,11 @@ var Message = /*#__PURE__*/ function() {
|
|
|
13585
13420
|
return Message;
|
|
13586
13421
|
}();
|
|
13587
13422
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
13588
|
-
var
|
|
13589
|
-
var
|
|
13590
|
-
var ArrowLeftIcon2 =
|
|
13591
|
-
return /* @__PURE__ */ (0,
|
|
13592
|
-
children: /* @__PURE__ */ (0,
|
|
13423
|
+
var React42 = __toESM(require("react"), 1);
|
|
13424
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
13425
|
+
var ArrowLeftIcon2 = React42.forwardRef(function(props, ref) {
|
|
13426
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13427
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("svg", {
|
|
13593
13428
|
ref: ref,
|
|
13594
13429
|
className: "w-full h-full",
|
|
13595
13430
|
viewBox: "0 0 24 24",
|
|
@@ -13597,7 +13432,7 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
13597
13432
|
strokeWidth: "1.5",
|
|
13598
13433
|
stroke: "currentColor",
|
|
13599
13434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13600
|
-
children: /* @__PURE__ */ (0,
|
|
13435
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", {
|
|
13601
13436
|
strokeLinecap: "round",
|
|
13602
13437
|
strokeLinejoin: "round",
|
|
13603
13438
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
@@ -13606,11 +13441,11 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
13606
13441
|
}));
|
|
13607
13442
|
});
|
|
13608
13443
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
13609
|
-
var
|
|
13610
|
-
var
|
|
13611
|
-
var ArrowUpTrayIcon =
|
|
13612
|
-
return /* @__PURE__ */ (0,
|
|
13613
|
-
children: /* @__PURE__ */ (0,
|
|
13444
|
+
var React43 = __toESM(require("react"), 1);
|
|
13445
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
13446
|
+
var ArrowUpTrayIcon = React43.forwardRef(function(props, ref) {
|
|
13447
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13448
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("svg", {
|
|
13614
13449
|
ref: ref,
|
|
13615
13450
|
className: "w-full h-full",
|
|
13616
13451
|
viewBox: "0 0 24 24",
|
|
@@ -13618,7 +13453,7 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
13618
13453
|
strokeWidth: "1.5",
|
|
13619
13454
|
stroke: "currentColor",
|
|
13620
13455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13621
|
-
children: /* @__PURE__ */ (0,
|
|
13456
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("path", {
|
|
13622
13457
|
strokeLinecap: "round",
|
|
13623
13458
|
strokeLinejoin: "round",
|
|
13624
13459
|
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"
|
|
@@ -13627,11 +13462,11 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
13627
13462
|
}));
|
|
13628
13463
|
});
|
|
13629
13464
|
// src/components/icons/outline/WindowIcon.tsx
|
|
13630
|
-
var
|
|
13631
|
-
var
|
|
13632
|
-
var WindowIcon =
|
|
13633
|
-
return /* @__PURE__ */ (0,
|
|
13634
|
-
children: /* @__PURE__ */ (0,
|
|
13465
|
+
var React44 = __toESM(require("react"), 1);
|
|
13466
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
13467
|
+
var WindowIcon = React44.forwardRef(function(props, ref) {
|
|
13468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13469
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("svg", {
|
|
13635
13470
|
ref: ref,
|
|
13636
13471
|
className: "w-full h-full",
|
|
13637
13472
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13639,7 +13474,7 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
13639
13474
|
fill: "none",
|
|
13640
13475
|
strokeWidth: "1.5",
|
|
13641
13476
|
stroke: "currentColor",
|
|
13642
|
-
children: /* @__PURE__ */ (0,
|
|
13477
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("path", {
|
|
13643
13478
|
strokeLinecap: "round",
|
|
13644
13479
|
strokeLinejoin: "round",
|
|
13645
13480
|
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"
|
|
@@ -13648,21 +13483,21 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
13648
13483
|
}));
|
|
13649
13484
|
});
|
|
13650
13485
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
13651
|
-
var
|
|
13652
|
-
var
|
|
13653
|
-
var CheckCircleIcon4 =
|
|
13654
|
-
return /* @__PURE__ */ (0,
|
|
13655
|
-
children: /* @__PURE__ */ (0,
|
|
13486
|
+
var React45 = __toESM(require("react"), 1);
|
|
13487
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
13488
|
+
var CheckCircleIcon4 = React45.forwardRef(function(props, ref) {
|
|
13489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13490
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("svg", {
|
|
13656
13491
|
ref: ref,
|
|
13657
13492
|
className: "w-full h-full",
|
|
13658
13493
|
viewBox: "0 0 24 24",
|
|
13659
13494
|
fill: "currentColor",
|
|
13660
13495
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13661
13496
|
children: [
|
|
13662
|
-
/* @__PURE__ */ (0,
|
|
13497
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("path", {
|
|
13663
13498
|
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"
|
|
13664
13499
|
}),
|
|
13665
|
-
/* @__PURE__ */ (0,
|
|
13500
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("path", {
|
|
13666
13501
|
fillRule: "evenodd",
|
|
13667
13502
|
clipRule: "evenodd",
|
|
13668
13503
|
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"
|
|
@@ -13671,12 +13506,14 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
13671
13506
|
})
|
|
13672
13507
|
}));
|
|
13673
13508
|
});
|
|
13509
|
+
// src/components/icons/outline/FilterIcon.tsx
|
|
13510
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
13674
13511
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
13675
|
-
var
|
|
13676
|
-
var
|
|
13677
|
-
var PencilSquareIcon =
|
|
13678
|
-
return /* @__PURE__ */ (0,
|
|
13679
|
-
children: /* @__PURE__ */ (0,
|
|
13512
|
+
var React46 = __toESM(require("react"), 1);
|
|
13513
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
13514
|
+
var PencilSquareIcon = React46.forwardRef(function(props, ref) {
|
|
13515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13516
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("svg", {
|
|
13680
13517
|
ref: ref,
|
|
13681
13518
|
className: "w-full h-full",
|
|
13682
13519
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13684,7 +13521,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
13684
13521
|
viewBox: "0 0 24 24",
|
|
13685
13522
|
strokeWidth: "1.5",
|
|
13686
13523
|
stroke: "currentColor",
|
|
13687
|
-
children: /* @__PURE__ */ (0,
|
|
13524
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("path", {
|
|
13688
13525
|
strokeLinecap: "round",
|
|
13689
13526
|
strokeLinejoin: "round",
|
|
13690
13527
|
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"
|
|
@@ -13693,35 +13530,35 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
13693
13530
|
}));
|
|
13694
13531
|
});
|
|
13695
13532
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
13696
|
-
var
|
|
13697
|
-
var
|
|
13698
|
-
var ConfigIcon =
|
|
13699
|
-
return /* @__PURE__ */ (0,
|
|
13700
|
-
children: /* @__PURE__ */ (0,
|
|
13533
|
+
var React47 = __toESM(require("react"), 1);
|
|
13534
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
13535
|
+
var ConfigIcon = React47.forwardRef(function(props, ref) {
|
|
13536
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13537
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("svg", {
|
|
13701
13538
|
width: "18",
|
|
13702
13539
|
height: "18",
|
|
13703
13540
|
viewBox: "0 0 18 18",
|
|
13704
13541
|
fill: "none",
|
|
13705
13542
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13706
13543
|
className: "cursor-pointer",
|
|
13707
|
-
children: /* @__PURE__ */ (0,
|
|
13544
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("g", {
|
|
13708
13545
|
id: "wrapper",
|
|
13709
|
-
children: /* @__PURE__ */ (0,
|
|
13546
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("g", {
|
|
13710
13547
|
id: "Union",
|
|
13711
13548
|
children: [
|
|
13712
|
-
/* @__PURE__ */ (0,
|
|
13549
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", {
|
|
13713
13550
|
fillRule: "evenodd",
|
|
13714
13551
|
clipRule: "evenodd",
|
|
13715
13552
|
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",
|
|
13716
13553
|
fill: "#6D7175"
|
|
13717
13554
|
}),
|
|
13718
|
-
/* @__PURE__ */ (0,
|
|
13555
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", {
|
|
13719
13556
|
fillRule: "evenodd",
|
|
13720
13557
|
clipRule: "evenodd",
|
|
13721
13558
|
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",
|
|
13722
13559
|
fill: "#6D7175"
|
|
13723
13560
|
}),
|
|
13724
|
-
/* @__PURE__ */ (0,
|
|
13561
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", {
|
|
13725
13562
|
fillRule: "evenodd",
|
|
13726
13563
|
clipRule: "evenodd",
|
|
13727
13564
|
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",
|
|
@@ -13734,38 +13571,38 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
13734
13571
|
}));
|
|
13735
13572
|
});
|
|
13736
13573
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
13737
|
-
var
|
|
13738
|
-
var
|
|
13739
|
-
var CaretDownIcon =
|
|
13740
|
-
return /* @__PURE__ */ (0,
|
|
13741
|
-
children: /* @__PURE__ */ (0,
|
|
13574
|
+
var React48 = __toESM(require("react"), 1);
|
|
13575
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
13576
|
+
var CaretDownIcon = React48.forwardRef(function(props, ref) {
|
|
13577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13578
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("svg", {
|
|
13742
13579
|
ref: ref,
|
|
13743
13580
|
className: "w-full h-full",
|
|
13744
13581
|
viewBox: "0 0 24 24",
|
|
13745
13582
|
fill: "currentColor",
|
|
13746
13583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13747
|
-
children: /* @__PURE__ */ (0,
|
|
13584
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", {
|
|
13748
13585
|
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"
|
|
13749
13586
|
})
|
|
13750
13587
|
})
|
|
13751
13588
|
}));
|
|
13752
13589
|
});
|
|
13753
13590
|
// src/components/icons/solid/CodeIcon.tsx
|
|
13754
|
-
var
|
|
13755
|
-
var
|
|
13756
|
-
var CodeIcon =
|
|
13757
|
-
return /* @__PURE__ */ (0,
|
|
13758
|
-
children: /* @__PURE__ */ (0,
|
|
13591
|
+
var React49 = __toESM(require("react"), 1);
|
|
13592
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
13593
|
+
var CodeIcon = React49.forwardRef(function(props, ref) {
|
|
13594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13595
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("svg", {
|
|
13759
13596
|
ref: ref,
|
|
13760
13597
|
className: "w-full h-full",
|
|
13761
13598
|
viewBox: "0 0 24 24",
|
|
13762
13599
|
fill: "currentColor",
|
|
13763
13600
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13764
13601
|
children: [
|
|
13765
|
-
/* @__PURE__ */ (0,
|
|
13602
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("path", {
|
|
13766
13603
|
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"
|
|
13767
13604
|
}),
|
|
13768
|
-
/* @__PURE__ */ (0,
|
|
13605
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("path", {
|
|
13769
13606
|
fillRule: "evenodd",
|
|
13770
13607
|
clipRule: "evenodd",
|
|
13771
13608
|
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"
|
|
@@ -13775,17 +13612,17 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13775
13612
|
}));
|
|
13776
13613
|
});
|
|
13777
13614
|
// src/components/icons/solid/DragIcon.tsx
|
|
13778
|
-
var
|
|
13779
|
-
var
|
|
13780
|
-
var DragIcon =
|
|
13781
|
-
return /* @__PURE__ */ (0,
|
|
13782
|
-
children: /* @__PURE__ */ (0,
|
|
13615
|
+
var React50 = __toESM(require("react"), 1);
|
|
13616
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
13617
|
+
var DragIcon = React50.forwardRef(function(props, ref) {
|
|
13618
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13619
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("svg", {
|
|
13783
13620
|
ref: ref,
|
|
13784
13621
|
className: "w-full h-full",
|
|
13785
13622
|
viewBox: "0 0 24 24",
|
|
13786
13623
|
fill: "currentColor",
|
|
13787
13624
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13788
|
-
children: /* @__PURE__ */ (0,
|
|
13625
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", {
|
|
13789
13626
|
fillRule: "evenodd",
|
|
13790
13627
|
clipRule: "evenodd",
|
|
13791
13628
|
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"
|
|
@@ -13794,22 +13631,22 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13794
13631
|
}));
|
|
13795
13632
|
});
|
|
13796
13633
|
// src/components/icons/solid/PhoneIcon.tsx
|
|
13797
|
-
var
|
|
13798
|
-
var
|
|
13799
|
-
var PhoneIcon =
|
|
13800
|
-
return /* @__PURE__ */ (0,
|
|
13801
|
-
children: /* @__PURE__ */ (0,
|
|
13634
|
+
var React51 = __toESM(require("react"), 1);
|
|
13635
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
13636
|
+
var PhoneIcon = React51.forwardRef(function(props, ref) {
|
|
13637
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13638
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", {
|
|
13802
13639
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13803
13640
|
width: "20",
|
|
13804
13641
|
height: "20",
|
|
13805
13642
|
viewBox: "0 0 20 20",
|
|
13806
13643
|
fill: "none",
|
|
13807
13644
|
children: [
|
|
13808
|
-
/* @__PURE__ */ (0,
|
|
13645
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
13809
13646
|
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",
|
|
13810
13647
|
fill: "#3E5CFA"
|
|
13811
13648
|
}),
|
|
13812
|
-
/* @__PURE__ */ (0,
|
|
13649
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
13813
13650
|
fillRule: "evenodd",
|
|
13814
13651
|
clipRule: "evenodd",
|
|
13815
13652
|
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",
|
|
@@ -13820,17 +13657,17 @@ var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
|
13820
13657
|
}));
|
|
13821
13658
|
});
|
|
13822
13659
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13823
|
-
var
|
|
13824
|
-
var
|
|
13825
|
-
var RectangleGroupIcon =
|
|
13826
|
-
return /* @__PURE__ */ (0,
|
|
13827
|
-
children: /* @__PURE__ */ (0,
|
|
13660
|
+
var React52 = __toESM(require("react"), 1);
|
|
13661
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
13662
|
+
var RectangleGroupIcon = React52.forwardRef(function(props, ref) {
|
|
13663
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13664
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("svg", {
|
|
13828
13665
|
ref: ref,
|
|
13829
13666
|
className: "w-full h-full",
|
|
13830
13667
|
viewBox: "0 0 24 24",
|
|
13831
13668
|
fill: "currentColor",
|
|
13832
13669
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13833
|
-
children: /* @__PURE__ */ (0,
|
|
13670
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("path", {
|
|
13834
13671
|
fillRule: "evenodd",
|
|
13835
13672
|
clipRule: "evenodd",
|
|
13836
13673
|
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"
|
|
@@ -13967,6 +13804,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13967
13804
|
MenubarSubTrigger: MenubarSubTrigger,
|
|
13968
13805
|
MenubarTrigger: MenubarTrigger,
|
|
13969
13806
|
Message: Message,
|
|
13807
|
+
MiddleBar: MiddleBar,
|
|
13970
13808
|
Modal: Modal,
|
|
13971
13809
|
ModalBody: ModalBody,
|
|
13972
13810
|
ModalContent: ModalContent,
|
|
@@ -13975,7 +13813,6 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13975
13813
|
ModalOverlay: ModalOverlay,
|
|
13976
13814
|
ModalRoot: ModalRoot,
|
|
13977
13815
|
ModalTitle: ModalTitle,
|
|
13978
|
-
NavigationBar: NavigationBar,
|
|
13979
13816
|
NumberInput: NumberInput,
|
|
13980
13817
|
Paragraph: Paragraph,
|
|
13981
13818
|
PencilSquareIcon: PencilSquareIcon,
|
|
@@ -13993,7 +13830,6 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13993
13830
|
ScrollArea: ScrollArea,
|
|
13994
13831
|
ScrollBar: ScrollBar,
|
|
13995
13832
|
SearchBar: SearchBar,
|
|
13996
|
-
SecondaryNavigationBar: SecondaryNavigationBar,
|
|
13997
13833
|
Select: Select,
|
|
13998
13834
|
SelectContent: SelectContent,
|
|
13999
13835
|
SelectGroup: SelectGroup,
|
|
@@ -14047,6 +13883,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
14047
13883
|
ToggleGroupItem: ToggleGroupItem,
|
|
14048
13884
|
Tooltip: Tooltip,
|
|
14049
13885
|
TooltipProvider: TooltipProvider,
|
|
13886
|
+
TopNavigationBar: TopNavigationBar,
|
|
14050
13887
|
WindowIcon: WindowIcon,
|
|
14051
13888
|
buttonVariants: buttonVariants,
|
|
14052
13889
|
dangerouText: dangerouText,
|