@opengis/partsmap 0.0.49 → 0.0.51

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/dist/PartsMap.js CHANGED
@@ -18102,10 +18102,10 @@ const Yh = {
18102
18102
  }), S.getSource(g) && await S.removeSource(g);
18103
18103
  },
18104
18104
  async setFilter(g, S) {
18105
- const C = this.layerList.find((V) => V.id === g);
18106
- await (await this.map.getSource(g)).setTiles([
18105
+ const C = this.layerList.find((V) => V.id === g), E = await this.map.getSource(g);
18106
+ await (E == null ? void 0 : E.setTiles([
18107
18107
  `${window.location.origin}${C.url.split("&filter")[0]}${C.url.includes("?") ? "&" : "?"}filter=${S}${C.props ? `&props=${C.props}` : ""}`
18108
- ]);
18108
+ ]));
18109
18109
  },
18110
18110
  getOrder(g) {
18111
18111
  var S;
@@ -20659,7 +20659,7 @@ const Dy = /* @__PURE__ */ hn(wy, [["render", zy], ["__scopeId", "data-v-3740577
20659
20659
  ((S = (g = location.search.split("&").find((V) => V.includes("filter="))) == null ? void 0 : g.split("filter=")) == null ? void 0 : S[1]) || ""
20660
20660
  ), this.addressSelectValue && (C.filter += C.filter ? `&address_id=${this.addressSelectValue.id}` : `address_id=${this.addressSelectValue.id}`);
20661
20661
  const { data: E } = await Ht.get(`/api/data/${this.table}`, { params: C });
20662
- this.tableData = E == null ? void 0 : E.rows, this.total = E.total, this.filtered = E.filtered;
20662
+ this.tableData = E == null ? void 0 : E.rows, this.total = E.filtered, this.filtered = E.filtered;
20663
20663
  } catch (C) {
20664
20664
  console.error(C.message);
20665
20665
  }