@dargmuesli/nuxt-cookie-control 8.3.2 → 8.3.4
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/runtime/locale/index.js +68 -0
- package/dist/runtime/{types.mjs → types.js} +1 -1
- package/dist/types.d.mts +382 -0
- package/dist/types.d.ts +382 -0
- package/package.json +9 -9
- package/dist/runtime/locale/index.mjs +0 -68
- /package/dist/runtime/{composables.mjs → composables.js} +0 -0
- /package/dist/runtime/{constants.mjs → constants.js} +0 -0
- /package/dist/runtime/locale/{ar.mjs → ar.js} +0 -0
- /package/dist/runtime/locale/{az.mjs → az.js} +0 -0
- /package/dist/runtime/locale/{be.mjs → be.js} +0 -0
- /package/dist/runtime/locale/{bg.mjs → bg.js} +0 -0
- /package/dist/runtime/locale/{ca.mjs → ca.js} +0 -0
- /package/dist/runtime/locale/{cs.mjs → cs.js} +0 -0
- /package/dist/runtime/locale/{da.mjs → da.js} +0 -0
- /package/dist/runtime/locale/{de.mjs → de.js} +0 -0
- /package/dist/runtime/locale/{en.mjs → en.js} +0 -0
- /package/dist/runtime/locale/{es.mjs → es.js} +0 -0
- /package/dist/runtime/locale/{fi.mjs → fi.js} +0 -0
- /package/dist/runtime/locale/{fr.mjs → fr.js} +0 -0
- /package/dist/runtime/locale/{hr.mjs → hr.js} +0 -0
- /package/dist/runtime/locale/{hu.mjs → hu.js} +0 -0
- /package/dist/runtime/locale/{id.mjs → id.js} +0 -0
- /package/dist/runtime/locale/{it.mjs → it.js} +0 -0
- /package/dist/runtime/locale/{ja.mjs → ja.js} +0 -0
- /package/dist/runtime/locale/{km.mjs → km.js} +0 -0
- /package/dist/runtime/locale/{ko.mjs → ko.js} +0 -0
- /package/dist/runtime/locale/{lt.mjs → lt.js} +0 -0
- /package/dist/runtime/locale/{nl.mjs → nl.js} +0 -0
- /package/dist/runtime/locale/{no.mjs → no.js} +0 -0
- /package/dist/runtime/locale/{oc.mjs → oc.js} +0 -0
- /package/dist/runtime/locale/{pl.mjs → pl.js} +0 -0
- /package/dist/runtime/locale/{pt.mjs → pt.js} +0 -0
- /package/dist/runtime/locale/{ro.mjs → ro.js} +0 -0
- /package/dist/runtime/locale/{rs.mjs → rs.js} +0 -0
- /package/dist/runtime/locale/{ru.mjs → ru.js} +0 -0
- /package/dist/runtime/locale/{sk.mjs → sk.js} +0 -0
- /package/dist/runtime/locale/{sv.mjs → sv.js} +0 -0
- /package/dist/runtime/locale/{tr.mjs → tr.js} +0 -0
- /package/dist/runtime/locale/{uk.mjs → uk.js} +0 -0
- /package/dist/runtime/locale/{zh-CN.mjs → zh-CN.js} +0 -0
- /package/dist/runtime/{methods.mjs → methods.js} +0 -0
- /package/dist/runtime/{plugin.mjs → plugin.js} +0 -0
- /package/dist/runtime/set-vars/{native.mjs → native.js} +0 -0
- /package/dist/runtime/set-vars/{ponyfill.mjs → ponyfill.js} +0 -0
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.4",
|
|
4
4
|
"configKey": "cookieControl",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": "^3.0.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "0.
|
|
9
|
+
"@nuxt/module-builder": "0.7.0",
|
|
10
10
|
"unbuild": "unknown"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import ar from "./ar.js";
|
|
2
|
+
import az from "./az.js";
|
|
3
|
+
import be from "./be.js";
|
|
4
|
+
import bg from "./bg.js";
|
|
5
|
+
import ca from "./ca.js";
|
|
6
|
+
import cs from "./cs.js";
|
|
7
|
+
import da from "./da.js";
|
|
8
|
+
import de from "./de.js";
|
|
9
|
+
import en from "./en.js";
|
|
10
|
+
import es from "./es.js";
|
|
11
|
+
import fi from "./fi.js";
|
|
12
|
+
import fr from "./fr.js";
|
|
13
|
+
import hr from "./hr.js";
|
|
14
|
+
import hu from "./hu.js";
|
|
15
|
+
import id from "./id.js";
|
|
16
|
+
import it from "./it.js";
|
|
17
|
+
import ja from "./ja.js";
|
|
18
|
+
import km from "./km.js";
|
|
19
|
+
import ko from "./ko.js";
|
|
20
|
+
import lt from "./lt.js";
|
|
21
|
+
import nl from "./nl.js";
|
|
22
|
+
import no from "./no.js";
|
|
23
|
+
import oc from "./oc.js";
|
|
24
|
+
import pt from "./pt.js";
|
|
25
|
+
import pl from "./pl.js";
|
|
26
|
+
import ro from "./ro.js";
|
|
27
|
+
import rs from "./rs.js";
|
|
28
|
+
import ru from "./ru.js";
|
|
29
|
+
import sk from "./sk.js";
|
|
30
|
+
import sv from "./sv.js";
|
|
31
|
+
import tr from "./tr.js";
|
|
32
|
+
import uk from "./uk.js";
|
|
33
|
+
import zhCN from "./zh-CN.js";
|
|
34
|
+
export const locales = [
|
|
35
|
+
ar,
|
|
36
|
+
az,
|
|
37
|
+
be,
|
|
38
|
+
bg,
|
|
39
|
+
ca,
|
|
40
|
+
cs,
|
|
41
|
+
da,
|
|
42
|
+
de,
|
|
43
|
+
en,
|
|
44
|
+
es,
|
|
45
|
+
fi,
|
|
46
|
+
fr,
|
|
47
|
+
hr,
|
|
48
|
+
hu,
|
|
49
|
+
id,
|
|
50
|
+
it,
|
|
51
|
+
ja,
|
|
52
|
+
km,
|
|
53
|
+
ko,
|
|
54
|
+
lt,
|
|
55
|
+
nl,
|
|
56
|
+
no,
|
|
57
|
+
oc,
|
|
58
|
+
pt,
|
|
59
|
+
pl,
|
|
60
|
+
ro,
|
|
61
|
+
rs,
|
|
62
|
+
ru,
|
|
63
|
+
sk,
|
|
64
|
+
sv,
|
|
65
|
+
tr,
|
|
66
|
+
uk,
|
|
67
|
+
zhCN
|
|
68
|
+
];
|
package/dist/types.d.mts
CHANGED
|
@@ -2,7 +2,389 @@
|
|
|
2
2
|
import type { } from './module.js'
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
declare module '@nuxt/schema' {
|
|
6
|
+
export interface ModuleOptions {
|
|
7
|
+
/** @default "bottom-full" */
|
|
8
|
+
barPosition: string,
|
|
5
9
|
|
|
10
|
+
/** @default false */
|
|
11
|
+
closeModalOnClickOutside: boolean,
|
|
12
|
+
|
|
13
|
+
colors: {
|
|
14
|
+
/** @default "#000" */
|
|
15
|
+
barBackground: string,
|
|
16
|
+
|
|
17
|
+
/** @default "#fff" */
|
|
18
|
+
barButtonBackground: string,
|
|
19
|
+
|
|
20
|
+
/** @default "#000" */
|
|
21
|
+
barButtonColor: string,
|
|
22
|
+
|
|
23
|
+
/** @default "#333" */
|
|
24
|
+
barButtonHoverBackground: string,
|
|
25
|
+
|
|
26
|
+
/** @default "#fff" */
|
|
27
|
+
barButtonHoverColor: string,
|
|
28
|
+
|
|
29
|
+
/** @default "#fff" */
|
|
30
|
+
barTextColor: string,
|
|
31
|
+
|
|
32
|
+
/** @default "#000" */
|
|
33
|
+
checkboxActiveBackground: string,
|
|
34
|
+
|
|
35
|
+
/** @default "#fff" */
|
|
36
|
+
checkboxActiveCircleBackground: string,
|
|
37
|
+
|
|
38
|
+
/** @default "#ddd" */
|
|
39
|
+
checkboxDisabledBackground: string,
|
|
40
|
+
|
|
41
|
+
/** @default "#fff" */
|
|
42
|
+
checkboxDisabledCircleBackground: string,
|
|
43
|
+
|
|
44
|
+
/** @default "#000" */
|
|
45
|
+
checkboxInactiveBackground: string,
|
|
46
|
+
|
|
47
|
+
/** @default "#fff" */
|
|
48
|
+
checkboxInactiveCircleBackground: string,
|
|
49
|
+
|
|
50
|
+
/** @default "#fff" */
|
|
51
|
+
controlButtonBackground: string,
|
|
52
|
+
|
|
53
|
+
/** @default "#000" */
|
|
54
|
+
controlButtonHoverBackground: string,
|
|
55
|
+
|
|
56
|
+
/** @default "#000" */
|
|
57
|
+
controlButtonIconColor: string,
|
|
58
|
+
|
|
59
|
+
/** @default "#fff" */
|
|
60
|
+
controlButtonIconHoverColor: string,
|
|
61
|
+
|
|
62
|
+
/** @default "#808080" */
|
|
63
|
+
focusRingColor: string,
|
|
64
|
+
|
|
65
|
+
/** @default "#fff" */
|
|
66
|
+
modalBackground: string,
|
|
67
|
+
|
|
68
|
+
/** @default "#000" */
|
|
69
|
+
modalButtonBackground: string,
|
|
70
|
+
|
|
71
|
+
/** @default "#fff" */
|
|
72
|
+
modalButtonColor: string,
|
|
73
|
+
|
|
74
|
+
/** @default "#333" */
|
|
75
|
+
modalButtonHoverBackground: string,
|
|
76
|
+
|
|
77
|
+
/** @default "#fff" */
|
|
78
|
+
modalButtonHoverColor: string,
|
|
79
|
+
|
|
80
|
+
/** @default "#000" */
|
|
81
|
+
modalOverlay: string,
|
|
82
|
+
|
|
83
|
+
/** @default 0.8 */
|
|
84
|
+
modalOverlayOpacity: number,
|
|
85
|
+
|
|
86
|
+
/** @default "#000" */
|
|
87
|
+
modalTextColor: string,
|
|
88
|
+
|
|
89
|
+
/** @default "#fff" */
|
|
90
|
+
modalUnsavedColor: string,
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
cookies: {
|
|
94
|
+
necessary: Array<any>,
|
|
95
|
+
|
|
96
|
+
optional: Array<any>,
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
/** @default 31536000000 */
|
|
100
|
+
cookieExpiryOffsetMs: number,
|
|
101
|
+
|
|
102
|
+
/** @default "ncc_c" */
|
|
103
|
+
cookieNameIsConsentGiven: string,
|
|
104
|
+
|
|
105
|
+
/** @default "ncc_e" */
|
|
106
|
+
cookieNameCookiesEnabledIds: string,
|
|
107
|
+
|
|
108
|
+
cookieOptions: {
|
|
109
|
+
/** @default "/" */
|
|
110
|
+
path: string,
|
|
111
|
+
|
|
112
|
+
/** @default "strict" */
|
|
113
|
+
sameSite: string,
|
|
114
|
+
|
|
115
|
+
/** @default true */
|
|
116
|
+
secure: boolean,
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
/** @default true */
|
|
120
|
+
isAcceptNecessaryButtonEnabled: boolean,
|
|
121
|
+
|
|
122
|
+
/** @default true */
|
|
123
|
+
isControlButtonEnabled: boolean,
|
|
124
|
+
|
|
125
|
+
/** @default false */
|
|
126
|
+
isCookieIdVisible: boolean,
|
|
127
|
+
|
|
128
|
+
/** @default true */
|
|
129
|
+
isCssEnabled: boolean,
|
|
130
|
+
|
|
131
|
+
/** @default false */
|
|
132
|
+
isCssPonyfillEnabled: boolean,
|
|
133
|
+
|
|
134
|
+
/** @default true */
|
|
135
|
+
isDashInDescriptionEnabled: boolean,
|
|
136
|
+
|
|
137
|
+
/** @default false */
|
|
138
|
+
isIframeBlocked: boolean,
|
|
139
|
+
|
|
140
|
+
/** @default false */
|
|
141
|
+
isModalForced: boolean,
|
|
142
|
+
|
|
143
|
+
/** @default ["en"] */
|
|
144
|
+
locales: Array<string>,
|
|
145
|
+
|
|
146
|
+
localeTexts: {
|
|
147
|
+
en: {
|
|
148
|
+
/** @default "Accept" */
|
|
149
|
+
accept: string,
|
|
150
|
+
|
|
151
|
+
/** @default "Accept all" */
|
|
152
|
+
acceptAll: string,
|
|
153
|
+
|
|
154
|
+
/** @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." */
|
|
155
|
+
bannerDescription: string,
|
|
156
|
+
|
|
157
|
+
/** @default "Cookies" */
|
|
158
|
+
bannerTitle: string,
|
|
159
|
+
|
|
160
|
+
/** @default "Close" */
|
|
161
|
+
close: string,
|
|
162
|
+
|
|
163
|
+
/** @default "Functional cookies" */
|
|
164
|
+
cookiesFunctional: string,
|
|
165
|
+
|
|
166
|
+
/** @default "Necessary cookies" */
|
|
167
|
+
cookiesNecessary: string,
|
|
168
|
+
|
|
169
|
+
/** @default "Optional cookies" */
|
|
170
|
+
cookiesOptional: string,
|
|
171
|
+
|
|
172
|
+
/** @default "Decline" */
|
|
173
|
+
decline: string,
|
|
174
|
+
|
|
175
|
+
/** @default "Decline all" */
|
|
176
|
+
declineAll: string,
|
|
177
|
+
|
|
178
|
+
/** @default "here" */
|
|
179
|
+
here: string,
|
|
180
|
+
|
|
181
|
+
/** @default "To see this, please enable functional cookies" */
|
|
182
|
+
iframeBlocked: string,
|
|
183
|
+
|
|
184
|
+
/** @default "Learn more and customize" */
|
|
185
|
+
manageCookies: string,
|
|
186
|
+
|
|
187
|
+
/** @default "Save" */
|
|
188
|
+
save: string,
|
|
189
|
+
|
|
190
|
+
/** @default "You have unsaved settings" */
|
|
191
|
+
settingsUnsaved: string,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare module 'nuxt/schema' {
|
|
198
|
+
export interface ModuleOptions {
|
|
199
|
+
/** @default "bottom-full" */
|
|
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
|
+
}
|
|
387
|
+
}
|
|
6
388
|
|
|
7
389
|
|
|
8
390
|
export type { default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -2,7 +2,389 @@
|
|
|
2
2
|
import type { } from './module'
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
declare module '@nuxt/schema' {
|
|
6
|
+
export interface ModuleOptions {
|
|
7
|
+
/** @default "bottom-full" */
|
|
8
|
+
barPosition: string,
|
|
5
9
|
|
|
10
|
+
/** @default false */
|
|
11
|
+
closeModalOnClickOutside: boolean,
|
|
12
|
+
|
|
13
|
+
colors: {
|
|
14
|
+
/** @default "#000" */
|
|
15
|
+
barBackground: string,
|
|
16
|
+
|
|
17
|
+
/** @default "#fff" */
|
|
18
|
+
barButtonBackground: string,
|
|
19
|
+
|
|
20
|
+
/** @default "#000" */
|
|
21
|
+
barButtonColor: string,
|
|
22
|
+
|
|
23
|
+
/** @default "#333" */
|
|
24
|
+
barButtonHoverBackground: string,
|
|
25
|
+
|
|
26
|
+
/** @default "#fff" */
|
|
27
|
+
barButtonHoverColor: string,
|
|
28
|
+
|
|
29
|
+
/** @default "#fff" */
|
|
30
|
+
barTextColor: string,
|
|
31
|
+
|
|
32
|
+
/** @default "#000" */
|
|
33
|
+
checkboxActiveBackground: string,
|
|
34
|
+
|
|
35
|
+
/** @default "#fff" */
|
|
36
|
+
checkboxActiveCircleBackground: string,
|
|
37
|
+
|
|
38
|
+
/** @default "#ddd" */
|
|
39
|
+
checkboxDisabledBackground: string,
|
|
40
|
+
|
|
41
|
+
/** @default "#fff" */
|
|
42
|
+
checkboxDisabledCircleBackground: string,
|
|
43
|
+
|
|
44
|
+
/** @default "#000" */
|
|
45
|
+
checkboxInactiveBackground: string,
|
|
46
|
+
|
|
47
|
+
/** @default "#fff" */
|
|
48
|
+
checkboxInactiveCircleBackground: string,
|
|
49
|
+
|
|
50
|
+
/** @default "#fff" */
|
|
51
|
+
controlButtonBackground: string,
|
|
52
|
+
|
|
53
|
+
/** @default "#000" */
|
|
54
|
+
controlButtonHoverBackground: string,
|
|
55
|
+
|
|
56
|
+
/** @default "#000" */
|
|
57
|
+
controlButtonIconColor: string,
|
|
58
|
+
|
|
59
|
+
/** @default "#fff" */
|
|
60
|
+
controlButtonIconHoverColor: string,
|
|
61
|
+
|
|
62
|
+
/** @default "#808080" */
|
|
63
|
+
focusRingColor: string,
|
|
64
|
+
|
|
65
|
+
/** @default "#fff" */
|
|
66
|
+
modalBackground: string,
|
|
67
|
+
|
|
68
|
+
/** @default "#000" */
|
|
69
|
+
modalButtonBackground: string,
|
|
70
|
+
|
|
71
|
+
/** @default "#fff" */
|
|
72
|
+
modalButtonColor: string,
|
|
73
|
+
|
|
74
|
+
/** @default "#333" */
|
|
75
|
+
modalButtonHoverBackground: string,
|
|
76
|
+
|
|
77
|
+
/** @default "#fff" */
|
|
78
|
+
modalButtonHoverColor: string,
|
|
79
|
+
|
|
80
|
+
/** @default "#000" */
|
|
81
|
+
modalOverlay: string,
|
|
82
|
+
|
|
83
|
+
/** @default 0.8 */
|
|
84
|
+
modalOverlayOpacity: number,
|
|
85
|
+
|
|
86
|
+
/** @default "#000" */
|
|
87
|
+
modalTextColor: string,
|
|
88
|
+
|
|
89
|
+
/** @default "#fff" */
|
|
90
|
+
modalUnsavedColor: string,
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
cookies: {
|
|
94
|
+
necessary: Array<any>,
|
|
95
|
+
|
|
96
|
+
optional: Array<any>,
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
/** @default 31536000000 */
|
|
100
|
+
cookieExpiryOffsetMs: number,
|
|
101
|
+
|
|
102
|
+
/** @default "ncc_c" */
|
|
103
|
+
cookieNameIsConsentGiven: string,
|
|
104
|
+
|
|
105
|
+
/** @default "ncc_e" */
|
|
106
|
+
cookieNameCookiesEnabledIds: string,
|
|
107
|
+
|
|
108
|
+
cookieOptions: {
|
|
109
|
+
/** @default "/" */
|
|
110
|
+
path: string,
|
|
111
|
+
|
|
112
|
+
/** @default "strict" */
|
|
113
|
+
sameSite: string,
|
|
114
|
+
|
|
115
|
+
/** @default true */
|
|
116
|
+
secure: boolean,
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
/** @default true */
|
|
120
|
+
isAcceptNecessaryButtonEnabled: boolean,
|
|
121
|
+
|
|
122
|
+
/** @default true */
|
|
123
|
+
isControlButtonEnabled: boolean,
|
|
124
|
+
|
|
125
|
+
/** @default false */
|
|
126
|
+
isCookieIdVisible: boolean,
|
|
127
|
+
|
|
128
|
+
/** @default true */
|
|
129
|
+
isCssEnabled: boolean,
|
|
130
|
+
|
|
131
|
+
/** @default false */
|
|
132
|
+
isCssPonyfillEnabled: boolean,
|
|
133
|
+
|
|
134
|
+
/** @default true */
|
|
135
|
+
isDashInDescriptionEnabled: boolean,
|
|
136
|
+
|
|
137
|
+
/** @default false */
|
|
138
|
+
isIframeBlocked: boolean,
|
|
139
|
+
|
|
140
|
+
/** @default false */
|
|
141
|
+
isModalForced: boolean,
|
|
142
|
+
|
|
143
|
+
/** @default ["en"] */
|
|
144
|
+
locales: Array<string>,
|
|
145
|
+
|
|
146
|
+
localeTexts: {
|
|
147
|
+
en: {
|
|
148
|
+
/** @default "Accept" */
|
|
149
|
+
accept: string,
|
|
150
|
+
|
|
151
|
+
/** @default "Accept all" */
|
|
152
|
+
acceptAll: string,
|
|
153
|
+
|
|
154
|
+
/** @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." */
|
|
155
|
+
bannerDescription: string,
|
|
156
|
+
|
|
157
|
+
/** @default "Cookies" */
|
|
158
|
+
bannerTitle: string,
|
|
159
|
+
|
|
160
|
+
/** @default "Close" */
|
|
161
|
+
close: string,
|
|
162
|
+
|
|
163
|
+
/** @default "Functional cookies" */
|
|
164
|
+
cookiesFunctional: string,
|
|
165
|
+
|
|
166
|
+
/** @default "Necessary cookies" */
|
|
167
|
+
cookiesNecessary: string,
|
|
168
|
+
|
|
169
|
+
/** @default "Optional cookies" */
|
|
170
|
+
cookiesOptional: string,
|
|
171
|
+
|
|
172
|
+
/** @default "Decline" */
|
|
173
|
+
decline: string,
|
|
174
|
+
|
|
175
|
+
/** @default "Decline all" */
|
|
176
|
+
declineAll: string,
|
|
177
|
+
|
|
178
|
+
/** @default "here" */
|
|
179
|
+
here: string,
|
|
180
|
+
|
|
181
|
+
/** @default "To see this, please enable functional cookies" */
|
|
182
|
+
iframeBlocked: string,
|
|
183
|
+
|
|
184
|
+
/** @default "Learn more and customize" */
|
|
185
|
+
manageCookies: string,
|
|
186
|
+
|
|
187
|
+
/** @default "Save" */
|
|
188
|
+
save: string,
|
|
189
|
+
|
|
190
|
+
/** @default "You have unsaved settings" */
|
|
191
|
+
settingsUnsaved: string,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare module 'nuxt/schema' {
|
|
198
|
+
export interface ModuleOptions {
|
|
199
|
+
/** @default "bottom-full" */
|
|
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
|
+
}
|
|
387
|
+
}
|
|
6
388
|
|
|
7
389
|
|
|
8
390
|
export type { default } from './module'
|
package/package.json
CHANGED
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
"@commitlint/cli": "19.3.0",
|
|
15
15
|
"@commitlint/config-conventional": "19.2.2",
|
|
16
16
|
"@dargmuesli/nuxt-cookie-control": "link:",
|
|
17
|
-
"@nuxt/eslint-config": "0.3.
|
|
18
|
-
"@nuxt/module-builder": "0.
|
|
17
|
+
"@nuxt/eslint-config": "0.3.13",
|
|
18
|
+
"@nuxt/module-builder": "0.7.0",
|
|
19
19
|
"@nuxt/schema": "3.11.2",
|
|
20
20
|
"@semantic-release/changelog": "6.0.3",
|
|
21
21
|
"@semantic-release/commit-analyzer": "12.0.0",
|
|
22
22
|
"@semantic-release/git": "10.0.1",
|
|
23
|
-
"@semantic-release/github": "10.0.
|
|
23
|
+
"@semantic-release/github": "10.0.5",
|
|
24
24
|
"@semantic-release/npm": "12.0.1",
|
|
25
25
|
"@semantic-release/release-notes-generator": "13.0.0",
|
|
26
|
-
"eslint": "9.
|
|
26
|
+
"eslint": "9.3.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.
|
|
30
|
+
"lint-staged": "15.2.5",
|
|
31
31
|
"nuxt": "3.11.2",
|
|
32
32
|
"prettier": "3.2.5",
|
|
33
33
|
"semantic-release": "23.1.1",
|
|
34
34
|
"typescript": "5.4.5",
|
|
35
|
-
"vite": "5.2.
|
|
35
|
+
"vite": "5.2.12",
|
|
36
36
|
"vue": "3.4.27",
|
|
37
|
-
"vue-tsc": "2.0.
|
|
37
|
+
"vue-tsc": "2.0.19",
|
|
38
38
|
"webpack": "5.91.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"Jonas Thelemann"
|
|
71
71
|
],
|
|
72
72
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
73
|
-
"packageManager": "pnpm@9.1.
|
|
73
|
+
"packageManager": "pnpm@9.1.3",
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
},
|
|
91
91
|
"type": "module",
|
|
92
92
|
"types": "./dist/types.d.ts",
|
|
93
|
-
"version": "8.3.
|
|
93
|
+
"version": "8.3.4"
|
|
94
94
|
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import ar from "./ar.mjs";
|
|
2
|
-
import az from "./az.mjs";
|
|
3
|
-
import be from "./be.mjs";
|
|
4
|
-
import bg from "./bg.mjs";
|
|
5
|
-
import ca from "./ca.mjs";
|
|
6
|
-
import cs from "./cs.mjs";
|
|
7
|
-
import da from "./da.mjs";
|
|
8
|
-
import de from "./de.mjs";
|
|
9
|
-
import en from "./en.mjs";
|
|
10
|
-
import es from "./es.mjs";
|
|
11
|
-
import fi from "./fi.mjs";
|
|
12
|
-
import fr from "./fr.mjs";
|
|
13
|
-
import hr from "./hr.mjs";
|
|
14
|
-
import hu from "./hu.mjs";
|
|
15
|
-
import id from "./id.mjs";
|
|
16
|
-
import it from "./it.mjs";
|
|
17
|
-
import ja from "./ja.mjs";
|
|
18
|
-
import km from "./km.mjs";
|
|
19
|
-
import ko from "./ko.mjs";
|
|
20
|
-
import lt from "./lt.mjs";
|
|
21
|
-
import nl from "./nl.mjs";
|
|
22
|
-
import no from "./no.mjs";
|
|
23
|
-
import oc from "./oc.mjs";
|
|
24
|
-
import pt from "./pt.mjs";
|
|
25
|
-
import pl from "./pl.mjs";
|
|
26
|
-
import ro from "./ro.mjs";
|
|
27
|
-
import rs from "./rs.mjs";
|
|
28
|
-
import ru from "./ru.mjs";
|
|
29
|
-
import sk from "./sk.mjs";
|
|
30
|
-
import sv from "./sv.mjs";
|
|
31
|
-
import tr from "./tr.mjs";
|
|
32
|
-
import uk from "./uk.mjs";
|
|
33
|
-
import zhCN from "./zh-CN.mjs";
|
|
34
|
-
export const locales = [
|
|
35
|
-
ar,
|
|
36
|
-
az,
|
|
37
|
-
be,
|
|
38
|
-
bg,
|
|
39
|
-
ca,
|
|
40
|
-
cs,
|
|
41
|
-
da,
|
|
42
|
-
de,
|
|
43
|
-
en,
|
|
44
|
-
es,
|
|
45
|
-
fi,
|
|
46
|
-
fr,
|
|
47
|
-
hr,
|
|
48
|
-
hu,
|
|
49
|
-
id,
|
|
50
|
-
it,
|
|
51
|
-
ja,
|
|
52
|
-
km,
|
|
53
|
-
ko,
|
|
54
|
-
lt,
|
|
55
|
-
nl,
|
|
56
|
-
no,
|
|
57
|
-
oc,
|
|
58
|
-
pt,
|
|
59
|
-
pl,
|
|
60
|
-
ro,
|
|
61
|
-
rs,
|
|
62
|
-
ru,
|
|
63
|
-
sk,
|
|
64
|
-
sv,
|
|
65
|
-
tr,
|
|
66
|
-
uk,
|
|
67
|
-
zhCN
|
|
68
|
-
];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|