@abyss-project/commons-front-core 18.0.0 → 18.1.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 +12 -1
- package/catalog/pages/DeliveryHistory.tsx +79 -66
- package/catalog/pages/DeliverySubscriptions.tsx +127 -110
- package/catalog/pages/ScheduledTasks.tsx +117 -117
- package/catalog/specs/captures.spec.ts +145 -145
- package/catalog/specs/write-capture-index.ts +81 -81
- package/dist/{CookieConsentSettings-B7HIIzyI.js → CookieConsentSettings-DUoKKRMZ.js} +1 -1
- package/dist/{Surface-dziv23sf.js → Surface-z5TuQzlh.js} +50 -40
- package/dist/{Tabs-_onUZBA-.js → Tabs-C4K0mLME.js} +1 -1
- package/dist/components/business/Deliveries/DeliveryHistory.component.d.ts +4 -3
- package/dist/components/business/Deliveries/DeliverySubscriptionForm.d.ts +3 -2
- package/dist/components/business/Deliveries/deliveries.logic.d.ts +11 -0
- package/dist/components/business/Deliveries/deliveries.types.d.ts +12 -4
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-B3C3z1gE.js → design-theme-BFkCN7Nz.js} +1 -1
- package/dist/{editors-BhQlONOy.js → editors-Eb3PHnxn.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +12 -2
- package/dist/{index-yFJTDKIX.js → index-2lNOK7eK.js} +2 -2
- package/dist/{index-BGAZK8Vk.js → index-B76nCWpd.js} +2 -2
- package/dist/{index-BcjlG5TB.js → index-BKRudpMw.js} +2 -2
- package/dist/{index-CJI1dJrw.js → index-BaL2x2GW.js} +3 -3
- package/dist/{index-BeMiREqf.js → index-BcO-JFrs.js} +2 -2
- package/dist/{index-D1mQgWN3.js → index-BlOP01yA.js} +2 -2
- package/dist/{index-V4F4Sk7y.js → index-Bw4XnSa0.js} +2 -2
- package/dist/{index-BGJobvxw.js → index-CFDEfvCD.js} +1 -1
- package/dist/{index-DprTO7yi.js → index-CQ7z2zKY.js} +4 -4
- package/dist/{index-y-TnfE6Z.js → index-CRFGogWn.js} +2 -2
- package/dist/{index-B6w5_TeJ.js → index-CUhMNEUo.js} +3 -3
- package/dist/{index-ByN6DcaL.js → index-CWD0waD8.js} +2 -2
- package/dist/{index-B6LMTOKG.js → index-CYBvIQsH.js} +3 -3
- package/dist/{index-DNd8NZnu.js → index-Ckzcg8qD.js} +4 -4
- package/dist/{index-Dakpr4C1.js → index-Ckzmgx9X.js} +3 -3
- package/dist/{index-DkZAsKob.js → index-CrZZo4r1.js} +2 -2
- package/dist/{index-N4BwXTyk.js → index-CtVoDSIn.js} +2 -2
- package/dist/{index-BTDlbjWW.js → index-CtkfWhK1.js} +2 -2
- package/dist/{index-ytgNPz5f.js → index-DRtBc440.js} +2 -2
- package/dist/{index-BBF-FvT6.js → index-Dqm1dC1j.js} +2 -2
- package/dist/{index-DLlWMDxB.js → index-z5ZOXlY8.js} +4 -4
- package/dist/index.js +5880 -5790
- package/dist/legacy.js +6 -6
- package/dist/translations/en.d.ts +6 -1
- package/dist/translations/fr.d.ts +6 -1
- package/package.json +5 -5
|
@@ -62,11 +62,11 @@ const ge = 266, c = (e, t) => ({ l: e, c: t, h: ge }), mt = {
|
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
65
|
-
},
|
|
65
|
+
}, vt = {
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, yt = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
72
|
}, j = {
|
|
@@ -119,12 +119,12 @@ const ee = {
|
|
|
119
119
|
[w.down(R.Tablet)]: {
|
|
120
120
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
122
|
+
}), ve = (e) => ({
|
|
123
123
|
[w.down(R.Tablet)]: {
|
|
124
124
|
minWidth: a(e.design.densityValues.touchTarget),
|
|
125
125
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
127
|
+
}), ye = (e, t, o = "fast") => t.map(
|
|
128
128
|
(i) => `${i} ${e.design.durations[o]}ms ${e.design.easings.standard}`
|
|
129
129
|
).join(", "), Ee = () => {
|
|
130
130
|
const e = H(w.up(R.Desktop), {
|
|
@@ -170,7 +170,7 @@ const P = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, be = 0.3, Se =
|
|
|
170
170
|
position: "absolute",
|
|
171
171
|
top: a(e.design.space[1]),
|
|
172
172
|
right: P(_.Right, e.design.space[2]),
|
|
173
|
-
...
|
|
173
|
+
...ve(e)
|
|
174
174
|
})), Re = g("div")(({ theme: e }) => {
|
|
175
175
|
const { space: t, densityValues: o } = e.design;
|
|
176
176
|
return {
|
|
@@ -222,7 +222,7 @@ function De({
|
|
|
222
222
|
closeLabel: r,
|
|
223
223
|
children: n
|
|
224
224
|
}) {
|
|
225
|
-
const h = le(),
|
|
225
|
+
const h = le(), v = G(), y = x(), f = Y(null), A = Y(null), [E, N] = V(0), [u, l] = V(!1), s = (T) => {
|
|
226
226
|
T.currentTarget.setPointerCapture(T.pointerId), A.current = T.clientY, l(!0);
|
|
227
227
|
}, p = (T) => {
|
|
228
228
|
A.current !== null && N(Math.max(0, T.clientY - A.current));
|
|
@@ -248,8 +248,8 @@ function De({
|
|
|
248
248
|
ref: f,
|
|
249
249
|
role: "dialog",
|
|
250
250
|
"aria-modal": "true",
|
|
251
|
-
"aria-labelledby": o ?
|
|
252
|
-
"aria-label": o ? void 0 :
|
|
251
|
+
"aria-labelledby": o ? y : void 0,
|
|
252
|
+
"aria-label": o ? void 0 : v.formatMessage({ id: "ds.mobile.bottom-sheet.label" }),
|
|
253
253
|
tabIndex: -1,
|
|
254
254
|
style: {
|
|
255
255
|
// No transform at rest: a transformed panel is the containing block of whatever is
|
|
@@ -269,7 +269,7 @@ function De({
|
|
|
269
269
|
onPointerCancel: S,
|
|
270
270
|
children: [
|
|
271
271
|
/* @__PURE__ */ d(Ce, { "aria-hidden": "true" }),
|
|
272
|
-
o ? /* @__PURE__ */ C(Ie, { id:
|
|
272
|
+
o ? /* @__PURE__ */ C(Ie, { id: y, besideClose: r !== void 0, children: [
|
|
273
273
|
i !== void 0 && /* @__PURE__ */ d(Oe, { "aria-hidden": "true", children: i }),
|
|
274
274
|
o
|
|
275
275
|
] }) : null
|
|
@@ -370,9 +370,9 @@ function Rt({
|
|
|
370
370
|
description: r,
|
|
371
371
|
size: n = "md",
|
|
372
372
|
actions: h,
|
|
373
|
-
children:
|
|
373
|
+
children: v
|
|
374
374
|
}) {
|
|
375
|
-
const
|
|
375
|
+
const y = G(), f = Ee() === R.Mobile, A = x(), E = x();
|
|
376
376
|
return f ? /* @__PURE__ */ C(
|
|
377
377
|
De,
|
|
378
378
|
{
|
|
@@ -380,10 +380,10 @@ function Rt({
|
|
|
380
380
|
onClose: t,
|
|
381
381
|
title: o,
|
|
382
382
|
titleIcon: i,
|
|
383
|
-
closeLabel:
|
|
383
|
+
closeLabel: y.formatMessage({ id: "ds.layers.modal.close" }),
|
|
384
384
|
children: [
|
|
385
385
|
r !== void 0 && /* @__PURE__ */ d(ze, { children: r }),
|
|
386
|
-
|
|
386
|
+
v,
|
|
387
387
|
h !== void 0 && /* @__PURE__ */ d(Ye, { children: h })
|
|
388
388
|
]
|
|
389
389
|
}
|
|
@@ -408,13 +408,13 @@ function Rt({
|
|
|
408
408
|
/* @__PURE__ */ d(
|
|
409
409
|
J,
|
|
410
410
|
{
|
|
411
|
-
"aria-label":
|
|
411
|
+
"aria-label": y.formatMessage({ id: "ds.layers.modal.close" }),
|
|
412
412
|
onClick: t,
|
|
413
413
|
children: /* @__PURE__ */ d($, { "aria-hidden": !0 })
|
|
414
414
|
}
|
|
415
415
|
)
|
|
416
416
|
] }),
|
|
417
|
-
/* @__PURE__ */ d(Ge, { children:
|
|
417
|
+
/* @__PURE__ */ d(Ge, { children: v }),
|
|
418
418
|
h !== void 0 && /* @__PURE__ */ d(Be, { children: h })
|
|
419
419
|
]
|
|
420
420
|
}
|
|
@@ -549,13 +549,13 @@ const Ve = {
|
|
|
549
549
|
[D.SYSTEM]: O.INTERNAL,
|
|
550
550
|
[D.CUSTOM]: O.CUSTOM
|
|
551
551
|
}, He = new Set(Object.values(O)), U = (e) => e ? e.tier === D.CUSTOM ? O.CUSTOM : e.catalogKey && He.has(e.catalogKey) ? e.catalogKey : Ve[e.tier] ?? "paid" : O.FREEMIUM, Ct = (e, t) => {
|
|
552
|
-
const o = (
|
|
553
|
-
const
|
|
554
|
-
if (typeof
|
|
552
|
+
const o = (v) => {
|
|
553
|
+
const y = e[`${v}Tier`];
|
|
554
|
+
if (typeof y != "string")
|
|
555
555
|
return null;
|
|
556
|
-
const f = e[`${
|
|
556
|
+
const f = e[`${v}CatalogKey`];
|
|
557
557
|
return {
|
|
558
|
-
tier:
|
|
558
|
+
tier: y,
|
|
559
559
|
catalogKey: typeof f == "string" ? f : null
|
|
560
560
|
};
|
|
561
561
|
}, i = {}, r = o("plan"), n = o("oldPlan"), h = o("newPlan");
|
|
@@ -1487,7 +1487,7 @@ const Ve = {
|
|
|
1487
1487
|
events: "Événements",
|
|
1488
1488
|
format: "Format",
|
|
1489
1489
|
enabled: "État",
|
|
1490
|
-
failures: "Échecs
|
|
1490
|
+
failures: "Échecs",
|
|
1491
1491
|
actions: "Actions"
|
|
1492
1492
|
},
|
|
1493
1493
|
action: {
|
|
@@ -1527,6 +1527,11 @@ const Ve = {
|
|
|
1527
1527
|
"empty-desc": "Les livraisons apparaissent ici dès qu’un événement est envoyé.",
|
|
1528
1528
|
"status-filter": "Statut",
|
|
1529
1529
|
"all-statuses": "Tous les statuts",
|
|
1530
|
+
subscription: {
|
|
1531
|
+
url: "URL",
|
|
1532
|
+
events: "Événements",
|
|
1533
|
+
"load-failed": "L’abonnement n’a pas pu être chargé."
|
|
1534
|
+
},
|
|
1530
1535
|
column: {
|
|
1531
1536
|
status: "Statut",
|
|
1532
1537
|
event: "Événement",
|
|
@@ -1540,7 +1545,7 @@ const Ve = {
|
|
|
1540
1545
|
title: "Détail de la livraison",
|
|
1541
1546
|
"load-failed": "Le détail n’a pas pu être chargé.",
|
|
1542
1547
|
"delivery-id": "Identifiant de livraison",
|
|
1543
|
-
"
|
|
1548
|
+
"event-data": "Données de l’événement",
|
|
1544
1549
|
headers: "En-têtes envoyés",
|
|
1545
1550
|
response: "Réponse",
|
|
1546
1551
|
"response-code": "Code de réponse",
|
|
@@ -3882,7 +3887,7 @@ const Ve = {
|
|
|
3882
3887
|
events: "Events",
|
|
3883
3888
|
format: "Format",
|
|
3884
3889
|
enabled: "State",
|
|
3885
|
-
failures: "
|
|
3890
|
+
failures: "Failures",
|
|
3886
3891
|
actions: "Actions"
|
|
3887
3892
|
},
|
|
3888
3893
|
action: {
|
|
@@ -3922,6 +3927,11 @@ const Ve = {
|
|
|
3922
3927
|
"empty-desc": "Deliveries show up here as soon as an event is sent.",
|
|
3923
3928
|
"status-filter": "Status",
|
|
3924
3929
|
"all-statuses": "All statuses",
|
|
3930
|
+
subscription: {
|
|
3931
|
+
url: "URL",
|
|
3932
|
+
events: "Events",
|
|
3933
|
+
"load-failed": "The subscription could not be loaded."
|
|
3934
|
+
},
|
|
3925
3935
|
column: {
|
|
3926
3936
|
status: "Status",
|
|
3927
3937
|
event: "Event",
|
|
@@ -3935,7 +3945,7 @@ const Ve = {
|
|
|
3935
3945
|
title: "Delivery detail",
|
|
3936
3946
|
"load-failed": "The detail could not be loaded.",
|
|
3937
3947
|
"delivery-id": "Delivery id",
|
|
3938
|
-
"
|
|
3948
|
+
"event-data": "Event data",
|
|
3939
3949
|
headers: "Headers sent",
|
|
3940
3950
|
response: "Response",
|
|
3941
3951
|
"response-code": "Response code",
|
|
@@ -5426,11 +5436,11 @@ function Xe() {
|
|
|
5426
5436
|
}
|
|
5427
5437
|
function o(r, n) {
|
|
5428
5438
|
n = n || {};
|
|
5429
|
-
const h = n.delimiter || ".",
|
|
5439
|
+
const h = n.delimiter || ".", v = n.maxDepth, y = n.transformKey || t, f = {};
|
|
5430
5440
|
function A(E, N, u) {
|
|
5431
5441
|
u = u || 1, Object.keys(E).forEach(function(l) {
|
|
5432
|
-
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 +
|
|
5433
|
-
if (!p && !S && T && Object.keys(s).length && (!n.maxDepth || u <
|
|
5442
|
+
const s = E[l], p = n.safe && Array.isArray(s), b = Object.prototype.toString.call(s), S = e(s), T = b === "[object Object]" || b === "[object Array]", I = N ? N + h + y(l) : y(l);
|
|
5443
|
+
if (!p && !S && T && Object.keys(s).length && (!n.maxDepth || u < v))
|
|
5434
5444
|
return A(s, I, u + 1);
|
|
5435
5445
|
f[I] = s;
|
|
5436
5446
|
});
|
|
@@ -5439,7 +5449,7 @@ function Xe() {
|
|
|
5439
5449
|
}
|
|
5440
5450
|
function i(r, n) {
|
|
5441
5451
|
n = n || {};
|
|
5442
|
-
const h = n.delimiter || ".",
|
|
5452
|
+
const h = n.delimiter || ".", v = n.overwrite || !1, y = n.transformKey || t, f = {};
|
|
5443
5453
|
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
5444
5454
|
return r;
|
|
5445
5455
|
function E(l) {
|
|
@@ -5468,15 +5478,15 @@ function Xe() {
|
|
|
5468
5478
|
o(r[s], n)
|
|
5469
5479
|
);
|
|
5470
5480
|
}, {}), Object.keys(r).forEach(function(l) {
|
|
5471
|
-
const s = l.split(h).map(
|
|
5481
|
+
const s = l.split(h).map(y);
|
|
5472
5482
|
let p = E(s.shift()), b = E(s[0]), S = f;
|
|
5473
5483
|
for (; b !== void 0; ) {
|
|
5474
5484
|
if (p === "__proto__")
|
|
5475
5485
|
return;
|
|
5476
5486
|
const T = Object.prototype.toString.call(S[p]), I = T === "[object Object]" || T === "[object Array]";
|
|
5477
|
-
if (!
|
|
5487
|
+
if (!v && !I && typeof S[p] < "u")
|
|
5478
5488
|
return;
|
|
5479
|
-
(
|
|
5489
|
+
(v && !I || !v && S[p] == null) && (S[p] = typeof b == "number" && !n.object ? [] : {}), S = S[p], s.length > 0 && (p = E(s.shift()), b = E(s[0]));
|
|
5480
5490
|
}
|
|
5481
5491
|
S[p] = i(r[l], n);
|
|
5482
5492
|
}), f;
|
|
@@ -5535,7 +5545,7 @@ const ie = {
|
|
|
5535
5545
|
font: "inherit",
|
|
5536
5546
|
textAlign: "inherit",
|
|
5537
5547
|
textDecoration: "none",
|
|
5538
|
-
transition:
|
|
5548
|
+
transition: ye(e, ["border-color"]),
|
|
5539
5549
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5540
5550
|
"&:focus-visible": Ae(e)
|
|
5541
5551
|
}
|
|
@@ -5547,8 +5557,8 @@ const ie = {
|
|
|
5547
5557
|
children: r,
|
|
5548
5558
|
onKeyDown: n,
|
|
5549
5559
|
role: h,
|
|
5550
|
-
tabIndex:
|
|
5551
|
-
...
|
|
5560
|
+
tabIndex: v,
|
|
5561
|
+
...y
|
|
5552
5562
|
}, f) {
|
|
5553
5563
|
const A = t && typeof i == "string" && !Ze.has(i), E = X(
|
|
5554
5564
|
(u) => {
|
|
@@ -5563,11 +5573,11 @@ const ie = {
|
|
|
5563
5573
|
as: i,
|
|
5564
5574
|
ownerState: { interactive: t, padding: o },
|
|
5565
5575
|
role: h ?? (A ? "button" : void 0),
|
|
5566
|
-
tabIndex:
|
|
5576
|
+
tabIndex: v ?? (A ? 0 : void 0),
|
|
5567
5577
|
onKeyDown: (u) => {
|
|
5568
5578
|
n == null || n(u), A && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5569
5579
|
},
|
|
5570
|
-
...
|
|
5580
|
+
...y,
|
|
5571
5581
|
children: r
|
|
5572
5582
|
}
|
|
5573
5583
|
);
|
|
@@ -5592,9 +5602,9 @@ export {
|
|
|
5592
5602
|
_t as b,
|
|
5593
5603
|
Pe as c,
|
|
5594
5604
|
w as d,
|
|
5595
|
-
|
|
5605
|
+
ve as e,
|
|
5596
5606
|
It as f,
|
|
5597
|
-
|
|
5607
|
+
ye as g,
|
|
5598
5608
|
L as h,
|
|
5599
5609
|
Ae as i,
|
|
5600
5610
|
Ee as j,
|
|
@@ -5612,6 +5622,6 @@ export {
|
|
|
5612
5622
|
fe as v,
|
|
5613
5623
|
P as w,
|
|
5614
5624
|
Tt as x,
|
|
5615
|
-
|
|
5616
|
-
|
|
5625
|
+
vt as y,
|
|
5626
|
+
yt as z
|
|
5617
5627
|
};
|
|
@@ -8,7 +8,7 @@ import hn from "@mui/material/Select";
|
|
|
8
8
|
import { styled as l, useTheme as bn, getContrastRatio as ke } from "@mui/material/styles";
|
|
9
9
|
import { visuallyHidden as fe } from "@mui/utils";
|
|
10
10
|
import { useIntl as P } from "react-intl";
|
|
11
|
-
import { a as A, p as o, h as D, d as Z, D as K, e as yn, t as De, s as de, g as oe, i as te, M as Pe, c as He, j as vn, B as wn } from "./Surface-
|
|
11
|
+
import { a as A, p as o, h as D, d as Z, D as K, e as yn, t as De, s as de, g as oe, i as te, M as Pe, c as He, j as vn, B as wn } from "./Surface-z5TuQzlh.js";
|
|
12
12
|
import { i as xn, b as Cn, r as kn, u as Sn, A as In, E as Fn } from "./index-C27b790L.js";
|
|
13
13
|
import X from "@mui/material/Button";
|
|
14
14
|
import { byteSizeIEC as Mn } from "@abyss-project/main";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { DeliveryHistoryProps } from './deliveries.types';
|
|
3
3
|
/**
|
|
4
|
-
* The deliveries of a scope (usually one subscription
|
|
5
|
-
*
|
|
6
|
-
* ended. Data and actions come through
|
|
4
|
+
* The deliveries of a scope (usually one subscription, named under the title by its URL and its
|
|
5
|
+
* events): a paginated list with a status filter, a detail drawer (event data, headers sent,
|
|
6
|
+
* response, timeline) and a replay of the deliveries that ended. Data and actions come through
|
|
7
|
+
* props.
|
|
7
8
|
*/
|
|
8
9
|
export declare const DeliveryHistory: FC<DeliveryHistoryProps>;
|
|
@@ -16,8 +16,9 @@ interface DeliverySubscriptionFormProps {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* The body of the create and edit drawer. It lives inside the drawer so that closing it drops the
|
|
19
|
-
* typed values. The source is chosen at creation and cannot change after
|
|
20
|
-
* only ones offered, and the body format only
|
|
19
|
+
* typed values. The source is chosen at creation and cannot change after (no choice is drawn when
|
|
20
|
+
* the host offers one source); its event types are the only ones offered, and the body format only
|
|
21
|
+
* exists for a Form subscription.
|
|
21
22
|
*/
|
|
22
23
|
export declare function DeliverySubscriptionForm({ subscription, sources, eventTypesBySource, onSubmit, onCancel, }: DeliverySubscriptionFormProps): import("react/jsx-runtime").JSX.Element;
|
|
23
24
|
export {};
|
|
@@ -15,6 +15,17 @@ export declare const JSON_FORMAT: DeliveryFormat;
|
|
|
15
15
|
export declare const DISCORD_FORMAT: DeliveryFormat;
|
|
16
16
|
/** Rows asked per page of every list. */
|
|
17
17
|
export declare const DELIVERIES_PAGE_SIZE = 20;
|
|
18
|
+
/** The characters of a URL kept whole at its end when it is cut in the middle. */
|
|
19
|
+
export declare const URL_TAIL_LENGTH = 18;
|
|
20
|
+
/**
|
|
21
|
+
* A URL in two parts for an ellipsis in the middle: the head may be cut, the tail (the end of the
|
|
22
|
+
* path, where two URLs of one host differ) always shows. A URL short enough to never be cut in a
|
|
23
|
+
* way that hides its tail has no tail.
|
|
24
|
+
*/
|
|
25
|
+
export declare const splitUrlForMiddleEllipsis: (url: string) => {
|
|
26
|
+
head: string;
|
|
27
|
+
tail: string;
|
|
28
|
+
};
|
|
18
29
|
/** The badge tone of an execution state: `domainTokens.executionState` is made of `status.*`. */
|
|
19
30
|
export declare const executionStateTone: (state: ExecutionState) => StatusTone;
|
|
20
31
|
export declare const deliveryStatusTone: (status: DeliveryStatus) => StatusTone;
|
|
@@ -37,8 +37,11 @@ export interface DeliverySubscriptionsProps {
|
|
|
37
37
|
remove(id: string): Promise<void>;
|
|
38
38
|
resetSecret(id: string): Promise<DeliverySubscriptionWithSecret>;
|
|
39
39
|
onOpenHistory(subscription: IDeliverySubscription): void;
|
|
40
|
-
/**
|
|
41
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Where « Ouvrir dans Flow » leads: a Flow page that shows the same data. Without it, no link is
|
|
42
|
+
* drawn.
|
|
43
|
+
*/
|
|
44
|
+
flowUrl?: string;
|
|
42
45
|
permissions: DeliverySubscriptionPermissions;
|
|
43
46
|
}
|
|
44
47
|
export interface DeliveryHistoryProps {
|
|
@@ -47,8 +50,13 @@ export interface DeliveryHistoryProps {
|
|
|
47
50
|
/** A replay is a new attempt with the same delivery id. */
|
|
48
51
|
replayDelivery(id: string): Promise<void>;
|
|
49
52
|
canReplay: boolean;
|
|
50
|
-
/**
|
|
51
|
-
|
|
53
|
+
/**
|
|
54
|
+
* The subscription whose deliveries are listed: its full URL and its events head the screen.
|
|
55
|
+
* Without it, the header names no subscription.
|
|
56
|
+
*/
|
|
57
|
+
getSubscription?(): Promise<IDeliverySubscription>;
|
|
58
|
+
/** Where « Ouvrir dans Flow » leads; without it, no link is drawn. */
|
|
59
|
+
flowUrl?: string;
|
|
52
60
|
}
|
|
53
61
|
export interface ScheduledTasksProps {
|
|
54
62
|
list(params: IPaginateScheduledTaskQuery): Promise<BasePaginate<IScheduledTask>>;
|
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-DUoKKRMZ.js";
|
|
2
|
+
import { f as p } from "./Surface-z5TuQzlh.js";
|
|
3
3
|
export {
|
|
4
4
|
o as AbyssCookieConsentProvider,
|
|
5
5
|
a as CONSENT_VALIDITY_DAYS,
|
|
@@ -2,7 +2,7 @@ import { B as Mt, C as DW, D as PW, F as KW, f as WW, m as af, n as b3, G as BW,
|
|
|
2
2
|
import { W as JW, r as zW, C as ZW } from "./index-D7cgykJH.js";
|
|
3
3
|
import * as ga from "react";
|
|
4
4
|
import PT, { useRef as gt, useEffect as xr, useState as Pr, useCallback as xe, useMemo as Ye, useLayoutEffect as fE, createContext as no, forwardRef as ms, createElement as Tr, useContext as ji, memo as Kt, cloneElement as $W, Component as dE, Fragment as t2, isValidElement as eB } from "react";
|
|
5
|
-
import { u as tB, T as qc, v as rB, H as hE, l as gE, r as pE, q as vE, y as mE, z as bE, J as nB, K as iB, I as aB, o as oB } from "./Surface-
|
|
5
|
+
import { u as tB, T as qc, v as rB, H as hE, l as gE, r as pE, q as vE, y as mE, z as bE, J as nB, K as iB, I as aB, o as oB } from "./Surface-z5TuQzlh.js";
|
|
6
6
|
import KT from "@mui/icons-material/InsertDriveFile";
|
|
7
7
|
import sB from "@mui/icons-material/Image";
|
|
8
8
|
import uB from "@mui/icons-material/PictureAsPdf";
|
|
@@ -9,14 +9,14 @@ import { c as fn } from "./clsx-OuTLNxxd.js";
|
|
|
9
9
|
import { c as cO, d as gc, e as HG, f as Hz, g as aO, h as Pz, j as oO, k as rO, l as UO, m as hO, n as Az, o as FO, p as ZO, q as PG, s as uO, t as mO, v as VO, w as QO, x as AG, y as WO, z as pO, S as NO, B as RO } from "./index-C27b790L.js";
|
|
10
10
|
import { styled as Rt, useTheme as bO } from "@mui/material/styles";
|
|
11
11
|
import { useIntl as gl } from "react-intl";
|
|
12
|
-
import { s as NU, d as ys, D as ds, p as E, h as El, M as Zo, c as uo, a as _d, b as MO, t as bu, i as Z0, g as vo, m as RF, e as PW, j as SO, u as TO } from "./Surface-
|
|
12
|
+
import { s as NU, d as ys, D as ds, p as E, h as El, M as Zo, c as uo, a as _d, b as MO, t as bu, i as Z0, g as vo, m as RF, e as PW, j as SO, u as TO } from "./Surface-z5TuQzlh.js";
|
|
13
13
|
import Vl from "@mui/material/Button";
|
|
14
14
|
import LM from "@mui/material/Checkbox";
|
|
15
15
|
import zQ from "@mui/material/CircularProgress";
|
|
16
16
|
import mo from "@mui/material/FormControlLabel";
|
|
17
17
|
import WV from "@mui/material/OutlinedInput";
|
|
18
18
|
import DM from "@mui/material/Switch";
|
|
19
|
-
import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-
|
|
19
|
+
import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-C4K0mLME.js";
|
|
20
20
|
import { PDFDocument as Ka, PDFTextField as qz, PDFCheckBox as $z, PDFDropdown as t9, PDFRadioGroup as e9, PDFOptionList as kO, degrees as Ib, StandardFonts as SN, BlendMode as zO, rgb as LO } from "pdf-lib";
|
|
21
21
|
import * as _G from "pdfjs-dist";
|
|
22
22
|
import DO from "@mui/icons-material/OpenInNew";
|
|
@@ -14225,7 +14225,7 @@ function Ut(l) {
|
|
|
14225
14225
|
return new CH(oS.define(l));
|
|
14226
14226
|
}
|
|
14227
14227
|
function ra(l) {
|
|
14228
|
-
return import("./index-
|
|
14228
|
+
return import("./index-Bw4XnSa0.js").then((t) => t.sql({ dialect: t[l] }));
|
|
14229
14229
|
}
|
|
14230
14230
|
const Y7 = [
|
|
14231
14231
|
// New-style language modes
|
|
@@ -14233,7 +14233,7 @@ const Y7 = [
|
|
|
14233
14233
|
name: "C",
|
|
14234
14234
|
extensions: ["c", "h", "ino"],
|
|
14235
14235
|
load() {
|
|
14236
|
-
return import("./index-
|
|
14236
|
+
return import("./index-CRFGogWn.js").then((l) => l.cpp());
|
|
14237
14237
|
}
|
|
14238
14238
|
}),
|
|
14239
14239
|
/* @__PURE__ */ A.of({
|
|
@@ -14241,7 +14241,7 @@ const Y7 = [
|
|
|
14241
14241
|
alias: ["cpp"],
|
|
14242
14242
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
14243
14243
|
load() {
|
|
14244
|
-
return import("./index-
|
|
14244
|
+
return import("./index-CRFGogWn.js").then((l) => l.cpp());
|
|
14245
14245
|
}
|
|
14246
14246
|
}),
|
|
14247
14247
|
/* @__PURE__ */ A.of({
|
|
@@ -14256,14 +14256,14 @@ const Y7 = [
|
|
|
14256
14256
|
name: "CSS",
|
|
14257
14257
|
extensions: ["css"],
|
|
14258
14258
|
load() {
|
|
14259
|
-
return import("./index-
|
|
14259
|
+
return import("./index-BKRudpMw.js").then((l) => l.css());
|
|
14260
14260
|
}
|
|
14261
14261
|
}),
|
|
14262
14262
|
/* @__PURE__ */ A.of({
|
|
14263
14263
|
name: "Go",
|
|
14264
14264
|
extensions: ["go"],
|
|
14265
14265
|
load() {
|
|
14266
|
-
return import("./index-
|
|
14266
|
+
return import("./index-2lNOK7eK.js").then((l) => l.go());
|
|
14267
14267
|
}
|
|
14268
14268
|
}),
|
|
14269
14269
|
/* @__PURE__ */ A.of({
|
|
@@ -14271,14 +14271,14 @@ const Y7 = [
|
|
|
14271
14271
|
alias: ["xhtml"],
|
|
14272
14272
|
extensions: ["html", "htm", "handlebars", "hbs"],
|
|
14273
14273
|
load() {
|
|
14274
|
-
return import("./index-
|
|
14274
|
+
return import("./index-z5ZOXlY8.js").then((l) => l.html());
|
|
14275
14275
|
}
|
|
14276
14276
|
}),
|
|
14277
14277
|
/* @__PURE__ */ A.of({
|
|
14278
14278
|
name: "Java",
|
|
14279
14279
|
extensions: ["java"],
|
|
14280
14280
|
load() {
|
|
14281
|
-
return import("./index-
|
|
14281
|
+
return import("./index-BcO-JFrs.js").then((l) => l.java());
|
|
14282
14282
|
}
|
|
14283
14283
|
}),
|
|
14284
14284
|
/* @__PURE__ */ A.of({
|
|
@@ -14286,7 +14286,7 @@ const Y7 = [
|
|
|
14286
14286
|
alias: ["ecmascript", "js", "node"],
|
|
14287
14287
|
extensions: ["js", "mjs", "cjs"],
|
|
14288
14288
|
load() {
|
|
14289
|
-
return import("./index-
|
|
14289
|
+
return import("./index-CWD0waD8.js").then((l) => l.javascript());
|
|
14290
14290
|
}
|
|
14291
14291
|
}),
|
|
14292
14292
|
/* @__PURE__ */ A.of({
|
|
@@ -14294,28 +14294,28 @@ const Y7 = [
|
|
|
14294
14294
|
alias: ["json5"],
|
|
14295
14295
|
extensions: ["json", "map"],
|
|
14296
14296
|
load() {
|
|
14297
|
-
return import("./index-
|
|
14297
|
+
return import("./index-CtVoDSIn.js").then((l) => l.json());
|
|
14298
14298
|
}
|
|
14299
14299
|
}),
|
|
14300
14300
|
/* @__PURE__ */ A.of({
|
|
14301
14301
|
name: "JSX",
|
|
14302
14302
|
extensions: ["jsx"],
|
|
14303
14303
|
load() {
|
|
14304
|
-
return import("./index-
|
|
14304
|
+
return import("./index-CWD0waD8.js").then((l) => l.javascript({ jsx: !0 }));
|
|
14305
14305
|
}
|
|
14306
14306
|
}),
|
|
14307
14307
|
/* @__PURE__ */ A.of({
|
|
14308
14308
|
name: "LESS",
|
|
14309
14309
|
extensions: ["less"],
|
|
14310
14310
|
load() {
|
|
14311
|
-
return import("./index-
|
|
14311
|
+
return import("./index-Ckzmgx9X.js").then((l) => l.less());
|
|
14312
14312
|
}
|
|
14313
14313
|
}),
|
|
14314
14314
|
/* @__PURE__ */ A.of({
|
|
14315
14315
|
name: "Liquid",
|
|
14316
14316
|
extensions: ["liquid"],
|
|
14317
14317
|
load() {
|
|
14318
|
-
return import("./index-
|
|
14318
|
+
return import("./index-CYBvIQsH.js").then((l) => l.liquid());
|
|
14319
14319
|
}
|
|
14320
14320
|
}),
|
|
14321
14321
|
/* @__PURE__ */ A.of({
|
|
@@ -14328,7 +14328,7 @@ const Y7 = [
|
|
|
14328
14328
|
name: "Markdown",
|
|
14329
14329
|
extensions: ["md", "markdown", "mkd"],
|
|
14330
14330
|
load() {
|
|
14331
|
-
return import("./index-
|
|
14331
|
+
return import("./index-CtkfWhK1.js").then((l) => l.markdown());
|
|
14332
14332
|
}
|
|
14333
14333
|
}),
|
|
14334
14334
|
/* @__PURE__ */ A.of({
|
|
@@ -14347,7 +14347,7 @@ const Y7 = [
|
|
|
14347
14347
|
name: "PHP",
|
|
14348
14348
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
14349
14349
|
load() {
|
|
14350
|
-
return import("./index-
|
|
14350
|
+
return import("./index-BaL2x2GW.js").then((l) => l.php());
|
|
14351
14351
|
}
|
|
14352
14352
|
}),
|
|
14353
14353
|
/* @__PURE__ */ A.of({
|
|
@@ -14368,28 +14368,28 @@ const Y7 = [
|
|
|
14368
14368
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
14369
14369
|
filename: /^(BUCK|BUILD)$/,
|
|
14370
14370
|
load() {
|
|
14371
|
-
return import("./index-
|
|
14371
|
+
return import("./index-B76nCWpd.js").then((l) => l.python());
|
|
14372
14372
|
}
|
|
14373
14373
|
}),
|
|
14374
14374
|
/* @__PURE__ */ A.of({
|
|
14375
14375
|
name: "Rust",
|
|
14376
14376
|
extensions: ["rs"],
|
|
14377
14377
|
load() {
|
|
14378
|
-
return import("./index-
|
|
14378
|
+
return import("./index-Dqm1dC1j.js").then((l) => l.rust());
|
|
14379
14379
|
}
|
|
14380
14380
|
}),
|
|
14381
14381
|
/* @__PURE__ */ A.of({
|
|
14382
14382
|
name: "Sass",
|
|
14383
14383
|
extensions: ["sass"],
|
|
14384
14384
|
load() {
|
|
14385
|
-
return import("./index-
|
|
14385
|
+
return import("./index-CUhMNEUo.js").then((l) => l.sass({ indented: !0 }));
|
|
14386
14386
|
}
|
|
14387
14387
|
}),
|
|
14388
14388
|
/* @__PURE__ */ A.of({
|
|
14389
14389
|
name: "SCSS",
|
|
14390
14390
|
extensions: ["scss"],
|
|
14391
14391
|
load() {
|
|
14392
|
-
return import("./index-
|
|
14392
|
+
return import("./index-CUhMNEUo.js").then((l) => l.sass());
|
|
14393
14393
|
}
|
|
14394
14394
|
}),
|
|
14395
14395
|
/* @__PURE__ */ A.of({
|
|
@@ -14409,7 +14409,7 @@ const Y7 = [
|
|
|
14409
14409
|
name: "TSX",
|
|
14410
14410
|
extensions: ["tsx"],
|
|
14411
14411
|
load() {
|
|
14412
|
-
return import("./index-
|
|
14412
|
+
return import("./index-CWD0waD8.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
|
|
14413
14413
|
}
|
|
14414
14414
|
}),
|
|
14415
14415
|
/* @__PURE__ */ A.of({
|
|
@@ -14417,14 +14417,14 @@ const Y7 = [
|
|
|
14417
14417
|
alias: ["ts"],
|
|
14418
14418
|
extensions: ["ts", "mts", "cts"],
|
|
14419
14419
|
load() {
|
|
14420
|
-
return import("./index-
|
|
14420
|
+
return import("./index-CWD0waD8.js").then((l) => l.javascript({ typescript: !0 }));
|
|
14421
14421
|
}
|
|
14422
14422
|
}),
|
|
14423
14423
|
/* @__PURE__ */ A.of({
|
|
14424
14424
|
name: "WebAssembly",
|
|
14425
14425
|
extensions: ["wat", "wast"],
|
|
14426
14426
|
load() {
|
|
14427
|
-
return import("./index-
|
|
14427
|
+
return import("./index-DRtBc440.js").then((l) => l.wast());
|
|
14428
14428
|
}
|
|
14429
14429
|
}),
|
|
14430
14430
|
/* @__PURE__ */ A.of({
|
|
@@ -14432,7 +14432,7 @@ const Y7 = [
|
|
|
14432
14432
|
alias: ["rss", "wsdl", "xsd"],
|
|
14433
14433
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
14434
14434
|
load() {
|
|
14435
|
-
return import("./index-
|
|
14435
|
+
return import("./index-CrZZo4r1.js").then((l) => l.xml());
|
|
14436
14436
|
}
|
|
14437
14437
|
}),
|
|
14438
14438
|
/* @__PURE__ */ A.of({
|
|
@@ -14440,7 +14440,7 @@ const Y7 = [
|
|
|
14440
14440
|
alias: ["yml"],
|
|
14441
14441
|
extensions: ["yaml", "yml"],
|
|
14442
14442
|
load() {
|
|
14443
|
-
return import("./index-
|
|
14443
|
+
return import("./index-BlOP01yA.js").then((l) => l.yaml());
|
|
14444
14444
|
}
|
|
14445
14445
|
}),
|
|
14446
14446
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -15236,13 +15236,13 @@ const Y7 = [
|
|
|
15236
15236
|
name: "Vue",
|
|
15237
15237
|
extensions: ["vue"],
|
|
15238
15238
|
load() {
|
|
15239
|
-
return import("./index-
|
|
15239
|
+
return import("./index-Ckzcg8qD.js").then((l) => l.vue());
|
|
15240
15240
|
}
|
|
15241
15241
|
}),
|
|
15242
15242
|
/* @__PURE__ */ A.of({
|
|
15243
15243
|
name: "Angular Template",
|
|
15244
15244
|
load() {
|
|
15245
|
-
return import("./index-
|
|
15245
|
+
return import("./index-CQ7z2zKY.js").then((l) => l.angular());
|
|
15246
15246
|
}
|
|
15247
15247
|
})
|
|
15248
15248
|
], k7 = "#e5c07b", G5 = "#e06c75", z7 = "#56b6c2", L7 = "#ffffff", kV = "#abb2bf", D2 = "#7d8799", D7 = "#61afef", f7 = "#98c379", y5 = "#d19a66", w7 = "#c678dd", I7 = "#21252b", B5 = "#2c313a", X5 = "#282c34", HN = "#353a42", x7 = "#3E4451", Y5 = "#528bff", C7 = /* @__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-Eb3PHnxn.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CodeEditor,
|
|
4
4
|
s as ExpressionCodeEditor,
|
|
@@ -1428,6 +1428,11 @@ export declare const translations: {
|
|
|
1428
1428
|
'empty-desc': string;
|
|
1429
1429
|
'status-filter': string;
|
|
1430
1430
|
'all-statuses': string;
|
|
1431
|
+
subscription: {
|
|
1432
|
+
url: string;
|
|
1433
|
+
events: string;
|
|
1434
|
+
'load-failed': string;
|
|
1435
|
+
};
|
|
1431
1436
|
column: {
|
|
1432
1437
|
status: string;
|
|
1433
1438
|
event: string;
|
|
@@ -1441,7 +1446,7 @@ export declare const translations: {
|
|
|
1441
1446
|
title: string;
|
|
1442
1447
|
'load-failed': string;
|
|
1443
1448
|
'delivery-id': string;
|
|
1444
|
-
'
|
|
1449
|
+
'event-data': string;
|
|
1445
1450
|
headers: string;
|
|
1446
1451
|
response: string;
|
|
1447
1452
|
'response-code': string;
|
|
@@ -4309,6 +4314,11 @@ export declare const translations: {
|
|
|
4309
4314
|
'empty-desc': string;
|
|
4310
4315
|
'status-filter': string;
|
|
4311
4316
|
'all-statuses': string;
|
|
4317
|
+
subscription: {
|
|
4318
|
+
url: string;
|
|
4319
|
+
events: string;
|
|
4320
|
+
'load-failed': string;
|
|
4321
|
+
};
|
|
4312
4322
|
column: {
|
|
4313
4323
|
status: string;
|
|
4314
4324
|
event: string;
|
|
@@ -4322,7 +4332,7 @@ export declare const translations: {
|
|
|
4322
4332
|
title: string;
|
|
4323
4333
|
'load-failed': string;
|
|
4324
4334
|
'delivery-id': string;
|
|
4325
|
-
'
|
|
4335
|
+
'event-data': string;
|
|
4326
4336
|
headers: string;
|
|
4327
4337
|
response: string;
|
|
4328
4338
|
'response-code': string;
|