@dargmuesli/nuxt-cookie-control 5.0.0-beta.5 → 5.0.0-beta.6

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.d.ts CHANGED
@@ -7,6 +7,7 @@ interface Cookie {
7
7
  description?: Translatable;
8
8
  id?: string;
9
9
  name: Translatable;
10
+ links?: Record<string, string | null>;
10
11
  src?: string;
11
12
  targetCookieIds?: string[];
12
13
  }
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.6",
4
4
  "configKey": "cookieControl",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { resolve } from 'node:path';
2
2
  import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, resolvePath } from '@nuxt/kit';
3
3
 
4
4
  const name = "@dargmuesli/nuxt-cookie-control";
5
- const version = "5.0.0-beta.5";
5
+ const version = "5.0.0-beta.6";
6
6
 
7
7
  const en = {
8
8
  accept: "Accept",
@@ -119,13 +119,27 @@
119
119
  cookie.targetCookieIds
120
120
  "
121
121
  >
122
+ <br />
122
123
  {{
123
- ' IDs: ' +
124
+ 'IDs: ' +
124
125
  cookie.targetCookieIds
125
126
  .map((id: string) => `"${id}"`)
126
127
  .join(', ')
127
128
  }}
128
129
  </span>
130
+ <template
131
+ v-if="Object.entries(cookie.links || {}).length"
132
+ >
133
+ <span
134
+ v-for="entry in Object.entries(
135
+ cookie.links || {}
136
+ )"
137
+ :key="entry[0]"
138
+ >
139
+ <br />
140
+ <a :href="entry[0]">{{ entry[1] || entry[0] }}</a>
141
+ </span>
142
+ </template>
129
143
  </label>
130
144
  </div>
131
145
  </li>
@@ -10,6 +10,7 @@ export interface Cookie {
10
10
  description?: Translatable;
11
11
  id?: string;
12
12
  name: Translatable;
13
+ links?: Record<string, string | null>;
13
14
  src?: string;
14
15
  targetCookieIds?: string[];
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.6",
4
4
  "description": "Nuxt Cookies Control Module",
5
5
  "author": "Dario Ferderber <dario.ferderber@broj42.com>",
6
6
  "maintainers": [