@abyss-project/commons-front-core 18.1.2 → 18.1.4
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/CHANGELOG.md +29 -0
- package/README.md +4 -0
- package/catalog/catalog-entries.ts +4 -0
- package/catalog/pages/Callout.tsx +9 -0
- package/catalog/pages/CodeEditor.tsx +52 -0
- package/catalog/pages/DeliveryHistory.tsx +79 -79
- package/catalog/pages/DeliverySubscriptions.tsx +127 -127
- package/catalog/pages/LineChart.tsx +21 -0
- package/catalog/pages/MarkdownEditor.tsx +1 -1
- package/catalog/pages/ScheduledTasks.tsx +117 -117
- package/catalog/pages/SessionErrorScreen.tsx +20 -0
- package/catalog/pages/Toast.tsx +59 -1
- package/catalog/pages/index.ts +4 -0
- package/catalog/playwright.ci.config.ts +2 -2
- package/catalog/specs/captures.spec.ts +145 -145
- package/catalog/specs/global-review-captures.spec.ts +154 -0
- package/catalog/specs/markdown-editor.spec.ts +107 -0
- package/catalog/specs/toast-dialog-foot.spec.ts +83 -0
- package/catalog/specs/write-capture-index.ts +81 -81
- package/dist/{CookieConsentSettings-CLB1Mlv5.js → CookieConsentSettings-D97TY138.js} +53 -53
- package/dist/{Surface-B_wIEB3b.js → Surface-CN1zQYLJ.js} +144 -121
- package/dist/{Tabs-MVmpclcZ.js → Tabs-CxD9y18t.js} +245 -237
- package/dist/components/CodeEditor/CodeEditor.component.spec.d.ts +1 -0
- package/dist/components/business/CookieConsent/use-banner-portal.d.ts +0 -17
- package/dist/components/data/LineChart/LineChart.d.ts +21 -2
- package/dist/components/data/LineChart/line-chart-ticks.d.ts +5 -2
- package/dist/components/editors/MarkdownEditor/crepe-styles.d.ts +7 -0
- package/dist/components/editors/MarkdownEditor/crepe-styles.spec.d.ts +1 -0
- package/dist/components/layers/Modal/active-modal.d.ts +14 -0
- package/dist/components/layers/Toast/Toast.d.ts +1 -0
- package/dist/components/layers/Toast/dialog-foot-clearance.d.ts +19 -0
- package/dist/components/layers/Toast/toast-clearance.d.ts +11 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-Bcu3EMIB.js → design-theme-GGVSCauN.js} +1 -1
- package/dist/{editors-D0JP2AdM.js → editors-CJ_6PXoL.js} +30129 -30094
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +18 -0
- package/dist/{index-CVRa0oBj.js → index-4MsOXuOU.js} +2 -2
- package/dist/{index-P3mYGVW9.js → index-5BCfqxIs.js} +2 -2
- package/dist/{index-CTbeT-N0.js → index-5HFSSrP-.js} +1 -1
- package/dist/{index-tTzlUmYK.js → index-7M2xC_9h.js} +2 -2
- package/dist/{index-B7TbdCxd.js → index-8o9jiKS2.js} +2 -2
- package/dist/{index-DHwatinf.js → index-B6QYagVk.js} +2 -2
- package/dist/{index-DOniqiUF.js → index-BQFouU9U.js} +2 -2
- package/dist/{index-BXwVo31B.js → index-BQLAeM_n.js} +2 -2
- package/dist/{index-CxQaYgoB.js → index-BbbyRlLu.js} +2 -2
- package/dist/{index-BhfgX3oc.js → index-Bbc0SjAt.js} +2 -2
- package/dist/{index-CTmmM3bQ.js → index-BcsTtdwQ.js} +4 -4
- package/dist/{index-BiBtwp14.js → index-Berc0QsZ.js} +4 -4
- package/dist/{index-CorW4VOJ.js → index-ByRUmH_4.js} +3 -3
- package/dist/{index-DWOXLAjk.js → index-CXUHmTse.js} +2 -2
- package/dist/{index-WnQHBsCS.js → index-Cl1UafyM.js} +2 -2
- package/dist/{index-WbhbeBj8.js → index-DQgpUR1S.js} +3 -3
- package/dist/{index-DB03r0_G.js → index-Dh1lFi8d.js} +2 -2
- package/dist/{index-BgK7ZufI.js → index-Drwqi2Fr.js} +2 -2
- package/dist/{index-BTQOcRMg.js → index-Dtfo8fKg.js} +4 -4
- package/dist/{index-DS7PaGaq.js → index-VLxkKEWK.js} +3 -3
- package/dist/{index-COEwfkxf.js → index-p3G-JM7E.js} +3 -3
- package/dist/index.js +5852 -5767
- package/dist/legacy.js +6 -6
- package/dist/translations/en.d.ts +9 -0
- package/dist/translations/fr.d.ts +9 -0
- package/package.json +1 -1
- package/dist/commons-front-core.css +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as d, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import { useId as x, useRef as Y, useState as
|
|
2
|
+
import { useId as x, useRef as Y, useState as V, useCallback as X, useMemo as re, forwardRef as ae } from "react";
|
|
3
3
|
import { useIntl as G } from "react-intl";
|
|
4
4
|
import ne from "@mui/material/Dialog";
|
|
5
5
|
import J from "@mui/material/IconButton";
|
|
6
6
|
import { alpha as se, styled as g, useTheme as le } from "@mui/material/styles";
|
|
7
7
|
import $ from "@mui/icons-material/Close";
|
|
8
|
-
import
|
|
8
|
+
import H from "@mui/material/useMediaQuery";
|
|
9
9
|
import ce from "@mui/material/Modal";
|
|
10
10
|
import de from "@mui/material/Slide";
|
|
11
11
|
import { enTranslation as ue, frTranslation as pe } from "@abyss-project/main";
|
|
12
12
|
import { l as Q } from "./lazy-value-Co76vxsM.js";
|
|
13
13
|
var me = /* @__PURE__ */ ((e) => (e.Dark = "dark", e.Light = "light", e))(me || {});
|
|
14
|
-
const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }),
|
|
14
|
+
const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), gt = {
|
|
15
15
|
dark: {
|
|
16
16
|
1: c(0.155, 0.034),
|
|
17
17
|
2: c(0.17, 0.036),
|
|
@@ -40,10 +40,10 @@ const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), mt = {
|
|
|
40
40
|
11: c(0.42, 0.045),
|
|
41
41
|
12: c(0.22, 0.045)
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, ht = {
|
|
44
44
|
sans: '"Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
45
45
|
mono: '"Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace'
|
|
46
|
-
},
|
|
46
|
+
}, ft = {
|
|
47
47
|
caption: 11,
|
|
48
48
|
small: 12,
|
|
49
49
|
body: 13,
|
|
@@ -58,7 +58,7 @@ const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), mt = {
|
|
|
58
58
|
medium: 500,
|
|
59
59
|
semibold: 600,
|
|
60
60
|
bold: 700
|
|
61
|
-
},
|
|
61
|
+
}, At = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], yt = {
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
@@ -66,7 +66,7 @@ const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), mt = {
|
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, Et = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
72
|
}, j = {
|
|
@@ -75,7 +75,7 @@ const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), mt = {
|
|
|
75
75
|
md: 768,
|
|
76
76
|
lg: 1200,
|
|
77
77
|
xl: 1600
|
|
78
|
-
},
|
|
78
|
+
}, bt = {
|
|
79
79
|
comfortable: { row: 40, control: 32 },
|
|
80
80
|
compact: { row: 30, control: 28 },
|
|
81
81
|
touchTarget: 44
|
|
@@ -112,24 +112,24 @@ const ee = {
|
|
|
112
112
|
)}`;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
}, fe = 0.14, a = (e) => `${e}px`, L = (e) => `1px solid ${e}`,
|
|
115
|
+
}, fe = 0.14, a = (e) => `${e}px`, L = (e) => `1px solid ${e}`, St = (e) => se(e, fe), Ae = (e) => ({
|
|
116
116
|
outline: `2px solid ${e.design.tokens["focus.ring"]}`,
|
|
117
117
|
outlineOffset: "2px"
|
|
118
|
-
}),
|
|
118
|
+
}), Tt = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Nt = (e) => e.design.densityValues[e.design.density].row, Rt = (e) => ({
|
|
119
119
|
[w.down(R.Tablet)]: {
|
|
120
120
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
122
|
+
}), ye = (e) => ({
|
|
123
123
|
[w.down(R.Tablet)]: {
|
|
124
124
|
minWidth: a(e.design.densityValues.touchTarget),
|
|
125
125
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
127
|
+
}), ve = (e, t, o = "fast") => t.map(
|
|
128
128
|
(i) => `${i} ${e.design.durations[o]}ms ${e.design.easings.standard}`
|
|
129
129
|
).join(", "), Ee = () => {
|
|
130
|
-
const e =
|
|
130
|
+
const e = H(w.up(R.Desktop), {
|
|
131
131
|
noSsr: !0
|
|
132
|
-
}), t =
|
|
132
|
+
}), t = H(w.down(R.Tablet), {
|
|
133
133
|
noSsr: !0
|
|
134
134
|
});
|
|
135
135
|
return e ? R.Desktop : t ? R.Mobile : R.Tablet;
|
|
@@ -170,7 +170,7 @@ const P = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, be = 0.3, Se =
|
|
|
170
170
|
position: "absolute",
|
|
171
171
|
top: a(e.design.space[1]),
|
|
172
172
|
right: P(_.Right, e.design.space[2]),
|
|
173
|
-
...
|
|
173
|
+
...ye(e)
|
|
174
174
|
})), Re = g("div")(({ theme: e }) => {
|
|
175
175
|
const { space: t, densityValues: o } = e.design;
|
|
176
176
|
return {
|
|
@@ -222,7 +222,7 @@ function De({
|
|
|
222
222
|
closeLabel: r,
|
|
223
223
|
children: n
|
|
224
224
|
}) {
|
|
225
|
-
const h = le(),
|
|
225
|
+
const h = le(), y = G(), v = x(), f = Y(null), A = Y(null), [E, N] = V(0), [u, l] = V(!1), s = (T) => {
|
|
226
226
|
T.currentTarget.setPointerCapture(T.pointerId), A.current = T.clientY, l(!0);
|
|
227
227
|
}, p = (T) => {
|
|
228
228
|
A.current !== null && N(Math.max(0, T.clientY - A.current));
|
|
@@ -248,8 +248,8 @@ function De({
|
|
|
248
248
|
ref: f,
|
|
249
249
|
role: "dialog",
|
|
250
250
|
"aria-modal": "true",
|
|
251
|
-
"aria-labelledby": o ?
|
|
252
|
-
"aria-label": o ? void 0 :
|
|
251
|
+
"aria-labelledby": o ? v : void 0,
|
|
252
|
+
"aria-label": o ? void 0 : y.formatMessage({ id: "ds.mobile.bottom-sheet.label" }),
|
|
253
253
|
tabIndex: -1,
|
|
254
254
|
style: {
|
|
255
255
|
// No transform at rest: a transformed panel is the containing block of whatever is
|
|
@@ -269,7 +269,7 @@ function De({
|
|
|
269
269
|
onPointerCancel: S,
|
|
270
270
|
children: [
|
|
271
271
|
/* @__PURE__ */ d(Ce, { "aria-hidden": "true" }),
|
|
272
|
-
o ? /* @__PURE__ */ C(Ie, { id:
|
|
272
|
+
o ? /* @__PURE__ */ C(Ie, { id: v, besideClose: r !== void 0, children: [
|
|
273
273
|
i !== void 0 && /* @__PURE__ */ d(Oe, { "aria-hidden": "true", children: i }),
|
|
274
274
|
o
|
|
275
275
|
] }) : null
|
|
@@ -284,8 +284,9 @@ function De({
|
|
|
284
284
|
}
|
|
285
285
|
) });
|
|
286
286
|
}
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
const Ct = "--abyss-toast-clearance", It = "--abyss-cookie-banner-modal-clearance", Ot = "--abyss-toast-dialog-foot-clearance", Pe = "data-abyss-dialog-foot";
|
|
288
|
+
var we = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e))(we || {});
|
|
289
|
+
const Le = g(ne)(({ theme: e }) => {
|
|
289
290
|
const { tokens: t, fonts: o, space: i } = e.design;
|
|
290
291
|
return {
|
|
291
292
|
"& .MuiDialog-paper": {
|
|
@@ -300,7 +301,7 @@ const we = g(ne)(({ theme: e }) => {
|
|
|
300
301
|
width: `calc(100% - ${a(i[7])})`
|
|
301
302
|
}
|
|
302
303
|
};
|
|
303
|
-
}),
|
|
304
|
+
}), ke = g("div")(({ theme: e }) => {
|
|
304
305
|
const { tokens: t, space: o } = e.design;
|
|
305
306
|
return {
|
|
306
307
|
flex: "none",
|
|
@@ -311,20 +312,20 @@ const we = g(ne)(({ theme: e }) => {
|
|
|
311
312
|
padding: `${a(o[4])} ${a(o[5])}`,
|
|
312
313
|
borderBottom: L(t["border.subtle"])
|
|
313
314
|
};
|
|
314
|
-
}),
|
|
315
|
+
}), Me = g("div")({ minWidth: 0 }), Ue = g("div")(({ theme: e }) => ({
|
|
315
316
|
minWidth: 0,
|
|
316
317
|
display: "flex",
|
|
317
318
|
alignItems: "flex-start",
|
|
318
319
|
gap: a(e.design.space[3])
|
|
319
|
-
})),
|
|
320
|
+
})), Fe = g("span")({
|
|
320
321
|
flex: "none",
|
|
321
322
|
display: "inline-flex"
|
|
322
|
-
}),
|
|
323
|
+
}), xe = g("h2")(({ theme: e }) => ({
|
|
323
324
|
margin: 0,
|
|
324
325
|
fontSize: a(e.design.typeScale.sectionTitle),
|
|
325
326
|
fontWeight: Z.semibold,
|
|
326
327
|
overflowWrap: "anywhere"
|
|
327
|
-
})),
|
|
328
|
+
})), Ge = g("p")(({ theme: e }) => {
|
|
328
329
|
const { tokens: t, space: o, typeScale: i } = e.design;
|
|
329
330
|
return {
|
|
330
331
|
margin: `${a(o[1])} 0 0`,
|
|
@@ -332,13 +333,13 @@ const we = g(ne)(({ theme: e }) => {
|
|
|
332
333
|
fontSize: a(i.body),
|
|
333
334
|
overflowWrap: "anywhere"
|
|
334
335
|
};
|
|
335
|
-
}),
|
|
336
|
+
}), Be = g("div")(({ theme: e }) => ({
|
|
336
337
|
flex: "1 1 auto",
|
|
337
338
|
minHeight: 0,
|
|
338
339
|
overflowY: "auto",
|
|
339
340
|
padding: a(e.design.space[5]),
|
|
340
341
|
fontSize: a(e.design.typeScale.body)
|
|
341
|
-
})),
|
|
342
|
+
})), ze = g("div")(({ theme: e }) => {
|
|
342
343
|
const { tokens: t, space: o } = e.design;
|
|
343
344
|
return {
|
|
344
345
|
flex: "none",
|
|
@@ -350,19 +351,19 @@ const we = g(ne)(({ theme: e }) => {
|
|
|
350
351
|
padding: `${a(o[3])} ${a(o[5])}`,
|
|
351
352
|
borderTop: L(t["border.subtle"])
|
|
352
353
|
};
|
|
353
|
-
}),
|
|
354
|
+
}), Ye = g("p")(({ theme: e }) => ({
|
|
354
355
|
margin: `0 0 ${a(e.design.space[3])}`,
|
|
355
356
|
color: e.design.tokens["text.muted"],
|
|
356
357
|
fontSize: a(e.design.typeScale.bodyMobile),
|
|
357
358
|
overflowWrap: "anywhere"
|
|
358
|
-
})),
|
|
359
|
+
})), Ve = g("div")(({ theme: e }) => ({
|
|
359
360
|
display: "flex",
|
|
360
361
|
flexWrap: "wrap",
|
|
361
362
|
gap: a(e.design.space[2]),
|
|
362
363
|
marginTop: a(e.design.space[4]),
|
|
363
364
|
"& > *": { flex: "1 1 0" }
|
|
364
365
|
}));
|
|
365
|
-
function
|
|
366
|
+
function _t({
|
|
366
367
|
open: e,
|
|
367
368
|
onClose: t,
|
|
368
369
|
title: o,
|
|
@@ -370,9 +371,9 @@ function Rt({
|
|
|
370
371
|
description: r,
|
|
371
372
|
size: n = "md",
|
|
372
373
|
actions: h,
|
|
373
|
-
children:
|
|
374
|
+
children: y
|
|
374
375
|
}) {
|
|
375
|
-
const
|
|
376
|
+
const v = G(), f = Ee() === R.Mobile, A = x(), E = x();
|
|
376
377
|
return f ? /* @__PURE__ */ C(
|
|
377
378
|
De,
|
|
378
379
|
{
|
|
@@ -380,15 +381,15 @@ function Rt({
|
|
|
380
381
|
onClose: t,
|
|
381
382
|
title: o,
|
|
382
383
|
titleIcon: i,
|
|
383
|
-
closeLabel:
|
|
384
|
+
closeLabel: v.formatMessage({ id: "ds.layers.modal.close" }),
|
|
384
385
|
children: [
|
|
385
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
386
|
-
|
|
387
|
-
h !== void 0 && /* @__PURE__ */ d(
|
|
386
|
+
r !== void 0 && /* @__PURE__ */ d(Ye, { children: r }),
|
|
387
|
+
y,
|
|
388
|
+
h !== void 0 && /* @__PURE__ */ d(Ve, { [Pe]: "", children: h })
|
|
388
389
|
]
|
|
389
390
|
}
|
|
390
391
|
) : /* @__PURE__ */ C(
|
|
391
|
-
|
|
392
|
+
Le,
|
|
392
393
|
{
|
|
393
394
|
open: e,
|
|
394
395
|
onClose: () => t(),
|
|
@@ -397,25 +398,25 @@ function Rt({
|
|
|
397
398
|
"aria-labelledby": A,
|
|
398
399
|
"aria-describedby": r !== void 0 ? E : void 0,
|
|
399
400
|
children: [
|
|
400
|
-
/* @__PURE__ */ C(
|
|
401
|
-
/* @__PURE__ */ C(
|
|
402
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
403
|
-
/* @__PURE__ */ C(
|
|
404
|
-
/* @__PURE__ */ d(
|
|
405
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
401
|
+
/* @__PURE__ */ C(ke, { children: [
|
|
402
|
+
/* @__PURE__ */ C(Ue, { children: [
|
|
403
|
+
i !== void 0 && /* @__PURE__ */ d(Fe, { "aria-hidden": "true", children: i }),
|
|
404
|
+
/* @__PURE__ */ C(Me, { children: [
|
|
405
|
+
/* @__PURE__ */ d(xe, { id: A, children: o }),
|
|
406
|
+
r !== void 0 && /* @__PURE__ */ d(Ge, { id: E, children: r })
|
|
406
407
|
] })
|
|
407
408
|
] }),
|
|
408
409
|
/* @__PURE__ */ d(
|
|
409
410
|
J,
|
|
410
411
|
{
|
|
411
|
-
"aria-label":
|
|
412
|
+
"aria-label": v.formatMessage({ id: "ds.layers.modal.close" }),
|
|
412
413
|
onClick: t,
|
|
413
414
|
children: /* @__PURE__ */ d($, { "aria-hidden": !0 })
|
|
414
415
|
}
|
|
415
416
|
)
|
|
416
417
|
] }),
|
|
417
|
-
/* @__PURE__ */ d(
|
|
418
|
-
h !== void 0 && /* @__PURE__ */ d(
|
|
418
|
+
/* @__PURE__ */ d(Be, { children: y }),
|
|
419
|
+
h !== void 0 && /* @__PURE__ */ d(ze, { children: h })
|
|
419
420
|
]
|
|
420
421
|
}
|
|
421
422
|
);
|
|
@@ -548,14 +549,14 @@ const He = {
|
|
|
548
549
|
[D.DEFAULT]: "paid",
|
|
549
550
|
[D.SYSTEM]: O.INTERNAL,
|
|
550
551
|
[D.CUSTOM]: O.CUSTOM
|
|
551
|
-
},
|
|
552
|
-
const o = (
|
|
553
|
-
const
|
|
554
|
-
if (typeof
|
|
552
|
+
}, je = new Set(Object.values(O)), U = (e) => e ? e.tier === D.CUSTOM ? O.CUSTOM : e.catalogKey && je.has(e.catalogKey) ? e.catalogKey : He[e.tier] ?? "paid" : O.FREEMIUM, Dt = (e, t) => {
|
|
553
|
+
const o = (y) => {
|
|
554
|
+
const v = e[`${y}Tier`];
|
|
555
|
+
if (typeof v != "string")
|
|
555
556
|
return null;
|
|
556
|
-
const f = e[`${
|
|
557
|
+
const f = e[`${y}CatalogKey`];
|
|
557
558
|
return {
|
|
558
|
-
tier:
|
|
559
|
+
tier: v,
|
|
559
560
|
catalogKey: typeof f == "string" ? f : null
|
|
560
561
|
};
|
|
561
562
|
}, i = {}, r = o("plan"), n = o("oldPlan"), h = o("newPlan");
|
|
@@ -585,7 +586,7 @@ const He = {
|
|
|
585
586
|
custom: "Custom plan",
|
|
586
587
|
paid: "Paid plan"
|
|
587
588
|
})
|
|
588
|
-
},
|
|
589
|
+
}, qe = {
|
|
589
590
|
banner: {
|
|
590
591
|
title: "Compte de démonstration",
|
|
591
592
|
summary: "{label} · expire le {date}",
|
|
@@ -600,8 +601,8 @@ const He = {
|
|
|
600
601
|
}
|
|
601
602
|
},
|
|
602
603
|
blocked: "Indisponible en démo"
|
|
603
|
-
},
|
|
604
|
-
demo:
|
|
604
|
+
}, We = {
|
|
605
|
+
demo: qe,
|
|
605
606
|
"space-display-name": {
|
|
606
607
|
personal: "Mon Cloud",
|
|
607
608
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -1765,6 +1766,8 @@ const He = {
|
|
|
1765
1766
|
"no-messages": "Aucun message",
|
|
1766
1767
|
"waiting-title": "Votre demande est bien arrivée",
|
|
1767
1768
|
"waiting-subtitle": "Un membre du support vous répondra ici. Vous recevrez un email dès qu’il y a du nouveau.",
|
|
1769
|
+
"awaiting-reply-title": "Pas encore de réponse",
|
|
1770
|
+
"awaiting-reply-subtitle": "Le demandeur attend la première réponse du support. Répondez ci-dessous : il sera prévenu par email.",
|
|
1768
1771
|
"messages-title": "Messages",
|
|
1769
1772
|
"messages-count": "{count} messages",
|
|
1770
1773
|
"new-messages": "Nouveaux messages",
|
|
@@ -1949,10 +1952,10 @@ const He = {
|
|
|
1949
1952
|
flow: {
|
|
1950
1953
|
email: {
|
|
1951
1954
|
title: "Connexion à Abyss",
|
|
1952
|
-
lede: "Saisissez votre adresse e
|
|
1955
|
+
lede: "Saisissez votre adresse e‑mail : nous vous connectons, ou nous créons votre compte.",
|
|
1953
1956
|
"back-office": {
|
|
1954
1957
|
title: "Connexion au back-office",
|
|
1955
|
-
lede: "Réservé aux comptes administrateurs. Saisissez votre adresse e
|
|
1958
|
+
lede: "Réservé aux comptes administrateurs. Saisissez votre adresse e‑mail."
|
|
1956
1959
|
},
|
|
1957
1960
|
label: "Adresse e-mail",
|
|
1958
1961
|
submit: "Continuer",
|
|
@@ -2682,6 +2685,13 @@ const He = {
|
|
|
2682
2685
|
}
|
|
2683
2686
|
},
|
|
2684
2687
|
editors: {
|
|
2688
|
+
code: {
|
|
2689
|
+
"aria-label": "Éditeur de code",
|
|
2690
|
+
loading: "Chargement de l’éditeur…",
|
|
2691
|
+
fullscreen: "Plein écran",
|
|
2692
|
+
"fullscreen-hint": "Ouvrir l’éditeur en plein écran",
|
|
2693
|
+
"expression-title": "Éditeur d’expression"
|
|
2694
|
+
},
|
|
2685
2695
|
markdown: {
|
|
2686
2696
|
aria: {
|
|
2687
2697
|
bold: "Gras",
|
|
@@ -3004,7 +3014,7 @@ const He = {
|
|
|
3004
3014
|
show: "Afficher le mot de passe",
|
|
3005
3015
|
hide: "Masquer le mot de passe"
|
|
3006
3016
|
}
|
|
3007
|
-
},
|
|
3017
|
+
}, Ke = {
|
|
3008
3018
|
banner: {
|
|
3009
3019
|
title: "Demo account",
|
|
3010
3020
|
summary: "{label} · expires on {date}",
|
|
@@ -3019,8 +3029,8 @@ const He = {
|
|
|
3019
3029
|
}
|
|
3020
3030
|
},
|
|
3021
3031
|
blocked: "Unavailable in demo"
|
|
3022
|
-
},
|
|
3023
|
-
demo:
|
|
3032
|
+
}, Xe = {
|
|
3033
|
+
demo: Ke,
|
|
3024
3034
|
"space-display-name": {
|
|
3025
3035
|
personal: "My Cloud",
|
|
3026
3036
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -4165,6 +4175,8 @@ const He = {
|
|
|
4165
4175
|
"no-messages": "No messages yet",
|
|
4166
4176
|
"waiting-title": "We’ve got your request",
|
|
4167
4177
|
"waiting-subtitle": "A support teammate will reply right here. We’ll email you as soon as there’s an update.",
|
|
4178
|
+
"awaiting-reply-title": "No reply yet",
|
|
4179
|
+
"awaiting-reply-subtitle": "The requester is waiting for the first reply from support. Reply below: they will be notified by email.",
|
|
4168
4180
|
"messages-title": "Messages",
|
|
4169
4181
|
"messages-count": "{count} messages",
|
|
4170
4182
|
"new-messages": "New messages",
|
|
@@ -5101,6 +5113,13 @@ const He = {
|
|
|
5101
5113
|
}
|
|
5102
5114
|
},
|
|
5103
5115
|
editors: {
|
|
5116
|
+
code: {
|
|
5117
|
+
"aria-label": "Code editor",
|
|
5118
|
+
loading: "Loading the editor…",
|
|
5119
|
+
fullscreen: "Fullscreen",
|
|
5120
|
+
"fullscreen-hint": "Open the editor in full screen",
|
|
5121
|
+
"expression-title": "Expression editor"
|
|
5122
|
+
},
|
|
5104
5123
|
markdown: {
|
|
5105
5124
|
aria: {
|
|
5106
5125
|
bold: "Bold",
|
|
@@ -5425,7 +5444,7 @@ const He = {
|
|
|
5425
5444
|
}
|
|
5426
5445
|
};
|
|
5427
5446
|
var F, K;
|
|
5428
|
-
function
|
|
5447
|
+
function Je() {
|
|
5429
5448
|
if (K) return F;
|
|
5430
5449
|
K = 1, F = o, o.flatten = o, o.unflatten = i;
|
|
5431
5450
|
function e(r) {
|
|
@@ -5436,11 +5455,11 @@ function Xe() {
|
|
|
5436
5455
|
}
|
|
5437
5456
|
function o(r, n) {
|
|
5438
5457
|
n = n || {};
|
|
5439
|
-
const h = n.delimiter || ".",
|
|
5458
|
+
const h = n.delimiter || ".", y = n.maxDepth, v = n.transformKey || t, f = {};
|
|
5440
5459
|
function A(E, N, u) {
|
|
5441
5460
|
u = u || 1, Object.keys(E).forEach(function(l) {
|
|
5442
|
-
const s = E[l], p = n.safe && Array.isArray(s), b = Object.prototype.toString.call(s), S = e(s), T = b === "[object Object]" || b === "[object Array]", I = N ? N + h +
|
|
5443
|
-
if (!p && !S && T && Object.keys(s).length && (!n.maxDepth || u <
|
|
5461
|
+
const s = E[l], p = n.safe && Array.isArray(s), b = Object.prototype.toString.call(s), S = e(s), T = b === "[object Object]" || b === "[object Array]", I = N ? N + h + v(l) : v(l);
|
|
5462
|
+
if (!p && !S && T && Object.keys(s).length && (!n.maxDepth || u < y))
|
|
5444
5463
|
return A(s, I, u + 1);
|
|
5445
5464
|
f[I] = s;
|
|
5446
5465
|
});
|
|
@@ -5449,7 +5468,7 @@ function Xe() {
|
|
|
5449
5468
|
}
|
|
5450
5469
|
function i(r, n) {
|
|
5451
5470
|
n = n || {};
|
|
5452
|
-
const h = n.delimiter || ".",
|
|
5471
|
+
const h = n.delimiter || ".", y = n.overwrite || !1, v = n.transformKey || t, f = {};
|
|
5453
5472
|
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
5454
5473
|
return r;
|
|
5455
5474
|
function E(l) {
|
|
@@ -5478,46 +5497,46 @@ function Xe() {
|
|
|
5478
5497
|
o(r[s], n)
|
|
5479
5498
|
);
|
|
5480
5499
|
}, {}), Object.keys(r).forEach(function(l) {
|
|
5481
|
-
const s = l.split(h).map(
|
|
5500
|
+
const s = l.split(h).map(v);
|
|
5482
5501
|
let p = E(s.shift()), b = E(s[0]), S = f;
|
|
5483
5502
|
for (; b !== void 0; ) {
|
|
5484
5503
|
if (p === "__proto__")
|
|
5485
5504
|
return;
|
|
5486
5505
|
const T = Object.prototype.toString.call(S[p]), I = T === "[object Object]" || T === "[object Array]";
|
|
5487
|
-
if (!
|
|
5506
|
+
if (!y && !I && typeof S[p] < "u")
|
|
5488
5507
|
return;
|
|
5489
|
-
(
|
|
5508
|
+
(y && !I || !y && S[p] == null) && (S[p] = typeof b == "number" && !n.object ? [] : {}), S = S[p], s.length > 0 && (p = E(s.shift()), b = E(s[0]));
|
|
5490
5509
|
}
|
|
5491
5510
|
S[p] = i(r[l], n);
|
|
5492
5511
|
}), f;
|
|
5493
5512
|
}
|
|
5494
5513
|
return F;
|
|
5495
5514
|
}
|
|
5496
|
-
var oe =
|
|
5515
|
+
var oe = Je();
|
|
5497
5516
|
const ie = {
|
|
5498
|
-
fr: { ...
|
|
5499
|
-
en: { ...
|
|
5500
|
-
},
|
|
5517
|
+
fr: { ...We, common: pe },
|
|
5518
|
+
en: { ...Xe, common: ue }
|
|
5519
|
+
}, $e = Q(
|
|
5501
5520
|
() => oe.flatten(ie.fr)
|
|
5502
|
-
),
|
|
5521
|
+
), Qe = Q(
|
|
5503
5522
|
() => oe.flatten(ie.en)
|
|
5504
|
-
),
|
|
5523
|
+
), Pt = {
|
|
5505
5524
|
get fr() {
|
|
5506
|
-
return
|
|
5525
|
+
return $e();
|
|
5507
5526
|
},
|
|
5508
5527
|
get en() {
|
|
5509
|
-
return
|
|
5528
|
+
return Qe();
|
|
5510
5529
|
}
|
|
5511
|
-
},
|
|
5530
|
+
}, Ze = {
|
|
5512
5531
|
break: /* @__PURE__ */ d("br", {}),
|
|
5513
5532
|
bold: (...e) => /* @__PURE__ */ d("strong", { children: e }),
|
|
5514
5533
|
italic: (...e) => /* @__PURE__ */ d("i", { children: e }),
|
|
5515
5534
|
primary: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5516
5535
|
focus: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5517
|
-
},
|
|
5536
|
+
}, wt = () => {
|
|
5518
5537
|
const e = G(), t = X(
|
|
5519
5538
|
(o, i) => e.formatMessage(o, {
|
|
5520
|
-
...
|
|
5539
|
+
...Ze,
|
|
5521
5540
|
...i
|
|
5522
5541
|
}),
|
|
5523
5542
|
[e]
|
|
@@ -5526,7 +5545,7 @@ const ie = {
|
|
|
5526
5545
|
const { formatMessage: o, ...i } = e;
|
|
5527
5546
|
return { ...i, formatRichMessage: t };
|
|
5528
5547
|
}, [e, t]);
|
|
5529
|
-
},
|
|
5548
|
+
}, et = /* @__PURE__ */ new Set(["a", "button"]), tt = g("div", {
|
|
5530
5549
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5531
5550
|
})(({ theme: e, ownerState: t }) => {
|
|
5532
5551
|
const { tokens: o, radii: i, space: r } = e.design;
|
|
@@ -5545,83 +5564,87 @@ const ie = {
|
|
|
5545
5564
|
font: "inherit",
|
|
5546
5565
|
textAlign: "inherit",
|
|
5547
5566
|
textDecoration: "none",
|
|
5548
|
-
transition:
|
|
5567
|
+
transition: ve(e, ["border-color"]),
|
|
5549
5568
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5550
5569
|
"&:focus-visible": Ae(e)
|
|
5551
5570
|
}
|
|
5552
5571
|
};
|
|
5553
|
-
}),
|
|
5572
|
+
}), Lt = ae(function({
|
|
5554
5573
|
interactive: t = !1,
|
|
5555
5574
|
padding: o = 4,
|
|
5556
5575
|
component: i = "div",
|
|
5557
5576
|
children: r,
|
|
5558
5577
|
onKeyDown: n,
|
|
5559
5578
|
role: h,
|
|
5560
|
-
tabIndex:
|
|
5561
|
-
...
|
|
5579
|
+
tabIndex: y,
|
|
5580
|
+
...v
|
|
5562
5581
|
}, f) {
|
|
5563
|
-
const A = t && typeof i == "string" && !
|
|
5582
|
+
const A = t && typeof i == "string" && !et.has(i), E = X(
|
|
5564
5583
|
(u) => {
|
|
5565
5584
|
typeof f == "function" ? f(u) : f !== null && (f.current = u);
|
|
5566
5585
|
},
|
|
5567
5586
|
[f]
|
|
5568
5587
|
);
|
|
5569
5588
|
return /* @__PURE__ */ d(
|
|
5570
|
-
|
|
5589
|
+
tt,
|
|
5571
5590
|
{
|
|
5572
5591
|
ref: E,
|
|
5573
5592
|
as: i,
|
|
5574
5593
|
ownerState: { interactive: t, padding: o },
|
|
5575
5594
|
role: h ?? (A ? "button" : void 0),
|
|
5576
|
-
tabIndex:
|
|
5595
|
+
tabIndex: y ?? (A ? 0 : void 0),
|
|
5577
5596
|
onKeyDown: (u) => {
|
|
5578
5597
|
n == null || n(u), A && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5579
5598
|
},
|
|
5580
|
-
...
|
|
5599
|
+
...v,
|
|
5581
5600
|
children: r
|
|
5582
5601
|
}
|
|
5583
5602
|
);
|
|
5584
5603
|
});
|
|
5585
5604
|
export {
|
|
5586
|
-
|
|
5605
|
+
Ot as A,
|
|
5587
5606
|
De as B,
|
|
5588
|
-
|
|
5607
|
+
Pe as C,
|
|
5589
5608
|
R as D,
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5609
|
+
vt as E,
|
|
5610
|
+
Et as F,
|
|
5611
|
+
Ke as G,
|
|
5612
|
+
qe as H,
|
|
5613
|
+
ie as I,
|
|
5614
|
+
Xe as J,
|
|
5615
|
+
We as K,
|
|
5616
|
+
gt as L,
|
|
5617
|
+
It as M,
|
|
5618
|
+
bt as N,
|
|
5619
|
+
U as O,
|
|
5620
|
+
Dt as P,
|
|
5621
|
+
Ze as R,
|
|
5599
5622
|
_ as S,
|
|
5600
|
-
|
|
5623
|
+
Ct as T,
|
|
5601
5624
|
Z as a,
|
|
5602
|
-
|
|
5603
|
-
|
|
5625
|
+
Lt as b,
|
|
5626
|
+
_t as c,
|
|
5604
5627
|
w as d,
|
|
5605
|
-
|
|
5606
|
-
|
|
5628
|
+
we as e,
|
|
5629
|
+
Pt as f,
|
|
5607
5630
|
ye as g,
|
|
5608
5631
|
L as h,
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5632
|
+
ve as i,
|
|
5633
|
+
Ae as j,
|
|
5634
|
+
Ee as k,
|
|
5635
|
+
me as l,
|
|
5636
|
+
be as m,
|
|
5637
|
+
At as n,
|
|
5638
|
+
Tt as o,
|
|
5616
5639
|
a as p,
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5640
|
+
j as q,
|
|
5641
|
+
ft as r,
|
|
5642
|
+
St as s,
|
|
5643
|
+
Rt as t,
|
|
5644
|
+
wt as u,
|
|
5645
|
+
ht as v,
|
|
5623
5646
|
P as w,
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5647
|
+
yt as x,
|
|
5648
|
+
fe as y,
|
|
5649
|
+
Nt as z
|
|
5627
5650
|
};
|