@abyss-project/commons-front-core 3.2.1 → 3.3.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.
- package/README.md +1 -1
- package/dist/{CookieConsentSettings.component-Cigp3geQ.js → CookieConsentSettings.component-tRVw_4zH.js} +2129 -2063
- package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +1 -0
- package/dist/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +1 -0
- package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +1 -0
- package/dist/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +1 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +61 -5
- package/dist/{index-CkOB1-Cm.js → index-BGceZbVS.js} +3 -3
- package/dist/{index-D3hrfSA5.js → index-BNpq4Ojx.js} +2 -2
- package/dist/{index--zQDrQsN.js → index-B_fO6ea8.js} +2 -2
- package/dist/{index-DShW99gD.js → index-BhUOByTM.js} +4 -4
- package/dist/{index-w1PwOFhZ.js → index-C3Tr9CAs.js} +2 -2
- package/dist/{index-Bo25l4a1.js → index-CE15DcVv.js} +3 -3
- package/dist/{index-BZq3UPY7.js → index-CND94AUq.js} +2 -2
- package/dist/{index-DdPGa3C8.js → index-CTBDkBPe.js} +4 -4
- package/dist/{index-5nDlrvU3.js → index-CXnNeiXz.js} +2 -2
- package/dist/{index-Bc1kg3zS.js → index-CaK1xV4R.js} +2 -2
- package/dist/{index-Da36WN3W.js → index-CkY3F8ms.js} +2 -2
- package/dist/{index-Be-GYM3X.js → index-Cyj-5x-K.js} +2 -2
- package/dist/{index-DVlERqlb.js → index-DGqe7jH3.js} +3 -3
- package/dist/{index-a5ITEmNu.js → index-DYR_WGV_.js} +2 -2
- package/dist/{index-CiicUS9N.js → index-DcM1fPMt.js} +2 -2
- package/dist/{index-BeIZvfbH.js → index-DhYVV6dR.js} +8979 -8961
- package/dist/{index-Dyf9kIU9.js → index-DkMLpgfq.js} +1 -1
- package/dist/{index-DwlzIsOy.js → index-DpY3X6GK.js} +3 -3
- package/dist/{index-DxDFOAmM.js → index-DzwmloOq.js} +4 -4
- package/dist/{index-G2WqOtwQ.js → index-IivE7b0n.js} +2 -2
- package/dist/{index-B3ufXjWS.js → index-ZRHnQY06.js} +2 -2
- package/dist/{index-B3A4XQoK.js → index-b3WuxsCC.js} +2 -2
- package/dist/index.js +135 -132
- package/dist/translations/en.d.ts +15 -2
- package/dist/translations/fr.d.ts +15 -2
- package/dist/utils/billing.utils.d.ts +17 -1
- package/dist/utils/billing.utils.spec.d.ts +1 -0
- package/package.json +4 -4
- package/vite.config.ts +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as V, E as X } from "./index-
|
|
2
|
-
import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./index-
|
|
3
|
-
import { html as w } from "./index-
|
|
1
|
+
import { L as V, E as X } from "./index-DkMLpgfq.js";
|
|
2
|
+
import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./index-DhYVV6dR.js";
|
|
3
|
+
import { html as w } from "./index-BhUOByTM.js";
|
|
4
4
|
const W = 1, p = 2, q = 275, u = 3, b = 276, _ = 277, f = 278, k = 4, m = 5, G = 6, x = 7, z = 8, h = 9, g = 10, v = 11, j = 12, E = 13, I = 14, N = 15, L = 16, F = 17, C = 18, H = 19, A = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, aO = 30, TO = 31, PO = 32, XO = 33, SO = 34, cO = 35, eO = 36, oO = 37, _O = 38, zO = 39, nO = 40, rO = 41, YO = 42, VO = 43, dO = 44, ZO = 45, RO = 46, sO = 47, tO = 48, yO = 49, UO = 50, lO = 51, wO = 52, WO = 53, pO = 54, qO = 55, uO = 56, bO = 57, fO = 58, kO = 59, mO = 60, GO = 61, xO = 62, e = 63, hO = 64, gO = 65, vO = 66, jO = {
|
|
5
5
|
abstract: k,
|
|
6
6
|
and: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as p, L as u, p as n, s as l, t as e } from "./index-
|
|
2
|
-
import { html as m } from "./index-
|
|
3
|
-
import { javascriptLanguage as b } from "./index-
|
|
4
|
-
import { L as S, a as r } from "./index-
|
|
1
|
+
import { a as p, L as u, p as n, s as l, t as e } from "./index-DhYVV6dR.js";
|
|
2
|
+
import { html as m } from "./index-BhUOByTM.js";
|
|
3
|
+
import { javascriptLanguage as b } from "./index-CkY3F8ms.js";
|
|
4
|
+
import { L as S, a as r } from "./index-DkMLpgfq.js";
|
|
5
5
|
const c = /* @__PURE__ */ S.deserialize({
|
|
6
6
|
version: 14,
|
|
7
7
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as G, E as A, C as N } from "./index-
|
|
2
|
-
import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./index-
|
|
1
|
+
import { L as G, E as A, C as N } from "./index-DkMLpgfq.js";
|
|
2
|
+
import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./index-DhYVV6dR.js";
|
|
3
3
|
const h = 1, F = 2, L = 3, H = 4, K = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
|
|
4
4
|
function re(e) {
|
|
5
5
|
return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./index-
|
|
2
|
-
import { L as de, E as me } from "./index-
|
|
1
|
+
import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./index-DhYVV6dR.js";
|
|
2
|
+
import { L as de, E as me } from "./index-DkMLpgfq.js";
|
|
3
3
|
const ue = 36, B = 1, pe = 2, y = 3, C = 4, fe = 5, _e = 6, ge = 7, he = 8, ye = 9, be = 10, ve = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, X = 18, Se = 19, A = 20, E = 21, I = 22, qe = 23, Pe = 24;
|
|
4
4
|
function q(t) {
|
|
5
5
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as o, E as a } from "./index-
|
|
2
|
-
import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-
|
|
1
|
+
import { L as o, E as a } from "./index-DkMLpgfq.js";
|
|
2
|
+
import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-DhYVV6dR.js";
|
|
3
3
|
const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
|
|
4
4
|
function n(O) {
|
|
5
5
|
return O >= 48 && O <= 57;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bx as e, aL as o, aM as t, R as r, M as i, Q as b, aY as c,
|
|
2
|
-
import { A as
|
|
1
|
+
import { bx as e, aL as o, aM as t, R as r, M as i, Q as b, aY as c, cU as n, Z as l, d5 as A, aP as d, d1 as u, $ as y, cV as g, d2 as C, a6 as S, d9 as p, cW as L, aI as P, ah as h, ai as T, d0 as I, a_ as m, ba as _, b9 as E, d6 as D, aQ as R, cX as k, aJ as O, b6 as f, d8 as B, b7 as v, b3 as M, aF as F, Y as N, aR as U, ak as Q, cY as W, b8 as w, cZ as x, b4 as H, al as G, bz as V, _ as j, db as Y, bC as z, bI as K, d4 as X, aw as Z, aO as q, as as J, ar as $, bw as aa, bu as sa, bv as ea, d3 as oa, aK as ta, c_ as ra, c$ as ia, a9 as ba, aN as ca, b5 as na, da as la, d7 as Aa, V as da, a5 as ua, a4 as ya, cp as ga, bD as Ca, cs as Sa, am as pa, ao as La, an as Pa, ap as ha, af as Ta, ae as Ia, a8 as ma, aT as _a, dc as Ea, aA as Da, b0 as Ra, a$ as ka, aD as Oa, aE as fa, ag as Ba, cR as va, aq as Ma, ct as Fa, ab as Na, cz as Ua, cS as Qa, cq as Wa, cr as wa, b1 as xa, aU as Ha, aa as Ga, X as Va, ay as ja, ax as Ya, aC as za, a0 as Ka, cQ as Xa, cO as Za, cP as qa, b2 as Ja, aB as $a, O as as, cy as ss, co as es, aj as os, bA as ts, bB as rs, K as is, W as bs, au as cs, av as ns, a1 as ls, at as As, aV as ds, bR as us, bJ as ys, bN as gs, bF as Cs, aW as Ss, cT as ps, ad as Ls, bi as Ps, bj as hs, bk as Ts, bn as Is, bs as ms, bq as _s, bh as Es, bg as Ds, bd as Rs, bl as ks, bc as Os, bf as fs, bt as Bs, bm as vs, be as Ms, br as Fs, U as Ns, S as Us, aS as Qs, aX as Ws, ac as ws, aZ as xs, a2 as Hs, a3 as Gs, bQ as Vs, ca as js, ce as Ys, bb as zs, cH as Ks, bG as Xs, bU as Zs, aH as qs, bW as Js, cl as $s, ck as ae, cD as se, bK as ee, bZ as oe, b_ as te, cc as re, di as ie, c6 as be, c4 as ce, c5 as ne, cI as le, bp as Ae, bo as de, cB as ue, cG as ye, cF as ge, az as Ce, cK as Se, cw as pe, cE as Le, cv as Pe, cu as he, cx as Te, bS as Ie, by as me, cg as _e, ch as Ee, c1 as De, c2 as Re, ci as ke, cj as Oe, cL as fe, c7 as Be, dn as ve, cn as Me, cm as Fe, bH as Ne, bL as Ue, bP as Qe, bE as We, dl as we, dh as xe, cd as He, bX as Ge, bT as Ve, dp as je, cN as Ye, cM as ze, cC as Ke, cJ as Xe, b$ as Ze, c0 as qe, c9 as Je, bM as $e, cb as ao, cf as so, c3 as eo, bV as oo, bY as to, c8 as ro, aG as io, a7 as bo, dd as co, dq as no, dg as lo, dm as Ao, dj as uo, dk as yo, bO as go, de as Co, df as So, cA as po } from "./index-DhYVV6dR.js";
|
|
2
|
+
import { A as Po, t as ho, c as To, C as Io, a as mo, D as _o, J as Eo, R as Do, V as Ro, i as ko, z as Oo, d as fo, B as Bo, E as vo, y as Mo, v as Fo, K as No, f as Uo, L as Qo, G as Wo, H as wo, j as xo, m as Ho, n as Go, p as Vo, r as jo, e as Yo, h as zo, F as Ko, I as Xo, u as Zo, b as qo, g as Jo, w as $o } from "./CookieConsentSettings.component-tRVw_4zH.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ABYSS_SERVICE_CONFIG,
|
|
5
5
|
o as ABYSS_SIDEBAR_WIDTH,
|
|
@@ -14,34 +14,34 @@ export {
|
|
|
14
14
|
d as AbyssBillingPlan,
|
|
15
15
|
u as AbyssBoard,
|
|
16
16
|
y as AbyssCashFlowChart,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
g as AbyssCloudLogo,
|
|
18
|
+
C as AbyssCodex,
|
|
19
|
+
S as AbyssCommandPalette,
|
|
20
20
|
p as AbyssConsoleLogo,
|
|
21
|
-
|
|
21
|
+
Po as AbyssCookieConsentProvider,
|
|
22
22
|
L as AbyssCryptLogo,
|
|
23
23
|
P as AbyssDashboardLayout,
|
|
24
24
|
h as AbyssDatePicker,
|
|
25
25
|
T as AbyssDateTimePicker,
|
|
26
26
|
I as AbyssDraw,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
m as AbyssDrawer,
|
|
28
|
+
_ as AbyssErrorBoundary,
|
|
29
29
|
E as AbyssErrorPage,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
D as AbyssExtract,
|
|
31
|
+
R as AbyssFamilyBanner,
|
|
32
|
+
k as AbyssFormLogo,
|
|
33
33
|
O as AbyssHeader,
|
|
34
34
|
f as AbyssHeaderTitle,
|
|
35
35
|
B as AbyssHealthLogo,
|
|
36
36
|
v as AbyssLayoutMenu,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
M as AbyssLayoutNotifications,
|
|
38
|
+
F as AbyssLayoutProvider,
|
|
39
|
+
N as AbyssLineChart,
|
|
40
|
+
U as AbyssLoadingScreen,
|
|
41
41
|
Q as AbyssMarkdownEditor,
|
|
42
42
|
W as AbyssMemoriesLogo,
|
|
43
43
|
w as AbyssMenuItem,
|
|
44
|
-
|
|
44
|
+
ho as AbyssModal,
|
|
45
45
|
x as AbyssMonitorLogo,
|
|
46
46
|
H as AbyssNotifications,
|
|
47
47
|
G as AbyssNumberField,
|
|
@@ -49,8 +49,8 @@ export {
|
|
|
49
49
|
j as AbyssPieChart,
|
|
50
50
|
Y as AbyssProbeLogo,
|
|
51
51
|
z as AbyssQuotaGauge,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
K as AbyssQuotaOffer,
|
|
53
|
+
X as AbyssRetro,
|
|
54
54
|
Z as AbyssScopeSwitcher,
|
|
55
55
|
q as AbyssSearchBar,
|
|
56
56
|
J as AbyssSelectOrganization,
|
|
@@ -70,33 +70,33 @@ export {
|
|
|
70
70
|
da as AccountTransactionsRow,
|
|
71
71
|
ua as ApplicationSentinelTypeChip,
|
|
72
72
|
ya as ApplicationWebhookTypeChip,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
ga as BILLING_ACCOUNT_STATUS_COLORS,
|
|
74
|
+
Ca as BUBBLE_MAX_WIDTH,
|
|
75
|
+
To as COOKIE_NAME,
|
|
76
|
+
Sa as CREDIT_TRANSACTION_TYPE_COLORS,
|
|
77
77
|
pa as CloudImport,
|
|
78
78
|
La as CloudImportFile,
|
|
79
79
|
Pa as CloudImportFolder,
|
|
80
80
|
ha as CloudSave,
|
|
81
81
|
Ta as ColorPalette,
|
|
82
82
|
Ia as ColorPicker,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
ma as CompanySearchAutocomplete,
|
|
84
|
+
_a as ConfirmModal,
|
|
85
85
|
Ea as ConfirmModalContextProvider,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
Da as ContextSelector,
|
|
87
|
+
Io as CookieConsentBanner,
|
|
88
|
+
mo as CookieConsentSettings,
|
|
89
|
+
_o as DEFAULT_PRIVACY_HREF,
|
|
90
|
+
Ra as DRAWER_WIDTH_COLLAPSED,
|
|
91
|
+
ka as DRAWER_WIDTH_EXPANDED,
|
|
92
92
|
Oa as DashboardLayout,
|
|
93
93
|
fa as DashboardLayoutHeader,
|
|
94
94
|
Ba as DatePeriodPicker,
|
|
95
95
|
va as DiscordLogo,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
Ma as DropZone,
|
|
97
|
+
Fa as EUR_TRANSACTION_TYPE_COLORS,
|
|
98
|
+
Na as ErrorInfoBox,
|
|
99
|
+
Ua as GROUP_COLORS,
|
|
100
100
|
Qa as GoogleLogo,
|
|
101
101
|
Wa as INVOICE_STATUS_COLORS,
|
|
102
102
|
wa as INVOICE_TYPE_COLORS,
|
|
@@ -107,8 +107,8 @@ export {
|
|
|
107
107
|
ja as LANGUAGE_FLAGS,
|
|
108
108
|
Ya as LanguageFlagLabel,
|
|
109
109
|
za as LoadingLayout,
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
Ka as LogTypeChip,
|
|
111
|
+
Xa as LogoAbyss,
|
|
112
112
|
Za as LogoAbyssFlat,
|
|
113
113
|
qa as LogoAbyssSmall,
|
|
114
114
|
Ja as MAX_PICTURE_SIZE,
|
|
@@ -128,140 +128,143 @@ export {
|
|
|
128
128
|
ds as QRCodeModal,
|
|
129
129
|
us as QUOTA_SERVICE_META,
|
|
130
130
|
ys as QuotaOfferState,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
gs as QuotaReachedDialog,
|
|
132
|
+
Cs as QuotaSegmentKind,
|
|
133
|
+
Eo as RICH_TAGS,
|
|
134
|
+
Do as ReconcileAction,
|
|
135
|
+
Ss as SaveCloudModal,
|
|
136
136
|
ps as SlackLogo,
|
|
137
137
|
Ls as SuccessInfoBox,
|
|
138
138
|
Ps as SupportActionButtons,
|
|
139
139
|
hs as SupportActivityLog,
|
|
140
140
|
Ts as SupportAttachmentsPanel,
|
|
141
141
|
Is as SupportCategoryChip,
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
ms as SupportCategoryGroupCards,
|
|
143
|
+
_s as SupportCategorySelect,
|
|
144
144
|
Es as SupportMessageInput,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
Ds as SupportMessageThread,
|
|
146
|
+
Rs as SupportPriorityChip,
|
|
147
|
+
ks as SupportSidebar,
|
|
148
148
|
Os as SupportStatusBadge,
|
|
149
149
|
fs as SupportTicketCreateForm,
|
|
150
150
|
Bs as SupportTicketCreateStepper,
|
|
151
151
|
vs as SupportTicketDetail,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
Ms as SupportTicketList,
|
|
153
|
+
Fs as SupportTopBar,
|
|
154
|
+
Ns as UserAvatar,
|
|
155
|
+
Us as UserAvatarList,
|
|
156
156
|
Qs as UserSettings,
|
|
157
157
|
Ws as UserSettingsModal,
|
|
158
|
-
|
|
158
|
+
Ro as VALIDITY_DAYS,
|
|
159
159
|
ws as WarnInfoBox,
|
|
160
160
|
xs as WaterParticles,
|
|
161
161
|
Hs as WebhookResponseCodeChip,
|
|
162
162
|
Gs as WebhookTypeChip,
|
|
163
|
-
|
|
163
|
+
ko as amber,
|
|
164
164
|
Vs as attachQuotaInterceptor,
|
|
165
165
|
js as bioluminescentPulse,
|
|
166
166
|
Ys as brand,
|
|
167
167
|
zs as buildAbyssFamilyMenuSection,
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
Ks as buildMessageLink,
|
|
169
|
+
Xs as buildQuotaAxis,
|
|
170
170
|
Zs as buildQuotaServiceChipSx,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
Oo as chipColors,
|
|
172
|
+
fo as clearCookie,
|
|
173
|
+
Bo as colorPool,
|
|
174
|
+
vo as colorPoolExtended,
|
|
175
|
+
Mo as colors,
|
|
176
176
|
qs as createAbyssLayoutStore,
|
|
177
177
|
Js as createAbyssTheme,
|
|
178
|
-
|
|
178
|
+
Fo as cyan,
|
|
179
179
|
$s as darkCustom,
|
|
180
180
|
ae as darkPalette,
|
|
181
181
|
se as deleteCookie,
|
|
182
182
|
ee as deriveQuotaOfferState,
|
|
183
183
|
oe as duration,
|
|
184
184
|
te as easing,
|
|
185
|
-
|
|
185
|
+
No as en,
|
|
186
186
|
re as fadeIn,
|
|
187
187
|
ie as fetchPublicUserBatched,
|
|
188
|
-
|
|
188
|
+
Uo as flattenTranslations,
|
|
189
189
|
be as fontFamily,
|
|
190
190
|
ce as fontSize,
|
|
191
191
|
ne as fontWeight,
|
|
192
|
-
|
|
192
|
+
Qo as fr,
|
|
193
193
|
le as getAbyssLinkWording,
|
|
194
194
|
Ae as getCategoryConfig,
|
|
195
195
|
de as getCategoryGroup,
|
|
196
196
|
ue as getCookie,
|
|
197
197
|
ye as getFileColor,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
pe as
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Te as
|
|
208
|
-
Ie as
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
Ee as
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
ke as
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
ve as
|
|
221
|
-
|
|
222
|
-
Fe as
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
Qe as
|
|
227
|
-
We as
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
Ve as
|
|
237
|
-
je as
|
|
238
|
-
Ye as
|
|
239
|
-
ze as
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
Ze as
|
|
243
|
-
qe as
|
|
244
|
-
Je as
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
no as
|
|
260
|
-
lo as
|
|
261
|
-
Ao as
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Co as
|
|
198
|
+
ge as getFileIcon,
|
|
199
|
+
Ce as getLanguageFlag,
|
|
200
|
+
Se as getLocale,
|
|
201
|
+
pe as getNotificationValues,
|
|
202
|
+
Le as getOrCreatePersistentId,
|
|
203
|
+
Pe as getPlanDisplayName,
|
|
204
|
+
he as getPlanNameMessageId,
|
|
205
|
+
Wo as getPoolColor,
|
|
206
|
+
wo as getPoolColorExtended,
|
|
207
|
+
Te as getProjectColor,
|
|
208
|
+
Ie as getQuotaServiceColor,
|
|
209
|
+
me as getServiceConfig,
|
|
210
|
+
_e as glassDark,
|
|
211
|
+
Ee as glassLight,
|
|
212
|
+
De as glow,
|
|
213
|
+
Re as glowCyan,
|
|
214
|
+
ke as gradientsDark,
|
|
215
|
+
Oe as gradientsLight,
|
|
216
|
+
xo as green,
|
|
217
|
+
fe as handleShareNotificationNavigation,
|
|
218
|
+
Be as iconSize,
|
|
219
|
+
Ho as indigo,
|
|
220
|
+
ve as invalidatePublicUsers,
|
|
221
|
+
Me as lightCustom,
|
|
222
|
+
Fe as lightPalette,
|
|
223
|
+
Ne as markerRatio,
|
|
224
|
+
Go as neutral,
|
|
225
|
+
Ue as offersAction,
|
|
226
|
+
Qe as parseQuotaError,
|
|
227
|
+
We as placeBubble,
|
|
228
|
+
we as primePublicUsers,
|
|
229
|
+
xe as publicUserQueryKey,
|
|
230
|
+
He as pulseGlow,
|
|
231
|
+
Vo as purple,
|
|
232
|
+
Ge as radius,
|
|
233
|
+
jo as readCookie,
|
|
234
|
+
Yo as reconcile,
|
|
235
|
+
zo as red,
|
|
236
|
+
Ve as renderQuotaServiceIcon,
|
|
237
|
+
je as resolveDateFnsLocale,
|
|
238
|
+
Ye as resolveSpaceDisplayName,
|
|
239
|
+
ze as resolveSpaceScope,
|
|
240
|
+
Ke as setCookie,
|
|
241
|
+
Xe as setLocale,
|
|
242
|
+
Ze as shadow,
|
|
243
|
+
qe as shadowLight,
|
|
244
|
+
Je as shimmer,
|
|
245
|
+
$e as shouldSuggestModule,
|
|
246
|
+
ao as slideInUp,
|
|
247
|
+
so as social,
|
|
248
|
+
Ko as tagColorPool,
|
|
249
|
+
eo as textShadow,
|
|
250
|
+
oo as theme,
|
|
251
|
+
to as transition,
|
|
252
|
+
Xo as translations,
|
|
253
|
+
ro as typographyVariants,
|
|
254
|
+
Zo as useAbyssCookieConsent,
|
|
255
|
+
io as useAbyssLayoutStore,
|
|
256
|
+
bo as useCommandPaletteHotkey,
|
|
257
|
+
co as useConfirm,
|
|
258
|
+
qo as useCookieConsent,
|
|
259
|
+
no as useDateFnsLocale,
|
|
260
|
+
lo as useFetchClouds,
|
|
261
|
+
Ao as usePrimePublicUsers,
|
|
262
|
+
uo as usePublicUser,
|
|
263
|
+
yo as usePublicUsers,
|
|
264
|
+
go as useQuotaDialogStore,
|
|
265
|
+
Jo as useRichIntl,
|
|
266
|
+
Co as useSSE,
|
|
267
|
+
So as useThemeTransition,
|
|
268
|
+
$o as writeCookie,
|
|
269
|
+
po as writeToClipboard
|
|
267
270
|
};
|
|
@@ -306,6 +306,11 @@ declare const _default: {
|
|
|
306
306
|
TOOLS_SHORT_LINK_COUNT: string;
|
|
307
307
|
TOOLS_SHORTLINK_RESOLUTIONS_MONTH: string;
|
|
308
308
|
MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
|
|
309
|
+
REHYDRATION_CONCURRENT_JOBS: string;
|
|
310
|
+
REHYDRATION_ACTIVE_GB: string;
|
|
311
|
+
REHYDRATION_MAX_TTL_DAYS: string;
|
|
312
|
+
REHYDRATION_GB_MONTH: string;
|
|
313
|
+
REHYDRATION_GB_DAY: string;
|
|
309
314
|
SPOTLIGHT_PAGES_COUNT: string;
|
|
310
315
|
SPOTLIGHT_PAGE_VIEWS_MONTH: string;
|
|
311
316
|
MEMORIES_EVENTS_COUNT: string;
|
|
@@ -902,8 +907,6 @@ declare const _default: {
|
|
|
902
907
|
};
|
|
903
908
|
billing: {
|
|
904
909
|
'current-plan': string;
|
|
905
|
-
'free-plan': string;
|
|
906
|
-
'custom-plan': string;
|
|
907
910
|
tier: {
|
|
908
911
|
FREEMIUM: string;
|
|
909
912
|
DEFAULT: string;
|
|
@@ -976,6 +979,10 @@ declare const _default: {
|
|
|
976
979
|
name: string;
|
|
977
980
|
description: string;
|
|
978
981
|
};
|
|
982
|
+
enterprise: {
|
|
983
|
+
name: string;
|
|
984
|
+
description: string;
|
|
985
|
+
};
|
|
979
986
|
internal: {
|
|
980
987
|
name: string;
|
|
981
988
|
description: string;
|
|
@@ -988,6 +995,12 @@ declare const _default: {
|
|
|
988
995
|
name: string;
|
|
989
996
|
description: string;
|
|
990
997
|
};
|
|
998
|
+
custom: {
|
|
999
|
+
name: string;
|
|
1000
|
+
};
|
|
1001
|
+
paid: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
};
|
|
991
1004
|
};
|
|
992
1005
|
'plan-feature': {
|
|
993
1006
|
PROJECTS_COUNT: string;
|
|
@@ -306,6 +306,11 @@ declare const _default: {
|
|
|
306
306
|
TOOLS_SHORT_LINK_COUNT: string;
|
|
307
307
|
TOOLS_SHORTLINK_RESOLUTIONS_MONTH: string;
|
|
308
308
|
MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
|
|
309
|
+
REHYDRATION_CONCURRENT_JOBS: string;
|
|
310
|
+
REHYDRATION_ACTIVE_GB: string;
|
|
311
|
+
REHYDRATION_MAX_TTL_DAYS: string;
|
|
312
|
+
REHYDRATION_GB_MONTH: string;
|
|
313
|
+
REHYDRATION_GB_DAY: string;
|
|
309
314
|
SPOTLIGHT_PAGES_COUNT: string;
|
|
310
315
|
SPOTLIGHT_PAGE_VIEWS_MONTH: string;
|
|
311
316
|
MEMORIES_EVENTS_COUNT: string;
|
|
@@ -902,8 +907,6 @@ declare const _default: {
|
|
|
902
907
|
};
|
|
903
908
|
billing: {
|
|
904
909
|
'current-plan': string;
|
|
905
|
-
'free-plan': string;
|
|
906
|
-
'custom-plan': string;
|
|
907
910
|
tier: {
|
|
908
911
|
FREEMIUM: string;
|
|
909
912
|
DEFAULT: string;
|
|
@@ -976,6 +979,10 @@ declare const _default: {
|
|
|
976
979
|
name: string;
|
|
977
980
|
description: string;
|
|
978
981
|
};
|
|
982
|
+
enterprise: {
|
|
983
|
+
name: string;
|
|
984
|
+
description: string;
|
|
985
|
+
};
|
|
979
986
|
internal: {
|
|
980
987
|
name: string;
|
|
981
988
|
description: string;
|
|
@@ -988,6 +995,12 @@ declare const _default: {
|
|
|
988
995
|
name: string;
|
|
989
996
|
description: string;
|
|
990
997
|
};
|
|
998
|
+
custom: {
|
|
999
|
+
name: string;
|
|
1000
|
+
};
|
|
1001
|
+
paid: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
};
|
|
991
1004
|
};
|
|
992
1005
|
'plan-feature': {
|
|
993
1006
|
PROJECTS_COUNT: string;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { PlanTier, BillingAccountStatus, InvoiceStatus, InvoiceType, CreditTransactionType, EurTransactionType, IPlanTemplate } from '@abyss-project/main';
|
|
2
3
|
export declare const PLAN_TIER_COLORS: Record<PlanTier, string>;
|
|
3
4
|
export declare const BILLING_ACCOUNT_STATUS_COLORS: Record<BillingAccountStatus, string>;
|
|
4
5
|
export declare const INVOICE_STATUS_COLORS: Record<InvoiceStatus, string>;
|
|
5
6
|
export declare const INVOICE_TYPE_COLORS: Record<InvoiceType, string>;
|
|
6
7
|
export declare const CREDIT_TRANSACTION_TYPE_COLORS: Record<CreditTransactionType, string>;
|
|
7
8
|
export declare const EUR_TRANSACTION_TYPE_COLORS: Record<EurTransactionType, string>;
|
|
9
|
+
/**
|
|
10
|
+
* Translation id of the name a user reads for a plan: `billing.plan.<key>.name`, the key chosen by
|
|
11
|
+
* `resolvePlanNameKey` of `@abyss-project/main` (never the plan's technical `name`). The labels
|
|
12
|
+
* themselves come from that SDK's `plan-name` table, re-exposed by this package's translations.
|
|
13
|
+
*
|
|
14
|
+
* Exposed as an id for hosts whose intl wrapper has no `formatMessage`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const getPlanNameMessageId: (planTemplate: Pick<IPlanTemplate, 'catalogKey' | 'tier'> | null | undefined) => string;
|
|
17
|
+
export declare const getPlanDisplayName: (planTemplate: Pick<IPlanTemplate, 'catalogKey' | 'tier'> | null | undefined, intl: Pick<IntlShape, 'formatMessage'>) => string;
|
|
18
|
+
/**
|
|
19
|
+
* The interpolation values of a billing notification: its payload plus the `{planName}`,
|
|
20
|
+
* `{oldPlanName}` and `{newPlanName}` labels resolved from the plan identities it carries
|
|
21
|
+
* (the payload never holds a plan name). `translate` is the host's translation of an id.
|
|
22
|
+
*/
|
|
23
|
+
export declare const getNotificationValues: (data: Record<string, unknown> | undefined, translate: (id: string) => string) => Record<string, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react-is": "^18.0.0 || ^19.0.0",
|
|
54
54
|
"react-router-dom": "^6.15.0",
|
|
55
55
|
"zustand": "^5.0.0",
|
|
56
|
-
"@abyss-project/main": "
|
|
56
|
+
"@abyss-project/main": "11.1.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@abyss-project/banking": "^1.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@abyss-project/crypt": "^1.0.9",
|
|
62
62
|
"@abyss-project/form": "^1.0.13",
|
|
63
63
|
"@abyss-project/memories": "^1.0.12",
|
|
64
|
-
"@abyss-project/monitor": "^
|
|
64
|
+
"@abyss-project/monitor": "^6.1.0",
|
|
65
65
|
"@abyss-project/spotlight": "^1.0.24",
|
|
66
66
|
"@abyss-project/storage": "^1.0.30",
|
|
67
67
|
"@capacitor/clipboard": "^7.0.1",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"use-debounce": "^10.0.5",
|
|
96
96
|
"uuid": "^9.0.0",
|
|
97
97
|
"yup": "^0.32.11",
|
|
98
|
-
"@abyss-project/main": "
|
|
98
|
+
"@abyss-project/main": "11.1.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@testing-library/react": "^16.3.2",
|
package/vite.config.ts
CHANGED
|
@@ -14,6 +14,14 @@ export default defineConfig({
|
|
|
14
14
|
insertTypesEntry: true,
|
|
15
15
|
}),
|
|
16
16
|
].filter(Boolean),
|
|
17
|
+
resolve: {
|
|
18
|
+
alias: {
|
|
19
|
+
// BUNDLED, never external: the plan labels and their resolution (#618). A satellite runs
|
|
20
|
+
// its own, older `@abyss-project/main`, which has no such entry — so this package carries
|
|
21
|
+
// its own copy, compiled from the single source in abyss_main_core.
|
|
22
|
+
'@abyss-project/main/plan-name': resolve(__dirname, '../abyss_main_core/src/plan-name/index.ts'),
|
|
23
|
+
},
|
|
24
|
+
},
|
|
17
25
|
build: {
|
|
18
26
|
lib: {
|
|
19
27
|
// Multiple entries: the full barrel (`index`) plus a browser-safe,
|
|
@@ -51,6 +59,8 @@ export default defineConfig({
|
|
|
51
59
|
// and resolve fine, so they stay externalized.)
|
|
52
60
|
if (id === '@mui/x-date-pickers/AdapterDateFns') return false;
|
|
53
61
|
if (id === '@mui/x-date-pickers/PickersDay') return false;
|
|
62
|
+
// Bundled on purpose, see `resolve.alias` above.
|
|
63
|
+
if (id === '@abyss-project/main/plan-name') return false;
|
|
54
64
|
// Scoped-package prefixes (these always end with '/')
|
|
55
65
|
const scopedPrefixes = ['@mui/', '@emotion/', '@abyss-project/', '@tanstack/'];
|
|
56
66
|
return scopedPrefixes.some((prefix) => id.startsWith(prefix));
|