@1024pix/epreuves-components 4.2.0 → 4.3.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-Dvxeebpx.js +31 -0
- package/dist/{ButtonTooltip.ce-BnJlaEqx.js → ButtonTooltip.ce-WwOarMJq.js} +1 -1
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js +53 -0
- package/dist/Feedback.ce-CnZRBGWf.js +26 -0
- package/dist/{FocusManager.ce-DHXwg6WZ.js → FocusManager.ce-Cv3wYF9s.js} +2 -2
- package/dist/{LLMMessage.ce-jLEqjxsl.js → LLMMessage.ce-B7EwoHy2.js} +4 -4
- package/dist/{Loading.ce-DDtlSLlu.js → Loading.ce-Dv2gEjXm.js} +1 -1
- package/dist/{NavigationButton.ce-BnnVUwGr.js → NavigationButton.ce-D8_YC96l.js} +2 -2
- package/dist/{PixMailMessage.ce-oCccQFGV.js → PixMailMessage.ce-TnjyOfiH.js} +141 -137
- package/dist/{Popin.ce-Co12R3C8.js → Popin.ce-BPnBZykQ.js} +3 -3
- package/dist/{Retry-C7C78Wpj.js → Retry-C3g7zhz8.js} +1 -1
- package/dist/{Stepper.ce-Dttf3Dsf.js → Stepper.ce-DEMN02yr.js} +1 -1
- package/dist/{_plugin-vue_export-helper-B-lVMTio.js → _plugin-vue_export-helper-Dz58mCLm.js} +4 -4
- package/dist/components/analyse-mails-phishing.ce.js.js +9 -8
- package/dist/components/button.ce.js.js +4 -0
- package/dist/components/calcul-impact.ce.js.js +8 -8
- package/dist/components/capacity-calculation.ce.js.js +124 -137
- package/dist/components/clickable-image.ce.js.js +1 -1
- package/dist/components/complete-phrase.ce.js.js +12 -12
- package/dist/components/feedback.ce.js.js +4 -0
- package/dist/components/flip-cards.ce.js.js +7 -7
- package/dist/components/image-quiz.ce.js.js +3 -3
- 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 +6 -6
- package/dist/components/mdp-classement.ce.js.js +20 -19
- package/dist/components/message-conversation.ce.js.js +10 -10
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +60 -61
- package/dist/components/phishing-notification.ce.js.js +4 -4
- package/dist/components/pix-anonymisation.ce.js.js +63 -64
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +4 -4
- package/dist/components/pix-combinaisons.ce.js.js +96 -96
- package/dist/components/pix-cursor.ce.js.js +10 -10
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +15 -14
- package/dist/components/qcm-deepfake.ce.js.js +41 -41
- package/dist/components/quiz-stepper.ce.js.js +30 -29
- package/dist/components/select-conversation.ce.js.js +6 -6
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +11 -12
- package/dist/components/trouver-mdp-rs.ce.js.js +97 -96
- package/dist/components/usages-donnees.ce.js.js +183 -0
- package/dist/{i18n-CsT7k7zW.js → i18n-H4HokXDX.js} +1 -1
- package/dist/{i18n-lite-BIJ2LVs6.js → i18n-lite-CzqISEWm.js} +1 -1
- package/dist/{image-quiz.ce-B4NDetit.js → image-quiz.ce-C-iI27gD.js} +2 -2
- package/dist/{index-BaI3Qosp.js → index-BUPiE5WR.js} +1 -1
- package/dist/index.js +2 -1
- package/dist/metadata.js +11 -7
- package/dist/props.examples.js +36 -33
- package/dist/schema.js +38 -29
- package/dist/{shadow-dom-Bouq869n.js → shadow-dom-D54WF-WZ.js} +1 -1
- package/package.json +1 -1
- package/dist/Button.ce-DZ8jDtW5.js +0 -27
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js +0 -75
package/dist/schema.js
CHANGED
|
@@ -200,7 +200,7 @@ const m = e.object({
|
|
|
200
200
|
src: e.string().required(),
|
|
201
201
|
alt: e.string().allow("").required()
|
|
202
202
|
}).required()
|
|
203
|
-
}),
|
|
203
|
+
}), C = e.object({
|
|
204
204
|
type: e.string().valid("image", "image-text", "text").required(),
|
|
205
205
|
slides: e.alternatives().conditional("type", {
|
|
206
206
|
switch: [
|
|
@@ -215,9 +215,9 @@ const m = 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(), T = e.object({
|
|
219
219
|
titleLevel: e.number().optional()
|
|
220
|
-
}),
|
|
220
|
+
}), M = e.object({
|
|
221
221
|
options: e.array().items(e.object({
|
|
222
222
|
label: e.string().required(),
|
|
223
223
|
feedback: e.object({
|
|
@@ -225,7 +225,7 @@ const m = e.object({
|
|
|
225
225
|
text: e.string().required()
|
|
226
226
|
}).required()
|
|
227
227
|
}).required()).required()
|
|
228
|
-
}),
|
|
228
|
+
}), o = e.object({
|
|
229
229
|
title: e.string().required(),
|
|
230
230
|
llmName: e.string().required()
|
|
231
231
|
}).required(), P = e.object({
|
|
@@ -235,8 +235,8 @@ const m = e.object({
|
|
|
235
235
|
direction: e.string().valid("outbound").required(),
|
|
236
236
|
content: e.string().required()
|
|
237
237
|
}).required(), O = e.object({
|
|
238
|
-
conversation1:
|
|
239
|
-
conversation2:
|
|
238
|
+
conversation1: o,
|
|
239
|
+
conversation2: o,
|
|
240
240
|
userName: e.string().required(),
|
|
241
241
|
messages: e.array().items(
|
|
242
242
|
e.alternatives(N, e.array().items(P).min(2).max(2).required())
|
|
@@ -286,31 +286,31 @@ const m = e.object({
|
|
|
286
286
|
minutes: e.number().negative().optional()
|
|
287
287
|
}).required()
|
|
288
288
|
}).required()
|
|
289
|
-
}),
|
|
289
|
+
}), V = e.object({
|
|
290
290
|
titleLevel: e.number().optional(),
|
|
291
291
|
steps: e.array().items(D).required()
|
|
292
|
-
}),
|
|
292
|
+
}), B = e.object({
|
|
293
293
|
titleLevel: e.number().optional(),
|
|
294
294
|
successImage: e.string().required(),
|
|
295
295
|
failImage: e.string().required(),
|
|
296
296
|
infoImage: e.string().required(),
|
|
297
297
|
searchImage: e.string().required()
|
|
298
|
-
}),
|
|
298
|
+
}), E = e.object({
|
|
299
299
|
success: e.string().required(),
|
|
300
300
|
failed: e.string().required()
|
|
301
|
-
}),
|
|
301
|
+
}), n = e.object({
|
|
302
302
|
title: e.string().optional(),
|
|
303
303
|
content: e.string().optional(),
|
|
304
304
|
isGoodAnswer: e.boolean().optional()
|
|
305
|
-
}),
|
|
305
|
+
}), G = e.object({
|
|
306
306
|
question: e.string().required(),
|
|
307
|
-
feedback:
|
|
308
|
-
choice1:
|
|
309
|
-
choice2:
|
|
310
|
-
}),
|
|
307
|
+
feedback: E.required(),
|
|
308
|
+
choice1: n.required(),
|
|
309
|
+
choice2: n.required()
|
|
310
|
+
}), H = e.object({
|
|
311
311
|
titleLevel: e.number().optional(),
|
|
312
|
-
steps: e.array().items(
|
|
313
|
-
}),
|
|
312
|
+
steps: e.array().items(G)
|
|
313
|
+
}), J = e.object({
|
|
314
314
|
titleLevel: e.number().optional(),
|
|
315
315
|
incomingMessage: e.object({
|
|
316
316
|
username: e.string().required(),
|
|
@@ -326,7 +326,7 @@ const m = e.object({
|
|
|
326
326
|
goodIdea: e.boolean().required(),
|
|
327
327
|
feedback: e.string().required()
|
|
328
328
|
})).required()
|
|
329
|
-
}),
|
|
329
|
+
}), U = e.object({
|
|
330
330
|
titleLevel: e.number().optional(),
|
|
331
331
|
subject: e.string().required(),
|
|
332
332
|
mailAddress: e.string().required(),
|
|
@@ -348,7 +348,7 @@ const m = e.object({
|
|
|
348
348
|
}), s = e.object({
|
|
349
349
|
title: e.string().required(),
|
|
350
350
|
content: e.string().required()
|
|
351
|
-
}),
|
|
351
|
+
}), W = e.object({
|
|
352
352
|
titleLevel: e.number().optional(),
|
|
353
353
|
passwords: e.array().items(e.string().required()).required(),
|
|
354
354
|
expectedPassword: e.string().required(),
|
|
@@ -356,33 +356,42 @@ const m = e.object({
|
|
|
356
356
|
success: s.required(),
|
|
357
357
|
failed: s.required()
|
|
358
358
|
}).required()
|
|
359
|
-
}),
|
|
359
|
+
}), K = e.object({
|
|
360
360
|
date: e.string().isoDate().required(),
|
|
361
361
|
content: e.string().required()
|
|
362
|
-
}),
|
|
362
|
+
}), Q = e.object({
|
|
363
363
|
userName: e.string().required(),
|
|
364
364
|
tag: e.string().required(),
|
|
365
365
|
bio: e.string().required(),
|
|
366
366
|
location: e.string().required(),
|
|
367
|
-
publications: e.array().items(
|
|
367
|
+
publications: e.array().items(K).required()
|
|
368
368
|
}), a = e.object({
|
|
369
369
|
title: e.string().required(),
|
|
370
370
|
content: e.string().required()
|
|
371
|
-
}),
|
|
371
|
+
}), R = e.object({
|
|
372
372
|
password: e.string().required(),
|
|
373
373
|
user: e.string().required()
|
|
374
374
|
}), X = e.object({
|
|
375
375
|
titleLevel: e.number().optional(),
|
|
376
|
-
validations:
|
|
376
|
+
validations: R.required(),
|
|
377
377
|
feedback: e.object({
|
|
378
378
|
success: a.required(),
|
|
379
379
|
failed: a.required()
|
|
380
380
|
}).required(),
|
|
381
|
-
userProfile:
|
|
382
|
-
}), Y =
|
|
383
|
-
|
|
384
|
-
|
|
381
|
+
userProfile: Q.required()
|
|
382
|
+
}), Y = e.object({
|
|
383
|
+
localeChoices: e.array().items(e.object({
|
|
384
|
+
label: e.string().required(),
|
|
385
|
+
hasValue: e.boolean().optional()
|
|
386
|
+
})),
|
|
387
|
+
cloudChoices: e.array().items(e.object({
|
|
388
|
+
label: e.string().required(),
|
|
389
|
+
hasValue: e.boolean().optional()
|
|
390
|
+
}))
|
|
391
|
+
}), Z = /* @__PURE__ */ Object.assign({ "./analyse-mails-phishing/analyse-mails-phishing.schema.js": m, "./calcul-impact/calcul-impact.schema.js": g, "./capacity-calculation/capacity-calculation.schema.js": b, "./clickable-image/clickable-image.schema.js": q, "./complete-phrase/complete-phrase.schema.js": p, "./flip-cards/flip-cards.schema.js": _, "./image-quiz/image-quiz.schema.js": c, "./image-quiz/image-quizzes.schema.js": j, "./mdp-classement/mdp-classement.schema.js": h, "./message-conversation/message-conversation.schema.js": v, "./phishing-message/phishing-message.schema.js": y, "./phishing-notification/phishing-notification.schema.js": x, "./pix-anonymisation/pix-anonymisation.schema.js": L, "./pix-article/pix-article.schema.js": k, "./pix-carousel/pix-carousel.schema.js": C, "./pix-combinaisons/pix-combinaisons.schema.js": T, "./pix-cursor/pix-cursor.schema.js": M, "./pix-llm/llm-compare-messages.schema.js": O, "./pix-llm/llm-messages.schema.js": $, "./pix-llm/llm-prompt-select.schema.js": F, "./proteger-mail-spam/proteger-mail-spam.schema.js": V, "./qcm-deepfake/qcm-deepfake.schema.js": B, "./quiz-stepper/quiz-stepper.schema.js": H, "./select-conversation/select-conversation.schema.js": J, "./template-mail/template-mail.schema.js": U, "./test-top-mdp/test-top-mdp.schema.js": W, "./trouver-mdp-rs/trouver-mdp-rs.schema.js": X, "./usages-donnees/usages-donnees.schema.js": Y }), re = Object.fromEntries(Object.entries(Z).map(([l, u]) => [
|
|
392
|
+
l.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
|
|
393
|
+
u
|
|
385
394
|
]));
|
|
386
395
|
export {
|
|
387
|
-
|
|
396
|
+
re as schema
|
|
388
397
|
};
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { b as n, h as r, o as d, c as i, t as c, q as l, _ as u } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
2
|
-
const b = ["aria-disabled"], f = /* @__PURE__ */ n({
|
|
3
|
-
__name: "Button.ce",
|
|
4
|
-
props: {
|
|
5
|
-
isDisabled: { type: Boolean }
|
|
6
|
-
},
|
|
7
|
-
setup(e, { expose: o }) {
|
|
8
|
-
const a = r("button");
|
|
9
|
-
function s(t) {
|
|
10
|
-
e.isDisabled && t.stopPropagation();
|
|
11
|
-
}
|
|
12
|
-
return o({
|
|
13
|
-
buttonElement: a
|
|
14
|
-
}), (t, _) => (d(), i("button", {
|
|
15
|
-
ref: "button",
|
|
16
|
-
onClickCapture: s,
|
|
17
|
-
"aria-disabled": e.isDisabled,
|
|
18
|
-
class: c({ "is-disabled": e.isDisabled }),
|
|
19
|
-
type: "button"
|
|
20
|
-
}, [
|
|
21
|
-
l(t.$slots, "default", {}, void 0, !0)
|
|
22
|
-
], 42, b));
|
|
23
|
-
}
|
|
24
|
-
}), p = "button[data-v-42cff57e]{padding:8px 24px;border-radius:8px;background:#253858;border:none;color:#fff}button[data-v-42cff57e]:hover{cursor:pointer;background:#334d77}button.is-disabled[data-v-42cff57e]{background:#25385880;cursor:not-allowed}", k = /* @__PURE__ */ u(f, [["styles", [p]], ["__scopeId", "data-v-42cff57e"]]);
|
|
25
|
-
export {
|
|
26
|
-
k as B
|
|
27
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { b as s, o as c, c as r, a as n, q as o, E as i, x as d, _ as l } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
2
|
-
const _ = {
|
|
3
|
-
class: "feedback-container",
|
|
4
|
-
"aria-live": "polite"
|
|
5
|
-
}, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */ s({
|
|
6
|
-
__name: "Feedback.ce",
|
|
7
|
-
props: {
|
|
8
|
-
title: { type: String }
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
return (t, a) => (c(), r("div", _, [
|
|
12
|
-
n("p", p, [
|
|
13
|
-
o(t.$slots, "icon", { class: "icon" }),
|
|
14
|
-
o(t.$slots, "title", {}, () => [
|
|
15
|
-
i(d(e.title), 1)
|
|
16
|
-
])
|
|
17
|
-
]),
|
|
18
|
-
n("p", f, [
|
|
19
|
-
o(t.$slots, "content")
|
|
20
|
-
])
|
|
21
|
-
]));
|
|
22
|
-
}
|
|
23
|
-
}), h = ".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}", $ = /* @__PURE__ */ l(k, [["styles", [h]]]), u = {
|
|
24
|
-
viewBox: "0 0 16 16",
|
|
25
|
-
fill: "none"
|
|
26
|
-
}, x = ["stroke"], w = /* @__PURE__ */ s({
|
|
27
|
-
__name: "Check.ce",
|
|
28
|
-
props: {
|
|
29
|
-
color: { type: String }
|
|
30
|
-
},
|
|
31
|
-
setup(e) {
|
|
32
|
-
return (t, a) => (c(), r("svg", u, [
|
|
33
|
-
n("path", {
|
|
34
|
-
d: `
|
|
35
|
-
M 3, 8
|
|
36
|
-
L 7, 12
|
|
37
|
-
L 13, 4
|
|
38
|
-
`,
|
|
39
|
-
stroke: e.color ? e.color : "#fff",
|
|
40
|
-
"stroke-width": "1.5",
|
|
41
|
-
"stroke-linecap": "round",
|
|
42
|
-
"stroke-linejoin": "round"
|
|
43
|
-
}, null, 8, x)
|
|
44
|
-
]));
|
|
45
|
-
}
|
|
46
|
-
}), g = {
|
|
47
|
-
viewBox: "0 0 16 16",
|
|
48
|
-
fill: "none"
|
|
49
|
-
}, b = ["stroke"], y = /* @__PURE__ */ s({
|
|
50
|
-
__name: "Cross.ce",
|
|
51
|
-
props: {
|
|
52
|
-
color: { type: String }
|
|
53
|
-
},
|
|
54
|
-
setup(e) {
|
|
55
|
-
return (t, a) => (c(), r("svg", g, [
|
|
56
|
-
n("path", {
|
|
57
|
-
d: `
|
|
58
|
-
M 4, 4
|
|
59
|
-
L 12, 12
|
|
60
|
-
M 4, 12
|
|
61
|
-
L 12, 4
|
|
62
|
-
`,
|
|
63
|
-
stroke: e.color ? e.color : "#fff",
|
|
64
|
-
"stroke-width": "1.5",
|
|
65
|
-
"stroke-linecap": "round",
|
|
66
|
-
"stroke-linejoin": "round"
|
|
67
|
-
}, null, 8, b)
|
|
68
|
-
]));
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
export {
|
|
72
|
-
$ as F,
|
|
73
|
-
w as _,
|
|
74
|
-
y as a
|
|
75
|
-
};
|