zuii 1.5.1 → 1.5.3
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/components/Button/style/index.css +1 -1
- package/dist/components/Color/react/index.js +2 -2
- package/dist/components/Errorpage/react/index.js +2 -2
- package/dist/components/Form/react/index.js +1 -1
- package/dist/components/Lang-selector/js/language-selector.js +16 -16
- package/dist/components/Modal/js/modal.d.ts +42 -1
- package/dist/components/Nav/react/index.js +2 -2
- package/dist/components/Table/js/table.d.ts +4 -0
- package/dist/components/Table/react/index.d.ts +1 -1
- package/dist/components/Table/react/index.js +73 -70
- package/dist/index.d.ts +1 -1
- package/dist/index.js +53 -51
- package/dist/node_modules/.pnpm/colord@2.9.3/node_modules/colord/plugins/mix.js +48 -0
- package/dist/packages/cookie-consent/src/js/cookie-consent.js +96 -0
- package/dist/packages/cookie-consent/src/js/trads/de.js +49 -0
- package/dist/packages/cookie-consent/src/js/trads/en.js +49 -0
- package/dist/packages/cookie-consent/src/js/trads/es.js +49 -0
- package/dist/packages/cookie-consent/src/js/trads/fr.js +49 -0
- package/dist/packages/cookie-consent/src/js/trads/i18n.js +8 -0
- package/dist/packages/cookie-consent/src/react/index.js +2 -3
- package/dist/{components/Form/style → packages/core/src/styles/form}/index.css +1 -1
- package/dist/packages/core/src/utils/contrast.js +4 -0
- package/dist/packages/core/src/utils/lang.js +8 -0
- package/dist/packages/core/src/utils/lang_types.js +4 -0
- package/dist/templates/Calendars/Calendars.d.ts +5 -0
- package/dist/templates/Calendars/Calendars.tsx +78 -0
- package/dist/templates/Forms/Forms-elements.tsx +0 -1
- package/dist/templates/Tables/Tables.tsx +12 -6
- package/dist/templates/index.d.ts +1 -0
- package/dist/templates/index.ts +2 -0
- package/package.json +111 -107
- package/dist/packages/cookie-consent/src/style/index.css +0 -1
- package/dist/packages/core/src/utils/getName.js +0 -23
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './packages/core/src/styles/main.css';/* empty css */
|
|
2
2
|
import { Color as t } from "./components/Color/react/index.js";
|
|
3
3
|
import { Button as m } from "./components/Button/react/index.js";
|
|
4
|
-
import { Icon as
|
|
5
|
-
import { Group as
|
|
6
|
-
import { Avatar as
|
|
7
|
-
import { Badge as
|
|
8
|
-
import { Divider as
|
|
9
|
-
import { ContextMenu as
|
|
10
|
-
import { Form as
|
|
11
|
-
import { Shadow as
|
|
12
|
-
import { Radius as
|
|
13
|
-
import { Dropdown as
|
|
14
|
-
import { Logo as
|
|
15
|
-
import { Modal as
|
|
4
|
+
import { Icon as x, SizeProvider as n, useSize as i } from "./components/Icon/react/index.js";
|
|
5
|
+
import { Group as d } from "./components/Group/react/index.js";
|
|
6
|
+
import { Avatar as s } from "./components/Avatar/react/index.js";
|
|
7
|
+
import { Badge as c } from "./components/Badge/react/index.js";
|
|
8
|
+
import { Divider as A } from "./components/Divider/react/index.js";
|
|
9
|
+
import { ContextMenu as S } from "./components/Context-menu/react/index.js";
|
|
10
|
+
import { Form as k } from "./components/Form/react/index.js";
|
|
11
|
+
import { Shadow as v } from "./components/Shadow/react/index.js";
|
|
12
|
+
import { Radius as G } from "./components/Radius/react/index.js";
|
|
13
|
+
import { Dropdown as w } from "./components/Dropdown/react/index.js";
|
|
14
|
+
import { Logo as I } from "./components/Logo/react/index.js";
|
|
15
|
+
import { Modal as P } from "./components/Modal/react/index.js";
|
|
16
16
|
import { Placeholder as z } from "./components/Placeholder/react/index.js";
|
|
17
|
-
import { Tooltip as
|
|
18
|
-
import { Table as
|
|
19
|
-
import { Accordion as
|
|
20
|
-
import { Tabs as
|
|
17
|
+
import { Tooltip as F } from "./components/Tooltip/react/index.js";
|
|
18
|
+
import { Table as N } from "./components/Table/react/index.js";
|
|
19
|
+
import { Accordion as j } from "./components/Accordion/react/index.js";
|
|
20
|
+
import { Tabs as y } from "./components/Tab/react/index.js";
|
|
21
21
|
import { Alert as K, AlertBase as O, AlertHeading as Q, AlertLink as U } from "./components/Alert/react/index.js";
|
|
22
22
|
import { Dashboard as W } from "./components/Dashboard/react/index.js";
|
|
23
23
|
import { Nav as Y } from "./components/Nav/react/index.js";
|
|
@@ -25,55 +25,57 @@ import { LangSelector as _ } from "./components/Lang-selector/react/index.js";
|
|
|
25
25
|
import { Auth as oo } from "./components/Auth/react/index.js";
|
|
26
26
|
import { Errorpage as eo } from "./components/Errorpage/react/index.js";
|
|
27
27
|
import { Loader as po } from "./components/Loader/react/index.js";
|
|
28
|
-
import { Grid as
|
|
29
|
-
import { Menu as
|
|
30
|
-
import { Slider as
|
|
31
|
-
import { Card as
|
|
32
|
-
import {
|
|
33
|
-
import { CookieConsent as
|
|
28
|
+
import { Grid as fo, GridItem as xo, GridSpacer as no } from "./components/Grid/react/index.js";
|
|
29
|
+
import { Menu as ao } from "./components/Menu/react/index.js";
|
|
30
|
+
import { Slider as so, SliderItem as Co } from "./components/Slider/react/index.js";
|
|
31
|
+
import { Card as uo } from "./components/Card/react/index.js";
|
|
32
|
+
import { initCookieConsent as go, setCookieConsentLanguage as So, showCookieConsentPreferences as ho } from "./packages/cookie-consent/src/js/cookie-consent.js";
|
|
33
|
+
import { CookieConsent as Lo } from "./packages/cookie-consent/src/react/index.js";
|
|
34
34
|
import { default as Bo } from "./node_modules/.pnpm/react-bootstrap@2.10.10_@types_react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-bootstrap/esm/AccordionContext.js";
|
|
35
|
-
import { useAccordionButton as
|
|
35
|
+
import { useAccordionButton as bo } from "react-bootstrap";
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
j as Accordion,
|
|
38
38
|
Bo as AccordionContext,
|
|
39
39
|
K as Alert,
|
|
40
40
|
O as AlertBase,
|
|
41
41
|
Q as AlertHeading,
|
|
42
42
|
U as AlertLink,
|
|
43
43
|
oo as Auth,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
s as Avatar,
|
|
45
|
+
c as Badge,
|
|
46
46
|
m as Button,
|
|
47
|
-
|
|
47
|
+
uo as Card,
|
|
48
48
|
t as Color,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
S as ContextMenu,
|
|
50
|
+
Lo as CookieConsent,
|
|
51
51
|
W as Dashboard,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
A as Divider,
|
|
53
|
+
w as Dropdown,
|
|
54
54
|
eo as Errorpage,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
k as Form,
|
|
56
|
+
fo as Grid,
|
|
57
|
+
xo as GridItem,
|
|
58
|
+
no as GridSpacer,
|
|
59
|
+
d as Group,
|
|
60
|
+
x as Icon,
|
|
61
61
|
_ as LangSelector,
|
|
62
62
|
po as Loader,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
I as Logo,
|
|
64
|
+
ao as Menu,
|
|
65
|
+
P as Modal,
|
|
66
66
|
Y as Nav,
|
|
67
67
|
z as Placeholder,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
G as Radius,
|
|
69
|
+
v as Shadow,
|
|
70
|
+
n as SizeProvider,
|
|
71
|
+
so as Slider,
|
|
72
|
+
Co as SliderItem,
|
|
73
|
+
N as Table,
|
|
74
|
+
y as Tabs,
|
|
75
|
+
F as Tooltip,
|
|
76
|
+
go as initCookieConsent,
|
|
77
|
+
So as setCookieConsentLanguage,
|
|
78
|
+
ho as showCookieConsentPreferences,
|
|
79
|
+
bo as useAccordionButton,
|
|
80
|
+
i as useSize
|
|
79
81
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var u = function(t, a, r) {
|
|
2
|
+
return a === void 0 && (a = 0), r === void 0 && (r = 1), t > r ? r : t > a ? t : a;
|
|
3
|
+
}, y = function(t) {
|
|
4
|
+
var a = t / 255;
|
|
5
|
+
return a < 0.04045 ? a / 12.92 : Math.pow((a + 0.055) / 1.055, 2.4);
|
|
6
|
+
}, l = function(t) {
|
|
7
|
+
return 255 * (t > 31308e-7 ? 1.055 * Math.pow(t, 0.4166666666666667) - 0.055 : 12.92 * t);
|
|
8
|
+
}, b = 96.422, z = 100, v = 82.521, M = function(t) {
|
|
9
|
+
var a, r, o = { x: 0.9555766 * (a = t).x + -0.0230393 * a.y + 0.0631636 * a.z, y: -0.0282895 * a.x + 1.0099416 * a.y + 0.0210077 * a.z, z: 0.0122982 * a.x + -0.020483 * a.y + 1.3299098 * a.z };
|
|
10
|
+
return r = { r: l(0.032404542 * o.x - 0.015371385 * o.y - 4985314e-9 * o.z), g: l(-969266e-8 * o.x + 0.018760108 * o.y + 41556e-8 * o.z), b: l(556434e-9 * o.x - 2040259e-9 * o.y + 0.010572252 * o.z), a: t.a }, { r: u(r.r, 0, 255), g: u(r.g, 0, 255), b: u(r.b, 0, 255), a: u(r.a) };
|
|
11
|
+
}, w = function(t) {
|
|
12
|
+
var a = y(t.r), r = y(t.g), o = y(t.b);
|
|
13
|
+
return (function(n) {
|
|
14
|
+
return { x: u(n.x, 0, b), y: u(n.y, 0, z), z: u(n.z, 0, v), a: u(n.a) };
|
|
15
|
+
})((function(n) {
|
|
16
|
+
return { x: 1.0478112 * n.x + 0.0228866 * n.y + -0.050127 * n.z, y: 0.0295424 * n.x + 0.9904844 * n.y + -0.0170491 * n.z, z: -92345e-7 * n.x + 0.0150436 * n.y + 0.7521316 * n.z, a: n.a };
|
|
17
|
+
})({ x: 100 * (0.4124564 * a + 0.3575761 * r + 0.1804375 * o), y: 100 * (0.2126729 * a + 0.7151522 * r + 0.072175 * o), z: 100 * (0.0193339 * a + 0.119192 * r + 0.9503041 * o), a: t.a }));
|
|
18
|
+
}, h = 216 / 24389, f = 24389 / 27, s = function(t) {
|
|
19
|
+
var a = w(t), r = a.x / b, o = a.y / z, n = a.z / v;
|
|
20
|
+
return r = r > h ? Math.cbrt(r) : (f * r + 16) / 116, { l: 116 * (o = o > h ? Math.cbrt(o) : (f * o + 16) / 116) - 16, a: 500 * (r - o), b: 200 * (o - (n = n > h ? Math.cbrt(n) : (f * n + 16) / 116)), alpha: a.a };
|
|
21
|
+
}, g = function(t, a, r) {
|
|
22
|
+
var o, n = s(t), e = s(a);
|
|
23
|
+
return (function(i) {
|
|
24
|
+
var p = (i.l + 16) / 116, c = i.a / 500 + p, x = p - i.b / 200;
|
|
25
|
+
return M({ x: (Math.pow(c, 3) > h ? Math.pow(c, 3) : (116 * c - 16) / f) * b, y: (i.l > 8 ? Math.pow((i.l + 16) / 116, 3) : i.l / f) * z, z: (Math.pow(x, 3) > h ? Math.pow(x, 3) : (116 * x - 16) / f) * v, a: i.alpha });
|
|
26
|
+
})({ l: u((o = { l: n.l * (1 - r) + e.l * r, a: n.a * (1 - r) + e.a * r, b: n.b * (1 - r) + e.b * r, alpha: n.alpha * (1 - r) + e.alpha * r }).l, 0, 400), a: o.a, b: o.b, alpha: u(o.alpha) });
|
|
27
|
+
};
|
|
28
|
+
function d(t) {
|
|
29
|
+
function a(r, o, n) {
|
|
30
|
+
n === void 0 && (n = 5);
|
|
31
|
+
for (var e = [], i = 1 / (n - 1), p = 0; p <= n - 1; p++) e.push(r.mix(o, i * p));
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
t.prototype.mix = function(r, o) {
|
|
35
|
+
o === void 0 && (o = 0.5);
|
|
36
|
+
var n = r instanceof t ? r : new t(r), e = g(this.toRgb(), n.toRgb(), o);
|
|
37
|
+
return new t(e);
|
|
38
|
+
}, t.prototype.tints = function(r) {
|
|
39
|
+
return a(this, "#fff", r);
|
|
40
|
+
}, t.prototype.shades = function(r) {
|
|
41
|
+
return a(this, "#000", r);
|
|
42
|
+
}, t.prototype.tones = function(r) {
|
|
43
|
+
return a(this, "#808080", r);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
d as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as g from "vanilla-cookieconsent";
|
|
2
|
+
import { getDocLang as k } from "../../../core/src/utils/lang.js";
|
|
3
|
+
import "../../../core/src/utils/contrast.js";
|
|
4
|
+
import { trads as M } from "./trads/i18n.js";
|
|
5
|
+
window.CookieConsent = g;
|
|
6
|
+
const w = (o, e) => {
|
|
7
|
+
Object.entries(e).forEach(([a, s]) => {
|
|
8
|
+
(a === "root" ? [o] : o.querySelectorAll(a)).forEach((m) => {
|
|
9
|
+
const _ = Array.isArray(s) ? s : [s];
|
|
10
|
+
m.classList.add(..._.filter(Boolean));
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
}, j = (o = "cookie-consent", e = M, a = {}, s = {}, i, m = []) => {
|
|
14
|
+
const _ = {
|
|
15
|
+
necessary: { readOnly: !0 },
|
|
16
|
+
functionality: {},
|
|
17
|
+
analytics: {},
|
|
18
|
+
marketing: {}
|
|
19
|
+
}, h = i ? Object.fromEntries(
|
|
20
|
+
Object.entries(_).filter(([n]) => i.includes(n))
|
|
21
|
+
) : _;
|
|
22
|
+
i && Object.keys(e).forEach((n) => {
|
|
23
|
+
e[n].preferencesModal?.sections && (e[n].preferencesModal.sections = e[n].preferencesModal.sections.filter(
|
|
24
|
+
(l) => !l.linkedCategory || i.includes(l.linkedCategory)
|
|
25
|
+
));
|
|
26
|
+
});
|
|
27
|
+
const y = k(), $ = m.includes(y) ? "fr" : y;
|
|
28
|
+
g.run({
|
|
29
|
+
guiOptions: {
|
|
30
|
+
consentModal: { layout: "box", position: "bottom left", equalWeightButtons: !0 },
|
|
31
|
+
preferencesModal: { layout: "box", position: "right", equalWeightButtons: !0 }
|
|
32
|
+
},
|
|
33
|
+
onConsent: s.onConsent,
|
|
34
|
+
onChange: s.onChange,
|
|
35
|
+
onModalReady: ({ modalName: n, modal: l }) => {
|
|
36
|
+
const d = ["button"], u = "accordion", b = {
|
|
37
|
+
h2: `${o}__title`,
|
|
38
|
+
p: `${o}__description`,
|
|
39
|
+
a: `${o}__link`,
|
|
40
|
+
'[data-role="all"]': [...d, "button--primary", `${o}--button`],
|
|
41
|
+
'[data-role="necessary"]': [...d, "button--secondary", `${o}--button`],
|
|
42
|
+
".cm__body": `${o}__body`,
|
|
43
|
+
".cm__footer": `${o}__footer`,
|
|
44
|
+
".pm__header": `${o}__header`
|
|
45
|
+
}, c = { ...{
|
|
46
|
+
consentModal: {
|
|
47
|
+
root: o,
|
|
48
|
+
...b,
|
|
49
|
+
'[data-role="show"]': [...d, "button--link", `${o}--button`]
|
|
50
|
+
},
|
|
51
|
+
preferencesModal: {
|
|
52
|
+
root: `${o}__preferences`,
|
|
53
|
+
...b,
|
|
54
|
+
'[data-role="save"]': [...d, "button--primary", `${o}--button`],
|
|
55
|
+
".section__toggle-wrapper": ["toggle", `${o}--toggle`],
|
|
56
|
+
".pm__close-btn": [...d, "button--close", `${o}--button`],
|
|
57
|
+
".pm__section--toggle": [u, `${o}--accordion`],
|
|
58
|
+
".pm__section--toggle button": [`${u}__button`, `${o}-${u}--button`],
|
|
59
|
+
".pm__section-desc-wrapper": [`${u}__content`, `${o}-${u}--content`]
|
|
60
|
+
}
|
|
61
|
+
}[n] || {} }, C = {
|
|
62
|
+
...a.common || {},
|
|
63
|
+
...a[n] || {}
|
|
64
|
+
};
|
|
65
|
+
Object.entries(C).forEach(([t, r]) => {
|
|
66
|
+
const p = Array.isArray(r) ? r : [r];
|
|
67
|
+
if (c[t]) {
|
|
68
|
+
const f = Array.isArray(c[t]) ? c[t] : [c[t]];
|
|
69
|
+
c[t] = [...f, ...p];
|
|
70
|
+
} else
|
|
71
|
+
c[t] = p;
|
|
72
|
+
}), w(l, c), l.querySelectorAll(".button").forEach((t) => {
|
|
73
|
+
if (!t.querySelector(".button__content")) {
|
|
74
|
+
const r = document.createElement("div");
|
|
75
|
+
for (r.className = "button__content"; t.firstChild; )
|
|
76
|
+
r.appendChild(t.firstChild);
|
|
77
|
+
t.appendChild(r);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
categories: h,
|
|
82
|
+
language: {
|
|
83
|
+
default: $,
|
|
84
|
+
translations: e
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}, q = (o) => {
|
|
88
|
+
g.setLanguage(o);
|
|
89
|
+
}, B = () => {
|
|
90
|
+
g.showPreferences();
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
j as initCookieConsent,
|
|
94
|
+
q as setCookieConsentLanguage,
|
|
95
|
+
B as showCookieConsentPreferences
|
|
96
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
consentModal: {
|
|
3
|
+
title: "Wir verwenden Cookies",
|
|
4
|
+
description: "Wir verwenden Cookies, um Ihre Erfahrung auf unserer Website zu verbessern.",
|
|
5
|
+
acceptAllBtn: "Alle akzeptieren",
|
|
6
|
+
acceptNecessaryBtn: "Alle ablehnen",
|
|
7
|
+
showPreferencesBtn: "Präferenzen verwalten",
|
|
8
|
+
footer: `
|
|
9
|
+
<a href="datenschutzerklaerung">Datenschutzerklärung</a>
|
|
10
|
+
<a href="impressum">Impressum</a>
|
|
11
|
+
`
|
|
12
|
+
},
|
|
13
|
+
preferencesModal: {
|
|
14
|
+
title: "Präferenzzentrum",
|
|
15
|
+
savePreferencesBtn: "Einstellungen speichern",
|
|
16
|
+
acceptAllBtn: "Alle akzeptieren",
|
|
17
|
+
acceptNecessaryBtn: "Alle ablehnen",
|
|
18
|
+
closeIconLabel: "Schließen",
|
|
19
|
+
sections: [
|
|
20
|
+
{
|
|
21
|
+
title: "Unbedingt erforderliche Cookies",
|
|
22
|
+
description: "Diese Cookies sind für das ordnungsgemäße Funktionieren der Website unerlässlich und können nicht deaktiviert werden (z. B. Sicherheit, Sitzung).",
|
|
23
|
+
linkedCategory: "necessary"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Leistungs- und Analyse-Cookies",
|
|
27
|
+
description: "Diese Cookies ermöglichen es uns, Besuche und Verkehrsquellen zu zählen, damit wir die Leistung unserer Website messen und verbessern können.",
|
|
28
|
+
linkedCategory: "analytics"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Funktionelle Cookies",
|
|
32
|
+
description: "Diese Cookies ermöglichen es der Website, sich an von Ihnen getroffene Entscheidungen zu erinnern (wie z. B. Ihren Benutzernamen, Ihre Sprache oder die Region, in der Sie sich befinden).",
|
|
33
|
+
linkedCategory: "functionality"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Werbe- und Marketing-Cookies",
|
|
37
|
+
description: "Diese Cookies werden verwendet, um Anzeigen zu schalten, die für Sie und Ihre Interessen relevanter sind.",
|
|
38
|
+
linkedCategory: "marketing"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "Weitere Informationen",
|
|
42
|
+
description: 'Bei Fragen zu unserer Datenschutzrichtlinie und Ihren Entscheidungen <a href="kontakt">kontaktieren Sie uns bitte</a>.'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as de
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
consentModal: {
|
|
3
|
+
title: "We use cookies",
|
|
4
|
+
description: "We use cookies to improve your experience on our site.",
|
|
5
|
+
acceptAllBtn: "Accept all",
|
|
6
|
+
acceptNecessaryBtn: "Reject all",
|
|
7
|
+
showPreferencesBtn: "Manage preferences",
|
|
8
|
+
footer: `
|
|
9
|
+
<a href="privacy-policy">Privacy Policy</a>
|
|
10
|
+
<a href="legal-mentions">Legal Mentions</a>
|
|
11
|
+
`
|
|
12
|
+
},
|
|
13
|
+
preferencesModal: {
|
|
14
|
+
title: "Preference Center",
|
|
15
|
+
savePreferencesBtn: "Save preferences",
|
|
16
|
+
acceptAllBtn: "Accept all",
|
|
17
|
+
acceptNecessaryBtn: "Reject all",
|
|
18
|
+
closeIconLabel: "Close",
|
|
19
|
+
sections: [
|
|
20
|
+
{
|
|
21
|
+
title: "Strictly necessary cookies",
|
|
22
|
+
description: "These cookies are essential for the proper functioning of the site and cannot be disabled (e.g. security, session).",
|
|
23
|
+
linkedCategory: "necessary"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Performance and analytics cookies",
|
|
27
|
+
description: "These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site.",
|
|
28
|
+
linkedCategory: "analytics"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Functionality cookies",
|
|
32
|
+
description: "These cookies allow the site to remember choices you make (such as your user name, language or the region you are in).",
|
|
33
|
+
linkedCategory: "functionality"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Advertising and marketing cookies",
|
|
37
|
+
description: "These cookies are used to deliver adverts more relevant to you and your interests.",
|
|
38
|
+
linkedCategory: "marketing"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "More information",
|
|
42
|
+
description: 'For any questions regarding our Privacy Policy and your choices, please <a href="contact">contact us</a>.'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as en
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
consentModal: {
|
|
3
|
+
title: "Utilizamos cookies",
|
|
4
|
+
description: "Utilizamos cookies para mejorar su experiencia en nuestro sitio.",
|
|
5
|
+
acceptAllBtn: "Aceptar todo",
|
|
6
|
+
acceptNecessaryBtn: "Rechazar todo",
|
|
7
|
+
showPreferencesBtn: "Administrar preferencias",
|
|
8
|
+
footer: `
|
|
9
|
+
<a href="politica-privacidad">Política de privacidad</a>
|
|
10
|
+
<a href="aviso-legal">Aviso legal</a>
|
|
11
|
+
`
|
|
12
|
+
},
|
|
13
|
+
preferencesModal: {
|
|
14
|
+
title: "Centro de preferencias",
|
|
15
|
+
savePreferencesBtn: "Guardar preferencias",
|
|
16
|
+
acceptAllBtn: "Aceptar todo",
|
|
17
|
+
acceptNecessaryBtn: "Rechazar todo",
|
|
18
|
+
closeIconLabel: "Cerrar",
|
|
19
|
+
sections: [
|
|
20
|
+
{
|
|
21
|
+
title: "Cookies estrictamente necesarias",
|
|
22
|
+
description: "Estas cookies son esenciales para el correcto funcionamiento del sitio y no pueden desactivarse (p. ej., seguridad, sesión).",
|
|
23
|
+
linkedCategory: "necessary"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Cookies de rendimiento y análisis",
|
|
27
|
+
description: "Estas cookies nos permiten contar las visitas y las fuentes de tráfico para que podamos medir y mejorar el rendimiento de nuestro sitio.",
|
|
28
|
+
linkedCategory: "analytics"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Cookies de funcionalidad",
|
|
32
|
+
description: "Estas cookies permiten que el sitio recuerde las opciones que usted realiza (como su nombre de usuario, idioma o la región en la que se encuentra).",
|
|
33
|
+
linkedCategory: "functionality"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Cookies de publicidad y marketing",
|
|
37
|
+
description: "Estas cookies se utilizan para ofrecer anuncios más relevantes para usted y sus intereses.",
|
|
38
|
+
linkedCategory: "marketing"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "Más información",
|
|
42
|
+
description: 'Para cualquier pregunta relacionada con nuestra Política de privacidad y sus opciones, por favor <a href="contacto">contáctenos</a>.'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as es
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
consentModal: {
|
|
3
|
+
title: "Nous utilisons des cookies",
|
|
4
|
+
description: "Nous utilisons des cookies pour améliorer votre expérience sur notre site.",
|
|
5
|
+
acceptAllBtn: "Tout accepter",
|
|
6
|
+
acceptNecessaryBtn: "Tout refuser",
|
|
7
|
+
showPreferencesBtn: "Gérer les préférences",
|
|
8
|
+
footer: `
|
|
9
|
+
<a href="politique-confidentialite">Politique de confidentialité</a>
|
|
10
|
+
<a href="mentions-legales">Mentions légales</a>
|
|
11
|
+
`
|
|
12
|
+
},
|
|
13
|
+
preferencesModal: {
|
|
14
|
+
title: "Centre de préférences",
|
|
15
|
+
savePreferencesBtn: "Enregistrer",
|
|
16
|
+
acceptAllBtn: "Tout accepter",
|
|
17
|
+
acceptNecessaryBtn: "Tout refuser",
|
|
18
|
+
closeIconLabel: "Fermer",
|
|
19
|
+
sections: [
|
|
20
|
+
{
|
|
21
|
+
title: "Cookies strictement nécessaires",
|
|
22
|
+
description: "Ces cookies sont indispensables au bon fonctionnement du site et ne peuvent pas être désactivés (ex: sécurité, session).",
|
|
23
|
+
linkedCategory: "necessary"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Cookies de performance et d’analyse",
|
|
27
|
+
description: "Ces cookies nous permettent de compter les visites et les sources de trafic afin que nous puissions mesurer et améliorer les performances de notre site.",
|
|
28
|
+
linkedCategory: "analytics"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Cookies de fonctionnalité",
|
|
32
|
+
description: "Ces cookies permettent au site de se souvenir de vos choix (comme votre nom d'utilisateur, votre langue ou la région où vous vous trouvez).",
|
|
33
|
+
linkedCategory: "functionality"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Cookies publicitaires et de marketing",
|
|
37
|
+
description: "Ces cookies sont utilisés pour diffuser des publicités plus pertinentes pour vous et vos centres d'intérêt.",
|
|
38
|
+
linkedCategory: "marketing"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "Plus d’informations",
|
|
42
|
+
description: 'Pour toute question relative à notre Politique de confidentialité et à vos choix, veuillez <a href="contact">nous contacter</a>.'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as fr
|
|
49
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
const a = ({
|
|
2
|
+
const r = ({
|
|
4
3
|
className: s = ""
|
|
5
4
|
}) => {
|
|
6
5
|
const o = `cookie-consent ${s}`.trim();
|
|
7
6
|
return /* @__PURE__ */ e("div", { className: o, children: "CookieConsent" });
|
|
8
7
|
};
|
|
9
8
|
export {
|
|
10
|
-
|
|
9
|
+
r as CookieConsent
|
|
11
10
|
};
|