@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
|
@@ -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
|
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
3
3
|
import { objectAssign, fixUrlStr } from '@nextgis/utils';
|
|
4
4
|
import NgwConnector from '@nextgis/ngw-connector';
|
package/lib/geocoder.global.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 Geocoder = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -2390,7 +2390,9 @@ var Geocoder = (function (exports) {
|
|
|
2390
2390
|
return [`${isFldStr}${field_}__${operation}`, v];
|
|
2391
2391
|
}
|
|
2392
2392
|
function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
2393
|
+
var _a;
|
|
2393
2394
|
const { filters } = opt;
|
|
2395
|
+
const paramList = (_a = opt.paramList) != null ? _a : [];
|
|
2394
2396
|
const logic = typeof filters[0] === "string" ? filters[0] : "all";
|
|
2395
2397
|
const filters_ = filters.filter((x) => Array.isArray(x));
|
|
2396
2398
|
if (logic === "any") {
|
|
@@ -2398,7 +2400,7 @@ var Geocoder = (function (exports) {
|
|
|
2398
2400
|
if (isPropertyFilter(f)) {
|
|
2399
2401
|
_queries.push(
|
|
2400
2402
|
fetchNgwLayerItemsRequest(__spreadProps$1(__spreadValues$2({}, opt), {
|
|
2401
|
-
paramList: [..._parentAllParams, createParam(f)]
|
|
2403
|
+
paramList: [..._parentAllParams, ...paramList, createParam(f)]
|
|
2402
2404
|
}))
|
|
2403
2405
|
);
|
|
2404
2406
|
} else {
|
|
@@ -2434,7 +2436,7 @@ var Geocoder = (function (exports) {
|
|
|
2434
2436
|
} else {
|
|
2435
2437
|
_queries.push(
|
|
2436
2438
|
fetchNgwLayerItemsRequest(__spreadProps$1(__spreadValues$2({}, opt), {
|
|
2437
|
-
paramList: [..._parentAllParams, ...filters2]
|
|
2439
|
+
paramList: [..._parentAllParams, ...paramList, ...filters2]
|
|
2438
2440
|
}))
|
|
2439
2441
|
);
|
|
2440
2442
|
}
|