@1024pix/epreuves-components 4.6.1 → 4.6.2

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 (43) hide show
  1. package/dist/Button.ce-CsTDnAGh.js +31 -0
  2. package/dist/{ButtonTooltip.ce-Bo42SFAP.js → ButtonTooltip.ce-CUxXoH9n.js} +4 -4
  3. package/dist/{Icon.ce-Be0LymfA.js → Icon.ce-DqVOTSTE.js} +7 -7
  4. package/dist/{LLMMessage.ce-y0WmEj7m.js → LLMMessage.ce-BM9ikl_y.js} +3 -3
  5. package/dist/{NavigationButton.ce-B-c0m9H8.js → NavigationButton.ce-CIOKG2O0.js} +3 -3
  6. package/dist/{PixMailMessage.ce-CH6CVQ3H.js → PixMailMessage.ce-DUSt6eGF.js} +52 -52
  7. package/dist/{Popin.ce-CQtpIOkM.js → Popin.ce-OnxaZNvT.js} +3 -3
  8. package/dist/components/analyse-mails-phishing.ce.js.js +6 -6
  9. package/dist/components/autocompletion-mdp.ce.js.js +79 -79
  10. package/dist/components/button.ce.js.js +1 -1
  11. package/dist/components/calcul-impact.ce.js.js +34 -34
  12. package/dist/components/capacity-calculation.ce.js.js +20 -20
  13. package/dist/components/clickable-image.ce.js.js +18 -18
  14. package/dist/components/complete-phrase.ce.js.js +41 -41
  15. package/dist/components/flip-cards.ce.js.js +18 -18
  16. package/dist/components/generate-mdp.ce.js.js +23 -23
  17. package/dist/components/image-quiz.ce.js.js +1 -1
  18. package/dist/components/image-quizzes.ce.js.js +1 -1
  19. package/dist/components/llm-compare-messages.ce.js.js +2 -2
  20. package/dist/components/llm-messages.ce.js.js +1 -1
  21. package/dist/components/llm-prompt-select.ce.js.js +1 -1
  22. package/dist/components/mdp-classement.ce.js.js +13 -13
  23. package/dist/components/message-conversation.ce.js.js +2 -2
  24. package/dist/components/notification-antivirus.ce.js.js +62 -62
  25. package/dist/components/phishing-message.ce.js.js +81 -81
  26. package/dist/components/phishing-notification.ce.js.js +9 -9
  27. package/dist/components/pix-anonymisation.ce.js.js +72 -72
  28. package/dist/components/pix-article.ce.js.js +6 -6
  29. package/dist/components/pix-carousel.ce.js.js +16 -16
  30. package/dist/components/pix-combinaisons.ce.js.js +14 -14
  31. package/dist/components/pix-cursor.ce.js.js +28 -28
  32. package/dist/components/pix-mail-message.ce.js.js +1 -1
  33. package/dist/components/proteger-mail-spam.ce.js.js +6 -6
  34. package/dist/components/qcm-deepfake.ce.js.js +26 -26
  35. package/dist/components/quiz-stepper.ce.js.js +6 -6
  36. package/dist/components/template-mail.ce.js.js +1 -1
  37. package/dist/components/test-top-mdp.ce.js.js +3 -3
  38. package/dist/components/trouver-mdp-rs.ce.js.js +125 -125
  39. package/dist/components/usages-donnees.ce.js.js +30 -30
  40. package/dist/{image-quiz.ce-DGVVVaQN.js → image-quiz.ce-KliaBWpC.js} +5 -5
  41. package/dist/index.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/Button.ce-Ccv3OLk2.js +0 -31
@@ -1,9 +1,9 @@
1
1
  import { _ as V, s as P, o as n, c as l, a as t, v, l as C, t as w, E as q, x as o, b as M, h as O, r as z, K as U, F as m, e as x, f as h, m as _, C as B, D as y, g as d, n as G, d as K } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  import { u as Z, i as S } from "../i18n-lite-WQsHAHqG.js";
3
- import { B as H } from "../Button.ce-Ccv3OLk2.js";
3
+ import { B as H } from "../Button.ce-CsTDnAGh.js";
4
4
  const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
5
5
  "usages-donnees": { "instruction-step-1": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous avez sur votre appareil.", "instruction-step-2": "Parmi les éléments suivants, séléctionnez ceux qui correspondent à ce que vous faites en ligne.", "step-a11y": "Étape {{currentStep}} sur {{total}}", next: "Suivant", result: "Voir mon bilan", "locale-choice-title": "Ce que vous avez sur votre appareil", "cloud-choice-title": "Ce que vous faites en ligne", "last-step": { "title-1": "Données et usages avec plus de valeur", "title-2": "Données et usages avec moins de valeur", content: { "line-1": "Certaines données et certains usages ont beaucoup de valeur pour les pirates, d’autres ont moins de valeur.", "line-2": "Par exemple, en accédant à ces informations qui ont de la valeur, les pirates peuvent : {{bold1}} à vos différents services en ligne ou vous demander {{bold2}} (une rançon) pour réparer les dégâts qu'ils ont causés.", "bold-1": "récupérer des données importantes, accéder", "bold-2": "de l'argent" } } }
6
- }, te = {}, ae = {}, se = "data:image/svg+xml,%3csvg%20width='11'%20height='8'%20viewBox='0%200%2011%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.61484%205.80617L9.19317%200.227833C9.34506%200.0759442%209.52317%200%209.7275%200C9.93184%200%2010.11%200.0759442%2010.262%200.227833C10.4139%200.379833%2010.4898%200.560111%2010.4898%200.768667C10.4898%200.977222%2010.4139%201.1575%2010.262%201.3095L4.14934%207.43483C3.99734%207.58672%203.81917%207.66267%203.61484%207.66267C3.41051%207.66267%203.23234%207.58672%203.08034%207.43483L0.221671%204.57617C0.0697825%204.42417%20-0.00405093%204.24389%200.000171293%204.03533C0.00439352%203.82678%200.0824491%203.6465%200.234338%203.4945C0.386338%203.34261%200.566616%203.26667%200.775171%203.26667C0.983727%203.26667%201.164%203.34261%201.316%203.4945L3.61484%205.80617Z'%20fill='%23212A37'/%3e%3c/svg%3e", ne = "label[data-v-e33c94f6]{position:relative;display:flex;align-items:center;gap:6px;border-radius:8px}label[data-v-e33c94f6]:not(.readonly):hover{cursor:pointer}label .custom-input[data-v-e33c94f6]{display:flex;justify-content:center;align-items:center;min-width:16px;aspect-ratio:1;background-color:#fff;border:1px solid #000}label .custom-input img[data-v-e33c94f6]{width:10px}label input:focus~.custom-input[data-v-e33c94f6]{outline:2px solid black}.variant-a[data-v-e33c94f6]{background:#eaf1ff;padding:14px}.variant-a.is-checked[data-v-e33c94f6]{background:#2c75ff;color:#fff}.variant-b[data-v-e33c94f6],.variant-c[data-v-e33c94f6]{border-left:4px solid #c8cfd9;background:#f9f9f9;padding:8px 12px}.variant-b.is-checked[data-v-e33c94f6]{border-left:4px solid #ffdc76;background:#fffaeb}.variant-c.is-checked[data-v-e33c94f6]{border-left:4px solid #72a3ff;background:#eaf1ff}", oe = ["for"], le = ["id", "checked", "readonly"], re = ["src"], ce = {
6
+ }, te = {}, ae = {}, se = "data:image/svg+xml,%3csvg%20width='11'%20height='8'%20viewBox='0%200%2011%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.61484%205.80617L9.19317%200.227833C9.34506%200.0759442%209.52317%200%209.7275%200C9.93184%200%2010.11%200.0759442%2010.262%200.227833C10.4139%200.379833%2010.4898%200.560111%2010.4898%200.768667C10.4898%200.977222%2010.4139%201.1575%2010.262%201.3095L4.14934%207.43483C3.99734%207.58672%203.81917%207.66267%203.61484%207.66267C3.41051%207.66267%203.23234%207.58672%203.08034%207.43483L0.221671%204.57617C0.0697825%204.42417%20-0.00405093%204.24389%200.000171293%204.03533C0.00439352%203.82678%200.0824491%203.6465%200.234338%203.4945C0.386338%203.34261%200.566616%203.26667%200.775171%203.26667C0.983727%203.26667%201.164%203.34261%201.316%203.4945L3.61484%205.80617Z'%20fill='%23212A37'/%3e%3c/svg%3e", ne = "label[data-v-bde39c2d]{position:relative;display:flex;align-items:center;gap:6px;border-radius:8px}label[data-v-bde39c2d]:not(.readonly):hover{cursor:pointer}label .custom-input[data-v-bde39c2d]{display:flex;justify-content:center;align-items:center;min-width:16px;aspect-ratio:1;background-color:#fff;border:1px solid #000}label .custom-input img[data-v-bde39c2d]{width:10px}label input:focus~.custom-input[data-v-bde39c2d]{outline:2px solid black}.variant-a[data-v-bde39c2d]{background:#eaf1ff;padding:14px}.variant-a.is-checked[data-v-bde39c2d]{background:#2c75ff;color:#fff}.variant-b[data-v-bde39c2d],.variant-c[data-v-bde39c2d]{border-left:4px solid #c8cfd9;background:#f9f9f9;padding:8px 12px}.variant-b.is-checked[data-v-bde39c2d]{border-left:4px solid #ffdc76;background:#fffaeb}.variant-c.is-checked[data-v-bde39c2d]{border-left:4px solid #72a3ff;background:#eaf1ff}", oe = ["for"], le = ["id", "checked", "readonly"], re = ["src"], ie = {
7
7
  __name: "CustomCheckbox.ce",
8
8
  props: {
9
9
  label: String,
@@ -20,16 +20,16 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
20
20
  },
21
21
  emits: ["select"],
22
22
  setup(a, { emit: b }) {
23
- const c = P(), p = b;
23
+ const i = P(), f = b;
24
24
  function s(r) {
25
- a.readonly || p("select", r.target.checked, a.index);
25
+ a.readonly || f("select", r.target.checked, a.index);
26
26
  }
27
27
  return (r, j) => (n(), l("label", {
28
- for: v(c),
28
+ for: v(i),
29
29
  class: w({ "is-checked": a.isSelected, [`variant-${a.variant}`]: !0, readonly: a.readonly })
30
30
  }, [
31
31
  t("input", {
32
- id: v(c),
32
+ id: v(i),
33
33
  checked: a.isSelected,
34
34
  readonly: a.readonly,
35
35
  type: "checkbox",
@@ -48,10 +48,10 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
48
48
  q(" " + o(a.label), 1)
49
49
  ], 10, oe));
50
50
  }
51
- }, k = /* @__PURE__ */ V(ce, [["styles", [ne]], ["__scopeId", "data-v-e33c94f6"]]), ie = {
51
+ }, k = /* @__PURE__ */ V(ie, [["styles", [ne]], ["__scopeId", "data-v-bde39c2d"]]), ce = {
52
52
  key: 0,
53
53
  class: "instruction"
54
- }, de = { key: 1 }, ue = { class: "title" }, fe = { class: "stepper" }, pe = { class: "sr-only" }, be = { "aria-hidden": "true" }, ge = { class: "checkbox-group" }, ve = {
54
+ }, de = { key: 1 }, ue = { class: "title" }, pe = { class: "stepper" }, fe = { class: "sr-only" }, be = { "aria-hidden": "true" }, ge = { class: "checkbox-group" }, ve = {
55
55
  key: 2,
56
56
  class: "result"
57
57
  }, me = {
@@ -70,10 +70,10 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
70
70
  cloudChoices: { type: Array }
71
71
  },
72
72
  setup(a, { expose: b }) {
73
- const { t: c } = Z(), p = O("wrapper"), s = z(1), r = z({
73
+ const { t: i } = Z(), f = O("wrapper"), s = z(1), r = z({
74
74
  1: a.localeChoices.map((e) => ({ ...e, isSelected: !1 })),
75
75
  2: a.cloudChoices.map((e) => ({ ...e, isSelected: !1 }))
76
- }), j = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => e.hasValue).sort($)), D = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => !e.hasValue).sort($)), N = d(() => s.value === 1 ? c("usages-donnees.locale-choice-title") : c("usages-donnees.cloud-choice-title")), A = d(() => s.value === 1 ? c("usages-donnees.next") : c("usages-donnees.result")), R = d(() => c(`usages-donnees.instruction-step-${s.value}`)), g = d(() => s.value === 3), E = d(() => !r.value[s.value]?.some(({ isSelected: e }) => e));
76
+ }), j = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => e.hasValue).sort($)), D = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => !e.hasValue).sort($)), N = d(() => s.value === 1 ? i("usages-donnees.locale-choice-title") : i("usages-donnees.cloud-choice-title")), A = d(() => s.value === 1 ? i("usages-donnees.next") : i("usages-donnees.result")), R = d(() => i(`usages-donnees.instruction-step-${s.value}`)), g = d(() => s.value === 3), E = d(() => !r.value[s.value]?.some(({ isSelected: e }) => e));
77
77
  function $(e, u) {
78
78
  return e.isSelected && u.isSelected ? 0 : e.isSelected ? -1 : u.isSelected ? 1 : 0;
79
79
  }
@@ -87,7 +87,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
87
87
  r.value[s.value][u].isSelected = e;
88
88
  }
89
89
  async function F() {
90
- s.value++, await G(), p.value.focus();
90
+ s.value++, await G(), f.value.focus();
91
91
  }
92
92
  return b({
93
93
  reset: L
@@ -95,22 +95,22 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
95
95
  const I = U("i18n");
96
96
  return n(), l("div", {
97
97
  ref_key: "wrapper",
98
- ref: p,
98
+ ref: f,
99
99
  class: w(["wrapper", [`step-${s.value}`]]),
100
100
  tabindex: "-1"
101
101
  }, [
102
- g.value ? C("", !0) : (n(), l("p", ie, o(R.value), 1)),
102
+ g.value ? C("", !0) : (n(), l("p", ce, o(R.value), 1)),
103
103
  g.value ? (n(), l("form", ve, [
104
104
  t("fieldset", null, [
105
105
  t("legend", me, [
106
106
  t("span", xe, o(e.$t("usages-donnees.last-step.title-1")), 1)
107
107
  ]),
108
108
  t("div", he, [
109
- (n(!0), l(m, null, x(j.value, (i, f) => (n(), h(k, _({
110
- key: i.label
111
- }, { ref_for: !0 }, i, {
109
+ (n(!0), l(m, null, x(j.value, (c, p) => (n(), h(k, _({
110
+ key: c.label
111
+ }, { ref_for: !0 }, c, {
112
112
  readonly: !0,
113
- index: f,
113
+ index: p,
114
114
  variant: "b"
115
115
  }), null, 16, ["index"]))), 128))
116
116
  ])
@@ -120,11 +120,11 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
120
120
  t("span", ye, o(e.$t("usages-donnees.last-step.title-2")), 1)
121
121
  ]),
122
122
  t("div", ke, [
123
- (n(!0), l(m, null, x(D.value, (i, f) => (n(), h(k, _({
124
- key: i.label
125
- }, { ref_for: !0 }, i, {
123
+ (n(!0), l(m, null, x(D.value, (c, p) => (n(), h(k, _({
124
+ key: c.label
125
+ }, { ref_for: !0 }, c, {
126
126
  readonly: !0,
127
- index: f,
127
+ index: p,
128
128
  variant: "c"
129
129
  }), null, 16, ["index"]))), 128))
130
130
  ])
@@ -133,24 +133,24 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
133
133
  t("fieldset", null, [
134
134
  t("legend", null, [
135
135
  t("span", ue, o(N.value), 1),
136
- t("span", fe, [
137
- t("span", pe, o(e.$t("usages-donnees.step-a11y", { currentStep: s.value, total: 2 })), 1),
136
+ t("span", pe, [
137
+ t("span", fe, o(e.$t("usages-donnees.step-a11y", { currentStep: s.value, total: 2 })), 1),
138
138
  t("span", be, o(s.value) + "/2", 1)
139
139
  ])
140
140
  ]),
141
141
  t("div", ge, [
142
- (n(!0), l(m, null, x(r.value[s.value], (i, f) => (n(), h(k, _({
143
- key: i.label
144
- }, { ref_for: !0 }, i, {
145
- index: f,
142
+ (n(!0), l(m, null, x(r.value[s.value], (c, p) => (n(), h(k, _({
143
+ key: c.label
144
+ }, { ref_for: !0 }, c, {
145
+ index: p,
146
146
  onSelect: T
147
147
  }), null, 16, ["index"]))), 128))
148
148
  ])
149
149
  ]),
150
150
  B(H, {
151
151
  class: "pix-button",
152
- onClick: F,
153
- "is-disabled": E.value
152
+ "is-disabled": E.value,
153
+ onClick: F
154
154
  }, {
155
155
  default: y(() => [
156
156
  q(o(A.value), 1)
@@ -173,7 +173,7 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
173
173
  ], 2);
174
174
  };
175
175
  }
176
- }), 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}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}", je = '.wrapper[data-v-aef3c1bd]{padding:0 24px 24px}.wrapper.step-3[data-v-aef3c1bd]{padding-top:24px}.instruction[data-v-aef3c1bd]{margin:0 0 24px}form[data-v-aef3c1bd]{padding:16px 24px;border-radius:16px;background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}fieldset[data-v-aef3c1bd]{border:none;padding:0}legend[data-v-aef3c1bd]{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}legend .title[data-v-aef3c1bd]{font-size:1.25rem;font-weight:800}legend .stepper[data-v-aef3c1bd]{display:flex;justify-content:center;align-items:center;align-self:center;border-radius:50%;background:#bde4ff;min-width:38px;aspect-ratio:1;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:700}.checkbox-group[data-v-aef3c1bd]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.pix-button[data-v-aef3c1bd]{display:block;margin:0 auto}.result fieldset[data-v-aef3c1bd]:first-child{margin-bottom:24px}.result .legend[data-v-aef3c1bd]{justify-content:start;gap:8px}.result .legend[data-v-aef3c1bd]:before{content:"";position:relative;top:2px;background-color:var(--color);border-radius:50%;min-width:12px;aspect-ratio:1;align-self:center}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(4,1fr)}.feedback[data-v-aef3c1bd]{border-radius:8px;background:#eaf1ff;padding:8px;margin:16px 0 0}.feedback[data-v-aef3c1bd],.feedback span[data-v-aef3c1bd]{font-family:Roboto,sans-serif;font-size:.75rem;line-height:1.125rem}.feedback span[data-v-aef3c1bd]{display:block;margin-bottom:.4rem}@media screen and (max-width:874px){.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:576px){.checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr;gap:8px}.result .checkbox-group[data-v-aef3c1bd]{grid-template-columns:1fr}}', $e = /* @__PURE__ */ V(we, [["styles", [Se, je]], ["__scopeId", "data-v-aef3c1bd"]]);
176
+ }), 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}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}", je = '.wrapper[data-v-525ba022]{padding:0 24px 24px}.wrapper.step-3[data-v-525ba022]{padding-top:24px}.instruction[data-v-525ba022]{margin:0 0 24px}form[data-v-525ba022]{padding:16px 24px;border-radius:16px;background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}fieldset[data-v-525ba022]{border:none;padding:0}legend[data-v-525ba022]{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}legend .title[data-v-525ba022]{font-size:1.25rem;font-weight:800}legend .stepper[data-v-525ba022]{display:flex;justify-content:center;align-items:center;align-self:center;border-radius:50%;background:#bde4ff;min-width:38px;aspect-ratio:1;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:700}.checkbox-group[data-v-525ba022]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.pix-button[data-v-525ba022]{display:block;margin:0 auto}.result fieldset[data-v-525ba022]:first-child{margin-bottom:24px}.result .legend[data-v-525ba022]{justify-content:start;gap:8px}.result .legend[data-v-525ba022]:before{content:"";position:relative;top:2px;background-color:var(--color);border-radius:50%;min-width:12px;aspect-ratio:1;align-self:center}.result .checkbox-group[data-v-525ba022]{grid-template-columns:repeat(4,1fr)}.feedback[data-v-525ba022]{border-radius:8px;background:#eaf1ff;padding:8px;margin:16px 0 0}.feedback[data-v-525ba022],.feedback span[data-v-525ba022]{font-family:Roboto,sans-serif;font-size:.75rem;line-height:1.125rem}.feedback span[data-v-525ba022]{display:block;margin-bottom:.4rem}@media screen and (max-width:874px){.result .checkbox-group[data-v-525ba022]{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:576px){.checkbox-group[data-v-525ba022]{grid-template-columns:1fr;gap:8px}.result .checkbox-group[data-v-525ba022]{grid-template-columns:1fr}}', $e = /* @__PURE__ */ V(we, [["styles", [Se, je]], ["__scopeId", "data-v-525ba022"]]);
177
177
  S.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": J, "./locales/en.json": Q, "./locales/es-419.json": W, "./locales/es.json": X, "./locales/fr-BE.json": Y, "./locales/fr.json": ee, "./locales/it.json": te, "./locales/nl.json": ae }));
178
178
  const ze = K($e, {
179
179
  configureApp(a) {
@@ -56,8 +56,8 @@ const W = {}, X = {
56
56
  alt: ""
57
57
  }), null, 16),
58
58
  v("figcaption", {
59
- class: z(e.nameClass),
60
- id: s(u)
59
+ id: s(u),
60
+ class: z(e.nameClass)
61
61
  }, C(e.choice.name), 11, le)
62
62
  ])) : (o(), m("span", {
63
63
  key: 1,
@@ -114,8 +114,8 @@ const W = {}, X = {
114
114
  }, null, 10, ge),
115
115
  u.value ? (o(), m("p", {
116
116
  key: 0,
117
- class: "image-quiz-multiple-instruction",
118
- id: `${s(h)}-instruction`
117
+ id: `${s(h)}-instruction`,
118
+ class: "image-quiz-multiple-instruction"
119
119
  }, C(i.$t("image-quiz.multipleInstruction")), 9, pe)) : M("", !0),
120
120
  v("div", {
121
121
  role: "listbox",
@@ -129,9 +129,9 @@ const W = {}, X = {
129
129
  ref_for: !0,
130
130
  ref_key: "options",
131
131
  ref: S,
132
+ key: r,
132
133
  choice: A,
133
134
  "max-choices-per-line": e.maxChoicesPerLine,
134
- key: r,
135
135
  "name-class": p.value,
136
136
  "image-class": e.imageChoicesSize,
137
137
  selected: t.value[r],
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import "./components/capacity-calculation.ce.js.js";
4
4
  import "./components/clickable-image.ce.js.js";
5
5
  import "./components/complete-phrase.ce.js.js";
6
6
  import "./components/flip-cards.ce.js.js";
7
- import "./image-quiz.ce-DGVVVaQN.js";
7
+ import "./image-quiz.ce-KliaBWpC.js";
8
8
  import "./components/image-quizzes.ce.js.js";
9
9
  import "./components/message-conversation.ce.js.js";
10
10
  import "./components/mdp-classement.ce.js.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/epreuves-components",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "type": "module",
5
5
  "description": "A collection of interactive components to be used in Pix challenges or modules",
6
6
  "exports": {
@@ -1,31 +0,0 @@
1
- import { b as r, h as c, o as d, c as i, t as u, q as l, _ as b } from "./_plugin-vue_export-helper-CD1RUA2y.js";
2
- const p = ["aria-disabled"], f = /* @__PURE__ */ r({
3
- __name: "Button.ce",
4
- props: {
5
- isDisabled: { type: Boolean }
6
- },
7
- setup(e, { expose: a }) {
8
- const o = c("button");
9
- function s(t) {
10
- e.isDisabled && t.stopPropagation();
11
- }
12
- function n() {
13
- o.value.focus();
14
- }
15
- return a({
16
- buttonElement: o,
17
- focus: n
18
- }), (t, m) => (d(), i("button", {
19
- ref: "button",
20
- onClickCapture: s,
21
- "aria-disabled": e.isDisabled,
22
- class: u({ "is-disabled": e.isDisabled }),
23
- type: "button"
24
- }, [
25
- l(t.$slots, "default", {}, void 0, !0)
26
- ], 42, p));
27
- }
28
- }), _ = "button[data-v-17935c3e]{padding:8px 24px;border-radius:8px;background:#253858;border:none;color:#fff}button[data-v-17935c3e]:hover{cursor:pointer;background:#334d77}button.is-disabled[data-v-17935c3e]{background:#25385880;cursor:not-allowed}", v = /* @__PURE__ */ b(f, [["styles", [_]], ["__scopeId", "data-v-17935c3e"]]);
29
- export {
30
- v as B
31
- };