@abyss-project/commons-front-core 21.7.0 → 21.8.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/CHANGELOG.md +4 -0
- package/catalog/captures-plan.ts +1 -0
- package/catalog/catalog-entries.ts +4 -0
- package/catalog/pages/DateTimeField.tsx +55 -0
- package/catalog/pages/ModalFullScreen.tsx +78 -0
- package/catalog/pages/index.ts +4 -0
- package/dist/{CookieConsentSettings-BrCSm1XE.js → CookieConsentSettings-DmdpkY4W.js} +1 -1
- package/dist/{Surface-D72TnJbC.js → Surface-Bz9IlYzh.js} +552 -450
- package/dist/{Tabs-DVLY2xcX.js → Tabs-BCsiGmjM.js} +1 -1
- package/dist/components/inputs/DateTimeField/DateTimeField.d.ts +22 -0
- package/dist/components/inputs/DateTimeField/DateTimeField.spec.d.ts +1 -0
- package/dist/components/inputs/date-localization.d.ts +2 -1
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/layers/Modal/Modal.d.ts +20 -5
- package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +11 -2
- package/dist/components/structure/AppShell/ShellNavigation.spec.d.ts +1 -0
- package/dist/components/structure/AppShell/use-reveal-active-entry.d.ts +10 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-e2Ub2tja.js → editors-ROEvrYr4.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +10 -0
- package/dist/{index-BQQDVuBk.js → index-5A2mIQ9G.js} +4 -4
- package/dist/{index-Delldxwj.js → index-BNlYqNm9.js} +3 -3
- package/dist/{index-u1nOu-io.js → index-BRaIFAIi.js} +4 -4
- package/dist/{index-BBPqIUfY.js → index-BVTeKL8H.js} +3 -3
- package/dist/{index-dl-FmtUS.js → index-BlYhAWr_.js} +1 -1
- package/dist/{index-D9dkSnz4.js → index-Btj0N4JN.js} +2 -2
- package/dist/{index-CCRG32M5.js → index-BuPLdG_9.js} +2 -2
- package/dist/{index-DmcHGNWF.js → index-BzT36p42.js} +4 -4
- package/dist/{index-Dl-asA62.js → index-CXgXyfY3.js} +2 -2
- package/dist/{index-DVZlrW-W.js → index-C_j0gA3H.js} +2 -2
- package/dist/{index-C3_b7Tvv.js → index-CeZseajO.js} +2 -2
- package/dist/{index-Rxl7Ly4v.js → index-Clxj6idW.js} +2 -2
- package/dist/{index-C7azTLVR.js → index-CpA0L8Ml.js} +2 -2
- package/dist/{index-DjMG8gzD.js → index-Cq_z0w7j.js} +3 -3
- package/dist/{index-fnqZ2bHM.js → index-D9WfqtNo.js} +2 -2
- package/dist/{index-DErr8t0U.js → index-DccwknnA.js} +2 -2
- package/dist/{index-CXpH_nma.js → index-DoQsEkVC.js} +3 -3
- package/dist/{index-BFJmgYfI.js → index-DxotIOMC.js} +2 -2
- package/dist/{index-BpaOna7B.js → index-L5J7_NGN.js} +2 -2
- package/dist/{index-B31D2APk.js → index-M8pctP26.js} +2 -2
- package/dist/{index-Co9YsCOx.js → index-z_gfRs5k.js} +2 -2
- package/dist/index.js +8962 -8888
- package/dist/translations/en.d.ts +5 -0
- package/dist/translations/fr.d.ts +5 -0
- package/package.json +1 -1
- package/test-results/catalog/.last-run.json +4 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createContext as
|
|
3
|
-
import { useIntl as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { alpha as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { enTranslation as
|
|
12
|
-
import { l as
|
|
13
|
-
var
|
|
14
|
-
const
|
|
1
|
+
import { jsx as c, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as ge, useContext as fe, useId as G, useRef as H, useState as W, useCallback as te, useMemo as ve, forwardRef as ye } from "react";
|
|
3
|
+
import { useIntl as Y } from "react-intl";
|
|
4
|
+
import Ae from "@mui/material/Dialog";
|
|
5
|
+
import j from "@mui/material/IconButton";
|
|
6
|
+
import { alpha as be, styled as u, useTheme as Ee } from "@mui/material/styles";
|
|
7
|
+
import z from "@mui/icons-material/Close";
|
|
8
|
+
import K from "@mui/material/useMediaQuery";
|
|
9
|
+
import Te from "@mui/material/Modal";
|
|
10
|
+
import Se from "@mui/material/Slide";
|
|
11
|
+
import { enTranslation as Re, frTranslation as Ne } from "@abyss-project/main";
|
|
12
|
+
import { l as oe } from "./lazy-value-Co76vxsM.js";
|
|
13
|
+
var Ce = /* @__PURE__ */ ((e) => (e.Dark = "dark", e.Light = "light", e))(Ce || {});
|
|
14
|
+
const Oe = 266, d = (e, o) => ({ l: e, c: o, h: Oe }), Lt = {
|
|
15
15
|
dark: {
|
|
16
|
-
1:
|
|
17
|
-
2:
|
|
18
|
-
3:
|
|
19
|
-
4:
|
|
20
|
-
5:
|
|
21
|
-
6:
|
|
22
|
-
7:
|
|
23
|
-
8:
|
|
24
|
-
9:
|
|
25
|
-
10:
|
|
26
|
-
11:
|
|
27
|
-
12:
|
|
16
|
+
1: d(0.155, 0.034),
|
|
17
|
+
2: d(0.17, 0.036),
|
|
18
|
+
3: d(0.2, 0.04),
|
|
19
|
+
4: d(0.24, 0.042),
|
|
20
|
+
5: d(0.265, 0.042),
|
|
21
|
+
6: d(0.295, 0.042),
|
|
22
|
+
7: d(0.37, 0.045),
|
|
23
|
+
8: d(0.54, 0.045),
|
|
24
|
+
9: d(0.63, 0.035),
|
|
25
|
+
10: d(0.72, 0.03),
|
|
26
|
+
11: d(0.79, 0.03),
|
|
27
|
+
12: d(0.96, 0.01)
|
|
28
28
|
},
|
|
29
29
|
light: {
|
|
30
|
-
1:
|
|
31
|
-
2:
|
|
32
|
-
3:
|
|
33
|
-
4:
|
|
34
|
-
5:
|
|
35
|
-
6:
|
|
36
|
-
7:
|
|
37
|
-
8:
|
|
38
|
-
9:
|
|
39
|
-
10:
|
|
40
|
-
11:
|
|
41
|
-
12:
|
|
30
|
+
1: d(0.995, 3e-3),
|
|
31
|
+
2: d(0.975, 8e-3),
|
|
32
|
+
3: d(0.96, 0.012),
|
|
33
|
+
4: d(0.935, 0.016),
|
|
34
|
+
5: d(0.91, 0.018),
|
|
35
|
+
6: d(0.885, 0.02),
|
|
36
|
+
7: d(0.8, 0.03),
|
|
37
|
+
8: d(0.6, 0.035),
|
|
38
|
+
9: d(0.5, 0.04),
|
|
39
|
+
10: d(0.46, 0.042),
|
|
40
|
+
11: d(0.42, 0.045),
|
|
41
|
+
12: d(0.22, 0.045)
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, kt = {
|
|
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
|
+
}, Pt = {
|
|
47
47
|
caption: 11,
|
|
48
48
|
small: 12,
|
|
49
49
|
body: 13,
|
|
@@ -53,89 +53,89 @@ const Se = 266, c = (e, t) => ({ l: e, c: t, h: Se }), Ct = {
|
|
|
53
53
|
pageTitle: 22,
|
|
54
54
|
figure: 26,
|
|
55
55
|
mobileLargeTitle: 30
|
|
56
|
-
},
|
|
56
|
+
}, re = {
|
|
57
57
|
regular: 400,
|
|
58
58
|
medium: 500,
|
|
59
59
|
semibold: 600,
|
|
60
60
|
bold: 700
|
|
61
|
-
},
|
|
61
|
+
}, xt = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], Mt = {
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
65
|
-
},
|
|
65
|
+
}, Ut = {
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, Ft = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
|
-
},
|
|
72
|
+
}, X = {
|
|
73
73
|
xs: 0,
|
|
74
74
|
sm: 480,
|
|
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
|
|
82
82
|
};
|
|
83
|
-
var
|
|
84
|
-
const
|
|
85
|
-
tablet:
|
|
86
|
-
desktop:
|
|
87
|
-
},
|
|
83
|
+
var O = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(O || {});
|
|
84
|
+
const ie = {
|
|
85
|
+
tablet: X.md,
|
|
86
|
+
desktop: X.lg
|
|
87
|
+
}, _e = 0.05, M = (e) => `(min-width:${ie[e]}px)`, U = (e) => `(max-width:${ie[e] - _e}px)`, P = {
|
|
88
88
|
/** From the start of `tier` up. */
|
|
89
|
-
up: (e) => `@media ${
|
|
89
|
+
up: (e) => `@media ${M(e)}`,
|
|
90
90
|
/** Below the start of `tier`. */
|
|
91
|
-
down: (e) => `@media ${
|
|
91
|
+
down: (e) => `@media ${U(e)}`,
|
|
92
92
|
/** The widths of `tier` only. */
|
|
93
93
|
only: (e) => {
|
|
94
94
|
switch (e) {
|
|
95
95
|
case "mobile":
|
|
96
|
-
return `@media ${
|
|
96
|
+
return `@media ${U(
|
|
97
97
|
"tablet"
|
|
98
98
|
/* Tablet */
|
|
99
99
|
)}`;
|
|
100
100
|
case "tablet":
|
|
101
|
-
return `@media ${
|
|
101
|
+
return `@media ${M(
|
|
102
102
|
"tablet"
|
|
103
103
|
/* Tablet */
|
|
104
|
-
)} and ${
|
|
104
|
+
)} and ${U(
|
|
105
105
|
"desktop"
|
|
106
106
|
/* Desktop */
|
|
107
107
|
)}`;
|
|
108
108
|
case "desktop":
|
|
109
|
-
return `@media ${
|
|
109
|
+
return `@media ${M(
|
|
110
110
|
"desktop"
|
|
111
111
|
/* Desktop */
|
|
112
112
|
)}`;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, Ie = 0.14, a = (e) => `${e}px`, k = (e) => `1px solid ${e}`, Gt = (e) => be(e, Ie), we = (e) => ({
|
|
116
116
|
outline: `2px solid ${e.design.tokens["focus.ring"]}`,
|
|
117
117
|
outlineOffset: "2px"
|
|
118
|
-
}),
|
|
119
|
-
[
|
|
118
|
+
}), zt = (e, o) => o === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Yt = (e) => e.design.densityValues[e.design.density].row, jt = (e) => ({
|
|
119
|
+
[P.down(O.Tablet)]: {
|
|
120
120
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
123
|
-
[
|
|
122
|
+
}), ae = (e) => ({
|
|
123
|
+
[P.down(O.Tablet)]: {
|
|
124
124
|
minWidth: a(e.design.densityValues.touchTarget),
|
|
125
125
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
128
|
-
(
|
|
129
|
-
).join(", "),
|
|
130
|
-
const e =
|
|
127
|
+
}), De = (e, o, i = "fast") => o.map(
|
|
128
|
+
(t) => `${t} ${e.design.durations[i]}ms ${e.design.easings.standard}`
|
|
129
|
+
).join(", "), Le = () => {
|
|
130
|
+
const e = K(P.up(O.Desktop), {
|
|
131
131
|
noSsr: !0
|
|
132
|
-
}),
|
|
132
|
+
}), o = K(P.down(O.Tablet), {
|
|
133
133
|
noSsr: !0
|
|
134
134
|
});
|
|
135
|
-
return e ?
|
|
135
|
+
return e ? O.Desktop : o ? O.Mobile : O.Tablet;
|
|
136
136
|
};
|
|
137
|
-
var
|
|
138
|
-
const
|
|
137
|
+
var S = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(S || {});
|
|
138
|
+
const N = (e, o) => `calc(${a(o)} + env(safe-area-inset-${e}))`, ke = 0.3, Pe = ge(!1), qt = () => fe(Pe), xe = u("div")({
|
|
139
139
|
position: "absolute",
|
|
140
140
|
left: 0,
|
|
141
141
|
right: 0,
|
|
@@ -143,226 +143,306 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, we = 0.3, De =
|
|
|
143
143
|
maxHeight: "100%",
|
|
144
144
|
display: "flex",
|
|
145
145
|
outline: "none"
|
|
146
|
-
}),
|
|
147
|
-
const { tokens:
|
|
146
|
+
}), Me = u("div")(({ theme: e }) => {
|
|
147
|
+
const { tokens: o, radii: i, space: t, elevations: r, fonts: n } = e.design;
|
|
148
148
|
return {
|
|
149
149
|
flex: "1 1 auto",
|
|
150
150
|
minWidth: 0,
|
|
151
|
-
maxHeight: `calc(100vh - ${
|
|
151
|
+
maxHeight: `calc(100vh - ${N(S.Top, t[8])})`,
|
|
152
152
|
display: "flex",
|
|
153
153
|
flexDirection: "column",
|
|
154
|
-
gap: a(
|
|
155
|
-
paddingTop: a(
|
|
156
|
-
paddingBottom:
|
|
157
|
-
paddingLeft:
|
|
158
|
-
paddingRight:
|
|
159
|
-
backgroundColor:
|
|
160
|
-
color:
|
|
161
|
-
fontFamily:
|
|
162
|
-
borderTop:
|
|
163
|
-
borderTopLeftRadius: a(
|
|
164
|
-
borderTopRightRadius: a(
|
|
165
|
-
boxShadow:
|
|
154
|
+
gap: a(t[3]),
|
|
155
|
+
paddingTop: a(t[2]),
|
|
156
|
+
paddingBottom: N(S.Bottom, t[6]),
|
|
157
|
+
paddingLeft: N(S.Left, t[4]),
|
|
158
|
+
paddingRight: N(S.Right, t[4]),
|
|
159
|
+
backgroundColor: o["bg.surface"],
|
|
160
|
+
color: o["text.primary"],
|
|
161
|
+
fontFamily: n.sans,
|
|
162
|
+
borderTop: k(o["border.strong"]),
|
|
163
|
+
borderTopLeftRadius: a(i.lg),
|
|
164
|
+
borderTopRightRadius: a(i.lg),
|
|
165
|
+
boxShadow: r.modal,
|
|
166
166
|
outline: "none",
|
|
167
167
|
position: "relative"
|
|
168
168
|
};
|
|
169
|
-
}),
|
|
169
|
+
}), Ue = u(j)(({ theme: e }) => ({
|
|
170
170
|
position: "absolute",
|
|
171
171
|
top: a(e.design.space[1]),
|
|
172
|
-
right:
|
|
173
|
-
...
|
|
174
|
-
})),
|
|
175
|
-
|
|
172
|
+
right: N(S.Right, e.design.space[2]),
|
|
173
|
+
...ae(e)
|
|
174
|
+
})), Fe = u("div")(({ theme: e }) => ({
|
|
175
|
+
flex: "none",
|
|
176
|
+
alignSelf: "flex-end",
|
|
177
|
+
display: "flex",
|
|
178
|
+
alignItems: "center",
|
|
179
|
+
gap: a(e.design.space[1])
|
|
180
|
+
})), Be = u(j)(
|
|
181
|
+
({ theme: e }) => ae(e)
|
|
182
|
+
), Ge = u("div")(({ theme: e }) => {
|
|
183
|
+
const { space: o, densityValues: i } = e.design;
|
|
176
184
|
return {
|
|
177
185
|
flex: "none",
|
|
178
186
|
display: "flex",
|
|
179
187
|
flexDirection: "column",
|
|
180
188
|
alignItems: "center",
|
|
181
|
-
gap: a(
|
|
182
|
-
minHeight: a(
|
|
189
|
+
gap: a(o[2]),
|
|
190
|
+
minHeight: a(i.touchTarget / 2),
|
|
183
191
|
touchAction: "none",
|
|
184
192
|
cursor: "grab"
|
|
185
193
|
};
|
|
186
|
-
}),
|
|
187
|
-
const { tokens:
|
|
194
|
+
}), ze = u("span")(({ theme: e }) => {
|
|
195
|
+
const { tokens: o, radii: i, space: t } = e.design;
|
|
188
196
|
return {
|
|
189
|
-
width: a(
|
|
190
|
-
height: a(
|
|
191
|
-
borderRadius: a(
|
|
192
|
-
backgroundColor:
|
|
197
|
+
width: a(t[8]),
|
|
198
|
+
height: a(t[1]),
|
|
199
|
+
borderRadius: a(i.sm),
|
|
200
|
+
backgroundColor: o["border.strong"]
|
|
193
201
|
};
|
|
194
|
-
}),
|
|
202
|
+
}), Ye = u("h2", {
|
|
195
203
|
shouldForwardProp: (e) => e !== "besideClose"
|
|
196
|
-
})(({ theme: e, besideClose:
|
|
197
|
-
const { typeScale:
|
|
204
|
+
})(({ theme: e, besideClose: o }) => {
|
|
205
|
+
const { typeScale: i, densityValues: t, space: r } = e.design;
|
|
198
206
|
return {
|
|
199
207
|
alignSelf: "stretch",
|
|
200
208
|
margin: 0,
|
|
201
209
|
// Clear of the close button in the corner.
|
|
202
|
-
paddingRight:
|
|
203
|
-
fontSize: a(
|
|
204
|
-
fontWeight:
|
|
210
|
+
paddingRight: o ? a(t.touchTarget + r[2]) : void 0,
|
|
211
|
+
fontSize: a(i.sectionTitle),
|
|
212
|
+
fontWeight: re.semibold,
|
|
205
213
|
overflowWrap: "anywhere"
|
|
206
214
|
};
|
|
207
|
-
}),
|
|
215
|
+
}), je = u("span")(({ theme: e }) => ({
|
|
208
216
|
display: "inline-flex",
|
|
209
217
|
verticalAlign: "middle",
|
|
210
218
|
marginRight: a(e.design.space[2])
|
|
211
|
-
})),
|
|
219
|
+
})), qe = u("div")({
|
|
212
220
|
flex: "1 1 auto",
|
|
213
221
|
minHeight: 0,
|
|
214
222
|
overflowY: "auto",
|
|
215
223
|
overscrollBehavior: "contain"
|
|
216
|
-
}),
|
|
224
|
+
}), Ve = u("div")(({ theme: e }) => ({
|
|
217
225
|
flex: "none",
|
|
218
226
|
paddingTop: a(e.design.space[3]),
|
|
219
|
-
borderTop:
|
|
227
|
+
borderTop: k(e.design.tokens["border.subtle"])
|
|
220
228
|
}));
|
|
221
|
-
function
|
|
229
|
+
function He({
|
|
222
230
|
open: e,
|
|
223
|
-
onClose:
|
|
224
|
-
title:
|
|
225
|
-
titleIcon:
|
|
226
|
-
closeLabel:
|
|
227
|
-
footer:
|
|
228
|
-
|
|
231
|
+
onClose: o,
|
|
232
|
+
title: i,
|
|
233
|
+
titleIcon: t,
|
|
234
|
+
closeLabel: r,
|
|
235
|
+
footer: n,
|
|
236
|
+
headerActions: f,
|
|
237
|
+
closeDisabled: v = !1,
|
|
238
|
+
onKeyDown: y,
|
|
239
|
+
children: h
|
|
229
240
|
}) {
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
},
|
|
233
|
-
|
|
234
|
-
},
|
|
235
|
-
var
|
|
236
|
-
if (
|
|
241
|
+
const E = Ee(), R = Y(), A = G(), p = H(null), l = H(null), [s, m] = W(0), [T, b] = W(!1), D = (I) => {
|
|
242
|
+
v || (I.currentTarget.setPointerCapture(I.pointerId), l.current = I.clientY, b(!0));
|
|
243
|
+
}, _ = (I) => {
|
|
244
|
+
l.current !== null && m(Math.max(0, I.clientY - l.current));
|
|
245
|
+
}, pe = (I) => {
|
|
246
|
+
var V;
|
|
247
|
+
if (l.current === null)
|
|
237
248
|
return;
|
|
238
|
-
const
|
|
239
|
-
|
|
240
|
-
},
|
|
241
|
-
|
|
249
|
+
const he = Math.max(0, I.clientY - l.current), q = ((V = p.current) == null ? void 0 : V.getBoundingClientRect().height) ?? 0;
|
|
250
|
+
l.current = null, b(!1), m(0), !v && q > 0 && he >= q * ke && o();
|
|
251
|
+
}, me = () => {
|
|
252
|
+
l.current = null, b(!1), m(0);
|
|
242
253
|
};
|
|
243
|
-
return /* @__PURE__ */
|
|
244
|
-
|
|
254
|
+
return /* @__PURE__ */ c(
|
|
255
|
+
Te,
|
|
245
256
|
{
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
ke,
|
|
257
|
+
open: e,
|
|
258
|
+
onClose: v ? void 0 : () => o(),
|
|
259
|
+
...y !== void 0 && { onKeyDown: y },
|
|
260
|
+
children: /* @__PURE__ */ c(
|
|
261
|
+
Se,
|
|
252
262
|
{
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
263
|
+
in: e,
|
|
264
|
+
direction: "up",
|
|
265
|
+
timeout: E.design.durations.slow,
|
|
266
|
+
easing: E.design.easings.sheet,
|
|
267
|
+
children: /* @__PURE__ */ c(xe, { children: /* @__PURE__ */ C(
|
|
268
|
+
Me,
|
|
269
|
+
{
|
|
270
|
+
ref: p,
|
|
271
|
+
role: "dialog",
|
|
272
|
+
"aria-modal": "true",
|
|
273
|
+
"aria-labelledby": i ? A : void 0,
|
|
274
|
+
"aria-label": i ? void 0 : R.formatMessage({ id: "ds.mobile.bottom-sheet.label" }),
|
|
275
|
+
tabIndex: -1,
|
|
276
|
+
style: {
|
|
277
|
+
// No transform at rest: a transformed panel is the containing block of whatever is
|
|
278
|
+
// `position: fixed` inside it (the cookie banner hosted by the sheet), and would anchor it to
|
|
279
|
+
// the panel instead of the viewport.
|
|
280
|
+
transform: s === 0 && !T ? "none" : `translateY(${a(s)})`,
|
|
281
|
+
transition: T ? "none" : `transform ${E.design.durations.base}ms ${E.design.easings.sheet}`
|
|
282
|
+
},
|
|
283
|
+
children: [
|
|
284
|
+
/* @__PURE__ */ C(
|
|
285
|
+
Ge,
|
|
286
|
+
{
|
|
287
|
+
"data-testid": "bottom-sheet-drag-zone",
|
|
288
|
+
onPointerDown: D,
|
|
289
|
+
onPointerMove: _,
|
|
290
|
+
onPointerUp: pe,
|
|
291
|
+
onPointerCancel: me,
|
|
292
|
+
children: [
|
|
293
|
+
/* @__PURE__ */ c(ze, { "aria-hidden": "true" }),
|
|
294
|
+
i ? /* @__PURE__ */ C(
|
|
295
|
+
Ye,
|
|
296
|
+
{
|
|
297
|
+
id: A,
|
|
298
|
+
besideClose: r !== void 0 && f === void 0,
|
|
299
|
+
children: [
|
|
300
|
+
t !== void 0 && /* @__PURE__ */ c(je, { "aria-hidden": "true", children: t }),
|
|
301
|
+
i
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
) : null
|
|
305
|
+
]
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
f !== void 0 ? /* @__PURE__ */ C(Fe, { children: [
|
|
309
|
+
f,
|
|
310
|
+
r !== void 0 && /* @__PURE__ */ c(
|
|
311
|
+
Be,
|
|
312
|
+
{
|
|
313
|
+
"aria-label": r,
|
|
314
|
+
disabled: v,
|
|
315
|
+
onClick: () => o(),
|
|
316
|
+
children: /* @__PURE__ */ c(z, { "aria-hidden": !0 })
|
|
317
|
+
}
|
|
318
|
+
)
|
|
319
|
+
] }) : r !== void 0 && /* @__PURE__ */ c(
|
|
320
|
+
Ue,
|
|
321
|
+
{
|
|
322
|
+
"aria-label": r,
|
|
323
|
+
disabled: v,
|
|
324
|
+
onClick: () => o(),
|
|
325
|
+
children: /* @__PURE__ */ c(z, { "aria-hidden": !0 })
|
|
326
|
+
}
|
|
327
|
+
),
|
|
328
|
+
/* @__PURE__ */ c(qe, { children: h }),
|
|
329
|
+
n !== void 0 && /* @__PURE__ */ c(Ve, { children: n })
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
) })
|
|
288
333
|
}
|
|
289
|
-
)
|
|
334
|
+
)
|
|
290
335
|
}
|
|
291
|
-
)
|
|
336
|
+
);
|
|
292
337
|
}
|
|
293
|
-
const
|
|
294
|
-
var
|
|
295
|
-
const
|
|
296
|
-
const { tokens:
|
|
338
|
+
const Vt = "--abyss-toast-clearance", Ht = "--abyss-cookie-banner-modal-clearance", Wt = "--abyss-toast-dialog-foot-clearance", We = "data-abyss-dialog-foot";
|
|
339
|
+
var Ke = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e.FullScreen = "fullscreen", e))(Ke || {});
|
|
340
|
+
const Xe = u(Ae)(({ theme: e, fullScreen: o }) => {
|
|
341
|
+
const { tokens: i, fonts: t, space: r } = e.design;
|
|
297
342
|
return {
|
|
298
343
|
"& .MuiDialog-paper": {
|
|
299
|
-
margin: a(r[4]),
|
|
300
|
-
maxHeight: `calc(100% - ${a(r[7])})`,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
344
|
+
margin: o ? 0 : a(r[4]),
|
|
345
|
+
maxHeight: o ? "100%" : `calc(100% - ${a(r[7])})`,
|
|
346
|
+
borderRadius: o ? 0 : void 0,
|
|
347
|
+
// Edge to edge: the hairline that lifts a floating modal off the scrim has nothing to frame here.
|
|
348
|
+
border: o ? "none" : void 0,
|
|
349
|
+
backgroundColor: i["bg.surface"],
|
|
350
|
+
color: i["text.primary"],
|
|
351
|
+
fontFamily: t.sans,
|
|
304
352
|
overflow: "hidden"
|
|
305
353
|
},
|
|
306
354
|
"& .MuiDialog-paperFullWidth": {
|
|
307
355
|
width: `calc(100% - ${a(r[7])})`
|
|
308
356
|
}
|
|
309
357
|
};
|
|
310
|
-
}),
|
|
311
|
-
|
|
358
|
+
}), Je = u("div", {
|
|
359
|
+
shouldForwardProp: (e) => e !== "fill"
|
|
360
|
+
})(({ theme: e, fill: o }) => {
|
|
361
|
+
const { tokens: i, space: t } = e.design;
|
|
312
362
|
return {
|
|
313
363
|
flex: "none",
|
|
314
364
|
display: "flex",
|
|
315
365
|
justifyContent: "space-between",
|
|
316
366
|
alignItems: "flex-start",
|
|
317
|
-
gap: a(
|
|
318
|
-
|
|
319
|
-
|
|
367
|
+
gap: a(t[4]),
|
|
368
|
+
...o ? {
|
|
369
|
+
paddingTop: N(S.Top, t[4]),
|
|
370
|
+
paddingBottom: a(t[4]),
|
|
371
|
+
paddingLeft: N(S.Left, t[5]),
|
|
372
|
+
paddingRight: N(S.Right, t[5])
|
|
373
|
+
} : { padding: `${a(t[4])} ${a(t[5])}` },
|
|
374
|
+
borderBottom: k(i["border.subtle"])
|
|
320
375
|
};
|
|
321
|
-
}),
|
|
376
|
+
}), $e = u("div")({ minWidth: 0 }), Qe = u("div")(({ theme: e }) => ({
|
|
377
|
+
flex: "none",
|
|
378
|
+
display: "flex",
|
|
379
|
+
alignItems: "center",
|
|
380
|
+
gap: a(e.design.space[1])
|
|
381
|
+
})), Ze = u("div")(({ theme: e }) => ({
|
|
322
382
|
minWidth: 0,
|
|
323
383
|
display: "flex",
|
|
324
384
|
alignItems: "flex-start",
|
|
325
385
|
gap: a(e.design.space[3])
|
|
326
|
-
})),
|
|
386
|
+
})), et = u("span")({
|
|
327
387
|
flex: "none",
|
|
328
388
|
display: "inline-flex"
|
|
329
|
-
}),
|
|
389
|
+
}), tt = u("h2")(({ theme: e }) => ({
|
|
330
390
|
margin: 0,
|
|
331
391
|
fontSize: a(e.design.typeScale.sectionTitle),
|
|
332
|
-
fontWeight:
|
|
392
|
+
fontWeight: re.semibold,
|
|
333
393
|
overflowWrap: "anywhere"
|
|
334
|
-
})),
|
|
335
|
-
const { tokens:
|
|
394
|
+
})), ot = u("p")(({ theme: e }) => {
|
|
395
|
+
const { tokens: o, space: i, typeScale: t } = e.design;
|
|
336
396
|
return {
|
|
337
|
-
margin: `${a(
|
|
338
|
-
color:
|
|
339
|
-
fontSize: a(
|
|
397
|
+
margin: `${a(i[1])} 0 0`,
|
|
398
|
+
color: o["text.muted"],
|
|
399
|
+
fontSize: a(t.body),
|
|
340
400
|
overflowWrap: "anywhere"
|
|
341
401
|
};
|
|
342
|
-
}),
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
402
|
+
}), rt = u("div", {
|
|
403
|
+
shouldForwardProp: (e) => e !== "fill" && e !== "footed"
|
|
404
|
+
})(({ theme: e, fill: o, footed: i }) => {
|
|
405
|
+
const { space: t, typeScale: r } = e.design;
|
|
406
|
+
return {
|
|
407
|
+
flex: o ? 1 : "1 1 auto",
|
|
408
|
+
minHeight: 0,
|
|
409
|
+
overflowY: "auto",
|
|
410
|
+
fontSize: a(r.body),
|
|
411
|
+
...o ? {
|
|
412
|
+
display: "flex",
|
|
413
|
+
flexDirection: "column",
|
|
414
|
+
position: "relative",
|
|
415
|
+
padding: 0,
|
|
416
|
+
paddingLeft: N(S.Left, 0),
|
|
417
|
+
paddingRight: N(S.Right, 0),
|
|
418
|
+
paddingBottom: i ? 0 : N(S.Bottom, 0)
|
|
419
|
+
} : { padding: a(t[5]) }
|
|
420
|
+
};
|
|
421
|
+
}), it = u("div", {
|
|
422
|
+
shouldForwardProp: (e) => e !== "fill"
|
|
423
|
+
})(({ theme: e, fill: o }) => {
|
|
424
|
+
const { tokens: i, space: t } = e.design;
|
|
350
425
|
return {
|
|
351
426
|
flex: "none",
|
|
352
427
|
display: "flex",
|
|
353
428
|
flexWrap: "wrap",
|
|
354
429
|
justifyContent: "flex-end",
|
|
355
430
|
alignItems: "center",
|
|
356
|
-
gap: a(
|
|
357
|
-
|
|
358
|
-
|
|
431
|
+
gap: a(t[3]),
|
|
432
|
+
...o ? {
|
|
433
|
+
paddingTop: a(t[3]),
|
|
434
|
+
paddingBottom: N(S.Bottom, t[3]),
|
|
435
|
+
paddingLeft: N(S.Left, t[5]),
|
|
436
|
+
paddingRight: N(S.Right, t[5])
|
|
437
|
+
} : { padding: `${a(t[3])} ${a(t[5])}` },
|
|
438
|
+
borderTop: k(i["border.subtle"])
|
|
359
439
|
};
|
|
360
|
-
}),
|
|
440
|
+
}), at = u("p")(({ theme: e }) => ({
|
|
361
441
|
margin: `0 0 ${a(e.design.space[3])}`,
|
|
362
442
|
color: e.design.tokens["text.muted"],
|
|
363
443
|
fontSize: a(e.design.typeScale.bodyMobile),
|
|
364
444
|
overflowWrap: "anywhere"
|
|
365
|
-
})),
|
|
445
|
+
})), st = u("div")(({ theme: e }) => ({
|
|
366
446
|
display: "flex",
|
|
367
447
|
flexWrap: "wrap",
|
|
368
448
|
gap: a(e.design.space[2]),
|
|
@@ -370,66 +450,78 @@ const qe = p(ge)(({ theme: e }) => {
|
|
|
370
450
|
// stacks them, each growing to the full width.
|
|
371
451
|
"& > *": { flex: "1 1 auto", minWidth: "fit-content" }
|
|
372
452
|
}));
|
|
373
|
-
function
|
|
453
|
+
function Kt({
|
|
374
454
|
open: e,
|
|
375
|
-
onClose:
|
|
376
|
-
title:
|
|
377
|
-
titleIcon:
|
|
378
|
-
description:
|
|
379
|
-
size:
|
|
380
|
-
actions:
|
|
381
|
-
|
|
455
|
+
onClose: o,
|
|
456
|
+
title: i,
|
|
457
|
+
titleIcon: t,
|
|
458
|
+
description: r,
|
|
459
|
+
size: n = "md",
|
|
460
|
+
actions: f,
|
|
461
|
+
headerActions: v,
|
|
462
|
+
closeDisabled: y = !1,
|
|
463
|
+
onKeyDown: h,
|
|
464
|
+
children: E
|
|
382
465
|
}) {
|
|
383
|
-
const
|
|
384
|
-
return
|
|
385
|
-
|
|
466
|
+
const R = Y(), A = n === "fullscreen", p = Le() === O.Mobile && !A, l = G(), s = G();
|
|
467
|
+
return p ? /* @__PURE__ */ C(
|
|
468
|
+
He,
|
|
386
469
|
{
|
|
387
470
|
open: e,
|
|
388
|
-
onClose:
|
|
389
|
-
title:
|
|
390
|
-
titleIcon:
|
|
391
|
-
closeLabel:
|
|
392
|
-
|
|
471
|
+
onClose: o,
|
|
472
|
+
title: i,
|
|
473
|
+
titleIcon: t,
|
|
474
|
+
closeLabel: R.formatMessage({ id: "ds.layers.modal.close" }),
|
|
475
|
+
headerActions: v,
|
|
476
|
+
closeDisabled: y,
|
|
477
|
+
onKeyDown: h,
|
|
478
|
+
footer: f !== void 0 ? /* @__PURE__ */ c(st, { [We]: "", children: f }) : void 0,
|
|
393
479
|
children: [
|
|
394
|
-
|
|
395
|
-
|
|
480
|
+
r !== void 0 && /* @__PURE__ */ c(at, { children: r }),
|
|
481
|
+
E
|
|
396
482
|
]
|
|
397
483
|
}
|
|
398
484
|
) : /* @__PURE__ */ C(
|
|
399
|
-
|
|
485
|
+
Xe,
|
|
400
486
|
{
|
|
401
487
|
open: e,
|
|
402
|
-
onClose: () =>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
488
|
+
onClose: y ? void 0 : () => o(),
|
|
489
|
+
...h !== void 0 && { onKeyDown: h },
|
|
490
|
+
fullScreen: A,
|
|
491
|
+
maxWidth: A ? !1 : n,
|
|
492
|
+
fullWidth: !A,
|
|
493
|
+
"aria-labelledby": l,
|
|
494
|
+
"aria-describedby": r !== void 0 ? s : void 0,
|
|
407
495
|
children: [
|
|
408
|
-
/* @__PURE__ */ C(
|
|
409
|
-
/* @__PURE__ */ C(
|
|
410
|
-
|
|
411
|
-
/* @__PURE__ */ C(
|
|
412
|
-
/* @__PURE__ */
|
|
413
|
-
|
|
496
|
+
/* @__PURE__ */ C(Je, { fill: A, children: [
|
|
497
|
+
/* @__PURE__ */ C(Ze, { children: [
|
|
498
|
+
t !== void 0 && /* @__PURE__ */ c(et, { "aria-hidden": "true", children: t }),
|
|
499
|
+
/* @__PURE__ */ C($e, { children: [
|
|
500
|
+
/* @__PURE__ */ c(tt, { id: l, children: i }),
|
|
501
|
+
r !== void 0 && /* @__PURE__ */ c(ot, { id: s, children: r })
|
|
414
502
|
] })
|
|
415
503
|
] }),
|
|
416
|
-
/* @__PURE__ */
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
504
|
+
/* @__PURE__ */ C(Qe, { children: [
|
|
505
|
+
v,
|
|
506
|
+
/* @__PURE__ */ c(
|
|
507
|
+
j,
|
|
508
|
+
{
|
|
509
|
+
"aria-label": R.formatMessage({ id: "ds.layers.modal.close" }),
|
|
510
|
+
disabled: y,
|
|
511
|
+
onClick: o,
|
|
512
|
+
children: /* @__PURE__ */ c(z, { "aria-hidden": !0 })
|
|
513
|
+
}
|
|
514
|
+
)
|
|
515
|
+
] })
|
|
424
516
|
] }),
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
-
|
|
517
|
+
/* @__PURE__ */ c(rt, { fill: A, footed: f !== void 0, children: E }),
|
|
518
|
+
f !== void 0 && /* @__PURE__ */ c(it, { fill: A, children: f })
|
|
427
519
|
]
|
|
428
520
|
}
|
|
429
521
|
);
|
|
430
522
|
}
|
|
431
|
-
const
|
|
432
|
-
fr:
|
|
523
|
+
const J = (e) => e, se = {
|
|
524
|
+
fr: J({
|
|
433
525
|
PROJECTS_COUNT: "Projets",
|
|
434
526
|
MEMBERS_COUNT: "Membres",
|
|
435
527
|
TEAM_COUNT: "Équipes",
|
|
@@ -497,7 +589,7 @@ const W = (e) => e, ie = {
|
|
|
497
589
|
BANKING_PSD2_REFRESHES_MONTH: "Rafraîchissements PSD2 / mois",
|
|
498
590
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "Recalculs système / mois"
|
|
499
591
|
}),
|
|
500
|
-
en:
|
|
592
|
+
en: J({
|
|
501
593
|
PROJECTS_COUNT: "Projects",
|
|
502
594
|
MEMBERS_COUNT: "Members",
|
|
503
595
|
TEAM_COUNT: "Teams",
|
|
@@ -566,9 +658,9 @@ const W = (e) => e, ie = {
|
|
|
566
658
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "System resnapshots / month"
|
|
567
659
|
})
|
|
568
660
|
};
|
|
569
|
-
var
|
|
570
|
-
const
|
|
571
|
-
fr:
|
|
661
|
+
var ne = /* @__PURE__ */ ((e) => (e.DRAW = "draw", e.BOARD = "board", e.ATLAS = "atlas", e.RETROSPECTIVE = "retrospective", e.SHORT_LINK = "short_link", e.SPACE = "SPACE", e.FOLDER = "FOLDER", e.FILE = "FILE", e.CLOUD_FOLDER = "cloud_folder", e.CLOUD_GALLERY = "cloud_gallery", e.FORM = "form", e.SPOTLIGHT_PROJECT = "spotlight_project", e.EVENT = "event", e.REPORT = "report", e.BANKING_ORG = "banking_org", e.ASSET = "asset", e.WRAPPED_REPORT = "wrapped_report", e.DAILY_DIGEST = "daily_digest", e.ANALYTICS_SNAPSHOT = "analytics_snapshot", e.BANKING_VIEW_ACCOUNT = "banking_view_account", e.EXTRACTION_FILE = "extraction_file", e.EXTRACTION_TEMPLATE = "extraction_template", e.EXTRACTION_RESULT = "extraction_result", e.BEAM = "beam", e.BANKING_SCORE_SHARE_SET = "banking_score_share_set", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.VIEW = "VIEW", e.EDIT = "EDIT", e.MANAGE = "MANAGE", e))(le || {});
|
|
662
|
+
const nt = (e) => e.toLowerCase().replace(/_/g, "-"), Xt = Object.values(ne).map(nt), Jt = (e) => typeof e == "string" && Object.values(le).includes(e) ? e : "unknown", $ = (e) => e, x = {
|
|
663
|
+
fr: $({
|
|
572
664
|
labels: {
|
|
573
665
|
draw: "un dessin",
|
|
574
666
|
board: "un tableau",
|
|
@@ -599,7 +691,7 @@ const tt = (e) => e.toLowerCase().replace(/_/g, "-"), jt = Object.values(ae).map
|
|
|
599
691
|
},
|
|
600
692
|
withName: "{label} « {name} »"
|
|
601
693
|
}),
|
|
602
|
-
en:
|
|
694
|
+
en: $({
|
|
603
695
|
labels: {
|
|
604
696
|
draw: "a drawing",
|
|
605
697
|
board: "a board",
|
|
@@ -630,40 +722,40 @@ const tt = (e) => e.toLowerCase().replace(/_/g, "-"), jt = Object.values(ae).map
|
|
|
630
722
|
},
|
|
631
723
|
withName: '{label} "{name}"'
|
|
632
724
|
})
|
|
633
|
-
},
|
|
634
|
-
fr:
|
|
725
|
+
}, Q = (e) => e, ce = {
|
|
726
|
+
fr: Q({
|
|
635
727
|
VIEW: "accès en lecture",
|
|
636
728
|
EDIT: "accès en édition",
|
|
637
729
|
MANAGE: "accès en gestion",
|
|
638
730
|
unknown: "accès partagé"
|
|
639
731
|
}),
|
|
640
|
-
en:
|
|
732
|
+
en: Q({
|
|
641
733
|
VIEW: "view access",
|
|
642
734
|
EDIT: "edit access",
|
|
643
735
|
MANAGE: "manage access",
|
|
644
736
|
unknown: "shared access"
|
|
645
737
|
})
|
|
646
738
|
};
|
|
647
|
-
var
|
|
648
|
-
const
|
|
649
|
-
[
|
|
650
|
-
[
|
|
651
|
-
[
|
|
652
|
-
[
|
|
653
|
-
},
|
|
654
|
-
const
|
|
655
|
-
const
|
|
656
|
-
if (typeof
|
|
739
|
+
var L = /* @__PURE__ */ ((e) => (e.FREEMIUM = "FREEMIUM", e.DEFAULT = "DEFAULT", e.CUSTOM = "CUSTOM", e.SYSTEM = "SYSTEM", e))(L || {}), w = /* @__PURE__ */ ((e) => (e.FREEMIUM = "freemium", e.STARTER = "starter", e.PRO = "pro", e.ENTERPRISE = "enterprise", e.CUSTOM = "custom", e.INTERNAL = "internal", e.FAMILY_FREE = "family-free", e.FAMILY_PAID = "family-paid", e.DEMO = "demo", e))(w || {});
|
|
740
|
+
const lt = {
|
|
741
|
+
[L.FREEMIUM]: w.FREEMIUM,
|
|
742
|
+
[L.DEFAULT]: "paid",
|
|
743
|
+
[L.SYSTEM]: w.INTERNAL,
|
|
744
|
+
[L.CUSTOM]: w.CUSTOM
|
|
745
|
+
}, ct = new Set(Object.values(w)), F = (e) => e ? e.tier === L.CUSTOM ? w.CUSTOM : e.catalogKey && ct.has(e.catalogKey) ? e.catalogKey : lt[e.tier] ?? "paid" : w.FREEMIUM, $t = (e, o) => {
|
|
746
|
+
const i = (v) => {
|
|
747
|
+
const y = e[`${v}Tier`];
|
|
748
|
+
if (typeof y != "string")
|
|
657
749
|
return null;
|
|
658
|
-
const
|
|
750
|
+
const h = e[`${v}CatalogKey`];
|
|
659
751
|
return {
|
|
660
|
-
tier:
|
|
661
|
-
catalogKey: typeof
|
|
752
|
+
tier: y,
|
|
753
|
+
catalogKey: typeof h == "string" ? h : null
|
|
662
754
|
};
|
|
663
|
-
},
|
|
664
|
-
return
|
|
665
|
-
},
|
|
666
|
-
fr:
|
|
755
|
+
}, t = {}, r = i("plan"), n = i("oldPlan"), f = i("newPlan");
|
|
756
|
+
return r && (t.planName = o(F(r))), n && (t.oldPlanName = o(F(n))), f && (t.newPlanName = o(F(f))), t;
|
|
757
|
+
}, Z = (e) => e, g = {
|
|
758
|
+
fr: Z({
|
|
667
759
|
freemium: "Gratuit",
|
|
668
760
|
starter: "Starter",
|
|
669
761
|
pro: "Pro",
|
|
@@ -675,7 +767,7 @@ const ot = {
|
|
|
675
767
|
custom: "Plan personnalisé",
|
|
676
768
|
paid: "Plan payant"
|
|
677
769
|
}),
|
|
678
|
-
en:
|
|
770
|
+
en: Z({
|
|
679
771
|
freemium: "Free",
|
|
680
772
|
starter: "Starter",
|
|
681
773
|
pro: "Pro",
|
|
@@ -687,7 +779,7 @@ const ot = {
|
|
|
687
779
|
custom: "Custom plan",
|
|
688
780
|
paid: "Paid plan"
|
|
689
781
|
})
|
|
690
|
-
},
|
|
782
|
+
}, dt = {
|
|
691
783
|
banner: {
|
|
692
784
|
title: "Compte de démonstration",
|
|
693
785
|
summary: "{label} · expire le {date}",
|
|
@@ -702,8 +794,8 @@ const ot = {
|
|
|
702
794
|
}
|
|
703
795
|
},
|
|
704
796
|
blocked: "Indisponible en démo"
|
|
705
|
-
},
|
|
706
|
-
demo:
|
|
797
|
+
}, ut = {
|
|
798
|
+
demo: dt,
|
|
707
799
|
"space-display-name": {
|
|
708
800
|
personal: "Mon Cloud",
|
|
709
801
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -782,7 +874,7 @@ const ot = {
|
|
|
782
874
|
},
|
|
783
875
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
784
876
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
785
|
-
metric:
|
|
877
|
+
metric: se.fr
|
|
786
878
|
},
|
|
787
879
|
"error-page": {
|
|
788
880
|
title: "Une erreur est survenue",
|
|
@@ -1092,10 +1184,10 @@ const ot = {
|
|
|
1092
1184
|
"content-share": {
|
|
1093
1185
|
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
1094
1186
|
// their single source (#833), read by the API e-mails too.
|
|
1095
|
-
label:
|
|
1096
|
-
"label-with-name":
|
|
1187
|
+
label: x.fr.labels,
|
|
1188
|
+
"label-with-name": x.fr.withName,
|
|
1097
1189
|
// Same entry, same shape: `content-share.permission.<value>`, `unknown` for any other (#834).
|
|
1098
|
-
permission:
|
|
1190
|
+
permission: ce.fr
|
|
1099
1191
|
},
|
|
1100
1192
|
"pending-invitations": {
|
|
1101
1193
|
label: "Invitations en attente",
|
|
@@ -2405,6 +2497,11 @@ const ot = {
|
|
|
2405
2497
|
"before-min": "Date trop ancienne",
|
|
2406
2498
|
"after-max": "Date trop lointaine"
|
|
2407
2499
|
},
|
|
2500
|
+
"date-time": {
|
|
2501
|
+
invalid: "Date et heure invalides",
|
|
2502
|
+
"before-min": "Date et heure trop anciennes",
|
|
2503
|
+
"after-max": "Date et heure trop lointaines"
|
|
2504
|
+
},
|
|
2408
2505
|
"date-range": {
|
|
2409
2506
|
from: "Du",
|
|
2410
2507
|
to: "Au",
|
|
@@ -3120,7 +3217,7 @@ const ot = {
|
|
|
3120
3217
|
show: "Afficher le mot de passe",
|
|
3121
3218
|
hide: "Masquer le mot de passe"
|
|
3122
3219
|
}
|
|
3123
|
-
},
|
|
3220
|
+
}, pt = {
|
|
3124
3221
|
banner: {
|
|
3125
3222
|
title: "Demo account",
|
|
3126
3223
|
summary: "{label} · expires on {date}",
|
|
@@ -3135,8 +3232,8 @@ const ot = {
|
|
|
3135
3232
|
}
|
|
3136
3233
|
},
|
|
3137
3234
|
blocked: "Unavailable in demo"
|
|
3138
|
-
},
|
|
3139
|
-
demo:
|
|
3235
|
+
}, mt = {
|
|
3236
|
+
demo: pt,
|
|
3140
3237
|
"space-display-name": {
|
|
3141
3238
|
personal: "My Cloud",
|
|
3142
3239
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -3215,7 +3312,7 @@ const ot = {
|
|
|
3215
3312
|
},
|
|
3216
3313
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
3217
3314
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
3218
|
-
metric:
|
|
3315
|
+
metric: se.en
|
|
3219
3316
|
},
|
|
3220
3317
|
"error-page": {
|
|
3221
3318
|
title: "Something went wrong",
|
|
@@ -3525,10 +3622,10 @@ const ot = {
|
|
|
3525
3622
|
"content-share": {
|
|
3526
3623
|
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
3527
3624
|
// their single source (#833), read by the API e-mails too.
|
|
3528
|
-
label:
|
|
3529
|
-
"label-with-name":
|
|
3625
|
+
label: x.en.labels,
|
|
3626
|
+
"label-with-name": x.en.withName,
|
|
3530
3627
|
// Same entry, same shape: `content-share.permission.<value>`, `unknown` for any other (#834).
|
|
3531
|
-
permission:
|
|
3628
|
+
permission: ce.en
|
|
3532
3629
|
},
|
|
3533
3630
|
"pending-invitations": {
|
|
3534
3631
|
label: "Pending invitations",
|
|
@@ -4838,6 +4935,11 @@ const ot = {
|
|
|
4838
4935
|
"before-min": "Date is too early",
|
|
4839
4936
|
"after-max": "Date is too late"
|
|
4840
4937
|
},
|
|
4938
|
+
"date-time": {
|
|
4939
|
+
invalid: "Invalid date and time",
|
|
4940
|
+
"before-min": "Date and time are too early",
|
|
4941
|
+
"after-max": "Date and time are too late"
|
|
4942
|
+
},
|
|
4841
4943
|
"date-range": {
|
|
4842
4944
|
from: "From",
|
|
4843
4945
|
to: "To",
|
|
@@ -5554,212 +5656,212 @@ const ot = {
|
|
|
5554
5656
|
hide: "Hide password"
|
|
5555
5657
|
}
|
|
5556
5658
|
};
|
|
5557
|
-
var
|
|
5558
|
-
function
|
|
5559
|
-
if (
|
|
5560
|
-
|
|
5561
|
-
function e(
|
|
5562
|
-
return
|
|
5659
|
+
var B, ee;
|
|
5660
|
+
function ht() {
|
|
5661
|
+
if (ee) return B;
|
|
5662
|
+
ee = 1, B = i, i.flatten = i, i.unflatten = t;
|
|
5663
|
+
function e(r) {
|
|
5664
|
+
return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
5563
5665
|
}
|
|
5564
|
-
function
|
|
5565
|
-
return
|
|
5666
|
+
function o(r) {
|
|
5667
|
+
return r;
|
|
5566
5668
|
}
|
|
5567
|
-
function
|
|
5568
|
-
|
|
5569
|
-
const
|
|
5570
|
-
function
|
|
5571
|
-
|
|
5572
|
-
const
|
|
5573
|
-
if (!
|
|
5574
|
-
return
|
|
5575
|
-
|
|
5669
|
+
function i(r, n) {
|
|
5670
|
+
n = n || {};
|
|
5671
|
+
const f = n.delimiter || ".", v = n.maxDepth, y = n.transformKey || o, h = {};
|
|
5672
|
+
function E(R, A, p) {
|
|
5673
|
+
p = p || 1, Object.keys(R).forEach(function(l) {
|
|
5674
|
+
const s = R[l], m = n.safe && Array.isArray(s), T = Object.prototype.toString.call(s), b = e(s), D = T === "[object Object]" || T === "[object Array]", _ = A ? A + f + y(l) : y(l);
|
|
5675
|
+
if (!m && !b && D && Object.keys(s).length && (!n.maxDepth || p < v))
|
|
5676
|
+
return E(s, _, p + 1);
|
|
5677
|
+
h[_] = s;
|
|
5576
5678
|
});
|
|
5577
5679
|
}
|
|
5578
|
-
return
|
|
5680
|
+
return E(r), h;
|
|
5579
5681
|
}
|
|
5580
|
-
function r
|
|
5581
|
-
|
|
5582
|
-
const
|
|
5583
|
-
if (e(
|
|
5584
|
-
return
|
|
5585
|
-
function
|
|
5586
|
-
const
|
|
5587
|
-
return isNaN(
|
|
5682
|
+
function t(r, n) {
|
|
5683
|
+
n = n || {};
|
|
5684
|
+
const f = n.delimiter || ".", v = n.overwrite || !1, y = n.transformKey || o, h = {};
|
|
5685
|
+
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
5686
|
+
return r;
|
|
5687
|
+
function R(l) {
|
|
5688
|
+
const s = Number(l);
|
|
5689
|
+
return isNaN(s) || l.indexOf(".") !== -1 || n.object ? l : s;
|
|
5588
5690
|
}
|
|
5589
|
-
function
|
|
5590
|
-
return Object.keys(
|
|
5591
|
-
return
|
|
5592
|
-
},
|
|
5691
|
+
function A(l, s, m) {
|
|
5692
|
+
return Object.keys(m).reduce(function(T, b) {
|
|
5693
|
+
return T[l + f + b] = m[b], T;
|
|
5694
|
+
}, s);
|
|
5593
5695
|
}
|
|
5594
|
-
function
|
|
5595
|
-
const
|
|
5696
|
+
function p(l) {
|
|
5697
|
+
const s = Object.prototype.toString.call(l), m = s === "[object Array]", T = s === "[object Object]";
|
|
5596
5698
|
if (l) {
|
|
5597
|
-
if (
|
|
5699
|
+
if (m)
|
|
5598
5700
|
return !l.length;
|
|
5599
|
-
if (
|
|
5701
|
+
if (T)
|
|
5600
5702
|
return !Object.keys(l).length;
|
|
5601
5703
|
} else return !0;
|
|
5602
5704
|
}
|
|
5603
|
-
return
|
|
5604
|
-
const
|
|
5605
|
-
return !(
|
|
5606
|
-
|
|
5705
|
+
return r = Object.keys(r).reduce(function(l, s) {
|
|
5706
|
+
const m = Object.prototype.toString.call(r[s]);
|
|
5707
|
+
return !(m === "[object Object]" || m === "[object Array]") || p(r[s]) ? (l[s] = r[s], l) : A(
|
|
5708
|
+
s,
|
|
5607
5709
|
l,
|
|
5608
|
-
|
|
5710
|
+
i(r[s], n)
|
|
5609
5711
|
);
|
|
5610
|
-
}, {}), Object.keys(
|
|
5611
|
-
const
|
|
5612
|
-
let
|
|
5613
|
-
for (;
|
|
5614
|
-
if (
|
|
5712
|
+
}, {}), Object.keys(r).forEach(function(l) {
|
|
5713
|
+
const s = l.split(f).map(y);
|
|
5714
|
+
let m = R(s.shift()), T = R(s[0]), b = h;
|
|
5715
|
+
for (; T !== void 0; ) {
|
|
5716
|
+
if (m === "__proto__")
|
|
5615
5717
|
return;
|
|
5616
|
-
const
|
|
5617
|
-
if (!v && !
|
|
5718
|
+
const D = Object.prototype.toString.call(b[m]), _ = D === "[object Object]" || D === "[object Array]";
|
|
5719
|
+
if (!v && !_ && typeof b[m] < "u")
|
|
5618
5720
|
return;
|
|
5619
|
-
(v && !
|
|
5721
|
+
(v && !_ || !v && b[m] == null) && (b[m] = typeof T == "number" && !n.object ? [] : {}), b = b[m], s.length > 0 && (m = R(s.shift()), T = R(s[0]));
|
|
5620
5722
|
}
|
|
5621
|
-
|
|
5622
|
-
}),
|
|
5723
|
+
b[m] = t(r[l], n);
|
|
5724
|
+
}), h;
|
|
5623
5725
|
}
|
|
5624
|
-
return
|
|
5726
|
+
return B;
|
|
5625
5727
|
}
|
|
5626
|
-
var
|
|
5627
|
-
const
|
|
5628
|
-
fr: { ...
|
|
5629
|
-
en: { ...
|
|
5630
|
-
},
|
|
5631
|
-
() =>
|
|
5632
|
-
),
|
|
5633
|
-
() =>
|
|
5634
|
-
),
|
|
5728
|
+
var de = ht();
|
|
5729
|
+
const ue = {
|
|
5730
|
+
fr: { ...ut, common: Ne },
|
|
5731
|
+
en: { ...mt, common: Re }
|
|
5732
|
+
}, gt = oe(
|
|
5733
|
+
() => de.flatten(ue.fr)
|
|
5734
|
+
), ft = oe(
|
|
5735
|
+
() => de.flatten(ue.en)
|
|
5736
|
+
), Qt = {
|
|
5635
5737
|
get fr() {
|
|
5636
|
-
return
|
|
5738
|
+
return gt();
|
|
5637
5739
|
},
|
|
5638
5740
|
get en() {
|
|
5639
|
-
return
|
|
5741
|
+
return ft();
|
|
5640
5742
|
}
|
|
5641
|
-
},
|
|
5642
|
-
break: /* @__PURE__ */
|
|
5643
|
-
bold: (...e) => /* @__PURE__ */
|
|
5644
|
-
italic: (...e) => /* @__PURE__ */
|
|
5645
|
-
primary: (...e) => /* @__PURE__ */
|
|
5646
|
-
focus: (...e) => /* @__PURE__ */
|
|
5647
|
-
},
|
|
5648
|
-
const e =
|
|
5649
|
-
(
|
|
5650
|
-
...
|
|
5651
|
-
...
|
|
5743
|
+
}, vt = {
|
|
5744
|
+
break: /* @__PURE__ */ c("br", {}),
|
|
5745
|
+
bold: (...e) => /* @__PURE__ */ c("strong", { children: e }),
|
|
5746
|
+
italic: (...e) => /* @__PURE__ */ c("i", { children: e }),
|
|
5747
|
+
primary: (...e) => /* @__PURE__ */ c("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5748
|
+
focus: (...e) => /* @__PURE__ */ c("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5749
|
+
}, Zt = () => {
|
|
5750
|
+
const e = Y(), o = te(
|
|
5751
|
+
(i, t) => e.formatMessage(i, {
|
|
5752
|
+
...vt,
|
|
5753
|
+
...t
|
|
5652
5754
|
}),
|
|
5653
5755
|
[e]
|
|
5654
5756
|
);
|
|
5655
|
-
return
|
|
5656
|
-
const { formatMessage:
|
|
5657
|
-
return { ...
|
|
5658
|
-
}, [e,
|
|
5659
|
-
},
|
|
5757
|
+
return ve(() => {
|
|
5758
|
+
const { formatMessage: i, ...t } = e;
|
|
5759
|
+
return { ...t, formatRichMessage: o };
|
|
5760
|
+
}, [e, o]);
|
|
5761
|
+
}, yt = /* @__PURE__ */ new Set(["a", "button"]), At = u("div", {
|
|
5660
5762
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5661
|
-
})(({ theme: e, ownerState:
|
|
5662
|
-
const { tokens:
|
|
5763
|
+
})(({ theme: e, ownerState: o }) => {
|
|
5764
|
+
const { tokens: i, radii: t, space: r } = e.design;
|
|
5663
5765
|
return {
|
|
5664
5766
|
display: "flex",
|
|
5665
5767
|
flexDirection: "column",
|
|
5666
5768
|
minWidth: 0,
|
|
5667
5769
|
boxSizing: "border-box",
|
|
5668
|
-
backgroundColor:
|
|
5669
|
-
border:
|
|
5670
|
-
borderRadius: a(
|
|
5671
|
-
padding: a(
|
|
5672
|
-
color:
|
|
5673
|
-
...
|
|
5770
|
+
backgroundColor: i["bg.surface"],
|
|
5771
|
+
border: k(i["border.subtle"]),
|
|
5772
|
+
borderRadius: a(t.md),
|
|
5773
|
+
padding: a(r[o.padding]),
|
|
5774
|
+
color: i["text.primary"],
|
|
5775
|
+
...o.interactive && {
|
|
5674
5776
|
cursor: "pointer",
|
|
5675
5777
|
font: "inherit",
|
|
5676
5778
|
textAlign: "inherit",
|
|
5677
5779
|
textDecoration: "none",
|
|
5678
|
-
transition:
|
|
5679
|
-
"&:hover": { borderColor:
|
|
5680
|
-
"&:focus-visible":
|
|
5780
|
+
transition: De(e, ["border-color"]),
|
|
5781
|
+
"&:hover": { borderColor: i["border.strong"] },
|
|
5782
|
+
"&:focus-visible": we(e)
|
|
5681
5783
|
}
|
|
5682
5784
|
};
|
|
5683
|
-
}),
|
|
5684
|
-
interactive:
|
|
5685
|
-
padding:
|
|
5686
|
-
component:
|
|
5687
|
-
children:
|
|
5688
|
-
onKeyDown:
|
|
5689
|
-
role:
|
|
5785
|
+
}), eo = ye(function({
|
|
5786
|
+
interactive: o = !1,
|
|
5787
|
+
padding: i = 4,
|
|
5788
|
+
component: t = "div",
|
|
5789
|
+
children: r,
|
|
5790
|
+
onKeyDown: n,
|
|
5791
|
+
role: f,
|
|
5690
5792
|
tabIndex: v,
|
|
5691
|
-
...
|
|
5692
|
-
},
|
|
5693
|
-
const
|
|
5694
|
-
(
|
|
5695
|
-
typeof
|
|
5793
|
+
...y
|
|
5794
|
+
}, h) {
|
|
5795
|
+
const E = o && typeof t == "string" && !yt.has(t), R = te(
|
|
5796
|
+
(p) => {
|
|
5797
|
+
typeof h == "function" ? h(p) : h !== null && (h.current = p);
|
|
5696
5798
|
},
|
|
5697
|
-
[
|
|
5799
|
+
[h]
|
|
5698
5800
|
);
|
|
5699
|
-
return /* @__PURE__ */
|
|
5700
|
-
|
|
5801
|
+
return /* @__PURE__ */ c(
|
|
5802
|
+
At,
|
|
5701
5803
|
{
|
|
5702
|
-
ref:
|
|
5703
|
-
as:
|
|
5704
|
-
ownerState: { interactive:
|
|
5705
|
-
role:
|
|
5706
|
-
tabIndex: v ?? (
|
|
5707
|
-
onKeyDown: (
|
|
5708
|
-
|
|
5709
|
-
},
|
|
5710
|
-
...
|
|
5711
|
-
children:
|
|
5804
|
+
ref: R,
|
|
5805
|
+
as: t,
|
|
5806
|
+
ownerState: { interactive: o, padding: i },
|
|
5807
|
+
role: f ?? (E ? "button" : void 0),
|
|
5808
|
+
tabIndex: v ?? (E ? 0 : void 0),
|
|
5809
|
+
onKeyDown: (p) => {
|
|
5810
|
+
n == null || n(p), E && !p.defaultPrevented && p.target === p.currentTarget && (p.key === "Enter" || p.key === " ") && (p.preventDefault(), p.currentTarget.click());
|
|
5811
|
+
},
|
|
5812
|
+
...y,
|
|
5813
|
+
children: r
|
|
5712
5814
|
}
|
|
5713
5815
|
);
|
|
5714
5816
|
});
|
|
5715
5817
|
export {
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5818
|
+
Ut as A,
|
|
5819
|
+
He as B,
|
|
5820
|
+
Ft as C,
|
|
5821
|
+
O as D,
|
|
5822
|
+
X as E,
|
|
5823
|
+
Pt as F,
|
|
5824
|
+
Yt as G,
|
|
5825
|
+
Wt as H,
|
|
5826
|
+
We as I,
|
|
5827
|
+
F as J,
|
|
5828
|
+
$t as K,
|
|
5829
|
+
Jt as L,
|
|
5830
|
+
Ht as M,
|
|
5831
|
+
Xt as N,
|
|
5832
|
+
pt as O,
|
|
5833
|
+
dt as P,
|
|
5834
|
+
Bt as Q,
|
|
5835
|
+
ue as R,
|
|
5836
|
+
S,
|
|
5837
|
+
Vt as T,
|
|
5838
|
+
vt as U,
|
|
5839
|
+
mt as V,
|
|
5840
|
+
ut as W,
|
|
5841
|
+
re as a,
|
|
5842
|
+
eo as b,
|
|
5843
|
+
Kt as c,
|
|
5844
|
+
P as d,
|
|
5845
|
+
Ke as e,
|
|
5846
|
+
Qt as f,
|
|
5847
|
+
De as g,
|
|
5848
|
+
k as h,
|
|
5849
|
+
we as i,
|
|
5850
|
+
Le as j,
|
|
5851
|
+
zt as k,
|
|
5852
|
+
ae as l,
|
|
5853
|
+
Pe as m,
|
|
5854
|
+
qt as n,
|
|
5855
|
+
ke as o,
|
|
5754
5856
|
a as p,
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5857
|
+
xt as q,
|
|
5858
|
+
Ce as r,
|
|
5859
|
+
Gt as s,
|
|
5860
|
+
jt as t,
|
|
5861
|
+
Zt as u,
|
|
5862
|
+
Ie as v,
|
|
5863
|
+
N as w,
|
|
5864
|
+
Lt as x,
|
|
5865
|
+
Mt as y,
|
|
5866
|
+
kt as z
|
|
5765
5867
|
};
|