@visitscotland/component-library 5.36.0 → 5.38.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/client/manifest.json +10 -10
- package/dist/client/scripts/5377b7e77eff6b5f16fd.js +1 -0
- package/dist/client/scripts/9a7df6c964746be2019a.js +1 -0
- package/dist/components/src/components/form/Form.vue.d.ts +19 -0
- package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +2 -0
- package/dist/components/src/custom-components/maps/index.d.ts +2 -0
- package/dist/components/vs-component-library.js +7 -7
- package/dist/components/vs-component-library.mjs +80 -63
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/13451712ec510d5251e1.js +0 -1
- package/dist/client/scripts/859084a4cae6374e0ecc.js +0 -1
- /package/dist/client/styles/{13451712ec510d5251e1.css → 5377b7e77eff6b5f16fd.css} +0 -0
- /package/dist/client/styles/{859084a4cae6374e0ecc.css → 9a7df6c964746be2019a.css} +0 -0
- /package/dist/ssr/styles/{6a08107ad4b45fb54080.css → 45b387e6ce56f1869005.css} +0 -0
|
@@ -2204,7 +2204,7 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["r
|
|
|
2204
2204
|
}, _hoisted_4$J = ["onClick", "onKeypress", "data-test"], _hoisted_5$u = { class: "visually-hidden" }, _hoisted_6$l = {
|
|
2205
2205
|
key: 0,
|
|
2206
2206
|
class: "vs-carousel__mobile-pagination-wrapper"
|
|
2207
|
-
}, _hoisted_7$
|
|
2207
|
+
}, _hoisted_7$i = {
|
|
2208
2208
|
class: "vs-carousel__mobile-pagination",
|
|
2209
2209
|
"data-test": "vs-carousel__mobile-pagination"
|
|
2210
2210
|
};
|
|
@@ -2280,7 +2280,7 @@ function _sfc_render$1L(e, n, t, r, a, s) {
|
|
|
2280
2280
|
])) : createCommentVNode("", !0)
|
|
2281
2281
|
]),
|
|
2282
2282
|
a.totalSlides > s.slidesPerPage[a.currentWidth] ? (openBlock(), createElementBlock("div", _hoisted_6$l, [
|
|
2283
|
-
createElementVNode("p", _hoisted_7$
|
|
2283
|
+
createElementVNode("p", _hoisted_7$i, [
|
|
2284
2284
|
createTextVNode(toDisplayString(a.currentPage + 1) + " ", 1),
|
|
2285
2285
|
renderSlot(e.$slots, "vs-carousel-of"),
|
|
2286
2286
|
createTextVNode(" " + toDisplayString(a.totalSlides), 1)
|
|
@@ -2851,7 +2851,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_
|
|
|
2851
2851
|
return (t - e) * r / (n - e);
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
|
-
}, _hoisted_1$1z = ["width", "height"], _hoisted_2$19 = ["stroke"], _hoisted_3$Y = ["stroke"], _hoisted_4$I = ["stroke"], _hoisted_5$t = ["stroke"], _hoisted_6$k = ["stroke"], _hoisted_7$
|
|
2854
|
+
}, _hoisted_1$1z = ["width", "height"], _hoisted_2$19 = ["stroke"], _hoisted_3$Y = ["stroke"], _hoisted_4$I = ["stroke"], _hoisted_5$t = ["stroke"], _hoisted_6$k = ["stroke"], _hoisted_7$h = ["stroke"], _hoisted_8$6 = ["stroke"], _hoisted_9$5 = ["stroke"], _hoisted_10$5 = ["stroke"], _hoisted_11$4 = ["stroke"], _hoisted_12$3 = ["stroke"], _hoisted_13$3 = ["stroke"], _hoisted_14$2 = ["stroke"], _hoisted_15$2 = ["stroke"], _hoisted_16$2 = ["stroke"], _hoisted_17$2 = ["stroke"], _hoisted_18$1 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
|
|
2855
2855
|
function _sfc_render$1I(e, n, t, r, a, s) {
|
|
2856
2856
|
return openBlock(), createElementBlock("svg", {
|
|
2857
2857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2928,7 +2928,7 @@ function _sfc_render$1I(e, n, t, r, a, s) {
|
|
|
2928
2928
|
"stroke-linejoin": "round",
|
|
2929
2929
|
"stroke-width": "0.5",
|
|
2930
2930
|
"fill-rule": "evenodd"
|
|
2931
|
-
}, null, 8, _hoisted_7$
|
|
2931
|
+
}, null, 8, _hoisted_7$h),
|
|
2932
2932
|
createElementVNode("path", {
|
|
2933
2933
|
d: "M52.8005,31.1643l1.67-.552-.17-.548C53.1345,30.2483,52.9675,29.88,52.8005,31.1643Z",
|
|
2934
2934
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -7311,7 +7311,7 @@ const _hoisted_1$4$1 = ["stroke-dasharray"], _hoisted_2$3$1 = {
|
|
|
7311
7311
|
}, _hoisted_3$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_4$2$1 = {
|
|
7312
7312
|
key: 1,
|
|
7313
7313
|
class: "grid-y"
|
|
7314
|
-
}, _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_7$
|
|
7314
|
+
}, _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_7$g = ["x1", "y1", "x2", "y2"];
|
|
7315
7315
|
function render$5(e, n, t, r, a, s) {
|
|
7316
7316
|
return e.data.length ? (openBlock(), createElementBlock("g", {
|
|
7317
7317
|
key: 0,
|
|
@@ -7363,7 +7363,7 @@ function render$5(e, n, t, r, a, s) {
|
|
|
7363
7363
|
y1: e.canvas.y,
|
|
7364
7364
|
x2: e.canvas.width - 1,
|
|
7365
7365
|
y2: e.canvas.height
|
|
7366
|
-
}, null, 8, _hoisted_7$
|
|
7366
|
+
}, null, 8, _hoisted_7$g)
|
|
7367
7367
|
])
|
|
7368
7368
|
], 8, _hoisted_1$4$1)) : createCommentVNode("v-if", !0);
|
|
7369
7369
|
}
|
|
@@ -14185,7 +14185,7 @@ var isCoreModule, hasRequiredIsCoreModule;
|
|
|
14185
14185
|
function requireIsCoreModule() {
|
|
14186
14186
|
if (hasRequiredIsCoreModule) return isCoreModule;
|
|
14187
14187
|
hasRequiredIsCoreModule = 1;
|
|
14188
|
-
var e = { node: "20.20.
|
|
14188
|
+
var e = { node: "20.20.1", acorn: "8.16.0", ada: "2.9.2", ares: "1.34.6", brotli: "1.1.0", cjs_module_lexer: "2.2.0", cldr: "48.0", icu: "78.2", llhttp: "9.3.1", modules: "115", napi: "9", nghttp2: "1.61.0", openssl: "3.0.19", simdutf: "6.4.2", tz: "2025c", undici: "6.23.0", unicode: "17.0", uv: "1.46.0", uvwasi: "0.0.23", v8: "11.3.244.8-node.34", zlib: "1.3.1-e00f703" }, n = requireHasown();
|
|
14189
14189
|
function t(o, i) {
|
|
14190
14190
|
for (var l = o.split("."), c = i.split(" "), u = c.length > 1 ? c[0] : "=", d = (c.length > 1 ? c[1] : c[0]).split("."), f = 0; f < 3; ++f) {
|
|
14191
14191
|
var p = parseInt(l[f] || 0, 10), m = parseInt(d[f] || 0, 10);
|
|
@@ -22630,7 +22630,7 @@ const VsHeroSectionVideoControl = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["r
|
|
|
22630
22630
|
}, _hoisted_3$D = ["poster"], _hoisted_4$t = ["src"], _hoisted_5$k = {
|
|
22631
22631
|
key: 2,
|
|
22632
22632
|
class: "vs-hero-section__divider"
|
|
22633
|
-
}, _hoisted_6$g = { class: "vs-hero-section__text" }, _hoisted_7$
|
|
22633
|
+
}, _hoisted_6$g = { class: "vs-hero-section__text" }, _hoisted_7$f = ["innerHTML"], _hoisted_8$5 = { class: "mb-0" };
|
|
22634
22634
|
function _sfc_render$13(e, n, t, r, a, s) {
|
|
22635
22635
|
const o = resolveComponent("VsHeroSectionImage"), i = resolveComponent("VsHeading"), l = resolveComponent("VsBody"), c = resolveComponent("VsHeroSectionVideoControl");
|
|
22636
22636
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22681,7 +22681,7 @@ function _sfc_render$13(e, n, t, r, a, s) {
|
|
|
22681
22681
|
id: "main-heading"
|
|
22682
22682
|
}, {
|
|
22683
22683
|
default: withCtx(() => [
|
|
22684
|
-
createElementVNode("span", { innerHTML: t.heading }, null, 8, _hoisted_7$
|
|
22684
|
+
createElementVNode("span", { innerHTML: t.heading }, null, 8, _hoisted_7$f)
|
|
22685
22685
|
]),
|
|
22686
22686
|
_: 1
|
|
22687
22687
|
}),
|
|
@@ -23043,7 +23043,7 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sf
|
|
|
23043
23043
|
}, _hoisted_4$r = { class: "vs-video-caption__title" }, _hoisted_5$j = { class: "vs-video-caption__duration" }, _hoisted_6$f = {
|
|
23044
23044
|
key: 1,
|
|
23045
23045
|
class: "vs-video-caption vs-video-caption--warning"
|
|
23046
|
-
}, _hoisted_7$
|
|
23046
|
+
}, _hoisted_7$e = {
|
|
23047
23047
|
key: 2,
|
|
23048
23048
|
class: "vs-video-caption vs-video-caption--no-js vs-video-caption--warning",
|
|
23049
23049
|
"data-test": "video-caption-nojs"
|
|
@@ -23108,7 +23108,7 @@ function _sfc_render$Z(e, n, t, r, a, s) {
|
|
|
23108
23108
|
_: 1
|
|
23109
23109
|
})
|
|
23110
23110
|
])) : createCommentVNode("", !0),
|
|
23111
|
-
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
23111
|
+
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
|
|
23112
23112
|
createVNode(l, { size: "small" }, {
|
|
23113
23113
|
default: withCtx(() => [
|
|
23114
23114
|
createTextVNode(toDisplayString(s.noJsMessage), 1)
|
|
@@ -23957,7 +23957,7 @@ const Itinerary = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_ren
|
|
|
23957
23957
|
show: this.defaultShow
|
|
23958
23958
|
};
|
|
23959
23959
|
}
|
|
23960
|
-
}, _hoisted_1$S = { class: "vs-itinerary-day" }, _hoisted_2$G = { class: "vs-itinerary-day__header" }, _hoisted_3$w = { class: "vs-itinerary-day__title" }, _hoisted_4$o = { class: "vs-itinerary-day__sub-heading" }, _hoisted_5$i = ["id"], _hoisted_6$e = { class: "vs-itinerary-day__intro-content" }, _hoisted_7$
|
|
23960
|
+
}, _hoisted_1$S = { class: "vs-itinerary-day" }, _hoisted_2$G = { class: "vs-itinerary-day__header" }, _hoisted_3$w = { class: "vs-itinerary-day__title" }, _hoisted_4$o = { class: "vs-itinerary-day__sub-heading" }, _hoisted_5$i = ["id"], _hoisted_6$e = { class: "vs-itinerary-day__intro-content" }, _hoisted_7$d = { class: "list-unstyled" };
|
|
23961
23961
|
function _sfc_render$U(e, n, t, r, a, s) {
|
|
23962
23962
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsAccordionItem"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
23963
23963
|
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
@@ -24005,7 +24005,7 @@ function _sfc_render$U(e, n, t, r, a, s) {
|
|
|
24005
24005
|
renderSlot(e.$slots, "day-transport"),
|
|
24006
24006
|
renderSlot(e.$slots, "day-introduction")
|
|
24007
24007
|
]),
|
|
24008
|
-
createElementVNode("ul", _hoisted_7$
|
|
24008
|
+
createElementVNode("ul", _hoisted_7$d, [
|
|
24009
24009
|
renderSlot(e.$slots, "stops")
|
|
24010
24010
|
])
|
|
24011
24011
|
], 8, _hoisted_5$i)
|
|
@@ -24069,7 +24069,7 @@ const ItineraryDay = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_
|
|
|
24069
24069
|
}, _hoisted_6$d = {
|
|
24070
24070
|
class: "vs-itinerary-stop__details-container",
|
|
24071
24071
|
"data-chromatic": "ignore"
|
|
24072
|
-
}, _hoisted_7$
|
|
24072
|
+
}, _hoisted_7$c = {
|
|
24073
24073
|
key: 0,
|
|
24074
24074
|
class: "vs-itinerary-stop__address",
|
|
24075
24075
|
"data-test": "vs-itinerary-stop-address"
|
|
@@ -24118,7 +24118,7 @@ function _sfc_render$T(e, n, t, r, a, s) {
|
|
|
24118
24118
|
renderSlot(e.$slots, "stop-time-to-explore"),
|
|
24119
24119
|
renderSlot(e.$slots, "stop-tips"),
|
|
24120
24120
|
createElementVNode("div", _hoisted_6$d, [
|
|
24121
|
-
e.$slots["stop-address"] ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
24121
|
+
e.$slots["stop-address"] ? (openBlock(), createElementBlock("div", _hoisted_7$c, [
|
|
24122
24122
|
renderSlot(e.$slots, "stop-address")
|
|
24123
24123
|
])) : createCommentVNode("", !0),
|
|
24124
24124
|
renderSlot(e.$slots, "stop-info")
|
|
@@ -25502,6 +25502,15 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25502
25502
|
isTest: {
|
|
25503
25503
|
type: Boolean,
|
|
25504
25504
|
default: !0
|
|
25505
|
+
},
|
|
25506
|
+
/**
|
|
25507
|
+
* Defines a set of consents which are implied by submission, to be stored in BREG. If this
|
|
25508
|
+
* is defined it should be included as part of the submission.
|
|
25509
|
+
*/
|
|
25510
|
+
consentList: {
|
|
25511
|
+
type: Array,
|
|
25512
|
+
required: !1,
|
|
25513
|
+
default: null
|
|
25505
25514
|
}
|
|
25506
25515
|
},
|
|
25507
25516
|
data() {
|
|
@@ -25765,7 +25774,8 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25765
25774
|
...this.form,
|
|
25766
25775
|
...n,
|
|
25767
25776
|
formType: this.formData.content ? this.formData.content.formType : "",
|
|
25768
|
-
"g-recaptcha-response": e
|
|
25777
|
+
"g-recaptcha-response": e,
|
|
25778
|
+
consentList: this.consentList
|
|
25769
25779
|
}
|
|
25770
25780
|
).then(() => (this.submitting = !1, this.submitted = !0, this.attachEmail(), !1)).catch(() => (this.submitError = !0, !1));
|
|
25771
25781
|
},
|
|
@@ -25821,7 +25831,7 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25821
25831
|
}, _hoisted_2$x = {
|
|
25822
25832
|
class: "vs-form__main-heading vs-heading vs-heading--heading-l float-none",
|
|
25823
25833
|
"data-test": "vs-form__main-heading"
|
|
25824
|
-
}, _hoisted_3$p = { key: 0 }, _hoisted_4$i = { "aria-live": "assertive" }, _hoisted_5$e = { key: 0 }, _hoisted_6$c = ["innerHTML"], _hoisted_7$
|
|
25834
|
+
}, _hoisted_3$p = { key: 0 }, _hoisted_4$i = { "aria-live": "assertive" }, _hoisted_5$e = { key: 0 }, _hoisted_6$c = ["innerHTML"], _hoisted_7$b = {
|
|
25825
25835
|
key: 2,
|
|
25826
25836
|
class: "mt-200"
|
|
25827
25837
|
};
|
|
@@ -25969,7 +25979,7 @@ function _sfc_render$J(e, n, t, r, a, s) {
|
|
|
25969
25979
|
innerHTML: s.getTranslatedContent("successContent")
|
|
25970
25980
|
}, null, 8, _hoisted_6$c)
|
|
25971
25981
|
], 64)) : createCommentVNode("", !0),
|
|
25972
|
-
a.submitError ? (openBlock(), createElementBlock("p", _hoisted_7$
|
|
25982
|
+
a.submitError ? (openBlock(), createElementBlock("p", _hoisted_7$b, [
|
|
25973
25983
|
renderSlot(e.$slots, "submit-error")
|
|
25974
25984
|
])) : createCommentVNode("", !0)
|
|
25975
25985
|
])
|
|
@@ -28277,7 +28287,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28277
28287
|
}, _hoisted_2$n = {
|
|
28278
28288
|
"aria-live": "polite",
|
|
28279
28289
|
class: "vs-pagination__count"
|
|
28280
|
-
}, _hoisted_3$g = { class: "vs-pagination__controls" }, _hoisted_4$d = { class: "vs-pagination__prev" }, _hoisted_5$b = { class: "vs-pagination__list" }, _hoisted_6$b = { key: 0 }, _hoisted_7$
|
|
28290
|
+
}, _hoisted_3$g = { class: "vs-pagination__controls" }, _hoisted_4$d = { class: "vs-pagination__prev" }, _hoisted_5$b = { class: "vs-pagination__list" }, _hoisted_6$b = { key: 0 }, _hoisted_7$a = { class: "vs-pagination__next" }, limit = 7, _sfc_main$E = {
|
|
28281
28291
|
__name: "VsPagination",
|
|
28282
28292
|
props: /* @__PURE__ */ mergeModels({
|
|
28283
28293
|
/**
|
|
@@ -28395,7 +28405,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28395
28405
|
}, 1032, ["aria-current", "aria-label", "onClick"]))
|
|
28396
28406
|
], 2))), 128))
|
|
28397
28407
|
]),
|
|
28398
|
-
createElementVNode("div", _hoisted_7$
|
|
28408
|
+
createElementVNode("div", _hoisted_7$a, [
|
|
28399
28409
|
createVNode(VsButton, {
|
|
28400
28410
|
disabled: a.value === t.numberOfPages,
|
|
28401
28411
|
icon: "fa-regular fa-arrow-right",
|
|
@@ -29087,7 +29097,7 @@ const _hoisted_1$s = {
|
|
|
29087
29097
|
type: "hidden",
|
|
29088
29098
|
name: "refine-date",
|
|
29089
29099
|
value: "on"
|
|
29090
|
-
}, _hoisted_7$
|
|
29100
|
+
}, _hoisted_7$9 = ["value"], _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29091
29101
|
__name: "DateRange",
|
|
29092
29102
|
props: {
|
|
29093
29103
|
startLabel: {
|
|
@@ -29200,7 +29210,7 @@ const _hoisted_1$s = {
|
|
|
29200
29210
|
type: "hidden",
|
|
29201
29211
|
name: "nights",
|
|
29202
29212
|
value: i.value
|
|
29203
|
-
}, null, 8, _hoisted_7$
|
|
29213
|
+
}, null, 8, _hoisted_7$9)
|
|
29204
29214
|
])
|
|
29205
29215
|
])
|
|
29206
29216
|
]));
|
|
@@ -29211,7 +29221,7 @@ const _hoisted_1$s = {
|
|
|
29211
29221
|
}, _hoisted_2$j = {
|
|
29212
29222
|
key: 0,
|
|
29213
29223
|
class: "container"
|
|
29214
|
-
}, _hoisted_3$c = { class: "row" }, _hoisted_4$a = { class: "col-12" }, _hoisted_5$9 = ["action"], _hoisted_6$9 = { class: "form-group product-search__type mb-100" }, _hoisted_7$
|
|
29224
|
+
}, _hoisted_3$c = { class: "row" }, _hoisted_4$a = { class: "col-12" }, _hoisted_5$9 = ["action"], _hoisted_6$9 = { class: "form-group product-search__type mb-100" }, _hoisted_7$8 = { for: "prodtypes" }, _hoisted_8$4 = { class: "product-search__in d-none d-md-block mt-100" }, _hoisted_9$4 = { "aria-live": "polite" }, _hoisted_10$4 = ["disabled", "value"], _hoisted_11$3 = ["disabled", "value"], _hoisted_12$2 = ["value"], _hoisted_13$2 = {
|
|
29215
29225
|
key: 4,
|
|
29216
29226
|
type: "hidden",
|
|
29217
29227
|
name: "areaproxdist",
|
|
@@ -29356,7 +29366,7 @@ const _hoisted_1$s = {
|
|
|
29356
29366
|
"data-test": "psw-form"
|
|
29357
29367
|
}, [
|
|
29358
29368
|
createElementVNode("div", _hoisted_6$9, [
|
|
29359
|
-
createElementVNode("label", _hoisted_7$
|
|
29369
|
+
createElementVNode("label", _hoisted_7$8, toDisplayString(unref(getLabelText)("search_for", "I'm looking for")), 1),
|
|
29360
29370
|
createElementVNode("div", {
|
|
29361
29371
|
class: normalizeClass(te.value)
|
|
29362
29372
|
}, [
|
|
@@ -30234,7 +30244,7 @@ const VsTableFooter = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_
|
|
|
30234
30244
|
}, _hoisted_2$f = { class: "vs-ski-scotland-card__img-container" }, _hoisted_3$a = { class: "card-body" }, _hoisted_4$8 = {
|
|
30235
30245
|
key: 0,
|
|
30236
30246
|
class: "text-center pb-200 position-relative"
|
|
30237
|
-
}, _hoisted_5$7 = { "data-test": "vs-ski__status-label" }, _hoisted_6$7 = { "data-test": "vs-ski__runs-label" }, _hoisted_7$
|
|
30247
|
+
}, _hoisted_5$7 = { "data-test": "vs-ski__status-label" }, _hoisted_6$7 = { "data-test": "vs-ski__runs-label" }, _hoisted_7$7 = { "data-test": "vs-ski__lifts-label" }, _hoisted_8$3 = { "data-test": "vs-ski__open-label" }, _hoisted_9$3 = { "data-test": "vs-ski__limited-patrol-label" }, _hoisted_10$3 = { "data-test": "vs-ski__opening-label" }, _hoisted_11$2 = { "data-test": "vs-ski__closed-label" }, _hoisted_12$1 = { "data-test": "vs-ski__on-hold-label" }, _hoisted_13$1 = { "data-test": "vs-ski__last-updated-label" };
|
|
30238
30248
|
function _sfc_render$e(e, n, t, r, a, s) {
|
|
30239
30249
|
const o = resolveComponent("VsImg"), i = resolveComponent("VsHeading"), l = resolveComponent("VsLoadingSpinner"), c = resolveComponent("VsWarning"), u = resolveComponent("VsTableHeaderCell"), d = resolveComponent("VsTableHead"), f = resolveComponent("VsIcon"), p = resolveComponent("VsTableDataCell"), m = resolveComponent("VsTableRow"), g = resolveComponent("VsTableBody"), v = resolveComponent("VsTableFooter"), b = resolveComponent("VsTable"), _ = resolveComponent("VsButton");
|
|
30240
30250
|
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
@@ -30304,7 +30314,7 @@ function _sfc_render$e(e, n, t, r, a, s) {
|
|
|
30304
30314
|
})) : createCommentVNode("", !0),
|
|
30305
30315
|
createVNode(u, null, {
|
|
30306
30316
|
default: withCtx(() => [
|
|
30307
|
-
createElementVNode("span", _hoisted_7$
|
|
30317
|
+
createElementVNode("span", _hoisted_7$7, toDisplayString(t.liftsLabel), 1)
|
|
30308
30318
|
]),
|
|
30309
30319
|
_: 1
|
|
30310
30320
|
})
|
|
@@ -31014,7 +31024,7 @@ const SkiScotlandCard = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sf
|
|
|
31014
31024
|
}, _hoisted_1$j = {
|
|
31015
31025
|
class: "vs-ski-scotland-status",
|
|
31016
31026
|
"data-test": "vs-ski-scotland-status"
|
|
31017
|
-
}, _hoisted_2$e = { "data-test": "vs-ski__status-label" }, _hoisted_3$9 = { "data-test": "vs-ski__runs-label" }, _hoisted_4$7 = { "data-test": "vs-ski__lifts-label" }, _hoisted_5$6 = { "data-test": "vs-ski__open-label" }, _hoisted_6$6 = { "data-test": "vs-ski__open-label" }, _hoisted_7$
|
|
31027
|
+
}, _hoisted_2$e = { "data-test": "vs-ski__status-label" }, _hoisted_3$9 = { "data-test": "vs-ski__runs-label" }, _hoisted_4$7 = { "data-test": "vs-ski__lifts-label" }, _hoisted_5$6 = { "data-test": "vs-ski__open-label" }, _hoisted_6$6 = { "data-test": "vs-ski__open-label" }, _hoisted_7$6 = { "data-test": "vs-ski__opening-label" }, _hoisted_8$2 = { "data-test": "vs-ski__closed-label" }, _hoisted_9$2 = { "data-test": "vs-ski__open-label" }, _hoisted_10$2 = { "data-test": "vs-ski__last-updated-label" }, _hoisted_11$1 = ["innerHTML"], _hoisted_12 = ["innerHTML"], _hoisted_13 = ["innerHTML"], _hoisted_14 = ["innerHTML"], _hoisted_15 = ["innerHTML"], _hoisted_16 = ["data-test"], _hoisted_17 = { class: "visually-hidden" };
|
|
31018
31028
|
function _sfc_render$d(e, n, t, r, a, s) {
|
|
31019
31029
|
const o = resolveComponent("VsLoadingSpinner"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer"), u = resolveComponent("VsWarning"), d = resolveComponent("VsHeading"), f = resolveComponent("VsTableHeaderCell"), p = resolveComponent("VsTableHead"), m = resolveComponent("VsIcon"), g = resolveComponent("VsTableDataCell"), v = resolveComponent("VsTableRow"), b = resolveComponent("VsTableBody"), _ = resolveComponent("VsTableFooter"), k = resolveComponent("VsTable"), C = resolveComponent("VsLink"), w = resolveComponent("VsAccordionItem"), V = resolveComponent("VsAccordion");
|
|
31020
31030
|
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
@@ -31185,7 +31195,7 @@ function _sfc_render$d(e, n, t, r, a, s) {
|
|
|
31185
31195
|
size: "xs",
|
|
31186
31196
|
class: "me-050"
|
|
31187
31197
|
}),
|
|
31188
|
-
createElementVNode("span", _hoisted_7$
|
|
31198
|
+
createElementVNode("span", _hoisted_7$6, toDisplayString(t.summaryOpeningLabel), 1)
|
|
31189
31199
|
]),
|
|
31190
31200
|
_: 1
|
|
31191
31201
|
}),
|
|
@@ -32638,7 +32648,7 @@ const SummaryBoxList = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc
|
|
|
32638
32648
|
key: 2,
|
|
32639
32649
|
class: "vs-summary-box-item__icon d-flex align-items-center position-absolute justify-content-center w-100",
|
|
32640
32650
|
"data-test": "vs-summary-box-list-item-icon-with-label"
|
|
32641
|
-
}, _hoisted_6$5 = { class: "icon-wrapper text-end" }, _hoisted_7$
|
|
32651
|
+
}, _hoisted_6$5 = { class: "icon-wrapper text-end" }, _hoisted_7$5 = { class: "text-wrapper d-block w-auto pt-100" };
|
|
32642
32652
|
function _sfc_render$6(e, n, t, r, a, s) {
|
|
32643
32653
|
const o = resolveComponent("VsIcon");
|
|
32644
32654
|
return openBlock(), createElementBlock("li", _hoisted_1$b, [
|
|
@@ -32655,7 +32665,7 @@ function _sfc_render$6(e, n, t, r, a, s) {
|
|
|
32655
32665
|
size: "xl"
|
|
32656
32666
|
}, null, 8, ["icon"])
|
|
32657
32667
|
]),
|
|
32658
|
-
createElementVNode("div", _hoisted_7$
|
|
32668
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
32659
32669
|
createElementVNode("span", null, toDisplayString(t.iconLabel), 1)
|
|
32660
32670
|
])
|
|
32661
32671
|
])) : createCommentVNode("", !0)
|
|
@@ -32721,7 +32731,7 @@ const SummaryBoxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
|
|
|
32721
32731
|
}, _hoisted_3$6 = { class: "vs-summary-box-distance__label-inner" }, _hoisted_4$4 = {
|
|
32722
32732
|
class: "vs-summary-box-distance__display position-absolute d-block text-center w-100",
|
|
32723
32733
|
"data-test": "vs-summary-box-distance-display"
|
|
32724
|
-
}, _hoisted_5$4 = { class: "vs-summary-box-distance__display-entry" }, _hoisted_6$4 = { class: "vs-summary-box-distance__display-value" }, _hoisted_7$
|
|
32734
|
+
}, _hoisted_5$4 = { class: "vs-summary-box-distance__display-entry" }, _hoisted_6$4 = { class: "vs-summary-box-distance__display-value" }, _hoisted_7$4 = { class: "vs-summary-box-distance__display-label" }, _hoisted_8$1 = { class: "vs-summary-box-distance__display-entry" }, _hoisted_9$1 = { class: "vs-summary-box-distance__display-value" }, _hoisted_10$1 = { class: "vs-summary-box-distance__display-label" };
|
|
32725
32735
|
function _sfc_render$5(e, n, t, r, a, s) {
|
|
32726
32736
|
return openBlock(), createElementBlock("li", _hoisted_1$a, [
|
|
32727
32737
|
t.distanceLabel ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
@@ -32730,7 +32740,7 @@ function _sfc_render$5(e, n, t, r, a, s) {
|
|
|
32730
32740
|
createElementVNode("div", _hoisted_4$4, [
|
|
32731
32741
|
createElementVNode("div", _hoisted_5$4, [
|
|
32732
32742
|
createElementVNode("span", _hoisted_6$4, toDisplayString(t.miles), 1),
|
|
32733
|
-
createElementVNode("span", _hoisted_7$
|
|
32743
|
+
createElementVNode("span", _hoisted_7$4, toDisplayString(t.milesLabel), 1)
|
|
32734
32744
|
]),
|
|
32735
32745
|
n[0] || (n[0] = createElementVNode("hr", { class: "vs-summary-box-distance__divider" }, null, -1)),
|
|
32736
32746
|
createElementVNode("div", _hoisted_8$1, [
|
|
@@ -34296,7 +34306,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34296
34306
|
}, _hoisted_5$3 = {
|
|
34297
34307
|
key: 0,
|
|
34298
34308
|
class: "position-relative"
|
|
34299
|
-
}, _hoisted_6$3 = { class: "vs-fed-search-input__autocomplete" }, _hoisted_7$
|
|
34309
|
+
}, _hoisted_6$3 = { class: "vs-fed-search-input__autocomplete" }, _hoisted_7$3 = ["onClick", "onKeyup", "innerHTML"], _sfc_main$6 = {
|
|
34300
34310
|
__name: "FedSearchInput",
|
|
34301
34311
|
props: {
|
|
34302
34312
|
/**
|
|
@@ -34476,7 +34486,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34476
34486
|
onKeyup: withKeys((w) => d(C), ["enter"]),
|
|
34477
34487
|
tabindex: "0",
|
|
34478
34488
|
innerHTML: m(C)
|
|
34479
|
-
}, null, 40, _hoisted_7$
|
|
34489
|
+
}, null, 40, _hoisted_7$3))), 128))
|
|
34480
34490
|
]),
|
|
34481
34491
|
_: 1
|
|
34482
34492
|
})
|
|
@@ -34645,7 +34655,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34645
34655
|
}, _hoisted_4$2 = {
|
|
34646
34656
|
key: 2,
|
|
34647
34657
|
"data-chromatic": "ignore"
|
|
34648
|
-
}, _hoisted_5$2 = { class: "position-relative" }, _hoisted_6$2 = { class: "position-absolute bottom-0 start-0 d-flex gap-2" }, _hoisted_7$
|
|
34658
|
+
}, _hoisted_5$2 = { class: "position-relative" }, _hoisted_6$2 = { class: "position-absolute bottom-0 start-0 d-flex gap-2" }, _hoisted_7$2 = { class: "position-absolute bottom-0 end-0 d-flex" }, _hoisted_8 = { class: "truncate-3-lines text-break" }, _hoisted_9 = { class: "d-flex justify-content-end align-items-end mt-050" }, _hoisted_10 = {
|
|
34649
34659
|
key: 0,
|
|
34650
34660
|
class: "d-flex align-items-start flex-grow-1"
|
|
34651
34661
|
}, _hoisted_11 = {
|
|
@@ -34951,7 +34961,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34951
34961
|
_: 2
|
|
34952
34962
|
}, 1024)) : createCommentVNode("", !0)
|
|
34953
34963
|
]),
|
|
34954
|
-
createElementVNode("div", _hoisted_7$
|
|
34964
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
34955
34965
|
C.categoryCard && e.cardCategoryLabels[C.categoryCard] ? (openBlock(), createBlock(unref(VsBadge), {
|
|
34956
34966
|
key: 0,
|
|
34957
34967
|
variant: "highlight",
|
|
@@ -35226,7 +35236,7 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35226
35236
|
}, _hoisted_1$1 = { class: "vs-map-sidebar__header d-flex" }, _hoisted_2$1 = { class: "vs-map-sidebar__content" }, _hoisted_3$1 = { class: "vs-map-sidebar__input d-flex mt-100 mb-050" }, _hoisted_4$1 = {
|
|
35227
35237
|
key: 1,
|
|
35228
35238
|
class: "vs-map-sidebar__sub-filters-wrapper"
|
|
35229
|
-
}, _hoisted_5$1 = { class: "vs-map-sidebar__search-results" }, _hoisted_6$1 = { class: "vs-map-sidebar__google-maps-container mt-075" }, _hoisted_7 = {
|
|
35239
|
+
}, _hoisted_5$1 = { class: "vs-map-sidebar__search-results" }, _hoisted_6$1 = { class: "vs-map-sidebar__google-maps-container mt-075" }, _hoisted_7$1 = {
|
|
35230
35240
|
key: 0,
|
|
35231
35241
|
class: "vs-map-sidebar__footer"
|
|
35232
35242
|
}, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -35395,7 +35405,7 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35395
35405
|
class: normalizeClass(["mb-100", r.$props.query || r.$props.selectedCategories ? "d-none" : "d-block"])
|
|
35396
35406
|
}, null, 8, ["class"])
|
|
35397
35407
|
]),
|
|
35398
|
-
r.$props.query || r.$props.selectedCategories ? (openBlock(), createElementBlock("div", _hoisted_7, a[7] || (a[7] = [
|
|
35408
|
+
r.$props.query || r.$props.selectedCategories ? (openBlock(), createElementBlock("div", _hoisted_7$1, a[7] || (a[7] = [
|
|
35399
35409
|
createElementVNode("hr", { class: "vs-map-sidebar__swipe-tab" }, null, -1)
|
|
35400
35410
|
]))) : createCommentVNode("", !0)
|
|
35401
35411
|
], 2),
|
|
@@ -35518,10 +35528,10 @@ function dataLayerComposable() {
|
|
|
35518
35528
|
dataLayerStore: e
|
|
35519
35529
|
};
|
|
35520
35530
|
}
|
|
35521
|
-
const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls" }, _hoisted_3 = { class: "vs-map-sidebar__sub-filters" }, _hoisted_4 = {
|
|
35531
|
+
const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls" }, _hoisted_3 = { class: "vs-map-sidebar__sub-filters" }, _hoisted_4 = { key: 0 }, _hoisted_5 = {
|
|
35522
35532
|
key: 0,
|
|
35523
35533
|
class: "vs-map__filter-controls"
|
|
35524
|
-
},
|
|
35534
|
+
}, _hoisted_6 = { class: "vs-map__wrapper" }, _hoisted_7 = {
|
|
35525
35535
|
id: "vs-map",
|
|
35526
35536
|
"map-id": "vs-map",
|
|
35527
35537
|
ref: "vsMap"
|
|
@@ -35655,6 +35665,11 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35655
35665
|
resetMapNoResultsMessage: {
|
|
35656
35666
|
type: String,
|
|
35657
35667
|
required: !0
|
|
35668
|
+
},
|
|
35669
|
+
/** Text to appear in alert above search results. */
|
|
35670
|
+
alertText: {
|
|
35671
|
+
type: String,
|
|
35672
|
+
default: void 0
|
|
35658
35673
|
}
|
|
35659
35674
|
},
|
|
35660
35675
|
setup(e) {
|
|
@@ -35672,7 +35687,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35672
35687
|
excludedTypes: ee.excludedType
|
|
35673
35688
|
});
|
|
35674
35689
|
}), W;
|
|
35675
|
-
}), J = useGoogleMapStore(), Y = ref(
|
|
35690
|
+
}), J = useGoogleMapStore(), Y = ref(void 0);
|
|
35676
35691
|
let S;
|
|
35677
35692
|
const E = ref(void 0), M = {
|
|
35678
35693
|
north: 60.8,
|
|
@@ -35965,7 +35980,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35965
35980
|
});
|
|
35966
35981
|
}
|
|
35967
35982
|
function ae(W, G) {
|
|
35968
|
-
de(), j.value = "", i.style.display = "none", l.style.display = "none", c.textQuery = null, O.value = !1, m && m.close && m.close(), Y.value =
|
|
35983
|
+
de(), j.value = "", i.style.display = "none", l.style.display = "none", c.textQuery = null, O.value = !1, m && m.close && m.close(), Y.value = void 0, W && (oe(), ce(), ue("clear_all")), G && (s.setCenter(t.center), s.setZoom(t.zoom), s.fitBounds(M), ue("reset_map"));
|
|
35969
35984
|
}
|
|
35970
35985
|
function oe() {
|
|
35971
35986
|
R.value = null, p.value = "";
|
|
@@ -36076,6 +36091,25 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36076
36091
|
onResetMap: G[1] || (G[1] = (ee) => ae(!0))
|
|
36077
36092
|
}, createSlots({
|
|
36078
36093
|
"vs-map-sidebar-search-results": withCtx(() => [
|
|
36094
|
+
Y.value || t.alertText && Y.value === !1 ? (openBlock(), createBlock(unref(VsAlert), {
|
|
36095
|
+
key: 0,
|
|
36096
|
+
class: "mt-075 mb-150",
|
|
36097
|
+
id: "vs-map__no-results-alert",
|
|
36098
|
+
size: "small"
|
|
36099
|
+
}, {
|
|
36100
|
+
default: withCtx(() => [
|
|
36101
|
+
Y.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
36102
|
+
createTextVNode(toDisplayString(e.noResultsMessage) + " ", 1),
|
|
36103
|
+
createElementVNode("a", {
|
|
36104
|
+
href: "#",
|
|
36105
|
+
onClick: G[0] || (G[0] = withModifiers((ee) => ae(!0, !0), ["prevent"]))
|
|
36106
|
+
}, toDisplayString(e.resetMapNoResultsMessage), 1)
|
|
36107
|
+
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
36108
|
+
createTextVNode(toDisplayString(e.alertText), 1)
|
|
36109
|
+
], 64))
|
|
36110
|
+
]),
|
|
36111
|
+
_: 1
|
|
36112
|
+
})) : createCommentVNode("", !0),
|
|
36079
36113
|
(openBlock(), createBlock(Suspense, null, {
|
|
36080
36114
|
default: withCtx(() => G[2] || (G[2] = [
|
|
36081
36115
|
createElementVNode("div", { id: "search-container" }, [
|
|
@@ -36125,24 +36159,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36125
36159
|
])),
|
|
36126
36160
|
_: 1,
|
|
36127
36161
|
__: [2]
|
|
36128
|
-
}))
|
|
36129
|
-
Y.value ? (openBlock(), createBlock(unref(VsAlert), {
|
|
36130
|
-
key: 0,
|
|
36131
|
-
id: "vs-map__no-results-alert",
|
|
36132
|
-
class: "mt-075 mb-150",
|
|
36133
|
-
size: "small"
|
|
36134
|
-
}, {
|
|
36135
|
-
default: withCtx(() => [
|
|
36136
|
-
createElementVNode("span", null, [
|
|
36137
|
-
createTextVNode(toDisplayString(e.noResultsMessage) + " ", 1),
|
|
36138
|
-
createElementVNode("a", {
|
|
36139
|
-
href: "#",
|
|
36140
|
-
onClick: G[0] || (G[0] = withModifiers((ee) => ae(!0, !0), ["prevent"]))
|
|
36141
|
-
}, toDisplayString(e.resetMapNoResultsMessage), 1)
|
|
36142
|
-
])
|
|
36143
|
-
]),
|
|
36144
|
-
_: 1
|
|
36145
|
-
})) : createCommentVNode("", !0)
|
|
36162
|
+
}))
|
|
36146
36163
|
]),
|
|
36147
36164
|
_: 2
|
|
36148
36165
|
}, [
|
|
@@ -36166,7 +36183,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36166
36183
|
key: "0"
|
|
36167
36184
|
} : void 0
|
|
36168
36185
|
]), 1032, ["query", "selected-categories", "header-label", "close-sidebar-button-label", "search-bar-aria-label", "input-placeholder-label", "search-button-label", "clear-map-label", "sub-filter-header-label", "search-results-label", "open-sidebar-button-label"]),
|
|
36169
|
-
(F.value >= CATEGORY_VISIBLE_ZOOM || O.value) && unref(J).sidebarOpen && Object.keys(unref(q)).length > 0 ? (openBlock(), createElementBlock("div",
|
|
36186
|
+
(F.value >= CATEGORY_VISIBLE_ZOOM || O.value) && unref(J).sidebarOpen && Object.keys(unref(q)).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
36170
36187
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Z), (ee, ne) => (openBlock(), createElementBlock(Fragment, { key: ne }, [
|
|
36171
36188
|
ee.cmsData ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(VsButton), {
|
|
36172
36189
|
key: 0,
|
|
@@ -36183,8 +36200,8 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36183
36200
|
], 64))), 128))
|
|
36184
36201
|
])) : createCommentVNode("", !0)
|
|
36185
36202
|
]),
|
|
36186
|
-
createElementVNode("div",
|
|
36187
|
-
createElementVNode("div",
|
|
36203
|
+
createElementVNode("div", _hoisted_6, [
|
|
36204
|
+
createElementVNode("div", _hoisted_7, null, 512),
|
|
36188
36205
|
(openBlock(), createBlock(Suspense, null, {
|
|
36189
36206
|
default: withCtx(() => G[3] || (G[3] = [
|
|
36190
36207
|
createElementVNode("div", { id: "detail-container" }, [
|