@m4l/components 9.3.0 → 9.3.1-B21072025-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 (59) hide show
  1. package/@types/types.d.ts +15 -0
  2. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +2 -0
  3. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
  4. package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
  5. package/components/SettingsLayout/SettingsLayout.js +50 -0
  6. package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
  7. package/components/SettingsLayout/SettingsLayout.styles.js +245 -0
  8. package/components/SettingsLayout/constants.d.ts +7 -0
  9. package/components/SettingsLayout/constants.js +10 -0
  10. package/components/SettingsLayout/dictionary.d.ts +56 -0
  11. package/components/SettingsLayout/dictionary.js +12 -0
  12. package/components/SettingsLayout/icons.d.ts +13 -0
  13. package/components/SettingsLayout/icons.js +16 -0
  14. package/components/SettingsLayout/index.d.ts +2 -0
  15. package/components/SettingsLayout/index.js +1 -0
  16. package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +16 -0
  17. package/components/SettingsLayout/slots/SettingsLayoutEnum.js +20 -0
  18. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +44 -0
  19. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +78 -0
  20. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +4 -0
  21. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +34 -0
  22. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
  23. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.js +1 -0
  24. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +4 -0
  25. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +34 -0
  26. package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
  27. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +4 -0
  28. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
  29. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
  30. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
  31. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
  32. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
  33. package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
  34. package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
  35. package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
  36. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
  37. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +20 -0
  38. package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
  39. package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
  40. package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
  41. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +4 -0
  42. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +34 -0
  43. package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
  44. package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
  45. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +4 -0
  46. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
  47. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
  48. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
  49. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +0 -0
  50. package/components/SettingsLayout/test/SettingsLayout.test.d.ts +1 -0
  51. package/components/SettingsLayout/types.d.ts +51 -0
  52. package/components/areas/contexts/AreasContext/store.js +2 -2
  53. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +5 -0
  54. package/components/index.d.ts +1 -0
  55. package/index.js +4 -2
  56. package/package.json +3 -3
  57. package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
  58. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
  59. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/index.d.ts +1 -0
@@ -65,6 +65,11 @@ const RHFAutocompleteAsyncReducer = (onChangeFilterParms) => (state, action) =>
65
65
  ...state,
66
66
  isOpen: false
67
67
  };
68
+ // case actionsType.SET_SELECTED_OPTIONS_TO_AUTOCOMPLETE:
69
+ // return {
70
+ // ...state,
71
+ // selectedOptions: action.payload,
72
+ // };
68
73
  default:
69
74
  return state;
70
75
  }
@@ -45,5 +45,6 @@ export * from './ToastContainer';
45
45
  export * from './WindowBase';
46
46
  export * from './WindowConfirm';
47
47
  export * from './ModalDialog';
48
+ export * from './SettingsLayout';
48
49
  export * from './Pager';
49
50
  export * from './ScrollBar';
package/index.js CHANGED
@@ -185,6 +185,7 @@ import { D as D10, a as a13, M as M7 } from "./components/WindowBase/contexts/Dy
185
185
  import { W as W3 } from "./components/WindowConfirm/WindowConfirm.js";
186
186
  import { a as a14, g as g27 } from "./components/ModalDialog/dictionary.js";
187
187
  import { M as M8 } from "./components/ModalDialog/ModalDialog.js";
188
+ import { S as S9 } from "./components/SettingsLayout/SettingsLayout.js";
188
189
  import { P as P13 } from "./components/Pager/Pager.js";
189
190
  import { F as F2, R as R22, u as u16 } from "./components/hook-form/RHFormContext/index.js";
190
191
  import { g as g28 } from "./components/hook-form/RHFormContext/dictionary.js";
@@ -200,7 +201,7 @@ import { u as u22 } from "./hooks/useInterval/index.js";
200
201
  import { u as u23 } from "./hooks/useComponentSize/useComponentSize.js";
201
202
  import { u as u24 } from "./hooks/useFormReadyForUpdate/index.js";
202
203
  import { u as u25 } from "./hooks/useStateRef/index.js";
203
- import { S as S9 } from "./hooks/useSvgColor/constants.js";
204
+ import { S as S10 } from "./hooks/useSvgColor/constants.js";
204
205
  import { u as u26 } from "./hooks/useSvgColor/useSvgColor.js";
205
206
  import { u as u27 } from "./hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js";
206
207
  import { u as u28 } from "./hooks/useDataGridPersistence/useDataGridPersistence.js";
@@ -346,10 +347,11 @@ export {
346
347
  R as Resizable,
347
348
  R2 as ResizableBox,
348
349
  R3 as Responsive,
349
- S9 as SKELETON_SVG_ICON,
350
+ S10 as SKELETON_SVG_ICON,
350
351
  S7 as ScrollBar,
351
352
  S as SectionCommercial,
352
353
  S6 as SelectStyled,
354
+ S9 as SettingsLayout,
353
355
  S8 as SideBar,
354
356
  S4 as Skeleton,
355
357
  S2 as SortCompareValues,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.3.0",
3
+ "version": "9.3.1-B21072025-beta.1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {
@@ -11,8 +11,8 @@
11
11
  "@googlemaps/js-api-loader": "^1.16.6",
12
12
  "@hookform/resolvers": "2.9.11",
13
13
  "@m4l/core": "^2.0.0",
14
- "@m4l/graphics": "^7.0.0",
15
- "@m4l/styles": "^7.0.0",
14
+ "@m4l/graphics": "7.1.3-B21072025-beta.1",
15
+ "@m4l/styles": "7.1.31-B21072025-beta.1",
16
16
  "@microlink/react-json-view": "^1.23.3",
17
17
  "@mui/lab": "5.0.0-alpha.173",
18
18
  "@mui/material": "5.16.7",
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { SettingsLayout } from '../../../src/components/SettingsLayout/SettingsLayout';
3
+ declare const meta: Meta<typeof SettingsLayout>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SettingsLayout>;
6
+ export declare const Test: Story;
@@ -0,0 +1,5 @@
1
+ import { SettingsLayoutProps } from '../../../../../src/components/SettingsLayout/';
2
+ /**
3
+ * Wrapper para el componente SettingsLayout encargado de aplicar estilos y props por defecto
4
+ */
5
+ export declare const SettingsLayoutRender: (props: Partial<SettingsLayoutProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { SettingsLayoutRender } from './SettingsLayoutsRender';