@adaptabletools/adaptable-cjs 20.2.9 → 20.2.10

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.2.9",
3
+ "version": "20.2.10",
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",
@@ -28,6 +28,10 @@ export interface AdaptableObject {
28
28
  * List of Tags associated with the Object; often used for (but not limited to) managing Layout object scope
29
29
  */
30
30
  Tags?: AdaptableObjectTag[];
31
+ /**
32
+ * Optional metadata associated with the object; can be used to store additional information or configuration
33
+ */
34
+ _Metadata?: any;
31
35
  }
32
36
  /**
33
37
  * AdaptableObjectTag Object Tag - currently supporting only plain string values, but open for future extensions, if needed
@@ -228,6 +228,9 @@ const tableLayoutToTableLayoutModel = (tableLayout) => {
228
228
  if (tableLayout.Uuid) {
229
229
  result.Ignore_Uuid = tableLayout.Uuid;
230
230
  }
231
+ if (tableLayout._Metadata) {
232
+ result.Ignore_Metadata = tableLayout._Metadata;
233
+ }
231
234
  if (tableLayout.RowSummaries != null) {
232
235
  result.Ignore_RowSummaries = tableLayout.RowSummaries;
233
236
  }
@@ -296,6 +299,9 @@ const pivotLayoutToPivotLayoutModel = (pivotLayout) => {
296
299
  if (pivotLayout.Uuid) {
297
300
  result.Ignore_Uuid = pivotLayout.Uuid;
298
301
  }
302
+ if (pivotLayout._Metadata) {
303
+ result.Ignore_Metadata = pivotLayout._Metadata;
304
+ }
299
305
  return result;
300
306
  };
301
307
  exports.pivotLayoutToPivotLayoutModel = pivotLayoutToPivotLayoutModel;
@@ -346,6 +352,9 @@ const tableLayoutModelToTableLayout = (layoutModel) => {
346
352
  if (layoutModel.Ignore_Uuid) {
347
353
  tableLayout.Uuid = layoutModel.Ignore_Uuid;
348
354
  }
355
+ if (layoutModel.Ignore_Metadata) {
356
+ tableLayout._Metadata = layoutModel.Ignore_Metadata;
357
+ }
349
358
  if (layoutModel.RowGroupDisplayType) {
350
359
  tableLayout.RowGroupDisplayType = layoutModel.RowGroupDisplayType;
351
360
  }
@@ -449,6 +458,9 @@ const pivotLayoutModelToPivotLayout = (layoutModel) => {
449
458
  if (layoutModel.Ignore_Uuid) {
450
459
  pivotLayout.Uuid = layoutModel.Ignore_Uuid;
451
460
  }
461
+ if (layoutModel.Ignore_Metadata) {
462
+ pivotLayout._Metadata = layoutModel.Ignore_Metadata;
463
+ }
452
464
  if (layoutModel.PivotGroupedColumns) {
453
465
  pivotLayout.PivotGroupedColumns = layoutModel.PivotGroupedColumns;
454
466
  }
@@ -173,5 +173,6 @@ export declare const getColumnFilterSelector: (state: AdaptableState, columnId:
173
173
  AdaptableVersion?: `${string}.${string}.${string}`;
174
174
  IsReadOnly?: boolean;
175
175
  Tags?: string[];
176
+ _Metadata?: any;
176
177
  };
177
178
  export declare const LayoutReducer: Redux.Reducer<LayoutState>;
@@ -35,4 +35,5 @@ export declare const getDefaultAlertDefinition: (alertDefinition: AlertDefinitio
35
35
  AdaptableVersion?: `${string}.${string}.${string}`;
36
36
  IsReadOnly?: boolean;
37
37
  Tags?: string[];
38
+ _Metadata?: any;
38
39
  };
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: 1752564904642 || Date.now(),
6
- VERSION: "20.2.9" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1752583947008 || Date.now(),
6
+ VERSION: "20.2.10" || '--current-version--',
7
7
  };
@@ -47,6 +47,7 @@ export interface BaseLayoutModel {
47
47
  Ignore_Source?: string;
48
48
  Ignore_AdaptableVersion?: string;
49
49
  Ignore_Uuid?: string;
50
+ Ignore_Metadata?: any;
50
51
  /**
51
52
  * The Layout Name
52
53
  */