@m4l/components 0.1.18 → 0.1.20
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/components/CommonActions/components/ActionCancel/{index.7e947996.js → index.3775989f.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.63405f6c.js → index.d69d9e0f.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.bac90f39.js → index.ca7b6952.js} +1 -1
- package/components/CommonActions/components/Actions/{index.6b25caed.js → index.a908e4b9.js} +170 -171
- package/components/DataGrid/{index.091572bf.js → index.5cbf0dd8.js} +3 -3
- package/components/DynamicFilter/{index.7efecd5d.js → index.8a571617.js} +80 -82
- package/components/HelmetPage/index.d.ts +6 -0
- package/components/{Page → HelmetPage}/types.d.ts +2 -2
- package/components/Icon/{index.cbca79b0.js → index.f569765b.js} +41 -29
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/index.c9da2d5a.js +152 -0
- package/components/Image/index.d.ts +2 -2
- package/components/Image/styles.d.ts +2 -4
- package/components/Image/subcomponents/BasicIntersectComponent/index.d.ts +3 -0
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +3 -0
- package/components/Image/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/Image/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/Image/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/Image/types.d.ts +30 -15
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +1 -0
- package/components/LanguagePopover/styles.d.ts +1 -1
- package/components/ModalDialog/{index.0ddffae6.js → index.16024a4e.js} +3 -3
- package/components/NoItemSelected/{index.12f0ca67.js → index.9609a7f7.js} +1 -1
- package/components/NoItemSelected/styles.d.ts +1 -1
- package/components/ObjectLogs/{index.64f06b3d.js → index.ac2bfa48.js} +5 -5
- package/components/Page/index.fc660ee5.js +27 -0
- package/components/PaperForm/{index.d7c74064.js → index.3f8c7ef2.js} +1 -1
- package/components/Period/{index.8423f865.js → index.497b8df4.js} +7 -8
- package/components/animate/IconButtonAnimate/index.d.ts +1 -1
- package/components/animate/features.d.ts +2 -0
- package/components/animate/variants/bounce.d.ts +10 -10
- package/components/animate/variants/container.d.ts +1 -1
- package/components/animate/variants/fade.d.ts +21 -21
- package/components/animate/variants/transition.d.ts +6 -6
- package/components/{hook-form/FormProvider/index.936cbb98.js → contexts/RHFormContext/index.f8241292.js} +17 -16
- package/components/formatters/BooleanFormatter/{index.cca53b7f.js → index.3ec56305.js} +1 -1
- package/components/formatters/DateFormatter/{index.ad8d9b8e.js → index.08d8823b.js} +1 -1
- package/components/formatters/{index.55856d65.js → index.6959c2de.js} +1 -1
- package/components/hook-form/RHFAutocomplete/index.b7f11146.js +146 -0
- package/components/hook-form/RHFAutocomplete/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +3 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/types.d.ts +13 -7
- package/components/hook-form/RHFAutocompleteAsync/index.97a5a66e.js +51 -0
- package/components/hook-form/RHFAutocompleteAsync/index.d.ts +1 -2
- package/components/hook-form/RHFAutocompleteAsync/types.d.ts +3 -11
- package/components/hook-form/RHFCheckbox/index.6a40e25f.js +55 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/index.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFDateTime/{index.fc5cbafe.js → index.5ed774e3.js} +24 -26
- package/components/hook-form/RHFDateTime/types.d.ts +2 -5
- package/components/hook-form/RHFPeriod/{index.0b982ae8.js → index.e17b1c72.js} +1 -1
- package/components/hook-form/RHFTextField/index.bab2a2cf.js +113 -0
- package/components/hook-form/RHFTextField/index.d.ts +1 -1
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/hook-form/RHFTextField/types.d.ts +2 -5
- package/components/hook-form/RHFTextFieldPassword/index.d.ts +3 -0
- package/components/hook-form/RHFTextFieldPassword/types.d.ts +4 -0
- package/components/hook-form/RHFUpload/{index.ed3d739f.js → index.cbf11b68.js} +31 -36
- package/components/hook-form/index.d.ts +1 -2
- package/components/index.d.ts +2 -3
- package/components/mui_extended/Accordion/{index.2116e423.js → index.49f5df8e.js} +2 -2
- package/components/mui_extended/Avatar/index.d.ts +1 -1
- package/components/mui_extended/Avatar/index.dadb0528.js +37 -0
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +2 -0
- package/components/mui_extended/Button/index.16591787.js +144 -0
- package/components/mui_extended/IconButton/index.4b5ce8b5.js +103 -0
- package/components/mui_extended/IconButton/index.d.ts +1 -1
- package/components/mui_extended/IconButton/subcomponents/SkeletonIconButton/index.d.ts +2 -0
- package/components/mui_extended/ImageButton/index.d.ts +3 -0
- package/components/mui_extended/ImageButton/types.d.ts +7 -0
- package/components/mui_extended/LinkWithRoute/index.16436ab8.js +26 -0
- package/components/mui_extended/LinkWithRoute/types.d.ts +2 -6
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/index.d.ts +2 -0
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/mui_extended/LoadingButton/types.d.ts +2 -2
- package/components/mui_extended/MenuActions/styles.d.ts +2 -2
- package/components/mui_extended/MenuActions/types.d.ts +2 -2
- package/components/mui_extended/Pager/{index.f0911163.js → index.80c2f8a0.js} +1 -1
- package/components/mui_extended/Popover/index.305f2ea5.js +218 -0
- package/components/mui_extended/Popover/index.d.ts +4 -0
- package/components/mui_extended/Popover/types.d.ts +9 -0
- package/components/mui_extended/Typography/index.e5494696.js +31 -0
- package/components/mui_extended/Typography/subcomponents/index.d.ts +3 -0
- package/components/mui_extended/Typography/subcomponents/types.d.ts +2 -0
- package/components/mui_extended/Typography/types.d.ts +3 -5
- package/components/mui_extended/index.d.ts +1 -1
- package/contexts/ModalContext/{index.1688a07c.js → index.699767c7.js} +3 -3
- package/contexts/RHFormContext/index.d.ts +3 -0
- package/{components/hook-form/FormProvider → contexts/RHFormContext}/styles.d.ts +0 -0
- package/{components/hook-form/FormProvider → contexts/RHFormContext}/types.d.ts +0 -0
- package/contexts/index.d.ts +2 -0
- package/hooks/useFormAddEdit/index.d.ts +1 -1
- package/hooks/useFormAddEdit/types.d.ts +1 -1
- package/hooks/useModal/{index.cdd84702.js → index.8201ccec.js} +1 -1
- package/index.js +148 -151
- package/package.json +3 -1
- package/utils/index.d.ts +1 -1
- package/components/CompanyLogo/index.d.ts +0 -3
- package/components/CompanyLogo/index.f81c179c.js +0 -75
- package/components/CompanyLogo/styles.d.ts +0 -5
- package/components/CompanyLogo/types.d.ts +0 -6
- package/components/Image/index.e790b50b.js +0 -122
- package/components/LanguagePopover/index.15f7dea7.js +0 -87
- package/components/Page/index.6d69977e.js +0 -35
- package/components/Page/index.d.ts +0 -3
- package/components/hook-form/FormProvider/index.d.ts +0 -3
- package/components/hook-form/RHFAutocomplete/index.6ed76d4c.js +0 -122
- package/components/hook-form/RHFAutocompleteAsync/index.8f2c97ea.js +0 -153
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -4
- package/components/hook-form/RHFCheckbox/index.f9ce6c39.js +0 -59
- package/components/hook-form/RHFCheckbox/styles.d.ts +0 -13
- package/components/hook-form/RHFTextField/index.4c455f75.js +0 -77
- package/components/hook-form/RHFTextField/styles.d.ts +0 -2
- package/components/mui_extended/Avatar/index.0a2a4523.js +0 -32
- package/components/mui_extended/Button/index.3debb608.js +0 -110
- package/components/mui_extended/Button/styles.d.ts +0 -12
- package/components/mui_extended/IconButton/index.88f3aadb.js +0 -98
- package/components/mui_extended/LinkWithRoute/index.d4b263de.js +0 -28
- package/components/mui_extended/LoadingButton/skeleton.d.ts +0 -2
- package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
- package/components/mui_extended/MenuPopover/index.488fc536.js +0 -131
- package/components/mui_extended/MenuPopover/index.d.ts +0 -4
- package/components/mui_extended/MenuPopover/types.d.ts +0 -9
- package/components/mui_extended/Typography/index.0c4604b3.js +0 -22
- package/react-lazy-load-image-component.45b56650.js +0 -784
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { useModuleSkeleton as y } from "@m4l/core";
|
|
2
|
+
import { forwardRef as C, useState as g, useRef as b, useImperativeHandle as k, useEffect as w, useMemo as I } from "react";
|
|
3
|
+
import { jsx as i, Fragment as E, jsxs as S } from "react/jsx-runtime";
|
|
4
|
+
import { styled as v, Skeleton as h } from "@mui/material";
|
|
5
|
+
function L() {
|
|
6
|
+
return typeof window < "u" && "IntersectionObserver" in window && "isIntersecting" in window.IntersectionObserverEntry.prototype;
|
|
7
|
+
}
|
|
8
|
+
const O = (e) => {
|
|
9
|
+
e.forEach((t) => {
|
|
10
|
+
t.isIntersecting && t.target?.setIsVisible(!0);
|
|
11
|
+
});
|
|
12
|
+
}, m = {}, V = (e) => (m[e] = m[e] || new IntersectionObserver(O, {
|
|
13
|
+
rootMargin: e + "px"
|
|
14
|
+
}), m[e]);
|
|
15
|
+
console.log("LAZY_LOAD_OBSERVERS", JSON.stringify(m));
|
|
16
|
+
const f = C((e, t) => {
|
|
17
|
+
const {
|
|
18
|
+
height: o,
|
|
19
|
+
width: c,
|
|
20
|
+
setIsVisible: l,
|
|
21
|
+
threshold: a
|
|
22
|
+
} = e, [r] = g(V(a)), n = b(null);
|
|
23
|
+
k(t, () => n.current), w(() => (r && n.current && (n.current.setIsVisible = l, r.observe(n.current)), () => {
|
|
24
|
+
r && n.current && r.unobserve(n.current);
|
|
25
|
+
}), []);
|
|
26
|
+
const s = {
|
|
27
|
+
display: "inline-block"
|
|
28
|
+
};
|
|
29
|
+
return typeof c < "u" && (s.width = c), typeof o < "u" && (s.height = o, s.minHeight = o), /* @__PURE__ */ i("span", {
|
|
30
|
+
id: "IntersectComponent",
|
|
31
|
+
ref: n,
|
|
32
|
+
style: s
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
f.displayName = "IntersectComponent";
|
|
36
|
+
function M(e) {
|
|
37
|
+
const {
|
|
38
|
+
children: t,
|
|
39
|
+
useIntersectionObserver: o,
|
|
40
|
+
...c
|
|
41
|
+
} = e, [l, a] = g(!(o && L()));
|
|
42
|
+
return l ? /* @__PURE__ */ i(E, {
|
|
43
|
+
children: t
|
|
44
|
+
}) : /* @__PURE__ */ i(f, {
|
|
45
|
+
useIntersectionObserver: o,
|
|
46
|
+
setIsVisible: a,
|
|
47
|
+
...c
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
const z = v("div", {
|
|
51
|
+
shouldForwardProp: (e) => e !== "width" && e !== "height"
|
|
52
|
+
})(({
|
|
53
|
+
height: e,
|
|
54
|
+
width: t
|
|
55
|
+
}) => ({
|
|
56
|
+
position: "relative",
|
|
57
|
+
width: t,
|
|
58
|
+
height: e,
|
|
59
|
+
minHeight: e,
|
|
60
|
+
minWidth: t,
|
|
61
|
+
"& > img ": {
|
|
62
|
+
opacity: 0,
|
|
63
|
+
position: "absolute",
|
|
64
|
+
inset: "0",
|
|
65
|
+
width: "100%",
|
|
66
|
+
height: "100%"
|
|
67
|
+
},
|
|
68
|
+
"&.loaded > img": {
|
|
69
|
+
opacity: 1,
|
|
70
|
+
transition: "opacity .5s"
|
|
71
|
+
},
|
|
72
|
+
"& .skeleton": {
|
|
73
|
+
opacity: 1,
|
|
74
|
+
width: t,
|
|
75
|
+
height: e
|
|
76
|
+
},
|
|
77
|
+
"&.loaded .skeleton": {
|
|
78
|
+
opacity: 0,
|
|
79
|
+
transition: "opacity .3s"
|
|
80
|
+
}
|
|
81
|
+
})), B = v("div")(() => ({
|
|
82
|
+
mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
83
|
+
WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
84
|
+
height: "100%",
|
|
85
|
+
width: "100%",
|
|
86
|
+
display: "flex",
|
|
87
|
+
alignItems: "center",
|
|
88
|
+
justifyContent: "center"
|
|
89
|
+
})), R = (e) => {
|
|
90
|
+
const {
|
|
91
|
+
skeletonVariant: t
|
|
92
|
+
} = e;
|
|
93
|
+
return t === "image" ? /* @__PURE__ */ i(B, {
|
|
94
|
+
className: "skeleton",
|
|
95
|
+
children: /* @__PURE__ */ i(h, {
|
|
96
|
+
variant: "rectangular",
|
|
97
|
+
width: "100%",
|
|
98
|
+
height: "100%"
|
|
99
|
+
})
|
|
100
|
+
}) : /* @__PURE__ */ i(h, {
|
|
101
|
+
variant: "circular",
|
|
102
|
+
width: "100%",
|
|
103
|
+
height: "100%",
|
|
104
|
+
className: "skeleton"
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
function j(e) {
|
|
108
|
+
const {
|
|
109
|
+
src: t,
|
|
110
|
+
alt: o,
|
|
111
|
+
useIntersectionObserver: c = !0,
|
|
112
|
+
threshold: l = 100,
|
|
113
|
+
width: a,
|
|
114
|
+
height: r,
|
|
115
|
+
skeletonVariant: n = "image"
|
|
116
|
+
} = e, s = y(), [d, u] = g("initial");
|
|
117
|
+
w(() => {
|
|
118
|
+
let p;
|
|
119
|
+
return d === "loaded" && !s && (p = setTimeout(() => {
|
|
120
|
+
u("removed");
|
|
121
|
+
}, 3e3)), () => {
|
|
122
|
+
p && clearTimeout(p);
|
|
123
|
+
};
|
|
124
|
+
}, [d, s]);
|
|
125
|
+
const x = () => {
|
|
126
|
+
u("loaded");
|
|
127
|
+
};
|
|
128
|
+
return I(() => {
|
|
129
|
+
const p = !s && d !== "initial";
|
|
130
|
+
return console.log("image skeleton", s, n), /* @__PURE__ */ i(z, {
|
|
131
|
+
width: a,
|
|
132
|
+
height: r,
|
|
133
|
+
className: "m4l_image " + (p ? "loaded" : ""),
|
|
134
|
+
children: /* @__PURE__ */ S(M, {
|
|
135
|
+
width: a,
|
|
136
|
+
height: r,
|
|
137
|
+
useIntersectionObserver: c,
|
|
138
|
+
threshold: l,
|
|
139
|
+
children: [d !== "removed" ? /* @__PURE__ */ i(R, {
|
|
140
|
+
skeletonVariant: n
|
|
141
|
+
}) : null, /* @__PURE__ */ i("img", {
|
|
142
|
+
alt: o,
|
|
143
|
+
src: t,
|
|
144
|
+
onLoad: x
|
|
145
|
+
})]
|
|
146
|
+
})
|
|
147
|
+
});
|
|
148
|
+
}, [d, s, t]);
|
|
149
|
+
}
|
|
150
|
+
export {
|
|
151
|
+
j as I
|
|
152
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare function Image(
|
|
2
|
+
import { ImageProps } from './types';
|
|
3
|
+
export declare function Image(props: ImageProps): JSX.Element;
|
|
4
4
|
export default Image;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export declare const SKTWrapperImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & styleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const WrapperLazyLoadImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & WrapperLazyLoadImageProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
|
+
import { BaseImageProps } from './types';
|
|
3
|
+
export declare const WrapperImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & BaseImageProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperSkeletonImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,19 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare type Effect = 'blur' | 'black-and-white' | 'opacity';
|
|
3
|
+
export declare type ScrollPosition = {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
};
|
|
7
|
+
export declare type IntersectComponentRef = HTMLSpanElement & {
|
|
8
|
+
setIsVisible?: (visible: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
export interface BaseImageProps {
|
|
11
|
+
width: string;
|
|
11
12
|
height?: string;
|
|
12
13
|
}
|
|
13
|
-
export interface
|
|
14
|
-
|
|
14
|
+
export interface IntersectComponentProps extends BaseImageProps {
|
|
15
|
+
setIsVisible: (visible: boolean) => void;
|
|
16
|
+
threshold: number;
|
|
17
|
+
useIntersectionObserver: boolean;
|
|
18
|
+
scrollPosition?: ScrollPosition;
|
|
15
19
|
}
|
|
16
|
-
export interface
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
export interface IntersectComponentScrollProps extends IntersectComponentProps {
|
|
21
|
+
delayMethod?: 'debounce' | 'throttle';
|
|
22
|
+
delayTime?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface LazyLoadComponentProps extends Omit<IntersectComponentProps, 'setIsVisible'> {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export declare type SkeletonVariant = 'image' | 'circle';
|
|
28
|
+
export interface ImageProps extends Omit<IntersectComponentProps, 'setIsVisible' | 'threshold' | 'useIntersectionObserver'> {
|
|
29
|
+
src: string;
|
|
30
|
+
alt?: string;
|
|
31
|
+
threshold?: number;
|
|
32
|
+
useIntersectionObserver?: boolean;
|
|
33
|
+
skeletonVariant?: SkeletonVariant;
|
|
19
34
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isIntersectionObserverAvailable(): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const LabelItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
2
|
+
export declare const LabelItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Dialog as b, IconButton as w, Paper as v } from "@mui/material";
|
|
2
2
|
import { c as D } from "../../react-draggable.20e95c61.js";
|
|
3
|
-
import { u as $ } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as $ } from "../../hooks/useModal/index.8201ccec.js";
|
|
4
4
|
import { styled as s } from "@mui/material/styles";
|
|
5
5
|
import { a as x } from "../../utils/index.214d9542.js";
|
|
6
6
|
import { R as M } from "../Resizeable/index.45995d2b.js";
|
|
7
7
|
import { useResponsiveDesktop as H } from "@m4l/graphics";
|
|
8
8
|
import { useEnvironment as I } from "@m4l/core";
|
|
9
|
-
import { I as C } from "../Icon/index.
|
|
9
|
+
import { I as C } from "../Icon/index.f569765b.js";
|
|
10
10
|
import { jsxs as h, jsx as n } from "react/jsx-runtime";
|
|
11
|
-
import { b as W, g as _ } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { b as W, g as _ } from "../CommonActions/components/Actions/index.a908e4b9.js";
|
|
12
12
|
const j = s(b)(() => ({})), k = s("div")(({ theme: o }) => ({
|
|
13
13
|
display: "flex",
|
|
14
14
|
flexDirection: "column",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment as r, useModuleDictionary as l, useModuleSkeleton as p } from "@m4l/core";
|
|
2
2
|
import { styled as c } from "@mui/material/styles";
|
|
3
|
-
import { I as d } from "../Image/index.
|
|
3
|
+
import { I as d } from "../Image/index.c9da2d5a.js";
|
|
4
4
|
import { Skeleton as m } from "@mui/material";
|
|
5
5
|
import { useMemo as g } from "react";
|
|
6
6
|
import { jsx as t, jsxs as x } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const WrapperNoItemSelected: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const Img: import("@emotion/styled").StyledComponent<import("../Image/types").
|
|
3
|
+
export declare const Img: import("@emotion/styled").StyledComponent<import("../Image/types").ImageProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
4
4
|
export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
5
|
export declare const WrapperSKTNoItemSelected: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useState as _, useEffect as f, useCallback as d, useMemo as $ } from "react";
|
|
2
2
|
import { useNetwork as k, useModuleDictionary as y, useEnvironment as h, usePaginate as O } from "@m4l/core";
|
|
3
3
|
import { styled as g } from "@mui/material/styles";
|
|
4
|
-
import { D as R, g as I } from "../DataGrid/index.
|
|
5
|
-
import { D as L } from "../formatters/DateFormatter/index.
|
|
4
|
+
import { D as R, g as I } from "../DataGrid/index.5cbf0dd8.js";
|
|
5
|
+
import { D as L } from "../formatters/DateFormatter/index.08d8823b.js";
|
|
6
6
|
import { Tooltip as G, IconButton as M } from "@mui/material";
|
|
7
7
|
import { R as S } from "../../react-json-view.f56a7f8e.js";
|
|
8
8
|
import { jsx as t, jsxs as A } from "react/jsx-runtime";
|
|
9
|
-
import { u as T } from "../../hooks/useModal/index.
|
|
10
|
-
import { I as u } from "../Icon/index.
|
|
11
|
-
import { D as E, g as K } from "../DynamicFilter/index.
|
|
9
|
+
import { u as T } from "../../hooks/useModal/index.8201ccec.js";
|
|
10
|
+
import { I as u } from "../Icon/index.f569765b.js";
|
|
11
|
+
import { D as E, g as K } from "../DynamicFilter/index.8a571617.js";
|
|
12
12
|
const q = g("div")(() => ({
|
|
13
13
|
height: "100%",
|
|
14
14
|
width: "100%",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Helmet as a } from "react-helmet-async";
|
|
2
|
+
import { useLocales as c } from "@m4l/graphics";
|
|
3
|
+
import { useModuleSkeleton as u } from "@m4l/core";
|
|
4
|
+
import { jsxs as t, Fragment as d, jsx as r } from "react/jsx-runtime";
|
|
5
|
+
const p = (l) => {
|
|
6
|
+
const {
|
|
7
|
+
children: o,
|
|
8
|
+
title: n,
|
|
9
|
+
meta: m,
|
|
10
|
+
subtitle: e
|
|
11
|
+
} = l, {
|
|
12
|
+
currentLang: s
|
|
13
|
+
} = c(), i = u();
|
|
14
|
+
return /* @__PURE__ */ t(d, {
|
|
15
|
+
children: [!i && /* @__PURE__ */ t(a, {
|
|
16
|
+
children: [/* @__PURE__ */ r("title", {
|
|
17
|
+
children: `${n}${e ? ` | ${e}` : ""} `
|
|
18
|
+
}), /* @__PURE__ */ r("html", {
|
|
19
|
+
lang: s.value
|
|
20
|
+
}), m]
|
|
21
|
+
}), o]
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
p.displayName = "Page";
|
|
25
|
+
export {
|
|
26
|
+
p as H
|
|
27
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton as s } from "@m4l/core";
|
|
3
3
|
import { Skeleton as d } from "@mui/material";
|
|
4
|
-
import { I as l } from "../Icon/index.
|
|
4
|
+
import { I as l } from "../Icon/index.f569765b.js";
|
|
5
5
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
6
6
|
const c = r("div")(({
|
|
7
7
|
theme: i
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { useModuleDictionary as Y, useModuleSkeleton as R, useEnvironment as T } from "@m4l/core";
|
|
2
2
|
import { styled as a, Skeleton as d, Autocomplete as $, TextField as x } from "@mui/material";
|
|
3
3
|
import { useMemo as D } from "react";
|
|
4
|
-
import { I as v } from "../Icon/index.
|
|
4
|
+
import { I as v } from "../Icon/index.f569765b.js";
|
|
5
5
|
import { jsxs as u, jsx as n } from "react/jsx-runtime";
|
|
6
|
-
import { g as O } from "../CommonActions/components/Actions/index.
|
|
6
|
+
import { g as O } from "../CommonActions/components/Actions/index.a908e4b9.js";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.3debb608.js";
|
|
9
8
|
import "react-hook-form";
|
|
10
9
|
import "react-router-dom";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
10
|
+
import "../../contexts/ModalContext/index.699767c7.js";
|
|
12
11
|
import "@mui/lab";
|
|
13
12
|
const S = a("div")(({
|
|
14
13
|
theme: t,
|
|
@@ -70,7 +69,7 @@ const S = a("div")(({
|
|
|
70
69
|
textAlign: "left"
|
|
71
70
|
}));
|
|
72
71
|
var i = /* @__PURE__ */ ((t) => (t[t.YEARS = 0] = "YEARS", t[t.MONTHS = 1] = "MONTHS", t[t.DAYS = 2] = "DAYS", t))(i || {});
|
|
73
|
-
const F = (t) => t ? t.selPeriodTime ? t.selPeriodTime : t.years && t.years > 0 ? i.YEARS : t.months && t.months > 0 ? i.MONTHS : t.days && t.days > 0 ? i.DAYS : i.YEARS : i.YEARS, _ = (t) => t ? t.singleValue !== void 0 ? t.singleValue : t.years && t.years > 0 ? t.years : t.months && t.months > 0 ? t.months : t.days && t.days > 0 ? t.days : "" : "",
|
|
72
|
+
const F = (t) => t ? t.selPeriodTime ? t.selPeriodTime : t.years && t.years > 0 ? i.YEARS : t.months && t.months > 0 ? i.MONTHS : t.days && t.days > 0 ? i.DAYS : i.YEARS : i.YEARS, _ = (t) => t ? t.singleValue !== void 0 ? t.singleValue : t.years && t.years > 0 ? t.years : t.months && t.months > 0 ? t.months : t.days && t.days > 0 ? t.days : "" : "", z = (t) => {
|
|
74
73
|
const {
|
|
75
74
|
value: s,
|
|
76
75
|
onChange: b,
|
|
@@ -151,10 +150,10 @@ const F = (t) => t ? t.selPeriodTime ? t.selPeriodTime : t.years && t.years > 0
|
|
|
151
150
|
})]
|
|
152
151
|
}));
|
|
153
152
|
};
|
|
154
|
-
function
|
|
153
|
+
function B() {
|
|
155
154
|
return ["period"].concat(O());
|
|
156
155
|
}
|
|
157
156
|
export {
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
z as P,
|
|
158
|
+
B as g
|
|
160
159
|
};
|
|
@@ -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", {}>,
|
|
3
|
+
export declare const IconButtonAnimate: import("react").ForwardRefExoticComponent<Pick<IconButtonProps<"button", {}>, "value" | "dir" | "form" | "slot" | "title" | "onChange" | "disabled" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "type" | "hidden" | "name" | "placeholder" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "translate" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "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-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantsType } from '../type';
|
|
2
|
-
export declare const varBounce: (props?: VariantsType) => {
|
|
2
|
+
export declare const varBounce: (props?: VariantsType | undefined) => {
|
|
3
3
|
in: {
|
|
4
4
|
initial: {};
|
|
5
5
|
animate: {
|
|
@@ -7,7 +7,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
7
7
|
opacity: number[];
|
|
8
8
|
transition: {
|
|
9
9
|
duration: number;
|
|
10
|
-
ease:
|
|
10
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
exit: {
|
|
@@ -23,7 +23,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
23
23
|
opacity: number[];
|
|
24
24
|
transition: {
|
|
25
25
|
duration: number;
|
|
26
|
-
ease:
|
|
26
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
exit: {
|
|
@@ -32,7 +32,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
32
32
|
opacity: number[];
|
|
33
33
|
transition: {
|
|
34
34
|
duration: number;
|
|
35
|
-
ease:
|
|
35
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -44,7 +44,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
44
44
|
opacity: number[];
|
|
45
45
|
transition: {
|
|
46
46
|
duration: number;
|
|
47
|
-
ease:
|
|
47
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
exit: {
|
|
@@ -53,7 +53,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
53
53
|
opacity: number[];
|
|
54
54
|
transition: {
|
|
55
55
|
duration: number;
|
|
56
|
-
ease:
|
|
56
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
@@ -65,7 +65,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
65
65
|
opacity: number[];
|
|
66
66
|
transition: {
|
|
67
67
|
duration: number;
|
|
68
|
-
ease:
|
|
68
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
exit: {
|
|
@@ -74,7 +74,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
74
74
|
opacity: number[];
|
|
75
75
|
transition: {
|
|
76
76
|
duration: number;
|
|
77
|
-
ease:
|
|
77
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
};
|
|
@@ -86,7 +86,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
86
86
|
opacity: number[];
|
|
87
87
|
transition: {
|
|
88
88
|
duration: number;
|
|
89
|
-
ease:
|
|
89
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
exit: {
|
|
@@ -95,7 +95,7 @@ export declare const varBounce: (props?: VariantsType) => {
|
|
|
95
95
|
opacity: number[];
|
|
96
96
|
transition: {
|
|
97
97
|
duration: number;
|
|
98
|
-
ease:
|
|
98
|
+
ease: number[] | "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
};
|