@adaptabletools/adaptable 15.1.0 → 15.2.0-canary.1

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.1.0",
3
+ "version": "15.2.0-canary.1",
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",
@@ -56,6 +56,6 @@
56
56
  "uuid": "^3.3.2"
57
57
  },
58
58
  "peerDependencies": {
59
- "@ag-grid-community/core": ">=29.1.0"
59
+ "@ag-grid-community/core": ">=29.2.0"
60
60
  }
61
61
  }
@@ -1,2 +1,2 @@
1
- declare const _default: 1680601200247;
1
+ declare const _default: 1680766462195;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1680601200247;
3
+ exports.default = 1680766462195;
@@ -0,0 +1,3 @@
1
+ export interface Glue42WebPluginOptions {
2
+ showAdaptableAlertsAsNotifications?: boolean;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { Glue42WebPluginOptions } from '../AdaptableOptions/Glue42WebPluginOptions';
2
+ /**
3
+ * Provides run-time access to the Glue42Web Plugin
4
+ */
5
+ export interface Glue42WebApi {
6
+ /**
7
+ * Retrieves the Glue42WebPlugOptions provided in Glue42Web Plugin
8
+ */
9
+ getPluginOptions(): Glue42WebPluginOptions;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,5 +5,6 @@ import { StatusPanelDef } from '@ag-grid-community/core';
5
5
  export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
6
6
  getAdaptableStatusBars(): AdaptableStatusBar[];
7
7
  getAgGridStatusPanels(): StatusPanelDef[];
8
+ getAgGridStatusBar(): StatusPanelDef[];
8
9
  setStatusBarPanels(statusPanels: AdaptableStatusBar[]): void;
9
10
  }
@@ -10,6 +10,9 @@ class StatusBarApiImpl extends ApiBase_1.ApiBase {
10
10
  getAgGridStatusPanels() {
11
11
  return this.adaptable.getAgGridStatusPanels();
12
12
  }
13
+ getAgGridStatusBar() {
14
+ return this.adaptable.getAgGridStatusPanels();
15
+ }
13
16
  setStatusBarPanels(statusPanels) {
14
17
  this.dispatchAction((0, StatusBarRedux_1.StatusBarSetPanels)(statusPanels));
15
18
  }
@@ -165,7 +165,7 @@ exports.scalarExpressionFunctions = {
165
165
  return sanitizeNumericResult(Math.ceil(args[0]));
166
166
  },
167
167
  isHiddenFromMenu: true,
168
- description: 'Returns the smaller integer greater than or equal to the given number',
168
+ description: 'Returns smallest integer greater than or equal to the given number',
169
169
  signatures: ['CEILING(a: number)'],
170
170
  examples: ['CEILING([columnName])'],
171
171
  category: 'maths',
@@ -176,7 +176,7 @@ exports.scalarExpressionFunctions = {
176
176
  return sanitizeNumericResult(Math.floor(args[0]));
177
177
  },
178
178
  isHiddenFromMenu: true,
179
- description: 'Returns the largest integer less than or equal to the given number',
179
+ description: 'Returns largest integer less than or equal to the given number',
180
180
  signatures: ['FLOOR(a: number)'],
181
181
  examples: ['FLOOR([columnName])'],
182
182
  category: 'maths',
@@ -187,7 +187,7 @@ exports.scalarExpressionFunctions = {
187
187
  return sanitizeNumericResult(Math.round(args[0]));
188
188
  },
189
189
  isHiddenFromMenu: true,
190
- description: 'Returns the value of the given number rounded to the nearest integer',
190
+ description: 'Returns value of the given number rounded to the nearest integer',
191
191
  signatures: ['ROUND(a: number)'],
192
192
  examples: ['ROUND([columnName])'],
193
193
  category: 'maths',
@@ -2873,7 +2873,7 @@ class Adaptable {
2873
2873
  }));
2874
2874
  /**
2875
2875
  * Use Case: A visible Column has become row grouped and 'hideColumnWhenGrouped' is true
2876
- * Action: Make the column invisible
2876
+ * Action: Make the column invisiblel
2877
2877
  */
2878
2878
  this.gridOptions.api.addEventListener(core_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, (this.listenerColumnRowGroupChanged = (params) => {
2879
2879
  var _a, _b;
@@ -3249,18 +3249,6 @@ class Adaptable {
3249
3249
  const result = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getReadOnlyCellStyle(abColumn, params)), this.getEditableCellStyle(abColumn, params)), (typeof userCellStyle === 'function' ? userCellStyle(params) : userCellStyle)), (!styledColumn
3250
3250
  ? this.getFormatColumnCellStyle(abColumn, activeFormatColumnsWithStyle, params)
3251
3251
  : {})), (styledColumn ? this.getStyledColumnStyle(styledColumn, abColumn, params) : {})), (isQuickSearchActive ? quickSearchStyle : {})), this.getAlertCellStyle(abColumn, params)), this.getFlashingCellStyle(abColumn, params)), this.getCellHighlightStyle(abColumn, params));
3252
- // TODO AFL: remove once AG-7903 and AG-7917 are fixed
3253
- // this should happen with AG Grid v29.1.0
3254
- Object.keys(result).forEach((key) => {
3255
- // AG-7917
3256
- if (result[key] === null || result[key] === undefined) {
3257
- delete result[key];
3258
- }
3259
- // AG-7903
3260
- if (typeof result[key] === 'number') {
3261
- result[key] = String(result[key]);
3262
- }
3263
- });
3264
3252
  // see https://github.com/AdaptableTools/adaptable/issues/2119
3265
3253
  StyleHelper_1.AgGridCellStyleProperties.forEach((cellStylePropKey) => {
3266
3254
  if (result[cellStylePropKey] == null) {
@@ -55,7 +55,7 @@ class AdaptableLogger {
55
55
  const startTime = performanceTime();
56
56
  return {
57
57
  end: (additionalComment) => {
58
- this.perfLogger(`[END] - ${sectionName} ${additionalComment ? `(${additionalComment})` : ''} :: delta +${performanceTime(startTime)}ms`);
58
+ this.perfLogger(`[END] - ${sectionName} ${additionalComment ? `(${additionalComment})` : ''} :: [delta +${performanceTime(startTime)}ms]`);
59
59
  },
60
60
  };
61
61
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ICellEditorParams, ICellEditorComp } from '@ag-grid-community/core';
3
3
  import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
4
- export declare const ReactAdaptableDateEditor: React.ForwardRefExoticComponent<ICellEditorParams<any, any> & {
4
+ export declare const ReactAdaptableDateEditor: React.ForwardRefExoticComponent<ICellEditorParams<any, any, any> & {
5
5
  showClearButton?: boolean;
6
6
  } & React.RefAttributes<unknown>>;
7
7
  /**
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "15.1.0";
1
+ declare const _default: "15.2.0-canary.1";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '15.1.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '15.2.0-canary.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version