@m4l/components 2.0.7 → 3.0.0

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 (165) hide show
  1. package/@types/export.d.ts +266 -269
  2. package/@types/types.d.ts +47 -37
  3. package/components/AccountPopover/{index.a5747746.js → index.af5aae0e.js} +3 -3
  4. package/components/AppBar/{index.2d458607.js → index.b8f22046.js} +4 -4
  5. package/components/BaseModule/{index.3f266927.js → index.f7a04fe7.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index.c1185f46.js → index.e67885bc.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index.7f76a6ba.js → index.92988013.js} +4 -4
  8. package/components/CommonActions/components/ActionFormIntro/{index.8a23ec62.js → index.f8867ae9.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index.185199da.js → index.e58eb0c4.js} +2 -2
  10. package/components/CommonActions/components/Actions/{index.ea4c273b.js → index.f674be30.js} +2 -2
  11. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0739f098.js → index.89a59c52.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.d524f74c.js → index.d619d1db.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.addc6664.js → index.557bc8a5.js} +1 -1
  15. package/components/DataGrid/formatters/{index.ee269cae.js → index.06c18753.js} +2 -2
  16. package/components/DataGrid/{index.1feaab04.js → index.b37d6cab.js} +4 -4
  17. package/components/DataGrid/subcomponents/Actions/{index.06306495.js → index.c3b1c1e2.js} +11 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
  19. package/components/DragResizeWindow/{index.44fad985.js → index.a4bcaab8.js} +2 -2
  20. package/components/DynamicFilter/{dictionary.a55d5bc2.js → dictionary.94a74eb3.js} +2 -2
  21. package/components/DynamicFilter/{index.2033e755.js → index.b07b567a.js} +4 -4
  22. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
  23. package/components/DynamicFilter/slots/{dynamicFilterSlots.3ef5ec21.js → dynamicFilterSlots.dd5824d5.js} +6 -6
  24. package/components/DynamicFilter/store/{index.3cc06678.js → index.49d1b77f.js} +1 -1
  25. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.db29f2ff.js → index.9e8fcc8c.js} +3 -3
  26. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2de720bc.js → index.3e52c5d7.js} +4 -4
  27. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.7a9d4d33.js → index.68d855e9.js} +6 -6
  28. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.a4269ba3.js → index.11f588b4.js} +2 -2
  29. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.ebb6606c.js → index.77555163.js} +4 -4
  30. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.cd343ba0.js → index.1c8454db.js} +3 -3
  31. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.b5c31620.js → index.cb31333a.js} +4 -4
  32. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4c42f140.js → index.0ae3d439.js} +3 -3
  33. package/components/DynamicFilter/subcomponents/FieldTypes/{index.3e15fc1c.js → index.5a0c7b12.js} +5 -5
  34. package/components/DynamicFilter/subcomponents/FilterActions/{index.0d687448.js → index.50c175e7.js} +3 -3
  35. package/components/DynamicFilter/subcomponents/InputFilter/{index.4c5bb297.js → index.82d4ac5a.js} +4 -4
  36. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.6c8c52ae.js → index.fa62a6c3.js} +6 -6
  37. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.9cf2bc44.js → index.e5e439f1.js} +2 -2
  38. package/components/DynamicFilter/types.d.ts +1 -1
  39. package/components/FieldLabel/{index.972f989e.js → index.9a979def.js} +4 -4
  40. package/components/GridLayout/{index.2b9bc85c.js → index.dd291886.js} +2 -2
  41. package/components/GridLayout/subcomponents/Griditem/{index.684c3f3c.js → index.10278655.js} +3 -3
  42. package/components/GridLayout/subcomponents/Responsive/{index.dc0a1ce0.js → index.24857a52.js} +1 -1
  43. package/components/GridLayout/subcomponents/SizeProvider/{index.15d0ca85.js → index.2f762118.js} +1 -1
  44. package/components/HelperText/{index.2f4c6655.js → index.6818980e.js} +2 -2
  45. package/components/Icon/{index.0f315ccd.js → index.c06685f4.js} +3 -3
  46. package/components/Image/{index.32b58ce4.js → index.ae542f70.js} +2 -2
  47. package/components/LanguagePopover/{index.6ac2473a.js → index.2a7e40fc.js} +4 -4
  48. package/components/LinearProgressIndeterminate/{index.6d1605ff.js → index.ca78fd37.js} +2 -2
  49. package/components/LoadingError/{index.c5a70390.js → index.765ff885.js} +6 -6
  50. package/components/MFIsolationApp/constants.d.ts +1 -0
  51. package/components/MFIsolationApp/{index.56a12cde.js → index.677d9e93.js} +46 -44
  52. package/components/MFLoader/{index.cc350d72.js → index.6af7729c.js} +2 -2
  53. package/components/ModalDialog/{index.580a88dc.js → index.a57ee020.js} +4 -4
  54. package/components/NavLink/{index.c6fd316b.js → index.dd723dfd.js} +2 -2
  55. package/components/NoItemSelected/{index.7274cdb1.js → index.b3e365b1.js} +1 -1
  56. package/components/ObjectLogs/{index.1b51e5f2.js → index.54fdee14.js} +9 -9
  57. package/components/PDFViewer/{index.eed9494a.js → index.7932d07b.js} +2 -2
  58. package/components/Page/{index.f6884847.js → index.5f2963f3.js} +1 -1
  59. package/components/PaperForm/{index.86c1f1d6.js → index.cdb1f846.js} +2 -2
  60. package/components/Period/{index.5757802b.js → index.b0b2a03b.js} +4 -4
  61. package/components/PrintingSystem/{index.47e0ce83.js → index.800a7957.js} +14 -14
  62. package/components/PrintingSystem/subcomponents/BodyNode/{index.d58660a8.js → index.60ad80bd.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/ChartNode/{index.8e010873.js → index.d4aa116e.js} +1 -1
  64. package/components/PrintingSystem/subcomponents/DividerNode/{index.13330f51.js → index.142bbf1a.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/FooterNode/{index.05da3e1d.js → index.d16d2c5e.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/GridNode/{index.d68b5460.js → index.044363bf.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/HeaderNode/{index.0ed11227.js → index.5581a84d.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/PaperNode/{index.0a0227e4.js → index.2994c128.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.18931b6e.js → index.166d7264.js} +1 -1
  70. package/components/PrintingSystem/subcomponents/SectionNode/{index.e80cce87.js → index.642ab1b7.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7fc92f43.js → index.d8a2a0af.js} +1 -1
  72. package/components/PropertyValue/{index.ee9cf342.js → index.d81eae0a.js} +3 -3
  73. package/components/Resizeable/{index.0ffd46bc.js → index.df2f3bb8.js} +1 -1
  74. package/components/ScrollBar/{index.45b8db89.js → index.11feff65.js} +1 -1
  75. package/components/SideBar/{index.50868466.js → index.990e8667.js} +6 -6
  76. package/components/SplitLayout/{index.c2b8dcb8.js → index.b247de95.js} +1 -1
  77. package/components/ToastContainer/ToastContainer.d.ts +1 -1
  78. package/components/ToastContainer/constants.d.ts +3 -0
  79. package/components/ToastContainer/helpers/toaster.d.ts +4 -0
  80. package/components/ToastContainer/icons.d.ts +9 -0
  81. package/components/ToastContainer/index.c1657bde.js +191 -0
  82. package/components/ToastContainer/index.d.ts +1 -0
  83. package/components/ToastContainer/slots/ToastContainerEnum.d.ts +13 -0
  84. package/components/ToastContainer/slots/index.d.ts +2 -0
  85. package/components/ToastContainer/slots/toastContainerSlots.d.ts +34 -0
  86. package/components/ToastContainer/subcomponents/ToastMessage/ToastMessage.d.ts +2 -0
  87. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +1 -2
  88. package/components/ToastContainer/types.d.ts +39 -3
  89. package/components/animate/LoadingScreen/{index.31af02f8.js → index.36a63311.js} +1 -1
  90. package/components/animate/{index.160607f3.js → index.ceb7669a.js} +1 -1
  91. package/components/areas/components/AreasAdmin/{index.cb60f940.js → index.b232384d.js} +16 -16
  92. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  93. package/components/areas/components/AreasViewer/classes/types.d.ts +0 -8
  94. package/components/areas/components/AreasViewer/{index.350ee032.js → index.d45bfcd2.js} +19 -97
  95. package/components/areas/contexts/AreasContext/helper.d.ts +2 -5
  96. package/components/areas/contexts/AreasContext/{index.1a5c5df1.js → index.9edd84c3.js} +5 -119
  97. package/components/areas/contexts/AreasContext/types.d.ts +1 -4
  98. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
  99. package/components/areas/hooks/useAreas/{index.ba948f80.js → index.5a57ab76.js} +1 -1
  100. package/components/areas/{icons.8266ccc8.js → icons.01fa3bcc.js} +0 -2
  101. package/components/areas/icons.d.ts +0 -2
  102. package/components/areas/index.d.ts +1 -1
  103. package/components/areas/types.d.ts +0 -40
  104. package/components/commercial/AppBarCommercial/{index.cdc42f41.js → index.b4f6147e.js} +2 -2
  105. package/components/commercial/SectionCommercial/{index.a9265d42.js → index.a250338c.js} +2 -2
  106. package/components/commercial/TopBar/{index.06c1e138.js → index.4fdd66e5.js} +6 -6
  107. package/components/commercial/{index.163293c3.js → index.be1af158.js} +3 -3
  108. package/components/formatters/BooleanFormatter/{index.b224ae9b.js → index.91435984.js} +2 -2
  109. package/components/formatters/{index.373a6ce1.js → index.64017cc1.js} +2 -2
  110. package/components/hook-form/HelperError/{index.399e7338.js → index.360f8fb7.js} +1 -1
  111. package/components/hook-form/RHFAutocomplete/{index.0d32fed5.js → index.089af1b8.js} +6 -6
  112. package/components/hook-form/RHFAutocompleteAsync/{index.2622450c.js → index.f05b6fe3.js} +2 -2
  113. package/components/hook-form/RHFCheckbox/{index.3229f16c.js → index.4cefbad2.js} +3 -3
  114. package/components/hook-form/RHFColorPicker/{index.86525787.js → index.ed380b30.js} +6 -6
  115. package/components/hook-form/RHFDateTime/{index.572079c5.js → index.118ebe6d.js} +4 -4
  116. package/components/hook-form/RHFPeriod/{index.1883d9f6.js → index.404ba4c6.js} +4 -4
  117. package/components/hook-form/RHFRadioGroup/{index.9eea0df1.js → index.591f779d.js} +1 -1
  118. package/components/hook-form/RHFTextField/{index.5b124af3.js → index.80b98b98.js} +5 -5
  119. package/components/hook-form/RHFUpload/{index.cf63abf0.js → index.7b7ee732.js} +5 -5
  120. package/components/maps/components/GpsTools/{index.7628172f.js → index.c1198f79.js} +24 -24
  121. package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
  122. package/components/maps/components/Map/{index.df953487.js → index.8c947175.js} +13 -13
  123. package/components/maps/leaflet-geoman.d.ts +1476 -1476
  124. package/components/modal/{WindowBase.cb284225.js → WindowBase.00b9e5f1.js} +3 -3
  125. package/components/modal/{WindowConfirm.193cc75e.js → WindowConfirm.abf49573.js} +6 -6
  126. package/components/mui_extended/Accordion/{index.49007a43.js → index.26524ecd.js} +4 -4
  127. package/components/mui_extended/Avatar/{index.a2e1ca6d.js → index.e7bcc850.js} +1 -1
  128. package/components/mui_extended/Badge/{index.188ffbb4.js → index.48948839.js} +1 -1
  129. package/components/mui_extended/Button/{index.ca15c36e.js → index.3d14e3e9.js} +3 -3
  130. package/components/mui_extended/{CheckBox.983e10e6.js → CheckBox.5dc01b37.js} +2 -2
  131. package/components/mui_extended/IconButton/{index.caf17392.js → index.7b6c1ee3.js} +2 -2
  132. package/components/mui_extended/MenuActions/{index.c24bd476.js → index.11d777bb.js} +5 -5
  133. package/components/mui_extended/Pager/{index.f27033fc.js → index.b28a2103.js} +4 -4
  134. package/components/mui_extended/Popover/{index.1fafd106.js → index.a7da93f1.js} +1 -1
  135. package/components/mui_extended/Stack/{index.b8c3b40b.js → index.99de8138.js} +1 -1
  136. package/components/mui_extended/Tab/{index.c2dca6dd.js → index.5c6a6801.js} +1 -1
  137. package/components/mui_extended/ToggleButton/{index.4b6f9c8e.js → index.86098567.js} +1 -1
  138. package/components/mui_extended/ToggleIconButton/{index.0513d9e6.js → index.cbfe1cad.js} +1 -1
  139. package/components/mui_extended/Typography/{index.61dd3fc6.js → index.8c0801e4.js} +1 -1
  140. package/components/popups/PopupsViewer/{index.c6a0c277.js → index.52653047.js} +4 -4
  141. package/components/popups/PopupsViewer/slots/{popupsViewerSlots.0b92fc90.js → popupsViewerSlots.69dd2614.js} +2 -2
  142. package/contexts/ModalContext/{index.50cc9ba8.js → index.799110fe.js} +1 -1
  143. package/contexts/RHFormContext/{index.acc30d9b.js → index.f9d41b99.js} +1 -1
  144. package/hooks/useFormAddEdit/{index.daf5d0c8.js → index.8947ee59.js} +2 -2
  145. package/hooks/useModal/{index.6f5c238d.js → index.eb857f6e.js} +1 -1
  146. package/hooks/useTab/{index.8c6646a4.js → index.9ad15247.js} +1 -1
  147. package/index.js +158 -156
  148. package/package.json +2 -2
  149. package/{react-draggable.df62ccbd.js → react-draggable.079122b0.js} +1 -1
  150. package/{react-resizable.c746880c.js → react-resizable.330f1499.js} +2 -2
  151. package/styles/{DynamicFilter.f317726e.js → DynamicFilter.0713a406.js} +1 -1
  152. package/styles/ToastContainer.styles.d.ts +2 -0
  153. package/styles/{index.ccd8acc4.js → index.db9e7ddb.js} +201 -43
  154. package/test/getNameDataTestId.d.ts +1 -1
  155. package/utils/index.d.ts +1 -1
  156. package/vite-env.d.ts +4 -4
  157. package/components/ToastContainer/classes/constants.d.ts +0 -1
  158. package/components/ToastContainer/classes/index.d.ts +0 -8
  159. package/components/ToastContainer/classes/types.d.ts +0 -9
  160. package/components/ToastContainer/index.ed566312.js +0 -69
  161. package/components/ToastContainer/styles.d.ts +0 -2
  162. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +0 -5
  163. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/index.d.ts +0 -5
  164. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/subcomponents/Toasty/index.d.ts +0 -6
  165. /package/utils/{index.ebfbb70f.js → index.f77cc2ab.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { WritableDraft } from 'immer/dist/internal';
2
2
  import type { Area, AreasStateWithActions } from './types';
3
- import type { WindowState, WindowStateProps } from '../../types';
3
+ import type { WindowState } from '../../types';
4
4
  export declare const PADDING_GRIDLAYOUT = 11;
5
5
  export declare const MARGIN_GRIDLAYOUT = 11;
6
6
  export declare const DEBOUCED_SAVE_TIME = 500;
@@ -43,7 +43,7 @@ export declare const RESPONSIVE_ROW_HEIGHTS: {
43
43
  lg: number;
44
44
  };
45
45
  import { Layouts } from '../../../GridLayout/types';
46
- export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading' | 'toasties' | 'toastyCount' | 'hashToasties'>;
46
+ export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading'>;
47
47
  export declare const DEFAULT_AREA: Omit<Area, 'id' | 'name' | 'viewMode'>;
48
48
  /**
49
49
  * @description Función de apoyo que crea un área de trabajo,
@@ -63,11 +63,8 @@ export declare const getCurrentArea: (state: WritableDraft<AreasStateWithActions
63
63
  export declare const getParmsFromValue: (key: string, data: []) => any;
64
64
  export declare function setColapsedLayoutBreakPoints(state: WritableDraft<Area>, layoutId: string, colapsed: boolean): void;
65
65
  export declare function deleteLayoutFromBreakPoints(state: WritableDraft<Area>, layoutId?: string): void;
66
- export declare function purgeToastsWindow(state: WritableDraft<AreasStateWithActions>, windowId: string): void;
67
- export declare function purgeToastsArea(state: WritableDraft<AreasStateWithActions>, areaId: string): void;
68
66
  export declare function getDataFromResponse(data: any, state: WritableDraft<AreasStateWithActions>, areaId: string): {
69
67
  newBreakPointsLayouts: Layouts;
70
68
  newHashLayoutItems: string[];
71
69
  };
72
70
  export declare function getCookiesContainer(data: any, containerId: string): Record<string, any>;
73
- export declare const verifyRemoveToasty: (state: WritableDraft<WindowStateProps>, toastyId: number, forceRemove?: boolean | undefined) => void;
@@ -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.350ee032.js";
10
- import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.cb60f940.js";
9
+ import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.d45bfcd2.js";
10
+ import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.b232384d.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.dc0a1ce0.js";
13
+ import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.24857a52.js";
14
14
  import { debounce, cloneDeep } from "lodash";
15
- import { A as isEqualLayouts } from "../../../GridLayout/index.2b9bc85c.js";
15
+ import { A as isEqualLayouts } from "../../../GridLayout/index.dd291886.js";
16
16
  const PADDING_GRIDLAYOUT = 11;
17
17
  const MARGIN_GRIDLAYOUT = 11;
18
18
  const DEBOUCED_SAVE_TIME = 500;
@@ -27,10 +27,7 @@ const DEFAULT_WINDOW = {
27
27
  status: "init",
28
28
  moduleActions: [],
29
29
  cookies: { moduleCookies: {}, windowCookies: {} },
30
- loading: false,
31
- toasties: [],
32
- hashToasties: {},
33
- toastyCount: 0
30
+ loading: false
34
31
  };
35
32
  const DEFAULT_AREA = {
36
33
  status: "init",
@@ -126,24 +123,6 @@ function deleteLayoutFromBreakPoints(state, layoutId) {
126
123
  }
127
124
  }
128
125
  }
129
- function purgeToastsWindow(state, windowId) {
130
- const toasties = state?.hashWindows[windowId]?.toasties;
131
- if (toasties) {
132
- for (let index = 0; index < toasties.length; index++) {
133
- const toast = toasties[index];
134
- if (toast.timer) {
135
- clearInterval(toast.timer);
136
- toast.timer = void 0;
137
- }
138
- }
139
- }
140
- }
141
- function purgeToastsArea(state, areaId) {
142
- const area = state.hashAreas[areaId];
143
- for (let index = 0; index < area.layoutItemsIds.length; index++) {
144
- purgeToastsWindow(state, area.layoutItemsIds[index]);
145
- }
146
- }
147
126
  function getDataFromResponse(data, state, areaId) {
148
127
  let newBreakPointsLayouts = getParmsFromValue(COOKIE_BREAKPOINT_LAYOUTS, data);
149
128
  const windows = getParmsFromValue(COOKIE_WINDOWS, data);
@@ -218,26 +197,6 @@ function getCookiesContainer(data, containerId) {
218
197
  }
219
198
  return cookies;
220
199
  }
221
- const verifyRemoveToasty = (state, toastyId, forceRemove) => {
222
- const tfy = state.hashToasties[toastyId];
223
- if (tfy) {
224
- tfy.percentExecuted = (1 - (tfy.timeStart + tfy.timeoutMs - new Date().getTime()) / tfy.timeoutMs) * 100;
225
- if (tfy.percentExecuted >= 100 || forceRemove) {
226
- const tosties = state.toasties;
227
- for (let i = 0; i < tosties.length; i++) {
228
- const findToasty = tosties[i];
229
- if (findToasty.id === toastyId) {
230
- if (findToasty.timer) {
231
- clearInterval(findToasty.timer);
232
- }
233
- state.toasties.splice(i, 1);
234
- delete state.hashToasties[toastyId];
235
- return;
236
- }
237
- }
238
- }
239
- }
240
- };
241
200
  const createAreasStore = (initProps) => {
242
201
  const startProps = {
243
202
  viwerClasses: useAreasViewerUtilityClasses(initProps.ownerState),
@@ -334,7 +293,6 @@ const createAreasStore = (initProps) => {
334
293
  if (!ha || state.areasIds.length < 2) {
335
294
  return;
336
295
  }
337
- purgeToastsArea(state, areaId);
338
296
  const removeIndex = state.areasIds.indexOf(areaId);
339
297
  if (removeIndex > -1) {
340
298
  for (const key in state.hashWindows) {
@@ -483,7 +441,6 @@ const createAreasStore = (initProps) => {
483
441
  area.layoutItemsIds.splice(removeIndex, 1);
484
442
  }
485
443
  deleteLayoutFromBreakPoints(area, removeLayoutId);
486
- purgeToastsWindow(state, removeLayoutId);
487
444
  delete state.hashWindows[removeLayoutId];
488
445
  });
489
446
  get().areaActions.saveLayouts(areaId);
@@ -553,7 +510,6 @@ const createAreasStore = (initProps) => {
553
510
  if (removeIndex > -1) {
554
511
  state.windowsModals.splice(removeIndex, 1);
555
512
  }
556
- purgeToastsWindow(state, removeModalId);
557
513
  delete state.hashWindows[removeModalId];
558
514
  delete state.hashWindowsModals[removeModalId];
559
515
  });
@@ -889,80 +845,10 @@ const createAreasStore = (initProps) => {
889
845
  });
890
846
  }
891
847
  },
892
- toast: (windowId, options) => {
893
- const hW = get().hashWindows[windowId];
894
- if (hW) {
895
- if (options.replaceMeId) {
896
- for (const key in hW.hashToasties) {
897
- const t = hW.hashToasties[key];
898
- if (options.replaceMeId === t.replaceMeId) {
899
- const toastyId = t.id;
900
- if (t.timer) {
901
- clearTimeout(t.timer);
902
- }
903
- set((state2) => {
904
- const hw2 = state2.hashWindows[windowId].hashToasties[toastyId];
905
- hw2.timeStart = new Date().getTime();
906
- hw2.percentExecuted = 0;
907
- hw2.timer = setInterval(() => {
908
- set((state3) => {
909
- verifyRemoveToasty(state3.hashWindows[windowId], toastyId);
910
- });
911
- }, 1e3);
912
- });
913
- return;
914
- }
915
- }
916
- }
917
- set((state) => {
918
- const timeoutMs = options.timeoutMs || 1e4;
919
- state.hashWindows[windowId].toastyCount++;
920
- const toastyId = state.hashWindows[windowId].toastyCount;
921
- const newToasty = {
922
- id: state.hashWindows[windowId].toastyCount,
923
- ...options,
924
- timeoutMs,
925
- timeStart: new Date().getTime(),
926
- percentExecuted: 0,
927
- timer: setInterval(() => {
928
- set((stateRemoveToasty) => {
929
- verifyRemoveToasty(stateRemoveToasty.hashWindows[windowId], toastyId);
930
- });
931
- }, 1e3)
932
- };
933
- state.hashWindows[windowId].hashToasties[toastyId] = newToasty;
934
- state.hashWindows[windowId].toasties.push(newToasty);
935
- });
936
- }
937
- },
938
- closeToast: (windowId, toastyId) => {
939
- set((state) => {
940
- verifyRemoveToasty(state.hashWindows[windowId], toastyId, true);
941
- });
942
- },
943
848
  setFnQueryClose: (windowId, fnQueryClose) => {
944
849
  set((state) => {
945
850
  state.hashWindows[windowId].fnQueryClose = fnQueryClose;
946
851
  });
947
- },
948
- pinToast: (windowId, toastyId) => {
949
- set((state) => {
950
- const t = state.hashWindows[windowId].hashToasties[toastyId];
951
- if (t) {
952
- if (t.timer) {
953
- clearInterval(t.timer);
954
- t.timer = void 0;
955
- } else {
956
- t.timeStart = new Date().getTime();
957
- t.percentExecuted = 0;
958
- t.timer = setInterval(() => {
959
- set((state2) => {
960
- verifyRemoveToasty(state2.hashWindows[windowId], toastyId);
961
- });
962
- }, 1e3);
963
- }
964
- }
965
- });
966
852
  }
967
853
  },
968
854
  areaAdminActions: {
@@ -1,6 +1,6 @@
1
1
  import { GetLabelType, NetworkProps } from '@m4l/core';
2
2
  import { ReactNode } from 'react';
3
- import { CookieType, HashWindowsByModals, ModalStateProps, AreaWindowAction, NewModalProps, NewLayoutMoveableProps, NewWindowProps, ToastyOptions, WinType, WindowStateProps, NewLayoutMagnetizableProps } from '../../types';
3
+ import { CookieType, HashWindowsByModals, ModalStateProps, AreaWindowAction, NewModalProps, NewLayoutMoveableProps, NewWindowProps, WinType, WindowStateProps, NewLayoutMagnetizableProps } from '../../types';
4
4
  import { ViwerClasses } from '../../components/AreasViewer/classes';
5
5
  import { AdminClasses } from '../../components/AreasAdmin/classes';
6
6
  import { DebouncedFunc } from 'lodash';
@@ -204,9 +204,6 @@ export interface AreasStateWithActions extends AreasState {
204
204
  loadCookiesFromApi: (windowId: string) => void;
205
205
  saveModuleCookies: (windowId: string) => void;
206
206
  resetModuleCookies: (windowId: string) => void;
207
- toast: (windowId: string, options: ToastyOptions) => void;
208
- closeToast: (windowId: string, toastyId: number) => void;
209
- pinToast: (windowId: string, toastyId: number) => void;
210
207
  setFnQueryClose: (windowId: string, fnQueryClose: () => void) => void;
211
208
  };
212
209
  areaAdminActions: {
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import type { CookieType, AreaWindowAction, ToastyOptions } from '../../types';
2
+ import { Toaster } from '@m4l/core';
3
+ import type { CookieType, AreaWindowAction } from '../../types';
3
4
  /**
4
5
  * Interfaz que define un conjunto de herramientas relacionadas con la ventana que pueden ser proporcionadas por el contexto WindowToolsMF.
5
6
  */
@@ -46,7 +47,7 @@ export interface WindowToolsMF {
46
47
  * Método para mostrar una notificación toast.
47
48
  * @param options Las opciones de configuración para la notificación toast.
48
49
  */
49
- toast: (options: ToastyOptions) => void;
50
+ toast: Toaster;
50
51
  /**
51
52
  * Método para cerrar la ventana actual.
52
53
  */
@@ -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.1a5c5df1.js";
3
+ import { b as AreasContext } from "../../contexts/AreasContext/index.9edd84c3.js";
4
4
  function useAreasStore(selector, equalityFn) {
5
5
  const context = useContext(AreasContext);
6
6
  if (!context)
@@ -16,8 +16,6 @@ const ICONS = {
16
16
  VERSION: "version.svg",
17
17
  SHOW_OPTIONS: "showMoreVertical.svg",
18
18
  CHEVRON_DOWN: "chevronDown.svg",
19
- TOASTY_CLOSE: "close.svg",
20
- TOASTY_PIN: "pin.svg",
21
19
  MODULE: "module.svg",
22
20
  POPUP: "popup.svg"
23
21
  };
@@ -16,8 +16,6 @@ export declare const ICONS: {
16
16
  VERSION: string;
17
17
  SHOW_OPTIONS: string;
18
18
  CHEVRON_DOWN: string;
19
- TOASTY_CLOSE: string;
20
- TOASTY_PIN: string;
21
19
  MODULE: string;
22
20
  POPUP: string;
23
21
  };
@@ -1,5 +1,5 @@
1
1
  export * from './components';
2
2
  export * from './contexts';
3
3
  export * from './hooks';
4
- export type { ToastyOptions, CookieType } from './types';
4
+ export type { CookieType } from './types';
5
5
  export * from './dictionary';
@@ -67,36 +67,6 @@ export declare type Cookies = {
67
67
  * Tipo que representa el estado de la ventana: inicialización, carga, cargado o error.
68
68
  */
69
69
  export declare type WindowStatus = 'init' | 'loading' | 'loaded' | 'error';
70
- /**
71
- * Tipo que representa el tipo de tostada: éxito, información, advertencia o error.
72
- */
73
- export declare type ToastyType = 'success' | 'info' | 'warning' | 'error';
74
- /**
75
- * Objeto que representa una tostada.
76
- */
77
- export declare type Toasty = {
78
- /** Identificador único de la tostada. */
79
- id: number;
80
- /** Duración en milisegundos antes de que la tostada desaparezca. */
81
- timeoutMs: number;
82
- /** Mensaje que se muestra en la tostada. */
83
- type: ToastyType;
84
- /** Momento en que se inició la tostada en milisegundos desde la época. */
85
- message: string;
86
- /** Porcentaje de ejecución de la tostada. */
87
- timeStart: number;
88
- /** Temporizador utilizado para controlar el tiempo de vida de la tostada. */
89
- percentExecuted: number;
90
- /** Identificador de la tostada que debe ser reemplazada. */
91
- timer?: ReturnType<typeof setInterval>;
92
- replaceMeId?: string;
93
- };
94
- /**
95
- * Opciones para configurar una tostada.
96
- */
97
- export interface ToastyOptions extends Pick<Toasty, 'message' | 'type' | 'replaceMeId'> {
98
- timeoutMs?: number;
99
- }
100
70
  export declare type WindowState = {
101
71
  /**
102
72
  * status Indica el proceso de cargado de la ventana
@@ -113,16 +83,6 @@ export declare type WindowState = {
113
83
  */
114
84
  moduleActions: AreaWindowAction[];
115
85
  cookies: Cookies;
116
- /**
117
- * Lista de tostadas.
118
- */
119
- toasties: Toasty[];
120
- /**
121
- * Hash que mapea el identificador de la tostada con su respectiva información.
122
-
123
- */
124
- hashToasties: Record<number, Toasty>;
125
- toastyCount: number;
126
86
  /**
127
87
  * "fnQueryClose" función que reemplaza la opción de cerrado normal de la ventana
128
88
  * @returns void
@@ -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.ebfbb70f.js";
5
- import { ab as AppBarComercialRoot } from "../../../styles/index.ccd8acc4.js";
4
+ import { g as getComponentUtilityClass } from "../../../utils/index.f77cc2ab.js";
5
+ import { ab as AppBarComercialRoot } from "../../../styles/index.db9e7ddb.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.ebfbb70f.js";
5
- import { ac as SectionCommercialRoot } from "../../../styles/index.ccd8acc4.js";
4
+ import { g as getComponentUtilityClass } from "../../../utils/index.f77cc2ab.js";
5
+ import { ac as SectionCommercialRoot } from "../../../styles/index.db9e7ddb.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.ebfbb70f.js";
5
+ import { g as getComponentUtilityClass } from "../../../utils/index.f77cc2ab.js";
6
6
  import { createContext, useContext, useState } from "react";
7
7
  import { useEnvironment } from "@m4l/core";
8
- import { ad as ArrowIconRoot } from "../../../styles/index.ccd8acc4.js";
9
- import { I as Icon } from "../../Icon/index.0f315ccd.js";
8
+ import { ad as ArrowIconRoot } from "../../../styles/index.db9e7ddb.js";
9
+ import { I as Icon } from "../../Icon/index.c06685f4.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.49007a43.js";
13
- import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
14
- import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
12
+ import { A as Accordion } from "../../mui_extended/Accordion/index.26524ecd.js";
13
+ import { B as Button } from "../../mui_extended/Button/index.3d14e3e9.js";
14
+ import { P as Popover } from "../../mui_extended/Popover/index.a7da93f1.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.ccd8acc4.js";
3
+ import { ae as HamburgerMenuRoot } from "../../styles/index.db9e7ddb.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.50868466.js";
9
- import { I as IconButton } from "../mui_extended/IconButton/index.caf17392.js";
8
+ import { S as SideBar } from "../SideBar/index.990e8667.js";
9
+ import { I as IconButton } from "../mui_extended/IconButton/index.7b6c1ee3.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.0f315ccd.js";
4
+ import { I as Icon } from "../../Icon/index.c06685f4.js";
5
5
  import { W as WrapperComponent } from "../../WrapperComponent/index.57964195.js";
6
- import { F as FormatterRoot, f as formatterClasses } from "../index.373a6ce1.js";
6
+ import { F as FormatterRoot, f as formatterClasses } from "../index.64017cc1.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.ccd8acc4.js";
4
+ import { af as FormatterRootContainer } from "../../styles/index.db9e7ddb.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.b224ae9b.js";
7
+ import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.91435984.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.2f4c6655.js";
3
+ import { H as HelperText } from "../../HelperText/index.6818980e.js";
4
4
  function HelperError(props) {
5
5
  const { name } = props;
6
6
  const { control } = useFormContext();
@@ -6,14 +6,14 @@ import { generateUtilityClasses, generateUtilityClass, Skeleton, useTheme, Autoc
6
6
  import { useResponsiveDesktop } from "@m4l/graphics";
7
7
  import { useFormContext, Controller } from "react-hook-form";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.ccd8acc4.js";
9
+ import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.db9e7ddb.js";
10
10
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
11
- import { I as Image } from "../../Image/index.32b58ce4.js";
12
- import { T as Typography } from "../../mui_extended/Typography/index.61dd3fc6.js";
13
- import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
11
+ import { I as Image } from "../../Image/index.ae542f70.js";
12
+ import { T as Typography } from "../../mui_extended/Typography/index.8c0801e4.js";
13
+ import { H as HelperText } from "../../HelperText/index.6818980e.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.9a979def.js";
15
15
  import { C as CircularProgress } from "../../mui_extended/CircularProgress/index.967e70b7.js";
16
- import { I as IconButton } from "../../mui_extended/IconButton/index.caf17392.js";
16
+ import { I as IconButton } from "../../mui_extended/IconButton/index.7b6c1ee3.js";
17
17
  const componentName = "M4LRHFAutocomplete";
18
18
  generateUtilityClasses(
19
19
  componentName,
@@ -4,9 +4,9 @@ import { useState, useCallback, useEffect } from "react";
4
4
  import debounce from "lodash/debounce";
5
5
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
- import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.ccd8acc4.js";
7
+ import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.db9e7ddb.js";
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.0d32fed5.js";
9
+ import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.089af1b8.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.ccd8acc4.js";
3
+ import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.db9e7ddb.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.2f4c6655.js";
6
+ import { H as HelperText } from "../../HelperText/index.6818980e.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.983e10e6.js";
11
+ import { C as CheckBox } from "../../mui_extended/CheckBox.5dc01b37.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.2f4c6655.js";
6
+ import { H as HelperText } from "../../HelperText/index.6818980e.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.ccd8acc4.js";
9
+ import { al as RHFColorPickerRoot } from "../../../styles/index.db9e7ddb.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.972f989e.js";
14
- import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
15
- import { I as Icon } from "../../Icon/index.0f315ccd.js";
16
- import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
13
+ import { F as FieldLabel } from "../../FieldLabel/index.9a979def.js";
14
+ import { P as Popover } from "../../mui_extended/Popover/index.a7da93f1.js";
15
+ import { I as Icon } from "../../Icon/index.c06685f4.js";
16
+ import { B as Button } from "../../mui_extended/Button/index.3d14e3e9.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.ccd8acc4.js";
11
- import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
10
+ import { am as RHFDateTimeRoot } from "../../../styles/index.db9e7ddb.js";
11
+ import { H as HelperText } from "../../HelperText/index.6818980e.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.972f989e.js";
15
- import { I as Icon } from "../../Icon/index.0f315ccd.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.9a979def.js";
15
+ import { I as Icon } from "../../Icon/index.c06685f4.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.ccd8acc4.js";
2
+ import { an as RHFPeriodRoot } from "../../../styles/index.db9e7ddb.js";
3
3
  import { useFormContext, Controller } from "react-hook-form";
4
- import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
4
+ import { H as HelperText } from "../../HelperText/index.6818980e.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.972f989e.js";
10
- import { P as Period } from "../../Period/index.5757802b.js";
9
+ import { F as FieldLabel } from "../../FieldLabel/index.9a979def.js";
10
+ import { P as Period } from "../../Period/index.b0b2a03b.js";
11
11
  const componentName = "M4LRHFPeriod";
12
12
  generateUtilityClasses(componentName, [
13
13
  "root",
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useFormContext, Controller } from "react-hook-form";
3
3
  import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
4
- import { I as Icon } from "../../Icon/index.0f315ccd.js";
4
+ import { I as Icon } from "../../Icon/index.c06685f4.js";
5
5
  function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
6
6
  return /* @__PURE__ */ jsxs("div", { children: [
7
7
  /* @__PURE__ */ jsx(
@@ -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.caf17392.js";
5
+ import { I as IconButton } from "../../mui_extended/IconButton/index.7b6c1ee3.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.ccd8acc4.js";
7
+ import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.db9e7ddb.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.ebfbb70f.js";
11
- import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
10
+ import { g as getComponentUtilityClass } from "../../../utils/index.f77cc2ab.js";
11
+ import { H as HelperText } from "../../HelperText/index.6818980e.js";
12
12
  import { useResponsiveDesktop } from "@m4l/graphics";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.9a979def.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.32b58ce4.js";
6
+ import { I as Image } from "../../Image/index.ae542f70.js";
7
7
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
8
- import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.ccd8acc4.js";
8
+ import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.db9e7ddb.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.61dd3fc6.js";
13
- import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
14
- import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
12
+ import { T as Typography } from "../../mui_extended/Typography/index.8c0801e4.js";
13
+ import { B as Button } from "../../mui_extended/Button/index.3d14e3e9.js";
14
+ import { H as HelperText } from "../../HelperText/index.6818980e.js";
15
15
  const ICON_PREFIX = "M4LRHFUploadImage";
16
16
  const getNameRHFUploadImageDataTestId = (KEY) => {
17
17
  return `${ICON_PREFIX}-${KEY}`;