@cosmicds/vue-toolkit 0.2.0 → 0.4.0

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.
Files changed (44) hide show
  1. package/README.md +20 -1
  2. package/dist/index.common.js +32528 -31853
  3. package/dist/index.umd.js +32527 -31844
  4. package/dist/index.umd.min.js +6 -4
  5. package/dist/src/background.d.ts +4 -0
  6. package/dist/src/components/CreditLogos.vue.d.ts +27 -2
  7. package/dist/src/components/FundingAcknowledgement.vue.d.ts +21 -0
  8. package/dist/src/components/Gallery.vue.d.ts +79 -2
  9. package/dist/src/components/GeolocationButton.vue.d.ts +132 -0
  10. package/dist/src/components/IconButton.vue.d.ts +130 -2
  11. package/dist/src/components/LocationSelector.vue.d.ts +139 -2
  12. package/dist/src/components/WwtHud.vue.d.ts +69 -0
  13. package/dist/src/composables.d.ts +25 -0
  14. package/dist/src/geolocation.d.ts +31 -0
  15. package/dist/src/index.d.ts +11 -8
  16. package/dist/src/keyboard.d.ts +35 -2
  17. package/dist/src/mapbox.d.ts +98 -0
  18. package/dist/src/stories/CreditLogos.stories.d.ts +6 -0
  19. package/dist/src/stories/FundingAcknowledgement.stories.d.ts +6 -0
  20. package/dist/src/stories/Gallery.stories.d.ts +6 -0
  21. package/dist/src/stories/IconButton.stories.d.ts +6 -0
  22. package/dist/src/stories/LocationSelector.stories.d.ts +6 -0
  23. package/dist/src/stories/WwtHud.stories.d.ts +6 -0
  24. package/dist/src/types.d.ts +241 -0
  25. package/dist/src/utils.d.ts +27 -1
  26. package/dist/src/wwt-utils.d.ts +11 -0
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +32 -4
  29. package/src/background.ts +4 -0
  30. package/src/composables.ts +69 -0
  31. package/src/geolocation.ts +122 -0
  32. package/src/index.ts +23 -15
  33. package/src/keyboard.ts +39 -5
  34. package/src/mapbox.ts +227 -0
  35. package/src/types.ts +271 -0
  36. package/src/utils.ts +54 -1
  37. package/src/wwt-utils.ts +57 -0
  38. package/dist/index.common.js.map +0 -1
  39. package/dist/index.umd.js.map +0 -1
  40. package/dist/index.umd.min.js.map +0 -1
  41. package/dist/src/components/DefaultMiniCredits.vue.d.ts +0 -3
  42. package/dist/src/components/FundingAcknowledgment.vue.d.ts +0 -3
  43. package/dist/src/components/MiniDSBase.d.ts +0 -373
  44. package/dist/src/components/wwtHUD.vue.d.ts +0 -3
@@ -1,6 +1,10 @@
1
+ /** Class representing a background imageset for WorldWide Telescope */
1
2
  export declare class BackgroundImageset {
3
+ /** The outward-facing name to use for the imageset in a story */
2
4
  imagesetName: string;
5
+ /** The name of the imageset object inside WorldWide Telescope */
3
6
  displayName: string;
4
7
  constructor(displayName: string, imagesetName: string);
5
8
  }
9
+ /** A default list of `BackgroundImagset` objects to use within data stories */
6
10
  export declare const skyBackgroundImagesets: BackgroundImageset[];
@@ -1,3 +1,28 @@
1
- export declare function render(_ctx: any, _cache: any, $props: any, $setup: any, $data: any, $options: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1
+ declare const _default: import("vue").DefineComponent<{
2
+ logoSize: {
3
+ default: string;
4
+ };
5
+ extraLogos: {
6
+ default: () => never[];
7
+ };
8
+ defaultLogos: {
9
+ default: () => string[];
10
+ };
11
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
12
  [key: string]: any;
3
- }>;
13
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ logoSize: {
15
+ default: string;
16
+ };
17
+ extraLogos: {
18
+ default: () => never[];
19
+ };
20
+ defaultLogos: {
21
+ default: () => string[];
22
+ };
23
+ }>>, {
24
+ logoSize: string;
25
+ extraLogos: never[];
26
+ defaultLogos: string[];
27
+ }, {}>;
28
+ export default _default;
@@ -0,0 +1,21 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ color: {
3
+ default: string;
4
+ };
5
+ backgroundColor: {
6
+ default: string;
7
+ };
8
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ color: {
12
+ default: string;
13
+ };
14
+ backgroundColor: {
15
+ default: string;
16
+ };
17
+ }>>, {
18
+ color: string;
19
+ backgroundColor: string;
20
+ }, {}>;
21
+ export default _default;
@@ -1,3 +1,80 @@
1
- export declare function render(_ctx: any, _cache: any, $props: any, $setup: any, $data: any, $options: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1
+ declare const _default: import("vue").DefineComponent<{
2
+ wtmlUrl: {};
3
+ columns: {
4
+ default: string;
5
+ };
6
+ width: {
7
+ default: string;
8
+ };
9
+ maxHeight: {
10
+ default: string;
11
+ };
12
+ title: {
13
+ default: string;
14
+ };
15
+ selectedColor: {
16
+ default: string;
17
+ };
18
+ singleSelect: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ highlightLastOnly: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ previewIndex: {
27
+ default: number;
28
+ };
29
+ closedText: {
30
+ default: string;
31
+ };
32
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
33
  [key: string]: any;
3
- }>;
34
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "deselect" | "listAllSelected")[], "select" | "deselect" | "listAllSelected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
+ wtmlUrl: {};
36
+ columns: {
37
+ default: string;
38
+ };
39
+ width: {
40
+ default: string;
41
+ };
42
+ maxHeight: {
43
+ default: string;
44
+ };
45
+ title: {
46
+ default: string;
47
+ };
48
+ selectedColor: {
49
+ default: string;
50
+ };
51
+ singleSelect: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ highlightLastOnly: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ previewIndex: {
60
+ default: number;
61
+ };
62
+ closedText: {
63
+ default: string;
64
+ };
65
+ }>> & {
66
+ onSelect?: ((...args: any[]) => any) | undefined;
67
+ onDeselect?: ((...args: any[]) => any) | undefined;
68
+ onListAllSelected?: ((...args: any[]) => any) | undefined;
69
+ }, {
70
+ columns: string;
71
+ width: string;
72
+ maxHeight: string;
73
+ title: string;
74
+ selectedColor: string;
75
+ singleSelect: boolean;
76
+ highlightLastOnly: boolean;
77
+ previewIndex: number;
78
+ closedText: string;
79
+ }, {}>;
80
+ export default _default;
@@ -0,0 +1,132 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ color: {
3
+ default: string;
4
+ };
5
+ size: {
6
+ default: string;
7
+ };
8
+ density: {
9
+ default: string;
10
+ };
11
+ elevation: {
12
+ default: string;
13
+ };
14
+ hideButton: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ showTextLabel: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ showCoords: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ showTextProgress: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ showProgressCircle: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ useTextButton: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ progressCircleSize: {
39
+ default: number;
40
+ };
41
+ label: {
42
+ default: string;
43
+ };
44
+ id: {};
45
+ trueIcon: {
46
+ default: string;
47
+ };
48
+ falseIcon: {
49
+ default: string;
50
+ };
51
+ showPermissions: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
+ [key: string]: any;
57
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "geolocation" | "permission")[], "error" | "geolocation" | "permission", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
+ color: {
59
+ default: string;
60
+ };
61
+ size: {
62
+ default: string;
63
+ };
64
+ density: {
65
+ default: string;
66
+ };
67
+ elevation: {
68
+ default: string;
69
+ };
70
+ hideButton: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ showTextLabel: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ showCoords: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ showTextProgress: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ showProgressCircle: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ useTextButton: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ progressCircleSize: {
95
+ default: number;
96
+ };
97
+ label: {
98
+ default: string;
99
+ };
100
+ id: {};
101
+ trueIcon: {
102
+ default: string;
103
+ };
104
+ falseIcon: {
105
+ default: string;
106
+ };
107
+ showPermissions: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ }>> & {
112
+ onError?: ((...args: any[]) => any) | undefined;
113
+ onGeolocation?: ((...args: any[]) => any) | undefined;
114
+ onPermission?: ((...args: any[]) => any) | undefined;
115
+ }, {
116
+ size: string;
117
+ color: string;
118
+ label: string;
119
+ density: string;
120
+ elevation: string;
121
+ hideButton: boolean;
122
+ showTextLabel: boolean;
123
+ showCoords: boolean;
124
+ showTextProgress: boolean;
125
+ showProgressCircle: boolean;
126
+ useTextButton: boolean;
127
+ progressCircleSize: number;
128
+ trueIcon: string;
129
+ falseIcon: string;
130
+ showPermissions: boolean;
131
+ }, {}>;
132
+ export default _default;
@@ -1,3 +1,131 @@
1
- export declare function render(_ctx: any, _cache: any, $props: any, $setup: any, $data: any, $options: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: BooleanConstructor;
4
+ };
5
+ faIcon: {};
6
+ mdIcon: {};
7
+ color: {
8
+ default: string;
9
+ };
10
+ focusColor: {
11
+ default: string;
12
+ };
13
+ activeColor: {
14
+ default: string;
15
+ };
16
+ backgroundColor: {
17
+ default: string;
18
+ };
19
+ border: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ longPressTimeMs: {
24
+ default: number;
25
+ };
26
+ tooltipText: {};
27
+ tooltipLocation: {
28
+ default: string;
29
+ };
30
+ tooltipOnClick: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ tooltipOnFocus: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ tooltipOnHover: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ tooltipOffset: {
43
+ default: number;
44
+ };
45
+ showTooltip: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ faSize: {
50
+ default: string;
51
+ };
52
+ mdSize: {
53
+ default: string;
54
+ };
55
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
56
  [key: string]: any;
3
- }>;
57
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "activate")[], "update:modelValue" | "activate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
+ modelValue: {
59
+ type: BooleanConstructor;
60
+ };
61
+ faIcon: {};
62
+ mdIcon: {};
63
+ color: {
64
+ default: string;
65
+ };
66
+ focusColor: {
67
+ default: string;
68
+ };
69
+ activeColor: {
70
+ default: string;
71
+ };
72
+ backgroundColor: {
73
+ default: string;
74
+ };
75
+ border: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ longPressTimeMs: {
80
+ default: number;
81
+ };
82
+ tooltipText: {};
83
+ tooltipLocation: {
84
+ default: string;
85
+ };
86
+ tooltipOnClick: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ tooltipOnFocus: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ tooltipOnHover: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ tooltipOffset: {
99
+ default: number;
100
+ };
101
+ showTooltip: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ faSize: {
106
+ default: string;
107
+ };
108
+ mdSize: {
109
+ default: string;
110
+ };
111
+ }>> & {
112
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
+ onActivate?: ((...args: any[]) => any) | undefined;
114
+ }, {
115
+ border: boolean;
116
+ color: string;
117
+ backgroundColor: string;
118
+ modelValue: boolean;
119
+ focusColor: string;
120
+ longPressTimeMs: number;
121
+ tooltipLocation: string;
122
+ tooltipOnClick: boolean;
123
+ tooltipOnFocus: boolean;
124
+ tooltipOnHover: boolean;
125
+ showTooltip: boolean;
126
+ faSize: string;
127
+ mdSize: string;
128
+ activeColor: string;
129
+ tooltipOffset: number;
130
+ }, {}>;
131
+ export default _default;
@@ -1,3 +1,140 @@
1
- export declare function render(_ctx: any, _cache: any, $props: any, $setup: any, $data: any, $options: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1
+ import L from 'leaflet';
2
+ import "leaflet/dist/leaflet.css";
3
+ import { LeafletMapOptions } from "../types";
4
+ declare const _default: import("vue").DefineComponent<{
5
+ activatorColor: {
6
+ default: string;
7
+ };
8
+ detectLocation: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ modelValue: {
13
+ default: () => {
14
+ latitudeDeg: number;
15
+ longitudeDeg: number;
16
+ };
17
+ };
18
+ mapOptions: {
19
+ default: () => LeafletMapOptions;
20
+ };
21
+ initialPlace: {};
22
+ places: {
23
+ default: () => never[];
24
+ };
25
+ placeCircleOptions: {
26
+ default: () => L.CircleMarkerOptions;
27
+ };
28
+ placeSelectable: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ selectable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ selectedCircleOptions: {
37
+ default: () => {
38
+ color: string;
39
+ fillColor: string;
40
+ fillOpacity: number;
41
+ radius: number;
42
+ };
43
+ };
44
+ selectionEvent: {
45
+ default: string;
46
+ };
47
+ worldRadii: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ geoJsonFiles: {
52
+ default: () => never[];
53
+ };
54
+ layers: {
55
+ default: () => never[];
56
+ };
57
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
58
  [key: string]: any;
3
- }>;
59
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("place" | "error" | "update:modelValue" | "mapReady")[], "place" | "error" | "update:modelValue" | "mapReady", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
+ activatorColor: {
61
+ default: string;
62
+ };
63
+ detectLocation: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ modelValue: {
68
+ default: () => {
69
+ latitudeDeg: number;
70
+ longitudeDeg: number;
71
+ };
72
+ };
73
+ mapOptions: {
74
+ default: () => LeafletMapOptions;
75
+ };
76
+ initialPlace: {};
77
+ places: {
78
+ default: () => never[];
79
+ };
80
+ placeCircleOptions: {
81
+ default: () => L.CircleMarkerOptions;
82
+ };
83
+ placeSelectable: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ selectable: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ selectedCircleOptions: {
92
+ default: () => {
93
+ color: string;
94
+ fillColor: string;
95
+ fillOpacity: number;
96
+ radius: number;
97
+ };
98
+ };
99
+ selectionEvent: {
100
+ default: string;
101
+ };
102
+ worldRadii: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ geoJsonFiles: {
107
+ default: () => never[];
108
+ };
109
+ layers: {
110
+ default: () => never[];
111
+ };
112
+ }>> & {
113
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
114
+ onPlace?: ((...args: any[]) => any) | undefined;
115
+ onError?: ((...args: any[]) => any) | undefined;
116
+ onMapReady?: ((...args: any[]) => any) | undefined;
117
+ }, {
118
+ modelValue: {
119
+ latitudeDeg: number;
120
+ longitudeDeg: number;
121
+ };
122
+ activatorColor: string;
123
+ detectLocation: boolean;
124
+ placeSelectable: boolean;
125
+ selectable: boolean;
126
+ selectionEvent: string;
127
+ worldRadii: boolean;
128
+ mapOptions: LeafletMapOptions;
129
+ places: never[];
130
+ placeCircleOptions: L.CircleMarkerOptions;
131
+ selectedCircleOptions: {
132
+ color: string;
133
+ fillColor: string;
134
+ fillOpacity: number;
135
+ radius: number;
136
+ };
137
+ geoJsonFiles: never[];
138
+ layers: never[];
139
+ }, {}>;
140
+ export default _default;
@@ -0,0 +1,69 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ location: {
3
+ default: () => {
4
+ top: string;
5
+ left: string;
6
+ };
7
+ };
8
+ offsetCenter: {
9
+ default: () => {
10
+ x: number;
11
+ y: number;
12
+ };
13
+ };
14
+ otherVariables: {
15
+ default: () => {};
16
+ };
17
+ fontSize: {
18
+ default: string;
19
+ };
20
+ backgroundColor: {
21
+ default: string;
22
+ };
23
+ textShadow: {
24
+ default: string;
25
+ };
26
+ store: {};
27
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ location: {
31
+ default: () => {
32
+ top: string;
33
+ left: string;
34
+ };
35
+ };
36
+ offsetCenter: {
37
+ default: () => {
38
+ x: number;
39
+ y: number;
40
+ };
41
+ };
42
+ otherVariables: {
43
+ default: () => {};
44
+ };
45
+ fontSize: {
46
+ default: string;
47
+ };
48
+ backgroundColor: {
49
+ default: string;
50
+ };
51
+ textShadow: {
52
+ default: string;
53
+ };
54
+ store: {};
55
+ }>>, {
56
+ location: {
57
+ top: string;
58
+ left: string;
59
+ };
60
+ backgroundColor: string;
61
+ fontSize: string;
62
+ textShadow: string;
63
+ offsetCenter: {
64
+ x: number;
65
+ y: number;
66
+ };
67
+ otherVariables: {};
68
+ }, {}>;
69
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { Ref } from "vue";
2
+ /**
3
+ * A composable that encapsulates fullscreen behavior.
4
+ * @returns A reactive variable indicating whether or not fullscreen mode is active
5
+ */
6
+ export declare function useFullscreen(): Ref<boolean>;
7
+ /** Interface describing the shape of a browser window */
8
+ export interface WindowShape {
9
+ width: number;
10
+ height: number;
11
+ }
12
+ /** A default `WindowShape` to use */
13
+ export declare const defaultWindowShape: {
14
+ width: number;
15
+ height: number;
16
+ };
17
+ /**
18
+ * A composable that encapsulates a changing window shape.
19
+ *
20
+ * @returns A reactive variable describing the current window shape.
21
+ */
22
+ export declare function useWindowShape(): Ref<{
23
+ width: number;
24
+ height: number;
25
+ }>;
@@ -0,0 +1,31 @@
1
+ import { Position } from "@capacitor/geolocation";
2
+ export type PositionCoords = Position['coords'];
3
+ /**
4
+ * A composable that encapsulates the current state of the browser
5
+ * geolocation position and permission status.
6
+ * @param onStartup - Whether or not to query the user's geolocation on startup.
7
+ * @returns Reactive state describing the geolocation
8
+ */
9
+ export declare function useGeolocation(onStartup?: boolean): {
10
+ geolocation: import("vue").Ref<{
11
+ latitude: number;
12
+ longitude: number;
13
+ accuracy: number;
14
+ altitudeAccuracy: number | null | undefined;
15
+ altitude: number | null;
16
+ speed: number | null;
17
+ heading: number | null;
18
+ } | null>;
19
+ error: import("vue").Ref<{
20
+ readonly code: number;
21
+ readonly message: string;
22
+ readonly PERMISSION_DENIED: number;
23
+ readonly POSITION_UNAVAILABLE: number;
24
+ readonly TIMEOUT: number;
25
+ } | null>;
26
+ permissions: import("vue").Ref<string>;
27
+ permissionGranted: import("vue").Ref<boolean>;
28
+ hasPermissionsAPI: import("vue").Ref<boolean>;
29
+ handlePosition: (position: Position) => void;
30
+ geolocate: () => Promise<Position>;
31
+ };