@m4l/components 9.2.53 → 9.2.54-beta.1

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 (114) hide show
  1. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  2. package/components/Chip/ChipStyles.js +1 -1
  3. package/components/DataGrid/constants.js +2 -2
  4. package/components/DataGrid/contexts/DataGridContext/index.js +1 -1
  5. package/components/DataGrid/contexts/FilterContext/index.js +1 -1
  6. package/components/DataGrid/dictionary.js +3 -0
  7. package/components/DataGrid/slots/DataGridEnum.js +2 -2
  8. package/components/DataGrid/slots/DataGridSlot.js +1 -1
  9. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +0 -2
  10. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
  11. package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -1
  12. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +2 -2
  13. package/components/DragResizeWindowRND/DragResizeWindowRND.js +1 -0
  14. package/components/DynamicFilter/dictionary.js +12 -0
  15. package/components/DynamicFilter/store/DynamicFilterContext.js +1 -1
  16. package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
  17. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  18. package/components/DynamicSort/dictionary.js +5 -0
  19. package/components/DynamicSort/slots/DynamicSortSlots.js +1 -1
  20. package/components/DynamicSort/store/DynamicSortContext.js +1 -1
  21. package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
  22. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  23. package/components/GridLayout/GridLayout.js +1 -1
  24. package/components/GridLayout/styles.js +1 -1
  25. package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
  26. package/components/GridLayout/subcomponents/Responsive/helper.js +1 -1
  27. package/components/GridLayout/subcomponents/Responsive/index.js +1 -1
  28. package/components/GridLayout/subcomponents/Responsive/responsiveUtils.js +3 -3
  29. package/components/GridLayout/subcomponents/withSizeProvider/index.js +1 -1
  30. package/components/Icon/Icon.js +1 -1
  31. package/components/Icon/constants.js +2 -2
  32. package/components/Icon/slots/IconSlots.js +1 -1
  33. package/components/Image/Image.js +1 -1
  34. package/components/Image/constant.js +2 -2
  35. package/components/Image/slots/ImageSlots.js +1 -1
  36. package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
  37. package/components/LanguagePopover/LanguagePopover.js +1 -1
  38. package/components/LoadingError/LoadingError.js +1 -1
  39. package/components/LoadingError/slots/LoadingErrorSlots.js +1 -1
  40. package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.js +1 -1
  41. package/components/NoItemSelected/NoItemSelected.js +1 -1
  42. package/components/NumberInput/hooks/useNumberInput/NumberInputReducer.js +1 -1
  43. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
  44. package/components/ObjectLogs/dictionary.js +3 -0
  45. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -1
  46. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -1
  47. package/components/Pager/Pager.styles.js +8 -0
  48. package/components/Pager/dicctionary.js +5 -0
  49. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -1
  50. package/components/PropertyValue/PropertyValue.js +2 -2
  51. package/components/ScrollBar/ScrollBar.js +1 -1
  52. package/components/SideBar/slots/SideBarEnum.js +4 -4
  53. package/components/SideBar/slots/SideBarSlots.js +1 -1
  54. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -1
  55. package/components/ToastContainer/ToastContainer.js +1 -1
  56. package/components/WindowBase/slots/WindowBaseSlots.js +1 -1
  57. package/components/animate/variants/bounce.js +1 -1
  58. package/components/animate/variants/fade.js +1 -1
  59. package/components/animate/variants/transition.js +2 -2
  60. package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
  61. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  62. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
  63. package/components/areas/contexts/AreasContext/helpers/helper.js +14 -14
  64. package/components/areas/contexts/AreasContext/store.js +5 -5
  65. package/components/areas/icons.js +8 -0
  66. package/components/commercial/HamburgerMenu/classes/index.js +1 -1
  67. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
  68. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +3 -3
  69. package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
  70. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +2 -2
  71. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +0 -5
  72. package/components/hook-form/RHFAutocompleteAsync/types.js +6 -0
  73. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.js +1 -1
  74. package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
  75. package/components/hook-form/RHFTextField/RHFTextField.styles.js +3 -1
  76. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js +1 -1
  77. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +1 -1
  78. package/components/hook-form/RHFormContext/classes/index.js +1 -1
  79. package/components/hook-form/RHFormContext/index.js +1 -1
  80. package/components/mui_extended/Accordion/Accordion.js +1 -1
  81. package/components/mui_extended/Accordion/slots/AccordionSlots.js +2 -2
  82. package/components/mui_extended/Autocomplete/Autocomplete.js +11 -2
  83. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +4 -4
  84. package/components/mui_extended/CheckBox/CheckBox.js +1 -1
  85. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.js +2 -2
  86. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.js +1 -1
  87. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +1 -1
  88. package/components/mui_extended/ImageButton/utils/Clases/index.js +1 -1
  89. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +1 -1
  90. package/components/mui_extended/NavLink/NavLink.js +1 -1
  91. package/components/mui_extended/NavLink/constants.js +2 -2
  92. package/components/mui_extended/NavLink/slots/NavLinkSlots.js +1 -1
  93. package/components/mui_extended/Popover/Popover.js +1 -1
  94. package/components/mui_extended/Popover/Popover.styles.js +5 -1
  95. package/components/mui_extended/Popover/constants.js +2 -2
  96. package/components/mui_extended/Select/Select.js +1 -1
  97. package/components/mui_extended/Select/Select.styles.js +1 -1
  98. package/components/mui_extended/Select/constants.js +1 -1
  99. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  100. package/components/mui_extended/Tab/Tab.js +1 -1
  101. package/components/mui_extended/TextField/constants.js +1 -1
  102. package/components/mui_extended/Tooltip/Tooltip.js +2 -2
  103. package/components/mui_extended/Tooltip/slots/TooltipSlots.js +2 -2
  104. package/components/mui_extended/Typography/Typography.js +1 -1
  105. package/components/mui_extended/Typography/constants.js +3 -3
  106. package/components/mui_extended/Typography/slots/typographySlots.js +1 -1
  107. package/components/popups/components/PopupsViewer/icons.js +1 -0
  108. package/hooks/useDataGridPersistence/constants.js +2 -2
  109. package/hooks/useDataGridPersistence/useDataGridPersistence.js +1 -1
  110. package/hooks/useSvgColor/constants.js +2 -2
  111. package/hooks/useSvgColor/helpers.js +1 -1
  112. package/hooks/useSvgColor/useSvgColor.js +1 -1
  113. package/index.js +19 -19
  114. package/package.json +3 -3
@@ -1,8 +1,13 @@
1
1
  const PAGER_DICTIONARY = {
2
2
  rows_per_page: "pager.rows_per_page",
3
+ first: "pager.first",
4
+ previous: "pager.previous",
5
+ before: "pager.before",
6
+ last: "pager.last",
3
7
  of: "pager.of",
4
8
  page: "pager.page",
5
9
  no_records: "pager.no_records",
10
+ total_rows: "pager.total_rows",
6
11
  rows: "pager.rows"
7
12
  };
8
13
  function getPagerComponentsDictionary() {
@@ -3,7 +3,7 @@ import { c as classes } from "../../classes/index.js";
3
3
  import clsx from "clsx";
4
4
  import { createRef, useEffect } from "react";
5
5
  import { Chart, registerables } from "chart.js";
6
- import { LineWithErrorBarsChart, ScatterWithErrorBarsController, PointWithErrorBar } from "chartjs-chart-error-bars";
6
+ import { ScatterWithErrorBarsController, LineWithErrorBarsChart, PointWithErrorBar } from "chartjs-chart-error-bars";
7
7
  import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
8
8
  import { C as ChartNodeRootStyled } from "../../slots/PrintingSystemSlots.js";
9
9
  Chart.register(
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import React, { useId } from "react";
3
3
  import clsx from "clsx";
4
4
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
5
- import { T as TEST_PROPS_DATA, C as COMPONENT_PREFIX, P as PROPERTY_VALUE_KEY_COMPONENT } from "./constants.js";
6
- import { a as getNameDataTestId, g as getPropDataTestId } from "../../test/getNameDataTestId.js";
5
+ import { P as PROPERTY_VALUE_KEY_COMPONENT, T as TEST_PROPS_DATA, C as COMPONENT_PREFIX } from "./constants.js";
6
+ import { g as getPropDataTestId, a as getNameDataTestId } from "../../test/getNameDataTestId.js";
7
7
  import { P as PropertyValueRootStyled, N as NameStyled, V as ValueStyled } from "./slots/PropertyValueSlots.js";
8
8
  import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
9
9
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
@@ -4,7 +4,7 @@ import clsx from "clsx";
4
4
  import { Box } from "@mui/material";
5
5
  import { useIsMobile } from "@m4l/graphics";
6
6
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
7
- import { S as SCROLL_KEY_COMPONENT, c as classScrollRoot } from "./constants.js";
7
+ import { c as classScrollRoot, S as SCROLL_KEY_COMPONENT } from "./constants.js";
8
8
  import { R as RootScrollBar, S as SimpleBarStyled } from "./slots/ScrollBarSlots.js";
9
9
  import { S as ScrollBarSlots } from "./slots/ScrollBarEnum.js";
10
10
  function ScrollBar(props) {
@@ -37,11 +37,11 @@ var ContainerMenuItemsMainSlots = /* @__PURE__ */ ((ContainerMenuItemsMainSlots2
37
37
  return ContainerMenuItemsMainSlots2;
38
38
  })(ContainerMenuItemsMainSlots || {});
39
39
  export {
40
- ContentComponentSlots as C,
40
+ ContentGroupsSlots as C,
41
41
  HeaderSidebarSlots as H,
42
42
  SideBarDesktopSlots as S,
43
- SideBarMobileSlots as a,
44
- SideBarFooterSlots as b,
45
- ContentGroupsSlots as c,
43
+ SideBarFooterSlots as a,
44
+ SideBarMobileSlots as b,
45
+ ContentComponentSlots as c,
46
46
  ContainerMenuItemsMainSlots as d
47
47
  };
@@ -1,5 +1,5 @@
1
1
  import { styled } from "@mui/material/styles";
2
- import { S as SideBarDesktopSlots, a as SideBarMobileSlots, C as ContentComponentSlots, b as SideBarFooterSlots, H as HeaderSidebarSlots, c as ContentGroupsSlots, d as ContainerMenuItemsMainSlots } from "./SideBarEnum.js";
2
+ import { S as SideBarDesktopSlots, C as ContentGroupsSlots, H as HeaderSidebarSlots, a as SideBarFooterSlots, b as SideBarMobileSlots, c as ContentComponentSlots, d as ContainerMenuItemsMainSlots } from "./SideBarEnum.js";
3
3
  import { S as SIDEBAR_KEY_COMPONENT } from "../constants.js";
4
4
  import { s as sideBarStyles } from "../styles.js";
5
5
  const ContainerDesktopRootStyled = styled("section", {
@@ -1,5 +1,5 @@
1
1
  import { a as getHeightSizeStyles } from "../../../../../../utils/getSizeStyles/getSizeStyles.js";
2
- import { I as ITEM_ACTIVE, b as ITEM_IN_TREE_ACTIVE } from "../../../../constants.js";
2
+ import { b as ITEM_IN_TREE_ACTIVE, I as ITEM_ACTIVE } from "../../../../constants.js";
3
3
  const containerMenuItemsMainStyles = {
4
4
  /**
5
5
  * Style aplicado al contenedor de los items del menú
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { ToastContainer as ToastContainer$1 } from "react-toastify";
3
- import { D as DEFAULT_CLOSE_TIME, T as TOAST_KEY_COMPONENT } from "./constants.js";
3
+ import { T as TOAST_KEY_COMPONENT, D as DEFAULT_CLOSE_TIME } from "./constants.js";
4
4
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
5
5
  import { ModuleSkeletonProvider } from "@m4l/core";
6
6
  import "react-toastify/dist/ReactToastify.min.css";
@@ -2,9 +2,9 @@ import { styled } from "@mui/material/styles";
2
2
  import { W as WINDOW_BASE_KEY_COMPONENT } from "../constants.js";
3
3
  import { W as WindowBaseSlots } from "./WindowBaseEnum.js";
4
4
  import { w as windowBaseStyles } from "../WindowBase.styles.js";
5
- import { L as LinearProgressIndeterminate } from "../../LinearProgressIndeterminate/LinearProgressIndeterminate.js";
6
5
  import { T as Typography } from "../../mui_extended/Typography/Typography.js";
7
6
  import { M as MenuActions } from "../../MenuActions/MenuActions.js";
7
+ import { L as LinearProgressIndeterminate } from "../../LinearProgressIndeterminate/LinearProgressIndeterminate.js";
8
8
  import { I as Icon } from "../../Icon/Icon.js";
9
9
  const WindowBaseStyled = styled("div", {
10
10
  name: WINDOW_BASE_KEY_COMPONENT,
@@ -1,4 +1,4 @@
1
- import { v as varTranExit, a as varTranEnter } from "./transition.js";
1
+ import { v as varTranEnter, a as varTranExit } from "./transition.js";
2
2
  const varBounce = (props) => {
3
3
  const durationIn = props?.durationIn;
4
4
  const durationOut = props?.durationOut;
@@ -1,4 +1,4 @@
1
- import { v as varTranExit, a as varTranEnter } from "./transition.js";
1
+ import { v as varTranEnter, a as varTranExit } from "./transition.js";
2
2
  const varFade = (props) => {
3
3
  const distance = props?.distance || 120;
4
4
  const durationIn = props?.durationIn;
@@ -14,7 +14,7 @@ const varTranExit = (props) => {
14
14
  return { duration, ease };
15
15
  };
16
16
  export {
17
- varTranEnter as a,
17
+ varTranExit as a,
18
18
  varTranHover as b,
19
- varTranExit as v
19
+ varTranEnter as v
20
20
  };
@@ -15,9 +15,9 @@ import { a as getComponentSlotRoot } from "../../../../utils/getComponentSlotRoo
15
15
  import { g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
16
16
  import { S as ScrollBar } from "../../../ScrollBar/ScrollBar.js";
17
17
  import { u as useComponentSize } from "../../../../hooks/useComponentSize/useComponentSize.js";
18
+ import { A as AreasAdminSlots } from "./slots/AreasAdminEnum.js";
18
19
  import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
19
20
  import { M as MenuActions } from "../../../MenuActions/MenuActions.js";
20
- import { A as AreasAdminSlots } from "./slots/AreasAdminEnum.js";
21
21
  const AreasAdmin = (props) => {
22
22
  const {
23
23
  color = "primary",
@@ -4,7 +4,7 @@ import { u as useAreasStore } from "../../hooks/useAreas/index.js";
4
4
  import { A as AreaMemonizedWindowModal } from "./subcomponents/Area/subcomponents/WindowModal/WindowModal.js";
5
5
  import { shallow } from "zustand/shallow";
6
6
  import { L as LoadingError } from "../../../LoadingError/LoadingError.js";
7
- import { a as getNameDataTestId, g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
7
+ import { g as getPropDataTestId, a as getNameDataTestId } from "../../../../test/getNameDataTestId.js";
8
8
  import { A as AREAS_VIEWER_CLASS_NAME } from "../../constants.js";
9
9
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.js";
10
10
  import { A as AreasViewerRootStyled } from "./slots/AreasViewerSlots.js";
@@ -4,7 +4,7 @@ import { W as Window } from "../Window/Window.js";
4
4
  import { u as useAreasStore } from "../../../../../../hooks/useAreas/index.js";
5
5
  import { a as areasViewerClasses } from "../../../../classes/index.js";
6
6
  import clsx from "clsx";
7
- import { P as PADDING_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, R as RESPONSIVE_ROW_HEIGHTS, a as RESPONSIVE_COLAPSED_HEIGHTS } from "../../../../../../contexts/AreasContext/helpers/helper.js";
7
+ import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../../../../../contexts/AreasContext/helpers/helper.js";
8
8
  import { M as MemonizePopupsViewer } from "../../../../../../../popups/components/PopupsViewer/PopupsViewer.js";
9
9
  import { useState } from "react";
10
10
  import { d as dragResizeWindowRNDClasses } from "../../../../../../../DragResizeWindowRND/classes/index.js";
@@ -192,23 +192,23 @@ function getSelectedAreaIdFromCookies(cookiesResponse) {
192
192
  }
193
193
  export {
194
194
  COOKIE_WINDOW_SELECTED as C,
195
- DEBOUCED_SAVE_TIME as D,
195
+ DEFAULT_AREA as D,
196
196
  MARGIN_GRIDLAYOUT as M,
197
197
  NORMALIZED_COLS as N,
198
198
  PADDING_GRIDLAYOUT as P,
199
- RESPONSIVE_ROW_HEIGHTS as R,
200
- RESPONSIVE_COLAPSED_HEIGHTS as a,
201
- getDataFromResponse as b,
202
- getParmsFromValue as c,
203
- COOKIE_BREAKPOINT_LAYOUTS as d,
199
+ RESPONSIVE_COLAPSED_HEIGHTS as R,
200
+ RESPONSIVE_ROW_HEIGHTS as a,
201
+ COOKIE_AREAS_ADMIN_CONTAINER_ID as b,
202
+ COOKIE_AREAS_ADMIN_ID as c,
203
+ addArea as d,
204
204
  DEFAULT_WINDOW as e,
205
- COOKIE_WINDOWS as f,
206
- getCookiesContainer as g,
207
- deleteLayoutFromBreakPoints as h,
208
- addArea as i,
209
- DEFAULT_AREA as j,
210
- getSelectedAreaIdFromCookies as k,
211
- COOKIE_AREAS_ADMIN_CONTAINER_ID as l,
212
- COOKIE_AREAS_ADMIN_ID as m,
205
+ deleteLayoutFromBreakPoints as f,
206
+ getSelectedAreaIdFromCookies as g,
207
+ COOKIE_WINDOWS as h,
208
+ COOKIE_BREAKPOINT_LAYOUTS as i,
209
+ DEBOUCED_SAVE_TIME as j,
210
+ getDataFromResponse as k,
211
+ getParmsFromValue as l,
212
+ getCookiesContainer as m,
213
213
  setColapsedLayoutBreakPoints as s
214
214
  };
@@ -1,16 +1,16 @@
1
1
  import { createStore } from "zustand";
2
2
  import { devtools } from "zustand/middleware";
3
3
  import { immer } from "zustand/middleware/immer";
4
- import { g as getCookiesContainer, b as getDataFromResponse, c as getParmsFromValue, s as setColapsedLayoutBreakPoints, d as COOKIE_BREAKPOINT_LAYOUTS, D as DEBOUCED_SAVE_TIME, e as DEFAULT_WINDOW, M as MARGIN_GRIDLAYOUT, f as COOKIE_WINDOWS, h as deleteLayoutFromBreakPoints, R as RESPONSIVE_ROW_HEIGHTS, P as PADDING_GRIDLAYOUT, N as NORMALIZED_COLS, i as addArea, j as DEFAULT_AREA, k as getSelectedAreaIdFromCookies, C as COOKIE_WINDOW_SELECTED, l as COOKIE_AREAS_ADMIN_CONTAINER_ID, m as COOKIE_AREAS_ADMIN_ID } from "./helpers/helper.js";
4
+ import { b as COOKIE_AREAS_ADMIN_CONTAINER_ID, c as COOKIE_AREAS_ADMIN_ID, D as DEFAULT_AREA, d as addArea, g as getSelectedAreaIdFromCookies, e as DEFAULT_WINDOW, a as RESPONSIVE_ROW_HEIGHTS, P as PADDING_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, N as NORMALIZED_COLS, f as deleteLayoutFromBreakPoints, h as COOKIE_WINDOWS, i as COOKIE_BREAKPOINT_LAYOUTS, j as DEBOUCED_SAVE_TIME, s as setColapsedLayoutBreakPoints, k as getDataFromResponse, l as getParmsFromValue, m as getCookiesContainer, C as COOKIE_WINDOW_SELECTED } from "./helpers/helper.js";
5
5
  import { c as createDynamicMFStore } from "../../../WindowBase/contexts/DynamicMFParmsContext/store.js";
6
6
  import cloneDeep from "lodash-es/cloneDeep";
7
7
  import debounce from "lodash-es/debounce";
8
8
  import { g as generateModuleCount } from "./helpers/generateModuleCount.js";
9
9
  import { a as AREAS_STORE_ID } from "../../constants.js";
10
10
  import { h as helperSelectLayout } from "./helpers/selectLayout.js";
11
- import { d as deleteCookie, s as setCookie, g as getCookie } from "../../../../helpers/cookies/cookies.js";
11
+ import { g as getCookie, d as deleteCookie, s as setCookie } from "../../../../helpers/cookies/cookies.js";
12
+ import { d as addLayoutItemToBreakPoints, e as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/responsiveUtils.js";
12
13
  import { k as isEqualLayouts } from "../../../GridLayout/utils.js";
13
- import { d as cloneLayouts, e as addLayoutItemToBreakPoints } from "../../../GridLayout/subcomponents/Responsive/responsiveUtils.js";
14
14
  const createDevtools = (immerMiddlewere, config) => {
15
15
  const { enabled = false } = config;
16
16
  if (enabled && process.env.NODE_ENV === "development") {
@@ -441,8 +441,8 @@ const createAreasStore = (initProps, storeDevtoolsEnabled = false) => {
441
441
  bounds: {
442
442
  left: MARGIN_GRIDLAYOUT,
443
443
  top: MARGIN_GRIDLAYOUT,
444
- right: -11,
445
- bottom: -11
444
+ right: -MARGIN_GRIDLAYOUT,
445
+ bottom: -MARGIN_GRIDLAYOUT
446
446
  }
447
447
  });
448
448
  }
@@ -1,4 +1,5 @@
1
1
  const ICONS = {
2
+ CLOSE: "close.svg",
2
3
  MAXIMIZE: "maximize.svg",
3
4
  NORMALIZE: "normalize.svg",
4
5
  COLAPSE: "colapse.svg",
@@ -7,9 +8,16 @@ const ICONS = {
7
8
  SAVE_COOKIES: "save_cookies.svg",
8
9
  DELETE_AREA: "delete_area.svg",
9
10
  ADD_AREA: "add_area.svg",
11
+ LAYERS: "layers.svg",
12
+ NAVIGATE_ERROR: "navegate_error.svg",
10
13
  EDIT_AREA: "edit.svg",
11
14
  CHECK: "checkmarkInCircle.svg",
15
+ RESIZE: "controlSize.svg",
16
+ VERSION: "version.svg",
17
+ SHOW_OPTIONS: "showMoreVertical.svg",
12
18
  CHEVRON_DOWN: "chevronDown.svg",
19
+ MODULE: "module.svg",
20
+ POPUP: "popup.svg",
13
21
  PENDING_ORDER: "pending_order.svg",
14
22
  MORE_VERTICAL: "more_vertical.svg"
15
23
  };
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from "@mui/material";
1
+ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { c as componentName } from "./constants.js";
4
4
  generateUtilityClasses(componentName, ["root", "ImageLogo"]);
@@ -6,7 +6,7 @@ import clsx from "clsx";
6
6
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
7
7
  import { B as BOOLEAN_FORMATTER_KEY_COMPONENT } from "./constants.js";
8
8
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
9
- import { B as BooleanFormatterRootStyled, a as BooleanFormatterIconStyled, b as BooleanFormatterChipStyled } from "./slots/BooleanFormatterSlots.js";
9
+ import { B as BooleanFormatterIconStyled, a as BooleanFormatterChipStyled, b as BooleanFormatterRootStyled } from "./slots/BooleanFormatterSlots.js";
10
10
  import { B as BooleanFormatterSlots } from "./slots/BooleanFormatterEnum.js";
11
11
  function getFormatBoolean(presentationType, value = false, getLabel) {
12
12
  if (presentationType === "string_yes_no") {
@@ -18,7 +18,7 @@ const BooleanFormatterChipStyled = styled(Chip, {
18
18
  slot: BooleanFormatterSlots.chip
19
19
  })(booleanFormatterStyles?.chip);
20
20
  export {
21
- BooleanFormatterRootStyled as B,
22
- BooleanFormatterIconStyled as a,
23
- BooleanFormatterChipStyled as b
21
+ BooleanFormatterIconStyled as B,
22
+ BooleanFormatterChipStyled as a,
23
+ BooleanFormatterRootStyled as b
24
24
  };
@@ -6,8 +6,8 @@ import clsx from "clsx";
6
6
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
7
7
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
8
8
  import { d as dictionary } from "./dictionary.js";
9
- import { P as PeriodFormatterRootStyled, a as PeriodFormatterSkeletonStyled } from "./slots/PeriodFormatterSlots.js";
10
9
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
10
+ import { P as PeriodFormatterSkeletonStyled, a as PeriodFormatterRootStyled } from "./slots/PeriodFormatterSlots.js";
11
11
  import { P as PeriodFormatterSlots } from "./slots/PeriodFomatterEnum.js";
12
12
  function useFormatPeriod(years, months, days) {
13
13
  const { getLabel } = useModuleDictionary();
@@ -13,6 +13,6 @@ const PeriodFormatterSkeletonStyled = styled(Skeleton, {
13
13
  slot: PeriodFormatterSlots.skeleton
14
14
  })(periodFormatterStyles?.skeleton);
15
15
  export {
16
- PeriodFormatterRootStyled as P,
17
- PeriodFormatterSkeletonStyled as a
16
+ PeriodFormatterSkeletonStyled as P,
17
+ PeriodFormatterRootStyled as a
18
18
  };
@@ -64,11 +64,6 @@ const RHFAutocompleteAsyncReducer = (onChangeFilterParms) => (state, action) =>
64
64
  ...state,
65
65
  isOpen: false
66
66
  };
67
- // case actionsType.SET_SELECTED_OPTIONS_TO_AUTOCOMPLETE:
68
- // return {
69
- // ...state,
70
- // selectedOptions: action.payload,
71
- // };
72
67
  default:
73
68
  return state;
74
69
  }
@@ -21,6 +21,12 @@ const actionsType = {
21
21
  * Indicate if the popover options are close.
22
22
  */
23
23
  CLOSE: "CLOSE",
24
+ /**
25
+ * Reset the state options, allowFetchingOptionsAutocomplete (false)
26
+ * and loading (true) to initial state before fetching options
27
+ * to wait the response from the server.
28
+ */
29
+ START_FETCHING_OPTIONS: "START_FETCHING_OPTIONS",
24
30
  /**
25
31
  * Set new options to list in autocomplete.
26
32
  * For example, when the user is typing,
@@ -2,8 +2,8 @@ import { styled } from "@mui/material/styles";
2
2
  import { r as rhfCheckBoxStyles } from "../RHFCheckBox.styles.js";
3
3
  import { R as RHFCheckBoxSlots } from "./RHFCheckBoxEnum.js";
4
4
  import { R as RHF_CHECKBOX_KEY_COMPONENT } from "../constants.js";
5
- import { L as Label } from "../../../Label/Label.js";
6
5
  import { C as CheckBox } from "../../../mui_extended/CheckBox/CheckBox.js";
6
+ import { L as Label } from "../../../Label/Label.js";
7
7
  const RHFCheckboxRoot = styled("div", {
8
8
  name: RHF_CHECKBOX_KEY_COMPONENT,
9
9
  slot: RHFCheckBoxSlots.root
@@ -9,8 +9,8 @@ import { R as RHF_PERIOD_KEY_COMPONENT } from "./constants.js";
9
9
  import clsx from "clsx";
10
10
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
11
11
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
12
- import { H as HelperError } from "../../HelperError/HelperError.js";
13
12
  import { R as RHFPeriodSlots } from "./slots/RHFPeriodEnum.js";
13
+ import { H as HelperError } from "../../HelperError/HelperError.js";
14
14
  const RHFPeriod = (props) => {
15
15
  const {
16
16
  name,
@@ -18,7 +18,9 @@ const rhfTextFieldStyles = {
18
18
  /**
19
19
  * Estilos personalizados para el componente Skeleton.
20
20
  */
21
- helperErrorStyled: {}
21
+ helperErrorStyled: {},
22
+ skeletonTextFieldRoot: {},
23
+ wrapperSkeletonRHFTextField: {}
22
24
  };
23
25
  export {
24
26
  rhfTextFieldStyles as r
@@ -2,9 +2,9 @@ import { styled } from "@mui/material";
2
2
  import { R as RHFTextFieldPasswordSlots } from "./RHFTextFieldPasswordEnum.js";
3
3
  import { R as RHF_TEXT_FIELD_PASSWORD_KEY_COMPONENT } from "../constanst.js";
4
4
  import { r as rhfTextFieldPasswordStyles } from "../RHFTextFieldPassword.styles.js";
5
- import { L as Label } from "../../../Label/Label.js";
6
5
  import { T as TextField } from "../../../mui_extended/TextField/TextField.js";
7
6
  import { I as IconButton } from "../../../mui_extended/IconButton/IconButton.js";
7
+ import { L as Label } from "../../../Label/Label.js";
8
8
  const RHFTextFieldPasswordRoot = styled("div", {
9
9
  name: RHF_TEXT_FIELD_PASSWORD_KEY_COMPONENT,
10
10
  slot: RHFTextFieldPasswordSlots.root
@@ -3,7 +3,7 @@ import { useFormContext, Controller } from "react-hook-form";
3
3
  import { U as UploadSingleFile } from "./subcomponents/UploadSingleFile/index.js";
4
4
  import { R as RHFUploadSingleFileRootStyled, L as LabelStyled, H as HelperErrorStyled } from "./slots/RHFUploadSingleFileSlots.js";
5
5
  import clsx from "clsx";
6
- import { D as DEFAULT_MAX_FILE_SIZE, R as RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT } from "./constants.js";
6
+ import { R as RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT, D as DEFAULT_MAX_FILE_SIZE } from "./constants.js";
7
7
  import { g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
8
8
  import { R as RHFUploadSingleFileSlots } from "./slots/RHFUploadSingleFileEnum.js";
9
9
  import { u as useComponentSize } from "../../../../hooks/useComponentSize/useComponentSize.js";
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from "@mui/material";
1
+ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { c as componentName } from "./constants.js";
4
4
  generateUtilityClasses(
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useEffect } from "react";
3
3
  import clsx from "clsx";
4
- import { FormProvider, useForm } from "react-hook-form";
4
+ import { useForm, FormProvider } from "react-hook-form";
5
5
  import { yupResolver } from "@hookform/resolvers/yup";
6
6
  import { F as FormProviderRoot } from "./styles.js";
7
7
  import { R as RHFormProviderUtilityClasses } from "./classes/index.js";
@@ -3,7 +3,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.js";
3
3
  import { a as getNameDataTestId } from "../../../test/getNameDataTestId.js";
4
4
  import { P as PATH_EXPANDED_ICON, A as ACCORDION_KEY } from "./constants.js";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
- import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconLabelStyled, L as LabelStyled, b as IconExpandedStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
6
+ import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconExpandedStyled, b as IconLabelStyled, L as LabelStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
7
7
  import { forwardRef } from "react";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
9
  const Accordion = forwardRef((props, ref) => {
@@ -31,9 +31,9 @@ const AccordionDetailsStyled = styled(AccordionDetails, {
31
31
  })(accordionStyles?.accordionDetails);
32
32
  export {
33
33
  AccordionRootStyled as A,
34
- IconLabelStyled as I,
34
+ IconExpandedStyled as I,
35
35
  LabelStyled as L,
36
36
  AccordionSummaryStyled as a,
37
- IconExpandedStyled as b,
37
+ IconLabelStyled as b,
38
38
  AccordionDetailsStyled as c
39
39
  };
@@ -6,7 +6,7 @@ import { u as useValuesAndHandlers } from "./hooks/useValuesAndHandlers.js";
6
6
  import { u as useStartAdornments } from "./hooks/useStartAdornments.js";
7
7
  import { u as useEndAdornments } from "./hooks/useEndAdornments.js";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
- import { S as SkeletonAutocompleteStyled, A as AutocompleteRootStyled, R as RenderInputStyled, P as PopperComponentStyled } from "./slots/AutocompleteSlots.js";
9
+ import { S as SkeletonAutocompleteStyled, A as AutocompleteRootStyled, P as PopperComponentStyled, R as RenderInputStyled } from "./slots/AutocompleteSlots.js";
10
10
  import { T as Typography } from "../Typography/Typography.js";
11
11
  const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
12
12
  const {
@@ -30,6 +30,7 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
30
30
  const {
31
31
  open,
32
32
  selectedValue,
33
+ selectedOption,
33
34
  inputValue,
34
35
  isOptionEqualToValueLocal,
35
36
  handleDelete,
@@ -39,6 +40,7 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
39
40
  onCloseLocal,
40
41
  onOpenLocal,
41
42
  getOptionLabelLocal,
43
+ getOptionUrlImageLocal,
42
44
  checkKeyDown,
43
45
  scrollPositionOptionsRef
44
46
  } = useValuesAndHandlers(props);
@@ -52,11 +54,18 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
52
54
  const startAdornments = useStartAdornments({
53
55
  selectedValue,
54
56
  multiple,
57
+ loading,
55
58
  adjustedSize,
56
59
  getOptionLabelLocal,
57
60
  ownerState,
58
61
  handleDelete,
59
- disabled
62
+ getOptionUrlImage,
63
+ selectedOption,
64
+ getOptionUrlImageLocal,
65
+ refresh,
66
+ handleRefresh,
67
+ disabled,
68
+ onOpenLocal
60
69
  });
61
70
  const endAdornments = useEndAdornments({
62
71
  loading,
@@ -5,13 +5,13 @@ import { I as Image } from "../../../Image/Image.js";
5
5
  import { a as autocompleteSyles } from "../Autocomplete.styles.js";
6
6
  import { A as AUTOCOMPLETE_KEY_COMPONENT } from "../constants.js";
7
7
  import { A as AutocompleteSlots } from "./AutocompleteEnum.js";
8
- import { S as Skeleton } from "../../Skeleton/Skeleton.js";
9
- import { T as TextField } from "../../TextField/TextField.js";
10
- import { P as Popper } from "../../Popper/Popper.js";
11
8
  import { I as IconButton } from "../../IconButton/IconButton.js";
9
+ import { T as TextField } from "../../TextField/TextField.js";
12
10
  import { T as Typography } from "../../Typography/Typography.js";
13
- import { C as CircularProgress } from "../../CircularProgress/CircularProgress.js";
11
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
12
+ import { P as Popper } from "../../Popper/Popper.js";
14
13
  import { M as MenuItem } from "../../MenuItem/MenuItem.js";
14
+ import { C as CircularProgress } from "../../CircularProgress/CircularProgress.js";
15
15
  const AutocompleteRootStyled = styled(Autocomplete, {
16
16
  name: AUTOCOMPLETE_KEY_COMPONENT,
17
17
  slot: AutocompleteSlots.root
@@ -5,7 +5,7 @@ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js
5
5
  import { C as CHECK_BOX_KEY_COMPONENT } from "./constants.js";
6
6
  import clsx from "clsx";
7
7
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
8
- import { C as CheckBoxRootStyled, M as MUICheckboxStyled, I as IconStyled, a as IconCheckedStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/CheckBoxSlots.js";
8
+ import { C as CheckBoxRootStyled, M as MUICheckboxStyled, I as IconCheckedStyled, a as IconStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/CheckBoxSlots.js";
9
9
  import { C as CheckBoxSlots } from "./slots/CheckBoxEnum.js";
10
10
  const CheckBox = forwardRef((props, ref) => {
11
11
  const {
@@ -31,9 +31,9 @@ const IconStyled = styled(Icon, {
31
31
  })(checkBoxStyles.icon);
32
32
  export {
33
33
  CheckBoxRootStyled as C,
34
- IconStyled as I,
34
+ IconCheckedStyled as I,
35
35
  MUICheckboxStyled as M,
36
36
  SkeletonStyled as S,
37
37
  TypographyStyled as T,
38
- IconCheckedStyled as a
38
+ IconStyled as a
39
39
  };
@@ -1,5 +1,5 @@
1
1
  import { styled, Popper, Paper } from "@mui/material";
2
- import { PickersCalendarHeader, PickersDay, MobileDateTimePicker, DesktopDateTimePicker } from "@mui/x-date-pickers";
2
+ import { DesktopDateTimePicker, MobileDateTimePicker, PickersCalendarHeader, PickersDay } from "@mui/x-date-pickers";
3
3
  import { d as dateTimePickerStyles } from "../DateTimePicker.styles.js";
4
4
  import { D as DATE_TIME_PICKER_KEY_COMPONENT } from "../constants.js";
5
5
  import { D as DateTimePickerEnum } from "./DateTimePickerEnum.js";
@@ -3,8 +3,8 @@ import { styled } from "@mui/material/styles";
3
3
  import { i as iconButtonStyles } from "../IconButton.styles.js";
4
4
  import { a as ICON_BUTTON_KEY_COMPONENT } from "../constants.js";
5
5
  import { I as IconButtonSlots } from "./IconButtonEnum.js";
6
- import { I as Icon } from "../../../Icon/Icon.js";
7
6
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
7
+ import { I as Icon } from "../../../Icon/Icon.js";
8
8
  const StyledMUIIconButton = styled(IconButton, {
9
9
  name: ICON_BUTTON_KEY_COMPONENT,
10
10
  slot: IconButtonSlots.styledMUIIconButton
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from "@mui/material";
1
+ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { c as componentName } from "./constants.js";
4
4
  generateUtilityClasses(componentName, [
@@ -3,8 +3,8 @@ import { MenuItem } from "@mui/material";
3
3
  import { a as MENUITEM_KEY_COMPONENT } from "../constants.js";
4
4
  import { m as menuItemStyles } from "../MenuItem.styles.js";
5
5
  import { M as MenuItemSlots } from "./MenuItemEnum.js";
6
- import { S as Skeleton } from "../../Skeleton/Skeleton.js";
7
6
  import { T as Typography } from "../../Typography/Typography.js";
7
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
8
8
  import { I as Icon } from "../../../Icon/Icon.js";
9
9
  const MenuItemRootStyled = styled(MenuItem, {
10
10
  name: MENUITEM_KEY_COMPONENT,
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { R as RouterNavLinkRootStyled, a as RouterNavLinkStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/NavLinkSlots.js";
3
3
  import { useModuleSkeleton } from "@m4l/core";
4
- import { c as classNavLinkRoot, N as NAV_LINK_SPECIFY, a as NAV_LINK_KEY_COMPONENT } from "./constants.js";
4
+ import { N as NAV_LINK_KEY_COMPONENT, c as classNavLinkRoot, a as NAV_LINK_SPECIFY } from "./constants.js";
5
5
  import { N as NavLinkSlots } from "./slots/NavLinkEnum.js";
6
6
  import { clsx } from "clsx";
7
7
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
@@ -4,7 +4,7 @@ const NAV_LINK_KEY_COMPONENT = "M4LNavLink";
4
4
  const NAV_LINK_SPECIFY = "M4lclassCssSpecificity";
5
5
  const classNavLinkRoot = getComponentClasses(NAV_LINK_KEY_COMPONENT, NavLinkSlots);
6
6
  export {
7
- NAV_LINK_SPECIFY as N,
8
- NAV_LINK_KEY_COMPONENT as a,
7
+ NAV_LINK_KEY_COMPONENT as N,
8
+ NAV_LINK_SPECIFY as a,
9
9
  classNavLinkRoot as c
10
10
  };
@@ -1,7 +1,7 @@
1
1
  import { NavLink } from "react-router-dom";
2
2
  import { styled } from "@mui/material/styles";
3
3
  import { N as NavLinkSlots } from "./NavLinkEnum.js";
4
- import { a as NAV_LINK_KEY_COMPONENT } from "../constants.js";
4
+ import { N as NAV_LINK_KEY_COMPONENT } from "../constants.js";
5
5
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
6
6
  import { n as navLinkStyles } from "../NavLink.styles.js";
7
7
  import { T as Typography } from "../../Typography/Typography.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
3
- import { P as POPOVER_PREFIX, a as POPOVER_CLASS_NAME_SPECIFY } from "./constants.js";
3
+ import { P as POPOVER_CLASS_NAME_SPECIFY, a as POPOVER_PREFIX } from "./constants.js";
4
4
  import clsx from "clsx";
5
5
  import { P as PopoverRootStyled } from "./slots/PopoverSlots.js";
6
6
  import { P as PopoverSlots } from "./slots/PopoverEnum.js";