@1024pix/epreuves-components 4.4.0 → 4.5.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-DNrjLa1r.js} +1 -1
- package/dist/{ButtonTooltip.ce-WwOarMJq.js → ButtonTooltip.ce-DQ8QAvUM.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-CUc-5ZVt.js} +1 -1
- package/dist/{Feedback.ce-CnZRBGWf.js → Feedback.ce-MqHV98f3.js} +1 -1
- package/dist/{FocusManager.ce-Cv3wYF9s.js → FocusManager.ce-CwF5pnqR.js} +6 -6
- package/dist/Icon.ce-O_y_jvjK.js +50 -0
- package/dist/{LLMMessage.ce-B7EwoHy2.js → LLMMessage.ce-Duki08xd.js} +2 -2
- package/dist/{Loading.ce-Dv2gEjXm.js → Loading.ce-D7CUjrcI.js} +1 -1
- package/dist/{NavigationButton.ce-D8_YC96l.js → NavigationButton.ce-17UL0Mwu.js} +2 -2
- package/dist/{PixMailMessage.ce-TnjyOfiH.js → PixMailMessage.ce-CNULZecQ.js} +13 -13
- package/dist/{Popin.ce-BPnBZykQ.js → Popin.ce-VvQiVxjk.js} +8 -8
- package/dist/{Retry-C3g7zhz8.js → Retry-CGkQcck5.js} +1 -1
- package/dist/{Stepper.ce-DEMN02yr.js → Stepper.ce-gx2YaVCo.js} +1 -1
- package/dist/{_plugin-vue_export-helper-Dz58mCLm.js → _plugin-vue_export-helper-DROOAHrz.js} +1635 -1540
- package/dist/components/analyse-mails-phishing.ce.js.js +11 -11
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +16 -16
- package/dist/components/capacity-calculation.ce.js.js +18 -18
- 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 +1 -1
- package/dist/components/generate-mdp.ce.js.js +228 -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 +3 -3
- 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 +9 -9
- 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 +4 -4
- package/dist/components/pix-anonymisation.ce.js.js +21 -21
- 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 +3 -3
- 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 +17 -17
- 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 +15 -15
- package/dist/components/usages-donnees.ce.js.js +27 -27
- package/dist/{i18n-H4HokXDX.js → i18n-BVfGnSnP.js} +13 -13
- package/dist/{i18n-lite-CzqISEWm.js → i18n-lite-V7Z5qwB2.js} +1 -1
- package/dist/{image-quiz.ce-C-iI27gD.js → image-quiz.ce-DLpB-rde.js} +2 -2
- package/dist/{index-BUPiE5WR.js → index-BgVc_wZ5.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +24 -20
- package/dist/props.examples.js +101 -99
- package/dist/schema.js +53 -51
- package/dist/{shadow-dom-D54WF-WZ.js → shadow-dom-4LHwwhYa.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { b as k, R as G, s as L, o as b, c as h, F as B, a as e, v, x as l, H as N, S as P, m as H, T as S, _ as V, h as z, l as D, D as o, E as g, q as $, A as u, t as _, r as m, g as q, n as T, d as A } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { u as U, i as C } from "../i18n-lite-V7Z5qwB2.js";
|
|
3
|
+
import { p as J } from "../shadow-dom-4LHwwhYa.js";
|
|
4
|
+
import { I as Q, B as M } from "../Icon.ce-O_y_jvjK.js";
|
|
5
|
+
import { F as Z } from "../FocusManager.ce-CwF5pnqR.js";
|
|
6
|
+
import { b as K } from "../normalize-props-DH0oPBss.js";
|
|
7
|
+
const Y = {
|
|
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
|
+
}, O = ["for"], W = ["id"], X = /* @__PURE__ */ k({
|
|
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 = {
|
|
79
|
+
"aria-live": "polite",
|
|
80
|
+
class: "password-strength__strengthness"
|
|
81
|
+
}, he = { class: "sr-only" }, ve = ["src"], we = /* @__PURE__ */ k({
|
|
82
|
+
__name: "GenerateMdp.ce",
|
|
83
|
+
props: {
|
|
84
|
+
titleLevel: { default: 2, type: Number }
|
|
85
|
+
},
|
|
86
|
+
setup(t, { expose: d }) {
|
|
87
|
+
const { t: n } = U(), i = z("success-modal"), r = m("La belle fripe"), f = m("elio@pixmail.org"), s = m(""), w = m(!1);
|
|
88
|
+
async function R() {
|
|
89
|
+
w.value = !0, await T(), i.value.dialogElement.focus();
|
|
90
|
+
}
|
|
91
|
+
J();
|
|
92
|
+
function j() {
|
|
93
|
+
w.value = !1, s.value = "";
|
|
94
|
+
}
|
|
95
|
+
const x = [
|
|
96
|
+
"39m%,Yqp4brJ",
|
|
97
|
+
"aqN1^!T`:GID",
|
|
98
|
+
"4_nakXe59Hi5",
|
|
99
|
+
"l]`G&nP:U3b7",
|
|
100
|
+
"2Hkl!Qr%8oBf",
|
|
101
|
+
"@[3LE.t%fqNa",
|
|
102
|
+
"RU:ttJ~fCi1R",
|
|
103
|
+
"-(1JRS[bxe4e",
|
|
104
|
+
"<AXKB)1c=H{I",
|
|
105
|
+
"]hFo+`(Pb4H6",
|
|
106
|
+
"JeQSL1Gdo9[%",
|
|
107
|
+
"R()BD|m0OYcv",
|
|
108
|
+
"m<E)0lA5f-QR",
|
|
109
|
+
"nh4j_GsB9@p+",
|
|
110
|
+
"I+W+>2Y%VCDe",
|
|
111
|
+
"6h,kMeN|_K>3",
|
|
112
|
+
":rK!Fy`^3c&i",
|
|
113
|
+
"1^E|Zlgc1+nq",
|
|
114
|
+
"QJ09r]Bxdb#E",
|
|
115
|
+
",2G+Gj<pk:fD",
|
|
116
|
+
"*D4W0asv+$:("
|
|
117
|
+
];
|
|
118
|
+
function E() {
|
|
119
|
+
const a = Math.floor(x.length * Math.random());
|
|
120
|
+
s.value = x[a];
|
|
121
|
+
}
|
|
122
|
+
const F = q(() => x.includes(s.value) ? n("generate-mdp.strength") : n("generate-mdp.weak"));
|
|
123
|
+
return d({
|
|
124
|
+
reset: j
|
|
125
|
+
}), (a, p) => (b(), h("div", ce, [
|
|
126
|
+
e("div", {
|
|
127
|
+
"aria-level": t.titleLevel,
|
|
128
|
+
class: "title",
|
|
129
|
+
role: "heading"
|
|
130
|
+
}, [
|
|
131
|
+
o(Q, { "background-color": "#2c75ff" }, {
|
|
132
|
+
default: g(() => [
|
|
133
|
+
e("img", {
|
|
134
|
+
src: v(re),
|
|
135
|
+
alt: ""
|
|
136
|
+
}, null, 8, fe)
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}),
|
|
140
|
+
u(" " + l(a.$t("generate-mdp.addPassword")), 1)
|
|
141
|
+
], 8, ue),
|
|
142
|
+
e("form", null, [
|
|
143
|
+
o(y, {
|
|
144
|
+
modelValue: r.value,
|
|
145
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => r.value = c),
|
|
146
|
+
label: a.$t("generate-mdp.title"),
|
|
147
|
+
readonly: !0,
|
|
148
|
+
type: "text"
|
|
149
|
+
}, null, 8, ["modelValue", "label"]),
|
|
150
|
+
o(y, {
|
|
151
|
+
modelValue: f.value,
|
|
152
|
+
"onUpdate:modelValue": p[1] || (p[1] = (c) => f.value = c),
|
|
153
|
+
label: a.$t("generate-mdp.email"),
|
|
154
|
+
readonly: !0,
|
|
155
|
+
type: "text"
|
|
156
|
+
}, null, 8, ["modelValue", "label"]),
|
|
157
|
+
e("div", me, [
|
|
158
|
+
o(y, {
|
|
159
|
+
modelValue: s.value,
|
|
160
|
+
"onUpdate:modelValue": p[2] || (p[2] = (c) => s.value = c),
|
|
161
|
+
label: a.$t("generate-mdp.password"),
|
|
162
|
+
readonly: !0,
|
|
163
|
+
class: "password",
|
|
164
|
+
type: "text"
|
|
165
|
+
}, null, 8, ["modelValue", "label"]),
|
|
166
|
+
e("div", ge, [
|
|
167
|
+
e("p", be, [
|
|
168
|
+
e("span", he, l(a.$t("generate-mdp.password")) + " ", 1),
|
|
169
|
+
u(l(F.value), 1)
|
|
170
|
+
]),
|
|
171
|
+
e("div", {
|
|
172
|
+
class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
|
|
173
|
+
"aria-hidden": "true"
|
|
174
|
+
}, null, 2),
|
|
175
|
+
e("div", {
|
|
176
|
+
class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
|
|
177
|
+
"aria-hidden": "true"
|
|
178
|
+
}, null, 2),
|
|
179
|
+
e("div", {
|
|
180
|
+
class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
|
|
181
|
+
"aria-hidden": "true"
|
|
182
|
+
}, null, 2)
|
|
183
|
+
]),
|
|
184
|
+
o(M, {
|
|
185
|
+
title: a.$t("generate-mdp.generatePassword"),
|
|
186
|
+
variant: "primary-bis",
|
|
187
|
+
onClick: E
|
|
188
|
+
}, {
|
|
189
|
+
default: g(() => [
|
|
190
|
+
e("img", {
|
|
191
|
+
src: v(pe),
|
|
192
|
+
alt: ""
|
|
193
|
+
}, null, 8, ve)
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
}, 8, ["title"])
|
|
197
|
+
]),
|
|
198
|
+
o(M, {
|
|
199
|
+
class: "send",
|
|
200
|
+
onClick: R,
|
|
201
|
+
"is-disabled": !s.value
|
|
202
|
+
}, {
|
|
203
|
+
default: g(() => [
|
|
204
|
+
u(l(a.$t("generate-mdp.save")), 1)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["is-disabled"]),
|
|
208
|
+
o(ie, {
|
|
209
|
+
ref: "success-modal",
|
|
210
|
+
content: a.$t("generate-mdp.feedback.content"),
|
|
211
|
+
show: w.value,
|
|
212
|
+
loop: !1,
|
|
213
|
+
title: a.$t("generate-mdp.feedback.title")
|
|
214
|
+
}, null, 8, ["content", "show", "title"])
|
|
215
|
+
])
|
|
216
|
+
]));
|
|
217
|
+
}
|
|
218
|
+
}), xe = "*{--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}", _e = ".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}}", ye = /* @__PURE__ */ V(we, [["styles", [xe, _e]], ["__scopeId", "data-v-a25e45eb"]]);
|
|
219
|
+
C.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/fr.json": Y }));
|
|
220
|
+
const I = A(ye, {
|
|
221
|
+
configureApp(t) {
|
|
222
|
+
C.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(C);
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
I.prototype.normalizeProps = (t) => ({
|
|
226
|
+
titleLevel: K(t.titleLevel)
|
|
227
|
+
});
|
|
228
|
+
window.customElements.define("generate-mdp", I);
|
|
@@ -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-DLpB-rde.js";
|
|
2
|
+
import "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
3
3
|
import "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import "../i18n-lite-
|
|
4
|
+
import "../i18n-lite-V7Z5qwB2.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 { b 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-
|
|
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-DLpB-rde.js";
|
|
2
|
+
import { b 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-DROOAHrz.js";
|
|
3
|
+
import { i as n } from "../i18n-lite-V7Z5qwB2.js";
|
|
4
4
|
const F = /* @__PURE__ */ q({
|
|
5
5
|
__name: "ImageQuizzes.ce",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as c, o as t, c as s, a as e, x as n, F as r, e as m, D as i, _ as p, d as g } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
1
|
+
import { b as c, o as t, c as s, a as e, x as n, F as r, e as m, D as i, _ as p, d as g } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-Duki08xd.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-4LHwwhYa.js";
|
|
4
4
|
const f = {
|
|
5
5
|
class: "header",
|
|
6
6
|
"aria-hidden": "true"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b 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-
|
|
2
|
-
import { L as h } from "../LLMMessage.ce-
|
|
3
|
-
import { p as _ } from "../shadow-dom-
|
|
1
|
+
import { b 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-DROOAHrz.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-Duki08xd.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-4LHwwhYa.js";
|
|
4
4
|
const x = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as h, r as c, K as y, o as d, c as m, D as w, a,
|
|
1
|
+
import { b as h, r as c, K as y, o as d, c as m, D as w, a, A as k, F as b, e as L, x as S, _ as C, d as P } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
2
|
import { b as N } from "../normalize-props-DH0oPBss.js";
|
|
3
3
|
import "./llm-messages.ce.js.js";
|
|
4
|
-
const
|
|
4
|
+
const M = { class: "prompt-select" }, A = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ h({
|
|
5
5
|
__name: "LLMPromptSelect.ce",
|
|
6
6
|
props: {
|
|
7
7
|
messages: { type: Array },
|
|
@@ -48,23 +48,23 @@ const B = { class: "prompt-select" }, M = { class: "prompt-select__options" }, E
|
|
|
48
48
|
const p = y("llm-messages");
|
|
49
49
|
return d(), m(b, null, [
|
|
50
50
|
w(p, { messages: s.value }, null, 8, ["messages"]),
|
|
51
|
-
a("div",
|
|
51
|
+
a("div", M, [
|
|
52
52
|
t[0] || (t[0] = a("p", { class: "prompt-select__label" }, [
|
|
53
53
|
k(" Sélectionner un des prompts "),
|
|
54
54
|
a("span", { class: "sr-only" }, " une fois sélectionnés, les prompts ne sont plus disponibles. ")
|
|
55
55
|
], -1)),
|
|
56
|
-
a("div",
|
|
56
|
+
a("div", A, [
|
|
57
57
|
(d(!0), m(b, null, L(u.value, (n, i) => (d(), m("button", {
|
|
58
58
|
key: i,
|
|
59
59
|
disabled: n.disabled || l.value,
|
|
60
60
|
onClick: (f) => v(n)
|
|
61
|
-
}, S(n.prompt), 9,
|
|
61
|
+
}, S(n.prompt), 9, B))), 128))
|
|
62
62
|
])
|
|
63
63
|
])
|
|
64
64
|
], 64);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}),
|
|
67
|
+
}), V = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}llm-messages{display:block;height:400px}.prompt-select{font-family:Roboto,sans-serif;border-top:solid 1px #253858;padding:16px 24px 24px}.prompt-select__label{margin-top:0;font-weight:700;color:#253858}.prompt-select__options{display:flex;gap:1rem;justify-content:left;flex-wrap:wrap}.prompt-select__options>button{padding:1rem 1.5rem;border:none;background:#cec3f4;border-radius:16px;border:1px solid #ffffff;color:#130261;font-size:.875rem;box-shadow:0 4px 12px -4px #957ee833}.prompt-select__options>button:hover:not(:disabled){background:#9a8dc7;color:#fff;cursor:pointer}.prompt-select__options>button:disabled{cursor:not-allowed;color:#1010104d}", z = /* @__PURE__ */ C(E, [["styles", [V]]]), _ = P(z);
|
|
68
68
|
_.prototype.normalizeProps = (r) => ({
|
|
69
69
|
...r,
|
|
70
70
|
speed: N(r.speed)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as j, h as L, o as n, c as d, t as
|
|
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
|
|
1
|
+
import { b as j, h as L, o as n, c as d, t as G, a 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-DROOAHrz.js";
|
|
2
|
+
import { a as J, i as U, b as Q } from "../i18n-BVfGnSnP.js";
|
|
3
|
+
import { B as W } from "../Button.ce-DNrjLa1r.js";
|
|
4
|
+
import { F as X } from "../Feedback.ce-MqHV98f3.js";
|
|
5
|
+
import { _ as S, a as Z } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.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-DQ8QAvUM.js";
|
|
8
8
|
const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
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: "
|
|
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 = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "card-right"
|
|
@@ -25,10 +25,10 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
25
25
|
o.dataTransfer.setDragImage(u.value, 30, 30), c("dragstart", o);
|
|
26
26
|
}
|
|
27
27
|
async function m() {
|
|
28
|
-
c("move-up"), await
|
|
28
|
+
c("move-up"), await N(), r.value.button.focus();
|
|
29
29
|
}
|
|
30
30
|
return (o, i) => (n(), d("div", {
|
|
31
|
-
class:
|
|
31
|
+
class: G(["card", { [t.state]: !0 }]),
|
|
32
32
|
ref: "card"
|
|
33
33
|
}, [
|
|
34
34
|
s("div", C0, [
|
|
@@ -44,12 +44,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
44
44
|
}, ["prevent"])),
|
|
45
45
|
onDragover: i[2] || (i[2] = h(() => {
|
|
46
46
|
}, ["prevent"]))
|
|
47
|
-
}, null, 40, g0)) : t.state === "correct" ? (n(), f(
|
|
47
|
+
}, null, 40, g0)) : t.state === "correct" ? (n(), f(S, {
|
|
48
48
|
key: 1,
|
|
49
49
|
alt: o.$t("mdp-classement.correct"),
|
|
50
50
|
color: "#007740",
|
|
51
51
|
class: "icon"
|
|
52
|
-
}, null, 8, ["alt"])) : (n(), f(
|
|
52
|
+
}, null, 8, ["alt"])) : (n(), f(Z, {
|
|
53
53
|
key: 2,
|
|
54
54
|
alt: o.$t("mdp-classement.incorrect"),
|
|
55
55
|
color: "#a94b0c",
|
|
@@ -94,7 +94,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
94
94
|
])) : _("", !0)
|
|
95
95
|
], 2));
|
|
96
96
|
}
|
|
97
|
-
}), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */
|
|
97
|
+
}), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */ A(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]), h0 = { class: "wrapper" }, x0 = { class: "sr-only" }, y0 = { class: "ranking-container" }, D0 = { class: "strongness-bar__container" }, k0 = ["onDrop"], $0 = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "validate-container"
|
|
100
100
|
}, B0 = {
|
|
@@ -145,12 +145,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
145
145
|
s("p", null, g(e.$t("mdp-classement.weak")), 1)
|
|
146
146
|
]),
|
|
147
147
|
s("ul", null, [
|
|
148
|
-
(n(!0), d(M, null, q(m.value, ({ password: B, isFirst: P, isLast: R, state:
|
|
148
|
+
(n(!0), d(M, null, q(m.value, ({ password: B, isFirst: P, isLast: R, state: V }, C) => (n(), d("li", { key: B }, [
|
|
149
149
|
b(_0, {
|
|
150
150
|
password: B,
|
|
151
151
|
"is-up-disabled": P,
|
|
152
152
|
"is-down-disabled": R,
|
|
153
|
-
state:
|
|
153
|
+
state: V,
|
|
154
154
|
onMoveUp: (l) => k(C, C - 1),
|
|
155
155
|
onMoveDown: (l) => k(C, C + 1),
|
|
156
156
|
onDragstart: (l) => z(l, C),
|
|
@@ -187,10 +187,10 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
187
187
|
title: o.value ? e.$t("mdp-classement.feedback.positiveTitle") : e.$t("mdp-classement.feedback.negativeTitle")
|
|
188
188
|
}, {
|
|
189
189
|
icon: v(() => [
|
|
190
|
-
o.value ? (n(), f(
|
|
190
|
+
o.value ? (n(), f(S, {
|
|
191
191
|
key: 0,
|
|
192
192
|
class: "icon-size"
|
|
193
|
-
})) : (n(), f(
|
|
193
|
+
})) : (n(), f(Z, {
|
|
194
194
|
key: 1,
|
|
195
195
|
class: "icon-size"
|
|
196
196
|
}))
|
|
@@ -211,7 +211,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
|
|
|
211
211
|
], 64);
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
}), M0 = "[data-v-65c2c799]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.sr-only[data-v-65c2c799]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.strongness-bar__container[data-v-65c2c799]{display:flex;flex-direction:column;align-items:center;gap:8px}.strongness-bar__container p[data-v-65c2c799]{font-family:Roboto,sans-serif;font-size:14px;font-weight:700}.strongness-bar__container .strongness-bar[data-v-65c2c799]{width:10px;height:calc(100% - 48px);border-radius:16px;background:linear-gradient(180deg,#2b7fff,#00b8db)}.wrapper[data-v-65c2c799]{background:#eaf1ff;border-radius:8px;padding:24px}.wrapper .draggable-card[data-v-65c2c799]{border:solid 2px #f0f}.icon-size[data-v-65c2c799]{width:16px;height:16px}.ranking-container[data-v-65c2c799]{display:flex}.ranking-container ul[data-v-65c2c799]{width:100%;display:flex;flex-direction:column;gap:12px}.ranking-container li[data-v-65c2c799]{position:relative;list-style-type:none}.ranking-container .drop-down[data-v-65c2c799]{border:dashed 1px #2b7fff;top:0;height:calc(100% + 10px);position:absolute;width:100%;opacity:.5;z-index:90}.validate-container[data-v-65c2c799]{width:100%;display:flex;justify-content:center;margin:24px 0 8px}.validate-container .validate[data-v-65c2c799]{font-size:14px;font-weight:700}.feedback div[data-v-65c2c799]{margin:24px 0 8px}@media screen and (max-width:768px){.wrapper[data-v-65c2c799]{padding:12px}ul[data-v-65c2c799]{padding-left:8px}}", T0 = /* @__PURE__ */
|
|
214
|
+
}), M0 = "[data-v-65c2c799]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.sr-only[data-v-65c2c799]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.strongness-bar__container[data-v-65c2c799]{display:flex;flex-direction:column;align-items:center;gap:8px}.strongness-bar__container p[data-v-65c2c799]{font-family:Roboto,sans-serif;font-size:14px;font-weight:700}.strongness-bar__container .strongness-bar[data-v-65c2c799]{width:10px;height:calc(100% - 48px);border-radius:16px;background:linear-gradient(180deg,#2b7fff,#00b8db)}.wrapper[data-v-65c2c799]{background:#eaf1ff;border-radius:8px;padding:24px}.wrapper .draggable-card[data-v-65c2c799]{border:solid 2px #f0f}.icon-size[data-v-65c2c799]{width:16px;height:16px}.ranking-container[data-v-65c2c799]{display:flex}.ranking-container ul[data-v-65c2c799]{width:100%;display:flex;flex-direction:column;gap:12px}.ranking-container li[data-v-65c2c799]{position:relative;list-style-type:none}.ranking-container .drop-down[data-v-65c2c799]{border:dashed 1px #2b7fff;top:0;height:calc(100% + 10px);position:absolute;width:100%;opacity:.5;z-index:90}.validate-container[data-v-65c2c799]{width:100%;display:flex;justify-content:center;margin:24px 0 8px}.validate-container .validate[data-v-65c2c799]{font-size:14px;font-weight:700}.feedback div[data-v-65c2c799]{margin:24px 0 8px}@media screen and (max-width:768px){.wrapper[data-v-65c2c799]{padding:12px}ul[data-v-65c2c799]{padding-left:8px}}", T0 = /* @__PURE__ */ A(L0, [["styles", [M0]], ["__scopeId", "data-v-65c2c799"]]);
|
|
215
215
|
J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": e0, "./locales/es-419.json": a0, "./locales/es.json": t0, "./locales/fr-BE.json": s0, "./locales/fr.json": n0, "./locales/it.json": o0, "./locales/nl.json": r0 })).catch((t) => console.error(t));
|
|
216
216
|
window.customElements.define("mdp-classement", H(T0, {
|
|
217
217
|
configureApp(t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as S, k as
|
|
2
|
-
import { L } from "../Loading.ce-
|
|
1
|
+
import { b as S, k as T, o as n, c as i, t as x, a as _, A as k, x as v, l, D as B, O 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-DROOAHrz.js";
|
|
2
|
+
import { L } from "../Loading.ce-D7CUjrcI.js";
|
|
3
3
|
import { u as O, a as j, b as I } from "../normalize-props-DH0oPBss.js";
|
|
4
4
|
const R = ["part"], q = {
|
|
5
5
|
key: 1,
|
|
@@ -26,7 +26,7 @@ const R = ["part"], q = {
|
|
|
26
26
|
async function u() {
|
|
27
27
|
await g(e.startAnimation), t.value = "loading", await g(e.loadingDuration), t.value = "visible", await g(e.animationDuration);
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
T(u);
|
|
30
30
|
async function y() {
|
|
31
31
|
t.value = "hidden", d.value.forEach(clearTimeout), await u();
|
|
32
32
|
}
|
|
@@ -47,7 +47,7 @@ const R = ["part"], q = {
|
|
|
47
47
|
k(v(e.message.userName), 1)
|
|
48
48
|
], 8, R)) : l("", !0),
|
|
49
49
|
t.value === "loading" ? (n(), i("div", q, [
|
|
50
|
-
|
|
50
|
+
B(L)
|
|
51
51
|
])) : l("", !0),
|
|
52
52
|
_("p", {
|
|
53
53
|
class: x(["message__content", { "hidden-state": t.value !== "visible" }]),
|
|
@@ -80,8 +80,8 @@ const R = ["part"], q = {
|
|
|
80
80
|
message: p,
|
|
81
81
|
startAnimation: f,
|
|
82
82
|
animationDuration: h
|
|
83
|
-
} = s.at(-1),
|
|
84
|
-
return [...s, { message: a, displaySender:
|
|
83
|
+
} = s.at(-1), C = a.direction !== p.direction || a.userName !== p.userName, $ = f + h + t;
|
|
84
|
+
return [...s, { message: a, displaySender: C, startAnimation: $, animationDuration: r }];
|
|
85
85
|
},
|
|
86
86
|
[]
|
|
87
87
|
)
|
|
@@ -109,8 +109,8 @@ const R = ["part"], q = {
|
|
|
109
109
|
}, null, 8, ["message", "start-animation", "animation-duration", "display-sender"]))), 128))
|
|
110
110
|
]));
|
|
111
111
|
}
|
|
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]]]),
|
|
113
|
-
|
|
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
|
+
A.prototype.normalizeProps = (e) => ({
|
|
114
114
|
...e,
|
|
115
115
|
animationSpeed: I(e.animationSpeed),
|
|
116
116
|
messages: e.messages.map(({ type: c, content: t, image: d, ...m }) => ({
|
|
@@ -119,4 +119,4 @@ C.prototype.normalizeProps = (e) => ({
|
|
|
119
119
|
image: O(d)
|
|
120
120
|
}))
|
|
121
121
|
});
|
|
122
|
-
window.customElements.define("message-conversation",
|
|
122
|
+
window.customElements.define("message-conversation", A);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as i, o as a, c as l, J as s, a as r, q as n,
|
|
1
|
+
import { b as i, o as a, c as l, J as s, a as r, q as n, B as d, t as b, _ as p, d as h } from "../_plugin-vue_export-helper-DROOAHrz.js";
|
|
2
2
|
const m = {
|
|
3
3
|
class: "content",
|
|
4
4
|
part: "content"
|