@blateral/b.kit 2.0.0-beta.24.1 → 2.0.0-beta.24.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/lib/components/sections/form/DynamicForm.d.ts +2 -2
- package/lib/components/sections/form/DynamicForm.d.ts.map +1 -1
- package/lib/components/sections/pois/PointOfInterestMap.d.ts +0 -4
- package/lib/components/sections/pois/PointOfInterestMap.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/useGeolocation.d.ts +1 -1
- package/lib/utils/useGeolocation.d.ts.map +1 -1
- package/lib/utils/useLeafletMap.d.ts +0 -3
- package/lib/utils/useLeafletMap.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ declare const useGeolocation: (enableHighAccuracy?: boolean, autostart?: boolean
|
|
|
3
3
|
isEnabled: boolean | undefined;
|
|
4
4
|
location: GeolocationPosition | undefined;
|
|
5
5
|
error: GeolocationPositionError | undefined;
|
|
6
|
-
reset: () =>
|
|
6
|
+
reset: () => Promise<GeolocationPosition>;
|
|
7
7
|
cancel: () => void;
|
|
8
8
|
};
|
|
9
9
|
export default useGeolocation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGeolocation.d.ts","sourceRoot":"","sources":["../../src/utils/useGeolocation.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;;;
|
|
1
|
+
{"version":3,"file":"useGeolocation.d.ts","sourceRoot":"","sources":["../../src/utils/useGeolocation.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;;;CAuEnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -14,8 +14,6 @@ export interface LeafletMapSettings {
|
|
|
14
14
|
activeMarkerId?: string;
|
|
15
15
|
fitBoundsPadding: [number, number];
|
|
16
16
|
restrictToMarkersArea?: boolean;
|
|
17
|
-
maxBoundsViscosity?: number;
|
|
18
|
-
markerAreaBufferRatio?: number;
|
|
19
17
|
showZoomControls?: boolean;
|
|
20
18
|
zoomControlPosition?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright';
|
|
21
19
|
onMarkerClick?: (markerId: string) => void;
|
|
@@ -46,7 +44,6 @@ declare const useLeafletMap: (settings: Partial<LeafletMapSettings>) => {
|
|
|
46
44
|
flyToPosition: (position?: [number, number] | undefined, zoom?: number | undefined) => void;
|
|
47
45
|
panToPosition: (position?: [number, number] | undefined) => void;
|
|
48
46
|
showAllMarkers: () => void;
|
|
49
|
-
restrictMapToMarkers: (bufferRatio?: number | undefined) => void;
|
|
50
47
|
recalculateMapSize: () => void;
|
|
51
48
|
getCurrentZoom: () => number;
|
|
52
49
|
isLoaded: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLeafletMap.d.ts","sourceRoot":"","sources":["../../src/utils/useLeafletMap.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"useLeafletMap.d.ts","sourceRoot":"","sources":["../../src/utils/useLeafletMap.tsx"],"names":[],"mappings":";AACA,OAAO,EAGH,iBAAiB,EAIpB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,CAAC,MAAM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