@abyss-project/commons-front-core 20.4.0 → 20.5.1

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/catalog/pages/DeliveryHistory.tsx +142 -142
  3. package/catalog/specs/captures.spec.ts +156 -156
  4. package/catalog/specs/write-capture-index.ts +82 -82
  5. package/dist/{CookieConsentSettings-JQqB3ZoC.js → CookieConsentSettings-BGIHx7eH.js} +1 -1
  6. package/dist/{Surface-rKrLIx9x.js → Surface-B74cXq1M.js} +3 -1
  7. package/dist/{Tabs-C3ZY5xT8.js → Tabs-nH2IBqqa.js} +1 -1
  8. package/dist/components/business/Deliveries/deliveries.types.d.ts +27 -0
  9. package/dist/cookie-consent.js +2 -2
  10. package/dist/{design-theme-CeGUipuM.js → design-theme-DtU1zQos.js} +1 -1
  11. package/dist/{editors-DNQ00p6Y.js → editors-s-GER37R.js} +27 -27
  12. package/dist/editors.js +1 -1
  13. package/dist/hooks/use-rich-intl.hook.d.ts +18 -0
  14. package/dist/{index-BQUxvLoP.js → index-1n03jgsr.js} +3 -3
  15. package/dist/{index-On5L36UF.js → index-8L4OftHM.js} +2 -2
  16. package/dist/{index-CHy_RxpP.js → index-B-oGxRVH.js} +2 -2
  17. package/dist/{index-CzCDSQiD.js → index-B635dFQ2.js} +2 -2
  18. package/dist/{index-BXfdxGL2.js → index-BZgkwoZ5.js} +2 -2
  19. package/dist/{index-CQ9U6YlK.js → index-B_fqzhtm.js} +3 -3
  20. package/dist/{index-DAVJlVe-.js → index-Bn9RgQrP.js} +2 -2
  21. package/dist/{index-qGV3av53.js → index-BxlF9T05.js} +2 -2
  22. package/dist/{index-DWnlMFqj.js → index-CE-4v9ue.js} +3 -3
  23. package/dist/{index-2mUgohFa.js → index-CO6rjqWZ.js} +4 -4
  24. package/dist/{index-ehhIl57c.js → index-CVN6HOlq.js} +2 -2
  25. package/dist/{index-DpR-QTUA.js → index-CXEf_Hel.js} +4 -4
  26. package/dist/{index-DgiI-dK3.js → index-D4kZ3Yip.js} +2 -2
  27. package/dist/{index-a47WpMOx.js → index-D9IW7UEw.js} +2 -2
  28. package/dist/{index-DQtcZD9Y.js → index-DctO0l5q.js} +1 -1
  29. package/dist/{index-BQlO5Fp0.js → index-Dka20zad.js} +2 -2
  30. package/dist/{index-GvBY_FDT.js → index-DoWxAfPn.js} +4 -4
  31. package/dist/{index-CJnZcgwL.js → index-NX_Kd4oz.js} +3 -3
  32. package/dist/{index-CIpdjZHz.js → index-YkgGwyfx.js} +2 -2
  33. package/dist/{index-7lQ_E_am.js → index-genxamHw.js} +2 -2
  34. package/dist/{index-8lBj2Ffk.js → index-yqn8Hbay.js} +2 -2
  35. package/dist/index.js +7211 -7189
  36. package/dist/legacy.js +6 -6
  37. package/dist/translations/en.d.ts +1 -0
  38. package/dist/translations/fr.d.ts +1 -0
  39. package/package.json +1 -1
  40. package/test-results/catalog/.last-run.json +0 -4
@@ -1,82 +1,82 @@
1
- import { existsSync, mkdirSync, writeFileSync } from 'fs';
2
- import { resolve } from 'path';
3
- import { CAPTURES, CAPTURES_DIR } from '../captures-plan';
4
- import type { Capture, CaptureState } from '../captures-plan';
5
- import type { CatalogFamily } from '../catalog-entries';
6
-
7
- // Global teardown of the catalog run: writes `index.md` next to the screenshots, from the capture
8
- // plan, listing only the files present on disk.
9
-
10
- const FAMILY_TITLES: Record<CatalogFamily, string> = {
11
- scenes: 'Scènes composées (à regarder en premier)',
12
- structure: 'Structure',
13
- mobile: 'Mobile',
14
- states: 'États',
15
- data: 'Données',
16
- meaning: 'Sens',
17
- business: 'Métier',
18
- layers: 'Couches',
19
- navigation: 'Navigation',
20
- inputs: 'Saisie',
21
- };
22
-
23
- const STATE_LABEL: Record<CaptureState, string> = {
24
- arrival: '',
25
- 'sheet-open': ', feuille ouverte',
26
- 'list-open': ', liste ouverte',
27
- 'calendar-open': ', calendrier ouvert',
28
- 'panel-open': ', panneau ouvert',
29
- 'menu-open': ', menu ouvert',
30
- 'settings-open': ', réglages ouverts',
31
- 'form-open': ', formulaire ouvert',
32
- 'secret-shown': ', secret affiché une fois',
33
- 'delete-confirm': ', confirmation de suppression',
34
- 'detail-open': ', détail ouvert',
35
- 'runs-open': ', exécutions ouvertes',
36
- 'run-detail-open': ', détail d’une exécution ouvert',
37
- };
38
-
39
- const describe = (capture: Capture): string =>
40
- `${capture.theme === 'dark' ? 'sombre' : 'clair'}, ${capture.width} px${
41
- STATE_LABEL[capture.state]
42
- }`;
43
-
44
- const writeCaptureIndex = (): void => {
45
- mkdirSync(CAPTURES_DIR, { recursive: true });
46
- const present = CAPTURES.filter((capture) =>
47
- existsSync(resolve(CAPTURES_DIR, capture.file)),
48
- );
49
- const families = Object.keys(FAMILY_TITLES) as CatalogFamily[];
50
- const sections = families
51
- .map((family) => {
52
- const lines = present
53
- .filter((capture) => capture.entry.family === family)
54
- .map(
55
- (capture) =>
56
- `- \`${capture.file}\` : ${capture.entry.name}, ${describe(
57
- capture,
58
- )}`,
59
- );
60
- return lines.length === 0
61
- ? ''
62
- : `## ${FAMILY_TITLES[family]}\n\n${lines.join('\n')}\n`;
63
- })
64
- .filter((section) => section !== '');
65
- const missing = CAPTURES.length - present.length;
66
- const content = [
67
- '# Captures du catalogue du core (#286)',
68
- '',
69
- 'Produites par `pnpm --filter @abyss-project/commons-front-core catalog:test` (`catalog/specs/captures.spec.ts`).',
70
- 'Chaque composant en clair et en sombre à 1440 px ; à 390 px aussi ceux qui changent de forme sous 768 px ;',
71
- 'le shell et la scène bureau aussi à 768 px (rail d’icônes).',
72
- '',
73
- `${present.length} fichiers${
74
- missing > 0 ? `, ${missing} manquants (lancement partiel)` : ''
75
- }.`,
76
- '',
77
- ...sections,
78
- ].join('\n');
79
- writeFileSync(resolve(CAPTURES_DIR, 'index.md'), content);
80
- };
81
-
82
- export default writeCaptureIndex;
1
+ import { existsSync, mkdirSync, writeFileSync } from 'fs';
2
+ import { resolve } from 'path';
3
+ import { CAPTURES, CAPTURES_DIR } from '../captures-plan';
4
+ import type { Capture, CaptureState } from '../captures-plan';
5
+ import type { CatalogFamily } from '../catalog-entries';
6
+
7
+ // Global teardown of the catalog run: writes `index.md` next to the screenshots, from the capture
8
+ // plan, listing only the files present on disk.
9
+
10
+ const FAMILY_TITLES: Record<CatalogFamily, string> = {
11
+ scenes: 'Scènes composées (à regarder en premier)',
12
+ structure: 'Structure',
13
+ mobile: 'Mobile',
14
+ states: 'États',
15
+ data: 'Données',
16
+ meaning: 'Sens',
17
+ business: 'Métier',
18
+ layers: 'Couches',
19
+ navigation: 'Navigation',
20
+ inputs: 'Saisie',
21
+ };
22
+
23
+ const STATE_LABEL: Record<CaptureState, string> = {
24
+ arrival: '',
25
+ 'sheet-open': ', feuille ouverte',
26
+ 'list-open': ', liste ouverte',
27
+ 'calendar-open': ', calendrier ouvert',
28
+ 'panel-open': ', panneau ouvert',
29
+ 'menu-open': ', menu ouvert',
30
+ 'settings-open': ', réglages ouverts',
31
+ 'form-open': ', formulaire ouvert',
32
+ 'secret-shown': ', secret affiché une fois',
33
+ 'delete-confirm': ', confirmation de suppression',
34
+ 'detail-open': ', détail ouvert',
35
+ 'runs-open': ', exécutions ouvertes',
36
+ 'run-detail-open': ', détail d’une exécution ouvert',
37
+ };
38
+
39
+ const describe = (capture: Capture): string =>
40
+ `${capture.theme === 'dark' ? 'sombre' : 'clair'}, ${capture.width} px${
41
+ STATE_LABEL[capture.state]
42
+ }`;
43
+
44
+ const writeCaptureIndex = (): void => {
45
+ mkdirSync(CAPTURES_DIR, { recursive: true });
46
+ const present = CAPTURES.filter((capture) =>
47
+ existsSync(resolve(CAPTURES_DIR, capture.file)),
48
+ );
49
+ const families = Object.keys(FAMILY_TITLES) as CatalogFamily[];
50
+ const sections = families
51
+ .map((family) => {
52
+ const lines = present
53
+ .filter((capture) => capture.entry.family === family)
54
+ .map(
55
+ (capture) =>
56
+ `- \`${capture.file}\` : ${capture.entry.name}, ${describe(
57
+ capture,
58
+ )}`,
59
+ );
60
+ return lines.length === 0
61
+ ? ''
62
+ : `## ${FAMILY_TITLES[family]}\n\n${lines.join('\n')}\n`;
63
+ })
64
+ .filter((section) => section !== '');
65
+ const missing = CAPTURES.length - present.length;
66
+ const content = [
67
+ '# Captures du catalogue du core (#286)',
68
+ '',
69
+ 'Produites par `pnpm --filter @abyss-project/commons-front-core catalog:test` (`catalog/specs/captures.spec.ts`).',
70
+ 'Chaque composant en clair et en sombre à 1440 px ; à 390 px aussi ceux qui changent de forme sous 768 px ;',
71
+ 'le shell et la scène bureau aussi à 768 px (rail d’icônes).',
72
+ '',
73
+ `${present.length} fichiers${
74
+ missing > 0 ? `, ${missing} manquants (lancement partiel)` : ''
75
+ }.`,
76
+ '',
77
+ ...sections,
78
+ ].join('\n');
79
+ writeFileSync(resolve(CAPTURES_DIR, 'index.md'), content);
80
+ };
81
+
82
+ export default writeCaptureIndex;
@@ -3,7 +3,7 @@ import { useState as v, useCallback as b, useEffect as R, useLayoutEffect as ae,
3
3
  import x from "@mui/material/Button";
4
4
  import ee from "@mui/material/Switch";
5
5
  import { styled as m } from "@mui/material/styles";
6
- import { T as j, t as I, w as M, p as f, d as N, D as V, S as O, a as z, u as E, M as C, b as te, h as de, c as ue, e as fe } from "./Surface-rKrLIx9x.js";
6
+ import { T as j, t as I, w as M, p as f, d as N, D as V, S as O, a as z, u as E, M as C, b as te, h as de, c as ue, e as fe } from "./Surface-B74cXq1M.js";
7
7
  import { useQuery as pe, useMutation as me } from "@tanstack/react-query";
8
8
  import { AbyssCore as F } from "@abyss-project/main";
9
9
  import { createPortal as ye } from "react-dom";
@@ -1787,6 +1787,7 @@ const He = {
1787
1787
  "last-30-days": "30 derniers jours"
1788
1788
  },
1789
1789
  "request-id": "Identifiant de requête",
1790
+ "request-id-placeholder": "UUID, 36 caractères",
1790
1791
  "request-id-invalid": "Saisissez l’identifiant complet, tel qu’envoyé dans l’en-tête x-request-id.",
1791
1792
  outcome: "Résultat",
1792
1793
  "outcome-option": {
@@ -2795,7 +2796,7 @@ const He = {
2795
2796
  pending: "Analyse en attente",
2796
2797
  clean: "Sain",
2797
2798
  infected: "Infecté",
2798
- error: "Analyse en erreur",
2799
+ error: "Analyse impossible",
2799
2800
  skipped: "Non analysé"
2800
2801
  }
2801
2802
  },
@@ -4388,6 +4389,7 @@ const He = {
4388
4389
  "last-30-days": "Last 30 days"
4389
4390
  },
4390
4391
  "request-id": "Request id",
4392
+ "request-id-placeholder": "UUID, 36 characters",
4391
4393
  "request-id-invalid": "Enter the whole id, as sent in the x-request-id header.",
4392
4394
  outcome: "Outcome",
4393
4395
  "outcome-option": {
@@ -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, g as yn, t as De, s as de, i as oe, j as te, c as Pe, e as He, k as vn, B as wn } from "./Surface-rKrLIx9x.js";
11
+ import { a as A, p as o, h as D, d as Z, D as K, g as yn, t as De, s as de, i as oe, j as te, c as Pe, e as He, k as vn, B as wn } from "./Surface-B74cXq1M.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 Y from "@mui/material/Button";
14
14
  import { byteSizeIEC as Wn } from "@abyss-project/main";
@@ -44,6 +44,24 @@ export interface DeliveryFiltersSlotProps {
44
44
  /** The subscription edited; `null` at creation. */
45
45
  subscription: IDeliverySubscription | null;
46
46
  }
47
+ /**
48
+ * The host's own page header, for a host that names the page itself (its title, its breadcrumb):
49
+ * the component then draws no header of its own and portals its primary action (the create
50
+ * button, drawn only with the right to create) into `actions`, an element of the host's header.
51
+ * `null` while that element is not mounted yet: the action appears once it is.
52
+ */
53
+ export interface DeliveryHostHeader {
54
+ actions: HTMLElement | null;
55
+ }
56
+ /**
57
+ * The host's own page header, for a `DeliveryHistory` whose page the host names itself: no header
58
+ * of the component's own, and the subscription it lists (`getSubscription`: its URL and its
59
+ * events) is portalled into `subtitle`, an element of the host's header. `null` while that element
60
+ * is not mounted yet.
61
+ */
62
+ export interface DeliveryHistoryHostHeader {
63
+ subtitle: HTMLElement | null;
64
+ }
47
65
  export interface DeliverySubscriptionsProps {
48
66
  /** The sources the host may subscribe to (the form offers these only). */
49
67
  sources: FlowDeliverySource[];
@@ -68,6 +86,8 @@ export interface DeliverySubscriptionsProps {
68
86
  * subscription's own.
69
87
  */
70
88
  renderFilters?(props: DeliveryFiltersSlotProps): ReactNode;
89
+ /** The host's page header that takes the place of the component's (see `DeliveryHostHeader`). */
90
+ hostHeader?: DeliveryHostHeader;
71
91
  }
72
92
  /**
73
93
  * The archive of one subscription's history, past the 30 days where a delivery keeps its body:
@@ -111,6 +131,11 @@ export interface DeliveryHistoryProps {
111
131
  getSubscription?(): Promise<IDeliverySubscription>;
112
132
  /** Where « Ouvrir dans Flow » leads; without it, no link is drawn. */
113
133
  flowUrl?: string;
134
+ /**
135
+ * The host's page header that takes the place of the component's (see
136
+ * `DeliveryHistoryHostHeader`).
137
+ */
138
+ hostHeader?: DeliveryHistoryHostHeader;
114
139
  }
115
140
  /** What the host's incident-policy editor receives, inside the create and edit drawer. */
116
141
  export interface ScheduledTaskIncidentPolicySlotProps {
@@ -164,4 +189,6 @@ export interface ScheduledTasksProps {
164
189
  * task's panel, above its runs.
165
190
  */
166
191
  renderTaskState?(task: IScheduledTask): ReactNode;
192
+ /** The host's page header that takes the place of the component's (see `DeliveryHostHeader`). */
193
+ hostHeader?: DeliveryHostHeader;
167
194
  }
@@ -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-JQqB3ZoC.js";
2
- import { f as p } from "./Surface-rKrLIx9x.js";
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-BGIHx7eH.js";
2
+ import { f as p } from "./Surface-B74cXq1M.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, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-rKrLIx9x.js";
5
+ import { u as tB, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-B74cXq1M.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 Dn } from "./clsx-OuTLNxxd.js";
9
9
  import { c as UO, d as Ca, e as PG, f as Az, g as hO, h as _z, j as FO, k as ZO, l as uO, m as mO, n as qz, o as pO, p as VO, q as AG, s as QO, t as WO, v as NO, w as bO, x as _G, y as RO, z as MO, S as SO, B as TO } from "./index-C27b790L.js";
10
10
  import { styled as bt, useTheme as JO } from "@mui/material/styles";
11
11
  import { useIntl as zl } from "react-intl";
12
- 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 GO, t as Ru, j as Z0, i as vo, o as bF, g as PQ, k as yO, u as BO } from "./Surface-rKrLIx9x.js";
12
+ 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 GO, t as Ru, j as Z0, i as vo, o as bF, g as PQ, k as yO, u as BO } from "./Surface-B74cXq1M.js";
13
13
  import pl from "@mui/material/Button";
14
14
  import fM from "@mui/material/Checkbox";
15
15
  import zV from "@mui/material/CircularProgress";
16
16
  import mo from "@mui/material/FormControlLabel";
17
17
  import Qp from "@mui/material/OutlinedInput";
18
18
  import DM from "@mui/material/Switch";
19
- import { R as wR, F as Wp, C as RF, a as MF, h as Mu, S as iZ, D as $z, k as XO, T as YO, N as wM, A as kO, d as zO, e as LO, j as fO } from "./Tabs-C3ZY5xT8.js";
19
+ import { R as wR, F as Wp, C as RF, a as MF, h as Mu, S as iZ, D as $z, k as XO, T as YO, N as wM, A as kO, d as zO, e as LO, j as fO } from "./Tabs-nH2IBqqa.js";
20
20
  import { PDFDocument as Kc, PDFTextField as t9, PDFCheckBox as e9, PDFDropdown as l9, PDFRadioGroup as n9, PDFOptionList as DO, degrees as IR, StandardFonts as SN, BlendMode as wO, rgb as IO } from "pdf-lib";
21
21
  import * as qG from "pdfjs-dist";
22
22
  import xO from "@mui/icons-material/OpenInNew";
@@ -14225,7 +14225,7 @@ function Ut(l) {
14225
14225
  return new jH(rS.define(l));
14226
14226
  }
14227
14227
  function rc(l) {
14228
- return import("./index-8lBj2Ffk.js").then((t) => t.sql({ dialect: t[l] }));
14228
+ return import("./index-yqn8Hbay.js").then((t) => t.sql({ dialect: t[l] }));
14229
14229
  }
14230
14230
  const f7 = [
14231
14231
  // New-style language modes
@@ -14233,7 +14233,7 @@ const f7 = [
14233
14233
  name: "C",
14234
14234
  extensions: ["c", "h", "ino"],
14235
14235
  load() {
14236
- return import("./index-qGV3av53.js").then((l) => l.cpp());
14236
+ return import("./index-BxlF9T05.js").then((l) => l.cpp());
14237
14237
  }
14238
14238
  }),
14239
14239
  /* @__PURE__ */ A.of({
@@ -14241,7 +14241,7 @@ const f7 = [
14241
14241
  alias: ["cpp"],
14242
14242
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
14243
14243
  load() {
14244
- return import("./index-qGV3av53.js").then((l) => l.cpp());
14244
+ return import("./index-BxlF9T05.js").then((l) => l.cpp());
14245
14245
  }
14246
14246
  }),
14247
14247
  /* @__PURE__ */ A.of({
@@ -14256,14 +14256,14 @@ const f7 = [
14256
14256
  name: "CSS",
14257
14257
  extensions: ["css"],
14258
14258
  load() {
14259
- return import("./index-DAVJlVe-.js").then((l) => l.css());
14259
+ return import("./index-Bn9RgQrP.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-BXfdxGL2.js").then((l) => l.go());
14266
+ return import("./index-BZgkwoZ5.js").then((l) => l.go());
14267
14267
  }
14268
14268
  }),
14269
14269
  /* @__PURE__ */ A.of({
@@ -14271,14 +14271,14 @@ const f7 = [
14271
14271
  alias: ["xhtml"],
14272
14272
  extensions: ["html", "htm", "handlebars", "hbs"],
14273
14273
  load() {
14274
- return import("./index-2mUgohFa.js").then((l) => l.html());
14274
+ return import("./index-CO6rjqWZ.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-ehhIl57c.js").then((l) => l.java());
14281
+ return import("./index-CVN6HOlq.js").then((l) => l.java());
14282
14282
  }
14283
14283
  }),
14284
14284
  /* @__PURE__ */ A.of({
@@ -14286,7 +14286,7 @@ const f7 = [
14286
14286
  alias: ["ecmascript", "js", "node"],
14287
14287
  extensions: ["js", "mjs", "cjs"],
14288
14288
  load() {
14289
- return import("./index-DgiI-dK3.js").then((l) => l.javascript());
14289
+ return import("./index-D4kZ3Yip.js").then((l) => l.javascript());
14290
14290
  }
14291
14291
  }),
14292
14292
  /* @__PURE__ */ A.of({
@@ -14294,28 +14294,28 @@ const f7 = [
14294
14294
  alias: ["json5"],
14295
14295
  extensions: ["json", "map"],
14296
14296
  load() {
14297
- return import("./index-On5L36UF.js").then((l) => l.json());
14297
+ return import("./index-8L4OftHM.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-DgiI-dK3.js").then((l) => l.javascript({ jsx: !0 }));
14304
+ return import("./index-D4kZ3Yip.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-DWnlMFqj.js").then((l) => l.less());
14311
+ return import("./index-CE-4v9ue.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-CQ9U6YlK.js").then((l) => l.liquid());
14318
+ return import("./index-B_fqzhtm.js").then((l) => l.liquid());
14319
14319
  }
14320
14320
  }),
14321
14321
  /* @__PURE__ */ A.of({
@@ -14328,7 +14328,7 @@ const f7 = [
14328
14328
  name: "Markdown",
14329
14329
  extensions: ["md", "markdown", "mkd"],
14330
14330
  load() {
14331
- return import("./index-BQlO5Fp0.js").then((l) => l.markdown());
14331
+ return import("./index-Dka20zad.js").then((l) => l.markdown());
14332
14332
  }
14333
14333
  }),
14334
14334
  /* @__PURE__ */ A.of({
@@ -14347,7 +14347,7 @@ const f7 = [
14347
14347
  name: "PHP",
14348
14348
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
14349
14349
  load() {
14350
- return import("./index-BQUxvLoP.js").then((l) => l.php());
14350
+ return import("./index-1n03jgsr.js").then((l) => l.php());
14351
14351
  }
14352
14352
  }),
14353
14353
  /* @__PURE__ */ A.of({
@@ -14368,28 +14368,28 @@ const f7 = [
14368
14368
  extensions: ["BUILD", "bzl", "py", "pyw"],
14369
14369
  filename: /^(BUCK|BUILD)$/,
14370
14370
  load() {
14371
- return import("./index-a47WpMOx.js").then((l) => l.python());
14371
+ return import("./index-D9IW7UEw.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-7lQ_E_am.js").then((l) => l.rust());
14378
+ return import("./index-genxamHw.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-CJnZcgwL.js").then((l) => l.sass({ indented: !0 }));
14385
+ return import("./index-NX_Kd4oz.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-CJnZcgwL.js").then((l) => l.sass());
14392
+ return import("./index-NX_Kd4oz.js").then((l) => l.sass());
14393
14393
  }
14394
14394
  }),
14395
14395
  /* @__PURE__ */ A.of({
@@ -14409,7 +14409,7 @@ const f7 = [
14409
14409
  name: "TSX",
14410
14410
  extensions: ["tsx"],
14411
14411
  load() {
14412
- return import("./index-DgiI-dK3.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
14412
+ return import("./index-D4kZ3Yip.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
14413
14413
  }
14414
14414
  }),
14415
14415
  /* @__PURE__ */ A.of({
@@ -14417,14 +14417,14 @@ const f7 = [
14417
14417
  alias: ["ts"],
14418
14418
  extensions: ["ts", "mts", "cts"],
14419
14419
  load() {
14420
- return import("./index-DgiI-dK3.js").then((l) => l.javascript({ typescript: !0 }));
14420
+ return import("./index-D4kZ3Yip.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-CIpdjZHz.js").then((l) => l.wast());
14427
+ return import("./index-YkgGwyfx.js").then((l) => l.wast());
14428
14428
  }
14429
14429
  }),
14430
14430
  /* @__PURE__ */ A.of({
@@ -14432,7 +14432,7 @@ const f7 = [
14432
14432
  alias: ["rss", "wsdl", "xsd"],
14433
14433
  extensions: ["xml", "xsl", "xsd", "svg"],
14434
14434
  load() {
14435
- return import("./index-CHy_RxpP.js").then((l) => l.xml());
14435
+ return import("./index-B-oGxRVH.js").then((l) => l.xml());
14436
14436
  }
14437
14437
  }),
14438
14438
  /* @__PURE__ */ A.of({
@@ -14440,7 +14440,7 @@ const f7 = [
14440
14440
  alias: ["yml"],
14441
14441
  extensions: ["yaml", "yml"],
14442
14442
  load() {
14443
- return import("./index-CzCDSQiD.js").then((l) => l.yaml());
14443
+ return import("./index-B635dFQ2.js").then((l) => l.yaml());
14444
14444
  }
14445
14445
  }),
14446
14446
  // Legacy modes ported from CodeMirror 5
@@ -15236,13 +15236,13 @@ const f7 = [
15236
15236
  name: "Vue",
15237
15237
  extensions: ["vue"],
15238
15238
  load() {
15239
- return import("./index-DpR-QTUA.js").then((l) => l.vue());
15239
+ return import("./index-CXEf_Hel.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-GvBY_FDT.js").then((l) => l.angular());
15245
+ return import("./index-DoWxAfPn.js").then((l) => l.angular());
15246
15246
  }
15247
15247
  })
15248
15248
  ], D7 = "#e5c07b", y5 = "#e06c75", w7 = "#56b6c2", I7 = "#ffffff", kp = "#abb2bf", f2 = "#7d8799", x7 = "#61afef", g7 = "#98c379", B5 = "#d19a66", C7 = "#c678dd", E7 = "#21252b", X5 = "#2c313a", Y5 = "#282c34", HN = "#353a42", O7 = "#3E4451", k5 = "#528bff", j7 = /* @__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-DNQ00p6Y.js";
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-s-GER37R.js";
2
2
  export {
3
3
  o as CodeEditor,
4
4
  s as ExpressionCodeEditor,
@@ -248,6 +248,14 @@ export declare const translations: {
248
248
  };
249
249
  };
250
250
  ABYSS_MONITOR: {
251
+ "cron-task-failed": {
252
+ title: string;
253
+ content: string;
254
+ };
255
+ "cron-task-disabled": {
256
+ title: string;
257
+ content: string;
258
+ };
251
259
  "monitor-sentinel-check-success": {
252
260
  title: string;
253
261
  content: string;
@@ -1678,6 +1686,7 @@ export declare const translations: {
1678
1686
  'last-30-days': string;
1679
1687
  };
1680
1688
  'request-id': string;
1689
+ 'request-id-placeholder': string;
1681
1690
  'request-id-invalid': string;
1682
1691
  outcome: string;
1683
1692
  'outcome-option': {
@@ -3354,6 +3363,14 @@ export declare const translations: {
3354
3363
  };
3355
3364
  };
3356
3365
  ABYSS_MONITOR: {
3366
+ "cron-task-failed": {
3367
+ title: string;
3368
+ content: string;
3369
+ };
3370
+ "cron-task-disabled": {
3371
+ title: string;
3372
+ content: string;
3373
+ };
3357
3374
  "monitor-sentinel-check-success": {
3358
3375
  title: string;
3359
3376
  content: string;
@@ -4766,6 +4783,7 @@ export declare const translations: {
4766
4783
  'last-30-days': string;
4767
4784
  };
4768
4785
  'request-id': string;
4786
+ 'request-id-placeholder': string;
4769
4787
  'request-id-invalid': string;
4770
4788
  outcome: string;
4771
4789
  'outcome-option': {
@@ -1,6 +1,6 @@
1
- import { L as V, E as X } from "./index-DQtcZD9Y.js";
2
- import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-DNQ00p6Y.js";
3
- import { html as w } from "./index-2mUgohFa.js";
1
+ import { L as V, E as X } from "./index-DctO0l5q.js";
2
+ import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-s-GER37R.js";
3
+ import { html as w } from "./index-CO6rjqWZ.js";
4
4
  const W = 1, p = 2, q = 275, u = 3, b = 276, _ = 277, f = 278, k = 4, m = 5, G = 6, x = 7, z = 8, h = 9, g = 10, v = 11, j = 12, E = 13, I = 14, N = 15, L = 16, F = 17, C = 18, H = 19, A = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, aO = 30, TO = 31, PO = 32, XO = 33, SO = 34, cO = 35, eO = 36, oO = 37, _O = 38, zO = 39, nO = 40, rO = 41, YO = 42, VO = 43, dO = 44, ZO = 45, RO = 46, sO = 47, tO = 48, yO = 49, UO = 50, lO = 51, wO = 52, WO = 53, pO = 54, qO = 55, uO = 56, bO = 57, fO = 58, kO = 59, mO = 60, GO = 61, xO = 62, e = 63, hO = 64, gO = 65, vO = 66, jO = {
5
5
  abstract: k,
6
6
  and: m,
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-DQtcZD9Y.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-DNQ00p6Y.js";
1
+ import { L as s } from "./index-DctO0l5q.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-s-GER37R.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,5 +1,5 @@
1
- import { L as G, E as A, C as N } from "./index-DQtcZD9Y.js";
2
- import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-DNQ00p6Y.js";
1
+ import { L as G, E as A, C as N } from "./index-DctO0l5q.js";
2
+ import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-s-GER37R.js";
3
3
  const h = 1, F = 2, L = 3, H = 4, K = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
4
4
  function re(e) {
5
5
  return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-DQtcZD9Y.js";
2
- import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-DNQ00p6Y.js";
1
+ import { L as W, E as i, C as B } from "./index-DctO0l5q.js";
2
+ import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-s-GER37R.js";
3
3
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
4
4
  class s {
5
5
  constructor(e, a, r) {
@@ -1,5 +1,5 @@
1
- import { L as s, E as R, a as Y, C as x } from "./index-DQtcZD9Y.js";
2
- import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-DNQ00p6Y.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-DctO0l5q.js";
2
+ import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-s-GER37R.js";
3
3
  const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
4
4
  for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
5
5
  a = Q.peek(++n);
@@ -1,6 +1,6 @@
1
- import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-DNQ00p6Y.js";
2
- import { html as j } from "./index-2mUgohFa.js";
3
- import { L as X, E as p } from "./index-DQtcZD9Y.js";
1
+ import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-s-GER37R.js";
2
+ import { html as j } from "./index-CO6rjqWZ.js";
3
+ import { L as X, E as p } from "./index-DctO0l5q.js";
4
4
  const Y = 1, U = 2, G = 3, R = 179, z = 4, v = 180, x = 5, Z = 181, V = 6;
5
5
  function E(O) {
6
6
  return O >= 65 && O <= 90 || O >= 97 && O <= 122;
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-DQtcZD9Y.js";
2
- import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-DNQ00p6Y.js";
1
+ import { L as w, E as p, a as Y } from "./index-DctO0l5q.js";
2
+ import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-s-GER37R.js";
3
3
  const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
4
4
  9,
5
5
  10,
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-DQtcZD9Y.js";
2
- import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-DNQ00p6Y.js";
1
+ import { L as o, E as t } from "./index-DctO0l5q.js";
2
+ import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-s-GER37R.js";
3
3
  const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
4
4
  if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
5
5
  O.advance();