@visitscotland/component-library 5.51.1 → 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/LICENSE.txt +21 -21
- package/dist/components/deprecated-B3DbN99Y.mjs +16 -0
- package/dist/components/{deprecated-BJ2e68Yo.js → deprecated-Cl9osRH8.js} +12 -12
- package/dist/components/{highland-cow-6AoCzBpF.mjs → highland-cow-BiKfZg7L.mjs} +14 -14
- package/dist/components/{highland-cow-DlMGnebG.js → highland-cow-CRm5ANrL.js} +14 -14
- package/dist/components/{iCentre-BnLcpIw8.js → iCentre-BeepnBTk.js} +42 -42
- package/dist/components/{iCentre-BLimkPxI.mjs → iCentre-DV4_tr7d.mjs} +42 -42
- package/dist/components/{os-logo-maps-DUN8X-lQ.mjs → os-logo-maps-B7DKWN7s.mjs} +9 -9
- package/dist/components/{os-logo-maps-QXAuept_.js → os-logo-maps-CF9QEvIX.js} +9 -9
- package/dist/components/{os-logo-maps-white-BTtf_Eki.js → os-logo-maps-white-DOUatF7F.js} +6 -6
- package/dist/components/{os-logo-maps-white-SKYtuD6d.mjs → os-logo-maps-white-Dl0tLZD_.mjs} +6 -6
- package/dist/components/{prototype-lvwJzV8T.mjs → prototype-8NKYzK-s.mjs} +13 -13
- package/dist/components/{prototype-DQocvgQh.js → prototype-ggLuAMuB.js} +12 -12
- package/dist/components/ready-DQA4tUcz.mjs +15 -0
- package/dist/components/{ready-D9pdKFkx.js → ready-DSUouF6L.js} +11 -11
- package/dist/components/{review-CknihZl_.mjs → review-B3KwWYuP.mjs} +11 -11
- package/dist/components/{review-7L3On10m.js → review-Bi0lAugE.js} +11 -11
- package/dist/components/src/components/form/Form.vue.d.ts +10 -4
- package/dist/components/src/components/select/Select.vue.d.ts +14 -14
- 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/{visitscotland-logo-BEiiuSpo.mjs → visitscotland-logo-BA7LkUJw.mjs} +3 -3
- package/dist/components/{visitscotland-logo-NoymCLtN.js → visitscotland-logo-yAzNpi5x.js} +3 -3
- package/dist/components/vs-component-library.js +103 -103
- package/dist/components/vs-component-library.mjs +2908 -2776
- package/package.json +205 -205
- package/dist/components/deprecated-SV4OJNeR.mjs +0 -16
- package/dist/components/ready-CWPx4e9A.mjs +0 -15
|
@@ -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;
|