@m4l/components 1.1.1 → 1.1.2

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 (156) hide show
  1. package/@types/export.d.ts +269 -274
  2. package/@types/types.d.ts +34 -25
  3. package/components/AccountPopover/{index.dde11a5c.js → index.84049a50.js} +3 -3
  4. package/components/AppBar/{index.19b11c19.js → index.22ed1a0e.js} +4 -4
  5. package/components/BaseModule/{index.4b725d16.js → index.0fc648c5.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index.c3cddacf.js → index.33cf608e.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index.3ec840af.js → index.d1359a38.js} +4 -4
  8. package/components/CommonActions/components/ActionFormIntro/{index.3187e7a7.js → index.415de2bb.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index.db2b2999.js → index.0893587b.js} +2 -2
  10. package/components/CommonActions/components/Actions/{index.84b8fd47.js → index.2342a37e.js} +2 -2
  11. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.ea1b882e.js → index.9d6f8597.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.cff633f6.js → index.9bcaba12.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.d2e656a0.js → index.a58a8712.js} +1 -1
  15. package/components/DataGrid/formatters/{index.4b65c281.js → index.6698b419.js} +2 -2
  16. package/components/DataGrid/{index.9aa088f6.js → index.b1cac6af.js} +4 -4
  17. package/components/DataGrid/subcomponents/Actions/{index.9416e750.js → index.a60b17d5.js} +11 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
  19. package/components/DragResizeWindow/classes/types.d.ts +1 -0
  20. package/components/DragResizeWindow/helpers/index.d.ts +3 -0
  21. package/components/DragResizeWindow/{index.8f5a2e3e.js → index.46048367.js} +52 -39
  22. package/components/DragResizeWindow/types.d.ts +7 -0
  23. package/components/DynamicFilter/{dictionary.e9ad0f7c.js → dictionary.da256925.js} +2 -2
  24. package/components/DynamicFilter/{index.e737845f.js → index.08abfc2c.js} +4 -4
  25. package/components/DynamicFilter/slots/{dynamicFilterSlots.c6d731f1.js → dynamicFilterSlots.b02bff6a.js} +6 -6
  26. package/components/DynamicFilter/store/{index.7a5e5f6a.js → index.1e4af8b4.js} +1 -1
  27. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f714d323.js → index.37bcd016.js} +3 -3
  28. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.c4131ff0.js → index.2740f285.js} +4 -4
  29. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.9be8d255.js → index.63102514.js} +6 -6
  30. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5caf5b34.js → index.3824d701.js} +2 -2
  31. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.f5262ca2.js → index.57ddf344.js} +4 -4
  32. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.f48b4af1.js → index.7beac9f0.js} +3 -3
  33. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.86de8517.js → index.e9e1af93.js} +4 -4
  34. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.1ba1cc22.js → index.d27a8bcc.js} +3 -3
  35. package/components/DynamicFilter/subcomponents/FieldTypes/{index.8d2e925e.js → index.e8f1d8e5.js} +5 -5
  36. package/components/DynamicFilter/subcomponents/FilterActions/{index.066a32f4.js → index.35014c15.js} +3 -3
  37. package/components/DynamicFilter/subcomponents/InputFilter/{index.f3f01ebc.js → index.f42e9571.js} +4 -4
  38. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.7805f621.js → index.ada7eb0c.js} +6 -6
  39. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.d5efe247.js → index.144885cf.js} +2 -2
  40. package/components/FieldLabel/{index.a6235bcc.js → index.59b9b63a.js} +4 -4
  41. package/components/GridLayout/{index.14b734d6.js → index.56c3f4fa.js} +2 -2
  42. package/components/GridLayout/subcomponents/Griditem/{index.5c8546c8.js → index.02bcb3b3.js} +3 -3
  43. package/components/GridLayout/subcomponents/Responsive/{index.6646c077.js → index.65aeef5e.js} +1 -1
  44. package/components/GridLayout/subcomponents/SizeProvider/{index.1108dd01.js → index.0aad6f90.js} +1 -1
  45. package/components/HelperText/{index.b1961313.js → index.5c72277a.js} +2 -2
  46. package/components/Icon/{index.e06c693f.js → index.13aaae3c.js} +3 -3
  47. package/components/Image/{index.8a3d05d3.js → index.4b51d4ba.js} +2 -2
  48. package/components/LanguagePopover/{index.25266514.js → index.7605fda8.js} +4 -4
  49. package/components/LinearProgressIndeterminate/{index.80f8b74d.js → index.292a4af8.js} +2 -2
  50. package/components/LoadingError/{index.81979bb3.js → index.b129b573.js} +5 -5
  51. package/components/MFIsolationApp/{index.3125cd12.js → index.9f718621.js} +2 -2
  52. package/components/MFLoader/{index.952a3fee.js → index.5d340e32.js} +2 -2
  53. package/components/ModalDialog/{index.0dba90d3.js → index.ff275011.js} +4 -4
  54. package/components/NavLink/{index.0c844a30.js → index.506c7827.js} +2 -2
  55. package/components/NoItemSelected/{index.dd2cee48.js → index.1d7d5a9d.js} +1 -1
  56. package/components/ObjectLogs/{index.f98e884b.js → index.473ebd65.js} +9 -9
  57. package/components/PDFViewer/{index.1b7068e5.js → index.4e7ffac8.js} +2 -2
  58. package/components/Page/{index.fa45b3d5.js → index.b75c74e3.js} +1 -1
  59. package/components/PaperForm/{index.f1467e34.js → index.8289409f.js} +2 -2
  60. package/components/Period/{index.732248a8.js → index.13e4c351.js} +4 -4
  61. package/components/PrintingSystem/{index.7aed44a2.js → index.e1535b80.js} +14 -14
  62. package/components/PrintingSystem/subcomponents/BodyNode/{index.3e82f72e.js → index.6b36842d.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/ChartNode/{index.8d4e4894.js → index.4aab9d2c.js} +1 -1
  64. package/components/PrintingSystem/subcomponents/DividerNode/{index.f9343c1f.js → index.23a9dc95.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/FooterNode/{index.1cdf54cf.js → index.d0e8fd15.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/GridNode/{index.32a2e08a.js → index.35ff7dab.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/HeaderNode/{index.715f4e49.js → index.9547c826.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/PaperNode/{index.92df744d.js → index.71afe03e.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.4316a07a.js → index.abbb154c.js} +1 -1
  70. package/components/PrintingSystem/subcomponents/SectionNode/{index.21b9d770.js → index.b3f2ba6c.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.03e73c9d.js → index.809aaad2.js} +1 -1
  72. package/components/PropertyValue/{index.f85c4118.js → index.36555931.js} +3 -3
  73. package/components/Resizeable/{index.305dae8c.js → index.57363836.js} +1 -1
  74. package/components/ScrollBar/{index.9c677335.js → index.236e2aa3.js} +1 -1
  75. package/components/SideBar/{index.d33d87f4.js → index.bb6c2c7b.js} +6 -6
  76. package/components/SplitLayout/{index.a5414b61.js → index.75953afb.js} +1 -1
  77. package/components/ToastContainer/{index.ce752150.js → index.bb972338.js} +3 -3
  78. package/components/animate/LoadingScreen/{index.881ca784.js → index.09915798.js} +1 -1
  79. package/components/animate/{index.d6f073fe.js → index.5c545243.js} +1 -1
  80. package/components/areas/components/AreasAdmin/{index.80da2678.js → index.42d40964.js} +15 -15
  81. package/components/areas/components/AreasViewer/{index.7836a623.js → index.266a3815.js} +15 -15
  82. package/components/areas/contexts/AreasContext/{index.c4e41ac3.js → index.c2289888.js} +4 -4
  83. package/components/areas/hooks/useAreas/{index.cf3f35fa.js → index.509c1703.js} +1 -1
  84. package/components/areas/types.d.ts +1 -1
  85. package/components/commercial/AppBarCommercial/{index.00571293.js → index.3fd10868.js} +2 -2
  86. package/components/commercial/SectionCommercial/{index.c3f56cb3.js → index.bd45c64e.js} +2 -2
  87. package/components/commercial/TopBar/{index.56ade547.js → index.4e55cffa.js} +6 -6
  88. package/components/commercial/{index.788464b6.js → index.4bdbb8fe.js} +3 -3
  89. package/components/formatters/BooleanFormatter/{index.6f664715.js → index.ac870381.js} +2 -2
  90. package/components/formatters/{index.d1846e98.js → index.53ad2f51.js} +2 -2
  91. package/components/hook-form/HelperError/{index.a0faefe4.js → index.9f93c627.js} +1 -1
  92. package/components/hook-form/RHFAutocomplete/{index.dab5e2d6.js → index.b8347185.js} +6 -6
  93. package/components/hook-form/RHFAutocompleteAsync/{index.a61e7dda.js → index.aeb3bf66.js} +2 -2
  94. package/components/hook-form/RHFCheckbox/{index.71751a9d.js → index.c3b7ce0f.js} +3 -3
  95. package/components/hook-form/RHFColorPicker/{index.3a8f36b1.js → index.c259b8ac.js} +6 -6
  96. package/components/hook-form/RHFDateTime/{index.2f4ce21c.js → index.4efe48ce.js} +4 -4
  97. package/components/hook-form/RHFPeriod/{index.acf46fb2.js → index.0f912e3e.js} +4 -4
  98. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +1 -1
  99. package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts +2 -0
  100. package/components/hook-form/RHFRadioGroup/index.96c94958.js +52 -0
  101. package/components/hook-form/RHFRadioGroup/types.d.ts +10 -4
  102. package/components/hook-form/RHFTextField/{index.06342648.js → index.828b30f5.js} +5 -5
  103. package/components/hook-form/RHFUpload/{index.ef58c607.js → index.b664c68b.js} +5 -5
  104. package/components/maps/components/GpsTools/{index.3cc627c5.js → index.e759163d.js} +23 -23
  105. package/components/maps/components/Map/external/Control/index.d.ts +1 -1
  106. package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
  107. package/components/maps/components/Map/{index.c50fc538.js → index.c568e68d.js} +30 -27
  108. package/components/maps/leaflet-geoman.d.ts +1476 -1476
  109. package/components/modal/{WindowBase.af49e2e8.js → WindowBase.58f9e2b0.js} +3 -3
  110. package/components/modal/{WindowConfirm.141e19a9.js → WindowConfirm.60955735.js} +6 -6
  111. package/components/mui_extended/Accordion/{index.e76a8701.js → index.e6971e30.js} +4 -4
  112. package/components/mui_extended/Avatar/{index.fc674f4b.js → index.8cc99f13.js} +1 -1
  113. package/components/mui_extended/Badge/{index.615959af.js → index.07fb40c0.js} +1 -1
  114. package/components/mui_extended/Button/{index.a391ee9f.js → index.111f830e.js} +3 -3
  115. package/components/mui_extended/{CheckBox.ae30825c.js → CheckBox.a8958eb8.js} +2 -2
  116. package/components/mui_extended/IconButton/{index.97e91dae.js → index.9425bdc5.js} +2 -2
  117. package/components/mui_extended/MenuActions/{index.1092605e.js → index.8b0d69b7.js} +5 -5
  118. package/components/mui_extended/Pager/{index.4d510ef5.js → index.cb749e65.js} +4 -4
  119. package/components/mui_extended/Popover/{index.82970357.js → index.5e78a637.js} +1 -1
  120. package/components/mui_extended/Stack/{index.e64a379b.js → index.3674daf7.js} +1 -1
  121. package/components/mui_extended/Tab/{index.f31eb904.js → index.a94a92c1.js} +1 -1
  122. package/components/mui_extended/ToggleButton/{index.4afacb33.js → index.a55def3b.js} +1 -1
  123. package/components/mui_extended/ToggleIconButton/{index.621ff8bc.js → index.cd20de81.js} +1 -1
  124. package/components/mui_extended/Typography/{index.8a0f958b.js → index.45e97bdd.js} +1 -1
  125. package/components/popups/PopupsProvider/{index.6591c56e.js → index.776c62e7.js} +8 -34
  126. package/components/popups/PopupsViewer/constants.29247547.js +4 -0
  127. package/components/popups/PopupsViewer/icons.066abd43.js +7 -0
  128. package/components/popups/PopupsViewer/{index.caf23a5d.js → index.8fe4aa5d.js} +43 -78
  129. package/components/popups/PopupsViewer/slots/index.154e4e5f.js +14 -0
  130. package/components/popups/PopupsViewer/slots/popupsViewerSlots.aaf546e2.js +39 -0
  131. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +1 -1
  132. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +27 -47
  133. package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +1 -2
  134. package/components/popups/components/PopupsViewer/constants.d.ts +1 -1
  135. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +25 -0
  136. package/components/popups/components/PopupsViewer/slots/slots.d.ts +10 -0
  137. package/components/popups/components/PopupsViewer/types.d.ts +17 -3
  138. package/contexts/ModalContext/{index.8281527d.js → index.a5c622d6.js} +1 -1
  139. package/contexts/RHFormContext/{index.939811b3.js → index.40a9547e.js} +1 -1
  140. package/hooks/useFormAddEdit/{index.dfb5570d.js → index.b6a3cf63.js} +2 -2
  141. package/hooks/useModal/{index.538e8219.js → index.3ad1e014.js} +1 -1
  142. package/hooks/useTab/{index.bc8d38fc.js → index.4081b113.js} +1 -1
  143. package/index.js +126 -122
  144. package/package.json +1 -1
  145. package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
  146. package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
  147. package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
  148. package/styles/PopupViewer.styles.d.ts +2 -0
  149. package/styles/{index.7868464e.js → index.239f949e.js} +99 -9
  150. package/vite-env.d.ts +4 -4
  151. package/components/hook-form/RHFRadioGroup/index.11c0add8.js +0 -35
  152. package/components/popups/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +0 -7
  153. package/components/popups/components/PopupsViewer/classes/index.d.ts +0 -17
  154. package/components/popups/components/PopupsViewer/classes/types.d.ts +0 -15
  155. package/components/popups/components/PopupsViewer/styled.d.ts +0 -2
  156. /package/utils/{index.14912462.js → index.78d1638f.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { u as useAreasStore } from "../../hooks/useAreas/index.cf3f35fa.js";
2
+ import { u as useAreasStore } from "../../hooks/useAreas/index.509c1703.js";
3
3
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { useState, useRef, useMemo } from "react";
5
5
  import * as Yup from "yup";
6
6
  import clsx from "clsx";
7
7
  import { generateUtilityClasses, useTheme } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
9
+ import { g as getComponentUtilityClass } from "../../../../utils/index.78d1638f.js";
10
10
  import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
11
11
  import { I as ICONS } from "../../icons.8266ccc8.js";
12
12
  import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
13
- import { a6 as EditAreaHeader, a7 as AreasAdminRoot } from "../../../../styles/index.7868464e.js";
13
+ import { a6 as EditAreaHeader, a7 as AreasAdminRoot } from "../../../../styles/index.239f949e.js";
14
14
  import { useResponsiveDesktop } from "@m4l/graphics";
15
15
  import { shallow } from "zustand/shallow";
16
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.1092605e.js";
17
- import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.939811b3.js";
18
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.06342648.js";
19
- import { A as Actions } from "../../../CommonActions/components/Actions/index.84b8fd47.js";
20
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c3cddacf.js";
21
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.db2b2999.js";
22
- import { I as IconButton } from "../../../mui_extended/IconButton/index.97e91dae.js";
23
- import { P as Popover } from "../../../mui_extended/Popover/index.82970357.js";
24
- import { T as Typography } from "../../../mui_extended/Typography/index.8a0f958b.js";
25
- import { S as ScrollBar } from "../../../ScrollBar/index.9c677335.js";
16
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.8b0d69b7.js";
17
+ import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.40a9547e.js";
18
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.828b30f5.js";
19
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.2342a37e.js";
20
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.33cf608e.js";
21
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.0893587b.js";
22
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.9425bdc5.js";
23
+ import { P as Popover } from "../../../mui_extended/Popover/index.5e78a637.js";
24
+ import { T as Typography } from "../../../mui_extended/Typography/index.45e97bdd.js";
25
+ import { S as ScrollBar } from "../../../ScrollBar/index.236e2aa3.js";
26
26
  import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
27
- import { B as Button } from "../../../mui_extended/Button/index.a391ee9f.js";
28
- import { I as Icon } from "../../../Icon/index.e06c693f.js";
27
+ import { B as Button } from "../../../mui_extended/Button/index.111f830e.js";
28
+ import { I as Icon } from "../../../Icon/index.13aaae3c.js";
29
29
  import { u as useOnClickOutside } from "../../index.4cc6a221.js";
30
30
  const areasAdminClasses = generateUtilityClasses(
31
31
  AREAS_ADMIN_CLASS_NAME,
@@ -1,35 +1,35 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.7868464e.js";
2
+ import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.239f949e.js";
3
3
  import { shallow } from "zustand/shallow";
4
4
  import React__default, { useMemo, useEffect } from "react";
5
5
  import clsx from "clsx";
6
- import { u as useAreasStore } from "../../hooks/useAreas/index.cf3f35fa.js";
6
+ import { u as useAreasStore } from "../../hooks/useAreas/index.509c1703.js";
7
7
  import { generateUtilityClasses, Skeleton } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
9
+ import { g as getComponentUtilityClass } from "../../../../utils/index.78d1638f.js";
10
10
  import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
11
11
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
12
- import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.1092605e.js";
12
+ import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.8b0d69b7.js";
13
13
  import { useResponsiveDesktop } from "@m4l/graphics";
14
14
  import { I as ICONS } from "../../icons.8266ccc8.js";
15
15
  import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
16
- import { I as IconButton } from "../../../mui_extended/IconButton/index.97e91dae.js";
17
- import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.80f8b74d.js";
18
- import { I as Icon } from "../../../Icon/index.e06c693f.js";
19
- import { T as Typography } from "../../../mui_extended/Typography/index.8a0f958b.js";
20
- import { M as MFLoader } from "../../../MFLoader/index.952a3fee.js";
16
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.9425bdc5.js";
17
+ import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.292a4af8.js";
18
+ import { I as Icon } from "../../../Icon/index.13aaae3c.js";
19
+ import { T as Typography } from "../../../mui_extended/Typography/index.45e97bdd.js";
20
+ import { M as MFLoader } from "../../../MFLoader/index.5d340e32.js";
21
21
  import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.992ae7a3.js";
22
22
  import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
23
23
  import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.4092bb69.js";
24
24
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
25
25
  import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
26
- import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.c4e41ac3.js";
27
- import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.1108dd01.js";
28
- import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.6646c077.js";
26
+ import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.c2289888.js";
27
+ import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.0aad6f90.js";
28
+ import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.65aeef5e.js";
29
29
  import { useLocation } from "react-router-dom";
30
- import { L as LoadingError } from "../../../LoadingError/index.81979bb3.js";
31
- import { c as cjs } from "../../../../react-draggable.1c1ba224.js";
32
- import { R as ResizeableWindow } from "../../../Resizeable/index.305dae8c.js";
30
+ import { L as LoadingError } from "../../../LoadingError/index.b129b573.js";
31
+ import { c as cjs } from "../../../../react-draggable.310e3387.js";
32
+ import { R as ResizeableWindow } from "../../../Resizeable/index.57363836.js";
33
33
  const areasViewerClasses = generateUtilityClasses(
34
34
  AREAS_VIEWER_CLASS_NAME,
35
35
  [
@@ -6,13 +6,13 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
6
6
  import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
7
7
  import { devtools } from "zustand/middleware";
8
8
  import { immer } from "zustand/middleware/immer";
9
- import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.7836a623.js";
10
- import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.80da2678.js";
9
+ import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.266a3815.js";
10
+ import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.42d40964.js";
11
11
  import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.3d9ad0ad.js";
12
12
  import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
13
- import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.6646c077.js";
13
+ import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.65aeef5e.js";
14
14
  import { debounce, cloneDeep } from "lodash";
15
- import { A as isEqualLayouts } from "../../../GridLayout/index.14b734d6.js";
15
+ import { A as isEqualLayouts } from "../../../GridLayout/index.56c3f4fa.js";
16
16
  import { useNavigate } from "react-router-dom";
17
17
  const PADDING_GRIDLAYOUT = 11;
18
18
  const MARGIN_GRIDLAYOUT = 11;
@@ -1,6 +1,6 @@
1
1
  import { useContext } from "react";
2
2
  import { useStore } from "zustand";
3
- import { b as AreasContext } from "../../contexts/AreasContext/index.c4e41ac3.js";
3
+ import { b as AreasContext } from "../../contexts/AreasContext/index.c2289888.js";
4
4
  function useAreasStore(selector, equalityFn) {
5
5
  const context = useContext(AreasContext);
6
6
  if (!context)
@@ -119,7 +119,7 @@ export declare type WindowState = {
119
119
  toasties: Toasty[];
120
120
  /**
121
121
  * Hash que mapea el identificador de la tostada con su respectiva información.
122
-
122
+
123
123
  */
124
124
  hashToasties: Record<number, Toasty>;
125
125
  toastyCount: number;
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { generateUtilityClasses } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
5
- import { ab as AppBarComercialRoot } from "../../../styles/index.7868464e.js";
4
+ import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
5
+ import { ab as AppBarComercialRoot } from "../../../styles/index.239f949e.js";
6
6
  const componentName = "M4LAppBarCommercial";
7
7
  generateUtilityClasses(
8
8
  componentName,
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { generateUtilityClasses } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
5
- import { ac as SectionCommercialRoot } from "../../../styles/index.7868464e.js";
4
+ import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
5
+ import { ac as SectionCommercialRoot } from "../../../styles/index.239f949e.js";
6
6
  const componentName = "M4LSectionCommercial";
7
7
  generateUtilityClasses(
8
8
  componentName,
@@ -2,16 +2,16 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
3
3
  import { generateUtilityClasses, useTheme, Box, Grid, styled } from "@mui/material";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
5
+ import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
6
6
  import { createContext, useContext, useState } from "react";
7
7
  import { useEnvironment } from "@m4l/core";
8
- import { ad as ArrowIconRoot } from "../../../styles/index.7868464e.js";
9
- import { I as Icon } from "../../Icon/index.e06c693f.js";
8
+ import { ad as ArrowIconRoot } from "../../../styles/index.239f949e.js";
9
+ import { I as Icon } from "../../Icon/index.13aaae3c.js";
10
10
  import clsx from "clsx";
11
11
  import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
12
- import { A as Accordion } from "../../mui_extended/Accordion/index.e76a8701.js";
13
- import { B as Button } from "../../mui_extended/Button/index.a391ee9f.js";
14
- import { P as Popover } from "../../mui_extended/Popover/index.82970357.js";
12
+ import { A as Accordion } from "../../mui_extended/Accordion/index.e6971e30.js";
13
+ import { B as Button } from "../../mui_extended/Button/index.111f830e.js";
14
+ import { P as Popover } from "../../mui_extended/Popover/index.5e78a637.js";
15
15
  const componentName = "M4LTopBar";
16
16
  const TopBarClasses = generateUtilityClasses(componentName, [
17
17
  "root",
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { ae as HamburgerMenuRoot } from "../../styles/index.7868464e.js";
3
+ import { ae as HamburgerMenuRoot } from "../../styles/index.239f949e.js";
4
4
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
7
7
  import { useEnvironment } from "@m4l/core";
8
- import { S as SideBar } from "../SideBar/index.d33d87f4.js";
9
- import { I as IconButton } from "../mui_extended/IconButton/index.97e91dae.js";
8
+ import { S as SideBar } from "../SideBar/index.bb6c2c7b.js";
9
+ import { I as IconButton } from "../mui_extended/IconButton/index.9425bdc5.js";
10
10
  const componentName = "M4LHamburgerMenuCommercial";
11
11
  generateUtilityClasses(componentName, ["root", "ImageLogo"]);
12
12
  function getHamburgerMenuComercialClassesUtilityClass(slot) {
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { useModuleDictionary, useEnvironment } from "@m4l/core";
4
- import { I as Icon } from "../../Icon/index.e06c693f.js";
4
+ import { I as Icon } from "../../Icon/index.13aaae3c.js";
5
5
  import { W as WrapperComponent } from "../../WrapperComponent/index.57964195.js";
6
- import { F as FormatterRoot, f as formatterClasses } from "../index.d1846e98.js";
6
+ import { F as FormatterRoot, f as formatterClasses } from "../index.53ad2f51.js";
7
7
  import clsx from "clsx";
8
8
  const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
9
9
  const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { generateUtilityClasses } from "@mui/material";
3
3
  import "@mui/base";
4
- import { af as FormatterRootContainer } from "../../styles/index.7868464e.js";
4
+ import { af as FormatterRootContainer } from "../../styles/index.239f949e.js";
5
5
  import { W as WrapperComponent } from "../WrapperComponent/index.57964195.js";
6
6
  import { useModuleDictionary } from "@m4l/core";
7
- import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.6f664715.js";
7
+ import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.ac870381.js";
8
8
  const COMPONENT_CLASS_NAME = "M4LFormatter";
9
9
  const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
10
10
  "root",
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useFormContext, useController } from "react-hook-form";
3
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
3
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
4
4
  function HelperError(props) {
5
5
  const { name } = props;
6
6
  const { control } = useFormContext();
@@ -3,17 +3,17 @@ import { useMemo, useRef, useState, useEffect, createElement } from "react";
3
3
  import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
4
4
  import { useFormContext, Controller } from "react-hook-form";
5
5
  import { Skeleton, generateUtilityClasses, generateUtilityClass, useTheme, Autocomplete, Popper, TextField, Chip } from "@mui/material";
6
- import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.7868464e.js";
7
- import { I as Image } from "../../Image/index.8a3d05d3.js";
6
+ import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.239f949e.js";
7
+ import { I as Image } from "../../Image/index.4b51d4ba.js";
8
8
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
9
- import { T as Typography } from "../../mui_extended/Typography/index.8a0f958b.js";
9
+ import { T as Typography } from "../../mui_extended/Typography/index.45e97bdd.js";
10
10
  import { unstable_composeClasses } from "@mui/base";
11
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
11
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
12
12
  import { useResponsiveDesktop } from "@m4l/graphics";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.a6235bcc.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
15
15
  import { C as CircularProgress } from "../../mui_extended/CircularProgress/index.967e70b7.js";
16
- import { I as IconButton } from "../../mui_extended/IconButton/index.97e91dae.js";
16
+ import { I as IconButton } from "../../mui_extended/IconButton/index.9425bdc5.js";
17
17
  const RHFAUTOCOMPLETE_PREFIX = "RHFAutocomplete";
18
18
  const RHFTAUTOCOMPLET_ROOT_TEST_ID = "RHFAutocomplete";
19
19
  const getNameDataTestId = (KEY) => {
@@ -2,11 +2,11 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useCallback, useEffect } from "react";
3
3
  import { useNetwork, getPropertyByString } from "@m4l/core";
4
4
  import debounce from "lodash/debounce";
5
- import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.7868464e.js";
5
+ import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.239f949e.js";
6
6
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
9
- import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.dab5e2d6.js";
9
+ import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.b8347185.js";
10
10
  const componentName = "M4LRHFAutocompleteAsync";
11
11
  generateUtilityClasses(
12
12
  componentName,
@@ -1,14 +1,14 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useFormContext, Controller } from "react-hook-form";
3
- import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.7868464e.js";
3
+ import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.239f949e.js";
4
4
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
6
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
7
7
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
8
8
  import { useResponsiveDesktop } from "@m4l/graphics";
9
9
  import { useModuleSkeleton } from "@m4l/core";
10
10
  import { useFormFocus } from "../../../index.js";
11
- import { C as CheckBox } from "../../mui_extended/CheckBox.ae30825c.js";
11
+ import { C as CheckBox } from "../../mui_extended/CheckBox.a8958eb8.js";
12
12
  generateUtilityClasses("M4LRHFCheckbox", [
13
13
  "root",
14
14
  "checkTypography",
@@ -3,17 +3,17 @@ import { useState } from "react";
3
3
  import { useFormContext, useWatch, Controller } from "react-hook-form";
4
4
  import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
5
5
  import { SketchPicker } from "react-color";
6
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
6
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
7
7
  import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { al as RHFColorPickerRoot } from "../../../styles/index.7868464e.js";
9
+ import { al as RHFColorPickerRoot } from "../../../styles/index.239f949e.js";
10
10
  import { useTheme } from "@mui/material/styles";
11
11
  import { useResponsiveDesktop } from "@m4l/graphics";
12
12
  import { useFormFocus } from "../../../index.js";
13
- import { F as FieldLabel } from "../../FieldLabel/index.a6235bcc.js";
14
- import { P as Popover } from "../../mui_extended/Popover/index.82970357.js";
15
- import { I as Icon } from "../../Icon/index.e06c693f.js";
16
- import { B as Button } from "../../mui_extended/Button/index.a391ee9f.js";
13
+ import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
14
+ import { P as Popover } from "../../mui_extended/Popover/index.5e78a637.js";
15
+ import { I as Icon } from "../../Icon/index.13aaae3c.js";
16
+ import { B as Button } from "../../mui_extended/Button/index.111f830e.js";
17
17
  const componentName = "M4LRHFColorPicker";
18
18
  const colorPickerClasses = generateUtilityClasses(componentName, [
19
19
  "root",
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
7
7
  import { useState, useEffect } from "react";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
9
  import clsx from "clsx";
10
- import { am as RHFDateTimeRoot } from "../../../styles/index.7868464e.js";
11
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
10
+ import { am as RHFDateTimeRoot } from "../../../styles/index.239f949e.js";
11
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
12
12
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.a6235bcc.js";
15
- import { I as Icon } from "../../Icon/index.e06c693f.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
15
+ import { I as Icon } from "../../Icon/index.13aaae3c.js";
16
16
  const SkeletonRHFDateTime = (props) => {
17
17
  const { skeletonWidth, skeletonHeight, className, label } = props;
18
18
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,13 +1,13 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { an as RHFPeriodRoot } from "../../../styles/index.7868464e.js";
2
+ import { an as RHFPeriodRoot } from "../../../styles/index.239f949e.js";
3
3
  import { useFormContext, Controller } from "react-hook-form";
4
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
4
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
5
5
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import { useModuleSkeleton } from "@m4l/core";
8
8
  import { useFormFocus } from "../../../index.js";
9
- import { F as FieldLabel } from "../../FieldLabel/index.a6235bcc.js";
10
- import { P as Period } from "../../Period/index.732248a8.js";
9
+ import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
10
+ import { P as Period } from "../../Period/index.13e4c351.js";
11
11
  const componentName = "M4LRHFPeriod";
12
12
  generateUtilityClasses(componentName, [
13
13
  "root",
@@ -1,3 +1,3 @@
1
1
  import { RadioGroupProps, RadioProps } from '@mui/material';
2
2
  import { RHFRadioGroupProps } from './types';
3
- export declare function RHFRadioGroup<TOption extends RadioProps>({ name, options, getOptionLabel, getOptionValue, ...other }: RHFRadioGroupProps<TOption> & RadioGroupProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function RHFRadioGroup<TOption extends RadioProps>({ name, options, getOptionLabel, getOptionValue, getOptionIconUrl, renderOptionLabel, ControlLabel, ...other }: RHFRadioGroupProps<TOption> & RadioGroupProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { GetOptionStringType } from "../../types";
2
+ export declare function OptionIconLabelFormatter<T>(option: T, getOptionLabel: GetOptionStringType<T>, getOptionIconUrl: GetOptionStringType<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,52 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useFormContext, Controller } from "react-hook-form";
3
+ import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
4
+ import { I as Icon } from "../../Icon/index.13aaae3c.js";
5
+ function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
6
+ return /* @__PURE__ */ jsxs("div", { children: [
7
+ /* @__PURE__ */ jsx(
8
+ Icon,
9
+ {
10
+ src: `${getOptionIconUrl(option)}`
11
+ }
12
+ ),
13
+ /* @__PURE__ */ jsx("span", { children: getOptionLabel(option) })
14
+ ] });
15
+ }
16
+ function RHFRadioGroup({
17
+ name,
18
+ options,
19
+ getOptionLabel,
20
+ getOptionValue,
21
+ getOptionIconUrl,
22
+ renderOptionLabel = OptionIconLabelFormatter,
23
+ ControlLabel = Radio,
24
+ ...other
25
+ }) {
26
+ const { control } = useFormContext();
27
+ return /* @__PURE__ */ jsx(
28
+ Controller,
29
+ {
30
+ name,
31
+ control,
32
+ render: ({ field, fieldState: { error } }) => /* @__PURE__ */ jsxs("div", { children: [
33
+ /* @__PURE__ */ jsx(RadioGroup, { ...field, row: true, ...other, children: options.map((option) => {
34
+ return /* @__PURE__ */ jsx(
35
+ FormControlLabel,
36
+ {
37
+ defaultValue: field.value,
38
+ value: getOptionValue(option),
39
+ control: /* @__PURE__ */ jsx(ControlLabel, { ...option }),
40
+ label: renderOptionLabel(option, getOptionLabel, getOptionIconUrl)
41
+ },
42
+ getOptionValue(option)
43
+ );
44
+ }) }),
45
+ !!error && /* @__PURE__ */ jsx(FormHelperText, { error: true, sx: { px: 2 }, children: error.message })
46
+ ] })
47
+ }
48
+ );
49
+ }
50
+ export {
51
+ RHFRadioGroup as R
52
+ };
@@ -1,8 +1,14 @@
1
1
  import { RadioProps } from '@mui/material';
2
- export interface RHFRadioGroupProps<TOption extends RadioProps> {
2
+ import { ReactNode } from 'react';
3
+ export declare type GetOptionStringType<T> = (option: T) => string;
4
+ export declare type RenderOptionLabelType<T> = (option: T, getOptionLabel: GetOptionStringType<T>, getOptionIconUrl: GetOptionStringType<T>) => ReactNode;
5
+ export interface RHFRadioGroupProps<T extends RadioProps> {
3
6
  name: string;
4
7
  defaultValue?: string;
5
- options: TOption[];
6
- getOptionLabel: (option: TOption) => string;
7
- getOptionValue: (option: TOption) => string;
8
+ ControlLabel?: (props: RadioProps) => React.ReactElement<any, any>;
9
+ options: T[];
10
+ getOptionLabel: GetOptionStringType<T>;
11
+ getOptionValue: GetOptionStringType<T>;
12
+ getOptionIconUrl: GetOptionStringType<T>;
13
+ renderOptionLabel: RenderOptionLabelType<T>;
8
14
  }
@@ -2,16 +2,16 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton, useEnvironment } from "@m4l/core";
3
3
  import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
4
4
  import { forwardRef, useState, useEffect } from "react";
5
- import { I as IconButton } from "../../mui_extended/IconButton/index.97e91dae.js";
5
+ import { I as IconButton } from "../../mui_extended/IconButton/index.9425bdc5.js";
6
6
  import { useFormContext, Controller } from "react-hook-form";
7
- import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.7868464e.js";
7
+ import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.239f949e.js";
8
8
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
9
9
  import { unstable_composeClasses } from "@mui/base";
10
- import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
11
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
10
+ import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
11
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
12
12
  import { useResponsiveDesktop } from "@m4l/graphics";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.a6235bcc.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
15
15
  const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
16
16
  const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
17
17
  const RHFTEXTFIELD_PREFIX = "RHFTextField";
@@ -3,15 +3,15 @@ import { useCallback } from "react";
3
3
  import { useFormContext, Controller } from "react-hook-form";
4
4
  import isString from "lodash/isString";
5
5
  import { useDropzone } from "react-dropzone";
6
- import { I as Image } from "../../Image/index.8a3d05d3.js";
6
+ import { I as Image } from "../../Image/index.4b51d4ba.js";
7
7
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
8
- import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.7868464e.js";
8
+ import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.239f949e.js";
9
9
  import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
10
10
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
11
11
  import { unstable_composeClasses } from "@mui/base";
12
- import { T as Typography } from "../../mui_extended/Typography/index.8a0f958b.js";
13
- import { B as Button } from "../../mui_extended/Button/index.a391ee9f.js";
14
- import { H as HelperText } from "../../HelperText/index.b1961313.js";
12
+ import { T as Typography } from "../../mui_extended/Typography/index.45e97bdd.js";
13
+ import { B as Button } from "../../mui_extended/Button/index.111f830e.js";
14
+ import { H as HelperText } from "../../HelperText/index.5c72277a.js";
15
15
  const ICON_PREFIX = "M4LRHFUploadImage";
16
16
  const getNameRHFUploadImageDataTestId = (KEY) => {
17
17
  return `${ICON_PREFIX}-${KEY}`;
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
5
5
  import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
6
6
  import "@geoman-io/leaflet-geoman-free";
7
7
  import clsx from "clsx";
8
- import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.7868464e.js";
9
- import { D as DynamicFilter } from "../../../DynamicFilter/index.e737845f.js";
10
- import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.4b65c281.js";
8
+ import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.239f949e.js";
9
+ import { D as DynamicFilter } from "../../../DynamicFilter/index.08abfc2c.js";
10
+ import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.6698b419.js";
11
11
  import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
12
12
  import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
13
13
  import { useFormContext, useWatch, useFormState } from "react-hook-form";
14
- import { H as HelperError } from "../../../hook-form/HelperError/index.a0faefe4.js";
15
- import { u as useModal } from "../../../../hooks/useModal/index.538e8219.js";
16
- import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.6591c56e.js";
14
+ import { H as HelperError } from "../../../hook-form/HelperError/index.9f93c627.js";
15
+ import { u as useModal } from "../../../../hooks/useModal/index.3ad1e014.js";
16
+ import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.776c62e7.js";
17
17
  import { createStore, useStore } from "zustand";
18
18
  import { devtools } from "zustand/middleware";
19
19
  import { immer } from "zustand/middleware/immer";
20
20
  import { enableMapSet } from "immer";
21
- import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.3187e7a7.js";
22
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.141e19a9.js";
23
- import { A as Actions } from "../../../CommonActions/components/Actions/index.84b8fd47.js";
24
- import { B as Button } from "../../../mui_extended/Button/index.a391ee9f.js";
21
+ import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.415de2bb.js";
22
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.60955735.js";
23
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.2342a37e.js";
24
+ import { B as Button } from "../../../mui_extended/Button/index.111f830e.js";
25
25
  import { useMap } from "react-leaflet";
26
26
  import * as L from "leaflet";
27
27
  import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
28
- import { u as useTab } from "../../../../hooks/useTab/index.bc8d38fc.js";
28
+ import { u as useTab } from "../../../../hooks/useTab/index.4081b113.js";
29
29
  import { generateUtilityClasses } from "@mui/material";
30
30
  import "@mui/base";
31
- import { P as PaperForm } from "../../../PaperForm/index.f1467e34.js";
32
- import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.dab5e2d6.js";
33
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.06342648.js";
34
- import { S as Stack } from "../../../mui_extended/Stack/index.e64a379b.js";
35
- import { I as IconButton } from "../../../mui_extended/IconButton/index.97e91dae.js";
36
- import { P as PropertyValue } from "../../../PropertyValue/index.f85c4118.js";
37
- import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.3a8f36b1.js";
38
- import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.f31eb904.js";
39
- import { I as Icon } from "../../../Icon/index.e06c693f.js";
31
+ import { P as PaperForm } from "../../../PaperForm/index.8289409f.js";
32
+ import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.b8347185.js";
33
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.828b30f5.js";
34
+ import { S as Stack } from "../../../mui_extended/Stack/index.3674daf7.js";
35
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.9425bdc5.js";
36
+ import { P as PropertyValue } from "../../../PropertyValue/index.36555931.js";
37
+ import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.c259b8ac.js";
38
+ import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.a94a92c1.js";
39
+ import { I as Icon } from "../../../Icon/index.13aaae3c.js";
40
40
  import * as Yup from "yup";
41
- import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.dfb5570d.js";
42
- import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.c50fc538.js";
43
- import { D as DataGrid } from "../../../DataGrid/index.9aa088f6.js";
41
+ import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.b6a3cf63.js";
42
+ import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.c568e68d.js";
43
+ import { D as DataGrid } from "../../../DataGrid/index.b1cac6af.js";
44
44
  const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
45
45
  const COMPONENT_MAP_TOOLS_ID = "gps_tools";
46
46
  const STYLE_OPACITIES = [
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ControlProps } from './types';
3
3
  /**
4
- * @description crea un componente react dentro de un control de leaflet, utilizando una tecnica e portaa diferente a createPortal
4
+ * @description crea un componente react dentro de un control de leaflet, utilizando una tecnica e portal diferente a createPortal
5
5
  * Dependiendo de la posicion del control, este se agrega en la parte correspondiente del mapa, por defecto es topright
6
6
  *
7
7
  * @param props