gramene-search 1.2.24 → 1.2.25
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/.parcel-cache/2b1c1cd7b577d2ca.txt +2 -2
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bundles/filters.js +5 -2
- package/.parcel-cache/687f8a990313aa2f.txt +0 -2
- package/dist/android-chrome-192x192.1c3e8367.png +0 -0
- package/dist/apple-touch-icon-114x114.bfffc776.png +0 -0
- package/dist/apple-touch-icon-120x120.36d8566f.png +0 -0
- package/dist/apple-touch-icon-144x144.878f9d29.png +0 -0
- package/dist/apple-touch-icon-152x152.6d1217c5.png +0 -0
- package/dist/apple-touch-icon-180x180.0d30a358.png +0 -0
- package/dist/apple-touch-icon-57x57.c3d92f4e.png +0 -0
- package/dist/apple-touch-icon-60x60.0cfc5a34.png +0 -0
- package/dist/apple-touch-icon-72x72.9c44ac8c.png +0 -0
- package/dist/apple-touch-icon-76x76.5a933f46.png +0 -0
- package/dist/favicon-16x16.3e40b283.png +0 -0
- package/dist/favicon-32x32.6ebd8f52.png +0 -0
- package/dist/favicon-96x96.ef44eb0f.png +0 -0
- package/dist/genetree.d667cd90.png +0 -0
- package/dist/index.07f23ea1.css +0 -2045
- package/dist/index.07f23ea1.css.map +0 -1
- package/dist/index.d2bab208.js +0 -270805
- package/dist/index.d2bab208.js.map +0 -1
- package/dist/index.fd6dee1b.js +0 -16539
- package/dist/index.fd6dee1b.js.map +0 -1
- package/dist/index.html +0 -1424
- package/dist/results.c14120ff.png +0 -0
- package/dist/suggestions.74bf4636.png +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
61378806
|
|
2
|
+
1649954728209027000
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1033,6 +1033,7 @@ var $b8aee296158e1013$var$grameneFilters = {
|
|
|
1033
1033
|
selectGrameneFiltersQueryString: function selectGrameneFiltersQueryString(state) {
|
|
1034
1034
|
var hasSpaces = new RegExp(/^[^\[\(].*\s/);
|
|
1035
1035
|
var isQuery = new RegExp(/\([a-zA-Z0-9_]+:[a-zA-Z0-9_]+\s/);
|
|
1036
|
+
var idWithColon = new RegExp(/^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$/);
|
|
1036
1037
|
function getQuery(node) {
|
|
1037
1038
|
var negate = node.negate ? 'NOT ' : '';
|
|
1038
1039
|
if (node.hasOwnProperty('children')) // do some recursion
|
|
@@ -1042,8 +1043,9 @@ var $b8aee296158e1013$var$grameneFilters = {
|
|
|
1042
1043
|
else {
|
|
1043
1044
|
// this node is a suggestion
|
|
1044
1045
|
if (isQuery.test(node.fq_value)) return "".concat(negate).concat(node.fq_value.replace(/:/g, '\\:'));
|
|
1045
|
-
if (hasSpaces.test(node.fq_value)) return "".concat(negate).concat(node.fq_field, ":\"").concat(node.fq_value
|
|
1046
|
-
else return "".concat(negate).concat(node.fq_field, ":").concat(node.fq_value.replace(/:/g, '\\:'));
|
|
1046
|
+
if (hasSpaces.test(node.fq_value)) return "".concat(negate).concat(node.fq_field, ":\"").concat(node.fq_value, "\"");
|
|
1047
|
+
else if (idWithColon.test(node.fq_value)) return "".concat(negate).concat(node.fq_field, ":").concat(node.fq_value.replace(/:/g, '\\:'));
|
|
1048
|
+
else return "".concat(negate).concat(node.fq_field, ":").concat(node.fq_value);
|
|
1047
1049
|
}
|
|
1048
1050
|
}
|
|
1049
1051
|
if (state.grameneFilters.rightIdx === 1) return '*:*';
|