import type { SxProps } from '@mui/system/styleFunctionSx'; import type { Theme } from '@mui/material/styles'; import type { EventCalendarPremiumParameters } from '@mui/x-scheduler-internals-premium/use-event-calendar-premium'; import type { EventCalendarSchedulerParametersOverrides, CollapsibleResourcesParameterKeys } from '@mui/x-scheduler-internals/use-event-calendar'; import type { EventCalendarViewConfig } from '@mui/x-scheduler-internals/models'; import type { EventCalendarLocaleText, SchedulerSlotsAndSlotProps } from '@mui/x-scheduler/models'; import type { WeekViewProps } from '@mui/x-scheduler/week-view'; export interface StandaloneWeekViewPremiumProps extends WeekViewProps, Omit, 'viewConfig' | keyof EventCalendarSchedulerParametersOverrides | CollapsibleResourcesParameterKeys>, EventCalendarSchedulerParametersOverrides, SchedulerSlotsAndSlotProps { /** * Configuration applied to the view, keyed by the view name. * For the `week` view, `startTime` and `endTime` (whole hours between 0 and 24) * limit the hours displayed in the time grid, and `initialScrollTime` is the hour the grid * scrolls to on mount. * @example { week: { startTime: 8, endTime: 20, initialScrollTime: 9 } } */ viewConfig?: Pick; /** * Set the locale text of the view. * You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/x-scheduler/src/models/translations.ts) * in the GitHub repository. */ localeText?: Partial; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; }