@progress/kendo-react-dateinputs 7.2.4-develop.3 → 7.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/calendar/components/Calendar.js +12 -0
- package/calendar/components/Calendar.mjs +328 -0
- package/calendar/components/CalendarCell.js +8 -0
- package/calendar/components/CalendarCell.mjs +101 -0
- package/calendar/components/CalendarHeaderTitle.js +8 -0
- package/calendar/components/CalendarHeaderTitle.mjs +23 -0
- package/calendar/components/CalendarNavigationItem.js +8 -0
- package/calendar/components/CalendarNavigationItem.mjs +29 -0
- package/calendar/components/CalendarWeekCell.js +8 -0
- package/calendar/components/CalendarWeekCell.mjs +23 -0
- package/calendar/components/Header.js +8 -0
- package/calendar/components/Header.mjs +78 -0
- package/calendar/components/HorizontalViewList.js +8 -0
- package/calendar/components/HorizontalViewList.mjs +120 -0
- package/calendar/components/MultiViewCalendar.js +8 -0
- package/calendar/components/MultiViewCalendar.mjs +428 -0
- package/calendar/components/Navigation.js +8 -0
- package/calendar/components/Navigation.mjs +117 -0
- package/calendar/components/TodayCommand.js +8 -0
- package/calendar/components/TodayCommand.mjs +74 -0
- package/calendar/components/View.js +8 -0
- package/calendar/components/View.mjs +153 -0
- package/calendar/components/ViewList.js +8 -0
- package/calendar/components/ViewList.mjs +228 -0
- package/calendar/models/CalendarViewEnum.js +8 -0
- package/calendar/models/CalendarViewEnum.mjs +12 -0
- package/calendar/models/NavigationAction.js +8 -0
- package/calendar/models/NavigationAction.mjs +12 -0
- package/calendar/models/SelectionRange.js +8 -0
- package/calendar/models/SelectionRange.mjs +12 -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 +126 -0
- package/calendar/services/DOMService.js +14 -0
- package/calendar/services/DOMService.mjs +124 -0
- package/calendar/services/DecadeViewService.js +8 -0
- package/calendar/services/DecadeViewService.mjs +126 -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 +36 -0
- package/calendar/services/ScrollSyncService.js +8 -0
- package/calendar/services/ScrollSyncService.mjs +50 -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 +135 -0
- package/common/AdaptiveMode.js +8 -0
- package/common/AdaptiveMode.mjs +73 -0
- package/common/PickerWrap.js +8 -0
- package/common/PickerWrap.mjs +32 -0
- package/common/constants.js +8 -0
- package/common/constants.mjs +12 -0
- package/dateinput/DateInput.js +8 -0
- package/dateinput/DateInput.mjs +503 -0
- package/dateinput/models/kendo-date.js +8 -0
- package/dateinput/models/kendo-date.mjs +233 -0
- package/dateinput/models/mask.js +8 -0
- package/dateinput/models/mask.mjs +16 -0
- package/dateinput/utils.js +8 -0
- package/dateinput/utils.mjs +38 -0
- package/datepicker/DatePicker.js +8 -0
- package/datepicker/DatePicker.mjs +462 -0
- package/datepicker/ToggleButton.js +8 -0
- package/datepicker/ToggleButton.mjs +13 -0
- package/daterangepicker/DateRangePicker.js +8 -0
- package/daterangepicker/DateRangePicker.mjs +426 -0
- package/datetimepicker/DateTimePicker.js +8 -0
- package/datetimepicker/DateTimePicker.mjs +475 -0
- package/datetimepicker/DateTimeSelector.js +8 -0
- package/datetimepicker/DateTimeSelector.mjs +275 -0
- package/dist/cdn/js/kendo-react-dateinputs.js +8 -21
- package/hooks/usePickerFloatingLabel.js +8 -0
- package/hooks/usePickerFloatingLabel.mjs +31 -0
- package/index.d.mts +4528 -5
- package/index.d.ts +4528 -39
- package/index.js +8 -21
- package/index.mjs +114 -6540
- package/messages/index.js +8 -0
- package/messages/index.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +7 -7
- package/timepicker/TimeList.js +14 -0
- package/timepicker/TimeList.mjs +230 -0
- package/timepicker/TimePart.js +8 -0
- package/timepicker/TimePart.mjs +267 -0
- package/timepicker/TimePicker.js +8 -0
- package/timepicker/TimePicker.mjs +479 -0
- package/timepicker/TimeSelector.js +8 -0
- package/timepicker/TimeSelector.mjs +250 -0
- package/timepicker/models/TimePart.js +8 -0
- package/timepicker/models/TimePart.mjs +18 -0
- package/timepicker/services/DOMService.js +8 -0
- package/timepicker/services/DOMService.mjs +34 -0
- package/timepicker/services/DayPeriodService.js +8 -0
- package/timepicker/services/DayPeriodService.mjs +89 -0
- package/timepicker/services/HoursService.js +8 -0
- package/timepicker/services/HoursService.mjs +92 -0
- package/timepicker/services/MinutesService.js +8 -0
- package/timepicker/services/MinutesService.mjs +91 -0
- package/timepicker/services/SecondsService.js +8 -0
- package/timepicker/services/SecondsService.mjs +91 -0
- package/timepicker/utils.js +8 -0
- package/timepicker/utils.mjs +91 -0
- package/utils.js +8 -0
- package/utils.mjs +111 -0
- package/virtualization/Virtualization.js +8 -0
- package/virtualization/Virtualization.mjs +204 -0
- package/virtualization/services/RowHeightService.js +8 -0
- package/virtualization/services/RowHeightService.mjs +50 -0
- package/virtualization/services/ScrollerService.js +8 -0
- package/virtualization/services/ScrollerService.mjs +52 -0
- package/PopupSettings.d.ts +0 -18
- package/calendar/components/Calendar.d.ts +0 -191
- package/calendar/components/CalendarCell.d.ts +0 -39
- package/calendar/components/CalendarHeaderTitle.d.ts +0 -32
- package/calendar/components/CalendarNavigationItem.d.ts +0 -31
- package/calendar/components/CalendarWeekCell.d.ts +0 -29
- package/calendar/components/Header.d.ts +0 -58
- package/calendar/components/HorizontalViewList.d.ts +0 -71
- package/calendar/components/MultiViewCalendar.d.ts +0 -212
- package/calendar/components/Navigation.d.ts +0 -80
- package/calendar/components/TodayCommand.d.ts +0 -35
- package/calendar/components/View.d.ts +0 -89
- package/calendar/components/ViewList.d.ts +0 -115
- package/calendar/models/ActiveView.d.ts +0 -8
- package/calendar/models/CalendarSettings.d.ts +0 -106
- package/calendar/models/CalendarViewEnum.d.ts +0 -13
- package/calendar/models/CellContext.d.ts +0 -23
- package/calendar/models/MultiViewCalendarMode.d.ts +0 -13
- package/calendar/models/MultiViewCalendarSettings.d.ts +0 -115
- package/calendar/models/NavigationAction.d.ts +0 -19
- package/calendar/models/SelectionRange.d.ts +0 -21
- package/calendar/models/SelectionRangeEnd.d.ts +0 -8
- package/calendar/models/ViewService.d.ts +0 -29
- package/calendar/models/index.d.ts +0 -15
- package/calendar/services/BusViewService.d.ts +0 -25
- package/calendar/services/CenturyViewService.d.ts +0 -29
- package/calendar/services/DOMService.d.ts +0 -33
- package/calendar/services/DecadeViewService.d.ts +0 -31
- package/calendar/services/MonthViewService.d.ts +0 -37
- package/calendar/services/NavigationService.d.ts +0 -18
- package/calendar/services/ScrollSyncService.d.ts +0 -25
- package/calendar/services/WeekNamesService.d.ts +0 -13
- package/calendar/services/YearViewService.d.ts +0 -35
- package/calendar/services/index.d.ts +0 -14
- package/common/AdaptiveMode.d.ts +0 -25
- package/common/PickerWrap.d.ts +0 -22
- package/common/constants.d.ts +0 -8
- package/dateinput/DateInput.d.ts +0 -355
- package/dateinput/models/DateInputSettings.d.ts +0 -103
- package/dateinput/models/format-placeholder.d.ts +0 -43
- package/dateinput/models/incremental-steps.d.ts +0 -15
- package/dateinput/models/index.d.ts +0 -11
- package/dateinput/models/kendo-date.d.ts +0 -57
- package/dateinput/models/mask.d.ts +0 -11
- package/dateinput/models/selection.d.ts +0 -11
- package/dateinput/utils.d.ts +0 -34
- package/datepicker/DatePicker.d.ts +0 -358
- package/datepicker/ToggleButton.d.ts +0 -14
- package/datepicker/models/DatePickerSettings.d.ts +0 -141
- package/datepicker/models/index.d.ts +0 -6
- package/daterangepicker/DateRangePicker.d.ts +0 -354
- package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +0 -10
- package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +0 -10
- package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +0 -10
- package/daterangepicker/models/DateRangePickerSettings.d.ts +0 -126
- package/daterangepicker/models/index.d.ts +0 -9
- package/datetimepicker/DateTimePicker.d.ts +0 -342
- package/datetimepicker/DateTimeSelector.d.ts +0 -106
- package/datetimepicker/models/DateTimePickerSettings.d.ts +0 -144
- package/datetimepicker/models/index.d.ts +0 -6
- package/hooks/usePickerFloatingLabel.d.ts +0 -24
- package/messages/index.d.ts +0 -124
- package/package-metadata.d.ts +0 -9
- package/timepicker/TimeList.d.ts +0 -91
- package/timepicker/TimePart.d.ts +0 -141
- package/timepicker/TimePicker.d.ts +0 -355
- package/timepicker/TimeSelector.d.ts +0 -144
- package/timepicker/models/IncrementalSteps.d.ts +0 -12
- package/timepicker/models/ListItem.d.ts +0 -11
- package/timepicker/models/ListService.d.ts +0 -19
- package/timepicker/models/ListServiceSettings.d.ts +0 -16
- package/timepicker/models/TimePart.d.ts +0 -14
- package/timepicker/models/TimePickerSettings.d.ts +0 -133
- package/timepicker/models/index.d.ts +0 -11
- package/timepicker/services/DOMService.d.ts +0 -14
- package/timepicker/services/DayPeriodService.d.ts +0 -51
- package/timepicker/services/HoursService.d.ts +0 -37
- package/timepicker/services/MinutesService.d.ts +0 -36
- package/timepicker/services/SecondsService.d.ts +0 -36
- package/timepicker/services/index.d.ts +0 -10
- package/timepicker/utils.d.ts +0 -60
- package/utils.d.ts +0 -100
- package/virtualization/Virtualization.d.ts +0 -120
- package/virtualization/services/RowHeightService.d.ts +0 -22
- package/virtualization/services/ScrollerService.d.ts +0 -53
- package/virtualization/services/index.d.ts +0 -7
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from './NavigationAction';
|
|
6
|
-
import { CellContext } from './CellContext';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export interface ViewService {
|
|
11
|
-
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
12
|
-
addToDate(min: Date, skip: number): Date;
|
|
13
|
-
datesList(start: Date, count: number): Date[];
|
|
14
|
-
data(options: any): CellContext[][];
|
|
15
|
-
isEqual(candidate: Date, expected: Date): boolean;
|
|
16
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
17
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
18
|
-
isRangeStart(date: Date): boolean;
|
|
19
|
-
isInSameView(candidate: Date, value: Date): boolean;
|
|
20
|
-
move(date: Date, action: Action): Date;
|
|
21
|
-
cellTitle(current: Date): string;
|
|
22
|
-
navigationTitle(current: Date): string;
|
|
23
|
-
title(current: Date): string;
|
|
24
|
-
rowLength(prependCell?: boolean): number;
|
|
25
|
-
skip(value: Date, min: Date): number;
|
|
26
|
-
total(min: Date, max: Date): number;
|
|
27
|
-
value(current: Date): string;
|
|
28
|
-
viewDate(date: Date, max: Date, border: number): Date;
|
|
29
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from './NavigationAction';
|
|
6
|
-
import { type ActiveView } from './ActiveView';
|
|
7
|
-
import { type CalendarSettings } from './CalendarSettings';
|
|
8
|
-
import { CalendarViewEnum } from './CalendarViewEnum';
|
|
9
|
-
import { type CellContext } from './CellContext';
|
|
10
|
-
import { type MultiViewCalendarMode } from './MultiViewCalendarMode';
|
|
11
|
-
import { type MultiViewCalendarSettings } from './MultiViewCalendarSettings';
|
|
12
|
-
import { type SelectionRange, EMPTY_SELECTIONRANGE } from './SelectionRange';
|
|
13
|
-
import { type SelectionRangeEnd } from './SelectionRangeEnd';
|
|
14
|
-
import { type ViewService } from './ViewService';
|
|
15
|
-
export { Action, ActiveView, CalendarSettings, CalendarViewEnum, CellContext, EMPTY_SELECTIONRANGE, MultiViewCalendarMode, MultiViewCalendarSettings, SelectionRange, SelectionRangeEnd, ViewService };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ViewService } from '../models/ViewService';
|
|
6
|
-
import { IntlService } from '@progress/kendo-react-intl';
|
|
7
|
-
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class BusViewService {
|
|
12
|
-
private onViewChanged;
|
|
13
|
-
private bottom;
|
|
14
|
-
private top;
|
|
15
|
-
constructor(onViewChanged: any);
|
|
16
|
-
configure(bottom: CalendarViewEnum, top: CalendarViewEnum): void;
|
|
17
|
-
service(view: CalendarViewEnum, intl: IntlService): ViewService;
|
|
18
|
-
moveDown(view: CalendarViewEnum, event?: React.SyntheticEvent<any>): void;
|
|
19
|
-
moveUp(view: CalendarViewEnum, event?: React.SyntheticEvent<any>): void;
|
|
20
|
-
moveToBottom(activeView: CalendarViewEnum): void;
|
|
21
|
-
canMoveDown(view: CalendarViewEnum): boolean;
|
|
22
|
-
canMoveUp(view: CalendarViewEnum): boolean;
|
|
23
|
-
private clamp;
|
|
24
|
-
private move;
|
|
25
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action, CellContext, ViewService } from '../models';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class CenturyViewService implements ViewService {
|
|
10
|
-
addToDate(min: Date, skip: number): Date;
|
|
11
|
-
datesList(start: Date, count: number): Date[];
|
|
12
|
-
data(options: any): CellContext[][];
|
|
13
|
-
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
14
|
-
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
15
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
16
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
17
|
-
isInSameView(candidate: Date, value: Date): boolean;
|
|
18
|
-
isRangeStart(value: Date): boolean;
|
|
19
|
-
move(value: Date, action: Action): Date;
|
|
20
|
-
cellTitle(value: Date): string;
|
|
21
|
-
navigationTitle(value?: Date): string;
|
|
22
|
-
title(value?: Date): string;
|
|
23
|
-
rowLength(_?: boolean): number;
|
|
24
|
-
skip(value: Date, min: Date): number;
|
|
25
|
-
total(min: Date, max: Date): number;
|
|
26
|
-
value(current: Date): string;
|
|
27
|
-
viewDate(date: Date, max: Date, border?: number): Date;
|
|
28
|
-
private normalize;
|
|
29
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class DOMService {
|
|
10
|
-
calendarHeight: number;
|
|
11
|
-
headerHeight: number;
|
|
12
|
-
monthViewHeight: number;
|
|
13
|
-
yearViewHeight: number;
|
|
14
|
-
decadeViewHeight: number;
|
|
15
|
-
centuryViewHeight: number;
|
|
16
|
-
navigationItemHeight: number;
|
|
17
|
-
scrollableContentHeight: number;
|
|
18
|
-
scrollableYearContentHeight: number;
|
|
19
|
-
calendarWidth: number;
|
|
20
|
-
monthViewWidth: number;
|
|
21
|
-
yearViewWidth: number;
|
|
22
|
-
decadeViewWidth: number;
|
|
23
|
-
centuryViewWidth: number;
|
|
24
|
-
scrollableContentWidth: number;
|
|
25
|
-
didCalculate: boolean;
|
|
26
|
-
private hostContainer;
|
|
27
|
-
ensureHeights(): void;
|
|
28
|
-
calculateHeights(container?: HTMLElement): void;
|
|
29
|
-
viewHeight(viewType: CalendarViewEnum): number;
|
|
30
|
-
viewWidth(viewType: CalendarViewEnum): number;
|
|
31
|
-
private viewDimension;
|
|
32
|
-
private batch;
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from '../models/NavigationAction';
|
|
6
|
-
import { CellContext } from '../models/CellContext';
|
|
7
|
-
import { ViewService } from '../models/ViewService';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DecadeViewService implements ViewService {
|
|
12
|
-
addToDate(min: Date, skip: number): Date;
|
|
13
|
-
datesList(start: Date, count: number): Date[];
|
|
14
|
-
data(options: any): CellContext[][];
|
|
15
|
-
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
16
|
-
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
17
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
18
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
19
|
-
isRangeStart(value: Date): boolean;
|
|
20
|
-
isInSameView(candidate: Date, value: Date): boolean;
|
|
21
|
-
move(value: Date, action: Action): Date;
|
|
22
|
-
cellTitle(value: Date): string;
|
|
23
|
-
navigationTitle(value?: Date): string;
|
|
24
|
-
title(value?: Date): string;
|
|
25
|
-
rowLength(_?: boolean): number;
|
|
26
|
-
skip(value: Date, min: Date): number;
|
|
27
|
-
total(min: Date, max: Date): number;
|
|
28
|
-
value(current: Date): string;
|
|
29
|
-
viewDate(date: Date, max: Date, border?: number): Date;
|
|
30
|
-
private normalize;
|
|
31
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-react-intl';
|
|
6
|
-
import { Action } from '../models/NavigationAction';
|
|
7
|
-
import { CellContext } from '../models/CellContext';
|
|
8
|
-
import { ViewService } from '../models/ViewService';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class MonthViewService implements ViewService {
|
|
13
|
-
private intl;
|
|
14
|
-
constructor(intl: IntlService);
|
|
15
|
-
addToDate(min: Date, skip: number): Date;
|
|
16
|
-
datesList(start: Date, count: number): Date[];
|
|
17
|
-
data(options: any): CellContext[][];
|
|
18
|
-
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
19
|
-
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
20
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
21
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
22
|
-
isInSameView(candidate: Date, value: Date): boolean;
|
|
23
|
-
isRangeStart(value: Date): boolean;
|
|
24
|
-
move(value: Date, action: Action): Date;
|
|
25
|
-
cellTitle(value: Date): string;
|
|
26
|
-
navigationTitle(value?: Date): string;
|
|
27
|
-
title(current: Date): string;
|
|
28
|
-
rowLength(prependCell?: boolean): number;
|
|
29
|
-
skip(value: Date, min: Date): number;
|
|
30
|
-
total(min: Date, max: Date): number;
|
|
31
|
-
value(current: Date): string;
|
|
32
|
-
viewDate(date: Date, max: Date, border?: number): Date;
|
|
33
|
-
isWeekend(date: Date): boolean;
|
|
34
|
-
private abbrMonthNames;
|
|
35
|
-
private normalize;
|
|
36
|
-
private wideMonthNames;
|
|
37
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { Action } from '../models/NavigationAction';
|
|
7
|
-
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
8
|
-
import { BusViewService } from '../services/BusViewService';
|
|
9
|
-
import { ViewService } from '../models/ViewService';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class NavigationService {
|
|
14
|
-
private bus;
|
|
15
|
-
constructor(bus: BusViewService);
|
|
16
|
-
action(event: React.KeyboardEvent<any>): Action;
|
|
17
|
-
move(value: Date, action: Action, activeView: CalendarViewEnum, service: ViewService, event?: React.SyntheticEvent<any>): Date;
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Virtualization } from '../../virtualization/Virtualization';
|
|
6
|
-
import { DOMService } from './DOMService';
|
|
7
|
-
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class ScrollSyncService {
|
|
12
|
-
dom: DOMService;
|
|
13
|
-
private divideByMagnitude;
|
|
14
|
-
private powerByMagnitude;
|
|
15
|
-
private navigator;
|
|
16
|
-
private view;
|
|
17
|
-
private monthScrolled;
|
|
18
|
-
private navScrolled;
|
|
19
|
-
constructor(dom: DOMService);
|
|
20
|
-
configure(activeView: CalendarViewEnum): void;
|
|
21
|
-
sync(navigator: Virtualization, view: Virtualization, e: any): void;
|
|
22
|
-
scrollSiblingOf(scrolledElement: any): void;
|
|
23
|
-
siblingComponent(scrollableElement: HTMLElement): Virtualization;
|
|
24
|
-
calculateScroll(component: Virtualization, scrollTop: number): number;
|
|
25
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-react-intl';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class WeekNamesService {
|
|
10
|
-
private intl;
|
|
11
|
-
constructor(intl: IntlService);
|
|
12
|
-
getWeekNames(includeWeekNumber?: boolean): string[];
|
|
13
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-react-intl';
|
|
6
|
-
import { Action } from '../models/NavigationAction';
|
|
7
|
-
import { CellContext } from '../models/CellContext';
|
|
8
|
-
import { ViewService } from '../models/ViewService';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class YearViewService implements ViewService {
|
|
13
|
-
private _intl;
|
|
14
|
-
constructor(intl: IntlService);
|
|
15
|
-
addToDate(min: Date, skip: number): Date;
|
|
16
|
-
datesList(start: Date, count: number): Date[];
|
|
17
|
-
data(options: any): CellContext[][];
|
|
18
|
-
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
19
|
-
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
20
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
21
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
22
|
-
isInSameView(candidate: Date, value: Date): boolean;
|
|
23
|
-
isRangeStart(value: Date): boolean;
|
|
24
|
-
move(value: Date, action: Action): Date;
|
|
25
|
-
cellTitle(value: Date): string;
|
|
26
|
-
navigationTitle(value?: Date): string;
|
|
27
|
-
title(current?: Date): string;
|
|
28
|
-
rowLength(_?: boolean): number;
|
|
29
|
-
skip(value: Date, min: Date): number;
|
|
30
|
-
total(min: Date, max: Date): number;
|
|
31
|
-
value(current: Date): string;
|
|
32
|
-
viewDate(date: Date, max: Date, border?: number): Date;
|
|
33
|
-
private abbrMonthNames;
|
|
34
|
-
private normalize;
|
|
35
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BusViewService } from './BusViewService';
|
|
6
|
-
import { CenturyViewService } from './CenturyViewService';
|
|
7
|
-
import { DecadeViewService } from './DecadeViewService';
|
|
8
|
-
import { DOMService } from './DOMService';
|
|
9
|
-
import { MonthViewService } from './MonthViewService';
|
|
10
|
-
import { NavigationService } from './NavigationService';
|
|
11
|
-
import { ScrollSyncService } from './ScrollSyncService';
|
|
12
|
-
import { WeekNamesService } from './WeekNamesService';
|
|
13
|
-
import { YearViewService } from './YearViewService';
|
|
14
|
-
export { BusViewService, CenturyViewService, DecadeViewService, DOMService, MonthViewService, NavigationService, ScrollSyncService, WeekNamesService, YearViewService };
|
package/common/AdaptiveMode.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/** @hidden */
|
|
7
|
-
export interface AdaptiveModeProps {
|
|
8
|
-
navigatable?: boolean;
|
|
9
|
-
navigatableElements?: string[];
|
|
10
|
-
expand: boolean;
|
|
11
|
-
animation?: boolean;
|
|
12
|
-
adaptiveTitle?: string | React.ReactNode;
|
|
13
|
-
onClose?: (event: React.SyntheticEvent) => void;
|
|
14
|
-
windowWidth?: number;
|
|
15
|
-
mobileFilter?: React.ReactNode;
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
footer?: {
|
|
18
|
-
cancelText: string;
|
|
19
|
-
onCancel: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
20
|
-
applyText: string;
|
|
21
|
-
onApply: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
/** @hidden */
|
|
25
|
-
export declare const AdaptiveMode: (props: AdaptiveModeProps) => import("react/jsx-runtime").JSX.Element;
|
package/common/PickerWrap.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
* @deprecated
|
|
9
|
-
*/
|
|
10
|
-
export interface PickerWrapProps {
|
|
11
|
-
_ref?: React.Ref<HTMLSpanElement | null>;
|
|
12
|
-
id?: string;
|
|
13
|
-
tabIndex?: number;
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
* @deprecated
|
|
21
|
-
*/
|
|
22
|
-
export declare const PickerWrap: React.ForwardRefExoticComponent<PickerWrapProps & React.RefAttributes<HTMLSpanElement>>;
|
package/common/constants.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @hidden */
|
|
6
|
-
export declare const MOBILE_SMALL_DEVISE: number;
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export declare const MOBILE_MEDIUM_DEVISE: number;
|