@progress/kendo-react-grid 16.2.0-develop.2 → 16.2.0-develop.20
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/EULA.pdf +0 -0
- package/EULA.rtf +2730 -0
- package/EULA.txt +292 -0
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +634 -608
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +154 -152
- package/VirtualScroll.d.ts +2 -0
- package/VirtualScroll.js +1 -1
- package/VirtualScroll.mjs +21 -14
- package/components/VirtualScrollOverlay.js +1 -8
- package/components/VirtualScrollOverlay.mjs +43 -41
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +67 -67
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +113 -85
- package/header/client/GridCustomHeaderColumnMenu.d.ts +22 -0
- package/header/client/GridCustomHeaderColumnMenu.js +9 -0
- package/header/client/GridCustomHeaderColumnMenu.mjs +28 -0
- package/index.d.mts +3 -2
- package/index.d.ts +3 -2
- package/interfaces/GridCellsSettings.d.ts +32 -0
- package/interfaces/GridScrollableSettings.d.ts +11 -2
- package/interfaces/VirtualScrollInterface.d.ts +2 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -22
- package/utils/proxiedScrollOverlay.d.ts +48 -0
- package/utils/proxiedScrollOverlay.js +8 -0
- package/utils/proxiedScrollOverlay.mjs +31 -0
- package/utils/wheelTouchScroll.d.ts +22 -0
- package/utils/wheelTouchScroll.js +8 -0
- package/utils/wheelTouchScroll.mjs +57 -0
package/index.d.mts
CHANGED
|
@@ -64,7 +64,8 @@ import { GridNoRecords } from './components/noRecords/GridNoRecords.js';
|
|
|
64
64
|
import { GridNoRecordsProps } from './interfaces/GridNoRecordsProps';
|
|
65
65
|
import { GridSortSettings } from './interfaces/GridSortSettings';
|
|
66
66
|
import { GridScrollableSettings } from './interfaces/GridScrollableSettings';
|
|
67
|
-
import { GridPagerSettings } from './paging/GridPagerSettings.js';
|
|
67
|
+
import { GridPagerSettings, GridPagerType } from './paging/GridPagerSettings.js';
|
|
68
|
+
import { Page as GridPage } from './paging/Page';
|
|
68
69
|
import { GridGroupableSettings, GridGroupingMode } from './interfaces/GridGroupableSettings';
|
|
69
70
|
import { GridGroupColumnFn, GridGroupColumnSettings } from './interfaces/GridGroupColumnSettings';
|
|
70
71
|
import { GridColumnMenuGroupBaseProps } from './interfaces/GridColumnMenuGroupBaseProps';
|
|
@@ -97,6 +98,6 @@ export * from './GridSearchBox.js';
|
|
|
97
98
|
export * from './GridPdfExportButton.js';
|
|
98
99
|
export * from './GridCsvExportButton.js';
|
|
99
100
|
export * from './toolbar-tools/smartbox/index.js';
|
|
100
|
-
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridScrollableSettings, GridPagerSettings, GridGroupableSettings, GridGroupingMode, GridGroupColumnFn, GridGroupColumnSettings, GridColumnMenuGroupBaseProps, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn, GridRowPinChangeEvent, GridWebMcpProps, GridWebMcpToolsCallback, GridWebMcpToolsHelpers, McpToolOption, GridAIRequestConfig, GridAIResponse, GridAIHttpClient, createAxiosAIClient };
|
|
101
|
+
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridScrollableSettings, GridPagerSettings, GridPagerType, GridPage, GridGroupableSettings, GridGroupingMode, GridGroupColumnFn, GridGroupColumnSettings, GridColumnMenuGroupBaseProps, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn, GridRowPinChangeEvent, GridWebMcpProps, GridWebMcpToolsCallback, GridWebMcpToolsHelpers, McpToolOption, GridAIRequestConfig, GridAIResponse, GridAIHttpClient, createAxiosAIClient };
|
|
101
102
|
export { GridPinCell, GridHeaderPinCell };
|
|
102
103
|
export * from './interfaces/GridStackedLayoutSettings';
|
package/index.d.ts
CHANGED
|
@@ -64,7 +64,8 @@ import { GridNoRecords } from './components/noRecords/GridNoRecords.js';
|
|
|
64
64
|
import { GridNoRecordsProps } from './interfaces/GridNoRecordsProps';
|
|
65
65
|
import { GridSortSettings } from './interfaces/GridSortSettings';
|
|
66
66
|
import { GridScrollableSettings } from './interfaces/GridScrollableSettings';
|
|
67
|
-
import { GridPagerSettings } from './paging/GridPagerSettings.js';
|
|
67
|
+
import { GridPagerSettings, GridPagerType } from './paging/GridPagerSettings.js';
|
|
68
|
+
import { Page as GridPage } from './paging/Page';
|
|
68
69
|
import { GridGroupableSettings, GridGroupingMode } from './interfaces/GridGroupableSettings';
|
|
69
70
|
import { GridGroupColumnFn, GridGroupColumnSettings } from './interfaces/GridGroupColumnSettings';
|
|
70
71
|
import { GridColumnMenuGroupBaseProps } from './interfaces/GridColumnMenuGroupBaseProps';
|
|
@@ -97,6 +98,6 @@ export * from './GridSearchBox.js';
|
|
|
97
98
|
export * from './GridPdfExportButton.js';
|
|
98
99
|
export * from './GridCsvExportButton.js';
|
|
99
100
|
export * from './toolbar-tools/smartbox/index.js';
|
|
100
|
-
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridScrollableSettings, GridPagerSettings, GridGroupableSettings, GridGroupingMode, GridGroupColumnFn, GridGroupColumnSettings, GridColumnMenuGroupBaseProps, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn, GridRowPinChangeEvent, GridWebMcpProps, GridWebMcpToolsCallback, GridWebMcpToolsHelpers, McpToolOption, GridAIRequestConfig, GridAIResponse, GridAIHttpClient, createAxiosAIClient };
|
|
101
|
+
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridScrollableSettings, GridPagerSettings, GridPagerType, GridPage, GridGroupableSettings, GridGroupingMode, GridGroupColumnFn, GridGroupColumnSettings, GridColumnMenuGroupBaseProps, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn, GridRowPinChangeEvent, GridWebMcpProps, GridWebMcpToolsCallback, GridWebMcpToolsHelpers, McpToolOption, GridAIRequestConfig, GridAIResponse, GridAIHttpClient, createAxiosAIClient };
|
|
101
102
|
export { GridPinCell, GridHeaderPinCell };
|
|
102
103
|
export * from './interfaces/GridStackedLayoutSettings';
|
|
@@ -180,6 +180,38 @@ export interface GridCustomHeaderCellProps extends GridHeaderCellProps {
|
|
|
180
180
|
* The index of the column.
|
|
181
181
|
*/
|
|
182
182
|
index?: number;
|
|
183
|
+
/**
|
|
184
|
+
* The default column title element (`<span class="k-column-title">` with the column title text).
|
|
185
|
+
*
|
|
186
|
+
* Render this inside your custom header cell to reuse the built-in title styling and the
|
|
187
|
+
* grouping-row text class instead of rebuilding the title span yourself. Combine it with
|
|
188
|
+
* additional custom content (icons, badges, etc.) to keep the default appearance while
|
|
189
|
+
* extending it.
|
|
190
|
+
*/
|
|
191
|
+
titleElement?: React.ReactNode;
|
|
192
|
+
/**
|
|
193
|
+
* The default sort direction icon and sort-order badge for the column.
|
|
194
|
+
*
|
|
195
|
+
* `null` when the column is not currently sorted. Render this inside your custom header cell
|
|
196
|
+
* to keep the built-in sort indicator without reimplementing sort icon rendering. The
|
|
197
|
+
* click-to-sort behavior remains attached to the `onClick` prop.
|
|
198
|
+
*/
|
|
199
|
+
sortIcon?: React.ReactNode;
|
|
200
|
+
/**
|
|
201
|
+
* The default column menu / filter button wrapper for the column.
|
|
202
|
+
*
|
|
203
|
+
* `null` when the column has no column menu configured. Render this inside your custom
|
|
204
|
+
* header cell to preserve the built-in filter popup, column menu, and their keyboard and
|
|
205
|
+
* accessibility behavior.
|
|
206
|
+
*/
|
|
207
|
+
columnMenu?: React.ReactNode;
|
|
208
|
+
/**
|
|
209
|
+
* The default column resize handle.
|
|
210
|
+
*
|
|
211
|
+
* Render this inside your custom header cell (typically as the last child) to preserve the
|
|
212
|
+
* built-in column resizing behavior.
|
|
213
|
+
*/
|
|
214
|
+
resizer?: React.ReactNode;
|
|
183
215
|
}
|
|
184
216
|
/**
|
|
185
217
|
* The settings of the cells prop options.
|
|
@@ -23,11 +23,20 @@ export interface GridScrollableSettings {
|
|
|
23
23
|
* Controls the scrollbar rendering style.
|
|
24
24
|
*
|
|
25
25
|
* - `default`—Uses the native browser scrollbar (default).
|
|
26
|
-
* - `proxied`—Renders a
|
|
27
|
-
* The overlay appears on hover or scroll and hides when idle,
|
|
26
|
+
* - `proxied`—Renders a native scrollbar-based overlay on top of the content area,
|
|
28
27
|
* eliminating the white-space flash during virtual scrolling jumps.
|
|
29
28
|
*
|
|
30
29
|
* @default 'default'
|
|
31
30
|
*/
|
|
32
31
|
scrollbar?: 'default' | 'proxied';
|
|
32
|
+
/**
|
|
33
|
+
* Multiplies the scrolling distance reported by mouse-wheel and trackpad input.
|
|
34
|
+
* Applies to the `scrollable` and `virtual` modes with both scrollbar styles.
|
|
35
|
+
*
|
|
36
|
+
* Must be a positive, finite number. Values that are zero, negative, `NaN`, or `Infinity`
|
|
37
|
+
* fall back to the default.
|
|
38
|
+
*
|
|
39
|
+
* @default 1
|
|
40
|
+
*/
|
|
41
|
+
wheelMultiplier?: number;
|
|
33
42
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { Page } from '../paging/Page';
|
|
9
|
-
import { SyntheticEvent } from 'react';
|
|
9
|
+
import { RefObject, SyntheticEvent } from 'react';
|
|
10
10
|
import { RowHeightService } from '@progress/kendo-react-common';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
@@ -24,6 +24,7 @@ export interface VirtualScrollInterface {
|
|
|
24
24
|
tableTransform: string;
|
|
25
25
|
rowHeightService?: RowHeightService;
|
|
26
26
|
scrollbarOverlaySpacerElement: HTMLDivElement | null;
|
|
27
|
+
overlaySyncingRef: RefObject<boolean> | null;
|
|
27
28
|
reset: () => void;
|
|
28
29
|
scrollHandler(e: SyntheticEvent<HTMLDivElement>): void;
|
|
29
30
|
scrollToPosition(scrollTop: number, e: SyntheticEvent<HTMLDivElement>, deferTranslate?: boolean): void;
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1791301644,version:"16.2.0-develop.20",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
|
|
|
7
7
|
productName: 'KendoReact',
|
|
8
8
|
productCode: 'KENDOUIREACT',
|
|
9
9
|
productCodes: ['KENDOUIREACT'],
|
|
10
|
-
publishDate:
|
|
11
|
-
version: '16.2.0-develop.
|
|
10
|
+
publishDate: 1791301644,
|
|
11
|
+
version: '16.2.0-develop.20',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-grid",
|
|
3
|
-
"version": "16.2.0-develop.
|
|
3
|
+
"version": "16.2.0-develop.20",
|
|
4
4
|
"description": "React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"@progress/kendo-drawing": "^1.25.5",
|
|
31
31
|
"@progress/kendo-file-saver": "^1.1.1",
|
|
32
32
|
"@progress/kendo-licensing": "^1.7.2",
|
|
33
|
-
"@progress/kendo-react-animation": "16.2.0-develop.
|
|
34
|
-
"@progress/kendo-react-buttons": "16.2.0-develop.
|
|
35
|
-
"@progress/kendo-react-common": "16.2.0-develop.
|
|
36
|
-
"@progress/kendo-react-data-tools": "16.2.0-develop.
|
|
37
|
-
"@progress/kendo-react-dateinputs": "16.2.0-develop.
|
|
38
|
-
"@progress/kendo-react-indicators": "16.2.0-develop.
|
|
39
|
-
"@progress/kendo-react-form": "16.2.0-develop.
|
|
40
|
-
"@progress/kendo-react-labels": "16.2.0-develop.
|
|
41
|
-
"@progress/kendo-react-dialogs": "16.2.0-develop.
|
|
42
|
-
"@progress/kendo-react-dropdowns": "16.2.0-develop.
|
|
43
|
-
"@progress/kendo-react-inputs": "16.2.0-develop.
|
|
44
|
-
"@progress/kendo-react-intl": "16.2.0-develop.
|
|
45
|
-
"@progress/kendo-react-popup": "16.2.0-develop.
|
|
46
|
-
"@progress/kendo-react-layout": "16.2.0-develop.
|
|
47
|
-
"@progress/kendo-react-conversational-ui": "16.2.0-develop.
|
|
33
|
+
"@progress/kendo-react-animation": "16.2.0-develop.20",
|
|
34
|
+
"@progress/kendo-react-buttons": "16.2.0-develop.20",
|
|
35
|
+
"@progress/kendo-react-common": "16.2.0-develop.20",
|
|
36
|
+
"@progress/kendo-react-data-tools": "16.2.0-develop.20",
|
|
37
|
+
"@progress/kendo-react-dateinputs": "16.2.0-develop.20",
|
|
38
|
+
"@progress/kendo-react-indicators": "16.2.0-develop.20",
|
|
39
|
+
"@progress/kendo-react-form": "16.2.0-develop.20",
|
|
40
|
+
"@progress/kendo-react-labels": "16.2.0-develop.20",
|
|
41
|
+
"@progress/kendo-react-dialogs": "16.2.0-develop.20",
|
|
42
|
+
"@progress/kendo-react-dropdowns": "16.2.0-develop.20",
|
|
43
|
+
"@progress/kendo-react-inputs": "16.2.0-develop.20",
|
|
44
|
+
"@progress/kendo-react-intl": "16.2.0-develop.20",
|
|
45
|
+
"@progress/kendo-react-popup": "16.2.0-develop.20",
|
|
46
|
+
"@progress/kendo-react-layout": "16.2.0-develop.20",
|
|
47
|
+
"@progress/kendo-react-conversational-ui": "16.2.0-develop.20",
|
|
48
48
|
"@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
|
|
49
49
|
"react": "^18.0.0 || ^19.0.0",
|
|
50
50
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"package": {
|
|
156
156
|
"productName": "KendoReact",
|
|
157
157
|
"productCode": "KENDOUIREACT",
|
|
158
|
-
"publishDate":
|
|
158
|
+
"publishDate": 1791301644,
|
|
159
159
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
160
160
|
}
|
|
161
161
|
},
|
|
@@ -165,10 +165,5 @@
|
|
|
165
165
|
"repository": {
|
|
166
166
|
"type": "git",
|
|
167
167
|
"url": "git+https://github.com/telerik/kendo-react.git"
|
|
168
|
-
},
|
|
169
|
-
"peerDependenciesMeta": {
|
|
170
|
-
"@progress/kendo-svg-icons": {
|
|
171
|
-
"optional": true
|
|
172
|
-
}
|
|
173
168
|
}
|
|
174
169
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { GridScrollableSettings } from '../interfaces/GridScrollableSettings';
|
|
9
|
+
import { ScrollMode } from '../ScrollMode';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ScrollableOverlaySettings {
|
|
14
|
+
overlayScrollbar: boolean;
|
|
15
|
+
wheelMultiplier: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare function getScrollableOverlaySettings(scrollable: ScrollMode | GridScrollableSettings | undefined): ScrollableOverlaySettings;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
* Reports whether the proxied scrollbar overlay is currently scrolled to its bottom edge.
|
|
24
|
+
* Must be called BEFORE the overlay's spacer height is updated for a new page — its
|
|
25
|
+
* `scrollHeight` reflects the size from the PREVIOUS render, which is what "was it at the
|
|
26
|
+
* bottom" needs to check against. Only reports true when the page being applied is genuinely
|
|
27
|
+
* the last page — the overlay's own scrollTop can still read "at bottom" from a stale prior
|
|
28
|
+
* position (e.g. right after scrolling back up), which would otherwise incorrectly snap the
|
|
29
|
+
* content back down.
|
|
30
|
+
*/
|
|
31
|
+
export declare function isOverlayAtBottom(scrollbarOverlaySpacerElement: HTMLDivElement | null, isLastPageLoad: boolean): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export interface OverlayBottomPin {
|
|
36
|
+
scrollbarOverlay: HTMLDivElement;
|
|
37
|
+
overlayScrollTop: number;
|
|
38
|
+
contentScrollTop: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
* Computes the scrollTop values needed to keep the proxied scrollbar overlay pinned to the
|
|
43
|
+
* bottom, or `null` when there's no overlay/container to pin. Must be called AFTER the
|
|
44
|
+
* overlay's spacer height has been updated for the new page, so `scrollHeight` reflects the
|
|
45
|
+
* new size — pair with `isOverlayAtBottom()` (called before the resize) to decide whether to
|
|
46
|
+
* apply the result.
|
|
47
|
+
*/
|
|
48
|
+
export declare function getOverlayBottomPin(scrollbarOverlaySpacerElement: HTMLDivElement | null, container: HTMLDivElement | null): OverlayBottomPin | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(i){const o=typeof i=="object"?i:void 0,t=o==null?void 0:o.wheelMultiplier;return{overlayScrollbar:(o==null?void 0:o.scrollbar)==="proxied",wheelMultiplier:typeof t=="number"&&Number.isFinite(t)&&t>0?t:1}}function l(i,o){const t=i==null?void 0:i.parentElement;return o&&!!t&&t.scrollHeight-t.clientHeight-t.scrollTop<=1}function n(i,o){const t=i==null?void 0:i.parentElement;return!t||!o?null:{scrollbarOverlay:t,overlayScrollTop:t.scrollHeight-t.clientHeight,contentScrollTop:o.scrollHeight-o.clientHeight}}exports.getOverlayBottomPin=n;exports.getScrollableOverlaySettings=e;exports.isOverlayAtBottom=l;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
function n(i) {
|
|
9
|
+
const o = typeof i == "object" ? i : void 0, t = o == null ? void 0 : o.wheelMultiplier;
|
|
10
|
+
return {
|
|
11
|
+
overlayScrollbar: (o == null ? void 0 : o.scrollbar) === "proxied",
|
|
12
|
+
wheelMultiplier: typeof t == "number" && Number.isFinite(t) && t > 0 ? t : 1
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function u(i, o) {
|
|
16
|
+
const t = i == null ? void 0 : i.parentElement;
|
|
17
|
+
return o && !!t && t.scrollHeight - t.clientHeight - t.scrollTop <= 1;
|
|
18
|
+
}
|
|
19
|
+
function l(i, o) {
|
|
20
|
+
const t = i == null ? void 0 : i.parentElement;
|
|
21
|
+
return !t || !o ? null : {
|
|
22
|
+
scrollbarOverlay: t,
|
|
23
|
+
overlayScrollTop: t.scrollHeight - t.clientHeight,
|
|
24
|
+
contentScrollTop: o.scrollHeight - o.clientHeight
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
l as getOverlayBottomPin,
|
|
29
|
+
n as getScrollableOverlaySettings,
|
|
30
|
+
u as isOverlayAtBottom
|
|
31
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface WheelTouchScrollOptions {
|
|
12
|
+
wheelMultiplier: number;
|
|
13
|
+
overlayRequiresCustomWheel: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
* Attaches native (non-React) wheel/touch listeners so the grid can apply `wheelMultiplier` and/or
|
|
18
|
+
* restore scrolling when the proxied overlay hides native overflow. Always scrolls `container`;
|
|
19
|
+
* pass `wheelListenerTarget` (the shared ancestor of `container` and the overlay) to also catch
|
|
20
|
+
* wheel events bubbling from the overlay. Returns a cleanup function.
|
|
21
|
+
*/
|
|
22
|
+
export declare function attachWheelTouchScroll(container: HTMLDivElement, options: WheelTouchScrollOptions, wheelListenerTarget?: HTMLElement | null): () => void;
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=16,b=1,F=2,S=.95,d=.1;function N(e,M,_){const{wheelMultiplier:m,overlayRequiresCustomWheel:Y}=M;let f;const y=()=>{var t;if(f===void 0){const i=(t=e.ownerDocument.defaultView)==null?void 0:t.getComputedStyle(e).lineHeight;f=Number.parseFloat(i||"")||W}return f},L=t=>{if(t.ctrlKey||t.metaKey||!t.deltaY&&!t.deltaX)return;const i=e.scrollTop,r=e.scrollLeft;let l=t.deltaX,s=t.deltaY;if(t.shiftKey&&!l&&(l=s,s=0),t.deltaMode===b){const c=y();l*=c,s*=c}else t.deltaMode===F&&(l*=e.clientWidth,s*=e.clientHeight);e.scrollTop+=s*m,e.scrollLeft+=l*m,(e.scrollTop!==i||e.scrollLeft!==r)&&t.preventDefault()},T=_||e;T.addEventListener("wheel",L,{passive:!1});let h;if(Y){let t=0,i=0,r=0,l=0,s=0,c;const p=()=>{c!==void 0&&(cancelAnimationFrame(c),c=void 0)},E=()=>{e.scrollTop+=s,e.scrollLeft+=l,s*=S,l*=S,Math.abs(s)>d||Math.abs(l)>d?c=requestAnimationFrame(E):c=void 0},n=o=>{o.touches.length===1&&(p(),l=0,s=0,t=o.touches[0].clientX,i=o.touches[0].clientY,r=o.timeStamp)},v=o=>{if(o.touches.length!==1)return;const a=o.touches[0],g=t-a.clientX,H=i-a.clientY,I=Math.min(Math.max(o.timeStamp-r,1),100),A=e.scrollTop,X=e.scrollLeft;e.scrollTop+=H,e.scrollLeft+=g,s=H/I*(1e3/60),l=g/I*(1e3/60),t=a.clientX,i=a.clientY,r=o.timeStamp,(e.scrollTop!==A||e.scrollLeft!==X)&&o.preventDefault()},u=o=>{o.touches.length>0||(Math.abs(s)>d||Math.abs(l)>d)&&(c=requestAnimationFrame(E))};e.addEventListener("touchstart",n,{passive:!0}),e.addEventListener("touchmove",v,{passive:!1}),e.addEventListener("touchend",u,{passive:!0}),e.addEventListener("touchcancel",u,{passive:!0}),h=()=>{p(),e.removeEventListener("touchstart",n),e.removeEventListener("touchmove",v),e.removeEventListener("touchend",u),e.removeEventListener("touchcancel",u)}}return()=>{T.removeEventListener("wheel",L),h==null||h()}}exports.attachWheelTouchScroll=N;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
function Y(e, N, v) {
|
|
9
|
+
const { wheelMultiplier: a, overlayRequiresCustomWheel: A } = N;
|
|
10
|
+
let u;
|
|
11
|
+
const C = () => {
|
|
12
|
+
var t;
|
|
13
|
+
if (u === void 0) {
|
|
14
|
+
const i = (t = e.ownerDocument.defaultView) == null ? void 0 : t.getComputedStyle(e).lineHeight;
|
|
15
|
+
u = Number.parseFloat(i || "") || 16;
|
|
16
|
+
}
|
|
17
|
+
return u;
|
|
18
|
+
}, L = (t) => {
|
|
19
|
+
if (t.ctrlKey || t.metaKey || !t.deltaY && !t.deltaX)
|
|
20
|
+
return;
|
|
21
|
+
const i = e.scrollTop, h = e.scrollLeft;
|
|
22
|
+
let l = t.deltaX, s = t.deltaY;
|
|
23
|
+
if (t.shiftKey && !l && (l = s, s = 0), t.deltaMode === 1) {
|
|
24
|
+
const c = C();
|
|
25
|
+
l *= c, s *= c;
|
|
26
|
+
} else t.deltaMode === 2 && (l *= e.clientWidth, s *= e.clientHeight);
|
|
27
|
+
e.scrollTop += s * a, e.scrollLeft += l * a, (e.scrollTop !== i || e.scrollLeft !== h) && t.preventDefault();
|
|
28
|
+
}, I = v || e;
|
|
29
|
+
I.addEventListener("wheel", L, { passive: !1 });
|
|
30
|
+
let r;
|
|
31
|
+
if (A) {
|
|
32
|
+
let t = 0, i = 0, h = 0, l = 0, s = 0, c;
|
|
33
|
+
const d = () => {
|
|
34
|
+
c !== void 0 && (cancelAnimationFrame(c), c = void 0);
|
|
35
|
+
}, _ = () => {
|
|
36
|
+
e.scrollTop += s, e.scrollLeft += l, s *= 0.95, l *= 0.95, Math.abs(s) > 0.1 || Math.abs(l) > 0.1 ? c = requestAnimationFrame(_) : c = void 0;
|
|
37
|
+
}, f = (o) => {
|
|
38
|
+
o.touches.length === 1 && (d(), l = 0, s = 0, t = o.touches[0].clientX, i = o.touches[0].clientY, h = o.timeStamp);
|
|
39
|
+
}, m = (o) => {
|
|
40
|
+
if (o.touches.length !== 1)
|
|
41
|
+
return;
|
|
42
|
+
const E = o.touches[0], p = t - E.clientX, n = i - E.clientY, H = Math.min(Math.max(o.timeStamp - h, 1), 100), O = e.scrollTop, M = e.scrollLeft;
|
|
43
|
+
e.scrollTop += n, e.scrollLeft += p, s = n / H * (1e3 / 60), l = p / H * (1e3 / 60), t = E.clientX, i = E.clientY, h = o.timeStamp, (e.scrollTop !== O || e.scrollLeft !== M) && o.preventDefault();
|
|
44
|
+
}, T = (o) => {
|
|
45
|
+
o.touches.length > 0 || (Math.abs(s) > 0.1 || Math.abs(l) > 0.1) && (c = requestAnimationFrame(_));
|
|
46
|
+
};
|
|
47
|
+
e.addEventListener("touchstart", f, { passive: !0 }), e.addEventListener("touchmove", m, { passive: !1 }), e.addEventListener("touchend", T, { passive: !0 }), e.addEventListener("touchcancel", T, { passive: !0 }), r = () => {
|
|
48
|
+
d(), e.removeEventListener("touchstart", f), e.removeEventListener("touchmove", m), e.removeEventListener("touchend", T), e.removeEventListener("touchcancel", T);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
return () => {
|
|
52
|
+
I.removeEventListener("wheel", L), r == null || r();
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
Y as attachWheelTouchScroll
|
|
57
|
+
};
|