@visitscotland/component-library 5.4.1 → 5.4.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/dist/client/manifest.json +10 -10
- package/dist/client/scripts/175737e102f0516e0267.js +1 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +4 -4
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/76c017215a653824cb7a.js +0 -1
- /package/dist/ssr/styles/{6a3f38ae5bfcd8d41eb4.css → 42554851b749a433e30e.css} +0 -0
|
@@ -10840,10 +10840,10 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_ren
|
|
|
10840
10840
|
this.cookieManagerLoaded = !0;
|
|
10841
10841
|
},
|
|
10842
10842
|
cookiesUpdated() {
|
|
10843
|
-
|
|
10843
|
+
let e = !1;
|
|
10844
|
+
typeof CookieControl < "u" && (e = this.requiredCookies.every(
|
|
10844
10845
|
(n) => CookieControl && CookieControl.getCategoryConsent(n) !== !1
|
|
10845
|
-
);
|
|
10846
|
-
this.requiredCookiesAllowed = e;
|
|
10846
|
+
)), this.requiredCookiesAllowed = e;
|
|
10847
10847
|
}
|
|
10848
10848
|
},
|
|
10849
10849
|
computed: {
|
|
@@ -10858,7 +10858,7 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_ren
|
|
|
10858
10858
|
if (!window.dataLayerExtended && window.dataLayer) {
|
|
10859
10859
|
const e = window.dataLayer.push;
|
|
10860
10860
|
window.dataLayer.push = (n) => {
|
|
10861
|
-
e
|
|
10861
|
+
n ? e(n) : e(), n && n.event === "cookie_permission_loaded" && setTimeout(() => {
|
|
10862
10862
|
window.dispatchEvent(new Event("cookieManagerLoaded"));
|
|
10863
10863
|
}), n && n.event === "cookie_permission_changed" && setTimeout(() => {
|
|
10864
10864
|
window.dispatchEvent(new Event("cookiesUpdated"));
|