@m4l/components 9.2.60-19062025.beta.1 → 9.2.60-J18062025.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 +0 -8
- package/components/DataGrid/DataGrid.js +17 -3
- package/components/DataGrid/Datagrid.styles.js +67 -24
- package/components/DataGrid/constants.d.ts +2 -0
- package/components/DataGrid/constants.js +7 -3
- package/components/DataGrid/contexts/DataGridContext/index.js +77 -30
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +5 -2
- package/components/DataGrid/dictionary.d.ts +8 -0
- package/components/DataGrid/dictionary.js +26 -17
- package/components/DataGrid/icons.d.ts +6 -0
- package/components/DataGrid/icons.js +7 -1
- package/components/DataGrid/slots/DataGridEnum.d.ts +5 -1
- package/components/DataGrid/slots/DataGridEnum.js +4 -0
- package/components/DataGrid/slots/DataGridSlot.d.ts +4 -0
- package/components/DataGrid/slots/DataGridSlot.js +22 -2
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/index.js +9 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.d.ts +3 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.js +9 -2
- package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.d.ts +6 -0
- package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.js +259 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +6 -4
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +35 -18
- package/components/DataGrid/subcomponents/Table/index.js +97 -34
- package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.d.ts +1 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +42 -3
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.d.ts +5 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.js +136 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/index.d.ts +1 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/types.d.ts +131 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +1 -1
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
- package/components/DataGrid/tests/HeaderRenderClick.test.d.ts +1 -0
- package/components/DataGrid/tests/useHeaderMenuActions.test.d.ts +1 -0
- package/components/DataGrid/types.d.ts +53 -0
- package/components/DynamicFilter/DynamicFilter.styles.js +90 -99
- package/components/DynamicFilter/slots/SlotsEnum.d.ts +3 -0
- package/components/DynamicFilter/slots/SlotsEnum.js +3 -0
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +9 -0
- package/components/DynamicFilter/slots/dynamicFilterSlots.js +19 -3
- package/components/DynamicFilter/store/DynamicFilterContext.js +67 -26
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.d.ts +0 -1
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +1 -2
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +0 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +18 -23
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -4
- package/components/DynamicFilter/types.d.ts +3 -0
- package/components/DynamicSort/DynamicSort.js +10 -6
- package/components/DynamicSort/DynamicSort.styles.js +88 -90
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +9 -0
- package/components/DynamicSort/slots/DynamicSortSlots.js +21 -5
- package/components/DynamicSort/slots/SlotsEnum.d.ts +4 -1
- package/components/DynamicSort/slots/SlotsEnum.js +4 -1
- package/components/DynamicSort/store/DynamicSortContext.js +96 -67
- package/components/DynamicSort/store/DynamicSortStore.js +53 -4
- package/components/DynamicSort/store/types.d.ts +11 -0
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +2 -2
- package/components/DynamicSort/subcomponents/InputSort/InputSort.js +0 -2
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +17 -21
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -2
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.d.ts +0 -2
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +1 -2
- package/components/DynamicSort/types.d.ts +4 -0
- package/components/LanguagePopover/LanguagePopover.js +6 -8
- package/components/LanguagePopover/LanguagePopover.styles.js +4 -25
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +3 -9
- package/components/LanguagePopover/slots/LanguagePopoverSlots.js +3 -1
- package/components/LanguagePopover/types.d.ts +1 -6
- package/components/PaperForm/styles.js +1 -2
- package/components/PropertyValue/PropertyValue.js +1 -2
- package/components/PropertyValue/PropertyValue.styles.js +4 -7
- package/components/PropertyValue/types.d.ts +0 -4
- package/components/SideBar/SideBar.js +2 -4
- package/components/SideBar/constants.d.ts +2 -26
- package/components/SideBar/constants.js +7 -19
- package/components/SideBar/context/sideBarContext/index.js +5 -19
- package/components/SideBar/context/sideBarContext/types.d.ts +1 -22
- package/components/SideBar/helpers/getMenuDataWithState/index.js +8 -25
- package/components/SideBar/slots/SideBarEnum.d.ts +5 -5
- package/components/SideBar/slots/SideBarEnum.js +11 -9
- package/components/SideBar/slots/SideBarSlots.d.ts +3 -9
- package/components/SideBar/slots/SideBarSlots.js +28 -36
- package/components/SideBar/styles.js +4 -2
- package/components/SideBar/subcomponents/ContentComponent/index.js +19 -39
- package/components/SideBar/subcomponents/ContentComponent/style.js +22 -171
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +5 -0
- package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups}/index.js +18 -16
- package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups}/styles.js +7 -5
- package/components/SideBar/subcomponents/{TreeGroupItems/subcomponents/NodeMenuItem → ContentGroups/subcomponents/ContainerMenuItemsMain}/index.d.ts +3 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +63 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +47 -0
- package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups/subcomponents/ContainerMenuItemsMain}/subcomponents/ArrowIcon/index.js +7 -10
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +7 -0
- package/components/SideBar/subcomponents/ContentGroups/types.d.ts +4 -0
- package/components/SideBar/subcomponents/{Promotion → FooterSidebar}/index.d.ts +2 -2
- package/components/SideBar/subcomponents/{Promotion → FooterSidebar}/index.js +15 -8
- package/components/SideBar/subcomponents/{Promotion → FooterSidebar}/styles.js +2 -2
- package/components/SideBar/subcomponents/FooterSidebar/types.d.ts +5 -0
- package/components/SideBar/subcomponents/HeaderSidebar/index.js +25 -0
- package/components/SideBar/subcomponents/SideBarDesktop/index.js +1 -1
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +14 -10
- package/components/SideBar/subcomponents/SideBarMobile/index.js +1 -1
- package/components/SideBar/types.d.ts +3 -7
- package/components/WindowBase/WindowBase.js +1 -4
- package/components/WindowBase/WindowBase.styles.js +13 -48
- package/components/WindowBase/constants.d.ts +0 -1
- package/components/WindowBase/constants.js +1 -5
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +1 -2
- package/components/WindowBase/slots/WindowBaseEnum.js +0 -1
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +0 -3
- package/components/WindowBase/slots/WindowBaseSlots.js +1 -6
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +4 -8
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +2 -4
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +0 -5
- package/components/WindowBase/types.d.ts +0 -11
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +0 -13
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +20 -21
- package/components/extended/React-Resizable/helpers.js +1 -1
- package/components/extended/React-resizable-panels/SplitLayout.js +3 -6
- package/components/extended/React-resizable-panels/SplitLayout.styles.js +36 -78
- package/components/extended/React-resizable-panels/constants.d.ts +0 -6
- package/components/extended/React-resizable-panels/constants.js +1 -5
- package/components/extended/React-resizable-panels/slots/SplitLayoutEnum.d.ts +1 -2
- package/components/extended/React-resizable-panels/slots/SplitLayoutEnum.js +0 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +0 -3
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +1 -7
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +1 -1
- package/components/mui_extended/Accordion/styles.js +2 -10
- package/components/mui_extended/Tab/Tab.styles.js +1 -2
- package/components/mui_extended/TabContent/TabContent.styles.js +8 -2
- package/components/mui_extended/TextField/TextField.js +1 -1
- package/components/mui_extended/TextField/TextField.styles.js +10 -12
- package/components/mui_extended/index.d.ts +0 -1
- package/hooks/useDynamicFilterAndSort/styles.js +1 -1
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.d.ts +7 -0
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +300 -88
- package/index.d.ts +0 -1
- package/index.js +20 -23
- package/package.json +5 -6
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +22 -0
- package/storybook/components/DataGrid/MswHandles.d.ts +1 -0
- package/storybook/components/DataGrid/helpers/filterFieldsSeedData.d.ts +5 -0
- package/storybook/components/DataGrid/helpers/getRows.d.ts +4 -0
- package/storybook/components/DataGrid/helpers/getRowsWithBackendSimulation.d.ts +9 -0
- package/storybook/components/DataGrid/helpers/sortsSeedData.d.ts +5 -0
- package/storybook/components/DataGrid/helpers/types.d.ts +1 -0
- package/storybook/components/DataGrid/helpers/useSeed.d.ts +3 -0
- package/storybook/components/DataGrid/subcomponents/DataGridRenderWithExternalFiltersAndSorts.d.ts +16 -0
- package/storybook/components/DynamicFilter/DynamicFilter.stories.d.ts +11 -27
- package/storybook/components/DynamicSort/DynamicSort.stories.d.ts +10 -26
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +0 -1
- package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +0 -1
- package/utils/index.d.ts +0 -1
- package/components/SideBar/hooks/useCollapse/index.d.ts +0 -1
- package/components/SideBar/hooks/useCollapse/useCollapse.d.ts +0 -11
- package/components/SideBar/hooks/useCollapse/useCollapse.js +0 -23
- package/components/SideBar/subcomponents/Promotion/types.d.ts +0 -5
- package/components/SideBar/subcomponents/TreeGroupItems/index.d.ts +0 -5
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/index.js +0 -69
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/types.d.ts +0 -9
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.d.ts +0 -5
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.js +0 -56
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/index.d.ts +0 -1
- package/components/SideBar/subcomponents/TreeGroupItems/types.d.ts +0 -4
- package/components/mui_extended/Divider/index.d.ts +0 -1
- package/components/mui_extended/Divider/index.js +0 -1
- package/storybook/components/SideBar/subcomponents/FooterPromotion/FooterPromotion.d.ts +0 -4
- package/storybook/components/SideBar/subcomponents/FooterPromotion/constants.d.ts +0 -3
- package/storybook/components/SideBar/subcomponents/FooterPromotion/index.d.ts +0 -1
- /package/components/{SideBar/hooks/useCollapse → DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick}/index.js +0 -0
- /package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups}/styles.d.ts +0 -0
- /package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups/subcomponents/ContainerMenuItemsMain}/subcomponents/ArrowIcon/index.d.ts +0 -0
- /package/components/SideBar/subcomponents/{TreeGroupItems → ContentGroups/subcomponents/ContainerMenuItemsMain}/subcomponents/ArrowIcon/types.d.ts +0 -0
- /package/components/SideBar/subcomponents/{Promotion → FooterSidebar}/styles.d.ts +0 -0
|
@@ -56,99 +56,57 @@ const splitLayoutStyles = {
|
|
|
56
56
|
*/
|
|
57
57
|
splitResizeHandle: ({ theme, ownerState }) => ({
|
|
58
58
|
position: "relative",
|
|
59
|
-
display: "flex",
|
|
60
|
-
alignItems: "center",
|
|
61
|
-
justifyContent: "center",
|
|
62
59
|
...ownerState?.splitPosition === "none" && {
|
|
63
60
|
display: "none"
|
|
64
61
|
//Garantiza que no se muestre el splitResizeHandle cuando el splitPosition es none
|
|
65
62
|
},
|
|
66
63
|
"&.M4LSplitLayout-splitResizeHandle-horizontal": {
|
|
67
|
-
width:
|
|
64
|
+
width: "1px",
|
|
68
65
|
margin: "1px 0px",
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
zIndex: "1",
|
|
72
|
-
transform: "rotate(90deg)",
|
|
73
|
-
width: theme.vars.size.baseSpacings.sp5,
|
|
74
|
-
height: theme.vars.size.baseSpacings.sp5,
|
|
75
|
-
"& .M4LIcon-icon": {
|
|
76
|
-
backgroundColor: theme.vars.palette.primary.focusVisible
|
|
77
|
-
},
|
|
78
|
-
"&::before": {
|
|
79
|
-
content: `""`,
|
|
80
|
-
position: "absolute",
|
|
81
|
-
left: `calc(50% - ${theme.vars.size.baseSpacings.sp5} / 2)`,
|
|
82
|
-
right: `calc(50% - ${theme.vars.size.baseSpacings.sp5} / 2)`,
|
|
83
|
-
width: theme.vars.size.baseSpacings.sp5,
|
|
84
|
-
height: theme.vars.size.baseSpacings.sp5,
|
|
85
|
-
backgroundColor: theme.vars.palette.background.default,
|
|
86
|
-
borderRadius: "50%",
|
|
87
|
-
zIndex: "0"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"&:after": {
|
|
91
|
-
content: `""`,
|
|
92
|
-
zIndex: "0",
|
|
93
|
-
width: "2px",
|
|
94
|
-
boxShadow: `inset 1px 0px 0px 0px ${theme.vars.palette.border.disabled}`,
|
|
66
|
+
background: theme.vars.palette.border.default,
|
|
67
|
+
"&:before": {
|
|
95
68
|
position: "absolute",
|
|
96
|
-
|
|
97
|
-
|
|
69
|
+
display: "flex",
|
|
70
|
+
content: `""`,
|
|
71
|
+
width: "4px",
|
|
72
|
+
height: "56px",
|
|
73
|
+
left: "-1px",
|
|
74
|
+
top: "calc(50% - 30.5px)",
|
|
75
|
+
background: theme.vars.palette.primary.enabled,
|
|
76
|
+
borderRadius: theme.vars.size.borderRadius["r0-5"],
|
|
77
|
+
zIndex: "1"
|
|
78
|
+
},
|
|
79
|
+
"&:hover:before": {
|
|
80
|
+
background: theme.vars.palette.primary.hover
|
|
81
|
+
},
|
|
82
|
+
"&:active:before": {
|
|
83
|
+
background: theme.vars.palette.primary.hover
|
|
98
84
|
}
|
|
99
85
|
},
|
|
100
86
|
"&.M4LSplitLayout-splitResizeHandle-vertical": {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
opacity: 0,
|
|
106
|
-
zIndex: "1",
|
|
107
|
-
width: theme.vars.size.baseSpacings.sp5,
|
|
108
|
-
height: theme.vars.size.baseSpacings.sp5,
|
|
109
|
-
"& .M4LIcon-icon": {
|
|
110
|
-
backgroundColor: theme.vars.palette.primary.main
|
|
111
|
-
},
|
|
112
|
-
"&::before": {
|
|
113
|
-
content: `""`,
|
|
114
|
-
position: "absolute",
|
|
115
|
-
top: `calc(50% - ${theme.vars.size.baseSpacings.sp5} / 2)`,
|
|
116
|
-
bottom: `calc(50% - ${theme.vars.size.baseSpacings.sp5} / 2)`,
|
|
117
|
-
width: theme.vars.size.baseSpacings.sp5,
|
|
118
|
-
height: theme.vars.size.baseSpacings.sp5,
|
|
119
|
-
backgroundColor: theme.vars.palette.background.default,
|
|
120
|
-
borderRadius: "50%",
|
|
121
|
-
zIndex: "0"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"&::after": {
|
|
125
|
-
content: `""`,
|
|
126
|
-
zIndex: "0",
|
|
127
|
-
height: "2px",
|
|
128
|
-
boxShadow: `inset 0px 1px 0px 0px ${theme.vars.palette.border.disabled}`,
|
|
87
|
+
height: "1px",
|
|
88
|
+
margin: "0px 1px",
|
|
89
|
+
background: theme.vars.palette.border.default,
|
|
90
|
+
"&:before": {
|
|
129
91
|
position: "absolute",
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
92
|
+
display: "flex",
|
|
93
|
+
content: `""`,
|
|
94
|
+
width: "56px",
|
|
95
|
+
height: "4px",
|
|
96
|
+
top: "-1px",
|
|
97
|
+
left: "calc(50% - 22.5px)",
|
|
98
|
+
background: theme.vars.palette.primary.enabled,
|
|
99
|
+
borderRadius: theme.vars.size.borderRadius["r0-5"],
|
|
100
|
+
zIndex: "1"
|
|
138
101
|
},
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
boxShadow: `inset 0px 1px 0px 0px ${theme.vars.palette.primary.focusVisible}`
|
|
142
|
-
}
|
|
102
|
+
"&:hover:before": {
|
|
103
|
+
background: theme.vars.palette.primary.hover
|
|
143
104
|
},
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
boxShadow: `inset 1px 0px 0px 0px ${theme.vars.palette.primary.focusVisible}`
|
|
147
|
-
}
|
|
105
|
+
"&:active:before": {
|
|
106
|
+
background: theme.vars.palette.primary.hover
|
|
148
107
|
}
|
|
149
108
|
}
|
|
150
|
-
})
|
|
151
|
-
splitResizeHandleIcon: {}
|
|
109
|
+
})
|
|
152
110
|
};
|
|
153
111
|
export {
|
|
154
112
|
splitLayoutStyles as s
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
const SPLIT_LAYOUT_KEY_COMPONENT = "M4LSplitLayout";
|
|
2
|
-
const SPLIT_LAYOUT_ICONS = {
|
|
3
|
-
handleIcon: "frontend/components/split_layout/assets/icons/CaretCircleUpDown.svg"
|
|
4
|
-
};
|
|
5
2
|
export {
|
|
6
|
-
SPLIT_LAYOUT_KEY_COMPONENT as S
|
|
7
|
-
SPLIT_LAYOUT_ICONS as a
|
|
3
|
+
SPLIT_LAYOUT_KEY_COMPONENT as S
|
|
8
4
|
};
|
|
@@ -3,7 +3,6 @@ var SplitLayoutSlots = /* @__PURE__ */ ((SplitLayoutSlots2) => {
|
|
|
3
3
|
SplitLayoutSlots2["splitMaster"] = "splitMaster";
|
|
4
4
|
SplitLayoutSlots2["splitDetail"] = "splitDetail";
|
|
5
5
|
SplitLayoutSlots2["splitResizeHandle"] = "splitResizeHandle";
|
|
6
|
-
SplitLayoutSlots2["splitResizeHandleIcon"] = "splitResizeHandleIcon";
|
|
7
6
|
return SplitLayoutSlots2;
|
|
8
7
|
})(SplitLayoutSlots || {});
|
|
9
8
|
export {
|
|
@@ -71,6 +71,3 @@ export declare const SplitResizeHandleStyled: import('@emotion/styled').StyledCo
|
|
|
71
71
|
}, "children" | "title" | "id" | "disabled" | "hidden" | "color" | "content" | "style" | "translate" | "className" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tagName" | "hitAreaMargins" | "onDragging"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
72
72
|
ownerState?: (Partial<import('../types').SplitLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
73
73
|
}, {}, {}>;
|
|
74
|
-
export declare const SplitResizeHandleIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
75
|
-
ownerState?: (Partial<import('../types').SplitLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
76
|
-
}, {}, {}>;
|
|
@@ -3,7 +3,6 @@ import { PanelGroup, Panel, PanelResizeHandle } from "react-resizable-panels";
|
|
|
3
3
|
import { S as SPLIT_LAYOUT_KEY_COMPONENT } from "../constants.js";
|
|
4
4
|
import { s as splitLayoutStyles } from "../SplitLayout.styles.js";
|
|
5
5
|
import { S as SplitLayoutSlots } from "./SplitLayoutEnum.js";
|
|
6
|
-
import { I as Icon } from "../../../Icon/Icon.js";
|
|
7
6
|
const SplitLayoutRootStyled = styled(PanelGroup, {
|
|
8
7
|
slot: SplitLayoutSlots.root,
|
|
9
8
|
name: SPLIT_LAYOUT_KEY_COMPONENT
|
|
@@ -20,14 +19,9 @@ const SplitResizeHandleStyled = styled(PanelResizeHandle, {
|
|
|
20
19
|
slot: SplitLayoutSlots.splitResizeHandle,
|
|
21
20
|
name: SPLIT_LAYOUT_KEY_COMPONENT
|
|
22
21
|
})(splitLayoutStyles.splitResizeHandle);
|
|
23
|
-
const SplitResizeHandleIconStyled = styled(Icon, {
|
|
24
|
-
slot: SplitLayoutSlots.splitResizeHandleIcon,
|
|
25
|
-
name: SPLIT_LAYOUT_KEY_COMPONENT
|
|
26
|
-
})(splitLayoutStyles.splitResizeHandleIcon);
|
|
27
22
|
export {
|
|
28
23
|
SplitLayoutRootStyled as S,
|
|
29
24
|
SplitMasterStyled as a,
|
|
30
25
|
SplitResizeHandleStyled as b,
|
|
31
|
-
|
|
32
|
-
SplitDetailStyled as d
|
|
26
|
+
SplitDetailStyled as c
|
|
33
27
|
};
|
|
@@ -6,8 +6,8 @@ const rhfTextFieldPasswordStyles = {
|
|
|
6
6
|
root: ({ theme, ownerState }) => ({
|
|
7
7
|
display: "flex",
|
|
8
8
|
flexDirection: "column",
|
|
9
|
+
borderAlingment: "center",
|
|
9
10
|
gap: theme.vars.size.baseSpacings["sp0-5"],
|
|
10
|
-
width: "100%",
|
|
11
11
|
"& .MuiFormControl-root": {
|
|
12
12
|
minHeight: "100%",
|
|
13
13
|
...getHeightSizeStyles(
|
|
@@ -84,8 +84,7 @@ const accordionStyles = {
|
|
|
84
84
|
* *******************************************************************
|
|
85
85
|
*/
|
|
86
86
|
accordionLabel: ({ theme }) => ({
|
|
87
|
-
color: theme.vars.palette.text.primary
|
|
88
|
-
paddingLeft: theme.vars.size.baseSpacings.sp1
|
|
87
|
+
color: theme.vars.palette.text.primary
|
|
89
88
|
}),
|
|
90
89
|
/**
|
|
91
90
|
* *************************************************
|
|
@@ -102,22 +101,15 @@ const accordionStyles = {
|
|
|
102
101
|
* **************************************************************
|
|
103
102
|
*/
|
|
104
103
|
accordionDetails: ({ theme, ownerState }) => ({
|
|
105
|
-
|
|
106
|
-
paddingRight: theme.vars.size.baseSpacings.sp3,
|
|
107
|
-
paddingTop: theme.vars.size.baseSpacings.sp1,
|
|
108
|
-
paddingBottom: theme.vars.size.baseSpacings.sp1,
|
|
104
|
+
padding: theme.vars.size.baseSpacings.sp3,
|
|
109
105
|
background: theme.vars.palette.background.default,
|
|
110
106
|
display: "flex",
|
|
111
107
|
flexDirection: "column",
|
|
112
108
|
alignItems: "flex-start",
|
|
113
109
|
alignSelf: "stretch",
|
|
114
|
-
overflow: "hidden",
|
|
115
110
|
...ownerState?.variant === "outlined" && {
|
|
116
111
|
borderBottomLeftRadius: theme.size.borderRadius["r1-5"],
|
|
117
112
|
borderBottomRightRadius: theme.size.borderRadius["r1-5"]
|
|
118
|
-
},
|
|
119
|
-
"& .MuiStack-root .M4LPropertyValue-root:last-of-type": {
|
|
120
|
-
borderBottom: "unset"
|
|
121
113
|
}
|
|
122
114
|
})
|
|
123
115
|
};
|
|
@@ -124,9 +124,8 @@ const tabStyles = {
|
|
|
124
124
|
* Slot de Tipografía:
|
|
125
125
|
* - **Estilos Generales**: Configura el color base del texto, aplicando especificidad para clases específicas.
|
|
126
126
|
*/
|
|
127
|
-
tipography: ({
|
|
127
|
+
tipography: ({ ownerState }) => ({
|
|
128
128
|
cursor: "pointer",
|
|
129
|
-
paddingLeft: theme.vars.size.baseSpacings.sp1,
|
|
130
129
|
...ownerState?.tabSkeleton && {
|
|
131
130
|
width: "32px"
|
|
132
131
|
}
|
|
@@ -21,11 +21,17 @@ const tabContentStyles = {
|
|
|
21
21
|
zIndex: "0",
|
|
22
22
|
top: "-1px",
|
|
23
23
|
...ownerState?.background ? {
|
|
24
|
-
backgroundColor: theme.vars.palette.background.
|
|
24
|
+
backgroundColor: theme.vars.palette.background.neutral,
|
|
25
25
|
paddingLeft: theme.vars.size.baseSpacings.sp2,
|
|
26
26
|
paddingRight: theme.vars.size.baseSpacings.sp2,
|
|
27
27
|
paddingBottom: theme.vars.size.baseSpacings.sp2
|
|
28
|
-
} : {}
|
|
28
|
+
} : {},
|
|
29
|
+
"& .M4LStack-root": {
|
|
30
|
+
gap: `${theme.vars.size.baseSpacings.sp2} !important`
|
|
31
|
+
},
|
|
32
|
+
"&.M4LTabContent-root > div": {
|
|
33
|
+
gap: theme.vars.size.baseSpacings.sp2
|
|
34
|
+
}
|
|
29
35
|
})
|
|
30
36
|
};
|
|
31
37
|
export {
|
|
@@ -25,7 +25,7 @@ const TextField = forwardRef(function TextField2(props, ref) {
|
|
|
25
25
|
const { currentSize } = useComponentSize(size);
|
|
26
26
|
const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
|
|
27
27
|
const theme = useTheme();
|
|
28
|
-
const paletteColor = error && theme.
|
|
28
|
+
const paletteColor = error && theme.palette.error || theme.palette.primary;
|
|
29
29
|
const ownerState = {
|
|
30
30
|
size: adjustedSize,
|
|
31
31
|
disabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getTypographyStyles } from "../../../utils/getTypographyStyles.js";
|
|
2
|
-
import { a as getHeightSizeStyles
|
|
2
|
+
import { a as getHeightSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
|
|
3
3
|
import { T as TEXT_FIELD_CLASSES } from "./constants.js";
|
|
4
4
|
const textFieldStyles = {
|
|
5
5
|
/**
|
|
@@ -28,19 +28,17 @@ const textFieldStyles = {
|
|
|
28
28
|
// transición
|
|
29
29
|
transition: "all 0.2s ease",
|
|
30
30
|
// Espaciado entre elementos
|
|
31
|
-
...
|
|
32
|
-
theme,
|
|
31
|
+
...getHeightSizeStyles(
|
|
32
|
+
theme.generalSettings.isMobile,
|
|
33
33
|
ownerState?.size || "medium",
|
|
34
34
|
"action",
|
|
35
|
-
(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
(height) => {
|
|
36
|
+
return {
|
|
37
|
+
height: "auto",
|
|
38
|
+
minHeight: height
|
|
39
|
+
};
|
|
40
|
+
}
|
|
39
41
|
),
|
|
40
|
-
"& .MuiInputBase-input.MuiInputBase-inputMultiline": {
|
|
41
|
-
paddingTop: theme.vars.size.baseSpacings.sp1,
|
|
42
|
-
paddingBottom: theme.vars.size.baseSpacings.sp1
|
|
43
|
-
},
|
|
44
42
|
...ownerState?.readOnly ? {
|
|
45
43
|
backgroundColor: theme.vars.palette.background.neutral
|
|
46
44
|
} : {}
|
|
@@ -61,7 +59,7 @@ const textFieldStyles = {
|
|
|
61
59
|
"body"
|
|
62
60
|
),
|
|
63
61
|
"&::placeholder": {
|
|
64
|
-
color: theme.
|
|
62
|
+
color: theme.palette.text.disabled
|
|
65
63
|
},
|
|
66
64
|
"&:-webkit-autofill": {
|
|
67
65
|
backgroundColor: "transparent!important"
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { FilterFieldApplied } from '../../components/DynamicFilter/types';
|
|
2
|
+
import { SortFieldApplied } from '../../components/DynamicSort/types';
|
|
1
3
|
import { UseDynamicFilterAndSortProps } from './types';
|
|
4
|
+
import { SortChangeEvent, FilterChangeEvent } from '../../components/DataGrid/types';
|
|
2
5
|
/**
|
|
3
6
|
* Hook para manejar los filtros y ordenamientos dinamicos
|
|
4
7
|
*/
|
|
@@ -7,4 +10,8 @@ export declare const useDynamicFilterAndSort: (props: UseDynamicFilterAndSortPro
|
|
|
7
10
|
rightActions: import("react/jsx-runtime").JSX.Element;
|
|
8
11
|
visibleCustomHeader: boolean;
|
|
9
12
|
customHeaderComponent: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
getCurrentSorts: () => SortFieldApplied[];
|
|
14
|
+
handleChangeSortExternal: (sortApplied: SortChangeEvent) => void;
|
|
15
|
+
handleChangeFilterExternal: (event: FilterChangeEvent) => void;
|
|
16
|
+
getCurrentFilters: () => FilterFieldApplied[];
|
|
10
17
|
};
|