@progress/kendo-react-grid 5.14.2-dev.202306230837 → 5.14.2-dev.202307051210
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/dist/cdn/js/kendo-react-grid.js +1 -1
- package/dist/es/columnMenu/GridColumnMenuWrapper.js +2 -1
- package/dist/es/drag/CommonDragLogic.js +3 -1
- package/dist/es/header/HeaderRow.js +2 -1
- package/dist/es/interfaces/GridColumnMenuColumnProps.d.ts +4 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/columnMenu/GridColumnMenuWrapper.js +2 -1
- package/dist/npm/drag/CommonDragLogic.js +3 -1
- package/dist/npm/header/HeaderRow.js +2 -1
- package/dist/npm/interfaces/GridColumnMenuColumnProps.d.ts +4 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-grid.js +1 -1
- package/package.json +18 -18
|
@@ -91,8 +91,9 @@ var GridColumnMenuWrapper = /** @class */ (function (_super) {
|
|
|
91
91
|
GridColumnMenuWrapper.prototype.render = function () {
|
|
92
92
|
var _this = this;
|
|
93
93
|
var _a = this.props, ColumnMenu = _a.columnMenu, others = __rest(_a, ["columnMenu"]);
|
|
94
|
+
var column = this.props.column;
|
|
94
95
|
return (React.createElement(React.Fragment, null,
|
|
95
|
-
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, href: "#" },
|
|
96
|
+
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, href: "#", title: "".concat(column.field || '').concat(column.id || '') },
|
|
96
97
|
React.createElement(IconWrap, { name: 'more-vertical', icon: moreVerticalIcon })),
|
|
97
98
|
React.createElement(Popup, { anchor: this._anchor, show: this.state.show },
|
|
98
99
|
React.createElement("div", { ref: function (e) { return _this._content = e; }, className: 'k-grid-columnmenu-popup', tabIndex: 0, onBlur: this.blur, onFocus: this.focus, style: { outline: 'none' } }, ColumnMenu && (React.createElement(ColumnMenu, __assign({}, others, { onCloseMenu: this.closeMenu })))))));
|
|
@@ -139,7 +139,9 @@ var CommonDragLogic = /** @class */ (function () {
|
|
|
139
139
|
};
|
|
140
140
|
CommonDragLogic.prototype.isTargetGroupingContainer = function (event) {
|
|
141
141
|
var target = event.originalEvent.target;
|
|
142
|
-
return target.className.indexOf
|
|
142
|
+
return target.className.indexOf
|
|
143
|
+
? target.className.indexOf('k-grouping-drop-container') !== -1
|
|
144
|
+
: false;
|
|
143
145
|
};
|
|
144
146
|
CommonDragLogic.prototype.getGroupIndex = function (event) {
|
|
145
147
|
return getIndex(event, this.groupPanelDivElement);
|
|
@@ -101,7 +101,8 @@ var HeaderRow = /** @class */ (function (_super) {
|
|
|
101
101
|
var headerCell = (React.createElement(HeaderCell, { key: 1, field: column.field, onClick: sortable && (function (e) { return _this.cellClick(e, column); }) || undefined, selectionChange: _this.props.selectionChange, title: column.title, selectionValue: column.headerSelectionValue, render: _this.props.cellRender, children: _this.sortIcon(sortIndex), columnMenuWrapperProps: {
|
|
102
102
|
column: {
|
|
103
103
|
field: column.field,
|
|
104
|
-
filter: column.filter
|
|
104
|
+
filter: column.filter,
|
|
105
|
+
id: column.id
|
|
105
106
|
},
|
|
106
107
|
sortable: sortable && _this.props.sortable,
|
|
107
108
|
sort: _this.props.sort,
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-grid',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1688557759,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -94,8 +94,9 @@ var GridColumnMenuWrapper = /** @class */ (function (_super) {
|
|
|
94
94
|
GridColumnMenuWrapper.prototype.render = function () {
|
|
95
95
|
var _this = this;
|
|
96
96
|
var _a = this.props, ColumnMenu = _a.columnMenu, others = __rest(_a, ["columnMenu"]);
|
|
97
|
+
var column = this.props.column;
|
|
97
98
|
return (React.createElement(React.Fragment, null,
|
|
98
|
-
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, href: "#" },
|
|
99
|
+
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, href: "#", title: "".concat(column.field || '').concat(column.id || '') },
|
|
99
100
|
React.createElement(kendo_react_common_1.IconWrap, { name: 'more-vertical', icon: kendo_svg_icons_1.moreVerticalIcon })),
|
|
100
101
|
React.createElement(kendo_react_popup_1.Popup, { anchor: this._anchor, show: this.state.show },
|
|
101
102
|
React.createElement("div", { ref: function (e) { return _this._content = e; }, className: 'k-grid-columnmenu-popup', tabIndex: 0, onBlur: this.blur, onFocus: this.focus, style: { outline: 'none' } }, ColumnMenu && (React.createElement(ColumnMenu, __assign({}, others, { onCloseMenu: this.closeMenu })))))));
|
|
@@ -142,7 +142,9 @@ var CommonDragLogic = /** @class */ (function () {
|
|
|
142
142
|
};
|
|
143
143
|
CommonDragLogic.prototype.isTargetGroupingContainer = function (event) {
|
|
144
144
|
var target = event.originalEvent.target;
|
|
145
|
-
return target.className.indexOf
|
|
145
|
+
return target.className.indexOf
|
|
146
|
+
? target.className.indexOf('k-grouping-drop-container') !== -1
|
|
147
|
+
: false;
|
|
146
148
|
};
|
|
147
149
|
CommonDragLogic.prototype.getGroupIndex = function (event) {
|
|
148
150
|
return (0, kendo_react_data_tools_1.getIndex)(event, this.groupPanelDivElement);
|
|
@@ -104,7 +104,8 @@ var HeaderRow = /** @class */ (function (_super) {
|
|
|
104
104
|
var headerCell = (React.createElement(HeaderCell, { key: 1, field: column.field, onClick: sortable && (function (e) { return _this.cellClick(e, column); }) || undefined, selectionChange: _this.props.selectionChange, title: column.title, selectionValue: column.headerSelectionValue, render: _this.props.cellRender, children: _this.sortIcon(sortIndex), columnMenuWrapperProps: {
|
|
105
105
|
column: {
|
|
106
106
|
field: column.field,
|
|
107
|
-
filter: column.filter
|
|
107
|
+
filter: column.filter,
|
|
108
|
+
id: column.id
|
|
108
109
|
},
|
|
109
110
|
sortable: sortable && _this.props.sortable,
|
|
110
111
|
sort: _this.props.sort,
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-grid',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1688557759,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|