@1024pix/epreuves-components 4.4.0 → 4.6.0
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-Dvxeebpx.js → Button.ce-C-lBihdF.js} +1 -1
- package/dist/{ButtonTooltip.ce-WwOarMJq.js → ButtonTooltip.ce-B071jWM0.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js → Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js} +1 -1
- package/dist/{Feedback.ce-CnZRBGWf.js → Feedback.ce-CeyQhenY.js} +1 -1
- package/dist/{FocusManager.ce-Cv3wYF9s.js → FocusManager.ce-Cb8fkfeb.js} +6 -6
- package/dist/Icon.ce-AUDpzQic.js +50 -0
- package/dist/{LLMMessage.ce-B7EwoHy2.js → LLMMessage.ce-DBorHEa1.js} +2 -2
- package/dist/{Loading.ce-Dv2gEjXm.js → Loading.ce-D7EpPBBD.js} +1 -1
- package/dist/Modal.ce-CRJ7RcAX.js +86 -0
- package/dist/{NavigationButton.ce-D8_YC96l.js → NavigationButton.ce-DqFqWt9V.js} +2 -2
- package/dist/{PixMailMessage.ce-TnjyOfiH.js → PixMailMessage.ce-Cqrs9R3i.js} +20 -20
- package/dist/{Popin.ce-BPnBZykQ.js → Popin.ce-D1V8wzxE.js} +8 -8
- package/dist/{Retry-C3g7zhz8.js → Retry-fzluiEoj.js} +3 -3
- package/dist/{Stepper.ce-DEMN02yr.js → Stepper.ce-cG0al2pY.js} +1 -1
- package/dist/{_plugin-vue_export-helper-Dz58mCLm.js → _plugin-vue_export-helper-DJlRxzRH.js} +1635 -1540
- package/dist/components/analyse-mails-phishing.ce.js.js +17 -17
- package/dist/components/autocompletion-mdp.ce.js.js +256 -0
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +15 -15
- package/dist/components/capacity-calculation.ce.js.js +15 -15
- package/dist/components/clickable-image.ce.js.js +12 -12
- package/dist/components/complete-phrase.ce.js.js +8 -8
- package/dist/components/feedback.ce.js.js +2 -2
- package/dist/components/flip-cards.ce.js.js +5 -5
- package/dist/components/generate-mdp.ce.js.js +159 -0
- 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 +3 -3
- package/dist/components/llm-messages.ce.js.js +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +6 -6
- package/dist/components/mdp-classement.ce.js.js +17 -17
- package/dist/components/message-conversation.ce.js.js +13 -13
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +137 -175
- package/dist/components/phishing-message.ce.js.js +9 -9
- package/dist/components/phishing-notification.ce.js.js +19 -19
- package/dist/components/pix-anonymisation.ce.js.js +23 -23
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +6 -6
- package/dist/components/pix-cursor.ce.js.js +6 -6
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +14 -14
- package/dist/components/qcm-deepfake.ce.js.js +29 -29
- package/dist/components/quiz-stepper.ce.js.js +6 -6
- package/dist/components/select-conversation.ce.js.js +7 -7
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +5 -5
- package/dist/components/trouver-mdp-rs.ce.js.js +6 -6
- package/dist/components/usages-donnees.ce.js.js +27 -27
- package/dist/{i18n-H4HokXDX.js → i18n-C0iMUvqX.js} +13 -13
- package/dist/{i18n-lite-CzqISEWm.js → i18n-lite-X2ADNonj.js} +1 -1
- package/dist/{image-quiz.ce-C-iI27gD.js → image-quiz.ce-BaKLPvSS.js} +8 -8
- package/dist/{index-BUPiE5WR.js → index-Ck6CFpiq.js} +1 -1
- package/dist/index.js +3 -1
- package/dist/metadata.js +29 -21
- package/dist/props.examples.js +121 -117
- package/dist/schema.js +58 -54
- package/dist/{shadow-dom-D54WF-WZ.js → shadow-dom-Dh5hLXcx.js} +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as V, i as b } from "../i18n-lite-
|
|
3
|
-
import { S as D } from "../Stepper.ce-
|
|
4
|
-
import { F as I } from "../Feedback.ce-
|
|
5
|
-
import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { P as H } from "../Popin.ce-
|
|
7
|
-
import { B as J } from "../Button.ce-
|
|
8
|
-
import { P as Q } from "../PixMailMessage.ce-
|
|
9
|
-
import { p as U } from "../shadow-dom-
|
|
1
|
+
import { a as T, h as k, o as l, c as N, b as o, x as u, D as f, t as M, f as p, E as g, l as y, A as F, v as d, r as v, g as s, n as S, _ as O, d as $ } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as V, i as b } from "../i18n-lite-X2ADNonj.js";
|
|
3
|
+
import { S as D } from "../Stepper.ce-cG0al2pY.js";
|
|
4
|
+
import { F as I } from "../Feedback.ce-CeyQhenY.js";
|
|
5
|
+
import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
6
|
+
import { P as H } from "../Popin.ce-D1V8wzxE.js";
|
|
7
|
+
import { B as J } from "../Button.ce-C-lBihdF.js";
|
|
8
|
+
import { P as Q } from "../PixMailMessage.ce-Cqrs9R3i.js";
|
|
9
|
+
import { p as U } from "../shadow-dom-Dh5hLXcx.js";
|
|
10
10
|
import { u as w, a as W, b as X } from "../normalize-props-DH0oPBss.js";
|
|
11
11
|
const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
|
|
12
12
|
"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." } } }
|
|
@@ -23,13 +23,13 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
|
|
|
23
23
|
setup(n, { expose: m }) {
|
|
24
24
|
const { t: e } = V();
|
|
25
25
|
U();
|
|
26
|
-
const t = v(0), a = v(""), c = v(!1), P = k("continue-button"), B = k("container"), i = s(() => n.steps.at(t.value)), r = s(() => i.value.goodAction === a.value), _ = s(() => t.value === n.steps.length - 1), C = s(() => a.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${a.value}`) : ""), j = s(() => r.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")),
|
|
26
|
+
const t = v(0), a = v(""), c = v(!1), P = k("continue-button"), B = k("container"), i = s(() => n.steps.at(t.value)), r = s(() => i.value.goodAction === a.value), _ = s(() => t.value === n.steps.length - 1), C = s(() => a.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${a.value}`) : ""), j = s(() => r.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), A = s(() => r.value ? {
|
|
27
27
|
return: "disabled",
|
|
28
28
|
reply: "disabled",
|
|
29
29
|
forward: "disabled",
|
|
30
30
|
menu: "disabled"
|
|
31
31
|
} : i.value.actions);
|
|
32
|
-
function
|
|
32
|
+
function q() {
|
|
33
33
|
a.value = "", t.value = 0, c.value = !1;
|
|
34
34
|
}
|
|
35
35
|
async function E(h) {
|
|
@@ -42,7 +42,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
|
|
|
42
42
|
await L(), c.value = !1;
|
|
43
43
|
}
|
|
44
44
|
return m({
|
|
45
|
-
reset:
|
|
45
|
+
reset: q
|
|
46
46
|
}), (h, x) => (l(), N("div", ie, [
|
|
47
47
|
o("section", null, [
|
|
48
48
|
o("div", null, [
|
|
@@ -58,7 +58,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
|
|
|
58
58
|
"steps-count": n.steps.length
|
|
59
59
|
}, null, 8, ["step", "steps-count"]),
|
|
60
60
|
f(Q, {
|
|
61
|
-
actions:
|
|
61
|
+
actions: A.value,
|
|
62
62
|
mail: i.value.mail,
|
|
63
63
|
onAction: E
|
|
64
64
|
}, null, 8, ["actions", "mail"]),
|
|
@@ -108,7 +108,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
|
|
|
108
108
|
}, null, 8, ["content", "title", "show", "text-button"])
|
|
109
109
|
], 512));
|
|
110
110
|
}
|
|
111
|
-
}), ue = "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{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}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .feedback{width:100%}.main-container .feedback.is-hidden{margin-top:unset}.main-container .feedback__icon{width:1rem}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", pe = /* @__PURE__ */ O(ce, [["styles", [ue]]]);
|
|
111
|
+
}), ue = "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}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .feedback{width:100%}.main-container .feedback.is-hidden{margin-top:unset}.main-container .feedback__icon{width:1rem}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", pe = /* @__PURE__ */ O(ce, [["styles", [ue]]]);
|
|
112
112
|
b.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ne, "./locales/fr.json": ae, "./locales/it.json": oe, "./locales/nl.json": se }));
|
|
113
113
|
const z = $(pe, {
|
|
114
114
|
configureApp(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as a, a as
|
|
3
|
-
import { R as Y } from "../Retry-
|
|
1
|
+
import { a as y, o, c as i, b as s, x as c, l as v, t as w, g as b, _, N as E, H as R, S as O, A as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, D as k, X as U, E as H, y as W, d as X } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { i as a, a as J, b as K } from "../i18n-C0iMUvqX.js";
|
|
3
|
+
import { R as Y } from "../Retry-fzluiEoj.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." } }
|
|
@@ -65,7 +65,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
65
65
|
}),
|
|
66
66
|
emits: ["update:modelValue"],
|
|
67
67
|
setup(e, { expose: u }) {
|
|
68
|
-
const n =
|
|
68
|
+
const n = E(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
|
|
69
69
|
function h(f) {
|
|
70
70
|
if (t.value) {
|
|
71
71
|
f.preventDefault();
|
|
@@ -78,7 +78,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
78
78
|
}), (f, m) => (o(), i("label", {
|
|
79
79
|
class: w({ selected: l.value, disabled: t.value })
|
|
80
80
|
}, [
|
|
81
|
-
|
|
81
|
+
R(s("input", {
|
|
82
82
|
type: "checkbox",
|
|
83
83
|
name: "options",
|
|
84
84
|
onClick: h,
|
|
@@ -104,7 +104,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
104
104
|
V(" " + c(e.label), 1)
|
|
105
105
|
], 2));
|
|
106
106
|
}
|
|
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]]]),
|
|
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 = {
|
|
108
108
|
key: 0,
|
|
109
109
|
id: "optionsSelectedInfo",
|
|
110
110
|
class: "left-side__lower-legend",
|
|
@@ -112,7 +112,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
112
112
|
}, Ne = {
|
|
113
113
|
class: "right-side",
|
|
114
114
|
"aria-live": "polite"
|
|
115
|
-
},
|
|
115
|
+
}, De = /* @__PURE__ */ y({
|
|
116
116
|
__name: "QcmDeepfake.ce",
|
|
117
117
|
props: {
|
|
118
118
|
titleLevel: { default: 2, type: Number },
|
|
@@ -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((d, r) => `${m[r]} ${d}`),
|
|
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((d, r) => `${m[r]} ${d}`), D = g.filter((d, r) => l.includes(r + 1)), T = [
|
|
127
127
|
{
|
|
128
128
|
type: "info",
|
|
129
129
|
image: e.infoImage
|
|
@@ -146,54 +146,54 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
146
146
|
type: "search",
|
|
147
147
|
image: e.searchImage
|
|
148
148
|
}
|
|
149
|
-
],
|
|
149
|
+
], S = b(() => n.value.length !== 3 || t.value === "search"), B = b(() => t.value === "search" ? a.t("qcm-deepfake.loading") : t.value === "info" ? a.t("qcm-deepfake.generateVideo") : a.t("qcm-deepfake.restart")), j = b(() => t.value === "info" ? a.t("qcm-deepfake.generateVideoInfo", { count: l.length - n.value.length }) : t.value === "fail" ? a.t("qcm-deepfake.restartInfo") : "");
|
|
150
150
|
function z() {
|
|
151
|
-
return
|
|
151
|
+
return S.value ? !1 : t.value === "info" ? L() : q();
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function q() {
|
|
154
154
|
h.value.forEach((d) => {
|
|
155
155
|
d.isChecked = !1;
|
|
156
156
|
}), n.value = [], t.value = "info";
|
|
157
157
|
}
|
|
158
158
|
async function L() {
|
|
159
|
-
const d = n.value.every((r) =>
|
|
159
|
+
const d = n.value.every((r) => D.includes(r.trim()));
|
|
160
160
|
t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), d ? t.value = "success" : t.value = "fail";
|
|
161
161
|
}
|
|
162
162
|
return u({
|
|
163
|
-
reset:
|
|
164
|
-
}), (d, r) => (o(), i("div",
|
|
165
|
-
s("form",
|
|
163
|
+
reset: q
|
|
164
|
+
}), (d, r) => (o(), i("div", Se, [
|
|
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(d.$t("qcm-deepfake.in")), 9,
|
|
170
|
+
}, c(d.$t("qcm-deepfake.in")), 9, Ie),
|
|
171
171
|
s("fieldset", null, [
|
|
172
172
|
s("legend", $e, c(d.$t("qcm-deepfake.selectThreeElements")), 1),
|
|
173
|
-
(o(!0), i($, null, C(Q(g), (p,
|
|
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
177
|
modelValue: n.value,
|
|
178
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
179
|
-
key:
|
|
178
|
+
"onUpdate:modelValue": r[0] || (r[0] = (A) => n.value = A),
|
|
179
|
+
key: I,
|
|
180
180
|
class: "left-side__options",
|
|
181
181
|
option: p,
|
|
182
|
-
value:
|
|
182
|
+
value: I + 1,
|
|
183
183
|
readonly: t.value !== "info"
|
|
184
184
|
}, null, 8, ["modelValue", "option", "value", "readonly"]))), 128))
|
|
185
185
|
]),
|
|
186
186
|
s("div", Ce, [
|
|
187
187
|
k(we, {
|
|
188
|
-
onClick:
|
|
189
|
-
"aria-disabled":
|
|
190
|
-
label:
|
|
188
|
+
onClick: W(z, ["prevent"]),
|
|
189
|
+
"aria-disabled": S.value,
|
|
190
|
+
label: B.value,
|
|
191
191
|
state: t.value === "info" ? "primary" : "warning",
|
|
192
192
|
"aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo"
|
|
193
193
|
}, U({ _: 2 }, [
|
|
194
194
|
t.value === "success" || t.value === "fail" ? {
|
|
195
195
|
name: "icon",
|
|
196
|
-
fn:
|
|
196
|
+
fn: H(() => [
|
|
197
197
|
k(Y)
|
|
198
198
|
]),
|
|
199
199
|
key: "0"
|
|
@@ -203,7 +203,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
205
|
s("div", Ne, [
|
|
206
|
-
(o(), i($, null, C(
|
|
206
|
+
(o(), i($, null, C(T, (p) => k(ve, {
|
|
207
207
|
key: p.type,
|
|
208
208
|
"title-level": e.titleLevel,
|
|
209
209
|
type: p.type,
|
|
@@ -216,11 +216,11 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
|
|
|
216
216
|
])
|
|
217
217
|
]));
|
|
218
218
|
}
|
|
219
|
-
}),
|
|
220
|
-
|
|
221
|
-
const N =
|
|
219
|
+
}), Te = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-da7e2b08]{display:flex;gap:.8rem}.title[data-v-da7e2b08]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-da7e2b08]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-da7e2b08]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-da7e2b08]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-da7e2b08]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-da7e2b08]{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-da7e2b08]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-da7e2b08]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-da7e2b08]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-da7e2b08]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-da7e2b08]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-da7e2b08]{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-da7e2b08]{flex-wrap:wrap}.left-side[data-v-da7e2b08],.right-side[data-v-da7e2b08]{width:100%}}", je = /* @__PURE__ */ _(De, [["styles", [Te, Be]], ["__scopeId", "data-v-da7e2b08"]]);
|
|
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
|
+
const N = X(je, {
|
|
222
222
|
configureApp(e) {
|
|
223
|
-
a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(
|
|
223
|
+
a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(K, { i18next: a });
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
N.prototype.normalizeProps = (e) => ({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as D, a as O, i as z, b as P } from "../i18n-
|
|
3
|
-
import { F as I } from "../Feedback.ce-
|
|
4
|
-
import { _ as M, a as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { S as J } from "../Stepper.ce-
|
|
1
|
+
import { a as q, o as r, c as m, t as B, b as l, x as u, l as g, _ as A, h as V, D as b, f as h, E as k, A as G, y as Q, r as v, g as p, d as R } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as D, a as O, i as z, b as P } from "../i18n-C0iMUvqX.js";
|
|
3
|
+
import { F as I } from "../Feedback.ce-CeyQhenY.js";
|
|
4
|
+
import { _ as M, a as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
5
|
+
import { S as J } from "../Stepper.ce-cG0al2pY.js";
|
|
6
6
|
import { a as f, b as K } from "../normalize-props-DH0oPBss.js";
|
|
7
|
-
import { l as U } from "../index-
|
|
7
|
+
import { l as U } from "../index-Ck6CFpiq.js";
|
|
8
8
|
const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
|
|
9
9
|
"quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
|
|
10
10
|
}, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"], ie = ["for"], ae = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as j, i as _, b as L } from "../i18n-
|
|
1
|
+
import { a as w, r as g, o as n, c as i, b as e, x as a, v as l, t as z, A as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { a as j, i as _, b as L } from "../i18n-C0iMUvqX.js";
|
|
3
3
|
import { b as S } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { t as f, a as F, q as
|
|
5
|
-
const
|
|
4
|
+
import { t as f, a as F, q as $ } from "../temporal.utils-DgmGPVba.js";
|
|
5
|
+
const B = {}, I = {}, N = {}, A = {}, E = {}, q = {
|
|
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",
|
|
@@ -25,7 +25,7 @@ const $ = {}, I = {}, N = {}, E = {}, q = {}, A = {
|
|
|
25
25
|
responseChoices: { type: Array }
|
|
26
26
|
},
|
|
27
27
|
setup(s, { expose: v }) {
|
|
28
|
-
const d = g(s.responseChoices.map((t) => ({ ...t, selected: !1 }))), o = g(), c = u(() => F(s.incomingMessage.time)), m = u(() => c.value.day -
|
|
28
|
+
const d = g(s.responseChoices.map((t) => ({ ...t, selected: !1 }))), o = g(), c = u(() => F(s.incomingMessage.time)), m = u(() => c.value.day - $.Now.plainDateTimeISO().day);
|
|
29
29
|
function b(t) {
|
|
30
30
|
t.selected || (t.selected = !0, o.value = t);
|
|
31
31
|
}
|
|
@@ -90,8 +90,8 @@ const $ = {}, I = {}, N = {}, E = {}, q = {}, A = {
|
|
|
90
90
|
])
|
|
91
91
|
], 64));
|
|
92
92
|
}
|
|
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{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":
|
|
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": I, "./locales/es-419.json": N, "./locales/es.json": A, "./locales/fr-BE.json": E, "./locales/fr.json": q, "./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 { a as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
4
|
+
import { i as t } from "../i18n-lite-X2ADNonj.js";
|
|
5
|
+
import { P as C } from "../PixMailMessage.ce-Cqrs9R3i.js";
|
|
6
6
|
const S = /* @__PURE__ */ j({
|
|
7
7
|
__name: "TemplateMail.ce",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as S, i as v } from "../i18n-lite-
|
|
1
|
+
import { a as B, K as $, o as c, c as p, b as e, x as n, B as H, F as h, e as N, t as w, A as k, v as m, l as y, D as P, E as A, g as r, r as C, _ as E, d as I } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as S, i as v } from "../i18n-lite-X2ADNonj.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
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 = ["onClick", "aria-disabled", "aria-selected"], 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 = {
|
|
@@ -119,7 +119,7 @@ const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
|
|
|
119
119
|
}, n(t.$t("test-top-mdp.loginForm.submit")), 9, _e),
|
|
120
120
|
e("p", me, [
|
|
121
121
|
P(V, { t: "test-top-mdp.loginForm.attemptsCount" }, {
|
|
122
|
-
count:
|
|
122
|
+
count: A(() => [
|
|
123
123
|
e("span", ve, n(b.value), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 1
|
|
@@ -143,9 +143,9 @@ const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
|
|
|
143
143
|
], 64);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
}), ke = "*{font-family:Roboto,sans-serif;color:#5e6c84;box-sizing:border-box;font-size:14px}p{margin:0}.container{display:flex;flex-direction:row;gap:16px}.card{background:#fff;border-radius:16px;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px;width:50%}.title{color:#122647;font-family:Nunito,Roboto,sans-serif;font-size:20px;font-weight:700;display:flex;align-items:center;gap:8px}.passwords{margin-top:16px;display:grid;grid-template-rows:repeat(var(--count-per-column, 5),1fr);grid-auto-flow:column;gap:8px}.passwords>button{display:flex;padding:8px 16px;gap:4px;border-radius:8px;background-color:#eaf1ff;border-style:none;cursor:pointer;height:44px;align-items:center;color:#122647}.passwords>button.selected{background-color:#3b82f6;color:#fff}.passwords>button.disabled{background-color:#f4f5f7;color:#5e6c84}.passwords>button[aria-disabled=true]{cursor:not-allowed}.lock-icon{border-radius:50%;background-color:#2c75ff;aspect-ratio:1;width:34px;display:flex;align-items:center;justify-content:center}.password{font-weight:700;line-height:20px;color:inherit}.form{margin-top:24px;display:flex;gap:16px;flex-direction:column}.form__field{display:flex;gap:8px;flex-direction:column;position:relative}.form__field-icon{aspect-ratio:1;width:24px;position:absolute;left:12px;bottom:12px}.form input{display:flex;height:50px;padding:12px 16px;align-items:center;border-radius:10px;border:1px solid #cdd1d9;background-color:#f4f5f7;font-size:16px;pointer-events:none;color:#122647}.form input.right{padding-left:40px;border-color:#00a85a;background-color:#e6f6ef;color:#007740}.form input.wrong{padding-left:40px;border-color:#d73328;background-color:#fbebea;color:#99241c}.form label{pointer-events:none}.form button{display:flex;height:50px;padding:12px 16px;align-items:center;border-radius:10px;background-color:#122647;font-size:16px;font-weight:700;color:#fff;justify-content:center;cursor:pointer;border-style:none}.form button[aria-disabled=true]{background-color:#cdd1d9;color:#5e6c84;cursor:not-allowed}.attempts-count{text-align:center}.attempts-count__count{color:#122647;font-weight:700}.feedback{margin-top:24px;display:flex;flex-direction:column}.feedback__title{color:#fff;padding:4px 8px;border-radius:8px 8px 0 0;background-color:#1f53b5;font-weight:700;align-self:start;font-size:12px}.feedback__title *{color:inherit}.feedback__content{border-radius:0 8px 8px;background-color:#eaf1ff;color:#122647;padding:8px}.feedback__content *{color:inherit}@media only screen and (max-width:680px){.container{flex-direction:column}.card{width:100%}}", ye = /* @__PURE__ */
|
|
146
|
+
}), ke = "*{font-family:Roboto,sans-serif;color:#5e6c84;box-sizing:border-box;font-size:14px}p{margin:0}.container{display:flex;flex-direction:row;gap:16px}.card{background:#fff;border-radius:16px;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px;width:50%}.title{color:#122647;font-family:Nunito,Roboto,sans-serif;font-size:20px;font-weight:700;display:flex;align-items:center;gap:8px}.passwords{margin-top:16px;display:grid;grid-template-rows:repeat(var(--count-per-column, 5),1fr);grid-auto-flow:column;gap:8px}.passwords>button{display:flex;padding:8px 16px;gap:4px;border-radius:8px;background-color:#eaf1ff;border-style:none;cursor:pointer;height:44px;align-items:center;color:#122647}.passwords>button.selected{background-color:#3b82f6;color:#fff}.passwords>button.disabled{background-color:#f4f5f7;color:#5e6c84}.passwords>button[aria-disabled=true]{cursor:not-allowed}.lock-icon{border-radius:50%;background-color:#2c75ff;aspect-ratio:1;width:34px;display:flex;align-items:center;justify-content:center}.password{font-weight:700;line-height:20px;color:inherit}.form{margin-top:24px;display:flex;gap:16px;flex-direction:column}.form__field{display:flex;gap:8px;flex-direction:column;position:relative}.form__field-icon{aspect-ratio:1;width:24px;position:absolute;left:12px;bottom:12px}.form input{display:flex;height:50px;padding:12px 16px;align-items:center;border-radius:10px;border:1px solid #cdd1d9;background-color:#f4f5f7;font-size:16px;pointer-events:none;color:#122647}.form input.right{padding-left:40px;border-color:#00a85a;background-color:#e6f6ef;color:#007740}.form input.wrong{padding-left:40px;border-color:#d73328;background-color:#fbebea;color:#99241c}.form label{pointer-events:none}.form button{display:flex;height:50px;padding:12px 16px;align-items:center;border-radius:10px;background-color:#122647;font-size:16px;font-weight:700;color:#fff;justify-content:center;cursor:pointer;border-style:none}.form button[aria-disabled=true]{background-color:#cdd1d9;color:#5e6c84;cursor:not-allowed}.attempts-count{text-align:center}.attempts-count__count{color:#122647;font-weight:700}.feedback{margin-top:24px;display:flex;flex-direction:column}.feedback__title{color:#fff;padding:4px 8px;border-radius:8px 8px 0 0;background-color:#1f53b5;font-weight:700;align-self:start;font-size:12px}.feedback__title *{color:inherit}.feedback__content{border-radius:0 8px 8px;background-color:#eaf1ff;color:#122647;padding:8px}.feedback__content *{color:inherit}@media only screen and (max-width:680px){.container{flex-direction:column}.card{width:100%}}", ye = /* @__PURE__ */ E(we, [["styles", [ke]]]);
|
|
147
147
|
v.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": R, "./locales/en.json": D, "./locales/es-419.json": O, "./locales/es.json": Z, "./locales/fr-BE.json": G, "./locales/fr.json": K, "./locales/it.json": U, "./locales/nl.json": q }));
|
|
148
|
-
window.customElements.define("test-top-mdp",
|
|
148
|
+
window.customElements.define("test-top-mdp", I(ye, {
|
|
149
149
|
configureApp(u) {
|
|
150
150
|
v.changeLanguage(document?.documentElement?.lang || navigator.language), u.use(v);
|
|
151
151
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as ve,
|
|
2
|
-
import { u as z, a as qe, i as Y, b as Fe } from "../i18n-
|
|
1
|
+
import { i as ve, a1 as M, a2 as F, a3 as ge, U as be, r as y, a4 as he, g as c, a as P, N as I, h as _e, o as v, c as k, y as ye, b as r, v as S, A as xe, x as p, t as E, H as we, T as ke, f as C, l as A, E as _, P as Te, _ as q, K as Me, F as U, D as w, e as Be, B as Ce, J as Ae, q as Se, m as Le, d as Pe } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as z, a as qe, i as Y, b as Fe } from "../i18n-C0iMUvqX.js";
|
|
3
3
|
import { b as je } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { p as Ve } from "../shadow-dom-
|
|
5
|
-
import { _ as O, a as W } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { F as ze } from "../Feedback.ce-
|
|
7
|
-
import { P as Re } from "../Popin.ce-
|
|
4
|
+
import { p as Ve } from "../shadow-dom-Dh5hLXcx.js";
|
|
5
|
+
import { _ as O, a as W } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
6
|
+
import { F as ze } from "../Feedback.ce-CeyQhenY.js";
|
|
7
|
+
import { P as Re } from "../Popin.ce-D1V8wzxE.js";
|
|
8
8
|
const He = {}, Ne = {}, Ie = {}, Ee = {}, Ue = {}, Ye = {
|
|
9
9
|
"trouver-mdp-rs": { connection: "Connexion", login: "Identifiant", password: "Mot de passe", submitButton: "Se connecter", retryButtonLabel: "Réessayer", userProfile: { subscriptions: "{count} abonnements", followers: "{count} abonnés" } }
|
|
10
10
|
}, Oe = {}, We = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as V, s as P, o as n, c as l,
|
|
2
|
-
import { u as Z, i as S } from "../i18n-lite-
|
|
3
|
-
import { B as H } from "../Button.ce-
|
|
1
|
+
import { _ as V, s as P, o as n, c as l, b as t, v, l as C, t as w, A as q, x as o, a as M, h as O, r as z, K as U, F as m, e as x, f as h, m as _, D as B, E as y, g as d, n as G, d as K } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as Z, i as S } from "../i18n-lite-X2ADNonj.js";
|
|
3
|
+
import { B as H } from "../Button.ce-C-lBihdF.js";
|
|
4
4
|
const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
5
|
-
"usages-donnees": { "instruction-step-1": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous avez sur votre appareil.", "instruction-step-2": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous faites en ligne.", "step-a11y": "Étape {{currentStep}} sur {{total}}", next: "Suivant", result: "Voir mon bilan", "locale-choice-title": "Ce que vous avez sur votre appareil", "cloud-choice-title": "Ce que vous faites en ligne", "last-step": { "title-1": "Données et usages avec plus de valeur", "title-2": "Données et usages avec moins de valeur", content: { "line-1": "Certaines données et certains usages ont beaucoup de valeur pour les pirates, d’autres ont moins de valeur.", "line-2": "Par exemple, en accédant à ces informations, les pirates peuvent : {{bold1}} à vos différents services en ligne ou vous demander {{bold2}} (une rançon) pour réparer les dégâts qu'ils ont causés.", "bold-1": "récupérer des données importantes, accéder", "bold-2": "de l'argent" } } }
|
|
6
|
-
}, te = {}, ae = {}, se = "data:image/svg+xml,%3csvg%20width='11'%20height='8'%20viewBox='0%200%2011%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.61484%205.80617L9.19317%200.227833C9.34506%200.0759442%209.52317%200%209.7275%200C9.93184%200%2010.11%200.0759442%2010.262%200.227833C10.4139%200.379833%2010.4898%200.560111%2010.4898%200.768667C10.4898%200.977222%2010.4139%201.1575%2010.262%201.3095L4.14934%207.43483C3.99734%207.58672%203.81917%207.66267%203.61484%207.66267C3.41051%207.66267%203.23234%207.58672%203.08034%207.43483L0.221671%204.57617C0.0697825%204.42417%20-0.00405093%204.24389%200.000171293%204.03533C0.00439352%203.82678%200.0824491%203.6465%200.234338%203.4945C0.386338%203.34261%200.566616%203.26667%200.775171%203.26667C0.983727%203.26667%201.164%203.34261%201.316%203.4945L3.61484%205.80617Z'%20fill='%23212A37'/%3e%3c/svg%3e", ne = "label[data-v-e33c94f6]{position:relative;display:flex;align-items:center;gap:6px;border-radius:8px}label[data-v-e33c94f6]:not(.readonly):hover{cursor:pointer}label .custom-input[data-v-e33c94f6]{display:flex;justify-content:center;align-items:center;min-width:16px;aspect-ratio:1;background-color:#fff;border:1px solid #000}label .custom-input img[data-v-e33c94f6]{width:10px}label input:focus~.custom-input[data-v-e33c94f6]{outline:2px solid black}.variant-a[data-v-e33c94f6]{background:#eaf1ff;padding:14px}.variant-a.is-checked[data-v-e33c94f6]{background:#2c75ff;color:#fff}.variant-b[data-v-e33c94f6],.variant-c[data-v-e33c94f6]{border-left:4px solid #c8cfd9;background:#f9f9f9;padding:8px 12px}.variant-b.is-checked[data-v-e33c94f6]{border-left:4px solid #ffdc76;background:#fffaeb}.variant-c.is-checked[data-v-e33c94f6]{border-left:4px solid #72a3ff;background:#eaf1ff}", oe = ["for"], le = ["id", "checked", "readonly"],
|
|
5
|
+
"usages-donnees": { "instruction-step-1": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous avez sur votre appareil.", "instruction-step-2": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous faites en ligne.", "step-a11y": "Étape {{currentStep}} sur {{total}}", next: "Suivant", result: "Voir mon bilan", "locale-choice-title": "Ce que vous avez sur votre appareil", "cloud-choice-title": "Ce que vous faites en ligne", "last-step": { "title-1": "Données et usages avec plus de valeur", "title-2": "Données et usages avec moins de valeur", content: { "line-1": "Certaines données et certains usages ont beaucoup de valeur pour les pirates, d’autres ont moins de valeur.", "line-2": "Par exemple, en accédant à ces informations qui ont de la valeur, les pirates peuvent : {{bold1}} à vos différents services en ligne ou vous demander {{bold2}} (une rançon) pour réparer les dégâts qu'ils ont causés.", "bold-1": "récupérer des données importantes, accéder", "bold-2": "de l'argent" } } }
|
|
6
|
+
}, te = {}, ae = {}, se = "data:image/svg+xml,%3csvg%20width='11'%20height='8'%20viewBox='0%200%2011%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.61484%205.80617L9.19317%200.227833C9.34506%200.0759442%209.52317%200%209.7275%200C9.93184%200%2010.11%200.0759442%2010.262%200.227833C10.4139%200.379833%2010.4898%200.560111%2010.4898%200.768667C10.4898%200.977222%2010.4139%201.1575%2010.262%201.3095L4.14934%207.43483C3.99734%207.58672%203.81917%207.66267%203.61484%207.66267C3.41051%207.66267%203.23234%207.58672%203.08034%207.43483L0.221671%204.57617C0.0697825%204.42417%20-0.00405093%204.24389%200.000171293%204.03533C0.00439352%203.82678%200.0824491%203.6465%200.234338%203.4945C0.386338%203.34261%200.566616%203.26667%200.775171%203.26667C0.983727%203.26667%201.164%203.34261%201.316%203.4945L3.61484%205.80617Z'%20fill='%23212A37'/%3e%3c/svg%3e", ne = "label[data-v-e33c94f6]{position:relative;display:flex;align-items:center;gap:6px;border-radius:8px}label[data-v-e33c94f6]:not(.readonly):hover{cursor:pointer}label .custom-input[data-v-e33c94f6]{display:flex;justify-content:center;align-items:center;min-width:16px;aspect-ratio:1;background-color:#fff;border:1px solid #000}label .custom-input img[data-v-e33c94f6]{width:10px}label input:focus~.custom-input[data-v-e33c94f6]{outline:2px solid black}.variant-a[data-v-e33c94f6]{background:#eaf1ff;padding:14px}.variant-a.is-checked[data-v-e33c94f6]{background:#2c75ff;color:#fff}.variant-b[data-v-e33c94f6],.variant-c[data-v-e33c94f6]{border-left:4px solid #c8cfd9;background:#f9f9f9;padding:8px 12px}.variant-b.is-checked[data-v-e33c94f6]{border-left:4px solid #ffdc76;background:#fffaeb}.variant-c.is-checked[data-v-e33c94f6]{border-left:4px solid #72a3ff;background:#eaf1ff}", oe = ["for"], le = ["id", "checked", "readonly"], re = ["src"], ce = {
|
|
7
7
|
__name: "CustomCheckbox.ce",
|
|
8
8
|
props: {
|
|
9
9
|
label: String,
|
|
@@ -20,16 +20,16 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
20
20
|
},
|
|
21
21
|
emits: ["select"],
|
|
22
22
|
setup(a, { emit: b }) {
|
|
23
|
-
const
|
|
24
|
-
function s(
|
|
25
|
-
a.readonly || p("select",
|
|
23
|
+
const c = P(), p = b;
|
|
24
|
+
function s(r) {
|
|
25
|
+
a.readonly || p("select", r.target.checked, a.index);
|
|
26
26
|
}
|
|
27
|
-
return (
|
|
28
|
-
for: v(
|
|
27
|
+
return (r, j) => (n(), l("label", {
|
|
28
|
+
for: v(c),
|
|
29
29
|
class: w({ "is-checked": a.isSelected, [`variant-${a.variant}`]: !0, readonly: a.readonly })
|
|
30
30
|
}, [
|
|
31
31
|
t("input", {
|
|
32
|
-
id: v(
|
|
32
|
+
id: v(c),
|
|
33
33
|
checked: a.isSelected,
|
|
34
34
|
readonly: a.readonly,
|
|
35
35
|
type: "checkbox",
|
|
@@ -43,12 +43,12 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
43
43
|
key: 0,
|
|
44
44
|
src: v(se),
|
|
45
45
|
alt: ""
|
|
46
|
-
}, null, 8,
|
|
46
|
+
}, null, 8, re)) : C("", !0)
|
|
47
47
|
], 2),
|
|
48
|
-
|
|
48
|
+
q(" " + o(a.label), 1)
|
|
49
49
|
], 10, oe));
|
|
50
50
|
}
|
|
51
|
-
}, k = /* @__PURE__ */ V(
|
|
51
|
+
}, k = /* @__PURE__ */ V(ce, [["styles", [ne]], ["__scopeId", "data-v-e33c94f6"]]), ie = {
|
|
52
52
|
key: 0,
|
|
53
53
|
class: "instruction"
|
|
54
54
|
}, de = { key: 1 }, ue = { class: "title" }, fe = { class: "stepper" }, pe = { class: "sr-only" }, be = { "aria-hidden": "true" }, ge = { class: "checkbox-group" }, ve = {
|
|
@@ -57,7 +57,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
57
57
|
}, me = {
|
|
58
58
|
class: "legend",
|
|
59
59
|
style: { "--color": "#ffcb33" }
|
|
60
|
-
},
|
|
60
|
+
}, xe = { class: "title" }, he = { class: "checkbox-group" }, _e = {
|
|
61
61
|
class: "legend",
|
|
62
62
|
style: { "--color": "#2c75ff" }
|
|
63
63
|
}, ye = { class: "title" }, ke = { class: "checkbox-group" }, Ce = {
|
|
@@ -70,21 +70,21 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
70
70
|
cloudChoices: { type: Array }
|
|
71
71
|
},
|
|
72
72
|
setup(a, { expose: b }) {
|
|
73
|
-
const { t:
|
|
73
|
+
const { t: c } = Z(), p = O("wrapper"), s = z(1), r = z({
|
|
74
74
|
1: a.localeChoices.map((e) => ({ ...e, isSelected: !1 })),
|
|
75
75
|
2: a.cloudChoices.map((e) => ({ ...e, isSelected: !1 }))
|
|
76
|
-
}), j = d(() => Object.values(
|
|
76
|
+
}), j = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => e.hasValue).sort($)), A = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => !e.hasValue).sort($)), D = d(() => s.value === 1 ? c("usages-donnees.locale-choice-title") : c("usages-donnees.cloud-choice-title")), N = d(() => s.value === 1 ? c("usages-donnees.next") : c("usages-donnees.result")), R = d(() => c(`usages-donnees.instruction-step-${s.value}`)), g = d(() => s.value === 3), E = d(() => !r.value[s.value]?.some(({ isSelected: e }) => e));
|
|
77
77
|
function $(e, u) {
|
|
78
78
|
return e.isSelected && u.isSelected ? 0 : e.isSelected ? -1 : u.isSelected ? 1 : 0;
|
|
79
79
|
}
|
|
80
80
|
function L() {
|
|
81
|
-
|
|
81
|
+
r.value = {
|
|
82
82
|
1: a.localeChoices.map((e) => ({ ...e, isSelected: !1 })),
|
|
83
83
|
2: a.cloudChoices.map((e) => ({ ...e, isSelected: !1 }))
|
|
84
84
|
}, s.value = 1;
|
|
85
85
|
}
|
|
86
86
|
function T(e, u) {
|
|
87
|
-
|
|
87
|
+
r.value[s.value][u].isSelected = e;
|
|
88
88
|
}
|
|
89
89
|
async function F() {
|
|
90
90
|
s.value++, await G(), p.value.focus();
|
|
@@ -103,10 +103,10 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
103
103
|
g.value ? (n(), l("form", ve, [
|
|
104
104
|
t("fieldset", null, [
|
|
105
105
|
t("legend", me, [
|
|
106
|
-
t("span",
|
|
106
|
+
t("span", xe, o(e.$t("usages-donnees.last-step.title-1")), 1)
|
|
107
107
|
]),
|
|
108
|
-
t("div",
|
|
109
|
-
(n(!0), l(m, null,
|
|
108
|
+
t("div", he, [
|
|
109
|
+
(n(!0), l(m, null, x(j.value, (i, f) => (n(), h(k, _({
|
|
110
110
|
key: i.label
|
|
111
111
|
}, { ref_for: !0 }, i, {
|
|
112
112
|
readonly: !0,
|
|
@@ -120,7 +120,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
120
120
|
t("span", ye, o(e.$t("usages-donnees.last-step.title-2")), 1)
|
|
121
121
|
]),
|
|
122
122
|
t("div", ke, [
|
|
123
|
-
(n(!0), l(m, null,
|
|
123
|
+
(n(!0), l(m, null, x(A.value, (i, f) => (n(), h(k, _({
|
|
124
124
|
key: i.label
|
|
125
125
|
}, { ref_for: !0 }, i, {
|
|
126
126
|
readonly: !0,
|
|
@@ -132,14 +132,14 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
132
132
|
])) : (n(), l("form", de, [
|
|
133
133
|
t("fieldset", null, [
|
|
134
134
|
t("legend", null, [
|
|
135
|
-
t("span", ue, o(
|
|
135
|
+
t("span", ue, o(D.value), 1),
|
|
136
136
|
t("span", fe, [
|
|
137
137
|
t("span", pe, o(e.$t("usages-donnees.step-a11y", { currentStep: s.value, total: 2 })), 1),
|
|
138
138
|
t("span", be, o(s.value) + "/2", 1)
|
|
139
139
|
])
|
|
140
140
|
]),
|
|
141
141
|
t("div", ge, [
|
|
142
|
-
(n(!0), l(m, null,
|
|
142
|
+
(n(!0), l(m, null, x(r.value[s.value], (i, f) => (n(), h(k, _({
|
|
143
143
|
key: i.label
|
|
144
144
|
}, { ref_for: !0 }, i, {
|
|
145
145
|
index: f,
|
|
@@ -153,7 +153,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
153
153
|
"is-disabled": E.value
|
|
154
154
|
}, {
|
|
155
155
|
default: y(() => [
|
|
156
|
-
|
|
156
|
+
q(o(N.value), 1)
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
}, 8, ["is-disabled"])
|
|
@@ -173,7 +173,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
|
|
|
173
173
|
], 2);
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
|
-
}), Se = "*{--text-blue: #122647;--background-blue: #253858;font-family:Nunito,Roboto,sans-serif;font-size:14px}h1,h2,h3,h4,h5,h6{color:var(--text-blue);font-family:Nunito,sans-serif}h2{color:var(--text-blue);font-size:20px}p,a,span,li{color:var(--text-blue);font-family:Roboto,sans-serif}button{border-radius:8px;background:var(--background-blue);font-weight:700;font-size:16px}button:disabled{background:#c8cfd9}input{border-radius:10px;border:#cdd1d9;background:#f4f5f7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}", je = '.wrapper[data-v-aef3c1bd]{padding:0 24px 24px}.wrapper.step-3[data-v-aef3c1bd]{padding-top:24px}.instruction[data-v-aef3c1bd]{margin:0 0 24px}form[data-v-aef3c1bd]{padding:16px 24px;border-radius:16px;background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}fieldset[data-v-aef3c1bd]{border:none;padding:0}legend[data-v-aef3c1bd]{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}legend .title[data-v-aef3c1bd]{font-size:1.25rem;font-weight:800}legend .stepper[data-v-aef3c1bd]{display:flex;justify-content:center;align-items:center;align-self:center;border-radius:50%;background:#bde4ff;min-width:38px;aspect-ratio:1;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:700}.checkbox-group[data-v-aef3c1bd]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.pix-button[data-v-aef3c1bd]{display:block;margin:0 auto}.result fieldset[data-v-aef3c1bd]:first-child{margin-bottom:24px}.result .legend[data-v-aef3c1bd]{justify-content:start;gap:8px}.result .legend[data-v-aef3c1bd]:before{content:"";position:relative;top:2px;background-color:var(--color);border-radius:50%;min-width:12px;aspect-ratio:1;align-self:center}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(4,1fr)}.feedback[data-v-aef3c1bd]{border-radius:8px;background:#eaf1ff;padding:8px;margin:16px 0 0}.feedback[data-v-aef3c1bd],.feedback span[data-v-aef3c1bd]{font-family:Roboto,sans-serif;font-size:.75rem;line-height:1.125rem}.feedback span[data-v-aef3c1bd]{display:block;margin-bottom:.4rem}@media screen and (max-width:874px){.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:576px){.checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr;gap:8px}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr}}', $e = /* @__PURE__ */ V(we, [["styles", [Se, je]], ["__scopeId", "data-v-aef3c1bd"]]);
|
|
176
|
+
}), Se = "*{--text-blue: #122647;--background-blue: #253858;font-family:Nunito,Roboto,sans-serif;font-size:14px;box-sizing:border-box}h1,h2,h3,h4,h5,h6{color:var(--text-blue);font-family:Nunito,sans-serif}h2{color:var(--text-blue);font-size:20px}p,a,span,li{color:var(--text-blue);font-family:Roboto,sans-serif}button{border-radius:8px;background:var(--background-blue);font-weight:700;font-size:16px}button:disabled{background:#c8cfd9}input{border-radius:10px;border:#cdd1d9;background:#f4f5f7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}", je = '.wrapper[data-v-aef3c1bd]{padding:0 24px 24px}.wrapper.step-3[data-v-aef3c1bd]{padding-top:24px}.instruction[data-v-aef3c1bd]{margin:0 0 24px}form[data-v-aef3c1bd]{padding:16px 24px;border-radius:16px;background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}fieldset[data-v-aef3c1bd]{border:none;padding:0}legend[data-v-aef3c1bd]{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}legend .title[data-v-aef3c1bd]{font-size:1.25rem;font-weight:800}legend .stepper[data-v-aef3c1bd]{display:flex;justify-content:center;align-items:center;align-self:center;border-radius:50%;background:#bde4ff;min-width:38px;aspect-ratio:1;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:700}.checkbox-group[data-v-aef3c1bd]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.pix-button[data-v-aef3c1bd]{display:block;margin:0 auto}.result fieldset[data-v-aef3c1bd]:first-child{margin-bottom:24px}.result .legend[data-v-aef3c1bd]{justify-content:start;gap:8px}.result .legend[data-v-aef3c1bd]:before{content:"";position:relative;top:2px;background-color:var(--color);border-radius:50%;min-width:12px;aspect-ratio:1;align-self:center}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(4,1fr)}.feedback[data-v-aef3c1bd]{border-radius:8px;background:#eaf1ff;padding:8px;margin:16px 0 0}.feedback[data-v-aef3c1bd],.feedback span[data-v-aef3c1bd]{font-family:Roboto,sans-serif;font-size:.75rem;line-height:1.125rem}.feedback span[data-v-aef3c1bd]{display:block;margin-bottom:.4rem}@media screen and (max-width:874px){.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:576px){.checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr;gap:8px}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr}}', $e = /* @__PURE__ */ V(we, [["styles", [Se, je]], ["__scopeId", "data-v-aef3c1bd"]]);
|
|
177
177
|
S.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": J, "./locales/en.json": Q, "./locales/es-419.json": W, "./locales/es.json": X, "./locales/fr-BE.json": Y, "./locales/fr.json": ee, "./locales/it.json": te, "./locales/nl.json": ae }));
|
|
178
178
|
const ze = K($e, {
|
|
179
179
|
configureApp(a) {
|