@visitscotland/component-library 5.32.0 → 5.32.2
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/CHANGELOG.md +15 -0
- package/dist/client/manifest.json +2 -2
- package/dist/client/scripts/e7ec94121db4d1a75b6d.js +1 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +3 -3
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/979ac9038a1ab14b3590.js +0 -1
- /package/dist/client/styles/{979ac9038a1ab14b3590.css → e7ec94121db4d1a75b6d.css} +0 -0
- /package/dist/ssr/styles/{cacdd354586c47955766.css → e8ce9b11d9640bae3a90.css} +0 -0
|
@@ -35435,7 +35435,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35435
35435
|
type: Object,
|
|
35436
35436
|
default: () => ({
|
|
35437
35437
|
lat: 56.490153,
|
|
35438
|
-
lng: 4.10959
|
|
35438
|
+
lng: -4.10959
|
|
35439
35439
|
})
|
|
35440
35440
|
},
|
|
35441
35441
|
/**
|
|
@@ -35735,7 +35735,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35735
35735
|
}));
|
|
35736
35736
|
}
|
|
35737
35737
|
function j(W, B) {
|
|
35738
|
-
T.value = B, W === "self-catering" ? (Z(), _.value = /* @__PURE__ */ new Set(), _.value.add(W), P.value =
|
|
35738
|
+
T.value = B, W === "self-catering" ? (Z(), _.value = /* @__PURE__ */ new Set(), _.value.add(W), P.value = "self-catering accommodation", ae(), d.value = P.value, H(), d.value = "Self Catering") : _.value.has(W) ? (_.value.delete(W), S.value = /* @__PURE__ */ new Set(), w.value = /* @__PURE__ */ new Set(), _.value.forEach((X) => {
|
|
35739
35739
|
I(X, {
|
|
35740
35740
|
includeTypes: !0,
|
|
35741
35741
|
excludeTypes: !0
|
|
@@ -35784,7 +35784,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
35784
35784
|
async function H() {
|
|
35785
35785
|
U(), ae(), F.value = !1, M += 1;
|
|
35786
35786
|
const W = M;
|
|
35787
|
-
D.searchesCount += 1, O.value = "text", P.value = d.value.trim(), P.value && (i.textQuery = P.value
|
|
35787
|
+
D.searchesCount += 1, O.value = "text", P.value = d.value.trim(), P.value && (P.value === "self-catering accommodation" ? i.textQuery = P.value : i.textQuery = `${P.value} Scotland`, i.locationBias = r.getCenter(), i.maxResultCount = NUMBER_OF_RESULTS, o.style.display = "block", o.addEventListener("gmp-load", () => {
|
|
35788
35788
|
W === M && (J(W), n.createDataLayerObject("googleMapSearchEvent", {
|
|
35789
35789
|
search_query: P.value,
|
|
35790
35790
|
search_map_location: r.getCenter().toString(),
|