@dargmuesli/nuxt-cookie-control 1.9.9 → 2.0.0-beta.1

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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +206 -285
  3. package/dist/module.cjs +5 -0
  4. package/dist/module.d.ts +2 -0
  5. package/dist/module.json +8 -0
  6. package/dist/module.mjs +6 -0
  7. package/dist/runtime/components/CookieControl.vue +274 -0
  8. package/dist/runtime/components/CookieIframe.vue +39 -0
  9. package/dist/runtime/composables.ts +1 -0
  10. package/dist/runtime/constants.ts +3 -0
  11. package/dist/runtime/locale/ar.ts +19 -0
  12. package/dist/runtime/locale/de.ts +20 -0
  13. package/dist/runtime/locale/en.ts +19 -0
  14. package/{locale/es.js → dist/runtime/locale/es.ts} +19 -15
  15. package/dist/runtime/locale/fr.ts +19 -0
  16. package/dist/runtime/locale/hr.ts +20 -0
  17. package/dist/runtime/locale/hu.ts +20 -0
  18. package/dist/runtime/locale/index.ts +16 -0
  19. package/{locale/it.js → dist/runtime/locale/it.ts} +19 -15
  20. package/dist/runtime/locale/ja.ts +19 -0
  21. package/dist/runtime/locale/nl.ts +20 -0
  22. package/dist/runtime/locale/no.ts +20 -0
  23. package/dist/runtime/locale/pt.ts +20 -0
  24. package/dist/runtime/locale/ru.ts +19 -0
  25. package/dist/runtime/locale/uk.ts +19 -0
  26. package/dist/runtime/methods.ts +190 -0
  27. package/dist/runtime/plugin.ts +35 -0
  28. package/dist/runtime/styles.css +347 -0
  29. package/dist/runtime/types.ts +132 -0
  30. package/dist/types.d.ts +13 -0
  31. package/package.json +63 -21
  32. package/components/CookieControl.vue +0 -182
  33. package/components/CookieIframe.vue +0 -32
  34. package/lib/module.js +0 -74
  35. package/lib/plugin.js +0 -206
  36. package/lib/postinstall.js +0 -1
  37. package/lib/styles.scss +0 -434
  38. package/locale/de.js +0 -15
  39. package/locale/en.js +0 -15
  40. package/locale/fr.js +0 -15
  41. package/locale/hr.js +0 -15
  42. package/locale/hu.js +0 -15
  43. package/locale/ja.js +0 -15
  44. package/locale/no.js +0 -16
  45. package/locale/pt.js +0 -15
  46. package/locale/ru.js +0 -15
  47. package/locale/uk.js +0 -15
@@ -0,0 +1,274 @@
1
+ <template>
2
+ <client-only>
3
+ <section class="cookieControl">
4
+ <transition :name="`cookieControl__Bar--${moduleOptions.barPosition}`">
5
+ <div
6
+ v-if="colorsSet && !isConsentGiven"
7
+ :class="`cookieControl__Bar cookieControl__Bar--${moduleOptions.barPosition}`"
8
+ >
9
+ <div class="cookieControl__BarContainer">
10
+ <div>
11
+ <slot name="bar">
12
+ <h3 v-text="localeStrings?.barTitle" />
13
+ <p v-text="localeStrings?.barDescription" />
14
+ </slot>
15
+ </div>
16
+ <div class="cookieControl__BarButtons">
17
+ <button
18
+ v-if="moduleOptions.isAcceptNecessaryButtonEnabled"
19
+ @click="acceptNecessary"
20
+ v-text="localeStrings?.acceptNecessary"
21
+ />
22
+ <button
23
+ @click="isModalActive = true"
24
+ v-text="localeStrings?.manageCookies"
25
+ />
26
+ <button
27
+ @click="setConsent({ reload: false })"
28
+ v-text="localeStrings?.acceptAll"
29
+ />
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </transition>
34
+ <button
35
+ v-if="
36
+ moduleOptions.isControlButtonEnabled && colorsSet && isConsentGiven
37
+ "
38
+ class="cookieControl__ControlButton"
39
+ aria-label="Cookie control"
40
+ @click="isModalActive = true"
41
+ >
42
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
43
+ <path
44
+ fill="currentColor"
45
+ d="M510.52 255.82c-69.97-.85-126.47-57.69-126.47-127.86-70.17 0-127-56.49-127.86-126.45-27.26-4.14-55.13.3-79.72 12.82l-69.13 35.22a132.221 132.221 0 00-57.79 57.81l-35.1 68.88a132.645 132.645 0 00-12.82 80.95l12.08 76.27a132.521 132.521 0 0037.16 72.96l54.77 54.76a132.036 132.036 0 0072.71 37.06l76.71 12.15c27.51 4.36 55.7-.11 80.53-12.76l69.13-35.21a132.273 132.273 0 0057.79-57.81l35.1-68.88c12.56-24.64 17.01-52.58 12.91-79.91zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"
46
+ />
47
+ </svg>
48
+ </button>
49
+ <transition name="cookieControl__Modal">
50
+ <div v-if="isModalActive" class="cookieControl__Modal">
51
+ <p
52
+ v-if="!saved"
53
+ class="cookieControl__ModalUnsaved"
54
+ v-text="localeStrings?.unsaved"
55
+ />
56
+ <div class="cookieControl__ModalContent">
57
+ <div>
58
+ <slot name="modal" />
59
+ <button
60
+ class="cookieControl__ModalClose"
61
+ @click="isModalActive = false"
62
+ v-text="localeStrings?.close"
63
+ />
64
+ <div v-for="cookieType in CookieType" :key="cookieType">
65
+ <h3 v-text="localeStrings && localeStrings[cookieType]" />
66
+ <ul v-if="moduleOptions.cookies">
67
+ <li
68
+ v-for="cookie in moduleOptions.cookies[cookieType]"
69
+ :key="cookie.id"
70
+ >
71
+ <div class="cookieControl__ModalInputWrapper">
72
+ <input
73
+ v-if="
74
+ cookieType === CookieType.NECESSARY &&
75
+ cookie.name !== 'functional'
76
+ "
77
+ :id="resolveTranslatable(cookie.name)"
78
+ type="checkbox"
79
+ disabled
80
+ checked
81
+ />
82
+ <input
83
+ v-else
84
+ :id="resolveTranslatable(cookie.name)"
85
+ type="checkbox"
86
+ :checked="
87
+ cookiesEnabledIds.includes(getCookieId(cookie)) ||
88
+ (Cookies.get('cookie_control_consent')?.length ===
89
+ 0 &&
90
+ typeof moduleOptions.isIframeBlocked === 'object' &&
91
+ moduleOptions.isIframeBlocked.initialState)
92
+ "
93
+ @change="toogleCookie(cookie)"
94
+ />
95
+ <label :for="resolveTranslatable(cookie.name)">
96
+ {{ getName(cookie.name) }}
97
+ </label>
98
+ <span class="cookieControl__ModalCookieName">
99
+ {{ getName(cookie.name) }}
100
+ <span v-if="cookie.description">
101
+ {{ getDescription(cookie.description) }}
102
+ </span>
103
+ </span>
104
+ </div>
105
+ <template v-if="cookie.targetCookieIds">
106
+ <slot name="cookie" v-bind="{ config: cookie }">
107
+ <ul>
108
+ <li
109
+ v-for="targetCookieId in cookie.targetCookieIds"
110
+ :key="targetCookieId"
111
+ >
112
+ {{ targetCookieId }}
113
+ </li>
114
+ </ul>
115
+ </slot>
116
+ </template>
117
+ </li>
118
+ </ul>
119
+ </div>
120
+ <div class="cookieControl__ModalButtons">
121
+ <button
122
+ @click="setConsent({ type: 'partial' })"
123
+ v-text="localeStrings?.save"
124
+ />
125
+ <button
126
+ @click="() => setConsent({})"
127
+ v-text="localeStrings?.acceptAll"
128
+ />
129
+ <button
130
+ @click="setConsent({ declineAll: true, consent: false })"
131
+ v-text="localeStrings?.declineAll"
132
+ />
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </transition>
138
+ </section>
139
+ </client-only>
140
+ </template>
141
+
142
+ <script setup lang="ts">
143
+ import Cookies from 'js-cookie'
144
+
145
+ import { Cookie, CookieType, Locale, Translatable } from '../types'
146
+ import {
147
+ getCookieId,
148
+ useAcceptNecessary,
149
+ useSetConsent,
150
+ useResolveTranslatable,
151
+ } from '../methods'
152
+
153
+ export interface Props {
154
+ locale?: Locale
155
+ }
156
+ const props = withDefaults(defineProps<Props>(), {
157
+ locale: Locale.EN,
158
+ })
159
+
160
+ const { cookiesEnabledIds, isConsentGiven, isModalActive, moduleOptions } =
161
+ useCookieControl()
162
+ const setConsentFun = useSetConsent()
163
+ const acceptNecessary = useAcceptNecessary()
164
+ const resolveTranslatable = useResolveTranslatable(props.locale)
165
+
166
+ // data
167
+ const saved = ref(true)
168
+ const colorsSet = ref(false)
169
+
170
+ // computations
171
+ const localeStrings = computed(() => moduleOptions.localeTexts[props.locale])
172
+
173
+ // methods
174
+ const toogleCookie = (cookie: Cookie) => {
175
+ const cookieId = getCookieId(cookie)
176
+
177
+ if (saved.value) saved.value = false
178
+
179
+ if (!cookiesEnabledIds.value.includes(cookieId)) {
180
+ cookiesEnabledIds.value.push(cookieId)
181
+ } else {
182
+ cookiesEnabledIds.value.splice(cookiesEnabledIds.value.indexOf(cookieId), 1)
183
+ }
184
+ }
185
+ const setConsent = ({
186
+ type = undefined,
187
+ consent = true,
188
+ reload = true,
189
+ declineAll = false,
190
+ }: {
191
+ type?: 'partial'
192
+ consent?: boolean
193
+ reload?: boolean
194
+ declineAll?: boolean
195
+ }) => {
196
+ const enabledCookies = declineAll
197
+ ? []
198
+ : type === 'partial' && consent
199
+ ? cookiesEnabledIds.value
200
+ : moduleOptions.cookies.optional.map((cookie) => getCookieId(cookie))
201
+
202
+ const expirationDate = new Date()
203
+ expirationDate.setFullYear(expirationDate.getFullYear() + 1)
204
+
205
+ Cookies.set('cookie_control_consent', consent.toString(), {
206
+ expires: expirationDate,
207
+ })
208
+ Cookies.set(
209
+ 'cookie_control_enabled_cookies',
210
+ consent ? enabledCookies.join(',') : '',
211
+ {
212
+ expires: expirationDate,
213
+ }
214
+ )
215
+
216
+ if (reload) {
217
+ window.location.reload()
218
+ } else {
219
+ setConsentFun()
220
+ isModalActive.value = false
221
+ }
222
+ }
223
+ const getDescription = (description: Translatable) =>
224
+ `${
225
+ moduleOptions.isDashInDescriptionEnabled === false ? '' : '-'
226
+ } ${resolveTranslatable(description)}`
227
+ const getName = (name: Translatable) => {
228
+ return name === 'functional'
229
+ ? localeStrings.value?.functional
230
+ : typeof name === 'string'
231
+ ? name
232
+ : name[props.locale]
233
+ }
234
+
235
+ // lifecycle
236
+ onBeforeMount(async () => {
237
+ if (moduleOptions.colors) {
238
+ const variables: Record<string, any> = {}
239
+
240
+ for (const key in moduleOptions.colors) {
241
+ variables[`cookie-control-${key}`] = `${moduleOptions.colors[key]}`
242
+ }
243
+
244
+ if (moduleOptions.isCssPolyfillEnabled) {
245
+ const module = await import('css-vars-ponyfill')
246
+ const cssVars = module.default
247
+ cssVars({ variables })
248
+ } else {
249
+ for (const cssVar in variables) {
250
+ document.documentElement.style.setProperty(
251
+ `--${cssVar}`,
252
+ variables[cssVar]
253
+ )
254
+ }
255
+ }
256
+ }
257
+
258
+ const cookieControlConsent = Cookies.get('cookie_control_consent')
259
+
260
+ if (!cookieControlConsent || !cookieControlConsent.length) {
261
+ for (const cookieOptional of moduleOptions.cookies.optional) {
262
+ if (
263
+ typeof moduleOptions.isIframeBlocked === 'boolean'
264
+ ? moduleOptions.isIframeBlocked === true
265
+ : moduleOptions.isIframeBlocked?.initialState === true
266
+ ) {
267
+ cookiesEnabledIds.value.push(getCookieId(cookieOptional))
268
+ }
269
+ }
270
+ }
271
+
272
+ colorsSet.value = true
273
+ })
274
+ </script>
@@ -0,0 +1,39 @@
1
+ <template>
2
+ <client-only>
3
+ <iframe v-if="isCookieFunctionalEnabled" />
4
+ <div v-else class="cookieControl__BlockedIframe">
5
+ <p>
6
+ {{ localeStrings?.blockedIframe }}
7
+ <a
8
+ href="#"
9
+ @click.prevent="cookieControl.isModalActive.value = true"
10
+ v-text="localeStrings?.here"
11
+ />
12
+ </p>
13
+ </div>
14
+ </client-only>
15
+ </template>
16
+
17
+ <script setup lang="ts">
18
+ import { LOCALE_DEFAULT } from '../constants'
19
+ import { Locale } from '../types'
20
+
21
+ export interface Props {
22
+ locale?: Locale
23
+ }
24
+ const props = withDefaults(defineProps<Props>(), {
25
+ locale: LOCALE_DEFAULT,
26
+ })
27
+
28
+ const cookieControl = useCookieControl()
29
+
30
+ // computations
31
+ const isCookieFunctionalEnabled = computed(
32
+ () =>
33
+ cookieControl.cookiesEnabled.value.filter((c) => c.name === 'functional')
34
+ .length > 0
35
+ )
36
+ const localeStrings = computed(
37
+ () => cookieControl.moduleOptions.localeTexts[props.locale]
38
+ )
39
+ </script>
@@ -0,0 +1 @@
1
+ export const useCookieControl = () => useNuxtApp().$cookies
@@ -0,0 +1,3 @@
1
+ import { Locale } from './types'
2
+
3
+ export const LOCALE_DEFAULT = Locale.EN
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'قبول الكل',
5
+ acceptNecessary: 'تقبل الضرورة',
6
+ barDescription:
7
+ 'نحن نستخدم ملفات تعريف الارتباط الخاصة بنا وملفات تعريف الارتباط الخاصة بالجهات الخارجية حتى نتمكن من عرض هذا الموقع وفهم كيفية استخدامه بشكل أفضل ، بهدف تحسين الخدمات التي نقدمها. إذا واصلت التصفح ، فإننا نعتبر أنك قبلت ملفات تعريف الارتباط.',
8
+ barTitle: 'ملفات تعريف الارتباط',
9
+ blockedIframe: 'لرؤية هذا ، يرجى تمكين ملفات تعريف الارتباط الوظيفية',
10
+ close: 'إغلاق',
11
+ declineAll: 'حذف الكل',
12
+ functional: 'ملفات تعريف الارتباط الوظيفية',
13
+ here: 'هنا',
14
+ manageCookies: 'إدارة ملفات تعريف الارتباط',
15
+ necessary: 'ملفات تعريف الارتباط الضرورية',
16
+ optional: 'ملفات تعريف الارتباط الاختيارية',
17
+ save: 'حفظ',
18
+ unsaved: 'لديك إعدادات غير محفوظة',
19
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Alle akzeptieren',
5
+ acceptNecessary: 'Akzeptiere das Notwendige',
6
+ barDescription:
7
+ '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.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe:
10
+ 'Um den Inhalt zu sehen, aktivieren Sie bitte funktionale Cookies',
11
+ close: 'Schließen',
12
+ declineAll: 'Alle ablehnen',
13
+ functional: 'Funktionale Cookies',
14
+ here: 'hier',
15
+ manageCookies: 'Cookies verwalten',
16
+ necessary: 'Notwendige Cookies',
17
+ optional: 'Optionale Cookies',
18
+ save: 'Speichern',
19
+ unsaved: 'Sie haben nicht gespeicherte Einstellungen',
20
+ } as LocaleStrings
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Accept all',
5
+ acceptNecessary: 'Accept necessary',
6
+ barDescription:
7
+ '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.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe: 'To see this, please enable functional cookies',
10
+ close: 'Close',
11
+ declineAll: 'Delete all',
12
+ functional: 'Functional cookies',
13
+ here: 'here',
14
+ manageCookies: 'Manage cookies',
15
+ necessary: 'Necessary cookies',
16
+ optional: 'Optional cookies',
17
+ save: 'Save',
18
+ unsaved: 'You have unsaved settings',
19
+ } as LocaleStrings
@@ -1,15 +1,19 @@
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
- }
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Aceptar todo',
5
+ acceptNecessary: 'Acepto lo necesario',
6
+ barDescription:
7
+ '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.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe: 'Para ver esto, por favor habilita las cookies funcionales.',
10
+ close: 'Cerrar',
11
+ declineAll: 'Borrar todo',
12
+ functional: 'Cookies funcionales',
13
+ here: 'aquí',
14
+ manageCookies: 'Administrar cookies',
15
+ necessary: 'Cookies obligatorias',
16
+ optional: 'Cookies opcionales',
17
+ save: 'Guardar',
18
+ unsaved: 'Tienes configuraciones no guardadas',
19
+ } as LocaleStrings
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Tout accepter',
5
+ acceptNecessary: "J'accepte le nécessaire",
6
+ barDescription:
7
+ '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.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe: 'Pour voir cela, veuillez activer les cookies fonctionnels',
10
+ close: 'Fermer',
11
+ declineAll: 'Tout refuser',
12
+ functional: 'Cookies fonctionnels',
13
+ here: 'ici',
14
+ manageCookies: 'Gérer les cookies',
15
+ necessary: 'Les cookies obligatoires',
16
+ optional: 'Les cookies optionnels',
17
+ save: 'Sauvegarder',
18
+ unsaved: 'Vous avez des paramètres non sauvegardés',
19
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Dozvoli sve',
5
+ acceptNecessary: 'Prihvaćam obavezne',
6
+ barDescription:
7
+ 'Koristimo vlastite kolačiće i kolačiće treće strane kako bismo Vam mogli prikazati web stranicu i razumijeti kako je koristite, s pogledom na poboljšanje usluga koje nudimo. Ako nastavite s pregledavanjem, smatramo da prihvaćate upotrebu kolačića.',
8
+ barTitle: 'Kolačići',
9
+ blockedIframe:
10
+ 'Da bi vidjeli ovo, molimo Vas omogućite funkcionalne kolačiće',
11
+ close: 'Zatvori',
12
+ declineAll: 'Obriši sve',
13
+ functional: 'Funkcionalni kolačići',
14
+ here: 'ovdje',
15
+ manageCookies: 'Upravljaj kolačićima',
16
+ necessary: 'Obavezni kolačići',
17
+ optional: 'Neobavezni kolačići',
18
+ save: 'Spremi',
19
+ unsaved: 'Imate nespremljenih postavki',
20
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Összes elfogadása',
5
+ acceptNecessary: 'Elfogadom a szükségeset',
6
+ barDescription:
7
+ 'Saját, illetve harmadik féltől származó sütiket használunk annak érdekében, hogy megmutassuk ezt a weboldalt, és jobban megértsük, hogyan használja azt, azzal a céllal, hogy javítsuk az általunk kínált szolgáltatásokat. Ha folytatod a böngészést, úgy gondoljuk, hogy elfogadtad a sütiket.',
8
+ barTitle: 'Sütik',
9
+ blockedIframe:
10
+ 'Ennek megtekintéséhez, engedélyezd a funkcionális sütik használatát',
11
+ close: 'Bezár',
12
+ declineAll: 'Összes elutasítása',
13
+ functional: 'Funkcionális sütik',
14
+ here: 'itt',
15
+ manageCookies: 'Sütikk kezelése',
16
+ necessary: 'Szükséges sütikk',
17
+ optional: 'Opcionális sütik',
18
+ save: 'Mentés',
19
+ unsaved: 'Mentés nélküli beállítások vannak',
20
+ } as LocaleStrings
@@ -0,0 +1,16 @@
1
+ import ar from './ar'
2
+ import de from './de'
3
+ import en from './en'
4
+ import es from './es'
5
+ import fr from './fr'
6
+ import hr from './hr'
7
+ import hu from './hu'
8
+ import it from './it'
9
+ import ja from './ja'
10
+ import nl from './nl'
11
+ import no from './no'
12
+ import pt from './pt'
13
+ import ru from './ru'
14
+ import uk from './uk'
15
+
16
+ export const locales = [ar, de, en, es, fr, hr, hu, it, ja, nl, no, pt, ru, uk]
@@ -1,15 +1,19 @@
1
- export default {
2
- barTitle: 'Cookies',
3
- barDescription: 'Utilizziamo cookie propri e di terzi per mostrarvi la pagina web e capire come la utilizzate, nonché per migliorare i servizi che offriamo. Se continuate a navigare, consideriamo che accettate il loro utilizzo.',
4
- acceptAll: 'Accetta tutto',
5
- declineAll: 'Cancella tutto',
6
- manageCookies: 'Gestisci i cookie',
7
- unsaved: 'Ci sono impostazioni non salvate',
8
- close: 'Chiudi',
9
- save: 'Salva',
10
- necessary: 'Cookie necessari',
11
- optional: 'Cookie opzionali',
12
- functional: 'Cookie funzionali',
13
- blockedIframe: 'Per vedere questo, si prega di abilitare i cookie funzionali',
14
- here: 'qui'
15
- }
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Accetta tutto',
5
+ acceptNecessary: 'Accetto il necessario',
6
+ barDescription:
7
+ 'Utilizziamo cookie propri e di terzi per mostrarvi la pagina web e capire come la utilizzate, nonché per migliorare i servizi che offriamo. Se continuate a navigare, consideriamo che accettate il loro utilizzo.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe: 'Per vedere questo, si prega di abilitare i cookie funzionali',
10
+ close: 'Chiudi',
11
+ declineAll: 'Cancella tutto',
12
+ functional: 'Cookie funzionali',
13
+ here: 'qui',
14
+ manageCookies: 'Gestisci i cookie',
15
+ necessary: 'Cookie necessari',
16
+ optional: 'Cookie opzionali',
17
+ save: 'Salva',
18
+ unsaved: 'Ci sono impostazioni non salvate',
19
+ } as LocaleStrings
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: '全て同意',
5
+ acceptNecessary: '必要に応じて受け入れる',
6
+ barDescription:
7
+ '当サイトでは、サービス改善を目的として当サイト及び第三者が提供するCookieを使用することにより、利用者に当サイトを表示させるとともに、利用者がどのようにサイトを利用しているかをより十分に把握することが可能となっています。このまま閲覧を続けると、Cookieの利用について同意したとみなされます。',
8
+ barTitle: 'Cookie',
9
+ blockedIframe: 'ここを表示するには、機能性Cookieを有効にしてください:',
10
+ close: '閉じる',
11
+ declineAll: '全て削除',
12
+ functional: '機能性Cookie',
13
+ here: '設定',
14
+ manageCookies: 'Cookieを管理',
15
+ necessary: '不可欠なCookie',
16
+ optional: '任意のcookies',
17
+ save: '保存',
18
+ unsaved: '保存されていない設定があります',
19
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Accepteer alles',
5
+ acceptNecessary: 'Accepteer noodzakelijk',
6
+ barDescription:
7
+ 'We gebruiken onze eigen cookies en third-party cookies om onze site te tonen en om te leren hoe deze gebruikt wordt, met het oog om de services die we verlenen te verbeteren. Door verder te gaan op onze site gaan we ervanuit dat hiermee akkoord gegaan wordt.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe:
10
+ 'Om dit te kunnen bekijken dienen functionele cookies geaccepteerd te worden',
11
+ close: 'Sluiten',
12
+ declineAll: 'Verwijder alles',
13
+ functional: 'Functionele cookies',
14
+ here: 'hier',
15
+ manageCookies: 'Beheer cookies',
16
+ necessary: 'Noodzakelijke cookies',
17
+ optional: 'Optionele cookies',
18
+ save: 'Opslaan',
19
+ unsaved: 'Er zijn niet-opgeslagen instellingen',
20
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Godta alle',
5
+ acceptNecessary: 'Jeg aksepterer det nødvendige',
6
+ barDescription:
7
+ 'Vi bruker våre egne informasjonskapsler og tredjeparts informasjonskapsler, slik at vi kan vise deg dette nettstedet og bedre forstå hvordan du bruker det, med tanke på å forbedre tjenestene vi tilbyr.',
8
+ barTitle: 'Informasjonskapsler',
9
+ blockedIframe:
10
+ 'For å se dette, vennligst aktiver funksjonelle informasjonskapsler',
11
+ close: 'Lukk',
12
+ declineAll: 'Slett alle',
13
+ functional: 'Funksjonelle informasjonskapsler',
14
+ here: 'her',
15
+ manageCookies: 'Administrer informasjonskapsler',
16
+ necessary: 'Nødvendige informasjonskapsler',
17
+ optional: 'Valgfrie informasjonskapsler',
18
+ save: 'Lagre',
19
+ unsaved: 'Du har ulagrede innstillinger',
20
+ } as LocaleStrings
@@ -0,0 +1,20 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Aceitar todos',
5
+ acceptNecessary: 'Eu aceito o necessário',
6
+ barDescription:
7
+ 'Nós utilizamos os nossos próprios cookies e de terceiros para que possamos lhe mostrar este site e compreender a forma como o utiliza, de forma a melhorarmos os serviços que oferecemos. Ao continuar a navegar no site, consideramos que aceitou a utilização de cookies.',
8
+ barTitle: 'Cookies',
9
+ blockedIframe:
10
+ 'Para visualizar isto, por favor, active os cookies funcionais',
11
+ close: 'Fechar',
12
+ declineAll: 'Apagar todos',
13
+ functional: 'Cookies funcionais',
14
+ here: 'aqui',
15
+ manageCookies: 'Gerir cookies',
16
+ necessary: 'Cookies necessários',
17
+ optional: 'Cookies opcionais',
18
+ save: 'Gravar',
19
+ unsaved: 'Tem alterações não guardadas',
20
+ } as LocaleStrings
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Принять все',
5
+ acceptNecessary: 'Я принимаю необходимое',
6
+ barDescription:
7
+ 'Мы используем наши собственные файлы cookie и сторонние файлы cookie, чтобы мы могли показать вам этот веб-сайт и лучше понять, как вы его используете, с целью улучшения предлагаемых нами услуг. Если вы продолжите просмотр, мы будем считать, что вы приняли файлы cookie.',
8
+ barTitle: 'Файлы cookie',
9
+ blockedIframe: 'Чтобы это увидеть, включите функциональные файлы cookie',
10
+ close: 'Закрыть',
11
+ declineAll: 'Удалить все',
12
+ functional: 'Функциональные файлы cookie',
13
+ here: 'здесь',
14
+ manageCookies: 'Управление файлами cookie',
15
+ necessary: 'Необходимые файлы cookie',
16
+ optional: 'Дополнительные файлы cookie',
17
+ save: 'Сохранить',
18
+ unsaved: 'У вас есть несохраненные настройки',
19
+ } as LocaleStrings
@@ -0,0 +1,19 @@
1
+ import { LocaleStrings } from '../types'
2
+
3
+ export default {
4
+ acceptAll: 'Прийняти усі',
5
+ acceptNecessary: 'Приймаю необхідне',
6
+ barDescription:
7
+ 'Ми використовуємо власні файли cookie та сторонні файли cookie, щоб ми могли показати вам цей веб-сайт і краще зрозуміти, як ви ним користуєтеся, з метою покращення пропонованих нами послуг. Якщо ви продовжуєте перегляд, ми вважаємо, що ви прийняли файли cookie.',
8
+ barTitle: 'Файли cookie',
9
+ blockedIframe: 'Щоб побачити це, увімкніть функціональні файли cookie',
10
+ close: 'Закрити',
11
+ declineAll: 'Видалити усі',
12
+ functional: 'Функціональні файли cookie',
13
+ here: 'тут',
14
+ manageCookies: 'Керувати файлами cookie',
15
+ necessary: 'Необхідні файли cookie',
16
+ optional: 'Факультативні файли cookie',
17
+ save: 'Зберегти',
18
+ unsaved: 'У вас є незбережені налаштування',
19
+ } as LocaleStrings