@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.
- package/@types/types.d.ts +15 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +2 -0
- package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
- package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
- package/components/SettingsLayout/SettingsLayout.js +50 -0
- package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
- package/components/SettingsLayout/SettingsLayout.styles.js +245 -0
- package/components/SettingsLayout/constants.d.ts +7 -0
- package/components/SettingsLayout/constants.js +10 -0
- package/components/SettingsLayout/dictionary.d.ts +56 -0
- package/components/SettingsLayout/dictionary.js +12 -0
- package/components/SettingsLayout/icons.d.ts +13 -0
- package/components/SettingsLayout/icons.js +16 -0
- package/components/SettingsLayout/index.d.ts +2 -0
- package/components/SettingsLayout/index.js +1 -0
- package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +16 -0
- package/components/SettingsLayout/slots/SettingsLayoutEnum.js +20 -0
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +44 -0
- package/components/SettingsLayout/slots/SettingsLayoutSlots.js +78 -0
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +4 -0
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +34 -0
- package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingColorPresets/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +4 -0
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +34 -0
- package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +4 -0
- package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
- package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
- package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
- package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
- package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
- package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +20 -0
- package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +4 -0
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +34 -0
- package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +4 -0
- package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
- package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
- package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
- package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +0 -0
- package/components/SettingsLayout/test/SettingsLayout.test.d.ts +1 -0
- package/components/SettingsLayout/types.d.ts +51 -0
- package/components/areas/contexts/AreasContext/store.js +2 -2
- package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +5 -0
- package/components/index.d.ts +1 -0
- package/index.js +4 -2
- package/package.json +3 -3
- package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
- package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
- 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
|
}
|
package/components/index.d.ts
CHANGED
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
|
|
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
|
-
|
|
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.
|
|
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": "
|
|
15
|
-
"@m4l/styles": "
|
|
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';
|