@progress/kendo-react-data-tools 9.3.1-develop.1 → 9.4.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/detail-expansion/expandReducer.js +8 -0
- package/detail-expansion/expandReducer.mjs +27 -0
- package/detail-expansion/utils.js +8 -0
- package/detail-expansion/utils.mjs +18 -0
- package/dist/cdn/js/kendo-react-datatools.js +1 -1
- package/editing/editReducer.js +8 -0
- package/editing/editReducer.mjs +44 -0
- package/editing/utils.js +8 -0
- package/editing/utils.mjs +18 -0
- package/group-expansion/groupExpandReducer.js +8 -0
- package/group-expansion/groupExpandReducer.mjs +108 -0
- package/index.d.mts +185 -2
- package/index.d.ts +185 -2
- package/index.js +1 -1
- package/index.mjs +128 -111
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/virtualization/columns.js +1 -1
- package/virtualization/columns.mjs +20 -15
package/index.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./pager/Pager.js"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./pager/Pager.js"),_=require("./drag/ColumnResize.js"),p=require("./drag/ColumnResizer.js"),D=require("./drag/CommonDragLogic.js"),N=require("./drag/DragClue.js"),g=require("./drag/DropClue.js"),t=require("./utils/data-operations.js"),a=require("./utils/group-operations.js"),F=require("./navigation/hooks.js"),e=require("./navigation/constants.js"),O=require("./navigation/NavigatableSettings.js"),b=require("./navigation/TableKeyboardNavigation.js"),R=require("./navigation/TableKeyboardNavigationContext.js"),q=require("./navigation/utils.js"),I=require("./selection/TableSelection.js"),u=require("./selection/constants.js"),r=require("./selection/utils.js"),S=require("./editing/utils.js"),m=require("./editing/editReducer.js"),B=require("./detail-expansion/utils.js"),d=require("./detail-expansion/expandReducer.js"),n=require("./group-expansion/groupExpandReducer.js"),x=require("./clipboard/clipboard.service.js"),C=require("./clipboard/common.js"),L=require("./filteringCells/FilterComponent.js"),M=require("./filteringCells/BooleanFilter.js"),K=require("./filteringCells/DateFilter.js"),y=require("./filteringCells/NumericFilter.js"),v=require("./filteringCells/TextFilter.js"),V=require("./header/ColumnProps.js"),c=require("./header/FilterRow.js"),H=require("./header/Header.js"),Y=require("./header/HeaderCell.js"),f=require("./header/HeaderRow.js"),P=require("./header/HeaderSelectionCell.js"),G=require("./header/SortSettings.js"),o=require("./header/utils/index.js"),U=require("./header/HeaderThElement.js"),w=require("./header/HeaderTdElement.js"),z=require("./virtualization/columns.js"),X=require("./filter/filters/TextFilter.js"),h=require("./filter/filters/NumericFilter.js"),$=require("./filter/filters/DateFilter.js"),W=require("./filter/filters/BooleanFilter.js"),Z=require("./filter/filters/EnumFilter.js"),j=require("./filter/Expression.js"),E=require("./filter/Filter.js"),k=require("./filter/Group.js"),s=require("./filter/operators.js"),l=require("./columnmenu/ColumnMenu.js"),T=require("./columnmenu/ColumnMenuFilterForm.js"),J=require("./columnmenu/ColumnMenuFilterLogic.js"),i=require("./columnmenu/ColumnMenuFilters.js"),Q=require("./columnmenu/ColumnMenuItem.js"),ee=require("./columnmenu/ColumnMenuOperators.js");exports.Pager=A.Pager;exports.ColumnResize=_.ColumnResize;exports.ColumnResizer=p.ColumnResizer;exports.CommonDragLogic=D.CommonDragLogic;exports.DragClue=N.DragClue;exports.DropClue=g.DropClue;exports.createDataTree=t.createDataTree;exports.extendDataItem=t.extendDataItem;exports.filterBy=t.filterBy;exports.flatData=t.flatData;exports.getItemPath=t.getItemPath;exports.modifySubItems=t.modifySubItems;exports.moveTreeItem=t.moveTreeItem;exports.orderBy=t.orderBy;exports.removeItems=t.removeItems;exports.treeToFlat=t.treeToFlat;exports.getGroupIds=a.getGroupIds;exports.setExpandedState=a.setExpandedState;exports.setGroupIds=a.setGroupIds;exports.useTableKeyboardNavigation=F.useTableKeyboardNavigation;exports.KEYBOARD_NAV_CANCEL_BUTTON_CLASS=e.KEYBOARD_NAV_CANCEL_BUTTON_CLASS;exports.KEYBOARD_NAV_DATA_BODY=e.KEYBOARD_NAV_DATA_BODY;exports.KEYBOARD_NAV_DATA_HEADER=e.KEYBOARD_NAV_DATA_HEADER;exports.KEYBOARD_NAV_DATA_ID=e.KEYBOARD_NAV_DATA_ID;exports.KEYBOARD_NAV_DATA_LEVEL=e.KEYBOARD_NAV_DATA_LEVEL;exports.KEYBOARD_NAV_DATA_SCOPE=e.KEYBOARD_NAV_DATA_SCOPE;exports.KEYBOARD_NAV_DATA_ZONE=e.KEYBOARD_NAV_DATA_ZONE;exports.KEYBOARD_NAV_EDIT_BUTTON_CLASS=e.KEYBOARD_NAV_EDIT_BUTTON_CLASS;exports.KEYBOARD_NAV_FILTER_COL_SUFFIX=e.KEYBOARD_NAV_FILTER_COL_SUFFIX;exports.tableKeyboardNavigationBodyAttributes=e.tableKeyboardNavigationBodyAttributes;exports.tableKeyboardNavigationHeaderAttributes=e.tableKeyboardNavigationHeaderAttributes;exports.tableKeyboardNavigationScopeAttributes=e.tableKeyboardNavigationScopeAttributes;exports.NavigatableMode=O.NavigatableMode;exports.tableKeyboardNavigation=b.tableKeyboardNavigation;exports.TableKeyboardNavigationContext=R.TableKeyboardNavigationContext;exports.tableKeyboardNavigationTools=q.tableKeyboardNavigationTools;exports.TableSelection=I.TableSelection;exports.TABLE_COL_INDEX_ATTRIBUTE=u.TABLE_COL_INDEX_ATTRIBUTE;exports.TABLE_PREVENT_SELECTION_ELEMENT=u.TABLE_PREVENT_SELECTION_ELEMENT;exports.TABLE_ROW_INDEX_ATTRIBUTE=u.TABLE_ROW_INDEX_ATTRIBUTE;exports.closestTagName=r.closestTagName;exports.getColumnIndex=r.getColumnIndex;exports.getOffset=r.getOffset;exports.getRowIndex=r.getRowIndex;exports.getSelectedState=r.getSelectedState;exports.getSelectedStateFromKeyDown=r.getSelectedStateFromKeyDown;exports.getSelectionOptions=r.getSelectionOptions;exports.isInNonSelectable=r.isInNonSelectable;exports.relativeContextElement=r.relativeContextElement;exports.setSelectedState=r.setSelectedState;exports.getEditableOptions=S.getEditableOptions;exports.EDIT_ACTION=m.EDIT_ACTION;exports.editReducer=m.editReducer;exports.getDetailExpandableOptions=B.getDetailExpandableOptions;exports.DETAIL_EXPAND_ACTION=d.DETAIL_EXPAND_ACTION;exports.detailExpandReducer=d.detailExpandReducer;exports.GROUP_EXPAND_ACTION=n.GROUP_EXPAND_ACTION;exports.findGroupExpand=n.findGroupExpand;exports.flatToTree=n.flatToTree;exports.getGroupExpandableOptions=n.getGroupExpandableOptions;exports.groupExpandReducer=n.groupExpandReducer;exports.isExpanded=n.isExpanded;exports.ClipboardService=x.ClipboardService;exports.ClipboardActionType=C.ClipboardActionType;exports.populateClipboardData=C.populateClipboardData;exports.createFilterComponent=L.createFilterComponent;exports.BooleanFilterCell=M.BooleanFilterCell;exports.DateFilterCell=K.DateFilterCell;exports.NumericFilterCell=y.NumericFilterCell;exports.TextFilterCell=v.TextFilterCell;exports.ColumnDefaultProps=V.ColumnDefaultProps;exports.FILTER_ROW_CLASS=c.FILTER_ROW_CLASS;exports.FilterRow=c.FilterRow;exports.Header=H.Header;exports.HeaderCell=Y.HeaderCell;exports.HeaderRow=f.HeaderRow;exports.HeaderSelectionCell=P.HeaderSelectionCell;exports.normalize=G.normalize;exports.getIndex=o.getIndex;exports.isRtl=o.isRtl;exports.mapColumns=o.mapColumns;exports.nextColumn=o.nextColumn;exports.readColumns=o.readColumns;exports.updateLeft=o.updateLeft;exports.updateRight=o.updateRight;exports.HeaderThElement=U.HeaderThElement;exports.HeaderTdElement=w.HeaderTdElement;exports.tableColumnsVirtualization=z.tableColumnsVirtualization;exports.TextFilter=X.TextFilter;exports.NumericFilter=h.NumericFilter;exports.DateFilter=$.DateFilter;exports.BooleanFilter=W.BooleanFilter;exports.EnumFilter=Z.EnumFilter;exports.Expression=j.Expression;exports.Filter=E.Filter;exports.selectors=E.selectors;exports.Group=k.Group;exports.Operators=s.Operators;exports.stringOperator=s.stringOperator;exports.unaryOperator=s.unaryOperator;exports.ColumnMenuBooleanColumn=l.ColumnMenuBooleanColumn;exports.ColumnMenuDateColumn=l.ColumnMenuDateColumn;exports.ColumnMenuNumericColumn=l.ColumnMenuNumericColumn;exports.ColumnMenuTextColumn=l.ColumnMenuTextColumn;exports.ColumnMenuFilterForm=T.ColumnMenuFilterForm;exports.ColumnMenuForm=T.ColumnMenuForm;exports.ColumnMenuFilterLogic=J.ColumnMenuFilterLogic;exports.ColumnMenuBooleanFilter=i.ColumnMenuBooleanFilter;exports.ColumnMenuDateFilter=i.ColumnMenuDateFilter;exports.ColumnMenuNumericFilter=i.ColumnMenuNumericFilter;exports.ColumnMenuTextFilter=i.ColumnMenuTextFilter;exports.ColumnMenuItem=Q.ColumnMenuItem;exports.ColumnMenuOperators=ee.ColumnMenuOperators;
|
package/index.mjs
CHANGED
|
@@ -9,91 +9,99 @@
|
|
|
9
9
|
import { Pager as r } from "./pager/Pager.mjs";
|
|
10
10
|
import { ColumnResize as m } from "./drag/ColumnResize.mjs";
|
|
11
11
|
import { ColumnResizer as a } from "./drag/ColumnResizer.mjs";
|
|
12
|
-
import { CommonDragLogic as
|
|
12
|
+
import { CommonDragLogic as n } from "./drag/CommonDragLogic.mjs";
|
|
13
13
|
import { DragClue as x } from "./drag/DragClue.mjs";
|
|
14
14
|
import { DropClue as f } from "./drag/DropClue.mjs";
|
|
15
|
-
import { createDataTree as
|
|
16
|
-
import { getGroupIds as
|
|
17
|
-
import { useTableKeyboardNavigation as
|
|
18
|
-
import { KEYBOARD_NAV_CANCEL_BUTTON_CLASS as L, KEYBOARD_NAV_DATA_BODY as K, KEYBOARD_NAV_DATA_HEADER as M, KEYBOARD_NAV_DATA_ID as y, KEYBOARD_NAV_DATA_LEVEL as v, KEYBOARD_NAV_DATA_SCOPE as V, KEYBOARD_NAV_DATA_ZONE as Y, KEYBOARD_NAV_EDIT_BUTTON_CLASS as H, KEYBOARD_NAV_FILTER_COL_SUFFIX as P, tableKeyboardNavigationBodyAttributes as
|
|
19
|
-
import { NavigatableMode as
|
|
15
|
+
import { createDataTree as d, extendDataItem as A, filterBy as E, flatData as T, getItemPath as _, modifySubItems as D, moveTreeItem as N, orderBy as s, removeItems as O, treeToFlat as g } from "./utils/data-operations.mjs";
|
|
16
|
+
import { getGroupIds as R, setExpandedState as I, setGroupIds as F } from "./utils/group-operations.mjs";
|
|
17
|
+
import { useTableKeyboardNavigation as B } from "./navigation/hooks.mjs";
|
|
18
|
+
import { KEYBOARD_NAV_CANCEL_BUTTON_CLASS as L, KEYBOARD_NAV_DATA_BODY as K, KEYBOARD_NAV_DATA_HEADER as M, KEYBOARD_NAV_DATA_ID as y, KEYBOARD_NAV_DATA_LEVEL as v, KEYBOARD_NAV_DATA_SCOPE as V, KEYBOARD_NAV_DATA_ZONE as Y, KEYBOARD_NAV_EDIT_BUTTON_CLASS as H, KEYBOARD_NAV_FILTER_COL_SUFFIX as P, tableKeyboardNavigationBodyAttributes as G, tableKeyboardNavigationHeaderAttributes as U, tableKeyboardNavigationScopeAttributes as X } from "./navigation/constants.mjs";
|
|
19
|
+
import { NavigatableMode as z } from "./navigation/NavigatableSettings.mjs";
|
|
20
20
|
import { tableKeyboardNavigation as W } from "./navigation/TableKeyboardNavigation.mjs";
|
|
21
21
|
import { TableKeyboardNavigationContext as j } from "./navigation/TableKeyboardNavigationContext.mjs";
|
|
22
22
|
import { tableKeyboardNavigationTools as q } from "./navigation/utils.mjs";
|
|
23
23
|
import { TableSelection as Q } from "./selection/TableSelection.mjs";
|
|
24
24
|
import { TABLE_COL_INDEX_ATTRIBUTE as ee, TABLE_PREVENT_SELECTION_ELEMENT as oe, TABLE_ROW_INDEX_ATTRIBUTE as re } from "./selection/constants.mjs";
|
|
25
|
-
import { closestTagName as me, getColumnIndex as le, getOffset as ae, getRowIndex as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
25
|
+
import { closestTagName as me, getColumnIndex as le, getOffset as ae, getRowIndex as pe, getSelectedState as ne, getSelectedStateFromKeyDown as ie, getSelectionOptions as xe, isInNonSelectable as ue, relativeContextElement as fe, setSelectedState as Ce } from "./selection/utils.mjs";
|
|
26
|
+
import { getEditableOptions as Ae } from "./editing/utils.mjs";
|
|
27
|
+
import { EDIT_ACTION as Te, editReducer as _e } from "./editing/editReducer.mjs";
|
|
28
|
+
import { getDetailExpandableOptions as Ne } from "./detail-expansion/utils.mjs";
|
|
29
|
+
import { DETAIL_EXPAND_ACTION as Oe, detailExpandReducer as ge } from "./detail-expansion/expandReducer.mjs";
|
|
30
|
+
import { GROUP_EXPAND_ACTION as Re, findGroupExpand as Ie, flatToTree as Fe, getGroupExpandableOptions as ce, groupExpandReducer as Be, isExpanded as Se } from "./group-expansion/groupExpandReducer.mjs";
|
|
31
|
+
import { ClipboardService as Ke } from "./clipboard/clipboard.service.mjs";
|
|
32
|
+
import { ClipboardActionType as ye, populateClipboardData as ve } from "./clipboard/common.mjs";
|
|
33
|
+
import { createFilterComponent as Ye } from "./filteringCells/FilterComponent.mjs";
|
|
34
|
+
import { BooleanFilterCell as Pe } from "./filteringCells/BooleanFilter.mjs";
|
|
35
|
+
import { DateFilterCell as Ue } from "./filteringCells/DateFilter.mjs";
|
|
36
|
+
import { NumericFilterCell as we } from "./filteringCells/NumericFilter.mjs";
|
|
37
|
+
import { TextFilterCell as he } from "./filteringCells/TextFilter.mjs";
|
|
38
|
+
import { ColumnDefaultProps as Ze } from "./header/ColumnProps.mjs";
|
|
39
|
+
import { FILTER_ROW_CLASS as ke, FilterRow as qe } from "./header/FilterRow.mjs";
|
|
40
|
+
import { Header as Qe } from "./header/Header.mjs";
|
|
41
|
+
import { HeaderCell as eo } from "./header/HeaderCell.mjs";
|
|
42
|
+
import { HeaderRow as ro } from "./header/HeaderRow.mjs";
|
|
43
|
+
import { HeaderSelectionCell as mo } from "./header/HeaderSelectionCell.mjs";
|
|
44
|
+
import { normalize as ao } from "./header/SortSettings.mjs";
|
|
45
|
+
import { getIndex as no, isRtl as io, mapColumns as xo, nextColumn as uo, readColumns as fo, updateLeft as Co, updateRight as Ao } from "./header/utils/index.mjs";
|
|
46
|
+
import { HeaderThElement as To } from "./header/HeaderThElement.mjs";
|
|
47
|
+
import { HeaderTdElement as Do } from "./header/HeaderTdElement.mjs";
|
|
48
|
+
import { tableColumnsVirtualization as so } from "./virtualization/columns.mjs";
|
|
49
|
+
import { TextFilter as go } from "./filter/filters/TextFilter.mjs";
|
|
50
|
+
import { NumericFilter as Ro } from "./filter/filters/NumericFilter.mjs";
|
|
51
|
+
import { DateFilter as Fo } from "./filter/filters/DateFilter.mjs";
|
|
52
|
+
import { BooleanFilter as Bo } from "./filter/filters/BooleanFilter.mjs";
|
|
53
|
+
import { EnumFilter as Lo } from "./filter/filters/EnumFilter.mjs";
|
|
54
|
+
import { Expression as Mo } from "./filter/Expression.mjs";
|
|
55
|
+
import { Filter as vo, selectors as Vo } from "./filter/Filter.mjs";
|
|
56
|
+
import { Group as Ho } from "./filter/Group.mjs";
|
|
57
|
+
import { Operators as Go, stringOperator as Uo, unaryOperator as Xo } from "./filter/operators.mjs";
|
|
58
|
+
import { ColumnMenuBooleanColumn as zo, ColumnMenuDateColumn as ho, ColumnMenuNumericColumn as Wo, ColumnMenuTextColumn as Zo } from "./columnmenu/ColumnMenu.mjs";
|
|
59
|
+
import { ColumnMenuFilterForm as ko, ColumnMenuForm as qo } from "./columnmenu/ColumnMenuFilterForm.mjs";
|
|
60
|
+
import { ColumnMenuFilterLogic as Qo } from "./columnmenu/ColumnMenuFilterLogic.mjs";
|
|
61
|
+
import { ColumnMenuBooleanFilter as er, ColumnMenuDateFilter as or, ColumnMenuNumericFilter as rr, ColumnMenuTextFilter as tr } from "./columnmenu/ColumnMenuFilters.mjs";
|
|
62
|
+
import { ColumnMenuItem as lr } from "./columnmenu/ColumnMenuItem.mjs";
|
|
63
|
+
import { ColumnMenuOperators as pr } from "./columnmenu/ColumnMenuOperators.mjs";
|
|
59
64
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
Bo as BooleanFilter,
|
|
66
|
+
Pe as BooleanFilterCell,
|
|
67
|
+
ye as ClipboardActionType,
|
|
68
|
+
Ke as ClipboardService,
|
|
69
|
+
Ze as ColumnDefaultProps,
|
|
70
|
+
zo as ColumnMenuBooleanColumn,
|
|
71
|
+
er as ColumnMenuBooleanFilter,
|
|
72
|
+
ho as ColumnMenuDateColumn,
|
|
73
|
+
or as ColumnMenuDateFilter,
|
|
74
|
+
ko as ColumnMenuFilterForm,
|
|
75
|
+
Qo as ColumnMenuFilterLogic,
|
|
76
|
+
qo as ColumnMenuForm,
|
|
77
|
+
lr as ColumnMenuItem,
|
|
78
|
+
Wo as ColumnMenuNumericColumn,
|
|
79
|
+
rr as ColumnMenuNumericFilter,
|
|
80
|
+
pr as ColumnMenuOperators,
|
|
81
|
+
Zo as ColumnMenuTextColumn,
|
|
82
|
+
tr as ColumnMenuTextFilter,
|
|
78
83
|
m as ColumnResize,
|
|
79
84
|
a as ColumnResizer,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
n as CommonDragLogic,
|
|
86
|
+
Oe as DETAIL_EXPAND_ACTION,
|
|
87
|
+
Fo as DateFilter,
|
|
88
|
+
Ue as DateFilterCell,
|
|
83
89
|
x as DragClue,
|
|
84
90
|
f as DropClue,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
91
|
+
Te as EDIT_ACTION,
|
|
92
|
+
Lo as EnumFilter,
|
|
93
|
+
Mo as Expression,
|
|
94
|
+
ke as FILTER_ROW_CLASS,
|
|
95
|
+
vo as Filter,
|
|
96
|
+
qe as FilterRow,
|
|
97
|
+
Re as GROUP_EXPAND_ACTION,
|
|
98
|
+
Ho as Group,
|
|
99
|
+
Qe as Header,
|
|
100
|
+
eo as HeaderCell,
|
|
101
|
+
ro as HeaderRow,
|
|
102
|
+
mo as HeaderSelectionCell,
|
|
103
|
+
Do as HeaderTdElement,
|
|
104
|
+
To as HeaderThElement,
|
|
97
105
|
L as KEYBOARD_NAV_CANCEL_BUTTON_CLASS,
|
|
98
106
|
K as KEYBOARD_NAV_DATA_BODY,
|
|
99
107
|
M as KEYBOARD_NAV_DATA_HEADER,
|
|
@@ -103,59 +111,68 @@ export {
|
|
|
103
111
|
Y as KEYBOARD_NAV_DATA_ZONE,
|
|
104
112
|
H as KEYBOARD_NAV_EDIT_BUTTON_CLASS,
|
|
105
113
|
P as KEYBOARD_NAV_FILTER_COL_SUFFIX,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
114
|
+
z as NavigatableMode,
|
|
115
|
+
Ro as NumericFilter,
|
|
116
|
+
we as NumericFilterCell,
|
|
117
|
+
Go as Operators,
|
|
110
118
|
r as Pager,
|
|
111
119
|
ee as TABLE_COL_INDEX_ATTRIBUTE,
|
|
112
120
|
oe as TABLE_PREVENT_SELECTION_ELEMENT,
|
|
113
121
|
re as TABLE_ROW_INDEX_ATTRIBUTE,
|
|
114
122
|
j as TableKeyboardNavigationContext,
|
|
115
123
|
Q as TableSelection,
|
|
116
|
-
|
|
117
|
-
|
|
124
|
+
go as TextFilter,
|
|
125
|
+
he as TextFilterCell,
|
|
118
126
|
me as closestTagName,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
d as createDataTree,
|
|
128
|
+
Ye as createFilterComponent,
|
|
129
|
+
ge as detailExpandReducer,
|
|
130
|
+
_e as editReducer,
|
|
131
|
+
A as extendDataItem,
|
|
132
|
+
E as filterBy,
|
|
133
|
+
Ie as findGroupExpand,
|
|
134
|
+
T as flatData,
|
|
135
|
+
Fe as flatToTree,
|
|
124
136
|
le as getColumnIndex,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
137
|
+
Ne as getDetailExpandableOptions,
|
|
138
|
+
Ae as getEditableOptions,
|
|
139
|
+
ce as getGroupExpandableOptions,
|
|
140
|
+
R as getGroupIds,
|
|
141
|
+
no as getIndex,
|
|
142
|
+
_ as getItemPath,
|
|
128
143
|
ae as getOffset,
|
|
129
|
-
|
|
130
|
-
|
|
144
|
+
pe as getRowIndex,
|
|
145
|
+
ne as getSelectedState,
|
|
131
146
|
ie as getSelectedStateFromKeyDown,
|
|
132
147
|
xe as getSelectionOptions,
|
|
148
|
+
Be as groupExpandReducer,
|
|
149
|
+
Se as isExpanded,
|
|
133
150
|
ue as isInNonSelectable,
|
|
134
|
-
|
|
135
|
-
|
|
151
|
+
io as isRtl,
|
|
152
|
+
xo as mapColumns,
|
|
136
153
|
D as modifySubItems,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
154
|
+
N as moveTreeItem,
|
|
155
|
+
uo as nextColumn,
|
|
156
|
+
ao as normalize,
|
|
157
|
+
s as orderBy,
|
|
158
|
+
ve as populateClipboardData,
|
|
159
|
+
fo as readColumns,
|
|
143
160
|
fe as relativeContextElement,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
161
|
+
O as removeItems,
|
|
162
|
+
Vo as selectors,
|
|
163
|
+
I as setExpandedState,
|
|
164
|
+
F as setGroupIds,
|
|
148
165
|
Ce as setSelectedState,
|
|
149
|
-
|
|
150
|
-
|
|
166
|
+
Uo as stringOperator,
|
|
167
|
+
so as tableColumnsVirtualization,
|
|
151
168
|
W as tableKeyboardNavigation,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
169
|
+
G as tableKeyboardNavigationBodyAttributes,
|
|
170
|
+
U as tableKeyboardNavigationHeaderAttributes,
|
|
171
|
+
X as tableKeyboardNavigationScopeAttributes,
|
|
155
172
|
q as tableKeyboardNavigationTools,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
173
|
+
g as treeToFlat,
|
|
174
|
+
Xo as unaryOperator,
|
|
175
|
+
Co as updateLeft,
|
|
176
|
+
Ao as updateRight,
|
|
177
|
+
B as useTableKeyboardNavigation
|
|
161
178
|
};
|
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-data-tools",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-data-tools",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1737621394,version:"9.4.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -11,8 +11,8 @@ const e = {
|
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCode: "KENDOUIREACT",
|
|
13
13
|
productCodes: ["KENDOUIREACT"],
|
|
14
|
-
publishDate:
|
|
15
|
-
version: "9.
|
|
14
|
+
publishDate: 1737621394,
|
|
15
|
+
version: "9.4.0-develop.1",
|
|
16
16
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
17
17
|
};
|
|
18
18
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-data-tools",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0-develop.1",
|
|
4
4
|
"description": "Includes React Pager & React Filter component, an intuitive interface to create complex filter descriptions. KendoReact Data Tools package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"@progress/kendo-data-query": "^1.0.0",
|
|
29
29
|
"@progress/kendo-drawing": "^1.21.2",
|
|
30
30
|
"@progress/kendo-licensing": "^1.3.4",
|
|
31
|
-
"@progress/kendo-react-animation": "9.
|
|
32
|
-
"@progress/kendo-react-buttons": "9.
|
|
33
|
-
"@progress/kendo-react-common": "9.
|
|
34
|
-
"@progress/kendo-react-dateinputs": "9.
|
|
35
|
-
"@progress/kendo-react-dropdowns": "9.
|
|
36
|
-
"@progress/kendo-react-inputs": "9.
|
|
37
|
-
"@progress/kendo-react-intl": "9.
|
|
38
|
-
"@progress/kendo-react-popup": "9.
|
|
31
|
+
"@progress/kendo-react-animation": "9.4.0-develop.1",
|
|
32
|
+
"@progress/kendo-react-buttons": "9.4.0-develop.1",
|
|
33
|
+
"@progress/kendo-react-common": "9.4.0-develop.1",
|
|
34
|
+
"@progress/kendo-react-dateinputs": "9.4.0-develop.1",
|
|
35
|
+
"@progress/kendo-react-dropdowns": "9.4.0-develop.1",
|
|
36
|
+
"@progress/kendo-react-inputs": "9.4.0-develop.1",
|
|
37
|
+
"@progress/kendo-react-intl": "9.4.0-develop.1",
|
|
38
|
+
"@progress/kendo-react-popup": "9.4.0-develop.1",
|
|
39
39
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
40
40
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
41
41
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"package": {
|
|
62
62
|
"productName": "KendoReact",
|
|
63
63
|
"productCode": "KENDOUIREACT",
|
|
64
|
-
"publishDate":
|
|
64
|
+
"publishDate": 1737621394,
|
|
65
65
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(b){const{enabled:S,columns:l=[],tableViewPortWidth:w,scrollLeft:g,getColSpan:m,dataItem:C}=b,h=l.map(()=>1),i=l.map(()=>!1);if(!S)return{colSpans:h,hiddenColumns:i};const n=l.map(e=>parseFloat((e.width||"").toString())||10);let o=0;for(let e=0;e<l.length;e++){if(l[e].locked)continue;let c=1;if(m!==void 0){let r=m(l[e],C);r>2?c=r-1:r===2&&(c=r)}const O=e<n.length-1?n[e+1]*c:0;if(o+n[e]+O<g)i[e]=!0,o+=n[e];else break}const y=n.reduce((e,c)=>e+c,0);o=0;for(let e=l.length-1;e>=0;e--)if(!l[e].locked)if(o+2*n[e]<y-w-g)i[e]=!0,o+=n[e];else break;const t=[...i],f=e=>e;let s=t.lastIndexOf(!1),p=t.some(f),u=t.every(f),a,d;for(;p&&t.length&&(s!==-1||u);){for(s<t.length-1&&(a=u?t.length:t.length-s-1,d=t.length-a,d===0&&(d=a-1),i[d]=!1,h[d]=a,t.splice(s+1,a));t.length&&!t[t.length-1];)t.pop();s=t.lastIndexOf(!1),p=t.some(f),u=t.every(f)}return{colSpans:h,hiddenColumns:i}}exports.tableColumnsVirtualization=k;
|
|
@@ -6,38 +6,43 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
function
|
|
10
|
-
const { enabled:
|
|
11
|
-
if (!
|
|
12
|
-
return { colSpans:
|
|
9
|
+
function I(b) {
|
|
10
|
+
const { enabled: w, columns: l = [], tableViewPortWidth: x, scrollLeft: g, getColSpan: p, dataItem: C } = b, r = l.map(() => 1), i = l.map(() => !1);
|
|
11
|
+
if (!w)
|
|
12
|
+
return { colSpans: r, hiddenColumns: i };
|
|
13
13
|
const n = l.map((e) => parseFloat((e.width || "").toString()) || 10);
|
|
14
14
|
let o = 0;
|
|
15
15
|
for (let e = 0; e < l.length; e++) {
|
|
16
16
|
if (l[e].locked)
|
|
17
17
|
continue;
|
|
18
|
-
|
|
19
|
-
if (
|
|
18
|
+
let f = 1;
|
|
19
|
+
if (p !== void 0) {
|
|
20
|
+
let h = p(l[e], C);
|
|
21
|
+
h > 2 ? f = h - 1 : h === 2 && (f = h);
|
|
22
|
+
}
|
|
23
|
+
const k = e < n.length - 1 ? n[e + 1] * f : 0;
|
|
24
|
+
if (o + n[e] + k < g)
|
|
20
25
|
i[e] = !0, o += n[e];
|
|
21
26
|
else
|
|
22
27
|
break;
|
|
23
28
|
}
|
|
24
|
-
const
|
|
29
|
+
const S = n.reduce((e, f) => e + f, 0);
|
|
25
30
|
o = 0;
|
|
26
31
|
for (let e = l.length - 1; e >= 0; e--)
|
|
27
32
|
if (!l[e].locked)
|
|
28
|
-
if (o + 2 * n[e] <
|
|
33
|
+
if (o + 2 * n[e] < S - x - g)
|
|
29
34
|
i[e] = !0, o += n[e];
|
|
30
35
|
else
|
|
31
36
|
break;
|
|
32
|
-
const t = [...i],
|
|
33
|
-
let s = t.lastIndexOf(!1),
|
|
34
|
-
for (;
|
|
35
|
-
for (s < t.length - 1 && (d =
|
|
37
|
+
const t = [...i], c = (e) => e;
|
|
38
|
+
let s = t.lastIndexOf(!1), m = t.some(c), u = t.every(c), d, a;
|
|
39
|
+
for (; m && t.length && (s !== -1 || u); ) {
|
|
40
|
+
for (s < t.length - 1 && (d = u ? t.length : t.length - s - 1, a = t.length - d, a === 0 && (a = d - 1), i[a] = !1, r[a] = d, t.splice(s + 1, d)); t.length && !t[t.length - 1]; )
|
|
36
41
|
t.pop();
|
|
37
|
-
s = t.lastIndexOf(!1),
|
|
42
|
+
s = t.lastIndexOf(!1), m = t.some(c), u = t.every(c);
|
|
38
43
|
}
|
|
39
|
-
return { colSpans:
|
|
44
|
+
return { colSpans: r, hiddenColumns: i };
|
|
40
45
|
}
|
|
41
46
|
export {
|
|
42
|
-
|
|
47
|
+
I as tableColumnsVirtualization
|
|
43
48
|
};
|