@adaptabletools/adaptable-cjs 20.1.8 → 20.1.9

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-cjs",
3
- "version": "20.1.8",
3
+ "version": "20.1.9",
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",
@@ -200,14 +200,16 @@ const ColumnsSection = (props) => {
200
200
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
201
201
  const { data: layout } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
202
202
  const [searchInputValue, setSearchInputValue] = React.useState('');
203
- // we don't want to rely on all the columns from the Grid itself
204
- // since the "Row Groups" section of the editor can determine a change
205
- // which is not reflected into AG Grid until we hit finish
206
- //
207
- // so we only rely on non-generated columns, which are the same
208
- const allColumns = adaptable.api.columnApi.getUIAvailableColumns().filter((col) => {
203
+ const allColumns = adaptable.api.columnApi
204
+ .getUIAvailableColumns()
205
+ .filter((col) => {
206
+ // since the "Row Groups" section of the editor can determine a change
207
+ // which is not reflected into AG Grid until we hit finish
208
+ // so we only rely on non-generated columns, which are the same
209
209
  return !col.isGeneratedRowGroupColumn;
210
- });
210
+ })
211
+ // if the current Layout is a PivotLayout, then we also filter out current Pivot Result Columns
212
+ .filter((col) => !col.isGeneratedPivotResultColumn);
211
213
  // however, changes in RowGroupedColumns done in the previous step
212
214
  // are reflected into the layout, so we use the latest layout.RowGroupedColumns
213
215
  // to create new columns
package/src/env.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
5
- PUBLISH_TIMESTAMP: 1748626762263 || Date.now(),
6
- VERSION: "20.1.8" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1749212744534 || Date.now(),
6
+ VERSION: "20.1.9" || '--current-version--',
7
7
  };