@abyss-project/commons-front-core 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/{CookieConsentSettings.component-BLgzLD-Z.js → CookieConsentSettings.component-CSf_M5Gx.js} +6 -0
  2. package/dist/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +25 -0
  3. package/dist/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts +1 -0
  4. package/dist/components/CompanySearchAutocomplete/index.d.ts +2 -0
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/cookie-consent.js +1 -1
  7. package/dist/hooks/use-rich-intl.hook.d.ts +14 -0
  8. package/dist/{index-Bhok95RO.js → index-6vOdokCY.js} +2 -2
  9. package/dist/{index-x_CknZJ4.js → index-AUELqW5Y.js} +4 -4
  10. package/dist/{index-BBH7n9Up.js → index-AwC_8lIT.js} +4 -4
  11. package/dist/{index-DucVTPTi.js → index-B7EugME7.js} +2 -2
  12. package/dist/{index-B4s0xpO9.js → index-BOqcEEHH.js} +3 -3
  13. package/dist/{index-C2iksP8T.js → index-BSRrH_Gr.js} +2 -2
  14. package/dist/{index-Dfs8HrMj.js → index-BToZYvup.js} +2 -2
  15. package/dist/{index-CKXa4BvM.js → index-BlCa_Vlr.js} +2 -2
  16. package/dist/{index-BjbDo-BN.js → index-BoYupKIh.js} +11259 -11050
  17. package/dist/{index-Dn5fa9DE.js → index-BtiGEZHC.js} +3 -3
  18. package/dist/{index-DKSA-U8A.js → index-C2a_Y6jF.js} +2 -2
  19. package/dist/{index-Dt86SHUY.js → index-CCphPqf4.js} +2 -2
  20. package/dist/{index-DqW8ipJ0.js → index-CD9GifGt.js} +2 -2
  21. package/dist/{index-CoGr-vvT.js → index-CDWityvJ.js} +3 -3
  22. package/dist/{index-DQ6hF6bv.js → index-CFVsaKv5.js} +4 -4
  23. package/dist/{index-Cw4n4Q97.js → index-CtSA_KxY.js} +2 -2
  24. package/dist/{index-TJMhsU_S.js → index-D7WU-N9n.js} +2 -2
  25. package/dist/{index-DVDFaXUS.js → index-DUGpZohv.js} +2 -2
  26. package/dist/{index-BbuvDSp0.js → index-DrHXb1cg.js} +2 -2
  27. package/dist/{index-Ci9slz4U.js → index-GhkzA3Z-.js} +2 -2
  28. package/dist/{index-13QCr6ei.js → index-RBcLmJfD.js} +1 -1
  29. package/dist/{index-BI7XXRdP.js → index-iw6ikhdy.js} +3 -3
  30. package/dist/index.js +185 -184
  31. package/dist/translations/en.d.ts +3 -0
  32. package/dist/translations/fr.d.ts +3 -0
  33. package/package.json +3 -3
@@ -1177,6 +1177,9 @@ const Bs = {
1177
1177
  "open-button-tooltip": "Cliquer pour ajouter un commentaire"
1178
1178
  }
1179
1179
  },
1180
+ "company-search-autocomplete": {
1181
+ error: "La recherche d'entreprise est momentanément indisponible. Réessayez dans un instant."
1182
+ },
1180
1183
  family: {
1181
1184
  banner: {
1182
1185
  "no-family": "Pas encore de famille",
@@ -2407,6 +2410,9 @@ const Bs = {
2407
2410
  "open-button-tooltip": "Click to add a comment"
2408
2411
  }
2409
2412
  },
2413
+ "company-search-autocomplete": {
2414
+ error: "Company search is temporarily unavailable. Try again in a moment."
2415
+ },
2410
2416
  support: {
2411
2417
  status: {
2412
2418
  OPEN: "Open",
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ export type PappersCompany = {
3
+ siren: string;
4
+ nom_entreprise: string;
5
+ date_creation: string;
6
+ forme_juridique?: string;
7
+ domaine_activite?: string;
8
+ siege?: {
9
+ adresse?: string;
10
+ code_postal?: string;
11
+ ville?: string;
12
+ departement?: string;
13
+ pays?: string;
14
+ };
15
+ };
16
+ export interface CompanySearchAutocompleteProps {
17
+ value: string;
18
+ onInputChange: (value: string) => void;
19
+ onSelect: (company: PappersCompany) => void;
20
+ disabled?: boolean;
21
+ size?: 'small' | 'medium';
22
+ label?: string;
23
+ placeholder?: string;
24
+ }
25
+ export declare const CompanySearchAutocomplete: React.FC<CompanySearchAutocompleteProps>;
@@ -0,0 +1,2 @@
1
+ export { CompanySearchAutocomplete } from './CompanySearchAutocomplete';
2
+ export type { CompanySearchAutocompleteProps, PappersCompany, } from './CompanySearchAutocomplete';
@@ -4,6 +4,7 @@ export * from './Cards';
4
4
  export * from './Charts';
5
5
  export * from './Chips';
6
6
  export * from './CommandPalette';
7
+ export * from './CompanySearchAutocomplete';
7
8
  export * from './CookieConsent';
8
9
  export * from './Data';
9
10
  export * from './InfoBox';
@@ -1,4 +1,4 @@
1
- import { A as s, c as a, C as n, a as C, D as i, R as t, V as r, d as A, f as k, r as c, e as l, u as D, b as E, w as I } from "./CookieConsentSettings.component-BLgzLD-Z.js";
1
+ import { A as s, c as a, C as n, a as C, D as i, R as t, V as r, d as A, f as k, r as c, e as l, u as D, b as E, w as I } from "./CookieConsentSettings.component-CSf_M5Gx.js";
2
2
  export {
3
3
  s as AbyssCookieConsentProvider,
4
4
  a as COOKIE_NAME,
@@ -230,6 +230,10 @@ export declare const translations: {
230
230
  title: string;
231
231
  content: string;
232
232
  };
233
+ "internal-ticket-follower-added": {
234
+ title: string;
235
+ content: string;
236
+ };
233
237
  };
234
238
  };
235
239
  };
@@ -1216,6 +1220,9 @@ export declare const translations: {
1216
1220
  'open-button-tooltip': string;
1217
1221
  };
1218
1222
  };
1223
+ 'company-search-autocomplete': {
1224
+ error: string;
1225
+ };
1219
1226
  family: {
1220
1227
  banner: {
1221
1228
  'no-family': string;
@@ -1690,6 +1697,10 @@ export declare const translations: {
1690
1697
  title: string;
1691
1698
  content: string;
1692
1699
  };
1700
+ "internal-ticket-follower-added": {
1701
+ title: string;
1702
+ content: string;
1703
+ };
1693
1704
  };
1694
1705
  };
1695
1706
  };
@@ -2676,6 +2687,9 @@ export declare const translations: {
2676
2687
  'open-button-tooltip': string;
2677
2688
  };
2678
2689
  };
2690
+ 'company-search-autocomplete': {
2691
+ error: string;
2692
+ };
2679
2693
  support: {
2680
2694
  status: {
2681
2695
  OPEN: string;
@@ -1,5 +1,5 @@
1
- import { L as G, E as A, C as N } from "./index-13QCr6ei.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-BjbDo-BN.js";
1
+ import { L as G, E as A, C as N } from "./index-RBcLmJfD.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-BoYupKIh.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 { L as be, E as $, C as Pe } from "./index-13QCr6ei.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-BjbDo-BN.js";
3
- import { cssLanguage as J, css as _e } from "./index-Dfs8HrMj.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-Ci9slz4U.js";
1
+ import { L as be, E as $, C as Pe } from "./index-RBcLmJfD.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-BoYupKIh.js";
3
+ import { cssLanguage as J, css as _e } from "./index-BToZYvup.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-GhkzA3Z-.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,7 +1,7 @@
1
- import { a as p, L as u, p as n, s as l, t as e } from "./index-BjbDo-BN.js";
2
- import { html as m } from "./index-x_CknZJ4.js";
3
- import { javascriptLanguage as b } from "./index-Ci9slz4U.js";
4
- import { L as S, a as r } from "./index-13QCr6ei.js";
1
+ import { a as p, L as u, p as n, s as l, t as e } from "./index-BoYupKIh.js";
2
+ import { html as m } from "./index-AUELqW5Y.js";
3
+ import { javascriptLanguage as b } from "./index-GhkzA3Z-.js";
4
+ import { L as S, a as r } from "./index-RBcLmJfD.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,5 +1,5 @@
1
- import { L as s } from "./index-13QCr6ei.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-BjbDo-BN.js";
1
+ import { L as s } from "./index-RBcLmJfD.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-BoYupKIh.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -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-BjbDo-BN.js";
2
- import { html as j } from "./index-x_CknZJ4.js";
3
- import { L as X, E as p } from "./index-13QCr6ei.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-BoYupKIh.js";
2
+ import { html as j } from "./index-AUELqW5Y.js";
3
+ import { L as X, E as p } from "./index-RBcLmJfD.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 "./index-BjbDo-BN.js";
2
- import { L as n } from "./index-13QCr6ei.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-BoYupKIh.js";
2
+ import { L as n } from "./index-RBcLmJfD.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 w, E as p, a as Y } from "./index-13QCr6ei.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 "./index-BjbDo-BN.js";
1
+ import { L as w, E as p, a as Y } from "./index-RBcLmJfD.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 "./index-BoYupKIh.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-13QCr6ei.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-BjbDo-BN.js";
1
+ import { L as D, E as h, C as L } from "./index-RBcLmJfD.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-BoYupKIh.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,