@adaptabletools/adaptable 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 +1 -1
- package/src/AdaptableState/Common/AdaptableObject.d.ts +4 -0
- package/src/Api/Implementation/LayoutHelpers.js +12 -0
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -0
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -0
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -0
- package/tsconfig.esm.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "20.2.
|
|
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
|
|
@@ -214,6 +214,9 @@ export const tableLayoutToTableLayoutModel = (tableLayout) => {
|
|
|
214
214
|
if (tableLayout.Uuid) {
|
|
215
215
|
result.Ignore_Uuid = tableLayout.Uuid;
|
|
216
216
|
}
|
|
217
|
+
if (tableLayout._Metadata) {
|
|
218
|
+
result.Ignore_Metadata = tableLayout._Metadata;
|
|
219
|
+
}
|
|
217
220
|
if (tableLayout.RowSummaries != null) {
|
|
218
221
|
result.Ignore_RowSummaries = tableLayout.RowSummaries;
|
|
219
222
|
}
|
|
@@ -281,6 +284,9 @@ export const pivotLayoutToPivotLayoutModel = (pivotLayout) => {
|
|
|
281
284
|
if (pivotLayout.Uuid) {
|
|
282
285
|
result.Ignore_Uuid = pivotLayout.Uuid;
|
|
283
286
|
}
|
|
287
|
+
if (pivotLayout._Metadata) {
|
|
288
|
+
result.Ignore_Metadata = pivotLayout._Metadata;
|
|
289
|
+
}
|
|
284
290
|
return result;
|
|
285
291
|
};
|
|
286
292
|
function toAggFunc(aggFunc) {
|
|
@@ -330,6 +336,9 @@ export const tableLayoutModelToTableLayout = (layoutModel) => {
|
|
|
330
336
|
if (layoutModel.Ignore_Uuid) {
|
|
331
337
|
tableLayout.Uuid = layoutModel.Ignore_Uuid;
|
|
332
338
|
}
|
|
339
|
+
if (layoutModel.Ignore_Metadata) {
|
|
340
|
+
tableLayout._Metadata = layoutModel.Ignore_Metadata;
|
|
341
|
+
}
|
|
333
342
|
if (layoutModel.RowGroupDisplayType) {
|
|
334
343
|
tableLayout.RowGroupDisplayType = layoutModel.RowGroupDisplayType;
|
|
335
344
|
}
|
|
@@ -432,6 +441,9 @@ export const pivotLayoutModelToPivotLayout = (layoutModel) => {
|
|
|
432
441
|
if (layoutModel.Ignore_Uuid) {
|
|
433
442
|
pivotLayout.Uuid = layoutModel.Ignore_Uuid;
|
|
434
443
|
}
|
|
444
|
+
if (layoutModel.Ignore_Metadata) {
|
|
445
|
+
pivotLayout._Metadata = layoutModel.Ignore_Metadata;
|
|
446
|
+
}
|
|
435
447
|
if (layoutModel.PivotGroupedColumns) {
|
|
436
448
|
pivotLayout.PivotGroupedColumns = layoutModel.PivotGroupedColumns;
|
|
437
449
|
}
|
|
@@ -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>;
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
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" || '',
|
|
3
|
-
PUBLISH_TIMESTAMP:
|
|
4
|
-
VERSION: "20.2.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1752583918502 || Date.now(),
|
|
4
|
+
VERSION: "20.2.10" || '--current-version--',
|
|
5
5
|
};
|