@1024pix/epreuves-components 2.4.3 → 2.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/{ButtonTooltip.ce-CjtFa5aM.js → ButtonTooltip.ce-CZed5BUq.js} +1 -1
- package/dist/{LLMMessage.ce-Cjpb0CiE.js → LLMMessage.ce-FJCO_wvC.js} +2 -2
- package/dist/{Loading.ce-1tk4uU9c.js → Loading.ce-EWTMcywS.js} +1 -1
- package/dist/{NavigationButton.ce-CxI2QW8z.js → NavigationButton.ce-CMbVRJbG.js} +2 -2
- package/dist/{Retry-CY90VQJl.js → Retry-B27znRn6.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DOoVeFcJ.js → _plugin-vue_export-helper-CJxDisp0.js} +1698 -1681
- package/dist/components/calcul-impact.ce.js.js +3 -3
- package/dist/components/capacity-calculation.ce.js.js +4 -4
- package/dist/components/clickable-image.ce.js.js +2 -2
- package/dist/components/complete-phrase.ce.js.js +4 -4
- package/dist/components/flip-cards.ce.js.js +2 -2
- package/dist/components/image-quiz.ce.js.js +3 -3
- 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 +2 -2
- package/dist/components/message-conversation.ce.js.js +61 -60
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +3 -3
- package/dist/components/phishing-notification.ce.js.js +5 -5
- package/dist/components/pix-article.ce.js.js +25 -23
- package/dist/components/pix-carousel.ce.js.js +232 -131
- package/dist/components/pix-cursor.ce.js.js +3 -3
- package/dist/components/qcm-deepfake.ce.js.js +4 -4
- package/dist/components/select-conversation.ce.js.js +4 -4
- package/dist/{i18n-ecSMtuba.js → i18n-Bs7vpvgi.js} +84 -100
- package/dist/{image-quiz.ce-CpI6lZ9m.js → image-quiz.ce-jh8ME9Wm.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{normalize-props-AlmAfi_u.js → normalize-props-BAFlcMqH.js} +6 -2
- package/dist/schema.js +78 -51
- package/dist/shadow-dom-Bs_4iILW.js +9 -0
- package/dist/{temporal.utils-DGOneXL8.js → temporal.utils-DBcWSjWy.js} +4 -4
- package/package.json +1 -1
- package/dist/shadow-dom-DZbyKUWP.js +0 -9
package/dist/schema.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import e from "joi";
|
|
2
|
-
const
|
|
2
|
+
const c = e.object({
|
|
3
3
|
titleLevel: e.number().optional()
|
|
4
|
-
}),
|
|
4
|
+
}), u = e.object({
|
|
5
5
|
titleLevel: e.number().optional(),
|
|
6
6
|
capacityImage: e.string().required()
|
|
7
|
-
}),
|
|
7
|
+
}), d = e.object({
|
|
8
8
|
image: e.object({
|
|
9
9
|
src: e.string().required(),
|
|
10
10
|
alt: e.string().required(),
|
|
@@ -25,7 +25,7 @@ const o = e.object({
|
|
|
25
25
|
info: e.string().required(),
|
|
26
26
|
tooltipPosition: e.string().valid("bottom").optional()
|
|
27
27
|
}).required()).required().min(1)
|
|
28
|
-
}),
|
|
28
|
+
}), l = e.object({
|
|
29
29
|
titleLevel: e.number().optional(),
|
|
30
30
|
listOfProbabilityBarsLists: e.array().items(
|
|
31
31
|
e.array().items(
|
|
@@ -38,7 +38,7 @@ const o = e.object({
|
|
|
38
38
|
userMessage: e.string().required(),
|
|
39
39
|
llmMessage: e.string().required(),
|
|
40
40
|
wordsToAdd: e.array().items(e.string()).required()
|
|
41
|
-
}),
|
|
41
|
+
}), g = e.object({
|
|
42
42
|
titleLevel: e.number().optional(),
|
|
43
43
|
name: e.string().required(),
|
|
44
44
|
cardList: e.array().items(
|
|
@@ -49,7 +49,7 @@ const o = e.object({
|
|
|
49
49
|
image: e.string().required()
|
|
50
50
|
})
|
|
51
51
|
).required()
|
|
52
|
-
}),
|
|
52
|
+
}), s = e.object({
|
|
53
53
|
name: e.string().required(),
|
|
54
54
|
multiple: e.boolean().optional(),
|
|
55
55
|
maxChoicesPerLine: e.number().optional(),
|
|
@@ -65,22 +65,48 @@ const o = e.object({
|
|
|
65
65
|
response: e.string().optional()
|
|
66
66
|
}).required()
|
|
67
67
|
).required()
|
|
68
|
-
}).required(),
|
|
69
|
-
quizzes: e.array().items(
|
|
70
|
-
}).required(),
|
|
68
|
+
}).required(), m = e.object({
|
|
69
|
+
quizzes: e.array().items(s).required()
|
|
70
|
+
}).required(), r = {
|
|
71
|
+
userName: e.string().required(),
|
|
72
|
+
direction: e.string().valid("incoming", "outgoing").required()
|
|
73
|
+
}, i = e.object({
|
|
74
|
+
src: e.string().required(),
|
|
75
|
+
alt: e.string().required()
|
|
76
|
+
}).unknown(!0), q = e.object({
|
|
71
77
|
title: e.string().required(),
|
|
72
|
-
messages: e.array().items(
|
|
73
|
-
e.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
messages: e.array().items(e.object({
|
|
79
|
+
message: e.alternatives().conditional(".type", {
|
|
80
|
+
switch: [
|
|
81
|
+
{
|
|
82
|
+
is: "Texte",
|
|
83
|
+
then: e.object({
|
|
84
|
+
...r,
|
|
85
|
+
type: e.string().valid("Texte").required(),
|
|
86
|
+
content: e.string().required()
|
|
87
|
+
})
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
is: "Texte + Image",
|
|
91
|
+
then: e.object({
|
|
92
|
+
...r,
|
|
93
|
+
type: e.string().valid("Texte + Image").required(),
|
|
94
|
+
content: e.string().required(),
|
|
95
|
+
image: i.required()
|
|
96
|
+
})
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
is: "Image seule",
|
|
100
|
+
then: e.object({
|
|
101
|
+
...r,
|
|
102
|
+
type: e.string().valid("Image seule").required(),
|
|
103
|
+
image: i.required()
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
]
|
|
81
107
|
})
|
|
82
|
-
).required()
|
|
83
|
-
}).required(),
|
|
108
|
+
})).required()
|
|
109
|
+
}).required(), b = e.object({
|
|
84
110
|
titleLevel: e.number().optional(),
|
|
85
111
|
messages: e.array().items(e.object({
|
|
86
112
|
senderName: e.string().required(),
|
|
@@ -90,7 +116,7 @@ const o = e.object({
|
|
|
90
116
|
victory: e.string().required(),
|
|
91
117
|
loose: e.string().required()
|
|
92
118
|
})).required()
|
|
93
|
-
}),
|
|
119
|
+
}), p = e.object({
|
|
94
120
|
notifications: e.array().items(e.object({
|
|
95
121
|
icon: e.string().required(),
|
|
96
122
|
sender: e.string().required(),
|
|
@@ -107,19 +133,19 @@ const o = e.object({
|
|
|
107
133
|
}).required(),
|
|
108
134
|
informationMessage: e.string().required(),
|
|
109
135
|
titleLevel: e.number().optional()
|
|
110
|
-
}),
|
|
136
|
+
}), _ = e.object({
|
|
111
137
|
titleLevel: e.number().optional(),
|
|
112
138
|
title: e.string().required(),
|
|
113
139
|
author: e.string().required(),
|
|
114
140
|
date: e.string().required(),
|
|
115
141
|
paragraphs: e.array().items(e.string().required()),
|
|
116
|
-
highlightedSentence: e.string().
|
|
117
|
-
colorOfHighlightSentence: e.string().
|
|
118
|
-
}),
|
|
142
|
+
highlightedSentence: e.string().optional(),
|
|
143
|
+
colorOfHighlightSentence: e.string().optional()
|
|
144
|
+
}), j = e.object({
|
|
119
145
|
name: e.string().allow("").required(),
|
|
120
146
|
attribution: e.string().allow("").required(),
|
|
121
147
|
url: e.string().allow("").required()
|
|
122
|
-
}),
|
|
148
|
+
}), h = e.object({
|
|
123
149
|
title: e.string().required(),
|
|
124
150
|
description: e.string().allow("").required(),
|
|
125
151
|
displayWidth: e.number().min(0).optional(),
|
|
@@ -127,12 +153,12 @@ const o = e.object({
|
|
|
127
153
|
src: e.string().required(),
|
|
128
154
|
alt: e.string().required()
|
|
129
155
|
}).required(),
|
|
130
|
-
license:
|
|
131
|
-
}),
|
|
156
|
+
license: j.optional()
|
|
157
|
+
}), v = e.object({
|
|
132
158
|
title: e.string().required(),
|
|
133
159
|
description: e.string().allow("").required(),
|
|
134
160
|
text: e.string().required()
|
|
135
|
-
}),
|
|
161
|
+
}), y = e.object({
|
|
136
162
|
title: e.string().required(),
|
|
137
163
|
description: e.string().allow("").required(),
|
|
138
164
|
text: e.string().required(),
|
|
@@ -140,21 +166,22 @@ const o = e.object({
|
|
|
140
166
|
src: e.string().required(),
|
|
141
167
|
alt: e.string().required()
|
|
142
168
|
}).required()
|
|
143
|
-
}),
|
|
169
|
+
}), x = e.object({
|
|
144
170
|
type: e.string().valid("image", "image-text", "text").required(),
|
|
145
171
|
slides: e.alternatives().conditional("type", {
|
|
146
172
|
switch: [
|
|
147
|
-
{ is: "image", then: e.array().items(
|
|
148
|
-
{ is: "image-text", then: e.array().items(
|
|
149
|
-
{ is: "text", then: e.array().items(
|
|
173
|
+
{ is: "image", then: e.array().items(h) },
|
|
174
|
+
{ is: "image-text", then: e.array().items(y) },
|
|
175
|
+
{ is: "text", then: e.array().items(v) }
|
|
150
176
|
]
|
|
151
177
|
}).required(),
|
|
152
178
|
randomSlides: e.boolean().required(),
|
|
153
179
|
titleLevel: e.number().integer().optional(),
|
|
154
180
|
disableAnimation: e.boolean().required(),
|
|
181
|
+
disableStyleAroundImage: e.boolean().optional(),
|
|
155
182
|
enableLoop: e.boolean().optional(),
|
|
156
183
|
imageTextDisplay: e.string().optional()
|
|
157
|
-
}).meta({ title: "pix-carousel" }).required(),
|
|
184
|
+
}).meta({ title: "pix-carousel" }).required(), f = e.object({
|
|
158
185
|
options: e.array().items(e.object({
|
|
159
186
|
label: e.string().required(),
|
|
160
187
|
feedback: e.object({
|
|
@@ -162,43 +189,43 @@ const o = e.object({
|
|
|
162
189
|
text: e.string().required()
|
|
163
190
|
}).required()
|
|
164
191
|
}).required()).required()
|
|
165
|
-
}),
|
|
192
|
+
}), t = e.object({
|
|
166
193
|
title: e.string().required(),
|
|
167
194
|
llmName: e.string().required()
|
|
168
|
-
}).required(),
|
|
195
|
+
}).required(), L = e.object({
|
|
169
196
|
direction: e.string().valid("inbound").required(),
|
|
170
197
|
content: e.string().required()
|
|
171
|
-
}).required(),
|
|
198
|
+
}).required(), w = e.object({
|
|
172
199
|
direction: e.string().valid("outbound").required(),
|
|
173
200
|
content: e.string().required()
|
|
174
|
-
}).required(),
|
|
175
|
-
conversation1:
|
|
176
|
-
conversation2:
|
|
201
|
+
}).required(), I = e.object({
|
|
202
|
+
conversation1: t,
|
|
203
|
+
conversation2: t,
|
|
177
204
|
userName: e.string().required(),
|
|
178
205
|
messages: e.array().items(
|
|
179
|
-
e.alternatives(
|
|
206
|
+
e.alternatives(w, e.array().items(L).min(2).max(2).required())
|
|
180
207
|
).required()
|
|
181
|
-
}).required(),
|
|
208
|
+
}).required(), n = e.object({
|
|
182
209
|
direction: e.string().valid("inbound", "outbound").required(),
|
|
183
210
|
content: e.string().required()
|
|
184
|
-
}),
|
|
185
|
-
messages: e.array().items(
|
|
211
|
+
}), S = e.object({
|
|
212
|
+
messages: e.array().items(n.required()).required()
|
|
186
213
|
}).required(), k = e.object({
|
|
187
214
|
speed: e.number().default(20).min(0).optional(),
|
|
188
|
-
messages: e.array().items(
|
|
215
|
+
messages: e.array().items(n).required(),
|
|
189
216
|
prompts: e.array().items(
|
|
190
217
|
e.object({
|
|
191
218
|
prompt: e.string().required(),
|
|
192
219
|
response: e.string().required()
|
|
193
220
|
}).required()
|
|
194
221
|
).required()
|
|
195
|
-
}).required(),
|
|
222
|
+
}).required(), z = e.object({
|
|
196
223
|
titleLevel: e.number().optional(),
|
|
197
224
|
successImage: e.string().required(),
|
|
198
225
|
failImage: e.string().required(),
|
|
199
226
|
infoImage: e.string().required(),
|
|
200
227
|
searchImage: e.string().required()
|
|
201
|
-
}),
|
|
228
|
+
}), M = e.object({
|
|
202
229
|
titleLevel: e.number().optional(),
|
|
203
230
|
incomingMessage: e.object({
|
|
204
231
|
username: e.string().required(),
|
|
@@ -214,10 +241,10 @@ const o = e.object({
|
|
|
214
241
|
goodIdea: e.boolean().required(),
|
|
215
242
|
feedback: e.string().required()
|
|
216
243
|
})).required()
|
|
217
|
-
}),
|
|
218
|
-
|
|
219
|
-
|
|
244
|
+
}), T = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.schema.js": c, "./capacity-calculation/capacity-calculation.schema.js": u, "./clickable-image/clickable-image.schema.js": d, "./complete-phrase/complete-phrase.schema.js": l, "./flip-cards/flip-cards.schema.js": g, "./image-quiz/image-quiz.schema.js": s, "./image-quiz/image-quizzes.schema.js": m, "./message-conversation/message-conversation.schema.js": q, "./phishing-message/phishing-message.schema.js": b, "./phishing-notification/phishing-notification.schema.js": p, "./pix-article/pix-article.schema.js": _, "./pix-carousel/pix-carousel.schema.js": x, "./pix-cursor/pix-cursor.schema.js": f, "./pix-llm/llm-compare-messages.schema.js": I, "./pix-llm/llm-messages.schema.js": S, "./pix-llm/llm-prompt-select.schema.js": k, "./qcm-deepfake/qcm-deepfake.schema.js": z, "./select-conversation/select-conversation.schema.js": M }), N = Object.fromEntries(Object.entries(T).map(([o, a]) => [
|
|
245
|
+
o.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
|
|
246
|
+
a
|
|
220
247
|
]));
|
|
221
248
|
export {
|
|
222
|
-
|
|
249
|
+
N as schema
|
|
223
250
|
};
|
|
@@ -1052,11 +1052,11 @@ function nr(t, e) {
|
|
|
1052
1052
|
return { quotient: h.divide(t, e), remainder: h.remainder(t, e) };
|
|
1053
1053
|
}
|
|
1054
1054
|
var To, Mo;
|
|
1055
|
-
const j = "slot-epochNanoSeconds", $ = "slot-iso-date", ee = "slot-iso-date-time", ie = "slot-time", M = "slot-calendar", Cs = "slot-date-brand", Ns = "slot-year-month-brand", Os = "slot-month-day-brand", W = "slot-time-zone", Me = "slot-years", Ce = "slot-months", Ye = "slot-weeks", Ne = "slot-days", Oe = "slot-hours", Le = "slot-minutes", Ie = "slot-seconds", Fe = "slot-milliseconds", Re = "slot-microseconds", xe = "slot-nanoseconds", Ls = "date", Is = "ym", Fs = "md", Rs = "time", As = "datetime", Ss = "instant", yt = "original", Et = "timezone-canonical", ia = "timezone-original", tr = "calendar-id", ks = "locale", aa = "options", Ps = /* @__PURE__ */ new WeakMap(), oa = Symbol.for("@@Temporal__GetSlots");
|
|
1055
|
+
const j = "slot-epochNanoSeconds", $ = "slot-iso-date", ee = "slot-iso-date-time", ie = "slot-time", M = "slot-calendar", Cs = "slot-date-brand", Ns = "slot-year-month-brand", Os = "slot-month-day-brand", W = "slot-time-zone", Me = "slot-years", Ce = "slot-months", Ye = "slot-weeks", Ne = "slot-days", Oe = "slot-hours", Le = "slot-minutes", Ie = "slot-seconds", Fe = "slot-milliseconds", Re = "slot-microseconds", xe = "slot-nanoseconds", Ls = "date", Is = "ym", Fs = "md", Rs = "time", As = "datetime", Ss = "instant", yt = "original", Et = "timezone-canonical", ia = "timezone-original", tr = "calendar-id", ks = "locale", aa = "options", Ps = /* @__PURE__ */ new WeakMap(), oa = /* @__PURE__ */ Symbol.for("@@Temporal__GetSlots");
|
|
1056
1056
|
(To = globalThis)[oa] || (To[oa] = function(t) {
|
|
1057
1057
|
return Ps.get(t);
|
|
1058
1058
|
});
|
|
1059
|
-
const Ii = globalThis[oa], sa = Symbol.for("@@Temporal__CreateSlots");
|
|
1059
|
+
const Ii = globalThis[oa], sa = /* @__PURE__ */ Symbol.for("@@Temporal__CreateSlots");
|
|
1060
1060
|
(Mo = globalThis)[sa] || (Mo[sa] = function(t) {
|
|
1061
1061
|
Ps.set(t, /* @__PURE__ */ Object.create(null));
|
|
1062
1062
|
});
|
|
@@ -1505,7 +1505,7 @@ function Sr(t, e) {
|
|
|
1505
1505
|
throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${e}`);
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
|
-
const $n = Symbol("~required~");
|
|
1508
|
+
const $n = /* @__PURE__ */ Symbol("~required~");
|
|
1509
1509
|
function Ge(t, e, n, r, i = []) {
|
|
1510
1510
|
let a = [];
|
|
1511
1511
|
for (let u = 0; u < At.length; u++) {
|
|
@@ -6446,7 +6446,7 @@ function Xd(t) {
|
|
|
6446
6446
|
function Jd(t) {
|
|
6447
6447
|
return R(t = new this(t), t.e + 1, 1);
|
|
6448
6448
|
}
|
|
6449
|
-
E[Symbol.for("nodejs.util.inspect.custom")] = E.toString;
|
|
6449
|
+
E[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = E.toString;
|
|
6450
6450
|
E[Symbol.toStringTag] = "Decimal";
|
|
6451
6451
|
var q = E.constructor = fl(Na);
|
|
6452
6452
|
Ci = new q(Ci);
|
package/package.json
CHANGED