@m4l/components 0.1.22 → 0.1.23
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/animate/LoadingScreen/{index.f1cec7db.js → index.1d0c4307.js} +34 -24
- package/components/animate/LoadingScreen/index.d.ts +2 -6
- package/components/animate/LoadingScreen/styles.d.ts +3 -0
- package/components/animate/LoadingScreen/types.d.ts +6 -0
- package/components/mui_extended/CircularProgress/index.ad569afd.js +8 -0
- package/components/mui_extended/CircularProgress/index.d.ts +3 -0
- package/components/mui_extended/index.d.ts +1 -0
- package/index.js +42 -40
- package/package.json +1 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import {
|
|
3
|
-
import { Box as
|
|
4
|
-
import { L as
|
|
5
|
-
import { jsx as
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
import { m as o } from "framer-motion";
|
|
2
|
+
import { alpha as a } from "@mui/material/styles";
|
|
3
|
+
import { styled as l, Box as n } from "@mui/material";
|
|
4
|
+
import { L as p } from "../../../assets/Logo/index.228dcb5a.js";
|
|
5
|
+
import { jsx as e, Fragment as m, jsxs as h } from "react/jsx-runtime";
|
|
6
|
+
const u = l("div", {
|
|
7
|
+
shouldForwardProp: (t) => t !== "variant"
|
|
8
|
+
})(({
|
|
9
|
+
theme: t,
|
|
10
|
+
variant: i
|
|
8
11
|
}) => ({
|
|
9
12
|
right: 0,
|
|
10
13
|
bottom: 0,
|
|
@@ -15,16 +18,23 @@ const m = d("div")(({
|
|
|
15
18
|
display: "flex",
|
|
16
19
|
alignItems: "center",
|
|
17
20
|
justifyContent: "center",
|
|
18
|
-
backgroundColor:
|
|
21
|
+
backgroundColor: t.palette.background.default,
|
|
22
|
+
...i === "microfrontend" && {
|
|
23
|
+
position: "relative",
|
|
24
|
+
zIndex: 0
|
|
25
|
+
}
|
|
19
26
|
}));
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
function y(t) {
|
|
28
|
+
const {
|
|
29
|
+
isDashboard: i,
|
|
30
|
+
variant: d = "fullpage",
|
|
31
|
+
...s
|
|
32
|
+
} = t;
|
|
33
|
+
return /* @__PURE__ */ e(m, {
|
|
34
|
+
children: !i && /* @__PURE__ */ h(u, {
|
|
35
|
+
variant: d,
|
|
36
|
+
...s,
|
|
37
|
+
children: [/* @__PURE__ */ e(o.div, {
|
|
28
38
|
initial: {
|
|
29
39
|
rotateY: 0
|
|
30
40
|
},
|
|
@@ -37,15 +47,15 @@ function x({
|
|
|
37
47
|
repeatDelay: 1,
|
|
38
48
|
repeat: 1 / 0
|
|
39
49
|
},
|
|
40
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ e(p, {
|
|
41
51
|
disabledLink: !0,
|
|
42
52
|
sx: {
|
|
43
53
|
width: 32,
|
|
44
54
|
height: 32
|
|
45
55
|
}
|
|
46
56
|
})
|
|
47
|
-
}), /* @__PURE__ */
|
|
48
|
-
component:
|
|
57
|
+
}), /* @__PURE__ */ e(n, {
|
|
58
|
+
component: o.div,
|
|
49
59
|
animate: {
|
|
50
60
|
scale: [1.2, 1, 1, 1.2, 1.2],
|
|
51
61
|
rotate: [270, 0, 0, 270, 270],
|
|
@@ -62,10 +72,10 @@ function x({
|
|
|
62
72
|
height: 50,
|
|
63
73
|
borderRadius: "25%",
|
|
64
74
|
position: "absolute",
|
|
65
|
-
border: (
|
|
75
|
+
border: (r) => `solid 3px ${a(r.palette.primary.dark, 0.24)}`
|
|
66
76
|
}
|
|
67
|
-
}), /* @__PURE__ */
|
|
68
|
-
component:
|
|
77
|
+
}), /* @__PURE__ */ e(n, {
|
|
78
|
+
component: o.div,
|
|
69
79
|
animate: {
|
|
70
80
|
scale: [1, 1.2, 1.2, 1, 1],
|
|
71
81
|
rotate: [0, 270, 270, 0, 0],
|
|
@@ -82,12 +92,12 @@ function x({
|
|
|
82
92
|
height: 60,
|
|
83
93
|
borderRadius: "25%",
|
|
84
94
|
position: "absolute",
|
|
85
|
-
border: (
|
|
95
|
+
border: (r) => `solid 8px ${a(r.palette.primary.dark, 0.24)}`
|
|
86
96
|
}
|
|
87
97
|
})]
|
|
88
98
|
})
|
|
89
99
|
});
|
|
90
100
|
}
|
|
91
101
|
export {
|
|
92
|
-
|
|
102
|
+
y as L
|
|
93
103
|
};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare
|
|
4
|
-
isDashboard?: boolean;
|
|
5
|
-
sx?: SxProps;
|
|
6
|
-
};
|
|
7
|
-
export declare function LoadingScreen({ isDashboard, ...other }: Props): JSX.Element;
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
export declare function LoadingScreen(props: Props): JSX.Element;
|
|
8
4
|
export default LoadingScreen;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RootStyleProps } from './types';
|
|
3
|
+
export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & RootStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -5,6 +5,7 @@ export { BoxIcon } from './BoxIcon';
|
|
|
5
5
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
6
6
|
export type { TLink } from './Breadcrumbs/types';
|
|
7
7
|
export { Button } from './Button';
|
|
8
|
+
export { CircularProgress } from './CircularProgress';
|
|
8
9
|
export { IconButton } from './IconButton';
|
|
9
10
|
export { LinkWithRoute } from './LinkWithRoute';
|
|
10
11
|
export { LoadingButton } from './LoadingButton';
|
package/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import { I as N, a as h } from "./components/mui_extended/IconButton/index.4b5ce
|
|
|
2
2
|
import "framer-motion";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
|
-
import
|
|
5
|
+
import "@mui/material/styles";
|
|
6
|
+
import "react-router-dom";
|
|
7
|
+
import { L as U } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
6
8
|
import "@m4l/core";
|
|
7
9
|
import "react-hook-form";
|
|
8
10
|
import { R as k } from "./components/hook-form/RHFAutocomplete/index.ee3d9b3c.js";
|
|
@@ -14,13 +16,11 @@ import { R as q } from "./components/hook-form/RHFDateTime/index.5ed774e3.js";
|
|
|
14
16
|
import "@mui/x-date-pickers";
|
|
15
17
|
import { R as K, a as Q } from "./components/hook-form/RHFTextField/index.bab2a2cf.js";
|
|
16
18
|
import { I as Y } from "./components/Icon/index.f569765b.js";
|
|
17
|
-
import "@mui/material/styles";
|
|
18
19
|
import { R as _ } from "./components/hook-form/RHFPeriod/index.fc3af81f.js";
|
|
19
20
|
import { E as oo } from "./components/ErrorLabel/index.c8615f16.js";
|
|
20
21
|
import { P as to, g as ao } from "./components/Period/index.ba6c0e11.js";
|
|
21
22
|
import { b as mo, M as so, d as io, g as po } from "./components/CommonActions/components/Actions/index.edceed6b.js";
|
|
22
23
|
import "@mui/material/Button";
|
|
23
|
-
import "react-router-dom";
|
|
24
24
|
import { M as xo, a as fo } from "./contexts/ModalContext/index.33dc1be9.js";
|
|
25
25
|
import "@mui/lab";
|
|
26
26
|
import "lodash/isString";
|
|
@@ -64,20 +64,21 @@ import { R as Ir } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
|
64
64
|
import { R as Sr } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
65
65
|
import { B as Nr } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
66
66
|
import { B as Or } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import { A as mt } from "./components/CommonActions/components/
|
|
74
|
-
import { A as it } from "./components/CommonActions/components/
|
|
75
|
-
import { A as nt } from "./components/CommonActions/components/
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import { u as ut } from "./hooks/
|
|
80
|
-
import {
|
|
67
|
+
import { C as jr } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
68
|
+
import { L as Gr } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
69
|
+
import { T as Vr } from "./components/mui_extended/Typography/index.e5494696.js";
|
|
70
|
+
import { B as Wr, c as qr } from "./components/formatters/BooleanFormatter/index.3ec56305.js";
|
|
71
|
+
import { D as Kr, c as Qr } from "./components/formatters/DateFormatter/index.08d8823b.js";
|
|
72
|
+
import { P as Yr, a as Zr, U as _r, e as $r, b as ot, c as rt, d as tt, g as at } from "./components/formatters/index.6959c2de.js";
|
|
73
|
+
import { A as mt } from "./components/CommonActions/components/ActionCancel/index.7b862bd3.js";
|
|
74
|
+
import { A as it } from "./components/CommonActions/components/ActionIntro/index.35c8757f.js";
|
|
75
|
+
import { A as nt } from "./components/CommonActions/components/ActionFormCancel/index.b59a0011.js";
|
|
76
|
+
import { A as ft } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
77
|
+
import { L as lt } from "./components/Loadable/index.f5518558.js";
|
|
78
|
+
import { S as gt } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
79
|
+
import { u as ut } from "./hooks/useFormAddEdit/index.d4845f1a.js";
|
|
80
|
+
import { u as Rt } from "./hooks/useModal/index.34cc1e55.js";
|
|
81
|
+
import { L as Pt } from "./assets/Logo/index.228dcb5a.js";
|
|
81
82
|
import "./utils/index.214d9542.js";
|
|
82
83
|
import "./react-data-grid.d46d625e.js";
|
|
83
84
|
import "clsx";
|
|
@@ -90,18 +91,19 @@ import "./commonjs.565e6834.js";
|
|
|
90
91
|
import "react-helmet-async";
|
|
91
92
|
export {
|
|
92
93
|
Fo as Accordion,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
mt as ActionCancel,
|
|
95
|
+
nt as ActionFormCancel,
|
|
96
|
+
ft as ActionFormIntro,
|
|
97
|
+
it as ActionIntro,
|
|
97
98
|
mo as Actions,
|
|
98
99
|
Do as Avatar,
|
|
99
|
-
|
|
100
|
+
Wr as BooleanFormatter,
|
|
100
101
|
Nr as BoxIcon,
|
|
101
102
|
Or as Breadcrumbs,
|
|
102
103
|
yo as Button,
|
|
104
|
+
jr as CircularProgress,
|
|
103
105
|
To as DataGrid,
|
|
104
|
-
|
|
106
|
+
Kr as DateFormatter,
|
|
105
107
|
jo as DynamicFilter,
|
|
106
108
|
oo as ErrorLabel,
|
|
107
109
|
sr as HelmetPage,
|
|
@@ -110,11 +112,11 @@ export {
|
|
|
110
112
|
h as IconButtonAnimate,
|
|
111
113
|
z as Image,
|
|
112
114
|
Co as LanguagePopover,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
Gr as LinkWithRoute,
|
|
116
|
+
lt as Loadable,
|
|
115
117
|
Po as LoadingButton,
|
|
116
118
|
U as LoadingScreen,
|
|
117
|
-
|
|
119
|
+
Pt as Logo,
|
|
118
120
|
so as MenuActions,
|
|
119
121
|
xo as ModalContext,
|
|
120
122
|
Wo as ModalDialog,
|
|
@@ -127,9 +129,9 @@ export {
|
|
|
127
129
|
Ho as Pager,
|
|
128
130
|
er as PaperForm,
|
|
129
131
|
to as Period,
|
|
130
|
-
|
|
132
|
+
Yr as PointsFormatter,
|
|
131
133
|
Lo as Popover,
|
|
132
|
-
|
|
134
|
+
Zr as PriceFormatter,
|
|
133
135
|
pr as PropertyValue,
|
|
134
136
|
k as RHFAutocomplete,
|
|
135
137
|
Hr as RHFAutocompleteAsync,
|
|
@@ -145,34 +147,34 @@ export {
|
|
|
145
147
|
Vo as RHFormProvider,
|
|
146
148
|
Qo as Resizeable,
|
|
147
149
|
Oo as ScrollBar,
|
|
148
|
-
|
|
150
|
+
gt as ScrollToTop,
|
|
149
151
|
xr as SplitLayout,
|
|
150
152
|
Bo as Tab,
|
|
151
153
|
Eo as TextEditor,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
154
|
+
Vr as Typography,
|
|
155
|
+
_r as UncertaintyFormatter,
|
|
156
|
+
qr as columnBooleanFormatter,
|
|
157
|
+
Qr as columnDateFormatter,
|
|
158
|
+
$r as columnNestedValueFormatter,
|
|
159
|
+
ot as columnPointsFormatter,
|
|
160
|
+
rt as columnUncertaintyFormatter,
|
|
159
161
|
io as defaultCommonActionsDictionary,
|
|
160
162
|
ko as defaultDynamicFilterDictionary,
|
|
161
|
-
|
|
163
|
+
tt as defaultFormattersDictionary,
|
|
162
164
|
qo as defaultModalDialogDictionary,
|
|
163
165
|
Zo as defaultNoItemSelectedDictionary,
|
|
164
166
|
rr as defaultObjectLogDictionary,
|
|
165
167
|
po as getCommonActionsDictionary,
|
|
166
168
|
Go as getDynamicFilterComponentsDictionary,
|
|
167
|
-
|
|
169
|
+
at as getFormattersComponentsDictionary,
|
|
168
170
|
No as getGridComponentsDictionary,
|
|
169
171
|
Jo as getModalDialogComponentsDictionary,
|
|
170
172
|
_o as getNoItemSelectedComponentsDictionary,
|
|
171
173
|
tr as getObjectLogsComponentsDictionary,
|
|
172
174
|
Mo as getPagerComponentsDictionary,
|
|
173
175
|
ao as getPeriodComponetsDictionary,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
ut as useFormAddEdit,
|
|
177
|
+
Rt as useModal,
|
|
176
178
|
dr as varBounce,
|
|
177
179
|
Fr as varContainer,
|
|
178
180
|
cr as varFade,
|