@dargmuesli/nuxt-cookie-control 8.4.0 → 8.4.2
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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/types.d.mts +6 -191
- package/dist/types.d.ts +6 -191
- package/package.json +13 -12
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2",
|
|
4
4
|
"configKey": "cookieControl",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": "^3.0.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "0.7.
|
|
9
|
+
"@nuxt/module-builder": "0.7.1",
|
|
10
10
|
"unbuild": "unknown"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import type { } from './module.js'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
4
|
export interface ModuleOptions {
|
|
7
5
|
/** @default "bottom-full" */
|
|
8
6
|
barPosition: string,
|
|
@@ -192,198 +190,15 @@ declare module '@nuxt/schema' {
|
|
|
192
190
|
},
|
|
193
191
|
},
|
|
194
192
|
}
|
|
193
|
+
|
|
194
|
+
declare module '@nuxt/schema' {
|
|
195
|
+
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
196
|
+
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
declare module 'nuxt/schema' {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
barPosition: string,
|
|
201
|
-
|
|
202
|
-
/** @default false */
|
|
203
|
-
closeModalOnClickOutside: boolean,
|
|
204
|
-
|
|
205
|
-
colors: {
|
|
206
|
-
/** @default "#000" */
|
|
207
|
-
barBackground: string,
|
|
208
|
-
|
|
209
|
-
/** @default "#fff" */
|
|
210
|
-
barButtonBackground: string,
|
|
211
|
-
|
|
212
|
-
/** @default "#000" */
|
|
213
|
-
barButtonColor: string,
|
|
214
|
-
|
|
215
|
-
/** @default "#333" */
|
|
216
|
-
barButtonHoverBackground: string,
|
|
217
|
-
|
|
218
|
-
/** @default "#fff" */
|
|
219
|
-
barButtonHoverColor: string,
|
|
220
|
-
|
|
221
|
-
/** @default "#fff" */
|
|
222
|
-
barTextColor: string,
|
|
223
|
-
|
|
224
|
-
/** @default "#000" */
|
|
225
|
-
checkboxActiveBackground: string,
|
|
226
|
-
|
|
227
|
-
/** @default "#fff" */
|
|
228
|
-
checkboxActiveCircleBackground: string,
|
|
229
|
-
|
|
230
|
-
/** @default "#ddd" */
|
|
231
|
-
checkboxDisabledBackground: string,
|
|
232
|
-
|
|
233
|
-
/** @default "#fff" */
|
|
234
|
-
checkboxDisabledCircleBackground: string,
|
|
235
|
-
|
|
236
|
-
/** @default "#000" */
|
|
237
|
-
checkboxInactiveBackground: string,
|
|
238
|
-
|
|
239
|
-
/** @default "#fff" */
|
|
240
|
-
checkboxInactiveCircleBackground: string,
|
|
241
|
-
|
|
242
|
-
/** @default "#fff" */
|
|
243
|
-
controlButtonBackground: string,
|
|
244
|
-
|
|
245
|
-
/** @default "#000" */
|
|
246
|
-
controlButtonHoverBackground: string,
|
|
247
|
-
|
|
248
|
-
/** @default "#000" */
|
|
249
|
-
controlButtonIconColor: string,
|
|
250
|
-
|
|
251
|
-
/** @default "#fff" */
|
|
252
|
-
controlButtonIconHoverColor: string,
|
|
253
|
-
|
|
254
|
-
/** @default "#808080" */
|
|
255
|
-
focusRingColor: string,
|
|
256
|
-
|
|
257
|
-
/** @default "#fff" */
|
|
258
|
-
modalBackground: string,
|
|
259
|
-
|
|
260
|
-
/** @default "#000" */
|
|
261
|
-
modalButtonBackground: string,
|
|
262
|
-
|
|
263
|
-
/** @default "#fff" */
|
|
264
|
-
modalButtonColor: string,
|
|
265
|
-
|
|
266
|
-
/** @default "#333" */
|
|
267
|
-
modalButtonHoverBackground: string,
|
|
268
|
-
|
|
269
|
-
/** @default "#fff" */
|
|
270
|
-
modalButtonHoverColor: string,
|
|
271
|
-
|
|
272
|
-
/** @default "#000" */
|
|
273
|
-
modalOverlay: string,
|
|
274
|
-
|
|
275
|
-
/** @default 0.8 */
|
|
276
|
-
modalOverlayOpacity: number,
|
|
277
|
-
|
|
278
|
-
/** @default "#000" */
|
|
279
|
-
modalTextColor: string,
|
|
280
|
-
|
|
281
|
-
/** @default "#fff" */
|
|
282
|
-
modalUnsavedColor: string,
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
cookies: {
|
|
286
|
-
necessary: Array<any>,
|
|
287
|
-
|
|
288
|
-
optional: Array<any>,
|
|
289
|
-
},
|
|
290
|
-
|
|
291
|
-
/** @default 31536000000 */
|
|
292
|
-
cookieExpiryOffsetMs: number,
|
|
293
|
-
|
|
294
|
-
/** @default "ncc_c" */
|
|
295
|
-
cookieNameIsConsentGiven: string,
|
|
296
|
-
|
|
297
|
-
/** @default "ncc_e" */
|
|
298
|
-
cookieNameCookiesEnabledIds: string,
|
|
299
|
-
|
|
300
|
-
cookieOptions: {
|
|
301
|
-
/** @default "/" */
|
|
302
|
-
path: string,
|
|
303
|
-
|
|
304
|
-
/** @default "strict" */
|
|
305
|
-
sameSite: string,
|
|
306
|
-
|
|
307
|
-
/** @default true */
|
|
308
|
-
secure: boolean,
|
|
309
|
-
},
|
|
310
|
-
|
|
311
|
-
/** @default true */
|
|
312
|
-
isAcceptNecessaryButtonEnabled: boolean,
|
|
313
|
-
|
|
314
|
-
/** @default true */
|
|
315
|
-
isControlButtonEnabled: boolean,
|
|
316
|
-
|
|
317
|
-
/** @default false */
|
|
318
|
-
isCookieIdVisible: boolean,
|
|
319
|
-
|
|
320
|
-
/** @default true */
|
|
321
|
-
isCssEnabled: boolean,
|
|
322
|
-
|
|
323
|
-
/** @default false */
|
|
324
|
-
isCssPonyfillEnabled: boolean,
|
|
325
|
-
|
|
326
|
-
/** @default true */
|
|
327
|
-
isDashInDescriptionEnabled: boolean,
|
|
328
|
-
|
|
329
|
-
/** @default false */
|
|
330
|
-
isIframeBlocked: boolean,
|
|
331
|
-
|
|
332
|
-
/** @default false */
|
|
333
|
-
isModalForced: boolean,
|
|
334
|
-
|
|
335
|
-
/** @default ["en"] */
|
|
336
|
-
locales: Array<string>,
|
|
337
|
-
|
|
338
|
-
localeTexts: {
|
|
339
|
-
en: {
|
|
340
|
-
/** @default "Accept" */
|
|
341
|
-
accept: string,
|
|
342
|
-
|
|
343
|
-
/** @default "Accept all" */
|
|
344
|
-
acceptAll: string,
|
|
345
|
-
|
|
346
|
-
/** @default "We use our own cookies and third-party cookies so that we can display this website correctly and better understand how this website is used, with a view to improving the services we offer. A decision on cookie usage permissions can be changed anytime using the cookie button that will appear after a selection has been made on this banner." */
|
|
347
|
-
bannerDescription: string,
|
|
348
|
-
|
|
349
|
-
/** @default "Cookies" */
|
|
350
|
-
bannerTitle: string,
|
|
351
|
-
|
|
352
|
-
/** @default "Close" */
|
|
353
|
-
close: string,
|
|
354
|
-
|
|
355
|
-
/** @default "Functional cookies" */
|
|
356
|
-
cookiesFunctional: string,
|
|
357
|
-
|
|
358
|
-
/** @default "Necessary cookies" */
|
|
359
|
-
cookiesNecessary: string,
|
|
360
|
-
|
|
361
|
-
/** @default "Optional cookies" */
|
|
362
|
-
cookiesOptional: string,
|
|
363
|
-
|
|
364
|
-
/** @default "Decline" */
|
|
365
|
-
decline: string,
|
|
366
|
-
|
|
367
|
-
/** @default "Decline all" */
|
|
368
|
-
declineAll: string,
|
|
369
|
-
|
|
370
|
-
/** @default "here" */
|
|
371
|
-
here: string,
|
|
372
|
-
|
|
373
|
-
/** @default "To see this, please enable functional cookies" */
|
|
374
|
-
iframeBlocked: string,
|
|
375
|
-
|
|
376
|
-
/** @default "Learn more and customize" */
|
|
377
|
-
manageCookies: string,
|
|
378
|
-
|
|
379
|
-
/** @default "Save" */
|
|
380
|
-
save: string,
|
|
381
|
-
|
|
382
|
-
/** @default "You have unsaved settings" */
|
|
383
|
-
settingsUnsaved: string,
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
}
|
|
200
|
+
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
201
|
+
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
387
202
|
}
|
|
388
203
|
|
|
389
204
|
|
package/dist/types.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import type { } from './module'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
4
|
export interface ModuleOptions {
|
|
7
5
|
/** @default "bottom-full" */
|
|
8
6
|
barPosition: string,
|
|
@@ -192,198 +190,15 @@ declare module '@nuxt/schema' {
|
|
|
192
190
|
},
|
|
193
191
|
},
|
|
194
192
|
}
|
|
193
|
+
|
|
194
|
+
declare module '@nuxt/schema' {
|
|
195
|
+
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
196
|
+
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
declare module 'nuxt/schema' {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
barPosition: string,
|
|
201
|
-
|
|
202
|
-
/** @default false */
|
|
203
|
-
closeModalOnClickOutside: boolean,
|
|
204
|
-
|
|
205
|
-
colors: {
|
|
206
|
-
/** @default "#000" */
|
|
207
|
-
barBackground: string,
|
|
208
|
-
|
|
209
|
-
/** @default "#fff" */
|
|
210
|
-
barButtonBackground: string,
|
|
211
|
-
|
|
212
|
-
/** @default "#000" */
|
|
213
|
-
barButtonColor: string,
|
|
214
|
-
|
|
215
|
-
/** @default "#333" */
|
|
216
|
-
barButtonHoverBackground: string,
|
|
217
|
-
|
|
218
|
-
/** @default "#fff" */
|
|
219
|
-
barButtonHoverColor: string,
|
|
220
|
-
|
|
221
|
-
/** @default "#fff" */
|
|
222
|
-
barTextColor: string,
|
|
223
|
-
|
|
224
|
-
/** @default "#000" */
|
|
225
|
-
checkboxActiveBackground: string,
|
|
226
|
-
|
|
227
|
-
/** @default "#fff" */
|
|
228
|
-
checkboxActiveCircleBackground: string,
|
|
229
|
-
|
|
230
|
-
/** @default "#ddd" */
|
|
231
|
-
checkboxDisabledBackground: string,
|
|
232
|
-
|
|
233
|
-
/** @default "#fff" */
|
|
234
|
-
checkboxDisabledCircleBackground: string,
|
|
235
|
-
|
|
236
|
-
/** @default "#000" */
|
|
237
|
-
checkboxInactiveBackground: string,
|
|
238
|
-
|
|
239
|
-
/** @default "#fff" */
|
|
240
|
-
checkboxInactiveCircleBackground: string,
|
|
241
|
-
|
|
242
|
-
/** @default "#fff" */
|
|
243
|
-
controlButtonBackground: string,
|
|
244
|
-
|
|
245
|
-
/** @default "#000" */
|
|
246
|
-
controlButtonHoverBackground: string,
|
|
247
|
-
|
|
248
|
-
/** @default "#000" */
|
|
249
|
-
controlButtonIconColor: string,
|
|
250
|
-
|
|
251
|
-
/** @default "#fff" */
|
|
252
|
-
controlButtonIconHoverColor: string,
|
|
253
|
-
|
|
254
|
-
/** @default "#808080" */
|
|
255
|
-
focusRingColor: string,
|
|
256
|
-
|
|
257
|
-
/** @default "#fff" */
|
|
258
|
-
modalBackground: string,
|
|
259
|
-
|
|
260
|
-
/** @default "#000" */
|
|
261
|
-
modalButtonBackground: string,
|
|
262
|
-
|
|
263
|
-
/** @default "#fff" */
|
|
264
|
-
modalButtonColor: string,
|
|
265
|
-
|
|
266
|
-
/** @default "#333" */
|
|
267
|
-
modalButtonHoverBackground: string,
|
|
268
|
-
|
|
269
|
-
/** @default "#fff" */
|
|
270
|
-
modalButtonHoverColor: string,
|
|
271
|
-
|
|
272
|
-
/** @default "#000" */
|
|
273
|
-
modalOverlay: string,
|
|
274
|
-
|
|
275
|
-
/** @default 0.8 */
|
|
276
|
-
modalOverlayOpacity: number,
|
|
277
|
-
|
|
278
|
-
/** @default "#000" */
|
|
279
|
-
modalTextColor: string,
|
|
280
|
-
|
|
281
|
-
/** @default "#fff" */
|
|
282
|
-
modalUnsavedColor: string,
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
cookies: {
|
|
286
|
-
necessary: Array<any>,
|
|
287
|
-
|
|
288
|
-
optional: Array<any>,
|
|
289
|
-
},
|
|
290
|
-
|
|
291
|
-
/** @default 31536000000 */
|
|
292
|
-
cookieExpiryOffsetMs: number,
|
|
293
|
-
|
|
294
|
-
/** @default "ncc_c" */
|
|
295
|
-
cookieNameIsConsentGiven: string,
|
|
296
|
-
|
|
297
|
-
/** @default "ncc_e" */
|
|
298
|
-
cookieNameCookiesEnabledIds: string,
|
|
299
|
-
|
|
300
|
-
cookieOptions: {
|
|
301
|
-
/** @default "/" */
|
|
302
|
-
path: string,
|
|
303
|
-
|
|
304
|
-
/** @default "strict" */
|
|
305
|
-
sameSite: string,
|
|
306
|
-
|
|
307
|
-
/** @default true */
|
|
308
|
-
secure: boolean,
|
|
309
|
-
},
|
|
310
|
-
|
|
311
|
-
/** @default true */
|
|
312
|
-
isAcceptNecessaryButtonEnabled: boolean,
|
|
313
|
-
|
|
314
|
-
/** @default true */
|
|
315
|
-
isControlButtonEnabled: boolean,
|
|
316
|
-
|
|
317
|
-
/** @default false */
|
|
318
|
-
isCookieIdVisible: boolean,
|
|
319
|
-
|
|
320
|
-
/** @default true */
|
|
321
|
-
isCssEnabled: boolean,
|
|
322
|
-
|
|
323
|
-
/** @default false */
|
|
324
|
-
isCssPonyfillEnabled: boolean,
|
|
325
|
-
|
|
326
|
-
/** @default true */
|
|
327
|
-
isDashInDescriptionEnabled: boolean,
|
|
328
|
-
|
|
329
|
-
/** @default false */
|
|
330
|
-
isIframeBlocked: boolean,
|
|
331
|
-
|
|
332
|
-
/** @default false */
|
|
333
|
-
isModalForced: boolean,
|
|
334
|
-
|
|
335
|
-
/** @default ["en"] */
|
|
336
|
-
locales: Array<string>,
|
|
337
|
-
|
|
338
|
-
localeTexts: {
|
|
339
|
-
en: {
|
|
340
|
-
/** @default "Accept" */
|
|
341
|
-
accept: string,
|
|
342
|
-
|
|
343
|
-
/** @default "Accept all" */
|
|
344
|
-
acceptAll: string,
|
|
345
|
-
|
|
346
|
-
/** @default "We use our own cookies and third-party cookies so that we can display this website correctly and better understand how this website is used, with a view to improving the services we offer. A decision on cookie usage permissions can be changed anytime using the cookie button that will appear after a selection has been made on this banner." */
|
|
347
|
-
bannerDescription: string,
|
|
348
|
-
|
|
349
|
-
/** @default "Cookies" */
|
|
350
|
-
bannerTitle: string,
|
|
351
|
-
|
|
352
|
-
/** @default "Close" */
|
|
353
|
-
close: string,
|
|
354
|
-
|
|
355
|
-
/** @default "Functional cookies" */
|
|
356
|
-
cookiesFunctional: string,
|
|
357
|
-
|
|
358
|
-
/** @default "Necessary cookies" */
|
|
359
|
-
cookiesNecessary: string,
|
|
360
|
-
|
|
361
|
-
/** @default "Optional cookies" */
|
|
362
|
-
cookiesOptional: string,
|
|
363
|
-
|
|
364
|
-
/** @default "Decline" */
|
|
365
|
-
decline: string,
|
|
366
|
-
|
|
367
|
-
/** @default "Decline all" */
|
|
368
|
-
declineAll: string,
|
|
369
|
-
|
|
370
|
-
/** @default "here" */
|
|
371
|
-
here: string,
|
|
372
|
-
|
|
373
|
-
/** @default "To see this, please enable functional cookies" */
|
|
374
|
-
iframeBlocked: string,
|
|
375
|
-
|
|
376
|
-
/** @default "Learn more and customize" */
|
|
377
|
-
manageCookies: string,
|
|
378
|
-
|
|
379
|
-
/** @default "Save" */
|
|
380
|
-
save: string,
|
|
381
|
-
|
|
382
|
-
/** @default "You have unsaved settings" */
|
|
383
|
-
settingsUnsaved: string,
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
}
|
|
200
|
+
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
201
|
+
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
387
202
|
}
|
|
388
203
|
|
|
389
204
|
|
package/package.json
CHANGED
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"@commitlint/config-conventional": "19.2.2",
|
|
16
16
|
"@dargmuesli/nuxt-cookie-control": "link:",
|
|
17
17
|
"@nuxt/eslint-config": "0.3.13",
|
|
18
|
-
"@nuxt/module-builder": "0.7.
|
|
19
|
-
"@nuxt/schema": "3.
|
|
18
|
+
"@nuxt/module-builder": "0.7.1",
|
|
19
|
+
"@nuxt/schema": "3.12.1",
|
|
20
20
|
"@semantic-release/changelog": "6.0.3",
|
|
21
21
|
"@semantic-release/commit-analyzer": "13.0.0",
|
|
22
22
|
"@semantic-release/git": "10.0.1",
|
|
23
|
-
"@semantic-release/github": "10.0.
|
|
23
|
+
"@semantic-release/github": "10.0.6",
|
|
24
24
|
"@semantic-release/npm": "12.0.1",
|
|
25
25
|
"@semantic-release/release-notes-generator": "14.0.0",
|
|
26
26
|
"eslint": "9.4.0",
|
|
27
27
|
"eslint-config-prettier": "9.1.0",
|
|
28
28
|
"eslint-plugin-prettier": "5.1.3",
|
|
29
29
|
"husky": "9.0.11",
|
|
30
|
-
"lint-staged": "15.2.
|
|
31
|
-
"nuxt": "3.
|
|
32
|
-
"prettier": "3.3.
|
|
30
|
+
"lint-staged": "15.2.6",
|
|
31
|
+
"nuxt": "3.12.1",
|
|
32
|
+
"prettier": "3.3.2",
|
|
33
33
|
"semantic-release": "24.0.0",
|
|
34
|
-
"vite": "5.2.
|
|
34
|
+
"vite": "5.2.13",
|
|
35
35
|
"vue": "3.4.27",
|
|
36
|
-
"vue-tsc": "2.0.
|
|
37
|
-
"webpack": "5.
|
|
36
|
+
"vue-tsc": "2.0.21",
|
|
37
|
+
"webpack": "5.92.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=16"
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"./runtime/*": {
|
|
49
49
|
"import": "./dist/runtime/*.js",
|
|
50
|
+
"require": "./dist/runtime/*.js",
|
|
50
51
|
"types": "./dist/runtime/*.d.ts"
|
|
51
52
|
}
|
|
52
53
|
},
|
|
@@ -68,13 +69,13 @@
|
|
|
68
69
|
"Jonas Thelemann"
|
|
69
70
|
],
|
|
70
71
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
71
|
-
"packageManager": "pnpm@9.
|
|
72
|
+
"packageManager": "pnpm@9.3.0",
|
|
72
73
|
"publishConfig": {
|
|
73
74
|
"access": "public"
|
|
74
75
|
},
|
|
75
76
|
"repository": "https://github.com/dargmuesli/nuxt-cookie-control",
|
|
76
77
|
"resolutions": {
|
|
77
|
-
"@nuxt/kit": "3.
|
|
78
|
+
"@nuxt/kit": "3.12.1"
|
|
78
79
|
},
|
|
79
80
|
"scripts": {
|
|
80
81
|
"build": "nuxt-module-build build",
|
|
@@ -88,5 +89,5 @@
|
|
|
88
89
|
},
|
|
89
90
|
"type": "module",
|
|
90
91
|
"types": "./dist/types.d.ts",
|
|
91
|
-
"version": "8.4.
|
|
92
|
+
"version": "8.4.2"
|
|
92
93
|
}
|