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,7 +1,7 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.11.05",
4
+ "version": "0.11.07",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -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
- }, 100);
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.05",
2
+ "version": "0.11.07",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",