@adaptabletools/adaptable 15.2.0-canary.3 → 15.2.0-canary.4

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.0-canary.3",
3
+ "version": "15.2.0-canary.4",
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: 1680872029172;
1
+ declare const _default: 1680875814346;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1680872029172;
3
+ exports.default = 1680875814346;
@@ -137,6 +137,11 @@ export interface ColumnApi {
137
137
  * @param columnId ColumnId to check
138
138
  */
139
139
  isAutoPivotColumn(columnId: string): boolean;
140
+ /**
141
+ * Checks if Column with given ColumnId is a Calculated Column or a Free Text Column or an Action Column
142
+ * @param columnId ColumnId to check
143
+ */
144
+ isSpecialColumn(columnId: string): boolean;
140
145
  /**
141
146
  * Checks if Column with given ColumnId is a Calculated Column
142
147
  * @param columnId ColumnId to check
@@ -92,4 +92,5 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
92
92
  isActionRowButtonColumn(columnId: string): boolean;
93
93
  getDefaultAggFunc(columnId: string): string;
94
94
  getTypesForColumn(columnId: string): string | string[] | undefined;
95
+ isSpecialColumn(columnId: string): boolean;
95
96
  }
@@ -443,5 +443,10 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
443
443
  const agGridColumn = this.getAgGridColumnForAdaptableColumn(columnId);
444
444
  return (_a = agGridColumn === null || agGridColumn === void 0 ? void 0 : agGridColumn.getColDef()) === null || _a === void 0 ? void 0 : _a.type;
445
445
  }
446
+ isSpecialColumn(columnId) {
447
+ return (this.isCalculatedColumn(columnId) ||
448
+ this.isFreeTextColumn(columnId) ||
449
+ this.isActionColumn(columnId));
450
+ }
446
451
  }
447
452
  exports.ColumnApiImpl = ColumnApiImpl;
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "15.2.0-canary.3";
1
+ declare const _default: "15.2.0-canary.4";
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.2.0-canary.3'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '15.2.0-canary.4'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version