@pdg/react-form 1.0.121 → 1.0.123
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/@types/date_time.d.ts +12 -12
- package/dist/@private/@types/index.d.ts +1 -1
- package/dist/@private/PrivateAlertDialog/PrivateAlertDialog.d.ts +4 -4
- package/dist/@private/PrivateAlertDialog/PrivateAlertDialog.types.d.ts +8 -9
- package/dist/@private/PrivateAlertDialog/index.d.ts +4 -4
- package/dist/@private/PrivateDatePicker/PrivateDatePicker.d.ts +5 -5
- package/dist/@private/PrivateDatePicker/PrivateDatePicker.types.d.ts +26 -27
- package/dist/@private/PrivateDatePicker/index.d.ts +4 -4
- package/dist/@private/PrivateDateTimePicker/PrivateDateTimePicker.d.ts +5 -5
- package/dist/@private/PrivateDateTimePicker/PrivateDateTimePicker.types.d.ts +26 -27
- package/dist/@private/PrivateDateTimePicker/index.d.ts +4 -4
- package/dist/@private/PrivateInputDatePicker/PrivateInputDatePicker.d.ts +5 -5
- package/dist/@private/PrivateInputDatePicker/PrivateInputDatePicker.types.d.ts +27 -28
- package/dist/@private/PrivateInputDatePicker/index.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.types.d.ts +15 -16
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.types.d.ts +13 -14
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/index.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.types.d.ts +7 -8
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/index.d.ts +4 -4
- package/dist/@private/PrivateMonthPicker/index.d.ts +4 -4
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.d.ts +4 -4
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.types.d.ts +15 -16
- package/dist/@private/PrivateMonthRangePicker/index.d.ts +4 -4
- package/dist/@private/PrivateMonthSelect/PrivateMonthSelect.d.ts +5 -5
- package/dist/@private/PrivateMonthSelect/PrivateMonthSelect.types.d.ts +9 -10
- package/dist/@private/PrivateMonthSelect/index.d.ts +4 -4
- package/dist/@private/PrivateStaticDatePicker/PrivateStaticDatePicker.d.ts +5 -5
- package/dist/@private/PrivateStaticDatePicker/PrivateStaticDatePicker.types.d.ts +19 -20
- package/dist/@private/PrivateStaticDatePicker/index.d.ts +4 -4
- package/dist/@private/PrivateStaticDateTimePicker/PrivateStaticDateTimePicker.d.ts +5 -5
- package/dist/@private/PrivateStaticDateTimePicker/PrivateStaticDateTimePicker.types.d.ts +21 -22
- package/dist/@private/PrivateStaticDateTimePicker/index.d.ts +4 -4
- package/dist/@private/PrivateStyledTooltip/PrivateStyledTooltip.d.ts +3 -3
- package/dist/@private/PrivateStyledTooltip/index.d.ts +3 -3
- package/dist/@private/PrivateTimeSelect/PrivateTimeSelect.d.ts +5 -5
- package/dist/@private/PrivateTimeSelect/PrivateTimeSelect.types.d.ts +12 -13
- package/dist/@private/PrivateTimeSelect/index.d.ts +4 -4
- package/dist/@private/PrivateToggleButton/PrivateToggleButton.d.ts +4 -4
- package/dist/@private/PrivateToggleButton/PrivateToggleButton.types.d.ts +6 -7
- package/dist/@private/PrivateToggleButton/index.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.types.d.ts +15 -16
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.types.d.ts +12 -13
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/index.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.types.d.ts +6 -7
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/index.d.ts +4 -4
- package/dist/@private/PrivateYearPicker/index.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.types.d.ts +14 -15
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.types.d.ts +10 -11
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/index.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.types.d.ts +6 -7
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/index.d.ts +4 -4
- package/dist/@private/PrivateYearRangePicker/index.d.ts +4 -4
- package/dist/@private/PrivateYearSelect/PrivateYearSelect.d.ts +5 -5
- package/dist/@private/PrivateYearSelect/PrivateYearSelect.types.d.ts +7 -8
- package/dist/@private/PrivateYearSelect/index.d.ts +4 -4
- package/dist/@private/index.d.ts +11 -11
- package/dist/@types/date_time.d.ts +2 -2
- package/dist/@types/index.d.ts +2 -2
- package/dist/@types/types.d.ts +132 -132
- package/dist/Form/Form.d.ts +4 -4
- package/dist/Form/Form.types.d.ts +40 -41
- package/dist/Form/index.d.ts +4 -4
- package/dist/FormCommon/FormButton/FormButton.d.ts +4 -4
- package/dist/FormCommon/FormButton/FormButton.types.d.ts +6 -7
- package/dist/FormCommon/FormButton/index.d.ts +4 -4
- package/dist/FormCommon/FormLabel/FormLabel.d.ts +4 -4
- package/dist/FormCommon/FormLabel/FormLabel.types.d.ts +7 -8
- package/dist/FormCommon/FormLabel/index.d.ts +4 -4
- package/dist/FormCommon/index.d.ts +2 -2
- package/dist/FormContext/FormContext.d.ts +4 -4
- package/dist/FormContext/FormContext.types.d.ts +22 -22
- package/dist/FormContext/index.d.ts +5 -5
- package/dist/FormContext/useFormState.d.ts +2 -2
- package/dist/FormContextProvider/FormContextProvider.d.ts +4 -4
- package/dist/FormContextProvider/FormContextProvider.types.d.ts +6 -6
- package/dist/FormContextProvider/index.d.ts +4 -4
- package/dist/FormItemCustom/FormAutocomplete/FormAutocomplete.d.ts +4 -4
- package/dist/FormItemCustom/FormAutocomplete/FormAutocomplete.types.d.ts +40 -41
- package/dist/FormItemCustom/FormAutocomplete/index.d.ts +4 -4
- package/dist/FormItemCustom/FormCheckbox/FormCheckbox.d.ts +4 -4
- package/dist/FormItemCustom/FormCheckbox/FormCheckbox.types.d.ts +15 -16
- package/dist/FormItemCustom/FormCheckbox/index.d.ts +4 -4
- package/dist/FormItemCustom/FormDatePicker/FormDatePicker.d.ts +4 -4
- package/dist/FormItemCustom/FormDatePicker/FormDatePicker.types.d.ts +6 -7
- package/dist/FormItemCustom/FormDatePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePicker.d.ts +4 -4
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePicker.types.d.ts +48 -50
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/FormDateRangePickerTooltipPicker.d.ts +5 -5
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/FormDateRangePickerTooltipPicker.types.d.ts +25 -26
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPickerContainer.d.ts +5 -5
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/FormDateRangePickerTooltipPickerContainer.types.d.ts +27 -28
- package/dist/FormItemCustom/FormDateRangePicker/FormDateRangePickerTooltipPickerContainer/index.d.ts +5 -4
- package/dist/FormItemCustom/FormDateRangePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormDateTimePicker/FormDateTimePicker.d.ts +4 -4
- package/dist/FormItemCustom/FormDateTimePicker/FormDateTimePicker.types.d.ts +6 -7
- package/dist/FormItemCustom/FormDateTimePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormFile/FormFile.d.ts +5 -5
- package/dist/FormItemCustom/FormFile/FormFile.types.d.ts +26 -27
- package/dist/FormItemCustom/FormFile/index.d.ts +4 -4
- package/dist/FormItemCustom/FormImageFile/FormImageFile.d.ts +5 -5
- package/dist/FormItemCustom/FormImageFile/FormImageFile.types.d.ts +11 -12
- package/dist/FormItemCustom/FormImageFile/index.d.ts +4 -4
- package/dist/FormItemCustom/FormItemBase/FormItemBase.d.ts +5 -5
- package/dist/FormItemCustom/FormItemBase/FormItemBase.types.d.ts +21 -21
- package/dist/FormItemCustom/FormItemBase/index.d.ts +4 -4
- package/dist/FormItemCustom/FormMonthPicker/FormMonthPicker.d.ts +5 -5
- package/dist/FormItemCustom/FormMonthPicker/FormMonthPicker.types.d.ts +24 -25
- package/dist/FormItemCustom/FormMonthPicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormMonthRangePicker/FormMonthRangePicker.d.ts +5 -5
- package/dist/FormItemCustom/FormMonthRangePicker/FormMonthRangePicker.types.d.ts +30 -31
- package/dist/FormItemCustom/FormMonthRangePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormRadioGroup/FormRadioGroup.d.ts +4 -4
- package/dist/FormItemCustom/FormRadioGroup/FormRadioGroup.types.d.ts +22 -23
- package/dist/FormItemCustom/FormRadioGroup/index.d.ts +4 -4
- package/dist/FormItemCustom/FormRating/FormRating.d.ts +4 -4
- package/dist/FormItemCustom/FormRating/FormRating.types.d.ts +12 -13
- package/dist/FormItemCustom/FormRating/index.d.ts +4 -4
- package/dist/FormItemCustom/FormSwitch/FormSwitch.d.ts +4 -4
- package/dist/FormItemCustom/FormSwitch/FormSwitch.types.d.ts +11 -12
- package/dist/FormItemCustom/FormSwitch/index.d.ts +4 -4
- package/dist/FormItemCustom/FormTextEditor/FormTextEditor.d.ts +5 -5
- package/dist/FormItemCustom/FormTextEditor/FormTextEditor.types.d.ts +10 -11
- package/dist/FormItemCustom/FormTextEditor/index.d.ts +4 -4
- package/dist/FormItemCustom/FormTimePicker/FormTimePicker.d.ts +4 -4
- package/dist/FormItemCustom/FormTimePicker/FormTimePicker.types.d.ts +6 -7
- package/dist/FormItemCustom/FormTimePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormToggleButtonGroup/FormToggleButtonGroup.d.ts +5 -5
- package/dist/FormItemCustom/FormToggleButtonGroup/FormToggleButtonGroup.types.d.ts +30 -31
- package/dist/FormItemCustom/FormToggleButtonGroup/index.d.ts +4 -4
- package/dist/FormItemCustom/FormYearPicker/FormYearPicker.d.ts +4 -4
- package/dist/FormItemCustom/FormYearPicker/FormYearPicker.types.d.ts +22 -23
- package/dist/FormItemCustom/FormYearPicker/index.d.ts +4 -4
- package/dist/FormItemCustom/FormYearRangePicker/FormYearRangePicker.d.ts +4 -4
- package/dist/FormItemCustom/FormYearRangePicker/FormYearRangePicker.types.d.ts +28 -29
- package/dist/FormItemCustom/FormYearRangePicker/index.d.ts +4 -4
- package/dist/FormItemCustom/index.d.ts +17 -17
- package/dist/FormItemTextFieldBase/FormCompanyNo/FormCompanyNo.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormCompanyNo/FormCompanyNo.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormCompanyNo/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormEmail/FormEmail.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormEmail/FormEmail.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormEmail/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormHidden/FormHidden.d.ts +5 -5
- package/dist/FormItemTextFieldBase/FormHidden/FormHidden.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormHidden/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormMobile/FormMobile.d.ts +3 -3
- package/dist/FormItemTextFieldBase/FormMobile/FormMobile.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormMobile/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormNumber/FormNumber.d.ts +11 -11
- package/dist/FormItemTextFieldBase/FormNumber/FormNumber.types.d.ts +10 -11
- package/dist/FormItemTextFieldBase/FormNumber/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormPassword/FormPassword.d.ts +5 -5
- package/dist/FormItemTextFieldBase/FormPassword/FormPassword.types.d.ts +6 -7
- package/dist/FormItemTextFieldBase/FormPassword/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormPersonalNo/FormPersonalNo.d.ts +6 -6
- package/dist/FormItemTextFieldBase/FormPersonalNo/FormPersonalNo.types.d.ts +7 -8
- package/dist/FormItemTextFieldBase/FormPersonalNo/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormSearch/FormSearch.d.ts +5 -5
- package/dist/FormItemTextFieldBase/FormSearch/FormSearch.types.d.ts +4 -8
- package/dist/FormItemTextFieldBase/FormSearch/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormSelect/FormSelect.d.ts +15 -15
- package/dist/FormItemTextFieldBase/FormSelect/FormSelect.types.d.ts +28 -29
- package/dist/FormItemTextFieldBase/FormSelect/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormTag/FormTag.d.ts +13 -13
- package/dist/FormItemTextFieldBase/FormTag/FormTag.types.d.ts +14 -15
- package/dist/FormItemTextFieldBase/FormTag/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormTel/FormTel.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormTel/FormTel.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormTel/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormText/FormText.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormText/FormText.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormText/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormTextField/FormTextField.d.ts +8 -8
- package/dist/FormItemTextFieldBase/FormTextField/FormTextField.types.d.ts +19 -20
- package/dist/FormItemTextFieldBase/FormTextField/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormTextarea/FormTextarea.d.ts +5 -5
- package/dist/FormItemTextFieldBase/FormTextarea/FormTextarea.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormTextarea/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormUrl/FormUrl.d.ts +4 -4
- package/dist/FormItemTextFieldBase/FormUrl/FormUrl.types.d.ts +4 -5
- package/dist/FormItemTextFieldBase/FormUrl/index.d.ts +4 -4
- package/dist/FormItemTextFieldBase/index.d.ts +15 -15
- package/dist/FormLayout/FormBlock/FormBlock.d.ts +4 -4
- package/dist/FormLayout/FormBlock/FormBlock.types.d.ts +9 -10
- package/dist/FormLayout/FormBlock/index.d.ts +4 -4
- package/dist/FormLayout/FormBody/FormBody.d.ts +4 -4
- package/dist/FormLayout/FormBody/FormBody.types.d.ts +5 -6
- package/dist/FormLayout/FormBody/index.d.ts +4 -4
- package/dist/FormLayout/FormCol/FormCol.d.ts +4 -4
- package/dist/FormLayout/FormCol/FormCol.types.d.ts +12 -13
- package/dist/FormLayout/FormCol/index.d.ts +4 -4
- package/dist/FormLayout/FormDivider/FormDivider.d.ts +4 -4
- package/dist/FormLayout/FormDivider/FormDivider.types.d.ts +18 -19
- package/dist/FormLayout/FormDivider/index.d.ts +4 -4
- package/dist/FormLayout/FormFooter/FormFooter.d.ts +4 -4
- package/dist/FormLayout/FormFooter/FormFooter.types.d.ts +6 -7
- package/dist/FormLayout/FormFooter/index.d.ts +4 -4
- package/dist/FormLayout/FormRow/FormRow.d.ts +4 -4
- package/dist/FormLayout/FormRow/FormRow.types.d.ts +11 -12
- package/dist/FormLayout/FormRow/index.d.ts +4 -4
- package/dist/FormLayout/index.d.ts +6 -6
- package/dist/Search/Search/Search.d.ts +4 -4
- package/dist/Search/Search/Search.types.d.ts +7 -8
- package/dist/Search/Search/index.d.ts +4 -4
- package/dist/Search/SearchButton/SearchButton.d.ts +4 -4
- package/dist/Search/SearchButton/SearchButton.types.d.ts +3 -4
- package/dist/Search/SearchButton/index.d.ts +4 -4
- package/dist/Search/SearchGroup/SearchGroup.d.ts +4 -4
- package/dist/Search/SearchGroup/SearchGroup.types.d.ts +8 -9
- package/dist/Search/SearchGroup/index.d.ts +4 -4
- package/dist/Search/SearchGroupRow/SearchGroupRow.d.ts +4 -4
- package/dist/Search/SearchGroupRow/SearchGroupRow.types.d.ts +3 -4
- package/dist/Search/SearchGroupRow/index.d.ts +4 -4
- package/dist/Search/SearchMenuButton/SearchMenuButton.d.ts +4 -4
- package/dist/Search/SearchMenuButton/SearchMenuButton.types.d.ts +6 -7
- package/dist/Search/SearchMenuButton/index.d.ts +4 -4
- package/dist/Search/index.d.ts +5 -5
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +10346 -10645
- package/dist/index.js +10345 -10644
- package/package.json +18 -18
- package/dist/@private/PrivateMonthPicker/PrivateMonthPicker.style.d.ts +0 -8
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.style.d.ts +0 -7
- package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonthList/PrivateMonthPickerMonthList.style.d.ts +0 -4
- package/dist/@private/PrivateMonthRangePicker/PrivateMonthRangePicker.style.d.ts +0 -8
- package/dist/@private/PrivateYearPicker/PrivateYearPicker.style.d.ts +0 -7
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYear/PrivateYearPickerYear.style.d.ts +0 -7
- package/dist/@private/PrivateYearPicker/PrivateYearPickerYearList/PrivateYearPickerYearList.style.d.ts +0 -4
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePicker.style.d.ts +0 -9
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYear/PrivateYearRangePickerYear.style.d.ts +0 -7
- package/dist/@private/PrivateYearRangePicker/PrivateYearRangePickerYearList/PrivateYearRangePickerYearList.style.d.ts +0 -4
- package/dist/@util/date_time.d.ts +0 -49
- package/dist/@util/file.d.ts +0 -1
- package/dist/@util/forwardRef.d.ts +0 -3
- package/dist/@util/index.d.ts +0 -3
- package/dist/FormCommon/FormLabel/FormLabel.style.d.ts +0 -3
- package/dist/FormItemCustom/FormFile/FormFile.style.d.ts +0 -2
- package/dist/FormItemCustom/FormFile/LinkDialog/LinkDialog.d.ts +0 -4
- package/dist/FormItemCustom/FormFile/LinkDialog/LinkDialog.types.d.ts +0 -7
- package/dist/FormItemTextFieldBase/FormNumber/NumberFormatCustom.d.ts +0 -7
- package/dist/FormLayout/FormBlock/FormBlock.style.d.ts +0 -4
- package/dist/FormLayout/FormBody/FormBody.style.d.ts +0 -3
- package/dist/FormLayout/FormDivider/FormDivider.style.d.ts +0 -10
- package/dist/FormLayout/FormRow/FormRow.style.d.ts +0 -4
- package/dist/Search/SearchGroup/SearchGroup.style.d.ts +0 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
export type FormAvailableDateType = 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second';
|
|
3
|
-
export interface FormAvailableDateItem {
|
|
4
|
-
date: Dayjs;
|
|
5
|
-
year: number;
|
|
6
|
-
month: number;
|
|
7
|
-
day: number;
|
|
8
|
-
hour: number;
|
|
9
|
-
minute: number;
|
|
10
|
-
second: number;
|
|
11
|
-
}
|
|
12
|
-
export type FormAvailableDate = [FormAvailableDateItem | null, FormAvailableDateItem | null];
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
export type FormAvailableDateType = 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second';
|
|
3
|
+
export interface FormAvailableDateItem {
|
|
4
|
+
date: Dayjs;
|
|
5
|
+
year: number;
|
|
6
|
+
month: number;
|
|
7
|
+
day: number;
|
|
8
|
+
hour: number;
|
|
9
|
+
minute: number;
|
|
10
|
+
second: number;
|
|
11
|
+
}
|
|
12
|
+
export type FormAvailableDate = [FormAvailableDateItem | null, FormAvailableDateItem | null];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './date_time';
|
|
1
|
+
export * from './date_time';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateAlertDialogProps as Props } from './PrivateAlertDialog.types';
|
|
3
|
-
declare const PrivateAlertDialog: React.FC<Props>;
|
|
4
|
-
export default PrivateAlertDialog;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateAlertDialogProps as Props } from './PrivateAlertDialog.types';
|
|
3
|
+
declare const PrivateAlertDialog: React.FC<Props>;
|
|
4
|
+
export default PrivateAlertDialog;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface PrivateAlertDialogProps {
|
|
3
|
-
color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
4
|
-
title?: ReactNode;
|
|
5
|
-
content?: ReactNode;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const PrivateAlertDialogDefaultProps: Pick<PrivateAlertDialogProps, 'color'>;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface PrivateAlertDialogProps {
|
|
3
|
+
color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
content?: ReactNode;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateAlertDialog from './PrivateAlertDialog';
|
|
2
|
-
export default PrivateAlertDialog;
|
|
3
|
-
export { PrivateAlertDialog };
|
|
4
|
-
export * from './PrivateAlertDialog.types';
|
|
1
|
+
import PrivateAlertDialog from './PrivateAlertDialog';
|
|
2
|
+
export default PrivateAlertDialog;
|
|
3
|
+
export { PrivateAlertDialog };
|
|
4
|
+
export * from './PrivateAlertDialog.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateDatePickerProps as Props, PrivateDatePickerCommands } from './PrivateDatePicker.types';
|
|
3
|
-
import './PrivateDatePicker.scss';
|
|
4
|
-
declare const PrivateDatePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateDatePickerCommands>>;
|
|
5
|
-
export default PrivateDatePicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateDatePickerProps as Props, PrivateDatePickerCommands } from './PrivateDatePicker.types';
|
|
3
|
+
import './PrivateDatePicker.scss';
|
|
4
|
+
declare const PrivateDatePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateDatePickerCommands>>;
|
|
5
|
+
export default PrivateDatePicker;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DesktopDatePickerProps } from '@mui/x-date-pickers';
|
|
3
|
-
import { CommonSxProps, FormDateType, FormDateValueItemCommands, FormTimeType, FormValueItemBaseCommands, FormValueItemProps } from '../../@types';
|
|
4
|
-
import { Dayjs } from 'dayjs';
|
|
5
|
-
export type PrivateDatePickerValue = Dayjs | null;
|
|
6
|
-
export interface PrivateDatePickerProps extends CommonSxProps, Partial<Omit<DesktopDatePickerProps<Dayjs>, 'children' | 'name' | 'className' | 'style' | 'sx' | 'value' | 'inputFormat' | 'views' | 'onChange'>>, FormValueItemProps<PrivateDatePickerValue, false> {
|
|
7
|
-
type: FormDateType;
|
|
8
|
-
time?: FormTimeType;
|
|
9
|
-
hours?: number[];
|
|
10
|
-
minutes?: number[];
|
|
11
|
-
seconds?: number[];
|
|
12
|
-
minuteInterval?: number;
|
|
13
|
-
secondInterval?: number;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
labelShrink?: boolean;
|
|
16
|
-
format?: string;
|
|
17
|
-
formValueFormat?: string;
|
|
18
|
-
icon?: string;
|
|
19
|
-
startAdornment?: ReactNode;
|
|
20
|
-
endAdornment?: ReactNode;
|
|
21
|
-
align?: 'left' | 'center' | 'right';
|
|
22
|
-
readOnlyInput?: boolean;
|
|
23
|
-
hidden?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DesktopDatePickerProps } from '@mui/x-date-pickers';
|
|
3
|
+
import { CommonSxProps, FormDateType, FormDateValueItemCommands, FormTimeType, FormValueItemBaseCommands, FormValueItemProps } from '../../@types';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
5
|
+
export type PrivateDatePickerValue = Dayjs | null;
|
|
6
|
+
export interface PrivateDatePickerProps extends CommonSxProps, Partial<Omit<DesktopDatePickerProps<Dayjs>, 'children' | 'name' | 'className' | 'style' | 'sx' | 'value' | 'inputFormat' | 'views' | 'onChange'>>, FormValueItemProps<PrivateDatePickerValue, false> {
|
|
7
|
+
type: FormDateType;
|
|
8
|
+
time?: FormTimeType;
|
|
9
|
+
hours?: number[];
|
|
10
|
+
minutes?: number[];
|
|
11
|
+
seconds?: number[];
|
|
12
|
+
minuteInterval?: number;
|
|
13
|
+
secondInterval?: number;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
labelShrink?: boolean;
|
|
16
|
+
format?: string;
|
|
17
|
+
formValueFormat?: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
startAdornment?: ReactNode;
|
|
20
|
+
endAdornment?: ReactNode;
|
|
21
|
+
align?: 'left' | 'center' | 'right';
|
|
22
|
+
readOnlyInput?: boolean;
|
|
23
|
+
hidden?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface PrivateDatePickerCommands extends FormValueItemBaseCommands<PrivateDatePickerValue, false>, FormDateValueItemCommands {
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateDatePicker from './PrivateDatePicker';
|
|
2
|
-
export default PrivateDatePicker;
|
|
3
|
-
export { PrivateDatePicker };
|
|
4
|
-
export * from './PrivateDatePicker.types';
|
|
1
|
+
import PrivateDatePicker from './PrivateDatePicker';
|
|
2
|
+
export default PrivateDatePicker;
|
|
3
|
+
export { PrivateDatePicker };
|
|
4
|
+
export * from './PrivateDatePicker.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateDateTimePickerProps as Props, PrivateDateTimePickerCommands } from './PrivateDateTimePicker.types';
|
|
3
|
-
import './PrivateDateTimePicker.scss';
|
|
4
|
-
declare const PrivateDateTimePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateDateTimePickerCommands>>;
|
|
5
|
-
export default PrivateDateTimePicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateDateTimePickerProps as Props, PrivateDateTimePickerCommands } from './PrivateDateTimePicker.types';
|
|
3
|
+
import './PrivateDateTimePicker.scss';
|
|
4
|
+
declare const PrivateDateTimePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateDateTimePickerCommands>>;
|
|
5
|
+
export default PrivateDateTimePicker;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DesktopDateTimePickerProps } from '@mui/x-date-pickers';
|
|
3
|
-
import { CommonSxProps, FormDateType, FormDateValueItemCommands, FormTimeType, FormValueItemBaseCommands, FormValueItemProps } from '../../@types';
|
|
4
|
-
import { Dayjs } from 'dayjs';
|
|
5
|
-
export type PrivateDateTimePickerValue = Dayjs | null;
|
|
6
|
-
export interface PrivateDateTimePickerProps extends CommonSxProps, Partial<Omit<DesktopDateTimePickerProps<Dayjs>, 'children' | 'className' | 'name' | 'style' | 'sx' | 'value' | 'inputFormat' | 'views' | 'onChange' | 'openTo' | 'view' | 'viewRenderers' | 'components' | 'componentsProps' | 'slots' | 'slotProps'>>, FormValueItemProps<PrivateDateTimePickerValue, false> {
|
|
7
|
-
type: FormDateType;
|
|
8
|
-
time?: FormTimeType;
|
|
9
|
-
hours?: number[];
|
|
10
|
-
minutes?: number[];
|
|
11
|
-
seconds?: number[];
|
|
12
|
-
minuteInterval?: number;
|
|
13
|
-
secondInterval?: number;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
labelShrink?: boolean;
|
|
16
|
-
format?: string;
|
|
17
|
-
formValueFormat?: string;
|
|
18
|
-
icon?: string;
|
|
19
|
-
startAdornment?: ReactNode;
|
|
20
|
-
endAdornment?: ReactNode;
|
|
21
|
-
align?: 'left' | 'center' | 'right';
|
|
22
|
-
readOnlyInput?: boolean;
|
|
23
|
-
hidden?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DesktopDateTimePickerProps } from '@mui/x-date-pickers';
|
|
3
|
+
import { CommonSxProps, FormDateType, FormDateValueItemCommands, FormTimeType, FormValueItemBaseCommands, FormValueItemProps } from '../../@types';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
5
|
+
export type PrivateDateTimePickerValue = Dayjs | null;
|
|
6
|
+
export interface PrivateDateTimePickerProps extends CommonSxProps, Partial<Omit<DesktopDateTimePickerProps<Dayjs>, 'children' | 'className' | 'name' | 'style' | 'sx' | 'value' | 'inputFormat' | 'views' | 'onChange' | 'openTo' | 'view' | 'viewRenderers' | 'components' | 'componentsProps' | 'slots' | 'slotProps'>>, FormValueItemProps<PrivateDateTimePickerValue, false> {
|
|
7
|
+
type: FormDateType;
|
|
8
|
+
time?: FormTimeType;
|
|
9
|
+
hours?: number[];
|
|
10
|
+
minutes?: number[];
|
|
11
|
+
seconds?: number[];
|
|
12
|
+
minuteInterval?: number;
|
|
13
|
+
secondInterval?: number;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
labelShrink?: boolean;
|
|
16
|
+
format?: string;
|
|
17
|
+
formValueFormat?: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
startAdornment?: ReactNode;
|
|
20
|
+
endAdornment?: ReactNode;
|
|
21
|
+
align?: 'left' | 'center' | 'right';
|
|
22
|
+
readOnlyInput?: boolean;
|
|
23
|
+
hidden?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface PrivateDateTimePickerCommands extends FormValueItemBaseCommands<PrivateDateTimePickerValue, false>, FormDateValueItemCommands {
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateDateTimePicker from './PrivateDateTimePicker';
|
|
2
|
-
export default PrivateDateTimePicker;
|
|
3
|
-
export { PrivateDateTimePicker };
|
|
4
|
-
export * from './PrivateDateTimePicker.types';
|
|
1
|
+
import PrivateDateTimePicker from './PrivateDateTimePicker';
|
|
2
|
+
export default PrivateDateTimePicker;
|
|
3
|
+
export { PrivateDateTimePicker };
|
|
4
|
+
export * from './PrivateDateTimePicker.types';
|
|
@@ -1,5 +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;
|
|
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;
|
|
@@ -1,28 +1,27 @@
|
|
|
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>, 'name' | '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'>;
|
|
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>, 'name' | '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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateInputDatePicker from './PrivateInputDatePicker';
|
|
2
|
-
export default PrivateInputDatePicker;
|
|
3
|
-
export { PrivateInputDatePicker };
|
|
4
|
-
export * from './PrivateInputDatePicker.types';
|
|
1
|
+
import PrivateInputDatePicker from './PrivateInputDatePicker';
|
|
2
|
+
export default PrivateInputDatePicker;
|
|
3
|
+
export { PrivateInputDatePicker };
|
|
4
|
+
export * from './PrivateInputDatePicker.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateMonthPickerProps as Props } from './PrivateMonthPicker.types';
|
|
3
|
-
declare const PrivateMonthPicker: React.FC<Props>;
|
|
4
|
-
export default PrivateMonthPicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateMonthPickerProps as Props } from './PrivateMonthPicker.types';
|
|
3
|
+
declare const PrivateMonthPicker: React.FC<Props>;
|
|
4
|
+
export default PrivateMonthPicker;
|
|
@@ -1,16 +1,15 @@
|
|
|
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'>>;
|
|
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
|
+
}
|
package/dist/@private/PrivateMonthPicker/PrivateMonthPickerMonth/PrivateMonthPickerMonth.d.ts
CHANGED
|
@@ -1,4 +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;
|
|
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.types.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { ButtonProps } from '@mui/material';
|
|
2
|
-
export interface PrivateMonthPickerMonthProps extends Pick<ButtonProps, 'onMouseEnter' | 'onMouseLeave'> {
|
|
3
|
-
month: number;
|
|
4
|
-
range?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
isDefault?: boolean;
|
|
7
|
-
active?: boolean;
|
|
8
|
-
selected?: boolean;
|
|
9
|
-
selectedStart?: boolean;
|
|
10
|
-
selectedEnd?: boolean;
|
|
11
|
-
selectedTemp?: boolean;
|
|
12
|
-
onClick?(month: number): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const PrivateMonthPickerMonthDefaultProps: {};
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
export interface PrivateMonthPickerMonthProps extends Pick<ButtonProps, 'onMouseEnter' | 'onMouseLeave'> {
|
|
3
|
+
month: number;
|
|
4
|
+
range?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
isDefault?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
selectedStart?: boolean;
|
|
10
|
+
selectedEnd?: boolean;
|
|
11
|
+
selectedTemp?: boolean;
|
|
12
|
+
onClick?(month: number): void;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateMonthPickerMonth from './PrivateMonthPickerMonth';
|
|
2
|
-
export default PrivateMonthPickerMonth;
|
|
3
|
-
export { PrivateMonthPickerMonth };
|
|
4
|
-
export * from './PrivateMonthPickerMonth.types';
|
|
1
|
+
import PrivateMonthPickerMonth from './PrivateMonthPickerMonth';
|
|
2
|
+
export default PrivateMonthPickerMonth;
|
|
3
|
+
export { PrivateMonthPickerMonth };
|
|
4
|
+
export * from './PrivateMonthPickerMonth.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateMonthPickerMonthListProps as Props } from './PrivateMonthPickerMonthList.types';
|
|
3
|
-
declare const PrivateMonthPickerMonthList: React.FC<Props>;
|
|
4
|
-
export default PrivateMonthPickerMonthList;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateMonthPickerMonthListProps as Props } from './PrivateMonthPickerMonthList.types';
|
|
3
|
+
declare const PrivateMonthPickerMonthList: React.FC<Props>;
|
|
4
|
+
export default PrivateMonthPickerMonthList;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PrivateMonthPickerBaseValue, PrivateMonthPickerProps, PrivateMonthPickerValue } from '../PrivateMonthPicker.types';
|
|
2
|
-
export interface PrivateMonthPickerMonthListProps extends Pick<PrivateMonthPickerProps, 'value' | 'disablePast' | 'disableFuture' | 'selectFromValue' | 'selectToValue'> {
|
|
3
|
-
defaultValue?: PrivateMonthPickerValue;
|
|
4
|
-
minAvailableValue: PrivateMonthPickerBaseValue;
|
|
5
|
-
maxAvailableValue: PrivateMonthPickerBaseValue;
|
|
6
|
-
onChange(value: PrivateMonthPickerBaseValue): void;
|
|
7
|
-
}
|
|
8
|
-
export declare const PrivateMonthPickerMonthListDefaultProps: {};
|
|
1
|
+
import { PrivateMonthPickerBaseValue, PrivateMonthPickerProps, PrivateMonthPickerValue } from '../PrivateMonthPicker.types';
|
|
2
|
+
export interface PrivateMonthPickerMonthListProps extends Pick<PrivateMonthPickerProps, 'value' | 'disablePast' | 'disableFuture' | 'selectFromValue' | 'selectToValue'> {
|
|
3
|
+
defaultValue?: PrivateMonthPickerValue;
|
|
4
|
+
minAvailableValue: PrivateMonthPickerBaseValue;
|
|
5
|
+
maxAvailableValue: PrivateMonthPickerBaseValue;
|
|
6
|
+
onChange(value: PrivateMonthPickerBaseValue): void;
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateMonthPickerMonthList from './PrivateMonthPickerMonthList';
|
|
2
|
-
export default PrivateMonthPickerMonthList;
|
|
3
|
-
export { PrivateMonthPickerMonthList };
|
|
4
|
-
export * from './PrivateMonthPickerMonthList.types';
|
|
1
|
+
import PrivateMonthPickerMonthList from './PrivateMonthPickerMonthList';
|
|
2
|
+
export default PrivateMonthPickerMonthList;
|
|
3
|
+
export { PrivateMonthPickerMonthList };
|
|
4
|
+
export * from './PrivateMonthPickerMonthList.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateMonthPicker from './PrivateMonthPicker';
|
|
2
|
-
export default PrivateMonthPicker;
|
|
3
|
-
export { PrivateMonthPicker };
|
|
4
|
-
export * from './PrivateMonthPicker.types';
|
|
1
|
+
import PrivateMonthPicker from './PrivateMonthPicker';
|
|
2
|
+
export default PrivateMonthPicker;
|
|
3
|
+
export { PrivateMonthPicker };
|
|
4
|
+
export * from './PrivateMonthPicker.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateMonthRangePickerProps as Props } from './PrivateMonthRangePicker.types';
|
|
3
|
-
declare const PrivateMonthRangePicker: React.FC<Props>;
|
|
4
|
-
export default PrivateMonthRangePicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateMonthRangePickerProps as Props } from './PrivateMonthRangePicker.types';
|
|
3
|
+
declare const PrivateMonthRangePicker: React.FC<Props>;
|
|
4
|
+
export default PrivateMonthRangePicker;
|
|
@@ -1,16 +1,15 @@
|
|
|
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'>>;
|
|
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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateMonthRangePicker from './PrivateMonthRangePicker';
|
|
2
|
-
export default PrivateMonthRangePicker;
|
|
3
|
-
export { PrivateMonthRangePicker };
|
|
4
|
-
export * from './PrivateMonthRangePicker.types';
|
|
1
|
+
import PrivateMonthRangePicker from './PrivateMonthRangePicker';
|
|
2
|
+
export default PrivateMonthRangePicker;
|
|
3
|
+
export { PrivateMonthRangePicker };
|
|
4
|
+
export * from './PrivateMonthRangePicker.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateMonthSelectProps as Props } from './PrivateMonthSelect.types';
|
|
3
|
-
import './PrivateMonthSelect.scss';
|
|
4
|
-
declare const PrivateMonthSelect: React.FC<Props>;
|
|
5
|
-
export default PrivateMonthSelect;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateMonthSelectProps as Props } from './PrivateMonthSelect.types';
|
|
3
|
+
import './PrivateMonthSelect.scss';
|
|
4
|
+
declare const PrivateMonthSelect: React.FC<Props>;
|
|
5
|
+
export default PrivateMonthSelect;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { FormAvailableDate } from '../@types';
|
|
2
|
-
export interface PrivateMonthSelectProps {
|
|
3
|
-
year: number;
|
|
4
|
-
selectYear: number | null;
|
|
5
|
-
selectMonth: number | null;
|
|
6
|
-
activeMonth: number;
|
|
7
|
-
availableDate: FormAvailableDate;
|
|
8
|
-
onSelect(month: number): void;
|
|
9
|
-
}
|
|
10
|
-
export declare const PrivateMonthSelectDefaultProps: {};
|
|
1
|
+
import { FormAvailableDate } from '../@types';
|
|
2
|
+
export interface PrivateMonthSelectProps {
|
|
3
|
+
year: number;
|
|
4
|
+
selectYear: number | null;
|
|
5
|
+
selectMonth: number | null;
|
|
6
|
+
activeMonth: number;
|
|
7
|
+
availableDate: FormAvailableDate;
|
|
8
|
+
onSelect(month: number): void;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateMonthSelect from './PrivateMonthSelect';
|
|
2
|
-
export default PrivateMonthSelect;
|
|
3
|
-
export { PrivateMonthSelect };
|
|
4
|
-
export * from './PrivateMonthSelect.types';
|
|
1
|
+
import PrivateMonthSelect from './PrivateMonthSelect';
|
|
2
|
+
export default PrivateMonthSelect;
|
|
3
|
+
export { PrivateMonthSelect };
|
|
4
|
+
export * from './PrivateMonthSelect.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateStaticDatePickerProps as Props, PrivateStaticDatePickerCommands } from './PrivateStaticDatePicker.types';
|
|
3
|
-
import './PrivateStaticDatePicker.scss';
|
|
4
|
-
declare const PrivateStaticDatePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateStaticDatePickerCommands>>;
|
|
5
|
-
export default PrivateStaticDatePicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateStaticDatePickerProps as Props, PrivateStaticDatePickerCommands } from './PrivateStaticDatePicker.types';
|
|
3
|
+
import './PrivateStaticDatePicker.scss';
|
|
4
|
+
declare const PrivateStaticDatePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateStaticDatePickerCommands>>;
|
|
5
|
+
export default PrivateStaticDatePicker;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { StaticDatePickerProps } from '@mui/x-date-pickers';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import { FormAvailableDate } from '../@types';
|
|
4
|
-
import { FormDateType, FormTimeType } from '../../@types';
|
|
5
|
-
export type PrivateStaticDatePickerUnit = 'date' | 'action_date' | 'hour' | 'minute' | 'second';
|
|
6
|
-
export interface PrivateStaticDatePickerProps extends Omit<StaticDatePickerProps<Dayjs>, 'displayStaticWrapperAs' | 'renderInput' | 'onChange'> {
|
|
7
|
-
type: FormDateType;
|
|
8
|
-
time?: FormTimeType;
|
|
9
|
-
availableDate?: FormAvailableDate;
|
|
10
|
-
hours?: number[];
|
|
11
|
-
minutes?: number[];
|
|
12
|
-
seconds?: number[];
|
|
13
|
-
minuteInterval?: number;
|
|
14
|
-
secondInterval?: number;
|
|
15
|
-
onChange(unit: PrivateStaticDatePickerUnit, newValue: Dayjs | null): void;
|
|
16
|
-
onClose?(): void;
|
|
17
|
-
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
import { StaticDatePickerProps } from '@mui/x-date-pickers';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { FormAvailableDate } from '../@types';
|
|
4
|
+
import { FormDateType, FormTimeType } from '../../@types';
|
|
5
|
+
export type PrivateStaticDatePickerUnit = 'date' | 'action_date' | 'hour' | 'minute' | 'second';
|
|
6
|
+
export interface PrivateStaticDatePickerProps extends Omit<StaticDatePickerProps<Dayjs>, 'displayStaticWrapperAs' | 'renderInput' | 'onChange'> {
|
|
7
|
+
type: FormDateType;
|
|
8
|
+
time?: FormTimeType;
|
|
9
|
+
availableDate?: FormAvailableDate;
|
|
10
|
+
hours?: number[];
|
|
11
|
+
minutes?: number[];
|
|
12
|
+
seconds?: number[];
|
|
13
|
+
minuteInterval?: number;
|
|
14
|
+
secondInterval?: number;
|
|
15
|
+
onChange(unit: PrivateStaticDatePickerUnit, newValue: Dayjs | null): void;
|
|
16
|
+
onClose?(): void;
|
|
17
|
+
}
|
|
18
|
+
export interface PrivateStaticDatePickerCommands {
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PrivateStaticDatePicker from './PrivateStaticDatePicker';
|
|
2
|
-
export default PrivateStaticDatePicker;
|
|
3
|
-
export { PrivateStaticDatePicker };
|
|
4
|
-
export * from './PrivateStaticDatePicker.types';
|
|
1
|
+
import PrivateStaticDatePicker from './PrivateStaticDatePicker';
|
|
2
|
+
export default PrivateStaticDatePicker;
|
|
3
|
+
export { PrivateStaticDatePicker };
|
|
4
|
+
export * from './PrivateStaticDatePicker.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PrivateStaticDateTimePickerProps as Props, PrivateStaticDateTimePickerCommands } from './PrivateStaticDateTimePicker.types';
|
|
3
|
-
import './PrivateStaticDateTimePicker.scss';
|
|
4
|
-
declare const PrivateStaticDateTimePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateStaticDateTimePickerCommands>>;
|
|
5
|
-
export default PrivateStaticDateTimePicker;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateStaticDateTimePickerProps as Props, PrivateStaticDateTimePickerCommands } from './PrivateStaticDateTimePicker.types';
|
|
3
|
+
import './PrivateStaticDateTimePicker.scss';
|
|
4
|
+
declare const PrivateStaticDateTimePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<PrivateStaticDateTimePickerCommands>>;
|
|
5
|
+
export default PrivateStaticDateTimePicker;
|