@abyss-project/commons-front-core 21.5.0 → 21.7.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/catalog-entries.ts +1 -0
- package/catalog/pages/LoadingScreen.tsx +51 -0
- package/catalog/pages/index.ts +2 -0
- package/dist/{CookieConsentSettings-JnVg_LK2.js → CookieConsentSettings-BrCSm1XE.js} +1 -1
- package/dist/{Surface-BSaVNCQB.js → Surface-D72TnJbC.js} +23 -15
- package/dist/{Tabs-DlztwHTB.js → Tabs-DVLY2xcX.js} +1 -1
- package/dist/auth/components/shared/AuthLoadingScreen.component.d.ts +7 -5
- package/dist/components/layers/RowMenu/RowMenu.d.ts +11 -0
- package/dist/components/layers/RowMenu/RowMenu.spec.d.ts +1 -0
- package/dist/components/layers/index.d.ts +1 -0
- package/dist/components/meaning/ToolIcon/ToolIcon.d.ts +1 -1
- package/dist/components/states/LoadingScreen/LoadingScreen.d.ts +31 -0
- package/dist/components/states/LoadingScreen/LoadingScreen.spec.d.ts +1 -0
- package/dist/components/states/index.d.ts +1 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-DtSWARzF.js → editors-e2Ub2tja.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +8 -0
- package/dist/{index-BypVAuSd.js → index-B31D2APk.js} +2 -2
- package/dist/{index-BhIJ2JLT.js → index-BBPqIUfY.js} +3 -3
- package/dist/{index-BeM8FRDV.js → index-BFJmgYfI.js} +2 -2
- package/dist/{index-DWM_TDWv.js → index-BQQDVuBk.js} +4 -4
- package/dist/{index-CWpn58Dl.js → index-BpaOna7B.js} +2 -2
- package/dist/{index-B_brfyuS.js → index-C3_b7Tvv.js} +2 -2
- package/dist/{index-B27TqeVc.js → index-C7azTLVR.js} +2 -2
- package/dist/{index-CrCFfSgX.js → index-CCRG32M5.js} +2 -2
- package/dist/{index-NadodU95.js → index-CXpH_nma.js} +3 -3
- package/dist/{index-3QNmXVou.js → index-Co9YsCOx.js} +2 -2
- package/dist/{index-PV6fILN2.js → index-D9dkSnz4.js} +2 -2
- package/dist/{index-CoHmgDgN.js → index-DErr8t0U.js} +2 -2
- package/dist/{index-DJwDjPvp.js → index-DVZlrW-W.js} +2 -2
- package/dist/{index-cHcfvTo0.js → index-Delldxwj.js} +3 -3
- package/dist/{index-DYr8EuPL.js → index-DjMG8gzD.js} +3 -3
- package/dist/{index-ezygrHM0.js → index-Dl-asA62.js} +2 -2
- package/dist/{index-D1hPS3Ao.js → index-DmcHGNWF.js} +4 -4
- package/dist/{index-DDykQjHr.js → index-Rxl7Ly4v.js} +2 -2
- package/dist/{index-H8Fs3-Nw.js → index-dl-FmtUS.js} +1 -1
- package/dist/{index-DuQKxzT3.js → index-fnqZ2bHM.js} +2 -2
- package/dist/{index-vSNwWEdM.js → index-u1nOu-io.js} +4 -4
- package/dist/index.js +14243 -14134
- package/dist/translations/en.d.ts +4 -0
- package/dist/translations/fr.d.ts +4 -0
- package/dist/translations/presigned-urls-monthly-i18n.spec.d.ts +1 -0
- package/dist/utils/service-config.d.ts +4 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog — @abyss-project/commons-front-core
|
|
2
2
|
|
|
3
|
+
## 21.6.0
|
|
4
|
+
|
|
5
|
+
Card #851. `LoadingScreen` (family `states`): the branded loading screen, the mark of the product breathing over a thin sliding bar, for a wait that has no layout of its own to draw. Props `tool` (`ToolKind`, the Abyss mark by default), `placement` (`LoadingScreenPlacement.Viewport` over the window, `Page` in the content slot of a shell) and `delayed` (nothing before `durations.slow`). A busy `status` named by `ds.states.loading-screen.label`; still under `prefers-reduced-motion` (ADR-0298). `AbyssSessionBoundary` and `RequireSession` show it with the mark of their `service` instead of a bare spinner; `getServiceTool` and `SERVICE_TOOLS` map a service to its `ToolKind`. `ToolIcon` gains the 64 px size.
|
|
6
|
+
|
|
3
7
|
## 21.4.3
|
|
4
8
|
|
|
5
9
|
Card #834, on top of 21.4.2 (it carries #800). The content-shared notification body names the permission in clear (« « Jardin » — accès en lecture » / « "Jardin" — view access »); an unknown value reads « accès partagé », never the raw value. The labels come from `@abyss-project/main/content-share-label` (ADR-0286). `@abyss-project/main` is pinned at 36.9.2.
|
|
@@ -68,6 +68,7 @@ export const CATALOG_ENTRIES: CatalogEntry[] = [
|
|
|
68
68
|
entry('ActionBar', 'mobile', 'action-bar', RESPONSIVE),
|
|
69
69
|
entry('SwipeDeck', 'mobile', 'swipe-deck', RESPONSIVE),
|
|
70
70
|
entry('PageState', 'states', 'page-state', { mobileCapture: true }),
|
|
71
|
+
entry('LoadingScreen', 'states', 'loading-screen', { mobileCapture: true }),
|
|
71
72
|
entry('Callout', 'states', 'callout', RESPONSIVE),
|
|
72
73
|
entry('ErrorBoundary', 'states', 'error-boundary', { mobileCapture: true }),
|
|
73
74
|
entry('DataTable', 'data', 'data-table', RESPONSIVE),
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { styled } from '@mui/material/styles';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
LoadingScreen,
|
|
5
|
+
LoadingScreenPlacement,
|
|
6
|
+
} from '../../src/components/states/LoadingScreen/LoadingScreen';
|
|
7
|
+
import { hairline, px } from '../../src/theme/components/shared';
|
|
8
|
+
import { ToolKind } from '../../src/theme/tokens/domain';
|
|
9
|
+
import { Example, Showcase } from '../frame';
|
|
10
|
+
|
|
11
|
+
/** The content slot of a page, as a shell lays it out around the screen. */
|
|
12
|
+
const Slot = styled('div')(({ theme }) => {
|
|
13
|
+
const { tokens, space, radii } = theme.design;
|
|
14
|
+
return {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
minHeight: px(space[10] * 5),
|
|
17
|
+
backgroundColor: tokens['bg.canvas'],
|
|
18
|
+
border: hairline(tokens['border.subtle']),
|
|
19
|
+
borderRadius: px(radii.md),
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const LoadingScreenPage = () => (
|
|
24
|
+
<Showcase
|
|
25
|
+
family="États"
|
|
26
|
+
name="LoadingScreen"
|
|
27
|
+
description="Écran de chargement de marque : l'icône du produit qui respire au-dessus d'une barre qui glisse. Ici dans l'emplacement d'une page ; en plein écran il recouvre la fenêtre."
|
|
28
|
+
>
|
|
29
|
+
<Example title="Icône Abyss (front principal, admin)">
|
|
30
|
+
<Slot>
|
|
31
|
+
<LoadingScreen placement={LoadingScreenPlacement.Page} />
|
|
32
|
+
</Slot>
|
|
33
|
+
</Example>
|
|
34
|
+
<Example title="Icône d'un produit (Cloud)">
|
|
35
|
+
<Slot>
|
|
36
|
+
<LoadingScreen
|
|
37
|
+
tool={ToolKind.Cloud}
|
|
38
|
+
placement={LoadingScreenPlacement.Page}
|
|
39
|
+
/>
|
|
40
|
+
</Slot>
|
|
41
|
+
</Example>
|
|
42
|
+
<Example title="Icône d'un produit (Banking)">
|
|
43
|
+
<Slot>
|
|
44
|
+
<LoadingScreen
|
|
45
|
+
tool={ToolKind.Banking}
|
|
46
|
+
placement={LoadingScreenPlacement.Page}
|
|
47
|
+
/>
|
|
48
|
+
</Slot>
|
|
49
|
+
</Example>
|
|
50
|
+
</Showcase>
|
|
51
|
+
);
|
package/catalog/pages/index.ts
CHANGED
|
@@ -52,6 +52,7 @@ import { MethodBadgePage } from './MethodBadge';
|
|
|
52
52
|
import { MobileShellPage } from './MobileShell';
|
|
53
53
|
import { ModalPage } from './Modal';
|
|
54
54
|
import { NotificationsMenuPage } from './NotificationsMenu';
|
|
55
|
+
import { LoadingScreenPage } from './LoadingScreen';
|
|
55
56
|
import { NumberFieldPage } from './NumberField';
|
|
56
57
|
import { PageHeaderPage } from './PageHeader';
|
|
57
58
|
import { PdfEditorPage } from './PdfEditor';
|
|
@@ -142,6 +143,7 @@ export const CATALOG_PAGES: Record<string, ComponentType> = {
|
|
|
142
143
|
NumberField: NumberFieldPage,
|
|
143
144
|
PageHeader: PageHeaderPage,
|
|
144
145
|
PdfEditor: PdfEditorPage,
|
|
146
|
+
LoadingScreen: LoadingScreenPage,
|
|
145
147
|
PageState: PageStatePage,
|
|
146
148
|
PreviewDrawer: PreviewDrawerPage,
|
|
147
149
|
ProductTour: ProductTourPage,
|
|
@@ -3,7 +3,7 @@ import { useState as v, useCallback as b, useEffect as T, useLayoutEffect as ie,
|
|
|
3
3
|
import w from "@mui/material/Button";
|
|
4
4
|
import Q from "@mui/material/Switch";
|
|
5
5
|
import { styled as y } from "@mui/material/styles";
|
|
6
|
-
import { T as K, w as O, p as f, d as D, D as N, S as R, a as V, u as M, M as C, b as X, h as ae, c as ce, e as le } from "./Surface-
|
|
6
|
+
import { T as K, w as O, p as f, d as D, D as N, S as R, a as V, u as M, M as C, b as X, h as ae, c as ce, e as le } from "./Surface-D72TnJbC.js";
|
|
7
7
|
import { useQuery as de, useMutation as ue } from "@tanstack/react-query";
|
|
8
8
|
import { AbyssCore as j } from "@abyss-project/main";
|
|
9
9
|
import { createPortal as fe } from "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import { createContext as ue, useContext as pe, useId as B, useRef as
|
|
2
|
+
import { createContext as ue, useContext as pe, useId as B, useRef as j, useState as q, useCallback as Q, useMemo as me, forwardRef as he } from "react";
|
|
3
3
|
import { useIntl as G } from "react-intl";
|
|
4
4
|
import ge from "@mui/material/Dialog";
|
|
5
5
|
import Z from "@mui/material/IconButton";
|
|
@@ -227,15 +227,15 @@ function ze({
|
|
|
227
227
|
footer: s,
|
|
228
228
|
children: y
|
|
229
229
|
}) {
|
|
230
|
-
const v = ve(), A = G(), f = B(), T =
|
|
230
|
+
const v = ve(), A = G(), f = B(), T = j(null), m = j(null), [N, u] = q(0), [l, n] = q(!1), h = (S) => {
|
|
231
231
|
S.currentTarget.setPointerCapture(S.pointerId), m.current = S.clientY, n(!0);
|
|
232
232
|
}, b = (S) => {
|
|
233
233
|
m.current !== null && u(Math.max(0, S.clientY - m.current));
|
|
234
234
|
}, E = (S) => {
|
|
235
|
-
var
|
|
235
|
+
var Y;
|
|
236
236
|
if (m.current === null)
|
|
237
237
|
return;
|
|
238
|
-
const de = Math.max(0, S.clientY - m.current), z = ((
|
|
238
|
+
const de = Math.max(0, S.clientY - m.current), z = ((Y = T.current) == null ? void 0 : Y.getBoundingClientRect().height) ?? 0;
|
|
239
239
|
m.current = null, n(!1), u(0), z > 0 && de >= z * we && t();
|
|
240
240
|
}, _ = () => {
|
|
241
241
|
m.current = null, n(!1), u(0);
|
|
@@ -290,8 +290,8 @@ function ze({
|
|
|
290
290
|
}
|
|
291
291
|
) });
|
|
292
292
|
}
|
|
293
|
-
const Bt = "--abyss-toast-clearance", Gt = "--abyss-cookie-banner-modal-clearance", zt = "--abyss-toast-dialog-foot-clearance",
|
|
294
|
-
var
|
|
293
|
+
const Bt = "--abyss-toast-clearance", Gt = "--abyss-cookie-banner-modal-clearance", zt = "--abyss-toast-dialog-foot-clearance", Ye = "data-abyss-dialog-foot";
|
|
294
|
+
var je = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e))(je || {});
|
|
295
295
|
const qe = p(ge)(({ theme: e }) => {
|
|
296
296
|
const { tokens: t, fonts: o, space: r } = e.design;
|
|
297
297
|
return {
|
|
@@ -370,7 +370,7 @@ const qe = p(ge)(({ theme: e }) => {
|
|
|
370
370
|
// stacks them, each growing to the full width.
|
|
371
371
|
"& > *": { flex: "1 1 auto", minWidth: "fit-content" }
|
|
372
372
|
}));
|
|
373
|
-
function
|
|
373
|
+
function Yt({
|
|
374
374
|
open: e,
|
|
375
375
|
onClose: t,
|
|
376
376
|
title: o,
|
|
@@ -389,7 +389,7 @@ function jt({
|
|
|
389
389
|
title: o,
|
|
390
390
|
titleIcon: r,
|
|
391
391
|
closeLabel: A.formatMessage({ id: "ds.layers.modal.close" }),
|
|
392
|
-
footer: y !== void 0 ? /* @__PURE__ */ d(et, { [
|
|
392
|
+
footer: y !== void 0 ? /* @__PURE__ */ d(et, { [Ye]: "", children: y }) : void 0,
|
|
393
393
|
children: [
|
|
394
394
|
i !== void 0 && /* @__PURE__ */ d(Ze, { children: i }),
|
|
395
395
|
v
|
|
@@ -457,6 +457,7 @@ const W = (e) => e, ie = {
|
|
|
457
457
|
FLOW_WORKFLOW_CREDITS_MONTH: "Crédits d'automatisation Flow",
|
|
458
458
|
REFLEX_EXECUTIONS_MONTH: "Exécutions Reflex / mois",
|
|
459
459
|
REFLEX_ACTIVE_BOTS_COUNT: "Bots Discord actifs",
|
|
460
|
+
REFLEX_DELAYED_PENDING_MAX: "Rappels différés en attente par Service",
|
|
460
461
|
CONSOLE_VAULT_ENTRIES_COUNT: "Entrées du Coffre",
|
|
461
462
|
RUM_SESSIONS_MONTH: "Sessions navigateur Monitor / mois",
|
|
462
463
|
REHYDRATION_CONCURRENT_JOBS: "Réhydratations simultanées",
|
|
@@ -524,6 +525,7 @@ const W = (e) => e, ie = {
|
|
|
524
525
|
FLOW_WORKFLOW_CREDITS_MONTH: "Flow automation credits",
|
|
525
526
|
REFLEX_EXECUTIONS_MONTH: "Reflex executions / month",
|
|
526
527
|
REFLEX_ACTIVE_BOTS_COUNT: "Active Discord bots",
|
|
528
|
+
REFLEX_DELAYED_PENDING_MAX: "Pending delayed runs per Service",
|
|
527
529
|
CONSOLE_VAULT_ENTRIES_COUNT: "Vault entries",
|
|
528
530
|
RUM_SESSIONS_MONTH: "Monitor browser sessions / month",
|
|
529
531
|
REHYDRATION_CONCURRENT_JOBS: "Concurrent rehydrations",
|
|
@@ -565,7 +567,7 @@ const W = (e) => e, ie = {
|
|
|
565
567
|
})
|
|
566
568
|
};
|
|
567
569
|
var ae = /* @__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))(ae || {}), se = /* @__PURE__ */ ((e) => (e.VIEW = "VIEW", e.EDIT = "EDIT", e.MANAGE = "MANAGE", e))(se || {});
|
|
568
|
-
const tt = (e) => e.toLowerCase().replace(/_/g, "-"),
|
|
570
|
+
const tt = (e) => e.toLowerCase().replace(/_/g, "-"), jt = Object.values(ae).map(tt), qt = (e) => typeof e == "string" && Object.values(se).includes(e) ? e : "unknown", K = (e) => e, P = {
|
|
569
571
|
fr: K({
|
|
570
572
|
labels: {
|
|
571
573
|
draw: "un dessin",
|
|
@@ -1223,7 +1225,7 @@ const ot = {
|
|
|
1223
1225
|
APPLICATIONS: "Applications",
|
|
1224
1226
|
RETENTION_DAYS: "Rétention (jours)",
|
|
1225
1227
|
FILES_COUNT: "Fichiers",
|
|
1226
|
-
PRESIGNED_URLS: "URLs présignées /
|
|
1228
|
+
PRESIGNED_URLS: "URLs présignées / mois",
|
|
1227
1229
|
BANDWIDTH_GB: "Bande passante (Go/jour)"
|
|
1228
1230
|
},
|
|
1229
1231
|
"account-status": {
|
|
@@ -2584,6 +2586,9 @@ const ot = {
|
|
|
2584
2586
|
"rate-limited-description": "Réessai dans {seconds, number} s.",
|
|
2585
2587
|
"rate-limited-ready": "Vous pouvez réessayer."
|
|
2586
2588
|
},
|
|
2589
|
+
"loading-screen": {
|
|
2590
|
+
label: "Chargement…"
|
|
2591
|
+
},
|
|
2587
2592
|
callout: {
|
|
2588
2593
|
close: "Fermer le bandeau"
|
|
2589
2594
|
}
|
|
@@ -3653,7 +3658,7 @@ const ot = {
|
|
|
3653
3658
|
APPLICATIONS: "Applications",
|
|
3654
3659
|
RETENTION_DAYS: "Retention (days)",
|
|
3655
3660
|
FILES_COUNT: "Files",
|
|
3656
|
-
PRESIGNED_URLS: "Presigned URLs /
|
|
3661
|
+
PRESIGNED_URLS: "Presigned URLs / month",
|
|
3657
3662
|
BANDWIDTH_GB: "Bandwidth (GB/day)"
|
|
3658
3663
|
},
|
|
3659
3664
|
"account-status": {
|
|
@@ -5014,6 +5019,9 @@ const ot = {
|
|
|
5014
5019
|
"rate-limited-description": "Retrying in {seconds, number} s.",
|
|
5015
5020
|
"rate-limited-ready": "You can try again."
|
|
5016
5021
|
},
|
|
5022
|
+
"loading-screen": {
|
|
5023
|
+
label: "Loading…"
|
|
5024
|
+
},
|
|
5017
5025
|
callout: {
|
|
5018
5026
|
close: "Close the banner"
|
|
5019
5027
|
}
|
|
@@ -5713,12 +5721,12 @@ export {
|
|
|
5713
5721
|
_t as F,
|
|
5714
5722
|
Mt as G,
|
|
5715
5723
|
zt as H,
|
|
5716
|
-
|
|
5724
|
+
Ye as I,
|
|
5717
5725
|
U as J,
|
|
5718
5726
|
Vt as K,
|
|
5719
5727
|
qt as L,
|
|
5720
5728
|
Gt as M,
|
|
5721
|
-
|
|
5729
|
+
jt as N,
|
|
5722
5730
|
st as O,
|
|
5723
5731
|
it as P,
|
|
5724
5732
|
kt as Q,
|
|
@@ -5730,9 +5738,9 @@ export {
|
|
|
5730
5738
|
at as W,
|
|
5731
5739
|
oe as a,
|
|
5732
5740
|
Kt as b,
|
|
5733
|
-
|
|
5741
|
+
Yt as c,
|
|
5734
5742
|
k as d,
|
|
5735
|
-
|
|
5743
|
+
je as e,
|
|
5736
5744
|
Ht as f,
|
|
5737
5745
|
_e as g,
|
|
5738
5746
|
L as h,
|
|
@@ -8,7 +8,7 @@ import Ja from "@mui/material/Select";
|
|
|
8
8
|
import { styled as w, useTheme as Qa, getContrastRatio as Nt } from "@mui/material/styles";
|
|
9
9
|
import { visuallyHidden as $t } from "@mui/utils";
|
|
10
10
|
import { useIntl as ge } from "react-intl";
|
|
11
|
-
import { p as c, h as me, d as Ce, D as Te, a as ve, t as Wn, s as ct, g as Ne, i as qe, c as qn, e as Hn, j as ei, B as ti } from "./Surface-
|
|
11
|
+
import { p as c, h as me, d as Ce, D as Te, a as ve, t as Wn, s as ct, g as Ne, i as qe, c as qn, e as Hn, j as ei, B as ti } from "./Surface-D72TnJbC.js";
|
|
12
12
|
import Oe from "@mui/material/Button";
|
|
13
13
|
import { byteSizeIEC as ni } from "@abyss-project/main";
|
|
14
14
|
import ai from "@mui/icons-material/FileUploadOutlined";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ActivatableService } from '@abyss-project/main';
|
|
2
|
+
export interface AuthLoadingScreenProps {
|
|
3
|
+
/** The service whose session is read: its mark is the one shown. */
|
|
4
|
+
service: ActivatableService;
|
|
5
|
+
}
|
|
6
|
+
/** The full-frame loading screen shown while the session is restored: the mark of the service. */
|
|
7
|
+
export declare const AuthLoadingScreen: ({ service }: AuthLoadingScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MenuItem } from '../Menu/Menu';
|
|
2
|
+
export interface RowMenuProps {
|
|
3
|
+
/** Accessible name of the trigger, naming the row (« Actions de https://… »). */
|
|
4
|
+
label: string;
|
|
5
|
+
items: MenuItem[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The actions of a row behind one « Actions » trigger: a row keeps its width, whatever the number
|
|
9
|
+
* of actions the viewer may use. Nothing is drawn when there is none.
|
|
10
|
+
*/
|
|
11
|
+
export declare function RowMenu({ label, items }: RowMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ToolKind } from '../../../theme/tokens/domain';
|
|
2
|
+
export declare enum LoadingScreenPlacement {
|
|
3
|
+
/** Covers the window, above the page: a session being restored, an app that boots. */
|
|
4
|
+
Viewport = "viewport",
|
|
5
|
+
/** Fills the content slot of a page: the shell (sidebar, header) stays visible around it. */
|
|
6
|
+
Page = "page"
|
|
7
|
+
}
|
|
8
|
+
/** Whether the mark and the bar move, as exposed by `data-motion`. */
|
|
9
|
+
export declare enum LoadingScreenMotion {
|
|
10
|
+
Animated = "animated",
|
|
11
|
+
Static = "static"
|
|
12
|
+
}
|
|
13
|
+
export interface LoadingScreenProps {
|
|
14
|
+
/** The product whose mark is shown. `Platform` (the Abyss mark) by default. */
|
|
15
|
+
tool?: ToolKind;
|
|
16
|
+
/** `Viewport` by default. */
|
|
17
|
+
placement?: LoadingScreenPlacement;
|
|
18
|
+
/**
|
|
19
|
+
* Shows nothing until the wait has lasted `durations.slow`: for a wait that is usually too short
|
|
20
|
+
* to be worth a screen (a lazy route), so a fast answer never flashes the mark.
|
|
21
|
+
*/
|
|
22
|
+
delayed?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The branded loading screen: the mark of the product, breathing, over a thin bar that slides. For a
|
|
26
|
+
* wait that has no layout of its own to draw (a session being restored, an app that boots, a page
|
|
27
|
+
* whose shape is not known yet); a page that knows its layout keeps its skeleton in `PageState`.
|
|
28
|
+
* It is a named, busy `status`; the mark and the bar stand still under
|
|
29
|
+
* `prefers-reduced-motion: reduce`.
|
|
30
|
+
*/
|
|
31
|
+
export declare function LoadingScreen({ tool, placement, delayed, }: LoadingScreenProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/cookie-consent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-
|
|
2
|
-
import { f as p } from "./Surface-
|
|
1
|
+
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-BrCSm1XE.js";
|
|
2
|
+
import { f as p } from "./Surface-D72TnJbC.js";
|
|
3
3
|
export {
|
|
4
4
|
o as AbyssCookieConsentProvider,
|
|
5
5
|
a as CONSENT_VALIDITY_DAYS,
|
|
@@ -5,10 +5,10 @@ var MN = (l, t, e) => t.has(l) || HG("Cannot " + e);
|
|
|
5
5
|
var I = (l, t, e) => (MN(l, t, "read from private field"), e ? e.call(l) : t.get(l)), Jt = (l, t, e) => t.has(l) ? HG("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(l) : t.set(l, e), it = (l, t, e, n) => (MN(l, t, "write to private field"), n ? n.call(l, e) : t.set(l, e), e), Fm = (l, t, e) => (MN(l, t, "access private method"), e);
|
|
6
6
|
import { jsx as G, jsxs as Lt, Fragment as _i } from "react/jsx-runtime";
|
|
7
7
|
import _l, { useRef as Pt, useState as wt, useMemo as Oe, createContext as CU, useContext as ga, useCallback as Ot, useLayoutEffect as LM, useEffect as le, forwardRef as Kz, useImperativeHandle as Hz, memo as UO, useReducer as Pz } from "react";
|
|
8
|
-
import { i as hO, a as Ca, d as PG, b as Az, c as FO, e as _z, r as ZO, f as uO, g as mO, h as pO, k as qz, j as VO, l as QO, m as AG, n as WO, o as NO, p as bO, q as RO, s as _G, t as MO, u as SO, S as TO, v as JO, R as wR, F as Qp, C as bF, w as RF, x as Ru, y as iZ, D as $z, T as GO, z as yO, N as fM, A as BO, B as XO, E as YO, G as kO } from "./Tabs-
|
|
8
|
+
import { i as hO, a as Ca, d as PG, b as Az, c as FO, e as _z, r as ZO, f as uO, g as mO, h as pO, k as qz, j as VO, l as QO, m as AG, n as WO, o as NO, p as bO, q as RO, s as _G, t as MO, u as SO, S as TO, v as JO, R as wR, F as Qp, C as bF, w as RF, x as Ru, y as iZ, D as $z, T as GO, z as yO, N as fM, A as BO, B as XO, E as YO, G as kO } from "./Tabs-DVLY2xcX.js";
|
|
9
9
|
import { styled as bt, useTheme as zO } from "@mui/material/styles";
|
|
10
10
|
import { useIntl as zl } from "react-intl";
|
|
11
|
-
import { s as NU, d as ys, D as ds, p as C, h as El, c as Zo, e as uo, a as _d, b as LO, t as Mu, i as Z0, g as vo, k as MF, l as PQ, j as fO, u as DO } from "./Surface-
|
|
11
|
+
import { s as NU, d as ys, D as ds, p as C, h as El, c as Zo, e as uo, a as _d, b as LO, t as Mu, i as Z0, g as vo, k as MF, l as PQ, j as fO, u as DO } from "./Surface-D72TnJbC.js";
|
|
12
12
|
import pl from "@mui/material/Button";
|
|
13
13
|
import DM from "@mui/material/Checkbox";
|
|
14
14
|
import zV from "@mui/material/CircularProgress";
|
|
@@ -14223,7 +14223,7 @@ function Ut(l) {
|
|
|
14223
14223
|
return new vH(rS.define(l));
|
|
14224
14224
|
}
|
|
14225
14225
|
function rc(l) {
|
|
14226
|
-
return import("./index-
|
|
14226
|
+
return import("./index-DErr8t0U.js").then((t) => t.sql({ dialect: t[l] }));
|
|
14227
14227
|
}
|
|
14228
14228
|
const D7 = [
|
|
14229
14229
|
// New-style language modes
|
|
@@ -14231,7 +14231,7 @@ const D7 = [
|
|
|
14231
14231
|
name: "C",
|
|
14232
14232
|
extensions: ["c", "h", "ino"],
|
|
14233
14233
|
load() {
|
|
14234
|
-
return import("./index-
|
|
14234
|
+
return import("./index-Dl-asA62.js").then((l) => l.cpp());
|
|
14235
14235
|
}
|
|
14236
14236
|
}),
|
|
14237
14237
|
/* @__PURE__ */ A.of({
|
|
@@ -14239,7 +14239,7 @@ const D7 = [
|
|
|
14239
14239
|
alias: ["cpp"],
|
|
14240
14240
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
14241
14241
|
load() {
|
|
14242
|
-
return import("./index-
|
|
14242
|
+
return import("./index-Dl-asA62.js").then((l) => l.cpp());
|
|
14243
14243
|
}
|
|
14244
14244
|
}),
|
|
14245
14245
|
/* @__PURE__ */ A.of({
|
|
@@ -14254,14 +14254,14 @@ const D7 = [
|
|
|
14254
14254
|
name: "CSS",
|
|
14255
14255
|
extensions: ["css"],
|
|
14256
14256
|
load() {
|
|
14257
|
-
return import("./index-
|
|
14257
|
+
return import("./index-BpaOna7B.js").then((l) => l.css());
|
|
14258
14258
|
}
|
|
14259
14259
|
}),
|
|
14260
14260
|
/* @__PURE__ */ A.of({
|
|
14261
14261
|
name: "Go",
|
|
14262
14262
|
extensions: ["go"],
|
|
14263
14263
|
load() {
|
|
14264
|
-
return import("./index-
|
|
14264
|
+
return import("./index-Co9YsCOx.js").then((l) => l.go());
|
|
14265
14265
|
}
|
|
14266
14266
|
}),
|
|
14267
14267
|
/* @__PURE__ */ A.of({
|
|
@@ -14269,14 +14269,14 @@ const D7 = [
|
|
|
14269
14269
|
alias: ["xhtml"],
|
|
14270
14270
|
extensions: ["html", "htm", "handlebars", "hbs"],
|
|
14271
14271
|
load() {
|
|
14272
|
-
return import("./index-
|
|
14272
|
+
return import("./index-BQQDVuBk.js").then((l) => l.html());
|
|
14273
14273
|
}
|
|
14274
14274
|
}),
|
|
14275
14275
|
/* @__PURE__ */ A.of({
|
|
14276
14276
|
name: "Java",
|
|
14277
14277
|
extensions: ["java"],
|
|
14278
14278
|
load() {
|
|
14279
|
-
return import("./index-
|
|
14279
|
+
return import("./index-B31D2APk.js").then((l) => l.java());
|
|
14280
14280
|
}
|
|
14281
14281
|
}),
|
|
14282
14282
|
/* @__PURE__ */ A.of({
|
|
@@ -14284,7 +14284,7 @@ const D7 = [
|
|
|
14284
14284
|
alias: ["ecmascript", "js", "node"],
|
|
14285
14285
|
extensions: ["js", "mjs", "cjs"],
|
|
14286
14286
|
load() {
|
|
14287
|
-
return import("./index-
|
|
14287
|
+
return import("./index-CCRG32M5.js").then((l) => l.javascript());
|
|
14288
14288
|
}
|
|
14289
14289
|
}),
|
|
14290
14290
|
/* @__PURE__ */ A.of({
|
|
@@ -14292,28 +14292,28 @@ const D7 = [
|
|
|
14292
14292
|
alias: ["json5"],
|
|
14293
14293
|
extensions: ["json", "map"],
|
|
14294
14294
|
load() {
|
|
14295
|
-
return import("./index-
|
|
14295
|
+
return import("./index-fnqZ2bHM.js").then((l) => l.json());
|
|
14296
14296
|
}
|
|
14297
14297
|
}),
|
|
14298
14298
|
/* @__PURE__ */ A.of({
|
|
14299
14299
|
name: "JSX",
|
|
14300
14300
|
extensions: ["jsx"],
|
|
14301
14301
|
load() {
|
|
14302
|
-
return import("./index-
|
|
14302
|
+
return import("./index-CCRG32M5.js").then((l) => l.javascript({ jsx: !0 }));
|
|
14303
14303
|
}
|
|
14304
14304
|
}),
|
|
14305
14305
|
/* @__PURE__ */ A.of({
|
|
14306
14306
|
name: "LESS",
|
|
14307
14307
|
extensions: ["less"],
|
|
14308
14308
|
load() {
|
|
14309
|
-
return import("./index-
|
|
14309
|
+
return import("./index-BBPqIUfY.js").then((l) => l.less());
|
|
14310
14310
|
}
|
|
14311
14311
|
}),
|
|
14312
14312
|
/* @__PURE__ */ A.of({
|
|
14313
14313
|
name: "Liquid",
|
|
14314
14314
|
extensions: ["liquid"],
|
|
14315
14315
|
load() {
|
|
14316
|
-
return import("./index-
|
|
14316
|
+
return import("./index-Delldxwj.js").then((l) => l.liquid());
|
|
14317
14317
|
}
|
|
14318
14318
|
}),
|
|
14319
14319
|
/* @__PURE__ */ A.of({
|
|
@@ -14326,7 +14326,7 @@ const D7 = [
|
|
|
14326
14326
|
name: "Markdown",
|
|
14327
14327
|
extensions: ["md", "markdown", "mkd"],
|
|
14328
14328
|
load() {
|
|
14329
|
-
return import("./index-
|
|
14329
|
+
return import("./index-BFJmgYfI.js").then((l) => l.markdown());
|
|
14330
14330
|
}
|
|
14331
14331
|
}),
|
|
14332
14332
|
/* @__PURE__ */ A.of({
|
|
@@ -14345,7 +14345,7 @@ const D7 = [
|
|
|
14345
14345
|
name: "PHP",
|
|
14346
14346
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
14347
14347
|
load() {
|
|
14348
|
-
return import("./index-
|
|
14348
|
+
return import("./index-CXpH_nma.js").then((l) => l.php());
|
|
14349
14349
|
}
|
|
14350
14350
|
}),
|
|
14351
14351
|
/* @__PURE__ */ A.of({
|
|
@@ -14366,28 +14366,28 @@ const D7 = [
|
|
|
14366
14366
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
14367
14367
|
filename: /^(BUCK|BUILD)$/,
|
|
14368
14368
|
load() {
|
|
14369
|
-
return import("./index-
|
|
14369
|
+
return import("./index-D9dkSnz4.js").then((l) => l.python());
|
|
14370
14370
|
}
|
|
14371
14371
|
}),
|
|
14372
14372
|
/* @__PURE__ */ A.of({
|
|
14373
14373
|
name: "Rust",
|
|
14374
14374
|
extensions: ["rs"],
|
|
14375
14375
|
load() {
|
|
14376
|
-
return import("./index-
|
|
14376
|
+
return import("./index-C3_b7Tvv.js").then((l) => l.rust());
|
|
14377
14377
|
}
|
|
14378
14378
|
}),
|
|
14379
14379
|
/* @__PURE__ */ A.of({
|
|
14380
14380
|
name: "Sass",
|
|
14381
14381
|
extensions: ["sass"],
|
|
14382
14382
|
load() {
|
|
14383
|
-
return import("./index-
|
|
14383
|
+
return import("./index-DjMG8gzD.js").then((l) => l.sass({ indented: !0 }));
|
|
14384
14384
|
}
|
|
14385
14385
|
}),
|
|
14386
14386
|
/* @__PURE__ */ A.of({
|
|
14387
14387
|
name: "SCSS",
|
|
14388
14388
|
extensions: ["scss"],
|
|
14389
14389
|
load() {
|
|
14390
|
-
return import("./index-
|
|
14390
|
+
return import("./index-DjMG8gzD.js").then((l) => l.sass());
|
|
14391
14391
|
}
|
|
14392
14392
|
}),
|
|
14393
14393
|
/* @__PURE__ */ A.of({
|
|
@@ -14407,7 +14407,7 @@ const D7 = [
|
|
|
14407
14407
|
name: "TSX",
|
|
14408
14408
|
extensions: ["tsx"],
|
|
14409
14409
|
load() {
|
|
14410
|
-
return import("./index-
|
|
14410
|
+
return import("./index-CCRG32M5.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
|
|
14411
14411
|
}
|
|
14412
14412
|
}),
|
|
14413
14413
|
/* @__PURE__ */ A.of({
|
|
@@ -14415,14 +14415,14 @@ const D7 = [
|
|
|
14415
14415
|
alias: ["ts"],
|
|
14416
14416
|
extensions: ["ts", "mts", "cts"],
|
|
14417
14417
|
load() {
|
|
14418
|
-
return import("./index-
|
|
14418
|
+
return import("./index-CCRG32M5.js").then((l) => l.javascript({ typescript: !0 }));
|
|
14419
14419
|
}
|
|
14420
14420
|
}),
|
|
14421
14421
|
/* @__PURE__ */ A.of({
|
|
14422
14422
|
name: "WebAssembly",
|
|
14423
14423
|
extensions: ["wat", "wast"],
|
|
14424
14424
|
load() {
|
|
14425
|
-
return import("./index-
|
|
14425
|
+
return import("./index-Rxl7Ly4v.js").then((l) => l.wast());
|
|
14426
14426
|
}
|
|
14427
14427
|
}),
|
|
14428
14428
|
/* @__PURE__ */ A.of({
|
|
@@ -14430,7 +14430,7 @@ const D7 = [
|
|
|
14430
14430
|
alias: ["rss", "wsdl", "xsd"],
|
|
14431
14431
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
14432
14432
|
load() {
|
|
14433
|
-
return import("./index-
|
|
14433
|
+
return import("./index-DVZlrW-W.js").then((l) => l.xml());
|
|
14434
14434
|
}
|
|
14435
14435
|
}),
|
|
14436
14436
|
/* @__PURE__ */ A.of({
|
|
@@ -14438,7 +14438,7 @@ const D7 = [
|
|
|
14438
14438
|
alias: ["yml"],
|
|
14439
14439
|
extensions: ["yaml", "yml"],
|
|
14440
14440
|
load() {
|
|
14441
|
-
return import("./index-
|
|
14441
|
+
return import("./index-C7azTLVR.js").then((l) => l.yaml());
|
|
14442
14442
|
}
|
|
14443
14443
|
}),
|
|
14444
14444
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -15234,13 +15234,13 @@ const D7 = [
|
|
|
15234
15234
|
name: "Vue",
|
|
15235
15235
|
extensions: ["vue"],
|
|
15236
15236
|
load() {
|
|
15237
|
-
return import("./index-
|
|
15237
|
+
return import("./index-u1nOu-io.js").then((l) => l.vue());
|
|
15238
15238
|
}
|
|
15239
15239
|
}),
|
|
15240
15240
|
/* @__PURE__ */ A.of({
|
|
15241
15241
|
name: "Angular Template",
|
|
15242
15242
|
load() {
|
|
15243
|
-
return import("./index-
|
|
15243
|
+
return import("./index-DmcHGNWF.js").then((l) => l.angular());
|
|
15244
15244
|
}
|
|
15245
15245
|
})
|
|
15246
15246
|
], w7 = "#e5c07b", y5 = "#e06c75", I7 = "#56b6c2", x7 = "#ffffff", kp = "#abb2bf", f2 = "#7d8799", g7 = "#61afef", C7 = "#98c379", B5 = "#d19a66", E7 = "#c678dd", O7 = "#21252b", X5 = "#2c313a", Y5 = "#282c34", HN = "#353a42", j7 = "#3E4451", k5 = "#528bff", v7 = /* @__PURE__ */ At.theme({
|
package/dist/editors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-
|
|
1
|
+
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-e2Ub2tja.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CodeEditor,
|
|
4
4
|
s as ExpressionCodeEditor,
|
|
@@ -561,6 +561,7 @@ export declare const translations: {
|
|
|
561
561
|
FLOW_WORKFLOW_CREDITS_MONTH: string;
|
|
562
562
|
REFLEX_EXECUTIONS_MONTH: string;
|
|
563
563
|
REFLEX_ACTIVE_BOTS_COUNT: string;
|
|
564
|
+
REFLEX_DELAYED_PENDING_MAX: string;
|
|
564
565
|
CONSOLE_VAULT_ENTRIES_COUNT: string;
|
|
565
566
|
RUM_SESSIONS_MONTH: string;
|
|
566
567
|
REHYDRATION_CONCURRENT_JOBS: string;
|
|
@@ -2433,6 +2434,9 @@ export declare const translations: {
|
|
|
2433
2434
|
'rate-limited-description': string;
|
|
2434
2435
|
'rate-limited-ready': string;
|
|
2435
2436
|
};
|
|
2437
|
+
'loading-screen': {
|
|
2438
|
+
label: string;
|
|
2439
|
+
};
|
|
2436
2440
|
callout: {
|
|
2437
2441
|
close: string;
|
|
2438
2442
|
};
|
|
@@ -3524,6 +3528,7 @@ export declare const translations: {
|
|
|
3524
3528
|
FLOW_WORKFLOW_CREDITS_MONTH: string;
|
|
3525
3529
|
REFLEX_EXECUTIONS_MONTH: string;
|
|
3526
3530
|
REFLEX_ACTIVE_BOTS_COUNT: string;
|
|
3531
|
+
REFLEX_DELAYED_PENDING_MAX: string;
|
|
3527
3532
|
CONSOLE_VAULT_ENTRIES_COUNT: string;
|
|
3528
3533
|
RUM_SESSIONS_MONTH: string;
|
|
3529
3534
|
REHYDRATION_CONCURRENT_JOBS: string;
|
|
@@ -5396,6 +5401,9 @@ export declare const translations: {
|
|
|
5396
5401
|
'rate-limited-description': string;
|
|
5397
5402
|
'rate-limited-ready': string;
|
|
5398
5403
|
};
|
|
5404
|
+
'loading-screen': {
|
|
5405
|
+
label: string;
|
|
5406
|
+
};
|
|
5399
5407
|
callout: {
|
|
5400
5408
|
close: string;
|
|
5401
5409
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as r } from "./index-
|
|
2
|
-
import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-
|
|
1
|
+
import { L as r } from "./index-dl-FmtUS.js";
|
|
2
|
+
import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-e2Ub2tja.js";
|
|
3
3
|
const Z = e({
|
|
4
4
|
null: O.null,
|
|
5
5
|
instanceof: O.operatorKeyword,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-
|
|
2
|
-
import { defineCSSCompletionSource as m } from "./index-
|
|
3
|
-
import { L as c, E as S } from "./index-
|
|
1
|
+
import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-e2Ub2tja.js";
|
|
2
|
+
import { defineCSSCompletionSource as m } from "./index-BpaOna7B.js";
|
|
3
|
+
import { L as c, E as S } from "./index-dl-FmtUS.js";
|
|
4
4
|
const f = 110, l = 1, s = 2, r = [
|
|
5
5
|
9,
|
|
6
6
|
10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-
|
|
2
|
-
import { html as kt, htmlCompletionSource as Lt } from "./index-
|
|
1
|
+
import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-e2Ub2tja.js";
|
|
2
|
+
import { html as kt, htmlCompletionSource as Lt } from "./index-BQQDVuBk.js";
|
|
3
3
|
class $ {
|
|
4
4
|
static create(e, r, n, s, i) {
|
|
5
5
|
let o = s + (s << 8) + e + (r << 4) | 0;
|