@m4l/components 0.1.26 → 0.1.28

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 (112) hide show
  1. package/assets/Logo/index.228dcb5a.js +42 -35
  2. package/commonjs.565e6834.js +5 -5
  3. package/components/CommonActions/components/ActionCancel/index.e498eeb2.js +17 -0
  4. package/components/CommonActions/components/ActionFormCancel/index.4ff0ad73.js +64 -0
  5. package/components/CommonActions/components/ActionFormIntro/index.ca4d2674.js +28 -22
  6. package/components/CommonActions/components/ActionIntro/index.60ef7bd7.js +18 -0
  7. package/components/CommonActions/components/Actions/index.0645e30f.js +867 -0
  8. package/components/DataGrid/index.76d8fd25.js +1075 -0
  9. package/components/DynamicFilter/index.342ba5fe.js +1577 -0
  10. package/components/ErrorLabel/index.c8615f16.js +13 -12
  11. package/components/Icon/index.619c31c4.js +96 -0
  12. package/components/Icon/types.d.ts +2 -1
  13. package/components/Image/index.93d5f37f.js +190 -0
  14. package/components/Loadable/index.f5518558.js +8 -8
  15. package/components/ModalDialog/index.9ea10764.js +184 -0
  16. package/components/NoItemSelected/{index.9609a7f7.js → index.46d2f632.js} +52 -41
  17. package/components/ObjectLogs/index.f941fb79.js +288 -0
  18. package/components/Page/index.4237c241.js +22 -20
  19. package/components/PaperForm/index.ec9cb8c9.js +112 -0
  20. package/components/Period/index.2941fbda.js +249 -0
  21. package/components/PropertyValue/index.dfcfe1ba.js +147 -0
  22. package/components/PropertyValue/styles.d.ts +2 -1
  23. package/components/PropertyValue/types.d.ts +3 -3
  24. package/components/Resizeable/index.45995d2b.js +19 -19
  25. package/components/ScrollBar/index.39eeb2de.js +26 -21
  26. package/components/ScrollToTop/index.e06f98f6.js +8 -7
  27. package/components/SplitLayout/index.4032673d.js +35 -33
  28. package/components/animate/LoadingScreen/index.1d0c4307.js +33 -33
  29. package/components/animate/MotionContainer/index.8d9f9d80.js +25 -22
  30. package/components/animate/MotionLazyContainer/index.572dd012.js +10 -10
  31. package/components/animate/features.0fbf41e1.js +3 -3
  32. package/components/animate/variants/bounce.784aaaaa.js +16 -13
  33. package/components/animate/variants/container.11f82b76.js +8 -6
  34. package/components/animate/variants/fade.b561c0fc.js +32 -28
  35. package/components/animate/variants/transition.bd46b9ce.js +17 -12
  36. package/components/formatters/BooleanFormatter/index.8da35c9c.js +55 -0
  37. package/components/formatters/DateFormatter/index.1b9baacc.js +69 -0
  38. package/components/formatters/index.689a8086.js +119 -0
  39. package/components/hook-form/RHFAutocomplete/index.59a68f9f.js +224 -0
  40. package/components/hook-form/RHFAutocompleteAsync/index.c3083062.js +87 -0
  41. package/components/hook-form/RHFCheckbox/index.6dcec9e2.js +49 -39
  42. package/components/hook-form/RHFDateTime/index.9231a7c7.js +69 -56
  43. package/components/hook-form/RHFMultiCheckbox/index.2680b3b6.js +23 -23
  44. package/components/hook-form/RHFPeriod/index.64a228d5.js +55 -0
  45. package/components/hook-form/RHFRadioGroup/index.b3335e13.js +29 -29
  46. package/components/hook-form/RHFSelect/index.b6ca8bb2.js +24 -24
  47. package/components/hook-form/RHFTextField/index.f9aaaa90.js +146 -0
  48. package/components/hook-form/RHFUpload/RHFUploadImage/{components → subcomponents}/UploadImage/index.d.ts +0 -0
  49. package/components/hook-form/RHFUpload/RHFUploadImage/{components → subcomponents}/UploadImage/styles.d.ts +4 -3
  50. package/components/hook-form/RHFUpload/RHFUploadImage/{components → subcomponents}/UploadImage/subcomponents/Skeleton/index.d.ts +0 -0
  51. package/components/hook-form/RHFUpload/RHFUploadImage/{components → subcomponents}/UploadImage/subcomponents/Skeleton/styles.d.ts +0 -0
  52. package/components/hook-form/RHFUpload/RHFUploadImage/{components → subcomponents}/UploadImage/types.d.ts +0 -0
  53. package/components/hook-form/RHFUpload/index.d5cc7c13.js +285 -0
  54. package/components/mui_extended/Accordion/index.a02ac6ae.js +107 -0
  55. package/components/mui_extended/Avatar/index.fe06afd7.js +51 -0
  56. package/components/mui_extended/BoxIcon/index.e638ecc8.js +10 -10
  57. package/components/mui_extended/Breadcrumbs/index.5e37d903.js +49 -44
  58. package/components/mui_extended/Button/index.53b56958.js +178 -0
  59. package/components/mui_extended/CircularProgress/index.ad569afd.js +8 -6
  60. package/components/mui_extended/IconButton/index.a321e5cb.js +120 -0
  61. package/components/mui_extended/IconButton/index.d.ts +1 -1
  62. package/components/mui_extended/LinkWithRoute/index.16436ab8.js +25 -21
  63. package/components/mui_extended/Pager/index.c0865b70.js +141 -0
  64. package/components/mui_extended/Popover/index.705275a4.js +278 -0
  65. package/components/mui_extended/Tab/index.e0653a0a.js +25 -21
  66. package/components/mui_extended/Typography/index.e5494696.js +25 -21
  67. package/contexts/ModalContext/index.b92fa565.js +153 -0
  68. package/contexts/ModalContext/{components → subcomponents}/ContentConfirm/index.d.ts +0 -0
  69. package/contexts/ModalContext/{components → subcomponents}/ContentConfirm/styles.d.ts +0 -0
  70. package/contexts/ModalContext/{components → subcomponents}/ContentConfirm/types.d.ts +0 -0
  71. package/contexts/RHFormContext/index.b142190a.js +63 -0
  72. package/hooks/useFormAddEdit/index.d4845f1a.js +40 -22
  73. package/hooks/useModal/index.5fee01a3.js +11 -0
  74. package/index.js +153 -153
  75. package/package.json +2 -1
  76. package/react-data-grid.d46d625e.js +2206 -1663
  77. package/react-draggable.20e95c61.js +800 -553
  78. package/react-json-view.f56a7f8e.js +2344 -2340
  79. package/react-resizable.5277deaf.js +470 -298
  80. package/react-splitter-layout.7810ac1b.js +130 -128
  81. package/utils/index.214d9542.js +500 -354
  82. package/components/CommonActions/components/ActionCancel/index.6736b782.js +0 -17
  83. package/components/CommonActions/components/ActionFormCancel/index.281ee166.js +0 -49
  84. package/components/CommonActions/components/ActionIntro/index.4665a611.js +0 -18
  85. package/components/CommonActions/components/Actions/index.cd7b2671.js +0 -742
  86. package/components/DataGrid/index.2caf6231.js +0 -894
  87. package/components/DynamicFilter/index.f2377369.js +0 -1157
  88. package/components/Icon/index.f569765b.js +0 -82
  89. package/components/Image/index.c9da2d5a.js +0 -152
  90. package/components/ModalDialog/index.bee344a5.js +0 -168
  91. package/components/ObjectLogs/index.6b6f95e6.js +0 -266
  92. package/components/PaperForm/index.3f8c7ef2.js +0 -105
  93. package/components/Period/index.a112ce37.js +0 -175
  94. package/components/PropertyValue/index.ab3dd7e9.js +0 -116
  95. package/components/contexts/RHFormContext/index.33dba822.js +0 -56
  96. package/components/formatters/BooleanFormatter/index.3ec56305.js +0 -42
  97. package/components/formatters/DateFormatter/index.08d8823b.js +0 -57
  98. package/components/formatters/index.6959c2de.js +0 -106
  99. package/components/hook-form/RHFAutocomplete/index.5eee9d7c.js +0 -174
  100. package/components/hook-form/RHFAutocompleteAsync/index.757b5080.js +0 -65
  101. package/components/hook-form/RHFPeriod/index.979d0898.js +0 -51
  102. package/components/hook-form/RHFTextField/index.ba2a8f67.js +0 -129
  103. package/components/hook-form/RHFUpload/index.6347159a.js +0 -258
  104. package/components/mui_extended/Accordion/index.49f5df8e.js +0 -103
  105. package/components/mui_extended/Avatar/index.dadb0528.js +0 -37
  106. package/components/mui_extended/Button/index.52d18aea.js +0 -144
  107. package/components/mui_extended/IconButton/index.4b5ce8b5.js +0 -103
  108. package/components/mui_extended/Pager/index.951b6975.js +0 -126
  109. package/components/mui_extended/Popover/index.4da8587a.js +0 -252
  110. package/contexts/ModalContext/index.5388dfd5.js +0 -136
  111. package/hooks/useModal/index.3b1ff084.js +0 -11
  112. package/node_modules.168cb897.js +0 -55
@@ -0,0 +1,153 @@
1
+ import { createContext, useState } from "react";
2
+ import { useEnvironment, voidFunction } from "@m4l/core";
3
+ import { Typography } from "@mui/material";
4
+ import { styled } from "@mui/material/styles";
5
+ import { B as BoxIcon } from "../../components/mui_extended/BoxIcon/index.e638ecc8.js";
6
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
7
+ import { M as ModalDialog } from "../../components/ModalDialog/index.9ea10764.js";
8
+ import { A as ActionIntro } from "../../components/CommonActions/components/ActionIntro/index.60ef7bd7.js";
9
+ import { A as ActionCancel } from "../../components/CommonActions/components/ActionCancel/index.e498eeb2.js";
10
+ import { b as getVariantColor } from "../../utils/index.214d9542.js";
11
+ const WrapperContentConfirm = styled("div")(() => ({
12
+ display: "flex",
13
+ flexDirection: "column",
14
+ height: "100%"
15
+ }));
16
+ const ModalContent = styled("div")(({
17
+ theme
18
+ }) => ({
19
+ display: "flex",
20
+ flexDirection: "column",
21
+ justifyContent: "center",
22
+ alignItems: "center",
23
+ gridGap: theme.spacing(5),
24
+ flexGrow: 1,
25
+ [theme.breakpoints.up("sm")]: {
26
+ display: "grid",
27
+ flexDirection: "row",
28
+ gridTemplateColumns: "1fr 1fr"
29
+ }
30
+ }));
31
+ const IllustrationContainer = styled("div")(({
32
+ theme,
33
+ variant
34
+ }) => ({
35
+ display: "flex",
36
+ justifyContent: "center",
37
+ alignItems: "center",
38
+ "& > span": {
39
+ background: variant === "warning" ? theme.palette.warning.main : variant === "delete" ? theme.palette.error.main : variant === "info" ? theme.palette.info.main : "theme.palette.text.primary"
40
+ }
41
+ }));
42
+ const MessageContainer = styled("div")(() => ({
43
+ display: "flex",
44
+ alignItems: "center"
45
+ }));
46
+ const ContentConfirm = (props) => {
47
+ const {
48
+ variant = "info",
49
+ msg = "Are you sure you want to perform this action? Once complete, the information will be deleted."
50
+ } = props;
51
+ const {
52
+ host_static_assets,
53
+ environment_assets
54
+ } = useEnvironment();
55
+ const illustrationWarning = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_warning.svg`;
56
+ const illustrationError = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_danger.svg`;
57
+ const illustrationInfo = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_info.svg`;
58
+ return /* @__PURE__ */ jsx(WrapperContentConfirm, {
59
+ children: /* @__PURE__ */ jsxs(ModalContent, {
60
+ children: [/* @__PURE__ */ jsx(IllustrationContainer, {
61
+ variant,
62
+ children: /* @__PURE__ */ jsx(BoxIcon, {
63
+ src: variant === "warning" ? illustrationWarning : variant === "delete" ? illustrationError : illustrationInfo,
64
+ sx: {
65
+ width: "230px",
66
+ height: "194px"
67
+ }
68
+ })
69
+ }), /* @__PURE__ */ jsx(MessageContainer, {
70
+ children: /* @__PURE__ */ jsx(Typography, {
71
+ variant: "body1",
72
+ children: msg
73
+ })
74
+ })]
75
+ })
76
+ });
77
+ };
78
+ const ModalContext = createContext(null);
79
+ function ModalProvider({
80
+ children
81
+ }) {
82
+ const [modalOptions, setModalOptions] = useState({
83
+ open: false,
84
+ withClose: true,
85
+ onQueryClose: voidFunction,
86
+ title: "",
87
+ iconComponent: void 0,
88
+ contentComponent: void 0,
89
+ variant: void 0
90
+ });
91
+ const [hasChanges, setHasChanges] = useState(false);
92
+ const openModal = (modalOpenProps) => {
93
+ setModalOptions({
94
+ open: true,
95
+ ...modalOpenProps
96
+ });
97
+ };
98
+ const openModalConfirm = (modalOpenConfirmProps) => {
99
+ const {
100
+ variant = "warning",
101
+ title,
102
+ msg,
103
+ onClickIntro,
104
+ onClickCancel = closeModal
105
+ } = modalOpenConfirmProps;
106
+ const onClickIntroClose = () => {
107
+ onClickIntro && onClickIntro();
108
+ closeModal();
109
+ };
110
+ setModalOptions({
111
+ open: true,
112
+ title,
113
+ variant,
114
+ contentComponent: /* @__PURE__ */ jsx(ContentConfirm, {
115
+ variant,
116
+ msg
117
+ }),
118
+ actions: /* @__PURE__ */ jsxs(Fragment, {
119
+ children: [/* @__PURE__ */ jsx(ActionCancel, {
120
+ onClick: onClickCancel
121
+ }), " ", /* @__PURE__ */ jsx(ActionIntro, {
122
+ onClick: onClickIntroClose,
123
+ color: getVariantColor(variant)
124
+ })]
125
+ })
126
+ });
127
+ };
128
+ const closeModal = () => {
129
+ setModalOptions((last) => ({
130
+ ...last,
131
+ open: false
132
+ }));
133
+ setHasChanges(false);
134
+ };
135
+ const setChanges = () => {
136
+ setHasChanges(true);
137
+ };
138
+ return /* @__PURE__ */ jsxs(ModalContext.Provider, {
139
+ value: {
140
+ ...modalOptions,
141
+ openModal,
142
+ openModalConfirm,
143
+ closeModal,
144
+ hasChanges,
145
+ setChanges
146
+ },
147
+ children: [children, /* @__PURE__ */ jsx(ModalDialog, {})]
148
+ });
149
+ }
150
+ export {
151
+ ModalContext as M,
152
+ ModalProvider as a
153
+ };
@@ -0,0 +1,63 @@
1
+ import { useEffect } from "react";
2
+ import { useForm, FormProvider } from "react-hook-form";
3
+ import { yupResolver } from "@hookform/resolvers/yup";
4
+ import { styled } from "@mui/material/styles";
5
+ import { jsx } from "react/jsx-runtime";
6
+ const WrapperFormProvider = styled("form")(({
7
+ theme
8
+ }) => ({
9
+ display: "flex",
10
+ marginBottom: theme.spacing(1),
11
+ flexDirection: "column",
12
+ width: "100%",
13
+ overflow: "auto",
14
+ maxWidth: theme.stretch ? "unset" : "900px",
15
+ padding: theme.spacing(3)
16
+ }));
17
+ function RHFormProvider(props) {
18
+ const {
19
+ children,
20
+ onSubmit,
21
+ values,
22
+ validationSchema,
23
+ statusLoad = "ready"
24
+ } = props;
25
+ const methods = useForm({
26
+ resolver: yupResolver(validationSchema),
27
+ defaultValues: values
28
+ });
29
+ useEffect(() => {
30
+ if (statusLoad === "reload_values_provider") {
31
+ const keys = Object.keys(values);
32
+ keys.forEach((key) => {
33
+ methods.setValue(key, values[key], {
34
+ shouldValidate: false,
35
+ shouldDirty: false,
36
+ shouldTouch: false
37
+ });
38
+ });
39
+ return;
40
+ }
41
+ }, [methods, statusLoad, values]);
42
+ useEffect(() => {
43
+ if (statusLoad === "ready") {
44
+ console.log("useEffect FormProvider Ready", statusLoad);
45
+ methods.setValue("statusLoad", "ready", {
46
+ shouldValidate: false,
47
+ shouldDirty: false,
48
+ shouldTouch: false
49
+ });
50
+ }
51
+ }, [statusLoad]);
52
+ return /* @__PURE__ */ jsx(FormProvider, {
53
+ ...methods,
54
+ children: /* @__PURE__ */ jsx(WrapperFormProvider, {
55
+ id: "formProvider",
56
+ onSubmit: methods.handleSubmit(onSubmit),
57
+ children
58
+ })
59
+ });
60
+ }
61
+ export {
62
+ RHFormProvider as R
63
+ };
@@ -1,26 +1,44 @@
1
- import { useNetwork as p, useFlags as v } from "@m4l/core";
2
- import { useState as n, useEffect as _ } from "react";
3
- const F = (i) => {
4
- const { initialValues: u, objectId: o, endPoint: l, formatDataEnpoint: r } = i, [f, a] = n(u), [e, t] = n(
5
- o === void 0 ? "new" : "edit"
6
- ), { networkOperation: m } = p(), { addFlag: c } = v();
7
- return _(() => {
8
- let s = !0;
9
- return e === "edit" ? m({
10
- method: "GET",
11
- endPoint: `${l}/${o}`
12
- }).then(
13
- (d) => {
14
- s && (a(r ? r(d) : d), t("reload_values_provider"));
15
- },
16
- () => {
17
- t("error");
18
- }
19
- ) : (e === "new" || e === "reload_values_provider") && (c("form_loaded"), t("ready")), () => {
20
- s = !1;
1
+ import { useNetwork, useFlags } from "@m4l/core";
2
+ import { useState, useEffect } from "react";
3
+ const useFormAddEdit = (props) => {
4
+ const { initialValues, objectId, endPoint, formatDataEnpoint } = props;
5
+ const [formValues, setFormValues] = useState(initialValues);
6
+ const [statusLoad, setStatusLoad] = useState(
7
+ objectId === void 0 ? "new" : "edit"
8
+ );
9
+ const { networkOperation } = useNetwork();
10
+ const { addFlag } = useFlags();
11
+ useEffect(() => {
12
+ let mounted = true;
13
+ if (statusLoad === "edit") {
14
+ networkOperation({
15
+ method: "GET",
16
+ endPoint: `${endPoint}/${objectId}`
17
+ }).then(
18
+ (response) => {
19
+ if (mounted) {
20
+ if (formatDataEnpoint) {
21
+ setFormValues(formatDataEnpoint(response));
22
+ } else {
23
+ setFormValues(response);
24
+ }
25
+ setStatusLoad("reload_values_provider");
26
+ }
27
+ },
28
+ () => {
29
+ setStatusLoad("error");
30
+ }
31
+ );
32
+ } else if (statusLoad === "new" || statusLoad === "reload_values_provider") {
33
+ addFlag("form_loaded");
34
+ setStatusLoad("ready");
35
+ }
36
+ return () => {
37
+ mounted = false;
21
38
  };
22
- }, [e]), { formValues: f, statusLoad: e };
39
+ }, [statusLoad]);
40
+ return { formValues, statusLoad };
23
41
  };
24
42
  export {
25
- F as u
43
+ useFormAddEdit as u
26
44
  };
@@ -0,0 +1,11 @@
1
+ import { useContext } from "react";
2
+ import { M as ModalContext } from "../../contexts/ModalContext/index.b92fa565.js";
3
+ function useModal() {
4
+ const context = useContext(ModalContext);
5
+ if (!context)
6
+ throw new Error("useModal context must be use inside ModalContext");
7
+ return context;
8
+ }
9
+ export {
10
+ useModal as u
11
+ };
package/index.js CHANGED
@@ -1,186 +1,186 @@
1
- import { I as N, a as h } from "./components/mui_extended/IconButton/index.4b5ce8b5.js";
1
+ import { I, a } from "./components/mui_extended/IconButton/index.a321e5cb.js";
2
2
  import "framer-motion";
3
3
  import "@mui/material";
4
4
  import "react/jsx-runtime";
5
5
  import "@mui/material/styles";
6
6
  import "react-router-dom";
7
- import { L as U } from "./components/animate/LoadingScreen/index.1d0c4307.js";
7
+ import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
8
8
  import "@m4l/core";
9
9
  import "react-hook-form";
10
- import { R as k, g as G } from "./components/hook-form/RHFAutocomplete/index.5eee9d7c.js";
10
+ import { R, g } from "./components/hook-form/RHFAutocomplete/index.59a68f9f.js";
11
11
  import "react";
12
- import { I as V } from "./components/Image/index.c9da2d5a.js";
12
+ import { I as I2 } from "./components/Image/index.93d5f37f.js";
13
13
  import "lodash/debounce";
14
- import { R as W } from "./components/hook-form/RHFCheckbox/index.6dcec9e2.js";
14
+ import { R as R2 } from "./components/hook-form/RHFCheckbox/index.6dcec9e2.js";
15
15
  import "@mui/x-date-pickers";
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.979d0898.js";
20
- import { E as ro } from "./components/ErrorLabel/index.c8615f16.js";
21
- import { P as ao, g as eo } from "./components/Period/index.a112ce37.js";
22
- import { b as so, M as io, d as po, g as no } from "./components/CommonActions/components/Actions/index.cd7b2671.js";
16
+ import { R as R3 } from "./components/hook-form/RHFDateTime/index.9231a7c7.js";
17
+ import { R as R4, a as a2 } from "./components/hook-form/RHFTextField/index.f9aaaa90.js";
18
+ import { I as I3 } from "./components/Icon/index.619c31c4.js";
19
+ import { R as R5 } from "./components/hook-form/RHFPeriod/index.64a228d5.js";
20
+ import { E } from "./components/ErrorLabel/index.c8615f16.js";
21
+ import { P, g as g2 } from "./components/Period/index.2941fbda.js";
22
+ import { b, M, d, g as g3 } from "./components/CommonActions/components/Actions/index.0645e30f.js";
23
23
  import "@mui/material/Button";
24
- import { M as xo, a as fo } from "./contexts/ModalContext/index.5388dfd5.js";
24
+ import { M as M2, a as a3 } from "./contexts/ModalContext/index.b92fa565.js";
25
25
  import "@mui/lab";
26
26
  import "lodash/isString";
27
27
  import "react-dropzone";
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.52d18aea.js";
32
- import { L as Lo, P as Ho } from "./components/mui_extended/Popover/index.4da8587a.js";
33
- import { P as Mo, g as bo } from "./components/mui_extended/Pager/index.951b6975.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.2caf6231.js";
28
+ import { R as R6 } from "./components/hook-form/RHFUpload/index.d5cc7c13.js";
29
+ import { A } from "./components/mui_extended/Accordion/index.a02ac6ae.js";
30
+ import { A as A2 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
31
+ import { B, L as L2 } from "./components/mui_extended/Button/index.53b56958.js";
32
+ import { L as L3, P as P2 } from "./components/mui_extended/Popover/index.705275a4.js";
33
+ import { P as P3, g as g4 } from "./components/mui_extended/Pager/index.c0865b70.js";
34
+ import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
35
+ import { D, N, T as T2, g as g5 } from "./components/DataGrid/index.76d8fd25.js";
36
36
  import "react-dnd";
37
37
  import "react-dnd-html5-backend";
38
38
  import "@m4l/graphics";
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.f2377369.js";
39
+ import { S } from "./components/ScrollBar/index.39eeb2de.js";
40
+ import { D as D2, d as d2, g as g6 } from "./components/DynamicFilter/index.342ba5fe.js";
41
41
  import "simplebar/dist/simplebar.min.css";
42
- import { R as wo } from "./components/contexts/RHFormContext/index.33dba822.js";
42
+ import "@hookform/resolvers/yup";
43
+ import { R as R7 } from "./contexts/RHFormContext/index.b142190a.js";
43
44
  import "yup";
44
45
  import "./react-draggable.20e95c61.js";
45
- import { M as qo, d as Jo, g as Ko } from "./components/ModalDialog/index.bee344a5.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.6b6f95e6.js";
46
+ import { M as M3, d as d3, g as g7 } from "./components/ModalDialog/index.9ea10764.js";
47
+ import { R as R8 } from "./components/Resizeable/index.45995d2b.js";
48
+ import { N as N2, d as d4, g as g8 } from "./components/NoItemSelected/index.46d2f632.js";
49
+ import { O, d as d5, g as g9 } from "./components/ObjectLogs/index.f941fb79.js";
49
50
  import "./react-json-view.f56a7f8e.js";
50
- import { P as mr } from "./components/PaperForm/index.3f8c7ef2.js";
51
- import { H as ir } from "./components/Page/index.4237c241.js";
52
- import { P as nr } from "./components/PropertyValue/index.ab3dd7e9.js";
51
+ import { P as P4 } from "./components/PaperForm/index.ec9cb8c9.js";
52
+ import { H } from "./components/Page/index.4237c241.js";
53
+ import { P as P5 } from "./components/PropertyValue/index.dfcfe1ba.js";
53
54
  import "./react-splitter-layout.7810ac1b.js";
54
- import { S as xr } from "./components/SplitLayout/index.4032673d.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.6736b782.js";
74
- import { A as nt } from "./components/CommonActions/components/ActionIntro/index.4665a611.js";
75
- import { A as xt } from "./components/CommonActions/components/ActionFormCancel/index.281ee166.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.3b1ff084.js";
81
- import { L as Ct } from "./assets/Logo/index.228dcb5a.js";
55
+ import { S as S2 } from "./components/SplitLayout/index.4032673d.js";
56
+ import { v } from "./components/animate/variants/fade.b561c0fc.js";
57
+ import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
58
+ import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
59
+ import { v as v4, a as a4, b as b2 } from "./components/animate/variants/transition.bd46b9ce.js";
60
+ import { M as M4 } from "./components/animate/MotionContainer/index.8d9f9d80.js";
61
+ import { M as M5 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
62
+ import { R as R9, g as g10 } from "./components/hook-form/RHFAutocompleteAsync/index.c3083062.js";
63
+ import { R as R10 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
64
+ import { R as R11 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
65
+ import { R as R12 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
66
+ import { B as B2 } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
67
+ import { B as B3 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
68
+ import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
69
+ import { L as L4 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
70
+ import { T as T3 } from "./components/mui_extended/Typography/index.e5494696.js";
71
+ import { B as B4, c } from "./components/formatters/BooleanFormatter/index.8da35c9c.js";
72
+ import { D as D3, c as c2 } from "./components/formatters/DateFormatter/index.1b9baacc.js";
73
+ import { P as P6, a as a5, U, e, b as b3, c as c3, d as d6, g as g11 } from "./components/formatters/index.689a8086.js";
74
+ import { A as A3 } from "./components/CommonActions/components/ActionCancel/index.e498eeb2.js";
75
+ import { A as A4 } from "./components/CommonActions/components/ActionIntro/index.60ef7bd7.js";
76
+ import { A as A5 } from "./components/CommonActions/components/ActionFormCancel/index.4ff0ad73.js";
77
+ import { A as A6 } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
78
+ import { L as L5 } from "./components/Loadable/index.f5518558.js";
79
+ import { S as S3 } from "./components/ScrollToTop/index.e06f98f6.js";
80
+ import { u } from "./hooks/useFormAddEdit/index.d4845f1a.js";
81
+ import { u as u2 } from "./hooks/useModal/index.5fee01a3.js";
82
+ import { L as L6 } from "./assets/Logo/index.228dcb5a.js";
82
83
  import "./utils/index.214d9542.js";
83
84
  import "./react-data-grid.d46d625e.js";
84
85
  import "clsx";
85
86
  import "simplebar-react";
86
- import "./node_modules.168cb897.js";
87
87
  import "prop-types";
88
88
  import "react-dom";
89
89
  import "./react-resizable.5277deaf.js";
90
90
  import "./commonjs.565e6834.js";
91
91
  import "react-helmet-async";
92
92
  export {
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
- N as IconButton,
112
- h as IconButtonAnimate,
113
- V as Image,
114
- Lo as LanguagePopover,
115
- Vr as LinkWithRoute,
116
- gt as Loadable,
117
- Po as LoadingButton,
118
- U as LoadingScreen,
119
- Ct as Logo,
120
- io as MenuActions,
121
- xo as ModalContext,
122
- qo as ModalDialog,
123
- fo as ModalProvider,
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
- k as RHFAutocomplete,
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
- xr as SplitLayout,
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,
184
- Rr as varTranExit,
185
- Ar as varTranHover
93
+ A as Accordion,
94
+ A3 as ActionCancel,
95
+ A5 as ActionFormCancel,
96
+ A6 as ActionFormIntro,
97
+ A4 as ActionIntro,
98
+ b as Actions,
99
+ A2 as Avatar,
100
+ B4 as BooleanFormatter,
101
+ B2 as BoxIcon,
102
+ B3 as Breadcrumbs,
103
+ B as Button,
104
+ C as CircularProgress,
105
+ D as DataGrid,
106
+ D3 as DateFormatter,
107
+ D2 as DynamicFilter,
108
+ E as ErrorLabel,
109
+ H as HelmetPage,
110
+ I3 as Icon,
111
+ I as IconButton,
112
+ a as IconButtonAnimate,
113
+ I2 as Image,
114
+ L3 as LanguagePopover,
115
+ L4 as LinkWithRoute,
116
+ L5 as Loadable,
117
+ L2 as LoadingButton,
118
+ L as LoadingScreen,
119
+ L6 as Logo,
120
+ M as MenuActions,
121
+ M2 as ModalContext,
122
+ M3 as ModalDialog,
123
+ a3 as ModalProvider,
124
+ M4 as MotionContainer,
125
+ M5 as MotionLazyContainer,
126
+ N2 as NoItemSelected,
127
+ N as NumberEditor,
128
+ O as ObjectLogs,
129
+ P3 as Pager,
130
+ P4 as PaperForm,
131
+ P as Period,
132
+ P6 as PointsFormatter,
133
+ P2 as Popover,
134
+ a5 as PriceFormatter,
135
+ P5 as PropertyValue,
136
+ R as RHFAutocomplete,
137
+ R9 as RHFAutocompleteAsync,
138
+ R2 as RHFCheckbox,
139
+ R3 as RHFDateTime,
140
+ R10 as RHFMultiCheckbox,
141
+ R5 as RHFPeriod,
142
+ R12 as RHFRadioGroup,
143
+ R11 as RHFSelect,
144
+ R4 as RHFTextField,
145
+ a2 as RHFTextFieldPassword,
146
+ R6 as RHFUploadImage,
147
+ R7 as RHFormProvider,
148
+ R8 as Resizeable,
149
+ S as ScrollBar,
150
+ S3 as ScrollToTop,
151
+ S2 as SplitLayout,
152
+ T as Tab,
153
+ T2 as TextEditor,
154
+ T3 as Typography,
155
+ U as UncertaintyFormatter,
156
+ c as columnBooleanFormatter,
157
+ c2 as columnDateFormatter,
158
+ e as columnNestedValueFormatter,
159
+ b3 as columnPointsFormatter,
160
+ c3 as columnUncertaintyFormatter,
161
+ d as defaultCommonActionsDictionary,
162
+ d2 as defaultDynamicFilterDictionary,
163
+ d6 as defaultFormattersDictionary,
164
+ d3 as defaultModalDialogDictionary,
165
+ d4 as defaultNoItemSelectedDictionary,
166
+ d5 as defaultObjectLogDictionary,
167
+ g3 as getCommonActionsDictionary,
168
+ g6 as getDynamicFilterComponentsDictionary,
169
+ g11 as getFormattersComponentsDictionary,
170
+ g5 as getGridComponentsDictionary,
171
+ g7 as getModalDialogComponentsDictionary,
172
+ g8 as getNoItemSelectedComponentsDictionary,
173
+ g9 as getObjectLogsComponentsDictionary,
174
+ g4 as getPagerComponentsDictionary,
175
+ g2 as getPeriodComponetsDictionary,
176
+ g10 as getRHFAutocompleteAsyncComponentsDictionary,
177
+ g as getRHFAutocompleteComponentsDictionary,
178
+ u as useFormAddEdit,
179
+ u2 as useModal,
180
+ v2 as varBounce,
181
+ v3 as varContainer,
182
+ v as varFade,
183
+ v4 as varTranEnter,
184
+ a4 as varTranExit,
185
+ b2 as varTranHover
186
186
  };