@visitscotland/component-library 5.69.2 → 5.71.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/{LoadingSpinner-BIBGH_VZ.js → LoadingSpinner-COFJgokj.js} +7 -7
- package/dist/components/{LoadingSpinner-CffQnFjG.mjs → LoadingSpinner-ggrZC9Iu.mjs} +381 -384
- package/dist/components/components/accordion/components/AccordionItem.vue.d.ts +0 -6
- package/dist/components/components/accordion/components/AccordionToggle.vue.d.ts +0 -3
- package/dist/components/components/address/Address.vue.d.ts +0 -3
- package/dist/components/components/alert/Alert.vue.d.ts +0 -3
- package/dist/components/components/article-details/ArticleDetails.vue.d.ts +0 -3
- package/dist/components/components/banner/Banner.vue.d.ts +0 -6
- package/dist/components/components/button/Button.vue.d.ts +0 -3
- package/dist/components/components/button-toggle-group/ButtonToggleGroup.vue.d.ts +0 -3
- package/dist/components/components/canned-search/CannedSearch.vue.d.ts +0 -12
- package/dist/components/components/canned-search/components/CannedSearchLogos.vue.d.ts +0 -3
- package/dist/components/components/canned-search/components/CannedSearchProductCard.vue.d.ts +0 -3
- package/dist/components/components/canned-search/components/CannedSearchSummaryBox.vue.d.ts +0 -3
- package/dist/components/components/caption/Caption.vue.d.ts +0 -3
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +0 -24
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts +0 -3
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +0 -6
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorRunningTotal.vue.d.ts +0 -3
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorTip.vue.d.ts +0 -3
- package/dist/components/components/card/Card.vue.d.ts +0 -3
- package/dist/components/components/carousel/Carousel.vue.d.ts +0 -3
- package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +0 -15
- package/dist/components/components/content-swiper/ContentSwiper.vue.d.ts +2 -4
- package/dist/components/components/detail/Detail.vue.d.ts +0 -3
- package/dist/components/components/embed-wrapper/EmbedWrapper.vue.d.ts +0 -6
- package/dist/components/components/event-card/EventCard.vue.d.ts +0 -3
- package/dist/components/components/footer/components/FooterAccordionItem.vue.d.ts +0 -6
- package/dist/components/components/footer/components/FooterCopyright.vue.d.ts +0 -3
- package/dist/components/components/footer/components/FooterNavListItem.vue.d.ts +0 -3
- package/dist/components/components/footer/components/FooterSocialItem.vue.d.ts +0 -6
- package/dist/components/components/form/Form.vue.d.ts +0 -12
- package/dist/components/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +0 -3
- package/dist/components/components/hero-section/HeroSection.vue.d.ts +0 -12
- package/dist/components/components/icon/Icon.vue.d.ts +0 -3
- package/dist/components/components/icon-list/components/IconListItem.vue.d.ts +0 -3
- package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +0 -21
- package/dist/components/components/input/Input.vue.d.ts +0 -3
- package/dist/components/components/itineraries/Itinerary.vue.d.ts +0 -3
- package/dist/components/components/itineraries/components/ItineraryDay.vue.d.ts +0 -9
- package/dist/components/components/itineraries/components/ItineraryStop.vue.d.ts +0 -6
- package/dist/components/components/itineraries/components/ItineraryStopInfo.vue.d.ts +0 -6
- package/dist/components/components/link/Link.vue.d.ts +0 -3
- package/dist/components/components/link-list/components/LinkListItem.vue.d.ts +0 -3
- package/dist/components/components/listicle/ListicleItem.vue.d.ts +0 -3
- package/dist/components/components/map/Map.vue.d.ts +0 -6
- package/dist/components/components/map/components/MapMarker.vue.d.ts +0 -3
- package/dist/components/components/map-marker-icon/MapMarkerIcon.vue.d.ts +0 -3
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +0 -39
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarButtons.vue.d.ts +0 -3
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarCategory.vue.d.ts +0 -6
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarControls.vue.d.ts +0 -3
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +0 -3
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +0 -21
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarSubcategory.vue.d.ts +0 -3
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +0 -21
- package/dist/components/components/mega-nav/components/MegaNavAccordionItem.vue.d.ts +0 -9
- package/dist/components/components/mega-nav/components/MegaNavDropdown.vue.d.ts +0 -3
- package/dist/components/components/mega-nav/components/MegaNavDropdownContainer.vue.d.ts +0 -6
- package/dist/components/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +0 -12
- package/dist/components/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +0 -12
- package/dist/components/components/mega-nav/components/MegaNavListItem.vue.d.ts +0 -3
- package/dist/components/components/mega-nav/components/MegaNavStaticLink.vue.d.ts +0 -3
- package/dist/components/components/megalinks/Megalinks.vue.d.ts +0 -3
- package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +0 -15
- package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +0 -15
- package/dist/components/components/megalinks/components/megalink-single-image/MegalinkSingleImage.vue.d.ts +0 -3
- package/dist/components/components/modal/Modal.vue.d.ts +0 -3
- package/dist/components/components/navigation-bar/NavigationBar.vue.d.ts +0 -9
- package/dist/components/components/navigation-bar/components/NavigationBarSearch.vue.d.ts +0 -12
- package/dist/components/components/navigation-bar/components/NavigationBarSidebar.vue.d.ts +0 -3
- package/dist/components/components/navigation-bar/components/NavigationBarSidebarButton.vue.d.ts +0 -6
- package/dist/components/components/number-input/NumberInput.vue.d.ts +0 -3
- package/dist/components/components/product-search/ProductSearch.vue.d.ts +0 -6
- package/dist/components/components/quote/Quote.vue.d.ts +0 -9
- package/dist/components/components/site-search/SiteSearch.vue.d.ts +0 -3
- package/dist/components/components/site-search/components/SiteSearchForm.vue.d.ts +0 -9
- package/dist/components/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +0 -12
- package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +0 -21
- package/dist/components/components/skip-to/SkipTo.vue.d.ts +0 -3
- package/dist/components/components/social-credit-link/SocialCreditLink.vue.d.ts +0 -6
- package/dist/components/components/social-share/SocialShare.vue.d.ts +0 -3
- package/dist/components/components/social-share/components/SocialShareItem.vue.d.ts +0 -6
- package/dist/components/components/spotlight-section/SpotlightSection.vue.d.ts +0 -3
- package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +0 -12
- package/dist/components/components/stretched-link-card/components/StretchedLinkPanels.vue.d.ts +0 -3
- package/dist/components/components/summary-box/components/SummaryBoxListItem.vue.d.ts +0 -3
- package/dist/components/components/svg-link/SvgLink.vue.d.ts +0 -3
- package/dist/components/components/tag/Tag.vue.d.ts +0 -3
- package/dist/components/components/toggle-button/ToggleButton.vue.d.ts +0 -6
- package/dist/components/components/tooltip/Tooltip.vue.d.ts +0 -3
- package/dist/components/components/video/Video.vue.d.ts +0 -12
- package/dist/components/components/video/components/VideoHtml5.vue.d.ts +0 -6
- package/dist/components/components/video/components/VideoYoutube.vue.d.ts +0 -6
- package/dist/components/components/video-caption/VideoCaption.vue.d.ts +0 -15
- package/dist/components/components/warning/Warning.vue.d.ts +0 -6
- package/dist/components/custom-components/maps/components/MapFilter.vue.d.ts +25 -0
- package/dist/components/custom-components/maps/components/MapSidebar.vue.d.ts +96 -21
- package/dist/components/custom-components/maps/composables/useSwipeDrawer.d.ts +12 -0
- package/dist/components/custom-components/maps/index.d.ts +240 -45
- package/dist/components/stores/mainMap.store.d.ts +4 -1
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +16 -16
- package/dist/components/vs-component-library.mjs +2704 -2671
- package/package.json +2 -2
|
@@ -364,9 +364,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
364
364
|
duration_quickly: string;
|
|
365
365
|
duration_base: string;
|
|
366
366
|
duration_slowly: string;
|
|
367
|
-
no_javascript: string;
|
|
368
|
-
theme_dark: string;
|
|
369
|
-
theme_grey: string;
|
|
370
367
|
};
|
|
371
368
|
}, {
|
|
372
369
|
iconClasses(): any[];
|
|
@@ -822,9 +822,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
822
822
|
duration_quickly: string;
|
|
823
823
|
duration_base: string;
|
|
824
824
|
duration_slowly: string;
|
|
825
|
-
no_javascript: string;
|
|
826
|
-
theme_dark: string;
|
|
827
|
-
theme_grey: string;
|
|
828
825
|
};
|
|
829
826
|
}, {
|
|
830
827
|
iconClasses(): any[];
|
|
@@ -1356,9 +1353,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1356
1353
|
duration_quickly: string;
|
|
1357
1354
|
duration_base: string;
|
|
1358
1355
|
duration_slowly: string;
|
|
1359
|
-
no_javascript: string;
|
|
1360
|
-
theme_dark: string;
|
|
1361
|
-
theme_grey: string;
|
|
1362
1356
|
};
|
|
1363
1357
|
}, {
|
|
1364
1358
|
iconClasses(): any[];
|
|
@@ -773,9 +773,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
773
773
|
duration_quickly: string;
|
|
774
774
|
duration_base: string;
|
|
775
775
|
duration_slowly: string;
|
|
776
|
-
no_javascript: string;
|
|
777
|
-
theme_dark: string;
|
|
778
|
-
theme_grey: string;
|
|
779
776
|
};
|
|
780
777
|
}, {
|
|
781
778
|
iconClasses(): any[];
|
|
@@ -566,9 +566,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
566
566
|
duration_quickly: string;
|
|
567
567
|
duration_base: string;
|
|
568
568
|
duration_slowly: string;
|
|
569
|
-
no_javascript: string;
|
|
570
|
-
theme_dark: string;
|
|
571
|
-
theme_grey: string;
|
|
572
569
|
};
|
|
573
570
|
}, {
|
|
574
571
|
iconClasses(): any[];
|
|
@@ -1253,9 +1250,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1253
1250
|
duration_quickly: string;
|
|
1254
1251
|
duration_base: string;
|
|
1255
1252
|
duration_slowly: string;
|
|
1256
|
-
no_javascript: string;
|
|
1257
|
-
theme_dark: string;
|
|
1258
|
-
theme_grey: string;
|
|
1259
1253
|
};
|
|
1260
1254
|
}, {
|
|
1261
1255
|
iconClasses(): any[];
|
|
@@ -2146,9 +2140,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2146
2140
|
duration_quickly: string;
|
|
2147
2141
|
duration_base: string;
|
|
2148
2142
|
duration_slowly: string;
|
|
2149
|
-
no_javascript: string;
|
|
2150
|
-
theme_dark: string;
|
|
2151
|
-
theme_grey: string;
|
|
2152
2143
|
};
|
|
2153
2144
|
}, {
|
|
2154
2145
|
iconClasses(): any[];
|
|
@@ -2680,9 +2671,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2680
2671
|
duration_quickly: string;
|
|
2681
2672
|
duration_base: string;
|
|
2682
2673
|
duration_slowly: string;
|
|
2683
|
-
no_javascript: string;
|
|
2684
|
-
theme_dark: string;
|
|
2685
|
-
theme_grey: string;
|
|
2686
2674
|
};
|
|
2687
2675
|
}, {
|
|
2688
2676
|
iconClasses(): any[];
|
|
@@ -884,9 +884,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
884
884
|
duration_quickly: string;
|
|
885
885
|
duration_base: string;
|
|
886
886
|
duration_slowly: string;
|
|
887
|
-
no_javascript: string;
|
|
888
|
-
theme_dark: string;
|
|
889
|
-
theme_grey: string;
|
|
890
887
|
};
|
|
891
888
|
}, {
|
|
892
889
|
iconClasses(): any[];
|
|
@@ -1418,9 +1415,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1418
1415
|
duration_quickly: string;
|
|
1419
1416
|
duration_base: string;
|
|
1420
1417
|
duration_slowly: string;
|
|
1421
|
-
no_javascript: string;
|
|
1422
|
-
theme_dark: string;
|
|
1423
|
-
theme_grey: string;
|
|
1424
1418
|
};
|
|
1425
1419
|
}, {
|
|
1426
1420
|
iconClasses(): any[];
|
|
@@ -562,9 +562,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
562
562
|
duration_quickly: string;
|
|
563
563
|
duration_base: string;
|
|
564
564
|
duration_slowly: string;
|
|
565
|
-
no_javascript: string;
|
|
566
|
-
theme_dark: string;
|
|
567
|
-
theme_grey: string;
|
|
568
565
|
};
|
|
569
566
|
}, {
|
|
570
567
|
iconClasses(): any[];
|
|
@@ -1249,9 +1246,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1249
1246
|
duration_quickly: string;
|
|
1250
1247
|
duration_base: string;
|
|
1251
1248
|
duration_slowly: string;
|
|
1252
|
-
no_javascript: string;
|
|
1253
|
-
theme_dark: string;
|
|
1254
|
-
theme_grey: string;
|
|
1255
1249
|
};
|
|
1256
1250
|
}, {
|
|
1257
1251
|
iconClasses(): any[];
|
|
@@ -763,9 +763,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
763
763
|
duration_quickly: string;
|
|
764
764
|
duration_base: string;
|
|
765
765
|
duration_slowly: string;
|
|
766
|
-
no_javascript: string;
|
|
767
|
-
theme_dark: string;
|
|
768
|
-
theme_grey: string;
|
|
769
766
|
};
|
|
770
767
|
}, {
|
|
771
768
|
iconClasses(): any[];
|
|
@@ -1553,9 +1550,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1553
1550
|
duration_quickly: string;
|
|
1554
1551
|
duration_base: string;
|
|
1555
1552
|
duration_slowly: string;
|
|
1556
|
-
no_javascript: string;
|
|
1557
|
-
theme_dark: string;
|
|
1558
|
-
theme_grey: string;
|
|
1559
1553
|
};
|
|
1560
1554
|
}, {
|
|
1561
1555
|
iconClasses(): any[];
|
|
@@ -2087,9 +2081,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2087
2081
|
duration_quickly: string;
|
|
2088
2082
|
duration_base: string;
|
|
2089
2083
|
duration_slowly: string;
|
|
2090
|
-
no_javascript: string;
|
|
2091
|
-
theme_dark: string;
|
|
2092
|
-
theme_grey: string;
|
|
2093
2084
|
};
|
|
2094
2085
|
}, {
|
|
2095
2086
|
iconClasses(): any[];
|
|
@@ -2422,9 +2413,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2422
2413
|
duration_quickly: string;
|
|
2423
2414
|
duration_base: string;
|
|
2424
2415
|
duration_slowly: string;
|
|
2425
|
-
no_javascript: string;
|
|
2426
|
-
theme_dark: string;
|
|
2427
|
-
theme_grey: string;
|
|
2428
2416
|
};
|
|
2429
2417
|
}, {
|
|
2430
2418
|
iconClasses(): any[];
|
|
@@ -3109,9 +3097,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3109
3097
|
duration_quickly: string;
|
|
3110
3098
|
duration_base: string;
|
|
3111
3099
|
duration_slowly: string;
|
|
3112
|
-
no_javascript: string;
|
|
3113
|
-
theme_dark: string;
|
|
3114
|
-
theme_grey: string;
|
|
3115
3100
|
};
|
|
3116
3101
|
}, {
|
|
3117
3102
|
iconClasses(): any[];
|
|
@@ -310,9 +310,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
310
310
|
duration_quickly: string;
|
|
311
311
|
duration_base: string;
|
|
312
312
|
duration_slowly: string;
|
|
313
|
-
no_javascript: string;
|
|
314
|
-
theme_dark: string;
|
|
315
|
-
theme_grey: string;
|
|
316
313
|
};
|
|
317
314
|
}, {
|
|
318
315
|
iconClasses(): any[];
|
|
@@ -997,9 +994,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
997
994
|
duration_quickly: string;
|
|
998
995
|
duration_base: string;
|
|
999
996
|
duration_slowly: string;
|
|
1000
|
-
no_javascript: string;
|
|
1001
|
-
theme_dark: string;
|
|
1002
|
-
theme_grey: string;
|
|
1003
997
|
};
|
|
1004
998
|
}, {
|
|
1005
999
|
iconClasses(): any[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type Item = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
type Props = {
|
|
6
|
+
detailText?: string;
|
|
7
|
+
hasIcons?: boolean;
|
|
8
|
+
items: Item[];
|
|
9
|
+
selectedCategory: string | string[] | undefined;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
changed: (args_0: {
|
|
13
|
+
id: string;
|
|
14
|
+
key: number | string;
|
|
15
|
+
}) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
onChanged?: (args_0: {
|
|
18
|
+
id: string;
|
|
19
|
+
key: number | string;
|
|
20
|
+
}) => any;
|
|
21
|
+
}>, {
|
|
22
|
+
detailText: string;
|
|
23
|
+
hasIcons: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -1,25 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
type CategoryConfig = Record<string, Category>;
|
|
2
|
+
type Category = {
|
|
3
|
+
id: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
includedType?: string[];
|
|
6
|
+
excludedType?: string[];
|
|
7
|
+
keywords?: string[];
|
|
8
|
+
subCategory: Subcategory[];
|
|
9
|
+
};
|
|
10
|
+
type Subcategory = {
|
|
11
|
+
id: string;
|
|
12
|
+
includedType: string[];
|
|
13
|
+
excludedType?: string[];
|
|
14
|
+
};
|
|
15
|
+
type Categories = {
|
|
16
|
+
label: string;
|
|
17
|
+
id: string;
|
|
18
|
+
cmsData?: boolean;
|
|
19
|
+
subCategory: {
|
|
20
|
+
label: string;
|
|
21
|
+
id: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
type DestinationCategory = {
|
|
25
|
+
label: string;
|
|
26
|
+
id: string;
|
|
27
|
+
};
|
|
28
|
+
type Props = {
|
|
29
|
+
/** Label and id for the category buttons */
|
|
30
|
+
categories: Categories[];
|
|
31
|
+
/** Icon data for the category buttons */
|
|
32
|
+
categoryData?: CategoryConfig;
|
|
33
|
+
/** List of destinations */
|
|
34
|
+
destinations: any;
|
|
35
|
+
/** List of destination categories */
|
|
36
|
+
destinationCategories: DestinationCategory[];
|
|
37
|
+
/** Whether the map is loaded or not. */
|
|
38
|
+
mapLoaded?: boolean;
|
|
39
|
+
/** Test query from Map Search */
|
|
40
|
+
query?: string;
|
|
41
|
+
/** Selected top level category */
|
|
42
|
+
selectedCategory?: string;
|
|
43
|
+
/** Selected sub categories */
|
|
44
|
+
selectedSubcategories?: any;
|
|
45
|
+
/** Labels for the sidebar */
|
|
46
|
+
sidebarLabels: Record<string, string>;
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Props = Props;
|
|
49
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
50
|
+
'isOpen'?: boolean;
|
|
51
|
+
'isResultsOpen'?: boolean;
|
|
52
|
+
};
|
|
53
|
+
declare var __VLS_50: {};
|
|
54
|
+
type __VLS_Slots = {} & {
|
|
55
|
+
'vs-map-sidebar-search-results'?: (props: typeof __VLS_50) => any;
|
|
56
|
+
};
|
|
57
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
"category-selected": (args_0: {
|
|
59
|
+
id: string;
|
|
60
|
+
key: number | string;
|
|
61
|
+
}) => any;
|
|
62
|
+
"destination-type-selected": () => any;
|
|
63
|
+
"reset-location": () => any;
|
|
64
|
+
"reset-map": () => any;
|
|
65
|
+
"search-input-changed": () => any;
|
|
66
|
+
"subcategory-selected": (args_0: {
|
|
67
|
+
id: string;
|
|
68
|
+
key: number | string;
|
|
69
|
+
}) => any;
|
|
70
|
+
"update:isOpen": (value: boolean) => any;
|
|
71
|
+
"update:isResultsOpen": (value: boolean) => any;
|
|
72
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
73
|
+
"onCategory-selected"?: (args_0: {
|
|
74
|
+
id: string;
|
|
75
|
+
key: number | string;
|
|
76
|
+
}) => any;
|
|
77
|
+
"onDestination-type-selected"?: () => any;
|
|
78
|
+
"onReset-location"?: () => any;
|
|
79
|
+
"onReset-map"?: () => any;
|
|
80
|
+
"onSearch-input-changed"?: () => any;
|
|
81
|
+
"onSubcategory-selected"?: (args_0: {
|
|
82
|
+
id: string;
|
|
83
|
+
key: number | string;
|
|
84
|
+
}) => any;
|
|
85
|
+
"onUpdate:isOpen"?: (value: boolean) => any;
|
|
86
|
+
"onUpdate:isResultsOpen"?: (value: boolean) => any;
|
|
87
|
+
}>, {
|
|
9
88
|
selectedCategory: string;
|
|
89
|
+
categoryData: CategoryConfig;
|
|
90
|
+
mapLoaded: boolean;
|
|
10
91
|
query: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly sidebarLabels?: Record<string, any>;
|
|
19
|
-
readonly categoryData?: Record<string, any>;
|
|
20
|
-
readonly selectedSubcategories?: Record<string, any>;
|
|
92
|
+
selectedSubcategories: any;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
94
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
97
|
+
new (): {
|
|
98
|
+
$slots: S;
|
|
21
99
|
};
|
|
22
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
type __VLS_Slots = {
|
|
24
|
-
'vs-map-sidebar-search-results'?: (props: {}) => any;
|
|
25
100
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export default function useSwipeDrawer(isOpen: Ref<boolean>, sidebar: Ref<HTMLElement | null>): {
|
|
3
|
+
endDrag: (event: PointerEvent) => void;
|
|
4
|
+
onDrag: (event: PointerEvent) => void;
|
|
5
|
+
sidebarStyle: import('vue').ComputedRef<{
|
|
6
|
+
height: string;
|
|
7
|
+
top: string;
|
|
8
|
+
transform: string;
|
|
9
|
+
transition: string;
|
|
10
|
+
}>;
|
|
11
|
+
startDrag: (event: PointerEvent) => void;
|
|
12
|
+
};
|
|
@@ -38,66 +38,261 @@ declare const _default: {
|
|
|
38
38
|
};
|
|
39
39
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
VsMapSidebar: {
|
|
41
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
42
|
+
categories: {
|
|
43
|
+
label: string;
|
|
44
|
+
id: string;
|
|
45
|
+
cmsData?: boolean;
|
|
46
|
+
subCategory: {
|
|
47
|
+
label: string;
|
|
48
|
+
id: string;
|
|
49
|
+
}[];
|
|
50
|
+
}[];
|
|
51
|
+
categoryData?: {
|
|
52
|
+
[x: string]: {
|
|
53
|
+
id: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
includedType?: string[];
|
|
56
|
+
excludedType?: string[];
|
|
57
|
+
keywords?: string[];
|
|
58
|
+
subCategory: {
|
|
59
|
+
id: string;
|
|
60
|
+
includedType: string[];
|
|
61
|
+
excludedType?: string[];
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
destinations: any;
|
|
66
|
+
destinationCategories: {
|
|
67
|
+
label: string;
|
|
68
|
+
id: string;
|
|
69
|
+
}[];
|
|
70
|
+
mapLoaded?: boolean;
|
|
71
|
+
query?: string;
|
|
72
|
+
selectedCategory?: string;
|
|
73
|
+
selectedSubcategories?: any;
|
|
74
|
+
sidebarLabels: Record<string, string>;
|
|
75
|
+
} & {
|
|
76
|
+
isOpen?: boolean;
|
|
77
|
+
isResultsOpen?: boolean;
|
|
78
|
+
}> & Readonly<{
|
|
79
|
+
"onCategory-selected"?: (args_0: {
|
|
80
|
+
id: string;
|
|
81
|
+
key: number | string;
|
|
82
|
+
}) => any;
|
|
83
|
+
"onDestination-type-selected"?: () => any;
|
|
84
|
+
"onReset-location"?: () => any;
|
|
85
|
+
"onReset-map"?: () => any;
|
|
86
|
+
"onSearch-input-changed"?: () => any;
|
|
87
|
+
"onSubcategory-selected"?: (args_0: {
|
|
88
|
+
id: string;
|
|
89
|
+
key: number | string;
|
|
90
|
+
}) => any;
|
|
91
|
+
"onUpdate:isOpen"?: (value: boolean) => any;
|
|
92
|
+
"onUpdate:isResultsOpen"?: (value: boolean) => any;
|
|
93
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
"category-selected": (args_0: {
|
|
95
|
+
id: string;
|
|
96
|
+
key: number | string;
|
|
97
|
+
}) => any;
|
|
98
|
+
"destination-type-selected": () => any;
|
|
99
|
+
"reset-location": () => any;
|
|
100
|
+
"reset-map": () => any;
|
|
101
|
+
"search-input-changed": () => any;
|
|
102
|
+
"subcategory-selected": (args_0: {
|
|
103
|
+
id: string;
|
|
104
|
+
key: number | string;
|
|
105
|
+
}) => any;
|
|
106
|
+
"update:isOpen": (value: boolean) => any;
|
|
107
|
+
"update:isResultsOpen": (value: boolean) => any;
|
|
108
|
+
}, import('vue').PublicProps, {
|
|
44
109
|
selectedCategory: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
110
|
+
categoryData: {
|
|
111
|
+
[x: string]: {
|
|
112
|
+
id: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
includedType?: string[];
|
|
115
|
+
excludedType?: string[];
|
|
116
|
+
keywords?: string[];
|
|
117
|
+
subCategory: {
|
|
118
|
+
id: string;
|
|
119
|
+
includedType: string[];
|
|
120
|
+
excludedType?: string[];
|
|
121
|
+
}[];
|
|
122
|
+
};
|
|
56
123
|
};
|
|
57
|
-
|
|
124
|
+
mapLoaded: boolean;
|
|
125
|
+
query: string;
|
|
126
|
+
selectedSubcategories: any;
|
|
127
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
58
128
|
P: {};
|
|
59
129
|
B: {};
|
|
60
130
|
D: {};
|
|
61
131
|
C: {};
|
|
62
132
|
M: {};
|
|
63
133
|
Defaults: {};
|
|
64
|
-
}, Readonly<{
|
|
65
|
-
|
|
66
|
-
|
|
134
|
+
}, Readonly<{
|
|
135
|
+
categories: {
|
|
136
|
+
label: string;
|
|
137
|
+
id: string;
|
|
138
|
+
cmsData?: boolean;
|
|
139
|
+
subCategory: {
|
|
140
|
+
label: string;
|
|
141
|
+
id: string;
|
|
142
|
+
}[];
|
|
143
|
+
}[];
|
|
144
|
+
categoryData?: {
|
|
145
|
+
[x: string]: {
|
|
146
|
+
id: string;
|
|
147
|
+
icon: string;
|
|
148
|
+
includedType?: string[];
|
|
149
|
+
excludedType?: string[];
|
|
150
|
+
keywords?: string[];
|
|
151
|
+
subCategory: {
|
|
152
|
+
id: string;
|
|
153
|
+
includedType: string[];
|
|
154
|
+
excludedType?: string[];
|
|
155
|
+
}[];
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
destinations: any;
|
|
159
|
+
destinationCategories: {
|
|
160
|
+
label: string;
|
|
161
|
+
id: string;
|
|
162
|
+
}[];
|
|
163
|
+
mapLoaded?: boolean;
|
|
164
|
+
query?: string;
|
|
165
|
+
selectedCategory?: string;
|
|
166
|
+
selectedSubcategories?: any;
|
|
167
|
+
sidebarLabels: Record<string, string>;
|
|
168
|
+
} & {
|
|
169
|
+
isOpen?: boolean;
|
|
170
|
+
isResultsOpen?: boolean;
|
|
171
|
+
}> & Readonly<{
|
|
172
|
+
"onCategory-selected"?: (args_0: {
|
|
173
|
+
id: string;
|
|
174
|
+
key: number | string;
|
|
175
|
+
}) => any;
|
|
176
|
+
"onDestination-type-selected"?: () => any;
|
|
177
|
+
"onReset-location"?: () => any;
|
|
178
|
+
"onReset-map"?: () => any;
|
|
179
|
+
"onSearch-input-changed"?: () => any;
|
|
180
|
+
"onSubcategory-selected"?: (args_0: {
|
|
181
|
+
id: string;
|
|
182
|
+
key: number | string;
|
|
183
|
+
}) => any;
|
|
184
|
+
"onUpdate:isOpen"?: (value: boolean) => any;
|
|
185
|
+
"onUpdate:isResultsOpen"?: (value: boolean) => any;
|
|
186
|
+
}>, {}, {}, {}, {}, {
|
|
67
187
|
selectedCategory: string;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
188
|
+
categoryData: {
|
|
189
|
+
[x: string]: {
|
|
190
|
+
id: string;
|
|
191
|
+
icon: string;
|
|
192
|
+
includedType?: string[];
|
|
193
|
+
excludedType?: string[];
|
|
194
|
+
keywords?: string[];
|
|
195
|
+
subCategory: {
|
|
196
|
+
id: string;
|
|
197
|
+
includedType: string[];
|
|
198
|
+
excludedType?: string[];
|
|
199
|
+
}[];
|
|
200
|
+
};
|
|
79
201
|
};
|
|
80
|
-
|
|
202
|
+
mapLoaded: boolean;
|
|
203
|
+
query: string;
|
|
204
|
+
selectedSubcategories: any;
|
|
205
|
+
}>;
|
|
81
206
|
__isFragment?: never;
|
|
82
207
|
__isTeleport?: never;
|
|
83
208
|
__isSuspense?: never;
|
|
84
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
85
|
-
|
|
86
|
-
|
|
209
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
210
|
+
categories: {
|
|
211
|
+
label: string;
|
|
212
|
+
id: string;
|
|
213
|
+
cmsData?: boolean;
|
|
214
|
+
subCategory: {
|
|
215
|
+
label: string;
|
|
216
|
+
id: string;
|
|
217
|
+
}[];
|
|
218
|
+
}[];
|
|
219
|
+
categoryData?: {
|
|
220
|
+
[x: string]: {
|
|
221
|
+
id: string;
|
|
222
|
+
icon: string;
|
|
223
|
+
includedType?: string[];
|
|
224
|
+
excludedType?: string[];
|
|
225
|
+
keywords?: string[];
|
|
226
|
+
subCategory: {
|
|
227
|
+
id: string;
|
|
228
|
+
includedType: string[];
|
|
229
|
+
excludedType?: string[];
|
|
230
|
+
}[];
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
destinations: any;
|
|
234
|
+
destinationCategories: {
|
|
235
|
+
label: string;
|
|
236
|
+
id: string;
|
|
237
|
+
}[];
|
|
238
|
+
mapLoaded?: boolean;
|
|
239
|
+
query?: string;
|
|
240
|
+
selectedCategory?: string;
|
|
241
|
+
selectedSubcategories?: any;
|
|
242
|
+
sidebarLabels: Record<string, string>;
|
|
243
|
+
} & {
|
|
244
|
+
isOpen?: boolean;
|
|
245
|
+
isResultsOpen?: boolean;
|
|
246
|
+
}> & Readonly<{
|
|
247
|
+
"onCategory-selected"?: (args_0: {
|
|
248
|
+
id: string;
|
|
249
|
+
key: number | string;
|
|
250
|
+
}) => any;
|
|
251
|
+
"onDestination-type-selected"?: () => any;
|
|
252
|
+
"onReset-location"?: () => any;
|
|
253
|
+
"onReset-map"?: () => any;
|
|
254
|
+
"onSearch-input-changed"?: () => any;
|
|
255
|
+
"onSubcategory-selected"?: (args_0: {
|
|
256
|
+
id: string;
|
|
257
|
+
key: number | string;
|
|
258
|
+
}) => any;
|
|
259
|
+
"onUpdate:isOpen"?: (value: boolean) => any;
|
|
260
|
+
"onUpdate:isResultsOpen"?: (value: boolean) => any;
|
|
261
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
262
|
+
"category-selected": (args_0: {
|
|
263
|
+
id: string;
|
|
264
|
+
key: number | string;
|
|
265
|
+
}) => any;
|
|
266
|
+
"destination-type-selected": () => any;
|
|
267
|
+
"reset-location": () => any;
|
|
268
|
+
"reset-map": () => any;
|
|
269
|
+
"search-input-changed": () => any;
|
|
270
|
+
"subcategory-selected": (args_0: {
|
|
271
|
+
id: string;
|
|
272
|
+
key: number | string;
|
|
273
|
+
}) => any;
|
|
274
|
+
"update:isOpen": (value: boolean) => any;
|
|
275
|
+
"update:isResultsOpen": (value: boolean) => any;
|
|
276
|
+
}, string, {
|
|
87
277
|
selectedCategory: string;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
278
|
+
categoryData: {
|
|
279
|
+
[x: string]: {
|
|
280
|
+
id: string;
|
|
281
|
+
icon: string;
|
|
282
|
+
includedType?: string[];
|
|
283
|
+
excludedType?: string[];
|
|
284
|
+
keywords?: string[];
|
|
285
|
+
subCategory: {
|
|
286
|
+
id: string;
|
|
287
|
+
includedType: string[];
|
|
288
|
+
excludedType?: string[];
|
|
289
|
+
}[];
|
|
290
|
+
};
|
|
99
291
|
};
|
|
100
|
-
|
|
292
|
+
mapLoaded: boolean;
|
|
293
|
+
query: string;
|
|
294
|
+
selectedSubcategories: any;
|
|
295
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
101
296
|
$slots: {
|
|
102
297
|
'vs-map-sidebar-search-results'?: (props: {}) => any;
|
|
103
298
|
};
|