@maptiler/geocoding-control 0.0.92 → 0.0.93
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 +5 -1
- package/README.md +11 -1
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.js +3 -1
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +1 -1
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.js +3 -1
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +1 -1
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +3 -1
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +1 -1
- package/maptilersdk.umd.js.map +1 -1
- package/package.json +12 -12
- package/react.js +3 -1
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/types.d.ts +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.93",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Ždila",
|
|
@@ -33,12 +33,12 @@
|
|
|
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
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": "
|
|
36
|
+
"build-maptilersdk": "VITE_FLAVOUR=maptilersdk vite build",
|
|
37
|
+
"build-maplibre": "VITE_FLAVOUR=maplibre vite build",
|
|
38
|
+
"build-maplibre-controller": "VITE_FLAVOUR=maplibregl-controller vite build",
|
|
39
|
+
"build-leaflet": "VITE_FLAVOUR=leaflet vite build",
|
|
40
|
+
"build-leaflet-controller": "VITE_FLAVOUR=leaflet-controller vite build",
|
|
41
|
+
"build-react": "VITE_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",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@maptiler/sdk": "^1.
|
|
87
|
+
"@maptiler/sdk": "^1.1.1",
|
|
88
88
|
"@sveltejs/package": "^2.0.2",
|
|
89
89
|
"@sveltejs/vite-plugin-svelte": "^2.4.1",
|
|
90
90
|
"@tsconfig/svelte": "^4.0.1",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"@turf/union": "^6.5.0",
|
|
94
94
|
"@types/geojson": "^7946.0.10",
|
|
95
95
|
"@types/leaflet": "^1.9.3",
|
|
96
|
-
"@types/react": "^18.2.
|
|
97
|
-
"@types/react-dom": "^18.2.
|
|
96
|
+
"@types/react": "^18.2.13",
|
|
97
|
+
"@types/react-dom": "^18.2.6",
|
|
98
98
|
"concurrently": "^8.2.0",
|
|
99
99
|
"esm-env": "^1.0.0",
|
|
100
100
|
"leaflet": "^1.9.4",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"react": "^18.2.0",
|
|
106
106
|
"react-dom": "^18.2.0",
|
|
107
107
|
"renamer": "^4.0.0",
|
|
108
|
-
"sass": "^1.63.
|
|
109
|
-
"svelte": "^3.59.
|
|
108
|
+
"sass": "^1.63.5",
|
|
109
|
+
"svelte": "^3.59.2",
|
|
110
110
|
"svelte-check": "^3.4.3",
|
|
111
111
|
"svelte-preprocess": "^5.0.4",
|
|
112
112
|
"tslib": "^2.5.3",
|
package/react.js
CHANGED
|
@@ -1365,7 +1365,9 @@ function ft(n) {
|
|
|
1365
1365
|
return e[2] < e[0] && (e[2] += 360), e;
|
|
1366
1366
|
}
|
|
1367
1367
|
function Sn(n, e, t) {
|
|
1368
|
-
let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: c = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: k = !1 } = e, { country: g = void 0 } = e, { debounceSearch: C = 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: F = void 0 } = e, { limit: G = void 0 } = e, { mapController: h = void 0 } = e, { minLength: b = 2 } = e, { noResultsMessage: B = "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: u = "" } = e, { showFullGeometry: P = !0 } = e, { showPlaceType: x = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Be = !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, {
|
|
1368
|
+
let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: c = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: k = !1 } = e, { country: g = void 0 } = e, { debounceSearch: C = 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: F = void 0 } = e, { limit: G = void 0 } = e, { mapController: h = void 0 } = e, { minLength: b = 2 } = e, { noResultsMessage: B = "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: u = "" } = e, { showFullGeometry: P = !0 } = e, { showPlaceType: x = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Be = !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, {
|
|
1369
|
+
iconsBaseUrl: He = "https://cdn.maptiler.com/maptiler-geocoding-control/v0.0.93/icons/"
|
|
1370
|
+
} = e;
|
|
1369
1371
|
function wt() {
|
|
1370
1372
|
J.focus();
|
|
1371
1373
|
}
|