@progress/kendo-vue-dateinputs 5.3.0-dev.202409130647 → 5.3.0-develop.1
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/README.md +28 -43
- package/calendar/components/Calendar.js +8 -0
- package/calendar/components/Calendar.mjs +390 -0
- package/calendar/components/CalendarCell.js +8 -0
- package/calendar/components/CalendarCell.mjs +121 -0
- package/calendar/components/CalendarHeaderTitle.js +8 -0
- package/calendar/components/CalendarHeaderTitle.mjs +50 -0
- package/calendar/components/CalendarWeekCell.js +8 -0
- package/calendar/components/CalendarWeekCell.mjs +41 -0
- package/calendar/components/Header.js +8 -0
- package/calendar/components/Header.mjs +221 -0
- package/calendar/components/View.js +8 -0
- package/calendar/components/View.mjs +260 -0
- package/calendar/components/ViewList.js +8 -0
- package/calendar/components/ViewList.mjs +249 -0
- package/calendar/models/CalendarViewEnum.js +8 -0
- package/calendar/models/CalendarViewEnum.mjs +11 -0
- package/calendar/models/NavigationAction.js +8 -0
- package/calendar/models/NavigationAction.mjs +11 -0
- package/calendar/models/SelectionRange.js +8 -0
- package/calendar/models/SelectionRange.mjs +11 -0
- package/calendar/services/BusViewService.js +8 -0
- package/calendar/services/BusViewService.mjs +58 -0
- package/calendar/services/CenturyViewService.js +8 -0
- package/calendar/services/CenturyViewService.mjs +128 -0
- package/calendar/services/DOMService.js +11 -0
- package/calendar/services/DOMService.mjs +113 -0
- package/calendar/services/DecadeViewService.js +8 -0
- package/calendar/services/DecadeViewService.mjs +128 -0
- package/calendar/services/MonthViewService.js +8 -0
- package/calendar/services/MonthViewService.mjs +139 -0
- package/calendar/services/NavigationService.js +8 -0
- package/calendar/services/NavigationService.mjs +37 -0
- package/calendar/services/WeekNamesService.js +8 -0
- package/calendar/services/WeekNamesService.mjs +24 -0
- package/calendar/services/YearViewService.js +8 -0
- package/calendar/services/YearViewService.mjs +136 -0
- package/calendar/utils/main.js +8 -0
- package/calendar/utils/main.mjs +20 -0
- package/common/PickerWrap.js +8 -0
- package/common/PickerWrap.mjs +24 -0
- package/dateinput/DateInput.js +8 -0
- package/dateinput/DateInput.mjs +477 -0
- package/dateinput/models/kendo-date.js +8 -0
- package/dateinput/models/kendo-date.mjs +232 -0
- package/dateinput/models/mask.js +8 -0
- package/dateinput/models/mask.mjs +15 -0
- package/dateinput/utils.js +8 -0
- package/dateinput/utils.mjs +36 -0
- package/datepicker/DatePicker.js +8 -0
- package/datepicker/DatePicker.mjs +451 -0
- package/datepicker/ToggleButton.js +8 -0
- package/datepicker/ToggleButton.mjs +12 -0
- package/daterangepicker/DateRangePicker.js +8 -0
- package/daterangepicker/DateRangePicker.mjs +464 -0
- package/datetimepicker/DateTimePicker.js +8 -0
- package/datetimepicker/DateTimePicker.mjs +484 -0
- package/datetimepicker/DateTimeSelector.js +8 -0
- package/datetimepicker/DateTimeSelector.mjs +313 -0
- package/defaults.js +8 -0
- package/defaults.mjs +15 -0
- package/dist/cdn/js/kendo-vue-dateinputs.js +8 -1
- package/index.d.mts +3419 -0
- package/index.d.ts +3419 -0
- package/index.js +8 -0
- package/index.mjs +33 -0
- package/messages/main.js +8 -0
- package/messages/main.mjs +54 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +18 -0
- package/package.json +25 -55
- package/timepicker/TimeList.js +8 -0
- package/timepicker/TimeList.mjs +235 -0
- package/timepicker/TimePart.js +8 -0
- package/timepicker/TimePart.mjs +266 -0
- package/timepicker/TimePicker.js +8 -0
- package/timepicker/TimePicker.mjs +481 -0
- package/timepicker/TimeSelector.js +8 -0
- package/timepicker/TimeSelector.mjs +230 -0
- package/timepicker/models/TimePart.js +8 -0
- package/timepicker/models/TimePart.mjs +17 -0
- package/timepicker/services/DOMService.js +8 -0
- package/timepicker/services/DOMService.mjs +30 -0
- package/timepicker/services/DayPeriodService.js +8 -0
- package/timepicker/services/DayPeriodService.mjs +88 -0
- package/timepicker/services/HoursService.js +8 -0
- package/timepicker/services/HoursService.mjs +89 -0
- package/timepicker/services/MinutesService.js +8 -0
- package/timepicker/services/MinutesService.mjs +88 -0
- package/timepicker/services/SecondsService.js +8 -0
- package/timepicker/services/SecondsService.mjs +88 -0
- package/timepicker/utils.js +8 -0
- package/timepicker/utils.mjs +91 -0
- package/utils.js +8 -0
- package/utils.mjs +46 -0
- package/virtualization/Virtualization.js +8 -0
- package/virtualization/Virtualization.mjs +232 -0
- package/virtualization/services/RowHeightService.js +8 -0
- package/virtualization/services/RowHeightService.mjs +49 -0
- package/virtualization/services/ScrollerService.js +8 -0
- package/virtualization/services/ScrollerService.mjs +51 -0
- package/dist/es/PopupSettings.d.ts +0 -14
- package/dist/es/PopupSettings.js +0 -1
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/calendar/components/Calendar.d.ts +0 -24
- package/dist/es/calendar/components/Calendar.js +0 -565
- package/dist/es/calendar/components/CalendarCell.d.ts +0 -36
- package/dist/es/calendar/components/CalendarCell.js +0 -159
- package/dist/es/calendar/components/CalendarHeaderTitle.d.ts +0 -33
- package/dist/es/calendar/components/CalendarHeaderTitle.js +0 -75
- package/dist/es/calendar/components/CalendarWeekCell.d.ts +0 -27
- package/dist/es/calendar/components/CalendarWeekCell.js +0 -56
- package/dist/es/calendar/components/Header.d.ts +0 -73
- package/dist/es/calendar/components/Header.js +0 -297
- package/dist/es/calendar/components/View.d.ts +0 -110
- package/dist/es/calendar/components/View.js +0 -334
- package/dist/es/calendar/components/ViewList.d.ts +0 -116
- package/dist/es/calendar/components/ViewList.js +0 -336
- package/dist/es/calendar/components/interfaces/CalendarComputed.d.ts +0 -10
- package/dist/es/calendar/components/interfaces/CalendarComputed.js +0 -1
- package/dist/es/calendar/components/interfaces/CalendarData.d.ts +0 -10
- package/dist/es/calendar/components/interfaces/CalendarData.js +0 -1
- package/dist/es/calendar/components/interfaces/CalendarEventArguments.d.ts +0 -56
- package/dist/es/calendar/components/interfaces/CalendarEventArguments.js +0 -1
- package/dist/es/calendar/components/interfaces/CalendarMethods.d.ts +0 -33
- package/dist/es/calendar/components/interfaces/CalendarMethods.js +0 -1
- package/dist/es/calendar/components/interfaces/CalendarProps.d.ts +0 -55
- package/dist/es/calendar/components/interfaces/CalendarProps.js +0 -2
- package/dist/es/calendar/components/interfaces/CalendarState.d.ts +0 -26
- package/dist/es/calendar/components/interfaces/CalendarState.js +0 -1
- package/dist/es/calendar/models/ActiveView.d.ts +0 -4
- package/dist/es/calendar/models/ActiveView.js +0 -1
- package/dist/es/calendar/models/CalendarMode.d.ts +0 -9
- package/dist/es/calendar/models/CalendarMode.js +0 -1
- package/dist/es/calendar/models/CalendarSettings.d.ts +0 -82
- package/dist/es/calendar/models/CalendarSettings.js +0 -1
- package/dist/es/calendar/models/CalendarViewEnum.d.ts +0 -9
- package/dist/es/calendar/models/CalendarViewEnum.js +0 -10
- package/dist/es/calendar/models/CellContext.d.ts +0 -19
- package/dist/es/calendar/models/CellContext.js +0 -1
- package/dist/es/calendar/models/NavigationAction.d.ts +0 -15
- package/dist/es/calendar/models/NavigationAction.js +0 -16
- package/dist/es/calendar/models/SelectionRange.d.ts +0 -17
- package/dist/es/calendar/models/SelectionRange.js +0 -4
- package/dist/es/calendar/models/SelectionRangeEnd.d.ts +0 -4
- package/dist/es/calendar/models/SelectionRangeEnd.js +0 -1
- package/dist/es/calendar/models/ViewService.d.ts +0 -25
- package/dist/es/calendar/models/ViewService.js +0 -1
- package/dist/es/calendar/models/main.d.ts +0 -10
- package/dist/es/calendar/models/main.js +0 -4
- package/dist/es/calendar/services/BusViewService.d.ts +0 -21
- package/dist/es/calendar/services/BusViewService.js +0 -69
- package/dist/es/calendar/services/CenturyViewService.d.ts +0 -25
- package/dist/es/calendar/services/CenturyViewService.js +0 -158
- package/dist/es/calendar/services/DOMService.d.ts +0 -29
- package/dist/es/calendar/services/DOMService.js +0 -166
- package/dist/es/calendar/services/DecadeViewService.d.ts +0 -27
- package/dist/es/calendar/services/DecadeViewService.js +0 -157
- package/dist/es/calendar/services/MonthViewService.d.ts +0 -33
- package/dist/es/calendar/services/MonthViewService.js +0 -169
- package/dist/es/calendar/services/NavigationService.d.ts +0 -13
- package/dist/es/calendar/services/NavigationService.js +0 -43
- package/dist/es/calendar/services/WeekNamesService.d.ts +0 -9
- package/dist/es/calendar/services/WeekNamesService.js +0 -16
- package/dist/es/calendar/services/YearViewService.d.ts +0 -31
- package/dist/es/calendar/services/YearViewService.js +0 -165
- package/dist/es/calendar/services/main.d.ts +0 -9
- package/dist/es/calendar/services/main.js +0 -9
- package/dist/es/calendar/utils/main.d.ts +0 -26
- package/dist/es/calendar/utils/main.js +0 -57
- package/dist/es/common/PickerWrap.d.ts +0 -21
- package/dist/es/common/PickerWrap.js +0 -38
- package/dist/es/dateinput/DateInput.d.ts +0 -24
- package/dist/es/dateinput/DateInput.js +0 -687
- package/dist/es/dateinput/interfaces/DateInputComputed.d.ts +0 -8
- package/dist/es/dateinput/interfaces/DateInputComputed.js +0 -1
- package/dist/es/dateinput/interfaces/DateInputData.d.ts +0 -11
- package/dist/es/dateinput/interfaces/DateInputData.js +0 -1
- package/dist/es/dateinput/interfaces/DateInputEventArguments.d.ts +0 -10
- package/dist/es/dateinput/interfaces/DateInputEventArguments.js +0 -1
- package/dist/es/dateinput/interfaces/DateInputMethods.d.ts +0 -30
- package/dist/es/dateinput/interfaces/DateInputMethods.js +0 -1
- package/dist/es/dateinput/interfaces/DateInputProps.d.ts +0 -31
- package/dist/es/dateinput/interfaces/DateInputProps.js +0 -3
- package/dist/es/dateinput/interfaces/DateInputState.d.ts +0 -10
- package/dist/es/dateinput/interfaces/DateInputState.js +0 -1
- package/dist/es/dateinput/models/DateInputSettings.d.ts +0 -148
- package/dist/es/dateinput/models/DateInputSettings.js +0 -2
- package/dist/es/dateinput/models/format-placeholder.d.ts +0 -39
- package/dist/es/dateinput/models/format-placeholder.js +0 -2
- package/dist/es/dateinput/models/incremental-steps.d.ts +0 -11
- package/dist/es/dateinput/models/incremental-steps.js +0 -1
- package/dist/es/dateinput/models/kendo-date.d.ts +0 -53
- package/dist/es/dateinput/models/kendo-date.js +0 -338
- package/dist/es/dateinput/models/main.d.ts +0 -7
- package/dist/es/dateinput/models/main.js +0 -3
- package/dist/es/dateinput/models/mask.d.ts +0 -7
- package/dist/es/dateinput/models/mask.js +0 -10
- package/dist/es/dateinput/models/selection.d.ts +0 -7
- package/dist/es/dateinput/models/selection.js +0 -1
- package/dist/es/dateinput/utils.d.ts +0 -30
- package/dist/es/dateinput/utils.js +0 -83
- package/dist/es/datepicker/DatePicker.d.ts +0 -24
- package/dist/es/datepicker/DatePicker.js +0 -648
- package/dist/es/datepicker/ToggleButton.d.ts +0 -11
- package/dist/es/datepicker/ToggleButton.js +0 -10
- package/dist/es/datepicker/interfaces/DatePickerComputed.d.ts +0 -8
- package/dist/es/datepicker/interfaces/DatePickerComputed.js +0 -1
- package/dist/es/datepicker/interfaces/DatePickerData.d.ts +0 -8
- package/dist/es/datepicker/interfaces/DatePickerData.js +0 -1
- package/dist/es/datepicker/interfaces/DatePickerEventArguments.d.ts +0 -22
- package/dist/es/datepicker/interfaces/DatePickerEventArguments.js +0 -1
- package/dist/es/datepicker/interfaces/DatePickerMethods.d.ts +0 -27
- package/dist/es/datepicker/interfaces/DatePickerMethods.js +0 -1
- package/dist/es/datepicker/interfaces/DatePickerProps.d.ts +0 -46
- package/dist/es/datepicker/interfaces/DatePickerProps.js +0 -3
- package/dist/es/datepicker/interfaces/DatePickerState.d.ts +0 -17
- package/dist/es/datepicker/interfaces/DatePickerState.js +0 -1
- package/dist/es/datepicker/models/DatePickerSettings.d.ts +0 -145
- package/dist/es/datepicker/models/DatePickerSettings.js +0 -2
- package/dist/es/datepicker/models/main.d.ts +0 -2
- package/dist/es/datepicker/models/main.js +0 -1
- package/dist/es/daterangepicker/DateRangePicker.d.ts +0 -124
- package/dist/es/daterangepicker/DateRangePicker.js +0 -623
- package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +0 -6
- package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +0 -1
- package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +0 -6
- package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +0 -1
- package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.d.ts +0 -6
- package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +0 -1
- package/dist/es/daterangepicker/models/DateRangePickerSettings.d.ts +0 -150
- package/dist/es/daterangepicker/models/DateRangePickerSettings.js +0 -2
- package/dist/es/daterangepicker/models/main.d.ts +0 -5
- package/dist/es/daterangepicker/models/main.js +0 -1
- package/dist/es/datetimepicker/DateTimePicker.d.ts +0 -124
- package/dist/es/datetimepicker/DateTimePicker.js +0 -671
- package/dist/es/datetimepicker/DateTimeSelector.d.ts +0 -109
- package/dist/es/datetimepicker/DateTimeSelector.js +0 -476
- package/dist/es/datetimepicker/models/DateTimePickerSettings.d.ts +0 -187
- package/dist/es/datetimepicker/models/DateTimePickerSettings.js +0 -1
- package/dist/es/datetimepicker/models/main.d.ts +0 -2
- package/dist/es/datetimepicker/models/main.js +0 -1
- package/dist/es/defaults.d.ts +0 -20
- package/dist/es/defaults.js +0 -20
- package/dist/es/main.d.ts +0 -24
- package/dist/es/main.js +0 -13
- package/dist/es/messages/main.d.ts +0 -110
- package/dist/es/messages/main.js +0 -111
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/timepicker/TimeList.d.ts +0 -87
- package/dist/es/timepicker/TimeList.js +0 -326
- package/dist/es/timepicker/TimePart.d.ts +0 -99
- package/dist/es/timepicker/TimePart.js +0 -349
- package/dist/es/timepicker/TimePicker.d.ts +0 -130
- package/dist/es/timepicker/TimePicker.js +0 -679
- package/dist/es/timepicker/TimeSelector.d.ts +0 -96
- package/dist/es/timepicker/TimeSelector.js +0 -311
- package/dist/es/timepicker/models/IncrementalSteps.d.ts +0 -8
- package/dist/es/timepicker/models/IncrementalSteps.js +0 -1
- package/dist/es/timepicker/models/ListItem.d.ts +0 -7
- package/dist/es/timepicker/models/ListItem.js +0 -1
- package/dist/es/timepicker/models/ListService.d.ts +0 -15
- package/dist/es/timepicker/models/ListService.js +0 -1
- package/dist/es/timepicker/models/ListServiceSettings.d.ts +0 -12
- package/dist/es/timepicker/models/ListServiceSettings.js +0 -1
- package/dist/es/timepicker/models/TimePart.d.ts +0 -10
- package/dist/es/timepicker/models/TimePart.js +0 -10
- package/dist/es/timepicker/models/TimePickerSettings.d.ts +0 -168
- package/dist/es/timepicker/models/TimePickerSettings.js +0 -2
- package/dist/es/timepicker/models/main.d.ts +0 -7
- package/dist/es/timepicker/models/main.js +0 -2
- package/dist/es/timepicker/services/DOMService.d.ts +0 -10
- package/dist/es/timepicker/services/DOMService.js +0 -40
- package/dist/es/timepicker/services/DayPeriodService.d.ts +0 -47
- package/dist/es/timepicker/services/DayPeriodService.js +0 -113
- package/dist/es/timepicker/services/HoursService.d.ts +0 -33
- package/dist/es/timepicker/services/HoursService.js +0 -115
- package/dist/es/timepicker/services/MinutesService.d.ts +0 -32
- package/dist/es/timepicker/services/MinutesService.js +0 -113
- package/dist/es/timepicker/services/SecondsService.d.ts +0 -32
- package/dist/es/timepicker/services/SecondsService.js +0 -114
- package/dist/es/timepicker/services/main.d.ts +0 -6
- package/dist/es/timepicker/services/main.js +0 -6
- package/dist/es/timepicker/utils.d.ts +0 -56
- package/dist/es/timepicker/utils.js +0 -149
- package/dist/es/utils.d.ts +0 -70
- package/dist/es/utils.js +0 -131
- package/dist/es/virtualization/Virtualization.d.ts +0 -114
- package/dist/es/virtualization/Virtualization.js +0 -335
- package/dist/es/virtualization/services/RowHeightService.d.ts +0 -18
- package/dist/es/virtualization/services/RowHeightService.js +0 -68
- package/dist/es/virtualization/services/ScrollerService.d.ts +0 -49
- package/dist/es/virtualization/services/ScrollerService.js +0 -84
- package/dist/es/virtualization/services/main.d.ts +0 -3
- package/dist/es/virtualization/services/main.js +0 -3
- package/dist/esm/PopupSettings.d.ts +0 -14
- package/dist/esm/PopupSettings.js +0 -1
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/calendar/components/Calendar.d.ts +0 -24
- package/dist/esm/calendar/components/Calendar.js +0 -565
- package/dist/esm/calendar/components/CalendarCell.d.ts +0 -36
- package/dist/esm/calendar/components/CalendarCell.js +0 -159
- package/dist/esm/calendar/components/CalendarHeaderTitle.d.ts +0 -33
- package/dist/esm/calendar/components/CalendarHeaderTitle.js +0 -75
- package/dist/esm/calendar/components/CalendarWeekCell.d.ts +0 -27
- package/dist/esm/calendar/components/CalendarWeekCell.js +0 -56
- package/dist/esm/calendar/components/Header.d.ts +0 -73
- package/dist/esm/calendar/components/Header.js +0 -297
- package/dist/esm/calendar/components/View.d.ts +0 -110
- package/dist/esm/calendar/components/View.js +0 -334
- package/dist/esm/calendar/components/ViewList.d.ts +0 -116
- package/dist/esm/calendar/components/ViewList.js +0 -336
- package/dist/esm/calendar/components/interfaces/CalendarComputed.d.ts +0 -10
- package/dist/esm/calendar/components/interfaces/CalendarComputed.js +0 -1
- package/dist/esm/calendar/components/interfaces/CalendarData.d.ts +0 -10
- package/dist/esm/calendar/components/interfaces/CalendarData.js +0 -1
- package/dist/esm/calendar/components/interfaces/CalendarEventArguments.d.ts +0 -56
- package/dist/esm/calendar/components/interfaces/CalendarEventArguments.js +0 -1
- package/dist/esm/calendar/components/interfaces/CalendarMethods.d.ts +0 -33
- package/dist/esm/calendar/components/interfaces/CalendarMethods.js +0 -1
- package/dist/esm/calendar/components/interfaces/CalendarProps.d.ts +0 -55
- package/dist/esm/calendar/components/interfaces/CalendarProps.js +0 -2
- package/dist/esm/calendar/components/interfaces/CalendarState.d.ts +0 -26
- package/dist/esm/calendar/components/interfaces/CalendarState.js +0 -1
- package/dist/esm/calendar/models/ActiveView.d.ts +0 -4
- package/dist/esm/calendar/models/ActiveView.js +0 -1
- package/dist/esm/calendar/models/CalendarMode.d.ts +0 -9
- package/dist/esm/calendar/models/CalendarMode.js +0 -1
- package/dist/esm/calendar/models/CalendarSettings.d.ts +0 -82
- package/dist/esm/calendar/models/CalendarSettings.js +0 -1
- package/dist/esm/calendar/models/CalendarViewEnum.d.ts +0 -9
- package/dist/esm/calendar/models/CalendarViewEnum.js +0 -10
- package/dist/esm/calendar/models/CellContext.d.ts +0 -19
- package/dist/esm/calendar/models/CellContext.js +0 -1
- package/dist/esm/calendar/models/NavigationAction.d.ts +0 -15
- package/dist/esm/calendar/models/NavigationAction.js +0 -16
- package/dist/esm/calendar/models/SelectionRange.d.ts +0 -17
- package/dist/esm/calendar/models/SelectionRange.js +0 -4
- package/dist/esm/calendar/models/SelectionRangeEnd.d.ts +0 -4
- package/dist/esm/calendar/models/SelectionRangeEnd.js +0 -1
- package/dist/esm/calendar/models/ViewService.d.ts +0 -25
- package/dist/esm/calendar/models/ViewService.js +0 -1
- package/dist/esm/calendar/models/main.d.ts +0 -10
- package/dist/esm/calendar/models/main.js +0 -4
- package/dist/esm/calendar/services/BusViewService.d.ts +0 -21
- package/dist/esm/calendar/services/BusViewService.js +0 -69
- package/dist/esm/calendar/services/CenturyViewService.d.ts +0 -25
- package/dist/esm/calendar/services/CenturyViewService.js +0 -158
- package/dist/esm/calendar/services/DOMService.d.ts +0 -29
- package/dist/esm/calendar/services/DOMService.js +0 -166
- package/dist/esm/calendar/services/DecadeViewService.d.ts +0 -27
- package/dist/esm/calendar/services/DecadeViewService.js +0 -157
- package/dist/esm/calendar/services/MonthViewService.d.ts +0 -33
- package/dist/esm/calendar/services/MonthViewService.js +0 -169
- package/dist/esm/calendar/services/NavigationService.d.ts +0 -13
- package/dist/esm/calendar/services/NavigationService.js +0 -43
- package/dist/esm/calendar/services/WeekNamesService.d.ts +0 -9
- package/dist/esm/calendar/services/WeekNamesService.js +0 -16
- package/dist/esm/calendar/services/YearViewService.d.ts +0 -31
- package/dist/esm/calendar/services/YearViewService.js +0 -165
- package/dist/esm/calendar/services/main.d.ts +0 -9
- package/dist/esm/calendar/services/main.js +0 -9
- package/dist/esm/calendar/utils/main.d.ts +0 -26
- package/dist/esm/calendar/utils/main.js +0 -57
- package/dist/esm/common/PickerWrap.d.ts +0 -21
- package/dist/esm/common/PickerWrap.js +0 -38
- package/dist/esm/dateinput/DateInput.d.ts +0 -24
- package/dist/esm/dateinput/DateInput.js +0 -687
- package/dist/esm/dateinput/interfaces/DateInputComputed.d.ts +0 -8
- package/dist/esm/dateinput/interfaces/DateInputComputed.js +0 -1
- package/dist/esm/dateinput/interfaces/DateInputData.d.ts +0 -11
- package/dist/esm/dateinput/interfaces/DateInputData.js +0 -1
- package/dist/esm/dateinput/interfaces/DateInputEventArguments.d.ts +0 -10
- package/dist/esm/dateinput/interfaces/DateInputEventArguments.js +0 -1
- package/dist/esm/dateinput/interfaces/DateInputMethods.d.ts +0 -30
- package/dist/esm/dateinput/interfaces/DateInputMethods.js +0 -1
- package/dist/esm/dateinput/interfaces/DateInputProps.d.ts +0 -31
- package/dist/esm/dateinput/interfaces/DateInputProps.js +0 -3
- package/dist/esm/dateinput/interfaces/DateInputState.d.ts +0 -10
- package/dist/esm/dateinput/interfaces/DateInputState.js +0 -1
- package/dist/esm/dateinput/models/DateInputSettings.d.ts +0 -148
- package/dist/esm/dateinput/models/DateInputSettings.js +0 -2
- package/dist/esm/dateinput/models/format-placeholder.d.ts +0 -39
- package/dist/esm/dateinput/models/format-placeholder.js +0 -2
- package/dist/esm/dateinput/models/incremental-steps.d.ts +0 -11
- package/dist/esm/dateinput/models/incremental-steps.js +0 -1
- package/dist/esm/dateinput/models/kendo-date.d.ts +0 -53
- package/dist/esm/dateinput/models/kendo-date.js +0 -338
- package/dist/esm/dateinput/models/main.d.ts +0 -7
- package/dist/esm/dateinput/models/main.js +0 -3
- package/dist/esm/dateinput/models/mask.d.ts +0 -7
- package/dist/esm/dateinput/models/mask.js +0 -10
- package/dist/esm/dateinput/models/selection.d.ts +0 -7
- package/dist/esm/dateinput/models/selection.js +0 -1
- package/dist/esm/dateinput/utils.d.ts +0 -30
- package/dist/esm/dateinput/utils.js +0 -83
- package/dist/esm/datepicker/DatePicker.d.ts +0 -24
- package/dist/esm/datepicker/DatePicker.js +0 -648
- package/dist/esm/datepicker/ToggleButton.d.ts +0 -11
- package/dist/esm/datepicker/ToggleButton.js +0 -10
- package/dist/esm/datepicker/interfaces/DatePickerComputed.d.ts +0 -8
- package/dist/esm/datepicker/interfaces/DatePickerComputed.js +0 -1
- package/dist/esm/datepicker/interfaces/DatePickerData.d.ts +0 -8
- package/dist/esm/datepicker/interfaces/DatePickerData.js +0 -1
- package/dist/esm/datepicker/interfaces/DatePickerEventArguments.d.ts +0 -22
- package/dist/esm/datepicker/interfaces/DatePickerEventArguments.js +0 -1
- package/dist/esm/datepicker/interfaces/DatePickerMethods.d.ts +0 -27
- package/dist/esm/datepicker/interfaces/DatePickerMethods.js +0 -1
- package/dist/esm/datepicker/interfaces/DatePickerProps.d.ts +0 -46
- package/dist/esm/datepicker/interfaces/DatePickerProps.js +0 -3
- package/dist/esm/datepicker/interfaces/DatePickerState.d.ts +0 -17
- package/dist/esm/datepicker/interfaces/DatePickerState.js +0 -1
- package/dist/esm/datepicker/models/DatePickerSettings.d.ts +0 -145
- package/dist/esm/datepicker/models/DatePickerSettings.js +0 -2
- package/dist/esm/datepicker/models/main.d.ts +0 -2
- package/dist/esm/datepicker/models/main.js +0 -1
- package/dist/esm/daterangepicker/DateRangePicker.d.ts +0 -124
- package/dist/esm/daterangepicker/DateRangePicker.js +0 -623
- package/dist/esm/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +0 -6
- package/dist/esm/daterangepicker/models/DateRangePickerCalendarSettings.js +0 -1
- package/dist/esm/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +0 -6
- package/dist/esm/daterangepicker/models/DateRangePickerDateInputSettings.js +0 -1
- package/dist/esm/daterangepicker/models/DateRangePickerPopupSettings.d.ts +0 -6
- package/dist/esm/daterangepicker/models/DateRangePickerPopupSettings.js +0 -1
- package/dist/esm/daterangepicker/models/DateRangePickerSettings.d.ts +0 -150
- package/dist/esm/daterangepicker/models/DateRangePickerSettings.js +0 -2
- package/dist/esm/daterangepicker/models/main.d.ts +0 -5
- package/dist/esm/daterangepicker/models/main.js +0 -1
- package/dist/esm/datetimepicker/DateTimePicker.d.ts +0 -124
- package/dist/esm/datetimepicker/DateTimePicker.js +0 -671
- package/dist/esm/datetimepicker/DateTimeSelector.d.ts +0 -109
- package/dist/esm/datetimepicker/DateTimeSelector.js +0 -476
- package/dist/esm/datetimepicker/models/DateTimePickerSettings.d.ts +0 -187
- package/dist/esm/datetimepicker/models/DateTimePickerSettings.js +0 -1
- package/dist/esm/datetimepicker/models/main.d.ts +0 -2
- package/dist/esm/datetimepicker/models/main.js +0 -1
- package/dist/esm/defaults.d.ts +0 -20
- package/dist/esm/defaults.js +0 -20
- package/dist/esm/main.d.ts +0 -24
- package/dist/esm/main.js +0 -13
- package/dist/esm/messages/main.d.ts +0 -110
- package/dist/esm/messages/main.js +0 -111
- package/dist/esm/package-metadata.d.ts +0 -5
- package/dist/esm/package-metadata.js +0 -11
- package/dist/esm/package.json +0 -3
- package/dist/esm/timepicker/TimeList.d.ts +0 -87
- package/dist/esm/timepicker/TimeList.js +0 -326
- package/dist/esm/timepicker/TimePart.d.ts +0 -99
- package/dist/esm/timepicker/TimePart.js +0 -349
- package/dist/esm/timepicker/TimePicker.d.ts +0 -130
- package/dist/esm/timepicker/TimePicker.js +0 -679
- package/dist/esm/timepicker/TimeSelector.d.ts +0 -96
- package/dist/esm/timepicker/TimeSelector.js +0 -311
- package/dist/esm/timepicker/models/IncrementalSteps.d.ts +0 -8
- package/dist/esm/timepicker/models/IncrementalSteps.js +0 -1
- package/dist/esm/timepicker/models/ListItem.d.ts +0 -7
- package/dist/esm/timepicker/models/ListItem.js +0 -1
- package/dist/esm/timepicker/models/ListService.d.ts +0 -15
- package/dist/esm/timepicker/models/ListService.js +0 -1
- package/dist/esm/timepicker/models/ListServiceSettings.d.ts +0 -12
- package/dist/esm/timepicker/models/ListServiceSettings.js +0 -1
- package/dist/esm/timepicker/models/TimePart.d.ts +0 -10
- package/dist/esm/timepicker/models/TimePart.js +0 -10
- package/dist/esm/timepicker/models/TimePickerSettings.d.ts +0 -168
- package/dist/esm/timepicker/models/TimePickerSettings.js +0 -2
- package/dist/esm/timepicker/models/main.d.ts +0 -7
- package/dist/esm/timepicker/models/main.js +0 -2
- package/dist/esm/timepicker/services/DOMService.d.ts +0 -10
- package/dist/esm/timepicker/services/DOMService.js +0 -40
- package/dist/esm/timepicker/services/DayPeriodService.d.ts +0 -47
- package/dist/esm/timepicker/services/DayPeriodService.js +0 -113
- package/dist/esm/timepicker/services/HoursService.d.ts +0 -33
- package/dist/esm/timepicker/services/HoursService.js +0 -115
- package/dist/esm/timepicker/services/MinutesService.d.ts +0 -32
- package/dist/esm/timepicker/services/MinutesService.js +0 -113
- package/dist/esm/timepicker/services/SecondsService.d.ts +0 -32
- package/dist/esm/timepicker/services/SecondsService.js +0 -114
- package/dist/esm/timepicker/services/main.d.ts +0 -6
- package/dist/esm/timepicker/services/main.js +0 -6
- package/dist/esm/timepicker/utils.d.ts +0 -56
- package/dist/esm/timepicker/utils.js +0 -149
- package/dist/esm/utils.d.ts +0 -70
- package/dist/esm/utils.js +0 -131
- package/dist/esm/virtualization/Virtualization.d.ts +0 -114
- package/dist/esm/virtualization/Virtualization.js +0 -335
- package/dist/esm/virtualization/services/RowHeightService.d.ts +0 -18
- package/dist/esm/virtualization/services/RowHeightService.js +0 -68
- package/dist/esm/virtualization/services/ScrollerService.d.ts +0 -49
- package/dist/esm/virtualization/services/ScrollerService.js +0 -84
- package/dist/esm/virtualization/services/main.d.ts +0 -3
- package/dist/esm/virtualization/services/main.js +0 -3
- package/dist/npm/PopupSettings.d.ts +0 -14
- package/dist/npm/PopupSettings.js +0 -2
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/calendar/components/Calendar.d.ts +0 -24
- package/dist/npm/calendar/components/Calendar.js +0 -571
- package/dist/npm/calendar/components/CalendarCell.d.ts +0 -36
- package/dist/npm/calendar/components/CalendarCell.js +0 -166
- package/dist/npm/calendar/components/CalendarHeaderTitle.d.ts +0 -33
- package/dist/npm/calendar/components/CalendarHeaderTitle.js +0 -82
- package/dist/npm/calendar/components/CalendarWeekCell.d.ts +0 -27
- package/dist/npm/calendar/components/CalendarWeekCell.js +0 -63
- package/dist/npm/calendar/components/Header.d.ts +0 -73
- package/dist/npm/calendar/components/Header.js +0 -304
- package/dist/npm/calendar/components/View.d.ts +0 -110
- package/dist/npm/calendar/components/View.js +0 -341
- package/dist/npm/calendar/components/ViewList.d.ts +0 -116
- package/dist/npm/calendar/components/ViewList.js +0 -343
- package/dist/npm/calendar/components/interfaces/CalendarComputed.d.ts +0 -10
- package/dist/npm/calendar/components/interfaces/CalendarComputed.js +0 -2
- package/dist/npm/calendar/components/interfaces/CalendarData.d.ts +0 -10
- package/dist/npm/calendar/components/interfaces/CalendarData.js +0 -2
- package/dist/npm/calendar/components/interfaces/CalendarEventArguments.d.ts +0 -56
- package/dist/npm/calendar/components/interfaces/CalendarEventArguments.js +0 -2
- package/dist/npm/calendar/components/interfaces/CalendarMethods.d.ts +0 -33
- package/dist/npm/calendar/components/interfaces/CalendarMethods.js +0 -2
- package/dist/npm/calendar/components/interfaces/CalendarProps.d.ts +0 -55
- package/dist/npm/calendar/components/interfaces/CalendarProps.js +0 -3
- package/dist/npm/calendar/components/interfaces/CalendarState.d.ts +0 -26
- package/dist/npm/calendar/components/interfaces/CalendarState.js +0 -2
- package/dist/npm/calendar/models/ActiveView.d.ts +0 -4
- package/dist/npm/calendar/models/ActiveView.js +0 -2
- package/dist/npm/calendar/models/CalendarMode.d.ts +0 -9
- package/dist/npm/calendar/models/CalendarMode.js +0 -2
- package/dist/npm/calendar/models/CalendarSettings.d.ts +0 -82
- package/dist/npm/calendar/models/CalendarSettings.js +0 -2
- package/dist/npm/calendar/models/CalendarViewEnum.d.ts +0 -9
- package/dist/npm/calendar/models/CalendarViewEnum.js +0 -13
- package/dist/npm/calendar/models/CellContext.d.ts +0 -19
- package/dist/npm/calendar/models/CellContext.js +0 -2
- package/dist/npm/calendar/models/NavigationAction.d.ts +0 -15
- package/dist/npm/calendar/models/NavigationAction.js +0 -19
- package/dist/npm/calendar/models/SelectionRange.d.ts +0 -17
- package/dist/npm/calendar/models/SelectionRange.js +0 -7
- package/dist/npm/calendar/models/SelectionRangeEnd.d.ts +0 -4
- package/dist/npm/calendar/models/SelectionRangeEnd.js +0 -2
- package/dist/npm/calendar/models/ViewService.d.ts +0 -25
- package/dist/npm/calendar/models/ViewService.js +0 -2
- package/dist/npm/calendar/models/main.d.ts +0 -10
- package/dist/npm/calendar/models/main.js +0 -9
- package/dist/npm/calendar/services/BusViewService.d.ts +0 -21
- package/dist/npm/calendar/services/BusViewService.js +0 -72
- package/dist/npm/calendar/services/CenturyViewService.d.ts +0 -25
- package/dist/npm/calendar/services/CenturyViewService.js +0 -161
- package/dist/npm/calendar/services/DOMService.d.ts +0 -29
- package/dist/npm/calendar/services/DOMService.js +0 -169
- package/dist/npm/calendar/services/DecadeViewService.d.ts +0 -27
- package/dist/npm/calendar/services/DecadeViewService.js +0 -160
- package/dist/npm/calendar/services/MonthViewService.d.ts +0 -33
- package/dist/npm/calendar/services/MonthViewService.js +0 -172
- package/dist/npm/calendar/services/NavigationService.d.ts +0 -13
- package/dist/npm/calendar/services/NavigationService.js +0 -46
- package/dist/npm/calendar/services/WeekNamesService.d.ts +0 -9
- package/dist/npm/calendar/services/WeekNamesService.js +0 -19
- package/dist/npm/calendar/services/YearViewService.d.ts +0 -31
- package/dist/npm/calendar/services/YearViewService.js +0 -168
- package/dist/npm/calendar/services/main.d.ts +0 -9
- package/dist/npm/calendar/services/main.js +0 -19
- package/dist/npm/calendar/utils/main.d.ts +0 -26
- package/dist/npm/calendar/utils/main.js +0 -65
- package/dist/npm/common/PickerWrap.d.ts +0 -21
- package/dist/npm/common/PickerWrap.js +0 -45
- package/dist/npm/dateinput/DateInput.d.ts +0 -24
- package/dist/npm/dateinput/DateInput.js +0 -694
- package/dist/npm/dateinput/interfaces/DateInputComputed.d.ts +0 -8
- package/dist/npm/dateinput/interfaces/DateInputComputed.js +0 -2
- package/dist/npm/dateinput/interfaces/DateInputData.d.ts +0 -11
- package/dist/npm/dateinput/interfaces/DateInputData.js +0 -2
- package/dist/npm/dateinput/interfaces/DateInputEventArguments.d.ts +0 -10
- package/dist/npm/dateinput/interfaces/DateInputEventArguments.js +0 -2
- package/dist/npm/dateinput/interfaces/DateInputMethods.d.ts +0 -30
- package/dist/npm/dateinput/interfaces/DateInputMethods.js +0 -2
- package/dist/npm/dateinput/interfaces/DateInputProps.d.ts +0 -31
- package/dist/npm/dateinput/interfaces/DateInputProps.js +0 -4
- package/dist/npm/dateinput/interfaces/DateInputState.d.ts +0 -10
- package/dist/npm/dateinput/interfaces/DateInputState.js +0 -2
- package/dist/npm/dateinput/models/DateInputSettings.d.ts +0 -148
- package/dist/npm/dateinput/models/DateInputSettings.js +0 -3
- package/dist/npm/dateinput/models/format-placeholder.d.ts +0 -39
- package/dist/npm/dateinput/models/format-placeholder.js +0 -3
- package/dist/npm/dateinput/models/incremental-steps.d.ts +0 -11
- package/dist/npm/dateinput/models/incremental-steps.js +0 -2
- package/dist/npm/dateinput/models/kendo-date.d.ts +0 -53
- package/dist/npm/dateinput/models/kendo-date.js +0 -341
- package/dist/npm/dateinput/models/main.d.ts +0 -7
- package/dist/npm/dateinput/models/main.js +0 -7
- package/dist/npm/dateinput/models/mask.d.ts +0 -7
- package/dist/npm/dateinput/models/mask.js +0 -13
- package/dist/npm/dateinput/models/selection.d.ts +0 -7
- package/dist/npm/dateinput/models/selection.js +0 -2
- package/dist/npm/dateinput/utils.d.ts +0 -30
- package/dist/npm/dateinput/utils.js +0 -90
- package/dist/npm/datepicker/DatePicker.d.ts +0 -24
- package/dist/npm/datepicker/DatePicker.js +0 -655
- package/dist/npm/datepicker/ToggleButton.d.ts +0 -11
- package/dist/npm/datepicker/ToggleButton.js +0 -17
- package/dist/npm/datepicker/interfaces/DatePickerComputed.d.ts +0 -8
- package/dist/npm/datepicker/interfaces/DatePickerComputed.js +0 -2
- package/dist/npm/datepicker/interfaces/DatePickerData.d.ts +0 -8
- package/dist/npm/datepicker/interfaces/DatePickerData.js +0 -2
- package/dist/npm/datepicker/interfaces/DatePickerEventArguments.d.ts +0 -22
- package/dist/npm/datepicker/interfaces/DatePickerEventArguments.js +0 -2
- package/dist/npm/datepicker/interfaces/DatePickerMethods.d.ts +0 -27
- package/dist/npm/datepicker/interfaces/DatePickerMethods.js +0 -2
- package/dist/npm/datepicker/interfaces/DatePickerProps.d.ts +0 -46
- package/dist/npm/datepicker/interfaces/DatePickerProps.js +0 -4
- package/dist/npm/datepicker/interfaces/DatePickerState.d.ts +0 -17
- package/dist/npm/datepicker/interfaces/DatePickerState.js +0 -2
- package/dist/npm/datepicker/models/DatePickerSettings.d.ts +0 -145
- package/dist/npm/datepicker/models/DatePickerSettings.js +0 -6
- package/dist/npm/datepicker/models/main.d.ts +0 -2
- package/dist/npm/datepicker/models/main.js +0 -2
- package/dist/npm/daterangepicker/DateRangePicker.d.ts +0 -124
- package/dist/npm/daterangepicker/DateRangePicker.js +0 -630
- package/dist/npm/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +0 -6
- package/dist/npm/daterangepicker/models/DateRangePickerCalendarSettings.js +0 -2
- package/dist/npm/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +0 -6
- package/dist/npm/daterangepicker/models/DateRangePickerDateInputSettings.js +0 -2
- package/dist/npm/daterangepicker/models/DateRangePickerPopupSettings.d.ts +0 -6
- package/dist/npm/daterangepicker/models/DateRangePickerPopupSettings.js +0 -2
- package/dist/npm/daterangepicker/models/DateRangePickerSettings.d.ts +0 -150
- package/dist/npm/daterangepicker/models/DateRangePickerSettings.js +0 -3
- package/dist/npm/daterangepicker/models/main.d.ts +0 -5
- package/dist/npm/daterangepicker/models/main.js +0 -2
- package/dist/npm/datetimepicker/DateTimePicker.d.ts +0 -124
- package/dist/npm/datetimepicker/DateTimePicker.js +0 -678
- package/dist/npm/datetimepicker/DateTimeSelector.d.ts +0 -109
- package/dist/npm/datetimepicker/DateTimeSelector.js +0 -483
- package/dist/npm/datetimepicker/models/DateTimePickerSettings.d.ts +0 -187
- package/dist/npm/datetimepicker/models/DateTimePickerSettings.js +0 -2
- package/dist/npm/datetimepicker/models/main.d.ts +0 -2
- package/dist/npm/datetimepicker/models/main.js +0 -2
- package/dist/npm/defaults.d.ts +0 -20
- package/dist/npm/defaults.js +0 -23
- package/dist/npm/main.d.ts +0 -24
- package/dist/npm/main.js +0 -37
- package/dist/npm/messages/main.d.ts +0 -110
- package/dist/npm/messages/main.js +0 -114
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/timepicker/TimeList.d.ts +0 -87
- package/dist/npm/timepicker/TimeList.js +0 -333
- package/dist/npm/timepicker/TimePart.d.ts +0 -99
- package/dist/npm/timepicker/TimePart.js +0 -356
- package/dist/npm/timepicker/TimePicker.d.ts +0 -130
- package/dist/npm/timepicker/TimePicker.js +0 -686
- package/dist/npm/timepicker/TimeSelector.d.ts +0 -96
- package/dist/npm/timepicker/TimeSelector.js +0 -318
- package/dist/npm/timepicker/models/IncrementalSteps.d.ts +0 -8
- package/dist/npm/timepicker/models/IncrementalSteps.js +0 -2
- package/dist/npm/timepicker/models/ListItem.d.ts +0 -7
- package/dist/npm/timepicker/models/ListItem.js +0 -2
- package/dist/npm/timepicker/models/ListService.d.ts +0 -15
- package/dist/npm/timepicker/models/ListService.js +0 -2
- package/dist/npm/timepicker/models/ListServiceSettings.d.ts +0 -12
- package/dist/npm/timepicker/models/ListServiceSettings.js +0 -2
- package/dist/npm/timepicker/models/TimePart.d.ts +0 -10
- package/dist/npm/timepicker/models/TimePart.js +0 -13
- package/dist/npm/timepicker/models/TimePickerSettings.d.ts +0 -168
- package/dist/npm/timepicker/models/TimePickerSettings.js +0 -3
- package/dist/npm/timepicker/models/main.d.ts +0 -7
- package/dist/npm/timepicker/models/main.js +0 -5
- package/dist/npm/timepicker/services/DOMService.d.ts +0 -10
- package/dist/npm/timepicker/services/DOMService.js +0 -43
- package/dist/npm/timepicker/services/DayPeriodService.d.ts +0 -47
- package/dist/npm/timepicker/services/DayPeriodService.js +0 -116
- package/dist/npm/timepicker/services/HoursService.d.ts +0 -33
- package/dist/npm/timepicker/services/HoursService.js +0 -118
- package/dist/npm/timepicker/services/MinutesService.d.ts +0 -32
- package/dist/npm/timepicker/services/MinutesService.js +0 -116
- package/dist/npm/timepicker/services/SecondsService.d.ts +0 -32
- package/dist/npm/timepicker/services/SecondsService.js +0 -117
- package/dist/npm/timepicker/services/main.d.ts +0 -6
- package/dist/npm/timepicker/services/main.js +0 -13
- package/dist/npm/timepicker/utils.d.ts +0 -56
- package/dist/npm/timepicker/utils.js +0 -161
- package/dist/npm/utils.d.ts +0 -70
- package/dist/npm/utils.js +0 -146
- package/dist/npm/virtualization/Virtualization.d.ts +0 -114
- package/dist/npm/virtualization/Virtualization.js +0 -342
- package/dist/npm/virtualization/services/RowHeightService.d.ts +0 -18
- package/dist/npm/virtualization/services/RowHeightService.js +0 -71
- package/dist/npm/virtualization/services/ScrollerService.d.ts +0 -49
- package/dist/npm/virtualization/services/ScrollerService.js +0 -87
- package/dist/npm/virtualization/services/main.d.ts +0 -3
- package/dist/npm/virtualization/services/main.js +0 -9
package/index.d.ts
ADDED
|
@@ -0,0 +1,3419 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
11
|
+
import { DefineComponent } from 'vue';
|
|
12
|
+
import { ExtractPropTypes } from 'vue';
|
|
13
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
14
|
+
import { FormComponentValidity } from '@progress/kendo-vue-common';
|
|
15
|
+
import { IntlService } from '@progress/kendo-vue-intl';
|
|
16
|
+
import { PopupProps } from '@progress/kendo-vue-popup';
|
|
17
|
+
import { PopupSettings } from '@progress/kendo-vue-popup';
|
|
18
|
+
import { PropType } from 'vue';
|
|
19
|
+
import { PublicProps } from 'vue';
|
|
20
|
+
import { Ref } from 'vue';
|
|
21
|
+
import { SVGIcon } from '@progress/kendo-vue-common';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The literal type that defines all possible Calendar views.
|
|
25
|
+
*/
|
|
26
|
+
export declare type ActiveView = 'month' | 'year' | 'decade' | 'century';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare const Calendar: DefineComponent<ExtractPropTypes< {
|
|
32
|
+
activeRangeEnd: {
|
|
33
|
+
type: PropType<SelectionRangeEnd>;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
allowReverse: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
cell: PropType<any>;
|
|
41
|
+
className: PropType<string>;
|
|
42
|
+
defaultActiveView: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: PropType<Date | SelectionRange | Date[]>;
|
|
48
|
+
default: any;
|
|
49
|
+
};
|
|
50
|
+
defaultValue: {
|
|
51
|
+
type: PropType<Date | SelectionRange | Date[]>;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
focusedDate: PropType<Date>;
|
|
59
|
+
id: {
|
|
60
|
+
type: PropType<string>;
|
|
61
|
+
default: () => any;
|
|
62
|
+
};
|
|
63
|
+
headerTitle: PropType<any>;
|
|
64
|
+
max: {
|
|
65
|
+
type: PropType<Date>;
|
|
66
|
+
default: () => Date;
|
|
67
|
+
};
|
|
68
|
+
min: {
|
|
69
|
+
type: PropType<Date>;
|
|
70
|
+
default: () => Date;
|
|
71
|
+
};
|
|
72
|
+
mode: () => CalendarMode;
|
|
73
|
+
navigation: {
|
|
74
|
+
type: PropType<boolean>;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
tabIndex: PropType<number>;
|
|
78
|
+
value: PropType<Date | SelectionRange | Date[]>;
|
|
79
|
+
views: {
|
|
80
|
+
type: PropType<number>;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
weekNumber: PropType<boolean>;
|
|
84
|
+
weekCell: PropType<any>;
|
|
85
|
+
topView: {
|
|
86
|
+
type: PropType<string>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
bottomView: {
|
|
90
|
+
type: PropType<string>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
onFocus: PropType<(event: any) => void>;
|
|
94
|
+
onBlur: PropType<(event: any) => void>;
|
|
95
|
+
onChange: PropType<(event: CalendarChangeEvent) => void>;
|
|
96
|
+
onKeydown: PropType<(event: any) => void>;
|
|
97
|
+
}>, {
|
|
98
|
+
kendoIntlService: {};
|
|
99
|
+
}, {
|
|
100
|
+
valueDuringOnChange: any;
|
|
101
|
+
currentFocusedDate: any;
|
|
102
|
+
currentActiveView: any;
|
|
103
|
+
currentValue: any;
|
|
104
|
+
cellUID: any;
|
|
105
|
+
isActive: boolean;
|
|
106
|
+
oldValue: any;
|
|
107
|
+
didNavigationChange: boolean;
|
|
108
|
+
currentActiveRangeEnd: any;
|
|
109
|
+
}, {
|
|
110
|
+
activeRange(): CalendarComputed['activeRange'];
|
|
111
|
+
currentMin(): CalendarComputed['currentMin'];
|
|
112
|
+
currentMax(): CalendarComputed['currentMax'];
|
|
113
|
+
}, {
|
|
114
|
+
element(): any;
|
|
115
|
+
computedValue(): Date | null;
|
|
116
|
+
focus(): void;
|
|
117
|
+
handleBlur(): void;
|
|
118
|
+
handleFocus(): void;
|
|
119
|
+
emitBlur(event: any): void;
|
|
120
|
+
emitFocus(event: any): void;
|
|
121
|
+
handleTodayClick(event: NavigationEventArguments): void;
|
|
122
|
+
handleViewChange({ view }: {
|
|
123
|
+
view: CalendarViewEnum;
|
|
124
|
+
}): void;
|
|
125
|
+
handlePrevClick(event: ViewListEventArguments): void;
|
|
126
|
+
handleTitleClick(): void;
|
|
127
|
+
handleNextClick(event: ViewListEventArguments): void;
|
|
128
|
+
handleCellEnter(value: Date): void;
|
|
129
|
+
generateRange(candidate: Date, value: SelectionRange): SelectionRange;
|
|
130
|
+
clampRange(value: Date): SelectionRange;
|
|
131
|
+
handleWeekCellClick(event: ViewWeekCellEventArguments): void;
|
|
132
|
+
handleWeekNameClick(event: ViewWeekNameEventArguments): void;
|
|
133
|
+
handleDateChange(event: ViewListEventArguments): void;
|
|
134
|
+
triggerChange(value: Date, event: ViewListEventArguments): void;
|
|
135
|
+
handleMouseDown(event: ViewListEventArguments): void;
|
|
136
|
+
tableKeyDown(event: any): void;
|
|
137
|
+
isValueEqual(newValue: Date | Date[] | SelectionRange | null, oldValue: Date | Date[] | SelectionRange | null): boolean;
|
|
138
|
+
rangeWithFocused(range: SelectionRange, focusedDate: SelectionRange): SelectionRange;
|
|
139
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
140
|
+
activeRangeEnd: {
|
|
141
|
+
type: PropType<SelectionRangeEnd>;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
allowReverse: {
|
|
145
|
+
type: PropType<boolean>;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
cell: PropType<any>;
|
|
149
|
+
className: PropType<string>;
|
|
150
|
+
defaultActiveView: {
|
|
151
|
+
type: PropType<string>;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
modelValue: {
|
|
155
|
+
type: PropType<Date | SelectionRange | Date[]>;
|
|
156
|
+
default: any;
|
|
157
|
+
};
|
|
158
|
+
defaultValue: {
|
|
159
|
+
type: PropType<Date | SelectionRange | Date[]>;
|
|
160
|
+
default: any;
|
|
161
|
+
};
|
|
162
|
+
disabled: {
|
|
163
|
+
type: PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
focusedDate: PropType<Date>;
|
|
167
|
+
id: {
|
|
168
|
+
type: PropType<string>;
|
|
169
|
+
default: () => any;
|
|
170
|
+
};
|
|
171
|
+
headerTitle: PropType<any>;
|
|
172
|
+
max: {
|
|
173
|
+
type: PropType<Date>;
|
|
174
|
+
default: () => Date;
|
|
175
|
+
};
|
|
176
|
+
min: {
|
|
177
|
+
type: PropType<Date>;
|
|
178
|
+
default: () => Date;
|
|
179
|
+
};
|
|
180
|
+
mode: () => CalendarMode;
|
|
181
|
+
navigation: {
|
|
182
|
+
type: PropType<boolean>;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
tabIndex: PropType<number>;
|
|
186
|
+
value: PropType<Date | SelectionRange | Date[]>;
|
|
187
|
+
views: {
|
|
188
|
+
type: PropType<number>;
|
|
189
|
+
default: number;
|
|
190
|
+
};
|
|
191
|
+
weekNumber: PropType<boolean>;
|
|
192
|
+
weekCell: PropType<any>;
|
|
193
|
+
topView: {
|
|
194
|
+
type: PropType<string>;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
bottomView: {
|
|
198
|
+
type: PropType<string>;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
onFocus: PropType<(event: any) => void>;
|
|
202
|
+
onBlur: PropType<(event: any) => void>;
|
|
203
|
+
onChange: PropType<(event: CalendarChangeEvent) => void>;
|
|
204
|
+
onKeydown: PropType<(event: any) => void>;
|
|
205
|
+
}>> & Readonly<{}>, {
|
|
206
|
+
id: string;
|
|
207
|
+
max: Date;
|
|
208
|
+
min: Date;
|
|
209
|
+
activeRangeEnd: SelectionRangeEnd;
|
|
210
|
+
disabled: boolean;
|
|
211
|
+
defaultValue: Date | SelectionRange | Date[];
|
|
212
|
+
allowReverse: boolean;
|
|
213
|
+
views: number;
|
|
214
|
+
modelValue: Date | SelectionRange | Date[];
|
|
215
|
+
defaultActiveView: string;
|
|
216
|
+
navigation: boolean;
|
|
217
|
+
topView: string;
|
|
218
|
+
bottomView: string;
|
|
219
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @hidden
|
|
223
|
+
*/
|
|
224
|
+
export declare const CalendarCell: DefineComponent<ExtractPropTypes< {
|
|
225
|
+
isDisabled: PropType<boolean>;
|
|
226
|
+
view: PropType<number>;
|
|
227
|
+
formattedValue: PropType<string>;
|
|
228
|
+
id: PropType<string>;
|
|
229
|
+
isWeekend: PropType<boolean>;
|
|
230
|
+
isFocused: PropType<boolean>;
|
|
231
|
+
isSelected: PropType<boolean>;
|
|
232
|
+
isInRange: PropType<boolean>;
|
|
233
|
+
isRangeStart: PropType<boolean>;
|
|
234
|
+
isRangeEnd: PropType<boolean>;
|
|
235
|
+
isRangeMid: PropType<boolean>;
|
|
236
|
+
isRangeSplitEnd: PropType<boolean>;
|
|
237
|
+
isRangeSplitStart: PropType<boolean>;
|
|
238
|
+
isToday: PropType<boolean>;
|
|
239
|
+
title: PropType<string>;
|
|
240
|
+
value: PropType<Date>;
|
|
241
|
+
}>, {}, {}, {}, {
|
|
242
|
+
handleClick(event: any): void;
|
|
243
|
+
handleMouseDown(event: any): void;
|
|
244
|
+
handleMouseEnter(): void;
|
|
245
|
+
handleMouseLeave(): void;
|
|
246
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
247
|
+
click: any;
|
|
248
|
+
mousedown: any;
|
|
249
|
+
mouseenter: any;
|
|
250
|
+
mouseleave: any;
|
|
251
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
252
|
+
isDisabled: PropType<boolean>;
|
|
253
|
+
view: PropType<number>;
|
|
254
|
+
formattedValue: PropType<string>;
|
|
255
|
+
id: PropType<string>;
|
|
256
|
+
isWeekend: PropType<boolean>;
|
|
257
|
+
isFocused: PropType<boolean>;
|
|
258
|
+
isSelected: PropType<boolean>;
|
|
259
|
+
isInRange: PropType<boolean>;
|
|
260
|
+
isRangeStart: PropType<boolean>;
|
|
261
|
+
isRangeEnd: PropType<boolean>;
|
|
262
|
+
isRangeMid: PropType<boolean>;
|
|
263
|
+
isRangeSplitEnd: PropType<boolean>;
|
|
264
|
+
isRangeSplitStart: PropType<boolean>;
|
|
265
|
+
isToday: PropType<boolean>;
|
|
266
|
+
title: PropType<string>;
|
|
267
|
+
value: PropType<Date>;
|
|
268
|
+
}>> & Readonly<{
|
|
269
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
270
|
+
onMousedown?: (...args: any[] | unknown[]) => any;
|
|
271
|
+
onMouseenter?: (...args: any[] | unknown[]) => any;
|
|
272
|
+
onMouseleave?: (...args: any[] | unknown[]) => any;
|
|
273
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* The props which will be received by the custom cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-cell).
|
|
277
|
+
*/
|
|
278
|
+
export declare interface CalendarCellProps extends CellContext {
|
|
279
|
+
isDisabled?: boolean;
|
|
280
|
+
view?: number;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* The arguments for the `change` event of the Calendar. The generic argument sets the target type of the event. Defaults to `Calendar`.
|
|
285
|
+
*/
|
|
286
|
+
export declare interface CalendarChangeEvent {
|
|
287
|
+
/**
|
|
288
|
+
* A native DOM event.
|
|
289
|
+
*/
|
|
290
|
+
event?: any;
|
|
291
|
+
/**
|
|
292
|
+
* The new value.
|
|
293
|
+
*/
|
|
294
|
+
value: Date | Date[] | SelectionRange | null;
|
|
295
|
+
/**
|
|
296
|
+
* The Calendar element.
|
|
297
|
+
*/
|
|
298
|
+
component: any;
|
|
299
|
+
/**
|
|
300
|
+
* The target object.
|
|
301
|
+
*/
|
|
302
|
+
target: any;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @hidden
|
|
307
|
+
*/
|
|
308
|
+
declare interface CalendarComputed {
|
|
309
|
+
[key: string]: any;
|
|
310
|
+
activeRange?: SelectionRangeEnd;
|
|
311
|
+
currentMin: Date;
|
|
312
|
+
currentMax: Date;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @hidden
|
|
317
|
+
*/
|
|
318
|
+
export declare const CalendarHeaderTitle: DefineComponent<ExtractPropTypes< {
|
|
319
|
+
id: PropType<string>;
|
|
320
|
+
value: PropType<string>;
|
|
321
|
+
view: PropType<number>;
|
|
322
|
+
}>, {}, {}, {}, {
|
|
323
|
+
handleClick(event: any): void;
|
|
324
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
325
|
+
click: any;
|
|
326
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
327
|
+
id: PropType<string>;
|
|
328
|
+
value: PropType<string>;
|
|
329
|
+
view: PropType<number>;
|
|
330
|
+
}>> & Readonly<{
|
|
331
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
332
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* The props which will be received by the custom header title of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-headertitle).
|
|
336
|
+
*/
|
|
337
|
+
export declare interface CalendarHeaderTitleProps {
|
|
338
|
+
value?: string;
|
|
339
|
+
id?: string;
|
|
340
|
+
view?: number;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Represents the selection modes of the Calendar.
|
|
345
|
+
*
|
|
346
|
+
* The supported modes are:
|
|
347
|
+
* * (Default) `single`—Renders a single-date selection.
|
|
348
|
+
* * `multiple`—Renders a multiple-date selection.
|
|
349
|
+
* * `range`—Renders a date-range selection.
|
|
350
|
+
*/
|
|
351
|
+
declare type CalendarMode = 'single' | 'multiple' | 'range';
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Represents the props of the [Kendo UI for Vue Calendar component]({% slug overview_calendar %}). The generic argument is passed to the `change` property and is used as a target in the [`CalendarChangeEvent`]({% slug api_dateinputs_calendarchangeevent %}) interface.
|
|
355
|
+
*/
|
|
356
|
+
export declare interface CalendarProps extends CalendarSettings {
|
|
357
|
+
/**
|
|
358
|
+
* Specifies which end of the defined selection range will be marked as active.
|
|
359
|
+
*
|
|
360
|
+
* > If the selection range is undefined, the value is ignored.
|
|
361
|
+
*/
|
|
362
|
+
activeRangeEnd?: SelectionRangeEnd;
|
|
363
|
+
/**
|
|
364
|
+
* If set to `true`, the component skips the validation of whether the `from` value is after the `to` value.
|
|
365
|
+
*/
|
|
366
|
+
allowReverse?: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* @hidden
|
|
369
|
+
*/
|
|
370
|
+
modelValue?: Date | Date[] | SelectionRange | null;
|
|
371
|
+
/**
|
|
372
|
+
* Sets the default value of the Calendar.
|
|
373
|
+
*/
|
|
374
|
+
defaultValue?: Date | Date[] | SelectionRange | null;
|
|
375
|
+
/**
|
|
376
|
+
* An event that is called after the value of the Calendar has changed.
|
|
377
|
+
*/
|
|
378
|
+
onChange?: (event: CalendarChangeEvent) => void;
|
|
379
|
+
/**
|
|
380
|
+
* An event called when the week number cell is clicked.
|
|
381
|
+
*/
|
|
382
|
+
onWeekcellclick?: (event: CalendarWeekCellClickEvent) => void;
|
|
383
|
+
/**
|
|
384
|
+
* An event called when the week name cell is clicked.
|
|
385
|
+
*/
|
|
386
|
+
onWeeknameclick?: (event: CalendarWeekNameClickEvent) => void;
|
|
387
|
+
/**
|
|
388
|
+
* Sets the value of the Calendar.
|
|
389
|
+
*/
|
|
390
|
+
value?: Date | Date[] | SelectionRange | null;
|
|
391
|
+
/**
|
|
392
|
+
* Sets the value of the Calendar.
|
|
393
|
+
*/
|
|
394
|
+
views: number;
|
|
395
|
+
/**
|
|
396
|
+
* Sets the selection mode of the Calendar.
|
|
397
|
+
*
|
|
398
|
+
* The available modes are:
|
|
399
|
+
* * (Default) `single`—Renders a single-date selection.
|
|
400
|
+
* * `multiple`—Renders a multiple-date selection.
|
|
401
|
+
* * `range`—Renders a date-range selection.
|
|
402
|
+
*/
|
|
403
|
+
mode?: CalendarMode;
|
|
404
|
+
/**
|
|
405
|
+
* @hidden
|
|
406
|
+
*/
|
|
407
|
+
onKeydown?: (event: any) => void;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @hidden
|
|
412
|
+
*/
|
|
413
|
+
export declare interface CalendarSettings {
|
|
414
|
+
/**
|
|
415
|
+
* Defines the bottommost view to which the user can navigate.
|
|
416
|
+
*/
|
|
417
|
+
bottomView?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Sets the `className` of the Calendar.
|
|
420
|
+
*/
|
|
421
|
+
className?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Sets the default active view of the Calendar.
|
|
424
|
+
* If not set, the Calendar will display the month view.
|
|
425
|
+
*/
|
|
426
|
+
defaultActiveView?: string;
|
|
427
|
+
/**
|
|
428
|
+
* Determines whether the Calendar is disabled.
|
|
429
|
+
*/
|
|
430
|
+
disabled?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* Sets the initial focused date of the Calendar.
|
|
433
|
+
*/
|
|
434
|
+
focusedDate?: Date;
|
|
435
|
+
/**
|
|
436
|
+
* Sets the `id` of the Calendar.
|
|
437
|
+
*/
|
|
438
|
+
id?: string;
|
|
439
|
+
/**
|
|
440
|
+
* Sets the maximum allowed date of the Calendar. Defaults to `2099-12-31`.
|
|
441
|
+
*/
|
|
442
|
+
max?: Date;
|
|
443
|
+
/**
|
|
444
|
+
* Sets the minimum allowed date of the Calendar. Defaults to `1900-1-1`.
|
|
445
|
+
*/
|
|
446
|
+
min?: Date;
|
|
447
|
+
/**
|
|
448
|
+
* Determines if the navigation sidebar will be displayed.
|
|
449
|
+
*/
|
|
450
|
+
navigation?: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* Fires each time the Calendar is blurred.
|
|
453
|
+
*/
|
|
454
|
+
onBlur?: (event: any) => void;
|
|
455
|
+
/**
|
|
456
|
+
* Fires each time the Calendar is focused.
|
|
457
|
+
*/
|
|
458
|
+
onFocus?: (event: any) => void;
|
|
459
|
+
/**
|
|
460
|
+
* Sets the `tabIndex` property of the Calendar.
|
|
461
|
+
*/
|
|
462
|
+
tabIndex?: number;
|
|
463
|
+
/**
|
|
464
|
+
* Defines the topmost view to which the user can navigate.
|
|
465
|
+
*/
|
|
466
|
+
topView?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Determines if the week number column will be displayed.
|
|
469
|
+
*/
|
|
470
|
+
weekNumber?: boolean;
|
|
471
|
+
/**
|
|
472
|
+
* Enables the customization or the override of the default Calendar cell
|
|
473
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-view)).
|
|
474
|
+
*/
|
|
475
|
+
cell?: any;
|
|
476
|
+
/**
|
|
477
|
+
* Enables the customization or the override of the default week-column cell in the Calendar
|
|
478
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-week-column)).
|
|
479
|
+
*/
|
|
480
|
+
weekCell?: any;
|
|
481
|
+
/**
|
|
482
|
+
* Enables the customization or the override of the default header title in the Calendar
|
|
483
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-titles-of-current-views)).
|
|
484
|
+
*/
|
|
485
|
+
headerTitle?: any;
|
|
486
|
+
/**
|
|
487
|
+
* Enables the customization or the override of the default navigation item in the Calendar
|
|
488
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-items-in-the-side-navigation)).
|
|
489
|
+
*/
|
|
490
|
+
navigationItem?: any;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* The Enum which defines all possible Calendar view types.
|
|
495
|
+
*/
|
|
496
|
+
export declare enum CalendarViewEnum {
|
|
497
|
+
month = 0,
|
|
498
|
+
year = 1,
|
|
499
|
+
decade = 2,
|
|
500
|
+
century = 3
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @hidden
|
|
505
|
+
*/
|
|
506
|
+
export declare const CalendarWeekCell: DefineComponent<ExtractPropTypes< {
|
|
507
|
+
id: PropType<string>;
|
|
508
|
+
value: PropType<number>;
|
|
509
|
+
className: PropType<string>;
|
|
510
|
+
}>, {}, {}, {}, {
|
|
511
|
+
handleClick(event: any): void;
|
|
512
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
513
|
+
click: any;
|
|
514
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
515
|
+
id: PropType<string>;
|
|
516
|
+
value: PropType<number>;
|
|
517
|
+
className: PropType<string>;
|
|
518
|
+
}>> & Readonly<{
|
|
519
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
520
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* The arguments for the `weekcellclick` event of the Calendar.
|
|
524
|
+
*/
|
|
525
|
+
export declare interface CalendarWeekCellClickEvent {
|
|
526
|
+
/**
|
|
527
|
+
* A native DOM event.
|
|
528
|
+
*/
|
|
529
|
+
event?: any;
|
|
530
|
+
/**
|
|
531
|
+
* The new value.
|
|
532
|
+
*/
|
|
533
|
+
value: number | null;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* The props which will be received by the custom week cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-weekcell).
|
|
538
|
+
*/
|
|
539
|
+
export declare interface CalendarWeekCellProps {
|
|
540
|
+
id?: string;
|
|
541
|
+
value?: number | null;
|
|
542
|
+
className?: string;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* The arguments for the `weeknameclick` event of the Calendar.
|
|
547
|
+
*/
|
|
548
|
+
declare interface CalendarWeekNameClickEvent {
|
|
549
|
+
/**
|
|
550
|
+
* A native DOM event.
|
|
551
|
+
*/
|
|
552
|
+
event?: any;
|
|
553
|
+
/**
|
|
554
|
+
* The value.
|
|
555
|
+
*/
|
|
556
|
+
value: string | null;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @hidden
|
|
561
|
+
*/
|
|
562
|
+
declare interface CellContext {
|
|
563
|
+
formattedValue: string;
|
|
564
|
+
id: string;
|
|
565
|
+
isWeekend: boolean;
|
|
566
|
+
isFocused: boolean;
|
|
567
|
+
isSelected: boolean;
|
|
568
|
+
isInRange: boolean;
|
|
569
|
+
isRangeStart: boolean;
|
|
570
|
+
isRangeEnd: boolean;
|
|
571
|
+
isRangeMid: boolean;
|
|
572
|
+
isRangeSplitEnd?: boolean;
|
|
573
|
+
isRangeSplitStart?: boolean;
|
|
574
|
+
isToday: boolean;
|
|
575
|
+
title?: string;
|
|
576
|
+
value: Date;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @hidden
|
|
581
|
+
*/
|
|
582
|
+
export declare const DateInput: DefineComponent<ExtractPropTypes< {
|
|
583
|
+
modelValue: PropType<Date>;
|
|
584
|
+
value: PropType<Date>;
|
|
585
|
+
defaultValue: PropType<Date>;
|
|
586
|
+
format: {
|
|
587
|
+
type: PropType<string | DateFormatOptions>;
|
|
588
|
+
default: () => "d";
|
|
589
|
+
};
|
|
590
|
+
formatPlaceholder: {
|
|
591
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
592
|
+
default: () => DateInputFormatPlaceholder;
|
|
593
|
+
};
|
|
594
|
+
rounded: {
|
|
595
|
+
type: PropType<string>;
|
|
596
|
+
default: string;
|
|
597
|
+
validator: (value: string) => any;
|
|
598
|
+
};
|
|
599
|
+
fillMode: {
|
|
600
|
+
type: PropType<string>;
|
|
601
|
+
default: string;
|
|
602
|
+
validator: (value: string) => any;
|
|
603
|
+
};
|
|
604
|
+
size: {
|
|
605
|
+
type: PropType<string>;
|
|
606
|
+
default: string;
|
|
607
|
+
validator: (value: string) => any;
|
|
608
|
+
};
|
|
609
|
+
tabIndex: PropType<number>;
|
|
610
|
+
title: PropType<string>;
|
|
611
|
+
steps: PropType<DateInputIncrementalSteps>;
|
|
612
|
+
placeholder: PropType<string>;
|
|
613
|
+
max: {
|
|
614
|
+
type: PropType<Date>;
|
|
615
|
+
default: () => Date;
|
|
616
|
+
};
|
|
617
|
+
min: {
|
|
618
|
+
type: PropType<Date>;
|
|
619
|
+
default: () => Date;
|
|
620
|
+
};
|
|
621
|
+
maxTime: {
|
|
622
|
+
type: PropType<Date>;
|
|
623
|
+
default: () => Date;
|
|
624
|
+
};
|
|
625
|
+
minTime: {
|
|
626
|
+
type: PropType<Date>;
|
|
627
|
+
default: () => Date;
|
|
628
|
+
};
|
|
629
|
+
disabled: {
|
|
630
|
+
type: PropType<boolean>;
|
|
631
|
+
default: boolean;
|
|
632
|
+
};
|
|
633
|
+
spinners: {
|
|
634
|
+
type: PropType<boolean>;
|
|
635
|
+
default: boolean;
|
|
636
|
+
};
|
|
637
|
+
name: PropType<string>;
|
|
638
|
+
dir: PropType<string>;
|
|
639
|
+
label: PropType<string>;
|
|
640
|
+
id: PropType<string>;
|
|
641
|
+
validationMessage: {
|
|
642
|
+
type: PropType<string>;
|
|
643
|
+
default: string;
|
|
644
|
+
};
|
|
645
|
+
required: {
|
|
646
|
+
type: PropType<boolean>;
|
|
647
|
+
default: boolean;
|
|
648
|
+
};
|
|
649
|
+
validityStyles: {
|
|
650
|
+
type: PropType<boolean>;
|
|
651
|
+
default: boolean;
|
|
652
|
+
};
|
|
653
|
+
validate: PropType<boolean>;
|
|
654
|
+
valid: {
|
|
655
|
+
type: PropType<boolean>;
|
|
656
|
+
default: any;
|
|
657
|
+
};
|
|
658
|
+
ariaRole: {
|
|
659
|
+
type: PropType<string>;
|
|
660
|
+
default: string;
|
|
661
|
+
};
|
|
662
|
+
ariaControls: PropType<string>;
|
|
663
|
+
ariaLabel: PropType<string>;
|
|
664
|
+
ariaExpanded: {
|
|
665
|
+
type: PropType<boolean>;
|
|
666
|
+
default: any;
|
|
667
|
+
};
|
|
668
|
+
ariaHasPopup: {
|
|
669
|
+
type: PropType<String>;
|
|
670
|
+
default: any;
|
|
671
|
+
};
|
|
672
|
+
}>, {
|
|
673
|
+
inputRef: Ref<any, any>;
|
|
674
|
+
kendoIntlService: {};
|
|
675
|
+
kendoLocalizationService: {};
|
|
676
|
+
}, {
|
|
677
|
+
kendoDate: any;
|
|
678
|
+
currentFormat: any;
|
|
679
|
+
valueDuringOnChange: any;
|
|
680
|
+
hasMounted: boolean;
|
|
681
|
+
isEmpty: any;
|
|
682
|
+
lastSelectedSymbol: any;
|
|
683
|
+
isFocused: boolean;
|
|
684
|
+
}, {
|
|
685
|
+
computedValue(): Date | null;
|
|
686
|
+
wrapperClassNames(): object;
|
|
687
|
+
}, {
|
|
688
|
+
selection(): Selection_2;
|
|
689
|
+
element(): HTMLInputElement | null;
|
|
690
|
+
focus(e: any): void;
|
|
691
|
+
handleFocus(e: any): void;
|
|
692
|
+
handleBlur(e: any): void;
|
|
693
|
+
intl(): IntlService;
|
|
694
|
+
setValidity(): void;
|
|
695
|
+
spinnersMouseDown(event: any): void;
|
|
696
|
+
elementChange(event: any): void;
|
|
697
|
+
elementClick(_: any): void;
|
|
698
|
+
wheel(event: any): void;
|
|
699
|
+
increasePart(event: any): void;
|
|
700
|
+
decreasePart(event: any): void;
|
|
701
|
+
elementKeyDown(event: any): void;
|
|
702
|
+
setSelection(selection: Selection_2): void;
|
|
703
|
+
triggerChange(event: any, oldValue: Date | null): void;
|
|
704
|
+
selectionBySymbol(symbol: string): Selection_2;
|
|
705
|
+
selectionByIndex(index: number): Selection_2;
|
|
706
|
+
switchDateSegment(offset: number): void;
|
|
707
|
+
modifyDateSegmentValue(offset: number, event: any): void;
|
|
708
|
+
validity(): FormComponentValidity;
|
|
709
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
710
|
+
change: any;
|
|
711
|
+
changemodel: any;
|
|
712
|
+
'update:modelValue': any;
|
|
713
|
+
focus: any;
|
|
714
|
+
blur: any;
|
|
715
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
716
|
+
modelValue: PropType<Date>;
|
|
717
|
+
value: PropType<Date>;
|
|
718
|
+
defaultValue: PropType<Date>;
|
|
719
|
+
format: {
|
|
720
|
+
type: PropType<string | DateFormatOptions>;
|
|
721
|
+
default: () => "d";
|
|
722
|
+
};
|
|
723
|
+
formatPlaceholder: {
|
|
724
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
725
|
+
default: () => DateInputFormatPlaceholder;
|
|
726
|
+
};
|
|
727
|
+
rounded: {
|
|
728
|
+
type: PropType<string>;
|
|
729
|
+
default: string;
|
|
730
|
+
validator: (value: string) => any;
|
|
731
|
+
};
|
|
732
|
+
fillMode: {
|
|
733
|
+
type: PropType<string>;
|
|
734
|
+
default: string;
|
|
735
|
+
validator: (value: string) => any;
|
|
736
|
+
};
|
|
737
|
+
size: {
|
|
738
|
+
type: PropType<string>;
|
|
739
|
+
default: string;
|
|
740
|
+
validator: (value: string) => any;
|
|
741
|
+
};
|
|
742
|
+
tabIndex: PropType<number>;
|
|
743
|
+
title: PropType<string>;
|
|
744
|
+
steps: PropType<DateInputIncrementalSteps>;
|
|
745
|
+
placeholder: PropType<string>;
|
|
746
|
+
max: {
|
|
747
|
+
type: PropType<Date>;
|
|
748
|
+
default: () => Date;
|
|
749
|
+
};
|
|
750
|
+
min: {
|
|
751
|
+
type: PropType<Date>;
|
|
752
|
+
default: () => Date;
|
|
753
|
+
};
|
|
754
|
+
maxTime: {
|
|
755
|
+
type: PropType<Date>;
|
|
756
|
+
default: () => Date;
|
|
757
|
+
};
|
|
758
|
+
minTime: {
|
|
759
|
+
type: PropType<Date>;
|
|
760
|
+
default: () => Date;
|
|
761
|
+
};
|
|
762
|
+
disabled: {
|
|
763
|
+
type: PropType<boolean>;
|
|
764
|
+
default: boolean;
|
|
765
|
+
};
|
|
766
|
+
spinners: {
|
|
767
|
+
type: PropType<boolean>;
|
|
768
|
+
default: boolean;
|
|
769
|
+
};
|
|
770
|
+
name: PropType<string>;
|
|
771
|
+
dir: PropType<string>;
|
|
772
|
+
label: PropType<string>;
|
|
773
|
+
id: PropType<string>;
|
|
774
|
+
validationMessage: {
|
|
775
|
+
type: PropType<string>;
|
|
776
|
+
default: string;
|
|
777
|
+
};
|
|
778
|
+
required: {
|
|
779
|
+
type: PropType<boolean>;
|
|
780
|
+
default: boolean;
|
|
781
|
+
};
|
|
782
|
+
validityStyles: {
|
|
783
|
+
type: PropType<boolean>;
|
|
784
|
+
default: boolean;
|
|
785
|
+
};
|
|
786
|
+
validate: PropType<boolean>;
|
|
787
|
+
valid: {
|
|
788
|
+
type: PropType<boolean>;
|
|
789
|
+
default: any;
|
|
790
|
+
};
|
|
791
|
+
ariaRole: {
|
|
792
|
+
type: PropType<string>;
|
|
793
|
+
default: string;
|
|
794
|
+
};
|
|
795
|
+
ariaControls: PropType<string>;
|
|
796
|
+
ariaLabel: PropType<string>;
|
|
797
|
+
ariaExpanded: {
|
|
798
|
+
type: PropType<boolean>;
|
|
799
|
+
default: any;
|
|
800
|
+
};
|
|
801
|
+
ariaHasPopup: {
|
|
802
|
+
type: PropType<String>;
|
|
803
|
+
default: any;
|
|
804
|
+
};
|
|
805
|
+
}>> & Readonly<{
|
|
806
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
807
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
808
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
809
|
+
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
810
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
811
|
+
}>, {
|
|
812
|
+
required: boolean;
|
|
813
|
+
size: string;
|
|
814
|
+
format: "d";
|
|
815
|
+
max: Date;
|
|
816
|
+
min: Date;
|
|
817
|
+
rounded: string;
|
|
818
|
+
fillMode: string;
|
|
819
|
+
disabled: boolean;
|
|
820
|
+
validationMessage: string;
|
|
821
|
+
maxTime: Date;
|
|
822
|
+
minTime: Date;
|
|
823
|
+
spinners: boolean;
|
|
824
|
+
validityStyles: boolean;
|
|
825
|
+
valid: boolean;
|
|
826
|
+
ariaRole: string;
|
|
827
|
+
ariaExpanded: boolean;
|
|
828
|
+
ariaHasPopup: String;
|
|
829
|
+
formatPlaceholder: DateInputFormatPlaceholder;
|
|
830
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* The arguments for the `change` event of the DateInput.
|
|
834
|
+
* The generic argument sets the target type of the event. Defaults to `DateInput`.
|
|
835
|
+
*/
|
|
836
|
+
export declare interface DateInputChangeEvent {
|
|
837
|
+
event?: any;
|
|
838
|
+
value: Date | null;
|
|
839
|
+
component: any;
|
|
840
|
+
target: any;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* The interface which defines a custom-format placeholder structure in the DateInput.
|
|
845
|
+
*/
|
|
846
|
+
export declare interface DateInputCustomFormatPlaceholder {
|
|
847
|
+
/**
|
|
848
|
+
* Defines the description for the `year` format section.
|
|
849
|
+
*/
|
|
850
|
+
year?: string;
|
|
851
|
+
/**
|
|
852
|
+
* Defines the description for the `month` format section.
|
|
853
|
+
*/
|
|
854
|
+
month?: string;
|
|
855
|
+
/**
|
|
856
|
+
* Defines the description for the `day` format section.
|
|
857
|
+
*/
|
|
858
|
+
day?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Defines the description for the `hour` format section.
|
|
861
|
+
*/
|
|
862
|
+
hour?: string;
|
|
863
|
+
/**
|
|
864
|
+
* Defines the description for the `minute` format section.
|
|
865
|
+
*/
|
|
866
|
+
minute?: string;
|
|
867
|
+
/**
|
|
868
|
+
* Defines the description for the `second` format section.
|
|
869
|
+
*/
|
|
870
|
+
second?: string;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* The union type which defines all possible format options of the DateInput placeholder.
|
|
875
|
+
*
|
|
876
|
+
* The available options are:
|
|
877
|
+
* * `'wide'`—Displays the full description of the format section. For example, turns `MM` into `month`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
878
|
+
* * `'narrow'`—Displays the narrow description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
879
|
+
* * `'short'`—Displays the short description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
|
|
880
|
+
* * `'formatPattern'`—Directly displays the format section. For example, turns `MM` into `MM`.
|
|
881
|
+
*/
|
|
882
|
+
export declare type DateInputFormatPlaceholder = 'wide' | 'narrow' | 'short' | 'formatPattern' | DateInputCustomFormatPlaceholder;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* The interface which defines all possible incremental steps in the DateInput.
|
|
886
|
+
*/
|
|
887
|
+
export declare interface DateInputIncrementalSteps {
|
|
888
|
+
year?: number;
|
|
889
|
+
month?: number;
|
|
890
|
+
day?: number;
|
|
891
|
+
hour?: number;
|
|
892
|
+
minute?: number;
|
|
893
|
+
second?: number;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Represents the props of the [Kendo UI for Vue DateInput component]({% slug overview_dateinput %}). The generic argument is passed to the `change` property and is used as a target in the [`DateInputChangeEvent`]({% slug api_dateinputs_dateinputchangeevent %}) interface.
|
|
898
|
+
*/
|
|
899
|
+
export declare interface DateInputProps extends FormComponentProps, DateInputSettings {
|
|
900
|
+
/**
|
|
901
|
+
* Specifies the value of the placeholder.
|
|
902
|
+
*/
|
|
903
|
+
placeholder?: string;
|
|
904
|
+
/**
|
|
905
|
+
* @hidden
|
|
906
|
+
*/
|
|
907
|
+
modelValue?: Date | null;
|
|
908
|
+
/**
|
|
909
|
+
* Specifies the value of the DateInput.
|
|
910
|
+
*/
|
|
911
|
+
value?: Date | null;
|
|
912
|
+
/**
|
|
913
|
+
* Specifies the validate of the DateInput.
|
|
914
|
+
*/
|
|
915
|
+
validate?: boolean;
|
|
916
|
+
/**
|
|
917
|
+
* Specifies the default value of the DateInput. If `value` is not set, this value will correspond to the initial value.
|
|
918
|
+
*/
|
|
919
|
+
defaultValue?: Date | null;
|
|
920
|
+
/**
|
|
921
|
+
* Determines the event handler that will be fired when the user edits the value ([see example]({% slug dateranges_dateinput %}).
|
|
922
|
+
*/
|
|
923
|
+
onChange?: (event: any) => void;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* @hidden
|
|
928
|
+
*/
|
|
929
|
+
export declare interface DateInputSettings {
|
|
930
|
+
/**
|
|
931
|
+
* Specifies the `date` format which is used for formatting the value ([see example]({% slug formats_dateinput %}). If not set, the default format will be used.
|
|
932
|
+
*/
|
|
933
|
+
format?: string | DateFormatOptions;
|
|
934
|
+
/**
|
|
935
|
+
* Specifies the descriptions of the format sections in the input field ([more information and example]({% slug placeholders_dateinput %}).
|
|
936
|
+
*/
|
|
937
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
938
|
+
/**
|
|
939
|
+
* Specifies the width of the DateInput.
|
|
940
|
+
*/
|
|
941
|
+
width?: number | string;
|
|
942
|
+
/**
|
|
943
|
+
* Configures the `size` of the DateInput.
|
|
944
|
+
*
|
|
945
|
+
* The available options are:
|
|
946
|
+
* - small
|
|
947
|
+
* - medium
|
|
948
|
+
* - large
|
|
949
|
+
* - null—Does not set a size `class`.
|
|
950
|
+
*
|
|
951
|
+
* @default `medium`
|
|
952
|
+
*/
|
|
953
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
954
|
+
/**
|
|
955
|
+
* Configures the `roundness` of the DateInput.
|
|
956
|
+
*
|
|
957
|
+
* The available options are:
|
|
958
|
+
* - small
|
|
959
|
+
* - medium
|
|
960
|
+
* - large
|
|
961
|
+
* - circle
|
|
962
|
+
* - full
|
|
963
|
+
* - null—Does not set a rounded `class`.
|
|
964
|
+
*
|
|
965
|
+
* @default `medium`
|
|
966
|
+
*/
|
|
967
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
968
|
+
/**
|
|
969
|
+
* Configures the `fillMode` of the DateInput.
|
|
970
|
+
*
|
|
971
|
+
* The available options are:
|
|
972
|
+
* - solid
|
|
973
|
+
* - outline
|
|
974
|
+
* - flat
|
|
975
|
+
* - link
|
|
976
|
+
* - null—Does not set a fillMode `class`.
|
|
977
|
+
*
|
|
978
|
+
* @default `solid`
|
|
979
|
+
*/
|
|
980
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
981
|
+
/**
|
|
982
|
+
* Sets the `tabIndex` property of the DateInput.
|
|
983
|
+
*/
|
|
984
|
+
tabIndex?: number;
|
|
985
|
+
/**
|
|
986
|
+
* Sets the title of the `input` element of the DateInput.
|
|
987
|
+
*/
|
|
988
|
+
title?: string;
|
|
989
|
+
/**
|
|
990
|
+
* Sets the aria-label of the DateInput.
|
|
991
|
+
*/
|
|
992
|
+
ariaLabel?: string;
|
|
993
|
+
/**
|
|
994
|
+
* Sets the aria role of the DateInput.
|
|
995
|
+
*/
|
|
996
|
+
ariaRole?: string;
|
|
997
|
+
/**
|
|
998
|
+
* Sets the aria-controls of the DateInput.
|
|
999
|
+
*/
|
|
1000
|
+
ariaControls?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Sets the aria-haspopup of the DateInput.
|
|
1003
|
+
*/
|
|
1004
|
+
ariaHasPopup?: String;
|
|
1005
|
+
/**
|
|
1006
|
+
* Sets the aria-expanded of the DateInput.
|
|
1007
|
+
*/
|
|
1008
|
+
ariaExpanded?: boolean;
|
|
1009
|
+
/**
|
|
1010
|
+
* Specifies the incremental steps of the DateInput ([see example]({% slug incrementalsteps_dateinput %}).
|
|
1011
|
+
*
|
|
1012
|
+
* The available options are:
|
|
1013
|
+
* - `year: Number`—Controls the incremental step of the year value.
|
|
1014
|
+
* - `month: Number`—Controls the incremental step of the month value.
|
|
1015
|
+
* - `day: Number`—Controls the incremental step of the day value.
|
|
1016
|
+
* - `hour: Number`—Controls the incremental step of the hour value.
|
|
1017
|
+
* - `minute: Number`—Controls the incremental step of the minute value.
|
|
1018
|
+
* - `second: Number`—Controls the incremental step of the second value.
|
|
1019
|
+
*/
|
|
1020
|
+
steps?: DateInputIncrementalSteps;
|
|
1021
|
+
/**
|
|
1022
|
+
* Specifies the smallest date that is valid ([see example]({% slug dateranges_dateinput %}).
|
|
1023
|
+
*/
|
|
1024
|
+
min?: Date;
|
|
1025
|
+
/**
|
|
1026
|
+
* Specifies the greatest date that is valid ([see example]({% slug dateranges_dateinput %}).
|
|
1027
|
+
*/
|
|
1028
|
+
max?: Date;
|
|
1029
|
+
/**
|
|
1030
|
+
* Specifies the smallest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
|
|
1031
|
+
*/
|
|
1032
|
+
minTime?: Date;
|
|
1033
|
+
/**
|
|
1034
|
+
* Specifies the greatest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
|
|
1035
|
+
*/
|
|
1036
|
+
maxTime?: Date;
|
|
1037
|
+
/**
|
|
1038
|
+
* Determines whether the DateInput is disabled ([see example]({% slug disabled_dateinput %})).
|
|
1039
|
+
*/
|
|
1040
|
+
disabled?: boolean;
|
|
1041
|
+
/**
|
|
1042
|
+
* Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug spinbuttons_dateinput %})).
|
|
1043
|
+
*/
|
|
1044
|
+
spinners?: boolean;
|
|
1045
|
+
/**
|
|
1046
|
+
* Specifies the name property of the input DOM element.
|
|
1047
|
+
*/
|
|
1048
|
+
name?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Represents the `dir` HTML attribute.
|
|
1051
|
+
*/
|
|
1052
|
+
dir?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Renders a floating label for the DateInput.
|
|
1055
|
+
*/
|
|
1056
|
+
label?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Sets the `id` of the `input` DOM element.
|
|
1059
|
+
*/
|
|
1060
|
+
id?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
1063
|
+
* For example these elements could contain error or hint message.
|
|
1064
|
+
*/
|
|
1065
|
+
ariaDescribedBy?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Identifies the element(s) which will label the component.
|
|
1068
|
+
*/
|
|
1069
|
+
ariaLabelledBy?: string;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
declare interface DateInputsPopupSettings {
|
|
1073
|
+
/**
|
|
1074
|
+
* Controls the popup animation. By default, the open and close animations are enabled.
|
|
1075
|
+
*/
|
|
1076
|
+
animate?: boolean;
|
|
1077
|
+
/**
|
|
1078
|
+
* Controls the popup container. By default, the popup is appended to the [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body) element.
|
|
1079
|
+
*/
|
|
1080
|
+
appendTo?: HTMLElement;
|
|
1081
|
+
/**
|
|
1082
|
+
* Specifies a list of CSS classes that are used for styling the popup.
|
|
1083
|
+
*/
|
|
1084
|
+
popupClass?: string;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* @hidden
|
|
1089
|
+
*/
|
|
1090
|
+
export declare const DatePicker: DefineComponent<ExtractPropTypes< {
|
|
1091
|
+
defaultShow: {
|
|
1092
|
+
type: BooleanConstructor;
|
|
1093
|
+
default: boolean;
|
|
1094
|
+
};
|
|
1095
|
+
modelValue: {
|
|
1096
|
+
type: DateConstructor;
|
|
1097
|
+
default: any;
|
|
1098
|
+
};
|
|
1099
|
+
defaultValue: {
|
|
1100
|
+
type: DateConstructor;
|
|
1101
|
+
default: any;
|
|
1102
|
+
};
|
|
1103
|
+
disabled: {
|
|
1104
|
+
type: BooleanConstructor;
|
|
1105
|
+
default: boolean;
|
|
1106
|
+
};
|
|
1107
|
+
dateInput: {
|
|
1108
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1109
|
+
default: () => any;
|
|
1110
|
+
};
|
|
1111
|
+
calendar: {
|
|
1112
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1113
|
+
default: () => any;
|
|
1114
|
+
};
|
|
1115
|
+
toggleButton: {
|
|
1116
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1117
|
+
default: () => any;
|
|
1118
|
+
};
|
|
1119
|
+
label: StringConstructor;
|
|
1120
|
+
placeholder: StringConstructor;
|
|
1121
|
+
popup: {
|
|
1122
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1123
|
+
default: () => any;
|
|
1124
|
+
};
|
|
1125
|
+
rounded: {
|
|
1126
|
+
type: StringConstructor;
|
|
1127
|
+
default: string;
|
|
1128
|
+
validator: (value: string) => any;
|
|
1129
|
+
};
|
|
1130
|
+
fillMode: {
|
|
1131
|
+
type: StringConstructor;
|
|
1132
|
+
default: string;
|
|
1133
|
+
validator: (value: string) => any;
|
|
1134
|
+
};
|
|
1135
|
+
size: {
|
|
1136
|
+
type: StringConstructor;
|
|
1137
|
+
default: string;
|
|
1138
|
+
validator: (value: string) => any;
|
|
1139
|
+
};
|
|
1140
|
+
focusedDate: DateConstructor;
|
|
1141
|
+
format: {
|
|
1142
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
1143
|
+
default: () => "d";
|
|
1144
|
+
};
|
|
1145
|
+
formatPlaceholder: (ObjectConstructor | StringConstructor)[];
|
|
1146
|
+
id: StringConstructor;
|
|
1147
|
+
max: {
|
|
1148
|
+
type: DateConstructor;
|
|
1149
|
+
default: () => Date;
|
|
1150
|
+
};
|
|
1151
|
+
min: {
|
|
1152
|
+
type: DateConstructor;
|
|
1153
|
+
default: () => Date;
|
|
1154
|
+
};
|
|
1155
|
+
name: StringConstructor;
|
|
1156
|
+
popupSettings: {
|
|
1157
|
+
type: ObjectConstructor;
|
|
1158
|
+
default: () => {};
|
|
1159
|
+
};
|
|
1160
|
+
show: {
|
|
1161
|
+
type: BooleanConstructor;
|
|
1162
|
+
default: any;
|
|
1163
|
+
};
|
|
1164
|
+
tabIndex: {
|
|
1165
|
+
type: NumberConstructor;
|
|
1166
|
+
default: number;
|
|
1167
|
+
};
|
|
1168
|
+
title: {
|
|
1169
|
+
type: StringConstructor;
|
|
1170
|
+
default: () => "";
|
|
1171
|
+
};
|
|
1172
|
+
value: DateConstructor;
|
|
1173
|
+
weekNumber: BooleanConstructor;
|
|
1174
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
1175
|
+
validityStyles: {
|
|
1176
|
+
type: BooleanConstructor;
|
|
1177
|
+
default: boolean;
|
|
1178
|
+
};
|
|
1179
|
+
validationMessage: StringConstructor;
|
|
1180
|
+
required: BooleanConstructor;
|
|
1181
|
+
validate: BooleanConstructor;
|
|
1182
|
+
valid: {
|
|
1183
|
+
type: BooleanConstructor;
|
|
1184
|
+
default: any;
|
|
1185
|
+
};
|
|
1186
|
+
ariaLabel: StringConstructor;
|
|
1187
|
+
}>, {
|
|
1188
|
+
listRef: Ref<any, any>;
|
|
1189
|
+
kendoAnchorRef: Ref<any, any>;
|
|
1190
|
+
kendoLocalizationService: {};
|
|
1191
|
+
}, {
|
|
1192
|
+
isFocused: boolean;
|
|
1193
|
+
currentValue: any;
|
|
1194
|
+
currentShow: any;
|
|
1195
|
+
valueDuringOnChange: any;
|
|
1196
|
+
showDuringOnChange: any;
|
|
1197
|
+
shouldFocusDateInput: boolean;
|
|
1198
|
+
}, {
|
|
1199
|
+
computedValue(): Date | null;
|
|
1200
|
+
computedShow(): boolean;
|
|
1201
|
+
}, {
|
|
1202
|
+
focus(): void;
|
|
1203
|
+
handleFocus(event: any): void;
|
|
1204
|
+
handleBlur(event: any): void;
|
|
1205
|
+
calendarBlur(): void;
|
|
1206
|
+
calendarFocus(): void;
|
|
1207
|
+
createBlurTimeout(): void;
|
|
1208
|
+
validity(): FormComponentValidity;
|
|
1209
|
+
nextValue(nextProps: DatePickerProps, nextState: any): any;
|
|
1210
|
+
nextShow(nextProps: DatePickerProps, nextState: any): any;
|
|
1211
|
+
setShow(show: boolean): void;
|
|
1212
|
+
mergeTime(value: Date | null): Date | null;
|
|
1213
|
+
handleInputValueChange(event: DateInputChangeEvent): void;
|
|
1214
|
+
handleCalendarValueChange(event: CalendarChangeEvent): void;
|
|
1215
|
+
getDateInputText(): any;
|
|
1216
|
+
handleValueChange(value: Date | null, event: DateInputChangeEvent | CalendarChangeEvent): void;
|
|
1217
|
+
handleIconClick(event: any): void;
|
|
1218
|
+
handleIconMouseDown(event: any): void;
|
|
1219
|
+
handleKeyDown(event: any): void;
|
|
1220
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1221
|
+
change: any;
|
|
1222
|
+
changemodel: any;
|
|
1223
|
+
'update:modelValue': any;
|
|
1224
|
+
iconclick: any;
|
|
1225
|
+
focus: any;
|
|
1226
|
+
blur: any;
|
|
1227
|
+
keydown: any;
|
|
1228
|
+
open: any;
|
|
1229
|
+
close: any;
|
|
1230
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1231
|
+
defaultShow: {
|
|
1232
|
+
type: BooleanConstructor;
|
|
1233
|
+
default: boolean;
|
|
1234
|
+
};
|
|
1235
|
+
modelValue: {
|
|
1236
|
+
type: DateConstructor;
|
|
1237
|
+
default: any;
|
|
1238
|
+
};
|
|
1239
|
+
defaultValue: {
|
|
1240
|
+
type: DateConstructor;
|
|
1241
|
+
default: any;
|
|
1242
|
+
};
|
|
1243
|
+
disabled: {
|
|
1244
|
+
type: BooleanConstructor;
|
|
1245
|
+
default: boolean;
|
|
1246
|
+
};
|
|
1247
|
+
dateInput: {
|
|
1248
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1249
|
+
default: () => any;
|
|
1250
|
+
};
|
|
1251
|
+
calendar: {
|
|
1252
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1253
|
+
default: () => any;
|
|
1254
|
+
};
|
|
1255
|
+
toggleButton: {
|
|
1256
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1257
|
+
default: () => any;
|
|
1258
|
+
};
|
|
1259
|
+
label: StringConstructor;
|
|
1260
|
+
placeholder: StringConstructor;
|
|
1261
|
+
popup: {
|
|
1262
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
1263
|
+
default: () => any;
|
|
1264
|
+
};
|
|
1265
|
+
rounded: {
|
|
1266
|
+
type: StringConstructor;
|
|
1267
|
+
default: string;
|
|
1268
|
+
validator: (value: string) => any;
|
|
1269
|
+
};
|
|
1270
|
+
fillMode: {
|
|
1271
|
+
type: StringConstructor;
|
|
1272
|
+
default: string;
|
|
1273
|
+
validator: (value: string) => any;
|
|
1274
|
+
};
|
|
1275
|
+
size: {
|
|
1276
|
+
type: StringConstructor;
|
|
1277
|
+
default: string;
|
|
1278
|
+
validator: (value: string) => any;
|
|
1279
|
+
};
|
|
1280
|
+
focusedDate: DateConstructor;
|
|
1281
|
+
format: {
|
|
1282
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
1283
|
+
default: () => "d";
|
|
1284
|
+
};
|
|
1285
|
+
formatPlaceholder: (ObjectConstructor | StringConstructor)[];
|
|
1286
|
+
id: StringConstructor;
|
|
1287
|
+
max: {
|
|
1288
|
+
type: DateConstructor;
|
|
1289
|
+
default: () => Date;
|
|
1290
|
+
};
|
|
1291
|
+
min: {
|
|
1292
|
+
type: DateConstructor;
|
|
1293
|
+
default: () => Date;
|
|
1294
|
+
};
|
|
1295
|
+
name: StringConstructor;
|
|
1296
|
+
popupSettings: {
|
|
1297
|
+
type: ObjectConstructor;
|
|
1298
|
+
default: () => {};
|
|
1299
|
+
};
|
|
1300
|
+
show: {
|
|
1301
|
+
type: BooleanConstructor;
|
|
1302
|
+
default: any;
|
|
1303
|
+
};
|
|
1304
|
+
tabIndex: {
|
|
1305
|
+
type: NumberConstructor;
|
|
1306
|
+
default: number;
|
|
1307
|
+
};
|
|
1308
|
+
title: {
|
|
1309
|
+
type: StringConstructor;
|
|
1310
|
+
default: () => "";
|
|
1311
|
+
};
|
|
1312
|
+
value: DateConstructor;
|
|
1313
|
+
weekNumber: BooleanConstructor;
|
|
1314
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
1315
|
+
validityStyles: {
|
|
1316
|
+
type: BooleanConstructor;
|
|
1317
|
+
default: boolean;
|
|
1318
|
+
};
|
|
1319
|
+
validationMessage: StringConstructor;
|
|
1320
|
+
required: BooleanConstructor;
|
|
1321
|
+
validate: BooleanConstructor;
|
|
1322
|
+
valid: {
|
|
1323
|
+
type: BooleanConstructor;
|
|
1324
|
+
default: any;
|
|
1325
|
+
};
|
|
1326
|
+
ariaLabel: StringConstructor;
|
|
1327
|
+
}>> & Readonly<{
|
|
1328
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
1329
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
1330
|
+
onClose?: (...args: any[] | unknown[]) => any;
|
|
1331
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
1332
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
1333
|
+
onOpen?: (...args: any[] | unknown[]) => any;
|
|
1334
|
+
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
1335
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
1336
|
+
onIconclick?: (...args: any[] | unknown[]) => any;
|
|
1337
|
+
}>, {
|
|
1338
|
+
required: boolean;
|
|
1339
|
+
title: string;
|
|
1340
|
+
tabIndex: number;
|
|
1341
|
+
size: string;
|
|
1342
|
+
format: string | Record<string, any>;
|
|
1343
|
+
max: Date;
|
|
1344
|
+
min: Date;
|
|
1345
|
+
weekNumber: boolean;
|
|
1346
|
+
rounded: string;
|
|
1347
|
+
fillMode: string;
|
|
1348
|
+
disabled: boolean;
|
|
1349
|
+
defaultValue: Date;
|
|
1350
|
+
show: boolean;
|
|
1351
|
+
popupSettings: Record<string, any>;
|
|
1352
|
+
popup: string | Function | Record<string, any>;
|
|
1353
|
+
modelValue: Date;
|
|
1354
|
+
validate: boolean;
|
|
1355
|
+
validityStyles: boolean;
|
|
1356
|
+
valid: boolean;
|
|
1357
|
+
defaultShow: boolean;
|
|
1358
|
+
dateInput: string | Function | Record<string, any>;
|
|
1359
|
+
calendar: string | Function | Record<string, any>;
|
|
1360
|
+
toggleButton: string | Function | Record<string, any>;
|
|
1361
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* The arguments for the `change` event of the DatePicker.
|
|
1365
|
+
*/
|
|
1366
|
+
export declare interface DatePickerChangeEvent {
|
|
1367
|
+
event: any;
|
|
1368
|
+
value: Date | null;
|
|
1369
|
+
show: boolean;
|
|
1370
|
+
target: any;
|
|
1371
|
+
component: any;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* The arguments for the `close` event of the DatePicker.
|
|
1376
|
+
*/
|
|
1377
|
+
export declare interface DatePickerCloseEvent {
|
|
1378
|
+
component: any;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* The arguments for the `open` event of the DatePicker.
|
|
1383
|
+
*/
|
|
1384
|
+
export declare interface DatePickerOpenEvent {
|
|
1385
|
+
component: any;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Represents the props of the [Kendo UI for Vue DatePicker component]({% slug overview_datepicker %}).
|
|
1390
|
+
*/
|
|
1391
|
+
export declare interface DatePickerProps extends DatePickerSettings, FormComponentProps {
|
|
1392
|
+
/**
|
|
1393
|
+
* @hidden
|
|
1394
|
+
*/
|
|
1395
|
+
modelValue?: Date;
|
|
1396
|
+
/**
|
|
1397
|
+
* Sets the default value of the DatePicker ([see example]({% slug default_value_datepicker %})).
|
|
1398
|
+
*/
|
|
1399
|
+
defaultValue?: Date;
|
|
1400
|
+
/**
|
|
1401
|
+
* Fires each time the user selects a new value ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
|
|
1402
|
+
*/
|
|
1403
|
+
onChange?: (event: DatePickerChangeEvent) => void;
|
|
1404
|
+
/**
|
|
1405
|
+
* Fires when the icon element is clicked.
|
|
1406
|
+
*/
|
|
1407
|
+
onIconclick?: (event: any) => void;
|
|
1408
|
+
/**
|
|
1409
|
+
* Renders a floating label for the DatePicker.
|
|
1410
|
+
*/
|
|
1411
|
+
label?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Specifies the value of the placeholder.
|
|
1414
|
+
*/
|
|
1415
|
+
placeholder?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Specifies the value of the DatePicker ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
|
|
1418
|
+
*
|
|
1419
|
+
* > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
|
|
1420
|
+
*/
|
|
1421
|
+
value?: Date | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* Specifies the validate of the DatePicker.
|
|
1424
|
+
*/
|
|
1425
|
+
validate?: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Specifies the validate of the DatePicker.
|
|
1428
|
+
*/
|
|
1429
|
+
ariaLabel?: string;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @hidden
|
|
1434
|
+
*/
|
|
1435
|
+
export declare interface DatePickerSettings {
|
|
1436
|
+
/**
|
|
1437
|
+
* Enables the customization or the override of the default wrapping component around the `DateInput` and `ToggleButton` rendered by the DatePicker
|
|
1438
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
|
|
1439
|
+
*/
|
|
1440
|
+
pickerWrap?: any;
|
|
1441
|
+
/**
|
|
1442
|
+
* Enables the customization or the override of the default Toggle button which is rendered by the DatePicker
|
|
1443
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
|
|
1444
|
+
*/
|
|
1445
|
+
toggleButton?: any;
|
|
1446
|
+
/**
|
|
1447
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DatePicker
|
|
1448
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-calendar)).
|
|
1449
|
+
*/
|
|
1450
|
+
calendar?: any;
|
|
1451
|
+
/**
|
|
1452
|
+
* Enables the customization or the override of the default Popup which is rendered by the DatePicker
|
|
1453
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-popup)).
|
|
1454
|
+
*/
|
|
1455
|
+
popup?: any;
|
|
1456
|
+
/**
|
|
1457
|
+
* Enables the customization or the override of the default DateInput which is rendered by the DatePicker
|
|
1458
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-dateinput)).
|
|
1459
|
+
*/
|
|
1460
|
+
dateInput?: any;
|
|
1461
|
+
/**
|
|
1462
|
+
* Sets the default state of the DatePicker upon render ([see example]({% slug default_value_datepicker %})).
|
|
1463
|
+
*/
|
|
1464
|
+
defaultShow?: boolean;
|
|
1465
|
+
/**
|
|
1466
|
+
* Determines whether the DatePicker is disabled ([see example]({% slug disabled_datepicker %})).
|
|
1467
|
+
*/
|
|
1468
|
+
disabled?: boolean;
|
|
1469
|
+
/**
|
|
1470
|
+
* Configures the `size` of the TimeInput.
|
|
1471
|
+
*
|
|
1472
|
+
* The available options are:
|
|
1473
|
+
* - small
|
|
1474
|
+
* - medium
|
|
1475
|
+
* - large
|
|
1476
|
+
* - null—Does not set a size `class`.
|
|
1477
|
+
*
|
|
1478
|
+
* @default `medium`
|
|
1479
|
+
*/
|
|
1480
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
1481
|
+
/**
|
|
1482
|
+
* Configures the `roundness` of the TimeInput.
|
|
1483
|
+
*
|
|
1484
|
+
* The available options are:
|
|
1485
|
+
* - small
|
|
1486
|
+
* - medium
|
|
1487
|
+
* - large
|
|
1488
|
+
* - circle
|
|
1489
|
+
* - full
|
|
1490
|
+
* - null—Does not set a rounded `class`.
|
|
1491
|
+
*
|
|
1492
|
+
* @default `medium`
|
|
1493
|
+
*/
|
|
1494
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Configures the `fillMode` of the TimeInput.
|
|
1497
|
+
*
|
|
1498
|
+
* The available options are:
|
|
1499
|
+
* - solid
|
|
1500
|
+
* - outline
|
|
1501
|
+
* - flat
|
|
1502
|
+
* - link
|
|
1503
|
+
* - null—Does not set a fillMode `class`.
|
|
1504
|
+
*
|
|
1505
|
+
* @default `solid`
|
|
1506
|
+
*/
|
|
1507
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
1508
|
+
/**
|
|
1509
|
+
* Specifies the focused date of the DatePicker ([see example]({% slug dates_datepicker %})).
|
|
1510
|
+
*/
|
|
1511
|
+
focusedDate?: Date;
|
|
1512
|
+
/**
|
|
1513
|
+
* Specifies the date format that is used to display the input value ([see example]({% slug formats_datepicker %})).
|
|
1514
|
+
*/
|
|
1515
|
+
format?: string | DateFormatOptions;
|
|
1516
|
+
/**
|
|
1517
|
+
* Defines the descriptions of the format sections in the input field ([more information and examples]({% slug placeholders_datepicker %})).
|
|
1518
|
+
*/
|
|
1519
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
1520
|
+
/**
|
|
1521
|
+
* Specifies the `id` of the DatePicker.
|
|
1522
|
+
*/
|
|
1523
|
+
id?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Specifies the greatest valid date ([see example]({% slug dateranges_datepicker %})).
|
|
1526
|
+
*/
|
|
1527
|
+
max?: Date;
|
|
1528
|
+
/**
|
|
1529
|
+
* Specifies the smallest valid date ([see example]({% slug dateranges_datepicker %})).
|
|
1530
|
+
*/
|
|
1531
|
+
min?: Date;
|
|
1532
|
+
/**
|
|
1533
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
1534
|
+
*/
|
|
1535
|
+
name?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Fires each time any of the DatePicker elements gets blurred.
|
|
1538
|
+
*/
|
|
1539
|
+
onBlur?: (event: any) => void;
|
|
1540
|
+
/**
|
|
1541
|
+
* Fires each time the user focuses any of the DatePicker elements.
|
|
1542
|
+
*/
|
|
1543
|
+
onFocus?: (event: any) => void;
|
|
1544
|
+
/**
|
|
1545
|
+
* Configures the popup options of the DatePicker.
|
|
1546
|
+
*
|
|
1547
|
+
* The available options are:
|
|
1548
|
+
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
1549
|
+
* - `appendTo`: — Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
1550
|
+
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
1551
|
+
*/
|
|
1552
|
+
popupSettings?: DateInputsPopupSettings;
|
|
1553
|
+
/**
|
|
1554
|
+
* Specifies if the calendar will be displayed ([see example]({% slug controlled_datepicker %}#toc-controlling-the-popup-state)).
|
|
1555
|
+
*/
|
|
1556
|
+
show?: boolean;
|
|
1557
|
+
/**
|
|
1558
|
+
* Sets the `tabIndex` property of the DatePicker.
|
|
1559
|
+
*/
|
|
1560
|
+
tabIndex?: number;
|
|
1561
|
+
/**
|
|
1562
|
+
* Sets the title of the `input` element of the DatePicker.
|
|
1563
|
+
*/
|
|
1564
|
+
title?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* Determines whether to display a week number column in the `month` view of the Calendar ([see example]({% slug weeknumcolumn_datepicker %})).
|
|
1567
|
+
*/
|
|
1568
|
+
weekNumber?: boolean;
|
|
1569
|
+
/**
|
|
1570
|
+
* Specifies the width of the DatePicker.
|
|
1571
|
+
*/
|
|
1572
|
+
width?: number | string;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* @hidden
|
|
1577
|
+
*/
|
|
1578
|
+
export declare const DateRangePicker: DefineComponent<ExtractPropTypes< {
|
|
1579
|
+
allowReverse: {
|
|
1580
|
+
type: PropType<boolean>;
|
|
1581
|
+
default: boolean;
|
|
1582
|
+
};
|
|
1583
|
+
calendarSettings: PropType<DateRangePickerCalendarSettings>;
|
|
1584
|
+
defaultShow: {
|
|
1585
|
+
type: PropType<boolean>;
|
|
1586
|
+
default: boolean;
|
|
1587
|
+
};
|
|
1588
|
+
defaultValue: {
|
|
1589
|
+
type: PropType<SelectionRange>;
|
|
1590
|
+
default: () => SelectionRange;
|
|
1591
|
+
};
|
|
1592
|
+
modelValue: {
|
|
1593
|
+
type: PropType<Date>;
|
|
1594
|
+
default: any;
|
|
1595
|
+
};
|
|
1596
|
+
disabled: {
|
|
1597
|
+
type: PropType<boolean>;
|
|
1598
|
+
default: boolean;
|
|
1599
|
+
};
|
|
1600
|
+
popup: PropType<any>;
|
|
1601
|
+
calendar: PropType<any>;
|
|
1602
|
+
startDateInput: PropType<any>;
|
|
1603
|
+
endDateInput: PropType<any>;
|
|
1604
|
+
endDateInputSettings: PropType<DateRangePickerDateInputSettings>;
|
|
1605
|
+
focusedDate: PropType<Date>;
|
|
1606
|
+
format: {
|
|
1607
|
+
type: PropType<string | DateFormatOptions>;
|
|
1608
|
+
default: () => "d";
|
|
1609
|
+
};
|
|
1610
|
+
id: PropType<string>;
|
|
1611
|
+
ariaLabelledBy: PropType<string>;
|
|
1612
|
+
ariaDescribedBy: PropType<string>;
|
|
1613
|
+
max: {
|
|
1614
|
+
type: PropType<Date>;
|
|
1615
|
+
default: () => Date;
|
|
1616
|
+
};
|
|
1617
|
+
min: {
|
|
1618
|
+
type: PropType<Date>;
|
|
1619
|
+
default: () => Date;
|
|
1620
|
+
};
|
|
1621
|
+
rounded: {
|
|
1622
|
+
type: PropType<string>;
|
|
1623
|
+
default: string;
|
|
1624
|
+
validator: (value: string) => any;
|
|
1625
|
+
};
|
|
1626
|
+
fillMode: {
|
|
1627
|
+
type: PropType<string>;
|
|
1628
|
+
default: string;
|
|
1629
|
+
validator: (value: string) => any;
|
|
1630
|
+
};
|
|
1631
|
+
size: {
|
|
1632
|
+
type: PropType<string>;
|
|
1633
|
+
default: string;
|
|
1634
|
+
validator: (value: string) => any;
|
|
1635
|
+
};
|
|
1636
|
+
popupSettings: {
|
|
1637
|
+
type: PropType<DateRangePickerPopupSettings>;
|
|
1638
|
+
default: () => any;
|
|
1639
|
+
};
|
|
1640
|
+
show: {
|
|
1641
|
+
type: PropType<boolean>;
|
|
1642
|
+
default: any;
|
|
1643
|
+
};
|
|
1644
|
+
startDateInputSettings: PropType<DateRangePickerDateInputSettings>;
|
|
1645
|
+
swapButton: {
|
|
1646
|
+
type: PropType<boolean>;
|
|
1647
|
+
default: boolean;
|
|
1648
|
+
};
|
|
1649
|
+
tabIndex: PropType<number>;
|
|
1650
|
+
value: {
|
|
1651
|
+
type: PropType<SelectionRange>;
|
|
1652
|
+
default: () => any;
|
|
1653
|
+
};
|
|
1654
|
+
}>, {
|
|
1655
|
+
kendoAnchorRef: Ref<any, any>;
|
|
1656
|
+
kendoLocalizationService: {};
|
|
1657
|
+
}, {
|
|
1658
|
+
currentShow: boolean;
|
|
1659
|
+
currentValue: any;
|
|
1660
|
+
valueDuringOnChange: any;
|
|
1661
|
+
shouldFocusDateInput: boolean;
|
|
1662
|
+
shouldFocusCalendar: boolean;
|
|
1663
|
+
}, {
|
|
1664
|
+
rootClassName(): DateRangePickerComputed['rootClassName'];
|
|
1665
|
+
computedValue(): DateRangePickerComputed['computedValue'];
|
|
1666
|
+
computedShow(): DateRangePickerComputed['computedShow'];
|
|
1667
|
+
swapButtonClass(): {
|
|
1668
|
+
[x: string]: any;
|
|
1669
|
+
'k-button': boolean;
|
|
1670
|
+
'k-button-flat': boolean;
|
|
1671
|
+
'k-button-flat-base': boolean;
|
|
1672
|
+
'k-icon-button': boolean;
|
|
1673
|
+
};
|
|
1674
|
+
}, {
|
|
1675
|
+
focus(): void;
|
|
1676
|
+
focusCalendarElement(): void;
|
|
1677
|
+
focusDateInputElement(): void;
|
|
1678
|
+
calculateValue(props: DateRangePickerProps, state: DateRangePickerData): SelectionRange;
|
|
1679
|
+
calculateShow(nextProps: DateRangePickerProps, nextState: DateRangePickerData): boolean;
|
|
1680
|
+
setShow(show: boolean): void;
|
|
1681
|
+
handleReverseClick(event: any): void;
|
|
1682
|
+
handleReverseMouseDown(event: any): void;
|
|
1683
|
+
handleFocus(event: any): void;
|
|
1684
|
+
calendarBlur(): void;
|
|
1685
|
+
calendarFocus(): void;
|
|
1686
|
+
createBlurTimeout(): void;
|
|
1687
|
+
getStartInput(): any;
|
|
1688
|
+
getEndInput(): any;
|
|
1689
|
+
getCalendar(): any;
|
|
1690
|
+
handleBlur(event: any): void;
|
|
1691
|
+
handleEndChange(event: DateInputChangeEvent): void;
|
|
1692
|
+
handleStartChange(event: DateInputChangeEvent): void;
|
|
1693
|
+
extractRangeFromValue(event: CalendarChangeEvent): SelectionRange;
|
|
1694
|
+
handleCalendarChange(event: CalendarChangeEvent): void;
|
|
1695
|
+
handleKeyDown(event: any): void;
|
|
1696
|
+
handleChange(value: SelectionRange, event: CalendarChangeEvent | DateInputChangeEvent | ReverseClickEvent): void;
|
|
1697
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1698
|
+
blur: any;
|
|
1699
|
+
change: any;
|
|
1700
|
+
changemodel: any;
|
|
1701
|
+
'update:modelValue': any;
|
|
1702
|
+
focus: any;
|
|
1703
|
+
keydown: any;
|
|
1704
|
+
open: any;
|
|
1705
|
+
close: any;
|
|
1706
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1707
|
+
allowReverse: {
|
|
1708
|
+
type: PropType<boolean>;
|
|
1709
|
+
default: boolean;
|
|
1710
|
+
};
|
|
1711
|
+
calendarSettings: PropType<DateRangePickerCalendarSettings>;
|
|
1712
|
+
defaultShow: {
|
|
1713
|
+
type: PropType<boolean>;
|
|
1714
|
+
default: boolean;
|
|
1715
|
+
};
|
|
1716
|
+
defaultValue: {
|
|
1717
|
+
type: PropType<SelectionRange>;
|
|
1718
|
+
default: () => SelectionRange;
|
|
1719
|
+
};
|
|
1720
|
+
modelValue: {
|
|
1721
|
+
type: PropType<Date>;
|
|
1722
|
+
default: any;
|
|
1723
|
+
};
|
|
1724
|
+
disabled: {
|
|
1725
|
+
type: PropType<boolean>;
|
|
1726
|
+
default: boolean;
|
|
1727
|
+
};
|
|
1728
|
+
popup: PropType<any>;
|
|
1729
|
+
calendar: PropType<any>;
|
|
1730
|
+
startDateInput: PropType<any>;
|
|
1731
|
+
endDateInput: PropType<any>;
|
|
1732
|
+
endDateInputSettings: PropType<DateRangePickerDateInputSettings>;
|
|
1733
|
+
focusedDate: PropType<Date>;
|
|
1734
|
+
format: {
|
|
1735
|
+
type: PropType<string | DateFormatOptions>;
|
|
1736
|
+
default: () => "d";
|
|
1737
|
+
};
|
|
1738
|
+
id: PropType<string>;
|
|
1739
|
+
ariaLabelledBy: PropType<string>;
|
|
1740
|
+
ariaDescribedBy: PropType<string>;
|
|
1741
|
+
max: {
|
|
1742
|
+
type: PropType<Date>;
|
|
1743
|
+
default: () => Date;
|
|
1744
|
+
};
|
|
1745
|
+
min: {
|
|
1746
|
+
type: PropType<Date>;
|
|
1747
|
+
default: () => Date;
|
|
1748
|
+
};
|
|
1749
|
+
rounded: {
|
|
1750
|
+
type: PropType<string>;
|
|
1751
|
+
default: string;
|
|
1752
|
+
validator: (value: string) => any;
|
|
1753
|
+
};
|
|
1754
|
+
fillMode: {
|
|
1755
|
+
type: PropType<string>;
|
|
1756
|
+
default: string;
|
|
1757
|
+
validator: (value: string) => any;
|
|
1758
|
+
};
|
|
1759
|
+
size: {
|
|
1760
|
+
type: PropType<string>;
|
|
1761
|
+
default: string;
|
|
1762
|
+
validator: (value: string) => any;
|
|
1763
|
+
};
|
|
1764
|
+
popupSettings: {
|
|
1765
|
+
type: PropType<DateRangePickerPopupSettings>;
|
|
1766
|
+
default: () => any;
|
|
1767
|
+
};
|
|
1768
|
+
show: {
|
|
1769
|
+
type: PropType<boolean>;
|
|
1770
|
+
default: any;
|
|
1771
|
+
};
|
|
1772
|
+
startDateInputSettings: PropType<DateRangePickerDateInputSettings>;
|
|
1773
|
+
swapButton: {
|
|
1774
|
+
type: PropType<boolean>;
|
|
1775
|
+
default: boolean;
|
|
1776
|
+
};
|
|
1777
|
+
tabIndex: PropType<number>;
|
|
1778
|
+
value: {
|
|
1779
|
+
type: PropType<SelectionRange>;
|
|
1780
|
+
default: () => any;
|
|
1781
|
+
};
|
|
1782
|
+
}>> & Readonly<{
|
|
1783
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
1784
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
1785
|
+
onClose?: (...args: any[] | unknown[]) => any;
|
|
1786
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
1787
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
1788
|
+
onOpen?: (...args: any[] | unknown[]) => any;
|
|
1789
|
+
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
1790
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
1791
|
+
}>, {
|
|
1792
|
+
value: SelectionRange;
|
|
1793
|
+
size: string;
|
|
1794
|
+
format: "d";
|
|
1795
|
+
max: Date;
|
|
1796
|
+
min: Date;
|
|
1797
|
+
rounded: string;
|
|
1798
|
+
fillMode: string;
|
|
1799
|
+
disabled: boolean;
|
|
1800
|
+
defaultValue: SelectionRange;
|
|
1801
|
+
show: boolean;
|
|
1802
|
+
popupSettings: DateRangePickerPopupSettings;
|
|
1803
|
+
allowReverse: boolean;
|
|
1804
|
+
modelValue: Date;
|
|
1805
|
+
defaultShow: boolean;
|
|
1806
|
+
swapButton: boolean;
|
|
1807
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Represents the settings that can be passed to the Calendar inside the DateRangePicker.
|
|
1811
|
+
*/
|
|
1812
|
+
export declare interface DateRangePickerCalendarSettings extends CalendarSettings {
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* The arguments for the `onChange` event of the DateRangePicker.
|
|
1817
|
+
*/
|
|
1818
|
+
export declare interface DateRangePickerChangeEvent {
|
|
1819
|
+
event?: any;
|
|
1820
|
+
value: SelectionRange;
|
|
1821
|
+
show?: boolean;
|
|
1822
|
+
target: any;
|
|
1823
|
+
component?: any;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* The arguments for the `close` event of the DateRangePicker.
|
|
1828
|
+
*/
|
|
1829
|
+
export declare interface DateRangePickerCloseEvent {
|
|
1830
|
+
component: any;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* @hidden
|
|
1835
|
+
*/
|
|
1836
|
+
declare interface DateRangePickerComputed {
|
|
1837
|
+
[key: string]: any;
|
|
1838
|
+
rootClassName: object;
|
|
1839
|
+
computedValue: SelectionRange;
|
|
1840
|
+
computedShow: boolean;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @hidden
|
|
1845
|
+
*/
|
|
1846
|
+
declare interface DateRangePickerData {
|
|
1847
|
+
currentShow: boolean;
|
|
1848
|
+
currentValue: SelectionRange;
|
|
1849
|
+
valueDuringOnChange: SelectionRange | undefined;
|
|
1850
|
+
shouldFocusDateInput: boolean;
|
|
1851
|
+
shouldFocusCalendar: boolean;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Represents the settings that can be passed to the DateInput inside the DateRangePicker.
|
|
1856
|
+
*/
|
|
1857
|
+
export declare interface DateRangePickerDateInputSettings extends DateInputSettings {
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* The arguments for the `open` event of the DateRangePicker.
|
|
1862
|
+
*/
|
|
1863
|
+
export declare interface DateRangePickerOpenEvent {
|
|
1864
|
+
component: any;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* Represents the settings that can be passed to the Popup inside the DateRangePicker.
|
|
1869
|
+
*/
|
|
1870
|
+
export declare interface DateRangePickerPopupSettings extends PopupSettings {
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Represents the props of the [Kendo UI for Vue DateRangePicker component]({% slug overview_daterangepicker %}).
|
|
1875
|
+
*/
|
|
1876
|
+
export declare interface DateRangePickerProps extends DateRangePickerSettings {
|
|
1877
|
+
/**
|
|
1878
|
+
* Overrides the validity state of the component.
|
|
1879
|
+
* If `valid` is set, the `required` property will be ignored.
|
|
1880
|
+
*
|
|
1881
|
+
* This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
|
|
1882
|
+
*/
|
|
1883
|
+
valid?: boolean;
|
|
1884
|
+
/**
|
|
1885
|
+
* Sets the default value of the DateRangePicker ([see example]({% slug default_value_daterangepicker %})).
|
|
1886
|
+
*/
|
|
1887
|
+
defaultValue?: SelectionRange;
|
|
1888
|
+
/**
|
|
1889
|
+
* @hidden
|
|
1890
|
+
*/
|
|
1891
|
+
modelValue?: Date;
|
|
1892
|
+
/**
|
|
1893
|
+
* Fires each time the user selects a part of a date range ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
1894
|
+
*/
|
|
1895
|
+
onChange?: (event: DateRangePickerChangeEvent) => void;
|
|
1896
|
+
/**
|
|
1897
|
+
* Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
1898
|
+
*
|
|
1899
|
+
* > The `value` has to be an object with `start` and `end` valid JavaScript [`Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instances or `null`.
|
|
1900
|
+
*/
|
|
1901
|
+
value?: SelectionRange;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* @hidden
|
|
1906
|
+
*/
|
|
1907
|
+
export declare interface DateRangePickerSettings {
|
|
1908
|
+
/**
|
|
1909
|
+
* Enables the customization or the override of the default start DateInput which is rendered by the DateRangePicker
|
|
1910
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-dateinputs)).
|
|
1911
|
+
*/
|
|
1912
|
+
startDateInput?: any;
|
|
1913
|
+
/**
|
|
1914
|
+
* Enables the customization or the override of the default end DateInput which is rendered by the DateRangePicker
|
|
1915
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-calendar)).
|
|
1916
|
+
*/
|
|
1917
|
+
endDateInput?: any;
|
|
1918
|
+
/**
|
|
1919
|
+
* Enables the customization or the override of the default Popup which is rendered by the DateRangePicker
|
|
1920
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-popup)).
|
|
1921
|
+
*/
|
|
1922
|
+
popup?: any;
|
|
1923
|
+
/**
|
|
1924
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DateRangePicker.
|
|
1925
|
+
*/
|
|
1926
|
+
calendar?: any;
|
|
1927
|
+
/**
|
|
1928
|
+
* If `allowReverse` is set to `true`, the component skips the validation of whether the `from` value is after the `to` value ([see example]({% slug reverse_daterangepicker %})).
|
|
1929
|
+
*
|
|
1930
|
+
* > If the [`calendarSettings`](#toc-calendarsettings) property is set, its `allowReverse` will take precedence.
|
|
1931
|
+
*/
|
|
1932
|
+
allowReverse?: boolean;
|
|
1933
|
+
/**
|
|
1934
|
+
* Represents the additional props that can be passed to the [MultiViewCalendar]({% slug overview_multiviewcalendar %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-multiviewcalendar)).
|
|
1935
|
+
*/
|
|
1936
|
+
calendarSettings?: DateRangePickerCalendarSettings;
|
|
1937
|
+
/**
|
|
1938
|
+
* Sets the default state of the DateRangePicker upon render ([see example]({% slug default_value_daterangepicker %})).
|
|
1939
|
+
*/
|
|
1940
|
+
defaultShow?: boolean;
|
|
1941
|
+
/**
|
|
1942
|
+
* Determines whether the DateRangePicker is disabled ([see example]({% slug disabled_daterangepicker %})).
|
|
1943
|
+
*/
|
|
1944
|
+
disabled?: boolean;
|
|
1945
|
+
/**
|
|
1946
|
+
* Represents the additional props that can be passed to the end-date [DateInput]({% slug overview_dateinput %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-dateinputs)).
|
|
1947
|
+
*/
|
|
1948
|
+
endDateInputSettings?: DateRangePickerDateInputSettings;
|
|
1949
|
+
/**
|
|
1950
|
+
* Specifies the focused date of the DateRangePicker ([see example]({% slug focused_daterangepicker %})).
|
|
1951
|
+
*/
|
|
1952
|
+
focusedDate?: Date;
|
|
1953
|
+
/**
|
|
1954
|
+
* Specifies the `date` format which is used for formatting the value of the DateInput ([see example]({% slug formats_dateinput %})).
|
|
1955
|
+
*
|
|
1956
|
+
* > If [`startDateInputSettings`](#toc-startdateinputsettings) or [`endDateInputSettings`](#toc-enddateinputsettings) are set, their `format` will take precedence.
|
|
1957
|
+
*/
|
|
1958
|
+
format?: string | DateFormatOptions;
|
|
1959
|
+
/**
|
|
1960
|
+
* Specifies the `id` of the DateRangePicker.
|
|
1961
|
+
*/
|
|
1962
|
+
id?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
1965
|
+
* For example these elements could contain error or hint message.
|
|
1966
|
+
*/
|
|
1967
|
+
ariaDescribedBy?: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* Identifies the element(s) which will label the component.
|
|
1970
|
+
*/
|
|
1971
|
+
ariaLabelledBy?: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* Specifies the greatest valid date ([see example]({% slug dateranges_daterangepicker %})).
|
|
1974
|
+
*/
|
|
1975
|
+
max?: Date;
|
|
1976
|
+
/**
|
|
1977
|
+
* Specifies the smallest valid date ([see example]({% slug dateranges_daterangepicker %})).
|
|
1978
|
+
*/
|
|
1979
|
+
min?: Date;
|
|
1980
|
+
/**
|
|
1981
|
+
* Configures the `size` of the DateRangePicker.
|
|
1982
|
+
*
|
|
1983
|
+
* The available options are:
|
|
1984
|
+
* - small
|
|
1985
|
+
* - medium
|
|
1986
|
+
* - large
|
|
1987
|
+
* - null—Does not set a size `class`.
|
|
1988
|
+
*
|
|
1989
|
+
* @default `medium`
|
|
1990
|
+
*/
|
|
1991
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
1992
|
+
/**
|
|
1993
|
+
* Configures the `roundness` of the DateRangePicker.
|
|
1994
|
+
*
|
|
1995
|
+
* The available options are:
|
|
1996
|
+
* - small
|
|
1997
|
+
* - medium
|
|
1998
|
+
* - large
|
|
1999
|
+
* - circle
|
|
2000
|
+
* - full
|
|
2001
|
+
* - null—Does not set a rounded `class`.
|
|
2002
|
+
*
|
|
2003
|
+
* @default `medium`
|
|
2004
|
+
*/
|
|
2005
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
2006
|
+
/**
|
|
2007
|
+
* Configures the `fillMode` of the DateRangePicker.
|
|
2008
|
+
*
|
|
2009
|
+
* The available options are:
|
|
2010
|
+
* - solid
|
|
2011
|
+
* - outline
|
|
2012
|
+
* - flat
|
|
2013
|
+
* - link
|
|
2014
|
+
* - null—Does not set a fillMode `class`.
|
|
2015
|
+
*
|
|
2016
|
+
* @default `solid`
|
|
2017
|
+
*/
|
|
2018
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
2019
|
+
/**
|
|
2020
|
+
* Fires each time any of the DateRangePicker elements gets blurred.
|
|
2021
|
+
*/
|
|
2022
|
+
onBlur?: (event: any) => void;
|
|
2023
|
+
/**
|
|
2024
|
+
* Fires each time the user focuses any of the DateRangePicker elements.
|
|
2025
|
+
*/
|
|
2026
|
+
onFocus?: (event: any) => void;
|
|
2027
|
+
/**
|
|
2028
|
+
* Represents the additional props that will be passed to the [Popup]({% slug overview_popup %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-popup)).
|
|
2029
|
+
*/
|
|
2030
|
+
popupSettings?: DateRangePickerPopupSettings;
|
|
2031
|
+
/**
|
|
2032
|
+
* Specifies if the calendar will be displayed ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-popup-state)).
|
|
2033
|
+
*/
|
|
2034
|
+
show?: boolean;
|
|
2035
|
+
/**
|
|
2036
|
+
* Represents the additional props that will be passed to the start-date [DateInput]({% slug overview_dateinput %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-dateinputs)).
|
|
2037
|
+
*/
|
|
2038
|
+
startDateInputSettings?: DateRangePickerDateInputSettings;
|
|
2039
|
+
/**
|
|
2040
|
+
* Determines whether the DateRangePicker will display a **Swap Value** button ([see example]({% slug reverse_daterangepicker %}#toc-swapping-start-and-end-dates-in-ranges)).
|
|
2041
|
+
*
|
|
2042
|
+
* > The DateRangePicker will display the swap button only if the [`allowReverse`](#toc-allowreverse) property is also set to `true`.
|
|
2043
|
+
*/
|
|
2044
|
+
swapButton?: boolean;
|
|
2045
|
+
/**
|
|
2046
|
+
* Sets the `tabIndex` property of the DatePicker.
|
|
2047
|
+
*/
|
|
2048
|
+
tabIndex?: number;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* @hidden
|
|
2053
|
+
*/
|
|
2054
|
+
export declare const DateTimePicker: DefineComponent<ExtractPropTypes< {
|
|
2055
|
+
modelValue: {
|
|
2056
|
+
type: PropType<Date>;
|
|
2057
|
+
default: any;
|
|
2058
|
+
};
|
|
2059
|
+
defaultShow: {
|
|
2060
|
+
type: PropType<boolean>;
|
|
2061
|
+
default: boolean;
|
|
2062
|
+
};
|
|
2063
|
+
defaultValue: {
|
|
2064
|
+
type: PropType<Date>;
|
|
2065
|
+
default: any;
|
|
2066
|
+
};
|
|
2067
|
+
disabled: {
|
|
2068
|
+
type: PropType<boolean>;
|
|
2069
|
+
default: boolean;
|
|
2070
|
+
};
|
|
2071
|
+
dateInput: {
|
|
2072
|
+
type: PropType<any>;
|
|
2073
|
+
default: () => any;
|
|
2074
|
+
};
|
|
2075
|
+
popup: {
|
|
2076
|
+
type: PropType<any>;
|
|
2077
|
+
default: () => any;
|
|
2078
|
+
};
|
|
2079
|
+
calendar: {
|
|
2080
|
+
type: PropType<any>;
|
|
2081
|
+
default: () => any;
|
|
2082
|
+
};
|
|
2083
|
+
focusedDate: PropType<Date>;
|
|
2084
|
+
format: {
|
|
2085
|
+
type: PropType<string | DateFormatOptions>;
|
|
2086
|
+
default: () => "g";
|
|
2087
|
+
};
|
|
2088
|
+
formatPlaceholder: {
|
|
2089
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
2090
|
+
default: () => DateInputFormatPlaceholder;
|
|
2091
|
+
};
|
|
2092
|
+
rounded: {
|
|
2093
|
+
type: PropType<string>;
|
|
2094
|
+
default: string;
|
|
2095
|
+
validator: (value: string) => any;
|
|
2096
|
+
};
|
|
2097
|
+
fillMode: {
|
|
2098
|
+
type: PropType<string>;
|
|
2099
|
+
default: string;
|
|
2100
|
+
validator: (value: string) => any;
|
|
2101
|
+
};
|
|
2102
|
+
size: {
|
|
2103
|
+
type: PropType<string>;
|
|
2104
|
+
default: string;
|
|
2105
|
+
validator: (value: string) => any;
|
|
2106
|
+
};
|
|
2107
|
+
id: PropType<string>;
|
|
2108
|
+
ariaLabelledBy: PropType<string>;
|
|
2109
|
+
ariaDescribedBy: PropType<string>;
|
|
2110
|
+
min: {
|
|
2111
|
+
type: PropType<Date>;
|
|
2112
|
+
default: () => Date;
|
|
2113
|
+
};
|
|
2114
|
+
max: {
|
|
2115
|
+
type: PropType<Date>;
|
|
2116
|
+
default: () => Date;
|
|
2117
|
+
};
|
|
2118
|
+
maxTime: {
|
|
2119
|
+
type: PropType<Date>;
|
|
2120
|
+
default: () => Date;
|
|
2121
|
+
};
|
|
2122
|
+
minTime: {
|
|
2123
|
+
type: PropType<Date>;
|
|
2124
|
+
default: () => Date;
|
|
2125
|
+
};
|
|
2126
|
+
name: PropType<string>;
|
|
2127
|
+
label: PropType<string>;
|
|
2128
|
+
placeholder: PropType<string>;
|
|
2129
|
+
popupSettings: {
|
|
2130
|
+
type: PropType<object>;
|
|
2131
|
+
default: () => {};
|
|
2132
|
+
};
|
|
2133
|
+
show: {
|
|
2134
|
+
type: PropType<boolean>;
|
|
2135
|
+
default: any;
|
|
2136
|
+
};
|
|
2137
|
+
tabIndex: {
|
|
2138
|
+
type: PropType<number>;
|
|
2139
|
+
default: number;
|
|
2140
|
+
};
|
|
2141
|
+
title: {
|
|
2142
|
+
type: PropType<string>;
|
|
2143
|
+
default: () => "";
|
|
2144
|
+
};
|
|
2145
|
+
steps: {
|
|
2146
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
2147
|
+
default: () => {};
|
|
2148
|
+
};
|
|
2149
|
+
value: PropType<Date>;
|
|
2150
|
+
weekNumber: {
|
|
2151
|
+
type: PropType<boolean>;
|
|
2152
|
+
default: boolean;
|
|
2153
|
+
};
|
|
2154
|
+
width: PropType<string | number>;
|
|
2155
|
+
validationMessage: PropType<string>;
|
|
2156
|
+
required: {
|
|
2157
|
+
type: PropType<boolean>;
|
|
2158
|
+
default: boolean;
|
|
2159
|
+
};
|
|
2160
|
+
validityStyles: {
|
|
2161
|
+
type: PropType<boolean>;
|
|
2162
|
+
default: boolean;
|
|
2163
|
+
};
|
|
2164
|
+
validate: PropType<boolean>;
|
|
2165
|
+
valid: {
|
|
2166
|
+
type: PropType<boolean>;
|
|
2167
|
+
default: any;
|
|
2168
|
+
};
|
|
2169
|
+
cancelButton: {
|
|
2170
|
+
type: PropType<boolean>;
|
|
2171
|
+
default: boolean;
|
|
2172
|
+
};
|
|
2173
|
+
}>, {
|
|
2174
|
+
kendoAnchorRef: Ref<any, any>;
|
|
2175
|
+
kendoLocalizationService: {};
|
|
2176
|
+
}, {
|
|
2177
|
+
currentValue: any;
|
|
2178
|
+
currentShow: boolean;
|
|
2179
|
+
valueDuringOnChange: any;
|
|
2180
|
+
showDuringOnChange: any;
|
|
2181
|
+
shouldFocusDateInput: boolean;
|
|
2182
|
+
isFocused: boolean;
|
|
2183
|
+
}, {
|
|
2184
|
+
computedValue(): DateTimePickerComputed['computedValue'];
|
|
2185
|
+
computedShow(): DateTimePickerComputed['computedShow'];
|
|
2186
|
+
}, {
|
|
2187
|
+
validity(): FormComponentValidity;
|
|
2188
|
+
getDateInputText(): any;
|
|
2189
|
+
focus(): void;
|
|
2190
|
+
setShow(show: boolean): void;
|
|
2191
|
+
handleReject(): void;
|
|
2192
|
+
handleValueChange(event: DateInputChangeEvent | DateTimeSelectorChangeEvent): void;
|
|
2193
|
+
handleFocus(event: any): void;
|
|
2194
|
+
handleBlur(event: any): void;
|
|
2195
|
+
timeSelectorBlur(event: any): void;
|
|
2196
|
+
timeSelectorFocus(): void;
|
|
2197
|
+
createBlurTimeout(): void;
|
|
2198
|
+
handleDateIconClick(event: any): void;
|
|
2199
|
+
handleIconMouseDown(event: any): void;
|
|
2200
|
+
handleKeyDown(event: any): void;
|
|
2201
|
+
dateInputElement(): any;
|
|
2202
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2203
|
+
changemodel: any;
|
|
2204
|
+
'update:modelValue': any;
|
|
2205
|
+
iconclick: any;
|
|
2206
|
+
change: any;
|
|
2207
|
+
focus: any;
|
|
2208
|
+
blur: any;
|
|
2209
|
+
keydown: any;
|
|
2210
|
+
open: any;
|
|
2211
|
+
close: any;
|
|
2212
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2213
|
+
modelValue: {
|
|
2214
|
+
type: PropType<Date>;
|
|
2215
|
+
default: any;
|
|
2216
|
+
};
|
|
2217
|
+
defaultShow: {
|
|
2218
|
+
type: PropType<boolean>;
|
|
2219
|
+
default: boolean;
|
|
2220
|
+
};
|
|
2221
|
+
defaultValue: {
|
|
2222
|
+
type: PropType<Date>;
|
|
2223
|
+
default: any;
|
|
2224
|
+
};
|
|
2225
|
+
disabled: {
|
|
2226
|
+
type: PropType<boolean>;
|
|
2227
|
+
default: boolean;
|
|
2228
|
+
};
|
|
2229
|
+
dateInput: {
|
|
2230
|
+
type: PropType<any>;
|
|
2231
|
+
default: () => any;
|
|
2232
|
+
};
|
|
2233
|
+
popup: {
|
|
2234
|
+
type: PropType<any>;
|
|
2235
|
+
default: () => any;
|
|
2236
|
+
};
|
|
2237
|
+
calendar: {
|
|
2238
|
+
type: PropType<any>;
|
|
2239
|
+
default: () => any;
|
|
2240
|
+
};
|
|
2241
|
+
focusedDate: PropType<Date>;
|
|
2242
|
+
format: {
|
|
2243
|
+
type: PropType<string | DateFormatOptions>;
|
|
2244
|
+
default: () => "g";
|
|
2245
|
+
};
|
|
2246
|
+
formatPlaceholder: {
|
|
2247
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
2248
|
+
default: () => DateInputFormatPlaceholder;
|
|
2249
|
+
};
|
|
2250
|
+
rounded: {
|
|
2251
|
+
type: PropType<string>;
|
|
2252
|
+
default: string;
|
|
2253
|
+
validator: (value: string) => any;
|
|
2254
|
+
};
|
|
2255
|
+
fillMode: {
|
|
2256
|
+
type: PropType<string>;
|
|
2257
|
+
default: string;
|
|
2258
|
+
validator: (value: string) => any;
|
|
2259
|
+
};
|
|
2260
|
+
size: {
|
|
2261
|
+
type: PropType<string>;
|
|
2262
|
+
default: string;
|
|
2263
|
+
validator: (value: string) => any;
|
|
2264
|
+
};
|
|
2265
|
+
id: PropType<string>;
|
|
2266
|
+
ariaLabelledBy: PropType<string>;
|
|
2267
|
+
ariaDescribedBy: PropType<string>;
|
|
2268
|
+
min: {
|
|
2269
|
+
type: PropType<Date>;
|
|
2270
|
+
default: () => Date;
|
|
2271
|
+
};
|
|
2272
|
+
max: {
|
|
2273
|
+
type: PropType<Date>;
|
|
2274
|
+
default: () => Date;
|
|
2275
|
+
};
|
|
2276
|
+
maxTime: {
|
|
2277
|
+
type: PropType<Date>;
|
|
2278
|
+
default: () => Date;
|
|
2279
|
+
};
|
|
2280
|
+
minTime: {
|
|
2281
|
+
type: PropType<Date>;
|
|
2282
|
+
default: () => Date;
|
|
2283
|
+
};
|
|
2284
|
+
name: PropType<string>;
|
|
2285
|
+
label: PropType<string>;
|
|
2286
|
+
placeholder: PropType<string>;
|
|
2287
|
+
popupSettings: {
|
|
2288
|
+
type: PropType<object>;
|
|
2289
|
+
default: () => {};
|
|
2290
|
+
};
|
|
2291
|
+
show: {
|
|
2292
|
+
type: PropType<boolean>;
|
|
2293
|
+
default: any;
|
|
2294
|
+
};
|
|
2295
|
+
tabIndex: {
|
|
2296
|
+
type: PropType<number>;
|
|
2297
|
+
default: number;
|
|
2298
|
+
};
|
|
2299
|
+
title: {
|
|
2300
|
+
type: PropType<string>;
|
|
2301
|
+
default: () => "";
|
|
2302
|
+
};
|
|
2303
|
+
steps: {
|
|
2304
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
2305
|
+
default: () => {};
|
|
2306
|
+
};
|
|
2307
|
+
value: PropType<Date>;
|
|
2308
|
+
weekNumber: {
|
|
2309
|
+
type: PropType<boolean>;
|
|
2310
|
+
default: boolean;
|
|
2311
|
+
};
|
|
2312
|
+
width: PropType<string | number>;
|
|
2313
|
+
validationMessage: PropType<string>;
|
|
2314
|
+
required: {
|
|
2315
|
+
type: PropType<boolean>;
|
|
2316
|
+
default: boolean;
|
|
2317
|
+
};
|
|
2318
|
+
validityStyles: {
|
|
2319
|
+
type: PropType<boolean>;
|
|
2320
|
+
default: boolean;
|
|
2321
|
+
};
|
|
2322
|
+
validate: PropType<boolean>;
|
|
2323
|
+
valid: {
|
|
2324
|
+
type: PropType<boolean>;
|
|
2325
|
+
default: any;
|
|
2326
|
+
};
|
|
2327
|
+
cancelButton: {
|
|
2328
|
+
type: PropType<boolean>;
|
|
2329
|
+
default: boolean;
|
|
2330
|
+
};
|
|
2331
|
+
}>> & Readonly<{
|
|
2332
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
2333
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
2334
|
+
onClose?: (...args: any[] | unknown[]) => any;
|
|
2335
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
2336
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
2337
|
+
onOpen?: (...args: any[] | unknown[]) => any;
|
|
2338
|
+
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
2339
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
2340
|
+
onIconclick?: (...args: any[] | unknown[]) => any;
|
|
2341
|
+
}>, {
|
|
2342
|
+
required: boolean;
|
|
2343
|
+
title: string;
|
|
2344
|
+
tabIndex: number;
|
|
2345
|
+
size: string;
|
|
2346
|
+
format: "g";
|
|
2347
|
+
max: Date;
|
|
2348
|
+
min: Date;
|
|
2349
|
+
weekNumber: boolean;
|
|
2350
|
+
rounded: string;
|
|
2351
|
+
fillMode: string;
|
|
2352
|
+
disabled: boolean;
|
|
2353
|
+
defaultValue: Date;
|
|
2354
|
+
show: boolean;
|
|
2355
|
+
popupSettings: object;
|
|
2356
|
+
popup: any;
|
|
2357
|
+
modelValue: Date;
|
|
2358
|
+
steps: TimePickerIncrementalSteps;
|
|
2359
|
+
maxTime: Date;
|
|
2360
|
+
minTime: Date;
|
|
2361
|
+
validityStyles: boolean;
|
|
2362
|
+
valid: boolean;
|
|
2363
|
+
formatPlaceholder: DateInputFormatPlaceholder;
|
|
2364
|
+
defaultShow: boolean;
|
|
2365
|
+
dateInput: any;
|
|
2366
|
+
calendar: any;
|
|
2367
|
+
cancelButton: boolean;
|
|
2368
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* The arguments for the `onChange` event of the DateTimePicker.
|
|
2372
|
+
*/
|
|
2373
|
+
export declare interface DateTimePickerChangeEvent {
|
|
2374
|
+
event: any;
|
|
2375
|
+
value: Date | null;
|
|
2376
|
+
show: boolean;
|
|
2377
|
+
target: any;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* The arguments for the `close` event of the DateTimePicker.
|
|
2382
|
+
*/
|
|
2383
|
+
export declare interface DateTimePickerCloseEvent {
|
|
2384
|
+
component: any;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* @hidden
|
|
2389
|
+
*/
|
|
2390
|
+
declare interface DateTimePickerComputed {
|
|
2391
|
+
[key: string]: any;
|
|
2392
|
+
computedValue: Date | null;
|
|
2393
|
+
computedShow: boolean;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* The arguments for the `open` event of the DateTimePicker.
|
|
2398
|
+
*/
|
|
2399
|
+
export declare interface DateTimePickerOpenEvent {
|
|
2400
|
+
component: any;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* Represents the props of the [Kendo UI for Vue DateTimePicker component]({% slug overview_datetimepicker %}).
|
|
2405
|
+
*/
|
|
2406
|
+
export declare interface DateTimePickerProps extends DateTimePickerSettings, FormComponentProps {
|
|
2407
|
+
/**
|
|
2408
|
+
* @hidden
|
|
2409
|
+
*/
|
|
2410
|
+
modelValue?: Date;
|
|
2411
|
+
/**
|
|
2412
|
+
* Sets the default value of the DateTimePicker.
|
|
2413
|
+
*/
|
|
2414
|
+
defaultValue?: Date;
|
|
2415
|
+
/**
|
|
2416
|
+
* Fires each time the user selects a new value
|
|
2417
|
+
*/
|
|
2418
|
+
onChange?: (event: DateTimePickerChangeEvent) => void;
|
|
2419
|
+
/**
|
|
2420
|
+
* Specifies the value of the DateTimePicker
|
|
2421
|
+
* ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-date-value)).
|
|
2422
|
+
*
|
|
2423
|
+
* > The `value` has to be a valid
|
|
2424
|
+
* [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
|
|
2425
|
+
*/
|
|
2426
|
+
value?: Date | null;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* @hidden
|
|
2431
|
+
*/
|
|
2432
|
+
export declare interface DateTimePickerSettings {
|
|
2433
|
+
/**
|
|
2434
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DateTimePicker
|
|
2435
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-calendar)).
|
|
2436
|
+
*/
|
|
2437
|
+
calendar?: any;
|
|
2438
|
+
/**
|
|
2439
|
+
* Enables the customization or the override of the default Popup which is rendered by the DateTimePicker
|
|
2440
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-popup)).
|
|
2441
|
+
*/
|
|
2442
|
+
popup?: any;
|
|
2443
|
+
/**
|
|
2444
|
+
* Enables the customization or the override of the default DateInput which is rendered by the DateTimePicker
|
|
2445
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-dateinput)).
|
|
2446
|
+
*/
|
|
2447
|
+
dateInput?: any;
|
|
2448
|
+
/**
|
|
2449
|
+
* Sets if the calendar popup is opened upon initial render.
|
|
2450
|
+
* For more information, refer to the article on
|
|
2451
|
+
*/
|
|
2452
|
+
defaultShow?: boolean;
|
|
2453
|
+
/**
|
|
2454
|
+
* Determines whether the DateTimePicker is disabled
|
|
2455
|
+
* ([see example]({% slug disabled_datetimepicker %})).
|
|
2456
|
+
*/
|
|
2457
|
+
disabled?: boolean;
|
|
2458
|
+
/**
|
|
2459
|
+
* Specifies the initial focusedDate of the Calendar inside the DateTimePicker
|
|
2460
|
+
* ([see example]({% slug dates_datetimepicker %})).
|
|
2461
|
+
*/
|
|
2462
|
+
focusedDate?: Date;
|
|
2463
|
+
/**
|
|
2464
|
+
* Specifies the date format that is used to display the input value
|
|
2465
|
+
* ([see example]({% slug formats_datetimepicker %})).
|
|
2466
|
+
*/
|
|
2467
|
+
format?: string | DateFormatOptions;
|
|
2468
|
+
/**
|
|
2469
|
+
* Defines the descriptions of the format sections in the input field
|
|
2470
|
+
* ([more information and examples]({% slug placeholders_datetimepicker %})).
|
|
2471
|
+
*/
|
|
2472
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
2473
|
+
/**
|
|
2474
|
+
* Specifies the `id` of the DateTimePicker.
|
|
2475
|
+
*/
|
|
2476
|
+
id?: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
2479
|
+
* For example these elements could contain error or hint message.
|
|
2480
|
+
*/
|
|
2481
|
+
ariaDescribedBy?: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* Identifies the element(s) which will label the component.
|
|
2484
|
+
*/
|
|
2485
|
+
ariaLabelledBy?: string;
|
|
2486
|
+
/**
|
|
2487
|
+
* Specifies the greatest valid date
|
|
2488
|
+
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
2489
|
+
*/
|
|
2490
|
+
max?: Date;
|
|
2491
|
+
/**
|
|
2492
|
+
* Specifies the smallest valid date
|
|
2493
|
+
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
2494
|
+
*/
|
|
2495
|
+
min?: Date;
|
|
2496
|
+
minTime?: Date;
|
|
2497
|
+
maxTime?: Date;
|
|
2498
|
+
/**
|
|
2499
|
+
* Configures the `size` of the DateTimePicker.
|
|
2500
|
+
*
|
|
2501
|
+
* The available options are:
|
|
2502
|
+
* - small
|
|
2503
|
+
* - medium
|
|
2504
|
+
* - large
|
|
2505
|
+
* - null—Does not set a size `class`.
|
|
2506
|
+
*
|
|
2507
|
+
* @default `medium`
|
|
2508
|
+
*/
|
|
2509
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
2510
|
+
/**
|
|
2511
|
+
* Configures the `roundness` of the DateTimePicker.
|
|
2512
|
+
*
|
|
2513
|
+
* The available options are:
|
|
2514
|
+
* - small
|
|
2515
|
+
* - medium
|
|
2516
|
+
* - large
|
|
2517
|
+
* - circle
|
|
2518
|
+
* - full
|
|
2519
|
+
* - null—Does not set a rounded `class`.
|
|
2520
|
+
*
|
|
2521
|
+
* @default `medium`
|
|
2522
|
+
*/
|
|
2523
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
2524
|
+
/**
|
|
2525
|
+
* Configures the `fillMode` of the DateTimePicker.
|
|
2526
|
+
*
|
|
2527
|
+
* The available options are:
|
|
2528
|
+
* - solid
|
|
2529
|
+
* - outline
|
|
2530
|
+
* - flat
|
|
2531
|
+
* - link
|
|
2532
|
+
* - null—Does not set a fillMode `class`.
|
|
2533
|
+
*
|
|
2534
|
+
* @default `solid`
|
|
2535
|
+
*/
|
|
2536
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
2537
|
+
/**
|
|
2538
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
2539
|
+
*/
|
|
2540
|
+
name?: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Renders a floating label for the DateTimePicker.
|
|
2543
|
+
*/
|
|
2544
|
+
label?: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Specifies the value of the placeholder.
|
|
2547
|
+
*/
|
|
2548
|
+
placeholder?: string;
|
|
2549
|
+
/**
|
|
2550
|
+
* Configures the popup options of the DateTimePicker.
|
|
2551
|
+
*
|
|
2552
|
+
* The available options are:
|
|
2553
|
+
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
2554
|
+
* - `appendTo:`— Defines the container to which the Popup will
|
|
2555
|
+
* be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
2556
|
+
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
2557
|
+
*/
|
|
2558
|
+
popupSettings?: object;
|
|
2559
|
+
/**
|
|
2560
|
+
* Fires each time any of the DateTimePicker elements gets blurred.
|
|
2561
|
+
*/
|
|
2562
|
+
onBlur?: (event: any) => void;
|
|
2563
|
+
/**
|
|
2564
|
+
* Fires each time the user focuses any of the DateTimePicker elements.
|
|
2565
|
+
*/
|
|
2566
|
+
onFocus?: (event: any) => void;
|
|
2567
|
+
/**
|
|
2568
|
+
* Fires when the icon element is clicked.
|
|
2569
|
+
*/
|
|
2570
|
+
onIconclick?: (event: any) => void;
|
|
2571
|
+
/**
|
|
2572
|
+
* Specifies if the popup will be displayed
|
|
2573
|
+
* ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
|
|
2574
|
+
*/
|
|
2575
|
+
show?: boolean;
|
|
2576
|
+
/**
|
|
2577
|
+
* Sets the `tabIndex` property of the DateTimePicker.
|
|
2578
|
+
*/
|
|
2579
|
+
tabIndex?: number;
|
|
2580
|
+
/**
|
|
2581
|
+
* Sets the title of the `input` element of the DateTimePicker.
|
|
2582
|
+
*/
|
|
2583
|
+
title?: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Configures the incremental steps of the DateTimePicker.
|
|
2586
|
+
*
|
|
2587
|
+
* > If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
2588
|
+
*/
|
|
2589
|
+
steps?: TimePickerIncrementalSteps;
|
|
2590
|
+
/**
|
|
2591
|
+
* Determines whether to display a week number column of the Calendar inside the DateTimePicker
|
|
2592
|
+
* ([see example]({% slug weeksnumbers_calendar %})).
|
|
2593
|
+
*/
|
|
2594
|
+
weekNumber?: boolean;
|
|
2595
|
+
/**
|
|
2596
|
+
* Specifies the width of the DateTimePicker.
|
|
2597
|
+
*/
|
|
2598
|
+
width?: number | string;
|
|
2599
|
+
/**
|
|
2600
|
+
* Determines whether to display the **Cancel** button in the popup.
|
|
2601
|
+
*/
|
|
2602
|
+
cancelButton?: boolean;
|
|
2603
|
+
/**
|
|
2604
|
+
* Specifies the validate of the DateTimePicker.
|
|
2605
|
+
*/
|
|
2606
|
+
validate?: boolean;
|
|
2607
|
+
/**
|
|
2608
|
+
* Controls the form error message of the component. If set to an empty string, no error will be thrown.
|
|
2609
|
+
*
|
|
2610
|
+
*/
|
|
2611
|
+
validationMessage?: string;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* @hidden
|
|
2616
|
+
*/
|
|
2617
|
+
declare interface DateTimeSelectorChangeEvent {
|
|
2618
|
+
event?: any;
|
|
2619
|
+
value: Date | null;
|
|
2620
|
+
target: any;
|
|
2621
|
+
cancelButton?: boolean;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* @hidden
|
|
2626
|
+
*/
|
|
2627
|
+
declare interface NavigationEventArguments {
|
|
2628
|
+
event?: any;
|
|
2629
|
+
value: Date;
|
|
2630
|
+
target: any;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* @hidden
|
|
2635
|
+
*/
|
|
2636
|
+
export declare const PickerWrap: DefineComponent<ExtractPropTypes< {
|
|
2637
|
+
id: StringConstructor;
|
|
2638
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2639
|
+
id: StringConstructor;
|
|
2640
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* Represents the props of the Kendo UI for
|
|
2644
|
+
* Vue [PickerWrap]({% slug api_dateinputs_pickerwrapprops %}) component.
|
|
2645
|
+
*/
|
|
2646
|
+
export declare interface PickerWrapProps {
|
|
2647
|
+
id?: string;
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* @hidden
|
|
2652
|
+
*/
|
|
2653
|
+
declare interface ReverseClickEvent {
|
|
2654
|
+
event?: any;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* @hidden
|
|
2659
|
+
*/
|
|
2660
|
+
declare type Selection_2 = {
|
|
2661
|
+
start: number;
|
|
2662
|
+
end: number;
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
/**
|
|
2666
|
+
* The type that defines the selection range of the Calendar.
|
|
2667
|
+
*/
|
|
2668
|
+
export declare interface SelectionRange {
|
|
2669
|
+
/**
|
|
2670
|
+
* The beginning of the selection range.
|
|
2671
|
+
*/
|
|
2672
|
+
start: Date | null;
|
|
2673
|
+
/**
|
|
2674
|
+
* The end of the selection range.
|
|
2675
|
+
*/
|
|
2676
|
+
end: Date | null;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* The literal type that defines which end of the selection range is active.
|
|
2681
|
+
*/
|
|
2682
|
+
declare type SelectionRangeEnd = 'start' | 'end' | null;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* @hidden
|
|
2686
|
+
*/
|
|
2687
|
+
export declare const TimePicker: DefineComponent<ExtractPropTypes< {
|
|
2688
|
+
cancelButton: {
|
|
2689
|
+
type: PropType<boolean>;
|
|
2690
|
+
default: boolean;
|
|
2691
|
+
};
|
|
2692
|
+
nowButton: {
|
|
2693
|
+
type: PropType<boolean>;
|
|
2694
|
+
default: any;
|
|
2695
|
+
};
|
|
2696
|
+
defaultShow: {
|
|
2697
|
+
type: PropType<boolean>;
|
|
2698
|
+
default: boolean;
|
|
2699
|
+
};
|
|
2700
|
+
modelValue: {
|
|
2701
|
+
type: PropType<Date>;
|
|
2702
|
+
default: any;
|
|
2703
|
+
};
|
|
2704
|
+
defaultValue: {
|
|
2705
|
+
type: PropType<Date>;
|
|
2706
|
+
default: () => any;
|
|
2707
|
+
};
|
|
2708
|
+
dateInput: {
|
|
2709
|
+
type: PropType<any>;
|
|
2710
|
+
default: () => any;
|
|
2711
|
+
};
|
|
2712
|
+
popup: {
|
|
2713
|
+
type: PropType<any>;
|
|
2714
|
+
default: () => any;
|
|
2715
|
+
};
|
|
2716
|
+
disabled: {
|
|
2717
|
+
type: PropType<boolean>;
|
|
2718
|
+
default: boolean;
|
|
2719
|
+
};
|
|
2720
|
+
format: {
|
|
2721
|
+
type: PropType<string | DateFormatOptions>;
|
|
2722
|
+
default: () => "t";
|
|
2723
|
+
};
|
|
2724
|
+
formatPlaceholder: {
|
|
2725
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
2726
|
+
default: () => DateInputFormatPlaceholder;
|
|
2727
|
+
};
|
|
2728
|
+
rounded: {
|
|
2729
|
+
type: PropType<string>;
|
|
2730
|
+
default: string;
|
|
2731
|
+
validator: (value: string) => any;
|
|
2732
|
+
};
|
|
2733
|
+
fillMode: {
|
|
2734
|
+
type: PropType<string>;
|
|
2735
|
+
default: string;
|
|
2736
|
+
validator: (value: string) => any;
|
|
2737
|
+
};
|
|
2738
|
+
size: {
|
|
2739
|
+
type: PropType<string>;
|
|
2740
|
+
default: string;
|
|
2741
|
+
validator: (value: string) => any;
|
|
2742
|
+
};
|
|
2743
|
+
id: PropType<string>;
|
|
2744
|
+
ariaLabelledBy: PropType<string>;
|
|
2745
|
+
ariaDescribedBy: PropType<string>;
|
|
2746
|
+
min: {
|
|
2747
|
+
type: PropType<Date>;
|
|
2748
|
+
default: () => Date;
|
|
2749
|
+
};
|
|
2750
|
+
max: {
|
|
2751
|
+
type: PropType<Date>;
|
|
2752
|
+
default: () => Date;
|
|
2753
|
+
};
|
|
2754
|
+
name: PropType<string>;
|
|
2755
|
+
label: PropType<string>;
|
|
2756
|
+
placeholder: PropType<string>;
|
|
2757
|
+
popupSettings: {
|
|
2758
|
+
type: PropType<PopupProps>;
|
|
2759
|
+
default: () => {};
|
|
2760
|
+
};
|
|
2761
|
+
show: {
|
|
2762
|
+
type: PropType<boolean>;
|
|
2763
|
+
default: any;
|
|
2764
|
+
};
|
|
2765
|
+
tabIndex: {
|
|
2766
|
+
type: PropType<number>;
|
|
2767
|
+
default: number;
|
|
2768
|
+
};
|
|
2769
|
+
steps: {
|
|
2770
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
2771
|
+
default: () => {};
|
|
2772
|
+
};
|
|
2773
|
+
smoothScroll: {
|
|
2774
|
+
type: PropType<boolean>;
|
|
2775
|
+
default: boolean;
|
|
2776
|
+
};
|
|
2777
|
+
title: {
|
|
2778
|
+
type: PropType<string>;
|
|
2779
|
+
default: () => "";
|
|
2780
|
+
};
|
|
2781
|
+
value: {
|
|
2782
|
+
type: PropType<Date>;
|
|
2783
|
+
default: () => any;
|
|
2784
|
+
};
|
|
2785
|
+
width: PropType<string | number>;
|
|
2786
|
+
validationMessage: PropType<string>;
|
|
2787
|
+
required: {
|
|
2788
|
+
type: PropType<boolean>;
|
|
2789
|
+
default: boolean;
|
|
2790
|
+
};
|
|
2791
|
+
validityStyles: {
|
|
2792
|
+
type: PropType<boolean>;
|
|
2793
|
+
default: boolean;
|
|
2794
|
+
};
|
|
2795
|
+
validate: PropType<boolean>;
|
|
2796
|
+
valid: {
|
|
2797
|
+
type: PropType<boolean>;
|
|
2798
|
+
default: any;
|
|
2799
|
+
};
|
|
2800
|
+
}>, {
|
|
2801
|
+
kendoAnchorRef: Ref<any, any>;
|
|
2802
|
+
kendoLocalizationService: {};
|
|
2803
|
+
}, {
|
|
2804
|
+
currentValue: any;
|
|
2805
|
+
currentShow: boolean;
|
|
2806
|
+
valueDuringOnChange: any;
|
|
2807
|
+
showDuringOnChange: any;
|
|
2808
|
+
isFocused: boolean;
|
|
2809
|
+
}, {
|
|
2810
|
+
timeSelector(): any;
|
|
2811
|
+
computedValue(): Date | null;
|
|
2812
|
+
computedShow(): boolean;
|
|
2813
|
+
}, {
|
|
2814
|
+
validity(): FormComponentValidity;
|
|
2815
|
+
getDateInputText(): any;
|
|
2816
|
+
focus(): void;
|
|
2817
|
+
normalizeTime(date: Date): Date;
|
|
2818
|
+
setShow(show: boolean): void;
|
|
2819
|
+
mergeTime(value: Date | null): Date | null;
|
|
2820
|
+
handleInputValueChange(event: DateInputChangeEvent): void;
|
|
2821
|
+
handleValueChange(event: DateInputChangeEvent | TimeSelectorChangeEvent): void;
|
|
2822
|
+
handleFocus(event: any): void;
|
|
2823
|
+
handleBlur(event: any): void;
|
|
2824
|
+
timeBlur(event: any): void;
|
|
2825
|
+
timeFocus(): void;
|
|
2826
|
+
createBlurTimeout(): void;
|
|
2827
|
+
handleValueReject(_: any): void;
|
|
2828
|
+
handleIconClick(event: any): void;
|
|
2829
|
+
handleIconMouseDown(event: any): void;
|
|
2830
|
+
handleKeyDown(event: any): void;
|
|
2831
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2832
|
+
changemodel: any;
|
|
2833
|
+
'update:modelValue': any;
|
|
2834
|
+
iconclick: any;
|
|
2835
|
+
change: any;
|
|
2836
|
+
focus: any;
|
|
2837
|
+
blur: any;
|
|
2838
|
+
keydown: any;
|
|
2839
|
+
open: any;
|
|
2840
|
+
close: any;
|
|
2841
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2842
|
+
cancelButton: {
|
|
2843
|
+
type: PropType<boolean>;
|
|
2844
|
+
default: boolean;
|
|
2845
|
+
};
|
|
2846
|
+
nowButton: {
|
|
2847
|
+
type: PropType<boolean>;
|
|
2848
|
+
default: any;
|
|
2849
|
+
};
|
|
2850
|
+
defaultShow: {
|
|
2851
|
+
type: PropType<boolean>;
|
|
2852
|
+
default: boolean;
|
|
2853
|
+
};
|
|
2854
|
+
modelValue: {
|
|
2855
|
+
type: PropType<Date>;
|
|
2856
|
+
default: any;
|
|
2857
|
+
};
|
|
2858
|
+
defaultValue: {
|
|
2859
|
+
type: PropType<Date>;
|
|
2860
|
+
default: () => any;
|
|
2861
|
+
};
|
|
2862
|
+
dateInput: {
|
|
2863
|
+
type: PropType<any>;
|
|
2864
|
+
default: () => any;
|
|
2865
|
+
};
|
|
2866
|
+
popup: {
|
|
2867
|
+
type: PropType<any>;
|
|
2868
|
+
default: () => any;
|
|
2869
|
+
};
|
|
2870
|
+
disabled: {
|
|
2871
|
+
type: PropType<boolean>;
|
|
2872
|
+
default: boolean;
|
|
2873
|
+
};
|
|
2874
|
+
format: {
|
|
2875
|
+
type: PropType<string | DateFormatOptions>;
|
|
2876
|
+
default: () => "t";
|
|
2877
|
+
};
|
|
2878
|
+
formatPlaceholder: {
|
|
2879
|
+
type: PropType<DateInputFormatPlaceholder>;
|
|
2880
|
+
default: () => DateInputFormatPlaceholder;
|
|
2881
|
+
};
|
|
2882
|
+
rounded: {
|
|
2883
|
+
type: PropType<string>;
|
|
2884
|
+
default: string;
|
|
2885
|
+
validator: (value: string) => any;
|
|
2886
|
+
};
|
|
2887
|
+
fillMode: {
|
|
2888
|
+
type: PropType<string>;
|
|
2889
|
+
default: string;
|
|
2890
|
+
validator: (value: string) => any;
|
|
2891
|
+
};
|
|
2892
|
+
size: {
|
|
2893
|
+
type: PropType<string>;
|
|
2894
|
+
default: string;
|
|
2895
|
+
validator: (value: string) => any;
|
|
2896
|
+
};
|
|
2897
|
+
id: PropType<string>;
|
|
2898
|
+
ariaLabelledBy: PropType<string>;
|
|
2899
|
+
ariaDescribedBy: PropType<string>;
|
|
2900
|
+
min: {
|
|
2901
|
+
type: PropType<Date>;
|
|
2902
|
+
default: () => Date;
|
|
2903
|
+
};
|
|
2904
|
+
max: {
|
|
2905
|
+
type: PropType<Date>;
|
|
2906
|
+
default: () => Date;
|
|
2907
|
+
};
|
|
2908
|
+
name: PropType<string>;
|
|
2909
|
+
label: PropType<string>;
|
|
2910
|
+
placeholder: PropType<string>;
|
|
2911
|
+
popupSettings: {
|
|
2912
|
+
type: PropType<PopupProps>;
|
|
2913
|
+
default: () => {};
|
|
2914
|
+
};
|
|
2915
|
+
show: {
|
|
2916
|
+
type: PropType<boolean>;
|
|
2917
|
+
default: any;
|
|
2918
|
+
};
|
|
2919
|
+
tabIndex: {
|
|
2920
|
+
type: PropType<number>;
|
|
2921
|
+
default: number;
|
|
2922
|
+
};
|
|
2923
|
+
steps: {
|
|
2924
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
2925
|
+
default: () => {};
|
|
2926
|
+
};
|
|
2927
|
+
smoothScroll: {
|
|
2928
|
+
type: PropType<boolean>;
|
|
2929
|
+
default: boolean;
|
|
2930
|
+
};
|
|
2931
|
+
title: {
|
|
2932
|
+
type: PropType<string>;
|
|
2933
|
+
default: () => "";
|
|
2934
|
+
};
|
|
2935
|
+
value: {
|
|
2936
|
+
type: PropType<Date>;
|
|
2937
|
+
default: () => any;
|
|
2938
|
+
};
|
|
2939
|
+
width: PropType<string | number>;
|
|
2940
|
+
validationMessage: PropType<string>;
|
|
2941
|
+
required: {
|
|
2942
|
+
type: PropType<boolean>;
|
|
2943
|
+
default: boolean;
|
|
2944
|
+
};
|
|
2945
|
+
validityStyles: {
|
|
2946
|
+
type: PropType<boolean>;
|
|
2947
|
+
default: boolean;
|
|
2948
|
+
};
|
|
2949
|
+
validate: PropType<boolean>;
|
|
2950
|
+
valid: {
|
|
2951
|
+
type: PropType<boolean>;
|
|
2952
|
+
default: any;
|
|
2953
|
+
};
|
|
2954
|
+
}>> & Readonly<{
|
|
2955
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
2956
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
2957
|
+
onClose?: (...args: any[] | unknown[]) => any;
|
|
2958
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
2959
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
2960
|
+
onOpen?: (...args: any[] | unknown[]) => any;
|
|
2961
|
+
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
2962
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
2963
|
+
onIconclick?: (...args: any[] | unknown[]) => any;
|
|
2964
|
+
}>, {
|
|
2965
|
+
required: boolean;
|
|
2966
|
+
value: Date;
|
|
2967
|
+
title: string;
|
|
2968
|
+
tabIndex: number;
|
|
2969
|
+
size: string;
|
|
2970
|
+
format: "t";
|
|
2971
|
+
max: Date;
|
|
2972
|
+
min: Date;
|
|
2973
|
+
rounded: string;
|
|
2974
|
+
fillMode: string;
|
|
2975
|
+
disabled: boolean;
|
|
2976
|
+
defaultValue: Date;
|
|
2977
|
+
show: boolean;
|
|
2978
|
+
popupSettings: PopupProps;
|
|
2979
|
+
popup: any;
|
|
2980
|
+
modelValue: Date;
|
|
2981
|
+
steps: TimePickerIncrementalSteps;
|
|
2982
|
+
validityStyles: boolean;
|
|
2983
|
+
valid: boolean;
|
|
2984
|
+
formatPlaceholder: DateInputFormatPlaceholder;
|
|
2985
|
+
defaultShow: boolean;
|
|
2986
|
+
dateInput: any;
|
|
2987
|
+
smoothScroll: boolean;
|
|
2988
|
+
cancelButton: boolean;
|
|
2989
|
+
nowButton: boolean;
|
|
2990
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* The arguments for the `onChange` event of the TimePicker.
|
|
2994
|
+
*/
|
|
2995
|
+
export declare interface TimePickerChangeEvent {
|
|
2996
|
+
event?: any;
|
|
2997
|
+
value: Date | null;
|
|
2998
|
+
show: boolean;
|
|
2999
|
+
target: any;
|
|
3000
|
+
}
|
|
3001
|
+
|
|
3002
|
+
/**
|
|
3003
|
+
* The arguments for the `close` event of the TimePicker.
|
|
3004
|
+
*/
|
|
3005
|
+
export declare interface TimePickerCloseEvent {
|
|
3006
|
+
component: any;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* The interface which defines all possible incremental steps in the TimePicker.
|
|
3011
|
+
*/
|
|
3012
|
+
declare interface TimePickerIncrementalSteps {
|
|
3013
|
+
hour?: number;
|
|
3014
|
+
minute?: number;
|
|
3015
|
+
second?: number;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* The arguments for the `open` event of the TimePicker.
|
|
3020
|
+
*/
|
|
3021
|
+
export declare interface TimePickerOpenEvent {
|
|
3022
|
+
component: any;
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Represents the props of the [Kendo UI for Vue TimePicker component]({% slug overview_timepicker %}).
|
|
3027
|
+
*/
|
|
3028
|
+
export declare interface TimePickerProps extends TimePickerSettings, FormComponentProps {
|
|
3029
|
+
/**
|
|
3030
|
+
* @hidden
|
|
3031
|
+
*/
|
|
3032
|
+
modelValue?: Date;
|
|
3033
|
+
/**
|
|
3034
|
+
* Sets the default value of the TimePicker ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-value)).
|
|
3035
|
+
*/
|
|
3036
|
+
defaultValue?: Date;
|
|
3037
|
+
/**
|
|
3038
|
+
* Fires each time the user selects a new value ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
|
|
3039
|
+
*/
|
|
3040
|
+
onChange?: (event: TimePickerChangeEvent) => void;
|
|
3041
|
+
/**
|
|
3042
|
+
* Specifies the value of the TimePicker ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
|
|
3043
|
+
*
|
|
3044
|
+
* > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
|
|
3045
|
+
*/
|
|
3046
|
+
value?: Date | null;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
/**
|
|
3050
|
+
* @hidden
|
|
3051
|
+
*/
|
|
3052
|
+
export declare interface TimePickerSettings {
|
|
3053
|
+
/**
|
|
3054
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
3055
|
+
* For example these elements could contain error or hint message.
|
|
3056
|
+
*/
|
|
3057
|
+
ariaDescribedBy?: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* Identifies the element(s) which will label the component.
|
|
3060
|
+
*/
|
|
3061
|
+
ariaLabelledBy?: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* Determines whether to display the **Cancel** button in the popup.
|
|
3064
|
+
*/
|
|
3065
|
+
cancelButton?: boolean;
|
|
3066
|
+
/**
|
|
3067
|
+
* Determines whether to display the **Now** button in the popup.
|
|
3068
|
+
*
|
|
3069
|
+
* > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
3070
|
+
*/
|
|
3071
|
+
nowButton?: boolean;
|
|
3072
|
+
/**
|
|
3073
|
+
* Sets the default state of the popup upon render ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-popup-state)).
|
|
3074
|
+
*/
|
|
3075
|
+
defaultShow?: boolean;
|
|
3076
|
+
/**
|
|
3077
|
+
* Determines whether the TimePicker is disabled ([see example]({% slug disabled_timepicker %})).
|
|
3078
|
+
*/
|
|
3079
|
+
disabled?: boolean;
|
|
3080
|
+
/**
|
|
3081
|
+
* Specifies the date format that is used to display the input value ([see example]({% slug formats_timepicker %})).
|
|
3082
|
+
*/
|
|
3083
|
+
format?: string | DateFormatOptions;
|
|
3084
|
+
/**
|
|
3085
|
+
* Defines the descriptions of the format sections in the input field ([see example]({% slug placeholders_timepicker %})).
|
|
3086
|
+
*/
|
|
3087
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
3088
|
+
/**
|
|
3089
|
+
* Specifies the `id` of the TimePicker.
|
|
3090
|
+
*/
|
|
3091
|
+
id?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Specifies the greatest valid time ([see example]({% slug timeranges_timepicker %})).
|
|
3094
|
+
*/
|
|
3095
|
+
max?: Date;
|
|
3096
|
+
/**
|
|
3097
|
+
* Specifies the smallest valid time ([see example]({% slug timeranges_timepicker %})).
|
|
3098
|
+
*/
|
|
3099
|
+
min?: Date;
|
|
3100
|
+
/**
|
|
3101
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
3102
|
+
*/
|
|
3103
|
+
name?: string;
|
|
3104
|
+
/**
|
|
3105
|
+
* Renders a floating label for the TimePicker.
|
|
3106
|
+
*/
|
|
3107
|
+
label?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* Specifies the value of the placeholder.
|
|
3110
|
+
*/
|
|
3111
|
+
placeholder?: string;
|
|
3112
|
+
/**
|
|
3113
|
+
* Configures the `size` of the TimeInput.
|
|
3114
|
+
*
|
|
3115
|
+
* The available options are:
|
|
3116
|
+
* - small
|
|
3117
|
+
* - medium
|
|
3118
|
+
* - large
|
|
3119
|
+
* - null—Does not set a size `class`.
|
|
3120
|
+
*
|
|
3121
|
+
* @default `medium`
|
|
3122
|
+
*/
|
|
3123
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
3124
|
+
/**
|
|
3125
|
+
* Configures the `roundness` of the TimeInput.
|
|
3126
|
+
*
|
|
3127
|
+
* The available options are:
|
|
3128
|
+
* - small
|
|
3129
|
+
* - medium
|
|
3130
|
+
* - large
|
|
3131
|
+
* - circle
|
|
3132
|
+
* - full
|
|
3133
|
+
* - null—Does not set a rounded `class`.
|
|
3134
|
+
*
|
|
3135
|
+
* @default `medium`
|
|
3136
|
+
*/
|
|
3137
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
3138
|
+
/**
|
|
3139
|
+
* Configures the `fillMode` of the TimeInput.
|
|
3140
|
+
*
|
|
3141
|
+
* The available options are:
|
|
3142
|
+
* - solid
|
|
3143
|
+
* - outline
|
|
3144
|
+
* - flat
|
|
3145
|
+
* - link
|
|
3146
|
+
* - null—Does not set a fillMode `class`.
|
|
3147
|
+
*
|
|
3148
|
+
* @default `solid`
|
|
3149
|
+
*/
|
|
3150
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
3151
|
+
/**
|
|
3152
|
+
* Fires each time any of the TimePicker elements gets blurred.
|
|
3153
|
+
*/
|
|
3154
|
+
onBlur?: (event: any) => void;
|
|
3155
|
+
/**
|
|
3156
|
+
* Fires each time the user focuses any of the TimePicker elements.
|
|
3157
|
+
*/
|
|
3158
|
+
onFocus?: (event: any) => void;
|
|
3159
|
+
/**
|
|
3160
|
+
* Fires when the icon element is clicked.
|
|
3161
|
+
*/
|
|
3162
|
+
onIconclick?: (event: any) => void;
|
|
3163
|
+
/**
|
|
3164
|
+
* Configures the popup options of the TimePicker.
|
|
3165
|
+
*
|
|
3166
|
+
* The available options are:
|
|
3167
|
+
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
3168
|
+
* - `appendTo:`— Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
3169
|
+
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
3170
|
+
*/
|
|
3171
|
+
popupSettings?: DateInputsPopupSettings;
|
|
3172
|
+
/**
|
|
3173
|
+
* Specifies if a time selector will be displayed ([see example]({% slug controlled_timepicker %}#toc-controlling-the-popup-state)).
|
|
3174
|
+
*/
|
|
3175
|
+
show?: boolean;
|
|
3176
|
+
/**
|
|
3177
|
+
* Configures the incremental steps of the TimePicker ([see example]({% slug incrementalsteps_timepicker %})).
|
|
3178
|
+
*
|
|
3179
|
+
* > If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
3180
|
+
*/
|
|
3181
|
+
steps?: TimePickerIncrementalSteps;
|
|
3182
|
+
/**
|
|
3183
|
+
* Toggles the smooth scroll animation on time click. By default, the animation is enabled.
|
|
3184
|
+
*/
|
|
3185
|
+
smoothScroll?: boolean;
|
|
3186
|
+
/**
|
|
3187
|
+
* Sets the `tabIndex` property of the TimePicker.
|
|
3188
|
+
*/
|
|
3189
|
+
tabIndex?: number;
|
|
3190
|
+
/**
|
|
3191
|
+
* Sets the title of the `input` element of the TimePicker.
|
|
3192
|
+
*/
|
|
3193
|
+
title?: string;
|
|
3194
|
+
/**
|
|
3195
|
+
* Specifies the width of the TimePicker.
|
|
3196
|
+
*/
|
|
3197
|
+
width?: number | string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Enables the customization or the override of the default Popup which is rendered by the TimePicker
|
|
3200
|
+
* ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-popup)).
|
|
3201
|
+
*/
|
|
3202
|
+
popup?: any;
|
|
3203
|
+
/**
|
|
3204
|
+
* Enables the customization or the override of the default DateInput which is rendered by the TimePicker
|
|
3205
|
+
* ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-dateinput)).
|
|
3206
|
+
*/
|
|
3207
|
+
dateInput?: any;
|
|
3208
|
+
/**
|
|
3209
|
+
* Specifies the validate of the TimePicker.
|
|
3210
|
+
*/
|
|
3211
|
+
validate?: boolean;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* @hidden
|
|
3216
|
+
*/
|
|
3217
|
+
declare interface TimeSelectorChangeEvent {
|
|
3218
|
+
event?: any;
|
|
3219
|
+
value: Date;
|
|
3220
|
+
target: any;
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* @hidden
|
|
3225
|
+
*/
|
|
3226
|
+
export declare const ToggleButton: DefineComponent<ExtractPropTypes< {
|
|
3227
|
+
ariaLabel: PropType<string>;
|
|
3228
|
+
ariaPressed: PropType<boolean>;
|
|
3229
|
+
title: PropType<string>;
|
|
3230
|
+
dir: PropType<string>;
|
|
3231
|
+
selected: {
|
|
3232
|
+
type: PropType<boolean>;
|
|
3233
|
+
default: any;
|
|
3234
|
+
};
|
|
3235
|
+
togglable: {
|
|
3236
|
+
type: PropType<boolean>;
|
|
3237
|
+
default: boolean;
|
|
3238
|
+
};
|
|
3239
|
+
icon: {
|
|
3240
|
+
type: PropType<string>;
|
|
3241
|
+
default: () => any;
|
|
3242
|
+
};
|
|
3243
|
+
svgIcon: PropType<SVGIcon>;
|
|
3244
|
+
iconClass: {
|
|
3245
|
+
type: PropType<string>;
|
|
3246
|
+
default: () => any;
|
|
3247
|
+
};
|
|
3248
|
+
imageUrl: {
|
|
3249
|
+
type: PropType<string>;
|
|
3250
|
+
default: () => any;
|
|
3251
|
+
};
|
|
3252
|
+
imageAlt: PropType<string>;
|
|
3253
|
+
disabled: {
|
|
3254
|
+
type: PropType<boolean>;
|
|
3255
|
+
default: any;
|
|
3256
|
+
};
|
|
3257
|
+
size: {
|
|
3258
|
+
type: PropType<string>;
|
|
3259
|
+
default: string;
|
|
3260
|
+
};
|
|
3261
|
+
shape: {
|
|
3262
|
+
type: PropType<string>;
|
|
3263
|
+
};
|
|
3264
|
+
rounded: {
|
|
3265
|
+
type: PropType<string>;
|
|
3266
|
+
default: string;
|
|
3267
|
+
};
|
|
3268
|
+
fillMode: {
|
|
3269
|
+
type: PropType<string>;
|
|
3270
|
+
default: string;
|
|
3271
|
+
};
|
|
3272
|
+
themeColor: {
|
|
3273
|
+
type: PropType<string>;
|
|
3274
|
+
default: string;
|
|
3275
|
+
};
|
|
3276
|
+
tabIndex: PropType<number>;
|
|
3277
|
+
accessKey: PropType<string>;
|
|
3278
|
+
id: PropType<string>;
|
|
3279
|
+
type: PropType<string>;
|
|
3280
|
+
role: PropType<string>;
|
|
3281
|
+
}>, {}, {
|
|
3282
|
+
currentActive: any;
|
|
3283
|
+
}, {
|
|
3284
|
+
computedSelected(): boolean;
|
|
3285
|
+
buttonClasses(): {
|
|
3286
|
+
[x: string]: any;
|
|
3287
|
+
'k-icon-button': boolean;
|
|
3288
|
+
'k-disabled': any;
|
|
3289
|
+
'k-selected': any;
|
|
3290
|
+
'k-rtl': boolean;
|
|
3291
|
+
};
|
|
3292
|
+
}, {
|
|
3293
|
+
focus(e: any): void;
|
|
3294
|
+
toggleIfApplicable(): void;
|
|
3295
|
+
handleClick(event: any): void;
|
|
3296
|
+
handleMouseDown(event: any): void;
|
|
3297
|
+
handlePointerDown(event: any): void;
|
|
3298
|
+
handleMouseUp(event: any): void;
|
|
3299
|
+
handlePointerUp(event: any): void;
|
|
3300
|
+
handleFocus(event: any): void;
|
|
3301
|
+
handleBlur(event: any): void;
|
|
3302
|
+
handleKeypress(event: any): void;
|
|
3303
|
+
handleKeydown(event: any): void;
|
|
3304
|
+
handleContextmenu(event: any): void;
|
|
3305
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3306
|
+
click: any;
|
|
3307
|
+
mousedown: any;
|
|
3308
|
+
mouseup: any;
|
|
3309
|
+
pointerdown: any;
|
|
3310
|
+
pointerup: any;
|
|
3311
|
+
focus: any;
|
|
3312
|
+
blur: any;
|
|
3313
|
+
keypress: any;
|
|
3314
|
+
keydown: any;
|
|
3315
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3316
|
+
ariaLabel: PropType<string>;
|
|
3317
|
+
ariaPressed: PropType<boolean>;
|
|
3318
|
+
title: PropType<string>;
|
|
3319
|
+
dir: PropType<string>;
|
|
3320
|
+
selected: {
|
|
3321
|
+
type: PropType<boolean>;
|
|
3322
|
+
default: any;
|
|
3323
|
+
};
|
|
3324
|
+
togglable: {
|
|
3325
|
+
type: PropType<boolean>;
|
|
3326
|
+
default: boolean;
|
|
3327
|
+
};
|
|
3328
|
+
icon: {
|
|
3329
|
+
type: PropType<string>;
|
|
3330
|
+
default: () => any;
|
|
3331
|
+
};
|
|
3332
|
+
svgIcon: PropType<SVGIcon>;
|
|
3333
|
+
iconClass: {
|
|
3334
|
+
type: PropType<string>;
|
|
3335
|
+
default: () => any;
|
|
3336
|
+
};
|
|
3337
|
+
imageUrl: {
|
|
3338
|
+
type: PropType<string>;
|
|
3339
|
+
default: () => any;
|
|
3340
|
+
};
|
|
3341
|
+
imageAlt: PropType<string>;
|
|
3342
|
+
disabled: {
|
|
3343
|
+
type: PropType<boolean>;
|
|
3344
|
+
default: any;
|
|
3345
|
+
};
|
|
3346
|
+
size: {
|
|
3347
|
+
type: PropType<string>;
|
|
3348
|
+
default: string;
|
|
3349
|
+
};
|
|
3350
|
+
shape: {
|
|
3351
|
+
type: PropType<string>;
|
|
3352
|
+
};
|
|
3353
|
+
rounded: {
|
|
3354
|
+
type: PropType<string>;
|
|
3355
|
+
default: string;
|
|
3356
|
+
};
|
|
3357
|
+
fillMode: {
|
|
3358
|
+
type: PropType<string>;
|
|
3359
|
+
default: string;
|
|
3360
|
+
};
|
|
3361
|
+
themeColor: {
|
|
3362
|
+
type: PropType<string>;
|
|
3363
|
+
default: string;
|
|
3364
|
+
};
|
|
3365
|
+
tabIndex: PropType<number>;
|
|
3366
|
+
accessKey: PropType<string>;
|
|
3367
|
+
id: PropType<string>;
|
|
3368
|
+
type: PropType<string>;
|
|
3369
|
+
role: PropType<string>;
|
|
3370
|
+
}>> & Readonly<{
|
|
3371
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
3372
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
3373
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
3374
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
3375
|
+
onKeypress?: (...args: any[] | unknown[]) => any;
|
|
3376
|
+
onMousedown?: (...args: any[] | unknown[]) => any;
|
|
3377
|
+
onMouseup?: (...args: any[] | unknown[]) => any;
|
|
3378
|
+
onPointerdown?: (...args: any[] | unknown[]) => any;
|
|
3379
|
+
onPointerup?: (...args: any[] | unknown[]) => any;
|
|
3380
|
+
}>, {
|
|
3381
|
+
themeColor: string;
|
|
3382
|
+
size: string;
|
|
3383
|
+
icon: string;
|
|
3384
|
+
rounded: string;
|
|
3385
|
+
fillMode: string;
|
|
3386
|
+
selected: boolean;
|
|
3387
|
+
togglable: boolean;
|
|
3388
|
+
iconClass: string;
|
|
3389
|
+
imageUrl: string;
|
|
3390
|
+
disabled: boolean;
|
|
3391
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* @hidden
|
|
3395
|
+
*/
|
|
3396
|
+
declare interface ViewListEventArguments {
|
|
3397
|
+
event?: any;
|
|
3398
|
+
value: Date;
|
|
3399
|
+
target: any;
|
|
3400
|
+
isTodayClick?: boolean;
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
/**
|
|
3404
|
+
* @hidden
|
|
3405
|
+
*/
|
|
3406
|
+
declare interface ViewWeekCellEventArguments {
|
|
3407
|
+
event?: any;
|
|
3408
|
+
value: number | null;
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* @hidden
|
|
3413
|
+
*/
|
|
3414
|
+
declare interface ViewWeekNameEventArguments {
|
|
3415
|
+
event?: any;
|
|
3416
|
+
value: string | null;
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
export { }
|