@adaptabletools/adaptable-cjs 20.2.9 → 20.2.11
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 +3 -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/src/metamodel/adaptable.metamodel.js +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.11",
|
|
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,8 @@ export declare const getColumnFilterSelector: (state: AdaptableState, columnId:
|
|
|
173
173
|
AdaptableVersion?: `${string}.${string}.${string}`;
|
|
174
174
|
IsReadOnly?: boolean;
|
|
175
175
|
Tags?: string[];
|
|
176
|
+
Metadata?: any; /**
|
|
177
|
+
* @ReduxAction A Column Filter has been edited
|
|
178
|
+
*/
|
|
176
179
|
};
|
|
177
180
|
export declare const LayoutReducer: Redux.Reducer<LayoutState>;
|
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:
|
|
6
|
-
VERSION: "20.2.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1752606721536 || Date.now(),
|
|
6
|
+
VERSION: "20.2.11" || '--current-version--',
|
|
7
7
|
};
|