@abyss-project/commons-front-core 11.1.2 → 13.0.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 +2 -2
- package/catalog/pages/LineChart.tsx +19 -2
- package/catalog/pages/StatTile.tsx +16 -0
- package/catalog/pages/ToolIcon.tsx +48 -48
- package/dist/{AbyssCookieConsentProvider-PchfQjs2.js → AbyssCookieConsentProvider-D5jeL5KA.js} +1402 -1800
- package/dist/{CookieConsentSettings.component-D8G0H6Wl.js → CookieConsentSettings.component-C69wpa-v.js} +1 -1
- package/dist/{Tabs-CZQ1JYlW.js → Tabs-CwVEV4SO.js} +162 -142
- package/dist/assets/logo/index.d.ts +9 -7
- package/dist/auth/client/abyss-login.d.ts +2 -2
- package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +2 -2
- package/dist/components/data/LineChart/LineChart.d.ts +10 -2
- package/dist/components/data/StatTile/StatTile.d.ts +5 -3
- package/dist/components/inputs/DateField/DateField.d.ts +7 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-DPp0aQVa.js → design-theme-DkGGYH91.js} +5250 -5224
- package/dist/{sortable.esm-BYVnqZQ-.js → editors-DkiY6BfJ.js} +31061 -26291
- package/dist/editors.js +4 -5272
- package/dist/hooks/use-rich-intl.hook.d.ts +36 -414
- package/dist/{index-z9-0V3EC.js → index-2l12Iu8k.js} +2 -2
- package/dist/{index-B2ZxOr31.js → index-B52OKB4p.js} +3 -3
- package/dist/{index-C7XhFFZA.js → index-BacMl_If.js} +2 -2
- package/dist/{index-CBIn4IuA.js → index-Bh7buNbj.js} +2 -2
- package/dist/{index-Bv63SeVQ.js → index-BoCgQirm.js} +2 -2
- package/dist/{index-DNhK2v38.js → index-CXGI5k75.js} +4 -4
- package/dist/{index-DzXd6CTA.js → index-Cg6Mv7QT.js} +2 -2
- package/dist/{index-DWi7OlB1.js → index-CgIjHnfl.js} +2 -2
- package/dist/{index-ZXDv7i0D.js → index-Cl1BSx17.js} +2 -2
- package/dist/{index-Bo9YtyKq.js → index-CtMx42h6.js} +2 -2
- package/dist/{index-yAKnJ5ME.js → index-CvRSR1eE.js} +2 -2
- package/dist/{index-RIO2UT1x.js → index-CwdirjZn.js} +2 -2
- package/dist/{index-C2CPAKkL.js → index-D1YeCKtd.js} +4 -4
- package/dist/{index-ByTOd2ak.js → index-DMiPquK5.js} +2 -2
- package/dist/{index-CS0JFqYy.js → index-DSjH42Mo.js} +3 -3
- package/dist/{index-CaWs53z9.js → index-DVsMyd7m.js} +2 -2
- package/dist/{index-CE5F7UaD.js → index-DW0z3W_H.js} +1 -1
- package/dist/{index-DVg7Zewe.js → index-DmCRAN1O.js} +2 -2
- package/dist/{index-CjAqdRJ0.js → index-KH3KmoUw.js} +4 -4
- package/dist/{index-CVp3TsdG.js → index-PHSTFO70.js} +3 -3
- package/dist/{index-DY51R82n.js → index-orVFXDIv.js} +3 -3
- package/dist/index.js +4491 -4467
- package/dist/isSymbol-CubIld3H.js +446 -0
- package/dist/legacy/components/Inputs/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -1
- package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +10 -8
- package/dist/legacy/components/Support/support-service.logic.d.ts +6 -0
- package/dist/legacy/components/Support/types.d.ts +7 -7
- package/dist/legacy/components/index.d.ts +0 -1
- package/dist/legacy.js +6158 -12073
- package/dist/theme/tokens/domain.d.ts +5 -2
- package/dist/theme/tokens/product-marks.spec.d.ts +1 -0
- package/dist/translations/en.d.ts +7 -206
- package/dist/translations/fr.d.ts +7 -206
- package/dist/translations/product-naming.spec.d.ts +1 -0
- package/dist/utils/project-link-wording.utils.d.ts +2 -2
- package/package.json +4 -4
- package/dist/legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +0 -14
- package/dist/legacy/components/Inputs/AbyssMarkdownEditor/crepe-theme.d.ts +0 -7
- package/dist/legacy/components/Inputs/AbyssMarkdownEditor/index.d.ts +0 -1
- package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +0 -3
- package/dist/legacy/components/PdfEditor/index.d.ts +0 -3
- package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +0 -10
- package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +0 -19
- package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +0 -12
- package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +0 -13
- package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +0 -10
- package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +0 -20
- package/dist/legacy/components/PdfEditor/tools/DrawTool.d.ts +0 -9
- package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +0 -9
- package/dist/legacy/components/PdfEditor/tools/RedactTool.d.ts +0 -8
- package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +0 -17
- package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +0 -15
- package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +0 -12
- package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +0 -44
- package/dist/legacy/components/PdfEditor/tools/tool-options-ui.d.ts +0 -5
- package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +0 -9
- package/dist/legacy/components/PdfEditor/viewer/InsertPagesDialog.d.ts +0 -10
- package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +0 -38
- package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +0 -15
- package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +0 -17
- package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +0 -26
- package/dist/legacy/components/PdfEditor/viewer/ViewerControls.d.ts +0 -21
- /package/dist/legacy/components/{Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts → Support/support-service.logic.spec.d.ts} +0 -0
- /package/dist/legacy/{components/PdfEditor/signature/resolve-asset.spec.d.ts → legacy-editors-removed.spec.d.ts} +0 -0
|
@@ -6,15 +6,17 @@ export { default as AbyssMemoriesLogo } from './AbyssMemories.svg';
|
|
|
6
6
|
export { default as AbyssMonitorLogo } from './AbyssMonitor.svg';
|
|
7
7
|
export { default as AbyssSpotlightLogo } from './AbyssSpotlight.svg';
|
|
8
8
|
export { default as AbyssStorageLogo } from './AbyssStorage.svg';
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
9
|
+
export { default as DrawMark } from './Draw.svg';
|
|
10
|
+
export { default as BoardMark } from './Board.svg';
|
|
11
|
+
export { default as AtlasMark } from './Atlas.svg';
|
|
12
|
+
export { default as ShortLinkMark } from './ShortLink.svg';
|
|
13
|
+
export { default as RetroMark } from './Retro.svg';
|
|
14
14
|
export { default as AbyssBeam } from './AbyssBeam.svg';
|
|
15
15
|
export { default as AbyssExtract } from './AbyssExtract.svg';
|
|
16
16
|
export { default as AbyssTrainingLogo } from './AbyssTraining.svg';
|
|
17
|
-
export { default as AbyssHealthLogo } from './AbyssHealth.svg';
|
|
18
17
|
export { default as AbyssConsoleLogo } from './AbyssConsole.svg';
|
|
19
|
-
export { default as AbyssToolsLogo } from './AbyssTools.svg';
|
|
20
18
|
export { default as AbyssProbeLogo } from './AbyssProbe.svg';
|
|
19
|
+
export { default as AbyssWorkspace } from './AbyssWorkspace.svg';
|
|
20
|
+
export { default as AbyssLink } from './AbyssLink.svg';
|
|
21
|
+
export { default as AbyssFlow } from './AbyssFlow.svg';
|
|
22
|
+
export { default as AbyssPlatform } from '../logo_abyss_flat.svg';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActivatableService } from '@abyss-project/main';
|
|
2
2
|
import { AuthClient } from './auth-client';
|
|
3
3
|
/** Where a web satellite sends its users to sign in: abyss-main's single login page. */
|
|
4
4
|
export interface AbyssLoginTarget {
|
|
5
5
|
/** abyss-main's web origin (`VITE_ABYSS_URL`), with or without a trailing `/`. */
|
|
6
6
|
abyssSite: string;
|
|
7
7
|
/** The satellite asking: abyss-main brings the user back to its site once signed in. */
|
|
8
|
-
service:
|
|
8
|
+
service: ActivatableService;
|
|
9
9
|
/**
|
|
10
10
|
* The satellite page to come back to (`pathname + search`, see `currentReturnPath`). Absent:
|
|
11
11
|
* abyss-main brings the user back to the satellite's home page.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ActivatableService } from '@abyss-project/main';
|
|
3
3
|
/**
|
|
4
4
|
* - `web` (default): the hero below `md` only; from `md` up the children render alone, so the
|
|
5
5
|
* host keeps its own desktop layout (abyss-main's split screen).
|
|
@@ -15,7 +15,7 @@ export type AuthHeroLayoutProps = {
|
|
|
15
15
|
* Requested service, already validated. null/undefined or a service without a tagline -> Abyss
|
|
16
16
|
* logo, name and tagline; a service without logo (Odyssey) -> Abyss logo, its own name and tagline.
|
|
17
17
|
*/
|
|
18
|
-
service?:
|
|
18
|
+
service?: ActivatableService | null;
|
|
19
19
|
/** `AuthHeroLayoutVariant.WEB` by default. */
|
|
20
20
|
variant?: AuthHeroLayoutVariant;
|
|
21
21
|
children: ReactNode;
|
|
@@ -2,7 +2,13 @@ import { ChartSeriesTone } from '../chart-series-tone';
|
|
|
2
2
|
export type LineChartX = Date | number;
|
|
3
3
|
export interface LineChartPoint {
|
|
4
4
|
x: LineChartX;
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The value at `x`, or `null` where there is none (an empty bucket): the line and its area break
|
|
7
|
+
* there instead of dropping to zero, no point is drawn there (so no tooltip either), and the table
|
|
8
|
+
* of values shows an em dash.
|
|
9
|
+
* Stacked, a `null` counts as zero in the pile, like an x the series has no point at.
|
|
10
|
+
*/
|
|
11
|
+
y: number | null;
|
|
6
12
|
}
|
|
7
13
|
export interface LineChartSeries {
|
|
8
14
|
id: string;
|
|
@@ -39,6 +45,8 @@ export interface LineChartProps {
|
|
|
39
45
|
* (`data.series.1`, `2`…, the seventh starting over), never by the host. Dates give a time scale,
|
|
40
46
|
* numbers a linear one; `stacked` piles the series up as areas. Beyond one series, a legend names
|
|
41
47
|
* the colors. For screen readers the figure is named by `label` and its drawing is replaced by a
|
|
42
|
-
* table of every value; a chart without any point
|
|
48
|
+
* table of every value; a chart without any point, or whose points are all `null`, says so instead
|
|
49
|
+
* of drawing empty axes. A `null` y breaks the line (see `LineChartPoint`). A chart with a single x
|
|
50
|
+
* draws each series' value as a dot, since no line can be drawn through one x.
|
|
43
51
|
*/
|
|
44
52
|
export declare function LineChart({ series, height, area, stacked, formatX, formatY, label, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,13 +12,15 @@ export interface StatTileProps {
|
|
|
12
12
|
/** Already formatted by the host (`intl.formatNumber`). */
|
|
13
13
|
value: string;
|
|
14
14
|
unit?: string;
|
|
15
|
+
/** Supporting line under the value, already formatted by the host. */
|
|
16
|
+
subtext?: string;
|
|
15
17
|
delta?: StatTileDelta;
|
|
16
18
|
trend?: number[];
|
|
17
19
|
/** Route inside the app: the whole tile becomes a link. */
|
|
18
20
|
href?: string;
|
|
19
21
|
}
|
|
20
22
|
/**
|
|
21
|
-
* One key figure (`.kpi`): label, figure in mono with its unit,
|
|
22
|
-
* trend. With `href`, the whole tile is a router link.
|
|
23
|
+
* One key figure (`.kpi`): label, figure in mono with its unit, an optional supporting line, a
|
|
24
|
+
* colored delta and an optional trend. With `href`, the whole tile is a router link.
|
|
23
25
|
*/
|
|
24
|
-
export declare function StatTile({ label, icon, value, unit, delta, trend, href, }: StatTileProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function StatTile({ label, icon, value, unit, subtext, delta, trend, href, }: StatTileProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,10 +5,16 @@ export interface DateFieldProps {
|
|
|
5
5
|
minDate?: Date;
|
|
6
6
|
maxDate?: Date;
|
|
7
7
|
error?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Told whether what the field shows is a date it emitted: `false` while a half-typed or
|
|
10
|
+
* out-of-range date is shown (and not emitted), `true` again once the field holds a valid date
|
|
11
|
+
* or is emptied. A form that must not submit the previous value while one is refused reads it.
|
|
12
|
+
*/
|
|
13
|
+
onValidityChange?(valid: boolean): void;
|
|
8
14
|
}
|
|
9
15
|
/**
|
|
10
16
|
* A date input with its calendar. The label sits above the field (theme override of the input
|
|
11
17
|
* label). `onChange` only receives a complete date inside `minDate`..`maxDate`, or `null` when the
|
|
12
18
|
* field is emptied; a half-typed or out-of-range date shows a message and is not emitted.
|
|
13
19
|
*/
|
|
14
|
-
export declare function DateField({ label, value, onChange, minDate, maxDate, error, }: DateFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function DateField({ label, value, onChange, minDate, maxDate, error, onValidityChange, }: DateFieldProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/cookie-consent.js
CHANGED
|
@@ -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-
|
|
2
|
-
import { C as E } from "./CookieConsentSettings.component-
|
|
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-D5jeL5KA.js";
|
|
2
|
+
import { C as E } from "./CookieConsentSettings.component-C69wpa-v.js";
|
|
3
3
|
export {
|
|
4
4
|
e as AbyssCookieConsentProvider,
|
|
5
5
|
a as COOKIE_NAME,
|