@m4l/components 0.1.23 → 0.1.25

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.
Files changed (48) hide show
  1. package/components/CommonActions/components/ActionCancel/{index.7b862bd3.js → index.9cfffe65.js} +1 -1
  2. package/components/CommonActions/components/ActionFormCancel/{index.b59a0011.js → index.ef60c2ee.js} +2 -2
  3. package/components/CommonActions/components/ActionIntro/{index.35c8757f.js → index.f8403e8e.js} +1 -1
  4. package/components/CommonActions/components/Actions/{index.edceed6b.js → index.309d3b6f.js} +7 -7
  5. package/components/DataGrid/{index.cd4fff69.js → index.fe073438.js} +3 -3
  6. package/components/DynamicFilter/{index.4d3c60b4.js → index.d0753667.js} +14 -14
  7. package/components/ModalDialog/{index.e1f31e50.js → index.a24ca508.js} +2 -2
  8. package/components/ObjectLogs/{index.9c43ba69.js → index.a7d36267.js} +3 -3
  9. package/components/Period/index.080a987d.js +175 -0
  10. package/components/Period/styles.d.ts +2 -2
  11. package/components/Period/types.d.ts +4 -1
  12. package/components/hook-form/RHFAutocomplete/dictionary.d.ts +3 -0
  13. package/components/hook-form/RHFAutocomplete/index.5eee9d7c.js +174 -0
  14. package/components/hook-form/RHFAutocomplete/types.d.ts +0 -1
  15. package/components/hook-form/RHFAutocompleteAsync/dictionary.d.ts +3 -0
  16. package/components/hook-form/RHFAutocompleteAsync/index.757b5080.js +65 -0
  17. package/components/hook-form/RHFCheckbox/index.6dcec9e2.js +58 -0
  18. package/components/hook-form/RHFDateTime/index.9231a7c7.js +81 -0
  19. package/components/hook-form/RHFDateTime/subcomponents/Skeleton/index.d.ts +3 -0
  20. package/components/hook-form/RHFDateTime/{styles.d.ts → subcomponents/Skeleton/styles.d.ts} +0 -0
  21. package/components/hook-form/RHFDateTime/subcomponents/Skeleton/types.d.ts +2 -0
  22. package/components/hook-form/RHFPeriod/index.067790c9.js +51 -0
  23. package/components/hook-form/RHFPeriod/types.d.ts +3 -3
  24. package/components/hook-form/RHFTextField/index.ba2a8f67.js +129 -0
  25. package/components/hook-form/RHFTextField/index.d.ts +1 -1
  26. package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +1 -1
  27. package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +2 -4
  28. package/components/hook-form/RHFTextField/types.d.ts +1 -0
  29. package/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/styles.d.ts +1 -1
  30. package/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/subcomponents/Skeleton/index.d.ts +2 -0
  31. package/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/subcomponents/Skeleton/styles.d.ts +2 -0
  32. package/components/hook-form/RHFUpload/index.6347159a.js +258 -0
  33. package/components/hook-form/index.d.ts +2 -0
  34. package/components/mui_extended/Button/{index.6df3e958.js → index.2afaa420.js} +1 -1
  35. package/components/mui_extended/Pager/{index.b072df6b.js → index.a23cf8de.js} +1 -1
  36. package/components/mui_extended/Popover/{index.d708b699.js → index.12b0ab55.js} +3 -3
  37. package/contexts/ModalContext/{index.33dc1be9.js → index.f17b3653.js} +3 -3
  38. package/hooks/useModal/{index.34cc1e55.js → index.b1f96279.js} +1 -1
  39. package/index.js +140 -138
  40. package/package.json +1 -1
  41. package/components/Period/index.ba6c0e11.js +0 -159
  42. package/components/hook-form/RHFAutocomplete/index.ee3d9b3c.js +0 -171
  43. package/components/hook-form/RHFAutocompleteAsync/index.3b3da5f6.js +0 -73
  44. package/components/hook-form/RHFCheckbox/index.6a40e25f.js +0 -55
  45. package/components/hook-form/RHFDateTime/index.5ed774e3.js +0 -66
  46. package/components/hook-form/RHFPeriod/index.fc3af81f.js +0 -45
  47. package/components/hook-form/RHFTextField/index.bab2a2cf.js +0 -113
  48. package/components/hook-form/RHFUpload/index.56e2e277.js +0 -239
@@ -0,0 +1,258 @@
1
+ import { styled as w, Skeleton as p, FormHelperText as I } from "@mui/material";
2
+ import { useCallback as D } from "react";
3
+ import { useFormContext as y, Controller as N } from "react-hook-form";
4
+ import S from "lodash/isString";
5
+ import { useDropzone as m } from "react-dropzone";
6
+ import { styled as e, alpha as x } from "@mui/material/styles";
7
+ import { I as l } from "../../Image/index.c9da2d5a.js";
8
+ import { useEnvironment as z, useModuleDictionary as h, useModuleSkeleton as A } from "@m4l/core";
9
+ import { jsx as i, jsxs as n, Fragment as b } from "react/jsx-runtime";
10
+ const j = e("div")(({
11
+ theme: t
12
+ }) => ({
13
+ width: "inherit",
14
+ height: "100%",
15
+ minWidth: t.spacing(20),
16
+ margin: "auto",
17
+ borderRadius: t.spacing(1),
18
+ padding: t.spacing(1),
19
+ border: `1px dashed ${t.palette.divider}`
20
+ })), T = e("div")(({
21
+ theme: t
22
+ }) => ({
23
+ zIndex: 0,
24
+ width: "100%",
25
+ height: "100%",
26
+ outline: "none",
27
+ display: "flex",
28
+ overflow: "hidden",
29
+ borderRadius: t.spacing(1),
30
+ position: "relative",
31
+ alignItems: "center",
32
+ justifyContent: "center",
33
+ "& > *": {
34
+ width: "100%",
35
+ height: "100%"
36
+ },
37
+ "&:hover": {
38
+ cursor: "pointer",
39
+ "& .placeholder": {
40
+ zIndex: 9
41
+ }
42
+ }
43
+ })), E = e("div")(({
44
+ theme: t
45
+ }) => ({
46
+ "&:hover": {
47
+ opacity: 1
48
+ },
49
+ display: "flex",
50
+ justifyContent: "center",
51
+ position: "absolute",
52
+ zIndex: "2",
53
+ inset: "0",
54
+ transition: t.transitions.create("opacity", {
55
+ easing: t.transitions.easing.easeInOut,
56
+ duration: t.transitions.duration.shorter
57
+ }),
58
+ overflow: "auto"
59
+ })), v = e("div")(({
60
+ theme: t
61
+ }) => ({
62
+ padding: t.spacing(3, 5),
63
+ display: "flex",
64
+ flexWrap: "wrap",
65
+ justifyContent: "center",
66
+ width: "100%",
67
+ height: "100%",
68
+ gap: t.spacing(3)
69
+ })), U = e("div")(({
70
+ theme: t
71
+ }) => ({
72
+ display: "flex",
73
+ justifyContent: "center",
74
+ flexDirection: "column",
75
+ gap: t.spacing(3)
76
+ })), Y = e("span")(({
77
+ theme: t
78
+ }) => ({
79
+ ...t.typography.subtitle2,
80
+ width: "fit-content"
81
+ })), H = e("span")(({
82
+ theme: t
83
+ }) => ({
84
+ ...t.typography.body2,
85
+ minWidth: t.spacing(20)
86
+ })), k = e("span")(({
87
+ theme: t
88
+ }) => ({
89
+ ...t.typography.caption,
90
+ width: "fit-content"
91
+ })), G = e("div")(({
92
+ theme: t
93
+ }) => ({
94
+ display: "flex",
95
+ alignItems: "center",
96
+ maxWidth: t.spacing(20)
97
+ }));
98
+ e("div")(() => ({
99
+ width: "100%",
100
+ height: "100%",
101
+ position: "absolute",
102
+ inset: "0",
103
+ display: "flex",
104
+ justifyContent: "center",
105
+ alignItems: "center"
106
+ }));
107
+ const Q = w("div")(({
108
+ theme: t
109
+ }) => ({
110
+ maskPosition: "center!important",
111
+ maskRepeat: "no-repeat!important",
112
+ WebkitMaskRepeat: "no-repeat!important",
113
+ border: `1px dashed ${t.palette.divider}`,
114
+ width: "100%",
115
+ height: "100%",
116
+ mask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc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lsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
118
+ })), f = () => /* @__PURE__ */ i(j, {
119
+ children: /* @__PURE__ */ i(Q, {
120
+ children: /* @__PURE__ */ i(p, {
121
+ variant: "rectangular",
122
+ width: "100%",
123
+ height: "100%"
124
+ })
125
+ })
126
+ });
127
+ function Z({
128
+ error: t,
129
+ file: M,
130
+ helperText: s,
131
+ sx: a,
132
+ ...c
133
+ }) {
134
+ const {
135
+ getRootProps: L,
136
+ getInputProps: o,
137
+ isDragActive: r,
138
+ isDragReject: d
139
+ } = m({
140
+ multiple: !1,
141
+ ...c
142
+ }), {
143
+ host_static_assets: C,
144
+ environment_assets: g
145
+ } = z(), {
146
+ getLabel: u
147
+ } = h();
148
+ return A() ? /* @__PURE__ */ i(f, {}) : /* @__PURE__ */ n(b, {
149
+ children: [/* @__PURE__ */ i(j, {
150
+ sx: {
151
+ ...(d || t) && {
152
+ borderColor: "error.light"
153
+ },
154
+ ...a
155
+ },
156
+ children: /* @__PURE__ */ n(T, {
157
+ id: "DropZoneStyle",
158
+ ...L(),
159
+ sx: {
160
+ ...r && {
161
+ opacity: 0.72
162
+ }
163
+ },
164
+ children: [/* @__PURE__ */ i("input", {
165
+ ...o()
166
+ }), M && /* @__PURE__ */ i(l, {
167
+ alt: "avatar",
168
+ src: S(M) ? M : M.preview || "",
169
+ width: "100%"
170
+ }), /* @__PURE__ */ i(E, {
171
+ id: "PlaceholderStyle",
172
+ className: "placeholder",
173
+ sx: {
174
+ ...M ? {
175
+ bgcolor: x("#161C24", 0.72),
176
+ color: "common.white",
177
+ opacity: 0
178
+ } : {
179
+ opacity: 1
180
+ },
181
+ ...(d || t) && {
182
+ bgcolor: "error.lighter",
183
+ borderColor: "error.light",
184
+ color: "error.main"
185
+ }
186
+ },
187
+ children: /* @__PURE__ */ n(v, {
188
+ className: "ContainerUploadBody",
189
+ children: [/* @__PURE__ */ i(G, {
190
+ children: /* @__PURE__ */ i(l, {
191
+ src: `${C}/${g}/frontend/components/upload_image/assets/img/upload_image_illustration.svg`,
192
+ width: "100%",
193
+ height: "auto"
194
+ })
195
+ }), /* @__PURE__ */ n(U, {
196
+ children: [/* @__PURE__ */ i(Y, {
197
+ children: u(M ? "upload_image.title_update" : "upload_image.title_upload")
198
+ }), /* @__PURE__ */ i(H, {
199
+ children: u("upload_image.description")
200
+ }), /* @__PURE__ */ i(k, {
201
+ children: u("upload_image.conditions")
202
+ })]
203
+ })]
204
+ })
205
+ })]
206
+ })
207
+ }), s && s]
208
+ });
209
+ }
210
+ const W = w("div")(() => ({
211
+ width: "inherit",
212
+ height: "inherit",
213
+ padding: "1px"
214
+ }));
215
+ function $({
216
+ name: t,
217
+ ...M
218
+ }) {
219
+ const {
220
+ control: s,
221
+ setValue: a
222
+ } = y(), c = D((L) => {
223
+ const o = L[0];
224
+ o && a(t, Object.assign(o, {
225
+ preview: URL.createObjectURL(o)
226
+ }));
227
+ }, [a]);
228
+ return /* @__PURE__ */ i(N, {
229
+ name: t,
230
+ control: s,
231
+ render: ({
232
+ field: L,
233
+ fieldState: {
234
+ error: o
235
+ }
236
+ }) => {
237
+ const r = !!o && !L.value;
238
+ return /* @__PURE__ */ n(W, {
239
+ children: [/* @__PURE__ */ i(Z, {
240
+ onDrop: c,
241
+ error: r,
242
+ ...M,
243
+ file: L.value
244
+ }), r && /* @__PURE__ */ i(I, {
245
+ error: !0,
246
+ sx: {
247
+ px: 2,
248
+ textAlign: "center"
249
+ },
250
+ children: o.message
251
+ })]
252
+ });
253
+ }
254
+ });
255
+ }
256
+ export {
257
+ $ as R
258
+ };
@@ -1,5 +1,7 @@
1
1
  export { RHFAutocomplete } from './RHFAutocomplete';
2
+ export { getRHFAutocompleteComponentsDictionary } from './RHFAutocomplete/dictionary';
2
3
  export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
4
+ export { getRHFAutocompleteAsyncComponentsDictionary } from './RHFAutocompleteAsync/dictionary';
3
5
  export { RHFCheckbox } from './RHFCheckbox';
4
6
  export { RHFDateTime } from './RHFDateTime';
5
7
  export { RHFMultiCheckbox } from './RHFMultiCheckbox';
@@ -5,7 +5,7 @@ import { jsx as i } from "react/jsx-runtime";
5
5
  import { LoadingButton as b } from "@mui/lab";
6
6
  import { I as x } from "../IconButton/index.4b5ce8b5.js";
7
7
  import { styled as h, alpha as F } from "@mui/material/styles";
8
- import { u as L } from "../../DynamicFilter/index.4d3c60b4.js";
8
+ import { u as L } from "../../DynamicFilter/index.d0753667.js";
9
9
  import { useMemo as u } from "react";
10
10
  import { I as $ } from "../../Image/index.c9da2d5a.js";
11
11
  const G = (t) => g() ? /* @__PURE__ */ i(m, {
@@ -1,6 +1,6 @@
1
1
  import { useMemo as y } from "react";
2
2
  import { Skeleton as i, TablePagination as R } from "@mui/material";
3
- import { P as S } from "../../CommonActions/components/Actions/index.edceed6b.js";
3
+ import { P as S } from "../../CommonActions/components/Actions/index.309d3b6f.js";
4
4
  import { styled as a } from "@mui/material/styles";
5
5
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
6
6
  a("div")(() => ({
@@ -11,9 +11,9 @@ import "../Avatar/index.dadb0528.js";
11
11
  import "react-router-dom";
12
12
  import "@mui/material/Button";
13
13
  import "@mui/lab";
14
- import { I as S } from "../Button/index.6df3e958.js";
15
- import "../../CommonActions/components/Actions/index.edceed6b.js";
16
- import "../Pager/index.b072df6b.js";
14
+ import { I as S } from "../Button/index.2afaa420.js";
15
+ import "../../CommonActions/components/Actions/index.309d3b6f.js";
16
+ import "../Pager/index.a23cf8de.js";
17
17
  import "../Tab/index.e0653a0a.js";
18
18
  const O = I("span")(({
19
19
  arrowType: t,
@@ -4,9 +4,9 @@ import { Typography as M } from "@mui/material";
4
4
  import { styled as l } from "@mui/material/styles";
5
5
  import { B as I } from "../../components/mui_extended/BoxIcon/index.e638ecc8.js";
6
6
  import { jsx as t, jsxs as p, Fragment as _ } from "react/jsx-runtime";
7
- import { M as k } from "../../components/ModalDialog/index.e1f31e50.js";
8
- import { A as $ } from "../../components/CommonActions/components/ActionIntro/index.35c8757f.js";
9
- import { A as b } from "../../components/CommonActions/components/ActionCancel/index.7b862bd3.js";
7
+ import { M as k } from "../../components/ModalDialog/index.a24ca508.js";
8
+ import { A as $ } from "../../components/CommonActions/components/ActionIntro/index.f8403e8e.js";
9
+ import { A as b } from "../../components/CommonActions/components/ActionCancel/index.9cfffe65.js";
10
10
  import { b as A } from "../../utils/index.214d9542.js";
11
11
  const j = l("div")(() => ({
12
12
  display: "flex",
@@ -1,5 +1,5 @@
1
1
  import { useContext as t } from "react";
2
- import { M as e } from "../../contexts/ModalContext/index.33dc1be9.js";
2
+ import { M as e } from "../../contexts/ModalContext/index.f17b3653.js";
3
3
  function s() {
4
4
  const o = t(e);
5
5
  if (!o)
package/index.js CHANGED
@@ -7,78 +7,78 @@ import "react-router-dom";
7
7
  import { L as U } from "./components/animate/LoadingScreen/index.1d0c4307.js";
8
8
  import "@m4l/core";
9
9
  import "react-hook-form";
10
- import { R as k } from "./components/hook-form/RHFAutocomplete/index.ee3d9b3c.js";
10
+ import { R as k, g as G } from "./components/hook-form/RHFAutocomplete/index.5eee9d7c.js";
11
11
  import "react";
12
- import { I as z } from "./components/Image/index.c9da2d5a.js";
12
+ import { I as V } from "./components/Image/index.c9da2d5a.js";
13
13
  import "lodash/debounce";
14
- import { R as w } from "./components/hook-form/RHFCheckbox/index.6a40e25f.js";
15
- import { R as q } from "./components/hook-form/RHFDateTime/index.5ed774e3.js";
14
+ import { R as W } from "./components/hook-form/RHFCheckbox/index.6dcec9e2.js";
16
15
  import "@mui/x-date-pickers";
17
- import { R as K, a as Q } from "./components/hook-form/RHFTextField/index.bab2a2cf.js";
18
- import { I as Y } from "./components/Icon/index.f569765b.js";
19
- import { R as _ } from "./components/hook-form/RHFPeriod/index.fc3af81f.js";
20
- import { E as oo } from "./components/ErrorLabel/index.c8615f16.js";
21
- import { P as to, g as ao } from "./components/Period/index.ba6c0e11.js";
22
- import { b as mo, M as so, d as io, g as po } from "./components/CommonActions/components/Actions/index.edceed6b.js";
16
+ import { R as J } from "./components/hook-form/RHFDateTime/index.9231a7c7.js";
17
+ import { R as Q, a as X } from "./components/hook-form/RHFTextField/index.ba2a8f67.js";
18
+ import { I as Z } from "./components/Icon/index.f569765b.js";
19
+ import { R as $ } from "./components/hook-form/RHFPeriod/index.067790c9.js";
20
+ import { E as ro } from "./components/ErrorLabel/index.c8615f16.js";
21
+ import { P as ao, g as eo } from "./components/Period/index.080a987d.js";
22
+ import { b as so, M as io, d as po, g as no } from "./components/CommonActions/components/Actions/index.309d3b6f.js";
23
23
  import "@mui/material/Button";
24
- import { M as xo, a as fo } from "./contexts/ModalContext/index.33dc1be9.js";
24
+ import { M as xo, a as fo } from "./contexts/ModalContext/index.f17b3653.js";
25
25
  import "@mui/lab";
26
26
  import "lodash/isString";
27
27
  import "react-dropzone";
28
- import { R as lo } from "./components/hook-form/RHFUpload/index.56e2e277.js";
29
- import { A as Fo } from "./components/mui_extended/Accordion/index.49f5df8e.js";
30
- import { A as Do } from "./components/mui_extended/Avatar/index.dadb0528.js";
31
- import { B as yo, L as Po } from "./components/mui_extended/Button/index.6df3e958.js";
32
- import { L as Co, P as Lo } from "./components/mui_extended/Popover/index.d708b699.js";
33
- import { P as Ho, g as Mo } from "./components/mui_extended/Pager/index.b072df6b.js";
34
- import { T as Bo } from "./components/mui_extended/Tab/index.e0653a0a.js";
35
- import { D as To, N as So, T as Eo, g as No } from "./components/DataGrid/index.cd4fff69.js";
28
+ import { R as go } from "./components/hook-form/RHFUpload/index.6347159a.js";
29
+ import { A as uo } from "./components/mui_extended/Accordion/index.49f5df8e.js";
30
+ import { A as yo } from "./components/mui_extended/Avatar/index.dadb0528.js";
31
+ import { B as Ao, L as Po } from "./components/mui_extended/Button/index.2afaa420.js";
32
+ import { L as Lo, P as Ho } from "./components/mui_extended/Popover/index.12b0ab55.js";
33
+ import { P as Mo, g as bo } from "./components/mui_extended/Pager/index.a23cf8de.js";
34
+ import { T as Io } from "./components/mui_extended/Tab/index.e0653a0a.js";
35
+ import { D as So, N as Eo, T as No, g as ho } from "./components/DataGrid/index.fe073438.js";
36
36
  import "react-dnd";
37
37
  import "react-dnd-html5-backend";
38
38
  import "@m4l/graphics";
39
- import { S as Oo } from "./components/ScrollBar/index.39eeb2de.js";
40
- import { D as jo, d as ko, g as Go } from "./components/DynamicFilter/index.4d3c60b4.js";
39
+ import { S as Uo } from "./components/ScrollBar/index.39eeb2de.js";
40
+ import { D as ko, d as Go, g as zo } from "./components/DynamicFilter/index.d0753667.js";
41
41
  import "simplebar/dist/simplebar.min.css";
42
- import { R as Vo } from "./components/contexts/RHFormContext/index.33dba822.js";
42
+ import { R as wo } from "./components/contexts/RHFormContext/index.33dba822.js";
43
43
  import "yup";
44
44
  import "./react-draggable.20e95c61.js";
45
- import { M as Wo, d as qo, g as Jo } from "./components/ModalDialog/index.e1f31e50.js";
46
- import { R as Qo } from "./components/Resizeable/index.45995d2b.js";
47
- import { N as Yo, d as Zo, g as _o } from "./components/NoItemSelected/index.9609a7f7.js";
48
- import { O as or, d as rr, g as tr } from "./components/ObjectLogs/index.9c43ba69.js";
45
+ import { M as qo, d as Jo, g as Ko } from "./components/ModalDialog/index.a24ca508.js";
46
+ import { R as Xo } from "./components/Resizeable/index.45995d2b.js";
47
+ import { N as Zo, d as _o, g as $o } from "./components/NoItemSelected/index.9609a7f7.js";
48
+ import { O as rr, d as tr, g as ar } from "./components/ObjectLogs/index.a7d36267.js";
49
49
  import "./react-json-view.f56a7f8e.js";
50
- import { P as er } from "./components/PaperForm/index.3f8c7ef2.js";
51
- import { H as sr } from "./components/Page/index.fc660ee5.js";
52
- import { P as pr } from "./components/PropertyValue/index.ab3dd7e9.js";
50
+ import { P as mr } from "./components/PaperForm/index.3f8c7ef2.js";
51
+ import { H as ir } from "./components/Page/index.fc660ee5.js";
52
+ import { P as nr } from "./components/PropertyValue/index.ab3dd7e9.js";
53
53
  import "./react-splitter-layout.7810ac1b.js";
54
54
  import { S as xr } from "./components/SplitLayout/index.4032673d.js";
55
- import { v as cr } from "./components/animate/variants/fade.b561c0fc.js";
56
- import { v as dr } from "./components/animate/variants/bounce.784aaaaa.js";
57
- import { v as Fr } from "./components/animate/variants/container.11f82b76.js";
58
- import { v as Dr, a as Rr, b as yr } from "./components/animate/variants/transition.bd46b9ce.js";
59
- import { M as Ar } from "./components/animate/MotionContainer/index.8d9f9d80.js";
60
- import { M as Lr } from "./components/animate/MotionLazyContainer/index.572dd012.js";
61
- import { R as Hr } from "./components/hook-form/RHFAutocompleteAsync/index.3b3da5f6.js";
62
- import { R as br } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
63
- import { R as Ir } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
64
- import { R as Sr } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
65
- import { B as Nr } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
66
- import { B as Or } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
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";
55
+ import { v as lr } from "./components/animate/variants/fade.b561c0fc.js";
56
+ import { v as gr } from "./components/animate/variants/bounce.784aaaaa.js";
57
+ import { v as ur } from "./components/animate/variants/container.11f82b76.js";
58
+ import { v as yr, a as Rr, b as Ar } from "./components/animate/variants/transition.bd46b9ce.js";
59
+ import { M as Cr } from "./components/animate/MotionContainer/index.8d9f9d80.js";
60
+ import { M as Hr } from "./components/animate/MotionLazyContainer/index.572dd012.js";
61
+ import { R as Mr, g as br } from "./components/hook-form/RHFAutocompleteAsync/index.757b5080.js";
62
+ import { R as Ir } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
63
+ import { R as Sr } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
64
+ import { R as Nr } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
65
+ import { B as Or } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
66
+ import { B as jr } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
67
+ import { C as Gr } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
68
+ import { L as Vr } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
69
+ import { T as Wr } from "./components/mui_extended/Typography/index.e5494696.js";
70
+ import { B as Jr, c as Kr } from "./components/formatters/BooleanFormatter/index.3ec56305.js";
71
+ import { D as Xr, c as Yr } from "./components/formatters/DateFormatter/index.08d8823b.js";
72
+ import { P as _r, a as $r, U as ot, e as rt, b as tt, c as at, d as et, g as mt } from "./components/formatters/index.6959c2de.js";
73
+ import { A as it } from "./components/CommonActions/components/ActionCancel/index.9cfffe65.js";
74
+ import { A as nt } from "./components/CommonActions/components/ActionIntro/index.f8403e8e.js";
75
+ import { A as xt } from "./components/CommonActions/components/ActionFormCancel/index.ef60c2ee.js";
76
+ import { A as lt } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
77
+ import { L as gt } from "./components/Loadable/index.f5518558.js";
78
+ import { S as ut } from "./components/ScrollToTop/index.e06f98f6.js";
79
+ import { u as yt } from "./hooks/useFormAddEdit/index.d4845f1a.js";
80
+ import { u as At } from "./hooks/useModal/index.b1f96279.js";
81
+ import { L as Ct } from "./assets/Logo/index.228dcb5a.js";
82
82
  import "./utils/index.214d9542.js";
83
83
  import "./react-data-grid.d46d625e.js";
84
84
  import "clsx";
@@ -90,95 +90,97 @@ import "./react-resizable.5277deaf.js";
90
90
  import "./commonjs.565e6834.js";
91
91
  import "react-helmet-async";
92
92
  export {
93
- Fo as Accordion,
94
- mt as ActionCancel,
95
- nt as ActionFormCancel,
96
- ft as ActionFormIntro,
97
- it as ActionIntro,
98
- mo as Actions,
99
- Do as Avatar,
100
- Wr as BooleanFormatter,
101
- Nr as BoxIcon,
102
- Or as Breadcrumbs,
103
- yo as Button,
104
- jr as CircularProgress,
105
- To as DataGrid,
106
- Kr as DateFormatter,
107
- jo as DynamicFilter,
108
- oo as ErrorLabel,
109
- sr as HelmetPage,
110
- Y as Icon,
93
+ uo as Accordion,
94
+ it as ActionCancel,
95
+ xt as ActionFormCancel,
96
+ lt as ActionFormIntro,
97
+ nt as ActionIntro,
98
+ so as Actions,
99
+ yo as Avatar,
100
+ Jr as BooleanFormatter,
101
+ Or as BoxIcon,
102
+ jr as Breadcrumbs,
103
+ Ao as Button,
104
+ Gr as CircularProgress,
105
+ So as DataGrid,
106
+ Xr as DateFormatter,
107
+ ko as DynamicFilter,
108
+ ro as ErrorLabel,
109
+ ir as HelmetPage,
110
+ Z as Icon,
111
111
  N as IconButton,
112
112
  h as IconButtonAnimate,
113
- z as Image,
114
- Co as LanguagePopover,
115
- Gr as LinkWithRoute,
116
- lt as Loadable,
113
+ V as Image,
114
+ Lo as LanguagePopover,
115
+ Vr as LinkWithRoute,
116
+ gt as Loadable,
117
117
  Po as LoadingButton,
118
118
  U as LoadingScreen,
119
- Pt as Logo,
120
- so as MenuActions,
119
+ Ct as Logo,
120
+ io as MenuActions,
121
121
  xo as ModalContext,
122
- Wo as ModalDialog,
122
+ qo as ModalDialog,
123
123
  fo as ModalProvider,
124
- Ar as MotionContainer,
125
- Lr as MotionLazyContainer,
126
- Yo as NoItemSelected,
127
- So as NumberEditor,
128
- or as ObjectLogs,
129
- Ho as Pager,
130
- er as PaperForm,
131
- to as Period,
132
- Yr as PointsFormatter,
133
- Lo as Popover,
134
- Zr as PriceFormatter,
135
- pr as PropertyValue,
124
+ Cr as MotionContainer,
125
+ Hr as MotionLazyContainer,
126
+ Zo as NoItemSelected,
127
+ Eo as NumberEditor,
128
+ rr as ObjectLogs,
129
+ Mo as Pager,
130
+ mr as PaperForm,
131
+ ao as Period,
132
+ _r as PointsFormatter,
133
+ Ho as Popover,
134
+ $r as PriceFormatter,
135
+ nr as PropertyValue,
136
136
  k as RHFAutocomplete,
137
- Hr as RHFAutocompleteAsync,
138
- w as RHFCheckbox,
139
- q as RHFDateTime,
140
- br as RHFMultiCheckbox,
141
- _ as RHFPeriod,
142
- Sr as RHFRadioGroup,
143
- Ir as RHFSelect,
144
- K as RHFTextField,
145
- Q as RHFTextFieldPassword,
146
- lo as RHFUploadImage,
147
- Vo as RHFormProvider,
148
- Qo as Resizeable,
149
- Oo as ScrollBar,
150
- gt as ScrollToTop,
137
+ Mr as RHFAutocompleteAsync,
138
+ W as RHFCheckbox,
139
+ J as RHFDateTime,
140
+ Ir as RHFMultiCheckbox,
141
+ $ as RHFPeriod,
142
+ Nr as RHFRadioGroup,
143
+ Sr as RHFSelect,
144
+ Q as RHFTextField,
145
+ X as RHFTextFieldPassword,
146
+ go as RHFUploadImage,
147
+ wo as RHFormProvider,
148
+ Xo as Resizeable,
149
+ Uo as ScrollBar,
150
+ ut as ScrollToTop,
151
151
  xr as SplitLayout,
152
- Bo as Tab,
153
- Eo as TextEditor,
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,
161
- io as defaultCommonActionsDictionary,
162
- ko as defaultDynamicFilterDictionary,
163
- tt as defaultFormattersDictionary,
164
- qo as defaultModalDialogDictionary,
165
- Zo as defaultNoItemSelectedDictionary,
166
- rr as defaultObjectLogDictionary,
167
- po as getCommonActionsDictionary,
168
- Go as getDynamicFilterComponentsDictionary,
169
- at as getFormattersComponentsDictionary,
170
- No as getGridComponentsDictionary,
171
- Jo as getModalDialogComponentsDictionary,
172
- _o as getNoItemSelectedComponentsDictionary,
173
- tr as getObjectLogsComponentsDictionary,
174
- Mo as getPagerComponentsDictionary,
175
- ao as getPeriodComponetsDictionary,
176
- ut as useFormAddEdit,
177
- Rt as useModal,
178
- dr as varBounce,
179
- Fr as varContainer,
180
- cr as varFade,
181
- Dr as varTranEnter,
152
+ Io as Tab,
153
+ No as TextEditor,
154
+ Wr as Typography,
155
+ ot as UncertaintyFormatter,
156
+ Kr as columnBooleanFormatter,
157
+ Yr as columnDateFormatter,
158
+ rt as columnNestedValueFormatter,
159
+ tt as columnPointsFormatter,
160
+ at as columnUncertaintyFormatter,
161
+ po as defaultCommonActionsDictionary,
162
+ Go as defaultDynamicFilterDictionary,
163
+ et as defaultFormattersDictionary,
164
+ Jo as defaultModalDialogDictionary,
165
+ _o as defaultNoItemSelectedDictionary,
166
+ tr as defaultObjectLogDictionary,
167
+ no as getCommonActionsDictionary,
168
+ zo as getDynamicFilterComponentsDictionary,
169
+ mt as getFormattersComponentsDictionary,
170
+ ho as getGridComponentsDictionary,
171
+ Ko as getModalDialogComponentsDictionary,
172
+ $o as getNoItemSelectedComponentsDictionary,
173
+ ar as getObjectLogsComponentsDictionary,
174
+ bo as getPagerComponentsDictionary,
175
+ eo as getPeriodComponetsDictionary,
176
+ br as getRHFAutocompleteAsyncComponentsDictionary,
177
+ G as getRHFAutocompleteComponentsDictionary,
178
+ yt as useFormAddEdit,
179
+ At as useModal,
180
+ gr as varBounce,
181
+ ur as varContainer,
182
+ lr as varFade,
183
+ yr as varTranEnter,
182
184
  Rr as varTranExit,
183
- yr as varTranHover
185
+ Ar as varTranHover
184
186
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
6
  "@m4l/core": "*",