@adaptabletools/adaptable 21.0.10 → 21.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "21.0.10",
3
+ "version": "21.0.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",
@@ -32,11 +32,13 @@ export const SystemPredicateDefs = [
32
32
  if (!predicateInput) {
33
33
  return;
34
34
  }
35
- if (adaptableApi.columnScopeApi.isScopeInScope(predicateInput.columnScope,
36
- // 'In' ColumnScope
37
- {
38
- DataTypes: ['text', 'number', 'date', 'textArray', 'numberArray'],
39
- })) {
35
+ // make sure that the input Predicate is included in the 'In' Predicate
36
+ if (adaptableApi.columnScopeApi.scopeIsAll(predicateInput.columnScope) ||
37
+ adaptableApi.columnScopeApi.isScopeInScope(predicateInput.columnScope,
38
+ // 'In' ColumnScope
39
+ {
40
+ DataTypes: ['text', 'number', 'date', 'textArray', 'numberArray'],
41
+ })) {
40
42
  return predicateInput;
41
43
  }
42
44
  })
@@ -113,11 +115,13 @@ export const SystemPredicateDefs = [
113
115
  if (!predicateInput) {
114
116
  return;
115
117
  }
116
- if (adaptableApi.columnScopeApi.isScopeInScope(predicateInput.columnScope,
117
- // 'NotIn' ColumnScope
118
- {
119
- DataTypes: ['text', 'number', 'date', 'textArray', 'numberArray'],
120
- })) {
118
+ // make sure that the input Predicate is included in the 'NotIn' Predicate
119
+ if (adaptableApi.columnScopeApi.scopeIsAll(predicateInput.columnScope) ||
120
+ adaptableApi.columnScopeApi.isScopeInScope(predicateInput.columnScope,
121
+ // 'NotIn' ColumnScope
122
+ {
123
+ DataTypes: ['text', 'number', 'date', 'textArray', 'numberArray'],
124
+ })) {
121
125
  return predicateInput;
122
126
  }
123
127
  })
@@ -6,7 +6,7 @@ export function IsNotNull(stringToCheck) {
6
6
  return !IsNull(stringToCheck);
7
7
  }
8
8
  export function IsEmpty(stringToCheck) {
9
- return stringToCheck == '';
9
+ return stringToCheck === '';
10
10
  }
11
11
  export function IsNotEmpty(stringToCheck) {
12
12
  return !IsEmpty(stringToCheck);
@@ -18,7 +18,7 @@ export function IsNotNullOrEmpty(stringToCheck) {
18
18
  return !IsNullOrEmpty(stringToCheck);
19
19
  }
20
20
  export function IsNullOrEmptyOrWhiteSpace(stringToCheck) {
21
- return IsNullOrEmpty(stringToCheck) || IsEmpty(stringToCheck.trim());
21
+ return IsNullOrEmpty(stringToCheck) || IsEmpty(stringToCheck?.trim());
22
22
  }
23
23
  export function IsNotNullOrEmptyOrWhiteSpace(stringToCheck) {
24
24
  return !IsNullOrEmptyOrWhiteSpace(stringToCheck);
@@ -15,8 +15,7 @@ export const ColumnValuesSelect = (props) => {
15
15
  if (!isActive && distinctValue.value && distinctValue.value instanceof Date) {
16
16
  isActive = selectedColumnValues.some((dateStr) => isEqual(parseDateValue(dateStr), parseDateValue(distinctValue.value)));
17
17
  }
18
- const columnLabel = distinctValue.label;
19
- if (StringExtensions.IsNullOrEmpty(columnLabel)) {
18
+ if (StringExtensions.IsNullOrEmpty(distinctValue.value)) {
20
19
  return false;
21
20
  }
22
21
  if (isActive) {
@@ -2463,7 +2463,10 @@ You need to define at least one Layout!`);
2463
2463
  const value = gridCell.rawValue;
2464
2464
  // we want to filter out empty values
2465
2465
  if (value === '' || value === null || value === undefined) {
2466
- return;
2466
+ // 2025-10-31: we want to allow empty values to be included
2467
+ // after all - they are not displayed by default
2468
+ // but will be accessible in the customInFilterValues callback
2469
+ // return;
2467
2470
  }
2468
2471
  gridCells.push(gridCell);
2469
2472
  }
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: 1761827363149 || Date.now(),
4
- VERSION: "21.0.10" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1761929176914 || Date.now(),
4
+ VERSION: "21.0.11" || '--current-version--',
5
5
  };