@1024pix/epreuves-components 4.6.0 → 4.6.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/Button.ce-CsTDnAGh.js +31 -0
- package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-CUxXoH9n.js} +5 -5
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
- package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
- package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-DqVOTSTE.js} +7 -7
- package/dist/LLMMessage.ce-BM9ikl_y.js +98 -0
- package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
- package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
- package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-CIOKG2O0.js} +16 -14
- package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-DUSt6eGF.js} +59 -59
- package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-OnxaZNvT.js} +5 -5
- package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
- package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
- package/dist/components/analyse-mails-phishing.ce.js.js +110 -111
- package/dist/components/autocompletion-mdp.ce.js.js +92 -92
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +36 -36
- package/dist/components/capacity-calculation.ce.js.js +46 -43
- package/dist/components/clickable-image.ce.js.js +25 -25
- package/dist/components/complete-phrase.ce.js.js +50 -50
- package/dist/components/flip-cards.ce.js.js +21 -21
- package/dist/components/generate-mdp.ce.js.js +56 -56
- package/dist/components/image-quiz.ce.js.js +3 -3
- package/dist/components/image-quizzes.ce.js.js +3 -3
- package/dist/components/llm-compare-messages.ce.js.js +4 -4
- package/dist/components/llm-messages.ce.js.js +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/mdp-classement.ce.js.js +107 -115
- package/dist/components/message-conversation.ce.js.js +17 -17
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +136 -146
- package/dist/components/phishing-message.ce.js.js +89 -89
- package/dist/components/phishing-notification.ce.js.js +10 -10
- package/dist/components/pix-anonymisation.ce.js.js +75 -75
- package/dist/components/pix-article.ce.js.js +7 -7
- package/dist/components/pix-carousel.ce.js.js +24 -22
- package/dist/components/pix-combinaisons.ce.js.js +25 -25
- package/dist/components/pix-cursor.ce.js.js +33 -33
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +72 -84
- package/dist/components/qcm-deepfake.ce.js.js +31 -31
- package/dist/components/quiz-stepper.ce.js.js +66 -73
- package/dist/components/select-conversation.ce.js.js +4 -4
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +7 -7
- package/dist/components/trouver-mdp-rs.ce.js.js +154 -168
- package/dist/components/usages-donnees.ce.js.js +34 -34
- package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
- package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
- package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-KliaBWpC.js} +7 -7
- package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
- package/package.json +1 -1
- package/dist/Button.ce-C-lBihdF.js +0 -31
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
- package/dist/Feedback.ce-CeyQhenY.js +0 -26
- package/dist/LLMMessage.ce-DBorHEa1.js +0 -96
- package/dist/components/feedback.ce.js.js +0 -4
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as D, a as O, i as z, b as P } from "../i18n-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { l as U } from "../index-Ck6CFpiq.js";
|
|
1
|
+
import { b as q, o as r, c as b, t as B, a as l, x as u, l as A, _ as j, h as G, C as p, D as v, E as y, f as k, y as Q, r as h, g as f, d as R } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as D, a as O, i as z, b as P } from "../i18n-C-1Ne5JG.js";
|
|
3
|
+
import { _ as I, a as M, F as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
|
|
4
|
+
import { S as J } from "../Stepper.ce-MmSadTrx.js";
|
|
5
|
+
import { a as m, b as K } from "../normalize-props-DH0oPBss.js";
|
|
6
|
+
import { l as U } from "../index-C8-9QxHJ.js";
|
|
8
7
|
const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
9
8
|
"quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
|
|
10
|
-
}, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"],
|
|
9
|
+
}, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"], ae = ["for"], ie = {
|
|
11
10
|
key: 0,
|
|
12
11
|
class: "answer__subtitle"
|
|
13
12
|
}, le = { class: "answer__content" }, ce = /* @__PURE__ */ q({
|
|
@@ -24,72 +23,72 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
|
24
23
|
function t() {
|
|
25
24
|
s("select-answer", e.choice);
|
|
26
25
|
}
|
|
27
|
-
return (n,
|
|
26
|
+
return (n, a) => (r(), b("div", {
|
|
28
27
|
class: B(["answer", { "is-selected": e.isSelected, "is-disabled": e.showFeedback }])
|
|
29
28
|
}, [
|
|
30
29
|
l("input", {
|
|
31
|
-
type: "radio",
|
|
32
30
|
id: e.id,
|
|
31
|
+
type: "radio",
|
|
33
32
|
name: "choice",
|
|
34
33
|
"aria-disabled": e.showFeedback,
|
|
35
34
|
checked: e.isSelected,
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
class: "sr-only",
|
|
36
|
+
onChange: t
|
|
38
37
|
}, null, 40, oe),
|
|
39
38
|
l("label", { for: e.id }, [
|
|
40
|
-
e.choice.title ? (r(),
|
|
39
|
+
e.choice.title ? (r(), b("span", ie, u(e.choice.title), 1)) : A("", !0),
|
|
41
40
|
l("span", le, u(e.choice.content), 1)
|
|
42
|
-
], 8,
|
|
41
|
+
], 8, ae)
|
|
43
42
|
], 2));
|
|
44
43
|
}
|
|
45
|
-
}), re = ".answer{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.25em;border-radius:8px;border:1px solid #cdd1d9;background:#fff;color:var(--neutral-900);text-align:left;font-size:.875em}.answer label{cursor:pointer;height:100%;padding:1em}.answer.is-selected{border-radius:8px;border:1px solid #fff;background:var(--neutral-800);color:#fff}.answer__subtitle{font-size:1em;font-weight:700;line-height:24px;display:block}.answer__content{text-wrap-mode:wrap;white-space-collapse:preserve}.answer .is-disabled{cursor:not-allowed}.answer:focus-within{outline:2px solid black}", S = /* @__PURE__ */
|
|
44
|
+
}), re = ".answer{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.25em;border-radius:8px;border:1px solid #cdd1d9;background:#fff;color:var(--neutral-900);text-align:left;font-size:.875em}.answer label{cursor:pointer;height:100%;padding:1em}.answer.is-selected{border-radius:8px;border:1px solid #fff;background:var(--neutral-800);color:#fff}.answer__subtitle{font-size:1em;font-weight:700;line-height:24px;display:block}.answer__content{text-wrap-mode:wrap;white-space-collapse:preserve}.answer .is-disabled{cursor:not-allowed}.answer:focus-within{outline:2px solid black}", S = /* @__PURE__ */ j(ce, [["styles", [re]]]), ue = { class: "quiz-stepper-container__layout" }, de = ["aria-level"], pe = { class: "card-wrapper" }, fe = ["aria-disable"], me = /* @__PURE__ */ q({
|
|
46
45
|
__name: "QuizStepper.ce",
|
|
47
46
|
props: {
|
|
48
47
|
steps: { type: Array },
|
|
49
48
|
titleLevel: { default: 2, type: Number }
|
|
50
49
|
},
|
|
51
50
|
setup(e, { expose: c }) {
|
|
52
|
-
const s =
|
|
51
|
+
const s = h(0), t = h(), n = h(!1), a = G("form"), { t: g } = D(), i = f(() => e.steps?.[s.value]), _ = f(() => !n.value), C = f(() => {
|
|
53
52
|
const o = s.value === e.steps.length - 1;
|
|
54
53
|
return o ? o && !n.value : !0;
|
|
55
|
-
}),
|
|
56
|
-
function
|
|
54
|
+
}), F = f(() => _.value ? g("quiz-stepper.submitButton") : g("quiz-stepper.nextStepButton"));
|
|
55
|
+
function w(o) {
|
|
57
56
|
n.value || (t.value = o);
|
|
58
57
|
}
|
|
59
|
-
function
|
|
58
|
+
function N() {
|
|
60
59
|
if (s.value + 1 > e.steps.length) {
|
|
61
60
|
s.value = e.steps.length;
|
|
62
61
|
return;
|
|
63
62
|
}
|
|
64
|
-
s.value++, n.value = !1, t.value = void 0,
|
|
65
|
-
}
|
|
66
|
-
function N() {
|
|
67
|
-
t.value && (n.value = !0, s.value + 1 === e.steps.length && i.value?.focus());
|
|
63
|
+
s.value++, n.value = !1, t.value = void 0, a.value?.focus();
|
|
68
64
|
}
|
|
69
65
|
function T() {
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
t.value && (n.value = !0, s.value + 1 === e.steps.length && a.value?.focus());
|
|
67
|
+
}
|
|
68
|
+
function E() {
|
|
69
|
+
if (_.value) {
|
|
70
|
+
T();
|
|
72
71
|
return;
|
|
73
72
|
}
|
|
74
|
-
|
|
73
|
+
N();
|
|
75
74
|
}
|
|
76
|
-
function
|
|
75
|
+
function x(o) {
|
|
77
76
|
return o.content ? o.content === t.value?.content : o.title === t.value?.title;
|
|
78
77
|
}
|
|
79
|
-
function
|
|
78
|
+
function L() {
|
|
80
79
|
s.value = 0, t.value = void 0, n.value = !1;
|
|
81
80
|
}
|
|
82
81
|
return c({
|
|
83
|
-
reset:
|
|
84
|
-
}), (o, d) => (r(),
|
|
85
|
-
class: "quiz-stepper-container",
|
|
86
|
-
onSubmit: Q(T, ["prevent"]),
|
|
82
|
+
reset: L
|
|
83
|
+
}), (o, d) => (r(), b("form", {
|
|
87
84
|
ref_key: "form",
|
|
88
|
-
ref:
|
|
89
|
-
|
|
85
|
+
ref: a,
|
|
86
|
+
class: "quiz-stepper-container",
|
|
87
|
+
tabindex: "-1",
|
|
88
|
+
onSubmit: Q(E, ["prevent"])
|
|
90
89
|
}, [
|
|
91
90
|
l("div", ue, [
|
|
92
|
-
|
|
91
|
+
p(J, {
|
|
93
92
|
step: s.value,
|
|
94
93
|
"steps-count": e.steps.length
|
|
95
94
|
}, null, 8, ["step", "steps-count"]),
|
|
@@ -99,80 +98,74 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
|
99
98
|
role: "heading",
|
|
100
99
|
"aria-level": e.titleLevel,
|
|
101
100
|
class: "question"
|
|
102
|
-
}, u(
|
|
101
|
+
}, u(i.value.question), 9, de)
|
|
103
102
|
]),
|
|
104
103
|
l("div", pe, [
|
|
105
|
-
|
|
104
|
+
p(S, {
|
|
106
105
|
id: "choice1",
|
|
107
|
-
choice:
|
|
106
|
+
choice: i.value.choice1,
|
|
108
107
|
"show-feedback": n.value,
|
|
109
|
-
"is-selected":
|
|
110
|
-
onSelectAnswer: d[0] || (d[0] = (
|
|
108
|
+
"is-selected": x(i.value.choice1),
|
|
109
|
+
onSelectAnswer: d[0] || (d[0] = (V) => w(i.value.choice1))
|
|
111
110
|
}, null, 8, ["choice", "show-feedback", "is-selected"]),
|
|
112
|
-
|
|
111
|
+
p(S, {
|
|
113
112
|
id: "choice2",
|
|
114
|
-
choice:
|
|
113
|
+
choice: i.value.choice2,
|
|
115
114
|
"show-feedback": n.value,
|
|
116
|
-
"is-selected":
|
|
117
|
-
onSelectAnswer: d[1] || (d[1] = (
|
|
115
|
+
"is-selected": x(i.value.choice2),
|
|
116
|
+
onSelectAnswer: d[1] || (d[1] = (V) => w(i.value.choice2))
|
|
118
117
|
}, null, 8, ["choice", "show-feedback", "is-selected"])
|
|
119
118
|
])
|
|
120
119
|
]),
|
|
121
|
-
n.value
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
t.value?.isGoodAnswer ? (
|
|
127
|
-
key: 0,
|
|
128
|
-
class: "icon-size"
|
|
129
|
-
})) : (r(), h(H, {
|
|
130
|
-
key: 1,
|
|
131
|
-
class: "icon-size"
|
|
132
|
-
}))
|
|
120
|
+
p(H, { "display-feedback": n.value }, {
|
|
121
|
+
icon: v(() => [
|
|
122
|
+
t.value?.isGoodAnswer ? (r(), k(I, { key: 0 })) : (r(), k(M, { key: 1 }))
|
|
123
|
+
]),
|
|
124
|
+
title: v(() => [
|
|
125
|
+
y(u(t.value?.isGoodAnswer ? o.$t("quiz-stepper.feedback.success") : o.$t("quiz-stepper.feedback.failed")), 1)
|
|
133
126
|
]),
|
|
134
|
-
content:
|
|
135
|
-
|
|
127
|
+
content: v(() => [
|
|
128
|
+
y(u(t.value?.isGoodAnswer ? i.value.feedback.success : i.value.feedback.failed), 1)
|
|
136
129
|
]),
|
|
137
130
|
_: 1
|
|
138
|
-
}, 8, ["
|
|
139
|
-
|
|
140
|
-
key:
|
|
131
|
+
}, 8, ["display-feedback"]),
|
|
132
|
+
C.value ? (r(), b("button", {
|
|
133
|
+
key: 0,
|
|
141
134
|
type: "submit",
|
|
142
135
|
class: B(["submit-button", { "is-disabled": !t.value }]),
|
|
143
136
|
"aria-disable": !t.value
|
|
144
|
-
}, u(
|
|
137
|
+
}, u(F.value), 11, fe)) : A("", !0)
|
|
145
138
|
])
|
|
146
139
|
], 544));
|
|
147
140
|
}
|
|
148
|
-
}), be = "*{--neutral-800: #253858;--neutral-900: #122647;font-family:Roboto,sans-serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.
|
|
141
|
+
}), be = "*{--neutral-800: #253858;--neutral-900: #122647;font-family:Roboto,sans-serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.quiz-stepper-container{display:flex;flex-direction:column;align-items:center;color:var(--neutral-800)}.quiz-stepper-container button{cursor:pointer}.quiz-stepper-container fieldset{border:none}.quiz-stepper-container legend{margin-bottom:1.5em}.quiz-stepper-container__layout{width:80%;display:flex;flex-direction:column;gap:1.5em;align-items:center;padding:1.5em 1em}.quiz-stepper-container .question{color:var(--neutral-900);text-align:center;font-family:Nunito;font-size:1.25em;font-style:normal;font-weight:700;line-height:28px}.quiz-stepper-container .card-wrapper{display:flex;padding:1.5em;justify-content:center;gap:1.5em;border-radius:16px;background:#f4f5f7;width:calc(100% - 3em)}.quiz-stepper-container .submit-button{display:flex;padding:.5em 1.5em;justify-content:center;align-items:center;gap:.5em;border-radius:8px;background:#253858;border:none;color:#fff;font-weight:700}.quiz-stepper-container .submit-button.is-disabled{background:#cdd1d9;cursor:not-allowed}@media screen and (max-width:630px){.quiz-stepper-container__layout{width:calc(100% - 1em);padding:1em .5em}.quiz-stepper-container .card-wrapper{padding:1em;flex-direction:column;width:calc(100% - 2em)}}", ve = /* @__PURE__ */ j(me, [["styles", [be]]]);
|
|
149
142
|
O(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": W, "./locales/en.json": X, "./locales/es-419.json": Y, "./locales/es.json": Z, "./locales/fr-BE.json": ee, "./locales/fr.json": te, "./locales/it.json": ne, "./locales/nl.json": se })).catch((e) => console.error(e));
|
|
150
143
|
U();
|
|
151
|
-
const
|
|
144
|
+
const $ = R(ve, {
|
|
152
145
|
configureApp(e) {
|
|
153
146
|
z.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(P, { i18next: z });
|
|
154
147
|
}
|
|
155
148
|
});
|
|
156
|
-
|
|
149
|
+
$.prototype.normalizeProps = (e) => {
|
|
157
150
|
let { steps: c, titleLevel: s } = e;
|
|
158
151
|
return c = c.map((t) => {
|
|
159
|
-
let { choice1: n, choice2:
|
|
152
|
+
let { choice1: n, choice2: a } = t;
|
|
160
153
|
return n = {
|
|
161
154
|
...t.choice1,
|
|
162
|
-
title:
|
|
163
|
-
content:
|
|
164
|
-
},
|
|
155
|
+
title: m(n.title),
|
|
156
|
+
content: m(n.content)
|
|
157
|
+
}, a = {
|
|
165
158
|
...t.choice2,
|
|
166
|
-
title:
|
|
167
|
-
content:
|
|
159
|
+
title: m(a.title),
|
|
160
|
+
content: m(a.content)
|
|
168
161
|
}, {
|
|
169
162
|
...t,
|
|
170
163
|
choice1: n,
|
|
171
|
-
choice2:
|
|
164
|
+
choice2: a
|
|
172
165
|
};
|
|
173
166
|
}), {
|
|
174
167
|
steps: c,
|
|
175
168
|
titleLevel: K(s)
|
|
176
169
|
};
|
|
177
170
|
};
|
|
178
|
-
window.customElements.define("quiz-stepper",
|
|
171
|
+
window.customElements.define("quiz-stepper", $);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as j, i as _, b as L } from "../i18n-
|
|
1
|
+
import { b as w, r as g, o as n, c as i, a as e, x as a, v as l, t as z, E as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { a as j, i as _, b as L } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { b as S } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
import { t as f, a as F, q as $ } from "../temporal.utils-DgmGPVba.js";
|
|
5
|
-
const B = {},
|
|
5
|
+
const B = {}, E = {}, I = {}, N = {}, q = {}, A = {
|
|
6
6
|
"select-conversation": { "select-response-title": "Sélectionnez le message que {{username}} devrait envoyer :", "message-date": "{{messageDay, relativetime(numeric: auto)}} · {{messageTime, datetime(timeStyle: short)}}", "incoming-message-sr": "Message de {{username}} reçu {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "outgoing-message-sr": "Message envoyé par {{username}} {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "good-idea": "Bonne idée", "bad-idea": "Mauvaise idée" }
|
|
7
7
|
}, R = {}, O = {}, V = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20448%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M434.8%2070.1c14.3%2010.4%2017.5%2030.4%207.1%2044.7l-256%20352c-5.5%207.6-14%2012.3-23.4%2013.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8%200-45.3s32.8-12.5%2045.3%200l101.5%20101.5%20234-321.7c10.4-14.3%2030.4-17.5%2044.7-7.1z'/%3e%3c/svg%3e", H = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M256%2048a208%20208%200%201%201%200%20416%20208%20208%200%201%201%200-416zm0%20464a256%20256%200%201%200%200-512%20256%20256%200%201%200%200%20512zM167%20167c-9.4%209.4-9.4%2024.6%200%2033.9l55%2055-55%2055c-9.4%209.4-9.4%2024.6%200%2033.9s24.6%209.4%2033.9%200l55-55%2055%2055c9.4%209.4%2024.6%209.4%2033.9%200s9.4-24.6%200-33.9l-55-55%2055-55c9.4-9.4%209.4-24.6%200-33.9s-24.6-9.4-33.9%200l-55%2055-55-55c-9.4-9.4-24.6-9.4-33.9%200z'/%3e%3c/svg%3e", G = { class: "messages" }, P = { class: "message" }, X = {
|
|
8
8
|
class: "message__username",
|
|
@@ -91,7 +91,7 @@ const B = {}, I = {}, N = {}, A = {}, E = {}, q = {
|
|
|
91
91
|
], 64));
|
|
92
92
|
}
|
|
93
93
|
}), me = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,dialog{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.messages,.response-select{--primary-font-size: .875rem;--secondary-font-size: .75rem}*{font-family:Roboto,sans-serif;color:#122647;line-height:normal}.messages{display:flex;flex-direction:column;gap:8px;padding:16px}.message{display:flex;flex-direction:column;align-items:start;gap:8px;margin-left:0;margin-right:16px}.message__username,.message__date{color:#5e6c84;font-size:var(--secondary-font-size);font-weight:400}.message__content{padding:16px 8px;border-radius:8px;background:#e8e8e8;font-size:var(--primary-font-size);font-weight:400}.message--hidden{visibility:hidden}.message--outgoing{align-self:end;align-items:end;margin-left:16px;margin-right:0}.message--outgoing .message__content-container{display:flex;flex-direction:column}.message--outgoing .message__content-title{color:#fff;font-size:var(--secondary-font-size);font-weight:700;border-radius:8px 8px 0 0;background:#452d9d;padding:4px 8px;align-self:start;display:flex;gap:4px;align-items:center}.message--outgoing .message__content-title>img{filter:invert(100%);max-height:16px;max-width:16px}.message--outgoing .message__content{border-top-left-radius:0;background:#cec3f4}.response-select{border-radius:16px;border:1px solid #cdd1d9;background-color:#fff;display:flex;padding:24px 16px;flex-direction:column;gap:16px;margin-top:25px}.response-select__choices{display:flex;gap:8px}.response-select__choice{border-style:none;border-radius:8px;background-color:#253858;padding:8px 16px;color:#fff;text-align:center;font-size:var(--primary-font-size);font-weight:400;line-height:18px;flex:1;cursor:pointer}.response-select__choice[aria-disabled=true]{background-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.response-select__feedback{border-radius:8px;background:#eaf1ff;padding:8px;color:#122647;font-size:var(--secondary-font-size);font-weight:400;line-height:20px}.title{font-family:Nunito,Roboto,sans-serif;font-size:var(--primary-font-size);font-weight:700}@media(max-width:640px){.messages,.response-select{--primary-font-size: .75rem;--secondary-font-size: .688rem}.response-select__choices{flex-direction:column}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", ge = /* @__PURE__ */ D(de, [["styles", [me]]]);
|
|
94
|
-
j(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": B, "./locales/en.json":
|
|
94
|
+
j(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": B, "./locales/en.json": E, "./locales/es-419.json": I, "./locales/es.json": N, "./locales/fr-BE.json": q, "./locales/fr.json": A, "./locales/it.json": R, "./locales/nl.json": O })).catch((s) => console.error(s));
|
|
95
95
|
const h = C(ge, {
|
|
96
96
|
configureApp(s) {
|
|
97
97
|
_.changeLanguage(document?.documentElement?.lang || navigator.language), s.use(L, { i18next: _ });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as r, a as m, b as _, c as p, d as c, e as u, f as d, g } from "../nl-euPrf5s3.js";
|
|
2
2
|
import { u as v, a as b, b as f } from "../normalize-props-DH0oPBss.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as t } from "../i18n-lite-
|
|
5
|
-
import { P as C } from "../PixMailMessage.ce-
|
|
3
|
+
import { b as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
4
|
+
import { i as t } from "../i18n-lite-WQsHAHqG.js";
|
|
5
|
+
import { P as C } from "../PixMailMessage.ce-DUSt6eGF.js";
|
|
6
6
|
const S = /* @__PURE__ */ j({
|
|
7
7
|
__name: "TemplateMail.ce",
|
|
8
8
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as S, i as v } from "../i18n-lite-
|
|
1
|
+
import { b as $, K as B, o as c, c as p, a as e, x as n, A as H, F as h, e as N, t as w, E as k, v as m, l as y, C as P, D as A, g as r, r as C, _ as E, d as I } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as S, i as v } from "../i18n-lite-WQsHAHqG.js";
|
|
3
3
|
const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
|
|
4
4
|
"test-top-mdp": { passwords: { title: "Top {{count}} des mots de passe en France" }, loginForm: { title: "Connexion", login: "Identifiant", loginValue: "Ulysse", password: "Mot de passe", passwordPlaceholder: "Séléctionnez un mot de passe...", submit: "Tester", attemptsCount: "Nombre d’essais : {{count}}" }, feedback: { positive: { title_one: "{{feedback}} en un essai.", title_other: "{{feedback}} en {{count}} essais." } } }
|
|
5
|
-
}, U = {}, q = {}, J = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2011.25V12.75M4.5%2015.75H13.5C13.8978%2015.75%2014.2794%2015.592%2014.5607%2015.3107C14.842%2015.0294%2015%2014.6478%2015%2014.25V9.75C15%209.35218%2014.842%208.97064%2014.5607%208.68934C14.2794%208.40804%2013.8978%208.25%2013.5%208.25H4.5C4.10218%208.25%203.72064%208.40804%203.43934%208.68934C3.15804%208.97064%203%209.35218%203%209.75V14.25C3%2014.6478%203.15804%2015.0294%203.43934%2015.3107C3.72064%2015.592%204.10218%2015.75%204.5%2015.75ZM12%208.25V5.25C12%204.45435%2011.6839%203.69129%2011.1213%203.12868C10.5587%202.56607%209.79565%202.25%209%202.25C8.20435%202.25%207.44129%202.56607%206.87868%203.12868C6.31607%203.69129%206%204.45435%206%205.25V8.25H12Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Q = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.5%207L9.5%2017L4.5%2012'%20stroke='%23007740'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", W = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.875%207.125L7.125%2016.875M7.125%207.125L16.875%2016.875'%20stroke='%23A94B0C'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", X = { class: "container" }, Y = { class: "card" }, ee = ["arial-level"], te = ["
|
|
5
|
+
}, U = {}, q = {}, J = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2011.25V12.75M4.5%2015.75H13.5C13.8978%2015.75%2014.2794%2015.592%2014.5607%2015.3107C14.842%2015.0294%2015%2014.6478%2015%2014.25V9.75C15%209.35218%2014.842%208.97064%2014.5607%208.68934C14.2794%208.40804%2013.8978%208.25%2013.5%208.25H4.5C4.10218%208.25%203.72064%208.40804%203.43934%208.68934C3.15804%208.97064%203%209.35218%203%209.75V14.25C3%2014.6478%203.15804%2015.0294%203.43934%2015.3107C3.72064%2015.592%204.10218%2015.75%204.5%2015.75ZM12%208.25V5.25C12%204.45435%2011.6839%203.69129%2011.1213%203.12868C10.5587%202.56607%209.79565%202.25%209%202.25C8.20435%202.25%207.44129%202.56607%206.87868%203.12868C6.31607%203.69129%206%204.45435%206%205.25V8.25H12Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Q = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.5%207L9.5%2017L4.5%2012'%20stroke='%23007740'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", W = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.875%207.125L7.125%2016.875M7.125%207.125L16.875%2016.875'%20stroke='%23A94B0C'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", X = { class: "container" }, Y = { class: "card" }, ee = ["arial-level"], te = ["aria-disabled", "aria-selected", "onClick"], oe = { class: "password" }, se = { class: "card" }, ne = ["arial-level"], le = { class: "lock-icon" }, ae = ["src"], ie = { class: "form" }, re = { class: "form__field" }, de = { for: "login" }, ce = ["value"], pe = { class: "form__field" }, ue = { for: "password" }, fe = ["value", "placeholder"], ge = ["src"], _e = ["aria-disabled"], me = { class: "attempts-count" }, ve = { class: "attempts-count__count" }, be = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "feedback",
|
|
8
8
|
"aria-live": "polite"
|
|
9
|
-
}, xe = ["arial-level", "innerHTML"], he = ["innerHTML"], we = /* @__PURE__ */
|
|
9
|
+
}, xe = ["arial-level", "innerHTML"], he = ["innerHTML"], we = /* @__PURE__ */ $({
|
|
10
10
|
__name: "TestTopMdp.ce",
|
|
11
11
|
props: {
|
|
12
12
|
titleLevel: { type: Number },
|
|
@@ -42,7 +42,7 @@ const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
|
|
|
42
42
|
return j({
|
|
43
43
|
reset: F
|
|
44
44
|
}), (t, x) => {
|
|
45
|
-
const V =
|
|
45
|
+
const V = B("i18n");
|
|
46
46
|
return c(), p(h, null, [
|
|
47
47
|
e("div", X, [
|
|
48
48
|
e("div", Y, [
|
|
@@ -57,13 +57,13 @@ const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
|
|
|
57
57
|
}, [
|
|
58
58
|
(c(!0), p(h, null, N(_.value, (o, z) => (c(), p("button", {
|
|
59
59
|
key: o.password,
|
|
60
|
-
onClick: (Ce) => T(o),
|
|
61
60
|
class: w({
|
|
62
61
|
selected: o.selected || o.attempted && o.expected,
|
|
63
62
|
disabled: o.attempted && !o.expected
|
|
64
63
|
}),
|
|
65
64
|
"aria-disabled": a.value || o.attempted,
|
|
66
|
-
"aria-selected": o.selected
|
|
65
|
+
"aria-selected": o.selected,
|
|
66
|
+
onClick: (Ce) => T(o)
|
|
67
67
|
}, [
|
|
68
68
|
k(" #" + n(z + 1) + " ", 1),
|
|
69
69
|
e("span", oe, n(o.password), 1)
|