@1024pix/epreuves-components 1.1.0 → 1.2.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.
- package/dist/{ImageQuiz.ce-C3ddinUf.js → ImageQuiz.ce-CfYpyofd.js} +1 -1
- package/dist/{LLMMessage.ce-ne2mE_8e.js → LLMMessage.ce-Bb2k233-.js} +5 -5
- package/dist/{Loading.ce-DTWU4eXQ.js → Loading.ce-DKXphIYa.js} +1 -1
- package/dist/{NavigationButton.ce-BPCs1QdC.js → NavigationButton.ce-DWJMfoec.js} +6 -6
- package/dist/_plugin-vue_export-helper-CWFVtOvN.js +4717 -0
- package/dist/components/calcul-impact.ce.js.js +196 -0
- package/dist/components/complete-phrase.ce.js.js +11 -11
- package/dist/components/image-quiz.ce.js.js +2 -2
- package/dist/components/image-quizzes.ce.js.js +2 -2
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +1 -1
- package/dist/components/message-conversation.ce.js.js +61 -58
- package/dist/components/pix-article.ce.js.js +16 -16
- package/dist/components/pix-carousel.ce.js.js +113 -113
- package/dist/components/pix-cursor.ce.js.js +14 -14
- package/dist/components/qcm-deepfake.ce.js.js +42 -42
- package/dist/{i18n-kZiLXTQh.js → i18n-C63rdMbm.js} +1 -1
- package/dist/index.js +1 -0
- package/dist/metadata.js +12 -10
- package/dist/schema.js +29 -23
- package/dist/{shadow-dom-D_4brEqV.js → shadow-dom-DyOx0CmY.js} +1 -1
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-BihDtAH2.js +0 -4324
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as B, r as N,
|
|
1
|
+
import { a as B, r as N, y as I, c as d, o as m, z as b, A as f, B as g, v as y, f as h, m as j, t as z, _ as L, q as p, C as q, D as M, F as k, b as T, e as F } from "./_plugin-vue_export-helper-CWFVtOvN.js";
|
|
2
2
|
function O(i, u = A) {
|
|
3
3
|
const a = [...i];
|
|
4
4
|
for (let n = a.length - 1; n > 0; n--) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as b, c as n, o as t, f as s, a as m,
|
|
2
|
-
import { L as f } from "./Loading.ce-
|
|
1
|
+
import { _ as b, c as n, o as t, f as s, a as m, q as d, v as g, e as r, x as l, g as u, t as p } from "./_plugin-vue_export-helper-CWFVtOvN.js";
|
|
2
|
+
import { L as f } from "./Loading.ce-DKXphIYa.js";
|
|
3
3
|
const h = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -46,7 +46,7 @@ function $(o, e) {
|
|
|
46
46
|
}, null, -1)
|
|
47
47
|
])]);
|
|
48
48
|
}
|
|
49
|
-
const z = /* @__PURE__ */ b(L, [["render", $]]),
|
|
49
|
+
const z = /* @__PURE__ */ b(L, [["render", $]]), q = { class: "avatar" }, B = { class: "bubble" }, Z = ["innerHTML"], N = {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: "attachment-label"
|
|
52
52
|
}, H = /* @__PURE__ */ m({
|
|
@@ -63,14 +63,14 @@ const z = /* @__PURE__ */ b(L, [["render", $]]), B = { class: "avatar" }, q = {
|
|
|
63
63
|
return (a, A) => (t(), n("div", {
|
|
64
64
|
class: g(["message", a.message.direction])
|
|
65
65
|
}, [
|
|
66
|
-
s("span",
|
|
66
|
+
s("span", q, [
|
|
67
67
|
c.value ? (t(), r(k, { key: 0 })) : (t(), r(z, { key: 1 }))
|
|
68
68
|
]),
|
|
69
69
|
a.message.isLoading ? (t(), r(f, {
|
|
70
70
|
key: 0,
|
|
71
71
|
class: "loader"
|
|
72
72
|
})) : l("", !0),
|
|
73
|
-
s("div",
|
|
73
|
+
s("div", B, [
|
|
74
74
|
i.value ? (t(), n("div", {
|
|
75
75
|
key: 0,
|
|
76
76
|
innerHTML: i.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-CWFVtOvN.js";
|
|
2
2
|
const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media (prefers-reduced-motion: reduce){.loader{display:none}}", t = {}, d = {
|
|
3
3
|
class: "loader",
|
|
4
4
|
role: "alert"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as f, r as g,
|
|
1
|
+
import { a as f, r as g, y as w, c as h, o as i, f as l, v as C, B as b, t as m, m as x, A as y, H as _, _ as s, e as c, I as k } from "./_plugin-vue_export-helper-CWFVtOvN.js";
|
|
2
2
|
const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "aria-disabled"], z = /* @__PURE__ */ f({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
@@ -45,7 +45,7 @@ const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "a
|
|
|
45
45
|
viewBox: "0 0 16 16",
|
|
46
46
|
fill: "inherit"
|
|
47
47
|
};
|
|
48
|
-
function
|
|
48
|
+
function A(a, t) {
|
|
49
49
|
return i(), h("svg", P, [...t[0] || (t[0] = [
|
|
50
50
|
l("path", {
|
|
51
51
|
d: "M10.5642 8.75826H3.28958C3.07681 8.75826 2.89719 8.68509 2.75075 8.53875C2.60442 8.39231 2.53125 8.2127 2.53125 7.99992C2.53125 7.78714 2.60442 7.60753 2.75075 7.46109C2.89719 7.31475 3.07681 7.24159 3.28958 7.24159H10.5642L7.45292 4.13042C7.30103 3.97842 7.22719 3.80025 7.23142 3.59592C7.23564 3.39159 7.31369 3.21348 7.46558 3.06159C7.61758 2.9207 7.79575 2.84814 8.00008 2.84392C8.20442 2.8397 8.38258 2.91353 8.53458 3.06542L12.9346 7.46542C13.0091 7.54009 13.0636 7.62298 13.0981 7.71409C13.1325 7.80509 13.1498 7.90037 13.1498 7.99992C13.1498 8.09948 13.1325 8.19475 13.0981 8.28575C13.0636 8.37687 13.0091 8.45975 12.9346 8.53442L8.53058 12.9383C8.38703 13.0818 8.21164 13.1536 8.00442 13.1536C7.79719 13.1536 7.61758 13.0818 7.46558 12.9383C7.31369 12.7864 7.23775 12.6061 7.23775 12.3976C7.23775 12.189 7.31369 12.0088 7.46558 11.8568L10.5642 8.75826Z",
|
|
@@ -53,7 +53,7 @@ function N(a, t) {
|
|
|
53
53
|
}, null, -1)
|
|
54
54
|
])]);
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const N = /* @__PURE__ */ s(M, [["render", A]]), Y = {}, T = {
|
|
57
57
|
xmlns: "http://www.w3.org/2000/svg",
|
|
58
58
|
width: "16",
|
|
59
59
|
height: "16",
|
|
@@ -68,7 +68,7 @@ function F(a, t) {
|
|
|
68
68
|
}, null, -1)
|
|
69
69
|
])]);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const I = /* @__PURE__ */ s(Y, [["render", F]]), Z = /* @__PURE__ */ f({
|
|
72
72
|
__name: "NavigationButton.ce",
|
|
73
73
|
props: {
|
|
74
74
|
disabled: { type: Boolean },
|
|
@@ -86,12 +86,12 @@ const Z = /* @__PURE__ */ s(A, [["render", F]]), j = /* @__PURE__ */ f({
|
|
|
86
86
|
disabled: t.disabled
|
|
87
87
|
}, {
|
|
88
88
|
default: k(() => [
|
|
89
|
-
t.direction === "next" ? (i(), c(
|
|
89
|
+
t.direction === "next" ? (i(), c(N, { key: 0 })) : (i(), c(I, { key: 1 }))
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["tooltip-position", "label", "disabled"]));
|
|
93
93
|
}
|
|
94
|
-
}),
|
|
94
|
+
}), j = "*{--pix-neutral-800: #253858;color:var(--pix-neutral-800)}.button{border-radius:100%;padding:4px;width:32px;height:32px;background:transparent;border:1px var(--pix-neutral-800) solid;aspect-ratio:1/1;fill:var(--pix-neutral-800);display:flex;align-items:center;justify-content:center}.button:hover{background:#c3d0ff}.button:active{background:#cdd1d9}", E = /* @__PURE__ */ s(Z, [["styles", [j]]]);
|
|
95
95
|
export {
|
|
96
96
|
H as B,
|
|
97
97
|
E as N
|