@1024pix/epreuves-components 4.0.0 → 4.0.2
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 → Button.ce-CIdOR7Ut.js} +2 -2
- package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-DcDedpxX.js} +8 -8
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js} +4 -4
- package/dist/FocusManager.ce-B9q14nBB.js +131 -0
- package/dist/{LLMMessage.ce-Dv4hVX0C.js → LLMMessage.ce-m7gAgj3M.js} +14 -14
- package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-Diq78Qvm.js} +2 -2
- package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-CgVczgG8.js} +2 -2
- package/dist/PixMailMessage.ce-CI8R0PnN.js +261 -0
- package/dist/Popin.ce-BczgRCZ5.js +67 -0
- package/dist/{Retry-BZf7NJz9.js → Retry-vIN7ZGdK.js} +2 -2
- package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-DwjG4jda.js} +4 -4
- package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-VRfPs3B6.js} +1643 -1611
- package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
- package/dist/components/calcul-impact.ce.js.js +20 -20
- package/dist/components/capacity-calculation.ce.js.js +22 -22
- package/dist/components/clickable-image.ce.js.js +30 -30
- package/dist/components/complete-phrase.ce.js.js +18 -18
- package/dist/components/flip-cards.ce.js.js +10 -10
- 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 +7 -7
- package/dist/components/llm-messages.ce.js.js +7 -7
- package/dist/components/llm-prompt-select.ce.js.js +5 -5
- package/dist/components/mdp-classement.ce.js.js +29 -29
- package/dist/components/message-conversation.ce.js.js +29 -29
- package/dist/components/mobile-shell.ce.js.js +8 -8
- package/dist/components/phishing-message.ce.js.js +128 -128
- package/dist/components/phishing-notification.ce.js.js +30 -30
- package/dist/components/pix-anonymisation.ce.js.js +27 -27
- package/dist/components/pix-article.ce.js.js +16 -16
- package/dist/components/pix-carousel.ce.js.js +38 -38
- package/dist/components/pix-combinaisons.ce.js.js +75 -74
- package/dist/components/pix-cursor.ce.js.js +26 -26
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +89 -85
- package/dist/components/qcm-deepfake.ce.js.js +16 -16
- package/dist/components/quiz-stepper.ce.js.js +21 -21
- package/dist/components/select-conversation.ce.js.js +11 -11
- package/dist/components/template-mail.ce.js.js +4 -4
- package/dist/components/test-top-mdp.ce.js.js +24 -24
- package/dist/components/trouver-mdp-rs.ce.js.js +321 -421
- package/dist/{i18n-ekiZvzf6.js → i18n-C-9bWDxP.js} +270 -268
- package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-CZIis7T7.js} +1 -1
- package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-COX8VOUE.js} +9 -9
- package/dist/{index-BpqxFmwz.js → index-DgWpXIzq.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/props.examples.js +2 -2
- package/dist/schema.js +12 -12
- package/dist/shadow-dom-5ECgVh4w.js +14 -0
- package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
- package/package.json +1 -1
- package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
- package/dist/Popin.ce-DUQ7-GMT.js +0 -197
- package/dist/shadow-dom-C3AZuSZe.js +0 -9
|
@@ -1,168 +1,175 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as D, a as G, F as
|
|
5
|
-
import { P as Le } from "../Popin.ce-
|
|
6
|
-
|
|
1
|
+
import { i as ge, a0 as P, a1 as I, a2 as be, T as he, r as m, a3 as _e, g as c, b as z, h as oe, o as v, c as C, y as Y, a as i, v as V, E as xe, t as U, f as A, l as S, D as q, x as _, _ as F, K as ye, F as W, C as w, e as ke, z as we, J as Ce, q as Be, m as Pe, d as Te } from "../_plugin-vue_export-helper-VRfPs3B6.js";
|
|
2
|
+
import { u as H, a as Me, i as X, b as Ae } from "../i18n-C-9bWDxP.js";
|
|
3
|
+
import { b as Se } from "../normalize-props-DH0oPBss.js";
|
|
4
|
+
import { _ as D, a as G, F as qe } from "../Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js";
|
|
5
|
+
import { P as Le } from "../Popin.ce-BczgRCZ5.js";
|
|
6
|
+
import { p as Re } from "../shadow-dom-5ECgVh4w.js";
|
|
7
|
+
const je = {}, Ve = {}, ze = {}, Fe = {}, Ne = {}, Ie = {
|
|
7
8
|
"trouver-mdp-rs": { submitButton: "Se connecter", retryButtonLabel: "Réessayer", feedback: { success: "Connexion réussie", failed: "Mauvaise réponse" }, userProfile: { subscriptions: "{count} abonnements", followers: "{count} abonnés" } }
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
}, Oe = {}, Ee = {};
|
|
10
|
+
var Z = Object.defineProperty, He = (e, o) => {
|
|
11
|
+
let t = {};
|
|
12
|
+
for (var a in e) Z(t, a, {
|
|
13
|
+
get: e[a],
|
|
14
|
+
enumerable: !0
|
|
15
|
+
});
|
|
16
|
+
return Z(t, Symbol.toStringTag, { value: "Module" }), t;
|
|
17
|
+
}, ne = m([]), ie = m(null), re = m(null), le = m(null), se = m(null), u = _e({ current: "" });
|
|
18
|
+
const E = [], Ye = m(!1), B = P(ne), Ue = P(ie), We = P(re), Xe = P(le), De = P(se), g = P(u), Ge = (e) => {
|
|
13
19
|
ne.value = e;
|
|
14
|
-
}, Ge = (e) => {
|
|
15
|
-
re.value = e;
|
|
16
20
|
}, Ze = (e) => {
|
|
17
21
|
ie.value = e;
|
|
18
22
|
}, Qe = (e) => {
|
|
23
|
+
re.value = e;
|
|
24
|
+
}, Ke = (e) => {
|
|
25
|
+
le.value = e;
|
|
26
|
+
}, Je = (e) => {
|
|
19
27
|
se.value = e;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
(a) => a.name === e
|
|
24
|
-
), t = B.value.map((a) => a.name);
|
|
28
|
+
}, de = (e = Ue.value) => {
|
|
29
|
+
u.current = e;
|
|
30
|
+
let o = B.value.findIndex((a) => a.name === e), t = B.value.map((a) => a.name);
|
|
25
31
|
for (let a = 0; a < t.length; a++) {
|
|
26
32
|
if (a > 0 && a < t.length - 1) {
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
let n = t[a] + "Minus", l = t[a] + "Plus";
|
|
34
|
+
u[n] = o <= a, u[l] = o >= a;
|
|
29
35
|
}
|
|
30
|
-
|
|
36
|
+
u[t[a]] = t[a] === e;
|
|
31
37
|
}
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
for (let o of e)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
f.motionPreference = e, f.isMotion = e === "no-preference", f.isInert = e === "reduce";
|
|
38
|
+
}, $e = () => {
|
|
39
|
+
let e = Object.keys(u);
|
|
40
|
+
for (let o of e) delete u[o];
|
|
41
|
+
de(), ce(), ue(), fe();
|
|
42
|
+
}, ce = (e = We.value) => {
|
|
43
|
+
u.orientation = e, u.isLandscape = e === "landscape", u.isPortrait = e === "portrait";
|
|
44
|
+
}, ue = (e = Xe.value || "light") => {
|
|
45
|
+
u.theme = e, u.isDark = e === "dark", u.isLight = e === "light";
|
|
46
|
+
}, fe = (e = De.value || "no-preference") => {
|
|
47
|
+
u.motionPreference = e, u.isMotion = e === "no-preference", u.isInert = e === "reduce";
|
|
43
48
|
};
|
|
44
|
-
function
|
|
45
|
-
for (;
|
|
46
|
-
|
|
49
|
+
function et() {
|
|
50
|
+
for (; E.length > 0; ) {
|
|
51
|
+
let e = E.shift();
|
|
47
52
|
if (e && typeof e == "object") {
|
|
48
|
-
|
|
53
|
+
let { mql: o, cb: t } = e;
|
|
49
54
|
o.addEventListener && typeof o.addEventListener == "function" ? o.removeEventListener("change", t) : o.removeListener(t);
|
|
50
55
|
}
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
|
-
function
|
|
54
|
-
return B.value.reduce(
|
|
55
|
-
(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
[o.name]: s
|
|
59
|
-
});
|
|
60
|
-
},
|
|
61
|
-
{}
|
|
62
|
-
);
|
|
58
|
+
function tt() {
|
|
59
|
+
return B.value.reduce((e, o, t, a) => {
|
|
60
|
+
let n = `(min-width: ${o.min}px)`, l = t < a.length - 1 ? `(max-width: ${a[t + 1].min - 1}px)` : null, r = n + (l ? " and " + l : "");
|
|
61
|
+
return Object.assign(e, { [o.name]: r });
|
|
62
|
+
}, {});
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function j(e, o) {
|
|
65
65
|
if (typeof window > "u" || !window.matchMedia) return !1;
|
|
66
|
-
if (typeof window < "u" && !window.matchMedia)
|
|
67
|
-
return console.error(
|
|
68
|
-
"Vue3 Mq: No MatchMedia support detected in this browser. Responsive breakpoints not available."
|
|
69
|
-
), !1;
|
|
66
|
+
if (typeof window < "u" && !window.matchMedia) return console.error("Vue3 Mq: No MatchMedia support detected in this browser. Responsive breakpoints not available."), !1;
|
|
70
67
|
{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
Ye.value = !0;
|
|
69
|
+
let t = window.matchMedia(e), a = ({ matches: n }) => {
|
|
70
|
+
n && o();
|
|
74
71
|
};
|
|
75
|
-
|
|
72
|
+
E.push({
|
|
73
|
+
mql: t,
|
|
74
|
+
cb: a
|
|
75
|
+
}), t.addEventListener && typeof t.addEventListener == "function" ? t.addEventListener("change", a) : t.addListener(a), a(t);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
const t = o.value.map((a) => a.name);
|
|
78
|
+
var k = (e) => B.value.some((o) => o.name === e);
|
|
79
|
+
const Q = (e, o) => {
|
|
80
|
+
let t = o.value.map((a) => a.name);
|
|
82
81
|
if (e) {
|
|
83
|
-
if (Array.isArray(e))
|
|
84
|
-
return e.filter((a) => w(a));
|
|
82
|
+
if (Array.isArray(e)) return e.filter((a) => k(a));
|
|
85
83
|
if (typeof e == "string" && /\w+\+$/.test(e)) {
|
|
86
|
-
if (e = e.replace(/\+$/, ""),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
), t;
|
|
90
|
-
const a = o.value.findIndex((r) => r.name === e);
|
|
91
|
-
return o.value.slice(a).map((r) => r.name);
|
|
84
|
+
if (e = e.replace(/\+$/, ""), k(e) === !1) return console.error(`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`), t;
|
|
85
|
+
let a = o.value.findIndex((n) => n.name === e);
|
|
86
|
+
return o.value.slice(a).map((n) => n.name);
|
|
92
87
|
} else if (typeof e == "string" && /\w+-$/.test(e)) {
|
|
93
|
-
if (e = e.replace(/-$/, ""),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
), t;
|
|
97
|
-
const a = o.value.findIndex((r) => r.name === e);
|
|
98
|
-
return o.value.slice(0, a + 1).map((r) => r.name);
|
|
88
|
+
if (e = e.replace(/-$/, ""), k(e) === !1) return console.error(`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`), t;
|
|
89
|
+
let a = o.value.findIndex((n) => n.name === e);
|
|
90
|
+
return o.value.slice(0, a + 1).map((n) => n.name);
|
|
99
91
|
} else if (typeof e == "string" && /^\w+-\w+$/.test(e)) {
|
|
100
|
-
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
return console.error(
|
|
107
|
-
`Vue3 Mq: ${r} is not a valid breakpoint key. Invalid range.`
|
|
108
|
-
), t;
|
|
109
|
-
const i = o.value.findIndex((l) => l.name === a), s = o.value.findIndex((l) => l.name === r);
|
|
110
|
-
return o.value.slice(i, s + 1).map((l) => l.name);
|
|
111
|
-
} else return typeof e == "string" && w(e) === !0 ? [e] : t;
|
|
92
|
+
let [a, n] = e.split("-");
|
|
93
|
+
if (k(a) === !1) return console.error(`Vue3 Mq: ${a} is not a valid breakpoint key. Invalid range.`), t;
|
|
94
|
+
if (k(n) === !1) return console.error(`Vue3 Mq: ${n} is not a valid breakpoint key. Invalid range.`), t;
|
|
95
|
+
let l = o.value.findIndex((s) => s.name === a), r = o.value.findIndex((s) => s.name === n);
|
|
96
|
+
return o.value.slice(l, r + 1).map((s) => s.name);
|
|
97
|
+
} else return typeof e == "string" && k(e) === !0 ? [e] : t;
|
|
112
98
|
} else return t;
|
|
113
|
-
}, Q = (e, o) => {
|
|
114
|
-
const t = [];
|
|
115
|
-
return !e && !o ? ["landscape", "portrait"] : (e && t.push("landscape"), o && t.push("portrait"), t);
|
|
116
99
|
}, K = (e, o) => {
|
|
117
|
-
|
|
118
|
-
return !
|
|
100
|
+
let t = [];
|
|
101
|
+
return !e && !o ? ["landscape", "portrait"] : (e && t.push("landscape"), o && t.push("portrait"), t);
|
|
119
102
|
}, J = (e, o) => {
|
|
120
|
-
|
|
103
|
+
let t = [];
|
|
104
|
+
return !o && !e ? ["light", "dark"] : (o && t.push("light"), e && t.push("dark"), t);
|
|
105
|
+
}, $ = (e, o) => {
|
|
106
|
+
let t = [];
|
|
121
107
|
return !e && !o ? ["reduce", "no-preference"] : (e && t.push("reduce"), o && t.push("no-preference"), t);
|
|
122
|
-
}
|
|
108
|
+
};
|
|
109
|
+
var O = /* @__PURE__ */ He({
|
|
110
|
+
bootstrap3: () => nt,
|
|
111
|
+
bootstrap4: () => ot,
|
|
112
|
+
bootstrap5: () => at,
|
|
113
|
+
bulma: () => ft,
|
|
114
|
+
devices: () => dt,
|
|
115
|
+
mui: () => ut,
|
|
116
|
+
tailwind: () => st,
|
|
117
|
+
vuetify: () => lt,
|
|
118
|
+
vuetify3: () => rt,
|
|
119
|
+
vuetify4: () => it,
|
|
120
|
+
wordpress: () => ct
|
|
121
|
+
});
|
|
122
|
+
const at = {
|
|
123
123
|
xs: 0,
|
|
124
124
|
sm: 576,
|
|
125
125
|
md: 768,
|
|
126
126
|
lg: 992,
|
|
127
127
|
xl: 1200,
|
|
128
128
|
xxl: 1400
|
|
129
|
-
},
|
|
129
|
+
}, ot = {
|
|
130
130
|
xs: 0,
|
|
131
131
|
sm: 576,
|
|
132
132
|
md: 768,
|
|
133
133
|
lg: 992,
|
|
134
134
|
xl: 1200
|
|
135
|
-
},
|
|
135
|
+
}, nt = {
|
|
136
136
|
xs: 0,
|
|
137
137
|
sm: 768,
|
|
138
138
|
md: 992,
|
|
139
139
|
lg: 1200
|
|
140
|
-
},
|
|
140
|
+
}, it = {
|
|
141
|
+
xs: 0,
|
|
142
|
+
sm: 600,
|
|
143
|
+
md: 840,
|
|
144
|
+
lg: 1145,
|
|
145
|
+
xl: 1545,
|
|
146
|
+
xxl: 2138
|
|
147
|
+
}, rt = {
|
|
141
148
|
xs: 0,
|
|
142
149
|
sm: 600,
|
|
143
150
|
md: 960,
|
|
144
151
|
lg: 1280,
|
|
145
152
|
xl: 1920,
|
|
146
153
|
xxl: 2560
|
|
147
|
-
},
|
|
154
|
+
}, lt = {
|
|
148
155
|
xs: 0,
|
|
149
156
|
sm: 600,
|
|
150
157
|
md: 960,
|
|
151
158
|
lg: 1264,
|
|
152
159
|
xl: 1904
|
|
153
|
-
},
|
|
160
|
+
}, st = {
|
|
154
161
|
xs: 0,
|
|
155
162
|
sm: 640,
|
|
156
163
|
md: 768,
|
|
157
164
|
lg: 1024,
|
|
158
165
|
xl: 1280,
|
|
159
166
|
xxl: 1536
|
|
160
|
-
},
|
|
167
|
+
}, dt = {
|
|
161
168
|
phone: 0,
|
|
162
169
|
tablet: 768,
|
|
163
170
|
laptop: 1370,
|
|
164
171
|
desktop: 1906
|
|
165
|
-
},
|
|
172
|
+
}, ct = {
|
|
166
173
|
mobile: 0,
|
|
167
174
|
small: 600,
|
|
168
175
|
medium: 782,
|
|
@@ -170,53 +177,37 @@ const w = (e) => B.value.some(
|
|
|
170
177
|
xlarge: 1080,
|
|
171
178
|
wide: 1280,
|
|
172
179
|
huge: 1440
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
}, ut = {
|
|
181
|
+
xs: 0,
|
|
182
|
+
sm: 600,
|
|
183
|
+
md: 900,
|
|
184
|
+
lg: 1200,
|
|
185
|
+
xl: 1536
|
|
186
|
+
}, ft = {
|
|
187
|
+
mobile: 0,
|
|
188
|
+
tablet: 768,
|
|
189
|
+
desktop: 1024,
|
|
190
|
+
widescreen: 1216,
|
|
191
|
+
fullhd: 1408
|
|
192
|
+
}, pt = (e) => {
|
|
193
|
+
if (typeof e == "string" && O[e]) return O[e];
|
|
185
194
|
{
|
|
186
|
-
|
|
187
|
-
return console.error(
|
|
188
|
-
`Vue3 Mq: "${e}" is not a valid preset. Available options are: ${o.join(
|
|
189
|
-
", "
|
|
190
|
-
)}`
|
|
191
|
-
), !1;
|
|
195
|
+
let o = Object.keys(O);
|
|
196
|
+
return console.error(`Vue3 Mq: "${e}" is not a valid preset. Available options are: ${o.join(", ")}`), !1;
|
|
192
197
|
}
|
|
193
|
-
},
|
|
194
|
-
`Vue3 Mq: "${e}" is not a valid default orientation. Reverting to unset value.`
|
|
195
|
-
), null) : e, ct = (e = null) => ["dark", "light"].includes(e) === !1 && e !== null ? (console.error(
|
|
196
|
-
`Vue3 Mq: "${e}" is not a valid default theme. Reverting to unset value.`
|
|
197
|
-
), null) : e, ut = (e = null) => ["no-preference", "reduce"].includes(e) === !1 && e !== null ? (console.error(
|
|
198
|
-
`Vue3 Mq: "${e}" is not a valid default motion preference. Reverting to unset value.`
|
|
199
|
-
), null) : e, $ = (e) => {
|
|
198
|
+
}, mt = (e) => ["landscape", "portrait"].includes(e) === !1 ? (console.error(`Vue3 Mq: "${e}" is not a valid default orientation. Reverting to unset value.`), null) : e, vt = (e = null) => ["dark", "light"].includes(e) === !1 && e !== null ? (console.error(`Vue3 Mq: "${e}" is not a valid default theme. Reverting to unset value.`), null) : e, gt = (e = null) => ["no-preference", "reduce"].includes(e) === !1 && e !== null ? (console.error(`Vue3 Mq: "${e}" is not a valid default motion preference. Reverting to unset value.`), null) : e, ee = (e) => {
|
|
200
199
|
if (!e || typeof e != "object") return !1;
|
|
201
|
-
|
|
200
|
+
let o = [];
|
|
202
201
|
for (let t in e) {
|
|
203
|
-
|
|
202
|
+
let a = parseFloat(e[t]);
|
|
204
203
|
if (!t || typeof t != "string") {
|
|
205
|
-
console.warn(
|
|
206
|
-
`Vue3 Mq: Invalid or missing breakpoint key (${JSON.stringify(
|
|
207
|
-
t
|
|
208
|
-
)}). Skipping.`
|
|
209
|
-
);
|
|
204
|
+
console.warn(`Vue3 Mq: Invalid or missing breakpoint key (${JSON.stringify(t)}). Skipping.`);
|
|
210
205
|
continue;
|
|
211
206
|
} else if (/^[^a-z]/i.test(t) || /[^a-zA-Z0-9_]/.test(t)) {
|
|
212
|
-
console.warn(
|
|
213
|
-
`Vue3 Mq: "${t}" is an invalid breakpoint key. Breakpoint keys must start with a letter and contain only alphanumeric characters and underscores. Skipping.`
|
|
214
|
-
);
|
|
207
|
+
console.warn(`Vue3 Mq: "${t}" is an invalid breakpoint key. Breakpoint keys must start with a letter and contain only alphanumeric characters and underscores. Skipping.`);
|
|
215
208
|
continue;
|
|
216
209
|
} else if (!a && a !== 0 || isNaN(a) || a < 0) {
|
|
217
|
-
console.warn(
|
|
218
|
-
`Vue3 Mq: "${t}: ${e[t]}" is not a valid breakpoint. Breakpoints should be a number of zero or above. Skipping.`
|
|
219
|
-
);
|
|
210
|
+
console.warn(`Vue3 Mq: "${t}: ${e[t]}" is not a valid breakpoint. Breakpoints should be a number of zero or above. Skipping.`);
|
|
220
211
|
continue;
|
|
221
212
|
}
|
|
222
213
|
o.push({
|
|
@@ -224,208 +215,118 @@ const w = (e) => B.value.some(
|
|
|
224
215
|
min: a
|
|
225
216
|
});
|
|
226
217
|
}
|
|
227
|
-
return o.some(
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
), new Set(
|
|
232
|
-
o.map((t) => t.min)
|
|
233
|
-
).size < o.length && console.warn(
|
|
234
|
-
"Vue3 Mq: Your breakpoint configuration contains duplicate values. Behaviour may be unpredictable."
|
|
235
|
-
), o.length === 0 ? !1 : o.sort((t, a) => t.min - a.min);
|
|
236
|
-
}, ft = (e) => {
|
|
237
|
-
const o = e.split(":"), t = {};
|
|
238
|
-
for (let a of o)
|
|
239
|
-
/\D/.test(a) !== !1 && (["landscape", "portrait"].includes(a) ? t.slotOrientation = a : ["light", "dark"].includes(a) ? t.slotTheme = a : ["inert", "motion"].includes(a) ? t.slotMotion = a : t.slotBp = a);
|
|
218
|
+
return o.some((t) => t.min === 0) || console.warn("Vue3 Mq: You have not declared a breakpoint with a minimum value of 0. There may be screen sizes to which Vue3Mq does not respond."), new Set(o.map((t) => t.min)).size < o.length && console.warn("Vue3 Mq: Your breakpoint configuration contains duplicate values. Behaviour may be unpredictable."), o.length === 0 ? !1 : o.sort((t, a) => t.min - a.min);
|
|
219
|
+
}, bt = (e) => {
|
|
220
|
+
let o = e.split(":"), t = {};
|
|
221
|
+
for (let a of o) /\D/.test(a) !== !1 && (["landscape", "portrait"].includes(a) ? t.slotOrientation = a : ["light", "dark"].includes(a) ? t.slotTheme = a : ["inert", "motion"].includes(a) ? t.slotMotion = a : t.slotBp = a);
|
|
240
222
|
return t;
|
|
241
|
-
}
|
|
223
|
+
};
|
|
224
|
+
var ht = {
|
|
242
225
|
name: "fade",
|
|
243
226
|
mode: "out-in"
|
|
244
|
-
},
|
|
227
|
+
}, _t = {
|
|
245
228
|
name: "MqResponsive",
|
|
246
229
|
props: {
|
|
247
|
-
/**
|
|
248
|
-
* Breakpoints to target when rendering component
|
|
249
|
-
*/
|
|
250
230
|
target: [String, Array],
|
|
251
|
-
/**
|
|
252
|
-
* Only render in a landscape view
|
|
253
|
-
*/
|
|
254
231
|
landscape: {
|
|
255
232
|
type: Boolean,
|
|
256
233
|
default: !1
|
|
257
234
|
},
|
|
258
|
-
/**
|
|
259
|
-
* Only render in a portrait view
|
|
260
|
-
*/
|
|
261
235
|
portrait: {
|
|
262
236
|
type: Boolean,
|
|
263
237
|
default: !1
|
|
264
238
|
},
|
|
265
|
-
/**
|
|
266
|
-
* Only render when dark mode is preferred
|
|
267
|
-
*/
|
|
268
239
|
dark: {
|
|
269
240
|
type: Boolean,
|
|
270
241
|
default: !1
|
|
271
242
|
},
|
|
272
|
-
/**
|
|
273
|
-
* Only render when light mode is preferred
|
|
274
|
-
*/
|
|
275
243
|
light: {
|
|
276
244
|
type: Boolean,
|
|
277
245
|
default: !1
|
|
278
246
|
},
|
|
279
|
-
/**
|
|
280
|
-
* Only render when reduced motion is preferred
|
|
281
|
-
*/
|
|
282
247
|
inert: {
|
|
283
248
|
type: Boolean,
|
|
284
249
|
default: !1
|
|
285
250
|
},
|
|
286
|
-
/**
|
|
287
|
-
* Only render when normal motion is preferred
|
|
288
|
-
*/
|
|
289
251
|
motion: {
|
|
290
252
|
type: Boolean,
|
|
291
253
|
default: !1
|
|
292
254
|
},
|
|
293
|
-
/**
|
|
294
|
-
* HTML tag to use when rendering
|
|
295
|
-
*/
|
|
296
255
|
tag: {
|
|
297
256
|
type: String,
|
|
298
257
|
default: "div"
|
|
299
258
|
},
|
|
300
|
-
/**
|
|
301
|
-
* When in group mode, the HTML tag to use on list items
|
|
302
|
-
*/
|
|
303
259
|
listTag: {
|
|
304
260
|
type: String,
|
|
305
261
|
default: "div"
|
|
306
262
|
},
|
|
307
|
-
/**
|
|
308
|
-
* Render items as part of a transition group
|
|
309
|
-
*/
|
|
310
263
|
group: {
|
|
311
264
|
type: Boolean,
|
|
312
265
|
default: !1
|
|
313
266
|
}
|
|
314
267
|
},
|
|
315
268
|
setup(e, { attrs: o, emit: t, slots: a }) {
|
|
316
|
-
|
|
317
|
-
e.target,
|
|
318
|
-
B
|
|
319
|
-
)), i = u(() => Q(
|
|
320
|
-
e.landscape,
|
|
321
|
-
e.portrait
|
|
322
|
-
)), s = u(() => K(e.dark, e.light)), l = u(() => J(e.inert, e.motion)), d = u(() => r.value.includes(b.current) && i.value.includes(b.orientation) && s.value.includes(b.theme) && l.value.includes(b.motionPreference)), p = (c) => {
|
|
269
|
+
let n = c(() => Q(e.target, B)), l = c(() => K(e.landscape, e.portrait)), r = c(() => J(e.dark, e.light)), s = c(() => $(e.inert, e.motion)), f = c(() => n.value.includes(g.current) && l.value.includes(g.orientation) && r.value.includes(g.theme) && s.value.includes(g.motionPreference)), p = (d) => {
|
|
323
270
|
if (!e.group && a.length > 0) return a;
|
|
324
|
-
|
|
271
|
+
let b = [];
|
|
325
272
|
for (let x in a) {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
B
|
|
329
|
-
)), M = u(() => Q(
|
|
330
|
-
g === "landscape",
|
|
331
|
-
g === "portrait"
|
|
332
|
-
)), y = u(() => K(
|
|
333
|
-
q === "dark",
|
|
334
|
-
q === "light"
|
|
335
|
-
)), me = u(() => J(
|
|
336
|
-
V === "inert",
|
|
337
|
-
V === "motion"
|
|
338
|
-
));
|
|
339
|
-
u(() => I.value.includes(
|
|
340
|
-
b.current
|
|
341
|
-
) && M.value.includes(
|
|
342
|
-
b.orientation
|
|
343
|
-
) && y.value.includes(b.theme) && me.value.includes(
|
|
344
|
-
b.motionPreference
|
|
345
|
-
)).value === !0 && h.push(
|
|
346
|
-
N(
|
|
347
|
-
c || a[x],
|
|
348
|
-
{ key: x },
|
|
349
|
-
c ? a[x]() : void 0
|
|
350
|
-
)
|
|
351
|
-
);
|
|
273
|
+
let { slotBp: h, slotOrientation: T, slotTheme: L, slotMotion: R } = bt(x), N = c(() => Q(h, B)), M = c(() => K(T === "landscape", T === "portrait")), y = c(() => J(L === "dark", L === "light")), ve = c(() => $(R === "inert", R === "motion"));
|
|
274
|
+
c(() => N.value.includes(g.current) && M.value.includes(g.orientation) && y.value.includes(g.theme) && ve.value.includes(g.motionPreference)).value === !0 && b.push(I(d || a[x], { key: x }, d ? a[x]() : void 0));
|
|
352
275
|
}
|
|
353
|
-
return
|
|
276
|
+
return b.length > 0 ? b : void 0;
|
|
354
277
|
};
|
|
355
|
-
return a.default ? () =>
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
pt,
|
|
359
|
-
o,
|
|
360
|
-
{ tag: e.tag }
|
|
361
|
-
), h = e.group ? be : he;
|
|
362
|
-
return N(
|
|
363
|
-
h,
|
|
364
|
-
c,
|
|
365
|
-
() => p(e.listTag)
|
|
366
|
-
);
|
|
278
|
+
return a.default ? () => f.value ? I(e.tag, { ...o }, a.default()) : void 0 : () => {
|
|
279
|
+
let d = Object.assign({}, ht, o, { tag: e.tag });
|
|
280
|
+
return I(e.group ? be : he, d, () => p(e.listTag));
|
|
367
281
|
};
|
|
368
282
|
}
|
|
369
283
|
};
|
|
370
|
-
function
|
|
371
|
-
|
|
372
|
-
if (
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
z(s, () => {
|
|
383
|
-
le(i);
|
|
284
|
+
function te({ breakpoints: e, mergeBreakpoints: o = {}, preset: t }) {
|
|
285
|
+
let a = t ? pt(t) : !1, n = e ? ee(e) : !1;
|
|
286
|
+
if (a === !1 && !n) throw TypeError("Vue3 Mq: You must provide a valid preset, or valid breakpoint settings.");
|
|
287
|
+
Ge(n || ee({
|
|
288
|
+
...a,
|
|
289
|
+
...o
|
|
290
|
+
})), et(), $e();
|
|
291
|
+
let l = tt();
|
|
292
|
+
for (let r in l) {
|
|
293
|
+
let s = l[r];
|
|
294
|
+
j(s, () => {
|
|
295
|
+
de(r);
|
|
384
296
|
});
|
|
385
297
|
}
|
|
386
|
-
["portrait", "landscape"].forEach((
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
ue(i);
|
|
399
|
-
};
|
|
400
|
-
z(`(prefers-reduced-motion: ${i})`, s);
|
|
298
|
+
["portrait", "landscape"].forEach((r) => {
|
|
299
|
+
j(`(orientation: ${r})`, () => {
|
|
300
|
+
ce(r);
|
|
301
|
+
});
|
|
302
|
+
}), ["light", "dark"].forEach((r) => {
|
|
303
|
+
j(`(prefers-color-scheme: ${r})`, () => {
|
|
304
|
+
ue(r);
|
|
305
|
+
});
|
|
306
|
+
}), ["reduce", "no-preference"].forEach((r) => {
|
|
307
|
+
j(`(prefers-reduced-motion: ${r})`, () => {
|
|
308
|
+
fe(r);
|
|
309
|
+
});
|
|
401
310
|
});
|
|
402
311
|
}
|
|
403
|
-
function
|
|
404
|
-
|
|
405
|
-
if (e)
|
|
406
|
-
|
|
407
|
-
throw new Error(
|
|
408
|
-
"Vue3Mq is not installed in this app. Please follow the installation instructions and try again."
|
|
409
|
-
);
|
|
312
|
+
function pe() {
|
|
313
|
+
let e = ge("mq");
|
|
314
|
+
if (e) return e;
|
|
315
|
+
throw Error("Vue3Mq is not installed in this app. Please follow the installation instructions and try again.");
|
|
410
316
|
}
|
|
411
|
-
|
|
412
|
-
preset: o = "bootstrap5",
|
|
413
|
-
breakpoints: t,
|
|
414
|
-
defaultBreakpoint: a,
|
|
415
|
-
defaultOrientation: r = "landscape",
|
|
416
|
-
defaultMotion: i = "no-preference",
|
|
417
|
-
defaultTheme: s,
|
|
418
|
-
global: l = !1
|
|
419
|
-
} = {}) => {
|
|
317
|
+
var xt = { install: (e, { preset: o = "bootstrap5", breakpoints: t, mergeBreakpoints: a, defaultBreakpoint: n, defaultOrientation: l = "landscape", defaultMotion: r = "no-preference", defaultTheme: s, global: f = !1 } = {}) => {
|
|
420
318
|
try {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
319
|
+
let p = mt(l), d = vt(s), b = gt(r);
|
|
320
|
+
Ze(n), Qe(p), Ke(d), Je(b), e.provide("mq", g), e.provide("updateBreakpoints", te), f === !0 && (e.component("MqResponsive", _t), e.config.globalProperties.$mq = g), te({
|
|
321
|
+
breakpoints: t,
|
|
322
|
+
mergeBreakpoints: a,
|
|
323
|
+
preset: o
|
|
324
|
+
});
|
|
325
|
+
} catch (p) {
|
|
326
|
+
console.error(p);
|
|
425
327
|
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
}, bt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2017C0%207.61116%207.61116%200%2017%200C26.3888%200%2034%207.61116%2034%2017C34%2026.3888%2026.3888%2034%2017%2034C7.61116%2034%200%2026.3888%200%2017Z'%20fill='%232C75FF'/%3e%3cpath%20d='M17%2019.25V20.75M12.5%2023.75H21.5C21.8978%2023.75%2022.2794%2023.592%2022.5607%2023.3107C22.842%2023.0294%2023%2022.6478%2023%2022.25V17.75C23%2017.3522%2022.842%2016.9706%2022.5607%2016.6893C22.2794%2016.408%2021.8978%2016.25%2021.5%2016.25H12.5C12.1022%2016.25%2011.7206%2016.408%2011.4393%2016.6893C11.158%2016.9706%2011%2017.3522%2011%2017.75V22.25C11%2022.6478%2011.158%2023.0294%2011.4393%2023.3107C11.7206%2023.592%2012.1022%2023.75%2012.5%2023.75ZM20%2016.25V13.25C20%2012.4544%2019.6839%2011.6913%2019.1213%2011.1287C18.5587%2010.5661%2017.7956%2010.25%2017%2010.25C16.2044%2010.25%2015.4413%2010.5661%2014.8787%2011.1287C14.3161%2011.6913%2014%2012.4544%2014%2013.25V16.25H20Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ht = ["aria-level"], _t = ["src"], xt = { class: "login-form__field" }, yt = { class: "login-form__field__input-container is-disabled" }, wt = ["value"], kt = { class: "login-form__field" }, Ct = ["readonly", "value"], Bt = ["aria-disabled"], Pt = /* @__PURE__ */ R({
|
|
328
|
+
} };
|
|
329
|
+
const yt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2017C0%207.61116%207.61116%200%2017%200C26.3888%200%2034%207.61116%2034%2017C34%2026.3888%2026.3888%2034%2017%2034C7.61116%2034%200%2026.3888%200%2017Z'%20fill='%232C75FF'/%3e%3cpath%20d='M17%2019.25V20.75M12.5%2023.75H21.5C21.8978%2023.75%2022.2794%2023.592%2022.5607%2023.3107C22.842%2023.0294%2023%2022.6478%2023%2022.25V17.75C23%2017.3522%2022.842%2016.9706%2022.5607%2016.6893C22.2794%2016.408%2021.8978%2016.25%2021.5%2016.25H12.5C12.1022%2016.25%2011.7206%2016.408%2011.4393%2016.6893C11.158%2016.9706%2011%2017.3522%2011%2017.75V22.25C11%2022.6478%2011.158%2023.0294%2011.4393%2023.3107C11.7206%2023.592%2012.1022%2023.75%2012.5%2023.75ZM20%2016.25V13.25C20%2012.4544%2019.6839%2011.6913%2019.1213%2011.1287C18.5587%2010.5661%2017.7956%2010.25%2017%2010.25C16.2044%2010.25%2015.4413%2010.5661%2014.8787%2011.1287C14.3161%2011.6913%2014%2012.4544%2014%2013.25V16.25H20Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", kt = ["aria-level"], wt = ["src"], Ct = { class: "login-form__field" }, Bt = { class: "login-form__field__input-container is-disabled" }, Pt = ["value"], Tt = { class: "login-form__field" }, Mt = ["readonly", "value"], At = ["aria-disabled"], St = /* @__PURE__ */ z({
|
|
429
330
|
__name: "LoginForm.ce",
|
|
430
331
|
props: {
|
|
431
332
|
feedback: { type: Object },
|
|
@@ -434,71 +335,71 @@ const vt = (e, {
|
|
|
434
335
|
},
|
|
435
336
|
emits: ["validate"],
|
|
436
337
|
setup(e, { expose: o, emit: t }) {
|
|
437
|
-
const { i18next: a, t:
|
|
438
|
-
function
|
|
439
|
-
|
|
338
|
+
const { i18next: a, t: n } = H(), l = pe(), r = oe("input-password"), s = m(""), f = m(!1), p = c(() => e.validations.password.localeCompare(s.value, a.language, { sensitivity: "base" }) === 0), d = c(() => f.value && p.value), b = c(() => p.value ? e.feedback.success : e.feedback.failed), x = c(() => p.value ? n("trouver-mdp-rs.feedback.success") : n("trouver-mdp-rs.feedback.failed"));
|
|
339
|
+
function h(M) {
|
|
340
|
+
s.value = M.target.value, f.value = !1;
|
|
440
341
|
}
|
|
441
|
-
function
|
|
442
|
-
|
|
342
|
+
function T() {
|
|
343
|
+
f.value = !0, N("validate", { isPasswordOk: p });
|
|
443
344
|
}
|
|
444
|
-
function
|
|
445
|
-
|
|
345
|
+
function L() {
|
|
346
|
+
s.value = "", f.value = !1;
|
|
446
347
|
}
|
|
447
|
-
const
|
|
348
|
+
const R = c(() => l.phone);
|
|
448
349
|
o({
|
|
449
|
-
reset:
|
|
450
|
-
inputPasswordRef:
|
|
350
|
+
reset: L,
|
|
351
|
+
inputPasswordRef: r
|
|
451
352
|
});
|
|
452
|
-
const
|
|
353
|
+
const N = t;
|
|
453
354
|
return (M, y) => (v(), C("form", {
|
|
454
355
|
class: "login-form",
|
|
455
|
-
onSubmit:
|
|
356
|
+
onSubmit: Y(T, ["prevent"])
|
|
456
357
|
}, [
|
|
457
|
-
|
|
358
|
+
i("div", {
|
|
458
359
|
role: "heading",
|
|
459
360
|
"aria-level": e.titleLevel + 1,
|
|
460
361
|
class: "login-form__title"
|
|
461
362
|
}, [
|
|
462
|
-
|
|
463
|
-
src:
|
|
363
|
+
i("img", {
|
|
364
|
+
src: V(yt),
|
|
464
365
|
alt: ""
|
|
465
|
-
}, null, 8,
|
|
466
|
-
y[0] || (y[0] =
|
|
467
|
-
], 8,
|
|
468
|
-
|
|
469
|
-
y[1] || (y[1] =
|
|
470
|
-
|
|
471
|
-
|
|
366
|
+
}, null, 8, wt),
|
|
367
|
+
y[0] || (y[0] = xe(" Connexion ", -1))
|
|
368
|
+
], 8, kt),
|
|
369
|
+
i("div", Ct, [
|
|
370
|
+
y[1] || (y[1] = i("label", { for: "user" }, "Identifiant", -1)),
|
|
371
|
+
i("div", Bt, [
|
|
372
|
+
i("input", {
|
|
472
373
|
id: "user",
|
|
473
374
|
value: e.validations.user,
|
|
474
375
|
readonly: "",
|
|
475
376
|
class: "is-disabled"
|
|
476
|
-
}, null, 8,
|
|
377
|
+
}, null, 8, Pt)
|
|
477
378
|
])
|
|
478
379
|
]),
|
|
479
|
-
|
|
480
|
-
y[2] || (y[2] =
|
|
481
|
-
|
|
380
|
+
i("div", Tt, [
|
|
381
|
+
y[2] || (y[2] = i("label", { for: "password" }, "Mot de passe", -1)),
|
|
382
|
+
i("div", {
|
|
482
383
|
class: U(["login-form__field__input-container", {
|
|
483
|
-
"is-error":
|
|
484
|
-
"is-success":
|
|
485
|
-
"is-disabled":
|
|
384
|
+
"is-error": f.value && !p.value,
|
|
385
|
+
"is-success": d.value,
|
|
386
|
+
"is-disabled": d.value
|
|
486
387
|
}])
|
|
487
388
|
}, [
|
|
488
|
-
|
|
389
|
+
i("input", {
|
|
489
390
|
ref: "input-password",
|
|
490
391
|
id: "password",
|
|
491
|
-
readonly:
|
|
492
|
-
onInput:
|
|
493
|
-
value:
|
|
494
|
-
}, null, 40,
|
|
495
|
-
|
|
392
|
+
readonly: d.value,
|
|
393
|
+
onInput: Y(h, ["prevent"]),
|
|
394
|
+
value: s.value
|
|
395
|
+
}, null, 40, Mt),
|
|
396
|
+
d.value ? (v(), A(D, {
|
|
496
397
|
key: 0,
|
|
497
398
|
color: "#007740",
|
|
498
399
|
class: "login-form__field__feedback-icon",
|
|
499
400
|
"aria-hidden": "true"
|
|
500
401
|
})) : S("", !0),
|
|
501
|
-
|
|
402
|
+
f.value && !p.value ? (v(), A(G, {
|
|
502
403
|
key: 1,
|
|
503
404
|
class: "login-form__field__feedback-icon",
|
|
504
405
|
color: "#A94B0C",
|
|
@@ -506,36 +407,36 @@ const vt = (e, {
|
|
|
506
407
|
})) : S("", !0)
|
|
507
408
|
], 2)
|
|
508
409
|
]),
|
|
509
|
-
|
|
410
|
+
f.value && !R.value ? (v(), A(qe, {
|
|
510
411
|
key: 0,
|
|
511
412
|
title: x.value,
|
|
512
413
|
class: "feedback"
|
|
513
414
|
}, {
|
|
514
|
-
icon:
|
|
515
|
-
|
|
415
|
+
icon: q(() => [
|
|
416
|
+
d.value ? (v(), A(D, {
|
|
516
417
|
key: 0,
|
|
517
418
|
class: "feedback__feedback-icon",
|
|
518
419
|
"aria-hidden": "true"
|
|
519
420
|
})) : S("", !0),
|
|
520
|
-
|
|
421
|
+
f.value && !p.value ? (v(), A(G, {
|
|
521
422
|
key: 1,
|
|
522
423
|
class: "feedback__feedback-icon",
|
|
523
424
|
"aria-hidden": "true"
|
|
524
425
|
})) : S("", !0)
|
|
525
426
|
]),
|
|
526
|
-
content:
|
|
527
|
-
|
|
427
|
+
content: q(() => [
|
|
428
|
+
i("p", null, _(b.value), 1)
|
|
528
429
|
]),
|
|
529
430
|
_: 1
|
|
530
431
|
}, 8, ["title"])) : S("", !0),
|
|
531
|
-
|
|
432
|
+
i("button", {
|
|
532
433
|
type: "submit",
|
|
533
|
-
"aria-disabled":
|
|
534
|
-
class: U({ "is-disabled":
|
|
535
|
-
}, " Se connecter ", 10,
|
|
434
|
+
"aria-disabled": d.value,
|
|
435
|
+
class: U({ "is-disabled": d.value })
|
|
436
|
+
}, " Se connecter ", 10, At)
|
|
536
437
|
], 32));
|
|
537
438
|
}
|
|
538
|
-
}),
|
|
439
|
+
}), qt = ".feedback p[data-v-5f0ddcef]{margin:0}.feedback__feedback-icon[data-v-5f0ddcef]{width:16px}.feedback[data-v-5f0ddcef] .feedback-container__title,.feedback[data-v-5f0ddcef] .feedback-container__content{font-size:.75rem}.login-form[data-v-5f0ddcef]{display:flex;flex-direction:column;border-radius:14px;flex:1;padding:1.56rem;gap:1rem;border-radius:.875rem;background:#fff;box-shadow:0 2px 5px #2c75ff40,0 -2px 5px #2c75ff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;height:fit-content}.login-form__title[data-v-5f0ddcef]{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-family:Nunito,sans-serif;font-size:1.25rem;font-weight:700;line-height:1.75rem}.login-form__field[data-v-5f0ddcef]{display:flex;flex-direction:column}.login-form__field label[data-v-5f0ddcef]{color:#5e6c84;font-size:.875rem;line-height:1.25rem}.login-form__field__feedback-icon[data-v-5f0ddcef]{width:24px}.login-form__field__input-container[data-v-5f0ddcef]{display:flex;align-items:center;border-radius:10px;border:1px solid #cdd1d9;background:#f4f5f7;padding:.75rem 1rem}.login-form__field__input-container input[data-v-5f0ddcef]{background:transparent;border:none;width:100%}.login-form__field__input-container input[data-v-5f0ddcef]:focus{border:none;outline:none}.login-form__field__input-container input.is-disabled[data-v-5f0ddcef]{cursor:not-allowed}.login-form__field__input-container.is-error[data-v-5f0ddcef]{border:1px solid #d73328;background:#fbebea}.login-form__field__input-container.is-success[data-v-5f0ddcef]{border:1px solid #00a85a;background:#e6f6ef}.login-form__field__input-container.is-disabled[data-v-5f0ddcef]{cursor:not-allowed}.login-form__field__input-container[data-v-5f0ddcef]:focus-within{outline:2px solid black}.login-form button[data-v-5f0ddcef]{cursor:pointer;padding:12px 107px 12px 115px;font-size:16px;width:100%;text-wrap:nowrap;padding:.75rem;text-align:center;border-radius:10px;background:#122647;color:#fff;font-size:1rem;border:none}.login-form button.is-disabled[data-v-5f0ddcef]{background:#cdd1d9;border:none;cursor:not-allowed}@media screen and (max-width:769px){.login-form[data-v-5f0ddcef]{border-radius:14px;background:#fff;box-shadow:0 -20px 60px -15px #2c75ff26;z-index:10}}", Lt = /* @__PURE__ */ F(St, [["styles", [qt]], ["__scopeId", "data-v-5f0ddcef"]]), ae = "data:image/webp;base64,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", Rt = "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='M8.00016%204.66658C6.7135%204.66658%205.66683%205.71325%205.66683%206.99992C5.66683%208.28658%206.7135%209.33325%208.00016%209.33325C9.28683%209.33325%2010.3335%208.28658%2010.3335%206.99992C10.3335%205.71325%209.28683%204.66658%208.00016%204.66658ZM8.00016%207.99992C7.44883%207.99992%207.00016%207.55125%207.00016%206.99992C7.00016%206.44859%207.44883%205.99992%208.00016%205.99992C8.5515%205.99992%209.00016%206.44859%209.00016%206.99992C9.00016%207.55125%208.5515%207.99992%208.00016%207.99992ZM8.00016%201.33325C4.8755%201.33325%202.3335%203.87525%202.3335%206.99992C2.3335%2010.9779%207.41416%2014.4106%207.63016%2014.5546L8.00016%2014.8013L8.37016%2014.5546C8.58616%2014.4106%2013.6668%2010.9779%2013.6668%206.99992C13.6668%203.87525%2011.1248%201.33325%208.00016%201.33325ZM8.00016%2013.1799C6.89016%2012.3526%203.66683%209.71592%203.66683%206.99992C3.66683%204.61058%205.61083%202.66659%208.00016%202.66659C10.3895%202.66659%2012.3335%204.61058%2012.3335%206.99992C12.3335%209.71525%209.11016%2012.3519%208.00016%2013.1799Z'%20fill='%235E6C84'/%3e%3c/svg%3e", jt = { class: "header" }, Vt = ["src"], zt = { class: "header__user" }, Ft = { class: "header__user__name" }, Nt = { class: "header__user__tag" }, It = { class: "user-profile" }, Ot = { class: "user-profile__location" }, Et = ["src"], Ht = { class: "user-profile__metadata" }, Yt = ["aria-setsize"], Ut = ["aria-posinset", "aria-labeledby", "aria-describedby"], Wt = ["aria-level"], Xt = { class: "article__header__user-container" }, Dt = ["src"], Gt = { class: "article__header__user" }, Zt = { class: "article__header__user__name" }, Qt = { class: "article__header__user__tag" }, Kt = ["datetime"], Jt = /* @__PURE__ */ z({
|
|
539
440
|
__name: "SocialNetwork.ce",
|
|
540
441
|
props: {
|
|
541
442
|
userName: { type: String },
|
|
@@ -546,98 +447,98 @@ const vt = (e, {
|
|
|
546
447
|
titleLevel: { type: Number }
|
|
547
448
|
},
|
|
548
449
|
setup(e) {
|
|
549
|
-
const { i18next: o } =
|
|
450
|
+
const { i18next: o } = H();
|
|
550
451
|
function t(a) {
|
|
551
452
|
return Intl.DateTimeFormat(o.language).format(new Date(a));
|
|
552
453
|
}
|
|
553
|
-
return (a,
|
|
554
|
-
const
|
|
454
|
+
return (a, n) => {
|
|
455
|
+
const l = ye("i18next");
|
|
555
456
|
return v(), C(W, null, [
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
src:
|
|
457
|
+
i("header", jt, [
|
|
458
|
+
i("img", {
|
|
459
|
+
src: V(ae),
|
|
559
460
|
alt: ""
|
|
560
|
-
}, null, 8,
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
461
|
+
}, null, 8, Vt),
|
|
462
|
+
i("div", zt, [
|
|
463
|
+
i("span", Ft, _(e.userName), 1),
|
|
464
|
+
i("span", Nt, _(e.tag), 1)
|
|
564
465
|
])
|
|
565
466
|
]),
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
src:
|
|
467
|
+
i("section", It, [
|
|
468
|
+
i("p", null, _(e.bio), 1),
|
|
469
|
+
i("div", Ot, [
|
|
470
|
+
i("img", {
|
|
471
|
+
src: V(Rt),
|
|
571
472
|
alt: ""
|
|
572
|
-
}, null, 8,
|
|
573
|
-
|
|
473
|
+
}, null, 8, Et),
|
|
474
|
+
i("p", null, _(e.location), 1)
|
|
574
475
|
]),
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
476
|
+
i("div", Ht, [
|
|
477
|
+
i("p", null, [
|
|
478
|
+
w(l, {
|
|
578
479
|
translation: a.$t("trouver-mdp-rs.userProfile.followers")
|
|
579
480
|
}, {
|
|
580
|
-
count:
|
|
581
|
-
|
|
481
|
+
count: q(() => [...n[0] || (n[0] = [
|
|
482
|
+
i("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
582
483
|
])]),
|
|
583
484
|
_: 1
|
|
584
485
|
}, 8, ["translation"])
|
|
585
486
|
]),
|
|
586
|
-
|
|
587
|
-
|
|
487
|
+
i("p", null, [
|
|
488
|
+
w(l, {
|
|
588
489
|
translation: a.$t("trouver-mdp-rs.userProfile.subscriptions")
|
|
589
490
|
}, {
|
|
590
|
-
count:
|
|
591
|
-
|
|
491
|
+
count: q(() => [...n[1] || (n[1] = [
|
|
492
|
+
i("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
592
493
|
])]),
|
|
593
494
|
_: 1
|
|
594
495
|
}, 8, ["translation"])
|
|
595
496
|
])
|
|
596
497
|
])
|
|
597
498
|
]),
|
|
598
|
-
|
|
499
|
+
i("section", {
|
|
599
500
|
role: "feed",
|
|
600
501
|
"aria-busy": "false",
|
|
601
502
|
"aria-setsize": e.publications.length,
|
|
602
503
|
class: "feed-container"
|
|
603
504
|
}, [
|
|
604
|
-
(v(!0), C(W, null,
|
|
605
|
-
key: e.tag +
|
|
606
|
-
"aria-posinset":
|
|
505
|
+
(v(!0), C(W, null, ke(e.publications, (r, s) => (v(), C("article", {
|
|
506
|
+
key: e.tag + s,
|
|
507
|
+
"aria-posinset": s,
|
|
607
508
|
"aria-labeledby": e.userName,
|
|
608
|
-
"aria-describedby":
|
|
509
|
+
"aria-describedby": r.content,
|
|
609
510
|
"aria-busy": "false",
|
|
610
511
|
tabindex: "0",
|
|
611
512
|
role: "article",
|
|
612
513
|
class: "article"
|
|
613
514
|
}, [
|
|
614
|
-
|
|
515
|
+
i("div", {
|
|
615
516
|
role: "heading",
|
|
616
517
|
"aria-level": e.titleLevel + 2,
|
|
617
518
|
class: "article__header"
|
|
618
519
|
}, [
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
src:
|
|
520
|
+
i("address", Xt, [
|
|
521
|
+
i("img", {
|
|
522
|
+
src: V(ae),
|
|
622
523
|
alt: ""
|
|
623
|
-
}, null, 8,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
524
|
+
}, null, 8, Dt),
|
|
525
|
+
i("div", Gt, [
|
|
526
|
+
i("span", Zt, _(e.userName), 1),
|
|
527
|
+
i("span", Qt, _(e.tag), 1)
|
|
627
528
|
])
|
|
628
529
|
]),
|
|
629
|
-
|
|
530
|
+
i("time", {
|
|
630
531
|
class: "article__header__date",
|
|
631
|
-
datetime:
|
|
632
|
-
}, _(t(
|
|
532
|
+
datetime: r.date
|
|
533
|
+
}, _(t(r.date)), 9, Kt)
|
|
633
534
|
], 8, Wt),
|
|
634
|
-
|
|
635
|
-
], 8,
|
|
636
|
-
], 8,
|
|
535
|
+
i("p", null, _(r.content), 1)
|
|
536
|
+
], 8, Ut))), 128))
|
|
537
|
+
], 8, Yt)
|
|
637
538
|
], 64);
|
|
638
539
|
};
|
|
639
540
|
}
|
|
640
|
-
}),
|
|
541
|
+
}), $t = ".header[data-v-d03c1125]{display:flex;gap:8px;padding:1.687rem 2rem 1.188rem 1rem;align-items:flex-start;border-radius:1.5rem 1.5rem 0 0;background:linear-gradient(90deg,#2b7fff26,#00b8db26)}.header img[data-v-d03c1125]{width:50px}.header__user[data-v-d03c1125]{display:flex;flex-direction:column}.header__user__name[data-v-d03c1125]{font-family:Nunito,sans-serif;font-size:1.125rem;font-weight:700;line-height:1.56rem}.header__user__tag[data-v-d03c1125]{color:#5e6c84;font-size:.875rem;font-weight:400;line-height:1.25rem}.user-profile[data-v-d03c1125]{display:flex;flex-direction:column;gap:8px;font-size:.875rem;padding:.25rem 1rem}.user-profile p[data-v-d03c1125]{margin:0}.user-profile__location[data-v-d03c1125]{display:flex;gap:.25rem;color:#5e6c84;font-weight:400;line-height:1.25rem;margin:0}.user-profile__metadata[data-v-d03c1125]{display:flex;gap:.75rem}.user-profile__metadata__number[data-v-d03c1125]{color:#122647;font-weight:700}.user-profile__metadata__text[data-v-d03c1125]{color:#5e6c84;font-weight:400;margin-left:.25rem}.feed-container[data-v-d03c1125]{display:flex;flex-direction:column;padding:0 1rem;align-items:center;gap:.625rem;overflow-y:auto;overflow-x:hidden;font-size:.875rem}.feed-container .article[data-v-d03c1125]{display:flex;padding:.5rem 1rem;flex-direction:column;gap:1rem;border-radius:1rem;border:1px solid #cdd1d9;background:#fff;width:calc(100% - 2rem)}.feed-container .article p[data-v-d03c1125]{margin:0}.feed-container .article__header[data-v-d03c1125]{display:flex;justify-content:space-between;gap:.5rem;align-items:flex-start;font-size:.875rem;line-height:1.25rem;font-weight:400;color:#5e6c84}.feed-container .article__header__user-container[data-v-d03c1125]{display:flex;gap:4px;font-style:normal}.feed-container .article__header__user-container img[data-v-d03c1125]{width:35px;height:35px}.feed-container .article__header__user[data-v-d03c1125]{display:flex;flex-direction:column}.feed-container .article__header__user__name[data-v-d03c1125]{font-family:Nunito,sans-serif;font-weight:700}@media screen and (max-width:769px){.header[data-v-d03c1125]{border-radius:0}.feed-container[data-v-d03c1125]{overflow:unset}}", ea = /* @__PURE__ */ F(Jt, [["styles", [$t]], ["__scopeId", "data-v-d03c1125"]]), ta = /* @__PURE__ */ z({
|
|
641
542
|
__name: "MobileShellWrapper.ce",
|
|
642
543
|
props: {
|
|
643
544
|
backgroundColor: { type: String },
|
|
@@ -651,11 +552,11 @@ const vt = (e, {
|
|
|
651
552
|
}),
|
|
652
553
|
class: "mobile-wrapper"
|
|
653
554
|
}, [
|
|
654
|
-
t[0] || (t[0] =
|
|
655
|
-
|
|
555
|
+
t[0] || (t[0] = Ce('<div class="cache-top" data-v-ad55001d><div class="camera" data-v-ad55001d></div></div><div class="buttons" data-v-ad55001d><div class="button small" data-v-ad55001d></div><div class="button long" data-v-ad55001d></div><div class="button long" data-v-ad55001d></div></div>', 2)),
|
|
556
|
+
Be(o.$slots, "content", {}, void 0, !0)
|
|
656
557
|
], 4));
|
|
657
558
|
}
|
|
658
|
-
}),
|
|
559
|
+
}), aa = '.mobile-wrapper[data-v-ad55001d]{border-radius:30px 30px 0 0;background:var(--background-color);height:inherit;position:relative;border:10px solid black;border-bottom:var(--border-bottom);display:flex;flex-direction:column;min-width:300px}.mobile-wrapper .cache-top[data-v-ad55001d]{position:absolute;z-index:6;top:0;left:32.5%;width:35%;height:15px;background:#000;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.mobile-wrapper .cache-top .camera[data-v-ad55001d]{position:absolute;top:40%;right:5%;width:9%;max-width:10px;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:#ffffff4d}.mobile-wrapper .cache-top .camera[data-v-ad55001d]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:25%;height:25%;border-radius:50%;background:#fff;filter:blur(1px)}.mobile-wrapper .buttons[data-v-ad55001d]{position:absolute;top:10%;left:-12.5px;height:20%;width:5px}.mobile-wrapper .button[data-v-ad55001d]{width:5px;background:#000;margin-bottom:10px;border-radius:30%}.mobile-wrapper .button.small[data-v-ad55001d]{height:15px;margin-bottom:10px}.mobile-wrapper .button.long[data-v-ad55001d]{height:30px}.mobile-wrapper[data-v-ad55001d]:first-child(){border-radius:16px}', oa = /* @__PURE__ */ F(ta, [["styles", [aa]], ["__scopeId", "data-v-ad55001d"]]), na = { class: "main-container" }, ia = /* @__PURE__ */ z({
|
|
659
560
|
__name: "TrouverMdpRs.ce",
|
|
660
561
|
props: {
|
|
661
562
|
titleLevel: { default: 2, type: Number },
|
|
@@ -664,59 +565,58 @@ const vt = (e, {
|
|
|
664
565
|
userProfile: { type: Object }
|
|
665
566
|
},
|
|
666
567
|
setup(e, { expose: o }) {
|
|
667
|
-
const { t } =
|
|
668
|
-
|
|
669
|
-
|
|
568
|
+
const { t } = H(), a = pe();
|
|
569
|
+
Re();
|
|
570
|
+
const n = oe("login-form"), l = m(!1), r = m(""), s = m(""), f = m("");
|
|
571
|
+
function p() {
|
|
572
|
+
n.value.reset(), l.value = !1;
|
|
670
573
|
}
|
|
671
|
-
function h
|
|
672
|
-
|
|
574
|
+
function d(h) {
|
|
575
|
+
r.value = h.isPasswordOk.value ? t("trouver-mdp-rs.feedback.success") : t("trouver-mdp-rs.feedback.failed"), f.value = h.isPasswordOk.value ? "" : t("trouver-mdp-rs.retryButtonLabel"), s.value = h.isPasswordOk.value ? e.feedback.success : e.feedback.failed, l.value = !0, h.isPasswordOk.value || n.value.inputPasswordRef.focus();
|
|
673
576
|
}
|
|
674
|
-
function
|
|
675
|
-
|
|
577
|
+
function b() {
|
|
578
|
+
l.value = !1, n.value.inputPasswordRef.focus();
|
|
676
579
|
}
|
|
677
|
-
const
|
|
580
|
+
const x = c(() => a.phone);
|
|
678
581
|
return o({
|
|
679
|
-
reset:
|
|
680
|
-
}), (
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
"text-button": p.value,
|
|
703
|
-
content: d.value,
|
|
704
|
-
title: l.value,
|
|
582
|
+
reset: p
|
|
583
|
+
}), (h, T) => (v(), C("div", na, [
|
|
584
|
+
w(Lt, {
|
|
585
|
+
ref: "login-form",
|
|
586
|
+
feedback: e.feedback,
|
|
587
|
+
"title-level": e.titleLevel,
|
|
588
|
+
validations: e.validations,
|
|
589
|
+
onValidate: d
|
|
590
|
+
}, null, 8, ["feedback", "title-level", "validations"]),
|
|
591
|
+
w(oa, {
|
|
592
|
+
class: "mobile-shell",
|
|
593
|
+
"background-color": "#fff"
|
|
594
|
+
}, {
|
|
595
|
+
content: q(() => [
|
|
596
|
+
w(ea, Pe(e.userProfile, { "title-level": e.titleLevel }), null, 16, ["title-level"])
|
|
597
|
+
]),
|
|
598
|
+
_: 1
|
|
599
|
+
}),
|
|
600
|
+
w(Le, {
|
|
601
|
+
show: x.value && l.value,
|
|
602
|
+
"text-button": f.value,
|
|
603
|
+
content: s.value,
|
|
604
|
+
title: r.value,
|
|
705
605
|
"button-position": "center",
|
|
706
606
|
class: "popin",
|
|
707
|
-
onPrimaryAction:
|
|
708
|
-
}, null, 8, ["
|
|
709
|
-
]
|
|
607
|
+
onPrimaryAction: b
|
|
608
|
+
}, null, 8, ["show", "text-button", "content", "title"])
|
|
609
|
+
]));
|
|
710
610
|
}
|
|
711
|
-
}),
|
|
712
|
-
|
|
713
|
-
const
|
|
611
|
+
}), ra = ".main-container[data-v-0735469c]{font-family:Roboto,Nunito,sans-serif;color:#122647;position:relative;display:flex;gap:32px;padding-inline:.75rem;max-height:550px}.mobile-shell[data-v-0735469c]{flex:1}.popin[data-v-0735469c]{display:none}@media screen and (max-width:769px){.main-container[data-v-0735469c]{flex-direction:column-reverse}.mobile-shell[data-v-0735469c]{display:flex;flex-direction:column;gap:16px;overflow-y:scroll;border:none;border-radius:0}.mobile-shell[data-v-0735469c] .buttons,.mobile-shell[data-v-0735469c] .cache-top{display:none}.popin[data-v-0735469c]{display:inherit}}", la = /* @__PURE__ */ F(ia, [["styles", [ra]], ["__scopeId", "data-v-0735469c"]]);
|
|
612
|
+
Me(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": je, "./locales/en.json": Ve, "./locales/es-419.json": ze, "./locales/es.json": Fe, "./locales/fr-BE.json": Ne, "./locales/fr.json": Ie, "./locales/it.json": Oe, "./locales/nl.json": Ee })).catch((e) => console.error(e));
|
|
613
|
+
const me = Te(la, {
|
|
714
614
|
configureApp(e) {
|
|
715
|
-
X.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(
|
|
615
|
+
X.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(Ae, { i18next: X }), e.use(xt, { preset: "devices" });
|
|
716
616
|
}
|
|
717
617
|
});
|
|
718
|
-
|
|
618
|
+
me.prototype.normalizeProps = (e) => ({
|
|
719
619
|
...e,
|
|
720
|
-
titleLevel:
|
|
620
|
+
titleLevel: Se(e.titleLevel)
|
|
721
621
|
});
|
|
722
|
-
window.customElements.define("trouver-mdp-rs",
|
|
622
|
+
window.customElements.define("trouver-mdp-rs", me);
|