@1024pix/epreuves-components 2.8.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button.ce-CTKrSDrC.js +27 -0
- package/dist/{ButtonTooltip.ce-BjlMn9Ez.js → ButtonTooltip.ce-CtHo2Dwx.js} +1 -1
- package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-D7kq2waU.js → Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js} +5 -5
- package/dist/{LLMMessage.ce-B4Tg1zsn.js → LLMMessage.ce-Dv4hVX0C.js} +2 -2
- package/dist/{Loading.ce-S-dh_E78.js → Loading.ce-Bh7-h48F.js} +1 -1
- package/dist/{NavigationButton.ce-DRBC3gta.js → NavigationButton.ce-CA1M8sgV.js} +2 -2
- package/dist/PixMailMessage.ce-XPDbJiyC.js +219 -0
- package/dist/Popin.ce-DUQ7-GMT.js +197 -0
- package/dist/{Retry-CoaWKuPG.js → Retry-BZf7NJz9.js} +1 -1
- package/dist/Stepper.ce-B1yDelzC.js +27 -0
- package/dist/{_plugin-vue_export-helper-BPDEgOal.js → _plugin-vue_export-helper-D0N_62VD.js} +273 -258
- package/dist/components/analyse-mails-phishing.ce.js.js +259 -0
- package/dist/components/calcul-impact.ce.js.js +9 -9
- package/dist/components/capacity-calculation.ce.js.js +4 -4
- package/dist/components/clickable-image.ce.js.js +11 -11
- package/dist/components/complete-phrase.ce.js.js +7 -7
- package/dist/components/flip-cards.ce.js.js +5 -5
- package/dist/components/image-quiz.ce.js.js +4 -4
- package/dist/components/image-quizzes.ce.js.js +3 -3
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +2 -2
- package/dist/components/mdp-classement.ce.js.js +29 -29
- package/dist/components/message-conversation.ce.js.js +5 -5
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +17 -17
- package/dist/components/phishing-notification.ce.js.js +15 -15
- package/dist/components/pix-anonymisation.ce.js.js +83 -87
- package/dist/components/pix-article.ce.js.js +5 -5
- package/dist/components/pix-carousel.ce.js.js +13 -13
- package/dist/components/pix-combinaisons.ce.js.js +238 -0
- package/dist/components/pix-cursor.ce.js.js +20 -20
- package/dist/components/pix-mail-message.ce.js.js +11 -0
- package/dist/components/proteger-mail-spam.ce.js.js +129 -0
- package/dist/components/qcm-deepfake.ce.js.js +27 -27
- package/dist/components/quiz-stepper.ce.js.js +83 -89
- package/dist/components/select-conversation.ce.js.js +15 -15
- package/dist/components/template-mail.ce.js.js +49 -151
- package/dist/components/test-top-mdp.ce.js.js +14 -14
- package/dist/components/trouver-mdp-rs.ce.js.js +307 -343
- package/dist/{i18n-BuCPzaih.js → i18n-ekiZvzf6.js} +9 -9
- package/dist/{i18n-lite-DBVKHY8J.js → i18n-lite-t2jNOu0C.js} +8 -8
- package/dist/{image-quiz.ce-CXOFcx1H.js → image-quiz.ce-DqalWHKw.js} +11 -11
- package/dist/index-BpqxFmwz.js +10 -0
- package/dist/index.js +5 -1
- package/dist/metadata.js +45 -29
- package/dist/nl-Bonww6Q2.js +13 -0
- package/dist/{normalize-props-DtfVI0Xg.js → normalize-props-DH0oPBss.js} +2 -2
- package/dist/props.examples.js +130 -0
- package/dist/schema.js +134 -68
- package/dist/{shadow-dom-By5w43W7.js → shadow-dom-C3AZuSZe.js} +1 -1
- package/dist/temporal.utils-7Uvm62ss.js +10926 -0
- package/package.json +4 -2
- package/dist/Button.ce-D1_fAhqr.js +0 -18
- package/dist/temporal.utils-CotrC6ao.js +0 -14456
|
@@ -1,167 +1,168 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { u as Y, a as qe, i as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
|
|
1
|
+
import { r as m, a0 as ve, a1 as P, i as ge, g as u, a2 as N, a3 as be, T as he, b as R, j as ae, c as C, o as v, l as H, a as n, f as T, B as S, H as _e, k as L, n as U, K as j, t as _, _ as F, G as xe, F as W, E as k, e as ye, s as we, D as ke, q as Ce, u as Be, m as Pe, d as Ae } from "../_plugin-vue_export-helper-D0N_62VD.js";
|
|
2
|
+
import { u as Y, a as qe, i as X, b as Me } from "../i18n-ekiZvzf6.js";
|
|
3
|
+
import { b as Te } from "../normalize-props-DH0oPBss.js";
|
|
4
|
+
import { _ as D, a as G, F as Se } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js";
|
|
5
|
+
import { P as Le } from "../Popin.ce-DUQ7-GMT.js";
|
|
6
|
+
const je = {}, Ve = {}, ze = {}, Re = {}, Fe = {}, Ie = {
|
|
6
7
|
"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" } }
|
|
7
|
-
}, oe =
|
|
8
|
+
}, Ne = {}, Ee = {}, oe = m([]), ne = m(null), re = m(null), ie = m(null), se = m(null), f = ve({
|
|
8
9
|
current: ""
|
|
9
|
-
}),
|
|
10
|
+
}), O = [], We = m(!1), B = P(oe), Oe = P(ne), Ye = P(re), He = P(ie), Ue = P(se), b = P(f), Xe = (e) => {
|
|
10
11
|
oe.value = e;
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
},
|
|
12
|
+
}, De = (e) => {
|
|
13
|
+
ne.value = e;
|
|
14
|
+
}, Ge = (e) => {
|
|
14
15
|
re.value = e;
|
|
15
|
-
},
|
|
16
|
+
}, Ze = (e) => {
|
|
17
|
+
ie.value = e;
|
|
18
|
+
}, Qe = (e) => {
|
|
16
19
|
se.value = e;
|
|
17
|
-
},
|
|
18
|
-
le.value = e;
|
|
19
|
-
}, de = (e = Re.value) => {
|
|
20
|
+
}, le = (e = Oe.value) => {
|
|
20
21
|
f.current = e;
|
|
21
|
-
const
|
|
22
|
+
const o = B.value.findIndex(
|
|
22
23
|
(a) => a.name === e
|
|
23
|
-
), t =
|
|
24
|
+
), t = B.value.map((a) => a.name);
|
|
24
25
|
for (let a = 0; a < t.length; a++) {
|
|
25
26
|
if (a > 0 && a < t.length - 1) {
|
|
26
|
-
const
|
|
27
|
-
f[
|
|
27
|
+
const r = t[a] + "Minus", i = t[a] + "Plus";
|
|
28
|
+
f[r] = o <= a, f[i] = o >= a;
|
|
28
29
|
}
|
|
29
30
|
f[t[a]] = t[a] === e;
|
|
30
31
|
}
|
|
31
|
-
},
|
|
32
|
+
}, Ke = () => {
|
|
32
33
|
const e = Object.keys(f);
|
|
33
|
-
for (let
|
|
34
|
-
delete f[
|
|
35
|
-
|
|
36
|
-
},
|
|
34
|
+
for (let o of e)
|
|
35
|
+
delete f[o];
|
|
36
|
+
le(), de(), ce(), ue();
|
|
37
|
+
}, de = (e = Ye.value) => {
|
|
37
38
|
f.orientation = e, f.isLandscape = e === "landscape", f.isPortrait = e === "portrait";
|
|
38
|
-
},
|
|
39
|
+
}, ce = (e = He.value || "light") => {
|
|
39
40
|
f.theme = e, f.isDark = e === "dark", f.isLight = e === "light";
|
|
40
|
-
},
|
|
41
|
+
}, ue = (e = Ue.value || "no-preference") => {
|
|
41
42
|
f.motionPreference = e, f.isMotion = e === "no-preference", f.isInert = e === "reduce";
|
|
42
43
|
};
|
|
43
|
-
function
|
|
44
|
-
for (;
|
|
45
|
-
const e =
|
|
44
|
+
function Je() {
|
|
45
|
+
for (; O.length > 0; ) {
|
|
46
|
+
const e = O.shift();
|
|
46
47
|
if (e && typeof e == "object") {
|
|
47
|
-
const { mql:
|
|
48
|
-
|
|
48
|
+
const { mql: o, cb: t } = e;
|
|
49
|
+
o.addEventListener && typeof o.addEventListener == "function" ? o.removeEventListener("change", t) : o.removeListener(t);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
54
|
-
(e,
|
|
55
|
-
const
|
|
53
|
+
function $e() {
|
|
54
|
+
return B.value.reduce(
|
|
55
|
+
(e, o, t, a) => {
|
|
56
|
+
const r = `(min-width: ${o.min}px)`, i = t < a.length - 1 ? `(max-width: ${a[t + 1].min - 1}px)` : null, s = r + (i ? " and " + i : "");
|
|
56
57
|
return Object.assign(e, {
|
|
57
|
-
[
|
|
58
|
+
[o.name]: s
|
|
58
59
|
});
|
|
59
60
|
},
|
|
60
61
|
{}
|
|
61
62
|
);
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function z(e, o) {
|
|
64
65
|
if (typeof window > "u" || !window.matchMedia) return !1;
|
|
65
66
|
if (typeof window < "u" && !window.matchMedia)
|
|
66
67
|
return console.error(
|
|
67
68
|
"Vue3 Mq: No MatchMedia support detected in this browser. Responsive breakpoints not available."
|
|
68
69
|
), !1;
|
|
69
70
|
{
|
|
70
|
-
|
|
71
|
-
const t = window.matchMedia(e), a = ({ matches:
|
|
72
|
-
|
|
71
|
+
We.value = !0;
|
|
72
|
+
const t = window.matchMedia(e), a = ({ matches: r }) => {
|
|
73
|
+
r && o();
|
|
73
74
|
};
|
|
74
|
-
|
|
75
|
+
O.push({ mql: t, cb: a }), t.addEventListener && typeof t.addEventListener == "function" ? t.addEventListener("change", a) : t.addListener(a), a(t);
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
|
-
const
|
|
78
|
-
(
|
|
79
|
-
),
|
|
80
|
-
const t =
|
|
78
|
+
const w = (e) => B.value.some(
|
|
79
|
+
(o) => o.name === e
|
|
80
|
+
), Z = (e, o) => {
|
|
81
|
+
const t = o.value.map((a) => a.name);
|
|
81
82
|
if (e) {
|
|
82
83
|
if (Array.isArray(e))
|
|
83
|
-
return e.filter((a) =>
|
|
84
|
+
return e.filter((a) => w(a));
|
|
84
85
|
if (typeof e == "string" && /\w+\+$/.test(e)) {
|
|
85
|
-
if (e = e.replace(/\+$/, ""),
|
|
86
|
+
if (e = e.replace(/\+$/, ""), w(e) === !1)
|
|
86
87
|
return console.error(
|
|
87
88
|
`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`
|
|
88
89
|
), t;
|
|
89
|
-
const a =
|
|
90
|
-
return
|
|
90
|
+
const a = o.value.findIndex((r) => r.name === e);
|
|
91
|
+
return o.value.slice(a).map((r) => r.name);
|
|
91
92
|
} else if (typeof e == "string" && /\w+-$/.test(e)) {
|
|
92
|
-
if (e = e.replace(/-$/, ""),
|
|
93
|
+
if (e = e.replace(/-$/, ""), w(e) === !1)
|
|
93
94
|
return console.error(
|
|
94
95
|
`Vue3 Mq: ${e} is not a valid breakpoint key. Invalid range.`
|
|
95
96
|
), t;
|
|
96
|
-
const a =
|
|
97
|
-
return
|
|
97
|
+
const a = o.value.findIndex((r) => r.name === e);
|
|
98
|
+
return o.value.slice(0, a + 1).map((r) => r.name);
|
|
98
99
|
} else if (typeof e == "string" && /^\w+-\w+$/.test(e)) {
|
|
99
|
-
const [a,
|
|
100
|
-
if (
|
|
100
|
+
const [a, r] = e.split("-");
|
|
101
|
+
if (w(a) === !1)
|
|
101
102
|
return console.error(
|
|
102
103
|
`Vue3 Mq: ${a} is not a valid breakpoint key. Invalid range.`
|
|
103
104
|
), t;
|
|
104
|
-
if (
|
|
105
|
+
if (w(r) === !1)
|
|
105
106
|
return console.error(
|
|
106
|
-
`Vue3 Mq: ${
|
|
107
|
+
`Vue3 Mq: ${r} is not a valid breakpoint key. Invalid range.`
|
|
107
108
|
), t;
|
|
108
|
-
const
|
|
109
|
-
return
|
|
110
|
-
} else return typeof e == "string" &&
|
|
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;
|
|
111
112
|
} else return t;
|
|
112
|
-
},
|
|
113
|
+
}, Q = (e, o) => {
|
|
113
114
|
const t = [];
|
|
114
|
-
return !e && !
|
|
115
|
-
},
|
|
115
|
+
return !e && !o ? ["landscape", "portrait"] : (e && t.push("landscape"), o && t.push("portrait"), t);
|
|
116
|
+
}, K = (e, o) => {
|
|
116
117
|
const t = [];
|
|
117
|
-
return !
|
|
118
|
-
},
|
|
118
|
+
return !o && !e ? ["light", "dark"] : (o && t.push("light"), e && t.push("dark"), t);
|
|
119
|
+
}, J = (e, o) => {
|
|
119
120
|
const t = [];
|
|
120
|
-
return !e && !
|
|
121
|
-
},
|
|
121
|
+
return !e && !o ? ["reduce", "no-preference"] : (e && t.push("reduce"), o && t.push("no-preference"), t);
|
|
122
|
+
}, et = {
|
|
122
123
|
xs: 0,
|
|
123
124
|
sm: 576,
|
|
124
125
|
md: 768,
|
|
125
126
|
lg: 992,
|
|
126
127
|
xl: 1200,
|
|
127
128
|
xxl: 1400
|
|
128
|
-
},
|
|
129
|
+
}, tt = {
|
|
129
130
|
xs: 0,
|
|
130
131
|
sm: 576,
|
|
131
132
|
md: 768,
|
|
132
133
|
lg: 992,
|
|
133
134
|
xl: 1200
|
|
134
|
-
},
|
|
135
|
+
}, at = {
|
|
135
136
|
xs: 0,
|
|
136
137
|
sm: 768,
|
|
137
138
|
md: 992,
|
|
138
139
|
lg: 1200
|
|
139
|
-
},
|
|
140
|
+
}, ot = {
|
|
140
141
|
xs: 0,
|
|
141
142
|
sm: 600,
|
|
142
143
|
md: 960,
|
|
143
144
|
lg: 1280,
|
|
144
145
|
xl: 1920,
|
|
145
146
|
xxl: 2560
|
|
146
|
-
},
|
|
147
|
+
}, nt = {
|
|
147
148
|
xs: 0,
|
|
148
149
|
sm: 600,
|
|
149
150
|
md: 960,
|
|
150
151
|
lg: 1264,
|
|
151
152
|
xl: 1904
|
|
152
|
-
},
|
|
153
|
+
}, rt = {
|
|
153
154
|
xs: 0,
|
|
154
155
|
sm: 640,
|
|
155
156
|
md: 768,
|
|
156
157
|
lg: 1024,
|
|
157
158
|
xl: 1280,
|
|
158
159
|
xxl: 1536
|
|
159
|
-
},
|
|
160
|
+
}, it = {
|
|
160
161
|
phone: 0,
|
|
161
162
|
tablet: 768,
|
|
162
163
|
laptop: 1370,
|
|
163
164
|
desktop: 1906
|
|
164
|
-
},
|
|
165
|
+
}, st = {
|
|
165
166
|
mobile: 0,
|
|
166
167
|
small: 600,
|
|
167
168
|
medium: 782,
|
|
@@ -171,33 +172,33 @@ const B = (e) => P.value.some(
|
|
|
171
172
|
huge: 1440
|
|
172
173
|
}, E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
173
174
|
__proto__: null,
|
|
174
|
-
bootstrap3:
|
|
175
|
-
bootstrap4:
|
|
176
|
-
bootstrap5:
|
|
177
|
-
devices:
|
|
178
|
-
tailwind:
|
|
179
|
-
vuetify:
|
|
180
|
-
vuetify3:
|
|
181
|
-
wordpress:
|
|
182
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
175
|
+
bootstrap3: at,
|
|
176
|
+
bootstrap4: tt,
|
|
177
|
+
bootstrap5: et,
|
|
178
|
+
devices: it,
|
|
179
|
+
tailwind: rt,
|
|
180
|
+
vuetify: nt,
|
|
181
|
+
vuetify3: ot,
|
|
182
|
+
wordpress: st
|
|
183
|
+
}, Symbol.toStringTag, { value: "Module" })), lt = (e) => {
|
|
183
184
|
if (typeof e == "string" && E[e]) return E[e];
|
|
184
185
|
{
|
|
185
|
-
const
|
|
186
|
+
const o = Object.keys(E);
|
|
186
187
|
return console.error(
|
|
187
|
-
`Vue3 Mq: "${e}" is not a valid preset. Available options are: ${
|
|
188
|
+
`Vue3 Mq: "${e}" is not a valid preset. Available options are: ${o.join(
|
|
188
189
|
", "
|
|
189
190
|
)}`
|
|
190
191
|
), !1;
|
|
191
192
|
}
|
|
192
|
-
},
|
|
193
|
+
}, dt = (e) => ["landscape", "portrait"].includes(e) === !1 ? (console.error(
|
|
193
194
|
`Vue3 Mq: "${e}" is not a valid default orientation. Reverting to unset value.`
|
|
194
|
-
), null) : e,
|
|
195
|
+
), null) : e, ct = (e = null) => ["dark", "light"].includes(e) === !1 && e !== null ? (console.error(
|
|
195
196
|
`Vue3 Mq: "${e}" is not a valid default theme. Reverting to unset value.`
|
|
196
|
-
), null) : e,
|
|
197
|
+
), null) : e, ut = (e = null) => ["no-preference", "reduce"].includes(e) === !1 && e !== null ? (console.error(
|
|
197
198
|
`Vue3 Mq: "${e}" is not a valid default motion preference. Reverting to unset value.`
|
|
198
|
-
), null) : e,
|
|
199
|
+
), null) : e, $ = (e) => {
|
|
199
200
|
if (!e || typeof e != "object") return !1;
|
|
200
|
-
const
|
|
201
|
+
const o = [];
|
|
201
202
|
for (let t in e) {
|
|
202
203
|
const a = parseFloat(e[t]);
|
|
203
204
|
if (!t || typeof t != "string") {
|
|
@@ -218,29 +219,29 @@ const B = (e) => P.value.some(
|
|
|
218
219
|
);
|
|
219
220
|
continue;
|
|
220
221
|
}
|
|
221
|
-
|
|
222
|
+
o.push({
|
|
222
223
|
name: t,
|
|
223
224
|
min: a
|
|
224
225
|
});
|
|
225
226
|
}
|
|
226
|
-
return
|
|
227
|
+
return o.some(
|
|
227
228
|
(t) => t.min === 0
|
|
228
229
|
) || console.warn(
|
|
229
230
|
"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."
|
|
230
231
|
), new Set(
|
|
231
|
-
|
|
232
|
-
).size <
|
|
232
|
+
o.map((t) => t.min)
|
|
233
|
+
).size < o.length && console.warn(
|
|
233
234
|
"Vue3 Mq: Your breakpoint configuration contains duplicate values. Behaviour may be unpredictable."
|
|
234
|
-
),
|
|
235
|
-
},
|
|
236
|
-
const
|
|
237
|
-
for (let a of
|
|
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)
|
|
238
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);
|
|
239
240
|
return t;
|
|
240
|
-
},
|
|
241
|
+
}, pt = {
|
|
241
242
|
name: "fade",
|
|
242
243
|
mode: "out-in"
|
|
243
|
-
},
|
|
244
|
+
}, mt = {
|
|
244
245
|
name: "MqResponsive",
|
|
245
246
|
props: {
|
|
246
247
|
/**
|
|
@@ -311,120 +312,120 @@ const B = (e) => P.value.some(
|
|
|
311
312
|
default: !1
|
|
312
313
|
}
|
|
313
314
|
},
|
|
314
|
-
setup(e, { attrs:
|
|
315
|
-
const
|
|
315
|
+
setup(e, { attrs: o, emit: t, slots: a }) {
|
|
316
|
+
const r = u(() => Z(
|
|
316
317
|
e.target,
|
|
317
|
-
|
|
318
|
-
)),
|
|
318
|
+
B
|
|
319
|
+
)), i = u(() => Q(
|
|
319
320
|
e.landscape,
|
|
320
321
|
e.portrait
|
|
321
|
-
)), s = u(() =>
|
|
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) => {
|
|
322
323
|
if (!e.group && a.length > 0) return a;
|
|
323
324
|
const h = [];
|
|
324
|
-
for (let
|
|
325
|
-
const { slotBp:
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
)),
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
)),
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
)),
|
|
335
|
-
|
|
336
|
-
|
|
325
|
+
for (let x in a) {
|
|
326
|
+
const { slotBp: A, slotOrientation: g, slotTheme: q, slotMotion: V } = ft(x), I = u(() => Z(
|
|
327
|
+
A,
|
|
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"
|
|
337
338
|
));
|
|
338
|
-
u(() =>
|
|
339
|
+
u(() => I.value.includes(
|
|
339
340
|
b.current
|
|
340
|
-
) &&
|
|
341
|
+
) && M.value.includes(
|
|
341
342
|
b.orientation
|
|
342
|
-
) &&
|
|
343
|
+
) && y.value.includes(b.theme) && me.value.includes(
|
|
343
344
|
b.motionPreference
|
|
344
345
|
)).value === !0 && h.push(
|
|
345
346
|
N(
|
|
346
|
-
c || a[
|
|
347
|
-
{ key:
|
|
348
|
-
c ? a[
|
|
347
|
+
c || a[x],
|
|
348
|
+
{ key: x },
|
|
349
|
+
c ? a[x]() : void 0
|
|
349
350
|
)
|
|
350
351
|
);
|
|
351
352
|
}
|
|
352
353
|
return h.length > 0 ? h : void 0;
|
|
353
354
|
};
|
|
354
|
-
return a.default ? () => d.value ? N(e.tag, { ...
|
|
355
|
+
return a.default ? () => d.value ? N(e.tag, { ...o }, a.default()) : void 0 : () => {
|
|
355
356
|
const c = Object.assign(
|
|
356
357
|
{},
|
|
357
|
-
|
|
358
|
-
|
|
358
|
+
pt,
|
|
359
|
+
o,
|
|
359
360
|
{ tag: e.tag }
|
|
360
|
-
), h = e.group ?
|
|
361
|
+
), h = e.group ? be : he;
|
|
361
362
|
return N(
|
|
362
363
|
h,
|
|
363
364
|
c,
|
|
364
|
-
() =>
|
|
365
|
+
() => p(e.listTag)
|
|
365
366
|
);
|
|
366
367
|
};
|
|
367
368
|
}
|
|
368
369
|
};
|
|
369
|
-
function
|
|
370
|
-
const t =
|
|
370
|
+
function ee({ breakpoints: e, preset: o }) {
|
|
371
|
+
const t = o ? lt(o) : !1, a = e ? $(e) : !1;
|
|
371
372
|
if (t === !1 && !a)
|
|
372
373
|
throw new TypeError(
|
|
373
374
|
"Vue3 Mq: You must provide a valid preset, or valid breakpoint settings."
|
|
374
375
|
);
|
|
375
|
-
|
|
376
|
-
a ||
|
|
377
|
-
),
|
|
378
|
-
const
|
|
379
|
-
for (const
|
|
380
|
-
const s = i
|
|
381
|
-
|
|
382
|
-
|
|
376
|
+
Xe(
|
|
377
|
+
a || $(t)
|
|
378
|
+
), Je(), Ke();
|
|
379
|
+
const r = $e();
|
|
380
|
+
for (const i in r) {
|
|
381
|
+
const s = r[i];
|
|
382
|
+
z(s, () => {
|
|
383
|
+
le(i);
|
|
383
384
|
});
|
|
384
385
|
}
|
|
385
|
-
["portrait", "landscape"].forEach((
|
|
386
|
+
["portrait", "landscape"].forEach((i) => {
|
|
386
387
|
const s = () => {
|
|
387
|
-
|
|
388
|
+
de(i);
|
|
388
389
|
};
|
|
389
|
-
|
|
390
|
-
}), ["light", "dark"].forEach((
|
|
390
|
+
z(`(orientation: ${i})`, s);
|
|
391
|
+
}), ["light", "dark"].forEach((i) => {
|
|
391
392
|
const s = () => {
|
|
392
|
-
|
|
393
|
+
ce(i);
|
|
393
394
|
};
|
|
394
|
-
|
|
395
|
-
}), ["reduce", "no-preference"].forEach((
|
|
395
|
+
z(`(prefers-color-scheme: ${i})`, s);
|
|
396
|
+
}), ["reduce", "no-preference"].forEach((i) => {
|
|
396
397
|
const s = () => {
|
|
397
|
-
|
|
398
|
+
ue(i);
|
|
398
399
|
};
|
|
399
|
-
|
|
400
|
+
z(`(prefers-reduced-motion: ${i})`, s);
|
|
400
401
|
});
|
|
401
402
|
}
|
|
402
|
-
function
|
|
403
|
-
const e =
|
|
403
|
+
function fe() {
|
|
404
|
+
const e = ge("mq");
|
|
404
405
|
if (e)
|
|
405
406
|
return e;
|
|
406
407
|
throw new Error(
|
|
407
408
|
"Vue3Mq is not installed in this app. Please follow the installation instructions and try again."
|
|
408
409
|
);
|
|
409
410
|
}
|
|
410
|
-
const
|
|
411
|
-
preset:
|
|
411
|
+
const vt = (e, {
|
|
412
|
+
preset: o = "bootstrap5",
|
|
412
413
|
breakpoints: t,
|
|
413
414
|
defaultBreakpoint: a,
|
|
414
|
-
defaultOrientation:
|
|
415
|
-
defaultMotion:
|
|
415
|
+
defaultOrientation: r = "landscape",
|
|
416
|
+
defaultMotion: i = "no-preference",
|
|
416
417
|
defaultTheme: s,
|
|
417
418
|
global: l = !1
|
|
418
419
|
} = {}) => {
|
|
419
420
|
try {
|
|
420
|
-
const d =
|
|
421
|
-
|
|
421
|
+
const d = dt(r), p = ct(s), c = ut(i);
|
|
422
|
+
De(a), Ge(d), Ze(p), Qe(c), e.provide("mq", b), e.provide("updateBreakpoints", ee), l === !0 && (e.component("MqResponsive", mt), e.config.globalProperties.$mq = b), ee({ breakpoints: t, preset: o });
|
|
422
423
|
} catch (d) {
|
|
423
424
|
console.error(d);
|
|
424
425
|
}
|
|
425
|
-
},
|
|
426
|
-
install:
|
|
427
|
-
},
|
|
426
|
+
}, gt = {
|
|
427
|
+
install: vt
|
|
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({
|
|
428
429
|
__name: "LoginForm.ce",
|
|
429
430
|
props: {
|
|
430
431
|
feedback: { type: Object },
|
|
@@ -432,109 +433,109 @@ const lt = (e, {
|
|
|
432
433
|
validations: { type: Object }
|
|
433
434
|
},
|
|
434
435
|
emits: ["validate"],
|
|
435
|
-
setup(e, { expose:
|
|
436
|
-
const { i18next: a, t:
|
|
437
|
-
function
|
|
438
|
-
l.value =
|
|
436
|
+
setup(e, { expose: o, emit: t }) {
|
|
437
|
+
const { i18next: a, t: r } = Y(), i = fe(), s = ae("input-password"), l = m(""), d = m(!1), p = u(() => e.validations.password.localeCompare(l.value, a.language, { sensitivity: "base" }) === 0), c = u(() => d.value && p.value), h = u(() => p.value ? e.feedback.success : e.feedback.failed), x = u(() => p.value ? r("trouver-mdp-rs.feedback.success") : r("trouver-mdp-rs.feedback.failed"));
|
|
438
|
+
function A(M) {
|
|
439
|
+
l.value = M.target.value, d.value = !1;
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
-
d.value = !0,
|
|
441
|
+
function g() {
|
|
442
|
+
d.value = !0, I("validate", { isPasswordOk: p });
|
|
442
443
|
}
|
|
443
|
-
function
|
|
444
|
+
function q() {
|
|
444
445
|
l.value = "", d.value = !1;
|
|
445
446
|
}
|
|
446
|
-
const
|
|
447
|
-
|
|
448
|
-
reset:
|
|
447
|
+
const V = u(() => i.phone);
|
|
448
|
+
o({
|
|
449
|
+
reset: q,
|
|
449
450
|
inputPasswordRef: s
|
|
450
451
|
});
|
|
451
|
-
const
|
|
452
|
-
return (
|
|
452
|
+
const I = t;
|
|
453
|
+
return (M, y) => (v(), C("form", {
|
|
453
454
|
class: "login-form",
|
|
454
|
-
onSubmit: H(
|
|
455
|
+
onSubmit: H(g, ["prevent"])
|
|
455
456
|
}, [
|
|
456
|
-
|
|
457
|
+
n("div", {
|
|
457
458
|
role: "heading",
|
|
458
459
|
"aria-level": e.titleLevel + 1,
|
|
459
460
|
class: "login-form__title"
|
|
460
461
|
}, [
|
|
461
|
-
|
|
462
|
-
src:
|
|
462
|
+
n("img", {
|
|
463
|
+
src: L(bt),
|
|
463
464
|
alt: ""
|
|
464
|
-
}, null, 8,
|
|
465
|
-
|
|
466
|
-
], 8,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
465
|
+
}, null, 8, _t),
|
|
466
|
+
y[0] || (y[0] = _e(" Connexion ", -1))
|
|
467
|
+
], 8, ht),
|
|
468
|
+
n("div", xt, [
|
|
469
|
+
y[1] || (y[1] = n("label", { for: "user" }, "Identifiant", -1)),
|
|
470
|
+
n("div", yt, [
|
|
471
|
+
n("input", {
|
|
471
472
|
id: "user",
|
|
472
473
|
value: e.validations.user,
|
|
473
474
|
readonly: "",
|
|
474
475
|
class: "is-disabled"
|
|
475
|
-
}, null, 8,
|
|
476
|
+
}, null, 8, wt)
|
|
476
477
|
])
|
|
477
478
|
]),
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
n("div", kt, [
|
|
480
|
+
y[2] || (y[2] = n("label", { for: "password" }, "Mot de passe", -1)),
|
|
481
|
+
n("div", {
|
|
481
482
|
class: U(["login-form__field__input-container", {
|
|
482
|
-
"is-error": d.value && !
|
|
483
|
+
"is-error": d.value && !p.value,
|
|
483
484
|
"is-success": c.value,
|
|
484
485
|
"is-disabled": c.value
|
|
485
486
|
}])
|
|
486
487
|
}, [
|
|
487
|
-
|
|
488
|
+
n("input", {
|
|
489
|
+
ref: "input-password",
|
|
490
|
+
id: "password",
|
|
491
|
+
readonly: c.value,
|
|
492
|
+
onInput: H(A, ["prevent"]),
|
|
493
|
+
value: l.value
|
|
494
|
+
}, null, 40, Ct),
|
|
495
|
+
c.value ? (v(), T(D, {
|
|
488
496
|
key: 0,
|
|
489
497
|
color: "#007740",
|
|
490
498
|
class: "login-form__field__feedback-icon",
|
|
491
499
|
"aria-hidden": "true"
|
|
492
|
-
})) :
|
|
493
|
-
d.value && !
|
|
500
|
+
})) : S("", !0),
|
|
501
|
+
d.value && !p.value ? (v(), T(G, {
|
|
494
502
|
key: 1,
|
|
495
503
|
class: "login-form__field__feedback-icon",
|
|
496
504
|
color: "#A94B0C",
|
|
497
505
|
"aria-hidden": "true"
|
|
498
|
-
})) :
|
|
499
|
-
o("input", {
|
|
500
|
-
ref: "input-password",
|
|
501
|
-
id: "password",
|
|
502
|
-
readonly: c.value,
|
|
503
|
-
onInput: H(_, ["prevent"]),
|
|
504
|
-
value: l.value
|
|
505
|
-
}, null, 40, bt)
|
|
506
|
+
})) : S("", !0)
|
|
506
507
|
], 2)
|
|
507
508
|
]),
|
|
508
|
-
d.value && !
|
|
509
|
+
d.value && !V.value ? (v(), T(Se, {
|
|
509
510
|
key: 0,
|
|
510
|
-
title:
|
|
511
|
+
title: x.value,
|
|
511
512
|
class: "feedback"
|
|
512
513
|
}, {
|
|
513
|
-
icon:
|
|
514
|
-
c.value ? (
|
|
514
|
+
icon: j(() => [
|
|
515
|
+
c.value ? (v(), T(D, {
|
|
515
516
|
key: 0,
|
|
516
517
|
class: "feedback__feedback-icon",
|
|
517
518
|
"aria-hidden": "true"
|
|
518
|
-
})) :
|
|
519
|
-
d.value && !
|
|
519
|
+
})) : S("", !0),
|
|
520
|
+
d.value && !p.value ? (v(), T(G, {
|
|
520
521
|
key: 1,
|
|
521
522
|
class: "feedback__feedback-icon",
|
|
522
523
|
"aria-hidden": "true"
|
|
523
|
-
})) :
|
|
524
|
+
})) : S("", !0)
|
|
524
525
|
]),
|
|
525
|
-
content:
|
|
526
|
-
|
|
526
|
+
content: j(() => [
|
|
527
|
+
n("p", null, _(h.value), 1)
|
|
527
528
|
]),
|
|
528
529
|
_: 1
|
|
529
|
-
}, 8, ["title"])) :
|
|
530
|
-
|
|
530
|
+
}, 8, ["title"])) : S("", !0),
|
|
531
|
+
n("button", {
|
|
531
532
|
type: "submit",
|
|
532
533
|
"aria-disabled": c.value,
|
|
533
534
|
class: U({ "is-disabled": c.value })
|
|
534
|
-
}, " Se connecter ", 10,
|
|
535
|
+
}, " Se connecter ", 10, Bt)
|
|
535
536
|
], 32));
|
|
536
537
|
}
|
|
537
|
-
}),
|
|
538
|
+
}), At = ".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}}", qt = /* @__PURE__ */ F(Pt, [["styles", [At]], ["__scopeId", "data-v-5f0ddcef"]]), te = "data:image/webp;base64,UklGRq4OAABXRUJQVlA4WAoAAAAQAAAAmwAAmwAAQUxQSEADAAABCqqurU1urJJKqhcINurByC+QgRkZB1sqFqmYJT9CkmbBxkX7jj2bmtWdX8BSWCTjD/Xw38FDDf93dOH5vy8iJoARHM+qV/X6t+1OPodkstv6mq+q2ThTvrha1H99Dq2bc3FVKDW93YRe+u1Um7PytYQeC0tXo5i/CQO0eaHB+UrCQIXnsbNNGLRbxPLFNg3ePI/U8ilF0ZYxunlM0aTHZtaEqDYWk1EdostRNCoJEZYqDs/ehEjbswiUEqIt5eBWIeoc1qQJkW8mA7qWEH2xwSyDijaQh6SkD6JOanIAPyZFvW/5+6QqrV/vk7LslSd1vUd1Upi9eUgqe0+WSWnrxXVS23owEb1k0l0TFG86WwXV2VEZlC87eSbaybMu3gT1rYMqAFi1NhIEhG3VAUK2NEsgWjsNCk0rNwFGb+MRB7awTEDaSfkTEpafskhQ+ilbLOyEeQLTjtug4UedJzh5zAoPHlEIHlIcsgCoHXqDiB04S5D6vhKTct9rTLhPMJE90wDq9D+3qPh/Nqg4ySLAWpBXuDi5wMXJGhdm/AsXJz/jYhwnYDlDxipkqlfIWI0M18j4b8j4FhnbIbMTZOQzMpb+tzVkTJCRHTK7LTLmyPgaGScyfIWMV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pLemOSzh+54zYuw/6JqHpHHdWyX20cP8MGAT9aPBJQLMHpWleGNwAAAAA==", Mt = "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", Tt = { class: "header" }, St = ["src"], Lt = { class: "header__user" }, jt = { class: "header__user__name" }, Vt = { class: "header__user__tag" }, zt = { class: "user-profile" }, Rt = { class: "user-profile__location" }, Ft = ["src"], It = { class: "user-profile__metadata" }, Nt = ["aria-setsize"], Et = ["aria-posinset", "aria-labeledby", "aria-describedby"], Wt = ["aria-level"], Ot = { class: "article__header__user-container" }, Yt = ["src"], Ht = { class: "article__header__user" }, Ut = { class: "article__header__user__name" }, Xt = { class: "article__header__user__tag" }, Dt = ["datetime"], Gt = /* @__PURE__ */ R({
|
|
538
539
|
__name: "SocialNetwork.ce",
|
|
539
540
|
props: {
|
|
540
541
|
userName: { type: String },
|
|
@@ -545,62 +546,62 @@ const lt = (e, {
|
|
|
545
546
|
titleLevel: { type: Number }
|
|
546
547
|
},
|
|
547
548
|
setup(e) {
|
|
548
|
-
const { i18next:
|
|
549
|
+
const { i18next: o } = Y();
|
|
549
550
|
function t(a) {
|
|
550
|
-
return Intl.DateTimeFormat(
|
|
551
|
+
return Intl.DateTimeFormat(o.language).format(new Date(a));
|
|
551
552
|
}
|
|
552
|
-
return (a,
|
|
553
|
-
const
|
|
554
|
-
return
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
src:
|
|
553
|
+
return (a, r) => {
|
|
554
|
+
const i = xe("i18next");
|
|
555
|
+
return v(), C(W, null, [
|
|
556
|
+
n("header", Tt, [
|
|
557
|
+
n("img", {
|
|
558
|
+
src: L(te),
|
|
558
559
|
alt: ""
|
|
559
|
-
}, null, 8,
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
560
|
+
}, null, 8, St),
|
|
561
|
+
n("div", Lt, [
|
|
562
|
+
n("span", jt, _(e.userName), 1),
|
|
563
|
+
n("span", Vt, _(e.tag), 1)
|
|
563
564
|
])
|
|
564
565
|
]),
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
src:
|
|
566
|
+
n("section", zt, [
|
|
567
|
+
n("p", null, _(e.bio), 1),
|
|
568
|
+
n("div", Rt, [
|
|
569
|
+
n("img", {
|
|
570
|
+
src: L(Mt),
|
|
570
571
|
alt: ""
|
|
571
|
-
}, null, 8,
|
|
572
|
-
|
|
572
|
+
}, null, 8, Ft),
|
|
573
|
+
n("p", null, _(e.location), 1)
|
|
573
574
|
]),
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
575
|
+
n("div", It, [
|
|
576
|
+
n("p", null, [
|
|
577
|
+
k(i, {
|
|
577
578
|
translation: a.$t("trouver-mdp-rs.userProfile.followers")
|
|
578
579
|
}, {
|
|
579
|
-
count:
|
|
580
|
-
|
|
580
|
+
count: j(() => [...r[0] || (r[0] = [
|
|
581
|
+
n("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
581
582
|
])]),
|
|
582
583
|
_: 1
|
|
583
584
|
}, 8, ["translation"])
|
|
584
585
|
]),
|
|
585
|
-
|
|
586
|
-
|
|
586
|
+
n("p", null, [
|
|
587
|
+
k(i, {
|
|
587
588
|
translation: a.$t("trouver-mdp-rs.userProfile.subscriptions")
|
|
588
589
|
}, {
|
|
589
|
-
count:
|
|
590
|
-
|
|
590
|
+
count: j(() => [...r[1] || (r[1] = [
|
|
591
|
+
n("span", { class: "user-profile__metadata__number" }, "146", -1)
|
|
591
592
|
])]),
|
|
592
593
|
_: 1
|
|
593
594
|
}, 8, ["translation"])
|
|
594
595
|
])
|
|
595
596
|
])
|
|
596
597
|
]),
|
|
597
|
-
|
|
598
|
+
n("section", {
|
|
598
599
|
role: "feed",
|
|
599
600
|
"aria-busy": "false",
|
|
600
601
|
"aria-setsize": e.publications.length,
|
|
601
602
|
class: "feed-container"
|
|
602
603
|
}, [
|
|
603
|
-
(
|
|
604
|
+
(v(!0), C(W, null, ye(e.publications, (s, l) => (v(), C("article", {
|
|
604
605
|
key: e.tag + l,
|
|
605
606
|
"aria-posinset": l,
|
|
606
607
|
"aria-labeledby": e.userName,
|
|
@@ -610,91 +611,51 @@ const lt = (e, {
|
|
|
610
611
|
role: "article",
|
|
611
612
|
class: "article"
|
|
612
613
|
}, [
|
|
613
|
-
|
|
614
|
+
n("div", {
|
|
614
615
|
role: "heading",
|
|
615
616
|
"aria-level": e.titleLevel + 2,
|
|
616
617
|
class: "article__header"
|
|
617
618
|
}, [
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
src:
|
|
619
|
+
n("address", Ot, [
|
|
620
|
+
n("img", {
|
|
621
|
+
src: L(te),
|
|
621
622
|
alt: ""
|
|
622
|
-
}, null, 8,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
}, null, 8, Yt),
|
|
624
|
+
n("div", Ht, [
|
|
625
|
+
n("span", Ut, _(e.userName), 1),
|
|
626
|
+
n("span", Xt, _(e.tag), 1)
|
|
626
627
|
])
|
|
627
628
|
]),
|
|
628
|
-
|
|
629
|
+
n("time", {
|
|
629
630
|
class: "article__header__date",
|
|
630
631
|
datetime: s.date
|
|
631
|
-
},
|
|
632
|
-
], 8,
|
|
633
|
-
|
|
634
|
-
], 8,
|
|
635
|
-
], 8,
|
|
632
|
+
}, _(t(s.date)), 9, Dt)
|
|
633
|
+
], 8, Wt),
|
|
634
|
+
n("p", null, _(s.content), 1)
|
|
635
|
+
], 8, Et))), 128))
|
|
636
|
+
], 8, Nt)
|
|
636
637
|
], 64);
|
|
637
638
|
};
|
|
638
639
|
}
|
|
639
|
-
}),
|
|
640
|
+
}), Zt = ".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}}", Qt = /* @__PURE__ */ F(Gt, [["styles", [Zt]], ["__scopeId", "data-v-d03c1125"]]), Kt = /* @__PURE__ */ R({
|
|
640
641
|
__name: "MobileShellWrapper.ce",
|
|
641
642
|
props: {
|
|
642
643
|
backgroundColor: { type: String },
|
|
643
644
|
hasBorderBottom: { type: Boolean }
|
|
644
645
|
},
|
|
645
646
|
setup(e) {
|
|
646
|
-
return (
|
|
647
|
-
style:
|
|
647
|
+
return (o, t) => (v(), C("div", {
|
|
648
|
+
style: we({
|
|
648
649
|
"--background-color": e.backgroundColor ?? "#f4f5f7",
|
|
649
650
|
"--border-bottom": e.hasBorderBottom ? "10px solid black" : "none"
|
|
650
651
|
}),
|
|
651
652
|
class: "mobile-wrapper"
|
|
652
653
|
}, [
|
|
653
|
-
t[0] || (t[0] =
|
|
654
|
-
|
|
654
|
+
t[0] || (t[0] = ke('<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)),
|
|
655
|
+
Ce(o.$slots, "content", {}, void 0, !0)
|
|
655
656
|
], 4));
|
|
656
657
|
}
|
|
657
|
-
}),
|
|
658
|
-
ref: "card-element",
|
|
659
|
-
class: "card",
|
|
660
|
-
tabindex: "-1"
|
|
661
|
-
}, Zt = { class: "card__content" }, Qt = ["id"], Kt = ["id"], Jt = /* @__PURE__ */ z({
|
|
662
|
-
__name: "Popin.ce",
|
|
663
|
-
props: {
|
|
664
|
-
title: { type: String },
|
|
665
|
-
content: { type: String },
|
|
666
|
-
actionButtonLabel: { type: String },
|
|
667
|
-
hasActionButton: { type: Boolean }
|
|
668
|
-
},
|
|
669
|
-
emits: ["action"],
|
|
670
|
-
setup(e, { emit: n }) {
|
|
671
|
-
const t = O("card-element"), a = D(), i = D(), r = n;
|
|
672
|
-
return Ae(() => {
|
|
673
|
-
t.value?.focus();
|
|
674
|
-
}), (s, l) => (p(), k("div", {
|
|
675
|
-
role: "dialog",
|
|
676
|
-
"aria-modal": "true",
|
|
677
|
-
"aria-labelledby": w(a),
|
|
678
|
-
"aria-describedby": w(i),
|
|
679
|
-
ref: "button-action",
|
|
680
|
-
class: "overlay"
|
|
681
|
-
}, [
|
|
682
|
-
o("div", Gt, [
|
|
683
|
-
o("div", Zt, [
|
|
684
|
-
o("h1", {
|
|
685
|
-
id: w(a),
|
|
686
|
-
class: "card__content__title"
|
|
687
|
-
}, v(e.title), 9, Qt),
|
|
688
|
-
o("p", { id: w(i) }, v(e.content), 9, Kt)
|
|
689
|
-
]),
|
|
690
|
-
e.hasActionButton ? (p(), k("button", {
|
|
691
|
-
key: 0,
|
|
692
|
-
onClick: l[0] || (l[0] = (d) => r("action"))
|
|
693
|
-
}, v(e.actionButtonLabel), 1)) : C("", !0)
|
|
694
|
-
], 512)
|
|
695
|
-
], 8, Dt));
|
|
696
|
-
}
|
|
697
|
-
}), $t = ".overlay{position:absolute;display:flex;align-items:center;justify-content:center;background:#25385859;inset:-12px -8px -8px;z-index:100;border-radius:8px}.overlay .card{display:flex;flex-direction:column;border-radius:16px;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;color:#122647;width:calc(100% - 74px)}.overlay .card__content{background:linear-gradient(180deg,#613fdd33,#613fdd1a 40%,#fff0);padding:1rem;border-radius:16px}.overlay .card__content__title{font-family:Nunito,Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:1.75rem;margin:0}.overlay .card p{font-family:Roboto,sans-serif;font-size:.875rem;font-weight:400;line-height:1.125rem;margin:0}.overlay .card button{display:flex;padding:.5rem 1.5rem;justify-content:center;align-items:center;border-radius:.5rem;background:#253858;font-size:.875rem;font-style:normal;font-weight:700;line-height:1.5rem;color:#fff;width:fit-content;align-self:center;border:none;margin:1rem;cursor:pointer}", ea = /* @__PURE__ */ V(Jt, [["styles", [$t]]]), ta = { class: "container" }, aa = /* @__PURE__ */ z({
|
|
658
|
+
}), Jt = '.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}', $t = /* @__PURE__ */ F(Kt, [["styles", [Jt]], ["__scopeId", "data-v-ad55001d"]]), ea = { class: "container" }, ta = /* @__PURE__ */ R({
|
|
698
659
|
__name: "TrouverMdpRs.ce",
|
|
699
660
|
props: {
|
|
700
661
|
titleLevel: { default: 2, type: Number },
|
|
@@ -702,57 +663,60 @@ const lt = (e, {
|
|
|
702
663
|
validations: { type: Object },
|
|
703
664
|
userProfile: { type: Object }
|
|
704
665
|
},
|
|
705
|
-
setup(e, { expose:
|
|
706
|
-
const { t } = Y(), a =
|
|
707
|
-
function
|
|
666
|
+
setup(e, { expose: o }) {
|
|
667
|
+
const { t } = Y(), a = fe(), r = Be(), i = ae("login-form"), s = m(!1), l = m(""), d = m(""), p = m("");
|
|
668
|
+
function c() {
|
|
708
669
|
i.value.reset();
|
|
709
670
|
}
|
|
710
|
-
function
|
|
711
|
-
|
|
671
|
+
function h(g) {
|
|
672
|
+
l.value = g.isPasswordOk.value ? t("trouver-mdp-rs.feedback.success") : t("trouver-mdp-rs.feedback.failed"), p.value = g.isPasswordOk.value ? "" : t("trouver-mdp-rs.retryButtonLabel"), d.value = g.isPasswordOk.value ? e.feedback.success : e.feedback.failed, s.value = !0, g.isPasswordOk.value || i.value.inputPasswordRef.focus();
|
|
712
673
|
}
|
|
713
|
-
function
|
|
714
|
-
|
|
674
|
+
function x() {
|
|
675
|
+
s.value = !1, i.value.inputPasswordRef.focus();
|
|
715
676
|
}
|
|
716
|
-
const
|
|
717
|
-
return
|
|
718
|
-
reset:
|
|
719
|
-
}), (
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
677
|
+
const A = u(() => a.phone);
|
|
678
|
+
return o({
|
|
679
|
+
reset: c
|
|
680
|
+
}), (g, q) => (v(), C(W, null, [
|
|
681
|
+
n("div", ea, [
|
|
682
|
+
k(qt, {
|
|
683
|
+
ref: "login-form",
|
|
684
|
+
feedback: e.feedback,
|
|
685
|
+
"title-level": e.titleLevel,
|
|
686
|
+
validations: e.validations,
|
|
687
|
+
onValidate: h
|
|
688
|
+
}, null, 8, ["feedback", "title-level", "validations"]),
|
|
689
|
+
k($t, {
|
|
690
|
+
class: "mobile-shell",
|
|
691
|
+
"background-color": "#fff"
|
|
692
|
+
}, {
|
|
693
|
+
content: j(() => [
|
|
694
|
+
k(Qt, Pe(e.userProfile, { "title-level": e.titleLevel }), null, 16, ["title-level"])
|
|
695
|
+
]),
|
|
696
|
+
_: 1
|
|
697
|
+
})
|
|
698
|
+
]),
|
|
699
|
+
k(Le, {
|
|
700
|
+
"root-element": L(r),
|
|
701
|
+
show: A.value && s.value,
|
|
702
|
+
"text-button": p.value,
|
|
703
|
+
content: d.value,
|
|
704
|
+
title: l.value,
|
|
705
|
+
"button-position": "center",
|
|
706
|
+
class: "popin",
|
|
707
|
+
onPrimaryAction: x
|
|
708
|
+
}, null, 8, ["root-element", "show", "text-button", "content", "title"])
|
|
709
|
+
], 64));
|
|
746
710
|
}
|
|
747
|
-
}),
|
|
748
|
-
qe(/* @__PURE__ */ Object.assign({ "./locales/
|
|
749
|
-
const
|
|
711
|
+
}), aa = ".container[data-v-2dcd5996]{font-family:Roboto,Nunito,sans-serif;color:#122647;position:relative;display:flex;gap:32px;padding-inline:.75rem;max-height:550px}.mobile-shell[data-v-2dcd5996]{flex:1}.popin[data-v-2dcd5996]{display:none}@media screen and (max-width:769px){.container[data-v-2dcd5996]{flex-direction:column-reverse}.mobile-shell[data-v-2dcd5996]{display:flex;flex-direction:column;gap:16px;overflow-y:scroll;border:none;border-radius:0}.mobile-shell[data-v-2dcd5996] .buttons,.mobile-shell[data-v-2dcd5996] .cache-top{display:none}.popin[data-v-2dcd5996]{display:inherit}}", oa = /* @__PURE__ */ F(ta, [["styles", [aa]], ["__scopeId", "data-v-2dcd5996"]]);
|
|
712
|
+
qe(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": je, "./locales/en.json": Ve, "./locales/es-419.json": ze, "./locales/es.json": Re, "./locales/fr-BE.json": Fe, "./locales/fr.json": Ie, "./locales/it.json": Ne, "./locales/nl.json": Ee })).catch((e) => console.error(e));
|
|
713
|
+
const pe = Ae(oa, {
|
|
750
714
|
configureApp(e) {
|
|
751
|
-
|
|
715
|
+
X.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(Me, { i18next: X }), e.use(gt, { preset: "devices" });
|
|
752
716
|
}
|
|
753
717
|
});
|
|
754
|
-
|
|
718
|
+
pe.prototype.normalizeProps = (e) => ({
|
|
755
719
|
...e,
|
|
756
|
-
titleLevel:
|
|
720
|
+
titleLevel: Te(e.titleLevel)
|
|
757
721
|
});
|
|
758
|
-
window.customElements.define("trouver-mdp-rs",
|
|
722
|
+
window.customElements.define("trouver-mdp-rs", pe);
|