@m4l/components 9.5.7 → 9.5.8
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 +1 -1
- package/components/AccountPopover/AccountPopover.js +1 -1
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +5 -5
- package/components/AccountPopover/slots/AccountPopoverSlots.js +37 -38
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +3 -3
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts.map +1 -1
- package/components/ActionsGroup/slots/ActionsGroupSlots.js +12 -13
- package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.js +12 -12
- package/components/AppBar/AppBar.d.ts +9 -9
- package/components/AppBar/AppBar.d.ts.map +1 -1
- package/components/AppBar/AppBar.js +23 -21
- package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
- package/components/CheckableList/CheckableList.js +28 -28
- package/components/CheckableList/slots/styled.d.ts +9 -9
- package/components/CheckableList/slots/styled.js +1 -1
- package/components/Chip/Chip.js +4 -4
- package/components/Chip/slots/ChipSlots.d.ts +4 -4
- package/components/Chip/slots/ChipSlots.d.ts.map +1 -1
- package/components/Chip/slots/ChipSlots.js +20 -21
- package/components/Color/Color.d.ts +1 -3
- package/components/Color/Color.d.ts.map +1 -1
- package/components/Color/Color.js +10 -10
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +6 -6
- package/components/CommonActions/components/ActionFormSubmitProgrammatic/ActionFormSubmitProgrammatic.js +7 -7
- package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/DaysOfMonthPicker/hooks/useDaysOfMonthPicker/useDaysOfMonthPicker.js +6 -6
- package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
- package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +1 -1
- package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
- package/components/DynamicFilter/store/DynamicFilterContext.js +10 -10
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +1 -1
- package/components/DynamicForm/DynamicForm.js +14 -14
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/store/DynamicSortContext.js +8 -8
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +1 -1
- package/components/DynamicSort/subcomponents/InputSort/InputSort.js +1 -1
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -1
- package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
- package/components/HelperError/HelperError.js +5 -5
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/HelperError/slots/HelperErrorSlots.js +1 -1
- package/components/HelperError/types.d.ts +1 -1
- package/components/HelperError/types.d.ts.map +1 -1
- package/components/Icon/Icon.d.ts +3 -6
- package/components/Icon/Icon.d.ts.map +1 -1
- package/components/Icon/Icon.js +3 -99
- package/components/Icon/index.d.ts +3 -2
- package/components/Icon/index.d.ts.map +1 -1
- package/components/ImageText/ImageText.js +5 -5
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/ImageText/slots/ImageTextSlots.js +1 -1
- package/components/Label/Label.js +1 -1
- package/components/Label/slots/LabelSlots.d.ts +3 -3
- package/components/Label/slots/LabelSlots.d.ts.map +1 -1
- package/components/Label/slots/LabelSlots.js +9 -10
- package/components/Label/types.d.ts +19 -17
- package/components/Label/types.d.ts.map +1 -1
- package/components/LanguagePopover/LanguagePopover.js +7 -7
- package/components/LoadingError/LoadingError.js +11 -11
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts.map +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.js +6 -6
- package/components/MFIsolationApp/MFIsolationApp.js +10 -11
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts +1 -5
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts +19 -0
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts.map +1 -0
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.js +52 -0
- package/components/MFIsolationAppStorybook/index.d.ts +4 -3
- package/components/MFIsolationAppStorybook/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts +1 -5
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts +1 -4
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/types.d.ts +2 -34
- package/components/MFIsolationAppStorybook/types.d.ts.map +1 -1
- package/components/MenuActions/MenuActions.js +14 -14
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- package/components/NoItemPrivileges/NoItemPrivileges.js +4 -4
- package/components/NoItemSelected/NoItemSelected.js +7 -7
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +4 -4
- package/components/ObjectLogs/slots/ObjectLogsSlots.js +18 -19
- package/components/Pager/Pager.js +8 -8
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/Pager/slots/PagerSlots.d.ts.map +1 -1
- package/components/Pager/slots/PagerSlots.js +1 -1
- package/components/PaperForm/PaperForm.js +1 -1
- package/components/PaperForm/slots/PaperFormSlots.d.ts +2 -2
- package/components/PaperForm/slots/PaperFormSlots.js +9 -10
- package/components/PropertyValue/PropertyValue.js +11 -11
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
- package/components/PropertyValue/slots/PropertyValueSlots.js +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +5 -5
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts.map +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.js +25 -26
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +17 -18
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +13 -14
- package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +1 -1
- package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +4 -4
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +19 -20
- package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentComponent/index.js +8 -8
- package/components/SideBar/subcomponents/TreeGroupItems/index.js +11 -11
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/AdormentIcon/AdormentIcon.js +3 -3
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/ArrowIcon/index.js +1 -1
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/index.js +5 -5
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.js +14 -14
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/slots/StepperSlot.d.ts +5 -5
- package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
- package/components/Stepper/slots/StepperSlot.js +41 -42
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +2 -2
- package/components/TabsNavigator/TabsNavigator.js +13 -13
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +3 -3
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts.map +1 -1
- package/components/TabsNavigator/slots/TabsNavigatorSlots.js +21 -22
- package/components/TabsNavigator/subcomponents/TabNavigatorClusterComponent/TabNavigatorClusterComponent.js +6 -6
- package/components/TabsNavigator/subcomponents/TabNavigatorComponent/TabNavigatorComponent.js +1 -1
- package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts +1 -1
- package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts.map +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +5 -5
- package/components/ToastContainer/slots/toastContainerSlots.d.ts.map +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.js +17 -18
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.js +3 -3
- package/components/ToastContainer/types.d.ts +1 -1
- package/components/ToastContainer/types.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.js +22 -23
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +4 -4
- package/components/WindowBase/slots/WindowBaseSlots.d.ts.map +1 -1
- package/components/WindowBase/slots/WindowBaseSlots.js +67 -68
- package/components/WindowBase/subcomponents/EditionInfo/EditionInfo.js +6 -6
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts.map +1 -1
- package/components/WindowBase/types.d.ts +1 -2
- package/components/WindowBase/types.d.ts.map +1 -1
- package/components/WindowConfirm/WindowConfirm.js +11 -11
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +4 -4
- package/components/WindowConfirm/slots/WindowConfirmSlots.js +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/AreasAdmin.js +8 -8
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +3 -3
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +4 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +22 -22
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +10 -10
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/index.js +1 -1
- package/components/datagrids/components/BaseDataGrid/BaseDataGrid.js +1 -1
- package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts +1 -1
- package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts.map +1 -1
- package/components/datagrids/slots/DataGridSlot.d.ts +6 -6
- package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
- package/components/datagrids/slots/DataGridSlot.js +111 -112
- package/components/datagrids/subcomponents/ControlNavigate/ControlNavigate.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/HeaderActions.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +1 -1
- package/components/datagrids/tests/helpers/useCustomCardExample.d.ts.map +1 -1
- package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +1 -1
- package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +1 -1
- package/components/datagrids/views/ListView/hooks/useListContent/useListContent.js +1 -1
- package/components/datagrids/views/ListView/subcomponents/ListDetail/ListDetail.js +1 -1
- package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +4 -4
- package/components/datagrids/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/CustomIcons.js +8 -8
- package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.js +1 -1
- package/components/datagrids/views/TableView/subcomponents/RenderGroupCell/RenderGroupCell.js +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -3
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +1 -1
- package/components/extended/mui/Accordion/Accordion.js +6 -6
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +3 -3
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionSlots.js +11 -12
- package/components/extended/mui/Autocomplete/constants.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +11 -11
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +5 -5
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.js +1 -1
- package/components/extended/mui/Autocomplete/subcomponents/LoadingText/LoadingText.js +2 -2
- package/components/extended/mui/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +2 -2
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +4 -4
- package/components/extended/mui/Avatar/Avatar.js +4 -4
- package/components/extended/mui/Badge/Badge.js +6 -6
- package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/extended/mui/Button/Button.js +4 -4
- package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
- package/components/extended/mui/Button/slots/ButtonSlots.js +10 -11
- package/components/extended/mui/CheckBox/CheckBox.js +6 -6
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +3 -3
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.js +11 -12
- package/components/extended/mui/CircularProgress/CircularProgress.js +9 -9
- package/components/extended/mui/DatePicker/hooks/useDatePicker/useDatePicker.js +7 -7
- package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +2 -2
- package/components/extended/mui/DateTimePicker/DateTimePicker.js +14 -14
- package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +2 -2
- package/components/extended/mui/Divider/Divider.js +1 -1
- package/components/extended/mui/IconButton/IconButton.js +9 -9
- package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts +1 -1
- package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts.map +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.js +1 -1
- package/components/extended/mui/IconButton/types.d.ts +1 -2
- package/components/extended/mui/IconButton/types.d.ts.map +1 -1
- package/components/extended/mui/LoadingButton/LoadingButton.js +9 -9
- package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/extended/mui/MenuDivider/MenuDivider.js +1 -1
- package/components/extended/mui/MenuItem/MenuItem.js +12 -12
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +4 -4
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.js +17 -18
- package/components/extended/mui/MenuItem/types.d.ts +1 -1
- package/components/extended/mui/MenuItem/types.d.ts.map +1 -1
- package/components/extended/mui/NavLink/NavLink.js +4 -4
- package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/extended/mui/NavLink/slots/NavLinkSlots.js +4 -4
- package/components/extended/mui/NavLink/types.d.ts +1 -1
- package/components/extended/mui/NavLink/types.d.ts.map +1 -1
- package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/extended/mui/Radio/Radio.js +17 -17
- package/components/extended/mui/Radio/slots/styled.d.ts +1 -1
- package/components/extended/mui/Radio/slots/styled.js +1 -1
- package/components/extended/mui/Select/Select.js +16 -16
- package/components/extended/mui/Select/slots/SelectSlots.d.ts +6 -6
- package/components/extended/mui/Select/slots/SelectSlots.d.ts.map +1 -1
- package/components/extended/mui/Select/slots/SelectSlots.js +21 -22
- package/components/extended/mui/Switch/Switch.js +9 -9
- package/components/extended/mui/Switch/slots/SwitchSlots.d.ts +1 -1
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts +4 -4
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts.map +1 -1
- package/components/extended/mui/Tab/Slots/TabSlots.js +11 -12
- package/components/extended/mui/Tab/Tab.js +6 -6
- package/components/extended/mui/Tabs/Tabs.js +7 -7
- package/components/extended/mui/TextField/TextField.js +12 -12
- package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/extended/mui/TextField/slots/TextFieldSlots.js +1 -1
- package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +2 -2
- package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/extended/mui/Tooltip/Tooltip.d.ts +3 -3
- package/components/extended/mui/Tooltip/Tooltip.d.ts.map +1 -1
- package/components/extended/mui/Tooltip/Tooltip.js +3 -32
- package/components/extended/mui/Tooltip/index.d.ts +0 -1
- package/components/extended/mui/Tooltip/index.d.ts.map +1 -1
- package/components/extended/mui/Typography/Typography.d.ts +3 -19
- package/components/extended/mui/Typography/Typography.d.ts.map +1 -1
- package/components/extended/mui/Typography/Typography.js +3 -56
- package/components/extended/mui/Typography/index.d.ts +2 -1
- package/components/extended/mui/Typography/index.d.ts.map +1 -1
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +1 -1
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.js +3 -3
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +3 -3
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +16 -17
- package/components/formatters/ChipStatusFormatter/ChipStatusFormatter.js +4 -4
- package/components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js +5 -5
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts.map +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.js +1 -1
- package/components/formatters/ConcatenatedFormatter/types.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/types.d.ts.map +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts.map +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.js +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +1 -1
- package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.d.ts +2 -2
- package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.js +1 -1
- package/components/formatters/IconsFormatter/types.d.ts +1 -1
- package/components/formatters/IconsFormatter/types.d.ts.map +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.js +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts.map +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.js +4 -4
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +3 -3
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +1 -1
- package/components/formatters/PointsFormatter/PointsFormatter.js +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.js +1 -1
- package/components/formatters/PriceFormatter/PriceFormatter.js +5 -5
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.js +8 -8
- package/components/formatters/PriceFormatter/types.d.ts +1 -1
- package/components/formatters/PriceFormatter/types.d.ts.map +1 -1
- package/components/formatters/TagsFormatter/TagsFormatter.js +1 -1
- package/components/formatters/TagsFormatter/subcomponents/Tag/Tag.js +5 -5
- package/components/formatters/UncertaintyFormatter/UncertaintyFormatter.js +7 -7
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts.map +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.js +8 -8
- package/components/formatters/UncertaintyFormatter/types.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/types.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +4 -4
- package/components/hook-form/RHFCheckableList/RHFCheckableList.js +13 -13
- package/components/hook-form/RHFCheckbox/RHFCheckbox.js +7 -7
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/RFHColorPicker.js +6 -6
- package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/subcomponents/ColorPickerField/ColorPickerField.js +1 -1
- package/components/hook-form/RHFDatePicker/RHFDatePicker.js +6 -6
- package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +2 -2
- package/components/hook-form/RHFDateTime/RHFDateTime.js +9 -9
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +13 -13
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
- package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +9 -9
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +12 -12
- package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.js +1 -1
- package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.js +6 -6
- package/components/hook-form/RHFSelect/RHFSelect.js +3 -3
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +6 -6
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +6 -6
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +14 -14
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +8 -8
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js +1 -1
- package/components/hook-form/RHFUpload/components/UploadComponents/BlockContent.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/components/UploadComponents/RejectionFiles.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.d.ts +1 -27
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.d.ts +1 -30
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.d.ts +1 -5
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.d.ts.map +1 -1
- package/hooks/useComponentSize/index.d.ts +5 -1
- package/hooks/useComponentSize/index.d.ts.map +1 -1
- package/hooks/useComponentSize/index.js +5 -0
- package/hooks/useComponentSize/useComponentSize.d.ts +1 -9
- package/hooks/useComponentSize/useComponentSize.d.ts.map +1 -1
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
- package/index.js +486 -478
- package/package.json +8 -7
- package/test/importTestingVitest.d.ts +13 -0
- package/test/importTestingVitest.d.ts.map +1 -0
- package/utils/getIconColor.d.ts +1 -1
- package/utils/getIconColor.d.ts.map +1 -1
- package/components/Icon/Icon.styles.d.ts +0 -3
- package/components/Icon/Icon.styles.d.ts.map +0 -1
- package/components/Icon/Icon.styles.js +0 -92
- package/components/Icon/constants.d.ts +0 -4
- package/components/Icon/constants.d.ts.map +0 -1
- package/components/Icon/constants.js +0 -8
- package/components/Icon/slots/IconEnum.d.ts +0 -7
- package/components/Icon/slots/IconEnum.d.ts.map +0 -1
- package/components/Icon/slots/IconEnum.js +0 -4
- package/components/Icon/slots/IconSlots.d.ts +0 -13
- package/components/Icon/slots/IconSlots.d.ts.map +0 -1
- package/components/Icon/slots/IconSlots.js +0 -25
- package/components/Icon/slots/index.d.ts +0 -3
- package/components/Icon/slots/index.d.ts.map +0 -1
- package/components/Icon/types.d.ts +0 -109
- package/components/Icon/types.d.ts.map +0 -1
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +0 -132
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.js +0 -42
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts +0 -3
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/Tooltip.styles.js +0 -65
- package/components/extended/mui/Tooltip/constants.d.ts +0 -10
- package/components/extended/mui/Tooltip/constants.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/constants.js +0 -8
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts +0 -6
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/slots/TooltipEnum.js +0 -4
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts +0 -10
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/slots/TooltipSlots.js +0 -20
- package/components/extended/mui/Tooltip/slots/index.d.ts +0 -3
- package/components/extended/mui/Tooltip/slots/index.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/types.d.ts +0 -28
- package/components/extended/mui/Tooltip/types.d.ts.map +0 -1
- package/components/extended/mui/Typography/constants.d.ts +0 -18
- package/components/extended/mui/Typography/constants.d.ts.map +0 -1
- package/components/extended/mui/Typography/constants.js +0 -8
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts +0 -8
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts.map +0 -1
- package/components/extended/mui/Typography/slots/typographyEnum.js +0 -4
- package/components/extended/mui/Typography/slots/typographySlots.d.ts +0 -13
- package/components/extended/mui/Typography/slots/typographySlots.d.ts.map +0 -1
- package/components/extended/mui/Typography/slots/typographySlots.js +0 -17
- package/components/extended/mui/Typography/types.d.ts +0 -79
- package/components/extended/mui/Typography/types.d.ts.map +0 -1
- package/components/extended/mui/Typography/typography.styles.d.ts +0 -3
- package/components/extended/mui/Typography/typography.styles.d.ts.map +0 -1
- package/components/extended/mui/Typography/typography.styles.js +0 -59
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.js +0 -18
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.js +0 -28
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.js +0 -15
- package/hooks/useComponentSize/useComponentSize.js +0 -11
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as k, Fragment as z } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useFormContext as x, Controller as E } from "react-hook-form";
|
|
3
3
|
import { clsx as R } from "clsx";
|
|
4
4
|
import { useModuleSkeleton as b } from "@m4l/core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { useComponentSize as y } from "../../../hooks/useComponentSize/index.js";
|
|
6
|
+
import { getComponentClasses as D } from "../../../utils/getComponentSlotRoot.js";
|
|
7
|
+
import { RHF_DATE_PICKER_KEY_COMPONENT as H } from "./constants.js";
|
|
8
|
+
import { RHFDatePickerSlots as M } from "./slots/RHFDatePickerEnum.js";
|
|
9
|
+
import { useId as N } from "react";
|
|
10
10
|
import { RootStyled as _ } from "./slots/RHFDatePickerSlots.js";
|
|
11
11
|
import { Label as I } from "../../Label/Label.js";
|
|
12
12
|
import { DatePicker as O } from "../../extended/mui/DatePicker/DatePicker.js";
|
|
@@ -23,7 +23,7 @@ const U = (i) => {
|
|
|
23
23
|
readOnly: f,
|
|
24
24
|
className: m,
|
|
25
25
|
...u
|
|
26
|
-
} = i, { control: F } = x(), S = b(), { currentSize: o } =
|
|
26
|
+
} = i, { control: F } = x(), S = b(), { currentSize: o } = y(a), g = D(H, M), r = N();
|
|
27
27
|
return /* @__PURE__ */ e(
|
|
28
28
|
_,
|
|
29
29
|
{
|
|
@@ -13,7 +13,7 @@ export declare const DatePickerStyled: import('@emotion/styled').StyledComponent
|
|
|
13
13
|
/**
|
|
14
14
|
* Componente estilizado de TextField de MUI como slot del componente.
|
|
15
15
|
*/
|
|
16
|
-
export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../extended/mui/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "title" | "component" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "label" | "slot" | "select" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "
|
|
16
|
+
export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../extended/mui/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "title" | "component" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "label" | "slot" | "select" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "dataTestId" | "disabled" | "type" | keyof import('react').RefAttributes<HTMLDivElement> | "placeholder" | "maxRows" | "fullWidth" | "autoComplete" | "required" | "maxLength" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "rows" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
17
17
|
ownerState?: (Partial<import('../types').RHFDatePickerOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
/**
|
|
@@ -31,7 +31,7 @@ export declare const CalendarHeaderStyled: import('@emotion/styled').StyledCompo
|
|
|
31
31
|
/**
|
|
32
32
|
* Componente estilizado de IconButton de M4L como slot del componente.
|
|
33
33
|
*/
|
|
34
|
-
export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "
|
|
34
|
+
export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "dataTestId" | "placement" | "rotationAngle" | "instanceDataTestId" | "disabled" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
35
35
|
ownerState?: (Partial<import('../types').RHFDatePickerOwnerState> & Record<string, unknown>) | undefined;
|
|
36
36
|
}, {}, {}>;
|
|
37
37
|
/**
|
|
@@ -3,13 +3,13 @@ import I from "clsx";
|
|
|
3
3
|
import { useId as b } from "react";
|
|
4
4
|
import { useFormContext as M, Controller as N } from "react-hook-form";
|
|
5
5
|
import { useFormatter as P } from "@m4l/graphics";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { useComponentSize as _ } from "../../../hooks/useComponentSize/index.js";
|
|
7
|
+
import { getComponentClasses as j } from "../../../utils/getComponentSlotRoot.js";
|
|
8
|
+
import { getPropDataTestId as y } from "../../../test/getNameDataTestId.js";
|
|
9
|
+
import { DateTimePicker as O } from "../../extended/mui/DateTimePicker/DateTimePicker.js";
|
|
10
|
+
import { RHFDateTimeRootStyled as k } from "./slots/RHFDateTimeSlots.js";
|
|
10
11
|
import { RHF_DATE_TIME_KEY_COMPONENT as i } from "./constants.js";
|
|
11
12
|
import { RHFDateTimeSlots as n } from "./slots/RHFDateTimeEnum.js";
|
|
12
|
-
import { useComponentSize as k } from "../../../hooks/useComponentSize/useComponentSize.js";
|
|
13
13
|
import { Label as v } from "../../Label/Label.js";
|
|
14
14
|
import { HelperError as A } from "../../HelperError/HelperError.js";
|
|
15
15
|
function $(l) {
|
|
@@ -26,12 +26,12 @@ function $(l) {
|
|
|
26
26
|
dataTestId: T
|
|
27
27
|
} = l, { control: z } = M(), t = b(), {
|
|
28
28
|
dateFormatter: { datetimeFormat: R }
|
|
29
|
-
} = P(), { currentSize: o } =
|
|
29
|
+
} = P(), { currentSize: o } = _(p), r = o === "small" || o === "medium" ? o : "medium", S = j(i, n);
|
|
30
30
|
return /* @__PURE__ */ e(
|
|
31
|
-
|
|
31
|
+
k,
|
|
32
32
|
{
|
|
33
33
|
className: I(g, S.root),
|
|
34
|
-
...
|
|
34
|
+
...y(i, n.root, T),
|
|
35
35
|
children: /* @__PURE__ */ e(
|
|
36
36
|
N,
|
|
37
37
|
{
|
|
@@ -51,7 +51,7 @@ function $(l) {
|
|
|
51
51
|
}
|
|
52
52
|
),
|
|
53
53
|
/* @__PURE__ */ e(
|
|
54
|
-
|
|
54
|
+
O,
|
|
55
55
|
{
|
|
56
56
|
variant: f,
|
|
57
57
|
size: r,
|
|
@@ -2,13 +2,13 @@ import { jsx as e, jsxs as _, Fragment as z } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useFormContext as E, Controller as H } from "react-hook-form";
|
|
3
3
|
import M from "@mui/material/utils/useId";
|
|
4
4
|
import { getPropDataTestId as y } from "../../../test/getNameDataTestId.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
5
|
+
import { useComponentSize as L } from "../../../hooks/useComponentSize/index.js";
|
|
6
|
+
import { Label as P } from "../../Label/Label.js";
|
|
7
|
+
import { HelperError as T } from "../../HelperError/HelperError.js";
|
|
8
|
+
import { NumberInput as j } from "../../NumberInput/NumberInput.js";
|
|
9
|
+
import { RHFNumberInputSlots as v } from "./slots/RHFNumberInputEnum.js";
|
|
10
|
+
import { RHF_NUMBER_INPUT_KEY_COMPONENT as w } from "./constants.js";
|
|
11
|
+
import { RootStyled as A } from "./slots/RHFNumberInputSlots.js";
|
|
12
12
|
const X = (n) => {
|
|
13
13
|
const {
|
|
14
14
|
name: s,
|
|
@@ -25,14 +25,14 @@ const X = (n) => {
|
|
|
25
25
|
startAdornment: g,
|
|
26
26
|
endAdornment: h,
|
|
27
27
|
...S
|
|
28
|
-
} = n, { control: F } = E(), { currentSize: b } =
|
|
28
|
+
} = n, { control: F } = E(), { currentSize: b } = L(o), C = {
|
|
29
29
|
iconSize: b
|
|
30
30
|
}, t = M();
|
|
31
31
|
return /* @__PURE__ */ e(
|
|
32
|
-
|
|
32
|
+
A,
|
|
33
33
|
{
|
|
34
34
|
ownerState: { ...C },
|
|
35
|
-
...y(
|
|
35
|
+
...y(w, v.root),
|
|
36
36
|
children: /* @__PURE__ */ e(
|
|
37
37
|
H,
|
|
38
38
|
{
|
|
@@ -40,7 +40,7 @@ const X = (n) => {
|
|
|
40
40
|
control: F,
|
|
41
41
|
render: ({ field: { value: I, onChange: N }, fieldState: { error: r }, formState: { isSubmitting: x } }) => /* @__PURE__ */ _(z, { children: [
|
|
42
42
|
m && /* @__PURE__ */ e(
|
|
43
|
-
|
|
43
|
+
P,
|
|
44
44
|
{
|
|
45
45
|
htmlFor: t,
|
|
46
46
|
label: m,
|
|
@@ -51,7 +51,7 @@ const X = (n) => {
|
|
|
51
51
|
}
|
|
52
52
|
),
|
|
53
53
|
/* @__PURE__ */ e(
|
|
54
|
-
|
|
54
|
+
j,
|
|
55
55
|
{
|
|
56
56
|
id: t,
|
|
57
57
|
size: o,
|
|
@@ -70,7 +70,7 @@ const X = (n) => {
|
|
|
70
70
|
...S
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
|
-
r?.message && /* @__PURE__ */ e(
|
|
73
|
+
r?.message && /* @__PURE__ */ e(T, { htmlFor: t, size: o, message: r.message })
|
|
74
74
|
] })
|
|
75
75
|
}
|
|
76
76
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const RHFPeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
2
2
|
export declare const PeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
3
3
|
export declare const NumberInputStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../NumberInput/types').NumberInputProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../NumberInput/types').NumberInputProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
4
|
-
export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "onClose" | "title" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "input" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "
|
|
4
|
+
export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "onClose" | "title" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "input" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "componentsProps" | "components" | "dataTestId" | "onOpen" | "open" | "disabled" | "type" | "startAdornment" | "endAdornment" | keyof import('react').RefAttributes<HTMLDivElement> | "options" | "multiple" | "placeholder" | "maxRows" | "fullWidth" | "autoComplete" | "required" | "readOnly" | "inputProps" | "inputRef" | "multiline" | "rows" | "minRows" | "disableInjectingGlobalStyles" | "inputComponent" | "renderSuffix" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
5
5
|
//# sourceMappingURL=RHFPeriodSlots.d.ts.map
|
|
@@ -2,10 +2,10 @@ import { jsxs as b, jsx as m } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useModuleDictionary as C, useEnvironment as D } from "@m4l/core";
|
|
3
3
|
import { ETimePeriods as e } from "./types.js";
|
|
4
4
|
import { DICTIONARY as l } from "./dictionary.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { useComponentSize as L } from "../../../../../hooks/useComponentSize/index.js";
|
|
6
|
+
import { Icon as P } from "@m4l/base";
|
|
7
|
+
import { useMemo as _ } from "react";
|
|
8
|
+
import { PeriodRootStyled as z, SelectStyled as I, NumberInputStyled as M } from "../../slots/RHFPeriodSlots.js";
|
|
9
9
|
const F = (g) => {
|
|
10
10
|
const {
|
|
11
11
|
value: u,
|
|
@@ -13,7 +13,7 @@ const F = (g) => {
|
|
|
13
13
|
size: A,
|
|
14
14
|
error: d,
|
|
15
15
|
disabled: r
|
|
16
|
-
} = g, { getLabel: o } = C(), { currentSize: a } =
|
|
16
|
+
} = g, { getLabel: o } = C(), { currentSize: a } = L(A), { host_static_assets: E, environment_assets: T } = D(), c = _(
|
|
17
17
|
() => [
|
|
18
18
|
{ id: e.YEARS.toString(), label: o(l.LABEL_YEARS) },
|
|
19
19
|
{ id: e.MONTHS.toString(), label: o(l.LABEL_MONTHS) },
|
|
@@ -29,12 +29,12 @@ const F = (g) => {
|
|
|
29
29
|
}, R = (t) => {
|
|
30
30
|
t && y(t.id, S);
|
|
31
31
|
};
|
|
32
|
-
return /* @__PURE__ */ b(
|
|
32
|
+
return /* @__PURE__ */ b(z, { ownerState: {
|
|
33
33
|
size: a,
|
|
34
34
|
disabled: r
|
|
35
35
|
}, children: [
|
|
36
36
|
/* @__PURE__ */ m(
|
|
37
|
-
|
|
37
|
+
P,
|
|
38
38
|
{
|
|
39
39
|
size: a,
|
|
40
40
|
src: `${E}/${T}/frontend/components/period/assets/icons/clock.svg`,
|
|
@@ -42,7 +42,7 @@ const F = (g) => {
|
|
|
42
42
|
}
|
|
43
43
|
),
|
|
44
44
|
/* @__PURE__ */ m(
|
|
45
|
-
|
|
45
|
+
I,
|
|
46
46
|
{
|
|
47
47
|
size: a,
|
|
48
48
|
value: c[f].id,
|
|
@@ -55,7 +55,7 @@ const F = (g) => {
|
|
|
55
55
|
}
|
|
56
56
|
),
|
|
57
57
|
/* @__PURE__ */ m(
|
|
58
|
-
|
|
58
|
+
M,
|
|
59
59
|
{
|
|
60
60
|
type: "number",
|
|
61
61
|
variant: "outlined",
|
|
@@ -3,12 +3,12 @@ import { useFormContext as N, Controller as T } from "react-hook-form";
|
|
|
3
3
|
import { useId as W } from "react";
|
|
4
4
|
import { Radio as $ } from "../../extended/mui/Radio/Radio.js";
|
|
5
5
|
import { RootStyled as j, RadioGroupStyled as U, OptionWrapperStyled as y, OptionControlStyled as B, OptionStartAdornmentStyled as K, OptionLabelStyled as M } from "./slots/styled.js";
|
|
6
|
-
import {
|
|
7
|
-
import q from "
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
6
|
+
import { useComponentSize as V } from "../../../hooks/useComponentSize/index.js";
|
|
7
|
+
import { RHFRADIO_GROUP_KEY_COMPONENT as Y, RHFRADIO_GROUP_CLASSES as q } from "./constants.js";
|
|
8
|
+
import J from "clsx";
|
|
9
|
+
import { getPropDataTestId as Q } from "../../../test/getNameDataTestId.js";
|
|
10
|
+
import { getOptionLabelColor as X } from "../../../utils/getOptionLabelColor.js";
|
|
11
|
+
import { RHFRadioGroupSlots as Z } from "./slots/slots.js";
|
|
12
12
|
import { Label as oo } from "../../Label/Label.js";
|
|
13
13
|
import { RenderOptionStartAdornment as ro } from "./subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.js";
|
|
14
14
|
import { HelperError as to } from "../../HelperError/HelperError.js";
|
|
@@ -33,7 +33,7 @@ function Fo({
|
|
|
33
33
|
rowColumns: P,
|
|
34
34
|
..._
|
|
35
35
|
}) {
|
|
36
|
-
const g = W(), n = A || g, { currentSize: i } =
|
|
36
|
+
const g = W(), n = A || g, { currentSize: i } = V(z), { control: v } = N(), h = s.some((e) => {
|
|
37
37
|
const r = p?.(e);
|
|
38
38
|
return r != null;
|
|
39
39
|
});
|
|
@@ -41,7 +41,7 @@ function Fo({
|
|
|
41
41
|
j,
|
|
42
42
|
{
|
|
43
43
|
ownerState: { hasStartAdornment: h },
|
|
44
|
-
className: q
|
|
44
|
+
className: J(q.root, L),
|
|
45
45
|
children: /* @__PURE__ */ o(
|
|
46
46
|
T,
|
|
47
47
|
{
|
|
@@ -70,9 +70,9 @@ function Fo({
|
|
|
70
70
|
onChange: e,
|
|
71
71
|
value: r,
|
|
72
72
|
..._,
|
|
73
|
-
...
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
...Q(
|
|
74
|
+
Y,
|
|
75
|
+
Z.radioGroup,
|
|
76
76
|
E
|
|
77
77
|
),
|
|
78
78
|
children: s.map((l) => {
|
|
@@ -103,7 +103,7 @@ function Fo({
|
|
|
103
103
|
htmlFor: R,
|
|
104
104
|
variant: "body",
|
|
105
105
|
size: i,
|
|
106
|
-
color:
|
|
106
|
+
color: X(c, S),
|
|
107
107
|
ownerState: { checked: c },
|
|
108
108
|
children: u
|
|
109
109
|
}
|
package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,EACxC,MAAM,EAAC,CAAC,EACR,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAC,EACrC,gBAAgB,EAAC,kBAAkB,CAAC,CAAC,CAAC,oDAWvC"}
|
|
@@ -9,6 +9,6 @@ export declare const RadioGroupStyled: import('@emotion/styled').StyledComponent
|
|
|
9
9
|
export declare const OptionWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const OptionStartAdornmentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
11
11
|
export declare const OptionStartAdornmentImageStyled: import('@emotion/styled').StyledComponent<Pick<import('../../..').ImageProps, keyof import('../../..').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
12
|
-
export declare const OptionLabelStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
12
|
+
export declare const OptionLabelStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "title" | "component" | "zIndex" | "size" | "variant" | "color" | "dataTestid" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "disabled" | "skeletonWidth" | "ellipsis" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
13
13
|
export declare const OptionControlStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
14
14
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/styled.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,UAAU,2WAGM,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,gBAAgB,uPAGM,CAAC;AAEpC,eAAO,MAAM,mBAAmB,2WAGM,CAAC;AAEvC,eAAO,MAAM,0BAA0B,+WAGM,CAAC;AAE9C,eAAO,MAAM,+BAA+B,mOAGM,CAAC;AAEnD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/styled.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,UAAU,2WAGM,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,gBAAgB,uPAGM,CAAC;AAEpC,eAAO,MAAM,mBAAmB,2WAGM,CAAC;AAEvC,eAAO,MAAM,0BAA0B,+WAGM,CAAC;AAE9C,eAAO,MAAM,+BAA+B,mOAGM,CAAC;AAEnD,eAAO,MAAM,iBAAiB,6zNAGM,CAAC;AAErC,eAAO,MAAM,mBAAmB,+WAGM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { styled as o, RadioGroup as p } from "@mui/material";
|
|
|
2
2
|
import { RHFRADIO_GROUP_KEY_COMPONENT as t } from "../constants.js";
|
|
3
3
|
import { rhfRadioGroupStyles as n } from "../RHFRadioGroup.styles.js";
|
|
4
4
|
import { RHFRadioGroupSlots as r } from "./slots.js";
|
|
5
|
-
import { Typography as e } from "
|
|
5
|
+
import { Typography as e } from "@m4l/base";
|
|
6
6
|
import { Image as a } from "../../../Image/Image.js";
|
|
7
7
|
const y = o("div", {
|
|
8
8
|
name: t,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { isValidElement as c } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Icon as u } from "@m4l/base";
|
|
4
|
+
import { getIconColor as s } from "../../../../../utils/getIconColor.js";
|
|
5
|
+
import { OptionStartAdornmentImageStyled as m } from "../../slots/styled.js";
|
|
6
6
|
function f(r) {
|
|
7
7
|
return r == null ? null : typeof r == "string" ? "image" : c(r) ? "icon" : "node";
|
|
8
8
|
}
|
|
@@ -16,7 +16,7 @@ function v({
|
|
|
16
16
|
switch (e) {
|
|
17
17
|
case "image":
|
|
18
18
|
return /* @__PURE__ */ i(
|
|
19
|
-
|
|
19
|
+
m,
|
|
20
20
|
{
|
|
21
21
|
src: r,
|
|
22
22
|
width: 24,
|
|
@@ -26,9 +26,9 @@ function v({
|
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
case "icon": {
|
|
29
|
-
const o = r, t = o.props?.color, l = t != null ?
|
|
29
|
+
const o = r, t = o.props?.color, l = t != null ? s(String(t)) : "text.primary";
|
|
30
30
|
return /* @__PURE__ */ i(
|
|
31
|
-
|
|
31
|
+
u,
|
|
32
32
|
{
|
|
33
33
|
src: o,
|
|
34
34
|
size: n ?? "medium",
|
|
@@ -5,8 +5,8 @@ import { RHFSelectEnum as _ } from "./slots/RHFSelectEnum.js";
|
|
|
5
5
|
import { RootStyled as B, LabelStyled as O, SelectStyled as P, HelperErrorStyled as $ } from "./slots/RHFSlots.js";
|
|
6
6
|
import { useFormContext as v, Controller as D } from "react-hook-form";
|
|
7
7
|
import { getPropDataTestId as K } from "../../../test/getNameDataTestId.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { useComponentSize as Y } from "../../../hooks/useComponentSize/index.js";
|
|
9
|
+
import { useId as q } from "react";
|
|
10
10
|
const te = (c) => {
|
|
11
11
|
const {
|
|
12
12
|
id: S,
|
|
@@ -25,7 +25,7 @@ const te = (c) => {
|
|
|
25
25
|
variant: z = "outlined",
|
|
26
26
|
className: C,
|
|
27
27
|
dataTestId: I
|
|
28
|
-
} = c, x =
|
|
28
|
+
} = c, x = q(), l = S || x, { currentSize: o } = Y(g), s = o === "small" || o === "medium" ? o : "medium", { control: A } = v();
|
|
29
29
|
return /* @__PURE__ */ t(B, { className: j(n.root, C), children: /* @__PURE__ */ t(
|
|
30
30
|
D,
|
|
31
31
|
{
|
|
@@ -12,7 +12,7 @@ export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick
|
|
|
12
12
|
* Elemento HelperError construido a través de styled,
|
|
13
13
|
* sirve para mostrar el mensaje de error del componente `RHFSelect`
|
|
14
14
|
*/
|
|
15
|
-
export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "onClose" | "title" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "input" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "
|
|
15
|
+
export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "onClose" | "title" | "error" | "size" | "variant" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "input" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "componentsProps" | "components" | "dataTestId" | "onOpen" | "open" | "disabled" | "type" | "startAdornment" | "endAdornment" | keyof import('react').RefAttributes<HTMLDivElement> | "options" | "multiple" | "placeholder" | "maxRows" | "fullWidth" | "autoComplete" | "required" | "readOnly" | "inputProps" | "inputRef" | "multiline" | "rows" | "minRows" | "disableInjectingGlobalStyles" | "inputComponent" | "renderSuffix" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
16
16
|
/**
|
|
17
17
|
* Elemento HelperError construido a través de styled,
|
|
18
18
|
* sirve para mostrar el mensaje de error del componente `RHFSelect`
|