@crystaldesign/grid 26.4.0-beta.26 → 26.4.0-beta.28

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.
@@ -3216,7 +3216,15 @@ function parseRawFilterString(pf) {
3216
3216
  return "[".concat(pf.filters.map(parseRawFilterString).join(','), "]");
3217
3217
  }
3218
3218
  if (pf.field && pf.operator && pf.value !== undefined) {
3219
- return "{".concat(pf.field, ",").concat(pf.operator, ",").concat(Array.isArray(pf.value) ? pf.value.join() : pf.value, "}");
3219
+ var valueString;
3220
+ if (Array.isArray(pf.value)) {
3221
+ valueString = pf.value.map(function (val) {
3222
+ return typeof val === 'string' ? "'".concat(val, "'") : val;
3223
+ }).join();
3224
+ } else {
3225
+ valueString = typeof pf.value === 'string' ? "'".concat(pf.value, "'") : pf.value;
3226
+ }
3227
+ return "{".concat(pf.field, ",").concat(pf.operator, ",").concat(valueString, "}");
3220
3228
  }
3221
3229
  return '';
3222
3230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/grid",
3
- "version": "26.4.0-beta.26",
3
+ "version": "26.4.0-beta.28",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@mui/x-date-pickers": "^7.22.0",
@@ -12,9 +12,9 @@
12
12
  "react-dom": "18.3.1"
13
13
  },
14
14
  "dependencies": {
15
- "@crystaldesign/content-box": "26.4.0-beta.26",
16
- "@crystaldesign/rtf-editor": "26.4.0-beta.26",
17
- "@crystaldesign/searchfield": "26.4.0-beta.26",
15
+ "@crystaldesign/content-box": "26.4.0-beta.28",
16
+ "@crystaldesign/rtf-editor": "26.4.0-beta.28",
17
+ "@crystaldesign/searchfield": "26.4.0-beta.28",
18
18
  "@hello-pangea/dnd": "^18.0.1",
19
19
  "@mui/icons-material": "^6.1.5",
20
20
  "@mui/lab": "^6.0.0-beta.13",
@@ -40,5 +40,5 @@
40
40
  },
41
41
  "module": "build/esm/index.js",
42
42
  "types": "./build/types/grid/src/index.d.ts",
43
- "gitHead": "f2c0aee80adbf2c369449ae1b6328f7d31f81010"
43
+ "gitHead": "57b0e14899868c7dfcc3eafc6110137eee40c020"
44
44
  }