@m4l/components 0.1.12 → 0.1.13
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/assets/Logo/index.228dcb5a.js +86 -0
- package/commonjs.565e6834.js +12 -0
- package/components/CommonActions/components/ActionCancel/index.cba1b460.js +17 -0
- package/components/CommonActions/components/ActionFormCancel/index.be2fe891.js +49 -0
- package/components/CommonActions/components/ActionFormIntro/index.ca4d2674.js +31 -0
- package/components/CommonActions/components/ActionIntro/index.cc4b1e0e.js +18 -0
- package/components/CommonActions/components/Actions/index.e8148d98.js +743 -0
- package/components/CompanyLogo/{index.js → index.f81c179c.js} +42 -48
- package/components/DataGrid/index.b688877d.js +894 -0
- package/components/DynamicFilter/index.82ce857e.js +1158 -0
- package/components/ErrorLabel/index.c8615f16.js +19 -0
- package/components/Icon/index.cbca79b0.js +70 -0
- package/components/Image/index.e790b50b.js +122 -0
- package/components/LanguagePopover/index.3d9611cb.js +87 -0
- package/components/Loadable/index.f5518558.js +15 -0
- package/components/ModalDialog/index.3850c053.js +168 -0
- package/components/NoItemSelected/{index.js → index.12f0ca67.js} +43 -50
- package/components/ObjectLogs/index.27ef875d.js +266 -0
- package/components/Page/index.6d69977e.js +35 -0
- package/components/Page/index.d.ts +1 -1
- package/components/PaperForm/index.d7c74064.js +105 -0
- package/components/Period/index.5e68286a.js +160 -0
- package/components/PropertyValue/index.ab3dd7e9.js +116 -0
- package/components/Resizeable/{index.js → index.45995d2b.js} +21 -19
- package/components/ScrollBar/index.39eeb2de.js +49 -0
- package/components/ScrollToTop/index.e06f98f6.js +11 -0
- package/components/SplitLayout/{index.js → index.4032673d.js} +35 -35
- package/components/animate/IconButtonAnimate/index.d.ts +1 -1
- package/components/animate/LoadingScreen/{index.js → index.f1cec7db.js} +29 -27
- package/components/animate/MotionContainer/index.8d9f9d80.js +30 -0
- package/components/animate/MotionLazyContainer/index.572dd012.js +15 -0
- package/components/animate/features.0fbf41e1.js +5 -0
- package/components/animate/variants/{bounce.js → bounce.784aaaaa.js} +15 -16
- package/components/animate/variants/container.11f82b76.js +20 -0
- package/components/animate/variants/fade.b561c0fc.js +59 -0
- package/components/animate/variants/{index.js → index.7a912140.js} +0 -0
- package/components/animate/variants/transition.bd46b9ce.js +15 -0
- package/components/formatters/BooleanFormatter/index.cca53b7f.js +42 -0
- package/components/formatters/DateFormatter/index.ad8d9b8e.js +57 -0
- package/components/formatters/index.55856d65.js +106 -0
- package/components/hook-form/FormProvider/index.257acd9f.js +55 -0
- package/components/hook-form/RHFAutocomplete/index.6ed76d4c.js +122 -0
- package/components/hook-form/RHFAutocompleteAsync/index.8f2c97ea.js +153 -0
- package/components/hook-form/RHFCheckbox/index.f9ce6c39.js +59 -0
- package/components/hook-form/RHFDateTime/index.fc5cbafe.js +68 -0
- package/components/hook-form/RHFMultiCheckbox/index.2680b3b6.js +34 -0
- package/components/hook-form/RHFPeriod/index.23c254e9.js +45 -0
- package/components/hook-form/RHFRadioGroup/index.b3335e13.js +43 -0
- package/components/hook-form/RHFSelect/index.b6ca8bb2.js +36 -0
- package/components/hook-form/RHFTextField/index.4c455f75.js +77 -0
- package/components/hook-form/RHFTextField/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/index.ed3d739f.js +244 -0
- package/components/mui_extended/Accordion/index.2116e423.js +103 -0
- package/components/mui_extended/Avatar/index.0a2a4523.js +32 -0
- package/components/mui_extended/Avatar/index.d.ts +1 -1
- package/components/mui_extended/BoxIcon/index.e638ecc8.js +22 -0
- package/components/mui_extended/Breadcrumbs/index.5e37d903.js +89 -0
- package/components/mui_extended/Button/index.84d8898c.js +110 -0
- package/components/mui_extended/IconButton/index.88f3aadb.js +98 -0
- package/components/mui_extended/LinkWithRoute/index.d4b263de.js +28 -0
- package/components/mui_extended/MenuPopover/index.488fc536.js +131 -0
- package/components/mui_extended/Pager/index.0576814f.js +126 -0
- package/components/mui_extended/Tab/index.e0653a0a.js +28 -0
- package/components/mui_extended/Typography/index.0c4604b3.js +22 -0
- package/contexts/ModalContext/index.2188b69e.js +150 -0
- package/hooks/useFormAddEdit/index.d4845f1a.js +26 -0
- package/hooks/useModal/index.6571d2d9.js +6 -0
- package/index.js +162 -70
- package/lodash.e09401f0.js +32 -0
- package/node_modules.168cb897.js +55 -0
- package/package.json +1 -1
- package/react-data-grid.d46d625e.js +2115 -0
- package/react-draggable.20e95c61.js +714 -0
- package/react-json-view.f56a7f8e.js +2762 -0
- package/react-lazy-load-image-component.45b56650.js +784 -0
- package/react-resizable.5277deaf.js +371 -0
- package/react-splitter-layout.7810ac1b.js +165 -0
- package/utils/index.214d9542.js +435 -0
- package/assets/Logo/index.js +0 -91
- package/commonjs.js +0 -9
- package/components/CommonActions/components/ActionCancel/index.js +0 -15
- package/components/CommonActions/components/ActionFormCancel/index.js +0 -62
- package/components/CommonActions/components/ActionFormIntro/index.js +0 -35
- package/components/CommonActions/components/ActionIntro/index.js +0 -16
- package/components/CommonActions/components/Actions/index.js +0 -859
- package/components/DataGrid/index.js +0 -1067
- package/components/DynamicFilter/index.js +0 -1573
- package/components/ErrorLabel/index.js +0 -18
- package/components/Icon/index.js +0 -80
- package/components/Image/index.js +0 -128
- package/components/LanguagePopover/index.js +0 -93
- package/components/Loadable/index.js +0 -13
- package/components/ModalDialog/index.js +0 -180
- package/components/ObjectLogs/index.js +0 -284
- package/components/Page/index.js +0 -36
- package/components/PaperForm/index.js +0 -110
- package/components/Period/index.js +0 -230
- package/components/PropertyValue/index.js +0 -142
- package/components/ScrollBar/index.js +0 -52
- package/components/ScrollToTop/index.js +0 -10
- package/components/animate/MotionContainer/index.js +0 -31
- package/components/animate/MotionLazyContainer/index.js +0 -13
- package/components/animate/features.js +0 -2
- package/components/animate/variants/container.js +0 -20
- package/components/animate/variants/fade.js +0 -61
- package/components/animate/variants/transition.js +0 -16
- package/components/formatters/BooleanFormatter/index.js +0 -52
- package/components/formatters/DateFormatter/index.js +0 -66
- package/components/formatters/index.js +0 -112
- package/components/hook-form/FormProvider/index.js +0 -61
- package/components/hook-form/RHFAutocomplete/index.js +0 -144
- package/components/hook-form/RHFAutocompleteAsync/index.js +0 -191
- package/components/hook-form/RHFCheckbox/index.js +0 -65
- package/components/hook-form/RHFDateTime/index.js +0 -79
- package/components/hook-form/RHFMultiCheckbox/index.js +0 -32
- package/components/hook-form/RHFPeriod/index.js +0 -47
- package/components/hook-form/RHFRadioGroup/index.js +0 -41
- package/components/hook-form/RHFSelect/index.js +0 -34
- package/components/hook-form/RHFTextField/index.js +0 -87
- package/components/hook-form/RHFUpload/index.js +0 -255
- package/components/mui_extended/Accordion/index.js +0 -105
- package/components/mui_extended/Avatar/index.js +0 -33
- package/components/mui_extended/BoxIcon/index.js +0 -20
- package/components/mui_extended/Breadcrumbs/index.js +0 -92
- package/components/mui_extended/Button/index.js +0 -131
- package/components/mui_extended/IconButton/index.js +0 -108
- package/components/mui_extended/LinkWithRoute/index.js +0 -30
- package/components/mui_extended/MenuPopover/index.js +0 -135
- package/components/mui_extended/Pager/index.js +0 -137
- package/components/mui_extended/Tab/index.js +0 -30
- package/components/mui_extended/Typography/index.js +0 -21
- package/contexts/ModalContext/index.js +0 -165
- package/hooks/useFormAddEdit/index.js +0 -42
- package/hooks/useModal/index.js +0 -4
- package/lodash.js +0 -62
- package/node_modules.js +0 -54
- package/react-data-grid.js +0 -2652
- package/react-draggable.js +0 -960
- package/react-json-view.js +0 -2764
- package/react-lazy-load-image-component.js +0 -792
- package/react-resizable.js +0 -541
- package/react-splitter-layout.js +0 -165
- package/utils/index.js +0 -572
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { styled as p } from "@mui/material/styles";
|
|
2
|
+
import { Skeleton as g } from "@mui/material";
|
|
3
|
+
import { jsx as n, jsxs as f } from "react/jsx-runtime";
|
|
4
|
+
import { useResponsiveDesktop as c } from "@m4l/graphics";
|
|
5
|
+
import { useModuleSkeleton as h } from "@m4l/core";
|
|
6
|
+
const y = p("div", {
|
|
7
|
+
shouldForwardProp: (r) => r !== "propertyWidth" && r !== "propertyHeight" && r !== "isForm"
|
|
8
|
+
})(({
|
|
9
|
+
propertyWidth: r,
|
|
10
|
+
isForm: i,
|
|
11
|
+
theme: t
|
|
12
|
+
}) => ({
|
|
13
|
+
display: "grid",
|
|
14
|
+
gridTemplateColumns: "1fr",
|
|
15
|
+
alignItems: "flex-start",
|
|
16
|
+
width: "100%",
|
|
17
|
+
padding: `${t.spacing(1)} ${t.spacing(2)}`,
|
|
18
|
+
":hover": {
|
|
19
|
+
backgroundColor: i ? "unset" : t.palette.grid?.rowHover
|
|
20
|
+
},
|
|
21
|
+
borderBottom: i ? "none" : `1px solid ${t.palette.divider}`,
|
|
22
|
+
flexDirection: "column",
|
|
23
|
+
[t.breakpoints.up("sm")]: {
|
|
24
|
+
gridTemplateColumns: r ? `${r}px 1fr` : "150px 1fr",
|
|
25
|
+
gap: t.spacing(2),
|
|
26
|
+
alignItems: "center"
|
|
27
|
+
}
|
|
28
|
+
})), x = p("div", {
|
|
29
|
+
shouldForwardProp: (r) => r !== "propertyWidth" && r !== "propertyHeight" && r !== "isForm"
|
|
30
|
+
})(({
|
|
31
|
+
propertyWidth: r,
|
|
32
|
+
isForm: i,
|
|
33
|
+
theme: t
|
|
34
|
+
}) => ({
|
|
35
|
+
width: "100%",
|
|
36
|
+
minWidth: "100%",
|
|
37
|
+
...t.typography.subtitle2,
|
|
38
|
+
color: t.palette.text.primary,
|
|
39
|
+
height: "100%",
|
|
40
|
+
display: "flex",
|
|
41
|
+
alignItems: "center",
|
|
42
|
+
justifyContent: "flex-start",
|
|
43
|
+
position: "relative",
|
|
44
|
+
[t.breakpoints.up("sm")]: {
|
|
45
|
+
borderRight: i ? "none" : `1px solid ${t.palette.divider}`,
|
|
46
|
+
paddingRight: t.spacing(2),
|
|
47
|
+
textAlign: "right",
|
|
48
|
+
width: r || "150px",
|
|
49
|
+
minWidth: r || "150px",
|
|
50
|
+
justifyContent: "flex-end"
|
|
51
|
+
},
|
|
52
|
+
overflow: "hidden",
|
|
53
|
+
overflowWrap: "break-word"
|
|
54
|
+
})), v = p("div", {
|
|
55
|
+
shouldForwardProp: (r) => r !== "valueWidth" && r !== "valueHeight" && r !== "withGrid"
|
|
56
|
+
})(({
|
|
57
|
+
valueWidth: r,
|
|
58
|
+
valueHeight: i,
|
|
59
|
+
theme: t
|
|
60
|
+
}) => ({
|
|
61
|
+
flexGrow: "1",
|
|
62
|
+
...t.typography.body2,
|
|
63
|
+
color: t.palette.text.secondary,
|
|
64
|
+
position: "relative",
|
|
65
|
+
padding: "1px",
|
|
66
|
+
maxWidth: `${r}%`,
|
|
67
|
+
width: `${r}%`,
|
|
68
|
+
height: i,
|
|
69
|
+
marginTop: t.spacing(1),
|
|
70
|
+
[t.breakpoints.up("sm")]: {
|
|
71
|
+
marginTop: "0px"
|
|
72
|
+
},
|
|
73
|
+
overflow: "hidden",
|
|
74
|
+
overflowWrap: "break-word"
|
|
75
|
+
})), m = p("div")(() => ({
|
|
76
|
+
display: "flex",
|
|
77
|
+
justifyContent: "flex-end"
|
|
78
|
+
}));
|
|
79
|
+
function w() {
|
|
80
|
+
return /* @__PURE__ */ n(m, {
|
|
81
|
+
children: /* @__PURE__ */ n(g, {
|
|
82
|
+
variant: "text",
|
|
83
|
+
width: 68,
|
|
84
|
+
height: 14
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function C(r) {
|
|
89
|
+
const {
|
|
90
|
+
property: i,
|
|
91
|
+
value: t,
|
|
92
|
+
propertyWidth: a = 200,
|
|
93
|
+
valueHeight: d = "auto",
|
|
94
|
+
valueWidth: e = "100",
|
|
95
|
+
isForm: l
|
|
96
|
+
} = r, o = c(), s = h(), u = (() => e === "75" && o ? "75" : e === "75" && !o ? "100" : e === "50" && o ? "50" : e === "50" && !o ? "100" : e === "25" && o || e === "12.5" && o ? `${e}` : e === "25" && !o ? "50" : e === "12.5" && !o ? "25" : "100")();
|
|
97
|
+
return /* @__PURE__ */ f(y, {
|
|
98
|
+
id: "WrapperPropertyValue",
|
|
99
|
+
isForm: l,
|
|
100
|
+
propertyWidth: a,
|
|
101
|
+
children: [/* @__PURE__ */ n(x, {
|
|
102
|
+
id: "Property",
|
|
103
|
+
isForm: l,
|
|
104
|
+
propertyWidth: a,
|
|
105
|
+
children: s ? /* @__PURE__ */ n(w, {}) : i
|
|
106
|
+
}), /* @__PURE__ */ n(v, {
|
|
107
|
+
id: "Value",
|
|
108
|
+
valueWidth: u,
|
|
109
|
+
valueHeight: d,
|
|
110
|
+
children: t
|
|
111
|
+
})]
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
export {
|
|
115
|
+
C as P
|
|
116
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { R as
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
const
|
|
5
|
-
theme
|
|
1
|
+
import { styled as n } from "@mui/material/styles";
|
|
2
|
+
import { R as i } from "../../react-resizable.5277deaf.js";
|
|
3
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
4
|
+
const g = n(i)(({
|
|
5
|
+
theme: e
|
|
6
6
|
}) => ({
|
|
7
7
|
"&.react-resizable": {
|
|
8
8
|
position: "relative",
|
|
@@ -17,7 +17,7 @@ const WrapperResizeable = styled(ResizableBox)(({
|
|
|
17
17
|
backgroundRepeat: "no-repeat",
|
|
18
18
|
backgroundOrigin: "content-box",
|
|
19
19
|
boxSizing: "border-box",
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: e.palette.action.active,
|
|
21
21
|
mask: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
|
|
22
22
|
backgroundImage: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
|
|
23
23
|
backgroundPosition: "bottom right",
|
|
@@ -73,20 +73,22 @@ const WrapperResizeable = styled(ResizableBox)(({
|
|
|
73
73
|
transform: "rotate(45deg)"
|
|
74
74
|
}
|
|
75
75
|
}));
|
|
76
|
-
function
|
|
76
|
+
function x(e) {
|
|
77
77
|
const {
|
|
78
|
-
children,
|
|
79
|
-
width,
|
|
80
|
-
height,
|
|
81
|
-
maxHeigth,
|
|
82
|
-
maxWidth
|
|
83
|
-
} =
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
width,
|
|
86
|
-
height,
|
|
87
|
-
maxConstraints:
|
|
78
|
+
children: a,
|
|
79
|
+
width: s,
|
|
80
|
+
height: o,
|
|
81
|
+
maxHeigth: r,
|
|
82
|
+
maxWidth: t
|
|
83
|
+
} = e;
|
|
84
|
+
return /* @__PURE__ */ l(g, {
|
|
85
|
+
width: s,
|
|
86
|
+
height: o,
|
|
87
|
+
maxConstraints: r && t ? [t, r] : void 0,
|
|
88
88
|
resizeHandles: ["se", "nw"],
|
|
89
|
-
children
|
|
89
|
+
children: a
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
export {
|
|
92
|
+
export {
|
|
93
|
+
x as R
|
|
94
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import t from "simplebar-react";
|
|
2
|
+
import { styled as i, alpha as a } from "@mui/material/styles";
|
|
3
|
+
import { Box as l } from "@mui/material";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
const s = i("div")(() => ({
|
|
6
|
+
flexGrow: 1,
|
|
7
|
+
height: "100%",
|
|
8
|
+
overflow: "hidden"
|
|
9
|
+
})), n = i(t)(({
|
|
10
|
+
theme: e
|
|
11
|
+
}) => ({
|
|
12
|
+
maxHeight: "100%",
|
|
13
|
+
"& .simplebar-scrollbar": {
|
|
14
|
+
"&:before": {
|
|
15
|
+
backgroundColor: a(e.palette.grey[600], 0.48)
|
|
16
|
+
},
|
|
17
|
+
"&.simplebar-visible:before": {
|
|
18
|
+
opacity: 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"& .simplebar-track.simplebar-vertical": {
|
|
22
|
+
width: 10
|
|
23
|
+
},
|
|
24
|
+
"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar": {
|
|
25
|
+
height: 6
|
|
26
|
+
},
|
|
27
|
+
"& .simplebar-mask": {
|
|
28
|
+
zIndex: "inherit"
|
|
29
|
+
}
|
|
30
|
+
}));
|
|
31
|
+
function f({
|
|
32
|
+
children: e
|
|
33
|
+
}) {
|
|
34
|
+
const o = typeof navigator > "u" ? "SSR" : navigator.userAgent;
|
|
35
|
+
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(o) ? /* @__PURE__ */ r(l, {
|
|
36
|
+
sx: {
|
|
37
|
+
overflowX: "auto"
|
|
38
|
+
},
|
|
39
|
+
children: e
|
|
40
|
+
}) : /* @__PURE__ */ r(s, {
|
|
41
|
+
children: /* @__PURE__ */ r(n, {
|
|
42
|
+
autoHide: !1,
|
|
43
|
+
children: e
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
f as S
|
|
49
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
const
|
|
5
|
-
theme
|
|
1
|
+
import { S as s } from "../../react-splitter-layout.7810ac1b.js";
|
|
2
|
+
import { styled as r } from "@mui/material/styles";
|
|
3
|
+
import { jsx as l, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
const u = r("div")(({
|
|
5
|
+
theme: t
|
|
6
6
|
}) => ({
|
|
7
7
|
display: "flex",
|
|
8
8
|
flexDirection: "column",
|
|
@@ -31,7 +31,7 @@ const WrapperSplit = styled("div")(({
|
|
|
31
31
|
"& .splitter-layout > .layout-splitter": {
|
|
32
32
|
display: "flex",
|
|
33
33
|
alignItems: "center",
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: t.palette.divider,
|
|
35
35
|
boxSizing: "border-box",
|
|
36
36
|
backgroundClip: "padding-box",
|
|
37
37
|
width: "11px",
|
|
@@ -43,17 +43,17 @@ const WrapperSplit = styled("div")(({
|
|
|
43
43
|
height: "100%"
|
|
44
44
|
},
|
|
45
45
|
"& .splitter-layout .layout-splitter:before": {
|
|
46
|
-
content:
|
|
46
|
+
content: '""',
|
|
47
47
|
height: "45px",
|
|
48
48
|
width: "4px",
|
|
49
49
|
top: "calc(50% - 22.5px)",
|
|
50
50
|
position: "absolute",
|
|
51
|
-
background:
|
|
51
|
+
background: t.palette.grey[500],
|
|
52
52
|
borderRadius: "6px"
|
|
53
53
|
},
|
|
54
54
|
"& .splitter-layout > .layout-splitter:hover": {
|
|
55
|
-
borderLeft: `5px solid ${
|
|
56
|
-
borderRight: `5px solid ${
|
|
55
|
+
borderLeft: `5px solid ${t.palette.grey[5008]}`,
|
|
56
|
+
borderRight: `5px solid ${t.palette.grey[5008]}`
|
|
57
57
|
},
|
|
58
58
|
"& .splitter-layout.splitter-layout-vertical.layout-changing": {
|
|
59
59
|
cursor: "row-resize"
|
|
@@ -73,25 +73,23 @@ const WrapperSplit = styled("div")(({
|
|
|
73
73
|
top: "unset"
|
|
74
74
|
},
|
|
75
75
|
"& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
|
|
76
|
-
background:
|
|
76
|
+
background: t.palette.primary.main
|
|
77
77
|
},
|
|
78
78
|
"& .splitter-layout.splitter-layout-vertical": {
|
|
79
79
|
flexDirection: "column"
|
|
80
80
|
},
|
|
81
81
|
"& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
|
|
82
|
-
borderTop: `5px solid ${
|
|
83
|
-
borderBottom: `5px solid ${
|
|
82
|
+
borderTop: `5px solid ${t.palette.grey[5008]}`,
|
|
83
|
+
borderBottom: `5px solid ${t.palette.grey[5008]}`
|
|
84
84
|
}
|
|
85
|
-
}))
|
|
86
|
-
const SplitMaster = styled("div")(() => ({
|
|
85
|
+
})), d = r("div")(() => ({
|
|
87
86
|
display: "flex",
|
|
88
87
|
flexDirection: "column",
|
|
89
88
|
position: "relative",
|
|
90
89
|
width: "100%",
|
|
91
90
|
height: "100%",
|
|
92
91
|
overflow: "hidden"
|
|
93
|
-
}))
|
|
94
|
-
const SplitDetail = styled("div")(() => ({
|
|
92
|
+
})), c = r("div")(() => ({
|
|
95
93
|
display: "flex",
|
|
96
94
|
flexDirection: "column",
|
|
97
95
|
justifyContent: "center",
|
|
@@ -103,29 +101,31 @@ const SplitDetail = styled("div")(() => ({
|
|
|
103
101
|
top: "0px",
|
|
104
102
|
bottom: "0px"
|
|
105
103
|
}));
|
|
106
|
-
function
|
|
104
|
+
function h(t) {
|
|
107
105
|
const {
|
|
108
|
-
splitPosition,
|
|
109
|
-
firstPart,
|
|
110
|
-
secondPart,
|
|
111
|
-
secondParrtInitialSize = 50,
|
|
112
|
-
percentage =
|
|
113
|
-
} =
|
|
114
|
-
return /* @__PURE__ */
|
|
106
|
+
splitPosition: e,
|
|
107
|
+
firstPart: o,
|
|
108
|
+
secondPart: i,
|
|
109
|
+
secondParrtInitialSize: a = 50,
|
|
110
|
+
percentage: p = !0
|
|
111
|
+
} = t;
|
|
112
|
+
return /* @__PURE__ */ l(u, {
|
|
115
113
|
id: "WrapperSplit",
|
|
116
|
-
className: `split_${
|
|
117
|
-
children: /* @__PURE__ */
|
|
118
|
-
vertical:
|
|
119
|
-
percentage,
|
|
120
|
-
secondaryInitialSize:
|
|
121
|
-
children: [/* @__PURE__ */
|
|
114
|
+
className: `split_${e}`,
|
|
115
|
+
children: /* @__PURE__ */ n(s, {
|
|
116
|
+
vertical: e === "vertical",
|
|
117
|
+
percentage: p,
|
|
118
|
+
secondaryInitialSize: a,
|
|
119
|
+
children: [/* @__PURE__ */ l(d, {
|
|
122
120
|
id: "splitMaster",
|
|
123
|
-
children: typeof
|
|
124
|
-
}),
|
|
121
|
+
children: typeof o == "function" ? o() : o
|
|
122
|
+
}), e !== "none" && /* @__PURE__ */ l(c, {
|
|
125
123
|
id: "detail2",
|
|
126
|
-
children: typeof
|
|
124
|
+
children: typeof i == "function" ? i() : i
|
|
127
125
|
})]
|
|
128
126
|
})
|
|
129
127
|
});
|
|
130
128
|
}
|
|
131
|
-
export {
|
|
129
|
+
export {
|
|
130
|
+
h as S
|
|
131
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IconButtonProps } from '@mui/material';
|
|
3
|
-
export declare const IconButtonAnimate: import("react").ForwardRefExoticComponent<Pick<IconButtonProps<"button", {}>, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "translate" | "form" | "slot" | "title" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "type" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export declare const IconButtonAnimate: import("react").ForwardRefExoticComponent<Pick<IconButtonProps<"button", {}>, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "translate" | "form" | "slot" | "title" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "type" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m } from "framer-motion";
|
|
2
|
-
import { styled, alpha } from "@mui/material/styles";
|
|
3
|
-
import { Box } from "@mui/material";
|
|
4
|
-
import { L as
|
|
5
|
-
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
6
|
-
const
|
|
7
|
-
theme
|
|
1
|
+
import { m as r } from "framer-motion";
|
|
2
|
+
import { styled as d, alpha as o } from "@mui/material/styles";
|
|
3
|
+
import { Box as a } from "@mui/material";
|
|
4
|
+
import { L as s } from "../../../assets/Logo/index.228dcb5a.js";
|
|
5
|
+
import { jsx as t, Fragment as p, jsxs as l } from "react/jsx-runtime";
|
|
6
|
+
const m = d("div")(({
|
|
7
|
+
theme: e
|
|
8
8
|
}) => ({
|
|
9
9
|
right: 0,
|
|
10
10
|
bottom: 0,
|
|
@@ -15,16 +15,16 @@ const RootStyle = styled("div")(({
|
|
|
15
15
|
display: "flex",
|
|
16
16
|
alignItems: "center",
|
|
17
17
|
justifyContent: "center",
|
|
18
|
-
backgroundColor:
|
|
18
|
+
backgroundColor: e.palette.background.default
|
|
19
19
|
}));
|
|
20
|
-
function
|
|
21
|
-
isDashboard,
|
|
22
|
-
...
|
|
20
|
+
function x({
|
|
21
|
+
isDashboard: e,
|
|
22
|
+
...n
|
|
23
23
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
children: !
|
|
26
|
-
...
|
|
27
|
-
children: [/* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ t(p, {
|
|
25
|
+
children: !e && /* @__PURE__ */ l(m, {
|
|
26
|
+
...n,
|
|
27
|
+
children: [/* @__PURE__ */ t(r.div, {
|
|
28
28
|
initial: {
|
|
29
29
|
rotateY: 0
|
|
30
30
|
},
|
|
@@ -35,17 +35,17 @@ function LoadingScreen({
|
|
|
35
35
|
duration: 2,
|
|
36
36
|
ease: "easeInOut",
|
|
37
37
|
repeatDelay: 1,
|
|
38
|
-
repeat:
|
|
38
|
+
repeat: 1 / 0
|
|
39
39
|
},
|
|
40
|
-
children: /* @__PURE__ */
|
|
41
|
-
disabledLink:
|
|
40
|
+
children: /* @__PURE__ */ t(s, {
|
|
41
|
+
disabledLink: !0,
|
|
42
42
|
sx: {
|
|
43
43
|
width: 32,
|
|
44
44
|
height: 32
|
|
45
45
|
}
|
|
46
46
|
})
|
|
47
|
-
}), /* @__PURE__ */
|
|
48
|
-
component:
|
|
47
|
+
}), /* @__PURE__ */ t(a, {
|
|
48
|
+
component: r.div,
|
|
49
49
|
animate: {
|
|
50
50
|
scale: [1.2, 1, 1, 1.2, 1.2],
|
|
51
51
|
rotate: [270, 0, 0, 270, 270],
|
|
@@ -55,17 +55,17 @@ function LoadingScreen({
|
|
|
55
55
|
transition: {
|
|
56
56
|
ease: "linear",
|
|
57
57
|
duration: 3.2,
|
|
58
|
-
repeat:
|
|
58
|
+
repeat: 1 / 0
|
|
59
59
|
},
|
|
60
60
|
sx: {
|
|
61
61
|
width: 50,
|
|
62
62
|
height: 50,
|
|
63
63
|
borderRadius: "25%",
|
|
64
64
|
position: "absolute",
|
|
65
|
-
border: (
|
|
65
|
+
border: (i) => `solid 3px ${o(i.palette.primary.dark, 0.24)}`
|
|
66
66
|
}
|
|
67
|
-
}), /* @__PURE__ */
|
|
68
|
-
component:
|
|
67
|
+
}), /* @__PURE__ */ t(a, {
|
|
68
|
+
component: r.div,
|
|
69
69
|
animate: {
|
|
70
70
|
scale: [1, 1.2, 1.2, 1, 1],
|
|
71
71
|
rotate: [0, 270, 270, 0, 0],
|
|
@@ -75,17 +75,19 @@ function LoadingScreen({
|
|
|
75
75
|
transition: {
|
|
76
76
|
ease: "linear",
|
|
77
77
|
duration: 3.2,
|
|
78
|
-
repeat:
|
|
78
|
+
repeat: 1 / 0
|
|
79
79
|
},
|
|
80
80
|
sx: {
|
|
81
81
|
width: 60,
|
|
82
82
|
height: 60,
|
|
83
83
|
borderRadius: "25%",
|
|
84
84
|
position: "absolute",
|
|
85
|
-
border: (
|
|
85
|
+
border: (i) => `solid 8px ${o(i.palette.primary.dark, 0.24)}`
|
|
86
86
|
}
|
|
87
87
|
})]
|
|
88
88
|
})
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
export {
|
|
91
|
+
export {
|
|
92
|
+
x as L
|
|
93
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { m as a } from "framer-motion";
|
|
2
|
+
import { Box as n } from "@mui/material";
|
|
3
|
+
import { v as o } from "../variants/container.11f82b76.js";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
function x({
|
|
6
|
+
animate: m,
|
|
7
|
+
action: e = !1,
|
|
8
|
+
children: i,
|
|
9
|
+
...t
|
|
10
|
+
}) {
|
|
11
|
+
return e ? /* @__PURE__ */ r(n, {
|
|
12
|
+
component: a.div,
|
|
13
|
+
initial: !1,
|
|
14
|
+
animate: m ? "animate" : "exit",
|
|
15
|
+
variants: o(),
|
|
16
|
+
...t,
|
|
17
|
+
children: i
|
|
18
|
+
}) : /* @__PURE__ */ r(n, {
|
|
19
|
+
component: a.div,
|
|
20
|
+
initial: "initial",
|
|
21
|
+
animate: "animate",
|
|
22
|
+
exit: "exit",
|
|
23
|
+
variants: o(),
|
|
24
|
+
...t,
|
|
25
|
+
children: i
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
x as M
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LazyMotion as o } from "framer-motion";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
const e = () => import("../features.0fbf41e1.js").then((t) => t.default);
|
|
4
|
+
function i({
|
|
5
|
+
children: t
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ r(o, {
|
|
8
|
+
strict: !0,
|
|
9
|
+
features: e,
|
|
10
|
+
children: t
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
i as M
|
|
15
|
+
};
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { v as
|
|
2
|
-
const
|
|
3
|
-
const durationIn =
|
|
4
|
-
const durationOut = props?.durationOut;
|
|
5
|
-
const easeIn = props?.easeIn;
|
|
6
|
-
const easeOut = props?.easeOut;
|
|
1
|
+
import { v as i, a as c } from "./transition.bd46b9ce.js";
|
|
2
|
+
const r = (n) => {
|
|
3
|
+
const a = n?.durationIn, e = n?.durationOut, t = n?.easeIn, o = n?.easeOut;
|
|
7
4
|
return {
|
|
8
5
|
in: {
|
|
9
6
|
initial: {},
|
|
10
7
|
animate: {
|
|
11
8
|
scale: [0.3, 1.1, 0.9, 1.03, 0.97, 1],
|
|
12
9
|
opacity: [0, 1, 1, 1, 1, 1],
|
|
13
|
-
transition:
|
|
10
|
+
transition: i({ durationIn: a, easeIn: t })
|
|
14
11
|
},
|
|
15
12
|
exit: {
|
|
16
13
|
scale: [0.9, 1.1, 0.3],
|
|
@@ -23,13 +20,13 @@ const varBounce = (props) => {
|
|
|
23
20
|
y: [720, -24, 12, -4, 0],
|
|
24
21
|
scaleY: [4, 0.9, 0.95, 0.985, 1],
|
|
25
22
|
opacity: [0, 1, 1, 1, 1],
|
|
26
|
-
transition: { ...
|
|
23
|
+
transition: { ...i({ durationIn: a, easeIn: t }) }
|
|
27
24
|
},
|
|
28
25
|
exit: {
|
|
29
26
|
y: [12, -24, 720],
|
|
30
27
|
scaleY: [0.985, 0.9, 3],
|
|
31
28
|
opacity: [1, 1, 0],
|
|
32
|
-
transition:
|
|
29
|
+
transition: c({ durationOut: e, easeOut: o })
|
|
33
30
|
}
|
|
34
31
|
},
|
|
35
32
|
inDown: {
|
|
@@ -38,13 +35,13 @@ const varBounce = (props) => {
|
|
|
38
35
|
y: [-720, 24, -12, 4, 0],
|
|
39
36
|
scaleY: [4, 0.9, 0.95, 0.985, 1],
|
|
40
37
|
opacity: [0, 1, 1, 1, 1],
|
|
41
|
-
transition:
|
|
38
|
+
transition: i({ durationIn: a, easeIn: t })
|
|
42
39
|
},
|
|
43
40
|
exit: {
|
|
44
41
|
y: [-12, 24, -720],
|
|
45
42
|
scaleY: [0.985, 0.9, 3],
|
|
46
43
|
opacity: [1, 1, 0],
|
|
47
|
-
transition:
|
|
44
|
+
transition: c({ durationOut: e, easeOut: o })
|
|
48
45
|
}
|
|
49
46
|
},
|
|
50
47
|
inLeft: {
|
|
@@ -53,13 +50,13 @@ const varBounce = (props) => {
|
|
|
53
50
|
x: [-720, 24, -12, 4, 0],
|
|
54
51
|
scaleX: [3, 1, 0.98, 0.995, 1],
|
|
55
52
|
opacity: [0, 1, 1, 1, 1],
|
|
56
|
-
transition:
|
|
53
|
+
transition: i({ durationIn: a, easeIn: t })
|
|
57
54
|
},
|
|
58
55
|
exit: {
|
|
59
56
|
x: [0, 24, -720],
|
|
60
57
|
scaleX: [1, 0.9, 2],
|
|
61
58
|
opacity: [1, 1, 0],
|
|
62
|
-
transition:
|
|
59
|
+
transition: c({ durationOut: e, easeOut: o })
|
|
63
60
|
}
|
|
64
61
|
},
|
|
65
62
|
inRight: {
|
|
@@ -68,13 +65,13 @@ const varBounce = (props) => {
|
|
|
68
65
|
x: [720, -24, 12, -4, 0],
|
|
69
66
|
scaleX: [3, 1, 0.98, 0.995, 1],
|
|
70
67
|
opacity: [0, 1, 1, 1, 1],
|
|
71
|
-
transition:
|
|
68
|
+
transition: i({ durationIn: a, easeIn: t })
|
|
72
69
|
},
|
|
73
70
|
exit: {
|
|
74
71
|
x: [0, -24, 720],
|
|
75
72
|
scaleX: [1, 0.9, 2],
|
|
76
73
|
opacity: [1, 1, 0],
|
|
77
|
-
transition:
|
|
74
|
+
transition: c({ durationOut: e, easeOut: o })
|
|
78
75
|
}
|
|
79
76
|
},
|
|
80
77
|
out: {
|
|
@@ -94,4 +91,6 @@ const varBounce = (props) => {
|
|
|
94
91
|
}
|
|
95
92
|
};
|
|
96
93
|
};
|
|
97
|
-
export {
|
|
94
|
+
export {
|
|
95
|
+
r as v
|
|
96
|
+
};
|