@progress/kendo-vue-grid 8.1.0-develop.4 → 8.1.0-develop.6
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/Grid.d.ts +30 -17
- package/Grid.js +1 -1
- package/Grid.mjs +567 -449
- package/GridState.d.ts +15 -1
- package/GridState.js +1 -1
- package/GridState.mjs +84 -71
- package/RootGrid.d.ts +10 -0
- package/cells/GridCell.d.ts +2 -0
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +35 -30
- package/cells/GridDetailCell.js +1 -1
- package/cells/GridDetailCell.mjs +20 -20
- package/cells/GridFilterCell.js +1 -1
- package/cells/GridFilterCell.mjs +42 -37
- package/cells/GridGroupCell.d.ts +2 -0
- package/cells/GridGroupCell.js +1 -1
- package/cells/GridGroupCell.mjs +69 -55
- package/cells/GridHierarchyCell.d.ts +2 -0
- package/cells/GridHierarchyCell.js +1 -1
- package/cells/GridHierarchyCell.mjs +51 -41
- package/cells/GridSelectionCell.d.ts +2 -0
- package/cells/GridSelectionCell.js +1 -1
- package/cells/GridSelectionCell.mjs +35 -24
- package/cells/pincell/GridPinCell.d.ts +72 -0
- package/cells/pincell/GridPinCell.js +8 -0
- package/cells/pincell/GridPinCell.mjs +111 -0
- package/cells/pincell/GridPinDropdownButton.d.ts +27 -0
- package/cells/pincell/GridPinDropdownButton.js +8 -0
- package/cells/pincell/GridPinDropdownButton.mjs +111 -0
- package/common.d.ts +5 -0
- package/common.js +1 -1
- package/common.mjs +7 -2
- package/components/PinnedRowsTable.d.ts +63 -0
- package/components/PinnedRowsTable.js +8 -0
- package/components/PinnedRowsTable.mjs +141 -0
- package/components/StickyGroupTable.d.ts +0 -1
- package/components/StickyGroupTable.js +1 -1
- package/components/StickyGroupTable.mjs +24 -30
- package/constants/main.d.ts +15 -0
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/drag/ColumnResize.d.ts +2 -0
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +139 -123
- package/footer/FooterCell.js +1 -1
- package/footer/FooterCell.mjs +22 -20
- package/getRowContents.js +1 -1
- package/getRowContents.mjs +50 -48
- package/header/FilterRow.d.ts +4 -0
- package/header/FilterRow.js +1 -1
- package/header/FilterRow.mjs +52 -50
- package/header/HeaderRow.d.ts +4 -0
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +114 -105
- package/index.js +1 -1
- package/index.mjs +15 -14
- package/interfaces/ColumnType.d.ts +1 -1
- package/interfaces/GridCellProps.d.ts +5 -0
- package/interfaces/GridCellsSettings.d.ts +23 -0
- package/interfaces/GridColumnProps.d.ts +2 -2
- package/interfaces/GridProps.d.ts +88 -31
- package/interfaces/GridRowProps.d.ts +13 -4
- package/interfaces/GridRowsSettings.d.ts +48 -0
- package/interfaces/events.d.ts +19 -2
- package/messages/main.d.ts +30 -0
- package/messages/main.js +2 -2
- package/messages/main.mjs +108 -96
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -12
- package/rows/GridRow.d.ts +4 -10
- package/rows/GridRow.js +1 -1
- package/rows/GridRow.mjs +24 -23
- package/utils/main.d.ts +5 -0
- package/utils/main.js +1 -1
- package/utils/main.mjs +199 -167
- package/utils/virtualColumns.js +1 -1
- package/utils/virtualColumns.mjs +121 -105
package/messages/main.mjs
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
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.selectAllRows", t = "grid.pagerInfo", o = "grid.pagerFirstPage", l = "grid.pagerPreviousPage",
|
|
8
|
+
const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o = "grid.pagerFirstPage", l = "grid.pagerPreviousPage", i = "grid.pagerNextPage", a = "grid.pagerLastPage", n = "grid.pagerItemsPerPage", s = "grid.pagerPage", g = "grid.pagerPageSelection", d = "grid.pagerOf", p = "grid.pagerTotalPages", c = "grid.groupPanelEmpty", u = "grid.groupColumn", b = "grid.ungroupColumn", C = "grid.columnMenu", A = "grid.filterApplyButton", m = "grid.filterClearButton", f = "grid.filterClearAllButton", h = "grid.filterResetButton", L = "grid.filterSubmitButton", P = "grid.filterTitle", T = "grid.sortAscending", I = "grid.sortDescending", S = "grid.sortClearButton", B = "grid.sortApplyButton", F = "grid.searchPlaceholder", D = "grid.searchboxPlaceholder", x = "grid.exportPDF", O = "grid.filterCheckAll", y = "grid.filterChooseOperator", w = "grid.filterSelectAll", R = "grid.filterSelectedItems", E = "grid.sortAriaLabel", G = "grid.sortableColumnAriaLabel", v = "grid.sortableColumnAscendingAriaLabel", M = "grid.sortableColumnDescendingAriaLabel", q = "grid.editDialogTitle", N = "grid.editDialogSaveButtonTitle", k = "grid.editDialogCancelButtonTitle", U = "grid.filterAriaLabel", W = "grid.numericFilterAriaLabel", H = "grid.groupPanelAriaLabel", z = "grid.groupExpand", j = "grid.groupCollapse", J = "grid.groupClearButton", K = "grid.groupApplyButton", Q = "grid.detailExpand", V = "grid.detailCollapse", X = "grid.selectRow", Y = "grid.gridAriaLabel", Z = "grid.gridRowReorderAriaLabel", _ = "grid.gridPinCellAriaLabel", $ = "grid.gridPinToTop", ee = "grid.gridPinToBottom", re = "grid.gridUnpin", te = "grid.gridAdaptiveColumnMenuFilterTitle", oe = "grid.columnMenuColumnChooserTitle", le = "grid.columnMenuColumnChooserSelectedItems", ie = "grid.adaptiveColumnMenuChooserTitle", ae = "grid.adaptiveColumnMenuChooserSubTitle", ne = "grid.columnChooserApplyButton", se = "grid.columnChooserResetButton", ge = "grid.adaptiveColumnMenuCheckboxFilterTitle", de = "grid.adaptiveToolbarSortTitle", pe = "grid.adaptiveToolbarGroupTitle", ce = "grid.toolbarSort", ue = "grid.dateFilterAriaLabel", be = "grid.textFilterAriaLabel", Ce = "grid.booleanFilterAriaLabel", Ae = "grid.groupHeaderAriaLabel", me = "grid.groupCaretAriaLabelCollapse", fe = "grid.groupCaretAriaLabelExpand", he = "grid.expandDetailTemplateAriaLabel", Le = "grid.collapseDetailTemplateAriaLabel", Pe = "grid.toolbarAI", Te = "grid.aIResponseData", Ie = "grid.generatedWithAI", Se = "grid.toolbarAIApply", Be = "grid.toolbarGroup", Fe = "grid.toolbarFilter", De = "grid.toolbarColumnsChooser", xe = "grid.toolbarCheckboxFilter", Oe = "grid.headerGroupSpacerAccessibleLabel", ye = "grid.pinnedTopRows", we = "grid.pinnedBottomRows", Re = {
|
|
9
9
|
[Q]: "Expand detail row",
|
|
10
10
|
[V]: "Collapse detail row",
|
|
11
|
-
[
|
|
11
|
+
[z]: "Expand group",
|
|
12
12
|
[j]: "Collapse Group",
|
|
13
13
|
[J]: "Clear grouping",
|
|
14
14
|
[K]: "Done",
|
|
@@ -20,39 +20,39 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
|
|
|
20
20
|
[f]: "Clear all filters",
|
|
21
21
|
[h]: "Reset",
|
|
22
22
|
[L]: "Filter",
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
23
|
+
[P]: "Filter",
|
|
24
|
+
[T]: "Sort Ascending",
|
|
25
|
+
[I]: "Sort Descending",
|
|
26
|
+
[S]: "Clear sorting",
|
|
27
|
+
[B]: "Done",
|
|
28
|
+
[E]: "Sortable",
|
|
29
|
+
[de]: "Sort by",
|
|
30
|
+
[pe]: "Group by",
|
|
31
|
+
[ce]: "Sort",
|
|
32
|
+
[Pe]: "AI Assistant",
|
|
33
|
+
[Se]: "Apply",
|
|
34
|
+
[Te]: `Operation is successful. Data is:
|
|
35
35
|
`,
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
36
|
+
[Ie]: "Generated with AI",
|
|
37
|
+
[Be]: "Group",
|
|
38
|
+
[Fe]: "Filter",
|
|
39
|
+
[De]: "Columns",
|
|
40
|
+
[xe]: "Filter",
|
|
41
41
|
[u]: "Group Column",
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
42
|
+
[b]: "Ungroup Column",
|
|
43
|
+
[Oe]: "Group",
|
|
44
|
+
[C]: "Column menu",
|
|
45
45
|
[n]: "items per page",
|
|
46
46
|
[t]: "{0} - {1} of {2} items",
|
|
47
47
|
[o]: "Go to the first page",
|
|
48
48
|
[l]: "Go to the previous page",
|
|
49
|
-
[
|
|
50
|
-
[
|
|
49
|
+
[i]: "Go to the next page",
|
|
50
|
+
[a]: "Go to the last page",
|
|
51
51
|
[s]: "Page",
|
|
52
52
|
[g]: "Page size",
|
|
53
53
|
[d]: "of",
|
|
54
54
|
[p]: "{0}",
|
|
55
|
-
[
|
|
55
|
+
[F]: "Search",
|
|
56
56
|
[D]: "Search...",
|
|
57
57
|
[x]: "Export PDF",
|
|
58
58
|
[O]: "Check All",
|
|
@@ -60,33 +60,39 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
|
|
|
60
60
|
[N]: "Save",
|
|
61
61
|
[k]: "Cancel",
|
|
62
62
|
[y]: "Choose Operator",
|
|
63
|
-
[
|
|
64
|
-
[
|
|
65
|
-
[
|
|
66
|
-
[
|
|
63
|
+
[R]: "selected items",
|
|
64
|
+
[w]: "Select All",
|
|
65
|
+
[G]: "Sortable Column",
|
|
66
|
+
[v]: "Sorted in ascending order",
|
|
67
67
|
[M]: "Sorted in descending order",
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
68
|
+
[U]: "Filter",
|
|
69
|
+
[W]: "Numeric Filter",
|
|
70
|
+
[ue]: "Date Filter",
|
|
71
|
+
[be]: "Text Filter",
|
|
72
|
+
[Ce]: "Boolean Filter",
|
|
73
|
+
[Ae]: "Group Header",
|
|
74
|
+
[me]: "Collapse Group",
|
|
75
|
+
[fe]: "Expand Group",
|
|
76
|
+
[he]: "Expand Details",
|
|
77
|
+
[Le]: "Collapse Details",
|
|
78
|
+
[H]: "Group panel",
|
|
79
79
|
[Y]: "Table",
|
|
80
80
|
[Z]: "Drag row",
|
|
81
|
+
[_]: "Pin row",
|
|
82
|
+
[$]: "Pin row to top",
|
|
83
|
+
[ee]: "Pin row to bottom",
|
|
84
|
+
[re]: "Unpin",
|
|
85
|
+
[ye]: "Pinned top rows",
|
|
86
|
+
[we]: "Pinned bottom rows",
|
|
81
87
|
[X]: "Select Row",
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[
|
|
89
|
-
[
|
|
88
|
+
[oe]: "Columns Chooser",
|
|
89
|
+
[te]: "Filter by",
|
|
90
|
+
[ie]: "Columns Chooser",
|
|
91
|
+
[ae]: "Selected fields are visible",
|
|
92
|
+
[ge]: "Filter by",
|
|
93
|
+
[le]: "Selected items",
|
|
94
|
+
[ne]: "Apply",
|
|
95
|
+
[se]: "Reset",
|
|
90
96
|
// Filter operators
|
|
91
97
|
"grid.filterEqOperator": "Is equal to",
|
|
92
98
|
"grid.filterNotEqOperator": "Is not equal to",
|
|
@@ -113,85 +119,91 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
|
|
|
113
119
|
"grid.filterOrLogic": "Or"
|
|
114
120
|
};
|
|
115
121
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
122
|
+
Te as aIResponseData,
|
|
123
|
+
ge as adaptiveColumnMenuCheckboxFilterTitle,
|
|
124
|
+
ae as adaptiveColumnMenuChooserSubTitle,
|
|
125
|
+
ie as adaptiveColumnMenuChooserTitle,
|
|
126
|
+
te as adaptiveColumnMenuFilterTitle,
|
|
127
|
+
pe as adaptiveToolbarGroupTitle,
|
|
128
|
+
de as adaptiveToolbarSortTitle,
|
|
129
|
+
Ce as booleanFilterAriaLabel,
|
|
130
|
+
Le as collapseDetailAriaLabel,
|
|
131
|
+
ne as columnChooserApplyButton,
|
|
132
|
+
se as columnChooserResetButton,
|
|
133
|
+
C as columnMenu,
|
|
134
|
+
le as columnMenuColumnChooserSelectedItems,
|
|
135
|
+
oe as columnMenuColumnChooserTitle,
|
|
136
|
+
ue as dateFilterAriaLabel,
|
|
131
137
|
V as detailCollapse,
|
|
132
138
|
Q as detailExpand,
|
|
133
139
|
k as editDialogCancelButtonTitle,
|
|
134
140
|
N as editDialogSaveButtonTitle,
|
|
135
141
|
q as editDialogTitle,
|
|
136
|
-
|
|
142
|
+
he as expandDetailAriaLabel,
|
|
137
143
|
x as exportPDF,
|
|
138
144
|
A as filterApplyButton,
|
|
139
|
-
|
|
145
|
+
U as filterAriaLabel,
|
|
140
146
|
O as filterCheckAll,
|
|
141
147
|
y as filterChooseOperator,
|
|
142
148
|
f as filterClearAllButton,
|
|
143
149
|
m as filterClearButton,
|
|
144
150
|
h as filterResetButton,
|
|
145
|
-
|
|
146
|
-
|
|
151
|
+
w as filterSelectAll,
|
|
152
|
+
R as filterSelectedItems,
|
|
147
153
|
L as filterSubmitButton,
|
|
148
|
-
|
|
149
|
-
|
|
154
|
+
P as filterTitle,
|
|
155
|
+
Ie as generatedWithAI,
|
|
150
156
|
Y as gridAriaLabel,
|
|
157
|
+
_ as gridPinCellAriaLabel,
|
|
158
|
+
ee as gridPinToBottom,
|
|
159
|
+
$ as gridPinToTop,
|
|
151
160
|
Z as gridRowReorderAriaLabel,
|
|
161
|
+
re as gridUnpin,
|
|
152
162
|
K as groupApplyButton,
|
|
153
|
-
|
|
154
|
-
|
|
163
|
+
me as groupCaretAriaLabelCollapse,
|
|
164
|
+
fe as groupCaretAriaLabelExpand,
|
|
155
165
|
J as groupClearButton,
|
|
156
166
|
j as groupCollapse,
|
|
157
167
|
u as groupColumn,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
168
|
+
z as groupExpand,
|
|
169
|
+
Ae as groupHeaderAriaLabel,
|
|
170
|
+
H as groupPanelAriaLabel,
|
|
161
171
|
c as groupPanelEmpty,
|
|
162
|
-
|
|
163
|
-
|
|
172
|
+
Oe as headerGroupSpacerAccessibleLabel,
|
|
173
|
+
Re as messages,
|
|
164
174
|
e as noRecords,
|
|
165
|
-
|
|
175
|
+
W as numericFilterAriaLabel,
|
|
166
176
|
o as pagerFirstPage,
|
|
167
177
|
t as pagerInfo,
|
|
168
178
|
n as pagerItemPerPage,
|
|
169
|
-
|
|
170
|
-
|
|
179
|
+
a as pagerLastPage,
|
|
180
|
+
i as pagerNextPage,
|
|
171
181
|
d as pagerOf,
|
|
172
182
|
s as pagerPage,
|
|
173
183
|
g as pagerPageSelection,
|
|
174
184
|
l as pagerPreviousPage,
|
|
175
185
|
p as pagerTotalPages,
|
|
176
|
-
|
|
186
|
+
we as pinnedBottomRowsAriaLabel,
|
|
187
|
+
ye as pinnedTopRowsAriaLabel,
|
|
188
|
+
F as searchPlaceholder,
|
|
177
189
|
D as searchboxPlaceholder,
|
|
178
190
|
r as selectAllRows,
|
|
179
191
|
X as selectRow,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
192
|
+
B as sortApplyButton,
|
|
193
|
+
E as sortAriaLabel,
|
|
194
|
+
T as sortAscending,
|
|
195
|
+
S as sortClearButton,
|
|
196
|
+
I as sortDescending,
|
|
197
|
+
G as sortableColumnAriaLabel,
|
|
198
|
+
v as sortableColumnAscendingAriaLabel,
|
|
187
199
|
M as sortableColumnDescendingAriaLabel,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
200
|
+
be as textFilterAriaLabel,
|
|
201
|
+
Pe as toolbarAI,
|
|
202
|
+
Se as toolbarAIApply,
|
|
203
|
+
xe as toolbarCheckboxFilter,
|
|
204
|
+
De as toolbarColumnsChooser,
|
|
205
|
+
Fe as toolbarFilter,
|
|
206
|
+
Be as toolbarGroup,
|
|
207
|
+
ce as toolbarSort,
|
|
208
|
+
b as ungroupColumn
|
|
197
209
|
};
|
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={name:"@progress/kendo-vue-grid",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-grid",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1774970639,version:"8.1.0-develop.6",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.1.0-develop.
|
|
13
|
+
publishDate: 1774970639,
|
|
14
|
+
version: "8.1.0-develop.6",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-grid",
|
|
3
|
-
"version": "8.1.0-develop.
|
|
3
|
+
"version": "8.1.0-develop.6",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -27,16 +27,17 @@
|
|
|
27
27
|
"@progress/kendo-data-query": "^1.7.0",
|
|
28
28
|
"@progress/kendo-drawing": "^1.21.1",
|
|
29
29
|
"@progress/kendo-licensing": "^1.7.2",
|
|
30
|
-
"@progress/kendo-vue-animation": "8.1.0-develop.
|
|
31
|
-
"@progress/kendo-vue-buttons": "8.1.0-develop.
|
|
32
|
-
"@progress/kendo-vue-common": "8.1.0-develop.
|
|
33
|
-
"@progress/kendo-vue-data-tools": "8.1.0-develop.
|
|
34
|
-
"@progress/kendo-vue-dateinputs": "8.1.0-develop.
|
|
35
|
-
"@progress/kendo-vue-indicators": "8.1.0-develop.
|
|
36
|
-
"@progress/kendo-vue-dropdowns": "8.1.0-develop.
|
|
37
|
-
"@progress/kendo-vue-inputs": "8.1.0-develop.
|
|
38
|
-
"@progress/kendo-vue-intl": "8.1.0-develop.
|
|
39
|
-
"@progress/kendo-vue-popup": "8.1.0-develop.
|
|
30
|
+
"@progress/kendo-vue-animation": "8.1.0-develop.6",
|
|
31
|
+
"@progress/kendo-vue-buttons": "8.1.0-develop.6",
|
|
32
|
+
"@progress/kendo-vue-common": "8.1.0-develop.6",
|
|
33
|
+
"@progress/kendo-vue-data-tools": "8.1.0-develop.6",
|
|
34
|
+
"@progress/kendo-vue-dateinputs": "8.1.0-develop.6",
|
|
35
|
+
"@progress/kendo-vue-indicators": "8.1.0-develop.6",
|
|
36
|
+
"@progress/kendo-vue-dropdowns": "8.1.0-develop.6",
|
|
37
|
+
"@progress/kendo-vue-inputs": "8.1.0-develop.6",
|
|
38
|
+
"@progress/kendo-vue-intl": "8.1.0-develop.6",
|
|
39
|
+
"@progress/kendo-vue-popup": "8.1.0-develop.6",
|
|
40
|
+
"@progress/kendo-vue-layout": "8.1.0-develop.6",
|
|
40
41
|
"@progress/kendo-svg-icons": "^4.4.0",
|
|
41
42
|
"vue": "^3.0.2"
|
|
42
43
|
},
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"package": {
|
|
58
59
|
"productName": "Kendo UI for Vue",
|
|
59
60
|
"productCode": "KENDOUIVUE",
|
|
60
|
-
"publishDate":
|
|
61
|
+
"publishDate": 1774970639,
|
|
61
62
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
62
63
|
}
|
|
63
64
|
},
|
package/rows/GridRow.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export interface ExtendedGridRowProps extends GridRowProps {
|
|
|
21
21
|
*/
|
|
22
22
|
declare const GridRow: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
23
23
|
rowType: PropType<string>;
|
|
24
|
+
isPinned: PropType<boolean>;
|
|
24
25
|
item: PropType<any>;
|
|
25
26
|
isAltRow: PropType<boolean>;
|
|
26
27
|
isHidden: PropType<boolean>;
|
|
@@ -37,22 +38,15 @@ declare const GridRow: import('vue').DefineComponent<import('vue').ExtractPropTy
|
|
|
37
38
|
onRowclick: PropType<any>;
|
|
38
39
|
onRowdblclick: PropType<Function>;
|
|
39
40
|
}>, {}, {}, {
|
|
40
|
-
trClass(): {
|
|
41
|
-
|
|
42
|
-
'k-selected': any;
|
|
43
|
-
'k-highlighted': any;
|
|
44
|
-
'k-table-group-row': boolean;
|
|
45
|
-
'k-grouping-row': boolean;
|
|
46
|
-
'k-group-footer': boolean;
|
|
47
|
-
'k-master-row': boolean;
|
|
48
|
-
'k-table-alt-row': any;
|
|
49
|
-
'k-edit-row': any;
|
|
41
|
+
trClass(): string | {
|
|
42
|
+
[key: string]: boolean;
|
|
50
43
|
};
|
|
51
44
|
}, {
|
|
52
45
|
handleClick(e: any): void;
|
|
53
46
|
handleDoubleClick(e: any): void;
|
|
54
47
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
48
|
rowType: PropType<string>;
|
|
49
|
+
isPinned: PropType<boolean>;
|
|
56
50
|
item: PropType<any>;
|
|
57
51
|
isAltRow: PropType<boolean>;
|
|
58
52
|
isHidden: PropType<boolean>;
|
package/rows/GridRow.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 t=require("vue"),o=require("@progress/kendo-vue-common"),l=t.defineComponent({name:"KendoGridRow",props:{rowType:String,isPinned:Boolean,item:Object,isAltRow:Boolean,isHidden:Boolean,isHighlighted:Boolean,onClick:Function,isInEdit:Boolean,isSelected:Boolean,selectedField:String,rowHeight:Number,ariaRowIndex:Number,absoluteRowIndex:Number,dataIndex:Number,render:[String,Function,Object],onRowclick:Function,onRowdblclick:Function},methods:{handleClick(e){this.$emit("rowclick",e)},handleDoubleClick(e){this.$emit("rowdblclick",e)}},computed:{trClass(){const{rowType:e,isAltRow:i,isInEdit:r,isHighlighted:s,isSelected:n,isPinned:d}=this.$props;return o.uGrid.tr({selected:n,highlighted:s,isHeader:e==="groupHeader",isFooter:e==="groupFooter",isMaster:e!=="groupHeader"&&e!=="groupFooter",isAltRow:i,isInEdit:r,isPinned:d})}},render(){const e=o.getDefaultSlots(this),i=t.createVNode("tr",{onClick:this.handleClick,onDblclick:this.handleDoubleClick,class:this.trClass,style:{height:this.$props.rowHeight?this.$props.rowHeight+"px":"",visibility:this.$props.isHidden?"hidden":""},role:"row","aria-rowindex":this.$props.ariaRowIndex,"absolute-row-index":this.$props.absoluteRowIndex,"data-grid-row-index":this.$props.rowType==="data"?this.$props.dataIndex:void 0},[e]);return o.getTemplate.call(this,{h:t.h,template:this.$props.render,defaultRendering:i,additionalProps:{...this.$props,dataItem:this.$props.item.dataItem},additionalListeners:{click:this.handleClick},defaultSlots:e,swapDefaultSlots:!0})}});exports.GridRow=l;
|
package/rows/GridRow.mjs
CHANGED
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { getDefaultSlots as
|
|
10
|
-
const
|
|
8
|
+
import { defineComponent as n, createVNode as d, h as l } from "vue";
|
|
9
|
+
import { getDefaultSlots as a, getTemplate as p, uGrid as h } from "@progress/kendo-vue-common";
|
|
10
|
+
const w = /* @__PURE__ */ n({
|
|
11
11
|
name: "KendoGridRow",
|
|
12
12
|
props: {
|
|
13
13
|
rowType: String,
|
|
14
|
+
isPinned: Boolean,
|
|
14
15
|
item: Object,
|
|
15
16
|
isAltRow: Boolean,
|
|
16
17
|
isHidden: Boolean,
|
|
@@ -39,26 +40,26 @@ const c = /* @__PURE__ */ l({
|
|
|
39
40
|
trClass() {
|
|
40
41
|
const {
|
|
41
42
|
rowType: e,
|
|
42
|
-
isAltRow:
|
|
43
|
-
isInEdit:
|
|
44
|
-
isHighlighted:
|
|
45
|
-
isSelected: r
|
|
43
|
+
isAltRow: i,
|
|
44
|
+
isInEdit: t,
|
|
45
|
+
isHighlighted: o,
|
|
46
|
+
isSelected: r,
|
|
47
|
+
isPinned: s
|
|
46
48
|
} = this.$props;
|
|
47
|
-
return {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
49
|
+
return h.tr({
|
|
50
|
+
selected: r,
|
|
51
|
+
highlighted: o,
|
|
52
|
+
isHeader: e === "groupHeader",
|
|
53
|
+
isFooter: e === "groupFooter",
|
|
54
|
+
isMaster: e !== "groupHeader" && e !== "groupFooter",
|
|
55
|
+
isAltRow: i,
|
|
56
|
+
isInEdit: t,
|
|
57
|
+
isPinned: s
|
|
58
|
+
});
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
61
|
render() {
|
|
61
|
-
const e =
|
|
62
|
+
const e = a(this), i = d("tr", {
|
|
62
63
|
onClick: this.handleClick,
|
|
63
64
|
onDblclick: this.handleDoubleClick,
|
|
64
65
|
class: this.trClass,
|
|
@@ -71,10 +72,10 @@ const c = /* @__PURE__ */ l({
|
|
|
71
72
|
"absolute-row-index": this.$props.absoluteRowIndex,
|
|
72
73
|
"data-grid-row-index": this.$props.rowType === "data" ? this.$props.dataIndex : void 0
|
|
73
74
|
}, [e]);
|
|
74
|
-
return
|
|
75
|
-
h:
|
|
75
|
+
return p.call(this, {
|
|
76
|
+
h: l,
|
|
76
77
|
template: this.$props.render,
|
|
77
|
-
defaultRendering:
|
|
78
|
+
defaultRendering: i,
|
|
78
79
|
additionalProps: {
|
|
79
80
|
...this.$props,
|
|
80
81
|
dataItem: this.$props.item.dataItem
|
|
@@ -88,5 +89,5 @@ const c = /* @__PURE__ */ l({
|
|
|
88
89
|
}
|
|
89
90
|
});
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
w as GridRow
|
|
92
93
|
};
|
package/utils/main.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { IntlService } from '@progress/kendo-vue-intl';
|
|
|
15
15
|
import { GridColumnState } from '../interfaces/GridColumnState';
|
|
16
16
|
import { GridDetailExpandableSettings } from '../interfaces/GridDetailExpandableSettings';
|
|
17
17
|
import { GridRowSpannableSettings } from '../interfaces/GridRowSpannableSettings';
|
|
18
|
+
import { GridCellsSettings } from '../interfaces/GridCellsSettings';
|
|
18
19
|
/**
|
|
19
20
|
* @hidden
|
|
20
21
|
*/
|
|
@@ -141,3 +142,7 @@ export declare const getColSpan: (column: GridColumnProps, dataItem: any) => num
|
|
|
141
142
|
export declare const getRowSpanOptions: (rowSpannable?: boolean | GridRowSpannableSettings) => Required<GridRowSpannableSettings>;
|
|
142
143
|
/** @hidden */
|
|
143
144
|
export declare const calcRowHeight: (tableBody: HTMLTableSectionElement | null) => number;
|
|
145
|
+
/**
|
|
146
|
+
* @hidden
|
|
147
|
+
*/
|
|
148
|
+
export declare const resolveCells: (gridCells?: GridCellsSettings, columnCells?: GridCellsSettings) => GridCellsSettings | undefined;
|
package/utils/main.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 y=require("@progress/kendo-vue-data-tools"),S=require("@progress/kendo-vue-common"),D=require("../GridColumn.js"),b="string";function E(e,t){const r=e.split(".");let n=t;return r.forEach(o=>{n=n?n[o]:void 0}),n}function F(e,t,r,n,o,d,a,i,s,f,g=0,l){let c=g;for(let p=0;p<t.length;p++){let h;if(!o||t[p].value===void 0||t[p].items===void 0){const u=s?!!(d!=null&&d[S.getter(s)(t[p])]):!1;e[e.length]={dataIndex:n.index,dataItem:t[p],rowType:"data",level:g,group:l,expanded:f!==void 0?E(f,t[p]):u!=null?u:!1},n.index++;continue}else{let u;l!=null&&l.parents?u=[{field:l.field,value:l.value},...l.parents]:l?u=[l]:u=[],h={field:t[p].field,value:t[p].value,parents:u}}c=Math.max(c,g+1);let x=!1;const I=y.findGroupExpand(a||[],h);f?x=f===void 0||E(f,t[p])===void 0||E(f,t[p]):x=I?I.expanded!==!1:i!==!1,e[e.length]={dataIndex:-1,dataItem:t[p],level:g,group:h,rowType:"groupHeader",expanded:x},x&&(h.expanded=x,c=Math.max(F(e,t[p].items,r,n,o,d,a,i,s,f,g+1,h),c)),(r==="always"||x&&r==="visible")&&(e[e.length]={dataIndex:-1,dataItem:t[p],rowType:"groupFooter",level:g,expanded:x})}return c}function k(e){return e&&getComputedStyle(e).direction==="rtl"||!1}function N(e,t){if(!t||!e||!e.originalEvent||!S.canUseDOM)return-1;let r=document.elementFromPoint(e.clientX,e.originalEvent.clientY);for(;r&&r.parentElement!==t;)r=r.parentElement;const n=t.children;for(let o=0;o<n.length;o++)if(n[o]===r)return o;return-1}const A=["sortChange","filterChange","groupChange","pageChange","expandChange","selectionChange","headerSelectionChange","rowClick","itemChange","dataStateChange","columnResize","columnReorder"],L=(e,t)=>`The ${e} event handler property is deprecated, use https://www.telerik.com/kendo-vue-ui/components/grid/api/GridProps/#toc-${t} instead`;function P(e){for(let t=0;t<A.length;t++){const r=A[t];if(e[r]!==void 0){const n="on"+r.charAt(0).toUpperCase()+r.slice(1);console.warn(L(r,n))}}}function V(e,t){const r=[[]];let n=0;for(let a=e.length-1;a>=0;a--)n=Math.max(n,e[a].depth),e[a].headerColSpan=e[a].headerColSpan||1,e[a].children.length>0&&(e[a].headerColSpan=e[a].children.reduce((i,s)=>s.hidden?i:i+s.headerColSpan,0));const o=[];let d=1;return e.forEach((a,i)=>{r[a.depth]=r[a.depth]||[];let s=!1;r[a.depth].length===0&&(d<=1?d=1+(a.children.length>0?0:n-a.depth):(d--,s=!0)),a.rowSpan=1+(a.children.length>0?0:n-a.depth),a.kFirst=s,a.index=r[a.depth].length,a.ariaColumnIndex=o[a.depth]?o[a.depth]+1:1;let f=0;const g=[],l=new Set;let c=a.parentIndex;for(;c>=0&&!l.has(c);)l.add(c),g.unshift(c),c=e[c].parentIndex;for(let h=0;h<g.length;h++){const x=g[h],I=e[x],u=r[I.depth],v=u.indexOf(x);for(let C=0;C<v;C++){const w=u[C];f+=e[w].headerColSpan}}for(let h=0;h<a.depth;h++){const x=r[h]||[],u=(r[a.depth]||[]).indexOf(i);let v=0;for(const C of x){const w=e[C];v<u&&w.depth+w.rowSpan-1>=a.depth&&(g.includes(C)||(f+=w.headerColSpan)),v+=w.headerColSpan}}const p=r[a.depth];for(const h of p){const x=e[h];x.parentIndex===a.parentIndex&&(f+=x.headerColSpan)}a.virtualColumnOffset=f,r[a.depth].push(i);for(let h=a.depth;h<a.depth+a.rowSpan;h++)o[h]=(o[h]||0)+a.headerColSpan}),y.updateLeft(r,e,t),y.updateRight(r,e,t),r}function M(e,t,r,n=0,o=!1){const d=[];if(!e)return[];e&&e.length===void 0&&(e=[e]),e.forEach((i,s)=>{i=i;const f=i.id?i.id:y.tableKeyboardNavigationTools.generateNavigatableId(`${r.prevId++}`,r.idPrefix,"column"),g=S.canUseDOM&&i.media&&window.matchMedia?!window.matchMedia(i.media).matches:!1,l=o||g||i.hidden,c=t==null?void 0:t.find(h=>h.id===f),p=M(i.children,(c==null?void 0:c.children)||[],r,n+1,l);d.push({depth:n,...D.gridDefaultProps,...p.length?{cell:()=>null,filterCell:()=>null}:{},...i,id:f,declarationIndex:d.length,children:p,headerColSpan:0,rowSpan:0,columnType:i.columnType||"data",colSpan:i.colSpan||1,isAccessible:!0,hidden:l,left:null,right:null,rowSpannable:i.rowSpannable,...c?{width:c.width,orderIndex:c.orderIndex}:{}})});const a=(i,s)=>i.orderIndex===s.orderIndex?i.declarationIndex-s.declarationIndex:(i.orderIndex||0)-(s.orderIndex||0);if(d.sort(a),n===0){const i=[],s=(f,g)=>f.forEach(l=>{l.parentIndex=g,s(l.children,i.push(l)-1)});return s(d,-1),i}return d}const T=e=>Array.isArray(e)?e:e?e.data:[];function j(e,t,r,n){const o=T(e),d=[];if(o.length>0){let a=o[0];if(t)for(let s=0;s<t.length;s++)a=a.items&&a.items[0];Object.getOwnPropertyNames(a).forEach(s=>{s!==r.column&&d.push({id:y.tableKeyboardNavigationTools.generateNavigatableId(`${n.prevId++}`,n.idPrefix,"column"),declarationIndex:-1,parentIndex:-1,depth:0,colSpan:0,headerColSpan:0,rowSpan:0,index:0,columnType:"data",left:0,right:0,rightBorder:!1,children:[],ariaColumnIndex:0,isAccessible:!0,...D.gridDefaultProps,field:s})})}return d}const K=(e,t)=>{var n;let r=e[t.parentIndex];for(;r;){if(r.footerCell||(n=r.cells)!=null&&n.footerCell)return!0;r=e[r.parentIndex]}return!1},$=e=>e.filter(t=>{var r;return K(e,t)?!1:!!(t.footerCell||(r=t.cells)!=null&&r.footerCell)||!(t.children&&t.children.length>0)}),z={number:function(e,t,r){return typeof e===b&&e.toLowerCase()==="null"?null:t.parseNumber(e,r)},date:function(e,t,r){return typeof e===b&&e.toLowerCase()==="null"?null:t.parseDate(e,r)},boolean:function(e){return typeof e===b?e.toLowerCase()==="null"?null:e.toLowerCase()==="true":e!=null?!!e:e},string:function(e){return typeof e===b&&e.toLowerCase()==="null"?null:e!=null?e+"":e},default:function(e){return e}};function H(e,t,r,n){return e.forEach(o=>{o.expanded=t[n]&&!t[n].includes(R(o,r)),o.items&&o.items.length&&(o.items=H(o.items,t,r,n+1))}),e}function B(e,t,r){return t&&t.length&&e.data.forEach(n=>{n.expanded=n.expanded!==void 0?n.expanded:t[0]&&!t[0].includes(R(n,r)),n.items&&n.items.length&&(n.items=H(n.items,t,r,1))}),e}function R(e,t){let r=e;for(;r.items&&r.items.length;)r=r.items[0];return t?r[t]:e.value}const U=e=>{const t=[],r=n=>n==null?void 0:n.forEach(o=>{t.push(o),r(o.children)});return r(e),t},q=typeof window!="undefined"&&/Firefox/.test(window.navigator.userAgent),W=17895697,X=e=>e.width!==void 0?Math.floor(parseFloat(e.width.toString()))+"px":void 0,Y=(e,t)=>t&&t.filter(r=>r.field===e).length>0,O=e=>(e.sort((t,r)=>t.declarationIndex-r.declarationIndex),e.map(t=>{const{declarationIndex:r,parentIndex:n,depth:o,headerColSpan:d,rowSpan:a,index:i,kFirst:s,children:f,...g}=t;return f.length?{children:O(f),...g}:g})),J=(e,t)=>typeof e.colSpan=="function"?e.colSpan({dataItem:t,column:e}):e.colSpan||1,Q=e=>{var n,o;const t=typeof e=="object"?(n=e.enabled)!=null?n:!0:e!=null?e:!1,r=typeof e=="object"?(o=e.valueGetter)!=null?o:((d,a)=>S.getter(a)(d)):(d,a)=>S.getter(a)(d);return{enabled:t,valueGetter:r}},Z=e=>{let t=0;if(e){const r=e.insertRow(0),n=r.insertCell(0);n.textContent=" ",t=r.getBoundingClientRect().height,e.deleteRow(0)}return t},_=(e,t)=>{var r,n,o,d,a,i;if(!(!e&&!t))return t?e?{headerCell:(r=t.headerCell)!=null?r:e.headerCell,filterCell:(n=t.filterCell)!=null?n:e.filterCell,footerCell:(o=t.footerCell)!=null?o:e.footerCell,groupHeader:(d=t.groupHeader)!=null?d:e.groupHeader,data:(a=t.data)!=null?a:e.data,groupFooter:(i=t.groupFooter)!=null?i:e.groupFooter,select:{...e.select||{},...t.select||{}},hierarchy:{...e.hierarchy||{},...t.hierarchy||{}},group:{...e.group||{},...t.group||{}},edit:{...e.edit||{},...t.edit||{}},pin:{...e.pin||{},...t.pin||{}}}:t:e};exports.applyExpandedState=B;exports.autoGenerateColumns=j;exports.calcRowHeight=Z;exports.checkPropCompatibility=P;exports.firefox=q;exports.firefoxMaxHeight=W;exports.flatData=F;exports.footerColumns=$;exports.getColSpan=J;exports.getColumnWidth=X;exports.getDataAsArray=T;exports.getFlatColumnsState=U;exports.getIndex=N;exports.getNestedValue=E;exports.getRowSpanOptions=Q;exports.groupedFirstItemValue=R;exports.isRtl=k;exports.isSorted=Y;exports.mapColumns=V;exports.parsers=z;exports.readColumns=M;exports.resolveCells=_;exports.sanitizeColumns=O;
|