@1024pix/epreuves-components 4.5.0 → 4.6.1

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 (62) hide show
  1. package/dist/{Button.ce-DNrjLa1r.js → Button.ce-Ccv3OLk2.js} +1 -1
  2. package/dist/{ButtonTooltip.ce-DQ8QAvUM.js → ButtonTooltip.ce-Bo42SFAP.js} +1 -1
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
  4. package/dist/{FocusManager.ce-CwF5pnqR.js → FocusManager.ce-BG_n76ZF.js} +2 -2
  5. package/dist/Icon.ce-Be0LymfA.js +50 -0
  6. package/dist/{LLMMessage.ce-Duki08xd.js → LLMMessage.ce-y0WmEj7m.js} +24 -22
  7. package/dist/{Loading.ce-D7CUjrcI.js → Loading.ce-CG-e7tdE.js} +1 -1
  8. package/dist/Modal.ce-DCTwYJKJ.js +86 -0
  9. package/dist/{NavigationButton.ce-17UL0Mwu.js → NavigationButton.ce-B-c0m9H8.js} +14 -12
  10. package/dist/{PixMailMessage.ce-CNULZecQ.js → PixMailMessage.ce-CH6CVQ3H.js} +20 -20
  11. package/dist/{Popin.ce-VvQiVxjk.js → Popin.ce-CQtpIOkM.js} +3 -3
  12. package/dist/{Retry-CGkQcck5.js → Retry-DLOo5neI.js} +1 -1
  13. package/dist/{Stepper.ce-gx2YaVCo.js → Stepper.ce-MmSadTrx.js} +1 -1
  14. package/dist/{_plugin-vue_export-helper-DROOAHrz.js → _plugin-vue_export-helper-CD1RUA2y.js} +12 -12
  15. package/dist/components/analyse-mails-phishing.ce.js.js +104 -105
  16. package/dist/components/autocompletion-mdp.ce.js.js +256 -0
  17. package/dist/components/button.ce.js.js +2 -2
  18. package/dist/components/calcul-impact.ce.js.js +13 -13
  19. package/dist/components/capacity-calculation.ce.js.js +38 -35
  20. package/dist/components/clickable-image.ce.js.js +10 -10
  21. package/dist/components/complete-phrase.ce.js.js +12 -12
  22. package/dist/components/flip-cards.ce.js.js +10 -10
  23. package/dist/components/generate-mdp.ce.js.js +82 -151
  24. package/dist/components/image-quiz.ce.js.js +3 -3
  25. package/dist/components/image-quizzes.ce.js.js +3 -3
  26. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  27. package/dist/components/llm-messages.ce.js.js +3 -3
  28. package/dist/components/llm-prompt-select.ce.js.js +7 -7
  29. package/dist/components/mdp-classement.ce.js.js +100 -108
  30. package/dist/components/message-conversation.ce.js.js +19 -19
  31. package/dist/components/mobile-shell.ce.js.js +1 -1
  32. package/dist/components/notification-antivirus.ce.js.js +139 -149
  33. package/dist/components/phishing-message.ce.js.js +23 -23
  34. package/dist/components/phishing-notification.ce.js.js +18 -18
  35. package/dist/components/pix-anonymisation.ce.js.js +9 -9
  36. package/dist/components/pix-article.ce.js.js +2 -2
  37. package/dist/components/pix-carousel.ce.js.js +10 -8
  38. package/dist/components/pix-combinaisons.ce.js.js +13 -13
  39. package/dist/components/pix-cursor.ce.js.js +13 -13
  40. package/dist/components/pix-mail-message.ce.js.js +3 -3
  41. package/dist/components/proteger-mail-spam.ce.js.js +70 -82
  42. package/dist/components/qcm-deepfake.ce.js.js +23 -23
  43. package/dist/components/quiz-stepper.ce.js.js +61 -68
  44. package/dist/components/select-conversation.ce.js.js +4 -4
  45. package/dist/components/template-mail.ce.js.js +3 -3
  46. package/dist/components/test-top-mdp.ce.js.js +4 -4
  47. package/dist/components/trouver-mdp-rs.ce.js.js +52 -66
  48. package/dist/components/usages-donnees.ce.js.js +7 -7
  49. package/dist/{i18n-BVfGnSnP.js → i18n-C-1Ne5JG.js} +1 -1
  50. package/dist/{i18n-lite-V7Z5qwB2.js → i18n-lite-WQsHAHqG.js} +1 -1
  51. package/dist/{image-quiz.ce-DLpB-rde.js → image-quiz.ce-DGVVVaQN.js} +8 -8
  52. package/dist/{index-BgVc_wZ5.js → index-C8-9QxHJ.js} +1 -1
  53. package/dist/index.js +2 -1
  54. package/dist/metadata.js +29 -25
  55. package/dist/props.examples.js +115 -113
  56. package/dist/schema.js +55 -53
  57. package/dist/{shadow-dom-4LHwwhYa.js → shadow-dom-DSLDIcsa.js} +1 -1
  58. package/package.json +1 -1
  59. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js +0 -53
  60. package/dist/Feedback.ce-MqHV98f3.js +0 -26
  61. package/dist/Icon.ce-O_y_jvjK.js +0 -50
  62. package/dist/components/feedback.ce.js.js +0 -4
@@ -1,8 +1,8 @@
1
- import { b as h, o, c as n, a, x as c, B as j, _ as f, t as P, q as S, A as N, F as y, e as x, l as z, r as k, g as m, D as L, f as v, d as M } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
- import { u as O, a as T, i as q, b as E } from "../i18n-BVfGnSnP.js";
1
+ import { b as h, o, c as n, a, x as c, A as j, _ as f, t as C, q as S, E as N, F as y, e as x, l as z, r as k, g as m, C as L, f as v, d as E } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as M, a as O, i as q, b as T } from "../i18n-C-1Ne5JG.js";
3
3
  import { b as I } from "../normalize-props-DH0oPBss.js";
4
- import { L as B } from "../LLMMessage.ce-Duki08xd.js";
5
- const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
4
+ import { L as B } from "../LLMMessage.ce-y0WmEj7m.js";
5
+ const R = {}, V = {}, D = {}, F = {}, Q = {}, W = {
6
6
  "complete-phrase": { title: "Probabilité du mot suivant", description: "Quand la barre est longue, le mot a une plus forte probabilité de convenir pour continuer cette phrase.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Révéler le mot", successfullyCompletedSentence: "Cliquez sur le mot choisi par l’IA dans les propositions suivantes :", feedback: { sure: "En effet, c'est le mot le plus probable !", probably: "C’est possible ! L’IA peut aussi choisir le mot « {{word}} », qui est très probable...", notSure: "Pas sûr... L’IA choisira sans doute un mot plus probable : {{words, list(style: 'long'; type: 'disjunction';)}}." } }
7
7
  }, H = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
8
8
  __name: "ProbabilityBar.ce",
@@ -33,7 +33,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
33
33
  },
34
34
  setup(e) {
35
35
  return (d, t) => (o(), n("button", {
36
- class: P(["complete-phrase_button", e.state])
36
+ class: C(["complete-phrase_button", e.state])
37
37
  }, [
38
38
  S(d.$slots, "icon"),
39
39
  N(" " + c(e.label), 1)
@@ -50,7 +50,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
50
50
  },
51
51
  emits: ["answer"],
52
52
  setup(e, { emit: d }) {
53
- const t = d, s = k(null), { t: p } = O(), _ = m(() => s.value.percent === 100 ? p("complete-phrase.feedback.sure") : s.value.percent >= 50 ? p("complete-phrase.feedback.probably", { word: e.list.find((i) => i.percent === 100).name }) : p("complete-phrase.feedback.notSure", { words: e.list.filter((i) => i.percent >= 50).map((i) => i.name) }));
53
+ const t = d, s = k(null), { t: p } = M(), _ = m(() => s.value.percent === 100 ? p("complete-phrase.feedback.sure") : s.value.percent >= 50 ? p("complete-phrase.feedback.probably", { word: e.list.find((i) => i.percent === 100).name }) : p("complete-phrase.feedback.notSure", { words: e.list.filter((i) => i.percent >= 50).map((i) => i.name) }));
54
54
  function g(i) {
55
55
  s.value = i, t("answer", i.name);
56
56
  }
@@ -122,7 +122,7 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
122
122
  ]),
123
123
  a("div", fe, [
124
124
  (o(!0), n(y, null, x(e.listOfProbabilityBarsLists, (u, b) => (o(), n("div", {
125
- class: P(["probability", { hidden: b !== t.value }]),
125
+ class: C(["probability", { hidden: b !== t.value }]),
126
126
  key: b,
127
127
  id: `currentProbability${b}`,
128
128
  "aria-hidden": b !== t.value
@@ -150,14 +150,14 @@ const R = {}, D = {}, V = {}, F = {}, Q = {}, W = {
150
150
  ]));
151
151
  }
152
152
  }), ve = "*{font-family:Roboto,sans-serif;color:#122647}.complete-phrase__title{font-family:Nunito,sans-serif;font-size:1.75rem;font-weight:700;line-height:36px;text-align:center}.complete-phrase__description{text-align:center;font-size:1rem;font-weight:400;line-height:24px}.complete-phrase__container{display:grid;gap:32px;grid-template-columns:3fr 2fr;margin-bottom:24px}.complete-phrase-container__conversation{background:#fff;border:1px solid #cdd1d9;border-radius:16px;display:flex;flex-direction:column;gap:32px;padding:1rem}.complete-phrase-container__conversation .message{align-items:center}.complete-phrase-container__probabilities{display:grid}.complete-phrase-container__probabilities .probability{display:flex;flex-direction:column;gap:16px;grid-row:1;grid-column:1}.complete-phrase-container__probabilities .probability.hidden{visibility:hidden}.complete-message-word:last-child{border:none;filter:blur(4px);font-weight:600;height:auto;width:auto}.complete-message-word--visible:last-child{color:inherit;filter:none;font-weight:700}.complete-message-word--hidden:last-child{background-color:#f4f5f7;border-radius:4px;border:1px dashed #5e6c84;color:transparent;display:inline-block;filter:none;padding:2px 4px}.complete-message-word:nth-last-child(2){font-weight:600}@media(max-width:600px){.complete-phrase__container{grid-template-columns:1fr}.complete-phrase-container__probabilities .probability.hidden{display:none}}", ye = /* @__PURE__ */ f(ge, [["styles", [ve]]]);
153
- T(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": R, "./locales/en.json": D, "./locales/es-419.json": V, "./locales/es.json": F, "./locales/fr-BE.json": Q, "./locales/fr.json": W, "./locales/it.json": H, "./locales/nl.json": U })).catch((e) => console.error(e));
154
- const C = M(ye, {
153
+ O(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": R, "./locales/en.json": V, "./locales/es-419.json": D, "./locales/es.json": F, "./locales/fr-BE.json": Q, "./locales/fr.json": W, "./locales/it.json": H, "./locales/nl.json": U })).catch((e) => console.error(e));
154
+ const P = E(ye, {
155
155
  configureApp(e) {
156
- q.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(E, { i18next: q });
156
+ q.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(T, { i18next: q });
157
157
  }
158
158
  });
159
- C.prototype.normalizeProps = (e) => ({
159
+ P.prototype.normalizeProps = (e) => ({
160
160
  ...e,
161
161
  titleLevel: I(e.titleLevel)
162
162
  });
163
- window.customElements.define("complete-phrase", C);
163
+ window.customElements.define("complete-phrase", P);
@@ -1,6 +1,6 @@
1
- import { b as g, o as r, c as n, F as m, a as i, t as f, x as l, l as x, _ as u, r as y, e as k, N as v, D as w, d as F } from "../_plugin-vue_export-helper-DROOAHrz.js";
1
+ import { b as g, o as r, c as n, F as m, a as i, t as f, x as l, l as x, _ as u, r as y, e as k, Q as v, C as w, d as F } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  import { b as _ } from "../normalize-props-DH0oPBss.js";
3
- const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, j = ["src"], D = /* @__PURE__ */ g({
3
+ const C = ["aria-hidden"], L = ["src"], z = ["aria-level"], N = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, j = ["src"], E = /* @__PURE__ */ g({
4
4
  __name: "FlipCard.ce",
5
5
  props: {
6
6
  titleLevel: { type: Number },
@@ -21,13 +21,13 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
21
21
  class: "icon",
22
22
  src: e.icon,
23
23
  alt: ""
24
- }, null, 8, C),
24
+ }, null, 8, L),
25
25
  i("div", {
26
26
  role: "heading",
27
27
  "aria-level": e.titleLevel,
28
28
  class: "title"
29
- }, l(e.name), 9, N)
30
- ], 10, L),
29
+ }, l(e.name), 9, z)
30
+ ], 10, C),
31
31
  i("div", {
32
32
  class: f(["card verso", { flipped: e.isFlipped, [e.color]: e.color }]),
33
33
  "aria-hidden": e.isFlipped ? "false" : "true"
@@ -45,10 +45,10 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
45
45
  alt: ""
46
46
  }, null, 8, j)) : x("", !0)
47
47
  ])
48
- ], 10, z)
48
+ ], 10, N)
49
49
  ], 64));
50
50
  }
51
- }), E = "[data-v-c0da3f12]{box-sizing:border-box}.card[data-v-c0da3f12]{align-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff;border-radius:12px;color:#253858;display:flex;flex-direction:column;gap:1.2rem;inset:0;justify-content:center;padding:18px;position:absolute;transform:translateZ(0);transition:transform ease .5s}.card .title[data-v-c0da3f12]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-c0da3f12]{display:block;height:auto;width:40px}.card.verso[data-v-c0da3f12]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-c0da3f12]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-c0da3f12]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-c0da3f12]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-c0da3f12]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-c0da3f12]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-c0da3f12]{border:2px solid #f041bf}.card.verso .description[data-v-c0da3f12]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-c0da3f12]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-c0da3f12]{display:block;height:100%;object-fit:contain;width:100%}", K = /* @__PURE__ */ u(D, [["styles", [E]], ["__scopeId", "data-v-c0da3f12"]]), V = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
51
+ }), K = "[data-v-c0da3f12]{box-sizing:border-box}.card[data-v-c0da3f12]{align-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff;border-radius:12px;color:#253858;display:flex;flex-direction:column;gap:1.2rem;inset:0;justify-content:center;padding:18px;position:absolute;transform:translateZ(0);transition:transform ease .5s}.card .title[data-v-c0da3f12]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-c0da3f12]{display:block;height:auto;width:40px}.card.verso[data-v-c0da3f12]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-c0da3f12]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-c0da3f12]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-c0da3f12]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-c0da3f12]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-c0da3f12]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-c0da3f12]{border:2px solid #f041bf}.card.verso .description[data-v-c0da3f12]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-c0da3f12]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-c0da3f12]{display:block;height:100%;object-fit:contain;width:100%}", V = /* @__PURE__ */ u(E, [["styles", [K]], ["__scopeId", "data-v-c0da3f12"]]), D = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
52
52
  __name: "FlipCards.ce",
53
53
  props: {
54
54
  titleLevel: { default: 2, type: Number },
@@ -65,7 +65,7 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
65
65
  ), c = (t, o) => {
66
66
  o.preventDefault(), t.isFlipped = !t.isFlipped;
67
67
  };
68
- return (t, o) => (r(), n("div", V, [
68
+ return (t, o) => (r(), n("div", D, [
69
69
  i("div", {
70
70
  role: "heading",
71
71
  "aria-level": e.titleLevel,
@@ -84,7 +84,7 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
84
84
  ]
85
85
  }, [
86
86
  i("div", Z, [
87
- w(K, {
87
+ w(V, {
88
88
  color: a.color,
89
89
  description: a.description,
90
90
  icon: a.icon,
@@ -97,7 +97,7 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
97
97
  ], 42, Y))), 128))
98
98
  ]));
99
99
  }
100
- }), P = "[data-v-394f37d2]{box-sizing:border-box}.sr-only[data-v-394f37d2]{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.flip-cards[data-v-394f37d2]{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;max-width:100%;padding:0}.flip-cards .card-container[data-v-394f37d2]{cursor:pointer;flex:0 0 180px;height:250px;margin:0;perspective:1200px;outline:none;transform:scale(1);transition:transform ease .5s}.flip-cards .card-container[data-v-394f37d2]:hover,.flip-cards .card-container[data-v-394f37d2]:focus{transform:scale(1.05);transition:transform ease .5s;outline:none}.flip-cards .card-container .flip-container[data-v-394f37d2]{display:block;position:relative;width:100%;height:100%;padding:18px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform}.flip-cards .card-container.flipped .flip-container[data-v-394f37d2]{transform:rotateY(180deg)}", q = /* @__PURE__ */ u(A, [["styles", [P]], ["__scopeId", "data-v-394f37d2"]]), h = F(q);
100
+ }), P = "[data-v-394f37d2]{box-sizing:border-box}.sr-only[data-v-394f37d2]{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.flip-cards[data-v-394f37d2]{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;max-width:100%;padding:0}.flip-cards .card-container[data-v-394f37d2]{cursor:pointer;flex:0 0 180px;height:250px;margin:0;perspective:1200px;outline:none;transform:scale(1);transition:transform ease .5s}.flip-cards .card-container[data-v-394f37d2]:hover,.flip-cards .card-container[data-v-394f37d2]:focus{transform:scale(1.05);transition:transform ease .5s;outline:none}.flip-cards .card-container .flip-container[data-v-394f37d2]{display:block;position:relative;width:100%;height:100%;padding:18px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform}.flip-cards .card-container.flipped .flip-container[data-v-394f37d2]{transform:rotateY(180deg)}", Q = /* @__PURE__ */ u(A, [["styles", [P]], ["__scopeId", "data-v-394f37d2"]]), h = F(Q);
101
101
  h.prototype.normalizeProps = (e) => ({
102
102
  ...e,
103
103
  titleLevel: _(e.titleLevel)
@@ -1,98 +1,29 @@
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 = {
1
+ import { b as B, h as G, r as d, o as E, c as I, a as t, C as s, D as u, v as w, E as g, x as i, t as f, g as L, n as R, _ as z, d as N } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as P, i as h } from "../i18n-lite-WQsHAHqG.js";
3
+ import { p as $ } from "../shadow-dom-DSLDIcsa.js";
4
+ import { I as H, B as _ } from "../Icon.ce-Be0LymfA.js";
5
+ import { I as m, M as F } from "../Modal.ce-DCTwYJKJ.js";
6
+ import { b as T } from "../normalize-props-DH0oPBss.js";
7
+ const q = {}, D = {}, A = {}, J = {
8
+ "generate-mdp": { addPassword: "Ajouter un mot de passe", title: { label: "Titre", value: "La belle fripe" }, email: { label: "Adresse e-mail", value: "elio@pixmail.org" }, 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
+ }, S = {}, U = "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", Q = "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", Z = { class: "wrapper" }, K = ["aria-level"], Y = ["src"], O = { class: "password-field" }, W = { class: "password-strength" }, X = {
79
10
  "aria-live": "polite",
80
11
  class: "password-strength__strengthness"
81
- }, he = { class: "sr-only" }, ve = ["src"], we = /* @__PURE__ */ k({
12
+ }, ee = { class: "sr-only" }, te = ["src"], ae = /* @__PURE__ */ B({
82
13
  __name: "GenerateMdp.ce",
83
14
  props: {
84
15
  titleLevel: { default: 2, type: Number }
85
16
  },
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();
17
+ setup(l, { expose: C }) {
18
+ const { t: r } = P(), k = G("success-modal"), b = d(r("generate-mdp.title.value")), v = d(r("generate-mdp.email.value")), a = d(""), p = d(!1);
19
+ async function y() {
20
+ p.value = !0, await R(), k.value.dialogElement.focus();
90
21
  }
91
- J();
92
- function j() {
93
- w.value = !1, s.value = "";
22
+ $();
23
+ function V() {
24
+ p.value = !1, a.value = "";
94
25
  }
95
- const x = [
26
+ const c = [
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 E() {
119
- const a = Math.floor(x.length * Math.random());
120
- s.value = x[a];
49
+ function M() {
50
+ const e = Math.floor(c.length * Math.random());
51
+ a.value = c[e];
121
52
  }
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,
53
+ const j = L(() => c.includes(a.value) ? r("generate-mdp.strength") : r("generate-mdp.weak"));
54
+ return C({
55
+ reset: V
56
+ }), (e, o) => (E(), I("div", Z, [
57
+ t("div", {
58
+ "aria-level": l.titleLevel,
128
59
  class: "title",
129
60
  role: "heading"
130
61
  }, [
131
- o(Q, { "background-color": "#2c75ff" }, {
132
- default: g(() => [
133
- e("img", {
134
- src: v(re),
62
+ s(H, { "background-color": "#2c75ff" }, {
63
+ default: u(() => [
64
+ t("img", {
65
+ src: w(U),
135
66
  alt: ""
136
- }, null, 8, fe)
67
+ }, null, 8, Y)
137
68
  ]),
138
69
  _: 1
139
70
  }),
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"),
71
+ g(" " + i(e.$t("generate-mdp.addPassword")), 1)
72
+ ], 8, K),
73
+ t("form", null, [
74
+ s(m, {
75
+ modelValue: b.value,
76
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => b.value = n),
77
+ label: e.$t("generate-mdp.title.label"),
147
78
  readonly: !0,
148
79
  type: "text"
149
80
  }, 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"),
81
+ s(m, {
82
+ modelValue: v.value,
83
+ "onUpdate:modelValue": o[1] || (o[1] = (n) => v.value = n),
84
+ label: e.$t("generate-mdp.email.label"),
154
85
  readonly: !0,
155
86
  type: "text"
156
87
  }, 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"),
88
+ t("div", O, [
89
+ s(m, {
90
+ modelValue: a.value,
91
+ "onUpdate:modelValue": o[2] || (o[2] = (n) => a.value = n),
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
- e("div", ge, [
167
- e("p", be, [
168
- e("span", he, l(a.$t("generate-mdp.password")) + " ", 1),
169
- u(l(F.value), 1)
97
+ t("div", W, [
98
+ t("p", X, [
99
+ t("span", ee, i(e.$t("generate-mdp.password")) + " ", 1),
100
+ g(i(j.value), 1)
170
101
  ]),
171
- e("div", {
172
- class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
102
+ t("div", {
103
+ class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
173
104
  "aria-hidden": "true"
174
105
  }, null, 2),
175
- e("div", {
176
- class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
106
+ t("div", {
107
+ class: f([{ "filled-strength": a.value !== "" }, "password-strength__step"]),
177
108
  "aria-hidden": "true"
178
109
  }, null, 2),
179
- e("div", {
180
- class: _([{ "filled-strength": s.value !== "" }, "password-strength__step"]),
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
- o(M, {
185
- title: a.$t("generate-mdp.generatePassword"),
115
+ s(_, {
116
+ title: e.$t("generate-mdp.generatePassword"),
186
117
  variant: "primary-bis",
187
- onClick: E
118
+ onClick: M
188
119
  }, {
189
- default: g(() => [
190
- e("img", {
191
- src: v(pe),
120
+ default: u(() => [
121
+ t("img", {
122
+ src: w(Q),
192
123
  alt: ""
193
- }, null, 8, ve)
124
+ }, null, 8, te)
194
125
  ]),
195
126
  _: 1
196
127
  }, 8, ["title"])
197
128
  ]),
198
- o(M, {
129
+ s(_, {
199
130
  class: "send",
200
- onClick: R,
201
- "is-disabled": !s.value
131
+ onClick: y,
132
+ "is-disabled": !a.value
202
133
  }, {
203
- default: g(() => [
204
- u(l(a.$t("generate-mdp.save")), 1)
134
+ default: u(() => [
135
+ g(i(e.$t("generate-mdp.save")), 1)
205
136
  ]),
206
137
  _: 1
207
138
  }, 8, ["is-disabled"]),
208
- o(ie, {
139
+ s(F, {
209
140
  ref: "success-modal",
210
- content: a.$t("generate-mdp.feedback.content"),
211
- show: w.value,
141
+ content: e.$t("generate-mdp.feedback.content"),
142
+ show: p.value,
212
143
  loop: !1,
213
- title: a.$t("generate-mdp.feedback.title")
144
+ title: e.$t("generate-mdp.feedback.title")
214
145
  }, null, 8, ["content", "show", "title"])
215
146
  ])
216
147
  ]));
217
148
  }
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);
149
+ }), se = "*{--text-blue: #122647;--background-blue: #253858;font-family:Nunito,Roboto,sans-serif;font-size:14px;box-sizing:border-box}h1,h2,h3,h4,h5,h6{color:var(--text-blue);font-family:Nunito,sans-serif}h2{color:var(--text-blue);font-size:20px}p,a,span,li{color:var(--text-blue);font-family:Roboto,sans-serif}button{border-radius:8px;background:var(--background-blue);font-weight:700;font-size:16px}button:disabled{background:#c8cfd9}input{border-radius:10px;border:#cdd1d9;background:#f4f5f7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}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}", oe = ".wrapper[data-v-774c3724]{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-774c3724] label{margin-top:16px}.title[data-v-774c3724]{display:flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:700}.password-field[data-v-774c3724]{display:grid;grid-template-columns:1fr 1fr 45px;gap:0 16px}.password-field .password-strength[data-v-774c3724]{grid-column:2/span 2;justify-self:end;display:flex;align-items:center;gap:8px}.password-field .password-strength__step[data-v-774c3724]{width:40px;height:5px;border-radius:5px;background:#c8cfd9}.password-field .password-strength__strengthness[data-v-774c3724]{color:#5e6c84;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400}.password-field .password-strength .filled-strength[data-v-774c3724]{background:#54c590}.password-field[data-v-774c3724] input{grid-column:1/span 2;grid-row:2}.password-field button[data-v-774c3724]{height:45px;width:45px;justify-content:center;display:flex}.send[data-v-774c3724]{display:block;margin:16px auto 0}@media screen and (max-width:576px){.password-field[data-v-774c3724]{display:grid;grid-template-columns:1fr 1fr 45px;grid-column:unset}.password-field[data-v-774c3724] .password{grid-row:unset}.password-field .password-strength[data-v-774c3724]{grid-column:unset;grid-row:3/span 2;justify-self:start;margin-top:8px}}", le = /* @__PURE__ */ z(ae, [["styles", [se, oe]], ["__scopeId", "data-v-774c3724"]]);
150
+ h.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": q, "./locales/en.json": D, "./locales/es.json": A, "./locales/fr.json": J, "./locales/it.json": S }));
151
+ const x = N(le, {
152
+ configureApp(l) {
153
+ h.changeLanguage(document?.documentElement?.lang || navigator.language), l.use(h);
223
154
  }
224
155
  });
225
- I.prototype.normalizeProps = (t) => ({
226
- titleLevel: K(t.titleLevel)
156
+ x.prototype.normalizeProps = (l) => ({
157
+ titleLevel: T(l.titleLevel)
227
158
  });
228
- window.customElements.define("generate-mdp", I);
159
+ window.customElements.define("generate-mdp", x);
@@ -1,7 +1,7 @@
1
- import { n as t } from "../image-quiz.ce-DLpB-rde.js";
2
- import "../_plugin-vue_export-helper-DROOAHrz.js";
1
+ import { n as t } from "../image-quiz.ce-DGVVVaQN.js";
2
+ import "../_plugin-vue_export-helper-CD1RUA2y.js";
3
3
  import "../normalize-props-DH0oPBss.js";
4
- import "../i18n-lite-V7Z5qwB2.js";
4
+ import "../i18n-lite-WQsHAHqG.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-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";
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-DGVVVaQN.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-CD1RUA2y.js";
3
+ import { i as n } from "../i18n-lite-WQsHAHqG.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-DROOAHrz.js";
2
- import { L as l } from "../LLMMessage.ce-Duki08xd.js";
3
- import { p as u } from "../shadow-dom-4LHwwhYa.js";
1
+ import { b as c, o as t, c as s, a as e, x as n, F as r, e as m, C as i, _ as p, d as g } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { L as l } from "../LLMMessage.ce-y0WmEj7m.js";
3
+ import { p as u } from "../shadow-dom-DSLDIcsa.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-DROOAHrz.js";
2
- import { L as h } from "../LLMMessage.ce-Duki08xd.js";
3
- import { p as _ } from "../shadow-dom-4LHwwhYa.js";
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-CD1RUA2y.js";
2
+ import { L as h } from "../LLMMessage.ce-y0WmEj7m.js";
3
+ import { p as _ } from "../shadow-dom-DSLDIcsa.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, A as k, F as b, e as L, x as S, _ as C, d as P } from "../_plugin-vue_export-helper-DROOAHrz.js";
1
+ import { b as h, r as c, K as y, o as d, c as m, C as w, a, E as k, F as b, e as C, x as L, _ as S, d as P } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  import { b as N } from "../normalize-props-DH0oPBss.js";
3
3
  import "./llm-messages.ce.js.js";
4
- const M = { class: "prompt-select" }, A = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ h({
4
+ const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B = ["disabled", "onClick"], V = /* @__PURE__ */ h({
5
5
  __name: "LLMPromptSelect.ce",
6
6
  props: {
7
7
  messages: { type: Array },
@@ -48,23 +48,23 @@ const M = { class: "prompt-select" }, A = { class: "prompt-select__options" }, B
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", M, [
51
+ a("div", E, [
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", A, [
57
- (d(!0), m(b, null, L(u.value, (n, i) => (d(), m("button", {
56
+ a("div", M, [
57
+ (d(!0), m(b, null, C(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, B))), 128))
61
+ }, L(n.prompt), 9, B))), 128))
62
62
  ])
63
63
  ])
64
64
  ], 64);
65
65
  };
66
66
  }
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);
67
+ }), z = ".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}", A = /* @__PURE__ */ S(V, [["styles", [z]]]), _ = P(A);
68
68
  _.prototype.normalizeProps = (r) => ({
69
69
  ...r,
70
70
  speed: N(r.speed)