cec-nuxt-lib 0.7.3 → 0.7.5

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,5 +1,5 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.7.3"
4
+ "version": "0.7.5"
5
5
  }
@@ -5,6 +5,9 @@ import { useState } from '#app';
5
5
  const searchTerm = useState('searchTerm', () => 'Enter keywords:');
6
6
  const showSiteSearch = useState('showSiteSearch');
7
7
  const questions = useState('questions');
8
+ const baseUrl = useState('baseUrl');
9
+ const title = useState('title');
10
+ const path = useState('path');
8
11
 
9
12
  const regex =
10
13
  /^https:\/\/digital-core\.cheshireeast\.gov\.uk(?!.*(?:&pagePath|&pageTitle|login)).*$/;
@@ -257,7 +260,7 @@ onMounted(() => {
257
260
  li.innerHTML = qTop.question[el].question;
258
261
  if (i !== qTop.stack.length - 1 || display.innerText.length) {
259
262
  li.classList.add('fakeLink');
260
- li.onclick = () => goto(id, i, false);
263
+ li.onclick = () => goto(id, el, false);
261
264
  }
262
265
  breadcrumb.appendChild(li);
263
266
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.3",
2
+ "version": "0.7.5",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",