@refinitiv-ui/efx-grid 6.0.86 → 6.0.87
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/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
| @@ -799,7 +799,7 @@ ColumnDefinition.prototype.getConfigObject = function(colOptions) { | |
| 799 799 | 
             
            	}
         | 
| 800 800 |  | 
| 801 801 | 
             
            	value = core.getMinimumColumnWidth(colIndex);
         | 
| 802 | 
            -
            	if(value  | 
| 802 | 
            +
            	if(value > 0) {
         | 
| 803 803 | 
             
            		obj["minWidth"] = value;
         | 
| 804 804 | 
             
            	}
         | 
| 805 805 |  | 
| @@ -901,7 +901,7 @@ ColumnDefinition.prototype.getChildren = function() { | |
| 901 901 | 
             
            };
         | 
| 902 902 | 
             
            /**
         | 
| 903 903 | 
             
            * @private
         | 
| 904 | 
            -
            * @param { | 
| 904 | 
            +
            * @param {ColumnDefinition} colDef Child column definition
         | 
| 905 905 | 
             
            */
         | 
| 906 906 | 
             
            ColumnDefinition.prototype._addChild = function(colDef) {
         | 
| 907 907 | 
             
            	if(this === colDef || this._children.indexOf(colDef) > -1) {
         | 
| @@ -116,7 +116,7 @@ RowDefinition.prototype._dataId = ""; // Data id can be different from rowId for | |
| 116 116 | 
             
            * @private
         | 
| 117 117 | 
             
            */
         | 
| 118 118 | 
             
            RowDefinition.prototype._dc = null;
         | 
| 119 | 
            -
            /** @type { | 
| 119 | 
            +
            /** @type {DataView}
         | 
| 120 120 | 
             
            * @private
         | 
| 121 121 | 
             
            */
         | 
| 122 122 | 
             
            RowDefinition.prototype._view = null;
         | 
| @@ -394,8 +394,8 @@ RowDefinition.prototype.getConfigObject = function(rowOptions) { | |
| 394 394 | 
             
            	}
         | 
| 395 395 |  | 
| 396 396 | 
             
            	val = this._realTime;
         | 
| 397 | 
            -
            	if(val | 
| 398 | 
            -
            		obj["realTime"] =  | 
| 397 | 
            +
            	if(!val) {
         | 
| 398 | 
            +
            		obj["realTime"] = false;
         | 
| 399 399 | 
             
            	}
         | 
| 400 400 |  | 
| 401 401 | 
             
            	val = this._permId;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            function _typeof( | 
| 1 | 
            +
            function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
         | 
| 2 2 | 
             
            import { Ext } from '../../tr-grid-util/es6/Ext.js';
         | 
| 3 3 | 
             
            import { GridPlugin } from '../../tr-grid-util/es6/GridPlugin.js';
         | 
| 4 4 | 
             
            import { ElfUtil } from '../../tr-grid-util/es6/ElfUtil.js';
         | 
| @@ -477,6 +477,9 @@ RangeBarPlugin.prototype._onPostSectionBinding = function (e) { | |
| 477 477 | 
             
                    continue;
         | 
| 478 478 | 
             
                  }
         | 
| 479 479 | 
             
                  var rowData = this._getRowData(dataRows[r]);
         | 
| 480 | 
            +
                  if (!rowData) {
         | 
| 481 | 
            +
                    continue;
         | 
| 482 | 
            +
                  }
         | 
| 480 483 | 
             
                  var rangeBarData = _getRangeBarData(rBarOpt, rowData);
         | 
| 481 484 | 
             
                  var low = rangeBarData.low;
         | 
| 482 485 | 
             
                  var last = rangeBarData.last;
         | 
| @@ -77,6 +77,8 @@ declare class RowFilteringPlugin extends GridPlugin { | |
| 77 77 |  | 
| 78 78 | 
             
                public setColumnFilter(colIndex: number, exp: RowFilteringPlugin.Expression|null, ctx?: (any|string)|null): boolean;
         | 
| 79 79 |  | 
| 80 | 
            +
                public getColumnFilterExpression(colIndex: number): RowFilteringPlugin.Expression|null;
         | 
| 81 | 
            +
             | 
| 80 82 | 
             
                public removeFilter(funcRef: ((...params: any[]) => any)|string|null): boolean;
         | 
| 81 83 |  | 
| 82 84 | 
             
                public removeColumnFilters(colIndex: number): boolean;
         | 
| @@ -680,7 +680,7 @@ RowFilteringPlugin.prototype.addColumnFilter = function (colIndex, exp, ctx) { | |
| 680 680 | 
             
            * );
         | 
| 681 681 | 
             
            */
         | 
| 682 682 | 
             
            RowFilteringPlugin.prototype.setColumnFilter = function (colIndex, exp, ctx) {
         | 
| 683 | 
            -
              var curExp = this. | 
| 683 | 
            +
              var curExp = this.getColumnFilterExpression(colIndex);
         | 
| 684 684 | 
             
              if (curExp === exp) {
         | 
| 685 685 | 
             
                return false;
         | 
| 686 686 | 
             
              }
         | 
| @@ -691,11 +691,11 @@ RowFilteringPlugin.prototype.setColumnFilter = function (colIndex, exp, ctx) { | |
| 691 691 | 
             
              }
         | 
| 692 692 | 
             
              return removed || added;
         | 
| 693 693 | 
             
            };
         | 
| 694 | 
            -
            /** @ | 
| 694 | 
            +
            /** @public
         | 
| 695 695 | 
             
             * @param {number} colIndex
         | 
| 696 696 | 
             
             * @return {RowFilteringPlugin~Expression}
         | 
| 697 697 | 
             
             */
         | 
| 698 | 
            -
            RowFilteringPlugin.prototype. | 
| 698 | 
            +
            RowFilteringPlugin.prototype.getColumnFilterExpression = function (colIndex) {
         | 
| 699 699 | 
             
              var colSettings = this._getUserColumnSettings(colIndex);
         | 
| 700 700 | 
             
              return colSettings.expression || null;
         | 
| 701 701 | 
             
            };
         | 
| @@ -76,5 +76,7 @@ declare class CheckboxPlugin extends GridPlugin { | |
| 76 76 |  | 
| 77 77 | 
             
            declare function val(gridOptions?: any): any;
         | 
| 78 78 |  | 
| 79 | 
            +
            declare function newState(sectionRef: any, rowIndex: number, context?: any): void;
         | 
| 80 | 
            +
             | 
| 79 81 | 
             
            export default CheckboxPlugin;
         | 
| 80 82 | 
             
            export { CheckboxPlugin, CheckboxPlugin as Checkbox, CheckboxPlugin as CheckboxExtension };
         | 
| @@ -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;
         | 
| @@ -77,6 +77,8 @@ declare class RowFilteringPlugin extends GridPlugin { | |
| 77 77 |  | 
| 78 78 | 
             
                public setColumnFilter(colIndex: number, exp: RowFilteringPlugin.Expression|null, ctx?: (any|string)|null): boolean;
         | 
| 79 79 |  | 
| 80 | 
            +
                public getColumnFilterExpression(colIndex: number): RowFilteringPlugin.Expression|null;
         | 
| 81 | 
            +
             | 
| 80 82 | 
             
                public removeFilter(funcRef: ((...params: any[]) => any)|string|null): boolean;
         | 
| 81 83 |  | 
| 82 84 | 
             
                public removeColumnFilters(colIndex: number): boolean;
         | 
    
        package/lib/versions.json
    CHANGED
    
    | @@ -22,16 +22,16 @@ | |
| 22 22 | 
             
            	"tr-grid-in-cell-editing": "1.0.81",
         | 
| 23 23 | 
             
            	"tr-grid-pagination": "1.0.24",
         | 
| 24 24 | 
             
            	"tr-grid-percent-bar": "1.0.22",
         | 
| 25 | 
            -
            	"tr-grid-range-bar": "2.0. | 
| 25 | 
            +
            	"tr-grid-range-bar": "2.0.7",
         | 
| 26 26 | 
             
            	"tr-grid-row-dragging": "1.0.31",
         | 
| 27 | 
            -
            	"tr-grid-row-filtering": "1.0. | 
| 27 | 
            +
            	"tr-grid-row-filtering": "1.0.69",
         | 
| 28 28 | 
             
            	"tr-grid-row-grouping": "1.0.86",
         | 
| 29 29 | 
             
            	"tr-grid-row-selection": "1.0.27",
         | 
| 30 30 | 
             
            	"tr-grid-rowcoloring": "1.0.25",
         | 
| 31 31 | 
             
            	"tr-grid-textformatting": "1.0.48",
         | 
| 32 32 | 
             
            	"tr-grid-titlewrap": "1.0.21",
         | 
| 33 33 | 
             
            	"@grid/formatters": "1.0.51",
         | 
| 34 | 
            -
            	"@grid/column-selection-dialog": "4.0. | 
| 34 | 
            +
            	"@grid/column-selection-dialog": "4.0.57",
         | 
| 35 35 | 
             
            	"@grid/filter-dialog": "4.0.63",
         | 
| 36 | 
            -
            	"@grid/column-format-dialog": "4.0. | 
| 36 | 
            +
            	"@grid/column-format-dialog": "4.0.45"
         | 
| 37 37 | 
             
            }
         | 
    
        package/package.json
    CHANGED