@abyss-project/commons-front-core 17.2.0 → 17.2.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 (36) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/catalog/specs/responsive.spec.ts +106 -0
  3. package/dist/{CookieConsentSettings-DHpcYTa2.js → CookieConsentSettings-CtLrSfve.js} +1 -1
  4. package/dist/{Surface-BUxzLLhb.js → Surface-BDfRxVLj.js} +4 -2
  5. package/dist/{Tabs-D7TDtprO.js → Tabs-DEY2HEqj.js} +1 -1
  6. package/dist/cookie-consent.js +2 -2
  7. package/dist/{design-theme-Bc2sMuUP.js → design-theme-Bd0pEPei.js} +1 -1
  8. package/dist/{editors-CGj-vsZu.js → editors-CtkDomwX.js} +27 -27
  9. package/dist/editors.js +1 -1
  10. package/dist/hooks/use-rich-intl.hook.d.ts +2 -0
  11. package/dist/{index-853Jaoqw.js → index-B9avfa3r.js} +3 -3
  12. package/dist/{index-DykCZUJc.js → index-BcXqvMY8.js} +4 -4
  13. package/dist/{index-BISOeVc7.js → index-CEjiERmo.js} +2 -2
  14. package/dist/{index-CNfYiPB9.js → index-CSdO6zlX.js} +2 -2
  15. package/dist/{index-BVsU-XEb.js → index-Ch8JqU5w.js} +2 -2
  16. package/dist/{index-DrgdyC6J.js → index-Cl3hwdsZ.js} +2 -2
  17. package/dist/{index-5lpeThh7.js → index-CqgMX8kF.js} +2 -2
  18. package/dist/{index-B4PJ4K6l.js → index-D0EF36wh.js} +2 -2
  19. package/dist/{index-BS3QPrVM.js → index-DFZlN4E3.js} +4 -4
  20. package/dist/{index-DOrEPYZN.js → index-DKsvuaEj.js} +3 -3
  21. package/dist/{index-Bxpp4VC9.js → index-DVBqUPxf.js} +2 -2
  22. package/dist/{index-a62vDo6s.js → index-DZbCUZUp.js} +2 -2
  23. package/dist/{index-DxZ1bG6u.js → index-DcV2fWbx.js} +2 -2
  24. package/dist/{index-DKMFAW5f.js → index-DnQguWf1.js} +1 -1
  25. package/dist/{index-CONaN903.js → index-DtncSsmw.js} +2 -2
  26. package/dist/{index-_3uQ1KPn.js → index-DtpGwH5a.js} +3 -3
  27. package/dist/{index-CYmjv9TK.js → index-FUuoLSZ0.js} +4 -4
  28. package/dist/{index-DfnEQYyW.js → index-IVjoNq-p.js} +2 -2
  29. package/dist/{index-DvrKcy8f.js → index-SN7FZBya.js} +2 -2
  30. package/dist/{index-CTsQY6zW.js → index-mUtvzoSi.js} +3 -3
  31. package/dist/{index-YX_yu3BN.js → index-psJ1Q-lU.js} +2 -2
  32. package/dist/index.js +10 -10
  33. package/dist/legacy.js +5 -5
  34. package/dist/translations/en.d.ts +1 -0
  35. package/dist/translations/fr.d.ts +1 -0
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # Changelog — @abyss-project/commons-front-core
2
2
 
3
+ ## 17.2.1
4
+
5
+ Fixes after the P5 #792 L0 re-review. No export removed, no signature changed.
6
+
7
+ - `DeliveryHistory`: the duration in the delivery detail has its own label (`deliveries.history.detail.duration`, « Durée » / « Duration ») instead of reusing « Livrée ».
8
+ - `deliveries.duration-ms` formats the number (`{value, number} ms`): 30000 renders « 30 000 ms » in French, « 30,000 ms » in English.
9
+ - `DeliverySubscriptions`: the URL column minimum width goes from 220 to 160 px; the table was 1120 px wide in a 1100 px frame and the row menu of each row was cut off (found by the new responsive assertion).
10
+ - Tests: the Deliveries specs assert the label and the formatted duration; the catalogue responsive spec asserts that the actions button and the state badge of every row of `DeliverySubscriptions`, `DeliveryHistory` and `ScheduledTasks` sit inside their container at 1440 and 390 px, and that the badge text fits its background.
11
+
3
12
  ## 17.2.0
4
13
 
5
- Additions only (P5 #792, ADR-0257 decision 10). No export removed, no signature changed.
14
+ Additions only (P5 #792, ADR-0257 decision 11). No export removed, no signature changed.
6
15
 
7
16
  - `DeliverySubscriptions`, `DeliveryHistory` and `ScheduledTasks` (`business`, `components/business/Deliveries/README.md`): the delivery subscriptions, the delivery history (detail and replay) and the scheduled tasks of AbyssFlow, fed by props that return promises. Translations `deliveries.*` (FR and EN).
8
17
  - `@abyss-project/flow` becomes an optional peer dependency (`^1.2.0`, the version that ships the delivery models), imported as types only: a host that does not use these components does not install it.
@@ -197,6 +197,112 @@ for (const entry of CATALOG_ENTRIES.filter(
197
197
  }
198
198
  }
199
199
 
200
+ /** The three Deliveries pages and the widths at which their rows must stay whole. */
201
+ const DELIVERY_PAGES = [
202
+ 'DeliverySubscriptions',
203
+ 'DeliveryHistory',
204
+ 'ScheduledTasks',
205
+ ];
206
+ const DELIVERY_WIDTHS = [1440, 390];
207
+ const PIXEL_TOLERANCE = 0.5;
208
+
209
+ interface RowFit {
210
+ rows: number;
211
+ actions: number;
212
+ badges: number;
213
+ clipped: string[];
214
+ overflowing: string[];
215
+ }
216
+
217
+ /**
218
+ * For every table or list of the page (`role="grid"`; the frame around a table, the list itself on
219
+ * a phone): the « Actions de ... » button and the state badge of each row lie fully inside the
220
+ * bounding box of that container, and the text of each badge is no wider than its background.
221
+ */
222
+ const rowsFit = (page: Page): Promise<RowFit> =>
223
+ page.evaluate((tolerance) => {
224
+ const result: RowFit = {
225
+ rows: 0,
226
+ actions: 0,
227
+ badges: 0,
228
+ clipped: [],
229
+ overflowing: [],
230
+ };
231
+ const grids = document.querySelectorAll('[role="grid"]');
232
+ grids.forEach((grid) => {
233
+ const container =
234
+ grid.tagName === 'TABLE' ? grid.parentElement ?? grid : grid;
235
+ const frame = container.getBoundingClientRect();
236
+ const inside = (box: DOMRect): boolean =>
237
+ box.left >= frame.left - tolerance &&
238
+ box.right <= frame.right + tolerance &&
239
+ box.top >= frame.top - tolerance &&
240
+ box.bottom <= frame.bottom + tolerance;
241
+ result.rows += grid.querySelectorAll('tbody tr, [role="row"]').length;
242
+ grid
243
+ .querySelectorAll('button[aria-label^="Actions de "]')
244
+ .forEach((button) => {
245
+ result.actions += 1;
246
+ if (!inside(button.getBoundingClientRect())) {
247
+ result.clipped.push(
248
+ `${button.getAttribute('aria-label')} (button)`,
249
+ );
250
+ }
251
+ });
252
+ grid.querySelectorAll('[data-testid="status-dot"]').forEach((dot) => {
253
+ const badge = dot.parentElement;
254
+ if (badge === null) {
255
+ return;
256
+ }
257
+ result.badges += 1;
258
+ const name = (badge.textContent ?? '').trim();
259
+ const box = badge.getBoundingClientRect();
260
+ if (!inside(box)) {
261
+ result.clipped.push(`${name} (badge)`);
262
+ }
263
+ const walker = document.createTreeWalker(badge, NodeFilter.SHOW_TEXT);
264
+ for (let node = walker.nextNode(); node; node = walker.nextNode()) {
265
+ const range = document.createRange();
266
+ range.selectNodeContents(node);
267
+ const text = range.getBoundingClientRect();
268
+ if (
269
+ text.width > 0 &&
270
+ (text.right > box.right + tolerance ||
271
+ text.left < box.left - tolerance)
272
+ ) {
273
+ result.overflowing.push(
274
+ `${name} (text ${Math.round(
275
+ text.width,
276
+ )} px in a badge of ${Math.round(box.width)} px)`,
277
+ );
278
+ }
279
+ }
280
+ });
281
+ });
282
+ return result;
283
+ }, PIXEL_TOLERANCE);
284
+
285
+ for (const name of DELIVERY_PAGES) {
286
+ for (const width of DELIVERY_WIDTHS) {
287
+ test(`${name} at ${width} px: the actions button and the state badge of every row fit their container`, async ({
288
+ page,
289
+ }) => {
290
+ await openCatalogPage(page, name, ThemeMode.Dark, {
291
+ width,
292
+ height: HEIGHT,
293
+ });
294
+ const fit = await rowsFit(page);
295
+ expect(fit.rows, 'rows drawn').toBeGreaterThan(0);
296
+ expect(fit.actions, 'actions buttons found').toBeGreaterThan(0);
297
+ expect(fit.badges, 'state badges found').toBeGreaterThan(0);
298
+ expect(fit.clipped, 'clipped by the container').toEqual([]);
299
+ expect(fit.overflowing, 'badge text wider than its background').toEqual(
300
+ [],
301
+ );
302
+ });
303
+ }
304
+ }
305
+
200
306
  // Criterion C3: on a 360 px phone the action bar shows each label whole, under its icon, on two
201
307
  // lines at most; past three actions it keeps two and a « Plus » button.
202
308
  test('ActionBar at 360 px: whole labels, two lines at most, « Plus » past three actions', async ({
@@ -3,7 +3,7 @@ import { useState as y, useCallback as p, useEffect as T, useId as h, useRef as
3
3
  import I from "@mui/material/Button";
4
4
  import H from "@mui/material/Switch";
5
5
  import { styled as d } from "@mui/material/styles";
6
- import { p as o, h as ee, d as D, D as O, a as $, t as V, u as A, S as Y, M as te, b as ne } from "./Surface-BUxzLLhb.js";
6
+ import { p as o, h as ee, d as D, D as O, a as $, t as V, u as A, S as Y, M as te, b as ne } from "./Surface-BDfRxVLj.js";
7
7
  import { useQuery as ie, useMutation as oe } from "@tanstack/react-query";
8
8
  import { AbyssCore as W } from "@abyss-project/main";
9
9
  import se from "@mui/material/Link";
@@ -1469,7 +1469,7 @@ const He = {
1469
1469
  JSON: "JSON",
1470
1470
  DISCORD: "Discord"
1471
1471
  },
1472
- "duration-ms": "{value} ms",
1472
+ "duration-ms": "{value, number} ms",
1473
1473
  subscriptions: {
1474
1474
  label: "Abonnements de livraison",
1475
1475
  pagination: "Pages des abonnements",
@@ -1540,6 +1540,7 @@ const He = {
1540
1540
  headers: "En-têtes envoyés",
1541
1541
  response: "Réponse",
1542
1542
  "response-code": "Code de réponse",
1543
+ duration: "Durée",
1543
1544
  "response-body": "Extrait de la réponse",
1544
1545
  error: "Dernière erreur",
1545
1546
  timeline: "Déroulé",
@@ -3862,7 +3863,7 @@ const He = {
3862
3863
  JSON: "JSON",
3863
3864
  DISCORD: "Discord"
3864
3865
  },
3865
- "duration-ms": "{value} ms",
3866
+ "duration-ms": "{value, number} ms",
3866
3867
  subscriptions: {
3867
3868
  label: "Delivery subscriptions",
3868
3869
  pagination: "Subscription pages",
@@ -3933,6 +3934,7 @@ const He = {
3933
3934
  headers: "Headers sent",
3934
3935
  response: "Response",
3935
3936
  "response-code": "Response code",
3937
+ duration: "Duration",
3936
3938
  "response-body": "Response excerpt",
3937
3939
  error: "Last error",
3938
3940
  timeline: "Timeline",
@@ -8,7 +8,7 @@ import hn from "@mui/material/Select";
8
8
  import { styled as l, useTheme as bn, getContrastRatio as Ce } from "@mui/material/styles";
9
9
  import { visuallyHidden as $e } from "@mui/utils";
10
10
  import { useIntl as L } from "react-intl";
11
- import { a as R, p as o, h as A, d as Z, D as K, c as yn, t as De, s as de, e as oe, g as te, M as Pe, b as He, i as vn, B as wn } from "./Surface-BUxzLLhb.js";
11
+ import { a as R, p as o, h as A, d as Z, D as K, c as yn, t as De, s as de, e as oe, g as te, M as Pe, b as He, i as vn, B as wn } from "./Surface-BDfRxVLj.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,5 +1,5 @@
1
- import { A as e, d as a, C as n, b as C, D as i, R as t, V as r, e as A, r as k, f as c, u as l, c as f, a as b, w as u } from "./CookieConsentSettings-DHpcYTa2.js";
2
- import { f as E } from "./Surface-BUxzLLhb.js";
1
+ import { A as e, d as a, C as n, b as C, D as i, R as t, V as r, e as A, r as k, f as c, u as l, c as f, a as b, w as u } from "./CookieConsentSettings-CtLrSfve.js";
2
+ import { f as E } from "./Surface-BDfRxVLj.js";
3
3
  export {
4
4
  e as AbyssCookieConsentProvider,
5
5
  a as COOKIE_NAME,
@@ -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-BUxzLLhb.js";
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-BDfRxVLj.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, b as uo, a as _d, S as MO, t as bu, g as Z0, e as vo, m as RF, c as PW, i as SO, u as TO } from "./Surface-BUxzLLhb.js";
12
+ import { s as NU, d as ys, D as ds, p as E, h as El, M as Zo, b as uo, a as _d, S as MO, t as bu, g as Z0, e as vo, m as RF, c as PW, i as SO, u as TO } from "./Surface-BDfRxVLj.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-D7TDtprO.js";
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-DEY2HEqj.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-DfnEQYyW.js").then((t) => t.sql({ dialect: t[l] }));
14228
+ return import("./index-IVjoNq-p.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-DxZ1bG6u.js").then((l) => l.cpp());
14236
+ return import("./index-DcV2fWbx.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-DxZ1bG6u.js").then((l) => l.cpp());
14244
+ return import("./index-DcV2fWbx.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-DrgdyC6J.js").then((l) => l.css());
14259
+ return import("./index-Cl3hwdsZ.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-CONaN903.js").then((l) => l.go());
14266
+ return import("./index-DtncSsmw.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-DykCZUJc.js").then((l) => l.html());
14274
+ return import("./index-BcXqvMY8.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-CNfYiPB9.js").then((l) => l.java());
14281
+ return import("./index-CSdO6zlX.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-YX_yu3BN.js").then((l) => l.javascript());
14289
+ return import("./index-psJ1Q-lU.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-a62vDo6s.js").then((l) => l.json());
14297
+ return import("./index-DZbCUZUp.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-YX_yu3BN.js").then((l) => l.javascript({ jsx: !0 }));
14304
+ return import("./index-psJ1Q-lU.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-CTsQY6zW.js").then((l) => l.less());
14311
+ return import("./index-mUtvzoSi.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-DOrEPYZN.js").then((l) => l.liquid());
14318
+ return import("./index-DKsvuaEj.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-DvrKcy8f.js").then((l) => l.markdown());
14331
+ return import("./index-SN7FZBya.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-_3uQ1KPn.js").then((l) => l.php());
14350
+ return import("./index-DtpGwH5a.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-5lpeThh7.js").then((l) => l.python());
14371
+ return import("./index-CqgMX8kF.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-BVsU-XEb.js").then((l) => l.rust());
14378
+ return import("./index-Ch8JqU5w.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-853Jaoqw.js").then((l) => l.sass({ indented: !0 }));
14385
+ return import("./index-B9avfa3r.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-853Jaoqw.js").then((l) => l.sass());
14392
+ return import("./index-B9avfa3r.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-YX_yu3BN.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
14412
+ return import("./index-psJ1Q-lU.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-YX_yu3BN.js").then((l) => l.javascript({ typescript: !0 }));
14420
+ return import("./index-psJ1Q-lU.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-Bxpp4VC9.js").then((l) => l.wast());
14427
+ return import("./index-DVBqUPxf.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-B4PJ4K6l.js").then((l) => l.xml());
14435
+ return import("./index-D0EF36wh.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-BISOeVc7.js").then((l) => l.yaml());
14443
+ return import("./index-CEjiERmo.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-BS3QPrVM.js").then((l) => l.vue());
15239
+ return import("./index-DFZlN4E3.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-CYmjv9TK.js").then((l) => l.angular());
15245
+ return import("./index-FUuoLSZ0.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-CGj-vsZu.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-CtkDomwX.js";
2
2
  export {
3
3
  o as CodeEditor,
4
4
  s as ExpressionCodeEditor,
@@ -1444,6 +1444,7 @@ export declare const translations: {
1444
1444
  headers: string;
1445
1445
  response: string;
1446
1446
  'response-code': string;
1447
+ duration: string;
1447
1448
  'response-body': string;
1448
1449
  error: string;
1449
1450
  timeline: string;
@@ -4323,6 +4324,7 @@ export declare const translations: {
4323
4324
  headers: string;
4324
4325
  response: string;
4325
4326
  'response-code': string;
4327
+ duration: string;
4326
4328
  'response-body': string;
4327
4329
  error: string;
4328
4330
  timeline: string;
@@ -1,6 +1,6 @@
1
- import { L as v, E as i, C as _ } from "./index-DKMFAW5f.js";
2
- import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-CGj-vsZu.js";
3
- import { defineCSSCompletionSource as N } from "./index-DrgdyC6J.js";
1
+ import { L as v, E as i, C as _ } from "./index-DnQguWf1.js";
2
+ import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-CtkDomwX.js";
3
+ import { defineCSSCompletionSource as N } from "./index-Cl3hwdsZ.js";
4
4
  const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, q = 7, B = 8, H = 9, c = 0, R = [
5
5
  9,
6
6
  10,
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-DKMFAW5f.js";
2
- import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-CGj-vsZu.js";
3
- import { cssLanguage as J, css as _e } from "./index-DrgdyC6J.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-YX_yu3BN.js";
1
+ import { L as be, E as $, C as Pe } from "./index-DnQguWf1.js";
2
+ import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-CtkDomwX.js";
3
+ import { cssLanguage as J, css as _e } from "./index-Cl3hwdsZ.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-psJ1Q-lU.js";
5
5
  const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
6
6
  area: !0,
7
7
  base: !0,
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as W, E as i, C as B } from "./index-DnQguWf1.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-CtkDomwX.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 r } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as r } from "./index-DnQguWf1.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-CtkDomwX.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-DKMFAW5f.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-CGj-vsZu.js";
1
+ import { L as o, E as a } from "./index-DnQguWf1.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-CtkDomwX.js";
3
3
  const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as w, E as p, a as Y } from "./index-DnQguWf1.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-CtkDomwX.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 D, E as h, C as L } from "./index-DKMFAW5f.js";
2
- import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-CGj-vsZu.js";
1
+ import { L as D, E as h, C as L } from "./index-DnQguWf1.js";
2
+ import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-CtkDomwX.js";
3
3
  const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, IO = 263, NO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
4
4
  pO,
5
5
  qO,
@@ -1,5 +1,5 @@
1
- import { L as G, E as A, C as N } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as G, E as A, C as N } from "./index-DnQguWf1.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-CtkDomwX.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,7 +1,7 @@
1
- import { a as p, L as u, p as n, s as l, t as e } from "./editors-CGj-vsZu.js";
2
- import { html as m } from "./index-DykCZUJc.js";
3
- import { javascriptLanguage as b } from "./index-YX_yu3BN.js";
4
- import { L as S, a as r } from "./index-DKMFAW5f.js";
1
+ import { a as p, L as u, p as n, s as l, t as e } from "./editors-CtkDomwX.js";
2
+ import { html as m } from "./index-BcXqvMY8.js";
3
+ import { javascriptLanguage as b } from "./index-psJ1Q-lU.js";
4
+ import { L as S, a as r } from "./index-DnQguWf1.js";
5
5
  const c = /* @__PURE__ */ S.deserialize({
6
6
  version: 14,
7
7
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -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-CGj-vsZu.js";
2
- import { html as j } from "./index-DykCZUJc.js";
3
- import { L as X, E as p } from "./index-DKMFAW5f.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-CtkDomwX.js";
2
+ import { html as j } from "./index-BcXqvMY8.js";
3
+ import { L as X, E as p } from "./index-DnQguWf1.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 { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-CGj-vsZu.js";
2
- import { L as n } from "./index-DKMFAW5f.js";
1
+ import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-CtkDomwX.js";
2
+ import { L as n } from "./index-DnQguWf1.js";
3
3
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
4
4
  version: 14,
5
5
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as s } from "./index-DnQguWf1.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-CtkDomwX.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as o, E as t } from "./index-DnQguWf1.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-CtkDomwX.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();
@@ -1,4 +1,4 @@
1
- import { P as L, N as M, k as $, D as E, l as y, T as S, I as j } from "./editors-CGj-vsZu.js";
1
+ import { P as L, N as M, k as $, D as E, l as y, T as S, I as j } from "./editors-CtkDomwX.js";
2
2
  class v {
3
3
  /**
4
4
  @internal
@@ -1,5 +1,5 @@
1
- import { L as s, E as R, a as Y, C as x } from "./index-DKMFAW5f.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-CGj-vsZu.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-DnQguWf1.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-CtkDomwX.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 { L as V, E as X } from "./index-DKMFAW5f.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-CGj-vsZu.js";
3
- import { html as w } from "./index-DykCZUJc.js";
1
+ import { L as V, E as X } from "./index-DnQguWf1.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-CtkDomwX.js";
3
+ import { html as w } from "./index-BcXqvMY8.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,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./editors-CGj-vsZu.js";
2
- import { html as c } from "./index-DykCZUJc.js";
3
- import { javascriptLanguage as i } from "./index-YX_yu3BN.js";
4
- import { L as R, E as p } from "./index-DKMFAW5f.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./editors-CtkDomwX.js";
2
+ import { html as c } from "./index-BcXqvMY8.js";
3
+ import { javascriptLanguage as i } from "./index-psJ1Q-lU.js";
4
+ import { L as R, E as p } from "./index-DnQguWf1.js";
5
5
  const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
6
6
  let t = O.pos;
7
7
  for (; ; ) {
@@ -1,5 +1,5 @@
1
- import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-CGj-vsZu.js";
2
- import { L as de, E as me } from "./index-DKMFAW5f.js";
1
+ import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-CtkDomwX.js";
2
+ import { L as de, E as me } from "./index-DnQguWf1.js";
3
3
  const ue = 36, B = 1, pe = 2, y = 3, C = 4, fe = 5, _e = 6, ge = 7, he = 8, ye = 9, be = 10, ve = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, X = 18, Se = 19, A = 20, E = 21, I = 22, qe = 23, Pe = 24;
4
4
  function q(t) {
5
5
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
@@ -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-CGj-vsZu.js";
2
- import { html as kt, htmlCompletionSource as Lt } from "./index-DykCZUJc.js";
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-CtkDomwX.js";
2
+ import { html as kt, htmlCompletionSource as Lt } from "./index-BcXqvMY8.js";
3
3
  class $ {
4
4
  static create(e, r, n, s, i) {
5
5
  let o = s + (s << 8) + e + (r << 4) | 0;
@@ -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-CGj-vsZu.js";
2
- import { defineCSSCompletionSource as m } from "./index-DrgdyC6J.js";
3
- import { L as c, E as S } from "./index-DKMFAW5f.js";
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-CtkDomwX.js";
2
+ import { defineCSSCompletionSource as m } from "./index-Cl3hwdsZ.js";
3
+ import { L as c, E as S } from "./index-DnQguWf1.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as M, E as X, a as h, C as E } from "./index-DKMFAW5f.js";
2
- import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-CGj-vsZu.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-DnQguWf1.js";
2
+ import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-CtkDomwX.js";
3
3
  const $O = 315, rO = 316, v = 1, tO = 2, lO = 3, nO = 4, oO = 317, sO = 319, ZO = 320, PO = 5, pO = 6, cO = 0, q = [
4
4
  9,
5
5
  10,
package/dist/index.js CHANGED
@@ -2,13 +2,13 @@ import { jsx as o, jsxs as f, Fragment as X } from "react/jsx-runtime";
2
2
  import xe from "@mui/material/Button";
3
3
  import { styled as d, useTheme as We, keyframes as Bl, getContrastRatio as xr, decomposeColor as e0, getLuminance as t0, alpha as Nt, createTheme as n0, ThemeProvider as o0 } from "@mui/material/styles";
4
4
  import { useIntl as ae } from "react-intl";
5
- import { p as i, M as ao, b as lo, h as G, d as le, D as K, t as ge, a as U, c as Qe, g as Z, u as q, e as Te, s as kn, w as Ae, j as Oe, B as zl, k as wr, i as wt, l as Ke, S as To, m as Xe, n as As, o as Pe, q as xn, r as Gl, v as Qi, x as Ul, T as Do, y as Vl, z as Hn, A as i0, C as s0 } from "./Surface-BUxzLLhb.js";
6
- import { R as dI, I as cI, F as uI, f as pI, G as gI, H as hI, E as fI } from "./Surface-BUxzLLhb.js";
7
- import { R as mt, F as Ye, C as be, a as he, D as r0, b as a0, c as l0, I as d0, u as Yl, d as Ue, A as c0, e as vt, N as yi, f as u0 } from "./Tabs-D7TDtprO.js";
8
- import { i as yI, q as bI, r as vI, p as xI, s as wI, o as CI, m as SI, l as kI, g as RI, h as MI, j as _I, S as II, k as TI, T as DI, n as EI } from "./Tabs-D7TDtprO.js";
5
+ import { p as i, M as ao, b as lo, h as G, d as le, D as K, t as ge, a as U, c as Qe, g as Z, u as q, e as Te, s as kn, w as Ae, j as Oe, B as zl, k as wr, i as wt, l as Ke, S as To, m as Xe, n as As, o as Pe, q as xn, r as Gl, v as Qi, x as Ul, T as Do, y as Vl, z as Hn, A as i0, C as s0 } from "./Surface-BDfRxVLj.js";
6
+ import { R as dI, I as cI, F as uI, f as pI, G as gI, H as hI, E as fI } from "./Surface-BDfRxVLj.js";
7
+ import { R as mt, F as Ye, C as be, a as he, D as r0, b as a0, c as l0, I as d0, u as Yl, d as Ue, A as c0, e as vt, N as yi, f as u0 } from "./Tabs-DEY2HEqj.js";
8
+ import { i as yI, q as bI, r as vI, p as xI, s as wI, o as CI, m as SI, l as kI, g as RI, h as MI, j as _I, S as II, k as TI, T as DI, n as EI } from "./Tabs-DEY2HEqj.js";
9
9
  import Cr, { useState as R, useRef as ee, useEffect as re, useMemo as me, useCallback as j, useId as Se, Fragment as jl, cloneElement as p0, createContext as Xo, useSyncExternalStore as No, useContext as Dn, forwardRef as g0, useLayoutEffect as Wt, Children as h0, isValidElement as f0 } from "react";
10
- import { u as gn, Q as Zl, v as ql, r as Kl, aY as Xl, B as Ct, af as m0, a8 as Qn, aa as Ql, aZ as y0, a_ as Jl, ac as b0, ab as ed, C as Ft, aX as td, a$ as nd, o as pt, ag as od, y as v0, b0 as id, b1 as Sr, b2 as x0, b3 as w0, b4 as C0, b5 as S0, a as k0, b6 as R0, b7 as M0, b8 as _0, ad as I0, b9 as sd, D as T0, H as D0, a4 as E0, a5 as A0, ba as bi, bb as Bn, ao as O0, ai as L0, al as $0, bc as W0, av as P0, A as N0, q as F0, an as H0, aw as B0, aB as Ji, bd as z0, be as G0, bf as U0 } from "./design-theme-Bc2sMuUP.js";
11
- import { ap as OI, ak as LI, as as $I, bD as WI, bl as PI, bj as NI, bk as FI, bg as HI, bu as BI, bo as zI, bB as GI, br as UI, bC as VI, bv as YI, ar as jI, bF as ZI, bi as qI, am as KI, bh as XI, bq as QI, bx as JI, bw as eT, bp as tT, bs as nT, bm as oT, au as iT, bA as sT, bz as rT, by as aT, bn as lT, bE as dT, at as cT, bt as uT, aj as pT } from "./design-theme-Bc2sMuUP.js";
10
+ import { u as gn, Q as Zl, v as ql, r as Kl, aY as Xl, B as Ct, af as m0, a8 as Qn, aa as Ql, aZ as y0, a_ as Jl, ac as b0, ab as ed, C as Ft, aX as td, a$ as nd, o as pt, ag as od, y as v0, b0 as id, b1 as Sr, b2 as x0, b3 as w0, b4 as C0, b5 as S0, a as k0, b6 as R0, b7 as M0, b8 as _0, ad as I0, b9 as sd, D as T0, H as D0, a4 as E0, a5 as A0, ba as bi, bb as Bn, ao as O0, ai as L0, al as $0, bc as W0, av as P0, A as N0, q as F0, an as H0, aw as B0, aB as Ji, bd as z0, be as G0, bf as U0 } from "./design-theme-Bd0pEPei.js";
11
+ import { ap as OI, ak as LI, as as $I, bD as WI, bl as PI, bj as NI, bk as FI, bg as HI, bu as BI, bo as zI, bB as GI, br as UI, bC as VI, bv as YI, ar as jI, bF as ZI, bi as qI, am as KI, bh as XI, bq as QI, bx as JI, bw as eT, bp as tT, bs as nT, bm as oT, au as iT, bA as sT, bz as rT, by as aT, bn as lT, bE as dT, at as cT, bt as uT, aj as pT } from "./design-theme-Bd0pEPei.js";
12
12
  import Tt from "@mui/material/CircularProgress";
13
13
  import { visuallyHidden as Ut } from "@mui/utils";
14
14
  import V0 from "@mui/icons-material/ShareRounded";
@@ -17,8 +17,8 @@ import Y0 from "@mui/icons-material/Check";
17
17
  import rd from "@mui/icons-material/ContentCopy";
18
18
  import ad from "@mui/icons-material/Visibility";
19
19
  import ld from "@mui/icons-material/VisibilityOff";
20
- import { T as j0, a as dd } from "./CookieConsentSettings-DHpcYTa2.js";
21
- import { A as hT, d as fT, C as mT, b as yT, D as bT, R as vT, S as xT, V as wT, e as CT, r as ST, f as kT, u as RT, c as MT, w as _T } from "./CookieConsentSettings-DHpcYTa2.js";
20
+ import { T as j0, a as dd } from "./CookieConsentSettings-CtLrSfve.js";
21
+ import { A as hT, d as fT, C as mT, b as yT, D as bT, R as vT, S as xT, V as wT, e as CT, r as ST, f as kT, u as RT, c as MT, w as _T } from "./CookieConsentSettings-CtLrSfve.js";
22
22
  import ht from "@mui/icons-material/Close";
23
23
  import cd from "@mui/icons-material/BugReportRounded";
24
24
  import Os from "@mui/icons-material/PersonRounded";
@@ -7898,7 +7898,7 @@ const WM = ({
7898
7898
  {
7899
7899
  id: "url",
7900
7900
  header: h("deliveries.subscriptions.column.url"),
7901
- minWidth: 220,
7901
+ minWidth: 160,
7902
7902
  mono: !0,
7903
7903
  cell: (A) => /* @__PURE__ */ o(dn, { children: A.url }),
7904
7904
  text: (A) => A.url
@@ -8266,7 +8266,7 @@ function V5({
8266
8266
  /* @__PURE__ */ o("dt", { children: a("deliveries.history.detail.response-code") }),
8267
8267
  /* @__PURE__ */ o("dd", { children: c.lastResponseCode ?? w }),
8268
8268
  c.durationMs !== null && /* @__PURE__ */ f(X, { children: [
8269
- /* @__PURE__ */ o("dt", { children: a("deliveries.history.column.delivered") }),
8269
+ /* @__PURE__ */ o("dt", { children: a("deliveries.history.detail.duration") }),
8270
8270
  /* @__PURE__ */ o("dd", { children: a("deliveries.duration-ms", { value: c.durationMs }) })
8271
8271
  ] })
8272
8272
  ] }),
package/dist/legacy.js CHANGED
@@ -5,15 +5,15 @@ import Ne, { useState as F, useCallback as V, useMemo as ge, useEffect as ye, cr
5
5
  import wo from "@mui/icons-material/Group";
6
6
  import Ro from "@mui/icons-material/Folder";
7
7
  import ra from "@mui/icons-material/Extension";
8
- import { r as na, a as oa, t as ia, w as aa, h as Nn, e as He, b as Cr, c as ht, s as Je, m as Ur, d as Bn, f as Fe, p as _n, g as zt, i as We, j as Hn, k as la, l as sa, n as da, A as Qt, o as Rr, q as Mr, Q as ca, u as nn, v as Mo, x as Ao, y as Ht, z as N, B as wt, C as Qe, D as Io, H as pa, E as ua, W as Ar, F as Jt, X as Ir, K as fn, J as $t, U as xn, G as bn, I as Ot, L as yt, M as Zt, V as ma, N as ha, S as ga, O as fa, P as xa, R as ba, T as ya, Y as va, Z as ka, _ as Ca, $ as Sa, a0 as Dr, a1 as je, a2 as ut, a3 as Vt, a4 as wa, a5 as Se, a6 as vt, a7 as zo, a8 as st, a9 as yn, aa as dt, ab as Ra, ac as Ma, ad as Aa, ae as Ia, af as za, ag as ur, ah as La, ai as $a, aj as Oa, ak as Lo, al as Ea, am as $o, an as Ta, ao as Wa, ap as Oo, aq as Da, ar as Pa, as as Ke, at as Fa, au as Na, av as Ba, aw as _a, ax as Ha, ay as ja, az as Ga, aA as Ua, aB as Va, aC as kt, aD as Ct } from "./design-theme-Bc2sMuUP.js";
9
- import { aR as zg, aG as Lg, aH as $g, aI as Og, aE as Eg, aF as Tg, aX as Wg, aK as Dg, aL as Pg, aT as Fg, aU as Ng, aO as Bg, aP as _g, aV as Hg, aW as jg, aM as Gg, aN as Ug, aS as Vg, aJ as Yg, aQ as Xg } from "./design-theme-Bc2sMuUP.js";
8
+ import { r as na, a as oa, t as ia, w as aa, h as Nn, e as He, b as Cr, c as ht, s as Je, m as Ur, d as Bn, f as Fe, p as _n, g as zt, i as We, j as Hn, k as la, l as sa, n as da, A as Qt, o as Rr, q as Mr, Q as ca, u as nn, v as Mo, x as Ao, y as Ht, z as N, B as wt, C as Qe, D as Io, H as pa, E as ua, W as Ar, F as Jt, X as Ir, K as fn, J as $t, U as xn, G as bn, I as Ot, L as yt, M as Zt, V as ma, N as ha, S as ga, O as fa, P as xa, R as ba, T as ya, Y as va, Z as ka, _ as Ca, $ as Sa, a0 as Dr, a1 as je, a2 as ut, a3 as Vt, a4 as wa, a5 as Se, a6 as vt, a7 as zo, a8 as st, a9 as yn, aa as dt, ab as Ra, ac as Ma, ad as Aa, ae as Ia, af as za, ag as ur, ah as La, ai as $a, aj as Oa, ak as Lo, al as Ea, am as $o, an as Ta, ao as Wa, ap as Oo, aq as Da, ar as Pa, as as Ke, at as Fa, au as Na, av as Ba, aw as _a, ax as Ha, ay as ja, az as Ga, aA as Ua, aB as Va, aC as kt, aD as Ct } from "./design-theme-Bd0pEPei.js";
9
+ import { aR as zg, aG as Lg, aH as $g, aI as Og, aE as Eg, aF as Tg, aX as Wg, aK as Dg, aL as Pg, aT as Fg, aU as Ng, aO as Bg, aP as _g, aV as Hg, aW as jg, aM as Gg, aN as Ug, aS as Vg, aJ as Yg, aQ as Xg } from "./design-theme-Bd0pEPei.js";
10
10
  import on from "@mui/icons-material/Apps";
11
11
  import Eo from "@mui/icons-material/Circle";
12
12
  import Ya from "@mui/icons-material/Fingerprint";
13
13
  import Xa from "@mui/icons-material/KeyboardArrowDown";
14
14
  import qa from "@mui/icons-material/MessageOutlined";
15
- import { u as ke, T as jn } from "./Surface-BUxzLLhb.js";
16
- import { f as Kg } from "./Surface-BUxzLLhb.js";
15
+ import { u as ke, T as jn } from "./Surface-BDfRxVLj.js";
16
+ import { f as Kg } from "./Surface-BDfRxVLj.js";
17
17
  import { SupportTicketCategory as Ka, AbyssService as Qa, ProjectStatus as an, byteSizeIEC as Gn, getServiceName as Ja, AbyssCore as Za, buildBillingDeepLink as el, BillingDeepLinkAction as mr } from "@abyss-project/main";
18
18
  import To from "@mui/icons-material/InsertDriveFile";
19
19
  import "@mui/icons-material/Image";
@@ -78,7 +78,7 @@ import jo from "@mui/icons-material/Search";
78
78
  import sn from "@mui/icons-material/BusinessRounded";
79
79
  import Nl from "@mui/icons-material/LocationOnOutlined";
80
80
  import Bl from "@mui/icons-material/CalendarTodayOutlined";
81
- import { A as Jg, d as Zg, C as ef, b as tf, D as rf, R as nf, V as of, e as af, r as lf, f as sf, u as df, c as cf, a as pf, w as uf } from "./CookieConsentSettings-DHpcYTa2.js";
81
+ import { A as Jg, d as Zg, C as ef, b as tf, D as rf, R as nf, V as of, e as af, r as lf, f as sf, u as df, c as cf, a as pf, w as uf } from "./CookieConsentSettings-CtLrSfve.js";
82
82
  import _l from "@mui/icons-material/ArrowDownward";
83
83
  import Hl from "@mui/icons-material/ArrowUpward";
84
84
  import Go from "@mui/icons-material/ChevronLeft";
@@ -996,6 +996,7 @@ declare const _default: {
996
996
  headers: string;
997
997
  response: string;
998
998
  'response-code': string;
999
+ duration: string;
999
1000
  'response-body': string;
1000
1001
  error: string;
1001
1002
  timeline: string;
@@ -1014,6 +1014,7 @@ declare const _default: {
1014
1014
  headers: string;
1015
1015
  response: string;
1016
1016
  'response-code': string;
1017
+ duration: string;
1017
1018
  'response-body': string;
1018
1019
  error: string;
1019
1020
  timeline: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "17.2.0",
3
+ "version": "17.2.1",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",