@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.cjs
CHANGED
|
@@ -31,6 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
33
|
AnimatedLogo: () => AnimatedLogo,
|
|
34
|
+
BellNotification: () => BellNotification,
|
|
34
35
|
CheckboxDefault: () => CheckboxDefault,
|
|
35
36
|
CheckboxIndeterminate: () => CheckboxIndeterminate,
|
|
36
37
|
CheckboxSelect: () => CheckboxSelect,
|
|
@@ -45,6 +46,7 @@ __export(index_exports, {
|
|
|
45
46
|
Icon: () => Icon,
|
|
46
47
|
InfoCircleFill: () => InfoCircleFill,
|
|
47
48
|
InfoCircleOutline: () => InfoCircleOutline,
|
|
49
|
+
KeyCommand: () => KeyCommand,
|
|
48
50
|
Loader: () => Loader,
|
|
49
51
|
LoadingScreen: () => LoadingScreen,
|
|
50
52
|
LocalStorageAvailable: () => LocalStorageAvailable,
|
|
@@ -66,6 +68,7 @@ __export(index_exports, {
|
|
|
66
68
|
RadioSelect: () => RadioSelect,
|
|
67
69
|
STORAGE_KEY: () => STORAGE_KEY,
|
|
68
70
|
Search: () => Search,
|
|
71
|
+
Settings: () => Settings,
|
|
69
72
|
SettingsConsumer: () => SettingsConsumer,
|
|
70
73
|
SettingsContext: () => SettingsContext,
|
|
71
74
|
SettingsProvider: () => SettingsProvider,
|
|
@@ -151,6 +154,7 @@ __export(index_exports, {
|
|
|
151
154
|
useCopyToClipboard: () => useCopyToClipboard,
|
|
152
155
|
useEventListener: () => useEventListener,
|
|
153
156
|
useLocalStorage: () => useLocalStorage,
|
|
157
|
+
usePopover: () => usePopover,
|
|
154
158
|
useResponsive: () => useResponsive,
|
|
155
159
|
useScrollOffSetTop: () => useScrollOffSetTop,
|
|
156
160
|
useSetState: () => useSetState,
|
|
@@ -316,8 +320,27 @@ var useBoolean = (defaultValue) => {
|
|
|
316
320
|
return memoizedValue;
|
|
317
321
|
};
|
|
318
322
|
|
|
323
|
+
// src/hooks/usePopover.ts
|
|
324
|
+
var import_react2 = require("react");
|
|
325
|
+
var usePopover = () => {
|
|
326
|
+
const [anchorEl, setAnchorEl] = (0, import_react2.useState)(null);
|
|
327
|
+
const onOpen = (0, import_react2.useCallback)((event) => {
|
|
328
|
+
setAnchorEl(event.currentTarget);
|
|
329
|
+
}, []);
|
|
330
|
+
const onClose = (0, import_react2.useCallback)(() => {
|
|
331
|
+
setAnchorEl(null);
|
|
332
|
+
}, []);
|
|
333
|
+
return {
|
|
334
|
+
open: !!anchorEl,
|
|
335
|
+
anchorEl,
|
|
336
|
+
onOpen,
|
|
337
|
+
onClose,
|
|
338
|
+
setAnchorEl
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
|
|
319
342
|
// src/hooks/useSettings.ts
|
|
320
|
-
var
|
|
343
|
+
var import_react5 = require("react");
|
|
321
344
|
|
|
322
345
|
// src/theme/styles/utils.ts
|
|
323
346
|
var stylesMode = {
|
|
@@ -563,15 +586,15 @@ var defaultSettings = {
|
|
|
563
586
|
};
|
|
564
587
|
|
|
565
588
|
// src/contexts/settings/context.tsx
|
|
566
|
-
var
|
|
589
|
+
var import_react4 = require("react");
|
|
567
590
|
|
|
568
591
|
// src/hooks/useLocalStorage.ts
|
|
569
|
-
var
|
|
592
|
+
var import_react3 = require("react");
|
|
570
593
|
var useLocalStorage = (key, initialState) => {
|
|
571
|
-
const [state, set] = (0,
|
|
594
|
+
const [state, set] = (0, import_react3.useState)(initialState);
|
|
572
595
|
const multiValue = initialState && typeof initialState === "object";
|
|
573
596
|
const canReset = !isEqual(state, initialState);
|
|
574
|
-
(0,
|
|
597
|
+
(0, import_react3.useEffect)(() => {
|
|
575
598
|
const restoredValue = getStorage(key);
|
|
576
599
|
if (restoredValue) {
|
|
577
600
|
if (multiValue) {
|
|
@@ -581,7 +604,7 @@ var useLocalStorage = (key, initialState) => {
|
|
|
581
604
|
}
|
|
582
605
|
}
|
|
583
606
|
}, [key, multiValue]);
|
|
584
|
-
const setState = (0,
|
|
607
|
+
const setState = (0, import_react3.useCallback)(
|
|
585
608
|
(updateState) => {
|
|
586
609
|
if (multiValue) {
|
|
587
610
|
set((prevValue) => {
|
|
@@ -595,7 +618,7 @@ var useLocalStorage = (key, initialState) => {
|
|
|
595
618
|
},
|
|
596
619
|
[key, multiValue]
|
|
597
620
|
);
|
|
598
|
-
const setField = (0,
|
|
621
|
+
const setField = (0, import_react3.useCallback)(
|
|
599
622
|
(name, updateValue) => {
|
|
600
623
|
if (multiValue) {
|
|
601
624
|
setState({ [name]: updateValue });
|
|
@@ -603,11 +626,11 @@ var useLocalStorage = (key, initialState) => {
|
|
|
603
626
|
},
|
|
604
627
|
[multiValue, setState]
|
|
605
628
|
);
|
|
606
|
-
const resetState = (0,
|
|
629
|
+
const resetState = (0, import_react3.useCallback)(() => {
|
|
607
630
|
set(initialState);
|
|
608
631
|
removeStorage(key);
|
|
609
632
|
}, [initialState, key]);
|
|
610
|
-
const memoizedValue = (0,
|
|
633
|
+
const memoizedValue = (0, import_react3.useMemo)(
|
|
611
634
|
() => ({
|
|
612
635
|
state,
|
|
613
636
|
setState,
|
|
@@ -667,19 +690,19 @@ var LocalStorageGetItem = (key, defaultValue = "") => {
|
|
|
667
690
|
|
|
668
691
|
// src/contexts/settings/context.tsx
|
|
669
692
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
670
|
-
var SettingsContext = (0,
|
|
693
|
+
var SettingsContext = (0, import_react4.createContext)({});
|
|
671
694
|
var SettingsConsumer = SettingsContext.Consumer;
|
|
672
695
|
var SettingsProvider = ({ children, settings }) => {
|
|
673
696
|
const localStorage2 = useLocalStorage(STORAGE_KEY, settings);
|
|
674
697
|
const values = localStorage2;
|
|
675
|
-
const [openDrawer, setOpenDrawer] = (0,
|
|
676
|
-
const onToggleDrawer = (0,
|
|
698
|
+
const [openDrawer, setOpenDrawer] = (0, import_react4.useState)(false);
|
|
699
|
+
const onToggleDrawer = (0, import_react4.useCallback)(() => {
|
|
677
700
|
setOpenDrawer((prev) => !prev);
|
|
678
701
|
}, []);
|
|
679
|
-
const onCloseDrawer = (0,
|
|
702
|
+
const onCloseDrawer = (0, import_react4.useCallback)(() => {
|
|
680
703
|
setOpenDrawer(false);
|
|
681
704
|
}, []);
|
|
682
|
-
const memoizedValue = (0,
|
|
705
|
+
const memoizedValue = (0, import_react4.useMemo)(
|
|
683
706
|
() => ({
|
|
684
707
|
...values.state,
|
|
685
708
|
canReset: values.canReset,
|
|
@@ -706,29 +729,29 @@ var SettingsProvider = ({ children, settings }) => {
|
|
|
706
729
|
|
|
707
730
|
// src/hooks/useSettings.ts
|
|
708
731
|
var useSettings = () => {
|
|
709
|
-
const context = (0,
|
|
732
|
+
const context = (0, import_react5.useContext)(SettingsContext);
|
|
710
733
|
if (!context) throw new Error("useSettings must be use inside SettingsProvider");
|
|
711
734
|
return context;
|
|
712
735
|
};
|
|
713
736
|
|
|
714
737
|
// src/hooks/useSetState.ts
|
|
715
|
-
var
|
|
738
|
+
var import_react6 = require("react");
|
|
716
739
|
var useSetState = (initialState) => {
|
|
717
|
-
const [state, set] = (0,
|
|
740
|
+
const [state, set] = (0, import_react6.useState)(initialState);
|
|
718
741
|
const canReset = !isEqual(state, initialState);
|
|
719
|
-
const setState = (0,
|
|
742
|
+
const setState = (0, import_react6.useCallback)((updateState) => {
|
|
720
743
|
set((prevValue) => ({ ...prevValue, ...updateState }));
|
|
721
744
|
}, []);
|
|
722
|
-
const setField = (0,
|
|
745
|
+
const setField = (0, import_react6.useCallback)(
|
|
723
746
|
(name, updateValue) => {
|
|
724
747
|
setState({ [name]: updateValue });
|
|
725
748
|
},
|
|
726
749
|
[setState]
|
|
727
750
|
);
|
|
728
|
-
const onResetState = (0,
|
|
751
|
+
const onResetState = (0, import_react6.useCallback)(() => {
|
|
729
752
|
set(initialState);
|
|
730
753
|
}, [initialState]);
|
|
731
|
-
const memoizedValue = (0,
|
|
754
|
+
const memoizedValue = (0, import_react6.useMemo)(
|
|
732
755
|
() => ({
|
|
733
756
|
state,
|
|
734
757
|
setState,
|
|
@@ -742,12 +765,12 @@ var useSetState = (initialState) => {
|
|
|
742
765
|
};
|
|
743
766
|
|
|
744
767
|
// src/hooks/useResponsive.ts
|
|
745
|
-
var
|
|
768
|
+
var import_react7 = require("react");
|
|
746
769
|
var import_useMediaQuery = __toESM(require("@mui/material/useMediaQuery"), 1);
|
|
747
770
|
var import_styles = require("@mui/material/styles");
|
|
748
771
|
var useResponsive = (query, start, end) => {
|
|
749
772
|
const theme = (0, import_styles.useTheme)();
|
|
750
|
-
const getQuery = (0,
|
|
773
|
+
const getQuery = (0, import_react7.useMemo)(() => {
|
|
751
774
|
switch (query) {
|
|
752
775
|
case "up":
|
|
753
776
|
return theme.breakpoints.up(start);
|
|
@@ -766,7 +789,7 @@ var useResponsive = (query, start, end) => {
|
|
|
766
789
|
};
|
|
767
790
|
var useWidth = () => {
|
|
768
791
|
const theme = (0, import_styles.useTheme)();
|
|
769
|
-
const keys = (0,
|
|
792
|
+
const keys = (0, import_react7.useMemo)(() => [...theme.breakpoints.keys].reverse(), [theme]);
|
|
770
793
|
const width = keys.reduce((output, key) => {
|
|
771
794
|
const matches = (0, import_useMediaQuery.default)(theme.breakpoints.up(key));
|
|
772
795
|
return !output && matches ? key : output;
|
|
@@ -775,19 +798,19 @@ var useWidth = () => {
|
|
|
775
798
|
};
|
|
776
799
|
|
|
777
800
|
// src/hooks/useEventListener.ts
|
|
778
|
-
var
|
|
779
|
-
var useIsomorphicLayoutEffect = typeof window !== "undefined" ?
|
|
801
|
+
var import_react8 = require("react");
|
|
802
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? import_react8.useLayoutEffect : import_react8.useEffect;
|
|
780
803
|
var useEventListener = ({
|
|
781
804
|
eventName,
|
|
782
805
|
handler,
|
|
783
806
|
element,
|
|
784
807
|
options
|
|
785
808
|
}) => {
|
|
786
|
-
const savedHandler = (0,
|
|
809
|
+
const savedHandler = (0, import_react8.useRef)(handler);
|
|
787
810
|
useIsomorphicLayoutEffect(() => {
|
|
788
811
|
savedHandler.current = handler;
|
|
789
812
|
}, [handler]);
|
|
790
|
-
(0,
|
|
813
|
+
(0, import_react8.useEffect)(() => {
|
|
791
814
|
const targetElement = element?.current || window;
|
|
792
815
|
if (!(targetElement && targetElement.addEventListener)) {
|
|
793
816
|
return;
|
|
@@ -801,11 +824,11 @@ var useEventListener = ({
|
|
|
801
824
|
};
|
|
802
825
|
|
|
803
826
|
// src/hooks/useCopyToClipboard.ts
|
|
804
|
-
var
|
|
827
|
+
var import_react9 = require("react");
|
|
805
828
|
var useCopyToClipboard = () => {
|
|
806
|
-
const [copiedText, setCopiedText] = (0,
|
|
807
|
-
const [isCopied, setIsCopied] = (0,
|
|
808
|
-
const copy = (0,
|
|
829
|
+
const [copiedText, setCopiedText] = (0, import_react9.useState)("");
|
|
830
|
+
const [isCopied, setIsCopied] = (0, import_react9.useState)(false);
|
|
831
|
+
const copy = (0, import_react9.useCallback)(
|
|
809
832
|
async (text2) => {
|
|
810
833
|
if (!navigator?.clipboard) {
|
|
811
834
|
console.warn("Clipboard not supported");
|
|
@@ -825,7 +848,7 @@ var useCopyToClipboard = () => {
|
|
|
825
848
|
},
|
|
826
849
|
[setCopiedText]
|
|
827
850
|
);
|
|
828
|
-
const memoizedValue = (0,
|
|
851
|
+
const memoizedValue = (0, import_react9.useMemo)(
|
|
829
852
|
() => ({ copy, copiedText, isCopied }),
|
|
830
853
|
[copy, copiedText, isCopied]
|
|
831
854
|
);
|
|
@@ -833,11 +856,11 @@ var useCopyToClipboard = () => {
|
|
|
833
856
|
};
|
|
834
857
|
|
|
835
858
|
// src/hooks/useScrollOffsetTop.ts
|
|
836
|
-
var
|
|
859
|
+
var import_react10 = require("react");
|
|
837
860
|
var useScrollOffSetTop = (top = 0) => {
|
|
838
|
-
const elementRef = (0,
|
|
839
|
-
const [offsetTop, setOffsetTop] = (0,
|
|
840
|
-
const handleScrollChange = (0,
|
|
861
|
+
const elementRef = (0, import_react10.useRef)(null);
|
|
862
|
+
const [offsetTop, setOffsetTop] = (0, import_react10.useState)(false);
|
|
863
|
+
const handleScrollChange = (0, import_react10.useCallback)(() => {
|
|
841
864
|
const scrollHeight = Math.round(window.scrollY);
|
|
842
865
|
if (elementRef?.current) {
|
|
843
866
|
const rect = elementRef.current.getBoundingClientRect();
|
|
@@ -847,14 +870,14 @@ var useScrollOffSetTop = (top = 0) => {
|
|
|
847
870
|
setOffsetTop(scrollHeight > top);
|
|
848
871
|
}
|
|
849
872
|
}, [top]);
|
|
850
|
-
(0,
|
|
873
|
+
(0, import_react10.useEffect)(() => {
|
|
851
874
|
handleScrollChange();
|
|
852
875
|
window.addEventListener("scroll", handleScrollChange, { passive: true });
|
|
853
876
|
return () => {
|
|
854
877
|
window.removeEventListener("scroll", handleScrollChange);
|
|
855
878
|
};
|
|
856
879
|
}, [handleScrollChange]);
|
|
857
|
-
const memoizedValue = (0,
|
|
880
|
+
const memoizedValue = (0, import_react10.useMemo)(() => ({ elementRef, offsetTop }), [offsetTop]);
|
|
858
881
|
return memoizedValue;
|
|
859
882
|
};
|
|
860
883
|
|
|
@@ -1895,6 +1918,7 @@ var import_Box = __toESM(require("@mui/material/Box"), 1);
|
|
|
1895
1918
|
// src/components/Icon/components/index.ts
|
|
1896
1919
|
var components_exports = {};
|
|
1897
1920
|
__export(components_exports, {
|
|
1921
|
+
BellNotification: () => BellNotification,
|
|
1898
1922
|
CheckboxDefault: () => CheckboxDefault,
|
|
1899
1923
|
CheckboxIndeterminate: () => CheckboxIndeterminate,
|
|
1900
1924
|
CheckboxSelect: () => CheckboxSelect,
|
|
@@ -1905,6 +1929,7 @@ __export(components_exports, {
|
|
|
1905
1929
|
EyeClosed: () => EyeClosed,
|
|
1906
1930
|
InfoCircleFill: () => InfoCircleFill,
|
|
1907
1931
|
InfoCircleOutline: () => InfoCircleOutline,
|
|
1932
|
+
KeyCommand: () => KeyCommand,
|
|
1908
1933
|
Loader: () => Loader,
|
|
1909
1934
|
LongArrowUpLeftSolid: () => LongArrowUpLeftSolid,
|
|
1910
1935
|
NavArrowDown: () => NavArrowDown,
|
|
@@ -1913,6 +1938,7 @@ __export(components_exports, {
|
|
|
1913
1938
|
RadioDefault: () => RadioDefault,
|
|
1914
1939
|
RadioSelect: () => RadioSelect,
|
|
1915
1940
|
Search: () => Search,
|
|
1941
|
+
Settings: () => Settings,
|
|
1916
1942
|
Trash: () => Trash,
|
|
1917
1943
|
UserFill: () => UserFill,
|
|
1918
1944
|
UserOutline: () => UserOutline,
|
|
@@ -2124,10 +2150,46 @@ var Search = (props) => {
|
|
|
2124
2150
|
);
|
|
2125
2151
|
};
|
|
2126
2152
|
|
|
2127
|
-
// src/components/Icon/components/
|
|
2153
|
+
// src/components/Icon/components/Settings.tsx
|
|
2128
2154
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
2129
|
-
var
|
|
2155
|
+
var Settings = (props) => {
|
|
2130
2156
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
2157
|
+
"svg",
|
|
2158
|
+
{
|
|
2159
|
+
width: "20",
|
|
2160
|
+
height: "20",
|
|
2161
|
+
viewBox: "0 0 20 20",
|
|
2162
|
+
fill: "none",
|
|
2163
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2164
|
+
...props,
|
|
2165
|
+
children: [
|
|
2166
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
2167
|
+
"path",
|
|
2168
|
+
{
|
|
2169
|
+
fillRule: "evenodd",
|
|
2170
|
+
clipRule: "evenodd",
|
|
2171
|
+
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",
|
|
2172
|
+
fill: "currentColor"
|
|
2173
|
+
}
|
|
2174
|
+
),
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
2176
|
+
"path",
|
|
2177
|
+
{
|
|
2178
|
+
fillRule: "evenodd",
|
|
2179
|
+
clipRule: "evenodd",
|
|
2180
|
+
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",
|
|
2181
|
+
fill: "currentColor"
|
|
2182
|
+
}
|
|
2183
|
+
)
|
|
2184
|
+
]
|
|
2185
|
+
}
|
|
2186
|
+
);
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2189
|
+
// src/components/Icon/components/UserFill.tsx
|
|
2190
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2191
|
+
var UserFill = (props) => {
|
|
2192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
2131
2193
|
"svg",
|
|
2132
2194
|
{
|
|
2133
2195
|
width: "19",
|
|
@@ -2137,14 +2199,14 @@ var UserFill = (props) => {
|
|
|
2137
2199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2138
2200
|
...props,
|
|
2139
2201
|
children: [
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2202
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2141
2203
|
"path",
|
|
2142
2204
|
{
|
|
2143
2205
|
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",
|
|
2144
2206
|
fill: "currentColor"
|
|
2145
2207
|
}
|
|
2146
2208
|
),
|
|
2147
|
-
/* @__PURE__ */ (0,
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2148
2210
|
"path",
|
|
2149
2211
|
{
|
|
2150
2212
|
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",
|
|
@@ -2157,9 +2219,9 @@ var UserFill = (props) => {
|
|
|
2157
2219
|
};
|
|
2158
2220
|
|
|
2159
2221
|
// src/components/Icon/components/EyeClosed.tsx
|
|
2160
|
-
var
|
|
2222
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
2161
2223
|
var EyeClosed = (props) => {
|
|
2162
|
-
return /* @__PURE__ */ (0,
|
|
2224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
2163
2225
|
"svg",
|
|
2164
2226
|
{
|
|
2165
2227
|
width: "24",
|
|
@@ -2169,7 +2231,7 @@ var EyeClosed = (props) => {
|
|
|
2169
2231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2170
2232
|
...props,
|
|
2171
2233
|
children: [
|
|
2172
|
-
/* @__PURE__ */ (0,
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
2173
2235
|
"path",
|
|
2174
2236
|
{
|
|
2175
2237
|
d: "M19.4996 16L17.0244 12.6038",
|
|
@@ -2179,7 +2241,7 @@ var EyeClosed = (props) => {
|
|
|
2179
2241
|
strokeLinejoin: "round"
|
|
2180
2242
|
}
|
|
2181
2243
|
),
|
|
2182
|
-
/* @__PURE__ */ (0,
|
|
2244
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
2183
2245
|
"path",
|
|
2184
2246
|
{
|
|
2185
2247
|
d: "M12 17.5V14",
|
|
@@ -2189,7 +2251,7 @@ var EyeClosed = (props) => {
|
|
|
2189
2251
|
strokeLinejoin: "round"
|
|
2190
2252
|
}
|
|
2191
2253
|
),
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2254
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
2193
2255
|
"path",
|
|
2194
2256
|
{
|
|
2195
2257
|
d: "M4.5 16L6.96895 12.6124",
|
|
@@ -2199,7 +2261,7 @@ var EyeClosed = (props) => {
|
|
|
2199
2261
|
strokeLinejoin: "round"
|
|
2200
2262
|
}
|
|
2201
2263
|
),
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2264
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
2203
2265
|
"path",
|
|
2204
2266
|
{
|
|
2205
2267
|
d: "M3 8C6.6 16 17.4 16 21 8",
|
|
@@ -2214,10 +2276,68 @@ var EyeClosed = (props) => {
|
|
|
2214
2276
|
);
|
|
2215
2277
|
};
|
|
2216
2278
|
|
|
2279
|
+
// src/components/Icon/components/KeyCommand.tsx
|
|
2280
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2281
|
+
var KeyCommand = (props) => {
|
|
2282
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
2283
|
+
"svg",
|
|
2284
|
+
{
|
|
2285
|
+
width: "14",
|
|
2286
|
+
height: "14",
|
|
2287
|
+
viewBox: "0 0 14 14",
|
|
2288
|
+
fill: "none",
|
|
2289
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2290
|
+
...props,
|
|
2291
|
+
children: [
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2293
|
+
"path",
|
|
2294
|
+
{
|
|
2295
|
+
d: "M5.25 3.5V10.5",
|
|
2296
|
+
stroke: "currentColor",
|
|
2297
|
+
strokeWidth: "1.5",
|
|
2298
|
+
strokeLinecap: "round",
|
|
2299
|
+
strokeLinejoin: "round"
|
|
2300
|
+
}
|
|
2301
|
+
),
|
|
2302
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2303
|
+
"path",
|
|
2304
|
+
{
|
|
2305
|
+
d: "M8.75 3.5V10.5",
|
|
2306
|
+
stroke: "currentColor",
|
|
2307
|
+
strokeWidth: "1.5",
|
|
2308
|
+
strokeLinecap: "round",
|
|
2309
|
+
strokeLinejoin: "round"
|
|
2310
|
+
}
|
|
2311
|
+
),
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2313
|
+
"path",
|
|
2314
|
+
{
|
|
2315
|
+
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",
|
|
2316
|
+
stroke: "currentColor",
|
|
2317
|
+
strokeWidth: "1.5",
|
|
2318
|
+
strokeLinecap: "round",
|
|
2319
|
+
strokeLinejoin: "round"
|
|
2320
|
+
}
|
|
2321
|
+
),
|
|
2322
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2323
|
+
"path",
|
|
2324
|
+
{
|
|
2325
|
+
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",
|
|
2326
|
+
stroke: "currentColor",
|
|
2327
|
+
strokeWidth: "1.5",
|
|
2328
|
+
strokeLinecap: "round",
|
|
2329
|
+
strokeLinejoin: "round"
|
|
2330
|
+
}
|
|
2331
|
+
)
|
|
2332
|
+
]
|
|
2333
|
+
}
|
|
2334
|
+
);
|
|
2335
|
+
};
|
|
2336
|
+
|
|
2217
2337
|
// src/components/Icon/components/XMarkSolid.tsx
|
|
2218
|
-
var
|
|
2338
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
2219
2339
|
var XMarkSolid = (props) => {
|
|
2220
|
-
return /* @__PURE__ */ (0,
|
|
2340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2221
2341
|
"svg",
|
|
2222
2342
|
{
|
|
2223
2343
|
width: "24",
|
|
@@ -2226,7 +2346,7 @@ var XMarkSolid = (props) => {
|
|
|
2226
2346
|
fill: "none",
|
|
2227
2347
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2228
2348
|
...props,
|
|
2229
|
-
children: /* @__PURE__ */ (0,
|
|
2349
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2230
2350
|
"path",
|
|
2231
2351
|
{
|
|
2232
2352
|
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",
|
|
@@ -2238,9 +2358,9 @@ var XMarkSolid = (props) => {
|
|
|
2238
2358
|
};
|
|
2239
2359
|
|
|
2240
2360
|
// src/components/Icon/components/CloudUpload.tsx
|
|
2241
|
-
var
|
|
2361
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
2242
2362
|
var CloudUpload = (props) => {
|
|
2243
|
-
return /* @__PURE__ */ (0,
|
|
2363
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
2244
2364
|
"svg",
|
|
2245
2365
|
{
|
|
2246
2366
|
width: "32",
|
|
@@ -2250,7 +2370,7 @@ var CloudUpload = (props) => {
|
|
|
2250
2370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2251
2371
|
...props,
|
|
2252
2372
|
children: [
|
|
2253
|
-
/* @__PURE__ */ (0,
|
|
2373
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2254
2374
|
"path",
|
|
2255
2375
|
{
|
|
2256
2376
|
d: "M16.0007 29.3333V17.3333M16.0007 17.3333L20.6673 21.9999M16.0007 17.3333L11.334 21.9999",
|
|
@@ -2260,7 +2380,7 @@ var CloudUpload = (props) => {
|
|
|
2260
2380
|
strokeLinejoin: "round"
|
|
2261
2381
|
}
|
|
2262
2382
|
),
|
|
2263
|
-
/* @__PURE__ */ (0,
|
|
2383
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2264
2384
|
"path",
|
|
2265
2385
|
{
|
|
2266
2386
|
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",
|
|
@@ -2276,9 +2396,9 @@ var CloudUpload = (props) => {
|
|
|
2276
2396
|
};
|
|
2277
2397
|
|
|
2278
2398
|
// src/components/Icon/components/UserOutline.tsx
|
|
2279
|
-
var
|
|
2399
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
2280
2400
|
var UserOutline = (props) => {
|
|
2281
|
-
return /* @__PURE__ */ (0,
|
|
2401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
2282
2402
|
"svg",
|
|
2283
2403
|
{
|
|
2284
2404
|
width: "32",
|
|
@@ -2288,7 +2408,7 @@ var UserOutline = (props) => {
|
|
|
2288
2408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2289
2409
|
...props,
|
|
2290
2410
|
children: [
|
|
2291
|
-
/* @__PURE__ */ (0,
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2292
2412
|
"path",
|
|
2293
2413
|
{
|
|
2294
2414
|
fillRule: "evenodd",
|
|
@@ -2297,7 +2417,7 @@ var UserOutline = (props) => {
|
|
|
2297
2417
|
fill: "currentColor"
|
|
2298
2418
|
}
|
|
2299
2419
|
),
|
|
2300
|
-
/* @__PURE__ */ (0,
|
|
2420
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2301
2421
|
"path",
|
|
2302
2422
|
{
|
|
2303
2423
|
fillRule: "evenodd",
|
|
@@ -2312,9 +2432,9 @@ var UserOutline = (props) => {
|
|
|
2312
2432
|
};
|
|
2313
2433
|
|
|
2314
2434
|
// src/components/Icon/components/RadioSelect.tsx
|
|
2315
|
-
var
|
|
2435
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
2316
2436
|
var RadioSelect = (props) => {
|
|
2317
|
-
return /* @__PURE__ */ (0,
|
|
2437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2318
2438
|
"svg",
|
|
2319
2439
|
{
|
|
2320
2440
|
width: "17",
|
|
@@ -2323,15 +2443,15 @@ var RadioSelect = (props) => {
|
|
|
2323
2443
|
fill: "none",
|
|
2324
2444
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2325
2445
|
...props,
|
|
2326
|
-
children: /* @__PURE__ */ (0,
|
|
2446
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("rect", { x: "2.5", y: "2", width: "12", height: "12", rx: "6", stroke: "currentColor", strokeWidth: "4" })
|
|
2327
2447
|
}
|
|
2328
2448
|
);
|
|
2329
2449
|
};
|
|
2330
2450
|
|
|
2331
2451
|
// src/components/Icon/components/RadioDefault.tsx
|
|
2332
|
-
var
|
|
2452
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2333
2453
|
var RadioDefault = (props) => {
|
|
2334
|
-
return /* @__PURE__ */ (0,
|
|
2454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2335
2455
|
"svg",
|
|
2336
2456
|
{
|
|
2337
2457
|
width: "16",
|
|
@@ -2340,15 +2460,15 @@ var RadioDefault = (props) => {
|
|
|
2340
2460
|
fill: "none",
|
|
2341
2461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2342
2462
|
...props,
|
|
2343
|
-
children: /* @__PURE__ */ (0,
|
|
2463
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "0.5", y: "0.5", width: "15", height: "15", rx: "7.5", stroke: "currentColor" })
|
|
2344
2464
|
}
|
|
2345
2465
|
);
|
|
2346
2466
|
};
|
|
2347
2467
|
|
|
2348
2468
|
// src/components/Icon/components/NavArrowDown.tsx
|
|
2349
|
-
var
|
|
2469
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2350
2470
|
var NavArrowDown = (props) => {
|
|
2351
|
-
return /* @__PURE__ */ (0,
|
|
2471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
2352
2472
|
"svg",
|
|
2353
2473
|
{
|
|
2354
2474
|
width: "16",
|
|
@@ -2358,7 +2478,7 @@ var NavArrowDown = (props) => {
|
|
|
2358
2478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2359
2479
|
...props,
|
|
2360
2480
|
children: [
|
|
2361
|
-
/* @__PURE__ */ (0,
|
|
2481
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2362
2482
|
"path",
|
|
2363
2483
|
{
|
|
2364
2484
|
d: "M4 6L8 10L12 6",
|
|
@@ -2368,7 +2488,7 @@ var NavArrowDown = (props) => {
|
|
|
2368
2488
|
strokeLinejoin: "round"
|
|
2369
2489
|
}
|
|
2370
2490
|
),
|
|
2371
|
-
/* @__PURE__ */ (0,
|
|
2491
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2372
2492
|
"path",
|
|
2373
2493
|
{
|
|
2374
2494
|
fillRule: "evenodd",
|
|
@@ -2383,9 +2503,9 @@ var NavArrowDown = (props) => {
|
|
|
2383
2503
|
};
|
|
2384
2504
|
|
|
2385
2505
|
// src/components/Icon/components/NavArrowLeft.tsx
|
|
2386
|
-
var
|
|
2506
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2387
2507
|
var NavArrowLeft = (props) => {
|
|
2388
|
-
return /* @__PURE__ */ (0,
|
|
2508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2389
2509
|
"svg",
|
|
2390
2510
|
{
|
|
2391
2511
|
width: "25",
|
|
@@ -2394,7 +2514,7 @@ var NavArrowLeft = (props) => {
|
|
|
2394
2514
|
fill: "none",
|
|
2395
2515
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2396
2516
|
...props,
|
|
2397
|
-
children: /* @__PURE__ */ (0,
|
|
2517
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2398
2518
|
"path",
|
|
2399
2519
|
{
|
|
2400
2520
|
fillRule: "evenodd",
|
|
@@ -2408,9 +2528,9 @@ var NavArrowLeft = (props) => {
|
|
|
2408
2528
|
};
|
|
2409
2529
|
|
|
2410
2530
|
// src/components/Icon/components/NavArrowRight.tsx
|
|
2411
|
-
var
|
|
2531
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2412
2532
|
var NavArrowRight = (props) => {
|
|
2413
|
-
return /* @__PURE__ */ (0,
|
|
2533
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2414
2534
|
"svg",
|
|
2415
2535
|
{
|
|
2416
2536
|
width: "25",
|
|
@@ -2419,7 +2539,7 @@ var NavArrowRight = (props) => {
|
|
|
2419
2539
|
fill: "none",
|
|
2420
2540
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2421
2541
|
...props,
|
|
2422
|
-
children: /* @__PURE__ */ (0,
|
|
2542
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2423
2543
|
"path",
|
|
2424
2544
|
{
|
|
2425
2545
|
fillRule: "evenodd",
|
|
@@ -2433,9 +2553,9 @@ var NavArrowRight = (props) => {
|
|
|
2433
2553
|
};
|
|
2434
2554
|
|
|
2435
2555
|
// src/components/Icon/components/ClipboardCheck.tsx
|
|
2436
|
-
var
|
|
2556
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2437
2557
|
var ClipboardCheck = (props) => {
|
|
2438
|
-
return /* @__PURE__ */ (0,
|
|
2558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
2439
2559
|
"svg",
|
|
2440
2560
|
{
|
|
2441
2561
|
width: "24",
|
|
@@ -2445,7 +2565,7 @@ var ClipboardCheck = (props) => {
|
|
|
2445
2565
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2446
2566
|
...props,
|
|
2447
2567
|
children: [
|
|
2448
|
-
/* @__PURE__ */ (0,
|
|
2568
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2449
2569
|
"path",
|
|
2450
2570
|
{
|
|
2451
2571
|
fillRule: "evenodd",
|
|
@@ -2454,7 +2574,7 @@ var ClipboardCheck = (props) => {
|
|
|
2454
2574
|
fill: "currentColor"
|
|
2455
2575
|
}
|
|
2456
2576
|
),
|
|
2457
|
-
/* @__PURE__ */ (0,
|
|
2577
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2458
2578
|
"path",
|
|
2459
2579
|
{
|
|
2460
2580
|
fillRule: "evenodd",
|
|
@@ -2463,7 +2583,7 @@ var ClipboardCheck = (props) => {
|
|
|
2463
2583
|
fill: "currentColor"
|
|
2464
2584
|
}
|
|
2465
2585
|
),
|
|
2466
|
-
/* @__PURE__ */ (0,
|
|
2586
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2467
2587
|
"path",
|
|
2468
2588
|
{
|
|
2469
2589
|
fillRule: "evenodd",
|
|
@@ -2472,7 +2592,7 @@ var ClipboardCheck = (props) => {
|
|
|
2472
2592
|
fill: "currentColor"
|
|
2473
2593
|
}
|
|
2474
2594
|
),
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2595
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2476
2596
|
"path",
|
|
2477
2597
|
{
|
|
2478
2598
|
fillRule: "evenodd",
|
|
@@ -2487,9 +2607,9 @@ var ClipboardCheck = (props) => {
|
|
|
2487
2607
|
};
|
|
2488
2608
|
|
|
2489
2609
|
// src/components/Icon/components/CheckboxSelect.tsx
|
|
2490
|
-
var
|
|
2610
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2491
2611
|
var CheckboxSelect = (props) => {
|
|
2492
|
-
return /* @__PURE__ */ (0,
|
|
2612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2493
2613
|
"svg",
|
|
2494
2614
|
{
|
|
2495
2615
|
width: "24",
|
|
@@ -2499,14 +2619,14 @@ var CheckboxSelect = (props) => {
|
|
|
2499
2619
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2500
2620
|
...props,
|
|
2501
2621
|
children: [
|
|
2502
|
-
/* @__PURE__ */ (0,
|
|
2622
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2503
2623
|
"path",
|
|
2504
2624
|
{
|
|
2505
2625
|
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",
|
|
2506
2626
|
fill: "currentColor"
|
|
2507
2627
|
}
|
|
2508
2628
|
),
|
|
2509
|
-
/* @__PURE__ */ (0,
|
|
2629
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2510
2630
|
"path",
|
|
2511
2631
|
{
|
|
2512
2632
|
d: "M6.16602 12.8333L9.49935 16.1666L17.8327 7.83331",
|
|
@@ -2522,9 +2642,9 @@ var CheckboxSelect = (props) => {
|
|
|
2522
2642
|
};
|
|
2523
2643
|
|
|
2524
2644
|
// src/components/Icon/components/InfoCircleFill.tsx
|
|
2525
|
-
var
|
|
2645
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2526
2646
|
var InfoCircleFill = (props) => {
|
|
2527
|
-
return /* @__PURE__ */ (0,
|
|
2647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2528
2648
|
"svg",
|
|
2529
2649
|
{
|
|
2530
2650
|
width: "20",
|
|
@@ -2533,7 +2653,7 @@ var InfoCircleFill = (props) => {
|
|
|
2533
2653
|
fill: "none",
|
|
2534
2654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2535
2655
|
...props,
|
|
2536
|
-
children: /* @__PURE__ */ (0,
|
|
2656
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2537
2657
|
"path",
|
|
2538
2658
|
{
|
|
2539
2659
|
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",
|
|
@@ -2545,9 +2665,9 @@ var InfoCircleFill = (props) => {
|
|
|
2545
2665
|
};
|
|
2546
2666
|
|
|
2547
2667
|
// src/components/Icon/components/CheckboxDefault.tsx
|
|
2548
|
-
var
|
|
2668
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2549
2669
|
var CheckboxDefault = (props) => {
|
|
2550
|
-
return /* @__PURE__ */ (0,
|
|
2670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2551
2671
|
"svg",
|
|
2552
2672
|
{
|
|
2553
2673
|
width: "24",
|
|
@@ -2556,7 +2676,7 @@ var CheckboxDefault = (props) => {
|
|
|
2556
2676
|
fill: "none",
|
|
2557
2677
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2558
2678
|
...props,
|
|
2559
|
-
children: /* @__PURE__ */ (0,
|
|
2679
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2560
2680
|
"path",
|
|
2561
2681
|
{
|
|
2562
2682
|
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",
|
|
@@ -2567,10 +2687,62 @@ var CheckboxDefault = (props) => {
|
|
|
2567
2687
|
);
|
|
2568
2688
|
};
|
|
2569
2689
|
|
|
2690
|
+
// src/components/Icon/components/BellNotification.tsx
|
|
2691
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2692
|
+
var BellNotification = (props) => {
|
|
2693
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2694
|
+
"svg",
|
|
2695
|
+
{
|
|
2696
|
+
width: "20",
|
|
2697
|
+
height: "20",
|
|
2698
|
+
viewBox: "0 0 20 20",
|
|
2699
|
+
fill: "none",
|
|
2700
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2701
|
+
...props,
|
|
2702
|
+
children: [
|
|
2703
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2704
|
+
"path",
|
|
2705
|
+
{
|
|
2706
|
+
"fill-rule": "evenodd",
|
|
2707
|
+
"clip-rule": "evenodd",
|
|
2708
|
+
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",
|
|
2709
|
+
fill: "currentColor"
|
|
2710
|
+
}
|
|
2711
|
+
),
|
|
2712
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2713
|
+
"path",
|
|
2714
|
+
{
|
|
2715
|
+
"fill-rule": "evenodd",
|
|
2716
|
+
"clip-rule": "evenodd",
|
|
2717
|
+
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",
|
|
2718
|
+
fill: "currentColor"
|
|
2719
|
+
}
|
|
2720
|
+
),
|
|
2721
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2722
|
+
"path",
|
|
2723
|
+
{
|
|
2724
|
+
"fill-rule": "evenodd",
|
|
2725
|
+
"clip-rule": "evenodd",
|
|
2726
|
+
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",
|
|
2727
|
+
fill: "currentColor"
|
|
2728
|
+
}
|
|
2729
|
+
),
|
|
2730
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2731
|
+
"path",
|
|
2732
|
+
{
|
|
2733
|
+
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",
|
|
2734
|
+
fill: "currentColor"
|
|
2735
|
+
}
|
|
2736
|
+
)
|
|
2737
|
+
]
|
|
2738
|
+
}
|
|
2739
|
+
);
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2570
2742
|
// src/components/Icon/components/InfoCircleOutline.tsx
|
|
2571
|
-
var
|
|
2743
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2572
2744
|
var InfoCircleOutline = (props) => {
|
|
2573
|
-
return /* @__PURE__ */ (0,
|
|
2745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
2574
2746
|
"svg",
|
|
2575
2747
|
{
|
|
2576
2748
|
width: "16",
|
|
@@ -2580,8 +2752,8 @@ var InfoCircleOutline = (props) => {
|
|
|
2580
2752
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2581
2753
|
...props,
|
|
2582
2754
|
children: [
|
|
2583
|
-
/* @__PURE__ */ (0,
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2755
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("g", { "clip-path": "url(#clip0_1881_10590)", children: [
|
|
2756
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2585
2757
|
"path",
|
|
2586
2758
|
{
|
|
2587
2759
|
fillRule: "evenodd",
|
|
@@ -2590,7 +2762,7 @@ var InfoCircleOutline = (props) => {
|
|
|
2590
2762
|
fill: "currentColor"
|
|
2591
2763
|
}
|
|
2592
2764
|
),
|
|
2593
|
-
/* @__PURE__ */ (0,
|
|
2765
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2594
2766
|
"path",
|
|
2595
2767
|
{
|
|
2596
2768
|
fillRule: "evenodd",
|
|
@@ -2599,7 +2771,7 @@ var InfoCircleOutline = (props) => {
|
|
|
2599
2771
|
fill: "currentColor"
|
|
2600
2772
|
}
|
|
2601
2773
|
),
|
|
2602
|
-
/* @__PURE__ */ (0,
|
|
2774
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2603
2775
|
"path",
|
|
2604
2776
|
{
|
|
2605
2777
|
fillRule: "evenodd",
|
|
@@ -2609,16 +2781,16 @@ var InfoCircleOutline = (props) => {
|
|
|
2609
2781
|
}
|
|
2610
2782
|
)
|
|
2611
2783
|
] }),
|
|
2612
|
-
/* @__PURE__ */ (0,
|
|
2784
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "clip0_1881_10590", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2613
2785
|
]
|
|
2614
2786
|
}
|
|
2615
2787
|
);
|
|
2616
2788
|
};
|
|
2617
2789
|
|
|
2618
2790
|
// src/components/Icon/components/LongArrowUpLeftSolid.tsx
|
|
2619
|
-
var
|
|
2791
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2620
2792
|
var LongArrowUpLeftSolid = (props) => {
|
|
2621
|
-
return /* @__PURE__ */ (0,
|
|
2793
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2622
2794
|
"svg",
|
|
2623
2795
|
{
|
|
2624
2796
|
width: "24",
|
|
@@ -2628,7 +2800,7 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2628
2800
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2629
2801
|
...props,
|
|
2630
2802
|
children: [
|
|
2631
|
-
/* @__PURE__ */ (0,
|
|
2803
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2632
2804
|
"path",
|
|
2633
2805
|
{
|
|
2634
2806
|
fillRule: "evenodd",
|
|
@@ -2637,7 +2809,7 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2637
2809
|
fill: "currentColor"
|
|
2638
2810
|
}
|
|
2639
2811
|
),
|
|
2640
|
-
/* @__PURE__ */ (0,
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2641
2813
|
"path",
|
|
2642
2814
|
{
|
|
2643
2815
|
fillRule: "evenodd",
|
|
@@ -2652,9 +2824,9 @@ var LongArrowUpLeftSolid = (props) => {
|
|
|
2652
2824
|
};
|
|
2653
2825
|
|
|
2654
2826
|
// src/components/Icon/components/CheckboxIndeterminate.tsx
|
|
2655
|
-
var
|
|
2827
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
2656
2828
|
var CheckboxIndeterminate = (props) => {
|
|
2657
|
-
return /* @__PURE__ */ (0,
|
|
2829
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2658
2830
|
"svg",
|
|
2659
2831
|
{
|
|
2660
2832
|
width: "24",
|
|
@@ -2664,14 +2836,14 @@ var CheckboxIndeterminate = (props) => {
|
|
|
2664
2836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2665
2837
|
...props,
|
|
2666
2838
|
children: [
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2839
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2668
2840
|
"path",
|
|
2669
2841
|
{
|
|
2670
2842
|
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",
|
|
2671
2843
|
fill: "currentColor"
|
|
2672
2844
|
}
|
|
2673
2845
|
),
|
|
2674
|
-
/* @__PURE__ */ (0,
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M6 12H18", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2675
2847
|
]
|
|
2676
2848
|
}
|
|
2677
2849
|
);
|
|
@@ -2683,10 +2855,10 @@ var iconClasses = {
|
|
|
2683
2855
|
};
|
|
2684
2856
|
|
|
2685
2857
|
// src/components/Icon/icon.tsx
|
|
2686
|
-
var
|
|
2858
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2687
2859
|
var Icon = ({ icon: icon2, className, ...props }) => {
|
|
2688
2860
|
const IconComponent = components_exports[icon2];
|
|
2689
|
-
return /* @__PURE__ */ (0,
|
|
2861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2690
2862
|
import_Box.default,
|
|
2691
2863
|
{
|
|
2692
2864
|
component: IconComponent,
|
|
@@ -2697,7 +2869,7 @@ var Icon = ({ icon: icon2, className, ...props }) => {
|
|
|
2697
2869
|
};
|
|
2698
2870
|
|
|
2699
2871
|
// src/theme/core/components/alert.tsx
|
|
2700
|
-
var
|
|
2872
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2701
2873
|
var COLORS2 = ["info", "success", "warning", "error"];
|
|
2702
2874
|
function styleColors2(ownerState, styles) {
|
|
2703
2875
|
const outputStyle = COLORS2.reduce((acc, color) => {
|
|
@@ -2715,10 +2887,10 @@ var MuiAlert = {
|
|
|
2715
2887
|
defaultProps: {
|
|
2716
2888
|
variant: "standard",
|
|
2717
2889
|
iconMapping: {
|
|
2718
|
-
error: /* @__PURE__ */ (0,
|
|
2719
|
-
info: /* @__PURE__ */ (0,
|
|
2720
|
-
success: /* @__PURE__ */ (0,
|
|
2721
|
-
warning: /* @__PURE__ */ (0,
|
|
2890
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: "InfoCircleFill" }),
|
|
2891
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: "InfoCircleFill" }),
|
|
2892
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: "InfoCircleFill" }),
|
|
2893
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: "InfoCircleFill" })
|
|
2722
2894
|
}
|
|
2723
2895
|
},
|
|
2724
2896
|
/** **************************************
|
|
@@ -2927,7 +3099,7 @@ var badge = { MuiBadge };
|
|
|
2927
3099
|
|
|
2928
3100
|
// src/theme/core/components/radio.tsx
|
|
2929
3101
|
var import_Radio = require("@mui/material/Radio");
|
|
2930
|
-
var
|
|
3102
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2931
3103
|
var MuiRadio = {
|
|
2932
3104
|
/** **************************************
|
|
2933
3105
|
* DEFAULT PROPS
|
|
@@ -2936,8 +3108,8 @@ var MuiRadio = {
|
|
|
2936
3108
|
color: "default",
|
|
2937
3109
|
size: "small",
|
|
2938
3110
|
disableRipple: true,
|
|
2939
|
-
icon: /* @__PURE__ */ (0,
|
|
2940
|
-
checkedIcon: /* @__PURE__ */ (0,
|
|
3111
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: "RadioDefault" }),
|
|
3112
|
+
checkedIcon: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: "RadioSelect" })
|
|
2941
3113
|
},
|
|
2942
3114
|
/** **************************************
|
|
2943
3115
|
* STYLE
|
|
@@ -3240,13 +3412,13 @@ var MuiDrawer = {
|
|
|
3240
3412
|
var drawer = { MuiDrawer };
|
|
3241
3413
|
|
|
3242
3414
|
// src/theme/core/components/select.tsx
|
|
3243
|
-
var
|
|
3415
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
3244
3416
|
var MuiSelect = {
|
|
3245
3417
|
/** **************************************
|
|
3246
3418
|
* DEFAULT PROPS
|
|
3247
3419
|
*************************************** */
|
|
3248
3420
|
defaultProps: {
|
|
3249
|
-
IconComponent: () => /* @__PURE__ */ (0,
|
|
3421
|
+
IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
|
|
3250
3422
|
}
|
|
3251
3423
|
};
|
|
3252
3424
|
var MuiNativeSelect = {
|
|
@@ -3254,7 +3426,7 @@ var MuiNativeSelect = {
|
|
|
3254
3426
|
* DEFAULT PROPS
|
|
3255
3427
|
*************************************** */
|
|
3256
3428
|
defaultProps: {
|
|
3257
|
-
IconComponent: () => /* @__PURE__ */ (0,
|
|
3429
|
+
IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
|
|
3258
3430
|
}
|
|
3259
3431
|
};
|
|
3260
3432
|
var select = { MuiSelect, MuiNativeSelect };
|
|
@@ -3262,13 +3434,13 @@ var select = { MuiSelect, MuiNativeSelect };
|
|
|
3262
3434
|
// src/theme/core/components/rating.tsx
|
|
3263
3435
|
var import_Rating = require("@mui/material/Rating");
|
|
3264
3436
|
var import_SvgIcon = __toESM(require("@mui/material/SvgIcon"), 1);
|
|
3265
|
-
var
|
|
3266
|
-
var RatingIcon = (props) => /* @__PURE__ */ (0,
|
|
3437
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3438
|
+
var RatingIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_SvgIcon.default, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("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" }) });
|
|
3267
3439
|
var MuiRating = {
|
|
3268
3440
|
/** **************************************
|
|
3269
3441
|
* DEFAULT PROPS
|
|
3270
3442
|
*************************************** */
|
|
3271
|
-
defaultProps: { emptyIcon: /* @__PURE__ */ (0,
|
|
3443
|
+
defaultProps: { emptyIcon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RatingIcon, {}), icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RatingIcon, {}) },
|
|
3272
3444
|
/** **************************************
|
|
3273
3445
|
* STYLE
|
|
3274
3446
|
*************************************** */
|
|
@@ -3393,7 +3565,7 @@ var slider = {
|
|
|
3393
3565
|
// src/theme/core/components/button.tsx
|
|
3394
3566
|
var import_Button = require("@mui/material/Button");
|
|
3395
3567
|
var import_styles12 = require("@mui/material/styles");
|
|
3396
|
-
var
|
|
3568
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
3397
3569
|
var spin = import_styles12.keyframes`
|
|
3398
3570
|
0% {
|
|
3399
3571
|
transform: rotate(0deg);
|
|
@@ -3513,7 +3685,7 @@ var MuiButton = {
|
|
|
3513
3685
|
variant: "outlined",
|
|
3514
3686
|
disableElevation: true,
|
|
3515
3687
|
disableRipple: true,
|
|
3516
|
-
loadingIndicator: /* @__PURE__ */ (0,
|
|
3688
|
+
loadingIndicator: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { icon: "Loader" })
|
|
3517
3689
|
},
|
|
3518
3690
|
/** **************************************
|
|
3519
3691
|
* VARIANTS
|
|
@@ -4067,7 +4239,7 @@ var timeline = { MuiTimelineDot, MuiTimelineConnector };
|
|
|
4067
4239
|
|
|
4068
4240
|
// src/theme/core/components/checkbox.tsx
|
|
4069
4241
|
var import_Checkbox2 = require("@mui/material/Checkbox");
|
|
4070
|
-
var
|
|
4242
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4071
4243
|
var MuiCheckbox = {
|
|
4072
4244
|
/** **************************************
|
|
4073
4245
|
* DEFAULT PROPS
|
|
@@ -4076,9 +4248,9 @@ var MuiCheckbox = {
|
|
|
4076
4248
|
color: "default",
|
|
4077
4249
|
size: "small",
|
|
4078
4250
|
disableRipple: true,
|
|
4079
|
-
icon: /* @__PURE__ */ (0,
|
|
4080
|
-
checkedIcon: /* @__PURE__ */ (0,
|
|
4081
|
-
indeterminateIcon: /* @__PURE__ */ (0,
|
|
4251
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon: "CheckboxDefault" }),
|
|
4252
|
+
checkedIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon: "CheckboxSelect" }),
|
|
4253
|
+
indeterminateIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon: "CheckboxIndeterminate" })
|
|
4082
4254
|
},
|
|
4083
4255
|
/** **************************************
|
|
4084
4256
|
* STYLE
|
|
@@ -4621,7 +4793,7 @@ var import_ListItemIcon = require("@mui/material/ListItemIcon");
|
|
|
4621
4793
|
var import_CircularProgress = require("@mui/material/CircularProgress");
|
|
4622
4794
|
var import_FormControlLabel = require("@mui/material/FormControlLabel");
|
|
4623
4795
|
var import_SvgIcon2 = __toESM(require("@mui/material/SvgIcon"), 1);
|
|
4624
|
-
var
|
|
4796
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4625
4797
|
var MuiDataGrid = {
|
|
4626
4798
|
/** **************************************
|
|
4627
4799
|
* DEFAULT PROPS
|
|
@@ -4629,9 +4801,9 @@ var MuiDataGrid = {
|
|
|
4629
4801
|
defaultProps: {
|
|
4630
4802
|
slots: {
|
|
4631
4803
|
/* Column */
|
|
4632
|
-
columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0,
|
|
4633
|
-
columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0,
|
|
4634
|
-
columnUnsortedIcon: (props) => /* @__PURE__ */ (0,
|
|
4804
|
+
columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
|
|
4805
|
+
columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
|
|
4806
|
+
columnUnsortedIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4635
4807
|
DataGridArrowUpIcon,
|
|
4636
4808
|
{
|
|
4637
4809
|
fontSize: props.fontSize,
|
|
@@ -4639,26 +4811,26 @@ var MuiDataGrid = {
|
|
|
4639
4811
|
sx: { color: "text.disabled" }
|
|
4640
4812
|
}
|
|
4641
4813
|
),
|
|
4642
|
-
columnMenuIcon: (props) => /* @__PURE__ */ (0,
|
|
4643
|
-
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0,
|
|
4644
|
-
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0,
|
|
4645
|
-
columnMenuFilterIcon: (props) => /* @__PURE__ */ (0,
|
|
4646
|
-
columnMenuHideIcon: (props) => /* @__PURE__ */ (0,
|
|
4647
|
-
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0,
|
|
4648
|
-
columnSelectorIcon: (props) => /* @__PURE__ */ (0,
|
|
4814
|
+
columnMenuIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridMoreIcon, { width: 20, ...props }),
|
|
4815
|
+
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridArrowUpIcon, { ...props }),
|
|
4816
|
+
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridArrowDownIcon, { ...props }),
|
|
4817
|
+
columnMenuFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridFilterIcon, { ...props }),
|
|
4818
|
+
columnMenuHideIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridEyeCloseIcon, { ...props }),
|
|
4819
|
+
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridEyeIcon, { ...props }),
|
|
4820
|
+
columnSelectorIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridEyeIcon, { ...props }),
|
|
4649
4821
|
/* Filter */
|
|
4650
|
-
filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0,
|
|
4651
|
-
openFilterButtonIcon: (props) => /* @__PURE__ */ (0,
|
|
4652
|
-
columnFilteredIcon: (props) => /* @__PURE__ */ (0,
|
|
4822
|
+
filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridCloseIcon, { ...props }),
|
|
4823
|
+
openFilterButtonIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridFilterIcon, { ...props }),
|
|
4824
|
+
columnFilteredIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
|
|
4653
4825
|
/* Density */
|
|
4654
|
-
densityCompactIcon: (props) => /* @__PURE__ */ (0,
|
|
4655
|
-
densityStandardIcon: (props) => /* @__PURE__ */ (0,
|
|
4656
|
-
densityComfortableIcon: (props) => /* @__PURE__ */ (0,
|
|
4826
|
+
densityCompactIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridDensityCompactIcon, { ...props }),
|
|
4827
|
+
densityStandardIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridDensityStandardIcon, { ...props }),
|
|
4828
|
+
densityComfortableIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridDensityComfortableIcon, { ...props }),
|
|
4657
4829
|
/* Export */
|
|
4658
|
-
exportIcon: (props) => /* @__PURE__ */ (0,
|
|
4830
|
+
exportIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridExportIcon, { ...props }),
|
|
4659
4831
|
/* Quick Filter */
|
|
4660
|
-
quickFilterIcon: (props) => /* @__PURE__ */ (0,
|
|
4661
|
-
quickFilterClearIcon: (props) => /* @__PURE__ */ (0,
|
|
4832
|
+
quickFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
|
|
4833
|
+
quickFilterClearIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DataGridCloseIcon, { ...props })
|
|
4662
4834
|
},
|
|
4663
4835
|
slotProps: {
|
|
4664
4836
|
basePopper: { placement: "bottom-end" },
|
|
@@ -4808,15 +4980,15 @@ var MuiDataGrid = {
|
|
|
4808
4980
|
}
|
|
4809
4981
|
};
|
|
4810
4982
|
var dataGrid = { MuiDataGrid };
|
|
4811
|
-
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4812
|
-
/* @__PURE__ */ (0,
|
|
4983
|
+
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
4984
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4813
4985
|
"path",
|
|
4814
4986
|
{
|
|
4815
4987
|
fill: "currentColor",
|
|
4816
4988
|
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"
|
|
4817
4989
|
}
|
|
4818
4990
|
),
|
|
4819
|
-
/* @__PURE__ */ (0,
|
|
4991
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4820
4992
|
"path",
|
|
4821
4993
|
{
|
|
4822
4994
|
fill: "currentColor",
|
|
@@ -4825,15 +4997,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
4825
4997
|
}
|
|
4826
4998
|
)
|
|
4827
4999
|
] });
|
|
4828
|
-
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4829
|
-
/* @__PURE__ */ (0,
|
|
5000
|
+
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
5001
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4830
5002
|
"path",
|
|
4831
5003
|
{
|
|
4832
5004
|
fill: "currentColor",
|
|
4833
5005
|
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"
|
|
4834
5006
|
}
|
|
4835
5007
|
),
|
|
4836
|
-
/* @__PURE__ */ (0,
|
|
5008
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4837
5009
|
"path",
|
|
4838
5010
|
{
|
|
4839
5011
|
fill: "currentColor",
|
|
@@ -4842,15 +5014,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_run
|
|
|
4842
5014
|
}
|
|
4843
5015
|
)
|
|
4844
5016
|
] });
|
|
4845
|
-
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
5017
|
+
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4846
5018
|
"path",
|
|
4847
5019
|
{
|
|
4848
5020
|
fill: "currentColor",
|
|
4849
5021
|
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"
|
|
4850
5022
|
}
|
|
4851
5023
|
) });
|
|
4852
|
-
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4853
|
-
/* @__PURE__ */ (0,
|
|
5024
|
+
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
5025
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4854
5026
|
"path",
|
|
4855
5027
|
{
|
|
4856
5028
|
fill: "currentColor",
|
|
@@ -4859,7 +5031,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
4859
5031
|
clipRule: "evenodd"
|
|
4860
5032
|
}
|
|
4861
5033
|
),
|
|
4862
|
-
/* @__PURE__ */ (0,
|
|
5034
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4863
5035
|
"path",
|
|
4864
5036
|
{
|
|
4865
5037
|
fill: "currentColor",
|
|
@@ -4867,9 +5039,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
4867
5039
|
}
|
|
4868
5040
|
)
|
|
4869
5041
|
] });
|
|
4870
|
-
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4871
|
-
/* @__PURE__ */ (0,
|
|
4872
|
-
/* @__PURE__ */ (0,
|
|
5042
|
+
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
5043
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("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" }),
|
|
5044
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4873
5045
|
"path",
|
|
4874
5046
|
{
|
|
4875
5047
|
fill: "currentColor",
|
|
@@ -4879,7 +5051,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime32
|
|
|
4879
5051
|
}
|
|
4880
5052
|
)
|
|
4881
5053
|
] });
|
|
4882
|
-
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
5054
|
+
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4883
5055
|
"path",
|
|
4884
5056
|
{
|
|
4885
5057
|
fill: "currentColor",
|
|
@@ -4888,23 +5060,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runt
|
|
|
4888
5060
|
clipRule: "evenodd"
|
|
4889
5061
|
}
|
|
4890
5062
|
) });
|
|
4891
|
-
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
5063
|
+
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4892
5064
|
"path",
|
|
4893
5065
|
{
|
|
4894
5066
|
fill: "currentColor",
|
|
4895
5067
|
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"
|
|
4896
5068
|
}
|
|
4897
5069
|
) });
|
|
4898
|
-
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
5070
|
+
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4899
5071
|
"path",
|
|
4900
5072
|
{
|
|
4901
5073
|
fill: "currentColor",
|
|
4902
5074
|
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"
|
|
4903
5075
|
}
|
|
4904
5076
|
) });
|
|
4905
|
-
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4906
|
-
/* @__PURE__ */ (0,
|
|
4907
|
-
/* @__PURE__ */ (0,
|
|
5077
|
+
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { fill: "none", children: [
|
|
5078
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("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" }),
|
|
5079
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4908
5080
|
"path",
|
|
4909
5081
|
{
|
|
4910
5082
|
fill: "currentColor",
|
|
@@ -4912,16 +5084,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime3
|
|
|
4912
5084
|
}
|
|
4913
5085
|
)
|
|
4914
5086
|
] }) });
|
|
4915
|
-
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
5087
|
+
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4916
5088
|
"path",
|
|
4917
5089
|
{
|
|
4918
5090
|
fill: "currentColor",
|
|
4919
5091
|
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"
|
|
4920
5092
|
}
|
|
4921
5093
|
) });
|
|
4922
|
-
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4923
|
-
/* @__PURE__ */ (0,
|
|
4924
|
-
/* @__PURE__ */ (0,
|
|
5094
|
+
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { fill: "none", fillRule: "evenodd", children: [
|
|
5095
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("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" }),
|
|
5096
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4925
5097
|
"path",
|
|
4926
5098
|
{
|
|
4927
5099
|
fill: "currentColor",
|
|
@@ -4929,9 +5101,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, impor
|
|
|
4929
5101
|
}
|
|
4930
5102
|
)
|
|
4931
5103
|
] }) });
|
|
4932
|
-
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
4933
|
-
/* @__PURE__ */ (0,
|
|
4934
|
-
/* @__PURE__ */ (0,
|
|
5104
|
+
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_SvgIcon2.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { fill: "none", children: [
|
|
5105
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("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" }),
|
|
5106
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4935
5107
|
"path",
|
|
4936
5108
|
{
|
|
4937
5109
|
fill: "currentColor",
|
|
@@ -5091,12 +5263,12 @@ var buttonGroup = { MuiButtonGroup };
|
|
|
5091
5263
|
// src/theme/core/components/autocomplete.tsx
|
|
5092
5264
|
var import_SvgIcon3 = require("@mui/material/SvgIcon");
|
|
5093
5265
|
var import_Autocomplete3 = require("@mui/material/Autocomplete");
|
|
5094
|
-
var
|
|
5266
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5095
5267
|
var MuiAutocomplete = {
|
|
5096
5268
|
/** **************************************
|
|
5097
5269
|
* DEFAULT PROPS
|
|
5098
5270
|
*************************************** */
|
|
5099
|
-
defaultProps: { popupIcon: /* @__PURE__ */ (0,
|
|
5271
|
+
defaultProps: { popupIcon: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Icon, { icon: "NavArrowDown" }) },
|
|
5100
5272
|
/** **************************************
|
|
5101
5273
|
* STYLE
|
|
5102
5274
|
*************************************** */
|
|
@@ -5223,37 +5395,37 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
|
|
|
5223
5395
|
var import_Button2 = require("@mui/material/Button");
|
|
5224
5396
|
var import_SvgIcon4 = __toESM(require("@mui/material/SvgIcon"), 1);
|
|
5225
5397
|
var import_DialogActions = require("@mui/material/DialogActions");
|
|
5226
|
-
var
|
|
5227
|
-
var PickerSwitchIcon = (props) => /* @__PURE__ */ (0,
|
|
5398
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5399
|
+
var PickerSwitchIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_SvgIcon4.default, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5228
5400
|
"path",
|
|
5229
5401
|
{
|
|
5230
5402
|
fill: "currentColor",
|
|
5231
5403
|
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"
|
|
5232
5404
|
}
|
|
5233
5405
|
) });
|
|
5234
|
-
var PickerLeftIcon = (props) => /* @__PURE__ */ (0,
|
|
5406
|
+
var PickerLeftIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_SvgIcon4.default, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5235
5407
|
"path",
|
|
5236
5408
|
{
|
|
5237
5409
|
fill: "currentColor",
|
|
5238
5410
|
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"
|
|
5239
5411
|
}
|
|
5240
5412
|
) });
|
|
5241
|
-
var PickerRightIcon = (props) => /* @__PURE__ */ (0,
|
|
5413
|
+
var PickerRightIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_SvgIcon4.default, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5242
5414
|
"path",
|
|
5243
5415
|
{
|
|
5244
5416
|
fill: "currentColor",
|
|
5245
5417
|
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"
|
|
5246
5418
|
}
|
|
5247
5419
|
) });
|
|
5248
|
-
var PickerCalendarIcon = (props) => /* @__PURE__ */ (0,
|
|
5249
|
-
/* @__PURE__ */ (0,
|
|
5420
|
+
var PickerCalendarIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_SvgIcon4.default, { ...props, children: [
|
|
5421
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5250
5422
|
"path",
|
|
5251
5423
|
{
|
|
5252
5424
|
fill: "currentColor",
|
|
5253
5425
|
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"
|
|
5254
5426
|
}
|
|
5255
5427
|
),
|
|
5256
|
-
/* @__PURE__ */ (0,
|
|
5428
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5257
5429
|
"path",
|
|
5258
5430
|
{
|
|
5259
5431
|
fill: "currentColor",
|
|
@@ -5261,9 +5433,9 @@ var PickerCalendarIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx
|
|
|
5261
5433
|
opacity: "0.5"
|
|
5262
5434
|
}
|
|
5263
5435
|
),
|
|
5264
|
-
/* @__PURE__ */ (0,
|
|
5436
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { fill: "currentColor", d: "M18 16.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0" })
|
|
5265
5437
|
] });
|
|
5266
|
-
var PickerClockIcon = (props) => /* @__PURE__ */ (0,
|
|
5438
|
+
var PickerClockIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_SvgIcon4.default, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5267
5439
|
"path",
|
|
5268
5440
|
{
|
|
5269
5441
|
fill: "currentColor",
|
|
@@ -5605,12 +5777,12 @@ var shouldSkipGeneratingVar = (keys) => {
|
|
|
5605
5777
|
|
|
5606
5778
|
// src/theme/color-scheme-script.tsx
|
|
5607
5779
|
var import_InitColorSchemeScript = __toESM(require("@mui/material/InitColorSchemeScript"), 1);
|
|
5608
|
-
var
|
|
5780
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5609
5781
|
var schemeConfig = {
|
|
5610
5782
|
modeStorageKey: "theme-mode",
|
|
5611
5783
|
defaultMode: defaultSettings.colorScheme
|
|
5612
5784
|
};
|
|
5613
|
-
var getInitColorSchemeScript = /* @__PURE__ */ (0,
|
|
5785
|
+
var getInitColorSchemeScript = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
5614
5786
|
import_InitColorSchemeScript.default,
|
|
5615
5787
|
{
|
|
5616
5788
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
@@ -5633,18 +5805,18 @@ var import__8 = require("@fontsource/geist/500.css");
|
|
|
5633
5805
|
var import__9 = require("@fontsource/geist/600.css");
|
|
5634
5806
|
var import__10 = require("@fontsource/geist/700.css");
|
|
5635
5807
|
var import_satoshi = require("./satoshi-4X3TX4PE.css");
|
|
5636
|
-
var
|
|
5808
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5637
5809
|
var ThemeProvider = ({ children }) => {
|
|
5638
5810
|
const settings = useSettings();
|
|
5639
5811
|
const theme = createTheme(settings);
|
|
5640
|
-
return /* @__PURE__ */ (0,
|
|
5812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
5641
5813
|
import_styles31.ThemeProvider,
|
|
5642
5814
|
{
|
|
5643
5815
|
theme,
|
|
5644
5816
|
defaultMode: schemeConfig.defaultMode,
|
|
5645
5817
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
5646
5818
|
children: [
|
|
5647
|
-
/* @__PURE__ */ (0,
|
|
5819
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_CssBaseline.default, {}),
|
|
5648
5820
|
children
|
|
5649
5821
|
]
|
|
5650
5822
|
}
|
|
@@ -5654,7 +5826,7 @@ var ThemeProvider = ({ children }) => {
|
|
|
5654
5826
|
// src/components/Logo/index.tsx
|
|
5655
5827
|
var import_Link = __toESM(require("@mui/material/Link"), 1);
|
|
5656
5828
|
var import_Box2 = __toESM(require("@mui/material/Box"), 1);
|
|
5657
|
-
var
|
|
5829
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5658
5830
|
var LOGO_MAP = {
|
|
5659
5831
|
full: {
|
|
5660
5832
|
black: "https://res.cloudinary.com/dvbtbsinu/image/upload/v1763077834/define-agency/logos/logo-black-full_mjngwu.png",
|
|
@@ -5682,7 +5854,7 @@ var Logo = ({
|
|
|
5682
5854
|
const type = isFull ? "full" : "single";
|
|
5683
5855
|
const color = isWhite ? "white" : isBlack ? "black" : "default";
|
|
5684
5856
|
const logoImg = src ?? LOGO_MAP[type][color];
|
|
5685
|
-
const logo = /* @__PURE__ */ (0,
|
|
5857
|
+
const logo = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5686
5858
|
import_Box2.default,
|
|
5687
5859
|
{
|
|
5688
5860
|
component: "img",
|
|
@@ -5695,10 +5867,10 @@ var Logo = ({
|
|
|
5695
5867
|
if (disableLink) {
|
|
5696
5868
|
return logo;
|
|
5697
5869
|
}
|
|
5698
|
-
return /* @__PURE__ */ (0,
|
|
5870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_Link.default, { component: LinkComponent, href, sx: { display: "contents" }, children: logo });
|
|
5699
5871
|
};
|
|
5700
5872
|
var AnimatedLogo = () => {
|
|
5701
|
-
return /* @__PURE__ */ (0,
|
|
5873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
5702
5874
|
"svg",
|
|
5703
5875
|
{
|
|
5704
5876
|
width: "120",
|
|
@@ -5707,7 +5879,7 @@ var AnimatedLogo = () => {
|
|
|
5707
5879
|
fill: "none",
|
|
5708
5880
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5709
5881
|
children: [
|
|
5710
|
-
/* @__PURE__ */ (0,
|
|
5882
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("style", { children: `
|
|
5711
5883
|
@keyframes fadeIn {
|
|
5712
5884
|
from {
|
|
5713
5885
|
opacity: 0;
|
|
@@ -5768,7 +5940,7 @@ var AnimatedLogo = () => {
|
|
|
5768
5940
|
transform-origin: center;
|
|
5769
5941
|
}
|
|
5770
5942
|
` }),
|
|
5771
|
-
/* @__PURE__ */ (0,
|
|
5943
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5772
5944
|
"rect",
|
|
5773
5945
|
{
|
|
5774
5946
|
className: "background-rect",
|
|
@@ -5779,7 +5951,7 @@ var AnimatedLogo = () => {
|
|
|
5779
5951
|
fill: "white"
|
|
5780
5952
|
}
|
|
5781
5953
|
),
|
|
5782
|
-
/* @__PURE__ */ (0,
|
|
5954
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5783
5955
|
"path",
|
|
5784
5956
|
{
|
|
5785
5957
|
className: "bars",
|
|
@@ -5787,7 +5959,7 @@ var AnimatedLogo = () => {
|
|
|
5787
5959
|
fill: "#5E30EB"
|
|
5788
5960
|
}
|
|
5789
5961
|
),
|
|
5790
|
-
/* @__PURE__ */ (0,
|
|
5962
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5791
5963
|
"path",
|
|
5792
5964
|
{
|
|
5793
5965
|
className: "d-letter",
|
|
@@ -5807,7 +5979,7 @@ var import_x_data_grid2 = require("@mui/x-data-grid");
|
|
|
5807
5979
|
// src/components/Table/components/TableNoRows.tsx
|
|
5808
5980
|
var import_Box3 = __toESM(require("@mui/material/Box"), 1);
|
|
5809
5981
|
var import_styles32 = require("@mui/material/styles");
|
|
5810
|
-
var
|
|
5982
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5811
5983
|
var StyledGridOverlay = (0, import_styles32.styled)("div")(({ theme }) => ({
|
|
5812
5984
|
display: "flex",
|
|
5813
5985
|
flexDirection: "column",
|
|
@@ -5817,7 +5989,7 @@ var StyledGridOverlay = (0, import_styles32.styled)("div")(({ theme }) => ({
|
|
|
5817
5989
|
height: "100%"
|
|
5818
5990
|
}));
|
|
5819
5991
|
var TableNoRows = ({ noRowsTitle = "No Rows" }) => {
|
|
5820
|
-
return /* @__PURE__ */ (0,
|
|
5992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(StyledGridOverlay, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Box3.default, { sx: { mt: 1 }, children: noRowsTitle }) });
|
|
5821
5993
|
};
|
|
5822
5994
|
var TableNoRows_default = TableNoRows;
|
|
5823
5995
|
|
|
@@ -5827,7 +5999,7 @@ var import_Typography2 = __toESM(require("@mui/material/Typography"), 1);
|
|
|
5827
5999
|
var import_Pagination = __toESM(require("@mui/material/Pagination"), 1);
|
|
5828
6000
|
var import_PaginationItem2 = __toESM(require("@mui/material/PaginationItem"), 1);
|
|
5829
6001
|
var import_x_data_grid = require("@mui/x-data-grid");
|
|
5830
|
-
var
|
|
6002
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5831
6003
|
var TablePagination = () => {
|
|
5832
6004
|
const apiRef = (0, import_x_data_grid.useGridApiContext)();
|
|
5833
6005
|
const page = (0, import_x_data_grid.useGridSelector)(apiRef, import_x_data_grid.gridPageSelector);
|
|
@@ -5836,7 +6008,7 @@ var TablePagination = () => {
|
|
|
5836
6008
|
const rowCount = (0, import_x_data_grid.useGridSelector)(apiRef, import_x_data_grid.gridRowCountSelector);
|
|
5837
6009
|
const from = page * pageSize + 1;
|
|
5838
6010
|
const to = Math.min((page + 1) * pageSize, rowCount);
|
|
5839
|
-
return /* @__PURE__ */ (0,
|
|
6011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5840
6012
|
import_Stack.default,
|
|
5841
6013
|
{
|
|
5842
6014
|
direction: "row",
|
|
@@ -5845,14 +6017,14 @@ var TablePagination = () => {
|
|
|
5845
6017
|
width: 1,
|
|
5846
6018
|
p: 1.5,
|
|
5847
6019
|
children: [
|
|
5848
|
-
/* @__PURE__ */ (0,
|
|
6020
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5849
6021
|
import_Stack.default,
|
|
5850
6022
|
{
|
|
5851
6023
|
direction: { xs: "column", md: "row" },
|
|
5852
6024
|
alignItems: { xs: "flex-start", md: "center" },
|
|
5853
6025
|
spacing: 2,
|
|
5854
6026
|
children: [
|
|
5855
|
-
/* @__PURE__ */ (0,
|
|
6027
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5856
6028
|
import_Pagination.default,
|
|
5857
6029
|
{
|
|
5858
6030
|
size: "medium",
|
|
@@ -5864,17 +6036,17 @@ var TablePagination = () => {
|
|
|
5864
6036
|
showFirstButton: true,
|
|
5865
6037
|
showLastButton: true,
|
|
5866
6038
|
onChange: (_, value) => apiRef.current.setPage(value - 1),
|
|
5867
|
-
renderItem: (item) => /* @__PURE__ */ (0,
|
|
6039
|
+
renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_PaginationItem2.default, { ...item })
|
|
5868
6040
|
}
|
|
5869
6041
|
),
|
|
5870
|
-
/* @__PURE__ */ (0,
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_Stack.default, { direction: "row", alignItems: "center", spacing: 1, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_Typography2.default, { variant: "body2", color: "text.secondary", children: [
|
|
5871
6043
|
pageSize,
|
|
5872
6044
|
" Items per page"
|
|
5873
6045
|
] }) })
|
|
5874
6046
|
]
|
|
5875
6047
|
}
|
|
5876
6048
|
),
|
|
5877
|
-
/* @__PURE__ */ (0,
|
|
6049
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_Typography2.default, { variant: "body2", color: "text.secondary", children: [
|
|
5878
6050
|
`${from} \u2013 ${to} of ${rowCount !== -1 ? rowCount : `more than ${to}`} items`,
|
|
5879
6051
|
" "
|
|
5880
6052
|
] })
|
|
@@ -5884,10 +6056,10 @@ var TablePagination = () => {
|
|
|
5884
6056
|
};
|
|
5885
6057
|
|
|
5886
6058
|
// src/components/Table/Table.tsx
|
|
5887
|
-
var
|
|
6059
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5888
6060
|
var Table = (props) => {
|
|
5889
6061
|
const { data, showToolbar = false, ...rest } = props;
|
|
5890
|
-
return /* @__PURE__ */ (0,
|
|
6062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_Box4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5891
6063
|
import_x_data_grid2.DataGrid,
|
|
5892
6064
|
{
|
|
5893
6065
|
rowHeight: 64,
|
|
@@ -5936,9 +6108,9 @@ var import_FormHelperText = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
|
5936
6108
|
// src/components/Upload/components/Placeholder.tsx
|
|
5937
6109
|
var import_Stack2 = __toESM(require("@mui/material/Stack"), 1);
|
|
5938
6110
|
var import_Box5 = __toESM(require("@mui/material/Box"), 1);
|
|
5939
|
-
var
|
|
6111
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5940
6112
|
var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
5941
|
-
return /* @__PURE__ */ (0,
|
|
6113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
5942
6114
|
import_Box5.default,
|
|
5943
6115
|
{
|
|
5944
6116
|
sx: {
|
|
@@ -5949,7 +6121,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5949
6121
|
},
|
|
5950
6122
|
...rest,
|
|
5951
6123
|
children: [
|
|
5952
|
-
/* @__PURE__ */ (0,
|
|
6124
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5953
6125
|
Icon,
|
|
5954
6126
|
{
|
|
5955
6127
|
icon: "CloudUpload",
|
|
@@ -5960,10 +6132,10 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5960
6132
|
}
|
|
5961
6133
|
}
|
|
5962
6134
|
),
|
|
5963
|
-
/* @__PURE__ */ (0,
|
|
5964
|
-
/* @__PURE__ */ (0,
|
|
6135
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_Stack2.default, { spacing: 1, sx: { textAlign: "center", mt: 2 }, children: [
|
|
6136
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_Box5.default, { sx: { typography: "h8" }, children: [
|
|
5965
6137
|
"Drag files here or",
|
|
5966
|
-
/* @__PURE__ */ (0,
|
|
6138
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5967
6139
|
import_Box5.default,
|
|
5968
6140
|
{
|
|
5969
6141
|
component: "span",
|
|
@@ -5976,7 +6148,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5976
6148
|
}
|
|
5977
6149
|
)
|
|
5978
6150
|
] }),
|
|
5979
|
-
/* @__PURE__ */ (0,
|
|
6151
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
5980
6152
|
import_Box5.default,
|
|
5981
6153
|
{
|
|
5982
6154
|
sx: {
|
|
@@ -6031,12 +6203,12 @@ var fileData = (file) => {
|
|
|
6031
6203
|
};
|
|
6032
6204
|
|
|
6033
6205
|
// src/components/Upload/components/RejectionFiles.tsx
|
|
6034
|
-
var
|
|
6206
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
6035
6207
|
var RejectionFiles = ({ files }) => {
|
|
6036
6208
|
if (!files.length) {
|
|
6037
6209
|
return null;
|
|
6038
6210
|
}
|
|
6039
|
-
return /* @__PURE__ */ (0,
|
|
6211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
6040
6212
|
import_Paper2.default,
|
|
6041
6213
|
{
|
|
6042
6214
|
variant: "outlined",
|
|
@@ -6051,13 +6223,13 @@ var RejectionFiles = ({ files }) => {
|
|
|
6051
6223
|
},
|
|
6052
6224
|
children: files.map(({ file, errors }) => {
|
|
6053
6225
|
const { path, size } = fileData(file);
|
|
6054
|
-
return /* @__PURE__ */ (0,
|
|
6055
|
-
/* @__PURE__ */ (0,
|
|
6226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Box6.default, { sx: { my: 1 }, children: [
|
|
6227
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Typography3.default, { variant: "subtitle2", noWrap: true, children: [
|
|
6056
6228
|
path,
|
|
6057
6229
|
" - ",
|
|
6058
6230
|
size ? fData(size) : ""
|
|
6059
6231
|
] }),
|
|
6060
|
-
errors.map((error2) => /* @__PURE__ */ (0,
|
|
6232
|
+
errors.map((error2) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Box6.default, { component: "span", sx: { typography: "caption" }, children: [
|
|
6061
6233
|
"- ",
|
|
6062
6234
|
error2.message
|
|
6063
6235
|
] }, error2.code))
|
|
@@ -6070,9 +6242,9 @@ var RejectionFiles = ({ files }) => {
|
|
|
6070
6242
|
// src/components/Upload/components/UploadProgress.tsx
|
|
6071
6243
|
var import_Box7 = __toESM(require("@mui/material/Box"), 1);
|
|
6072
6244
|
var import_CircularProgress2 = __toESM(require("@mui/material/CircularProgress"), 1);
|
|
6073
|
-
var
|
|
6245
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
6074
6246
|
var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
6075
|
-
return /* @__PURE__ */ (0,
|
|
6247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
6076
6248
|
import_Box7.default,
|
|
6077
6249
|
{
|
|
6078
6250
|
sx: {
|
|
@@ -6083,8 +6255,8 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6083
6255
|
height: "100%"
|
|
6084
6256
|
},
|
|
6085
6257
|
children: [
|
|
6086
|
-
/* @__PURE__ */ (0,
|
|
6087
|
-
/* @__PURE__ */ (0,
|
|
6258
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_Box7.default, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
6259
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6088
6260
|
import_CircularProgress2.default,
|
|
6089
6261
|
{
|
|
6090
6262
|
variant: "determinate",
|
|
@@ -6097,7 +6269,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6097
6269
|
}
|
|
6098
6270
|
}
|
|
6099
6271
|
),
|
|
6100
|
-
/* @__PURE__ */ (0,
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6101
6273
|
import_CircularProgress2.default,
|
|
6102
6274
|
{
|
|
6103
6275
|
variant: "determinate",
|
|
@@ -6109,7 +6281,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6109
6281
|
}
|
|
6110
6282
|
}
|
|
6111
6283
|
),
|
|
6112
|
-
/* @__PURE__ */ (0,
|
|
6284
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6113
6285
|
import_Box7.default,
|
|
6114
6286
|
{
|
|
6115
6287
|
sx: {
|
|
@@ -6122,29 +6294,29 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6122
6294
|
alignItems: "center",
|
|
6123
6295
|
justifyContent: "center"
|
|
6124
6296
|
},
|
|
6125
|
-
children: /* @__PURE__ */ (0,
|
|
6297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Box7.default, { sx: { typography: "h6", color: "common.black" }, children: `${Math.round(progress2)}` })
|
|
6126
6298
|
}
|
|
6127
6299
|
)
|
|
6128
6300
|
] }),
|
|
6129
|
-
/* @__PURE__ */ (0,
|
|
6301
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Box7.default, { sx: { mt: 2, typography: "h6" }, children: "Uploading" })
|
|
6130
6302
|
]
|
|
6131
6303
|
}
|
|
6132
6304
|
);
|
|
6133
6305
|
};
|
|
6134
6306
|
|
|
6135
6307
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
6136
|
-
var
|
|
6308
|
+
var import_react11 = require("react");
|
|
6137
6309
|
var import_Box9 = __toESM(require("@mui/material/Box"), 1);
|
|
6138
6310
|
var import_IconButton3 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6139
6311
|
|
|
6140
6312
|
// src/components/Upload/components/SingleFilePreview.tsx
|
|
6141
6313
|
var import_Box8 = __toESM(require("@mui/material/Box"), 1);
|
|
6142
6314
|
var import_IconButton2 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6143
|
-
var
|
|
6315
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
6144
6316
|
var SingleFilePreview = ({ file }) => {
|
|
6145
6317
|
const fileName = typeof file === "string" ? file : file.name;
|
|
6146
6318
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
6147
|
-
const renderImg = /* @__PURE__ */ (0,
|
|
6319
|
+
const renderImg = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6148
6320
|
import_Box8.default,
|
|
6149
6321
|
{
|
|
6150
6322
|
component: "img",
|
|
@@ -6158,7 +6330,7 @@ var SingleFilePreview = ({ file }) => {
|
|
|
6158
6330
|
}
|
|
6159
6331
|
}
|
|
6160
6332
|
);
|
|
6161
|
-
return /* @__PURE__ */ (0,
|
|
6333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6162
6334
|
import_Box8.default,
|
|
6163
6335
|
{
|
|
6164
6336
|
sx: {
|
|
@@ -6174,7 +6346,7 @@ var SingleFilePreview = ({ file }) => {
|
|
|
6174
6346
|
);
|
|
6175
6347
|
};
|
|
6176
6348
|
var DeleteButton = ({ sx, ...rest }) => {
|
|
6177
|
-
return /* @__PURE__ */ (0,
|
|
6349
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6178
6350
|
import_IconButton2.default,
|
|
6179
6351
|
{
|
|
6180
6352
|
size: "small",
|
|
@@ -6193,15 +6365,15 @@ var DeleteButton = ({ sx, ...rest }) => {
|
|
|
6193
6365
|
...sx
|
|
6194
6366
|
},
|
|
6195
6367
|
...rest,
|
|
6196
|
-
children: /* @__PURE__ */ (0,
|
|
6368
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: "XMark", sx: { width: 18, height: 18 } })
|
|
6197
6369
|
}
|
|
6198
6370
|
);
|
|
6199
6371
|
};
|
|
6200
6372
|
|
|
6201
6373
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
6202
|
-
var
|
|
6374
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
6203
6375
|
var MultiFilePreview = ({ files, onRemove }) => {
|
|
6204
|
-
const scrollRef = (0,
|
|
6376
|
+
const scrollRef = (0, import_react11.useRef)(null);
|
|
6205
6377
|
const handleScroll = (direction) => {
|
|
6206
6378
|
if (scrollRef.current) {
|
|
6207
6379
|
const scrollAmount = 300;
|
|
@@ -6213,8 +6385,8 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6213
6385
|
}
|
|
6214
6386
|
};
|
|
6215
6387
|
const showNavigation = files.length > 2;
|
|
6216
|
-
return /* @__PURE__ */ (0,
|
|
6217
|
-
showNavigation && /* @__PURE__ */ (0,
|
|
6388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_Box9.default, { sx: { position: "relative", width: 1 }, children: [
|
|
6389
|
+
showNavigation && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6218
6390
|
import_IconButton3.default,
|
|
6219
6391
|
{
|
|
6220
6392
|
size: "small",
|
|
@@ -6231,10 +6403,10 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6231
6403
|
bgcolor: (theme) => varAlpha(theme.vars.palette.common.whiteChannel, 1)
|
|
6232
6404
|
}
|
|
6233
6405
|
},
|
|
6234
|
-
children: /* @__PURE__ */ (0,
|
|
6406
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: "NavArrowLeft", width: 20 })
|
|
6235
6407
|
}
|
|
6236
6408
|
),
|
|
6237
|
-
/* @__PURE__ */ (0,
|
|
6409
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6238
6410
|
import_Box9.default,
|
|
6239
6411
|
{
|
|
6240
6412
|
ref: scrollRef,
|
|
@@ -6253,7 +6425,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6253
6425
|
children: files.map((file, index) => {
|
|
6254
6426
|
const fileName = typeof file === "string" ? file : file.name;
|
|
6255
6427
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
6256
|
-
return /* @__PURE__ */ (0,
|
|
6428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6257
6429
|
import_Box9.default,
|
|
6258
6430
|
{
|
|
6259
6431
|
sx: {
|
|
@@ -6265,7 +6437,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6265
6437
|
flexShrink: 0
|
|
6266
6438
|
},
|
|
6267
6439
|
children: [
|
|
6268
|
-
/* @__PURE__ */ (0,
|
|
6440
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6269
6441
|
import_Box9.default,
|
|
6270
6442
|
{
|
|
6271
6443
|
component: "img",
|
|
@@ -6279,7 +6451,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6279
6451
|
}
|
|
6280
6452
|
}
|
|
6281
6453
|
),
|
|
6282
|
-
onRemove && /* @__PURE__ */ (0,
|
|
6454
|
+
onRemove && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6283
6455
|
DeleteButton,
|
|
6284
6456
|
{
|
|
6285
6457
|
onClick: (e) => {
|
|
@@ -6295,7 +6467,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6295
6467
|
})
|
|
6296
6468
|
}
|
|
6297
6469
|
),
|
|
6298
|
-
showNavigation && /* @__PURE__ */ (0,
|
|
6470
|
+
showNavigation && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6299
6471
|
import_IconButton3.default,
|
|
6300
6472
|
{
|
|
6301
6473
|
size: "small",
|
|
@@ -6312,14 +6484,14 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6312
6484
|
bgcolor: (theme) => varAlpha(theme.vars.palette.common.whiteChannel, 1)
|
|
6313
6485
|
}
|
|
6314
6486
|
},
|
|
6315
|
-
children: /* @__PURE__ */ (0,
|
|
6487
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: "NavArrowRight", width: 20 })
|
|
6316
6488
|
}
|
|
6317
6489
|
)
|
|
6318
6490
|
] });
|
|
6319
6491
|
};
|
|
6320
6492
|
|
|
6321
6493
|
// src/components/Upload/Upload.tsx
|
|
6322
|
-
var
|
|
6494
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
6323
6495
|
var Upload = ({
|
|
6324
6496
|
sx,
|
|
6325
6497
|
value,
|
|
@@ -6346,19 +6518,19 @@ var Upload = ({
|
|
|
6346
6518
|
const hasError = isDragReject || !!error2;
|
|
6347
6519
|
const renderContent = () => {
|
|
6348
6520
|
if (isUploading) {
|
|
6349
|
-
return /* @__PURE__ */ (0,
|
|
6521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(UploadProgress, { progress: uploadProgress });
|
|
6350
6522
|
}
|
|
6351
6523
|
if (hasFile) {
|
|
6352
|
-
return /* @__PURE__ */ (0,
|
|
6524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SingleFilePreview, { file: value });
|
|
6353
6525
|
}
|
|
6354
6526
|
if (hasFiles) {
|
|
6355
|
-
return /* @__PURE__ */ (0,
|
|
6527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(MultiFilePreview, { files: value, onRemove });
|
|
6356
6528
|
}
|
|
6357
|
-
return /* @__PURE__ */ (0,
|
|
6529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(UploadPlaceholder, { hasError });
|
|
6358
6530
|
};
|
|
6359
6531
|
const shouldShowDropzone = !hasFile && !hasFiles && !isUploading;
|
|
6360
|
-
return /* @__PURE__ */ (0,
|
|
6361
|
-
/* @__PURE__ */ (0,
|
|
6532
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_Box10.default, { sx: { width: 1, position: "relative", ...sx }, children: [
|
|
6533
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
6362
6534
|
import_Box10.default,
|
|
6363
6535
|
{
|
|
6364
6536
|
...shouldShowDropzone ? getRootProps() : {},
|
|
@@ -6397,51 +6569,51 @@ var Upload = ({
|
|
|
6397
6569
|
}
|
|
6398
6570
|
},
|
|
6399
6571
|
children: [
|
|
6400
|
-
shouldShowDropzone && /* @__PURE__ */ (0,
|
|
6572
|
+
shouldShowDropzone && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("input", { ...getInputProps() }),
|
|
6401
6573
|
renderContent()
|
|
6402
6574
|
]
|
|
6403
6575
|
}
|
|
6404
6576
|
),
|
|
6405
|
-
hasFile && !isUploading && /* @__PURE__ */ (0,
|
|
6406
|
-
hasFiles && /* @__PURE__ */ (0,
|
|
6407
|
-
onRemoveAll && /* @__PURE__ */ (0,
|
|
6577
|
+
hasFile && !isUploading && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DeleteButton, { onClick: onDelete }),
|
|
6578
|
+
hasFiles && /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_Stack3.default, { direction: "row", spacing: 2, sx: { mt: 2 }, children: [
|
|
6579
|
+
onRemoveAll && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6408
6580
|
import_Button3.default,
|
|
6409
6581
|
{
|
|
6410
6582
|
variant: "outlined",
|
|
6411
6583
|
color: "inherit",
|
|
6412
6584
|
size: "small",
|
|
6413
6585
|
onClick: onRemoveAll,
|
|
6414
|
-
startIcon: /* @__PURE__ */ (0,
|
|
6586
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "Trash", sx: { width: 14, height: 14 } }),
|
|
6415
6587
|
children: "Remove all"
|
|
6416
6588
|
}
|
|
6417
6589
|
),
|
|
6418
|
-
onUpload && /* @__PURE__ */ (0,
|
|
6590
|
+
onUpload && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6419
6591
|
import_Button3.default,
|
|
6420
6592
|
{
|
|
6421
6593
|
variant: "contained",
|
|
6422
6594
|
size: "small",
|
|
6423
6595
|
onClick: onUpload,
|
|
6424
|
-
startIcon: /* @__PURE__ */ (0,
|
|
6596
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "CloudUpload", sx: { width: 14, height: 14 } }),
|
|
6425
6597
|
children: "Upload files"
|
|
6426
6598
|
}
|
|
6427
6599
|
)
|
|
6428
6600
|
] }),
|
|
6429
|
-
helperText && /* @__PURE__ */ (0,
|
|
6430
|
-
/* @__PURE__ */ (0,
|
|
6601
|
+
helperText && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_FormHelperText.default, { error: !!error2, sx: { color: "text.body", fontWeight: 500, mt: 1 }, children: helperText }),
|
|
6602
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RejectionFiles, { files: [...fileRejections] })
|
|
6431
6603
|
] });
|
|
6432
6604
|
};
|
|
6433
6605
|
|
|
6434
6606
|
// src/components/HookForm/Form.tsx
|
|
6435
6607
|
var import_react_hook_form = require("react-hook-form");
|
|
6436
6608
|
var import_Box11 = __toESM(require("@mui/material/Box"), 1);
|
|
6437
|
-
var
|
|
6609
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6438
6610
|
var Form = ({
|
|
6439
6611
|
children,
|
|
6440
6612
|
onSubmit,
|
|
6441
6613
|
methods,
|
|
6442
6614
|
...rest
|
|
6443
6615
|
}) => {
|
|
6444
|
-
return /* @__PURE__ */ (0,
|
|
6616
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_hook_form.FormProvider, { ...methods, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
6445
6617
|
import_Box11.default,
|
|
6446
6618
|
{
|
|
6447
6619
|
component: "form",
|
|
@@ -6470,7 +6642,7 @@ var import_FormLabel = __toESM(require("@mui/material/FormLabel"), 1);
|
|
|
6470
6642
|
var import_FormControl = __toESM(require("@mui/material/FormControl"), 1);
|
|
6471
6643
|
var import_FormHelperText2 = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
6472
6644
|
var import_FormControlLabel2 = __toESM(require("@mui/material/FormControlLabel"), 1);
|
|
6473
|
-
var
|
|
6645
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6474
6646
|
var RHFSwitch = ({
|
|
6475
6647
|
name,
|
|
6476
6648
|
description,
|
|
@@ -6482,16 +6654,16 @@ var RHFSwitch = ({
|
|
|
6482
6654
|
}) => {
|
|
6483
6655
|
const { control } = (0, import_react_hook_form2.useFormContext)();
|
|
6484
6656
|
const baseAriaLabel = `Switch ${name}`;
|
|
6485
|
-
return /* @__PURE__ */ (0,
|
|
6657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6486
6658
|
import_react_hook_form2.Controller,
|
|
6487
6659
|
{
|
|
6488
6660
|
name,
|
|
6489
6661
|
control,
|
|
6490
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6491
|
-
/* @__PURE__ */ (0,
|
|
6662
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box12.default, { sx: slotProps?.wrap, children: [
|
|
6663
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6492
6664
|
import_FormControlLabel2.default,
|
|
6493
6665
|
{
|
|
6494
|
-
control: /* @__PURE__ */ (0,
|
|
6666
|
+
control: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6495
6667
|
import_Switch2.default,
|
|
6496
6668
|
{
|
|
6497
6669
|
...field,
|
|
@@ -6506,9 +6678,9 @@ var RHFSwitch = ({
|
|
|
6506
6678
|
}
|
|
6507
6679
|
}
|
|
6508
6680
|
),
|
|
6509
|
-
label: /* @__PURE__ */ (0,
|
|
6510
|
-
/* @__PURE__ */ (0,
|
|
6511
|
-
description && /* @__PURE__ */ (0,
|
|
6681
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Stack4.default, { children: [
|
|
6682
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
6683
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { variant: "body2", color: "textBody", children: description })
|
|
6512
6684
|
] }),
|
|
6513
6685
|
sx: {
|
|
6514
6686
|
alignItems: description ? "flex-start" : "center",
|
|
@@ -6517,7 +6689,7 @@ var RHFSwitch = ({
|
|
|
6517
6689
|
...other
|
|
6518
6690
|
}
|
|
6519
6691
|
),
|
|
6520
|
-
(!!error2 || helperText) && /* @__PURE__ */ (0,
|
|
6692
|
+
(!!error2 || helperText) && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6521
6693
|
import_FormHelperText2.default,
|
|
6522
6694
|
{
|
|
6523
6695
|
error: !!error2,
|
|
@@ -6540,19 +6712,19 @@ var RHFMultiSwitch = ({
|
|
|
6540
6712
|
}) => {
|
|
6541
6713
|
const { control } = (0, import_react_hook_form2.useFormContext)();
|
|
6542
6714
|
const getSelected = (currentValues, optionValue) => currentValues.includes(optionValue) ? currentValues.filter((value) => value !== optionValue) : [...currentValues, optionValue];
|
|
6543
|
-
return /* @__PURE__ */ (0,
|
|
6715
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6544
6716
|
import_react_hook_form2.Controller,
|
|
6545
6717
|
{
|
|
6546
6718
|
name,
|
|
6547
6719
|
control,
|
|
6548
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6720
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
6549
6721
|
import_FormControl.default,
|
|
6550
6722
|
{
|
|
6551
6723
|
component: "fieldset",
|
|
6552
6724
|
sx: slotProps?.formControl?.sx,
|
|
6553
6725
|
...slotProps?.formControl,
|
|
6554
6726
|
children: [
|
|
6555
|
-
label && /* @__PURE__ */ (0,
|
|
6727
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6556
6728
|
import_FormLabel.default,
|
|
6557
6729
|
{
|
|
6558
6730
|
component: "legend",
|
|
@@ -6561,12 +6733,12 @@ var RHFMultiSwitch = ({
|
|
|
6561
6733
|
children: label
|
|
6562
6734
|
}
|
|
6563
6735
|
),
|
|
6564
|
-
/* @__PURE__ */ (0,
|
|
6736
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_FormGroup.default, { ...other, children: options.map((option) => {
|
|
6565
6737
|
const itemAriaLabel = option.label || `Option ${option.value}`;
|
|
6566
|
-
return /* @__PURE__ */ (0,
|
|
6738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6567
6739
|
import_FormControlLabel2.default,
|
|
6568
6740
|
{
|
|
6569
|
-
control: /* @__PURE__ */ (0,
|
|
6741
|
+
control: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6570
6742
|
import_Switch2.default,
|
|
6571
6743
|
{
|
|
6572
6744
|
checked: (field.value || []).includes(option.value),
|
|
@@ -6589,7 +6761,7 @@ var RHFMultiSwitch = ({
|
|
|
6589
6761
|
option.value
|
|
6590
6762
|
);
|
|
6591
6763
|
}) }),
|
|
6592
|
-
(!!error2 || helperText) && /* @__PURE__ */ (0,
|
|
6764
|
+
(!!error2 || helperText) && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_FormHelperText2.default, { error: !!error2, sx: { mx: 0 }, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6593
6765
|
]
|
|
6594
6766
|
}
|
|
6595
6767
|
)
|
|
@@ -6599,10 +6771,10 @@ var RHFMultiSwitch = ({
|
|
|
6599
6771
|
|
|
6600
6772
|
// src/components/HookForm/RHFUpload.tsx
|
|
6601
6773
|
var import_react_hook_form3 = require("react-hook-form");
|
|
6602
|
-
var
|
|
6774
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6603
6775
|
var RHFUpload = ({ name, multiple, helperText, ...rest }) => {
|
|
6604
6776
|
const { control, setValue } = (0, import_react_hook_form3.useFormContext)();
|
|
6605
|
-
return /* @__PURE__ */ (0,
|
|
6777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6606
6778
|
import_react_hook_form3.Controller,
|
|
6607
6779
|
{
|
|
6608
6780
|
name,
|
|
@@ -6630,7 +6802,7 @@ var RHFUpload = ({ name, multiple, helperText, ...rest }) => {
|
|
|
6630
6802
|
const onRemoveAll = () => {
|
|
6631
6803
|
setValue(name, [], { shouldValidate: true });
|
|
6632
6804
|
};
|
|
6633
|
-
return /* @__PURE__ */ (0,
|
|
6805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6634
6806
|
Upload,
|
|
6635
6807
|
{
|
|
6636
6808
|
multiple,
|
|
@@ -6655,16 +6827,16 @@ var import_react_hook_form4 = require("react-hook-form");
|
|
|
6655
6827
|
var import_IconButton4 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6656
6828
|
var import_InputAdornment2 = __toESM(require("@mui/material/InputAdornment"), 1);
|
|
6657
6829
|
var import_TextField2 = __toESM(require("@mui/material/TextField"), 1);
|
|
6658
|
-
var
|
|
6830
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6659
6831
|
var RHFTextField = ({ name, helperText, type, slotProps, ...rest }) => {
|
|
6660
6832
|
const { control } = (0, import_react_hook_form4.useFormContext)();
|
|
6661
6833
|
const passwordVisibility = useBoolean();
|
|
6662
|
-
return /* @__PURE__ */ (0,
|
|
6834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6663
6835
|
import_react_hook_form4.Controller,
|
|
6664
6836
|
{
|
|
6665
6837
|
name,
|
|
6666
6838
|
control,
|
|
6667
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6839
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6668
6840
|
import_TextField2.default,
|
|
6669
6841
|
{
|
|
6670
6842
|
...field,
|
|
@@ -6685,7 +6857,7 @@ var RHFTextField = ({ name, helperText, type, slotProps, ...rest }) => {
|
|
|
6685
6857
|
input: {
|
|
6686
6858
|
...slotProps?.input,
|
|
6687
6859
|
...type === "password" && {
|
|
6688
|
-
endAdornment: /* @__PURE__ */ (0,
|
|
6860
|
+
endAdornment: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_InputAdornment2.default, { position: "end", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_IconButton4.default, { edge: "end", onClick: passwordVisibility.onToggle, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6689
6861
|
Icon,
|
|
6690
6862
|
{
|
|
6691
6863
|
icon: passwordVisibility.value ? "EyeClosed" : "Eye",
|
|
@@ -6712,7 +6884,7 @@ var import_FormLabel2 = __toESM(require("@mui/material/FormLabel"), 1);
|
|
|
6712
6884
|
var import_RadioGroup = __toESM(require("@mui/material/RadioGroup"), 1);
|
|
6713
6885
|
var import_FormControl2 = __toESM(require("@mui/material/FormControl"), 1);
|
|
6714
6886
|
var import_FormHelperText3 = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
6715
|
-
var
|
|
6887
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6716
6888
|
var RHFRadioGroup = ({
|
|
6717
6889
|
name,
|
|
6718
6890
|
label,
|
|
@@ -6724,13 +6896,13 @@ var RHFRadioGroup = ({
|
|
|
6724
6896
|
const { control } = (0, import_react_hook_form5.useFormContext)();
|
|
6725
6897
|
const labelledby = `${name}-radio-buttons-group-label`;
|
|
6726
6898
|
const ariaLabel = (val) => `Radio ${val}`;
|
|
6727
|
-
return /* @__PURE__ */ (0,
|
|
6899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6728
6900
|
import_react_hook_form5.Controller,
|
|
6729
6901
|
{
|
|
6730
6902
|
name,
|
|
6731
6903
|
control,
|
|
6732
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6733
|
-
label && /* @__PURE__ */ (0,
|
|
6904
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_FormControl2.default, { component: "fieldset", sx: slotProps?.wrap, children: [
|
|
6905
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6734
6906
|
import_FormLabel2.default,
|
|
6735
6907
|
{
|
|
6736
6908
|
id: labelledby,
|
|
@@ -6740,11 +6912,11 @@ var RHFRadioGroup = ({
|
|
|
6740
6912
|
children: label
|
|
6741
6913
|
}
|
|
6742
6914
|
),
|
|
6743
|
-
/* @__PURE__ */ (0,
|
|
6915
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_RadioGroup.default, { ...field, "aria-labelledby": labelledby, ...other, children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6744
6916
|
import_FormControlLabel3.default,
|
|
6745
6917
|
{
|
|
6746
6918
|
value: option.value,
|
|
6747
|
-
control: /* @__PURE__ */ (0,
|
|
6919
|
+
control: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6748
6920
|
import_Radio2.default,
|
|
6749
6921
|
{
|
|
6750
6922
|
...slotProps?.radio,
|
|
@@ -6756,9 +6928,9 @@ var RHFRadioGroup = ({
|
|
|
6756
6928
|
}
|
|
6757
6929
|
}
|
|
6758
6930
|
),
|
|
6759
|
-
label: /* @__PURE__ */ (0,
|
|
6760
|
-
/* @__PURE__ */ (0,
|
|
6761
|
-
option?.description && /* @__PURE__ */ (0,
|
|
6931
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_Stack5.default, { children: [
|
|
6932
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography5.default, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
6933
|
+
option?.description && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography5.default, { variant: "body2", color: "textBody", children: option?.description })
|
|
6762
6934
|
] }),
|
|
6763
6935
|
sx: {
|
|
6764
6936
|
alignItems: option?.description ? "flex-start" : "center"
|
|
@@ -6766,7 +6938,7 @@ var RHFRadioGroup = ({
|
|
|
6766
6938
|
},
|
|
6767
6939
|
option.value
|
|
6768
6940
|
)) }),
|
|
6769
|
-
(!!error2 || helperText) && /* @__PURE__ */ (0,
|
|
6941
|
+
(!!error2 || helperText) && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_FormHelperText3.default, { error: !!error2, sx: { mx: 0 }, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6770
6942
|
] })
|
|
6771
6943
|
}
|
|
6772
6944
|
);
|
|
@@ -6776,7 +6948,7 @@ var RHFRadioGroup = ({
|
|
|
6776
6948
|
var import_react_hook_form6 = require("react-hook-form");
|
|
6777
6949
|
var import_TextField3 = __toESM(require("@mui/material/TextField"), 1);
|
|
6778
6950
|
var import_Autocomplete4 = __toESM(require("@mui/material/Autocomplete"), 1);
|
|
6779
|
-
var
|
|
6951
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6780
6952
|
var RHFAutocomplete = ({
|
|
6781
6953
|
name,
|
|
6782
6954
|
label,
|
|
@@ -6787,12 +6959,12 @@ var RHFAutocomplete = ({
|
|
|
6787
6959
|
...other
|
|
6788
6960
|
}) => {
|
|
6789
6961
|
const { control, setValue } = (0, import_react_hook_form6.useFormContext)();
|
|
6790
|
-
return /* @__PURE__ */ (0,
|
|
6962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6791
6963
|
import_react_hook_form6.Controller,
|
|
6792
6964
|
{
|
|
6793
6965
|
name,
|
|
6794
6966
|
control,
|
|
6795
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6967
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6796
6968
|
import_Autocomplete4.default,
|
|
6797
6969
|
{
|
|
6798
6970
|
...field,
|
|
@@ -6801,7 +6973,7 @@ var RHFAutocomplete = ({
|
|
|
6801
6973
|
setValue(name, newValue, { shouldValidate: true });
|
|
6802
6974
|
handleChange?.(newValue);
|
|
6803
6975
|
},
|
|
6804
|
-
renderInput: (params) => /* @__PURE__ */ (0,
|
|
6976
|
+
renderInput: (params) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6805
6977
|
import_TextField3.default,
|
|
6806
6978
|
{
|
|
6807
6979
|
label,
|
|
@@ -6830,7 +7002,7 @@ var import_FormLabel3 = __toESM(require("@mui/material/FormLabel"), 1);
|
|
|
6830
7002
|
var import_FormControl3 = __toESM(require("@mui/material/FormControl"), 1);
|
|
6831
7003
|
var import_FormHelperText4 = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
6832
7004
|
var import_FormControlLabel4 = __toESM(require("@mui/material/FormControlLabel"), 1);
|
|
6833
|
-
var
|
|
7005
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6834
7006
|
var RHFCheckbox = ({
|
|
6835
7007
|
name,
|
|
6836
7008
|
description,
|
|
@@ -6842,16 +7014,16 @@ var RHFCheckbox = ({
|
|
|
6842
7014
|
}) => {
|
|
6843
7015
|
const { control } = (0, import_react_hook_form7.useFormContext)();
|
|
6844
7016
|
const baseAriaLabel = `Checkbox for ${name}`;
|
|
6845
|
-
return /* @__PURE__ */ (0,
|
|
7017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6846
7018
|
import_react_hook_form7.Controller,
|
|
6847
7019
|
{
|
|
6848
7020
|
name,
|
|
6849
7021
|
control,
|
|
6850
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
6851
|
-
/* @__PURE__ */ (0,
|
|
7022
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_Box13.default, { sx: slotProps?.wrap, children: [
|
|
7023
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6852
7024
|
import_FormControlLabel4.default,
|
|
6853
7025
|
{
|
|
6854
|
-
control: /* @__PURE__ */ (0,
|
|
7026
|
+
control: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6855
7027
|
import_Checkbox3.default,
|
|
6856
7028
|
{
|
|
6857
7029
|
...field,
|
|
@@ -6866,9 +7038,9 @@ var RHFCheckbox = ({
|
|
|
6866
7038
|
}
|
|
6867
7039
|
}
|
|
6868
7040
|
),
|
|
6869
|
-
label: /* @__PURE__ */ (0,
|
|
6870
|
-
/* @__PURE__ */ (0,
|
|
6871
|
-
description && /* @__PURE__ */ (0,
|
|
7041
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_Stack6.default, { children: [
|
|
7042
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_Typography6.default, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
7043
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_Typography6.default, { variant: "body2", color: "textBody", children: description })
|
|
6872
7044
|
] }),
|
|
6873
7045
|
sx: {
|
|
6874
7046
|
alignItems: description ? "flex-start" : "center",
|
|
@@ -6877,7 +7049,7 @@ var RHFCheckbox = ({
|
|
|
6877
7049
|
...other
|
|
6878
7050
|
}
|
|
6879
7051
|
),
|
|
6880
|
-
(!!error2 || helperText) && /* @__PURE__ */ (0,
|
|
7052
|
+
(!!error2 || helperText) && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_FormHelperText4.default, { error: !!error2, ...slotProps?.formHelperText, children: error2 ? error2?.message : helperText })
|
|
6881
7053
|
] })
|
|
6882
7054
|
}
|
|
6883
7055
|
);
|
|
@@ -6893,13 +7065,13 @@ var RHFMultiCheckbox = ({
|
|
|
6893
7065
|
}) => {
|
|
6894
7066
|
const { control } = (0, import_react_hook_form7.useFormContext)();
|
|
6895
7067
|
const getSelected = (currentValues, optionValue) => currentValues.includes(optionValue) ? currentValues.filter((value) => value !== optionValue) : [...currentValues, optionValue];
|
|
6896
|
-
return /* @__PURE__ */ (0,
|
|
7068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6897
7069
|
import_react_hook_form7.Controller,
|
|
6898
7070
|
{
|
|
6899
7071
|
name,
|
|
6900
7072
|
control,
|
|
6901
7073
|
defaultValue: [],
|
|
6902
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0,
|
|
7074
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
6903
7075
|
import_FormControl3.default,
|
|
6904
7076
|
{
|
|
6905
7077
|
component: "fieldset",
|
|
@@ -6907,7 +7079,7 @@ var RHFMultiCheckbox = ({
|
|
|
6907
7079
|
sx: slotProps?.formControl?.sx,
|
|
6908
7080
|
...slotProps?.formControl,
|
|
6909
7081
|
children: [
|
|
6910
|
-
label && /* @__PURE__ */ (0,
|
|
7082
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6911
7083
|
import_FormLabel3.default,
|
|
6912
7084
|
{
|
|
6913
7085
|
component: "legend",
|
|
@@ -6916,12 +7088,12 @@ var RHFMultiCheckbox = ({
|
|
|
6916
7088
|
children: label
|
|
6917
7089
|
}
|
|
6918
7090
|
),
|
|
6919
|
-
/* @__PURE__ */ (0,
|
|
7091
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_FormGroup2.default, { row, ...other, children: options.map((option) => {
|
|
6920
7092
|
const itemAriaLabel = option.label || `Option ${option.value}`;
|
|
6921
|
-
return /* @__PURE__ */ (0,
|
|
7093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6922
7094
|
import_FormControlLabel4.default,
|
|
6923
7095
|
{
|
|
6924
|
-
control: /* @__PURE__ */ (0,
|
|
7096
|
+
control: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6925
7097
|
import_Checkbox3.default,
|
|
6926
7098
|
{
|
|
6927
7099
|
checked: (field.value || []).includes(option.value),
|
|
@@ -6939,9 +7111,9 @@ var RHFMultiCheckbox = ({
|
|
|
6939
7111
|
}
|
|
6940
7112
|
}
|
|
6941
7113
|
),
|
|
6942
|
-
label: /* @__PURE__ */ (0,
|
|
6943
|
-
/* @__PURE__ */ (0,
|
|
6944
|
-
option?.description && /* @__PURE__ */ (0,
|
|
7114
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_Stack6.default, { children: [
|
|
7115
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_Typography6.default, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
7116
|
+
option?.description && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_Typography6.default, { variant: "body2", color: "textBody", children: option?.description })
|
|
6945
7117
|
] }),
|
|
6946
7118
|
sx: {
|
|
6947
7119
|
alignItems: option?.description ? "flex-start" : "center"
|
|
@@ -6950,7 +7122,7 @@ var RHFMultiCheckbox = ({
|
|
|
6950
7122
|
option.value
|
|
6951
7123
|
);
|
|
6952
7124
|
}) }),
|
|
6953
|
-
(!!error2 || helperText) && /* @__PURE__ */ (0,
|
|
7125
|
+
(!!error2 || helperText) && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6954
7126
|
import_FormHelperText4.default,
|
|
6955
7127
|
{
|
|
6956
7128
|
sx: { mx: 0, ...slotProps?.formHelperText?.sx },
|
|
@@ -6979,17 +7151,17 @@ var Field = {
|
|
|
6979
7151
|
// src/components/CopyButton/index.tsx
|
|
6980
7152
|
var import_Tooltip2 = __toESM(require("@mui/material/Tooltip"), 1);
|
|
6981
7153
|
var import_IconButton5 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6982
|
-
var
|
|
7154
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6983
7155
|
var CopyButton = ({ text: text2, size = "small" }) => {
|
|
6984
7156
|
const { copy, isCopied } = useCopyToClipboard();
|
|
6985
|
-
return /* @__PURE__ */ (0,
|
|
7157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_Tooltip2.default, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
6986
7158
|
import_IconButton5.default,
|
|
6987
7159
|
{
|
|
6988
7160
|
size,
|
|
6989
7161
|
onClick: () => copy(text2),
|
|
6990
7162
|
"aria-label": "copy token",
|
|
6991
7163
|
sx: { color: "icon.black" },
|
|
6992
|
-
children: /* @__PURE__ */ (0,
|
|
7164
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
|
|
6993
7165
|
}
|
|
6994
7166
|
) });
|
|
6995
7167
|
};
|
|
@@ -6998,9 +7170,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
6998
7170
|
var import_Portal = __toESM(require("@mui/material/Portal"), 1);
|
|
6999
7171
|
var import_Box14 = __toESM(require("@mui/material/Box"), 1);
|
|
7000
7172
|
var import_LinearProgress = __toESM(require("@mui/material/LinearProgress"), 1);
|
|
7001
|
-
var
|
|
7173
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
7002
7174
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
7003
|
-
const content = /* @__PURE__ */ (0,
|
|
7175
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
7004
7176
|
import_Box14.default,
|
|
7005
7177
|
{
|
|
7006
7178
|
sx: {
|
|
@@ -7014,16 +7186,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
7014
7186
|
...sx
|
|
7015
7187
|
},
|
|
7016
7188
|
...rest,
|
|
7017
|
-
children: /* @__PURE__ */ (0,
|
|
7189
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_LinearProgress.default, { color: "primary", sx: { width: 1, maxWidth: 360 } })
|
|
7018
7190
|
}
|
|
7019
7191
|
);
|
|
7020
7192
|
if (portal) {
|
|
7021
|
-
return /* @__PURE__ */ (0,
|
|
7193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_Portal.default, { children: content });
|
|
7022
7194
|
}
|
|
7023
7195
|
return content;
|
|
7024
7196
|
};
|
|
7025
7197
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
7026
|
-
const content = /* @__PURE__ */ (0,
|
|
7198
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
7027
7199
|
import_Box14.default,
|
|
7028
7200
|
{
|
|
7029
7201
|
sx: {
|
|
@@ -7040,17 +7212,18 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7040
7212
|
...sx
|
|
7041
7213
|
},
|
|
7042
7214
|
...rest,
|
|
7043
|
-
children: /* @__PURE__ */ (0,
|
|
7215
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AnimatedLogo, {})
|
|
7044
7216
|
}
|
|
7045
7217
|
);
|
|
7046
7218
|
if (portal) {
|
|
7047
|
-
return /* @__PURE__ */ (0,
|
|
7219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_Portal.default, { children: content });
|
|
7048
7220
|
}
|
|
7049
7221
|
return content;
|
|
7050
7222
|
};
|
|
7051
7223
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7052
7224
|
0 && (module.exports = {
|
|
7053
7225
|
AnimatedLogo,
|
|
7226
|
+
BellNotification,
|
|
7054
7227
|
CheckboxDefault,
|
|
7055
7228
|
CheckboxIndeterminate,
|
|
7056
7229
|
CheckboxSelect,
|
|
@@ -7065,6 +7238,7 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7065
7238
|
Icon,
|
|
7066
7239
|
InfoCircleFill,
|
|
7067
7240
|
InfoCircleOutline,
|
|
7241
|
+
KeyCommand,
|
|
7068
7242
|
Loader,
|
|
7069
7243
|
LoadingScreen,
|
|
7070
7244
|
LocalStorageAvailable,
|
|
@@ -7086,6 +7260,7 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7086
7260
|
RadioSelect,
|
|
7087
7261
|
STORAGE_KEY,
|
|
7088
7262
|
Search,
|
|
7263
|
+
Settings,
|
|
7089
7264
|
SettingsConsumer,
|
|
7090
7265
|
SettingsContext,
|
|
7091
7266
|
SettingsProvider,
|
|
@@ -7171,6 +7346,7 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7171
7346
|
useCopyToClipboard,
|
|
7172
7347
|
useEventListener,
|
|
7173
7348
|
useLocalStorage,
|
|
7349
|
+
usePopover,
|
|
7174
7350
|
useResponsive,
|
|
7175
7351
|
useScrollOffSetTop,
|
|
7176
7352
|
useSetState,
|