@visitscotland/component-library 5.59.4 → 5.60.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/dist/client/styles/third-party/_cludo-autocomplete.css +1 -1
  2. package/dist/client/styles/third-party/_cludo-search-results.css +1 -1
  3. package/dist/client/styles/third-party/_font-awesome.css +1 -5
  4. package/dist/client/styles/third-party/_stackla-styles.css +1 -1
  5. package/dist/components/LoadingSpinner-DIF2VIpy.js +34 -0
  6. package/dist/components/{LoadingSpinner-ij7CWJOg.mjs → LoadingSpinner-qV9BMyBY.mjs} +4807 -4808
  7. package/dist/components/_name_.css +1 -0
  8. package/dist/components/src/components/breadcrumb/components/BreadcrumbItem.vue.d.ts +0 -2
  9. package/dist/components/src/components/carousel/components/CarouselSlide.vue.d.ts +0 -3
  10. package/dist/components/src/components/content-swiper/ContentSwiper.vue.d.ts +6 -6
  11. package/dist/components/src/components/dropdown/Dropdown.vue.d.ts +3 -1
  12. package/dist/components/src/components/form/Form.vue.d.ts +23 -0
  13. package/dist/components/src/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +3 -1
  14. package/dist/components/src/components/hero-section/HeroSection.vue.d.ts +0 -6
  15. package/dist/components/src/components/map/Map.vue.d.ts +3 -3
  16. package/dist/components/src/components/map/components/MapMarker.vue.d.ts +3 -3
  17. package/dist/components/src/components/map-with-sidebar/MapWithSidebar.vue.d.ts +8 -8
  18. package/dist/components/src/components/map-with-sidebar/components/MapWithSidebarControls.vue.d.ts +1 -1
  19. package/dist/components/src/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +1 -1
  20. package/dist/components/src/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +4 -4
  21. package/dist/components/src/components/map-with-sidebar/components/MapWithSidebarSubcategory.vue.d.ts +1 -1
  22. package/dist/components/src/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +0 -3
  23. package/dist/components/src/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +0 -3
  24. package/dist/components/src/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +0 -3
  25. package/dist/components/src/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +0 -3
  26. package/dist/components/src/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +0 -3
  27. package/dist/components/src/components/stretched-link-card/StretchedLinkCard.vue.d.ts +0 -3
  28. package/dist/components/src/custom-components/maps/composables/useViewportController.d.ts +6 -6
  29. package/dist/components/src/stores/map.store.d.ts +68 -42
  30. package/dist/components/src/types/types.d.ts +43 -0
  31. package/dist/components/vs-component-library-maps.js +65 -65
  32. package/dist/components/vs-component-library-maps.mjs +18259 -17539
  33. package/dist/components/vs-component-library.js +8 -11
  34. package/dist/components/vs-component-library.mjs +1799 -1771
  35. package/package.json +18 -26
  36. package/dist/components/LoadingSpinner-DE86z2xi.js +0 -41
  37. package/dist/components/style.css +0 -5
@@ -26,7 +26,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
26
  text: {
27
27
  type: StringConstructor;
28
28
  default: string;
29
- required: true;
30
29
  };
31
30
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
32
31
  /**
@@ -56,7 +55,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
56
55
  text: {
57
56
  type: StringConstructor;
58
57
  default: string;
59
- required: true;
60
58
  };
61
59
  }>> & Readonly<{}>, {
62
60
  href: string;
@@ -177,7 +177,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
177
177
  link: {
178
178
  type: StringConstructor;
179
179
  required: true;
180
- default: string;
181
180
  };
182
181
  headingLevel: {
183
182
  type: (StringConstructor | NumberConstructor)[];
@@ -298,7 +297,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
298
297
  link: {
299
298
  type: StringConstructor;
300
299
  required: true;
301
- default: string;
302
300
  };
303
301
  headingLevel: {
304
302
  type: (StringConstructor | NumberConstructor)[];
@@ -358,7 +356,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
358
356
  default: boolean;
359
357
  };
360
358
  }>> & Readonly<{}>, {
361
- link: string;
362
359
  disabled: boolean;
363
360
  headingStyle: string | number;
364
361
  imgAlt: string;
@@ -657,19 +657,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
657
657
  hashChange: (swiper: import('swiper/types').Swiper) => void;
658
658
  hashSet: (swiper: import('swiper/types').Swiper) => void;
659
659
  keyPress: (swiper: import('swiper/types').Swiper, keyCode: string) => void;
660
- paginationRender: (swiper: import('swiper/types').Swiper, paginationEl: HTMLElement) => void;
661
- paginationUpdate: (swiper: import('swiper/types').Swiper, paginationEl: HTMLElement) => void;
662
- paginationHide: (swiper: import('swiper/types').Swiper) => void;
663
- paginationShow: (swiper: import('swiper/types').Swiper) => void;
660
+ scroll: (swiper: import('swiper/types').Swiper, event: WheelEvent) => void;
664
661
  navigationHide: (swiper: import('swiper/types').Swiper) => void;
665
662
  navigationShow: (swiper: import('swiper/types').Swiper) => void;
666
663
  navigationPrev: (swiper: import('swiper/types').Swiper) => void;
667
664
  navigationNext: (swiper: import('swiper/types').Swiper) => void;
668
- scroll: (swiper: import('swiper/types').Swiper, event: WheelEvent) => void;
669
- zoomChange: (swiper: import('swiper/types').Swiper, scale: number, imageEl: HTMLElement, slideEl: HTMLElement) => void;
665
+ paginationRender: (swiper: import('swiper/types').Swiper, paginationEl: HTMLElement) => void;
666
+ paginationUpdate: (swiper: import('swiper/types').Swiper, paginationEl: HTMLElement) => void;
667
+ paginationHide: (swiper: import('swiper/types').Swiper) => void;
668
+ paginationShow: (swiper: import('swiper/types').Swiper) => void;
670
669
  scrollbarDragStart: (swiper: import('swiper/types').Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
671
670
  scrollbarDragMove: (swiper: import('swiper/types').Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
672
671
  scrollbarDragEnd: (swiper: import('swiper/types').Swiper, event: MouseEvent | TouchEvent | PointerEvent) => void;
672
+ zoomChange: (swiper: import('swiper/types').Swiper, scale: number, imageEl: HTMLElement, slideEl: HTMLElement) => void;
673
673
  init: (swiper: import('swiper/types').Swiper) => any;
674
674
  beforeDestroy: (swiper: import('swiper/types').Swiper) => void;
675
675
  slidesUpdated: (swiper: import('swiper/types').Swiper) => void;
@@ -13,7 +13,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
13
  validator: (value: unknown) => any;
14
14
  };
15
15
  }>, {}, {}, {
16
- nonButtonContentSlots(): any;
16
+ nonButtonContentSlots(): {
17
+ [k: string]: import('vue').Slot<any>;
18
+ };
17
19
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
20
  text: {
19
21
  type: StringConstructor;
@@ -212,6 +212,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
212
212
  getHiddenFields(): {
213
213
  [x: string]: string | boolean;
214
214
  };
215
+ /**
216
+ * Returns a filtered list of items from the consentList object, removing any that are
217
+ * option and for which the relevant optional checkbox has not been selected by the user.
218
+ *
219
+ * {
220
+ * key: 'snow',
221
+ * value: 'SKIEMAIL_002',
222
+ * },
223
+ * {
224
+ * key: 'newsletter',
225
+ * value: 'VSEMAIL_0026',
226
+ * },
227
+ * {
228
+ * key: 'partner_consent',
229
+ * value: 'The user has consented to be contacted by our partners',
230
+ * optional: true,
231
+ * },
232
+ *
233
+ * In the example case the snow and newsletter items will always be present. The
234
+ * partner_consent object will be removed from the array if the partner_consent
235
+ * in this.form is falsy and left if it is truthy.
236
+ */
237
+ getFilteredConsents(): unknown[];
215
238
  /**
216
239
  * Parses the value of an input field, converting 'true' and 'false' string values to their
217
240
  * boolean primitive equivalents.
@@ -57,7 +57,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
57
57
  validator: (value: unknown) => any;
58
58
  };
59
59
  }>, {}, {}, {
60
- nonButtonContentSlots(): any;
60
+ nonButtonContentSlots(): {
61
+ [k: string]: import('vue').Slot<any>;
62
+ };
61
63
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
64
  text: {
63
65
  type: StringConstructor;
@@ -4,7 +4,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  */
5
5
  heading: {
6
6
  type: StringConstructor;
7
- default: string;
8
7
  required: true;
9
8
  };
10
9
  /**
@@ -12,7 +11,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
11
  */
13
12
  lede: {
14
13
  type: StringConstructor;
15
- default: string;
16
14
  required: true;
17
15
  };
18
16
  /**
@@ -115,7 +113,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
115
113
  */
116
114
  heading: {
117
115
  type: StringConstructor;
118
- default: string;
119
116
  required: true;
120
117
  };
121
118
  /**
@@ -123,7 +120,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
123
120
  */
124
121
  lede: {
125
122
  type: StringConstructor;
126
- default: string;
127
123
  required: true;
128
124
  };
129
125
  /**
@@ -217,14 +213,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
217
213
  split: boolean;
218
214
  imgAlt: string;
219
215
  imgSrc: string;
220
- heading: string;
221
216
  videoBtnText: string;
222
217
  imgCaption: string;
223
218
  imgCredit: string;
224
219
  videoSrc: string;
225
220
  playButtonLabel: string;
226
221
  pauseButtonLabel: string;
227
- lede: string;
228
222
  inset: boolean;
229
223
  videoPlayingStatus: string;
230
224
  videoPausedStatus: string;
@@ -137,9 +137,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
137
137
  isLoading: boolean;
138
138
  showZoomMessage: any;
139
139
  }, {
140
- activeMarkerPostion: () => any;
141
- highlightedPlace: () => any;
142
- activePlace: () => any;
140
+ activeMarkerPostion: () => unknown;
141
+ highlightedPlace: () => string;
142
+ activePlace: () => unknown;
143
143
  getZoom(): any;
144
144
  }, {
145
145
  /**
@@ -30,9 +30,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
30
30
  };
31
31
  }>, void, {}, {
32
32
  getMarkerIcon(): any;
33
- highlightedPlace: () => any;
34
- activePlace: () => any;
35
- activeSubcat: () => any;
33
+ highlightedPlace: () => string;
34
+ activePlace: () => unknown;
35
+ activeSubcat: () => unknown;
36
36
  isActive(): boolean;
37
37
  }, {
38
38
  /**
@@ -178,7 +178,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
178
178
  * Toggles that correspond with any existing location in the data
179
179
  */
180
180
  togglesWithLocations(): unknown[];
181
- subCatActiveFilters: () => any[];
181
+ subCatActiveFilters: () => unknown[];
182
182
  mapDisplayClass(): "" | "d-none d-lg-block";
183
183
  panelDisplayClass(): "" | "d-none d-lg-block";
184
184
  regionsData(): unknown[];
@@ -650,9 +650,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
650
650
  isLoading: boolean;
651
651
  showZoomMessage: any;
652
652
  }, {
653
- activeMarkerPostion: () => any;
654
- highlightedPlace: () => any;
655
- activePlace: () => any;
653
+ activeMarkerPostion: () => unknown;
654
+ highlightedPlace: () => string;
655
+ activePlace: () => unknown;
656
656
  getZoom(): any;
657
657
  }, {
658
658
  addMap(): void;
@@ -3149,11 +3149,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3149
3149
  "onSet-subcategory"?: (...args: any[]) => any;
3150
3150
  }>, {
3151
3151
  headingLevel: string;
3152
+ hovered: string;
3152
3153
  selectedItem: Record<string, any>;
3153
3154
  categoryHeading: string;
3154
3155
  selectedCategory: string;
3155
3156
  selectedSubcategory: string;
3156
- hovered: string;
3157
3157
  subcategoryLocations: unknown[];
3158
3158
  currentEndpointData: unknown[];
3159
3159
  panelStatus: string;
@@ -4762,7 +4762,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4762
4762
  }>, {}, {
4763
4763
  selected: any[];
4764
4764
  }, {
4765
- activeSubcatFilters: () => any[];
4765
+ activeSubcatFilters: () => unknown[];
4766
4766
  }, {
4767
4767
  checkboxesChangeSubmit(): void;
4768
4768
  emitChange(): void;
@@ -6154,7 +6154,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6154
6154
  }>, {}, {
6155
6155
  formattedData: {};
6156
6156
  }, {
6157
- highlightedPlace: () => any;
6157
+ highlightedPlace: () => string;
6158
6158
  isActive(): boolean;
6159
6159
  }, {
6160
6160
  showItemDetail(feature: any): void;
@@ -8064,7 +8064,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
8064
8064
  VsMapWithSidebarControls: import('vue').DefineComponent<{}, {}, {
8065
8065
  isDisabled: boolean;
8066
8066
  }, {
8067
- getSubcatFilters: () => any[];
8067
+ getSubcatFilters: () => unknown[];
8068
8068
  }, {
8069
8069
  clearSelection(): void;
8070
8070
  submitCheckboxes(): void;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {
2
2
  isDisabled: boolean;
3
3
  }, {
4
- getSubcatFilters: () => any[];
4
+ getSubcatFilters: () => unknown[];
5
5
  }, {
6
6
  /**
7
7
  * Clears all selected checkboxes
@@ -21,7 +21,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
21
21
  }>, {}, {
22
22
  formattedData: {};
23
23
  }, {
24
- highlightedPlace: () => any;
24
+ highlightedPlace: () => string;
25
25
  isActive(): boolean;
26
26
  }, {
27
27
  /**
@@ -264,11 +264,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
264
264
  "onSet-subcategory"?: (...args: any[]) => any;
265
265
  }>, {
266
266
  headingLevel: string;
267
+ hovered: string;
267
268
  selectedItem: Record<string, any>;
268
269
  categoryHeading: string;
269
270
  selectedCategory: string;
270
271
  selectedSubcategory: string;
271
- hovered: string;
272
272
  subcategoryLocations: unknown[];
273
273
  currentEndpointData: unknown[];
274
274
  panelStatus: string;
@@ -1877,7 +1877,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1877
1877
  }>, {}, {
1878
1878
  selected: any[];
1879
1879
  }, {
1880
- activeSubcatFilters: () => any[];
1880
+ activeSubcatFilters: () => unknown[];
1881
1881
  }, {
1882
1882
  checkboxesChangeSubmit(): void;
1883
1883
  emitChange(): void;
@@ -3269,7 +3269,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3269
3269
  }>, {}, {
3270
3270
  formattedData: {};
3271
3271
  }, {
3272
- highlightedPlace: () => any;
3272
+ highlightedPlace: () => string;
3273
3273
  isActive(): boolean;
3274
3274
  }, {
3275
3275
  showItemDetail(feature: any): void;
@@ -5179,7 +5179,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5179
5179
  VsMapWithSidebarControls: import('vue').DefineComponent<{}, {}, {
5180
5180
  isDisabled: boolean;
5181
5181
  }, {
5182
- getSubcatFilters: () => any[];
5182
+ getSubcatFilters: () => unknown[];
5183
5183
  }, {
5184
5184
  clearSelection(): void;
5185
5185
  submitCheckboxes(): void;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
11
11
  }>, {}, {
12
12
  selected: any[];
13
13
  }, {
14
- activeSubcatFilters: () => any[];
14
+ activeSubcatFilters: () => unknown[];
15
15
  }, {
16
16
  /**
17
17
  * Emits data of checkboxes currently selected
@@ -30,7 +30,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
30
30
  link: {
31
31
  type: StringConstructor;
32
32
  required: true;
33
- default: string;
34
33
  };
35
34
  headingLevel: {
36
35
  type: (StringConstructor | NumberConstructor)[];
@@ -151,7 +150,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
151
150
  link: {
152
151
  type: StringConstructor;
153
152
  required: true;
154
- default: string;
155
153
  };
156
154
  headingLevel: {
157
155
  type: (StringConstructor | NumberConstructor)[];
@@ -211,7 +209,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
209
  default: boolean;
212
210
  };
213
211
  }>> & Readonly<{}>, {
214
- link: string;
215
212
  disabled: boolean;
216
213
  headingStyle: string | number;
217
214
  imgAlt: string;
@@ -49,7 +49,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
49
49
  link: {
50
50
  type: StringConstructor;
51
51
  required: true;
52
- default: string;
53
52
  };
54
53
  headingLevel: {
55
54
  type: (StringConstructor | NumberConstructor)[];
@@ -170,7 +169,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
170
169
  link: {
171
170
  type: StringConstructor;
172
171
  required: true;
173
- default: string;
174
172
  };
175
173
  headingLevel: {
176
174
  type: (StringConstructor | NumberConstructor)[];
@@ -230,7 +228,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
230
228
  default: boolean;
231
229
  };
232
230
  }>> & Readonly<{}>, {
233
- link: string;
234
231
  disabled: boolean;
235
232
  headingStyle: string | number;
236
233
  imgAlt: string;
@@ -229,7 +229,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
229
229
  link: {
230
230
  type: StringConstructor;
231
231
  required: true;
232
- default: string;
233
232
  };
234
233
  headingLevel: {
235
234
  type: (StringConstructor | NumberConstructor)[];
@@ -350,7 +349,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
350
349
  link: {
351
350
  type: StringConstructor;
352
351
  required: true;
353
- default: string;
354
352
  };
355
353
  headingLevel: {
356
354
  type: (StringConstructor | NumberConstructor)[];
@@ -410,7 +408,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
410
408
  default: boolean;
411
409
  };
412
410
  }>> & Readonly<{}>, {
413
- link: string;
414
411
  disabled: boolean;
415
412
  headingStyle: string | number;
416
413
  imgAlt: string;
@@ -234,7 +234,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
234
234
  link: {
235
235
  type: StringConstructor;
236
236
  required: true;
237
- default: string;
238
237
  };
239
238
  headingLevel: {
240
239
  type: (StringConstructor | NumberConstructor)[];
@@ -355,7 +354,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
355
354
  link: {
356
355
  type: StringConstructor;
357
356
  required: true;
358
- default: string;
359
357
  };
360
358
  headingLevel: {
361
359
  type: (StringConstructor | NumberConstructor)[];
@@ -415,7 +413,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
415
413
  default: boolean;
416
414
  };
417
415
  }>> & Readonly<{}>, {
418
- link: string;
419
416
  disabled: boolean;
420
417
  headingStyle: string | number;
421
418
  imgAlt: string;
@@ -136,7 +136,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
136
136
  moreDetailsLink: {
137
137
  type: StringConstructor;
138
138
  required: true;
139
- default: string;
140
139
  };
141
140
  }>, {}, {
142
141
  statusSummary: {
@@ -311,7 +310,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
311
310
  moreDetailsLink: {
312
311
  type: StringConstructor;
313
312
  required: true;
314
- default: string;
315
313
  };
316
314
  }>> & Readonly<{}>, {
317
315
  imgAlt: string;
@@ -331,7 +329,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
331
329
  pisteMapLabel: string;
332
330
  moreDetailsLabel: string;
333
331
  pisteMapLink: string;
334
- moreDetailsLink: string;
335
332
  }, {}, {
336
333
  VsImg: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
337
334
  src: {
@@ -5,7 +5,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5
5
  link: {
6
6
  type: StringConstructor;
7
7
  required: true;
8
- default: string;
9
8
  };
10
9
  /**
11
10
  * The correct heading level for page hierarchy, the
@@ -175,7 +174,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
175
174
  link: {
176
175
  type: StringConstructor;
177
176
  required: true;
178
- default: string;
179
177
  };
180
178
  /**
181
179
  * The correct heading level for page hierarchy, the
@@ -281,7 +279,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
281
279
  default: boolean;
282
280
  };
283
281
  }>> & Readonly<{}>, {
284
- link: string;
285
282
  disabled: boolean;
286
283
  headingStyle: string | number;
287
284
  imgAlt: string;
@@ -1,7 +1,7 @@
1
1
  type Viewport = {
2
- bounds: google.maps.LatLngBounds | null;
3
- center: google.maps.LatLng;
4
- zoom: number;
2
+ bounds: google.maps.LatLngBounds | null | undefined;
3
+ center: google.maps.LatLng | undefined;
4
+ zoom: number | undefined;
5
5
  };
6
6
  export default function useViewportController(): {
7
7
  getViewport: (gMap: google.maps.Map) => Viewport;
@@ -32,7 +32,7 @@ export default function useViewportController(): {
32
32
  toString: () => string;
33
33
  toUrlValue: (precision?: number) => string;
34
34
  };
35
- zoom: number;
35
+ zoom: number | undefined;
36
36
  }, Viewport | {
37
37
  bounds: {
38
38
  contains: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => boolean;
@@ -57,9 +57,9 @@ export default function useViewportController(): {
57
57
  toString: () => string;
58
58
  toUrlValue: (precision?: number) => string;
59
59
  };
60
- zoom: number;
60
+ zoom: number | undefined;
61
61
  }>;
62
- runProgrammaticMove: (fn: Function) => void;
62
+ runProgrammaticMove: (fn: () => void) => void;
63
63
  showSearchAreaButton: import('vue').Ref<boolean, boolean>;
64
64
  };
65
65
  export {};
@@ -1,49 +1,75 @@
1
1
  import { Ref } from 'vue';
2
2
 
3
+ interface MapInstance {
4
+ id: string;
5
+ filters: unknown;
6
+ places: unknown;
7
+ activePins: unknown;
8
+ hovered: string;
9
+ activePlace: unknown;
10
+ }
3
11
  declare const useMapStore: import('pinia').StoreDefinition<"map", Pick<{
4
- maps: Ref<any[], any[]>;
5
- activeSubcatFilters: Ref<any[], any[]>;
6
- selectedSubCategory: Ref<any, any>;
7
- activeMarkerPos: Ref<any, any>;
8
- activePlace: Ref<any, any>;
9
- addMapInstance: (payload: any) => void;
10
- setHoveredPlace: (payload: any) => void;
11
- setActivePlace: (payload: any) => void;
12
- setActiveSubcatFilters: (payload: any) => void;
13
- setSelectedSubcat: (payload: any) => void;
14
- setActiveMarkerPos: (payload: any) => void;
15
- getMapById: (id: string) => any;
16
- getHoveredStop: (mapId: string) => any;
17
- getActivePlace: (mapId: string) => any;
12
+ maps: Ref<MapInstance[], MapInstance[]>;
13
+ activeSubcatFilters: Ref<unknown[], unknown[]>;
14
+ selectedSubCategory: Ref<unknown, unknown>;
15
+ activeMarkerPos: Ref<unknown, unknown>;
16
+ activePlace: Ref<unknown, unknown>;
17
+ addMapInstance: (payload: Pick<MapInstance, "id" | "filters" | "places" | "activePins">) => void;
18
+ setHoveredPlace: (payload: {
19
+ mapId: string;
20
+ hoveredFeature: string;
21
+ }) => void;
22
+ setActivePlace: (payload: {
23
+ mapId: string;
24
+ activeFeature: unknown;
25
+ }) => void;
26
+ setActiveSubcatFilters: (payload: unknown[]) => void;
27
+ setSelectedSubcat: (payload: unknown) => void;
28
+ setActiveMarkerPos: (payload: unknown) => void;
29
+ getMapById: (id: string) => MapInstance;
30
+ getHoveredStop: (mapId: string) => string;
31
+ getActivePlace: (mapId: string) => unknown;
18
32
  }, "maps" | "activeSubcatFilters" | "selectedSubCategory" | "activeMarkerPos" | "activePlace">, Pick<{
19
- maps: Ref<any[], any[]>;
20
- activeSubcatFilters: Ref<any[], any[]>;
21
- selectedSubCategory: Ref<any, any>;
22
- activeMarkerPos: Ref<any, any>;
23
- activePlace: Ref<any, any>;
24
- addMapInstance: (payload: any) => void;
25
- setHoveredPlace: (payload: any) => void;
26
- setActivePlace: (payload: any) => void;
27
- setActiveSubcatFilters: (payload: any) => void;
28
- setSelectedSubcat: (payload: any) => void;
29
- setActiveMarkerPos: (payload: any) => void;
30
- getMapById: (id: string) => any;
31
- getHoveredStop: (mapId: string) => any;
32
- getActivePlace: (mapId: string) => any;
33
+ maps: Ref<MapInstance[], MapInstance[]>;
34
+ activeSubcatFilters: Ref<unknown[], unknown[]>;
35
+ selectedSubCategory: Ref<unknown, unknown>;
36
+ activeMarkerPos: Ref<unknown, unknown>;
37
+ activePlace: Ref<unknown, unknown>;
38
+ addMapInstance: (payload: Pick<MapInstance, "id" | "filters" | "places" | "activePins">) => void;
39
+ setHoveredPlace: (payload: {
40
+ mapId: string;
41
+ hoveredFeature: string;
42
+ }) => void;
43
+ setActivePlace: (payload: {
44
+ mapId: string;
45
+ activeFeature: unknown;
46
+ }) => void;
47
+ setActiveSubcatFilters: (payload: unknown[]) => void;
48
+ setSelectedSubcat: (payload: unknown) => void;
49
+ setActiveMarkerPos: (payload: unknown) => void;
50
+ getMapById: (id: string) => MapInstance;
51
+ getHoveredStop: (mapId: string) => string;
52
+ getActivePlace: (mapId: string) => unknown;
33
53
  }, never>, Pick<{
34
- maps: Ref<any[], any[]>;
35
- activeSubcatFilters: Ref<any[], any[]>;
36
- selectedSubCategory: Ref<any, any>;
37
- activeMarkerPos: Ref<any, any>;
38
- activePlace: Ref<any, any>;
39
- addMapInstance: (payload: any) => void;
40
- setHoveredPlace: (payload: any) => void;
41
- setActivePlace: (payload: any) => void;
42
- setActiveSubcatFilters: (payload: any) => void;
43
- setSelectedSubcat: (payload: any) => void;
44
- setActiveMarkerPos: (payload: any) => void;
45
- getMapById: (id: string) => any;
46
- getHoveredStop: (mapId: string) => any;
47
- getActivePlace: (mapId: string) => any;
54
+ maps: Ref<MapInstance[], MapInstance[]>;
55
+ activeSubcatFilters: Ref<unknown[], unknown[]>;
56
+ selectedSubCategory: Ref<unknown, unknown>;
57
+ activeMarkerPos: Ref<unknown, unknown>;
58
+ activePlace: Ref<unknown, unknown>;
59
+ addMapInstance: (payload: Pick<MapInstance, "id" | "filters" | "places" | "activePins">) => void;
60
+ setHoveredPlace: (payload: {
61
+ mapId: string;
62
+ hoveredFeature: string;
63
+ }) => void;
64
+ setActivePlace: (payload: {
65
+ mapId: string;
66
+ activeFeature: unknown;
67
+ }) => void;
68
+ setActiveSubcatFilters: (payload: unknown[]) => void;
69
+ setSelectedSubcat: (payload: unknown) => void;
70
+ setActiveMarkerPos: (payload: unknown) => void;
71
+ getMapById: (id: string) => MapInstance;
72
+ getHoveredStop: (mapId: string) => string;
73
+ getActivePlace: (mapId: string) => unknown;
48
74
  }, "addMapInstance" | "setHoveredPlace" | "setActivePlace" | "setActiveSubcatFilters" | "setSelectedSubcat" | "setActiveMarkerPos" | "getMapById" | "getHoveredStop" | "getActivePlace">>;
49
75
  export default useMapStore;