@abyss-project/commons-front-core 9.6.0 → 10.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 (161) hide show
  1. package/README.md +334 -315
  2. package/catalog/catalog-entries.ts +2 -0
  3. package/catalog/pages/MarkdownEditor.tsx +48 -0
  4. package/catalog/pages/PdfEditor.tsx +153 -0
  5. package/catalog/pages/index.ts +4 -0
  6. package/dist/AbyssCloud-IuD91X6C.js +2949 -0
  7. package/dist/{AbyssCookieConsentProvider-D-HRRYCd.js → AbyssCookieConsentProvider-DTHchhfw.js} +2038 -1387
  8. package/dist/{CookieConsentSettings.component-iG_abYsq.js → CookieConsentSettings.component-D13TqxZl.js} +1 -1
  9. package/dist/Tabs-CZQ1JYlW.js +2315 -0
  10. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  11. package/dist/auth/client/web-bridge.d.ts +6 -0
  12. package/dist/auth/components/AuthFlow/AuthFlow.component.d.ts +9 -2
  13. package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +5 -0
  14. package/dist/auth/components/AuthFlow/steps/EmailStep.component.d.ts +4 -1
  15. package/dist/auth/components/index.d.ts +1 -0
  16. package/dist/auth/components/shared/auth-errors.d.ts +1 -0
  17. package/dist/auth-client.js +1 -1
  18. package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +19 -0
  19. package/dist/components/editors/MarkdownEditor/crepe-labels.d.ts +17 -0
  20. package/dist/components/editors/MarkdownEditor/index.d.ts +2 -0
  21. package/dist/components/editors/MarkdownEditor/markdown-theme.d.ts +7 -0
  22. package/dist/components/editors/PdfEditor/PdfEditor.d.ts +9 -0
  23. package/dist/components/editors/PdfEditor/engine/open-pdf-document.d.ts +8 -0
  24. package/dist/components/editors/PdfEditor/engine/operations/redact.spec.d.ts +1 -0
  25. package/dist/components/editors/PdfEditor/engine/operations/reducer.spec.d.ts +1 -0
  26. package/dist/components/editors/PdfEditor/engine/operations/rotate-coords.spec.d.ts +1 -0
  27. package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/types.d.ts +1 -1
  28. package/dist/components/editors/PdfEditor/index.d.ts +3 -0
  29. package/dist/components/editors/PdfEditor/pdf-colors.d.ts +26 -0
  30. package/dist/components/editors/PdfEditor/pdf-colors.spec.d.ts +1 -0
  31. package/dist/components/editors/PdfEditor/signature/SignatureDrawPad.d.ts +15 -0
  32. package/dist/components/editors/PdfEditor/signature/SignaturePicker.d.ts +31 -0
  33. package/dist/components/editors/PdfEditor/signature/SignaturePicker.spec.d.ts +1 -0
  34. package/dist/components/editors/PdfEditor/signature/SignatureSaveButton.d.ts +14 -0
  35. package/dist/components/editors/PdfEditor/signature/SignatureSavedList.d.ts +19 -0
  36. package/dist/components/editors/PdfEditor/signature/SignatureUploadPanel.d.ts +14 -0
  37. package/dist/components/editors/PdfEditor/signature/resolve-asset.d.ts +19 -0
  38. package/dist/components/editors/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
  39. package/dist/components/editors/PdfEditor/signature/test-support/pdf-editor-test-harness.d.ts +28 -0
  40. package/dist/components/editors/PdfEditor/toolbar/EraserIcon.d.ts +3 -0
  41. package/dist/components/editors/PdfEditor/toolbar/GroupPanel.d.ts +17 -0
  42. package/dist/components/editors/PdfEditor/toolbar/PanelRow.d.ts +14 -0
  43. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +65 -0
  44. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.spec.d.ts +1 -0
  45. package/dist/components/editors/PdfEditor/toolbar/SavedAssets.d.ts +24 -0
  46. package/dist/components/editors/PdfEditor/toolbar/ToolGroupButton.d.ts +20 -0
  47. package/dist/components/editors/PdfEditor/toolbar/tool-groups.d.ts +34 -0
  48. package/dist/components/editors/PdfEditor/toolbar/tool-options/DrawOptions.d.ts +6 -0
  49. package/dist/components/editors/PdfEditor/toolbar/tool-options/FillFieldsOptions.d.ts +13 -0
  50. package/dist/components/editors/PdfEditor/toolbar/tool-options/HighlightOptions.d.ts +6 -0
  51. package/dist/components/editors/PdfEditor/toolbar/tool-options/RedactOptions.d.ts +6 -0
  52. package/dist/components/editors/PdfEditor/toolbar/tool-options/ShapeOptions.d.ts +6 -0
  53. package/dist/components/editors/PdfEditor/toolbar/tool-options/SignatureOptions.d.ts +5 -0
  54. package/dist/components/editors/PdfEditor/toolbar/tool-options/TextOptions.d.ts +6 -0
  55. package/dist/components/editors/PdfEditor/toolbar/tool-options/ToolOptions.d.ts +14 -0
  56. package/dist/components/editors/PdfEditor/toolbar/tool-options/swatches.d.ts +2 -0
  57. package/dist/components/editors/PdfEditor/toolbar/tool-settings.d.ts +14 -0
  58. package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.d.ts +14 -0
  59. package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.spec.d.ts +1 -0
  60. package/dist/components/editors/PdfEditor/viewer/InsertPagesDialog.d.ts +28 -0
  61. package/dist/components/editors/PdfEditor/viewer/PageOverlay.d.ts +37 -0
  62. package/dist/components/editors/PdfEditor/viewer/PageOverlay.spec.d.ts +1 -0
  63. package/dist/components/editors/PdfEditor/viewer/PageSidebar.d.ts +16 -0
  64. package/dist/components/editors/PdfEditor/viewer/PageSidebar.spec.d.ts +1 -0
  65. package/dist/components/editors/PdfEditor/viewer/PageThumbnail.d.ts +16 -0
  66. package/dist/components/editors/PdfEditor/viewer/PdfCanvas.d.ts +26 -0
  67. package/dist/components/editors/PdfEditor/viewer/PdfCanvas.spec.d.ts +1 -0
  68. package/dist/components/editors/PdfEditor/viewer/ViewerControls.d.ts +21 -0
  69. package/dist/components/editors/PdfEditor/viewer/ViewerControls.spec.d.ts +1 -0
  70. package/dist/components/editors/PdfEditor/viewer/test-support/viewer-test-harness.d.ts +30 -0
  71. package/dist/components/editors/editors-guard.spec.d.ts +1 -0
  72. package/dist/components/editors/index.d.ts +2 -0
  73. package/dist/components/inputs/DropZone/DropZone.d.ts +6 -1
  74. package/dist/components/layers/ProductTour/product-tour-geometry.d.ts +2 -0
  75. package/dist/components/structure/AccountMenu/AccountMenu.d.ts +2 -1
  76. package/dist/components/structure/AppShell/app-shell.types.d.ts +5 -0
  77. package/dist/cookie-consent.js +2 -2
  78. package/dist/{design-theme-Cz9YXXYF.js → design-theme-BGMTwRaP.js} +9279 -12219
  79. package/dist/editors.d.ts +1 -0
  80. package/dist/editors.js +5151 -0
  81. package/dist/hooks/use-rich-intl.hook.d.ts +702 -0
  82. package/dist/{index-C4zd0qai.js → index-40JUFFwY.js} +3 -3
  83. package/dist/{index-hmLJVQI5.js → index-B9pFhQQG.js} +2 -2
  84. package/dist/{index-BmNsW-7e.js → index-BFBonBC2.js} +4 -4
  85. package/dist/{index-CtIh_DWT.js → index-BUqYHWKw.js} +3 -3
  86. package/dist/{index-DP-wuPBm.js → index-BcRgJqSB.js} +2 -2
  87. package/dist/{index-122nruW2.js → index-BlhbGVkk.js} +2 -2
  88. package/dist/{index-uctTt51v.js → index-BsOQZ-n8.js} +2 -2
  89. package/dist/{index-Bx3HHL-R.js → index-CBrydj4V.js} +2 -2
  90. package/dist/{index-Dodsh0PI.js → index-CM-90k5s.js} +3 -3
  91. package/dist/{index-D4RSXnjv.js → index-Cccq9d1E.js} +2 -2
  92. package/dist/{index-D-Sa8nQo.js → index-CdL2MLmd.js} +3 -3
  93. package/dist/{index-71ZKDT76.js → index-D0EC1_iy.js} +4 -4
  94. package/dist/{index-CfMACXTF.js → index-D7AFc1sX.js} +2 -2
  95. package/dist/{index-DIW1zdfO.js → index-Dk1JTU4K.js} +2 -2
  96. package/dist/{index-XQsb7DVh.js → index-Dop3xXC3.js} +1 -1
  97. package/dist/{index-ri1JKKHf.js → index-DqAkOKf8.js} +2 -2
  98. package/dist/{index-D5lR_Znk.js → index-JEsamj6m.js} +2 -2
  99. package/dist/{index-y2047KCu.js → index-kfzQWNLP.js} +2 -2
  100. package/dist/{index-ClFFE5ao.js → index-oBWWShwb.js} +2 -2
  101. package/dist/{index-B1LNfIcu.js → index-s2djh_x_.js} +2 -2
  102. package/dist/{index-BGjmUj-Y.js → index-tN8hz-IX.js} +4 -4
  103. package/dist/index.js +6124 -8229
  104. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +2 -1
  105. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +1 -0
  106. package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +1 -1
  107. package/dist/legacy/components/PdfEditor/index.d.ts +2 -2
  108. package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +1 -1
  109. package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +1 -1
  110. package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +1 -1
  111. package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +1 -1
  112. package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +1 -1
  113. package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +1 -1
  114. package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +1 -1
  115. package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +1 -1
  116. package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +1 -1
  117. package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +1 -1
  118. package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +1 -1
  119. package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +1 -1
  120. package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +1 -1
  121. package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +2 -2
  122. package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +2 -2
  123. package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +1 -1
  124. package/dist/legacy.js +26787 -209
  125. package/dist/rum/AbyssRumProvider.d.ts +5 -2
  126. package/dist/rum/abyss-rum-report.context.d.ts +14 -0
  127. package/dist/rum/index.d.ts +1 -0
  128. package/dist/rum/report-locale.d.ts +3 -0
  129. package/dist/rum/report-locale.spec.d.ts +1 -0
  130. package/dist/rum/track-key-action.d.ts +7 -0
  131. package/dist/rum/track-key-action.spec.d.ts +1 -0
  132. package/dist/sortable.esm-DM2HNEC7.js +69322 -0
  133. package/dist/translations/editors-i18n.spec.d.ts +1 -0
  134. package/dist/translations/en.d.ts +327 -0
  135. package/dist/translations/fr.d.ts +327 -0
  136. package/dist/{use-auth.hook-oRxzI95f.js → use-auth.hook-D8vfSYRv.js} +101 -101
  137. package/package.json +16 -9
  138. package/vite.config.ts +4 -0
  139. package/dist/index-DNe1tEo2.js +0 -95914
  140. package/test-results/catalog/.last-run.json +0 -4
  141. /package/dist/{legacy/components/PdfEditor/operations/apply.spec.d.ts → auth/components/shared/auth-errors.spec.d.ts} +0 -0
  142. /package/dist/{legacy/components/PdfEditor/operations/compute-page-order.spec.d.ts → components/editors/MarkdownEditor/MarkdownEditor.spec.d.ts} +0 -0
  143. /package/dist/{legacy/components/PdfEditor/operations/extract.spec.d.ts → components/editors/PdfEditor/PdfEditor.spec.d.ts} +0 -0
  144. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-acro-form-fields.d.ts +0 -0
  145. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-export.d.ts +0 -0
  146. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-page-order.d.ts +0 -0
  147. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-pdf-document.d.ts +0 -0
  148. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-undo-redo.d.ts +0 -0
  149. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-uploaded-docs.d.ts +0 -0
  150. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/actions.d.ts +0 -0
  151. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/apply.d.ts +0 -0
  152. /package/dist/{legacy/components/PdfEditor/operations/redact.spec.d.ts → components/editors/PdfEditor/engine/operations/apply.spec.d.ts} +0 -0
  153. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/compute-page-order.d.ts +0 -0
  154. /package/dist/{legacy/components/PdfEditor/operations/reducer.spec.d.ts → components/editors/PdfEditor/engine/operations/compute-page-order.spec.d.ts} +0 -0
  155. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/extract.d.ts +0 -0
  156. /package/dist/{legacy/components/PdfEditor/operations/rotate-coords.spec.d.ts → components/editors/PdfEditor/engine/operations/extract.spec.d.ts} +0 -0
  157. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/pdf-data-url.d.ts +0 -0
  158. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rasterize.d.ts +0 -0
  159. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/redact.d.ts +0 -0
  160. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/reducer.d.ts +0 -0
  161. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rotate-coords.d.ts +0 -0
@@ -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-D-HRRYCd.js";
4
+ import { g as R, u as x } from "./AbyssCookieConsentProvider-DTHchhfw.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(() => {