@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
@@ -0,0 +1,31 @@
1
+ const DYNAMIC_FILTER_KEY_COMPONENT = "M4LDynamicFilter";
2
+ const ALL_FIELD = {
3
+ name: "all",
4
+ dictionaryId: "dynamic_filter.all_fields",
5
+ urlIcon: "",
6
+ type: "string",
7
+ multiple: true,
8
+ presence: "optional"
9
+ };
10
+ const STRING_OPERATORS = ["c", "nc"];
11
+ const NUMBER_OPERATORS = ["b", "e", "ne", "gt", "gte", "lt", "lte"];
12
+ const BOOLEAN_OPERATORS = ["e", "ne"];
13
+ const SELECT_OPERATORS = ["in", "nin"];
14
+ const DATE_TIME_OPERATORS = [
15
+ "b",
16
+ "e",
17
+ "ne",
18
+ "gt",
19
+ "gte",
20
+ "lt",
21
+ "lte"
22
+ ];
23
+ export {
24
+ ALL_FIELD as A,
25
+ BOOLEAN_OPERATORS as B,
26
+ DATE_TIME_OPERATORS as D,
27
+ NUMBER_OPERATORS as N,
28
+ STRING_OPERATORS as S,
29
+ SELECT_OPERATORS as a,
30
+ DYNAMIC_FILTER_KEY_COMPONENT as b
31
+ };
@@ -0,0 +1,51 @@
1
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.258bf919.js";
2
+ import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.2991d444.js";
3
+ const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
4
+ function getDynamicFilterComponentsDictionary() {
5
+ return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
6
+ getCommonActionsDictionary().concat(getRHFAutocompleteComponentsDictionary())
7
+ );
8
+ }
9
+ const DICCTIONARY = {
10
+ input_placeholder: "input_placeholder",
11
+ operand_true: "operand_true",
12
+ operand_false: "operand_false",
13
+ filter_tooltip_refresh: "filter_tooltip_refresh",
14
+ filter_tooltip_dirty: "filter_tooltip_dirty",
15
+ filter_tooltip_invalid: "filter_tooltip_invalid",
16
+ operator_b: "operator_b",
17
+ operator_e: "operator_e",
18
+ operator_ne: "operator_ne",
19
+ operator_gt: "operator_gt",
20
+ operator_gte: "operator_gte",
21
+ operator_lt: "operator_lt",
22
+ operator_lte: "operator_lte",
23
+ operator_c: "operator_c",
24
+ operator_nc: "operator_nc",
25
+ operator_in: "operator_in",
26
+ operator_nin: "operator_nin",
27
+ label_boolean_operator: "label_boolean_operator",
28
+ label_boolean_operand1: "label_boolean_operand1",
29
+ label_operator_date_time: "label_operator_date_time",
30
+ label_operand1_date_time: "label_operand1_date_time",
31
+ label_operand2_date_time: "label_operand2_date_time",
32
+ label_operator_number: "label_operator_number",
33
+ label_operand1_number: "label_operand1_number",
34
+ label_operand2_number: "label_operand2_number",
35
+ label_operator_string: "label_operator_string",
36
+ label_operand1_string: "label_operand1_string",
37
+ operator_required: "operator_required",
38
+ error_invalid_date: "error_invalid_date",
39
+ error_less_than_start: "error_less_than_start",
40
+ label_select_operator: "label_select_operator",
41
+ label_select_operands_array: "label_select_operands_array",
42
+ error_operand_required: "error_operand_required"
43
+ };
44
+ const getDynamicFilterDictionary = (key) => {
45
+ return `${DYNAMIC_FILTER_DICTIONARY_ID}.${key}`;
46
+ };
47
+ export {
48
+ DICCTIONARY as D,
49
+ getDynamicFilterComponentsDictionary as a,
50
+ getDynamicFilterDictionary as g
51
+ };
@@ -1,8 +1,8 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../areas/dictionary.6168209a.js";
3
- import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS } from "../../areas/constants.0d3ba950.js";
4
- import { B as BooleanFilter, S as StringFilter, D as DateTimeFilter, N as NumberFilter, a as SelectFilter, f as fieldFactory } from "../subcomponents/index.86c6fda2.js";
5
- import { i as isValidDate } from "../../../utils/index.c64c2dd1.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.d28d39ef.js";
3
+ import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, D as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, a as SELECT_OPERATORS } from "../constants.1dddd09c.js";
4
+ import { B as BooleanFilter, S as StringFilter, D as DateTimeFilter, N as NumberFilter, a as SelectFilter, f as fieldFactory } from "../subcomponents/index.778c93cc.js";
5
+ import { i as isValidDate } from "../../../utils/index.14912462.js";
6
6
  class BooleanFilterHelpers {
7
7
  getComponent() {
8
8
  return BooleanFilter;
@@ -1,9 +1,9 @@
1
1
  import { alpha } from "@mui/material";
2
- import { c as containerQuery } from "../../utils/index.c64c2dd1.js";
2
+ import { c as containerQuery } from "../../utils/index.14912462.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { useFlagsPresent, CommonFlags } from "@m4l/core";
5
- import { D as DynamicFilterProvider } from "./store/index.85a2812f.js";
6
- import { b as DynamicFilterBase } from "./subcomponents/index.86c6fda2.js";
5
+ import { D as DynamicFilterProvider } from "./store/index.9b5121d6.js";
6
+ import { b as DynamicFilterBase } from "./subcomponents/index.778c93cc.js";
7
7
  var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
8
8
  DynamicFilterSlots2["root"] = "root";
9
9
  DynamicFilterSlots2["innerContainer"] = "innerContainer";
@@ -1,12 +1,12 @@
1
1
  import { styled } from "@mui/material/styles";
2
- import { d as DYNAMIC_FILTER_KEY_COMPONENT } from "../../areas/constants.0d3ba950.js";
3
- import { D as DynamicFilterSlots, d as dynamicFilterStyles } from "../index.0f04f223.js";
2
+ import { b as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.1dddd09c.js";
3
+ import { D as DynamicFilterSlots, d as dynamicFilterStyles } from "../index.056a99c7.js";
4
4
  import { MenuItem } from "@mui/material";
5
- import { A as Actions } from "../../CommonActions/index.19f39dca.js";
6
- import { I as Icon } from "../../Icon/index.8ecfb193.js";
7
- import { I as IconButton } from "../../mui_extended/IconButton/index.d5b273e6.js";
8
- import { P as Popover } from "../../mui_extended/Popover/index.146ded9e.js";
9
- import { T as Typography } from "../../mui_extended/Typography/index.463f613f.js";
5
+ import { A as Actions } from "../../CommonActions/components/Actions/index.258bf919.js";
6
+ import { I as Icon } from "../../Icon/index.83867398.js";
7
+ import { I as IconButton } from "../../mui_extended/IconButton/index.b4532b85.js";
8
+ import { P as Popover } from "../../mui_extended/Popover/index.2348fc4f.js";
9
+ import { T as Typography } from "../../mui_extended/Typography/index.642798f1.js";
10
10
  const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
11
11
  dynamicFilterStyles?.root
12
12
  );
@@ -123,28 +123,28 @@ export {
123
123
  InputFilterStyled as I,
124
124
  PopoverMenuStyled as P,
125
125
  RootStyled as R,
126
- InputFilterIconStyled as a,
127
- InputFilterInputStyled as b,
128
- AppliedFilterChipIconStyled as c,
129
- AppliedFilterChipInfoStyled as d,
130
- AppliedFilterChipInfoFieldNameStyled as e,
131
- AppliedFilterChipInfoOperatorStyled as f,
132
- AppliedFilterChipInfoOperandsStyled as g,
133
- AppliedFilterChipRemoveButtonStyled as h,
134
- AppliedFiltersStyled as i,
135
- AppliedFilterInnerContainerStyled as j,
136
- ActionsSkeletonButtonStyled as k,
137
- ActionsStyled as l,
138
- ActionsClearButtonStyled as m,
139
- ActionsSubmitButtonStyled as n,
140
- InnerContainerStyled as o,
141
- PopoverMenuItemStyled as p,
142
- PopoverMenuItemIconStyled as q,
143
- PopoverMenuItemLabelStyled as r,
144
- PopoverStyled as s,
145
- PopoverHeaderStyled as t,
146
- PopoverHeaderIconStyled as u,
147
- PopoverHeaderTitleStyled as v,
148
- PopoverContainerFieldsStyled as w,
149
- PopoverHeaderActionsStyled as x
126
+ PopoverMenuItemStyled as a,
127
+ PopoverMenuItemIconStyled as b,
128
+ PopoverMenuItemLabelStyled as c,
129
+ InputFilterIconStyled as d,
130
+ InputFilterInputStyled as e,
131
+ AppliedFilterChipIconStyled as f,
132
+ AppliedFilterChipInfoStyled as g,
133
+ AppliedFilterChipInfoFieldNameStyled as h,
134
+ AppliedFilterChipInfoOperatorStyled as i,
135
+ AppliedFilterChipInfoOperandsStyled as j,
136
+ AppliedFilterChipRemoveButtonStyled as k,
137
+ AppliedFiltersStyled as l,
138
+ AppliedFilterInnerContainerStyled as m,
139
+ ActionsSkeletonButtonStyled as n,
140
+ ActionsStyled as o,
141
+ ActionsClearButtonStyled as p,
142
+ ActionsSubmitButtonStyled as q,
143
+ PopoverStyled as r,
144
+ PopoverHeaderStyled as s,
145
+ PopoverHeaderIconStyled as t,
146
+ PopoverHeaderTitleStyled as u,
147
+ PopoverContainerFieldsStyled as v,
148
+ PopoverHeaderActionsStyled as w,
149
+ InnerContainerStyled as x
150
150
  };
@@ -4,8 +4,8 @@ import { shallow } from "zustand/shallow";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
6
6
  import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
7
- import { A as ALL_FIELD } from "../../areas/constants.0d3ba950.js";
8
- import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.609b3915.js";
7
+ import { A as ALL_FIELD } from "../constants.1dddd09c.js";
8
+ import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.11ed2896.js";
9
9
  import { devtools } from "zustand/middleware";
10
10
  import { immer } from "zustand/middleware/immer";
11
11
  function useDynamicFilterStore(selector, equalityFn) {
@@ -1,22 +1,24 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { useMemo, useState, useEffect } from "react";
2
+ import { useMemo, useState, useEffect, useRef, useCallback } from "react";
3
3
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
4
- import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS, A as ALL_FIELD } from "../../areas/constants.0d3ba950.js";
5
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../areas/dictionary.6168209a.js";
6
- import { R as RHFAutocomplete } from "../../../vendor.5b266106.js";
7
- import { R as RHFTextField } from "../../hook-form/RHFTextField/index.d207efc1.js";
4
+ import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, D as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, a as SELECT_OPERATORS, A as ALL_FIELD } from "../constants.1dddd09c.js";
5
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.d28d39ef.js";
6
+ import { R as RHFAutocomplete } from "../../hook-form/RHFAutocomplete/index.2991d444.js";
7
+ import { R as RHFTextField } from "../../hook-form/RHFTextField/index.10e57945.js";
8
8
  import { useFormContext, useWatch } from "react-hook-form";
9
- import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.dfe07e18.js";
10
- import { u as useDynamicFilterStore } from "../store/index.85a2812f.js";
11
- import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.69f5661d.js";
12
- import { I as InputFilterStyled, a as InputFilterIconStyled, b as InputFilterInputStyled, A as AppliedFilterChipStyled, c as AppliedFilterChipIconStyled, d as AppliedFilterChipInfoStyled, e as AppliedFilterChipInfoFieldNameStyled, f as AppliedFilterChipInfoOperatorStyled, g as AppliedFilterChipInfoOperandsStyled, h as AppliedFilterChipRemoveButtonStyled, i as AppliedFiltersStyled, j as AppliedFilterInnerContainerStyled, k as ActionsSkeletonButtonStyled, l as ActionsStyled, m as ActionsClearButtonStyled, n as ActionsSubmitButtonStyled, R as RootStyled, o as InnerContainerStyled } from "../slots/index.00b68384.js";
13
- import { g as getPropDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
14
- import { D as DynamicFilterSlots } from "../index.0f04f223.js";
9
+ import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.5689a29f.js";
10
+ import { u as useDynamicFilterStore } from "../store/index.9b5121d6.js";
11
+ import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.d97c727b.js";
12
+ import { P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, I as InputFilterStyled, d as InputFilterIconStyled, e as InputFilterInputStyled, A as AppliedFilterChipStyled, f as AppliedFilterChipIconStyled, g as AppliedFilterChipInfoStyled, h as AppliedFilterChipInfoFieldNameStyled, i as AppliedFilterChipInfoOperatorStyled, j as AppliedFilterChipInfoOperandsStyled, k as AppliedFilterChipRemoveButtonStyled, l as AppliedFiltersStyled, m as AppliedFilterInnerContainerStyled, n as ActionsSkeletonButtonStyled, o as ActionsStyled, p as ActionsClearButtonStyled, q as ActionsSubmitButtonStyled, r as PopoverStyled, s as PopoverHeaderStyled, t as PopoverHeaderIconStyled, u as PopoverHeaderTitleStyled, v as PopoverContainerFieldsStyled, w as PopoverHeaderActionsStyled, R as RootStyled, x as InnerContainerStyled } from "../slots/index.82d7eaf2.js";
13
+ import { a as getPropDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
14
+ import { D as DynamicFilterSlots } from "../index.056a99c7.js";
15
15
  import { Skeleton } from "@mui/material";
16
- import { a as PopoverMenuFields, b as PopoverFilter } from "../../mui_extended/Popover/index.146ded9e.js";
17
- import { S as ScrollBar } from "../../ScrollBar/index.1e89bb44.js";
16
+ import { S as ScrollBar } from "../../ScrollBar/index.21bc5025.js";
18
17
  import { useFormatter } from "@m4l/graphics";
19
- import { B as BooleanFilterHelpers, S as StringFilterHelpers, N as NumberFilterHelpers, D as DateTimeFilterHelpers, b as SelectFilterHelpers } from "../helpers/index.609b3915.js";
18
+ import { B as BooleanFilterHelpers, S as StringFilterHelpers, N as NumberFilterHelpers, D as DateTimeFilterHelpers, b as SelectFilterHelpers } from "../helpers/index.11ed2896.js";
19
+ import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.bf3a2812.js";
20
+ import { A as ActionCancel } from "../../CommonActions/components/ActionCancel/index.609a78ca.js";
21
+ import { A as ActionIntro } from "../../CommonActions/components/ActionIntro/index.ebac0bc1.js";
20
22
  function BooleanFilter() {
21
23
  const { getLabel } = useModuleDictionary();
22
24
  const operators = useMemo(
@@ -363,6 +365,62 @@ function InputFilterSkeleton() {
363
365
  /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "100%", height: "16px", sx: { minWidth: "80px" } })
364
366
  ] });
365
367
  }
368
+ function usePopoverMenuFields() {
369
+ const { getLabel } = useModuleDictionary();
370
+ const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
371
+ const { showPopoverFilterForAdd, closePopoverMenuFields } = useDynamicFilterStore(
372
+ (state) => state.actions
373
+ );
374
+ function handleOpenPopUpClickItem(_event, field) {
375
+ if (fnAnchorEl) {
376
+ showPopoverFilterForAdd(fnAnchorEl(), field);
377
+ }
378
+ }
379
+ function handleClosePopover() {
380
+ closePopoverMenuFields(false);
381
+ }
382
+ function getItemLabel(field) {
383
+ return field.label ?? getLabel(field.dictionaryId);
384
+ }
385
+ return {
386
+ fnAnchorEl,
387
+ getItemLabel,
388
+ handleClosePopover,
389
+ handleOpenPopUpClickItem
390
+ };
391
+ }
392
+ function PopoverMenuFields(props) {
393
+ const { fields, selectFieldIndex } = props;
394
+ const { fnAnchorEl, handleOpenPopUpClickItem, handleClosePopover, getItemLabel } = usePopoverMenuFields();
395
+ return /* @__PURE__ */ jsx(
396
+ PopoverMenuStyled,
397
+ {
398
+ disableAutoFocus: true,
399
+ disableRestoreFocus: true,
400
+ arrowType: "top-left",
401
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
402
+ transformOrigin: { vertical: "top", horizontal: "left" },
403
+ open: Boolean(fnAnchorEl),
404
+ onClose: handleClosePopover,
405
+ anchorEl: fnAnchorEl?.(),
406
+ ownerState: {},
407
+ children: Boolean(fnAnchorEl) && fields.map((field, index) => /* @__PURE__ */ jsxs(
408
+ PopoverMenuItemStyled,
409
+ {
410
+ dense: true,
411
+ selected: index === selectFieldIndex,
412
+ onClick: (event) => handleOpenPopUpClickItem(event, field),
413
+ ownerState: {},
414
+ children: [
415
+ /* @__PURE__ */ jsx(PopoverMenuItemIconStyled, { src: field.urlIcon, ownerState: {} }),
416
+ /* @__PURE__ */ jsx(PopoverMenuItemLabelStyled, { ownerState: {}, children: getItemLabel(field) })
417
+ ]
418
+ },
419
+ `menu_action_${getItemLabel(field)}`
420
+ ))
421
+ }
422
+ );
423
+ }
366
424
  const InputFilter = () => {
367
425
  const {
368
426
  iconUrl,
@@ -542,6 +600,97 @@ function FilterActions() {
542
600
  )
543
601
  ] });
544
602
  }
603
+ function usePopoverFilter() {
604
+ let anchorEl;
605
+ let field;
606
+ let formFilter;
607
+ let filterFormValue;
608
+ let popupValidationSchema;
609
+ const { getLabel } = useModuleDictionary();
610
+ const popoverFilterData = useDynamicFilterStore((state) => state.popoverFilterData);
611
+ const { hidePopoverFilter, addFilter, updateFilter, getNewId } = useDynamicFilterStore(
612
+ (state) => state.actions
613
+ );
614
+ const refPreviousPopoverFilterData = useRef(popoverFilterData);
615
+ const statusLoad = useMemo(() => {
616
+ let returnStatus;
617
+ if (popoverFilterData && refPreviousPopoverFilterData.current === void 0) {
618
+ returnStatus = "ready";
619
+ } else if (!popoverFilterData) {
620
+ returnStatus = "initial";
621
+ } else {
622
+ returnStatus = "reload_values_provider";
623
+ }
624
+ refPreviousPopoverFilterData.current = popoverFilterData;
625
+ return returnStatus;
626
+ }, [popoverFilterData]);
627
+ if (popoverFilterData?.openFor === "add") {
628
+ anchorEl = popoverFilterData?.fnAnchorEl();
629
+ field = popoverFilterData.field;
630
+ const helperField = fieldFactory(field.type);
631
+ popupValidationSchema = helperField.getSchema(getLabel);
632
+ filterFormValue = helperField.getFormValue(field, getLabel);
633
+ formFilter = {
634
+ field,
635
+ id: getNewId(),
636
+ isSet: true,
637
+ fixed: false,
638
+ ...filterFormValue
639
+ };
640
+ } else if (popoverFilterData) {
641
+ anchorEl = popoverFilterData?.fnAnchorEl();
642
+ field = popoverFilterData?.filter.field;
643
+ const helperField = fieldFactory(field.type);
644
+ popupValidationSchema = helperField.getSchema(getLabel);
645
+ filterFormValue = helperField.getFormValue(field, getLabel, popoverFilterData.filter);
646
+ formFilter = { ...popoverFilterData?.filter, ...filterFormValue };
647
+ } else {
648
+ filterFormValue = {};
649
+ field = {};
650
+ formFilter = {};
651
+ anchorEl = {};
652
+ }
653
+ const onClose = useCallback(() => {
654
+ hidePopoverFilter(false);
655
+ }, []);
656
+ const handleKeyDownPopper = useCallback((event) => {
657
+ if (event.key === "Escape") {
658
+ onClose();
659
+ }
660
+ }, []);
661
+ function handleClosePopover() {
662
+ hidePopoverFilter(false);
663
+ }
664
+ async function onSubmit(dataFieldValues) {
665
+ const filterField = { ...filterFormValue, ...dataFieldValues };
666
+ const newFilter = {
667
+ ...formFilter,
668
+ ...fieldFactory(filterField.fieldType).getFilterFromFormValue(filterField),
669
+ isSet: true
670
+ };
671
+ if (popoverFilterData?.openFor === "add") {
672
+ addFilter(newFilter);
673
+ } else {
674
+ updateFilter(newFilter);
675
+ }
676
+ hidePopoverFilter(false);
677
+ }
678
+ const labelField = field?.label ?? getLabel(field?.dictionaryId ?? "");
679
+ return {
680
+ field,
681
+ labelField,
682
+ canRender: Boolean(popoverFilterData),
683
+ anchorEl,
684
+ handleKeyDownPopper,
685
+ handleClosePopover,
686
+ onSubmit,
687
+ onClose,
688
+ filterFormValue,
689
+ formFilter,
690
+ popupValidationSchema,
691
+ statusLoad
692
+ };
693
+ }
545
694
  function DataTypeComponent(props) {
546
695
  const { formFilter, statusLoad } = props;
547
696
  const { setFocus } = useFormContext();
@@ -551,6 +700,60 @@ function DataTypeComponent(props) {
551
700
  }, [statusLoad]);
552
701
  return /* @__PURE__ */ jsx(Component, {});
553
702
  }
703
+ function PopoverFilter() {
704
+ const {
705
+ field,
706
+ labelField,
707
+ anchorEl,
708
+ handleKeyDownPopper,
709
+ handleClosePopover,
710
+ onSubmit,
711
+ onClose,
712
+ filterFormValue,
713
+ formFilter,
714
+ popupValidationSchema,
715
+ statusLoad,
716
+ canRender
717
+ } = usePopoverFilter();
718
+ if (!canRender) {
719
+ return null;
720
+ }
721
+ return /* @__PURE__ */ jsx(
722
+ PopoverStyled,
723
+ {
724
+ open: true,
725
+ disableRestoreFocus: true,
726
+ transitionDuration: 0,
727
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
728
+ transformOrigin: { vertical: "top", horizontal: "left" },
729
+ arrowType: "top-left",
730
+ anchorEl,
731
+ onKeyDown: handleKeyDownPopper,
732
+ onClose: handleClosePopover,
733
+ ownerState: {},
734
+ children: /* @__PURE__ */ jsxs(
735
+ RHFormProvider,
736
+ {
737
+ onSubmit,
738
+ values: filterFormValue,
739
+ validationSchema: popupValidationSchema,
740
+ statusLoad,
741
+ children: [
742
+ /* @__PURE__ */ jsxs(PopoverHeaderStyled, { ownerState: {}, children: [
743
+ field.urlIcon && /* @__PURE__ */ jsx(PopoverHeaderIconStyled, { src: field.urlIcon, ownerState: {} }),
744
+ /* @__PURE__ */ jsx(PopoverHeaderTitleStyled, { variant: "paragraphDens", ownerState: {}, children: labelField })
745
+ ] }),
746
+ /* @__PURE__ */ jsx(PopoverContainerFieldsStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(DataTypeComponent, { formFilter, statusLoad }) }),
747
+ /* @__PURE__ */ jsxs(PopoverHeaderActionsStyled, { ownerState: {}, children: [
748
+ /* @__PURE__ */ jsx(ActionCancel, { onClick: onClose, skeletonWidth: "68px" }),
749
+ /* @__PURE__ */ jsx(ActionIntro, { skeletonWidth: "64px" })
750
+ ] })
751
+ ]
752
+ }
753
+ )
754
+ }
755
+ );
756
+ }
554
757
  function DynamicFilterBase() {
555
758
  const { ownerState, dataTestId } = useDynamicFilterBase();
556
759
  return /* @__PURE__ */ jsx(
@@ -581,6 +784,5 @@ export {
581
784
  StringFilter as S,
582
785
  SelectFilter as a,
583
786
  DynamicFilterBase as b,
584
- DataTypeComponent as c,
585
787
  fieldFactory as f
586
788
  };
@@ -2,14 +2,14 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useEnvironment, useModuleSkeleton } from "@m4l/core";
3
3
  import { styled, generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { e 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 clsx from "clsx";
8
- import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
9
- import { I as Icon } from "../Icon/index.8ecfb193.js";
7
+ import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
8
+ import { I as Icon } from "../Icon/index.83867398.js";
10
9
  const FieldLabelRoot = styled("label")(({ theme }) => ({
11
10
  ...theme.components?.M4LFieldLabel?.styleOverrides
12
11
  }));
12
+ const componentName = "M4LFieldLabel";
13
13
  generateUtilityClasses(componentName, [
14
14
  "root",
15
15
  "label",
@@ -1,11 +1,22 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect, useCallback } from "react";
3
3
  import clsx from "clsx";
4
- import { f as DEFAULT_ROW_HEIGHT, g as COMPONENT_CLASS_NAME, h as DEFAULT_COLS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, k as DEFAULT_COLAPSED_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, n as DEFAULT_TRANSFORM_SCALE } from "../areas/constants.0d3ba950.js";
5
- import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.b23625d7.js";
4
+ import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.8955a794.js";
6
5
  import { styled, alpha } from "@mui/material/styles";
7
6
  import { generateUtilityClasses } from "@mui/material";
8
7
  import "@mui/base";
8
+ const COMPONENT_CLASS_NAME = "M4LGridLayout";
9
+ const DEFAULT_COLS = 12;
10
+ const DEFAULT_ROW_HEIGHT = 20;
11
+ const DEFAULT_CONTAINER_WIDTH = 1280;
12
+ const DEFAULT_CONTAINER_HEIGHT = 480;
13
+ const DEFAULT_RESPONSIVE_COLS = { lg: 12, md: 10, sm: 6, xs: 4, xxs: 1 };
14
+ const DEFAULT_RESPONSIVE_BREAKPOINTS = { lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 };
15
+ const DEFAULT_CONTAINER_PADDING = [10, 10];
16
+ const DEFAULT_MARGIN = [10, 10];
17
+ const DEFAULT_TRANSFORM_SCALE = 1;
18
+ const DEFAULT_COLAPSED_HEIGHT = 35;
19
+ const THROTTLE_RESIZE_TIMEOUT = 200;
9
20
  const noop = () => {
10
21
  };
11
22
  function bottom(layout, colapsedHeight, rowHeight) {
@@ -1178,7 +1189,11 @@ function GridLayout(props) {
1178
1189
  );
1179
1190
  }
1180
1191
  export {
1192
+ isEqualLayouts as A,
1193
+ COMPONENT_CLASS_NAME as C,
1194
+ DEFAULT_COLS as D,
1181
1195
  GridLayout as G,
1196
+ THROTTLE_RESIZE_TIMEOUT as T,
1182
1197
  calcGridItemWHPx as a,
1183
1198
  calcGridColWidth as b,
1184
1199
  calcXY as c,
@@ -1187,14 +1202,22 @@ export {
1187
1202
  calcGridItemPosition as f,
1188
1203
  getH as g,
1189
1204
  gridLayoutClasses as h,
1190
- setTopLeft as i,
1191
- cloneLayoutItem as j,
1192
- cloneLayout as k,
1193
- compact as l,
1194
- correctBounds as m,
1195
- isEqualLayout as n,
1196
- noop as o,
1205
+ DEFAULT_ROW_HEIGHT as i,
1206
+ DEFAULT_CONTAINER_WIDTH as j,
1207
+ DEFAULT_CONTAINER_HEIGHT as k,
1208
+ DEFAULT_MARGIN as l,
1209
+ DEFAULT_CONTAINER_PADDING as m,
1210
+ DEFAULT_TRANSFORM_SCALE as n,
1211
+ DEFAULT_COLAPSED_HEIGHT as o,
1197
1212
  perc as p,
1198
- isEqualLayouts as q,
1199
- setTransform as s
1213
+ setTopLeft as q,
1214
+ cloneLayoutItem as r,
1215
+ setTransform as s,
1216
+ cloneLayout as t,
1217
+ compact as u,
1218
+ correctBounds as v,
1219
+ isEqualLayout as w,
1220
+ DEFAULT_RESPONSIVE_BREAKPOINTS as x,
1221
+ DEFAULT_RESPONSIVE_COLS as y,
1222
+ noop as z
1200
1223
  };
@@ -1,11 +1,10 @@
1
1
  import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
3
- import { D as DraggableCore_1 } from "../../../../react-draggable.0cc9b257.js";
4
- import { R as Resizable } from "../../../../react-resizable.837c446d.js";
5
- import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, p as perc, s as setTransform, i as setTopLeft } from "../../index.656840a5.js";
3
+ import { D as DraggableCore_1 } from "../../../../react-draggable.1c1ba224.js";
4
+ import { R as Resizable } from "../../../../react-resizable.a59c14f4.js";
5
+ import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.68d907d4.js";
6
6
  import clsx from "clsx";
7
7
  import { deepEqual } from "fast-equals";
8
- import { h as DEFAULT_COLS, f as DEFAULT_ROW_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, j as DEFAULT_MARGIN, i as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, k as DEFAULT_COLAPSED_HEIGHT } from "../../../areas/constants.0d3ba950.js";
9
8
  function GridItem(props) {
10
9
  const {
11
10
  layoutItemRender: ComponentItemRender,
@@ -1,8 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { j as cloneLayoutItem, k as cloneLayout, l as compact, m as correctBounds, n as isEqualLayout, o as noop, q as isEqualLayouts, G as GridLayout } from "../../index.656840a5.js";
2
+ import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.68d907d4.js";
3
3
  import { useState, useRef, useEffect, useCallback } from "react";
4
4
  import { useFirstRender } from "@m4l/graphics";
5
- import { k as DEFAULT_COLAPSED_HEIGHT, o as DEFAULT_RESPONSIVE_BREAKPOINTS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, p as DEFAULT_RESPONSIVE_COLS, f as DEFAULT_ROW_HEIGHT } from "../../../areas/constants.0d3ba950.js";
6
5
  import { deepEqual } from "fast-equals";
7
6
  function getBreakpointFromWidth(breakpoints, width) {
8
7
  const sorted = sortBreakpoints(breakpoints);
@@ -3,7 +3,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
3
3
  import clsx from "clsx";
4
4
  import { throttle } from "lodash";
5
5
  import { useResizeObserver } from "@m4l/graphics";
6
- import { l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, q as THROTTLE_RESIZE_TIMEOUT, g as COMPONENT_CLASS_NAME } from "../../../areas/constants.0d3ba950.js";
6
+ import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.68d907d4.js";
7
7
  function withSizeProvider(ComposedComponent) {
8
8
  return (props) => {
9
9
  const { measureBeforeMount = true, ...rest } = props;
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { styled } from "@mui/material/styles";
3
3
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
5
+ import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
6
6
  const HelperTextRoot = styled("div")(({ theme }) => ({
7
7
  ...theme.components?.M4LErrorLabel?.styleOverrides
8
8
  }));