@1024pix/epreuves-components 4.0.1 → 4.1.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.
Files changed (54) hide show
  1. package/dist/{Button.ce-CTKrSDrC.js → Button.ce-DZ8jDtW5.js} +2 -2
  2. package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-BnJlaEqx.js} +8 -8
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js} +16 -14
  4. package/dist/FocusManager.ce-DHXwg6WZ.js +131 -0
  5. package/dist/{LLMMessage.ce-Bdmf0R1g.js → LLMMessage.ce-jLEqjxsl.js} +11 -11
  6. package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-DDtlSLlu.js} +2 -2
  7. package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-BnnVUwGr.js} +2 -2
  8. package/dist/PixMailMessage.ce-oCccQFGV.js +261 -0
  9. package/dist/Popin.ce-Co12R3C8.js +75 -0
  10. package/dist/{Retry-BZf7NJz9.js → Retry-C7C78Wpj.js} +2 -2
  11. package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-Dttf3Dsf.js} +4 -4
  12. package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-B-lVMTio.js} +1777 -1713
  13. package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
  14. package/dist/components/calcul-impact.ce.js.js +20 -20
  15. package/dist/components/capacity-calculation.ce.js.js +22 -22
  16. package/dist/components/clickable-image.ce.js.js +30 -30
  17. package/dist/components/complete-phrase.ce.js.js +18 -18
  18. package/dist/components/flip-cards.ce.js.js +10 -10
  19. package/dist/components/image-quiz.ce.js.js +3 -3
  20. package/dist/components/image-quizzes.ce.js.js +3 -3
  21. package/dist/components/llm-compare-messages.ce.js.js +7 -7
  22. package/dist/components/llm-messages.ce.js.js +7 -7
  23. package/dist/components/llm-prompt-select.ce.js.js +5 -5
  24. package/dist/components/mdp-classement.ce.js.js +29 -29
  25. package/dist/components/message-conversation.ce.js.js +34 -34
  26. package/dist/components/mobile-shell.ce.js.js +8 -8
  27. package/dist/components/phishing-message.ce.js.js +128 -128
  28. package/dist/components/phishing-notification.ce.js.js +30 -30
  29. package/dist/components/pix-anonymisation.ce.js.js +27 -27
  30. package/dist/components/pix-article.ce.js.js +5 -5
  31. package/dist/components/pix-carousel.ce.js.js +38 -38
  32. package/dist/components/pix-combinaisons.ce.js.js +93 -92
  33. package/dist/components/pix-cursor.ce.js.js +26 -26
  34. package/dist/components/pix-mail-message.ce.js.js +3 -3
  35. package/dist/components/proteger-mail-spam.ce.js.js +66 -64
  36. package/dist/components/qcm-deepfake.ce.js.js +16 -16
  37. package/dist/components/quiz-stepper.ce.js.js +21 -21
  38. package/dist/components/select-conversation.ce.js.js +11 -11
  39. package/dist/components/template-mail.ce.js.js +4 -4
  40. package/dist/components/test-top-mdp.ce.js.js +86 -79
  41. package/dist/components/trouver-mdp-rs.ce.js.js +334 -418
  42. package/dist/{i18n-ekiZvzf6.js → i18n-CsT7k7zW.js} +329 -316
  43. package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-BIJ2LVs6.js} +19 -12
  44. package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-BK6-8YF1.js} +9 -9
  45. package/dist/{index-BpqxFmwz.js → index-BaI3Qosp.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/props.examples.js +13 -13
  48. package/dist/schema.js +77 -67
  49. package/dist/shadow-dom-Bouq869n.js +14 -0
  50. package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
  51. package/package.json +1 -1
  52. package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
  53. package/dist/Popin.ce-DUQ7-GMT.js +0 -197
  54. package/dist/shadow-dom-C3AZuSZe.js +0 -9
@@ -0,0 +1,75 @@
1
+ import { B as u } from "./Button.ce-DZ8jDtW5.js";
2
+ import { F as x } from "./FocusManager.ce-DHXwg6WZ.js";
3
+ import { b as m, h as b, B as g, o as n, c as r, F as y, l, C as h, D as p, a as e, q as d, E as i, x as a, f as B, z as _, _ as v } from "./_plugin-vue_export-helper-B-lVMTio.js";
4
+ const k = {
5
+ key: 0,
6
+ class: "overlay"
7
+ }, w = ["aria-label"], S = { class: "pop-in__header" }, z = { class: "pop-in__title" }, C = {
8
+ id: "content",
9
+ class: "pop-in__content"
10
+ }, P = /* @__PURE__ */ m({
11
+ __name: "Popin.ce",
12
+ props: {
13
+ title: { type: String },
14
+ content: { type: String },
15
+ textButton: { type: String },
16
+ buttonPosition: { default: "right", type: String },
17
+ show: { type: Boolean }
18
+ },
19
+ emits: ["primaryAction"],
20
+ setup(t) {
21
+ const f = b("pop-in"), c = {
22
+ left: "start",
23
+ center: "center",
24
+ right: "end"
25
+ };
26
+ return g(() => {
27
+ !t.textButton && t.show && f.value?.focus();
28
+ }), (o, s) => (n(), r(y, null, [
29
+ t.show ? (n(), r("div", k)) : l("", !0),
30
+ h(x, {
31
+ "is-visible": t.show,
32
+ loop: !!t.textButton
33
+ }, {
34
+ default: p(() => [
35
+ e("div", {
36
+ ref: "pop-in",
37
+ role: "dialog",
38
+ class: "pop-in",
39
+ "aria-label": t.title,
40
+ "aria-describedBy": "content",
41
+ tabindex: "-1"
42
+ }, [
43
+ e("div", S, [
44
+ e("h1", z, [
45
+ d(o.$slots, "title", {}, () => [
46
+ i(a(t.title), 1)
47
+ ])
48
+ ]),
49
+ e("p", C, [
50
+ d(o.$slots, "content", {}, () => [
51
+ i(a(t.content), 1)
52
+ ])
53
+ ])
54
+ ]),
55
+ t.textButton ? (n(), B(u, {
56
+ key: 0,
57
+ onClick: s[0] || (s[0] = (N) => o.$emit("primaryAction")),
58
+ class: "pop-in__button",
59
+ style: _({ "--button-position": c[t.buttonPosition] })
60
+ }, {
61
+ default: p(() => [
62
+ i(a(t.textButton), 1)
63
+ ]),
64
+ _: 1
65
+ }, 8, ["style"])) : l("", !0)
66
+ ], 8, w)
67
+ ]),
68
+ _: 3
69
+ }, 8, ["is-visible", "loop"])
70
+ ], 64));
71
+ }
72
+ }), F = ".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}.pop-in__button{font-weight:700;align-self:var(--button-position);margin-right:24px;font-family:Roboto,sans-serif}", A = /* @__PURE__ */ v(P, [["styles", [F]]]);
73
+ export {
74
+ A as P
75
+ };
@@ -1,4 +1,4 @@
1
- import { _ as e, c as t, o as r, a as o } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { _ as e, o as t, c as r, a as o } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const s = {}, n = {
3
3
  width: "20",
4
4
  height: "20",
@@ -8,7 +8,7 @@ const s = {}, n = {
8
8
  "aria-hidden": "true"
9
9
  };
10
10
  function a(c, C) {
11
- return r(), t("svg", n, [...C[0] || (C[0] = [
11
+ return t(), r("svg", n, [...C[0] || (C[0] = [
12
12
  o("path", { d: "M9.98008 16.836C8.07578 16.836 6.46036 16.1728 5.13383 14.8462C3.80731 13.5197 3.14404 11.9043 3.14404 9.99998C3.14404 8.09568 3.80731 6.48026 5.13383 5.15373C6.46036 3.8272 8.07578 3.16394 9.98008 3.16394C10.9684 3.16394 11.9108 3.36686 12.8074 3.77269C13.7039 4.17839 14.4713 4.76095 15.1097 5.5204V4.03707C15.1097 3.7897 15.1933 3.58234 15.3607 3.41498C15.5281 3.24762 15.7354 3.16394 15.9828 3.16394C16.2303 3.16394 16.4377 3.24762 16.6051 3.41498C16.7724 3.58234 16.8561 3.7897 16.8561 4.03707V8.29352C16.8561 8.5595 16.7646 8.78394 16.5815 8.96686C16.3986 9.14991 16.1742 9.24144 15.9082 9.24144H11.6418C11.3958 9.24144 11.1896 9.15776 11.0232 8.9904C10.8568 8.82304 10.7736 8.61561 10.7736 8.36811C10.7736 8.12213 10.8573 7.91595 11.0247 7.74956C11.192 7.58318 11.3994 7.49998 11.6468 7.49998H14.2438C13.7994 6.74207 13.199 6.14589 12.4428 5.71144C11.6867 5.277 10.8658 5.05977 9.98008 5.05977C8.60786 5.05977 7.44147 5.54005 6.48092 6.50061C5.52022 7.4613 5.03988 8.62776 5.03988 9.99998C5.03988 11.3722 5.52022 12.5387 6.48092 13.4994C7.44147 14.4599 8.60786 14.9402 9.98008 14.9402C10.888 14.9402 11.7219 14.713 12.4818 14.2587C13.2416 13.8046 13.8385 13.1963 14.2724 12.4339C14.4021 12.2189 14.5846 12.0692 14.8199 11.9848C15.055 11.9005 15.2896 11.8996 15.5236 11.9823C15.7733 12.0651 15.9535 12.2275 16.064 12.4696C16.1745 12.7118 16.1675 12.9401 16.0432 13.1544C15.4538 14.2688 14.6222 15.161 13.5484 15.831C12.4745 16.501 11.2851 16.836 9.98008 16.836Z" }, null, -1)
13
13
  ])]);
14
14
  }
@@ -1,8 +1,8 @@
1
- import { b as i, g as o, c as d, o as c, a as e, s as l, t as p, _ as u } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as i, o as d, c, a as e, z as l, x as p, g as o, _ as u } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const h = { class: "steps-wrapper" }, _ = { class: "steps-wrapper__stepper" }, f = { "aria-hidden": "true" }, w = {
3
3
  class: "sr-only",
4
4
  "aria-live": "polite"
5
- }, g = /* @__PURE__ */ i({
5
+ }, x = /* @__PURE__ */ i({
6
6
  __name: "Stepper.ce",
7
7
  props: {
8
8
  step: { type: Number },
@@ -10,7 +10,7 @@ const h = { class: "steps-wrapper" }, _ = { class: "steps-wrapper__stepper" }, f
10
10
  },
11
11
  setup(t) {
12
12
  const r = t, s = o(() => r.step + 1), a = o(() => Math.floor(s.value / r.stepsCount * 100));
13
- return (n, x) => (c(), d("div", h, [
13
+ return (n, m) => (d(), c("div", h, [
14
14
  e("div", _, [
15
15
  e("div", {
16
16
  class: "steps-wrapper__effective-steps",
@@ -21,7 +21,7 @@ const h = { class: "steps-wrapper" }, _ = { class: "steps-wrapper__stepper" }, f
21
21
  e("p", w, p(n.$t("stepper.step", { step: s.value, stepsCount: t.stepsCount })), 1)
22
22
  ]));
23
23
  }
24
- }), m = ".steps-wrapper{display:flex;align-items:center;justify-content:center;color:#613fdd;font-size:.875rem;gap:6px;font-weight:500;width:100%}.steps-wrapper p{text-wrap:nowrap;margin:0}.steps-wrapper__stepper{background:#e8eaed;height:8px;width:100%;border-radius:4px}.steps-wrapper__effective-steps{width:var(--stepIndex);background:#613fdd;border-radius:4px;height:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", y = /* @__PURE__ */ u(g, [["styles", [m]]]);
24
+ }), g = ".steps-wrapper{display:flex;align-items:center;justify-content:center;color:#613fdd;font-size:.875rem;gap:6px;font-weight:500;width:100%}.steps-wrapper p{text-wrap:nowrap;margin:0}.steps-wrapper__stepper{background:#e8eaed;height:8px;width:100%;border-radius:4px}.steps-wrapper__effective-steps{width:var(--stepIndex);background:#613fdd;border-radius:4px;height:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", y = /* @__PURE__ */ u(x, [["styles", [g]]]);
25
25
  export {
26
26
  y as S
27
27
  };