@dargmuesli/nuxt-cookie-control 5.0.0-beta.5 → 5.0.0-beta.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.d.ts
CHANGED
package/dist/module.json
CHANGED
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
|
+
const version = "5.0.0-beta.7";
|
|
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
|
-
'
|
|
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>
|
package/dist/runtime/styles.css
CHANGED
|
@@ -193,7 +193,6 @@
|
|
|
193
193
|
.cookieControl__ModalContent {
|
|
194
194
|
position: relative;
|
|
195
195
|
width: 100%;
|
|
196
|
-
padding: 40px;
|
|
197
196
|
max-width: 550px;
|
|
198
197
|
max-height: 80vh;
|
|
199
198
|
text-align: left;
|
|
@@ -274,6 +273,7 @@
|
|
|
274
273
|
display: flex;
|
|
275
274
|
flex-direction: column;
|
|
276
275
|
gap: 10px;
|
|
276
|
+
padding: 40px;
|
|
277
277
|
}
|
|
278
278
|
.cookieControl__ModalInputWrapper {
|
|
279
279
|
display: flex;
|
|
@@ -343,6 +343,8 @@
|
|
|
343
343
|
bottom: 0;
|
|
344
344
|
max-width: none;
|
|
345
345
|
max-height: 100%;
|
|
346
|
+
}
|
|
347
|
+
.cookieControl__ModalContentInner {
|
|
346
348
|
padding: 20px;
|
|
347
349
|
}
|
|
348
350
|
.cookieControl__BarButtons {
|
|
@@ -360,7 +362,7 @@
|
|
|
360
362
|
.cookieControl__BarContainer,
|
|
361
363
|
.cookieControl__ModalButtons {
|
|
362
364
|
flex-direction: column;
|
|
363
|
-
gap:
|
|
365
|
+
gap: 10px;
|
|
364
366
|
}
|
|
365
367
|
.cookieControl__ModalButtons button {
|
|
366
368
|
width: 100%;
|
package/dist/runtime/types.d.ts
CHANGED