@visitscotland/component-library 5.41.5 → 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 +2 -2
- package/dist/client/scripts/715a2208f0956b83dafc.js +1 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +1 -1
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/650a4d8c173040ed7812.js +0 -1
- /package/dist/client/styles/{650a4d8c173040ed7812.css → 715a2208f0956b83dafc.css} +0 -0
- /package/dist/ssr/styles/{c46f7f8ca1912b03befc.css → 864095754937ffa99171.css} +0 -0
|
@@ -36614,7 +36614,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
36614
36614
|
async function X() {
|
|
36615
36615
|
ae(), ce(), $ += 1;
|
|
36616
36616
|
const W = $;
|
|
36617
|
-
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", () => {
|
|
36618
36618
|
W === $ && (se(W), n.createDataLayerObject("googleMapSearchEvent", {
|
|
36619
36619
|
search_query: R.value,
|
|
36620
36620
|
search_map_location: s.getCenter().toString(),
|