@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
  import 'leaflet/dist/leaflet.css';
3
3
  import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
4
4
  import { NgwMap } from '@nextgis/ngw-map';
@@ -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
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -19482,7 +19482,9 @@ var NgwLeaflet = (function () {
19482
19482
  return [`${isFldStr}${field_}__${operation}`, v];
19483
19483
  }
19484
19484
  function getQueries(opt, _queries = [], _parentAllParams = []) {
19485
+ var _a;
19485
19486
  const { filters } = opt;
19487
+ const paramList = (_a = opt.paramList) != null ? _a : [];
19486
19488
  const logic = typeof filters[0] === "string" ? filters[0] : "all";
19487
19489
  const filters_ = filters.filter((x) => Array.isArray(x));
19488
19490
  if (logic === "any") {
@@ -19490,7 +19492,7 @@ var NgwLeaflet = (function () {
19490
19492
  if (isPropertyFilter(f)) {
19491
19493
  _queries.push(
19492
19494
  fetchNgwLayerItemsRequest(__spreadProps$d(__spreadValues$o({}, opt), {
19493
- paramList: [..._parentAllParams, createParam(f)]
19495
+ paramList: [..._parentAllParams, ...paramList, createParam(f)]
19494
19496
  }))
19495
19497
  );
19496
19498
  } else {
@@ -19526,7 +19528,7 @@ var NgwLeaflet = (function () {
19526
19528
  } else {
19527
19529
  _queries.push(
19528
19530
  fetchNgwLayerItemsRequest(__spreadProps$d(__spreadValues$o({}, opt), {
19529
- paramList: [..._parentAllParams, ...filters2]
19531
+ paramList: [..._parentAllParams, ...paramList, ...filters2]
19530
19532
  }))
19531
19533
  );
19532
19534
  }