@maptiler/geocoding-control 1.4.1 → 1.4.2-dev.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "1.4.1",
3
+ "version": "1.4.2-dev.1",
4
4
  "description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
5
5
  "type": "module",
6
6
  "author": {
@@ -108,39 +108,39 @@
108
108
  "@tsconfig/svelte": "^5.0.4",
109
109
  "@types/geojson": "^7946.0.14",
110
110
  "@types/leaflet": "^1.9.12",
111
- "@types/node": "^22.5.5",
112
- "@types/react": "^18.3.8",
111
+ "@types/node": "^22.7.5",
112
+ "@types/react": "^18.3.11",
113
113
  "@types/react-dom": "^18.3.0",
114
114
  "concurrently": "^9.0.1",
115
115
  "dotenv": "^16.4.5",
116
- "eslint": "^8.57.0",
117
- "eslint-plugin-svelte": "^2.44.0",
116
+ "eslint": "^9.12.0",
117
+ "eslint-plugin-svelte": "^2.44.1",
118
118
  "esm-env": "^1.0.0",
119
- "globals": "^15.9.0",
119
+ "globals": "^15.11.0",
120
120
  "husky": "^9.1.6",
121
121
  "leaflet": "^1.9.4",
122
122
  "lint-staged": "^15.2.10",
123
- "maplibre-gl": "^4.7.0",
123
+ "maplibre-gl": "^4.7.1",
124
124
  "ol": "10.2",
125
125
  "prettier": "^3.3.3",
126
126
  "prettier-plugin-organize-imports": "^4.1.0",
127
- "prettier-plugin-svelte": "^3.2.6",
127
+ "prettier-plugin-svelte": "^3.2.7",
128
128
  "react": "^18.3.1",
129
129
  "react-dom": "^18.3.1",
130
130
  "replace-in-file": "^8.2.0",
131
- "sass": "^1.79.3",
131
+ "sass": "^1.79.4",
132
132
  "svelte": "^4.2.19",
133
- "svelte-check": "^4.0.2",
134
- "svelte-preprocess": "^6.0.2",
133
+ "svelte-check": "^4.0.4",
134
+ "svelte-preprocess": "^6.0.3",
135
135
  "tslib": "^2.7.0",
136
- "typescript": "^5.6.2",
137
- "typescript-eslint": "^8.6.0",
138
- "vite": "^5.4.7"
136
+ "typescript": "^5.6.3",
137
+ "typescript-eslint": "^8.8.1",
138
+ "vite": "^5.4.8"
139
139
  },
140
140
  "peerDependencies": {
141
141
  "@maptiler/sdk": "^1 || ^2",
142
142
  "leaflet": "^1.7 || ^1.8 || ^1.9",
143
- "maplibre-gl": "^2 || ^3 || ^4",
143
+ "maplibre-gl": "^2 || ^3 || ^4 || ^5",
144
144
  "ol": "^6 || ^7 || ^8 || ^9 || ^10",
145
145
  "react": "^17 || ^18",
146
146
  "svelte": "^4.2"
package/react.js CHANGED
@@ -2055,7 +2055,7 @@ function mn(i, e, t) {
2055
2055
  "poi.restaurant": 18,
2056
2056
  "poi.aerodrome": 13
2057
2057
  };
2058
- let { class: r = void 0 } = e, { apiKey: d } = e, { bbox: c = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: h = !1 } = e, { collapsed: v = !1 } = e, { country: _ = void 0 } = e, { debounceSearch: w = 200 } = e, { enableReverse: W = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: E = () => !0 } = e, { flyTo: C = !0 } = e, { fuzzyMatch: O = !0 } = e, { language: p = void 0 } = e, { limit: G = void 0 } = e, { mapController: b = void 0 } = e, { minLength: g = 2 } = e, { noResultsMessage: m = "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!" } = e, { placeholder: k = "Search" } = e, { proximity: H = [{ type: "server-geolocation" }] } = e, { reverseActive: X = W === "always" } = e, { reverseButtonTitle: Y = "toggle reverse geocoding" } = e, { searchValue: q = "" } = e, { showFullGeometry: L = !0 } = e, { showPlaceType: F = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ee = !0 } = e, { flyToSelected: He = !1 } = e, { markerOnSelected: We = !0 } = e, { types: fe = void 0 } = e, { excludeTypes: Oe = !1 } = e, { zoom: Le = a } = e, { maxZoom: Re = void 0 } = e, { apiUrl: qe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: je = {} } = e, { iconsBaseUrl: rt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.1/icons/" } = e, { adjustUrlQuery: Pe = () => {
2058
+ let { class: r = void 0 } = e, { apiKey: d } = e, { bbox: c = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: h = !1 } = e, { collapsed: v = !1 } = e, { country: _ = void 0 } = e, { debounceSearch: w = 200 } = e, { enableReverse: W = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: E = () => !0 } = e, { flyTo: C = !0 } = e, { fuzzyMatch: O = !0 } = e, { language: p = void 0 } = e, { limit: G = void 0 } = e, { mapController: b = void 0 } = e, { minLength: g = 2 } = e, { noResultsMessage: m = "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!" } = e, { placeholder: k = "Search" } = e, { proximity: H = [{ type: "server-geolocation" }] } = e, { reverseActive: X = W === "always" } = e, { reverseButtonTitle: Y = "toggle reverse geocoding" } = e, { searchValue: q = "" } = e, { showFullGeometry: L = !0 } = e, { showPlaceType: F = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ee = !0 } = e, { flyToSelected: He = !1 } = e, { markerOnSelected: We = !0 } = e, { types: fe = void 0 } = e, { excludeTypes: Oe = !1 } = e, { zoom: Le = a } = e, { maxZoom: Re = void 0 } = e, { apiUrl: qe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: je = {} } = e, { iconsBaseUrl: rt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.1/icons/" } = e, { adjustUrlQuery: Pe = () => {
2059
2059
  } } = e;
2060
2060
  function Bt() {
2061
2061
  te.focus();