@maptiler/geocoding-control 1.0.0-rc.2 → 1.0.0-rc.3

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/openlayers.js CHANGED
@@ -6730,7 +6730,7 @@ function ch(r) {
6730
6730
  return t[2] < t[0] && (t[2] += 360), t;
6731
6731
  }
6732
6732
  function vm(r, t, e) {
6733
- let n, { $$slots: i = {}, $$scope: s } = t, { class: o = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: h = !1 } = t, { country: f = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: d = !1 } = t, { errorMessage: p = "Something went wrong…" } = t, { filter: _ = () => !0 } = t, { flyTo: m = !0 } = t, { fuzzyMatch: y = !0 } = t, { language: v = void 0 } = t, { limit: I = void 0 } = t, { mapController: E = void 0 } = t, { minLength: w = 2 } = t, { noResultsMessage: P = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: b = "Search" } = t, { proximity: R = [{ type: "server-geolocation" }] } = t, { reverseActive: O = d === "always" } = t, { reverseButtonTitle: V = "toggle reverse geocoding" } = t, { searchValue: N = "" } = t, { showFullGeometry: B = !0 } = t, { showPlaceType: M = "ifNeeded" } = t, { showResultsWhileTyping: A = !0 } = t, { types: z = void 0 } = t, { zoom: U = 16 } = t, { maxZoom: j = 18 } = t, { apiUrl: ot = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: yt = {} } = t, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.0.0-rc.2/icons/" } = t;
6733
+ let n, { $$slots: i = {}, $$scope: s } = t, { class: o = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: h = !1 } = t, { country: f = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: d = !1 } = t, { errorMessage: p = "Something went wrong…" } = t, { filter: _ = () => !0 } = t, { flyTo: m = !0 } = t, { fuzzyMatch: y = !0 } = t, { language: v = void 0 } = t, { limit: I = void 0 } = t, { mapController: E = void 0 } = t, { minLength: w = 2 } = t, { noResultsMessage: P = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: b = "Search" } = t, { proximity: R = [{ type: "server-geolocation" }] } = t, { reverseActive: O = d === "always" } = t, { reverseButtonTitle: V = "toggle reverse geocoding" } = t, { searchValue: N = "" } = t, { showFullGeometry: B = !0 } = t, { showPlaceType: M = "ifNeeded" } = t, { showResultsWhileTyping: A = !0 } = t, { types: z = void 0 } = t, { zoom: U = 16 } = t, { maxZoom: j = 18 } = t, { apiUrl: ot = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: yt = {} } = t, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.0.0-rc.3/icons/" } = t;
6734
6734
  const G = (L) => {
6735
6735
  };
6736
6736
  function Qe() {
@@ -6768,7 +6768,7 @@ function vm(r, t, e) {
6768
6768
  e(18, Zn = Be);
6769
6769
  try {
6770
6770
  const Nt = So(), Ot = new URLSearchParams();
6771
- if (v != null && Ot.set("language", Array.isArray(v) ? v.join(",") : v ?? ""), z && Ot.set("types", z.join(",")), u && Ot.set("bbox", u.map((fe) => fe.toFixed(6)).join(",")), f && Ot.set("country", Array.isArray(f) ? f.join(",") : f), !Gt && !Nt) {
6771
+ if (v !== void 0 && Ot.set("language", Array.isArray(v) ? v.join(",") : v ?? ""), z && Ot.set("types", z.join(",")), u && Ot.set("bbox", u.map((fe) => fe.toFixed(6)).join(",")), f && Ot.set("country", Array.isArray(f) ? f.join(",") : f), !Gt && !Nt) {
6772
6772
  async function fe() {
6773
6773
  const Me = E == null ? void 0 : E.getCenterAndZoom();
6774
6774
  for (const Ve of R ?? [])