@progress/kendo-react-grid 14.3.0-develop.6 → 14.3.0-develop.7
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/GridClientContextReader.js +1 -1
- package/GridClientContextReader.mjs +10 -9
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +672 -589
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +427 -374
- package/GridState.d.ts +2 -0
- package/GridState.js +1 -1
- package/GridState.mjs +98 -90
- package/cells/pincell/GridPinCell.d.ts +15 -0
- package/cells/pincell/GridPinCell.js +9 -0
- package/cells/pincell/GridPinCell.mjs +19 -0
- package/cells/pincell/GridPinCellServer.d.ts +15 -0
- package/cells/pincell/GridPinCellServer.js +8 -0
- package/cells/pincell/GridPinCellServer.mjs +32 -0
- package/cells/pincell/GridPinCellServerContainer.d.ts +11 -0
- package/cells/pincell/GridPinCellServerContainer.js +9 -0
- package/cells/pincell/GridPinCellServerContainer.mjs +26 -0
- package/cells/pincell/GridPinDropdownButton.d.ts +21 -0
- package/cells/pincell/GridPinDropdownButton.js +9 -0
- package/cells/pincell/GridPinDropdownButton.mjs +58 -0
- package/cells/pincell/useGridPinCellClientTdProps.d.ts +24 -0
- package/cells/pincell/useGridPinCellClientTdProps.js +9 -0
- package/cells/pincell/useGridPinCellClientTdProps.mjs +21 -0
- package/cells/pincell/utils.d.ts +20 -0
- package/cells/pincell/utils.js +8 -0
- package/cells/pincell/utils.mjs +47 -0
- package/components/PinnedRowsTable.d.ts +48 -0
- package/components/PinnedRowsTable.js +9 -0
- package/components/PinnedRowsTable.mjs +133 -0
- package/components/StickyGroupTable.js +1 -1
- package/components/StickyGroupTable.mjs +1 -1
- package/contextMenu/GridContextMenu.d.ts +42 -0
- package/contextMenu/GridContextMenu.js +1 -1
- package/contextMenu/GridContextMenu.mjs +101 -51
- package/contextMenu/enums.d.ts +5 -1
- package/contextMenu/enums.js +1 -1
- package/contextMenu/enums.mjs +2 -2
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnResize.d.ts +9 -0
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +105 -115
- package/getRowContents.d.ts +2 -2
- package/getRowContents.js +1 -1
- package/getRowContents.mjs +13 -14
- package/header/client/GridHeaderPinCell.d.ts +12 -0
- package/header/client/GridHeaderPinCell.js +9 -0
- package/header/client/GridHeaderPinCell.mjs +14 -0
- package/index.d.mts +5 -2
- package/index.d.ts +5 -2
- package/index.js +1 -1
- package/index.mjs +99 -95
- package/interfaces/ColumnType.d.ts +1 -1
- package/interfaces/GridCellsSettings.d.ts +23 -0
- package/interfaces/GridProps.d.ts +70 -1
- package/interfaces/GridRowProps.d.ts +4 -0
- package/interfaces/GridRowsSettings.d.ts +11 -0
- package/interfaces/events.d.ts +17 -0
- package/messages/index.d.ts +20 -0
- package/messages/index.js +2 -2
- package/messages/index.mjs +110 -102
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/rows/GridRow.js +1 -1
- package/rows/GridRow.mjs +25 -24
- package/rows/GridRowRenderer.d.ts +1 -0
- package/rows/GridRowRenderer.js +1 -1
- package/rows/GridRowRenderer.mjs +39 -36
- package/stacked/GridStackedRow.d.ts +5 -0
- package/stacked/GridStackedRow.js +1 -1
- package/stacked/GridStackedRow.mjs +118 -116
- package/stacked/StackedModeRow.d.ts +1 -0
- package/stacked/StackedModeRow.js +1 -1
- package/stacked/StackedModeRow.mjs +13 -11
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -1
- package/utils/index.mjs +44 -44
package/messages/index.mjs
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o = "grid.pagerPreviousPage",
|
|
9
|
-
[
|
|
8
|
+
const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o = "grid.pagerPreviousPage", i = "grid.pagerNextPage", a = "grid.pagerLastPage", l = "grid.pagerItemsPerPage", s = "grid.pagerPage", n = "grid.pagerPageSizeAriaLabel", g = "grid.pagerOf", d = "grid.pagerTotalPages", c = "grid.groupPanelEmpty", p = "grid.groupColumn", u = "grid.ungroupColumn", m = "grid.columnMenu", h = "grid.filterApplyButton", C = "grid.filterClearButton", S = "grid.filterClearAllButton", f = "grid.filterResetButton", B = "grid.filterSubmitButton", P = "grid.filterTitle", A = "grid.sortAscending", b = "grid.sortDescending", x = "grid.sortClearButton", T = "grid.sortApplyButton", I = "grid.searchPlaceholder", v = "grid.searchboxPlaceholder", y = "grid.exportPDF", O = "grid.exportCSV", D = "grid.filterCheckAll", L = "grid.filterChooseOperator", M = "grid.filterSelectAll", F = "grid.filterSelectedItems", E = "grid.sortAriaLabel", G = "grid.editDialogTitle", R = "grid.editDialogSaveButtonTitle", w = "grid.editDialogCancelButtonTitle", N = "grid.filterAriaLabel", k = "grid.groupPanelAriaLabel", q = "grid.groupExpand", U = "grid.groupCollapse", W = "grid.groupClearButton", z = "grid.groupApplyButton", V = "grid.detailExpand", j = "grid.detailCollapse", H = "grid.selectRow", J = "grid.gridAriaLabel", K = "grid.gridRowReorderAriaLabel", Q = "grid.gridPinCellAriaLabel", X = "grid.gridPinToTop", Y = "grid.gridPinToBottom", Z = "grid.gridUnpin", _ = "grid.gridAdaptiveColumnMenuFilterTitle", $ = "grid.columnMenuColumnChooserTitle", ee = "grid.columnMenuColumnChooserSelectedItems", re = "grid.adaptiveColumnMenuChooserTitle", te = "grid.adaptiveColumnMenuChooserSubTitle", oe = "grid.columnChooserApplyButton", ie = "grid.columnChooserResetButton", ae = "grid.adaptiveColumnMenuCheckboxFilterTitle", le = "grid.adaptiveToolbarSortTitle", se = "grid.adaptiveToolbarGroupTitle", ne = "grid.toolbarSort", ge = "grid.toolbarAI", de = "grid.aIResponseData", ce = "grid.generatedWithAI", pe = "grid.toolbarAIApply", ue = "grid.toolbarGroup", me = "grid.toolbarFilter", he = "grid.toolbarColumnsChooser", Ce = "grid.toolbarCheckboxFilter", Se = "grid.smartBoxSearchPlaceholder", fe = "grid.smartBoxSemanticSearchPlaceholder", Be = "grid.smartBoxAIAssistantPlaceholder", Pe = "grid.smartBoxSuggestedPrompts", Ae = "grid.smartBoxPreviouslySearched", be = "grid.smartBoxPreviouslyAsked", xe = "grid.smartBoxNoPreviousSearches", Te = "grid.smartBoxNoPreviousPrompts", Ie = "grid.smartBoxClearTitle", ve = "grid.smartBoxSubmitPromptButton", ye = "grid.smartBoxSpeechToTextButton", Oe = "grid.smartBoxSearchModeText", De = "grid.smartBoxSearchModeDescription", Le = "grid.smartBoxSemanticSearchModeText", Me = "grid.smartBoxSemanticSearchModeDescription", Fe = "grid.headerGroupSpacerAccessibleLabel", Ee = {
|
|
9
|
+
[V]: "Expand detail row",
|
|
10
10
|
[j]: "Collapse detail row",
|
|
11
11
|
[q]: "Expand group",
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
12
|
+
[U]: "Collapse Group",
|
|
13
|
+
[W]: "Clear grouping",
|
|
14
|
+
[z]: "Done",
|
|
15
15
|
[e]: "No records available",
|
|
16
16
|
[c]: "Drag a column header and drop it here to group by that column",
|
|
17
17
|
[h]: "Apply",
|
|
@@ -19,24 +19,24 @@ const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o =
|
|
|
19
19
|
[S]: "Clear all filters",
|
|
20
20
|
[f]: "Reset",
|
|
21
21
|
[B]: "Filter",
|
|
22
|
-
[
|
|
22
|
+
[P]: "Filter",
|
|
23
23
|
[A]: "Sort Ascending",
|
|
24
24
|
[b]: "Sort Descending",
|
|
25
|
-
[
|
|
26
|
-
[
|
|
25
|
+
[x]: "Clear sorting",
|
|
26
|
+
[T]: "Done",
|
|
27
27
|
[E]: "Sortable",
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
28
|
+
[le]: "Sort by",
|
|
29
|
+
[se]: "Group by",
|
|
30
|
+
[ne]: "Sort",
|
|
31
|
+
[ge]: "AI Assistant",
|
|
32
|
+
[pe]: "Apply",
|
|
33
|
+
[de]: `Operation is successful. Data is:
|
|
34
34
|
`,
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
35
|
+
[ce]: "Generated with AI",
|
|
36
|
+
[ue]: "Group",
|
|
37
|
+
[me]: "Filter",
|
|
38
|
+
[he]: "Columns",
|
|
39
|
+
[Ce]: "Filter",
|
|
40
40
|
[p]: "Group Column",
|
|
41
41
|
[u]: "Ungroup Column",
|
|
42
42
|
[m]: "Column menu",
|
|
@@ -44,52 +44,56 @@ const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o =
|
|
|
44
44
|
[r]: "{0} - {1} of {2} items",
|
|
45
45
|
[t]: "Go to the first page",
|
|
46
46
|
[o]: "Go to the previous page",
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[i]: "Go to the next page",
|
|
48
|
+
[a]: "Go to the last page",
|
|
49
49
|
[s]: "Page",
|
|
50
50
|
[n]: "Page size",
|
|
51
51
|
[g]: "of",
|
|
52
52
|
[d]: "{0}",
|
|
53
|
-
[
|
|
53
|
+
[I]: "Search",
|
|
54
54
|
[v]: "Search...",
|
|
55
55
|
[y]: "Export PDF",
|
|
56
56
|
[O]: "Export CSV",
|
|
57
57
|
[D]: "Check All",
|
|
58
58
|
[G]: "Edit Dialog",
|
|
59
59
|
[R]: "Save",
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
[
|
|
60
|
+
[w]: "Cancel",
|
|
61
|
+
[L]: "Choose Operator",
|
|
62
|
+
[F]: "selected items",
|
|
63
|
+
[M]: "Select All",
|
|
64
|
+
[N]: "Filter",
|
|
65
65
|
[k]: "Group panel",
|
|
66
|
-
[
|
|
66
|
+
[Fe]: "Group",
|
|
67
67
|
[J]: "Table",
|
|
68
68
|
[K]: "Drag row",
|
|
69
|
+
[Q]: "Pin row",
|
|
70
|
+
[X]: "Pin row to top",
|
|
71
|
+
[Y]: "Pin row to bottom",
|
|
72
|
+
[Z]: "Unpin",
|
|
69
73
|
[H]: "Select Row",
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[
|
|
89
|
-
[
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
74
|
+
[$]: "Columns Chooser",
|
|
75
|
+
[_]: "Filter by",
|
|
76
|
+
[re]: "Columns Chooser",
|
|
77
|
+
[te]: "Selected fields are visible",
|
|
78
|
+
[ae]: "Filter by",
|
|
79
|
+
[ee]: "Selected items",
|
|
80
|
+
[oe]: "Apply",
|
|
81
|
+
[ie]: "Reset",
|
|
82
|
+
[Se]: "Search",
|
|
83
|
+
[fe]: "Semantic Search",
|
|
84
|
+
[Be]: "Sort, filter, or group with AI",
|
|
85
|
+
[Pe]: "Suggested prompts",
|
|
86
|
+
[Ae]: "Previously searched",
|
|
87
|
+
[be]: "Previously asked",
|
|
88
|
+
[xe]: "No previous searches",
|
|
89
|
+
[Te]: "No previous prompts",
|
|
90
|
+
[Ie]: "Clear",
|
|
91
|
+
[ve]: "Submit prompt",
|
|
92
|
+
[ye]: "Speech to text",
|
|
93
|
+
[Oe]: "Search",
|
|
94
|
+
[De]: "Looks for exact word matches across your data.",
|
|
95
|
+
[Le]: "Semantic Search",
|
|
96
|
+
[Me]: "Understands context to surface the most relevant results.",
|
|
93
97
|
"grid.filterEqOperator": "Is equal to",
|
|
94
98
|
"grid.filterNotEqOperator": "Is not equal to",
|
|
95
99
|
"grid.filterIsNullOperator": "Is null",
|
|
@@ -115,88 +119,92 @@ const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o =
|
|
|
115
119
|
"grid.filterOrLogic": "Or"
|
|
116
120
|
};
|
|
117
121
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
de as aIResponseData,
|
|
123
|
+
ae as adaptiveColumnMenuCheckboxFilterTitle,
|
|
124
|
+
te as adaptiveColumnMenuChooserSubTitle,
|
|
125
|
+
re as adaptiveColumnMenuChooserTitle,
|
|
126
|
+
_ as adaptiveColumnMenuFilterTitle,
|
|
127
|
+
se as adaptiveToolbarGroupTitle,
|
|
128
|
+
le as adaptiveToolbarSortTitle,
|
|
129
|
+
oe as columnChooserApplyButton,
|
|
130
|
+
ie as columnChooserResetButton,
|
|
127
131
|
m as columnMenu,
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
ee as columnMenuColumnChooserSelectedItems,
|
|
133
|
+
$ as columnMenuColumnChooserTitle,
|
|
130
134
|
j as detailCollapse,
|
|
131
|
-
|
|
132
|
-
|
|
135
|
+
V as detailExpand,
|
|
136
|
+
w as editDialogCancelButtonTitle,
|
|
133
137
|
R as editDialogSaveButtonTitle,
|
|
134
138
|
G as editDialogTitle,
|
|
135
139
|
O as exportCSV,
|
|
136
140
|
y as exportPDF,
|
|
137
141
|
h as filterApplyButton,
|
|
138
|
-
|
|
142
|
+
N as filterAriaLabel,
|
|
139
143
|
D as filterCheckAll,
|
|
140
|
-
|
|
144
|
+
L as filterChooseOperator,
|
|
141
145
|
S as filterClearAllButton,
|
|
142
146
|
C as filterClearButton,
|
|
143
147
|
f as filterResetButton,
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
M as filterSelectAll,
|
|
149
|
+
F as filterSelectedItems,
|
|
146
150
|
B as filterSubmitButton,
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
P as filterTitle,
|
|
152
|
+
ce as generatedWithAI,
|
|
149
153
|
J as gridAriaLabel,
|
|
154
|
+
Q as gridPinCellAriaLabel,
|
|
155
|
+
Y as gridPinToBottom,
|
|
156
|
+
X as gridPinToTop,
|
|
150
157
|
K as gridRowReorderAriaLabel,
|
|
151
|
-
|
|
152
|
-
z as
|
|
153
|
-
W as
|
|
158
|
+
Z as gridUnpin,
|
|
159
|
+
z as groupApplyButton,
|
|
160
|
+
W as groupClearButton,
|
|
161
|
+
U as groupCollapse,
|
|
154
162
|
p as groupColumn,
|
|
155
163
|
q as groupExpand,
|
|
156
164
|
k as groupPanelAriaLabel,
|
|
157
165
|
c as groupPanelEmpty,
|
|
158
|
-
|
|
159
|
-
|
|
166
|
+
Fe as headerGroupSpacerAccessibleLabel,
|
|
167
|
+
Ee as messages,
|
|
160
168
|
e as noRecords,
|
|
161
169
|
t as pagerFirstPage,
|
|
162
170
|
r as pagerInfo,
|
|
163
171
|
l as pagerItemPerPage,
|
|
164
|
-
|
|
165
|
-
|
|
172
|
+
a as pagerLastPage,
|
|
173
|
+
i as pagerNextPage,
|
|
166
174
|
g as pagerOf,
|
|
167
175
|
s as pagerPage,
|
|
168
176
|
n as pagerPageSizeAriaLabel,
|
|
169
177
|
o as pagerPreviousPage,
|
|
170
178
|
d as pagerTotalPages,
|
|
171
|
-
|
|
179
|
+
I as searchPlaceholder,
|
|
172
180
|
v as searchboxPlaceholder,
|
|
173
181
|
H as selectRow,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
182
|
+
Be as smartBoxAIAssistantPlaceholder,
|
|
183
|
+
Ie as smartBoxClearTitle,
|
|
184
|
+
Te as smartBoxNoPreviousPrompts,
|
|
185
|
+
xe as smartBoxNoPreviousSearches,
|
|
186
|
+
be as smartBoxPreviouslyAsked,
|
|
187
|
+
Ae as smartBoxPreviouslySearched,
|
|
188
|
+
De as smartBoxSearchModeDescription,
|
|
189
|
+
Oe as smartBoxSearchModeText,
|
|
190
|
+
Se as smartBoxSearchPlaceholder,
|
|
191
|
+
Me as smartBoxSemanticSearchModeDescription,
|
|
192
|
+
Le as smartBoxSemanticSearchModeText,
|
|
193
|
+
fe as smartBoxSemanticSearchPlaceholder,
|
|
194
|
+
ye as smartBoxSpeechToTextButton,
|
|
195
|
+
ve as smartBoxSubmitPromptButton,
|
|
196
|
+
Pe as smartBoxSuggestedPrompts,
|
|
197
|
+
T as sortApplyButton,
|
|
190
198
|
E as sortAriaLabel,
|
|
191
199
|
A as sortAscending,
|
|
192
|
-
|
|
200
|
+
x as sortClearButton,
|
|
193
201
|
b as sortDescending,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
202
|
+
ge as toolbarAI,
|
|
203
|
+
pe as toolbarAIApply,
|
|
204
|
+
Ce as toolbarCheckboxFilter,
|
|
205
|
+
he as toolbarColumnsChooser,
|
|
206
|
+
me as toolbarFilter,
|
|
207
|
+
ue as toolbarGroup,
|
|
208
|
+
ne as toolbarSort,
|
|
201
209
|
u as ungroupColumn
|
|
202
210
|
};
|
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: 1774349678,version:"14.3.0-develop.7",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: '14.3.0-develop.
|
|
10
|
+
publishDate: 1774349678,
|
|
11
|
+
version: '14.3.0-develop.7',
|
|
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": "14.3.0-develop.
|
|
3
|
+
"version": "14.3.0-develop.7",
|
|
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",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"@progress/kendo-data-query": "^1.7.2",
|
|
30
30
|
"@progress/kendo-drawing": "^1.21.2",
|
|
31
31
|
"@progress/kendo-licensing": "^1.7.2",
|
|
32
|
-
"@progress/kendo-react-animation": "14.3.0-develop.
|
|
33
|
-
"@progress/kendo-react-buttons": "14.3.0-develop.
|
|
34
|
-
"@progress/kendo-react-common": "14.3.0-develop.
|
|
35
|
-
"@progress/kendo-react-data-tools": "14.3.0-develop.
|
|
36
|
-
"@progress/kendo-react-dateinputs": "14.3.0-develop.
|
|
37
|
-
"@progress/kendo-react-indicators": "14.3.0-develop.
|
|
38
|
-
"@progress/kendo-react-form": "14.3.0-develop.
|
|
39
|
-
"@progress/kendo-react-labels": "14.3.0-develop.
|
|
40
|
-
"@progress/kendo-react-dialogs": "14.3.0-develop.
|
|
41
|
-
"@progress/kendo-react-dropdowns": "14.3.0-develop.
|
|
42
|
-
"@progress/kendo-react-inputs": "14.3.0-develop.
|
|
43
|
-
"@progress/kendo-react-intl": "14.3.0-develop.
|
|
44
|
-
"@progress/kendo-react-popup": "14.3.0-develop.
|
|
45
|
-
"@progress/kendo-react-layout": "14.3.0-develop.
|
|
46
|
-
"@progress/kendo-react-conversational-ui": "14.3.0-develop.
|
|
32
|
+
"@progress/kendo-react-animation": "14.3.0-develop.7",
|
|
33
|
+
"@progress/kendo-react-buttons": "14.3.0-develop.7",
|
|
34
|
+
"@progress/kendo-react-common": "14.3.0-develop.7",
|
|
35
|
+
"@progress/kendo-react-data-tools": "14.3.0-develop.7",
|
|
36
|
+
"@progress/kendo-react-dateinputs": "14.3.0-develop.7",
|
|
37
|
+
"@progress/kendo-react-indicators": "14.3.0-develop.7",
|
|
38
|
+
"@progress/kendo-react-form": "14.3.0-develop.7",
|
|
39
|
+
"@progress/kendo-react-labels": "14.3.0-develop.7",
|
|
40
|
+
"@progress/kendo-react-dialogs": "14.3.0-develop.7",
|
|
41
|
+
"@progress/kendo-react-dropdowns": "14.3.0-develop.7",
|
|
42
|
+
"@progress/kendo-react-inputs": "14.3.0-develop.7",
|
|
43
|
+
"@progress/kendo-react-intl": "14.3.0-develop.7",
|
|
44
|
+
"@progress/kendo-react-popup": "14.3.0-develop.7",
|
|
45
|
+
"@progress/kendo-react-layout": "14.3.0-develop.7",
|
|
46
|
+
"@progress/kendo-react-conversational-ui": "14.3.0-develop.7",
|
|
47
47
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
48
48
|
"react": "^18.0.0 || ^19.0.0",
|
|
49
49
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"package": {
|
|
149
149
|
"productName": "KendoReact",
|
|
150
150
|
"productCode": "KENDOUIREACT",
|
|
151
|
-
"publishDate":
|
|
151
|
+
"publishDate": 1774349678,
|
|
152
152
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
153
153
|
}
|
|
154
154
|
},
|
package/rows/GridRow.js
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),a=require("@progress/kendo-react-common"),O=require("../constants/index.js"),S=require("../utils/GridContext.js");function G(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const c=G(v),H=e=>{var w;const r=c.useContext(S.GridContext),{reorderRowDropTargetRef:n,reorderRowDragTargetRef:t,activeDragRowDataItemRef:R}=r,{rowType:i,isAltRow:b,isInEdit:f,isSelected:m,isHighlighted:y,isPinned:D}=e,d=a.useUnstyled(),h=d&&d.uGrid?d.uGrid:a.uGrid,x=a.classNames(h.tr({selected:m,highlighted:y,isHeader:i==="groupHeader",isFooter:i==="groupFooter",isMaster:i!=="groupHeader"&&i!=="groupFooter",isAltRow:b,isInEdit:f,isPinned:D})),l=c.useRef(null),I=o=>{if(e.isRowReorderable&&R.current){const k=o.originalEvent.target;n.current=k.closest(".k-table-row")}},C=()=>{t.current&&e.isRowReorderable&&(t.current.style.userSelect="")};a.useDroppable(l,{onDragOver:I,onDrop:C});const T={onClick:o=>r.rowClick(o,e.dataItem),onDoubleClick:o=>r.rowDblClick(o,e.dataItem)},u={ref:l,id:e.id,...T,className:x,style:{height:e.rowHeight?e.rowHeight+"px":"",visibility:e.isHidden?"hidden":"",userSelect:(w=t==null?void 0:t.current)==null?void 0:w.style.userSelect},role:"row","aria-rowindex":e.ariaRowIndex,"absolute-row-index":e.absoluteRowIndex,[O.GRID_ROW_INDEX_ATTRIBUTE]:e.rowType==="data"?e.dataIndex:void 0},g=e.rowType||"data",s=e.rows;if(s&&s[g]){const o=s[g];return c.createElement(o,{key:e.absoluteRowIndex,...e,trProps:u},e.children)}return c.createElement("tr",{key:e.absoluteRowIndex,...u},e.children)};exports.GridRow=H;
|
package/rows/GridRow.mjs
CHANGED
|
@@ -7,45 +7,46 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as i from "react";
|
|
10
|
-
import { useUnstyled as
|
|
11
|
-
import { GRID_ROW_INDEX_ATTRIBUTE as
|
|
12
|
-
import { GridContext as
|
|
13
|
-
const
|
|
10
|
+
import { useUnstyled as C, uGrid as T, classNames as k, useDroppable as v } from "@progress/kendo-react-common";
|
|
11
|
+
import { GRID_ROW_INDEX_ATTRIBUTE as H } from "../constants/index.mjs";
|
|
12
|
+
import { GridContext as E } from "../utils/GridContext.mjs";
|
|
13
|
+
const P = (e) => {
|
|
14
14
|
var u;
|
|
15
|
-
const
|
|
15
|
+
const n = i.useContext(E), {
|
|
16
16
|
reorderRowDropTargetRef: w,
|
|
17
17
|
reorderRowDragTargetRef: r,
|
|
18
18
|
activeDragRowDataItemRef: R
|
|
19
|
-
} =
|
|
20
|
-
|
|
19
|
+
} = n, { rowType: o, isAltRow: g, isInEdit: m, isSelected: h, isHighlighted: D, isPinned: f } = e, a = C(), I = a && a.uGrid ? a.uGrid : T, x = k(
|
|
20
|
+
I.tr({
|
|
21
21
|
selected: h,
|
|
22
22
|
highlighted: D,
|
|
23
23
|
isHeader: o === "groupHeader",
|
|
24
24
|
isFooter: o === "groupFooter",
|
|
25
25
|
isMaster: o !== "groupHeader" && o !== "groupFooter",
|
|
26
26
|
isAltRow: g,
|
|
27
|
-
isInEdit: m
|
|
27
|
+
isInEdit: m,
|
|
28
|
+
isPinned: f
|
|
28
29
|
})
|
|
29
30
|
), l = i.useRef(null);
|
|
30
|
-
|
|
31
|
+
v(l, {
|
|
31
32
|
onDragOver: (t) => {
|
|
32
33
|
if (e.isRowReorderable && R.current) {
|
|
33
|
-
const
|
|
34
|
-
w.current =
|
|
34
|
+
const b = t.originalEvent.target;
|
|
35
|
+
w.current = b.closest(".k-table-row");
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
38
|
onDrop: () => {
|
|
38
39
|
r.current && e.isRowReorderable && (r.current.style.userSelect = "");
|
|
39
40
|
}
|
|
40
41
|
});
|
|
41
|
-
const
|
|
42
|
-
onClick: (t) =>
|
|
43
|
-
onDoubleClick: (t) =>
|
|
44
|
-
},
|
|
42
|
+
const y = {
|
|
43
|
+
onClick: (t) => n.rowClick(t, e.dataItem),
|
|
44
|
+
onDoubleClick: (t) => n.rowDblClick(t, e.dataItem)
|
|
45
|
+
}, s = {
|
|
45
46
|
ref: l,
|
|
46
47
|
id: e.id,
|
|
47
|
-
...
|
|
48
|
-
className:
|
|
48
|
+
...y,
|
|
49
|
+
className: x,
|
|
49
50
|
style: {
|
|
50
51
|
height: e.rowHeight ? e.rowHeight + "px" : "",
|
|
51
52
|
visibility: e.isHidden ? "hidden" : "",
|
|
@@ -54,14 +55,14 @@ const N = (e) => {
|
|
|
54
55
|
role: "row",
|
|
55
56
|
"aria-rowindex": e.ariaRowIndex,
|
|
56
57
|
"absolute-row-index": e.absoluteRowIndex,
|
|
57
|
-
[
|
|
58
|
-
},
|
|
59
|
-
if (d && d[
|
|
60
|
-
const t = d[
|
|
61
|
-
return /* @__PURE__ */ i.createElement(t, { key: e.absoluteRowIndex, ...e, trProps:
|
|
58
|
+
[H]: e.rowType === "data" ? e.dataIndex : void 0
|
|
59
|
+
}, c = e.rowType || "data", d = e.rows;
|
|
60
|
+
if (d && d[c]) {
|
|
61
|
+
const t = d[c];
|
|
62
|
+
return /* @__PURE__ */ i.createElement(t, { key: e.absoluteRowIndex, ...e, trProps: s }, e.children);
|
|
62
63
|
}
|
|
63
|
-
return /* @__PURE__ */ i.createElement("tr", { key: e.absoluteRowIndex, ...
|
|
64
|
+
return /* @__PURE__ */ i.createElement("tr", { key: e.absoluteRowIndex, ...s }, e.children);
|
|
64
65
|
};
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
+
P as GridRow
|
|
67
68
|
};
|
package/rows/GridRowRenderer.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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),D=require("./GridRow.js"),_=require("../stacked/StackedModeRow.js");function v(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=v(w),k=({isStackedMode:e,item:t,rowId:r,dataIndex:c,idPrefix:O,ariaRowIndex:n,absoluteRowIndex:o,isAltRow:u,isHidden:a,isRowReorderable:l,rowHeight:f,rows:d,leafColumns:j,groupLevelCount:G,stackedLayoutSettings:S,cells:g,editMode:s,isSelected:y,isHighlighted:m,isInEdit:p,preparedCells:R,showDetailToggle:M,isDetailExpanded:T,detailExpandField:q,isPinned:b})=>e?i.createElement(_.StackedModeRow,{item:t,rowId:r,dataIndex:c,idPrefix:O,ariaRowIndex:n,absoluteRowIndex:o,isAltRow:u,isHidden:a,isRowReorderable:l,rowHeight:f,rows:d,leafColumns:j,groupLevelCount:G,stackedLayoutSettings:S,cells:g,editMode:s,isSelected:y,isHighlighted:m,isInEdit:p,preparedCells:R,showDetailToggle:M,isDetailExpanded:T,detailExpandField:q,isPinned:b}):i.createElement(D.GridRow,{key:r,dataItem:t.dataItem,isAltRow:u,isInEdit:p,rowType:t.rowType,isRowReorderable:l,isHidden:a,onClick:null,onDoubleClick:null,rowHeight:f,ariaRowIndex:n,absoluteRowIndex:o,dataIndex:c,isSelected:y,isHighlighted:m,rows:d,isPinned:b},R);k.displayName="KendoReactGridRowRenderer";exports.GridRowRenderer=k;
|
package/rows/GridRowRenderer.mjs
CHANGED
|
@@ -5,71 +5,73 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
9
|
-
import { GridRow as
|
|
10
|
-
import { StackedModeRow as
|
|
11
|
-
const
|
|
12
|
-
isStackedMode:
|
|
8
|
+
import * as R from "react";
|
|
9
|
+
import { GridRow as z } from "./GridRow.mjs";
|
|
10
|
+
import { StackedModeRow as B } from "../stacked/StackedModeRow.mjs";
|
|
11
|
+
const F = ({
|
|
12
|
+
isStackedMode: T,
|
|
13
13
|
item: r,
|
|
14
14
|
rowId: e,
|
|
15
15
|
dataIndex: o,
|
|
16
|
-
idPrefix:
|
|
16
|
+
idPrefix: C,
|
|
17
17
|
ariaRowIndex: m,
|
|
18
18
|
absoluteRowIndex: t,
|
|
19
19
|
isAltRow: c,
|
|
20
|
-
isHidden:
|
|
21
|
-
isRowReorderable:
|
|
20
|
+
isHidden: a,
|
|
21
|
+
isRowReorderable: n,
|
|
22
22
|
rowHeight: p,
|
|
23
23
|
rows: f,
|
|
24
|
-
leafColumns:
|
|
25
|
-
groupLevelCount:
|
|
26
|
-
stackedLayoutSettings:
|
|
27
|
-
cells:
|
|
28
|
-
editMode:
|
|
24
|
+
leafColumns: D,
|
|
25
|
+
groupLevelCount: E,
|
|
26
|
+
stackedLayoutSettings: K,
|
|
27
|
+
cells: M,
|
|
28
|
+
editMode: N,
|
|
29
29
|
isSelected: k,
|
|
30
30
|
isHighlighted: u,
|
|
31
31
|
isInEdit: y,
|
|
32
32
|
preparedCells: l,
|
|
33
|
-
showDetailToggle:
|
|
34
|
-
isDetailExpanded:
|
|
35
|
-
detailExpandField:
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
showDetailToggle: j,
|
|
34
|
+
isDetailExpanded: q,
|
|
35
|
+
detailExpandField: v,
|
|
36
|
+
isPinned: G
|
|
37
|
+
}) => T ? /* @__PURE__ */ R.createElement(
|
|
38
|
+
B,
|
|
38
39
|
{
|
|
39
40
|
item: r,
|
|
40
41
|
rowId: e,
|
|
41
42
|
dataIndex: o,
|
|
42
|
-
idPrefix:
|
|
43
|
+
idPrefix: C,
|
|
43
44
|
ariaRowIndex: m,
|
|
44
45
|
absoluteRowIndex: t,
|
|
45
46
|
isAltRow: c,
|
|
46
|
-
isHidden:
|
|
47
|
-
isRowReorderable:
|
|
47
|
+
isHidden: a,
|
|
48
|
+
isRowReorderable: n,
|
|
48
49
|
rowHeight: p,
|
|
49
50
|
rows: f,
|
|
50
|
-
leafColumns:
|
|
51
|
-
groupLevelCount:
|
|
52
|
-
stackedLayoutSettings:
|
|
53
|
-
cells:
|
|
54
|
-
editMode:
|
|
51
|
+
leafColumns: D,
|
|
52
|
+
groupLevelCount: E,
|
|
53
|
+
stackedLayoutSettings: K,
|
|
54
|
+
cells: M,
|
|
55
|
+
editMode: N,
|
|
55
56
|
isSelected: k,
|
|
56
57
|
isHighlighted: u,
|
|
57
58
|
isInEdit: y,
|
|
58
59
|
preparedCells: l,
|
|
59
|
-
showDetailToggle:
|
|
60
|
-
isDetailExpanded:
|
|
61
|
-
detailExpandField:
|
|
60
|
+
showDetailToggle: j,
|
|
61
|
+
isDetailExpanded: q,
|
|
62
|
+
detailExpandField: v,
|
|
63
|
+
isPinned: G
|
|
62
64
|
}
|
|
63
|
-
) : /* @__PURE__ */
|
|
64
|
-
|
|
65
|
+
) : /* @__PURE__ */ R.createElement(
|
|
66
|
+
z,
|
|
65
67
|
{
|
|
66
68
|
key: e,
|
|
67
69
|
dataItem: r.dataItem,
|
|
68
70
|
isAltRow: c,
|
|
69
71
|
isInEdit: y,
|
|
70
72
|
rowType: r.rowType,
|
|
71
|
-
isRowReorderable:
|
|
72
|
-
isHidden:
|
|
73
|
+
isRowReorderable: n,
|
|
74
|
+
isHidden: a,
|
|
73
75
|
onClick: null,
|
|
74
76
|
onDoubleClick: null,
|
|
75
77
|
rowHeight: p,
|
|
@@ -78,11 +80,12 @@ const B = ({
|
|
|
78
80
|
dataIndex: o,
|
|
79
81
|
isSelected: k,
|
|
80
82
|
isHighlighted: u,
|
|
81
|
-
rows: f
|
|
83
|
+
rows: f,
|
|
84
|
+
isPinned: G
|
|
82
85
|
},
|
|
83
86
|
l
|
|
84
87
|
);
|
|
85
|
-
|
|
88
|
+
F.displayName = "KendoReactGridRowRenderer";
|
|
86
89
|
export {
|
|
87
|
-
|
|
90
|
+
F as GridRowRenderer
|
|
88
91
|
};
|
|
@@ -207,6 +207,11 @@ export interface GridStackedRowProps {
|
|
|
207
207
|
* The field name used to track detail expansion.
|
|
208
208
|
*/
|
|
209
209
|
detailExpandField?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
* Indicates if the row exists in one of the pinned row arrays.
|
|
213
|
+
*/
|
|
214
|
+
isPinned?: boolean;
|
|
210
215
|
}
|
|
211
216
|
/**
|
|
212
217
|
* @hidden
|