elseware-ui 2.29.0 → 2.29.2
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.css +1362 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +82 -76
- package/dist/index.d.ts +82 -76
- package/dist/index.js +252 -190
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +251 -190
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -12
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var reactChartjs2 = require('react-chartjs-2');
|
|
|
8
8
|
var chart_js = require('chart.js');
|
|
9
9
|
var React4 = require('react');
|
|
10
10
|
var react = require('@headlessui/react');
|
|
11
|
-
var
|
|
11
|
+
var classNames24 = require('classnames');
|
|
12
12
|
var fa6 = require('react-icons/fa6');
|
|
13
13
|
var ReactWorldFlags = require('react-world-flags');
|
|
14
14
|
var emojiFlags = require('emoji-flags');
|
|
@@ -46,7 +46,7 @@ function _interopNamespace(e) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
var React4__default = /*#__PURE__*/_interopDefault(React4);
|
|
49
|
-
var
|
|
49
|
+
var classNames24__default = /*#__PURE__*/_interopDefault(classNames24);
|
|
50
50
|
var ReactWorldFlags__default = /*#__PURE__*/_interopDefault(ReactWorldFlags);
|
|
51
51
|
var emojiFlags__default = /*#__PURE__*/_interopDefault(emojiFlags);
|
|
52
52
|
var d3__namespace = /*#__PURE__*/_interopNamespace(d3);
|
|
@@ -70,6 +70,11 @@ function cn(...inputs) {
|
|
|
70
70
|
return tailwindMerge.twMerge(clsx_default(inputs));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
// src/utils/components.ts
|
|
74
|
+
function isRenderFn(children) {
|
|
75
|
+
return typeof children === "function";
|
|
76
|
+
}
|
|
77
|
+
|
|
73
78
|
// src/data/meta/currency.tsx
|
|
74
79
|
var CURRENCIES = [
|
|
75
80
|
{ name: "US Dollar", symbol: "$", code: "USD" },
|
|
@@ -168,10 +173,8 @@ var getCurrencySymbol = (code) => {
|
|
|
168
173
|
return currency ? currency.symbol : null;
|
|
169
174
|
};
|
|
170
175
|
|
|
171
|
-
// src/utils/
|
|
172
|
-
|
|
173
|
-
return typeof children === "function";
|
|
174
|
-
}
|
|
176
|
+
// src/utils/enum.ts
|
|
177
|
+
var enumValues = (enumObject) => Object.values(enumObject);
|
|
175
178
|
|
|
176
179
|
// src/utils/routes.ts
|
|
177
180
|
var normalize = (path) => {
|
|
@@ -764,7 +767,7 @@ function Accordion({
|
|
|
764
767
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
765
768
|
"div",
|
|
766
769
|
{
|
|
767
|
-
className:
|
|
770
|
+
className: classNames24__default.default({
|
|
768
771
|
"inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs": true,
|
|
769
772
|
"hover:cursor-pointer": toggleOnSummaryClick
|
|
770
773
|
}),
|
|
@@ -782,7 +785,7 @@ function Accordion({
|
|
|
782
785
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
783
786
|
fa6.FaCircleChevronDown,
|
|
784
787
|
{
|
|
785
|
-
className:
|
|
788
|
+
className: classNames24__default.default(
|
|
786
789
|
"text-xl transition-transform duration-300",
|
|
787
790
|
{ "rotate-180": collapse }
|
|
788
791
|
)
|
|
@@ -808,7 +811,7 @@ function Accordion({
|
|
|
808
811
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
809
812
|
"div",
|
|
810
813
|
{
|
|
811
|
-
className:
|
|
814
|
+
className: classNames24__default.default({
|
|
812
815
|
"border-t border-t-eui-dark-400/40 eui-text-sm": true,
|
|
813
816
|
"p-5": enableChildrenPadding
|
|
814
817
|
}),
|
|
@@ -888,7 +891,7 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
888
891
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
889
892
|
"div",
|
|
890
893
|
{
|
|
891
|
-
className:
|
|
894
|
+
className: classNames24__default.default(
|
|
892
895
|
"flex items-start gap-4 p-6 border-b border-white/10",
|
|
893
896
|
className
|
|
894
897
|
),
|
|
@@ -904,14 +907,14 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
904
907
|
}
|
|
905
908
|
var CardHeader_default = CardHeader;
|
|
906
909
|
function CardContent({ children, className }) {
|
|
907
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
910
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames24__default.default("p-6 text-gray-300 text-sm", className), children });
|
|
908
911
|
}
|
|
909
912
|
var CardContent_default = CardContent;
|
|
910
913
|
function CardFooter({ children, className }) {
|
|
911
914
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
912
915
|
"div",
|
|
913
916
|
{
|
|
914
|
-
className:
|
|
917
|
+
className: classNames24__default.default(
|
|
915
918
|
"flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
|
|
916
919
|
className
|
|
917
920
|
),
|
|
@@ -953,7 +956,7 @@ function GradientAnimation({
|
|
|
953
956
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
954
957
|
"div",
|
|
955
958
|
{
|
|
956
|
-
className:
|
|
959
|
+
className: classNames24__default.default("absolute inset-0"),
|
|
957
960
|
style: {
|
|
958
961
|
background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
|
|
959
962
|
backgroundSize: cfg.backgroundSize,
|
|
@@ -1099,7 +1102,7 @@ function MotionSurface({
|
|
|
1099
1102
|
}) {
|
|
1100
1103
|
const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
|
|
1101
1104
|
const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
|
|
1102
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1105
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames24__default.default("relative overflow-hidden", className), children: [
|
|
1103
1106
|
AnimationComponent && /* @__PURE__ */ jsxRuntime.jsx(AnimationComponent, { config: animationConfig, animated }),
|
|
1104
1107
|
OverlayComponent && /* @__PURE__ */ jsxRuntime.jsx(OverlayComponent, { config: overlayConfig }),
|
|
1105
1108
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10", children })
|
|
@@ -1613,10 +1616,10 @@ var Image2 = ({
|
|
|
1613
1616
|
};
|
|
1614
1617
|
function Info({
|
|
1615
1618
|
children,
|
|
1616
|
-
className,
|
|
1617
1619
|
variant = "default",
|
|
1618
1620
|
appearance = "lite",
|
|
1619
1621
|
shape = "roundedSquare",
|
|
1622
|
+
className,
|
|
1620
1623
|
...rest
|
|
1621
1624
|
}) {
|
|
1622
1625
|
const variantStyles = appearance === "solid" ? infoVariantsSolid[variant] : appearance === "ghost" ? infoVariantsGhost[variant] : infoVariantsLite[variant];
|
|
@@ -1654,7 +1657,7 @@ var Chapter = ({
|
|
|
1654
1657
|
"div",
|
|
1655
1658
|
{
|
|
1656
1659
|
onClick,
|
|
1657
|
-
className:
|
|
1660
|
+
className: classNames24__default.default({
|
|
1658
1661
|
[`${textVariants[variant]}`]: variant,
|
|
1659
1662
|
[`${levels[level]}`]: level,
|
|
1660
1663
|
[`${styles}`]: styles,
|
|
@@ -1685,7 +1688,7 @@ var Section = ({
|
|
|
1685
1688
|
"div",
|
|
1686
1689
|
{
|
|
1687
1690
|
onClick,
|
|
1688
|
-
className:
|
|
1691
|
+
className: classNames24__default.default({
|
|
1689
1692
|
[`${textVariants[variant]} opacity-80`]: variant,
|
|
1690
1693
|
[`${levels2[level]}`]: level,
|
|
1691
1694
|
[`${styles}`]: styles,
|
|
@@ -1716,7 +1719,7 @@ var Paragraph = ({
|
|
|
1716
1719
|
"div",
|
|
1717
1720
|
{
|
|
1718
1721
|
onClick,
|
|
1719
|
-
className:
|
|
1722
|
+
className: classNames24__default.default({
|
|
1720
1723
|
[`${textVariants[variant]}`]: variant,
|
|
1721
1724
|
[`${levels3[level]}`]: level,
|
|
1722
1725
|
[`${styles}`]: styles,
|
|
@@ -1732,7 +1735,7 @@ var Quote = ({ children, styles }) => {
|
|
|
1732
1735
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1733
1736
|
"div",
|
|
1734
1737
|
{
|
|
1735
|
-
className:
|
|
1738
|
+
className: classNames24__default.default({
|
|
1736
1739
|
"pl-4 py-1 border-l-2 border-l-gray-400 w-full": true,
|
|
1737
1740
|
[`${styles}`]: styles
|
|
1738
1741
|
}),
|
|
@@ -1859,15 +1862,19 @@ var List_default = List;
|
|
|
1859
1862
|
var applyDiscount = (discount, price) => {
|
|
1860
1863
|
return (price - price / 100 * discount).toFixed(2);
|
|
1861
1864
|
};
|
|
1862
|
-
function PriceTag({
|
|
1865
|
+
function PriceTag({
|
|
1866
|
+
discount,
|
|
1867
|
+
price,
|
|
1868
|
+
code = "USD",
|
|
1869
|
+
className,
|
|
1870
|
+
...rest
|
|
1871
|
+
}) {
|
|
1863
1872
|
if (price === 0) {
|
|
1864
1873
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1865
1874
|
"div",
|
|
1866
1875
|
{
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
[`${styles}`]: styles
|
|
1870
|
-
}),
|
|
1876
|
+
...rest,
|
|
1877
|
+
className: cn("inline-flex gap-3 text-md w-fit", className),
|
|
1871
1878
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-green-700 px-2 py-1 font-bold rounded-md text-gray-200", children: "FREE" })
|
|
1872
1879
|
}
|
|
1873
1880
|
);
|
|
@@ -1876,10 +1883,8 @@ function PriceTag({ discount, price, code = "USD", styles }) {
|
|
|
1876
1883
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1877
1884
|
"div",
|
|
1878
1885
|
{
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
[`${styles}`]: styles
|
|
1882
|
-
}),
|
|
1886
|
+
...rest,
|
|
1887
|
+
className: cn("inline-flex gap-3 text-md w-fit", className),
|
|
1883
1888
|
children: [
|
|
1884
1889
|
discount && discount !== 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-green-700 px-2 py-1 font-bold rounded-md text-gray-200", children: [
|
|
1885
1890
|
"-",
|
|
@@ -1921,11 +1926,11 @@ var ProgressBar = ({
|
|
|
1921
1926
|
showLabel = true,
|
|
1922
1927
|
label,
|
|
1923
1928
|
labelPlacement = "top",
|
|
1924
|
-
|
|
1925
|
-
|
|
1929
|
+
className,
|
|
1930
|
+
...rest
|
|
1926
1931
|
}) => {
|
|
1927
1932
|
const clampedValue = Math.min(100, Math.max(0, value));
|
|
1928
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1933
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...rest, className: cn("w-full", className), children: [
|
|
1929
1934
|
showLabel && labelPlacement === "top" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-1 text-gray-400", children: [
|
|
1930
1935
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: label ?? "Progress" }),
|
|
1931
1936
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
@@ -1936,7 +1941,7 @@ var ProgressBar = ({
|
|
|
1936
1941
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1937
1942
|
"div",
|
|
1938
1943
|
{
|
|
1939
|
-
className:
|
|
1944
|
+
className: cn(
|
|
1940
1945
|
"relative w-full bg-gray-700 rounded overflow-hidden",
|
|
1941
1946
|
sizes[size]
|
|
1942
1947
|
),
|
|
@@ -1944,7 +1949,7 @@ var ProgressBar = ({
|
|
|
1944
1949
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1945
1950
|
"div",
|
|
1946
1951
|
{
|
|
1947
|
-
className:
|
|
1952
|
+
className: cn(
|
|
1948
1953
|
"h-full transition-all duration-300 ease-out",
|
|
1949
1954
|
variants[variant]
|
|
1950
1955
|
),
|
|
@@ -1962,20 +1967,36 @@ var ProgressBar = ({
|
|
|
1962
1967
|
)
|
|
1963
1968
|
] });
|
|
1964
1969
|
};
|
|
1965
|
-
function StarRating({
|
|
1970
|
+
function StarRating({
|
|
1971
|
+
rating,
|
|
1972
|
+
reviewAmount,
|
|
1973
|
+
isNumericRatingEnabled = false,
|
|
1974
|
+
isReviewAmountEnabled = false,
|
|
1975
|
+
className,
|
|
1976
|
+
...rest
|
|
1977
|
+
}) {
|
|
1966
1978
|
const fullStars = Math.floor(rating);
|
|
1967
1979
|
const halfStars = Math.ceil(rating - fullStars);
|
|
1968
1980
|
const emptyStars = 5 - fullStars - halfStars;
|
|
1969
1981
|
const starIcon = /* @__PURE__ */ jsxRuntime.jsx(bs.BsStarFill, {});
|
|
1970
1982
|
const halfStarIcon = /* @__PURE__ */ jsxRuntime.jsx(bs.BsStarHalf, {});
|
|
1971
1983
|
const emptyStarIcon = /* @__PURE__ */ jsxRuntime.jsx(bs.BsStar, {});
|
|
1972
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "inline-flex gap-2 items-center", children: [
|
|
1984
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...rest, className: "inline-flex gap-2 items-center", children: [
|
|
1973
1985
|
isNumericRatingEnabled && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-yellow-700 font-semibold text-[14px]", children: rating.toFixed(1) }),
|
|
1974
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1986
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1987
|
+
"div",
|
|
1988
|
+
{
|
|
1989
|
+
className: cn(
|
|
1990
|
+
"flex flex-row gap-[2px] text-[13px] text-yellow-600",
|
|
1991
|
+
className
|
|
1992
|
+
),
|
|
1993
|
+
children: [
|
|
1994
|
+
[...Array(fullStars)].map((_, index) => /* @__PURE__ */ jsxRuntime.jsx("span", { children: starIcon }, index)),
|
|
1995
|
+
[...Array(halfStars)].map((_, index) => /* @__PURE__ */ jsxRuntime.jsx("span", { children: halfStarIcon }, index + fullStars)),
|
|
1996
|
+
[...Array(emptyStars)].map((_, index) => /* @__PURE__ */ jsxRuntime.jsx("span", { children: emptyStarIcon }, index + fullStars + halfStars))
|
|
1997
|
+
]
|
|
1998
|
+
}
|
|
1999
|
+
),
|
|
1979
2000
|
isReviewAmountEnabled && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-gray-400 font-semibold text-[14px]", children: [
|
|
1980
2001
|
"(",
|
|
1981
2002
|
reviewAmount,
|
|
@@ -2062,83 +2083,6 @@ function StarRatingDistribution({
|
|
|
2062
2083
|
] });
|
|
2063
2084
|
}
|
|
2064
2085
|
var StarRatingDistribution_default = StarRatingDistribution;
|
|
2065
|
-
var Skeleton = ({ children, styles }) => {
|
|
2066
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2067
|
-
"div",
|
|
2068
|
-
{
|
|
2069
|
-
className: classNames28__default.default({
|
|
2070
|
-
"bg-gradient-to-r from-eui-dark-300/20 to-eui-dark-100/10 dark:from-eui-light-400/10 dark:to-eui-light-400/5 animate-pulse min-w-5 min-h-3": true,
|
|
2071
|
-
[`${styles}`]: styles
|
|
2072
|
-
}),
|
|
2073
|
-
children
|
|
2074
|
-
}
|
|
2075
|
-
);
|
|
2076
|
-
};
|
|
2077
|
-
function SliderItem({ img, onClick, selected, styles }) {
|
|
2078
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2079
|
-
"div",
|
|
2080
|
-
{
|
|
2081
|
-
onClick,
|
|
2082
|
-
className: classNames28__default.default({
|
|
2083
|
-
"flex-shrink-0 w-[160px] h-[90px] border-[3px] overflow-hidden brightness-50": true,
|
|
2084
|
-
"hover:cursor-pointer hover:border-eui-secondary-600 hover:shadow-lg hover:shadow-[#167d0f]/50 hover:brightness-100": true,
|
|
2085
|
-
"border-transparent": !selected,
|
|
2086
|
-
"border-opacity-100 border-[#0b6b05] brightness-100": selected,
|
|
2087
|
-
"transition-all ease-in-out duration-500": true,
|
|
2088
|
-
[`${styles}`]: styles
|
|
2089
|
-
}),
|
|
2090
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(CloudinaryImage_default, { publicId: img, alt: "image", className: "w-full h-full object-cover" })
|
|
2091
|
-
}
|
|
2092
|
-
);
|
|
2093
|
-
}
|
|
2094
|
-
var SliderItem_default = SliderItem;
|
|
2095
|
-
function Slider({ isLoading, isSuccess, coverArt, screenshots }) {
|
|
2096
|
-
const [images, setImages] = React4.useState([
|
|
2097
|
-
{
|
|
2098
|
-
img: coverArt,
|
|
2099
|
-
selected: true
|
|
2100
|
-
}
|
|
2101
|
-
]);
|
|
2102
|
-
React4.useEffect(() => {
|
|
2103
|
-
setImages([
|
|
2104
|
-
{
|
|
2105
|
-
img: coverArt,
|
|
2106
|
-
selected: true
|
|
2107
|
-
}
|
|
2108
|
-
]);
|
|
2109
|
-
}, [isSuccess]);
|
|
2110
|
-
React4.useEffect(() => {
|
|
2111
|
-
if (screenshots) {
|
|
2112
|
-
const selectableScreenshots = [];
|
|
2113
|
-
screenshots.forEach((item) => {
|
|
2114
|
-
selectableScreenshots.push({
|
|
2115
|
-
img: item,
|
|
2116
|
-
selected: false
|
|
2117
|
-
});
|
|
2118
|
-
});
|
|
2119
|
-
setImages((prev) => [...prev, ...selectableScreenshots]);
|
|
2120
|
-
}
|
|
2121
|
-
}, [isSuccess]);
|
|
2122
|
-
const [displayImg, setDisplayImg] = React4.useState(coverArt);
|
|
2123
|
-
React4.useEffect(() => {
|
|
2124
|
-
setDisplayImg(coverArt);
|
|
2125
|
-
}, [coverArt]);
|
|
2126
|
-
const displayImageHandler = (itemIndex, img) => {
|
|
2127
|
-
setDisplayImg(img);
|
|
2128
|
-
const newArray = images.map((obj, i) => {
|
|
2129
|
-
if (i === itemIndex) {
|
|
2130
|
-
return { ...obj, selected: true };
|
|
2131
|
-
}
|
|
2132
|
-
return { ...obj, selected: false };
|
|
2133
|
-
});
|
|
2134
|
-
setImages(newArray);
|
|
2135
|
-
};
|
|
2136
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { styles: "w-full aspect-w-16 aspect-h-9" }) }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2137
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(CloudinaryImage_default, { publicId: displayImg, alt: "displayImg", className: "aspect-w-16 aspect-h-9" }) }),
|
|
2138
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-[130px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute pt-2 pb-4 w-full flex space-x-2 overflow-auto", children: images.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(SliderItem_default, { img: item.img, onClick: () => displayImageHandler(index, item.img), selected: item.selected }, index)) }) })
|
|
2139
|
-
] }) });
|
|
2140
|
-
}
|
|
2141
|
-
var Slider_default = Slider;
|
|
2142
2086
|
function Table({
|
|
2143
2087
|
title,
|
|
2144
2088
|
columns,
|
|
@@ -2230,7 +2174,7 @@ function Tag({ text, styles }) {
|
|
|
2230
2174
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2231
2175
|
"span",
|
|
2232
2176
|
{
|
|
2233
|
-
className:
|
|
2177
|
+
className: classNames24__default.default({
|
|
2234
2178
|
"text-xs bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 px-2 py-1 rounded mr-2 mt-1": true,
|
|
2235
2179
|
[`${styles}`]: styles
|
|
2236
2180
|
}),
|
|
@@ -2319,7 +2263,7 @@ var ValueBadge = ({
|
|
|
2319
2263
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2320
2264
|
"div",
|
|
2321
2265
|
{
|
|
2322
|
-
className:
|
|
2266
|
+
className: classNames24__default.default(
|
|
2323
2267
|
"px-2 py-1 rounded-md text-xs font-semibold w-fit eg-theme-transition",
|
|
2324
2268
|
noBackground ? "bg-transparent" : style.bg,
|
|
2325
2269
|
style.color,
|
|
@@ -2403,7 +2347,7 @@ var Form = ({
|
|
|
2403
2347
|
/* @__PURE__ */ jsxRuntime.jsx(UnsavedChangesGuard_default, { formik: formik$1, enabled: warnOnUnsavedChanges }),
|
|
2404
2348
|
/* @__PURE__ */ jsxRuntime.jsx(DirtyObserver_default, { formik: formik$1, onDirtyChange }),
|
|
2405
2349
|
/* @__PURE__ */ jsxRuntime.jsx(FormObserver_default, { formik: formik$1, onChange }),
|
|
2406
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2350
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames24__default.default(styles), children })
|
|
2407
2351
|
] })
|
|
2408
2352
|
}
|
|
2409
2353
|
);
|
|
@@ -2412,7 +2356,7 @@ var Backdrop = ({ children, styles }) => {
|
|
|
2412
2356
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2413
2357
|
"div",
|
|
2414
2358
|
{
|
|
2415
|
-
className:
|
|
2359
|
+
className: classNames24__default.default({
|
|
2416
2360
|
"bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
|
|
2417
2361
|
[`${styles}`]: styles
|
|
2418
2362
|
}),
|
|
@@ -2421,6 +2365,19 @@ var Backdrop = ({ children, styles }) => {
|
|
|
2421
2365
|
);
|
|
2422
2366
|
};
|
|
2423
2367
|
var Backdrop_default = Backdrop;
|
|
2368
|
+
var Skeleton = ({ children, className, ...rest }) => {
|
|
2369
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2370
|
+
"div",
|
|
2371
|
+
{
|
|
2372
|
+
...rest,
|
|
2373
|
+
className: cn(
|
|
2374
|
+
"bg-gradient-to-r from-eui-dark-300/20 to-eui-dark-100/10 dark:from-eui-light-400/10 dark:to-eui-light-400/5 animate-pulse min-w-5 min-h-3",
|
|
2375
|
+
className
|
|
2376
|
+
),
|
|
2377
|
+
children
|
|
2378
|
+
}
|
|
2379
|
+
);
|
|
2380
|
+
};
|
|
2424
2381
|
function sendToast(data = { status: "", message: "" }) {
|
|
2425
2382
|
switch (data?.status) {
|
|
2426
2383
|
case "success":
|
|
@@ -2510,7 +2467,7 @@ function FormResponse({
|
|
|
2510
2467
|
return /* @__PURE__ */ jsxRuntime.jsx(Transition4.TransitionDropdown, { visibility: text ? true : false, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2511
2468
|
"div",
|
|
2512
2469
|
{
|
|
2513
|
-
className:
|
|
2470
|
+
className: classNames24__default.default({
|
|
2514
2471
|
"font-poppins font-light text-sm": true,
|
|
2515
2472
|
[`${variantsLite[variant]}`]: variant,
|
|
2516
2473
|
[`${shapes[shape]}`]: shape,
|
|
@@ -13918,7 +13875,7 @@ var ThemeSwitch = () => {
|
|
|
13918
13875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13919
13876
|
"div",
|
|
13920
13877
|
{
|
|
13921
|
-
className:
|
|
13878
|
+
className: classNames24__default.default(
|
|
13922
13879
|
"w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
|
|
13923
13880
|
theme === "dark" ? "translate-x-8" : "translate-x-0"
|
|
13924
13881
|
)
|
|
@@ -14026,7 +13983,7 @@ function WorldMap({
|
|
|
14026
13983
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14027
13984
|
"div",
|
|
14028
13985
|
{
|
|
14029
|
-
className:
|
|
13986
|
+
className: classNames24__default.default({
|
|
14030
13987
|
[`${styles}`]: true
|
|
14031
13988
|
}),
|
|
14032
13989
|
children: [
|
|
@@ -14120,7 +14077,7 @@ var Button = ({
|
|
|
14120
14077
|
onClick,
|
|
14121
14078
|
onMouseMove: handleMouseMove,
|
|
14122
14079
|
disabled: disabled || loading,
|
|
14123
|
-
className:
|
|
14080
|
+
className: classNames24__default.default({
|
|
14124
14081
|
"relative z-0 overflow-hidden group": true,
|
|
14125
14082
|
"flex flex-row items-center justify-center gap-2": true,
|
|
14126
14083
|
[`${variants[variant]}`]: !ghost,
|
|
@@ -14166,7 +14123,7 @@ function InputResponse({
|
|
|
14166
14123
|
return /* @__PURE__ */ jsxRuntime.jsx(Transition4.TransitionDropdown, { visibility, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14167
14124
|
"div",
|
|
14168
14125
|
{
|
|
14169
|
-
className:
|
|
14126
|
+
className: classNames24__default.default({
|
|
14170
14127
|
"font-medium text-sm py-1 px-2": true,
|
|
14171
14128
|
[`${textVariants[variant]}`]: variant,
|
|
14172
14129
|
"transition-all ease-in-out": true,
|
|
@@ -14181,7 +14138,7 @@ function InputLabel({ text, children, styles }) {
|
|
|
14181
14138
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14182
14139
|
"label",
|
|
14183
14140
|
{
|
|
14184
|
-
className:
|
|
14141
|
+
className: classNames24__default.default({
|
|
14185
14142
|
"px-0 eui-text-sm text-[13.5px] pointer-events-none select-none": true,
|
|
14186
14143
|
"transition-all ease-in-out": true,
|
|
14187
14144
|
[`${styles}`]: styles
|
|
@@ -14233,7 +14190,7 @@ var Input = ({
|
|
|
14233
14190
|
...field,
|
|
14234
14191
|
...props,
|
|
14235
14192
|
placeholder,
|
|
14236
|
-
className:
|
|
14193
|
+
className: classNames24__default.default({
|
|
14237
14194
|
"border peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:outline-none h-[50px]": true,
|
|
14238
14195
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
14239
14196
|
"border-eui-danger-500": meta.touched && meta.error,
|
|
@@ -14278,7 +14235,7 @@ var InputFile = ({
|
|
|
14278
14235
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14279
14236
|
"div",
|
|
14280
14237
|
{
|
|
14281
|
-
className:
|
|
14238
|
+
className: classNames24__default.default(
|
|
14282
14239
|
"border rounded-sm bg-eui-primary-300/10 px-3 pt-3 text-md text-eui-dark-100 cursor-pointer h-[50px] flex items-center",
|
|
14283
14240
|
{
|
|
14284
14241
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -14304,7 +14261,7 @@ var InputFile = ({
|
|
|
14304
14261
|
InputLabel_default,
|
|
14305
14262
|
{
|
|
14306
14263
|
text: placeholder,
|
|
14307
|
-
styles:
|
|
14264
|
+
styles: classNames24__default.default({
|
|
14308
14265
|
"absolute left-2 eui-text-sm peer-placeholder-shown:text-base peer-placeholder-shown:top-3 pointer-events-none": true,
|
|
14309
14266
|
"top-[0.7px]": showFloatingLabel,
|
|
14310
14267
|
"top-[13px] text-base": !showFloatingLabel
|
|
@@ -14330,7 +14287,7 @@ var InputList = ({ name, placeholder, shape }) => {
|
|
|
14330
14287
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(formik.FieldArray, { name, children: ({ push, remove, move }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14331
14288
|
"div",
|
|
14332
14289
|
{
|
|
14333
|
-
className:
|
|
14290
|
+
className: classNames24__default.default({
|
|
14334
14291
|
"flex flex-col space-y-2 w-full bg-eui-primary-300/10": true,
|
|
14335
14292
|
[`${shapes[resolvedShape]}`]: true
|
|
14336
14293
|
}),
|
|
@@ -14361,7 +14318,7 @@ var InputList = ({ name, placeholder, shape }) => {
|
|
|
14361
14318
|
{
|
|
14362
14319
|
name: `${name}[${index}]`,
|
|
14363
14320
|
placeholder: `Item ${index + 1}`,
|
|
14364
|
-
className:
|
|
14321
|
+
className: classNames24__default.default(
|
|
14365
14322
|
"border peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:outline-none h-[50px]",
|
|
14366
14323
|
[`${shapes[resolvedShape]}`],
|
|
14367
14324
|
errors[name]?.[index] ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -14429,7 +14386,7 @@ var InputListGroup = ({
|
|
|
14429
14386
|
values[name]?.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14430
14387
|
"div",
|
|
14431
14388
|
{
|
|
14432
|
-
className:
|
|
14389
|
+
className: classNames24__default.default({
|
|
14433
14390
|
"flex flex-col gap-2 bg-eui-primary-300/10 p-3": true,
|
|
14434
14391
|
[`${shapes[resolvedShape]}`]: true
|
|
14435
14392
|
}),
|
|
@@ -14441,7 +14398,7 @@ var InputListGroup = ({
|
|
|
14441
14398
|
{
|
|
14442
14399
|
name: `${name}[${groupIndex}].name`,
|
|
14443
14400
|
placeholder: `Group ${groupIndex + 1}`,
|
|
14444
|
-
className:
|
|
14401
|
+
className: classNames24__default.default(
|
|
14445
14402
|
"border w-full bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none h-[40px]",
|
|
14446
14403
|
[`${shapes[resolvedShape]}`],
|
|
14447
14404
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -14483,7 +14440,7 @@ var InputListGroup = ({
|
|
|
14483
14440
|
{
|
|
14484
14441
|
ref: provided.innerRef,
|
|
14485
14442
|
...provided.droppableProps,
|
|
14486
|
-
className:
|
|
14443
|
+
className: classNames24__default.default({
|
|
14487
14444
|
"space-y-2 bg-eui-primary-300/10 p-2": true,
|
|
14488
14445
|
[`${shapes[resolvedShape]}`]: true
|
|
14489
14446
|
}),
|
|
@@ -14498,7 +14455,7 @@ var InputListGroup = ({
|
|
|
14498
14455
|
{
|
|
14499
14456
|
ref: provided2.innerRef,
|
|
14500
14457
|
...provided2.draggableProps,
|
|
14501
|
-
className:
|
|
14458
|
+
className: classNames24__default.default({
|
|
14502
14459
|
"flex items-center gap-2 bg-eui-primary-300/10 p-2": true,
|
|
14503
14460
|
[`${shapes[resolvedShape]}`]: true
|
|
14504
14461
|
}),
|
|
@@ -14509,7 +14466,7 @@ var InputListGroup = ({
|
|
|
14509
14466
|
{
|
|
14510
14467
|
name: `${name}[${groupIndex}].items[${itemIndex}]`,
|
|
14511
14468
|
placeholder: `Item ${itemIndex + 1}`,
|
|
14512
|
-
className:
|
|
14469
|
+
className: classNames24__default.default(
|
|
14513
14470
|
"border w-full bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none h-[40px]",
|
|
14514
14471
|
[`${shapes[resolvedShape]}`],
|
|
14515
14472
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -14586,7 +14543,7 @@ var Checkbox = (props) => {
|
|
|
14586
14543
|
const { placeholder } = props;
|
|
14587
14544
|
const isMulti = isMultiCheckbox(props);
|
|
14588
14545
|
const [field, meta, helpers] = isMulti ? formik.useField(props) : formik.useField(props);
|
|
14589
|
-
const checkboxClass =
|
|
14546
|
+
const checkboxClass = classNames24__default.default(
|
|
14590
14547
|
"appearance-none cursor-pointer transition-all duration-300",
|
|
14591
14548
|
"w-5 h-5 min-w-[1.25rem] min-h-[1.25rem]",
|
|
14592
14549
|
"flex-shrink-0",
|
|
@@ -14687,7 +14644,7 @@ var DateSelector = ({
|
|
|
14687
14644
|
...field,
|
|
14688
14645
|
...props,
|
|
14689
14646
|
placeholder,
|
|
14690
|
-
className:
|
|
14647
|
+
className: classNames24__default.default({
|
|
14691
14648
|
"border border-eui-primary-400 peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
|
|
14692
14649
|
"border-eui-danger-500": meta.touched && meta.error,
|
|
14693
14650
|
"transition-all ease-in-out": true,
|
|
@@ -14796,7 +14753,7 @@ var ImageInput = React4.forwardRef(
|
|
|
14796
14753
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14797
14754
|
"label",
|
|
14798
14755
|
{
|
|
14799
|
-
className:
|
|
14756
|
+
className: classNames24__default.default({
|
|
14800
14757
|
"border-2 border-dashed border-gray-700 bg-gray-900 h-[200px] w-[300px] flex flex-col gap-2 items-center justify-center group": true,
|
|
14801
14758
|
"hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
|
|
14802
14759
|
"transition-all ease-in-out duration-150": true
|
|
@@ -14913,7 +14870,7 @@ function Radio({
|
|
|
14913
14870
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14914
14871
|
"div",
|
|
14915
14872
|
{
|
|
14916
|
-
className:
|
|
14873
|
+
className: classNames24__default.default({
|
|
14917
14874
|
"flex flex-row gap-2 items-center mx-1 my-2": true
|
|
14918
14875
|
}),
|
|
14919
14876
|
children: [
|
|
@@ -14926,7 +14883,7 @@ function Radio({
|
|
|
14926
14883
|
...props,
|
|
14927
14884
|
value: option.value,
|
|
14928
14885
|
checked: field2.value === option.value,
|
|
14929
|
-
className:
|
|
14886
|
+
className: classNames24__default.default({
|
|
14930
14887
|
"appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
|
|
14931
14888
|
// base radio button styles
|
|
14932
14889
|
"checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
|
|
@@ -14938,7 +14895,7 @@ function Radio({
|
|
|
14938
14895
|
"label",
|
|
14939
14896
|
{
|
|
14940
14897
|
htmlFor: option.value,
|
|
14941
|
-
className:
|
|
14898
|
+
className: classNames24__default.default({
|
|
14942
14899
|
"eui-text-md text-sm": true
|
|
14943
14900
|
}),
|
|
14944
14901
|
children: option.label
|
|
@@ -14981,7 +14938,7 @@ function StarRatingInput({
|
|
|
14981
14938
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14982
14939
|
"div",
|
|
14983
14940
|
{
|
|
14984
|
-
className:
|
|
14941
|
+
className: classNames24__default.default({
|
|
14985
14942
|
"inline-flex gap-[4px] text-[20px]": true,
|
|
14986
14943
|
[`${styles}`]: styles
|
|
14987
14944
|
}),
|
|
@@ -14994,7 +14951,7 @@ function StarRatingInput({
|
|
|
14994
14951
|
onClick: () => handleOnClick(index),
|
|
14995
14952
|
onMouseEnter: () => setHover(index),
|
|
14996
14953
|
onMouseLeave: () => setHover(null),
|
|
14997
|
-
className:
|
|
14954
|
+
className: classNames24__default.default({
|
|
14998
14955
|
"text-yellow-600": index <= (hover ?? rating - 1),
|
|
14999
14956
|
"text-gray-400": index > (hover ?? rating - 1)
|
|
15000
14957
|
}),
|
|
@@ -15038,7 +14995,7 @@ function Select({
|
|
|
15038
14995
|
{
|
|
15039
14996
|
as: "select",
|
|
15040
14997
|
...props,
|
|
15041
|
-
className:
|
|
14998
|
+
className: classNames24__default.default({
|
|
15042
14999
|
"border peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
|
|
15043
15000
|
"border-eui-primary-400": !(meta.touched && meta.error),
|
|
15044
15001
|
"border-red-500": meta.touched && meta.error,
|
|
@@ -15090,7 +15047,7 @@ function Switch({
|
|
|
15090
15047
|
"div",
|
|
15091
15048
|
{
|
|
15092
15049
|
onClick: () => helpers.setValue(!field.value),
|
|
15093
|
-
className:
|
|
15050
|
+
className: classNames24__default.default(
|
|
15094
15051
|
"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
|
|
15095
15052
|
"peer-checked:after:translate-x-full peer-checked:after:border-white",
|
|
15096
15053
|
"after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
|
|
@@ -15147,7 +15104,7 @@ function Tags({
|
|
|
15147
15104
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15148
15105
|
"div",
|
|
15149
15106
|
{
|
|
15150
|
-
className:
|
|
15107
|
+
className: classNames24__default.default(
|
|
15151
15108
|
"border rounded-sm flex flex-wrap items-center gap-2 px-2 pt-2 pb-6 min-h-[3rem]",
|
|
15152
15109
|
{
|
|
15153
15110
|
"bg-eui-primary-300/10 eui-text-md": true,
|
|
@@ -15195,7 +15152,7 @@ function Tags({
|
|
|
15195
15152
|
InputLabel_default,
|
|
15196
15153
|
{
|
|
15197
15154
|
text: placeholder,
|
|
15198
|
-
styles:
|
|
15155
|
+
styles: classNames24__default.default(
|
|
15199
15156
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
15200
15157
|
input.length > 0 || field.value.length > 0 ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
15201
15158
|
)
|
|
@@ -15236,7 +15193,7 @@ function TextArea({
|
|
|
15236
15193
|
as: "textarea",
|
|
15237
15194
|
...field,
|
|
15238
15195
|
...props,
|
|
15239
|
-
className:
|
|
15196
|
+
className: classNames24__default.default({
|
|
15240
15197
|
"border peer w-full bg-eui-primary-300/10 eui-text-md outline-none px-3 py-5 resize-none focus:resize-none focus:outline-none": true,
|
|
15241
15198
|
"transition-all ease-in-out": true,
|
|
15242
15199
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -15250,7 +15207,7 @@ function TextArea({
|
|
|
15250
15207
|
InputLabel_default,
|
|
15251
15208
|
{
|
|
15252
15209
|
text: placeholder,
|
|
15253
|
-
styles:
|
|
15210
|
+
styles: classNames24__default.default(
|
|
15254
15211
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
15255
15212
|
field.value ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
15256
15213
|
)
|
|
@@ -15281,7 +15238,7 @@ function ContentArea({
|
|
|
15281
15238
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15282
15239
|
"div",
|
|
15283
15240
|
{
|
|
15284
|
-
className:
|
|
15241
|
+
className: classNames24__default.default({
|
|
15285
15242
|
"min-h-screen h-full w-full py-3 px-5": true,
|
|
15286
15243
|
"py-3 px-5": !enablePadding,
|
|
15287
15244
|
"py-3 px-5 lg:px-[150px]": enablePadding,
|
|
@@ -15297,7 +15254,7 @@ function FlexCol({ children, gap = 3, styles }) {
|
|
|
15297
15254
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15298
15255
|
"div",
|
|
15299
15256
|
{
|
|
15300
|
-
className:
|
|
15257
|
+
className: classNames24__default.default({
|
|
15301
15258
|
[`flex flex-col gap-${gap}`]: true,
|
|
15302
15259
|
[`${styles}`]: styles
|
|
15303
15260
|
}),
|
|
@@ -15310,7 +15267,7 @@ function FlexRow({ children, gap = 3, styles }) {
|
|
|
15310
15267
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15311
15268
|
"div",
|
|
15312
15269
|
{
|
|
15313
|
-
className:
|
|
15270
|
+
className: classNames24__default.default({
|
|
15314
15271
|
[`flex flex-row gap-${gap}`]: true,
|
|
15315
15272
|
[`${styles}`]: styles
|
|
15316
15273
|
}),
|
|
@@ -15329,7 +15286,7 @@ function Grid({ children, styles }) {
|
|
|
15329
15286
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15330
15287
|
"div",
|
|
15331
15288
|
{
|
|
15332
|
-
className:
|
|
15289
|
+
className: classNames24__default.default({
|
|
15333
15290
|
[`grid`]: true,
|
|
15334
15291
|
[`${styles}`]: styles
|
|
15335
15292
|
}),
|
|
@@ -15346,7 +15303,7 @@ var Layout = ({
|
|
|
15346
15303
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15347
15304
|
"div",
|
|
15348
15305
|
{
|
|
15349
|
-
className:
|
|
15306
|
+
className: classNames24__default.default({
|
|
15350
15307
|
// "flex h-full w-screen bg-gray-100 overflow-auto": true,
|
|
15351
15308
|
"flex bg-eui-light-600": true,
|
|
15352
15309
|
"flex-col": flexDirection === "vertical",
|
|
@@ -15365,7 +15322,7 @@ var Header = ({
|
|
|
15365
15322
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15366
15323
|
"div",
|
|
15367
15324
|
{
|
|
15368
|
-
className:
|
|
15325
|
+
className: classNames24__default.default({
|
|
15369
15326
|
static: position === "static",
|
|
15370
15327
|
fixed: position === "fixed",
|
|
15371
15328
|
sticky: position === "sticky",
|
|
@@ -15405,7 +15362,7 @@ var Content = ({
|
|
|
15405
15362
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15406
15363
|
"div",
|
|
15407
15364
|
{
|
|
15408
|
-
className:
|
|
15365
|
+
className: classNames24__default.default({
|
|
15409
15366
|
"w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
|
|
15410
15367
|
"md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
|
|
15411
15368
|
// Shift when sidebar is open (desktop)
|
|
@@ -15421,7 +15378,7 @@ var Footer = ({ children, styles }) => {
|
|
|
15421
15378
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15422
15379
|
"div",
|
|
15423
15380
|
{
|
|
15424
|
-
className:
|
|
15381
|
+
className: classNames24__default.default({
|
|
15425
15382
|
"bottom-0 w-full h-fit": true,
|
|
15426
15383
|
"border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
|
|
15427
15384
|
[`${styles}`]: styles
|
|
@@ -15509,7 +15466,7 @@ function MarkdownEditor({
|
|
|
15509
15466
|
const [field, meta, helpers] = formik.useField(props);
|
|
15510
15467
|
const { theme } = useTheme_default();
|
|
15511
15468
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
15512
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
15469
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames24__default.default(theme === "dark" ? "dark" : "", styles), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15513
15470
|
editor.MDXEditor,
|
|
15514
15471
|
{
|
|
15515
15472
|
markdown: field.value,
|
|
@@ -15612,7 +15569,7 @@ function MarkdownTOC({ title = "Table of Contents" }) {
|
|
|
15612
15569
|
"button",
|
|
15613
15570
|
{
|
|
15614
15571
|
onClick: () => scrollToHeading(heading.id),
|
|
15615
|
-
className:
|
|
15572
|
+
className: classNames24__default.default(
|
|
15616
15573
|
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
15617
15574
|
"hover:text-primary",
|
|
15618
15575
|
activeHeading === heading.id ? "text-primary font-semibold underline" : "text-gray-500 dark:text-gray-400"
|
|
@@ -15768,7 +15725,7 @@ function BreadcrumbItem({
|
|
|
15768
15725
|
{
|
|
15769
15726
|
href,
|
|
15770
15727
|
onClick,
|
|
15771
|
-
className:
|
|
15728
|
+
className: classNames24__default.default({
|
|
15772
15729
|
"text-lg font-semibold": true,
|
|
15773
15730
|
"text-gray-400 hover:text-gray-600 cursor-pointer": !active,
|
|
15774
15731
|
"text-eui-light-800": active,
|
|
@@ -15845,7 +15802,7 @@ var Breadcrumb = ({
|
|
|
15845
15802
|
index < resolvedData.length - 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15846
15803
|
"span",
|
|
15847
15804
|
{
|
|
15848
|
-
className:
|
|
15805
|
+
className: classNames24__default.default({
|
|
15849
15806
|
"text-lg font-semibold text-gray-500": true,
|
|
15850
15807
|
[`px-${gap}`]: gap
|
|
15851
15808
|
}),
|
|
@@ -15859,7 +15816,7 @@ var Breadcrumb = ({
|
|
|
15859
15816
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15860
15817
|
"div",
|
|
15861
15818
|
{
|
|
15862
|
-
className:
|
|
15819
|
+
className: classNames24__default.default({
|
|
15863
15820
|
"inline-flex": true,
|
|
15864
15821
|
[`${styles}`]: styles
|
|
15865
15822
|
}),
|
|
@@ -15889,7 +15846,7 @@ var Drawer = ({
|
|
|
15889
15846
|
{
|
|
15890
15847
|
show: visibility,
|
|
15891
15848
|
enter: "transform transition duration-200 ease-out",
|
|
15892
|
-
enterFrom:
|
|
15849
|
+
enterFrom: classNames24__default.default({
|
|
15893
15850
|
"-translate-x-full": side === "left",
|
|
15894
15851
|
"translate-x-full": side === "right",
|
|
15895
15852
|
"-translate-y-full": side === "top",
|
|
@@ -15898,7 +15855,7 @@ var Drawer = ({
|
|
|
15898
15855
|
enterTo: "translate-x-0 translate-y-0",
|
|
15899
15856
|
leave: "transform transition duration-200 ease-in",
|
|
15900
15857
|
leaveFrom: "translate-x-0 translate-y-0",
|
|
15901
|
-
leaveTo:
|
|
15858
|
+
leaveTo: classNames24__default.default({
|
|
15902
15859
|
"-translate-x-full": side === "left",
|
|
15903
15860
|
"translate-x-full": side === "right",
|
|
15904
15861
|
"-translate-y-full": side === "top",
|
|
@@ -15907,7 +15864,7 @@ var Drawer = ({
|
|
|
15907
15864
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15908
15865
|
"div",
|
|
15909
15866
|
{
|
|
15910
|
-
className:
|
|
15867
|
+
className: classNames24__default.default(
|
|
15911
15868
|
"fixed shadow-lg z-50",
|
|
15912
15869
|
{
|
|
15913
15870
|
"h-full w-[300px]": isHorizontal,
|
|
@@ -15939,7 +15896,7 @@ function DrawerToggler({
|
|
|
15939
15896
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15940
15897
|
"div",
|
|
15941
15898
|
{
|
|
15942
|
-
className:
|
|
15899
|
+
className: classNames24__default.default({
|
|
15943
15900
|
"text-xl p-3 cursor-pointer": true,
|
|
15944
15901
|
"transition-all ease-in-out": true,
|
|
15945
15902
|
"text-eui-dark-500 dark:text-eui-secondary-600": !styles,
|
|
@@ -15987,7 +15944,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
15987
15944
|
childrenContent = /* @__PURE__ */ jsxRuntime.jsx(
|
|
15988
15945
|
"div",
|
|
15989
15946
|
{
|
|
15990
|
-
className:
|
|
15947
|
+
className: classNames24__default.default({
|
|
15991
15948
|
"grid w-full": true,
|
|
15992
15949
|
"grid-cols-1": isMobile,
|
|
15993
15950
|
"grid-cols-3": !isMobile,
|
|
@@ -16000,7 +15957,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
16000
15957
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16001
15958
|
"div",
|
|
16002
15959
|
{
|
|
16003
|
-
className:
|
|
15960
|
+
className: classNames24__default.default({
|
|
16004
15961
|
[`${styles}`]: styles
|
|
16005
15962
|
}),
|
|
16006
15963
|
children: childrenContent
|
|
@@ -16041,7 +15998,7 @@ var FooterNavGroup = ({
|
|
|
16041
15998
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16042
15999
|
"div",
|
|
16043
16000
|
{
|
|
16044
|
-
className:
|
|
16001
|
+
className: classNames24__default.default({
|
|
16045
16002
|
"": true,
|
|
16046
16003
|
"py-2 font-semibold eui-text-lg": !styles,
|
|
16047
16004
|
[`${styles}`]: styles
|
|
@@ -16086,7 +16043,7 @@ var FooterNavItem = ({
|
|
|
16086
16043
|
"div",
|
|
16087
16044
|
{
|
|
16088
16045
|
onClick: handleNavigation,
|
|
16089
|
-
className:
|
|
16046
|
+
className: classNames24__default.default({
|
|
16090
16047
|
"flex flex-row items-center gap-3 cursor-pointer p-1 w-full": true,
|
|
16091
16048
|
"transition-all duration-200 ease-in-out": true,
|
|
16092
16049
|
"text-sm eui-text-sm": !styles,
|
|
@@ -16115,7 +16072,7 @@ var FooterNavItemTitle = ({
|
|
|
16115
16072
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16116
16073
|
"div",
|
|
16117
16074
|
{
|
|
16118
|
-
className:
|
|
16075
|
+
className: classNames24__default.default({
|
|
16119
16076
|
"": true,
|
|
16120
16077
|
"py-2 font-thin eui-text-md": !styles,
|
|
16121
16078
|
[`${styles}`]: styles
|
|
@@ -16168,7 +16125,7 @@ function HeaderNav({ data = [], styles }) {
|
|
|
16168
16125
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16169
16126
|
"div",
|
|
16170
16127
|
{
|
|
16171
|
-
className:
|
|
16128
|
+
className: classNames24__default.default({
|
|
16172
16129
|
[`${styles}`]: styles
|
|
16173
16130
|
}),
|
|
16174
16131
|
children: childrenContent
|
|
@@ -16230,7 +16187,7 @@ var HeaderNavGroup = ({
|
|
|
16230
16187
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16231
16188
|
"div",
|
|
16232
16189
|
{
|
|
16233
|
-
className:
|
|
16190
|
+
className: classNames24__default.default({
|
|
16234
16191
|
"flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
|
|
16235
16192
|
"transition-all duration-300 ease-in-out": true,
|
|
16236
16193
|
"eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
|
|
@@ -16258,7 +16215,7 @@ var HeaderNavGroup = ({
|
|
|
16258
16215
|
children && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16259
16216
|
bs.BsChevronDown,
|
|
16260
16217
|
{
|
|
16261
|
-
className:
|
|
16218
|
+
className: classNames24__default.default({
|
|
16262
16219
|
"text-md": true,
|
|
16263
16220
|
"transition-all ease-in-out duration-300": true,
|
|
16264
16221
|
"rotate-180": !collapsed
|
|
@@ -16271,7 +16228,7 @@ var HeaderNavGroup = ({
|
|
|
16271
16228
|
!collapsed && children && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16272
16229
|
"div",
|
|
16273
16230
|
{
|
|
16274
|
-
className:
|
|
16231
|
+
className: classNames24__default.default({
|
|
16275
16232
|
"absolute min-w-80 left-0 top-full mt-1 border border-eui-dark-300/10 dark:border-eui-dark-300/50 shadow-lg eui-shadow-lg z-50 w-full eui-bg-md": true,
|
|
16276
16233
|
"transition-all duration-300 ease-in-out": true
|
|
16277
16234
|
}),
|
|
@@ -16301,7 +16258,7 @@ var HeaderNavItem = ({
|
|
|
16301
16258
|
"div",
|
|
16302
16259
|
{
|
|
16303
16260
|
onClick: handleNavigation,
|
|
16304
|
-
className:
|
|
16261
|
+
className: classNames24__default.default({
|
|
16305
16262
|
"flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
|
|
16306
16263
|
"transition-all duration-200 ease-in-out": true,
|
|
16307
16264
|
"eui-text-md border-b border-eui-dark-500/20 dark:border-eui-secondary-900/20 bg-gradient-to-r from-eui-dark-500/10 dark:from-eui-secondary-900/10": !styles,
|
|
@@ -16330,7 +16287,7 @@ var HeaderNavItemTitle = ({
|
|
|
16330
16287
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16331
16288
|
"div",
|
|
16332
16289
|
{
|
|
16333
|
-
className:
|
|
16290
|
+
className: classNames24__default.default({
|
|
16334
16291
|
"p-3 font-thin": true,
|
|
16335
16292
|
"eui-text-md": !styles,
|
|
16336
16293
|
[`${styles}`]: styles
|
|
@@ -16370,7 +16327,7 @@ var Link = ({
|
|
|
16370
16327
|
href: href || "#",
|
|
16371
16328
|
target: targets[target],
|
|
16372
16329
|
onClick: handleClick,
|
|
16373
|
-
className:
|
|
16330
|
+
className: classNames24__default.default({
|
|
16374
16331
|
[`${textVariants[variant]}`]: variant,
|
|
16375
16332
|
[`${decorations[decoration]}`]: decoration,
|
|
16376
16333
|
"font-bold": bold,
|
|
@@ -16835,7 +16792,7 @@ function Modal({
|
|
|
16835
16792
|
"div",
|
|
16836
16793
|
{
|
|
16837
16794
|
ref: modalRef,
|
|
16838
|
-
className:
|
|
16795
|
+
className: classNames24__default.default({
|
|
16839
16796
|
"eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit": true,
|
|
16840
16797
|
[`${shapes[resolvedShape]}`]: true,
|
|
16841
16798
|
[`${styles}`]: styles
|
|
@@ -16846,7 +16803,7 @@ function Modal({
|
|
|
16846
16803
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16847
16804
|
"div",
|
|
16848
16805
|
{
|
|
16849
|
-
className:
|
|
16806
|
+
className: classNames24__default.default({
|
|
16850
16807
|
"w-[60px] h-[60px] flex items-center justify-center transition-standard-fast": true,
|
|
16851
16808
|
"hover:cursor-pointer hover:bg-eui-dark-500": true
|
|
16852
16809
|
}),
|
|
@@ -16952,7 +16909,7 @@ function ShowMore({ text, limit }) {
|
|
|
16952
16909
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16953
16910
|
"div",
|
|
16954
16911
|
{
|
|
16955
|
-
className:
|
|
16912
|
+
className: classNames24__default.default({
|
|
16956
16913
|
"text-blue-300 px-1 pb-1 mt-1": true,
|
|
16957
16914
|
"bg-slate-900/70": !showMore,
|
|
16958
16915
|
"bg-gradient-to-t from-slate-900/50 to-transparent": showMore
|
|
@@ -17014,6 +16971,99 @@ function DocumentationPanel({ value, toc = true }) {
|
|
|
17014
16971
|
] }) });
|
|
17015
16972
|
}
|
|
17016
16973
|
var DocumentationPanel_default = DocumentationPanel;
|
|
16974
|
+
function SliderItem({
|
|
16975
|
+
img,
|
|
16976
|
+
onClick,
|
|
16977
|
+
selected,
|
|
16978
|
+
className,
|
|
16979
|
+
...rest
|
|
16980
|
+
}) {
|
|
16981
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16982
|
+
"div",
|
|
16983
|
+
{
|
|
16984
|
+
...rest,
|
|
16985
|
+
onClick,
|
|
16986
|
+
className: cn(
|
|
16987
|
+
"flex-shrink-0 w-[160px] h-[90px] border-[3px] overflow-hidden brightness-50",
|
|
16988
|
+
"hover:cursor-pointer hover:border-eui-secondary-600 hover:shadow-lg hover:shadow-[#167d0f]/50 hover:brightness-100",
|
|
16989
|
+
selected ? "border-opacity-100 border-[#0b6b05] brightness-100" : "border-transparent",
|
|
16990
|
+
"transition-all ease-in-out duration-500",
|
|
16991
|
+
className
|
|
16992
|
+
),
|
|
16993
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16994
|
+
CloudinaryImage_default,
|
|
16995
|
+
{
|
|
16996
|
+
publicId: img,
|
|
16997
|
+
alt: "image",
|
|
16998
|
+
className: "w-full h-full object-cover"
|
|
16999
|
+
}
|
|
17000
|
+
)
|
|
17001
|
+
}
|
|
17002
|
+
);
|
|
17003
|
+
}
|
|
17004
|
+
var SliderItem_default = SliderItem;
|
|
17005
|
+
function Slider({ isLoading, isSuccess, coverArt, screenshots }) {
|
|
17006
|
+
const [images, setImages] = React4.useState([
|
|
17007
|
+
{
|
|
17008
|
+
img: coverArt,
|
|
17009
|
+
selected: true
|
|
17010
|
+
}
|
|
17011
|
+
]);
|
|
17012
|
+
React4.useEffect(() => {
|
|
17013
|
+
setImages([
|
|
17014
|
+
{
|
|
17015
|
+
img: coverArt,
|
|
17016
|
+
selected: true
|
|
17017
|
+
}
|
|
17018
|
+
]);
|
|
17019
|
+
}, [isSuccess]);
|
|
17020
|
+
React4.useEffect(() => {
|
|
17021
|
+
if (screenshots) {
|
|
17022
|
+
const selectableScreenshots = [];
|
|
17023
|
+
screenshots.forEach((item) => {
|
|
17024
|
+
selectableScreenshots.push({
|
|
17025
|
+
img: item,
|
|
17026
|
+
selected: false
|
|
17027
|
+
});
|
|
17028
|
+
});
|
|
17029
|
+
setImages((prev) => [...prev, ...selectableScreenshots]);
|
|
17030
|
+
}
|
|
17031
|
+
}, [isSuccess]);
|
|
17032
|
+
const [displayImg, setDisplayImg] = React4.useState(coverArt);
|
|
17033
|
+
React4.useEffect(() => {
|
|
17034
|
+
setDisplayImg(coverArt);
|
|
17035
|
+
}, [coverArt]);
|
|
17036
|
+
const displayImageHandler = (itemIndex, img) => {
|
|
17037
|
+
setDisplayImg(img);
|
|
17038
|
+
const newArray = images.map((obj, i) => {
|
|
17039
|
+
if (i === itemIndex) {
|
|
17040
|
+
return { ...obj, selected: true };
|
|
17041
|
+
}
|
|
17042
|
+
return { ...obj, selected: false };
|
|
17043
|
+
});
|
|
17044
|
+
setImages(newArray);
|
|
17045
|
+
};
|
|
17046
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "w-full aspect-w-16 aspect-h-9" }) }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
17047
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17048
|
+
CloudinaryImage_default,
|
|
17049
|
+
{
|
|
17050
|
+
publicId: displayImg,
|
|
17051
|
+
alt: "displayImg",
|
|
17052
|
+
className: "aspect-w-16 aspect-h-9"
|
|
17053
|
+
}
|
|
17054
|
+
) }),
|
|
17055
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-[130px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute pt-2 pb-4 w-full flex space-x-2 overflow-auto", children: images.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
17056
|
+
SliderItem_default,
|
|
17057
|
+
{
|
|
17058
|
+
img: item.img,
|
|
17059
|
+
onClick: () => displayImageHandler(index, item.img),
|
|
17060
|
+
selected: item.selected
|
|
17061
|
+
},
|
|
17062
|
+
index
|
|
17063
|
+
)) }) })
|
|
17064
|
+
] }) });
|
|
17065
|
+
}
|
|
17066
|
+
var Slider_default = Slider;
|
|
17017
17067
|
function WorldMapCountryTable({
|
|
17018
17068
|
title = "Country Breakdown",
|
|
17019
17069
|
data
|
|
@@ -17110,7 +17160,7 @@ function BoxNavItem({ icon, name, to, selected, onClick }) {
|
|
|
17110
17160
|
type: "button",
|
|
17111
17161
|
onClick: handleClick,
|
|
17112
17162
|
"aria-current": selected ? "page" : void 0,
|
|
17113
|
-
className:
|
|
17163
|
+
className: classNames24__default.default(
|
|
17114
17164
|
"w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
|
|
17115
17165
|
"hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
|
|
17116
17166
|
selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
|
|
@@ -17500,7 +17550,7 @@ function GenericLayout({
|
|
|
17500
17550
|
return /* @__PURE__ */ jsxRuntime.jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17501
17551
|
"div",
|
|
17502
17552
|
{
|
|
17503
|
-
className:
|
|
17553
|
+
className: classNames24__default.default({
|
|
17504
17554
|
[`${styles}`]: styles
|
|
17505
17555
|
}),
|
|
17506
17556
|
children
|
|
@@ -17549,7 +17599,7 @@ function SidemenuLayout({ data, children }) {
|
|
|
17549
17599
|
return /* @__PURE__ */ jsxRuntime.jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
17550
17600
|
"div",
|
|
17551
17601
|
{
|
|
17552
|
-
className:
|
|
17602
|
+
className: classNames24__default.default({
|
|
17553
17603
|
grid: true,
|
|
17554
17604
|
"grid-cols-7 gap-10": !isMobile,
|
|
17555
17605
|
"grid-cols-1 gap-": isMobile
|
|
@@ -17577,22 +17627,33 @@ function EUIDevLayout({
|
|
|
17577
17627
|
shape: "roundedSquare"
|
|
17578
17628
|
}
|
|
17579
17629
|
},
|
|
17580
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(GenericLayout_default, { children: /* @__PURE__ */ jsxRuntime.jsxs(Layout, { children: [
|
|
17630
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CloudinaryProvider, { cloudName: "demo", children: /* @__PURE__ */ jsxRuntime.jsx(GenericLayout_default, { children: /* @__PURE__ */ jsxRuntime.jsxs(Layout, { children: [
|
|
17581
17631
|
header,
|
|
17582
17632
|
/* @__PURE__ */ jsxRuntime.jsx(Content, { styles: "pt-[60px]", children: /* @__PURE__ */ jsxRuntime.jsx(ContentArea_default, { enablePadding: true, children }) }),
|
|
17583
17633
|
footer
|
|
17584
|
-
] }) })
|
|
17634
|
+
] }) }) })
|
|
17585
17635
|
}
|
|
17586
17636
|
);
|
|
17587
17637
|
}
|
|
17588
17638
|
var EUIDevLayout_default = EUIDevLayout;
|
|
17589
|
-
function ScrollToTop({
|
|
17639
|
+
function ScrollToTop({
|
|
17640
|
+
trigger,
|
|
17641
|
+
behavior = "smooth",
|
|
17642
|
+
target
|
|
17643
|
+
}) {
|
|
17590
17644
|
React4.useEffect(() => {
|
|
17645
|
+
if (target) {
|
|
17646
|
+
target.scrollTo({
|
|
17647
|
+
top: 0,
|
|
17648
|
+
behavior
|
|
17649
|
+
});
|
|
17650
|
+
return;
|
|
17651
|
+
}
|
|
17591
17652
|
window.scrollTo({
|
|
17592
17653
|
top: 0,
|
|
17593
17654
|
behavior
|
|
17594
17655
|
});
|
|
17595
|
-
}, [trigger]);
|
|
17656
|
+
}, [trigger, target]);
|
|
17596
17657
|
return null;
|
|
17597
17658
|
}
|
|
17598
17659
|
var ScrollToTop_default = ScrollToTop;
|
|
@@ -17733,6 +17794,7 @@ exports.cn = cn;
|
|
|
17733
17794
|
exports.createForceLayout = createForceLayout;
|
|
17734
17795
|
exports.createGridLayout = createGridLayout;
|
|
17735
17796
|
exports.createTreeLayout = createTreeLayout;
|
|
17797
|
+
exports.enumValues = enumValues;
|
|
17736
17798
|
exports.getCurrencySymbol = getCurrencySymbol;
|
|
17737
17799
|
exports.getLayout = getLayout;
|
|
17738
17800
|
exports.isMatch = isMatch;
|