@m4l/components 1.0.11 → 1.0.13

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 (144) hide show
  1. package/components/AccountPopover/{index.62b1290b.js → index.f22ad364.js} +4 -4
  2. package/components/AppBar/{index.b48343d8.js → index.8d90ce87.js} +4 -4
  3. package/components/CommonActions/components/ActionCancel/index.609a78ca.js +12 -0
  4. package/components/CommonActions/components/ActionFormCancel/index.a1318eac.js +56 -0
  5. package/components/CommonActions/components/ActionFormIntro/index.34d569d1.js +33 -0
  6. package/components/CommonActions/components/ActionIntro/index.ebac0bc1.js +25 -0
  7. package/components/CommonActions/components/Actions/index.258bf919.js +71 -0
  8. package/components/DataGrid/constants.e334cd50.js +10 -0
  9. package/components/DataGrid/formatters/ColumnBooleanFormatter/index.7fb1ebaa.js +26 -0
  10. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.0ee10612.js +22 -0
  11. package/components/DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js +19 -0
  12. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.dce9ada8.js +23 -0
  13. package/components/DataGrid/formatters/ColumnNestedValueFormatter/index.880e743b.js +14 -0
  14. package/components/DataGrid/formatters/ColumnPointsFormatter/index.226cc583.js +10 -0
  15. package/components/DataGrid/formatters/ColumnPriceFormatter/index.bf9d9e60.js +10 -0
  16. package/components/DataGrid/formatters/ColumnSetCheckFormatter/index.4045b2f2.js +36 -0
  17. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/index.a87302d1.js +10 -0
  18. package/components/DataGrid/formatters/index.2c2f0ae4.js +1 -0
  19. package/components/DataGrid/index.68e19254.js +915 -0
  20. package/components/DataGrid/subcomponents/Actions/index.6b044e84.js +596 -0
  21. package/components/DataGrid/subcomponents/editors/TextEditor/index.3f0d9e28.js +76 -0
  22. package/components/DragResizeWindow/{index.8b3e79f7.js → index.a358789f.js} +6 -3
  23. package/components/DynamicFilter/constants.1dddd09c.js +31 -0
  24. package/components/DynamicFilter/dictionary.d28d39ef.js +51 -0
  25. package/components/DynamicFilter/helpers/{index.609b3915.js → index.11ed2896.js} +4 -4
  26. package/components/DynamicFilter/{index.0f04f223.js → index.056a99c7.js} +3 -3
  27. package/components/DynamicFilter/slots/{index.00b68384.js → index.82d7eaf2.js} +31 -31
  28. package/components/DynamicFilter/store/{index.85a2812f.js → index.9b5121d6.js} +2 -2
  29. package/components/DynamicFilter/subcomponents/{index.86c6fda2.js → index.778c93cc.js} +217 -15
  30. package/components/FieldLabel/{index.1577ac9c.js → index.6b6f708e.js} +4 -4
  31. package/components/GridLayout/{index.656840a5.js → index.68d907d4.js} +34 -11
  32. package/components/GridLayout/subcomponents/Griditem/{index.b23625d7.js → index.8955a794.js} +3 -4
  33. package/components/GridLayout/subcomponents/Responsive/{index.97505a31.js → index.45cecca2.js} +1 -2
  34. package/components/GridLayout/subcomponents/SizeProvider/{index.36cb4139.js → index.7050ac4f.js} +1 -1
  35. package/components/HelperText/{index.ebb53dac.js → index.09e80920.js} +1 -1
  36. package/components/Icon/{index.8ecfb193.js → index.83867398.js} +10 -26
  37. package/components/Image/{index.4a822ede.js → index.19aa7ff5.js} +3 -2
  38. package/components/LanguagePopover/index.921efd11.js +188 -0
  39. package/components/{mui_extended/LinearProgress/index.e9455b2e.js → LinearProgressIndeterminate/index.ea9c8518.js} +4 -9
  40. package/components/LoadingError/{index.9e829e8d.js → index.aee18b24.js} +11 -7
  41. package/components/MFLoader/{index.29f445e2.js → index.c975666e.js} +8 -4
  42. package/components/ModalDialog/{index.96c4aba3.js → index.0dd5af28.js} +14 -5
  43. package/components/NavLink/{index.9f5d5670.js → index.ad039baf.js} +3 -2
  44. package/components/NoItemSelected/{index.0ae9f28f.js → index.d10603d7.js} +13 -3
  45. package/components/ObjectLogs/{index.40c5047f.js → index.a3e42b21.js} +26 -8
  46. package/components/PDFViewer/{index.651cc4b6.js → index.35f68e67.js} +2 -2
  47. package/components/Page/{index.1d08818c.js → index.f4755eba.js} +18 -2
  48. package/components/PaperForm/{index.1a8b10d4.js → index.007ef4cf.js} +2 -2
  49. package/components/Period/{index.236971ae.js → index.9647181b.js} +15 -54
  50. package/components/PrintingSystem/{index.9fdae551.js → index.a69a9d85.js} +14 -15
  51. package/components/PrintingSystem/subcomponents/BodyNode/{index.794dbc69.js → index.528fcfbf.js} +1 -1
  52. package/components/PrintingSystem/subcomponents/ChartNode/{index.6bbf7d75.js → index.fbe87257.js} +1 -1
  53. package/components/PrintingSystem/subcomponents/DividerNode/{index.015a2212.js → index.f5adab1d.js} +1 -1
  54. package/components/PrintingSystem/subcomponents/FooterNode/{index.08eeb1d2.js → index.f42ca7dc.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/GridNode/{index.23995699.js → index.041b9cff.js} +1 -1
  56. package/components/PrintingSystem/subcomponents/HeaderNode/{index.3fa36620.js → index.a8140332.js} +1 -1
  57. package/components/PrintingSystem/subcomponents/PaperNode/{index.8b7d43f4.js → index.aabde2bb.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.9856c572.js → index.7f75ca46.js} +1 -1
  59. package/components/PrintingSystem/subcomponents/SectionNode/{index.89b3a4e0.js → index.61babb47.js} +1 -1
  60. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.dc6e9dc2.js → index.4d0e67a3.js} +1 -1
  61. package/components/PropertyValue/{index.646a7e8b.js → index.51faabb5.js} +7 -4
  62. package/components/Resizeable/{index.414ff687.js → index.4f75c0b5.js} +1 -1
  63. package/components/ScrollBar/{index.1e89bb44.js → index.21bc5025.js} +1 -1
  64. package/components/SideBar/{index.d221254d.js → index.4075c562.js} +36 -7
  65. package/components/SplitLayout/{index.7d9edf4e.js → index.15756f0f.js} +3 -1
  66. package/components/ToastContainer/{index.7f246bbd.js → index.2a7d304e.js} +3 -3
  67. package/components/animate/variants/index.7a912140.js +1 -0
  68. package/components/areas/components/AreasAdmin/index.325bac22.js +733 -0
  69. package/components/areas/components/AreasViewer/index.6e30ec72.js +1072 -0
  70. package/components/areas/components/index.558684b3.js +1 -0
  71. package/components/areas/constants.66529246.js +6 -0
  72. package/components/areas/contexts/AreasContext/{index.0815f278.js → index.3311cbf9.js} +6 -5
  73. package/components/areas/contexts/DynamicMFParmsContext/{index.37d1d444.js → index.3d9ad0ad.js} +2 -2
  74. package/components/areas/contexts/WindowToolsMFContext/{index.69d95c15.js → index.992ae7a3.js} +2 -2
  75. package/components/areas/contexts/index.24025b97.js +1 -0
  76. package/components/areas/dictionary.08cfc4c9.js +36 -0
  77. package/components/areas/hooks/index.d9dc1e21.js +1 -0
  78. package/components/areas/hooks/useAreas/{index.4039e30d.js → index.f81493ef.js} +1 -1
  79. package/components/areas/hooks/useDynamicMFParameters/{index.03ce6078.js → index.9e09e1e3.js} +1 -1
  80. package/components/areas/hooks/useWindowToolsMF/{index.09801b66.js → index.2fbae9dc.js} +1 -1
  81. package/components/areas/icons.8266ccc8.js +26 -0
  82. package/components/areas/index.4cc6a221.js +22 -0
  83. package/components/commercial/AppBarCommercial/index.cbd55cf8.js +28 -0
  84. package/components/commercial/SectionCommercial/index.d22ebbd5.js +57 -0
  85. package/components/commercial/TopBar/index.410fffa8.js +234 -0
  86. package/components/{HamburgerMenu/index.6c82741d.js → commercial/index.07638f52.js} +5 -3
  87. package/components/formatters/BooleanFormatter/index.cbf9cd6e.js +44 -0
  88. package/components/formatters/DateFormatter/index.2ef6f261.js +43 -0
  89. package/components/formatters/PointsFormatter/index.d8a4ee54.js +25 -0
  90. package/components/formatters/PriceFormatter/index.97f75b4b.js +35 -0
  91. package/components/formatters/UncertaintyFormatter/index.c3ffdebc.js +29 -0
  92. package/components/formatters/index.63a3e08e.js +117 -0
  93. package/components/hook-form/HelperError/{index.2ed03a3c.js → index.c0109d5b.js} +1 -1
  94. package/components/hook-form/RHFAutocomplete/index.2991d444.js +404 -0
  95. package/components/hook-form/RHFAutocompleteAsync/{index.69f5661d.js → index.d97c727b.js} +2 -3
  96. package/components/hook-form/RHFCheckbox/{index.13de27db.js → index.b57e3131.js} +4 -4
  97. package/components/hook-form/RHFColorPicker/{index.66004599.js → index.310f6ff0.js} +6 -6
  98. package/components/hook-form/RHFDateTime/{index.dfe07e18.js → index.5689a29f.js} +5 -5
  99. package/components/hook-form/RHFPeriod/{index.d852649b.js → index.019e61ae.js} +4 -4
  100. package/components/hook-form/RHFTextField/{index.d207efc1.js → index.10e57945.js} +6 -6
  101. package/components/hook-form/RHFUpload/{index.955a4ba5.js → index.7fd23b2a.js} +5 -5
  102. package/components/{mui_extended/Tab/index.37d588d6.js → maps/components/GpsTools/index.20f83559.js} +331 -645
  103. package/components/maps/{index.a1bf63f2.js → components/Map/index.c37f3304.js} +737 -28
  104. package/components/maps/index.13bb982c.js +7 -0
  105. package/components/modal/{WindowBase.390b0910.js → WindowBase.cfbb0c9e.js} +4 -4
  106. package/components/modal/{WindowConfirm.243e1bef.js → WindowConfirm.300bd34b.js} +10 -6
  107. package/components/modal/{index.5bce430d.js → index.81eb6def.js} +5 -1
  108. package/components/mui_extended/Accordion/{index.f7a17c83.js → index.0843a609.js} +5 -5
  109. package/components/mui_extended/Avatar/{index.12b96914.js → index.fb9ad158.js} +1 -1
  110. package/components/mui_extended/Badge/{index.4737c113.js → index.8beaeefc.js} +1 -1
  111. package/components/mui_extended/Button/{index.52852c42.js → index.d742e9ee.js} +6 -81
  112. package/components/mui_extended/{CheckBox/index.01218423.js → CheckBox.21c25705.js} +1 -1
  113. package/components/mui_extended/IconButton/{index.d5b273e6.js → index.b4532b85.js} +1 -1
  114. package/components/mui_extended/LinearProgress/index.4092bb69.js +9 -0
  115. package/components/mui_extended/MenuActions/index.eae97857.js +176 -0
  116. package/components/mui_extended/Pager/{index.8960227c.js → index.3926c835.js} +22 -40
  117. package/components/mui_extended/Popover/index.2348fc4f.js +143 -0
  118. package/components/mui_extended/Tab/index.e911930f.js +135 -0
  119. package/components/mui_extended/ToggleButton/{index.c441b949.js → index.b834f5f0.js} +1 -1
  120. package/components/mui_extended/ToggleIconButton/{index.8a84f25e.js → index.fcd5205c.js} +1 -1
  121. package/components/mui_extended/Typography/{index.463f613f.js → index.642798f1.js} +1 -1
  122. package/components/mui_extended/index.b606cd9d.js +1 -0
  123. package/components/popups/PopupsProvider/{index.d4caacc3.js → index.d7c9efce.js} +1 -1
  124. package/components/popups/PopupsViewer/{index.42312806.js → index.f3677ab1.js} +10 -6
  125. package/contexts/ModalContext/{index.5f77a463.js → index.ad1fb73b.js} +1 -1
  126. package/contexts/RHFormContext/{index.95ebabc9.js → index.bf3a2812.js} +6 -2
  127. package/hooks/useFormAddEdit/{index.ecb77e67.js → index.6d983cd8.js} +6 -2
  128. package/hooks/useModal/index.2003c854.js +11 -0
  129. package/hooks/useTab/index.8d1a6e63.js +12 -0
  130. package/index.js +328 -273
  131. package/package.json +1 -1
  132. package/{react-draggable.0cc9b257.js → react-draggable.1c1ba224.js} +1 -1
  133. package/{react-resizable.837c446d.js → react-resizable.a59c14f4.js} +2 -2
  134. package/test/constants_no_mock.86c553a9.js +4 -0
  135. package/test/{getNameDataTestId.aee44365.js → getNameDataTestId.0faeade8.js} +2 -2
  136. package/utils/{index.c64c2dd1.js → index.14912462.js} +1 -54
  137. package/components/CommonActions/index.19f39dca.js +0 -170
  138. package/components/areas/constants.0d3ba950.js +0 -289
  139. package/components/areas/dictionary.6168209a.js +0 -266
  140. package/components/areas/icons.504ec098.js +0 -83
  141. package/components/maps/components/GpsTools/index.01acaf3e.js +0 -251
  142. package/components/mui_extended/Popover/index.146ded9e.js +0 -1044
  143. package/hooks/useModal/index.d14c7e46.js +0 -67
  144. package/vendor.5b266106.js +0 -3952
@@ -3,13 +3,12 @@ import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/cor
3
3
  import { styled } from "@mui/material/styles";
4
4
  import { generateUtilityClasses, generateUtilityClass, Skeleton, Autocomplete, TextField } from "@mui/material";
5
5
  import { useState, useMemo } from "react";
6
- import { d as dictionary, a as dictionary$1 } from "../areas/dictionary.6168209a.js";
6
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.258bf919.js";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
- import { F as componentName, P as PERIOD_PREFIX, T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
8
+ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
9
9
  import { useResponsiveDesktop } from "@m4l/graphics";
10
- import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
11
- import { I as IconButton } from "../mui_extended/IconButton/index.d5b273e6.js";
12
- import { W as WrapperComponent } from "../WrapperComponent/index.57964195.js";
10
+ import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
11
+ import { I as IconButton } from "../mui_extended/IconButton/index.b4532b85.js";
13
12
  const ContainerPeriod = styled("div")(({ theme }) => ({
14
13
  ...theme.components?.M4LPeriod?.styleOverrides
15
14
  }));
@@ -57,6 +56,15 @@ var ETimePeriods = /* @__PURE__ */ ((ETimePeriods2) => {
57
56
  ETimePeriods2[ETimePeriods2["DAYS"] = 2] = "DAYS";
58
57
  return ETimePeriods2;
59
58
  })(ETimePeriods || {});
59
+ const dictionary = {
60
+ LABEL_YEARS: "period.label_years",
61
+ LABEL_MONTHS: "period.label_months",
62
+ LABEL_DAYS: "period.label_days"
63
+ };
64
+ function getPeriodComponetsDictionary() {
65
+ return ["period"].concat(getCommonActionsDictionary());
66
+ }
67
+ const componentName = "M4LPeriod";
60
68
  generateUtilityClasses(componentName, [
61
69
  "root",
62
70
  "containerDateLabel",
@@ -102,6 +110,7 @@ const periodUtilityClasses = (ownerState) => {
102
110
  ...composedClasses
103
111
  };
104
112
  };
113
+ const PERIOD_PREFIX = "M4LPeriod";
105
114
  const getNamePeriodDataTestId = (KEY) => {
106
115
  return `${PERIOD_PREFIX}-${KEY}`;
107
116
  };
@@ -275,55 +284,7 @@ const Period = (props) => {
275
284
  }
276
285
  );
277
286
  };
278
- function getFormatPeriod(years, months, days) {
279
- const { getLabel } = useModuleDictionary();
280
- let period = "";
281
- const separator = ", ";
282
- switch (years) {
283
- case 0:
284
- break;
285
- case 1:
286
- period = "1 " + getLabel(dictionary$1.LABEL_YEAR);
287
- break;
288
- default:
289
- period = years.toString() + " " + getLabel(dictionary$1.LABEL_YEARS);
290
- }
291
- switch (months) {
292
- case 0:
293
- break;
294
- case 1:
295
- if (years > 0)
296
- period += separator;
297
- period += "1 " + getLabel(dictionary$1.LABEL_MONTH);
298
- break;
299
- default:
300
- if (years > 0)
301
- period += separator;
302
- period += months.toString() + " " + getLabel(dictionary$1.LABEL_MONTHS);
303
- }
304
- switch (days) {
305
- case 0:
306
- break;
307
- case 1:
308
- if (years > 0 || months > 0)
309
- period += separator;
310
- period += "1 " + getLabel(dictionary$1.LABEL_DAY);
311
- break;
312
- default:
313
- if (years > 0 || months > 0)
314
- period += separator;
315
- period += days.toString() + " " + getLabel(dictionary$1.LABEL_DAYS);
316
- }
317
- if (period == "")
318
- period = "-";
319
- return period;
320
- }
321
- function PeriodFormatter(props) {
322
- const { years = 0, months = 0, days = 0, Component = WrapperComponent } = props;
323
- return /* @__PURE__ */ jsx(Component, { children: getFormatPeriod(years, months, days) });
324
- }
325
287
  export {
326
288
  Period as P,
327
- PeriodFormatter as a,
328
- getFormatPeriod as g
289
+ getPeriodComponetsDictionary as g
329
290
  };
@@ -1,25 +1,24 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { generateUtilityClasses, styled } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { G as componentName } from "../areas/constants.0d3ba950.js";
5
- import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
4
+ import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
6
5
  import clsx from "clsx";
7
- import { D as DividerNode } from "./subcomponents/DividerNode/index.015a2212.js";
8
- import { S as SectionNode } from "./subcomponents/SectionNode/index.89b3a4e0.js";
9
- import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.dc6e9dc2.js";
10
- import { H as HeaderNode } from "./subcomponents/HeaderNode/index.3fa36620.js";
11
- import { a as ImageNode, Q as QRImageNode } from "../Image/index.4a822ede.js";
12
- import { B as BodyNode } from "./subcomponents/BodyNode/index.794dbc69.js";
13
- import { F as FooterNode } from "./subcomponents/FooterNode/index.08eeb1d2.js";
14
- import { P as PaperNode } from "./subcomponents/PaperNode/index.8b7d43f4.js";
15
- import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.9856c572.js";
16
- import { G as GridNode } from "./subcomponents/GridNode/index.23995699.js";
17
- import { C as ChartNode } from "./subcomponents/ChartNode/index.6bbf7d75.js";
18
- import { P as PagerNode } from "../mui_extended/Pager/index.8960227c.js";
6
+ import { D as DividerNode } from "./subcomponents/DividerNode/index.f5adab1d.js";
7
+ import { S as SectionNode } from "./subcomponents/SectionNode/index.61babb47.js";
8
+ import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.4d0e67a3.js";
9
+ import { H as HeaderNode } from "./subcomponents/HeaderNode/index.a8140332.js";
10
+ import { a as ImageNode, Q as QRImageNode } from "../Image/index.19aa7ff5.js";
11
+ import { B as BodyNode } from "./subcomponents/BodyNode/index.528fcfbf.js";
12
+ import { F as FooterNode } from "./subcomponents/FooterNode/index.f42ca7dc.js";
13
+ import { P as PaperNode } from "./subcomponents/PaperNode/index.aabde2bb.js";
14
+ import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.7f75ca46.js";
15
+ import { G as GridNode } from "./subcomponents/GridNode/index.041b9cff.js";
16
+ import { C as ChartNode } from "./subcomponents/ChartNode/index.fbe87257.js";
17
+ import { P as PagerNode, a as PageRender } from "../Page/index.f4755eba.js";
19
18
  import { useBase, evaluateWithContext } from "@m4l/core";
20
- import { P as PageRender } from "../Page/index.1d08818c.js";
21
19
  import { forwardRef, useRef, useImperativeHandle } from "react";
22
20
  import { useTheme } from "@mui/material/styles";
21
+ const componentName = "M4LPrintingSystem";
23
22
  const classes = generateUtilityClasses(componentName, [
24
23
  "root",
25
24
  "pageNodeRoot",
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useBase } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const BodyNode = (props) => {
6
6
  const {
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as classes } from "../../index.9fdae551.js";
2
+ import { c as classes } from "../../index.a69a9d85.js";
3
3
  import clsx from "clsx";
4
4
  import { createRef, useEffect } from "react";
5
5
  import { Chart, registerables } from "chart.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as classes } from "../../index.9fdae551.js";
2
+ import { c as classes } from "../../index.a69a9d85.js";
3
3
  import clsx from "clsx";
4
4
  const DividerNode = (props) => {
5
5
  const { direction = "vertical", className = "", style = {} } = props;
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useBase } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const FooterNode = (props) => {
6
6
  const {
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const GridNode = (props) => {
6
6
  const { style = {}, className = "", rows, columns } = props;
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useBase } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const HeaderNode = (props) => {
6
6
  const {
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useBase, evaluateWithContext } from "@m4l/core";
3
- import { c as classes } from "../../index.9fdae551.js";
3
+ import { c as classes } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const PaperNode = (props) => {
6
6
  const { children, style = {}, className = "", title, titleSecondary } = props;
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useBase, evaluateWithContext } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const PropertyValueNode = (props) => {
6
6
  const {
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useBase } from "@m4l/core";
3
- import { c as classes, g as getSize } from "../../index.9fdae551.js";
3
+ import { c as classes, g as getSize } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const SectionNode = (props) => {
6
6
  const {
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useBase, evaluateWithContext } from "@m4l/core";
3
- import { c as classes } from "../../index.9fdae551.js";
3
+ import { c as classes } from "../../index.a69a9d85.js";
4
4
  import clsx from "clsx";
5
5
  const TextBoxNode = (props) => {
6
6
  const { variant = "body", style, className, textAlign = "start", children } = props;
@@ -2,15 +2,16 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
3
3
  import { useResponsiveDesktop } from "@m4l/graphics";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { J as componentName, K as TEST_PROPS_DATA, T as TEST_PROP_ID, O as COMPONENT_PREFIX } from "../areas/constants.0d3ba950.js";
6
5
  import clsx from "clsx";
7
- import { a as getNameDataTestId } from "../../test/getNameDataTestId.aee44365.js";
6
+ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
7
+ import { g as getNameDataTestId } from "../../test/getNameDataTestId.0faeade8.js";
8
8
  import { useState } from "react";
9
- import { F as FieldLabel } from "../FieldLabel/index.1577ac9c.js";
10
- import { I as Icon } from "../Icon/index.8ecfb193.js";
9
+ import { F as FieldLabel } from "../FieldLabel/index.6b6f708e.js";
10
+ import { I as Icon } from "../Icon/index.83867398.js";
11
11
  const PropertyValueRoot = styled("div")(({ theme }) => ({
12
12
  ...theme.components?.M4LPropertyValue?.styleOverrides
13
13
  }));
14
+ const componentName = "M4LPropertyValue";
14
15
  generateUtilityClasses(
15
16
  componentName,
16
17
  [
@@ -47,6 +48,8 @@ const propertyValueUtilityClasses = (ownerState) => {
47
48
  ...composedClasses
48
49
  };
49
50
  };
51
+ const COMPONENT_PREFIX = "m4l-property-value";
52
+ const TEST_PROPS_DATA = `${COMPONENT_PREFIX}-data`;
50
53
  function PropertyValue(props) {
51
54
  const {
52
55
  property,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { styled } from "@mui/material/styles";
3
- import { a as ResizableBox } from "../../react-resizable.837c446d.js";
3
+ import { a as ResizableBox } from "../../react-resizable.a59c14f4.js";
4
4
  const WrapperResizeable = styled(ResizableBox)(({ theme }) => ({
5
5
  "&.react-resizable": {
6
6
  position: "relative",
@@ -3,7 +3,6 @@ import { generateUtilityClasses, generateUtilityClass, Box } from "@mui/material
3
3
  import { styled, alpha } from "@mui/material/styles";
4
4
  import SimpleBarReact from "simplebar-react";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { Q as componentName } from "../areas/constants.0d3ba950.js";
7
6
  const RootStyle = styled("div")(({ theme }) => ({
8
7
  flexGrow: "1",
9
8
  height: "100%",
@@ -74,6 +73,7 @@ styled(SimpleBarReact)(({ theme }) => ({
74
73
  }
75
74
  }
76
75
  }));
76
+ const componentName = "M4LScrollBar";
77
77
  generateUtilityClasses(componentName, [
78
78
  "root"
79
79
  ]);
@@ -3,17 +3,16 @@ import { styled, alpha } from "@mui/material/styles";
3
3
  import { createContext, useState, useContext, useEffect } from "react";
4
4
  import { generateUtilityClasses, ListItemText, styled as styled$1, ListItemButton, Collapse, Drawer as Drawer$1, useTheme } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { R as componentName, U as SIDEBAR_PREFIX, T as TEST_PROP_ID, V as MENU_COLLAPSED_CONTAINER_SIZE, W as MENU_COLLAPSED_SIZE } from "../areas/constants.0d3ba950.js";
7
- import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
6
+ import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
7
+ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
8
8
  import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
9
9
  import { useResponsiveDesktop } from "@m4l/graphics";
10
- import { I as Icon, A as ArrowIcon } from "../Icon/index.8ecfb193.js";
11
- import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
10
+ import { I as Icon, A as ArrowIcon } from "../Icon/index.83867398.js";
11
+ import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
12
12
  import clsx from "clsx";
13
13
  import { useLocation } from "react-router-dom";
14
- import { F as FooterSidebar } from "../mui_extended/Button/index.52852c42.js";
15
- import { I as IconButton } from "../mui_extended/IconButton/index.d5b273e6.js";
16
- import { I as Image } from "../Image/index.4a822ede.js";
14
+ import { I as Image } from "../Image/index.19aa7ff5.js";
15
+ import { I as IconButton } from "../mui_extended/IconButton/index.b4532b85.js";
17
16
  import { useResponsive } from "@m4l/styles";
18
17
  const SideBarRoot = styled("div")(({ theme }) => ({
19
18
  ...theme.components?.M4LSideBar?.styleOverrides
@@ -27,6 +26,7 @@ styled("div", {
27
26
  alignItems: props.collapsed ? "center" : "normal",
28
27
  padding: props.theme.spacing(3, 2.5, 2, 2.5)
29
28
  }));
29
+ const componentName = "M4LSideBar";
30
30
  generateUtilityClasses(
31
31
  componentName,
32
32
  [
@@ -202,6 +202,7 @@ const SideBarProvider = (props) => {
202
202
  };
203
203
  const useSideBar = () => useContext(SideBarContext);
204
204
  const useSideBar$1 = useSideBar;
205
+ const SIDEBAR_PREFIX = "M4LSideBar";
205
206
  const getNameDataTestId = (KEY) => {
206
207
  return `${SIDEBAR_PREFIX}-${KEY}`;
207
208
  };
@@ -609,6 +610,34 @@ const ContentGroups = () => {
609
610
  }
610
611
  );
611
612
  };
613
+ const CollapseButtonRoot = styled$1("div")(() => ({
614
+ display: "flex"
615
+ }));
616
+ styled$1("div")(() => ({
617
+ display: "flex"
618
+ }));
619
+ function FooterSidebar(_props) {
620
+ const { classes, companyLogoNormalUrl } = useSideBar$1();
621
+ return /* @__PURE__ */ jsx(
622
+ CollapseButtonRoot,
623
+ {
624
+ className: classes.footer,
625
+ ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("footer") } : {},
626
+ children: /* @__PURE__ */ jsx("div", { className: classes.wrapperLogoFooter, children: /* @__PURE__ */ jsx("div", { className: classes.containerLogoButtonLogo, children: /* @__PURE__ */ jsx(
627
+ Image,
628
+ {
629
+ width: "192px",
630
+ height: "28px",
631
+ src: companyLogoNormalUrl || "",
632
+ alt: "logo"
633
+ },
634
+ "Logo"
635
+ ) }) })
636
+ }
637
+ );
638
+ }
639
+ const MENU_COLLAPSED_SIZE = "14px";
640
+ const MENU_COLLAPSED_CONTAINER_SIZE = "15px";
612
641
  const ContentComponent = () => {
613
642
  const { collapsed, onToggleCollapse, classes, onToggleOverlay, overlay } = useSideBar$1();
614
643
  const handlerOnMouseEnter = () => {
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { X as componentName, Y as SPLITLAYOUT_PREFIX, T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
5
4
  import clsx from "clsx";
5
+ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
6
  import { S as SplitterLayout } from "../../react-splitter-layout.8b1655c8.js";
7
7
  const SplitLayoutRoot = styled("div")(({ theme }) => ({
8
8
  ...theme.components?.M4LSplitLayout?.styleOverrides
@@ -27,6 +27,7 @@ const SplitDetail = styled("div")(() => ({
27
27
  top: "0px",
28
28
  bottom: "0px"
29
29
  }));
30
+ const componentName = "M4LSplitLayout";
30
31
  generateUtilityClasses(componentName, [
31
32
  "root",
32
33
  "firstPart",
@@ -52,6 +53,7 @@ const useSplitLayoutUtilityClasses = (ownerState) => {
52
53
  ...composedClasses
53
54
  };
54
55
  };
56
+ const SPLITLAYOUT_PREFIX = "M4LSplitLayout";
55
57
  const getNameSplitLayoutDataTestId = (KEY) => {
56
58
  return `${SPLITLAYOUT_PREFIX}-${KEY}`;
57
59
  };
@@ -2,14 +2,14 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { styled, generateUtilityClasses } from "@mui/material";
3
3
  import { ToastContainer as ToastContainer$1 } from "react-toastify";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { Z as componentName } from "../areas/constants.0d3ba950.js";
6
- import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
5
+ import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
7
6
  import { useEnvironment } from "@m4l/core";
8
7
  import { useMemo } from "react";
9
- import { I as Icon } from "../Icon/index.8ecfb193.js";
8
+ import { I as Icon } from "../Icon/index.83867398.js";
10
9
  const ToastContainerRoot = styled("div")(({ theme }) => ({
11
10
  ...theme.components?.M4LToastContainer?.styleOverrides
12
11
  }));
12
+ const componentName = "M4LToastContainer";
13
13
  const toastClasses = generateUtilityClasses(
14
14
  componentName,
15
15
  [