@adaptabletools/adaptable-cjs 20.2.5 → 20.2.7
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/AdaptableOptions/AdaptableOptions.d.ts +4 -4
- package/src/AdaptableOptions/DataSetOptions.d.ts +1 -1
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +4 -0
- package/src/AdaptableState/ExportState.d.ts +2 -2
- package/src/AdaptableState/FormatColumnState.d.ts +3 -3
- package/src/Api/AdaptableApi.d.ts +42 -42
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +2 -2
- package/src/Api/GridFilterApi.d.ts +10 -1
- package/src/Api/Implementation/ColumnApiImpl.js +1 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +3 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +10 -0
- package/src/Api/Implementation/LayoutHelpers.js +4 -4
- package/src/Api/Implementation/StateApiImpl.d.ts +1 -0
- package/src/Api/Implementation/StateApiImpl.js +7 -4
- package/src/Api/OptionsApi.d.ts +1 -7
- package/src/Api/StateApi.d.ts +7 -0
- package/src/Strategy/TeamSharingModule.js +2 -2
- package/src/View/Components/ReorderDraggable/index.js +2 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +4 -2
- package/src/View/Layout/Wizard/sections/PivotRowGroupingSection.js +1 -1
- package/src/View/QuickSearch/QuickSearchInput.d.ts +1 -0
- package/src/View/QuickSearch/QuickSearchInput.js +1 -1
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -9
- package/src/View/StateManagement/components/ExportDropdown.js +1 -1
- package/src/agGrid/AdaptableAgGrid.js +1 -0
- package/src/agGrid/AgGridAdapter.js +3 -2
- package/src/agGrid/AgGridColumnAdapter.js +4 -3
- package/src/agGrid/AgGridExportAdapter.js +1 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +4 -4
- package/src/layout-manager/src/index.js +5 -3
- package/src/layout-manager/src/isLayoutEqual.js +0 -1
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
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: 1751978327606 || Date.now(),
|
|
6
|
+
VERSION: "20.2.7" || '--current-version--',
|
|
7
7
|
};
|
|
@@ -40,10 +40,6 @@ export interface BaseLayoutModel {
|
|
|
40
40
|
* Same as RowSummaries, but for Pivot Layout
|
|
41
41
|
*/
|
|
42
42
|
Ignore_RowSummaries?: any;
|
|
43
|
-
/**
|
|
44
|
-
* Same as above, but
|
|
45
|
-
*/
|
|
46
|
-
Ignore_Name?: string;
|
|
47
43
|
/**
|
|
48
44
|
* Same as above, but for Column Headers
|
|
49
45
|
*/
|
|
@@ -51,6 +47,10 @@ export interface BaseLayoutModel {
|
|
|
51
47
|
Ignore_Source?: string;
|
|
52
48
|
Ignore_AdaptableVersion?: string;
|
|
53
49
|
Ignore_Uuid?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The Layout Name
|
|
52
|
+
*/
|
|
53
|
+
Name?: string;
|
|
54
54
|
ColumnVisibility?: {
|
|
55
55
|
[columnId: string]: false;
|
|
56
56
|
};
|
|
@@ -279,7 +279,7 @@ class LayoutManager extends LMEmitter_1.LMEmitter {
|
|
|
279
279
|
}
|
|
280
280
|
delete layout.TableColumns;
|
|
281
281
|
const pivotLayout = {
|
|
282
|
-
|
|
282
|
+
Name: layout.Name,
|
|
283
283
|
Ignore_GridFilter: layout.Ignore_GridFilter,
|
|
284
284
|
Ignore_ColumnFilters: layout.Ignore_ColumnFilters,
|
|
285
285
|
Ignore_ColumnHeaders: layout.Ignore_ColumnHeaders,
|
|
@@ -598,7 +598,7 @@ class LayoutManager extends LMEmitter_1.LMEmitter {
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
const layout = (0, simplifyLayoutModel_1.simplifyTableLayoutModel)({
|
|
601
|
-
|
|
601
|
+
Name: this.currentLayout?.Name || 'Default',
|
|
602
602
|
Ignore_GridFilter: this.currentLayout?.Ignore_GridFilter,
|
|
603
603
|
Ignore_ColumnFilters: this.currentLayout?.Ignore_ColumnFilters,
|
|
604
604
|
Ignore_ColumnHeaders: this.currentLayout?.Ignore_ColumnHeaders,
|
|
@@ -1019,7 +1019,9 @@ class LayoutManager extends LMEmitter_1.LMEmitter {
|
|
|
1019
1019
|
acc[colId] = index;
|
|
1020
1020
|
return acc;
|
|
1021
1021
|
}, {});
|
|
1022
|
-
|
|
1022
|
+
// having this set to true will change pivot column order when there is sorting
|
|
1023
|
+
// and we don't want that to happen #keep-sorted-columns-in-same-order-as-unsorted
|
|
1024
|
+
// columnState.applyOrder = true;
|
|
1023
1025
|
const columnIds = getColumnOrderIdsForAllColDefs([
|
|
1024
1026
|
...layout.PivotColumns,
|
|
1025
1027
|
...(layout.PivotAggregationColumns || []).map((col) => col.ColumnId),
|
|
@@ -56,7 +56,6 @@ exports.isTableLayoutEqual = isTableLayoutEqual;
|
|
|
56
56
|
function clearIgnoredProperties(layout) {
|
|
57
57
|
delete layout.Ignore_GridFilter;
|
|
58
58
|
delete layout.Ignore_ColumnFilters;
|
|
59
|
-
delete layout.Ignore_Name;
|
|
60
59
|
delete layout.Ignore_ColumnHeaders;
|
|
61
60
|
delete layout.Ignore_AutoSizeColumns;
|
|
62
61
|
delete layout.Ignore_RowSummaries;
|