@pdg/react-form 1.0.70 → 1.0.72
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/dist/@private/PrivateInputDatePicker/PrivateInputDatePicker.d.ts +5 -0
- package/dist/@private/PrivateInputDatePicker/PrivateInputDatePicker.types.d.ts +28 -0
- package/dist/@private/PrivateInputDatePicker/index.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.style.d.ts +33 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.types.d.ts +16 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.style.d.ts +50 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.types.d.ts +13 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/index.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.style.d.ts +17 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.types.d.ts +7 -0
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/index.d.ts +4 -0
- package/dist/@private/PrivateMonthPicker/index.d.ts +4 -0
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.d.ts +4 -0
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.style.d.ts +17 -0
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.types.d.ts +16 -0
- package/dist/@private/PrivateMonthRangePicker/index.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.style.d.ts +32 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.types.d.ts +16 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.style.d.ts +50 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.types.d.ts +12 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/index.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.style.d.ts +17 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.types.d.ts +7 -0
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/index.d.ts +4 -0
- package/dist/@private/PrivateYearPicker/index.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.style.d.ts +5 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.types.d.ts +15 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.style.d.ts +50 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.types.d.ts +11 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/index.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.style.d.ts +17 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.types.d.ts +7 -0
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/index.d.ts +4 -0
- package/dist/@private/PrivateYearRangePicker/index.d.ts +4 -0
- package/dist/@private/index.d.ts +5 -0
- package/dist/@types/types.d.ts +51 -14
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePicker.types.d.ts +13 -14
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/FormDateRangePickerTooltipPicker.d.ts +5 -0
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/FormDateRangePickerTooltipPicker.types.d.ts +26 -0
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/index.d.ts +4 -0
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPickerContainer.d.ts +5 -0
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPickerContainer.types.d.ts +28 -0
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/index.d.ts +4 -0
- package/dist/FormItemCustom/FormMonthPicker/FormMonthPicker.d.ts +5 -0
- package/dist/FormItemCustom/FormMonthPicker/FormMonthPicker.types.d.ts +28 -0
- package/dist/FormItemCustom/FormMonthPicker/index.d.ts +4 -0
- package/dist/FormItemCustom/FormMonthRangePicker/FormMonthRangePicker.d.ts +5 -0
- package/dist/FormItemCustom/FormMonthRangePicker/FormMonthRangePicker.types.d.ts +36 -0
- package/dist/FormItemCustom/FormMonthRangePicker/index.d.ts +4 -0
- package/dist/FormItemCustom/FormYearPicker/FormYearPicker.d.ts +4 -0
- package/dist/FormItemCustom/FormYearPicker/FormYearPicker.types.d.ts +24 -0
- package/dist/FormItemCustom/FormYearPicker/index.d.ts +4 -0
- package/dist/FormItemCustom/FormYearRangePicker/FormYearRangePicker.d.ts +4 -0
- package/dist/FormItemCustom/FormYearRangePicker/FormYearRangePicker.types.d.ts +32 -0
- package/dist/FormItemCustom/FormYearRangePicker/index.d.ts +4 -0
- package/dist/FormItemCustom/index.d.ts +4 -0
- package/dist/index.esm.js +3919 -1536
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3919 -1536
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/CustomDatePicker/CustomDatePicker.d.ts +0 -5
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/CustomDatePicker/CustomDatePicker.types.d.ts +0 -23
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/CustomDatePicker/index.d.ts +0 -4
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/CustomDatePickerContainer.d.ts +0 -5
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/CustomDatePickerContainer.types.d.ts +0 -28
- package/dist/FormItemCustom/FormDateRangePicker/CustomDatePickerContainer/index.d.ts +0 -4
- package/dist/FormItemCustom/FormDateRangePicker/InputDatePicker/InputDatePicker.d.ts +0 -5
- package/dist/FormItemCustom/FormDateRangePicker/InputDatePicker/InputDatePicker.types.d.ts +0 -30
- package/dist/FormItemCustom/FormDateRangePicker/InputDatePicker/index.d.ts +0 -4
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateInputDatePickerProps as Props } from './PrivateInputDatePicker.types';
|
|
3
|
+
import './PrivateInputDatePicker.scss';
|
|
4
|
+
declare const PrivateInputDatePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default PrivateInputDatePicker;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { TextFieldProps } from '@mui/material';
|
|
4
|
+
import { DateValidationError } from '@mui/x-date-pickers';
|
|
5
|
+
import { CommonSxProps, FormValueItemProps } from '../../@types';
|
|
6
|
+
import { DesktopDatePickerProps } from '@mui/x-date-pickers';
|
|
7
|
+
export type PrivateInputDatePickerValue = Dayjs | null;
|
|
8
|
+
export interface PrivateInputDatePickerProps extends CommonSxProps, Pick<DesktopDatePickerProps<Dayjs>, 'disablePast' | 'disableFuture' | 'shouldDisableYear' | 'shouldDisableMonth' | 'shouldDisableDate'>, Pick<FormValueItemProps<PrivateInputDatePickerValue>, 'variant' | 'size' | 'color' | 'focused' | 'fullWidth' | 'readOnly' | 'label' | 'labelIcon' | 'error'> {
|
|
9
|
+
className?: string;
|
|
10
|
+
value: PrivateInputDatePickerValue;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
labelShrink?: boolean;
|
|
14
|
+
inputRef?: React.MutableRefObject<HTMLInputElement | undefined>;
|
|
15
|
+
format: string;
|
|
16
|
+
icon?: string;
|
|
17
|
+
startAdornment?: ReactNode;
|
|
18
|
+
endAdornment?: ReactNode;
|
|
19
|
+
minDate?: Dayjs;
|
|
20
|
+
maxDate?: Dayjs;
|
|
21
|
+
align?: 'left' | 'center' | 'right';
|
|
22
|
+
readOnlyInput?: boolean;
|
|
23
|
+
onChange(newValue: PrivateInputDatePickerValue): void;
|
|
24
|
+
onFocus: TextFieldProps['onFocus'];
|
|
25
|
+
onBlur?: TextFieldProps['onBlur'];
|
|
26
|
+
onError?(reason: DateValidationError, value: PrivateInputDatePickerValue): void;
|
|
27
|
+
}
|
|
28
|
+
export declare const PrivateInputDatePickerDefaultProps: Pick<PrivateInputDatePickerProps, 'align'>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const TitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
7
|
+
color?: "inherit" | "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
disableFocusRipple?: boolean | undefined;
|
|
10
|
+
edge?: false | "start" | "end" | undefined;
|
|
11
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
} & Omit<{
|
|
14
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
15
|
+
centerRipple?: boolean | undefined;
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
disableRipple?: boolean | undefined;
|
|
20
|
+
disableTouchRipple?: boolean | undefined;
|
|
21
|
+
focusRipple?: boolean | undefined;
|
|
22
|
+
focusVisibleClassName?: string | undefined;
|
|
23
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
24
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
25
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
26
|
+
tabIndex?: number | undefined;
|
|
27
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
28
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
29
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
30
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
31
|
+
}, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "size"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
32
|
+
export declare const StyledYearMonth: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
|
+
export declare const StyledYearMonthError: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type PrivateMonthPickerBaseValue = {
|
|
2
|
+
year: number;
|
|
3
|
+
month: number;
|
|
4
|
+
};
|
|
5
|
+
export type PrivateMonthPickerValue = PrivateMonthPickerBaseValue | null;
|
|
6
|
+
export interface PrivateMonthPickerProps {
|
|
7
|
+
value: PrivateMonthPickerValue;
|
|
8
|
+
minValue?: PrivateMonthPickerBaseValue;
|
|
9
|
+
maxValue?: PrivateMonthPickerBaseValue;
|
|
10
|
+
disablePast?: boolean;
|
|
11
|
+
disableFuture?: boolean;
|
|
12
|
+
selectFromValue?: PrivateMonthPickerValue;
|
|
13
|
+
selectToValue?: PrivateMonthPickerValue;
|
|
14
|
+
onChange(value: PrivateMonthPickerBaseValue, isMonthSelect: boolean): void;
|
|
15
|
+
}
|
|
16
|
+
export declare const PrivateMonthPickerDefaultProps: Required<Pick<PrivateMonthPickerProps, 'minValue' | 'maxValue'>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateMonthPickerMonthProps as Props } from './PrivateMonthPickerMonth.types';
|
|
3
|
+
declare const PrivateMonthPickerMonth: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default PrivateMonthPickerMonth;
|
package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.style.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
18
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
21
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
disableElevation?: boolean | undefined;
|
|
24
|
+
disableFocusRipple?: boolean | undefined;
|
|
25
|
+
endIcon?: import("react").ReactNode;
|
|
26
|
+
fullWidth?: boolean | undefined;
|
|
27
|
+
href?: string | undefined;
|
|
28
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
29
|
+
startIcon?: import("react").ReactNode;
|
|
30
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
31
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
32
|
+
} & Omit<{
|
|
33
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
34
|
+
centerRipple?: boolean | undefined;
|
|
35
|
+
children?: import("react").ReactNode;
|
|
36
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
37
|
+
disabled?: boolean | undefined;
|
|
38
|
+
disableRipple?: boolean | undefined;
|
|
39
|
+
disableTouchRipple?: boolean | undefined;
|
|
40
|
+
focusRipple?: boolean | undefined;
|
|
41
|
+
focusVisibleClassName?: string | undefined;
|
|
42
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
43
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
44
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
45
|
+
tabIndex?: number | undefined;
|
|
46
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
47
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
48
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
49
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
50
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.types.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
export interface PrivateMonthPickerMonthProps extends Pick<ButtonProps, 'onMouseEnter' | 'onMouseLeave'> {
|
|
3
|
+
month: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
isDefault?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
selectedStart?: boolean;
|
|
9
|
+
selectedEnd?: boolean;
|
|
10
|
+
selectedTemp?: boolean;
|
|
11
|
+
onClick?(month: number): void;
|
|
12
|
+
}
|
|
13
|
+
export declare const PrivateMonthPickerMonthDefaultProps: {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PrivateMonthPickerBaseValue, PrivateMonthPickerProps } from '../PrivateMonthPicker.types';
|
|
2
|
+
export interface PrivateMonthPickerMonthListProps extends Pick<PrivateMonthPickerProps, 'value' | 'disablePast' | 'disableFuture' | 'selectFromValue' | 'selectToValue'> {
|
|
3
|
+
minAvailableValue: PrivateMonthPickerBaseValue;
|
|
4
|
+
maxAvailableValue: PrivateMonthPickerBaseValue;
|
|
5
|
+
onChange(value: PrivateMonthPickerBaseValue): void;
|
|
6
|
+
}
|
|
7
|
+
export declare const PrivateMonthPickerMonthListDefaultProps: {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledDiv: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type PrivateMonthRangePickerSelectType = 'start' | 'end';
|
|
2
|
+
export type PrivateMonthRangePickerBaseValue = {
|
|
3
|
+
year: number;
|
|
4
|
+
month: number;
|
|
5
|
+
};
|
|
6
|
+
export type PrivateMonthRangePickerDataValue = PrivateMonthRangePickerBaseValue | null;
|
|
7
|
+
export type PrivateMonthRangePickerValue = [PrivateMonthRangePickerDataValue, PrivateMonthRangePickerDataValue];
|
|
8
|
+
export interface PrivateMonthRangePickerProps {
|
|
9
|
+
value: PrivateMonthRangePickerValue;
|
|
10
|
+
minValue?: PrivateMonthRangePickerBaseValue;
|
|
11
|
+
maxValue?: PrivateMonthRangePickerBaseValue;
|
|
12
|
+
disablePast?: boolean;
|
|
13
|
+
disableFuture?: boolean;
|
|
14
|
+
onChange(value: PrivateMonthRangePickerValue, selectType: PrivateMonthRangePickerSelectType, isMonthSelect: boolean): void;
|
|
15
|
+
}
|
|
16
|
+
export declare const PrivateMonthRangePickerDefaultProps: Required<Pick<PrivateMonthRangePickerProps, 'minValue' | 'maxValue'>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
6
|
+
color?: "inherit" | "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
disableFocusRipple?: boolean | undefined;
|
|
9
|
+
edge?: false | "start" | "end" | undefined;
|
|
10
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
11
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
|
+
} & Omit<{
|
|
13
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
14
|
+
centerRipple?: boolean | undefined;
|
|
15
|
+
children?: import("react").ReactNode;
|
|
16
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
disableRipple?: boolean | undefined;
|
|
19
|
+
disableTouchRipple?: boolean | undefined;
|
|
20
|
+
focusRipple?: boolean | undefined;
|
|
21
|
+
focusVisibleClassName?: string | undefined;
|
|
22
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
23
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
24
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
+
tabIndex?: number | undefined;
|
|
26
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
27
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
28
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
30
|
+
}, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "size"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
31
|
+
export declare const StyledYearMonth: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
|
+
export declare const StyledYearMonthError: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export type PrivateYearPickerBaseValue = number;
|
|
3
|
+
export type PrivateYearPickerValue = PrivateYearPickerBaseValue | null;
|
|
4
|
+
export interface PrivateYearPickerProps {
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
value: PrivateYearPickerValue;
|
|
7
|
+
minYear?: PrivateYearPickerBaseValue;
|
|
8
|
+
maxYear?: PrivateYearPickerBaseValue;
|
|
9
|
+
disablePast?: boolean;
|
|
10
|
+
disableFuture?: boolean;
|
|
11
|
+
hideHeader?: boolean;
|
|
12
|
+
selectFromYear?: PrivateYearPickerValue;
|
|
13
|
+
selectToYear?: PrivateYearPickerValue;
|
|
14
|
+
onChange(value: PrivateYearPickerBaseValue, isClick: boolean): void;
|
|
15
|
+
}
|
|
16
|
+
export declare const PrivateYearPickerDefaultProps: Required<Pick<PrivateYearPickerProps, 'minYear' | 'maxYear'>>;
|
package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.style.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
18
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
21
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
disableElevation?: boolean | undefined;
|
|
24
|
+
disableFocusRipple?: boolean | undefined;
|
|
25
|
+
endIcon?: import("react").ReactNode;
|
|
26
|
+
fullWidth?: boolean | undefined;
|
|
27
|
+
href?: string | undefined;
|
|
28
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
29
|
+
startIcon?: import("react").ReactNode;
|
|
30
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
31
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
32
|
+
} & Omit<{
|
|
33
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
34
|
+
centerRipple?: boolean | undefined;
|
|
35
|
+
children?: import("react").ReactNode;
|
|
36
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
37
|
+
disabled?: boolean | undefined;
|
|
38
|
+
disableRipple?: boolean | undefined;
|
|
39
|
+
disableTouchRipple?: boolean | undefined;
|
|
40
|
+
focusRipple?: boolean | undefined;
|
|
41
|
+
focusVisibleClassName?: string | undefined;
|
|
42
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
43
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
44
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
45
|
+
tabIndex?: number | undefined;
|
|
46
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
47
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
48
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
49
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
50
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.types.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
export interface PrivateYearPickerYearProps extends Pick<ButtonProps, 'onClick' | 'onMouseEnter' | 'onMouseLeave'> {
|
|
3
|
+
year: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
isDefault?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
selectedStart?: boolean;
|
|
9
|
+
selectedEnd?: boolean;
|
|
10
|
+
selectedTemp?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const PrivateYearPickerYearDefaultProps: {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PrivateYearPickerBaseValue, PrivateYearPickerProps, PrivateYearPickerValue } from '../PrivateYearPicker.types';
|
|
2
|
+
export interface PrivateYearPickerYearListProps extends Pick<PrivateYearPickerProps, 'value' | 'disablePast' | 'disableFuture'>, Required<Pick<PrivateYearPickerProps, 'minYear' | 'maxYear'>> {
|
|
3
|
+
selectFromYear?: PrivateYearPickerValue;
|
|
4
|
+
selectToYear?: PrivateYearPickerValue;
|
|
5
|
+
onChange(year: PrivateYearPickerBaseValue): void;
|
|
6
|
+
}
|
|
7
|
+
export declare const PrivateYearPickerYearListDefaultProps: {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const StyledYear: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
|
+
export declare const StyledYearError: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
+
export declare const StyledTitleGap: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type PrivateYearRangePickerSelectType = 'start' | 'end';
|
|
2
|
+
export type PrivateYearRangePickerBaseValue = number;
|
|
3
|
+
export type PrivateYearRangePickerDataValue = PrivateYearRangePickerBaseValue | null;
|
|
4
|
+
export type PrivateYearRangePickerValue = [PrivateYearRangePickerDataValue, PrivateYearRangePickerDataValue];
|
|
5
|
+
export interface PrivateYearRangePickerProps {
|
|
6
|
+
selectType: PrivateYearRangePickerSelectType;
|
|
7
|
+
value: PrivateYearRangePickerValue;
|
|
8
|
+
minYear?: PrivateYearRangePickerBaseValue;
|
|
9
|
+
maxYear?: PrivateYearRangePickerBaseValue;
|
|
10
|
+
disablePast?: boolean;
|
|
11
|
+
disableFuture?: boolean;
|
|
12
|
+
hideHeader?: boolean;
|
|
13
|
+
onChange(value: PrivateYearRangePickerValue, selectType: PrivateYearRangePickerSelectType): void;
|
|
14
|
+
}
|
|
15
|
+
export declare const PrivateYearRangePickerDefaultProps: Required<Pick<PrivateYearRangePickerProps, 'minYear' | 'maxYear'>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateYearRangePickerYearProps as Props } from './PrivateYearRangePickerYear.types';
|
|
3
|
+
declare const PrivateYearRangePickerYear: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default PrivateYearRangePickerYear;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").GridClasses> | undefined;
|
|
5
|
+
columns?: import("@mui/system").ResponsiveStyleValue<number> | undefined;
|
|
6
|
+
columnSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
7
|
+
container?: boolean | undefined;
|
|
8
|
+
direction?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridDirection> | undefined;
|
|
9
|
+
item?: boolean | undefined;
|
|
10
|
+
rowSpacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
11
|
+
spacing?: import("@mui/system").ResponsiveStyleValue<import("@mui/material").GridSpacing> | undefined;
|
|
12
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
+
wrap?: import("@mui/material").GridWrap | undefined;
|
|
14
|
+
zeroMinWidth?: boolean | undefined;
|
|
15
|
+
} & import("@mui/material").RegularBreakpoints & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "direction" | "columns" | "container" | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "wrap" | "children" | "columnSpacing" | "item" | "rowSpacing" | "spacing" | "sx" | "zeroMinWidth" | keyof import("@mui/material").RegularBreakpoints> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
18
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
21
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
disableElevation?: boolean | undefined;
|
|
24
|
+
disableFocusRipple?: boolean | undefined;
|
|
25
|
+
endIcon?: import("react").ReactNode;
|
|
26
|
+
fullWidth?: boolean | undefined;
|
|
27
|
+
href?: string | undefined;
|
|
28
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
29
|
+
startIcon?: import("react").ReactNode;
|
|
30
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
31
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
32
|
+
} & Omit<{
|
|
33
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
34
|
+
centerRipple?: boolean | undefined;
|
|
35
|
+
children?: import("react").ReactNode;
|
|
36
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
37
|
+
disabled?: boolean | undefined;
|
|
38
|
+
disableRipple?: boolean | undefined;
|
|
39
|
+
disableTouchRipple?: boolean | undefined;
|
|
40
|
+
focusRipple?: boolean | undefined;
|
|
41
|
+
focusVisibleClassName?: string | undefined;
|
|
42
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
43
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
44
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
45
|
+
tabIndex?: number | undefined;
|
|
46
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
47
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
48
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
49
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
50
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
export interface PrivateYearRangePickerYearProps extends Pick<ButtonProps, 'onClick' | 'onMouseEnter' | 'onMouseLeave'> {
|
|
3
|
+
year: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
isDefault?: boolean;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
selectedStart?: boolean;
|
|
8
|
+
selectedEnd?: boolean;
|
|
9
|
+
selectedTemp?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const PrivateYearRangePickerYearDefaultProps: {};
|