@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.
- package/LICENSE.txt +21 -21
- package/dist/components/{LoadingSpinner-CaO_-caf.mjs → LoadingSpinner-D0Xf9MWc.mjs} +4 -2
- package/dist/components/{LoadingSpinner-Dp1LUhwe.js → LoadingSpinner-GwEp7vJg.js} +1 -1
- package/dist/components/deprecated-B3DbN99Y.mjs +16 -0
- package/dist/components/{deprecated-BJ2e68Yo.js → deprecated-Cl9osRH8.js} +12 -12
- package/dist/components/{highland-cow-6AoCzBpF.mjs → highland-cow-BiKfZg7L.mjs} +14 -14
- package/dist/components/{highland-cow-DlMGnebG.js → highland-cow-CRm5ANrL.js} +14 -14
- package/dist/components/{iCentre-BnLcpIw8.js → iCentre-BeepnBTk.js} +42 -42
- package/dist/components/{iCentre-BLimkPxI.mjs → iCentre-DV4_tr7d.mjs} +42 -42
- package/dist/components/{os-logo-maps-DUN8X-lQ.mjs → os-logo-maps-B7DKWN7s.mjs} +9 -9
- package/dist/components/{os-logo-maps-QXAuept_.js → os-logo-maps-CF9QEvIX.js} +9 -9
- package/dist/components/{os-logo-maps-white-BTtf_Eki.js → os-logo-maps-white-DOUatF7F.js} +6 -6
- package/dist/components/{os-logo-maps-white-SKYtuD6d.mjs → os-logo-maps-white-Dl0tLZD_.mjs} +6 -6
- package/dist/components/{prototype-lvwJzV8T.mjs → prototype-8NKYzK-s.mjs} +13 -13
- package/dist/components/{prototype-DQocvgQh.js → prototype-ggLuAMuB.js} +12 -12
- package/dist/components/ready-DQA4tUcz.mjs +15 -0
- package/dist/components/{ready-D9pdKFkx.js → ready-DSUouF6L.js} +11 -11
- package/dist/components/{review-CknihZl_.mjs → review-B3KwWYuP.mjs} +11 -11
- package/dist/components/{review-7L3On10m.js → review-Bi0lAugE.js} +11 -11
- package/dist/components/src/components/form/Form.vue.d.ts +10 -4
- package/dist/components/src/components/select/Select.vue.d.ts +14 -14
- package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +2 -2
- package/dist/components/src/custom-components/maps/components/MapFeaturedLocation.vue.d.ts +6 -1
- package/dist/components/src/custom-components/maps/components/MapSidebar.vue.d.ts +22 -137
- package/dist/components/src/custom-components/maps/composables/useViewportController.d.ts +58 -0
- package/dist/components/src/custom-components/maps/index.d.ts +56 -190
- package/dist/components/src/stores/mainMap.store.d.ts +10 -1
- package/dist/components/style.css +1 -1
- package/dist/components/{visitscotland-logo-BEiiuSpo.mjs → visitscotland-logo-BA7LkUJw.mjs} +3 -3
- package/dist/components/{visitscotland-logo-NoymCLtN.js → visitscotland-logo-yAzNpi5x.js} +3 -3
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +103 -103
- package/dist/components/vs-component-library.mjs +2909 -2777
- package/package.json +205 -205
- package/dist/components/deprecated-SV4OJNeR.mjs +0 -16
- package/dist/components/ready-CWPx4e9A.mjs +0 -15
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=`<?xml version="1.0" encoding="utf-8"
|
|
2
|
-
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)
|
|
3
|
-
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"
|
|
5
|
-
<style type="text/css"
|
|
6
|
-
.st0{fill:#392F9A;}
|
|
7
|
-
</style
|
|
8
|
-
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M210.8,365.1
|
|
9
|
-
c-22.2,5.2-71.6,15.7-71.6,15.7c-0.6,0.1-1.2,0.1-1.8,0.1c-5.7,0-10.3-5.2-9.2-11.1l16.1-71.6c1.6-6.9,5-13.2,10-18.2l101-101
|
|
10
|
-
l74.7,74.7L228.4,355.3C223.5,360.1,217.5,363.5,210.8,365.1z M373.1,210.6l-20.5,20.4L278,156.4l20.4-20.4c7.3-7.4,16.8-11,26.4-11
|
|
11
|
-
c9.6,0,19.1,3.6,26.4,10.9l21.9,21.9C387.6,172.4,387.7,195.1,373.1,210.6z"
|
|
12
|
-
</svg
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=`<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#392F9A;}
|
|
7
|
+
</style>
|
|
8
|
+
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M210.8,365.1
|
|
9
|
+
c-22.2,5.2-71.6,15.7-71.6,15.7c-0.6,0.1-1.2,0.1-1.8,0.1c-5.7,0-10.3-5.2-9.2-11.1l16.1-71.6c1.6-6.9,5-13.2,10-18.2l101-101
|
|
10
|
+
l74.7,74.7L228.4,355.3C223.5,360.1,217.5,363.5,210.8,365.1z M373.1,210.6l-20.5,20.4L278,156.4l20.4-20.4c7.3-7.4,16.8-11,26.4-11
|
|
11
|
+
c9.6,0,19.1,3.6,26.4,10.9l21.9,21.9C387.6,172.4,387.7,195.1,373.1,210.6z"/>
|
|
12
|
+
</svg>
|
|
13
13
|
`;exports.default=t;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const s = `<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#28C7C4;}
|
|
7
|
+
</style>
|
|
8
|
+
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M371.8,211.8l-128,128
|
|
9
|
+
c-5.5,5.5-12.6,8.2-19.8,8.2s-14.3-2.7-19.8-8.2l-64-64c-10.9-10.9-10.9-28.7,0-39.6c10.9-10.9,28.7-10.9,39.6,0l44.2,44.2
|
|
10
|
+
l108.2-108.2c10.9-10.9,28.7-10.9,39.6,0C382.7,183.1,382.7,200.9,371.8,211.8z"/>
|
|
11
|
+
</svg>
|
|
12
|
+
`;
|
|
13
|
+
export {
|
|
14
|
+
s as default
|
|
15
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=`<?xml version="1.0" encoding="utf-8"
|
|
2
|
-
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)
|
|
3
|
-
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"
|
|
5
|
-
<style type="text/css"
|
|
6
|
-
.st0{fill:#28C7C4;}
|
|
7
|
-
</style
|
|
8
|
-
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M371.8,211.8l-128,128
|
|
9
|
-
c-5.5,5.5-12.6,8.2-19.8,8.2s-14.3-2.7-19.8-8.2l-64-64c-10.9-10.9-10.9-28.7,0-39.6c10.9-10.9,28.7-10.9,39.6,0l44.2,44.2
|
|
10
|
-
l108.2-108.2c10.9-10.9,28.7-10.9,39.6,0C382.7,183.1,382.7,200.9,371.8,211.8z"
|
|
11
|
-
</svg
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=`<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#28C7C4;}
|
|
7
|
+
</style>
|
|
8
|
+
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M371.8,211.8l-128,128
|
|
9
|
+
c-5.5,5.5-12.6,8.2-19.8,8.2s-14.3-2.7-19.8-8.2l-64-64c-10.9-10.9-10.9-28.7,0-39.6c10.9-10.9,28.7-10.9,39.6,0l44.2,44.2
|
|
10
|
+
l108.2-108.2c10.9-10.9,28.7-10.9,39.6,0C382.7,183.1,382.7,200.9,371.8,211.8z"/>
|
|
11
|
+
</svg>
|
|
12
12
|
`;exports.default=e;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const s = `<?xml version="1.0" encoding="utf-8"
|
|
2
|
-
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)
|
|
3
|
-
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"
|
|
5
|
-
<style type="text/css"
|
|
6
|
-
.st0{fill:#F4CB4B;}
|
|
7
|
-
</style
|
|
8
|
-
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M232,152
|
|
9
|
-
c0-13.2,10.8-24,24-24c13.2,0,24,10.8,24,24v128c0,13.2-10.8,24-24,24s-24-10.7-24-24V152z M256,400c-17.4,0-31.4-14.1-31.4-31.4
|
|
10
|
-
c0-17.4,14.1-31.4,31.4-31.4s31.4,14.1,31.4,31.4C287.4,385.9,273.4,400,256,400z"
|
|
11
|
-
</svg
|
|
1
|
+
const s = `<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#F4CB4B;}
|
|
7
|
+
</style>
|
|
8
|
+
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M232,152
|
|
9
|
+
c0-13.2,10.8-24,24-24c13.2,0,24,10.8,24,24v128c0,13.2-10.8,24-24,24s-24-10.7-24-24V152z M256,400c-17.4,0-31.4-14.1-31.4-31.4
|
|
10
|
+
c0-17.4,14.1-31.4,31.4-31.4s31.4,14.1,31.4,31.4C287.4,385.9,273.4,400,256,400z"/>
|
|
11
|
+
</svg>
|
|
12
12
|
`;
|
|
13
13
|
export {
|
|
14
14
|
s as default
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=`<?xml version="1.0" encoding="utf-8"
|
|
2
|
-
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)
|
|
3
|
-
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"
|
|
5
|
-
<style type="text/css"
|
|
6
|
-
.st0{fill:#F4CB4B;}
|
|
7
|
-
</style
|
|
8
|
-
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M232,152
|
|
9
|
-
c0-13.2,10.8-24,24-24c13.2,0,24,10.8,24,24v128c0,13.2-10.8,24-24,24s-24-10.7-24-24V152z M256,400c-17.4,0-31.4-14.1-31.4-31.4
|
|
10
|
-
c0-17.4,14.1-31.4,31.4-31.4s31.4,14.1,31.4,31.4C287.4,385.9,273.4,400,256,400z"
|
|
11
|
-
</svg
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=`<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#F4CB4B;}
|
|
7
|
+
</style>
|
|
8
|
+
<path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M232,152
|
|
9
|
+
c0-13.2,10.8-24,24-24c13.2,0,24,10.8,24,24v128c0,13.2-10.8,24-24,24s-24-10.7-24-24V152z M256,400c-17.4,0-31.4-14.1-31.4-31.4
|
|
10
|
+
c0-17.4,14.1-31.4,31.4-31.4s31.4,14.1,31.4,31.4C287.4,385.9,273.4,400,256,400z"/>
|
|
11
|
+
</svg>
|
|
12
12
|
`;exports.default=e;
|
|
@@ -1991,10 +1991,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1991
1991
|
form?: string | undefined;
|
|
1992
1992
|
multiple?: boolean | undefined;
|
|
1993
1993
|
required?: boolean | undefined;
|
|
1994
|
-
size
|
|
1995
|
-
|
|
1994
|
+
size
|
|
1995
|
+
/**
|
|
1996
1996
|
* The target url for the form, if not marketo
|
|
1997
|
-
|
|
1997
|
+
*/
|
|
1998
|
+
? /**
|
|
1999
|
+
* The target url for the form, if not marketo
|
|
2000
|
+
*/: keyof import('bootstrap-vue-next').BaseSize | undefined;
|
|
2001
|
+
plain?: boolean | undefined;
|
|
1998
2002
|
state?: boolean | null | undefined;
|
|
1999
2003
|
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined;
|
|
2000
2004
|
options?: readonly unknown[] | undefined;
|
|
@@ -2026,7 +2030,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2026
2030
|
__ctx?: {
|
|
2027
2031
|
props: {
|
|
2028
2032
|
name?: string | undefined;
|
|
2029
|
-
id
|
|
2033
|
+
id? /**
|
|
2034
|
+
* Marketo instance URL for the form
|
|
2035
|
+
*/: string | undefined;
|
|
2030
2036
|
ariaInvalid?: import('node_modules/bootstrap-vue-next/dist/src/types').AriaInvalid | undefined;
|
|
2031
2037
|
autofocus?: boolean | undefined;
|
|
2032
2038
|
disabled?: boolean | undefined;
|
|
@@ -229,15 +229,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
229
229
|
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined;
|
|
230
230
|
options?: readonly unknown[] | undefined;
|
|
231
231
|
valueField?: string | undefined;
|
|
232
|
-
textField
|
|
233
|
-
* Options for select element
|
|
234
|
-
*/: string | undefined;
|
|
232
|
+
textField?: string | undefined;
|
|
235
233
|
htmlField?: string | undefined;
|
|
236
234
|
disabledField?: string | undefined;
|
|
237
235
|
optionsField?: string | undefined;
|
|
238
|
-
labelField
|
|
239
|
-
* Name of the field (for name and id attributes)
|
|
240
|
-
*/: string | undefined;
|
|
236
|
+
labelField?: string | undefined;
|
|
241
237
|
selectSize?: import('node_modules/bootstrap-vue-next/dist/src/types').Numberish | undefined;
|
|
242
238
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
243
239
|
slots: Readonly<{
|
|
@@ -255,11 +251,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
255
251
|
focus: () => void;
|
|
256
252
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
257
253
|
props: {
|
|
258
|
-
name
|
|
259
|
-
id?: string | undefined;
|
|
260
|
-
ariaInvalid? /**
|
|
254
|
+
name? /**
|
|
261
255
|
* Validation messages
|
|
262
|
-
*/:
|
|
256
|
+
*/: string | undefined;
|
|
257
|
+
id?: string | undefined;
|
|
258
|
+
ariaInvalid?: import('node_modules/bootstrap-vue-next/dist/src/types').AriaInvalid | undefined;
|
|
263
259
|
autofocus?: boolean | undefined;
|
|
264
260
|
disabled?: boolean | undefined;
|
|
265
261
|
form?: string | undefined;
|
|
@@ -270,9 +266,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
270
266
|
state?: boolean | null | undefined;
|
|
271
267
|
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined;
|
|
272
268
|
options?: readonly unknown[] | undefined;
|
|
273
|
-
valueField
|
|
274
|
-
* Whether the options should be a countries list
|
|
275
|
-
*/: string | undefined;
|
|
269
|
+
valueField?: string | undefined;
|
|
276
270
|
textField?: string | undefined;
|
|
277
271
|
htmlField?: string | undefined;
|
|
278
272
|
disabledField?: string | undefined;
|
|
@@ -315,7 +309,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
315
309
|
valueField?: string | undefined;
|
|
316
310
|
textField?: string | undefined;
|
|
317
311
|
htmlField?: string | undefined;
|
|
318
|
-
disabledField
|
|
312
|
+
disabledField
|
|
313
|
+
/**
|
|
314
|
+
* import country list
|
|
315
|
+
*/
|
|
316
|
+
? /**
|
|
317
|
+
* import country list
|
|
318
|
+
*/: string | undefined;
|
|
319
319
|
optionsField?: string | undefined;
|
|
320
320
|
labelField?: string | undefined;
|
|
321
321
|
selectSize?: import('node_modules/bootstrap-vue-next/dist/src/types').Numberish | undefined;
|
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
mapId: string;
|
|
8
8
|
radius: number;
|
|
9
9
|
labels: Record<string, any>;
|
|
10
|
-
mapTypeVector: boolean;
|
|
11
10
|
zoom: number;
|
|
11
|
+
mapTypeVector: boolean;
|
|
12
12
|
languageCode: string;
|
|
13
13
|
categoriesLocation: string;
|
|
14
14
|
categoryLabels: Record<string, any>;
|
|
@@ -26,8 +26,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
26
26
|
readonly mapId?: string;
|
|
27
27
|
readonly radius?: number;
|
|
28
28
|
readonly labels?: Record<string, any>;
|
|
29
|
-
readonly mapTypeVector?: boolean;
|
|
30
29
|
readonly zoom?: number;
|
|
30
|
+
readonly mapTypeVector?: boolean;
|
|
31
31
|
readonly languageCode?: string;
|
|
32
32
|
readonly categoriesLocation?: string;
|
|
33
33
|
readonly categoryLabels?: Record<string, any>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
locationSelectLabel: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly locationSelectLabel?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
7
|
export default _default;
|
|
@@ -1,140 +1,25 @@
|
|
|
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
|
-
/** ARIA Label for the input */
|
|
27
|
-
searchBarAriaLabel: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
/** Label for the input placeholder text */
|
|
32
|
-
inputPlaceholderLabel: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
/** Label for the search button */
|
|
37
|
-
searchButtonLabel: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
/** Label for the clear map link */
|
|
42
|
-
clearMapLabel: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
subFilterHeaderLabel: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
/** Label for the search results text */
|
|
51
|
-
searchResultsLabel: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
/** Label for the open sidebar button */
|
|
56
|
-
openSidebarButtonLabel: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
"search-input-changed": (...args: any[]) => void;
|
|
62
|
-
"reset-map": (...args: any[]) => void;
|
|
63
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
-
/** Text query from Map Search */
|
|
65
|
-
query: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
/** Selected Top Level Category */
|
|
70
|
-
selectedCategories: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
/** Label for the sidebar header */
|
|
75
|
-
headerLabel: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
/** Label for the close sidebar button */
|
|
80
|
-
closeSidebarButtonLabel: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
/** ARIA Label for the input */
|
|
85
|
-
searchBarAriaLabel: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
/** Label for the input placeholder text */
|
|
90
|
-
inputPlaceholderLabel: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
/** Label for the search button */
|
|
95
|
-
searchButtonLabel: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
/** Label for the clear map link */
|
|
100
|
-
clearMapLabel: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
subFilterHeaderLabel: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
/** Label for the search results text */
|
|
109
|
-
searchResultsLabel: {
|
|
110
|
-
type: StringConstructor;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
/** Label for the open sidebar button */
|
|
114
|
-
openSidebarButtonLabel: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
}>> & Readonly<{
|
|
119
|
-
"onSearch-input-changed"?: (...args: any[]) => any;
|
|
120
|
-
"onReset-map"?: (...args: any[]) => any;
|
|
121
|
-
}>, {
|
|
122
|
-
query: string;
|
|
123
|
-
selectedCategories: string;
|
|
124
|
-
headerLabel: string;
|
|
125
|
-
closeSidebarButtonLabel: string;
|
|
126
|
-
searchBarAriaLabel: string;
|
|
127
|
-
inputPlaceholderLabel: string;
|
|
128
|
-
searchButtonLabel: string;
|
|
129
|
-
clearMapLabel: string;
|
|
130
|
-
subFilterHeaderLabel: string;
|
|
131
|
-
searchResultsLabel: string;
|
|
132
|
-
openSidebarButtonLabel: string;
|
|
133
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
1
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
135
2
|
export default _default;
|
|
136
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "category-selected" | "reset-location" | "reset-map" | "search-input-changed" | "subcategory-selected", ...args: any[]) => void;
|
|
8
|
+
categories: Record<string, any>;
|
|
9
|
+
selectedCategory: string;
|
|
10
|
+
query: string;
|
|
11
|
+
sidebarLabels: Record<string, any>;
|
|
12
|
+
categoryData: Record<string, any>;
|
|
13
|
+
selectedSubcategories?: Record<string, any>;
|
|
14
|
+
$props: {
|
|
15
|
+
readonly categories?: Record<string, any>;
|
|
16
|
+
readonly selectedCategory?: string;
|
|
17
|
+
readonly query?: string;
|
|
18
|
+
readonly sidebarLabels?: Record<string, any>;
|
|
19
|
+
readonly categoryData?: Record<string, any>;
|
|
20
|
+
readonly selectedSubcategories?: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
"vs-map-sidebar-search-results"?(_: {}): any;
|
|
140
25
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
type ViewportCenter = google.maps.LatLngLiteral;
|
|
2
|
+
type Viewport = {
|
|
3
|
+
bounds: google.maps.LatLngBounds | null;
|
|
4
|
+
center: ViewportCenter;
|
|
5
|
+
zoom: number;
|
|
6
|
+
};
|
|
7
|
+
export default function useViewportController(): {
|
|
8
|
+
getViewport: (gMap: google.maps.Map) => Viewport;
|
|
9
|
+
hasViewportChanged: (newViewPort: Viewport) => boolean;
|
|
10
|
+
isProgrammaticMove: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
isUserMove: import('vue').Ref<boolean, boolean>;
|
|
12
|
+
lastSearchViewport: import('vue').Ref<{
|
|
13
|
+
bounds: {
|
|
14
|
+
contains: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => boolean;
|
|
15
|
+
equals: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null) => boolean;
|
|
16
|
+
extend: (point: google.maps.LatLng | google.maps.LatLngLiteral) => google.maps.LatLngBounds;
|
|
17
|
+
getCenter: () => google.maps.LatLng;
|
|
18
|
+
getNorthEast: () => google.maps.LatLng;
|
|
19
|
+
getSouthWest: () => google.maps.LatLng;
|
|
20
|
+
intersects: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => boolean;
|
|
21
|
+
isEmpty: () => boolean;
|
|
22
|
+
toJSON: () => google.maps.LatLngBoundsLiteral;
|
|
23
|
+
toSpan: () => google.maps.LatLng;
|
|
24
|
+
toString: () => string;
|
|
25
|
+
toUrlValue: (precision?: number) => string;
|
|
26
|
+
union: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => google.maps.LatLngBounds;
|
|
27
|
+
};
|
|
28
|
+
center: {
|
|
29
|
+
lat: number;
|
|
30
|
+
lng: number;
|
|
31
|
+
};
|
|
32
|
+
zoom: number;
|
|
33
|
+
}, Viewport | {
|
|
34
|
+
bounds: {
|
|
35
|
+
contains: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => boolean;
|
|
36
|
+
equals: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null) => boolean;
|
|
37
|
+
extend: (point: google.maps.LatLng | google.maps.LatLngLiteral) => google.maps.LatLngBounds;
|
|
38
|
+
getCenter: () => google.maps.LatLng;
|
|
39
|
+
getNorthEast: () => google.maps.LatLng;
|
|
40
|
+
getSouthWest: () => google.maps.LatLng;
|
|
41
|
+
intersects: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => boolean;
|
|
42
|
+
isEmpty: () => boolean;
|
|
43
|
+
toJSON: () => google.maps.LatLngBoundsLiteral;
|
|
44
|
+
toSpan: () => google.maps.LatLng;
|
|
45
|
+
toString: () => string;
|
|
46
|
+
toUrlValue: (precision?: number) => string;
|
|
47
|
+
union: (other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral) => google.maps.LatLngBounds;
|
|
48
|
+
};
|
|
49
|
+
center: {
|
|
50
|
+
lat: number;
|
|
51
|
+
lng: number;
|
|
52
|
+
};
|
|
53
|
+
zoom: number;
|
|
54
|
+
}>;
|
|
55
|
+
runProgrammaticMove: (fn: Function) => void;
|
|
56
|
+
showSearchAreaButton: import('vue').Ref<boolean, boolean>;
|
|
57
|
+
};
|
|
58
|
+
export {};
|