@abyss-project/commons-front-core 21.2.1 → 21.3.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/CHANGELOG.md +0 -8
- package/README.md +0 -1
- package/dist/{CookieConsentSettings-DLAXlhzq.js → CookieConsentSettings-rmoz4sQf.js} +1 -1
- package/dist/{Surface-DfI6kpfH.js → Surface-BoKFqhDG.js} +276 -244
- package/dist/{Tabs-OUGR85y6.js → Tabs-CUFjiDdL.js} +1 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-sKJOUvJI.js → editors-DEypbS_c.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +18 -2
- package/dist/{index-BrRSvgLG.js → index-B7gl9077.js} +1 -1
- package/dist/{index-CPECEPVh.js → index-BSK4UNPj.js} +2 -2
- package/dist/{index-DZUL6ADv.js → index-BU62QWmy.js} +2 -2
- package/dist/{index-YLy4c31j.js → index-Ba-evnPg.js} +2 -2
- package/dist/{index-BRT9GDE7.js → index-BjnVYx9y.js} +2 -2
- package/dist/{index-DGHWbqGP.js → index-C2eyG2zc.js} +4 -4
- package/dist/{index-BbwDDHgK.js → index-C4-dKC1K.js} +3 -3
- package/dist/{index-BB71uFcN.js → index-C4Hdi4KN.js} +2 -2
- package/dist/{index-DF6OyOut.js → index-C8SM8FBW.js} +2 -2
- package/dist/{index-DsuYRWEt.js → index-CZQc_NR1.js} +2 -2
- package/dist/{index-Dee9IbNt.js → index-Cdj6lMW6.js} +2 -2
- package/dist/{index-BXc27aDR.js → index-CmF10tpL.js} +4 -4
- package/dist/{index-C0ZRmePf.js → index-CqBecrIe.js} +2 -2
- package/dist/{index-CUhujX7j.js → index-D8OnPevv.js} +3 -3
- package/dist/{index-Cr_TW_MQ.js → index-DUsTNFzx.js} +3 -3
- package/dist/{index-JVmF9TsZ.js → index-DoOcqm85.js} +3 -3
- package/dist/{index-Du2k2BGy.js → index-Dx7mAh4J.js} +2 -2
- package/dist/{index-DRoTcsqY.js → index-VG4mOSdB.js} +2 -2
- package/dist/{index-DShOFEmg.js → index-k53pg49Z.js} +2 -2
- package/dist/{index-Bw5-eBnW.js → index-sOt1dLW4.js} +4 -4
- package/dist/{index-CMTLY4d1.js → index-tCCiHSR-.js} +2 -2
- package/dist/index.js +4282 -4275
- package/dist/rum/rum-provider-config.d.ts +0 -6
- package/dist/translations/en.d.ts +9 -1
- package/dist/translations/fr.d.ts +9 -1
- package/dist/utils/billing.utils.d.ts +7 -4
- package/dist/utils/project-link-wording.utils.d.ts +2 -4
- package/package.json +5 -5
- package/vite.config.ts +6 -0
- package/dist/utils/project-link-wording.utils.spec.d.ts +0 -1
|
@@ -13,12 +13,6 @@ export interface AbyssRumProviderConfigInput {
|
|
|
13
13
|
mainApiUrl: string | undefined;
|
|
14
14
|
/** `true` for a front that calls Monitor's API itself (abyss-main's): Monitor is instrumented too. */
|
|
15
15
|
instrumentMonitorApi?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether the W3C `traceparent` header is sent, next to the correlation headers, to the
|
|
18
|
-
* instrumented origins only, so a click and the server calls it triggers read as one trace in
|
|
19
|
-
* Monitor. Default `true`; `false` keeps the correlation headers alone.
|
|
20
|
-
*/
|
|
21
|
-
propagateTraceContext?: boolean;
|
|
22
16
|
/** Commit SHA of the build (`VITE_RELEASE`); empty: the sessions carry no release. */
|
|
23
17
|
release: string | undefined;
|
|
24
18
|
/** The front's full route templates, as its router mounts them (`/org/:orgId/boards/:boardId`). */
|
|
@@ -102,6 +102,7 @@ declare const _default: {
|
|
|
102
102
|
LOG_EVENTS: string;
|
|
103
103
|
RETENTION_DAYS: string;
|
|
104
104
|
APPLICATIONS: string;
|
|
105
|
+
STATUS_PAGES_COUNT: string;
|
|
105
106
|
ENVIRONMENTS_PER_PROJECT: string;
|
|
106
107
|
CLOUD_FILES_COUNT: string;
|
|
107
108
|
CRYPT_MAX_FILE_SIZE_MB: string;
|
|
@@ -479,13 +480,20 @@ declare const _default: {
|
|
|
479
480
|
'spotlight-project': string;
|
|
480
481
|
event: string;
|
|
481
482
|
report: string;
|
|
482
|
-
banking: string;
|
|
483
|
+
'banking-org': string;
|
|
483
484
|
asset: string;
|
|
484
485
|
'wrapped-report': string;
|
|
485
486
|
'daily-digest': string;
|
|
486
487
|
'analytics-snapshot': string;
|
|
488
|
+
'banking-view-account': string;
|
|
489
|
+
'extraction-file': string;
|
|
490
|
+
'extraction-template': string;
|
|
491
|
+
'extraction-result': string;
|
|
492
|
+
beam: string;
|
|
493
|
+
'banking-score-share-set': string;
|
|
487
494
|
content: string;
|
|
488
495
|
};
|
|
496
|
+
'label-with-name': string;
|
|
489
497
|
};
|
|
490
498
|
'pending-invitations': {
|
|
491
499
|
label: string;
|
|
@@ -102,6 +102,7 @@ declare const _default: {
|
|
|
102
102
|
LOG_EVENTS: string;
|
|
103
103
|
RETENTION_DAYS: string;
|
|
104
104
|
APPLICATIONS: string;
|
|
105
|
+
STATUS_PAGES_COUNT: string;
|
|
105
106
|
ENVIRONMENTS_PER_PROJECT: string;
|
|
106
107
|
CLOUD_FILES_COUNT: string;
|
|
107
108
|
CRYPT_MAX_FILE_SIZE_MB: string;
|
|
@@ -479,13 +480,20 @@ declare const _default: {
|
|
|
479
480
|
'spotlight-project': string;
|
|
480
481
|
event: string;
|
|
481
482
|
report: string;
|
|
482
|
-
banking: string;
|
|
483
|
+
'banking-org': string;
|
|
483
484
|
asset: string;
|
|
484
485
|
'wrapped-report': string;
|
|
485
486
|
'daily-digest': string;
|
|
486
487
|
'analytics-snapshot': string;
|
|
488
|
+
'banking-view-account': string;
|
|
489
|
+
'extraction-file': string;
|
|
490
|
+
'extraction-template': string;
|
|
491
|
+
'extraction-result': string;
|
|
492
|
+
beam: string;
|
|
493
|
+
'banking-score-share-set': string;
|
|
487
494
|
content: string;
|
|
488
495
|
};
|
|
496
|
+
'label-with-name': string;
|
|
489
497
|
};
|
|
490
498
|
'pending-invitations': {
|
|
491
499
|
label: string;
|
|
@@ -10,8 +10,11 @@ import { IPlanTemplate } from '@abyss-project/main';
|
|
|
10
10
|
export declare const getPlanNameMessageId: (planTemplate: Pick<IPlanTemplate, "catalogKey" | "tier"> | null | undefined) => string;
|
|
11
11
|
export declare const getPlanDisplayName: (planTemplate: Pick<IPlanTemplate, "catalogKey" | "tier"> | null | undefined, intl: Pick<IntlShape, "formatMessage">) => string;
|
|
12
12
|
/**
|
|
13
|
-
* The interpolation values of a
|
|
14
|
-
* `{oldPlanName}` and `{newPlanName}` labels resolved from the plan identities
|
|
15
|
-
* (the payload never holds a plan name)
|
|
13
|
+
* The interpolation values of a notification: its payload plus
|
|
14
|
+
* - the `{planName}`, `{oldPlanName}` and `{newPlanName}` labels resolved from the plan identities a
|
|
15
|
+
* billing notification carries (the payload never holds a plan name);
|
|
16
|
+
* - the readable `{contentLabel}` of a share or invitation notification, which carries a label key.
|
|
17
|
+
*
|
|
18
|
+
* `translate` is the host's translation of an id, and must interpolate the `values` it is given.
|
|
16
19
|
*/
|
|
17
|
-
export declare const getNotificationValues: (data: Record<string, unknown> | undefined, translate: (id: string) => string) => Record<string, unknown>;
|
|
20
|
+
export declare const getNotificationValues: (data: Record<string, unknown> | undefined, translate: (id: string, values?: Record<string, string>) => string) => Record<string, unknown>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { ProjectLinkMode } from './project-link-mode';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type AbyssLinkWordingKey = 'project.link.none.label' | 'project.link.project.label';
|
|
5
|
-
export declare const getAbyssLinkWording: (link: ProjectLinkMode) => AbyssLinkWordingKey;
|
|
2
|
+
import { ExistingTranslationKey } from '../hooks/use-rich-intl.hook';
|
|
3
|
+
export declare const getAbyssLinkWording: (link: ProjectLinkMode) => ExistingTranslationKey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@abyss-project/capacitor-auth": "^1.0.0",
|
|
61
61
|
"@abyss-project/cloud": "^2.4.0",
|
|
62
62
|
"@abyss-project/flow": "^2.0.0",
|
|
63
|
-
"@abyss-project/monitor-browser": "^2.
|
|
63
|
+
"@abyss-project/monitor-browser": "^2.0.0",
|
|
64
64
|
"@abyss-project/workspace": "^4.6.0",
|
|
65
65
|
"@dnd-kit/core": "^6.0.0",
|
|
66
66
|
"@dnd-kit/sortable": "^9.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"react-is": "^18.0.0 || ^19.0.0",
|
|
81
81
|
"react-router-dom": "^6.15.0",
|
|
82
82
|
"zustand": "^5.0.0",
|
|
83
|
-
"@abyss-project/main": "36.
|
|
83
|
+
"@abyss-project/main": "36.9.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependenciesMeta": {
|
|
86
86
|
"@abyss-project/capacitor-auth": {
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
"use-debounce": "^10.0.5",
|
|
130
130
|
"uuid": "^9.0.0",
|
|
131
131
|
"yup": "^0.32.11",
|
|
132
|
-
"@abyss-project/main": "36.
|
|
132
|
+
"@abyss-project/main": "36.9.0"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@abyss-project/cloud": "^2.4.0",
|
|
136
136
|
"@abyss-project/flow": "^2.1.0",
|
|
137
|
-
"@abyss-project/monitor-browser": "^2.
|
|
137
|
+
"@abyss-project/monitor-browser": "^2.0.0",
|
|
138
138
|
"@abyss-project/workspace": "^4.6.0",
|
|
139
139
|
"@playwright/test": "^1.52.0",
|
|
140
140
|
"@testing-library/react": "^16.3.2",
|
package/vite.config.ts
CHANGED
|
@@ -49,6 +49,11 @@ export default defineConfig({
|
|
|
49
49
|
__dirname,
|
|
50
50
|
'../abyss_main_core/src/billing-metric-label/index.ts',
|
|
51
51
|
),
|
|
52
|
+
// Same for the content-share label keys (#833): the bell translates the keys this entry gives.
|
|
53
|
+
'@abyss-project/main/content-share-label': resolve(
|
|
54
|
+
__dirname,
|
|
55
|
+
'../abyss_main_core/src/content-share-label/index.ts',
|
|
56
|
+
),
|
|
52
57
|
},
|
|
53
58
|
},
|
|
54
59
|
build: {
|
|
@@ -115,6 +120,7 @@ export default defineConfig({
|
|
|
115
120
|
// Bundled on purpose, see `resolve.alias` above.
|
|
116
121
|
if (id === '@abyss-project/main/plan-name') return false;
|
|
117
122
|
if (id === '@abyss-project/main/billing-metric-label') return false;
|
|
123
|
+
if (id === '@abyss-project/main/content-share-label') return false;
|
|
118
124
|
// Scoped-package prefixes (these always end with '/'). `@abyss-project/` keeps
|
|
119
125
|
// `@abyss-project/capacitor-auth` external: imported lazily by the `auth-native` entry only.
|
|
120
126
|
const scopedPrefixes = ['@mui/', '@emotion/', '@abyss-project/', '@tanstack/'];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|