@visitscotland/component-library 5.51.1 → 5.53.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 (37) hide show
  1. package/LICENSE.txt +21 -21
  2. package/dist/components/{LoadingSpinner-CaO_-caf.mjs → LoadingSpinner-D0Xf9MWc.mjs} +4 -2
  3. package/dist/components/{LoadingSpinner-Dp1LUhwe.js → LoadingSpinner-GwEp7vJg.js} +1 -1
  4. package/dist/components/deprecated-B3DbN99Y.mjs +16 -0
  5. package/dist/components/{deprecated-BJ2e68Yo.js → deprecated-Cl9osRH8.js} +12 -12
  6. package/dist/components/{highland-cow-6AoCzBpF.mjs → highland-cow-BiKfZg7L.mjs} +14 -14
  7. package/dist/components/{highland-cow-DlMGnebG.js → highland-cow-CRm5ANrL.js} +14 -14
  8. package/dist/components/{iCentre-BnLcpIw8.js → iCentre-BeepnBTk.js} +42 -42
  9. package/dist/components/{iCentre-BLimkPxI.mjs → iCentre-DV4_tr7d.mjs} +42 -42
  10. package/dist/components/{os-logo-maps-DUN8X-lQ.mjs → os-logo-maps-B7DKWN7s.mjs} +9 -9
  11. package/dist/components/{os-logo-maps-QXAuept_.js → os-logo-maps-CF9QEvIX.js} +9 -9
  12. package/dist/components/{os-logo-maps-white-BTtf_Eki.js → os-logo-maps-white-DOUatF7F.js} +6 -6
  13. package/dist/components/{os-logo-maps-white-SKYtuD6d.mjs → os-logo-maps-white-Dl0tLZD_.mjs} +6 -6
  14. package/dist/components/{prototype-lvwJzV8T.mjs → prototype-8NKYzK-s.mjs} +13 -13
  15. package/dist/components/{prototype-DQocvgQh.js → prototype-ggLuAMuB.js} +12 -12
  16. package/dist/components/ready-DQA4tUcz.mjs +15 -0
  17. package/dist/components/{ready-D9pdKFkx.js → ready-DSUouF6L.js} +11 -11
  18. package/dist/components/{review-CknihZl_.mjs → review-B3KwWYuP.mjs} +11 -11
  19. package/dist/components/{review-7L3On10m.js → review-Bi0lAugE.js} +11 -11
  20. package/dist/components/src/components/form/Form.vue.d.ts +10 -4
  21. package/dist/components/src/components/select/Select.vue.d.ts +14 -14
  22. package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +2 -2
  23. package/dist/components/src/custom-components/maps/components/MapFeaturedLocation.vue.d.ts +6 -1
  24. package/dist/components/src/custom-components/maps/components/MapSidebar.vue.d.ts +22 -137
  25. package/dist/components/src/custom-components/maps/composables/useViewportController.d.ts +58 -0
  26. package/dist/components/src/custom-components/maps/index.d.ts +56 -190
  27. package/dist/components/src/stores/mainMap.store.d.ts +10 -1
  28. package/dist/components/style.css +1 -1
  29. package/dist/components/{visitscotland-logo-BEiiuSpo.mjs → visitscotland-logo-BA7LkUJw.mjs} +3 -3
  30. package/dist/components/{visitscotland-logo-NoymCLtN.js → visitscotland-logo-yAzNpi5x.js} +3 -3
  31. package/dist/components/vs-component-library-maps.js +1 -1
  32. package/dist/components/vs-component-library-maps.mjs +1 -1
  33. package/dist/components/vs-component-library.js +103 -103
  34. package/dist/components/vs-component-library.mjs +2909 -2777
  35. package/package.json +205 -205
  36. package/dist/components/deprecated-SV4OJNeR.mjs +0 -16
  37. 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<import('vue').ExtractPropTypes<{
44
- query: {
45
- type: StringConstructor;
46
- default: string;
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
- selectedCategories: string;
97
- headerLabel: string;
98
- closeSidebarButtonLabel: string;
99
- searchBarAriaLabel: string;
100
- inputPlaceholderLabel: string;
101
- searchButtonLabel: string;
102
- clearMapLabel: string;
103
- subFilterHeaderLabel: string;
104
- searchResultsLabel: string;
105
- openSidebarButtonLabel: string;
106
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
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<import('vue').ExtractPropTypes<{
114
- query: {
115
- type: StringConstructor;
116
- default: string;
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
- selectedCategories: string;
164
- headerLabel: string;
165
- closeSidebarButtonLabel: string;
166
- searchBarAriaLabel: string;
167
- inputPlaceholderLabel: string;
168
- searchButtonLabel: string;
169
- clearMapLabel: string;
170
- subFilterHeaderLabel: string;
171
- searchResultsLabel: string;
172
- openSidebarButtonLabel: string;
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<import('vue').ExtractPropTypes<{
178
- query: {
179
- type: StringConstructor;
180
- default: string;
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
- selectedCategories: string;
231
- headerLabel: string;
232
- closeSidebarButtonLabel: string;
233
- searchBarAriaLabel: string;
234
- inputPlaceholderLabel: string;
235
- searchButtonLabel: string;
236
- clearMapLabel: string;
237
- subFilterHeaderLabel: string;
238
- searchResultsLabel: string;
239
- openSidebarButtonLabel: string;
240
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
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<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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
- }, "sidebarOpen" | "timeMounted" | "firstInteraction" | "searchesCount" | "filterUsesCount">, Pick<{
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;