myshell-react-lib 0.1.34 → 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 +377 -544
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -18
- package/dist/index.d.ts +25 -18
- package/dist/index.js +371 -538
- 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.js
CHANGED
|
@@ -4691,7 +4691,7 @@ function Image2(_param) {
|
|
|
4691
4691
|
}
|
|
4692
4692
|
// src/components/button/button.styles.ts
|
|
4693
4693
|
import { cva as cva4 } from "class-variance-authority";
|
|
4694
|
-
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:
|
|
4694
|
+
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";
|
|
4695
4695
|
var SIZE_CLASSES = {
|
|
4696
4696
|
lg: {
|
|
4697
4697
|
base: "h-11",
|
|
@@ -4714,19 +4714,19 @@ var SIZE_CLASSES = {
|
|
|
4714
4714
|
};
|
|
4715
4715
|
var COLOR_THEMES = {
|
|
4716
4716
|
default: {
|
|
4717
|
-
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",
|
|
4717
|
+
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",
|
|
4718
4718
|
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",
|
|
4719
4719
|
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 ",
|
|
4720
4720
|
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",
|
|
4721
4721
|
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 "
|
|
4722
4722
|
},
|
|
4723
4723
|
brand: {
|
|
4724
|
-
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",
|
|
4724
|
+
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",
|
|
4725
4725
|
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"
|
|
4726
4726
|
},
|
|
4727
4727
|
error: {
|
|
4728
|
-
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",
|
|
4729
|
-
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"
|
|
4728
|
+
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",
|
|
4729
|
+
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"
|
|
4730
4730
|
}
|
|
4731
4731
|
};
|
|
4732
4732
|
var VARIANT_BASE = {
|
|
@@ -5643,7 +5643,7 @@ var TooltipContent = React8.forwardRef(function(_param, ref) {
|
|
|
5643
5643
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
5644
5644
|
// src/components/button/icon-button.styles.ts
|
|
5645
5645
|
import { cva as cva5 } from "class-variance-authority";
|
|
5646
|
-
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:
|
|
5646
|
+
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";
|
|
5647
5647
|
var VARIANT_STYLES = {
|
|
5648
5648
|
primary: "",
|
|
5649
5649
|
secondary: "border shadow-none",
|
|
@@ -5679,12 +5679,12 @@ var COMPOUND_VARIANTS = [
|
|
|
5679
5679
|
{
|
|
5680
5680
|
variant: "secondary",
|
|
5681
5681
|
color: "default",
|
|
5682
|
-
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"
|
|
5682
|
+
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"
|
|
5683
5683
|
},
|
|
5684
5684
|
{
|
|
5685
5685
|
variant: "secondary",
|
|
5686
5686
|
color: "error",
|
|
5687
|
-
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"
|
|
5687
|
+
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"
|
|
5688
5688
|
},
|
|
5689
5689
|
{
|
|
5690
5690
|
variant: "tertiary",
|
|
@@ -5699,12 +5699,12 @@ var COMPOUND_VARIANTS = [
|
|
|
5699
5699
|
{
|
|
5700
5700
|
variant: "plain",
|
|
5701
5701
|
color: "gray",
|
|
5702
|
-
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-
|
|
5702
|
+
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"
|
|
5703
5703
|
},
|
|
5704
5704
|
{
|
|
5705
5705
|
variant: "plain",
|
|
5706
5706
|
color: "error",
|
|
5707
|
-
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"
|
|
5707
|
+
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"
|
|
5708
5708
|
}
|
|
5709
5709
|
];
|
|
5710
5710
|
var DEFAULT_VARIANTS = {
|
|
@@ -7961,7 +7961,7 @@ var Modal = function(_param) {
|
|
|
7961
7961
|
})
|
|
7962
7962
|
}));
|
|
7963
7963
|
}
|
|
7964
|
-
var
|
|
7964
|
+
var renderIcon2 = function(state2) {
|
|
7965
7965
|
switch(state2){
|
|
7966
7966
|
case "info":
|
|
7967
7967
|
return /* @__PURE__ */ jsx34(InformationCircleIcon, {
|
|
@@ -8008,7 +8008,7 @@ var Modal = function(_param) {
|
|
|
8008
8008
|
className: cn(isNotification && "border-none !pb-3"),
|
|
8009
8009
|
children: state && /* @__PURE__ */ jsx34("div", {
|
|
8010
8010
|
className: cn("flex items-center justify-center w-10 h-10 rounded-full flex-shrink-0 flex-grow-0", getBackgroundColor(state)),
|
|
8011
|
-
children:
|
|
8011
|
+
children: renderIcon2(state)
|
|
8012
8012
|
})
|
|
8013
8013
|
}),
|
|
8014
8014
|
/* @__PURE__ */ jsxs17("div", {
|
|
@@ -8191,7 +8191,7 @@ function SearchBar(_param) {
|
|
|
8191
8191
|
/* @__PURE__ */ jsx35(Input, _object_spread({
|
|
8192
8192
|
type: type,
|
|
8193
8193
|
placeholder: placeholder,
|
|
8194
|
-
rounded: roundedFill ? "full" : "
|
|
8194
|
+
rounded: roundedFill ? "full" : "sm",
|
|
8195
8195
|
size: size,
|
|
8196
8196
|
className: cn("relative w-full px-9 flex space-x-2 text-base shadow-none placeholder:text-Colors-Text-Subtlest", {
|
|
8197
8197
|
"focus-visible:ring-transparent": readOnly
|
|
@@ -8293,9 +8293,9 @@ function EnergyProgress(props) {
|
|
|
8293
8293
|
});
|
|
8294
8294
|
}
|
|
8295
8295
|
var energy_progress_default = EnergyProgress;
|
|
8296
|
-
// src/components/
|
|
8296
|
+
// src/components/middle-bar.tsx
|
|
8297
8297
|
import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
8298
|
-
function
|
|
8298
|
+
function MiddleBar(param) {
|
|
8299
8299
|
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;
|
|
8300
8300
|
return /* @__PURE__ */ jsxs21("div", {
|
|
8301
8301
|
className: cn("relative w-full flex flex-col justify-between items-center px-4 md:px-6"),
|
|
@@ -10731,144 +10731,13 @@ var ScrollBar = React30.forwardRef(function(_param, ref) {
|
|
|
10731
10731
|
}));
|
|
10732
10732
|
});
|
|
10733
10733
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
10734
|
-
// src/components/
|
|
10734
|
+
// src/components/top-navigation-bar.tsx
|
|
10735
10735
|
import { ArrowLeftIcon } from "@heroicons/react/24/outline";
|
|
10736
10736
|
import { useEffect as useEffect10, useRef as useRef6, useState as useState8 } from "react";
|
|
10737
10737
|
import { useMedia as useMedia5 } from "react-use";
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
import * as React31 from "react";
|
|
10742
|
-
import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
10743
|
-
var LinkButton = React31.forwardRef(function(_param, ref) {
|
|
10744
|
-
var _param_className = _param.className, className = _param_className === void 0 ? "" : _param_className, iconClassName = _param.iconClassName, _param_color = _param.color, color = _param_color === void 0 ? "default" : _param_color, icon = _param.icon, _param_iconDirection = _param.iconDirection, iconDirection = _param_iconDirection === void 0 ? "left" : _param_iconDirection, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_asChild = _param.asChild, asChild = _param_asChild === void 0 ? false : _param_asChild, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, _param_noStyle = _param.noStyle, noStyle = _param_noStyle === void 0 ? false : _param_noStyle, _param_iconOutBox = _param.iconOutBox, iconOutBox = _param_iconOutBox === void 0 ? false : _param_iconOutBox, _param_isBlock = _param.isBlock, isBlock = _param_isBlock === void 0 ? false : _param_isBlock, disabled = _param.disabled, children = _param.children, autoFocus = _param.autoFocus, asset = _param.asset, _param_assetNumber = _param.assetNumber, assetNumber = _param_assetNumber === void 0 ? 0 : _param_assetNumber, props = _object_without_properties(_param, [
|
|
10745
|
-
"className",
|
|
10746
|
-
"iconClassName",
|
|
10747
|
-
"color",
|
|
10748
|
-
"icon",
|
|
10749
|
-
"iconDirection",
|
|
10750
|
-
"size",
|
|
10751
|
-
"asChild",
|
|
10752
|
-
"loading",
|
|
10753
|
-
"noStyle",
|
|
10754
|
-
"iconOutBox",
|
|
10755
|
-
"isBlock",
|
|
10756
|
-
"disabled",
|
|
10757
|
-
"children",
|
|
10758
|
-
"autoFocus",
|
|
10759
|
-
"asset",
|
|
10760
|
-
"assetNumber"
|
|
10761
|
-
]);
|
|
10762
|
-
var Comp = asChild ? Slot5 : "button";
|
|
10763
|
-
var disable = disabled || loading;
|
|
10764
|
-
return /* @__PURE__ */ jsxs24(Comp, _object_spread_props(_object_spread({
|
|
10765
|
-
className: noStyle ? className : cn(buttonVariants({
|
|
10766
|
-
variant: "link",
|
|
10767
|
-
color: color,
|
|
10768
|
-
size: size,
|
|
10769
|
-
className: className
|
|
10770
|
-
}), disable && "!pointer-events-auto cursor-not-allowed", isBlock && "w-full"),
|
|
10771
|
-
ref: ref,
|
|
10772
|
-
disabled: disable,
|
|
10773
|
-
autoFocus: autoFocus
|
|
10774
|
-
}, props), {
|
|
10775
|
-
children: [
|
|
10776
|
-
loading && /* @__PURE__ */ jsx43("span", {
|
|
10777
|
-
className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
|
|
10778
|
-
children: /* @__PURE__ */ jsx43(Loader23, {
|
|
10779
|
-
className: cn(iconVariants2({
|
|
10780
|
-
variant: "link",
|
|
10781
|
-
size: size
|
|
10782
|
-
}), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5")
|
|
10783
|
-
})
|
|
10784
|
-
}),
|
|
10785
|
-
!asset && icon && iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
10786
|
-
loading: loading,
|
|
10787
|
-
noStyle: noStyle,
|
|
10788
|
-
iconClassName: iconClassName,
|
|
10789
|
-
size: size
|
|
10790
|
-
}),
|
|
10791
|
-
/* @__PURE__ */ jsxs24("span", {
|
|
10792
|
-
className: cn("inline-flex w-full items-center justify-center", loading ? "opacity-0" : "opacity-100"),
|
|
10793
|
-
children: [
|
|
10794
|
-
!asset && icon && !iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
|
|
10795
|
-
loading: loading,
|
|
10796
|
-
noStyle: noStyle,
|
|
10797
|
-
iconClassName: iconClassName,
|
|
10798
|
-
size: size
|
|
10799
|
-
}),
|
|
10800
|
-
children,
|
|
10801
|
-
asset ? /* @__PURE__ */ jsxs24(Fragment8, {
|
|
10802
|
-
children: [
|
|
10803
|
-
/* @__PURE__ */ jsx43(Separator, {
|
|
10804
|
-
orientation: "vertical",
|
|
10805
|
-
className: cn("mx-1.5 h-3")
|
|
10806
|
-
}),
|
|
10807
|
-
/* @__PURE__ */ jsx43(Image2, {
|
|
10808
|
-
src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : "",
|
|
10809
|
-
alt: asset,
|
|
10810
|
-
width: 16,
|
|
10811
|
-
height: 16,
|
|
10812
|
-
className: "flex-shrink-0"
|
|
10813
|
-
}),
|
|
10814
|
-
/* @__PURE__ */ jsx43(Text, {
|
|
10815
|
-
size: "xs",
|
|
10816
|
-
className: cn("ml-0.5 text-inherit"),
|
|
10817
|
-
children: assetNumber
|
|
10818
|
-
})
|
|
10819
|
-
]
|
|
10820
|
-
}) : null,
|
|
10821
|
-
!asset && icon && !iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
10822
|
-
loading: loading,
|
|
10823
|
-
noStyle: noStyle,
|
|
10824
|
-
iconClassName: iconClassName,
|
|
10825
|
-
size: size
|
|
10826
|
-
})
|
|
10827
|
-
]
|
|
10828
|
-
}),
|
|
10829
|
-
!asset && icon && iconOutBox && iconDirection === "right" && renderIcon2(icon, "right", {
|
|
10830
|
-
loading: loading,
|
|
10831
|
-
noStyle: noStyle,
|
|
10832
|
-
iconClassName: iconClassName,
|
|
10833
|
-
size: size
|
|
10834
|
-
})
|
|
10835
|
-
]
|
|
10836
|
-
}));
|
|
10837
|
-
});
|
|
10838
|
-
var renderIcon2 = function(icon, direction, param) {
|
|
10839
|
-
var loading = param.loading, noStyle = param.noStyle, iconClassName = param.iconClassName, _param_size = param.size, size = _param_size === void 0 ? "lg" : _param_size;
|
|
10840
|
-
return /* @__PURE__ */ jsx43(Icon, {
|
|
10841
|
-
component: icon,
|
|
10842
|
-
className: noStyle ? iconClassName : cn(iconVariants2({
|
|
10843
|
-
variant: "link",
|
|
10844
|
-
size: size
|
|
10845
|
-
}), direction === "left" ? "mr-0.5" : "ml-0.5", iconClassName, loading ? "opacity-0" : "opacity-100")
|
|
10846
|
-
});
|
|
10847
|
-
};
|
|
10848
|
-
LinkButton.displayName = "LinkButton";
|
|
10849
|
-
// src/components/icons/outline/FilterIcon.tsx
|
|
10850
|
-
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
10851
|
-
function FilterIcon(param) {
|
|
10852
|
-
var className = param.className;
|
|
10853
|
-
return /* @__PURE__ */ jsx44("svg", {
|
|
10854
|
-
className: className,
|
|
10855
|
-
width: "22",
|
|
10856
|
-
height: "22",
|
|
10857
|
-
viewBox: "0 0 22 22",
|
|
10858
|
-
fill: "none",
|
|
10859
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10860
|
-
children: /* @__PURE__ */ jsx44("path", {
|
|
10861
|
-
fillRule: "evenodd",
|
|
10862
|
-
clipRule: "evenodd",
|
|
10863
|
-
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"
|
|
10864
|
-
})
|
|
10865
|
-
});
|
|
10866
|
-
}
|
|
10867
|
-
var FilterIcon_default = FilterIcon;
|
|
10868
|
-
// src/components/secondary-navigation-bar.tsx
|
|
10869
|
-
import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
10870
|
-
function SecondaryNavigationBar(param) {
|
|
10871
|
-
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;
|
|
10738
|
+
import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
10739
|
+
function TopNavigationBar(param) {
|
|
10740
|
+
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;
|
|
10872
10741
|
var isMobile2 = useMedia5("(max-width: 768px)");
|
|
10873
10742
|
var navbarRef = useRef6(null);
|
|
10874
10743
|
var _useState8 = _sliced_to_array(useState8(hasBackground), 2), showBackground = _useState8[0], setShowBackground = _useState8[1];
|
|
@@ -10890,115 +10759,75 @@ function SecondaryNavigationBar(param) {
|
|
|
10890
10759
|
}, [
|
|
10891
10760
|
hasBackground
|
|
10892
10761
|
]);
|
|
10893
|
-
return /* @__PURE__ */
|
|
10762
|
+
return /* @__PURE__ */ jsxs24("div", {
|
|
10894
10763
|
ref: navbarRef,
|
|
10895
10764
|
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"),
|
|
10896
|
-
children:
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10765
|
+
children: [
|
|
10766
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
10767
|
+
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",
|
|
10768
|
+
children: [
|
|
10769
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
10770
|
+
className: "flex-1 flex items-center justify-start",
|
|
10771
|
+
children: [
|
|
10772
|
+
(backUrl || onBack) && /* @__PURE__ */ jsxs24("div", {
|
|
10773
|
+
className: "flex justify-start items-center",
|
|
10774
|
+
children: [
|
|
10775
|
+
backUrl ? /* @__PURE__ */ jsx43(Link, {
|
|
10776
|
+
href: backUrl,
|
|
10777
|
+
className: "flex justify-center items-center",
|
|
10778
|
+
children: /* @__PURE__ */ jsx43(IconButton, {
|
|
10779
|
+
variant: !hasBackground ? "primary" : "plain",
|
|
10780
|
+
color: !hasBackground ? "gray" : "brand",
|
|
10781
|
+
size: "md",
|
|
10782
|
+
icon: ArrowLeftIcon
|
|
10783
|
+
})
|
|
10784
|
+
}) : /* @__PURE__ */ jsx43(IconButton, {
|
|
10909
10785
|
variant: !hasBackground ? "primary" : "plain",
|
|
10910
10786
|
color: !hasBackground ? "gray" : "brand",
|
|
10911
10787
|
size: "md",
|
|
10912
|
-
icon: ArrowLeftIcon
|
|
10788
|
+
icon: ArrowLeftIcon,
|
|
10789
|
+
onClick: onBack
|
|
10790
|
+
}),
|
|
10791
|
+
!isMobile2 && title && /* @__PURE__ */ jsx43(Separator, {
|
|
10792
|
+
orientation: "vertical",
|
|
10793
|
+
className: "h-5 ml-1.5 mr-3"
|
|
10913
10794
|
})
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
size: "md",
|
|
10918
|
-
icon: ArrowLeftIcon,
|
|
10919
|
-
onClick: onBack
|
|
10920
|
-
}),
|
|
10921
|
-
!isMobile2 && title && /* @__PURE__ */ jsx45(Separator, {
|
|
10922
|
-
orientation: "vertical",
|
|
10923
|
-
className: "h-5 ml-1.5 mr-3"
|
|
10924
|
-
})
|
|
10925
|
-
]
|
|
10926
|
-
}),
|
|
10927
|
-
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ jsx45("div", {
|
|
10928
|
-
className: "flex-1 flex-shrink-0 absolute w-full md:relative md:w-auto flex items-center justify-center md:justify-start",
|
|
10929
|
-
children: /* @__PURE__ */ jsx45(Display, {
|
|
10795
|
+
]
|
|
10796
|
+
}),
|
|
10797
|
+
title && (!showSearchBar || !isMobile2) && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && /* @__PURE__ */ jsx43(Display, {
|
|
10930
10798
|
size: isMobile2 ? "xs" : "sm",
|
|
10931
|
-
className:
|
|
10799
|
+
className: "line-clamp-1",
|
|
10932
10800
|
children: title
|
|
10933
10801
|
})
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
/* @__PURE__ */ jsx45(Avatar, {
|
|
10941
|
-
size: "sm",
|
|
10942
|
-
src: avatar.logo
|
|
10943
|
-
}),
|
|
10944
|
-
avatar.name && !isMobile2 && /* @__PURE__ */ jsx45(Text, {
|
|
10945
|
-
size: "lg",
|
|
10946
|
-
weight: "medium",
|
|
10947
|
-
children: avatar.name
|
|
10948
|
-
})
|
|
10949
|
-
]
|
|
10950
|
-
}),
|
|
10951
|
-
/* @__PURE__ */ jsx45("div", {
|
|
10952
|
-
className: cn("w-fit flex md:w-auto justify-end", !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && "flex-1"),
|
|
10953
|
-
children: children ? /* @__PURE__ */ jsx45("div", {
|
|
10954
|
-
className: "w-fit",
|
|
10955
|
-
children: children
|
|
10956
|
-
}) : /* @__PURE__ */ jsx45(Fragment9, {
|
|
10957
|
-
children: icons || actions ? /* @__PURE__ */ jsxs25("div", {
|
|
10958
|
-
className: cn("flex justify-end items-center", icons && "space-x-1 min-w-[76px]", actions && "space-x-3"),
|
|
10802
|
+
]
|
|
10803
|
+
}),
|
|
10804
|
+
/* @__PURE__ */ jsx43("div", {
|
|
10805
|
+
className: "flex-shrink-0 flex justify-center items-center",
|
|
10806
|
+
children: (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ jsxs24("div", {
|
|
10807
|
+
className: "flex items-center space-x-1.5",
|
|
10959
10808
|
children: [
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
color: "default",
|
|
10964
|
-
size: "md",
|
|
10965
|
-
icon: icon.icon,
|
|
10966
|
-
onClick: icon.onClick
|
|
10967
|
-
}, index);
|
|
10809
|
+
/* @__PURE__ */ jsx43(Avatar, {
|
|
10810
|
+
size: "sm",
|
|
10811
|
+
src: avatar.logo
|
|
10968
10812
|
}),
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
children: action.label
|
|
10974
|
-
}), index);
|
|
10813
|
+
avatar.name && !isMobile2 && /* @__PURE__ */ jsx43(Text, {
|
|
10814
|
+
size: "lg",
|
|
10815
|
+
weight: "medium",
|
|
10816
|
+
children: avatar.name
|
|
10975
10817
|
})
|
|
10976
10818
|
]
|
|
10977
|
-
}) : /* @__PURE__ */
|
|
10819
|
+
}) : /* @__PURE__ */ jsx43("div", {
|
|
10820
|
+
className: "w-[76px]"
|
|
10821
|
+
})
|
|
10822
|
+
}),
|
|
10823
|
+
/* @__PURE__ */ jsx43("div", {
|
|
10824
|
+
className: "flex-1 flex justify-end items-center",
|
|
10825
|
+
children: /* @__PURE__ */ jsxs24("div", {
|
|
10826
|
+
className: "flex items-center space-x-3",
|
|
10978
10827
|
children: [
|
|
10979
|
-
|
|
10980
|
-
"aria-label": clearText || "Clear Filters",
|
|
10981
|
-
size: "md",
|
|
10982
|
-
variant: "secondary",
|
|
10983
|
-
color: "default",
|
|
10984
|
-
className: "hidden md:flex relative text-sm font-medium ml-2 mr-3 px-4 justify-center items-center",
|
|
10985
|
-
onClick: onClear,
|
|
10986
|
-
children: [
|
|
10987
|
-
/* @__PURE__ */ jsx45("div", {
|
|
10988
|
-
className: "relative mr-1.5",
|
|
10989
|
-
children: /* @__PURE__ */ jsx45(FilterIcon_default, {
|
|
10990
|
-
className: "w-5 h-5 fill-cc-Button-Secondary-fg-default"
|
|
10991
|
-
})
|
|
10992
|
-
}),
|
|
10993
|
-
/* @__PURE__ */ jsx45("span", {
|
|
10994
|
-
className: "hidden md:block",
|
|
10995
|
-
children: clearText || "Clear Filters"
|
|
10996
|
-
})
|
|
10997
|
-
]
|
|
10998
|
-
}),
|
|
10999
|
-
showSearchBar && /* @__PURE__ */ jsx45("div", {
|
|
10828
|
+
showSearchBar && (!isMobile2 && pageType === 1 || pageType === 2) && /* @__PURE__ */ jsx43("div", {
|
|
11000
10829
|
className: "relative w-full md:w-60",
|
|
11001
|
-
children: /* @__PURE__ */
|
|
10830
|
+
children: /* @__PURE__ */ jsx43(SearchBar, {
|
|
11002
10831
|
color: "gray",
|
|
11003
10832
|
size: "xs",
|
|
11004
10833
|
searchValue: searchValue,
|
|
@@ -11008,32 +10837,34 @@ function SecondaryNavigationBar(param) {
|
|
|
11008
10837
|
}
|
|
11009
10838
|
})
|
|
11010
10839
|
}),
|
|
11011
|
-
|
|
11012
|
-
className: "flex-shrink-0 flex relative text-sm font-medium px-4 justify-center items-center ml-3",
|
|
11013
|
-
"aria-label": clearText || "Clear Filters",
|
|
11014
|
-
size: "md",
|
|
11015
|
-
variant: "primary",
|
|
11016
|
-
onClick: onClear,
|
|
11017
|
-
children: /* @__PURE__ */ jsx45("div", {
|
|
11018
|
-
className: "relative",
|
|
11019
|
-
children: /* @__PURE__ */ jsx45(FilterIcon_default, {})
|
|
11020
|
-
})
|
|
11021
|
-
})
|
|
10840
|
+
children
|
|
11022
10841
|
]
|
|
11023
10842
|
})
|
|
11024
10843
|
})
|
|
10844
|
+
]
|
|
10845
|
+
}),
|
|
10846
|
+
showSearchBar && pageType === 1 && isMobile2 && /* @__PURE__ */ jsx43("div", {
|
|
10847
|
+
className: "relative w-full h-13 py-2",
|
|
10848
|
+
children: /* @__PURE__ */ jsx43(SearchBar, {
|
|
10849
|
+
color: "gray",
|
|
10850
|
+
size: "xs",
|
|
10851
|
+
searchValue: searchValue,
|
|
10852
|
+
placeholder: searchPlaceholder || "Search",
|
|
10853
|
+
onSearchChange: function(value1) {
|
|
10854
|
+
onSearchChange && onSearchChange(value1);
|
|
10855
|
+
}
|
|
11025
10856
|
})
|
|
11026
|
-
|
|
11027
|
-
|
|
10857
|
+
})
|
|
10858
|
+
]
|
|
11028
10859
|
});
|
|
11029
10860
|
}
|
|
11030
10861
|
// src/components/select.tsx
|
|
11031
10862
|
import { CheckIcon as CheckIcon2 } from "@heroicons/react/24/outline";
|
|
11032
10863
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
11033
10864
|
import { ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
|
|
11034
|
-
import * as
|
|
11035
|
-
import { Fragment as
|
|
11036
|
-
var Select =
|
|
10865
|
+
import * as React31 from "react";
|
|
10866
|
+
import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
10867
|
+
var Select = React31.forwardRef(function(_param, ref) {
|
|
11037
10868
|
var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
11038
10869
|
"children",
|
|
11039
10870
|
"placeholder",
|
|
@@ -11044,26 +10875,26 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11044
10875
|
var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
|
|
11045
10876
|
return item.value === props.value;
|
|
11046
10877
|
})) === null || _options_find === void 0 ? void 0 : _options_find.icon;
|
|
11047
|
-
return /* @__PURE__ */
|
|
11048
|
-
children: Array.isArray(options) && options.length ? /* @__PURE__ */
|
|
10878
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
|
|
10879
|
+
children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs25(Fragment8, {
|
|
11049
10880
|
children: [
|
|
11050
|
-
/* @__PURE__ */
|
|
10881
|
+
/* @__PURE__ */ jsx44(SelectTrigger, {
|
|
11051
10882
|
className: cn(triggerClassName),
|
|
11052
|
-
children: /* @__PURE__ */
|
|
10883
|
+
children: /* @__PURE__ */ jsxs25("div", {
|
|
11053
10884
|
className: "flex items-center",
|
|
11054
10885
|
children: [
|
|
11055
|
-
/* @__PURE__ */
|
|
10886
|
+
/* @__PURE__ */ jsx44(SelectIcon, {
|
|
11056
10887
|
icon: icon
|
|
11057
10888
|
}),
|
|
11058
|
-
/* @__PURE__ */
|
|
10889
|
+
/* @__PURE__ */ jsx44(SelectValue, {
|
|
11059
10890
|
placeholder: placeholder
|
|
11060
10891
|
})
|
|
11061
10892
|
]
|
|
11062
10893
|
})
|
|
11063
10894
|
}),
|
|
11064
|
-
/* @__PURE__ */
|
|
10895
|
+
/* @__PURE__ */ jsx44(SelectContent, {
|
|
11065
10896
|
children: options.map(function(item, i) {
|
|
11066
|
-
return /* @__PURE__ */
|
|
10897
|
+
return /* @__PURE__ */ jsx44(SelectItem, _object_spread_props(_object_spread({}, item), {
|
|
11067
10898
|
children: item.label
|
|
11068
10899
|
}), "".concat(item.value, "_").concat(i));
|
|
11069
10900
|
})
|
|
@@ -11074,20 +10905,20 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11074
10905
|
});
|
|
11075
10906
|
var SelectGroup = SelectPrimitive.Group;
|
|
11076
10907
|
var SelectValue = SelectPrimitive.Value;
|
|
11077
|
-
var SelectTrigger =
|
|
10908
|
+
var SelectTrigger = React31.forwardRef(function(_param, ref) {
|
|
11078
10909
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11079
10910
|
"className",
|
|
11080
10911
|
"children"
|
|
11081
10912
|
]);
|
|
11082
|
-
return /* @__PURE__ */
|
|
10913
|
+
return /* @__PURE__ */ jsxs25(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11083
10914
|
ref: ref,
|
|
11084
10915
|
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)
|
|
11085
10916
|
}, props), {
|
|
11086
10917
|
children: [
|
|
11087
10918
|
children,
|
|
11088
|
-
/* @__PURE__ */
|
|
10919
|
+
/* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
|
|
11089
10920
|
asChild: true,
|
|
11090
|
-
children: /* @__PURE__ */
|
|
10921
|
+
children: /* @__PURE__ */ jsx44(ChevronDown2, {
|
|
11091
10922
|
className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
|
|
11092
10923
|
})
|
|
11093
10924
|
})
|
|
@@ -11095,47 +10926,47 @@ var SelectTrigger = React32.forwardRef(function(_param, ref) {
|
|
|
11095
10926
|
}));
|
|
11096
10927
|
});
|
|
11097
10928
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
11098
|
-
var SelectScrollUpButton =
|
|
10929
|
+
var SelectScrollUpButton = React31.forwardRef(function(_param, ref) {
|
|
11099
10930
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11100
10931
|
"className"
|
|
11101
10932
|
]);
|
|
11102
|
-
return /* @__PURE__ */
|
|
10933
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
|
|
11103
10934
|
ref: ref,
|
|
11104
10935
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11105
10936
|
}, props), {
|
|
11106
|
-
children: /* @__PURE__ */
|
|
10937
|
+
children: /* @__PURE__ */ jsx44(ChevronUp, {
|
|
11107
10938
|
className: "h-4 w-4"
|
|
11108
10939
|
})
|
|
11109
10940
|
}));
|
|
11110
10941
|
});
|
|
11111
10942
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
11112
|
-
var SelectScrollDownButton =
|
|
10943
|
+
var SelectScrollDownButton = React31.forwardRef(function(_param, ref) {
|
|
11113
10944
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11114
10945
|
"className"
|
|
11115
10946
|
]);
|
|
11116
|
-
return /* @__PURE__ */
|
|
10947
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
|
|
11117
10948
|
ref: ref,
|
|
11118
10949
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11119
10950
|
}, props), {
|
|
11120
|
-
children: /* @__PURE__ */
|
|
10951
|
+
children: /* @__PURE__ */ jsx44(ChevronDown2, {
|
|
11121
10952
|
className: "h-4 w-4"
|
|
11122
10953
|
})
|
|
11123
10954
|
}));
|
|
11124
10955
|
});
|
|
11125
10956
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
11126
|
-
var SelectContent =
|
|
10957
|
+
var SelectContent = React31.forwardRef(function(_param, ref) {
|
|
11127
10958
|
var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
|
|
11128
10959
|
"className",
|
|
11129
10960
|
"children",
|
|
11130
10961
|
"position"
|
|
11131
10962
|
]);
|
|
11132
|
-
return /* @__PURE__ */
|
|
11133
|
-
children: /* @__PURE__ */
|
|
10963
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Portal, {
|
|
10964
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11134
10965
|
ref: ref,
|
|
11135
10966
|
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),
|
|
11136
10967
|
position: position
|
|
11137
10968
|
}, props), {
|
|
11138
|
-
children: /* @__PURE__ */
|
|
10969
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.Viewport, {
|
|
11139
10970
|
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)]"),
|
|
11140
10971
|
children: children
|
|
11141
10972
|
})
|
|
@@ -11143,11 +10974,11 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
11143
10974
|
});
|
|
11144
10975
|
});
|
|
11145
10976
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
11146
|
-
var SelectLabel =
|
|
10977
|
+
var SelectLabel = React31.forwardRef(function(_param, ref) {
|
|
11147
10978
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11148
10979
|
"className"
|
|
11149
10980
|
]);
|
|
11150
|
-
return /* @__PURE__ */
|
|
10981
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Label, _object_spread({
|
|
11151
10982
|
ref: ref,
|
|
11152
10983
|
className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
|
|
11153
10984
|
}, props));
|
|
@@ -11158,55 +10989,55 @@ function SelectIcon(props) {
|
|
|
11158
10989
|
if (!icon) {
|
|
11159
10990
|
return null;
|
|
11160
10991
|
}
|
|
11161
|
-
return /* @__PURE__ */
|
|
10992
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
|
|
11162
10993
|
children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
|
|
11163
|
-
/* @__PURE__ */
|
|
10994
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11164
10995
|
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"),
|
|
11165
10996
|
style: {
|
|
11166
10997
|
backgroundImage: "url('".concat(icon, "')")
|
|
11167
10998
|
}
|
|
11168
|
-
}) :
|
|
11169
|
-
/* @__PURE__ */
|
|
10999
|
+
}) : React31.isValidElement(icon) ? // 如果是React元素,直接渲染
|
|
11000
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11170
11001
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11171
11002
|
children: icon
|
|
11172
11003
|
}) : // 如果是组件类型,创建元素
|
|
11173
|
-
/* @__PURE__ */
|
|
11004
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11174
11005
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11175
|
-
children:
|
|
11006
|
+
children: React31.createElement(icon, {
|
|
11176
11007
|
className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
|
|
11177
11008
|
})
|
|
11178
11009
|
})
|
|
11179
11010
|
});
|
|
11180
11011
|
}
|
|
11181
11012
|
SelectIcon.displayName = SelectPrimitive.Icon.displayName;
|
|
11182
|
-
var SelectItem =
|
|
11013
|
+
var SelectItem = React31.forwardRef(function(_param, ref) {
|
|
11183
11014
|
var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
|
|
11184
11015
|
"className",
|
|
11185
11016
|
"children",
|
|
11186
11017
|
"icon",
|
|
11187
11018
|
"critical"
|
|
11188
11019
|
]);
|
|
11189
|
-
return /* @__PURE__ */
|
|
11020
|
+
return /* @__PURE__ */ jsxs25(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11190
11021
|
ref: ref,
|
|
11191
11022
|
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)
|
|
11192
11023
|
}, props), {
|
|
11193
11024
|
children: [
|
|
11194
|
-
/* @__PURE__ */
|
|
11025
|
+
/* @__PURE__ */ jsxs25("span", {
|
|
11195
11026
|
className: "flex items-center grow",
|
|
11196
11027
|
children: [
|
|
11197
|
-
/* @__PURE__ */
|
|
11028
|
+
/* @__PURE__ */ jsx44(SelectIcon, {
|
|
11198
11029
|
icon: icon,
|
|
11199
11030
|
critical: critical
|
|
11200
11031
|
}),
|
|
11201
|
-
/* @__PURE__ */
|
|
11032
|
+
/* @__PURE__ */ jsx44(SelectPrimitive.ItemText, {
|
|
11202
11033
|
children: children
|
|
11203
11034
|
})
|
|
11204
11035
|
]
|
|
11205
11036
|
}),
|
|
11206
|
-
/* @__PURE__ */
|
|
11037
|
+
/* @__PURE__ */ jsx44("span", {
|
|
11207
11038
|
className: "flex h-4 w-4 items-center justify-center",
|
|
11208
|
-
children: /* @__PURE__ */
|
|
11209
|
-
children: /* @__PURE__ */
|
|
11039
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.ItemIndicator, {
|
|
11040
|
+
children: /* @__PURE__ */ jsx44(CheckIcon2, {
|
|
11210
11041
|
className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
|
|
11211
11042
|
})
|
|
11212
11043
|
})
|
|
@@ -11215,11 +11046,11 @@ var SelectItem = React32.forwardRef(function(_param, ref) {
|
|
|
11215
11046
|
}));
|
|
11216
11047
|
});
|
|
11217
11048
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
11218
|
-
var SelectSeparator =
|
|
11049
|
+
var SelectSeparator = React31.forwardRef(function(_param, ref) {
|
|
11219
11050
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11220
11051
|
"className"
|
|
11221
11052
|
]);
|
|
11222
|
-
return /* @__PURE__ */
|
|
11053
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Separator, _object_spread({
|
|
11223
11054
|
ref: ref,
|
|
11224
11055
|
className: cn("-mx-1 my-1 h-px bg-border-default", className)
|
|
11225
11056
|
}, props));
|
|
@@ -11229,17 +11060,17 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
11229
11060
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
11230
11061
|
import { cva as cva14 } from "class-variance-authority";
|
|
11231
11062
|
import { X as X2 } from "lucide-react";
|
|
11232
|
-
import * as
|
|
11233
|
-
import { jsx as
|
|
11063
|
+
import * as React32 from "react";
|
|
11064
|
+
import { jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
11234
11065
|
var Sheet = SheetPrimitive.Root;
|
|
11235
11066
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
11236
11067
|
var SheetClose = SheetPrimitive.Close;
|
|
11237
11068
|
var SheetPortal = SheetPrimitive.Portal;
|
|
11238
|
-
var SheetOverlay =
|
|
11069
|
+
var SheetOverlay = React32.forwardRef(function(_param, ref) {
|
|
11239
11070
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11240
11071
|
"className"
|
|
11241
11072
|
]);
|
|
11242
|
-
return /* @__PURE__ */
|
|
11073
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
|
|
11243
11074
|
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)
|
|
11244
11075
|
}, props), {
|
|
11245
11076
|
ref: ref
|
|
@@ -11259,16 +11090,16 @@ var sheetVariants = cva14("fixed z-50 gap-4 bg-white p-6 shadow-lg transition ea
|
|
|
11259
11090
|
side: "right"
|
|
11260
11091
|
}
|
|
11261
11092
|
});
|
|
11262
|
-
var SheetContent =
|
|
11093
|
+
var SheetContent = React32.forwardRef(function(_param, ref) {
|
|
11263
11094
|
var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11264
11095
|
"side",
|
|
11265
11096
|
"className",
|
|
11266
11097
|
"children"
|
|
11267
11098
|
]);
|
|
11268
|
-
return /* @__PURE__ */
|
|
11099
|
+
return /* @__PURE__ */ jsxs26(SheetPortal, {
|
|
11269
11100
|
children: [
|
|
11270
|
-
/* @__PURE__ */
|
|
11271
|
-
/* @__PURE__ */
|
|
11101
|
+
/* @__PURE__ */ jsx45(SheetOverlay, {}),
|
|
11102
|
+
/* @__PURE__ */ jsxs26(SheetPrimitive.Content, _object_spread_props(_object_spread({
|
|
11272
11103
|
ref: ref,
|
|
11273
11104
|
className: cn(sheetVariants({
|
|
11274
11105
|
side: side
|
|
@@ -11276,13 +11107,13 @@ var SheetContent = React33.forwardRef(function(_param, ref) {
|
|
|
11276
11107
|
}, props), {
|
|
11277
11108
|
children: [
|
|
11278
11109
|
children,
|
|
11279
|
-
/* @__PURE__ */
|
|
11110
|
+
/* @__PURE__ */ jsxs26(SheetPrimitive.Close, {
|
|
11280
11111
|
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",
|
|
11281
11112
|
children: [
|
|
11282
|
-
/* @__PURE__ */
|
|
11113
|
+
/* @__PURE__ */ jsx45(X2, {
|
|
11283
11114
|
className: "h-4 w-4"
|
|
11284
11115
|
}),
|
|
11285
|
-
/* @__PURE__ */
|
|
11116
|
+
/* @__PURE__ */ jsx45("span", {
|
|
11286
11117
|
className: "sr-only",
|
|
11287
11118
|
children: "Close"
|
|
11288
11119
|
})
|
|
@@ -11298,7 +11129,7 @@ var SheetHeader = function(_param) {
|
|
|
11298
11129
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11299
11130
|
"className"
|
|
11300
11131
|
]);
|
|
11301
|
-
return /* @__PURE__ */
|
|
11132
|
+
return /* @__PURE__ */ jsx45("div", _object_spread({
|
|
11302
11133
|
className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
|
|
11303
11134
|
}, props));
|
|
11304
11135
|
};
|
|
@@ -11307,65 +11138,65 @@ var SheetFooter = function(_param) {
|
|
|
11307
11138
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11308
11139
|
"className"
|
|
11309
11140
|
]);
|
|
11310
|
-
return /* @__PURE__ */
|
|
11141
|
+
return /* @__PURE__ */ jsx45("div", _object_spread({
|
|
11311
11142
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
|
|
11312
11143
|
}, props));
|
|
11313
11144
|
};
|
|
11314
11145
|
SheetFooter.displayName = "SheetFooter";
|
|
11315
|
-
var SheetTitle =
|
|
11146
|
+
var SheetTitle = React32.forwardRef(function(_param, ref) {
|
|
11316
11147
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11317
11148
|
"className"
|
|
11318
11149
|
]);
|
|
11319
|
-
return /* @__PURE__ */
|
|
11150
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Title, _object_spread({
|
|
11320
11151
|
ref: ref,
|
|
11321
11152
|
className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
|
|
11322
11153
|
}, props));
|
|
11323
11154
|
});
|
|
11324
11155
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
11325
|
-
var SheetDescription =
|
|
11156
|
+
var SheetDescription = React32.forwardRef(function(_param, ref) {
|
|
11326
11157
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11327
11158
|
"className"
|
|
11328
11159
|
]);
|
|
11329
|
-
return /* @__PURE__ */
|
|
11160
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Description, _object_spread({
|
|
11330
11161
|
ref: ref,
|
|
11331
11162
|
className: cn("text-sm text-slate-500 dark:text-slate-400", className)
|
|
11332
11163
|
}, props));
|
|
11333
11164
|
});
|
|
11334
11165
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
11335
11166
|
// src/components/skeleton.tsx
|
|
11336
|
-
import { jsx as
|
|
11167
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
11337
11168
|
function Skeleton(_param) {
|
|
11338
11169
|
var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
|
|
11339
11170
|
"className",
|
|
11340
11171
|
"animate"
|
|
11341
11172
|
]);
|
|
11342
|
-
return /* @__PURE__ */
|
|
11173
|
+
return /* @__PURE__ */ jsx46("div", _object_spread({
|
|
11343
11174
|
className: cn("rounded-sm bg-Colors-Background-Normal-Secondary-Default", className, animate && "animate-pulse")
|
|
11344
11175
|
}, props));
|
|
11345
11176
|
}
|
|
11346
11177
|
// src/components/slider.tsx
|
|
11347
11178
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
11348
|
-
import * as
|
|
11349
|
-
import { jsx as
|
|
11350
|
-
var Slider =
|
|
11179
|
+
import * as React33 from "react";
|
|
11180
|
+
import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11181
|
+
var Slider = React33.forwardRef(function(_param, ref) {
|
|
11351
11182
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
|
|
11352
11183
|
"className",
|
|
11353
11184
|
"size"
|
|
11354
11185
|
]);
|
|
11355
|
-
return /* @__PURE__ */
|
|
11186
|
+
return /* @__PURE__ */ jsx47("div", {
|
|
11356
11187
|
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",
|
|
11357
|
-
children: /* @__PURE__ */
|
|
11188
|
+
children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
11358
11189
|
ref: ref,
|
|
11359
11190
|
className: cn("relative flex w-full touch-none select-none items-center", className)
|
|
11360
11191
|
}, props), {
|
|
11361
11192
|
children: [
|
|
11362
|
-
/* @__PURE__ */
|
|
11193
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Track, {
|
|
11363
11194
|
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"),
|
|
11364
|
-
children: /* @__PURE__ */
|
|
11195
|
+
children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
|
|
11365
11196
|
className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
|
|
11366
11197
|
})
|
|
11367
11198
|
}),
|
|
11368
|
-
/* @__PURE__ */
|
|
11199
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
|
|
11369
11200
|
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]")
|
|
11370
11201
|
})
|
|
11371
11202
|
]
|
|
@@ -11373,7 +11204,7 @@ var Slider = React34.forwardRef(function(_param, ref) {
|
|
|
11373
11204
|
});
|
|
11374
11205
|
});
|
|
11375
11206
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
11376
|
-
var SliderSingle =
|
|
11207
|
+
var SliderSingle = React33.forwardRef(function(_param, ref) {
|
|
11377
11208
|
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, [
|
|
11378
11209
|
"className",
|
|
11379
11210
|
"containerClassName",
|
|
@@ -11387,12 +11218,12 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11387
11218
|
"onValueCommit",
|
|
11388
11219
|
"settable"
|
|
11389
11220
|
]);
|
|
11390
|
-
return /* @__PURE__ */
|
|
11221
|
+
return /* @__PURE__ */ jsxs27("div", {
|
|
11391
11222
|
className: "flex w-full items-center space-x-1.5",
|
|
11392
11223
|
children: [
|
|
11393
|
-
/* @__PURE__ */
|
|
11224
|
+
/* @__PURE__ */ jsx47("div", {
|
|
11394
11225
|
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),
|
|
11395
|
-
children: /* @__PURE__ */
|
|
11226
|
+
children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
11396
11227
|
ref: ref,
|
|
11397
11228
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
11398
11229
|
value: typeof value1 === "number" ? [
|
|
@@ -11409,21 +11240,21 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11409
11240
|
}
|
|
11410
11241
|
}, props), {
|
|
11411
11242
|
children: [
|
|
11412
|
-
/* @__PURE__ */
|
|
11243
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Track, {
|
|
11413
11244
|
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),
|
|
11414
|
-
children: /* @__PURE__ */
|
|
11245
|
+
children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
|
|
11415
11246
|
className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
|
|
11416
11247
|
})
|
|
11417
11248
|
}),
|
|
11418
|
-
/* @__PURE__ */
|
|
11249
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
|
|
11419
11250
|
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)
|
|
11420
11251
|
})
|
|
11421
11252
|
]
|
|
11422
11253
|
}))
|
|
11423
11254
|
}),
|
|
11424
|
-
settable && /* @__PURE__ */
|
|
11255
|
+
settable && /* @__PURE__ */ jsx47("div", {
|
|
11425
11256
|
className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-md",
|
|
11426
|
-
children: /* @__PURE__ */
|
|
11257
|
+
children: /* @__PURE__ */ jsx47(NumberInput, {
|
|
11427
11258
|
value: value1,
|
|
11428
11259
|
min: props === null || props === void 0 ? void 0 : props.min,
|
|
11429
11260
|
max: props === null || props === void 0 ? void 0 : props.max,
|
|
@@ -11441,8 +11272,8 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11441
11272
|
SliderSingle.displayName = "SliderSingle";
|
|
11442
11273
|
// src/components/spinner.tsx
|
|
11443
11274
|
import { cva as cva15 } from "class-variance-authority";
|
|
11444
|
-
import { Loader2 as
|
|
11445
|
-
import { jsx as
|
|
11275
|
+
import { Loader2 as Loader23 } from "lucide-react";
|
|
11276
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
11446
11277
|
var spinnerVariants = cva15("animate-spin", {
|
|
11447
11278
|
variants: {
|
|
11448
11279
|
size: {
|
|
@@ -11474,7 +11305,7 @@ var spinnerVariants = cva15("animate-spin", {
|
|
|
11474
11305
|
});
|
|
11475
11306
|
function Spinner(props) {
|
|
11476
11307
|
var size = props.size, speed = props.speed, color = props.color, className = props.className;
|
|
11477
|
-
return /* @__PURE__ */
|
|
11308
|
+
return /* @__PURE__ */ jsx48(Loader23, {
|
|
11478
11309
|
className: cn(spinnerVariants({
|
|
11479
11310
|
size: size,
|
|
11480
11311
|
speed: speed,
|
|
@@ -11485,8 +11316,8 @@ function Spinner(props) {
|
|
|
11485
11316
|
// src/components/switch.tsx
|
|
11486
11317
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
11487
11318
|
import { cva as cva16 } from "class-variance-authority";
|
|
11488
|
-
import * as
|
|
11489
|
-
import { jsx as
|
|
11319
|
+
import * as React34 from "react";
|
|
11320
|
+
import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11490
11321
|
var switchSize = {
|
|
11491
11322
|
sm: "w-7 h-4",
|
|
11492
11323
|
md: "w-[34px] h-5",
|
|
@@ -11568,7 +11399,7 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
|
|
|
11568
11399
|
}
|
|
11569
11400
|
}
|
|
11570
11401
|
});
|
|
11571
|
-
var Switch =
|
|
11402
|
+
var Switch = React34.forwardRef(function(_param, ref) {
|
|
11572
11403
|
var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, vertical = _param.vertical, icon = _param.icon, props = _object_without_properties(_param, [
|
|
11573
11404
|
"className",
|
|
11574
11405
|
"size",
|
|
@@ -11577,23 +11408,23 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
11577
11408
|
"vertical",
|
|
11578
11409
|
"icon"
|
|
11579
11410
|
]);
|
|
11580
|
-
var Component = label ? "div" :
|
|
11581
|
-
return /* @__PURE__ */
|
|
11411
|
+
var Component = label ? "div" : React34.Fragment;
|
|
11412
|
+
return /* @__PURE__ */ jsxs28(Component, {
|
|
11582
11413
|
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"),
|
|
11583
11414
|
children: [
|
|
11584
|
-
/* @__PURE__ */
|
|
11415
|
+
/* @__PURE__ */ jsx49(SwitchPrimitives.Root, _object_spread_props(_object_spread({
|
|
11585
11416
|
className: cn(switchRootVariants({
|
|
11586
11417
|
size: size,
|
|
11587
11418
|
vertical: vertical
|
|
11588
11419
|
}), className, vertical && "flex-col")
|
|
11589
11420
|
}, props), {
|
|
11590
11421
|
ref: ref,
|
|
11591
|
-
children: /* @__PURE__ */
|
|
11422
|
+
children: /* @__PURE__ */ jsx49(SwitchPrimitives.Thumb, {
|
|
11592
11423
|
className: cn(switchThumbVariants({
|
|
11593
11424
|
size: size,
|
|
11594
11425
|
vertical: vertical
|
|
11595
11426
|
}), "flex items-center justify-center"),
|
|
11596
|
-
children: icon && /* @__PURE__ */
|
|
11427
|
+
children: icon && /* @__PURE__ */ jsx49(Icon, {
|
|
11597
11428
|
component: icon,
|
|
11598
11429
|
className: switchThumbIconVariants({
|
|
11599
11430
|
size: size
|
|
@@ -11601,7 +11432,7 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
11601
11432
|
})
|
|
11602
11433
|
})
|
|
11603
11434
|
})),
|
|
11604
|
-
label && /* @__PURE__ */
|
|
11435
|
+
label && /* @__PURE__ */ jsx49("span", {
|
|
11605
11436
|
className: cn("text-sm", labelClassName),
|
|
11606
11437
|
children: label
|
|
11607
11438
|
})
|
|
@@ -11612,8 +11443,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
11612
11443
|
// src/components/tabs.tsx
|
|
11613
11444
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
11614
11445
|
import { cva as cva17 } from "class-variance-authority";
|
|
11615
|
-
import * as
|
|
11616
|
-
import { jsx as
|
|
11446
|
+
import * as React35 from "react";
|
|
11447
|
+
import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
11617
11448
|
var TabsRoot = TabsPrimitive.Tabs;
|
|
11618
11449
|
var TabsList = TabsPrimitive.List;
|
|
11619
11450
|
var TabsTrigger = TabsPrimitive.Trigger;
|
|
@@ -11762,7 +11593,7 @@ var tabVariants = cva17("relative inline-flex h-full items-center overflow-hidde
|
|
|
11762
11593
|
rounded: "default"
|
|
11763
11594
|
}
|
|
11764
11595
|
});
|
|
11765
|
-
var Tabs2 =
|
|
11596
|
+
var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
11766
11597
|
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, [
|
|
11767
11598
|
"className",
|
|
11768
11599
|
"listClassName",
|
|
@@ -11773,14 +11604,14 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11773
11604
|
"rounded",
|
|
11774
11605
|
"items"
|
|
11775
11606
|
]);
|
|
11776
|
-
return /* @__PURE__ */
|
|
11607
|
+
return /* @__PURE__ */ jsxs29(TabsPrimitive.Root, _object_spread_props(_object_spread({
|
|
11777
11608
|
ref: ref,
|
|
11778
11609
|
className: cn(className)
|
|
11779
11610
|
}, props), {
|
|
11780
11611
|
children: [
|
|
11781
|
-
/* @__PURE__ */
|
|
11612
|
+
/* @__PURE__ */ jsx50("div", {
|
|
11782
11613
|
className: "w-full flex justify-start items-center",
|
|
11783
|
-
children: /* @__PURE__ */
|
|
11614
|
+
children: /* @__PURE__ */ jsx50(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
11784
11615
|
ref: ref,
|
|
11785
11616
|
className: cn(tabListVariants({
|
|
11786
11617
|
variant: variant,
|
|
@@ -11789,7 +11620,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11789
11620
|
}), listClassName)
|
|
11790
11621
|
}, props), {
|
|
11791
11622
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
11792
|
-
return /* @__PURE__ */
|
|
11623
|
+
return /* @__PURE__ */ jsx50(Tab, _object_spread({
|
|
11793
11624
|
isLink: isLink,
|
|
11794
11625
|
variant: variant,
|
|
11795
11626
|
size: size,
|
|
@@ -11798,10 +11629,10 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11798
11629
|
})
|
|
11799
11630
|
}))
|
|
11800
11631
|
}),
|
|
11801
|
-
!isLink && /* @__PURE__ */
|
|
11632
|
+
!isLink && /* @__PURE__ */ jsx50("div", {
|
|
11802
11633
|
className: "w-full",
|
|
11803
11634
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
11804
|
-
return /* @__PURE__ */
|
|
11635
|
+
return /* @__PURE__ */ jsx50(TabsContent, {
|
|
11805
11636
|
value: item.value,
|
|
11806
11637
|
className: contentClassName,
|
|
11807
11638
|
children: item.children
|
|
@@ -11812,7 +11643,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11812
11643
|
}));
|
|
11813
11644
|
});
|
|
11814
11645
|
Tabs2.displayName = TabsPrimitive.Root.displayName;
|
|
11815
|
-
var Tab =
|
|
11646
|
+
var Tab = React35.forwardRef(function(_param, ref) {
|
|
11816
11647
|
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, [
|
|
11817
11648
|
"className",
|
|
11818
11649
|
"variant",
|
|
@@ -11827,10 +11658,10 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11827
11658
|
"rounded",
|
|
11828
11659
|
"onClickCallback"
|
|
11829
11660
|
]);
|
|
11830
|
-
return /* @__PURE__ */
|
|
11661
|
+
return /* @__PURE__ */ jsx50(Tooltip, _object_spread_props(_object_spread({
|
|
11831
11662
|
triggerClassName: cn("h-full flex justify-center items-center", variant === "underline" ? "w-fit justify-start items-end" : "w-full flex-1")
|
|
11832
11663
|
}, tooltip), {
|
|
11833
|
-
children: /* @__PURE__ */
|
|
11664
|
+
children: /* @__PURE__ */ jsx50(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11834
11665
|
ref: ref,
|
|
11835
11666
|
className: cn("tabtrigger min-w-fit", tabVariants({
|
|
11836
11667
|
variant: variant,
|
|
@@ -11842,7 +11673,7 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11842
11673
|
e.stopPropagation();
|
|
11843
11674
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(props.value);
|
|
11844
11675
|
},
|
|
11845
|
-
children: isLink && link ? /* @__PURE__ */
|
|
11676
|
+
children: isLink && link ? /* @__PURE__ */ jsxs29(link_default, {
|
|
11846
11677
|
prefetch: true,
|
|
11847
11678
|
href: link,
|
|
11848
11679
|
className: cn("relative h-full w-full flex justify-center items-center"),
|
|
@@ -11853,28 +11684,28 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11853
11684
|
},
|
|
11854
11685
|
children: [
|
|
11855
11686
|
label,
|
|
11856
|
-
hasUnRead && /* @__PURE__ */
|
|
11687
|
+
hasUnRead && /* @__PURE__ */ jsx50(Badge, {
|
|
11857
11688
|
className: "-mt-2.5"
|
|
11858
11689
|
})
|
|
11859
11690
|
]
|
|
11860
|
-
}) : /* @__PURE__ */
|
|
11691
|
+
}) : /* @__PURE__ */ jsxs29("div", {
|
|
11861
11692
|
className: "relative flex justify-center items-center",
|
|
11862
11693
|
children: [
|
|
11863
|
-
label && /* @__PURE__ */
|
|
11694
|
+
label && /* @__PURE__ */ jsx50("span", {
|
|
11864
11695
|
className: cn("text-inherit"),
|
|
11865
11696
|
children: label
|
|
11866
11697
|
}),
|
|
11867
|
-
icon && /* @__PURE__ */
|
|
11698
|
+
icon && /* @__PURE__ */ jsx50(Icon, {
|
|
11868
11699
|
component: icon,
|
|
11869
11700
|
size: "md",
|
|
11870
11701
|
className: "text-inherit"
|
|
11871
11702
|
}),
|
|
11872
|
-
count2 ? /* @__PURE__ */
|
|
11703
|
+
count2 ? /* @__PURE__ */ jsx50(Text, {
|
|
11873
11704
|
size: "sm",
|
|
11874
11705
|
className: "ml-1 text-Colors-Text-Subtlest",
|
|
11875
11706
|
children: count2
|
|
11876
11707
|
}) : null,
|
|
11877
|
-
hasUnRead && /* @__PURE__ */
|
|
11708
|
+
hasUnRead && /* @__PURE__ */ jsx50(Badge, {
|
|
11878
11709
|
className: "-mt-2.5"
|
|
11879
11710
|
})
|
|
11880
11711
|
]
|
|
@@ -11883,20 +11714,20 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11883
11714
|
}));
|
|
11884
11715
|
});
|
|
11885
11716
|
Tab.displayName = TabsPrimitive.Trigger.displayName;
|
|
11886
|
-
var TabsContent =
|
|
11717
|
+
var TabsContent = React35.forwardRef(function(_param, ref) {
|
|
11887
11718
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11888
11719
|
"className"
|
|
11889
11720
|
]);
|
|
11890
|
-
return /* @__PURE__ */
|
|
11721
|
+
return /* @__PURE__ */ jsx50(TabsPrimitive.Content, _object_spread({
|
|
11891
11722
|
ref: ref,
|
|
11892
11723
|
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)
|
|
11893
11724
|
}, props));
|
|
11894
11725
|
});
|
|
11895
11726
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
11896
11727
|
// src/components/textarea.tsx
|
|
11897
|
-
import * as
|
|
11898
|
-
import { jsx as
|
|
11899
|
-
var Textarea =
|
|
11728
|
+
import * as React36 from "react";
|
|
11729
|
+
import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
11730
|
+
var Textarea = React36.forwardRef(function(_param, ref) {
|
|
11900
11731
|
var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
|
|
11901
11732
|
"className",
|
|
11902
11733
|
"maxLength",
|
|
@@ -11905,20 +11736,20 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
11905
11736
|
"maxLengthClassName"
|
|
11906
11737
|
]);
|
|
11907
11738
|
var _value_toString, _value_toString1;
|
|
11908
|
-
return /* @__PURE__ */
|
|
11739
|
+
return /* @__PURE__ */ jsxs30("div", {
|
|
11909
11740
|
children: [
|
|
11910
|
-
/* @__PURE__ */
|
|
11741
|
+
/* @__PURE__ */ jsxs30("div", {
|
|
11911
11742
|
className: "relative",
|
|
11912
11743
|
children: [
|
|
11913
|
-
/* @__PURE__ */
|
|
11744
|
+
/* @__PURE__ */ jsx51("textarea", _object_spread({
|
|
11914
11745
|
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),
|
|
11915
11746
|
ref: ref,
|
|
11916
11747
|
maxLength: maxLength,
|
|
11917
11748
|
value: value1
|
|
11918
11749
|
}, props)),
|
|
11919
|
-
maxLength ? /* @__PURE__ */
|
|
11750
|
+
maxLength ? /* @__PURE__ */ jsx51("div", {
|
|
11920
11751
|
className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
|
|
11921
|
-
children: /* @__PURE__ */
|
|
11752
|
+
children: /* @__PURE__ */ jsx51(Text, {
|
|
11922
11753
|
size: "sm",
|
|
11923
11754
|
color: "subtlest",
|
|
11924
11755
|
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)
|
|
@@ -11926,9 +11757,9 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
11926
11757
|
}) : null
|
|
11927
11758
|
]
|
|
11928
11759
|
}),
|
|
11929
|
-
error && /* @__PURE__ */
|
|
11760
|
+
error && /* @__PURE__ */ jsx51("div", {
|
|
11930
11761
|
className: "w-full",
|
|
11931
|
-
children: /* @__PURE__ */
|
|
11762
|
+
children: /* @__PURE__ */ jsx51(Text, {
|
|
11932
11763
|
className: "text-wrap",
|
|
11933
11764
|
size: "sm",
|
|
11934
11765
|
weight: "regular",
|
|
@@ -11943,8 +11774,8 @@ Textarea.displayName = "Textarea";
|
|
|
11943
11774
|
// src/components/toggle.tsx
|
|
11944
11775
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
11945
11776
|
import { cva as cva18 } from "class-variance-authority";
|
|
11946
|
-
import * as
|
|
11947
|
-
import { jsx as
|
|
11777
|
+
import * as React37 from "react";
|
|
11778
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
11948
11779
|
var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm text-sm font-medium ring-offset-white text-Colors-Text-Subtlest hover:bg-slate-100 hover:text-slate-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-Colors-Background-Normal-Primary-Active data-[state=on]:text-Colors-Text-Brand-Default [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:hover:text-Colors-Text-Brand-Default dark:focus-visible:ring-slate-300 dark:data-[state=on]:bg-Colors-Background-Normal-Primary-Active dark:data-[state=on]:text-Colors-Text-Brand-Default", {
|
|
11949
11780
|
variants: {
|
|
11950
11781
|
variant: {
|
|
@@ -11963,13 +11794,13 @@ var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm t
|
|
|
11963
11794
|
size: "default"
|
|
11964
11795
|
}
|
|
11965
11796
|
});
|
|
11966
|
-
var Toggle =
|
|
11797
|
+
var Toggle = React37.forwardRef(function(_param, ref) {
|
|
11967
11798
|
var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
11968
11799
|
"className",
|
|
11969
11800
|
"variant",
|
|
11970
11801
|
"size"
|
|
11971
11802
|
]);
|
|
11972
|
-
return /* @__PURE__ */
|
|
11803
|
+
return /* @__PURE__ */ jsx52(TogglePrimitive.Root, _object_spread({
|
|
11973
11804
|
ref: ref,
|
|
11974
11805
|
className: cn(toggleVariants({
|
|
11975
11806
|
variant: variant,
|
|
@@ -11981,24 +11812,24 @@ var Toggle = React38.forwardRef(function(_param, ref) {
|
|
|
11981
11812
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
11982
11813
|
// src/components/toggle-group.tsx
|
|
11983
11814
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
11984
|
-
import * as
|
|
11985
|
-
import { jsx as
|
|
11986
|
-
var ToggleGroupContext =
|
|
11815
|
+
import * as React38 from "react";
|
|
11816
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
11817
|
+
var ToggleGroupContext = React38.createContext({
|
|
11987
11818
|
size: "default",
|
|
11988
11819
|
variant: "default"
|
|
11989
11820
|
});
|
|
11990
|
-
var ToggleGroup =
|
|
11821
|
+
var ToggleGroup = React38.forwardRef(function(_param, ref) {
|
|
11991
11822
|
var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
|
|
11992
11823
|
"className",
|
|
11993
11824
|
"variant",
|
|
11994
11825
|
"size",
|
|
11995
11826
|
"children"
|
|
11996
11827
|
]);
|
|
11997
|
-
return /* @__PURE__ */
|
|
11828
|
+
return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
|
|
11998
11829
|
ref: ref,
|
|
11999
11830
|
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)
|
|
12000
11831
|
}, props), {
|
|
12001
|
-
children: /* @__PURE__ */
|
|
11832
|
+
children: /* @__PURE__ */ jsx53(ToggleGroupContext.Provider, {
|
|
12002
11833
|
value: {
|
|
12003
11834
|
variant: variant,
|
|
12004
11835
|
size: size
|
|
@@ -12008,15 +11839,15 @@ var ToggleGroup = React39.forwardRef(function(_param, ref) {
|
|
|
12008
11839
|
}));
|
|
12009
11840
|
});
|
|
12010
11841
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
12011
|
-
var ToggleGroupItem =
|
|
11842
|
+
var ToggleGroupItem = React38.forwardRef(function(_param, ref) {
|
|
12012
11843
|
var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12013
11844
|
"className",
|
|
12014
11845
|
"children",
|
|
12015
11846
|
"variant",
|
|
12016
11847
|
"size"
|
|
12017
11848
|
]);
|
|
12018
|
-
var context =
|
|
12019
|
-
return /* @__PURE__ */
|
|
11849
|
+
var context = React38.useContext(ToggleGroupContext);
|
|
11850
|
+
return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
12020
11851
|
ref: ref,
|
|
12021
11852
|
className: cn(toggleVariants({
|
|
12022
11853
|
variant: context.variant || variant,
|
|
@@ -12029,7 +11860,7 @@ var ToggleGroupItem = React39.forwardRef(function(_param, ref) {
|
|
|
12029
11860
|
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
12030
11861
|
// src/components/chips.tsx
|
|
12031
11862
|
import { cva as cva19 } from "class-variance-authority";
|
|
12032
|
-
import { jsx as
|
|
11863
|
+
import { jsx as jsx54, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
12033
11864
|
var chipsVariants = cva19('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', {
|
|
12034
11865
|
variants: {
|
|
12035
11866
|
variant: {
|
|
@@ -12048,7 +11879,7 @@ var chipsVariants = cva19('min-w-10 flex items-center justify-center text-Colors
|
|
|
12048
11879
|
});
|
|
12049
11880
|
function Chips(props) {
|
|
12050
11881
|
var variant = props.variant, size = props.size, count2 = props.count, className = props.className, label = props.label, disabled = props.disabled, selected = props.selected;
|
|
12051
|
-
return /* @__PURE__ */
|
|
11882
|
+
return /* @__PURE__ */ jsxs31("div", {
|
|
12052
11883
|
"data-disabled": disabled,
|
|
12053
11884
|
"data-selected": selected,
|
|
12054
11885
|
className: cn(chipsVariants({
|
|
@@ -12057,7 +11888,7 @@ function Chips(props) {
|
|
|
12057
11888
|
}), className),
|
|
12058
11889
|
children: [
|
|
12059
11890
|
label,
|
|
12060
|
-
count2 && count2 > 0 ? /* @__PURE__ */
|
|
11891
|
+
count2 && count2 > 0 ? /* @__PURE__ */ jsx54("span", {
|
|
12061
11892
|
className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
|
|
12062
11893
|
children: count2
|
|
12063
11894
|
}) : null
|
|
@@ -12067,9 +11898,9 @@ function Chips(props) {
|
|
|
12067
11898
|
// src/components/toast/toast.tsx
|
|
12068
11899
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
12069
11900
|
import { cva as cva20 } from "class-variance-authority";
|
|
12070
|
-
import * as
|
|
11901
|
+
import * as React39 from "react";
|
|
12071
11902
|
import XMarkIcon3 from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
12072
|
-
import { jsx as
|
|
11903
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
12073
11904
|
var ToastProvider = ToastPrimitives.Provider;
|
|
12074
11905
|
var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
|
|
12075
11906
|
variants: {
|
|
@@ -12088,12 +11919,12 @@ var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full
|
|
|
12088
11919
|
position: "top-right"
|
|
12089
11920
|
}
|
|
12090
11921
|
});
|
|
12091
|
-
var ToastViewport =
|
|
11922
|
+
var ToastViewport = React39.forwardRef(function(_param, ref) {
|
|
12092
11923
|
var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
|
|
12093
11924
|
"className",
|
|
12094
11925
|
"position"
|
|
12095
11926
|
]);
|
|
12096
|
-
return /* @__PURE__ */
|
|
11927
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Viewport, _object_spread({
|
|
12097
11928
|
ref: ref,
|
|
12098
11929
|
className: cn(viewportPositionVariants({
|
|
12099
11930
|
position: position
|
|
@@ -12125,13 +11956,13 @@ var toastVariants = cva20("group pointer-events-auto relative flex w-full items-
|
|
|
12125
11956
|
position: "top-right"
|
|
12126
11957
|
}
|
|
12127
11958
|
});
|
|
12128
|
-
var Toast =
|
|
11959
|
+
var Toast = React39.forwardRef(function(_param, ref) {
|
|
12129
11960
|
var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
|
|
12130
11961
|
"className",
|
|
12131
11962
|
"variant",
|
|
12132
11963
|
"position"
|
|
12133
11964
|
]);
|
|
12134
|
-
return /* @__PURE__ */
|
|
11965
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Root, _object_spread({
|
|
12135
11966
|
ref: ref,
|
|
12136
11967
|
className: cn(toastVariants({
|
|
12137
11968
|
variant: variant,
|
|
@@ -12141,46 +11972,46 @@ var Toast = React40.forwardRef(function(_param, ref) {
|
|
|
12141
11972
|
}, props));
|
|
12142
11973
|
});
|
|
12143
11974
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
12144
|
-
var ToastAction =
|
|
11975
|
+
var ToastAction = React39.forwardRef(function(_param, ref) {
|
|
12145
11976
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12146
11977
|
"className"
|
|
12147
11978
|
]);
|
|
12148
|
-
return /* @__PURE__ */
|
|
11979
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Action, _object_spread({
|
|
12149
11980
|
ref: ref,
|
|
12150
11981
|
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)
|
|
12151
11982
|
}, props));
|
|
12152
11983
|
});
|
|
12153
11984
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
12154
|
-
var ToastClose =
|
|
11985
|
+
var ToastClose = React39.forwardRef(function(_param, ref) {
|
|
12155
11986
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12156
11987
|
"className"
|
|
12157
11988
|
]);
|
|
12158
|
-
return /* @__PURE__ */
|
|
11989
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
12159
11990
|
ref: ref,
|
|
12160
11991
|
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),
|
|
12161
11992
|
"toast-close": ""
|
|
12162
11993
|
}, props), {
|
|
12163
|
-
children: /* @__PURE__ */
|
|
11994
|
+
children: /* @__PURE__ */ jsx55(XMarkIcon3, {
|
|
12164
11995
|
className: "h-5 w-5"
|
|
12165
11996
|
})
|
|
12166
11997
|
}));
|
|
12167
11998
|
});
|
|
12168
11999
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
12169
|
-
var ToastTitle =
|
|
12000
|
+
var ToastTitle = React39.forwardRef(function(_param, ref) {
|
|
12170
12001
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12171
12002
|
"className"
|
|
12172
12003
|
]);
|
|
12173
|
-
return /* @__PURE__ */
|
|
12004
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Title, _object_spread({
|
|
12174
12005
|
ref: ref,
|
|
12175
12006
|
className: cn("text-sm font-semibold", className)
|
|
12176
12007
|
}, props));
|
|
12177
12008
|
});
|
|
12178
12009
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
12179
|
-
var ToastDescription =
|
|
12010
|
+
var ToastDescription = React39.forwardRef(function(_param, ref) {
|
|
12180
12011
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12181
12012
|
"className"
|
|
12182
12013
|
]);
|
|
12183
|
-
return /* @__PURE__ */
|
|
12014
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Description, _object_spread({
|
|
12184
12015
|
ref: ref,
|
|
12185
12016
|
className: cn("text-sm opacity-90", className)
|
|
12186
12017
|
}, props));
|
|
@@ -12191,8 +12022,8 @@ import CheckCircleIcon2 from "@heroicons/react/24/outline/esm/CheckCircleIcon";
|
|
|
12191
12022
|
import InformationCircleIcon2 from "@heroicons/react/24/outline/esm/InformationCircleIcon";
|
|
12192
12023
|
import XCircleIcon2 from "@heroicons/react/24/outline/esm/XCircleIcon";
|
|
12193
12024
|
// src/components/toast/use-toast.tsx
|
|
12194
|
-
import * as
|
|
12195
|
-
import { jsx as
|
|
12025
|
+
import * as React40 from "react";
|
|
12026
|
+
import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12196
12027
|
var TOAST_LIMIT = 8;
|
|
12197
12028
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
12198
12029
|
var count = 0;
|
|
@@ -12295,10 +12126,10 @@ function toast(_param) {
|
|
|
12295
12126
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
12296
12127
|
position: position
|
|
12297
12128
|
}), actions && {
|
|
12298
|
-
action: /* @__PURE__ */
|
|
12129
|
+
action: /* @__PURE__ */ jsxs32("div", {
|
|
12299
12130
|
className: "flex justify-start items-center gap-2",
|
|
12300
12131
|
children: [
|
|
12301
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */
|
|
12132
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx56(Text, {
|
|
12302
12133
|
size: "sm",
|
|
12303
12134
|
weight: "medium",
|
|
12304
12135
|
color: "brand",
|
|
@@ -12308,13 +12139,13 @@ function toast(_param) {
|
|
|
12308
12139
|
},
|
|
12309
12140
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
12310
12141
|
}),
|
|
12311
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */
|
|
12142
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx56(link_default, {
|
|
12312
12143
|
href: actions.viewUrl,
|
|
12313
12144
|
target: "_blank",
|
|
12314
12145
|
rel: "noreferrer noopener",
|
|
12315
|
-
children: /* @__PURE__ */
|
|
12146
|
+
children: /* @__PURE__ */ jsx56("div", {
|
|
12316
12147
|
className: "flex items-center gap-1.5",
|
|
12317
|
-
children: /* @__PURE__ */
|
|
12148
|
+
children: /* @__PURE__ */ jsx56(Text, {
|
|
12318
12149
|
size: "sm",
|
|
12319
12150
|
weight: "medium",
|
|
12320
12151
|
color: "default",
|
|
@@ -12340,8 +12171,8 @@ function toast(_param) {
|
|
|
12340
12171
|
};
|
|
12341
12172
|
}
|
|
12342
12173
|
function useToast() {
|
|
12343
|
-
var
|
|
12344
|
-
|
|
12174
|
+
var _React40_useState = _sliced_to_array(React40.useState(memoryState), 2), state = _React40_useState[0], setState = _React40_useState[1];
|
|
12175
|
+
React40.useEffect(function() {
|
|
12345
12176
|
listeners.push(setState);
|
|
12346
12177
|
return function() {
|
|
12347
12178
|
var index = listeners.indexOf(setState);
|
|
@@ -12363,13 +12194,13 @@ function useToast() {
|
|
|
12363
12194
|
});
|
|
12364
12195
|
}
|
|
12365
12196
|
// src/components/toast/toaster.tsx
|
|
12366
|
-
import
|
|
12197
|
+
import React41 from "react";
|
|
12367
12198
|
import { ExclamationTriangleIcon as ExclamationTriangleIcon2 } from "@heroicons/react/24/outline";
|
|
12368
|
-
import { jsx as
|
|
12199
|
+
import { jsx as jsx57, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12369
12200
|
function Toaster() {
|
|
12370
12201
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
12371
12202
|
var toasts = useToast().toasts;
|
|
12372
|
-
var positionGroups =
|
|
12203
|
+
var positionGroups = React41.useMemo(function() {
|
|
12373
12204
|
var groups = {};
|
|
12374
12205
|
var allPositions = [
|
|
12375
12206
|
"top-left",
|
|
@@ -12399,22 +12230,22 @@ function Toaster() {
|
|
|
12399
12230
|
]);
|
|
12400
12231
|
var renderToast = function(toast4) {
|
|
12401
12232
|
var id = toast4.id, title = toast4.title, description = toast4.description, action = toast4.action, variant = toast4.variant, toastPosition = toast4.position;
|
|
12402
|
-
var
|
|
12233
|
+
var renderIcon2 = function(variant2) {
|
|
12403
12234
|
switch(variant2){
|
|
12404
12235
|
case "info":
|
|
12405
|
-
return /* @__PURE__ */
|
|
12236
|
+
return /* @__PURE__ */ jsx57(InformationCircleIcon2, {
|
|
12406
12237
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12407
12238
|
});
|
|
12408
12239
|
case "success":
|
|
12409
|
-
return /* @__PURE__ */
|
|
12240
|
+
return /* @__PURE__ */ jsx57(CheckCircleIcon2, {
|
|
12410
12241
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12411
12242
|
});
|
|
12412
12243
|
case "warning":
|
|
12413
|
-
return /* @__PURE__ */
|
|
12244
|
+
return /* @__PURE__ */ jsx57(ExclamationTriangleIcon2, {
|
|
12414
12245
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12415
12246
|
});
|
|
12416
12247
|
case "error":
|
|
12417
|
-
return /* @__PURE__ */
|
|
12248
|
+
return /* @__PURE__ */ jsx57(XCircleIcon2, {
|
|
12418
12249
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12419
12250
|
});
|
|
12420
12251
|
}
|
|
@@ -12431,26 +12262,26 @@ function Toaster() {
|
|
|
12431
12262
|
return "bg-Colors-Background-Critical-Default";
|
|
12432
12263
|
}
|
|
12433
12264
|
};
|
|
12434
|
-
return /* @__PURE__ */
|
|
12265
|
+
return /* @__PURE__ */ jsxs33(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
12435
12266
|
position: toastPosition,
|
|
12436
12267
|
children: [
|
|
12437
|
-
/* @__PURE__ */
|
|
12268
|
+
/* @__PURE__ */ jsx57("div", {
|
|
12438
12269
|
className: "flex flex-col gap-3",
|
|
12439
|
-
children: /* @__PURE__ */
|
|
12270
|
+
children: /* @__PURE__ */ jsxs33("div", {
|
|
12440
12271
|
className: "flex items-start gap-3",
|
|
12441
12272
|
children: [
|
|
12442
|
-
/* @__PURE__ */
|
|
12273
|
+
/* @__PURE__ */ jsx57("div", {
|
|
12443
12274
|
className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
12444
|
-
children:
|
|
12275
|
+
children: renderIcon2(variant)
|
|
12445
12276
|
}),
|
|
12446
|
-
/* @__PURE__ */
|
|
12277
|
+
/* @__PURE__ */ jsxs33("div", {
|
|
12447
12278
|
className: "grid gap-1",
|
|
12448
12279
|
children: [
|
|
12449
|
-
title && /* @__PURE__ */
|
|
12280
|
+
title && /* @__PURE__ */ jsx57(ToastTitle, {
|
|
12450
12281
|
className: "text-base text-Colors-Text-Default",
|
|
12451
12282
|
children: title
|
|
12452
12283
|
}),
|
|
12453
|
-
description && /* @__PURE__ */
|
|
12284
|
+
description && /* @__PURE__ */ jsx57(ToastDescription, {
|
|
12454
12285
|
className: "text-sm text-Colors-Text-Subtle",
|
|
12455
12286
|
children: description
|
|
12456
12287
|
}),
|
|
@@ -12460,17 +12291,17 @@ function Toaster() {
|
|
|
12460
12291
|
]
|
|
12461
12292
|
})
|
|
12462
12293
|
}),
|
|
12463
|
-
/* @__PURE__ */
|
|
12294
|
+
/* @__PURE__ */ jsx57(ToastClose, {})
|
|
12464
12295
|
]
|
|
12465
12296
|
}), id);
|
|
12466
12297
|
};
|
|
12467
|
-
return /* @__PURE__ */
|
|
12298
|
+
return /* @__PURE__ */ jsx57(ToastProvider, {
|
|
12468
12299
|
children: Object.entries(positionGroups).map(function(param) {
|
|
12469
12300
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
12470
|
-
return /* @__PURE__ */
|
|
12301
|
+
return /* @__PURE__ */ jsxs33(React41.Fragment, {
|
|
12471
12302
|
children: [
|
|
12472
12303
|
toastsForPosition.map(renderToast),
|
|
12473
|
-
toastsForPosition.length > 0 && /* @__PURE__ */
|
|
12304
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ jsx57(ToastViewport, {
|
|
12474
12305
|
position: pos
|
|
12475
12306
|
})
|
|
12476
12307
|
]
|
|
@@ -12492,7 +12323,7 @@ import "swiper/css/pagination";
|
|
|
12492
12323
|
// src/components/swiper/index.module.scss
|
|
12493
12324
|
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== */';
|
|
12494
12325
|
// src/components/swiper/index.tsx
|
|
12495
|
-
import { jsx as
|
|
12326
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
12496
12327
|
var swiperVariants = cva21("", {
|
|
12497
12328
|
variants: {
|
|
12498
12329
|
rounded: {
|
|
@@ -12628,9 +12459,9 @@ function Swiper(props) {
|
|
|
12628
12459
|
}
|
|
12629
12460
|
}
|
|
12630
12461
|
};
|
|
12631
|
-
return /* @__PURE__ */
|
|
12462
|
+
return /* @__PURE__ */ jsx58("div", {
|
|
12632
12463
|
className: index_module_default.swiperBox,
|
|
12633
|
-
children: /* @__PURE__ */
|
|
12464
|
+
children: /* @__PURE__ */ jsx58(SwiperComponent, _object_spread_props(_object_spread({
|
|
12634
12465
|
observer: true,
|
|
12635
12466
|
observeParents: true
|
|
12636
12467
|
}, swiperConfigs), {
|
|
@@ -12640,9 +12471,9 @@ function Swiper(props) {
|
|
|
12640
12471
|
swiperRef.current = swiper;
|
|
12641
12472
|
},
|
|
12642
12473
|
children: swiperList.map(function(item, index) {
|
|
12643
|
-
return /* @__PURE__ */
|
|
12474
|
+
return /* @__PURE__ */ jsx58(SwiperSlide, {
|
|
12644
12475
|
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),
|
|
12645
|
-
children: /* @__PURE__ */
|
|
12476
|
+
children: /* @__PURE__ */ jsx58(Com, {
|
|
12646
12477
|
item: item,
|
|
12647
12478
|
index: index,
|
|
12648
12479
|
onClick: handleSlideItemClick,
|
|
@@ -12663,48 +12494,48 @@ import ExclamationCircleIcon from "@heroicons/react/24/solid/esm/ExclamationCirc
|
|
|
12663
12494
|
import InformationCircleIcon3 from "@heroicons/react/24/solid/esm/InformationCircleIcon";
|
|
12664
12495
|
import XCircleIcon3 from "@heroicons/react/24/solid/esm/XCircleIcon";
|
|
12665
12496
|
import { toast as toast2 } from "react-hot-toast";
|
|
12666
|
-
import { Fragment as
|
|
12497
|
+
import { Fragment as Fragment10, jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
12667
12498
|
function CustomNotification(param) {
|
|
12668
12499
|
var tProps = param.tProps, customProps = param.customProps;
|
|
12669
12500
|
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;
|
|
12670
12501
|
var id = tProps.id;
|
|
12671
12502
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
12672
|
-
return /* @__PURE__ */
|
|
12673
|
-
children: /* @__PURE__ */
|
|
12503
|
+
return /* @__PURE__ */ jsx59("div", {
|
|
12504
|
+
children: /* @__PURE__ */ jsx59("div", {
|
|
12674
12505
|
id: id,
|
|
12675
12506
|
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]",
|
|
12676
|
-
children: /* @__PURE__ */
|
|
12507
|
+
children: /* @__PURE__ */ jsxs34("div", {
|
|
12677
12508
|
className: "flex w-full items-center justify-center gap-2",
|
|
12678
12509
|
children: [
|
|
12679
|
-
loading && /* @__PURE__ */
|
|
12680
|
-
!loading && type && /* @__PURE__ */
|
|
12510
|
+
loading && /* @__PURE__ */ jsx59(Spinner, {}),
|
|
12511
|
+
!loading && type && /* @__PURE__ */ jsxs34("div", {
|
|
12681
12512
|
className: "flex flex-shrink-0 items-center",
|
|
12682
12513
|
children: [
|
|
12683
|
-
type === "info" && /* @__PURE__ */
|
|
12514
|
+
type === "info" && /* @__PURE__ */ jsx59(InformationCircleIcon3, {
|
|
12684
12515
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12685
12516
|
}),
|
|
12686
|
-
type === "success" && /* @__PURE__ */
|
|
12517
|
+
type === "success" && /* @__PURE__ */ jsx59(CheckCircleIcon3, {
|
|
12687
12518
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12688
12519
|
}),
|
|
12689
|
-
type === "warning" && /* @__PURE__ */
|
|
12520
|
+
type === "warning" && /* @__PURE__ */ jsx59(ExclamationCircleIcon, {
|
|
12690
12521
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12691
12522
|
}),
|
|
12692
|
-
type === "error" && /* @__PURE__ */
|
|
12523
|
+
type === "error" && /* @__PURE__ */ jsx59(XCircleIcon3, {
|
|
12693
12524
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12694
12525
|
})
|
|
12695
12526
|
]
|
|
12696
12527
|
}),
|
|
12697
|
-
/* @__PURE__ */
|
|
12528
|
+
/* @__PURE__ */ jsxs34("div", {
|
|
12698
12529
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
12699
12530
|
children: [
|
|
12700
|
-
title && /* @__PURE__ */
|
|
12531
|
+
title && /* @__PURE__ */ jsx59(Text, {
|
|
12701
12532
|
size: "sm",
|
|
12702
12533
|
weight: "regular",
|
|
12703
12534
|
color: "default",
|
|
12704
12535
|
children: title
|
|
12705
12536
|
}),
|
|
12706
|
-
/* @__PURE__ */
|
|
12707
|
-
children: /* @__PURE__ */
|
|
12537
|
+
/* @__PURE__ */ jsx59("div", {
|
|
12538
|
+
children: /* @__PURE__ */ jsx59(Text, {
|
|
12708
12539
|
size: "sm",
|
|
12709
12540
|
weight: "regular",
|
|
12710
12541
|
color: "default",
|
|
@@ -12713,16 +12544,16 @@ function CustomNotification(param) {
|
|
|
12713
12544
|
})
|
|
12714
12545
|
]
|
|
12715
12546
|
}),
|
|
12716
|
-
action && /* @__PURE__ */
|
|
12547
|
+
action && /* @__PURE__ */ jsxs34(Fragment10, {
|
|
12717
12548
|
children: [
|
|
12718
|
-
/* @__PURE__ */
|
|
12549
|
+
/* @__PURE__ */ jsx59(Separator, {
|
|
12719
12550
|
orientation: "vertical",
|
|
12720
12551
|
className: "h-3"
|
|
12721
12552
|
}),
|
|
12722
12553
|
action
|
|
12723
12554
|
]
|
|
12724
12555
|
}),
|
|
12725
|
-
isClosable && /* @__PURE__ */
|
|
12556
|
+
isClosable && /* @__PURE__ */ jsx59(IconButton, {
|
|
12726
12557
|
size: "sm",
|
|
12727
12558
|
variant: "plain",
|
|
12728
12559
|
icon: XMarkIcon4,
|
|
@@ -12739,14 +12570,14 @@ function CustomNotification(param) {
|
|
|
12739
12570
|
// src/common/hooks/useNotification.tsx
|
|
12740
12571
|
import { useCallback as useCallback5 } from "react";
|
|
12741
12572
|
import { toast as toast3 } from "react-hot-toast";
|
|
12742
|
-
import { jsx as
|
|
12573
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
12743
12574
|
function useNotification() {
|
|
12744
12575
|
var addToast = useCallback5(function(config2, duration2) {
|
|
12745
12576
|
if (config2.id) {
|
|
12746
12577
|
toast3.remove(config2.id);
|
|
12747
12578
|
}
|
|
12748
12579
|
toast3.custom(function(t) {
|
|
12749
|
-
return /* @__PURE__ */
|
|
12580
|
+
return /* @__PURE__ */ jsx60(CustomNotification, {
|
|
12750
12581
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12751
12582
|
duration: duration2
|
|
12752
12583
|
}),
|
|
@@ -12807,7 +12638,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12807
12638
|
}
|
|
12808
12639
|
var addToast = function() {
|
|
12809
12640
|
toast3.custom(function(t) {
|
|
12810
|
-
return /* @__PURE__ */
|
|
12641
|
+
return /* @__PURE__ */ jsx60(CustomNotification, {
|
|
12811
12642
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12812
12643
|
duration: duration2
|
|
12813
12644
|
}),
|
|
@@ -12863,11 +12694,11 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12863
12694
|
return Message;
|
|
12864
12695
|
}();
|
|
12865
12696
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
12866
|
-
import * as
|
|
12867
|
-
import { jsx as
|
|
12868
|
-
var ArrowLeftIcon2 =
|
|
12869
|
-
return /* @__PURE__ */
|
|
12870
|
-
children: /* @__PURE__ */
|
|
12697
|
+
import * as React42 from "react";
|
|
12698
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
12699
|
+
var ArrowLeftIcon2 = React42.forwardRef(function(props, ref) {
|
|
12700
|
+
return /* @__PURE__ */ jsx61(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12701
|
+
children: /* @__PURE__ */ jsx61("svg", {
|
|
12871
12702
|
ref: ref,
|
|
12872
12703
|
className: "w-full h-full",
|
|
12873
12704
|
viewBox: "0 0 24 24",
|
|
@@ -12875,7 +12706,7 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12875
12706
|
strokeWidth: "1.5",
|
|
12876
12707
|
stroke: "currentColor",
|
|
12877
12708
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12878
|
-
children: /* @__PURE__ */
|
|
12709
|
+
children: /* @__PURE__ */ jsx61("path", {
|
|
12879
12710
|
strokeLinecap: "round",
|
|
12880
12711
|
strokeLinejoin: "round",
|
|
12881
12712
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
@@ -12884,11 +12715,11 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12884
12715
|
}));
|
|
12885
12716
|
});
|
|
12886
12717
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
12887
|
-
import * as
|
|
12888
|
-
import { jsx as
|
|
12889
|
-
var ArrowUpTrayIcon =
|
|
12890
|
-
return /* @__PURE__ */
|
|
12891
|
-
children: /* @__PURE__ */
|
|
12718
|
+
import * as React43 from "react";
|
|
12719
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
12720
|
+
var ArrowUpTrayIcon = React43.forwardRef(function(props, ref) {
|
|
12721
|
+
return /* @__PURE__ */ jsx62(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12722
|
+
children: /* @__PURE__ */ jsx62("svg", {
|
|
12892
12723
|
ref: ref,
|
|
12893
12724
|
className: "w-full h-full",
|
|
12894
12725
|
viewBox: "0 0 24 24",
|
|
@@ -12896,7 +12727,7 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12896
12727
|
strokeWidth: "1.5",
|
|
12897
12728
|
stroke: "currentColor",
|
|
12898
12729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12899
|
-
children: /* @__PURE__ */
|
|
12730
|
+
children: /* @__PURE__ */ jsx62("path", {
|
|
12900
12731
|
strokeLinecap: "round",
|
|
12901
12732
|
strokeLinejoin: "round",
|
|
12902
12733
|
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"
|
|
@@ -12905,11 +12736,11 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12905
12736
|
}));
|
|
12906
12737
|
});
|
|
12907
12738
|
// src/components/icons/outline/WindowIcon.tsx
|
|
12908
|
-
import * as
|
|
12909
|
-
import { jsx as
|
|
12910
|
-
var WindowIcon =
|
|
12911
|
-
return /* @__PURE__ */
|
|
12912
|
-
children: /* @__PURE__ */
|
|
12739
|
+
import * as React44 from "react";
|
|
12740
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
12741
|
+
var WindowIcon = React44.forwardRef(function(props, ref) {
|
|
12742
|
+
return /* @__PURE__ */ jsx63(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12743
|
+
children: /* @__PURE__ */ jsx63("svg", {
|
|
12913
12744
|
ref: ref,
|
|
12914
12745
|
className: "w-full h-full",
|
|
12915
12746
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12917,7 +12748,7 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12917
12748
|
fill: "none",
|
|
12918
12749
|
strokeWidth: "1.5",
|
|
12919
12750
|
stroke: "currentColor",
|
|
12920
|
-
children: /* @__PURE__ */
|
|
12751
|
+
children: /* @__PURE__ */ jsx63("path", {
|
|
12921
12752
|
strokeLinecap: "round",
|
|
12922
12753
|
strokeLinejoin: "round",
|
|
12923
12754
|
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"
|
|
@@ -12926,21 +12757,21 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12926
12757
|
}));
|
|
12927
12758
|
});
|
|
12928
12759
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
12929
|
-
import * as
|
|
12930
|
-
import { jsx as
|
|
12931
|
-
var CheckCircleIcon4 =
|
|
12932
|
-
return /* @__PURE__ */
|
|
12933
|
-
children: /* @__PURE__ */
|
|
12760
|
+
import * as React45 from "react";
|
|
12761
|
+
import { jsx as jsx64, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
12762
|
+
var CheckCircleIcon4 = React45.forwardRef(function(props, ref) {
|
|
12763
|
+
return /* @__PURE__ */ jsx64(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12764
|
+
children: /* @__PURE__ */ jsxs35("svg", {
|
|
12934
12765
|
ref: ref,
|
|
12935
12766
|
className: "w-full h-full",
|
|
12936
12767
|
viewBox: "0 0 24 24",
|
|
12937
12768
|
fill: "currentColor",
|
|
12938
12769
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12939
12770
|
children: [
|
|
12940
|
-
/* @__PURE__ */
|
|
12771
|
+
/* @__PURE__ */ jsx64("path", {
|
|
12941
12772
|
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"
|
|
12942
12773
|
}),
|
|
12943
|
-
/* @__PURE__ */
|
|
12774
|
+
/* @__PURE__ */ jsx64("path", {
|
|
12944
12775
|
fillRule: "evenodd",
|
|
12945
12776
|
clipRule: "evenodd",
|
|
12946
12777
|
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"
|
|
@@ -12949,12 +12780,14 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
12949
12780
|
})
|
|
12950
12781
|
}));
|
|
12951
12782
|
});
|
|
12783
|
+
// src/components/icons/outline/FilterIcon.tsx
|
|
12784
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
12952
12785
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
12953
|
-
import * as
|
|
12954
|
-
import { jsx as
|
|
12955
|
-
var PencilSquareIcon =
|
|
12956
|
-
return /* @__PURE__ */
|
|
12957
|
-
children: /* @__PURE__ */
|
|
12786
|
+
import * as React46 from "react";
|
|
12787
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
12788
|
+
var PencilSquareIcon = React46.forwardRef(function(props, ref) {
|
|
12789
|
+
return /* @__PURE__ */ jsx66(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12790
|
+
children: /* @__PURE__ */ jsx66("svg", {
|
|
12958
12791
|
ref: ref,
|
|
12959
12792
|
className: "w-full h-full",
|
|
12960
12793
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12962,7 +12795,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12962
12795
|
viewBox: "0 0 24 24",
|
|
12963
12796
|
strokeWidth: "1.5",
|
|
12964
12797
|
stroke: "currentColor",
|
|
12965
|
-
children: /* @__PURE__ */
|
|
12798
|
+
children: /* @__PURE__ */ jsx66("path", {
|
|
12966
12799
|
strokeLinecap: "round",
|
|
12967
12800
|
strokeLinejoin: "round",
|
|
12968
12801
|
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"
|
|
@@ -12971,35 +12804,35 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12971
12804
|
}));
|
|
12972
12805
|
});
|
|
12973
12806
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
12974
|
-
import * as
|
|
12975
|
-
import { jsx as
|
|
12976
|
-
var ConfigIcon =
|
|
12977
|
-
return /* @__PURE__ */
|
|
12978
|
-
children: /* @__PURE__ */
|
|
12807
|
+
import * as React47 from "react";
|
|
12808
|
+
import { jsx as jsx67, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
12809
|
+
var ConfigIcon = React47.forwardRef(function(props, ref) {
|
|
12810
|
+
return /* @__PURE__ */ jsx67(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12811
|
+
children: /* @__PURE__ */ jsx67("svg", {
|
|
12979
12812
|
width: "18",
|
|
12980
12813
|
height: "18",
|
|
12981
12814
|
viewBox: "0 0 18 18",
|
|
12982
12815
|
fill: "none",
|
|
12983
12816
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12984
12817
|
className: "cursor-pointer",
|
|
12985
|
-
children: /* @__PURE__ */
|
|
12818
|
+
children: /* @__PURE__ */ jsx67("g", {
|
|
12986
12819
|
id: "wrapper",
|
|
12987
|
-
children: /* @__PURE__ */
|
|
12820
|
+
children: /* @__PURE__ */ jsxs36("g", {
|
|
12988
12821
|
id: "Union",
|
|
12989
12822
|
children: [
|
|
12990
|
-
/* @__PURE__ */
|
|
12823
|
+
/* @__PURE__ */ jsx67("path", {
|
|
12991
12824
|
fillRule: "evenodd",
|
|
12992
12825
|
clipRule: "evenodd",
|
|
12993
12826
|
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",
|
|
12994
12827
|
fill: "#6D7175"
|
|
12995
12828
|
}),
|
|
12996
|
-
/* @__PURE__ */
|
|
12829
|
+
/* @__PURE__ */ jsx67("path", {
|
|
12997
12830
|
fillRule: "evenodd",
|
|
12998
12831
|
clipRule: "evenodd",
|
|
12999
12832
|
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",
|
|
13000
12833
|
fill: "#6D7175"
|
|
13001
12834
|
}),
|
|
13002
|
-
/* @__PURE__ */
|
|
12835
|
+
/* @__PURE__ */ jsx67("path", {
|
|
13003
12836
|
fillRule: "evenodd",
|
|
13004
12837
|
clipRule: "evenodd",
|
|
13005
12838
|
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",
|
|
@@ -13012,38 +12845,38 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
13012
12845
|
}));
|
|
13013
12846
|
});
|
|
13014
12847
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
13015
|
-
import * as
|
|
13016
|
-
import { jsx as
|
|
13017
|
-
var CaretDownIcon =
|
|
13018
|
-
return /* @__PURE__ */
|
|
13019
|
-
children: /* @__PURE__ */
|
|
12848
|
+
import * as React48 from "react";
|
|
12849
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
12850
|
+
var CaretDownIcon = React48.forwardRef(function(props, ref) {
|
|
12851
|
+
return /* @__PURE__ */ jsx68(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12852
|
+
children: /* @__PURE__ */ jsx68("svg", {
|
|
13020
12853
|
ref: ref,
|
|
13021
12854
|
className: "w-full h-full",
|
|
13022
12855
|
viewBox: "0 0 24 24",
|
|
13023
12856
|
fill: "currentColor",
|
|
13024
12857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13025
|
-
children: /* @__PURE__ */
|
|
12858
|
+
children: /* @__PURE__ */ jsx68("path", {
|
|
13026
12859
|
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"
|
|
13027
12860
|
})
|
|
13028
12861
|
})
|
|
13029
12862
|
}));
|
|
13030
12863
|
});
|
|
13031
12864
|
// src/components/icons/solid/CodeIcon.tsx
|
|
13032
|
-
import * as
|
|
13033
|
-
import { jsx as
|
|
13034
|
-
var CodeIcon =
|
|
13035
|
-
return /* @__PURE__ */
|
|
13036
|
-
children: /* @__PURE__ */
|
|
12865
|
+
import * as React49 from "react";
|
|
12866
|
+
import { jsx as jsx69, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
12867
|
+
var CodeIcon = React49.forwardRef(function(props, ref) {
|
|
12868
|
+
return /* @__PURE__ */ jsx69(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12869
|
+
children: /* @__PURE__ */ jsxs37("svg", {
|
|
13037
12870
|
ref: ref,
|
|
13038
12871
|
className: "w-full h-full",
|
|
13039
12872
|
viewBox: "0 0 24 24",
|
|
13040
12873
|
fill: "currentColor",
|
|
13041
12874
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13042
12875
|
children: [
|
|
13043
|
-
/* @__PURE__ */
|
|
12876
|
+
/* @__PURE__ */ jsx69("path", {
|
|
13044
12877
|
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"
|
|
13045
12878
|
}),
|
|
13046
|
-
/* @__PURE__ */
|
|
12879
|
+
/* @__PURE__ */ jsx69("path", {
|
|
13047
12880
|
fillRule: "evenodd",
|
|
13048
12881
|
clipRule: "evenodd",
|
|
13049
12882
|
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"
|
|
@@ -13053,17 +12886,17 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13053
12886
|
}));
|
|
13054
12887
|
});
|
|
13055
12888
|
// src/components/icons/solid/DragIcon.tsx
|
|
13056
|
-
import * as
|
|
13057
|
-
import { jsx as
|
|
13058
|
-
var DragIcon =
|
|
13059
|
-
return /* @__PURE__ */
|
|
13060
|
-
children: /* @__PURE__ */
|
|
12889
|
+
import * as React50 from "react";
|
|
12890
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
12891
|
+
var DragIcon = React50.forwardRef(function(props, ref) {
|
|
12892
|
+
return /* @__PURE__ */ jsx70(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12893
|
+
children: /* @__PURE__ */ jsx70("svg", {
|
|
13061
12894
|
ref: ref,
|
|
13062
12895
|
className: "w-full h-full",
|
|
13063
12896
|
viewBox: "0 0 24 24",
|
|
13064
12897
|
fill: "currentColor",
|
|
13065
12898
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13066
|
-
children: /* @__PURE__ */
|
|
12899
|
+
children: /* @__PURE__ */ jsx70("path", {
|
|
13067
12900
|
fillRule: "evenodd",
|
|
13068
12901
|
clipRule: "evenodd",
|
|
13069
12902
|
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"
|
|
@@ -13072,22 +12905,22 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13072
12905
|
}));
|
|
13073
12906
|
});
|
|
13074
12907
|
// src/components/icons/solid/PhoneIcon.tsx
|
|
13075
|
-
import * as
|
|
13076
|
-
import { jsx as
|
|
13077
|
-
var PhoneIcon =
|
|
13078
|
-
return /* @__PURE__ */
|
|
13079
|
-
children: /* @__PURE__ */
|
|
12908
|
+
import * as React51 from "react";
|
|
12909
|
+
import { jsx as jsx71, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
12910
|
+
var PhoneIcon = React51.forwardRef(function(props, ref) {
|
|
12911
|
+
return /* @__PURE__ */ jsx71(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12912
|
+
children: /* @__PURE__ */ jsxs38("svg", {
|
|
13080
12913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13081
12914
|
width: "20",
|
|
13082
12915
|
height: "20",
|
|
13083
12916
|
viewBox: "0 0 20 20",
|
|
13084
12917
|
fill: "none",
|
|
13085
12918
|
children: [
|
|
13086
|
-
/* @__PURE__ */
|
|
12919
|
+
/* @__PURE__ */ jsx71("path", {
|
|
13087
12920
|
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",
|
|
13088
12921
|
fill: "#3E5CFA"
|
|
13089
12922
|
}),
|
|
13090
|
-
/* @__PURE__ */
|
|
12923
|
+
/* @__PURE__ */ jsx71("path", {
|
|
13091
12924
|
fillRule: "evenodd",
|
|
13092
12925
|
clipRule: "evenodd",
|
|
13093
12926
|
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",
|
|
@@ -13098,17 +12931,17 @@ var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
|
13098
12931
|
}));
|
|
13099
12932
|
});
|
|
13100
12933
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13101
|
-
import * as
|
|
13102
|
-
import { jsx as
|
|
13103
|
-
var RectangleGroupIcon =
|
|
13104
|
-
return /* @__PURE__ */
|
|
13105
|
-
children: /* @__PURE__ */
|
|
12934
|
+
import * as React52 from "react";
|
|
12935
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
12936
|
+
var RectangleGroupIcon = React52.forwardRef(function(props, ref) {
|
|
12937
|
+
return /* @__PURE__ */ jsx72(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12938
|
+
children: /* @__PURE__ */ jsx72("svg", {
|
|
13106
12939
|
ref: ref,
|
|
13107
12940
|
className: "w-full h-full",
|
|
13108
12941
|
viewBox: "0 0 24 24",
|
|
13109
12942
|
fill: "currentColor",
|
|
13110
12943
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13111
|
-
children: /* @__PURE__ */
|
|
12944
|
+
children: /* @__PURE__ */ jsx72("path", {
|
|
13112
12945
|
fillRule: "evenodd",
|
|
13113
12946
|
clipRule: "evenodd",
|
|
13114
12947
|
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"
|
|
@@ -13116,7 +12949,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13116
12949
|
})
|
|
13117
12950
|
}));
|
|
13118
12951
|
});
|
|
13119
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon2 as ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle,
|
|
12952
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon2 as ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
|
|
13120
12953
|
|
|
13121
12954
|
decimal.js/decimal.mjs:
|
|
13122
12955
|
(*!
|