@1024pix/epreuves-components 1.4.2 → 1.4.4
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-BU1wvQqO.js → ImageQuiz.ce-BLOWdEiw.js} +66 -56
- package/dist/{LLMMessage.ce-55YTC7a9.js → LLMMessage.ce-DnZ8kE2i.js} +7 -7
- package/dist/{Loading.ce-BQOiwGj0.js → Loading.ce-FI776zdC.js} +1 -1
- package/dist/{NavigationButton.ce-CgyZHLpi.js → NavigationButton.ce-gp04deGY.js} +8 -8
- package/dist/{_plugin-vue_export-helper-BaT1QC5Q.js → _plugin-vue_export-helper-CwwQJ1m6.js} +6 -6
- package/dist/components/calcul-impact.ce.js.js +12 -12
- package/dist/components/capacity-calculation.ce.js.js +95 -100
- package/dist/components/clickable-image.ce.js.js +1 -1
- package/dist/components/complete-phrase.ce.js.js +8 -8
- package/dist/components/flip-cards.ce.js.js +62 -61
- 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 +11 -11
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +7 -7
- package/dist/components/pix-cursor.ce.js.js +12 -12
- package/dist/components/qcm-deepfake.ce.js.js +120 -124
- package/dist/{i18n-BOk_ejZ-.js → i18n-gncqQJ0G.js} +1 -1
- package/dist/metadata.js +55 -44
- package/dist/schema.js +10 -10
- package/dist/{shadow-dom-CLVtaG5r.js → shadow-dom-MxYtPVXS.js} +1 -1
- package/package.json +1 -1
- package/dist/shuffled-CzcgAL34.js +0 -14
package/dist/metadata.js
CHANGED
|
@@ -1,56 +1,67 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = "accessible";
|
|
2
|
+
const s = "usable", c = {
|
|
3
|
+
accessibility: t,
|
|
2
4
|
isInteractive: !0,
|
|
3
|
-
mobileUsability:
|
|
4
|
-
}, a = "accessible",
|
|
5
|
+
mobileUsability: s
|
|
6
|
+
}, a = "accessible", l = !0, o = "not-recommended", b = {
|
|
5
7
|
accessibility: a,
|
|
6
|
-
isInteractive:
|
|
8
|
+
isInteractive: l,
|
|
7
9
|
mobileUsability: o
|
|
8
|
-
}, n = "not-accessible",
|
|
10
|
+
}, n = "not-accessible", m = !0, _ = "unusable", r = {
|
|
9
11
|
accessibility: n,
|
|
10
|
-
isInteractive:
|
|
11
|
-
mobileUsability:
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}, j = !0, x = "usable", f = {
|
|
12
|
+
isInteractive: m,
|
|
13
|
+
mobileUsability: _
|
|
14
|
+
}, y = "accessible", v = !0, $ = "not-recommended", u = {
|
|
15
|
+
accessibility: y,
|
|
16
|
+
isInteractive: v,
|
|
17
|
+
mobileUsability: $
|
|
18
|
+
}, d = "accessible", I = !0, U = "usable", p = {
|
|
19
|
+
accessibility: d,
|
|
20
|
+
isInteractive: I,
|
|
21
|
+
mobileUsability: U
|
|
22
|
+
}, g = "accessible", j = !0, x = "usable", f = {
|
|
23
|
+
accessibility: g,
|
|
23
24
|
isInteractive: j,
|
|
24
25
|
mobileUsability: x
|
|
25
|
-
}, q =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
}, q = "accessible", z = !0, k = "usable", O = {
|
|
27
|
+
accessibility: q,
|
|
28
|
+
isInteractive: z,
|
|
29
|
+
mobileUsability: k
|
|
30
|
+
}, h = "accessible", E = !1, w = "usable", A = {
|
|
31
|
+
accessibility: h,
|
|
32
|
+
isInteractive: E,
|
|
33
|
+
mobileUsability: w
|
|
34
|
+
}, B = "accessible", C = !1, D = "usable", F = {
|
|
35
|
+
accessibility: B,
|
|
36
|
+
isInteractive: C,
|
|
37
|
+
mobileUsability: D
|
|
38
|
+
}, G = "accessible", H = !0, J = "usable", K = {
|
|
39
|
+
accessibility: G,
|
|
39
40
|
isInteractive: H,
|
|
40
41
|
mobileUsability: J
|
|
41
|
-
}, L =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
}, L = "accessible", M = !0, N = "not-recommended", P = {
|
|
43
|
+
accessibility: L,
|
|
44
|
+
isInteractive: M,
|
|
45
|
+
mobileUsability: N
|
|
46
|
+
}, Q = "accessible", R = !1, S = "unusable", T = {
|
|
47
|
+
accessibility: Q,
|
|
48
|
+
isInteractive: R,
|
|
49
|
+
mobileUsability: S
|
|
50
|
+
}, V = !1, W = "usable", X = {
|
|
51
|
+
isInteractive: V,
|
|
52
|
+
mobileUsability: W
|
|
53
|
+
}, Y = "accessible", Z = !0, ii = "usable", ei = {
|
|
54
|
+
accessibility: Y,
|
|
55
|
+
isInteractive: Z,
|
|
56
|
+
mobileUsability: ii
|
|
57
|
+
}, ti = "accessible", si = !0, ci = "not-recommended", ai = {
|
|
58
|
+
accessibility: ti,
|
|
59
|
+
isInteractive: si,
|
|
60
|
+
mobileUsability: ci
|
|
61
|
+
}, li = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.metadata.json": c, "./capacity-calculation/capacity-calculation.metadata.json": b, "./clickable-image/clickable-image.metadata.json": r, "./complete-phrase/complete-phrase.metadata.json": u, "./flip-cards/flip-cards.metadata.json": p, "./image-quiz/image-quiz.metadata.json": f, "./image-quiz/image-quizzes.metadata.json": O, "./message-conversation/message-conversation.metadata.json": A, "./pix-article/pix-article.metadata.json": F, "./pix-carousel/pix-carousel.metadata.json": K, "./pix-cursor/pix-cursor.metadata.json": P, "./pix-llm/llm-compare-messages.metadata.json": T, "./pix-llm/llm-messages.metadata.json": X, "./pix-llm/llm-prompt-select.metadata.json": ei, "./qcm-deepfake/qcm-deepfake.metadata.json": ai }), oi = Object.fromEntries(Object.entries(li).map(([i, e]) => [
|
|
62
|
+
i.replace(/^.*\/([^/]+)\.metadata\.json$/, "$1"),
|
|
52
63
|
e
|
|
53
64
|
]));
|
|
54
65
|
export {
|
|
55
|
-
|
|
66
|
+
oi as metadata
|
|
56
67
|
};
|
package/dist/schema.js
CHANGED
|
@@ -25,7 +25,7 @@ const o = e.object({
|
|
|
25
25
|
consumptionImg: e.string().required()
|
|
26
26
|
}).required()
|
|
27
27
|
}).required()
|
|
28
|
-
})
|
|
28
|
+
}), c = e.object({
|
|
29
29
|
image: e.object({
|
|
30
30
|
src: e.string().required(),
|
|
31
31
|
alt: e.string().required(),
|
|
@@ -43,7 +43,7 @@ const o = e.object({
|
|
|
43
43
|
info: e.string().required(),
|
|
44
44
|
tooltipPosition: e.string().valid("bottom").optional()
|
|
45
45
|
}).required()).required().min(1)
|
|
46
|
-
})
|
|
46
|
+
}), u = e.object({
|
|
47
47
|
titleLevel: e.number().required(),
|
|
48
48
|
listOfProbabilityBarsLists: e.array().items(
|
|
49
49
|
e.array().items(
|
|
@@ -57,17 +57,17 @@ const o = e.object({
|
|
|
57
57
|
llmMessage: e.string().required(),
|
|
58
58
|
wordsToAdd: e.array().items(e.string()).required()
|
|
59
59
|
}), d = e.object({
|
|
60
|
+
titleLevel: e.number().optional(),
|
|
60
61
|
name: e.string().required(),
|
|
61
62
|
cardList: e.array().items(
|
|
62
63
|
e.object({
|
|
63
64
|
name: e.string().required(),
|
|
64
65
|
description: e.string().required(),
|
|
65
66
|
icon: e.string().required(),
|
|
66
|
-
image: e.string().required()
|
|
67
|
-
titleLevel: e.string()
|
|
67
|
+
image: e.string().required()
|
|
68
68
|
})
|
|
69
69
|
).required()
|
|
70
|
-
})
|
|
70
|
+
}), i = e.object({
|
|
71
71
|
name: e.string().required(),
|
|
72
72
|
multiple: e.boolean().optional(),
|
|
73
73
|
maxChoicesPerLine: e.number().optional(),
|
|
@@ -83,9 +83,9 @@ const o = e.object({
|
|
|
83
83
|
response: e.string().optional()
|
|
84
84
|
}).required()
|
|
85
85
|
).required()
|
|
86
|
-
}).required(), l = e.object({
|
|
87
|
-
quizzes: e.array().items(i).required()
|
|
88
86
|
}).required(), m = e.object({
|
|
87
|
+
quizzes: e.array().items(i).required()
|
|
88
|
+
}).required(), l = e.object({
|
|
89
89
|
title: e.string().required(),
|
|
90
90
|
messages: e.array().items(
|
|
91
91
|
e.object({
|
|
@@ -175,7 +175,7 @@ const o = e.object({
|
|
|
175
175
|
content: e.string().required()
|
|
176
176
|
}), I = e.object({
|
|
177
177
|
messages: e.array().items(t.required()).required()
|
|
178
|
-
}).required(),
|
|
178
|
+
}).required(), w = e.object({
|
|
179
179
|
speed: e.number().default(20).min(0).optional(),
|
|
180
180
|
messages: e.array().items(t).required(),
|
|
181
181
|
prompts: e.array().items(
|
|
@@ -184,13 +184,13 @@ const o = e.object({
|
|
|
184
184
|
response: e.string().required()
|
|
185
185
|
}).required()
|
|
186
186
|
).required()
|
|
187
|
-
}).required(),
|
|
187
|
+
}).required(), f = e.object({
|
|
188
188
|
titleLevel: e.number().optional(),
|
|
189
189
|
successImage: e.string().required(),
|
|
190
190
|
failImage: e.string().required(),
|
|
191
191
|
infoImage: e.string().required(),
|
|
192
192
|
searchImage: e.string().required()
|
|
193
|
-
}), L = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.schema.js": o, "./capacity-calculation/capacity-calculation.schema.js": a, "./clickable-image/clickable-image.schema.js": c, "./complete-phrase/complete-phrase.schema.js": u, "./flip-cards/flip-cards.schema.js": d, "./image-quiz/image-quiz.schema.js": i, "./image-quiz/image-quizzes.schema.js":
|
|
193
|
+
}), L = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.schema.js": o, "./capacity-calculation/capacity-calculation.schema.js": a, "./clickable-image/clickable-image.schema.js": c, "./complete-phrase/complete-phrase.schema.js": u, "./flip-cards/flip-cards.schema.js": d, "./image-quiz/image-quiz.schema.js": i, "./image-quiz/image-quizzes.schema.js": m, "./message-conversation/message-conversation.schema.js": l, "./pix-article/pix-article.schema.js": g, "./pix-carousel/pix-carousel.schema.js": j, "./pix-cursor/pix-cursor.schema.js": h, "./pix-llm/llm-compare-messages.schema.js": x, "./pix-llm/llm-messages.schema.js": I, "./pix-llm/llm-prompt-select.schema.js": w, "./qcm-deepfake/qcm-deepfake.schema.js": f }), S = Object.fromEntries(Object.entries(L).map(([s, n]) => [
|
|
194
194
|
s.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
|
|
195
195
|
n
|
|
196
196
|
]));
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function a(r, e = f) {
|
|
2
|
-
const t = [...r];
|
|
3
|
-
for (let n = t.length - 1; n > 0; n--) {
|
|
4
|
-
const o = e() % (n + 1);
|
|
5
|
-
[t[n], t[o]] = [t[o], t[n]];
|
|
6
|
-
}
|
|
7
|
-
return t;
|
|
8
|
-
}
|
|
9
|
-
function f() {
|
|
10
|
-
return Math.floor(Math.random() * 2 ** 32);
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
a as s
|
|
14
|
-
};
|