@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "15.2.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",
@@ -1,2 +1,2 @@
1
- declare const _default: 1682423805441;
1
+ declare const _default: 1683807207018;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1682423805441;
3
+ exports.default = 1683807207018;
@@ -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
- * When alert is triggered by a Grid Data Change
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 - List or Function
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 - List or Function
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 - List or Function
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 - List or Function
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.adaptable.adaptableOptions.layoutOptions) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
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.adaptable.adaptableOptions.layoutOptions) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts)) {
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
- * The index of the Active Tab (in Tabs collection)
14
+ * Index of Active Tab (in Tabs collection)
15
15
  */
16
16
  ActiveTabIndex?: number;
17
17
  /**
18
- * Whether Dashboard is collapsed; if true, header is visible (but not tabs' contents)
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
- * Whether Dashboard is floating; if true, appears in draggable, minmised form (double-click to revert to default position)
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 showing Expanded Dashboard where headers section is to left of Toolbars
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 menu and toolpanel
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 'floating mode'
38
+ * Position of Dashboard when in Floating mode
39
39
  */
40
40
  FloatingPosition?: AdaptableCoordinate;
41
41
  /**
42
- * Module Buttons which open screen in Settings Panel for associated AdapTable Module
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 to display in Dashboard Header
47
+ * Title displayed in Dashboard Header
48
48
  * @defaultValue `adaptableId` in Adaptable Options
49
49
  */
50
50
  DashboardTitle?: string;