@visitscotland/component-library 5.18.3 → 5.19.1
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/client/manifest.json +611 -184
- package/dist/client/scripts/{7623efe03b36f0ed4aed.js → 0887a6325eaa6c7fb1df.js} +1 -1
- package/dist/client/scripts/{afa7ad170a682bb30360.js → 0b79aed9c15439a99c5d.js} +1 -1
- package/dist/client/scripts/{361d750feef900d25cdd.js → 103cbd6c19dc19f4560d.js} +1 -1
- package/dist/client/scripts/1fe5c1788372e6e847e9.js +1 -0
- package/dist/client/scripts/{da9a5bb3a2c3ccd9b8c3.js → 2037ef46a5d25a2c0e6a.js} +1 -1
- package/dist/client/scripts/{e57ddd22b702da0b3e55.js → 374fbb8f39b0672b5a85.js} +1 -1
- package/dist/client/scripts/{3997e6bfb2077648fae3.js → 4089fbd8d035100ba7f5.js} +1 -1
- package/dist/client/scripts/{fae6cfba00961fbfdeb1.js → 4ad5d822d9c447ec26c9.js} +1 -1
- package/dist/client/scripts/{7e8d4a053626ca22af6b.js → 55002287d1b2302c7493.js} +1 -1
- package/dist/client/scripts/{41046f754522e73a8099.js → 5679716ad3929dc02e9b.js} +1 -1
- package/dist/client/scripts/59a76a459d32044ea545.js +1 -0
- package/dist/client/scripts/{4a232a5e9d26dde19f52.js → 5d524bc7f9489178b799.js} +1 -1
- package/dist/client/scripts/73755078186ddfea6187.js +1 -0
- package/dist/client/scripts/7d8dbb02a17c6db4b5d0.js +1 -0
- package/dist/client/scripts/{8acff47d593d27c139c5.js → 7f373c2c5b73adedf67b.js} +1 -1
- package/dist/client/scripts/856dee02139e7f308144.js +1 -0
- package/dist/client/scripts/{e3b6adc8ebe038bb8333.js → 89f02ff9d47a9e976bed.js} +1 -1
- package/dist/client/scripts/{18b7751ab328bbd3a091.js → 8c58cc191b05c2f558ac.js} +1 -1
- package/dist/client/scripts/{bd4479c83bbb35a9350e.js → 9d925f6e0be9438d2e5c.js} +1 -1
- package/dist/client/scripts/af30ee7015b50e68973b.js +1 -0
- package/dist/client/scripts/af98b51a0b9e42f3e4b8.js +1 -0
- package/dist/client/scripts/{891ca6d77a816816d620.js → b6c924ab21e8d58165f5.js} +1 -1
- package/dist/client/scripts/b6f16cd8761cdc55f8c7.js +1 -0
- package/dist/client/scripts/{6afbf17da2ea8f279e92.js → b8242eaf85c9b74fa30e.js} +1 -1
- package/dist/client/scripts/bf0db3e895a654334d08.js +1 -0
- package/dist/client/scripts/{78b5052753a730211f39.js → c095fb3ef021232748ed.js} +1 -1
- package/dist/client/scripts/ccc5f3da41e496b321de.js +1 -0
- package/dist/client/scripts/{e4b9034e8128914fbb28.js → cf83a12e3febb62030a6.js} +1 -1
- package/dist/client/scripts/d9005ebbf3356c0044d1.js +1 -0
- package/dist/client/scripts/e23286dae5ab566935f8.js +1 -0
- package/dist/client/scripts/{967b8f5dde3c44052690.js → e2eefa435e886ed26ae1.js} +1 -1
- package/dist/client/scripts/{d7b6acd233114c0dc290.js → f1ee7dc40b24ea9dbee7.js} +1 -1
- package/dist/client/scripts/f6cb2798677ada41ec58.js +1 -0
- package/dist/client/styles/73755078186ddfea6187.css +1 -0
- package/dist/client/styles/b6f16cd8761cdc55f8c7.css +1 -0
- package/dist/components/{LoadingSpinner-Bt2Ghlfy.mjs → LoadingSpinner-BmMmIECN.mjs} +101 -66
- package/dist/components/{LoadingSpinner-kkWdRoQn.js → LoadingSpinner-CJ3v3I6Y.js} +11 -11
- package/dist/components/src/components/mega-nav/MegaNav.vue.d.ts +26 -0
- package/dist/components/src/custom-components/federated-search/composables/dataLayerComposable.d.ts +47 -0
- package/dist/components/src/{stores → custom-components/federated-search/stores}/federatedSearch.store.d.ts +11 -5
- package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/cludo-autocomplete.d.ts +1 -1
- package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/cludo-search.d.ts +1 -1
- package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/event-search.d.ts +1 -1
- package/dist/components/src/custom-components/index.d.ts +1 -0
- package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +29 -0
- package/dist/components/src/custom-components/maps/components/MapSidebar.vue.d.ts +129 -0
- package/dist/components/src/custom-components/maps/components/__tests__/MapSidebar.jest.spec.d.ts +1 -0
- package/dist/components/src/custom-components/maps/composables/verifyCookiesComposable.d.ts +8 -0
- package/dist/components/src/custom-components/maps/index.d.ts +220 -0
- package/dist/components/src/stores/mainMap.store.d.ts +8 -0
- package/dist/components/src/types/types.d.ts +4 -0
- package/dist/components/src/utils/data-layer-templates.d.ts +4 -0
- package/dist/components/src/utils/required-cookies-data.d.ts +1 -0
- 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 +117 -117
- package/dist/components/vs-component-library.mjs +4074 -3189
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{5f99ffcb825bc8c86cd6.css → ff043c26fc51def9816e.css} +2 -0
- package/package.json +7 -2
- package/dist/client/scripts/001863c2690a82688fa5.js +0 -1
- package/dist/client/scripts/091d1b5d5e5c0733ca84.js +0 -1
- package/dist/client/scripts/1ff2b383780ddd0a3238.js +0 -1
- package/dist/client/scripts/2ae463c5413ed68b631b.js +0 -1
- package/dist/client/scripts/662ab94c1e1e471bafb2.js +0 -1
- package/dist/client/scripts/9b38d68c8dc4375aa543.js +0 -1
- package/dist/client/scripts/c414a72f533223c0e349.js +0 -1
- package/dist/client/scripts/f0e417db2dd15113a4ed.js +0 -1
- /package/dist/client/styles/{662ab94c1e1e471bafb2.css → 1fe5c1788372e6e847e9.css} +0 -0
- /package/dist/client/styles/{fae6cfba00961fbfdeb1.css → 4ad5d822d9c447ec26c9.css} +0 -0
- /package/dist/client/styles/{091d1b5d5e5c0733ca84.css → bf0db3e895a654334d08.css} +0 -0
- /package/dist/client/styles/{001863c2690a82688fa5.css → d9005ebbf3356c0044d1.css} +0 -0
- /package/dist/client/styles/{1ff2b383780ddd0a3238.css → f6cb2798677ada41ec58.css} +0 -0
|
@@ -51,6 +51,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
51
51
|
type: StringConstructor;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Text that displays on the map button
|
|
56
|
+
* */
|
|
57
|
+
mapButtonText: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: any;
|
|
60
|
+
};
|
|
54
61
|
/**
|
|
55
62
|
* If true, completely remove the search button from the nav
|
|
56
63
|
* to render search inaccessible
|
|
@@ -66,6 +73,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
66
73
|
type: StringConstructor;
|
|
67
74
|
default: any;
|
|
68
75
|
};
|
|
76
|
+
/** If set, link to Explore Map */
|
|
77
|
+
mapLink: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
69
81
|
/**
|
|
70
82
|
* Indicates whether the nav contains static links rather than dropdowns. If true some
|
|
71
83
|
* supporting aria roles must be added.
|
|
@@ -390,6 +402,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
390
402
|
type: StringConstructor;
|
|
391
403
|
default: string;
|
|
392
404
|
};
|
|
405
|
+
/**
|
|
406
|
+
* Text that displays on the map button
|
|
407
|
+
* */
|
|
408
|
+
mapButtonText: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
default: any;
|
|
411
|
+
};
|
|
393
412
|
/**
|
|
394
413
|
* If true, completely remove the search button from the nav
|
|
395
414
|
* to render search inaccessible
|
|
@@ -405,6 +424,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
405
424
|
type: StringConstructor;
|
|
406
425
|
default: any;
|
|
407
426
|
};
|
|
427
|
+
/** If set, link to Explore Map */
|
|
428
|
+
mapLink: {
|
|
429
|
+
type: StringConstructor;
|
|
430
|
+
default: any;
|
|
431
|
+
};
|
|
408
432
|
/**
|
|
409
433
|
* Indicates whether the nav contains static links rather than dropdowns. If true some
|
|
410
434
|
* supporting aria roles must be added.
|
|
@@ -419,8 +443,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
419
443
|
searchLabelText: string;
|
|
420
444
|
searchClearButtonText: string;
|
|
421
445
|
searchCloseButtonText: string;
|
|
446
|
+
mapButtonText: string;
|
|
422
447
|
noSearch: boolean;
|
|
423
448
|
searchLink: string;
|
|
449
|
+
mapLink: string;
|
|
424
450
|
}, {}, {
|
|
425
451
|
VsCol: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
426
452
|
BCol: import('vue').DefineComponent<{
|
package/dist/components/src/custom-components/federated-search/composables/dataLayerComposable.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vue Composable for Data Layer interactions (e.g., Google Tag Manager).
|
|
3
|
+
* Replaces the dataLayerMixin for custom components. This will be removed to a wrapper
|
|
4
|
+
* project along with the components.
|
|
5
|
+
*/
|
|
6
|
+
export default function dataLayerComposable(): {
|
|
7
|
+
pageUrl: import('vue').ComputedRef<string>;
|
|
8
|
+
createDataLayerObject: (type: string, event: any) => void;
|
|
9
|
+
templateFiller: (template: Array<string>, values: any) => any;
|
|
10
|
+
compileFullTemplate: (templateValues: any) => any;
|
|
11
|
+
returnIsoDate: () => string;
|
|
12
|
+
pushToDataLayer: (object: any) => void;
|
|
13
|
+
dataLayerStore: import('pinia').Store<"datalayer", Pick<{
|
|
14
|
+
pageUrl: import('vue').Ref<string, string>;
|
|
15
|
+
tagsTestRun: import('vue').Ref<boolean, boolean>;
|
|
16
|
+
GTMData: import('vue').Ref<object, object>;
|
|
17
|
+
getValueFromKey: (key: string) => any;
|
|
18
|
+
setTestRun: (payload: boolean) => void;
|
|
19
|
+
setPageUrl: (payload: string) => void;
|
|
20
|
+
processPayload: (payload: {
|
|
21
|
+
key: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}) => void;
|
|
24
|
+
}, "pageUrl" | "tagsTestRun" | "GTMData">, Pick<{
|
|
25
|
+
pageUrl: import('vue').Ref<string, string>;
|
|
26
|
+
tagsTestRun: import('vue').Ref<boolean, boolean>;
|
|
27
|
+
GTMData: import('vue').Ref<object, object>;
|
|
28
|
+
getValueFromKey: (key: string) => any;
|
|
29
|
+
setTestRun: (payload: boolean) => void;
|
|
30
|
+
setPageUrl: (payload: string) => void;
|
|
31
|
+
processPayload: (payload: {
|
|
32
|
+
key: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}) => void;
|
|
35
|
+
}, never>, Pick<{
|
|
36
|
+
pageUrl: import('vue').Ref<string, string>;
|
|
37
|
+
tagsTestRun: import('vue').Ref<boolean, boolean>;
|
|
38
|
+
GTMData: import('vue').Ref<object, object>;
|
|
39
|
+
getValueFromKey: (key: string) => any;
|
|
40
|
+
setTestRun: (payload: boolean) => void;
|
|
41
|
+
setPageUrl: (payload: string) => void;
|
|
42
|
+
processPayload: (payload: {
|
|
43
|
+
key: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}) => void;
|
|
46
|
+
}, "getValueFromKey" | "setTestRun" | "setPageUrl" | "processPayload">>;
|
|
47
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CludoCredentials } from '
|
|
1
|
+
import { CludoCredentials } from '../../../types/types';
|
|
2
2
|
|
|
3
3
|
declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federatedSearch", Pick<{
|
|
4
4
|
filters: import('vue').Ref<any, any>;
|
|
@@ -28,13 +28,15 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
28
28
|
totalResults: import('vue').Ref<any, any>;
|
|
29
29
|
totalResultsCludo: import('vue').Ref<any, any>;
|
|
30
30
|
totalResultsEvents: import('vue').Ref<any, any>;
|
|
31
|
-
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
31
|
+
navigateToResultsPage: (resetPageNo?: boolean, fromAutosuggest?: boolean) => void;
|
|
32
32
|
isHomePage: import('vue').Ref<boolean, boolean>;
|
|
33
33
|
startDate: import('vue').Ref<string, string>;
|
|
34
34
|
endDate: import('vue').Ref<string, string>;
|
|
35
35
|
sortBy: import('vue').Ref<any, any>;
|
|
36
36
|
siteLanguage: import('vue').Ref<any, any>;
|
|
37
|
-
|
|
37
|
+
searchInSessionCount: import('vue').Ref<number, number>;
|
|
38
|
+
queryInput: import('vue').Ref<string, string>;
|
|
39
|
+
}, "filters" | "currentPage" | "isHomePage" | "selectedSubCategory" | "isLoading" | "selectedCategory" | "searchTerm" | "endDate" | "startDate" | "cludoCredentials" | "cludoError" | "eventsApi" | "eventsApiError" | "results" | "searchUrl" | "selectedCategoryKey" | "selectedSubCategoryKey" | "totalResults" | "totalResultsCludo" | "totalResultsEvents" | "sortBy" | "siteLanguage" | "searchInSessionCount" | "queryInput">, Pick<{
|
|
38
40
|
filters: import('vue').Ref<any, any>;
|
|
39
41
|
currentPage: import('vue').Ref<number, number>;
|
|
40
42
|
cludoCredentials: import('vue').Ref<{
|
|
@@ -62,12 +64,14 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
62
64
|
totalResults: import('vue').Ref<any, any>;
|
|
63
65
|
totalResultsCludo: import('vue').Ref<any, any>;
|
|
64
66
|
totalResultsEvents: import('vue').Ref<any, any>;
|
|
65
|
-
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
67
|
+
navigateToResultsPage: (resetPageNo?: boolean, fromAutosuggest?: boolean) => void;
|
|
66
68
|
isHomePage: import('vue').Ref<boolean, boolean>;
|
|
67
69
|
startDate: import('vue').Ref<string, string>;
|
|
68
70
|
endDate: import('vue').Ref<string, string>;
|
|
69
71
|
sortBy: import('vue').Ref<any, any>;
|
|
70
72
|
siteLanguage: import('vue').Ref<any, any>;
|
|
73
|
+
searchInSessionCount: import('vue').Ref<number, number>;
|
|
74
|
+
queryInput: import('vue').Ref<string, string>;
|
|
71
75
|
}, never>, Pick<{
|
|
72
76
|
filters: import('vue').Ref<any, any>;
|
|
73
77
|
currentPage: import('vue').Ref<number, number>;
|
|
@@ -96,11 +100,13 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
96
100
|
totalResults: import('vue').Ref<any, any>;
|
|
97
101
|
totalResultsCludo: import('vue').Ref<any, any>;
|
|
98
102
|
totalResultsEvents: import('vue').Ref<any, any>;
|
|
99
|
-
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
103
|
+
navigateToResultsPage: (resetPageNo?: boolean, fromAutosuggest?: boolean) => void;
|
|
100
104
|
isHomePage: import('vue').Ref<boolean, boolean>;
|
|
101
105
|
startDate: import('vue').Ref<string, string>;
|
|
102
106
|
endDate: import('vue').Ref<string, string>;
|
|
103
107
|
sortBy: import('vue').Ref<any, any>;
|
|
104
108
|
siteLanguage: import('vue').Ref<any, any>;
|
|
109
|
+
searchInSessionCount: import('vue').Ref<number, number>;
|
|
110
|
+
queryInput: import('vue').Ref<string, string>;
|
|
105
111
|
}, "getAutoComplete" | "getSearchResults" | "navigateToResultsPage">>;
|
|
106
112
|
export default useFederatedSearchStore;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CludoCredentials, FederatedSearchResult } from '
|
|
1
|
+
import { CludoCredentials, FederatedSearchResult } from '../../../types/types';
|
|
2
2
|
|
|
3
3
|
declare function cludoSearch(searchTerm: string, cludoCredentials: CludoCredentials, page: number, selectedCategory: string, selectedCategoryKey: string): Promise<{
|
|
4
4
|
results: FederatedSearchResult[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FederatedSearchResult } from '
|
|
1
|
+
import { FederatedSearchResult } from '../../../types/types';
|
|
2
2
|
|
|
3
3
|
declare function eventSearch(api: string, searchTerm: string, page: number, selectedCategoryKey: string, selectedSubCategoryKey: string[], startDate: string, endDate: string, sortBy: string, siteLanguage: string): Promise<{
|
|
4
4
|
results: FederatedSearchResult[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
center: Record<string, any>;
|
|
3
|
+
noJsMessage: string;
|
|
4
|
+
noCookiesMessage: string;
|
|
5
|
+
jsDisabled: boolean;
|
|
6
|
+
cookieBtnText: string;
|
|
7
|
+
labels: Record<string, any>;
|
|
8
|
+
zoom: number;
|
|
9
|
+
radius: number;
|
|
10
|
+
languageCode: string;
|
|
11
|
+
categoriesLocation: string;
|
|
12
|
+
categoryLabels: Record<string, any>;
|
|
13
|
+
apiKey?: string;
|
|
14
|
+
$props: {
|
|
15
|
+
readonly center?: Record<string, any>;
|
|
16
|
+
readonly noJsMessage?: string;
|
|
17
|
+
readonly noCookiesMessage?: string;
|
|
18
|
+
readonly jsDisabled?: boolean;
|
|
19
|
+
readonly cookieBtnText?: string;
|
|
20
|
+
readonly labels?: Record<string, any>;
|
|
21
|
+
readonly zoom?: number;
|
|
22
|
+
readonly radius?: number;
|
|
23
|
+
readonly languageCode?: string;
|
|
24
|
+
readonly categoriesLocation?: string;
|
|
25
|
+
readonly categoryLabels?: Record<string, any>;
|
|
26
|
+
readonly apiKey?: string;
|
|
27
|
+
};
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
/** Label for the input placeholder text */
|
|
27
|
+
inputPlaceholderLabel: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
/** Label for the search button */
|
|
32
|
+
searchButtonLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
/** Label for the clear map link */
|
|
37
|
+
clearMapLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
subFilterHeaderLabel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/** Label for the search results text */
|
|
46
|
+
searchResultsLabel: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
/** Label for the open sidebar button */
|
|
51
|
+
openSidebarButtonLabel: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"search-input-changed": (...args: any[]) => void;
|
|
57
|
+
"reset-map": (...args: any[]) => void;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
/** Text query from Map Search */
|
|
60
|
+
query: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
/** Selected Top Level Category */
|
|
65
|
+
selectedCategories: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
/** Label for the sidebar header */
|
|
70
|
+
headerLabel: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
/** Label for the close sidebar button */
|
|
75
|
+
closeSidebarButtonLabel: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
/** Label for the input placeholder text */
|
|
80
|
+
inputPlaceholderLabel: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
/** Label for the search button */
|
|
85
|
+
searchButtonLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
/** Label for the clear map link */
|
|
90
|
+
clearMapLabel: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
subFilterHeaderLabel: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
/** Label for the search results text */
|
|
99
|
+
searchResultsLabel: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
/** Label for the open sidebar button */
|
|
104
|
+
openSidebarButtonLabel: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{
|
|
109
|
+
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
110
|
+
"onReset-map"?: (...args: any[]) => any;
|
|
111
|
+
}>, {
|
|
112
|
+
query: string;
|
|
113
|
+
selectedCategories: string;
|
|
114
|
+
headerLabel: string;
|
|
115
|
+
closeSidebarButtonLabel: string;
|
|
116
|
+
inputPlaceholderLabel: string;
|
|
117
|
+
searchButtonLabel: string;
|
|
118
|
+
clearMapLabel: string;
|
|
119
|
+
subFilterHeaderLabel: string;
|
|
120
|
+
searchResultsLabel: string;
|
|
121
|
+
openSidebarButtonLabel: string;
|
|
122
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
124
|
+
export default _default;
|
|
125
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
126
|
+
new (): {
|
|
127
|
+
$slots: S;
|
|
128
|
+
};
|
|
129
|
+
};
|
package/dist/components/src/custom-components/maps/components/__tests__/MapSidebar.jest.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default cookieCheckerComposable;
|
|
2
|
+
declare function cookieCheckerComposable(): {
|
|
3
|
+
requiredCookies: import('vue').Ref<any[], any[]>;
|
|
4
|
+
cookiesAllowed: import('vue').ComputedRef<boolean>;
|
|
5
|
+
cookiesLoaded: import('vue').ComputedRef<true | {
|
|
6
|
+
cookieManagerLoaded: import('vue').Ref<boolean, boolean>;
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
VsMainMap: import('vue').DefineComponent<{}, {
|
|
3
|
+
center: Record<string, any>;
|
|
4
|
+
noJsMessage: string;
|
|
5
|
+
noCookiesMessage: string;
|
|
6
|
+
jsDisabled: boolean;
|
|
7
|
+
cookieBtnText: string;
|
|
8
|
+
labels: Record<string, any>;
|
|
9
|
+
zoom: number;
|
|
10
|
+
radius: number;
|
|
11
|
+
languageCode: string;
|
|
12
|
+
categoriesLocation: string;
|
|
13
|
+
categoryLabels: Record<string, any>;
|
|
14
|
+
apiKey?: string;
|
|
15
|
+
$props: {
|
|
16
|
+
readonly center?: Record<string, any>;
|
|
17
|
+
readonly noJsMessage?: string;
|
|
18
|
+
readonly noCookiesMessage?: string;
|
|
19
|
+
readonly jsDisabled?: boolean;
|
|
20
|
+
readonly cookieBtnText?: string;
|
|
21
|
+
readonly labels?: Record<string, any>;
|
|
22
|
+
readonly zoom?: number;
|
|
23
|
+
readonly radius?: number;
|
|
24
|
+
readonly languageCode?: string;
|
|
25
|
+
readonly categoriesLocation?: string;
|
|
26
|
+
readonly categoryLabels?: Record<string, any>;
|
|
27
|
+
readonly apiKey?: string;
|
|
28
|
+
};
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
VsMapSidebar: {
|
|
31
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
query: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
selectedCategories: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
headerLabel: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
closeSidebarButtonLabel: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
inputPlaceholderLabel: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
searchButtonLabel: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
clearMapLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
subFilterHeaderLabel: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
searchResultsLabel: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
openSidebarButtonLabel: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{
|
|
73
|
+
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
74
|
+
"onReset-map"?: (...args: any[]) => any;
|
|
75
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
|
+
"search-input-changed": (...args: any[]) => void;
|
|
77
|
+
"reset-map": (...args: any[]) => void;
|
|
78
|
+
}, import('vue').PublicProps, {
|
|
79
|
+
query: string;
|
|
80
|
+
selectedCategories: string;
|
|
81
|
+
headerLabel: string;
|
|
82
|
+
closeSidebarButtonLabel: string;
|
|
83
|
+
inputPlaceholderLabel: string;
|
|
84
|
+
searchButtonLabel: string;
|
|
85
|
+
clearMapLabel: string;
|
|
86
|
+
subFilterHeaderLabel: string;
|
|
87
|
+
searchResultsLabel: string;
|
|
88
|
+
openSidebarButtonLabel: string;
|
|
89
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
90
|
+
P: {};
|
|
91
|
+
B: {};
|
|
92
|
+
D: {};
|
|
93
|
+
C: {};
|
|
94
|
+
M: {};
|
|
95
|
+
Defaults: {};
|
|
96
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
97
|
+
query: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
selectedCategories: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
headerLabel: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
closeSidebarButtonLabel: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
inputPlaceholderLabel: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
searchButtonLabel: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
clearMapLabel: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
subFilterHeaderLabel: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
searchResultsLabel: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
openSidebarButtonLabel: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
139
|
+
"onReset-map"?: (...args: any[]) => any;
|
|
140
|
+
}>, {}, {}, {}, {}, {
|
|
141
|
+
query: string;
|
|
142
|
+
selectedCategories: string;
|
|
143
|
+
headerLabel: string;
|
|
144
|
+
closeSidebarButtonLabel: string;
|
|
145
|
+
inputPlaceholderLabel: string;
|
|
146
|
+
searchButtonLabel: string;
|
|
147
|
+
clearMapLabel: string;
|
|
148
|
+
subFilterHeaderLabel: string;
|
|
149
|
+
searchResultsLabel: string;
|
|
150
|
+
openSidebarButtonLabel: string;
|
|
151
|
+
}>;
|
|
152
|
+
__isFragment?: never;
|
|
153
|
+
__isTeleport?: never;
|
|
154
|
+
__isSuspense?: never;
|
|
155
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
156
|
+
query: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
selectedCategories: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
headerLabel: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
closeSidebarButtonLabel: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
inputPlaceholderLabel: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: string;
|
|
175
|
+
};
|
|
176
|
+
searchButtonLabel: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
clearMapLabel: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
subFilterHeaderLabel: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
searchResultsLabel: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
openSidebarButtonLabel: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
}>> & Readonly<{
|
|
197
|
+
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
198
|
+
"onReset-map"?: (...args: any[]) => any;
|
|
199
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
200
|
+
"search-input-changed": (...args: any[]) => void;
|
|
201
|
+
"reset-map": (...args: any[]) => void;
|
|
202
|
+
}, string, {
|
|
203
|
+
query: string;
|
|
204
|
+
selectedCategories: string;
|
|
205
|
+
headerLabel: string;
|
|
206
|
+
closeSidebarButtonLabel: string;
|
|
207
|
+
inputPlaceholderLabel: string;
|
|
208
|
+
searchButtonLabel: string;
|
|
209
|
+
clearMapLabel: string;
|
|
210
|
+
subFilterHeaderLabel: string;
|
|
211
|
+
searchResultsLabel: string;
|
|
212
|
+
openSidebarButtonLabel: string;
|
|
213
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
214
|
+
$slots: {
|
|
215
|
+
"vs-map-sidebar-sub-filters"?(_: {}): any;
|
|
216
|
+
"vs-map-sidebar-search-results"?(_: {}): any;
|
|
217
|
+
};
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useGoogleMapStore: import('pinia').StoreDefinition<"googleMap", Pick<{
|
|
2
|
+
sidebarOpen: import('vue').Ref<boolean, boolean>;
|
|
3
|
+
}, "sidebarOpen">, Pick<{
|
|
4
|
+
sidebarOpen: import('vue').Ref<boolean, boolean>;
|
|
5
|
+
}, never>, Pick<{
|
|
6
|
+
sidebarOpen: import('vue').Ref<boolean, boolean>;
|
|
7
|
+
}, never>>;
|
|
8
|
+
export default useGoogleMapStore;
|
|
@@ -18,3 +18,7 @@ export const productSearchTemplate: string[];
|
|
|
18
18
|
export const cmsReferralTemplate: string[];
|
|
19
19
|
export const accordionOpenTemplate: string[];
|
|
20
20
|
export const tabClickTemplate: string[];
|
|
21
|
+
export const siteSearchOpenTemplate: string[];
|
|
22
|
+
export const siteSearchUsageTemplate: string[];
|
|
23
|
+
export const siteSearchClickTemplate: string[];
|
|
24
|
+
export const siteSearchCloseTemplate: string[];
|