@getsoren/shared-module 2.69.0 → 2.69.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 (65) hide show
  1. package/dist/documentImport.js +2 -2
  2. package/dist/events.js +1 -1
  3. package/dist/hourSheets.js +2 -2
  4. package/dist/main.d.ts +6 -6
  5. package/dist/main.js +371 -371
  6. package/dist/{context → modules/chat/context}/ChatProvider.d.ts +1 -1
  7. package/dist/{hooks → modules/chat/hooks}/useChat.d.ts +1 -1
  8. package/dist/{sheetLines-DzQEyJOO.js → sheetLines-DECsEz55.js} +1 -1
  9. package/package.json +4 -4
  10. /package/dist/{chat → modules/chat}/ChatClient.d.ts +0 -0
  11. /package/dist/{chat → modules/chat}/tests/ChatClient.test.d.ts +0 -0
  12. /package/dist/{chat → modules/chat}/types.d.ts +0 -0
  13. /package/dist/{documentImport → modules/documentImport}/index.d.ts +0 -0
  14. /package/dist/{documentImport → modules/documentImport}/types.d.ts +0 -0
  15. /package/dist/{documentImport → modules/documentImport}/utils/matching/matching.d.ts +0 -0
  16. /package/dist/{documentImport → modules/documentImport}/utils/matching/matching.test.d.ts +0 -0
  17. /package/dist/{documentImport → modules/documentImport}/utils/proposals/proposals.d.ts +0 -0
  18. /package/dist/{documentImport → modules/documentImport}/utils/proposals/proposals.test.d.ts +0 -0
  19. /package/dist/{documentImport → modules/documentImport}/utils/reading/reading.d.ts +0 -0
  20. /package/dist/{documentImport → modules/documentImport}/utils/reading/reading.test.d.ts +0 -0
  21. /package/dist/{events → modules/events}/catalog/clientEvents.d.ts +0 -0
  22. /package/dist/{events → modules/events}/catalog/supplierEvents.d.ts +0 -0
  23. /package/dist/{events → modules/events}/constants.d.ts +0 -0
  24. /package/dist/{events → modules/events}/hooks/useEventDeclaration/useEventDeclaration.d.ts +0 -0
  25. /package/dist/{events → modules/events}/hooks/useEventDeclaration/useEventDeclaration.test.d.ts +0 -0
  26. /package/dist/{events → modules/events}/index.d.ts +0 -0
  27. /package/dist/{events → modules/events}/locales/ar.d.ts +0 -0
  28. /package/dist/{events → modules/events}/locales/de.d.ts +0 -0
  29. /package/dist/{events → modules/events}/locales/en.d.ts +0 -0
  30. /package/dist/{events → modules/events}/locales/es.d.ts +0 -0
  31. /package/dist/{events → modules/events}/locales/fr.d.ts +0 -0
  32. /package/dist/{events → modules/events}/locales/it.d.ts +0 -0
  33. /package/dist/{events → modules/events}/locales/locales.d.ts +0 -0
  34. /package/dist/{events → modules/events}/locales/pt.d.ts +0 -0
  35. /package/dist/{events → modules/events}/tenants/bouygues/bouygues.d.ts +0 -0
  36. /package/dist/{events → modules/events}/tenants/index.d.ts +0 -0
  37. /package/dist/{events → modules/events}/tenants/tenants.test.d.ts +0 -0
  38. /package/dist/{events → modules/events}/types.d.ts +0 -0
  39. /package/dist/{events → modules/events}/utils/amounts/amounts.d.ts +0 -0
  40. /package/dist/{events → modules/events}/utils/amounts/amounts.test.d.ts +0 -0
  41. /package/dist/{events → modules/events}/utils/credits/credits.d.ts +0 -0
  42. /package/dist/{events → modules/events}/utils/credits/credits.test.d.ts +0 -0
  43. /package/dist/{events → modules/events}/utils/lineFunnel/lineFunnel.d.ts +0 -0
  44. /package/dist/{events → modules/events}/utils/lineFunnel/lineFunnel.test.d.ts +0 -0
  45. /package/dist/{events → modules/events}/utils/payload/payload.d.ts +0 -0
  46. /package/dist/{events → modules/events}/utils/payload/payload.test.d.ts +0 -0
  47. /package/dist/{events → modules/events}/utils/readEvent/readEvent.d.ts +0 -0
  48. /package/dist/{events → modules/events}/utils/readEvent/readEvent.test.d.ts +0 -0
  49. /package/dist/{events → modules/events}/utils/steps/steps.d.ts +0 -0
  50. /package/dist/{events → modules/events}/utils/steps/steps.test.d.ts +0 -0
  51. /package/dist/{hourSheets → modules/hourSheets}/constants.d.ts +0 -0
  52. /package/dist/{hourSheets → modules/hourSheets}/index.d.ts +0 -0
  53. /package/dist/{hourSheets → modules/hourSheets}/types.d.ts +0 -0
  54. /package/dist/{hourSheets → modules/hourSheets}/utils/billingReferences/billingReferences.d.ts +0 -0
  55. /package/dist/{hourSheets → modules/hourSheets}/utils/billingReferences/billingReferences.test.d.ts +0 -0
  56. /package/dist/{hourSheets → modules/hourSheets}/utils/imputation/imputation.d.ts +0 -0
  57. /package/dist/{hourSheets → modules/hourSheets}/utils/imputation/imputation.test.d.ts +0 -0
  58. /package/dist/{hourSheets → modules/hourSheets}/utils/readCostCentres/readCostCentres.d.ts +0 -0
  59. /package/dist/{hourSheets → modules/hourSheets}/utils/readCostCentres/readCostCentres.test.d.ts +0 -0
  60. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetBlocker/sheetBlocker.d.ts +0 -0
  61. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetBlocker/sheetBlocker.test.d.ts +0 -0
  62. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetDays/sheetDays.d.ts +0 -0
  63. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetDays/sheetDays.test.d.ts +0 -0
  64. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetLines/sheetLines.d.ts +0 -0
  65. /package/dist/{hourSheets → modules/hourSheets}/utils/sheetLines/sheetLines.test.d.ts +0 -0
@@ -1,8 +1,8 @@
1
1
  import { s as e } from "./operator-Cj1X_Zg5.js";
2
- import { s as t } from "./sheetLines-DzQEyJOO.js";
2
+ import { s as t } from "./sheetLines-DECsEz55.js";
3
3
  import { normalizeSearch as n, roundToHundredths as r, toNumberOrNull as i } from "@getsoren/react-utils";
4
4
  import a from "dayjs";
5
- //#region src/documentImport/utils/matching/matching.ts
5
+ //#region src/modules/documentImport/utils/matching/matching.ts
6
6
  var o = {
7
7
  dateMet: 2,
8
8
  machineFamily: 1,
package/dist/events.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { useMemo as e, useState as t } from "react";
2
- //#region src/events/constants.ts
2
+ //#region src/modules/events/constants.ts
3
3
  var n = "eventDeclaration", r = "soren-event", i = 2, a = {
4
4
  date: "date",
5
5
  dates: "dates",
@@ -1,6 +1,6 @@
1
- import { C as e, D as t, E as n, S as r, T as i, _ as a, a as o, b as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, v as C, w, x as T, y as E } from "./sheetLines-DzQEyJOO.js";
1
+ import { C as e, D as t, E as n, S as r, T as i, _ as a, a as o, b as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, v as C, w, x as T, y as E } from "./sheetLines-DECsEz55.js";
2
2
  import D from "dayjs";
3
- //#region src/hourSheets/utils/billingReferences/billingReferences.ts
3
+ //#region src/modules/hourSheets/utils/billingReferences/billingReferences.ts
4
4
  var O = "active", k = (e) => e.filter(({ status: e }) => e === O).map(({ id: e, reference: t }) => ({
5
5
  label: t,
6
6
  value: e
package/dist/main.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export { default as ChatClient } from './chat/ChatClient';
2
- export * from './chat/types';
3
1
  export * from './components/Inputs/MaskTextField';
4
2
  export { default as MaskTextField } from './components/Inputs/MaskTextField';
5
3
  export * from './components/Utils/AutoReloadOnNewVersion';
@@ -23,8 +21,6 @@ export { default as RequireAuth } from './components/Utils/RequireAuth';
23
21
  export * from './components/Utils/ShowHubSpotBubble';
24
22
  export { default as ShowHubSpotBubble } from './components/Utils/ShowHubSpotBubble';
25
23
  export * from './constants/sentry';
26
- export * from './context/ChatProvider';
27
- export { default as ChatProvider } from './context/ChatProvider';
28
24
  export * from './context/InjectDependenciesProvider';
29
25
  export { default as InjectDependenciesProvider } from './context/InjectDependenciesProvider';
30
26
  export { default as QueryProvider } from './context/QueryProvider';
@@ -34,8 +30,6 @@ export * from './hooks/useAmplitude';
34
30
  export { default as useAmplitude } from './hooks/useAmplitude';
35
31
  export * from './hooks/useAuth';
36
32
  export { default as useAuth } from './hooks/useAuth';
37
- export * from './hooks/useChat';
38
- export { default as useChat } from './hooks/useChat';
39
33
  export * from './hooks/useCurrentLanguage/useCurrentLanguage';
40
34
  export { default as useCurrentLanguage } from './hooks/useCurrentLanguage/useCurrentLanguage';
41
35
  export * from './hooks/useFilters';
@@ -46,6 +40,12 @@ export * from './hooks/useInfiniteDataGrid';
46
40
  export { default as useInfiniteDataGrid } from './hooks/useInfiniteDataGrid';
47
41
  export * from './hooks/useResponseError/useResponseError';
48
42
  export { default as useResponseError } from './hooks/useResponseError/useResponseError';
43
+ export { default as ChatClient } from './modules/chat/ChatClient';
44
+ export * from './modules/chat/context/ChatProvider';
45
+ export { default as ChatProvider } from './modules/chat/context/ChatProvider';
46
+ export * from './modules/chat/hooks/useChat';
47
+ export { default as useChat } from './modules/chat/hooks/useChat';
48
+ export * from './modules/chat/types';
49
49
  export { default as getOrvalConfig } from './orval/orval';
50
50
  export * from './utils/adapter/articleNameAdapter/articleNameAdapter';
51
51
  export { default as articleNameAdapter } from './utils/adapter/articleNameAdapter/articleNameAdapter';