@m4l/components 0.2.3 → 0.2.4

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 (139) hide show
  1. package/@types/export.d.ts +16 -4
  2. package/{commonjs.565e6834.js → commonjs.333e55c7.js} +5 -0
  3. package/components/AccountPopover/{index.3f67361e.js → index.2604c389.js} +2 -4
  4. package/components/AccountPopover/index.d.ts +1 -0
  5. package/components/AppBar/AppBar.d.ts +24 -0
  6. package/components/AppBar/classes/index.d.ts +2 -0
  7. package/components/AppBar/classes/types.d.ts +2 -0
  8. package/components/AppBar/{index.f78b52c7.js → index.9522f237.js} +26 -5
  9. package/components/AppBar/types.d.ts +14 -0
  10. package/components/CommonActions/components/ActionCancel/{index.5916fb86.js → index.06539086.js} +2 -2
  11. package/components/CommonActions/components/ActionFormCancel/{index.dbd002ab.js → index.33fc6c79.js} +5 -14
  12. package/components/CommonActions/components/ActionFormIntro/{index.c7acf718.js → index.5a719043.js} +2 -2
  13. package/components/CommonActions/components/ActionIntro/{index.789d82ed.js → index.3e8a2e60.js} +2 -2
  14. package/components/CommonActions/components/Actions/{index.ccf731c1.js → index.2f6286eb.js} +1 -1
  15. package/components/DataGrid/formatters/columnPointsFormatter/{index.5e645334.js → index.a19b7b90.js} +1 -1
  16. package/components/DataGrid/{index.71fae988.js → index.8fbcf147.js} +8 -9
  17. package/components/DataGrid/subcomponents/Actions/{index.ea3fb0b2.js → index.bad681dc.js} +9 -9
  18. package/components/DraggableWindow/{index.8f423ed7.js → index.f9f067bd.js} +1 -1
  19. package/components/DynamicFilter/classes/index.d.ts +1 -1
  20. package/components/DynamicFilter/classes/types.d.ts +1 -0
  21. package/components/DynamicFilter/{index.69c2e381.js → index.cd7691e0.js} +17 -13
  22. package/components/GridLayout/{index.4a245d9e.js → index.e8c04242.js} +2 -2
  23. package/components/GridLayout/subcomponents/Griditem/{index.ea745285.js → index.4d38f12e.js} +3 -3
  24. package/components/GridLayout/subcomponents/Responsive/{index.edb59c22.js → index.e25df1dc.js} +1 -1
  25. package/components/Icon/index.05984e7f.js +248 -0
  26. package/components/Icon/types.d.ts +1 -0
  27. package/components/Image/{index.9799dfc0.js → index.bf37e923.js} +46 -4
  28. package/components/Image/types.d.ts +2 -2
  29. package/components/LanguagePopover/{index.b8fd6ccc.js → index.5ff37dbf.js} +2 -2
  30. package/components/LinearProgressIndeterminate/{index.c46da124.js → index.a0ad2d9e.js} +1 -1
  31. package/components/LoadingError/{index.19b6eeb6.js → index.fabad214.js} +3 -3
  32. package/components/MFLoader/{index.56cd1993.js → index.7b4ee2a4.js} +1 -1
  33. package/components/ModalDialog/{index.ec55087e.js → index.89e26413.js} +4 -4
  34. package/components/NoItemSelected/{index.8a2a13f8.js → index.7db73e77.js} +1 -1
  35. package/components/ObjectLogs/{index.7150b3a9.js → index.9c353020.js} +7 -7
  36. package/components/PDFViewer/PDFViewer.d.ts +2 -0
  37. package/components/PDFViewer/classes/constants.d.ts +1 -0
  38. package/components/PDFViewer/classes/index.d.ts +7 -0
  39. package/components/PDFViewer/classes/types.d.ts +7 -0
  40. package/components/PDFViewer/index.5c2db67a.js +63 -0
  41. package/components/PDFViewer/index.d.ts +1 -0
  42. package/components/PDFViewer/types.d.ts +3 -0
  43. package/components/Page/{index.49d18c85.js → index.710cb16f.js} +1 -1
  44. package/components/PaperForm/{index.637c8cb4.js → index.7ea3883f.js} +1 -1
  45. package/components/Period/{index.c964884f.js → index.0aa8e507.js} +2 -2
  46. package/components/PrintingSystem/{index.d1fd7818.js → index.ed3b22b7.js} +15 -43
  47. package/components/PrintingSystem/subcomponents/BodyNode/{index.f6410daa.js → index.7acc6016.js} +1 -1
  48. package/components/PrintingSystem/subcomponents/ChartNode/{index.6b30abe0.js → index.e4a23bdd.js} +4 -4
  49. package/components/PrintingSystem/subcomponents/DividerNode/{index.dcac3bc0.js → index.16fff262.js} +1 -1
  50. package/components/PrintingSystem/subcomponents/FooterNode/{index.dd21921e.js → index.6c67dec0.js} +1 -1
  51. package/components/PrintingSystem/subcomponents/GridNode/{index.eb5ebe06.js → index.f466062b.js} +4 -4
  52. package/components/PrintingSystem/subcomponents/HeaderNode/{index.48e8769c.js → index.77d3d39a.js} +1 -1
  53. package/components/PrintingSystem/subcomponents/PaperNode/{index.ccec72dc.js → index.2a3d54a3.js} +4 -4
  54. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.807e0343.js → index.e71ad971.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/QRImageNode/index.d.ts +2 -0
  56. package/components/PrintingSystem/subcomponents/QRImageNode/types.d.ts +3 -0
  57. package/components/PrintingSystem/subcomponents/SectionNode/{index.622df623.js → index.ce4f6d16.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.f06ac3d5.js → index.850d20a1.js} +3 -3
  59. package/components/PrintingSystem/types.d.ts +10 -1
  60. package/components/PropertyValue/classes/index.d.ts +1 -1
  61. package/components/PropertyValue/classes/types.d.ts +4 -1
  62. package/components/PropertyValue/index.37d91d0c.js +206 -0
  63. package/components/PropertyValue/types.d.ts +5 -7
  64. package/components/Resizeable/{index.8c53c1fa.js → index.6478d7d8.js} +1 -1
  65. package/components/ScrollBar/{index.65bb2930.js → index.010f1b9d.js} +5 -1
  66. package/components/SideBar/classes/index.d.ts +1 -1
  67. package/components/SideBar/{index.83ee1067.js → index.58d29b84.js} +12 -12
  68. package/components/SideBar/types.d.ts +3 -3
  69. package/components/SplitLayout/{index.9ef430f6.js → index.30fd5861.js} +1 -1
  70. package/components/ToastContainer/ToastContainer.d.ts +2 -0
  71. package/components/ToastContainer/classes/constants.d.ts +1 -0
  72. package/components/ToastContainer/classes/index.d.ts +8 -0
  73. package/components/ToastContainer/classes/types.d.ts +9 -0
  74. package/components/ToastContainer/index.d.ts +2 -0
  75. package/components/ToastContainer/index.ed440301.js +87 -0
  76. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +2 -0
  77. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +5 -0
  78. package/components/ToastContainer/types.d.ts +4 -0
  79. package/components/areas/components/AreasAdmin/{index.90da0626.js → index.a14ba797.js} +12 -12
  80. package/components/areas/components/AreasViewer/{index.eb166eca.js → index.c4545f2d.js} +15 -15
  81. package/components/areas/contexts/AreasContext/{index.1c3f87a7.js → index.54893ef7.js} +4 -4
  82. package/components/areas/hooks/useAreas/{index.58ac16d2.js → index.a15b3d9c.js} +1 -1
  83. package/components/formatters/BooleanFormatter/{index.fffdef5e.js → index.4f3cbdce.js} +2 -2
  84. package/components/formatters/PointsFormatter/{index.80a4e414.js → index.5c94c5e8.js} +2 -2
  85. package/components/formatters/PointsFormatter/index.d.ts +1 -1
  86. package/components/formatters/{index.7ee9ae5d.js → index.4ca6946d.js} +1 -1
  87. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -0
  88. package/components/hook-form/RHFAutocomplete/{index.31e92edb.js → index.0ce87ac3.js} +26 -35
  89. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
  90. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -2
  91. package/components/hook-form/RHFAutocomplete/types.d.ts +8 -3
  92. package/components/hook-form/RHFAutocompleteAsync/{index.6c5648f7.js → index.57789d3a.js} +1 -1
  93. package/components/hook-form/RHFColorPicker/classes/constants.d.ts +1 -0
  94. package/components/hook-form/RHFColorPicker/classes/index.d.ts +11 -0
  95. package/components/hook-form/RHFColorPicker/classes/types.d.ts +11 -0
  96. package/components/hook-form/RHFColorPicker/index.d.ts +6 -0
  97. package/components/hook-form/RHFColorPicker/index.d00a2b53.js +150 -0
  98. package/components/hook-form/RHFColorPicker/subcomponents/Skeleton/indext.d.ts +1 -0
  99. package/components/hook-form/RHFColorPicker/types.d.ts +5 -0
  100. package/components/hook-form/RHFDateTime/{index.a5ba00d5.js → index.ae5d3a39.js} +1 -1
  101. package/components/hook-form/RHFDateTime/types.d.ts +0 -1
  102. package/components/hook-form/RHFPeriod/{index.fd29d20c.js → index.ae9bcf41.js} +1 -1
  103. package/components/hook-form/RHFTextField/{index.22203742.js → index.80cc07e0.js} +2 -2
  104. package/components/hook-form/RHFUpload/{index.aef0f459.js → index.587aac00.js} +4 -4
  105. package/components/index.d.ts +2 -0
  106. package/components/maps/components/GpsTools/{index.ed49dc90.js → index.889b0c39.js} +17 -17
  107. package/components/maps/components/Map/{index.9fcc381d.js → index.665e5c5d.js} +4 -4
  108. package/components/modal/{WindowBase.2f29424e.js → WindowBase.ea17cf20.js} +3 -3
  109. package/components/modal/{WindowConfirm.1d1d9cd2.js → WindowConfirm.19ddbd5d.js} +6 -6
  110. package/components/mui_extended/Accordion/{index.c8c7d392.js → index.b9b427d7.js} +3 -3
  111. package/components/mui_extended/Button/classes/types.d.ts +2 -0
  112. package/components/mui_extended/Button/{index.bd3371a3.js → index.570fd3a4.js} +3 -3
  113. package/components/mui_extended/IconButton/{index.dd9f297b.js → index.26de70bd.js} +1 -1
  114. package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -1
  115. package/components/mui_extended/MenuActions/{index.46c5f7c7.js → index.8c02ff61.js} +2 -2
  116. package/components/mui_extended/Pager/{index.e4e66ac8.js → index.5629e82b.js} +1 -1
  117. package/components/mui_extended/Tab/{index.a85b2dab.js → index.724d5948.js} +1 -1
  118. package/components/mui_extended/ToggleButton/{index.b030c4ec.js → index.21a1f8e5.js} +1 -1
  119. package/components/mui_extended/ToggleIconButton/{index.e0854091.js → index.00f13c40.js} +1 -1
  120. package/contexts/ModalContext/{index.436c2938.js → index.b39d303d.js} +1 -1
  121. package/hooks/useFormAddEdit/{index.16083a43.js → index.32aa4f64.js} +2 -2
  122. package/hooks/useModal/{index.05d1821e.js → index.abdc0962.js} +1 -1
  123. package/hooks/useTab/{index.19c8a409.js → index.991b13a7.js} +1 -1
  124. package/index.js +99 -84
  125. package/node_modules.8f15d11f.js +6921 -0
  126. package/package.json +5 -2
  127. package/{react-draggable.e4725f3a.js → react-draggable.ee21cb7e.js} +4 -4
  128. package/{react-json-view.57125fcf.js → react-json-view.5636414a.js} +1 -1
  129. package/{react-resizable.c07d63fb.js → react-resizable.ee028152.js} +5 -5
  130. package/{react-splitter-layout.8b1655c8.js → react-splitter-layout.c5d98bf7.js} +3 -3
  131. package/{vendor.384f1182.js → vendor.8f8b0ac9.js} +62 -60
  132. package/components/Icon/index.f1161f32.js +0 -147
  133. package/components/PrintingSystem/utils/getEvalValue/index.d.ts +0 -1
  134. package/components/PropertyValue/index.8fcce0c2.js +0 -220
  135. package/components/PropertyValue/skeleton.d.ts +0 -2
  136. package/components/hook-form/RHFColorPicker/index.259b6f38.js +0 -61
  137. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
  138. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
  139. /package/utils/{index.6469f148.js → index.de903261.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
6
  "@emotion/react": "^11.9.0",
@@ -22,16 +22,19 @@
22
22
  "leaflet-polylinedecorator": "^1.6.0",
23
23
  "lodash.clonedeep": "^4.5.0",
24
24
  "lodash.debounce": "^4.0.8",
25
- "jwt-decode": "^4.0.0",
26
25
  "lodash.throttle": "^4.1.1",
27
26
  "npm": "^9.6.2",
28
27
  "react-colorful": "^5.6.1",
28
+ "qrcode.react": "^3.1.0",
29
29
  "react-dnd": "^16.0.1",
30
30
  "react-dnd-html5-backend": "^16.0.1",
31
31
  "react-helmet-async": "^1.3.0",
32
32
  "react-hook-form": "^7.33.1",
33
33
  "react-leaflet": "^4.2.1",
34
34
  "react-leaflet-arrowheads": "^1.1.0",
35
+ "react-toastify": "9.0.5",
36
+ "react-chartjs-2": "^5.2.0",
37
+ "react-color": "^2.19.3",
35
38
  "react-router-dom": "6.3.0",
36
39
  "react-spinners": "^0.13.8",
37
40
  "simplebar-react": "2.4.1",
@@ -1,8 +1,8 @@
1
1
  import React__default from "react";
2
- import require$$1 from "prop-types";
2
+ import PropTypes from "prop-types";
3
3
  import require$$2 from "react-dom";
4
4
  import clsx from "clsx";
5
- import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index.6469f148.js";
5
+ import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index.de903261.js";
6
6
  var cjs = { exports: {} };
7
7
  var Draggable$1 = {};
8
8
  var DraggableCore$2 = {};
@@ -11,7 +11,7 @@ Object.defineProperty(DraggableCore$2, "__esModule", {
11
11
  });
12
12
  DraggableCore$2.default = void 0;
13
13
  var React = _interopRequireWildcard(React__default);
14
- var _propTypes = _interopRequireDefault(require$$1);
14
+ var _propTypes = _interopRequireDefault(PropTypes);
15
15
  var _reactDom = _interopRequireDefault(require$$2);
16
16
  var _domFns = domFns;
17
17
  var _positionFns = positionFns;
@@ -316,7 +316,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
316
316
  });
317
317
  exports.default = void 0;
318
318
  var React2 = _interopRequireWildcard2(React__default);
319
- var _propTypes2 = _interopRequireDefault2(require$$1);
319
+ var _propTypes2 = _interopRequireDefault2(PropTypes);
320
320
  var _reactDom2 = _interopRequireDefault2(require$$2);
321
321
  var _clsx = _interopRequireDefault2(clsx);
322
322
  var _domFns2 = domFns;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./commonjs.565e6834.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./commonjs.333e55c7.js";
2
2
  import React__default from "react";
3
3
  var main = { exports: {} };
4
4
  (function(module, exports) {
@@ -1,13 +1,13 @@
1
1
  import React__default from "react";
2
- import { c as cjs } from "./react-draggable.e4725f3a.js";
3
- import { u as utils } from "./utils/index.6469f148.js";
4
- import require$$1 from "prop-types";
2
+ import { c as cjs } from "./react-draggable.ee21cb7e.js";
3
+ import { u as utils } from "./utils/index.de903261.js";
4
+ import PropTypes from "prop-types";
5
5
  var reactResizable = { exports: {} };
6
6
  var Resizable$2 = {};
7
7
  var propTypes = {};
8
8
  propTypes.__esModule = true;
9
9
  propTypes.resizableProps = void 0;
10
- var _propTypes$2 = _interopRequireDefault$1(require$$1);
10
+ var _propTypes$2 = _interopRequireDefault$1(PropTypes);
11
11
  function _interopRequireDefault$1(obj) {
12
12
  return obj && obj.__esModule ? obj : { default: obj };
13
13
  }
@@ -364,7 +364,7 @@ var ResizableBox$2 = {};
364
364
  ResizableBox$2.__esModule = true;
365
365
  ResizableBox$2.default = void 0;
366
366
  var React = _interopRequireWildcard(React__default);
367
- var _propTypes = _interopRequireDefault(require$$1);
367
+ var _propTypes = _interopRequireDefault(PropTypes);
368
368
  var _Resizable = _interopRequireDefault(Resizable$2);
369
369
  var _propTypes2 = propTypes;
370
370
  var _excluded = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
@@ -1,10 +1,10 @@
1
- import { g as getDefaultExportFromCjs } from "./commonjs.565e6834.js";
2
- import require$$1 from "prop-types";
1
+ import { g as getDefaultExportFromCjs } from "./commonjs.333e55c7.js";
2
+ import PropTypes from "prop-types";
3
3
  import React__default from "react";
4
4
  var lib = { exports: {} };
5
5
  (function(module, exports) {
6
6
  !function(e, t) {
7
- module.exports = t(require$$1, React__default);
7
+ module.exports = t(PropTypes, React__default);
8
8
  }(window, function(e, t) {
9
9
  return function(e2) {
10
10
  var t2 = {};
@@ -1,5 +1,5 @@
1
1
  import "./assets/Logo/index.228dcb5a.js";
2
- import "./components/DataGrid/index.71fae988.js";
2
+ import "./components/DataGrid/index.8fbcf147.js";
3
3
  import "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
4
4
  import "./components/NavLink/index.b75c91e1.js";
5
5
  import "./components/ScrollToTop/index.e06f98f6.js";
@@ -12,27 +12,27 @@ import "./components/animate/variants/fade.b561c0fc.js";
12
12
  import "./components/animate/variants/bounce.784aaaaa.js";
13
13
  import "./components/animate/variants/container.11f82b76.js";
14
14
  import "./components/animate/variants/transition.bd46b9ce.js";
15
- import "./components/areas/components/AreasAdmin/index.90da0626.js";
16
- import "./components/areas/components/AreasViewer/index.eb166eca.js";
15
+ import "./components/areas/components/AreasAdmin/index.a14ba797.js";
16
+ import "./components/areas/components/AreasViewer/index.c4545f2d.js";
17
17
  import "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
18
18
  import "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
19
- import "./components/areas/contexts/AreasContext/index.1c3f87a7.js";
19
+ import "./components/areas/contexts/AreasContext/index.54893ef7.js";
20
20
  import "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
21
21
  import "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
22
22
  import "./components/areas/dictionary.08cfc4c9.js";
23
- import "./components/hook-form/RHFAutocomplete/index.31e92edb.js";
24
- import "./components/hook-form/RHFColorPicker/index.259b6f38.js";
25
- import "./components/hook-form/RHFAutocompleteAsync/index.6c5648f7.js";
26
- import "./components/hook-form/RHFDateTime/index.a5ba00d5.js";
23
+ import "./components/hook-form/RHFAutocomplete/index.0ce87ac3.js";
24
+ import "./components/hook-form/RHFColorPicker/index.d00a2b53.js";
25
+ import "./components/hook-form/RHFAutocompleteAsync/index.57789d3a.js";
26
+ import "./components/hook-form/RHFDateTime/index.ae5d3a39.js";
27
27
  import "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
28
28
  import "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
29
- import "./components/hook-form/RHFPeriod/index.fd29d20c.js";
30
- import "./components/Period/index.c964884f.js";
29
+ import "./components/hook-form/RHFPeriod/index.ae9bcf41.js";
30
+ import "./components/Period/index.0aa8e507.js";
31
31
  import "./components/hook-form/RHFRadioGroup/index.7deb4e48.js";
32
32
  import "./components/hook-form/RHFCheckbox/index.a38715e3.js";
33
- import "./components/hook-form/RHFTextField/index.22203742.js";
34
- import "./components/hook-form/RHFUpload/index.aef0f459.js";
35
- import "./components/mui_extended/Accordion/index.c8c7d392.js";
33
+ import "./components/hook-form/RHFTextField/index.80cc07e0.js";
34
+ import "./components/hook-form/RHFUpload/index.587aac00.js";
35
+ import "./components/mui_extended/Accordion/index.b9b427d7.js";
36
36
  import "./components/mui_extended/Avatar/index.75e6ed57.js";
37
37
  import "./components/mui_extended/BoxIcon/index.e638ecc8.js";
38
38
  import "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
@@ -40,68 +40,70 @@ import "./components/mui_extended/CircularProgress/index.ad569afd.js";
40
40
  import "./components/mui_extended/Badge/index.09f5aee5.js";
41
41
  import "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
42
42
  import "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
43
- import "./components/mui_extended/Button/index.bd3371a3.js";
44
- import "./components/mui_extended/MenuActions/index.46c5f7c7.js";
45
- import "./components/mui_extended/Pager/index.e4e66ac8.js";
46
- import "./components/mui_extended/Tab/index.a85b2dab.js";
43
+ import "./components/mui_extended/Button/index.570fd3a4.js";
44
+ import "./components/mui_extended/MenuActions/index.8c02ff61.js";
45
+ import "./components/mui_extended/Pager/index.5629e82b.js";
46
+ import "./components/mui_extended/Tab/index.724d5948.js";
47
47
  import "./components/mui_extended/CheckBox.e662d20c.js";
48
- import "./components/mui_extended/IconButton/index.dd9f297b.js";
48
+ import "./components/mui_extended/IconButton/index.26de70bd.js";
49
49
  import "./components/mui_extended/Popover/index.b3eca6b1.js";
50
50
  import "./components/mui_extended/Stack/index.0e53197c.js";
51
51
  import "./components/mui_extended/Tooltip/index.24a2bc3f.js";
52
52
  import "./components/mui_extended/Typography/index.379dd374.js";
53
- import "./components/mui_extended/ToggleButton/index.b030c4ec.js";
54
- import "./components/mui_extended/ToggleIconButton/index.e0854091.js";
55
- import "./components/formatters/BooleanFormatter/index.fffdef5e.js";
53
+ import "./components/mui_extended/ToggleButton/index.21a1f8e5.js";
54
+ import "./components/mui_extended/ToggleIconButton/index.00f13c40.js";
55
+ import "./components/formatters/BooleanFormatter/index.4f3cbdce.js";
56
56
  import "./components/formatters/DateFormatter/index.578a9f53.js";
57
57
  import "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
58
- import "./components/formatters/PointsFormatter/index.80a4e414.js";
59
- import "./components/formatters/index.7ee9ae5d.js";
58
+ import "./components/formatters/PointsFormatter/index.5c94c5e8.js";
59
+ import "./components/formatters/index.4ca6946d.js";
60
60
  import "./components/formatters/PriceFormatter/index.83cbe7be.js";
61
61
  import "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
62
- import "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
62
+ import "./components/DataGrid/formatters/columnPointsFormatter/index.a19b7b90.js";
63
63
  import "./components/DataGrid/formatters/columnNestedValueFormatter/index.b63f7246.js";
64
64
  import "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
65
- import "./components/DynamicFilter/index.69c2e381.js";
65
+ import "./components/DynamicFilter/index.cd7691e0.js";
66
66
  import "./components/HelperText/index.7d2afdb3.js";
67
- import "./components/CommonActions/components/Actions/index.ccf731c1.js";
68
- import "./components/CommonActions/components/ActionCancel/index.5916fb86.js";
69
- import "./components/CommonActions/components/ActionIntro/index.789d82ed.js";
70
- import "./components/CommonActions/components/ActionFormCancel/index.dbd002ab.js";
71
- import "./components/CommonActions/components/ActionFormIntro/index.c7acf718.js";
72
- import "./components/DraggableWindow/index.8f423ed7.js";
73
- import "./components/GridLayout/index.4a245d9e.js";
74
- import "./components/GridLayout/subcomponents/Responsive/index.edb59c22.js";
75
- import "./components/PrintingSystem/index.d1fd7818.js";
76
- import "./components/Icon/index.f1161f32.js";
77
- import "./components/LanguagePopover/index.b8fd6ccc.js";
78
- import "./components/LinearProgressIndeterminate/index.c46da124.js";
79
- import "./components/Image/index.9799dfc0.js";
67
+ import "./components/CommonActions/components/Actions/index.2f6286eb.js";
68
+ import "./components/CommonActions/components/ActionCancel/index.06539086.js";
69
+ import "./components/CommonActions/components/ActionIntro/index.3e8a2e60.js";
70
+ import "./components/CommonActions/components/ActionFormCancel/index.33fc6c79.js";
71
+ import "./components/CommonActions/components/ActionFormIntro/index.5a719043.js";
72
+ import "./components/DraggableWindow/index.f9f067bd.js";
73
+ import "./components/GridLayout/index.e8c04242.js";
74
+ import "./components/GridLayout/subcomponents/Responsive/index.e25df1dc.js";
75
+ import "./components/PrintingSystem/index.ed3b22b7.js";
76
+ import "./components/Icon/index.05984e7f.js";
77
+ import "./components/LanguagePopover/index.5ff37dbf.js";
78
+ import "./components/LinearProgressIndeterminate/index.a0ad2d9e.js";
79
+ import "./components/Image/index.bf37e923.js";
80
80
  import "./components/Loadable/index.e994fc3e.js";
81
- import "./components/maps/components/Map/index.9fcc381d.js";
82
- import "./components/maps/components/GpsTools/index.ed49dc90.js";
83
- import "./components/ModalDialog/index.ec55087e.js";
81
+ import "./components/maps/components/Map/index.665e5c5d.js";
82
+ import "./components/maps/components/GpsTools/index.889b0c39.js";
83
+ import "./components/ModalDialog/index.89e26413.js";
84
84
  import "./components/modal/index.61389369.js";
85
- import "./components/modal/WindowConfirm.1d1d9cd2.js";
86
- import "./components/modal/WindowBase.2f29424e.js";
87
- import "./components/LoadingError/index.19b6eeb6.js";
88
- import "./components/MFLoader/index.56cd1993.js";
89
- import "./components/NoItemSelected/index.8a2a13f8.js";
90
- import "./components/ObjectLogs/index.7150b3a9.js";
91
- import "./components/PaperForm/index.637c8cb4.js";
92
- import "./components/Page/index.49d18c85.js";
93
- import "./components/PropertyValue/index.8fcce0c2.js";
94
- import "./components/Resizeable/index.8c53c1fa.js";
95
- import "./components/ScrollBar/index.65bb2930.js";
96
- import "./components/SplitLayout/index.9ef430f6.js";
97
- import "./components/SideBar/index.83ee1067.js";
98
- import "./components/AppBar/index.f78b52c7.js";
99
- import "./components/AccountPopover/index.3f67361e.js";
85
+ import "./components/modal/WindowConfirm.19ddbd5d.js";
86
+ import "./components/modal/WindowBase.ea17cf20.js";
87
+ import "./components/LoadingError/index.fabad214.js";
88
+ import "./components/MFLoader/index.7b4ee2a4.js";
89
+ import "./components/NoItemSelected/index.7db73e77.js";
90
+ import "./components/ObjectLogs/index.9c353020.js";
91
+ import "./components/PaperForm/index.7ea3883f.js";
92
+ import "./components/PDFViewer/index.5c2db67a.js";
93
+ import "./components/Page/index.710cb16f.js";
94
+ import "./components/PropertyValue/index.37d91d0c.js";
95
+ import "./components/Resizeable/index.6478d7d8.js";
96
+ import "./components/ScrollBar/index.010f1b9d.js";
97
+ import "./components/SplitLayout/index.30fd5861.js";
98
+ import "./components/ToastContainer/index.ed440301.js";
99
+ import "./components/SideBar/index.58d29b84.js";
100
+ import "./components/AppBar/index.9522f237.js";
101
+ import "./components/AccountPopover/index.2604c389.js";
100
102
  import "./contexts/RHFormContext/index.7769076a.js";
101
- import "./contexts/ModalContext/index.436c2938.js";
102
- import "./hooks/useFormAddEdit/index.16083a43.js";
103
- import "./hooks/useModal/index.05d1821e.js";
104
- import "./hooks/useTab/index.19c8a409.js";
103
+ import "./contexts/ModalContext/index.b39d303d.js";
104
+ import "./hooks/useFormAddEdit/index.32aa4f64.js";
105
+ import "./hooks/useModal/index.abdc0962.js";
106
+ import "./hooks/useTab/index.991b13a7.js";
105
107
  const getNameDataTestId = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
106
108
  return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
107
109
  };
@@ -1,147 +0,0 @@
1
- import { useEnvironment } from "@m4l/core";
2
- import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
3
- import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.83ee1067.js";
4
- import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
5
- import { jsx } from "react/jsx-runtime";
6
- import { useState, useEffect } from "react";
7
- import { unstable_composeClasses } from "@mui/base";
8
- import clsx from "clsx";
9
- import { useResponsiveDesktop } from "@m4l/graphics";
10
- const IconRoot = styled("div")(({
11
- theme
12
- }) => ({
13
- ...theme.components?.M4LIcon?.styleOverrides
14
- }));
15
- const DivIcon = styled("div", {
16
- shouldForwardProp: (props) => props !== "src" && props !== "rotationAngle"
17
- })(({
18
- src,
19
- rotationAngle
20
- }) => ({
21
- maskPosition: "center",
22
- maskRepeat: "no-repeat",
23
- maskSize: "cover",
24
- WebkitMaskRepeat: "no-repeat",
25
- mask: `url('data:image/svg+xml;base64,${src}')`,
26
- WebkitMask: `url('data:image/svg+xml;base64,${src}')`,
27
- WebkitMaskSize: "cover",
28
- ...rotationAngle && {
29
- transform: `rotate(${rotationAngle}deg)`
30
- }
31
- }));
32
- const componentName = "M4LIcon";
33
- generateUtilityClasses(componentName, [
34
- "root",
35
- "icon",
36
- "variantSkeleton",
37
- "sizeExtraSmall",
38
- "sizeSmall",
39
- "sizeMedium",
40
- "sizeLarge",
41
- "sizeExtraLarge",
42
- "rotationAngle"
43
- ]);
44
- function getIconClassesUtilityClass(slot) {
45
- return generateUtilityClass(componentName, slot);
46
- }
47
- const useUtilityClasses = (ownerState) => {
48
- const slots = {
49
- root: ["root"],
50
- icon: ["icon", ownerState.size === "extraSmall" && "sizeExtraSmall", ownerState.size === "small" && "sizeSmall", ownerState.size === "medium" && "sizeMedium", ownerState.size === "large" && "sizeLarge", ownerState.size === "extraLarge" && "sizeExtraLarge", ownerState.rotationAngle ? "rotationAngle" : ""],
51
- variantSkeleton: ["variantSkeleton", ownerState.size === "extraSmall" && "sizeExtraSmall", ownerState.size === "small" && "sizeSmall", ownerState.size === "medium" && "sizeMedium", ownerState.size === "large" && "sizeLarge", ownerState.size === "extraLarge" && "sizeExtraLarge"]
52
- };
53
- const composedClasses = unstable_composeClasses(slots, getIconClassesUtilityClass, {});
54
- return {
55
- ...composedClasses
56
- };
57
- };
58
- const ICON_PREFIX = "Icon";
59
- const getNameDataTestId = (KEY) => {
60
- return `${ICON_PREFIX}-${KEY}`;
61
- };
62
- function Icon(props) {
63
- const {
64
- src,
65
- size = "small",
66
- rotationAngle,
67
- testingProps,
68
- className
69
- } = props;
70
- const [resource, setResource] = useState(testingProps?.resource || void 0);
71
- const isDesktop = useResponsiveDesktop();
72
- useEffect(() => {
73
- let mounted = true;
74
- (async function networkOperation() {
75
- await fetch(src).then((response) => {
76
- return response.text() || "";
77
- }).then((xml) => {
78
- xml = xml.match(
79
- /(<svg\b[^>]*\s*(viewBox="(\b[^"]*)").*?>([\s\S]*?)<\/svg>|<svg>([\s\S]*?)<\/svg>)/g
80
- )?.toString() || "";
81
- if (mounted) {
82
- setResource(window.btoa(xml));
83
- }
84
- }).catch((_err) => {
85
- });
86
- })();
87
- return function clenUp() {
88
- mounted = false;
89
- };
90
- }, [src]);
91
- const ownerState = {
92
- size: isDesktop ? size : "medium",
93
- rotationAngle
94
- };
95
- const classes = useUtilityClasses(ownerState);
96
- return /* @__PURE__ */ jsx(IconRoot, {
97
- className: clsx(classes.root, className),
98
- ...process.env.NODE_ENV !== "production" ? {
99
- [TEST_PROP_ID]: getNameDataTestId("root")
100
- } : {},
101
- children: resource ? /* @__PURE__ */ jsx(DivIcon, {
102
- className: classes.icon,
103
- src: resource,
104
- rotationAngle,
105
- ...process.env.NODE_ENV !== "production" ? {
106
- [TEST_PROP_ID]: getNameDataTestId("icon")
107
- } : {}
108
- }) : /* @__PURE__ */ jsx(Skeleton, {
109
- variant: "rectangular",
110
- className: classes.variantSkeleton,
111
- ...process.env.NODE_ENV !== "production" ? {
112
- [TEST_PROP_ID]: getNameDataTestId("variantSkeleton")
113
- } : {}
114
- })
115
- });
116
- }
117
- const ArrowIconRoot = styled("div")(() => ({
118
- display: "flex",
119
- alignSelf: "center",
120
- lineHeight: 0
121
- }));
122
- function ArrowIcon(props) {
123
- const {
124
- openState
125
- } = props;
126
- const {
127
- host_static_assets,
128
- environment_assets
129
- } = useEnvironment();
130
- const {
131
- classes
132
- } = useSideBar();
133
- return /* @__PURE__ */ jsx(ArrowIconRoot, {
134
- className: classes.arrowIconRoot,
135
- ...process.env.NODE_ENV !== "production" ? {
136
- [TEST_PROP_ID]: getNameDataTestId$1("arrowIconRoot")
137
- } : {},
138
- children: /* @__PURE__ */ jsx(Icon, {
139
- src: `${host_static_assets}/${environment_assets}/frontend/components/sidebar/assets/icons/ChevronRight.svg`,
140
- rotationAngle: openState ? 90 : 0
141
- })
142
- });
143
- }
144
- export {
145
- ArrowIcon as A,
146
- Icon as I
147
- };
@@ -1 +0,0 @@
1
- export declare const getEvalValue: (sourceData: any, key: string) => string | Array<any>;
@@ -1,220 +0,0 @@
1
- import { styled } from "@mui/material/styles";
2
- import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
3
- import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
4
- import { g as getNameDataTestId } from "../../vendor.384f1182.js";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
- import { useResponsiveDesktop } from "@m4l/graphics";
7
- import { useModuleSkeleton } from "@m4l/core";
8
- import { unstable_composeClasses } from "@mui/base";
9
- import clsx from "clsx";
10
- import { useState } from "react";
11
- const PropertyValueRoot = styled("div", {
12
- shouldForwardProp: (prop) => prop !== "propertyWidth" && prop !== "propertyHeight" && prop !== "isForm"
13
- })(({
14
- propertyWidth,
15
- isForm,
16
- theme
17
- }) => ({
18
- display: "grid",
19
- gridTemplateColumns: "1fr",
20
- alignItems: "flex-start",
21
- width: "100%",
22
- padding: `${theme.spacing(1)} ${theme.spacing(2)}`,
23
- borderBottom: isForm ? "none" : `1px solid ${theme.palette.divider}`,
24
- flexDirection: "column",
25
- [theme.breakpoints.up("sm")]: {
26
- gridTemplateColumns: propertyWidth ? `${propertyWidth}px 1fr` : "150px 1fr",
27
- gap: theme.spacing(2),
28
- alignItems: "center"
29
- },
30
- ...theme.components?.M4LPropertyValue?.styleOverrides
31
- }));
32
- const Property = styled("div", {
33
- shouldForwardProp: (prop) => prop !== "propertyWidth" && prop !== "propertyHeight" && prop !== "isForm"
34
- })(({
35
- propertyWidth,
36
- isForm,
37
- theme
38
- }) => ({
39
- width: "100%",
40
- minWidth: "100%",
41
- ...theme.typography.body,
42
- color: theme.palette.text.primary,
43
- height: "100%",
44
- display: "flex",
45
- alignItems: "center",
46
- justifyContent: "flex-start",
47
- position: "relative",
48
- [theme.breakpoints.up("sm")]: {
49
- borderRight: isForm ? "none" : `1px solid ${theme.palette.divider}`,
50
- paddingRight: theme.spacing(2),
51
- textAlign: "right",
52
- width: propertyWidth || "150px",
53
- minWidth: propertyWidth || "150px",
54
- justifyContent: "flex-end"
55
- },
56
- overflow: "hidden",
57
- overflowWrap: "break-word"
58
- }));
59
- const Value = styled("div", {
60
- shouldForwardProp: (prop) => prop !== "valueWidth" && prop !== "valueHeight" && prop !== "withGrid"
61
- })(({
62
- valueWidth,
63
- valueHeight,
64
- theme
65
- }) => ({
66
- flexGrow: "1",
67
- ...theme.typography.body,
68
- color: theme.palette.text.secondary,
69
- overflow: "hidden",
70
- textOverflow: "ellipsis",
71
- position: "relative",
72
- padding: "1px",
73
- maxWidth: `${valueWidth}%`,
74
- width: `${valueWidth}%`,
75
- height: valueHeight,
76
- marginTop: theme.spacing(1),
77
- [theme.breakpoints.up("sm")]: {
78
- marginTop: "0px"
79
- },
80
- overflowWrap: "break-word"
81
- }));
82
- const SKTWrapperProperty = styled("div")(() => ({
83
- display: "flex",
84
- justifyContent: "flex-end"
85
- }));
86
- const COMPONENT_PREFIX = "m4l-property-value";
87
- const TEST_PROPS_DATA = `${COMPONENT_PREFIX}-data`;
88
- function SKTProperty(props) {
89
- const {
90
- className,
91
- dataTestId = ""
92
- } = props;
93
- return /* @__PURE__ */ jsx(SKTWrapperProperty, {
94
- className,
95
- ...process.env.NODE_ENV !== "production" ? {
96
- [TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "skeletonProperty", dataTestId)
97
- } : {},
98
- children: /* @__PURE__ */ jsx(Skeleton, {
99
- variant: "text",
100
- width: 68,
101
- height: 14
102
- })
103
- });
104
- }
105
- const componentName = "M4LPropertyValue";
106
- generateUtilityClasses(componentName, [
107
- "root",
108
- "property",
109
- "value",
110
- "skeletonProperty",
111
- "isDisabled",
112
- "isFocus"
113
- ]);
114
- function getPropertyValueUtilityClass(slot) {
115
- return generateUtilityClass(componentName, slot);
116
- }
117
- const propertyValueUtilityClasses = (ownerState) => {
118
- const slots = {
119
- root: ["root", ownerState.disabled && "isDisabled", ownerState.focus && "isFocus"],
120
- property: ["property"],
121
- value: ["value"],
122
- skeletonProperty: ["skeletonProperty"]
123
- };
124
- const composedClasses = unstable_composeClasses(slots, getPropertyValueUtilityClass, {});
125
- return {
126
- ...composedClasses
127
- };
128
- };
129
- function PropertyValue(props) {
130
- const {
131
- property,
132
- value,
133
- propertyWidth = 200,
134
- valueHeight = "auto",
135
- valueWidth = "100",
136
- valueWidthMobile,
137
- isForm,
138
- className,
139
- dataTestId = "",
140
- disabled = false
141
- } = props;
142
- const isDesktop = useResponsiveDesktop();
143
- const isSkeleton = useModuleSkeleton();
144
- const [isFocus, setIsFocus] = useState(false);
145
- console.log("Estado de focus: ", isFocus);
146
- const getValueW = () => {
147
- if (valueWidthMobile && !isDesktop) {
148
- return valueWidthMobile;
149
- }
150
- if (valueWidth === 75 && isDesktop) {
151
- return 75;
152
- } else if (valueWidth === 75 && !isDesktop) {
153
- return 100;
154
- }
155
- if (valueWidth === 50 && isDesktop) {
156
- return 50;
157
- } else if (valueWidth === 50 && !isDesktop) {
158
- return 100;
159
- }
160
- if (valueWidth === 25 && isDesktop || valueWidth === 12.5 && isDesktop) {
161
- return valueWidth;
162
- }
163
- if (valueWidth === 25 && !isDesktop) {
164
- return 50;
165
- }
166
- if (valueWidth === 12.5 && !isDesktop) {
167
- return 25;
168
- }
169
- return 100;
170
- };
171
- const handlerFocus = () => {
172
- setIsFocus(true);
173
- };
174
- const handlerOnBlur = () => {
175
- setIsFocus(false);
176
- };
177
- const ownerState = {
178
- disabled,
179
- focus: disabled === false ? isFocus : false
180
- };
181
- const classes = propertyValueUtilityClasses(ownerState);
182
- return /* @__PURE__ */ jsxs(PropertyValueRoot, {
183
- tabIndex: 0,
184
- className: clsx(classes.root, className),
185
- isForm,
186
- propertyWidth,
187
- onClick: handlerFocus,
188
- onBlur: handlerOnBlur,
189
- ...process.env.NODE_ENV !== "production" ? {
190
- [TEST_PROPS_DATA]: JSON.stringify([{
191
- property: property ? true : false,
192
- value: value ? true : false
193
- }]),
194
- [TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
195
- } : {},
196
- children: [/* @__PURE__ */ jsx(Property, {
197
- className: classes.property,
198
- isForm,
199
- propertyWidth,
200
- ...process.env.NODE_ENV !== "production" ? {
201
- [TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "property", dataTestId)
202
- } : {},
203
- children: isSkeleton ? /* @__PURE__ */ jsx(SKTProperty, {
204
- className: classes.skeletonProperty,
205
- dataTestId
206
- }) : property
207
- }), /* @__PURE__ */ jsx(Value, {
208
- className: classes.value,
209
- valueWidth: getValueW(),
210
- valueHeight,
211
- ...process.env.NODE_ENV !== "production" ? {
212
- [TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "value", dataTestId)
213
- } : {},
214
- children: value
215
- })]
216
- });
217
- }
218
- export {
219
- PropertyValue as P
220
- };
@@ -1,2 +0,0 @@
1
- import { SKTPropertyProps } from './types';
2
- export declare function SKTProperty(props: SKTPropertyProps): import("react/jsx-runtime").JSX.Element;