@adaptabletools/adaptable 15.2.2 → 15.2.3-canary.0
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/bundle.cjs.js +156 -156
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +2 -3
- package/src/AdaptableOptions/PredicateOptions.d.ts +4 -4
- package/src/Api/Implementation/LayoutApiImpl.js +2 -2
- package/src/PredefinedConfig/DashboardState.d.ts +8 -8
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.3-canary.0",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1683807207018;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -103,12 +103,11 @@ export interface AlertMessageContext<TData = any> {
|
|
|
103
103
|
*/
|
|
104
104
|
alertDefinition: AlertDefinition;
|
|
105
105
|
/**
|
|
106
|
-
* Data change that might have triggered the Alert
|
|
106
|
+
* Cell Data change that might have triggered the Alert
|
|
107
107
|
*/
|
|
108
108
|
cellDataChangedInfo?: CellDataChangedInfo<TData>;
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
111
|
-
* e.g. Row Added, Row Removed
|
|
110
|
+
* Grid Data change that might have triggered the Alert (i.e. RowAdded / RowRemoved)
|
|
112
111
|
*/
|
|
113
112
|
gridDataChangedInfo?: GridDataChangedInfo<TData>;
|
|
114
113
|
}
|
|
@@ -4,19 +4,19 @@ import { AdaptablePredicateDef, AdaptableScope, BaseContext, PredicateModuleScop
|
|
|
4
4
|
*/
|
|
5
5
|
export interface PredicateOptions {
|
|
6
6
|
/**
|
|
7
|
-
* Which System Filter Predicates are available
|
|
7
|
+
* Which System Filter Predicates are available
|
|
8
8
|
*/
|
|
9
9
|
systemFilterPredicates?: SystemFilterPredicateIds | ((context: SystemPredicatesContext) => SystemFilterPredicateIds);
|
|
10
10
|
/**
|
|
11
|
-
* Which System Alert Predicates are available
|
|
11
|
+
* Which System Alert Predicates are available
|
|
12
12
|
*/
|
|
13
13
|
systemAlertPredicates?: SystemAlertPredicateIds | ((context: SystemPredicatesContext) => SystemAlertPredicateIds);
|
|
14
14
|
/**
|
|
15
|
-
* Which System Format Column Predicates are available
|
|
15
|
+
* Which System Format Column Predicates are available
|
|
16
16
|
*/
|
|
17
17
|
systemFormatColumnPredicates?: SystemFormatColumnPredicateIds | ((context: SystemPredicatesContext) => SystemFormatColumnPredicateIds);
|
|
18
18
|
/**
|
|
19
|
-
* Which System Flashing Cell Predicates are available
|
|
19
|
+
* Which System Flashing Cell Predicates are available
|
|
20
20
|
*/
|
|
21
21
|
systemFlashingCellPredicates?: SystemFlashingCellPredicateIds | ((context: SystemPredicatesContext) => SystemFlashingCellPredicateIds);
|
|
22
22
|
}
|
|
@@ -19,7 +19,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
19
19
|
super(adaptable);
|
|
20
20
|
this.shouldAutoSaveLayout = (layout) => {
|
|
21
21
|
var _a;
|
|
22
|
-
let autoSave = (_a = this.
|
|
22
|
+
let autoSave = (_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
|
|
23
23
|
if (layout && layout.AutoSave != null) {
|
|
24
24
|
autoSave = layout.AutoSave;
|
|
25
25
|
}
|
|
@@ -92,7 +92,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
92
92
|
saveCurrentLayout() {
|
|
93
93
|
var _a;
|
|
94
94
|
let currentLayout = this.getCurrentLayout();
|
|
95
|
-
if (!((_a = this.
|
|
95
|
+
if (!((_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts)) {
|
|
96
96
|
currentLayout = this.getAdaptableState().Grid.CurrentLayout || currentLayout;
|
|
97
97
|
}
|
|
98
98
|
if (currentLayout) {
|
|
@@ -11,40 +11,40 @@ export interface DashboardState extends ConfigState {
|
|
|
11
11
|
*/
|
|
12
12
|
Tabs?: DashboardTab[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Index of Active Tab (in Tabs collection)
|
|
15
15
|
*/
|
|
16
16
|
ActiveTabIndex?: number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Is Dashboard collapsed; if true, header is visible (but not Tabs' contents)
|
|
19
19
|
* @defaultValue false
|
|
20
20
|
*/
|
|
21
21
|
IsCollapsed?: boolean;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Is Dashboard floating; if true, appears in draggable, minmised form (double-click to revert to default position)
|
|
24
24
|
* @defaultValue false
|
|
25
25
|
*/
|
|
26
26
|
IsFloating?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Alternative way of
|
|
28
|
+
* Alternative way of rendering Dashboard, with headers section to left of Toolbars
|
|
29
29
|
* @defaultValue false
|
|
30
30
|
*/
|
|
31
31
|
IsInline?: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* Whether Dashboard is completely hidden - can be made visible again in Column
|
|
33
|
+
* Whether Dashboard is completely hidden - can be made visible again in Column Menu and Tool Panel
|
|
34
34
|
* @defaultValue false
|
|
35
35
|
*/
|
|
36
36
|
IsHidden?: boolean;
|
|
37
37
|
/**
|
|
38
|
-
* Position of Dashboard when in
|
|
38
|
+
* Position of Dashboard when in Floating mode
|
|
39
39
|
*/
|
|
40
40
|
FloatingPosition?: AdaptableCoordinate;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Buttons which open the Settings Panel screen for associated AdapTable Module
|
|
43
43
|
* @defaultValue ['SettingsPanel']
|
|
44
44
|
*/
|
|
45
45
|
ModuleButtons?: AdaptableModuleButtons;
|
|
46
46
|
/**
|
|
47
|
-
* Title
|
|
47
|
+
* Title displayed in Dashboard Header
|
|
48
48
|
* @defaultValue `adaptableId` in Adaptable Options
|
|
49
49
|
*/
|
|
50
50
|
DashboardTitle?: string;
|