@dargmuesli/nuxt-cookie-control 2.0.0-beta.1 → 2.0.0-beta.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.d.ts +66 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +184 -4
- package/dist/runtime/composables.d.ts +1 -0
- package/dist/runtime/composables.mjs +1 -0
- package/dist/runtime/constants.d.ts +2 -0
- package/dist/runtime/constants.mjs +2 -0
- package/dist/runtime/locale/ar.d.ts +3 -0
- package/dist/runtime/locale/ar.mjs +16 -0
- package/dist/runtime/locale/de.d.ts +3 -0
- package/dist/runtime/locale/de.mjs +16 -0
- package/dist/runtime/locale/en.d.ts +3 -0
- package/dist/runtime/locale/en.mjs +16 -0
- package/dist/runtime/locale/es.d.ts +3 -0
- package/dist/runtime/locale/es.mjs +16 -0
- package/dist/runtime/locale/fr.d.ts +3 -0
- package/dist/runtime/locale/fr.mjs +16 -0
- package/dist/runtime/locale/hr.d.ts +3 -0
- package/dist/runtime/locale/hr.mjs +16 -0
- package/dist/runtime/locale/hu.d.ts +3 -0
- package/dist/runtime/locale/hu.mjs +16 -0
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.mjs +15 -0
- package/dist/runtime/locale/it.d.ts +3 -0
- package/dist/runtime/locale/it.mjs +16 -0
- package/dist/runtime/locale/ja.d.ts +3 -0
- package/dist/runtime/locale/ja.mjs +16 -0
- package/dist/runtime/locale/nl.d.ts +3 -0
- package/dist/runtime/locale/nl.mjs +16 -0
- package/dist/runtime/locale/no.d.ts +3 -0
- package/dist/runtime/locale/no.mjs +16 -0
- package/dist/runtime/locale/pt.d.ts +3 -0
- package/dist/runtime/locale/pt.mjs +16 -0
- package/dist/runtime/locale/ru.d.ts +3 -0
- package/dist/runtime/locale/ru.mjs +16 -0
- package/dist/runtime/locale/uk.d.ts +3 -0
- package/dist/runtime/locale/uk.mjs +16 -0
- package/dist/runtime/methods.d.ts +16 -0
- package/dist/runtime/methods.mjs +117 -0
- package/dist/runtime/plugin.d.ts +2 -0
- package/dist/runtime/plugin.mjs +27 -0
- package/dist/runtime/types.d.ts +73 -0
- package/dist/runtime/types.mjs +66 -0
- package/dist/types.d.ts +2 -9
- package/package.json +2 -5
- package/dist/runtime/composables.ts +0 -1
- package/dist/runtime/constants.ts +0 -3
- package/dist/runtime/locale/ar.ts +0 -19
- package/dist/runtime/locale/de.ts +0 -20
- package/dist/runtime/locale/en.ts +0 -19
- package/dist/runtime/locale/es.ts +0 -19
- package/dist/runtime/locale/fr.ts +0 -19
- package/dist/runtime/locale/hr.ts +0 -20
- package/dist/runtime/locale/hu.ts +0 -20
- package/dist/runtime/locale/index.ts +0 -16
- package/dist/runtime/locale/it.ts +0 -19
- package/dist/runtime/locale/ja.ts +0 -19
- package/dist/runtime/locale/nl.ts +0 -20
- package/dist/runtime/locale/no.ts +0 -20
- package/dist/runtime/locale/pt.ts +0 -20
- package/dist/runtime/locale/ru.ts +0 -19
- package/dist/runtime/locale/uk.ts +0 -19
- package/dist/runtime/methods.ts +0 -190
- package/dist/runtime/plugin.ts +0 -35
- package/dist/runtime/types.ts +0 -132
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Cookie, Locale, ModuleOptions, Translatable } from './types';
|
|
3
|
+
export declare const useAcceptNecessary: () => () => void;
|
|
4
|
+
export declare const acceptNecessary: (enabled: Ref<Cookie[]>, consent: Ref<boolean>, necessaryCookies?: Cookie[]) => void;
|
|
5
|
+
export declare const useResolveTranslatable: (locale?: Locale) => (translatable: Translatable) => string;
|
|
6
|
+
export declare const useSetConsent: () => () => void;
|
|
7
|
+
export declare const setConsent: ({ isInit, isConsentGiven, moduleOptions, cookiesEnabled, cookiesEnabledIds, }: {
|
|
8
|
+
isInit: boolean;
|
|
9
|
+
isConsentGiven: Ref<boolean | undefined>;
|
|
10
|
+
moduleOptions: ModuleOptions;
|
|
11
|
+
cookiesEnabled: Ref<Cookie[]>;
|
|
12
|
+
cookiesEnabledIds: Ref<string[]>;
|
|
13
|
+
}) => void;
|
|
14
|
+
export declare const getCookieId: (cookie: Cookie) => string;
|
|
15
|
+
export declare const clearCookies: (cookiesEnabledIds: string[], cookiesOptional: Cookie[]) => void;
|
|
16
|
+
export declare const setHead: (enabledCookies: Cookie[]) => void;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import Cookies from "js-cookie";
|
|
2
|
+
import slugify from "slugify";
|
|
3
|
+
import { useCookieControl } from "./composables.mjs";
|
|
4
|
+
import { LOCALE_DEFAULT } from "./constants.mjs";
|
|
5
|
+
export const useAcceptNecessary = () => {
|
|
6
|
+
const { cookiesEnabled, isConsentGiven, moduleOptions } = useCookieControl();
|
|
7
|
+
return () => acceptNecessary(
|
|
8
|
+
cookiesEnabled,
|
|
9
|
+
isConsentGiven,
|
|
10
|
+
moduleOptions.cookies?.necessary
|
|
11
|
+
);
|
|
12
|
+
};
|
|
13
|
+
export const acceptNecessary = (enabled, consent, necessaryCookies = []) => {
|
|
14
|
+
const expires = new Date();
|
|
15
|
+
expires.setFullYear(expires.getFullYear() + 1);
|
|
16
|
+
const necessaryCookieIds = necessaryCookies.map(
|
|
17
|
+
(necessaryCookie) => getCookieId(necessaryCookie)
|
|
18
|
+
);
|
|
19
|
+
Cookies.set("cookie_control_enabled_cookies", necessaryCookieIds.join(","), {
|
|
20
|
+
expires
|
|
21
|
+
});
|
|
22
|
+
Cookies.set("cookie_control_consent", "true", { expires });
|
|
23
|
+
consent.value = true;
|
|
24
|
+
if (process.client) {
|
|
25
|
+
setHead(enabled.value);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export const useResolveTranslatable = (locale = LOCALE_DEFAULT) => {
|
|
29
|
+
return (translatable) => resolveTranslatable(translatable, locale);
|
|
30
|
+
};
|
|
31
|
+
const resolveTranslatable = (translatable, locale) => {
|
|
32
|
+
if (typeof translatable === "string")
|
|
33
|
+
return translatable;
|
|
34
|
+
if (!locale)
|
|
35
|
+
throw new Error("No locale given for translatable that is not a string.");
|
|
36
|
+
const result = translatable[locale];
|
|
37
|
+
if (!result)
|
|
38
|
+
throw new Error(`Could not get translation for locale ${locale}.`);
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
export const useSetConsent = () => {
|
|
42
|
+
const { isConsentGiven, moduleOptions, cookiesEnabled, cookiesEnabledIds } = useCookieControl();
|
|
43
|
+
return () => setConsent({
|
|
44
|
+
isInit: false,
|
|
45
|
+
isConsentGiven,
|
|
46
|
+
moduleOptions,
|
|
47
|
+
cookiesEnabled,
|
|
48
|
+
cookiesEnabledIds
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
export const setConsent = ({
|
|
52
|
+
isInit = false,
|
|
53
|
+
isConsentGiven,
|
|
54
|
+
moduleOptions,
|
|
55
|
+
cookiesEnabled,
|
|
56
|
+
cookiesEnabledIds
|
|
57
|
+
}) => {
|
|
58
|
+
isConsentGiven.value = Cookies.get("cookie_control_consent") === "true";
|
|
59
|
+
cookiesEnabled.value = [];
|
|
60
|
+
cookiesEnabledIds.value = [];
|
|
61
|
+
if (isConsentGiven.value) {
|
|
62
|
+
const enabledFromCookie = Cookies.get("cookie_control_enabled_cookies");
|
|
63
|
+
cookiesEnabled.value.push(
|
|
64
|
+
...moduleOptions.cookies.optional.filter((cookieOptional) => {
|
|
65
|
+
return enabledFromCookie?.includes(getCookieId(cookieOptional));
|
|
66
|
+
})
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
if (moduleOptions.cookies?.necessary)
|
|
70
|
+
cookiesEnabled.value.push(
|
|
71
|
+
...moduleOptions.cookies.necessary.filter((c) => {
|
|
72
|
+
return c.src;
|
|
73
|
+
})
|
|
74
|
+
);
|
|
75
|
+
cookiesEnabledIds.value = cookiesEnabled.value.map(
|
|
76
|
+
(cookieEnabled) => getCookieId(cookieEnabled)
|
|
77
|
+
);
|
|
78
|
+
if (process.client && !isInit) {
|
|
79
|
+
setHead(cookiesEnabled.value);
|
|
80
|
+
clearCookies(
|
|
81
|
+
cookiesEnabledIds.value,
|
|
82
|
+
moduleOptions.cookies.optional
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export const getCookieId = (cookie) => cookie.id || slugify(resolveTranslatable(cookie.name));
|
|
87
|
+
export const clearCookies = (cookiesEnabledIds, cookiesOptional) => {
|
|
88
|
+
const cookiesDisabled = cookiesOptional.filter(
|
|
89
|
+
(cookieOptional) => !cookiesEnabledIds.includes(getCookieId(cookieOptional))
|
|
90
|
+
);
|
|
91
|
+
for (const cookieDisabled of cookiesDisabled) {
|
|
92
|
+
if (!cookieDisabled.targetCookieIds)
|
|
93
|
+
continue;
|
|
94
|
+
for (const cookieDisabledId of cookieDisabled.targetCookieIds) {
|
|
95
|
+
Cookies.remove(cookieDisabledId);
|
|
96
|
+
}
|
|
97
|
+
if (cookieDisabled.src) {
|
|
98
|
+
for (const s of [
|
|
99
|
+
...document.head.querySelectorAll(
|
|
100
|
+
`script[src="${cookieDisabled.src}"]`
|
|
101
|
+
)
|
|
102
|
+
]) {
|
|
103
|
+
s.parentNode?.removeChild(s);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
export const setHead = (enabledCookies) => {
|
|
109
|
+
const head = document.getElementsByTagName("head")[0];
|
|
110
|
+
for (const cookieEnabled of enabledCookies) {
|
|
111
|
+
if (!cookieEnabled.src)
|
|
112
|
+
continue;
|
|
113
|
+
const script = document.createElement("script");
|
|
114
|
+
script.src = cookieEnabled.src;
|
|
115
|
+
head.appendChild(script);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { setConsent } from "./methods.mjs";
|
|
2
|
+
import moduleOptions from "#build/cookie-control-options";
|
|
3
|
+
export default defineNuxtPlugin((_nuxtApp) => {
|
|
4
|
+
const isConsentGiven = ref();
|
|
5
|
+
const cookiesEnabled = ref([]);
|
|
6
|
+
const cookiesEnabledIds = ref([]);
|
|
7
|
+
const isModalActive = ref();
|
|
8
|
+
const state = {
|
|
9
|
+
isConsentGiven,
|
|
10
|
+
cookiesEnabled,
|
|
11
|
+
cookiesEnabledIds,
|
|
12
|
+
isModalActive,
|
|
13
|
+
moduleOptions
|
|
14
|
+
};
|
|
15
|
+
setConsent({
|
|
16
|
+
isInit: !process.client,
|
|
17
|
+
isConsentGiven,
|
|
18
|
+
moduleOptions,
|
|
19
|
+
cookiesEnabled,
|
|
20
|
+
cookiesEnabledIds
|
|
21
|
+
});
|
|
22
|
+
return {
|
|
23
|
+
provide: {
|
|
24
|
+
cookies: state
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare enum Locale {
|
|
3
|
+
AR = "ar",
|
|
4
|
+
DE = "de",
|
|
5
|
+
EN = "en",
|
|
6
|
+
ES = "es",
|
|
7
|
+
FR = "fr",
|
|
8
|
+
HR = "hr",
|
|
9
|
+
HU = "hu",
|
|
10
|
+
IT = "it",
|
|
11
|
+
JA = "ja",
|
|
12
|
+
NL = "nl",
|
|
13
|
+
NO = "no",
|
|
14
|
+
PT = "pt",
|
|
15
|
+
RU = "ru",
|
|
16
|
+
UK = "uk"
|
|
17
|
+
}
|
|
18
|
+
export type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
19
|
+
export type Translatable = string | PartialRecord<Locale, string>;
|
|
20
|
+
export declare enum CookieType {
|
|
21
|
+
NECESSARY = "necessary",
|
|
22
|
+
OPTIONAL = "optional"
|
|
23
|
+
}
|
|
24
|
+
export interface Cookie {
|
|
25
|
+
description?: Translatable;
|
|
26
|
+
id?: string;
|
|
27
|
+
name: Translatable;
|
|
28
|
+
src?: string;
|
|
29
|
+
targetCookieIds?: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface LocaleStrings {
|
|
32
|
+
acceptAll: string;
|
|
33
|
+
acceptNecessary: string;
|
|
34
|
+
barDescription: string;
|
|
35
|
+
barTitle: string;
|
|
36
|
+
blockedIframe: string;
|
|
37
|
+
close: string;
|
|
38
|
+
declineAll: string;
|
|
39
|
+
functional: string;
|
|
40
|
+
here: string;
|
|
41
|
+
manageCookies: string;
|
|
42
|
+
necessary: string;
|
|
43
|
+
optional: string;
|
|
44
|
+
save: string;
|
|
45
|
+
unsaved: string;
|
|
46
|
+
}
|
|
47
|
+
export interface ModuleOptions {
|
|
48
|
+
barPosition?: 'top-left' | 'top-right' | 'top-full' | 'bottom-left' | 'bottom-right' | 'bottom-full';
|
|
49
|
+
colors?: false | Record<string, any>;
|
|
50
|
+
cookies: {
|
|
51
|
+
necessary: Cookie[];
|
|
52
|
+
optional: Cookie[];
|
|
53
|
+
};
|
|
54
|
+
isAcceptNecessaryButtonEnabled?: boolean;
|
|
55
|
+
isControlButtonEnabled?: boolean;
|
|
56
|
+
isCssEnabled?: boolean;
|
|
57
|
+
isCssPolyfillEnabled?: boolean;
|
|
58
|
+
isDashInDescriptionEnabled?: boolean;
|
|
59
|
+
isIframeBlocked?: boolean | {
|
|
60
|
+
initialState: boolean;
|
|
61
|
+
};
|
|
62
|
+
domain?: string;
|
|
63
|
+
locales: Locale[];
|
|
64
|
+
localeTexts: PartialRecord<Locale, LocaleStrings>;
|
|
65
|
+
}
|
|
66
|
+
export declare const DEFAULTS: Required<ModuleOptions>;
|
|
67
|
+
export interface State {
|
|
68
|
+
cookiesEnabled: Ref<Cookie[]>;
|
|
69
|
+
cookiesEnabledIds: Ref<string[]>;
|
|
70
|
+
isConsentGiven: Ref<boolean>;
|
|
71
|
+
isModalActive: Ref<boolean>;
|
|
72
|
+
moduleOptions: ModuleOptions;
|
|
73
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import en from "./locale/en.mjs";
|
|
2
|
+
export var Locale = /* @__PURE__ */ ((Locale2) => {
|
|
3
|
+
Locale2["AR"] = "ar";
|
|
4
|
+
Locale2["DE"] = "de";
|
|
5
|
+
Locale2["EN"] = "en";
|
|
6
|
+
Locale2["ES"] = "es";
|
|
7
|
+
Locale2["FR"] = "fr";
|
|
8
|
+
Locale2["HR"] = "hr";
|
|
9
|
+
Locale2["HU"] = "hu";
|
|
10
|
+
Locale2["IT"] = "it";
|
|
11
|
+
Locale2["JA"] = "ja";
|
|
12
|
+
Locale2["NL"] = "nl";
|
|
13
|
+
Locale2["NO"] = "no";
|
|
14
|
+
Locale2["PT"] = "pt";
|
|
15
|
+
Locale2["RU"] = "ru";
|
|
16
|
+
Locale2["UK"] = "uk";
|
|
17
|
+
return Locale2;
|
|
18
|
+
})(Locale || {});
|
|
19
|
+
export var CookieType = /* @__PURE__ */ ((CookieType2) => {
|
|
20
|
+
CookieType2["NECESSARY"] = "necessary";
|
|
21
|
+
CookieType2["OPTIONAL"] = "optional";
|
|
22
|
+
return CookieType2;
|
|
23
|
+
})(CookieType || {});
|
|
24
|
+
export const DEFAULTS = {
|
|
25
|
+
barPosition: "bottom-full",
|
|
26
|
+
colors: {
|
|
27
|
+
barBackground: "#000",
|
|
28
|
+
barButtonBackground: "#fff",
|
|
29
|
+
barButtonColor: "#000",
|
|
30
|
+
barButtonHoverBackground: "#333",
|
|
31
|
+
barButtonHoverColor: "#fff",
|
|
32
|
+
barTextColor: "#fff",
|
|
33
|
+
checkboxActiveBackground: "#000",
|
|
34
|
+
checkboxActiveCircleBackground: "#fff",
|
|
35
|
+
checkboxDisabledBackground: "#ddd",
|
|
36
|
+
checkboxDisabledCircleBackground: "#fff",
|
|
37
|
+
checkboxInactiveBackground: "#000",
|
|
38
|
+
checkboxInactiveCircleBackground: "#fff",
|
|
39
|
+
controlButtonBackground: "#fff",
|
|
40
|
+
controlButtonHoverBackground: "#000",
|
|
41
|
+
controlButtonIconColor: "#000",
|
|
42
|
+
controlButtonIconHoverColor: "#fff",
|
|
43
|
+
modalBackground: "#fff",
|
|
44
|
+
modalButtonBackground: "#000",
|
|
45
|
+
modalButtonColor: "#fff",
|
|
46
|
+
modalButtonHoverBackground: "#333",
|
|
47
|
+
modalButtonHoverColor: "#fff",
|
|
48
|
+
modalOverlay: "#000",
|
|
49
|
+
modalOverlayOpacity: 0.8,
|
|
50
|
+
modalTextColor: "#000",
|
|
51
|
+
modalUnsavedColor: "#fff"
|
|
52
|
+
},
|
|
53
|
+
cookies: {
|
|
54
|
+
necessary: [],
|
|
55
|
+
optional: []
|
|
56
|
+
},
|
|
57
|
+
isAcceptNecessaryButtonEnabled: true,
|
|
58
|
+
isControlButtonEnabled: true,
|
|
59
|
+
isCssEnabled: true,
|
|
60
|
+
isCssPolyfillEnabled: true,
|
|
61
|
+
isDashInDescriptionEnabled: true,
|
|
62
|
+
isIframeBlocked: false,
|
|
63
|
+
domain: "",
|
|
64
|
+
locales: ["en" /* EN */],
|
|
65
|
+
localeTexts: { en }
|
|
66
|
+
};
|
package/dist/types.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare module '@nuxt/schema' {
|
|
5
|
-
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
6
|
-
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
7
|
-
interface NuxtHooks extends ModuleHooks {}
|
|
8
|
-
interface RuntimeConfig extends ModuleRuntimeConfig {}
|
|
9
|
-
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
10
|
-
}
|
|
2
|
+
import { } from './module'
|
|
3
|
+
|
|
11
4
|
|
|
12
5
|
|
|
13
6
|
export { default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -34,8 +34,7 @@
|
|
|
34
34
|
"dev:build": "nuxi build playground",
|
|
35
35
|
"lint": "eslint --ext .js,.ts,.vue . && nuxi typecheck playground",
|
|
36
36
|
"prepack": "npm run build",
|
|
37
|
-
"
|
|
38
|
-
"release": "release-it"
|
|
37
|
+
"postinstall": "nuxt-module-build --stub && nuxi prepare playground"
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
40
|
"@nuxt/kit": "3.0.0",
|
|
@@ -47,7 +46,6 @@
|
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"@nuxt/module-builder": "0.2.1",
|
|
49
48
|
"@nuxtjs/eslint-config-typescript": "12.0.0",
|
|
50
|
-
"@release-it/conventional-changelog": "5.1.1",
|
|
51
49
|
"@types/js-cookie": "3.0.2",
|
|
52
50
|
"eslint": "8.29.0",
|
|
53
51
|
"eslint-config-prettier": "8.5.0",
|
|
@@ -56,7 +54,6 @@
|
|
|
56
54
|
"lint-staged": "13.1.0",
|
|
57
55
|
"nuxt": "3.0.0",
|
|
58
56
|
"prettier": "2.8.0",
|
|
59
|
-
"release-it": "15.5.1",
|
|
60
57
|
"typescript": "4.9.3",
|
|
61
58
|
"vite": "3.2.5",
|
|
62
59
|
"vue": "3.2.45",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const useCookieControl = () => useNuxtApp().$cookies
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
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,19 +0,0 @@
|
|
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,16 +0,0 @@
|
|
|
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,19 +0,0 @@
|
|
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|