@adaptabletools/adaptable-cjs 20.1.9 → 20.1.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/AdaptableOptions/FilterOptions.d.ts +4 -0
- package/src/AdaptableState/Selection/GridCell.d.ts +1 -0
- package/src/View/Components/NewScopeComponent.js +4 -4
- package/src/agGrid/AdaptableAgGrid.js +11 -0
- package/src/env.js +2 -2
- 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.1.
|
|
3
|
+
"version": "20.1.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",
|
|
@@ -186,6 +186,10 @@ export interface InFilterValueInfo {
|
|
|
186
186
|
* How many times the item appears in the column
|
|
187
187
|
*/
|
|
188
188
|
count?: number;
|
|
189
|
+
/**
|
|
190
|
+
* How many times the item appears in the column in filtered rows
|
|
191
|
+
*/
|
|
192
|
+
visibleCount?: number;
|
|
189
193
|
/**
|
|
190
194
|
* Whether the item is currently visible in the Grid (i.e. in filtered rows)
|
|
191
195
|
*/
|
|
@@ -29,19 +29,19 @@ const isScopeValid = ({ Scope }) => {
|
|
|
29
29
|
};
|
|
30
30
|
exports.isScopeValid = isScopeValid;
|
|
31
31
|
const DATA_TYPES_MAP = {
|
|
32
|
-
|
|
32
|
+
date: {
|
|
33
33
|
label: 'Date',
|
|
34
34
|
value: 'date',
|
|
35
35
|
},
|
|
36
|
-
|
|
36
|
+
number: {
|
|
37
37
|
label: 'Number',
|
|
38
38
|
value: 'number',
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
text: {
|
|
41
41
|
label: 'Text',
|
|
42
42
|
value: 'text',
|
|
43
43
|
},
|
|
44
|
-
|
|
44
|
+
boolean: {
|
|
45
45
|
label: 'Boolean',
|
|
46
46
|
value: 'boolean',
|
|
47
47
|
},
|
|
@@ -2194,6 +2194,9 @@ You need to define at least one Layout!`);
|
|
|
2194
2194
|
get visible() {
|
|
2195
2195
|
return gridCell.visible;
|
|
2196
2196
|
},
|
|
2197
|
+
get visibleCount() {
|
|
2198
|
+
return gridCell.visibleCount;
|
|
2199
|
+
},
|
|
2197
2200
|
};
|
|
2198
2201
|
});
|
|
2199
2202
|
return result;
|
|
@@ -2208,6 +2211,9 @@ You need to define at least one Layout!`);
|
|
|
2208
2211
|
get visible() {
|
|
2209
2212
|
return gridCell.visible;
|
|
2210
2213
|
},
|
|
2214
|
+
get visibleCount() {
|
|
2215
|
+
return gridCell.visibleCount;
|
|
2216
|
+
},
|
|
2211
2217
|
};
|
|
2212
2218
|
});
|
|
2213
2219
|
return result;
|
|
@@ -2356,6 +2362,11 @@ You need to define at least one Layout!`);
|
|
|
2356
2362
|
return (rowNodesWithSameCellValue.findIndex((pk) => self.isRowNodeAvailableAfterFiltering(pk) === true) !== -1);
|
|
2357
2363
|
},
|
|
2358
2364
|
});
|
|
2365
|
+
Object.defineProperty(cellWithCount, 'visibleCount', {
|
|
2366
|
+
get: () => {
|
|
2367
|
+
return rowNodesWithSameCellValue.filter((pk) => self.isRowNodeAvailableAfterFiltering(pk) === true).length;
|
|
2368
|
+
},
|
|
2369
|
+
});
|
|
2359
2370
|
result.push(cellWithCount);
|
|
2360
2371
|
});
|
|
2361
2372
|
return result;
|
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.1.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1749491106698 || Date.now(),
|
|
6
|
+
VERSION: "20.1.10" || '--current-version--',
|
|
7
7
|
};
|