@maptiler/geocoding-control 0.0.94 → 0.0.95
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/GeocodingControl.svelte +4 -7
- package/MapLibreBasedGeocodingControl.d.ts +2 -2
- package/README.md +0 -2
- package/leaflet.js +1 -3
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +1 -1
- package/leaflet.umd.js.map +1 -1
- package/maplibregl.js +1 -3
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +1 -1
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +1 -3
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +1 -1
- package/maptilersdk.umd.js.map +1 -1
- package/package.json +10 -8
- package/react.js +1 -3
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/geocoding-control",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Ždila",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite --host",
|
|
34
34
|
"build": "npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPTILER,MAPLIB-C,LEAFLET ,LEAFLE-C,REACT ,TYPES \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maptilersdk\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-react\" \"npm run build-types\" && npm run cjs2js && cp dist.svelte/*.svelte* LICENSE README.md package.json dist",
|
|
35
|
-
"build-svelte": "svelte-package -o dist.svelte",
|
|
36
|
-
"build-maptilersdk": "
|
|
37
|
-
"build-maplibre": "
|
|
38
|
-
"build-maplibre-controller": "
|
|
39
|
-
"build-leaflet": "
|
|
40
|
-
"build-leaflet-controller": "
|
|
41
|
-
"build-react": "
|
|
35
|
+
"build-svelte": "svelte-package -o dist.svelte && VITE_LIB_VERSION=$npm_package_version node replace-env-vars.js",
|
|
36
|
+
"build-maptilersdk": "FLAVOUR=maptilersdk vite build",
|
|
37
|
+
"build-maplibre": "FLAVOUR=maplibre vite build",
|
|
38
|
+
"build-maplibre-controller": "FLAVOUR=maplibregl-controller vite build",
|
|
39
|
+
"build-leaflet": "FLAVOUR=leaflet vite build",
|
|
40
|
+
"build-leaflet-controller": "FLAVOUR=leaflet-controller vite build",
|
|
41
|
+
"build-react": "FLAVOUR=react vite build",
|
|
42
42
|
"build-types": "tsc --outDir dist --declaration --emitDeclarationOnly",
|
|
43
43
|
"cjs2js": "renamer --find '/\\bcjs\\b/' --replace js dist/*cjs*",
|
|
44
44
|
"clean": "rm -rf dist dist.svelte",
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"@types/react": "^18.2.14",
|
|
97
97
|
"@types/react-dom": "^18.2.6",
|
|
98
98
|
"concurrently": "^8.2.0",
|
|
99
|
+
"dotenv": "^16.3.1",
|
|
99
100
|
"esm-env": "^1.0.0",
|
|
100
101
|
"leaflet": "^1.9.4",
|
|
101
102
|
"maplibre-gl": "^3.1.0",
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
"react": "^18.2.0",
|
|
106
107
|
"react-dom": "^18.2.0",
|
|
107
108
|
"renamer": "^4.0.0",
|
|
109
|
+
"replace-in-file": "^7.0.1",
|
|
108
110
|
"sass": "^1.63.6",
|
|
109
111
|
"svelte": "^4.0.0",
|
|
110
112
|
"svelte-check": "^3.4.4",
|
package/react.js
CHANGED
|
@@ -1412,9 +1412,7 @@ function at(n) {
|
|
|
1412
1412
|
return e[2] < e[0] && (e[2] += 360), e;
|
|
1413
1413
|
}
|
|
1414
1414
|
function Wn(n, e, t) {
|
|
1415
|
-
let r, { $$slots: l = {}, $$scope: u } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: o = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: v = !1 } = e, { country: g = void 0 } = e, { debounceSearch: B = 200 } = e, { enableReverse: I = !1 } = e, { errorMessage: T = "Something went wrong…" } = e, { filter: M = () => !0 } = e, { flyTo: A = !0 } = e, { fuzzyMatch: y = !0 } = e, { language: O = void 0 } = e, { limit: F = void 0 } = e, { mapController: h = void 0 } = e, { minLength: b = 2 } = e, { noResultsMessage: C = "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: R = "Search" } = e, { proximity: _ = void 0 } = e, { reverseActive: w = I === "always" } = e, { reverseButtonTitle: Q = "toggle reverse geocoding" } = e, { searchValue: a = "" } = e, { showFullGeometry: z = !0 } = e, { showPlaceType: x = "ifNeeded" } = e, { showResultsWhileTyping: oe = !0 } = e, { trackProximity: Ce = !0 } = e, { types: fe = void 0 } = e, { zoom: Re = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ue = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: Ae = {} } = e, {
|
|
1416
|
-
iconsBaseUrl: Qe = "https://cdn.maptiler.com/maptiler-geocoding-control/v0.0.92/icons/"
|
|
1417
|
-
} = e;
|
|
1415
|
+
let r, { $$slots: l = {}, $$scope: u } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: o = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: v = !1 } = e, { country: g = void 0 } = e, { debounceSearch: B = 200 } = e, { enableReverse: I = !1 } = e, { errorMessage: T = "Something went wrong…" } = e, { filter: M = () => !0 } = e, { flyTo: A = !0 } = e, { fuzzyMatch: y = !0 } = e, { language: O = void 0 } = e, { limit: F = void 0 } = e, { mapController: h = void 0 } = e, { minLength: b = 2 } = e, { noResultsMessage: C = "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: R = "Search" } = e, { proximity: _ = void 0 } = e, { reverseActive: w = I === "always" } = e, { reverseButtonTitle: Q = "toggle reverse geocoding" } = e, { searchValue: a = "" } = e, { showFullGeometry: z = !0 } = e, { showPlaceType: x = "ifNeeded" } = e, { showResultsWhileTyping: oe = !0 } = e, { trackProximity: Ce = !0 } = e, { types: fe = void 0 } = e, { zoom: Re = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ue = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: Ae = {} } = e, { iconsBaseUrl: Qe = "https://cdn.maptiler.com/maptiler-geocoding-control/v0.0.95/icons/" } = e;
|
|
1418
1416
|
function kt() {
|
|
1419
1417
|
J.focus();
|
|
1420
1418
|
}
|