@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.
- package/README.md +334 -315
- package/catalog/catalog-entries.ts +2 -0
- package/catalog/pages/MarkdownEditor.tsx +48 -0
- package/catalog/pages/PdfEditor.tsx +153 -0
- package/catalog/pages/index.ts +4 -0
- package/dist/AbyssCloud-IuD91X6C.js +2949 -0
- package/dist/{AbyssCookieConsentProvider-D-HRRYCd.js → AbyssCookieConsentProvider-DTHchhfw.js} +2038 -1387
- package/dist/{CookieConsentSettings.component-iG_abYsq.js → CookieConsentSettings.component-D13TqxZl.js} +1 -1
- package/dist/Tabs-CZQ1JYlW.js +2315 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/auth/client/web-bridge.d.ts +6 -0
- package/dist/auth/components/AuthFlow/AuthFlow.component.d.ts +9 -2
- package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +5 -0
- package/dist/auth/components/AuthFlow/steps/EmailStep.component.d.ts +4 -1
- package/dist/auth/components/index.d.ts +1 -0
- package/dist/auth/components/shared/auth-errors.d.ts +1 -0
- package/dist/auth-client.js +1 -1
- package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +19 -0
- package/dist/components/editors/MarkdownEditor/crepe-labels.d.ts +17 -0
- package/dist/components/editors/MarkdownEditor/index.d.ts +2 -0
- package/dist/components/editors/MarkdownEditor/markdown-theme.d.ts +7 -0
- package/dist/components/editors/PdfEditor/PdfEditor.d.ts +9 -0
- package/dist/components/editors/PdfEditor/engine/open-pdf-document.d.ts +8 -0
- package/dist/components/editors/PdfEditor/engine/operations/redact.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/engine/operations/reducer.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/engine/operations/rotate-coords.spec.d.ts +1 -0
- package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/types.d.ts +1 -1
- package/dist/components/editors/PdfEditor/index.d.ts +3 -0
- package/dist/components/editors/PdfEditor/pdf-colors.d.ts +26 -0
- package/dist/components/editors/PdfEditor/pdf-colors.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/signature/SignatureDrawPad.d.ts +15 -0
- package/dist/components/editors/PdfEditor/signature/SignaturePicker.d.ts +31 -0
- package/dist/components/editors/PdfEditor/signature/SignaturePicker.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/signature/SignatureSaveButton.d.ts +14 -0
- package/dist/components/editors/PdfEditor/signature/SignatureSavedList.d.ts +19 -0
- package/dist/components/editors/PdfEditor/signature/SignatureUploadPanel.d.ts +14 -0
- package/dist/components/editors/PdfEditor/signature/resolve-asset.d.ts +19 -0
- package/dist/components/editors/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/signature/test-support/pdf-editor-test-harness.d.ts +28 -0
- package/dist/components/editors/PdfEditor/toolbar/EraserIcon.d.ts +3 -0
- package/dist/components/editors/PdfEditor/toolbar/GroupPanel.d.ts +17 -0
- package/dist/components/editors/PdfEditor/toolbar/PanelRow.d.ts +14 -0
- package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +65 -0
- package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/toolbar/SavedAssets.d.ts +24 -0
- package/dist/components/editors/PdfEditor/toolbar/ToolGroupButton.d.ts +20 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-groups.d.ts +34 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/DrawOptions.d.ts +6 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/FillFieldsOptions.d.ts +13 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/HighlightOptions.d.ts +6 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/RedactOptions.d.ts +6 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/ShapeOptions.d.ts +6 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/SignatureOptions.d.ts +5 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/TextOptions.d.ts +6 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/ToolOptions.d.ts +14 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-options/swatches.d.ts +2 -0
- package/dist/components/editors/PdfEditor/toolbar/tool-settings.d.ts +14 -0
- package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.d.ts +14 -0
- package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/viewer/InsertPagesDialog.d.ts +28 -0
- package/dist/components/editors/PdfEditor/viewer/PageOverlay.d.ts +37 -0
- package/dist/components/editors/PdfEditor/viewer/PageOverlay.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/viewer/PageSidebar.d.ts +16 -0
- package/dist/components/editors/PdfEditor/viewer/PageSidebar.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/viewer/PageThumbnail.d.ts +16 -0
- package/dist/components/editors/PdfEditor/viewer/PdfCanvas.d.ts +26 -0
- package/dist/components/editors/PdfEditor/viewer/PdfCanvas.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/viewer/ViewerControls.d.ts +21 -0
- package/dist/components/editors/PdfEditor/viewer/ViewerControls.spec.d.ts +1 -0
- package/dist/components/editors/PdfEditor/viewer/test-support/viewer-test-harness.d.ts +30 -0
- package/dist/components/editors/editors-guard.spec.d.ts +1 -0
- package/dist/components/editors/index.d.ts +2 -0
- package/dist/components/inputs/DropZone/DropZone.d.ts +6 -1
- package/dist/components/layers/ProductTour/product-tour-geometry.d.ts +2 -0
- package/dist/components/structure/AccountMenu/AccountMenu.d.ts +2 -1
- package/dist/components/structure/AppShell/app-shell.types.d.ts +5 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-Cz9YXXYF.js → design-theme-BGMTwRaP.js} +9279 -12219
- package/dist/editors.d.ts +1 -0
- package/dist/editors.js +5151 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +702 -0
- package/dist/{index-C4zd0qai.js → index-40JUFFwY.js} +3 -3
- package/dist/{index-hmLJVQI5.js → index-B9pFhQQG.js} +2 -2
- package/dist/{index-BmNsW-7e.js → index-BFBonBC2.js} +4 -4
- package/dist/{index-CtIh_DWT.js → index-BUqYHWKw.js} +3 -3
- package/dist/{index-DP-wuPBm.js → index-BcRgJqSB.js} +2 -2
- package/dist/{index-122nruW2.js → index-BlhbGVkk.js} +2 -2
- package/dist/{index-uctTt51v.js → index-BsOQZ-n8.js} +2 -2
- package/dist/{index-Bx3HHL-R.js → index-CBrydj4V.js} +2 -2
- package/dist/{index-Dodsh0PI.js → index-CM-90k5s.js} +3 -3
- package/dist/{index-D4RSXnjv.js → index-Cccq9d1E.js} +2 -2
- package/dist/{index-D-Sa8nQo.js → index-CdL2MLmd.js} +3 -3
- package/dist/{index-71ZKDT76.js → index-D0EC1_iy.js} +4 -4
- package/dist/{index-CfMACXTF.js → index-D7AFc1sX.js} +2 -2
- package/dist/{index-DIW1zdfO.js → index-Dk1JTU4K.js} +2 -2
- package/dist/{index-XQsb7DVh.js → index-Dop3xXC3.js} +1 -1
- package/dist/{index-ri1JKKHf.js → index-DqAkOKf8.js} +2 -2
- package/dist/{index-D5lR_Znk.js → index-JEsamj6m.js} +2 -2
- package/dist/{index-y2047KCu.js → index-kfzQWNLP.js} +2 -2
- package/dist/{index-ClFFE5ao.js → index-oBWWShwb.js} +2 -2
- package/dist/{index-B1LNfIcu.js → index-s2djh_x_.js} +2 -2
- package/dist/{index-BGjmUj-Y.js → index-tN8hz-IX.js} +4 -4
- package/dist/index.js +6124 -8229
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +2 -1
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/index.d.ts +2 -2
- package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +1 -1
- package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +2 -2
- package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +2 -2
- package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +1 -1
- package/dist/legacy.js +26787 -209
- package/dist/rum/AbyssRumProvider.d.ts +5 -2
- package/dist/rum/abyss-rum-report.context.d.ts +14 -0
- package/dist/rum/index.d.ts +1 -0
- package/dist/rum/report-locale.d.ts +3 -0
- package/dist/rum/report-locale.spec.d.ts +1 -0
- package/dist/rum/track-key-action.d.ts +7 -0
- package/dist/rum/track-key-action.spec.d.ts +1 -0
- package/dist/sortable.esm-DM2HNEC7.js +69322 -0
- package/dist/translations/editors-i18n.spec.d.ts +1 -0
- package/dist/translations/en.d.ts +327 -0
- package/dist/translations/fr.d.ts +327 -0
- package/dist/{use-auth.hook-oRxzI95f.js → use-auth.hook-D8vfSYRv.js} +101 -101
- package/package.json +16 -9
- package/vite.config.ts +4 -0
- package/dist/index-DNe1tEo2.js +0 -95914
- package/test-results/catalog/.last-run.json +0 -4
- /package/dist/{legacy/components/PdfEditor/operations/apply.spec.d.ts → auth/components/shared/auth-errors.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor/operations/compute-page-order.spec.d.ts → components/editors/MarkdownEditor/MarkdownEditor.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor/operations/extract.spec.d.ts → components/editors/PdfEditor/PdfEditor.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-acro-form-fields.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-export.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-page-order.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-pdf-document.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-undo-redo.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-uploaded-docs.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/actions.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/apply.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor/operations/redact.spec.d.ts → components/editors/PdfEditor/engine/operations/apply.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/compute-page-order.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor/operations/reducer.spec.d.ts → components/editors/PdfEditor/engine/operations/compute-page-order.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/extract.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor/operations/rotate-coords.spec.d.ts → components/editors/PdfEditor/engine/operations/extract.spec.d.ts} +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/pdf-data-url.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rasterize.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/redact.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/reducer.d.ts +0 -0
- /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rotate-coords.d.ts +0 -0
|
@@ -23,7 +23,10 @@ export type AbyssRumProviderProps = PropsWithChildren<{
|
|
|
23
23
|
* Starts the browser RUM of the front. Mount it under `<AbyssCookieConsentProvider>`: replay
|
|
24
24
|
* requires the analytics consent, read at each decision of the SDK, so a consent given or withdrawn
|
|
25
25
|
* after start is followed; without the consent provider, analytics reads as refused. Under
|
|
26
|
-
* `<AuthProvider>`, the session's actor is the signed-in user (`null` once signed out)
|
|
27
|
-
* there is
|
|
26
|
+
* `<AuthProvider>`, the session's actor is the signed-in user (`null` once signed out) and the
|
|
27
|
+
* reply contact of the report dialog is their e-mail and alias; without it, there is neither. The
|
|
28
|
+
* report dialog and the feedback requests take the accent, the corner radius and the mode of the
|
|
29
|
+
* MUI theme, and the account menus below offer « Report a problem » while the environment accepts
|
|
30
|
+
* reports.
|
|
28
31
|
*/
|
|
29
32
|
export declare const AbyssRumProvider: ({ config, children, }: AbyssRumProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
export interface AbyssRumReport {
|
|
3
|
+
/**
|
|
4
|
+
* Opens the report dialog of the RUM in the front's language `locale` (`intl.locale`): English
|
|
5
|
+
* for an English locale, French otherwise.
|
|
6
|
+
*/
|
|
7
|
+
showReportDialog(locale: string): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const AbyssRumReportContext: Context<AbyssRumReport | null>;
|
|
10
|
+
/**
|
|
11
|
+
* The report dialog of the front's RUM; `null` outside `AbyssRumProvider`, with `config={null}`, or
|
|
12
|
+
* while the environment does not accept reports.
|
|
13
|
+
*/
|
|
14
|
+
export declare const useAbyssRumReport: () => AbyssRumReport | null;
|
package/dist/rum/index.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export { ABYSS_MAIN_RUM_SESSION_ROUTE, abyssMainRumSessionPath, } from './abyss-
|
|
|
5
5
|
export type { AbyssMainRumSessionContext } from './abyss-main-session-path';
|
|
6
6
|
export { buildAbyssRumProviderConfig } from './rum-provider-config';
|
|
7
7
|
export type { AbyssRumProviderConfigInput } from './rum-provider-config';
|
|
8
|
+
export { trackKeyAction } from './track-key-action';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AbyssKeyActionEvent } from '@abyss-project/main';
|
|
2
|
+
/**
|
|
3
|
+
* Records `event` as a user action of the current RUM page view, at the success point of the user's
|
|
4
|
+
* key action. Does nothing while the RUM is not started (no `AbyssRumProvider`, `config={null}`,
|
|
5
|
+
* RUM disabled for the environment) and never throws to the caller.
|
|
6
|
+
*/
|
|
7
|
+
export declare const trackKeyAction: (event: AbyssKeyActionEvent) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|