@visitscotland/component-library 5.37.0 → 5.39.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 +4 -4
- package/dist/client/scripts/5377b7e77eff6b5f16fd.js +1 -0
- package/dist/client/styles/c85456f967514b9fb94d.css +26 -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/style.css +1 -1
- package/dist/components/vs-component-library.js +7 -7
- package/dist/components/vs-component-library.mjs +69 -62
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{f22cb4c1d369afb7359b.css → b272434d7750387e032a.css} +2 -2
- package/package.json +1 -1
- package/dist/client/scripts/13451712ec510d5251e1.js +0 -1
- package/dist/client/styles/132274c6b609dca5f479.css +0 -26
- /package/dist/client/scripts/{132274c6b609dca5f479.js → c85456f967514b9fb94d.js} +0 -0
- /package/dist/client/styles/{13451712ec510d5251e1.css → 5377b7e77eff6b5f16fd.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")
|
|
@@ -25831,7 +25831,7 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25831
25831
|
}, _hoisted_2$x = {
|
|
25832
25832
|
class: "vs-form__main-heading vs-heading vs-heading--heading-l float-none",
|
|
25833
25833
|
"data-test": "vs-form__main-heading"
|
|
25834
|
-
}, _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 = {
|
|
25835
25835
|
key: 2,
|
|
25836
25836
|
class: "mt-200"
|
|
25837
25837
|
};
|
|
@@ -25979,7 +25979,7 @@ function _sfc_render$J(e, n, t, r, a, s) {
|
|
|
25979
25979
|
innerHTML: s.getTranslatedContent("successContent")
|
|
25980
25980
|
}, null, 8, _hoisted_6$c)
|
|
25981
25981
|
], 64)) : createCommentVNode("", !0),
|
|
25982
|
-
a.submitError ? (openBlock(), createElementBlock("p", _hoisted_7$
|
|
25982
|
+
a.submitError ? (openBlock(), createElementBlock("p", _hoisted_7$b, [
|
|
25983
25983
|
renderSlot(e.$slots, "submit-error")
|
|
25984
25984
|
])) : createCommentVNode("", !0)
|
|
25985
25985
|
])
|
|
@@ -28287,7 +28287,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28287
28287
|
}, _hoisted_2$n = {
|
|
28288
28288
|
"aria-live": "polite",
|
|
28289
28289
|
class: "vs-pagination__count"
|
|
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$
|
|
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 = {
|
|
28291
28291
|
__name: "VsPagination",
|
|
28292
28292
|
props: /* @__PURE__ */ mergeModels({
|
|
28293
28293
|
/**
|
|
@@ -28405,7 +28405,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28405
28405
|
}, 1032, ["aria-current", "aria-label", "onClick"]))
|
|
28406
28406
|
], 2))), 128))
|
|
28407
28407
|
]),
|
|
28408
|
-
createElementVNode("div", _hoisted_7$
|
|
28408
|
+
createElementVNode("div", _hoisted_7$a, [
|
|
28409
28409
|
createVNode(VsButton, {
|
|
28410
28410
|
disabled: a.value === t.numberOfPages,
|
|
28411
28411
|
icon: "fa-regular fa-arrow-right",
|
|
@@ -29097,7 +29097,7 @@ const _hoisted_1$s = {
|
|
|
29097
29097
|
type: "hidden",
|
|
29098
29098
|
name: "refine-date",
|
|
29099
29099
|
value: "on"
|
|
29100
|
-
}, _hoisted_7$
|
|
29100
|
+
}, _hoisted_7$9 = ["value"], _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29101
29101
|
__name: "DateRange",
|
|
29102
29102
|
props: {
|
|
29103
29103
|
startLabel: {
|
|
@@ -29210,7 +29210,7 @@ const _hoisted_1$s = {
|
|
|
29210
29210
|
type: "hidden",
|
|
29211
29211
|
name: "nights",
|
|
29212
29212
|
value: i.value
|
|
29213
|
-
}, null, 8, _hoisted_7$
|
|
29213
|
+
}, null, 8, _hoisted_7$9)
|
|
29214
29214
|
])
|
|
29215
29215
|
])
|
|
29216
29216
|
]));
|
|
@@ -29221,7 +29221,7 @@ const _hoisted_1$s = {
|
|
|
29221
29221
|
}, _hoisted_2$j = {
|
|
29222
29222
|
key: 0,
|
|
29223
29223
|
class: "container"
|
|
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$
|
|
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 = {
|
|
29225
29225
|
key: 4,
|
|
29226
29226
|
type: "hidden",
|
|
29227
29227
|
name: "areaproxdist",
|
|
@@ -29366,7 +29366,7 @@ const _hoisted_1$s = {
|
|
|
29366
29366
|
"data-test": "psw-form"
|
|
29367
29367
|
}, [
|
|
29368
29368
|
createElementVNode("div", _hoisted_6$9, [
|
|
29369
|
-
createElementVNode("label", _hoisted_7$
|
|
29369
|
+
createElementVNode("label", _hoisted_7$8, toDisplayString(unref(getLabelText)("search_for", "I'm looking for")), 1),
|
|
29370
29370
|
createElementVNode("div", {
|
|
29371
29371
|
class: normalizeClass(te.value)
|
|
29372
29372
|
}, [
|
|
@@ -30244,7 +30244,7 @@ const VsTableFooter = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_
|
|
|
30244
30244
|
}, _hoisted_2$f = { class: "vs-ski-scotland-card__img-container" }, _hoisted_3$a = { class: "card-body" }, _hoisted_4$8 = {
|
|
30245
30245
|
key: 0,
|
|
30246
30246
|
class: "text-center pb-200 position-relative"
|
|
30247
|
-
}, _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" };
|
|
30248
30248
|
function _sfc_render$e(e, n, t, r, a, s) {
|
|
30249
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");
|
|
30250
30250
|
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
@@ -30314,7 +30314,7 @@ function _sfc_render$e(e, n, t, r, a, s) {
|
|
|
30314
30314
|
})) : createCommentVNode("", !0),
|
|
30315
30315
|
createVNode(u, null, {
|
|
30316
30316
|
default: withCtx(() => [
|
|
30317
|
-
createElementVNode("span", _hoisted_7$
|
|
30317
|
+
createElementVNode("span", _hoisted_7$7, toDisplayString(t.liftsLabel), 1)
|
|
30318
30318
|
]),
|
|
30319
30319
|
_: 1
|
|
30320
30320
|
})
|
|
@@ -31024,7 +31024,7 @@ const SkiScotlandCard = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sf
|
|
|
31024
31024
|
}, _hoisted_1$j = {
|
|
31025
31025
|
class: "vs-ski-scotland-status",
|
|
31026
31026
|
"data-test": "vs-ski-scotland-status"
|
|
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$
|
|
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" };
|
|
31028
31028
|
function _sfc_render$d(e, n, t, r, a, s) {
|
|
31029
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");
|
|
31030
31030
|
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
@@ -31195,7 +31195,7 @@ function _sfc_render$d(e, n, t, r, a, s) {
|
|
|
31195
31195
|
size: "xs",
|
|
31196
31196
|
class: "me-050"
|
|
31197
31197
|
}),
|
|
31198
|
-
createElementVNode("span", _hoisted_7$
|
|
31198
|
+
createElementVNode("span", _hoisted_7$6, toDisplayString(t.summaryOpeningLabel), 1)
|
|
31199
31199
|
]),
|
|
31200
31200
|
_: 1
|
|
31201
31201
|
}),
|
|
@@ -32648,7 +32648,7 @@ const SummaryBoxList = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc
|
|
|
32648
32648
|
key: 2,
|
|
32649
32649
|
class: "vs-summary-box-item__icon d-flex align-items-center position-absolute justify-content-center w-100",
|
|
32650
32650
|
"data-test": "vs-summary-box-list-item-icon-with-label"
|
|
32651
|
-
}, _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" };
|
|
32652
32652
|
function _sfc_render$6(e, n, t, r, a, s) {
|
|
32653
32653
|
const o = resolveComponent("VsIcon");
|
|
32654
32654
|
return openBlock(), createElementBlock("li", _hoisted_1$b, [
|
|
@@ -32665,7 +32665,7 @@ function _sfc_render$6(e, n, t, r, a, s) {
|
|
|
32665
32665
|
size: "xl"
|
|
32666
32666
|
}, null, 8, ["icon"])
|
|
32667
32667
|
]),
|
|
32668
|
-
createElementVNode("div", _hoisted_7$
|
|
32668
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
32669
32669
|
createElementVNode("span", null, toDisplayString(t.iconLabel), 1)
|
|
32670
32670
|
])
|
|
32671
32671
|
])) : createCommentVNode("", !0)
|
|
@@ -32731,7 +32731,7 @@ const SummaryBoxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
|
|
|
32731
32731
|
}, _hoisted_3$6 = { class: "vs-summary-box-distance__label-inner" }, _hoisted_4$4 = {
|
|
32732
32732
|
class: "vs-summary-box-distance__display position-absolute d-block text-center w-100",
|
|
32733
32733
|
"data-test": "vs-summary-box-distance-display"
|
|
32734
|
-
}, _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" };
|
|
32735
32735
|
function _sfc_render$5(e, n, t, r, a, s) {
|
|
32736
32736
|
return openBlock(), createElementBlock("li", _hoisted_1$a, [
|
|
32737
32737
|
t.distanceLabel ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
@@ -32740,7 +32740,7 @@ function _sfc_render$5(e, n, t, r, a, s) {
|
|
|
32740
32740
|
createElementVNode("div", _hoisted_4$4, [
|
|
32741
32741
|
createElementVNode("div", _hoisted_5$4, [
|
|
32742
32742
|
createElementVNode("span", _hoisted_6$4, toDisplayString(t.miles), 1),
|
|
32743
|
-
createElementVNode("span", _hoisted_7$
|
|
32743
|
+
createElementVNode("span", _hoisted_7$4, toDisplayString(t.milesLabel), 1)
|
|
32744
32744
|
]),
|
|
32745
32745
|
n[0] || (n[0] = createElementVNode("hr", { class: "vs-summary-box-distance__divider" }, null, -1)),
|
|
32746
32746
|
createElementVNode("div", _hoisted_8$1, [
|
|
@@ -34306,7 +34306,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34306
34306
|
}, _hoisted_5$3 = {
|
|
34307
34307
|
key: 0,
|
|
34308
34308
|
class: "position-relative"
|
|
34309
|
-
}, _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 = {
|
|
34310
34310
|
__name: "FedSearchInput",
|
|
34311
34311
|
props: {
|
|
34312
34312
|
/**
|
|
@@ -34486,7 +34486,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34486
34486
|
onKeyup: withKeys((w) => d(C), ["enter"]),
|
|
34487
34487
|
tabindex: "0",
|
|
34488
34488
|
innerHTML: m(C)
|
|
34489
|
-
}, null, 40, _hoisted_7$
|
|
34489
|
+
}, null, 40, _hoisted_7$3))), 128))
|
|
34490
34490
|
]),
|
|
34491
34491
|
_: 1
|
|
34492
34492
|
})
|
|
@@ -34655,7 +34655,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34655
34655
|
}, _hoisted_4$2 = {
|
|
34656
34656
|
key: 2,
|
|
34657
34657
|
"data-chromatic": "ignore"
|
|
34658
|
-
}, _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 = {
|
|
34659
34659
|
key: 0,
|
|
34660
34660
|
class: "d-flex align-items-start flex-grow-1"
|
|
34661
34661
|
}, _hoisted_11 = {
|
|
@@ -34961,7 +34961,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
34961
34961
|
_: 2
|
|
34962
34962
|
}, 1024)) : createCommentVNode("", !0)
|
|
34963
34963
|
]),
|
|
34964
|
-
createElementVNode("div", _hoisted_7$
|
|
34964
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
34965
34965
|
C.categoryCard && e.cardCategoryLabels[C.categoryCard] ? (openBlock(), createBlock(unref(VsBadge), {
|
|
34966
34966
|
key: 0,
|
|
34967
34967
|
variant: "highlight",
|
|
@@ -35236,7 +35236,7 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35236
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 = {
|
|
35237
35237
|
key: 1,
|
|
35238
35238
|
class: "vs-map-sidebar__sub-filters-wrapper"
|
|
35239
|
-
}, _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 = {
|
|
35240
35240
|
key: 0,
|
|
35241
35241
|
class: "vs-map-sidebar__footer"
|
|
35242
35242
|
}, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -35405,7 +35405,7 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35405
35405
|
class: normalizeClass(["mb-100", r.$props.query || r.$props.selectedCategories ? "d-none" : "d-block"])
|
|
35406
35406
|
}, null, 8, ["class"])
|
|
35407
35407
|
]),
|
|
35408
|
-
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] = [
|
|
35409
35409
|
createElementVNode("hr", { class: "vs-map-sidebar__swipe-tab" }, null, -1)
|
|
35410
35410
|
]))) : createCommentVNode("", !0)
|
|
35411
35411
|
], 2),
|
|
@@ -35528,10 +35528,10 @@ function dataLayerComposable() {
|
|
|
35528
35528
|
dataLayerStore: e
|
|
35529
35529
|
};
|
|
35530
35530
|
}
|
|
35531
|
-
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 = {
|
|
35532
35532
|
key: 0,
|
|
35533
35533
|
class: "vs-map__filter-controls"
|
|
35534
|
-
},
|
|
35534
|
+
}, _hoisted_6 = { class: "vs-map__wrapper" }, _hoisted_7 = {
|
|
35535
35535
|
id: "vs-map",
|
|
35536
35536
|
"map-id": "vs-map",
|
|
35537
35537
|
ref: "vsMap"
|
|
@@ -35665,6 +35665,11 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35665
35665
|
resetMapNoResultsMessage: {
|
|
35666
35666
|
type: String,
|
|
35667
35667
|
required: !0
|
|
35668
|
+
},
|
|
35669
|
+
/** Text to appear in alert above search results. */
|
|
35670
|
+
alertText: {
|
|
35671
|
+
type: String,
|
|
35672
|
+
default: void 0
|
|
35668
35673
|
}
|
|
35669
35674
|
},
|
|
35670
35675
|
setup(e) {
|
|
@@ -35682,7 +35687,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35682
35687
|
excludedTypes: ee.excludedType
|
|
35683
35688
|
});
|
|
35684
35689
|
}), W;
|
|
35685
|
-
}), J = useGoogleMapStore(), Y = ref(
|
|
35690
|
+
}), J = useGoogleMapStore(), Y = ref(void 0);
|
|
35686
35691
|
let S;
|
|
35687
35692
|
const E = ref(void 0), M = {
|
|
35688
35693
|
north: 60.8,
|
|
@@ -35975,7 +35980,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35975
35980
|
});
|
|
35976
35981
|
}
|
|
35977
35982
|
function ae(W, G) {
|
|
35978
|
-
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"));
|
|
35979
35984
|
}
|
|
35980
35985
|
function oe() {
|
|
35981
35986
|
R.value = null, p.value = "";
|
|
@@ -36086,6 +36091,25 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36086
36091
|
onResetMap: G[1] || (G[1] = (ee) => ae(!0))
|
|
36087
36092
|
}, createSlots({
|
|
36088
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),
|
|
36089
36113
|
(openBlock(), createBlock(Suspense, null, {
|
|
36090
36114
|
default: withCtx(() => G[2] || (G[2] = [
|
|
36091
36115
|
createElementVNode("div", { id: "search-container" }, [
|
|
@@ -36135,24 +36159,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36135
36159
|
])),
|
|
36136
36160
|
_: 1,
|
|
36137
36161
|
__: [2]
|
|
36138
|
-
}))
|
|
36139
|
-
Y.value ? (openBlock(), createBlock(unref(VsAlert), {
|
|
36140
|
-
key: 0,
|
|
36141
|
-
id: "vs-map__no-results-alert",
|
|
36142
|
-
class: "mt-075 mb-150",
|
|
36143
|
-
size: "small"
|
|
36144
|
-
}, {
|
|
36145
|
-
default: withCtx(() => [
|
|
36146
|
-
createElementVNode("span", null, [
|
|
36147
|
-
createTextVNode(toDisplayString(e.noResultsMessage) + " ", 1),
|
|
36148
|
-
createElementVNode("a", {
|
|
36149
|
-
href: "#",
|
|
36150
|
-
onClick: G[0] || (G[0] = withModifiers((ee) => ae(!0, !0), ["prevent"]))
|
|
36151
|
-
}, toDisplayString(e.resetMapNoResultsMessage), 1)
|
|
36152
|
-
])
|
|
36153
|
-
]),
|
|
36154
|
-
_: 1
|
|
36155
|
-
})) : createCommentVNode("", !0)
|
|
36162
|
+
}))
|
|
36156
36163
|
]),
|
|
36157
36164
|
_: 2
|
|
36158
36165
|
}, [
|
|
@@ -36176,7 +36183,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36176
36183
|
key: "0"
|
|
36177
36184
|
} : void 0
|
|
36178
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"]),
|
|
36179
|
-
(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, [
|
|
36180
36187
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Z), (ee, ne) => (openBlock(), createElementBlock(Fragment, { key: ne }, [
|
|
36181
36188
|
ee.cmsData ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(VsButton), {
|
|
36182
36189
|
key: 0,
|
|
@@ -36193,8 +36200,8 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36193
36200
|
], 64))), 128))
|
|
36194
36201
|
])) : createCommentVNode("", !0)
|
|
36195
36202
|
]),
|
|
36196
|
-
createElementVNode("div",
|
|
36197
|
-
createElementVNode("div",
|
|
36203
|
+
createElementVNode("div", _hoisted_6, [
|
|
36204
|
+
createElementVNode("div", _hoisted_7, null, 512),
|
|
36198
36205
|
(openBlock(), createBlock(Suspense, null, {
|
|
36199
36206
|
default: withCtx(() => G[3] || (G[3] = [
|
|
36200
36207
|
createElementVNode("div", { id: "detail-container" }, [
|