@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.
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -0
- package/lib/column-format-dialog/lib/column-format-dialog.js +3 -24
- package/lib/column-format-dialog/lib/preview-table.d.ts +1 -1
- package/lib/column-format-dialog/lib/preview-table.js +15 -27
- package/lib/core/dist/core.js +7 -1
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.js +1 -1
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +6 -0
- package/lib/formatters/es6/CoralButtonFormatter.d.ts +2 -2
- package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +1 -1
- package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +4 -4
- package/lib/formatters/es6/CoralIconFormatter.d.ts +3 -3
- package/lib/formatters/es6/CoralInputFormatter.d.ts +1 -1
- package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +2 -2
- package/lib/formatters/es6/CoralSelectFormatter.d.ts +4 -4
- package/lib/formatters/es6/CoralToggleFormatter.d.ts +1 -1
- package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
- package/lib/formatters/es6/EFButtonFormatter.d.ts +2 -2
- package/lib/formatters/es6/EFCheckboxFormatter.d.ts +1 -1
- package/lib/formatters/es6/EFComboBoxFormatter.d.ts +4 -4
- package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +1 -1
- package/lib/formatters/es6/EFIconFormatter.d.ts +3 -3
- package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +1 -1
- package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +2 -2
- package/lib/formatters/es6/EFSelectFormatter.d.ts +4 -4
- package/lib/formatters/es6/EFTextFieldFormatter.d.ts +1 -1
- package/lib/formatters/es6/EFToggleFormatter.d.ts +1 -1
- package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
- package/lib/formatters/es6/FormatterBuilder.d.ts +6 -2
- package/lib/formatters/es6/FormatterBuilder.js +328 -178
- package/lib/formatters/es6/NumericInputFormatter.d.ts +1 -1
- package/lib/formatters/es6/PercentBarFormatter.d.ts +6 -6
- package/lib/formatters/es6/SimpleImageFormatter.d.ts +3 -3
- package/lib/formatters/es6/SimpleInputFormatter.d.ts +1 -1
- package/lib/formatters/es6/SimpleLinkFormatter.d.ts +3 -3
- package/lib/formatters/es6/SimpleTickerFormatter.d.ts +3 -3
- package/lib/formatters/es6/SimpleToggleFormatter.d.ts +3 -3
- package/lib/formatters/es6/TextFormatter.d.ts +1 -1
- package/lib/grid/index.js +1 -1
- package/lib/rt-grid/dist/rt-grid.js +1 -0
- package/lib/rt-grid/es6/Grid.d.ts +2 -1
- package/lib/rt-grid/es6/Grid.js +1 -0
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +35 -25
- package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +17 -17
- package/lib/tr-grid-filter-input/es6/FilterInput.js +146 -33
- package/lib/types/es6/CoralButtonFormatter.d.ts +2 -2
- package/lib/types/es6/CoralCheckboxFormatter.d.ts +1 -1
- package/lib/types/es6/CoralComboBoxFormatter.d.ts +4 -4
- package/lib/types/es6/CoralIconFormatter.d.ts +3 -3
- package/lib/types/es6/CoralInputFormatter.d.ts +1 -1
- package/lib/types/es6/CoralRadioButtonFormatter.d.ts +2 -2
- package/lib/types/es6/CoralSelectFormatter.d.ts +4 -4
- package/lib/types/es6/CoralToggleFormatter.d.ts +1 -1
- package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +1 -1
- package/lib/types/es6/EFButtonFormatter.d.ts +2 -2
- package/lib/types/es6/EFCheckboxFormatter.d.ts +1 -1
- package/lib/types/es6/EFComboBoxFormatter.d.ts +4 -4
- package/lib/types/es6/EFDateTimePickerFormatter.d.ts +1 -1
- package/lib/types/es6/EFIconFormatter.d.ts +3 -3
- package/lib/types/es6/EFNumberFieldFormatter.d.ts +1 -1
- package/lib/types/es6/EFRadioButtonFormatter.d.ts +2 -2
- package/lib/types/es6/EFSelectFormatter.d.ts +4 -4
- package/lib/types/es6/EFTextFieldFormatter.d.ts +1 -1
- package/lib/types/es6/EFToggleFormatter.d.ts +1 -1
- package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +1 -1
- package/lib/types/es6/FilterInput.d.ts +17 -17
- package/lib/types/es6/FormatterBuilder.d.ts +6 -2
- package/lib/types/es6/NumericInputFormatter.d.ts +1 -1
- package/lib/types/es6/PercentBarFormatter.d.ts +6 -6
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +24 -1
- package/lib/types/es6/SimpleImageFormatter.d.ts +3 -3
- package/lib/types/es6/SimpleInputFormatter.d.ts +1 -1
- package/lib/types/es6/SimpleLinkFormatter.d.ts +3 -3
- package/lib/types/es6/SimpleTickerFormatter.d.ts +3 -3
- package/lib/types/es6/SimpleToggleFormatter.d.ts +3 -3
- package/lib/types/es6/TextFormatter.d.ts +1 -1
- package/lib/versions.json +4 -4
- package/package.json +1 -1
|
@@ -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,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
|
|
|
@@ -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
|
|
|
@@ -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,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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|