@m4l/components 9.1.9 → 9.1.11
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 +274 -136
- package/components/AccountPopover/classes/index.d.ts +1 -1
- package/components/AccountPopover/subcomponents/PopOver/index.d.ts +1 -0
- package/components/AccountPopover/subcomponents/PopOver/index.js +2 -2
- package/components/AppBar/AppBar.d.ts +15 -20
- package/components/AppBar/AppBar.js +29 -31
- package/components/AppBar/constants.d.ts +2 -0
- package/components/AppBar/constants.js +6 -0
- package/components/AppBar/slots/AppBarEnum.d.ts +8 -0
- package/components/AppBar/slots/AppBarEnum.js +12 -0
- package/components/AppBar/slots/AppBarSlots.d.ts +18 -0
- package/components/AppBar/slots/AppBarSlots.js +39 -0
- package/components/AppBar/styles.d.ts +2 -1
- package/components/AppBar/styles.js +97 -5
- package/components/AppBar/tests/utils.d.ts +1 -2
- package/components/AppBar/tests/utils.js +2 -3
- package/components/AppBar/types.d.ts +20 -12
- package/components/CommonActions/classes/index.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/types.d.ts +2 -2
- package/components/CommonActions/components/ActionFormCancel/index.js +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/types.d.ts +2 -2
- package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -0
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +2 -2
- package/components/DataGrid/dictionary.d.ts +4 -0
- package/components/DataGrid/dictionary.js +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.js +3 -3
- package/components/DragResizeWindow/hooks/useDimensionEffects.d.ts +1 -1
- package/components/DragResizeWindow/hooks/useDimensionEffects.js +7 -2
- package/components/DragResizeWindow/hooks/useDragOptions.d.ts +2 -2
- package/components/DragResizeWindow/hooks/useDragOptions.js +14 -8
- package/components/DragResizeWindow/hooks/useResizeOptions.d.ts +1 -1
- package/components/DragResizeWindow/hooks/useResizeOptions.js +37 -26
- package/components/DragResizeWindow/slots/DragResizeWindowSlots.d.ts +2 -2
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +12 -12
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +12 -12
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/Icon/Icon.d.ts +2 -2
- package/components/Icon/Icon.js +12 -4
- package/components/Icon/slots/IconSlots.d.ts +2 -2
- package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +1 -1
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/LanguagePopover.d.ts +1 -0
- package/components/LanguagePopover/LanguagePopover.js +2 -2
- package/components/ModalDialog/ModalDialog.d.ts +57 -0
- package/components/ModalDialog/ModalDialog.js +94 -0
- package/components/ModalDialog/ModalDialog.styles.d.ts +2 -0
- package/components/ModalDialog/ModalDialog.styles.js +44 -0
- package/components/ModalDialog/constants.d.ts +1 -0
- package/components/ModalDialog/constants.js +4 -0
- package/components/{modal/ModalDialog → ModalDialog}/dictionary.js +1 -1
- package/components/ModalDialog/index.d.ts +8 -0
- package/components/ModalDialog/index.js +1 -0
- package/components/ModalDialog/slots/ModalDialogEnum.d.ts +7 -0
- package/components/ModalDialog/slots/ModalDialogEnum.js +11 -0
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +9 -0
- package/components/ModalDialog/slots/ModalDialogSlots.js +34 -0
- package/components/ModalDialog/slots/index.d.ts +2 -0
- package/components/ModalDialog/slots/index.js +1 -0
- package/components/ModalDialog/subcomponents/ResizeHandle/index.js +4 -0
- package/components/ModalDialog/types.d.ts +16 -0
- package/components/ModalDialog/types.js +1 -0
- package/components/NavLink/NavLink.d.ts +2 -2
- package/components/NavLink/NavLink.js +4 -4
- package/components/ObjectLogs/components/DetailFormatter/index.js +1 -1
- package/components/PaperForm/PaperForm.d.ts +9 -1
- package/components/PaperForm/PaperForm.js +10 -10
- package/components/PaperForm/components/Header.d.ts +8 -1
- package/components/PaperForm/components/Header.js +20 -12
- package/components/PaperForm/constants.d.ts +1 -0
- package/components/PaperForm/constants.js +4 -0
- package/components/PaperForm/slots/PaperFormEnum.d.ts +7 -0
- package/components/PaperForm/slots/PaperFormEnum.js +11 -0
- package/components/PaperForm/slots/PaperFormSlots.d.ts +15 -0
- package/components/PaperForm/slots/PaperFormSlots.js +33 -0
- package/components/PaperForm/styles.d.ts +2 -6
- package/components/PaperForm/styles.js +97 -49
- package/components/PaperForm/types.d.ts +28 -4
- package/components/SideBar/SideBar.d.ts +25 -23
- package/components/SideBar/SideBar.js +36 -64
- package/components/SideBar/constants.d.ts +6 -2
- package/components/SideBar/constants.js +10 -4
- package/components/SideBar/context/sideBarContext/index.d.ts +5 -0
- package/components/SideBar/context/sideBarContext/index.js +18 -30
- package/components/SideBar/context/sideBarContext/types.d.ts +9 -5
- package/components/SideBar/dictionary.d.ts +1 -0
- package/components/SideBar/helpers/getDataToSkeleton/index.d.ts +15 -0
- package/components/SideBar/helpers/getDataToSkeleton/index.js +14 -0
- package/components/SideBar/helpers/getMenuDataWithState/index.d.ts +13 -0
- package/components/SideBar/helpers/getMenuDataWithState/index.js +27 -0
- package/components/SideBar/helpers/getMenuDataWithState/types.d.ts +6 -0
- package/components/SideBar/slots/SideBarEnum.d.ts +29 -0
- package/components/SideBar/slots/SideBarEnum.js +45 -0
- package/components/SideBar/slots/SideBarSlots.d.ts +45 -0
- package/components/SideBar/slots/SideBarSlots.js +80 -0
- package/components/SideBar/styles.d.ts +2 -15
- package/components/SideBar/styles.js +17 -19
- package/components/SideBar/subcomponents/ContentComponent/index.d.ts +10 -0
- package/components/SideBar/subcomponents/ContentComponent/index.js +27 -0
- package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentComponent/style.js +18 -0
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +4 -0
- package/components/SideBar/subcomponents/ContentGroups/index.js +33 -41
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.js +70 -26
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +12 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +60 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +44 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +9 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/index.js +8 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/types.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +5 -0
- package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +13 -0
- package/components/SideBar/subcomponents/FooterSidebar/index.js +33 -0
- package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +20 -0
- package/components/SideBar/subcomponents/FooterSidebar/types.d.ts +5 -0
- package/components/SideBar/subcomponents/HeaderSidebar/index.d.ts +10 -0
- package/components/SideBar/subcomponents/HeaderSidebar/index.js +25 -0
- package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/HeaderSidebar/styles.js +32 -0
- package/components/SideBar/subcomponents/HeaderSidebar/types.d.ts +5 -0
- package/components/SideBar/subcomponents/SideBarDesktop/index.d.ts +8 -0
- package/components/SideBar/subcomponents/SideBarDesktop/index.js +80 -0
- package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +73 -0
- package/components/SideBar/subcomponents/SideBarMobile/index.d.ts +8 -0
- package/components/SideBar/subcomponents/SideBarMobile/index.js +36 -0
- package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/SideBarMobile/styles.js +15 -0
- package/components/SideBar/subcomponents/SideBarMobile/subcomponents/Drawer.d.ts +9 -0
- package/components/SideBar/tests/SideBar.integration.test.d.ts +0 -0
- package/components/SideBar/tests/SideBar.test.d.ts +0 -0
- package/components/SideBar/tests/utils.d.ts +34 -2
- package/components/SideBar/types.d.ts +34 -37
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
- package/components/WindowBase/WindowBase.d.ts +11 -0
- package/components/WindowBase/WindowBase.js +63 -0
- package/components/WindowBase/WindowBase.styles.d.ts +9 -0
- package/components/WindowBase/WindowBase.styles.js +204 -0
- package/components/WindowBase/constants.d.ts +1 -0
- package/components/WindowBase/constants.js +4 -0
- package/components/WindowBase/icons.d.ts +6 -0
- package/components/WindowBase/icons.js +9 -0
- package/components/WindowBase/index.d.ts +9 -0
- package/components/WindowBase/index.js +1 -0
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +16 -0
- package/components/WindowBase/slots/WindowBaseEnum.js +20 -0
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +95 -0
- package/components/WindowBase/slots/WindowBaseSlots.js +81 -0
- package/components/WindowBase/slots/index.d.ts +2 -0
- package/components/WindowBase/slots/index.js +1 -0
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +46 -0
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +78 -0
- package/components/WindowBase/subcomponents/Header/index.d.ts +2 -0
- package/components/WindowBase/subcomponents/Header/index.js +1 -0
- package/components/WindowBase/subcomponents/Header/types.d.ts +90 -0
- package/components/WindowBase/subcomponents/Header/types.js +1 -0
- package/components/WindowBase/types.d.ts +136 -0
- package/components/WindowBase/types.js +1 -0
- package/components/WindowConfirm/WindowConfirm.d.ts +28 -0
- package/components/WindowConfirm/WindowConfirm.js +117 -0
- package/components/WindowConfirm/WindowConfirm.styles.d.ts +2 -0
- package/components/WindowConfirm/WindowConfirm.styles.js +202 -0
- package/components/WindowConfirm/constants.d.ts +1 -0
- package/components/WindowConfirm/constants.js +4 -0
- package/components/WindowConfirm/index.d.ts +9 -0
- package/components/WindowConfirm/slots/WindowConfirmEnum.d.ts +15 -0
- package/components/WindowConfirm/slots/WindowConfirmEnum.js +19 -0
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +39 -0
- package/components/WindowConfirm/slots/WindowConfirmSlots.js +77 -0
- package/components/WindowConfirm/slots/index.d.ts +2 -0
- package/components/WindowConfirm/slots/index.js +1 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.d.ts +10 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.js +47 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/index.d.ts +2 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/index.js +1 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/types.d.ts +2 -0
- package/components/WindowConfirm/subcomponents/MessageIllustration/types.js +1 -0
- package/components/WindowConfirm/types.d.ts +46 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.d.ts +4 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.js +1 -1
- package/components/commercial/HamburgerMenu/HamburgerMenu.d.ts +6 -0
- package/components/commercial/HamburgerMenu/HamburgerMenu.js +3 -7
- 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/RHFAutocomplete.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.js +5 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +6 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +4 -4
- package/components/index.d.ts +1 -0
- 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/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +4 -0
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +2 -2
- package/components/modal/classes/index.d.ts +8 -4
- package/components/modal/classes/index.js +4 -4
- package/components/modal/classes/types.d.ts +1 -0
- package/components/modal/index.d.ts +5 -5
- package/components/mui_extended/Accordion/Accordion.d.ts +4 -4
- package/components/mui_extended/Accordion/Accordion.js +48 -71
- package/components/mui_extended/Accordion/constants.d.ts +2 -1
- package/components/mui_extended/Accordion/constants.js +4 -2
- package/components/mui_extended/Accordion/slots/AccordionEnum.d.ts +8 -0
- package/components/mui_extended/Accordion/slots/AccordionEnum.js +12 -0
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +23 -0
- package/components/mui_extended/Accordion/slots/AccordionSlots.js +39 -0
- package/components/mui_extended/Accordion/styles.d.ts +2 -3
- package/components/mui_extended/Accordion/styles.js +110 -23
- package/components/mui_extended/Accordion/tests/Accordion.test.d.ts +1 -0
- package/components/mui_extended/Accordion/types.d.ts +12 -7
- package/components/mui_extended/Autocomplete/Autocomplete.d.ts +2 -0
- package/components/mui_extended/Autocomplete/AutocompleteStyles.d.ts +2 -0
- package/components/mui_extended/Autocomplete/constants.d.ts +9 -0
- package/components/mui_extended/Autocomplete/dictionary.d.ts +3 -0
- package/components/mui_extended/Autocomplete/index.d.ts +1 -0
- package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +16 -0
- package/components/mui_extended/Autocomplete/slots /AutocompleteEnum.d.ts +14 -0
- package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +38 -0
- package/components/mui_extended/Autocomplete/slots /index.d.ts +2 -0
- package/components/mui_extended/Autocomplete/types.d.ts +67 -0
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/ButtonStyles.js +1 -0
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
- package/components/mui_extended/Chip/Chip.d.ts +13 -0
- package/components/mui_extended/Chip/ChipStyles.d.ts +2 -0
- package/components/mui_extended/Chip/constants.d.ts +8 -0
- package/components/mui_extended/Chip/index copy.d.ts +2 -0
- package/components/mui_extended/Chip/index.d.ts +0 -0
- package/components/mui_extended/Chip/slots/ChipEnum.d.ts +7 -0
- package/components/mui_extended/Chip/slots/ChipSlots.d.ts +16 -0
- package/components/mui_extended/Chip/slots/index.d.ts +3 -0
- package/components/mui_extended/Chip/types.d.ts +49 -0
- package/components/mui_extended/CircularProgress/CircularProgress.d.ts +5 -0
- package/components/mui_extended/CircularProgress/CircularProgress.js +30 -0
- package/components/mui_extended/CircularProgress/CircularProgress.styles.d.ts +5 -0
- package/components/mui_extended/CircularProgress/CircularProgress.styles.js +57 -0
- package/components/mui_extended/CircularProgress/CircularProgress.test.d.ts +1 -0
- package/components/mui_extended/CircularProgress/constants.d.ts +13 -0
- package/components/mui_extended/CircularProgress/constants.js +6 -0
- package/components/mui_extended/CircularProgress/index.d.ts +1 -2
- package/components/mui_extended/CircularProgress/index.js +1 -8
- package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.d.ts +4 -0
- package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.js +8 -0
- package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.d.ts +12 -0
- package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.js +17 -0
- package/components/mui_extended/CircularProgress/types.d.ts +48 -0
- package/components/mui_extended/Dialog/Dialog.d.ts +54 -0
- package/components/mui_extended/Dialog/Dialog.js +38 -0
- package/components/mui_extended/Dialog/Dialog.styles.d.ts +2 -0
- package/components/mui_extended/Dialog/Dialog.styles.js +26 -0
- package/components/mui_extended/Dialog/constants.d.ts +1 -0
- package/components/mui_extended/Dialog/constants.js +4 -0
- package/components/mui_extended/Dialog/dictionary.d.ts +3 -0
- package/components/mui_extended/Dialog/dictionary.js +7 -0
- package/components/mui_extended/Dialog/index.d.ts +7 -0
- package/components/mui_extended/Dialog/index.js +1 -0
- package/components/mui_extended/Dialog/slots/DialogEnum.d.ts +5 -0
- package/components/mui_extended/Dialog/slots/DialogEnum.js +9 -0
- package/components/mui_extended/Dialog/slots/DialogSlots.d.ts +9 -0
- package/components/mui_extended/Dialog/slots/DialogSlots.js +20 -0
- package/components/mui_extended/Dialog/slots/index.d.ts +2 -0
- package/components/mui_extended/Dialog/slots/index.js +1 -0
- package/components/mui_extended/Dialog/tests/Dialog.test.d.ts +1 -0
- package/components/mui_extended/Dialog/types.d.ts +60 -0
- package/components/mui_extended/Dialog/types.js +1 -0
- package/components/mui_extended/IconButton/IconButton.js +79 -83
- package/components/mui_extended/IconButton/IconButton.styles.js +104 -189
- package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +3 -1
- package/components/mui_extended/IconButton/slots/IconButtonEnum.js +2 -0
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +8 -2
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +14 -3
- package/components/mui_extended/IconButton/types.d.ts +25 -3
- package/components/mui_extended/MenuActions/MenuActions.js +20 -14
- package/components/mui_extended/MenuActions/MenuActions.styles.js +11 -2
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +1 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum.js +1 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +16 -5
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.js +8 -2
- package/components/mui_extended/MenuActions/types.d.ts +38 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +2 -2
- package/components/mui_extended/MenuItem/MenuItem.js +25 -17
- package/components/mui_extended/MenuItem/MenuItem.styles.js +18 -29
- package/components/mui_extended/MenuItem/slots/MenuItemEnum.d.ts +3 -3
- package/components/mui_extended/MenuItem/slots/MenuItemEnum.js +3 -3
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +5 -5
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +12 -12
- package/components/mui_extended/MenuItem/types.d.ts +3 -2
- 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.styles.js +3 -1
- 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/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +6 -6
- package/contexts/ModalContext/index.d.ts +1 -1
- package/contexts/ModalContext/index.js +2 -2
- package/contexts/ModalContext/types.d.ts +1 -1
- package/hooks/useFormAddEdit/index.d.ts +4 -0
- package/hooks/useFormAddEdit/index.js +2 -2
- package/index.js +114 -89
- package/package.json +3 -3
- package/storybook/components/ModalDialog/ModalDialog.stories.d.ts +7 -0
- package/storybook/components/ModalDialog/subcomponent/WithExtendedContainer.d.ts +37 -0
- package/storybook/components/SideBar/SideBar.stories.d.ts +24 -0
- package/storybook/components/SideBar/data/menuData.d.ts +2 -0
- package/storybook/components/SideBar/subcomponents/SibarDecorator.d.ts +3 -0
- package/storybook/components/WindowBase/windowBase.stories.d.ts +9 -0
- package/storybook/components/WindowConfirm/windowConfirm.stories.d.ts +8 -0
- package/storybook/components/appBar/AppBar.stories.d.ts +11 -0
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +25 -0
- package/storybook/components/extended/mui/Autocomplete/AutoComple.stories.d.ts +17 -0
- package/storybook/components/extended/mui/Chip/Chip.stories.d.ts +29 -0
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts +14 -0
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts +18 -0
- package/storybook/components/extended/mui/Dialog/Dialog.stories.d.ts +7 -0
- package/storybook/components/extended/mui/Dialog/subcomponents/ContentExample.d.ts +12 -0
- package/storybook/components/extended/mui/Dialog/subcomponents/WithExtendedContainer.d.ts +38 -0
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.containedDefault.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.textDefault.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/iconButton.outlinedDefault.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.containedDisable.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.textDisable.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/iconButton.outlinedDisable.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/IconButton.stories.d.ts +9 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.containedPrimary.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.textPrimary.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/iconButton.outlinedPrimary.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.containedError.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.textError.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/iconButton.outlinedError.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.containedInfo.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.textInfo.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/iconButton.outlinedInfo.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.containedSuccess.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.textSucces.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/iconButton.outlinedSucces.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.containedWarning.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.textWarning.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/iconButton.outlinedWarning.stories.d.ts +1 -1
- package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SizesIconButton/IconButtonSizeMedium.stories.d.ts +1 -1
- package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.default.stories.d.ts +5 -1
- package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.othersProps.stories.d.ts +1 -1
- package/storybook/components/paperForm/PaperForm.stories.d.ts +18 -0
- package/utils/getComponentSlotRoot.d.ts +13 -0
- package/utils/getComponentSlotRoot.js +13 -0
- package/components/AppBar/classes/constants.d.ts +0 -1
- package/components/AppBar/classes/constants.js +0 -4
- package/components/AppBar/classes/index.d.ts +0 -27
- package/components/AppBar/classes/index.js +0 -33
- package/components/AppBar/classes/types.d.ts +0 -11
- package/components/AppBar/tests/constants.js +0 -4
- package/components/AppBar/tests/index.test.d.ts +0 -5
- package/components/CommonActions/tests/index.test.d.ts +0 -7
- package/components/PaperForm/classes/constants.d.ts +0 -1
- package/components/PaperForm/classes/constants.js +0 -4
- package/components/PaperForm/classes/index.d.ts +0 -15
- package/components/PaperForm/classes/index.js +0 -33
- package/components/PaperForm/classes/types.d.ts +0 -11
- package/components/SideBar/classes/constants.d.ts +0 -1
- package/components/SideBar/classes/constants.js +0 -4
- package/components/SideBar/classes/index.d.ts +0 -47
- package/components/SideBar/classes/index.js +0 -131
- package/components/SideBar/classes/types.d.ts +0 -42
- package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentDesktop/index.js +0 -12
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +0 -13
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.js +0 -29
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.js +0 -10
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/types.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.js +0 -74
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.js +0 -95
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.js +0 -9
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.js +0 -9
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.js +0 -44
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.js +0 -29
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.js +0 -44
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/type.d.ts +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +0 -17
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.js +0 -78
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.js +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.js +0 -20
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/styles.d.ts +0 -7
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.js +0 -57
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.js +0 -39
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/types.d.ts +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/types.d.ts +0 -16
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/type.d.ts +0 -11
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/types.d.ts +0 -12
- package/components/SideBar/subcomponents/ContentGroups/type.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/utils/index.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentMobile/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentMobile/index.js +0 -81
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentMobile/styles.js +0 -18
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +0 -5
- package/components/modal/ModalDialog/index.d.ts +0 -8
- package/components/modal/ModalDialog/index.js +0 -60
- package/components/modal/ModalDialog/styles.d.ts +0 -6
- package/components/modal/ModalDialog/types.d.ts +0 -7
- package/components/modal/WindowBase/index.d.ts +0 -7
- package/components/modal/WindowBase/index.js +0 -20
- package/components/modal/WindowBase/styles.d.ts +0 -1
- package/components/modal/WindowBase/subcomponents/Header/index.d.ts +0 -5
- package/components/modal/WindowBase/subcomponents/Header/index.js +0 -29
- package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -1
- package/components/modal/WindowBase/subcomponents/Header/types.d.ts +0 -5
- package/components/modal/WindowBase/types.d.ts +0 -11
- package/components/modal/WindowConfirm/index.d.ts +0 -16
- package/components/modal/WindowConfirm/index.js +0 -43
- package/components/modal/WindowConfirm/styles.d.ts +0 -1
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.d.ts +0 -5
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.js +0 -35
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +0 -6
- package/components/modal/WindowConfirm/types.d.ts +0 -44
- package/components/mui_extended/Accordion/classes/constants.d.ts +0 -1
- package/components/mui_extended/Accordion/classes/constants.js +0 -4
- package/components/mui_extended/Accordion/classes/index.d.ts +0 -13
- package/components/mui_extended/Accordion/classes/index.js +0 -31
- package/components/mui_extended/Accordion/classes/types.d.ts +0 -10
- package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
- package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
- /package/components/{modal/ModalDialog → ModalDialog}/dictionary.d.ts +0 -0
- /package/components/{modal/ModalDialog → ModalDialog}/subcomponents/ResizeHandle/index.d.ts +0 -0
- /package/components/{hook-form/RHFTextFieldPassword/tests/index.test.d.ts → ModalDialog/tests/ModalDialog.test.d.ts} +0 -0
- /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/Drawer.js +0 -0
- /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/types.d.ts +0 -0
- /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.d.ts +0 -0
- /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.js +0 -0
- /package/components/{mui_extended/Accordion/tests/index.test.d.ts → WindowConfirm/test/WindowConfirm.test.d.ts} +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { RHFAutocompleteProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
+
* @author SebastianM - automatic
|
|
5
|
+
* @createdAt 2024-11-21 10:33:47 - automatic
|
|
6
|
+
* @updatedAt 2024-11-21 10:33:48 - automatic
|
|
7
|
+
* @updatedUser SebastianM - automatic
|
|
4
8
|
*/
|
|
5
9
|
export declare function RHFAutocomplete<T>(props: RHFAutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,11 +9,11 @@ import { u as useUtilityClasses } from "../../classes/index.js";
|
|
|
9
9
|
import { A as AutocompleteRoot } from "../../styles.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../../../test/constants_no_mock.js";
|
|
11
11
|
import { R as RHFTAUTOCOMPLET_ROOT_TEST_ID } from "../../test/constants.js";
|
|
12
|
-
import { C as CircularProgress } from "../../../../mui_extended/CircularProgress/index.js";
|
|
13
12
|
import { w as withRenderOption } from "../RenderOption/index.js";
|
|
14
13
|
import { S as SkeletonRHFAutocomplete } from "../Skeleton/index.js";
|
|
15
14
|
import { L as Label } from "../../../../Label/Label.js";
|
|
16
15
|
import { T as Typography } from "../../../../mui_extended/Typography/Typography.js";
|
|
16
|
+
import { C as CircularProgress } from "../../../../mui_extended/CircularProgress/CircularProgress.js";
|
|
17
17
|
import { I as IconButton } from "../../../../mui_extended/IconButton/IconButton.js";
|
|
18
18
|
import { H as HelperError } from "../../../../HelperError/HelperError.js";
|
|
19
19
|
import { I as Image } from "../../../../Image/Image.js";
|
|
@@ -223,7 +223,10 @@ function ComponentTypeImage(props) {
|
|
|
223
223
|
!multiple && withImage && value ? /* @__PURE__ */ jsx(Image, { src: getOptionUrlImageLocal(value) }, "ImageTextField") : null,
|
|
224
224
|
params.InputProps.startAdornment
|
|
225
225
|
] }),
|
|
226
|
-
endAdornment: loading ?
|
|
226
|
+
endAdornment: loading ? (
|
|
227
|
+
//Se debe refactorizar el componente RHFAutoComplete para recibir la propr de color.
|
|
228
|
+
/* @__PURE__ */ jsx(CircularProgress, { color: "primary", size })
|
|
229
|
+
) : /* @__PURE__ */ jsxs("div", { className: classes.containerRefreshDown, children: [
|
|
227
230
|
refresh && /* @__PURE__ */ jsx(
|
|
228
231
|
IconButton,
|
|
229
232
|
{
|
|
@@ -11,10 +11,10 @@ import { T as TEST_PROP_ID } from "../../../../../test/constants_no_mock.js";
|
|
|
11
11
|
import { R as RHFTAUTOCOMPLET_ROOT_TEST_ID } from "../../test/constants.js";
|
|
12
12
|
import { S as SkeletonRHFAutocomplete } from "../Skeleton/index.js";
|
|
13
13
|
import { L as Label } from "../../../../Label/Label.js";
|
|
14
|
+
import { H as HelperError } from "../../../../HelperError/HelperError.js";
|
|
14
15
|
import { T as Typography } from "../../../../mui_extended/Typography/Typography.js";
|
|
15
|
-
import { C as CircularProgress } from "../../../../mui_extended/CircularProgress/
|
|
16
|
+
import { C as CircularProgress } from "../../../../mui_extended/CircularProgress/CircularProgress.js";
|
|
16
17
|
import { I as IconButton } from "../../../../mui_extended/IconButton/IconButton.js";
|
|
17
|
-
import { H as HelperError } from "../../../../HelperError/HelperError.js";
|
|
18
18
|
function ComponentTypeText(props) {
|
|
19
19
|
const {
|
|
20
20
|
name: nameRHF,
|
|
@@ -207,7 +207,10 @@ function ComponentTypeText(props) {
|
|
|
207
207
|
InputProps: {
|
|
208
208
|
...params.InputProps,
|
|
209
209
|
startAdornment: /* @__PURE__ */ jsx(Fragment, { children: params.InputProps.startAdornment }),
|
|
210
|
-
endAdornment: loading ?
|
|
210
|
+
endAdornment: loading ? (
|
|
211
|
+
//Se debe refactorizar el componente RHFAutoComplete para recibir la propr de color.
|
|
212
|
+
/* @__PURE__ */ jsx(CircularProgress, { color: "primary", size })
|
|
213
|
+
) : /* @__PURE__ */ jsxs("div", { className: classes.containerRefreshDown, children: [
|
|
211
214
|
refresh && /* @__PURE__ */ jsx(
|
|
212
215
|
IconButton,
|
|
213
216
|
{
|
|
@@ -2,5 +2,5 @@ export declare const RHFCheckboxRoot: import('@emotion/styled').StyledComponent<
|
|
|
2
2
|
export declare const WrapperSKTRHFCheckbox: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
3
|
export declare const SKTCheckSkeleton: import('@emotion/styled').StyledComponent<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
5
|
-
}, "children" | "style" | "variant" | "width" | "height" | "
|
|
5
|
+
}, "children" | "style" | "variant" | "width" | "height" | "className" | "classes" | "sx" | "animation"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
6
6
|
export declare const ContainerCheckTypography: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
6
6
|
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
7
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
7
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
8
8
|
/**
|
|
9
9
|
* Este componente utiliza el slot `label` para aplicar estilos personalizados
|
|
10
10
|
* a la etiqueta que acompaña al campo de entrada.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const RHFTextFieldRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('..').RHFTextFieldOwnerState> & 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').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
|
|
5
5
|
ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<{
|
|
8
8
|
variant?: import('@mui/material').TextFieldVariants | undefined;
|
|
9
|
-
} & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').OutlinedTextFieldProps | import('@mui/material').StandardTextFieldProps, "variant">, "children" | "value" | "ref" | "title" | "component" | "size" | "name" | "error" | "select" | "rows" | "id" | "type" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "margin" | "
|
|
9
|
+
} & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').OutlinedTextFieldProps | import('@mui/material').StandardTextFieldProps, "variant">, "children" | "value" | "ref" | "title" | "component" | "size" | "name" | "error" | "select" | "rows" | "id" | "type" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "margin" | "label" | "className" | "classes" | "onChange" | "sx" | "translate" | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "fullWidth" | "autoComplete" | "placeholder" | "required" | "maxRows" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
|
|
10
10
|
ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export declare const SkeletonTextFieldRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
|
|
13
13
|
ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
|
|
14
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
14
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
15
15
|
export declare const WrapperSkeletonRHFTextFieldStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
|
|
16
16
|
ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
|
|
17
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
17
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
package/components/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const MapPopupMyGpsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
2
|
-
export declare const MapPopupMyGpsHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
-
export declare const MapPopupMyGpsContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
1
|
+
export declare const MapPopupMyGpsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
2
|
+
export declare const MapPopupMyGpsHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
3
|
+
export declare const MapPopupMyGpsContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const MapRootStyled: import('@emotion/styled').StyledComponent<Pick<import('react-leaflet').MapContainerProps & import('react').RefAttributes<import('leaflet').Map>, keyof import('react-leaflet').MapContainerProps | keyof import('react').RefAttributes<import('leaflet').Map>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
|
|
2
|
-
export declare const PopupGpsDeviceStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
-
export declare const PopupGpsDeviceHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
4
|
-
export declare const PopupGpsDeviceContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
2
|
+
export declare const PopupGpsDeviceStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
3
|
+
export declare const PopupGpsDeviceHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
|
+
export declare const PopupGpsDeviceContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -8,7 +8,7 @@ import { u as usePopupsStore } from "../../../../../../../../../popups/component
|
|
|
8
8
|
import { u as useMapGpsToolsStore } from "../../../../../../hooks/useMapGpsToolsStore/index.js";
|
|
9
9
|
import { R as RHFHelperError } from "../../../../../../../../../hook-form/RHFHelperError/index.js";
|
|
10
10
|
import { A as ActionFormIntro } from "../../../../../../../../../CommonActions/components/ActionFormIntro/index.js";
|
|
11
|
-
import { W as WindowConfirm } from "../../../../../../../../../
|
|
11
|
+
import { W as WindowConfirm } from "../../../../../../../../../WindowConfirm/WindowConfirm.js";
|
|
12
12
|
import { A as ActionsContainer } from "../../../../../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
13
13
|
import { B as Button } from "../../../../../../../../../mui_extended/Button/Button.js";
|
|
14
14
|
function MyActions(props) {
|
|
@@ -5,6 +5,10 @@ interface UseRowActionsProps {
|
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* TODO: Documentar
|
|
8
|
+
* @author cesar - automatic
|
|
9
|
+
* @createdAt 2024-11-24 18:49:53 - automatic
|
|
10
|
+
* @updatedAt 2024-11-24 18:49:54 - automatic
|
|
11
|
+
* @updatedUser cesar - automatic
|
|
8
12
|
*/
|
|
9
13
|
export declare function useRowActionsGetter(props: UseRowActionsProps): {
|
|
10
14
|
rowActionsGetter: (row: GeofenceListModel) => MenuAction[] | [];
|
|
@@ -9,7 +9,7 @@ import { shallow } from "zustand/shallow";
|
|
|
9
9
|
import { G as GeofenceAddEdit } from "../../GeofenceAddEdit/index.js";
|
|
10
10
|
import { u as usePopupsStore } from "../../../../../../../../popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
|
|
11
11
|
import { u as useMapGpsToolsStore } from "../../../../../hooks/useMapGpsToolsStore/index.js";
|
|
12
|
-
import { W as WindowConfirm } from "../../../../../../../../
|
|
12
|
+
import { W as WindowConfirm } from "../../../../../../../../WindowConfirm/WindowConfirm.js";
|
|
13
13
|
function useRowActionsGetter(props) {
|
|
14
14
|
const { fullRefresh } = props;
|
|
15
15
|
const { networkOperation } = useNetwork();
|
|
@@ -59,7 +59,7 @@ function useRowActionsGetter(props) {
|
|
|
59
59
|
),
|
|
60
60
|
variant: "delete",
|
|
61
61
|
initialWidth: 300,
|
|
62
|
-
|
|
62
|
+
initialHeight: 350
|
|
63
63
|
});
|
|
64
64
|
},
|
|
65
65
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { ModalClassesType } from './types';
|
|
2
|
-
import {
|
|
2
|
+
import { OwnerStateWindowConfirm } from '../../WindowConfirm/types';
|
|
3
3
|
export declare const modalClasses: ModalClassesType;
|
|
4
4
|
export declare function getModalUtilityClass(slot: string): string;
|
|
5
5
|
/**
|
|
6
6
|
* TODO: Documentar
|
|
7
|
+
* @author cesar - automatic
|
|
8
|
+
* @createdAt 2024-11-19 11:52:55 - automatic
|
|
9
|
+
* @updatedAt 2024-11-25 08:27:55 - automatic
|
|
10
|
+
* @updatedUser cesar - automatic
|
|
7
11
|
*/
|
|
8
|
-
export declare const modalUtilityClasses: (ownerState:
|
|
12
|
+
export declare const modalUtilityClasses: (ownerState: OwnerStateWindowConfirm) => {
|
|
9
13
|
root: string;
|
|
14
|
+
resizeHandle: string;
|
|
10
15
|
windowBaseRoot: string;
|
|
16
|
+
illustrationContainer: string;
|
|
11
17
|
containerWindow: string;
|
|
12
18
|
headerContainer: string;
|
|
13
19
|
iconHeader: string;
|
|
@@ -15,10 +21,8 @@ export declare const modalUtilityClasses: (ownerState: OwnerStateWindowConfim) =
|
|
|
15
21
|
iconCloseHeader: string;
|
|
16
22
|
containerMassageIlustration: string;
|
|
17
23
|
modalContent: string;
|
|
18
|
-
illustrationContainer: string;
|
|
19
24
|
messageContainer: string;
|
|
20
25
|
illustration: string;
|
|
21
26
|
windowConfirm: string;
|
|
22
|
-
resizeHandle: string;
|
|
23
27
|
windowContent: string;
|
|
24
28
|
};
|
|
@@ -9,6 +9,7 @@ generateUtilityClasses(componentName, [
|
|
|
9
9
|
"headerContainer",
|
|
10
10
|
"iconHeader",
|
|
11
11
|
"titleHeader",
|
|
12
|
+
"subtitleHeader",
|
|
12
13
|
"iconCloseHeader",
|
|
13
14
|
"containerMassageIlustration",
|
|
14
15
|
"modalContent",
|
|
@@ -31,10 +32,9 @@ const modalUtilityClasses = (ownerState) => {
|
|
|
31
32
|
const slots = {
|
|
32
33
|
root: [
|
|
33
34
|
"root",
|
|
34
|
-
ownerState
|
|
35
|
-
ownerState.
|
|
36
|
-
ownerState.
|
|
37
|
-
ownerState.variant === "success" && "variantSuccess"
|
|
35
|
+
ownerState.windowConfirmVariant === "warning" && "variantWarning",
|
|
36
|
+
ownerState.windowConfirmVariant === "info" && "variantInfo",
|
|
37
|
+
ownerState.windowConfirmVariant === "error" && "variantError"
|
|
38
38
|
],
|
|
39
39
|
windowBaseRoot: ["windowBaseRoot"],
|
|
40
40
|
containerWindow: ["containerWindow"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ModalDialog } from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export type { WindowConfirmProps } from '
|
|
5
|
-
export * from '
|
|
1
|
+
export { ModalDialog } from '../ModalDialog';
|
|
2
|
+
export * from '../ModalDialog/dictionary';
|
|
3
|
+
export * from '../WindowConfirm/WindowConfirm';
|
|
4
|
+
export type { WindowConfirmProps } from '../WindowConfirm/types';
|
|
5
|
+
export * from '../WindowBase';
|
|
6
6
|
export { getModalDictionary } from './dictionary';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AccordionProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Componente Accordion que permite expandir y contraer el contenido
|
|
4
4
|
* @author Bruce Escobar - automatic
|
|
5
5
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
6
|
-
* @updatedAt 2024-
|
|
7
|
-
* @updatedUser
|
|
6
|
+
* @updatedAt 2024-11-25 11:12:33 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare const Accordion: import('react').ForwardRefExoticComponent<AccordionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,96 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
3
|
-
import { I as IconButton } from "../IconButton/IconButton.js";
|
|
4
|
-
import { useEnvironment } from "@m4l/core";
|
|
5
|
-
import { a as accordionUtilityClasses } from "./classes/index.js";
|
|
6
|
-
import { A as AccordionRoot } from "./styles.js";
|
|
7
|
-
import clsx from "clsx";
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
8
2
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.js";
|
|
9
3
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { I as
|
|
13
|
-
|
|
4
|
+
import { P as PATH_EXPANDED_ICON, A as ACCORDION_KEY } from "./constants.js";
|
|
5
|
+
import { g as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
|
|
6
|
+
import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconExpandedStyled, b as IconLabelStyled, L as LabelStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
const Accordion = forwardRef((props, ref) => {
|
|
14
9
|
const {
|
|
15
10
|
label,
|
|
16
|
-
SKTWidht,
|
|
17
11
|
children,
|
|
18
12
|
accordionProps,
|
|
19
13
|
summaryProps,
|
|
20
14
|
labelIcon,
|
|
21
15
|
className,
|
|
22
|
-
dataTestId = ""
|
|
16
|
+
dataTestId = "",
|
|
17
|
+
skeletonLabelWidth,
|
|
18
|
+
size
|
|
23
19
|
} = props;
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AccordionRoot,
|
|
20
|
+
const classRoot = getComponentSlotRoot(className ?? ACCORDION_KEY);
|
|
21
|
+
return /* @__PURE__ */ jsxs(
|
|
22
|
+
AccordionRootStyled,
|
|
28
23
|
{
|
|
29
|
-
|
|
24
|
+
ref,
|
|
25
|
+
role: "contentinfo",
|
|
26
|
+
className: classRoot,
|
|
27
|
+
defaultExpanded: true,
|
|
28
|
+
...accordionProps,
|
|
30
29
|
...process.env.NODE_ENV !== "production" ? {
|
|
31
30
|
[TEST_PROP_ID]: getNameDataTestId(
|
|
32
|
-
|
|
31
|
+
ACCORDION_KEY,
|
|
33
32
|
"root",
|
|
34
33
|
dataTestId
|
|
35
34
|
)
|
|
36
35
|
} : {},
|
|
37
|
-
children:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/* @__PURE__ */ jsx(
|
|
47
|
-
AccordionSummary,
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ jsxs(
|
|
38
|
+
AccordionSummaryStyled,
|
|
39
|
+
{
|
|
40
|
+
role: "heading",
|
|
41
|
+
"aria-controls": "expanded-content",
|
|
42
|
+
disableTouchRipple: false,
|
|
43
|
+
expandIcon: /* @__PURE__ */ jsx(
|
|
44
|
+
IconExpandedStyled,
|
|
48
45
|
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
IconButton,
|
|
53
|
-
{
|
|
54
|
-
"aria-label": "settings",
|
|
55
|
-
src: `${host_static_assets}/${environment_assets}/frontend/components/accordion/assets/icons/expanded.svg`,
|
|
56
|
-
className: classes.endIcon
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
...summaryProps,
|
|
60
|
-
children: /* @__PURE__ */ jsxs(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
className: classes.labelIcon,
|
|
64
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
65
|
-
[TEST_PROP_ID]: getNameDataTestId(
|
|
66
|
-
COMPONENT_PREFIX,
|
|
67
|
-
"labelIcon",
|
|
68
|
-
dataTestId
|
|
69
|
-
)
|
|
70
|
-
} : {},
|
|
71
|
-
children: [
|
|
72
|
-
labelIcon && /* @__PURE__ */ jsx(Icon, { src: labelIcon }),
|
|
73
|
-
/* @__PURE__ */ jsx(
|
|
74
|
-
Typography,
|
|
75
|
-
{
|
|
76
|
-
className: classes.label,
|
|
77
|
-
variant: "subtitle",
|
|
78
|
-
skeletonWidth: SKTWidht,
|
|
79
|
-
children: label
|
|
80
|
-
}
|
|
81
|
-
)
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
)
|
|
46
|
+
size,
|
|
47
|
+
"aria-label": "settings",
|
|
48
|
+
src: PATH_EXPANDED_ICON
|
|
85
49
|
}
|
|
86
50
|
),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
51
|
+
...summaryProps,
|
|
52
|
+
children: [
|
|
53
|
+
labelIcon && /* @__PURE__ */ jsx(IconLabelStyled, { src: labelIcon, size }),
|
|
54
|
+
/* @__PURE__ */ jsx(
|
|
55
|
+
LabelStyled,
|
|
56
|
+
{
|
|
57
|
+
size,
|
|
58
|
+
variant: "body",
|
|
59
|
+
skeletonWidth: skeletonLabelWidth,
|
|
60
|
+
children: label
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ jsx(AccordionDetailsStyled, { children })
|
|
67
|
+
]
|
|
91
68
|
}
|
|
92
69
|
);
|
|
93
|
-
}
|
|
70
|
+
});
|
|
94
71
|
export {
|
|
95
72
|
Accordion as A
|
|
96
73
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const ACCORDION_KEY = "M4LAccordion";
|
|
2
|
+
export declare const PATH_EXPANDED_ICON = "https://s3.us-east-1.amazonaws.com/static.made4labs/environments/d1/frontend/components/accordion/assets/icons/chevron_down.svg";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const ACCORDION_KEY = "M4LAccordion";
|
|
2
|
+
const PATH_EXPANDED_ICON = "https://s3.us-east-1.amazonaws.com/static.made4labs/environments/d1/frontend/components/accordion/assets/icons/chevron_down.svg";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
ACCORDION_KEY as A,
|
|
5
|
+
PATH_EXPANDED_ICON as P
|
|
4
6
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var AccordionSlots = /* @__PURE__ */ ((AccordionSlots2) => {
|
|
2
|
+
AccordionSlots2["accordionRoot"] = "accordionRoot";
|
|
3
|
+
AccordionSlots2["accordionSummary"] = "accordionSummary";
|
|
4
|
+
AccordionSlots2["accordionIconLabel"] = "iconLabel";
|
|
5
|
+
AccordionSlots2["accordionLabel"] = "label";
|
|
6
|
+
AccordionSlots2["accordionIconExpanded"] = "iconExpanded";
|
|
7
|
+
AccordionSlots2["accordionDetails"] = "accordionDetails";
|
|
8
|
+
return AccordionSlots2;
|
|
9
|
+
})(AccordionSlots || {});
|
|
10
|
+
export {
|
|
11
|
+
AccordionSlots as A
|
|
12
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const AccordionRootStyled: import('@emotion/styled').StyledComponent<Pick<{
|
|
2
|
+
children: NonNullable<React.ReactNode>;
|
|
3
|
+
classes?: Partial<import('@mui/material').AccordionClasses>;
|
|
4
|
+
defaultExpanded?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
disableGutters?: boolean;
|
|
7
|
+
expanded?: boolean;
|
|
8
|
+
onChange?: (event: React.SyntheticEvent, expanded: boolean) => void;
|
|
9
|
+
sx?: import('@mui/material').SxProps<import('@mui/material').Theme>;
|
|
10
|
+
TransitionComponent?: React.JSXElementConstructor<import('@mui/material/transitions').TransitionProps & {
|
|
11
|
+
children?: React.ReactElement<any, any>;
|
|
12
|
+
}>;
|
|
13
|
+
TransitionProps?: import('@mui/material/transitions').TransitionProps;
|
|
14
|
+
} & import('@mui/material').AccordionSlotsAndSlotProps & Omit<import('@mui/material').PaperOwnProps, "classes" | "onChange"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, "children" | "expanded" | "disabled" | "square" | "variant" | keyof import('@mui/material/OverridableComponent').CommonProps | "onChange" | "elevation" | "sx" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps" | keyof import('@mui/material').AccordionSlotsAndSlotProps>, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "expanded" | "disabled" | "square" | "variant" | keyof import('@mui/material/OverridableComponent').CommonProps | "onChange" | "elevation" | "sx" | "translate" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps" | keyof import('@mui/material').AccordionSlotsAndSlotProps | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
17
|
+
export declare const AccordionSummaryStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
19
|
+
}, "children" | "action" | "style" | "disabled" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon">, "children" | "ref" | "title" | "id" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "className" | "classes" | "onChange" | "sx" | "translate" | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
20
|
+
export declare const IconLabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
21
|
+
export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
22
|
+
export declare const IconExpandedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
23
|
+
export declare const AccordionDetailsStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').AccordionDetailsProps, keyof import('@mui/material').AccordionDetailsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Accordion, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
+
import { styled } from "@mui/material/styles";
|
|
3
|
+
import { A as ACCORDION_KEY } from "../constants.js";
|
|
4
|
+
import { A as AccordionSlots } from "./AccordionEnum.js";
|
|
5
|
+
import { a as accordionStyles } from "../styles.js";
|
|
6
|
+
import { T as Typography } from "../../Typography/Typography.js";
|
|
7
|
+
import { I as Icon } from "../../../Icon/Icon.js";
|
|
8
|
+
const AccordionRootStyled = styled(Accordion, {
|
|
9
|
+
name: ACCORDION_KEY,
|
|
10
|
+
slot: AccordionSlots.accordionRoot
|
|
11
|
+
})(accordionStyles?.accordionRoot);
|
|
12
|
+
const AccordionSummaryStyled = styled(AccordionSummary, {
|
|
13
|
+
name: ACCORDION_KEY,
|
|
14
|
+
slot: AccordionSlots.accordionSummary
|
|
15
|
+
})(accordionStyles?.accordionSummary);
|
|
16
|
+
const IconLabelStyled = styled(Icon, {
|
|
17
|
+
name: ACCORDION_KEY,
|
|
18
|
+
slot: AccordionSlots.accordionIconLabel
|
|
19
|
+
})(accordionStyles?.accordionIconLabel);
|
|
20
|
+
const LabelStyled = styled(Typography, {
|
|
21
|
+
name: ACCORDION_KEY,
|
|
22
|
+
slot: AccordionSlots.accordionLabel
|
|
23
|
+
})(accordionStyles?.accordionLabel);
|
|
24
|
+
const IconExpandedStyled = styled(Icon, {
|
|
25
|
+
name: ACCORDION_KEY,
|
|
26
|
+
slot: AccordionSlots.accordionIconExpanded
|
|
27
|
+
})(accordionStyles?.accordionIconExpanded);
|
|
28
|
+
const AccordionDetailsStyled = styled(AccordionDetails, {
|
|
29
|
+
name: ACCORDION_KEY,
|
|
30
|
+
slot: AccordionSlots.accordionDetails
|
|
31
|
+
})(accordionStyles?.accordionDetails);
|
|
32
|
+
export {
|
|
33
|
+
AccordionRootStyled as A,
|
|
34
|
+
IconExpandedStyled as I,
|
|
35
|
+
LabelStyled as L,
|
|
36
|
+
AccordionSummaryStyled as a,
|
|
37
|
+
IconLabelStyled as b,
|
|
38
|
+
AccordionDetailsStyled as c
|
|
39
|
+
};
|