@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.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-map; version: 2.4.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 2.4.1; author: NextGIS */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-map; version: 2.4.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 2.4.1; author: NextGIS */
2
2
  var domain;
3
3
 
4
4
  // This constructor is used to store event handlers. Instantiating this is
@@ -2469,7 +2469,9 @@ function createParam(pf) {
2469
2469
  return [`${isFldStr}${field_}__${operation}`, v];
2470
2470
  }
2471
2471
  function getQueries(opt, _queries = [], _parentAllParams = []) {
2472
+ var _a;
2472
2473
  const { filters } = opt;
2474
+ const paramList = (_a = opt.paramList) != null ? _a : [];
2473
2475
  const logic = typeof filters[0] === "string" ? filters[0] : "all";
2474
2476
  const filters_ = filters.filter((x) => Array.isArray(x));
2475
2477
  if (logic === "any") {
@@ -2477,7 +2479,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
2477
2479
  if (isPropertyFilter(f)) {
2478
2480
  _queries.push(
2479
2481
  fetchNgwLayerItemsRequest(__spreadProps$c(__spreadValues$q({}, opt), {
2480
- paramList: [..._parentAllParams, createParam(f)]
2482
+ paramList: [..._parentAllParams, ...paramList, createParam(f)]
2481
2483
  }))
2482
2484
  );
2483
2485
  } else {
@@ -2513,7 +2515,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
2513
2515
  } else {
2514
2516
  _queries.push(
2515
2517
  fetchNgwLayerItemsRequest(__spreadProps$c(__spreadValues$q({}, opt), {
2516
- paramList: [..._parentAllParams, ...filters2]
2518
+ paramList: [..._parentAllParams, ...paramList, ...filters2]
2517
2519
  }))
2518
2520
  );
2519
2521
  }