@refinitiv-ui/efx-grid 6.0.86 → 6.0.87
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/column-format-dialog/lib/column-format-dialog.js +5 -8
- package/lib/column-format-dialog/lib/preview-table.d.ts +1 -1
- package/lib/column-format-dialog/lib/preview-table.js +15 -15
- package/lib/column-selection-dialog/themes/base.less +0 -1
- package/lib/column-selection-dialog/themes/elemental/dark/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/elemental/dark/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/elemental/light/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/elemental/light/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/solar/charcoal/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/solar/charcoal/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/solar/pearl/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/solar/pearl/es5/all-elements.js +1 -1
- package/lib/core/dist/core.js +8 -2
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/DataView.js +1 -1
- package/lib/core/es6/grid/Core.d.ts +2 -0
- package/lib/core/es6/grid/Core.js +7 -1
- package/lib/grid/index.js +1 -1
- package/lib/rt-grid/dist/rt-grid.js +10 -10
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.js +2 -2
- package/lib/rt-grid/es6/RowDefinition.js +3 -3
- package/lib/tr-grid-range-bar/es6/RangeBar.js +4 -1
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +2 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +3 -3
- package/lib/types/es6/Checkbox.d.ts +2 -0
- package/lib/types/es6/Core/grid/Core.d.ts +2 -0
- package/lib/types/es6/RowFiltering.d.ts +2 -0
- package/lib/versions.json +4 -4
- package/package.json +1 -1
@@ -245,6 +245,8 @@ declare class Core extends ElementWrapper {
|
|
245
245
|
|
246
246
|
public freezeSection(opt_frozenSection?: (string|number|null)|null): void;
|
247
247
|
|
248
|
+
public resetSectionFreezing(): void;
|
249
|
+
|
248
250
|
public freezeFooter(frozenCount: number): void;
|
249
251
|
|
250
252
|
public getFooterCount(): number;
|
@@ -574,7 +574,7 @@ Core.prototype._hasPendingRowChange = false;
|
|
574
574
|
* @return {string}
|
575
575
|
*/
|
576
576
|
Core.getVersion = function () {
|
577
|
-
return "5.1.
|
577
|
+
return "5.1.92";
|
578
578
|
};
|
579
579
|
/** {@link ElementWrapper#dispose}
|
580
580
|
* @override
|
@@ -2872,6 +2872,12 @@ Core.prototype.freezeSection = function (opt_frozenSection) {
|
|
2872
2872
|
this._fixFrozenTopSections = true;
|
2873
2873
|
this._freezeTopSectionAt(opt_frozenSection);
|
2874
2874
|
};
|
2875
|
+
/** @public
|
2876
|
+
*/
|
2877
|
+
Core.prototype.resetSectionFreezing = function () {
|
2878
|
+
this._fixFrozenTopSections = false;
|
2879
|
+
this._updateFrozenTopSections();
|
2880
|
+
};
|
2875
2881
|
|
2876
2882
|
/** Vertical scrollbar will automatically appear for the rest of the sections, when container of Grid does NOT have enough space for Grid's content.
|
2877
2883
|
* @private
|
package/lib/grid/index.js
CHANGED
@@ -125,7 +125,7 @@ Dom.div = function(className) {
|
|
125
125
|
/** Shorthand for creating a span element with textContent
|
126
126
|
* @public
|
127
127
|
* @function
|
128
|
-
* @param {string=} textContent
|
128
|
+
* @param {(string|number)=} textContent
|
129
129
|
* @param {string=} className
|
130
130
|
* @return {!Element}
|
131
131
|
*/
|
@@ -866,7 +866,7 @@ EventDispatcher.preventDefault = preventDefault;
|
|
866
866
|
* @param {number=} index
|
867
867
|
*/
|
868
868
|
var VariableToken = function(str, index) {
|
869
|
-
str = str.
|
869
|
+
str = str.trim();
|
870
870
|
|
871
871
|
if(this._inputConverter[str]) {
|
872
872
|
str = this._inputConverter[str];
|
@@ -1791,7 +1791,7 @@ Formula.prototype._parse = function(exp) {
|
|
1791
1791
|
if(exp.charAt(0) === "=") { // Remove the first equal sign
|
1792
1792
|
exp = exp.substr(1);
|
1793
1793
|
}
|
1794
|
-
exp = exp.
|
1794
|
+
exp = exp.trim();
|
1795
1795
|
exp = exp.replace(/<>/g, "!=");
|
1796
1796
|
exp = exp.replace(/‛|‘|’/g, "'"); // Left and right single quote will be converted to simple single quote
|
1797
1797
|
exp = exp.replace(/‟|“|”/g, '"'); // Left and right double quote will be converted to simple double quote
|
@@ -13316,7 +13316,7 @@ RowDefinition.prototype._dataId = ""; // Data id can be different from rowId for
|
|
13316
13316
|
* @private
|
13317
13317
|
*/
|
13318
13318
|
RowDefinition.prototype._dc = null;
|
13319
|
-
/** @type {
|
13319
|
+
/** @type {DataView}
|
13320
13320
|
* @private
|
13321
13321
|
*/
|
13322
13322
|
RowDefinition.prototype._view = null;
|
@@ -13594,8 +13594,8 @@ RowDefinition.prototype.getConfigObject = function(rowOptions) {
|
|
13594
13594
|
}
|
13595
13595
|
|
13596
13596
|
val = this._realTime;
|
13597
|
-
if(val
|
13598
|
-
obj["realTime"] =
|
13597
|
+
if(!val) {
|
13598
|
+
obj["realTime"] = false;
|
13599
13599
|
}
|
13600
13600
|
|
13601
13601
|
val = this._permId;
|
@@ -15856,7 +15856,7 @@ ColumnDefinition.prototype.getConfigObject = function(colOptions) {
|
|
15856
15856
|
}
|
15857
15857
|
|
15858
15858
|
value = core.getMinimumColumnWidth(colIndex);
|
15859
|
-
if(value
|
15859
|
+
if(value > 0) {
|
15860
15860
|
obj["minWidth"] = value;
|
15861
15861
|
}
|
15862
15862
|
|
@@ -15958,7 +15958,7 @@ ColumnDefinition.prototype.getChildren = function() {
|
|
15958
15958
|
};
|
15959
15959
|
/**
|
15960
15960
|
* @private
|
15961
|
-
* @param {
|
15961
|
+
* @param {ColumnDefinition} colDef Child column definition
|
15962
15962
|
*/
|
15963
15963
|
ColumnDefinition.prototype._addChild = function(colDef) {
|
15964
15964
|
if(this === colDef || this._children.indexOf(colDef) > -1) {
|
@@ -49172,7 +49172,7 @@ var randString = function(min, max, seed) {
|
|
49172
49172
|
/** Convert 2D Array to Array of records
|
49173
49173
|
* @public
|
49174
49174
|
* @param {Array.<Array>} data2D Array of values
|
49175
|
-
* @param {Array.<string>=} fields Keys to be mapped on the output records.
|
49175
|
+
* @param {Array.<string|number>=} fields Keys to be mapped on the output records.
|
49176
49176
|
* @return {Array.<Object>} records
|
49177
49177
|
*/
|
49178
49178
|
var toRecords = function(data2D, fields) {
|
@@ -51555,7 +51555,7 @@ var OperatorFunctions = {
|
|
51555
51555
|
"!": function(lhs, rhs){ return !lhs; },
|
51556
51556
|
"!!": function(lhs, rhs){ return !!lhs; }
|
51557
51557
|
};
|
51558
|
-
/** @type {Object.<string,
|
51558
|
+
/** @type {Object.<string, number>}
|
51559
51559
|
* @private
|
51560
51560
|
* @const
|
51561
51561
|
*/
|