@abyss-project/commons-front-core 9.3.2 → 9.4.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.
Files changed (41) hide show
  1. package/README.md +9 -0
  2. package/dist/{AbyssCookieConsentProvider-CeDdkoPq.js → AbyssCookieConsentProvider-L42RPb5f.js} +1022 -960
  3. package/dist/{CookieConsentSettings.component-tJE0g-SS.js → CookieConsentSettings.component-CkhtQuGU.js} +1 -1
  4. package/dist/components/data/KeyValueList/KeyValueList.d.ts +10 -2
  5. package/dist/cookie-consent.js +2 -2
  6. package/dist/{design-theme-D3DQFMu-.js → design-theme-C3DcD-kA.js} +1 -1
  7. package/dist/hooks/use-rich-intl.hook.d.ts +158 -0
  8. package/dist/{index-CTkBexi5.js → index-5hIRSHTc.js} +2 -2
  9. package/dist/{index-BK4lWFRR.js → index-B-D0LQjw.js} +3 -3
  10. package/dist/{index-BbwAoYtC.js → index-BAO0d8HL.js} +4 -4
  11. package/dist/{index-rpW-_Gh4.js → index-BLN9Vvdr.js} +2 -2
  12. package/dist/{index-7E3aXufv.js → index-BhRgGLuD.js} +2 -2
  13. package/dist/{index-DYUdQPwj.js → index-Bi1ITcfD.js} +2 -2
  14. package/dist/{index-D6Gkj-V6.js → index-BowQxHAl.js} +2 -2
  15. package/dist/{index-9E4QhCRp.js → index-C0jOpBPq.js} +2 -2
  16. package/dist/{index-BcUA-oDy.js → index-CMTzmSRJ.js} +4 -4
  17. package/dist/{index-CMyNL_Kk.js → index-Cny_hr56.js} +2 -2
  18. package/dist/{index-CNMUrFys.js → index-CuOhAUX-.js} +10691 -10612
  19. package/dist/{index-DeoE1f9Z.js → index-CvT5zdz7.js} +2 -2
  20. package/dist/{index-CZvosKer.js → index-DBKoCefj.js} +4 -4
  21. package/dist/{index-BfICcXrk.js → index-DXLyOn3D.js} +3 -3
  22. package/dist/{index-By24n0PI.js → index-DZ5svQvp.js} +2 -2
  23. package/dist/{index-3wZ_n-X5.js → index-DrSNFgIl.js} +2 -2
  24. package/dist/{index-CzkoqdQK.js → index-DyhinvD5.js} +3 -3
  25. package/dist/{index-D3QW807K.js → index-Dyp_SF7H.js} +2 -2
  26. package/dist/{index-B7yu6Zm9.js → index-Y46rQdc3.js} +2 -2
  27. package/dist/{index-F67JSDx7.js → index-gVg-FLmC.js} +1 -1
  28. package/dist/{index-BTfe4Sz-.js → index-sI8PQFKF.js} +3 -3
  29. package/dist/{index-CUoOFhRH.js → index-yTDpH9la.js} +2 -2
  30. package/dist/index.js +1886 -1859
  31. package/dist/legacy/components/Support/SupportCategoryPick.component.spec.d.ts +1 -0
  32. package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +2 -2
  33. package/dist/legacy/components/Support/SupportSystemMessage.component.spec.d.ts +1 -0
  34. package/dist/legacy/components/Support/support-category.logic.d.ts +10 -0
  35. package/dist/legacy/components/Support/support-create-stepper.logic.d.ts +8 -0
  36. package/dist/legacy/components/Support/support-system-message.logic.d.ts +9 -0
  37. package/dist/legacy/components/Support/types.d.ts +7 -0
  38. package/dist/legacy.js +4 -4
  39. package/dist/translations/en.d.ts +31 -0
  40. package/dist/translations/fr.d.ts +31 -0
  41. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as C } from "react";
3
3
  import { Card as v, CardContent as b, Stack as u, Typography as o, FormControlLabel as l, Box as r, Checkbox as d, Button as M } from "@mui/material";
4
- import { g as R, u as x } from "./AbyssCookieConsentProvider-CeDdkoPq.js";
4
+ import { g as R, u as x } from "./AbyssCookieConsentProvider-L42RPb5f.js";
5
5
  const B = () => {
6
6
  const t = R(), { consent: i, save: y } = x(), [h, g] = m((i == null ? void 0 : i.analytics) ?? !1), [k, f] = m((i == null ? void 0 : i.marketing) ?? !1), c = i == null ? void 0 : i.analytics, n = i == null ? void 0 : i.marketing;
7
7
  return C(() => {
@@ -8,6 +8,14 @@ export interface KeyValueItem {
8
8
  }
9
9
  export interface KeyValueListProps {
10
10
  items: KeyValueItem[];
11
+ /**
12
+ * Below 768 px, sets each label above its value, both aligned left: for long values (an
13
+ * address, a URL) that would otherwise squeeze the label until its words break.
14
+ */
15
+ stackOnMobile?: boolean;
11
16
  }
12
- /** Label and value pairs of a detail panel (`.kv`): label muted on the left, value on the right. */
13
- export declare function KeyValueList({ items }: KeyValueListProps): import("react/jsx-runtime").JSX.Element;
17
+ /**
18
+ * Label and value pairs of a detail panel (`.kv`): label muted on the left, value on the right,
19
+ * or the label above the value below 768 px with `stackOnMobile`.
20
+ */
21
+ export declare function KeyValueList({ items, stackOnMobile, }: KeyValueListProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { A as e, c as a, C as n, D as C, R as i, V as t, d as r, f as A, r as k, e as c, u as l, b, a as f, w as u } from "./AbyssCookieConsentProvider-CeDdkoPq.js";
2
- import { C as E } from "./CookieConsentSettings.component-tJE0g-SS.js";
1
+ import { A as e, c as a, C as n, D as C, R as i, V as t, d as r, f as A, r as k, e as c, u as l, b, a as f, w as u } from "./AbyssCookieConsentProvider-L42RPb5f.js";
2
+ import { C as E } from "./CookieConsentSettings.component-CkhtQuGU.js";
3
3
  export {
4
4
  e as AbyssCookieConsentProvider,
5
5
  a as COOKIE_NAME,
@@ -1,4 +1,4 @@
1
- import { s as nt, _ as An, g as Bw, $ as S_, a0 as __, h as M_, m as k_ } from "./AbyssCookieConsentProvider-CeDdkoPq.js";
1
+ import { s as nt, _ as An, g as Bw, $ as S_, a0 as __, h as M_, m as k_ } from "./AbyssCookieConsentProvider-L42RPb5f.js";
2
2
  import { W as U_, r as E_, C as F_ } from "./index-D7cgykJH.js";
3
3
  import * as kn from "react";
4
4
  import za, { useState as vt, useRef as Re, useEffect as _t, useLayoutEffect as Nw, forwardRef as fi, useCallback as de, useContext as oa, useMemo as be, memo as pt, createContext as nu, createElement as Ue, cloneElement as xs, Component as I_, Fragment as ws, isValidElement as Zn, useReducer as Lw, useImperativeHandle as O_, useId as R_ } from "react";
@@ -73,6 +73,54 @@ export declare const translations: {
73
73
  title: string;
74
74
  content: string;
75
75
  };
76
+ "funding-proposed": {
77
+ title: string;
78
+ content: string;
79
+ };
80
+ "funding-offer-sent": {
81
+ title: string;
82
+ content: string;
83
+ };
84
+ "funding-offer-expiring": {
85
+ title: string;
86
+ content: string;
87
+ };
88
+ "funding-activated": {
89
+ title: string;
90
+ content: string;
91
+ };
92
+ "funding-request-rejected": {
93
+ title: string;
94
+ content: string;
95
+ };
96
+ "funding-criterion-warning": {
97
+ title: string;
98
+ content: string;
99
+ };
100
+ "funding-at-risk": {
101
+ title: string;
102
+ content: string;
103
+ };
104
+ "funding-recovered": {
105
+ title: string;
106
+ content: string;
107
+ };
108
+ "funding-revoked": {
109
+ title: string;
110
+ content: string;
111
+ };
112
+ "funding-ending": {
113
+ title: string;
114
+ content: string;
115
+ };
116
+ "funding-plan-ending": {
117
+ title: string;
118
+ content: string;
119
+ };
120
+ "funding-expired": {
121
+ title: string;
122
+ content: string;
123
+ };
76
124
  "board-card-late": {
77
125
  title: string;
78
126
  content: string;
@@ -1381,6 +1429,7 @@ export declare const translations: {
1381
1429
  BILLING_REFUND: string;
1382
1430
  BILLING_TRIAL: string;
1383
1431
  BILLING_COMMERCIAL_GESTURE: string;
1432
+ FUNDING_PROGRAMME: string;
1384
1433
  API_INTEGRATION: string;
1385
1434
  API_DOCUMENTATION: string;
1386
1435
  API_KEY: string;
@@ -1414,6 +1463,36 @@ export declare const translations: {
1414
1463
  cancel: string;
1415
1464
  'attachment-failed': string;
1416
1465
  };
1466
+ system: {
1467
+ PROPOSED: string;
1468
+ DISMISSED: string;
1469
+ REQUESTED: string;
1470
+ REVIEW_STARTED: string;
1471
+ OFFER_SENT: string;
1472
+ OFFER_WITHDRAWN: string;
1473
+ OFFER_DECLINED: string;
1474
+ OFFER_EXPIRED: string;
1475
+ ACCEPTED: string;
1476
+ ENVELOPE_GRANTED: string;
1477
+ ENVELOPE_EXPIRED: string;
1478
+ PLAN_GRANTED: string;
1479
+ PLAN_ENDING: string;
1480
+ PLAN_KEPT: string;
1481
+ PLAN_REVERTED: string;
1482
+ CRITERION_WARNING: string;
1483
+ AT_RISK: string;
1484
+ RECOVERED: string;
1485
+ GRACE_ENDED: string;
1486
+ GRACE_EXTENDED: string;
1487
+ REVOKED: string;
1488
+ ENDING_SOON: string;
1489
+ EXPIRED: string;
1490
+ RENEWAL_REQUESTED: string;
1491
+ REQUEST_WITHDRAWN: string;
1492
+ REJECTED: string;
1493
+ THRESHOLDS_CHANGED: string;
1494
+ LEGAL_DOCS_REVIEWED: string;
1495
+ };
1417
1496
  detail: {
1418
1497
  description: string;
1419
1498
  'unknown-user': string;
@@ -2238,6 +2317,54 @@ export declare const translations: {
2238
2317
  title: string;
2239
2318
  content: string;
2240
2319
  };
2320
+ "funding-proposed": {
2321
+ title: string;
2322
+ content: string;
2323
+ };
2324
+ "funding-offer-sent": {
2325
+ title: string;
2326
+ content: string;
2327
+ };
2328
+ "funding-offer-expiring": {
2329
+ title: string;
2330
+ content: string;
2331
+ };
2332
+ "funding-activated": {
2333
+ title: string;
2334
+ content: string;
2335
+ };
2336
+ "funding-request-rejected": {
2337
+ title: string;
2338
+ content: string;
2339
+ };
2340
+ "funding-criterion-warning": {
2341
+ title: string;
2342
+ content: string;
2343
+ };
2344
+ "funding-at-risk": {
2345
+ title: string;
2346
+ content: string;
2347
+ };
2348
+ "funding-recovered": {
2349
+ title: string;
2350
+ content: string;
2351
+ };
2352
+ "funding-revoked": {
2353
+ title: string;
2354
+ content: string;
2355
+ };
2356
+ "funding-ending": {
2357
+ title: string;
2358
+ content: string;
2359
+ };
2360
+ "funding-plan-ending": {
2361
+ title: string;
2362
+ content: string;
2363
+ };
2364
+ "funding-expired": {
2365
+ title: string;
2366
+ content: string;
2367
+ };
2241
2368
  "board-card-late": {
2242
2369
  title: string;
2243
2370
  content: string;
@@ -3528,6 +3655,7 @@ export declare const translations: {
3528
3655
  BILLING_REFUND: string;
3529
3656
  BILLING_TRIAL: string;
3530
3657
  BILLING_COMMERCIAL_GESTURE: string;
3658
+ FUNDING_PROGRAMME: string;
3531
3659
  API_INTEGRATION: string;
3532
3660
  API_DOCUMENTATION: string;
3533
3661
  API_KEY: string;
@@ -3561,6 +3689,36 @@ export declare const translations: {
3561
3689
  cancel: string;
3562
3690
  'attachment-failed': string;
3563
3691
  };
3692
+ system: {
3693
+ PROPOSED: string;
3694
+ DISMISSED: string;
3695
+ REQUESTED: string;
3696
+ REVIEW_STARTED: string;
3697
+ OFFER_SENT: string;
3698
+ OFFER_WITHDRAWN: string;
3699
+ OFFER_DECLINED: string;
3700
+ OFFER_EXPIRED: string;
3701
+ ACCEPTED: string;
3702
+ ENVELOPE_GRANTED: string;
3703
+ ENVELOPE_EXPIRED: string;
3704
+ PLAN_GRANTED: string;
3705
+ PLAN_ENDING: string;
3706
+ PLAN_KEPT: string;
3707
+ PLAN_REVERTED: string;
3708
+ CRITERION_WARNING: string;
3709
+ AT_RISK: string;
3710
+ RECOVERED: string;
3711
+ GRACE_ENDED: string;
3712
+ GRACE_EXTENDED: string;
3713
+ REVOKED: string;
3714
+ ENDING_SOON: string;
3715
+ EXPIRED: string;
3716
+ RENEWAL_REQUESTED: string;
3717
+ REQUEST_WITHDRAWN: string;
3718
+ REJECTED: string;
3719
+ THRESHOLDS_CHANGED: string;
3720
+ LEGAL_DOCS_REVIEWED: string;
3721
+ };
3564
3722
  detail: {
3565
3723
  description: string;
3566
3724
  'unknown-user': string;
@@ -1,5 +1,5 @@
1
- import { L as M, E as X, a as h, C as E } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.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,
@@ -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 "./index-CNMUrFys.js";
2
- import { html as j } from "./index-BcUA-oDy.js";
3
- import { L as X, E as p } from "./index-F67JSDx7.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 "./index-CuOhAUX-.js";
2
+ import { html as j } from "./index-CMTzmSRJ.js";
3
+ import { L as X, E as p } from "./index-gVg-FLmC.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,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./index-CNMUrFys.js";
2
- import { html as c } from "./index-BcUA-oDy.js";
3
- import { javascriptLanguage as i } from "./index-CTkBexi5.js";
4
- import { L as R, E as p } from "./index-F67JSDx7.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./index-CuOhAUX-.js";
2
+ import { html as c } from "./index-CMTzmSRJ.js";
3
+ import { javascriptLanguage as i } from "./index-5hIRSHTc.js";
4
+ import { L as R, E as p } from "./index-gVg-FLmC.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 { 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 "./index-CNMUrFys.js";
2
- import { L as n } from "./index-F67JSDx7.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 "./index-CuOhAUX-.js";
2
+ import { L as n } from "./index-gVg-FLmC.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 r } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
1
+ import { L as r } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,
@@ -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 "./index-CNMUrFys.js";
2
- import { L as de, E as me } from "./index-F67JSDx7.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 "./index-CuOhAUX-.js";
2
+ import { L as de, E as me } from "./index-gVg-FLmC.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 { L as D, E as h, C as L } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
1
+ import { L as D, E as h, C as L } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.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 s } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
1
+ import { L as s } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
3
- import { cssLanguage as J, css as _e } from "./index-By24n0PI.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-CTkBexi5.js";
1
+ import { L as be, E as $, C as Pe } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.js";
3
+ import { cssLanguage as J, css as _e } from "./index-DZ5svQvp.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-5hIRSHTc.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 G, E as A, C as N } from "./index-F67JSDx7.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 "./index-CNMUrFys.js";
1
+ import { L as G, E as A, C as N } from "./index-gVg-FLmC.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 "./index-CuOhAUX-.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;