@m4l/components 9.1.39 → 9.1.41
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 +16 -0
- package/components/AccountPopover/AccountPopover.js +32 -39
- package/components/AccountPopover/{style.js → AccountPopover.styles.js} +17 -10
- package/components/AccountPopover/slots/AccountPopoverEnum.d.ts +3 -3
- package/components/AccountPopover/slots/AccountPopoverEnum.js +3 -3
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +8 -8
- package/components/AccountPopover/slots/AccountPopoverSlots.js +16 -16
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +3 -2
- package/components/AccountPopover/subcomponents/MyAvatar/MyAvatar.js +2 -3
- package/components/AccountPopover/subcomponents/MyAvatar/types.d.ts +4 -0
- package/components/AppBar/AppBar.js +1 -1
- package/components/AppBar/slots/AppBarSlots.d.ts +6 -6
- package/components/Chip/slots/ChipSlots.d.ts +2 -2
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +4 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +4 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +4 -0
- package/components/DragResizeWindow/slots/DragResizeWindowSlots.d.ts +2 -2
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +16 -16
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +16 -16
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/slots/IconSlots.d.ts +2 -2
- package/components/Icon/types.d.ts +1 -1
- package/components/Image/Image.d.ts +5 -0
- package/components/Image/Image.js +1 -1
- package/components/Image/hoc/WithTrackWindowScroll.d.ts +4 -0
- package/components/Image/image.styles.js +20 -7
- package/components/Image/slots/ImageEnum.d.ts +5 -5
- package/components/Image/slots/ImageEnum.js +5 -5
- package/components/Image/slots/ImageSlots.js +10 -10
- package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +5 -0
- package/components/Image/types.d.ts +1 -1
- package/components/Image/utils/get-scroll-ancestor.d.ts +4 -0
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +4 -0
- package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +1 -1
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/LanguagePopover.d.ts +5 -0
- package/components/MFLoader/MFLoader.js +3 -3
- package/components/MenuActions/MenuActions.d.ts +2 -2
- package/components/MenuActions/MenuActions.styles.d.ts +1 -0
- package/components/MenuActions/MenuActions.styles.js +8 -0
- package/components/MenuActions/dictionary.d.ts +14 -0
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
- package/components/MenuActions/types.d.ts +26 -0
- package/components/ModalDialog/ModalDialog.styles.js +3 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +4 -4
- package/components/ModalDialog/types.d.ts +1 -1
- package/components/PaperForm/PaperForm.js +1 -1
- package/components/PaperForm/slots/PaperFormSlots.d.ts +3 -3
- package/components/SideBar/slots/SideBarSlots.d.ts +15 -15
- package/components/SideBar/subcomponents/ContentComponent/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/index.js +4 -5
- package/components/SideBar/subcomponents/ContentGroups/styles.js +5 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +3 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +1 -1
- package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +1 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +1 -1
- package/components/SideBar/subcomponents/SideBarDesktop/index.js +1 -1
- package/components/SideBar/types.d.ts +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +5 -5
- package/components/WindowBase/WindowBase.d.ts +2 -2
- package/components/WindowBase/WindowBase.js +1 -1
- package/components/WindowBase/WindowBase.styles.js +24 -24
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +7 -7
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +2 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +2 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +4 -4
- package/components/WindowBase/types.d.ts +2 -2
- package/components/WindowConfirm/WindowConfirm.js +1 -1
- package/components/WindowConfirm/WindowConfirm.styles.js +5 -1
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +8 -8
- package/components/WindowConfirm/types.d.ts +1 -1
- package/components/animate/variants/background.d.ts +9 -9
- package/components/animate/variants/bounce.d.ts +9 -9
- package/components/animate/variants/fade.d.ts +20 -20
- package/components/animate/variants/flip.d.ts +6 -6
- package/components/animate/variants/rotate.d.ts +3 -3
- package/components/animate/variants/scale.d.ts +6 -6
- package/components/animate/variants/slide.d.ts +16 -16
- package/components/animate/variants/transition.d.ts +3 -3
- package/components/animate/variants/zoom.d.ts +15 -15
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.js +2 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.js +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +4 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +4 -0
- package/components/areas/contexts/AreasContext/store.js +1 -397
- package/components/areas/types.d.ts +27 -2
- package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +4 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +1 -1
- package/components/formatters/BooleanFormatter/types.d.ts +1 -1
- package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +2 -2
- package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +2 -2
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/RFHColorPicker.js +1 -1
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +2 -2
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +4 -0
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +2 -2
- package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +1 -1
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +3 -3
- package/components/maps/components/Map/slots/MapSlots.d.ts +3 -3
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +4 -0
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +4 -0
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +4 -0
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +2 -2
- package/components/mui_extended/Accordion/Accordion.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.js +10 -3
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +18 -6
- package/components/mui_extended/Accordion/styles.js +9 -7
- package/components/mui_extended/Accordion/types.d.ts +2 -1
- package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +3 -3
- package/components/mui_extended/Avatar/Avatar.js +19 -12
- package/components/mui_extended/Avatar/constants.d.ts +1 -0
- package/components/mui_extended/Avatar/constants.js +4 -0
- package/components/mui_extended/Avatar/slots/AvatarEnum.d.ts +3 -0
- package/components/mui_extended/Avatar/slots/AvatarEnum.js +7 -0
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +5 -0
- package/components/mui_extended/Avatar/slots/AvatarSlots.js +12 -0
- package/components/mui_extended/Avatar/styles.d.ts +2 -1
- package/components/mui_extended/Avatar/styles.js +25 -5
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +7 -3
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.js +8 -8
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/types.d.ts +2 -2
- package/components/mui_extended/Avatar/tests/Avatar.test.d.ts +1 -0
- package/components/mui_extended/Avatar/types.d.ts +11 -3
- package/components/mui_extended/Badge/Badge.js +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/Button.d.ts +1 -1
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.styles.js +2 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
- package/components/mui_extended/CheckBox/types.d.ts +1 -1
- package/components/mui_extended/Dialog/Dialog.js +1 -1
- package/components/mui_extended/Dialog/Dialog.styles.js +5 -3
- package/components/mui_extended/Dialog/slots/DialogSlots.d.ts +2 -2
- package/components/mui_extended/Dialog/types.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +2 -2
- package/components/mui_extended/IconButton/IconButton.js +1 -1
- package/components/mui_extended/IconButton/IconButton.styles.js +12 -4
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +3 -3
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/ImageButton/ImageButton.d.ts +4 -0
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +2 -2
- package/components/mui_extended/MenuItem/MenuItem.js +1 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +20 -12
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +2 -2
- package/components/mui_extended/Pager/classes/index.d.ts +1 -1
- package/components/mui_extended/Popover/Popover.d.ts +5 -0
- package/components/mui_extended/Popover/Popover.styles.js +8 -0
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.d.ts +4 -0
- package/components/mui_extended/Tab/Tab.js +1 -1
- package/components/mui_extended/Tab/Tab.styles.d.ts +1 -0
- package/components/mui_extended/Tab/Tab.styles.js +10 -0
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.d.ts +2 -2
- package/components/mui_extended/TextField/TextField.styles.js +4 -4
- package/components/mui_extended/TextField/constants.js +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
- package/components/mui_extended/ToggleButton/ToggleButton.js +1 -1
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +1 -1
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/Tooltip/Tooltip.styles.js +2 -1
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +1 -1
- package/components/mui_extended/Tooltip/types.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +2 -2
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +5 -5
- package/package.json +1 -1
- package/utils/getComponentSlotRoot.js +2 -2
- package/components/mui_extended/Avatar/classes/constants.d.ts +0 -1
- package/components/mui_extended/Avatar/classes/constants.js +0 -4
- package/components/mui_extended/Avatar/classes/index.d.ts +0 -10
- package/components/mui_extended/Avatar/classes/index.js +0 -25
- package/components/mui_extended/Avatar/classes/types.d.ts +0 -7
- package/components/mui_extended/Avatar/index.js +0 -1
- package/components/mui_extended/Avatar/tests/constants.d.ts +0 -1
- package/components/mui_extended/Avatar/tests/constants.js +0 -4
- package/components/mui_extended/Avatar/tests/index.test.d.ts +0 -5
- package/components/mui_extended/Avatar/tests/utils.d.ts +0 -2
- package/components/mui_extended/Avatar/tests/utils.js +0 -7
- /package/components/AccountPopover/{style.d.ts → AccountPopover.styles.d.ts} +0 -0
|
@@ -20,17 +20,16 @@ const ContentGroups = (props) => {
|
|
|
20
20
|
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Typography, { variant: "bodyDens", skeletonWidth: "100px", children: title }) });
|
|
21
21
|
};
|
|
22
22
|
const renderItems = (item) => {
|
|
23
|
-
return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, { ownerState: {}, children: item?.map((list
|
|
23
|
+
return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, { ownerState: {}, children: item?.map((list) => /* @__PURE__ */ jsx(ContainerMenuItemsMain, { item: list, openSubItem: true, size: currentSize }, list.title)) });
|
|
24
24
|
};
|
|
25
25
|
const renderItemsDisabled = () => {
|
|
26
|
-
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: { disabled: true }, children:
|
|
26
|
+
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: { disabled: true }, children: /* @__PURE__ */ jsx(
|
|
27
27
|
MenuItem,
|
|
28
28
|
{
|
|
29
29
|
disabled: true,
|
|
30
30
|
label: getLabel("sidebar.label_no_items")
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
)) });
|
|
31
|
+
}
|
|
32
|
+
) });
|
|
34
33
|
};
|
|
35
34
|
return /* @__PURE__ */ jsx(
|
|
36
35
|
ContainerContentGroupsRootStyled,
|
|
@@ -3,7 +3,7 @@ const contentGroupStyles = {
|
|
|
3
3
|
* Container for the group items in the sidebar
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
containerContentGroupsRoot: ({ theme, ownerState }) => ({
|
|
@@ -20,7 +20,7 @@ const contentGroupStyles = {
|
|
|
20
20
|
* Wrapper for every principal item group in the sidebar
|
|
21
21
|
* @author Andrés Quintero - automatic
|
|
22
22
|
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
23
|
-
* @updatedAt 2024-12-
|
|
23
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
24
24
|
* @updatedUser Andrés Quintero - automatic
|
|
25
25
|
*/
|
|
26
26
|
containerContentGroups: ({ theme }) => ({
|
|
@@ -33,7 +33,7 @@ const contentGroupStyles = {
|
|
|
33
33
|
* Title wrapper for every principal item group in the sidebar
|
|
34
34
|
* @author Andrés Quintero - automatic
|
|
35
35
|
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
36
|
-
* @updatedAt 2024-12-
|
|
36
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
37
37
|
* @updatedUser Andrés Quintero - automatic
|
|
38
38
|
*/
|
|
39
39
|
containerContentTitle: ({ theme, ownerState }) => ({
|
|
@@ -48,7 +48,7 @@ const contentGroupStyles = {
|
|
|
48
48
|
* Navigation wrapper for every principal item group in the sidebar
|
|
49
49
|
* @author Andrés Quintero - automatic
|
|
50
50
|
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
51
|
-
* @updatedAt 2024-12-
|
|
51
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
52
52
|
* @updatedUser Andrés Quintero - automatic
|
|
53
53
|
*/
|
|
54
54
|
containerContentNavItems: ({ theme }) => ({
|
|
@@ -61,7 +61,7 @@ const contentGroupStyles = {
|
|
|
61
61
|
*Container for the items in the sidebar group
|
|
62
62
|
* @author Andrés Quintero - automatic
|
|
63
63
|
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
64
|
-
* @updatedAt 2024-12-
|
|
64
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
65
65
|
* @updatedUser Andrés Quintero - automatic
|
|
66
66
|
*/
|
|
67
67
|
containerContentItem: ({ theme }) => ({
|
|
@@ -6,7 +6,7 @@ import { NavListSubItemProps } from './types';
|
|
|
6
6
|
* @param {boolean} props.openSubItem - Estado del item del menu: Abierto - cerrado
|
|
7
7
|
* @author Andrés Quintero - automatic
|
|
8
8
|
* @createdAt 2024-11-14 17:08:16 - automatic
|
|
9
|
-
* @updatedAt 2024-12-
|
|
9
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
10
10
|
* @updatedUser Andrés Quintero - automatic
|
|
11
11
|
*/
|
|
12
12
|
export declare function ContainerMenuItemsMain(props: NavListSubItemProps): import("react/jsx-runtime").JSX.Element;
|
package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { T as TEST_PROP_ID } from "../../../../../../test/constants_no_mock.js";
|
|
|
8
8
|
import { g as getNameDataTestId } from "../../../../tests/utils.js";
|
|
9
9
|
import { A as ArrowIcon } from "./subcomponents/ArrowIcon/index.js";
|
|
10
10
|
import { e as ContainerMenuItemsStyled } from "../../../../slots/SideBarSlots.js";
|
|
11
|
-
import {
|
|
11
|
+
import { a as getComponentSlotRoot } from "../../../../../../utils/getComponentSlotRoot.js";
|
|
12
12
|
import { I as ITEM_ACTIVE, a as ITEM_IN_TREE_ACTIVE, P as PATH_ICONS, L as LIST_MENU_ITEM } from "../../../../constants.js";
|
|
13
13
|
import { useEnvironment } from "@m4l/core";
|
|
14
14
|
import { u as useComponentSize } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
|
|
@@ -28,9 +28,7 @@ function ContainerMenuItemsMain(props) {
|
|
|
28
28
|
sidebarSize: adjustedSize
|
|
29
29
|
};
|
|
30
30
|
const handlerClick = () => {
|
|
31
|
-
|
|
32
|
-
onMenuItemClick(item);
|
|
33
|
-
}
|
|
31
|
+
onMenuItemClick(item);
|
|
34
32
|
setOpenSub(!openSub);
|
|
35
33
|
if (isMobile && (!hasChildren || hasChildren === void 0)) {
|
|
36
34
|
onToggleVisible(true);
|
|
@@ -53,7 +51,7 @@ function ContainerMenuItemsMain(props) {
|
|
|
53
51
|
selected: item.active || item.itemInTreeActive,
|
|
54
52
|
startIcon: `${host_static_assets}/${environment_assets}${PATH_ICONS}${item.iconUrl}`,
|
|
55
53
|
endIcon: hasChildren ? /* @__PURE__ */ jsx(ArrowIcon, { openState: openSub, active: item.active }) : null,
|
|
56
|
-
onClick: handlerClick,
|
|
54
|
+
onClick: () => handlerClick(),
|
|
57
55
|
size: adjustedSize
|
|
58
56
|
}
|
|
59
57
|
),
|
|
@@ -4,7 +4,7 @@ const containerMenuItemsMainStyles = {
|
|
|
4
4
|
* Style aplicado al contenedor de los items del menú
|
|
5
5
|
* @author Andrés Quintero - automatic
|
|
6
6
|
* @createdAt 2024-11-19 20:54:12 - automatic
|
|
7
|
-
* @updatedAt 2024-12-
|
|
7
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
8
8
|
* @updatedUser Andrés Quintero - automatic
|
|
9
9
|
*/
|
|
10
10
|
containerMenuItems: ({ theme, ownerState }) => ({
|
|
@@ -55,7 +55,7 @@ const containerMenuItemsMainStyles = {
|
|
|
55
55
|
*Style para el contenedor del icono de flecha que indica si el item está colapsado o descolapsado para los items padres
|
|
56
56
|
* @author Andrés Quintero - automatic
|
|
57
57
|
* @createdAt 2024-11-19 20:54:12 - automatic
|
|
58
|
-
* @updatedAt 2024-12-
|
|
58
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
59
59
|
* @updatedUser Andrés Quintero - automatic
|
|
60
60
|
*/
|
|
61
61
|
containerArrowIconRoot: () => ({
|
|
@@ -3,7 +3,7 @@ import { ArrowIconProps } from './types';
|
|
|
3
3
|
* Render arrow icon in the sidebar
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-11-05 18:00:46 - automatic
|
|
6
|
-
* @updatedAt 2024-
|
|
6
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare function ArrowIcon(props: ArrowIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { FooterSidebarProps } from './types';
|
|
|
7
7
|
* @returns
|
|
8
8
|
* @author Andrés Quintero - automatic
|
|
9
9
|
* @createdAt 2024-11-05 18:16:45 - automatic
|
|
10
|
-
* @updatedAt 2024-
|
|
10
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
11
11
|
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
export default function FooterSidebar({ anchored }: FooterSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ const footerSideBarStyles = {
|
|
|
3
3
|
* Estilo aplicado al contenedor del footer
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-11-14 18:39:10 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
containerFooter: ({ theme, ownerState }) => ({
|
|
@@ -6,7 +6,7 @@ import { c as PATH_ARROW_RIGHT_ICON, S as SIDEBAR_KEY_COMPONENT, C as CONTAINER_
|
|
|
6
6
|
import { C as ContentComponent } from "../ContentComponent/index.js";
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import { useFirstRender } from "@m4l/graphics";
|
|
9
|
-
import {
|
|
9
|
+
import { a as getComponentSlotRoot } from "../../../../utils/getComponentSlotRoot.js";
|
|
10
10
|
import { I as IconButton } from "../../../mui_extended/IconButton/IconButton.js";
|
|
11
11
|
const SideBarDesktop = () => {
|
|
12
12
|
const { anchored, onToggleAnchored, expandedWidth } = useSideBar();
|
|
@@ -29,7 +29,7 @@ export interface SideBarProps {
|
|
|
29
29
|
companyName?: string;
|
|
30
30
|
companySlogan?: string;
|
|
31
31
|
variantStyle?: 'variantDefault' | 'variantComercial';
|
|
32
|
-
moduleSelectedId?: string;
|
|
32
|
+
moduleSelectedId?: string | undefined;
|
|
33
33
|
onMenuItemClick: (item: MenuDataType) => void;
|
|
34
34
|
onToggleAnchored: (anchored: boolean) => void;
|
|
35
35
|
onToggleVisible: (visible: boolean) => void;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
3
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const MessageRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
5
5
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
6
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
6
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const MessageHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
8
8
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
9
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
9
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const MessageIconRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
12
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
12
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
export declare const MessageIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
14
14
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export declare const MessageTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
17
17
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
18
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').
|
|
18
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').ClassAttributes<HTMLElement> | keyof import('react').HTMLAttributes<HTMLElement>>, {}>;
|
|
19
19
|
export declare const MessageDescriptionStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
20
20
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import('react').ClassAttributes<HTMLParagraphElement> | keyof import('react').HTMLAttributes<HTMLParagraphElement>>, {}>;
|
|
@@ -5,7 +5,7 @@ import { WindowBaseProps } from './types';
|
|
|
5
5
|
* It uses hooks like `useModal` and utility style classes.
|
|
6
6
|
* @author cesar - automatic
|
|
7
7
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
8
|
-
* @updatedAt 2024-12-
|
|
9
|
-
* @updatedUser
|
|
8
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
9
|
+
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
export declare const WindowBase: (props: WindowBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { u as useComponentSize } from "../../hooks/useComponentSize/useComponent
|
|
|
3
3
|
import { A as AppearanceComponentProvider } from "../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
4
4
|
import { a as getPropDataTestId } from "../../test/getNameDataTestId.js";
|
|
5
5
|
import { W as WINDOW_BASE_KEY_COMPONENT } from "./constants.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { H as HeaderWindowBase } from "./subcomponents/Header/HeaderWindowBase.js";
|
|
9
9
|
import { W as WindowBaseStyled, C as ContentWindowStyled } from "./slots/WindowBaseSlots.js";
|
|
@@ -3,8 +3,8 @@ const windowBaseStyles = {
|
|
|
3
3
|
* Styles for the window base wrapper component.
|
|
4
4
|
* @author cesar - automatic
|
|
5
5
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
7
|
-
* @updatedUser
|
|
6
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
wrapperWindowBase: ({ theme, ownerState }) => ({
|
|
10
10
|
height: "100%",
|
|
@@ -27,8 +27,8 @@ const windowBaseStyles = {
|
|
|
27
27
|
* Styles for the content of the window base component.
|
|
28
28
|
* @author cesar - automatic
|
|
29
29
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
30
|
-
* @updatedAt 2024-12-
|
|
31
|
-
* @updatedUser
|
|
30
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
31
|
+
* @updatedUser Andrés Quintero - automatic
|
|
32
32
|
*/
|
|
33
33
|
contentWindowBase: ({ theme }) => ({
|
|
34
34
|
padding: theme.vars.size.baseSpacings.sp3,
|
|
@@ -40,8 +40,8 @@ const windowBaseStyles = {
|
|
|
40
40
|
* Styles for the header of the window base component.
|
|
41
41
|
* @author cesar - automatic
|
|
42
42
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
43
|
-
* @updatedAt 2024-12-
|
|
44
|
-
* @updatedUser
|
|
43
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
44
|
+
* @updatedUser Andrés Quintero - automatic
|
|
45
45
|
*/
|
|
46
46
|
headerWindowComponent: ({ theme, ownerState }) => ({
|
|
47
47
|
width: "100%",
|
|
@@ -77,8 +77,8 @@ const windowBaseStyles = {
|
|
|
77
77
|
* Styles for the content of the header of the window base component.
|
|
78
78
|
* @author cesar - automatic
|
|
79
79
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
80
|
-
* @updatedAt 2024-12-
|
|
81
|
-
* @updatedUser
|
|
80
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
81
|
+
* @updatedUser Andrés Quintero - automatic
|
|
82
82
|
*/
|
|
83
83
|
headerContentWindowBase: ({ theme }) => ({
|
|
84
84
|
width: "100%",
|
|
@@ -94,8 +94,8 @@ const windowBaseStyles = {
|
|
|
94
94
|
* Styles for the title of the header of the window base component.
|
|
95
95
|
* @author cesar - automatic
|
|
96
96
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
97
|
-
* @updatedAt 2024-12-
|
|
98
|
-
* @updatedUser
|
|
97
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
98
|
+
* @updatedUser Andrés Quintero - automatic
|
|
99
99
|
*/
|
|
100
100
|
headerTitleWindowBase: ({ theme }) => ({
|
|
101
101
|
minWidth: "30px",
|
|
@@ -110,8 +110,8 @@ const windowBaseStyles = {
|
|
|
110
110
|
* Styles for the subtitle container of the header of the window base component.
|
|
111
111
|
* @author cesar - automatic
|
|
112
112
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
113
|
-
* @updatedAt 2024-12-
|
|
114
|
-
* @updatedUser
|
|
113
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
114
|
+
* @updatedUser Andrés Quintero - automatic
|
|
115
115
|
*/
|
|
116
116
|
subtitleContainer: ({ theme }) => ({
|
|
117
117
|
display: "flex",
|
|
@@ -125,8 +125,8 @@ const windowBaseStyles = {
|
|
|
125
125
|
* @returns An object containing the styles for the dot window base component.
|
|
126
126
|
* @author cesar - automatic
|
|
127
127
|
* @createdAt 2024-11-22 19:40:23 - automatic
|
|
128
|
-
* @updatedAt 2024-12-
|
|
129
|
-
* @updatedUser
|
|
128
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
129
|
+
* @updatedUser Andrés Quintero - automatic
|
|
130
130
|
*/
|
|
131
131
|
pointWindowBase: ({ theme, ownerState }) => ({
|
|
132
132
|
display: "flex",
|
|
@@ -152,8 +152,8 @@ const windowBaseStyles = {
|
|
|
152
152
|
* Styles for the subtitle of the header of the window base component.
|
|
153
153
|
* @author cesar - automatic
|
|
154
154
|
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
155
|
-
* @updatedAt 2024-12-
|
|
156
|
-
* @updatedUser
|
|
155
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
156
|
+
* @updatedUser Andrés Quintero - automatic
|
|
157
157
|
*/
|
|
158
158
|
headerSubTitleWindowBase: ({ theme }) => ({
|
|
159
159
|
width: "auto !important",
|
|
@@ -164,8 +164,8 @@ const windowBaseStyles = {
|
|
|
164
164
|
* Styles for the icon of the header of the window base component.
|
|
165
165
|
* @author cesar - automatic
|
|
166
166
|
* @createdAt 2024-11-18 08:11:19 - automatic
|
|
167
|
-
* @updatedAt 2024-12-
|
|
168
|
-
* @updatedUser
|
|
167
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
168
|
+
* @updatedUser Andrés Quintero - automatic
|
|
169
169
|
*/
|
|
170
170
|
headerIconWindowBase: ({ theme }) => ({
|
|
171
171
|
display: "flex",
|
|
@@ -178,8 +178,8 @@ const windowBaseStyles = {
|
|
|
178
178
|
* Styles for the icons wrapper of the window base component.
|
|
179
179
|
* @author cesar - automatic
|
|
180
180
|
* @createdAt 2024-11-18 08:11:19 - automatic
|
|
181
|
-
* @updatedAt 2024-12-
|
|
182
|
-
* @updatedUser
|
|
181
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
182
|
+
* @updatedUser Andrés Quintero - automatic
|
|
183
183
|
*/
|
|
184
184
|
iconsWrapperWindowBase: () => ({
|
|
185
185
|
display: "flex",
|
|
@@ -193,8 +193,8 @@ const windowBaseStyles = {
|
|
|
193
193
|
* Styles for the dot icon of the window base component.
|
|
194
194
|
* @author cesar - automatic
|
|
195
195
|
* @createdAt 2024-11-22 19:40:23 - automatic
|
|
196
|
-
* @updatedAt 2024-12-
|
|
197
|
-
* @updatedUser
|
|
196
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
197
|
+
* @updatedUser Andrés Quintero - automatic
|
|
198
198
|
*/
|
|
199
199
|
pointIcon: ({ theme, ownerState }) => ({
|
|
200
200
|
color: theme.vars.palette.text.primary,
|
|
@@ -218,8 +218,8 @@ const windowBaseStyles = {
|
|
|
218
218
|
* Styles for the menu actions of the window base component.
|
|
219
219
|
* @author cesar - automatic
|
|
220
220
|
* @createdAt 2024-12-05 07:49:27 - automatic
|
|
221
|
-
* @updatedAt 2024-12-
|
|
222
|
-
* @updatedUser
|
|
221
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
222
|
+
* @updatedUser Andrés Quintero - automatic
|
|
223
223
|
*/
|
|
224
224
|
menuActionsWindowBase: () => ({
|
|
225
225
|
left: "-50px"
|
|
@@ -9,25 +9,25 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const WindowBaseStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
12
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
12
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
/**
|
|
14
14
|
* Content component for the WindowBase container.
|
|
15
15
|
*/
|
|
16
16
|
export declare const ContentWindowStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
17
17
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
18
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
18
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
19
19
|
/**
|
|
20
20
|
* Header container for the component.
|
|
21
21
|
*/
|
|
22
22
|
export declare const HeaderWindowComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
23
23
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
24
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
24
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
25
25
|
/**
|
|
26
26
|
* Content wrapper for the header.
|
|
27
27
|
*/
|
|
28
28
|
export declare const HeaderContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
29
29
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
30
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
30
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
31
31
|
/**
|
|
32
32
|
* Icon component for the header.
|
|
33
33
|
*/
|
|
@@ -51,13 +51,13 @@ export declare const SubtitleWindowStyled: import('@emotion/styled').StyledCompo
|
|
|
51
51
|
*/
|
|
52
52
|
export declare const SubtitleContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
53
53
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
54
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
54
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
55
55
|
/**
|
|
56
56
|
* Point component for the header.
|
|
57
57
|
*/
|
|
58
58
|
export declare const PointStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
59
59
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
60
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
60
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
61
61
|
/**
|
|
62
62
|
* Point icon component for the header.
|
|
63
63
|
*/
|
|
@@ -69,7 +69,7 @@ export declare const PointIconStyled: import('@emotion/styled').StyledComponent<
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const IconsWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').WindowBaseOwnerState> & Record<string, unknown> & {
|
|
71
71
|
ownerState: Partial<import('..').WindowBaseOwnerState> & Record<string, unknown>;
|
|
72
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
72
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
73
73
|
/**
|
|
74
74
|
* Styled component for menu actions in the header.
|
|
75
75
|
*/
|
|
@@ -40,7 +40,7 @@ import { WindowBaseOwnerState } from '../../types';
|
|
|
40
40
|
* ```
|
|
41
41
|
* @author cesar - automatic
|
|
42
42
|
* @createdAt 2024-11-20 09:38:37 - automatic
|
|
43
|
-
* @updatedAt 2024-12-
|
|
44
|
-
* @updatedUser
|
|
43
|
+
* @updatedAt 2024-12-27 08:28:35 - automatic
|
|
44
|
+
* @updatedUser Andrés Quintero - automatic
|
|
45
45
|
*/
|
|
46
46
|
export declare const HeaderWindowBase: (props: HeaderProps & WindowBaseOwnerState) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,8 +7,8 @@ import { MemoizedIconButtonProps } from './types';
|
|
|
7
7
|
* It is memoized to avoid unnecessary re-renders when the props do not change.
|
|
8
8
|
* @author cesar - automatic
|
|
9
9
|
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
10
|
-
* @updatedAt 2024-12-
|
|
11
|
-
* @updatedUser
|
|
10
|
+
* @updatedAt 2024-12-27 08:28:36 - automatic
|
|
11
|
+
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
declare const MemoizedIconButton: React.MemoExoticComponent<({ iconUrl, label, disabled, onClick }: MemoizedIconButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
export default MemoizedIconButton;
|
|
@@ -17,16 +17,16 @@ export interface MemoizedIconButtonProps {
|
|
|
17
17
|
* Whether the button is disabled.
|
|
18
18
|
* @author cesar - automatic
|
|
19
19
|
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
20
|
-
* @updatedAt 2024-12-
|
|
21
|
-
* @updatedUser
|
|
20
|
+
* @updatedAt 2024-12-27 08:28:36 - automatic
|
|
21
|
+
* @updatedUser Andrés Quintero - automatic
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Callback function executed when the button is clicked.
|
|
26
26
|
* @author cesar - automatic
|
|
27
27
|
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
28
|
-
* @updatedAt 2024-12-
|
|
29
|
-
* @updatedUser
|
|
28
|
+
* @updatedAt 2024-12-27 08:28:36 - automatic
|
|
29
|
+
* @updatedUser Andrés Quintero - automatic
|
|
30
30
|
*/
|
|
31
31
|
onClick: () => void;
|
|
32
32
|
}
|
|
@@ -8,8 +8,8 @@ import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
|
8
8
|
* Type representing a single action in the `WindowBase` component.
|
|
9
9
|
* @author cesar - automatic
|
|
10
10
|
* @createdAt 2024-12-23 09:48:25 - automatic
|
|
11
|
-
* @updatedAt 2024-12-
|
|
12
|
-
* @updatedUser
|
|
11
|
+
* @updatedAt 2024-12-27 08:28:36 - automatic
|
|
12
|
+
* @updatedUser Andrés Quintero - automatic
|
|
13
13
|
*/
|
|
14
14
|
export interface WindowBaseAction {
|
|
15
15
|
place: 'left' | 'right' | 'inside';
|
|
@@ -5,7 +5,7 @@ import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
|
5
5
|
import { A as AppearanceComponentProvider } from "../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
6
6
|
import { a as getPropDataTestId } from "../../test/getNameDataTestId.js";
|
|
7
7
|
import { W as WINDOW_CONFIRM_KEY_COMPONENT } from "./constants.js";
|
|
8
|
-
import {
|
|
8
|
+
import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
11
11
|
import { W as WindowBase } from "../WindowBase/WindowBase.js";
|
|
@@ -141,7 +141,11 @@ const windowConfirmStyles = {
|
|
|
141
141
|
*/
|
|
142
142
|
actionsContainer: ({ theme }) => ({
|
|
143
143
|
padding: theme.vars.size.baseSpacings.sp3
|
|
144
|
-
})
|
|
144
|
+
}),
|
|
145
|
+
windowBaseRoot: {},
|
|
146
|
+
messageIllustration: {},
|
|
147
|
+
actionCancel: {},
|
|
148
|
+
actionIntro: {}
|
|
145
149
|
};
|
|
146
150
|
export {
|
|
147
151
|
windowConfirmStyles as w
|