@progress/kendo-react-dateinputs 13.3.0 → 13.4.0-develop.2
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/PopupSettings.d.ts +22 -0
- package/calendar/components/Calendar.d.ts +202 -0
- package/calendar/components/Calendar.mjs +7 -7
- package/calendar/components/CalendarCell.d.ts +71 -0
- package/calendar/components/CalendarHeaderTitle.d.ts +38 -0
- package/calendar/components/CalendarNavigationItem.d.ts +39 -0
- package/calendar/components/CalendarWeekCell.d.ts +42 -0
- package/calendar/components/Header.d.ts +65 -0
- package/calendar/components/Header.mjs +3 -3
- package/calendar/components/HorizontalViewList.d.ts +80 -0
- package/calendar/components/HorizontalViewList.mjs +3 -3
- package/calendar/components/MultiViewCalendar.d.ts +226 -0
- package/calendar/components/MultiViewCalendar.js +1 -1
- package/calendar/components/MultiViewCalendar.mjs +17 -17
- package/calendar/components/Navigation.d.ts +85 -0
- package/calendar/components/TodayCommand.d.ts +46 -0
- package/calendar/components/TodayCommand.mjs +3 -3
- package/calendar/components/View.d.ts +101 -0
- package/calendar/components/ViewList.d.ts +128 -0
- package/calendar/models/ActiveView.d.ts +11 -0
- package/calendar/models/CalendarSettings.d.ts +256 -0
- package/calendar/models/CalendarViewEnum.d.ts +16 -0
- package/calendar/models/CellContext.d.ts +72 -0
- package/calendar/models/MultiViewCalendarMode.d.ts +16 -0
- package/calendar/models/MultiViewCalendarSettings.d.ts +129 -0
- package/calendar/models/NavigationAction.d.ts +22 -0
- package/calendar/models/SelectionRange.d.ts +24 -0
- package/calendar/models/SelectionRangeEnd.d.ts +11 -0
- package/calendar/models/ViewService.d.ts +32 -0
- package/calendar/models/WeekDaysFormat.d.ts +11 -0
- package/calendar/models/index.d.ts +18 -0
- package/calendar/services/BusViewService.d.ts +28 -0
- package/calendar/services/CenturyViewService.d.ts +32 -0
- package/calendar/services/CenturyViewService.mjs +4 -4
- package/calendar/services/DOMService.d.ts +36 -0
- package/calendar/services/DecadeViewService.d.ts +34 -0
- package/calendar/services/DecadeViewService.mjs +4 -4
- package/calendar/services/MonthViewService.d.ts +40 -0
- package/calendar/services/MonthViewService.mjs +2 -2
- package/calendar/services/NavigationService.d.ts +21 -0
- package/calendar/services/ScrollSyncService.d.ts +28 -0
- package/calendar/services/WeekNamesService.d.ts +17 -0
- package/calendar/services/YearViewService.d.ts +38 -0
- package/calendar/services/YearViewService.mjs +2 -2
- package/calendar/services/index.d.ts +17 -0
- package/calendar/utils/ScrollSync.d.ts +20 -0
- package/codemods/utils.js +1 -8
- package/codemods/v11/dateinput-handle.js +1 -8
- package/codemods/v11/datepicker-handle.js +1 -8
- package/common/AdaptiveMode.d.ts +22 -0
- package/common/ClearButton.d.ts +20 -0
- package/dateinput/DateInput.d.ts +248 -0
- package/dateinput/DateInput.js +1 -1
- package/dateinput/DateInput.mjs +63 -65
- package/dateinput/dateInputIntl.d.ts +30 -0
- package/dateinput/models/DateInputSettings.d.ts +107 -0
- package/dateinput/models/common-package-props.d.ts +34 -0
- package/dateinput/models/dateinput-options.d.ts +105 -0
- package/dateinput/models/format-placeholder.d.ts +46 -0
- package/dateinput/models/incremental-steps.d.ts +24 -0
- package/dateinput/models/index.d.ts +15 -0
- package/dateinput/models/kendo-date.d.ts +60 -0
- package/dateinput/models/mask.d.ts +14 -0
- package/dateinput/models/selection.d.ts +14 -0
- package/dateinput/utils.d.ts +31 -0
- package/datepicker/DatePicker.d.ts +279 -0
- package/datepicker/DatePicker.js +1 -1
- package/datepicker/DatePicker.mjs +68 -72
- package/datepicker/ToggleButton.d.ts +17 -0
- package/datepicker/models/DatePickerSettings.d.ts +248 -0
- package/datepicker/models/index.d.ts +9 -0
- package/daterangepicker/DateRangePicker.d.ts +357 -0
- package/daterangepicker/DateRangePicker.mjs +13 -13
- package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerSettings.d.ts +129 -0
- package/daterangepicker/models/index.d.ts +12 -0
- package/datetimepicker/DateTimePicker.d.ts +420 -0
- package/datetimepicker/DateTimePicker.js +1 -1
- package/datetimepicker/DateTimePicker.mjs +16 -20
- package/datetimepicker/DateTimeSelector.d.ts +111 -0
- package/datetimepicker/DateTimeSelector.mjs +3 -3
- package/datetimepicker/models/DateTimePickerSettings.d.ts +154 -0
- package/datetimepicker/models/index.d.ts +9 -0
- package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
- package/hooks/usePickerFloatingLabel.d.ts +27 -0
- package/index.d.mts +35 -4952
- package/index.d.ts +35 -4952
- package/messages/index.d.ts +132 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +8 -8
- package/timepicker/TimeList.d.ts +97 -0
- package/timepicker/TimeList.js +5 -5
- package/timepicker/TimeList.mjs +122 -112
- package/timepicker/TimePart.d.ts +146 -0
- package/timepicker/TimePart.mjs +3 -3
- package/timepicker/TimePicker.d.ts +417 -0
- package/timepicker/TimePicker.js +1 -1
- package/timepicker/TimePicker.mjs +64 -68
- package/timepicker/TimeSelector.d.ts +149 -0
- package/timepicker/TimeSelector.mjs +3 -3
- package/timepicker/models/IncrementalSteps.d.ts +18 -0
- package/timepicker/models/ListItem.d.ts +14 -0
- package/timepicker/models/ListService.d.ts +22 -0
- package/timepicker/models/ListServiceSettings.d.ts +19 -0
- package/timepicker/models/TimePart.d.ts +17 -0
- package/timepicker/models/TimePickerSettings.d.ts +137 -0
- package/timepicker/models/index.d.ts +14 -0
- package/timepicker/services/DOMService.d.ts +18 -0
- package/timepicker/services/DayPeriodService.d.ts +54 -0
- package/timepicker/services/HoursService.d.ts +40 -0
- package/timepicker/services/MinutesService.d.ts +39 -0
- package/timepicker/services/SecondsService.d.ts +39 -0
- package/timepicker/services/index.d.ts +13 -0
- package/timepicker/utils.d.ts +63 -0
- package/timepicker/utils.mjs +1 -1
- package/utils.d.ts +103 -0
- package/utils.js +1 -1
- package/utils.mjs +46 -46
- package/virtualization/Virtualization.d.ts +125 -0
- package/virtualization/services/ScrollerService.d.ts +56 -0
- package/virtualization/services/index.d.ts +10 -0
package/utils.mjs
CHANGED
|
@@ -6,100 +6,100 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { getDate as f, cloneDate as v } from "@progress/kendo-date-math";
|
|
9
|
-
import { EMPTY_SELECTIONRANGE as
|
|
10
|
-
function
|
|
9
|
+
import { EMPTY_SELECTIONRANGE as C } from "./calendar/models/SelectionRange.mjs";
|
|
10
|
+
function S(t) {
|
|
11
11
|
const n = (r, o, s, ...u) => o[s] === null ? null : (r ? t.isRequired : t)(o, s, ...u), e = n.bind(null, !1);
|
|
12
12
|
return e.isRequired = n.bind(null, !0), e;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const W = (t, n, e) => n === void 0 || e === void 0 || n <= t && t <= e ? t : t < n ? n : e, k = new Date(1980, 0, 1), H = new Date(1900, 0, 1), L = new Date(2099, 11, 31), d = new Date(1980, 0, 1), q = new Date(1980, 0, 1, 23, 59, 59), G = (t, n) => {
|
|
15
15
|
const e = v(t);
|
|
16
16
|
return e.setHours(n.getHours(), n.getMinutes(), n.getSeconds(), n.getMilliseconds()), e;
|
|
17
|
-
},
|
|
18
|
-
const { start: e, end: r } = n ||
|
|
17
|
+
}, O = () => f(/* @__PURE__ */ new Date()), X = (t, n, e) => !t || !(n && n > t || e && e < t), j = (t, n, e) => t === null || !(n && f(n) > f(t) || e && f(e) < f(t)), P = (t, n) => {
|
|
18
|
+
const { start: e, end: r } = n || C;
|
|
19
19
|
return !e || !r ? !1 : e < t && t < r;
|
|
20
|
-
},
|
|
20
|
+
}, Y = (t, n, e = 1) => {
|
|
21
21
|
const r = [];
|
|
22
22
|
for (let o = t; o < n; o = o + e)
|
|
23
23
|
r.push(o);
|
|
24
24
|
return r;
|
|
25
|
-
},
|
|
25
|
+
}, z = (t, n, e) => n.getTime() <= t.getTime() && t.getTime() <= e.getTime(), B = (t, n) => t.slice(n).concat(t.slice(0, n)), J = (t, n, e) => t && (n && t < n ? v(n) : e && t > e ? v(e) : t), K = (t) => (n, e = "", r = {}) => {
|
|
26
26
|
const o = document.createElement(t);
|
|
27
27
|
return o.className = e, Object.keys(r).forEach((s) => {
|
|
28
28
|
o.style[s] = r[s];
|
|
29
29
|
}), typeof n == "string" ? o.innerHTML = n || "" : (n || []).forEach((s) => s && o.appendChild(s)), o;
|
|
30
30
|
};
|
|
31
|
-
function
|
|
31
|
+
function Q(t, n, e = {}) {
|
|
32
32
|
let r, o;
|
|
33
33
|
e.maxWait;
|
|
34
34
|
let s, u, l;
|
|
35
|
-
const g = window,
|
|
35
|
+
const g = window, A = !1, D = !n && n !== 0 && typeof g.requestAnimationFrame == "function";
|
|
36
36
|
if (typeof t != "function")
|
|
37
37
|
throw new TypeError("Expected a function");
|
|
38
38
|
n = +n || 0;
|
|
39
|
-
function
|
|
40
|
-
const c = r,
|
|
41
|
-
return r = o = void 0, s = t.apply(
|
|
39
|
+
function M(i) {
|
|
40
|
+
const c = r, a = o;
|
|
41
|
+
return r = o = void 0, s = t.apply(a, c), s;
|
|
42
42
|
}
|
|
43
43
|
function T(i, c) {
|
|
44
44
|
return D ? (g.cancelAnimationFrame(u), g.requestAnimationFrame(i)) : setTimeout(i, c);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function h(i) {
|
|
47
47
|
if (D)
|
|
48
48
|
return g.cancelAnimationFrame(i);
|
|
49
49
|
clearTimeout(i);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return u = T(E, n),
|
|
51
|
+
function R(i) {
|
|
52
|
+
return u = T(E, n), s;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function b(i) {
|
|
55
55
|
const c = i - l;
|
|
56
56
|
return n - c;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function I(i) {
|
|
59
59
|
const c = i - l;
|
|
60
|
-
return l === void 0 || c >= n || c < 0 ||
|
|
60
|
+
return l === void 0 || c >= n || c < 0 || A;
|
|
61
61
|
}
|
|
62
62
|
function E() {
|
|
63
63
|
const i = Date.now();
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
66
|
-
u = T(E,
|
|
64
|
+
if (I(i))
|
|
65
|
+
return p();
|
|
66
|
+
u = T(E, b(i));
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return u = void 0, r ?
|
|
68
|
+
function p(i) {
|
|
69
|
+
return u = void 0, r ? M() : (r = o = void 0, s);
|
|
70
|
+
}
|
|
71
|
+
function N() {
|
|
72
|
+
u !== void 0 && h(u), r = l = o = u = void 0;
|
|
70
73
|
}
|
|
71
74
|
function w() {
|
|
72
|
-
u
|
|
75
|
+
return u === void 0 ? s : p();
|
|
73
76
|
}
|
|
74
77
|
function y() {
|
|
75
|
-
return u === void 0 ? s : A();
|
|
76
|
-
}
|
|
77
|
-
function C() {
|
|
78
78
|
return u !== void 0;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
const c = Date.now(),
|
|
82
|
-
return r = i, o = this, l = c,
|
|
80
|
+
function m(...i) {
|
|
81
|
+
const c = Date.now(), a = I(c);
|
|
82
|
+
return r = i, o = this, l = c, a && u === void 0 ? R() : (u === void 0 && (u = T(E, n)), s);
|
|
83
83
|
}
|
|
84
|
-
return
|
|
84
|
+
return m.cancel = N, m.flush = w, m.pending = y, m;
|
|
85
85
|
}
|
|
86
86
|
export {
|
|
87
87
|
L as MAX_DATE,
|
|
88
|
-
|
|
88
|
+
q as MAX_TIME,
|
|
89
89
|
k as MIDNIGHT_DATE,
|
|
90
90
|
H as MIN_DATE,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
91
|
+
d as MIN_TIME,
|
|
92
|
+
J as dateInRange,
|
|
93
|
+
Q as debounce,
|
|
94
|
+
K as domContainerFactory,
|
|
95
|
+
O as getToday,
|
|
96
|
+
z as intersects,
|
|
97
|
+
j as isInDateRange,
|
|
98
|
+
X as isInRange,
|
|
99
|
+
P as isInSelectionRange,
|
|
100
|
+
S as nullable,
|
|
101
|
+
Y as range,
|
|
102
|
+
G as setTime,
|
|
103
|
+
B as shiftWeekNames,
|
|
104
|
+
W as viewInRange
|
|
105
105
|
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as PropTypes } from 'prop-types';
|
|
9
|
+
import { DateInputsClassStructure } from '@progress/kendo-react-common';
|
|
10
|
+
import { ScrollAction, PageAction } from './services/index.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface ScrollActionArguments {
|
|
16
|
+
index: number;
|
|
17
|
+
target: HTMLDivElement | null;
|
|
18
|
+
scrollAction?: ScrollAction;
|
|
19
|
+
pageAction?: PageAction;
|
|
20
|
+
animationInProgress: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare enum ScrollDirection {
|
|
26
|
+
Backward = 0,
|
|
27
|
+
Forward = 1
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export type Direction = 'horizontal' | 'vertical';
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export interface VirtualizationProps {
|
|
37
|
+
bottomOffset: number;
|
|
38
|
+
className?: string;
|
|
39
|
+
direction?: Direction;
|
|
40
|
+
itemHeight?: number;
|
|
41
|
+
itemWidth?: number;
|
|
42
|
+
maxScrollDifference?: number;
|
|
43
|
+
onMount?: any;
|
|
44
|
+
onScroll?: (event: React.SyntheticEvent) => void;
|
|
45
|
+
onScrollAction?: (args: ScrollActionArguments) => void;
|
|
46
|
+
scrollOffsetSize?: number;
|
|
47
|
+
scrollDuration?: number;
|
|
48
|
+
skip: number;
|
|
49
|
+
tabIndex?: number;
|
|
50
|
+
take: number;
|
|
51
|
+
topOffset: number;
|
|
52
|
+
total: number;
|
|
53
|
+
role?: string;
|
|
54
|
+
children?: React.ReactNode;
|
|
55
|
+
unstyled?: DateInputsClassStructure;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
export declare class Virtualization extends React.Component<VirtualizationProps, {}> {
|
|
61
|
+
static propTypes: {
|
|
62
|
+
bottomOffset: PropTypes.Validator<number>;
|
|
63
|
+
className: PropTypes.Requireable<string>;
|
|
64
|
+
direction: PropTypes.Requireable<string>;
|
|
65
|
+
forceScroll: PropTypes.Requireable<boolean>;
|
|
66
|
+
itemHeight: PropTypes.Requireable<number>;
|
|
67
|
+
itemWidth: PropTypes.Requireable<number>;
|
|
68
|
+
maxScrollDifference: PropTypes.Requireable<number>;
|
|
69
|
+
onScroll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
70
|
+
onScrollAction: PropTypes.Requireable<(...args: any[]) => any>;
|
|
71
|
+
scrollDuration: PropTypes.Requireable<number>;
|
|
72
|
+
scrollOffsetSize: PropTypes.Requireable<number>;
|
|
73
|
+
skip: PropTypes.Validator<number>;
|
|
74
|
+
tabIndex: PropTypes.Requireable<number>;
|
|
75
|
+
take: PropTypes.Validator<number>;
|
|
76
|
+
topOffset: PropTypes.Validator<number>;
|
|
77
|
+
total: PropTypes.Validator<number>;
|
|
78
|
+
role: PropTypes.Requireable<string>;
|
|
79
|
+
};
|
|
80
|
+
static defaultProps: {
|
|
81
|
+
direction: Direction;
|
|
82
|
+
forceScroll: boolean;
|
|
83
|
+
scrollOffsetSize: number;
|
|
84
|
+
maxScrollDifference: number;
|
|
85
|
+
scrollDuration: number;
|
|
86
|
+
};
|
|
87
|
+
private cancelAnimation;
|
|
88
|
+
private rowHeightService;
|
|
89
|
+
private scrollerService;
|
|
90
|
+
private scrollContainer;
|
|
91
|
+
private scrollAction?;
|
|
92
|
+
private pageAction?;
|
|
93
|
+
private lastDirection;
|
|
94
|
+
private lastTotal;
|
|
95
|
+
private lastTake;
|
|
96
|
+
private animationInProgress;
|
|
97
|
+
private restrictScroll;
|
|
98
|
+
get element(): HTMLDivElement | null;
|
|
99
|
+
protected get containerOffsetSize(): number;
|
|
100
|
+
get containerScrollSize(): number;
|
|
101
|
+
get containerScrollPosition(): number;
|
|
102
|
+
protected get direction(): Direction;
|
|
103
|
+
protected get scrollOffsetSize(): number;
|
|
104
|
+
constructor(props: VirtualizationProps);
|
|
105
|
+
activeIndex(): number;
|
|
106
|
+
itemIndex(offset: number): number;
|
|
107
|
+
itemOffset(index: number): number;
|
|
108
|
+
isIndexVisible(index: number): boolean;
|
|
109
|
+
isListScrolled(index: number): boolean;
|
|
110
|
+
scrollTo: (value: number) => void;
|
|
111
|
+
scrollToIndex: (index: number) => void;
|
|
112
|
+
animateToIndex: (index: number) => void;
|
|
113
|
+
scrollToBottom: () => void;
|
|
114
|
+
componentDidMount(): void;
|
|
115
|
+
render(): React.JSX.Element;
|
|
116
|
+
protected scrollStep: (start: number, end: number) => number;
|
|
117
|
+
protected scrollRange: (indexOffset: number, direction: ScrollDirection) => any;
|
|
118
|
+
protected containerMaxScroll: () => number;
|
|
119
|
+
protected getContainerScrollDirection: (indexOffset: number) => ScrollDirection;
|
|
120
|
+
protected initServices: (props?: VirtualizationProps) => void;
|
|
121
|
+
protected getContainerProperty: (propertyName: 'offsetHeight' | 'offsetWidth' | 'scrollHeight' | 'scrollWidth' | 'scrollTop' | 'scrollLeft') => number;
|
|
122
|
+
private handleScroll;
|
|
123
|
+
private handleScrollAction;
|
|
124
|
+
private handlePageAction;
|
|
125
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { RowHeightService } from '@progress/kendo-react-common';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class ScrollAction {
|
|
13
|
+
offset: number;
|
|
14
|
+
constructor(offset: number);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare class PageAction {
|
|
20
|
+
skip: number;
|
|
21
|
+
constructor(skip: number);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export type ScrollElement = {
|
|
27
|
+
offsetHeight: number;
|
|
28
|
+
offsetWidth: number;
|
|
29
|
+
scrollLeft: number;
|
|
30
|
+
scrollTop: number;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export type Action = ScrollAction | PageAction;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
export declare class ScrollerService {
|
|
40
|
+
private onScrollAction;
|
|
41
|
+
private onPageAction;
|
|
42
|
+
private direction;
|
|
43
|
+
private firstLoaded;
|
|
44
|
+
private lastLoaded;
|
|
45
|
+
private lastScrollTop;
|
|
46
|
+
private take;
|
|
47
|
+
private total;
|
|
48
|
+
private rowHeightService;
|
|
49
|
+
private bottomOffset;
|
|
50
|
+
private topOffset;
|
|
51
|
+
constructor(onScrollAction: (action: ScrollAction) => void, onPageAction: (action: PageAction) => void);
|
|
52
|
+
create(rowHeightService: RowHeightService, skip: number, take: number, total: number, topOffset?: number, bottomOffset?: number, direction?: 'horizontal' | 'vertical'): void;
|
|
53
|
+
onScroll({ scrollLeft, scrollTop, offsetHeight, offsetWidth }: ScrollElement): void;
|
|
54
|
+
rowOffset(index: number): number;
|
|
55
|
+
private rowsForHeight;
|
|
56
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { RowHeightService } from '@progress/kendo-react-common';
|
|
9
|
+
import { PageAction, ScrollAction, ScrollElement, ScrollerService } from './ScrollerService.js';
|
|
10
|
+
export { PageAction, ScrollElement, ScrollAction, RowHeightService, ScrollerService };
|