@undefine-ui/design-system 2.4.0 → 2.6.0
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/README.md +5 -4
- package/dist/index.cjs +507 -331
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -3
- package/dist/index.d.ts +56 -3
- package/dist/index.js +483 -311
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -159,6 +159,25 @@ var useBoolean = (defaultValue) => {
|
|
|
159
159
|
return memoizedValue;
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
+
// src/hooks/usePopover.ts
|
|
163
|
+
import { useState as useState2, useCallback as useCallback2 } from "react";
|
|
164
|
+
var usePopover = () => {
|
|
165
|
+
const [anchorEl, setAnchorEl] = useState2(null);
|
|
166
|
+
const onOpen = useCallback2((event) => {
|
|
167
|
+
setAnchorEl(event.currentTarget);
|
|
168
|
+
}, []);
|
|
169
|
+
const onClose = useCallback2(() => {
|
|
170
|
+
setAnchorEl(null);
|
|
171
|
+
}, []);
|
|
172
|
+
return {
|
|
173
|
+
open: !!anchorEl,
|
|
174
|
+
anchorEl,
|
|
175
|
+
onOpen,
|
|
176
|
+
onClose,
|
|
177
|
+
setAnchorEl
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
|
|
162
181
|
// src/hooks/useSettings.ts
|
|
163
182
|
import { useContext } from "react";
|
|
164
183
|
|
|
@@ -406,12 +425,12 @@ var defaultSettings = {
|
|
|
406
425
|
};
|
|
407
426
|
|
|
408
427
|
// src/contexts/settings/context.tsx
|
|
409
|
-
import { useMemo as useMemo3, useState as
|
|
428
|
+
import { useMemo as useMemo3, useState as useState4, useCallback as useCallback4, createContext } from "react";
|
|
410
429
|
|
|
411
430
|
// src/hooks/useLocalStorage.ts
|
|
412
|
-
import { useMemo as useMemo2, useState as
|
|
431
|
+
import { useMemo as useMemo2, useState as useState3, useEffect, useCallback as useCallback3 } from "react";
|
|
413
432
|
var useLocalStorage = (key, initialState) => {
|
|
414
|
-
const [state, set] =
|
|
433
|
+
const [state, set] = useState3(initialState);
|
|
415
434
|
const multiValue = initialState && typeof initialState === "object";
|
|
416
435
|
const canReset = !isEqual(state, initialState);
|
|
417
436
|
useEffect(() => {
|
|
@@ -424,7 +443,7 @@ var useLocalStorage = (key, initialState) => {
|
|
|
424
443
|
}
|
|
425
444
|
}
|
|
426
445
|
}, [key, multiValue]);
|
|
427
|
-
const setState =
|
|
446
|
+
const setState = useCallback3(
|
|
428
447
|
(updateState) => {
|
|
429
448
|
if (multiValue) {
|
|
430
449
|
set((prevValue) => {
|
|
@@ -438,7 +457,7 @@ var useLocalStorage = (key, initialState) => {
|
|
|
438
457
|
},
|
|
439
458
|
[key, multiValue]
|
|
440
459
|
);
|
|
441
|
-
const setField =
|
|
460
|
+
const setField = useCallback3(
|
|
442
461
|
(name, updateValue) => {
|
|
443
462
|
if (multiValue) {
|
|
444
463
|
setState({ [name]: updateValue });
|
|
@@ -446,7 +465,7 @@ var useLocalStorage = (key, initialState) => {
|
|
|
446
465
|
},
|
|
447
466
|
[multiValue, setState]
|
|
448
467
|
);
|
|
449
|
-
const resetState =
|
|
468
|
+
const resetState = useCallback3(() => {
|
|
450
469
|
set(initialState);
|
|
451
470
|
removeStorage(key);
|
|
452
471
|
}, [initialState, key]);
|
|
@@ -515,11 +534,11 @@ var SettingsConsumer = SettingsContext.Consumer;
|
|
|
515
534
|
var SettingsProvider = ({ children, settings }) => {
|
|
516
535
|
const localStorage2 = useLocalStorage(STORAGE_KEY, settings);
|
|
517
536
|
const values = localStorage2;
|
|
518
|
-
const [openDrawer, setOpenDrawer] =
|
|
519
|
-
const onToggleDrawer =
|
|
537
|
+
const [openDrawer, setOpenDrawer] = useState4(false);
|
|
538
|
+
const onToggleDrawer = useCallback4(() => {
|
|
520
539
|
setOpenDrawer((prev) => !prev);
|
|
521
540
|
}, []);
|
|
522
|
-
const onCloseDrawer =
|
|
541
|
+
const onCloseDrawer = useCallback4(() => {
|
|
523
542
|
setOpenDrawer(false);
|
|
524
543
|
}, []);
|
|
525
544
|
const memoizedValue = useMemo3(
|
|
@@ -555,20 +574,20 @@ var useSettings = () => {
|
|
|
555
574
|
};
|
|
556
575
|
|
|
557
576
|
// src/hooks/useSetState.ts
|
|
558
|
-
import { useMemo as useMemo4, useState as
|
|
577
|
+
import { useMemo as useMemo4, useState as useState5, useCallback as useCallback5 } from "react";
|
|
559
578
|
var useSetState = (initialState) => {
|
|
560
|
-
const [state, set] =
|
|
579
|
+
const [state, set] = useState5(initialState);
|
|
561
580
|
const canReset = !isEqual(state, initialState);
|
|
562
|
-
const setState =
|
|
581
|
+
const setState = useCallback5((updateState) => {
|
|
563
582
|
set((prevValue) => ({ ...prevValue, ...updateState }));
|
|
564
583
|
}, []);
|
|
565
|
-
const setField =
|
|
584
|
+
const setField = useCallback5(
|
|
566
585
|
(name, updateValue) => {
|
|
567
586
|
setState({ [name]: updateValue });
|
|
568
587
|
},
|
|
569
588
|
[setState]
|
|
570
589
|
);
|
|
571
|
-
const onResetState =
|
|
590
|
+
const onResetState = useCallback5(() => {
|
|
572
591
|
set(initialState);
|
|
573
592
|
}, [initialState]);
|
|
574
593
|
const memoizedValue = useMemo4(
|
|
@@ -644,11 +663,11 @@ var useEventListener = ({
|
|
|
644
663
|
};
|
|
645
664
|
|
|
646
665
|
// src/hooks/useCopyToClipboard.ts
|
|
647
|
-
import { useMemo as useMemo6, useState as
|
|
666
|
+
import { useMemo as useMemo6, useState as useState6, useCallback as useCallback6 } from "react";
|
|
648
667
|
var useCopyToClipboard = () => {
|
|
649
|
-
const [copiedText, setCopiedText] =
|
|
650
|
-
const [isCopied, setIsCopied] =
|
|
651
|
-
const copy =
|
|
668
|
+
const [copiedText, setCopiedText] = useState6("");
|
|
669
|
+
const [isCopied, setIsCopied] = useState6(false);
|
|
670
|
+
const copy = useCallback6(
|
|
652
671
|
async (text2) => {
|
|
653
672
|
if (!navigator?.clipboard) {
|
|
654
673
|
console.warn("Clipboard not supported");
|
|
@@ -676,11 +695,11 @@ var useCopyToClipboard = () => {
|
|
|
676
695
|
};
|
|
677
696
|
|
|
678
697
|
// src/hooks/useScrollOffsetTop.ts
|
|
679
|
-
import { useRef as useRef2, useMemo as useMemo7, useState as
|
|
698
|
+
import { useRef as useRef2, useMemo as useMemo7, useState as useState7, useEffect as useEffect3, useCallback as useCallback7 } from "react";
|
|
680
699
|
var useScrollOffSetTop = (top = 0) => {
|
|
681
700
|
const elementRef = useRef2(null);
|
|
682
|
-
const [offsetTop, setOffsetTop] =
|
|
683
|
-
const handleScrollChange =
|
|
701
|
+
const [offsetTop, setOffsetTop] = useState7(false);
|
|
702
|
+
const handleScrollChange = useCallback7(() => {
|
|
684
703
|
const scrollHeight = Math.round(window.scrollY);
|
|
685
704
|
if (elementRef?.current) {
|
|
686
705
|
const rect = elementRef.current.getBoundingClientRect();
|
|
@@ -1738,6 +1757,7 @@ import Box from "@mui/material/Box";
|
|
|
1738
1757
|
// src/components/Icon/components/index.ts
|
|
1739
1758
|
var components_exports = {};
|
|
1740
1759
|
__export(components_exports, {
|
|
1760
|
+
BellNotification: () => BellNotification,
|
|
1741
1761
|
CheckboxDefault: () => CheckboxDefault,
|
|
1742
1762
|
CheckboxIndeterminate: () => CheckboxIndeterminate,
|
|
1743
1763
|
CheckboxSelect: () => CheckboxSelect,
|
|
@@ -1748,6 +1768,7 @@ __export(components_exports, {
|
|
|
1748
1768
|
EyeClosed: () => EyeClosed,
|
|
1749
1769
|
InfoCircleFill: () => InfoCircleFill,
|
|
1750
1770
|
InfoCircleOutline: () => InfoCircleOutline,
|
|
1771
|
+
KeyCommand: () => KeyCommand,
|
|
1751
1772
|
Loader: () => Loader,
|
|
1752
1773
|
LongArrowUpLeftSolid: () => LongArrowUpLeftSolid,
|
|
1753
1774
|
NavArrowDown: () => NavArrowDown,
|
|
@@ -1756,6 +1777,7 @@ __export(components_exports, {
|
|
|
1756
1777
|
RadioDefault: () => RadioDefault,
|
|
1757
1778
|
RadioSelect: () => RadioSelect,
|
|
1758
1779
|
Search: () => Search,
|
|
1780
|
+
Settings: () => Settings,
|
|
1759
1781
|
Trash: () => Trash,
|
|
1760
1782
|
UserFill: () => UserFill,
|
|
1761
1783
|
UserOutline: () => UserOutline,
|
|
@@ -1967,10 +1989,46 @@ var Search = (props) => {
|
|
|
1967
1989
|
);
|
|
1968
1990
|
};
|
|
1969
1991
|
|
|
1970
|
-
// src/components/Icon/components/
|
|
1992
|
+
// src/components/Icon/components/Settings.tsx
|
|
1971
1993
|
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1972
|
-
var
|
|
1994
|
+
var Settings = (props) => {
|
|
1973
1995
|
return /* @__PURE__ */ jsxs6(
|
|
1996
|
+
"svg",
|
|
1997
|
+
{
|
|
1998
|
+
width: "20",
|
|
1999
|
+
height: "20",
|
|
2000
|
+
viewBox: "0 0 20 20",
|
|
2001
|
+
fill: "none",
|
|
2002
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2003
|
+
...props,
|
|
2004
|
+
children: [
|
|
2005
|
+
/* @__PURE__ */ jsx8(
|
|
2006
|
+
"path",
|
|
2007
|
+
{
|
|
2008
|
+
fillRule: "evenodd",
|
|
2009
|
+
clipRule: "evenodd",
|
|
2010
|
+
d: "M10 8.125C8.96447 8.125 8.125 8.96447 8.125 10C8.125 11.0355 8.96447 11.875 10 11.875C11.0355 11.875 11.875 11.0355 11.875 10C11.875 8.96447 11.0355 8.125 10 8.125ZM6.875 10C6.875 8.27411 8.27411 6.875 10 6.875C11.7259 6.875 13.125 8.27411 13.125 10C13.125 11.7259 11.7259 13.125 10 13.125C8.27411 13.125 6.875 11.7259 6.875 10Z",
|
|
2011
|
+
fill: "currentColor"
|
|
2012
|
+
}
|
|
2013
|
+
),
|
|
2014
|
+
/* @__PURE__ */ jsx8(
|
|
2015
|
+
"path",
|
|
2016
|
+
{
|
|
2017
|
+
fillRule: "evenodd",
|
|
2018
|
+
clipRule: "evenodd",
|
|
2019
|
+
d: "M8.54648 1.50744C8.61873 1.23287 8.86698 1.0415 9.1509 1.0415H10.7795C11.0636 1.0415 11.3119 1.23302 11.384 1.50773L11.8237 3.18159L13.4384 3.84563L14.594 2.85804C14.842 2.64609 15.2113 2.66055 15.442 2.89123L17.1087 4.5579C17.3385 4.78768 17.3538 5.15522 17.144 5.40338L16.1605 6.56656L16.8096 8.13414L18.4874 8.56078C18.7645 8.63123 18.9584 8.88068 18.9584 9.16654L18.9583 10.8142C18.9583 11.0987 18.7661 11.3474 18.4907 11.419L16.8034 11.858L16.1534 13.4278L17.1435 14.5957C17.3538 14.8438 17.3387 15.2118 17.1087 15.4418L15.442 17.1084C15.2073 17.3432 14.8299 17.3535 14.5828 17.1318L14.5365 17.0904C14.5065 17.0637 14.4631 17.025 14.4099 16.9778C14.3033 16.8832 14.1576 16.7546 14.0007 16.6181C13.8074 16.4497 13.609 16.2799 13.4475 16.1467L11.8661 16.8016L11.4393 18.4866C11.369 18.7639 11.1195 18.9582 10.8334 18.9582H9.16675C8.88051 18.9582 8.63086 18.7637 8.56077 18.4862L8.13536 16.8017L6.59908 16.1697L5.39492 17.151C5.14637 17.3535 4.78486 17.3352 4.55814 17.1084L2.89147 15.4418C2.65723 15.2075 2.64644 14.8312 2.86688 14.5839L3.86722 13.4618L3.20983 11.9023L1.50214 11.4361C1.23031 11.3619 1.04175 11.115 1.04175 10.8332V9.1665C1.04175 8.87605 1.24185 8.62387 1.52471 8.55786L3.18677 8.16998L3.82628 6.59763L2.84833 5.39395C2.64638 5.14537 2.66501 4.78436 2.89147 4.5579L4.55814 2.89123C4.79219 2.65718 5.16813 2.64619 5.41545 2.86617L6.54109 3.86735L8.09816 3.21098L8.54648 1.50744ZM9.6327 2.2915L9.22874 3.82651C9.17938 4.01404 9.04578 4.16804 8.86709 4.24336L6.6632 5.17239C6.44116 5.26599 6.1851 5.22361 6.00505 5.06348L5.02519 4.19195L4.17393 5.04321L5.02963 6.09644C5.17345 6.27345 5.20943 6.51475 5.1235 6.72602L4.22278 8.94058C4.14634 9.12851 3.98344 9.26765 3.78587 9.31376L2.29175 9.66244V10.3559L3.83228 10.7765C4.01741 10.827 4.16906 10.9598 4.2436 11.1367L5.17246 13.3402C5.26616 13.5625 5.22358 13.8188 5.06307 13.9989L4.19267 14.9752L5.04285 15.8254L6.09788 14.9656C6.27564 14.8207 6.51844 14.7848 6.7305 14.8721L8.90205 15.7654C9.08516 15.8408 9.22175 15.9984 9.27024 16.1904L9.65353 17.7082H10.347L10.7313 16.1907C10.7798 15.9994 10.9157 15.8422 11.0981 15.7667L13.3069 14.852C13.5062 14.7695 13.734 14.7956 13.9095 14.921C14.1231 15.0737 14.5113 15.4052 14.8214 15.6752C14.8739 15.7209 14.9251 15.7657 14.9741 15.8086L15.8178 14.9649L14.9533 13.9452C14.8018 13.7666 14.763 13.5183 14.8526 13.3019L15.7675 11.0924C15.8425 10.9114 15.998 10.776 16.1876 10.7267L17.7083 10.331L17.7084 9.65246L16.198 9.26839C16.007 9.21981 15.85 9.08393 15.7746 8.90179L14.8599 6.69296C14.7704 6.47687 14.8091 6.2289 14.9601 6.05029L15.8183 5.03528L14.9668 4.18376L13.96 5.0441C13.7818 5.19646 13.5332 5.23619 13.3163 5.147L11.0605 4.21932C10.8793 4.14479 10.7435 3.98958 10.6937 3.80006L10.2975 2.2915H9.6327Z",
|
|
2020
|
+
fill: "currentColor"
|
|
2021
|
+
}
|
|
2022
|
+
)
|
|
2023
|
+
]
|
|
2024
|
+
}
|
|
2025
|
+
);
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
// src/components/Icon/components/UserFill.tsx
|
|
2029
|
+
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2030
|
+
var UserFill = (props) => {
|
|
2031
|
+
return /* @__PURE__ */ jsxs7(
|
|
1974
2032
|
"svg",
|
|
1975
2033
|
{
|
|
1976
2034
|
width: "19",
|
|
@@ -1980,14 +2038,14 @@ var UserFill = (props) => {
|
|
|
1980
2038
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1981
2039
|
...props,
|
|
1982
2040
|
children: [
|
|
1983
|
-
/* @__PURE__ */
|
|
2041
|
+
/* @__PURE__ */ jsx9(
|
|
1984
2042
|
"path",
|
|
1985
2043
|
{
|
|
1986
2044
|
d: "M9.33333 10.6667C12.2788 10.6667 14.6667 8.2788 14.6667 5.33333C14.6667 2.38781 12.2788 0 9.33333 0C6.38781 0 4 2.38781 4 5.33333C4 8.2788 6.38781 10.6667 9.33333 10.6667Z",
|
|
1987
2045
|
fill: "currentColor"
|
|
1988
2046
|
}
|
|
1989
2047
|
),
|
|
1990
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ jsx9(
|
|
1991
2049
|
"path",
|
|
1992
2050
|
{
|
|
1993
2051
|
d: "M0 23.3334V22C0 16.8454 4.17868 12.6667 9.33333 12.6667C14.488 12.6667 18.6667 16.8454 18.6667 22V23.3334",
|
|
@@ -2000,9 +2058,9 @@ var UserFill = (props) => {
|
|
|
2000
2058
|
};
|
|
2001
2059
|
|
|
2002
2060
|
// src/components/Icon/components/EyeClosed.tsx
|
|
2003
|
-
import { jsx as
|
|
2061
|
+
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2004
2062
|
var EyeClosed = (props) => {
|
|
2005
|
-
return /* @__PURE__ */
|
|
2063
|
+
return /* @__PURE__ */ jsxs8(
|
|
2006
2064
|
"svg",
|
|
2007
2065
|
{
|
|
2008
2066
|
width: "24",
|
|
@@ -2012,7 +2070,7 @@ var EyeClosed = (props) => {
|
|
|
2012
2070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2013
2071
|
...props,
|
|
2014
2072
|
children: [
|
|
2015
|
-
/* @__PURE__ */
|
|
2073
|
+
/* @__PURE__ */ jsx10(
|
|
2016
2074
|
"path",
|
|
2017
2075
|
{
|
|
2018
2076
|
d: "M19.4996 16L17.0244 12.6038",
|
|
@@ -2022,7 +2080,7 @@ var EyeClosed = (props) => {
|
|
|
2022
2080
|
strokeLinejoin: "round"
|
|
2023
2081
|
}
|
|
2024
2082
|
),
|
|
2025
|
-
/* @__PURE__ */
|
|
2083
|
+
/* @__PURE__ */ jsx10(
|
|
2026
2084
|
"path",
|
|
2027
2085
|
{
|
|
2028
2086
|
d: "M12 17.5V14",
|
|
@@ -2032,7 +2090,7 @@ var EyeClosed = (props) => {
|
|
|
2032
2090
|
strokeLinejoin: "round"
|
|
2033
2091
|
}
|
|
2034
2092
|
),
|
|
2035
|
-
/* @__PURE__ */
|
|
2093
|
+
/* @__PURE__ */ jsx10(
|
|
2036
2094
|
"path",
|
|
2037
2095
|
{
|
|
2038
2096
|
d: "M4.5 16L6.96895 12.6124",
|
|
@@ -2042,7 +2100,7 @@ var EyeClosed = (props) => {
|
|
|
2042
2100
|
strokeLinejoin: "round"
|
|
2043
2101
|
}
|
|
2044
2102
|
),
|
|
2045
|
-
/* @__PURE__ */
|
|
2103
|
+
/* @__PURE__ */ jsx10(
|
|
2046
2104
|
"path",
|
|
2047
2105
|
{
|
|
2048
2106
|
d: "M3 8C6.6 16 17.4 16 21 8",
|
|
@@ -2057,10 +2115,68 @@ var EyeClosed = (props) => {
|
|
|
2057
2115
|
);
|
|
2058
2116
|
};
|
|
2059
2117
|
|
|
2118
|
+
// src/components/Icon/components/KeyCommand.tsx
|
|
2119
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2120
|
+
var KeyCommand = (props) => {
|
|
2121
|
+
return /* @__PURE__ */ jsxs9(
|
|
2122
|
+
"svg",
|
|
2123
|
+
{
|
|
2124
|
+
width: "14",
|
|
2125
|
+
height: "14",
|
|
2126
|
+
viewBox: "0 0 14 14",
|
|
2127
|
+
fill: "none",
|
|
2128
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2129
|
+
...props,
|
|
2130
|
+
children: [
|
|
2131
|
+
/* @__PURE__ */ jsx11(
|
|
2132
|
+
"path",
|
|
2133
|
+
{
|
|
2134
|
+
d: "M5.25 3.5V10.5",
|
|
2135
|
+
stroke: "currentColor",
|
|
2136
|
+
strokeWidth: "1.5",
|
|
2137
|
+
strokeLinecap: "round",
|
|
2138
|
+
strokeLinejoin: "round"
|
|
2139
|
+
}
|
|
2140
|
+
),
|
|
2141
|
+
/* @__PURE__ */ jsx11(
|
|
2142
|
+
"path",
|
|
2143
|
+
{
|
|
2144
|
+
d: "M8.75 3.5V10.5",
|
|
2145
|
+
stroke: "currentColor",
|
|
2146
|
+
strokeWidth: "1.5",
|
|
2147
|
+
strokeLinecap: "round",
|
|
2148
|
+
strokeLinejoin: "round"
|
|
2149
|
+
}
|
|
2150
|
+
),
|
|
2151
|
+
/* @__PURE__ */ jsx11(
|
|
2152
|
+
"path",
|
|
2153
|
+
{
|
|
2154
|
+
d: "M5.25 3.5C5.25 2.5335 4.4665 1.75 3.5 1.75C2.5335 1.75 1.75 2.5335 1.75 3.5C1.75 4.4665 2.5335 5.25 3.5 5.25H10.5C11.4665 5.25 12.25 4.4665 12.25 3.5C12.25 2.5335 11.4665 1.75 10.5 1.75C9.5335 1.75 8.75 2.5335 8.75 3.5",
|
|
2155
|
+
stroke: "currentColor",
|
|
2156
|
+
strokeWidth: "1.5",
|
|
2157
|
+
strokeLinecap: "round",
|
|
2158
|
+
strokeLinejoin: "round"
|
|
2159
|
+
}
|
|
2160
|
+
),
|
|
2161
|
+
/* @__PURE__ */ jsx11(
|
|
2162
|
+
"path",
|
|
2163
|
+
{
|
|
2164
|
+
d: "M5.25 10.5C5.25 11.4665 4.4665 12.25 3.5 12.25C2.5335 12.25 1.75 11.4665 1.75 10.5C1.75 9.5335 2.5335 8.75 3.5 8.75H10.5C11.4665 8.75 12.25 9.5335 12.25 10.5C12.25 11.4665 11.4665 12.25 10.5 12.25C9.5335 12.25 8.75 11.4665 8.75 10.5",
|
|
2165
|
+
stroke: "currentColor",
|
|
2166
|
+
strokeWidth: "1.5",
|
|
2167
|
+
strokeLinecap: "round",
|
|
2168
|
+
strokeLinejoin: "round"
|
|
2169
|
+
}
|
|
2170
|
+
)
|
|
2171
|
+
]
|
|
2172
|
+
}
|
|
2173
|
+
);
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2060
2176
|
// src/components/Icon/components/XMarkSolid.tsx
|
|
2061
|
-
import { jsx as
|
|
2177
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
2062
2178
|
var XMarkSolid = (props) => {
|
|
2063
|
-
return /* @__PURE__ */
|
|
2179
|
+
return /* @__PURE__ */ jsx12(
|
|
2064
2180
|
"svg",
|
|
2065
2181
|
{
|
|
2066
2182
|
width: "24",
|
|
@@ -2069,7 +2185,7 @@ var XMarkSolid = (props) => {
|
|
|
2069
2185
|
fill: "none",
|
|
2070
2186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2071
2187
|
...props,
|
|
2072
|
-
children: /* @__PURE__ */
|
|
2188
|
+
children: /* @__PURE__ */ jsx12(
|
|
2073
2189
|
"path",
|
|
2074
2190
|
{
|
|
2075
2191
|
d: "M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM15.3584 8.6416C15.0655 8.34871 14.5907 8.34871 14.2979 8.6416L12 10.9395L9.70117 8.6416C9.40827 8.34876 8.9335 8.34873 8.64062 8.6416C8.34811 8.9345 8.34791 9.40937 8.64062 9.70215L10.9395 12L8.64062 14.2979C8.34791 14.5906 8.34811 15.0655 8.64062 15.3584C8.9335 15.6513 9.40827 15.6512 9.70117 15.3584L12 13.0605L14.2979 15.3584C14.5907 15.6513 15.0655 15.6513 15.3584 15.3584C15.6512 15.0655 15.6512 14.5907 15.3584 14.2979L13.0605 12L15.3584 9.70215C15.6512 9.4093 15.6512 8.93451 15.3584 8.6416Z",
|
|
@@ -2081,9 +2197,9 @@ var XMarkSolid = (props) => {
|
|
|
2081
2197
|
};
|
|
2082
2198
|
|
|
2083
2199
|
// src/components/Icon/components/CloudUpload.tsx
|
|
2084
|
-
import { jsx as
|
|
2200
|
+
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2085
2201
|
var CloudUpload = (props) => {
|
|
2086
|
-
return /* @__PURE__ */
|
|
2202
|
+
return /* @__PURE__ */ jsxs10(
|
|
2087
2203
|
"svg",
|
|
2088
2204
|
{
|
|
2089
2205
|
width: "32",
|
|
@@ -2093,7 +2209,7 @@ var CloudUpload = (props) => {
|
|
|
2093
2209
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2094
2210
|
...props,
|
|
2095
2211
|
children: [
|
|
2096
|
-
/* @__PURE__ */
|
|
2212
|
+
/* @__PURE__ */ jsx13(
|
|
2097
2213
|
"path",
|
|
2098
2214
|
{
|
|
2099
2215
|
d: "M16.0007 29.3333V17.3333M16.0007 17.3333L20.6673 21.9999M16.0007 17.3333L11.334 21.9999",
|
|
@@ -2103,7 +2219,7 @@ var CloudUpload = (props) => {
|
|
|
2103
2219
|
strokeLinejoin: "round"
|
|
2104
2220
|
}
|
|
2105
2221
|
),
|
|
2106
|
-
/* @__PURE__ */
|
|
2222
|
+
/* @__PURE__ */ jsx13(
|
|
2107
2223
|
"path",
|
|
2108
2224
|
{
|
|
2109
2225
|
d: "M26.6673 23.4764C28.6589 22.6963 30.6673 20.9186 30.6673 17.3334C30.6673 12.0001 26.2229 10.6667 24.0006 10.6667C24.0006 8.00008 24.0006 2.66675 16.0007 2.66675C8.00065 2.66675 8.00065 8.00008 8.00065 10.6667C5.77843 10.6667 1.33398 12.0001 1.33398 17.3334C1.33398 20.9186 3.34235 22.6963 5.33399 23.4764",
|
|
@@ -2119,9 +2235,9 @@ var CloudUpload = (props) => {
|
|
|
2119
2235
|
};
|
|
2120
2236
|
|
|
2121
2237
|
// src/components/Icon/components/UserOutline.tsx
|
|
2122
|
-
import { jsx as
|
|
2238
|
+
import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2123
2239
|
var UserOutline = (props) => {
|
|
2124
|
-
return /* @__PURE__ */
|
|
2240
|
+
return /* @__PURE__ */ jsxs11(
|
|
2125
2241
|
"svg",
|
|
2126
2242
|
{
|
|
2127
2243
|
width: "32",
|
|
@@ -2131,7 +2247,7 @@ var UserOutline = (props) => {
|
|
|
2131
2247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2132
2248
|
...props,
|
|
2133
2249
|
children: [
|
|
2134
|
-
/* @__PURE__ */
|
|
2250
|
+
/* @__PURE__ */ jsx14(
|
|
2135
2251
|
"path",
|
|
2136
2252
|
{
|
|
2137
2253
|
fillRule: "evenodd",
|
|
@@ -2140,7 +2256,7 @@ var UserOutline = (props) => {
|
|
|
2140
2256
|
fill: "currentColor"
|
|
2141
2257
|
}
|
|
2142
2258
|
),
|
|
2143
|
-
/* @__PURE__ */
|
|
2259
|
+
/* @__PURE__ */ jsx14(
|
|
2144
2260
|
"path",
|
|
2145
2261
|
{
|
|
2146
2262
|
fillRule: "evenodd",
|
|
@@ -2155,9 +2271,9 @@ var UserOutline = (props) => {
|
|
|
2155
2271
|
};
|
|
2156
2272
|
|
|
2157
2273
|
// src/components/Icon/components/RadioSelect.tsx
|
|
2158
|
-
import { jsx as
|
|
2274
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
2159
2275
|
var RadioSelect = (props) => {
|
|
2160
|
-
return /* @__PURE__ */
|
|
2276
|
+
return /* @__PURE__ */ jsx15(
|
|
2161
2277
|
"svg",
|
|
2162
2278
|
{
|
|
2163
2279
|
width: "17",
|
|
@@ -2166,15 +2282,15 @@ var RadioSelect = (props) => {
|
|
|
2166
2282
|
fill: "none",
|
|
2167
2283
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2168
2284
|
...props,
|
|
2169
|
-
children: /* @__PURE__ */
|
|
2285
|
+
children: /* @__PURE__ */ jsx15("rect", { x: "2.5", y: "2", width: "12", height: "12", rx: "6", stroke: "currentColor", strokeWidth: "4" })
|
|
2170
2286
|
}
|
|
2171
2287
|
);
|
|
2172
2288
|
};
|
|
2173
2289
|
|
|
2174
2290
|
// src/components/Icon/components/RadioDefault.tsx
|
|
2175
|
-
import { jsx as
|
|
2291
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
2176
2292
|
var RadioDefault = (props) => {
|
|
2177
|
-
return /* @__PURE__ */
|
|
2293
|
+
return /* @__PURE__ */ jsx16(
|
|
2178
2294
|
"svg",
|
|
2179
2295
|
{
|
|
2180
2296
|
width: "16",
|
|
@@ -2183,15 +2299,15 @@ var RadioDefault = (props) => {
|
|
|
2183
2299
|
fill: "none",
|
|
2184
2300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2185
2301
|
...props,
|
|
2186
|
-
children: /* @__PURE__ */
|
|
2302
|
+
children: /* @__PURE__ */ jsx16("rect", { x: "0.5", y: "0.5", width: "15", height: "15", rx: "7.5", stroke: "currentColor" })
|
|
2187
2303
|
}
|
|
2188
2304
|
);
|
|
2189
2305
|
};
|
|
2190
2306
|
|
|
2191
2307
|
// src/components/Icon/components/NavArrowDown.tsx
|
|
2192
|
-
import { jsx as
|
|
2308
|
+
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2193
2309
|
var NavArrowDown = (props) => {
|
|
2194
|
-
return /* @__PURE__ */
|
|
2310
|
+
return /* @__PURE__ */ jsxs12(
|
|
2195
2311
|
"svg",
|
|
2196
2312
|
{
|
|
2197
2313
|
width: "16",
|
|
@@ -2201,7 +2317,7 @@ var NavArrowDown = (props) => {
|
|
|
2201
2317
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2202
2318
|
...props,
|
|
2203
2319
|
children: [
|
|
2204
|
-
/* @__PURE__ */
|
|
2320
|
+
/* @__PURE__ */ jsx17(
|
|
2205
2321
|
"path",
|
|
2206
2322
|
{
|
|
2207
2323
|
d: "M4 6L8 10L12 6",
|
|
@@ -2211,7 +2327,7 @@ var NavArrowDown = (props) => {
|
|
|
2211
2327
|
strokeLinejoin: "round"
|
|
2212
2328
|
}
|
|
2213
2329
|
),
|
|
2214
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsx17(
|
|
2215
2331
|
"path",
|
|
2216
2332
|
{
|
|
2217
2333
|
fillRule: "evenodd",
|
|
@@ -2226,9 +2342,9 @@ var NavArrowDown = (props) => {
|
|
|
2226
2342
|
};
|
|
2227
2343
|
|
|
2228
2344
|
// src/components/Icon/components/NavArrowLeft.tsx
|
|
2229
|
-
import { jsx as
|
|
2345
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
2230
2346
|
var NavArrowLeft = (props) => {
|
|
2231
|
-
return /* @__PURE__ */
|
|
2347
|
+
return /* @__PURE__ */ jsx18(
|
|
2232
2348
|
"svg",
|
|
2233
2349
|
{
|
|
2234
2350
|
width: "25",
|
|
@@ -2237,7 +2353,7 @@ var NavArrowLeft = (props) => {
|
|
|
2237
2353
|
fill: "none",
|
|
2238
2354
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2239
2355
|
...props,
|
|
2240
|
-
children: /* @__PURE__ */
|
|
2356
|
+
children: /* @__PURE__ */ jsx18(
|
|
2241
2357
|
"path",
|
|
2242
2358
|
{
|
|
2243
2359
|
fillRule: "evenodd",
|
|
@@ -2251,9 +2367,9 @@ var NavArrowLeft = (props) => {
|
|
|
2251
2367
|
};
|
|
2252
2368
|
|
|
2253
2369
|
// src/components/Icon/components/NavArrowRight.tsx
|
|
2254
|
-
import { jsx as
|
|
2370
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
2255
2371
|
var NavArrowRight = (props) => {
|
|
2256
|
-
return /* @__PURE__ */
|
|
2372
|
+
return /* @__PURE__ */ jsx19(
|
|
2257
2373
|
"svg",
|
|
2258
2374
|
{
|
|
2259
2375
|
width: "25",
|
|
@@ -2262,7 +2378,7 @@ var NavArrowRight = (props) => {
|
|
|
2262
2378
|
fill: "none",
|
|
2263
2379
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2264
2380
|
...props,
|
|
2265
|
-
children: /* @__PURE__ */
|
|
2381
|
+
children: /* @__PURE__ */ jsx19(
|
|
2266
2382
|
"path",
|
|
2267
2383
|
{
|
|
2268
2384
|
fillRule: "evenodd",
|
|
@@ -2276,9 +2392,9 @@ var NavArrowRight = (props) => {
|
|
|
2276
2392
|
};
|
|
2277
2393
|
|
|
2278
2394
|
// src/components/Icon/components/ClipboardCheck.tsx
|
|
2279
|
-
import { jsx as
|
|
2395
|
+
import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2280
2396
|
var ClipboardCheck = (props) => {
|
|
2281
|
-
return /* @__PURE__ */
|
|
2397
|
+
return /* @__PURE__ */ jsxs13(
|
|
2282
2398
|
"svg",
|
|
2283
2399
|
{
|
|
2284
2400
|
width: "24",
|
|
@@ -2288,7 +2404,7 @@ var ClipboardCheck = (props) => {
|
|
|
2288
2404
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2289
2405
|
...props,
|
|
2290
2406
|
children: [
|
|
2291
|
-
/* @__PURE__ */
|
|
2407
|
+
/* @__PURE__ */ jsx20(
|
|
2292
2408
|
"path",
|
|
2293
2409
|
{
|
|
2294
2410
|
fillRule: "evenodd",
|
|
@@ -2297,7 +2413,7 @@ var ClipboardCheck = (props) => {
|
|
|
2297
2413
|
fill: "currentColor"
|
|
2298
2414
|
}
|
|
2299
2415
|
),
|
|
2300
|
-
/* @__PURE__ */
|
|
2416
|
+
/* @__PURE__ */ jsx20(
|
|
2301
2417
|
"path",
|
|
2302
2418
|
{
|
|
2303
2419
|
fillRule: "evenodd",
|
|
@@ -2306,7 +2422,7 @@ var ClipboardCheck = (props) => {
|
|
|
2306
2422
|
fill: "currentColor"
|
|
2307
2423
|
}
|
|
2308
2424
|
),
|
|
2309
|
-
/* @__PURE__ */
|
|
2425
|
+
/* @__PURE__ */ jsx20(
|
|
2310
2426
|
"path",
|
|
2311
2427
|
{
|
|
2312
2428
|
fillRule: "evenodd",
|
|
@@ -2315,7 +2431,7 @@ var ClipboardCheck = (props) => {
|
|
|
2315
2431
|
fill: "currentColor"
|
|
2316
2432
|
}
|
|
2317
2433
|
),
|
|
2318
|
-
/* @__PURE__ */
|
|
2434
|
+
/* @__PURE__ */ jsx20(
|
|
2319
2435
|
"path",
|
|
2320
2436
|
{
|
|
2321
2437
|
fillRule: "evenodd",
|
|
@@ -2330,9 +2446,9 @@ var ClipboardCheck = (props) => {
|
|
|
2330
2446
|
};
|
|
2331
2447
|
|
|
2332
2448
|
// src/components/Icon/components/CheckboxSelect.tsx
|
|
2333
|
-
import { jsx as
|
|
2449
|
+
import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2334
2450
|
var CheckboxSelect = (props) => {
|
|
2335
|
-
return /* @__PURE__ */
|
|
2451
|
+
return /* @__PURE__ */ jsxs14(
|
|
2336
2452
|
"svg",
|
|
2337
2453
|
{
|
|
2338
2454
|
width: "24",
|
|
@@ -2342,14 +2458,14 @@ var CheckboxSelect = (props) => {
|
|
|
2342
2458
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2343
2459
|
...props,
|
|
2344
2460
|
children: [
|
|
2345
|
-
/* @__PURE__ */
|
|
2461
|
+
/* @__PURE__ */ jsx21(
|
|
2346
2462
|
"path",
|
|
2347
2463
|
{
|
|
2348
2464
|
d: "M0 8C0 3.58172 3.58172 0 8 0H16C20.4183 0 24 3.58172 24 8V16C24 20.4183 20.4183 24 16 24H8C3.58172 24 0 20.4183 0 16V8Z",
|
|
2349
2465
|
fill: "currentColor"
|
|
2350
2466
|
}
|
|
2351
2467
|
),
|
|
2352
|
-
/* @__PURE__ */
|
|
2468
|
+
/* @__PURE__ */ jsx21(
|
|
2353
2469
|
"path",
|
|
2354
2470
|
{
|
|
2355
2471
|
d: "M6.16602 12.8333L9.49935 16.1666L17.8327 7.83331",
|
|
@@ -2365,9 +2481,9 @@ var CheckboxSelect = (props) => {
|
|
|
2365
2481
|
};
|
|
2366
2482
|
|
|
2367
2483
|
// src/components/Icon/components/InfoCircleFill.tsx
|
|
2368
|
-
import { jsx as
|
|
2484
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2369
2485
|
var InfoCircleFill = (props) => {
|
|
2370
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsx22(
|
|
2371
2487
|
"svg",
|
|
2372
2488
|
{
|
|
2373
2489
|
width: "20",
|
|
@@ -2376,7 +2492,7 @@ var InfoCircleFill = (props) => {
|
|
|
2376
2492
|
fill: "none",
|
|
2377
2493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2378
2494
|
...props,
|
|
2379
|
-
children: /* @__PURE__ */
|
|
2495
|
+
children: /* @__PURE__ */ jsx22(
|
|
2380
2496
|
"path",
|
|
2381
2497
|
{
|
|
2382
2498
|
d: "M10.001 1.04199C14.9485 1.04199 18.959 5.05245 18.959 10C18.959 14.9476 14.9485 18.958 10.001 18.958C5.05343 18.958 1.04297 14.9476 1.04297 10C1.04297 5.05245 5.05343 1.04199 10.001 1.04199ZM10.001 8.95801C9.65591 8.95801 9.37615 9.23798 9.37598 9.58301V13.75C9.37598 14.0952 9.6558 14.375 10.001 14.375C10.3462 14.375 10.626 14.0952 10.626 13.75V9.58301C10.6258 9.23798 10.346 8.95801 10.001 8.95801ZM10.4277 5.78418C10.1712 5.55335 9.77583 5.5746 9.54492 5.83105L9.53613 5.84082C9.30564 6.09736 9.32667 6.49185 9.58301 6.72266C9.83958 6.95357 10.2349 6.93333 10.4658 6.67676L10.4736 6.66699C10.7045 6.41042 10.6843 6.01508 10.4277 5.78418Z",
|
|
@@ -2388,9 +2504,9 @@ var InfoCircleFill = (props) => {
|
|
|
2388
2504
|
};
|
|
2389
2505
|
|
|
2390
2506
|
// src/components/Icon/components/CheckboxDefault.tsx
|
|
2391
|
-
import { jsx as
|
|
2507
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2392
2508
|
var CheckboxDefault = (props) => {
|
|
2393
|
-
return /* @__PURE__ */
|
|
2509
|
+
return /* @__PURE__ */ jsx23(
|
|
2394
2510
|
"svg",
|
|
2395
2511
|
{
|
|
2396
2512
|
width: "24",
|
|
@@ -2399,7 +2515,7 @@ var CheckboxDefault = (props) => {
|
|
|
2399
2515
|
fill: "none",
|
|
2400
2516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2401
2517
|
...props,
|
|
2402
|
-
children: /* @__PURE__ */
|
|
2518
|
+
children: /* @__PURE__ */ jsx23(
|
|
2403
2519
|
"path",
|
|
2404
2520
|
{
|
|
2405
2521
|
d: "M8 0.5H16C20.1421 0.5 23.5 3.85786 23.5 8V16C23.5 20.1421 20.1421 23.5 16 23.5H8C3.85786 23.5 0.5 20.1421 0.5 16V8C0.5 3.85786 3.85786 0.5 8 0.5Z",
|
|
@@ -2410,10 +2526,62 @@ var CheckboxDefault = (props) => {
|
|
|
2410
2526
|
);
|
|
2411
2527
|
};
|
|
2412
2528
|
|
|
2529
|
+
// src/components/Icon/components/BellNotification.tsx
|
|
2530
|
+
import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2531
|
+
var BellNotification = (props) => {
|
|
2532
|
+
return /* @__PURE__ */ jsxs15(
|
|
2533
|
+
"svg",
|
|
2534
|
+
{
|
|
2535
|
+
width: "20",
|
|
2536
|
+
height: "20",
|
|
2537
|
+
viewBox: "0 0 20 20",
|
|
2538
|
+
fill: "none",
|
|
2539
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2540
|
+
...props,
|
|
2541
|
+
children: [
|
|
2542
|
+
/* @__PURE__ */ jsx24(
|
|
2543
|
+
"path",
|
|
2544
|
+
{
|
|
2545
|
+
"fill-rule": "evenodd",
|
|
2546
|
+
"clip-rule": "evenodd",
|
|
2547
|
+
d: "M15.8333 2.29167C14.7978 2.29167 13.9583 3.13114 13.9583 4.16667C13.9583 5.20221 14.7978 6.04167 15.8333 6.04167C16.8688 6.04167 17.7083 5.20221 17.7083 4.16667C17.7083 3.13114 16.8688 2.29167 15.8333 2.29167ZM12.7083 4.16667C12.7083 2.44078 14.1074 1.04167 15.8333 1.04167C17.5592 1.04167 18.9583 2.44078 18.9583 4.16667C18.9583 5.89256 17.5592 7.29167 15.8333 7.29167C14.1074 7.29167 12.7083 5.89256 12.7083 4.16667Z",
|
|
2548
|
+
fill: "currentColor"
|
|
2549
|
+
}
|
|
2550
|
+
),
|
|
2551
|
+
/* @__PURE__ */ jsx24(
|
|
2552
|
+
"path",
|
|
2553
|
+
{
|
|
2554
|
+
"fill-rule": "evenodd",
|
|
2555
|
+
"clip-rule": "evenodd",
|
|
2556
|
+
d: "M8.24472 16.9594C8.5433 16.7862 8.92576 16.8878 9.09896 17.1864C9.19052 17.3442 9.32195 17.4753 9.48009 17.5664C9.63822 17.6574 9.81751 17.7054 10 17.7054C10.1825 17.7054 10.3618 17.6574 10.5199 17.5664C10.678 17.4753 10.8095 17.3442 10.901 17.1864C11.0742 16.8878 11.4567 16.7862 11.7553 16.9594C12.0538 17.1326 12.1555 17.515 11.9823 17.8136C11.7808 18.1609 11.4917 18.4491 11.1438 18.6495C10.7959 18.8499 10.4015 18.9554 10 18.9554C9.59852 18.9554 9.20409 18.8499 8.8562 18.6495C8.5083 18.4491 8.21915 18.1609 8.01771 17.8136C7.84451 17.515 7.94614 17.1326 8.24472 16.9594Z",
|
|
2557
|
+
fill: "currentColor"
|
|
2558
|
+
}
|
|
2559
|
+
),
|
|
2560
|
+
/* @__PURE__ */ jsx24(
|
|
2561
|
+
"path",
|
|
2562
|
+
{
|
|
2563
|
+
"fill-rule": "evenodd",
|
|
2564
|
+
"clip-rule": "evenodd",
|
|
2565
|
+
d: "M6.00852 2.80131C7.05984 1.6799 8.49468 1.04167 10 1.04167C10.3186 1.04167 10.6344 1.07029 10.9442 1.12616C11.2839 1.18741 11.5097 1.51244 11.4484 1.85214C11.3872 2.19184 11.0621 2.41757 10.7224 2.35633C10.4852 2.31355 10.2437 2.29167 10 2.29167C8.85318 2.29167 7.74449 2.77725 6.92044 3.65623C6.09511 4.53658 5.62501 5.73873 5.62501 7.00001C5.62501 10.1968 4.98221 12.2965 4.30648 13.6179C4.15838 13.9075 4.00921 14.1587 3.86573 14.375H10C10.3452 14.375 10.625 14.6548 10.625 15C10.625 15.3452 10.3452 15.625 10 15.625H2.50001C2.22808 15.625 1.98735 15.4492 1.90463 15.1901C1.82262 14.9333 1.91459 14.6531 2.13216 14.4947L2.13943 14.4891C2.14888 14.4816 2.16687 14.4669 2.19221 14.4443C2.24287 14.3993 2.32305 14.3229 2.42334 14.21C2.62359 13.9845 2.90581 13.6115 3.19355 13.0488C3.76782 11.9258 4.37501 10.0255 4.37501 7.00001C4.37501 5.43231 4.95848 3.92135 6.00852 2.80131Z",
|
|
2566
|
+
fill: "currentColor"
|
|
2567
|
+
}
|
|
2568
|
+
),
|
|
2569
|
+
/* @__PURE__ */ jsx24(
|
|
2570
|
+
"path",
|
|
2571
|
+
{
|
|
2572
|
+
d: "M15.6937 13.6179C15.8418 13.9075 15.9909 14.1587 16.1344 14.375H10.0001C9.65496 14.375 9.37514 14.6548 9.37514 15C9.37514 15.3452 9.65496 15.625 10.0001 15.625H17.5001C17.7721 15.625 18.0128 15.4492 18.0955 15.1901C18.1775 14.9333 18.0856 14.6531 17.868 14.4947L17.8607 14.4891C17.8513 14.4816 17.8333 14.4669 17.8079 14.4443C17.7573 14.3993 17.6771 14.3229 17.5768 14.21C17.3766 13.9845 17.0943 13.6115 16.8066 13.0488C16.3746 12.2039 15.9239 10.9191 15.7271 9.04612C15.6523 8.33332 14.4002 8.37434 14.483 9.16668C14.6937 11.1836 15.1843 12.6219 15.6937 13.6179Z",
|
|
2573
|
+
fill: "currentColor"
|
|
2574
|
+
}
|
|
2575
|
+
)
|
|
2576
|
+
]
|
|
2577
|
+
}
|
|
2578
|
+
);
|
|
2579
|
+
};
|
|
2580
|
+
|
|
2413
2581
|
// src/components/Icon/components/InfoCircleOutline.tsx
|
|
2414
|
-
import { jsx as
|
|
2582
|
+
import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2415
2583
|
var InfoCircleOutline = (props) => {
|
|
2416
|
-
return /* @__PURE__ */
|
|
2584
|
+
return /* @__PURE__ */ jsxs16(
|
|
2417
2585
|
"svg",
|
|
2418
2586
|
{
|
|
2419
2587
|
width: "16",
|
|
@@ -2423,8 +2591,8 @@ var InfoCircleOutline = (props) => {
|
|
|
2423
2591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2424
2592
|
...props,
|
|
2425
2593
|
children: [
|
|
2426
|
-
/* @__PURE__ */
|
|
2427
|
-
/* @__PURE__ */
|
|
2594
|
+
/* @__PURE__ */ jsxs16("g", { "clip-path": "url(#clip0_1881_10590)", children: [
|
|
2595
|
+
/* @__PURE__ */ jsx25(
|
|
2428
2596
|
"path",
|
|
2429
2597
|
{
|
|
2430
2598
|
fillRule: "evenodd",
|
|
@@ -2433,7 +2601,7 @@ var InfoCircleOutline = (props) => {
|
|
|
2433
2601
|
fill: "currentColor"
|
|
2434
2602
|
}
|
|
2435
2603
|
),
|
|
2436
|
-
/* @__PURE__ */
|
|
2604
|
+
/* @__PURE__ */ jsx25(
|
|
2437
2605
|
"path",
|
|
2438
2606
|
{
|
|
2439
2607
|
fillRule: "evenodd",
|
|
@@ -2442,7 +2610,7 @@ var InfoCircleOutline = (props) => {
|
|
|
2442
2610
|
fill: "currentColor"
|
|
2443
2611
|
}
|
|
2444
2612
|
),
|
|
2445
|
-
/* @__PURE__ */
|
|
2613
|
+
/* @__PURE__ */ jsx25(
|
|
2446
2614
|
"path",
|
|
2447
2615
|
{
|
|
2448
2616
|
fillRule: "evenodd",
|
|
@@ -2452,16 +2620,16 @@ var InfoCircleOutline = (props) => {
|
|
|
2452
2620
|
}
|
|
2453
2621
|
)
|
|
2454
2622
|
] }),
|
|
2455
|
-
/* @__PURE__ */
|
|
2623
|
+
/* @__PURE__ */ jsx25("defs", { children: /* @__PURE__ */ jsx25("clipPath", { id: "clip0_1881_10590", children: /* @__PURE__ */ jsx25("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2456
2624
|
]
|
|
2457
2625
|
}
|
|
2458
2626
|
);
|
|
2459
2627
|
};
|
|
2460
2628
|
|
|
2461
2629
|
// src/components/Icon/components/LongArrowUpLeftSolid.tsx
|
|
2462
|
-
import { jsx as
|
|
2630
|
+
import { jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2463
2631
|
var LongArrowUpLeftSolid = (props) => {
|
|
2464
|
-
return /* @__PURE__ */
|
|
2632
|
+
return /* @__PURE__ */ jsxs17(
|
|
2465
2633
|
"svg",
|
|
2466
2634
|
{
|
|
2467
2635
|
width: "24",
|
|
@@ -2471,7 +2639,7 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2471
2639
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2472
2640
|
...props,
|
|
2473
2641
|
children: [
|
|
2474
|
-
/* @__PURE__ */
|
|
2642
|
+
/* @__PURE__ */ jsx26(
|
|
2475
2643
|
"path",
|
|
2476
2644
|
{
|
|
2477
2645
|
fillRule: "evenodd",
|
|
@@ -2480,7 +2648,7 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2480
2648
|
fill: "currentColor"
|
|
2481
2649
|
}
|
|
2482
2650
|
),
|
|
2483
|
-
/* @__PURE__ */
|
|
2651
|
+
/* @__PURE__ */ jsx26(
|
|
2484
2652
|
"path",
|
|
2485
2653
|
{
|
|
2486
2654
|
fillRule: "evenodd",
|
|
@@ -2495,9 +2663,9 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2495
2663
|
};
|
|
2496
2664
|
|
|
2497
2665
|
// src/components/Icon/components/CheckboxIndeterminate.tsx
|
|
2498
|
-
import { jsx as
|
|
2666
|
+
import { jsx as jsx27, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2499
2667
|
var CheckboxIndeterminate = (props) => {
|
|
2500
|
-
return /* @__PURE__ */
|
|
2668
|
+
return /* @__PURE__ */ jsxs18(
|
|
2501
2669
|
"svg",
|
|
2502
2670
|
{
|
|
2503
2671
|
width: "24",
|
|
@@ -2507,14 +2675,14 @@ var CheckboxIndeterminate = (props) => {
|
|
|
2507
2675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2508
2676
|
...props,
|
|
2509
2677
|
children: [
|
|
2510
|
-
/* @__PURE__ */
|
|
2678
|
+
/* @__PURE__ */ jsx27(
|
|
2511
2679
|
"path",
|
|
2512
2680
|
{
|
|
2513
2681
|
d: "M0 8C0 3.58172 3.58172 0 8 0H16C20.4183 0 24 3.58172 24 8V16C24 20.4183 20.4183 24 16 24H8C3.58172 24 0 20.4183 0 16V8Z",
|
|
2514
2682
|
fill: "currentColor"
|
|
2515
2683
|
}
|
|
2516
2684
|
),
|
|
2517
|
-
/* @__PURE__ */
|
|
2685
|
+
/* @__PURE__ */ jsx27("path", { d: "M6 12H18", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2518
2686
|
]
|
|
2519
2687
|
}
|
|
2520
2688
|
);
|
|
@@ -2526,10 +2694,10 @@ var iconClasses = {
|
|
|
2526
2694
|
};
|
|
2527
2695
|
|
|
2528
2696
|
// src/components/Icon/icon.tsx
|
|
2529
|
-
import { jsx as
|
|
2697
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
2530
2698
|
var Icon = ({ icon: icon2, className, ...props }) => {
|
|
2531
2699
|
const IconComponent = components_exports[icon2];
|
|
2532
|
-
return /* @__PURE__ */
|
|
2700
|
+
return /* @__PURE__ */ jsx28(
|
|
2533
2701
|
Box,
|
|
2534
2702
|
{
|
|
2535
2703
|
component: IconComponent,
|
|
@@ -2540,7 +2708,7 @@ var Icon = ({ icon: icon2, className, ...props }) => {
|
|
|
2540
2708
|
};
|
|
2541
2709
|
|
|
2542
2710
|
// src/theme/core/components/alert.tsx
|
|
2543
|
-
import { jsx as
|
|
2711
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
2544
2712
|
var COLORS2 = ["info", "success", "warning", "error"];
|
|
2545
2713
|
function styleColors2(ownerState, styles) {
|
|
2546
2714
|
const outputStyle = COLORS2.reduce((acc, color) => {
|
|
@@ -2558,10 +2726,10 @@ var MuiAlert = {
|
|
|
2558
2726
|
defaultProps: {
|
|
2559
2727
|
variant: "standard",
|
|
2560
2728
|
iconMapping: {
|
|
2561
|
-
error: /* @__PURE__ */
|
|
2562
|
-
info: /* @__PURE__ */
|
|
2563
|
-
success: /* @__PURE__ */
|
|
2564
|
-
warning: /* @__PURE__ */
|
|
2729
|
+
error: /* @__PURE__ */ jsx29(Icon, { icon: "InfoCircleFill" }),
|
|
2730
|
+
info: /* @__PURE__ */ jsx29(Icon, { icon: "InfoCircleFill" }),
|
|
2731
|
+
success: /* @__PURE__ */ jsx29(Icon, { icon: "InfoCircleFill" }),
|
|
2732
|
+
warning: /* @__PURE__ */ jsx29(Icon, { icon: "InfoCircleFill" })
|
|
2565
2733
|
}
|
|
2566
2734
|
},
|
|
2567
2735
|
/** **************************************
|
|
@@ -2770,7 +2938,7 @@ var badge = { MuiBadge };
|
|
|
2770
2938
|
|
|
2771
2939
|
// src/theme/core/components/radio.tsx
|
|
2772
2940
|
import { radioClasses } from "@mui/material/Radio";
|
|
2773
|
-
import { jsx as
|
|
2941
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
2774
2942
|
var MuiRadio = {
|
|
2775
2943
|
/** **************************************
|
|
2776
2944
|
* DEFAULT PROPS
|
|
@@ -2779,8 +2947,8 @@ var MuiRadio = {
|
|
|
2779
2947
|
color: "default",
|
|
2780
2948
|
size: "small",
|
|
2781
2949
|
disableRipple: true,
|
|
2782
|
-
icon: /* @__PURE__ */
|
|
2783
|
-
checkedIcon: /* @__PURE__ */
|
|
2950
|
+
icon: /* @__PURE__ */ jsx30(Icon, { icon: "RadioDefault" }),
|
|
2951
|
+
checkedIcon: /* @__PURE__ */ jsx30(Icon, { icon: "RadioSelect" })
|
|
2784
2952
|
},
|
|
2785
2953
|
/** **************************************
|
|
2786
2954
|
* STYLE
|
|
@@ -3083,13 +3251,13 @@ var MuiDrawer = {
|
|
|
3083
3251
|
var drawer = { MuiDrawer };
|
|
3084
3252
|
|
|
3085
3253
|
// src/theme/core/components/select.tsx
|
|
3086
|
-
import { jsx as
|
|
3254
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
3087
3255
|
var MuiSelect = {
|
|
3088
3256
|
/** **************************************
|
|
3089
3257
|
* DEFAULT PROPS
|
|
3090
3258
|
*************************************** */
|
|
3091
3259
|
defaultProps: {
|
|
3092
|
-
IconComponent: () => /* @__PURE__ */
|
|
3260
|
+
IconComponent: () => /* @__PURE__ */ jsx31(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
|
|
3093
3261
|
}
|
|
3094
3262
|
};
|
|
3095
3263
|
var MuiNativeSelect = {
|
|
@@ -3097,7 +3265,7 @@ var MuiNativeSelect = {
|
|
|
3097
3265
|
* DEFAULT PROPS
|
|
3098
3266
|
*************************************** */
|
|
3099
3267
|
defaultProps: {
|
|
3100
|
-
IconComponent: () => /* @__PURE__ */
|
|
3268
|
+
IconComponent: () => /* @__PURE__ */ jsx31(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
|
|
3101
3269
|
}
|
|
3102
3270
|
};
|
|
3103
3271
|
var select = { MuiSelect, MuiNativeSelect };
|
|
@@ -3105,13 +3273,13 @@ var select = { MuiSelect, MuiNativeSelect };
|
|
|
3105
3273
|
// src/theme/core/components/rating.tsx
|
|
3106
3274
|
import { ratingClasses } from "@mui/material/Rating";
|
|
3107
3275
|
import SvgIcon, { svgIconClasses } from "@mui/material/SvgIcon";
|
|
3108
|
-
import { jsx as
|
|
3109
|
-
var RatingIcon = (props) => /* @__PURE__ */
|
|
3276
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3277
|
+
var RatingIcon = (props) => /* @__PURE__ */ jsx32(SvgIcon, { ...props, children: /* @__PURE__ */ jsx32("path", { d: "M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z" }) });
|
|
3110
3278
|
var MuiRating = {
|
|
3111
3279
|
/** **************************************
|
|
3112
3280
|
* DEFAULT PROPS
|
|
3113
3281
|
*************************************** */
|
|
3114
|
-
defaultProps: { emptyIcon: /* @__PURE__ */
|
|
3282
|
+
defaultProps: { emptyIcon: /* @__PURE__ */ jsx32(RatingIcon, {}), icon: /* @__PURE__ */ jsx32(RatingIcon, {}) },
|
|
3115
3283
|
/** **************************************
|
|
3116
3284
|
* STYLE
|
|
3117
3285
|
*************************************** */
|
|
@@ -3236,7 +3404,7 @@ var slider = {
|
|
|
3236
3404
|
// src/theme/core/components/button.tsx
|
|
3237
3405
|
import { buttonClasses } from "@mui/material/Button";
|
|
3238
3406
|
import { keyframes } from "@mui/material/styles";
|
|
3239
|
-
import { jsx as
|
|
3407
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3240
3408
|
var spin = keyframes`
|
|
3241
3409
|
0% {
|
|
3242
3410
|
transform: rotate(0deg);
|
|
@@ -3356,7 +3524,7 @@ var MuiButton = {
|
|
|
3356
3524
|
variant: "outlined",
|
|
3357
3525
|
disableElevation: true,
|
|
3358
3526
|
disableRipple: true,
|
|
3359
|
-
loadingIndicator: /* @__PURE__ */
|
|
3527
|
+
loadingIndicator: /* @__PURE__ */ jsx33(Icon, { icon: "Loader" })
|
|
3360
3528
|
},
|
|
3361
3529
|
/** **************************************
|
|
3362
3530
|
* VARIANTS
|
|
@@ -3910,7 +4078,7 @@ var timeline = { MuiTimelineDot, MuiTimelineConnector };
|
|
|
3910
4078
|
|
|
3911
4079
|
// src/theme/core/components/checkbox.tsx
|
|
3912
4080
|
import { checkboxClasses as checkboxClasses2 } from "@mui/material/Checkbox";
|
|
3913
|
-
import { jsx as
|
|
4081
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3914
4082
|
var MuiCheckbox = {
|
|
3915
4083
|
/** **************************************
|
|
3916
4084
|
* DEFAULT PROPS
|
|
@@ -3919,9 +4087,9 @@ var MuiCheckbox = {
|
|
|
3919
4087
|
color: "default",
|
|
3920
4088
|
size: "small",
|
|
3921
4089
|
disableRipple: true,
|
|
3922
|
-
icon: /* @__PURE__ */
|
|
3923
|
-
checkedIcon: /* @__PURE__ */
|
|
3924
|
-
indeterminateIcon: /* @__PURE__ */
|
|
4090
|
+
icon: /* @__PURE__ */ jsx34(Icon, { icon: "CheckboxDefault" }),
|
|
4091
|
+
checkedIcon: /* @__PURE__ */ jsx34(Icon, { icon: "CheckboxSelect" }),
|
|
4092
|
+
indeterminateIcon: /* @__PURE__ */ jsx34(Icon, { icon: "CheckboxIndeterminate" })
|
|
3925
4093
|
},
|
|
3926
4094
|
/** **************************************
|
|
3927
4095
|
* STYLE
|
|
@@ -4464,7 +4632,7 @@ import { listItemIconClasses } from "@mui/material/ListItemIcon";
|
|
|
4464
4632
|
import { circularProgressClasses } from "@mui/material/CircularProgress";
|
|
4465
4633
|
import { formControlLabelClasses } from "@mui/material/FormControlLabel";
|
|
4466
4634
|
import SvgIcon2, { svgIconClasses as svgIconClasses2 } from "@mui/material/SvgIcon";
|
|
4467
|
-
import { jsx as
|
|
4635
|
+
import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4468
4636
|
var MuiDataGrid = {
|
|
4469
4637
|
/** **************************************
|
|
4470
4638
|
* DEFAULT PROPS
|
|
@@ -4472,9 +4640,9 @@ var MuiDataGrid = {
|
|
|
4472
4640
|
defaultProps: {
|
|
4473
4641
|
slots: {
|
|
4474
4642
|
/* Column */
|
|
4475
|
-
columnSortedAscendingIcon: (props) => /* @__PURE__ */
|
|
4476
|
-
columnSortedDescendingIcon: (props) => /* @__PURE__ */
|
|
4477
|
-
columnUnsortedIcon: (props) => /* @__PURE__ */
|
|
4643
|
+
columnSortedAscendingIcon: (props) => /* @__PURE__ */ jsx35(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
|
|
4644
|
+
columnSortedDescendingIcon: (props) => /* @__PURE__ */ jsx35(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
|
|
4645
|
+
columnUnsortedIcon: (props) => /* @__PURE__ */ jsx35(
|
|
4478
4646
|
DataGridArrowUpIcon,
|
|
4479
4647
|
{
|
|
4480
4648
|
fontSize: props.fontSize,
|
|
@@ -4482,26 +4650,26 @@ var MuiDataGrid = {
|
|
|
4482
4650
|
sx: { color: "text.disabled" }
|
|
4483
4651
|
}
|
|
4484
4652
|
),
|
|
4485
|
-
columnMenuIcon: (props) => /* @__PURE__ */
|
|
4486
|
-
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */
|
|
4487
|
-
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */
|
|
4488
|
-
columnMenuFilterIcon: (props) => /* @__PURE__ */
|
|
4489
|
-
columnMenuHideIcon: (props) => /* @__PURE__ */
|
|
4490
|
-
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */
|
|
4491
|
-
columnSelectorIcon: (props) => /* @__PURE__ */
|
|
4653
|
+
columnMenuIcon: (props) => /* @__PURE__ */ jsx35(DataGridMoreIcon, { width: 20, ...props }),
|
|
4654
|
+
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ jsx35(DataGridArrowUpIcon, { ...props }),
|
|
4655
|
+
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ jsx35(DataGridArrowDownIcon, { ...props }),
|
|
4656
|
+
columnMenuFilterIcon: (props) => /* @__PURE__ */ jsx35(DataGridFilterIcon, { ...props }),
|
|
4657
|
+
columnMenuHideIcon: (props) => /* @__PURE__ */ jsx35(DataGridEyeCloseIcon, { ...props }),
|
|
4658
|
+
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ jsx35(DataGridEyeIcon, { ...props }),
|
|
4659
|
+
columnSelectorIcon: (props) => /* @__PURE__ */ jsx35(DataGridEyeIcon, { ...props }),
|
|
4492
4660
|
/* Filter */
|
|
4493
|
-
filterPanelDeleteIcon: (props) => /* @__PURE__ */
|
|
4494
|
-
openFilterButtonIcon: (props) => /* @__PURE__ */
|
|
4495
|
-
columnFilteredIcon: (props) => /* @__PURE__ */
|
|
4661
|
+
filterPanelDeleteIcon: (props) => /* @__PURE__ */ jsx35(DataGridCloseIcon, { ...props }),
|
|
4662
|
+
openFilterButtonIcon: (props) => /* @__PURE__ */ jsx35(DataGridFilterIcon, { ...props }),
|
|
4663
|
+
columnFilteredIcon: (props) => /* @__PURE__ */ jsx35(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
|
|
4496
4664
|
/* Density */
|
|
4497
|
-
densityCompactIcon: (props) => /* @__PURE__ */
|
|
4498
|
-
densityStandardIcon: (props) => /* @__PURE__ */
|
|
4499
|
-
densityComfortableIcon: (props) => /* @__PURE__ */
|
|
4665
|
+
densityCompactIcon: (props) => /* @__PURE__ */ jsx35(DataGridDensityCompactIcon, { ...props }),
|
|
4666
|
+
densityStandardIcon: (props) => /* @__PURE__ */ jsx35(DataGridDensityStandardIcon, { ...props }),
|
|
4667
|
+
densityComfortableIcon: (props) => /* @__PURE__ */ jsx35(DataGridDensityComfortableIcon, { ...props }),
|
|
4500
4668
|
/* Export */
|
|
4501
|
-
exportIcon: (props) => /* @__PURE__ */
|
|
4669
|
+
exportIcon: (props) => /* @__PURE__ */ jsx35(DataGridExportIcon, { ...props }),
|
|
4502
4670
|
/* Quick Filter */
|
|
4503
|
-
quickFilterIcon: (props) => /* @__PURE__ */
|
|
4504
|
-
quickFilterClearIcon: (props) => /* @__PURE__ */
|
|
4671
|
+
quickFilterIcon: (props) => /* @__PURE__ */ jsx35(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
|
|
4672
|
+
quickFilterClearIcon: (props) => /* @__PURE__ */ jsx35(DataGridCloseIcon, { ...props })
|
|
4505
4673
|
},
|
|
4506
4674
|
slotProps: {
|
|
4507
4675
|
basePopper: { placement: "bottom-end" },
|
|
@@ -4651,15 +4819,15 @@ var MuiDataGrid = {
|
|
|
4651
4819
|
}
|
|
4652
4820
|
};
|
|
4653
4821
|
var dataGrid = { MuiDataGrid };
|
|
4654
|
-
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */
|
|
4655
|
-
/* @__PURE__ */
|
|
4822
|
+
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs19(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
4823
|
+
/* @__PURE__ */ jsx35(
|
|
4656
4824
|
"path",
|
|
4657
4825
|
{
|
|
4658
4826
|
fill: "currentColor",
|
|
4659
4827
|
d: "m8.303 11.596l3.327-3.431a.499.499 0 0 1 .74 0l6.43 6.63c.401.414.158 1.205-.37 1.205h-5.723z"
|
|
4660
4828
|
}
|
|
4661
4829
|
),
|
|
4662
|
-
/* @__PURE__ */
|
|
4830
|
+
/* @__PURE__ */ jsx35(
|
|
4663
4831
|
"path",
|
|
4664
4832
|
{
|
|
4665
4833
|
fill: "currentColor",
|
|
@@ -4668,15 +4836,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs16(SvgIcon2, { s
|
|
|
4668
4836
|
}
|
|
4669
4837
|
)
|
|
4670
4838
|
] });
|
|
4671
|
-
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */
|
|
4672
|
-
/* @__PURE__ */
|
|
4839
|
+
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs19(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
4840
|
+
/* @__PURE__ */ jsx35(
|
|
4673
4841
|
"path",
|
|
4674
4842
|
{
|
|
4675
4843
|
fill: "currentColor",
|
|
4676
4844
|
d: "m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z"
|
|
4677
4845
|
}
|
|
4678
4846
|
),
|
|
4679
|
-
/* @__PURE__ */
|
|
4847
|
+
/* @__PURE__ */ jsx35(
|
|
4680
4848
|
"path",
|
|
4681
4849
|
{
|
|
4682
4850
|
fill: "currentColor",
|
|
@@ -4685,15 +4853,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs16(SvgIcon2, {
|
|
|
4685
4853
|
}
|
|
4686
4854
|
)
|
|
4687
4855
|
] });
|
|
4688
|
-
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */
|
|
4856
|
+
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx35(
|
|
4689
4857
|
"path",
|
|
4690
4858
|
{
|
|
4691
4859
|
fill: "currentColor",
|
|
4692
4860
|
d: "M19 3H5c-1.414 0-2.121 0-2.56.412C2 3.824 2 4.488 2 5.815v.69c0 1.037 0 1.556.26 1.986c.26.43.733.698 1.682 1.232l2.913 1.64c.636.358.955.537 1.183.735c.474.411.766.895.898 1.49c.064.284.064.618.064 1.285v2.67c0 .909 0 1.364.252 1.718c.252.355.7.53 1.594.88c1.879.734 2.818 1.101 3.486.683c.668-.417.668-1.372.668-3.282v-2.67c0-.666 0-1 .064-1.285a2.68 2.68 0 0 1 .899-1.49c.227-.197.546-.376 1.182-.735l2.913-1.64c.948-.533 1.423-.8 1.682-1.23c.26-.43.26-.95.26-1.988v-.69c0-1.326 0-1.99-.44-2.402C21.122 3 20.415 3 19 3"
|
|
4693
4861
|
}
|
|
4694
4862
|
) });
|
|
4695
|
-
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */
|
|
4696
|
-
/* @__PURE__ */
|
|
4863
|
+
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs19(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
4864
|
+
/* @__PURE__ */ jsx35(
|
|
4697
4865
|
"path",
|
|
4698
4866
|
{
|
|
4699
4867
|
fill: "currentColor",
|
|
@@ -4702,7 +4870,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs16(SvgIcon2, { sx
|
|
|
4702
4870
|
clipRule: "evenodd"
|
|
4703
4871
|
}
|
|
4704
4872
|
),
|
|
4705
|
-
/* @__PURE__ */
|
|
4873
|
+
/* @__PURE__ */ jsx35(
|
|
4706
4874
|
"path",
|
|
4707
4875
|
{
|
|
4708
4876
|
fill: "currentColor",
|
|
@@ -4710,9 +4878,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs16(SvgIcon2, { sx
|
|
|
4710
4878
|
}
|
|
4711
4879
|
)
|
|
4712
4880
|
] });
|
|
4713
|
-
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */
|
|
4714
|
-
/* @__PURE__ */
|
|
4715
|
-
/* @__PURE__ */
|
|
4881
|
+
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ jsxs19(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
4882
|
+
/* @__PURE__ */ jsx35("path", { fill: "currentColor", d: "M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
|
|
4883
|
+
/* @__PURE__ */ jsx35(
|
|
4716
4884
|
"path",
|
|
4717
4885
|
{
|
|
4718
4886
|
fill: "currentColor",
|
|
@@ -4722,7 +4890,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ jsxs16(SvgIcon2, { sx: {
|
|
|
4722
4890
|
}
|
|
4723
4891
|
)
|
|
4724
4892
|
] });
|
|
4725
|
-
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
4893
|
+
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx35(
|
|
4726
4894
|
"path",
|
|
4727
4895
|
{
|
|
4728
4896
|
fill: "currentColor",
|
|
@@ -4731,23 +4899,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx32(SvgIcon2, { s
|
|
|
4731
4899
|
clipRule: "evenodd"
|
|
4732
4900
|
}
|
|
4733
4901
|
) });
|
|
4734
|
-
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */
|
|
4902
|
+
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx35(
|
|
4735
4903
|
"path",
|
|
4736
4904
|
{
|
|
4737
4905
|
fill: "currentColor",
|
|
4738
4906
|
d: "m20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8a7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42M5 11a6 6 0 1 1 6 6a6 6 0 0 1-6-6"
|
|
4739
4907
|
}
|
|
4740
4908
|
) });
|
|
4741
|
-
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
4909
|
+
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx35(
|
|
4742
4910
|
"path",
|
|
4743
4911
|
{
|
|
4744
4912
|
fill: "currentColor",
|
|
4745
4913
|
d: "m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z"
|
|
4746
4914
|
}
|
|
4747
4915
|
) });
|
|
4748
|
-
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */
|
|
4749
|
-
/* @__PURE__ */
|
|
4750
|
-
/* @__PURE__ */
|
|
4916
|
+
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs19("g", { fill: "none", children: [
|
|
4917
|
+
/* @__PURE__ */ jsx35("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
4918
|
+
/* @__PURE__ */ jsx35(
|
|
4751
4919
|
"path",
|
|
4752
4920
|
{
|
|
4753
4921
|
fill: "currentColor",
|
|
@@ -4755,16 +4923,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ jsx32(SvgIcon2, { sx: {
|
|
|
4755
4923
|
}
|
|
4756
4924
|
)
|
|
4757
4925
|
] }) });
|
|
4758
|
-
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */
|
|
4926
|
+
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx35(
|
|
4759
4927
|
"path",
|
|
4760
4928
|
{
|
|
4761
4929
|
fill: "currentColor",
|
|
4762
4930
|
d: "M4 15.5q-.425 0-.712-.288T3 14.5V14q0-.425.288-.712T4 13h16q.425 0 .713.288T21 14v.5q0 .425-.288.713T20 15.5zM4 11q-.425 0-.712-.288T3 10v-.5q0-.425.288-.712T4 8.5h16q.425 0 .713.288T21 9.5v.5q0 .425-.288.713T20 11zm0-4.5q-.425 0-.712-.288T3 5.5V5q0-.425.288-.712T4 4h16q.425 0 .713.288T21 5v.5q0 .425-.288.713T20 6.5zM4 20q-.425 0-.712-.288T3 19v-.5q0-.425.288-.712T4 17.5h16q.425 0 .713.288T21 18.5v.5q0 .425-.288.713T20 20z"
|
|
4763
4931
|
}
|
|
4764
4932
|
) });
|
|
4765
|
-
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */
|
|
4766
|
-
/* @__PURE__ */
|
|
4767
|
-
/* @__PURE__ */
|
|
4933
|
+
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs19("g", { fill: "none", fillRule: "evenodd", children: [
|
|
4934
|
+
/* @__PURE__ */ jsx35("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
4935
|
+
/* @__PURE__ */ jsx35(
|
|
4768
4936
|
"path",
|
|
4769
4937
|
{
|
|
4770
4938
|
fill: "currentColor",
|
|
@@ -4772,9 +4940,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ jsx32(Svg
|
|
|
4772
4940
|
}
|
|
4773
4941
|
)
|
|
4774
4942
|
] }) });
|
|
4775
|
-
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */
|
|
4776
|
-
/* @__PURE__ */
|
|
4777
|
-
/* @__PURE__ */
|
|
4943
|
+
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ jsx35(SvgIcon2, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs19("g", { fill: "none", children: [
|
|
4944
|
+
/* @__PURE__ */ jsx35("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
4945
|
+
/* @__PURE__ */ jsx35(
|
|
4778
4946
|
"path",
|
|
4779
4947
|
{
|
|
4780
4948
|
fill: "currentColor",
|
|
@@ -4934,12 +5102,12 @@ var buttonGroup = { MuiButtonGroup };
|
|
|
4934
5102
|
// src/theme/core/components/autocomplete.tsx
|
|
4935
5103
|
import { svgIconClasses as svgIconClasses3 } from "@mui/material/SvgIcon";
|
|
4936
5104
|
import { autocompleteClasses as autocompleteClasses3 } from "@mui/material/Autocomplete";
|
|
4937
|
-
import { jsx as
|
|
5105
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4938
5106
|
var MuiAutocomplete = {
|
|
4939
5107
|
/** **************************************
|
|
4940
5108
|
* DEFAULT PROPS
|
|
4941
5109
|
*************************************** */
|
|
4942
|
-
defaultProps: { popupIcon: /* @__PURE__ */
|
|
5110
|
+
defaultProps: { popupIcon: /* @__PURE__ */ jsx36(Icon, { icon: "NavArrowDown" }) },
|
|
4943
5111
|
/** **************************************
|
|
4944
5112
|
* STYLE
|
|
4945
5113
|
*************************************** */
|
|
@@ -5066,37 +5234,37 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
|
|
|
5066
5234
|
import { buttonClasses as buttonClasses3 } from "@mui/material/Button";
|
|
5067
5235
|
import SvgIcon3 from "@mui/material/SvgIcon";
|
|
5068
5236
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
5069
|
-
import { jsx as
|
|
5070
|
-
var PickerSwitchIcon = (props) => /* @__PURE__ */
|
|
5237
|
+
import { jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5238
|
+
var PickerSwitchIcon = (props) => /* @__PURE__ */ jsx37(SvgIcon3, { ...props, children: /* @__PURE__ */ jsx37(
|
|
5071
5239
|
"path",
|
|
5072
5240
|
{
|
|
5073
5241
|
fill: "currentColor",
|
|
5074
5242
|
d: "M12 15.5a1 1 0 0 1-.71-.29l-4-4a1 1 0 1 1 1.42-1.42L12 13.1l3.3-3.18a1 1 0 1 1 1.38 1.44l-4 3.86a1 1 0 0 1-.68.28"
|
|
5075
5243
|
}
|
|
5076
5244
|
) });
|
|
5077
|
-
var PickerLeftIcon = (props) => /* @__PURE__ */
|
|
5245
|
+
var PickerLeftIcon = (props) => /* @__PURE__ */ jsx37(SvgIcon3, { ...props, children: /* @__PURE__ */ jsx37(
|
|
5078
5246
|
"path",
|
|
5079
5247
|
{
|
|
5080
5248
|
fill: "currentColor",
|
|
5081
5249
|
d: "M13.83 19a1 1 0 0 1-.78-.37l-4.83-6a1 1 0 0 1 0-1.27l5-6a1 1 0 0 1 1.54 1.28L10.29 12l4.32 5.36a1 1 0 0 1-.78 1.64"
|
|
5082
5250
|
}
|
|
5083
5251
|
) });
|
|
5084
|
-
var PickerRightIcon = (props) => /* @__PURE__ */
|
|
5252
|
+
var PickerRightIcon = (props) => /* @__PURE__ */ jsx37(SvgIcon3, { ...props, children: /* @__PURE__ */ jsx37(
|
|
5085
5253
|
"path",
|
|
5086
5254
|
{
|
|
5087
5255
|
fill: "currentColor",
|
|
5088
5256
|
d: "M10 19a1 1 0 0 1-.64-.23a1 1 0 0 1-.13-1.41L13.71 12L9.39 6.63a1 1 0 0 1 .15-1.41a1 1 0 0 1 1.46.15l4.83 6a1 1 0 0 1 0 1.27l-5 6A1 1 0 0 1 10 19"
|
|
5089
5257
|
}
|
|
5090
5258
|
) });
|
|
5091
|
-
var PickerCalendarIcon = (props) => /* @__PURE__ */
|
|
5092
|
-
/* @__PURE__ */
|
|
5259
|
+
var PickerCalendarIcon = (props) => /* @__PURE__ */ jsxs20(SvgIcon3, { ...props, children: [
|
|
5260
|
+
/* @__PURE__ */ jsx37(
|
|
5093
5261
|
"path",
|
|
5094
5262
|
{
|
|
5095
5263
|
fill: "currentColor",
|
|
5096
5264
|
d: "M6.96 2c.418 0 .756.31.756.692V4.09c.67-.012 1.422-.012 2.268-.012h4.032c.846 0 1.597 0 2.268.012V2.692c0-.382.338-.692.756-.692s.756.31.756.692V4.15c1.45.106 2.403.368 3.103 1.008c.7.641.985 1.513 1.101 2.842v1H2V8c.116-1.329.401-2.2 1.101-2.842c.7-.64 1.652-.902 3.103-1.008V2.692c0-.382.339-.692.756-.692"
|
|
5097
5265
|
}
|
|
5098
5266
|
),
|
|
5099
|
-
/* @__PURE__ */
|
|
5267
|
+
/* @__PURE__ */ jsx37(
|
|
5100
5268
|
"path",
|
|
5101
5269
|
{
|
|
5102
5270
|
fill: "currentColor",
|
|
@@ -5104,9 +5272,9 @@ var PickerCalendarIcon = (props) => /* @__PURE__ */ jsxs17(SvgIcon3, { ...props,
|
|
|
5104
5272
|
opacity: "0.5"
|
|
5105
5273
|
}
|
|
5106
5274
|
),
|
|
5107
|
-
/* @__PURE__ */
|
|
5275
|
+
/* @__PURE__ */ jsx37("path", { fill: "currentColor", d: "M18 16.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0" })
|
|
5108
5276
|
] });
|
|
5109
|
-
var PickerClockIcon = (props) => /* @__PURE__ */
|
|
5277
|
+
var PickerClockIcon = (props) => /* @__PURE__ */ jsx37(SvgIcon3, { ...props, children: /* @__PURE__ */ jsx37(
|
|
5110
5278
|
"path",
|
|
5111
5279
|
{
|
|
5112
5280
|
fill: "currentColor",
|
|
@@ -5448,12 +5616,12 @@ var shouldSkipGeneratingVar = (keys) => {
|
|
|
5448
5616
|
|
|
5449
5617
|
// src/theme/color-scheme-script.tsx
|
|
5450
5618
|
import InitColorSchemeScript from "@mui/material/InitColorSchemeScript";
|
|
5451
|
-
import { jsx as
|
|
5619
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5452
5620
|
var schemeConfig = {
|
|
5453
5621
|
modeStorageKey: "theme-mode",
|
|
5454
5622
|
defaultMode: defaultSettings.colorScheme
|
|
5455
5623
|
};
|
|
5456
|
-
var getInitColorSchemeScript = /* @__PURE__ */
|
|
5624
|
+
var getInitColorSchemeScript = /* @__PURE__ */ jsx38(
|
|
5457
5625
|
InitColorSchemeScript,
|
|
5458
5626
|
{
|
|
5459
5627
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
@@ -5476,18 +5644,18 @@ import "@fontsource/geist/500.css";
|
|
|
5476
5644
|
import "@fontsource/geist/600.css";
|
|
5477
5645
|
import "@fontsource/geist/700.css";
|
|
5478
5646
|
import "./satoshi-4X3TX4PE.css";
|
|
5479
|
-
import { jsx as
|
|
5647
|
+
import { jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5480
5648
|
var ThemeProvider = ({ children }) => {
|
|
5481
5649
|
const settings = useSettings();
|
|
5482
5650
|
const theme = createTheme(settings);
|
|
5483
|
-
return /* @__PURE__ */
|
|
5651
|
+
return /* @__PURE__ */ jsxs21(
|
|
5484
5652
|
MuiThemeProvider,
|
|
5485
5653
|
{
|
|
5486
5654
|
theme,
|
|
5487
5655
|
defaultMode: schemeConfig.defaultMode,
|
|
5488
5656
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
5489
5657
|
children: [
|
|
5490
|
-
/* @__PURE__ */
|
|
5658
|
+
/* @__PURE__ */ jsx39(CssBaseline, {}),
|
|
5491
5659
|
children
|
|
5492
5660
|
]
|
|
5493
5661
|
}
|
|
@@ -5497,7 +5665,7 @@ var ThemeProvider = ({ children }) => {
|
|
|
5497
5665
|
// src/components/Logo/index.tsx
|
|
5498
5666
|
import Link from "@mui/material/Link";
|
|
5499
5667
|
import Box2 from "@mui/material/Box";
|
|
5500
|
-
import { jsx as
|
|
5668
|
+
import { jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5501
5669
|
var LOGO_MAP = {
|
|
5502
5670
|
full: {
|
|
5503
5671
|
black: "https://res.cloudinary.com/dvbtbsinu/image/upload/v1763077834/define-agency/logos/logo-black-full_mjngwu.png",
|
|
@@ -5525,7 +5693,7 @@ var Logo = ({
|
|
|
5525
5693
|
const type = isFull ? "full" : "single";
|
|
5526
5694
|
const color = isWhite ? "white" : isBlack ? "black" : "default";
|
|
5527
5695
|
const logoImg = src ?? LOGO_MAP[type][color];
|
|
5528
|
-
const logo = /* @__PURE__ */
|
|
5696
|
+
const logo = /* @__PURE__ */ jsx40(
|
|
5529
5697
|
Box2,
|
|
5530
5698
|
{
|
|
5531
5699
|
component: "img",
|
|
@@ -5538,10 +5706,10 @@ var Logo = ({
|
|
|
5538
5706
|
if (disableLink) {
|
|
5539
5707
|
return logo;
|
|
5540
5708
|
}
|
|
5541
|
-
return /* @__PURE__ */
|
|
5709
|
+
return /* @__PURE__ */ jsx40(Link, { component: LinkComponent, href, sx: { display: "contents" }, children: logo });
|
|
5542
5710
|
};
|
|
5543
5711
|
var AnimatedLogo = () => {
|
|
5544
|
-
return /* @__PURE__ */
|
|
5712
|
+
return /* @__PURE__ */ jsxs22(
|
|
5545
5713
|
"svg",
|
|
5546
5714
|
{
|
|
5547
5715
|
width: "120",
|
|
@@ -5550,7 +5718,7 @@ var AnimatedLogo = () => {
|
|
|
5550
5718
|
fill: "none",
|
|
5551
5719
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5552
5720
|
children: [
|
|
5553
|
-
/* @__PURE__ */
|
|
5721
|
+
/* @__PURE__ */ jsx40("style", { children: `
|
|
5554
5722
|
@keyframes fadeIn {
|
|
5555
5723
|
from {
|
|
5556
5724
|
opacity: 0;
|
|
@@ -5611,7 +5779,7 @@ var AnimatedLogo = () => {
|
|
|
5611
5779
|
transform-origin: center;
|
|
5612
5780
|
}
|
|
5613
5781
|
` }),
|
|
5614
|
-
/* @__PURE__ */
|
|
5782
|
+
/* @__PURE__ */ jsx40(
|
|
5615
5783
|
"rect",
|
|
5616
5784
|
{
|
|
5617
5785
|
className: "background-rect",
|
|
@@ -5622,7 +5790,7 @@ var AnimatedLogo = () => {
|
|
|
5622
5790
|
fill: "white"
|
|
5623
5791
|
}
|
|
5624
5792
|
),
|
|
5625
|
-
/* @__PURE__ */
|
|
5793
|
+
/* @__PURE__ */ jsx40(
|
|
5626
5794
|
"path",
|
|
5627
5795
|
{
|
|
5628
5796
|
className: "bars",
|
|
@@ -5630,7 +5798,7 @@ var AnimatedLogo = () => {
|
|
|
5630
5798
|
fill: "#5E30EB"
|
|
5631
5799
|
}
|
|
5632
5800
|
),
|
|
5633
|
-
/* @__PURE__ */
|
|
5801
|
+
/* @__PURE__ */ jsx40(
|
|
5634
5802
|
"path",
|
|
5635
5803
|
{
|
|
5636
5804
|
className: "d-letter",
|
|
@@ -5650,7 +5818,7 @@ import { DataGrid } from "@mui/x-data-grid";
|
|
|
5650
5818
|
// src/components/Table/components/TableNoRows.tsx
|
|
5651
5819
|
import Box3 from "@mui/material/Box";
|
|
5652
5820
|
import { styled } from "@mui/material/styles";
|
|
5653
|
-
import { jsx as
|
|
5821
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5654
5822
|
var StyledGridOverlay = styled("div")(({ theme }) => ({
|
|
5655
5823
|
display: "flex",
|
|
5656
5824
|
flexDirection: "column",
|
|
@@ -5660,7 +5828,7 @@ var StyledGridOverlay = styled("div")(({ theme }) => ({
|
|
|
5660
5828
|
height: "100%"
|
|
5661
5829
|
}));
|
|
5662
5830
|
var TableNoRows = ({ noRowsTitle = "No Rows" }) => {
|
|
5663
|
-
return /* @__PURE__ */
|
|
5831
|
+
return /* @__PURE__ */ jsx41(StyledGridOverlay, { children: /* @__PURE__ */ jsx41(Box3, { sx: { mt: 1 }, children: noRowsTitle }) });
|
|
5664
5832
|
};
|
|
5665
5833
|
var TableNoRows_default = TableNoRows;
|
|
5666
5834
|
|
|
@@ -5677,7 +5845,7 @@ import {
|
|
|
5677
5845
|
gridRowCountSelector,
|
|
5678
5846
|
gridPageCountSelector
|
|
5679
5847
|
} from "@mui/x-data-grid";
|
|
5680
|
-
import { jsx as
|
|
5848
|
+
import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5681
5849
|
var TablePagination = () => {
|
|
5682
5850
|
const apiRef = useGridApiContext();
|
|
5683
5851
|
const page = useGridSelector(apiRef, gridPageSelector);
|
|
@@ -5686,7 +5854,7 @@ var TablePagination = () => {
|
|
|
5686
5854
|
const rowCount = useGridSelector(apiRef, gridRowCountSelector);
|
|
5687
5855
|
const from = page * pageSize + 1;
|
|
5688
5856
|
const to = Math.min((page + 1) * pageSize, rowCount);
|
|
5689
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsxs23(
|
|
5690
5858
|
Stack,
|
|
5691
5859
|
{
|
|
5692
5860
|
direction: "row",
|
|
@@ -5695,14 +5863,14 @@ var TablePagination = () => {
|
|
|
5695
5863
|
width: 1,
|
|
5696
5864
|
p: 1.5,
|
|
5697
5865
|
children: [
|
|
5698
|
-
/* @__PURE__ */
|
|
5866
|
+
/* @__PURE__ */ jsxs23(
|
|
5699
5867
|
Stack,
|
|
5700
5868
|
{
|
|
5701
5869
|
direction: { xs: "column", md: "row" },
|
|
5702
5870
|
alignItems: { xs: "flex-start", md: "center" },
|
|
5703
5871
|
spacing: 2,
|
|
5704
5872
|
children: [
|
|
5705
|
-
/* @__PURE__ */
|
|
5873
|
+
/* @__PURE__ */ jsx42(
|
|
5706
5874
|
Pagination,
|
|
5707
5875
|
{
|
|
5708
5876
|
size: "medium",
|
|
@@ -5714,17 +5882,17 @@ var TablePagination = () => {
|
|
|
5714
5882
|
showFirstButton: true,
|
|
5715
5883
|
showLastButton: true,
|
|
5716
5884
|
onChange: (_, value) => apiRef.current.setPage(value - 1),
|
|
5717
|
-
renderItem: (item) => /* @__PURE__ */
|
|
5885
|
+
renderItem: (item) => /* @__PURE__ */ jsx42(PaginationItem, { ...item })
|
|
5718
5886
|
}
|
|
5719
5887
|
),
|
|
5720
|
-
/* @__PURE__ */
|
|
5888
|
+
/* @__PURE__ */ jsx42(Stack, { direction: "row", alignItems: "center", spacing: 1, children: /* @__PURE__ */ jsxs23(Typography, { variant: "body2", color: "text.secondary", children: [
|
|
5721
5889
|
pageSize,
|
|
5722
5890
|
" Items per page"
|
|
5723
5891
|
] }) })
|
|
5724
5892
|
]
|
|
5725
5893
|
}
|
|
5726
5894
|
),
|
|
5727
|
-
/* @__PURE__ */
|
|
5895
|
+
/* @__PURE__ */ jsxs23(Typography, { variant: "body2", color: "text.secondary", children: [
|
|
5728
5896
|
`${from} \u2013 ${to} of ${rowCount !== -1 ? rowCount : `more than ${to}`} items`,
|
|
5729
5897
|
" "
|
|
5730
5898
|
] })
|
|
@@ -5734,10 +5902,10 @@ var TablePagination = () => {
|
|
|
5734
5902
|
};
|
|
5735
5903
|
|
|
5736
5904
|
// src/components/Table/Table.tsx
|
|
5737
|
-
import { jsx as
|
|
5905
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5738
5906
|
var Table = (props) => {
|
|
5739
5907
|
const { data, showToolbar = false, ...rest } = props;
|
|
5740
|
-
return /* @__PURE__ */
|
|
5908
|
+
return /* @__PURE__ */ jsx43(Box4, { children: /* @__PURE__ */ jsx43(
|
|
5741
5909
|
DataGrid,
|
|
5742
5910
|
{
|
|
5743
5911
|
rowHeight: 64,
|
|
@@ -5786,9 +5954,9 @@ import FormHelperText from "@mui/material/FormHelperText";
|
|
|
5786
5954
|
// src/components/Upload/components/Placeholder.tsx
|
|
5787
5955
|
import Stack2 from "@mui/material/Stack";
|
|
5788
5956
|
import Box5 from "@mui/material/Box";
|
|
5789
|
-
import { jsx as
|
|
5957
|
+
import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5790
5958
|
var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
5791
|
-
return /* @__PURE__ */
|
|
5959
|
+
return /* @__PURE__ */ jsxs24(
|
|
5792
5960
|
Box5,
|
|
5793
5961
|
{
|
|
5794
5962
|
sx: {
|
|
@@ -5799,7 +5967,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5799
5967
|
},
|
|
5800
5968
|
...rest,
|
|
5801
5969
|
children: [
|
|
5802
|
-
/* @__PURE__ */
|
|
5970
|
+
/* @__PURE__ */ jsx44(
|
|
5803
5971
|
Icon,
|
|
5804
5972
|
{
|
|
5805
5973
|
icon: "CloudUpload",
|
|
@@ -5810,10 +5978,10 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5810
5978
|
}
|
|
5811
5979
|
}
|
|
5812
5980
|
),
|
|
5813
|
-
/* @__PURE__ */
|
|
5814
|
-
/* @__PURE__ */
|
|
5981
|
+
/* @__PURE__ */ jsxs24(Stack2, { spacing: 1, sx: { textAlign: "center", mt: 2 }, children: [
|
|
5982
|
+
/* @__PURE__ */ jsxs24(Box5, { sx: { typography: "h8" }, children: [
|
|
5815
5983
|
"Drag files here or",
|
|
5816
|
-
/* @__PURE__ */
|
|
5984
|
+
/* @__PURE__ */ jsx44(
|
|
5817
5985
|
Box5,
|
|
5818
5986
|
{
|
|
5819
5987
|
component: "span",
|
|
@@ -5826,7 +5994,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5826
5994
|
}
|
|
5827
5995
|
)
|
|
5828
5996
|
] }),
|
|
5829
|
-
/* @__PURE__ */
|
|
5997
|
+
/* @__PURE__ */ jsxs24(
|
|
5830
5998
|
Box5,
|
|
5831
5999
|
{
|
|
5832
6000
|
sx: {
|
|
@@ -5881,12 +6049,12 @@ var fileData = (file) => {
|
|
|
5881
6049
|
};
|
|
5882
6050
|
|
|
5883
6051
|
// src/components/Upload/components/RejectionFiles.tsx
|
|
5884
|
-
import { jsx as
|
|
6052
|
+
import { jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5885
6053
|
var RejectionFiles = ({ files }) => {
|
|
5886
6054
|
if (!files.length) {
|
|
5887
6055
|
return null;
|
|
5888
6056
|
}
|
|
5889
|
-
return /* @__PURE__ */
|
|
6057
|
+
return /* @__PURE__ */ jsx45(
|
|
5890
6058
|
Paper,
|
|
5891
6059
|
{
|
|
5892
6060
|
variant: "outlined",
|
|
@@ -5901,13 +6069,13 @@ var RejectionFiles = ({ files }) => {
|
|
|
5901
6069
|
},
|
|
5902
6070
|
children: files.map(({ file, errors }) => {
|
|
5903
6071
|
const { path, size } = fileData(file);
|
|
5904
|
-
return /* @__PURE__ */
|
|
5905
|
-
/* @__PURE__ */
|
|
6072
|
+
return /* @__PURE__ */ jsxs25(Box6, { sx: { my: 1 }, children: [
|
|
6073
|
+
/* @__PURE__ */ jsxs25(Typography2, { variant: "subtitle2", noWrap: true, children: [
|
|
5906
6074
|
path,
|
|
5907
6075
|
" - ",
|
|
5908
6076
|
size ? fData(size) : ""
|
|
5909
6077
|
] }),
|
|
5910
|
-
errors.map((error2) => /* @__PURE__ */
|
|
6078
|
+
errors.map((error2) => /* @__PURE__ */ jsxs25(Box6, { component: "span", sx: { typography: "caption" }, children: [
|
|
5911
6079
|
"- ",
|
|
5912
6080
|
error2.message
|
|
5913
6081
|
] }, error2.code))
|
|
@@ -5920,9 +6088,9 @@ var RejectionFiles = ({ files }) => {
|
|
|
5920
6088
|
// src/components/Upload/components/UploadProgress.tsx
|
|
5921
6089
|
import Box7 from "@mui/material/Box";
|
|
5922
6090
|
import CircularProgress from "@mui/material/CircularProgress";
|
|
5923
|
-
import { jsx as
|
|
6091
|
+
import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5924
6092
|
var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
5925
|
-
return /* @__PURE__ */
|
|
6093
|
+
return /* @__PURE__ */ jsxs26(
|
|
5926
6094
|
Box7,
|
|
5927
6095
|
{
|
|
5928
6096
|
sx: {
|
|
@@ -5933,8 +6101,8 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
5933
6101
|
height: "100%"
|
|
5934
6102
|
},
|
|
5935
6103
|
children: [
|
|
5936
|
-
/* @__PURE__ */
|
|
5937
|
-
/* @__PURE__ */
|
|
6104
|
+
/* @__PURE__ */ jsxs26(Box7, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
6105
|
+
/* @__PURE__ */ jsx46(
|
|
5938
6106
|
CircularProgress,
|
|
5939
6107
|
{
|
|
5940
6108
|
variant: "determinate",
|
|
@@ -5947,7 +6115,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
5947
6115
|
}
|
|
5948
6116
|
}
|
|
5949
6117
|
),
|
|
5950
|
-
/* @__PURE__ */
|
|
6118
|
+
/* @__PURE__ */ jsx46(
|
|
5951
6119
|
CircularProgress,
|
|
5952
6120
|
{
|
|
5953
6121
|
variant: "determinate",
|
|
@@ -5959,7 +6127,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
5959
6127
|
}
|
|
5960
6128
|
}
|
|
5961
6129
|
),
|
|
5962
|
-
/* @__PURE__ */
|
|
6130
|
+
/* @__PURE__ */ jsx46(
|
|
5963
6131
|
Box7,
|
|
5964
6132
|
{
|
|
5965
6133
|
sx: {
|
|
@@ -5972,11 +6140,11 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
5972
6140
|
alignItems: "center",
|
|
5973
6141
|
justifyContent: "center"
|
|
5974
6142
|
},
|
|
5975
|
-
children: /* @__PURE__ */
|
|
6143
|
+
children: /* @__PURE__ */ jsx46(Box7, { sx: { typography: "h6", color: "common.black" }, children: `${Math.round(progress2)}` })
|
|
5976
6144
|
}
|
|
5977
6145
|
)
|
|
5978
6146
|
] }),
|
|
5979
|
-
/* @__PURE__ */
|
|
6147
|
+
/* @__PURE__ */ jsx46(Box7, { sx: { mt: 2, typography: "h6" }, children: "Uploading" })
|
|
5980
6148
|
]
|
|
5981
6149
|
}
|
|
5982
6150
|
);
|
|
@@ -5990,11 +6158,11 @@ import IconButton2 from "@mui/material/IconButton";
|
|
|
5990
6158
|
// src/components/Upload/components/SingleFilePreview.tsx
|
|
5991
6159
|
import Box8 from "@mui/material/Box";
|
|
5992
6160
|
import IconButton from "@mui/material/IconButton";
|
|
5993
|
-
import { jsx as
|
|
6161
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5994
6162
|
var SingleFilePreview = ({ file }) => {
|
|
5995
6163
|
const fileName = typeof file === "string" ? file : file.name;
|
|
5996
6164
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
5997
|
-
const renderImg = /* @__PURE__ */
|
|
6165
|
+
const renderImg = /* @__PURE__ */ jsx47(
|
|
5998
6166
|
Box8,
|
|
5999
6167
|
{
|
|
6000
6168
|
component: "img",
|
|
@@ -6008,7 +6176,7 @@ var SingleFilePreview = ({ file }) => {
|
|
|
6008
6176
|
}
|
|
6009
6177
|
}
|
|
6010
6178
|
);
|
|
6011
|
-
return /* @__PURE__ */
|
|
6179
|
+
return /* @__PURE__ */ jsx47(
|
|
6012
6180
|
Box8,
|
|
6013
6181
|
{
|
|
6014
6182
|
sx: {
|
|
@@ -6024,7 +6192,7 @@ var SingleFilePreview = ({ file }) => {
|
|
|
6024
6192
|
);
|
|
6025
6193
|
};
|
|
6026
6194
|
var DeleteButton = ({ sx, ...rest }) => {
|
|
6027
|
-
return /* @__PURE__ */
|
|
6195
|
+
return /* @__PURE__ */ jsx47(
|
|
6028
6196
|
IconButton,
|
|
6029
6197
|
{
|
|
6030
6198
|
size: "small",
|
|
@@ -6043,13 +6211,13 @@ var DeleteButton = ({ sx, ...rest }) => {
|
|
|
6043
6211
|
...sx
|
|
6044
6212
|
},
|
|
6045
6213
|
...rest,
|
|
6046
|
-
children: /* @__PURE__ */
|
|
6214
|
+
children: /* @__PURE__ */ jsx47(Icon, { icon: "XMark", sx: { width: 18, height: 18 } })
|
|
6047
6215
|
}
|
|
6048
6216
|
);
|
|
6049
6217
|
};
|
|
6050
6218
|
|
|
6051
6219
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
6052
|
-
import { jsx as
|
|
6220
|
+
import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6053
6221
|
var MultiFilePreview = ({ files, onRemove }) => {
|
|
6054
6222
|
const scrollRef = useRef3(null);
|
|
6055
6223
|
const handleScroll = (direction) => {
|
|
@@ -6063,8 +6231,8 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6063
6231
|
}
|
|
6064
6232
|
};
|
|
6065
6233
|
const showNavigation = files.length > 2;
|
|
6066
|
-
return /* @__PURE__ */
|
|
6067
|
-
showNavigation && /* @__PURE__ */
|
|
6234
|
+
return /* @__PURE__ */ jsxs27(Box9, { sx: { position: "relative", width: 1 }, children: [
|
|
6235
|
+
showNavigation && /* @__PURE__ */ jsx48(
|
|
6068
6236
|
IconButton2,
|
|
6069
6237
|
{
|
|
6070
6238
|
size: "small",
|
|
@@ -6081,10 +6249,10 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6081
6249
|
bgcolor: (theme) => varAlpha(theme.vars.palette.common.whiteChannel, 1)
|
|
6082
6250
|
}
|
|
6083
6251
|
},
|
|
6084
|
-
children: /* @__PURE__ */
|
|
6252
|
+
children: /* @__PURE__ */ jsx48(Icon, { icon: "NavArrowLeft", width: 20 })
|
|
6085
6253
|
}
|
|
6086
6254
|
),
|
|
6087
|
-
/* @__PURE__ */
|
|
6255
|
+
/* @__PURE__ */ jsx48(
|
|
6088
6256
|
Box9,
|
|
6089
6257
|
{
|
|
6090
6258
|
ref: scrollRef,
|
|
@@ -6103,7 +6271,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6103
6271
|
children: files.map((file, index) => {
|
|
6104
6272
|
const fileName = typeof file === "string" ? file : file.name;
|
|
6105
6273
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
6106
|
-
return /* @__PURE__ */
|
|
6274
|
+
return /* @__PURE__ */ jsxs27(
|
|
6107
6275
|
Box9,
|
|
6108
6276
|
{
|
|
6109
6277
|
sx: {
|
|
@@ -6115,7 +6283,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6115
6283
|
flexShrink: 0
|
|
6116
6284
|
},
|
|
6117
6285
|
children: [
|
|
6118
|
-
/* @__PURE__ */
|
|
6286
|
+
/* @__PURE__ */ jsx48(
|
|
6119
6287
|
Box9,
|
|
6120
6288
|
{
|
|
6121
6289
|
component: "img",
|
|
@@ -6129,7 +6297,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6129
6297
|
}
|
|
6130
6298
|
}
|
|
6131
6299
|
),
|
|
6132
|
-
onRemove && /* @__PURE__ */
|
|
6300
|
+
onRemove && /* @__PURE__ */ jsx48(
|
|
6133
6301
|
DeleteButton,
|
|
6134
6302
|
{
|
|
6135
6303
|
onClick: (e) => {
|
|
@@ -6145,7 +6313,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6145
6313
|
})
|
|
6146
6314
|
}
|
|
6147
6315
|
),
|
|
6148
|
-
showNavigation && /* @__PURE__ */
|
|
6316
|
+
showNavigation && /* @__PURE__ */ jsx48(
|
|
6149
6317
|
IconButton2,
|
|
6150
6318
|
{
|
|
6151
6319
|
size: "small",
|
|
@@ -6162,14 +6330,14 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6162
6330
|
bgcolor: (theme) => varAlpha(theme.vars.palette.common.whiteChannel, 1)
|
|
6163
6331
|
}
|
|
6164
6332
|
},
|
|
6165
|
-
children: /* @__PURE__ */
|
|
6333
|
+
children: /* @__PURE__ */ jsx48(Icon, { icon: "NavArrowRight", width: 20 })
|
|
6166
6334
|
}
|
|
6167
6335
|
)
|
|
6168
6336
|
] });
|
|
6169
6337
|
};
|
|
6170
6338
|
|
|
6171
6339
|
// src/components/Upload/Upload.tsx
|
|
6172
|
-
import { jsx as
|
|
6340
|
+
import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6173
6341
|
var Upload = ({
|
|
6174
6342
|
sx,
|
|
6175
6343
|
value,
|
|
@@ -6196,19 +6364,19 @@ var Upload = ({
|
|
|
6196
6364
|
const hasError = isDragReject || !!error2;
|
|
6197
6365
|
const renderContent = () => {
|
|
6198
6366
|
if (isUploading) {
|
|
6199
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsx49(UploadProgress, { progress: uploadProgress });
|
|
6200
6368
|
}
|
|
6201
6369
|
if (hasFile) {
|
|
6202
|
-
return /* @__PURE__ */
|
|
6370
|
+
return /* @__PURE__ */ jsx49(SingleFilePreview, { file: value });
|
|
6203
6371
|
}
|
|
6204
6372
|
if (hasFiles) {
|
|
6205
|
-
return /* @__PURE__ */
|
|
6373
|
+
return /* @__PURE__ */ jsx49(MultiFilePreview, { files: value, onRemove });
|
|
6206
6374
|
}
|
|
6207
|
-
return /* @__PURE__ */
|
|
6375
|
+
return /* @__PURE__ */ jsx49(UploadPlaceholder, { hasError });
|
|
6208
6376
|
};
|
|
6209
6377
|
const shouldShowDropzone = !hasFile && !hasFiles && !isUploading;
|
|
6210
|
-
return /* @__PURE__ */
|
|
6211
|
-
/* @__PURE__ */
|
|
6378
|
+
return /* @__PURE__ */ jsxs28(Box10, { sx: { width: 1, position: "relative", ...sx }, children: [
|
|
6379
|
+
/* @__PURE__ */ jsxs28(
|
|
6212
6380
|
Box10,
|
|
6213
6381
|
{
|
|
6214
6382
|
...shouldShowDropzone ? getRootProps() : {},
|
|
@@ -6247,37 +6415,37 @@ var Upload = ({
|
|
|
6247
6415
|
}
|
|
6248
6416
|
},
|
|
6249
6417
|
children: [
|
|
6250
|
-
shouldShowDropzone && /* @__PURE__ */
|
|
6418
|
+
shouldShowDropzone && /* @__PURE__ */ jsx49("input", { ...getInputProps() }),
|
|
6251
6419
|
renderContent()
|
|
6252
6420
|
]
|
|
6253
6421
|
}
|
|
6254
6422
|
),
|
|
6255
|
-
hasFile && !isUploading && /* @__PURE__ */
|
|
6256
|
-
hasFiles && /* @__PURE__ */
|
|
6257
|
-
onRemoveAll && /* @__PURE__ */
|
|
6423
|
+
hasFile && !isUploading && /* @__PURE__ */ jsx49(DeleteButton, { onClick: onDelete }),
|
|
6424
|
+
hasFiles && /* @__PURE__ */ jsxs28(Stack3, { direction: "row", spacing: 2, sx: { mt: 2 }, children: [
|
|
6425
|
+
onRemoveAll && /* @__PURE__ */ jsx49(
|
|
6258
6426
|
Button,
|
|
6259
6427
|
{
|
|
6260
6428
|
variant: "outlined",
|
|
6261
6429
|
color: "inherit",
|
|
6262
6430
|
size: "small",
|
|
6263
6431
|
onClick: onRemoveAll,
|
|
6264
|
-
startIcon: /* @__PURE__ */
|
|
6432
|
+
startIcon: /* @__PURE__ */ jsx49(Icon, { icon: "Trash", sx: { width: 14, height: 14 } }),
|
|
6265
6433
|
children: "Remove all"
|
|
6266
6434
|
}
|
|
6267
6435
|
),
|
|
6268
|
-
onUpload && /* @__PURE__ */
|
|
6436
|
+
onUpload && /* @__PURE__ */ jsx49(
|
|
6269
6437
|
Button,
|
|
6270
6438
|
{
|
|
6271
6439
|
variant: "contained",
|
|
6272
6440
|
size: "small",
|
|
6273
6441
|
onClick: onUpload,
|
|
6274
|
-
startIcon: /* @__PURE__ */
|
|
6442
|
+
startIcon: /* @__PURE__ */ jsx49(Icon, { icon: "CloudUpload", sx: { width: 14, height: 14 } }),
|
|
6275
6443
|
children: "Upload files"
|
|
6276
6444
|
}
|
|
6277
6445
|
)
|
|
6278
6446
|
] }),
|
|
6279
|
-
helperText && /* @__PURE__ */
|
|
6280
|
-
/* @__PURE__ */
|
|
6447
|
+
helperText && /* @__PURE__ */ jsx49(FormHelperText, { error: !!error2, sx: { color: "text.body", fontWeight: 500, mt: 1 }, children: helperText }),
|
|
6448
|
+
/* @__PURE__ */ jsx49(RejectionFiles, { files: [...fileRejections] })
|
|
6281
6449
|
] });
|
|
6282
6450
|
};
|
|
6283
6451
|
|
|
@@ -6286,14 +6454,14 @@ import {
|
|
|
6286
6454
|
FormProvider as RHFForm
|
|
6287
6455
|
} from "react-hook-form";
|
|
6288
6456
|
import Box11 from "@mui/material/Box";
|
|
6289
|
-
import { jsx as
|
|
6457
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
6290
6458
|
var Form = ({
|
|
6291
6459
|
children,
|
|
6292
6460
|
onSubmit,
|
|
6293
6461
|
methods,
|
|
6294
6462
|
...rest
|
|
6295
6463
|
}) => {
|
|
6296
|
-
return /* @__PURE__ */
|
|
6464
|
+
return /* @__PURE__ */ jsx50(RHFForm, { ...methods, children: /* @__PURE__ */ jsx50(
|
|
6297
6465
|
Box11,
|
|
6298
6466
|
{
|
|
6299
6467
|
component: "form",
|
|
@@ -6322,7 +6490,7 @@ import FormLabel from "@mui/material/FormLabel";
|
|
|
6322
6490
|
import FormControl from "@mui/material/FormControl";
|
|
6323
6491
|
import FormHelperText2 from "@mui/material/FormHelperText";
|
|
6324
6492
|
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
6325
|
-
import { jsx as
|
|
6493
|
+
import { jsx as jsx51, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6326
6494
|
var RHFSwitch = ({
|
|
6327
6495
|
name,
|
|
6328
6496
|
description,
|
|
@@ -6334,16 +6502,16 @@ var RHFSwitch = ({
|
|
|
6334
6502
|
}) => {
|
|
6335
6503
|
const { control } = useFormContext();
|
|
6336
6504
|
const baseAriaLabel = `Switch ${name}`;
|
|
6337
|
-
return /* @__PURE__ */
|
|
6505
|
+
return /* @__PURE__ */ jsx51(
|
|
6338
6506
|
Controller,
|
|
6339
6507
|
{
|
|
6340
6508
|
name,
|
|
6341
6509
|
control,
|
|
6342
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6343
|
-
/* @__PURE__ */
|
|
6510
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs29(Box12, { sx: slotProps?.wrap, children: [
|
|
6511
|
+
/* @__PURE__ */ jsx51(
|
|
6344
6512
|
FormControlLabel,
|
|
6345
6513
|
{
|
|
6346
|
-
control: /* @__PURE__ */
|
|
6514
|
+
control: /* @__PURE__ */ jsx51(
|
|
6347
6515
|
Switch,
|
|
6348
6516
|
{
|
|
6349
6517
|
...field,
|
|
@@ -6358,9 +6526,9 @@ var RHFSwitch = ({
|
|
|
6358
6526
|
}
|
|
6359
6527
|
}
|
|
6360
6528
|
),
|
|
6361
|
-
label: /* @__PURE__ */
|
|
6362
|
-
/* @__PURE__ */
|
|
6363
|
-
description && /* @__PURE__ */
|
|
6529
|
+
label: /* @__PURE__ */ jsxs29(Stack4, { children: [
|
|
6530
|
+
/* @__PURE__ */ jsx51(Typography3, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
6531
|
+
description && /* @__PURE__ */ jsx51(Typography3, { variant: "body2", color: "textBody", children: description })
|
|
6364
6532
|
] }),
|
|
6365
6533
|
sx: {
|
|
6366
6534
|
alignItems: description ? "flex-start" : "center",
|
|
@@ -6369,7 +6537,7 @@ var RHFSwitch = ({
|
|
|
6369
6537
|
...other
|
|
6370
6538
|
}
|
|
6371
6539
|
),
|
|
6372
|
-
(!!error2 || helperText) && /* @__PURE__ */
|
|
6540
|
+
(!!error2 || helperText) && /* @__PURE__ */ jsx51(
|
|
6373
6541
|
FormHelperText2,
|
|
6374
6542
|
{
|
|
6375
6543
|
error: !!error2,
|
|
@@ -6392,19 +6560,19 @@ var RHFMultiSwitch = ({
|
|
|
6392
6560
|
}) => {
|
|
6393
6561
|
const { control } = useFormContext();
|
|
6394
6562
|
const getSelected = (currentValues, optionValue) => currentValues.includes(optionValue) ? currentValues.filter((value) => value !== optionValue) : [...currentValues, optionValue];
|
|
6395
|
-
return /* @__PURE__ */
|
|
6563
|
+
return /* @__PURE__ */ jsx51(
|
|
6396
6564
|
Controller,
|
|
6397
6565
|
{
|
|
6398
6566
|
name,
|
|
6399
6567
|
control,
|
|
6400
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6568
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs29(
|
|
6401
6569
|
FormControl,
|
|
6402
6570
|
{
|
|
6403
6571
|
component: "fieldset",
|
|
6404
6572
|
sx: slotProps?.formControl?.sx,
|
|
6405
6573
|
...slotProps?.formControl,
|
|
6406
6574
|
children: [
|
|
6407
|
-
label && /* @__PURE__ */
|
|
6575
|
+
label && /* @__PURE__ */ jsx51(
|
|
6408
6576
|
FormLabel,
|
|
6409
6577
|
{
|
|
6410
6578
|
component: "legend",
|
|
@@ -6413,12 +6581,12 @@ var RHFMultiSwitch = ({
|
|
|
6413
6581
|
children: label
|
|
6414
6582
|
}
|
|
6415
6583
|
),
|
|
6416
|
-
/* @__PURE__ */
|
|
6584
|
+
/* @__PURE__ */ jsx51(FormGroup, { ...other, children: options.map((option) => {
|
|
6417
6585
|
const itemAriaLabel = option.label || `Option ${option.value}`;
|
|
6418
|
-
return /* @__PURE__ */
|
|
6586
|
+
return /* @__PURE__ */ jsx51(
|
|
6419
6587
|
FormControlLabel,
|
|
6420
6588
|
{
|
|
6421
|
-
control: /* @__PURE__ */
|
|
6589
|
+
control: /* @__PURE__ */ jsx51(
|
|
6422
6590
|
Switch,
|
|
6423
6591
|
{
|
|
6424
6592
|
checked: (field.value || []).includes(option.value),
|
|
@@ -6441,7 +6609,7 @@ var RHFMultiSwitch = ({
|
|
|
6441
6609
|
option.value
|
|
6442
6610
|
);
|
|
6443
6611
|
}) }),
|
|
6444
|
-
(!!error2 || helperText) && /* @__PURE__ */
|
|
6612
|
+
(!!error2 || helperText) && /* @__PURE__ */ jsx51(FormHelperText2, { error: !!error2, sx: { mx: 0 }, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6445
6613
|
]
|
|
6446
6614
|
}
|
|
6447
6615
|
)
|
|
@@ -6451,10 +6619,10 @@ var RHFMultiSwitch = ({
|
|
|
6451
6619
|
|
|
6452
6620
|
// src/components/HookForm/RHFUpload.tsx
|
|
6453
6621
|
import { Controller as Controller2, useFormContext as useFormContext2 } from "react-hook-form";
|
|
6454
|
-
import { jsx as
|
|
6622
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6455
6623
|
var RHFUpload = ({ name, multiple, helperText, ...rest }) => {
|
|
6456
6624
|
const { control, setValue } = useFormContext2();
|
|
6457
|
-
return /* @__PURE__ */
|
|
6625
|
+
return /* @__PURE__ */ jsx52(
|
|
6458
6626
|
Controller2,
|
|
6459
6627
|
{
|
|
6460
6628
|
name,
|
|
@@ -6482,7 +6650,7 @@ var RHFUpload = ({ name, multiple, helperText, ...rest }) => {
|
|
|
6482
6650
|
const onRemoveAll = () => {
|
|
6483
6651
|
setValue(name, [], { shouldValidate: true });
|
|
6484
6652
|
};
|
|
6485
|
-
return /* @__PURE__ */
|
|
6653
|
+
return /* @__PURE__ */ jsx52(
|
|
6486
6654
|
Upload,
|
|
6487
6655
|
{
|
|
6488
6656
|
multiple,
|
|
@@ -6507,16 +6675,16 @@ import { Controller as Controller3, useFormContext as useFormContext3 } from "re
|
|
|
6507
6675
|
import IconButton3 from "@mui/material/IconButton";
|
|
6508
6676
|
import InputAdornment from "@mui/material/InputAdornment";
|
|
6509
6677
|
import TextField from "@mui/material/TextField";
|
|
6510
|
-
import { jsx as
|
|
6678
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6511
6679
|
var RHFTextField = ({ name, helperText, type, slotProps, ...rest }) => {
|
|
6512
6680
|
const { control } = useFormContext3();
|
|
6513
6681
|
const passwordVisibility = useBoolean();
|
|
6514
|
-
return /* @__PURE__ */
|
|
6682
|
+
return /* @__PURE__ */ jsx53(
|
|
6515
6683
|
Controller3,
|
|
6516
6684
|
{
|
|
6517
6685
|
name,
|
|
6518
6686
|
control,
|
|
6519
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6687
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsx53(
|
|
6520
6688
|
TextField,
|
|
6521
6689
|
{
|
|
6522
6690
|
...field,
|
|
@@ -6537,7 +6705,7 @@ var RHFTextField = ({ name, helperText, type, slotProps, ...rest }) => {
|
|
|
6537
6705
|
input: {
|
|
6538
6706
|
...slotProps?.input,
|
|
6539
6707
|
...type === "password" && {
|
|
6540
|
-
endAdornment: /* @__PURE__ */
|
|
6708
|
+
endAdornment: /* @__PURE__ */ jsx53(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx53(IconButton3, { edge: "end", onClick: passwordVisibility.onToggle, children: /* @__PURE__ */ jsx53(
|
|
6541
6709
|
Icon,
|
|
6542
6710
|
{
|
|
6543
6711
|
icon: passwordVisibility.value ? "EyeClosed" : "Eye",
|
|
@@ -6564,7 +6732,7 @@ import FormLabel2 from "@mui/material/FormLabel";
|
|
|
6564
6732
|
import RadioGroup from "@mui/material/RadioGroup";
|
|
6565
6733
|
import FormControl2 from "@mui/material/FormControl";
|
|
6566
6734
|
import FormHelperText3 from "@mui/material/FormHelperText";
|
|
6567
|
-
import { jsx as
|
|
6735
|
+
import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6568
6736
|
var RHFRadioGroup = ({
|
|
6569
6737
|
name,
|
|
6570
6738
|
label,
|
|
@@ -6576,13 +6744,13 @@ var RHFRadioGroup = ({
|
|
|
6576
6744
|
const { control } = useFormContext4();
|
|
6577
6745
|
const labelledby = `${name}-radio-buttons-group-label`;
|
|
6578
6746
|
const ariaLabel = (val) => `Radio ${val}`;
|
|
6579
|
-
return /* @__PURE__ */
|
|
6747
|
+
return /* @__PURE__ */ jsx54(
|
|
6580
6748
|
Controller4,
|
|
6581
6749
|
{
|
|
6582
6750
|
name,
|
|
6583
6751
|
control,
|
|
6584
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6585
|
-
label && /* @__PURE__ */
|
|
6752
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs30(FormControl2, { component: "fieldset", sx: slotProps?.wrap, children: [
|
|
6753
|
+
label && /* @__PURE__ */ jsx54(
|
|
6586
6754
|
FormLabel2,
|
|
6587
6755
|
{
|
|
6588
6756
|
id: labelledby,
|
|
@@ -6592,11 +6760,11 @@ var RHFRadioGroup = ({
|
|
|
6592
6760
|
children: label
|
|
6593
6761
|
}
|
|
6594
6762
|
),
|
|
6595
|
-
/* @__PURE__ */
|
|
6763
|
+
/* @__PURE__ */ jsx54(RadioGroup, { ...field, "aria-labelledby": labelledby, ...other, children: options.map((option) => /* @__PURE__ */ jsx54(
|
|
6596
6764
|
FormControlLabel2,
|
|
6597
6765
|
{
|
|
6598
6766
|
value: option.value,
|
|
6599
|
-
control: /* @__PURE__ */
|
|
6767
|
+
control: /* @__PURE__ */ jsx54(
|
|
6600
6768
|
Radio,
|
|
6601
6769
|
{
|
|
6602
6770
|
...slotProps?.radio,
|
|
@@ -6608,9 +6776,9 @@ var RHFRadioGroup = ({
|
|
|
6608
6776
|
}
|
|
6609
6777
|
}
|
|
6610
6778
|
),
|
|
6611
|
-
label: /* @__PURE__ */
|
|
6612
|
-
/* @__PURE__ */
|
|
6613
|
-
option?.description && /* @__PURE__ */
|
|
6779
|
+
label: /* @__PURE__ */ jsxs30(Stack5, { children: [
|
|
6780
|
+
/* @__PURE__ */ jsx54(Typography4, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
6781
|
+
option?.description && /* @__PURE__ */ jsx54(Typography4, { variant: "body2", color: "textBody", children: option?.description })
|
|
6614
6782
|
] }),
|
|
6615
6783
|
sx: {
|
|
6616
6784
|
alignItems: option?.description ? "flex-start" : "center"
|
|
@@ -6618,7 +6786,7 @@ var RHFRadioGroup = ({
|
|
|
6618
6786
|
},
|
|
6619
6787
|
option.value
|
|
6620
6788
|
)) }),
|
|
6621
|
-
(!!error2 || helperText) && /* @__PURE__ */
|
|
6789
|
+
(!!error2 || helperText) && /* @__PURE__ */ jsx54(FormHelperText3, { error: !!error2, sx: { mx: 0 }, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6622
6790
|
] })
|
|
6623
6791
|
}
|
|
6624
6792
|
);
|
|
@@ -6628,7 +6796,7 @@ var RHFRadioGroup = ({
|
|
|
6628
6796
|
import { Controller as Controller5, useFormContext as useFormContext5 } from "react-hook-form";
|
|
6629
6797
|
import TextField2 from "@mui/material/TextField";
|
|
6630
6798
|
import Autocomplete from "@mui/material/Autocomplete";
|
|
6631
|
-
import { jsx as
|
|
6799
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6632
6800
|
var RHFAutocomplete = ({
|
|
6633
6801
|
name,
|
|
6634
6802
|
label,
|
|
@@ -6639,12 +6807,12 @@ var RHFAutocomplete = ({
|
|
|
6639
6807
|
...other
|
|
6640
6808
|
}) => {
|
|
6641
6809
|
const { control, setValue } = useFormContext5();
|
|
6642
|
-
return /* @__PURE__ */
|
|
6810
|
+
return /* @__PURE__ */ jsx55(
|
|
6643
6811
|
Controller5,
|
|
6644
6812
|
{
|
|
6645
6813
|
name,
|
|
6646
6814
|
control,
|
|
6647
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6815
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsx55(
|
|
6648
6816
|
Autocomplete,
|
|
6649
6817
|
{
|
|
6650
6818
|
...field,
|
|
@@ -6653,7 +6821,7 @@ var RHFAutocomplete = ({
|
|
|
6653
6821
|
setValue(name, newValue, { shouldValidate: true });
|
|
6654
6822
|
handleChange?.(newValue);
|
|
6655
6823
|
},
|
|
6656
|
-
renderInput: (params) => /* @__PURE__ */
|
|
6824
|
+
renderInput: (params) => /* @__PURE__ */ jsx55(
|
|
6657
6825
|
TextField2,
|
|
6658
6826
|
{
|
|
6659
6827
|
label,
|
|
@@ -6682,7 +6850,7 @@ import FormLabel3 from "@mui/material/FormLabel";
|
|
|
6682
6850
|
import FormControl3 from "@mui/material/FormControl";
|
|
6683
6851
|
import FormHelperText4 from "@mui/material/FormHelperText";
|
|
6684
6852
|
import FormControlLabel3 from "@mui/material/FormControlLabel";
|
|
6685
|
-
import { jsx as
|
|
6853
|
+
import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6686
6854
|
var RHFCheckbox = ({
|
|
6687
6855
|
name,
|
|
6688
6856
|
description,
|
|
@@ -6694,16 +6862,16 @@ var RHFCheckbox = ({
|
|
|
6694
6862
|
}) => {
|
|
6695
6863
|
const { control } = useFormContext6();
|
|
6696
6864
|
const baseAriaLabel = `Checkbox for ${name}`;
|
|
6697
|
-
return /* @__PURE__ */
|
|
6865
|
+
return /* @__PURE__ */ jsx56(
|
|
6698
6866
|
Controller6,
|
|
6699
6867
|
{
|
|
6700
6868
|
name,
|
|
6701
6869
|
control,
|
|
6702
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6703
|
-
/* @__PURE__ */
|
|
6870
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs31(Box13, { sx: slotProps?.wrap, children: [
|
|
6871
|
+
/* @__PURE__ */ jsx56(
|
|
6704
6872
|
FormControlLabel3,
|
|
6705
6873
|
{
|
|
6706
|
-
control: /* @__PURE__ */
|
|
6874
|
+
control: /* @__PURE__ */ jsx56(
|
|
6707
6875
|
Checkbox,
|
|
6708
6876
|
{
|
|
6709
6877
|
...field,
|
|
@@ -6718,9 +6886,9 @@ var RHFCheckbox = ({
|
|
|
6718
6886
|
}
|
|
6719
6887
|
}
|
|
6720
6888
|
),
|
|
6721
|
-
label: /* @__PURE__ */
|
|
6722
|
-
/* @__PURE__ */
|
|
6723
|
-
description && /* @__PURE__ */
|
|
6889
|
+
label: /* @__PURE__ */ jsxs31(Stack6, { children: [
|
|
6890
|
+
/* @__PURE__ */ jsx56(Typography5, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
6891
|
+
description && /* @__PURE__ */ jsx56(Typography5, { variant: "body2", color: "textBody", children: description })
|
|
6724
6892
|
] }),
|
|
6725
6893
|
sx: {
|
|
6726
6894
|
alignItems: description ? "flex-start" : "center",
|
|
@@ -6729,7 +6897,7 @@ var RHFCheckbox = ({
|
|
|
6729
6897
|
...other
|
|
6730
6898
|
}
|
|
6731
6899
|
),
|
|
6732
|
-
(!!error2 || helperText) && /* @__PURE__ */
|
|
6900
|
+
(!!error2 || helperText) && /* @__PURE__ */ jsx56(FormHelperText4, { error: !!error2, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6733
6901
|
] })
|
|
6734
6902
|
}
|
|
6735
6903
|
);
|
|
@@ -6745,13 +6913,13 @@ var RHFMultiCheckbox = ({
|
|
|
6745
6913
|
}) => {
|
|
6746
6914
|
const { control } = useFormContext6();
|
|
6747
6915
|
const getSelected = (currentValues, optionValue) => currentValues.includes(optionValue) ? currentValues.filter((value) => value !== optionValue) : [...currentValues, optionValue];
|
|
6748
|
-
return /* @__PURE__ */
|
|
6916
|
+
return /* @__PURE__ */ jsx56(
|
|
6749
6917
|
Controller6,
|
|
6750
6918
|
{
|
|
6751
6919
|
name,
|
|
6752
6920
|
control,
|
|
6753
6921
|
defaultValue: [],
|
|
6754
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6922
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs31(
|
|
6755
6923
|
FormControl3,
|
|
6756
6924
|
{
|
|
6757
6925
|
component: "fieldset",
|
|
@@ -6759,7 +6927,7 @@ var RHFMultiCheckbox = ({
|
|
|
6759
6927
|
sx: slotProps?.formControl?.sx,
|
|
6760
6928
|
...slotProps?.formControl,
|
|
6761
6929
|
children: [
|
|
6762
|
-
label && /* @__PURE__ */
|
|
6930
|
+
label && /* @__PURE__ */ jsx56(
|
|
6763
6931
|
FormLabel3,
|
|
6764
6932
|
{
|
|
6765
6933
|
component: "legend",
|
|
@@ -6768,12 +6936,12 @@ var RHFMultiCheckbox = ({
|
|
|
6768
6936
|
children: label
|
|
6769
6937
|
}
|
|
6770
6938
|
),
|
|
6771
|
-
/* @__PURE__ */
|
|
6939
|
+
/* @__PURE__ */ jsx56(FormGroup2, { row, ...other, children: options.map((option) => {
|
|
6772
6940
|
const itemAriaLabel = option.label || `Option ${option.value}`;
|
|
6773
|
-
return /* @__PURE__ */
|
|
6941
|
+
return /* @__PURE__ */ jsx56(
|
|
6774
6942
|
FormControlLabel3,
|
|
6775
6943
|
{
|
|
6776
|
-
control: /* @__PURE__ */
|
|
6944
|
+
control: /* @__PURE__ */ jsx56(
|
|
6777
6945
|
Checkbox,
|
|
6778
6946
|
{
|
|
6779
6947
|
checked: (field.value || []).includes(option.value),
|
|
@@ -6791,9 +6959,9 @@ var RHFMultiCheckbox = ({
|
|
|
6791
6959
|
}
|
|
6792
6960
|
}
|
|
6793
6961
|
),
|
|
6794
|
-
label: /* @__PURE__ */
|
|
6795
|
-
/* @__PURE__ */
|
|
6796
|
-
option?.description && /* @__PURE__ */
|
|
6962
|
+
label: /* @__PURE__ */ jsxs31(Stack6, { children: [
|
|
6963
|
+
/* @__PURE__ */ jsx56(Typography5, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
6964
|
+
option?.description && /* @__PURE__ */ jsx56(Typography5, { variant: "body2", color: "textBody", children: option?.description })
|
|
6797
6965
|
] }),
|
|
6798
6966
|
sx: {
|
|
6799
6967
|
alignItems: option?.description ? "flex-start" : "center"
|
|
@@ -6802,7 +6970,7 @@ var RHFMultiCheckbox = ({
|
|
|
6802
6970
|
option.value
|
|
6803
6971
|
);
|
|
6804
6972
|
}) }),
|
|
6805
|
-
(!!error2 || helperText) && /* @__PURE__ */
|
|
6973
|
+
(!!error2 || helperText) && /* @__PURE__ */ jsx56(
|
|
6806
6974
|
FormHelperText4,
|
|
6807
6975
|
{
|
|
6808
6976
|
sx: { mx: 0, ...slotProps?.formHelperText?.sx },
|
|
@@ -6831,17 +6999,17 @@ var Field = {
|
|
|
6831
6999
|
// src/components/CopyButton/index.tsx
|
|
6832
7000
|
import Tooltip from "@mui/material/Tooltip";
|
|
6833
7001
|
import IconButton4 from "@mui/material/IconButton";
|
|
6834
|
-
import { jsx as
|
|
7002
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
6835
7003
|
var CopyButton = ({ text: text2, size = "small" }) => {
|
|
6836
7004
|
const { copy, isCopied } = useCopyToClipboard();
|
|
6837
|
-
return /* @__PURE__ */
|
|
7005
|
+
return /* @__PURE__ */ jsx57(Tooltip, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ jsx57(
|
|
6838
7006
|
IconButton4,
|
|
6839
7007
|
{
|
|
6840
7008
|
size,
|
|
6841
7009
|
onClick: () => copy(text2),
|
|
6842
7010
|
"aria-label": "copy token",
|
|
6843
7011
|
sx: { color: "icon.black" },
|
|
6844
|
-
children: /* @__PURE__ */
|
|
7012
|
+
children: /* @__PURE__ */ jsx57(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
|
|
6845
7013
|
}
|
|
6846
7014
|
) });
|
|
6847
7015
|
};
|
|
@@ -6850,9 +7018,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
6850
7018
|
import Portal from "@mui/material/Portal";
|
|
6851
7019
|
import Box14 from "@mui/material/Box";
|
|
6852
7020
|
import LinearProgress from "@mui/material/LinearProgress";
|
|
6853
|
-
import { jsx as
|
|
7021
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6854
7022
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
6855
|
-
const content = /* @__PURE__ */
|
|
7023
|
+
const content = /* @__PURE__ */ jsx58(
|
|
6856
7024
|
Box14,
|
|
6857
7025
|
{
|
|
6858
7026
|
sx: {
|
|
@@ -6866,16 +7034,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
6866
7034
|
...sx
|
|
6867
7035
|
},
|
|
6868
7036
|
...rest,
|
|
6869
|
-
children: /* @__PURE__ */
|
|
7037
|
+
children: /* @__PURE__ */ jsx58(LinearProgress, { color: "primary", sx: { width: 1, maxWidth: 360 } })
|
|
6870
7038
|
}
|
|
6871
7039
|
);
|
|
6872
7040
|
if (portal) {
|
|
6873
|
-
return /* @__PURE__ */
|
|
7041
|
+
return /* @__PURE__ */ jsx58(Portal, { children: content });
|
|
6874
7042
|
}
|
|
6875
7043
|
return content;
|
|
6876
7044
|
};
|
|
6877
7045
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
6878
|
-
const content = /* @__PURE__ */
|
|
7046
|
+
const content = /* @__PURE__ */ jsx58(
|
|
6879
7047
|
Box14,
|
|
6880
7048
|
{
|
|
6881
7049
|
sx: {
|
|
@@ -6892,16 +7060,17 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
6892
7060
|
...sx
|
|
6893
7061
|
},
|
|
6894
7062
|
...rest,
|
|
6895
|
-
children: /* @__PURE__ */
|
|
7063
|
+
children: /* @__PURE__ */ jsx58(AnimatedLogo, {})
|
|
6896
7064
|
}
|
|
6897
7065
|
);
|
|
6898
7066
|
if (portal) {
|
|
6899
|
-
return /* @__PURE__ */
|
|
7067
|
+
return /* @__PURE__ */ jsx58(Portal, { children: content });
|
|
6900
7068
|
}
|
|
6901
7069
|
return content;
|
|
6902
7070
|
};
|
|
6903
7071
|
export {
|
|
6904
7072
|
AnimatedLogo,
|
|
7073
|
+
BellNotification,
|
|
6905
7074
|
CheckboxDefault,
|
|
6906
7075
|
CheckboxIndeterminate,
|
|
6907
7076
|
CheckboxSelect,
|
|
@@ -6916,6 +7085,7 @@ export {
|
|
|
6916
7085
|
Icon,
|
|
6917
7086
|
InfoCircleFill,
|
|
6918
7087
|
InfoCircleOutline,
|
|
7088
|
+
KeyCommand,
|
|
6919
7089
|
Loader,
|
|
6920
7090
|
LoadingScreen,
|
|
6921
7091
|
LocalStorageAvailable,
|
|
@@ -6937,6 +7107,7 @@ export {
|
|
|
6937
7107
|
RadioSelect,
|
|
6938
7108
|
STORAGE_KEY,
|
|
6939
7109
|
Search,
|
|
7110
|
+
Settings,
|
|
6940
7111
|
SettingsConsumer,
|
|
6941
7112
|
SettingsContext,
|
|
6942
7113
|
SettingsProvider,
|
|
@@ -7022,6 +7193,7 @@ export {
|
|
|
7022
7193
|
useCopyToClipboard,
|
|
7023
7194
|
useEventListener,
|
|
7024
7195
|
useLocalStorage,
|
|
7196
|
+
usePopover,
|
|
7025
7197
|
useResponsive,
|
|
7026
7198
|
useScrollOffSetTop,
|
|
7027
7199
|
useSetState,
|