@adaptabletools/adaptable-cjs 22.0.1-canary.3 → 22.0.1
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": "22.0.1
|
|
3
|
+
"version": "22.0.1",
|
|
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",
|
|
@@ -54,7 +54,7 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
54
54
|
Predicates: [
|
|
55
55
|
{
|
|
56
56
|
PredicateId: this.getPredicateApi().internalApi.getEqualityPredicateForDataType(column.dataType),
|
|
57
|
-
Inputs: [...new Set([gridCell.
|
|
57
|
+
Inputs: [...new Set([gridCell.normalisedValue])],
|
|
58
58
|
},
|
|
59
59
|
],
|
|
60
60
|
};
|
|
@@ -2213,10 +2213,16 @@ class AdaptableAgGrid {
|
|
|
2213
2213
|
return typeof rawValue !== 'string' ? String(rawValue) : rawValue;
|
|
2214
2214
|
}
|
|
2215
2215
|
if (dataType === 'number') {
|
|
2216
|
+
if (typeof rawValue === 'number') {
|
|
2217
|
+
return rawValue;
|
|
2218
|
+
}
|
|
2216
2219
|
// empty string or space should not be converted to 0
|
|
2217
|
-
|
|
2218
|
-
? Number(rawValue)
|
|
2219
|
-
|
|
2220
|
+
if (typeof rawValue === 'string') {
|
|
2221
|
+
return StringExtensions_1.default.IsNumeric(rawValue) ? Number(rawValue) : rawValue;
|
|
2222
|
+
}
|
|
2223
|
+
// handle objects with toString() (e.g. from valueGetters)
|
|
2224
|
+
const numValue = Number(rawValue);
|
|
2225
|
+
return isNaN(numValue) ? rawValue : numValue;
|
|
2220
2226
|
}
|
|
2221
2227
|
if (dataType === 'boolean') {
|
|
2222
2228
|
return typeof rawValue !== 'boolean' ? Boolean(rawValue) : rawValue;
|
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: "22.0.1
|
|
5
|
+
PUBLISH_TIMESTAMP: 1772196204253 || Date.now(),
|
|
6
|
+
VERSION: "22.0.1" || '--current-version--',
|
|
7
7
|
};
|