@m4l/components 0.1.92 → 0.1.93
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/@types/export.d.ts +12 -15
- package/components/AccountPopover/AccountPopover.d.ts +2 -1
- package/components/AccountPopover/{index.eebea1c5.js → index.2ef0bf6d.js} +20 -31
- package/components/AccountPopover/index.d.ts +0 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +4 -3
- package/components/AccountPopover/types.d.ts +50 -26
- package/components/AppBar/{index.90cceb7d.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.54588e5b.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.7907e6f4.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.f7cd515b.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f20cffae.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.7a196c44.js → index.ccf731c1.js} +2 -38
- package/components/DataGrid/classes/index.d.ts +1 -0
- package/components/DataGrid/classes/types.d.ts +1 -0
- package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +2 -2
- package/components/DataGrid/{index.95cea2ca.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.5b0b1fbf.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.e9192ebd.js → index.cb1402aa.js} +23 -56
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/{index.5e43414d.js → index.1421f0d4.js} +7 -7
- package/components/GridLayout/subcomponents/Griditem/{index.d6f326d2.js → index.b2342897.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.d41e31ca.js → index.f459804c.js} +2 -2
- package/components/HelperText/{index.191348cc.js → index.7d2afdb3.js} +2 -23
- package/components/Icon/{index.a70c4729.js → index.3211023d.js} +8 -6
- package/components/Image/{index.c18ebf5a.js → index.611cd930.js} +43 -14
- package/components/LanguagePopover/{index.a74f2065.js → index.b6dc03d0.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.60dabc06.js → index.c46da124.js} +1 -1
- package/components/LoadingError/LoadingError.d.ts +3 -0
- package/components/LoadingError/classes/constants.d.ts +1 -0
- package/components/LoadingError/classes/index.d.ts +14 -0
- package/components/LoadingError/classes/types.d.ts +14 -0
- package/components/LoadingError/dictionary.d.ts +1 -0
- package/components/LoadingError/index.96bdc803.js +106 -0
- package/components/LoadingError/index.d.ts +2 -0
- package/components/LoadingError/types.d.ts +10 -0
- package/components/MFLoader/classes/constants.d.ts +1 -0
- package/components/MFLoader/classes/index.d.ts +7 -0
- package/components/MFLoader/classes/types.d.ts +7 -0
- package/components/MFLoader/dictionary.d.ts +1 -0
- package/components/MFLoader/index.caee87dd.js +296 -0
- package/components/MFLoader/index.d.ts +2 -0
- package/components/MFLoader/types.d.ts +7 -0
- package/components/ModalDialog/{index.99745527.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.f12bba32.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.9bbac2a0.js → index.38fd657f.js} +12 -38
- package/components/Page/index.c4642a29.js +127 -0
- package/components/PaperForm/{index.e02c772c.js → index.cce9ed39.js} +1 -1
- package/components/Period/{index.ebd5e3b7.js → index.c35c6a6c.js} +5 -37
- package/components/PrintingSystem/PrintingSystem.d.ts +3 -0
- package/components/PrintingSystem/classes/constants.d.ts +1 -0
- package/components/PrintingSystem/classes/index.d.ts +32 -0
- package/components/PrintingSystem/classes/types.d.ts +33 -0
- package/components/PrintingSystem/index.d.ts +2 -0
- package/components/PrintingSystem/index.e18a2fa8.js +634 -0
- package/components/PrintingSystem/subcomponents/BodyNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/BodyNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ChartNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/GridNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/GridNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ImageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ImageNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/Pager/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/Pager/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PaperNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PaperNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/SectionNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/SectionNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/types.d.ts +3 -0
- package/components/PrintingSystem/types.d.ts +214 -0
- package/components/PrintingSystem/utils/FactoryRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/FactoryRender/types.d.ts +4 -0
- package/components/PrintingSystem/utils/PageRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/PageRender/types.d.ts +13 -0
- package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
- package/components/PrintingSystem/utils/getSize/index.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +3 -2
- package/components/PropertyValue/classes/types.d.ts +2 -0
- package/components/PropertyValue/{index.76fa6a12.js → index.3ee95452.js} +25 -9
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/Resizeable/{index.676c96fe.js → index.8c53c1fa.js} +1 -1
- package/components/SideBar/{index.2dfc5445.js → index.5fd648d2.js} +44 -39
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.cd054608.js → index.ddb384a1.js} +29 -62
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -8
- package/components/areas/components/AreasViewer/{index.62abf0bb.js → index.625bf23b.js} +68 -437
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/{index.d528f6e7.js → index.646f3c8f.js} +9 -7
- package/components/areas/contexts/index.24025b97.js +1 -0
- package/components/areas/contexts/index.d.ts +1 -0
- package/components/areas/hooks/index.d9dc1e21.js +1 -0
- package/components/areas/hooks/useAreas/{index.d417e4b2.js → index.ee66240b.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/areas/index.d.ts +1 -1
- package/components/formatters/BooleanFormatter/{index.a013b080.js → index.3c2df7a8.js} +10 -4
- package/components/formatters/FormatterRoot/index.d.ts +3 -0
- package/components/formatters/FormatterRoot/types.d.ts +4 -0
- package/components/formatters/classes/index.d.ts +4 -0
- package/components/formatters/classes/types.d.ts +6 -0
- package/components/formatters/constants.d.ts +1 -0
- package/components/formatters/{index.576922c9.js → index.dc77adb7.js} +25 -8
- package/components/hook-form/RHFAutocomplete/{index.29a4c62c.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.647c3f9c.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.0b89ea5c.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.1adc88ad.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.a4476d23.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.a1a240b1.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.a4582341.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.a4752aa1.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.7a9c12c0.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.b434146b.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.cdedddba.js → index.92aae1a4.js} +4 -4
- package/components/mui_extended/Button/{index.f79eb74e.js → index.94fec33c.js} +3 -3
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.76624519.js → index.53cd6388.js} +2 -2
- package/components/mui_extended/MenuActions/{index.7669b8af.js → index.dd9f65a2.js} +5 -19
- package/components/mui_extended/Pager/{index.ac2a21f0.js → index.de0bd62c.js} +2 -2
- package/components/mui_extended/Tab/{index.5f09e16a.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.347f6738.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.e8e7f758.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.fa6dfaa1.js → index.05d1821e.js} +1 -1
- package/index.js +196 -187
- package/node_modules.b55d04d9.js +15267 -0
- package/package.json +5 -1
- package/react-data-grid.d46d625e.js +2 -2
- package/react-draggable.e4725f3a.js +630 -0
- package/{react-resizable.ba08699a.js → react-resizable.c07d63fb.js} +2 -2
- package/utils/{index.c43a95f4.js → index.6469f148.js} +75 -107
- package/vendor.71883626.js +104 -0
- package/components/Page/index.4237c241.js +0 -27
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/types.d.ts +0 -8
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +0 -5
- package/components/areas/components/index.ea2f9914.js +0 -31
- package/components/areas/contexts/index.6e9bbc64.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.8d6d8969.js +0 -54
- package/components/mui_extended/index.fe189e7d.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.e14dec76.js +0 -128
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts → MFLoader/MFLoader.d.ts} +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/helper.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/index.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/types.d.ts +0 -0
- package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
- package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
- package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
- package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
|
@@ -17,7 +17,7 @@ shims.int = int;
|
|
|
17
17
|
shims.isFunction = isFunction;
|
|
18
18
|
shims.isNum = isNum;
|
|
19
19
|
function findInArray(array, callback) {
|
|
20
|
-
for (
|
|
20
|
+
for (let i = 0, length = array.length; i < length; i++) {
|
|
21
21
|
if (callback.apply(callback, [array[i], i, array]))
|
|
22
22
|
return array[i];
|
|
23
23
|
}
|
|
@@ -44,18 +44,18 @@ getPrefix$1.browserPrefixToKey = browserPrefixToKey;
|
|
|
44
44
|
getPrefix$1.browserPrefixToStyle = browserPrefixToStyle;
|
|
45
45
|
getPrefix$1.default = void 0;
|
|
46
46
|
getPrefix$1.getPrefix = getPrefix;
|
|
47
|
-
|
|
47
|
+
const prefixes = ["Moz", "Webkit", "O", "ms"];
|
|
48
48
|
function getPrefix() {
|
|
49
|
-
var _window$document
|
|
50
|
-
|
|
49
|
+
var _window$document;
|
|
50
|
+
let prop = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
|
|
51
51
|
if (typeof window === "undefined")
|
|
52
52
|
return "";
|
|
53
|
-
|
|
53
|
+
const style = (_window$document = window.document) === null || _window$document === void 0 || (_window$document = _window$document.documentElement) === null || _window$document === void 0 ? void 0 : _window$document.style;
|
|
54
54
|
if (!style)
|
|
55
55
|
return "";
|
|
56
56
|
if (prop in style)
|
|
57
57
|
return "";
|
|
58
|
-
for (
|
|
58
|
+
for (let i = 0; i < prefixes.length; i++) {
|
|
59
59
|
if (browserPrefixToKey(prop, prefixes[i]) in style)
|
|
60
60
|
return prefixes[i];
|
|
61
61
|
}
|
|
@@ -68,9 +68,9 @@ function browserPrefixToStyle(prop, prefix) {
|
|
|
68
68
|
return prefix ? "-".concat(prefix.toLowerCase(), "-").concat(prop) : prop;
|
|
69
69
|
}
|
|
70
70
|
function kebabToTitleCase(str) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (
|
|
71
|
+
let out = "";
|
|
72
|
+
let shouldCapitalize = true;
|
|
73
|
+
for (let i = 0; i < str.length; i++) {
|
|
74
74
|
if (shouldCapitalize) {
|
|
75
75
|
out += str[i].toUpperCase();
|
|
76
76
|
shouldCapitalize = false;
|
|
@@ -82,16 +82,7 @@ function kebabToTitleCase(str) {
|
|
|
82
82
|
}
|
|
83
83
|
return out;
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
getPrefix$1.default = _default;
|
|
87
|
-
function _typeof(obj) {
|
|
88
|
-
"@babel/helpers - typeof";
|
|
89
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
90
|
-
return typeof obj2;
|
|
91
|
-
} : function(obj2) {
|
|
92
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
93
|
-
}, _typeof(obj);
|
|
94
|
-
}
|
|
85
|
+
getPrefix$1.default = getPrefix();
|
|
95
86
|
Object.defineProperty(domFns, "__esModule", {
|
|
96
87
|
value: true
|
|
97
88
|
});
|
|
@@ -120,7 +111,7 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
120
111
|
return null;
|
|
121
112
|
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
122
113
|
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
123
|
-
return (_getRequireWildcardCache = function
|
|
114
|
+
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
124
115
|
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
125
116
|
})(nodeInterop);
|
|
126
117
|
}
|
|
@@ -128,7 +119,7 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
128
119
|
if (!nodeInterop && obj && obj.__esModule) {
|
|
129
120
|
return obj;
|
|
130
121
|
}
|
|
131
|
-
if (obj === null ||
|
|
122
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
132
123
|
return { default: obj };
|
|
133
124
|
}
|
|
134
125
|
var cache = _getRequireWildcardCache(nodeInterop);
|
|
@@ -153,36 +144,7 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
153
144
|
}
|
|
154
145
|
return newObj;
|
|
155
146
|
}
|
|
156
|
-
|
|
157
|
-
var keys = Object.keys(object);
|
|
158
|
-
if (Object.getOwnPropertySymbols) {
|
|
159
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
160
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
161
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
162
|
-
})), keys.push.apply(keys, symbols);
|
|
163
|
-
}
|
|
164
|
-
return keys;
|
|
165
|
-
}
|
|
166
|
-
function _objectSpread$1(target) {
|
|
167
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
168
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
169
|
-
i % 2 ? ownKeys$1(Object(source), true).forEach(function(key) {
|
|
170
|
-
_defineProperty$1(target, key, source[key]);
|
|
171
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function(key) {
|
|
172
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
return target;
|
|
176
|
-
}
|
|
177
|
-
function _defineProperty$1(obj, key, value) {
|
|
178
|
-
if (key in obj) {
|
|
179
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
180
|
-
} else {
|
|
181
|
-
obj[key] = value;
|
|
182
|
-
}
|
|
183
|
-
return obj;
|
|
184
|
-
}
|
|
185
|
-
var matchesSelectorFunc = "";
|
|
147
|
+
let matchesSelectorFunc = "";
|
|
186
148
|
function matchesSelector(el, selector) {
|
|
187
149
|
if (!matchesSelectorFunc) {
|
|
188
150
|
matchesSelectorFunc = (0, _shims$1.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(method) {
|
|
@@ -194,7 +156,7 @@ function matchesSelector(el, selector) {
|
|
|
194
156
|
return el[matchesSelectorFunc](selector);
|
|
195
157
|
}
|
|
196
158
|
function matchesSelectorAndParentsTo(el, selector, baseNode) {
|
|
197
|
-
|
|
159
|
+
let node = el;
|
|
198
160
|
do {
|
|
199
161
|
if (matchesSelector(node, selector))
|
|
200
162
|
return true;
|
|
@@ -207,9 +169,10 @@ function matchesSelectorAndParentsTo(el, selector, baseNode) {
|
|
|
207
169
|
function addEvent(el, event, handler, inputOptions) {
|
|
208
170
|
if (!el)
|
|
209
171
|
return;
|
|
210
|
-
|
|
211
|
-
capture: true
|
|
212
|
-
|
|
172
|
+
const options = {
|
|
173
|
+
capture: true,
|
|
174
|
+
...inputOptions
|
|
175
|
+
};
|
|
213
176
|
if (el.addEventListener) {
|
|
214
177
|
el.addEventListener(event, handler, options);
|
|
215
178
|
} else if (el.attachEvent) {
|
|
@@ -221,9 +184,10 @@ function addEvent(el, event, handler, inputOptions) {
|
|
|
221
184
|
function removeEvent(el, event, handler, inputOptions) {
|
|
222
185
|
if (!el)
|
|
223
186
|
return;
|
|
224
|
-
|
|
225
|
-
capture: true
|
|
226
|
-
|
|
187
|
+
const options = {
|
|
188
|
+
capture: true,
|
|
189
|
+
...inputOptions
|
|
190
|
+
};
|
|
227
191
|
if (el.removeEventListener) {
|
|
228
192
|
el.removeEventListener(event, handler, options);
|
|
229
193
|
} else if (el.detachEvent) {
|
|
@@ -233,70 +197,71 @@ function removeEvent(el, event, handler, inputOptions) {
|
|
|
233
197
|
}
|
|
234
198
|
}
|
|
235
199
|
function outerHeight(node) {
|
|
236
|
-
|
|
237
|
-
|
|
200
|
+
let height = node.clientHeight;
|
|
201
|
+
const computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);
|
|
238
202
|
height += (0, _shims$1.int)(computedStyle.borderTopWidth);
|
|
239
203
|
height += (0, _shims$1.int)(computedStyle.borderBottomWidth);
|
|
240
204
|
return height;
|
|
241
205
|
}
|
|
242
206
|
function outerWidth(node) {
|
|
243
|
-
|
|
244
|
-
|
|
207
|
+
let width = node.clientWidth;
|
|
208
|
+
const computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);
|
|
245
209
|
width += (0, _shims$1.int)(computedStyle.borderLeftWidth);
|
|
246
210
|
width += (0, _shims$1.int)(computedStyle.borderRightWidth);
|
|
247
211
|
return width;
|
|
248
212
|
}
|
|
249
213
|
function innerHeight(node) {
|
|
250
|
-
|
|
251
|
-
|
|
214
|
+
let height = node.clientHeight;
|
|
215
|
+
const computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);
|
|
252
216
|
height -= (0, _shims$1.int)(computedStyle.paddingTop);
|
|
253
217
|
height -= (0, _shims$1.int)(computedStyle.paddingBottom);
|
|
254
218
|
return height;
|
|
255
219
|
}
|
|
256
220
|
function innerWidth(node) {
|
|
257
|
-
|
|
258
|
-
|
|
221
|
+
let width = node.clientWidth;
|
|
222
|
+
const computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);
|
|
259
223
|
width -= (0, _shims$1.int)(computedStyle.paddingLeft);
|
|
260
224
|
width -= (0, _shims$1.int)(computedStyle.paddingRight);
|
|
261
225
|
return width;
|
|
262
226
|
}
|
|
263
227
|
function offsetXYFromParent(evt, offsetParent, scale) {
|
|
264
|
-
|
|
265
|
-
|
|
228
|
+
const isBody = offsetParent === offsetParent.ownerDocument.body;
|
|
229
|
+
const offsetParentRect = isBody ? {
|
|
266
230
|
left: 0,
|
|
267
231
|
top: 0
|
|
268
232
|
} : offsetParent.getBoundingClientRect();
|
|
269
|
-
|
|
270
|
-
|
|
233
|
+
const x = (evt.clientX + offsetParent.scrollLeft - offsetParentRect.left) / scale;
|
|
234
|
+
const y = (evt.clientY + offsetParent.scrollTop - offsetParentRect.top) / scale;
|
|
271
235
|
return {
|
|
272
236
|
x,
|
|
273
237
|
y
|
|
274
238
|
};
|
|
275
239
|
}
|
|
276
240
|
function createCSSTransform(controlPos, positionOffset) {
|
|
277
|
-
|
|
278
|
-
return
|
|
241
|
+
const translation = getTranslation(controlPos, positionOffset, "px");
|
|
242
|
+
return {
|
|
243
|
+
[(0, _getPrefix.browserPrefixToKey)("transform", _getPrefix.default)]: translation
|
|
244
|
+
};
|
|
279
245
|
}
|
|
280
246
|
function createSVGTransform(controlPos, positionOffset) {
|
|
281
|
-
|
|
247
|
+
const translation = getTranslation(controlPos, positionOffset, "");
|
|
282
248
|
return translation;
|
|
283
249
|
}
|
|
284
|
-
function getTranslation(
|
|
285
|
-
|
|
286
|
-
|
|
250
|
+
function getTranslation(_ref, positionOffset, unitSuffix) {
|
|
251
|
+
let {
|
|
252
|
+
x,
|
|
253
|
+
y
|
|
254
|
+
} = _ref;
|
|
255
|
+
let translation = "translate(".concat(x).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")");
|
|
287
256
|
if (positionOffset) {
|
|
288
|
-
|
|
289
|
-
|
|
257
|
+
const defaultX = "".concat(typeof positionOffset.x === "string" ? positionOffset.x : positionOffset.x + unitSuffix);
|
|
258
|
+
const defaultY = "".concat(typeof positionOffset.y === "string" ? positionOffset.y : positionOffset.y + unitSuffix);
|
|
290
259
|
translation = "translate(".concat(defaultX, ", ").concat(defaultY, ")") + translation;
|
|
291
260
|
}
|
|
292
261
|
return translation;
|
|
293
262
|
}
|
|
294
263
|
function getTouch(e, identifier) {
|
|
295
|
-
return e.targetTouches && (0, _shims$1.findInArray)(e.targetTouches,
|
|
296
|
-
return identifier === t.identifier;
|
|
297
|
-
}) || e.changedTouches && (0, _shims$1.findInArray)(e.changedTouches, function(t) {
|
|
298
|
-
return identifier === t.identifier;
|
|
299
|
-
});
|
|
264
|
+
return e.targetTouches && (0, _shims$1.findInArray)(e.targetTouches, (t) => identifier === t.identifier) || e.changedTouches && (0, _shims$1.findInArray)(e.changedTouches, (t) => identifier === t.identifier);
|
|
300
265
|
}
|
|
301
266
|
function getTouchIdentifier(e) {
|
|
302
267
|
if (e.targetTouches && e.targetTouches[0])
|
|
@@ -307,7 +272,7 @@ function getTouchIdentifier(e) {
|
|
|
307
272
|
function addUserSelectStyles(doc) {
|
|
308
273
|
if (!doc)
|
|
309
274
|
return;
|
|
310
|
-
|
|
275
|
+
let styleEl = doc.getElementById("react-draggable-style-el");
|
|
311
276
|
if (!styleEl) {
|
|
312
277
|
styleEl = doc.createElement("style");
|
|
313
278
|
styleEl.type = "text/css";
|
|
@@ -328,7 +293,7 @@ function removeUserSelectStyles(doc) {
|
|
|
328
293
|
if (doc.selection) {
|
|
329
294
|
doc.selection.empty();
|
|
330
295
|
} else {
|
|
331
|
-
|
|
296
|
+
const selection = (doc.defaultView || window).getSelection();
|
|
332
297
|
if (selection && selection.type !== "Caret") {
|
|
333
298
|
selection.removeAllRanges();
|
|
334
299
|
}
|
|
@@ -368,13 +333,17 @@ var _domFns = domFns;
|
|
|
368
333
|
function getBoundPosition(draggable, x, y) {
|
|
369
334
|
if (!draggable.props.bounds)
|
|
370
335
|
return [x, y];
|
|
371
|
-
|
|
336
|
+
let {
|
|
337
|
+
bounds
|
|
338
|
+
} = draggable.props;
|
|
372
339
|
bounds = typeof bounds === "string" ? bounds : cloneBounds(bounds);
|
|
373
|
-
|
|
340
|
+
const node = findDOMNode(draggable);
|
|
374
341
|
if (typeof bounds === "string") {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
342
|
+
const {
|
|
343
|
+
ownerDocument
|
|
344
|
+
} = node;
|
|
345
|
+
const ownerWindow = ownerDocument.defaultView;
|
|
346
|
+
let boundNode;
|
|
378
347
|
if (bounds === "parent") {
|
|
379
348
|
boundNode = node.parentNode;
|
|
380
349
|
} else {
|
|
@@ -383,9 +352,9 @@ function getBoundPosition(draggable, x, y) {
|
|
|
383
352
|
if (!(boundNode instanceof ownerWindow.HTMLElement)) {
|
|
384
353
|
throw new Error('Bounds selector "' + bounds + '" could not find an element.');
|
|
385
354
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
355
|
+
const boundNodeEl = boundNode;
|
|
356
|
+
const nodeStyle = ownerWindow.getComputedStyle(node);
|
|
357
|
+
const boundNodeStyle = ownerWindow.getComputedStyle(boundNodeEl);
|
|
389
358
|
bounds = {
|
|
390
359
|
left: -node.offsetLeft + (0, _shims.int)(boundNodeStyle.paddingLeft) + (0, _shims.int)(nodeStyle.marginLeft),
|
|
391
360
|
top: -node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingTop) + (0, _shims.int)(nodeStyle.marginTop),
|
|
@@ -404,8 +373,8 @@ function getBoundPosition(draggable, x, y) {
|
|
|
404
373
|
return [x, y];
|
|
405
374
|
}
|
|
406
375
|
function snapToGrid(grid, pendingX, pendingY) {
|
|
407
|
-
|
|
408
|
-
|
|
376
|
+
const x = Math.round(pendingX / grid[0]) * grid[0];
|
|
377
|
+
const y = Math.round(pendingY / grid[1]) * grid[1];
|
|
409
378
|
return [x, y];
|
|
410
379
|
}
|
|
411
380
|
function canDragX(draggable) {
|
|
@@ -415,17 +384,16 @@ function canDragY(draggable) {
|
|
|
415
384
|
return draggable.props.axis === "both" || draggable.props.axis === "y";
|
|
416
385
|
}
|
|
417
386
|
function getControlPosition(e, touchIdentifier, draggableCore) {
|
|
418
|
-
|
|
387
|
+
const touchObj = typeof touchIdentifier === "number" ? (0, _domFns.getTouch)(e, touchIdentifier) : null;
|
|
419
388
|
if (typeof touchIdentifier === "number" && !touchObj)
|
|
420
389
|
return null;
|
|
421
|
-
|
|
422
|
-
|
|
390
|
+
const node = findDOMNode(draggableCore);
|
|
391
|
+
const offsetParent = draggableCore.props.offsetParent || node.offsetParent || node.ownerDocument.body;
|
|
423
392
|
return (0, _domFns.offsetXYFromParent)(touchObj || e, offsetParent, draggableCore.props.scale);
|
|
424
393
|
}
|
|
425
394
|
function createCoreData(draggable, x, y) {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
var node = findDOMNode(draggable);
|
|
395
|
+
const isStart = !(0, _shims.isNum)(draggable.lastX);
|
|
396
|
+
const node = findDOMNode(draggable);
|
|
429
397
|
if (isStart) {
|
|
430
398
|
return {
|
|
431
399
|
node,
|
|
@@ -439,17 +407,17 @@ function createCoreData(draggable, x, y) {
|
|
|
439
407
|
} else {
|
|
440
408
|
return {
|
|
441
409
|
node,
|
|
442
|
-
deltaX: x -
|
|
443
|
-
deltaY: y -
|
|
444
|
-
lastX:
|
|
445
|
-
lastY:
|
|
410
|
+
deltaX: x - draggable.lastX,
|
|
411
|
+
deltaY: y - draggable.lastY,
|
|
412
|
+
lastX: draggable.lastX,
|
|
413
|
+
lastY: draggable.lastY,
|
|
446
414
|
x,
|
|
447
415
|
y
|
|
448
416
|
};
|
|
449
417
|
}
|
|
450
418
|
}
|
|
451
419
|
function createDraggableData(draggable, coreData) {
|
|
452
|
-
|
|
420
|
+
const scale = draggable.props.scale;
|
|
453
421
|
return {
|
|
454
422
|
node: coreData.node,
|
|
455
423
|
x: draggable.state.x + coreData.deltaX / scale,
|
|
@@ -469,7 +437,7 @@ function cloneBounds(bounds) {
|
|
|
469
437
|
};
|
|
470
438
|
}
|
|
471
439
|
function findDOMNode(draggable) {
|
|
472
|
-
|
|
440
|
+
const node = draggable.findDOMNode();
|
|
473
441
|
if (!node) {
|
|
474
442
|
throw new Error("<DraggableCore>: Unmounted during event!");
|
|
475
443
|
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import "./assets/Logo/index.228dcb5a.js";
|
|
2
|
+
import "./components/DataGrid/index.abedf2c0.js";
|
|
3
|
+
import "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
4
|
+
import "./components/NavLink/index.b75c91e1.js";
|
|
5
|
+
import "./components/ScrollToTop/index.e06f98f6.js";
|
|
6
|
+
import "./components/animate/index.5d4575bc.js";
|
|
7
|
+
import "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
8
|
+
import "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
9
|
+
import "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
10
|
+
import "./components/animate/PropagateLoader/index.7fab43c8.js";
|
|
11
|
+
import "./components/animate/variants/fade.b561c0fc.js";
|
|
12
|
+
import "./components/animate/variants/bounce.784aaaaa.js";
|
|
13
|
+
import "./components/animate/variants/container.11f82b76.js";
|
|
14
|
+
import "./components/animate/variants/transition.bd46b9ce.js";
|
|
15
|
+
import "./components/areas/components/AreasAdmin/index.ddb384a1.js";
|
|
16
|
+
import "./components/areas/components/AreasViewer/index.625bf23b.js";
|
|
17
|
+
import "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
18
|
+
import "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
19
|
+
import "./components/areas/contexts/AreasContext/index.646f3c8f.js";
|
|
20
|
+
import "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
21
|
+
import "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
22
|
+
import "./components/areas/dictionary.08cfc4c9.js";
|
|
23
|
+
import "./components/hook-form/RHFAutocomplete/index.52387f0f.js";
|
|
24
|
+
import "./components/hook-form/RHFAutocompleteAsync/index.638bd2ae.js";
|
|
25
|
+
import "./components/hook-form/RHFDateTime/index.66e334b0.js";
|
|
26
|
+
import "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
27
|
+
import "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
28
|
+
import "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
29
|
+
import "./components/hook-form/RHFPeriod/index.23099265.js";
|
|
30
|
+
import "./components/Period/index.c35c6a6c.js";
|
|
31
|
+
import "./components/hook-form/RHFCheckbox/index.a38715e3.js";
|
|
32
|
+
import "./components/hook-form/RHFTextField/index.25b3627e.js";
|
|
33
|
+
import "./components/hook-form/RHFUpload/index.65588e08.js";
|
|
34
|
+
import "./components/mui_extended/Accordion/index.92aae1a4.js";
|
|
35
|
+
import "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
36
|
+
import "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
37
|
+
import "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
38
|
+
import "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
39
|
+
import "./components/mui_extended/Badge/index.09f5aee5.js";
|
|
40
|
+
import "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
41
|
+
import "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
42
|
+
import "./components/mui_extended/Button/index.94fec33c.js";
|
|
43
|
+
import "./components/mui_extended/MenuActions/index.dd9f65a2.js";
|
|
44
|
+
import "./components/mui_extended/Pager/index.de0bd62c.js";
|
|
45
|
+
import "./components/mui_extended/Tab/index.1fcabba2.js";
|
|
46
|
+
import "./components/mui_extended/CheckBox.e662d20c.js";
|
|
47
|
+
import "./components/mui_extended/IconButton/index.53cd6388.js";
|
|
48
|
+
import "./components/mui_extended/Popover/index.b3eca6b1.js";
|
|
49
|
+
import "./components/mui_extended/Stack/index.0e53197c.js";
|
|
50
|
+
import "./components/mui_extended/Tooltip/index.24a2bc3f.js";
|
|
51
|
+
import "./components/mui_extended/Typography/index.379dd374.js";
|
|
52
|
+
import "./components/formatters/BooleanFormatter/index.3c2df7a8.js";
|
|
53
|
+
import "./components/formatters/DateFormatter/index.578a9f53.js";
|
|
54
|
+
import "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
|
|
55
|
+
import "./components/formatters/PointsFormatter/index.80a4e414.js";
|
|
56
|
+
import "./components/formatters/index.dc77adb7.js";
|
|
57
|
+
import "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
58
|
+
import "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
|
|
59
|
+
import "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
60
|
+
import "./components/DataGrid/formatters/columnNestedValueFormatter/index.b63f7246.js";
|
|
61
|
+
import "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
62
|
+
import "./components/DynamicFilter/index.cb1402aa.js";
|
|
63
|
+
import "./components/HelperText/index.7d2afdb3.js";
|
|
64
|
+
import "./components/CommonActions/components/Actions/index.ccf731c1.js";
|
|
65
|
+
import "./components/CommonActions/components/ActionCancel/index.c3e23ad4.js";
|
|
66
|
+
import "./components/CommonActions/components/ActionIntro/index.49631fcb.js";
|
|
67
|
+
import "./components/CommonActions/components/ActionFormCancel/index.6da52418.js";
|
|
68
|
+
import "./components/CommonActions/components/ActionFormIntro/index.c3af6d1d.js";
|
|
69
|
+
import "./components/DraggableWindow/index.8f423ed7.js";
|
|
70
|
+
import "./components/GridLayout/index.1421f0d4.js";
|
|
71
|
+
import "./components/GridLayout/subcomponents/Responsive/index.f459804c.js";
|
|
72
|
+
import "./components/PrintingSystem/index.e18a2fa8.js";
|
|
73
|
+
import "./components/Icon/index.3211023d.js";
|
|
74
|
+
import "./components/LanguagePopover/index.b6dc03d0.js";
|
|
75
|
+
import "./components/LinearProgressIndeterminate/index.c46da124.js";
|
|
76
|
+
import "./components/Image/index.611cd930.js";
|
|
77
|
+
import "./components/Loadable/index.e994fc3e.js";
|
|
78
|
+
import "./components/ModalDialog/index.ec55087e.js";
|
|
79
|
+
import "./components/modal/index.61389369.js";
|
|
80
|
+
import "./components/modal/WindowConfirm.7eed7c35.js";
|
|
81
|
+
import "./components/modal/WindowBase.161ec78a.js";
|
|
82
|
+
import "./components/LoadingError/index.96bdc803.js";
|
|
83
|
+
import "./components/MFLoader/index.caee87dd.js";
|
|
84
|
+
import "./components/NoItemSelected/index.3e29c208.js";
|
|
85
|
+
import "./components/ObjectLogs/index.38fd657f.js";
|
|
86
|
+
import "./components/PaperForm/index.cce9ed39.js";
|
|
87
|
+
import "./components/Page/index.c4642a29.js";
|
|
88
|
+
import "./components/PropertyValue/index.3ee95452.js";
|
|
89
|
+
import "./components/Resizeable/index.8c53c1fa.js";
|
|
90
|
+
import "./components/ScrollBar/index.65bb2930.js";
|
|
91
|
+
import "./components/SplitLayout/index.9ef430f6.js";
|
|
92
|
+
import "./components/SideBar/index.5fd648d2.js";
|
|
93
|
+
import "./components/AppBar/index.16fe42a1.js";
|
|
94
|
+
import "./components/AccountPopover/index.2ef0bf6d.js";
|
|
95
|
+
import "./contexts/RHFormContext/index.1755b324.js";
|
|
96
|
+
import "./contexts/ModalContext/index.436c2938.js";
|
|
97
|
+
import "./hooks/useFormAddEdit/index.3584a29f.js";
|
|
98
|
+
import "./hooks/useModal/index.05d1821e.js";
|
|
99
|
+
const getNameDataTestId = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
|
|
100
|
+
return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
getNameDataTestId as g
|
|
104
|
+
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Helmet } from "react-helmet-async";
|
|
2
|
-
import { useLocales } from "@m4l/graphics";
|
|
3
|
-
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
5
|
-
const HelmetPage = (props) => {
|
|
6
|
-
const {
|
|
7
|
-
children,
|
|
8
|
-
title,
|
|
9
|
-
meta,
|
|
10
|
-
subtitle
|
|
11
|
-
} = props;
|
|
12
|
-
const localeString = useLocales().currentLocale?.localeString;
|
|
13
|
-
const isSkeleton = useModuleSkeleton();
|
|
14
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
15
|
-
children: [!isSkeleton && /* @__PURE__ */ jsxs(Helmet, {
|
|
16
|
-
children: [/* @__PURE__ */ jsx("title", {
|
|
17
|
-
children: `${title}${subtitle ? ` | ${subtitle}` : ""} `
|
|
18
|
-
}), /* @__PURE__ */ jsx("html", {
|
|
19
|
-
lang: localeString
|
|
20
|
-
}), meta]
|
|
21
|
-
}), children]
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
HelmetPage.displayName = "Page";
|
|
25
|
-
export {
|
|
26
|
-
HelmetPage as H
|
|
27
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MFBaseProps } from '../../../../../../../../../../types';
|
|
2
|
-
import { WindowToolsMF } from '../../../../../../../../../../contexts/WindowToolsMFContext/types';
|
|
3
|
-
import { DynamicMFStore } from '../../../../../../../../../../contexts/DynamicMFParmsContext/store';
|
|
4
|
-
export interface MFLoaderProps extends MFBaseProps {
|
|
5
|
-
moduleId: string;
|
|
6
|
-
dynamicMFStore?: DynamicMFStore;
|
|
7
|
-
windowTools: WindowToolsMF;
|
|
8
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import "@m4l/core";
|
|
3
|
-
import "@mui/material";
|
|
4
|
-
import "../../Icon/index.a70c4729.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
|
-
import "../../mui_extended/IconButton/index.76624519.js";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "zustand";
|
|
10
|
-
import "../contexts/AreasContext/index.d528f6e7.js";
|
|
11
|
-
import "./AreasAdmin/index.cd054608.js";
|
|
12
|
-
import "zustand/shallow";
|
|
13
|
-
import "../../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
15
|
-
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
|
-
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
|
-
import "react-router-dom";
|
|
18
|
-
import "@mui/material/Button";
|
|
19
|
-
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
20
|
-
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
|
-
import "../../Image/index.c18ebf5a.js";
|
|
23
|
-
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
|
-
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
|
-
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./AreasViewer/index.62abf0bb.js";
|
|
31
|
-
import "../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import "@m4l/core";
|
|
3
|
-
import "@mui/material";
|
|
4
|
-
import "../Icon/index.a70c4729.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.76624519.js";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "zustand";
|
|
10
|
-
import "./contexts/AreasContext/index.d528f6e7.js";
|
|
11
|
-
import "./components/AreasAdmin/index.cd054608.js";
|
|
12
|
-
import "zustand/shallow";
|
|
13
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
15
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
16
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
|
-
import "react-router-dom";
|
|
18
|
-
import "@mui/material/Button";
|
|
19
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
20
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
22
|
-
import "../Image/index.c18ebf5a.js";
|
|
23
|
-
import "@mui/lab";
|
|
24
|
-
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
28
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./components/AreasViewer/index.62abf0bb.js";
|
|
31
|
-
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
32
|
-
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
33
|
-
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
34
|
-
function useOnClickOutside(ref, handler, noRef) {
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
const listener = (event) => {
|
|
37
|
-
const el = ref?.current;
|
|
38
|
-
const noEl = noRef?.current;
|
|
39
|
-
if (!el || el.contains(event.target) || noEl && noEl.contains(event.target)) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
handler(event);
|
|
43
|
-
};
|
|
44
|
-
document.addEventListener("mousedown", listener);
|
|
45
|
-
document.addEventListener("touchstart", listener);
|
|
46
|
-
return () => {
|
|
47
|
-
document.removeEventListener("mousedown", listener);
|
|
48
|
-
document.removeEventListener("touchstart", listener);
|
|
49
|
-
};
|
|
50
|
-
}, [ref, handler]);
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
useOnClickOutside as u
|
|
54
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import "@mui/material";
|
|
2
|
-
import "react";
|
|
3
|
-
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.a70c4729.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
|
-
import "./IconButton/index.76624519.js";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.cdedddba.js";
|
|
10
|
-
import "./Typography/index.443590d6.js";
|
|
11
|
-
import "./Avatar/index.75e6ed57.js";
|
|
12
|
-
import "react-router-dom";
|
|
13
|
-
import "@mui/material/Button";
|
|
14
|
-
import "./Button/index.f79eb74e.js";
|
|
15
|
-
import "./CheckBox.38abccd8.js";
|
|
16
|
-
import "./Badge/index.b09524fe.js";
|
|
17
|
-
import "../Image/index.c18ebf5a.js";
|
|
18
|
-
import "@mui/lab";
|
|
19
|
-
import "./MenuActions/index.7669b8af.js";
|
|
20
|
-
import "./Popover/index.9f35d0eb.js";
|
|
21
|
-
import "./Stack/index.0e53197c.js";
|
|
22
|
-
import "./Tab/index.5f09e16a.js";
|
|
23
|
-
import "./Pager/index.ac2a21f0.js";
|
|
24
|
-
import "./Tooltip/index.5a795dcd.js";
|