@refinitiv-ui/efx-grid 6.0.42 → 6.0.44

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 (78) 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 +7 -1
  6. package/lib/core/dist/core.min.js +1 -1
  7. package/lib/core/es6/grid/Core.js +1 -1
  8. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +6 -0
  9. package/lib/formatters/es6/CoralButtonFormatter.d.ts +2 -2
  10. package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +1 -1
  11. package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +4 -4
  12. package/lib/formatters/es6/CoralIconFormatter.d.ts +3 -3
  13. package/lib/formatters/es6/CoralInputFormatter.d.ts +1 -1
  14. package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +2 -2
  15. package/lib/formatters/es6/CoralSelectFormatter.d.ts +4 -4
  16. package/lib/formatters/es6/CoralToggleFormatter.d.ts +1 -1
  17. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
  18. package/lib/formatters/es6/EFButtonFormatter.d.ts +2 -2
  19. package/lib/formatters/es6/EFCheckboxFormatter.d.ts +1 -1
  20. package/lib/formatters/es6/EFComboBoxFormatter.d.ts +4 -4
  21. package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +1 -1
  22. package/lib/formatters/es6/EFIconFormatter.d.ts +3 -3
  23. package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +1 -1
  24. package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +2 -2
  25. package/lib/formatters/es6/EFSelectFormatter.d.ts +4 -4
  26. package/lib/formatters/es6/EFTextFieldFormatter.d.ts +1 -1
  27. package/lib/formatters/es6/EFToggleFormatter.d.ts +1 -1
  28. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
  29. package/lib/formatters/es6/FormatterBuilder.d.ts +6 -2
  30. package/lib/formatters/es6/FormatterBuilder.js +328 -178
  31. package/lib/formatters/es6/NumericInputFormatter.d.ts +1 -1
  32. package/lib/formatters/es6/PercentBarFormatter.d.ts +6 -6
  33. package/lib/formatters/es6/SimpleImageFormatter.d.ts +3 -3
  34. package/lib/formatters/es6/SimpleInputFormatter.d.ts +1 -1
  35. package/lib/formatters/es6/SimpleLinkFormatter.d.ts +3 -3
  36. package/lib/formatters/es6/SimpleTickerFormatter.d.ts +3 -3
  37. package/lib/formatters/es6/SimpleToggleFormatter.d.ts +3 -3
  38. package/lib/formatters/es6/TextFormatter.d.ts +1 -1
  39. package/lib/grid/index.js +1 -1
  40. package/lib/rt-grid/dist/rt-grid.js +1 -0
  41. package/lib/rt-grid/es6/Grid.d.ts +2 -1
  42. package/lib/rt-grid/es6/Grid.js +1 -0
  43. package/lib/tr-grid-column-stack/es6/ColumnStack.js +35 -25
  44. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +17 -17
  45. package/lib/tr-grid-filter-input/es6/FilterInput.js +146 -33
  46. package/lib/types/es6/CoralButtonFormatter.d.ts +2 -2
  47. package/lib/types/es6/CoralCheckboxFormatter.d.ts +1 -1
  48. package/lib/types/es6/CoralComboBoxFormatter.d.ts +4 -4
  49. package/lib/types/es6/CoralIconFormatter.d.ts +3 -3
  50. package/lib/types/es6/CoralInputFormatter.d.ts +1 -1
  51. package/lib/types/es6/CoralRadioButtonFormatter.d.ts +2 -2
  52. package/lib/types/es6/CoralSelectFormatter.d.ts +4 -4
  53. package/lib/types/es6/CoralToggleFormatter.d.ts +1 -1
  54. package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
  55. package/lib/types/es6/EFButtonFormatter.d.ts +2 -2
  56. package/lib/types/es6/EFCheckboxFormatter.d.ts +1 -1
  57. package/lib/types/es6/EFComboBoxFormatter.d.ts +4 -4
  58. package/lib/types/es6/EFDateTimePickerFormatter.d.ts +1 -1
  59. package/lib/types/es6/EFIconFormatter.d.ts +3 -3
  60. package/lib/types/es6/EFNumberFieldFormatter.d.ts +1 -1
  61. package/lib/types/es6/EFRadioButtonFormatter.d.ts +2 -2
  62. package/lib/types/es6/EFSelectFormatter.d.ts +4 -4
  63. package/lib/types/es6/EFTextFieldFormatter.d.ts +1 -1
  64. package/lib/types/es6/EFToggleFormatter.d.ts +1 -1
  65. package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
  66. package/lib/types/es6/FilterInput.d.ts +17 -17
  67. package/lib/types/es6/FormatterBuilder.d.ts +6 -2
  68. package/lib/types/es6/NumericInputFormatter.d.ts +1 -1
  69. package/lib/types/es6/PercentBarFormatter.d.ts +6 -6
  70. package/lib/types/es6/RealtimeGrid/Grid.d.ts +24 -1
  71. package/lib/types/es6/SimpleImageFormatter.d.ts +3 -3
  72. package/lib/types/es6/SimpleInputFormatter.d.ts +1 -1
  73. package/lib/types/es6/SimpleLinkFormatter.d.ts +3 -3
  74. package/lib/types/es6/SimpleTickerFormatter.d.ts +3 -3
  75. package/lib/types/es6/SimpleToggleFormatter.d.ts +3 -3
  76. package/lib/types/es6/TextFormatter.d.ts +1 -1
  77. package/lib/versions.json +4 -4
  78. package/package.json +1 -1
@@ -562,7 +562,7 @@ Core.prototype._batches = null;
562
562
  * @return {string}
563
563
  */
564
564
  Core.getVersion = function () {
565
- return "5.1.63";
565
+ return "5.1.64";
566
566
  };
567
567
  /** {@link ElementWrapper#dispose}
568
568
  * @override
@@ -1838,6 +1838,12 @@ SortableTitlePlugin.prototype._isCellSortable = function (section, colIndex, row
1838
1838
  if (targetCell !== bottomCell) {
1839
1839
  return false;
1840
1840
  }
1841
+ var parentCell = targetCell.getParent();
1842
+ var classList = parentCell["classList"];
1843
+ // "collapsed" class in column element only enable by column stack in spreading mode
1844
+ if (classList.contains("collapsed")) { // HACK: unsortable for collapsed stack in spreading mode
1845
+ return false;
1846
+ }
1841
1847
 
1842
1848
  return true; // By default all cells are sortable
1843
1849
  };
@@ -3,7 +3,7 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace CoralButtonFormatter {
4
4
 
5
5
  type Options = {
6
- label?: string
6
+ label?: string|null
7
7
  };
8
8
 
9
9
  }
@@ -12,7 +12,7 @@ declare class CoralButtonFormatter {
12
12
 
13
13
  constructor(options?: any);
14
14
 
15
- public static create(options?: (FormatterBuilder.Options|CoralButtonFormatter.Options|any)): any;
15
+ public static create(options?: (FormatterBuilder.Options|CoralButtonFormatter.Options|any)|null): any;
16
16
 
17
17
  }
18
18
 
@@ -4,7 +4,7 @@ declare class CoralCheckboxFormatter {
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,9 +4,9 @@ import ElfUtil from "../../tr-grid-util/es6/ElfUtil.js";
4
4
  declare namespace CoralComboBoxFormatter {
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 CoralComboBoxFormatter {
15
15
 
16
16
  constructor(options?: any);
17
17
 
18
- public static create(options?: (FormatterBuilder.Options|CoralComboBoxFormatter.Options|any)): any;
18
+ public static create(options?: (FormatterBuilder.Options|CoralComboBoxFormatter.Options|any)|null): any;
19
19
 
20
20
  }
21
21
 
@@ -3,8 +3,8 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace CoralIconFormatter {
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 CoralIconFormatter {
13
13
 
14
14
  constructor(options?: any);
15
15
 
16
- public static create(options?: (FormatterBuilder.Options|CoralIconFormatter.Options|any)): any;
16
+ public static create(options?: (FormatterBuilder.Options|CoralIconFormatter.Options|any)|null): any;
17
17
 
18
18
  }
19
19
 
@@ -4,7 +4,7 @@ declare class CoralInputFormatter {
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 CoralRadioButtonFormatter {
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 CoralRadioButtonFormatter {
12
12
 
13
13
  constructor(options?: any);
14
14
 
15
- public static create(options?: (FormatterBuilder.Options|CoralRadioButtonFormatter.Options|any)): any;
15
+ public static create(options?: (FormatterBuilder.Options|CoralRadioButtonFormatter.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 CoralSelectFormatter {
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 CoralSelectFormatter {
15
15
 
16
16
  constructor(options?: any);
17
17
 
18
- public static create(options?: (FormatterBuilder.Options|CoralSelectFormatter.Options|any)): any;
18
+ public static create(options?: (FormatterBuilder.Options|CoralSelectFormatter.Options|any)|null): any;
19
19
 
20
20
  }
21
21
 
@@ -4,7 +4,7 @@ declare class CoralToggleFormatter {
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
 
@@ -6,7 +6,7 @@ declare class DuplexEmeraldDateTimePickerFormatter {
6
6
 
7
7
  constructor(options?: any);
8
8
 
9
- public static create(options?: (FormatterBuilder.Options|any)): any;
9
+ public static create(options?: (FormatterBuilder.Options|any)|null): any;
10
10
 
11
11
  }
12
12
 
@@ -3,7 +3,7 @@ import FormatterBuilder from "./FormatterBuilder.js";
3
3
  declare namespace EFButtonFormatter {
4
4
 
5
5
  type Options = {
6
- label?: string
6
+ label?: string|null
7
7
  };
8
8
 
9
9
  }
@@ -12,7 +12,7 @@ declare class EFButtonFormatter {
12
12
 
13
13
  constructor(options?: any);
14
14
 
15
- public static create(options?: (FormatterBuilder.Options|EFButtonFormatter.Options|any)): any;
15
+ public static create(options?: (FormatterBuilder.Options|EFButtonFormatter.Options|any)|null): any;
16
16
 
17
17
  }
18
18
 
@@ -4,7 +4,7 @@ declare class EFCheckboxFormatter {
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,9 +4,9 @@ import CoralItems from "../../tr-grid-util/es6/CoralItems.js";
4
4
  declare namespace EFComboBoxFormatter {
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 EFComboBoxFormatter {
15
15
 
16
16
  constructor(options?: any);
17
17
 
18
- public static create(options?: (FormatterBuilder.Options|EFComboBoxFormatter.Options|any)): any;
18
+ public static create(options?: (FormatterBuilder.Options|EFComboBoxFormatter.Options|any)|null): any;
19
19
 
20
20
  }
21
21
 
@@ -5,7 +5,7 @@ declare class EFDateTimePickerFormatter {
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
 
@@ -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
 
@@ -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