cec-nuxt-lib 0.11.5 → 0.11.7
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/module.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { onMounted } from "vue";
|
|
3
|
-
import { useState, navigateTo } from "#app";
|
|
3
|
+
import { useScript, useState, navigateTo } from "#app";
|
|
4
4
|
const searchTerms = useState("searchTerms");
|
|
5
5
|
const questions = useState("questions");
|
|
6
6
|
const baseUrl = useState("baseUrl");
|
|
@@ -91,6 +91,7 @@ const doSearch = async () => {
|
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
+
useScript("https://cc.cdn.civiccomputing.com/9/cookieControl-9.x.min.js");
|
|
94
95
|
onMounted(() => {
|
|
95
96
|
setTimeout(() => {
|
|
96
97
|
try {
|
|
@@ -98,7 +99,7 @@ onMounted(() => {
|
|
|
98
99
|
} catch (err) {
|
|
99
100
|
console.log("No cookie control");
|
|
100
101
|
}
|
|
101
|
-
},
|
|
102
|
+
}, 50);
|
|
102
103
|
let accordions = document.getElementsByClassName("access-acc-container");
|
|
103
104
|
if (accordions.length) {
|
|
104
105
|
let hash = window.location.hash;
|
package/package.json
CHANGED