@soyfri/shared-library 1.0.3 → 1.0.4
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/cjs/_virtual/index3.cjs +1 -1
- package/cjs/_virtual/index4.cjs +1 -1
- package/cjs/components/DateTimePicker/DateTimePicker.cjs +2 -0
- package/cjs/components/DateTimePicker/DateTimePicker.cjs.map +1 -0
- package/cjs/components/DateTimePicker.cjs +2 -0
- package/cjs/components/DateTimePicker.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs +1 -1
- package/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Menu/Menu.cjs +1 -1
- package/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/MenuList/MenuList.cjs +1 -1
- package/cjs/node_modules/@mui/material/esm/Select/SelectInput.cjs +1 -1
- package/cjs/node_modules/@mui/material/esm/Tab/Tab.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Tab/Tab.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Tab/tabClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Tab/tabClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/ScrollbarSize.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/ScrollbarSize.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/Tabs.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/Tabs.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/tabsClasses.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/Tabs/tabsClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/internal/animate.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/internal/animate.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.cjs.map +1 -0
- package/cjs/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.cjs +2 -0
- package/cjs/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.cjs.map +1 -0
- package/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimeField/DateTimeField.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimeField/DateTimeField.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimeField/useDateTimeField.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimeField/useDateTimeField.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePicker.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePicker.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerTabs.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerTabs.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerToolbar.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerToolbar.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerTabsClasses.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerTabsClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerToolbarClasses.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerToolbarClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/shared.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DateTimePicker/shared.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePicker.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePicker.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePickerLayout.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePickerLayout.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DigitalClock/DigitalClock.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DigitalClock/DigitalClock.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DigitalClock/digitalClockClasses.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/DigitalClock/digitalClockClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MobileDateTimePicker/MobileDateTimePicker.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MobileDateTimePicker/MobileDateTimePicker.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockClasses.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/PickersLayout/PickersLayout.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/icons/index.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/icons/index.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarClasses.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarClasses.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarTextClasses.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarTextClasses.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/constants/dimensions.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/constants/dimensions.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/hooks/date-helpers-hooks.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/hooks/date-helpers-hooks.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/hooks/useClockReferenceDate.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/hooks/useClockReferenceDate.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/date-time-utils.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/date-time-utils.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/date-utils.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/date-utils.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/time-utils.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/time-utils.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/utils.cjs +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/internals/utils/utils.cjs.map +1 -1
- package/cjs/node_modules/@mui/x-date-pickers/esm/managers/useDateTimeManager.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/managers/useDateTimeManager.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/timeViewRenderers/timeViewRenderers.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/timeViewRenderers/timeViewRenderers.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/validation/validateDateTime.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/validation/validateDateTime.cjs.map +1 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/validation/validateTime.cjs +2 -0
- package/cjs/node_modules/@mui/x-date-pickers/esm/validation/validateTime.cjs.map +1 -0
- package/cjs/node_modules/prop-types/node_modules/react-is/index.cjs +1 -1
- package/components/DateTimePicker/index.ts +1 -0
- package/esm/_virtual/index3.js +1 -1
- package/esm/_virtual/index4.js +1 -1
- package/esm/components/DateTimePicker/DateTimePicker.d.ts +22 -0
- package/esm/components/DateTimePicker/DateTimePicker.definitions.d.ts +9 -0
- package/esm/components/DateTimePicker/DateTimePicker.js +2 -0
- package/esm/components/DateTimePicker/DateTimePicker.js.map +1 -0
- package/esm/components/DateTimePicker/DateTimePicker.stories.d.ts +14 -0
- package/esm/components/DateTimePicker/index.d.ts +1 -0
- package/esm/components/DateTimePicker.js +2 -0
- package/esm/components/DateTimePicker.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Divider/Divider.js +2 -0
- package/esm/node_modules/@mui/material/esm/Divider/Divider.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Divider/dividerClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/Divider/dividerClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +1 -1
- package/esm/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Menu/Menu.js +1 -1
- package/esm/node_modules/@mui/material/esm/MenuItem/MenuItem.js +2 -0
- package/esm/node_modules/@mui/material/esm/MenuItem/MenuItem.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/MenuList/MenuList.js +1 -1
- package/esm/node_modules/@mui/material/esm/Select/SelectInput.js +1 -1
- package/esm/node_modules/@mui/material/esm/Tab/Tab.js +2 -0
- package/esm/node_modules/@mui/material/esm/Tab/Tab.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Tab/tabClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/Tab/tabClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js +2 -0
- package/esm/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Tabs/ScrollbarSize.js +2 -0
- package/esm/node_modules/@mui/material/esm/Tabs/ScrollbarSize.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Tabs/Tabs.js +2 -0
- package/esm/node_modules/@mui/material/esm/Tabs/Tabs.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/Tabs/tabsClasses.js +2 -0
- package/esm/node_modules/@mui/material/esm/Tabs/tabsClasses.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/internal/animate.js +2 -0
- package/esm/node_modules/@mui/material/esm/internal/animate.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js +2 -0
- package/esm/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js.map +1 -0
- package/esm/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js +2 -0
- package/esm/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js.map +1 -0
- package/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/esm/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimeField/DateTimeField.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimeField/DateTimeField.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimeField/useDateTimeField.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimeField/useDateTimeField.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePicker.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePicker.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerTabs.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerTabs.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerToolbar.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/DateTimePickerToolbar.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerTabsClasses.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerTabsClasses.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerToolbarClasses.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/dateTimePickerToolbarClasses.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/shared.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DateTimePicker/shared.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePicker.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DesktopDateTimePicker/DesktopDateTimePickerLayout.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DigitalClock/DigitalClock.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DigitalClock/DigitalClock.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DigitalClock/digitalClockClasses.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/DigitalClock/digitalClockClasses.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MobileDateTimePicker/MobileDateTimePicker.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockClasses.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockClasses.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/PickersLayout/PickersLayout.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/icons/index.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/icons/index.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarClasses.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarClasses.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarTextClasses.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/components/pickersToolbarTextClasses.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/constants/dimensions.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/constants/dimensions.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/hooks/date-helpers-hooks.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/hooks/date-helpers-hooks.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/hooks/useClockReferenceDate.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/hooks/useClockReferenceDate.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/date-time-utils.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/date-time-utils.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/date-utils.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/date-utils.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/time-utils.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/time-utils.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/utils.js +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/internals/utils/utils.js.map +1 -1
- package/esm/node_modules/@mui/x-date-pickers/esm/managers/useDateTimeManager.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/managers/useDateTimeManager.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/timeViewRenderers/timeViewRenderers.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/timeViewRenderers/timeViewRenderers.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/validation/validateDateTime.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/validation/validateDateTime.js.map +1 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/validation/validateTime.js +2 -0
- package/esm/node_modules/@mui/x-date-pickers/esm/validation/validateTime.js.map +1 -0
- package/esm/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.js","sources":["../../../../../../../node_modules/@mui/material/esm/MenuItem/MenuItem.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { dividerClasses } from \"../Divider/index.js\";\nimport { listItemIconClasses } from \"../ListItemIcon/index.js\";\nimport { listItemTextClasses } from \"../ListItemText/index.js\";\nimport menuItemClasses, { getMenuItemUtilityClass } from \"./menuItemClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];\n};\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n dense,\n divider,\n disableGutters,\n selected,\n classes\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']\n };\n const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);\n return {\n ...classes,\n ...composedClasses\n };\n};\nconst MenuItemRoot = styled(ButtonBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenuItem',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n whiteSpace: 'nowrap',\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n [`&.${menuItemClasses.selected}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n },\n [`&.${menuItemClasses.selected}:hover`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n }\n },\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n [`&.${menuItemClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity\n },\n [`& + .${dividerClasses.root}`]: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n },\n [`& + .${dividerClasses.inset}`]: {\n marginLeft: 52\n },\n [`& .${listItemTextClasses.root}`]: {\n marginTop: 0,\n marginBottom: 0\n },\n [`& .${listItemTextClasses.inset}`]: {\n paddingLeft: 36\n },\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 36\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.divider,\n style: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.dense,\n style: {\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.dense,\n style: {\n minHeight: 32,\n // https://m2.material.io/components/menus#specs > Dense\n paddingTop: 4,\n paddingBottom: 4,\n ...theme.typography.body2,\n [`& .${listItemIconClasses.root} svg`]: {\n fontSize: '1.25rem'\n }\n }\n }]\n})));\nconst MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiMenuItem'\n });\n const {\n autoFocus = false,\n component = 'li',\n dense = false,\n divider = false,\n disableGutters = false,\n focusVisibleClassName,\n role = 'menuitem',\n tabIndex: tabIndexProp,\n className,\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n disableGutters\n }), [context.dense, dense, disableGutters]);\n const menuItemRef = React.useRef(null);\n useEnhancedEffect(() => {\n if (autoFocus) {\n if (menuItemRef.current) {\n menuItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n const ownerState = {\n ...props,\n dense: childContext.dense,\n divider,\n disableGutters\n };\n const classes = useUtilityClasses(props);\n const handleRef = useForkRef(menuItemRef, ref);\n let tabIndex;\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(MenuItemRoot, {\n ref: handleRef,\n role: role,\n tabIndex: tabIndex,\n component: component,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n classes: classes\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the list item is focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent Menu component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the menu item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * This prop can help identify which element has keyboard focus.\n * The class name will be applied when the element gains the focus through keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * @ignore\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * If `true`, the component is selected.\n * @default false\n */\n selected: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @default 0\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default MenuItem;"],"names":["overridesResolver","props","styles","ownerState","root","dense","divider","disableGutters","gutters","MenuItemRoot","styled","ButtonBase","shouldForwardProp","prop","rootShouldForwardProp","name","slot","memoTheme","theme","typography","body1","display","justifyContent","alignItems","position","textDecoration","minHeight","paddingTop","paddingBottom","boxSizing","whiteSpace","backgroundColor","vars","palette","action","hover","menuItemClasses","selected","primary","mainChannel","selectedOpacity","alpha","main","focusVisible","focusOpacity","hoverOpacity","focus","disabled","opacity","disabledOpacity","dividerClasses","marginTop","spacing","marginBottom","inset","marginLeft","listItemTextClasses","paddingLeft","listItemIconClasses","minWidth","variants","style","paddingRight","borderBottom","backgroundClip","breakpoints","up","body2","fontSize","MenuItem","React","forwardRef","inProps","ref","useDefaultProps","autoFocus","component","focusVisibleClassName","role","tabIndex","tabIndexProp","className","other","context","useContext","ListContext","childContext","useMemo","menuItemRef","useRef","useEnhancedEffect","current","process","env","NODE_ENV","console","error","classes","composedClasses","composeClasses","getMenuItemUtilityClass","useUtilityClasses","handleRef","useForkRef","undefined","_jsx","jsx","Provider","value","children","clsx","propTypes","PropTypes","bool","node","object","string","elementType","sx","oneOfType","arrayOf","func","number"],"mappings":"u8BAoBY,MAACA,EAAoB,CAACC,EAAOC,KACvC,MAAMC,WACJA,GACEF,EACJ,MAAO,CAACC,EAAOE,KAAMD,EAAWE,OAASH,EAAOG,MAAOF,EAAWG,SAAWJ,EAAOI,SAAUH,EAAWI,gBAAkBL,EAAOM,UAoB9HC,EAAeC,EAAOC,EAAY,CACtCC,kBAAmBC,GAAQC,EAAsBD,IAAkB,YAATA,EAC1DE,KAAM,cACNC,KAAM,OACNhB,qBAJmBU,CAKlBO,GAAU,EACXC,YACK,IACFA,EAAMC,WAAWC,MACpBC,QAAS,OACTC,eAAgB,aAChBC,WAAY,SACZC,SAAU,WACVC,eAAgB,OAChBC,UAAW,GACXC,WAAY,EACZC,cAAe,EACfC,UAAW,aACXC,WAAY,SACZ,UAAW,CACTL,eAAgB,OAChBM,iBAAkBb,EAAMc,MAAQd,GAAOe,QAAQC,OAAOC,MAEtD,uBAAwB,CACtBJ,gBAAiB,gBAGrB,CAAC,KAAKK,EAAgBC,YAAa,CACjCN,gBAAiBb,EAAMc,KAAO,QAAQd,EAAMc,KAAKC,QAAQK,QAAQC,iBAAiBrB,EAAMc,KAAKC,QAAQC,OAAOM,mBAAqBC,EAAMvB,EAAMe,QAAQK,QAAQI,KAAMxB,EAAMe,QAAQC,OAAOM,iBACxL,CAAC,KAAKJ,EAAgBO,gBAAiB,CACrCZ,gBAAiBb,EAAMc,KAAO,QAAQd,EAAMc,KAAKC,QAAQK,QAAQC,sBA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,QAAS0C,GAAY,YAAaxC,GAAkB,UAAWD,GAAW,UAAW+B,GAAY,aAE7E+D,EAAyBH,GACvE,MAAO,IACFA,KACAC,IAiJWG,CAAkBpG,GAC5BqG,EAAYC,EAAWf,EAAaf,GAC1C,IAAIM,EAIJ,OAHK9E,EAAM8C,WACTgC,OAA4ByB,IAAjBxB,EAA6BA,GAAiB,GAEvCyB,EAAIC,IAACrB,EAAYsB,SAAU,CAC7CC,MAAOtB,EACPuB,SAAuBJ,EAAIC,IAACjG,EAAc,CACxCgE,IAAK6B,EACLxB,KAAMA,EACNC,SAAUA,EACVH,UAAWA,EACXC,sBAAuBiC,EAAKb,EAAQtD,aAAckC,GAClDI,UAAW6B,EAAKb,EAAQ7F,KAAM6E,MAC3BC,EACH/E,WAAYA,EACZ8F,QAASA,KAGf,IACyB,eAAzBL,QAAQC,IAAIC,WAA4BzB,EAAS0C,UAAmC,CAUlFpC,UAAWqC,EAAUC,KAIrBJ,SAAUG,EAAUE,KAIpBjB,QAASe,EAAUG,OAInBlC,UAAW+B,EAAUI,OAKrBxC,UAAWoC,EAAUK,YAMrBhH,MAAO2G,EAAUC,KAIjBlE,SAAUiE,EAAUC,KAKpB1G,eAAgByG,EAAUC,KAK1B3G,QAAS0G,EAAUC,KASnBpC,sBAAuBmC,EAAUI,OAIjCtC,KAAMkC,EAAgDI,OAKtD/E,SAAU2E,EAAUC,KAIpBK,GAAIN,EAAUO,UAAU,CAACP,EAAUQ,QAAQR,EAAUO,UAAU,CAACP,EAAUS,KAAMT,EAAUG,OAAQH,EAAUC,QAASD,EAAUS,KAAMT,EAAUG,SAI/IpC,SAAUiC,EAAUU","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../utils/esm/generateUtilityClasses/generateUtilityClasses.js";import t from"../../../utils/esm/generateUtilityClass/generateUtilityClass.js";function s(e){return t("MuiMenuItem",e)}const i=e("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);export{i as default,s as getMenuItemUtilityClass};
|
|
2
|
+
//# sourceMappingURL=menuItemClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuItemClasses.js","sources":["../../../../../../../node_modules/@mui/material/esm/MenuItem/menuItemClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getMenuItemUtilityClass(slot) {\n return generateUtilityClass('MuiMenuItem', slot);\n}\nconst menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);\nexport default menuItemClasses;"],"names":["getMenuItemUtilityClass","slot","generateUtilityClass","menuItemClasses","generateUtilityClasses"],"mappings":"kKAEO,SAASA,EAAwBC,GACtC,OAAOC,EAAqB,cAAeD,EAC7C,CACK,MAACE,EAAkBC,EAAuB,cAAe,CAAC,OAAQ,eAAgB,QAAS,WAAY,UAAW,UAAW","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{r as t}from"../../../../../_virtual/
|
|
1
|
+
import*as e from"react";import{r as t}from"../../../../../_virtual/index3.js";import r from"../../../../../_virtual/index.js";import{j as n}from"../../../../../_virtual/jsx-runtime.js";import i from"../../../utils/esm/useEnhancedEffect/useEnhancedEffect.js";import s from"../../../utils/esm/getScrollbarSize/getScrollbarSize.js";import o from"../../../utils/esm/ownerWindow/ownerWindow.js";import l from"../../../utils/esm/useForkRef/useForkRef.js";import a from"../List/List.js";import u from"../../../utils/esm/ownerDocument/ownerDocument.js";function c(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function d(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function p(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function m(e,t,r,n,i,s){let o=!1,l=i(e,t,!!t&&r);for(;l;){if(l===e.firstChild){if(o)return!1;o=!0}const t=!n&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&p(l,s)&&!t)return l.focus(),!0;l=i(e,l,r)}return!1}const f=e.forwardRef((function(r,f){const{actions:h,autoFocus:g=!1,autoFocusItem:b=!1,children:v,className:y,disabledItemsFocusable:w=!1,disableListWrap:E=!1,onKeyDown:j,variant:x="selectedMenu",...D}=r,k=e.useRef(null),C=e.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});i((()=>{g&&k.current.focus()}),[g]),e.useImperativeHandle(h,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!k.current.style.width;if(e.clientHeight<k.current.clientHeight&&r){const r=`${s(o(e))}px`;k.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,k.current.style.width=`calc(100% + ${r})`}return k.current}})),[]);const F=l(k,f);let S=-1;e.Children.forEach(v,((r,n)=>{e.isValidElement(r)?("production"!==process.env.NODE_ENV&&t.isFragment(r)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),r.props.disabled||("selectedMenu"===x&&r.props.selected||-1===S)&&(S=n),S===n&&(r.props.disabled||r.props.muiSkipListHighlight||r.type.muiSkipListHighlight)&&(S+=1,S>=v.length&&(S=-1))):S===n&&(S+=1,S>=v.length&&(S=-1))}));const K=e.Children.map(v,((t,r)=>{if(r===S){const r={};return b&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===x&&(r.tabIndex=0),e.cloneElement(t,r)}return t}));return n.jsx(a,{role:"menu",ref:F,className:y,onKeyDown:e=>{const t=k.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(j&&j(e));const n=u(t).activeElement;if("ArrowDown"===r)e.preventDefault(),m(t,n,E,w,c);else if("ArrowUp"===r)e.preventDefault(),m(t,n,E,w,d);else if("Home"===r)e.preventDefault(),m(t,null,E,w,c);else if("End"===r)e.preventDefault(),m(t,null,E,w,d);else if(1===r.length){const i=C.current,s=r.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&s!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(s);const l=n&&!i.repeating&&p(n,i);i.previousKeyMatched&&(l||m(t,n,!1,w,c,i))?e.preventDefault():i.previousKeyMatched=!1}j&&j(e)},tabIndex:g?0:-1,...D,children:K})}));"production"!==process.env.NODE_ENV&&(f.propTypes={autoFocus:r.bool,autoFocusItem:r.bool,children:r.node,className:r.string,disabledItemsFocusable:r.bool,disableListWrap:r.bool,onKeyDown:r.func,variant:r.oneOf(["menu","selectedMenu"])});export{f as default};
|
|
2
2
|
//# sourceMappingURL=MenuList.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{r}from"../../../../../_virtual/
|
|
1
|
+
import*as e from"react";import{r}from"../../../../../_virtual/index3.js";import o from"../../../../../_virtual/index.js";import{clsx as t}from"../../../../clsx/dist/clsx.js";import n from"../Menu/Menu.js";import{StyledSelectSelect as l,StyledSelectIcon as a}from"../NativeSelect/NativeSelectInput.js";import{isFilled as s}from"../InputBase/utils.js";import i from"../styles/slotShouldForwardProp.js";import u,{getSelectUtilityClasses as c}from"./selectClasses.js";import{j as p}from"../../../../../_virtual/jsx-runtime.js";import d from"../../../utils/esm/useControlled/useControlled.js";import m from"../../../utils/esm/useForkRef/useForkRef.js";import f from"../../../utils/esm/ownerDocument/ownerDocument.js";import v from"../../../utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js";import b from"../../../utils/esm/useId/useId.js";import h from"../styles/styled.js";import y from"../../../utils/esm/capitalize/capitalize.js";import j from"../../../utils/esm/composeClasses/composeClasses.js";import g from"../../../utils/esm/refType/refType.js";var w;const E=h(l,{name:"MuiSelect",slot:"Select",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[{[`&.${u.select}`]:r.select},{[`&.${u.select}`]:r[o.variant]},{[`&.${u.error}`]:r.error},{[`&.${u.multiple}`]:r.multiple}]}})({[`&.${u.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),x=h(a,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[r.icon,o.variant&&r[`icon${y(o.variant)}`],o.open&&r.iconOpen]}})({}),S=h("input",{shouldForwardProp:e=>i(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function I(e,r){return"object"==typeof r&&null!==r?e===r:String(e)===String(r)}function C(e){return null==e||"string"==typeof e&&!e.trim()}const O=e.forwardRef((function(o,l){const{"aria-describedby":a,"aria-label":i,autoFocus:u,autoWidth:h,children:g,className:O,defaultOpen:N,defaultValue:M,disabled:D,displayEmpty:P,error:$=!1,IconComponent:F,inputRef:R,labelId:k,MenuProps:A={},multiple:T,name:V,onBlur:U,onChange:W,onClose:_,onFocus:B,onOpen:q,open:z,readOnly:K,renderValue:L,required:H,SelectDisplayProps:Y={},tabIndex:G,type:J,value:Q,variant:X="standard",...Z}=o,[ee,re]=d({controlled:Q,default:M,name:"Select"}),[oe,te]=d({controlled:z,default:N,name:"Select"}),ne=e.useRef(null),le=e.useRef(null),[ae,se]=e.useState(null),{current:ie}=e.useRef(null!=z),[ue,ce]=e.useState(),pe=m(l,R),de=e.useCallback((e=>{le.current=e,e&&se(e)}),[]),me=ae?.parentNode;e.useImperativeHandle(pe,(()=>({focus:()=>{le.current.focus()},node:ne.current,value:ee})),[ee]),e.useEffect((()=>{N&&oe&&ae&&!ie&&(ce(h?null:me.clientWidth),le.current.focus())}),[ae,h]),e.useEffect((()=>{u&&le.current.focus()}),[u]),e.useEffect((()=>{if(!k)return;const e=f(le.current).getElementById(k);if(e){const r=()=>{getSelection().isCollapsed&&le.current.focus()};return e.addEventListener("click",r),()=>{e.removeEventListener("click",r)}}}),[k]);const fe=(e,r)=>{e?q&&q(r):_&&_(r),ie||(ce(h?null:me.clientWidth),te(e))},ve=e.Children.toArray(g),be=e=>r=>{let o;if(r.currentTarget.hasAttribute("tabindex")){if(T){o=Array.isArray(ee)?ee.slice():[];const r=ee.indexOf(e.props.value);-1===r?o.push(e.props.value):o.splice(r,1)}else o=e.props.value;if(e.props.onClick&&e.props.onClick(r),ee!==o&&(re(o),W)){const t=r.nativeEvent||r,n=new t.constructor(t.type,t);Object.defineProperty(n,"target",{writable:!0,value:{value:o,name:V}}),W(n,e)}T||fe(!1,r)}},he=null!==ae&&oe;let ye,je;delete Z["aria-invalid"];const ge=[];let we=!1,Ee=!1;(s({value:ee})||P)&&(L?ye=L(ee):we=!0);const xe=ve.map((o=>{if(!e.isValidElement(o))return null;let t;if("production"!==process.env.NODE_ENV&&r.isFragment(o)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),T){if(!Array.isArray(ee))throw new Error("production"!==process.env.NODE_ENV?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":v(2));t=ee.some((e=>I(e,o.props.value))),t&&we&&ge.push(o.props.children)}else t=I(ee,o.props.value),t&&we&&(je=o.props.children);return t&&(Ee=!0),e.cloneElement(o,{"aria-selected":t?"true":"false",onClick:be(o),onKeyUp:e=>{" "===e.key&&e.preventDefault(),o.props.onKeyUp&&o.props.onKeyUp(e)},role:"option",selected:t,value:void 0,"data-value":o.props.value})}));"production"!==process.env.NODE_ENV&&e.useEffect((()=>{if(!Ee&&!T&&""!==ee){const e=ve.map((e=>e.props.value));console.warn([`MUI: You have provided an out-of-range value \`${ee}\` for the select ${V?`(name="${V}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${e.filter((e=>null!=e)).map((e=>`\`${e}\``)).join(", ")||'""'}.`].join("\n"))}}),[Ee,ve,T,V,ee]),we&&(ye=T?0===ge.length?null:ge.reduce(((e,r,o)=>(e.push(r),o<ge.length-1&&e.push(", "),e)),[]):je);let Se,Ie=ue;!h&&ie&&ae&&(Ie=me.clientWidth),Se=void 0!==G?G:D?null:0;const Ce=Y.id||(V?`mui-component-select-${V}`:void 0),Oe={...o,variant:X,value:ee,open:he,error:$},Ne=(e=>{const{classes:r,variant:o,disabled:t,multiple:n,open:l,error:a}=e,s={select:["select",o,t&&"disabled",n&&"multiple",a&&"error"],icon:["icon",`icon${y(o)}`,l&&"iconOpen",t&&"disabled"],nativeInput:["nativeInput"]};return j(s,c,r)})(Oe),Me={...A.PaperProps,...A.slotProps?.paper},De=b();return p.jsxs(e.Fragment,{children:[p.jsx(E,{as:"div",ref:de,tabIndex:Se,role:"combobox","aria-controls":he?De:void 0,"aria-disabled":D?"true":void 0,"aria-expanded":he?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[k,Ce].filter(Boolean).join(" ")||void 0,"aria-describedby":a,"aria-required":H?"true":void 0,"aria-invalid":$?"true":void 0,onKeyDown:e=>{if(!K){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),fe(!0,e))}},onMouseDown:D||K?null:e=>{0===e.button&&(e.preventDefault(),le.current.focus(),fe(!0,e))},onBlur:e=>{!he&&U&&(Object.defineProperty(e,"target",{writable:!0,value:{value:ee,name:V}}),U(e))},onFocus:B,...Y,ownerState:Oe,className:t(Y.className,Ne.select,O),id:Ce,children:C(ye)?w||(w=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):ye}),p.jsx(S,{"aria-invalid":$,value:Array.isArray(ee)?ee.join(","):ee,name:V,ref:ne,"aria-hidden":!0,onChange:e=>{const r=ve.find((r=>r.props.value===e.target.value));void 0!==r&&(re(r.props.value),W&&W(e,r))},tabIndex:-1,disabled:D,className:Ne.nativeInput,autoFocus:u,required:H,...Z,ownerState:Oe}),p.jsx(x,{as:F,className:Ne.icon,ownerState:Oe}),p.jsx(n,{id:`menu-${V||""}`,anchorEl:me,open:he,onClose:e=>{fe(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...A,slotProps:{...A.slotProps,list:{"aria-labelledby":k,role:"listbox","aria-multiselectable":T?"true":void 0,disableListWrap:!0,id:De,...A.MenuListProps},paper:{...Me,style:{minWidth:Ie,...null!=Me?Me.style:null}}},children:xe})]})}));"production"!==process.env.NODE_ENV&&(O.propTypes={"aria-describedby":o.string,"aria-label":o.string,autoFocus:o.bool,autoWidth:o.bool,children:o.node,classes:o.object,className:o.string,defaultOpen:o.bool,defaultValue:o.any,disabled:o.bool,displayEmpty:o.bool,error:o.bool,IconComponent:o.elementType.isRequired,inputRef:g,labelId:o.string,MenuProps:o.object,multiple:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClose:o.func,onFocus:o.func,onOpen:o.func,open:o.bool,readOnly:o.bool,renderValue:o.func,required:o.bool,SelectDisplayProps:o.object,tabIndex:o.oneOfType([o.number,o.string]),type:o.any,value:o.any,variant:o.oneOf(["standard","outlined","filled"])});export{O as default};
|
|
2
2
|
//# sourceMappingURL=SelectInput.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as o from"react";import e from"../../../../../_virtual/index.js";import{clsx as t}from"../../../../clsx/dist/clsx.js";import i from"../utils/memoTheme.js";import s,{getTabUtilityClass as l}from"./tabClasses.js";import{j as r}from"../../../../../_virtual/jsx-runtime.js";import{useDefaultProps as a}from"../DefaultPropsProvider/DefaultPropsProvider.js";import n from"../styles/styled.js";import p from"../../../utils/esm/capitalize/capitalize.js";import c from"../../../utils/esm/composeClasses/composeClasses.js";import d from"../ButtonBase/ButtonBase.js";import m from"../../../utils/esm/unsupportedProp/unsupportedProp.js";const b=n(d,{name:"MuiTab",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:t}=o;return[e.root,t.label&&t.icon&&e.labelIcon,e[`textColor${p(t.textColor)}`],t.fullWidth&&e.fullWidth,t.wrapped&&e.wrapped,{[`& .${s.iconWrapper}`]:e.iconWrapper},{[`& .${s.icon}`]:e.icon}]}})(i((({theme:o})=>({...o.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:o})=>o.label&&("top"===o.iconPosition||"bottom"===o.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:o})=>o.label&&"top"!==o.iconPosition&&"bottom"!==o.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:o})=>o.icon&&o.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:o,iconPosition:e})=>o.icon&&o.label&&"top"===e,style:{[`& > .${s.icon}`]:{marginBottom:6}}},{props:({ownerState:o,iconPosition:e})=>o.icon&&o.label&&"bottom"===e,style:{[`& > .${s.icon}`]:{marginTop:6}}},{props:({ownerState:o,iconPosition:e})=>o.icon&&o.label&&"start"===e,style:{[`& > .${s.icon}`]:{marginRight:o.spacing(1)}}},{props:({ownerState:o,iconPosition:e})=>o.icon&&o.label&&"end"===e,style:{[`& > .${s.icon}`]:{marginLeft:o.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${s.selected}`]:{opacity:1},[`&.${s.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(o.vars||o).palette.text.secondary,[`&.${s.selected}`]:{color:(o.vars||o).palette.primary.main},[`&.${s.disabled}`]:{color:(o.vars||o).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(o.vars||o).palette.text.secondary,[`&.${s.selected}`]:{color:(o.vars||o).palette.secondary.main},[`&.${s.disabled}`]:{color:(o.vars||o).palette.text.disabled}}},{props:({ownerState:o})=>o.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:o})=>o.wrapped,style:{fontSize:o.typography.pxToRem(12)}}]})))),u=o.forwardRef((function(e,i){const s=a({props:e,name:"MuiTab"}),{className:n,disabled:d=!1,disableFocusRipple:m=!1,fullWidth:u,icon:f,iconPosition:x="top",indicator:y,label:h,onChange:w,onClick:g,onFocus:j,selected:v,selectionFollowsFocus:C,textColor:P="inherit",value:S,wrapped:$=!1,...W}=s,F={...s,disabled:d,disableFocusRipple:m,selected:v,icon:!!f,iconPosition:x,label:!!h,fullWidth:u,textColor:P,wrapped:$},R=(o=>{const{classes:e,textColor:t,fullWidth:i,wrapped:s,icon:r,label:a,selected:n,disabled:d}=o,m={root:["root",r&&a&&"labelIcon",`textColor${p(t)}`,i&&"fullWidth",s&&"wrapped",n&&"selected",d&&"disabled"],icon:["iconWrapper","icon"]};return c(m,l,e)})(F),T=f&&h&&o.isValidElement(f)?o.cloneElement(f,{className:t(R.icon,f.props.className)}):f;return r.jsxs(b,{focusRipple:!m,className:t(R.root,n),ref:i,role:"tab","aria-selected":v,disabled:d,onClick:o=>{!v&&w&&w(o,S),g&&g(o)},onFocus:o=>{C&&!v&&w&&w(o,S),j&&j(o)},ownerState:F,tabIndex:v?0:-1,...W,children:["top"===x||"start"===x?r.jsxs(o.Fragment,{children:[T,h]}):r.jsxs(o.Fragment,{children:[h,T]}),y]})}));"production"!==process.env.NODE_ENV&&(u.propTypes={children:m,classes:e.object,className:e.string,disabled:e.bool,disableFocusRipple:e.bool,disableRipple:e.bool,icon:e.oneOfType([e.element,e.string]),iconPosition:e.oneOf(["bottom","end","start","top"]),label:e.node,onChange:e.func,onClick:e.func,onFocus:e.func,sx:e.oneOfType([e.arrayOf(e.oneOfType([e.func,e.object,e.bool])),e.func,e.object]),value:e.any,wrapped:e.bool});export{u as default};
|
|
2
|
+
//# sourceMappingURL=Tab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.js","sources":["../../../../../../../node_modules/@mui/material/esm/Tab/Tab.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport unsupportedProp from \"../utils/unsupportedProp.js\";\nimport tabClasses, { getTabUtilityClass } from \"./tabClasses.js\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n textColor,\n fullWidth,\n wrapped,\n icon,\n label,\n selected,\n disabled\n } = ownerState;\n const slots = {\n root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],\n icon: ['iconWrapper', 'icon']\n };\n return composeClasses(slots, getTabUtilityClass, classes);\n};\nconst TabRoot = styled(ButtonBase, {\n name: 'MuiTab',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {\n [`& .${tabClasses.iconWrapper}`]: styles.iconWrapper\n }, {\n [`& .${tabClasses.icon}`]: styles.icon\n }];\n }\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.button,\n maxWidth: 360,\n minWidth: 90,\n position: 'relative',\n minHeight: 48,\n flexShrink: 0,\n padding: '12px 16px',\n overflow: 'hidden',\n whiteSpace: 'normal',\n textAlign: 'center',\n lineHeight: 1.25,\n variants: [{\n props: ({\n ownerState\n }) => ownerState.label && (ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom'),\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.label && ownerState.iconPosition !== 'top' && ownerState.iconPosition !== 'bottom',\n style: {\n flexDirection: 'row'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.icon && ownerState.label,\n style: {\n minHeight: 72,\n paddingTop: 9,\n paddingBottom: 9\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'top',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginBottom: 6\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'bottom',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginTop: 6\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'start',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginRight: theme.spacing(1)\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'end',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginLeft: theme.spacing(1)\n }\n }\n }, {\n props: {\n textColor: 'inherit'\n },\n style: {\n color: 'inherit',\n opacity: 0.6,\n // same opacity as theme.palette.text.secondary\n [`&.${tabClasses.selected}`]: {\n opacity: 1\n },\n [`&.${tabClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity\n }\n }\n }, {\n props: {\n textColor: 'primary'\n },\n style: {\n color: (theme.vars || theme).palette.text.secondary,\n [`&.${tabClasses.selected}`]: {\n color: (theme.vars || theme).palette.primary.main\n },\n [`&.${tabClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n }\n }, {\n props: {\n textColor: 'secondary'\n },\n style: {\n color: (theme.vars || theme).palette.text.secondary,\n [`&.${tabClasses.selected}`]: {\n color: (theme.vars || theme).palette.secondary.main\n },\n [`&.${tabClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: 'none'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.wrapped,\n style: {\n fontSize: theme.typography.pxToRem(12)\n }\n }]\n})));\nconst Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTab'\n });\n const {\n className,\n disabled = false,\n disableFocusRipple = false,\n // eslint-disable-next-line react/prop-types\n fullWidth,\n icon: iconProp,\n iconPosition = 'top',\n // eslint-disable-next-line react/prop-types\n indicator,\n label,\n onChange,\n onClick,\n onFocus,\n // eslint-disable-next-line react/prop-types\n selected,\n // eslint-disable-next-line react/prop-types\n selectionFollowsFocus,\n // eslint-disable-next-line react/prop-types\n textColor = 'inherit',\n value,\n wrapped = false,\n ...other\n } = props;\n const ownerState = {\n ...props,\n disabled,\n disableFocusRipple,\n selected,\n icon: !!iconProp,\n iconPosition,\n label: !!label,\n fullWidth,\n textColor,\n wrapped\n };\n const classes = useUtilityClasses(ownerState);\n const icon = iconProp && label && /*#__PURE__*/React.isValidElement(iconProp) ? /*#__PURE__*/React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className)\n }) : iconProp;\n const handleClick = event => {\n if (!selected && onChange) {\n onChange(event, value);\n }\n if (onClick) {\n onClick(event);\n }\n };\n const handleFocus = event => {\n if (selectionFollowsFocus && !selected && onChange) {\n onChange(event, value);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n return /*#__PURE__*/_jsxs(TabRoot, {\n focusRipple: !disableFocusRipple,\n className: clsx(classes.root, className),\n ref: ref,\n role: \"tab\",\n \"aria-selected\": selected,\n disabled: disabled,\n onClick: handleClick,\n onFocus: handleFocus,\n ownerState: ownerState,\n tabIndex: selected ? 0 : -1,\n ...other,\n children: [iconPosition === 'top' || iconPosition === 'start' ? /*#__PURE__*/_jsxs(React.Fragment, {\n children: [icon, label]\n }) : /*#__PURE__*/_jsxs(React.Fragment, {\n children: [label, icon]\n }), indicator]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display.\n */\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n /**\n * The position of the icon relative to the label.\n * @default 'top'\n */\n iconPosition: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * The label element.\n */\n label: PropTypes.node,\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * You can provide your own value. Otherwise, we fallback to the child position index.\n */\n value: PropTypes.any,\n /**\n * Tab labels appear in a single row.\n * They can use a second line if needed.\n * @default false\n */\n wrapped: PropTypes.bool\n} : void 0;\nexport default Tab;"],"names":["TabRoot","styled","ButtonBase","name","slot","overridesResolver","props","styles","ownerState","root","label","icon","labelIcon","capitalize","textColor","fullWidth","wrapped","tabClasses","iconWrapper","memoTheme","theme","typography","button","maxWidth","minWidth","position","minHeight","flexShrink","padding","overflow","whiteSpace","textAlign","lineHeight","variants","iconPosition","style","flexDirection","paddingTop","paddingBottom","marginBottom","marginTop","marginRight","spacing","marginLeft","color","opacity","selected","disabled","vars","palette","action","disabledOpacity","text","secondary","primary","main","flexGrow","flexBasis","fontSize","pxToRem","Tab","React","forwardRef","inProps","ref","useDefaultProps","className","disableFocusRipple","iconProp","indicator","onChange","onClick","onFocus","selectionFollowsFocus","value","other","classes","slots","composeClasses","getTabUtilityClass","useUtilityClasses","isValidElement","cloneElement","clsx","_jsxs","focusRipple","role","event","tabIndex","children","jsxs","Fragment","process","env","NODE_ENV","propTypes","unsupportedProp","PropTypes","object","string","bool","disableRipple","oneOfType","element","oneOf","node","func","sx","arrayOf","any"],"mappings":"wnBAcA,MAiBMA,EAAUC,EAAOC,EAAY,CACjCC,KAAM,SACNC,KAAM,OACNC,kBAAmB,CAACC,EAAOC,KACzB,MAAMC,WACJA,GACEF,EACJ,MAAO,CAACC,EAAOE,KAAMD,EAAWE,OAASF,EAAWG,MAAQJ,EAAOK,UAAWL,EAAO,YAAYM,EAAWL,EAAWM,cAAeN,EAAWO,WAAaR,EAAOQ,UAAWP,EAAWQ,SAAWT,EAAOS,QAAS,CACpN,CAAC,MAAMC,EAAWC,eAAgBX,EAAOW,aACxC,CACD,CAAC,MAAMD,EAAWN,QAASJ,EAAOI,SAVxBV,CAabkB,GAAU,EACXC,YACK,IACFA,EAAMC,WAAWC,OACpBC,SAAU,IACVC,SAAU,GACVC,SAAU,WACVC,UAAW,GACXC,WAAY,EACZC,QAAS,YACTC,SAAU,SACVC,WAAY,SACZC,UAAW,SACXC,WAAY,KACZC,SAAU,CAAC,CACT3B,MAAO,EACLE,gBACIA,EAAWE,QAAsC,QAA5BF,EAAW0B,cAAsD,WAA5B1B,EAAW0B,cAC3EC,MAAO,CACLC,cAAe,WAEhB,CACD9B,MAA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2B,EAAUS,KAIpBnC,QAAS0B,EAAUS,KAInBlC,QAASyB,EAAUS,KAInBC,GAAIV,EAAUK,UAAU,CAACL,EAAUW,QAAQX,EAAUK,UAAU,CAACL,EAAUS,KAAMT,EAAUC,OAAQD,EAAUG,QAASH,EAAUS,KAAMT,EAAUC,SAI/IxB,MAAOuB,EAAUY,IAMjB7F,QAASiF,EAAUG","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../utils/esm/generateUtilityClasses/generateUtilityClasses.js";import t from"../../../utils/esm/generateUtilityClass/generateUtilityClass.js";function r(e){return t("MuiTab",e)}const i=e("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]);export{i as default,r as getTabUtilityClass};
|
|
2
|
+
//# sourceMappingURL=tabClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabClasses.js","sources":["../../../../../../../node_modules/@mui/material/esm/Tab/tabClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabUtilityClass(slot) {\n return generateUtilityClass('MuiTab', slot);\n}\nconst tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper', 'icon']);\nexport default tabClasses;"],"names":["getTabUtilityClass","slot","generateUtilityClass","tabClasses","generateUtilityClasses"],"mappings":"kKAEO,SAASA,EAAmBC,GACjC,OAAOC,EAAqB,SAAUD,EACxC,CACK,MAACE,EAAaC,EAAuB,SAAU,CAAC,OAAQ,YAAa,mBAAoB,mBAAoB,qBAAsB,WAAY,WAAY,YAAa,UAAW,cAAe","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as o from"react";import t from"../../../../../_virtual/index.js";import{clsx as e}from"../../../../clsx/dist/clsx.js";import{useRtl as r}from"../../../system/esm/RtlProvider/index.js";import s from"../internal/svg-icons/KeyboardArrowLeft.js";import n from"../internal/svg-icons/KeyboardArrowRight.js";import l,{getTabScrollButtonUtilityClass as i}from"./tabScrollButtonClasses.js";import{j as a}from"../../../../../_virtual/jsx-runtime.js";import{useDefaultProps as c}from"../DefaultPropsProvider/DefaultPropsProvider.js";import p from"../../../utils/esm/useSlotProps/useSlotProps.js";import m from"../styles/styled.js";import d from"../../../utils/esm/composeClasses/composeClasses.js";import u from"../ButtonBase/ButtonBase.js";const f=m(u,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,e.orientation&&t[e.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${l.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),S=o.forwardRef((function(o,t){const l=c({props:o,name:"MuiTabScrollButton"}),{className:m,slots:u={},slotProps:S={},direction:j,orientation:b,disabled:y,...v}=l,B=r(),x={isRtl:B,...l},P=(o=>{const{classes:t,orientation:e,disabled:r}=o;return d({root:["root",e,r&&"disabled"]},i,t)})(x),T=u.StartScrollButtonIcon??s,h=u.EndScrollButtonIcon??n,g=p({elementType:T,externalSlotProps:S.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:x}),R=p({elementType:h,externalSlotProps:S.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:x});return a.jsx(f,{component:"div",className:e(P.root,m),ref:t,role:null,ownerState:x,tabIndex:null,...v,style:{...v.style,..."vertical"===b&&{"--TabScrollButton-svgRotate":`rotate(${B?-90:90}deg)`}},children:"left"===j?a.jsx(T,{...g}):a.jsx(h,{...R})})}));"production"!==process.env.NODE_ENV&&(S.propTypes={children:t.node,classes:t.object,className:t.string,direction:t.oneOf(["left","right"]).isRequired,disabled:t.bool,orientation:t.oneOf(["horizontal","vertical"]).isRequired,slotProps:t.shape({endScrollButtonIcon:t.oneOfType([t.func,t.object]),startScrollButtonIcon:t.oneOfType([t.func,t.object])}),slots:t.shape({EndScrollButtonIcon:t.elementType,StartScrollButtonIcon:t.elementType}),style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});export{S as default};
|
|
2
|
+
//# sourceMappingURL=TabScrollButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabScrollButton.js","sources":["../../../../../../../node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js"],"sourcesContent":["'use client';\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport KeyboardArrowLeft from \"../internal/svg-icons/KeyboardArrowLeft.js\";\nimport KeyboardArrowRight from \"../internal/svg-icons/KeyboardArrowRight.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport tabScrollButtonClasses, { getTabScrollButtonUtilityClass } from \"./tabScrollButtonClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n orientation,\n disabled\n } = ownerState;\n const slots = {\n root: ['root', orientation, disabled && 'disabled']\n };\n return composeClasses(slots, getTabScrollButtonUtilityClass, classes);\n};\nconst TabScrollButtonRoot = styled(ButtonBase, {\n name: 'MuiTabScrollButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.orientation && styles[ownerState.orientation]];\n }\n})({\n width: 40,\n flexShrink: 0,\n opacity: 0.8,\n [`&.${tabScrollButtonClasses.disabled}`]: {\n opacity: 0\n },\n variants: [{\n props: {\n orientation: 'vertical'\n },\n style: {\n width: '100%',\n height: 40,\n '& svg': {\n transform: 'var(--TabScrollButton-svgRotate)'\n }\n }\n }]\n});\nconst TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTabScrollButton'\n });\n const {\n className,\n slots = {},\n slotProps = {},\n direction,\n orientation,\n disabled,\n ...other\n } = props;\n const isRtl = useRtl();\n const ownerState = {\n isRtl,\n ...props\n };\n const classes = useUtilityClasses(ownerState);\n const StartButtonIcon = slots.StartScrollButtonIcon ?? KeyboardArrowLeft;\n const EndButtonIcon = slots.EndScrollButtonIcon ?? KeyboardArrowRight;\n const startButtonIconProps = useSlotProps({\n elementType: StartButtonIcon,\n externalSlotProps: slotProps.startScrollButtonIcon,\n additionalProps: {\n fontSize: 'small'\n },\n ownerState\n });\n const endButtonIconProps = useSlotProps({\n elementType: EndButtonIcon,\n externalSlotProps: slotProps.endScrollButtonIcon,\n additionalProps: {\n fontSize: 'small'\n },\n ownerState\n });\n return /*#__PURE__*/_jsx(TabScrollButtonRoot, {\n component: \"div\",\n className: clsx(classes.root, className),\n ref: ref,\n role: null,\n ownerState: ownerState,\n tabIndex: null,\n ...other,\n style: {\n ...other.style,\n ...(orientation === 'vertical' && {\n '--TabScrollButton-svgRotate': `rotate(${isRtl ? -90 : 90}deg)`\n })\n },\n children: direction === 'left' ? /*#__PURE__*/_jsx(StartButtonIcon, {\n ...startButtonIconProps\n }) : /*#__PURE__*/_jsx(EndButtonIcon, {\n ...endButtonIconProps\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TabScrollButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The direction the button should indicate.\n */\n direction: PropTypes.oneOf(['left', 'right']).isRequired,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * The component orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n * @default {}\n */\n slotProps: PropTypes.shape({\n endScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n startScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n EndScrollButtonIcon: PropTypes.elementType,\n StartScrollButtonIcon: PropTypes.elementType\n }),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TabScrollButton;"],"names":["TabScrollButtonRoot","styled","ButtonBase","name","slot","overridesResolver","props","styles","ownerState","root","orientation","width","flexShrink","opacity","tabScrollButtonClasses","disabled","variants","style","height","transform","TabScrollButton","React","forwardRef","inProps","ref","useDefaultProps","className","slots","slotProps","direction","other","isRtl","useRtl","classes","composeClasses","getTabScrollButtonUtilityClass","useUtilityClasses","StartButtonIcon","StartScrollButtonIcon","KeyboardArrowLeft","EndButtonIcon","EndScrollButtonIcon","KeyboardArrowRight","startButtonIconProps","useSlotProps","elementType","externalSlotProps","startScrollButtonIcon","additionalProps","fontSize","endButtonIconProps","endScrollButtonIcon","_jsx","component","clsx","role","tabIndex","children","jsx","process","env","NODE_ENV","propTypes","PropTypes","node","object","string","oneOf","isRequired","bool","shape","oneOfType","func","sx","arrayOf"],"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A,EACZgD,SAAU,QACP1B,EACHb,MAAO,IACFa,EAAMb,SACW,aAAhBP,GAA8B,CAChC,8BAA+B,UAAUqB,GAAW,GAAG,WAG3D0B,SAAwB,SAAd5B,EAAoCuB,EAAAA,IAAKf,EAAiB,IAC/DM,IACaS,EAAIM,IAAClB,EAAe,IACjCU,KAGT,IACyB,eAAzBS,QAAQC,IAAIC,WAA4BzC,EAAgB0C,UAAmC,CAQzFL,SAAUM,EAAUC,KAIpB/B,QAAS8B,EAAUE,OAInBvC,UAAWqC,EAAUG,OAIrBrC,UAAWkC,EAAUI,MAAM,CAAC,OAAQ,UAAUC,WAK9CrD,SAAUgD,EAAUM,KAIpB3D,YAAaqD,EAAUI,MAAM,CAAC,aAAc,aAAaC,WAMzDxC,UAAWmC,EAAUO,MAAM,CACzBnB,oBAAqBY,EAAUQ,UAAU,CAACR,EAAUS,KAAMT,EAAUE,SACpElB,sBAAuBgB,EAAUQ,UAAU,CAACR,EAAUS,KAAMT,EAAUE,WAMxEtC,MAAOoC,EAAUO,MAAM,CACrB7B,oBAAqBsB,EAAUlB,YAC/BP,sBAAuByB,EAAUlB,cAKnC5B,MAAO8C,EAAUE,OAIjBQ,GAAIV,EAAUQ,UAAU,CAACR,EAAUW,QAAQX,EAAUQ,UAAU,CAACR,EAAUS,KAAMT,EAAUE,OAAQF,EAAUM,QAASN,EAAUS,KAAMT,EAAUE","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import t from"../../../utils/esm/generateUtilityClasses/generateUtilityClasses.js";import e from"../../../utils/esm/generateUtilityClass/generateUtilityClass.js";function s(t){return e("MuiTabScrollButton",t)}const i=t("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);export{i as default,s as getTabScrollButtonUtilityClass};
|
|
2
|
+
//# sourceMappingURL=tabScrollButtonClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabScrollButtonClasses.js","sources":["../../../../../../../node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabScrollButtonUtilityClass(slot) {\n return generateUtilityClass('MuiTabScrollButton', slot);\n}\nconst tabScrollButtonClasses = generateUtilityClasses('MuiTabScrollButton', ['root', 'vertical', 'horizontal', 'disabled']);\nexport default tabScrollButtonClasses;"],"names":["getTabScrollButtonUtilityClass","slot","generateUtilityClass","tabScrollButtonClasses","generateUtilityClasses"],"mappings":"kKAEO,SAASA,EAA+BC,GAC7C,OAAOC,EAAqB,qBAAsBD,EACpD,CACK,MAACE,EAAyBC,EAAuB,qBAAsB,CAAC,OAAQ,WAAY,aAAc","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";import r from"../../../../../_virtual/index.js";import{j as t}from"../../../../../_virtual/jsx-runtime.js";import n from"../../../utils/esm/useEnhancedEffect/useEnhancedEffect.js";import o from"../../../utils/esm/debounce/debounce.js";import s from"../../../utils/esm/ownerWindow/ownerWindow.js";const i={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function u(r){const{onChange:u,...c}=r,f=e.useRef(),m=e.useRef(null),l=()=>{f.current=m.current.offsetHeight-m.current.clientHeight};return n((()=>{const e=o((()=>{const e=f.current;l(),e!==f.current&&u(f.current)})),r=s(m.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}}),[u]),e.useEffect((()=>{l(),u(f.current)}),[u]),t.jsx("div",{style:i,...c,ref:m})}"production"!==process.env.NODE_ENV&&(u.propTypes={onChange:r.func.isRequired});export{u as default};
|
|
2
|
+
//# sourceMappingURL=ScrollbarSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollbarSize.js","sources":["../../../../../../../node_modules/@mui/material/esm/Tabs/ScrollbarSize.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from \"../utils/debounce.js\";\nimport { ownerWindow, unstable_useEnhancedEffect as useEnhancedEffect } from \"../utils/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst styles = {\n width: 99,\n height: 99,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll'\n};\n\n/**\n * @ignore - internal component.\n * The component originates from https://github.com/STORIS/react-scrollbar-size.\n * It has been moved into the core in order to minimize the bundle size.\n */\nexport default function ScrollbarSize(props) {\n const {\n onChange,\n ...other\n } = props;\n const scrollbarHeight = React.useRef();\n const nodeRef = React.useRef(null);\n const setMeasurements = () => {\n scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;\n };\n useEnhancedEffect(() => {\n const handleResize = debounce(() => {\n const prevHeight = scrollbarHeight.current;\n setMeasurements();\n if (prevHeight !== scrollbarHeight.current) {\n onChange(scrollbarHeight.current);\n }\n });\n const containerWindow = ownerWindow(nodeRef.current);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [onChange]);\n React.useEffect(() => {\n setMeasurements();\n onChange(scrollbarHeight.current);\n }, [onChange]);\n return /*#__PURE__*/_jsx(\"div\", {\n style: styles,\n ...other,\n ref: nodeRef\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ScrollbarSize.propTypes = {\n onChange: PropTypes.func.isRequired\n} : void 0;"],"names":["styles","width","height","position","top","overflow","ScrollbarSize","props","onChange","other","scrollbarHeight","React","useRef","nodeRef","setMeasurements","current","offsetHeight","clientHeight","useEnhancedEffect","handleResize","debounce","prevHeight","containerWindow","ownerWindow","addEventListener","clear","removeEventListener","useEffect","_jsx","style","ref","process","env","NODE_ENV","propTypes","PropTypes","func","isRequired"],"mappings":"gUAOA,MAAMA,EAAS,CACbC,MAAO,GACPC,OAAQ,GACRC,SAAU,WACVC,KAAU,KACVC,SAAU,UAQG,SAASC,EAAcC,GACpC,MAAMC,SACJA,KACGC,GACDF,EACEG,EAAkBC,EAAMC,SACxBC,EAAUF,EAAMC,OAAO,MACvBE,EAAkB,KACtBJ,EAAgBK,QAAUF,EAAQE,QAAQC,aAAeH,EAAQE,QAAQE,cAqB3E,OAnBAC,GAAkB,KAChB,MAAMC,EAAeC,GAAS,KAC5B,MAAMC,EAAaX,EAAgBK,QACnCD,IACIO,IAAeX,EAAgBK,SACjCP,EAASE,EAAgBK,YAGvBO,EAAkBC,EAAYV,EAAQE,SAE5C,OADAO,EAAgBE,iBAAiB,SAAUL,GACpC,KACLA,EAAaM,QACbH,EAAgBI,oBAAoB,SAAUP,MAE/C,CAACX,IACJG,EAAMgB,WAAU,KACdb,IACAN,EAASE,EAAgBK,WACxB,CAACP,IACgBoB,EAAAA,IAAK,MAAO,CAC9BC,MAAO7B,KACJS,EACHqB,IAAKjB,GAET,CACyB,eAAzBkB,QAAQC,IAAIC,WAA4B3B,EAAc4B,UAAY,CAChE1B,SAAU2B,EAAUC,KAAKC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";import{r as t}from"../../../../../_virtual/index3.js";import o from"../../../../../_virtual/index.js";import{clsx as r}from"../../../../clsx/dist/clsx.js";import{useRtl as l}from"../../../system/esm/RtlProvider/index.js";import n from"../styles/useTheme.js";import{j as s}from"../../../../../_virtual/jsx-runtime.js";import i from"../styles/styled.js";import a from"../utils/memoTheme.js";import c from"../internal/animate.js";import d from"./ScrollbarSize.js";import u,{getTabsUtilityClass as p}from"./tabsClasses.js";import f from"../utils/useSlot.js";import{useDefaultProps as b}from"../DefaultPropsProvider/DefaultPropsProvider.js";import m from"../../../utils/esm/useSlotProps/useSlotProps.js";import h from"../../../utils/esm/useEventCallback/useEventCallback.js";import v from"../TabScrollButton/TabScrollButton.js";import y from"../../../utils/esm/ownerWindow/ownerWindow.js";import S from"../../../utils/esm/debounce/debounce.js";import w from"../../../utils/esm/composeClasses/composeClasses.js";import T from"../../../utils/esm/ownerDocument/ownerDocument.js";import B from"../../../utils/esm/refType/refType.js";const g=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,x=(e,t,o)=>{let r=!1,l=o(e,t);for(;l;){if(l===e.firstChild){if(r)return;r=!0}const t=l.disabled||"true"===l.getAttribute("aria-disabled");if(l.hasAttribute("tabindex")&&!t)return void l.focus();l=o(e,l)}},C=i("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${u.scrollButtons}`]:t.scrollButtons},{[`& .${u.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(a((({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${u.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]})))),E=i("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),I=i("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.list,t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),O=i("span",{name:"MuiTabs",slot:"Indicator"})(a((({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]})))),M=i(d)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),P={};let N=!1;const k=e.forwardRef((function(o,i){const a=b({props:o,name:"MuiTabs"}),d=n(),u=l(),{"aria-label":B,"aria-labelledby":k,action:D,centered:W=!1,children:F,className:R,component:A="div",allowScrollButtonsMobile:L=!1,indicatorColor:X="primary",onChange:z,orientation:Y="horizontal",ScrollButtonComponent:H,scrollButtons:V="auto",selectionFollowsFocus:_,slots:K={},slotProps:$={},TabIndicatorProps:U={},TabScrollButtonProps:q={},textColor:G="primary",value:J,variant:Q="standard",visibleScrollbar:Z=!1,...ee}=a,te="scrollable"===Q,oe="vertical"===Y,re=oe?"scrollTop":"scrollLeft",le=oe?"top":"left",ne=oe?"bottom":"right",se=oe?"clientHeight":"clientWidth",ie=oe?"height":"width",ae={...a,component:A,allowScrollButtonsMobile:L,indicatorColor:X,orientation:Y,vertical:oe,scrollButtons:V,textColor:G,variant:Q,visibleScrollbar:Z,fixed:!te,hideScrollbar:te&&!Z,scrollableX:te&&!oe,scrollableY:te&&oe,centered:W&&!te,scrollButtonsHideMobile:!L},ce=(e=>{const{vertical:t,fixed:o,hideScrollbar:r,scrollableX:l,scrollableY:n,centered:s,scrollButtonsHideMobile:i,classes:a}=e;return w({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hideScrollbar",l&&"scrollableX",n&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",i&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},p,a)})(ae),de=m({elementType:K.StartScrollButtonIcon,externalSlotProps:$.startScrollButtonIcon,ownerState:ae}),ue=m({elementType:K.EndScrollButtonIcon,externalSlotProps:$.endScrollButtonIcon,ownerState:ae});"production"!==process.env.NODE_ENV&&W&&te&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[pe,fe]=e.useState(!1),[be,me]=e.useState(P),[he,ve]=e.useState(!1),[ye,Se]=e.useState(!1),[we,Te]=e.useState(!1),[Be,ge]=e.useState({overflow:"hidden",scrollbarWidth:0}),je=new Map,xe=e.useRef(null),Ce=e.useRef(null),Ee={slots:K,slotProps:{indicator:U,scrollButton:q,...$}},Ie=()=>{const e=xe.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==J){const e=Ce.current.children;if(e.length>0){const r=e[je.get(J)];"production"!==process.env.NODE_ENV&&(r||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${J}".`,je.keys?`You can provide one of the following values: ${Array.from(je.keys()).join(", ")}.`:null].join("\n"))),o=r?r.getBoundingClientRect():null,"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&!N&&o&&0===o.width&&0===o.height&&0!==t.clientWidth&&(t=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${J}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join("\n")),N=!0)}}return{tabsMeta:t,tabMeta:o}},Oe=h((()=>{const{tabsMeta:e,tabMeta:t}=Ie();let o,r=0;oe?(o="top",t&&e&&(r=t.top-e.top+e.scrollTop)):(o=u?"right":"left",t&&e&&(r=(u?-1:1)*(t[o]-e[o]+e.scrollLeft)));const l={[o]:r,[ie]:t?t[ie]:0};if("number"!=typeof be[o]||"number"!=typeof be[ie])me(l);else{const e=Math.abs(be[o]-l[o]),t=Math.abs(be[ie]-l[ie]);(e>=1||t>=1)&&me(l)}})),Me=(e,{animation:t=!0}={})=>{t?c(re,xe.current,e,{duration:d.transitions.duration.standard}):xe.current[re]=e},Pe=e=>{let t=xe.current[re];t+=oe?e:e*(u?-1:1),Me(t)},Ne=()=>{const e=xe.current[se];let t=0;const o=Array.from(Ce.current.children);for(let r=0;r<o.length;r+=1){const l=o[r];if(t+l[se]>e){0===r&&(t=e);break}t+=l[se]}return t},ke=()=>{Pe(-1*Ne())},De=()=>{Pe(Ne())},[We,{onChange:Fe,...Re}]=f("scrollbar",{className:r(ce.scrollableX,ce.hideScrollbar),elementType:M,shouldForwardComponentProp:!0,externalForwardedProps:Ee,ownerState:ae}),Ae=e.useCallback((e=>{Fe?.(e),ge({overflow:null,scrollbarWidth:e})}),[Fe]),[Le,Xe]=f("scrollButtons",{className:r(ce.scrollButtons,q.className),elementType:v,externalForwardedProps:Ee,ownerState:ae,additionalProps:{orientation:Y,slots:{StartScrollButtonIcon:K.startScrollButtonIcon||K.StartScrollButtonIcon,EndScrollButtonIcon:K.endScrollButtonIcon||K.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:de,endScrollButtonIcon:ue}}}),ze=h((e=>{const{tabsMeta:t,tabMeta:o}=Ie();if(o&&t)if(o[le]<t[le]){const r=t[re]+(o[le]-t[le]);Me(r,{animation:e})}else if(o[ne]>t[ne]){const r=t[re]+(o[ne]-t[ne]);Me(r,{animation:e})}})),Ye=h((()=>{te&&!1!==V&&Te(!we)}));e.useEffect((()=>{const e=S((()=>{xe.current&&Oe()}));let t;const o=o=>{o.forEach((e=>{e.removedNodes.forEach((e=>{t?.unobserve(e)})),e.addedNodes.forEach((e=>{t?.observe(e)}))})),e(),Ye()},r=y(xe.current);let l;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Ce.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(l=new MutationObserver(o),l.observe(Ce.current,{childList:!0})),()=>{e.clear(),r.removeEventListener("resize",e),l?.disconnect(),t?.disconnect()}}),[Oe,Ye]),e.useEffect((()=>{const e=Array.from(Ce.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&te&&!1!==V){const o=e[0],r=e[t-1],l={root:xe.current,threshold:.99},n=new IntersectionObserver((e=>{ve(!e[0].isIntersecting)}),l);n.observe(o);const s=new IntersectionObserver((e=>{Se(!e[0].isIntersecting)}),l);return s.observe(r),()=>{n.disconnect(),s.disconnect()}}}),[te,V,we,F?.length]),e.useEffect((()=>{fe(!0)}),[]),e.useEffect((()=>{Oe()})),e.useEffect((()=>{ze(P!==be)}),[ze,be]),e.useImperativeHandle(D,(()=>({updateIndicator:Oe,updateScrollButtons:Ye})),[Oe,Ye]);const[He,Ve]=f("indicator",{className:r(ce.indicator,U.className),elementType:O,externalForwardedProps:Ee,ownerState:ae,additionalProps:{style:be}}),_e=s.jsx(He,{...Ve});let Ke=0;const $e=e.Children.map(F,(o=>{if(!e.isValidElement(o))return null;"production"!==process.env.NODE_ENV&&t.isFragment(o)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n"));const r=void 0===o.props.value?Ke:o.props.value;je.set(r,Ke);const l=r===J;return Ke+=1,e.cloneElement(o,{fullWidth:"fullWidth"===Q,indicator:l&&!pe&&_e,selected:l,selectionFollowsFocus:_,onChange:z,textColor:G,value:r,...1!==Ke||!1!==J||o.props.tabIndex?{}:{tabIndex:0}})})),Ue=(()=>{const e={};e.scrollbarSizeListener=te?s.jsx(We,{...Re,onChange:Ae}):null;const t=te&&("auto"===V&&(he||ye)||!0===V);return e.scrollButtonStart=t?s.jsx(Le,{direction:u?"right":"left",onClick:ke,disabled:!he,...Xe}):null,e.scrollButtonEnd=t?s.jsx(Le,{direction:u?"left":"right",onClick:De,disabled:!ye,...Xe}):null,e})(),[qe,Ge]=f("root",{ref:i,className:r(ce.root,R),elementType:C,externalForwardedProps:{...Ee,...ee,component:A},ownerState:ae}),[Je,Qe]=f("scroller",{ref:xe,className:ce.scroller,elementType:E,externalForwardedProps:Ee,ownerState:ae,additionalProps:{style:{overflow:Be.overflow,[oe?"margin"+(u?"Left":"Right"):"marginBottom"]:Z?void 0:-Be.scrollbarWidth}}}),[Ze,et]=f("list",{ref:Ce,className:r(ce.list,ce.flexContainer),elementType:I,externalForwardedProps:Ee,ownerState:ae,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const t=Ce.current,o=T(t).activeElement;if("tab"!==o.getAttribute("role"))return;let r="horizontal"===Y?"ArrowLeft":"ArrowUp",l="horizontal"===Y?"ArrowRight":"ArrowDown";switch("horizontal"===Y&&u&&(r="ArrowRight",l="ArrowLeft"),e.key){case r:e.preventDefault(),x(t,o,j);break;case l:e.preventDefault(),x(t,o,g);break;case"Home":e.preventDefault(),x(t,null,g);break;case"End":e.preventDefault(),x(t,null,j)}})(t),e.onKeyDown?.(t)}})});return s.jsxs(qe,{...Ge,children:[Ue.scrollButtonStart,Ue.scrollbarSizeListener,s.jsxs(Je,{...Qe,children:[s.jsx(Ze,{"aria-label":B,"aria-labelledby":k,"aria-orientation":"vertical"===Y?"vertical":null,role:"tablist",...et,children:$e}),pe&&_e]}),Ue.scrollButtonEnd]})}));"production"!==process.env.NODE_ENV&&(k.propTypes={action:B,allowScrollButtonsMobile:o.bool,"aria-label":o.string,"aria-labelledby":o.string,centered:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,indicatorColor:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),ScrollButtonComponent:o.elementType,scrollButtons:o.oneOf(["auto",!1,!0]),selectionFollowsFocus:o.bool,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),indicator:o.oneOfType([o.func,o.object]),list:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),scrollbar:o.oneOfType([o.func,o.object]),scrollButtons:o.oneOfType([o.func,o.object]),scroller:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({endScrollButtonIcon:o.elementType,EndScrollButtonIcon:o.elementType,indicator:o.elementType,list:o.elementType,root:o.elementType,scrollbar:o.elementType,scrollButtons:o.elementType,scroller:o.elementType,startScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TabIndicatorProps:o.object,TabScrollButtonProps:o.object,textColor:o.oneOf(["inherit","primary","secondary"]),value:o.any,variant:o.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:o.bool});export{k as default};
|
|
2
|
+
//# sourceMappingURL=Tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.js","sources":["../../../../../../../node_modules/@mui/material/esm/Tabs/Tabs.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport debounce from \"../utils/debounce.js\";\nimport animate from \"../internal/animate.js\";\nimport ScrollbarSize from \"./ScrollbarSize.js\";\nimport TabScrollButton from \"../TabScrollButton/index.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport tabsClasses, { getTabsUtilityClass } from \"./tabsClasses.js\";\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport ownerWindow from \"../utils/ownerWindow.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst nextItem = (list, item) => {\n if (list === item) {\n return list.firstChild;\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n return list.firstChild;\n};\nconst previousItem = (list, item) => {\n if (list === item) {\n return list.lastChild;\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n return list.lastChild;\n};\nconst moveFocus = (list, currentFocus, traversalFunction) => {\n let wrappedOnce = false;\n let nextFocus = traversalFunction(list, currentFocus);\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return;\n }\n wrappedOnce = true;\n }\n\n // Same logic as useAutocomplete.js\n const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus);\n } else {\n nextFocus.focus();\n return;\n }\n }\n};\nconst useUtilityClasses = ownerState => {\n const {\n vertical,\n fixed,\n hideScrollbar,\n scrollableX,\n scrollableY,\n centered,\n scrollButtonsHideMobile,\n classes\n } = ownerState;\n const slots = {\n root: ['root', vertical && 'vertical'],\n scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],\n list: ['list', 'flexContainer', vertical && 'flexContainerVertical', vertical && 'vertical', centered && 'centered'],\n indicator: ['indicator'],\n scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],\n scrollableX: [scrollableX && 'scrollableX'],\n hideScrollbar: [hideScrollbar && 'hideScrollbar']\n };\n return composeClasses(slots, getTabsUtilityClass, classes);\n};\nconst TabsRoot = styled('div', {\n name: 'MuiTabs',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${tabsClasses.scrollButtons}`]: styles.scrollButtons\n }, {\n [`& .${tabsClasses.scrollButtons}`]: ownerState.scrollButtonsHideMobile && styles.scrollButtonsHideMobile\n }, styles.root, ownerState.vertical && styles.vertical];\n }\n})(memoTheme(({\n theme\n}) => ({\n overflow: 'hidden',\n minHeight: 48,\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch',\n display: 'flex',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollButtonsHideMobile,\n style: {\n [`& .${tabsClasses.scrollButtons}`]: {\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n }\n }\n }]\n})));\nconst TabsScroller = styled('div', {\n name: 'MuiTabs',\n slot: 'Scroller',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.scroller, ownerState.fixed && styles.fixed, ownerState.hideScrollbar && styles.hideScrollbar, ownerState.scrollableX && styles.scrollableX, ownerState.scrollableY && styles.scrollableY];\n }\n})({\n position: 'relative',\n display: 'inline-block',\n flex: '1 1 auto',\n whiteSpace: 'nowrap',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.fixed,\n style: {\n overflowX: 'hidden',\n width: '100%'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hideScrollbar,\n style: {\n // Hide dimensionless scrollbar on macOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollableX,\n style: {\n overflowX: 'auto',\n overflowY: 'hidden'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollableY,\n style: {\n overflowY: 'auto',\n overflowX: 'hidden'\n }\n }]\n});\nconst List = styled('div', {\n name: 'MuiTabs',\n slot: 'List',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.list, styles.flexContainer, ownerState.vertical && styles.flexContainerVertical, ownerState.centered && styles.centered];\n }\n})({\n display: 'flex',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.centered,\n style: {\n justifyContent: 'center'\n }\n }]\n});\nconst TabsIndicator = styled('span', {\n name: 'MuiTabs',\n slot: 'Indicator'\n})(memoTheme(({\n theme\n}) => ({\n position: 'absolute',\n height: 2,\n bottom: 0,\n width: '100%',\n transition: theme.transitions.create(),\n variants: [{\n props: {\n indicatorColor: 'primary'\n },\n style: {\n backgroundColor: (theme.vars || theme).palette.primary.main\n }\n }, {\n props: {\n indicatorColor: 'secondary'\n },\n style: {\n backgroundColor: (theme.vars || theme).palette.secondary.main\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n height: '100%',\n width: 2,\n right: 0\n }\n }]\n})));\nconst TabsScrollbarSize = styled(ScrollbarSize)({\n overflowX: 'auto',\n overflowY: 'hidden',\n // Hide dimensionless scrollbar on macOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n }\n});\nconst defaultIndicatorStyle = {};\nlet warnedOnceTabPresent = false;\nconst Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTabs'\n });\n const theme = useTheme();\n const isRtl = useRtl();\n const {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n action,\n centered = false,\n children: childrenProp,\n className,\n component = 'div',\n allowScrollButtonsMobile = false,\n indicatorColor = 'primary',\n onChange,\n orientation = 'horizontal',\n ScrollButtonComponent,\n // TODO: remove in v7 (deprecated in v6)\n scrollButtons = 'auto',\n selectionFollowsFocus,\n slots = {},\n slotProps = {},\n TabIndicatorProps = {},\n // TODO: remove in v7 (deprecated in v6)\n TabScrollButtonProps = {},\n // TODO: remove in v7 (deprecated in v6)\n textColor = 'primary',\n value,\n variant = 'standard',\n visibleScrollbar = false,\n ...other\n } = props;\n const scrollable = variant === 'scrollable';\n const vertical = orientation === 'vertical';\n const scrollStart = vertical ? 'scrollTop' : 'scrollLeft';\n const start = vertical ? 'top' : 'left';\n const end = vertical ? 'bottom' : 'right';\n const clientSize = vertical ? 'clientHeight' : 'clientWidth';\n const size = vertical ? 'height' : 'width';\n const ownerState = {\n ...props,\n component,\n allowScrollButtonsMobile,\n indicatorColor,\n orientation,\n vertical,\n scrollButtons,\n textColor,\n variant,\n visibleScrollbar,\n fixed: !scrollable,\n hideScrollbar: scrollable && !visibleScrollbar,\n scrollableX: scrollable && !vertical,\n scrollableY: scrollable && vertical,\n centered: centered && !scrollable,\n scrollButtonsHideMobile: !allowScrollButtonsMobile\n };\n const classes = useUtilityClasses(ownerState);\n const startScrollButtonIconProps = useSlotProps({\n elementType: slots.StartScrollButtonIcon,\n externalSlotProps: slotProps.startScrollButtonIcon,\n ownerState\n });\n const endScrollButtonIconProps = useSlotProps({\n elementType: slots.EndScrollButtonIcon,\n externalSlotProps: slotProps.endScrollButtonIcon,\n ownerState\n });\n if (process.env.NODE_ENV !== 'production') {\n if (centered && scrollable) {\n console.error('MUI: You can not use the `centered={true}` and `variant=\"scrollable\"` properties ' + 'at the same time on a `Tabs` component.');\n }\n }\n const [mounted, setMounted] = React.useState(false);\n const [indicatorStyle, setIndicatorStyle] = React.useState(defaultIndicatorStyle);\n const [displayStartScroll, setDisplayStartScroll] = React.useState(false);\n const [displayEndScroll, setDisplayEndScroll] = React.useState(false);\n const [updateScrollObserver, setUpdateScrollObserver] = React.useState(false);\n const [scrollerStyle, setScrollerStyle] = React.useState({\n overflow: 'hidden',\n scrollbarWidth: 0\n });\n const valueToIndex = new Map();\n const tabsRef = React.useRef(null);\n const tabListRef = React.useRef(null);\n const externalForwardedProps = {\n slots,\n slotProps: {\n indicator: TabIndicatorProps,\n scrollButton: TabScrollButtonProps,\n ...slotProps\n }\n };\n const getTabsMeta = () => {\n const tabsNode = tabsRef.current;\n let tabsMeta;\n if (tabsNode) {\n const rect = tabsNode.getBoundingClientRect();\n // create a new object with ClientRect class props + scrollLeft\n tabsMeta = {\n clientWidth: tabsNode.clientWidth,\n scrollLeft: tabsNode.scrollLeft,\n scrollTop: tabsNode.scrollTop,\n scrollWidth: tabsNode.scrollWidth,\n top: rect.top,\n bottom: rect.bottom,\n left: rect.left,\n right: rect.right\n };\n }\n let tabMeta;\n if (tabsNode && value !== false) {\n const children = tabListRef.current.children;\n if (children.length > 0) {\n const tab = children[valueToIndex.get(value)];\n if (process.env.NODE_ENV !== 'production') {\n if (!tab) {\n console.error([`MUI: The \\`value\\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with \"${value}\".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\\n'));\n }\n }\n tabMeta = tab ? tab.getBoundingClientRect() : null;\n if (process.env.NODE_ENV !== 'production') {\n if (process.env.NODE_ENV !== 'test' && !warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0 &&\n // if the whole Tabs component is hidden, don't warn\n tabsMeta.clientWidth !== 0) {\n tabsMeta = null;\n console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \\`value\\` (\"${value}\") is not part of the document layout.`, \"Make sure the tab item is present in the document or that it's not `display: none`.\"].join('\\n'));\n warnedOnceTabPresent = true;\n }\n }\n }\n }\n return {\n tabsMeta,\n tabMeta\n };\n };\n const updateIndicatorState = useEventCallback(() => {\n const {\n tabsMeta,\n tabMeta\n } = getTabsMeta();\n let startValue = 0;\n let startIndicator;\n if (vertical) {\n startIndicator = 'top';\n if (tabMeta && tabsMeta) {\n startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;\n }\n } else {\n startIndicator = isRtl ? 'right' : 'left';\n if (tabMeta && tabsMeta) {\n startValue = (isRtl ? -1 : 1) * (tabMeta[startIndicator] - tabsMeta[startIndicator] + tabsMeta.scrollLeft);\n }\n }\n const newIndicatorStyle = {\n [startIndicator]: startValue,\n // May be wrong until the font is loaded.\n [size]: tabMeta ? tabMeta[size] : 0\n };\n if (typeof indicatorStyle[startIndicator] !== 'number' || typeof indicatorStyle[size] !== 'number') {\n setIndicatorStyle(newIndicatorStyle);\n } else {\n const dStart = Math.abs(indicatorStyle[startIndicator] - newIndicatorStyle[startIndicator]);\n const dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);\n if (dStart >= 1 || dSize >= 1) {\n setIndicatorStyle(newIndicatorStyle);\n }\n }\n });\n const scroll = (scrollValue, {\n animation = true\n } = {}) => {\n if (animation) {\n animate(scrollStart, tabsRef.current, scrollValue, {\n duration: theme.transitions.duration.standard\n });\n } else {\n tabsRef.current[scrollStart] = scrollValue;\n }\n };\n const moveTabsScroll = delta => {\n let scrollValue = tabsRef.current[scrollStart];\n if (vertical) {\n scrollValue += delta;\n } else {\n scrollValue += delta * (isRtl ? -1 : 1);\n }\n scroll(scrollValue);\n };\n const getScrollSize = () => {\n const containerSize = tabsRef.current[clientSize];\n let totalSize = 0;\n const children = Array.from(tabListRef.current.children);\n for (let i = 0; i < children.length; i += 1) {\n const tab = children[i];\n if (totalSize + tab[clientSize] > containerSize) {\n // If the first item is longer than the container size, then only scroll\n // by the container size.\n if (i === 0) {\n totalSize = containerSize;\n }\n break;\n }\n totalSize += tab[clientSize];\n }\n return totalSize;\n };\n const handleStartScrollClick = () => {\n moveTabsScroll(-1 * getScrollSize());\n };\n const handleEndScrollClick = () => {\n moveTabsScroll(getScrollSize());\n };\n const [ScrollbarSlot, {\n onChange: scrollbarOnChange,\n ...scrollbarSlotProps\n }] = useSlot('scrollbar', {\n className: clsx(classes.scrollableX, classes.hideScrollbar),\n elementType: TabsScrollbarSize,\n shouldForwardComponentProp: true,\n externalForwardedProps,\n ownerState\n });\n\n // TODO Remove <ScrollbarSize /> as browser support for hiding the scrollbar\n // with CSS improves.\n const handleScrollbarSizeChange = React.useCallback(scrollbarWidth => {\n scrollbarOnChange?.(scrollbarWidth);\n setScrollerStyle({\n overflow: null,\n scrollbarWidth\n });\n }, [scrollbarOnChange]);\n const [ScrollButtonsSlot, scrollButtonSlotProps] = useSlot('scrollButtons', {\n className: clsx(classes.scrollButtons, TabScrollButtonProps.className),\n elementType: TabScrollButton,\n externalForwardedProps,\n ownerState,\n additionalProps: {\n orientation,\n slots: {\n StartScrollButtonIcon: slots.startScrollButtonIcon || slots.StartScrollButtonIcon,\n EndScrollButtonIcon: slots.endScrollButtonIcon || slots.EndScrollButtonIcon\n },\n slotProps: {\n startScrollButtonIcon: startScrollButtonIconProps,\n endScrollButtonIcon: endScrollButtonIconProps\n }\n }\n });\n const getConditionalElements = () => {\n const conditionalElements = {};\n conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/_jsx(ScrollbarSlot, {\n ...scrollbarSlotProps,\n onChange: handleScrollbarSizeChange\n }) : null;\n const scrollButtonsActive = displayStartScroll || displayEndScroll;\n const showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === true);\n conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/_jsx(ScrollButtonsSlot, {\n direction: isRtl ? 'right' : 'left',\n onClick: handleStartScrollClick,\n disabled: !displayStartScroll,\n ...scrollButtonSlotProps\n }) : null;\n conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/_jsx(ScrollButtonsSlot, {\n direction: isRtl ? 'left' : 'right',\n onClick: handleEndScrollClick,\n disabled: !displayEndScroll,\n ...scrollButtonSlotProps\n }) : null;\n return conditionalElements;\n };\n const scrollSelectedIntoView = useEventCallback(animation => {\n const {\n tabsMeta,\n tabMeta\n } = getTabsMeta();\n if (!tabMeta || !tabsMeta) {\n return;\n }\n if (tabMeta[start] < tabsMeta[start]) {\n // left side of button is out of view\n const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);\n scroll(nextScrollStart, {\n animation\n });\n } else if (tabMeta[end] > tabsMeta[end]) {\n // right side of button is out of view\n const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);\n scroll(nextScrollStart, {\n animation\n });\n }\n });\n const updateScrollButtonState = useEventCallback(() => {\n if (scrollable && scrollButtons !== false) {\n setUpdateScrollObserver(!updateScrollObserver);\n }\n });\n React.useEffect(() => {\n const handleResize = debounce(() => {\n // If the Tabs component is replaced by Suspense with a fallback, the last\n // ResizeObserver's handler that runs because of the change in the layout is trying to\n // access a dom node that is no longer there (as the fallback component is being shown instead).\n // See https://github.com/mui/material-ui/issues/33276\n // TODO: Add tests that will ensure the component is not failing when\n // replaced by Suspense with a fallback, once React is updated to version 18\n if (tabsRef.current) {\n updateIndicatorState();\n }\n });\n let resizeObserver;\n\n /**\n * @type {MutationCallback}\n */\n const handleMutation = records => {\n records.forEach(record => {\n record.removedNodes.forEach(item => {\n resizeObserver?.unobserve(item);\n });\n record.addedNodes.forEach(item => {\n resizeObserver?.observe(item);\n });\n });\n handleResize();\n updateScrollButtonState();\n };\n const win = ownerWindow(tabsRef.current);\n win.addEventListener('resize', handleResize);\n let mutationObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleResize);\n Array.from(tabListRef.current.children).forEach(child => {\n resizeObserver.observe(child);\n });\n }\n if (typeof MutationObserver !== 'undefined') {\n mutationObserver = new MutationObserver(handleMutation);\n mutationObserver.observe(tabListRef.current, {\n childList: true\n });\n }\n return () => {\n handleResize.clear();\n win.removeEventListener('resize', handleResize);\n mutationObserver?.disconnect();\n resizeObserver?.disconnect();\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n\n /**\n * Toggle visibility of start and end scroll buttons\n * Using IntersectionObserver on first and last Tabs.\n */\n React.useEffect(() => {\n const tabListChildren = Array.from(tabListRef.current.children);\n const length = tabListChildren.length;\n if (typeof IntersectionObserver !== 'undefined' && length > 0 && scrollable && scrollButtons !== false) {\n const firstTab = tabListChildren[0];\n const lastTab = tabListChildren[length - 1];\n const observerOptions = {\n root: tabsRef.current,\n threshold: 0.99\n };\n const handleScrollButtonStart = entries => {\n setDisplayStartScroll(!entries[0].isIntersecting);\n };\n const firstObserver = new IntersectionObserver(handleScrollButtonStart, observerOptions);\n firstObserver.observe(firstTab);\n const handleScrollButtonEnd = entries => {\n setDisplayEndScroll(!entries[0].isIntersecting);\n };\n const lastObserver = new IntersectionObserver(handleScrollButtonEnd, observerOptions);\n lastObserver.observe(lastTab);\n return () => {\n firstObserver.disconnect();\n lastObserver.disconnect();\n };\n }\n return undefined;\n }, [scrollable, scrollButtons, updateScrollObserver, childrenProp?.length]);\n React.useEffect(() => {\n setMounted(true);\n }, []);\n React.useEffect(() => {\n updateIndicatorState();\n });\n React.useEffect(() => {\n // Don't animate on the first render.\n scrollSelectedIntoView(defaultIndicatorStyle !== indicatorStyle);\n }, [scrollSelectedIntoView, indicatorStyle]);\n React.useImperativeHandle(action, () => ({\n updateIndicator: updateIndicatorState,\n updateScrollButtons: updateScrollButtonState\n }), [updateIndicatorState, updateScrollButtonState]);\n const [IndicatorSlot, indicatorSlotProps] = useSlot('indicator', {\n className: clsx(classes.indicator, TabIndicatorProps.className),\n elementType: TabsIndicator,\n externalForwardedProps,\n ownerState,\n additionalProps: {\n style: indicatorStyle\n }\n });\n const indicator = /*#__PURE__*/_jsx(IndicatorSlot, {\n ...indicatorSlotProps\n });\n let childIndex = 0;\n const children = React.Children.map(childrenProp, child => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Tabs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n const childValue = child.props.value === undefined ? childIndex : child.props.value;\n valueToIndex.set(childValue, childIndex);\n const selected = childValue === value;\n childIndex += 1;\n return /*#__PURE__*/React.cloneElement(child, {\n fullWidth: variant === 'fullWidth',\n indicator: selected && !mounted && indicator,\n selected,\n selectionFollowsFocus,\n onChange,\n textColor,\n value: childValue,\n ...(childIndex === 1 && value === false && !child.props.tabIndex ? {\n tabIndex: 0\n } : {})\n });\n });\n const handleKeyDown = event => {\n // Check if a modifier key (Alt, Shift, Ctrl, Meta) is pressed\n if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {\n return;\n }\n const list = tabListRef.current;\n const currentFocus = ownerDocument(list).activeElement;\n // Keyboard navigation assumes that [role=\"tab\"] are siblings\n // though we might warn in the future about nested, interactive elements\n // as a a11y violation\n const role = currentFocus.getAttribute('role');\n if (role !== 'tab') {\n return;\n }\n let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';\n let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';\n if (orientation === 'horizontal' && isRtl) {\n // swap previousItemKey with nextItemKey\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n switch (event.key) {\n case previousItemKey:\n event.preventDefault();\n moveFocus(list, currentFocus, previousItem);\n break;\n case nextItemKey:\n event.preventDefault();\n moveFocus(list, currentFocus, nextItem);\n break;\n case 'Home':\n event.preventDefault();\n moveFocus(list, null, nextItem);\n break;\n case 'End':\n event.preventDefault();\n moveFocus(list, null, previousItem);\n break;\n default:\n break;\n }\n };\n const conditionalElements = getConditionalElements();\n const [RootSlot, rootSlotProps] = useSlot('root', {\n ref,\n className: clsx(classes.root, className),\n elementType: TabsRoot,\n externalForwardedProps: {\n ...externalForwardedProps,\n ...other,\n component\n },\n ownerState\n });\n const [ScrollerSlot, scrollerSlotProps] = useSlot('scroller', {\n ref: tabsRef,\n className: classes.scroller,\n elementType: TabsScroller,\n externalForwardedProps,\n ownerState,\n additionalProps: {\n style: {\n overflow: scrollerStyle.overflow,\n [vertical ? `margin${isRtl ? 'Left' : 'Right'}` : 'marginBottom']: visibleScrollbar ? undefined : -scrollerStyle.scrollbarWidth\n }\n }\n });\n const [ListSlot, listSlotProps] = useSlot('list', {\n ref: tabListRef,\n className: clsx(classes.list, classes.flexContainer),\n elementType: List,\n externalForwardedProps,\n ownerState,\n getSlotProps: handlers => ({\n ...handlers,\n onKeyDown: event => {\n handleKeyDown(event);\n handlers.onKeyDown?.(event);\n }\n })\n });\n return /*#__PURE__*/_jsxs(RootSlot, {\n ...rootSlotProps,\n children: [conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/_jsxs(ScrollerSlot, {\n ...scrollerSlotProps,\n children: [/*#__PURE__*/_jsx(ListSlot, {\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-orientation\": orientation === 'vertical' ? 'vertical' : null,\n role: \"tablist\",\n ...listSlotProps,\n children: children\n }), mounted && indicator]\n }), conditionalElements.scrollButtonEnd]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tabs.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Callback fired when the component mounts.\n * This is useful when you want to trigger an action programmatically.\n * It supports two actions: `updateIndicator()` and `updateScrollButtons()`\n *\n * @param {object} actions This object contains all possible actions\n * that can be triggered programmatically.\n */\n action: refType,\n /**\n * If `true`, the scroll buttons aren't forced hidden on mobile.\n * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.\n * @default false\n */\n allowScrollButtonsMobile: PropTypes.bool,\n /**\n * The label for the Tabs as a string.\n */\n 'aria-label': PropTypes.string,\n /**\n * An id or list of ids separated by a space that label the Tabs.\n */\n 'aria-labelledby': PropTypes.string,\n /**\n * If `true`, the tabs are centered.\n * This prop is intended for large views.\n * @default false\n */\n centered: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Determines the color of the indicator.\n * @default 'primary'\n */\n indicatorColor: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * Callback fired when the value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.\n * @param {any} value We default to the index of the child (number)\n */\n onChange: PropTypes.func,\n /**\n * The component orientation (layout flow direction).\n * @default 'horizontal'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * The component used to render the scroll buttons.\n * @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default TabScrollButton\n */\n ScrollButtonComponent: PropTypes.elementType,\n /**\n * Determine behavior of scroll buttons when tabs are set to scroll:\n *\n * - `auto` will only present them when not all the items are visible.\n * - `true` will always present them.\n * - `false` will never present them.\n *\n * By default the scroll buttons are hidden on mobile.\n * This behavior can be disabled with `allowScrollButtonsMobile`.\n * @default 'auto'\n */\n scrollButtons: PropTypes /* @typescript-to-proptypes-ignore */.oneOf(['auto', false, true]),\n /**\n * If `true` the selected tab changes on focus. Otherwise it only\n * changes on activation.\n */\n selectionFollowsFocus: PropTypes.bool,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n endScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n indicator: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n scrollbar: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n scrollButtons: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n scroller: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n startScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n endScrollButtonIcon: PropTypes.elementType,\n EndScrollButtonIcon: PropTypes.elementType,\n indicator: PropTypes.elementType,\n list: PropTypes.elementType,\n root: PropTypes.elementType,\n scrollbar: PropTypes.elementType,\n scrollButtons: PropTypes.elementType,\n scroller: PropTypes.elementType,\n startScrollButtonIcon: PropTypes.elementType,\n StartScrollButtonIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Props applied to the tab indicator element.\n * @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n TabIndicatorProps: PropTypes.object,\n /**\n * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.\n * @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n TabScrollButtonProps: PropTypes.object,\n /**\n * Determines the color of the `Tab`.\n * @default 'primary'\n */\n textColor: PropTypes.oneOf(['inherit', 'primary', 'secondary']),\n /**\n * The value of the currently selected `Tab`.\n * If you don't want any selected `Tab`, you can set this prop to `false`.\n */\n value: PropTypes.any,\n /**\n * Determines additional display behavior of the tabs:\n *\n * - `scrollable` will invoke scrolling properties and allow for horizontally\n * scrolling (or swiping) of the tab bar.\n * - `fullWidth` will make the tabs grow to use all the available space,\n * which should be used for small views, like on mobile.\n * - `standard` will render the default state.\n * @default 'standard'\n */\n variant: PropTypes.oneOf(['fullWidth', 'scrollable', 'standard']),\n /**\n * If `true`, the scrollbar is visible. It can be useful when displaying\n * a long vertical list of tabs.\n * @default false\n */\n visibleScrollbar: PropTypes.bool\n} : void 0;\nexport default Tabs;"],"names":["nextItem","list","item","firstChild","nextElementSibling","previousItem","lastChild","previousElementSibling","moveFocus","currentFocus","traversalFunction","wrappedOnce","nextFocus","nextFocusDisabled","disabled","getAttribute","hasAttribute","focus","TabsRoot","styled","name","slot","overridesResolver","props","styles","ownerState","tabsClasses","scrollButtons","scrollButtonsHideMobile","root","vertical","memoTheme","theme","overflow","minHeight","WebkitOverflowScrolling","display","variants","style","flexDirection","breakpoints","down","TabsScroller","scroller","fixed","hideScrollbar","scrollableX","scrollableY","position","flex","whiteSpace","overflowX","width","scrollbarWidth","overflowY","List","flexContainer","flexContainerVertical","centered","justifyContent","TabsIndicator","height","bottom","transition","transitions","create","indicatorColor","backgroundColor","vars","palette","primary","main","secondary","right","TabsScrollbarSize","ScrollbarSize","defaultIndicatorStyle","warnedOnceTabPresent","Tabs","React","forwardRef","inProps","ref","useDefaultProps","useTheme","isRtl","useRtl","ariaLabel","ariaLabelledBy","action","children","childrenProp","className","component","allowScrollButtonsMobile","onChange","orientation","ScrollButtonComponent","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar","other","scrollable","scrollStart","start","end","clientSize","size","classes","composeClasses","indicator","getTabsUtilityClass","useUtilityClasses","startScrollButtonIconProps","useSlotProps","elementType","StartScrollButtonIcon","externalSlotProps","startScrollButtonIcon","endScrollButtonIconProps","EndScrollButtonIcon","endScrollButtonIcon","process","env","NODE_ENV","console","error","mounted","setMounted","useState","indicatorStyle","setIndicatorStyle","displayStartScroll","setDisplayStartScroll","displayEndScroll","setDisplayEndScroll","updateScrollObserver","setUpdateScrollObserver","scrollerStyle","setScrollerStyle","valueToIndex","Map","tabsRef","useRef","tabListRef","externalForwardedProps","scrollButton","getTabsMeta","tabsNode","current","tabsMeta","tabMeta","rect","getBoundingClientRect","clientWidth","scrollLeft","scrollTop","scrollWidth","top","left","length","tab","get","keys","Array","from","join","updateIndicatorState","useEventCallback","startIndicator","startValue","newIndicatorStyle","dStart","Math","abs","dSize","scroll","scrollValue","animation","animate","duration","standard","moveTabsScroll","delta","getScrollSize","containerSize","totalSize","i","handleStartScrollClick","handleEndScrollClick","ScrollbarSlot","scrollbarOnChange","scrollbarSlotProps","useSlot","clsx","shouldForwardComponentProp","handleScrollbarSizeChange","useCallback","ScrollButtonsSlot","scrollButtonSlotProps","TabScrollButton","additionalProps","scrollSelectedIntoView","nextScrollStart","updateScrollButtonState","useEffect","handleResize","debounce","resizeObserver","handleMutation","records","forEach","record","removedNodes","unobserve","addedNodes","observe","win","ownerWindow","mutationObserver","addEventListener","ResizeObserver","child","MutationObserver","childList","clear","removeEventListener","disconnect","tabListChildren","IntersectionObserver","firstTab","lastTab","observerOptions","threshold","firstObserver","entries","isIntersecting","lastObserver","useImperativeHandle","updateIndicator","updateScrollButtons","IndicatorSlot","indicatorSlotProps","_jsx","jsx","childIndex","Children","map","isValidElement","isFragment","childValue","undefined","set","selected","cloneElement","fullWidth","tabIndex","conditionalElements","scrollbarSizeListener","showScrollButtons","scrollButtonStart","direction","onClick","scrollButtonEnd","getConditionalElements","RootSlot","rootSlotProps","ScrollerSlot","scrollerSlotProps","ListSlot","listSlotProps","getSlotProps","handlers","onKeyDown","event","altKey","shiftKey","ctrlKey","metaKey","ownerDocument","activeElement","previousItemKey","nextItemKey","key","preventDefault","handleKeyDown","_jsxs","jsxs","role","propTypes","refType","PropTypes","bool","string","node","object","oneOfType","oneOf","func","shape","scrollbar","sx","arrayOf","any"],"mappings":"4nCAuBA,MAAMA,EAAW,CAACC,EAAMC,IAClBD,IAASC,EACJD,EAAKE,WAEVD,GAAQA,EAAKE,mBACRF,EAAKE,mBAEPH,EAAKE,WAERE,EAAe,CAACJ,EAAMC,IACtBD,IAASC,EACJD,EAAKK,UAEVJ,GAAQA,EAAKK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AAOsM,EAAUQ,MAAM,CACrBlL,oBAAqB0K,EAAUhL,YAC/BK,oBAAqB2K,EAAUhL,YAC/BL,UAAWqL,EAAUhL,YACrBxH,KAAMwS,EAAUhL,YAChB5F,KAAM4Q,EAAUhL,YAChByL,UAAWT,EAAUhL,YACrB9F,cAAe8Q,EAAUhL,YACzB9E,SAAU8P,EAAUhL,YACpBG,sBAAuB6K,EAAUhL,YACjCC,sBAAuB+K,EAAUhL,cAKnC0L,GAAIV,EAAUK,UAAU,CAACL,EAAUW,QAAQX,EAAUK,UAAU,CAACL,EAAUO,KAAMP,EAAUI,OAAQJ,EAAUC,QAASD,EAAUO,KAAMP,EAAUI,SAM/IxM,kBAAmBoM,EAAUI,OAM7BvM,qBAAsBmM,EAAUI,OAKhCtM,UAAWkM,EAAUM,MAAM,CAAC,UAAW,UAAW,cAKlDvM,MAAOiM,EAAUY,IAWjB5M,QAASgM,EAAUM,MAAM,CAAC,YAAa,aAAc,aAMrDrM,iBAAkB+L,EAAUC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../utils/esm/generateUtilityClasses/generateUtilityClasses.js";import t from"../../../utils/esm/generateUtilityClass/generateUtilityClass.js";function l(e){return t("MuiTabs",e)}const s=e("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);export{s as default,l as getTabsUtilityClass};
|
|
2
|
+
//# sourceMappingURL=tabsClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabsClasses.js","sources":["../../../../../../../node_modules/@mui/material/esm/Tabs/tabsClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabsUtilityClass(slot) {\n return generateUtilityClass('MuiTabs', slot);\n}\nconst tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'list', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);\nexport default tabsClasses;"],"names":["getTabsUtilityClass","slot","generateUtilityClass","tabsClasses","generateUtilityClasses"],"mappings":"kKAEO,SAASA,EAAoBC,GAClC,OAAOC,EAAqB,UAAWD,EACzC,CACK,MAACE,EAAcC,EAAuB,UAAW,CAAC,OAAQ,WAAY,OAAQ,gBAAiB,wBAAyB,WAAY,WAAY,QAAS,cAAe,cAAe,gBAAiB,gBAAiB,0BAA2B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function n(n){return(1+Math.sin(Math.PI*n-Math.PI/2))/2}function t(t,e,r,a={},i=()=>{}){const{ease:o=n,duration:l=300}=a;let u=null;const s=e[t];let m=!1;const c=()=>{m=!0},d=n=>{if(m)return void i(new Error("Animation cancelled"));null===u&&(u=n);const a=Math.min(1,(n-u)/l);e[t]=o(a)*(r-s)+s,a>=1?requestAnimationFrame((()=>{i(null)})):requestAnimationFrame(d)};return s===r?(i(new Error("Element already at target position")),c):(requestAnimationFrame(d),c)}export{t as default};
|
|
2
|
+
//# sourceMappingURL=animate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animate.js","sources":["../../../../../../../node_modules/@mui/material/esm/internal/animate.js"],"sourcesContent":["function easeInOutSin(time) {\n return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;\n}\nexport default function animate(property, element, to, options = {}, cb = () => {}) {\n const {\n ease = easeInOutSin,\n duration = 300 // standard\n } = options;\n let start = null;\n const from = element[property];\n let cancelled = false;\n const cancel = () => {\n cancelled = true;\n };\n const step = timestamp => {\n if (cancelled) {\n cb(new Error('Animation cancelled'));\n return;\n }\n if (start === null) {\n start = timestamp;\n }\n const time = Math.min(1, (timestamp - start) / duration);\n element[property] = ease(time) * (to - from) + from;\n if (time >= 1) {\n requestAnimationFrame(() => {\n cb(null);\n });\n return;\n }\n requestAnimationFrame(step);\n };\n if (from === to) {\n cb(new Error('Element already at target position'));\n return cancel;\n }\n requestAnimationFrame(step);\n return cancel;\n}"],"names":["easeInOutSin","time","Math","sin","PI","animate","property","element","to","options","cb","ease","duration","start","from","cancelled","cancel","step","timestamp","Error","min","requestAnimationFrame"],"mappings":"AAAA,SAASA,EAAaC,GACpB,OAAQ,EAAIC,KAAKC,IAAID,KAAKE,GAAKH,EAAOC,KAAKE,GAAK,IAAM,CACxD,CACe,SAASC,EAAQC,EAAUC,EAASC,EAAIC,EAAU,GAAIC,EAAK,QACxE,MAAMC,KACJA,EAAOX,EAAYY,SACnBA,EAAW,KACTH,EACJ,IAAII,EAAQ,KACZ,MAAMC,EAAOP,EAAQD,GACrB,IAAIS,GAAY,EAChB,MAAMC,EAAS,KACbD,GAAY,GAERE,EAAOC,IACX,GAAIH,EAEF,YADAL,EAAG,IAAIS,MAAM,wBAGD,OAAVN,IACFA,EAAQK,GAEV,MAAMjB,EAAOC,KAAKkB,IAAI,GAAIF,EAAYL,GAASD,GAC/CL,EAAQD,GAAYK,EAAKV,IAASO,EAAKM,GAAQA,EAC3Cb,GAAQ,EACVoB,uBAAsB,KACpBX,EAAG,SAIPW,sBAAsBJ,IAExB,OAAIH,IAASN,GACXE,EAAG,IAAIS,MAAM,uCACNH,IAETK,sBAAsBJ,GACfD,EACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"react";import r from"../../utils/createSvgIcon.js";import{j as t}from"../../../../../../_virtual/jsx-runtime.js";var a=r(t.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft");export{a as default};
|
|
2
|
+
//# sourceMappingURL=KeyboardArrowLeft.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardArrowLeft.js","sources":["../../../../../../../../node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"\n}), 'KeyboardArrowLeft');"],"names":["KeyboardArrowLeft","createSvgIcon","_jsx","jsx","d"],"mappings":"wHASA,IAAAA,EAAeC,EAA2BC,EAAIC,IAAC,OAAQ,CACrDC,EAAG,uDACD","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"react";import r from"../../utils/createSvgIcon.js";import{j as t}from"../../../../../../_virtual/jsx-runtime.js";var a=r(t.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");export{a as default};
|
|
2
|
+
//# sourceMappingURL=KeyboardArrowRight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardArrowRight.js","sources":["../../../../../../../../node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"\n}), 'KeyboardArrowRight');"],"names":["KeyboardArrowRight","createSvgIcon","_jsx","jsx","d"],"mappings":"wHASA,IAAAA,EAAeC,EAA2BC,EAAIC,IAAC,OAAQ,CACrDC,EAAG,qDACD","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as t from"react";import{r as e}from"../../../../../_virtual/
|
|
1
|
+
import*as t from"react";import{r as e}from"../../../../../_virtual/index3.js";function o(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function n(r){if(t.isValidElement(r)||e.isValidElementType(r)||!o(r))return r;const l={};return Object.keys(r).forEach((t=>{l[t]=n(r[t])})),l}function r(l,i,c={clone:!0}){const a=c.clone?{...l}:l;return o(l)&&o(i)&&Object.keys(i).forEach((s=>{t.isValidElement(i[s])||e.isValidElementType(i[s])?a[s]=i[s]:o(i[s])&&Object.prototype.hasOwnProperty.call(l,s)&&o(l[s])?a[s]=r(l[s],i[s],c):c.clone?a[s]=o(i[s])?n(i[s]):i[s]:a[s]=i[s]})),a}export{r as default,o as isPlainObject};
|
|
2
2
|
//# sourceMappingURL=deepmerge.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e}from"../../../../../_virtual/
|
|
1
|
+
import{r as e}from"../../../../../_virtual/index3.js";function r(e,r=""){return e.displayName||e.name||r}function t(e,t,n){const o=r(t);return e.displayName||(""!==o?`${n}(${o})`:n)}function n(n){if(null!=n){if("string"==typeof n)return n;if("function"==typeof n)return r(n,"Component");if("object"==typeof n)switch(n.$$typeof){case e.ForwardRef:return t(n,n.render,"ForwardRef");case e.Memo:return t(n,n.type,"memo");default:return}}}export{n as default};
|
|
2
2
|
//# sourceMappingURL=getDisplayName.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";import*as o from"react";import t from"../../../../../_virtual/index.js";import{useDateTimeField as s}from"./useDateTimeField.js";import{useFieldTextFieldProps as n,PickerFieldUI as r}from"../internals/components/PickerFieldUI.js";import{CalendarIcon as i}from"../icons/index.js";import{j as l}from"../../../../../_virtual/jsx-runtime.js";import a from"../../../material/esm/styles/useThemeProps.js";import c from"../../../utils/esm/refType/refType.js";const m=["slots","slotProps"],u=o.forwardRef((function(o,t){const c=a({props:o,name:"MuiDateTimeField"}),{slots:u,slotProps:p}=c,b=e(c,m),d=n({slotProps:p,ref:t,externalForwardedProps:b}),f=s(d);return l.jsx(r,{slots:u,slotProps:p,fieldResponse:f,defaultOpenPickerIcon:i})}));"production"!==process.env.NODE_ENV&&(u.displayName="DateTimeField"),"production"!==process.env.NODE_ENV&&(u.propTypes={ampm:t.bool,autoFocus:t.bool,className:t.string,clearable:t.bool,clearButtonPosition:t.oneOf(["end","start"]),color:t.oneOf(["error","info","primary","secondary","success","warning"]),component:t.elementType,defaultValue:t.object,disabled:t.bool,disableFuture:t.bool,disableIgnoringDatePartForTimeValidation:t.bool,disablePast:t.bool,enableAccessibleFieldDOMStructure:t.bool,focused:t.bool,format:t.string,formatDensity:t.oneOf(["dense","spacious"]),FormHelperTextProps:t.object,fullWidth:t.bool,helperText:t.node,hiddenLabel:t.bool,id:t.string,InputLabelProps:t.object,inputProps:t.object,InputProps:t.object,inputRef:c,label:t.node,margin:t.oneOf(["dense","none","normal"]),maxDate:t.object,maxDateTime:t.object,maxTime:t.object,minDate:t.object,minDateTime:t.object,minTime:t.object,minutesStep:t.number,name:t.string,onBlur:t.func,onChange:t.func,onClear:t.func,onError:t.func,onFocus:t.func,onSelectedSectionsChange:t.func,openPickerButtonPosition:t.oneOf(["end","start"]),readOnly:t.bool,referenceDate:t.object,required:t.bool,selectedSections:t.oneOfType([t.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),t.number]),shouldDisableDate:t.func,shouldDisableMonth:t.func,shouldDisableTime:t.func,shouldDisableYear:t.func,shouldRespectLeadingZeros:t.bool,size:t.oneOf(["medium","small"]),slotProps:t.object,slots:t.object,style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),timezone:t.string,unstableFieldRef:t.oneOfType([t.func,t.object]),value:t.object,variant:t.oneOf(["filled","outlined","standard"])});export{u as DateTimeField};
|
|
2
|
+
//# sourceMappingURL=DateTimeField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateTimeField.js","sources":["../../../../../../../node_modules/@mui/x-date-pickers/esm/DateTimeField/DateTimeField.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"slots\", \"slotProps\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { useThemeProps } from '@mui/material/styles';\nimport refType from '@mui/utils/refType';\nimport { useDateTimeField } from \"./useDateTimeField.js\";\nimport { PickerFieldUI, useFieldTextFieldProps } from \"../internals/components/PickerFieldUI.js\";\nimport { CalendarIcon } from \"../icons/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Demos:\n *\n * - [DateTimeField](http://mui.com/x/react-date-pickers/date-time-field/)\n * - [Fields](https://mui.com/x/react-date-pickers/fields/)\n *\n * API:\n *\n * - [DateTimeField API](https://mui.com/x/api/date-pickers/date-time-field/)\n */\nconst DateTimeField = /*#__PURE__*/React.forwardRef(function DateTimeField(inProps, inRef) {\n const themeProps = useThemeProps({\n props: inProps,\n name: 'MuiDateTimeField'\n });\n const {\n slots,\n slotProps\n } = themeProps,\n other = _objectWithoutPropertiesLoose(themeProps, _excluded);\n const textFieldProps = useFieldTextFieldProps({\n slotProps,\n ref: inRef,\n externalForwardedProps: other\n });\n const fieldResponse = useDateTimeField(textFieldProps);\n return /*#__PURE__*/_jsx(PickerFieldUI, {\n slots: slots,\n slotProps: slotProps,\n fieldResponse: fieldResponse,\n defaultOpenPickerIcon: CalendarIcon\n });\n});\nif (process.env.NODE_ENV !== \"production\") DateTimeField.displayName = \"DateTimeField\";\nprocess.env.NODE_ENV !== \"production\" ? DateTimeField.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"pnpm proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * 12h/24h view for hour selection clock.\n * @default utils.is12HourCycleInCurrentLocale()\n */\n ampm: PropTypes.bool,\n /**\n * If `true`, the `input` element is focused during the first mount.\n * @default false\n */\n autoFocus: PropTypes.bool,\n className: PropTypes.string,\n /**\n * If `true`, a clear button will be shown in the field allowing value clearing.\n * @default false\n */\n clearable: PropTypes.bool,\n /**\n * The position at which the clear button is placed.\n * If the field is not clearable, the button is not rendered.\n * @default 'end'\n */\n clearButtonPosition: PropTypes.oneOf(['end', 'start']),\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),\n component: PropTypes.elementType,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.object,\n /**\n * If `true`, the component is disabled.\n * When disabled, the value cannot be changed and no interaction is possible.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * Do not ignore date part when validating min/max time.\n * @default false\n */\n disableIgnoringDatePartForTimeValidation: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n /**\n * @default true\n */\n enableAccessibleFieldDOMStructure: PropTypes.bool,\n /**\n * If `true`, the component is displayed in focused state.\n */\n focused: PropTypes.bool,\n /**\n * Format of the date when rendered in the input(s).\n */\n format: PropTypes.string,\n /**\n * Density of the format when rendered in the input.\n * Setting `formatDensity` to `\"spacious\"` will add a space before and after each `/`, `-` and `.` character.\n * @default \"dense\"\n */\n formatDensity: PropTypes.oneOf(['dense', 'spacious']),\n /**\n * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.\n * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n FormHelperTextProps: PropTypes.object,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n /**\n * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.\n * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.\n * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n InputLabelProps: PropTypes.object,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n inputProps: PropTypes.object,\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),\n * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)\n * component depending on the `variant` prop value.\n * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n InputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * Maximal selectable date.\n * @default 2099-12-31\n */\n maxDate: PropTypes.object,\n /**\n * Maximal selectable moment of time with binding to date, to set max time in each day use `maxTime`.\n */\n maxDateTime: PropTypes.object,\n /**\n * Maximal selectable time.\n * The date part of the object will be ignored unless `props.disableIgnoringDatePartForTimeValidation === true`.\n */\n maxTime: PropTypes.object,\n /**\n * Minimal selectable date.\n * @default 1900-01-01\n */\n minDate: PropTypes.object,\n /**\n * Minimal selectable moment of time with binding to date, to set min time in each day use `minTime`.\n */\n minDateTime: PropTypes.object,\n /**\n * Minimal selectable time.\n * The date part of the object will be ignored unless `props.disableIgnoringDatePartForTimeValidation === true`.\n */\n minTime: PropTypes.object,\n /**\n * Step over minutes.\n * @default 1\n */\n minutesStep: PropTypes.number,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value changes.\n * @template TValue The value type. It will be the same type as `value` or `null`. It can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. It will be either `string` or a `null`. It can be in `[start, end]` format in case of range value.\n * @param {TValue} value The new value.\n * @param {FieldChangeHandlerContext<TError>} context The context containing the validation result of the current value.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the clear button is clicked.\n */\n onClear: PropTypes.func,\n /**\n * Callback fired when the error associated with the current value changes.\n * When a validation error is detected, the `error` parameter contains a non-null value.\n * This can be used to render an appropriate form error.\n * @template TError The validation error type. It will be either `string` or a `null`. It can be in `[start, end]` format in case of range value.\n * @template TValue The value type. It will be the same type as `value` or `null`. It can be in `[start, end]` format in case of range value.\n * @param {TError} error The reason why the current value is not valid.\n * @param {TValue} value The value associated with the error.\n */\n onError: PropTypes.func,\n onFocus: PropTypes.func,\n /**\n * Callback fired when the selected sections change.\n * @param {FieldSelectedSections} newValue The new selected sections.\n */\n onSelectedSectionsChange: PropTypes.func,\n /**\n * The position at which the opening button is placed.\n * If there is no Picker to open, the button is not rendered\n * @default 'end'\n */\n openPickerButtonPosition: PropTypes.oneOf(['end', 'start']),\n /**\n * If `true`, the component is read-only.\n * When read-only, the value cannot be changed but the user can interact with the interface.\n * @default false\n */\n readOnly: PropTypes.bool,\n /**\n * The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.\n * For example, on time fields it will be used to determine the date to set.\n * @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.\n */\n referenceDate: PropTypes.object,\n /**\n * If `true`, the label is displayed as required and the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The currently selected sections.\n * This prop accepts four formats:\n * 1. If a number is provided, the section at this index will be selected.\n * 2. If a string of type `FieldSectionType` is provided, the first section with that name will be selected.\n * 3. If `\"all\"` is provided, all the sections will be selected.\n * 4. If `null` is provided, no section will be selected.\n * If not provided, the selected sections will be handled internally.\n */\n selectedSections: PropTypes.oneOfType([PropTypes.oneOf(['all', 'day', 'empty', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'weekDay', 'year']), PropTypes.number]),\n /**\n * Disable specific date.\n *\n * Warning: This function can be called multiple times (for example when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.\n *\n * @param {PickerValidDate} day The date to test.\n * @returns {boolean} If `true` the date will be disabled.\n */\n shouldDisableDate: PropTypes.func,\n /**\n * Disable specific month.\n * @param {PickerValidDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * Disable specific time.\n * @param {PickerValidDate} value The value to check.\n * @param {TimeView} view The clock type of the timeValue.\n * @returns {boolean} If `true` the time will be disabled.\n */\n shouldDisableTime: PropTypes.func,\n /**\n * Disable specific year.\n * @param {PickerValidDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * If `true`, the format will respect the leading zeroes (for example on dayjs, the format `M/D/YYYY` will render `8/16/2018`)\n * If `false`, the format will always add leading zeroes (for example on dayjs, the format `M/D/YYYY` will render `08/16/2018`)\n *\n * Warning n°1: Luxon is not able to respect the leading zeroes when using macro tokens (for example \"DD\"), so `shouldRespectLeadingZeros={true}` might lead to inconsistencies when using `AdapterLuxon`.\n *\n * Warning n°2: When `shouldRespectLeadingZeros={true}`, the field will add an invisible character on the sections containing a single digit to make sure `onChange` is fired.\n * If you need to get the clean value from the input, you can remove this character using `input.value.replace(/\\u200e/g, '')`.\n *\n * Warning n°3: When used in strict mode, dayjs and moment require to respect the leading zeros.\n * This mean that when using `shouldRespectLeadingZeros={false}`, if you retrieve the value directly from the input (not listening to `onChange`) and your format contains tokens without leading zeros, the value will not be parsed by your library.\n *\n * @default false\n */\n shouldRespectLeadingZeros: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes.oneOf(['medium', 'small']),\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documentation} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The ref object used to imperatively interact with the field.\n */\n unstableFieldRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.object,\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport { DateTimeField };"],"names":["_excluded","DateTimeField","React","forwardRef","inProps","inRef","themeProps","useThemeProps","props","name","slots","slotProps","other","_objectWithoutPropertiesLoose","textFieldProps","useFieldTextFieldProps","ref","externalForwardedProps","fieldResponse","useDateTimeField","_jsx","PickerFieldUI","defaultOpenPickerIcon","CalendarIcon","process","env","NODE_ENV","displayName","propTypes","ampm","PropTypes","bool","autoFocus","className","string","clearable","clearButtonPosition","oneOf","color","component","elementType","defaultValue","object","disabled","disableFuture","disableIgnoringDatePartForTimeValidation","disablePast","enableAccessibleFieldDOMStructure","focused","format","formatDensity","FormHelperTextProps","fullWidth","helperText","node","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","refType","label","margin","maxDate","maxDateTime","maxTime","minDate","minDateTime","minTime","minutesStep","number","onBlur","func","onChange","onClear","onError","onFocus","onSelectedSectionsChange","openPickerButtonPosition","readOnly","referenceDate","required","selectedSections","oneOfType","shouldDisableDate","shouldDisableMonth","shouldDisableTime","shouldDisableYear","shouldRespectLeadingZeros","size","style","sx","arrayOf","timezone","unstableFieldRef","value","variant"],"mappings":"0hBAGA,MAAMA,EAAY,CAAC,QAAS,aAmBtBC,EAA6BC,EAAMC,YAAW,SAAuBC,EAASC,GAClF,MAAMC,EAAaC,EAAc,CAC/BC,MAAOJ,EACPK,KAAM,sBAEFC,MACFA,EAAKC,UACLA,GACEL,EACJM,EAAQC,EAA8BP,EAAYN,GAC9Cc,EAAiBC,EAAuB,CAC5CJ,YACAK,IAAKX,EACLY,uBAAwBL,IAEpBM,EAAgBC,EAAiBL,GACvC,OAAoBM,EAAAA,IAAKC,EAAe,CACtCX,MAAOA,EACPC,UAAWA,EACXO,cAAeA,EACfI,sBAAuBC,GAE3B,IAC6B,eAAzBC,QAAQC,IAAIC,WAA2BzB,EAAc0B,YAAc,iBAC9C,eAAzBH,QAAQC,IAAIC,WAA4BzB,EAAc2B,UAAY,CAShEC,KAAMC,EAAUC,KAKhBC,UAAWF,EAAUC,KACrBE,UAAWH,EAAUI,OAKrBC,UAAWL,EAAUC,KAMrB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AAUP,EAAUyC,SASlKc,kBAAmBvD,EAAU2C,KAM7Ba,mBAAoBxD,EAAU2C,KAO9Bc,kBAAmBzD,EAAU2C,KAM7Be,kBAAmB1D,EAAU2C,KAe7BgB,0BAA2B3D,EAAUC,KAKrC2D,KAAM5D,EAAUO,MAAM,CAAC,SAAU,UAKjC1B,UAAWmB,EAAUY,OAKrBhC,MAAOoB,EAAUY,OACjBiD,MAAO7D,EAAUY,OAIjBkD,GAAI9D,EAAUsD,UAAU,CAACtD,EAAU+D,QAAQ/D,EAAUsD,UAAU,CAACtD,EAAU2C,KAAM3C,EAAUY,OAAQZ,EAAUC,QAASD,EAAU2C,KAAM3C,EAAUY,SAQ/IoD,SAAUhE,EAAUI,OAIpB6D,iBAAkBjE,EAAUsD,UAAU,CAACtD,EAAU2C,KAAM3C,EAAUY,SAKjEsD,MAAOlE,EAAUY,OAKjBuD,QAASnE,EAAUO,MAAM,CAAC,SAAU,WAAY","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDateTimeField.js","sources":["../../../../../../../node_modules/@mui/x-date-pickers/esm/DateTimeField/useDateTimeField.js"],"sourcesContent":["'use client';\n\nimport { useField } from \"../internals/hooks/useField/index.js\";\nimport { useDateTimeManager } from \"../managers/index.js\";\nexport const useDateTimeField = props => {\n const manager = useDateTimeManager(props);\n return useField({\n manager,\n props\n });\n};"],"names":["useDateTimeField","props","manager","useDateTimeManager","useField"],"mappings":"0IAIY,MAACA,EAAmBC,IAC9B,MAAMC,EAAUC,EAAmBF,GACnC,OAAOG,EAAS,CACdF,UACAD","x_google_ignoreList":[0]}
|