@1024pix/epreuves-components 2.9.0 → 4.0.0
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/Button.ce-CTKrSDrC.js +27 -0
- package/dist/{ButtonTooltip.ce-CIo_7tm0.js → ButtonTooltip.ce-CtHo2Dwx.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-C2TfFGJP.js → Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js} +5 -5
- package/dist/{LLMMessage.ce-y0pOYUCI.js → LLMMessage.ce-Dv4hVX0C.js} +2 -2
- package/dist/{Loading.ce-Cxcx64IX.js → Loading.ce-Bh7-h48F.js} +1 -1
- package/dist/{NavigationButton.ce-DpzmC2Dd.js → NavigationButton.ce-CA1M8sgV.js} +2 -2
- package/dist/PixMailMessage.ce-XPDbJiyC.js +219 -0
- package/dist/Popin.ce-DUQ7-GMT.js +197 -0
- package/dist/{Retry-BYnFnneH.js → Retry-BZf7NJz9.js} +1 -1
- package/dist/Stepper.ce-B1yDelzC.js +27 -0
- package/dist/{_plugin-vue_export-helper-BaC4eJh4.js → _plugin-vue_export-helper-D0N_62VD.js} +29 -28
- package/dist/components/analyse-mails-phishing.ce.js.js +99 -98
- package/dist/components/calcul-impact.ce.js.js +9 -9
- package/dist/components/capacity-calculation.ce.js.js +28 -28
- package/dist/components/clickable-image.ce.js.js +11 -11
- package/dist/components/complete-phrase.ce.js.js +7 -7
- package/dist/components/flip-cards.ce.js.js +5 -5
- package/dist/components/image-quiz.ce.js.js +4 -4
- package/dist/components/image-quizzes.ce.js.js +3 -3
- 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/mdp-classement.ce.js.js +29 -29
- package/dist/components/message-conversation.ce.js.js +5 -5
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +27 -27
- package/dist/components/phishing-notification.ce.js.js +23 -23
- package/dist/components/pix-anonymisation.ce.js.js +83 -87
- package/dist/components/pix-article.ce.js.js +5 -5
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +238 -0
- package/dist/components/pix-cursor.ce.js.js +19 -19
- package/dist/components/pix-mail-message.ce.js.js +11 -0
- package/dist/components/proteger-mail-spam.ce.js.js +129 -0
- package/dist/components/qcm-deepfake.ce.js.js +21 -21
- package/dist/components/quiz-stepper.ce.js.js +8 -7
- package/dist/components/select-conversation.ce.js.js +15 -15
- package/dist/components/template-mail.ce.js.js +49 -151
- package/dist/components/test-top-mdp.ce.js.js +14 -14
- package/dist/components/trouver-mdp-rs.ce.js.js +213 -249
- package/dist/{i18n-BJ6FRipD.js → i18n-ekiZvzf6.js} +9 -9
- package/dist/{i18n-lite-Dn1Iqj1Y.js → i18n-lite-t2jNOu0C.js} +8 -8
- package/dist/{image-quiz.ce-DvpG9mbT.js → image-quiz.ce-DqalWHKw.js} +11 -11
- package/dist/index-BpqxFmwz.js +10 -0
- package/dist/index.js +4 -1
- package/dist/metadata.js +31 -19
- package/dist/nl-Bonww6Q2.js +13 -0
- package/dist/{normalize-props-DtfVI0Xg.js → normalize-props-DH0oPBss.js} +2 -2
- package/dist/props.examples.js +130 -0
- package/dist/schema.js +103 -67
- package/dist/{shadow-dom-Db7VMkC0.js → shadow-dom-C3AZuSZe.js} +1 -1
- package/dist/temporal.utils-7Uvm62ss.js +10926 -0
- package/package.json +3 -2
- package/dist/Button.ce-CkwcReY5.js +0 -18
- package/dist/index-BCutQvmP.js +0 -34
- package/dist/temporal.utils-CotrC6ao.js +0 -14456
package/dist/schema.js
CHANGED
|
@@ -29,12 +29,12 @@ const u = e.object({
|
|
|
29
29
|
correctFeedback: e.string().required(),
|
|
30
30
|
incorrectFeedback: e.string().required()
|
|
31
31
|
}).required()).required()
|
|
32
|
-
}), d = e.object({
|
|
33
|
-
titleLevel: e.number().optional()
|
|
34
32
|
}), l = e.object({
|
|
33
|
+
titleLevel: e.number().optional()
|
|
34
|
+
}), m = e.object({
|
|
35
35
|
titleLevel: e.number().optional(),
|
|
36
36
|
capacityImage: e.string().required()
|
|
37
|
-
}),
|
|
37
|
+
}), g = e.object({
|
|
38
38
|
image: e.object({
|
|
39
39
|
src: e.string().required(),
|
|
40
40
|
alt: e.string().required(),
|
|
@@ -55,7 +55,7 @@ const u = e.object({
|
|
|
55
55
|
info: e.string().required(),
|
|
56
56
|
tooltipPosition: e.string().empty("").valid("bottom").optional()
|
|
57
57
|
}).required()).required().min(1)
|
|
58
|
-
}),
|
|
58
|
+
}), b = e.object({
|
|
59
59
|
titleLevel: e.number().optional(),
|
|
60
60
|
listOfProbabilityBarsLists: e.array().items(
|
|
61
61
|
e.array().items(
|
|
@@ -79,7 +79,7 @@ const u = e.object({
|
|
|
79
79
|
image: e.string().required()
|
|
80
80
|
})
|
|
81
81
|
).required()
|
|
82
|
-
}),
|
|
82
|
+
}), o = e.object({
|
|
83
83
|
name: e.string().required(),
|
|
84
84
|
multiple: e.boolean().optional(),
|
|
85
85
|
context: e.string().optional(),
|
|
@@ -96,24 +96,24 @@ const u = e.object({
|
|
|
96
96
|
response: e.string().empty("").optional()
|
|
97
97
|
}).required()
|
|
98
98
|
).required()
|
|
99
|
-
}).required(), b = e.object({
|
|
100
|
-
quizzes: e.array().items(n).required()
|
|
101
99
|
}).required(), p = e.object({
|
|
100
|
+
quizzes: e.array().items(o).required()
|
|
101
|
+
}).required(), _ = e.object({
|
|
102
102
|
passwords: e.array().items(e.string()).required()
|
|
103
|
-
}),
|
|
103
|
+
}), i = {
|
|
104
104
|
userName: e.string().required(),
|
|
105
105
|
direction: e.string().valid("incoming", "outgoing").required()
|
|
106
|
-
},
|
|
106
|
+
}, t = e.object({
|
|
107
107
|
src: e.string().required(),
|
|
108
108
|
alt: e.string().required()
|
|
109
|
-
}).unknown(!0),
|
|
109
|
+
}).unknown(!0), j = e.object({
|
|
110
110
|
title: e.string().required(),
|
|
111
111
|
messages: e.array().items(e.alternatives().conditional(".type", {
|
|
112
112
|
switch: [
|
|
113
113
|
{
|
|
114
114
|
is: "Texte",
|
|
115
115
|
then: e.object({
|
|
116
|
-
...
|
|
116
|
+
...i,
|
|
117
117
|
type: e.string().valid("Texte").required(),
|
|
118
118
|
content: e.string().required()
|
|
119
119
|
})
|
|
@@ -121,26 +121,26 @@ const u = e.object({
|
|
|
121
121
|
{
|
|
122
122
|
is: "Texte + Image",
|
|
123
123
|
then: e.object({
|
|
124
|
-
...
|
|
124
|
+
...i,
|
|
125
125
|
type: e.string().valid("Texte + Image").required(),
|
|
126
126
|
content: e.string().required(),
|
|
127
|
-
image:
|
|
127
|
+
image: t.required()
|
|
128
128
|
})
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
is: "Image seule",
|
|
132
132
|
then: e.object({
|
|
133
|
-
...
|
|
133
|
+
...i,
|
|
134
134
|
type: e.string().valid("Image seule").required(),
|
|
135
|
-
image:
|
|
135
|
+
image: t.required()
|
|
136
136
|
})
|
|
137
137
|
}
|
|
138
138
|
]
|
|
139
139
|
})).required(),
|
|
140
140
|
animationSpeed: e.number().optional()
|
|
141
|
-
}).required(),
|
|
141
|
+
}).required(), h = e.object({
|
|
142
142
|
titleLevel: e.number().optional()
|
|
143
|
-
}),
|
|
143
|
+
}), v = e.object({
|
|
144
144
|
notifications: e.array().items(e.object({
|
|
145
145
|
icon: e.string().required(),
|
|
146
146
|
sender: e.string().required(),
|
|
@@ -157,17 +157,17 @@ const u = e.object({
|
|
|
157
157
|
}).required(),
|
|
158
158
|
informationMessage: e.string().required(),
|
|
159
159
|
titleLevel: e.number().optional()
|
|
160
|
-
}),
|
|
160
|
+
}), y = e.object({
|
|
161
161
|
content: e.string().required(),
|
|
162
162
|
isAnonymizable: e.boolean().optional()
|
|
163
|
-
}),
|
|
164
|
-
fullSentence: e.array().items(
|
|
163
|
+
}), x = e.object({
|
|
164
|
+
fullSentence: e.array().items(y),
|
|
165
165
|
rephrase: e.string().required(),
|
|
166
166
|
feedback: e.string().required()
|
|
167
|
-
}), x = e.object({
|
|
168
|
-
titleLevel: e.number().optional(),
|
|
169
|
-
steps: e.array().items(y)
|
|
170
167
|
}), f = e.object({
|
|
168
|
+
titleLevel: e.number().optional(),
|
|
169
|
+
steps: e.array().items(x)
|
|
170
|
+
}), w = e.object({
|
|
171
171
|
titleLevel: e.number().optional(),
|
|
172
172
|
title: e.string().required(),
|
|
173
173
|
author: e.string().required(),
|
|
@@ -175,11 +175,11 @@ const u = e.object({
|
|
|
175
175
|
paragraphs: e.array().items(e.string().required()),
|
|
176
176
|
highlightedSentence: e.string().empty("").optional(),
|
|
177
177
|
colorOfHighlightSentence: e.string().empty("").optional()
|
|
178
|
-
}),
|
|
178
|
+
}), L = e.object({
|
|
179
179
|
name: e.string().allow("").required(),
|
|
180
180
|
attribution: e.string().allow("").required(),
|
|
181
181
|
url: e.string().allow("").required()
|
|
182
|
-
}),
|
|
182
|
+
}), k = e.object({
|
|
183
183
|
title: e.string().required(),
|
|
184
184
|
description: e.string().allow("").required(),
|
|
185
185
|
displayWidth: e.number().min(0).optional(),
|
|
@@ -187,12 +187,12 @@ const u = e.object({
|
|
|
187
187
|
src: e.string().required(),
|
|
188
188
|
alt: e.string().allow("").required()
|
|
189
189
|
}).required(),
|
|
190
|
-
license:
|
|
191
|
-
}),
|
|
190
|
+
license: L.optional()
|
|
191
|
+
}), S = e.object({
|
|
192
192
|
title: e.string().required(),
|
|
193
193
|
description: e.string().allow("").required(),
|
|
194
194
|
text: e.string().required()
|
|
195
|
-
}),
|
|
195
|
+
}), I = e.object({
|
|
196
196
|
title: e.string().required(),
|
|
197
197
|
description: e.string().allow("").required(),
|
|
198
198
|
text: e.string().required(),
|
|
@@ -200,13 +200,13 @@ const u = e.object({
|
|
|
200
200
|
src: e.string().required(),
|
|
201
201
|
alt: e.string().allow("").required()
|
|
202
202
|
}).required()
|
|
203
|
-
}),
|
|
203
|
+
}), z = e.object({
|
|
204
204
|
type: e.string().valid("image", "image-text", "text").required(),
|
|
205
205
|
slides: e.alternatives().conditional("type", {
|
|
206
206
|
switch: [
|
|
207
|
-
{ is: "image", then: e.array().items(
|
|
208
|
-
{ is: "image-text", then: e.array().items(
|
|
209
|
-
{ is: "text", then: e.array().items(
|
|
207
|
+
{ is: "image", then: e.array().items(k) },
|
|
208
|
+
{ is: "image-text", then: e.array().items(I) },
|
|
209
|
+
{ is: "text", then: e.array().items(S) }
|
|
210
210
|
]
|
|
211
211
|
}).required(),
|
|
212
212
|
randomSlides: e.boolean().optional(),
|
|
@@ -215,7 +215,9 @@ const u = e.object({
|
|
|
215
215
|
disableStyleAroundImage: e.boolean().optional(),
|
|
216
216
|
enableLoop: e.boolean().optional(),
|
|
217
217
|
imageTextDisplay: e.string().empty("").optional()
|
|
218
|
-
}).meta({ title: "pix-carousel" }).required(),
|
|
218
|
+
}).meta({ title: "pix-carousel" }).required(), A = e.object({
|
|
219
|
+
titleLevel: e.number().optional()
|
|
220
|
+
}), M = e.object({
|
|
219
221
|
options: e.array().items(e.object({
|
|
220
222
|
label: e.string().required(),
|
|
221
223
|
feedback: e.object({
|
|
@@ -223,58 +225,92 @@ const u = e.object({
|
|
|
223
225
|
text: e.string().required()
|
|
224
226
|
}).required()
|
|
225
227
|
}).required()).required()
|
|
226
|
-
}),
|
|
228
|
+
}), n = e.object({
|
|
227
229
|
title: e.string().required(),
|
|
228
230
|
llmName: e.string().required()
|
|
229
|
-
}).required(),
|
|
231
|
+
}).required(), C = e.object({
|
|
230
232
|
direction: e.string().valid("inbound").required(),
|
|
231
233
|
content: e.string().required()
|
|
232
234
|
}).required(), T = e.object({
|
|
233
235
|
direction: e.string().valid("outbound").required(),
|
|
234
236
|
content: e.string().required()
|
|
235
|
-
}).required(),
|
|
236
|
-
conversation1:
|
|
237
|
-
conversation2:
|
|
237
|
+
}).required(), P = e.object({
|
|
238
|
+
conversation1: n,
|
|
239
|
+
conversation2: n,
|
|
238
240
|
userName: e.string().required(),
|
|
239
241
|
messages: e.array().items(
|
|
240
|
-
e.alternatives(T, e.array().items(
|
|
242
|
+
e.alternatives(T, e.array().items(C).min(2).max(2).required())
|
|
241
243
|
).required()
|
|
242
|
-
}).required(),
|
|
244
|
+
}).required(), a = e.object({
|
|
243
245
|
direction: e.string().valid("inbound", "outbound").required(),
|
|
244
246
|
content: e.string().required()
|
|
245
|
-
}),
|
|
246
|
-
messages: e.array().items(
|
|
247
|
-
}).required(),
|
|
247
|
+
}), N = e.object({
|
|
248
|
+
messages: e.array().items(a.required()).required()
|
|
249
|
+
}).required(), O = e.object({
|
|
248
250
|
speed: e.number().default(20).min(0).optional(),
|
|
249
|
-
messages: e.array().items(
|
|
251
|
+
messages: e.array().items(a).required(),
|
|
250
252
|
prompts: e.array().items(
|
|
251
253
|
e.object({
|
|
252
254
|
prompt: e.string().required(),
|
|
253
255
|
response: e.string().required()
|
|
254
256
|
}).required()
|
|
255
257
|
).required()
|
|
256
|
-
}).required(),
|
|
258
|
+
}).required(), r = e.string().valid("enabled", "disabled", "hidden").empty("").optional(), F = e.object({
|
|
259
|
+
title: e.string().required(),
|
|
260
|
+
description: e.string().required(),
|
|
261
|
+
actions: e.object({
|
|
262
|
+
return: r,
|
|
263
|
+
reply: r,
|
|
264
|
+
forward: r,
|
|
265
|
+
menu: r,
|
|
266
|
+
menuActions: e.object({
|
|
267
|
+
reply: r,
|
|
268
|
+
forward: r,
|
|
269
|
+
delete: r,
|
|
270
|
+
blockSender: r,
|
|
271
|
+
markAsUnread: r,
|
|
272
|
+
reportSpam: r
|
|
273
|
+
}).optional()
|
|
274
|
+
}).optional(),
|
|
275
|
+
goodAction: e.string().required(),
|
|
276
|
+
mail: e.object({
|
|
277
|
+
subject: e.string().required(),
|
|
278
|
+
sender: e.object({
|
|
279
|
+
name: e.string().required(),
|
|
280
|
+
address: e.string().required(),
|
|
281
|
+
avatarColor: e.string().empty("").optional()
|
|
282
|
+
}).required(),
|
|
283
|
+
body: e.string().required(),
|
|
284
|
+
time: e.object({
|
|
285
|
+
days: e.number().negative().optional(),
|
|
286
|
+
minutes: e.number().negative().optional()
|
|
287
|
+
}).required()
|
|
288
|
+
}).required()
|
|
289
|
+
}), $ = e.object({
|
|
290
|
+
titleLevel: e.number().optional(),
|
|
291
|
+
steps: e.array().items(F).required()
|
|
292
|
+
}), D = e.object({
|
|
257
293
|
titleLevel: e.number().optional(),
|
|
258
294
|
successImage: e.string().required(),
|
|
259
295
|
failImage: e.string().required(),
|
|
260
296
|
infoImage: e.string().required(),
|
|
261
297
|
searchImage: e.string().required()
|
|
262
|
-
}),
|
|
298
|
+
}), B = e.object({
|
|
263
299
|
success: e.string().required(),
|
|
264
300
|
failed: e.string().required()
|
|
265
301
|
}), s = e.object({
|
|
266
302
|
title: e.string().optional(),
|
|
267
303
|
content: e.string().optional(),
|
|
268
304
|
isGoodAnswer: e.boolean().optional()
|
|
269
|
-
}),
|
|
305
|
+
}), E = e.object({
|
|
270
306
|
question: e.string().required(),
|
|
271
|
-
feedback:
|
|
307
|
+
feedback: B.required(),
|
|
272
308
|
choice1: s.required(),
|
|
273
309
|
choice2: s.required()
|
|
274
|
-
}),
|
|
310
|
+
}), G = e.object({
|
|
275
311
|
titleLevel: e.number().optional(),
|
|
276
|
-
steps: e.array().items(
|
|
277
|
-
}),
|
|
312
|
+
steps: e.array().items(E)
|
|
313
|
+
}), H = e.object({
|
|
278
314
|
titleLevel: e.number().optional(),
|
|
279
315
|
incomingMessage: e.object({
|
|
280
316
|
username: e.string().required(),
|
|
@@ -290,11 +326,11 @@ const u = e.object({
|
|
|
290
326
|
goodIdea: e.boolean().required(),
|
|
291
327
|
feedback: e.string().required()
|
|
292
328
|
})).required()
|
|
293
|
-
}),
|
|
329
|
+
}), J = e.object({
|
|
294
330
|
titleLevel: e.number().optional(),
|
|
295
331
|
subject: e.string().required(),
|
|
296
332
|
mailAddress: e.string().required(),
|
|
297
|
-
avatarColor: e.string().optional(),
|
|
333
|
+
avatarColor: e.string().empty("").optional(),
|
|
298
334
|
expeditor: e.string().required(),
|
|
299
335
|
content: e.string().required(),
|
|
300
336
|
time: e.object({
|
|
@@ -309,34 +345,34 @@ const u = e.object({
|
|
|
309
345
|
minutes: e.number().negative().optional()
|
|
310
346
|
}).required()
|
|
311
347
|
}).optional()
|
|
312
|
-
}),
|
|
348
|
+
}), U = e.object({
|
|
313
349
|
titleLevel: e.number().optional(),
|
|
314
350
|
passwords: e.array().items(e.string().required()).required(),
|
|
315
351
|
expectedPassword: e.string().required()
|
|
316
|
-
}),
|
|
352
|
+
}), W = e.object({
|
|
317
353
|
date: e.string().isoDate().required(),
|
|
318
354
|
content: e.string().required()
|
|
319
|
-
}),
|
|
355
|
+
}), K = e.object({
|
|
320
356
|
userName: e.string().required(),
|
|
321
357
|
tag: e.string().required(),
|
|
322
358
|
bio: e.string().required(),
|
|
323
359
|
location: e.string().required(),
|
|
324
|
-
publications: e.array().items(
|
|
325
|
-
}),
|
|
360
|
+
publications: e.array().items(W).required()
|
|
361
|
+
}), Q = e.object({
|
|
326
362
|
success: e.string().required(),
|
|
327
363
|
failed: e.string().required()
|
|
328
|
-
}),
|
|
364
|
+
}), R = e.object({
|
|
329
365
|
password: e.string().required(),
|
|
330
366
|
user: e.string().required()
|
|
331
|
-
}),
|
|
367
|
+
}), V = e.object({
|
|
332
368
|
titleLevel: e.number().optional(),
|
|
333
|
-
validations:
|
|
334
|
-
feedback:
|
|
335
|
-
userProfile:
|
|
336
|
-
}),
|
|
337
|
-
|
|
338
|
-
|
|
369
|
+
validations: R.required(),
|
|
370
|
+
feedback: Q.required(),
|
|
371
|
+
userProfile: K.required()
|
|
372
|
+
}), X = /* @__PURE__ */ Object.assign({ "./analyse-mails-phishing/analyse-mails-phishing.schema.js": u, "./calcul-impact/calcul-impact.schema.js": l, "./capacity-calculation/capacity-calculation.schema.js": m, "./clickable-image/clickable-image.schema.js": g, "./complete-phrase/complete-phrase.schema.js": b, "./flip-cards/flip-cards.schema.js": q, "./image-quiz/image-quiz.schema.js": o, "./image-quiz/image-quizzes.schema.js": p, "./mdp-classement/mdp-classement.schema.js": _, "./message-conversation/message-conversation.schema.js": j, "./phishing-message/phishing-message.schema.js": h, "./phishing-notification/phishing-notification.schema.js": v, "./pix-anonymisation/pix-anonymisation.schema.js": f, "./pix-article/pix-article.schema.js": w, "./pix-carousel/pix-carousel.schema.js": z, "./pix-combinaisons/pix-combinaisons.schema.js": A, "./pix-cursor/pix-cursor.schema.js": M, "./pix-llm/llm-compare-messages.schema.js": P, "./pix-llm/llm-messages.schema.js": N, "./pix-llm/llm-prompt-select.schema.js": O, "./proteger-mail-spam/proteger-mail-spam.schema.js": $, "./qcm-deepfake/qcm-deepfake.schema.js": D, "./quiz-stepper/quiz-stepper.schema.js": G, "./select-conversation/select-conversation.schema.js": H, "./template-mail/template-mail.schema.js": J, "./test-top-mdp/test-top-mdp.schema.js": U, "./trouver-mdp-rs/trouver-mdp-rs.schema.js": V }), Z = Object.fromEntries(Object.entries(X).map(([c, d]) => [
|
|
373
|
+
c.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
|
|
374
|
+
d
|
|
339
375
|
]));
|
|
340
376
|
export {
|
|
341
|
-
|
|
377
|
+
Z as schema
|
|
342
378
|
};
|