@1024pix/epreuves-components 4.0.2 → 4.2.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-CIdOR7Ut.js → Button.ce-DZ8jDtW5.js} +1 -1
- package/dist/{ButtonTooltip.ce-DcDedpxX.js → ButtonTooltip.ce-BnJlaEqx.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js → Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js} +16 -14
- package/dist/{FocusManager.ce-B9q14nBB.js → FocusManager.ce-DHXwg6WZ.js} +2 -2
- package/dist/{LLMMessage.ce-m7gAgj3M.js → LLMMessage.ce-jLEqjxsl.js} +2 -2
- package/dist/{Loading.ce-Diq78Qvm.js → Loading.ce-DDtlSLlu.js} +1 -1
- package/dist/{NavigationButton.ce-CgVczgG8.js → NavigationButton.ce-BnnVUwGr.js} +2 -2
- package/dist/{PixMailMessage.ce-CI8R0PnN.js → PixMailMessage.ce-oCccQFGV.js} +33 -33
- package/dist/{Popin.ce-BczgRCZ5.js → Popin.ce-Co12R3C8.js} +33 -25
- package/dist/{Retry-vIN7ZGdK.js → Retry-C7C78Wpj.js} +1 -1
- package/dist/{Stepper.ce-DwjG4jda.js → Stepper.ce-Dttf3Dsf.js} +1 -1
- package/dist/{_plugin-vue_export-helper-VRfPs3B6.js → _plugin-vue_export-helper-B-lVMTio.js} +1224 -1192
- package/dist/components/analyse-mails-phishing.ce.js.js +5 -5
- package/dist/components/calcul-impact.ce.js.js +2 -2
- package/dist/components/capacity-calculation.ce.js.js +3 -3
- package/dist/components/clickable-image.ce.js.js +1 -1
- package/dist/components/complete-phrase.ce.js.js +3 -3
- package/dist/components/flip-cards.ce.js.js +1 -1
- 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 +1 -1
- package/dist/components/mdp-classement.ce.js.js +5 -5
- package/dist/components/message-conversation.ce.js.js +2 -2
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +2 -2
- package/dist/components/phishing-notification.ce.js.js +3 -3
- package/dist/components/pix-anonymisation.ce.js.js +79 -84
- 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 +85 -85
- package/dist/components/pix-cursor.ce.js.js +3 -3
- package/dist/components/pix-mail-message.ce.js.js +4 -4
- package/dist/components/proteger-mail-spam.ce.js.js +46 -46
- package/dist/components/qcm-deepfake.ce.js.js +3 -3
- package/dist/components/quiz-stepper.ce.js.js +5 -5
- package/dist/components/select-conversation.ce.js.js +2 -2
- package/dist/components/template-mail.ce.js.js +4 -4
- package/dist/components/test-top-mdp.ce.js.js +86 -79
- package/dist/components/trouver-mdp-rs.ce.js.js +297 -283
- package/dist/{i18n-C-9bWDxP.js → i18n-CsT7k7zW.js} +124 -113
- package/dist/{i18n-lite-CZIis7T7.js → i18n-lite-BIJ2LVs6.js} +19 -12
- package/dist/{image-quiz.ce-COX8VOUE.js → image-quiz.ce-B4NDetit.js} +49 -44
- package/dist/{index-DgWpXIzq.js → index-BaI3Qosp.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/nl-euPrf5s3.js +21 -0
- package/dist/props.examples.js +13 -13
- package/dist/schema.js +77 -67
- package/dist/{shadow-dom-5ECgVh4w.js → shadow-dom-Bouq869n.js} +1 -1
- package/package.json +1 -1
- package/dist/nl-Bonww6Q2.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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
2
|
const b = ["aria-disabled"], f = /* @__PURE__ */ n({
|
|
3
3
|
__name: "Button.ce",
|
|
4
4
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as f, s as u, h as v, o as w, c as g, a as n, t as m, v as s, x, m as y, y as k, q as z, r as B, _ as $ } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { b as f, s as u, h as v, o as w, c as g, a as n, t as m, v as s, x, m as y, y as k, q as z, r as B, _ as $ } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
2
2
|
const C = { class: "tooltip-container" }, S = ["id"], T = ["aria-labelledby", "aria-disabled"], Y = /* @__PURE__ */ f({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { b as
|
|
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
2
|
const _ = {
|
|
3
3
|
class: "feedback-container",
|
|
4
4
|
"aria-live": "polite"
|
|
5
|
-
}, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */
|
|
5
|
+
}, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */ s({
|
|
6
6
|
__name: "Feedback.ce",
|
|
7
7
|
props: {
|
|
8
8
|
title: { type: String }
|
|
9
9
|
},
|
|
10
10
|
setup(e) {
|
|
11
|
-
return (t,
|
|
11
|
+
return (t, a) => (c(), r("div", _, [
|
|
12
12
|
n("p", p, [
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
o(t.$slots, "icon", { class: "icon" }),
|
|
14
|
+
o(t.$slots, "title", {}, () => [
|
|
15
|
+
i(d(e.title), 1)
|
|
16
|
+
])
|
|
15
17
|
]),
|
|
16
18
|
n("p", f, [
|
|
17
|
-
|
|
19
|
+
o(t.$slots, "content")
|
|
18
20
|
])
|
|
19
21
|
]));
|
|
20
22
|
}
|
|
21
|
-
}), 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}",
|
|
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 = {
|
|
22
24
|
viewBox: "0 0 16 16",
|
|
23
25
|
fill: "none"
|
|
24
|
-
}, x = ["stroke"],
|
|
26
|
+
}, x = ["stroke"], w = /* @__PURE__ */ s({
|
|
25
27
|
__name: "Check.ce",
|
|
26
28
|
props: {
|
|
27
29
|
color: { type: String }
|
|
28
30
|
},
|
|
29
31
|
setup(e) {
|
|
30
|
-
return (t,
|
|
32
|
+
return (t, a) => (c(), r("svg", u, [
|
|
31
33
|
n("path", {
|
|
32
34
|
d: `
|
|
33
35
|
M 3, 8
|
|
@@ -44,13 +46,13 @@ const _ = {
|
|
|
44
46
|
}), g = {
|
|
45
47
|
viewBox: "0 0 16 16",
|
|
46
48
|
fill: "none"
|
|
47
|
-
}, b = ["stroke"],
|
|
49
|
+
}, b = ["stroke"], y = /* @__PURE__ */ s({
|
|
48
50
|
__name: "Cross.ce",
|
|
49
51
|
props: {
|
|
50
52
|
color: { type: String }
|
|
51
53
|
},
|
|
52
54
|
setup(e) {
|
|
53
|
-
return (t,
|
|
55
|
+
return (t, a) => (c(), r("svg", g, [
|
|
54
56
|
n("path", {
|
|
55
57
|
d: `
|
|
56
58
|
M 4, 4
|
|
@@ -67,7 +69,7 @@ const _ = {
|
|
|
67
69
|
}
|
|
68
70
|
});
|
|
69
71
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
$ as F,
|
|
73
|
+
w as _,
|
|
74
|
+
y as a
|
|
73
75
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as L } from "./shadow-dom-
|
|
2
|
-
import { _ as P, h as M, j as R, k as H, n as N, o as l, c, l as d, a as j, q, r as F, g as I } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { u as L } from "./shadow-dom-Bouq869n.js";
|
|
2
|
+
import { _ as P, h as M, j as R, k as H, n as N, o as l, c, l as d, a as j, q, r as F, g as I } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
3
3
|
const $ = ".sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}", Y = ["tabindex"], z = ["tabindex"], D = {
|
|
4
4
|
__name: "FocusManager.ce",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a, o as s, c as r, a as b, b as i, t as d, f as n, l as o, x as u, C as h, g as l } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { L as p } from "./Loading.ce-
|
|
1
|
+
import { _ as a, o as s, c as r, a as b, b as i, t as d, f as n, l as o, x as u, C as h, g as l } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
2
|
+
import { L as p } from "./Loading.ce-DDtlSLlu.js";
|
|
3
3
|
const f = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, o as a, c as r, a as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, o as a, c as r, a as s } from "./_plugin-vue_export-helper-B-lVMTio.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-path:inset(50%);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,5 +1,5 @@
|
|
|
1
|
-
import { B as a } from "./ButtonTooltip.ce-
|
|
2
|
-
import { _ as o, o as i, c as l, a as s, b as c, f as n, D as d } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { B as a } from "./ButtonTooltip.ce-BnJlaEqx.js";
|
|
2
|
+
import { _ as o, o as i, c as l, a as s, b as c, f as n, D as d } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
3
3
|
const C = {}, p = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
width: "16",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as B, i as A } from "./i18n-lite-
|
|
1
|
+
import { u as B, i as A } from "./i18n-lite-BIJ2LVs6.js";
|
|
2
2
|
import { r as D } from "./temporal.utils-DgmGPVba.js";
|
|
3
|
-
import { p as T } from "./shadow-dom-
|
|
4
|
-
import { b as k, k as _, G as j, o, c as n, a as e, y, q as z, C as M, D as L, F as S, e as I, N, x as d, r as V, _ as $, h as Z, B as E, v as p, l as m, f as q, E as F, g as C } from "./_plugin-vue_export-helper-
|
|
5
|
-
import { F as P } from "./FocusManager.ce-
|
|
3
|
+
import { p as T } from "./shadow-dom-Bouq869n.js";
|
|
4
|
+
import { b as k, k as _, G as j, o, c as n, a as e, y, q as z, C as M, D as L, F as S, e as I, N, x as d, r as V, _ as $, h as Z, B as E, v as p, l as m, f as q, E as F, g as C } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
5
|
+
import { F as P } from "./FocusManager.ce-DHXwg6WZ.js";
|
|
6
6
|
const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%2010%202'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='1'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='5'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='9'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3c/svg%3e", U = "data:image/svg+xml,%3csvg%20width='18'%20height='16'%20viewBox='0%200%2018%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.75%206.28086H11.95C18.35%206.28086%2018.35%2014.9722%2011.95%2014.9722M0.75%206.28086L6.35%200.75M0.75%206.28086L6.35%2011.8117'%20stroke='%23122647'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.42885%202.85715L10.8574%206.28572L7.42885%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M0.571569%2013.1429V10.8571C0.571569%209.64473%201.0532%208.48197%201.91051%207.62466C2.76782%206.76735%203.93058%206.28572%205.143%206.28572H10.8573M12.0001%202.85715L15.4287%206.28572L12.0001%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", G = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", K = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.5%207.5H13.5C13.6326%207.5%2013.7598%207.55268%2013.8536%207.64645C13.9473%207.74021%2014%207.86739%2014%208C14%208.13261%2013.9473%208.25979%2013.8536%208.35355C13.7598%208.44732%2013.6326%208.5%2013.5%208.5H3.5C3.36739%208.5%203.24021%208.44732%203.14645%208.35355C3.05268%208.25979%203%208.13261%203%208C3%207.86739%203.05268%207.74021%203.14645%207.64645C3.24021%207.55268%203.36739%207.5%203.5%207.5Z'%20fill='black'/%3e%3cpath%20d='M3.70704%208.00002L7.85404%2012.146C7.94793%2012.2399%208.00067%2012.3672%208.00067%2012.5C8.00067%2012.6328%207.94793%2012.7601%207.85404%2012.854C7.76015%2012.9479%207.63281%2013.0007%207.50004%2013.0007C7.36726%2013.0007%207.23993%2012.9479%207.14604%2012.854L2.64604%208.35402C2.59948%208.30758%202.56253%208.2524%202.53733%208.19165C2.51212%208.13091%202.49915%208.06579%202.49915%208.00002C2.49915%207.93425%202.51212%207.86913%202.53733%207.80839C2.56253%207.74764%202.59948%207.69247%202.64604%207.64602L7.14604%203.14602C7.23993%203.05213%207.36726%202.99939%207.50004%202.99939C7.63281%202.99939%207.76015%203.05213%207.85404%203.14602C7.94793%203.23991%208.00067%203.36725%208.00067%203.50002C8.00067%203.6328%207.94793%203.76013%207.85404%203.85402L3.70704%208.00002Z'%20fill='black'/%3e%3c/svg%3e", X = { class: "popup-menu" }, J = ["aria-expanded", "aria-disabled"], Q = { class: "popup-menu__list" }, W = ["aria-disabled", "onClick"], Y = /* @__PURE__ */ k({
|
|
7
7
|
__name: "PopupMenu.ce",
|
|
8
8
|
props: {
|
|
@@ -10,16 +10,16 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
10
10
|
disabled: { type: Boolean }
|
|
11
11
|
},
|
|
12
12
|
emits: ["select"],
|
|
13
|
-
setup(a, { emit:
|
|
14
|
-
const
|
|
13
|
+
setup(a, { emit: f }) {
|
|
14
|
+
const r = f, l = V(!1);
|
|
15
15
|
function h() {
|
|
16
16
|
a.disabled || (l.value = !l.value);
|
|
17
17
|
}
|
|
18
18
|
function v() {
|
|
19
19
|
l.value = !1;
|
|
20
20
|
}
|
|
21
|
-
function x(
|
|
22
|
-
|
|
21
|
+
function x(c, g) {
|
|
22
|
+
g || (v(), r("select", c));
|
|
23
23
|
}
|
|
24
24
|
function u() {
|
|
25
25
|
v();
|
|
@@ -28,7 +28,7 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
28
28
|
document.addEventListener("click", u);
|
|
29
29
|
}), j(() => {
|
|
30
30
|
document.removeEventListener("click", u);
|
|
31
|
-
}), (
|
|
31
|
+
}), (c, g) => (o(), n("div", X, [
|
|
32
32
|
e("button", {
|
|
33
33
|
class: "popup-menu__button",
|
|
34
34
|
"aria-expanded": l.value,
|
|
@@ -36,7 +36,7 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
36
36
|
"aria-disabled": !!a.disabled,
|
|
37
37
|
onClick: y(h, ["stop"])
|
|
38
38
|
}, [
|
|
39
|
-
z(
|
|
39
|
+
z(c.$slots, "default", {}, void 0, !0)
|
|
40
40
|
], 8, J),
|
|
41
41
|
M(P, { "is-visible": l.value }, {
|
|
42
42
|
default: L(() => [
|
|
@@ -72,8 +72,8 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
setup(a) {
|
|
75
|
-
return (
|
|
76
|
-
|
|
75
|
+
return (f, r) => (o(), n("svg", ta, [
|
|
76
|
+
r[0] || (r[0] = e("path", {
|
|
77
77
|
d: "M9 33.5484C9.02496 31.6445 9.79268 29.8271 11.1371 28.4893C12.4815 27.1515 14.2944 26.4009 16.1837 26.3999H24.8163C26.7056 26.4009 28.5185 27.1515 29.8629 28.4893C31.2073 29.8271 31.975 31.6445 32 33.5484C28.8446 36.4141 24.7476 38 20.5 38C16.2524 38 12.1554 36.4141 9 33.5484ZM26.9744 15.525C26.9744 16.8155 26.5947 18.077 25.8833 19.1501C25.1719 20.2231 24.1607 21.0594 22.9776 21.5533C21.7946 22.0471 20.4928 22.1763 19.2369 21.9246C17.981 21.6728 16.8274 21.0514 15.9219 20.1388C15.0164 19.2263 14.3998 18.0637 14.15 16.7979C13.9002 15.5322 14.0284 14.2203 14.5184 13.028C15.0085 11.8357 15.8383 10.8166 16.903 10.0997C17.9677 9.38268 19.2195 9 20.5 9C22.2171 9 23.8639 9.68745 25.0781 10.9111C26.2923 12.1348 26.9744 13.7944 26.9744 15.525Z",
|
|
78
78
|
fill: "white"
|
|
79
79
|
}, null, -1)),
|
|
@@ -83,7 +83,7 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
83
83
|
}, null, 8, ia)
|
|
84
84
|
]));
|
|
85
85
|
}
|
|
86
|
-
}, oa = { class: "container" }, sa = { class: "nav" }, na = ["aria-disabled"], la = ["src"],
|
|
86
|
+
}, oa = { class: "container" }, sa = { class: "nav" }, na = ["aria-disabled"], la = ["src"], ra = { class: "sr-only" }, ca = ["aria-disabled"], ba = ["src"], va = { class: "sr-only-mobile" }, ua = ["aria-disabled"], pa = ["src"], ma = { class: "sr-only-mobile" }, fa = ["src"], ga = { class: "sr-only" }, ha = { class: "header" }, xa = ["aria-level"], Ca = { class: "date" }, wa = { class: "expeditor" }, ya = ["aria-level"], ka = { class: "expeditor-mail" }, _a = { class: "recipient" }, Ma = ["aria-label"], La = ["src"], $a = ["innerHTML"], Ha = {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "previous-message"
|
|
89
89
|
}, Ba = { class: "previous-message__header" }, Aa = ["innerHTML"], Da = /* @__PURE__ */ k({
|
|
@@ -94,8 +94,8 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
94
94
|
mail: { type: Object }
|
|
95
95
|
},
|
|
96
96
|
emits: ["action"],
|
|
97
|
-
setup(a, { emit:
|
|
98
|
-
const
|
|
97
|
+
setup(a, { emit: f }) {
|
|
98
|
+
const r = f;
|
|
99
99
|
T();
|
|
100
100
|
const { t: l } = B(), h = Z("content"), v = [
|
|
101
101
|
"reply",
|
|
@@ -113,8 +113,8 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
113
113
|
);
|
|
114
114
|
function u() {
|
|
115
115
|
h.value.querySelectorAll("a").forEach((i) => {
|
|
116
|
-
i.addEventListener("click", (
|
|
117
|
-
|
|
116
|
+
i.addEventListener("click", (b) => {
|
|
117
|
+
b.preventDefault();
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -123,15 +123,15 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
123
123
|
}), E(() => {
|
|
124
124
|
u();
|
|
125
125
|
});
|
|
126
|
-
function
|
|
127
|
-
a.actions?.[t] !== "disabled" &&
|
|
126
|
+
function c(t) {
|
|
127
|
+
a.actions?.[t] !== "disabled" && r("action", t);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
(a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "disabled" &&
|
|
129
|
+
function g(t) {
|
|
130
|
+
(a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "disabled" && r("action", t);
|
|
131
131
|
}
|
|
132
132
|
function s(t, i) {
|
|
133
|
-
const
|
|
134
|
-
return new Intl.DateTimeFormat(A.language, i).format(
|
|
133
|
+
const b = D(t);
|
|
134
|
+
return new Intl.DateTimeFormat(A.language, i).format(b);
|
|
135
135
|
}
|
|
136
136
|
const w = C(() => s(a.mail.time, {
|
|
137
137
|
weekday: "short",
|
|
@@ -162,30 +162,30 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
162
162
|
key: 0,
|
|
163
163
|
"aria-disabled": a.actions?.return === "disabled",
|
|
164
164
|
class: "back-button",
|
|
165
|
-
onClick: i[0] || (i[0] = (
|
|
165
|
+
onClick: i[0] || (i[0] = (b) => c("return"))
|
|
166
166
|
}, [
|
|
167
167
|
e("img", {
|
|
168
168
|
src: p(K),
|
|
169
169
|
alt: ""
|
|
170
170
|
}, null, 8, la),
|
|
171
|
-
e("span",
|
|
171
|
+
e("span", ra, d(t.$t("pix-mail-message.actions.return")), 1)
|
|
172
172
|
], 8, na)) : m("", !0),
|
|
173
173
|
i[3] || (i[3] = e("div", { class: "nav__spacer" }, null, -1)),
|
|
174
174
|
a.actions?.reply !== "hidden" ? (o(), n("button", {
|
|
175
175
|
key: 1,
|
|
176
176
|
"aria-disabled": a.actions?.reply === "disabled",
|
|
177
|
-
onClick: i[1] || (i[1] = (
|
|
177
|
+
onClick: i[1] || (i[1] = (b) => c("reply"))
|
|
178
178
|
}, [
|
|
179
179
|
e("img", {
|
|
180
180
|
src: p(U),
|
|
181
181
|
alt: ""
|
|
182
|
-
}, null, 8,
|
|
182
|
+
}, null, 8, ba),
|
|
183
183
|
e("span", va, d(t.$t("pix-mail-message.actions.reply")), 1)
|
|
184
|
-
], 8,
|
|
184
|
+
], 8, ca)) : m("", !0),
|
|
185
185
|
a.actions?.forward !== "hidden" ? (o(), n("button", {
|
|
186
186
|
key: 2,
|
|
187
187
|
"aria-disabled": a.actions?.forward === "disabled",
|
|
188
|
-
onClick: i[2] || (i[2] = (
|
|
188
|
+
onClick: i[2] || (i[2] = (b) => c("forward"))
|
|
189
189
|
}, [
|
|
190
190
|
e("img", {
|
|
191
191
|
src: p(O),
|
|
@@ -198,14 +198,14 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
198
198
|
key: 3,
|
|
199
199
|
actions: x.value,
|
|
200
200
|
disabled: a.actions?.menu === "disabled",
|
|
201
|
-
onSelect:
|
|
201
|
+
onSelect: g
|
|
202
202
|
}, {
|
|
203
203
|
default: L(() => [
|
|
204
204
|
e("img", {
|
|
205
205
|
src: p(R),
|
|
206
206
|
alt: ""
|
|
207
|
-
}, null, 8,
|
|
208
|
-
e("span",
|
|
207
|
+
}, null, 8, fa),
|
|
208
|
+
e("span", ga, d(t.$t("pix-mail-message.actions.menu")), 1)
|
|
209
209
|
]),
|
|
210
210
|
_: 1
|
|
211
211
|
}, 8, ["actions", "disabled"])) : m("", !0)
|
|
@@ -255,7 +255,7 @@ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%
|
|
|
255
255
|
])) : m("", !0)
|
|
256
256
|
]));
|
|
257
257
|
}
|
|
258
|
-
}), Ta = "html[data-v-
|
|
258
|
+
}), Ta = "html[data-v-a303ea8b],body[data-v-a303ea8b],div[data-v-a303ea8b],span[data-v-a303ea8b],applet[data-v-a303ea8b],object[data-v-a303ea8b],iframe[data-v-a303ea8b],h1[data-v-a303ea8b],h2[data-v-a303ea8b],h3[data-v-a303ea8b],h4[data-v-a303ea8b],h5[data-v-a303ea8b],h6[data-v-a303ea8b],p[data-v-a303ea8b],blockquote[data-v-a303ea8b],pre[data-v-a303ea8b],a[data-v-a303ea8b],abbr[data-v-a303ea8b],acronym[data-v-a303ea8b],address[data-v-a303ea8b],big[data-v-a303ea8b],cite[data-v-a303ea8b],code[data-v-a303ea8b],del[data-v-a303ea8b],dfn[data-v-a303ea8b],em[data-v-a303ea8b],img[data-v-a303ea8b],ins[data-v-a303ea8b],kbd[data-v-a303ea8b],q[data-v-a303ea8b],s[data-v-a303ea8b],samp[data-v-a303ea8b],small[data-v-a303ea8b],strike[data-v-a303ea8b],strong[data-v-a303ea8b],sub[data-v-a303ea8b],sup[data-v-a303ea8b],tt[data-v-a303ea8b],var[data-v-a303ea8b],b[data-v-a303ea8b],u[data-v-a303ea8b],i[data-v-a303ea8b],center[data-v-a303ea8b],dl[data-v-a303ea8b],dt[data-v-a303ea8b],dd[data-v-a303ea8b],ol[data-v-a303ea8b],ul[data-v-a303ea8b],li[data-v-a303ea8b],fieldset[data-v-a303ea8b],form[data-v-a303ea8b],label[data-v-a303ea8b],legend[data-v-a303ea8b],table[data-v-a303ea8b],caption[data-v-a303ea8b],tbody[data-v-a303ea8b],tfoot[data-v-a303ea8b],thead[data-v-a303ea8b],tr[data-v-a303ea8b],th[data-v-a303ea8b],td[data-v-a303ea8b],article[data-v-a303ea8b],aside[data-v-a303ea8b],canvas[data-v-a303ea8b],details[data-v-a303ea8b],embed[data-v-a303ea8b],figure[data-v-a303ea8b],figcaption[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],output[data-v-a303ea8b],ruby[data-v-a303ea8b],section[data-v-a303ea8b],summary[data-v-a303ea8b],time[data-v-a303ea8b],mark[data-v-a303ea8b],audio[data-v-a303ea8b],video[data-v-a303ea8b]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-a303ea8b],aside[data-v-a303ea8b],details[data-v-a303ea8b],figcaption[data-v-a303ea8b],figure[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],section[data-v-a303ea8b]{display:block}body[data-v-a303ea8b]{line-height:1}ol[data-v-a303ea8b],ul[data-v-a303ea8b]{list-style:none}table[data-v-a303ea8b]{border-collapse:collapse;border-spacing:0}button[data-v-a303ea8b],p[data-v-a303ea8b],div[role=heading][data-v-a303ea8b]{font-family:Roboto,sans-serif;color:#253858}.container[data-v-a303ea8b]{background-color:#f4f5f7;border-radius:8px;border:1px solid #cdd1d9;display:flex;flex-direction:column;gap:12px;padding:16px}.nav[data-v-a303ea8b]{display:flex;gap:8px;justify-content:end;align-items:stretch}.nav button[data-v-a303ea8b]{display:flex;gap:8px;align-items:center;cursor:pointer;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px;color:#122647;font-size:.875rem;font-weight:700}.nav button[aria-disabled=true][data-v-a303ea8b]{cursor:not-allowed;background:#eae9e9}.nav button[aria-disabled=false][data-v-a303ea8b]:hover{background-color:#cdd1d9}.nav .back-button[data-v-a303ea8b]{border:none;background:transparent}.nav__spacer[data-v-a303ea8b]{flex:1}.flip-h[data-v-a303ea8b]{transform:scaleX(-1)}.header[data-v-a303ea8b]{display:flex;justify-content:space-between}.header div[role][data-v-a303ea8b]{font-family:open-sans,sans-serif;font-size:1.125rem}.header .date[data-v-a303ea8b]{color:#5e6c84;font-size:.75rem}.expeditor[data-v-a303ea8b]{display:grid;column-gap:4px;width:fit-content;grid-template-columns:repeat(2,auto);grid-template-rows:repeat(2,auto)}.expeditor div[role][data-v-a303ea8b]{font-weight:700}.expeditor-mail[data-v-a303ea8b],.expeditor .recipient p[data-v-a303ea8b]{align-self:end;font-size:.75rem;color:#5e6c84;font-weight:400;word-break:break-word}.expeditor .recipient[data-v-a303ea8b]{display:flex}.expeditor .recipient button[data-v-a303ea8b]{border:none;background:transparent;display:flex;align-items:center;cursor:not-allowed}.expeditor .avatar[data-v-a303ea8b]{grid-row:1/span 2;margin-right:12px}.content[data-v-a303ea8b]{color:#122647;font-size:.875rem}.previous-message[data-v-a303ea8b]{font-size:.875rem;margin-top:12px}.previous-message__header[data-v-a303ea8b]{font-style:italic;font-size:.875rem;color:#5e6c84;margin-bottom:8px}.previous-message blockquote[data-v-a303ea8b]{border-left:1px solid #cdd1d9;margin-left:8px;padding-left:8px}.sr-only[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:576px){.sr-only-mobile[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.date[data-v-a303ea8b]{display:none}}", Va = /* @__PURE__ */ $(Da, [["styles", [Ta]], ["__scopeId", "data-v-a303ea8b"]]);
|
|
259
259
|
export {
|
|
260
260
|
Va as P
|
|
261
261
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { F as
|
|
3
|
-
import { b as
|
|
4
|
-
const
|
|
1
|
+
import { B as u } from "./Button.ce-DZ8jDtW5.js";
|
|
2
|
+
import { F as x } from "./FocusManager.ce-DHXwg6WZ.js";
|
|
3
|
+
import { b as m, h as b, B as g, o as n, c as r, F as y, l, C as h, D as p, a as e, q as d, E as i, x as a, f as B, z as _, _ as v } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
4
|
+
const k = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "overlay"
|
|
7
|
-
},
|
|
7
|
+
}, w = ["aria-label"], S = { class: "pop-in__header" }, z = { class: "pop-in__title" }, C = {
|
|
8
8
|
id: "content",
|
|
9
9
|
class: "pop-in__content"
|
|
10
|
-
},
|
|
10
|
+
}, P = /* @__PURE__ */ m({
|
|
11
11
|
__name: "Popin.ce",
|
|
12
12
|
props: {
|
|
13
13
|
title: { type: String },
|
|
@@ -18,20 +18,20 @@ const v = {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["primaryAction"],
|
|
20
20
|
setup(t) {
|
|
21
|
-
const
|
|
21
|
+
const f = b("pop-in"), c = {
|
|
22
22
|
left: "start",
|
|
23
23
|
center: "center",
|
|
24
24
|
right: "end"
|
|
25
25
|
};
|
|
26
|
-
return
|
|
27
|
-
!t.textButton && t.show &&
|
|
28
|
-
}), (
|
|
29
|
-
t.show ? (
|
|
30
|
-
|
|
26
|
+
return g(() => {
|
|
27
|
+
!t.textButton && t.show && f.value?.focus();
|
|
28
|
+
}), (o, s) => (n(), r(y, null, [
|
|
29
|
+
t.show ? (n(), r("div", k)) : l("", !0),
|
|
30
|
+
h(x, {
|
|
31
31
|
"is-visible": t.show,
|
|
32
32
|
loop: !!t.textButton
|
|
33
33
|
}, {
|
|
34
|
-
default:
|
|
34
|
+
default: p(() => [
|
|
35
35
|
e("div", {
|
|
36
36
|
ref: "pop-in",
|
|
37
37
|
role: "dialog",
|
|
@@ -40,28 +40,36 @@ const v = {
|
|
|
40
40
|
"aria-describedBy": "content",
|
|
41
41
|
tabindex: "-1"
|
|
42
42
|
}, [
|
|
43
|
-
e("div",
|
|
44
|
-
e("h1",
|
|
45
|
-
|
|
43
|
+
e("div", S, [
|
|
44
|
+
e("h1", z, [
|
|
45
|
+
d(o.$slots, "title", {}, () => [
|
|
46
|
+
i(a(t.title), 1)
|
|
47
|
+
])
|
|
48
|
+
]),
|
|
49
|
+
e("p", C, [
|
|
50
|
+
d(o.$slots, "content", {}, () => [
|
|
51
|
+
i(a(t.content), 1)
|
|
52
|
+
])
|
|
53
|
+
])
|
|
46
54
|
]),
|
|
47
|
-
t.textButton ? (
|
|
55
|
+
t.textButton ? (n(), B(u, {
|
|
48
56
|
key: 0,
|
|
49
|
-
onClick:
|
|
57
|
+
onClick: s[0] || (s[0] = (N) => o.$emit("primaryAction")),
|
|
50
58
|
class: "pop-in__button",
|
|
51
|
-
style:
|
|
59
|
+
style: _({ "--button-position": c[t.buttonPosition] })
|
|
52
60
|
}, {
|
|
53
|
-
default:
|
|
54
|
-
|
|
61
|
+
default: p(() => [
|
|
62
|
+
i(a(t.textButton), 1)
|
|
55
63
|
]),
|
|
56
64
|
_: 1
|
|
57
|
-
}, 8, ["style"])) :
|
|
58
|
-
], 8,
|
|
65
|
+
}, 8, ["style"])) : l("", !0)
|
|
66
|
+
], 8, w)
|
|
59
67
|
]),
|
|
60
|
-
_:
|
|
68
|
+
_: 3
|
|
61
69
|
}, 8, ["is-visible", "loop"])
|
|
62
70
|
], 64));
|
|
63
71
|
}
|
|
64
|
-
}),
|
|
72
|
+
}), F = ".overlay{position:absolute;border-radius:8px;z-index:200;inset:0;background-color:#25385859}.pop-in{display:flex;flex-direction:column;width:min(560px,95%);gap:16px;padding-bottom:24px;position:absolute;z-index:300;border-radius:16px;top:40%;left:50%;transform:translate(-50%,-50%);background-color:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset}.pop-in__header{padding:24px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#613fdd33,#613fdd1a 40%,#fff)}.pop-in__title{font-weight:700;font-size:1.25rem}.pop-in__content{font-family:Roboto,sans-serif;font-size:.875rem}.pop-in__button{font-weight:700;align-self:var(--button-position);margin-right:24px;font-family:Roboto,sans-serif}", A = /* @__PURE__ */ v(P, [["styles", [F]]]);
|
|
65
73
|
export {
|
|
66
74
|
A as P
|
|
67
75
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as i, o as d, c, a as e, z as l, x as p, g as o, _ as u } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { b as i, o as d, c, a as e, z as l, x as p, g as o, _ as u } from "./_plugin-vue_export-helper-B-lVMTio.js";
|
|
2
2
|
const h = { class: "steps-wrapper" }, _ = { class: "steps-wrapper__stepper" }, f = { "aria-hidden": "true" }, w = {
|
|
3
3
|
class: "sr-only",
|
|
4
4
|
"aria-live": "polite"
|