@1024pix/epreuves-components 4.6.0 → 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 (60) hide show
  1. package/dist/Button.ce-CsTDnAGh.js +31 -0
  2. package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-CUxXoH9n.js} +5 -5
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
  4. package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
  5. package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-DqVOTSTE.js} +7 -7
  6. package/dist/LLMMessage.ce-BM9ikl_y.js +98 -0
  7. package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
  8. package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
  9. package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-CIOKG2O0.js} +16 -14
  10. package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-DUSt6eGF.js} +59 -59
  11. package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-OnxaZNvT.js} +5 -5
  12. package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
  13. package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
  14. package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
  15. package/dist/components/analyse-mails-phishing.ce.js.js +110 -111
  16. package/dist/components/autocompletion-mdp.ce.js.js +92 -92
  17. package/dist/components/button.ce.js.js +2 -2
  18. package/dist/components/calcul-impact.ce.js.js +36 -36
  19. package/dist/components/capacity-calculation.ce.js.js +46 -43
  20. package/dist/components/clickable-image.ce.js.js +25 -25
  21. package/dist/components/complete-phrase.ce.js.js +50 -50
  22. package/dist/components/flip-cards.ce.js.js +21 -21
  23. package/dist/components/generate-mdp.ce.js.js +56 -56
  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 +4 -4
  27. package/dist/components/llm-messages.ce.js.js +6 -6
  28. package/dist/components/llm-prompt-select.ce.js.js +7 -7
  29. package/dist/components/mdp-classement.ce.js.js +107 -115
  30. package/dist/components/message-conversation.ce.js.js +17 -17
  31. package/dist/components/mobile-shell.ce.js.js +1 -1
  32. package/dist/components/notification-antivirus.ce.js.js +136 -146
  33. package/dist/components/phishing-message.ce.js.js +89 -89
  34. package/dist/components/phishing-notification.ce.js.js +10 -10
  35. package/dist/components/pix-anonymisation.ce.js.js +75 -75
  36. package/dist/components/pix-article.ce.js.js +7 -7
  37. package/dist/components/pix-carousel.ce.js.js +24 -22
  38. package/dist/components/pix-combinaisons.ce.js.js +25 -25
  39. package/dist/components/pix-cursor.ce.js.js +33 -33
  40. package/dist/components/pix-mail-message.ce.js.js +3 -3
  41. package/dist/components/proteger-mail-spam.ce.js.js +72 -84
  42. package/dist/components/qcm-deepfake.ce.js.js +31 -31
  43. package/dist/components/quiz-stepper.ce.js.js +66 -73
  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 +7 -7
  47. package/dist/components/trouver-mdp-rs.ce.js.js +154 -168
  48. package/dist/components/usages-donnees.ce.js.js +34 -34
  49. package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
  50. package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
  51. package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-KliaBWpC.js} +7 -7
  52. package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
  55. package/package.json +1 -1
  56. package/dist/Button.ce-C-lBihdF.js +0 -31
  57. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
  58. package/dist/Feedback.ce-CeyQhenY.js +0 -26
  59. package/dist/LLMMessage.ce-DBorHEa1.js +0 -96
  60. package/dist/components/feedback.ce.js.js +0 -4
@@ -1,9 +1,9 @@
1
- import { _ as V, s as P, o as n, c as l, b as t, v, l as C, t as w, A as q, x as o, a as M, h as O, r as z, K as U, F as m, e as x, f as h, m as _, D as B, E as y, g as d, n as G, d as K } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { u as Z, i as S } from "../i18n-lite-X2ADNonj.js";
3
- import { B as H } from "../Button.ce-C-lBihdF.js";
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
+ import { u as Z, i as S } from "../i18n-lite-WQsHAHqG.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($)), A = d(() => Object.values(r.value).flatMap((e) => e).filter((e) => !e.hasValue).sort($)), D = d(() => s.value === 1 ? c("usages-donnees.locale-choice-title") : c("usages-donnees.cloud-choice-title")), N = 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(A.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
  ])
@@ -132,28 +132,28 @@ const J = {}, Q = {}, W = {}, X = {}, Y = {}, ee = {
132
132
  ])) : (n(), l("form", de, [
133
133
  t("fieldset", null, [
134
134
  t("legend", null, [
135
- t("span", ue, o(D.value), 1),
136
- t("span", fe, [
137
- t("span", pe, o(e.$t("usages-donnees.step-a11y", { currentStep: s.value, total: 2 })), 1),
135
+ t("span", ue, o(N.value), 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
- q(o(N.value), 1)
156
+ q(o(A.value), 1)
157
157
  ]),
158
158
  _: 1
159
159
  }, 8, ["is-disabled"])
@@ -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) {
@@ -1,4 +1,4 @@
1
- import { n as Re, a as Ce, z as Pe, i as $e } from "./_plugin-vue_export-helper-DJlRxzRH.js";
1
+ import { n as Re, b as Ce, z as Pe, i as $e } from "./_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  const d = (a) => typeof a == "string", K = () => {
3
3
  let a, e;
4
4
  const t = new Promise((i, s) => {
@@ -1,4 +1,4 @@
1
- import { a as f, i as g } from "./_plugin-vue_export-helper-DJlRxzRH.js";
1
+ import { b as f, i as g } from "./_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  const c = /* @__PURE__ */ Symbol("i18n-lite"), o = /* @__PURE__ */ Symbol("isPluralized"), a = /\{\{\s*(\w+)\s*}}/g;
3
3
  class l {
4
4
  static #s = "fr";
@@ -1,6 +1,6 @@
1
- import { a as P, s as k, o, c as m, Q as x, y, v as s, t as z, b as v, m as Q, x as C, r as q, _ as B, w as F, h as D, l as M, F as H, e as K, f as R, g as c, d as L } from "./_plugin-vue_export-helper-DJlRxzRH.js";
1
+ import { b as P, s as k, o, c as m, Q as x, y, v as s, t as z, a as v, m as Q, x as C, r as q, _ as B, w as F, h as D, l as M, F as H, e as K, f as R, g as c, d as L } from "./_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  import { s as G } from "./shuffled-B8VGTceh.js";
3
- import { u as Z, i as g } from "./i18n-lite-X2ADNonj.js";
3
+ import { u as Z, i as g } from "./i18n-lite-WQsHAHqG.js";
4
4
  import { a as w, u as J, b as U } from "./normalize-props-DH0oPBss.js";
5
5
  const W = {}, X = {
6
6
  "image-quiz": { multipleInstruction: "Select several answers.", multipleValidity: "To validate, select at least two answers. Otherwise, skip.", validity: "To validate, select an answer. Otherwise, skip." }
@@ -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],
@@ -1,4 +1,4 @@
1
- import { i as o } from "./i18n-lite-X2ADNonj.js";
1
+ import { i as o } from "./i18n-lite-WQsHAHqG.js";
2
2
  const s = {}, _ = {}, t = {}, e = {}, l = {}, n = { step: "Étape {{step}} sur {{stepsCount}}" }, c = {
3
3
  stepper: n
4
4
  }, a = {}, i = {};
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-BaKLPvSS.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";
@@ -1,4 +1,4 @@
1
- import { u as e, i as s, p as a } from "./_plugin-vue_export-helper-DJlRxzRH.js";
1
+ import { u as e, i as s, p as a } from "./_plugin-vue_export-helper-CD1RUA2y.js";
2
2
  const t = /* @__PURE__ */ Symbol("shadowRoot");
3
3
  function r() {
4
4
  const o = e();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/epreuves-components",
3
- "version": "4.6.0",
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 { a as r, h as c, o as d, c as i, t as u, q as l, _ as b } from "./_plugin-vue_export-helper-DJlRxzRH.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
- };
@@ -1,53 +0,0 @@
1
- import { a as e, o as n, c as t, b as r } from "./_plugin-vue_export-helper-DJlRxzRH.js";
2
- const i = {
3
- viewBox: "0 0 16 16",
4
- fill: "none"
5
- }, a = ["stroke"], k = /* @__PURE__ */ e({
6
- __name: "Check.ce",
7
- props: {
8
- color: { type: String }
9
- },
10
- setup(o) {
11
- return (s, c) => (n(), t("svg", i, [
12
- r("path", {
13
- d: `
14
- M 3, 8
15
- L 7, 12
16
- L 13, 4
17
- `,
18
- stroke: o.color ? o.color : "#fff",
19
- "stroke-width": "1.5",
20
- "stroke-linecap": "round",
21
- "stroke-linejoin": "round"
22
- }, null, 8, a)
23
- ]));
24
- }
25
- }), l = {
26
- viewBox: "0 0 16 16",
27
- fill: "none"
28
- }, _ = ["stroke"], f = /* @__PURE__ */ e({
29
- __name: "Cross.ce",
30
- props: {
31
- color: { type: String }
32
- },
33
- setup(o) {
34
- return (s, c) => (n(), t("svg", l, [
35
- r("path", {
36
- d: `
37
- M 4, 4
38
- L 12, 12
39
- M 4, 12
40
- L 12, 4
41
- `,
42
- stroke: o.color ? o.color : "#fff",
43
- "stroke-width": "1.5",
44
- "stroke-linecap": "round",
45
- "stroke-linejoin": "round"
46
- }, null, 8, _)
47
- ]));
48
- }
49
- });
50
- export {
51
- k as _,
52
- f as a
53
- };
@@ -1,26 +0,0 @@
1
- import { a as o, o as c, c as s, b as n, q as t, A as i, x as r, _ as d } from "./_plugin-vue_export-helper-DJlRxzRH.js";
2
- const p = {
3
- class: "feedback-container",
4
- "aria-live": "polite"
5
- }, l = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, _ = /* @__PURE__ */ o({
6
- __name: "Feedback.ce",
7
- props: {
8
- title: { type: String }
9
- },
10
- setup(a) {
11
- return (e, k) => (c(), s("div", p, [
12
- n("p", l, [
13
- t(e.$slots, "icon", { class: "icon" }),
14
- t(e.$slots, "title", {}, () => [
15
- i(r(a.title), 1)
16
- ])
17
- ]),
18
- n("p", f, [
19
- t(e.$slots, "content")
20
- ])
21
- ]));
22
- }
23
- }), b = ".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}", g = /* @__PURE__ */ d(_, [["styles", [b]]]);
24
- export {
25
- g as F
26
- };
@@ -1,96 +0,0 @@
1
- import { _ as a, o as s, c as r, b, a as i, t as d, f as n, l as o, x as u, D as h, g as l } from "./_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { L as p } from "./Loading.ce-D7EpPBBD.js";
3
- const f = {}, C = {
4
- height: "1rem",
5
- width: "auto",
6
- "aria-hidden": "true",
7
- role: "img",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- viewBox: "0 0 448 512"
10
- };
11
- function x(t, e) {
12
- return s(), r("svg", C, [...e[0] || (e[0] = [
13
- b("path", {
14
- fill: "currentColor",
15
- d: "M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"
16
- }, null, -1)
17
- ])]);
18
- }
19
- const y = /* @__PURE__ */ a(f, [["render", x]]), v = {}, k = {
20
- width: "24",
21
- height: "24",
22
- viewBox: "0 0 24 24",
23
- fill: "none",
24
- xmlns: "http://www.w3.org/2000/svg"
25
- };
26
- function w(t, e) {
27
- return s(), r("svg", k, [...e[0] || (e[0] = [
28
- b("path", {
29
- d: "M5.88 17.0103C6.73 16.3683 7.676 15.8638 8.718 15.4968C9.76 15.1298 10.8544 14.9463 12.0012 14.9463C13.1481 14.9463 14.2451 15.1328 15.2922 15.5058C16.3394 15.8788 17.282 16.3823 18.12 17.0163C18.6915 16.3289 19.1357 15.5629 19.4527 14.7183C19.7697 13.8734 19.9282 12.9673 19.9282 12C19.9282 9.80717 19.1551 7.93759 17.6087 6.39125C16.0624 4.84492 14.1928 4.07175 12 4.07175C9.80717 4.07175 7.93758 4.84492 6.39125 6.39125C4.84492 7.93759 4.07175 9.80717 4.07175 12C4.07175 12.9633 4.22925 13.8674 4.54425 14.7123C4.85925 15.5569 5.3045 16.3229 5.88 17.0103ZM12 13.0538C11.0007 13.0538 10.1596 12.7133 9.47675 12.0323C8.79375 11.3513 8.45225 10.5112 8.45225 9.512C8.45225 8.51267 8.79375 7.6715 9.47675 6.9885C10.1596 6.30567 11.0007 5.96425 12 5.96425C12.9993 5.96425 13.8404 6.30567 14.5232 6.9885C15.2062 7.6715 15.5477 8.51267 15.5477 9.512C15.5477 10.5112 15.2062 11.3513 14.5232 12.0323C13.8404 12.7133 12.9993 13.0538 12 13.0538ZM11.9995 22.2033C10.5887 22.2033 9.26292 21.9358 8.02225 21.4008C6.78175 20.8658 5.7015 20.1383 4.7815 19.2185C3.86167 18.2985 3.13425 17.2181 2.59925 15.9773C2.06425 14.7363 1.79675 13.4103 1.79675 11.9995C1.79675 10.5887 2.06425 9.26292 2.59925 8.02225C3.13425 6.78175 3.86167 5.7015 4.7815 4.7815C5.7015 3.86167 6.78192 3.13425 8.02275 2.59925C9.26375 2.06425 10.5897 1.79675 12.0005 1.79675C13.4113 1.79675 14.7371 2.06425 15.9777 2.59925C17.2182 3.13425 18.2985 3.86167 19.2185 4.7815C20.1383 5.7015 20.8657 6.78192 21.4008 8.02275C21.9358 9.26375 22.2032 10.5897 22.2032 12.0005C22.2032 13.4113 21.9358 14.7371 21.4008 15.9778C20.8657 17.2183 20.1383 18.2985 19.2185 19.2185C18.2985 20.1383 17.2181 20.8658 15.9773 21.4008C14.7362 21.9358 13.4103 22.2033 11.9995 22.2033ZM12 19.9283C12.8633 19.9283 13.6747 19.8041 14.4342 19.5558C15.1936 19.3074 15.8982 18.9495 16.5482 18.482C15.8904 18.0107 15.1867 17.6518 14.4372 17.4055C13.6877 17.159 12.8753 17.0358 12 17.0358C11.1247 17.0358 10.3132 17.159 9.56575 17.4055C8.81825 17.6518 8.1155 18.0107 7.4575 18.482C8.1075 18.9495 8.81125 19.3074 9.56875 19.5558C10.3262 19.8041 11.1367 19.9283 12 19.9283ZM12 10.9643C12.4173 10.9643 12.7637 10.8265 13.0392 10.551C13.3146 10.2757 13.4523 9.92934 13.4523 9.512C13.4523 9.0945 13.3146 8.74709 13.0392 8.46975C12.7637 8.19242 12.4173 8.05375 12 8.05375C11.5827 8.05375 11.2362 8.19242 10.9607 8.46975C10.6854 8.74709 10.5477 9.0945 10.5477 9.512C10.5477 9.92934 10.6854 10.2757 10.9607 10.551C11.2362 10.8265 11.5827 10.9643 12 10.9643Z",
30
- fill: "white"
31
- }, null, -1)
32
- ])]);
33
- }
34
- const _ = /* @__PURE__ */ a(v, [["render", w]]), M = {}, L = {
35
- width: "11",
36
- height: "18",
37
- viewBox: "0 0 11 18",
38
- fill: "none",
39
- xmlns: "http://www.w3.org/2000/svg"
40
- };
41
- function q(t, e) {
42
- return s(), r("svg", L, [...e[0] || (e[0] = [
43
- b("path", {
44
- d: "M1.98601 18C0.447922 18 0.403919 17.7815 1.32681 16.602L6.60042 10.1796C6.99592 9.69905 7.21568 9.3058 7.21568 8.99997C7.21568 8.65046 6.99592 8.25727 6.60042 7.82039L1.32681 1.39804C0.403919 0.218468 0.447922 0 1.98601 0H2.5134C4.05149 0 4.62282 0.305829 5.54571 1.39804L9.58879 6.29125C11.3028 8.25727 11.3028 9.74273 9.58879 11.7088L5.54571 16.602C4.62282 17.6942 4.05149 18 2.5134 18H1.98601Z",
45
- fill: "white"
46
- }, null, -1)
47
- ])]);
48
- }
49
- const $ = /* @__PURE__ */ a(M, [["render", q]]), z = { class: "avatar" }, B = { class: "bubble" }, Z = ["innerHTML"], N = {
50
- key: 1,
51
- role: "alert",
52
- class: "error"
53
- }, H = {
54
- key: 2,
55
- class: "attachment-label"
56
- }, j = /* @__PURE__ */ i({
57
- __name: "LLMMessage.ce",
58
- props: {
59
- name: { type: String },
60
- message: { type: Object }
61
- },
62
- setup(t) {
63
- const e = t, m = l(() => e.message.direction === "outbound"), g = l(() => {
64
- if (e.message.content)
65
- return e.name ? `<strong>${e.name}</strong> : ${e.message.content}` : e.message.content;
66
- }), c = l(() => e.message.hasError && e.message.errorMessage?.length > 0);
67
- return (E, V) => (s(), r("div", {
68
- class: d(["message", t.message.direction])
69
- }, [
70
- b("span", z, [
71
- m.value ? (s(), n(_, { key: 0 })) : (s(), n($, { key: 1 }))
72
- ]),
73
- t.message.isLoading && !c.value ? (s(), n(p, {
74
- key: 0,
75
- class: "loader"
76
- })) : o("", !0),
77
- b("div", B, [
78
- g.value ? (s(), r("div", {
79
- key: 0,
80
- innerHTML: g.value,
81
- class: "content"
82
- }, null, 8, Z)) : o("", !0),
83
- c.value ? (s(), r("div", N, [
84
- b("p", null, u(t.message.errorMessage), 1)
85
- ])) : o("", !0),
86
- t.message.attachmentName && m.value ? (s(), r("p", H, [
87
- b("span", null, u(t.message.attachmentName), 1),
88
- h(y)
89
- ])) : o("", !0)
90
- ])
91
- ], 2));
92
- }
93
- }), A = ".message{display:flex;width:90%;gap:12px;align-items:start}.message .avatar{align-items:center;aspect-ratio:1/1;background-color:#1c825d;border-radius:8px;display:flex;justify-content:center;margin-top:2px;padding:4px;width:32px;height:32px}.message .loader{margin-top:14px}.message .bubble .content,.message .bubble .error{--background: #efefef;--focus: #0096bfab;--border: #dbdbdb;box-sizing:border-box;font-size:14px;color:#253858;line-height:20px}.message .bubble .content p,.message .bubble .error p{margin:0;word-wrap:break-word}.message .bubble .content h1,.message .bubble .error h1{font-size:1.8em}.message .bubble .content h2,.message .bubble .error h2{font-size:1.4em}.message .bubble .content h3,.message .bubble .error h3{font-size:1.2em}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6{margin-bottom:12px;color:#000}.message .bubble .content strong,.message .bubble .error strong{color:#000}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .content b,.message .bubble .content strong,.message .bubble .content th,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6,.message .bubble .error b,.message .bubble .error strong,.message .bubble .error th{font-weight:600}.message .bubble .content q:before,.message .bubble .error q:before{content:none}.message .bubble .content q:after,.message .bubble .error q:after{content:none}.message .bubble .content blockquote,.message .bubble .error blockquote,.message .bubble .content q,.message .bubble .error q{border-left:4px solid var(--focus);margin:1.5em 0;padding:.5em 1em;font-style:italic}.message .bubble .content blockquote>footer,.message .bubble .error blockquote>footer{font-style:normal;border:0}.message .bubble .content blockquote cite,.message .bubble .error blockquote cite{font-style:normal}.message .bubble .content mark,.message .bubble .error mark{background-color:#ff0;border-radius:2px;padding:0 2px;color:#000}.message .bubble .content code,.message .bubble .error code{background:var(--background);color:#000;padding:2.5px 5px;border-radius:6px;font-size:1em}.message .bubble .content hr,.message .bubble .error hr{border:none;border-top:1px solid var(--border)}.message .bubble .content table,.message .bubble .error table{border-collapse:collapse;margin-bottom:10px;width:100%;table-layout:fixed;border:1px solid #dbdbdb;border-radius:8px}.message .bubble .content table caption,.message .bubble .error table caption{text-align:left}.message .bubble .content td,.message .bubble .content th,.message .bubble .error td,.message .bubble .error th{padding:6px;text-align:left;vertical-align:top;word-wrap:break-word;border-right:1px solid var(--border)}.message .bubble .content thead,.message .bubble .error thead{border-bottom:1px solid var(--border)}.message .bubble .content tfoot,.message .bubble .error tfoot{border-top:1px solid var(--border)}.message .bubble .content tbody tr:nth-child(2n),.message .bubble .error tbody tr:nth-child(2n){background-color:#efefef}.message .bubble .content tbody tr:nth-child(2n) button,.message .bubble .error tbody tr:nth-child(2n) button{background-color:#f7f7f7}.message .bubble .content tbody tr:nth-child(2n) button:hover,.message .bubble .error tbody tr:nth-child(2n) button:hover{background-color:#fff}.message .bubble .content details,.message .bubble .error details{display:flex;flex-direction:column;align-items:flex-start;background-color:#f7f7f7;padding:10px 10px 0;margin:1em 0;border-radius:6px;overflow:hidden}.message .bubble .content details[open],.message .bubble .error details[open]{padding:10px}.message .bubble .content details>:last-child,.message .bubble .error details>:last-child{margin-bottom:0}.message .bubble .content details[open] summary,.message .bubble .error details[open] summary{margin-bottom:10px}.message .bubble .content summary,.message .bubble .error summary{display:list-item;background-color:#efefef;padding:10px;margin:-10px -10px 0;cursor:pointer;outline:none}.message .bubble .content summary:hover,.message .bubble .content summary:focus,.message .bubble .error summary:hover,.message .bubble .error summary:focus{text-decoration:underline}.message .bubble .content details>:not(summary),.message .bubble .error details>:not(summary){margin-top:0}.message .bubble .content summary::-webkit-details-marker,.message .bubble .error summary::-webkit-details-marker{color:#363636}.message .bubble .content ul,.message .bubble .error ul{list-style-type:disc;list-style-position:inside}.message .bubble .content ol,.message .bubble .error ol{list-style-type:decimal}.message .bubble .attachment-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-style:italic;justify-content:end;margin:1rem}.message .bubble .error{color:#952e2e;font-style:italic;font-weight:700}.message.outbound{align-self:end;flex-direction:row-reverse}.message.outbound .avatar{background-color:#957ee8}.message.outbound .bubble{background:#cec3f4;border-radius:16px;padding:8px 16px}", T = /* @__PURE__ */ a(j, [["styles", [A]]]);
94
- export {
95
- T as L
96
- };
@@ -1,4 +0,0 @@
1
- import { d as e } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { F as m } from "../Feedback.ce-CeyQhenY.js";
3
- const o = e(m);
4
- window.customElements.define("pix-feedback", o);