@refinitiv-ui/efx-grid 6.0.41 → 6.0.43

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.
Files changed (91) hide show
  1. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -0
  2. package/lib/column-format-dialog/lib/column-format-dialog.js +3 -24
  3. package/lib/column-format-dialog/lib/preview-table.d.ts +1 -1
  4. package/lib/column-format-dialog/lib/preview-table.js +15 -27
  5. package/lib/core/dist/core.js +843 -871
  6. package/lib/core/dist/core.min.js +1 -1
  7. package/lib/core/es6/grid/Core.d.ts +4 -0
  8. package/lib/core/es6/grid/Core.js +67 -2
  9. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +3 -2
  10. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +32 -26
  11. package/lib/core/es6/grid/util/util.js +25 -9
  12. package/lib/formatters/es6/CoralButtonFormatter.d.ts +2 -2
  13. package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +1 -1
  14. package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +4 -4
  15. package/lib/formatters/es6/CoralIconFormatter.d.ts +3 -3
  16. package/lib/formatters/es6/CoralInputFormatter.d.ts +1 -1
  17. package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +2 -2
  18. package/lib/formatters/es6/CoralSelectFormatter.d.ts +4 -4
  19. package/lib/formatters/es6/CoralToggleFormatter.d.ts +1 -1
  20. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
  21. package/lib/formatters/es6/EFButtonFormatter.d.ts +2 -2
  22. package/lib/formatters/es6/EFCheckboxFormatter.d.ts +1 -1
  23. package/lib/formatters/es6/EFComboBoxFormatter.d.ts +4 -4
  24. package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +1 -1
  25. package/lib/formatters/es6/EFIconFormatter.d.ts +3 -3
  26. package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +1 -1
  27. package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +2 -2
  28. package/lib/formatters/es6/EFSelectFormatter.d.ts +4 -4
  29. package/lib/formatters/es6/EFTextFieldFormatter.d.ts +1 -1
  30. package/lib/formatters/es6/EFToggleFormatter.d.ts +1 -1
  31. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
  32. package/lib/formatters/es6/FormatterBuilder.d.ts +6 -2
  33. package/lib/formatters/es6/FormatterBuilder.js +328 -178
  34. package/lib/formatters/es6/NumericInputFormatter.d.ts +1 -1
  35. package/lib/formatters/es6/PercentBarFormatter.d.ts +6 -6
  36. package/lib/formatters/es6/SimpleImageFormatter.d.ts +3 -3
  37. package/lib/formatters/es6/SimpleInputFormatter.d.ts +1 -1
  38. package/lib/formatters/es6/SimpleLinkFormatter.d.ts +3 -3
  39. package/lib/formatters/es6/SimpleTickerFormatter.d.ts +3 -3
  40. package/lib/formatters/es6/SimpleToggleFormatter.d.ts +3 -3
  41. package/lib/formatters/es6/TextFormatter.d.ts +1 -1
  42. package/lib/grid/index.js +1 -1
  43. package/lib/rt-grid/dist/rt-grid.js +213 -44
  44. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  45. package/lib/rt-grid/es6/Grid.d.ts +24 -1
  46. package/lib/rt-grid/es6/Grid.js +92 -4
  47. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +4 -0
  48. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +34 -19
  49. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +9 -3
  50. package/lib/tr-grid-column-stack/es6/ColumnStack.js +324 -388
  51. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +17 -17
  52. package/lib/tr-grid-filter-input/es6/FilterInput.js +146 -33
  53. package/lib/tr-grid-util/es6/DateTime.js +3 -3
  54. package/lib/tr-grid-util/es6/GridPlugin.js +1 -1
  55. package/lib/types/es6/ColumnGrouping.d.ts +4 -0
  56. package/lib/types/es6/ColumnStack.d.ts +9 -3
  57. package/lib/types/es6/CoralButtonFormatter.d.ts +2 -2
  58. package/lib/types/es6/CoralCheckboxFormatter.d.ts +1 -1
  59. package/lib/types/es6/CoralComboBoxFormatter.d.ts +4 -4
  60. package/lib/types/es6/CoralIconFormatter.d.ts +3 -3
  61. package/lib/types/es6/CoralInputFormatter.d.ts +1 -1
  62. package/lib/types/es6/CoralRadioButtonFormatter.d.ts +2 -2
  63. package/lib/types/es6/CoralSelectFormatter.d.ts +4 -4
  64. package/lib/types/es6/CoralToggleFormatter.d.ts +1 -1
  65. package/lib/types/es6/Core/grid/Core.d.ts +4 -0
  66. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +3 -2
  67. package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
  68. package/lib/types/es6/EFButtonFormatter.d.ts +2 -2
  69. package/lib/types/es6/EFCheckboxFormatter.d.ts +1 -1
  70. package/lib/types/es6/EFComboBoxFormatter.d.ts +4 -4
  71. package/lib/types/es6/EFDateTimePickerFormatter.d.ts +1 -1
  72. package/lib/types/es6/EFIconFormatter.d.ts +3 -3
  73. package/lib/types/es6/EFNumberFieldFormatter.d.ts +1 -1
  74. package/lib/types/es6/EFRadioButtonFormatter.d.ts +2 -2
  75. package/lib/types/es6/EFSelectFormatter.d.ts +4 -4
  76. package/lib/types/es6/EFTextFieldFormatter.d.ts +1 -1
  77. package/lib/types/es6/EFToggleFormatter.d.ts +1 -1
  78. package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
  79. package/lib/types/es6/FilterInput.d.ts +17 -17
  80. package/lib/types/es6/FormatterBuilder.d.ts +6 -2
  81. package/lib/types/es6/NumericInputFormatter.d.ts +1 -1
  82. package/lib/types/es6/PercentBarFormatter.d.ts +6 -6
  83. package/lib/types/es6/RealtimeGrid/Grid.d.ts +22 -0
  84. package/lib/types/es6/SimpleImageFormatter.d.ts +3 -3
  85. package/lib/types/es6/SimpleInputFormatter.d.ts +1 -1
  86. package/lib/types/es6/SimpleLinkFormatter.d.ts +3 -3
  87. package/lib/types/es6/SimpleTickerFormatter.d.ts +3 -3
  88. package/lib/types/es6/SimpleToggleFormatter.d.ts +3 -3
  89. package/lib/types/es6/TextFormatter.d.ts +1 -1
  90. package/lib/versions.json +6 -6
  91. package/package.json +1 -1
@@ -3,8 +3,8 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace EFIconFormatter {
4
4
 
5
5
  type Options = {
6
- icon?: (string|any),
7
- size?: (number|string)
6
+ icon?: (string|any)|null,
7
+ size?: (number|string)|null
8
8
  };
9
9
 
10
10
  }
@@ -13,7 +13,7 @@ declare class EFIconFormatter {
13
13
 
14
14
  constructor(options?: any);
15
15
 
16
- public static create(options?: (FormatterBuilder.Options|EFIconFormatter.Options|any)): any;
16
+ public static create(options?: (FormatterBuilder.Options|EFIconFormatter.Options|any)|null): any;
17
17
 
18
18
  }
19
19
 
@@ -4,7 +4,7 @@ declare class EFNumberFieldFormatter {
4
4
 
5
5
  constructor(options?: any);
6
6
 
7
- public static create(options?: (FormatterBuilder.Options|any)): any;
7
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
8
8
 
9
9
  }
10
10
 
@@ -3,7 +3,7 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace EFRadioButtonFormatter {
4
4
 
5
5
  type Options = {
6
- initialIndex?: number
6
+ initialIndex?: number|null
7
7
  };
8
8
 
9
9
  }
@@ -12,7 +12,7 @@ declare class EFRadioButtonFormatter {
12
12
 
13
13
  constructor(options?: any);
14
14
 
15
- public static create(options?: (FormatterBuilder.Options|EFRadioButtonFormatter.Options|any)): any;
15
+ public static create(options?: (FormatterBuilder.Options|EFRadioButtonFormatter.Options|any)|null): any;
16
16
 
17
17
  }
18
18
 
@@ -4,9 +4,9 @@ import CoralItems from "../../tr-grid-util/es6/CoralItems.js";
4
4
  declare namespace EFSelectFormatter {
5
5
 
6
6
  type Options = {
7
- data?: any[],
8
- entries?: any[],
9
- items?: any[]
7
+ data?: any[]|null,
8
+ entries?: any[]|null,
9
+ items?: any[]|null
10
10
  };
11
11
 
12
12
  }
@@ -15,7 +15,7 @@ declare class EFSelectFormatter {
15
15
 
16
16
  constructor(options?: any);
17
17
 
18
- public static create(options?: (FormatterBuilder.Options|EFSelectFormatter.Options|any)): any;
18
+ public static create(options?: (FormatterBuilder.Options|EFSelectFormatter.Options|any)|null): any;
19
19
 
20
20
  }
21
21
 
@@ -4,7 +4,7 @@ declare class EFTextFieldFormatter {
4
4
 
5
5
  constructor(options?: any);
6
6
 
7
- public static create(options?: (FormatterBuilder.Options|any)): any;
7
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
8
8
 
9
9
  }
10
10
 
@@ -4,7 +4,7 @@ declare class EFToggleFormatter {
4
4
 
5
5
  constructor(options?: any);
6
6
 
7
- public static create(options?: (FormatterBuilder.Options|any)): any;
7
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
8
8
 
9
9
  }
10
10
 
@@ -5,7 +5,7 @@ declare class EmeraldDateTimePickerFormatter {
5
5
 
6
6
  constructor(options?: any);
7
7
 
8
- public static create(options?: (FormatterBuilder.Options|any)): any;
8
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
9
9
 
10
10
  }
11
11
 
@@ -7,30 +7,30 @@ import { CoralItems } from '../../tr-grid-util/es6/CoralItems.js';
7
7
  declare namespace FilterInputPlugin {
8
8
 
9
9
  type GridColumn = {
10
- filterInput?: FilterInputPlugin.ColumnOptions
10
+ filterInput?: FilterInputPlugin.ColumnOptions|null
11
11
  };
12
12
 
13
13
  type ColumnOptions = {
14
- defaultLogic?: ((...params: any[]) => any),
15
- filterLogic?: ((...params: any[]) => any),
16
- disabled?: boolean,
17
- placeholder?: string,
18
- type?: string,
19
- entries?: any[],
14
+ defaultLogic?: ((...params: any[]) => any)|null,
15
+ filterLogic?: ((...params: any[]) => any)|null,
16
+ disabled?: boolean|null,
17
+ placeholder?: string|null,
18
+ type?: string|null,
19
+ entries?: any[]|null,
20
20
  defaultValue?: any,
21
- trigger?: string
21
+ trigger?: string|null
22
22
  };
23
23
 
24
24
  type Options = {
25
- inputCreated?: ((...params: any[]) => any),
26
- trigger?: string
25
+ inputCreated?: ((...params: any[]) => any)|null,
26
+ trigger?: string|null
27
27
  };
28
28
 
29
29
  }
30
30
 
31
31
  declare class FilterInputPlugin extends GridPlugin {
32
32
 
33
- constructor(options?: FilterInputPlugin.Options);
33
+ constructor(options?: FilterInputPlugin.Options|null);
34
34
 
35
35
  public getName(): string;
36
36
 
@@ -42,17 +42,17 @@ declare class FilterInputPlugin extends GridPlugin {
42
42
 
43
43
  public getConfigObject(out_obj?: any): any;
44
44
 
45
- public getColumnInput(colIndex: number): Element;
45
+ public getColumnInput(colIndex: number): Element|null;
46
46
 
47
- public removeColumnFilters(colIndex?: (null|number)): void;
47
+ public removeColumnFilters(colIndex?: (null|number)|null): void;
48
48
 
49
- public removeColumnFilter(colIndex?: (null|number)): void;
49
+ public removeColumnFilter(colIndex?: (null|number)|null): void;
50
50
 
51
- public refresh(delayMs?: number): void;
51
+ public refresh(delayMs?: number|null): void;
52
52
 
53
- public setFilterLogic(colIndex: number, func: ((...params: any[]) => any), ctx?: any): void;
53
+ public setFilterLogic(colIndex: number, func: ((...params: any[]) => any)|null, ctx?: any): void;
54
54
 
55
- public filterColumn(colIndex: number, text: string): void;
55
+ public filterColumn(colIndex: number, text: string, textMap?: any): void;
56
56
 
57
57
  }
58
58
 
@@ -3,9 +3,13 @@
3
3
  declare namespace FormatterBuilder {
4
4
 
5
5
  type Options = {
6
+ field?: string|null,
6
7
  attributes?: any,
7
8
  styles?: any,
8
- events?: any
9
+ events?: any,
10
+ changeHandler?: ((...params: any[]) => any)|null,
11
+ changeHandlers?: (((...params: any[]) => any))[]|null,
12
+ onElementRendered?: ((...params: any[]) => any)|null
9
13
  };
10
14
 
11
15
  }
@@ -14,7 +18,7 @@ declare class FormatterBuilder {
14
18
 
15
19
  constructor(options?: any);
16
20
 
17
- public static create(userOptions?: FormatterBuilder.Options, defaultOpt?: FormatterBuilder.Options): any;
21
+ public static create(userOptions?: FormatterBuilder.Options|null, defaultOpt?: FormatterBuilder.Options|null): any;
18
22
 
19
23
  }
20
24
 
@@ -5,7 +5,7 @@ declare class NumericInputFormatter {
5
5
 
6
6
  constructor(options?: any);
7
7
 
8
- public static create(options?: (FormatterBuilder.Options|any)): any;
8
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
9
9
 
10
10
  }
11
11
 
@@ -4,11 +4,11 @@ import {PercentBar} from "../../tr-grid-util/es6/PercentBar.js";
4
4
  declare namespace PercentBarFormatter {
5
5
 
6
6
  type Options = {
7
- alignment?: string,
8
- movementColor?: boolean,
9
- barColor?: string,
10
- textHidden?: boolean,
11
- textWidth?: (number|string)
7
+ alignment?: string|null,
8
+ movementColor?: boolean|null,
9
+ barColor?: string|null,
10
+ textHidden?: boolean|null,
11
+ textWidth?: (number|string)|null
12
12
  };
13
13
 
14
14
  }
@@ -17,7 +17,7 @@ declare class PercentBarFormatter {
17
17
 
18
18
  constructor(options?: any);
19
19
 
20
- public static create(options?: (FormatterBuilder.Options|PercentBarFormatter.Options|any)): any;
20
+ public static create(options?: (FormatterBuilder.Options|PercentBarFormatter.Options|any)|null): any;
21
21
 
22
22
  }
23
23
 
@@ -322,6 +322,28 @@ declare class Grid extends EventDispatcher {
322
322
 
323
323
  public replaceRow(rowRef: Grid.RowReference|null, rowOption?: any): any;
324
324
 
325
+ public scrollToColumn(colIndex: number, leftOfView?: boolean|null): boolean;
326
+
327
+ public scrollToRow(rowIndex: number, topOfView?: boolean|null): void;
328
+
329
+ public getScrollLeft(): number;
330
+
331
+ public getScrollTop(): number;
332
+
333
+ public setScrollLeft(pixels: number): void;
334
+
335
+ public setScrollTop(pixels: number): void;
336
+
337
+ public scrollRight(pixels: number): void;
338
+
339
+ public scrollDown(pixels: number): void;
340
+
341
+ public getScrollWidth(): number;
342
+
343
+ public getScrollHeight(): number;
344
+
345
+ public getVScrollView(): any;
346
+
325
347
  }
326
348
 
327
349
  declare function borders(gridOptions?: any): any;
@@ -3,8 +3,8 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace SimpleImageFormatter {
4
4
 
5
5
  type Options = {
6
- height?: (string|number),
7
- width?: (string|number)
6
+ height?: (string|number)|null,
7
+ width?: (string|number)|null
8
8
  };
9
9
 
10
10
  }
@@ -13,7 +13,7 @@ declare class SimpleImageFormatter {
13
13
 
14
14
  constructor(options?: any);
15
15
 
16
- public static create(options?: (FormatterBuilder.Options|SimpleImageFormatter.Options|any)): any;
16
+ public static create(options?: (FormatterBuilder.Options|SimpleImageFormatter.Options|any)|null): any;
17
17
 
18
18
  }
19
19
 
@@ -4,7 +4,7 @@ declare class SimpleInputFormatter {
4
4
 
5
5
  constructor(options?: any);
6
6
 
7
- public static create(options?: (FormatterBuilder.Options|any)): any;
7
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
8
8
 
9
9
  }
10
10
 
@@ -3,8 +3,8 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace SimpleLinkFormatter {
4
4
 
5
5
  type Options = {
6
- label?: string,
7
- urlField?: string
6
+ label?: string|null,
7
+ urlField?: string|null
8
8
  };
9
9
 
10
10
  }
@@ -13,7 +13,7 @@ declare class SimpleLinkFormatter {
13
13
 
14
14
  constructor(options?: any);
15
15
 
16
- public static create(options?: (FormatterBuilder.Options|SimpleLinkFormatter.Options|any)): any;
16
+ public static create(options?: (FormatterBuilder.Options|SimpleLinkFormatter.Options|any)|null): any;
17
17
 
18
18
  }
19
19
 
@@ -5,8 +5,8 @@ import ElfUtil from "../../tr-grid-util/es6/ElfUtil.js";
5
5
  declare namespace SimpleTickerFormatter {
6
6
 
7
7
  type Options = {
8
- positiveColor?: string,
9
- negativeColor?: string
8
+ positiveColor?: string|null,
9
+ negativeColor?: string|null
10
10
  };
11
11
 
12
12
  }
@@ -15,7 +15,7 @@ declare class SimpleTickerFormatter {
15
15
 
16
16
  constructor(options?: any);
17
17
 
18
- public static create(options?: (FormatterBuilder.Options|SimpleTickerFormatter.Options|any)): any;
18
+ public static create(options?: (FormatterBuilder.Options|SimpleTickerFormatter.Options|any)|null): any;
19
19
 
20
20
  }
21
21
 
@@ -4,8 +4,8 @@ import ElfUtil from "../../tr-grid-util/es6/ElfUtil.js";
4
4
  declare namespace SimpleToggleFormatter {
5
5
 
6
6
  type Options = {
7
- element1?: (string|Element),
8
- element2?: (string|Element)
7
+ element1?: (string|Element)|null,
8
+ element2?: (string|Element)|null
9
9
  };
10
10
 
11
11
  }
@@ -14,7 +14,7 @@ declare class SimpleToggleFormatter {
14
14
 
15
15
  constructor(options?: any);
16
16
 
17
- public static create(options?: (FormatterBuilder.Options|SimpleToggleFormatter.Options|any)): any;
17
+ public static create(options?: (FormatterBuilder.Options|SimpleToggleFormatter.Options|any)|null): any;
18
18
 
19
19
  }
20
20
 
@@ -4,7 +4,7 @@ declare class TextFormatter {
4
4
 
5
5
  constructor(options?: any);
6
6
 
7
- public static create(options?: (FormatterBuilder.Options|any)): any;
7
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
8
8
 
9
9
  }
10
10
 
package/lib/versions.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "tr-grid-util": "1.3.109",
2
+ "tr-grid-util": "1.3.111",
3
3
  "@grid/column-dragging": "1.0.14",
4
4
  "@grid/row-segmenting": "1.0.24",
5
5
  "@grid/statistics-row": "1.0.14",
@@ -9,14 +9,14 @@
9
9
  "tr-grid-checkbox": "1.0.60",
10
10
  "tr-grid-column-fitter": "1.0.39",
11
11
  "tr-grid-column-formatting": "0.9.34",
12
- "tr-grid-column-grouping": "1.0.50",
12
+ "tr-grid-column-grouping": "1.0.52",
13
13
  "tr-grid-column-resizing": "1.0.28",
14
14
  "tr-grid-column-selection": "1.0.28",
15
- "tr-grid-column-stack": "1.0.63",
15
+ "tr-grid-column-stack": "1.0.67",
16
16
  "tr-grid-conditional-coloring": "1.0.61",
17
17
  "tr-grid-content-wrap": "1.0.20",
18
18
  "tr-grid-contextmenu": "1.0.39",
19
- "tr-grid-filter-input": "0.9.31",
19
+ "tr-grid-filter-input": "0.9.32",
20
20
  "tr-grid-heat-map": "1.0.29",
21
21
  "tr-grid-in-cell-editing": "1.0.78",
22
22
  "tr-grid-pagination": "1.0.24",
@@ -30,8 +30,8 @@
30
30
  "tr-grid-rowcoloring": "1.0.23",
31
31
  "tr-grid-textformatting": "1.0.45",
32
32
  "tr-grid-titlewrap": "1.0.19",
33
- "@grid/formatters": "1.0.49",
33
+ "@grid/formatters": "1.0.50",
34
34
  "@grid/column-selection-dialog": "4.0.48",
35
35
  "@grid/filter-dialog": "4.0.57",
36
- "@grid/column-format-dialog": "4.0.43"
36
+ "@grid/column-format-dialog": "4.0.44"
37
37
  }
package/package.json CHANGED
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "version": "6.0.41"
69
+ "version": "6.0.43"
70
70
  }