@visitscotland/component-library 5.50.0 → 5.52.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.
- package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +2 -2
- package/dist/components/src/custom-components/maps/components/MapFeaturedLocation.vue.d.ts +6 -1
- package/dist/components/src/custom-components/maps/components/MapSidebar.vue.d.ts +22 -137
- package/dist/components/src/custom-components/maps/composables/useViewportController.d.ts +58 -0
- package/dist/components/src/custom-components/maps/index.d.ts +56 -190
- package/dist/components/src/stores/mainMap.store.d.ts +10 -1
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library.js +9 -9
- package/dist/components/vs-component-library.mjs +2802 -2670
- package/package.json +2 -2
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
mapId: string;
|
|
8
8
|
radius: number;
|
|
9
9
|
labels: Record<string, any>;
|
|
10
|
-
mapTypeVector: boolean;
|
|
11
10
|
zoom: number;
|
|
11
|
+
mapTypeVector: boolean;
|
|
12
12
|
languageCode: string;
|
|
13
13
|
categoriesLocation: string;
|
|
14
14
|
categoryLabels: Record<string, any>;
|
|
@@ -26,8 +26,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
26
26
|
readonly mapId?: string;
|
|
27
27
|
readonly radius?: number;
|
|
28
28
|
readonly labels?: Record<string, any>;
|
|
29
|
-
readonly mapTypeVector?: boolean;
|
|
30
29
|
readonly zoom?: number;
|
|
30
|
+
readonly mapTypeVector?: boolean;
|
|
31
31
|
readonly languageCode?: string;
|
|
32
32
|
readonly categoriesLocation?: string;
|
|
33
33
|
readonly categoryLabels?: Record<string, any>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
locationSelectLabel: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly locationSelectLabel?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
7
|
export default _default;
|
|
@@ -1,140 +1,25 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
"vs-map-sidebar-sub-filters"?(_: {}): any;
|
|
3
|
-
"vs-map-sidebar-search-results"?(_: {}): any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
-
/** Text query from Map Search */
|
|
7
|
-
query: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
/** Selected Top Level Category */
|
|
12
|
-
selectedCategories: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
/** Label for the sidebar header */
|
|
17
|
-
headerLabel: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
/** Label for the close sidebar button */
|
|
22
|
-
closeSidebarButtonLabel: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
/** ARIA Label for the input */
|
|
27
|
-
searchBarAriaLabel: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
/** Label for the input placeholder text */
|
|
32
|
-
inputPlaceholderLabel: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
/** Label for the search button */
|
|
37
|
-
searchButtonLabel: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
/** Label for the clear map link */
|
|
42
|
-
clearMapLabel: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
subFilterHeaderLabel: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
/** Label for the search results text */
|
|
51
|
-
searchResultsLabel: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
/** Label for the open sidebar button */
|
|
56
|
-
openSidebarButtonLabel: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
"search-input-changed": (...args: any[]) => void;
|
|
62
|
-
"reset-map": (...args: any[]) => void;
|
|
63
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
-
/** Text query from Map Search */
|
|
65
|
-
query: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
/** Selected Top Level Category */
|
|
70
|
-
selectedCategories: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
/** Label for the sidebar header */
|
|
75
|
-
headerLabel: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
/** Label for the close sidebar button */
|
|
80
|
-
closeSidebarButtonLabel: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
/** ARIA Label for the input */
|
|
85
|
-
searchBarAriaLabel: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
/** Label for the input placeholder text */
|
|
90
|
-
inputPlaceholderLabel: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
/** Label for the search button */
|
|
95
|
-
searchButtonLabel: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
/** Label for the clear map link */
|
|
100
|
-
clearMapLabel: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
subFilterHeaderLabel: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
/** Label for the search results text */
|
|
109
|
-
searchResultsLabel: {
|
|
110
|
-
type: StringConstructor;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
/** Label for the open sidebar button */
|
|
114
|
-
openSidebarButtonLabel: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
}>> & Readonly<{
|
|
119
|
-
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
120
|
-
"onReset-map"?: (...args: any[]) => any;
|
|
121
|
-
}>, {
|
|
122
|
-
query: string;
|
|
123
|
-
selectedCategories: string;
|
|
124
|
-
headerLabel: string;
|
|
125
|
-
closeSidebarButtonLabel: string;
|
|
126
|
-
searchBarAriaLabel: string;
|
|
127
|
-
inputPlaceholderLabel: string;
|
|
128
|
-
searchButtonLabel: string;
|
|
129
|
-
clearMapLabel: string;
|
|
130
|
-
subFilterHeaderLabel: string;
|
|
131
|
-
searchResultsLabel: string;
|
|
132
|
-
openSidebarButtonLabel: string;
|
|
133
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
1
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
135
2
|
export default _default;
|
|
136
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "category-selected" | "reset-location" | "reset-map" | "search-input-changed" | "subcategory-selected", ...args: any[]) => void;
|
|
8
|
+
categories: Record<string, any>;
|
|
9
|
+
selectedCategory: string;
|
|
10
|
+
query: string;
|
|
11
|
+
sidebarLabels: Record<string, any>;
|
|
12
|
+
categoryData: Record<string, any>;
|
|
13
|
+
selectedSubcategories?: Record<string, any>;
|
|
14
|
+
$props: {
|
|
15
|
+
readonly categories?: Record<string, any>;
|
|
16
|
+
readonly selectedCategory?: string;
|
|
17
|
+
readonly query?: string;
|
|
18
|
+
readonly sidebarLabels?: Record<string, any>;
|
|
19
|
+
readonly categoryData?: Record<string, any>;
|
|
20
|
+
readonly selectedSubcategories?: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
"vs-map-sidebar-search-results"?(_: {}): any;
|
|
140
25
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
type ViewportCenter = google.maps.LatLngLiteral;
|
|
2
|
+
type Viewport = {
|
|
3
|
+
bounds: google.maps.LatLngBounds | null;
|
|
4
|
+
center: ViewportCenter;
|
|
5
|
+
zoom: number;
|
|
6
|
+
};
|
|
7
|
+
export default function useViewportController(): {
|
|
8
|
+
getViewport: (gMap: google.maps.Map) => Viewport;
|
|
9
|
+
hasViewportChanged: (newViewPort: Viewport) => boolean;
|
|
10
|
+
isProgrammaticMove: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
isUserMove: import('vue').Ref<boolean, boolean>;
|
|
12
|
+
lastSearchViewport: import('vue').Ref<{
|
|
13
|
+
bounds: {
|
|
14
|
+
contains: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => boolean;
|
|
15
|
+
equals: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null) => boolean;
|
|
16
|
+
extend: (point: google.maps.LatLng | google.maps.LatLngLiteral) => google.maps.LatLngBounds;
|
|
17
|
+
getCenter: () => google.maps.LatLng;
|
|
18
|
+
getNorthEast: () => google.maps.LatLng;
|
|
19
|
+
getSouthWest: () => google.maps.LatLng;
|
|
20
|
+
intersects: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => boolean;
|
|
21
|
+
isEmpty: () => boolean;
|
|
22
|
+
toJSON: () => google.maps.LatLngBoundsLiteral;
|
|
23
|
+
toSpan: () => google.maps.LatLng;
|
|
24
|
+
toString: () => string;
|
|
25
|
+
toUrlValue: (precision?: number) => string;
|
|
26
|
+
union: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => google.maps.LatLngBounds;
|
|
27
|
+
};
|
|
28
|
+
center: {
|
|
29
|
+
lat: number;
|
|
30
|
+
lng: number;
|
|
31
|
+
};
|
|
32
|
+
zoom: number;
|
|
33
|
+
}, Viewport | {
|
|
34
|
+
bounds: {
|
|
35
|
+
contains: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => boolean;
|
|
36
|
+
equals: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null) => boolean;
|
|
37
|
+
extend: (point: google.maps.LatLng | google.maps.LatLngLiteral) => google.maps.LatLngBounds;
|
|
38
|
+
getCenter: () => google.maps.LatLng;
|
|
39
|
+
getNorthEast: () => google.maps.LatLng;
|
|
40
|
+
getSouthWest: () => google.maps.LatLng;
|
|
41
|
+
intersects: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => boolean;
|
|
42
|
+
isEmpty: () => boolean;
|
|
43
|
+
toJSON: () => google.maps.LatLngBoundsLiteral;
|
|
44
|
+
toSpan: () => google.maps.LatLng;
|
|
45
|
+
toString: () => string;
|
|
46
|
+
toUrlValue: (precision?: number) => string;
|
|
47
|
+
union: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => google.maps.LatLngBounds;
|
|
48
|
+
};
|
|
49
|
+
center: {
|
|
50
|
+
lat: number;
|
|
51
|
+
lng: number;
|
|
52
|
+
};
|
|
53
|
+
zoom: number;
|
|
54
|
+
}>;
|
|
55
|
+
runProgrammaticMove: (fn: Function) => void;
|
|
56
|
+
showSearchAreaButton: import('vue').Ref<boolean, boolean>;
|
|
57
|
+
};
|
|
58
|
+
export {};
|
|
@@ -8,8 +8,8 @@ declare const _default: {
|
|
|
8
8
|
mapId: string;
|
|
9
9
|
radius: number;
|
|
10
10
|
labels: Record<string, any>;
|
|
11
|
-
mapTypeVector: boolean;
|
|
12
11
|
zoom: number;
|
|
12
|
+
mapTypeVector: boolean;
|
|
13
13
|
languageCode: string;
|
|
14
14
|
categoriesLocation: string;
|
|
15
15
|
categoryLabels: Record<string, any>;
|
|
@@ -27,8 +27,8 @@ declare const _default: {
|
|
|
27
27
|
readonly mapId?: string;
|
|
28
28
|
readonly radius?: number;
|
|
29
29
|
readonly labels?: Record<string, any>;
|
|
30
|
-
readonly mapTypeVector?: boolean;
|
|
31
30
|
readonly zoom?: number;
|
|
31
|
+
readonly mapTypeVector?: boolean;
|
|
32
32
|
readonly languageCode?: string;
|
|
33
33
|
readonly categoriesLocation?: string;
|
|
34
34
|
readonly categoryLabels?: Record<string, any>;
|
|
@@ -40,210 +40,76 @@ declare const _default: {
|
|
|
40
40
|
};
|
|
41
41
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
VsMapSidebar: {
|
|
43
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
48
|
-
selectedCategories: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
headerLabel: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
closeSidebarButtonLabel: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
searchBarAriaLabel: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
inputPlaceholderLabel: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
searchButtonLabel: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
clearMapLabel: {
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
subFilterHeaderLabel: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
searchResultsLabel: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
openSidebarButtonLabel: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
}>> & Readonly<{
|
|
89
|
-
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
90
|
-
"onReset-map"?: (...args: any[]) => any;
|
|
91
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
92
|
-
"search-input-changed": (...args: any[]) => void;
|
|
93
|
-
"reset-map": (...args: any[]) => void;
|
|
94
|
-
}, import('vue').PublicProps, {
|
|
43
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
44
|
+
$emit: (event: "category-selected" | "reset-location" | "reset-map" | "search-input-changed" | "subcategory-selected", ...args: any[]) => void;
|
|
45
|
+
categories: Record<string, any>;
|
|
46
|
+
selectedCategory: string;
|
|
95
47
|
query: string;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
48
|
+
sidebarLabels: Record<string, any>;
|
|
49
|
+
categoryData: Record<string, any>;
|
|
50
|
+
selectedSubcategories?: Record<string, any>;
|
|
51
|
+
$props: {
|
|
52
|
+
readonly categories?: Record<string, any>;
|
|
53
|
+
readonly selectedCategory?: string;
|
|
54
|
+
readonly query?: string;
|
|
55
|
+
readonly sidebarLabels?: Record<string, any>;
|
|
56
|
+
readonly categoryData?: Record<string, any>;
|
|
57
|
+
readonly selectedSubcategories?: Record<string, any>;
|
|
58
|
+
};
|
|
59
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
107
60
|
P: {};
|
|
108
61
|
B: {};
|
|
109
62
|
D: {};
|
|
110
63
|
C: {};
|
|
111
64
|
M: {};
|
|
112
65
|
Defaults: {};
|
|
113
|
-
}, Readonly<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
};
|
|
118
|
-
selectedCategories: {
|
|
119
|
-
type: StringConstructor;
|
|
120
|
-
default: string;
|
|
121
|
-
};
|
|
122
|
-
headerLabel: {
|
|
123
|
-
type: StringConstructor;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
|
-
closeSidebarButtonLabel: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
searchBarAriaLabel: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
inputPlaceholderLabel: {
|
|
135
|
-
type: StringConstructor;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
|
-
searchButtonLabel: {
|
|
139
|
-
type: StringConstructor;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
|
-
clearMapLabel: {
|
|
143
|
-
type: StringConstructor;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
|
-
subFilterHeaderLabel: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
searchResultsLabel: {
|
|
151
|
-
type: StringConstructor;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
openSidebarButtonLabel: {
|
|
155
|
-
type: StringConstructor;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
|
-
}>> & Readonly<{
|
|
159
|
-
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
160
|
-
"onReset-map"?: (...args: any[]) => any;
|
|
161
|
-
}>, {}, {}, {}, {}, {
|
|
66
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
67
|
+
$emit: (event: "category-selected" | "reset-location" | "reset-map" | "search-input-changed" | "subcategory-selected", ...args: any[]) => void;
|
|
68
|
+
categories: Record<string, any>;
|
|
69
|
+
selectedCategory: string;
|
|
162
70
|
query: string;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
71
|
+
sidebarLabels: Record<string, any>;
|
|
72
|
+
categoryData: Record<string, any>;
|
|
73
|
+
selectedSubcategories?: Record<string, any>;
|
|
74
|
+
$props: {
|
|
75
|
+
readonly categories?: Record<string, any>;
|
|
76
|
+
readonly selectedCategory?: string;
|
|
77
|
+
readonly query?: string;
|
|
78
|
+
readonly sidebarLabels?: Record<string, any>;
|
|
79
|
+
readonly categoryData?: Record<string, any>;
|
|
80
|
+
readonly selectedSubcategories?: Record<string, any>;
|
|
81
|
+
};
|
|
82
|
+
}, {}, {}, {}, {}>;
|
|
174
83
|
__isFragment?: never;
|
|
175
84
|
__isTeleport?: never;
|
|
176
85
|
__isSuspense?: never;
|
|
177
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
};
|
|
182
|
-
selectedCategories: {
|
|
183
|
-
type: StringConstructor;
|
|
184
|
-
default: string;
|
|
185
|
-
};
|
|
186
|
-
headerLabel: {
|
|
187
|
-
type: StringConstructor;
|
|
188
|
-
default: string;
|
|
189
|
-
};
|
|
190
|
-
closeSidebarButtonLabel: {
|
|
191
|
-
type: StringConstructor;
|
|
192
|
-
default: string;
|
|
193
|
-
};
|
|
194
|
-
searchBarAriaLabel: {
|
|
195
|
-
type: StringConstructor;
|
|
196
|
-
default: string;
|
|
197
|
-
};
|
|
198
|
-
inputPlaceholderLabel: {
|
|
199
|
-
type: StringConstructor;
|
|
200
|
-
default: string;
|
|
201
|
-
};
|
|
202
|
-
searchButtonLabel: {
|
|
203
|
-
type: StringConstructor;
|
|
204
|
-
default: string;
|
|
205
|
-
};
|
|
206
|
-
clearMapLabel: {
|
|
207
|
-
type: StringConstructor;
|
|
208
|
-
default: string;
|
|
209
|
-
};
|
|
210
|
-
subFilterHeaderLabel: {
|
|
211
|
-
type: StringConstructor;
|
|
212
|
-
default: string;
|
|
213
|
-
};
|
|
214
|
-
searchResultsLabel: {
|
|
215
|
-
type: StringConstructor;
|
|
216
|
-
default: string;
|
|
217
|
-
};
|
|
218
|
-
openSidebarButtonLabel: {
|
|
219
|
-
type: StringConstructor;
|
|
220
|
-
default: string;
|
|
221
|
-
};
|
|
222
|
-
}>> & Readonly<{
|
|
223
|
-
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
224
|
-
"onReset-map"?: (...args: any[]) => any;
|
|
225
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
226
|
-
"search-input-changed": (...args: any[]) => void;
|
|
227
|
-
"reset-map": (...args: any[]) => void;
|
|
228
|
-
}, string, {
|
|
86
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
87
|
+
$emit: (event: "category-selected" | "reset-location" | "reset-map" | "search-input-changed" | "subcategory-selected", ...args: any[]) => void;
|
|
88
|
+
categories: Record<string, any>;
|
|
89
|
+
selectedCategory: string;
|
|
229
90
|
query: string;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
91
|
+
sidebarLabels: Record<string, any>;
|
|
92
|
+
categoryData: Record<string, any>;
|
|
93
|
+
selectedSubcategories?: Record<string, any>;
|
|
94
|
+
$props: {
|
|
95
|
+
readonly categories?: Record<string, any>;
|
|
96
|
+
readonly selectedCategory?: string;
|
|
97
|
+
readonly query?: string;
|
|
98
|
+
readonly sidebarLabels?: Record<string, any>;
|
|
99
|
+
readonly categoryData?: Record<string, any>;
|
|
100
|
+
readonly selectedSubcategories?: Record<string, any>;
|
|
101
|
+
};
|
|
102
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
241
103
|
$slots: {
|
|
242
|
-
"vs-map-sidebar-sub-filters"?(_: {}): any;
|
|
243
104
|
"vs-map-sidebar-search-results"?(_: {}): any;
|
|
244
105
|
};
|
|
245
106
|
});
|
|
246
|
-
VsMapFeaturedLocation: import('vue').DefineComponent<{}, {
|
|
107
|
+
VsMapFeaturedLocation: import('vue').DefineComponent<{}, {
|
|
108
|
+
locationSelectLabel: string;
|
|
109
|
+
$props: {
|
|
110
|
+
readonly locationSelectLabel?: string;
|
|
111
|
+
};
|
|
112
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
247
113
|
VsMapFeaturedLocationItem: import('vue').DefineComponent<{}, {
|
|
248
114
|
place: Record<string, any>;
|
|
249
115
|
$props: {
|
|
@@ -4,17 +4,26 @@ declare const useGoogleMapStore: import('pinia').StoreDefinition<"googleMap", Pi
|
|
|
4
4
|
firstInteraction: import('vue').Ref<boolean, boolean>;
|
|
5
5
|
searchesCount: import('vue').Ref<number, number>;
|
|
6
6
|
filterUsesCount: import('vue').Ref<number, number>;
|
|
7
|
-
|
|
7
|
+
showDestinations: import('vue').Ref<boolean, boolean>;
|
|
8
|
+
showCategories: import('vue').Ref<boolean, boolean>;
|
|
9
|
+
selectedDestinationType: import('vue').Ref<string, string>;
|
|
10
|
+
}, "sidebarOpen" | "timeMounted" | "firstInteraction" | "searchesCount" | "filterUsesCount" | "showDestinations" | "showCategories" | "selectedDestinationType">, Pick<{
|
|
8
11
|
sidebarOpen: import('vue').Ref<boolean, boolean>;
|
|
9
12
|
timeMounted: import('vue').Ref<number, number>;
|
|
10
13
|
firstInteraction: import('vue').Ref<boolean, boolean>;
|
|
11
14
|
searchesCount: import('vue').Ref<number, number>;
|
|
12
15
|
filterUsesCount: import('vue').Ref<number, number>;
|
|
16
|
+
showDestinations: import('vue').Ref<boolean, boolean>;
|
|
17
|
+
showCategories: import('vue').Ref<boolean, boolean>;
|
|
18
|
+
selectedDestinationType: import('vue').Ref<string, string>;
|
|
13
19
|
}, never>, Pick<{
|
|
14
20
|
sidebarOpen: import('vue').Ref<boolean, boolean>;
|
|
15
21
|
timeMounted: import('vue').Ref<number, number>;
|
|
16
22
|
firstInteraction: import('vue').Ref<boolean, boolean>;
|
|
17
23
|
searchesCount: import('vue').Ref<number, number>;
|
|
18
24
|
filterUsesCount: import('vue').Ref<number, number>;
|
|
25
|
+
showDestinations: import('vue').Ref<boolean, boolean>;
|
|
26
|
+
showCategories: import('vue').Ref<boolean, boolean>;
|
|
27
|
+
selectedDestinationType: import('vue').Ref<string, string>;
|
|
19
28
|
}, never>>;
|
|
20
29
|
export default useGoogleMapStore;
|