@nextgis/geocoder 2.4.0 → 2.4.1
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/lib/geocoder.cjs.js +1 -1
- package/lib/geocoder.esm-browser.js +5 -3
- package/lib/geocoder.esm-browser.js.map +1 -1
- package/lib/geocoder.esm-browser.prod.js +1 -1
- package/lib/geocoder.esm-browser.prod.js.map +1 -1
- package/lib/geocoder.esm-bundler.js +1 -1
- package/lib/geocoder.global.js +5 -3
- package/lib/geocoder.global.js.map +1 -1
- package/lib/geocoder.global.prod.js +1 -1
- package/lib/geocoder.global.prod.js.map +1 -1
- package/package.json +3 -3
package/lib/geocoder.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/geocoder; version: 2.4.
|
|
1
|
+
/** Bundle of @nextgis/geocoder; version: 2.4.1; author: NextGIS */
|
|
2
2
|
var __defProp$g = Object.defineProperty;
|
|
3
3
|
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField$e = (obj, key, value) => __defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -2387,7 +2387,9 @@ function createParam(pf) {
|
|
|
2387
2387
|
return [`${isFldStr}${field_}__${operation}`, v];
|
|
2388
2388
|
}
|
|
2389
2389
|
function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
2390
|
+
var _a;
|
|
2390
2391
|
const { filters } = opt;
|
|
2392
|
+
const paramList = (_a = opt.paramList) != null ? _a : [];
|
|
2391
2393
|
const logic = typeof filters[0] === "string" ? filters[0] : "all";
|
|
2392
2394
|
const filters_ = filters.filter((x) => Array.isArray(x));
|
|
2393
2395
|
if (logic === "any") {
|
|
@@ -2395,7 +2397,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
|
2395
2397
|
if (isPropertyFilter(f)) {
|
|
2396
2398
|
_queries.push(
|
|
2397
2399
|
fetchNgwLayerItemsRequest(__spreadProps$1(__spreadValues$2({}, opt), {
|
|
2398
|
-
paramList: [..._parentAllParams, createParam(f)]
|
|
2400
|
+
paramList: [..._parentAllParams, ...paramList, createParam(f)]
|
|
2399
2401
|
}))
|
|
2400
2402
|
);
|
|
2401
2403
|
} else {
|
|
@@ -2431,7 +2433,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
|
2431
2433
|
} else {
|
|
2432
2434
|
_queries.push(
|
|
2433
2435
|
fetchNgwLayerItemsRequest(__spreadProps$1(__spreadValues$2({}, opt), {
|
|
2434
|
-
paramList: [..._parentAllParams, ...filters2]
|
|
2436
|
+
paramList: [..._parentAllParams, ...paramList, ...filters2]
|
|
2435
2437
|
}))
|
|
2436
2438
|
);
|
|
2437
2439
|
}
|