@m4l/components 0.1.14 → 0.1.16
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.cba1b460.js → index.da4bb535.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.be2fe891.js → index.9362b6d7.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.cc4b1e0e.js → index.4f20aab4.js} +1 -1
- package/components/CommonActions/components/Actions/{index.e8148d98.js → index.2dd9c528.js} +7 -7
- package/components/DataGrid/{index.b688877d.js → index.551f8e82.js} +3 -3
- package/components/DynamicFilter/{index.82ce857e.js → index.1fbc198a.js} +108 -108
- package/components/LanguagePopover/{index.3d9611cb.js → index.f28a7043.js} +3 -3
- package/components/ModalDialog/{index.3850c053.js → index.79c802d0.js} +2 -2
- package/components/ObjectLogs/{index.27ef875d.js → index.be4e5cd2.js} +3 -3
- package/components/Period/{index.5e68286a.js → index.4e2d0244.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.23c254e9.js → index.342a725f.js} +1 -1
- package/components/mui_extended/Button/{index.84d8898c.js → index.ce236540.js} +1 -1
- package/components/mui_extended/Pager/{index.0576814f.js → index.b636ff30.js} +1 -1
- package/contexts/ModalContext/{index.2188b69e.js → index.0f9e02ca.js} +3 -3
- package/hooks/useModal/{index.6571d2d9.js → index.d72accf7.js} +1 -1
- package/index.js +16 -16
- package/package.json +1 -1
package/components/CommonActions/components/ActionCancel/{index.cba1b460.js → index.da4bb535.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useModuleDictionary as n } from "@m4l/core";
|
|
2
|
-
import { B as r } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as r } from "../../../mui_extended/Button/index.ce236540.js";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
const m = (o) => {
|
|
5
5
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.be2fe891.js → index.9362b6d7.js}
RENAMED
|
@@ -2,9 +2,9 @@ import { useFormContext as f, useFormState as p } from "react-hook-form";
|
|
|
2
2
|
import { useNavigate as C } from "react-router-dom";
|
|
3
3
|
import { useModuleDictionary as g, useModuleSkeleton as d } from "@m4l/core";
|
|
4
4
|
import { Skeleton as k } from "@mui/material";
|
|
5
|
-
import { B as _ } from "../../../mui_extended/Button/index.
|
|
5
|
+
import { B as _ } from "../../../mui_extended/Button/index.ce236540.js";
|
|
6
6
|
import { useCallback as v } from "react";
|
|
7
|
-
import { u as h } from "../../../../hooks/useModal/index.
|
|
7
|
+
import { u as h } from "../../../../hooks/useModal/index.d72accf7.js";
|
|
8
8
|
import { jsx as r } from "react/jsx-runtime";
|
|
9
9
|
function A(n) {
|
|
10
10
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.cc4b1e0e.js → index.4f20aab4.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useModuleDictionary as r } from "@m4l/core";
|
|
2
|
-
import { B as n } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as n } from "../../../mui_extended/Button/index.ce236540.js";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
const e = (o) => {
|
|
5
5
|
const {
|
|
@@ -2,20 +2,20 @@ import { jsx as e, jsxs as b, Fragment as W } from "react/jsx-runtime";
|
|
|
2
2
|
import { styled as p } from "@mui/material/styles";
|
|
3
3
|
import { useEnvironment as k, useModuleDictionary as T } from "@m4l/core";
|
|
4
4
|
import "@mui/material/Button";
|
|
5
|
-
import "../../../mui_extended/Button/index.
|
|
5
|
+
import "../../../mui_extended/Button/index.ce236540.js";
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
import { IconButton as nt, Tooltip as et, MenuItem as it, Skeleton as S, Checkbox as ot } from "@mui/material";
|
|
9
9
|
import { useState as L, useMemo as w, forwardRef as st, useRef as B, useImperativeHandle as rt, useEffect as at, useCallback as j } from "react";
|
|
10
|
-
import "../../../../contexts/ModalContext/index.
|
|
10
|
+
import "../../../../contexts/ModalContext/index.0f9e02ca.js";
|
|
11
11
|
import "@mui/lab";
|
|
12
12
|
import { I as v } from "../../../mui_extended/IconButton/index.88f3aadb.js";
|
|
13
|
-
import { u as I, a as lt, O as ct } from "../../../DataGrid/index.
|
|
14
|
-
import { P as dt } from "../../../mui_extended/Pager/index.
|
|
13
|
+
import { u as I, a as lt, O as ct } from "../../../DataGrid/index.551f8e82.js";
|
|
14
|
+
import { P as dt } from "../../../mui_extended/Pager/index.b636ff30.js";
|
|
15
15
|
import { D as pt } from "../../../../react-data-grid.d46d625e.js";
|
|
16
|
-
import { u as gt } from "../../../../hooks/useModal/index.
|
|
17
|
-
import { A as ft } from "../ActionCancel/index.
|
|
18
|
-
import { A as ut } from "../ActionIntro/index.
|
|
16
|
+
import { u as gt } from "../../../../hooks/useModal/index.d72accf7.js";
|
|
17
|
+
import { A as ft } from "../ActionCancel/index.da4bb535.js";
|
|
18
|
+
import { A as ut } from "../ActionIntro/index.4f20aab4.js";
|
|
19
19
|
import { M as mt } from "../../../mui_extended/MenuPopover/index.488fc536.js";
|
|
20
20
|
import { I as N } from "../../../Icon/index.cbca79b0.js";
|
|
21
21
|
import { useResponsiveDesktop as ht } from "@m4l/graphics";
|
|
@@ -6,9 +6,9 @@ import { HTML5Backend as ge } from "react-dnd-html5-backend";
|
|
|
6
6
|
import { SvgIcon as B, Checkbox as fe, InputBase as he, Skeleton as pe } from "@mui/material";
|
|
7
7
|
import { jsx as d, jsxs as Q } from "react/jsx-runtime";
|
|
8
8
|
import { voidFunction as I, useModuleDictionary as we, useModuleSkeleton as me } from "@m4l/core";
|
|
9
|
-
import { A as ye, a as Ce } from "../CommonActions/components/Actions/index.
|
|
10
|
-
import { g as be, d as ve } from "../ModalDialog/index.
|
|
11
|
-
import { g as xe, d as Re } from "../mui_extended/Pager/index.
|
|
9
|
+
import { A as ye, a as Ce } from "../CommonActions/components/Actions/index.2dd9c528.js";
|
|
10
|
+
import { g as be, d as ve } from "../ModalDialog/index.79c802d0.js";
|
|
11
|
+
import { g as xe, d as Re } from "../mui_extended/Pager/index.b636ff30.js";
|
|
12
12
|
const Se = A("div")(() => ({
|
|
13
13
|
display: "flex",
|
|
14
14
|
flexDirection: "column",
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { S as Be } from "../ScrollBar/index.39eeb2de.js";
|
|
2
2
|
import { styled as h } from "@mui/material/styles";
|
|
3
|
-
import
|
|
4
|
-
import { useModuleDictionary as $, useHostTools as z, useEnvironment as j, voidFunction as V, useFlagsPresent as
|
|
3
|
+
import { useRef as me, useState as S, useMemo as E, useCallback as _, useEffect as L, createContext as qe, useContext as Ne } from "react";
|
|
4
|
+
import { useModuleDictionary as $, useHostTools as z, useEnvironment as j, voidFunction as V, useFlagsPresent as He } from "@m4l/core";
|
|
5
5
|
import * as w from "yup";
|
|
6
6
|
import { useFormContext as M, useWatch as ge } from "react-hook-form";
|
|
7
|
-
import { F as
|
|
7
|
+
import { F as Ke } from "../hook-form/FormProvider/index.257acd9f.js";
|
|
8
8
|
import { jsx as r, jsxs as C, Fragment as A } from "react/jsx-runtime";
|
|
9
9
|
import { R } from "../hook-form/RHFAutocomplete/index.6ed76d4c.js";
|
|
10
|
-
import { alpha as
|
|
10
|
+
import { alpha as ze, styled as be, Skeleton as Fe, MenuItem as Ye, useTheme as Ge, Popper as Ue } from "@mui/material";
|
|
11
11
|
import "../hook-form/RHFAutocompleteAsync/index.8f2c97ea.js";
|
|
12
12
|
import "../hook-form/RHFCheckbox/index.f9ce6c39.js";
|
|
13
13
|
import { R as ee } from "../hook-form/RHFDateTime/index.fc5cbafe.js";
|
|
14
14
|
import "@mui/x-date-pickers";
|
|
15
15
|
import { R as Y } from "../hook-form/RHFTextField/index.4c455f75.js";
|
|
16
|
-
import "../hook-form/RHFPeriod/index.
|
|
16
|
+
import "../hook-form/RHFPeriod/index.342a725f.js";
|
|
17
17
|
import "../ErrorLabel/index.c8615f16.js";
|
|
18
|
-
import "../Period/index.
|
|
18
|
+
import "../Period/index.4e2d0244.js";
|
|
19
19
|
import { I as he } from "../Icon/index.cbca79b0.js";
|
|
20
|
-
import { L as
|
|
20
|
+
import { L as Je, b as Qe, g as Xe } from "../CommonActions/components/Actions/index.2dd9c528.js";
|
|
21
21
|
import "@mui/material/Button";
|
|
22
|
-
import { F as te } from "../mui_extended/Button/index.
|
|
22
|
+
import { F as te } from "../mui_extended/Button/index.ce236540.js";
|
|
23
23
|
import "react-router-dom";
|
|
24
|
-
import "../../contexts/ModalContext/index.
|
|
24
|
+
import "../../contexts/ModalContext/index.0f9e02ca.js";
|
|
25
25
|
import "@mui/lab";
|
|
26
26
|
import "../../lodash.e09401f0.js";
|
|
27
27
|
import "react-dropzone";
|
|
@@ -30,10 +30,10 @@ import "../Image/index.e790b50b.js";
|
|
|
30
30
|
import "../hook-form/RHFUpload/index.ed3d739f.js";
|
|
31
31
|
import { I as G } from "../mui_extended/IconButton/index.88f3aadb.js";
|
|
32
32
|
import "simplebar/dist/simplebar.min.css";
|
|
33
|
-
import { M as
|
|
34
|
-
import { A as
|
|
35
|
-
import { A as
|
|
36
|
-
import { useResponsiveDesktop as
|
|
33
|
+
import { M as Ze } from "../mui_extended/MenuPopover/index.488fc536.js";
|
|
34
|
+
import { A as et } from "../CommonActions/components/ActionCancel/index.da4bb535.js";
|
|
35
|
+
import { A as tt } from "../CommonActions/components/ActionIntro/index.4f20aab4.js";
|
|
36
|
+
import { useResponsiveDesktop as rt } from "@m4l/graphics";
|
|
37
37
|
const re = h("div")(({
|
|
38
38
|
theme: e
|
|
39
39
|
}) => ({
|
|
@@ -41,7 +41,7 @@ const re = h("div")(({
|
|
|
41
41
|
margin: e.spacing(0, 1),
|
|
42
42
|
paddingLeft: e.spacing(1),
|
|
43
43
|
borderLeft: `1px solid ${e.palette.divider}`
|
|
44
|
-
})),
|
|
44
|
+
})), nt = h("div")(({
|
|
45
45
|
theme: e
|
|
46
46
|
}) => ({
|
|
47
47
|
width: "100%",
|
|
@@ -65,7 +65,7 @@ const re = h("div")(({
|
|
|
65
65
|
type: "string",
|
|
66
66
|
multiple: !0,
|
|
67
67
|
presence: "optional"
|
|
68
|
-
},
|
|
68
|
+
}, ot = h("div")(({
|
|
69
69
|
theme: e
|
|
70
70
|
}) => ({
|
|
71
71
|
display: "flex",
|
|
@@ -76,9 +76,9 @@ const re = h("div")(({
|
|
|
76
76
|
minWidth: e.spacing(3.75),
|
|
77
77
|
padding: e.spacing(3, 0),
|
|
78
78
|
gap: e.spacing(3)
|
|
79
|
-
})),
|
|
79
|
+
})), it = h("div")(() => ({
|
|
80
80
|
width: "100%"
|
|
81
|
-
})),
|
|
81
|
+
})), at = (e, t, n) => {
|
|
82
82
|
const o = e.defaultOperand1, i = {
|
|
83
83
|
id: 0,
|
|
84
84
|
n: e.name,
|
|
@@ -92,7 +92,7 @@ const re = h("div")(({
|
|
|
92
92
|
};
|
|
93
93
|
return o !== void 0 && typeof o == "string" && (i.o1 = o), i.labelOperands = i.o1 + "", i.labelOperator = n(`dynamic_filter.operator_${i.o}`), i;
|
|
94
94
|
};
|
|
95
|
-
function
|
|
95
|
+
function lt() {
|
|
96
96
|
const {
|
|
97
97
|
popupData: {
|
|
98
98
|
filter: e,
|
|
@@ -128,9 +128,9 @@ function st() {
|
|
|
128
128
|
}), s(!0);
|
|
129
129
|
}, [a, e, t]), L(() => {
|
|
130
130
|
d.current?.focus();
|
|
131
|
-
}, [u]), /* @__PURE__ */ r(
|
|
131
|
+
}, [u]), /* @__PURE__ */ r(ot, {
|
|
132
132
|
children: u && /* @__PURE__ */ C(A, {
|
|
133
|
-
children: [/* @__PURE__ */ r(
|
|
133
|
+
children: [/* @__PURE__ */ r(it, {
|
|
134
134
|
children: /* @__PURE__ */ r(R, {
|
|
135
135
|
name: "valueOperator",
|
|
136
136
|
autoComplete: "off",
|
|
@@ -147,7 +147,7 @@ function st() {
|
|
|
147
147
|
})
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const st = h("div")(({
|
|
151
151
|
theme: e
|
|
152
152
|
}) => ({
|
|
153
153
|
display: "flex",
|
|
@@ -161,7 +161,7 @@ const dt = h("div")(({
|
|
|
161
161
|
gap: e.spacing(3)
|
|
162
162
|
})), ne = h("div")(() => ({
|
|
163
163
|
width: "100%"
|
|
164
|
-
})),
|
|
164
|
+
})), dt = (e, t, n) => {
|
|
165
165
|
const o = e.defaultOperand1, i = {
|
|
166
166
|
id: 0,
|
|
167
167
|
n: e.name,
|
|
@@ -175,7 +175,7 @@ const dt = h("div")(({
|
|
|
175
175
|
};
|
|
176
176
|
return i.labelOperator = n(`dynamic_filter.operator_${i.o}`), o !== void 0 && typeof o == "boolean" && (i.o1 = o), i.labelOperands = n(`dynamic_filter.operand_${i.o1}`), i;
|
|
177
177
|
};
|
|
178
|
-
function
|
|
178
|
+
function pt() {
|
|
179
179
|
const {
|
|
180
180
|
setPoupEditValidationSchema: e,
|
|
181
181
|
setFnTransformFormValuesIntoValues: t,
|
|
@@ -219,7 +219,7 @@ function ut() {
|
|
|
219
219
|
shouldTouch: !1,
|
|
220
220
|
shouldValidate: !1
|
|
221
221
|
}), u(!0);
|
|
222
|
-
}, [o]), /* @__PURE__ */ r(
|
|
222
|
+
}, [o]), /* @__PURE__ */ r(st, {
|
|
223
223
|
id: "WrapperAllFieldsFilter",
|
|
224
224
|
children: p && /* @__PURE__ */ C(A, {
|
|
225
225
|
children: [/* @__PURE__ */ r(ne, {
|
|
@@ -244,7 +244,7 @@ function ut() {
|
|
|
244
244
|
})
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const ut = h("div")(({
|
|
248
248
|
theme: e
|
|
249
249
|
}) => ({
|
|
250
250
|
display: "flex",
|
|
@@ -255,13 +255,13 @@ const ct = h("div")(({
|
|
|
255
255
|
minWidth: e.spacing(3.75),
|
|
256
256
|
padding: e.spacing(3, 0),
|
|
257
257
|
gap: e.spacing(3)
|
|
258
|
-
})),
|
|
258
|
+
})), ct = h("div")(() => ({
|
|
259
259
|
width: "100%"
|
|
260
260
|
}));
|
|
261
261
|
function oe(e) {
|
|
262
262
|
return e && e instanceof Date;
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const ft = (e) => !(typeof e.o != "string" || ye.findIndex((t) => t === e.o) === -1 || typeof e.o1 != "string"), mt = (e) => !(typeof e.o != "number" || ve.findIndex((t) => t === e.o) === -1 || typeof e.o1 != "number" || e.o === "b" && typeof e.o2 != "number"), gt = (e) => !(typeof e.o != "string" || Oe.findIndex((t) => t === e.o) === -1 || typeof e.o1 != "boolean"), bt = (e) => !(typeof e.o != "string" || _e.findIndex((t) => t === e.o) === -1 || typeof e.o1 != "string" || e.o === "b" && typeof e.o2 != "string"), Ft = (e, t, n, o) => {
|
|
265
265
|
const i = new Date(), a = new Date();
|
|
266
266
|
let d = e.defaultOperand1, p = e.defaultOperand2;
|
|
267
267
|
const u = {
|
|
@@ -277,7 +277,7 @@ const mt = (e) => !(typeof e.o != "string" || ye.findIndex((t) => t === e.o) ===
|
|
|
277
277
|
};
|
|
278
278
|
return d && (oe(d) ? i.setDate(d.getDate()) : d = void 0), d === void 0 && i.setHours(0, 0, 0, 0), p && (oe(p) ? a.setDate(p.getDate()) : p = void 0), p === void 0 && a.setHours(23, 59, 59, 999), u.o1 = i.toISOString(), u.o2 = a.toISOString(), u.labelOperands = `${o.formatDate(i, "yyyy-MM-dd HH:mm:ss")} - ${o.formatDate(a, "yyyy-MM-dd HH:mm:ss")}`, u.labelOperator = n(`dynamic_filter.operator_${u.o}`), u;
|
|
279
279
|
};
|
|
280
|
-
function
|
|
280
|
+
function ht() {
|
|
281
281
|
const {
|
|
282
282
|
setPoupEditValidationSchema: e,
|
|
283
283
|
setFnTransformFormValuesIntoValues: t,
|
|
@@ -334,9 +334,9 @@ function yt() {
|
|
|
334
334
|
shouldTouch: !1,
|
|
335
335
|
shouldValidate: !1
|
|
336
336
|
})), t(f), l(!0);
|
|
337
|
-
}, [o, d, p]), /* @__PURE__ */ r(
|
|
337
|
+
}, [o, d, p]), /* @__PURE__ */ r(ut, {
|
|
338
338
|
children: y && /* @__PURE__ */ C(A, {
|
|
339
|
-
children: [/* @__PURE__ */ r(
|
|
339
|
+
children: [/* @__PURE__ */ r(ct, {
|
|
340
340
|
children: /* @__PURE__ */ r(R, {
|
|
341
341
|
name: "valueOperator",
|
|
342
342
|
autoComplete: "off",
|
|
@@ -358,7 +358,7 @@ function yt() {
|
|
|
358
358
|
})
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
const
|
|
361
|
+
const yt = h("div")(({
|
|
362
362
|
theme: e
|
|
363
363
|
}) => ({
|
|
364
364
|
display: "flex",
|
|
@@ -369,9 +369,9 @@ const vt = h("div")(({
|
|
|
369
369
|
minWidth: e.spacing(3.75),
|
|
370
370
|
padding: e.spacing(3, 0),
|
|
371
371
|
gap: e.spacing(3)
|
|
372
|
-
})),
|
|
372
|
+
})), vt = h("div")(() => ({
|
|
373
373
|
width: "100%"
|
|
374
|
-
})),
|
|
374
|
+
})), Ot = (e, t, n) => {
|
|
375
375
|
const o = e.defaultOperand1, i = e.defaultOperand2, a = {
|
|
376
376
|
id: 0,
|
|
377
377
|
n: e.name,
|
|
@@ -385,7 +385,7 @@ const vt = h("div")(({
|
|
|
385
385
|
};
|
|
386
386
|
return o !== void 0 && typeof o == "number" && (a.o1 = o, a.labelOperands = a.o1), i !== void 0 && typeof i == "number" && (a.o2 = i), a.labelOperator = n(`dynamic_filter.operator_${a.o}`), a;
|
|
387
387
|
};
|
|
388
|
-
function
|
|
388
|
+
function _t() {
|
|
389
389
|
const {
|
|
390
390
|
popupData: {
|
|
391
391
|
filter: e,
|
|
@@ -438,9 +438,9 @@ function xt() {
|
|
|
438
438
|
})), g(!0);
|
|
439
439
|
}, [a, e, t]), L(() => {
|
|
440
440
|
d.current?.focus();
|
|
441
|
-
}, [s]), /* @__PURE__ */ r(
|
|
441
|
+
}, [s]), /* @__PURE__ */ r(yt, {
|
|
442
442
|
children: s && /* @__PURE__ */ C(A, {
|
|
443
|
-
children: [/* @__PURE__ */ r(
|
|
443
|
+
children: [/* @__PURE__ */ r(vt, {
|
|
444
444
|
children: /* @__PURE__ */ r(R, {
|
|
445
445
|
name: "valueOperator",
|
|
446
446
|
autoComplete: "off",
|
|
@@ -461,20 +461,20 @@ function xt() {
|
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
463
|
const ie = {
|
|
464
|
-
string:
|
|
465
|
-
number:
|
|
466
|
-
boolean:
|
|
467
|
-
datetime:
|
|
464
|
+
string: at,
|
|
465
|
+
number: Ot,
|
|
466
|
+
boolean: dt,
|
|
467
|
+
datetime: Ft,
|
|
468
468
|
__default__: () => {
|
|
469
469
|
throw new Error("Type no defined");
|
|
470
470
|
}
|
|
471
471
|
}, Ie = (e, t, n, o) => (ie[e.type] ?? ie.__default__)(e, t, n, o), ae = {
|
|
472
|
-
string:
|
|
473
|
-
number:
|
|
474
|
-
boolean:
|
|
475
|
-
datetime:
|
|
476
|
-
__default__:
|
|
477
|
-
},
|
|
472
|
+
string: lt,
|
|
473
|
+
number: _t,
|
|
474
|
+
boolean: pt,
|
|
475
|
+
datetime: ht,
|
|
476
|
+
__default__: /* @__PURE__ */ r(A, {})
|
|
477
|
+
}, xt = (e) => {
|
|
478
478
|
const {
|
|
479
479
|
getFieldByName: t
|
|
480
480
|
} = T(), n = t(e.filter.n);
|
|
@@ -482,7 +482,7 @@ const ie = {
|
|
|
482
482
|
return /* @__PURE__ */ r(A, {});
|
|
483
483
|
const o = ae[n.type] ?? ae.__default__;
|
|
484
484
|
return /* @__PURE__ */ r(o, {});
|
|
485
|
-
},
|
|
485
|
+
}, It = {
|
|
486
486
|
fields: [],
|
|
487
487
|
withAllField: !0,
|
|
488
488
|
isDirty: !1,
|
|
@@ -516,7 +516,7 @@ const ie = {
|
|
|
516
516
|
setFnTransformFormValuesIntoValues: V,
|
|
517
517
|
fnTransformFormValuesIntoRawValues: () => {
|
|
518
518
|
}
|
|
519
|
-
}, U =
|
|
519
|
+
}, U = qe(It), wt = (e) => e.reduce((t, n) => n.id > t ? n.id : t, 0), Ct = (e, t) => t.findIndex((n) => n.id === e), le = (e) => e.map((t) => ({
|
|
520
520
|
n: t.n,
|
|
521
521
|
o: t.o,
|
|
522
522
|
labelOperands: t.labelOperands,
|
|
@@ -527,7 +527,7 @@ const ie = {
|
|
|
527
527
|
o: t.o,
|
|
528
528
|
o1: t.o1,
|
|
529
529
|
o2: t.o2
|
|
530
|
-
})),
|
|
530
|
+
})), Vt = (e, t, n, o, i) => {
|
|
531
531
|
const a = [], d = [];
|
|
532
532
|
for (let p = 0; p < t.length; p++) {
|
|
533
533
|
let u;
|
|
@@ -541,16 +541,16 @@ const ie = {
|
|
|
541
541
|
if (!!g) {
|
|
542
542
|
switch (g.type) {
|
|
543
543
|
case "string":
|
|
544
|
-
u =
|
|
544
|
+
u = ft(s);
|
|
545
545
|
break;
|
|
546
546
|
case "number":
|
|
547
|
-
u =
|
|
547
|
+
u = mt(s);
|
|
548
548
|
break;
|
|
549
549
|
case "boolean":
|
|
550
|
-
u =
|
|
550
|
+
u = gt(s);
|
|
551
551
|
break;
|
|
552
552
|
case "datetime":
|
|
553
|
-
u =
|
|
553
|
+
u = bt(s);
|
|
554
554
|
break;
|
|
555
555
|
default:
|
|
556
556
|
u = !1;
|
|
@@ -567,7 +567,7 @@ const ie = {
|
|
|
567
567
|
}
|
|
568
568
|
return a;
|
|
569
569
|
};
|
|
570
|
-
function
|
|
570
|
+
function St(e) {
|
|
571
571
|
const {
|
|
572
572
|
isSkeleton: t = !1,
|
|
573
573
|
fields: n,
|
|
@@ -592,7 +592,7 @@ function Tt(e) {
|
|
|
592
592
|
urlIcon: `${v}/${W}/frontend/components/dynamic_filter/assets/icons/all_fields.svg`
|
|
593
593
|
}), [l, v, W]), [B, P] = S(!1), [we, q] = S(!d), [N, X] = S(!1), {
|
|
594
594
|
toast: Ce
|
|
595
|
-
} = z(), H = _((m) => n.concat(Q).find((F) => F.name === m), [n, Q]), K = _((m) => l(`dynamic_filter.operator_${m}`), [l]), [D, k] = S(
|
|
595
|
+
} = z(), H = _((m) => n.concat(Q).find((F) => F.name === m), [n, Q]), K = _((m) => l(`dynamic_filter.operator_${m}`), [l]), [D, k] = S(Vt(n, o, H, l, J)), Ve = E(() => {
|
|
596
596
|
const m = [];
|
|
597
597
|
for (let F = 0; F < n.length; F++) {
|
|
598
598
|
let O;
|
|
@@ -618,14 +618,14 @@ function Tt(e) {
|
|
|
618
618
|
k((F) => {
|
|
619
619
|
const O = [...F], I = {
|
|
620
620
|
...m,
|
|
621
|
-
id:
|
|
621
|
+
id: wt(F) + 1,
|
|
622
622
|
labelOperator: K(m.o)
|
|
623
623
|
};
|
|
624
624
|
return O.push(I), O;
|
|
625
625
|
});
|
|
626
626
|
}, []), De = _((m) => {
|
|
627
627
|
k((F) => {
|
|
628
|
-
const O = [...F], I =
|
|
628
|
+
const O = [...F], I = Ct(m.id, O);
|
|
629
629
|
return I > -1 && O.splice(I, 1, {
|
|
630
630
|
...m,
|
|
631
631
|
labelOperator: K(m.o)
|
|
@@ -708,7 +708,7 @@ function Tt(e) {
|
|
|
708
708
|
children: p
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
|
-
const T = () =>
|
|
711
|
+
const T = () => Ne(U), Tt = h("div")(({
|
|
712
712
|
theme: e
|
|
713
713
|
}) => ({
|
|
714
714
|
width: "auto",
|
|
@@ -720,13 +720,13 @@ const T = () => He(U), Dt = h("div")(({
|
|
|
720
720
|
paddingLeft: e.spacing(1),
|
|
721
721
|
backgroundColor: e.palette.grid?.sectionHeader,
|
|
722
722
|
border: "1px solid",
|
|
723
|
-
borderColor:
|
|
723
|
+
borderColor: ze(`${e.palette.divider}`, 0.1),
|
|
724
724
|
overflow: "visible",
|
|
725
725
|
borderRadius: e.spacing(1),
|
|
726
726
|
"&.waf_no_setted": {
|
|
727
727
|
border: `1px solid ${e.palette.error.main}`
|
|
728
728
|
}
|
|
729
|
-
})),
|
|
729
|
+
})), Dt = h("div")(({
|
|
730
730
|
theme: e
|
|
731
731
|
}) => ({
|
|
732
732
|
...e.typography.body2,
|
|
@@ -738,23 +738,23 @@ const T = () => He(U), Dt = h("div")(({
|
|
|
738
738
|
marginRight: e.spacing(1),
|
|
739
739
|
marginLeft: e.spacing(1),
|
|
740
740
|
whiteSpace: "nowrap"
|
|
741
|
-
})),
|
|
741
|
+
})), Et = h("span")(({
|
|
742
742
|
theme: e
|
|
743
743
|
}) => ({
|
|
744
744
|
...e.typography.subtitle2
|
|
745
|
-
})),
|
|
745
|
+
})), At = h("span")(({
|
|
746
746
|
theme: e
|
|
747
747
|
}) => ({
|
|
748
748
|
...e.typography.body2,
|
|
749
749
|
marginLeft: e.spacing(1.5),
|
|
750
750
|
fontStyle: "italic"
|
|
751
|
-
})),
|
|
751
|
+
})), Lt = h("span")(({
|
|
752
752
|
theme: e
|
|
753
753
|
}) => ({
|
|
754
754
|
...e.typography.body2,
|
|
755
755
|
marginLeft: e.spacing(1.5)
|
|
756
756
|
}));
|
|
757
|
-
function
|
|
757
|
+
function Pt(e) {
|
|
758
758
|
const {
|
|
759
759
|
n: t,
|
|
760
760
|
id: n,
|
|
@@ -778,19 +778,19 @@ function $t(e) {
|
|
|
778
778
|
}, x = (v) => {
|
|
779
779
|
u(v.currentTarget, e);
|
|
780
780
|
};
|
|
781
|
-
return b ? /* @__PURE__ */ C(
|
|
781
|
+
return b ? /* @__PURE__ */ C(Tt, {
|
|
782
782
|
id: "WrapperApplyedFilter",
|
|
783
783
|
className: o ? "" : "waf_no_setted",
|
|
784
784
|
children: [f && /* @__PURE__ */ r(G, {
|
|
785
785
|
src: f,
|
|
786
786
|
onClick: x
|
|
787
|
-
}), /* @__PURE__ */ C(
|
|
787
|
+
}), /* @__PURE__ */ C(Dt, {
|
|
788
788
|
onClick: x,
|
|
789
|
-
children: [/* @__PURE__ */ r(
|
|
789
|
+
children: [/* @__PURE__ */ r(Et, {
|
|
790
790
|
children: b.label
|
|
791
|
-
}), /* @__PURE__ */ r(
|
|
791
|
+
}), /* @__PURE__ */ r(At, {
|
|
792
792
|
children: a
|
|
793
|
-
}), /* @__PURE__ */ r(
|
|
793
|
+
}), /* @__PURE__ */ r(Lt, {
|
|
794
794
|
children: d
|
|
795
795
|
})]
|
|
796
796
|
}), !i && /* @__PURE__ */ r(G, {
|
|
@@ -811,16 +811,16 @@ function de() {
|
|
|
811
811
|
}) : /* @__PURE__ */ r(re, {
|
|
812
812
|
className: "WrapperApplyedFilters",
|
|
813
813
|
children: /* @__PURE__ */ r(Be, {
|
|
814
|
-
children: /* @__PURE__ */ r(
|
|
814
|
+
children: /* @__PURE__ */ r(nt, {
|
|
815
815
|
id: "WrapperApplyedFilters",
|
|
816
|
-
children: [...e].sort((n, o) => n.isSetted === o.isSetted ? 0 : n.isSetted ? -1 : 1).reverse().map((n) => /* @__PURE__ */ r(
|
|
816
|
+
children: [...e].sort((n, o) => n.isSetted === o.isSetted ? 0 : n.isSetted ? -1 : 1).reverse().map((n) => /* @__PURE__ */ r(Pt, {
|
|
817
817
|
...n
|
|
818
818
|
}, n.id))
|
|
819
819
|
})
|
|
820
820
|
})
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
|
-
const
|
|
823
|
+
const $t = be("div")(({
|
|
824
824
|
theme: e
|
|
825
825
|
}) => ({
|
|
826
826
|
display: "flex",
|
|
@@ -828,7 +828,7 @@ const Rt = be("div")(({
|
|
|
828
828
|
alignItems: "center",
|
|
829
829
|
minWidth: e.spacing(3.75),
|
|
830
830
|
height: e.spacing(3.75)
|
|
831
|
-
})),
|
|
831
|
+
})), Rt = be("div")(({
|
|
832
832
|
theme: e
|
|
833
833
|
}) => ({
|
|
834
834
|
paddingLeft: e.spacing(0.5),
|
|
@@ -842,13 +842,13 @@ const Rt = be("div")(({
|
|
|
842
842
|
isSkeleton: o,
|
|
843
843
|
applyedFilters: i
|
|
844
844
|
} = T();
|
|
845
|
-
return o ? /* @__PURE__ */ r(
|
|
845
|
+
return o ? /* @__PURE__ */ r($t, {
|
|
846
846
|
children: /* @__PURE__ */ r(Fe, {
|
|
847
847
|
variant: "circular",
|
|
848
848
|
width: "20px",
|
|
849
849
|
height: "20px"
|
|
850
850
|
})
|
|
851
|
-
}) : i.findIndex((a) => a.fixed == !1) > -1 ? /* @__PURE__ */ r(
|
|
851
|
+
}) : i.findIndex((a) => a.fixed == !1) > -1 ? /* @__PURE__ */ r(Rt, {
|
|
852
852
|
children: /* @__PURE__ */ r(G, {
|
|
853
853
|
src: `${e}/${t}/frontend/components/dynamic_filter/assets/icons/clear.svg`,
|
|
854
854
|
onClick: n,
|
|
@@ -869,7 +869,7 @@ const Rt = be("div")(({
|
|
|
869
869
|
[e.breakpoints.up("sm")]: {
|
|
870
870
|
width: e.spacing(25)
|
|
871
871
|
}
|
|
872
|
-
})),
|
|
872
|
+
})), Wt = h("input")(({
|
|
873
873
|
theme: e
|
|
874
874
|
}) => ({
|
|
875
875
|
background: "transparent",
|
|
@@ -933,14 +933,14 @@ function ce() {
|
|
|
933
933
|
};
|
|
934
934
|
return !t && n.length == 0 ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ C(ue, {
|
|
935
935
|
id: "WrapperInputFilter",
|
|
936
|
-
children: [/* @__PURE__ */ r(
|
|
936
|
+
children: [/* @__PURE__ */ r(Wt, {
|
|
937
937
|
type: "text",
|
|
938
938
|
value: s,
|
|
939
939
|
placeholder: "filter",
|
|
940
940
|
onClick: f,
|
|
941
941
|
onChange: c,
|
|
942
942
|
onKeyPress: x
|
|
943
|
-
}), n.length > 0 && /* @__PURE__ */ r(
|
|
943
|
+
}), n.length > 0 && /* @__PURE__ */ r(Ze, {
|
|
944
944
|
id: "MenuPopover",
|
|
945
945
|
open: Boolean(a),
|
|
946
946
|
anchorEl: a,
|
|
@@ -954,19 +954,19 @@ function ce() {
|
|
|
954
954
|
borderRadius: 0.75
|
|
955
955
|
}
|
|
956
956
|
},
|
|
957
|
-
children: Boolean(a) && y.map((v, W) => /* @__PURE__ */ C(
|
|
957
|
+
children: Boolean(a) && y.map((v, W) => /* @__PURE__ */ C(Ye, {
|
|
958
958
|
dense: !0,
|
|
959
959
|
onClick: () => b(v),
|
|
960
960
|
children: [/* @__PURE__ */ r(he, {
|
|
961
961
|
src: v.urlIcon
|
|
962
|
-
}), /* @__PURE__ */ r(
|
|
962
|
+
}), /* @__PURE__ */ r(Je, {
|
|
963
963
|
children: v.label
|
|
964
964
|
})]
|
|
965
965
|
}, `menu_action_${W}`))
|
|
966
966
|
})]
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
const
|
|
969
|
+
const kt = h("div")(({
|
|
970
970
|
theme: e
|
|
971
971
|
}) => ({
|
|
972
972
|
display: "flex",
|
|
@@ -985,7 +985,7 @@ h("div")(({
|
|
|
985
985
|
gap: e.spacing(3),
|
|
986
986
|
paddingTop: e.spacing(3)
|
|
987
987
|
}));
|
|
988
|
-
const
|
|
988
|
+
const jt = h("div")(({
|
|
989
989
|
theme: e
|
|
990
990
|
}) => ({
|
|
991
991
|
...e.typography.subtitle2,
|
|
@@ -995,7 +995,7 @@ const Mt = h("div")(({
|
|
|
995
995
|
alignItems: "center",
|
|
996
996
|
padding: e.spacing(2, 0),
|
|
997
997
|
marginLeft: e.spacing(1.5)
|
|
998
|
-
})),
|
|
998
|
+
})), Mt = h("div")(({
|
|
999
999
|
theme: e
|
|
1000
1000
|
}) => ({
|
|
1001
1001
|
width: "100%",
|
|
@@ -1016,7 +1016,7 @@ const Mt = h("div")(({
|
|
|
1016
1016
|
updateFilter: d,
|
|
1017
1017
|
getLabelOperator: p,
|
|
1018
1018
|
fnTransformFormValuesIntoRawValues: u
|
|
1019
|
-
} = T(), s =
|
|
1019
|
+
} = T(), s = Ge(), {
|
|
1020
1020
|
getLabel: g
|
|
1021
1021
|
} = $(), y = E(() => !n || !o ? {} : {
|
|
1022
1022
|
...n,
|
|
@@ -1032,7 +1032,7 @@ const Mt = h("div")(({
|
|
|
1032
1032
|
}, b = () => {
|
|
1033
1033
|
i(!1);
|
|
1034
1034
|
};
|
|
1035
|
-
return /* @__PURE__ */ r(
|
|
1035
|
+
return /* @__PURE__ */ r(Ue, {
|
|
1036
1036
|
id: "MenuPopover",
|
|
1037
1037
|
open: Boolean(t),
|
|
1038
1038
|
anchorEl: t,
|
|
@@ -1041,29 +1041,29 @@ const Mt = h("div")(({
|
|
|
1041
1041
|
borderRadius: 1
|
|
1042
1042
|
},
|
|
1043
1043
|
children: /* @__PURE__ */ r(A, {
|
|
1044
|
-
children: n && /* @__PURE__ */ r(
|
|
1044
|
+
children: n && /* @__PURE__ */ r(Ke, {
|
|
1045
1045
|
onSubmit: l,
|
|
1046
1046
|
values: y,
|
|
1047
1047
|
validationSchema: e,
|
|
1048
|
-
children: /* @__PURE__ */ C(
|
|
1049
|
-
children: [/* @__PURE__ */ C(
|
|
1048
|
+
children: /* @__PURE__ */ C(kt, {
|
|
1049
|
+
children: [/* @__PURE__ */ C(Mt, {
|
|
1050
1050
|
children: [o?.urlIcon && /* @__PURE__ */ r(he, {
|
|
1051
1051
|
src: o.urlIcon
|
|
1052
|
-
}), /* @__PURE__ */ r(
|
|
1052
|
+
}), /* @__PURE__ */ r(jt, {
|
|
1053
1053
|
children: o?.label
|
|
1054
1054
|
})]
|
|
1055
|
-
}), /* @__PURE__ */ r(
|
|
1055
|
+
}), /* @__PURE__ */ r(xt, {
|
|
1056
1056
|
filter: n
|
|
1057
|
-
}), /* @__PURE__ */ C(
|
|
1058
|
-
children: [/* @__PURE__ */ r(
|
|
1057
|
+
}), /* @__PURE__ */ C(Qe, {
|
|
1058
|
+
children: [/* @__PURE__ */ r(et, {
|
|
1059
1059
|
onClick: b
|
|
1060
|
-
}), /* @__PURE__ */ r(
|
|
1060
|
+
}), /* @__PURE__ */ r(tt, {})]
|
|
1061
1061
|
})]
|
|
1062
1062
|
})
|
|
1063
1063
|
})
|
|
1064
1064
|
})
|
|
1065
1065
|
});
|
|
1066
|
-
},
|
|
1066
|
+
}, Bt = h("div", {
|
|
1067
1067
|
shouldForwardProp: (e) => e !== "inEdition"
|
|
1068
1068
|
})(({
|
|
1069
1069
|
theme: e,
|
|
@@ -1077,7 +1077,7 @@ const Mt = h("div")(({
|
|
|
1077
1077
|
padding: e.spacing(0.5),
|
|
1078
1078
|
borderRadius: e.spacing(1),
|
|
1079
1079
|
border: t ? `1px solid ${e.palette.primary.main}` : `1px solid ${e.palette.divider}`
|
|
1080
|
-
})),
|
|
1080
|
+
})), qt = h("div", {
|
|
1081
1081
|
shouldForwardProp: (e) => e !== "inEdition"
|
|
1082
1082
|
})(({
|
|
1083
1083
|
theme: e,
|
|
@@ -1099,25 +1099,25 @@ const Mt = h("div")(({
|
|
|
1099
1099
|
padding: "0px",
|
|
1100
1100
|
border: "0px"
|
|
1101
1101
|
}
|
|
1102
|
-
})),
|
|
1102
|
+
})), Nt = h("div")(() => ({
|
|
1103
1103
|
width: "100%",
|
|
1104
1104
|
display: "flex",
|
|
1105
1105
|
justifyContent: "space-between"
|
|
1106
|
-
})),
|
|
1107
|
-
const t =
|
|
1108
|
-
return
|
|
1106
|
+
})), wr = (e) => {
|
|
1107
|
+
const t = rt();
|
|
1108
|
+
return He(["dictionary_loaded"]) ? /* @__PURE__ */ r(St, {
|
|
1109
1109
|
...e,
|
|
1110
1110
|
children: /* @__PURE__ */ r(U.Consumer, {
|
|
1111
1111
|
children: ({
|
|
1112
1112
|
inEdition: o
|
|
1113
|
-
}) => t ? /* @__PURE__ */ C(
|
|
1113
|
+
}) => t ? /* @__PURE__ */ C(Bt, {
|
|
1114
1114
|
id: "WrapperFilter",
|
|
1115
1115
|
inEdition: o,
|
|
1116
1116
|
children: [/* @__PURE__ */ r(te, {}), /* @__PURE__ */ r(ce, {}), /* @__PURE__ */ r(de, {}), /* @__PURE__ */ r(fe, {}), /* @__PURE__ */ r(pe, {})]
|
|
1117
|
-
}) : /* @__PURE__ */ C(
|
|
1117
|
+
}) : /* @__PURE__ */ C(qt, {
|
|
1118
1118
|
id: "WrapperFilterMobile",
|
|
1119
1119
|
inEdition: o,
|
|
1120
|
-
children: [/* @__PURE__ */ C(
|
|
1120
|
+
children: [/* @__PURE__ */ C(Nt, {
|
|
1121
1121
|
id: "ContainerFistRow",
|
|
1122
1122
|
children: [/* @__PURE__ */ r(te, {}), /* @__PURE__ */ r(ce, {}), /* @__PURE__ */ r(pe, {})]
|
|
1123
1123
|
}), /* @__PURE__ */ r(de, {}), /* @__PURE__ */ r(fe, {})]
|
|
@@ -1125,10 +1125,10 @@ const Mt = h("div")(({
|
|
|
1125
1125
|
})
|
|
1126
1126
|
}) : /* @__PURE__ */ r(A, {});
|
|
1127
1127
|
};
|
|
1128
|
-
function
|
|
1129
|
-
return ["dynamic_filter"].concat(
|
|
1128
|
+
function Cr() {
|
|
1129
|
+
return ["dynamic_filter"].concat(Xe());
|
|
1130
1130
|
}
|
|
1131
|
-
const
|
|
1131
|
+
const Vr = {
|
|
1132
1132
|
dynamic_filter: {
|
|
1133
1133
|
filter_tooltip: "Search",
|
|
1134
1134
|
operator_b: "between",
|
|
@@ -1151,8 +1151,8 @@ const Sr = {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
};
|
|
1153
1153
|
export {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1154
|
+
wr as D,
|
|
1155
|
+
Vr as d,
|
|
1156
|
+
Cr as g,
|
|
1157
1157
|
T as u
|
|
1158
1158
|
};
|
|
@@ -10,11 +10,11 @@ import "../mui_extended/Accordion/index.2116e423.js";
|
|
|
10
10
|
import "../mui_extended/Avatar/index.0a2a4523.js";
|
|
11
11
|
import "react-router-dom";
|
|
12
12
|
import "@mui/material/Button";
|
|
13
|
-
import "../mui_extended/Button/index.
|
|
13
|
+
import "../mui_extended/Button/index.ce236540.js";
|
|
14
14
|
import "@mui/lab";
|
|
15
15
|
import { M as k } from "../mui_extended/MenuPopover/index.488fc536.js";
|
|
16
|
-
import "../CommonActions/components/Actions/index.
|
|
17
|
-
import "../mui_extended/Pager/index.
|
|
16
|
+
import "../CommonActions/components/Actions/index.2dd9c528.js";
|
|
17
|
+
import "../mui_extended/Pager/index.b636ff30.js";
|
|
18
18
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
19
19
|
const I = d("div")(({
|
|
20
20
|
theme: t
|
|
@@ -1,6 +1,6 @@
|
|
|
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.d72accf7.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";
|
|
@@ -8,7 +8,7 @@ import { useResponsiveDesktop as H } from "@m4l/graphics";
|
|
|
8
8
|
import { useEnvironment as I } from "@m4l/core";
|
|
9
9
|
import { I as C } from "../Icon/index.cbca79b0.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.2dd9c528.js";
|
|
12
12
|
const j = s(b)(() => ({})), k = s("div")(({ theme: o }) => ({
|
|
13
13
|
display: "flex",
|
|
14
14
|
flexDirection: "column",
|
|
@@ -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.
|
|
4
|
+
import { D as R, g as I } from "../DataGrid/index.551f8e82.js";
|
|
5
5
|
import { D as L } from "../formatters/DateFormatter/index.ad8d9b8e.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.
|
|
9
|
+
import { u as T } from "../../hooks/useModal/index.d72accf7.js";
|
|
10
10
|
import { I as u } from "../Icon/index.cbca79b0.js";
|
|
11
|
-
import { D as E, g as K } from "../DynamicFilter/index.
|
|
11
|
+
import { D as E, g as K } from "../DynamicFilter/index.1fbc198a.js";
|
|
12
12
|
const q = g("div")(() => ({
|
|
13
13
|
height: "100%",
|
|
14
14
|
width: "100%",
|
|
@@ -3,12 +3,12 @@ import { styled as a, Skeleton as d, Autocomplete as $, TextField as x } from "@
|
|
|
3
3
|
import { useMemo as D } from "react";
|
|
4
4
|
import { I as v } from "../Icon/index.cbca79b0.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.2dd9c528.js";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.
|
|
8
|
+
import "../mui_extended/Button/index.ce236540.js";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-router-dom";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.0f9e02ca.js";
|
|
12
12
|
import "@mui/lab";
|
|
13
13
|
const S = a("div")(({
|
|
14
14
|
theme: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled as m } from "@mui/material";
|
|
2
2
|
import { useFormContext as a, Controller as l } from "react-hook-form";
|
|
3
3
|
import { E as f } from "../../ErrorLabel/index.c8615f16.js";
|
|
4
|
-
import { P as p } from "../../Period/index.
|
|
4
|
+
import { P as p } from "../../Period/index.4e2d0244.js";
|
|
5
5
|
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
const d = m("div")(({
|
|
7
7
|
theme: e
|
|
@@ -5,7 +5,7 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
5
5
|
import { LoadingButton as h } from "@mui/lab";
|
|
6
6
|
import { styled as s, alpha as g } from "@mui/material/styles";
|
|
7
7
|
import { I as y } from "../IconButton/index.88f3aadb.js";
|
|
8
|
-
import { u as B } from "../../DynamicFilter/index.
|
|
8
|
+
import { u as B } from "../../DynamicFilter/index.1fbc198a.js";
|
|
9
9
|
import { useMemo as v } from "react";
|
|
10
10
|
const S = f(a)(({
|
|
11
11
|
theme: t
|
|
@@ -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.
|
|
3
|
+
import { P as S } from "../../CommonActions/components/Actions/index.2dd9c528.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")(() => ({
|
|
@@ -4,9 +4,9 @@ import { Typography as I } from "@mui/material";
|
|
|
4
4
|
import { styled as c } from "@mui/material/styles";
|
|
5
5
|
import { B as _ } from "../../components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
6
6
|
import { jsx as t, jsxs as f, Fragment as k } from "react/jsx-runtime";
|
|
7
|
-
import { M as $ } from "../../components/ModalDialog/index.
|
|
8
|
-
import { A as b } from "../../components/CommonActions/components/ActionIntro/index.
|
|
9
|
-
import { A } from "../../components/CommonActions/components/ActionCancel/index.
|
|
7
|
+
import { M as $ } from "../../components/ModalDialog/index.79c802d0.js";
|
|
8
|
+
import { A as b } from "../../components/CommonActions/components/ActionIntro/index.4f20aab4.js";
|
|
9
|
+
import { A } from "../../components/CommonActions/components/ActionCancel/index.da4bb535.js";
|
|
10
10
|
import { b as j } from "../../utils/index.214d9542.js";
|
|
11
11
|
const D = c("div")(() => ({
|
|
12
12
|
display: "flex",
|
package/index.js
CHANGED
|
@@ -13,16 +13,16 @@ import { R as w } from "./components/hook-form/RHFCheckbox/index.f9ce6c39.js";
|
|
|
13
13
|
import { R as K } from "./components/hook-form/RHFDateTime/index.fc5cbafe.js";
|
|
14
14
|
import "@mui/x-date-pickers";
|
|
15
15
|
import { R as X } from "./components/hook-form/RHFTextField/index.4c455f75.js";
|
|
16
|
-
import { R as Z } from "./components/hook-form/RHFPeriod/index.
|
|
16
|
+
import { R as Z } from "./components/hook-form/RHFPeriod/index.342a725f.js";
|
|
17
17
|
import { E as $ } from "./components/ErrorLabel/index.c8615f16.js";
|
|
18
|
-
import { P as ro, g as to } from "./components/Period/index.
|
|
18
|
+
import { P as ro, g as to } from "./components/Period/index.4e2d0244.js";
|
|
19
19
|
import { I as eo } from "./components/Icon/index.cbca79b0.js";
|
|
20
20
|
import "@mui/material/styles";
|
|
21
|
-
import { b as so, M as po, d as io, g as no } from "./components/CommonActions/components/Actions/index.
|
|
21
|
+
import { b as so, M as po, d as io, g as no } from "./components/CommonActions/components/Actions/index.2dd9c528.js";
|
|
22
22
|
import "@mui/material/Button";
|
|
23
|
-
import { B as fo, L as co } from "./components/mui_extended/Button/index.
|
|
23
|
+
import { B as fo, L as co } from "./components/mui_extended/Button/index.ce236540.js";
|
|
24
24
|
import "react-router-dom";
|
|
25
|
-
import { M as go, a as uo } from "./contexts/ModalContext/index.
|
|
25
|
+
import { M as go, a as uo } from "./contexts/ModalContext/index.0f9e02ca.js";
|
|
26
26
|
import "@mui/lab";
|
|
27
27
|
import "./lodash.e09401f0.js";
|
|
28
28
|
import "react-dropzone";
|
|
@@ -32,22 +32,23 @@ import { R as Ro } from "./components/hook-form/RHFUpload/index.ed3d739f.js";
|
|
|
32
32
|
import { A as Po } from "./components/mui_extended/Accordion/index.2116e423.js";
|
|
33
33
|
import { A as Lo } from "./components/mui_extended/Avatar/index.0a2a4523.js";
|
|
34
34
|
import { M as vo } from "./components/mui_extended/MenuPopover/index.488fc536.js";
|
|
35
|
-
import { P as Bo, g as Io } from "./components/mui_extended/Pager/index.
|
|
35
|
+
import { P as Bo, g as Io } from "./components/mui_extended/Pager/index.b636ff30.js";
|
|
36
36
|
import { T as Ho } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
37
37
|
import "@m4l/graphics";
|
|
38
38
|
import { C as Eo } from "./components/CompanyLogo/index.f81c179c.js";
|
|
39
|
-
import { D as ho, N as Oo, T as Uo, g as jo } from "./components/DataGrid/index.
|
|
39
|
+
import { D as ho, N as Oo, T as Uo, g as jo } from "./components/DataGrid/index.551f8e82.js";
|
|
40
40
|
import "react-dnd";
|
|
41
41
|
import "react-dnd-html5-backend";
|
|
42
42
|
import { S as Go } from "./components/ScrollBar/index.39eeb2de.js";
|
|
43
|
-
import { D as Vo, d as Wo, g as qo } from "./components/DynamicFilter/index.
|
|
43
|
+
import { D as Vo, d as Wo, g as qo } from "./components/DynamicFilter/index.1fbc198a.js";
|
|
44
44
|
import "simplebar/dist/simplebar.min.css";
|
|
45
|
-
import
|
|
45
|
+
import "yup";
|
|
46
|
+
import { L as Jo } from "./components/LanguagePopover/index.f28a7043.js";
|
|
46
47
|
import "./react-draggable.20e95c61.js";
|
|
47
|
-
import { M as Qo, d as Xo, g as Yo } from "./components/ModalDialog/index.
|
|
48
|
+
import { M as Qo, d as Xo, g as Yo } from "./components/ModalDialog/index.79c802d0.js";
|
|
48
49
|
import { R as _o } from "./components/Resizeable/index.45995d2b.js";
|
|
49
50
|
import { N as or, d as rr, g as tr } from "./components/NoItemSelected/index.12f0ca67.js";
|
|
50
|
-
import { O as er, d as mr, g as sr } from "./components/ObjectLogs/index.
|
|
51
|
+
import { O as er, d as mr, g as sr } from "./components/ObjectLogs/index.be4e5cd2.js";
|
|
51
52
|
import "./react-json-view.f56a7f8e.js";
|
|
52
53
|
import { P as ir } from "./components/PaperForm/index.d7c74064.js";
|
|
53
54
|
import { P as xr } from "./components/Page/index.6d69977e.js";
|
|
@@ -70,14 +71,14 @@ import { T as Vr } from "./components/mui_extended/Typography/index.0c4604b3.js"
|
|
|
70
71
|
import { B as qr, c as wr } from "./components/formatters/BooleanFormatter/index.cca53b7f.js";
|
|
71
72
|
import { D as Kr, c as Qr } from "./components/formatters/DateFormatter/index.ad8d9b8e.js";
|
|
72
73
|
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.55856d65.js";
|
|
73
|
-
import { A as mt } from "./components/CommonActions/components/ActionCancel/index.
|
|
74
|
-
import { A as pt } from "./components/CommonActions/components/ActionIntro/index.
|
|
75
|
-
import { A as nt } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
74
|
+
import { A as mt } from "./components/CommonActions/components/ActionCancel/index.da4bb535.js";
|
|
75
|
+
import { A as pt } from "./components/CommonActions/components/ActionIntro/index.4f20aab4.js";
|
|
76
|
+
import { A as nt } from "./components/CommonActions/components/ActionFormCancel/index.9362b6d7.js";
|
|
76
77
|
import { A as ft } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
77
78
|
import { L as lt } from "./components/Loadable/index.f5518558.js";
|
|
78
79
|
import { S as gt } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
79
80
|
import { u as Ft } from "./hooks/useFormAddEdit/index.d4845f1a.js";
|
|
80
|
-
import { u as yt } from "./hooks/useModal/index.
|
|
81
|
+
import { u as yt } from "./hooks/useModal/index.d72accf7.js";
|
|
81
82
|
import { L as At } from "./assets/Logo/index.228dcb5a.js";
|
|
82
83
|
import "./node_modules.168cb897.js";
|
|
83
84
|
import "./utils/index.214d9542.js";
|
|
@@ -87,7 +88,6 @@ import "./commonjs.565e6834.js";
|
|
|
87
88
|
import "prop-types";
|
|
88
89
|
import "react-dom";
|
|
89
90
|
import "simplebar-react";
|
|
90
|
-
import "yup";
|
|
91
91
|
import "./react-resizable.5277deaf.js";
|
|
92
92
|
import "react-helmet-async";
|
|
93
93
|
export {
|