@nextgis/ngw-leaflet 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-leaflet; version: 2.4.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 2.4.1; author: NextGIS */
2
2
  function styleInject(css, ref) {
3
3
  if ( ref === void 0 ) ref = {};
4
4
  var insertAt = ref.insertAt;
@@ -19479,7 +19479,9 @@ function createParam(pf) {
19479
19479
  return [`${isFldStr}${field_}__${operation}`, v];
19480
19480
  }
19481
19481
  function getQueries(opt, _queries = [], _parentAllParams = []) {
19482
+ var _a;
19482
19483
  const { filters } = opt;
19484
+ const paramList = (_a = opt.paramList) != null ? _a : [];
19483
19485
  const logic = typeof filters[0] === "string" ? filters[0] : "all";
19484
19486
  const filters_ = filters.filter((x) => Array.isArray(x));
19485
19487
  if (logic === "any") {
@@ -19487,7 +19489,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
19487
19489
  if (isPropertyFilter(f)) {
19488
19490
  _queries.push(
19489
19491
  fetchNgwLayerItemsRequest(__spreadProps$d(__spreadValues$o({}, opt), {
19490
- paramList: [..._parentAllParams, createParam(f)]
19492
+ paramList: [..._parentAllParams, ...paramList, createParam(f)]
19491
19493
  }))
19492
19494
  );
19493
19495
  } else {
@@ -19523,7 +19525,7 @@ function getQueries(opt, _queries = [], _parentAllParams = []) {
19523
19525
  } else {
19524
19526
  _queries.push(
19525
19527
  fetchNgwLayerItemsRequest(__spreadProps$d(__spreadValues$o({}, opt), {
19526
- paramList: [..._parentAllParams, ...filters2]
19528
+ paramList: [..._parentAllParams, ...paramList, ...filters2]
19527
19529
  }))
19528
19530
  );
19529
19531
  }