@refinitiv-ui/efx-grid 6.0.108 → 6.0.109
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/lib/core/dist/core.js +3 -27
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.js +3 -27
- package/lib/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.js +32 -10
- package/lib/rt-grid/dist/rt-grid.js +286 -149
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/Grid.js +126 -90
- package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +2 -0
- package/lib/tr-grid-filter-input/es6/FilterInput.js +19 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +36 -1
- package/lib/types/es6/FilterInput.d.ts +2 -0
- package/lib/types/es6/RowFiltering.d.ts +4 -0
- package/lib/versions.json +2 -2
- package/package.json +1 -1
package/lib/core/dist/core.js
CHANGED
@@ -25217,7 +25217,6 @@ let Core_Core = function (opt_initializer) {
|
|
25217
25217
|
_t._onRowHightlighted = _t._onRowHightlighted.bind(_t);
|
25218
25218
|
_t._onGridClicked = _t._onGridClicked.bind(_t);
|
25219
25219
|
_t._onKeyDown = _t._onKeyDown.bind(_t);
|
25220
|
-
_t._onKeyUp = _t._onKeyUp.bind(_t);
|
25221
25220
|
|
25222
25221
|
_t._onWindowResize = _t._onWindowResize.bind(_t);
|
25223
25222
|
_t._onSectionDataChanged = _t._onSectionDataChanged.bind(_t);
|
@@ -25305,7 +25304,6 @@ let Core_Core = function (opt_initializer) {
|
|
25305
25304
|
|
25306
25305
|
|
25307
25306
|
_t._element.addEventListener("keydown", _t._onKeyDown);
|
25308
|
-
_t._element.addEventListener("keyup", _t._onKeyUp);
|
25309
25307
|
if (util.isMobile || util.isTouchDevice) {
|
25310
25308
|
_t._element.addEventListener("touchmove", _t._onMouseMove, false);
|
25311
25309
|
} else {
|
@@ -25712,7 +25710,7 @@ Core_Core.prototype._hasPendingRowChange = false;
|
|
25712
25710
|
* @return {string}
|
25713
25711
|
*/
|
25714
25712
|
Core_Core.getVersion = function () {
|
25715
|
-
return "5.1.
|
25713
|
+
return "5.1.111";
|
25716
25714
|
};
|
25717
25715
|
/** {@link ElementWrapper#dispose}
|
25718
25716
|
* @override
|
@@ -30553,31 +30551,9 @@ Core_Core.prototype._onKeyDown = function (e) {
|
|
30553
30551
|
|
30554
30552
|
if(onTheEdge && !e.defaultPrevented) {
|
30555
30553
|
if(onTheEdge > 0 && e.shiftKey) {
|
30556
|
-
this._firstHiddenInput.focus(); // jump to the top
|
30557
|
-
e.preventDefault();
|
30554
|
+
this._firstHiddenInput.focus(); // jump to the top and move out of grid
|
30558
30555
|
} else if(onTheEdge < 0 && !e.shiftKey) {
|
30559
|
-
this._lastHiddenInput.focus(); // skip to the end
|
30560
|
-
e.preventDefault();
|
30561
|
-
}
|
30562
|
-
}
|
30563
|
-
};
|
30564
|
-
/** @private
|
30565
|
-
* @param {Object} e
|
30566
|
-
*/
|
30567
|
-
Core_Core.prototype._onKeyUp = function (e) {
|
30568
|
-
if(!_isTabCommand(e)) {
|
30569
|
-
return;
|
30570
|
-
}
|
30571
|
-
var activeElem = _getActiveElement(this._element);
|
30572
|
-
if(e.shiftKey) {
|
30573
|
-
if(activeElem === this._lastHiddenInput) {
|
30574
|
-
this._firstHiddenInput.focus();
|
30575
|
-
e.preventDefault();
|
30576
|
-
}
|
30577
|
-
} else {
|
30578
|
-
if(activeElem === this._firstHiddenInput) {
|
30579
|
-
this._lastHiddenInput.focus();
|
30580
|
-
e.preventDefault();
|
30556
|
+
this._lastHiddenInput.focus(); // skip to the end and move out of grid
|
30581
30557
|
}
|
30582
30558
|
}
|
30583
30559
|
};
|