@visitscotland/component-library 5.28.0 → 5.29.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 +90 -92
- package/dist/client/scripts/{4927a1ac02287057b8a5.js → 98b05b5cd0aaffd7572a.js} +1 -1
- package/dist/client/scripts/{765f9a1a768ec5285799.js → 9e07e9d2cd16db07d4ec.js} +1 -1
- package/dist/client/scripts/ac3d388fb42250871e05.js +1 -0
- package/dist/client/scripts/f4fd2de945256740a445.js +1 -0
- package/dist/components/{LoadingSpinner-Al46acPr.mjs → LoadingSpinner-BVTFi1Pu.mjs} +1 -0
- package/dist/components/{LoadingSpinner-Cmgcr11N.js → LoadingSpinner-DnFPPKA6.js} +1 -1
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +2 -2
- package/dist/components/vs-component-library.mjs +11 -18
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/5cfb5d9a106dafff176f.js +0 -1
- package/dist/client/scripts/ab909b2eab152aa32959.js +0 -1
- /package/dist/client/styles/{ab909b2eab152aa32959.css → ac3d388fb42250871e05.css} +0 -0
- /package/dist/client/styles/{5cfb5d9a106dafff176f.css → f4fd2de945256740a445.css} +0 -0
- /package/dist/ssr/styles/{d754ab8074fa86f9f258.css → a244a7ab1874330a2ad9.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, renderSlot, resolveComponent, createBlock, normalizeClass, withCtx, createElementVNode, createVNode, withDirectives, createCommentVNode, normalizeStyle, vShow, inject, mergeProps, toDisplayString, ref, onMounted, onUnmounted, createTextVNode, Fragment, renderList, resolveDirective, withModifiers, normalizeProps, createSlots, getCurrentInstance, defineComponent, computed as computed$1, watch, reactive, provide, onBeforeMount, isRef, onBeforeUnmount, unref, isReactive, isReadonly, nextTick, isVNode, markRaw, toRef, resolveDynamicComponent, h, withKeys, mergeModels, useModel, toHandlers, vModelText, guardReactiveProps, onUpdated, Suspense } from "vue";
|
|
2
|
-
import { _ as _export_sfc, V as VsButton, d as dataLayerMixin, a as VsHeading, n as nn, b as an, c as VsIcon, r as rn, l as lodashExports, e as VsBody, f as VsContainer, g as VsRow, h as VsCol, i as ci, p as pi$2, j as en, k as dmoUrls, m as VsImg, E as Ed, o as axios, q as designTokens, Y as Yo, Z as Zo, s as pn, O as Ou, T as Tu, t as ku, u as VsWarning, v as fn, w as un, X as Xi, x as commonjsGlobal, y as require$$0$1, z as requireHasown, A as requireShams, B as callBound, C as isGeneratorFunction, D as isTypedArray, F as whichTypedArray, G as getAugmentedNamespace, H as getDefaultExportFromCjs, L as Lu, I as ld, J as _a, K as products, M as paths, N as monthsEnglish, P as VsLoading, Q as ol, R as wn, S as Ea, U as Bn, W as Je, $ as St, a0 as Pa, a1 as Ka, a2 as vc, a3 as dc, a4 as useDataLayerStore, a5 as checkVendorLibrary, a6 as siteSearchCloseTemplate, a7 as siteSearchClickTemplate, a8 as siteSearchUsageTemplate, a9 as siteSearchOpenTemplate, aa as googleMapInteractionTemplate, ab as googleMapTimeToFirstInteractionTemplate, ac as googleMapFilterInteractionTemplate, ad as googleMapSearchTemplate } from "./LoadingSpinner-
|
|
3
|
-
import { ae as Ce } from "./LoadingSpinner-
|
|
2
|
+
import { _ as _export_sfc, V as VsButton, d as dataLayerMixin, a as VsHeading, n as nn, b as an, c as VsIcon, r as rn, l as lodashExports, e as VsBody, f as VsContainer, g as VsRow, h as VsCol, i as ci, p as pi$2, j as en, k as dmoUrls, m as VsImg, E as Ed, o as axios, q as designTokens, Y as Yo, Z as Zo, s as pn, O as Ou, T as Tu, t as ku, u as VsWarning, v as fn, w as un, X as Xi, x as commonjsGlobal, y as require$$0$1, z as requireHasown, A as requireShams, B as callBound, C as isGeneratorFunction, D as isTypedArray, F as whichTypedArray, G as getAugmentedNamespace, H as getDefaultExportFromCjs, L as Lu, I as ld, J as _a, K as products, M as paths, N as monthsEnglish, P as VsLoading, Q as ol, R as wn, S as Ea, U as Bn, W as Je, $ as St, a0 as Pa, a1 as Ka, a2 as vc, a3 as dc, a4 as useDataLayerStore, a5 as checkVendorLibrary, a6 as siteSearchCloseTemplate, a7 as siteSearchClickTemplate, a8 as siteSearchUsageTemplate, a9 as siteSearchOpenTemplate, aa as googleMapInteractionTemplate, ab as googleMapTimeToFirstInteractionTemplate, ac as googleMapFilterInteractionTemplate, ad as googleMapSearchTemplate } from "./LoadingSpinner-BVTFi1Pu.mjs";
|
|
3
|
+
import { ae as Ce } from "./LoadingSpinner-BVTFi1Pu.mjs";
|
|
4
4
|
import { defineStore, storeToRefs } from "pinia";
|
|
5
5
|
const _sfc_main$2s = {
|
|
6
6
|
name: "VsAccordion",
|
|
@@ -35217,19 +35217,14 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35217
35217
|
_: 1
|
|
35218
35218
|
})
|
|
35219
35219
|
]),
|
|
35220
|
-
r.$props.query || r.$props.selectedCategories ? (openBlock(),
|
|
35220
|
+
r.$props.query || r.$props.selectedCategories ? (openBlock(), createElementBlock("a", {
|
|
35221
35221
|
key: 0,
|
|
35222
35222
|
href: "#",
|
|
35223
35223
|
class: "d-block",
|
|
35224
35224
|
"data-test": "vs-map-sidebar__reset-map",
|
|
35225
35225
|
onClick: a[4] || (a[4] = withModifiers((s) => r.$emit("reset-map"), ["prevent"])),
|
|
35226
35226
|
onKeyup: a[5] || (a[5] = withKeys(withModifiers((s) => r.$emit("reset-map"), ["prevent"]), ["enter"]))
|
|
35227
|
-
},
|
|
35228
|
-
default: withCtx(() => [
|
|
35229
|
-
createTextVNode(toDisplayString(t.clearMapLabel), 1)
|
|
35230
|
-
]),
|
|
35231
|
-
_: 1
|
|
35232
|
-
})) : createCommentVNode("", !0),
|
|
35227
|
+
}, toDisplayString(t.clearMapLabel), 33)) : createCommentVNode("", !0),
|
|
35233
35228
|
r.$slots["vs-map-sidebar-sub-filters"] && r.$slots["vs-map-sidebar-sub-filters"]() ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
35234
35229
|
createVNode(VsDetail, {
|
|
35235
35230
|
class: "vs-map-sidebar__sub-filter-header",
|
|
@@ -35364,6 +35359,7 @@ function dataLayerComposable() {
|
|
|
35364
35359
|
map_location: c.map_location,
|
|
35365
35360
|
visible_attractions_count: c.visible_attractions_count,
|
|
35366
35361
|
card_attraction_name: c.card_attraction_name,
|
|
35362
|
+
card_attraction_category: c.card_attraction_category,
|
|
35367
35363
|
card_attraction_url: c.card_attraction_url,
|
|
35368
35364
|
card_attraction_rating: c.card_attraction_rating,
|
|
35369
35365
|
interaction_timestamp_ms: c.interaction_timestamp_ms
|
|
@@ -35786,19 +35782,21 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35786
35782
|
}), r.setCenter(Y.location);
|
|
35787
35783
|
}
|
|
35788
35784
|
async function G(Y, H) {
|
|
35789
|
-
let J = "", ne = "", ae = "";
|
|
35785
|
+
let J = "", ne = "", ae = "", oe = "";
|
|
35790
35786
|
H && (await H.fetchFields({
|
|
35791
35787
|
fields: [
|
|
35792
35788
|
"displayName",
|
|
35789
|
+
"primaryType",
|
|
35793
35790
|
"rating",
|
|
35794
35791
|
"websiteURI"
|
|
35795
35792
|
]
|
|
35796
|
-
}), J = H.displayName, ne = H.rating, ae = H.websiteURI), n.createDataLayerObject("googleMapInteractionEvent", {
|
|
35793
|
+
}), J = H.displayName, ne = H.rating, ae = H.websiteURI, oe = H.primaryType), n.createDataLayerObject("googleMapInteractionEvent", {
|
|
35797
35794
|
interaction_type: Y,
|
|
35798
35795
|
search_query: d.value.trim(),
|
|
35799
35796
|
map_location: r.getCenter().toString(),
|
|
35800
35797
|
visible_attractions_count: m,
|
|
35801
35798
|
card_attraction_name: J,
|
|
35799
|
+
card_attraction_category: oe,
|
|
35802
35800
|
card_attraction_rating: ne,
|
|
35803
35801
|
card_attraction_url: ae,
|
|
35804
35802
|
interaction_timestamp_ms: Date.now()
|
|
@@ -35904,15 +35902,10 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35904
35902
|
default: withCtx(() => [
|
|
35905
35903
|
createElementVNode("span", null, [
|
|
35906
35904
|
createTextVNode(toDisplayString(e.noResultsMessage) + " ", 1),
|
|
35907
|
-
|
|
35905
|
+
createElementVNode("a", {
|
|
35908
35906
|
href: "#",
|
|
35909
35907
|
onClick: H[0] || (H[0] = withModifiers((J) => B(!0, !0), ["prevent"]))
|
|
35910
|
-
},
|
|
35911
|
-
default: withCtx(() => [
|
|
35912
|
-
createTextVNode(toDisplayString(e.resetMapNoResultsMessage), 1)
|
|
35913
|
-
]),
|
|
35914
|
-
_: 1
|
|
35915
|
-
})
|
|
35908
|
+
}, toDisplayString(e.resetMapNoResultsMessage), 1)
|
|
35916
35909
|
])
|
|
35917
35910
|
]),
|
|
35918
35911
|
_: 1
|