@nextgis/ngw-map 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/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +5 -3
- package/lib/ngw-map.esm-browser.js.map +1 -1
- package/lib/ngw-map.esm-browser.prod.js +1 -1
- package/lib/ngw-map.esm-browser.prod.js.map +1 -1
- package/lib/ngw-map.esm-bundler.js +1 -1
- package/lib/ngw-map.global.js +5 -3
- package/lib/ngw-map.global.js.map +1 -1
- package/lib/ngw-map.global.prod.js +1 -1
- package/lib/ngw-map.global.prod.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 2.4.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 2.4.1; author: NextGIS */
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
4
4
|
import { getIcon } from '@nextgis/icons';
|
package/lib/ngw-map.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 2.4.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 2.4.1; author: NextGIS */
|
|
2
2
|
var NgwMap = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -2472,7 +2472,9 @@ var NgwMap = (function (exports) {
|
|
|
2472
2472
|
return [`${isFldStr}${field_}__${operation}`, v];
|
|
2473
2473
|
}
|
|
2474
2474
|
function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
2475
|
+
var _a;
|
|
2475
2476
|
const { filters } = opt;
|
|
2477
|
+
const paramList = (_a = opt.paramList) != null ? _a : [];
|
|
2476
2478
|
const logic = typeof filters[0] === "string" ? filters[0] : "all";
|
|
2477
2479
|
const filters_ = filters.filter((x) => Array.isArray(x));
|
|
2478
2480
|
if (logic === "any") {
|
|
@@ -2480,7 +2482,7 @@ var NgwMap = (function (exports) {
|
|
|
2480
2482
|
if (isPropertyFilter(f)) {
|
|
2481
2483
|
_queries.push(
|
|
2482
2484
|
fetchNgwLayerItemsRequest(__spreadProps$c(__spreadValues$q({}, opt), {
|
|
2483
|
-
paramList: [..._parentAllParams, createParam(f)]
|
|
2485
|
+
paramList: [..._parentAllParams, ...paramList, createParam(f)]
|
|
2484
2486
|
}))
|
|
2485
2487
|
);
|
|
2486
2488
|
} else {
|
|
@@ -2516,7 +2518,7 @@ var NgwMap = (function (exports) {
|
|
|
2516
2518
|
} else {
|
|
2517
2519
|
_queries.push(
|
|
2518
2520
|
fetchNgwLayerItemsRequest(__spreadProps$c(__spreadValues$q({}, opt), {
|
|
2519
|
-
paramList: [..._parentAllParams, ...filters2]
|
|
2521
|
+
paramList: [..._parentAllParams, ...paramList, ...filters2]
|
|
2520
2522
|
}))
|
|
2521
2523
|
);
|
|
2522
2524
|
}
|