myshell-react-lib 0.1.34 → 0.1.36
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 +367 -555
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -53
- package/dist/index.d.ts +21 -53
- package/dist/index.js +361 -549
- package/dist/index.js.map +1 -1
- package/dist/styles/components-dark.scss +2 -2
- package/dist/styles/components-light.scss +2 -2
- 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 searchElement = param.searchElement, 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, 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,150 +10759,91 @@ 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 && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && /* @__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
|
-
}) :
|
|
10819
|
+
}) : null
|
|
10820
|
+
}),
|
|
10821
|
+
/* @__PURE__ */ jsx43("div", {
|
|
10822
|
+
className: "flex-1 flex justify-end items-center",
|
|
10823
|
+
children: /* @__PURE__ */ jsxs24("div", {
|
|
10824
|
+
className: "flex items-center space-x-3",
|
|
10978
10825
|
children: [
|
|
10979
|
-
|
|
10980
|
-
|
|
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", {
|
|
11000
|
-
className: "relative w-full md:w-60",
|
|
11001
|
-
children: /* @__PURE__ */ jsx45(SearchBar, {
|
|
11002
|
-
color: "gray",
|
|
11003
|
-
size: "xs",
|
|
11004
|
-
searchValue: searchValue,
|
|
11005
|
-
placeholder: searchPlaceholder || "Search",
|
|
11006
|
-
onSearchChange: function(value1) {
|
|
11007
|
-
onSearchChange && onSearchChange(value1);
|
|
11008
|
-
}
|
|
11009
|
-
})
|
|
11010
|
-
}),
|
|
11011
|
-
showClear && isMobile2 && /* @__PURE__ */ jsx45(IconButton, {
|
|
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
|
-
})
|
|
10826
|
+
searchElement && (!isMobile2 && pageType === 1 || pageType === 2) && searchElement,
|
|
10827
|
+
children
|
|
11022
10828
|
]
|
|
11023
10829
|
})
|
|
11024
10830
|
})
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
10831
|
+
]
|
|
10832
|
+
}),
|
|
10833
|
+
searchElement && pageType === 1 && isMobile2 && /* @__PURE__ */ jsx43("div", {
|
|
10834
|
+
className: "relative w-full h-13 py-2",
|
|
10835
|
+
children: searchElement
|
|
10836
|
+
})
|
|
10837
|
+
]
|
|
11028
10838
|
});
|
|
11029
10839
|
}
|
|
11030
10840
|
// src/components/select.tsx
|
|
11031
10841
|
import { CheckIcon as CheckIcon2 } from "@heroicons/react/24/outline";
|
|
11032
10842
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
11033
10843
|
import { ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
|
|
11034
|
-
import * as
|
|
11035
|
-
import { Fragment as
|
|
11036
|
-
var Select =
|
|
10844
|
+
import * as React31 from "react";
|
|
10845
|
+
import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
10846
|
+
var Select = React31.forwardRef(function(_param, ref) {
|
|
11037
10847
|
var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
|
|
11038
10848
|
"children",
|
|
11039
10849
|
"placeholder",
|
|
@@ -11044,26 +10854,26 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11044
10854
|
var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
|
|
11045
10855
|
return item.value === props.value;
|
|
11046
10856
|
})) === null || _options_find === void 0 ? void 0 : _options_find.icon;
|
|
11047
|
-
return /* @__PURE__ */
|
|
11048
|
-
children: Array.isArray(options) && options.length ? /* @__PURE__ */
|
|
10857
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
|
|
10858
|
+
children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs25(Fragment8, {
|
|
11049
10859
|
children: [
|
|
11050
|
-
/* @__PURE__ */
|
|
10860
|
+
/* @__PURE__ */ jsx44(SelectTrigger, {
|
|
11051
10861
|
className: cn(triggerClassName),
|
|
11052
|
-
children: /* @__PURE__ */
|
|
10862
|
+
children: /* @__PURE__ */ jsxs25("div", {
|
|
11053
10863
|
className: "flex items-center",
|
|
11054
10864
|
children: [
|
|
11055
|
-
/* @__PURE__ */
|
|
10865
|
+
/* @__PURE__ */ jsx44(SelectIcon, {
|
|
11056
10866
|
icon: icon
|
|
11057
10867
|
}),
|
|
11058
|
-
/* @__PURE__ */
|
|
10868
|
+
/* @__PURE__ */ jsx44(SelectValue, {
|
|
11059
10869
|
placeholder: placeholder
|
|
11060
10870
|
})
|
|
11061
10871
|
]
|
|
11062
10872
|
})
|
|
11063
10873
|
}),
|
|
11064
|
-
/* @__PURE__ */
|
|
10874
|
+
/* @__PURE__ */ jsx44(SelectContent, {
|
|
11065
10875
|
children: options.map(function(item, i) {
|
|
11066
|
-
return /* @__PURE__ */
|
|
10876
|
+
return /* @__PURE__ */ jsx44(SelectItem, _object_spread_props(_object_spread({}, item), {
|
|
11067
10877
|
children: item.label
|
|
11068
10878
|
}), "".concat(item.value, "_").concat(i));
|
|
11069
10879
|
})
|
|
@@ -11074,20 +10884,20 @@ var Select = React32.forwardRef(function(_param, ref) {
|
|
|
11074
10884
|
});
|
|
11075
10885
|
var SelectGroup = SelectPrimitive.Group;
|
|
11076
10886
|
var SelectValue = SelectPrimitive.Value;
|
|
11077
|
-
var SelectTrigger =
|
|
10887
|
+
var SelectTrigger = React31.forwardRef(function(_param, ref) {
|
|
11078
10888
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
11079
10889
|
"className",
|
|
11080
10890
|
"children"
|
|
11081
10891
|
]);
|
|
11082
|
-
return /* @__PURE__ */
|
|
10892
|
+
return /* @__PURE__ */ jsxs25(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11083
10893
|
ref: ref,
|
|
11084
10894
|
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
10895
|
}, props), {
|
|
11086
10896
|
children: [
|
|
11087
10897
|
children,
|
|
11088
|
-
/* @__PURE__ */
|
|
10898
|
+
/* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
|
|
11089
10899
|
asChild: true,
|
|
11090
|
-
children: /* @__PURE__ */
|
|
10900
|
+
children: /* @__PURE__ */ jsx44(ChevronDown2, {
|
|
11091
10901
|
className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
|
|
11092
10902
|
})
|
|
11093
10903
|
})
|
|
@@ -11095,47 +10905,47 @@ var SelectTrigger = React32.forwardRef(function(_param, ref) {
|
|
|
11095
10905
|
}));
|
|
11096
10906
|
});
|
|
11097
10907
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
11098
|
-
var SelectScrollUpButton =
|
|
10908
|
+
var SelectScrollUpButton = React31.forwardRef(function(_param, ref) {
|
|
11099
10909
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11100
10910
|
"className"
|
|
11101
10911
|
]);
|
|
11102
|
-
return /* @__PURE__ */
|
|
10912
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
|
|
11103
10913
|
ref: ref,
|
|
11104
10914
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11105
10915
|
}, props), {
|
|
11106
|
-
children: /* @__PURE__ */
|
|
10916
|
+
children: /* @__PURE__ */ jsx44(ChevronUp, {
|
|
11107
10917
|
className: "h-4 w-4"
|
|
11108
10918
|
})
|
|
11109
10919
|
}));
|
|
11110
10920
|
});
|
|
11111
10921
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
11112
|
-
var SelectScrollDownButton =
|
|
10922
|
+
var SelectScrollDownButton = React31.forwardRef(function(_param, ref) {
|
|
11113
10923
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11114
10924
|
"className"
|
|
11115
10925
|
]);
|
|
11116
|
-
return /* @__PURE__ */
|
|
10926
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
|
|
11117
10927
|
ref: ref,
|
|
11118
10928
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11119
10929
|
}, props), {
|
|
11120
|
-
children: /* @__PURE__ */
|
|
10930
|
+
children: /* @__PURE__ */ jsx44(ChevronDown2, {
|
|
11121
10931
|
className: "h-4 w-4"
|
|
11122
10932
|
})
|
|
11123
10933
|
}));
|
|
11124
10934
|
});
|
|
11125
10935
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
11126
|
-
var SelectContent =
|
|
10936
|
+
var SelectContent = React31.forwardRef(function(_param, ref) {
|
|
11127
10937
|
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
10938
|
"className",
|
|
11129
10939
|
"children",
|
|
11130
10940
|
"position"
|
|
11131
10941
|
]);
|
|
11132
|
-
return /* @__PURE__ */
|
|
11133
|
-
children: /* @__PURE__ */
|
|
10942
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Portal, {
|
|
10943
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11134
10944
|
ref: ref,
|
|
11135
10945
|
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
10946
|
position: position
|
|
11137
10947
|
}, props), {
|
|
11138
|
-
children: /* @__PURE__ */
|
|
10948
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.Viewport, {
|
|
11139
10949
|
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
10950
|
children: children
|
|
11141
10951
|
})
|
|
@@ -11143,11 +10953,11 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
11143
10953
|
});
|
|
11144
10954
|
});
|
|
11145
10955
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
11146
|
-
var SelectLabel =
|
|
10956
|
+
var SelectLabel = React31.forwardRef(function(_param, ref) {
|
|
11147
10957
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11148
10958
|
"className"
|
|
11149
10959
|
]);
|
|
11150
|
-
return /* @__PURE__ */
|
|
10960
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Label, _object_spread({
|
|
11151
10961
|
ref: ref,
|
|
11152
10962
|
className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
|
|
11153
10963
|
}, props));
|
|
@@ -11158,55 +10968,55 @@ function SelectIcon(props) {
|
|
|
11158
10968
|
if (!icon) {
|
|
11159
10969
|
return null;
|
|
11160
10970
|
}
|
|
11161
|
-
return /* @__PURE__ */
|
|
10971
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
|
|
11162
10972
|
children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
|
|
11163
|
-
/* @__PURE__ */
|
|
10973
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11164
10974
|
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
10975
|
style: {
|
|
11166
10976
|
backgroundImage: "url('".concat(icon, "')")
|
|
11167
10977
|
}
|
|
11168
|
-
}) :
|
|
11169
|
-
/* @__PURE__ */
|
|
10978
|
+
}) : React31.isValidElement(icon) ? // 如果是React元素,直接渲染
|
|
10979
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11170
10980
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11171
10981
|
children: icon
|
|
11172
10982
|
}) : // 如果是组件类型,创建元素
|
|
11173
|
-
/* @__PURE__ */
|
|
10983
|
+
/* @__PURE__ */ jsx44("div", {
|
|
11174
10984
|
className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
|
|
11175
|
-
children:
|
|
10985
|
+
children: React31.createElement(icon, {
|
|
11176
10986
|
className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
|
|
11177
10987
|
})
|
|
11178
10988
|
})
|
|
11179
10989
|
});
|
|
11180
10990
|
}
|
|
11181
10991
|
SelectIcon.displayName = SelectPrimitive.Icon.displayName;
|
|
11182
|
-
var SelectItem =
|
|
10992
|
+
var SelectItem = React31.forwardRef(function(_param, ref) {
|
|
11183
10993
|
var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
|
|
11184
10994
|
"className",
|
|
11185
10995
|
"children",
|
|
11186
10996
|
"icon",
|
|
11187
10997
|
"critical"
|
|
11188
10998
|
]);
|
|
11189
|
-
return /* @__PURE__ */
|
|
10999
|
+
return /* @__PURE__ */ jsxs25(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11190
11000
|
ref: ref,
|
|
11191
11001
|
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
11002
|
}, props), {
|
|
11193
11003
|
children: [
|
|
11194
|
-
/* @__PURE__ */
|
|
11004
|
+
/* @__PURE__ */ jsxs25("span", {
|
|
11195
11005
|
className: "flex items-center grow",
|
|
11196
11006
|
children: [
|
|
11197
|
-
/* @__PURE__ */
|
|
11007
|
+
/* @__PURE__ */ jsx44(SelectIcon, {
|
|
11198
11008
|
icon: icon,
|
|
11199
11009
|
critical: critical
|
|
11200
11010
|
}),
|
|
11201
|
-
/* @__PURE__ */
|
|
11011
|
+
/* @__PURE__ */ jsx44(SelectPrimitive.ItemText, {
|
|
11202
11012
|
children: children
|
|
11203
11013
|
})
|
|
11204
11014
|
]
|
|
11205
11015
|
}),
|
|
11206
|
-
/* @__PURE__ */
|
|
11016
|
+
/* @__PURE__ */ jsx44("span", {
|
|
11207
11017
|
className: "flex h-4 w-4 items-center justify-center",
|
|
11208
|
-
children: /* @__PURE__ */
|
|
11209
|
-
children: /* @__PURE__ */
|
|
11018
|
+
children: /* @__PURE__ */ jsx44(SelectPrimitive.ItemIndicator, {
|
|
11019
|
+
children: /* @__PURE__ */ jsx44(CheckIcon2, {
|
|
11210
11020
|
className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
|
|
11211
11021
|
})
|
|
11212
11022
|
})
|
|
@@ -11215,11 +11025,11 @@ var SelectItem = React32.forwardRef(function(_param, ref) {
|
|
|
11215
11025
|
}));
|
|
11216
11026
|
});
|
|
11217
11027
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
11218
|
-
var SelectSeparator =
|
|
11028
|
+
var SelectSeparator = React31.forwardRef(function(_param, ref) {
|
|
11219
11029
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11220
11030
|
"className"
|
|
11221
11031
|
]);
|
|
11222
|
-
return /* @__PURE__ */
|
|
11032
|
+
return /* @__PURE__ */ jsx44(SelectPrimitive.Separator, _object_spread({
|
|
11223
11033
|
ref: ref,
|
|
11224
11034
|
className: cn("-mx-1 my-1 h-px bg-border-default", className)
|
|
11225
11035
|
}, props));
|
|
@@ -11229,17 +11039,17 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
11229
11039
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
11230
11040
|
import { cva as cva14 } from "class-variance-authority";
|
|
11231
11041
|
import { X as X2 } from "lucide-react";
|
|
11232
|
-
import * as
|
|
11233
|
-
import { jsx as
|
|
11042
|
+
import * as React32 from "react";
|
|
11043
|
+
import { jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
11234
11044
|
var Sheet = SheetPrimitive.Root;
|
|
11235
11045
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
11236
11046
|
var SheetClose = SheetPrimitive.Close;
|
|
11237
11047
|
var SheetPortal = SheetPrimitive.Portal;
|
|
11238
|
-
var SheetOverlay =
|
|
11048
|
+
var SheetOverlay = React32.forwardRef(function(_param, ref) {
|
|
11239
11049
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11240
11050
|
"className"
|
|
11241
11051
|
]);
|
|
11242
|
-
return /* @__PURE__ */
|
|
11052
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
|
|
11243
11053
|
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
11054
|
}, props), {
|
|
11245
11055
|
ref: ref
|
|
@@ -11259,16 +11069,16 @@ var sheetVariants = cva14("fixed z-50 gap-4 bg-white p-6 shadow-lg transition ea
|
|
|
11259
11069
|
side: "right"
|
|
11260
11070
|
}
|
|
11261
11071
|
});
|
|
11262
|
-
var SheetContent =
|
|
11072
|
+
var SheetContent = React32.forwardRef(function(_param, ref) {
|
|
11263
11073
|
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
11074
|
"side",
|
|
11265
11075
|
"className",
|
|
11266
11076
|
"children"
|
|
11267
11077
|
]);
|
|
11268
|
-
return /* @__PURE__ */
|
|
11078
|
+
return /* @__PURE__ */ jsxs26(SheetPortal, {
|
|
11269
11079
|
children: [
|
|
11270
|
-
/* @__PURE__ */
|
|
11271
|
-
/* @__PURE__ */
|
|
11080
|
+
/* @__PURE__ */ jsx45(SheetOverlay, {}),
|
|
11081
|
+
/* @__PURE__ */ jsxs26(SheetPrimitive.Content, _object_spread_props(_object_spread({
|
|
11272
11082
|
ref: ref,
|
|
11273
11083
|
className: cn(sheetVariants({
|
|
11274
11084
|
side: side
|
|
@@ -11276,13 +11086,13 @@ var SheetContent = React33.forwardRef(function(_param, ref) {
|
|
|
11276
11086
|
}, props), {
|
|
11277
11087
|
children: [
|
|
11278
11088
|
children,
|
|
11279
|
-
/* @__PURE__ */
|
|
11089
|
+
/* @__PURE__ */ jsxs26(SheetPrimitive.Close, {
|
|
11280
11090
|
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
11091
|
children: [
|
|
11282
|
-
/* @__PURE__ */
|
|
11092
|
+
/* @__PURE__ */ jsx45(X2, {
|
|
11283
11093
|
className: "h-4 w-4"
|
|
11284
11094
|
}),
|
|
11285
|
-
/* @__PURE__ */
|
|
11095
|
+
/* @__PURE__ */ jsx45("span", {
|
|
11286
11096
|
className: "sr-only",
|
|
11287
11097
|
children: "Close"
|
|
11288
11098
|
})
|
|
@@ -11298,7 +11108,7 @@ var SheetHeader = function(_param) {
|
|
|
11298
11108
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11299
11109
|
"className"
|
|
11300
11110
|
]);
|
|
11301
|
-
return /* @__PURE__ */
|
|
11111
|
+
return /* @__PURE__ */ jsx45("div", _object_spread({
|
|
11302
11112
|
className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
|
|
11303
11113
|
}, props));
|
|
11304
11114
|
};
|
|
@@ -11307,65 +11117,65 @@ var SheetFooter = function(_param) {
|
|
|
11307
11117
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11308
11118
|
"className"
|
|
11309
11119
|
]);
|
|
11310
|
-
return /* @__PURE__ */
|
|
11120
|
+
return /* @__PURE__ */ jsx45("div", _object_spread({
|
|
11311
11121
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
|
|
11312
11122
|
}, props));
|
|
11313
11123
|
};
|
|
11314
11124
|
SheetFooter.displayName = "SheetFooter";
|
|
11315
|
-
var SheetTitle =
|
|
11125
|
+
var SheetTitle = React32.forwardRef(function(_param, ref) {
|
|
11316
11126
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11317
11127
|
"className"
|
|
11318
11128
|
]);
|
|
11319
|
-
return /* @__PURE__ */
|
|
11129
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Title, _object_spread({
|
|
11320
11130
|
ref: ref,
|
|
11321
11131
|
className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
|
|
11322
11132
|
}, props));
|
|
11323
11133
|
});
|
|
11324
11134
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
11325
|
-
var SheetDescription =
|
|
11135
|
+
var SheetDescription = React32.forwardRef(function(_param, ref) {
|
|
11326
11136
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11327
11137
|
"className"
|
|
11328
11138
|
]);
|
|
11329
|
-
return /* @__PURE__ */
|
|
11139
|
+
return /* @__PURE__ */ jsx45(SheetPrimitive.Description, _object_spread({
|
|
11330
11140
|
ref: ref,
|
|
11331
11141
|
className: cn("text-sm text-slate-500 dark:text-slate-400", className)
|
|
11332
11142
|
}, props));
|
|
11333
11143
|
});
|
|
11334
11144
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
11335
11145
|
// src/components/skeleton.tsx
|
|
11336
|
-
import { jsx as
|
|
11146
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
11337
11147
|
function Skeleton(_param) {
|
|
11338
11148
|
var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
|
|
11339
11149
|
"className",
|
|
11340
11150
|
"animate"
|
|
11341
11151
|
]);
|
|
11342
|
-
return /* @__PURE__ */
|
|
11152
|
+
return /* @__PURE__ */ jsx46("div", _object_spread({
|
|
11343
11153
|
className: cn("rounded-sm bg-Colors-Background-Normal-Secondary-Default", className, animate && "animate-pulse")
|
|
11344
11154
|
}, props));
|
|
11345
11155
|
}
|
|
11346
11156
|
// src/components/slider.tsx
|
|
11347
11157
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
11348
|
-
import * as
|
|
11349
|
-
import { jsx as
|
|
11350
|
-
var Slider =
|
|
11158
|
+
import * as React33 from "react";
|
|
11159
|
+
import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11160
|
+
var Slider = React33.forwardRef(function(_param, ref) {
|
|
11351
11161
|
var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
|
|
11352
11162
|
"className",
|
|
11353
11163
|
"size"
|
|
11354
11164
|
]);
|
|
11355
|
-
return /* @__PURE__ */
|
|
11165
|
+
return /* @__PURE__ */ jsx47("div", {
|
|
11356
11166
|
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__ */
|
|
11167
|
+
children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
11358
11168
|
ref: ref,
|
|
11359
11169
|
className: cn("relative flex w-full touch-none select-none items-center", className)
|
|
11360
11170
|
}, props), {
|
|
11361
11171
|
children: [
|
|
11362
|
-
/* @__PURE__ */
|
|
11172
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Track, {
|
|
11363
11173
|
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__ */
|
|
11174
|
+
children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
|
|
11365
11175
|
className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
|
|
11366
11176
|
})
|
|
11367
11177
|
}),
|
|
11368
|
-
/* @__PURE__ */
|
|
11178
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
|
|
11369
11179
|
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
11180
|
})
|
|
11371
11181
|
]
|
|
@@ -11373,7 +11183,7 @@ var Slider = React34.forwardRef(function(_param, ref) {
|
|
|
11373
11183
|
});
|
|
11374
11184
|
});
|
|
11375
11185
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
11376
|
-
var SliderSingle =
|
|
11186
|
+
var SliderSingle = React33.forwardRef(function(_param, ref) {
|
|
11377
11187
|
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
11188
|
"className",
|
|
11379
11189
|
"containerClassName",
|
|
@@ -11387,12 +11197,12 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11387
11197
|
"onValueCommit",
|
|
11388
11198
|
"settable"
|
|
11389
11199
|
]);
|
|
11390
|
-
return /* @__PURE__ */
|
|
11200
|
+
return /* @__PURE__ */ jsxs27("div", {
|
|
11391
11201
|
className: "flex w-full items-center space-x-1.5",
|
|
11392
11202
|
children: [
|
|
11393
|
-
/* @__PURE__ */
|
|
11203
|
+
/* @__PURE__ */ jsx47("div", {
|
|
11394
11204
|
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__ */
|
|
11205
|
+
children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
|
|
11396
11206
|
ref: ref,
|
|
11397
11207
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
11398
11208
|
value: typeof value1 === "number" ? [
|
|
@@ -11409,21 +11219,21 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11409
11219
|
}
|
|
11410
11220
|
}, props), {
|
|
11411
11221
|
children: [
|
|
11412
|
-
/* @__PURE__ */
|
|
11222
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Track, {
|
|
11413
11223
|
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__ */
|
|
11224
|
+
children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
|
|
11415
11225
|
className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
|
|
11416
11226
|
})
|
|
11417
11227
|
}),
|
|
11418
|
-
/* @__PURE__ */
|
|
11228
|
+
/* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
|
|
11419
11229
|
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
11230
|
})
|
|
11421
11231
|
]
|
|
11422
11232
|
}))
|
|
11423
11233
|
}),
|
|
11424
|
-
settable && /* @__PURE__ */
|
|
11234
|
+
settable && /* @__PURE__ */ jsx47("div", {
|
|
11425
11235
|
className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-md",
|
|
11426
|
-
children: /* @__PURE__ */
|
|
11236
|
+
children: /* @__PURE__ */ jsx47(NumberInput, {
|
|
11427
11237
|
value: value1,
|
|
11428
11238
|
min: props === null || props === void 0 ? void 0 : props.min,
|
|
11429
11239
|
max: props === null || props === void 0 ? void 0 : props.max,
|
|
@@ -11441,8 +11251,8 @@ var SliderSingle = React34.forwardRef(function(_param, ref) {
|
|
|
11441
11251
|
SliderSingle.displayName = "SliderSingle";
|
|
11442
11252
|
// src/components/spinner.tsx
|
|
11443
11253
|
import { cva as cva15 } from "class-variance-authority";
|
|
11444
|
-
import { Loader2 as
|
|
11445
|
-
import { jsx as
|
|
11254
|
+
import { Loader2 as Loader23 } from "lucide-react";
|
|
11255
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
11446
11256
|
var spinnerVariants = cva15("animate-spin", {
|
|
11447
11257
|
variants: {
|
|
11448
11258
|
size: {
|
|
@@ -11474,7 +11284,7 @@ var spinnerVariants = cva15("animate-spin", {
|
|
|
11474
11284
|
});
|
|
11475
11285
|
function Spinner(props) {
|
|
11476
11286
|
var size = props.size, speed = props.speed, color = props.color, className = props.className;
|
|
11477
|
-
return /* @__PURE__ */
|
|
11287
|
+
return /* @__PURE__ */ jsx48(Loader23, {
|
|
11478
11288
|
className: cn(spinnerVariants({
|
|
11479
11289
|
size: size,
|
|
11480
11290
|
speed: speed,
|
|
@@ -11485,8 +11295,8 @@ function Spinner(props) {
|
|
|
11485
11295
|
// src/components/switch.tsx
|
|
11486
11296
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
11487
11297
|
import { cva as cva16 } from "class-variance-authority";
|
|
11488
|
-
import * as
|
|
11489
|
-
import { jsx as
|
|
11298
|
+
import * as React34 from "react";
|
|
11299
|
+
import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11490
11300
|
var switchSize = {
|
|
11491
11301
|
sm: "w-7 h-4",
|
|
11492
11302
|
md: "w-[34px] h-5",
|
|
@@ -11568,7 +11378,7 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
|
|
|
11568
11378
|
}
|
|
11569
11379
|
}
|
|
11570
11380
|
});
|
|
11571
|
-
var Switch =
|
|
11381
|
+
var Switch = React34.forwardRef(function(_param, ref) {
|
|
11572
11382
|
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
11383
|
"className",
|
|
11574
11384
|
"size",
|
|
@@ -11577,23 +11387,23 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
11577
11387
|
"vertical",
|
|
11578
11388
|
"icon"
|
|
11579
11389
|
]);
|
|
11580
|
-
var Component = label ? "div" :
|
|
11581
|
-
return /* @__PURE__ */
|
|
11390
|
+
var Component = label ? "div" : React34.Fragment;
|
|
11391
|
+
return /* @__PURE__ */ jsxs28(Component, {
|
|
11582
11392
|
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
11393
|
children: [
|
|
11584
|
-
/* @__PURE__ */
|
|
11394
|
+
/* @__PURE__ */ jsx49(SwitchPrimitives.Root, _object_spread_props(_object_spread({
|
|
11585
11395
|
className: cn(switchRootVariants({
|
|
11586
11396
|
size: size,
|
|
11587
11397
|
vertical: vertical
|
|
11588
11398
|
}), className, vertical && "flex-col")
|
|
11589
11399
|
}, props), {
|
|
11590
11400
|
ref: ref,
|
|
11591
|
-
children: /* @__PURE__ */
|
|
11401
|
+
children: /* @__PURE__ */ jsx49(SwitchPrimitives.Thumb, {
|
|
11592
11402
|
className: cn(switchThumbVariants({
|
|
11593
11403
|
size: size,
|
|
11594
11404
|
vertical: vertical
|
|
11595
11405
|
}), "flex items-center justify-center"),
|
|
11596
|
-
children: icon && /* @__PURE__ */
|
|
11406
|
+
children: icon && /* @__PURE__ */ jsx49(Icon, {
|
|
11597
11407
|
component: icon,
|
|
11598
11408
|
className: switchThumbIconVariants({
|
|
11599
11409
|
size: size
|
|
@@ -11601,7 +11411,7 @@ var Switch = React35.forwardRef(function(_param, ref) {
|
|
|
11601
11411
|
})
|
|
11602
11412
|
})
|
|
11603
11413
|
})),
|
|
11604
|
-
label && /* @__PURE__ */
|
|
11414
|
+
label && /* @__PURE__ */ jsx49("span", {
|
|
11605
11415
|
className: cn("text-sm", labelClassName),
|
|
11606
11416
|
children: label
|
|
11607
11417
|
})
|
|
@@ -11612,8 +11422,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
11612
11422
|
// src/components/tabs.tsx
|
|
11613
11423
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
11614
11424
|
import { cva as cva17 } from "class-variance-authority";
|
|
11615
|
-
import * as
|
|
11616
|
-
import { jsx as
|
|
11425
|
+
import * as React35 from "react";
|
|
11426
|
+
import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
11617
11427
|
var TabsRoot = TabsPrimitive.Tabs;
|
|
11618
11428
|
var TabsList = TabsPrimitive.List;
|
|
11619
11429
|
var TabsTrigger = TabsPrimitive.Trigger;
|
|
@@ -11762,7 +11572,7 @@ var tabVariants = cva17("relative inline-flex h-full items-center overflow-hidde
|
|
|
11762
11572
|
rounded: "default"
|
|
11763
11573
|
}
|
|
11764
11574
|
});
|
|
11765
|
-
var Tabs2 =
|
|
11575
|
+
var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
11766
11576
|
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
11577
|
"className",
|
|
11768
11578
|
"listClassName",
|
|
@@ -11773,14 +11583,14 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11773
11583
|
"rounded",
|
|
11774
11584
|
"items"
|
|
11775
11585
|
]);
|
|
11776
|
-
return /* @__PURE__ */
|
|
11586
|
+
return /* @__PURE__ */ jsxs29(TabsPrimitive.Root, _object_spread_props(_object_spread({
|
|
11777
11587
|
ref: ref,
|
|
11778
11588
|
className: cn(className)
|
|
11779
11589
|
}, props), {
|
|
11780
11590
|
children: [
|
|
11781
|
-
/* @__PURE__ */
|
|
11591
|
+
/* @__PURE__ */ jsx50("div", {
|
|
11782
11592
|
className: "w-full flex justify-start items-center",
|
|
11783
|
-
children: /* @__PURE__ */
|
|
11593
|
+
children: /* @__PURE__ */ jsx50(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
11784
11594
|
ref: ref,
|
|
11785
11595
|
className: cn(tabListVariants({
|
|
11786
11596
|
variant: variant,
|
|
@@ -11789,7 +11599,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11789
11599
|
}), listClassName)
|
|
11790
11600
|
}, props), {
|
|
11791
11601
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
11792
|
-
return /* @__PURE__ */
|
|
11602
|
+
return /* @__PURE__ */ jsx50(Tab, _object_spread({
|
|
11793
11603
|
isLink: isLink,
|
|
11794
11604
|
variant: variant,
|
|
11795
11605
|
size: size,
|
|
@@ -11798,10 +11608,10 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11798
11608
|
})
|
|
11799
11609
|
}))
|
|
11800
11610
|
}),
|
|
11801
|
-
!isLink && /* @__PURE__ */
|
|
11611
|
+
!isLink && /* @__PURE__ */ jsx50("div", {
|
|
11802
11612
|
className: "w-full",
|
|
11803
11613
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
11804
|
-
return /* @__PURE__ */
|
|
11614
|
+
return /* @__PURE__ */ jsx50(TabsContent, {
|
|
11805
11615
|
value: item.value,
|
|
11806
11616
|
className: contentClassName,
|
|
11807
11617
|
children: item.children
|
|
@@ -11812,7 +11622,7 @@ var Tabs2 = React36.forwardRef(function(_param, ref) {
|
|
|
11812
11622
|
}));
|
|
11813
11623
|
});
|
|
11814
11624
|
Tabs2.displayName = TabsPrimitive.Root.displayName;
|
|
11815
|
-
var Tab =
|
|
11625
|
+
var Tab = React35.forwardRef(function(_param, ref) {
|
|
11816
11626
|
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
11627
|
"className",
|
|
11818
11628
|
"variant",
|
|
@@ -11827,10 +11637,10 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11827
11637
|
"rounded",
|
|
11828
11638
|
"onClickCallback"
|
|
11829
11639
|
]);
|
|
11830
|
-
return /* @__PURE__ */
|
|
11640
|
+
return /* @__PURE__ */ jsx50(Tooltip, _object_spread_props(_object_spread({
|
|
11831
11641
|
triggerClassName: cn("h-full flex justify-center items-center", variant === "underline" ? "w-fit justify-start items-end" : "w-full flex-1")
|
|
11832
11642
|
}, tooltip), {
|
|
11833
|
-
children: /* @__PURE__ */
|
|
11643
|
+
children: /* @__PURE__ */ jsx50(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11834
11644
|
ref: ref,
|
|
11835
11645
|
className: cn("tabtrigger min-w-fit", tabVariants({
|
|
11836
11646
|
variant: variant,
|
|
@@ -11842,7 +11652,7 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11842
11652
|
e.stopPropagation();
|
|
11843
11653
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(props.value);
|
|
11844
11654
|
},
|
|
11845
|
-
children: isLink && link ? /* @__PURE__ */
|
|
11655
|
+
children: isLink && link ? /* @__PURE__ */ jsxs29(link_default, {
|
|
11846
11656
|
prefetch: true,
|
|
11847
11657
|
href: link,
|
|
11848
11658
|
className: cn("relative h-full w-full flex justify-center items-center"),
|
|
@@ -11853,28 +11663,28 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11853
11663
|
},
|
|
11854
11664
|
children: [
|
|
11855
11665
|
label,
|
|
11856
|
-
hasUnRead && /* @__PURE__ */
|
|
11666
|
+
hasUnRead && /* @__PURE__ */ jsx50(Badge, {
|
|
11857
11667
|
className: "-mt-2.5"
|
|
11858
11668
|
})
|
|
11859
11669
|
]
|
|
11860
|
-
}) : /* @__PURE__ */
|
|
11670
|
+
}) : /* @__PURE__ */ jsxs29("div", {
|
|
11861
11671
|
className: "relative flex justify-center items-center",
|
|
11862
11672
|
children: [
|
|
11863
|
-
label && /* @__PURE__ */
|
|
11673
|
+
label && /* @__PURE__ */ jsx50("span", {
|
|
11864
11674
|
className: cn("text-inherit"),
|
|
11865
11675
|
children: label
|
|
11866
11676
|
}),
|
|
11867
|
-
icon && /* @__PURE__ */
|
|
11677
|
+
icon && /* @__PURE__ */ jsx50(Icon, {
|
|
11868
11678
|
component: icon,
|
|
11869
11679
|
size: "md",
|
|
11870
11680
|
className: "text-inherit"
|
|
11871
11681
|
}),
|
|
11872
|
-
count2 ? /* @__PURE__ */
|
|
11682
|
+
count2 ? /* @__PURE__ */ jsx50(Text, {
|
|
11873
11683
|
size: "sm",
|
|
11874
11684
|
className: "ml-1 text-Colors-Text-Subtlest",
|
|
11875
11685
|
children: count2
|
|
11876
11686
|
}) : null,
|
|
11877
|
-
hasUnRead && /* @__PURE__ */
|
|
11687
|
+
hasUnRead && /* @__PURE__ */ jsx50(Badge, {
|
|
11878
11688
|
className: "-mt-2.5"
|
|
11879
11689
|
})
|
|
11880
11690
|
]
|
|
@@ -11883,20 +11693,20 @@ var Tab = React36.forwardRef(function(_param, ref) {
|
|
|
11883
11693
|
}));
|
|
11884
11694
|
});
|
|
11885
11695
|
Tab.displayName = TabsPrimitive.Trigger.displayName;
|
|
11886
|
-
var TabsContent =
|
|
11696
|
+
var TabsContent = React35.forwardRef(function(_param, ref) {
|
|
11887
11697
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
11888
11698
|
"className"
|
|
11889
11699
|
]);
|
|
11890
|
-
return /* @__PURE__ */
|
|
11700
|
+
return /* @__PURE__ */ jsx50(TabsPrimitive.Content, _object_spread({
|
|
11891
11701
|
ref: ref,
|
|
11892
11702
|
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
11703
|
}, props));
|
|
11894
11704
|
});
|
|
11895
11705
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
11896
11706
|
// src/components/textarea.tsx
|
|
11897
|
-
import * as
|
|
11898
|
-
import { jsx as
|
|
11899
|
-
var Textarea =
|
|
11707
|
+
import * as React36 from "react";
|
|
11708
|
+
import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
11709
|
+
var Textarea = React36.forwardRef(function(_param, ref) {
|
|
11900
11710
|
var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
|
|
11901
11711
|
"className",
|
|
11902
11712
|
"maxLength",
|
|
@@ -11905,20 +11715,20 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
11905
11715
|
"maxLengthClassName"
|
|
11906
11716
|
]);
|
|
11907
11717
|
var _value_toString, _value_toString1;
|
|
11908
|
-
return /* @__PURE__ */
|
|
11718
|
+
return /* @__PURE__ */ jsxs30("div", {
|
|
11909
11719
|
children: [
|
|
11910
|
-
/* @__PURE__ */
|
|
11720
|
+
/* @__PURE__ */ jsxs30("div", {
|
|
11911
11721
|
className: "relative",
|
|
11912
11722
|
children: [
|
|
11913
|
-
/* @__PURE__ */
|
|
11723
|
+
/* @__PURE__ */ jsx51("textarea", _object_spread({
|
|
11914
11724
|
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
11725
|
ref: ref,
|
|
11916
11726
|
maxLength: maxLength,
|
|
11917
11727
|
value: value1
|
|
11918
11728
|
}, props)),
|
|
11919
|
-
maxLength ? /* @__PURE__ */
|
|
11729
|
+
maxLength ? /* @__PURE__ */ jsx51("div", {
|
|
11920
11730
|
className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
|
|
11921
|
-
children: /* @__PURE__ */
|
|
11731
|
+
children: /* @__PURE__ */ jsx51(Text, {
|
|
11922
11732
|
size: "sm",
|
|
11923
11733
|
color: "subtlest",
|
|
11924
11734
|
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 +11736,9 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
11926
11736
|
}) : null
|
|
11927
11737
|
]
|
|
11928
11738
|
}),
|
|
11929
|
-
error && /* @__PURE__ */
|
|
11739
|
+
error && /* @__PURE__ */ jsx51("div", {
|
|
11930
11740
|
className: "w-full",
|
|
11931
|
-
children: /* @__PURE__ */
|
|
11741
|
+
children: /* @__PURE__ */ jsx51(Text, {
|
|
11932
11742
|
className: "text-wrap",
|
|
11933
11743
|
size: "sm",
|
|
11934
11744
|
weight: "regular",
|
|
@@ -11943,8 +11753,8 @@ Textarea.displayName = "Textarea";
|
|
|
11943
11753
|
// src/components/toggle.tsx
|
|
11944
11754
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
11945
11755
|
import { cva as cva18 } from "class-variance-authority";
|
|
11946
|
-
import * as
|
|
11947
|
-
import { jsx as
|
|
11756
|
+
import * as React37 from "react";
|
|
11757
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
11948
11758
|
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
11759
|
variants: {
|
|
11950
11760
|
variant: {
|
|
@@ -11963,13 +11773,13 @@ var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm t
|
|
|
11963
11773
|
size: "default"
|
|
11964
11774
|
}
|
|
11965
11775
|
});
|
|
11966
|
-
var Toggle =
|
|
11776
|
+
var Toggle = React37.forwardRef(function(_param, ref) {
|
|
11967
11777
|
var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
11968
11778
|
"className",
|
|
11969
11779
|
"variant",
|
|
11970
11780
|
"size"
|
|
11971
11781
|
]);
|
|
11972
|
-
return /* @__PURE__ */
|
|
11782
|
+
return /* @__PURE__ */ jsx52(TogglePrimitive.Root, _object_spread({
|
|
11973
11783
|
ref: ref,
|
|
11974
11784
|
className: cn(toggleVariants({
|
|
11975
11785
|
variant: variant,
|
|
@@ -11981,24 +11791,24 @@ var Toggle = React38.forwardRef(function(_param, ref) {
|
|
|
11981
11791
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
11982
11792
|
// src/components/toggle-group.tsx
|
|
11983
11793
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
11984
|
-
import * as
|
|
11985
|
-
import { jsx as
|
|
11986
|
-
var ToggleGroupContext =
|
|
11794
|
+
import * as React38 from "react";
|
|
11795
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
11796
|
+
var ToggleGroupContext = React38.createContext({
|
|
11987
11797
|
size: "default",
|
|
11988
11798
|
variant: "default"
|
|
11989
11799
|
});
|
|
11990
|
-
var ToggleGroup =
|
|
11800
|
+
var ToggleGroup = React38.forwardRef(function(_param, ref) {
|
|
11991
11801
|
var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
|
|
11992
11802
|
"className",
|
|
11993
11803
|
"variant",
|
|
11994
11804
|
"size",
|
|
11995
11805
|
"children"
|
|
11996
11806
|
]);
|
|
11997
|
-
return /* @__PURE__ */
|
|
11807
|
+
return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
|
|
11998
11808
|
ref: ref,
|
|
11999
11809
|
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
11810
|
}, props), {
|
|
12001
|
-
children: /* @__PURE__ */
|
|
11811
|
+
children: /* @__PURE__ */ jsx53(ToggleGroupContext.Provider, {
|
|
12002
11812
|
value: {
|
|
12003
11813
|
variant: variant,
|
|
12004
11814
|
size: size
|
|
@@ -12008,15 +11818,15 @@ var ToggleGroup = React39.forwardRef(function(_param, ref) {
|
|
|
12008
11818
|
}));
|
|
12009
11819
|
});
|
|
12010
11820
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
12011
|
-
var ToggleGroupItem =
|
|
11821
|
+
var ToggleGroupItem = React38.forwardRef(function(_param, ref) {
|
|
12012
11822
|
var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
|
|
12013
11823
|
"className",
|
|
12014
11824
|
"children",
|
|
12015
11825
|
"variant",
|
|
12016
11826
|
"size"
|
|
12017
11827
|
]);
|
|
12018
|
-
var context =
|
|
12019
|
-
return /* @__PURE__ */
|
|
11828
|
+
var context = React38.useContext(ToggleGroupContext);
|
|
11829
|
+
return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
|
|
12020
11830
|
ref: ref,
|
|
12021
11831
|
className: cn(toggleVariants({
|
|
12022
11832
|
variant: context.variant || variant,
|
|
@@ -12029,7 +11839,7 @@ var ToggleGroupItem = React39.forwardRef(function(_param, ref) {
|
|
|
12029
11839
|
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
12030
11840
|
// src/components/chips.tsx
|
|
12031
11841
|
import { cva as cva19 } from "class-variance-authority";
|
|
12032
|
-
import { jsx as
|
|
11842
|
+
import { jsx as jsx54, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
12033
11843
|
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
11844
|
variants: {
|
|
12035
11845
|
variant: {
|
|
@@ -12048,7 +11858,7 @@ var chipsVariants = cva19('min-w-10 flex items-center justify-center text-Colors
|
|
|
12048
11858
|
});
|
|
12049
11859
|
function Chips(props) {
|
|
12050
11860
|
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__ */
|
|
11861
|
+
return /* @__PURE__ */ jsxs31("div", {
|
|
12052
11862
|
"data-disabled": disabled,
|
|
12053
11863
|
"data-selected": selected,
|
|
12054
11864
|
className: cn(chipsVariants({
|
|
@@ -12057,7 +11867,7 @@ function Chips(props) {
|
|
|
12057
11867
|
}), className),
|
|
12058
11868
|
children: [
|
|
12059
11869
|
label,
|
|
12060
|
-
count2 && count2 > 0 ? /* @__PURE__ */
|
|
11870
|
+
count2 && count2 > 0 ? /* @__PURE__ */ jsx54("span", {
|
|
12061
11871
|
className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
|
|
12062
11872
|
children: count2
|
|
12063
11873
|
}) : null
|
|
@@ -12067,9 +11877,9 @@ function Chips(props) {
|
|
|
12067
11877
|
// src/components/toast/toast.tsx
|
|
12068
11878
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
12069
11879
|
import { cva as cva20 } from "class-variance-authority";
|
|
12070
|
-
import * as
|
|
11880
|
+
import * as React39 from "react";
|
|
12071
11881
|
import XMarkIcon3 from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
12072
|
-
import { jsx as
|
|
11882
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
12073
11883
|
var ToastProvider = ToastPrimitives.Provider;
|
|
12074
11884
|
var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
|
|
12075
11885
|
variants: {
|
|
@@ -12088,12 +11898,12 @@ var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full
|
|
|
12088
11898
|
position: "top-right"
|
|
12089
11899
|
}
|
|
12090
11900
|
});
|
|
12091
|
-
var ToastViewport =
|
|
11901
|
+
var ToastViewport = React39.forwardRef(function(_param, ref) {
|
|
12092
11902
|
var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
|
|
12093
11903
|
"className",
|
|
12094
11904
|
"position"
|
|
12095
11905
|
]);
|
|
12096
|
-
return /* @__PURE__ */
|
|
11906
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Viewport, _object_spread({
|
|
12097
11907
|
ref: ref,
|
|
12098
11908
|
className: cn(viewportPositionVariants({
|
|
12099
11909
|
position: position
|
|
@@ -12125,13 +11935,13 @@ var toastVariants = cva20("group pointer-events-auto relative flex w-full items-
|
|
|
12125
11935
|
position: "top-right"
|
|
12126
11936
|
}
|
|
12127
11937
|
});
|
|
12128
|
-
var Toast =
|
|
11938
|
+
var Toast = React39.forwardRef(function(_param, ref) {
|
|
12129
11939
|
var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
|
|
12130
11940
|
"className",
|
|
12131
11941
|
"variant",
|
|
12132
11942
|
"position"
|
|
12133
11943
|
]);
|
|
12134
|
-
return /* @__PURE__ */
|
|
11944
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Root, _object_spread({
|
|
12135
11945
|
ref: ref,
|
|
12136
11946
|
className: cn(toastVariants({
|
|
12137
11947
|
variant: variant,
|
|
@@ -12141,46 +11951,46 @@ var Toast = React40.forwardRef(function(_param, ref) {
|
|
|
12141
11951
|
}, props));
|
|
12142
11952
|
});
|
|
12143
11953
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
12144
|
-
var ToastAction =
|
|
11954
|
+
var ToastAction = React39.forwardRef(function(_param, ref) {
|
|
12145
11955
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12146
11956
|
"className"
|
|
12147
11957
|
]);
|
|
12148
|
-
return /* @__PURE__ */
|
|
11958
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Action, _object_spread({
|
|
12149
11959
|
ref: ref,
|
|
12150
11960
|
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
11961
|
}, props));
|
|
12152
11962
|
});
|
|
12153
11963
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
12154
|
-
var ToastClose =
|
|
11964
|
+
var ToastClose = React39.forwardRef(function(_param, ref) {
|
|
12155
11965
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12156
11966
|
"className"
|
|
12157
11967
|
]);
|
|
12158
|
-
return /* @__PURE__ */
|
|
11968
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
12159
11969
|
ref: ref,
|
|
12160
11970
|
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
11971
|
"toast-close": ""
|
|
12162
11972
|
}, props), {
|
|
12163
|
-
children: /* @__PURE__ */
|
|
11973
|
+
children: /* @__PURE__ */ jsx55(XMarkIcon3, {
|
|
12164
11974
|
className: "h-5 w-5"
|
|
12165
11975
|
})
|
|
12166
11976
|
}));
|
|
12167
11977
|
});
|
|
12168
11978
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
12169
|
-
var ToastTitle =
|
|
11979
|
+
var ToastTitle = React39.forwardRef(function(_param, ref) {
|
|
12170
11980
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12171
11981
|
"className"
|
|
12172
11982
|
]);
|
|
12173
|
-
return /* @__PURE__ */
|
|
11983
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Title, _object_spread({
|
|
12174
11984
|
ref: ref,
|
|
12175
11985
|
className: cn("text-sm font-semibold", className)
|
|
12176
11986
|
}, props));
|
|
12177
11987
|
});
|
|
12178
11988
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
12179
|
-
var ToastDescription =
|
|
11989
|
+
var ToastDescription = React39.forwardRef(function(_param, ref) {
|
|
12180
11990
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12181
11991
|
"className"
|
|
12182
11992
|
]);
|
|
12183
|
-
return /* @__PURE__ */
|
|
11993
|
+
return /* @__PURE__ */ jsx55(ToastPrimitives.Description, _object_spread({
|
|
12184
11994
|
ref: ref,
|
|
12185
11995
|
className: cn("text-sm opacity-90", className)
|
|
12186
11996
|
}, props));
|
|
@@ -12191,8 +12001,8 @@ import CheckCircleIcon2 from "@heroicons/react/24/outline/esm/CheckCircleIcon";
|
|
|
12191
12001
|
import InformationCircleIcon2 from "@heroicons/react/24/outline/esm/InformationCircleIcon";
|
|
12192
12002
|
import XCircleIcon2 from "@heroicons/react/24/outline/esm/XCircleIcon";
|
|
12193
12003
|
// src/components/toast/use-toast.tsx
|
|
12194
|
-
import * as
|
|
12195
|
-
import { jsx as
|
|
12004
|
+
import * as React40 from "react";
|
|
12005
|
+
import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12196
12006
|
var TOAST_LIMIT = 8;
|
|
12197
12007
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
12198
12008
|
var count = 0;
|
|
@@ -12295,10 +12105,10 @@ function toast(_param) {
|
|
|
12295
12105
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
12296
12106
|
position: position
|
|
12297
12107
|
}), actions && {
|
|
12298
|
-
action: /* @__PURE__ */
|
|
12108
|
+
action: /* @__PURE__ */ jsxs32("div", {
|
|
12299
12109
|
className: "flex justify-start items-center gap-2",
|
|
12300
12110
|
children: [
|
|
12301
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */
|
|
12111
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx56(Text, {
|
|
12302
12112
|
size: "sm",
|
|
12303
12113
|
weight: "medium",
|
|
12304
12114
|
color: "brand",
|
|
@@ -12308,13 +12118,13 @@ function toast(_param) {
|
|
|
12308
12118
|
},
|
|
12309
12119
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
12310
12120
|
}),
|
|
12311
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */
|
|
12121
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx56(link_default, {
|
|
12312
12122
|
href: actions.viewUrl,
|
|
12313
12123
|
target: "_blank",
|
|
12314
12124
|
rel: "noreferrer noopener",
|
|
12315
|
-
children: /* @__PURE__ */
|
|
12125
|
+
children: /* @__PURE__ */ jsx56("div", {
|
|
12316
12126
|
className: "flex items-center gap-1.5",
|
|
12317
|
-
children: /* @__PURE__ */
|
|
12127
|
+
children: /* @__PURE__ */ jsx56(Text, {
|
|
12318
12128
|
size: "sm",
|
|
12319
12129
|
weight: "medium",
|
|
12320
12130
|
color: "default",
|
|
@@ -12340,8 +12150,8 @@ function toast(_param) {
|
|
|
12340
12150
|
};
|
|
12341
12151
|
}
|
|
12342
12152
|
function useToast() {
|
|
12343
|
-
var
|
|
12344
|
-
|
|
12153
|
+
var _React40_useState = _sliced_to_array(React40.useState(memoryState), 2), state = _React40_useState[0], setState = _React40_useState[1];
|
|
12154
|
+
React40.useEffect(function() {
|
|
12345
12155
|
listeners.push(setState);
|
|
12346
12156
|
return function() {
|
|
12347
12157
|
var index = listeners.indexOf(setState);
|
|
@@ -12363,13 +12173,13 @@ function useToast() {
|
|
|
12363
12173
|
});
|
|
12364
12174
|
}
|
|
12365
12175
|
// src/components/toast/toaster.tsx
|
|
12366
|
-
import
|
|
12176
|
+
import React41 from "react";
|
|
12367
12177
|
import { ExclamationTriangleIcon as ExclamationTriangleIcon2 } from "@heroicons/react/24/outline";
|
|
12368
|
-
import { jsx as
|
|
12178
|
+
import { jsx as jsx57, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12369
12179
|
function Toaster() {
|
|
12370
12180
|
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
12181
|
var toasts = useToast().toasts;
|
|
12372
|
-
var positionGroups =
|
|
12182
|
+
var positionGroups = React41.useMemo(function() {
|
|
12373
12183
|
var groups = {};
|
|
12374
12184
|
var allPositions = [
|
|
12375
12185
|
"top-left",
|
|
@@ -12399,22 +12209,22 @@ function Toaster() {
|
|
|
12399
12209
|
]);
|
|
12400
12210
|
var renderToast = function(toast4) {
|
|
12401
12211
|
var id = toast4.id, title = toast4.title, description = toast4.description, action = toast4.action, variant = toast4.variant, toastPosition = toast4.position;
|
|
12402
|
-
var
|
|
12212
|
+
var renderIcon2 = function(variant2) {
|
|
12403
12213
|
switch(variant2){
|
|
12404
12214
|
case "info":
|
|
12405
|
-
return /* @__PURE__ */
|
|
12215
|
+
return /* @__PURE__ */ jsx57(InformationCircleIcon2, {
|
|
12406
12216
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12407
12217
|
});
|
|
12408
12218
|
case "success":
|
|
12409
|
-
return /* @__PURE__ */
|
|
12219
|
+
return /* @__PURE__ */ jsx57(CheckCircleIcon2, {
|
|
12410
12220
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12411
12221
|
});
|
|
12412
12222
|
case "warning":
|
|
12413
|
-
return /* @__PURE__ */
|
|
12223
|
+
return /* @__PURE__ */ jsx57(ExclamationTriangleIcon2, {
|
|
12414
12224
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12415
12225
|
});
|
|
12416
12226
|
case "error":
|
|
12417
|
-
return /* @__PURE__ */
|
|
12227
|
+
return /* @__PURE__ */ jsx57(XCircleIcon2, {
|
|
12418
12228
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12419
12229
|
});
|
|
12420
12230
|
}
|
|
@@ -12431,26 +12241,26 @@ function Toaster() {
|
|
|
12431
12241
|
return "bg-Colors-Background-Critical-Default";
|
|
12432
12242
|
}
|
|
12433
12243
|
};
|
|
12434
|
-
return /* @__PURE__ */
|
|
12244
|
+
return /* @__PURE__ */ jsxs33(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
12435
12245
|
position: toastPosition,
|
|
12436
12246
|
children: [
|
|
12437
|
-
/* @__PURE__ */
|
|
12247
|
+
/* @__PURE__ */ jsx57("div", {
|
|
12438
12248
|
className: "flex flex-col gap-3",
|
|
12439
|
-
children: /* @__PURE__ */
|
|
12249
|
+
children: /* @__PURE__ */ jsxs33("div", {
|
|
12440
12250
|
className: "flex items-start gap-3",
|
|
12441
12251
|
children: [
|
|
12442
|
-
/* @__PURE__ */
|
|
12252
|
+
/* @__PURE__ */ jsx57("div", {
|
|
12443
12253
|
className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
12444
|
-
children:
|
|
12254
|
+
children: renderIcon2(variant)
|
|
12445
12255
|
}),
|
|
12446
|
-
/* @__PURE__ */
|
|
12256
|
+
/* @__PURE__ */ jsxs33("div", {
|
|
12447
12257
|
className: "grid gap-1",
|
|
12448
12258
|
children: [
|
|
12449
|
-
title && /* @__PURE__ */
|
|
12259
|
+
title && /* @__PURE__ */ jsx57(ToastTitle, {
|
|
12450
12260
|
className: "text-base text-Colors-Text-Default",
|
|
12451
12261
|
children: title
|
|
12452
12262
|
}),
|
|
12453
|
-
description && /* @__PURE__ */
|
|
12263
|
+
description && /* @__PURE__ */ jsx57(ToastDescription, {
|
|
12454
12264
|
className: "text-sm text-Colors-Text-Subtle",
|
|
12455
12265
|
children: description
|
|
12456
12266
|
}),
|
|
@@ -12460,17 +12270,17 @@ function Toaster() {
|
|
|
12460
12270
|
]
|
|
12461
12271
|
})
|
|
12462
12272
|
}),
|
|
12463
|
-
/* @__PURE__ */
|
|
12273
|
+
/* @__PURE__ */ jsx57(ToastClose, {})
|
|
12464
12274
|
]
|
|
12465
12275
|
}), id);
|
|
12466
12276
|
};
|
|
12467
|
-
return /* @__PURE__ */
|
|
12277
|
+
return /* @__PURE__ */ jsx57(ToastProvider, {
|
|
12468
12278
|
children: Object.entries(positionGroups).map(function(param) {
|
|
12469
12279
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
12470
|
-
return /* @__PURE__ */
|
|
12280
|
+
return /* @__PURE__ */ jsxs33(React41.Fragment, {
|
|
12471
12281
|
children: [
|
|
12472
12282
|
toastsForPosition.map(renderToast),
|
|
12473
|
-
toastsForPosition.length > 0 && /* @__PURE__ */
|
|
12283
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ jsx57(ToastViewport, {
|
|
12474
12284
|
position: pos
|
|
12475
12285
|
})
|
|
12476
12286
|
]
|
|
@@ -12492,7 +12302,7 @@ import "swiper/css/pagination";
|
|
|
12492
12302
|
// src/components/swiper/index.module.scss
|
|
12493
12303
|
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
12304
|
// src/components/swiper/index.tsx
|
|
12495
|
-
import { jsx as
|
|
12305
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
12496
12306
|
var swiperVariants = cva21("", {
|
|
12497
12307
|
variants: {
|
|
12498
12308
|
rounded: {
|
|
@@ -12628,9 +12438,9 @@ function Swiper(props) {
|
|
|
12628
12438
|
}
|
|
12629
12439
|
}
|
|
12630
12440
|
};
|
|
12631
|
-
return /* @__PURE__ */
|
|
12441
|
+
return /* @__PURE__ */ jsx58("div", {
|
|
12632
12442
|
className: index_module_default.swiperBox,
|
|
12633
|
-
children: /* @__PURE__ */
|
|
12443
|
+
children: /* @__PURE__ */ jsx58(SwiperComponent, _object_spread_props(_object_spread({
|
|
12634
12444
|
observer: true,
|
|
12635
12445
|
observeParents: true
|
|
12636
12446
|
}, swiperConfigs), {
|
|
@@ -12640,9 +12450,9 @@ function Swiper(props) {
|
|
|
12640
12450
|
swiperRef.current = swiper;
|
|
12641
12451
|
},
|
|
12642
12452
|
children: swiperList.map(function(item, index) {
|
|
12643
|
-
return /* @__PURE__ */
|
|
12453
|
+
return /* @__PURE__ */ jsx58(SwiperSlide, {
|
|
12644
12454
|
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__ */
|
|
12455
|
+
children: /* @__PURE__ */ jsx58(Com, {
|
|
12646
12456
|
item: item,
|
|
12647
12457
|
index: index,
|
|
12648
12458
|
onClick: handleSlideItemClick,
|
|
@@ -12663,48 +12473,48 @@ import ExclamationCircleIcon from "@heroicons/react/24/solid/esm/ExclamationCirc
|
|
|
12663
12473
|
import InformationCircleIcon3 from "@heroicons/react/24/solid/esm/InformationCircleIcon";
|
|
12664
12474
|
import XCircleIcon3 from "@heroicons/react/24/solid/esm/XCircleIcon";
|
|
12665
12475
|
import { toast as toast2 } from "react-hot-toast";
|
|
12666
|
-
import { Fragment as
|
|
12476
|
+
import { Fragment as Fragment10, jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
12667
12477
|
function CustomNotification(param) {
|
|
12668
12478
|
var tProps = param.tProps, customProps = param.customProps;
|
|
12669
12479
|
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
12480
|
var id = tProps.id;
|
|
12671
12481
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
12672
|
-
return /* @__PURE__ */
|
|
12673
|
-
children: /* @__PURE__ */
|
|
12482
|
+
return /* @__PURE__ */ jsx59("div", {
|
|
12483
|
+
children: /* @__PURE__ */ jsx59("div", {
|
|
12674
12484
|
id: id,
|
|
12675
12485
|
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__ */
|
|
12486
|
+
children: /* @__PURE__ */ jsxs34("div", {
|
|
12677
12487
|
className: "flex w-full items-center justify-center gap-2",
|
|
12678
12488
|
children: [
|
|
12679
|
-
loading && /* @__PURE__ */
|
|
12680
|
-
!loading && type && /* @__PURE__ */
|
|
12489
|
+
loading && /* @__PURE__ */ jsx59(Spinner, {}),
|
|
12490
|
+
!loading && type && /* @__PURE__ */ jsxs34("div", {
|
|
12681
12491
|
className: "flex flex-shrink-0 items-center",
|
|
12682
12492
|
children: [
|
|
12683
|
-
type === "info" && /* @__PURE__ */
|
|
12493
|
+
type === "info" && /* @__PURE__ */ jsx59(InformationCircleIcon3, {
|
|
12684
12494
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12685
12495
|
}),
|
|
12686
|
-
type === "success" && /* @__PURE__ */
|
|
12496
|
+
type === "success" && /* @__PURE__ */ jsx59(CheckCircleIcon3, {
|
|
12687
12497
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12688
12498
|
}),
|
|
12689
|
-
type === "warning" && /* @__PURE__ */
|
|
12499
|
+
type === "warning" && /* @__PURE__ */ jsx59(ExclamationCircleIcon, {
|
|
12690
12500
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12691
12501
|
}),
|
|
12692
|
-
type === "error" && /* @__PURE__ */
|
|
12502
|
+
type === "error" && /* @__PURE__ */ jsx59(XCircleIcon3, {
|
|
12693
12503
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12694
12504
|
})
|
|
12695
12505
|
]
|
|
12696
12506
|
}),
|
|
12697
|
-
/* @__PURE__ */
|
|
12507
|
+
/* @__PURE__ */ jsxs34("div", {
|
|
12698
12508
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
12699
12509
|
children: [
|
|
12700
|
-
title && /* @__PURE__ */
|
|
12510
|
+
title && /* @__PURE__ */ jsx59(Text, {
|
|
12701
12511
|
size: "sm",
|
|
12702
12512
|
weight: "regular",
|
|
12703
12513
|
color: "default",
|
|
12704
12514
|
children: title
|
|
12705
12515
|
}),
|
|
12706
|
-
/* @__PURE__ */
|
|
12707
|
-
children: /* @__PURE__ */
|
|
12516
|
+
/* @__PURE__ */ jsx59("div", {
|
|
12517
|
+
children: /* @__PURE__ */ jsx59(Text, {
|
|
12708
12518
|
size: "sm",
|
|
12709
12519
|
weight: "regular",
|
|
12710
12520
|
color: "default",
|
|
@@ -12713,16 +12523,16 @@ function CustomNotification(param) {
|
|
|
12713
12523
|
})
|
|
12714
12524
|
]
|
|
12715
12525
|
}),
|
|
12716
|
-
action && /* @__PURE__ */
|
|
12526
|
+
action && /* @__PURE__ */ jsxs34(Fragment10, {
|
|
12717
12527
|
children: [
|
|
12718
|
-
/* @__PURE__ */
|
|
12528
|
+
/* @__PURE__ */ jsx59(Separator, {
|
|
12719
12529
|
orientation: "vertical",
|
|
12720
12530
|
className: "h-3"
|
|
12721
12531
|
}),
|
|
12722
12532
|
action
|
|
12723
12533
|
]
|
|
12724
12534
|
}),
|
|
12725
|
-
isClosable && /* @__PURE__ */
|
|
12535
|
+
isClosable && /* @__PURE__ */ jsx59(IconButton, {
|
|
12726
12536
|
size: "sm",
|
|
12727
12537
|
variant: "plain",
|
|
12728
12538
|
icon: XMarkIcon4,
|
|
@@ -12739,14 +12549,14 @@ function CustomNotification(param) {
|
|
|
12739
12549
|
// src/common/hooks/useNotification.tsx
|
|
12740
12550
|
import { useCallback as useCallback5 } from "react";
|
|
12741
12551
|
import { toast as toast3 } from "react-hot-toast";
|
|
12742
|
-
import { jsx as
|
|
12552
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
12743
12553
|
function useNotification() {
|
|
12744
12554
|
var addToast = useCallback5(function(config2, duration2) {
|
|
12745
12555
|
if (config2.id) {
|
|
12746
12556
|
toast3.remove(config2.id);
|
|
12747
12557
|
}
|
|
12748
12558
|
toast3.custom(function(t) {
|
|
12749
|
-
return /* @__PURE__ */
|
|
12559
|
+
return /* @__PURE__ */ jsx60(CustomNotification, {
|
|
12750
12560
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12751
12561
|
duration: duration2
|
|
12752
12562
|
}),
|
|
@@ -12807,7 +12617,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12807
12617
|
}
|
|
12808
12618
|
var addToast = function() {
|
|
12809
12619
|
toast3.custom(function(t) {
|
|
12810
|
-
return /* @__PURE__ */
|
|
12620
|
+
return /* @__PURE__ */ jsx60(CustomNotification, {
|
|
12811
12621
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12812
12622
|
duration: duration2
|
|
12813
12623
|
}),
|
|
@@ -12863,11 +12673,11 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12863
12673
|
return Message;
|
|
12864
12674
|
}();
|
|
12865
12675
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
12866
|
-
import * as
|
|
12867
|
-
import { jsx as
|
|
12868
|
-
var ArrowLeftIcon2 =
|
|
12869
|
-
return /* @__PURE__ */
|
|
12870
|
-
children: /* @__PURE__ */
|
|
12676
|
+
import * as React42 from "react";
|
|
12677
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
12678
|
+
var ArrowLeftIcon2 = React42.forwardRef(function(props, ref) {
|
|
12679
|
+
return /* @__PURE__ */ jsx61(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12680
|
+
children: /* @__PURE__ */ jsx61("svg", {
|
|
12871
12681
|
ref: ref,
|
|
12872
12682
|
className: "w-full h-full",
|
|
12873
12683
|
viewBox: "0 0 24 24",
|
|
@@ -12875,7 +12685,7 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12875
12685
|
strokeWidth: "1.5",
|
|
12876
12686
|
stroke: "currentColor",
|
|
12877
12687
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12878
|
-
children: /* @__PURE__ */
|
|
12688
|
+
children: /* @__PURE__ */ jsx61("path", {
|
|
12879
12689
|
strokeLinecap: "round",
|
|
12880
12690
|
strokeLinejoin: "round",
|
|
12881
12691
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
@@ -12884,11 +12694,11 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12884
12694
|
}));
|
|
12885
12695
|
});
|
|
12886
12696
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
12887
|
-
import * as
|
|
12888
|
-
import { jsx as
|
|
12889
|
-
var ArrowUpTrayIcon =
|
|
12890
|
-
return /* @__PURE__ */
|
|
12891
|
-
children: /* @__PURE__ */
|
|
12697
|
+
import * as React43 from "react";
|
|
12698
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
12699
|
+
var ArrowUpTrayIcon = React43.forwardRef(function(props, ref) {
|
|
12700
|
+
return /* @__PURE__ */ jsx62(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12701
|
+
children: /* @__PURE__ */ jsx62("svg", {
|
|
12892
12702
|
ref: ref,
|
|
12893
12703
|
className: "w-full h-full",
|
|
12894
12704
|
viewBox: "0 0 24 24",
|
|
@@ -12896,7 +12706,7 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12896
12706
|
strokeWidth: "1.5",
|
|
12897
12707
|
stroke: "currentColor",
|
|
12898
12708
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12899
|
-
children: /* @__PURE__ */
|
|
12709
|
+
children: /* @__PURE__ */ jsx62("path", {
|
|
12900
12710
|
strokeLinecap: "round",
|
|
12901
12711
|
strokeLinejoin: "round",
|
|
12902
12712
|
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 +12715,11 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12905
12715
|
}));
|
|
12906
12716
|
});
|
|
12907
12717
|
// src/components/icons/outline/WindowIcon.tsx
|
|
12908
|
-
import * as
|
|
12909
|
-
import { jsx as
|
|
12910
|
-
var WindowIcon =
|
|
12911
|
-
return /* @__PURE__ */
|
|
12912
|
-
children: /* @__PURE__ */
|
|
12718
|
+
import * as React44 from "react";
|
|
12719
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
12720
|
+
var WindowIcon = React44.forwardRef(function(props, ref) {
|
|
12721
|
+
return /* @__PURE__ */ jsx63(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12722
|
+
children: /* @__PURE__ */ jsx63("svg", {
|
|
12913
12723
|
ref: ref,
|
|
12914
12724
|
className: "w-full h-full",
|
|
12915
12725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12917,7 +12727,7 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12917
12727
|
fill: "none",
|
|
12918
12728
|
strokeWidth: "1.5",
|
|
12919
12729
|
stroke: "currentColor",
|
|
12920
|
-
children: /* @__PURE__ */
|
|
12730
|
+
children: /* @__PURE__ */ jsx63("path", {
|
|
12921
12731
|
strokeLinecap: "round",
|
|
12922
12732
|
strokeLinejoin: "round",
|
|
12923
12733
|
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 +12736,21 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12926
12736
|
}));
|
|
12927
12737
|
});
|
|
12928
12738
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
12929
|
-
import * as
|
|
12930
|
-
import { jsx as
|
|
12931
|
-
var CheckCircleIcon4 =
|
|
12932
|
-
return /* @__PURE__ */
|
|
12933
|
-
children: /* @__PURE__ */
|
|
12739
|
+
import * as React45 from "react";
|
|
12740
|
+
import { jsx as jsx64, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
12741
|
+
var CheckCircleIcon4 = React45.forwardRef(function(props, ref) {
|
|
12742
|
+
return /* @__PURE__ */ jsx64(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12743
|
+
children: /* @__PURE__ */ jsxs35("svg", {
|
|
12934
12744
|
ref: ref,
|
|
12935
12745
|
className: "w-full h-full",
|
|
12936
12746
|
viewBox: "0 0 24 24",
|
|
12937
12747
|
fill: "currentColor",
|
|
12938
12748
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12939
12749
|
children: [
|
|
12940
|
-
/* @__PURE__ */
|
|
12750
|
+
/* @__PURE__ */ jsx64("path", {
|
|
12941
12751
|
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
12752
|
}),
|
|
12943
|
-
/* @__PURE__ */
|
|
12753
|
+
/* @__PURE__ */ jsx64("path", {
|
|
12944
12754
|
fillRule: "evenodd",
|
|
12945
12755
|
clipRule: "evenodd",
|
|
12946
12756
|
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 +12759,14 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
12949
12759
|
})
|
|
12950
12760
|
}));
|
|
12951
12761
|
});
|
|
12762
|
+
// src/components/icons/outline/FilterIcon.tsx
|
|
12763
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
12952
12764
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
12953
|
-
import * as
|
|
12954
|
-
import { jsx as
|
|
12955
|
-
var PencilSquareIcon =
|
|
12956
|
-
return /* @__PURE__ */
|
|
12957
|
-
children: /* @__PURE__ */
|
|
12765
|
+
import * as React46 from "react";
|
|
12766
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
12767
|
+
var PencilSquareIcon = React46.forwardRef(function(props, ref) {
|
|
12768
|
+
return /* @__PURE__ */ jsx66(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12769
|
+
children: /* @__PURE__ */ jsx66("svg", {
|
|
12958
12770
|
ref: ref,
|
|
12959
12771
|
className: "w-full h-full",
|
|
12960
12772
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12962,7 +12774,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12962
12774
|
viewBox: "0 0 24 24",
|
|
12963
12775
|
strokeWidth: "1.5",
|
|
12964
12776
|
stroke: "currentColor",
|
|
12965
|
-
children: /* @__PURE__ */
|
|
12777
|
+
children: /* @__PURE__ */ jsx66("path", {
|
|
12966
12778
|
strokeLinecap: "round",
|
|
12967
12779
|
strokeLinejoin: "round",
|
|
12968
12780
|
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 +12783,35 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12971
12783
|
}));
|
|
12972
12784
|
});
|
|
12973
12785
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
12974
|
-
import * as
|
|
12975
|
-
import { jsx as
|
|
12976
|
-
var ConfigIcon =
|
|
12977
|
-
return /* @__PURE__ */
|
|
12978
|
-
children: /* @__PURE__ */
|
|
12786
|
+
import * as React47 from "react";
|
|
12787
|
+
import { jsx as jsx67, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
12788
|
+
var ConfigIcon = React47.forwardRef(function(props, ref) {
|
|
12789
|
+
return /* @__PURE__ */ jsx67(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12790
|
+
children: /* @__PURE__ */ jsx67("svg", {
|
|
12979
12791
|
width: "18",
|
|
12980
12792
|
height: "18",
|
|
12981
12793
|
viewBox: "0 0 18 18",
|
|
12982
12794
|
fill: "none",
|
|
12983
12795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12984
12796
|
className: "cursor-pointer",
|
|
12985
|
-
children: /* @__PURE__ */
|
|
12797
|
+
children: /* @__PURE__ */ jsx67("g", {
|
|
12986
12798
|
id: "wrapper",
|
|
12987
|
-
children: /* @__PURE__ */
|
|
12799
|
+
children: /* @__PURE__ */ jsxs36("g", {
|
|
12988
12800
|
id: "Union",
|
|
12989
12801
|
children: [
|
|
12990
|
-
/* @__PURE__ */
|
|
12802
|
+
/* @__PURE__ */ jsx67("path", {
|
|
12991
12803
|
fillRule: "evenodd",
|
|
12992
12804
|
clipRule: "evenodd",
|
|
12993
12805
|
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
12806
|
fill: "#6D7175"
|
|
12995
12807
|
}),
|
|
12996
|
-
/* @__PURE__ */
|
|
12808
|
+
/* @__PURE__ */ jsx67("path", {
|
|
12997
12809
|
fillRule: "evenodd",
|
|
12998
12810
|
clipRule: "evenodd",
|
|
12999
12811
|
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
12812
|
fill: "#6D7175"
|
|
13001
12813
|
}),
|
|
13002
|
-
/* @__PURE__ */
|
|
12814
|
+
/* @__PURE__ */ jsx67("path", {
|
|
13003
12815
|
fillRule: "evenodd",
|
|
13004
12816
|
clipRule: "evenodd",
|
|
13005
12817
|
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 +12824,38 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
13012
12824
|
}));
|
|
13013
12825
|
});
|
|
13014
12826
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
13015
|
-
import * as
|
|
13016
|
-
import { jsx as
|
|
13017
|
-
var CaretDownIcon =
|
|
13018
|
-
return /* @__PURE__ */
|
|
13019
|
-
children: /* @__PURE__ */
|
|
12827
|
+
import * as React48 from "react";
|
|
12828
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
12829
|
+
var CaretDownIcon = React48.forwardRef(function(props, ref) {
|
|
12830
|
+
return /* @__PURE__ */ jsx68(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12831
|
+
children: /* @__PURE__ */ jsx68("svg", {
|
|
13020
12832
|
ref: ref,
|
|
13021
12833
|
className: "w-full h-full",
|
|
13022
12834
|
viewBox: "0 0 24 24",
|
|
13023
12835
|
fill: "currentColor",
|
|
13024
12836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13025
|
-
children: /* @__PURE__ */
|
|
12837
|
+
children: /* @__PURE__ */ jsx68("path", {
|
|
13026
12838
|
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
12839
|
})
|
|
13028
12840
|
})
|
|
13029
12841
|
}));
|
|
13030
12842
|
});
|
|
13031
12843
|
// src/components/icons/solid/CodeIcon.tsx
|
|
13032
|
-
import * as
|
|
13033
|
-
import { jsx as
|
|
13034
|
-
var CodeIcon =
|
|
13035
|
-
return /* @__PURE__ */
|
|
13036
|
-
children: /* @__PURE__ */
|
|
12844
|
+
import * as React49 from "react";
|
|
12845
|
+
import { jsx as jsx69, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
12846
|
+
var CodeIcon = React49.forwardRef(function(props, ref) {
|
|
12847
|
+
return /* @__PURE__ */ jsx69(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12848
|
+
children: /* @__PURE__ */ jsxs37("svg", {
|
|
13037
12849
|
ref: ref,
|
|
13038
12850
|
className: "w-full h-full",
|
|
13039
12851
|
viewBox: "0 0 24 24",
|
|
13040
12852
|
fill: "currentColor",
|
|
13041
12853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13042
12854
|
children: [
|
|
13043
|
-
/* @__PURE__ */
|
|
12855
|
+
/* @__PURE__ */ jsx69("path", {
|
|
13044
12856
|
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
12857
|
}),
|
|
13046
|
-
/* @__PURE__ */
|
|
12858
|
+
/* @__PURE__ */ jsx69("path", {
|
|
13047
12859
|
fillRule: "evenodd",
|
|
13048
12860
|
clipRule: "evenodd",
|
|
13049
12861
|
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 +12865,17 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13053
12865
|
}));
|
|
13054
12866
|
});
|
|
13055
12867
|
// src/components/icons/solid/DragIcon.tsx
|
|
13056
|
-
import * as
|
|
13057
|
-
import { jsx as
|
|
13058
|
-
var DragIcon =
|
|
13059
|
-
return /* @__PURE__ */
|
|
13060
|
-
children: /* @__PURE__ */
|
|
12868
|
+
import * as React50 from "react";
|
|
12869
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
12870
|
+
var DragIcon = React50.forwardRef(function(props, ref) {
|
|
12871
|
+
return /* @__PURE__ */ jsx70(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12872
|
+
children: /* @__PURE__ */ jsx70("svg", {
|
|
13061
12873
|
ref: ref,
|
|
13062
12874
|
className: "w-full h-full",
|
|
13063
12875
|
viewBox: "0 0 24 24",
|
|
13064
12876
|
fill: "currentColor",
|
|
13065
12877
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13066
|
-
children: /* @__PURE__ */
|
|
12878
|
+
children: /* @__PURE__ */ jsx70("path", {
|
|
13067
12879
|
fillRule: "evenodd",
|
|
13068
12880
|
clipRule: "evenodd",
|
|
13069
12881
|
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 +12884,22 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13072
12884
|
}));
|
|
13073
12885
|
});
|
|
13074
12886
|
// src/components/icons/solid/PhoneIcon.tsx
|
|
13075
|
-
import * as
|
|
13076
|
-
import { jsx as
|
|
13077
|
-
var PhoneIcon =
|
|
13078
|
-
return /* @__PURE__ */
|
|
13079
|
-
children: /* @__PURE__ */
|
|
12887
|
+
import * as React51 from "react";
|
|
12888
|
+
import { jsx as jsx71, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
12889
|
+
var PhoneIcon = React51.forwardRef(function(props, ref) {
|
|
12890
|
+
return /* @__PURE__ */ jsx71(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12891
|
+
children: /* @__PURE__ */ jsxs38("svg", {
|
|
13080
12892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13081
12893
|
width: "20",
|
|
13082
12894
|
height: "20",
|
|
13083
12895
|
viewBox: "0 0 20 20",
|
|
13084
12896
|
fill: "none",
|
|
13085
12897
|
children: [
|
|
13086
|
-
/* @__PURE__ */
|
|
12898
|
+
/* @__PURE__ */ jsx71("path", {
|
|
13087
12899
|
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
12900
|
fill: "#3E5CFA"
|
|
13089
12901
|
}),
|
|
13090
|
-
/* @__PURE__ */
|
|
12902
|
+
/* @__PURE__ */ jsx71("path", {
|
|
13091
12903
|
fillRule: "evenodd",
|
|
13092
12904
|
clipRule: "evenodd",
|
|
13093
12905
|
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 +12910,17 @@ var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
|
13098
12910
|
}));
|
|
13099
12911
|
});
|
|
13100
12912
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13101
|
-
import * as
|
|
13102
|
-
import { jsx as
|
|
13103
|
-
var RectangleGroupIcon =
|
|
13104
|
-
return /* @__PURE__ */
|
|
13105
|
-
children: /* @__PURE__ */
|
|
12913
|
+
import * as React52 from "react";
|
|
12914
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
12915
|
+
var RectangleGroupIcon = React52.forwardRef(function(props, ref) {
|
|
12916
|
+
return /* @__PURE__ */ jsx72(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12917
|
+
children: /* @__PURE__ */ jsx72("svg", {
|
|
13106
12918
|
ref: ref,
|
|
13107
12919
|
className: "w-full h-full",
|
|
13108
12920
|
viewBox: "0 0 24 24",
|
|
13109
12921
|
fill: "currentColor",
|
|
13110
12922
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13111
|
-
children: /* @__PURE__ */
|
|
12923
|
+
children: /* @__PURE__ */ jsx72("path", {
|
|
13112
12924
|
fillRule: "evenodd",
|
|
13113
12925
|
clipRule: "evenodd",
|
|
13114
12926
|
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 +12928,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13116
12928
|
})
|
|
13117
12929
|
}));
|
|
13118
12930
|
});
|
|
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,
|
|
12931
|
+
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
12932
|
|
|
13121
12933
|
decimal.js/decimal.mjs:
|
|
13122
12934
|
(*!
|