@1024pix/epreuves-components 4.6.0 → 4.6.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-CsTDnAGh.js +31 -0
- package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-CUxXoH9n.js} +5 -5
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
- package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
- package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-DqVOTSTE.js} +7 -7
- package/dist/LLMMessage.ce-BM9ikl_y.js +98 -0
- package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
- package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
- package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-CIOKG2O0.js} +16 -14
- package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-DUSt6eGF.js} +59 -59
- package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-OnxaZNvT.js} +5 -5
- package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
- package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
- package/dist/components/analyse-mails-phishing.ce.js.js +110 -111
- package/dist/components/autocompletion-mdp.ce.js.js +92 -92
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +36 -36
- package/dist/components/capacity-calculation.ce.js.js +46 -43
- package/dist/components/clickable-image.ce.js.js +25 -25
- package/dist/components/complete-phrase.ce.js.js +50 -50
- package/dist/components/flip-cards.ce.js.js +21 -21
- package/dist/components/generate-mdp.ce.js.js +56 -56
- 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 +4 -4
- package/dist/components/llm-messages.ce.js.js +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/mdp-classement.ce.js.js +107 -115
- package/dist/components/message-conversation.ce.js.js +17 -17
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +136 -146
- package/dist/components/phishing-message.ce.js.js +89 -89
- package/dist/components/phishing-notification.ce.js.js +10 -10
- package/dist/components/pix-anonymisation.ce.js.js +75 -75
- package/dist/components/pix-article.ce.js.js +7 -7
- package/dist/components/pix-carousel.ce.js.js +24 -22
- package/dist/components/pix-combinaisons.ce.js.js +25 -25
- package/dist/components/pix-cursor.ce.js.js +33 -33
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +72 -84
- package/dist/components/qcm-deepfake.ce.js.js +31 -31
- package/dist/components/quiz-stepper.ce.js.js +66 -73
- package/dist/components/select-conversation.ce.js.js +4 -4
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +7 -7
- package/dist/components/trouver-mdp-rs.ce.js.js +154 -168
- package/dist/components/usages-donnees.ce.js.js +34 -34
- package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
- package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
- package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-KliaBWpC.js} +7 -7
- package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
- package/package.json +1 -1
- package/dist/Button.ce-C-lBihdF.js +0 -31
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
- package/dist/Feedback.ce-CeyQhenY.js +0 -26
- package/dist/LLMMessage.ce-DBorHEa1.js +0 -96
- package/dist/components/feedback.ce.js.js +0 -4
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import { u as
|
|
1
|
+
import { i as be, a1 as M, a2 as F, a3 as ve, U as ge, r as y, a4 as he, g as c, b as P, N as I, h as _e, o as v, c as k, y as ye, a as n, v as B, E as xe, x as f, t as E, H as we, T as ke, f as A, l as S, C as x, D as _, P as Te, _ as q, K as Me, F as U, e as Ce, A as Be, J as Ae, q as Se, m as Le, d as Pe } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as R, a as qe, i as Y, b as Fe } from "../i18n-C-1Ne5JG.js";
|
|
3
3
|
import { b as je } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import { p as Ve } from "../shadow-dom-
|
|
5
|
-
import { _ as O, a as W } from "../Cross.ce.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const He = {}, Ne = {}, Ie = {}, Ee = {}, Ue = {}, Ye = {
|
|
4
|
+
import { p as Ve } from "../shadow-dom-DSLDIcsa.js";
|
|
5
|
+
import { _ as O, a as W, F as Re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
|
|
6
|
+
import { P as He } from "../Popin.ce-OnxaZNvT.js";
|
|
7
|
+
const ze = {}, Ne = {}, Ie = {}, Ee = {}, Ue = {}, Ye = {
|
|
9
8
|
"trouver-mdp-rs": { connection: "Connexion", login: "Identifiant", password: "Mot de passe", submitButton: "Se connecter", retryButtonLabel: "Réessayer", userProfile: { subscriptions: "{count} abonnements", followers: "{count} abonnés" } }
|
|
10
9
|
}, Oe = {}, We = {};
|
|
11
10
|
var D = Object.defineProperty, De = (e, o) => {
|
|
@@ -15,8 +14,8 @@ var D = Object.defineProperty, De = (e, o) => {
|
|
|
15
14
|
enumerable: !0
|
|
16
15
|
});
|
|
17
16
|
return D(t, Symbol.toStringTag, { value: "Module" }), t;
|
|
18
|
-
}, ee = y([]), te = y(null), ae = y(null), oe = y(null),
|
|
19
|
-
const V = [], Xe = y(!1), T = M(ee), Ge = M(te), Ze = M(ae), Qe = M(oe), Ke = M(
|
|
17
|
+
}, ee = y([]), te = y(null), ae = y(null), oe = y(null), ne = y(null), u = he({ current: "" });
|
|
18
|
+
const V = [], Xe = y(!1), T = M(ee), Ge = M(te), Ze = M(ae), Qe = M(oe), Ke = M(ne), b = M(u), Je = (e) => {
|
|
20
19
|
ee.value = e;
|
|
21
20
|
}, $e = (e) => {
|
|
22
21
|
te.value = e;
|
|
@@ -25,21 +24,21 @@ const V = [], Xe = y(!1), T = M(ee), Ge = M(te), Ze = M(ae), Qe = M(oe), Ke = M(
|
|
|
25
24
|
}, tt = (e) => {
|
|
26
25
|
oe.value = e;
|
|
27
26
|
}, at = (e) => {
|
|
28
|
-
|
|
29
|
-
},
|
|
27
|
+
ne.value = e;
|
|
28
|
+
}, re = (e = Ge.value) => {
|
|
30
29
|
u.current = e;
|
|
31
30
|
let o = T.value.findIndex((a) => a.name === e), t = T.value.map((a) => a.name);
|
|
32
31
|
for (let a = 0; a < t.length; a++) {
|
|
33
32
|
if (a > 0 && a < t.length - 1) {
|
|
34
|
-
let
|
|
35
|
-
u[
|
|
33
|
+
let r = t[a] + "Minus", s = t[a] + "Plus";
|
|
34
|
+
u[r] = o <= a, u[s] = o >= a;
|
|
36
35
|
}
|
|
37
36
|
u[t[a]] = t[a] === e;
|
|
38
37
|
}
|
|
39
38
|
}, ot = () => {
|
|
40
39
|
let e = Object.keys(u);
|
|
41
40
|
for (let o of e) delete u[o];
|
|
42
|
-
|
|
41
|
+
re(), ie(), le(), se();
|
|
43
42
|
}, ie = (e = Ze.value) => {
|
|
44
43
|
u.orientation = e, u.isLandscape = e === "landscape", u.isPortrait = e === "portrait";
|
|
45
44
|
}, le = (e = Qe.value || "light") => {
|
|
@@ -47,7 +46,7 @@ const V = [], Xe = y(!1), T = M(ee), Ge = M(te), Ze = M(ae), Qe = M(oe), Ke = M(
|
|
|
47
46
|
}, se = (e = Ke.value || "no-preference") => {
|
|
48
47
|
u.motionPreference = e, u.isMotion = e === "no-preference", u.isInert = e === "reduce";
|
|
49
48
|
};
|
|
50
|
-
function
|
|
49
|
+
function nt() {
|
|
51
50
|
for (; V.length > 0; ) {
|
|
52
51
|
let e = V.shift();
|
|
53
52
|
if (e && typeof e == "object") {
|
|
@@ -56,9 +55,9 @@ function rt() {
|
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
function
|
|
58
|
+
function rt() {
|
|
60
59
|
return T.value.reduce((e, o, t, a) => {
|
|
61
|
-
let
|
|
60
|
+
let r = `(min-width: ${o.min}px)`, s = t < a.length - 1 ? `(max-width: ${a[t + 1].min - 1}px)` : null, i = r + (s ? " and " + s : "");
|
|
62
61
|
return Object.assign(e, { [o.name]: i });
|
|
63
62
|
}, {});
|
|
64
63
|
}
|
|
@@ -67,8 +66,8 @@ function L(e, o) {
|
|
|
67
66
|
if (typeof window < "u" && !window.matchMedia) return console.error("Vue3 Mq: No MatchMedia support detected in this browser. Responsive breakpoints not available."), !1;
|
|
68
67
|
{
|
|
69
68
|
Xe.value = !0;
|
|
70
|
-
let t = window.matchMedia(e), a = ({ matches:
|
|
71
|
-
|
|
69
|
+
let t = window.matchMedia(e), a = ({ matches: r }) => {
|
|
70
|
+
r && o();
|
|
72
71
|
};
|
|
73
72
|
V.push({
|
|
74
73
|
mql: t,
|
|
@@ -76,26 +75,26 @@ function L(e, o) {
|
|
|
76
75
|
}), t.addEventListener && typeof t.addEventListener == "function" ? t.addEventListener("change", a) : t.addListener(a), a(t);
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
|
-
var
|
|
78
|
+
var w = (e) => T.value.some((o) => o.name === e);
|
|
80
79
|
const X = (e, o) => {
|
|
81
80
|
let t = o.value.map((a) => a.name);
|
|
82
81
|
if (e) {
|
|
83
|
-
if (Array.isArray(e)) return e.filter((a) =>
|
|
82
|
+
if (Array.isArray(e)) return e.filter((a) => w(a));
|
|
84
83
|
if (typeof e == "string" && /\w+\+$/.test(e)) {
|
|
85
|
-
if (e = e.replace(/\+$/, ""),
|
|
86
|
-
let a = o.value.findIndex((
|
|
87
|
-
return o.value.slice(a).map((
|
|
84
|
+
if (e = e.replace(/\+$/, ""), w(e) === !1) return console.error(`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`), t;
|
|
85
|
+
let a = o.value.findIndex((r) => r.name === e);
|
|
86
|
+
return o.value.slice(a).map((r) => r.name);
|
|
88
87
|
} else if (typeof e == "string" && /\w+-$/.test(e)) {
|
|
89
|
-
if (e = e.replace(/-$/, ""),
|
|
90
|
-
let a = o.value.findIndex((
|
|
91
|
-
return o.value.slice(0, a + 1).map((
|
|
88
|
+
if (e = e.replace(/-$/, ""), w(e) === !1) return console.error(`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`), t;
|
|
89
|
+
let a = o.value.findIndex((r) => r.name === e);
|
|
90
|
+
return o.value.slice(0, a + 1).map((r) => r.name);
|
|
92
91
|
} else if (typeof e == "string" && /^\w+-\w+$/.test(e)) {
|
|
93
|
-
let [a,
|
|
94
|
-
if (
|
|
95
|
-
if (
|
|
96
|
-
let s = o.value.findIndex((l) => l.name === a), i = o.value.findIndex((l) => l.name ===
|
|
92
|
+
let [a, r] = e.split("-");
|
|
93
|
+
if (w(a) === !1) return console.error(`Vue3 Mq: ${a} is not a valid breakpoint key. Invalid range.`), t;
|
|
94
|
+
if (w(r) === !1) return console.error(`Vue3 Mq: ${r} is not a valid breakpoint key. Invalid range.`), t;
|
|
95
|
+
let s = o.value.findIndex((l) => l.name === a), i = o.value.findIndex((l) => l.name === r);
|
|
97
96
|
return o.value.slice(s, i + 1).map((l) => l.name);
|
|
98
|
-
} else return typeof e == "string" &&
|
|
97
|
+
} else return typeof e == "string" && w(e) === !0 ? [e] : t;
|
|
99
98
|
} else return t;
|
|
100
99
|
}, G = (e, o) => {
|
|
101
100
|
let t = [];
|
|
@@ -111,10 +110,10 @@ var j = /* @__PURE__ */ De({
|
|
|
111
110
|
bootstrap3: () => st,
|
|
112
111
|
bootstrap4: () => lt,
|
|
113
112
|
bootstrap5: () => it,
|
|
114
|
-
bulma: () =>
|
|
115
|
-
devices: () =>
|
|
116
|
-
mui: () =>
|
|
117
|
-
tailwind: () =>
|
|
113
|
+
bulma: () => vt,
|
|
114
|
+
devices: () => ft,
|
|
115
|
+
mui: () => bt,
|
|
116
|
+
tailwind: () => pt,
|
|
118
117
|
vuetify: () => ut,
|
|
119
118
|
vuetify3: () => ct,
|
|
120
119
|
vuetify4: () => dt,
|
|
@@ -158,14 +157,14 @@ const it = {
|
|
|
158
157
|
md: 960,
|
|
159
158
|
lg: 1264,
|
|
160
159
|
xl: 1904
|
|
161
|
-
},
|
|
160
|
+
}, pt = {
|
|
162
161
|
xs: 0,
|
|
163
162
|
sm: 640,
|
|
164
163
|
md: 768,
|
|
165
164
|
lg: 1024,
|
|
166
165
|
xl: 1280,
|
|
167
166
|
xxl: 1536
|
|
168
|
-
},
|
|
167
|
+
}, ft = {
|
|
169
168
|
phone: 0,
|
|
170
169
|
tablet: 768,
|
|
171
170
|
laptop: 1370,
|
|
@@ -178,19 +177,19 @@ const it = {
|
|
|
178
177
|
xlarge: 1080,
|
|
179
178
|
wide: 1280,
|
|
180
179
|
huge: 1440
|
|
181
|
-
},
|
|
180
|
+
}, bt = {
|
|
182
181
|
xs: 0,
|
|
183
182
|
sm: 600,
|
|
184
183
|
md: 900,
|
|
185
184
|
lg: 1200,
|
|
186
185
|
xl: 1536
|
|
187
|
-
},
|
|
186
|
+
}, vt = {
|
|
188
187
|
mobile: 0,
|
|
189
188
|
tablet: 768,
|
|
190
189
|
desktop: 1024,
|
|
191
190
|
widescreen: 1216,
|
|
192
191
|
fullhd: 1408
|
|
193
|
-
},
|
|
192
|
+
}, gt = (e) => {
|
|
194
193
|
if (typeof e == "string" && j[e]) return j[e];
|
|
195
194
|
{
|
|
196
195
|
let o = Object.keys(j);
|
|
@@ -267,33 +266,33 @@ var wt = {
|
|
|
267
266
|
}
|
|
268
267
|
},
|
|
269
268
|
setup(e, { attrs: o, emit: t, slots: a }) {
|
|
270
|
-
let
|
|
269
|
+
let r = c(() => X(e.target, T)), s = c(() => G(e.landscape, e.portrait)), i = c(() => Z(e.dark, e.light)), l = c(() => Q(e.inert, e.motion)), g = c(() => r.value.includes(b.current) && s.value.includes(b.orientation) && i.value.includes(b.theme) && l.value.includes(b.motionPreference)), h = (d) => {
|
|
271
270
|
if (!e.group && a.length > 0) return a;
|
|
272
271
|
let m = [];
|
|
273
|
-
for (let
|
|
274
|
-
let { slotBp:
|
|
275
|
-
c(() => ue.value.includes(
|
|
272
|
+
for (let p in a) {
|
|
273
|
+
let { slotBp: C, slotOrientation: H, slotTheme: z, slotMotion: N } = xt(p), ue = c(() => X(C, T)), pe = c(() => G(H === "landscape", H === "portrait")), fe = c(() => Z(z === "dark", z === "light")), me = c(() => Q(N === "inert", N === "motion"));
|
|
274
|
+
c(() => ue.value.includes(b.current) && pe.value.includes(b.orientation) && fe.value.includes(b.theme) && me.value.includes(b.motionPreference)).value === !0 && m.push(F(d || a[p], { key: p }, d ? a[p]() : void 0));
|
|
276
275
|
}
|
|
277
276
|
return m.length > 0 ? m : void 0;
|
|
278
277
|
};
|
|
279
|
-
return a.default ? () =>
|
|
278
|
+
return a.default ? () => g.value ? F(e.tag, { ...o }, a.default()) : void 0 : () => {
|
|
280
279
|
let d = Object.assign({}, wt, o, { tag: e.tag });
|
|
281
|
-
return F(e.group ?
|
|
280
|
+
return F(e.group ? ve : ge, d, () => h(e.listTag));
|
|
282
281
|
};
|
|
283
282
|
}
|
|
284
283
|
};
|
|
285
284
|
function J({ breakpoints: e, mergeBreakpoints: o = {}, preset: t }) {
|
|
286
|
-
let a = t ?
|
|
287
|
-
if (a === !1 && !
|
|
288
|
-
Je(
|
|
285
|
+
let a = t ? gt(t) : !1, r = e ? K(e) : !1;
|
|
286
|
+
if (a === !1 && !r) throw TypeError("Vue3 Mq: You must provide a valid preset, or valid breakpoint settings.");
|
|
287
|
+
Je(r || K({
|
|
289
288
|
...a,
|
|
290
289
|
...o
|
|
291
|
-
})),
|
|
292
|
-
let s =
|
|
290
|
+
})), nt(), ot();
|
|
291
|
+
let s = rt();
|
|
293
292
|
for (let i in s) {
|
|
294
293
|
let l = s[i];
|
|
295
294
|
L(l, () => {
|
|
296
|
-
|
|
295
|
+
re(i);
|
|
297
296
|
});
|
|
298
297
|
}
|
|
299
298
|
["portrait", "landscape"].forEach((i) => {
|
|
@@ -311,14 +310,14 @@ function J({ breakpoints: e, mergeBreakpoints: o = {}, preset: t }) {
|
|
|
311
310
|
});
|
|
312
311
|
}
|
|
313
312
|
function de() {
|
|
314
|
-
let e =
|
|
313
|
+
let e = be("mq");
|
|
315
314
|
if (e) return e;
|
|
316
315
|
throw Error("Vue3Mq is not installed in this app. Please follow the installation instructions and try again.");
|
|
317
316
|
}
|
|
318
|
-
var Tt = { install: (e, { preset: o = "bootstrap5", breakpoints: t, mergeBreakpoints: a, defaultBreakpoint:
|
|
317
|
+
var Tt = { install: (e, { preset: o = "bootstrap5", breakpoints: t, mergeBreakpoints: a, defaultBreakpoint: r, defaultOrientation: s = "landscape", defaultMotion: i = "no-preference", defaultTheme: l, global: g = !1 } = {}) => {
|
|
319
318
|
try {
|
|
320
319
|
let h = ht(s), d = _t(l), m = yt(i);
|
|
321
|
-
$e(
|
|
320
|
+
$e(r), et(h), tt(d), at(m), e.provide("mq", b), e.provide("updateBreakpoints", J), g === !0 && (e.component("MqResponsive", kt), e.config.globalProperties.$mq = b), J({
|
|
322
321
|
breakpoints: t,
|
|
323
322
|
mergeBreakpoints: a,
|
|
324
323
|
preset: o
|
|
@@ -327,7 +326,7 @@ var Tt = { install: (e, { preset: o = "bootstrap5", breakpoints: t, mergeBreakpo
|
|
|
327
326
|
console.error(h);
|
|
328
327
|
}
|
|
329
328
|
} };
|
|
330
|
-
const Mt = "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",
|
|
329
|
+
const Mt = "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", Ct = ["aria-level"], Bt = ["src"], At = { class: "login-form__field" }, St = { for: "user" }, Lt = { class: "login-form__field__input-container is-disabled" }, Pt = ["value"], qt = { class: "login-form__field" }, Ft = { for: "password" }, jt = ["readonly"], Vt = ["innerHTML"], Rt = ["innerHTML"], Ht = ["aria-disabled"], zt = /* @__PURE__ */ P({
|
|
331
330
|
__name: "LoginForm.ce",
|
|
332
331
|
props: /* @__PURE__ */ Te({
|
|
333
332
|
titleLevel: { type: Number },
|
|
@@ -341,31 +340,31 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
341
340
|
}),
|
|
342
341
|
emits: ["update:password", "update:currentFeedbackType"],
|
|
343
342
|
setup(e) {
|
|
344
|
-
const { i18next: o } =
|
|
343
|
+
const { i18next: o } = R(), t = de(), a = I(e, "password"), r = I(e, "currentFeedbackType"), s = _e("passwordInput");
|
|
345
344
|
function i() {
|
|
346
345
|
const d = e.validations.password.localeCompare(a.value, o.language, { sensitivity: "base" }) === 0;
|
|
347
|
-
|
|
346
|
+
r.value = d ? "success" : "failure", !d && s.value.focus();
|
|
348
347
|
}
|
|
349
|
-
const l = c(() =>
|
|
348
|
+
const l = c(() => r.value === "success"), g = c(() => r.value === "failure"), h = c(() => e.currentFeedback !== void 0 && !t.phone);
|
|
350
349
|
return (d, m) => (v(), k("form", {
|
|
351
350
|
class: "login-form",
|
|
352
|
-
onSubmit: m[1] || (m[1] = ye((
|
|
351
|
+
onSubmit: m[1] || (m[1] = ye((p) => i(), ["prevent"]))
|
|
353
352
|
}, [
|
|
354
|
-
|
|
353
|
+
n("div", {
|
|
355
354
|
role: "heading",
|
|
356
355
|
"aria-level": e.titleLevel,
|
|
357
356
|
class: "login-form__title"
|
|
358
357
|
}, [
|
|
359
|
-
|
|
360
|
-
src:
|
|
358
|
+
n("img", {
|
|
359
|
+
src: B(Mt),
|
|
361
360
|
alt: ""
|
|
362
|
-
}, null, 8,
|
|
363
|
-
xe(" " +
|
|
364
|
-
], 8,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
361
|
+
}, null, 8, Bt),
|
|
362
|
+
xe(" " + f(d.$t("trouver-mdp-rs.connection")), 1)
|
|
363
|
+
], 8, Ct),
|
|
364
|
+
n("div", At, [
|
|
365
|
+
n("label", St, f(d.$t("trouver-mdp-rs.login")), 1),
|
|
366
|
+
n("div", Lt, [
|
|
367
|
+
n("input", {
|
|
369
368
|
id: "user",
|
|
370
369
|
value: e.validations.user,
|
|
371
370
|
readonly: "",
|
|
@@ -373,74 +372,61 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
373
372
|
}, null, 8, Pt)
|
|
374
373
|
])
|
|
375
374
|
]),
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
375
|
+
n("div", qt, [
|
|
376
|
+
n("label", Ft, f(d.$t("trouver-mdp-rs.password")), 1),
|
|
377
|
+
n("div", {
|
|
379
378
|
class: E(["login-form__field__input-container", {
|
|
380
|
-
"is-error":
|
|
379
|
+
"is-error": g.value,
|
|
381
380
|
"is-success": l.value,
|
|
382
381
|
"is-disabled": l.value
|
|
383
382
|
}])
|
|
384
383
|
}, [
|
|
385
|
-
we(
|
|
384
|
+
we(n("input", {
|
|
385
|
+
id: "password",
|
|
386
386
|
ref_key: "passwordInput",
|
|
387
387
|
ref: s,
|
|
388
|
-
|
|
389
|
-
readonly: l.value
|
|
390
|
-
"onUpdate:modelValue": m[0] || (m[0] = (f) => a.value = f)
|
|
388
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => a.value = p),
|
|
389
|
+
readonly: l.value
|
|
391
390
|
}, null, 8, jt), [
|
|
392
391
|
[ke, a.value]
|
|
393
392
|
]),
|
|
394
|
-
l.value ? (v(),
|
|
393
|
+
l.value ? (v(), A(O, {
|
|
395
394
|
key: 0,
|
|
396
395
|
color: "#007740",
|
|
397
|
-
class: "login-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
b.value ? (v(), C(W, {
|
|
396
|
+
class: "login-form__field__icon"
|
|
397
|
+
})) : S("", !0),
|
|
398
|
+
g.value ? (v(), A(W, {
|
|
401
399
|
key: 1,
|
|
402
|
-
class: "login-
|
|
403
|
-
color: "#A94B0C"
|
|
404
|
-
|
|
405
|
-
})) : A("", !0)
|
|
400
|
+
class: "login-form__field__icon",
|
|
401
|
+
color: "#A94B0C"
|
|
402
|
+
})) : S("", !0)
|
|
406
403
|
], 2)
|
|
407
404
|
]),
|
|
408
|
-
h.value
|
|
409
|
-
key: 0,
|
|
410
|
-
class: "feedback"
|
|
411
|
-
}, {
|
|
405
|
+
x(Re, { "display-feedback": h.value }, {
|
|
412
406
|
icon: _(() => [
|
|
413
|
-
l.value ? (v(),
|
|
414
|
-
|
|
415
|
-
class: "feedback__feedback-icon",
|
|
416
|
-
"aria-hidden": "true"
|
|
417
|
-
})) : A("", !0),
|
|
418
|
-
b.value ? (v(), C(W, {
|
|
419
|
-
key: 1,
|
|
420
|
-
class: "feedback__feedback-icon",
|
|
421
|
-
"aria-hidden": "true"
|
|
422
|
-
})) : A("", !0)
|
|
407
|
+
l.value ? (v(), A(O, { key: 0 })) : S("", !0),
|
|
408
|
+
g.value ? (v(), A(W, { key: 1 })) : S("", !0)
|
|
423
409
|
]),
|
|
424
410
|
title: _(() => [
|
|
425
|
-
|
|
411
|
+
n("span", {
|
|
426
412
|
innerHTML: e.currentFeedback.title
|
|
427
413
|
}, null, 8, Vt)
|
|
428
414
|
]),
|
|
429
415
|
content: _(() => [
|
|
430
|
-
|
|
416
|
+
n("span", {
|
|
431
417
|
innerHTML: e.currentFeedback.content
|
|
432
|
-
}, null, 8,
|
|
418
|
+
}, null, 8, Rt)
|
|
433
419
|
]),
|
|
434
420
|
_: 1
|
|
435
|
-
}
|
|
436
|
-
|
|
421
|
+
}, 8, ["display-feedback"]),
|
|
422
|
+
n("button", {
|
|
437
423
|
type: "submit",
|
|
438
424
|
"aria-disabled": l.value,
|
|
439
425
|
class: E({ "is-disabled": l.value })
|
|
440
|
-
},
|
|
426
|
+
}, f(d.$t("trouver-mdp-rs.submitButton")), 11, Ht)
|
|
441
427
|
], 32));
|
|
442
428
|
}
|
|
443
|
-
}), Nt = ".
|
|
429
|
+
}), Nt = ".login-form[data-v-cfad7544]{display:flex;flex-direction:column;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-cfad7544]{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-cfad7544]{display:flex;flex-direction:column}.login-form__field label[data-v-cfad7544]{color:#5e6c84;font-size:.875rem;line-height:1.25rem}.login-form__field__icon[data-v-cfad7544]{width:16px;height:16px}.login-form__field__input-container[data-v-cfad7544]{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-cfad7544]{background:transparent;border:none;width:100%}.login-form__field__input-container input[data-v-cfad7544]:focus{border:none;outline:none}.login-form__field__input-container input.is-disabled[data-v-cfad7544]{cursor:not-allowed}.login-form__field__input-container.is-error[data-v-cfad7544]{border:1px solid #d73328;background:#fbebea}.login-form__field__input-container.is-success[data-v-cfad7544]{border:1px solid #00a85a;background:#e6f6ef}.login-form__field__input-container.is-disabled[data-v-cfad7544]{cursor:not-allowed}.login-form__field__input-container[data-v-cfad7544]:focus-within{outline:2px solid black}.login-form button[data-v-cfad7544]{cursor:pointer;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-cfad7544]{background:#cdd1d9;border:none;cursor:not-allowed}@media screen and (max-width:769px){.login-form[data-v-cfad7544]{border-radius:14px;background:#fff;box-shadow:0 -20px 60px -15px #2c75ff26;z-index:10}}", It = /* @__PURE__ */ q(zt, [["styles", [Nt]], ["__scopeId", "data-v-cfad7544"]]), $ = "data:image/webp;base64,UklGRq4OAABXRUJQVlA4WAoAAAAQAAAAmwAAmwAAQUxQSEADAAABCqqurU1urJJKqhcINurByC+QgRkZB1sqFqmYJT9CkmbBxkX7jj2bmtWdX8BSWCTjD/Xw38FDDf93dOH5vy8iJoARHM+qV/X6t+1OPodkstv6mq+q2ThTvrha1H99Dq2bc3FVKDW93YRe+u1Um7PytYQeC0tXo5i/CQO0eaHB+UrCQIXnsbNNGLRbxPLFNg3ePI/U8ilF0ZYxunlM0aTHZtaEqDYWk1EdostRNCoJEZYqDs/ehEjbswiUEqIt5eBWIeoc1qQJkW8mA7qWEH2xwSyDijaQh6SkD6JOanIAPyZFvW/5+6QqrV/vk7LslSd1vUd1Upi9eUgqe0+WSWnrxXVS23owEb1k0l0TFG86WwXV2VEZlC87eSbaybMu3gT1rYMqAFi1NhIEhG3VAUK2NEsgWjsNCk0rNwFGb+MRB7awTEDaSfkTEpafskhQ+ilbLOyEeQLTjtug4UedJzh5zAoPHlEIHlIcsgCoHXqDiB04S5D6vhKTct9rTLhPMJE90wDq9D+3qP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ycutL6xqS2M0uCzEsRoayrzN/t4WY4dbHdnl5XkiyPybYIvQSkurCTK8RXRwqWnzFX9wUxJ5Uk5brMEoLTq+/OagVnCu8z6n6BamKEccLcHOWH2fpLemOSzh+54zYuw/6JqHpHHdWyX20cP8MGAT9aPBJQLMHpWleGNwAAAAA==", Et = "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", Ut = { class: "header" }, Yt = ["src"], Ot = { class: "header__user" }, Wt = { class: "header__user__name" }, Dt = { class: "header__user__tag" }, Xt = { class: "user-profile" }, Gt = { class: "user-profile__location" }, Zt = ["src"], Qt = { class: "user-profile__metadata" }, Kt = ["aria-setsize"], Jt = ["aria-posinset", "aria-labeledby", "aria-describedby"], $t = ["aria-level"], ea = { class: "article__header__user-container" }, ta = ["src"], aa = { class: "article__header__user" }, oa = { class: "article__header__user__name" }, na = { class: "article__header__user__tag" }, ra = ["datetime"], ia = /* @__PURE__ */ P({
|
|
444
430
|
__name: "SocialNetwork.ce",
|
|
445
431
|
props: {
|
|
446
432
|
userName: { type: String },
|
|
@@ -451,62 +437,62 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
451
437
|
titleLevel: { type: Number }
|
|
452
438
|
},
|
|
453
439
|
setup(e) {
|
|
454
|
-
const { i18next: o } =
|
|
440
|
+
const { i18next: o } = R();
|
|
455
441
|
function t(a) {
|
|
456
442
|
return Intl.DateTimeFormat(o.language).format(new Date(a));
|
|
457
443
|
}
|
|
458
|
-
return (a,
|
|
444
|
+
return (a, r) => {
|
|
459
445
|
const s = Me("i18next");
|
|
460
446
|
return v(), k(U, null, [
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
src:
|
|
447
|
+
n("header", Ut, [
|
|
448
|
+
n("img", {
|
|
449
|
+
src: B($),
|
|
464
450
|
alt: ""
|
|
465
451
|
}, null, 8, Yt),
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
452
|
+
n("div", Ot, [
|
|
453
|
+
n("span", Wt, f(e.userName), 1),
|
|
454
|
+
n("span", Dt, f(e.tag), 1)
|
|
469
455
|
])
|
|
470
456
|
]),
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
src:
|
|
457
|
+
n("section", Xt, [
|
|
458
|
+
n("p", null, f(e.bio), 1),
|
|
459
|
+
n("div", Gt, [
|
|
460
|
+
n("img", {
|
|
461
|
+
src: B(Et),
|
|
476
462
|
alt: ""
|
|
477
463
|
}, null, 8, Zt),
|
|
478
|
-
|
|
464
|
+
n("p", null, f(e.location), 1)
|
|
479
465
|
]),
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
466
|
+
n("div", Qt, [
|
|
467
|
+
n("p", null, [
|
|
468
|
+
x(s, {
|
|
483
469
|
translation: a.$t("trouver-mdp-rs.userProfile.followers")
|
|
484
470
|
}, {
|
|
485
|
-
count: _(() => [...
|
|
486
|
-
|
|
471
|
+
count: _(() => [...r[0] || (r[0] = [
|
|
472
|
+
n("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
487
473
|
])]),
|
|
488
474
|
_: 1
|
|
489
475
|
}, 8, ["translation"])
|
|
490
476
|
]),
|
|
491
|
-
|
|
492
|
-
|
|
477
|
+
n("p", null, [
|
|
478
|
+
x(s, {
|
|
493
479
|
translation: a.$t("trouver-mdp-rs.userProfile.subscriptions")
|
|
494
480
|
}, {
|
|
495
|
-
count: _(() => [...
|
|
496
|
-
|
|
481
|
+
count: _(() => [...r[1] || (r[1] = [
|
|
482
|
+
n("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
497
483
|
])]),
|
|
498
484
|
_: 1
|
|
499
485
|
}, 8, ["translation"])
|
|
500
486
|
])
|
|
501
487
|
])
|
|
502
488
|
]),
|
|
503
|
-
|
|
489
|
+
n("section", {
|
|
504
490
|
role: "feed",
|
|
505
491
|
"aria-busy": "false",
|
|
506
492
|
"aria-setsize": e.publications.length,
|
|
507
493
|
class: "feed-container"
|
|
508
494
|
}, [
|
|
509
|
-
(v(!0), k(U, null,
|
|
495
|
+
(v(!0), k(U, null, Ce(e.publications, (i, l) => (v(), k("article", {
|
|
510
496
|
key: e.tag + l,
|
|
511
497
|
"aria-posinset": l,
|
|
512
498
|
"aria-labeledby": e.userName,
|
|
@@ -516,33 +502,33 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
516
502
|
role: "article",
|
|
517
503
|
class: "article"
|
|
518
504
|
}, [
|
|
519
|
-
|
|
505
|
+
n("div", {
|
|
520
506
|
role: "heading",
|
|
521
507
|
"aria-level": e.titleLevel + 2,
|
|
522
508
|
class: "article__header"
|
|
523
509
|
}, [
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
src:
|
|
510
|
+
n("address", ea, [
|
|
511
|
+
n("img", {
|
|
512
|
+
src: B($),
|
|
527
513
|
alt: ""
|
|
528
514
|
}, null, 8, ta),
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
515
|
+
n("div", aa, [
|
|
516
|
+
n("span", oa, f(e.userName), 1),
|
|
517
|
+
n("span", na, f(e.tag), 1)
|
|
532
518
|
])
|
|
533
519
|
]),
|
|
534
|
-
|
|
520
|
+
n("time", {
|
|
535
521
|
class: "article__header__date",
|
|
536
522
|
datetime: i.date
|
|
537
|
-
},
|
|
523
|
+
}, f(t(i.date)), 9, ra)
|
|
538
524
|
], 8, $t),
|
|
539
|
-
|
|
525
|
+
n("p", null, f(i.content), 1)
|
|
540
526
|
], 8, Jt))), 128))
|
|
541
527
|
], 8, Kt)
|
|
542
528
|
], 64);
|
|
543
529
|
};
|
|
544
530
|
}
|
|
545
|
-
}), la = ".header[data-v-
|
|
531
|
+
}), la = ".header[data-v-2bb2b7fa]{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-2bb2b7fa]{width:50px}.header__user[data-v-2bb2b7fa]{display:flex;flex-direction:column}.header__user__name[data-v-2bb2b7fa]{font-family:Nunito,sans-serif;font-size:1.125rem;font-weight:700;line-height:1.56rem}.header__user__tag[data-v-2bb2b7fa]{color:#5e6c84;font-size:.875rem;font-weight:400;line-height:1.25rem}.user-profile[data-v-2bb2b7fa]{display:flex;flex-direction:column;gap:8px;font-size:.875rem;padding:.25rem 1rem}.user-profile p[data-v-2bb2b7fa]{margin:0}.user-profile__location[data-v-2bb2b7fa]{display:flex;gap:.25rem;color:#5e6c84;font-weight:400;line-height:1.25rem;margin:0}.user-profile__metadata[data-v-2bb2b7fa]{display:flex;gap:.75rem}.user-profile__metadata__number[data-v-2bb2b7fa]{color:#122647;font-weight:700}.user-profile__metadata__text[data-v-2bb2b7fa]{color:#5e6c84;font-weight:400;margin-left:.25rem}.feed-container[data-v-2bb2b7fa]{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-2bb2b7fa]{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-2bb2b7fa]{margin:0}.feed-container .article__header[data-v-2bb2b7fa]{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-2bb2b7fa]{display:flex;gap:4px;font-style:normal}.feed-container .article__header__user-container img[data-v-2bb2b7fa]{width:35px;height:35px}.feed-container .article__header__user[data-v-2bb2b7fa]{display:flex;flex-direction:column}.feed-container .article__header__user__name[data-v-2bb2b7fa]{font-family:Nunito,sans-serif;font-weight:700}@media screen and (max-width:769px){.header[data-v-2bb2b7fa]{border-radius:0}.feed-container[data-v-2bb2b7fa]{overflow:unset}}", sa = /* @__PURE__ */ q(ia, [["styles", [la]], ["__scopeId", "data-v-2bb2b7fa"]]), da = /* @__PURE__ */ P({
|
|
546
532
|
__name: "MobileShellWrapper.ce",
|
|
547
533
|
props: {
|
|
548
534
|
backgroundColor: { type: String },
|
|
@@ -550,17 +536,17 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
550
536
|
},
|
|
551
537
|
setup(e) {
|
|
552
538
|
return (o, t) => (v(), k("div", {
|
|
553
|
-
style:
|
|
539
|
+
style: Be({
|
|
554
540
|
"--background-color": e.backgroundColor ?? "#f4f5f7",
|
|
555
541
|
"--border-bottom": e.hasBorderBottom ? "10px solid black" : "none"
|
|
556
542
|
}),
|
|
557
543
|
class: "mobile-wrapper"
|
|
558
544
|
}, [
|
|
559
|
-
t[0] || (t[0] = Ae('<div class="cache-top" data-v-
|
|
545
|
+
t[0] || (t[0] = Ae('<div class="cache-top" data-v-7b6a98ec><div class="camera" data-v-7b6a98ec></div></div><div class="buttons" data-v-7b6a98ec><div class="button small" data-v-7b6a98ec></div><div class="button long" data-v-7b6a98ec></div><div class="button long" data-v-7b6a98ec></div></div>', 2)),
|
|
560
546
|
Se(o.$slots, "content", {}, void 0, !0)
|
|
561
547
|
], 4));
|
|
562
548
|
}
|
|
563
|
-
}), ca = '.mobile-wrapper[data-v-
|
|
549
|
+
}), ca = '.mobile-wrapper[data-v-7b6a98ec]{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-7b6a98ec]{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-7b6a98ec]{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-7b6a98ec]: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-7b6a98ec]{position:absolute;top:10%;left:-12.5px;height:20%;width:5px}.mobile-wrapper .button[data-v-7b6a98ec]{width:5px;background:#000;margin-bottom:10px;border-radius:30%}.mobile-wrapper .button.small[data-v-7b6a98ec]{height:15px;margin-bottom:10px}.mobile-wrapper .button.long[data-v-7b6a98ec]{height:30px}.mobile-wrapper[data-v-7b6a98ec]:first-child{border-radius:16px}', ua = /* @__PURE__ */ q(da, [["styles", [ca]], ["__scopeId", "data-v-7b6a98ec"]]), pa = { class: "main-container" }, fa = ["innerHTML"], ma = ["innerHTML"], ba = /* @__PURE__ */ P({
|
|
564
550
|
__name: "TrouverMdpRs.ce",
|
|
565
551
|
props: {
|
|
566
552
|
titleLevel: { default: 2, type: Number },
|
|
@@ -569,53 +555,53 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
569
555
|
userProfile: { type: Object }
|
|
570
556
|
},
|
|
571
557
|
setup(e, { expose: o }) {
|
|
572
|
-
const { t } =
|
|
558
|
+
const { t } = R(), a = de();
|
|
573
559
|
Ve();
|
|
574
|
-
const
|
|
560
|
+
const r = y(""), s = y(), i = c(() => s.value === "success"), l = c(() => {
|
|
575
561
|
if (s.value !== void 0)
|
|
576
562
|
return i.value ? e.feedback.success : e.feedback.failed;
|
|
577
|
-
}),
|
|
563
|
+
}), g = c(() => l.value !== void 0 && a.phone);
|
|
578
564
|
function h() {
|
|
579
|
-
|
|
565
|
+
r.value = "", s.value = void 0;
|
|
580
566
|
}
|
|
581
567
|
function d() {
|
|
582
568
|
s.value = void 0;
|
|
583
569
|
}
|
|
584
570
|
return o({
|
|
585
571
|
reset: h
|
|
586
|
-
}), (m,
|
|
587
|
-
|
|
572
|
+
}), (m, p) => (v(), k("div", pa, [
|
|
573
|
+
x(It, {
|
|
588
574
|
"current-feedback-type": s.value,
|
|
589
|
-
"onUpdate:currentFeedbackType":
|
|
590
|
-
password:
|
|
591
|
-
"onUpdate:password":
|
|
575
|
+
"onUpdate:currentFeedbackType": p[0] || (p[0] = (C) => s.value = C),
|
|
576
|
+
password: r.value,
|
|
577
|
+
"onUpdate:password": p[1] || (p[1] = (C) => r.value = C),
|
|
592
578
|
"current-feedback": l.value,
|
|
593
579
|
"title-level": e.titleLevel + 1,
|
|
594
580
|
validations: e.validations
|
|
595
581
|
}, null, 8, ["current-feedback-type", "password", "current-feedback", "title-level", "validations"]),
|
|
596
|
-
|
|
582
|
+
x(ua, {
|
|
597
583
|
class: "mobile-shell",
|
|
598
584
|
"background-color": "#fff"
|
|
599
585
|
}, {
|
|
600
586
|
content: _(() => [
|
|
601
|
-
|
|
587
|
+
x(sa, Le(e.userProfile, { "title-level": e.titleLevel }), null, 16, ["title-level"])
|
|
602
588
|
]),
|
|
603
589
|
_: 1
|
|
604
590
|
}),
|
|
605
|
-
|
|
606
|
-
show:
|
|
607
|
-
"text-button": i.value ? "" :
|
|
591
|
+
x(He, {
|
|
592
|
+
show: g.value,
|
|
593
|
+
"text-button": i.value ? "" : B(t)("trouver-mdp-rs.retryButtonLabel"),
|
|
608
594
|
"button-position": "center",
|
|
609
595
|
class: "popin",
|
|
610
596
|
onPrimaryAction: d
|
|
611
597
|
}, {
|
|
612
598
|
title: _(() => [
|
|
613
|
-
|
|
599
|
+
n("span", {
|
|
614
600
|
innerHTML: l.value?.title
|
|
615
|
-
}, null, 8,
|
|
601
|
+
}, null, 8, fa)
|
|
616
602
|
]),
|
|
617
603
|
content: _(() => [
|
|
618
|
-
|
|
604
|
+
n("span", {
|
|
619
605
|
innerHTML: l.value?.content
|
|
620
606
|
}, null, 8, ma)
|
|
621
607
|
]),
|
|
@@ -623,9 +609,9 @@ const Mt = "data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%20
|
|
|
623
609
|
}, 8, ["show", "text-button"])
|
|
624
610
|
]));
|
|
625
611
|
}
|
|
626
|
-
}),
|
|
627
|
-
qe(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json":
|
|
628
|
-
const ce = Pe(
|
|
612
|
+
}), va = ".main-container[data-v-77766119]{font-family:Roboto,Nunito,sans-serif;color:#122647;position:relative;display:flex;gap:32px;padding-inline:.75rem;max-height:550px}.mobile-shell[data-v-77766119]{flex:1}.popin[data-v-77766119]{display:none}@media screen and (max-width:769px){.main-container[data-v-77766119]{flex-direction:column-reverse}.mobile-shell[data-v-77766119]{display:flex;flex-direction:column;gap:16px;overflow-y:scroll;border:none;border-radius:0}.mobile-shell[data-v-77766119] .buttons,.mobile-shell[data-v-77766119] .cache-top{display:none}.popin[data-v-77766119]{display:inherit}}", ga = /* @__PURE__ */ q(ba, [["styles", [va]], ["__scopeId", "data-v-77766119"]]);
|
|
613
|
+
qe(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ze, "./locales/en.json": Ne, "./locales/es-419.json": Ie, "./locales/es.json": Ee, "./locales/fr-BE.json": Ue, "./locales/fr.json": Ye, "./locales/it.json": Oe, "./locales/nl.json": We })).catch((e) => console.error(e));
|
|
614
|
+
const ce = Pe(ga, {
|
|
629
615
|
configureApp(e) {
|
|
630
616
|
Y.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(Fe, { i18next: Y }), e.use(Tt, { preset: "devices" });
|
|
631
617
|
}
|