@visitscotland/component-library 5.41.4 → 5.41.6
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 +24 -24
- package/dist/client/scripts/2290109a2b19f24f7f67.js +1 -0
- package/dist/client/scripts/66d53fffb25ec07a1aa7.js +1 -0
- package/dist/client/scripts/715a2208f0956b83dafc.js +1 -0
- package/dist/components/vs-component-library-maps.js +12 -12
- package/dist/components/vs-component-library-maps.mjs +3 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +6 -3
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/212e8fdbf69163ee0197.js +0 -1
- package/dist/client/scripts/8abb35c450930c27b128.js +0 -1
- package/dist/client/scripts/d6f35cfcf4b0aafd6e5d.js +0 -1
- /package/dist/client/styles/{8abb35c450930c27b128.css → 2290109a2b19f24f7f67.css} +0 -0
- /package/dist/client/styles/{d6f35cfcf4b0aafd6e5d.css → 66d53fffb25ec07a1aa7.css} +0 -0
- /package/dist/client/styles/{212e8fdbf69163ee0197.css → 715a2208f0956b83dafc.css} +0 -0
- /package/dist/ssr/styles/{340f809004b56b46512d.css → 864095754937ffa99171.css} +0 -0
|
@@ -35807,7 +35807,7 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35807
35807
|
return (r, s) => (openBlock(), createBlock(VsCard, {
|
|
35808
35808
|
"card-style": "overlay",
|
|
35809
35809
|
class: "vs-map__controls-featured-place-card",
|
|
35810
|
-
onClick: s[
|
|
35810
|
+
onClick: s[2] || (s[2] = (o) => a(n.place))
|
|
35811
35811
|
}, createSlots({
|
|
35812
35812
|
"vs-card-footer": withCtx(() => [
|
|
35813
35813
|
createElementVNode("div", _hoisted_1$3, [
|
|
@@ -35822,7 +35822,10 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
35822
35822
|
class: "stretched-link text-decoration-none",
|
|
35823
35823
|
href: "#",
|
|
35824
35824
|
variant: "on-dark",
|
|
35825
|
-
|
|
35825
|
+
onKeyup: [
|
|
35826
|
+
s[0] || (s[0] = withKeys(withModifiers((o) => a(n.place), ["prevent"]), ["enter"])),
|
|
35827
|
+
s[1] || (s[1] = withKeys(withModifiers((o) => a(n.place), ["prevent"]), ["space"]))
|
|
35828
|
+
]
|
|
35826
35829
|
}, {
|
|
35827
35830
|
default: withCtx(() => [
|
|
35828
35831
|
createTextVNode(toDisplayString(n.place.properties.title), 1)
|
|
@@ -36611,7 +36614,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36611
36614
|
async function X() {
|
|
36612
36615
|
ae(), ce(), $ += 1;
|
|
36613
36616
|
const W = $;
|
|
36614
|
-
J.searchesCount += 1, j.value = "text", R.value = p.value.trim(), R.value && (c.textQuery = R.value
|
|
36617
|
+
J.searchesCount += 1, j.value = "text", R.value = p.value.trim(), R.value && (c.textQuery = `${R.value} in Scotland`, c.locationRestriction = s.getBounds(), c.maxResultCount = NUMBER_OF_RESULTS, l.style.display = "block", l.addEventListener("gmp-load", () => {
|
|
36615
36618
|
W === $ && (se(W), n.createDataLayerObject("googleMapSearchEvent", {
|
|
36616
36619
|
search_query: R.value,
|
|
36617
36620
|
search_map_location: s.getCenter().toString(),
|