@1024pix/epreuves-components 4.5.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-DNrjLa1r.js → Button.ce-C-lBihdF.js} +1 -1
- package/dist/{ButtonTooltip.ce-DQ8QAvUM.js → ButtonTooltip.ce-B071jWM0.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js → Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js} +1 -1
- package/dist/{Feedback.ce-MqHV98f3.js → Feedback.ce-CeyQhenY.js} +1 -1
- package/dist/{FocusManager.ce-CwF5pnqR.js → FocusManager.ce-Cb8fkfeb.js} +2 -2
- package/dist/Icon.ce-AUDpzQic.js +50 -0
- package/dist/{LLMMessage.ce-Duki08xd.js → LLMMessage.ce-DBorHEa1.js} +2 -2
- package/dist/{Loading.ce-D7CUjrcI.js → Loading.ce-D7EpPBBD.js} +1 -1
- package/dist/Modal.ce-CRJ7RcAX.js +86 -0
- package/dist/{NavigationButton.ce-17UL0Mwu.js → NavigationButton.ce-DqFqWt9V.js} +2 -2
- package/dist/{PixMailMessage.ce-CNULZecQ.js → PixMailMessage.ce-Cqrs9R3i.js} +13 -13
- package/dist/{Popin.ce-VvQiVxjk.js → Popin.ce-D1V8wzxE.js} +3 -3
- package/dist/{Retry-CGkQcck5.js → Retry-fzluiEoj.js} +3 -3
- package/dist/{Stepper.ce-gx2YaVCo.js → Stepper.ce-cG0al2pY.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DROOAHrz.js → _plugin-vue_export-helper-DJlRxzRH.js} +9 -9
- package/dist/components/analyse-mails-phishing.ce.js.js +16 -16
- 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 +7 -7
- package/dist/components/capacity-calculation.ce.js.js +7 -7
- package/dist/components/clickable-image.ce.js.js +1 -1
- package/dist/components/complete-phrase.ce.js.js +3 -3
- 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 +81 -150
- 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 +1 -1
- package/dist/components/mdp-classement.ce.js.js +6 -6
- package/dist/components/message-conversation.ce.js.js +6 -6
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +4 -4
- package/dist/components/phishing-message.ce.js.js +2 -2
- package/dist/components/phishing-notification.ce.js.js +18 -18
- package/dist/components/pix-anonymisation.ce.js.js +6 -6
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +4 -4
- package/dist/components/pix-combinaisons.ce.js.js +5 -5
- 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 +9 -9
- package/dist/components/qcm-deepfake.ce.js.js +23 -23
- package/dist/components/quiz-stepper.ce.js.js +6 -6
- package/dist/components/select-conversation.ce.js.js +2 -2
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +2 -2
- package/dist/components/trouver-mdp-rs.ce.js.js +15 -15
- package/dist/components/usages-donnees.ce.js.js +3 -3
- package/dist/{i18n-BVfGnSnP.js → i18n-C0iMUvqX.js} +1 -1
- package/dist/{i18n-lite-V7Z5qwB2.js → i18n-lite-X2ADNonj.js} +1 -1
- package/dist/{image-quiz.ce-DLpB-rde.js → image-quiz.ce-BaKLPvSS.js} +8 -8
- package/dist/{index-BgVc_wZ5.js → index-Ck6CFpiq.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +29 -25
- package/dist/props.examples.js +115 -113
- package/dist/schema.js +55 -53
- package/dist/{shadow-dom-4LHwwhYa.js → shadow-dom-Dh5hLXcx.js} +1 -1
- package/package.json +1 -1
- package/dist/Icon.ce-O_y_jvjK.js +0 -50
|
@@ -1,98 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as
|
|
3
|
-
import { p as
|
|
4
|
-
import { I as
|
|
5
|
-
import {
|
|
6
|
-
import { b as
|
|
7
|
-
const
|
|
1
|
+
import { a as B, h as G, o as E, c as I, b as t, D as s, E as u, v as w, A as c, x as n, t as f, r as d, g as L, n as R, _ as z, d as N } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as P, i as m } from "../i18n-lite-X2ADNonj.js";
|
|
3
|
+
import { p as $ } from "../shadow-dom-Dh5hLXcx.js";
|
|
4
|
+
import { I as H, B as x } from "../Icon.ce-AUDpzQic.js";
|
|
5
|
+
import { I as g, M as F } from "../Modal.ce-CRJ7RcAX.js";
|
|
6
|
+
import { b as q } from "../normalize-props-DH0oPBss.js";
|
|
7
|
+
const D = {}, T = {}, A = {
|
|
8
8
|
"generate-mdp": { addPassword: "Ajouter un mot de passe", title: "Titre", email: "Adresse e-mail", password: "Mot de passe", save: "Enregistrer", strength: "Fort", weak: "Faible", generatePassword: "Générer un mot de passe fort", feedback: { title: "Bravo !", content: "Grâce au gestionnaire de mots de passe, vous pouvez générer automatiquement des mots de passe forts." } }
|
|
9
|
-
},
|
|
10
|
-
__name: "Input.ce",
|
|
11
|
-
props: /* @__PURE__ */ S({
|
|
12
|
-
label: { type: String }
|
|
13
|
-
}, {
|
|
14
|
-
modelValue: {},
|
|
15
|
-
modelModifiers: {}
|
|
16
|
-
}),
|
|
17
|
-
emits: ["update:modelValue"],
|
|
18
|
-
setup(t) {
|
|
19
|
-
const d = G(t, "modelValue"), n = L();
|
|
20
|
-
return (i, r) => (b(), h(B, null, [
|
|
21
|
-
e("label", { for: v(n) }, l(t.label), 9, O),
|
|
22
|
-
N(e("input", H({
|
|
23
|
-
id: v(n),
|
|
24
|
-
"onUpdate:modelValue": r[0] || (r[0] = (f) => d.value = f)
|
|
25
|
-
}, i.$attrs), null, 16, W), [
|
|
26
|
-
[P, d.value]
|
|
27
|
-
])
|
|
28
|
-
], 64));
|
|
29
|
-
}
|
|
30
|
-
}), ee = "label[data-v-cf0dabbb]{display:block;margin-bottom:8px;font-size:.875rem;color:#5e6c84;line-height:20px}input[data-v-cf0dabbb]{width:100%;display:block;padding:12px 16px}", y = /* @__PURE__ */ V(X, [["styles", [ee]], ["__scopeId", "data-v-cf0dabbb"]]), te = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "overlay"
|
|
33
|
-
}, ae = ["aria-label"], se = { class: "pop-in__header" }, oe = { class: "pop-in__title" }, ne = {
|
|
34
|
-
id: "content",
|
|
35
|
-
class: "pop-in__content"
|
|
36
|
-
}, le = /* @__PURE__ */ k({
|
|
37
|
-
__name: "Modal.ce",
|
|
38
|
-
props: {
|
|
39
|
-
title: { type: String },
|
|
40
|
-
content: { type: String },
|
|
41
|
-
show: { type: Boolean },
|
|
42
|
-
loop: { type: Boolean }
|
|
43
|
-
},
|
|
44
|
-
setup(t, { expose: d }) {
|
|
45
|
-
const n = z("pop-in");
|
|
46
|
-
return d({ dialogElement: n }), (i, r) => (b(), h(B, null, [
|
|
47
|
-
t.show ? (b(), h("div", te)) : D("", !0),
|
|
48
|
-
o(Z, {
|
|
49
|
-
"is-visible": t.show,
|
|
50
|
-
loop: !!t.loop
|
|
51
|
-
}, {
|
|
52
|
-
default: g(() => [
|
|
53
|
-
e("dialog", {
|
|
54
|
-
ref: "pop-in",
|
|
55
|
-
"aria-label": t.title,
|
|
56
|
-
"aria-describedBy": "content",
|
|
57
|
-
class: "pop-in",
|
|
58
|
-
tabindex: "-1"
|
|
59
|
-
}, [
|
|
60
|
-
e("div", se, [
|
|
61
|
-
e("h1", oe, [
|
|
62
|
-
$(i.$slots, "title", {}, () => [
|
|
63
|
-
u(l(t.title), 1)
|
|
64
|
-
])
|
|
65
|
-
]),
|
|
66
|
-
e("p", ne, [
|
|
67
|
-
$(i.$slots, "content", {}, () => [
|
|
68
|
-
u(l(t.content), 1)
|
|
69
|
-
])
|
|
70
|
-
])
|
|
71
|
-
])
|
|
72
|
-
], 8, ae)
|
|
73
|
-
]),
|
|
74
|
-
_: 3
|
|
75
|
-
}, 8, ["is-visible", "loop"])
|
|
76
|
-
], 64));
|
|
77
|
-
}
|
|
78
|
-
}), de = ".overlay{position:absolute;border-radius:8px;z-index:200;inset:0;background-color:#25385859}.pop-in{display:flex;flex-direction:column;width:min(560px,95%);gap:16px;padding-bottom:24px;position:absolute;z-index:300;border-radius:16px;top:40%;left:50%;transform:translate(-50%,-50%);background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}.pop-in__header{padding:24px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#613fdd33,#613fdd1a 40%,#fff)}.pop-in__title{font-weight:700;font-size:1.25rem}.pop-in__content{font-family:Roboto,sans-serif;font-size:.875rem}", ie = /* @__PURE__ */ V(le, [["styles", [de]]]), re = "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='M8.99976%2011.25V12.75M4.49976%2015.75H13.4998C13.8976%2015.75%2014.2791%2015.592%2014.5604%2015.3107C14.8417%2015.0294%2014.9998%2014.6478%2014.9998%2014.25V9.75C14.9998%209.35218%2014.8417%208.97064%2014.5604%208.68934C14.2791%208.40804%2013.8976%208.25%2013.4998%208.25H4.49976C4.10193%208.25%203.7204%208.40804%203.4391%208.68934C3.15779%208.97064%202.99976%209.35218%202.99976%209.75V14.25C2.99976%2014.6478%203.15779%2015.0294%203.4391%2015.3107C3.7204%2015.592%204.10193%2015.75%204.49976%2015.75ZM11.9998%208.25V5.25C11.9998%204.45435%2011.6837%203.69129%2011.1211%203.12868C10.5585%202.56607%209.79541%202.25%208.99976%202.25C8.20411%202.25%207.44104%202.56607%206.87844%203.12868C6.31583%203.69129%205.99976%204.45435%205.99976%205.25V8.25H11.9998Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", pe = "data:image/svg+xml,%3csvg%20width='33'%20height='33'%20viewBox='0%200%2033%2033'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.562%2016.5C29.562%2019.0835%2028.7959%2021.609%2027.3606%2023.7571C25.9253%2025.9053%2023.8852%2027.5795%2021.4983%2028.5682C19.1115%2029.5568%2016.485%2029.8155%2013.9512%2029.3115C11.4173%2028.8075%209.08976%2027.5634%207.26294%2025.7366C5.43611%2023.9098%204.19203%2021.5822%203.68801%2019.0484C3.18399%2016.5145%203.44267%2013.8881%204.43134%2011.5012C5.42001%209.11434%207.09426%207.07425%209.24238%205.63893C11.3905%204.2036%2013.916%203.4375%2016.4995%203.4375C19.0419%203.43667%2021.5293%204.17778%2023.6566%205.56996C25.784%206.96214%2027.4588%208.94486%2028.4758%2011.275M29.562%207.5625L28.9089%2011.9281L24.7495%2011'%20stroke='white'%20stroke-width='3.09375'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7495%2015.125V13.0625C13.7495%2012.3332%2014.0392%2011.6337%2014.555%2011.118C15.0707%2010.6022%2015.7702%2010.3125%2016.4995%2010.3125C17.2289%2010.3125%2017.9283%2010.6022%2018.4441%2011.118C18.9598%2011.6337%2019.2495%2012.3332%2019.2495%2013.0625V15.125M15.4683%2022.6875H17.5308C19.1436%2022.6875%2019.9508%2022.6875%2020.5049%2022.2613C20.6479%2022.1515%2020.776%2022.0234%2020.8858%2021.8804C21.312%2021.3249%2021.312%2020.5191%2021.312%2018.9062C21.312%2017.2934%2021.312%2016.4862%2020.8858%2015.9321C20.776%2015.7891%2020.6479%2015.661%2020.5049%2015.5513C19.9494%2015.125%2019.1436%2015.125%2017.5308%2015.125H15.4683C13.8554%2015.125%2013.0483%2015.125%2012.4941%2015.5513C12.3511%2015.661%2012.223%2015.7891%2012.1133%2015.9321C11.687%2016.4876%2011.687%2017.2934%2011.687%2018.9062C11.687%2020.5191%2011.687%2021.3263%2012.1133%2021.8804C12.223%2022.0234%2012.3511%2022.1515%2012.4941%2022.2613C13.0496%2022.6875%2013.8554%2022.6875%2015.4683%2022.6875Z'%20stroke='white'%20stroke-width='3.09375'%20stroke-linejoin='round'/%3e%3c/svg%3e", ce = { class: "wrapper" }, ue = ["aria-level"], fe = ["src"], me = { class: "password-field" }, ge = { class: "password-strength" }, be = {
|
|
9
|
+
}, 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='M8.99976%2011.25V12.75M4.49976%2015.75H13.4998C13.8976%2015.75%2014.2791%2015.592%2014.5604%2015.3107C14.8417%2015.0294%2014.9998%2014.6478%2014.9998%2014.25V9.75C14.9998%209.35218%2014.8417%208.97064%2014.5604%208.68934C14.2791%208.40804%2013.8976%208.25%2013.4998%208.25H4.49976C4.10193%208.25%203.7204%208.40804%203.4391%208.68934C3.15779%208.97064%202.99976%209.35218%202.99976%209.75V14.25C2.99976%2014.6478%203.15779%2015.0294%203.4391%2015.3107C3.7204%2015.592%204.10193%2015.75%204.49976%2015.75ZM11.9998%208.25V5.25C11.9998%204.45435%2011.6837%203.69129%2011.1211%203.12868C10.5585%202.56607%209.79541%202.25%208.99976%202.25C8.20411%202.25%207.44104%202.56607%206.87844%203.12868C6.31583%203.69129%205.99976%204.45435%205.99976%205.25V8.25H11.9998Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", S = "data:image/svg+xml,%3csvg%20width='33'%20height='33'%20viewBox='0%200%2033%2033'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.562%2016.5C29.562%2019.0835%2028.7959%2021.609%2027.3606%2023.7571C25.9253%2025.9053%2023.8852%2027.5795%2021.4983%2028.5682C19.1115%2029.5568%2016.485%2029.8155%2013.9512%2029.3115C11.4173%2028.8075%209.08976%2027.5634%207.26294%2025.7366C5.43611%2023.9098%204.19203%2021.5822%203.68801%2019.0484C3.18399%2016.5145%203.44267%2013.8881%204.43134%2011.5012C5.42001%209.11434%207.09426%207.07425%209.24238%205.63893C11.3905%204.2036%2013.916%203.4375%2016.4995%203.4375C19.0419%203.43667%2021.5293%204.17778%2023.6566%205.56996C25.784%206.96214%2027.4588%208.94486%2028.4758%2011.275M29.562%207.5625L28.9089%2011.9281L24.7495%2011'%20stroke='white'%20stroke-width='3.09375'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7495%2015.125V13.0625C13.7495%2012.3332%2014.0392%2011.6337%2014.555%2011.118C15.0707%2010.6022%2015.7702%2010.3125%2016.4995%2010.3125C17.2289%2010.3125%2017.9283%2010.6022%2018.4441%2011.118C18.9598%2011.6337%2019.2495%2012.3332%2019.2495%2013.0625V15.125M15.4683%2022.6875H17.5308C19.1436%2022.6875%2019.9508%2022.6875%2020.5049%2022.2613C20.6479%2022.1515%2020.776%2022.0234%2020.8858%2021.8804C21.312%2021.3249%2021.312%2020.5191%2021.312%2018.9062C21.312%2017.2934%2021.312%2016.4862%2020.8858%2015.9321C20.776%2015.7891%2020.6479%2015.661%2020.5049%2015.5513C19.9494%2015.125%2019.1436%2015.125%2017.5308%2015.125H15.4683C13.8554%2015.125%2013.0483%2015.125%2012.4941%2015.5513C12.3511%2015.661%2012.223%2015.7891%2012.1133%2015.9321C11.687%2016.4876%2011.687%2017.2934%2011.687%2018.9062C11.687%2020.5191%2011.687%2021.3263%2012.1133%2021.8804C12.223%2022.0234%2012.3511%2022.1515%2012.4941%2022.2613C13.0496%2022.6875%2013.8554%2022.6875%2015.4683%2022.6875Z'%20stroke='white'%20stroke-width='3.09375'%20stroke-linejoin='round'/%3e%3c/svg%3e", U = { class: "wrapper" }, Q = ["aria-level"], Z = ["src"], K = { class: "password-field" }, Y = { class: "password-strength" }, O = {
|
|
79
10
|
"aria-live": "polite",
|
|
80
11
|
class: "password-strength__strengthness"
|
|
81
|
-
},
|
|
12
|
+
}, W = { class: "sr-only" }, X = ["src"], ee = /* @__PURE__ */ B({
|
|
82
13
|
__name: "GenerateMdp.ce",
|
|
83
14
|
props: {
|
|
84
15
|
titleLevel: { default: 2, type: Number }
|
|
85
16
|
},
|
|
86
|
-
setup(
|
|
87
|
-
const { t:
|
|
88
|
-
async function
|
|
89
|
-
|
|
17
|
+
setup(r, { expose: C }) {
|
|
18
|
+
const { t: b } = P(), k = G("success-modal"), h = d("La belle fripe"), v = d("elio@pixmail.org"), a = d(""), i = d(!1);
|
|
19
|
+
async function y() {
|
|
20
|
+
i.value = !0, await R(), k.value.dialogElement.focus();
|
|
90
21
|
}
|
|
91
|
-
|
|
92
|
-
function
|
|
93
|
-
|
|
22
|
+
$();
|
|
23
|
+
function V() {
|
|
24
|
+
i.value = !1, a.value = "";
|
|
94
25
|
}
|
|
95
|
-
const
|
|
26
|
+
const p = [
|
|
96
27
|
"39m%,Yqp4brJ",
|
|
97
28
|
"aqN1^!T`:GID",
|
|
98
29
|
"4_nakXe59Hi5",
|
|
@@ -115,114 +46,114 @@ const Y = {
|
|
|
115
46
|
",2G+Gj<pk:fD",
|
|
116
47
|
"*D4W0asv+$:("
|
|
117
48
|
];
|
|
118
|
-
function
|
|
119
|
-
const
|
|
120
|
-
|
|
49
|
+
function M() {
|
|
50
|
+
const e = Math.floor(p.length * Math.random());
|
|
51
|
+
a.value = p[e];
|
|
121
52
|
}
|
|
122
|
-
const
|
|
123
|
-
return
|
|
124
|
-
reset:
|
|
125
|
-
}), (
|
|
126
|
-
|
|
127
|
-
"aria-level":
|
|
53
|
+
const j = L(() => p.includes(a.value) ? b("generate-mdp.strength") : b("generate-mdp.weak"));
|
|
54
|
+
return C({
|
|
55
|
+
reset: V
|
|
56
|
+
}), (e, o) => (E(), I("div", U, [
|
|
57
|
+
t("div", {
|
|
58
|
+
"aria-level": r.titleLevel,
|
|
128
59
|
class: "title",
|
|
129
60
|
role: "heading"
|
|
130
61
|
}, [
|
|
131
|
-
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
-
src:
|
|
62
|
+
s(H, { "background-color": "#2c75ff" }, {
|
|
63
|
+
default: u(() => [
|
|
64
|
+
t("img", {
|
|
65
|
+
src: w(J),
|
|
135
66
|
alt: ""
|
|
136
|
-
}, null, 8,
|
|
67
|
+
}, null, 8, Z)
|
|
137
68
|
]),
|
|
138
69
|
_: 1
|
|
139
70
|
}),
|
|
140
|
-
|
|
141
|
-
], 8,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
modelValue:
|
|
145
|
-
"onUpdate:modelValue":
|
|
146
|
-
label:
|
|
71
|
+
c(" " + n(e.$t("generate-mdp.addPassword")), 1)
|
|
72
|
+
], 8, Q),
|
|
73
|
+
t("form", null, [
|
|
74
|
+
s(g, {
|
|
75
|
+
modelValue: h.value,
|
|
76
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => h.value = l),
|
|
77
|
+
label: e.$t("generate-mdp.title"),
|
|
147
78
|
readonly: !0,
|
|
148
79
|
type: "text"
|
|
149
80
|
}, null, 8, ["modelValue", "label"]),
|
|
150
|
-
|
|
151
|
-
modelValue:
|
|
152
|
-
"onUpdate:modelValue":
|
|
153
|
-
label:
|
|
81
|
+
s(g, {
|
|
82
|
+
modelValue: v.value,
|
|
83
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => v.value = l),
|
|
84
|
+
label: e.$t("generate-mdp.email"),
|
|
154
85
|
readonly: !0,
|
|
155
86
|
type: "text"
|
|
156
87
|
}, null, 8, ["modelValue", "label"]),
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue":
|
|
161
|
-
label:
|
|
88
|
+
t("div", K, [
|
|
89
|
+
s(g, {
|
|
90
|
+
modelValue: a.value,
|
|
91
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => a.value = l),
|
|
92
|
+
label: e.$t("generate-mdp.password"),
|
|
162
93
|
readonly: !0,
|
|
163
94
|
class: "password",
|
|
164
95
|
type: "text"
|
|
165
96
|
}, null, 8, ["modelValue", "label"]),
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
97
|
+
t("div", Y, [
|
|
98
|
+
t("p", O, [
|
|
99
|
+
t("span", W, n(e.$t("generate-mdp.password")) + " ", 1),
|
|
100
|
+
c(n(j.value), 1)
|
|
170
101
|
]),
|
|
171
|
-
|
|
172
|
-
class:
|
|
102
|
+
t("div", {
|
|
103
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
173
104
|
"aria-hidden": "true"
|
|
174
105
|
}, null, 2),
|
|
175
|
-
|
|
176
|
-
class:
|
|
106
|
+
t("div", {
|
|
107
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
177
108
|
"aria-hidden": "true"
|
|
178
109
|
}, null, 2),
|
|
179
|
-
|
|
180
|
-
class:
|
|
110
|
+
t("div", {
|
|
111
|
+
class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
|
|
181
112
|
"aria-hidden": "true"
|
|
182
113
|
}, null, 2)
|
|
183
114
|
]),
|
|
184
|
-
|
|
185
|
-
title:
|
|
115
|
+
s(x, {
|
|
116
|
+
title: e.$t("generate-mdp.generatePassword"),
|
|
186
117
|
variant: "primary-bis",
|
|
187
|
-
onClick:
|
|
118
|
+
onClick: M
|
|
188
119
|
}, {
|
|
189
|
-
default:
|
|
190
|
-
|
|
191
|
-
src:
|
|
120
|
+
default: u(() => [
|
|
121
|
+
t("img", {
|
|
122
|
+
src: w(S),
|
|
192
123
|
alt: ""
|
|
193
|
-
}, null, 8,
|
|
124
|
+
}, null, 8, X)
|
|
194
125
|
]),
|
|
195
126
|
_: 1
|
|
196
127
|
}, 8, ["title"])
|
|
197
128
|
]),
|
|
198
|
-
|
|
129
|
+
s(x, {
|
|
199
130
|
class: "send",
|
|
200
|
-
onClick:
|
|
201
|
-
"is-disabled": !
|
|
131
|
+
onClick: y,
|
|
132
|
+
"is-disabled": !a.value
|
|
202
133
|
}, {
|
|
203
|
-
default:
|
|
204
|
-
|
|
134
|
+
default: u(() => [
|
|
135
|
+
c(n(e.$t("generate-mdp.save")), 1)
|
|
205
136
|
]),
|
|
206
137
|
_: 1
|
|
207
138
|
}, 8, ["is-disabled"]),
|
|
208
|
-
|
|
139
|
+
s(F, {
|
|
209
140
|
ref: "success-modal",
|
|
210
|
-
content:
|
|
211
|
-
show:
|
|
141
|
+
content: e.$t("generate-mdp.feedback.content"),
|
|
142
|
+
show: i.value,
|
|
212
143
|
loop: !1,
|
|
213
|
-
title:
|
|
144
|
+
title: e.$t("generate-mdp.feedback.title")
|
|
214
145
|
}, null, 8, ["content", "show", "title"])
|
|
215
146
|
])
|
|
216
147
|
]));
|
|
217
148
|
}
|
|
218
|
-
}),
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
configureApp(
|
|
222
|
-
|
|
149
|
+
}), te = "*{--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}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}*{color:#253858}", ae = ".wrapper[data-v-a25e45eb]{padding:25px;border-radius:14px;position:relative;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}[data-v-a25e45eb] label{margin-top:16px}.title[data-v-a25e45eb]{display:flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:700}.password-field[data-v-a25e45eb]{display:grid;grid-template-columns:1fr 1fr 45px;gap:0 16px}.password-field .password-strength[data-v-a25e45eb]{grid-column:2/span 2;justify-self:end;display:flex;align-items:center;gap:8px}.password-field .password-strength__step[data-v-a25e45eb]{width:40px;height:5px;border-radius:5px;background:#c8cfd9}.password-field .password-strength__strengthness[data-v-a25e45eb]{color:#5e6c84;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400}.password-field .password-strength .filled-strength[data-v-a25e45eb]{background:#54c590}.password-field[data-v-a25e45eb] input{grid-column:1/span 2;grid-row:2}.password-field button[data-v-a25e45eb]{height:45px;width:45px;justify-content:center;display:flex}.send[data-v-a25e45eb]{display:block;margin:16px auto 0}@media screen and (max-width:576px){.password-field[data-v-a25e45eb]{display:grid;grid-template-columns:1fr 1fr 45px;grid-column:unset}.password-field[data-v-a25e45eb] .password{grid-row:unset}.password-field .password-strength[data-v-a25e45eb]{grid-column:unset;grid-row:3/span 2;justify-self:start;margin-top:8px}}", se = /* @__PURE__ */ z(ee, [["styles", [te, ae]], ["__scopeId", "data-v-a25e45eb"]]);
|
|
150
|
+
m.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/en.json": D, "./locales/es.json": T, "./locales/fr.json": A }));
|
|
151
|
+
const _ = N(se, {
|
|
152
|
+
configureApp(r) {
|
|
153
|
+
m.changeLanguage(document?.documentElement?.lang || navigator.language), r.use(m);
|
|
223
154
|
}
|
|
224
155
|
});
|
|
225
|
-
|
|
226
|
-
titleLevel:
|
|
156
|
+
_.prototype.normalizeProps = (r) => ({
|
|
157
|
+
titleLevel: q(r.titleLevel)
|
|
227
158
|
});
|
|
228
|
-
window.customElements.define("generate-mdp",
|
|
159
|
+
window.customElements.define("generate-mdp", _);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as t } from "../image-quiz.ce-
|
|
2
|
-
import "../_plugin-vue_export-helper-
|
|
1
|
+
import { n as t } from "../image-quiz.ce-BaKLPvSS.js";
|
|
2
|
+
import "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
3
3
|
import "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import "../i18n-lite-
|
|
4
|
+
import "../i18n-lite-X2ADNonj.js";
|
|
5
5
|
export {
|
|
6
6
|
t as normalizeImageQuizProps
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-
|
|
2
|
-
import {
|
|
3
|
-
import { i as n } from "../i18n-lite-
|
|
1
|
+
import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-BaKLPvSS.js";
|
|
2
|
+
import { a as q, r as E, w as h, o as l, c as y, e as I, f as k, m as B, F as Q, d as C } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
3
|
+
import { i as n } from "../i18n-lite-X2ADNonj.js";
|
|
4
4
|
const F = /* @__PURE__ */ q({
|
|
5
5
|
__name: "ImageQuizzes.ce",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
1
|
+
import { a as c, o as t, c as s, b as e, x as n, F as r, e as m, D as i, _ as p, d as g } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-DBorHEa1.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-Dh5hLXcx.js";
|
|
4
4
|
const f = {
|
|
5
5
|
class: "header",
|
|
6
6
|
"aria-hidden": "true"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as h } from "../LLMMessage.ce-
|
|
3
|
-
import { p as _ } from "../shadow-dom-
|
|
1
|
+
import { a as c, L as m, M as i, o as e, c as t, F as p, e as d, f, _ as g, d as u } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-DBorHEa1.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-Dh5hLXcx.js";
|
|
4
4
|
const x = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -18,12 +18,12 @@ const x = {
|
|
|
18
18
|
}
|
|
19
19
|
return i(async () => {
|
|
20
20
|
a.messages, r();
|
|
21
|
-
}), (
|
|
21
|
+
}), (b, w) => (e(), t("div", x, [
|
|
22
22
|
(e(!0), t(p, null, d(s.messages, (l, n) => (e(), f(h, {
|
|
23
23
|
key: n,
|
|
24
24
|
message: l
|
|
25
25
|
}, null, 8, ["message"]))), 128))
|
|
26
26
|
]));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
window.customElements.define("llm-messages", u(
|
|
28
|
+
}), v = "*{box-sizing:border-box}:host{height:100%;overflow:auto;scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){:host{scroll-behavior:auto}}.llm-messages{display:flex;flex-direction:column;gap:29px;padding:24px}", y = /* @__PURE__ */ g(L, [["styles", [v]]]);
|
|
29
|
+
window.customElements.define("llm-messages", u(y));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as h, r as c, K as y, o as d, c as m, D as w, b as a, A as k, F as b, e as L, x as S, _ as C, d as P } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
2
|
import { b as N } from "../normalize-props-DH0oPBss.js";
|
|
3
3
|
import "./llm-messages.ce.js.js";
|
|
4
4
|
const M = { class: "prompt-select" }, A = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ h({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as J, i as U, b as Q } from "../i18n-
|
|
3
|
-
import { B as W } from "../Button.ce-
|
|
4
|
-
import { F as X } from "../Feedback.ce-
|
|
5
|
-
import { _ as S, a as Z } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { a as j, h as L, o as n, c as d, t as G, b as s, y as h, f, x as g, D as b, E as v, l as _, n as N, _ as A, r as D, K as O, F as M, e as q, A as K, g as T, d as H } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { a as J, i as U, b as Q } from "../i18n-C0iMUvqX.js";
|
|
3
|
+
import { B as W } from "../Button.ce-C-lBihdF.js";
|
|
4
|
+
import { F as X } from "../Feedback.ce-CeyQhenY.js";
|
|
5
|
+
import { _ as S, a as Z } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
6
6
|
import { s as F } from "../shuffled-B8VGTceh.js";
|
|
7
|
-
import { B as I } from "../ButtonTooltip.ce-
|
|
7
|
+
import { B as I } from "../ButtonTooltip.ce-B071jWM0.js";
|
|
8
8
|
const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
9
9
|
"mdp-classement": { correct: "Correct", incorrect: "Incorrect", strong: "Fort", weak: "Faible", moveUp: "Classer l'élément comme étant plus fort", moveDown: "Classer l'élément comme étant plus faible", altInformation: "Une liste de mots de passe à ordonner du plus fort au plus faible", validate: "Valider", feedback: { positiveTitle: "Bien joué !", positiveContent: "Votre classement est correct ! Dans cette liste, seul le mot de passe {strongestPassword} est un mot de passe fort.", negativeTitle: "Pas tout à fait", negativeContent: "Plus un mot de passe est long, varié et imprévisible, plus il est fort. Il n'y a qu'un seul mot de passe fort dans cette liste." } }
|
|
10
10
|
}, o0 = {}, r0 = {}, i0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='url(%23paint0_linear_3023_127)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_127'%20x1='0'%20y1='4.55'%20x2='15.2333'%20y2='4.55'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", l0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='url(%23paint0_linear_3023_130)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_130'%20x1='0'%20y1='4.56267'%20x2='15.2333'%20y2='4.56267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", d0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", c0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='%23cdd1d9'/%3e%3c/svg%3e", p0 = "data:image/svg+xml,%3csvg%20width='9'%20height='15'%20viewBox='0%200%209%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201.5C0%201.29%20-1.55065e-07%201.1865%200.0119998%201.0995C0.0501813%200.824562%200.177043%200.569595%200.373319%200.373319C0.569595%200.177043%200.824562%200.0501813%201.0995%200.0119998C1.185%20-1.55065e-07%201.29%200%201.5%200C1.71%200%201.8135%20-1.55065e-07%201.9005%200.0119998C2.17544%200.0501813%202.4304%200.177043%202.62668%200.373319C2.82296%200.569595%202.94982%200.824562%202.988%201.0995C3%201.185%203%201.29%203%201.5C3%201.71%203%201.8135%202.988%201.9005C2.94982%202.17544%202.82296%202.4304%202.62668%202.62668C2.4304%202.82296%202.17544%202.94982%201.9005%202.988C1.815%203%201.71%203%201.5%203C1.29%203%201.1865%203%201.0995%202.988C0.824562%202.94982%200.569595%202.82296%200.373319%202.62668C0.177043%202.4304%200.0501813%202.17544%200.0119998%201.9005C-1.55065e-07%201.815%200%201.71%200%201.5ZM0%207.5C0%207.29%20-1.55065e-07%207.1865%200.0119998%207.0995C0.0501813%206.82456%200.177043%206.5696%200.373319%206.37332C0.569595%206.17704%200.824562%206.05018%201.0995%206.012C1.185%206%201.29%206%201.5%206C1.71%206%201.8135%206%201.9005%206.012C2.17544%206.05018%202.4304%206.17704%202.62668%206.37332C2.82296%206.5696%202.94982%206.82456%202.988%207.0995C3%207.185%203%207.29%203%207.5C3%207.71%203%207.8135%202.988%207.9005C2.94982%208.17544%202.82296%208.4304%202.62668%208.62668C2.4304%208.82296%202.17544%208.94982%201.9005%208.988C1.815%209%201.71%209%201.5%209C1.29%209%201.1865%209%201.0995%208.988C0.824562%208.94982%200.569595%208.82296%200.373319%208.62668C0.177043%208.4304%200.0501813%208.17544%200.0119998%207.9005C-1.55065e-07%207.815%200%207.71%200%207.5ZM0%2013.5C0%2013.2915%20-1.55065e-07%2013.1865%200.0119998%2013.0995C0.0504049%2012.8251%200.177181%2012.5706%200.373135%2012.3746C0.56909%2012.1787%200.823553%2012.0519%201.098%2012.0135C1.1865%2012.0015%201.29%2012.0015%201.4985%2012.0015C1.707%2012.0015%201.8135%2012.0015%201.899%2012.0135C2.17345%2012.0519%202.42791%2012.1787%202.62386%2012.3746C2.81982%2012.5706%202.94659%2012.8251%202.985%2013.0995C2.997%2013.1865%202.997%2013.2915%202.997%2013.5C2.997%2013.7085%202.997%2013.8135%202.985%2013.9005C2.94659%2014.1749%202.81982%2014.4294%202.62386%2014.6254C2.42791%2014.8213%202.17345%2014.9481%201.899%2014.9865C1.812%2014.9985%201.707%2014.9985%201.4985%2014.9985C1.29%2014.9985%201.185%2014.9985%201.098%2014.9865C0.823553%2014.9481%200.56909%2014.8213%200.373135%2014.6254C0.177181%2014.4294%200.0504049%2014.1749%200.0119998%2013.9005C-1.55065e-07%2013.8135%200%2013.7085%200%2013.5ZM6%201.5C6%201.29%206%201.1865%206.012%201.0995C6.05018%200.824562%206.17704%200.569595%206.37332%200.373319C6.5696%200.177043%206.82456%200.0501813%207.0995%200.0119998C7.185%20-1.55065e-07%207.29%200%207.5%200C7.71%200%207.8135%20-1.55065e-07%207.9005%200.0119998C8.17544%200.0501813%208.4304%200.177043%208.62668%200.373319C8.82296%200.569595%208.94982%200.824562%208.988%201.0995C9%201.185%209%201.29%209%201.5C9%201.71%209%201.8135%208.988%201.9005C8.94982%202.17544%208.82296%202.4304%208.62668%202.62668C8.4304%202.82296%208.17544%202.94982%207.9005%202.988C7.815%203%207.71%203%207.5%203C7.29%203%207.1865%203%207.0995%202.988C6.82456%202.94982%206.5696%202.82296%206.37332%202.62668C6.17704%202.4304%206.05018%202.17544%206.012%201.9005C6%201.815%206%201.71%206%201.5ZM6%207.5C6%207.29%206%207.1865%206.012%207.0995C6.05018%206.82456%206.17704%206.5696%206.37332%206.37332C6.5696%206.17704%206.82456%206.05018%207.0995%206.012C7.185%206%207.29%206%207.5%206C7.71%206%207.8135%206%207.9005%206.012C8.17544%206.05018%208.4304%206.17704%208.62668%206.37332C8.82296%206.5696%208.94982%206.82456%208.988%207.0995C9%207.185%209%207.29%209%207.5C9%207.71%209%207.8135%208.988%207.9005C8.94982%208.17544%208.82296%208.4304%208.62668%208.62668C8.4304%208.82296%208.17544%208.94982%207.9005%208.988C7.815%209%207.71%209%207.5%209C7.29%209%207.1865%209%207.0995%208.988C6.82456%208.94982%206.5696%208.82296%206.37332%208.62668C6.17704%208.4304%206.05018%208.17544%206.012%207.9005C6%207.815%206%207.71%206%207.5ZM6%2013.5C6%2013.2915%206%2013.1865%206.012%2013.0995C6.05041%2012.8251%206.17718%2012.5706%206.37314%2012.3746C6.56909%2012.1787%206.82355%2012.0519%207.098%2012.0135C7.1865%2012.0015%207.29%2012.0015%207.4985%2012.0015C7.7085%2012.0015%207.8135%2012.0015%207.899%2012.0135C8.17345%2012.0519%208.42791%2012.1787%208.62386%2012.3746C8.81982%2012.5706%208.94659%2012.8251%208.985%2013.0995C8.997%2013.1865%208.997%2013.2915%208.997%2013.5C8.997%2013.7085%208.997%2013.8135%208.985%2013.9005C8.94659%2014.1749%208.81982%2014.4294%208.62386%2014.6254C8.42791%2014.8213%208.17345%2014.9481%207.899%2014.9865C7.812%2014.9985%207.707%2014.9985%207.4985%2014.9985C7.29%2014.9985%207.185%2014.9985%207.098%2014.9865C6.82355%2014.9481%206.56909%2014.8213%206.37314%2014.6254C6.17718%2014.4294%206.05041%2014.1749%206.012%2013.9005C6%2013.8135%206%2013.7085%206%2013.5Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", C0 = { class: "card-left" }, g0 = ["src"], v0 = ["id"], u0 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L } from "../Loading.ce-
|
|
3
|
-
import { u as
|
|
1
|
+
import { a as S, k as T, o as n, c as i, t as x, b as _, A as k, x as v, l, D as B, R as E, m as z, F as b, e as D, r as w, g as M, _ as N, h as P, f as V, d as F } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { L } from "../Loading.ce-D7EpPBBD.js";
|
|
3
|
+
import { u as j, a as I, b as O } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const R = ["part"], q = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "message__loader message__content",
|
|
@@ -112,11 +112,11 @@ const R = ["part"], q = {
|
|
|
112
112
|
}), Z = "figure{background-color:#fff;border-radius:16px;display:flex;flex-direction:column;gap:8px;margin:0;padding:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}", ee = /* @__PURE__ */ N(Y, [["styles", [Z]]]), A = F(ee);
|
|
113
113
|
A.prototype.normalizeProps = (e) => ({
|
|
114
114
|
...e,
|
|
115
|
-
animationSpeed:
|
|
115
|
+
animationSpeed: O(e.animationSpeed),
|
|
116
116
|
messages: e.messages.map(({ type: c, content: t, image: d, ...m }) => ({
|
|
117
117
|
...m,
|
|
118
|
-
content:
|
|
119
|
-
image:
|
|
118
|
+
content: I(t),
|
|
119
|
+
image: j(d)
|
|
120
120
|
}))
|
|
121
121
|
});
|
|
122
122
|
window.customElements.define("message-conversation", A);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as i, o as a, c as l, J as s, b as r, q as n, B as d, t as b, _ as p, d as h } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
2
|
const m = {
|
|
3
3
|
class: "content",
|
|
4
4
|
part: "content"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as b, u as H } from "../i18n-lite-
|
|
3
|
-
import { _ as z, a as D } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { I as E, B as G } from "../Icon.ce-
|
|
1
|
+
import { a as x, h as A, o as r, c as _, t as B, F as L, f as h, l as C, b as e, x as o, q as g, g as u, _ as w, B as Z, e as I, E as v, A as m, D as S, r as V, d as q } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { i as b, u as H } from "../i18n-lite-X2ADNonj.js";
|
|
3
|
+
import { _ as z, a as D } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
|
|
4
|
+
import { I as E, B as G } from "../Icon.ce-AUDpzQic.js";
|
|
5
5
|
import { b as P } from "../normalize-props-DH0oPBss.js";
|
|
6
6
|
const R = {}, U = {}, K = {}, O = {
|
|
7
7
|
"notification-antivirus": { nextButtonLabel: "Suivant", question: "Que devez-vous faire pour cette notification ?", notificationSubtitle: "Antivirus security", iDontKnow: "Je ne sais pas", closeNotification: "Fermer la notification", successFeedbackTitle: "Bien joué !", failureFeedbackTitle: "Eh non !", indeed: "effectivement, ", step1: { notification: { title: "Analyse quotidienne terminée", content: "Aucun élément dangereux détecté." }, shutDownComputer: "Éteindre l’ordinateur", feedback: "{{indeed}}ici la notification transmet seulement une information mais ne demande pas d’action de la part de Philippe. Il faut toujours lire attentivement les notifications de l’antivirus." }, step2: { notification: { title: "Menace détectée sur la clef USB", content: "L’élément potentiellement dangereux a été isolé." }, unplugUsb: "Débrancher la clé et ne plus l’utiliser", feedback: "{{indeed}}ici la notification transmet une information importante à Philippe : il a un problème avec la clé USB. Mieux vaut ne plus l’utiliser." }, step3: { notification: { title: "Mise à jour prête à être installée", content: "La base de signatures de votre antivirus doit être mise à jour." }, installUpdate: "Installer la mise à jour", feedback: "{{indeed}}ici la notification transmet une information importante à Philippe : son antivirus doit être mis à jour. Il est important de ne pas ignorer cette notification et d’installer la notification." } }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b, K as z, o, c as d, F as k,
|
|
2
|
-
import { u as H, a as G, i as M, b as K } from "../i18n-
|
|
1
|
+
import { a as b, K as z, o, c as d, F as k, b as t, x as a, v as j, y as N, D as S, X as F, e as y, E as B, l as h, g as u, _ as w, h as _, B as Q, f as C, m as L, J as O, r as x, n as J, d as U } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as H, a as G, i as M, b as K } from "../i18n-C0iMUvqX.js";
|
|
3
3
|
import { b as W } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const X = {}, Y = {}, ee = {}, te = {}, ne = {}, se = {
|
|
5
5
|
"phishing-message": { messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}", readMore: "lire la suite", message1: { senderName: "Info ANTAI", content: "{{ boldContent1 }}: amende impayée de 35€. Consultez votre dossier ANTAI avant {{ boldContent2 }} via : {{ linkContent }}", boldContent1: "Retard de paiement", boldContent2: "majoration", linkContent: "dossier-amende-gouv.antai", victory: "Effectivement, avec ce message, l’escroc veut que le lecteur ressente de la peur et un sentiment d’urgence.", loose: "Eh non ! Avec ce message, l’escroc veut que vous ressentiez de la peur et un sentiment d’urgence." }, message2: { senderName: "IMPOT", content: `IMPORTANT : Vous avez un remboursement disponible de 826€.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as P, j as
|
|
2
|
-
import { u as r2, a as l2, i as
|
|
1
|
+
import { h as P, j as Q, k as J, n as R, o as a, c as r, l as k, b as t, q as U, r as x, g as v, a as W, s as X, u as e2, K as t2, D as H, E as F, x as n, B as o2, A as B, F as Z, e as S, t as T, y as i2, v as w, Q as n2, _ as s2, d as a2 } from "../_plugin-vue_export-helper-DJlRxzRH.js";
|
|
2
|
+
import { u as r2, a as l2, i as N, b as c2 } from "../i18n-C0iMUvqX.js";
|
|
3
3
|
import { b as d2 } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
import "./mobile-shell.ce.js.js";
|
|
5
5
|
import { a as h2 } from "../temporal.utils-DgmGPVba.js";
|
|
6
|
-
import { B as u2 } from "../ButtonTooltip.ce-
|
|
6
|
+
import { B as u2 } from "../ButtonTooltip.ce-B071jWM0.js";
|
|
7
7
|
const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
8
8
|
"phishing-notification": { titleCta: "Catégorisez les notifications", categorization: { titleCta: "Catégorisez cette notification", from: "De : {{sender}}", titleCategories: "L’expéditeur se fait passer pour :" }, correction: "La catégorie {{selectedCategory}} n'est pas la bonne. La bonne catégorisation est : {{category}}", validation: "La catégorie {{selectedCategory}} est la bonne.", progressBarA11Y_one: "{{count}} réponse sur {{total}}", progressBarA11Y_other: "{{count}} réponses sur {{total}}", titleResult: "Résultats", result_one: "{{count}} / {{total}} bonne réponse", result_other: "{{count}} / {{total}} bonnes réponses", close: "Fermer" }
|
|
9
9
|
}, w2 = {}, v2 = {}, k2 = ["tabindex"], b2 = ["tabindex"], x2 = {
|
|
@@ -37,9 +37,9 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
37
37
|
].join(",");
|
|
38
38
|
let u = [], l = [];
|
|
39
39
|
const c = x(!1), f = x(), p = P("vueFocusLoopContainer"), h = s, b = v(() => h.isVisible ? 0 : -1);
|
|
40
|
-
|
|
40
|
+
Q(() => h.isVisible, () => {
|
|
41
41
|
m();
|
|
42
|
-
}),
|
|
42
|
+
}), J(() => {
|
|
43
43
|
m();
|
|
44
44
|
});
|
|
45
45
|
function m() {
|
|
@@ -149,16 +149,16 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
149
149
|
}, Symbol.toStringTag, { value: "Module" })), F2 = { class: "mobile-container" }, B2 = { class: "content" }, A2 = { key: 0 }, $2 = ["aria-level"], Z2 = {
|
|
150
150
|
class: "progress",
|
|
151
151
|
"aria-hidden": "true"
|
|
152
|
-
},
|
|
152
|
+
}, S2 = { class: "sr-only" }, T2 = {
|
|
153
153
|
key: 1,
|
|
154
154
|
class: "result"
|
|
155
|
-
},
|
|
155
|
+
}, N2 = { class: "title" }, D2 = { class: "notifications" }, P2 = ["src"], R2 = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "notification__preview"
|
|
158
158
|
}, O2 = { class: "notification__top" }, q2 = { class: "notification__title" }, Y2 = { class: "notification__time" }, I2 = { key: 0 }, K2 = {
|
|
159
159
|
class: "notification__selected-category notification__selected-category--right",
|
|
160
160
|
"aria-hidden": "true"
|
|
161
|
-
}, G2 = { class: "sr-only" },
|
|
161
|
+
}, G2 = { class: "sr-only" }, Q2 = { key: 1 }, J2 = {
|
|
162
162
|
class: "notification__selected-category notification__selected-category--wrong",
|
|
163
163
|
"aria-hidden": "true"
|
|
164
164
|
}, U2 = { class: "sr-only" }, W2 = ["onClick"], X2 = { class: "notification__top" }, e0 = { class: "notification__title" }, t0 = { class: "notification__time" }, o0 = { class: "notification__description" }, i0 = ["src"], n0 = ["aria-labelledby", "aria-describedby"], s0 = { class: "title-close" }, a0 = ["aria-level", "id"], r0 = ["src"], l0 = ["id"], c0 = { class: "categorization__sender" }, d0 = { class: "categorization__content" }, h0 = ["aria-level"], u0 = ["onClick"], g0 = ["src"], p0 = { "aria-live": "polite" }, f0 = {
|
|
@@ -195,8 +195,8 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
195
195
|
H(C, { "persist-mobile-shell": !0 }, {
|
|
196
196
|
default: F(() => [
|
|
197
197
|
t("div", B2, [
|
|
198
|
-
f.value ? (a(), r("div",
|
|
199
|
-
t("h2",
|
|
198
|
+
f.value ? (a(), r("div", T2, [
|
|
199
|
+
t("h2", N2, n(i.$t("phishing-notification.titleResult")), 1),
|
|
200
200
|
t("p", null, n(i.$t("phishing-notification.result", { count: h.value, total: l.value.length })), 1)
|
|
201
201
|
])) : (a(), r("div", A2, [
|
|
202
202
|
t("div", {
|
|
@@ -211,12 +211,12 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
211
211
|
}, null, 4),
|
|
212
212
|
B(" " + n(p.value) + "/" + n(l.value.length), 1)
|
|
213
213
|
]),
|
|
214
|
-
t("p",
|
|
214
|
+
t("p", S2, n(i.$t("phishing-notification.progressBar.progressBarA11Y", { count: p.value, total: l.value.length })), 1)
|
|
215
215
|
])),
|
|
216
216
|
t("ul", D2, [
|
|
217
|
-
(a(!0), r(Z, null,
|
|
217
|
+
(a(!0), r(Z, null, S(l.value, (o) => (a(), r("li", {
|
|
218
218
|
key: o.sender,
|
|
219
|
-
class:
|
|
219
|
+
class: T(["notification", { "notification--categorized": o.selectedCategory }]),
|
|
220
220
|
ref_for: !0,
|
|
221
221
|
ref_key: "notificationsList",
|
|
222
222
|
ref: m,
|
|
@@ -235,8 +235,8 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
235
235
|
o.selectedCategory == o.category ? (a(), r("span", I2, [
|
|
236
236
|
t("span", K2, n(o.category), 1),
|
|
237
237
|
t("span", G2, n(i.$t("phishing-notification.validation", { selectedCategory: o.selectedCategory })), 1)
|
|
238
|
-
])) : (a(), r("span",
|
|
239
|
-
t("span",
|
|
238
|
+
])) : (a(), r("span", Q2, [
|
|
239
|
+
t("span", J2, [
|
|
240
240
|
t("s", null, n(o.selectedCategory), 1),
|
|
241
241
|
B(" → " + n(o.category), 1)
|
|
242
242
|
]),
|
|
@@ -256,7 +256,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
256
256
|
], 8, W2)),
|
|
257
257
|
o.selectedCategory ? (a(), r("div", {
|
|
258
258
|
key: 2,
|
|
259
|
-
class:
|
|
259
|
+
class: T(["notification__pill", { "notification__pill--right": o.selectedCategory === o.category }]),
|
|
260
260
|
"aria-hidden": "true"
|
|
261
261
|
}, [
|
|
262
262
|
t("img", {
|
|
@@ -317,7 +317,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
317
317
|
class: "categorization__categories-title"
|
|
318
318
|
}, n(i.$t("phishing-notification.categorization.titleCategories")), 9, h0),
|
|
319
319
|
t("ul", null, [
|
|
320
|
-
(a(!0), r(Z, null,
|
|
320
|
+
(a(!0), r(Z, null, S(s.categories, (o) => (a(), r("li", {
|
|
321
321
|
key: o.name
|
|
322
322
|
}, [
|
|
323
323
|
t("button", {
|
|
@@ -345,7 +345,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
|
|
|
345
345
|
l2(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": g2, "./locales/en.json": p2, "./locales/es-419.json": f2, "./locales/es.json": m2, "./locales/fr-BE.json": _2, "./locales/fr.json": C2, "./locales/it.json": w2, "./locales/nl.json": v2 })).catch((s) => console.error(s));
|
|
346
346
|
const I = a2(C0, {
|
|
347
347
|
configureApp(s) {
|
|
348
|
-
|
|
348
|
+
N.changeLanguage(document?.documentElement?.lang || navigator.language), s.use(c2, { i18next: N });
|
|
349
349
|
}
|
|
350
350
|
});
|
|
351
351
|
I.prototype.normalizeProps = (s) => ({
|