@dargmuesli/nuxt-cookie-control 1.9.9

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/lib/plugin.js ADDED
@@ -0,0 +1,206 @@
1
+ import Vue from 'vue';
2
+ import CookieControl from <%= serialize(options.component) %>;
3
+ import CookieIframe from <%= serialize(options.iframe) %>;
4
+ export default(context, inject) =>{
5
+ let cookies = {
6
+ modal: false,
7
+ consent: false,
8
+ enabled: [],
9
+ enabledList: [],
10
+ optional: []
11
+ }
12
+
13
+ Object.assign(cookies, <%= serialize(options) %>);
14
+ if(<%= serialize(options.colors) %> !== false){
15
+ cookies.colors = {
16
+ barTextColor: '#fff',
17
+ modalOverlay: '#000',
18
+ barBackground: '#000',
19
+ barButtonColor: '#000',
20
+ modalTextColor: '#000',
21
+ modalBackground: '#fff',
22
+ modalOverlayOpacity: 0.8,
23
+ modalButtonColor: '#fff',
24
+ modalUnsavedColor: '#fff',
25
+ barButtonHoverColor: '#fff',
26
+ barButtonBackground: '#fff',
27
+ modalButtonHoverColor: '#fff',
28
+ controlButtonIconColor: '#000',
29
+ modalButtonBackground: '#000',
30
+ controlButtonBackground: '#fff',
31
+ barButtonHoverBackground: '#333',
32
+ checkboxActiveBackground: '#000',
33
+ controlButtonIconHoverColor: '#fff',
34
+ checkboxInactiveBackground: '#000',
35
+ modalButtonHoverBackground: '#333',
36
+ checkboxDisabledBackground: '#ddd',
37
+ controlButtonHoverBackground: '#000',
38
+ checkboxActiveCircleBackground: '#fff',
39
+ checkboxInactiveCircleBackground: '#fff',
40
+ checkboxDisabledCircleBackground: '#fff',
41
+ };
42
+ Object.assign(cookies.colors, <%= serialize(options.colors) %>);
43
+ }
44
+
45
+ let methods = {
46
+ get: (cookie) => {
47
+ if(process.browser){
48
+ let decodedCookie = decodeURIComponent(document.cookie);
49
+ let ca = decodedCookie.split(';');
50
+ let name = `${cookie}=`;
51
+ for(let i = 0; i <ca.length; i++) {
52
+ let c = ca[i];
53
+ while (c.charAt(0) == ' ') {
54
+ c = c.substring(1);
55
+ }
56
+ if (c.indexOf(name) == 0) {
57
+ return c.substring(name.length, c.length);
58
+ }
59
+ }
60
+ }
61
+ return '';
62
+ },
63
+
64
+ set: ({name, value='', expires='', path='/', domain}) => {
65
+ let domainName = domain ? domain : cookies.domain ? `.${cookies.domain}` : domain;
66
+ if(process.browser){
67
+ document.cookie = `${name}=${value};expires=${expires};path=${path}${domainName !== undefined ? `;domain=${domainName}` : ';'}`;
68
+ } else if(process.server){
69
+ context.res.setHeader('Set-Cookie', [`${name}=${value}; Expires=${expires}; Path=${path}${domainName !== undefined ? `; Domain=${domainName}` : ';'}`]);
70
+ }
71
+ },
72
+
73
+ isEnabled: (identifier) => {
74
+ return cookies.enabledList.includes(identifier) || cookies.enabledList.includes(cookies.slugify(identifier))
75
+ },
76
+
77
+ setBlockedIframes: (content) =>{
78
+ let type = (typeof(content)).toLowerCase();
79
+ let c = type !== 'string' ? JSON.stringify(content) : content;
80
+ c = c.replace(/&lt;/g, '<');
81
+ c = c.replace(/&gt;/g, '>');
82
+ if(context.app.$cookies.enabled.filter(c =>{return c.name === 'functional'}).length === 0){
83
+ c = c.replace(/<iframe/g, `<div class='cookieControl__BlockedIframe '`);
84
+ c = c.replace(/<\/iframe/g, `<p>${context.app.$cookies.text.blockedIframe !== undefined ? context.app.$cookies.text.blockedIframe : ''} <a href='#' onclick='event.preventDefault(); $${cookies.globalName}.$cookies.modal = true'>${context.app.$cookies.text.here !== undefined ? context.app.$cookies.text.here: ''}</a></p></div`);
85
+ }
86
+ return type !== 'string' ? JSON.parse(c) : c
87
+ },
88
+
89
+ slugify: (str) =>{
90
+ str = str.replace(/^\s+|\s+$/g, '');
91
+ str = str.toLowerCase();
92
+ let from = "ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a·/_,:;";
93
+ let to = "AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa------";
94
+ for (let i = 0, l = from.length; i < l ; i++){
95
+ str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i));
96
+ }
97
+
98
+ str = str.replace(/[^a-z0-9 -]/g, '').replace(/\s+/g, '-').replace(/-+/g, '-');
99
+
100
+ return str;
101
+ },
102
+
103
+ remove: (name) =>{
104
+ if(process.browser){
105
+ let domain = window.location.hostname;
106
+ cookies.set({name, expires: 'Thu, 01 Jan 1970 00:00:00 GMT', domain });
107
+ for (let j = domain.split('.'); j.length;) {
108
+ let o = j.join('.');
109
+ cookies.set({name, expires: 'Thu, 01 Jan 1970 00:00:00 GMT', domain: `.${o}` });
110
+ j.shift();
111
+ }
112
+ }
113
+ },
114
+
115
+ setConsent: (isInit=false) =>{
116
+ cookies.consent = cookies.get('cookie_control_consent') === 'true' ? true : false;
117
+ cookies.enabled = [];
118
+ cookies.enabledList = [];
119
+ if(cookies.consent === true){
120
+ let enabledFromCookie = cookies.get('cookie_control_enabled_cookies');
121
+ cookies.enabled.push(...cookies.optional.filter(c => {
122
+ let cookieName = typeof(c.name) === 'string' ? c.name : c.name[Object.keys(c.name)[0]]
123
+ return enabledFromCookie.includes(c.identifier || cookies.slugify(cookieName))
124
+ }));
125
+ cookies.enabledList = cookies.enabled.length > 0 ? cookies.enabled.map(c => {
126
+ let cookieName = typeof(c.name) === 'string' ? c.name : c.name[Object.keys(c.name)[0]]
127
+ return c.identifier || cookies.slugify(cookieName)
128
+ }) : [];
129
+ }
130
+
131
+ if(cookies.necessary) cookies.enabled.push(...cookies.necessary.filter(c => {return c.src || c.accepted}))
132
+
133
+ if(process.client && !isInit){
134
+ setHead();
135
+ clearCookies();
136
+ callAcceptedFunctions();
137
+ }
138
+ }
139
+ }
140
+
141
+ Object.assign(cookies, methods);
142
+
143
+ const clearCookies = () =>{
144
+ let disabled = cookies.optional.filter(c => {
145
+ let cookieName = typeof(c.name) === 'string' ? c.name : c.name[Object.keys(c.name)[0]]
146
+ return !cookies.enabledList.includes(c.identifier || cookies.slugify(cookieName))
147
+ });
148
+ if(disabled.length > 0){
149
+ disabled.forEach(c => {
150
+ if(c.declined) c.declined();
151
+ if(c.cookies && c.cookies.length > 0){
152
+ c.cookies.forEach(i => {
153
+ cookies.remove(i);
154
+ })
155
+ }
156
+ // if(c.src){
157
+ // for(let s of [...document.head.querySelectorAll(`script[src="${c.src}"]`)]){
158
+ // s.parentNode.removeChild(s)
159
+ // }
160
+ // }
161
+ })
162
+ }
163
+ }
164
+
165
+ const setHead = () =>{
166
+ if(cookies.enabled.length > 0){
167
+ let head = document.getElementsByTagName('head')[0];
168
+ cookies.enabled.forEach(c =>{
169
+ if(c.src){
170
+ let script = document.createElement('script');
171
+ script.src = c.src;
172
+ head.appendChild(script);
173
+ script.addEventListener('load', () =>{
174
+ if(c.accepted) c.accepted();
175
+ })
176
+ }
177
+ })
178
+ }
179
+ }
180
+
181
+ const callAcceptedFunctions = () =>{
182
+ if(cookies.enabled.length > 0){
183
+ cookies.enabled.forEach(c =>{
184
+ if(c.accepted) c.accepted();
185
+ })
186
+ }
187
+ }
188
+
189
+ const capitalize = (s) =>{
190
+ if(typeof s !== 'string') return ''
191
+ return s.charAt(0).toUpperCase() + s.slice(1)
192
+ }
193
+
194
+ cookies.setConsent(true)
195
+
196
+ if(process.client){
197
+ let globalName = capitalize(cookies.globalName) || 'Nuxt';
198
+ window[`on${globalName}Ready`](() => {
199
+ cookies.setConsent()
200
+ })
201
+ }
202
+
203
+ inject('cookies', cookies);
204
+ if(cookies.blockIframe) Vue.component('CookieIframe', CookieIframe);
205
+ Vue.component('CookieControl', CookieControl);
206
+ }
@@ -0,0 +1 @@
1
+ console.log('\nThank you for using nuxt-cookie-control!\nPlease consider supporting: https://ko-fi.com/darioferderber\n')
@@ -0,0 +1,434 @@
1
+ //Transitions
2
+ .cookieControl__Modal-enter-active,
3
+ .cookieControl__Modal-leave-active {
4
+ transition: opacity .25s;
5
+ }
6
+
7
+ .cookieControl__Modal-enter,
8
+ .cookieControl__Modal-leave-to {
9
+ opacity: 0;
10
+ }
11
+
12
+ .cookieControl__Bar--center{
13
+ top: 50%;
14
+ left: 50%;
15
+ transform: translate(-50%, -50%);
16
+ }
17
+
18
+ .cookieControl__Bar--center-enter-active,
19
+ .cookieControl__Bar--top-left-enter-active,
20
+ .cookieControl__Bar--top-full-enter-active,
21
+ .cookieControl__Bar--top-right-enter-active,
22
+ .cookieControl__Bar--bottom-left-enter-active,
23
+ .cookieControl__Bar--bottom-full-enter-active,
24
+ .cookieControl__Bar--bottom-right-enter-active,
25
+ .cookieControl__Bar--center-leave-active,
26
+ .cookieControl__Bar--top-left-leave-active,
27
+ .cookieControl__Bar--top-full-leave-active,
28
+ .cookieControl__Bar--top-right-leave-active,
29
+ .cookieControl__Bar--bottom-left-leave-active,
30
+ .cookieControl__Bar--bottom-full-leave-active,
31
+ .cookieControl__Bar--bottom-right-leave-active{
32
+ transition: transform .25s;
33
+ }
34
+
35
+ .cookieControl__Bar--top-left-enter,
36
+ .cookieControl__Bar--top-full-enter,
37
+ .cookieControl__Bar--top-right-enter,
38
+ .cookieControl__Bar--top-left-leave-to,
39
+ .cookieControl__Bar--top-full-leave-to,
40
+ .cookieControl__Bar--top-right-leave-to{
41
+ transform: translateY(-100%);
42
+ }
43
+
44
+ .cookieControl__Bar--bottom-left-enter,
45
+ .cookieControl__Bar--bottom-full-enter,
46
+ .cookieControl__Bar--bottom-right-enter,
47
+ .cookieControl__Bar--bottom-left-leave-to,
48
+ .cookieControl__Bar--bottom-right-leave-to,
49
+ .cookieControl__Bar--bottom-full-leave-to{
50
+ transform: translateY(100%);
51
+ }
52
+
53
+ .cookieControl__Bar--center-enter,
54
+ .cookieControl__Bar--center-leave-to{
55
+ transform: translate(-50%, -50%) scale(0.95);
56
+ }
57
+
58
+ .cookieControl{
59
+ position: relative;
60
+ z-index: 100000;
61
+ button{
62
+ border: 0;
63
+ outline: 0;
64
+ font-size: 16px;
65
+ cursor: pointer;
66
+ padding: 12px 20px;
67
+ backface-visibility: hidden;
68
+ transition: background-color 200ms, color 200ms;
69
+ }
70
+ }
71
+
72
+ .cookieControl__Bar{
73
+ position: fixed;
74
+ background-color: var(--cookie-control-barBackground);
75
+ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
76
+ h3, p{
77
+ color: var(--cookie-control-barTextColor);
78
+ max-width: 900px;
79
+ }
80
+
81
+ h3{
82
+ margin: 0;
83
+ font-size: 20px;
84
+ }
85
+
86
+ p{
87
+ font-size: 16px;
88
+ margin: 5px 0 0;
89
+ }
90
+
91
+ button{
92
+ color: var(--cookie-control-barButtonColor);
93
+ background-color: var(--cookie-control-barButtonBackground);
94
+ &:hover{
95
+ color: var(--cookie-control-barButtonHoverColor);
96
+ background-color: var(--cookie-control-barButtonHoverBackground)
97
+ }
98
+ & + button{
99
+ margin-left: 10px;
100
+ }
101
+ }
102
+ }
103
+
104
+ .cookieControl__BarContainer{
105
+ display: flex;
106
+ padding: 20px;
107
+ align-items: flex-end;
108
+ justify-content: space-between;
109
+ }
110
+
111
+ .cookieControl__Bar--top-full,
112
+ .cookieControl__Bar--bottom-full{
113
+ left: 0;
114
+ right: 0;
115
+ }
116
+
117
+ .cookieControl__Bar--top-full{
118
+ top: 0;
119
+ }
120
+
121
+ .cookieControl__Bar--bottom-full{
122
+ bottom: 0;
123
+ }
124
+
125
+ .cookieControl__Bar--center,
126
+ .cookieControl__Bar--top-left,
127
+ .cookieControl__Bar--top-right,
128
+ .cookieControl__Bar--bottom-left,
129
+ .cookieControl__Bar--bottom-right{
130
+ p{
131
+ max-width: 400px;
132
+ }
133
+
134
+ .cookieControl__BarContainer{
135
+ flex-direction: column;
136
+ }
137
+
138
+ .cookieControl__BarButtons{
139
+ margin-top: 20px;
140
+ }
141
+ }
142
+
143
+ .cookieControl__Bar--top-left,
144
+ .cookieControl__Bar--top-right{
145
+ top: 20px;
146
+ }
147
+
148
+ .cookieControl__Bar--bottom-left,
149
+ .cookieControl__Bar--bottom-right{
150
+ bottom: 20px;
151
+ }
152
+
153
+ .cookieControl__Bar--top-left,
154
+ .cookieControl__Bar--bottom-left{
155
+ left: 20px;
156
+ }
157
+
158
+ .cookieControl__Bar--top-right,
159
+ .cookieControl__Bar--bottom-right{
160
+ right: 20px;
161
+ }
162
+
163
+ .cookieControl__BarButtons{
164
+ display: flex;
165
+ }
166
+
167
+ .cookieControl__Modal{
168
+ position: fixed;
169
+ top: 0;
170
+ left: 0;
171
+ right: 0;
172
+ bottom: 0;
173
+ z-index: 1;
174
+ font-size: 0;
175
+ text-align: center;
176
+ &:before{
177
+ content: "";
178
+ min-height: 100vh;
179
+ display: inline-block;
180
+ vertical-align: middle;
181
+ }
182
+
183
+ &:after{
184
+ position: absolute;
185
+ content: "";
186
+ top: 0;
187
+ left: 0;
188
+ right: 0;
189
+ bottom: 0;
190
+ z-index: -1;
191
+ opacity: var(--cookie-control-modalOverlayOpacity);
192
+ background-color: var(--cookie-control-modalOverlay);
193
+ }
194
+
195
+ & > div{
196
+ font-size: initial;
197
+ padding-top: 80px;
198
+ }
199
+
200
+ button{
201
+ color: var(--cookie-control-modalButtonColor);
202
+ background-color: var(--cookie-control-modalButtonBackground);
203
+ &:hover{
204
+ color: var(--cookie-control-modalButtonHoverColor);
205
+ background-color: var(--cookie-control-modalButtonHoverBackground)
206
+ }
207
+ }
208
+ }
209
+
210
+ .cookieControl__ModalContent{
211
+ position: relative;
212
+ width: 100%;
213
+ padding: 40px;
214
+ max-width: 550px;
215
+ max-height: 80vh;
216
+ text-align: left;
217
+ overflow-y: scroll;
218
+ display: inline-block;
219
+ vertical-align: middle;
220
+ color: var(--cookie-control-modalTextColor);
221
+ background-color: var(--cookie-control-modalBackground);
222
+ *{
223
+ &:not(button){
224
+ color: var(--cookie-control-modalTextColor);
225
+ }
226
+ }
227
+
228
+ h3{
229
+ font-size: 24px;
230
+ margin: 50px 0 25px;
231
+ &:first-of-type{
232
+ margin-top: 0;
233
+ }
234
+ }
235
+
236
+ ul{
237
+ padding: 0;
238
+ font-size: 16px;
239
+ list-style-type: none;
240
+ ul{
241
+ padding: 5px 56px 0;
242
+ li{
243
+ & + li{
244
+ margin-top: 5px;
245
+ }
246
+ }
247
+ }
248
+ }
249
+
250
+ li{
251
+ align-items: center;
252
+ & + li{
253
+ margin-top: 20px;
254
+ }
255
+ }
256
+
257
+ input{
258
+ display: none;
259
+ &:checked{
260
+ & + label{
261
+ background-color: var(--cookie-control-checkboxActiveBackground);
262
+ &:before{
263
+ background-color: var(--cookie-control-checkboxActiveCircleBackground);
264
+ transform: translate3d(100%, -50%, 0);
265
+ }
266
+ }
267
+
268
+ &:disabled{
269
+ & + label{
270
+ background-color: var(--cookie-control-checkboxDisabledBackground);
271
+ &:before{
272
+ background-color: var(--cookie-control-checkboxDisabledCircleBackground)
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
278
+
279
+ label{
280
+ position: relative;
281
+ min-width: 36px;
282
+ min-height: 20px;
283
+ font-size: 0;
284
+ display: block;
285
+ margin-right: 20px;
286
+ border-radius: 20px;
287
+ backface-visibility: hidden;
288
+ transition: background-color 200ms;
289
+ background-color: var(--cookie-control-checkboxInactiveBackground);
290
+ &:before{
291
+ position: absolute;
292
+ content: "";
293
+ top: 50%;
294
+ left: 3px;
295
+ width: 15px;
296
+ height: 15px;
297
+ border-radius: 50%;
298
+ transition: transform 200ms;
299
+ transform: translate3d(0, -50%, 0);
300
+ background-color: var(--cookie-control-checkboxInactiveCircleBackground);
301
+ }
302
+ }
303
+ }
304
+
305
+ .cookieControl__ModalInputWrapper{
306
+ display: flex;
307
+ align-items: flex-start;
308
+ }
309
+
310
+ .cookieControl__ModalCookieName{
311
+ font-weight: bold;
312
+ text-transform: uppercase;
313
+ span{
314
+ font-weight: normal;
315
+ text-transform: none;
316
+ }
317
+ }
318
+
319
+ .cookieControl__ModalClose{
320
+ position: absolute;
321
+ top: 20px;
322
+ right: 20px;
323
+ }
324
+
325
+ .cookieControl__ModalButtons{
326
+ display: flex;
327
+ margin-top: 80px;
328
+ align-items: flex-start;
329
+ button{
330
+ & + button{
331
+ margin-left: 20px;
332
+ }
333
+ }
334
+ }
335
+
336
+ .cookieControl__ModalUnsaved{
337
+ position: absolute;
338
+ left: 50%;
339
+ bottom: 40px;
340
+ margin: 0;
341
+ color: var(--cookie-control-modalUnsavedColor);
342
+ font-size: 14px;
343
+ transform: translateX(-50%);
344
+ }
345
+
346
+ .cookieControl__BlockedIframe{
347
+ padding: 20px;
348
+ border: 2px solid #ddd;
349
+ p, a{
350
+ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
351
+ }
352
+ }
353
+
354
+ @media screen and (max-width: 768px){
355
+ .cookieControl__Bar{
356
+ flex-direction: column;
357
+ left: 0;
358
+ right: 0;
359
+ p, h3{
360
+ max-width: 100%;
361
+ }
362
+ }
363
+
364
+ .cookieControl__Bar--top-full,
365
+ .cookieControl__Bar--top-left,
366
+ .cookieControl__Bar--top-right{
367
+ top: 0;
368
+ }
369
+
370
+ .cookieControl__Bar--bottom-full,
371
+ .cookieControl__Bar--bottom-left,
372
+ .cookieControl__Bar--bottom-right{
373
+ bottom: 0;
374
+ }
375
+
376
+ .cookieControl__ModalContent{
377
+ position: absolute;
378
+ top: 0;
379
+ left: 0;
380
+ right: 0;
381
+ bottom: 0;
382
+ max-width: none;
383
+ max-height: 100%;
384
+ padding: 80px 20px 20px;
385
+ }
386
+
387
+ .cookieControl__BarButtons{
388
+ width: 100%;
389
+ margin-top: 20px;
390
+ justify-content: flex-end;
391
+ }
392
+
393
+ .cookieControl__BarContainer{
394
+ flex-direction: column;
395
+ }
396
+ }
397
+
398
+ .cookieControl__ControlButton{
399
+ position: fixed;
400
+ right: 20px;
401
+ bottom: 20px;
402
+ border: 0;
403
+ outline: 0;
404
+ width: 40px;
405
+ height: 40px;
406
+ cursor: pointer;
407
+ min-width: 40px;
408
+ min-height: 40px;
409
+ border-radius: 50%;
410
+ backface-visibility: hidden;
411
+ transition: background-color 200ms;
412
+ box-shadow: 0 0 10px rgba(0,0,0,0.3);
413
+ background: var(--cookie-control-controlButtonBackground);
414
+ svg{
415
+ position: absolute;
416
+ top: 50%;
417
+ left: 50%;
418
+ min-width: 24px;
419
+ min-height: 24px;
420
+ max-width: 24px;
421
+ max-height: 24px;
422
+ transition: color 200ms;
423
+ backface-visibility: hidden;
424
+ transform: translate(-50%, -50%);
425
+ color: var(--cookie-control-controlButtonIconColor);
426
+ }
427
+
428
+ &:hover{
429
+ background-color: var(--cookie-control-controlButtonHoverBackground);
430
+ svg{
431
+ color: var(--cookie-control-controlButtonIconHoverColor);
432
+ }
433
+ }
434
+ }
package/locale/de.js ADDED
@@ -0,0 +1,15 @@
1
+ export default {
2
+ barTitle: 'Cookies',
3
+ barDescription: 'Wir verwenden unsere eigenen Cookies und Cookies von Drittanbietern, damit wir Ihnen diese Website zeigen können und verstehen wie Sie diese verwenden, um die von uns angebotenen Dienstleistungen zu verbessern. Wenn Sie weiter surfen, gehen wir davon aus, dass Sie die Cookies akzeptiert haben.',
4
+ acceptAll: 'Alle akzeptieren',
5
+ declineAll: 'Alle ablehnen',
6
+ manageCookies: 'Cookies verwalten',
7
+ unsaved: 'Sie haben nicht gespeicherte Einstellungen',
8
+ close: 'Schließen',
9
+ save: 'Speichern',
10
+ necessary: 'Notwendige Cookies',
11
+ optional: 'Optionale Cookies',
12
+ functional: 'Funktionale Cookies',
13
+ blockedIframe: 'Um den Inhalt zu sehen, aktivieren Sie bitte funktionale Cookies',
14
+ here: 'hier'
15
+ }
package/locale/en.js ADDED
@@ -0,0 +1,15 @@
1
+ export default {
2
+ barTitle: 'Cookies',
3
+ barDescription: 'We use our own cookies and third-party cookies so that we can show you this website and better understand how you use it, with a view to improving the services we offer. If you continue browsing, we consider that you have accepted the cookies.',
4
+ acceptAll: 'Accept all',
5
+ declineAll: 'Delete all',
6
+ manageCookies: 'Manage cookies',
7
+ unsaved: 'You have unsaved settings',
8
+ close: 'Close',
9
+ save: 'Save',
10
+ necessary: 'Necessary cookies',
11
+ optional: 'Optional cookies',
12
+ functional: 'Functional cookies',
13
+ blockedIframe: 'To see this, please enable functional cookies',
14
+ here: 'here'
15
+ }
package/locale/es.js ADDED
@@ -0,0 +1,15 @@
1
+ export default {
2
+ barTitle: 'Cookies',
3
+ barDescription: 'Utilizamos cookies propias y de terceros para poder mostrarle una página web y comprender cómo la utiliza, con el fin de mejorar los servicios que ofrecemos. Si continúa navegando, consideramos que acepta su uso.',
4
+ acceptAll: 'Aceptar todo',
5
+ declineAll: 'Borrar todo',
6
+ manageCookies: 'Administrar cookies',
7
+ unsaved: 'Tienes configuraciones no guardadas',
8
+ close: 'Cerrar',
9
+ save: 'Guardar',
10
+ necessary: 'Cookies obligatorias',
11
+ optional: 'Cookies opcionales',
12
+ functional: 'Cookies funcionales',
13
+ blockedIframe: 'Para ver esto, por favor habilita las cookies funcionales.',
14
+ here: 'aquí'
15
+ }
package/locale/fr.js ADDED
@@ -0,0 +1,15 @@
1
+ export default {
2
+ barTitle: "Cookies",
3
+ barDescription: "Nous utilisons des cookies d’origine et des cookies tiers. Ces cookies sont destinés à vous offrir une navigation optimisée sur ce site web et de nous donner un aperçu de son utilisation, en vue de l’amélioration des services que nous offrons. En poursuivant votre navigation, nous considérons que vous acceptez l’usage des cookies.",
4
+ acceptAll: "Tout accepter",
5
+ declineAll: "Tout refuser",
6
+ manageCookies: "Gérer les cookies",
7
+ unsaved: "Vous avez des paramètres non sauvegardés",
8
+ close: "Fermer",
9
+ save: "Sauvegarder",
10
+ necessary: "Les cookies obligatoires",
11
+ optional: "Les cookies optionnels",
12
+ functional: "Cookies fonctionnels",
13
+ blockedIframe: "Pour voir cela, veuillez activer les cookies fonctionnels",
14
+ here: "ici",
15
+ };