@m4l/components 0.1.51 → 0.1.52
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/ActionFormCancel/{index.27e301c5.js → index.bd0d16d6.js} +10 -11
- package/components/CommonActions/components/Actions/{index.c06ea173.js → index.f0a3167b.js} +9 -9
- package/components/DataGrid/{index.eb1bdc97.js → index.85390177.js} +10 -10
- package/components/DynamicFilter/{index.17731fda.js → index.cddd7472.js} +13 -13
- package/components/ModalDialog/{index.de10969f.js → index.5a307e29.js} +2 -2
- package/components/ObjectLogs/{index.338656c6.js → index.1315af37.js} +12 -12
- package/components/Period/{index.89daad51.js → index.85fe764a.js} +10 -10
- package/components/areas/components/Area/subcomponents/InnerForHooks/index.d.ts +2 -0
- package/components/areas/components/AreasAdmin/{index.3e586e9b.js → index.dbab59f1.js} +1 -3
- package/components/areas/components/AreasContainer/{index.15e4628d.js → index.f3f921b9.js} +2 -7
- package/components/areas/components/GridLayout/{index.f38f5b74.js → index.9953146d.js} +32 -30
- package/components/areas/components/Window/{index.d1a59be4.js → index.e34225ae.js} +112 -36
- package/components/areas/components/Window/subcomponents/InnerForHooks/index.d.ts +2 -2
- package/components/areas/components/WindowPopUp/{index.90566fca.js → index.90eb0348.js} +18 -19
- package/components/areas/components/WindowsPanel/index.d.ts +2 -0
- package/components/areas/components/{index.29809e82.js → index.6d863764.js} +20 -15
- package/components/areas/contexts/AreaContext/helper.d.ts +27 -0
- package/components/areas/contexts/AreaContext/{index.c787aee6.js → index.f25f7180.js} +151 -23
- package/components/areas/contexts/AreaContext/store.d.ts +17 -1
- package/components/areas/contexts/AreasContext/{index.4f938baa.js → index.7406c20f.js} +1 -5
- package/components/areas/contexts/{index.4cfa6ea9.js → index.e80d8f0f.js} +1 -13
- package/components/areas/hooks/{index.b15baf14.js → index.0fd57f88.js} +1 -1
- package/components/areas/hooks/useArea/{index.575c2abe.js → index.7bdbbb79.js} +2 -2
- package/components/areas/{index.8c6f9e65.js → index.6f09d168.js} +5 -5
- package/components/hook-form/RHFPeriod/{index.47cf646d.js → index.5d2a2071.js} +1 -1
- package/components/hook-form/RHFTextField/{index.57f138f7.js → index.bef7eced.js} +0 -1
- package/components/index.d.ts +0 -1
- package/components/modal/{WindowBase.ed279350.js → WindowBase.b5e29758.js} +1 -1
- package/components/modal/{WindowConfirm.72de5ce8.js → WindowConfirm.cbc7720c.js} +9 -9
- package/components/modal/{index.7197145d.js → index.f6de895f.js} +10 -10
- package/contexts/ModalContext/{index.e94f0e72.js → index.3d92d9f9.js} +1 -1
- package/hooks/useModal/{index.56c03c00.js → index.4454145e.js} +1 -1
- package/index.js +29 -60
- package/package.json +1 -1
- package/components/CmpDisenoTest/index.d.ts +0 -4
- package/components/CmpDisenoTest/types.d.ts +0 -20
package/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { I, a } from "./components/Icon/index.f6e8d810.js";
|
|
2
2
|
import "framer-motion";
|
|
3
|
-
import
|
|
4
|
-
import { jsx
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import "@mui/material/styles";
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
8
8
|
import { P } from "./components/animate/PropagateLoader/index.be5b02c3.js";
|
|
9
9
|
import { a as a2, D, M } from "./components/areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
10
|
-
import { M as M2, a as a3 } from "./contexts/ModalContext/index.
|
|
10
|
+
import { M as M2, a as a3 } from "./contexts/ModalContext/index.3d92d9f9.js";
|
|
11
11
|
import { useState } from "react";
|
|
12
12
|
import "react-hook-form";
|
|
13
13
|
import "@hookform/resolvers/yup";
|
|
@@ -32,39 +32,38 @@ import { E, e } from "./components/ErrorLabel/index.78553a1e.js";
|
|
|
32
32
|
import "@mui/x-date-pickers";
|
|
33
33
|
import { R as R4 } from "./components/hook-form/RHFDateTime/index.7f1cbd85.js";
|
|
34
34
|
import "@m4l/graphics";
|
|
35
|
-
import { R as R5, a as a4 } from "./components/hook-form/RHFTextField/index.
|
|
36
|
-
import { R as R6 } from "./components/hook-form/RHFPeriod/index.
|
|
37
|
-
import { P as P4, g as g3 } from "./components/Period/index.
|
|
38
|
-
import { A as A3, d, g as g4 } from "./components/CommonActions/components/Actions/index.
|
|
35
|
+
import { R as R5, a as a4 } from "./components/hook-form/RHFTextField/index.bef7eced.js";
|
|
36
|
+
import { R as R6 } from "./components/hook-form/RHFPeriod/index.5d2a2071.js";
|
|
37
|
+
import { P as P4, g as g3 } from "./components/Period/index.85fe764a.js";
|
|
38
|
+
import { A as A3, d, g as g4 } from "./components/CommonActions/components/Actions/index.f0a3167b.js";
|
|
39
39
|
import { c as cjs } from "./react-draggable.0eef011c.js";
|
|
40
|
-
import { M as M4, d as d2, g as g5 } from "./components/ModalDialog/index.
|
|
40
|
+
import { M as M4, d as d2, g as g5 } from "./components/ModalDialog/index.5a307e29.js";
|
|
41
41
|
import { R as R7 } from "./components/Resizeable/index.8a442a8b.js";
|
|
42
|
-
import { W } from "./components/modal/WindowConfirm.
|
|
43
|
-
import { W as W2 } from "./components/modal/WindowBase.
|
|
44
|
-
import { A as A4 } from "./components/areas/components/index.
|
|
45
|
-
import { A as A5 } from "./components/areas/components/AreasAdmin/index.
|
|
42
|
+
import { W } from "./components/modal/WindowConfirm.cbc7720c.js";
|
|
43
|
+
import { W as W2 } from "./components/modal/WindowBase.b5e29758.js";
|
|
44
|
+
import { A as A4 } from "./components/areas/components/index.6d863764.js";
|
|
45
|
+
import { A as A5 } from "./components/areas/components/AreasAdmin/index.dbab59f1.js";
|
|
46
46
|
import "zustand";
|
|
47
|
-
import { A as A6, a as a5 } from "./components/areas/contexts/AreasContext/index.
|
|
47
|
+
import { A as A6, a as a5 } from "./components/areas/contexts/AreasContext/index.7406c20f.js";
|
|
48
48
|
import "zustand/shallow";
|
|
49
|
-
import { A as A7 } from "./components/areas/components/AreasContainer/index.
|
|
49
|
+
import { A as A7 } from "./components/areas/components/AreasContainer/index.f3f921b9.js";
|
|
50
50
|
import "react-grid-layout/css/styles.css";
|
|
51
51
|
import "./react-resizable.bb58c8fc.js";
|
|
52
|
-
import { c, W as W3 } from "./components/areas/contexts/index.
|
|
52
|
+
import { c, W as W3 } from "./components/areas/contexts/index.e80d8f0f.js";
|
|
53
53
|
import "lodash/isString";
|
|
54
54
|
import "react-dropzone";
|
|
55
55
|
import { R as R8 } from "./components/hook-form/RHFUpload/index.7fdff30f.js";
|
|
56
|
-
import { D as D2, N, T as T3, c as c2, d as d3, b, a as a6, g as g6 } from "./components/DataGrid/index.
|
|
56
|
+
import { D as D2, N, T as T3, c as c2, d as d3, b, a as a6, g as g6 } from "./components/DataGrid/index.85390177.js";
|
|
57
57
|
import "react-dnd";
|
|
58
58
|
import "react-dnd-html5-backend";
|
|
59
59
|
import { S } from "./components/ScrollBar/index.39eeb2de.js";
|
|
60
|
-
import { D as D3, a as a7, d as d4, g as g7 } from "./components/DynamicFilter/index.
|
|
60
|
+
import { D as D3, a as a7, d as d4, g as g7 } from "./components/DynamicFilter/index.cddd7472.js";
|
|
61
61
|
import "clsx";
|
|
62
62
|
import "simplebar/dist/simplebar.min.css";
|
|
63
63
|
import "yup";
|
|
64
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
65
64
|
import { L as L3 } from "./components/LanguagePopover/index.5047b444.js";
|
|
66
65
|
import { N as N2, d as d5, g as g8 } from "./components/NoItemSelected/index.9636ec8a.js";
|
|
67
|
-
import { O, d as d6, g as g9 } from "./components/ObjectLogs/index.
|
|
66
|
+
import { O, d as d6, g as g9 } from "./components/ObjectLogs/index.1315af37.js";
|
|
68
67
|
import "./react-json-view.57125fcf.js";
|
|
69
68
|
import { P as P5 } from "./components/PaperForm/index.0114aa9b.js";
|
|
70
69
|
import { H } from "./components/Page/index.4237c241.js";
|
|
@@ -78,7 +77,7 @@ import { v as v4, a as a8, b as b2 } from "./components/animate/variants/transit
|
|
|
78
77
|
import { M as M5 } from "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
79
78
|
import { M as M6 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
80
79
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.041a666b.js";
|
|
81
|
-
import { u as u2 } from "./components/areas/hooks/index.
|
|
80
|
+
import { u as u2 } from "./components/areas/hooks/index.0fd57f88.js";
|
|
82
81
|
import { R as R9, g as g10 } from "./components/hook-form/RHFAutocompleteAsync/index.0aa3c224.js";
|
|
83
82
|
import { R as R10 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
84
83
|
import { R as R11 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
@@ -100,62 +99,34 @@ import { c as c6 } from "./components/DataGrid/formatters/columnNestedValueForma
|
|
|
100
99
|
import { c as c7 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
101
100
|
import { A as A8 } from "./components/CommonActions/components/ActionCancel/index.a81752ef.js";
|
|
102
101
|
import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.d567aebb.js";
|
|
103
|
-
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
102
|
+
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.bd0d16d6.js";
|
|
104
103
|
import { A as A11 } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
105
104
|
import { L as L7 } from "./components/Loadable/index.117eaced.js";
|
|
106
105
|
import { S as S3 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
107
106
|
import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
108
|
-
import { u as u4 } from "./hooks/useModal/index.
|
|
107
|
+
import { u as u4 } from "./hooks/useModal/index.4454145e.js";
|
|
109
108
|
import { L as L8 } from "./assets/Logo/index.228dcb5a.js";
|
|
110
109
|
import "./utils/index.e882b264.js";
|
|
110
|
+
import "@mui/base";
|
|
111
111
|
import "./node_modules.416f1da3.js";
|
|
112
112
|
import "zustand/middleware";
|
|
113
113
|
import "zustand/middleware/immer";
|
|
114
114
|
import "prop-types";
|
|
115
115
|
import "react-dom";
|
|
116
|
-
import "./components/areas/contexts/AreaContext/index.
|
|
117
|
-
import "
|
|
118
|
-
import "./components/areas/
|
|
116
|
+
import "./components/areas/contexts/AreaContext/index.f25f7180.js";
|
|
117
|
+
import "lodash.clonedeep";
|
|
118
|
+
import "./components/areas/hooks/useArea/index.7bdbbb79.js";
|
|
119
|
+
import "./components/areas/components/GridLayout/index.9953146d.js";
|
|
119
120
|
import "react-grid-layout";
|
|
120
|
-
import "./components/areas/components/WindowPopUp/index.
|
|
121
|
+
import "./components/areas/components/WindowPopUp/index.90eb0348.js";
|
|
121
122
|
import "./index.js";
|
|
122
|
-
import "./components/areas/components/Window/index.
|
|
123
|
-
import "./components/areas/index.
|
|
124
|
-
import "lodash.clonedeep";
|
|
123
|
+
import "./components/areas/components/Window/index.e34225ae.js";
|
|
124
|
+
import "./components/areas/index.6f09d168.js";
|
|
125
125
|
import "./react-data-grid.d46d625e.js";
|
|
126
126
|
import "simplebar-react";
|
|
127
127
|
import "./commonjs.565e6834.js";
|
|
128
128
|
import "react-helmet-async";
|
|
129
129
|
import "./components/WrapperComponent/index.5e872594.js";
|
|
130
|
-
const CmpDisenoTestClases = generateUtilityClasses("M4LCmpDisenoTest", [
|
|
131
|
-
"root",
|
|
132
|
-
"text",
|
|
133
|
-
"icon",
|
|
134
|
-
"typeError"
|
|
135
|
-
]);
|
|
136
|
-
function getCmpDisenoTestUtilityClass(slot) {
|
|
137
|
-
return generateUtilityClass("M4LCmpDisenoTest", slot);
|
|
138
|
-
}
|
|
139
|
-
const CmpDisenoTest = (props) => {
|
|
140
|
-
const {
|
|
141
|
-
variant,
|
|
142
|
-
fullWidth
|
|
143
|
-
} = props;
|
|
144
|
-
const useUtilityClasses = () => {
|
|
145
|
-
const slots = {
|
|
146
|
-
root: ["root", variant === "error" && "typeError", fullWidth && "fullWidth"],
|
|
147
|
-
label: ["label"]
|
|
148
|
-
};
|
|
149
|
-
const composedClasses = unstable_composeClasses(slots, getCmpDisenoTestUtilityClass, {});
|
|
150
|
-
return {
|
|
151
|
-
...composedClasses
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
const classes = useUtilityClasses();
|
|
155
|
-
console.log("classes", classes);
|
|
156
|
-
console.log("CmpDisenoTestClases", CmpDisenoTestClases);
|
|
157
|
-
return /* @__PURE__ */ jsx(Fragment, {});
|
|
158
|
-
};
|
|
159
130
|
const DraggableWindow = (props) => {
|
|
160
131
|
const {
|
|
161
132
|
children,
|
|
@@ -207,8 +178,6 @@ export {
|
|
|
207
178
|
B3 as Breadcrumbs,
|
|
208
179
|
B as Button,
|
|
209
180
|
C as CircularProgress,
|
|
210
|
-
CmpDisenoTest,
|
|
211
|
-
CmpDisenoTestClases,
|
|
212
181
|
C2 as ConcatenatedFormatter,
|
|
213
182
|
D2 as DataGrid,
|
|
214
183
|
D4 as DateFormatter,
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@mui/material/styles';
|
|
2
|
-
export interface WrapperCmpDisenoTestProps {
|
|
3
|
-
finalTheme: Theme;
|
|
4
|
-
ownerState: CmpDisenoTestProps;
|
|
5
|
-
}
|
|
6
|
-
declare type CmpDisenoTestVariants = 'default' | 'outlined' | 'error';
|
|
7
|
-
export interface CmpDisenoTestProps {
|
|
8
|
-
variant?: CmpDisenoTestVariants;
|
|
9
|
-
color?: 'primary' | 'secondary' | 'colorInherit';
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface M4lCmpDisenoTest {
|
|
13
|
-
root: string;
|
|
14
|
-
text: string;
|
|
15
|
-
icon: string;
|
|
16
|
-
typeError: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const CmpDisenoTestClases: M4lCmpDisenoTest;
|
|
19
|
-
export declare function getCmpDisenoTestUtilityClass(slot: string): string;
|
|
20
|
-
export {};
|