gramene-search 1.6.38 → 1.6.40
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/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/9a0d07555444f4da-AssetGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +2 -2
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bundles/filters.js +8 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
489821058
|
|
2
|
+
1759959391042991000
|
package/dist/index.js
CHANGED
|
@@ -1240,6 +1240,18 @@ $af4441dd29af05df$var$grameneFilters.reactGrameneFilters = (0, $gXNCa$reduxbundl
|
|
|
1240
1240
|
actions: actions
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
|
+
if (queryObject.hasOwnProperty('sugg')) return {
|
|
1244
|
+
type: 'BATCH_ACTIONS',
|
|
1245
|
+
actions: [
|
|
1246
|
+
{
|
|
1247
|
+
type: 'GRAMENE_SEARCH_CLEARED'
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
type: 'GRAMENE_FILTER_ADDED',
|
|
1251
|
+
payload: JSON.parse(queryObject.sugg)
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
};
|
|
1243
1255
|
if (queryObject.hasOwnProperty('suggestion')) {
|
|
1244
1256
|
const url = new URL(myUrl.href);
|
|
1245
1257
|
url.search = '';
|