@refinitiv-ui/efx-grid 6.0.50 → 6.0.51

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.
@@ -16130,9 +16130,9 @@ DataTable.prototype.getSegmentChildIds = function(segmentId) {
16130
16130
  };
16131
16131
  /** Sort all of existing segments by multiple sort logics
16132
16132
  * @public
16133
- * @param {Function|Array.<Function>} sortLogics
16134
- * @param {Array.<number>} sortOrders
16135
- * @param {Array.<string>} cids
16133
+ * @param {Function|Array.<Function>|Object} sortLogics
16134
+ * @param {Array.<number>=} sortOrders
16135
+ * @param {Array.<string>=} cids
16136
16136
  * @return {boolean}
16137
16137
  */
16138
16138
  DataTable.prototype.sortSeparators = function (sortLogics, sortOrders, cids) {
@@ -21383,9 +21383,9 @@ DataView.prototype.getSegmentChildIds = function(segmentRef) {
21383
21383
  };
21384
21384
  /** Sort all of existing segments by multiple sort logics
21385
21385
  * @public
21386
- * @param {Array.<Function>} sortLogics
21387
- * @param {Array.<number>} sortOrders
21388
- * @param {Array.<string>} cids
21386
+ * @param {Function|Array.<Function>|Object} sortLogics
21387
+ * @param {Array.<number>=} sortOrders
21388
+ * @param {Array.<string>=} cids
21389
21389
  */
21390
21390
  DataView.prototype.sortSeparators = function (sortLogics, sortOrders, cids) {
21391
21391
  this._dt.sortSeparators(sortLogics, sortOrders, cids);
@@ -26029,7 +26029,7 @@ Core_Core.prototype._batches = null;
26029
26029
  * @return {string}
26030
26030
  */
26031
26031
  Core_Core.getVersion = function () {
26032
- return "5.1.69";
26032
+ return "5.1.70";
26033
26033
  };
26034
26034
  /** {@link ElementWrapper#dispose}
26035
26035
  * @override
@@ -32747,10 +32747,12 @@ SortableTitlePlugin.prototype.sortSeparators = function (comparer) {
32747
32747
  var sortOrders = [];
32748
32748
  var sortFields = [];
32749
32749
  var sortStateCount = this._sortStates.length;
32750
+ var rowDefField = SortableTitlePlugin._toRowDefField();
32750
32751
  for(var i = 0; i < sortStateCount; i++){
32751
32752
  var sortState = this._sortStates[i];
32753
+ var field = this._rowDefMode ? rowDefField : sortState["field"];
32752
32754
  sortOrders.push(sortState["sortOrder"]);
32753
- sortFields.push(sortState["field"]);
32755
+ sortFields.push(field);
32754
32756
  }
32755
32757
  dv.sortSeparators(sortLogics, sortOrders, sortFields);
32756
32758
  }