@1024pix/epreuves-components 2.8.0 → 2.9.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-CkwcReY5.js +18 -0
- package/dist/{ButtonTooltip.ce-B-f0Ebfa.js → ButtonTooltip.ce-CIo_7tm0.js} +15 -15
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js +73 -0
- package/dist/{LLMMessage.ce-DAA_BQYY.js → LLMMessage.ce-y0pOYUCI.js} +2 -2
- package/dist/{Loading.ce-BPbyGkTl.js → Loading.ce-Cxcx64IX.js} +1 -1
- package/dist/{NavigationButton.ce-D7sjcUuO.js → NavigationButton.ce-DpzmC2Dd.js} +2 -2
- package/dist/{Retry-CTdYYKx5.js → Retry-BYnFnneH.js} +1 -1
- package/dist/{_plugin-vue_export-helper-CGJjSxi7.js → _plugin-vue_export-helper-BaC4eJh4.js} +1725 -1618
- package/dist/components/analyse-mails-phishing.ce.js.js +258 -0
- package/dist/components/calcul-impact.ce.js.js +42 -42
- package/dist/components/capacity-calculation.ce.js.js +71 -71
- package/dist/components/clickable-image.ce.js.js +12 -12
- package/dist/components/complete-phrase.ce.js.js +36 -36
- package/dist/components/flip-cards.ce.js.js +1 -1
- package/dist/components/image-quiz.ce.js.js +3 -3
- package/dist/components/image-quizzes.ce.js.js +20 -20
- 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 +1 -1
- package/dist/components/mdp-classement.ce.js.js +219 -0
- package/dist/components/message-conversation.ce.js.js +11 -11
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +59 -59
- package/dist/components/phishing-notification.ce.js.js +89 -89
- package/dist/components/pix-anonymisation.ce.js.js +85 -97
- package/dist/components/pix-article.ce.js.js +18 -18
- package/dist/components/pix-carousel.ce.js.js +86 -86
- package/dist/components/pix-cursor.ce.js.js +51 -51
- package/dist/components/qcm-deepfake.ce.js.js +49 -49
- package/dist/components/quiz-stepper.ce.js.js +101 -116
- package/dist/components/select-conversation.ce.js.js +41 -41
- package/dist/components/template-mail.ce.js.js +55 -55
- package/dist/components/test-top-mdp.ce.js.js +58 -58
- package/dist/components/trouver-mdp-rs.ce.js.js +758 -0
- package/dist/{i18n-BkraEFZL.js → i18n-BJ6FRipD.js} +9 -9
- package/dist/{i18n-lite-J-aj5pZd.js → i18n-lite-Dn1Iqj1Y.js} +1 -1
- package/dist/{image-quiz.ce-BFISPs8m.js → image-quiz.ce-DvpG9mbT.js} +86 -95
- package/dist/index-BCutQvmP.js +34 -0
- package/dist/index.js +7 -4
- package/dist/metadata.js +37 -25
- package/dist/schema.js +104 -52
- package/dist/{shadow-dom-DN_6ctXp.js → shadow-dom-Db7VMkC0.js} +1 -1
- package/dist/shuffled-B8VGTceh.js +19 -0
- package/package.json +2 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { d as e, c as s, o as t, n as d, g as n, _ as r } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
2
|
+
const i = ["aria-disabled"], l = /* @__PURE__ */ e({
|
|
3
|
+
__name: "Button.ce",
|
|
4
|
+
props: {
|
|
5
|
+
isDisabled: { type: Boolean }
|
|
6
|
+
},
|
|
7
|
+
setup(a) {
|
|
8
|
+
return (o, u) => (t(), s("button", {
|
|
9
|
+
"aria-disabled": a.isDisabled,
|
|
10
|
+
class: d({ "is-disabled": a.isDisabled })
|
|
11
|
+
}, [
|
|
12
|
+
n(o.$slots, "default", {}, void 0, !0)
|
|
13
|
+
], 10, i));
|
|
14
|
+
}
|
|
15
|
+
}), c = "button[data-v-a5fa59a1]{padding:8px 24px;border-radius:8px;background:#253858;border:none;color:#fff}button[data-v-a5fa59a1]:hover{cursor:pointer;background:#334d77}button.is-disabled[data-v-a5fa59a1]{background:#25385880;cursor:not-allowed}", p = /* @__PURE__ */ r(l, [["styles", [c]], ["__scopeId", "data-v-a5fa59a1"]]);
|
|
16
|
+
export {
|
|
17
|
+
p as B
|
|
18
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
const
|
|
1
|
+
import { d as f, r as u, h as v, j as w, c as g, o as m, a as n, n as x, k as s, t as y, m as k, l as z, g as B, _ as $ } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
2
|
+
const C = { class: "tooltip-container" }, S = ["id"], T = ["aria-labelledby", "aria-disabled"], Y = /* @__PURE__ */ f({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
5
5
|
props: {
|
|
@@ -8,37 +8,37 @@ const z = { class: "tooltip-container" }, B = ["id"], $ = ["aria-labelledby", "a
|
|
|
8
8
|
tooltipPosition: { default: "top", type: String }
|
|
9
9
|
},
|
|
10
10
|
emits: ["click"],
|
|
11
|
-
setup(o, {
|
|
12
|
-
const i =
|
|
11
|
+
setup(o, { expose: p, emit: d }) {
|
|
12
|
+
const i = u(!0), l = v(), c = w("button"), b = d;
|
|
13
13
|
function r(a) {
|
|
14
14
|
i.value = a;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
o.disabled ||
|
|
16
|
+
function h() {
|
|
17
|
+
o.disabled || b("click");
|
|
18
18
|
}
|
|
19
|
-
return (a, t) => (
|
|
19
|
+
return p({ button: c }), (a, t) => (m(), g("div", C, [
|
|
20
20
|
n("p", {
|
|
21
21
|
id: s(l),
|
|
22
|
-
class:
|
|
22
|
+
class: x(["tooltip", {
|
|
23
23
|
"sr-only": i.value || o.disabled,
|
|
24
24
|
[`${o.tooltipPosition}`]: !0
|
|
25
25
|
}])
|
|
26
|
-
},
|
|
27
|
-
n("button",
|
|
26
|
+
}, y(o.label), 11, S),
|
|
27
|
+
n("button", k({ ref: "button" }, a.$attrs, {
|
|
28
28
|
onMouseenter: t[0] || (t[0] = (e) => r(!1)),
|
|
29
29
|
onMouseleave: t[1] || (t[1] = (e) => r(!0)),
|
|
30
30
|
onFocusin: t[2] || (t[2] = (e) => r(!1)),
|
|
31
31
|
onFocusout: t[3] || (t[3] = (e) => r(!0)),
|
|
32
|
-
onClick:
|
|
32
|
+
onClick: z(h, ["stop"]),
|
|
33
33
|
"aria-labelledby": s(l),
|
|
34
34
|
"aria-disabled": o.disabled,
|
|
35
35
|
class: { disabled: o.disabled }
|
|
36
36
|
}), [
|
|
37
|
-
|
|
38
|
-
], 16,
|
|
37
|
+
B(a.$slots, "default")
|
|
38
|
+
], 16, T)
|
|
39
39
|
]));
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), M = '*{--pix-neutral-800: #253858}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.tooltip-container{position:relative;display:grid}.tooltip-container .tooltip{position:absolute;padding:5px 7px;background:var(--pix-neutral-800);color:#fff;border-radius:4px;z-index:400;margin:0;--horizontal-shift: 12px;--tooltip-gap: 1px;--arrow-height: 6px;--arrow-width: 5px}.tooltip-container .tooltip:before{content:"";position:absolute}.tooltip-container .tooltip.top{bottom:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.top:before{top:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-top:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.bottom{top:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.bottom:before{bottom:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-bottom:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.left{right:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.left:before{left:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-left:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.right{left:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.right:before{right:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-right:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container button:hover{cursor:pointer}.tooltip-container button.disabled{color:#797e89;cursor:not-allowed;border-color:transparent;background:transparent}', F = /* @__PURE__ */ $(Y, [["styles", [M]]]);
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
F as B
|
|
44
44
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { d as o, c as s, o as c, a as n, g as a, H as i, t as d, _ as l } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
2
|
+
const _ = {
|
|
3
|
+
class: "feedback-container",
|
|
4
|
+
"aria-live": "polite"
|
|
5
|
+
}, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */ o({
|
|
6
|
+
__name: "Feedback.ce",
|
|
7
|
+
props: {
|
|
8
|
+
title: { type: String }
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
return (t, r) => (c(), s("div", _, [
|
|
12
|
+
n("p", p, [
|
|
13
|
+
a(t.$slots, "icon", { class: "icon" }),
|
|
14
|
+
i(" " + d(e.title), 1)
|
|
15
|
+
]),
|
|
16
|
+
n("p", f, [
|
|
17
|
+
a(t.$slots, "content")
|
|
18
|
+
])
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
}), h = ".feedback-container{font-size:.875em;width:100%}.feedback-container .icon{width:16px;height:16px}.feedback-container__title{display:flex;width:fit-content;padding:4px 8px;justify-content:center;align-items:center;gap:8px;border-radius:8px 8px 0 0;background:#1f53b5;color:#fff;margin:0;font-weight:700}.feedback-container__content{padding:8px;border-radius:0 8px 8px;background:#eaf1ff;margin:0}", w = /* @__PURE__ */ l(k, [["styles", [h]]]), u = {
|
|
22
|
+
viewBox: "0 0 16 16",
|
|
23
|
+
fill: "none"
|
|
24
|
+
}, g = ["stroke"], y = /* @__PURE__ */ o({
|
|
25
|
+
__name: "Check.ce",
|
|
26
|
+
props: {
|
|
27
|
+
color: { type: String }
|
|
28
|
+
},
|
|
29
|
+
setup(e) {
|
|
30
|
+
return (t, r) => (c(), s("svg", u, [
|
|
31
|
+
n("path", {
|
|
32
|
+
d: `
|
|
33
|
+
M 3, 8
|
|
34
|
+
L 7, 12
|
|
35
|
+
L 13, 4
|
|
36
|
+
`,
|
|
37
|
+
stroke: e.color ? e.color : "#fff",
|
|
38
|
+
"stroke-width": "1.5",
|
|
39
|
+
"stroke-linecap": "round",
|
|
40
|
+
"stroke-linejoin": "round"
|
|
41
|
+
}, null, 8, g)
|
|
42
|
+
]));
|
|
43
|
+
}
|
|
44
|
+
}), x = {
|
|
45
|
+
viewBox: "0 0 16 16",
|
|
46
|
+
fill: "none"
|
|
47
|
+
}, b = ["stroke"], $ = /* @__PURE__ */ o({
|
|
48
|
+
__name: "Cross.ce",
|
|
49
|
+
props: {
|
|
50
|
+
color: { type: String }
|
|
51
|
+
},
|
|
52
|
+
setup(e) {
|
|
53
|
+
return (t, r) => (c(), s("svg", x, [
|
|
54
|
+
n("path", {
|
|
55
|
+
d: `
|
|
56
|
+
M 4, 4
|
|
57
|
+
L 12, 12
|
|
58
|
+
M 4, 12
|
|
59
|
+
L 12, 4
|
|
60
|
+
`,
|
|
61
|
+
stroke: e.color ? e.color : "#fff",
|
|
62
|
+
"stroke-width": "1.5",
|
|
63
|
+
"stroke-linecap": "round",
|
|
64
|
+
"stroke-linejoin": "round"
|
|
65
|
+
}, null, 8, b)
|
|
66
|
+
]));
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
w as F,
|
|
71
|
+
y as _,
|
|
72
|
+
$ as a
|
|
73
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { L as p } from "./Loading.ce-
|
|
1
|
+
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
2
|
+
import { L as p } from "./Loading.ce-Cxcx64IX.js";
|
|
3
3
|
const f = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
2
2
|
const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media(prefers-reduced-motion:reduce){.loader{display:none}}", t = {}, d = {
|
|
3
3
|
class: "loader",
|
|
4
4
|
role: "alert"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as a } from "./ButtonTooltip.ce-
|
|
2
|
-
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { B as a } from "./ButtonTooltip.ce-CIo_7tm0.js";
|
|
2
|
+
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-BaC4eJh4.js";
|
|
3
3
|
const C = {}, p = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
width: "16",
|