@1024pix/epreuves-components 4.6.1 → 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-Bo42SFAP.js → ButtonTooltip.ce-CUxXoH9n.js} +4 -4
- package/dist/{Icon.ce-Be0LymfA.js → Icon.ce-DqVOTSTE.js} +7 -7
- package/dist/{LLMMessage.ce-y0WmEj7m.js → LLMMessage.ce-BM9ikl_y.js} +3 -3
- package/dist/{NavigationButton.ce-B-c0m9H8.js → NavigationButton.ce-CIOKG2O0.js} +3 -3
- package/dist/{PixMailMessage.ce-CH6CVQ3H.js → PixMailMessage.ce-DUSt6eGF.js} +52 -52
- package/dist/{Popin.ce-CQtpIOkM.js → Popin.ce-OnxaZNvT.js} +3 -3
- package/dist/components/analyse-mails-phishing.ce.js.js +6 -6
- package/dist/components/autocompletion-mdp.ce.js.js +79 -79
- package/dist/components/button.ce.js.js +1 -1
- package/dist/components/calcul-impact.ce.js.js +34 -34
- package/dist/components/capacity-calculation.ce.js.js +20 -20
- package/dist/components/clickable-image.ce.js.js +18 -18
- package/dist/components/complete-phrase.ce.js.js +41 -41
- package/dist/components/flip-cards.ce.js.js +18 -18
- package/dist/components/generate-mdp.ce.js.js +23 -23
- package/dist/components/image-quiz.ce.js.js +1 -1
- package/dist/components/image-quizzes.ce.js.js +1 -1
- package/dist/components/llm-compare-messages.ce.js.js +2 -2
- package/dist/components/llm-messages.ce.js.js +1 -1
- package/dist/components/llm-prompt-select.ce.js.js +1 -1
- package/dist/components/mdp-classement.ce.js.js +13 -13
- package/dist/components/message-conversation.ce.js.js +2 -2
- package/dist/components/notification-antivirus.ce.js.js +62 -62
- package/dist/components/phishing-message.ce.js.js +81 -81
- package/dist/components/phishing-notification.ce.js.js +9 -9
- package/dist/components/pix-anonymisation.ce.js.js +72 -72
- package/dist/components/pix-article.ce.js.js +6 -6
- package/dist/components/pix-carousel.ce.js.js +16 -16
- package/dist/components/pix-combinaisons.ce.js.js +14 -14
- package/dist/components/pix-cursor.ce.js.js +28 -28
- package/dist/components/pix-mail-message.ce.js.js +1 -1
- package/dist/components/proteger-mail-spam.ce.js.js +6 -6
- package/dist/components/qcm-deepfake.ce.js.js +26 -26
- package/dist/components/quiz-stepper.ce.js.js +6 -6
- package/dist/components/template-mail.ce.js.js +1 -1
- package/dist/components/test-top-mdp.ce.js.js +3 -3
- package/dist/components/trouver-mdp-rs.ce.js.js +125 -125
- package/dist/components/usages-donnees.ce.js.js +30 -30
- package/dist/{image-quiz.ce-DGVVVaQN.js → image-quiz.ce-KliaBWpC.js} +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/Button.ce-Ccv3OLk2.js +0 -31
|
@@ -2,16 +2,16 @@ import { b as T, h as S, o as c, c as N, a as u, x as r, C as p, D as d, E as g,
|
|
|
2
2
|
import { u as V, i as _ } from "../i18n-lite-WQsHAHqG.js";
|
|
3
3
|
import { S as D } from "../Stepper.ce-MmSadTrx.js";
|
|
4
4
|
import { _ as F, a as I, F as K } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
|
|
5
|
-
import { P as G } from "../Popin.ce-
|
|
6
|
-
import { B as H } from "../Button.ce-
|
|
7
|
-
import { P as J } from "../PixMailMessage.ce-
|
|
5
|
+
import { P as G } from "../Popin.ce-OnxaZNvT.js";
|
|
6
|
+
import { B as H } from "../Button.ce-CsTDnAGh.js";
|
|
7
|
+
import { P as J } from "../PixMailMessage.ce-DUSt6eGF.js";
|
|
8
8
|
import { p as Q } from "../shadow-dom-DSLDIcsa.js";
|
|
9
9
|
import { u as w, a as U, b as W } from "../normalize-props-DH0oPBss.js";
|
|
10
10
|
const X = {}, Y = {}, Z = {}, ee = {}, te = {}, oe = {
|
|
11
11
|
"proteger-mail-spam": { step: "Étape {{step}} sur {{totalStep}}", mailRecipent: "À moi", nextStepButton: "Continuer", successPopin: { title: "Se protéger, mais protéger aussi les autres.", content: "Dans le prochain exemple, l’interface dispose d'avantage de possibilités.", buttonLabel: "Suivant" }, feedback: { titleOk: "Bonne décision", titleKo: "Mauvais choix", step1: { reply: "Répondre confirme votre adresse mail et peut encourager l’escroc. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque, et ne vous empêche pas de recevoir d’autres mails de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", delete: "Supprimer ce message ne vous empêche pas d’en recevoir d’autres de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", blockSender: "En choisissant de bloquer l’expéditeur, vous ne recevrez plus de message de cet expéditeur." }, step2: { reply: "Répondre valide votre adresse mail et ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", delete: "Supprimer ce message ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", blockSender: "En choisissant de bloquer l’expéditeur, vous vous protégez de cet escroc mais vous ne protégez pas les autres. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", reportSpam: " En signalant ce message, vous vous protégez et vous contribuez à la protection des autres, car cela améliore les filtres anti-spam de tous les utilisateurs." } } }
|
|
12
12
|
}, ne = {}, ae = {}, se = {
|
|
13
|
-
class: "main-container",
|
|
14
13
|
ref: "container",
|
|
14
|
+
class: "main-container",
|
|
15
15
|
tabindex: "-1"
|
|
16
16
|
}, ie = ["aria-level"], re = { class: "header__description" }, le = /* @__PURE__ */ T({
|
|
17
17
|
__name: "ProtegerMailSpam.ce",
|
|
@@ -78,8 +78,8 @@ const X = {}, Y = {}, Z = {}, ee = {}, te = {}, oe = {
|
|
|
78
78
|
i.value && !h.value ? (c(), v(H, {
|
|
79
79
|
key: 0,
|
|
80
80
|
ref: "continue-button",
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
class: "next-button",
|
|
82
|
+
onClick: y[0] || (y[0] = (pe) => l.value = !0)
|
|
83
83
|
}, {
|
|
84
84
|
default: d(() => [
|
|
85
85
|
g(r(m(e)("proteger-mail-spam.nextStepButton")), 1)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as y, o, c as i, a as s, x as
|
|
1
|
+
import { b as y, o, c as i, a as s, x as d, l as v, t as w, g as b, _, N as R, H as A, S as O, E as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, C as k, X as U, D as H, y as W, d as X } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
2
|
import { i as a, a as J, b as K } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { R as Y } from "../Retry-DLOo5neI.js";
|
|
4
4
|
import { b as Z } from "../normalize-props-DH0oPBss.js";
|
|
5
5
|
const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
6
6
|
"qcm-deepfake": { options: ["une photo de sa chanteuse préférée", "une chanson de sa chanteuse préférée", "les partitions de la chanson", "une photo de Caroline", "un enregistrement de Caroline qui dit quelques phrases"], iaResultInfo: "Retrouvez ici les résultats du logiciel d'IA générative :", iaResultGenerated: "Résultat généré par le logiciel d'IA générative", in: "Entrée", out: "Sortie", waiting: "Logiciel d'IA générative", selectThreeElements: "Sélectionnez 3 éléments pour générer la vidéo de Caroline :", generateVideo: "Générer la vidéo !", loading: "Chargement…", restart: "Recommencer", element_one: "élément", element_other: "éléments", generateVideoInfo_one: "Plus que {{count}} élément", generateVideoInfo_other: "Plus que {{count}} éléments", restartInfo: "Essayez avec de nouveaux éléments", success: { title: "Bien joué !", description: "C'est bien la vidéo de Caroline. Vous avez utilisé les bons éléments." }, fail: { title: "Pas exactement…", description: "Le résultat ne convient pas. Recommencez en changeant les éléments en entrée." } }
|
|
7
|
-
}, re = {}, se = {}, le = ["aria-hidden"],
|
|
7
|
+
}, re = {}, se = {}, le = ["aria-hidden"], ce = ["aria-level"], de = ["src"], ue = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "description"
|
|
10
10
|
}, pe = ["src"], ge = ["aria-level"], fe = /* @__PURE__ */ y({
|
|
@@ -28,13 +28,13 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
28
28
|
class: "subtitle",
|
|
29
29
|
role: "heading",
|
|
30
30
|
"aria-level": e.titleLevel
|
|
31
|
-
},
|
|
31
|
+
}, d(n.value), 9, ce),
|
|
32
32
|
e.type === "search" ? (o(), i("img", {
|
|
33
33
|
key: 0,
|
|
34
34
|
src: e.image,
|
|
35
35
|
alt: ""
|
|
36
|
-
}, null, 8,
|
|
37
|
-
e.type === "success" || e.type === "fail" ? (o(), i("p", ue,
|
|
36
|
+
}, null, 8, de)) : v("", !0),
|
|
37
|
+
e.type === "success" || e.type === "fail" ? (o(), i("p", ue, d(e.title), 1)) : v("", !0),
|
|
38
38
|
e.type !== "search" ? (o(), i("img", {
|
|
39
39
|
key: 2,
|
|
40
40
|
src: e.image,
|
|
@@ -48,12 +48,12 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
48
48
|
class: "answer-block__title",
|
|
49
49
|
role: "heading",
|
|
50
50
|
"aria-level": e.titleLevel + 1
|
|
51
|
-
},
|
|
52
|
-
s("p", null,
|
|
51
|
+
}, d(e.messageTitle), 9, ge),
|
|
52
|
+
s("p", null, d(e.messageDescription), 1)
|
|
53
53
|
], 2)) : v("", !0)
|
|
54
54
|
], 8, le));
|
|
55
55
|
}
|
|
56
|
-
}), me = ".right-container[data-v-
|
|
56
|
+
}), me = ".right-container[data-v-0a30902c]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-0a30902c]{visibility:hidden}img[data-v-0a30902c]{margin-block:.5rem}.subtitle[data-v-0a30902c]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-0a30902c]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-0a30902c]{width:200px;height:auto}.answer-block[data-v-0a30902c]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-0a30902c]{margin-bottom:0}.answer-block.success[data-v-0a30902c]{background:#e8f3ef}.answer-block.fail[data-v-0a30902c]{border-radius:16px;background:#fbecec}", ve = /* @__PURE__ */ _(fe, [["styles", [me]], ["__scopeId", "data-v-0a30902c"]]), be = ["aria-disabled"], he = /* @__PURE__ */ y({
|
|
57
57
|
__name: "Option.ce",
|
|
58
58
|
props: /* @__PURE__ */ P({
|
|
59
59
|
option: { type: String },
|
|
@@ -79,18 +79,18 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
79
79
|
class: w({ selected: l.value, disabled: t.value })
|
|
80
80
|
}, [
|
|
81
81
|
A(s("input", {
|
|
82
|
+
"onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g),
|
|
82
83
|
type: "checkbox",
|
|
83
84
|
name: "options",
|
|
84
|
-
onClick: h,
|
|
85
85
|
"aria-disabled": t.value,
|
|
86
|
-
|
|
86
|
+
onClick: h
|
|
87
87
|
}, null, 8, be), [
|
|
88
88
|
[O, l.value]
|
|
89
89
|
]),
|
|
90
|
-
V(
|
|
90
|
+
V(d(e.option), 1)
|
|
91
91
|
], 2));
|
|
92
92
|
}
|
|
93
|
-
}), ye = ".selected[data-v-
|
|
93
|
+
}), ye = ".selected[data-v-ce61a014]{background:#f7f5ff}.disabled[data-v-ce61a014]{cursor:not-allowed;background:#efefef}.disabled.selected[data-v-ce61a014]{background:#d6d5dd}", _e = /* @__PURE__ */ _(he, [["styles", [ye]], ["__scopeId", "data-v-ce61a014"]]), ke = /* @__PURE__ */ y({
|
|
94
94
|
__name: "Button.ce",
|
|
95
95
|
props: {
|
|
96
96
|
label: { type: String },
|
|
@@ -101,7 +101,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
101
101
|
class: w(["epreuve-button", e.state])
|
|
102
102
|
}, [
|
|
103
103
|
G(u.$slots, "icon"),
|
|
104
|
-
V(" " +
|
|
104
|
+
V(" " + d(e.label), 1)
|
|
105
105
|
], 2));
|
|
106
106
|
}
|
|
107
107
|
}), xe = ".epreuve-button{--pix-neutral-0: #fff;--pix-neutral-800: #253858;--pix-neutral-900: #122647;--pix-secondary-500: #ffcb33;--pix-secondary-700: #a16206}.epreuve-button.primary{--background-color: var(--pix-neutral-800);--background-color-hover: var(--pix-neutral-900);--color: var(--pix-neutral-0);--color-hover: var(--pix-neutral-0)}.epreuve-button.warning{--background-color: var(--pix-secondary-500);--background-color-hover: var(--pix-secondary-700);--color: var(--pix-neutral-900);--color-hover: var(--pix-neutral-0)}.epreuve-button.primary,.epreuve-button.warning{align-items:center;background-color:var(--background-color);border:2px solid transparent;border-radius:8px;color:var(--color);cursor:pointer;display:flex;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;justify-content:center;gap:8px;line-height:24px;margin:0 auto;outline:none;padding:8px 24px;transition:background-color ease .5s,color ease .5s;width:fit-content;white-space:nowrap}:is(.epreuve-button.primary,.epreuve-button.warning)[aria-disabled=true]{cursor:not-allowed;opacity:.5}:is(.epreuve-button.primary,.epreuve-button.warning):not([aria-disabled=true]):hover{background-color:var(--background-color-hover);color:var(--color-hover);transition:background-color ease .5s,color ease .5s}:is(.epreuve-button.primary,.epreuve-button.warning):not([aria-disabled=true]):hover svg{color:var(--color-hover);transition:color ease .5s}:is(.epreuve-button.primary,.epreuve-button.warning):focus,:is(.epreuve-button.primary,.epreuve-button.warning):focus-visible{background-color:var(--background-color-hover);color:var(--color-hover);outline:1px solid var(--pix-neutral-0);outline-offset:-5px}", we = /* @__PURE__ */ _(ke, [["styles", [xe]]]), Se = { class: "container" }, qe = { class: "left-side" }, Ie = ["aria-level"], $e = { class: "sr-only" }, Ce = { class: "left-side__action" }, Ve = {
|
|
@@ -123,7 +123,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
123
123
|
searchDelay: { default: 3e3, type: Number }
|
|
124
124
|
},
|
|
125
125
|
setup(e, { expose: u }) {
|
|
126
|
-
const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((
|
|
126
|
+
const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((c, r) => `${m[r]} ${c}`), D = g.filter((c, r) => l.includes(r + 1)), T = [
|
|
127
127
|
{
|
|
128
128
|
type: "info",
|
|
129
129
|
image: e.infoImage
|
|
@@ -151,32 +151,32 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
151
151
|
return S.value ? !1 : t.value === "info" ? L() : q();
|
|
152
152
|
}
|
|
153
153
|
function q() {
|
|
154
|
-
h.value.forEach((
|
|
155
|
-
|
|
154
|
+
h.value.forEach((c) => {
|
|
155
|
+
c.isChecked = !1;
|
|
156
156
|
}), n.value = [], t.value = "info";
|
|
157
157
|
}
|
|
158
158
|
async function L() {
|
|
159
|
-
const
|
|
160
|
-
t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)),
|
|
159
|
+
const c = n.value.every((r) => D.includes(r.trim()));
|
|
160
|
+
t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), c ? t.value = "success" : t.value = "fail";
|
|
161
161
|
}
|
|
162
162
|
return u({
|
|
163
163
|
reset: q
|
|
164
|
-
}), (
|
|
164
|
+
}), (c, r) => (o(), i("div", Se, [
|
|
165
165
|
s("form", qe, [
|
|
166
166
|
s("div", {
|
|
167
167
|
class: "left-side__subtitle",
|
|
168
168
|
role: "heading",
|
|
169
169
|
"aria-level": e.titleLevel
|
|
170
|
-
}, c
|
|
170
|
+
}, d(c.$t("qcm-deepfake.in")), 9, Ie),
|
|
171
171
|
s("fieldset", null, [
|
|
172
|
-
s("legend", $e, c
|
|
172
|
+
s("legend", $e, d(c.$t("qcm-deepfake.selectThreeElements")), 1),
|
|
173
173
|
(o(!0), i($, null, C(Q(g), (p, I) => (o(), F(_e, {
|
|
174
174
|
ref_for: !0,
|
|
175
175
|
ref_key: "optionsNode",
|
|
176
176
|
ref: h,
|
|
177
|
+
key: I,
|
|
177
178
|
modelValue: n.value,
|
|
178
179
|
"onUpdate:modelValue": r[0] || (r[0] = (E) => n.value = E),
|
|
179
|
-
key: I,
|
|
180
180
|
class: "left-side__options",
|
|
181
181
|
option: p,
|
|
182
182
|
value: I + 1,
|
|
@@ -185,11 +185,11 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
185
185
|
]),
|
|
186
186
|
s("div", Ce, [
|
|
187
187
|
k(we, {
|
|
188
|
-
onClick: W(z, ["prevent"]),
|
|
189
188
|
"aria-disabled": S.value,
|
|
190
189
|
label: B.value,
|
|
191
190
|
state: t.value === "info" ? "primary" : "warning",
|
|
192
|
-
"aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo"
|
|
191
|
+
"aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo",
|
|
192
|
+
onClick: W(z, ["prevent"])
|
|
193
193
|
}, U({ _: 2 }, [
|
|
194
194
|
t.value === "success" || t.value === "fail" ? {
|
|
195
195
|
name: "icon",
|
|
@@ -199,7 +199,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
199
199
|
key: "0"
|
|
200
200
|
} : void 0
|
|
201
201
|
]), 1032, ["aria-disabled", "label", "state", "aria-describedby"]),
|
|
202
|
-
["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", Ve,
|
|
202
|
+
["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", Ve, d(j.value), 1))
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
205
|
s("div", Ne, [
|
|
@@ -216,7 +216,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
216
216
|
])
|
|
217
217
|
]));
|
|
218
218
|
}
|
|
219
|
-
}), Te = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-
|
|
219
|
+
}), Te = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-c5c2069c]{display:flex;gap:.8rem}.title[data-v-c5c2069c]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-c5c2069c]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-c5c2069c]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-c5c2069c]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-c5c2069c]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-c5c2069c]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-c5c2069c]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-c5c2069c]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-c5c2069c]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-c5c2069c]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-c5c2069c]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-c5c2069c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media(max-width:770px){.container[data-v-c5c2069c]{flex-wrap:wrap}.left-side[data-v-c5c2069c],.right-side[data-v-c5c2069c]{width:100%}}", je = /* @__PURE__ */ _(De, [["styles", [Te, Be]], ["__scopeId", "data-v-c5c2069c"]]);
|
|
220
220
|
J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ee, "./locales/en.json": te, "./locales/es-419.json": ae, "./locales/es.json": ne, "./locales/fr-BE.json": oe, "./locales/fr.json": ie, "./locales/it.json": re, "./locales/nl.json": se })).catch((e) => console.error(e));
|
|
221
221
|
const N = X(je, {
|
|
222
222
|
configureApp(e) {
|
|
@@ -27,13 +27,13 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
|
27
27
|
class: B(["answer", { "is-selected": e.isSelected, "is-disabled": e.showFeedback }])
|
|
28
28
|
}, [
|
|
29
29
|
l("input", {
|
|
30
|
-
type: "radio",
|
|
31
30
|
id: e.id,
|
|
31
|
+
type: "radio",
|
|
32
32
|
name: "choice",
|
|
33
33
|
"aria-disabled": e.showFeedback,
|
|
34
34
|
checked: e.isSelected,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
class: "sr-only",
|
|
36
|
+
onChange: t
|
|
37
37
|
}, null, 40, oe),
|
|
38
38
|
l("label", { for: e.id }, [
|
|
39
39
|
e.choice.title ? (r(), b("span", ie, u(e.choice.title), 1)) : A("", !0),
|
|
@@ -81,11 +81,11 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
|
81
81
|
return c({
|
|
82
82
|
reset: L
|
|
83
83
|
}), (o, d) => (r(), b("form", {
|
|
84
|
-
class: "quiz-stepper-container",
|
|
85
|
-
onSubmit: Q(E, ["prevent"]),
|
|
86
84
|
ref_key: "form",
|
|
87
85
|
ref: a,
|
|
88
|
-
|
|
86
|
+
class: "quiz-stepper-container",
|
|
87
|
+
tabindex: "-1",
|
|
88
|
+
onSubmit: Q(E, ["prevent"])
|
|
89
89
|
}, [
|
|
90
90
|
l("div", ue, [
|
|
91
91
|
p(J, {
|
|
@@ -2,7 +2,7 @@ import { _ as r, a as m, b as _, c as p, d as c, e as u, f as d, g } from "../nl
|
|
|
2
2
|
import { u as v, a as b, b as f } from "../normalize-props-DH0oPBss.js";
|
|
3
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
4
|
import { i as t } from "../i18n-lite-WQsHAHqG.js";
|
|
5
|
-
import { P as C } from "../PixMailMessage.ce-
|
|
5
|
+
import { P as C } from "../PixMailMessage.ce-DUSt6eGF.js";
|
|
6
6
|
const S = /* @__PURE__ */ j({
|
|
7
7
|
__name: "TemplateMail.ce",
|
|
8
8
|
props: {
|
|
@@ -2,7 +2,7 @@ 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,
|
|
|
2
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"
|
|
@@ -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)
|