@abyss-project/commons-front-core 16.1.0 → 16.2.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 +8 -0
- package/catalog/captures-plan.ts +1 -0
- package/catalog/catalog-entries.ts +4 -0
- package/catalog/pages/Accordion.tsx +93 -0
- package/catalog/pages/Breadcrumbs.tsx +61 -0
- package/catalog/pages/ComboboxField.tsx +220 -0
- package/catalog/pages/Menu.tsx +3 -1
- package/catalog/pages/Modal.tsx +3 -1
- package/catalog/pages/SegmentedControl.tsx +18 -4
- package/catalog/pages/StatusBadge.tsx +37 -18
- package/catalog/pages/index.ts +6 -0
- package/catalog/specs/write-capture-index.ts +1 -0
- package/dist/{CookieConsentSettings-DM0P2po1.js → CookieConsentSettings-CTAyLGkm.js} +1 -1
- package/dist/{Surface-DW78GtlG.js → Surface-76bwVL_Z.js} +370 -323
- package/dist/{Tabs-DGh_2Lgc.js → Tabs-D2bdAWGo.js} +384 -376
- package/dist/components/data/FacetPanel/FacetPanel.d.ts +5 -0
- package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +6 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/inputs/ComboboxField/ComboboxField.d.ts +190 -0
- package/dist/components/inputs/ComboboxField/ComboboxField.spec.d.ts +1 -0
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +8 -0
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/layers/Menu/Menu.d.ts +11 -1
- package/dist/components/layers/Modal/Modal.d.ts +3 -1
- package/dist/components/meaning/StatusBadge/StatusBadge.d.ts +25 -3
- package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +3 -1
- package/dist/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +43 -0
- package/dist/components/navigation/Breadcrumbs/Breadcrumbs.spec.d.ts +1 -0
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/structure/Accordion/Accordion.d.ts +65 -0
- package/dist/components/structure/Accordion/Accordion.spec.d.ts +1 -0
- package/dist/components/structure/PageHeader/PageHeader.d.ts +3 -5
- package/dist/components/structure/index.d.ts +1 -0
- package/dist/components/structure/test-support/structure-test-harness.d.ts +6 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-BNfby4u0.js → design-theme-B1PgRGnU.js} +2 -2
- package/dist/{editors-CoA-ElkI.js → editors-NTlXfUf3.js} +6328 -6308
- package/dist/editors.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-optimistic-mutation.hook.d.ts +41 -0
- package/dist/hooks/use-optimistic-mutation.hook.spec.d.ts +1 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +26 -0
- package/dist/{index-CpJ_UF5V.js → index-7ovesCC_.js} +2 -2
- package/dist/{index-MEKGvAmO.js → index-BEm81V4i.js} +3 -3
- package/dist/{index-Dl1yghiT.js → index-BH6GeV66.js} +2 -2
- package/dist/{index-BX4GOdlN.js → index-BHFYCrDl.js} +4 -4
- package/dist/{index-Dgongfv-.js → index-BIQNTPCh.js} +2 -2
- package/dist/{index-DF-LePxe.js → index-BKbESj9f.js} +2 -2
- package/dist/{index-BIX2oQnD.js → index-Bt3EOSkY.js} +4 -4
- package/dist/{index-BPIERrcr.js → index-C-pVBVRm.js} +3 -3
- package/dist/{index-9AhVX_o8.js → index-CHsTUwr0.js} +1 -1
- package/dist/{index-jHXiCbzE.js → index-D-75Bwy8.js} +2 -2
- package/dist/{index-SJdLMrNS.js → index-DDsn4UyZ.js} +2 -2
- package/dist/{index-ebpXyaXh.js → index-DGKfXQr5.js} +2 -2
- package/dist/{index-B4W3BpjI.js → index-DTfxCpd4.js} +4 -4
- package/dist/{index-DSRCuEE1.js → index-DXSxiqo1.js} +2 -2
- package/dist/{index-DakS19sw.js → index-DeB1ImKD.js} +2 -2
- package/dist/{index-C2MJfXbp.js → index-DloK9ass.js} +2 -2
- package/dist/{index-BXY3SD83.js → index-DmtNuZcU.js} +2 -2
- package/dist/{index-CMyVfh9D.js → index-Dr3sF4q3.js} +2 -2
- package/dist/{index-DJ4F-yGQ.js → index-MiIytQo8.js} +3 -3
- package/dist/{index-BNnh8uiO.js → index-VntY82At.js} +2 -2
- package/dist/{index--WDnqvkI.js → index-rHl9uQvG.js} +3 -3
- package/dist/index.js +7435 -6704
- package/dist/legacy.js +1014 -921
- package/dist/translations/en.d.ts +13 -0
- package/dist/translations/fr.d.ts +13 -0
- package/package.json +4 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useId as F, useRef as
|
|
1
|
+
import { jsx as d, jsxs as R } from "react/jsx-runtime";
|
|
2
|
+
import { useId as F, useRef as Y, useState as H, useCallback as X, useMemo as re, forwardRef as ae } from "react";
|
|
3
3
|
import { useIntl as x } from "react-intl";
|
|
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
|
|
4
|
+
import ne from "@mui/material/Dialog";
|
|
5
|
+
import J from "@mui/material/IconButton";
|
|
6
|
+
import { alpha as se, styled as g, useTheme as le } from "@mui/material/styles";
|
|
7
|
+
import $ from "@mui/icons-material/Close";
|
|
8
|
+
import V from "@mui/material/useMediaQuery";
|
|
9
|
+
import ce from "@mui/material/Modal";
|
|
10
|
+
import de from "@mui/material/Slide";
|
|
11
|
+
import { enTranslation as ue, frTranslation as pe } from "@abyss-project/main";
|
|
12
|
+
import { l as Q } from "./lazy-value-Co76vxsM.js";
|
|
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 }), mt = {
|
|
15
15
|
dark: {
|
|
16
16
|
1: c(0.155, 0.034),
|
|
17
17
|
2: c(0.17, 0.036),
|
|
@@ -40,10 +40,10 @@ const me = 266, c = (e, t) => ({ l: e, c: t, h: me }), ct = {
|
|
|
40
40
|
11: c(0.42, 0.045),
|
|
41
41
|
12: c(0.22, 0.045)
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, gt = {
|
|
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
|
+
}, ht = {
|
|
47
47
|
caption: 11,
|
|
48
48
|
small: 12,
|
|
49
49
|
body: 13,
|
|
@@ -53,38 +53,38 @@ const me = 266, c = (e, t) => ({ l: e, c: t, h: me }), ct = {
|
|
|
53
53
|
pageTitle: 22,
|
|
54
54
|
figure: 26,
|
|
55
55
|
mobileLargeTitle: 30
|
|
56
|
-
},
|
|
56
|
+
}, Z = {
|
|
57
57
|
regular: 400,
|
|
58
58
|
medium: 500,
|
|
59
59
|
semibold: 600,
|
|
60
60
|
bold: 700
|
|
61
|
-
},
|
|
61
|
+
}, ft = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], At = {
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
65
|
-
},
|
|
65
|
+
}, yt = {
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, vt = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
|
-
},
|
|
72
|
+
}, j = {
|
|
73
73
|
xs: 0,
|
|
74
74
|
sm: 480,
|
|
75
75
|
md: 768,
|
|
76
76
|
lg: 1200,
|
|
77
77
|
xl: 1600
|
|
78
|
-
},
|
|
78
|
+
}, Et = {
|
|
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 C = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(C || {});
|
|
84
|
+
const ee = {
|
|
85
|
+
tablet: j.md,
|
|
86
|
+
desktop: j.lg
|
|
87
|
+
}, he = 0.05, k = (e) => `(min-width:${ee[e]}px)`, M = (e) => `(max-width:${ee[e] - he}px)`, D = {
|
|
88
88
|
/** From the start of `tier` up. */
|
|
89
89
|
up: (e) => `@media ${k(e)}`,
|
|
90
90
|
/** Below the start of `tier`. */
|
|
@@ -112,30 +112,30 @@ const Z = {
|
|
|
112
112
|
)}`;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, fe = 0.14, a = (e) => `${e}px`, L = (e) => `1px solid ${e}`, bt = (e) => se(e, fe), Ae = (e) => ({
|
|
116
116
|
outline: `2px solid ${e.design.tokens["focus.ring"]}`,
|
|
117
117
|
outlineOffset: "2px"
|
|
118
|
-
}),
|
|
119
|
-
[D.down(
|
|
120
|
-
minHeight:
|
|
118
|
+
}), St = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Tt = (e) => e.design.densityValues[e.design.density].row, Nt = (e) => ({
|
|
119
|
+
[D.down(C.Tablet)]: {
|
|
120
|
+
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
123
|
-
[D.down(
|
|
124
|
-
minWidth:
|
|
125
|
-
minHeight:
|
|
122
|
+
}), ye = (e) => ({
|
|
123
|
+
[D.down(C.Tablet)]: {
|
|
124
|
+
minWidth: a(e.design.densityValues.touchTarget),
|
|
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 = V(D.up(C.Desktop), {
|
|
131
131
|
noSsr: !0
|
|
132
|
-
}), t =
|
|
132
|
+
}), t = V(D.down(C.Tablet), {
|
|
133
133
|
noSsr: !0
|
|
134
134
|
});
|
|
135
|
-
return e ?
|
|
135
|
+
return e ? C.Desktop : t ? C.Mobile : C.Tablet;
|
|
136
136
|
};
|
|
137
137
|
var _ = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(_ || {});
|
|
138
|
-
const P = (e, t) => `calc(${
|
|
138
|
+
const P = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, be = 0.3, Se = g("div")({
|
|
139
139
|
position: "absolute",
|
|
140
140
|
left: 0,
|
|
141
141
|
right: 0,
|
|
@@ -143,16 +143,16 @@ const P = (e, t) => `calc(${r(t)} + env(safe-area-inset-${e}))`, ve = 0.3, be =
|
|
|
143
143
|
maxHeight: "100%",
|
|
144
144
|
display: "flex",
|
|
145
145
|
outline: "none"
|
|
146
|
-
}),
|
|
147
|
-
const { tokens: t, radii: o, space: i, elevations:
|
|
146
|
+
}), Te = g("div")(({ theme: e }) => {
|
|
147
|
+
const { tokens: t, radii: o, space: i, elevations: r, fonts: n } = e.design;
|
|
148
148
|
return {
|
|
149
149
|
flex: "1 1 auto",
|
|
150
150
|
minWidth: 0,
|
|
151
151
|
maxHeight: `calc(100vh - ${P(_.Top, i[8])})`,
|
|
152
152
|
display: "flex",
|
|
153
153
|
flexDirection: "column",
|
|
154
|
-
gap:
|
|
155
|
-
paddingTop:
|
|
154
|
+
gap: a(i[3]),
|
|
155
|
+
paddingTop: a(i[2]),
|
|
156
156
|
paddingBottom: P(_.Bottom, i[6]),
|
|
157
157
|
paddingLeft: P(_.Left, i[4]),
|
|
158
158
|
paddingRight: P(_.Right, i[4]),
|
|
@@ -160,166 +160,182 @@ const P = (e, t) => `calc(${r(t)} + env(safe-area-inset-${e}))`, ve = 0.3, be =
|
|
|
160
160
|
color: t["text.primary"],
|
|
161
161
|
fontFamily: n.sans,
|
|
162
162
|
borderTop: L(t["border.strong"]),
|
|
163
|
-
borderTopLeftRadius:
|
|
164
|
-
borderTopRightRadius:
|
|
165
|
-
boxShadow:
|
|
163
|
+
borderTopLeftRadius: a(o.lg),
|
|
164
|
+
borderTopRightRadius: a(o.lg),
|
|
165
|
+
boxShadow: r.modal,
|
|
166
166
|
outline: "none",
|
|
167
167
|
position: "relative"
|
|
168
168
|
};
|
|
169
|
-
}),
|
|
169
|
+
}), Ne = g(J)(({ theme: e }) => ({
|
|
170
170
|
position: "absolute",
|
|
171
|
-
top:
|
|
171
|
+
top: a(e.design.space[1]),
|
|
172
172
|
right: P(_.Right, e.design.space[2]),
|
|
173
|
-
...
|
|
174
|
-
})),
|
|
173
|
+
...ye(e)
|
|
174
|
+
})), Ce = g("div")(({ theme: e }) => {
|
|
175
175
|
const { space: t, densityValues: o } = e.design;
|
|
176
176
|
return {
|
|
177
177
|
flex: "none",
|
|
178
178
|
display: "flex",
|
|
179
179
|
flexDirection: "column",
|
|
180
180
|
alignItems: "center",
|
|
181
|
-
gap:
|
|
182
|
-
minHeight:
|
|
181
|
+
gap: a(t[2]),
|
|
182
|
+
minHeight: a(o.touchTarget / 2),
|
|
183
183
|
touchAction: "none",
|
|
184
184
|
cursor: "grab"
|
|
185
185
|
};
|
|
186
|
-
}),
|
|
186
|
+
}), Re = g("span")(({ theme: e }) => {
|
|
187
187
|
const { tokens: t, radii: o, space: i } = e.design;
|
|
188
188
|
return {
|
|
189
|
-
width:
|
|
190
|
-
height:
|
|
191
|
-
borderRadius:
|
|
189
|
+
width: a(i[8]),
|
|
190
|
+
height: a(i[1]),
|
|
191
|
+
borderRadius: a(o.sm),
|
|
192
192
|
backgroundColor: t["border.strong"]
|
|
193
193
|
};
|
|
194
|
-
}),
|
|
194
|
+
}), Ie = g("h2", {
|
|
195
195
|
shouldForwardProp: (e) => e !== "besideClose"
|
|
196
196
|
})(({ theme: e, besideClose: t }) => {
|
|
197
|
-
const { typeScale: o, densityValues: i, space:
|
|
197
|
+
const { typeScale: o, densityValues: i, space: r } = e.design;
|
|
198
198
|
return {
|
|
199
199
|
alignSelf: "stretch",
|
|
200
200
|
margin: 0,
|
|
201
201
|
// Clear of the close button in the corner.
|
|
202
|
-
paddingRight: t ?
|
|
203
|
-
fontSize:
|
|
204
|
-
fontWeight:
|
|
202
|
+
paddingRight: t ? a(i.touchTarget + r[2]) : void 0,
|
|
203
|
+
fontSize: a(o.sectionTitle),
|
|
204
|
+
fontWeight: Z.semibold,
|
|
205
205
|
overflowWrap: "anywhere"
|
|
206
206
|
};
|
|
207
|
-
}),
|
|
207
|
+
}), Oe = g("span")(({ theme: e }) => ({
|
|
208
|
+
display: "inline-flex",
|
|
209
|
+
verticalAlign: "middle",
|
|
210
|
+
marginRight: a(e.design.space[2])
|
|
211
|
+
})), _e = g("div")({
|
|
208
212
|
flex: "1 1 auto",
|
|
209
213
|
minHeight: 0,
|
|
210
214
|
overflowY: "auto",
|
|
211
215
|
overscrollBehavior: "contain"
|
|
212
216
|
});
|
|
213
|
-
function
|
|
217
|
+
function we({
|
|
214
218
|
open: e,
|
|
215
219
|
onClose: t,
|
|
216
220
|
title: o,
|
|
217
|
-
|
|
218
|
-
|
|
221
|
+
titleIcon: i,
|
|
222
|
+
closeLabel: r,
|
|
223
|
+
children: n
|
|
219
224
|
}) {
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
|
|
224
|
-
},
|
|
225
|
-
var
|
|
226
|
-
if (
|
|
225
|
+
const h = le(), y = x(), v = F(), f = Y(null), A = Y(null), [E, N] = H(0), [u, l] = H(!1), s = (T) => {
|
|
226
|
+
T.currentTarget.setPointerCapture(T.pointerId), A.current = T.clientY, l(!0);
|
|
227
|
+
}, p = (T) => {
|
|
228
|
+
A.current !== null && N(Math.max(0, T.clientY - A.current));
|
|
229
|
+
}, b = (T) => {
|
|
230
|
+
var z;
|
|
231
|
+
if (A.current === null)
|
|
227
232
|
return;
|
|
228
|
-
const I = Math.max(0,
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
|
|
233
|
+
const I = Math.max(0, T.clientY - A.current), B = ((z = f.current) == null ? void 0 : z.getBoundingClientRect().height) ?? 0;
|
|
234
|
+
A.current = null, l(!1), N(0), B > 0 && I >= B * be && t();
|
|
235
|
+
}, S = () => {
|
|
236
|
+
A.current = null, l(!1), N(0);
|
|
232
237
|
};
|
|
233
|
-
return /* @__PURE__ */
|
|
234
|
-
|
|
238
|
+
return /* @__PURE__ */ d(ce, { open: e, onClose: () => t(), children: /* @__PURE__ */ d(
|
|
239
|
+
de,
|
|
235
240
|
{
|
|
236
241
|
in: e,
|
|
237
242
|
direction: "up",
|
|
238
|
-
timeout:
|
|
239
|
-
easing:
|
|
240
|
-
children: /* @__PURE__ */
|
|
241
|
-
|
|
243
|
+
timeout: h.design.durations.slow,
|
|
244
|
+
easing: h.design.easings.sheet,
|
|
245
|
+
children: /* @__PURE__ */ d(Se, { children: /* @__PURE__ */ R(
|
|
246
|
+
Te,
|
|
242
247
|
{
|
|
243
|
-
ref:
|
|
248
|
+
ref: f,
|
|
244
249
|
role: "dialog",
|
|
245
250
|
"aria-modal": "true",
|
|
246
|
-
"aria-labelledby": o ?
|
|
251
|
+
"aria-labelledby": o ? v : void 0,
|
|
247
252
|
"aria-label": o ? void 0 : y.formatMessage({ id: "ds.mobile.bottom-sheet.label" }),
|
|
248
253
|
tabIndex: -1,
|
|
249
254
|
style: {
|
|
250
|
-
transform: `translateY(${
|
|
251
|
-
transition:
|
|
255
|
+
transform: `translateY(${a(E)})`,
|
|
256
|
+
transition: u ? "none" : `transform ${h.design.durations.base}ms ${h.design.easings.sheet}`
|
|
252
257
|
},
|
|
253
258
|
children: [
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
|
|
259
|
+
/* @__PURE__ */ R(
|
|
260
|
+
Ce,
|
|
256
261
|
{
|
|
257
262
|
"data-testid": "bottom-sheet-drag-zone",
|
|
258
|
-
onPointerDown:
|
|
259
|
-
onPointerMove:
|
|
260
|
-
onPointerUp:
|
|
261
|
-
onPointerCancel:
|
|
263
|
+
onPointerDown: s,
|
|
264
|
+
onPointerMove: p,
|
|
265
|
+
onPointerUp: b,
|
|
266
|
+
onPointerCancel: S,
|
|
262
267
|
children: [
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
o ? /* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ d(Re, { "aria-hidden": "true" }),
|
|
269
|
+
o ? /* @__PURE__ */ R(Ie, { id: v, besideClose: r !== void 0, children: [
|
|
270
|
+
i !== void 0 && /* @__PURE__ */ d(Oe, { "aria-hidden": "true", children: i }),
|
|
271
|
+
o
|
|
272
|
+
] }) : null
|
|
265
273
|
]
|
|
266
274
|
}
|
|
267
275
|
),
|
|
268
|
-
|
|
269
|
-
/* @__PURE__ */
|
|
276
|
+
r !== void 0 && /* @__PURE__ */ d(Ne, { "aria-label": r, onClick: () => t(), children: /* @__PURE__ */ d($, { "aria-hidden": !0 }) }),
|
|
277
|
+
/* @__PURE__ */ d(_e, { children: n })
|
|
270
278
|
]
|
|
271
279
|
}
|
|
272
280
|
) })
|
|
273
281
|
}
|
|
274
282
|
) });
|
|
275
283
|
}
|
|
276
|
-
var
|
|
277
|
-
const
|
|
284
|
+
var Pe = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e))(Pe || {});
|
|
285
|
+
const De = g(ne)(({ theme: e }) => {
|
|
278
286
|
const { tokens: t, fonts: o, space: i } = e.design;
|
|
279
287
|
return {
|
|
280
288
|
"& .MuiDialog-paper": {
|
|
281
|
-
margin:
|
|
282
|
-
maxHeight: `calc(100% - ${
|
|
289
|
+
margin: a(i[4]),
|
|
290
|
+
maxHeight: `calc(100% - ${a(i[7])})`,
|
|
283
291
|
backgroundColor: t["bg.surface"],
|
|
284
292
|
color: t["text.primary"],
|
|
285
293
|
fontFamily: o.sans,
|
|
286
294
|
overflow: "hidden"
|
|
287
295
|
},
|
|
288
296
|
"& .MuiDialog-paperFullWidth": {
|
|
289
|
-
width: `calc(100% - ${
|
|
297
|
+
width: `calc(100% - ${a(i[7])})`
|
|
290
298
|
}
|
|
291
299
|
};
|
|
292
|
-
}),
|
|
300
|
+
}), Le = g("div")(({ theme: e }) => {
|
|
293
301
|
const { tokens: t, space: o } = e.design;
|
|
294
302
|
return {
|
|
295
303
|
flex: "none",
|
|
296
304
|
display: "flex",
|
|
297
305
|
justifyContent: "space-between",
|
|
298
306
|
alignItems: "flex-start",
|
|
299
|
-
gap:
|
|
300
|
-
padding: `${
|
|
307
|
+
gap: a(o[4]),
|
|
308
|
+
padding: `${a(o[4])} ${a(o[5])}`,
|
|
301
309
|
borderBottom: L(t["border.subtle"])
|
|
302
310
|
};
|
|
303
|
-
}),
|
|
311
|
+
}), ke = g("div")({ minWidth: 0 }), Me = g("div")(({ theme: e }) => ({
|
|
312
|
+
minWidth: 0,
|
|
313
|
+
display: "flex",
|
|
314
|
+
alignItems: "flex-start",
|
|
315
|
+
gap: a(e.design.space[3])
|
|
316
|
+
})), Ue = g("span")({
|
|
317
|
+
flex: "none",
|
|
318
|
+
display: "inline-flex"
|
|
319
|
+
}), Ge = g("h2")(({ theme: e }) => ({
|
|
304
320
|
margin: 0,
|
|
305
|
-
fontSize:
|
|
306
|
-
fontWeight:
|
|
321
|
+
fontSize: a(e.design.typeScale.sectionTitle),
|
|
322
|
+
fontWeight: Z.semibold,
|
|
307
323
|
overflowWrap: "anywhere"
|
|
308
|
-
})),
|
|
324
|
+
})), Fe = g("p")(({ theme: e }) => {
|
|
309
325
|
const { tokens: t, space: o, typeScale: i } = e.design;
|
|
310
326
|
return {
|
|
311
|
-
margin: `${
|
|
327
|
+
margin: `${a(o[1])} 0 0`,
|
|
312
328
|
color: t["text.muted"],
|
|
313
|
-
fontSize:
|
|
329
|
+
fontSize: a(i.body),
|
|
314
330
|
overflowWrap: "anywhere"
|
|
315
331
|
};
|
|
316
|
-
}),
|
|
332
|
+
}), xe = g("div")(({ theme: e }) => ({
|
|
317
333
|
flex: "1 1 auto",
|
|
318
334
|
minHeight: 0,
|
|
319
335
|
overflowY: "auto",
|
|
320
|
-
padding:
|
|
321
|
-
fontSize:
|
|
322
|
-
})),
|
|
336
|
+
padding: a(e.design.space[5]),
|
|
337
|
+
fontSize: a(e.design.typeScale.body)
|
|
338
|
+
})), Be = g("div")(({ theme: e }) => {
|
|
323
339
|
const { tokens: t, space: o } = e.design;
|
|
324
340
|
return {
|
|
325
341
|
flex: "none",
|
|
@@ -327,77 +343,82 @@ const we = f(ae)(({ theme: e }) => {
|
|
|
327
343
|
flexWrap: "wrap",
|
|
328
344
|
justifyContent: "flex-end",
|
|
329
345
|
alignItems: "center",
|
|
330
|
-
gap:
|
|
331
|
-
padding: `${
|
|
346
|
+
gap: a(o[3]),
|
|
347
|
+
padding: `${a(o[3])} ${a(o[5])}`,
|
|
332
348
|
borderTop: L(t["border.subtle"])
|
|
333
349
|
};
|
|
334
|
-
}),
|
|
335
|
-
margin: `0 0 ${
|
|
350
|
+
}), ze = g("p")(({ theme: e }) => ({
|
|
351
|
+
margin: `0 0 ${a(e.design.space[3])}`,
|
|
336
352
|
color: e.design.tokens["text.muted"],
|
|
337
|
-
fontSize:
|
|
353
|
+
fontSize: a(e.design.typeScale.bodyMobile),
|
|
338
354
|
overflowWrap: "anywhere"
|
|
339
|
-
})),
|
|
355
|
+
})), Ye = g("div")(({ theme: e }) => ({
|
|
340
356
|
display: "flex",
|
|
341
357
|
flexWrap: "wrap",
|
|
342
|
-
gap:
|
|
343
|
-
marginTop:
|
|
358
|
+
gap: a(e.design.space[2]),
|
|
359
|
+
marginTop: a(e.design.space[4]),
|
|
344
360
|
"& > *": { flex: "1 1 0" }
|
|
345
361
|
}));
|
|
346
|
-
function
|
|
362
|
+
function Ct({
|
|
347
363
|
open: e,
|
|
348
364
|
onClose: t,
|
|
349
365
|
title: o,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
366
|
+
titleIcon: i,
|
|
367
|
+
description: r,
|
|
368
|
+
size: n = "md",
|
|
369
|
+
actions: h,
|
|
353
370
|
children: y
|
|
354
371
|
}) {
|
|
355
|
-
const
|
|
356
|
-
return
|
|
357
|
-
|
|
372
|
+
const v = x(), f = Ee() === C.Mobile, A = F(), E = F();
|
|
373
|
+
return f ? /* @__PURE__ */ R(
|
|
374
|
+
we,
|
|
358
375
|
{
|
|
359
376
|
open: e,
|
|
360
377
|
onClose: t,
|
|
361
378
|
title: o,
|
|
362
|
-
|
|
379
|
+
titleIcon: i,
|
|
380
|
+
closeLabel: v.formatMessage({ id: "ds.layers.modal.close" }),
|
|
363
381
|
children: [
|
|
364
|
-
|
|
382
|
+
r !== void 0 && /* @__PURE__ */ d(ze, { children: r }),
|
|
365
383
|
y,
|
|
366
|
-
|
|
384
|
+
h !== void 0 && /* @__PURE__ */ d(Ye, { children: h })
|
|
367
385
|
]
|
|
368
386
|
}
|
|
369
|
-
) : /* @__PURE__ */
|
|
370
|
-
|
|
387
|
+
) : /* @__PURE__ */ R(
|
|
388
|
+
De,
|
|
371
389
|
{
|
|
372
390
|
open: e,
|
|
373
391
|
onClose: () => t(),
|
|
374
|
-
maxWidth:
|
|
392
|
+
maxWidth: n,
|
|
375
393
|
fullWidth: !0,
|
|
376
|
-
"aria-labelledby":
|
|
377
|
-
"aria-describedby":
|
|
394
|
+
"aria-labelledby": A,
|
|
395
|
+
"aria-describedby": r !== void 0 ? E : void 0,
|
|
378
396
|
children: [
|
|
379
|
-
/* @__PURE__ */
|
|
380
|
-
/* @__PURE__ */
|
|
381
|
-
/* @__PURE__ */
|
|
382
|
-
|
|
397
|
+
/* @__PURE__ */ R(Le, { children: [
|
|
398
|
+
/* @__PURE__ */ R(Me, { children: [
|
|
399
|
+
i !== void 0 && /* @__PURE__ */ d(Ue, { "aria-hidden": "true", children: i }),
|
|
400
|
+
/* @__PURE__ */ R(ke, { children: [
|
|
401
|
+
/* @__PURE__ */ d(Ge, { id: A, children: o }),
|
|
402
|
+
r !== void 0 && /* @__PURE__ */ d(Fe, { id: E, children: r })
|
|
403
|
+
] })
|
|
383
404
|
] }),
|
|
384
|
-
/* @__PURE__ */
|
|
385
|
-
|
|
405
|
+
/* @__PURE__ */ d(
|
|
406
|
+
J,
|
|
386
407
|
{
|
|
387
|
-
"aria-label":
|
|
408
|
+
"aria-label": v.formatMessage({ id: "ds.layers.modal.close" }),
|
|
388
409
|
onClick: t,
|
|
389
|
-
children: /* @__PURE__ */
|
|
410
|
+
children: /* @__PURE__ */ d($, { "aria-hidden": !0 })
|
|
390
411
|
}
|
|
391
412
|
)
|
|
392
413
|
] }),
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
|
|
414
|
+
/* @__PURE__ */ d(xe, { children: y }),
|
|
415
|
+
h !== void 0 && /* @__PURE__ */ d(Be, { children: h })
|
|
395
416
|
]
|
|
396
417
|
}
|
|
397
418
|
);
|
|
398
419
|
}
|
|
399
|
-
const
|
|
400
|
-
fr:
|
|
420
|
+
const q = (e) => e, te = {
|
|
421
|
+
fr: q({
|
|
401
422
|
PROJECTS_COUNT: "Projets",
|
|
402
423
|
MEMBERS_COUNT: "Membres",
|
|
403
424
|
TEAM_COUNT: "Équipes",
|
|
@@ -457,7 +478,7 @@ const j = (e) => e, ee = {
|
|
|
457
478
|
BANKING_PSD2_REFRESHES_MONTH: "Rafraîchissements PSD2 / mois",
|
|
458
479
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "Recalculs système / mois"
|
|
459
480
|
}),
|
|
460
|
-
en:
|
|
481
|
+
en: q({
|
|
461
482
|
PROJECTS_COUNT: "Projects",
|
|
462
483
|
MEMBERS_COUNT: "Members",
|
|
463
484
|
TEAM_COUNT: "Teams",
|
|
@@ -518,26 +539,26 @@ const j = (e) => e, ee = {
|
|
|
518
539
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "System resnapshots / month"
|
|
519
540
|
})
|
|
520
541
|
};
|
|
521
|
-
var w = /* @__PURE__ */ ((e) => (e.FREEMIUM = "FREEMIUM", e.DEFAULT = "DEFAULT", e.CUSTOM = "CUSTOM", e.SYSTEM = "SYSTEM", e))(w || {}),
|
|
522
|
-
const
|
|
523
|
-
[w.FREEMIUM]:
|
|
542
|
+
var w = /* @__PURE__ */ ((e) => (e.FREEMIUM = "FREEMIUM", e.DEFAULT = "DEFAULT", e.CUSTOM = "CUSTOM", e.SYSTEM = "SYSTEM", e))(w || {}), O = /* @__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))(O || {});
|
|
543
|
+
const He = {
|
|
544
|
+
[w.FREEMIUM]: O.FREEMIUM,
|
|
524
545
|
[w.DEFAULT]: "paid",
|
|
525
|
-
[w.SYSTEM]:
|
|
526
|
-
[w.CUSTOM]:
|
|
527
|
-
},
|
|
528
|
-
const o = (
|
|
529
|
-
const
|
|
530
|
-
if (typeof
|
|
546
|
+
[w.SYSTEM]: O.INTERNAL,
|
|
547
|
+
[w.CUSTOM]: O.CUSTOM
|
|
548
|
+
}, Ve = new Set(Object.values(O)), U = (e) => e ? e.tier === w.CUSTOM ? O.CUSTOM : e.catalogKey && Ve.has(e.catalogKey) ? e.catalogKey : He[e.tier] ?? "paid" : O.FREEMIUM, Rt = (e, t) => {
|
|
549
|
+
const o = (y) => {
|
|
550
|
+
const v = e[`${y}Tier`];
|
|
551
|
+
if (typeof v != "string")
|
|
531
552
|
return null;
|
|
532
|
-
const
|
|
553
|
+
const f = e[`${y}CatalogKey`];
|
|
533
554
|
return {
|
|
534
|
-
tier:
|
|
535
|
-
catalogKey: typeof
|
|
555
|
+
tier: v,
|
|
556
|
+
catalogKey: typeof f == "string" ? f : null
|
|
536
557
|
};
|
|
537
|
-
}, i = {},
|
|
538
|
-
return
|
|
539
|
-
},
|
|
540
|
-
fr:
|
|
558
|
+
}, i = {}, r = o("plan"), n = o("oldPlan"), h = o("newPlan");
|
|
559
|
+
return r && (i.planName = t(U(r))), n && (i.oldPlanName = t(U(n))), h && (i.newPlanName = t(U(h))), i;
|
|
560
|
+
}, W = (e) => e, m = {
|
|
561
|
+
fr: W({
|
|
541
562
|
freemium: "Gratuit",
|
|
542
563
|
starter: "Starter",
|
|
543
564
|
pro: "Pro",
|
|
@@ -549,7 +570,7 @@ const xe = {
|
|
|
549
570
|
custom: "Plan personnalisé",
|
|
550
571
|
paid: "Plan payant"
|
|
551
572
|
}),
|
|
552
|
-
en:
|
|
573
|
+
en: W({
|
|
553
574
|
freemium: "Free",
|
|
554
575
|
starter: "Starter",
|
|
555
576
|
pro: "Pro",
|
|
@@ -561,7 +582,7 @@ const xe = {
|
|
|
561
582
|
custom: "Custom plan",
|
|
562
583
|
paid: "Paid plan"
|
|
563
584
|
})
|
|
564
|
-
},
|
|
585
|
+
}, je = {
|
|
565
586
|
banner: {
|
|
566
587
|
title: "Compte de démonstration",
|
|
567
588
|
summary: "{label} · expire le {date}",
|
|
@@ -576,8 +597,8 @@ const xe = {
|
|
|
576
597
|
}
|
|
577
598
|
},
|
|
578
599
|
blocked: "Indisponible en démo"
|
|
579
|
-
},
|
|
580
|
-
demo:
|
|
600
|
+
}, qe = {
|
|
601
|
+
demo: je,
|
|
581
602
|
"space-display-name": {
|
|
582
603
|
personal: "Mon Cloud",
|
|
583
604
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -667,7 +688,7 @@ const xe = {
|
|
|
667
688
|
},
|
|
668
689
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
669
690
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
670
|
-
metric:
|
|
691
|
+
metric: te.fr
|
|
671
692
|
},
|
|
672
693
|
"error-page": {
|
|
673
694
|
title: "Une erreur est survenue",
|
|
@@ -1318,40 +1339,40 @@ const xe = {
|
|
|
1318
1339
|
// Plan names come from @abyss-project/main's `plan-name` table, their single source.
|
|
1319
1340
|
plan: {
|
|
1320
1341
|
freemium: {
|
|
1321
|
-
name:
|
|
1342
|
+
name: m.fr.freemium,
|
|
1322
1343
|
description: "Pour démarrer sans engagement"
|
|
1323
1344
|
},
|
|
1324
1345
|
starter: {
|
|
1325
|
-
name:
|
|
1346
|
+
name: m.fr.starter,
|
|
1326
1347
|
description: "Pour les individus et petites équipes"
|
|
1327
1348
|
},
|
|
1328
1349
|
pro: {
|
|
1329
|
-
name:
|
|
1350
|
+
name: m.fr.pro,
|
|
1330
1351
|
description: "Pour les équipes professionnelles"
|
|
1331
1352
|
},
|
|
1332
1353
|
enterprise: {
|
|
1333
|
-
name:
|
|
1354
|
+
name: m.fr.enterprise,
|
|
1334
1355
|
description: "Pour les grandes organisations"
|
|
1335
1356
|
},
|
|
1336
1357
|
internal: {
|
|
1337
|
-
name:
|
|
1358
|
+
name: m.fr.internal,
|
|
1338
1359
|
description: "Usage interne Abyss"
|
|
1339
1360
|
},
|
|
1340
1361
|
"family-free": {
|
|
1341
|
-
name:
|
|
1362
|
+
name: m.fr["family-free"],
|
|
1342
1363
|
description: "Jusqu'à 6 membres, espaces partagés"
|
|
1343
1364
|
},
|
|
1344
1365
|
"family-paid": {
|
|
1345
|
-
name:
|
|
1366
|
+
name: m.fr["family-paid"],
|
|
1346
1367
|
description: "Jusqu'à 12 membres + bonus sur vos quotas perso"
|
|
1347
1368
|
},
|
|
1348
1369
|
demo: {
|
|
1349
|
-
name:
|
|
1370
|
+
name: m.fr.demo,
|
|
1350
1371
|
description: "Compte de démonstration : tous les services inclus"
|
|
1351
1372
|
},
|
|
1352
1373
|
// Names only: a bespoke plan and a paid plan outside the catalog have no catalog pitch.
|
|
1353
|
-
custom: { name:
|
|
1354
|
-
paid: { name:
|
|
1374
|
+
custom: { name: m.fr.custom },
|
|
1375
|
+
paid: { name: m.fr.paid }
|
|
1355
1376
|
},
|
|
1356
1377
|
"plan-feature": {
|
|
1357
1378
|
PROJECTS_COUNT: "{unlimited, select, true {Projets illimités} other {{limit} projets}}",
|
|
@@ -2101,6 +2122,13 @@ const xe = {
|
|
|
2101
2122
|
"entity-image-field": {
|
|
2102
2123
|
uploading: "Envoi de l’image…"
|
|
2103
2124
|
},
|
|
2125
|
+
combobox: {
|
|
2126
|
+
loading: "Recherche…",
|
|
2127
|
+
empty: "Aucun résultat",
|
|
2128
|
+
clear: "Effacer",
|
|
2129
|
+
open: "Ouvrir la liste",
|
|
2130
|
+
close: "Fermer la liste"
|
|
2131
|
+
},
|
|
2104
2132
|
"user-picker": {
|
|
2105
2133
|
loading: "Recherche…",
|
|
2106
2134
|
clear: "Effacer",
|
|
@@ -2190,6 +2218,12 @@ const xe = {
|
|
|
2190
2218
|
close: "Fermer le panneau"
|
|
2191
2219
|
}
|
|
2192
2220
|
},
|
|
2221
|
+
navigation: {
|
|
2222
|
+
breadcrumbs: {
|
|
2223
|
+
label: "Fil d’Ariane",
|
|
2224
|
+
expand: "Afficher les niveaux masqués"
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2193
2227
|
mobile: {
|
|
2194
2228
|
shell: {
|
|
2195
2229
|
back: "Retour",
|
|
@@ -2755,7 +2789,7 @@ const xe = {
|
|
|
2755
2789
|
show: "Afficher le mot de passe",
|
|
2756
2790
|
hide: "Masquer le mot de passe"
|
|
2757
2791
|
}
|
|
2758
|
-
},
|
|
2792
|
+
}, We = {
|
|
2759
2793
|
banner: {
|
|
2760
2794
|
title: "Demo account",
|
|
2761
2795
|
summary: "{label} · expires on {date}",
|
|
@@ -2770,8 +2804,8 @@ const xe = {
|
|
|
2770
2804
|
}
|
|
2771
2805
|
},
|
|
2772
2806
|
blocked: "Unavailable in demo"
|
|
2773
|
-
},
|
|
2774
|
-
demo:
|
|
2807
|
+
}, Ke = {
|
|
2808
|
+
demo: We,
|
|
2775
2809
|
"space-display-name": {
|
|
2776
2810
|
personal: "My Cloud",
|
|
2777
2811
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -2861,7 +2895,7 @@ const xe = {
|
|
|
2861
2895
|
},
|
|
2862
2896
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
2863
2897
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
2864
|
-
metric:
|
|
2898
|
+
metric: te.en
|
|
2865
2899
|
},
|
|
2866
2900
|
"error-page": {
|
|
2867
2901
|
title: "Something went wrong",
|
|
@@ -3512,40 +3546,40 @@ const xe = {
|
|
|
3512
3546
|
// Plan names come from @abyss-project/main's `plan-name` table, their single source.
|
|
3513
3547
|
plan: {
|
|
3514
3548
|
freemium: {
|
|
3515
|
-
name:
|
|
3549
|
+
name: m.en.freemium,
|
|
3516
3550
|
description: "Get started with no commitment"
|
|
3517
3551
|
},
|
|
3518
3552
|
starter: {
|
|
3519
|
-
name:
|
|
3553
|
+
name: m.en.starter,
|
|
3520
3554
|
description: "For individuals and small teams"
|
|
3521
3555
|
},
|
|
3522
3556
|
pro: {
|
|
3523
|
-
name:
|
|
3557
|
+
name: m.en.pro,
|
|
3524
3558
|
description: "For professional teams"
|
|
3525
3559
|
},
|
|
3526
3560
|
enterprise: {
|
|
3527
|
-
name:
|
|
3561
|
+
name: m.en.enterprise,
|
|
3528
3562
|
description: "For large organizations"
|
|
3529
3563
|
},
|
|
3530
3564
|
internal: {
|
|
3531
|
-
name:
|
|
3565
|
+
name: m.en.internal,
|
|
3532
3566
|
description: "Abyss internal use"
|
|
3533
3567
|
},
|
|
3534
3568
|
"family-free": {
|
|
3535
|
-
name:
|
|
3569
|
+
name: m.en["family-free"],
|
|
3536
3570
|
description: "Up to 6 members, shared spaces"
|
|
3537
3571
|
},
|
|
3538
3572
|
"family-paid": {
|
|
3539
|
-
name:
|
|
3573
|
+
name: m.en["family-paid"],
|
|
3540
3574
|
description: "Up to 12 members + a bonus on your personal quotas"
|
|
3541
3575
|
},
|
|
3542
3576
|
demo: {
|
|
3543
|
-
name:
|
|
3577
|
+
name: m.en.demo,
|
|
3544
3578
|
description: "Demo account: every service included"
|
|
3545
3579
|
},
|
|
3546
3580
|
// Names only: a bespoke plan and a paid plan outside the catalog have no catalog pitch.
|
|
3547
|
-
custom: { name:
|
|
3548
|
-
paid: { name:
|
|
3581
|
+
custom: { name: m.en.custom },
|
|
3582
|
+
paid: { name: m.en.paid }
|
|
3549
3583
|
},
|
|
3550
3584
|
"plan-feature": {
|
|
3551
3585
|
PROJECTS_COUNT: "{unlimited, select, true {Unlimited projects} other {{limit} projects}}",
|
|
@@ -4295,6 +4329,13 @@ const xe = {
|
|
|
4295
4329
|
"entity-image-field": {
|
|
4296
4330
|
uploading: "Uploading the image…"
|
|
4297
4331
|
},
|
|
4332
|
+
combobox: {
|
|
4333
|
+
loading: "Searching…",
|
|
4334
|
+
empty: "No result",
|
|
4335
|
+
clear: "Clear",
|
|
4336
|
+
open: "Open the list",
|
|
4337
|
+
close: "Close the list"
|
|
4338
|
+
},
|
|
4298
4339
|
"user-picker": {
|
|
4299
4340
|
loading: "Searching…",
|
|
4300
4341
|
clear: "Clear",
|
|
@@ -4384,6 +4425,12 @@ const xe = {
|
|
|
4384
4425
|
close: "Close panel"
|
|
4385
4426
|
}
|
|
4386
4427
|
},
|
|
4428
|
+
navigation: {
|
|
4429
|
+
breadcrumbs: {
|
|
4430
|
+
label: "Breadcrumb",
|
|
4431
|
+
expand: "Show hidden levels"
|
|
4432
|
+
}
|
|
4433
|
+
},
|
|
4387
4434
|
mobile: {
|
|
4388
4435
|
shell: {
|
|
4389
4436
|
back: "Back",
|
|
@@ -4950,112 +4997,112 @@ const xe = {
|
|
|
4950
4997
|
hide: "Hide password"
|
|
4951
4998
|
}
|
|
4952
4999
|
};
|
|
4953
|
-
var G,
|
|
4954
|
-
function
|
|
4955
|
-
if (
|
|
4956
|
-
|
|
4957
|
-
function e(
|
|
4958
|
-
return
|
|
5000
|
+
var G, K;
|
|
5001
|
+
function Xe() {
|
|
5002
|
+
if (K) return G;
|
|
5003
|
+
K = 1, G = o, o.flatten = o, o.unflatten = i;
|
|
5004
|
+
function e(r) {
|
|
5005
|
+
return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
4959
5006
|
}
|
|
4960
|
-
function t(
|
|
4961
|
-
return
|
|
5007
|
+
function t(r) {
|
|
5008
|
+
return r;
|
|
4962
5009
|
}
|
|
4963
|
-
function o(
|
|
5010
|
+
function o(r, n) {
|
|
4964
5011
|
n = n || {};
|
|
4965
|
-
const
|
|
4966
|
-
function
|
|
4967
|
-
u = u || 1, Object.keys(
|
|
4968
|
-
const s =
|
|
4969
|
-
if (!
|
|
4970
|
-
return
|
|
4971
|
-
|
|
5012
|
+
const h = n.delimiter || ".", y = n.maxDepth, v = n.transformKey || t, f = {};
|
|
5013
|
+
function A(E, N, u) {
|
|
5014
|
+
u = u || 1, Object.keys(E).forEach(function(l) {
|
|
5015
|
+
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);
|
|
5016
|
+
if (!p && !S && T && Object.keys(s).length && (!n.maxDepth || u < y))
|
|
5017
|
+
return A(s, I, u + 1);
|
|
5018
|
+
f[I] = s;
|
|
4972
5019
|
});
|
|
4973
5020
|
}
|
|
4974
|
-
return
|
|
5021
|
+
return A(r), f;
|
|
4975
5022
|
}
|
|
4976
|
-
function i(
|
|
5023
|
+
function i(r, n) {
|
|
4977
5024
|
n = n || {};
|
|
4978
|
-
const
|
|
4979
|
-
if (e(
|
|
4980
|
-
return
|
|
4981
|
-
function
|
|
4982
|
-
const s = Number(
|
|
4983
|
-
return isNaN(s) ||
|
|
5025
|
+
const h = n.delimiter || ".", y = n.overwrite || !1, v = n.transformKey || t, f = {};
|
|
5026
|
+
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
5027
|
+
return r;
|
|
5028
|
+
function E(l) {
|
|
5029
|
+
const s = Number(l);
|
|
5030
|
+
return isNaN(s) || l.indexOf(".") !== -1 || n.object ? l : s;
|
|
4984
5031
|
}
|
|
4985
|
-
function
|
|
4986
|
-
return Object.keys(
|
|
4987
|
-
return
|
|
5032
|
+
function N(l, s, p) {
|
|
5033
|
+
return Object.keys(p).reduce(function(b, S) {
|
|
5034
|
+
return b[l + h + S] = p[S], b;
|
|
4988
5035
|
}, s);
|
|
4989
5036
|
}
|
|
4990
|
-
function u(
|
|
4991
|
-
const s = Object.prototype.toString.call(
|
|
4992
|
-
if (
|
|
4993
|
-
if (
|
|
4994
|
-
return !
|
|
4995
|
-
if (
|
|
4996
|
-
return !Object.keys(
|
|
5037
|
+
function u(l) {
|
|
5038
|
+
const s = Object.prototype.toString.call(l), p = s === "[object Array]", b = s === "[object Object]";
|
|
5039
|
+
if (l) {
|
|
5040
|
+
if (p)
|
|
5041
|
+
return !l.length;
|
|
5042
|
+
if (b)
|
|
5043
|
+
return !Object.keys(l).length;
|
|
4997
5044
|
} else return !0;
|
|
4998
5045
|
}
|
|
4999
|
-
return
|
|
5000
|
-
const
|
|
5001
|
-
return !(
|
|
5046
|
+
return r = Object.keys(r).reduce(function(l, s) {
|
|
5047
|
+
const p = Object.prototype.toString.call(r[s]);
|
|
5048
|
+
return !(p === "[object Object]" || p === "[object Array]") || u(r[s]) ? (l[s] = r[s], l) : N(
|
|
5002
5049
|
s,
|
|
5003
|
-
|
|
5004
|
-
o(
|
|
5050
|
+
l,
|
|
5051
|
+
o(r[s], n)
|
|
5005
5052
|
);
|
|
5006
|
-
}, {}), Object.keys(
|
|
5007
|
-
const s =
|
|
5008
|
-
let
|
|
5009
|
-
for (;
|
|
5010
|
-
if (
|
|
5053
|
+
}, {}), Object.keys(r).forEach(function(l) {
|
|
5054
|
+
const s = l.split(h).map(v);
|
|
5055
|
+
let p = E(s.shift()), b = E(s[0]), S = f;
|
|
5056
|
+
for (; b !== void 0; ) {
|
|
5057
|
+
if (p === "__proto__")
|
|
5011
5058
|
return;
|
|
5012
|
-
const
|
|
5013
|
-
if (!
|
|
5059
|
+
const T = Object.prototype.toString.call(S[p]), I = T === "[object Object]" || T === "[object Array]";
|
|
5060
|
+
if (!y && !I && typeof S[p] < "u")
|
|
5014
5061
|
return;
|
|
5015
|
-
(
|
|
5062
|
+
(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]));
|
|
5016
5063
|
}
|
|
5017
|
-
|
|
5018
|
-
}),
|
|
5064
|
+
S[p] = i(r[l], n);
|
|
5065
|
+
}), f;
|
|
5019
5066
|
}
|
|
5020
5067
|
return G;
|
|
5021
5068
|
}
|
|
5022
|
-
var
|
|
5023
|
-
const
|
|
5024
|
-
fr: { ...
|
|
5025
|
-
en: { ...
|
|
5026
|
-
},
|
|
5027
|
-
() =>
|
|
5028
|
-
),
|
|
5029
|
-
() =>
|
|
5030
|
-
),
|
|
5069
|
+
var oe = Xe();
|
|
5070
|
+
const ie = {
|
|
5071
|
+
fr: { ...qe, common: pe },
|
|
5072
|
+
en: { ...Ke, common: ue }
|
|
5073
|
+
}, Je = Q(
|
|
5074
|
+
() => oe.flatten(ie.fr)
|
|
5075
|
+
), $e = Q(
|
|
5076
|
+
() => oe.flatten(ie.en)
|
|
5077
|
+
), It = {
|
|
5031
5078
|
get fr() {
|
|
5032
|
-
return
|
|
5079
|
+
return Je();
|
|
5033
5080
|
},
|
|
5034
5081
|
get en() {
|
|
5035
|
-
return
|
|
5082
|
+
return $e();
|
|
5036
5083
|
}
|
|
5037
|
-
},
|
|
5038
|
-
break: /* @__PURE__ */
|
|
5039
|
-
bold: (...e) => /* @__PURE__ */
|
|
5040
|
-
italic: (...e) => /* @__PURE__ */
|
|
5041
|
-
primary: (...e) => /* @__PURE__ */
|
|
5042
|
-
focus: (...e) => /* @__PURE__ */
|
|
5043
|
-
},
|
|
5044
|
-
const e = x(), t =
|
|
5084
|
+
}, Qe = {
|
|
5085
|
+
break: /* @__PURE__ */ d("br", {}),
|
|
5086
|
+
bold: (...e) => /* @__PURE__ */ d("strong", { children: e }),
|
|
5087
|
+
italic: (...e) => /* @__PURE__ */ d("i", { children: e }),
|
|
5088
|
+
primary: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5089
|
+
focus: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5090
|
+
}, Ot = () => {
|
|
5091
|
+
const e = x(), t = X(
|
|
5045
5092
|
(o, i) => e.formatMessage(o, {
|
|
5046
|
-
...
|
|
5093
|
+
...Qe,
|
|
5047
5094
|
...i
|
|
5048
5095
|
}),
|
|
5049
5096
|
[e]
|
|
5050
5097
|
);
|
|
5051
|
-
return
|
|
5098
|
+
return re(() => {
|
|
5052
5099
|
const { formatMessage: o, ...i } = e;
|
|
5053
5100
|
return { ...i, formatRichMessage: t };
|
|
5054
5101
|
}, [e, t]);
|
|
5055
|
-
},
|
|
5102
|
+
}, Ze = /* @__PURE__ */ new Set(["a", "button"]), et = g("div", {
|
|
5056
5103
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5057
5104
|
})(({ theme: e, ownerState: t }) => {
|
|
5058
|
-
const { tokens: o, radii: i, space:
|
|
5105
|
+
const { tokens: o, radii: i, space: r } = e.design;
|
|
5059
5106
|
return {
|
|
5060
5107
|
display: "flex",
|
|
5061
5108
|
flexDirection: "column",
|
|
@@ -5063,91 +5110,91 @@ const oe = {
|
|
|
5063
5110
|
boxSizing: "border-box",
|
|
5064
5111
|
backgroundColor: o["bg.surface"],
|
|
5065
5112
|
border: L(o["border.subtle"]),
|
|
5066
|
-
borderRadius:
|
|
5067
|
-
padding: r
|
|
5113
|
+
borderRadius: a(i.md),
|
|
5114
|
+
padding: a(r[t.padding]),
|
|
5068
5115
|
color: o["text.primary"],
|
|
5069
5116
|
...t.interactive && {
|
|
5070
5117
|
cursor: "pointer",
|
|
5071
5118
|
font: "inherit",
|
|
5072
5119
|
textAlign: "inherit",
|
|
5073
5120
|
textDecoration: "none",
|
|
5074
|
-
transition:
|
|
5121
|
+
transition: ve(e, ["border-color"]),
|
|
5075
5122
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5076
|
-
"&:focus-visible":
|
|
5123
|
+
"&:focus-visible": Ae(e)
|
|
5077
5124
|
}
|
|
5078
5125
|
};
|
|
5079
|
-
}),
|
|
5126
|
+
}), _t = ae(function({
|
|
5080
5127
|
interactive: t = !1,
|
|
5081
5128
|
padding: o = 4,
|
|
5082
5129
|
component: i = "div",
|
|
5083
|
-
children:
|
|
5130
|
+
children: r,
|
|
5084
5131
|
onKeyDown: n,
|
|
5085
|
-
role:
|
|
5086
|
-
tabIndex:
|
|
5087
|
-
...
|
|
5088
|
-
},
|
|
5089
|
-
const
|
|
5132
|
+
role: h,
|
|
5133
|
+
tabIndex: y,
|
|
5134
|
+
...v
|
|
5135
|
+
}, f) {
|
|
5136
|
+
const A = t && typeof i == "string" && !Ze.has(i), E = X(
|
|
5090
5137
|
(u) => {
|
|
5091
|
-
typeof
|
|
5138
|
+
typeof f == "function" ? f(u) : f !== null && (f.current = u);
|
|
5092
5139
|
},
|
|
5093
|
-
[
|
|
5140
|
+
[f]
|
|
5094
5141
|
);
|
|
5095
|
-
return /* @__PURE__ */
|
|
5096
|
-
|
|
5142
|
+
return /* @__PURE__ */ d(
|
|
5143
|
+
et,
|
|
5097
5144
|
{
|
|
5098
|
-
ref:
|
|
5145
|
+
ref: E,
|
|
5099
5146
|
as: i,
|
|
5100
5147
|
ownerState: { interactive: t, padding: o },
|
|
5101
|
-
role:
|
|
5102
|
-
tabIndex:
|
|
5148
|
+
role: h ?? (A ? "button" : void 0),
|
|
5149
|
+
tabIndex: y ?? (A ? 0 : void 0),
|
|
5103
5150
|
onKeyDown: (u) => {
|
|
5104
|
-
n == null || n(u),
|
|
5151
|
+
n == null || n(u), A && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5105
5152
|
},
|
|
5106
|
-
...
|
|
5107
|
-
children:
|
|
5153
|
+
...v,
|
|
5154
|
+
children: r
|
|
5108
5155
|
}
|
|
5109
5156
|
);
|
|
5110
5157
|
});
|
|
5111
5158
|
export {
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5159
|
+
We as A,
|
|
5160
|
+
we as B,
|
|
5161
|
+
je as C,
|
|
5162
|
+
C as D,
|
|
5163
|
+
ie as E,
|
|
5164
|
+
Ke as F,
|
|
5165
|
+
qe as G,
|
|
5166
|
+
mt as H,
|
|
5167
|
+
Et as I,
|
|
5121
5168
|
U as J,
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5169
|
+
Rt as K,
|
|
5170
|
+
Ct as M,
|
|
5171
|
+
Qe as R,
|
|
5172
|
+
_t as S,
|
|
5173
|
+
me as T,
|
|
5174
|
+
Z as a,
|
|
5175
|
+
Pe as b,
|
|
5176
|
+
ye as c,
|
|
5130
5177
|
D as d,
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5178
|
+
ve as e,
|
|
5179
|
+
It as f,
|
|
5180
|
+
Ae as g,
|
|
5134
5181
|
L as h,
|
|
5135
5182
|
Ee as i,
|
|
5136
5183
|
_ as j,
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5184
|
+
be as k,
|
|
5185
|
+
ft as l,
|
|
5186
|
+
St as m,
|
|
5187
|
+
ht as n,
|
|
5188
|
+
gt as o,
|
|
5189
|
+
a as p,
|
|
5190
|
+
fe as q,
|
|
5191
|
+
At as r,
|
|
5192
|
+
bt as s,
|
|
5193
|
+
Nt as t,
|
|
5194
|
+
Ot as u,
|
|
5195
|
+
Tt as v,
|
|
5149
5196
|
P as w,
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5197
|
+
j as x,
|
|
5198
|
+
yt as y,
|
|
5199
|
+
vt as z
|
|
5153
5200
|
};
|