@genesislcap/grid-pro 15.64.2-alpha-241aa02942.0 → 15.65.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.utils.d.ts","sourceRoot":"","sources":["../../../src/datasource/filter.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"filter.utils.d.ts","sourceRoot":"","sources":["../../../src/datasource/filter.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAoBpE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAyB9F;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,GAAG,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,MAAM,GAAG,IAAI,CAiEf;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAiChG;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAmC9F;AA6DD;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,MAAM,CAqBjG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { escapeCriteriaString } from '@genesislcap/foundation-criteria';
|
|
1
2
|
/**
|
|
2
3
|
* Shared filter utilities for converting AG Grid filter models to Genesis criteria strings.
|
|
3
4
|
* The single implementation of the filter-model grammar: the Infinite Row Model converts whole
|
|
@@ -7,13 +8,11 @@
|
|
|
7
8
|
* @beta
|
|
8
9
|
*/
|
|
9
10
|
/**
|
|
10
|
-
* Escapes a value for interpolation into a criteria string literal
|
|
11
|
-
*
|
|
12
|
-
* an unescaped trailing backslash (or a literal `\'` in the value) would escape the closing
|
|
13
|
-
* quote - either way the server rejects the whole expression.
|
|
11
|
+
* Escapes a value for interpolation into a single-quoted criteria string literal, with
|
|
12
|
+
* foundation-criteria's escaping, so grid filters and the serialisers quote values the same way.
|
|
14
13
|
*/
|
|
15
14
|
function escapeCriteriaValue(value) {
|
|
16
|
-
return String(value)
|
|
15
|
+
return escapeCriteriaString(String(value));
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
18
|
* Converts text filters to Genesis criteria strings.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.65.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "15.
|
|
42
|
-
"@genesislcap/genx": "15.
|
|
43
|
-
"@genesislcap/ts-builder": "15.
|
|
44
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
45
|
-
"@genesislcap/vite-builder": "15.
|
|
46
|
-
"@genesislcap/webpack-builder": "15.
|
|
41
|
+
"@genesislcap/foundation-testing": "15.65.0",
|
|
42
|
+
"@genesislcap/genx": "15.65.0",
|
|
43
|
+
"@genesislcap/ts-builder": "15.65.0",
|
|
44
|
+
"@genesislcap/uvu-playwright-builder": "15.65.0",
|
|
45
|
+
"@genesislcap/vite-builder": "15.65.0",
|
|
46
|
+
"@genesislcap/webpack-builder": "15.65.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@genesislcap/foundation-comms": "15.
|
|
50
|
-
"@genesislcap/foundation-criteria": "15.
|
|
51
|
-
"@genesislcap/foundation-logger": "15.
|
|
52
|
-
"@genesislcap/foundation-ui": "15.
|
|
53
|
-
"@genesislcap/foundation-utils": "15.
|
|
49
|
+
"@genesislcap/foundation-comms": "15.65.0",
|
|
50
|
+
"@genesislcap/foundation-criteria": "15.65.0",
|
|
51
|
+
"@genesislcap/foundation-logger": "15.65.0",
|
|
52
|
+
"@genesislcap/foundation-ui": "15.65.0",
|
|
53
|
+
"@genesislcap/foundation-utils": "15.65.0",
|
|
54
54
|
"@microsoft/fast-colors": "5.3.1",
|
|
55
55
|
"@microsoft/fast-components": "2.30.6",
|
|
56
56
|
"@microsoft/fast-element": "1.14.0",
|